/* -------------------------
   Global Typography
-------------------------- */

.geist-mono {
  font-family: "Geist Mono", monospace;
  font-optical-sizing: auto;
  font-weight: 500;
  font-style: normal;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

#canvas-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: 0; /* base layer */
}

canvas {
  display: block;
  width: 100%;
  height: calc(100% - 80px); /* subtract footer height */
  z-index: -1;
}

html, body {
  font-family: "owners", sans-serif;
  font-size: 16px;
  line-height: 100%;
  letter-spacing: 0.3px;
  height: auto;
  color: var(--Neutral-002, #A3A4A7);
  margin: 0;
  padding: 0;
  min-height: 100dvh;
  cursor: none; /*Disables default cursos*/
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow: auto;
}

.page-wrap {
  display: flex;
  flex-direction: column;
  min-height: 100dvh;
}

body.index-page {
  height: 100dvh;
  overflow: hidden;
  touch-action: none;
  background-color: var(--plates-pink-digital, #FF3EB5);
}

body:not(.index-page) {
  overflow: auto;
  height: auto;
  touch-action: auto;
  -webkit-overflow-scrolling: touch;
}


.index-page .site-footer{
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background-color: transparent;
  color: var(--Clean-Slate, #181818);
  padding: 1rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 10;
}

body, p, h1, h2, h3 {
  font-style: normal;
  font-weight: 400;
}

h1, h2, h3, ul {
  font-family: "owners", sans-serif;
  letter-spacing: 0.5px;
  margin: 0 0 1rem 0;
  font-size: 4rem;
  line-height: 100%;
}

h2{
  opacity: 0.5;
}

p, {
  font-family: "owners", sans-serif;
  line-height: 100%;
  margin: 0 0 1rem 0;
}

a{
  color: inherit;
  text-decoration: none;
}
a:hover{
  color: var(--plates-pink-digital, #FF3EB5);
  text-decoration: none;
  transition: color 0.3s ease;
}

/* -------------------------
  Custom Cursor
  ----------------------*/

#custom-cursor {
  position: fixed;
  top: 0;
  left: 0;
  width: 20px;
  height: 20px;
  background: #ff3eb5;
  border-radius: 50%;
  pointer-events: none;
  mix-blend-mode: difference;
  z-index: 10000;
  transform: translate(-50%, -50%);
  transition: transform 0.1s ease-out;
}

/*I------------------------
    Info Page Distortion
----------------------*/

#top-distortion,
#bottom-distortion {
  position: fixed;
  left: 0;
  width: 100%;
  height: 80px; /* matches DISTORT_HEIGHT */
  pointer-events: none;
  z-index: 1000;
}

#top-distortion {
  top: 0;
}

#bottom-distortion {
  bottom: 0;
}


/* -------------------------
   Header & Nav
-------------------------- */

header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  padding: 30px 40px 0 40px;
  background: transparent;
  z-index: 1000;
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  margin: 0 auto;
  padding: 0;
}

.nav-container a{
   text-decoration: none;
}

.nav-left,
.nav-right {
   font-family: "Geist Mono", monospace;
   display: flex;
   align-items: center;
}

nav a,
nav a:visited,
nav a:hover,
nav a:focus,
nav a:active {
  text-decoration: none;
}

