@font-face {
  font-family: "Archivo";
  src: url("../fonts/archivo.woff2") format("woff2");
  font-weight: 100 900;
  font-stretch: 62% 125%;
  font-display: swap;
}
@font-face {
  font-family: "Plex Mono";
  src: url("../fonts/plex-mono.woff2") format("woff2");
  font-weight: 400;
  font-display: swap;
}

:root {
  --night: #0c1319;
  --night-2: #141e27;
  --line: rgba(242, 239, 232, .16);
  --text: #f2efe8;
  --muted: #a3afb9;
  --yellow: #ffe400;
  --day: #f4f1ea;
  --day-text: #141e27;
  --day-muted: #55616b;
  --day-line: rgba(20, 30, 39, .16);
  --gutter: clamp(16px, 4vw, 56px);
  --body: "Archivo", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "Plex Mono", ui-monospace, Consolas, monospace;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--night);
  color: var(--text);
  font-family: var(--body);
  font-size: 1.0625rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3, p, dl, dd, ul, figure { margin: 0; padding: 0; }
ul { list-style: none; }
:focus-visible { outline: 2px solid var(--yellow); outline-offset: 3px; }
.day :focus-visible { outline-color: var(--day-text); }

.wrap { width: 100%; max-width: 1360px; margin-inline: auto; padding-inline: var(--gutter); }
.skip {
  position: absolute; left: 16px; top: -60px; z-index: 30;
  padding: 10px 16px; background: var(--yellow); color: var(--night);
}
.skip:focus { top: 12px; }

/* Section labels carry the plus from the logo. */
.section-label, .eyebrow {
  font-family: var(--mono);
  font-size: .8125rem;
  font-weight: 400;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.section-label::before, .eyebrow::before { content: "+ "; color: var(--yellow); font-weight: 700; }
.day .section-label::before { color: var(--day-text); }

/* Header */
.site-header {
  position: fixed; inset: 0 0 auto; z-index: 20;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding: 20px var(--gutter);
  transition: background .3s, padding .3s;
}
.site-header.is-stuck {
  padding-block: 12px;
  background: rgba(12, 19, 25, .88);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
}
.brand img { width: clamp(180px, 19vw, 250px); }
.header-end { display: flex; align-items: center; gap: clamp(16px, 2.4vw, 32px); }
.lang-switch { padding: 6px 0; font-family: var(--mono); font-size: .875rem; letter-spacing: .06em; text-decoration: none; }
.lang-switch:hover { color: var(--yellow); }
.nav { display: flex; align-items: center; gap: clamp(20px, 3vw, 40px); }
.nav a { position: relative; padding: 6px 0; font-size: .9375rem; font-weight: 500; text-decoration: none; }
.nav a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px;
  background: var(--yellow); transform: scaleX(0); transform-origin: left; transition: transform .25s;
}
.nav a:hover::after { transform: scaleX(1); }
.nav .nav-cta { padding: 8px 18px; border: 1px solid var(--text); border-radius: 99px; transition: background .2s, color .2s, border-color .2s; }
.nav .nav-cta::after { display: none; }
.nav .nav-cta:hover { background: var(--yellow); border-color: var(--yellow); color: var(--night); }
.nav-toggle {
  display: none; padding: 8px 16px; background: none; color: var(--text);
  border: 1px solid var(--text); border-radius: 99px; font: 500 .875rem var(--body); cursor: pointer;
}

