/* WEI Architects — production styles. Tokens from design_handoff README. */

:root {
  /* Color: navy + white from the WEI logo (#001E64).
     Variable names kept from the first design pass so every rule below still reads the same role. */
  --black: #001E64;          /* logo navy: dark sections, header text, buttons on light */
  --raised: #00164F;         /* deeper navy: raised sections, form card */
  --rule-1: #12307A;
  --rule-2: #1A3884;
  --rule-3: #22408C;
  --rule-4: #3A5499;
  --rule-hero: rgba(255, 255, 255, .22);
  --bone: #FFFFFF;           /* logo white */
  --bone-rule: #DDE2EC;      /* light rules, image placeholders */
  --terra: #FFFFFF;          /* primary CTA on navy: white button, navy text */
  --terra-hover: #C3CCE0;
  --terra-on-dark: #A9BCEB;  /* accent labels on navy (8:1) */
  --terra-on-light: #001E64; /* accent on white */
  --light-hover: #2347A8;
  --text-dark-1: #E6EAF3;
  --text-dark-2: #C3CCE0;
  --text-dark-3: #B3BDD6;
  --text-nav: #001E64;
  --meta-dark: #9FAACB;
  --meta-dim: #5B6378;
  --text-light: #3B4256;
  --meta-light: #5B6378;
  --hero-rule: rgba(255, 255, 255, .32);

  /* Type: Helvetica like the logo; Arimo (Arial/Helvetica metrics) where Helvetica isn't installed.
     Chinese falls through to the system's own CJK fonts. */
  --font-sans: "Helvetica Neue", Helvetica, Arimo, Arial, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans SC", sans-serif;
  --font-mono: var(--font-sans); /* labels: tracked capitals, like ARCHITECTS in the logo */

  /* Layout */
  --gutter: clamp(18px, 4vw, 56px);
  --max: 1400px;
  --max-text: 1240px;
  --pad-y: clamp(64px, 9vw, 130px);
  --pad-y-tall: clamp(72px, 10vw, 150px);
  --header-h: 72px;

  /* Motion */
  --ease-out: cubic-bezier(.16, 1, .3, 1);
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: var(--header-h); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--black);
  color: var(--bone);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; transition: color .3s, border-color .3s, background-color .3s; }
a:hover { color: var(--terra-on-dark); }
.section--light a:hover { color: var(--light-hover); }
h1, h2, h3, p, figure, blockquote, dl, dd, ol, ul { margin: 0; }
ol, ul { padding: 0; list-style: none; }
button, input, select, textarea { font: inherit; color: inherit; }
::placeholder { color: var(--meta-dark); opacity: 1; }
[hidden] { display: none !important; }
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

:focus-visible { outline: 2px solid var(--terra-on-dark); outline-offset: 3px; }
.section--light :focus-visible { outline-color: var(--terra-on-light); }

.skip-link {
  position: absolute; left: 12px; top: -100px; z-index: 100;
  background: var(--bone); color: var(--black);
  padding: 12px 18px; border-radius: 999px;
  font-weight: 600; font-size: 14px;
}
.skip-link:focus { top: 12px; color: var(--black); }

/* ---------- Shared type ---------- */
.eyebrow {
  font-family: var(--font-mono); font-size: 11px; font-weight: 600;
  letter-spacing: .3em; text-transform: uppercase; line-height: 1.5;
  color: var(--meta-dark);
}
.section--light .eyebrow { color: var(--meta-light); }
.eyebrow--accent { color: var(--terra-on-dark); }
.section--light .eyebrow--accent { color: var(--terra-on-light); }
.eyebrow--sm { letter-spacing: .2em; }
.mono-label {
  font-family: var(--font-mono); font-weight: 600; font-size: 10px; letter-spacing: .24em;
  text-transform: uppercase; color: var(--meta-light);
}
.h2 {
  margin-top: 16px;
  font-size: clamp(32px, 4.6vw, 66px); line-height: 1; font-weight: 500;
  letter-spacing: -.03em; text-wrap: balance;
}
.h2--services { font-size: clamp(32px, 4.4vw, 62px); }
.h2--narrow { max-width: 20ch; }
.h2-contact {
  margin-top: 16px;
  font-size: clamp(36px, 5.4vw, 80px); line-height: .96; font-weight: 500;
  letter-spacing: -.035em; text-wrap: balance;
}
.body-dark { font-size: 16px; line-height: 1.6; color: var(--text-dark-2); text-wrap: pretty; }
.body-sm { font-size: 15px; }

