@import url("./tokens.css");

* { box-sizing: border-box; }

html, body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font-sans);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  transition: background-color var(--dur-mid) var(--ease-out), color var(--dur-mid) var(--ease-out);
}

body {
  font-size: 16px;
  line-height: 1.5;
  letter-spacing: 0;
  overflow-x: hidden;
}

::selection { background: var(--acid); color: var(--ink); }

a {
  color: inherit;
  text-decoration: none;
  border-bottom: 1px solid currentColor;
  transition: background-color var(--dur-fast) var(--ease-out), color var(--dur-fast) var(--ease-out);
}
a:hover { background: var(--fg); color: var(--bg); border-bottom-color: var(--fg); }

hr { border: 0; border-top: 1px solid var(--border); margin: 0; }

img, svg { display: block; max-width: 100%; }

/* ============================================================ TYPOGRAPHY */
.display, h1.display {
  font-weight: 500;
  font-size: clamp(56px, 11vw, 160px);
  line-height: 0.95;
  letter-spacing: -0.045em;
  margin: 0;
}
h1, .h1 {
  font-weight: 500;
  font-size: clamp(40px, 6vw, 80px);
  line-height: 1.0;
  letter-spacing: -0.035em;
  margin: 0 0 var(--sp-6);
}
h2, .h2 {
  font-weight: 500;
  font-size: clamp(32px, 5vw, 72px);
  line-height: 1.0;
  letter-spacing: -0.035em;
  margin: 0 0 var(--sp-6);
}
h3, .h3 {
  font-weight: 500;
  font-size: clamp(24px, 2.4vw, 32px);
  line-height: 1.1;
  letter-spacing: -0.025em;
  margin: 0 0 var(--sp-4);
}
h4 { font-weight: 500; font-size: 20px; line-height: 1.15; letter-spacing: -0.02em; margin: 0 0 var(--sp-3); }
p { margin: 0 0 var(--sp-4); text-wrap: pretty; }

.eyebrow, .mono-label {
  font-family: var(--font-mono);
  font-size: 12px; font-weight: 500;
  text-transform: uppercase; letter-spacing: 0.08em;
  color: var(--fg);
  display: inline-block;
}
.mono { font-family: var(--font-mono); letter-spacing: -0.01em; font-variant-numeric: tabular-nums; }
.muted { color: var(--fg-muted); }

.lede {
  font-size: clamp(18px, 1.6vw, 24px);
  line-height: 1.3;
  letter-spacing: -0.01em;
  max-width: 56ch;
}

.acid-mark { background: var(--acid); color: var(--ink); padding: 0 0.1em; }

/* Animated acid highlight — sweeps in from left, then a soft shimmer pulse */
.acid-mark--anim {
  background: linear-gradient(90deg, var(--acid) 0%, var(--acid) 100%);
  background-repeat: no-repeat;
  background-size: 0% 100%;
  background-position: 0 0;
  color: var(--ink);
  padding: 0 0.1em;
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
  animation: acid-sweep 900ms 600ms var(--ease-snap) forwards,
             acid-shimmer 4.2s 1700ms ease-in-out infinite;
}
@keyframes acid-sweep {
  from { background-size: 0% 100%; }
  to   { background-size: 100% 100%; }
}
@keyframes acid-shimmer {
  0%, 100% { background-image: linear-gradient(90deg, var(--acid) 0%, var(--acid) 100%); }
  50%      { background-image: linear-gradient(90deg, var(--acid) 0%, var(--acid-2) 50%, var(--acid) 100%); }
}

/* ============================================================ LAYOUT */
.page { padding: 0 var(--page-gutter); }
.section {
  padding: clamp(64px, 9vw, 140px) 0;
  border-bottom: 1px solid var(--border);
  position: relative;
}
.section:last-of-type { border-bottom: 0; }
.section__head {
  display: flex; align-items: flex-end; justify-content: space-between;
  gap: 32px; margin-bottom: var(--sp-12); flex-wrap: wrap;
}
.section__head .eyebrow { display: block; margin-bottom: var(--sp-3); }