/* Hero */
.hero { position: relative; min-height: 100vh; min-height: 100svh; display: flex; align-items: flex-start; overflow: hidden; }
.scene { position: absolute; inset: 0; background: #05090c; }
.scene-photo { width: 100%; height: 100%; object-fit: cover; object-position: 72% 50%; }
.scene-dark { position: absolute; inset: 0; background: #040a14; opacity: calc(.82 * (1 - var(--ambient, .35))); }
.glow {
  position: absolute; border-radius: 50%; pointer-events: none;
  mix-blend-mode: screen;
  opacity: min(1, calc(1.6 * (1 - var(--ambient, .35))));
  background: radial-gradient(closest-side, rgba(var(--c), 1) 0, rgba(var(--c), .8) 18%, rgba(var(--c), .3) 36%, rgba(var(--c), .08) 62%, rgba(var(--c), 0) 100%);
}
.scene-shade {
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(12, 19, 25, .62) 0, rgba(12, 19, 25, 0) 22%),
    linear-gradient(90deg, rgba(12, 19, 25, .72) 0, rgba(12, 19, 25, .36) 42%, rgba(12, 19, 25, 0) 68%),
    linear-gradient(0deg, rgba(12, 19, 25, 1) 0, rgba(12, 19, 25, 0) 10%);
}
.hero-copy {
  position: relative; z-index: 1;
  width: 100%; max-width: 1360px; margin-inline: auto;
  padding: clamp(112px, 15vh, 168px) var(--gutter) 176px;
}
.hero-copy .eyebrow { margin-bottom: 18px; }
h1 {
  max-width: 9.5em;
  font-size: clamp(3.25rem, 9.2vw, 8.25rem);
  font-stretch: 72%;
  font-weight: 620;
  line-height: .94;
  letter-spacing: -.012em;
  text-wrap: balance;
}
.hero-lede { max-width: 30em; margin-top: 24px; font-size: clamp(1.0625rem, 1.5vw, 1.25rem); line-height: 1.45; }

.dimmer {
  position: absolute; z-index: 2; bottom: clamp(28px, 5vh, 48px);
  left: max(var(--gutter), calc((100% - 1360px) / 2 + var(--gutter)));
  width: min(300px, calc(100% - 2 * var(--gutter)));
  font-family: var(--mono); font-size: .8125rem;
}
.dimmer label { display: flex; justify-content: space-between; letter-spacing: .04em; }
.dimmer output { color: var(--yellow); }
.dimmer p { margin-top: 2px; color: var(--muted); font-size: .75rem; }
.dimmer input { display: block; width: 100%; margin: 10px 0 8px; background: none; appearance: none; -webkit-appearance: none; cursor: pointer; }
.dimmer input::-webkit-slider-runnable-track { height: 2px; background: linear-gradient(90deg, var(--yellow) var(--pct, 35%), var(--line) var(--pct, 35%)); }
.dimmer input::-moz-range-track { height: 2px; background: var(--line); }
.dimmer input::-moz-range-progress { height: 2px; background: var(--yellow); }
.dimmer input::-webkit-slider-thumb {
  -webkit-appearance: none; width: 18px; height: 18px; margin-top: -8px;
  border: 0; border-radius: 50%; background: var(--yellow); box-shadow: 0 0 16px 3px rgba(255, 228, 0, .55);
}
.dimmer input::-moz-range-thumb {
  width: 18px; height: 18px; border: 0; border-radius: 50%;
  background: var(--yellow); box-shadow: 0 0 16px 3px rgba(255, 228, 0, .55);
}

/* Intro */
.intro { padding-block: clamp(72px, 11vw, 150px); }
.intro-grid { display: grid; gap: clamp(48px, 7vw, 96px); }
.statement {
  max-width: 21em;
  font-size: clamp(1.875rem, 4.4vw, 3.75rem);
  font-stretch: 88%;
  font-weight: 460;
  line-height: 1.1;
  letter-spacing: -.01em;
  text-wrap: pretty;
}
.stats { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); }
.stats > div { padding: 18px 16px 0 0; }
.stats dt { color: var(--muted); font-family: var(--mono); font-size: .8125rem; letter-spacing: .04em; }
.stats dd { margin-top: 4px; font-size: clamp(2.25rem, 5vw, 4.5rem); font-stretch: 72%; font-weight: 560; line-height: 1; font-variant-numeric: tabular-nums; }

