/* Tokens: see DESIGN.md */
:root {
  --ink: #0B0F17;
  --ink-2: #121826;
  --ink-3: #1A2233;
  --line: #232B3B;
  --ivory: #F3EEE4;
  --ivory-2: #E8E1D2;
  --ivory-text: #EDE8DE;
  --muted: #8C93A3;
  --muted-dark: #565D6E;
  --brass: #C9A15B;
  --brass-soft: #E3C78F;
  --brass-deep: #8A6A2F;
  --serif: Georgia, "Iowan Old Style", "Times New Roman", serif;
  --sans: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --pad: 112px;
  --gutter: 48px;
  --max: 1200px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--ink);
  color: var(--ivory-text);
  font: 400 17px/1.65 var(--sans);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { margin: 0; font-weight: 400; }
h1, h2 { font-family: var(--serif); letter-spacing: -0.01em; line-height: 1.04; }
h1 { font-size: clamp(46px, 7vw, 100px); }
h2 { font-size: clamp(36px, 4.6vw, 64px); }
h1 em, h2 em { color: var(--brass); }
h3 { font: 600 20px/1.3 var(--sans); }
h4 { font: 600 13px/1.3 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--brass); }
p { margin: 0 0 16px; }
ul, ol { margin: 0; padding: 0; list-style: none; }
.lead { font-size: 20px; color: var(--muted); max-width: 54ch; }
.section--light .lead { color: var(--muted-dark); }
:focus-visible { outline: 2px solid var(--brass-soft); outline-offset: 3px; }
.section--light :focus-visible { outline-color: var(--brass-deep); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: fixed; left: 16px; top: -60px; z-index: 100; background: var(--brass); color: var(--ink); padding: 10px 16px; font-weight: 600; transition: top .2s; }
.skip:focus { top: 16px; }

.eyebrow { font: 600 12px/1 var(--sans); letter-spacing: .18em; text-transform: uppercase; color: var(--brass); margin-bottom: 24px; }
.section--light .eyebrow { color: var(--brass-deep); }

/* Sample tag: marks anything the client has not supplied yet */
.sample {
  display: inline-block; vertical-align: middle;
  font: 700 10px/1 var(--sans); letter-spacing: .14em; text-transform: uppercase;
  padding: 5px 8px; border: 1px dashed var(--brass); color: var(--brass-soft);
  background: rgba(201,161,91,.08); border-radius: 2px;
}
.section--light .sample { color: var(--brass-deep); border-color: var(--brass-deep); background: rgba(138,106,47,.08); }

/* Buttons */
.btn {
  display: inline-block; position: relative;
  padding: 16px 32px; border: 1px solid var(--brass); border-radius: 2px;
  background: var(--brass); color: var(--ink);
  font: 600 15px/1 var(--sans); cursor: pointer;
  transition: background .25s, color .25s, border-color .25s;
  will-change: transform;
}
.btn:hover { background: transparent; color: var(--brass); }
.btn--ghost { background: transparent; color: var(--ivory-text); border-color: var(--line); }
.btn--ghost:hover { border-color: var(--brass); }
.section--light .btn:hover { color: var(--brass-deep); border-color: var(--brass-deep); }
.btn-sm { padding: 12px 20px; font-size: 14px; }
.link-arrow { font-weight: 600; display: inline-flex; gap: 8px; align-items: center; }
.link-arrow span { display: inline-block; transition: transform .2s; color: var(--brass); }
.link-arrow:hover span { transform: translateX(4px); }