/* ---------- Layout ---------- */
.section { padding: var(--pad-y) var(--gutter); }
.section--tall { padding-block: var(--pad-y-tall); }
.section--light { background: var(--bone); color: var(--black); }
.section--raised { background: var(--raised); }
.wrap { max-width: var(--max); margin: 0 auto; }
.wrap--text { max-width: var(--max-text); }

.section-head {
  display: flex; flex-wrap: wrap; gap: 24px; justify-content: space-between; align-items: end;
  border-bottom: 1px solid var(--bone-rule); padding-bottom: 26px;
}
.section-head__intro { max-width: 38ch; font-size: 15px; line-height: 1.6; color: var(--text-light); text-wrap: pretty; }

/* ---------- Buttons ---------- */
.btn-primary {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  background: var(--terra); color: var(--black);
  font-size: 14px; font-weight: 600; padding: 16px 26px; border-radius: 999px;
}
.btn-primary:hover { background: var(--terra-hover); color: var(--black); }
.btn-ghost {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  border: 1px solid var(--hero-rule); color: var(--bone);
  font-size: 14px; font-weight: 500; padding: 16px 26px; border-radius: 999px;
}
.btn-ghost:hover { border-color: var(--bone); color: var(--bone); }
.btn-outline-sm {
  font-family: var(--font-mono); font-weight: 600; font-size: 11px; letter-spacing: .16em; text-transform: uppercase;
  border: 1px solid var(--rule-4); padding: 11px 18px; border-radius: 999px; white-space: nowrap;
}
.btn-outline-sm:hover { border-color: var(--light-hover); color: var(--light-hover); }

/* ---------- Header ---------- */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 40;
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  padding: 18px var(--gutter);
  padding-block: 12px;
  background: rgba(255, 255, 255, .96);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--bone-rule);
  color: var(--black);
}
.site-header a:hover { color: var(--light-hover); }
.brand { display: flex; align-items: center; }
.brand__logo { display: block; width: auto; height: 44px; }
.brand__mark { font-size: 19px; font-weight: 600; letter-spacing: .22em; }
.brand__sub { font-family: var(--font-mono); font-weight: 600; font-size: 10px; letter-spacing: .3em; color: var(--meta-dim); text-transform: uppercase; }
.site-nav {
  display: flex; gap: clamp(16px, 2.4vw, 34px);
  font-family: var(--font-mono); font-weight: 600; font-size: 11px; letter-spacing: .18em; text-transform: uppercase; color: var(--text-nav);
}
.header-actions { display: flex; align-items: center; gap: 16px; }
.lang-link { font-size: 13px; font-weight: 600; color: var(--black); }

.menu-toggle {
  display: none; flex-direction: column; align-items: flex-end; justify-content: center; gap: 5px;
  width: 44px; height: 44px; padding: 0; background: none; border: 0; cursor: pointer;
}
.menu-toggle span { display: block; width: 24px; height: 2px; background: var(--black); }
.menu-toggle span + span { width: 16px; }

@media (max-width: 959.98px) {
  .site-nav { display: none; }
  .menu-toggle { display: flex; }
}
@media (max-width: 599.98px) {
  .header-actions .btn-outline-sm { display: none; }
  .header-actions { gap: 10px; }
  .header-actions .lang-link { padding: 12px 6px; }
  .brand__logo { height: 38px; }
}

/* Mobile overlay menu */
.mobile-menu {
  position: fixed; inset: 0; z-index: 60;
  display: flex; flex-direction: column;
  padding: 18px 20px 28px;
  background: rgba(0, 22, 79, .97);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  overflow-y: auto;
  animation: wRise .35s both var(--ease-out);
}
.mobile-menu__top { display: flex; align-items: center; justify-content: space-between; min-height: 44px; }
.mobile-menu__top .mono-label { font-size: 9px; letter-spacing: .26em; color: var(--meta-dark); }
.mobile-menu__close {
  width: 44px; height: 44px; display: flex; align-items: center; justify-content: center;
  background: none; border: 0; color: var(--bone); font-size: 26px; cursor: pointer;
}
.mobile-menu__nav { display: grid; gap: 2px; margin-top: 28px; }
.mobile-menu__nav a {
  display: flex; align-items: baseline; gap: 12px; padding: 14px 0;
  border-bottom: 1px solid var(--rule-2);
  font-size: 28px; font-weight: 500; letter-spacing: -.025em;
}
.mobile-menu__nav span { font-family: var(--font-mono); font-weight: 600; font-size: 9px; letter-spacing: 0; color: var(--terra-on-dark); }
.mobile-menu__cta { margin-top: auto; min-height: 52px; }
body.menu-open { overflow: hidden; }