/* Brands */
.brands { padding-bottom: clamp(72px, 11vw, 150px); }
.brand-row {
  display: grid; grid-template-columns: repeat(12, 1fr); column-gap: 24px; align-items: center;
  padding-block: clamp(40px, 6vw, 80px);
}
.brand-row + .brand-row { border-top: 1px solid var(--line); }
.brands .section-label + .brand-row { margin-top: 24px; border-top: 1px solid var(--line); }
.brand-photo { grid-column: 1 / span 5; overflow: hidden; }
.brand-photo img { width: 100%; aspect-ratio: 5 / 4; object-fit: cover; transition: transform .8s cubic-bezier(.2, .7, .2, 1); }
.brand-row:hover .brand-photo img { transform: scale(1.03); }
.brand-photo-dark { background: #000; }
.brand-text { grid-column: 7 / span 6; }
.brand-row-flip .brand-photo { grid-column: 8 / span 5; grid-row: 1; }
.brand-row-flip .brand-text { grid-column: 1 / span 6; grid-row: 1; }
.brand-text h3 { font-size: clamp(2.25rem, 4.6vw, 4rem); font-stretch: 72%; font-weight: 600; line-height: 1; }
.brand-text sup { font-size: .4em; font-weight: 400; vertical-align: top; line-height: 1.4; }
.brand-tag { margin-top: 14px; font-size: clamp(1.125rem, 1.6vw, 1.3125rem); font-weight: 500; line-height: 1.35; }
.brand-tag + p { margin-top: 14px; max-width: 36em; color: var(--muted); }
.text-link {
  display: inline-block; margin-top: 16px; font-weight: 500;
  text-decoration: underline; text-decoration-color: var(--yellow); text-decoration-thickness: 2px; text-underline-offset: 5px;
}
.text-link:hover { color: var(--yellow); }

/* Full-bleed band */
.band { position: relative; }
.band img { width: 100%; height: clamp(380px, 72vh, 800px); object-fit: cover; }
.band::after { content: ""; position: absolute; inset: 40% 0 0; background: linear-gradient(0deg, rgba(12, 19, 25, .8), rgba(12, 19, 25, 0)); }
.band figcaption {
  position: absolute; z-index: 1; left: 0; right: 0; bottom: 0; max-width: 1360px; margin-inline: auto;
  padding: 0 var(--gutter) clamp(24px, 4vw, 48px);
  font-size: clamp(2.25rem, 6vw, 5.5rem); font-stretch: 72%; font-weight: 600; line-height: 1;
}
.band figcaption span { display: block; margin-top: 10px; font-size: clamp(1rem, 1.5vw, 1.25rem); font-stretch: 100%; font-weight: 400; line-height: 1.3; }

/* About */
.about { padding-top: clamp(72px, 11vw, 150px); }
.about-lead {
  max-width: 19em; margin-top: 24px;
  font-size: clamp(1.875rem, 4.4vw, 3.75rem); font-stretch: 88%; font-weight: 460; line-height: 1.1; letter-spacing: -.01em;
  text-wrap: pretty;
}
.about-cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(28px, 4vw, 56px); margin-top: clamp(48px, 7vw, 88px); }
.about-cols > div { padding-top: 16px; border-top: 1px solid var(--line); }
.about-cols h3 { font-size: 1.25rem; font-weight: 600; line-height: 1.25; }
.about-cols p { margin-top: 10px; color: var(--muted); }
.about-photo { margin-top: clamp(56px, 8vw, 104px); }
.about-photo img { width: 100%; max-height: 92vh; object-fit: cover; }
.about-photo figcaption { padding-block: 16px clamp(56px, 8vw, 100px); color: var(--muted); font-family: var(--mono); font-size: .8125rem; }