/* Nav */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between;
  padding: 24px var(--gutter); border-bottom: 1px solid transparent;
  transition: background .3s, padding .3s, border-color .3s;
}
.nav.scrolled { background: rgba(11,15,23,.98); padding-block: 14px; border-color: var(--line); }
.logo { display: inline-flex; align-items: center; gap: 12px; position: relative; z-index: 2; }
.logo-mark {
  display: grid; place-items: center; width: 36px; height: 36px;
  border: 1px solid var(--brass); font: 400 24px/1 var(--serif); color: var(--brass);
  transition: transform .6s cubic-bezier(.2,.8,.2,1), background .3s;
}
.logo:hover .logo-mark { transform: rotateY(180deg); background: rgba(201,161,91,.12); }
.logo-word { font: 700 19px/1 var(--sans); letter-spacing: .02em; }
.nav-links { display: flex; align-items: center; gap: 32px; font-size: 15px; font-weight: 500; }
.nav-links > a:not(.btn), .has-menu > a { position: relative; padding: 6px 0; }
.nav-links > a:not(.btn)::after, .has-menu > a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--brass);
  transform: scaleX(0); transform-origin: left; transition: transform .3s;
}
.nav-links > a:hover::after, .has-menu > a:hover::after, .nav-links a[aria-current="page"]::after { transform: scaleX(1); }
.nav-links a[aria-current="page"] { color: var(--brass-soft); }
.has-menu { position: relative; }
.menu {
  position: absolute; left: -24px; top: 100%; width: 300px; padding: 16px 0 8px;
  opacity: 0; visibility: hidden; transform: translateY(8px); transition: opacity .25s, transform .25s, visibility .25s;
}
.menu-inner { background: var(--ink-2); border: 1px solid var(--line); padding: 8px; display: grid; }
.menu a { padding: 11px 14px; font-size: 14.5px; color: var(--ivory-text); }
.menu a small { display: block; color: var(--muted); font-size: 12.5px; }
.menu a:hover { background: var(--ink-3); color: var(--brass-soft); }
.has-menu:hover .menu, .has-menu:focus-within .menu { opacity: 1; visibility: visible; transform: none; }
.nav-toggle { display: none; }

/* Page transition curtain (created in brand.js) */
.pt {
  position: fixed; inset: 0; z-index: 200; background: var(--ink-2);
  display: grid; place-items: center; pointer-events: none;
  clip-path: inset(0 0 0 0);
}
.pt span { font: 400 clamp(120px, 24vw, 280px)/1 var(--serif); color: var(--brass); opacity: .9; }
.pt.is-off { clip-path: inset(0 0 100% 0); visibility: hidden; }

/* Layout */
.section { padding: var(--pad) var(--gutter); position: relative; }
.section > .wrap, .wrap { max-width: var(--max); margin-inline: auto; position: relative; }
.section--light { background: var(--ivory); color: var(--ink); }
.section--panel { background: var(--ink-2); border-block: 1px solid var(--line); }
.section-head { margin-bottom: 72px; position: relative; max-width: 780px; }
.section-head p.eyebrow { font: 600 12px/1 var(--sans); color: var(--brass); margin: 0 0 24px; max-width: none; }
.section--light .section-head p.eyebrow { color: var(--brass-deep); }
.section-head p { color: var(--muted); font-size: 19px; margin-top: 24px; max-width: 56ch; }
.section--light .section-head p { color: var(--muted-dark); }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: start; }
.ghost {
  position: absolute; font: 400 clamp(220px, 34vw, 520px)/.8 var(--serif);
  color: transparent; -webkit-text-stroke: 1px rgba(201,161,91,.16);
  pointer-events: none; user-select: none; z-index: 0;
}
.section--light .ghost { -webkit-text-stroke-color: rgba(138,106,47,.2); }
.wrap > *:not(.ghost) { position: relative; z-index: 1; }

/* Page hero (inner pages): perspective floor + ghost epsilon */
.phero { position: relative; padding: 200px var(--gutter) 112px; overflow: hidden; isolation: isolate; }
.phero .wrap { z-index: 2; }
.phero h1 { max-width: 14ch; margin-bottom: 32px; }
.phero .lead { margin-bottom: 0; }
.phero .ghost { right: -2%; top: 0; bottom: 0; display: flex; align-items: center; font-size: clamp(300px, 46vw, 680px); z-index: 0; }
.floor {
  position: absolute; left: -20%; right: -20%; bottom: -2px; height: 55%; z-index: 0;
  perspective: 500px; perspective-origin: 50% 0; overflow: hidden;
  -webkit-mask-image: linear-gradient(to top, #000 10%, transparent 95%); mask-image: linear-gradient(to top, #000 10%, transparent 95%);
}
.floor::before {
  content: ""; position: absolute; inset: -50% 0 0 0; transform: rotateX(62deg); transform-origin: 50% 0;
  background:
    linear-gradient(to right, rgba(201,161,91,.22) 1px, transparent 1px) 0 0 / 72px 72px,
    linear-gradient(to bottom, rgba(201,161,91,.22) 1px, transparent 1px) 0 0 / 72px 72px;
}
.crumbs { font-size: 13px; color: var(--muted); margin-bottom: 32px; letter-spacing: .04em; }
.crumbs a:hover { color: var(--brass-soft); }
.crumbs i { font-style: normal; margin: 0 8px; color: var(--brass); }

/* Home hero */
.hero { position: relative; min-height: 100vh; min-height: 100svh; display: flex; align-items: center; padding: 0 var(--gutter); overflow: hidden; }
#hero-canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero .floor { height: 40%; opacity: .7; }
.hero-inner { position: relative; max-width: var(--max); width: 100%; margin: 0 auto; pointer-events: none; z-index: 2; padding-top: 40px; }
.hero-inner a { pointer-events: auto; }
.hero h1 { font-size: clamp(50px, 8vw, 116px); max-width: 11ch; margin-bottom: 32px; }
.hero-sub { max-width: 46ch; font-size: 19px; color: var(--muted); margin-bottom: 48px; }
.hero-cta { display: flex; align-items: center; gap: 32px; flex-wrap: wrap; }
.scroll-cue { position: absolute; left: 50%; bottom: 32px; width: 1px; height: 48px; background: var(--line); overflow: hidden; z-index: 3; }
.scroll-cue span { position: absolute; inset: 0; background: var(--brass); animation: cue 2.2s ease-in-out infinite; }
@keyframes cue { 0% { transform: translateY(-100%); } 100% { transform: translateY(100%); } }
.w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .12em; margin-bottom: -.12em; }
.w-i { display: inline-block; will-change: transform; }