/* ---------- Hero ---------- */
.hero { position: relative; height: 100vh; height: 100svh; min-height: 640px; overflow: hidden; }
.hero__media { position: absolute; inset: 0; overflow: hidden; }
.hero__img {
  width: 100%; height: 115%; object-fit: cover;
  animation: wDrift 24s linear infinite alternate;
  will-change: transform;
}
.hero__shade {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(0,22,79,.55) 0%, rgba(0,22,79,.18) 38%, rgba(0,22,79,.92) 100%);
}
.hero__copy {
  position: relative; height: 100%;
  display: grid; grid-template-rows: 1fr auto;
  padding: 0 var(--gutter) clamp(24px, 3.4vw, 44px);
}
.hero__main { align-self: end; max-width: var(--max-text); }
.hero__eyebrow { color: var(--terra-on-dark); margin-bottom: 24px; }
.hero__title {
  font-size: clamp(40px, 8.2vw, 130px); line-height: .93; font-weight: 500;
  letter-spacing: -.035em; text-wrap: balance;
}
.hero__title span { display: block; }
.hero__rule {
  height: 1px; background: var(--hero-rule);
  margin: clamp(24px, 3.6vw, 42px) 0 24px;
  transform-origin: left;
  animation: wLine 1.2s .8s both var(--ease-out);
}
.hero__row {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr));
  gap: 26px; align-items: end;
}
.hero__lede { max-width: 48ch; font-size: clamp(15px, 1.2vw, 18px); line-height: 1.55; color: var(--text-dark-1); text-wrap: pretty; }
.hero__ctas { display: flex; gap: 12px; flex-wrap: wrap; }
.hero__meta {
  display: flex; gap: clamp(14px, 2.6vw, 48px); flex-wrap: wrap;
  border-top: 1px solid var(--rule-hero);
  margin-top: clamp(24px, 3.4vw, 42px); padding-top: 18px;
  font-family: var(--font-mono); font-weight: 600; font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: var(--meta-dark);
}
.hero__scroll { margin-left: auto; color: var(--terra-on-dark); }

@media (max-width: 599.98px) {
  .hero__ctas { display: grid; gap: 9px; }
  .hero__ctas a { min-height: 50px; padding-block: 0; }
}

/* Hero load: CSS rise-in, staggered */
.rise { animation: wRise 1.1s both var(--ease-out); }
.rise--1 { animation-duration: .9s; animation-delay: .2s; }
.rise--2 { animation-delay: .3s; }
.rise--3 { animation-delay: .42s; }
.rise--4 { animation-duration: 1s; animation-delay: .65s; }
.rise--5 { animation-duration: 1s; animation-delay: .9s; }

@keyframes wDrift { from { transform: scale(1.14); } to { transform: scale(1.02) translateY(-1.5%); } }
@keyframes wRise { from { opacity: 0; transform: translateY(28px); } to { opacity: 1; transform: none; } }
@keyframes wLine { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@keyframes wMarquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ---------- Marquees ---------- */
.marquee { overflow: hidden; }
.marquee__track { display: flex; width: max-content; animation: wMarquee 42s linear infinite; }
.marquee:hover .marquee__track, .marquee:focus-within .marquee__track { animation-play-state: paused; }
.marquee__group { display: flex; align-items: center; flex-shrink: 0; }

.marquee--audience { border-bottom: 1px solid var(--rule-1); padding: 24px 0; }
.marquee--audience .marquee__group {
  gap: clamp(36px, 6vw, 90px); padding-right: clamp(36px, 6vw, 90px);
  font-family: var(--font-mono); font-weight: 600; font-size: 13px; letter-spacing: .24em; text-transform: uppercase;
  color: var(--meta-dark); /* design #6E6A60, raised to 4.5:1 */
  white-space: nowrap;
}
.marquee__sep { color: var(--rule-4); }

.marquee--logos { padding: 40px 0; border-top: 1px solid var(--rule-1); border-bottom: 1px solid var(--rule-1); }
.marquee--logos .marquee__track { animation-duration: 50s; }
.marquee--logos .marquee__group { gap: 16px; padding-right: 16px; }
.marquee__label {
  padding: 0 var(--gutter) 24px;
  font-family: var(--font-mono); font-weight: 600; font-size: 10px; letter-spacing: .3em; text-transform: uppercase; color: var(--meta-dark);
}
.logo-cell {
  width: 200px; height: 88px; border: 1px solid var(--rule-2);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-mono); font-weight: 600; font-size: 10px; letter-spacing: .2em; text-transform: uppercase; color: var(--meta-dark);
}
.logo-cell img { max-width: 70%; max-height: 50%; }