.row { display: flex; gap: var(--sp-3); align-items: center; flex-wrap: wrap; }
.col { display: flex; flex-direction: column; gap: var(--sp-3); }

/* ============================================================ NAV */
.nav {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 60;
  display: flex; align-items: center; justify-content: space-between;
  gap: 32px;
  padding: 18px var(--page-gutter);
  background: var(--bg);
  border-bottom: 1px solid var(--border);
  transition: background-color var(--dur-mid) var(--ease-out), backdrop-filter var(--dur-mid) var(--ease-out), padding var(--dur-base) var(--ease-out);
}
.nav__left { display: flex; align-items: center; gap: 40px; }
.nav.is-scrolled {
  background: color-mix(in oklab, var(--bg) 78%, transparent);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  padding-top: 12px; padding-bottom: 12px;
}
.nav__wm {
  font-size: 22px; font-weight: 600; letter-spacing: -0.04em;
  border: 0; color: var(--fg);
  display: inline-block;
  font-variant-numeric: tabular-nums;
  min-width: 3ch;
}
.nav__wm { transition: background-color var(--dur-fast) var(--ease-out), color var(--dur-fast) var(--ease-out), padding var(--dur-fast) var(--ease-out); padding: 0 4px; margin-left: -4px; }
.nav__wm:hover { background: var(--acid); color: var(--ink); }

.nav__links {
  list-style: none; margin: 0; padding: 0;
  display: flex; gap: 28px;
}
.nav__links a {
  border: 0; font-size: 14px; font-weight: 500;
  padding: 4px 0;
  position: relative;
}
.nav__links a:hover { background: transparent; color: var(--fg); }
.nav__links a::after {
  content: ""; position: absolute; left: 0; bottom: 0; height: 1px;
  width: 0; background: var(--fg);
  transition: width var(--dur-base) var(--ease-out);
}
.nav__links a:hover::after,
.nav__links a.is-active::after { width: 100%; }

.nav__right { display: flex; align-items: center; gap: 16px; }
.nav__cta {
  background: var(--acid); color: var(--ink);
  border: 1px solid var(--ink);
  padding: 8px 14px; font-size: 13px; font-weight: 500;
  display: inline-flex; align-items: center; gap: 6px;
}
.nav__cta:hover { background: var(--acid); color: var(--ink); border-color: var(--ink); transform: translate(-1px, -1px); box-shadow: 3px 3px 0 var(--ink); }
.nav__cta { transition: transform var(--dur-fast) var(--ease-out), box-shadow var(--dur-fast) var(--ease-out); }

.theme-toggle {
  width: 38px; height: 38px;
  display: inline-flex; align-items: center; justify-content: center;
  background: transparent; color: var(--fg);
  border: 1px solid var(--border); cursor: pointer;
  font-family: var(--font-mono); font-size: 14px;
}
.theme-toggle:hover { background: var(--fg); color: var(--bg); }
.theme-toggle svg { width: 16px; height: 16px; }
.theme-toggle .icon-dark { display: block; }
.theme-toggle .icon-light { display: none; }
:root[data-theme="dark"] .theme-toggle .icon-dark { display: none; }
:root[data-theme="dark"] .theme-toggle .icon-light { display: block; }

.nav__menu {
  display: none;
  width: 38px; height: 38px;
  background: transparent; border: 1px solid var(--border);
  color: var(--fg); cursor: pointer;
  font-family: var(--font-mono); font-size: 11px; text-transform: uppercase;
}

@media (max-width: 820px) {
  .nav__links { display: none; }
  .nav__cta { display: none; }
  .nav__menu { display: inline-flex; align-items: center; justify-content: center; }
  .nav__drawer.is-open .nav__links {
    display: flex; flex-direction: column;
    position: fixed; inset: 64px 0 0 0;
    background: var(--bg); padding: var(--page-gutter);
    gap: var(--sp-6); border-top: 1px solid var(--border);
    z-index: 50;
  }
  .nav__drawer.is-open .nav__links a { font-size: 32px; font-weight: 500; letter-spacing: -0.02em; }
}