/* Stats */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); }
.stat { padding: 40px 32px 8px 0; border-right: 1px solid var(--line); padding-left: 32px; }
.stat:first-child { padding-left: 0; }
.stat:last-child { border-right: 0; }
.stat b { display: block; font: 400 clamp(56px, 6.5vw, 96px)/1 var(--serif); color: var(--ivory-text); font-variant-numeric: tabular-nums; }
.stat b sup { font-size: .4em; color: var(--brass); vertical-align: top; position: relative; top: .35em; margin-left: 4px; }
.stat > span { display: block; color: var(--muted); font-size: 15px; margin-top: 12px; max-width: 24ch; }
.stats-note { margin-top: 32px; font-size: 13px; color: var(--muted); display: flex; gap: 12px; align-items: center; }

/* Marquee */
.marquee { border-block: 1px solid var(--line); overflow: hidden; padding: 28px 0; }
.marquee + .marquee { border-top: 0; }
.marquee-track { display: flex; gap: 40px; width: max-content; font: 400 clamp(28px, 3.4vw, 44px)/1 var(--serif); color: var(--muted); animation: tick 55s linear infinite; }
.marquee--rev .marquee-track { animation-direction: reverse; color: var(--ivory-text); animation-duration: 70s; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-track i { font-style: normal; color: var(--brass); font-size: 14px; align-self: center; }
@keyframes tick { to { transform: translateX(-50%); } }

/* Cards (3D tilt) */
.tilt-scene { perspective: 1000px; }
.card {
  position: relative; border: 1px solid var(--line); background: var(--ink-2); padding: 40px 32px;
  transform-style: preserve-3d; will-change: transform; overflow: hidden;
  transition: border-color .3s;
}
.card::before {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: 0; transition: opacity .3s;
  background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 50%), rgba(227,199,143,.14), transparent 60%);
}
.card:hover { border-color: rgba(201,161,91,.55); }
.card:hover::before { opacity: 1; }
.card > * { transform: translateZ(0); }
.card .z { transform: translateZ(36px); }
.card-num { font: 400 40px/1 var(--serif); color: var(--brass); display: block; margin-bottom: 40px; }
.card h3 { margin-bottom: 12px; }
.card p { color: var(--muted); margin-bottom: 0; }
.section--light .card { background: #FAF7F0; border-color: rgba(11,15,23,.12); }
.section--light .card p { color: var(--muted-dark); }
.section--light .card:hover { border-color: var(--brass-deep); }
.section--light .card::before { background: radial-gradient(420px circle at var(--mx,50%) var(--my,50%), rgba(201,161,91,.2), transparent 60%); }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }

.svc-row { display: grid; grid-template-columns: auto 1.2fr 1fr; gap: 48px; align-items: center; margin-bottom: 24px; }
.svc-row h3 { font: 400 38px/1.1 var(--serif); margin-bottom: 12px; }