/* ---------- Work ---------- */
.frame { position: relative; overflow: hidden; background: var(--bone-rule); }
.frame picture { display: contents; }
.frame img { width: 100%; height: 118%; object-fit: cover; }
.frame--16x10 { aspect-ratio: 16 / 10; }
.frame--4x3 { aspect-ratio: 4 / 3; }
.frame--empty { display: flex; align-items: center; justify-content: center; }

.feature {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 380px), 1fr));
  gap: clamp(22px, 3.4vw, 56px); align-items: center;
  margin-top: clamp(36px, 4.4vw, 64px);
}
.meta-row {
  display: flex; flex-wrap: wrap; gap: 14px;
  font-family: var(--font-mono); font-weight: 600; font-size: 10px; letter-spacing: .24em; text-transform: uppercase; color: var(--meta-light);
}
.meta-row--split { justify-content: space-between; gap: 12px; margin-top: 16px; letter-spacing: .22em; }
.feature__title { margin-top: 14px; font-size: clamp(26px, 3.4vw, 48px); line-height: 1.04; font-weight: 500; letter-spacing: -.025em; }
.feature__text { margin-top: 16px; max-width: 46ch; font-size: 16px; line-height: 1.6; color: var(--text-light); text-wrap: pretty; }
.text-link {
  display: inline-flex; margin-top: 22px; padding-bottom: 6px;
  font-family: var(--font-mono); font-weight: 600; font-size: 11px; letter-spacing: .2em; text-transform: uppercase;
  border-bottom: 1px solid var(--terra-on-light); color: var(--terra-on-light);
}
.feature:hover, .card:hover { color: inherit; }
.feature:hover .feature__title, .card:hover .card__title { color: var(--light-hover); transition: color .3s; }

.cards {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
  gap: clamp(28px, 3vw, 44px) clamp(20px, 2.4vw, 36px);
  margin-top: clamp(48px, 6vw, 90px);
}
.card { display: block; }
.card__title { margin-top: 10px; font-size: clamp(20px, 1.8vw, 26px); line-height: 1.12; font-weight: 500; letter-spacing: -.02em; }
.card__text { margin-top: 10px; font-size: 15px; line-height: 1.58; color: var(--text-light); text-wrap: pretty; }

/* ---------- Services ---------- */
.services {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 360px), 1fr));
  gap: clamp(32px, 5vw, 90px);
}
.services__intro { align-self: start; position: sticky; top: 110px; }
.services__intro .body-dark { margin-top: 22px; max-width: 42ch; }
.service { display: grid; grid-template-columns: 52px 1fr; gap: 16px; padding: 28px 0; border-top: 1px solid var(--rule-2); }
.service__no { font-family: var(--font-mono); font-weight: 600; font-size: 11px; color: var(--terra-on-dark); padding-top: 8px; }
.service__name { font-size: clamp(22px, 2.2vw, 30px); font-weight: 500; letter-spacing: -.02em; line-height: 1.2; }
.service__detail { margin-top: 10px; max-width: 56ch; font-size: 15px; line-height: 1.6; color: var(--text-dark-3); text-wrap: pretty; }

/* ---------- Practice ---------- */
.statement {
  margin-top: 24px;
  font-size: clamp(28px, 3.8vw, 56px); line-height: 1.14; font-weight: 500; letter-spacing: -.025em; text-wrap: pretty;
}
.principles {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr));
  gap: clamp(24px, 3vw, 48px);
  margin-top: clamp(48px, 6vw, 90px); border-top: 1px solid var(--rule-3); padding-top: 32px;
}
.principles .body-dark { margin-top: 12px; }

/* ---------- Team ---------- */
.team {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr));
  gap: clamp(20px, 2.4vw, 36px); margin-top: clamp(32px, 4vw, 56px);
}
.person__portrait { aspect-ratio: 4 / 5; background: var(--bone-rule); display: flex; align-items: flex-end; padding: 16px; overflow: hidden; }
.person__portrait img { width: 100%; height: 100%; object-fit: cover; }
.person__portrait .mono-label { letter-spacing: .22em; }
.person__name { margin-top: 16px; font-size: 21px; font-weight: 500; letter-spacing: -.015em; }
.person__role { margin-top: 6px; font-family: var(--font-mono); font-weight: 600; font-size: 10px; letter-spacing: .2em; text-transform: uppercase; color: var(--terra-on-light); }
.person__focus { margin-top: 10px; font-size: 14px; line-height: 1.55; color: var(--text-light); text-wrap: pretty; }

