/*
  Ancho landing page
  Figma source: Ancho Website, node 756:206

  Font setup:
  Upload your licensed Ancho font files to /fonts.
  Required:
    fonts/AnchoGX.ttf         (variable font, wght 100–900)
    fonts/Ancho-Light.ttf     (static, EN/ES language toggle)
    fonts/Ancho-UltraBold.ttf (static, wordmark fallback)
*/

@font-face {
  font-family: "AnchoGX";
  src: url("fonts/AnchoGX.ttf?v=52") format("truetype");
  font-weight: 100 800;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Ancho";
  src: url("fonts/AnchoGX.ttf?v=52") format("truetype");
  font-weight: 100 800;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Ancho Light";
  src: url("fonts/Ancho-Light.ttf?v=52") format("truetype");
  font-weight: 200;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Ancho UltraBold";
  src: url("fonts/Ancho-UltraBold.ttf?v=52") format("truetype");
  font-weight: 800;
  font-style: normal;
  font-display: swap;
}

:root {
  --white: #ffffff;
  --muted: #a5a5a5;
  --page-bg: #000000;
  --page-padding-x: clamp(1.5rem, 2.36vw, 2.125rem);
  --page-padding-top: clamp(1.25rem, 2.05vw, 1.875rem);
  --page-padding-bottom: clamp(0.875rem, 1.45vw, 1.375rem);
  --serif: "Crimson Pro", Georgia, serif;
  --display: "AnchoGX", "Ancho", "Ancho UltraBold", Arial Black, Arial, sans-serif;
  --display-bold: "Ancho UltraBold", Arial Black, Arial, sans-serif;
  --display-light: "Ancho Light", "AnchoGX", Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html,
body {
  width: 100%;
  min-height: 100%;
  margin: 0;
  background: var(--page-bg);
}

body {
  color: var(--white);
  font-family: var(--serif);
}

a {
  color: inherit;
  text-decoration: none;
}

.landing {
  position: relative;
  width: 100%;
  min-height: 100svh;
  overflow: hidden;
  isolation: isolate;
  background: var(--page-bg);
}

.background-wrap {
  position: absolute;
  inset: 0;
  z-index: -2;
  overflow: hidden;
}

.background-media {
  position: absolute;
  top: 0;
  left: -13.2vw;
  width: 126.4vw;
  height: 100svh;
  min-width: 100%;
  min-height: 100%;
  object-fit: cover;
  object-position: center center;
  pointer-events: none;
  opacity: 0;
  transition: opacity 500ms ease;
}

.background-media.is-visible {
  opacity: 1;
}

.background-wrap.is-fading .background-media {
  opacity: 0;
}

.background-click-layer {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: block;
  width: 100%;
  height: 100%;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: none !important;
}


.custom-cursor {
  position: fixed;
  top: 0;
  left: 0;
  width: 24px;
  height: 24px;
  border: 0;
  border-radius: 50%;
  background: var(--white);
  pointer-events: none;
  z-index: 20;
  opacity: 0;
  transform: translate3d(-50%, -50%, 0) scale(var(--cursor-scale, 1));
  transition: opacity 160ms ease, background-color 160ms ease, transform 120ms ease, mix-blend-mode 120ms ease;
  mix-blend-mode: difference;
  will-change: top, left, transform;
}

.custom-cursor.is-visible {
  opacity: 1;
}

.custom-cursor.is-link {
  width: 18px;
  height: 18px;
  background: var(--white);
  mix-blend-mode: difference;
  --cursor-scale: 1;
}

.custom-cursor.is-peek {
  width: 32px;
  height: 32px;
  background: transparent;
  mix-blend-mode: normal;
  --cursor-scale: 1;
}

.custom-cursor.is-peek::after {
  content: "👀";
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  font-size: 26px;
  line-height: 1;
  transform: translateY(-1px);
}


.custom-cursor.is-clicking {
  --cursor-scale: 0.78;
}

.custom-cursor.is-link.is-clicking {
  --cursor-scale: 0.78;
}

.custom-cursor.is-peek.is-clicking {
  --cursor-scale: 1;
}

html,
body,
.landing,
.background-click-layer,
a,
button {
  cursor: none !important;
}

@media (hover: none), (pointer: coarse), (max-width: 760px) {
  .custom-cursor {
    display: none;
  }
}

.topbar {
  position: absolute;
  top: var(--page-padding-top);
  left: var(--page-padding-x);
  right: var(--page-padding-x);
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  z-index: 3;
}


@property --wordmark-wght {
  syntax: "<number>";
  inherits: false;
  initial-value: 100;
}

.wordmark {
  --wordmark-wght: 100;
  font-family: var(--display);
  font-size: clamp(1.75rem, 2.5vw, 2.25rem);
  font-weight: var(--wordmark-wght);
  font-variation-settings: "wght" var(--wordmark-wght);
  -webkit-font-variation-settings: "wght" var(--wordmark-wght);
  line-height: 0.78;
  letter-spacing: 0.03em;
  color: var(--white);
  transition: none;
}

.language-toggle {
  display: flex;
  gap: 0.28rem;
  font-family: var(--display-light) !important;
  font-size: 16px;
  font-weight: 200 !important;
  font-variation-settings: normal !important;
  -webkit-font-smoothing: antialiased;
  font-synthesis: none;
  letter-spacing: 0.02em;
  line-height: 1;
}

.language-button {
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--muted);
  font-family: var(--display-light) !important;
  font-size: inherit;
  font-weight: 200 !important;
  font-style: normal;
  font-variation-settings: normal !important;
  -webkit-font-smoothing: antialiased;
  font-synthesis: none;
  letter-spacing: inherit;
  line-height: inherit;
  cursor: pointer;
}