/* spacer to push content below fixed nav */
.nav-spacer { height: 73px; border-bottom: 0; }

/* ============================================================ BUTTONS */
.btn {
  font-family: var(--font-sans); font-weight: 500; font-size: 15px;
  padding: 13px 22px;
  border: 1px solid var(--border);
  background: transparent; color: var(--fg);
  cursor: pointer; letter-spacing: -0.005em;
  display: inline-flex; align-items: center; gap: 8px;
  text-decoration: none;
  position: relative;
  transition: transform var(--dur-fast) var(--ease-out), box-shadow var(--dur-fast) var(--ease-out), background-color var(--dur-fast), color var(--dur-fast);
}
.btn:hover { background: var(--fg); color: var(--bg); border-color: var(--fg); }
.btn:active { transform: translate(1px, 1px); }

.btn--primary { background: var(--fg); color: var(--bg); }
.btn--primary:hover { background: var(--bg); color: var(--fg); }

.btn--acid {
  background: var(--acid); color: var(--ink); border-color: var(--ink);
}
.btn--acid:hover {
  background: var(--acid); color: var(--ink); border-color: var(--ink);
  transform: translate(-2px, -2px); box-shadow: 4px 4px 0 var(--ink);
}
:root[data-theme="dark"] .btn--acid { border-color: var(--bone); }
:root[data-theme="dark"] .btn--acid:hover { box-shadow: 4px 4px 0 var(--bone); }

.btn--ghost { border-color: transparent; padding-left: 0; padding-right: 0; }
.btn--ghost:hover { background: transparent; color: var(--fg); border-bottom: 1px solid var(--fg); }

.btn .arrow {
  display: inline-block;
  transition: transform var(--dur-base) var(--ease-out);
}
.btn:hover .arrow { transform: translateX(4px); }

/* ============================================================ HERO */
.hero {
  padding: clamp(56px, 10vw, 140px) 0 clamp(56px, 9vw, 120px);
  border-bottom: 1px solid var(--border);
  position: relative;
}
.hero__sub {
  font-family: var(--font-mono); font-size: 13px; font-weight: 500;
  text-transform: uppercase; letter-spacing: 0.08em;
  margin: 0 0 var(--sp-6);
  padding-top: var(--sp-4);
  border-top: 1px solid var(--border);
  display: inline-block;
}
.hero__title {
  font-size: clamp(48px, 11vw, 160px);
  font-weight: 500; line-height: 0.95;
  letter-spacing: -0.045em;
  margin: 0 0 var(--sp-8);
}
.hero__lede { margin: 0 0 var(--sp-8); }
.hero__ctas { display: flex; gap: var(--sp-3); flex-wrap: wrap; }