/* Pinned horizontal services */
.hs { overflow: hidden; background: var(--ink); }
.hs-pin { padding: 120px 0 56px; min-height: 100vh; display: flex; flex-direction: column; justify-content: center; }
.hs-head { padding: 0 var(--gutter); max-width: calc(var(--max) + var(--gutter) * 2); margin: 0 auto 48px; width: 100%; display: flex; justify-content: space-between; align-items: end; gap: 32px; }
.hs-head h2 { max-width: 14ch; }
.hs-track { display: flex; gap: 32px; padding: 0 max(var(--gutter), calc((100vw - var(--max)) / 2)); width: max-content; will-change: transform; }
.hs-panel { width: min(560px, 74vw); flex: none; display: flex; flex-direction: column; min-height: 440px; padding: 40px; }
.hs-panel .icon { width: 56px; height: 56px; color: var(--brass); margin-bottom: 40px; }
.hs-panel h3 { font: 400 38px/1.1 var(--serif); margin-bottom: 16px; }
.hs-panel ul { margin: 24px 0 32px; border-top: 1px solid var(--line); }
.hs-panel li { padding: 10px 0; border-bottom: 1px solid var(--line); font-size: 15px; color: var(--ivory-text); display: flex; gap: 12px; }
.hs-panel li::before { content: "✦"; color: var(--brass); font-size: 10px; margin-top: 7px; }
.hs-panel .link-arrow { margin-top: auto; }
.hs-bar { height: 2px; background: var(--line); margin: 48px max(var(--gutter), calc((100vw - var(--max)) / 2)) 0; position: relative; }
.hs-bar i { position: absolute; inset: 0; background: var(--brass); transform: scaleX(0); transform-origin: left; }

/* Steps / process preview */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid rgba(11,15,23,.18); }
.step { padding: 40px 32px 0 0; }
.step + .step { padding-left: 32px; border-left: 1px solid rgba(11,15,23,.12); }
.step-glyph { display: block; font: 400 88px/1 var(--serif); color: var(--brass-deep); margin-bottom: 24px; }
.step p { color: var(--muted-dark); }

/* Timeline (approach page) */
.tl { position: relative; max-width: 960px; margin: 0 auto; padding-left: 120px; }
.tl-line { position: absolute; left: 44px; top: 0; bottom: 0; width: 2px; background: var(--line); }
.tl-line i { position: absolute; inset: 0; background: linear-gradient(var(--brass-soft), var(--brass)); transform: scaleY(0); transform-origin: top; }
.tl-item { position: relative; padding-bottom: 96px; }
.tl-item:last-child { padding-bottom: 0; }
.tl-glyph {
  position: absolute; left: -120px; top: -6px; width: 90px; height: 90px; display: grid; place-items: center;
  background: var(--ink); border: 1px solid var(--line); border-radius: 50%; font: 400 48px/1 var(--serif); color: var(--muted);
  transition: color .4s, border-color .4s, box-shadow .4s, background .4s;
}
.tl-item.on .tl-glyph { color: var(--brass); border-color: var(--brass); box-shadow: 0 0 40px rgba(201,161,91,.25); background: var(--ink-2); }
.tl-meta { font-size: 13px; letter-spacing: .14em; text-transform: uppercase; color: var(--brass); margin-bottom: 12px; font-weight: 600; }
.tl-item h3 { font: 400 48px/1.05 var(--serif); margin-bottom: 20px; }
.tl-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; margin-top: 32px; }
.tl-cols h4 { margin-bottom: 12px; }
.tl-cols li { padding: 8px 0; border-bottom: 1px solid var(--line); color: var(--ivory-text); font-size: 15.5px; }
.tl-item > p { color: var(--muted); max-width: 60ch; }

/* Lists */
.ticks li { padding: 12px 0 12px 28px; position: relative; border-bottom: 1px solid rgba(139,147,163,.25); }
.ticks li::before { content: "✦"; position: absolute; left: 0; top: 17px; font-size: 11px; color: var(--brass); }
.section--light .ticks li { border-color: rgba(11,15,23,.14); }
.values { display: grid; gap: 0; border-top: 1px solid var(--line); }
.values li { padding: 20px 0; border-bottom: 1px solid var(--line); display: grid; grid-template-columns: 140px 1fr; gap: 24px; color: var(--muted); }
.values strong { color: var(--ivory-text); font-weight: 600; }
.section--light .values, .section--light .values li { border-color: rgba(11,15,23,.14); }
.section--light .values strong { color: var(--ink); }