.nav-link {
  color: var(--Clean-Slate, #181818);
  text-decoration: none;
  font-family: "Geist Mono", monospace;
  font-size: 0.875rem;
  letter-spacing: 0.32px;
  transition: color 0.3s ease;
}

.info-page .nav-link {
  color: var(--plates-pink-digital, #FF3EB5);
}

.nav-link:hover {
  color: #DBDBDB;
}

/* Info page override */
.info-page nav a {
  color: var(--plates-pink-digital, #FF3EB5);
}

.info-page nav a:hover {
  color: #DBDBDB;
}

.logo img {
  height: 24px;
  display: block;
}

.logo,
.logo-spacer {
  height: 28px;
  display: flex;
  align-items: center;
}

.logo-invisible {
  visibility: hidden;
}

/*----------------------
  Footer
---------------------*/
.footer-typewriter {
  margin-top: auto;
  text-align: center;
  font-family: 'Geist Mono', monospace;
  font-size: 0.875rem;
  white-space: normal;
  color: var(--Clean-Slate, #181818);
  flex-shrink: 0;
  padding: 1rem 0 2rem 0;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  flex-wrap: wrap;
  padding: 2rem;
  font-family: 'Geist Mono', monospace;
  font-size: 0.875rem;
  color: inherit;
  width: 100%;
  background-color: transparent;
  flex-shrink: 0;
}

.footer-left,
.footer-right {
  display: flex;
  gap: 1rem;
}

/* Cursor blink */
.cur {
  display: inline-block;
  animation: blink 1s step-end infinite;
}

@keyframes blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0; }
}

.index-page .site-footer {
  color: var(--Clean-Slate, #181818);
  padding: 2rem 2.5rem;
  align-items: flex-end;
}

.footer-section {
  display: flex;
  gap: 0.5rem;
  align-items: flex-end;
}

.footer-logo {
  width: 100%;
  text-align: center;
  margin: 8rem 0 2rem 0; /* top | right/left | bottom */
}

.footer-logo svg,
.footer-logo img {
  width: 100%;
  height: auto;
  display: block;
  margin: 0 auto;
}


/* -------------------------
   Info Page
-------------------------- */

.info-page {
  background-color: var(--Clean-Slate, #181818);
  color: var(--Neutral-002, #A3A4A7);
}

.info-content {
  padding: 6rem 2.5rem 2.5rem 2.5rem;
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.info-description {
  max-width: none;
  text-align: left;
}

.info-description > * + * {
  margin-top: 1.5rem;
}


.info-description h1 {
  font-size: 4rem;
  line-height: 1.1;
  margin-bottom: 1.5rem;
}

.info-description p {
  font-family: "owners", sans-serif;
  font-size: 4rem;
  line-height: 100%;
  letter-spacing: 1px;
  margin-bottom: 2rem;
}

.info-inquiry-labels p {
  font-family: "Geist Mono", monospace;
  font-size: 0.875rem;
  margin-bottom: 0.5rem;
}

.info-email p {
  font-size: 1.5rem;
  color: var(--Neutral-002, #A3A4A7);
}

.info-link {
  font-family: "Geist Mono", monospace;
  font-size: 0.875rem;
  color: var(--Clean-Slate, #181818);
  touch-action: manipulation; /* allow taps to register */
}

.info-link nav a {
color: var(--Neutral-002, #A3A4A7);
}

.index-page .info-link:hover {
  color: white;
}

.info-copy {
  all: unset;
  font-family: "Geist Mono", monospace;
  font-size: 0.875rem;
  color: #FF3EB5;
  cursor: pointer;
  touch-action: manipulation;
  user-select: none;
  display: inline;
}


.info-copy a {
 color: var(--plates-pink-digital #FF3EB5);
}


/* -------------------------
   Canvas
-------------------------- */

canvas {
  display: block;
}


/* -------------------------
   Responsive — Mobile
-------------------------- */

@media (hover: none) and (pointer: coarse) {
  #custom-cursor {
    display: none;
  }

  body {
    cursor: default;
  }
}

@media screen and (max-width: 1024px) {
  .info-description p .info-copy {
    display: none !important;
  }
}


@media screen and (min-width: 768px) and (max-width: 1024px) {
  
  body:not(.index-page) {
    overflow: auto;
    height: auto;
    touch-action: auto;
    -webkit-overflow-scrolling: touch;
  }



  .divider {
    display: none;
  }

  .footer-typewriter {
    margin-top: auto;
    padding: 2rem 0;
    line-height: 1.3;
    text-align: center;
  }

  .footer-typewriter .status-prefix {
    display: block;
    margin-bottom: 0.25rem;
  }

  .footer-typewriter .status-project,
  .footer-typewriter .cur {
    display: inline;
  }

   .footer-status {
    text-align: center;
    margin-bottom: 1rem;
  }

  .footer-sides {
    flex-direction: row;
    justify-content: space-between;
    width: 100%;
  }

    .footer-left,
  .footer-right {
    flex-direction: column;
    gap: 0.25rem;
    flex: 1;
  }


  .footer-right {
    text-align: right;
    align-items: flex-end;
  }

    .footer-section.copyright {
    flex-direction: column;
    align-items: flex-end;
  }

  .footer-section.copyright .divider {
    display: none;
  }
}

@media screen and (max-width: 768px) {
  
  body:not(.index-page) {
    overflow: auto;
    height: auto;
    touch-action: auto;
    -webkit-overflow-scrolling: touch;
  }

  .divider {
    display: none;
  }

  .footer-typewriter {
    margin-top: auto;
    padding: 4rem 0;
    text-align: center;
  }

  .footer-typewriter .status-prefix {
    display: block;
    margin-bottom: 0.25rem;
  }

  .footer-typewriter .status-project,
  .footer-typewriter .cur {
    display: inline;
  }

  .footer-logo {
    margin-top: 1rem;
    margin: 1rem 0 1rem 0;
  }

  .footer-logo svg,
  .footer-logo img {
    max-width: 90vw;
  }


  .footer-status {
    text-align: center;
    margin-bottom: 1rem;
  }

  .footer-sides {
    flex-direction: row;
    justify-content: space-between;
    width: 100%;
  }

    .footer-left,
  .footer-right {
    flex-direction: column;
    gap: 0.25rem;
    flex: 1;
  }


  .footer-right {
    text-align: right;
    align-items: flex-end;
  }

    .footer-section.copyright {
    flex-direction: column;
    align-items: flex-end;
  }

  .footer-section.copyright .divider {
    display: none;
  }

}

@media (min-width: 431px) and (max-width: 960px) {
 
 .info-description p {
    font-size: 3.275rem;
  }


  h1 {
    font-size: 3.275rem;
  }

  .nav-link{
    font-size: 0.875rem;
    z-index: 10;
  }

}

@media (max-width: 430px) {
  header {
    padding: 1rem;
  }

  nav a {
    font-size: 0.875rem;
  }

  html, body {
    font-size: 16px;
  }

  h1 {
        font-size: 1.875rem;
  }

  .nav-link{
    font-size: 0.875rem;
  }

  .site-footer{
    font-size: 0.875rem;
    padding: 1rem;
  }

  .index-page .site-footer{
    padding: 0.9rem;
  }

  .info-content {
    padding: 100px 0.9rem 0 0.9rem;
  }

  .info-description {
    width: 100%;
  }
 .info-description h1, h2, h3, ul {
    font-size: 1.875rem;
  }

  .info-description p {
    font-size: 1.875rem;
  }

  .logo img {
    height: 22px;
  }

.site-footer {
    flex-wrap: wrap;
    align-items: flex-end;
  }

  .footer-section{
      gap: 0rem;
  }

  .timezones {
    flex-direction: column;
    align-items: flex-start;
  }

  .timezones span:nth-child(2) {
    display: none; /* hide the "|" */
  }

  .footer-right {
    width: 100%;
    align-items: flex-end;
  }

  .footer-section.social-links {
    flex-direction: row; /* keep social links in a row */
    justify-content: flex-end;
  }

  .footer-section.copyright {
    text-align: right;
  }

}

::selection {
  background: #FF3EB5E0;
  color: var(--Clean-Slate, #181818);
}

/* -------------------------
   Cookie Banner
-------------------------- */

/* Base styles */
#cookiebanner {
  font-family: "Geist Mono", monospace;
  font-size: 0.875rem;
  box-sizing: border-box;
  background-color: #181818;
  position: fixed;
  z-index: 2147483645;
  bottom: -800px;
  left: 50%;
  transform: translateX(-50%);
  padding: 16px 40px;
  width: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  border-radius: 0px;
  transition: bottom 0.4s ease;
}

#cookiebanner.show {
  bottom: 0;
}

#cookiebanner.hide {
  bottom: -800px;
}

#c-left {
  flex: 1 1 auto;
  text-align: left;
}

#c-right {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-left: 20px; /* replaces the old gap */
}

#cookiebanner p {
  font-family: "Geist Mono", monospace;
  color: #A3A4A7;
  margin: 0;
}

#cookiebanner .c-header {

}

#cookiebanner p.c-message {

}

#cookiebanner a.c-button {
  color: #FF3EB5;
  border-radius: 0px;
  background-color: transparent;
  padding: 16px 0px 16px 0px;
  text-decoration: none;
  display: inline-block;
  transition: 0.2s;
}

#cookiebanner a.c-button:hover {

}

/* Mobile styles */
@media screen and (max-width: 720px) {
  #cookiebanner {
    flex-direction: column;
    align-items: stretch;
    text-align: center;
  }

  #c-left,
  #c-right {
    width: 100%;
    margin-left: 0;
  }

  #cookiebanner a.c-button {
    width: 100%;
    margin-top: 12px;
    padding: 10px 0;
  }
}


/* Mobile styles */
@media screen and (max-width: 720px) {
  #cookiebanner {
    width: 100vw;
    left: 0;
    transform: none;
    border-radius: 0;
    padding: 16px;

    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }

  #c-left,
  #c-right {
    width: auto;
    margin: 0;
    padding: 0;
  }

  #cookiebanner p.c-message {
    margin: 0;
    line-height: 1;
    font-size: 0.875rem;
    display: inline-block;
    vertical-align: middle;
  }

  #cookiebanner a.c-button {
    padding: 4px 14px;
    font-size: 0.875rem;
    vertical-align: middle;
    display: inline-block;
    position: relative;
    top: 1px;
    margin-top: 0px;
  }
}