/* ---------- Credentials ---------- */
.creds {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr)); /* 3 × 2 on desktop, no empty cells */
  gap: 1px; background: var(--rule-2); border: 1px solid var(--rule-2);
  margin-top: clamp(36px, 4.4vw, 64px);
}
.cred {
  background: var(--black); padding: clamp(24px, 2.6vw, 38px); min-height: 200px;
  display: flex; flex-direction: column; justify-content: space-between; gap: 28px;
}
.cred__label { font-family: var(--font-mono); font-weight: 600; font-size: 10px; letter-spacing: .24em; text-transform: uppercase; color: var(--terra-on-dark); }
.cred__value { display: block; font-size: clamp(22px, 2.2vw, 30px); font-weight: 500; letter-spacing: -.02em; line-height: 1.1; }
.cred__note { display: block; margin-top: 10px; font-size: 14px; line-height: 1.55; color: var(--text-dark-3); text-wrap: pretty; }

/* ---------- Testimonials ---------- */
.quotes { margin-top: 28px; }
.quote + .quote { margin-top: 48px; }
.quote__text {
  font-size: clamp(26px, 3.4vw, 50px); line-height: 1.16; font-weight: 500; letter-spacing: -.025em; text-wrap: pretty;
}
.quote__by { display: block; margin-top: 36px; border-top: 1px solid var(--rule-3); padding-top: 24px; }
.quote__who { display: block; font-size: 16px; font-weight: 500; }
.quote__org { display: block; margin-top: 6px; font-family: var(--font-mono); font-weight: 600; font-size: 10px; letter-spacing: .2em; text-transform: uppercase; color: var(--meta-dark); }
.quote-controls { display: none; }

/* With JS: one quote at a time, controls sit on the attribution row */
.js .testimonials .wrap { position: relative; }
.js .quote + .quote { margin-top: 0; }
.js .quote:not(.is-active) { display: none; }
.js .quote__text { min-height: 3.5em; }
.js .quote-controls {
  display: flex; align-items: center; gap: 10px;
  position: absolute; right: 0; bottom: 0;
}
.js .quote__by { padding-right: 190px; min-height: 73px; }
.quote-count { font-family: var(--font-mono); font-weight: 600; font-size: 11px; letter-spacing: .2em; color: var(--meta-dark); margin-right: 8px; }
.round-btn {
  width: 48px; height: 48px; border-radius: 999px; border: 1px solid var(--rule-4);
  background: none; color: var(--bone); font-size: 16px; cursor: pointer;
  transition: border-color .3s, color .3s;
}
.round-btn:hover { border-color: var(--terra-on-dark); color: var(--terra-on-dark); }
@media (max-width: 479.98px) {
  .js .quote-controls { position: static; margin-top: 20px; }
  .js .quote__by { padding-right: 0; min-height: 0; }
}

/* ---------- Contact ---------- */
.contact {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 400px), 1fr));
  gap: clamp(40px, 6vw, 100px);
}
.contact__lede { margin-top: 24px; max-width: 44ch; }
.contact__facts { display: grid; gap: 14px; margin-top: 40px; padding-top: 28px; border-top: 1px solid var(--rule-2); font-size: 15px; }
.contact__facts > div { display: flex; gap: 18px; }
.contact__facts dt {
  width: 90px; flex-shrink: 0; padding-top: 3px;
  font-family: var(--font-mono); font-weight: 600; font-size: 10px; letter-spacing: .2em; text-transform: uppercase; color: var(--meta-dark);
}
.underline-link { border-bottom: 1px solid var(--rule-4); }