/* Marquee strip below hero */
.marquee {
  border-bottom: 1px solid var(--border);
  overflow: hidden;
  background: var(--bg);
}
.marquee__track {
  display: flex; gap: 64px;
  white-space: nowrap;
  animation: marquee 38s linear infinite;
  padding: 18px 0;
  font-family: var(--font-mono); font-size: 14px;
  text-transform: uppercase; letter-spacing: 0.12em;
  color: var(--fg);
}
.marquee__track span { display: inline-flex; align-items: center; gap: 64px; }
.marquee__track .mq-dot { display: inline-block; width: 6px; height: 6px; background: var(--acid); transform: rotate(45deg); }
@keyframes marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ============================================================ SERVICES */
.services {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  border: 1px solid var(--border);
}
@media (max-width: 800px) { .services { grid-template-columns: 1fr; } }
.service {
  padding: var(--sp-12) var(--sp-8);
  border-right: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: var(--bg);
  display: flex; flex-direction: column; gap: var(--sp-4);
  position: relative; overflow: hidden;
  transition: background-color var(--dur-base) var(--ease-out), color var(--dur-base) var(--ease-out);
}
.service:nth-child(2n) { border-right: 0; }
.service:nth-last-child(-n+2) { border-bottom: 0; }
@media (max-width: 800px) {
  .service { border-right: 0; border-bottom: 1px solid var(--border); }
  .service:last-child { border-bottom: 0; }
  .service:nth-last-child(-n+2):not(:last-child) { border-bottom: 1px solid var(--border); }
}
.service__num {
  font-family: var(--font-mono); font-size: 12px; font-weight: 500;
  letter-spacing: 0.08em; color: var(--fg-muted);
}
.service__title { font-size: clamp(28px, 3.5vw, 44px); font-weight: 500; letter-spacing: -0.03em; line-height: 1.0; margin: 0; }
.service__desc { color: var(--fg-muted); margin: 0; max-width: 44ch; }
.service__list { list-style: none; padding: 0; margin: var(--sp-3) 0 0; display: flex; flex-direction: column; gap: 6px; }
.service__list li {
  font-family: var(--font-mono); font-size: 12px;
  text-transform: uppercase; letter-spacing: 0.08em;
  color: var(--fg-muted);
  padding-left: 16px; position: relative;
}
.service__list li::before {
  content: ""; position: absolute; left: 0; top: 7px;
  width: 6px; height: 6px; background: var(--fg);
  transform: rotate(45deg);
  transition: background-color var(--dur-base);
}
.service:hover { background: var(--fg); color: var(--bg); }
.service:hover .service__num,
.service:hover .service__desc,
.service:hover .service__list li { color: var(--bg); }
.service:hover .service__list li::before { background: var(--acid); }
.service__arrow {
  position: absolute; top: var(--sp-8); right: var(--sp-8);
  font-family: var(--font-mono); font-size: 22px;
  transition: transform var(--dur-base) var(--ease-out);
}
.service:hover .service__arrow { transform: translate(6px, -6px); }

/* ============================================================ PROCESS */
.process {
  display: grid;
  grid-template-columns: 60px 1fr 1fr;
  gap: 0;
  border-top: 1px solid var(--border);
}
@media (max-width: 800px) {
  .process { grid-template-columns: 40px 1fr; }
  .process__desc { grid-column: 2; padding-top: 0 !important; }
}
.process__step {
  display: contents;
}
.process__num, .process__title, .process__desc {
  border-bottom: 1px solid var(--border);
  padding: var(--sp-8) var(--sp-4);
}
.process__num {
  font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.08em;
  color: var(--fg-muted); padding-left: 0;
}
.process__title {
  font-size: clamp(24px, 3vw, 36px); font-weight: 500;
  letter-spacing: -0.025em; line-height: 1.05;
  border-right: 1px solid var(--border);
  padding-right: var(--sp-8);
}
.process__desc {
  font-size: 16px; color: var(--fg-muted); line-height: 1.5;
  padding-left: var(--sp-8);
}
@media (max-width: 800px) {
  .process__title { border-right: 0; padding-right: var(--sp-4); padding-bottom: 0; }
  .process__num { padding-top: var(--sp-8); padding-bottom: 0; border-bottom: 0; }
  .process__title { border-bottom: 0; }
}

/* ============================================================ TEAM / ABOUT */
.studio {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 64px;
  margin-bottom: var(--sp-16);
}
@media (max-width: 900px) { .studio { grid-template-columns: 1fr; gap: 32px; } }
.studio__cta {
  display: flex; flex-direction: column; gap: 8px;
  border-top: 1px solid var(--border); padding-top: var(--sp-6);
}
.studio__email {
  font-size: clamp(24px, 3vw, 40px);
  font-weight: 500; letter-spacing: -0.02em;
  color: var(--fg); border-bottom-color: var(--fg);
}
.studio__email:hover { background: var(--acid); color: var(--ink); border-color: var(--ink); }