/* Day section */
.day { padding-block: clamp(72px, 10vw, 136px); background: var(--day); color: var(--day-text); }
.founders { display: grid; grid-template-columns: repeat(12, 1fr); column-gap: 24px; align-items: end; }
.founders-text { grid-column: 1 / span 5; }
.founders-names { margin-block: 24px 20px; font-size: clamp(2.5rem, 5.4vw, 4.75rem); font-stretch: 72%; font-weight: 600; line-height: 1; }
.founders-text > p:last-child { max-width: 24em; color: var(--day-muted); }
.founders-photos { grid-column: 7 / span 6; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.founders-photos img { width: 100%; aspect-ratio: 1; object-fit: cover; mix-blend-mode: multiply; }
.references { margin-top: clamp(72px, 10vw, 136px); }
.logos { display: grid; grid-template-columns: repeat(5, 1fr); gap: 1px; margin-top: 24px; background: var(--day-line); border: 1px solid var(--day-line); }
.logos li { display: grid; place-items: center; height: clamp(120px, 12vw, 168px); padding: clamp(20px, 2.6vw, 36px); background: #fff; }
.logos img { max-height: 72px; width: auto; object-fit: contain; }

/* Contact */
.contact { padding-block: clamp(72px, 10vw, 136px); background: var(--night-2); }
.contact-grid { display: grid; grid-template-columns: repeat(12, 1fr); column-gap: 24px; }
.contact-info { grid-column: 1 / span 6; }
.contact-title { max-width: 8em; margin-top: 24px; font-size: clamp(2.75rem, 6.4vw, 5.75rem); font-stretch: 72%; font-weight: 600; line-height: .98; }
.contact-list { display: grid; gap: 20px; margin-top: clamp(32px, 4vw, 56px); }
.contact-list dt { color: var(--muted); font-family: var(--mono); font-size: .8125rem; }
.contact-list dd { margin-top: 2px; }
.contact-list dd > a:not(.text-link) { text-underline-offset: 4px; }
.contact-list dd > a:hover { color: var(--yellow); }

.form { grid-column: 8 / span 5; display: grid; gap: 20px; align-content: start; }
.field label { display: block; margin-bottom: 6px; font-size: .9375rem; font-weight: 500; }
.optional { color: var(--muted); font-weight: 400; }
.field input, .field textarea {
  width: 100%; padding: 12px 0; background: none; color: var(--text);
  border: 0; border-bottom: 1px solid rgba(242, 239, 232, .45); border-radius: 0;
  font: inherit; transition: border-color .2s;
}
.field textarea { resize: vertical; }
.field input:focus, .field textarea:focus { outline: 0; border-color: var(--yellow); box-shadow: 0 1px 0 var(--yellow); }
.field-trap { position: absolute; left: -9999px; }
.button {
  justify-self: start; padding: 14px 28px; background: var(--yellow); color: var(--night);
  border: 0; border-radius: 99px; font: 600 1rem var(--body); cursor: pointer; transition: box-shadow .25s, opacity .2s;
}
.button:hover { box-shadow: 0 0 26px 2px rgba(255, 228, 0, .45); }
.button[disabled] { opacity: .6; cursor: wait; }
.form-note { color: var(--muted); font-size: .875rem; }
.form-status { padding: 12px 14px; border-left: 2px solid var(--yellow); background: rgba(255, 228, 0, .07); }
.form-status.is-error { border-left-color: #ff8f7a; background: rgba(255, 143, 122, .09); }
.form-status a { text-underline-offset: 3px; }
.form-status:focus { outline: 0; }
.form.is-sent > :not(.form-status) { display: none; }
.form.is-sent .form-status { padding: 28px; font-size: 1.125rem; }
.form-status strong { display: block; margin-bottom: 4px; font-size: clamp(1.5rem, 2.4vw, 2rem); font-stretch: 88%; font-weight: 600; line-height: 1.15; }
.text-button {
  margin-top: 16px; padding: 0; background: none; color: inherit; border: 0; cursor: pointer;
  font: 500 1rem var(--body); text-decoration: underline; text-decoration-color: var(--yellow); text-decoration-thickness: 2px; text-underline-offset: 5px;
}
.text-button:hover { color: var(--yellow); }

/* Footer */
.site-footer { padding-block: 28px; background: var(--night); }
.footer-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 24px; color: var(--muted); font-size: .875rem; }
.footer-row img { width: 180px; }

.footer-links { display: flex; flex-wrap: wrap; gap: 4px 24px; }
.footer-links a:hover { color: var(--yellow); }
.form-note a { text-underline-offset: 3px; }

/* Legal page */
.back-link { font-size: .9375rem; font-weight: 500; text-underline-offset: 5px; }
.back-link:hover { color: var(--yellow); }
.legal { padding-block: clamp(120px, 14vw, 176px) clamp(72px, 10vw, 136px); }
.legal-grid { display: grid; grid-template-columns: repeat(12, 1fr); column-gap: 24px; }
.legal-head { grid-column: 1 / span 5; }
.legal-head h1 { margin-top: 18px; font-size: clamp(2.75rem, 6vw, 5rem); line-height: .98; }
.legal-note { margin-top: 16px; color: var(--muted); font-size: .875rem; }
.legal-body { grid-column: 7 / span 6; display: grid; gap: clamp(40px, 5vw, 64px); }
.legal-body h2 { padding-top: 16px; border-top: 1px solid var(--line); font-size: 1.5rem; font-stretch: 88%; font-weight: 560; line-height: 1.2; }
.legal-body p { margin-top: 14px; color: var(--muted); }
.legal-body a { color: var(--text); text-underline-offset: 3px; }
.legal-body a:hover { color: var(--yellow); }
.legal-list { display: grid; gap: 14px; margin-top: 18px; }
.legal-list dt { color: var(--muted); font-family: var(--mono); font-size: .8125rem; }
.legal-list dd { margin-top: 1px; }
.legal-body mark { padding: 1px 6px; background: var(--yellow); color: var(--night); }

/* Scroll reveal, only when scripts run. */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .8s ease, transform .8s cubic-bezier(.2, .7, .2, 1); }
.js .reveal.is-in { opacity: 1; transform: none; }

@media (max-width: 860px) {
  .nav-toggle { display: block; }
  .nav {
    position: absolute; top: 100%; left: 0; right: 0;
    display: none; flex-direction: column; align-items: flex-start; gap: 4px;
    padding: 8px var(--gutter) 24px; background: var(--night);
  }
  .nav.is-open { display: flex; }
  .site-header:has(.nav.is-open) { background: var(--night); }
  .nav a { font-size: 1.25rem; }
  .nav .nav-cta { margin-top: 8px; }

  .scene-shade {
    background:
      linear-gradient(180deg, rgba(12, 19, 25, .78) 0, rgba(12, 19, 25, .55) 44%, rgba(12, 19, 25, 0) 62%),
      linear-gradient(0deg, rgba(12, 19, 25, .92) 0, rgba(12, 19, 25, 0) 16%);
  }
  .hero-copy { padding-bottom: 300px; }
  .dimmer { left: var(--gutter); right: var(--gutter); width: auto; bottom: 20px; }

  .stats { grid-template-columns: 1fr 1fr; }
  .stats > div:nth-child(n + 3) { margin-top: 12px; }

  .brand-row, .founders, .contact-grid, .legal-grid { display: block; }
  .legal-body { margin-top: 48px; }
  .brand-text { margin-top: 24px; }
  .about-cols { grid-template-columns: 1fr; }
  .band img { height: 60vh; }
  .founders-photos { margin-top: 32px; }
  .logos { grid-template-columns: 1fr 1fr; }
  .logos li:last-child { grid-column: 1 / -1; }
  .form { margin-top: 56px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
  .js .reveal { opacity: 1; transform: none; }
}