.form-card { background: var(--raised); border: 1px solid var(--rule-2); padding: clamp(24px, 3vw, 44px); }
.consult-form { display: grid; gap: 22px; }
.chips-field { border: 0; margin: 0; padding: 0; min-width: 0; }
.field-label, .field {
  font-family: var(--font-mono); font-weight: 600; font-size: 10px; letter-spacing: .22em; text-transform: uppercase; color: var(--meta-dark);
}
.field-label { padding: 0; margin-bottom: 12px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  min-height: 44px; padding: 0 16px; border-radius: 999px;
  border: 1px solid var(--rule-4); background: transparent; color: var(--text-nav);
  font-family: var(--font-sans); font-size: 13px; cursor: pointer; transition: all .2s;
}
.chip:hover { border-color: var(--terra-on-dark); }
.chip[aria-pressed="true"] { background: var(--terra); border-color: var(--terra); color: var(--black); }
.fields { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr)); gap: 14px; }
.field { display: grid; gap: 8px; }
.field input, .field select, .field textarea {
  min-height: 50px; width: 100%;
  background: var(--black); border: 1px solid var(--rule-3); border-radius: 0; color: var(--bone);
  padding: 0 14px; font-family: var(--font-sans); font-size: 15px; letter-spacing: 0; text-transform: none;
  transition: border-color .3s;
}
.field select { padding: 0 12px; }
.field textarea { padding: 14px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--terra-on-dark); outline: none; }
.field input:focus-visible, .field select:focus-visible, .field textarea:focus-visible { outline: none; box-shadow: 0 0 0 1px var(--terra-on-dark); }
.field [aria-invalid="true"] { border-color: var(--terra-on-dark); }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form-error { font-size: 14px; line-height: 1.5; color: var(--terra-on-dark); }
.btn-submit {
  min-height: 56px; background: var(--terra); color: var(--black); border: 0; border-radius: 999px;
  font-family: var(--font-sans); font-size: 15px; font-weight: 600; cursor: pointer; transition: background .3s;
}
.btn-submit:hover { background: var(--terra-hover); }
.btn-submit[disabled] { opacity: .6; cursor: progress; }
.form-note { font-size: 13px; line-height: 1.5; color: var(--meta-dark); }
.form-done { min-height: 420px; display: flex; flex-direction: column; justify-content: center; gap: 16px; outline: none; }
.form-done .eyebrow { letter-spacing: .24em; }
.form-done__title { font-size: clamp(28px, 3vw, 42px); line-height: 1.05; font-weight: 500; letter-spacing: -.025em; }
.reset-link {
  align-self: flex-start; margin-top: 10px; padding: 0 0 4px;
  background: none; border: 0; border-bottom: 1px solid var(--rule-4); color: var(--text-dark-2);
  font-family: var(--font-mono); font-weight: 600; font-size: 11px; letter-spacing: .2em; text-transform: uppercase; cursor: pointer;
}
.reset-link:hover { color: var(--terra-on-dark); border-color: var(--terra-on-dark); }

/* ---------- Footer ---------- */
.site-footer {
  border-top: 1px solid var(--rule-1); padding: 32px var(--gutter);
  display: flex; flex-wrap: wrap; gap: 20px; justify-content: space-between; align-items: center;
  font-family: var(--font-mono); font-weight: 600; font-size: 10px; letter-spacing: .2em; text-transform: uppercase;
  color: var(--meta-dark); /* design #6E6A60, raised to 4.5:1 */
}
.site-footer nav { display: flex; flex-wrap: wrap; gap: 24px; }
.site-footer__mark { font-family: var(--font-sans); font-size: 16px; font-weight: 600; letter-spacing: .22em; color: var(--bone); }

/* ---------- Motion hooks (set by main.js only when GSAP runs) ---------- */
.motion [data-reveal] { visibility: hidden; opacity: 0; }

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .hero__img { height: 100%; }
}

/* ---------- Chinese ---------- */
:lang(zh) .hero__title, :lang(zh) .h2, :lang(zh) .h2-contact, :lang(zh) .statement, :lang(zh) .quote__text,
:lang(zh) .feature__title, :lang(zh) .card__title, :lang(zh) .service__name, :lang(zh) .form-done__title, :lang(zh) .pitch-title {
  letter-spacing: 0; line-height: 1.2;
}
:lang(zh) .hero__title { line-height: 1.12; }
:lang(zh) .eyebrow, :lang(zh) .meta-row, :lang(zh) .field, :lang(zh) .field-label, :lang(zh) .mono-label,
:lang(zh) .cred__label, :lang(zh) .person__role, :lang(zh) .text-link, :lang(zh) .hero__meta, :lang(zh) .site-nav,
:lang(zh) .btn-outline-sm, :lang(zh) .marquee--audience .marquee__group, :lang(zh) .site-footer, :lang(zh) .quote__org {
  letter-spacing: .12em;
}
.mobile-menu__top { gap: 16px; }
.mobile-menu__top .mono-label { margin-right: auto; }
.lang-link--menu { color: var(--bone); font-size: 15px; }
.site-footer__logo { display: block; width: auto; height: 40px; }