.team {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-6);
  border-top: 1px solid var(--border);
  padding-top: var(--sp-12);
}
@media (max-width: 900px) { .team { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .team { grid-template-columns: 1fr; } }

.team__member { display: flex; flex-direction: column; gap: var(--sp-3); }
.team__photo {
  aspect-ratio: 4 / 5;
  background: var(--fg); color: var(--bg);
  font-family: var(--font-mono); font-size: 11px;
  text-transform: uppercase; letter-spacing: 0.08em;
  position: relative; overflow: hidden;
  border: 1px solid var(--border);
}
.team__photo image-slot, .team__photo .slot-fallback {
  width: 100%; height: 100%; display: block;
}
.team__photo .label {
  position: absolute; left: 12px; top: 12px; z-index: 1;
  pointer-events: none;
}
/* image distortion hover effect */
.team__photo {
  transition: filter var(--dur-mid) var(--ease-out);
}
.team__photo::before {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(115deg, transparent 40%, var(--acid) 50%, transparent 60%);
  background-size: 250% 250%; background-position: 0% 0%;
  mix-blend-mode: difference;
  opacity: 0;
  transition: opacity var(--dur-mid) var(--ease-out), background-position 800ms var(--ease-out);
  pointer-events: none; z-index: 2;
}
.team__photo:hover::before { opacity: 0.85; background-position: 100% 100%; }
.team__photo:hover { filter: contrast(1.05) saturate(0.6); }
.team__name { font-size: 20px; font-weight: 500; letter-spacing: -0.02em; margin: 0; }
.team__role {
  font-family: var(--font-mono); font-size: 11px;
  color: var(--fg-muted);
  text-transform: uppercase; letter-spacing: 0.08em;
  margin: 0;
}

/* image-slot — inherit dark theme */
image-slot {
  --slot-bg: var(--fg);
  --slot-fg: var(--bg);
}

/* ============================================================ CONTACT FORM */
.form {
  border: 1px solid var(--border);
  padding: clamp(28px, 4vw, 56px);
  background: var(--bg);
  position: relative;
}
.form__grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 24px 32px;
  margin-bottom: var(--sp-8);
}
@media (max-width: 720px) { .form__grid { grid-template-columns: 1fr; } }
.field { display: flex; flex-direction: column; gap: 6px; }
.field--full { grid-column: 1 / -1; }
.field label {
  font-family: var(--font-mono); font-size: 10px;
  text-transform: uppercase; letter-spacing: 0.08em; color: var(--fg-muted);
}
.input {
  font-family: var(--font-sans); font-size: 17px;
  background: transparent; color: var(--fg);
  border: 0; border-bottom: 1px solid var(--border);
  padding: 10px 0; outline: none;
  border-radius: 0;
  transition: border-color var(--dur-fast), padding var(--dur-fast);
}
.input:focus { border-bottom-width: 2px; padding-bottom: 9px; }
.input::placeholder { color: var(--fg-subtle); }
textarea.input { resize: vertical; min-height: 100px; }
.field.is-error .input { border-bottom-color: var(--signal-error); }
.field__err {
  font-family: var(--font-mono); font-size: 11px; color: var(--signal-error);
}
.form__actions {
  display: flex; align-items: center; gap: 24px; flex-wrap: wrap;
  border-top: 1px solid var(--border); padding-top: var(--sp-6);
}
.form__note {
  font-family: var(--font-mono); font-size: 11px;
  text-transform: uppercase; letter-spacing: 0.08em; color: var(--fg-muted);
}

/* Service chips for "what are you building" */
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  font-family: var(--font-mono); font-size: 11px;
  text-transform: uppercase; letter-spacing: 0.08em;
  border: 1px solid var(--border); border-radius: 9999px;
  padding: 6px 12px; background: transparent; color: var(--fg);
  cursor: pointer;
  transition: background-color var(--dur-fast), color var(--dur-fast);
}
.chip:hover { background: var(--fg); color: var(--bg); }
.chip.is-active { background: var(--acid); color: var(--ink); border-color: var(--ink); }