/* Quotes / logos / team / cases */
.quote { margin: 0; display: flex; flex-direction: column; gap: 24px; }
.quote blockquote { margin: 0; font: 400 26px/1.3 var(--serif); color: var(--ivory-text); }
.quote cite { font-style: normal; font-size: 14px; color: var(--muted); display: flex; gap: 12px; align-items: center; flex-wrap: wrap; margin-top: auto; }
.logos { display: grid; grid-template-columns: repeat(6, 1fr); border: 1px solid var(--line); }
.logo-cell { padding: 32px 16px; display: grid; place-items: center; gap: 12px; text-align: center; border-right: 1px solid var(--line); color: var(--muted); font-size: 13px; transition: color .3s, background .3s; }
.logo-cell:last-child { border-right: 0; }
.logo-cell svg { width: 36px; height: 36px; }
.logo-cell span { font: 400 17px/1.2 var(--serif); color: var(--ivory-text); }
.logo-cell small { display: block; margin-top: 4px; font: 500 11px/1.3 var(--sans); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.logo-cell:hover { color: var(--brass-soft); background: var(--ink-2); }
.person { text-align: left; }
.avatar { aspect-ratio: 4 / 5; background: linear-gradient(160deg, var(--ink-3), var(--ink-2)); border: 1px solid var(--line); display: grid; place-items: center; font: 400 120px/1 var(--serif); color: var(--brass); margin-bottom: 20px; position: relative; overflow: hidden; transform: translateZ(30px); }
.avatar::after { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 30% 20%, rgba(227,199,143,.14), transparent 55%); }
.person h3 { margin-bottom: 4px; display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.person p { color: var(--muted); font-size: 15px; margin: 0; }
.person .role { color: var(--brass); font-size: 13px; letter-spacing: .1em; text-transform: uppercase; font-weight: 600; margin-bottom: 8px; }
.case { display: grid; grid-template-columns: 5fr 7fr; gap: 0; border: 1px solid var(--line); background: var(--ink-2); margin-bottom: 32px; }
.case-side { padding: 48px; border-right: 1px solid var(--line); display: flex; flex-direction: column; gap: 20px; background: linear-gradient(180deg, var(--ink-3), var(--ink-2)); }
.case-side .tag { font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--brass); font-weight: 600; }
.case-side h3 { font: 400 38px/1.08 var(--serif); }
.case-side .big { font: 400 72px/1 var(--serif); color: var(--brass-soft); margin-top: auto; }
.case-side .big small { display: block; font: 500 14px/1.4 var(--sans); color: var(--muted); margin-top: 8px; }
.case-body { padding: 48px; display: grid; gap: 28px; }
.case-body h4 { margin-bottom: 8px; }
.case-body p { margin: 0; color: var(--muted); }
.case-body ul li { padding: 8px 0 8px 24px; position: relative; color: var(--ivory-text); border-bottom: 1px solid var(--line); font-size: 15.5px; }
.case-body ul li::before { content: "→"; position: absolute; left: 0; color: var(--brass); }
.article-card { display: flex; flex-direction: column; min-height: 320px; }
.article-card .meta { font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--brass); font-weight: 600; margin-bottom: 24px; display: flex; justify-content: space-between; gap: 12px; }
.article-card h3 { font: 400 32px/1.12 var(--serif); margin-bottom: 16px; }
.article-card .link-arrow { margin-top: auto; padding-top: 24px; }
.prose { max-width: 720px; margin: 0 auto; }
.prose h2 { font-size: clamp(30px, 3.4vw, 42px); margin: 56px 0 20px; }
.prose p, .prose li { color: var(--ivory-text); font-size: 18px; }
.prose ul { margin: 0 0 24px; }
.prose li { padding: 6px 0 6px 24px; position: relative; }
.prose li::before { content: "✦"; position: absolute; left: 0; color: var(--brass); font-size: 11px; top: 13px; }
.stub-note { border: 1px dashed var(--brass); padding: 20px 24px; margin-top: 56px; color: var(--muted); font-size: 15px; display: flex; gap: 16px; align-items: center; }