.language-button.active {
  color: var(--white);
}

.language-button:focus-visible {
  outline: 1px solid var(--white);
  outline-offset: 0.25rem;
}

.footer-grid {
  position: absolute;
  left: var(--page-padding-x);
  right: var(--page-padding-x);
  bottom: var(--page-padding-bottom);
  display: grid;
  grid-template-columns: minmax(15rem, 20rem) minmax(9rem, 10.1rem) minmax(8rem, 9rem) minmax(10rem, 12rem);
  justify-content: space-between;
  align-items: end;
  gap: clamp(2rem, 5vw, 5rem);
  z-index: 3;
}

.intro,
.contact-block,
.coming-soon {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(1rem, 1.39vw, 1.25rem);
  font-weight: 300;
  line-height: 1.15;
  letter-spacing: 0.01em;
  color: var(--white);
}

.contact-block p {
  margin: 0;
}

.contact-block em {
  font-style: italic;
}

.coming-soon {
  justify-self: end;
  text-align: right;
}

@keyframes mobileWordmarkWeightLoop {
  0% {
    --wordmark-wght: 100;
  }

  50% {
    --wordmark-wght: 900;
  }

  100% {
    --wordmark-wght: 100;
  }
}

@media (max-width: 760px) {
  :root {
    --page-padding-x: 25px;
    --page-padding-top: 21px;
    --page-padding-bottom: 16px;
  }

  .background-media {
    left: 0;
    width: 100%;
    object-position: 52% center;
  }

  .topbar {
    top: 21px;
    left: 25px;
    right: 34px;
  }

  .wordmark {
    --wordmark-wght: 900;
    width: 154px;
    height: 23px;
    font-size: 30px;
    font-weight: var(--wordmark-wght);
    font-variation-settings: "wght" var(--wordmark-wght);
    -webkit-font-variation-settings: "wght" var(--wordmark-wght);
    line-height: 0.76;
    letter-spacing: 0.03em;
    animation: none;
  }

  .language-toggle {
    width: 66px;
    height: 11px;
    justify-content: flex-end;
    gap: 0.28rem;
    padding-top: 3px;
    font-size: 16px;
    line-height: 1;
    letter-spacing: 0.02em;
  }

  .footer-grid {
    left: 25px;
    right: auto;
    bottom: calc(16px + env(safe-area-inset-bottom));
    display: block;
    width: 230px;
  }

  .intro,
  .contact-block,
  .coming-soon {
    width: 230px;
    max-width: 230px;
    font-size: 20px;
    line-height: 23px;
    letter-spacing: 0.01em;
  }

  .intro {
    margin-bottom: 15px;
  }

  .contact-block {
    margin-bottom: 14px;
  }

  .coming-soon {
    justify-self: auto;
    text-align: left;
  }
}

@media (max-width: 440px) {
  .footer-grid {
    width: min(230px, calc(100vw - 50px));
  }

  .intro,
  .contact-block,
  .coming-soon {
    width: min(230px, calc(100vw - 50px));
    max-width: min(230px, calc(100vw - 50px));
  }
}