/* ============================================================ FOOTER */
.footer {
  background: var(--ink);
  color: var(--bone);
  padding: clamp(48px, 8vw, 96px) var(--page-gutter);
  margin-top: auto;
}
:root[data-theme="dark"] .footer { background: #050505; border-top: 1px solid var(--bone); }
.footer a { color: var(--bone); }
.footer a:hover { background: var(--acid); color: var(--ink); border-color: var(--ink); }
.footer__top {
  display: grid; grid-template-columns: 1.4fr 1fr 1fr;
  gap: 32px; margin-bottom: var(--sp-12); align-items: flex-start;
}
@media (max-width: 800px) { .footer__top { grid-template-columns: 1fr; } }
.footer__wm {
  font-size: clamp(80px, 14vw, 200px); font-weight: 500;
  letter-spacing: -0.04em; line-height: 0.85;
  display: inline-block;
  font-variant-numeric: tabular-nums;
  padding: 0 0.06em;
  margin-left: -0.06em;
  transition: background-color var(--dur-fast) var(--ease-out), color var(--dur-fast) var(--ease-out);
}
.footer__wm:hover { background: var(--acid); color: var(--ink) !important; }
.footer__tag {
  font-size: clamp(16px, 1.4vw, 20px); line-height: 1.3;
  color: var(--bone); max-width: 28ch; margin-top: var(--sp-4);
  opacity: 0.85;
}
.footer__col { display: flex; flex-direction: column; gap: var(--sp-3); }
.footer__col h5 {
  font-family: var(--font-mono); font-size: 11px; font-weight: 500;
  text-transform: uppercase; letter-spacing: 0.08em;
  color: rgba(244, 241, 234, 0.5); margin: 0 0 var(--sp-2);
}
.footer__col a {
  font-size: 16px; border: 0;
}
.footer__col a:hover { background: transparent; color: var(--acid); }
.footer__email-row {
  display: flex; flex-direction: column; gap: 4px;
  border-top: 1px solid rgba(244, 241, 234, 0.3); padding-top: var(--sp-4);
}
.footer__email {
  font-size: clamp(22px, 2.4vw, 32px); font-weight: 500;
  letter-spacing: -0.02em; color: var(--bone);
  border-bottom-color: var(--bone);
}
.footer__email:hover { background: var(--acid); color: var(--ink); border-color: var(--ink); }
.footer__rule { border-color: var(--bone); opacity: 0.4; }
.footer__meta {
  display: flex; justify-content: space-between; gap: 16px;
  font-family: var(--font-mono); font-size: 12px;
  color: rgba(244, 241, 234, 0.55);
  text-transform: uppercase; letter-spacing: 0.08em;
  padding-top: var(--sp-6); flex-wrap: wrap;
}

/* ============================================================ TILES (CTA blocks) */
.tile-row {
  display: grid; grid-template-columns: 2fr 1fr; gap: 0;
  border-top: 1px solid var(--border);
}
@media (max-width: 800px) { .tile-row { grid-template-columns: 1fr; } }
.tile {
  padding: var(--sp-12) var(--sp-8);
  border-right: 1px solid var(--border);
  display: flex; flex-direction: column; gap: var(--sp-4);
  position: relative;
}
.tile:last-child { border-right: 0; }
@media (max-width: 800px) {
  .tile { border-right: 0; border-bottom: 1px solid var(--border); }
  .tile:last-child { border-bottom: 0; }
}
.tile--acid { background: var(--acid); color: var(--ink); }
.tile--acid a { color: var(--ink); border-color: var(--ink); }
.tile--ink { background: var(--ink); color: var(--bone); }
.tile--ink a { color: var(--bone); border-color: var(--bone); }
.tile--ink a:hover,
.tile--ink a:hover * { background: var(--acid); color: var(--ink); border-color: var(--ink); }

/* ============================================================ FACTS / STATS */
.facts {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
@media (max-width: 800px) { .facts { grid-template-columns: repeat(2, 1fr); } }
.fact {
  padding: var(--sp-8) var(--sp-6);
  border-right: 1px solid var(--border);
  display: flex; flex-direction: column; gap: var(--sp-2);
}
.fact:last-child { border-right: 0; }
@media (max-width: 800px) {
  .fact:nth-child(2n) { border-right: 0; }
  .fact:nth-child(-n+2) { border-bottom: 1px solid var(--border); }
}
.fact__num {
  font-size: clamp(40px, 6vw, 72px); font-weight: 500;
  letter-spacing: -0.04em; line-height: 0.95;
}
.fact__label {
  font-family: var(--font-mono); font-size: 11px;
  text-transform: uppercase; letter-spacing: 0.08em;
  color: var(--fg-muted);
}

/* ============================================================ MOTION HOOKS */
[data-reveal] {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 800ms var(--ease-out), transform 800ms var(--ease-out);
  will-change: opacity, transform;
}
[data-reveal].is-in { opacity: 1; transform: translateY(0); }
[data-reveal-delay="1"].is-in { transition-delay: 80ms; }
[data-reveal-delay="2"].is-in { transition-delay: 160ms; }
[data-reveal-delay="3"].is-in { transition-delay: 240ms; }
[data-reveal-delay="4"].is-in { transition-delay: 320ms; }
[data-reveal-delay="5"].is-in { transition-delay: 400ms; }

/* split text — char-level reveal */
.split-line {
  display: block;
  overflow: hidden;
}
.split-char {
  display: inline-block;
  transform: translateY(110%);
  transition: transform 700ms var(--ease-out);
  will-change: transform;
}
.split-line.is-in .split-char { transform: translateY(0); }

/* page transition overlay — slides out on load */
.page-transition {
  position: fixed; inset: 0; z-index: 200;
  background: var(--ink); color: var(--bone);
  transform: translateY(0);
  transition: transform 600ms var(--ease-snap);
  pointer-events: none;
  display: flex; align-items: center; justify-content: center;
}
.page-transition.is-out { transform: translateY(-100%); }
.page-transition.is-in {
  transform: translateY(100%);
  transition: transform 0ms;
}
.page-transition.is-in.is-active {
  transform: translateY(0);
  transition: transform 600ms var(--ease-snap);
}
.page-transition__wm {
  font-size: clamp(80px, 14vw, 200px); font-weight: 500;
  letter-spacing: -0.04em; color: var(--bone);
}

/* small page intro */
.page-intro {
  padding: clamp(80px, 12vw, 160px) 0 clamp(48px, 7vw, 80px);
  border-bottom: 1px solid var(--border);
}
.page-intro__eyebrow { display: block; margin-bottom: var(--sp-3); }
.page-intro__lede { margin-top: var(--sp-6); }

/* generic two-col block */
.two-col {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 64px;
}
@media (max-width: 800px) { .two-col { grid-template-columns: 1fr; gap: 32px; } }

/* form done */
.form--done .h2 { margin-top: 0; }

/* reveal helper for paragraphs of text where each child reveals */
.reveal-list > * {
  opacity: 0; transform: translateY(20px);
  transition: opacity 700ms var(--ease-out), transform 700ms var(--ease-out);
}
.reveal-list.is-in > *:nth-child(1) { opacity: 1; transform: translateY(0); transition-delay: 0ms; }
.reveal-list.is-in > *:nth-child(2) { opacity: 1; transform: translateY(0); transition-delay: 80ms; }
.reveal-list.is-in > *:nth-child(3) { opacity: 1; transform: translateY(0); transition-delay: 160ms; }
.reveal-list.is-in > *:nth-child(4) { opacity: 1; transform: translateY(0); transition-delay: 240ms; }
.reveal-list.is-in > *:nth-child(5) { opacity: 1; transform: translateY(0); transition-delay: 320ms; }
.reveal-list.is-in > *:nth-child(6) { opacity: 1; transform: translateY(0); transition-delay: 400ms; }