/* FAQ */
.faq-group { margin-bottom: 72px; }
.faq-group > h3 { font: 400 36px/1.1 var(--serif); color: var(--brass-soft); margin-bottom: 24px; }
details { border-bottom: 1px solid var(--line); }
details:first-of-type { border-top: 1px solid var(--line); }
summary { list-style: none; cursor: pointer; padding: 24px 56px 24px 0; font: 600 18px/1.4 var(--sans); position: relative; }
summary::-webkit-details-marker { display: none; }
summary::after, summary::before { content: ""; position: absolute; right: 8px; top: 50%; width: 16px; height: 1.5px; background: var(--brass); transition: transform .3s; }
summary::before { transform: rotate(90deg); }
details[open] summary::before { transform: rotate(0); }
summary:hover { color: var(--brass-soft); }
details .ans { padding: 0 56px 28px 0; color: var(--muted); max-width: 70ch; }
details .ans p:last-child { margin: 0; }

/* CTA band */
.cta { text-align: center; overflow: hidden; }
.cta h2 { max-width: 16ch; margin: 0 auto 32px; }
.cta p { color: var(--muted); max-width: 48ch; margin: 0 auto 40px; font-size: 19px; }
.cta .ghost { inset: 0; display: flex; align-items: center; justify-content: center; font-size: clamp(320px, 50vw, 760px); }

/* Contact */
.contact-grid { display: grid; grid-template-columns: 5fr 6fr; gap: 96px; align-items: start; }
.contact-list { margin-top: 40px; border-top: 1px solid var(--line); }
.contact-list li { padding: 18px 0; border-bottom: 1px solid var(--line); display: grid; grid-template-columns: 120px 1fr; gap: 16px; color: var(--ivory-text); }
.contact-list li span { color: var(--muted); font-size: 13px; letter-spacing: .12em; text-transform: uppercase; padding-top: 3px; }
.form { display: grid; gap: 24px; padding: 48px; border: 1px solid var(--line); background: var(--ink-2); }
.field label { display: block; font-size: 13px; font-weight: 600; letter-spacing: .06em; margin-bottom: 8px; }
.field label span { color: var(--muted); font-weight: 400; }
.field input, .field textarea, .field select {
  width: 100%; padding: 14px 16px; background: var(--ink); color: var(--ivory-text);
  border: 1px solid var(--line); border-radius: 2px; font: 400 16px/1.4 var(--sans);
  transition: border-color .2s;
}
.field input:focus, .field textarea:focus, .field select:focus { border-color: var(--brass); outline: none; box-shadow: 0 0 0 3px rgba(201,161,91,.18); }
.hp { position: absolute; left: -9999px; }
.form-status { margin: 0; min-height: 1.5em; color: var(--brass-soft); font-size: 15px; }

/* Footer */
.footer { border-top: 1px solid var(--line); padding: 96px var(--gutter) 32px; background: var(--ink); position: relative; overflow: hidden; }
.footer-grid { max-width: var(--max); margin: 0 auto; display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 48px; }
.footer p { color: var(--muted); font-size: 15px; max-width: 34ch; margin-top: 20px; }
.footer h4 { margin-bottom: 20px; }
.footer li a { display: inline-block; padding: 5px 0; color: var(--ivory-text); font-size: 15px; transition: color .2s, transform .2s; }
.footer li a:hover { color: var(--brass-soft); transform: translateX(4px); }
.footer-base { max-width: var(--max); margin: 72px auto 0; padding-top: 24px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: 14px; color: var(--muted); }
.footer-base p { margin: 0; max-width: none; }

/* Motion: hidden start states only when JS + motion allowed (class set in <head>) */
.motion [data-hero], .motion [data-reveal] { opacity: 0; transform: translateY(36px); }
.motion .w-i { transform: translateY(115%); }
.motion .hero .floor { opacity: 0; }

/* Responsive */
@media (max-width: 1100px) {
  .logos { grid-template-columns: repeat(3, 1fr); }
  .logo-cell:nth-child(3) { border-right: 0; }
  .logo-cell:nth-child(n+4) { border-top: 1px solid var(--line); }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 900px) {
  :root { --pad: 72px; --gutter: 24px; }
  body { font-size: 16px; }
  .nav { padding: 18px var(--gutter); }
  .nav-toggle { display: grid; gap: 7px; position: relative; z-index: 2; width: 44px; height: 44px; place-content: center; background: none; border: 0; cursor: pointer; }
  .nav-toggle span { display: block; width: 26px; height: 1.5px; background: var(--ivory-text); transition: transform .3s; }
  .nav.open .nav-toggle span:first-child { transform: translateY(4.25px) rotate(45deg); }
  .nav.open .nav-toggle span:last-child { transform: translateY(-4.25px) rotate(-45deg); }
  .nav-links {
    position: fixed; inset: 0; background: var(--ink); flex-direction: column; align-items: flex-start; justify-content: center;
    gap: 6px; padding: 96px var(--gutter) 32px; overflow-y: auto; opacity: 0; visibility: hidden; transition: opacity .3s, visibility .3s; font-size: 32px;
    font-family: var(--serif);
  }
  .nav.open .nav-links { opacity: 1; visibility: visible; }
  .nav-links .btn { font: 600 15px/1 var(--sans); margin-top: 16px; }
  .has-menu .menu { position: static; opacity: 1; visibility: visible; transform: none; width: auto; padding: 0 0 8px 0; }
  .menu-inner { background: none; border: 0; padding: 0; }
  .menu a { font: 500 16px/1.3 var(--sans); padding: 5px 0 5px 16px; color: var(--muted); }
  .menu a small { display: none; }
  .nav-links > a:not(.btn)::after, .has-menu > a::after { display: none; }
  .section-head { margin-bottom: 48px; }
  .split, .contact-grid, .case { grid-template-columns: 1fr; gap: 40px; }
  .case { gap: 0; }
  .case-side { border-right: 0; border-bottom: 1px solid var(--line); padding: 32px 24px; }
  .case-body { padding: 32px 24px; }
  .grid-3, .grid-2 { grid-template-columns: 1fr; }
  .svc-row { grid-template-columns: 1fr; gap: 24px; }
  .stats { grid-template-columns: 1fr 1fr; }
  .stat { padding: 32px 16px 8px 0; border-bottom: 1px solid var(--line); }
  .stat:nth-child(2n) { border-right: 0; padding-left: 24px; }
  .stat:nth-child(odd) { padding-left: 0; }
  .steps { grid-template-columns: 1fr 1fr; }
  .step, .step + .step { padding: 32px 16px 24px 0; border-left: 0; border-bottom: 1px solid rgba(11,15,23,.12); }
  .step:nth-child(2n) { padding-left: 24px; border-left: 1px solid rgba(11,15,23,.12); }
  .step-glyph { font-size: 64px; }
  .tl { padding-left: 64px; }
  .tl-line { left: 22px; }
  .tl-glyph { left: -64px; width: 46px; height: 46px; font-size: 26px; top: 0; }
  .tl-item { padding-bottom: 64px; }
  .tl-item h3 { font-size: 34px; }
  .tl-cols { grid-template-columns: 1fr; }
  .values li { grid-template-columns: 1fr; gap: 4px; }
  .phero { padding: 140px var(--gutter) 72px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid > :first-child { grid-column: 1 / -1; }
  .form { padding: 28px 20px; }
  .contact-list li { grid-template-columns: 1fr; gap: 2px; }
  .hs-pin { min-height: 0; padding: 72px 0 40px; }
  .hs-track { overflow-x: auto; scroll-snap-type: x mandatory; width: auto; padding-bottom: 16px; scrollbar-width: none; gap: 16px; }
  .hs-track::-webkit-scrollbar { display: none; }
  .hs-panel { scroll-snap-align: center; width: 84vw; padding: 28px 24px; min-height: 0; }
  .hs-panel h3 { font-size: 32px; }
  .hs-bar { display: none; }
  .hs-head { flex-direction: column; align-items: start; gap: 16px; margin-bottom: 32px; }
  .article-card { min-height: 0; }
  .logos { grid-template-columns: repeat(2, 1fr); }
  .logo-cell { border-right: 1px solid var(--line); border-top: 0 !important; border-bottom: 1px solid var(--line); padding: 24px 12px; }
  .logo-cell:nth-child(2n) { border-right: 0; }
  .hero h1 { font-size: clamp(44px, 12.5vw, 64px); }
  .hero-inner { padding-top: 220px; align-self: flex-end; padding-bottom: 96px; }
  .hero { align-items: flex-end; }
  .hero-sub { font-size: 17px; margin-bottom: 32px; }
  .scroll-cue { display: none; }
  .quote blockquote { font-size: 23px; }
  .cta .ghost { font-size: 110vw; }
  .tilt-scene { perspective: none; }
}
@media (max-width: 480px) {
  .grid-4 { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .stat b { font-size: 52px; }
  .stat { padding-right: 8px; }
}

/* Reduced motion: nothing animates, everything visible */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .marquee-track { animation: none !important; }
}
