/* ═══════════════════════════════════════════════════════════════════════════
   NEURO-INSIGHT — visual system
   Type: Newsreader (display serif) · Helvetica Neue (sans/UI) · IBM Plex Mono (instrument)
   Palette: near-black ink, barely-warm paper, one strategic accent
   Rhythm: sectional light/dark — confidence through contrast
   ═══════════════════════════════════════════════════════════════════════════ */

:root {
  /* base palette — pushed toward black/white, faint warmth only */
  --ink:        #0C0B0A;
  --ink-2:      #16140F;   /* slightly lifted dark surface */
  --paper:      #FAF8F4;
  --paper-2:    #F1EEE6;   /* faint panel on light */
  --line-dark:  rgba(250,248,244,0.14);
  --line-light: rgba(12,11,10,0.13);

  /* ink-on-light text ramp */
  --t1: #14130F;           /* primary */
  --t2: #4A4842;           /* secondary */
  --t3: #807D74;           /* tertiary / labels */

  /* paper-on-dark text ramp */
  --d1: #F6F3EC;
  --d2: rgba(246,243,236,0.72);
  --d3: rgba(246,243,236,0.46);

  /* accent (the open decision — default amber, overridden by [data-accent]) */
  --accent:      #C2842B;
  --accent-soft: #D8A152;
  --accent-ink:  #8A5B12;  /* accent that stays legible on paper */
  --trace:       #C2842B;  /* trace color on dark hero */

  /* fonts (swappable via [data-serif]) */
  --serif: "Newsreader", Georgia, "Times New Roman", serif;
  --sans:  "Helvetica Neue", Helvetica, Arial, sans-serif;
  --mono:  "IBM Plex Mono", ui-monospace, Menlo, monospace;

  --maxw: 1240px;
  --gut: clamp(20px, 5vw, 88px);
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

/* accent variants — chroma/lightness held roughly constant, hue varies */
[data-accent="amber"] { --accent:#C2842B; --accent-soft:#D8A152; --accent-ink:#8A5B12; --trace:#C2842B; }
[data-accent="blue"]  { --accent:#3B6BF2; --accent-soft:#6E92FF; --accent-ink:#2348C0; --trace:#5B82FF; }
[data-accent="teal"]  { --accent:#0E9E7C; --accent-soft:#3FBE9E; --accent-ink:#0A7359; --trace:#23B391; }
[data-accent="mono"]  { --accent:#5F5C54; --accent-soft:#8C887E; --accent-ink:#34322C; --trace:#B7B2A6; }

[data-serif="newsreader"] { --serif:"Newsreader", Georgia, serif; }
[data-serif="spectral"]   { --serif:"Spectral", Georgia, serif; }
[data-serif="source"]     { --serif:"Source Serif 4", Georgia, serif; }

* , *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: var(--sans);
  background: var(--paper);
  color: var(--t1);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

::selection { background: var(--accent); color: var(--paper); }

/* ── shared primitives ──────────────────────────────────────────────────── */
.wrap { max-width: var(--maxw); margin: 0 auto; padding-inline: var(--gut); }
.section { padding-block: clamp(80px, 11vw, 168px); position: relative; }

.eyebrow {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 12px;
}
.eyebrow .idx { color: var(--accent); }
.eyebrow .sep { width: 28px; height: 1px; background: currentColor; opacity: 0.35; display: inline-block; }

.serif { font-family: var(--serif); font-weight: 400; letter-spacing: -0.01em; }
.it { font-style: italic; }
.accent-text { color: var(--accent-ink); }

h1, h2, h3 { font-weight: 400; letter-spacing: -0.018em; text-wrap: balance; }

.display {
  font-family: var(--serif);
  font-size: clamp(38px, 6.2vw, 88px);
  line-height: 1.02;
  font-weight: 400;
}
.h-sec {
  font-family: var(--serif);
  font-size: clamp(30px, 4.4vw, 60px);
  line-height: 1.06;
}
.lede {
  font-size: clamp(18px, 1.5vw, 23px);
  line-height: 1.6;
  color: var(--t2);
  max-width: 40ch;
}
.lede-d { color: var(--d2); }

/* dark section base */
.dark { background: var(--ink); color: var(--d1); }
.dark .eyebrow { color: var(--d3); }
.dark .lede { color: var(--d2); }
.dark .rule { background: var(--line-dark); }

.rule { height: 1px; background: var(--line-light); width: 100%; }

/* ── NAV ─────────────────────────────────────────────────────────────────── */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px var(--gut);
  transition: background 0.4s var(--ease), border-color 0.4s var(--ease), padding 0.4s var(--ease);
  border-bottom: 1px solid transparent;
}
.nav.scrolled {
  background: color-mix(in srgb, var(--paper) 82%, transparent);
  -webkit-backdrop-filter: blur(18px) saturate(150%);
  backdrop-filter: blur(18px) saturate(150%);
  border-bottom: 1px solid var(--line-light);
  padding-block: 13px;
}
/* nav sits over the dark hero at top: invert until scrolled */
.nav:not(.scrolled) { color: var(--d1); }
.nav:not(.scrolled) .nav-link { color: var(--d2); }
.nav:not(.scrolled) .wordmark { color: var(--d1); }
.nav:not(.scrolled) .nav-cta { color: var(--ink); background: var(--paper); }
.nav.scrolled { color: var(--t1); }
.nav.scrolled .nav-link { color: var(--t2); }
.nav.scrolled .wordmark { color: var(--t1); }
.nav.scrolled .nav-toggle span { background: var(--ink) !important; }

.wordmark {
  font-family: var(--sans); font-weight: 700; font-size: 15px;
  letter-spacing: 0.16em; text-decoration: none;
  display: flex; align-items: center; gap: 9px;
}
.wordmark .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); display: inline-block; }
.nav-links { display: flex; align-items: center; gap: clamp(14px, 2vw, 30px); }
.nav-link {
  font-size: 13.5px; text-decoration: none; font-weight: 500;
  letter-spacing: 0.005em; position: relative; transition: color 0.2s;
  white-space: nowrap;
}
.nav-link::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -5px; height: 1px;
  background: var(--accent); transform: scaleX(0); transform-origin: left;
  transition: transform 0.3s var(--ease);
}
.nav-link:hover { color: var(--accent) !important; }
.nav-link:hover::after { transform: scaleX(1); }
.nav-link.star { color: var(--accent) !important; }
.nav-cta {
  font-size: 13px; font-weight: 600; text-decoration: none;
  padding: 8px 16px; border-radius: 100px; letter-spacing: 0.01em;
  border: 1px solid var(--accent); color: var(--accent);
  transition: all 0.25s var(--ease);
}
.nav.scrolled .nav-cta { color: var(--ink); background: var(--accent); border-color: var(--accent); }
.nav-cta:hover { background: var(--accent); color: var(--ink); }
.nav-toggle { display: none; }

/* ── HERO (dark) ───────────────────────────────────────────────────────────── */
.hero {
  position: relative; min-height: 100svh; display: flex; flex-direction: column;
  justify-content: center; background: var(--ink); color: var(--d1);
  overflow: hidden; padding-top: 96px;
}
.hero-trace {
  position: absolute; inset: 0; width: 100%; height: 100%;
  z-index: 0; display: block;
}
.hero-veil {
  position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background:
    radial-gradient(120% 80% at 18% 42%, rgba(12,11,10,0.0) 0%, rgba(12,11,10,0.55) 64%, rgba(12,11,10,0.86) 100%);
}
.hero .wrap { position: relative; z-index: 2; width: 100%; }
.hero-eyebrow { color: var(--d3); margin-bottom: clamp(22px, 4vh, 40px); }
.hero h1 {
  font-family: var(--serif);
  font-size: clamp(32px, 4.55vw, 65px);
  line-height: 1.07; font-weight: 400; letter-spacing: -0.02em;
  max-width: 20ch;
}
.hero h1 .it { color: var(--accent-soft); }
.hero-sub {
  margin-top: clamp(24px, 4vh, 40px);
  font-family: var(--mono); font-size: 13px; letter-spacing: 0.16em;
  text-transform: uppercase; color: var(--d2);
}
.hero-cta { display: flex; gap: 14px; margin-top: clamp(34px, 5vh, 52px); flex-wrap: wrap; }
.btn {
  font-family: var(--sans); font-size: 14.5px; font-weight: 600;
  text-decoration: none; padding: 13px 24px; border-radius: 100px;
  display: inline-flex; align-items: center; gap: 9px; cursor: pointer;
  transition: all 0.25s var(--ease); border: 1px solid transparent; letter-spacing: 0.005em;
  white-space: nowrap;
}
.btn .arr { transition: transform 0.25s var(--ease); }
.btn:hover .arr { transform: translateX(4px); }
.btn-primary { background: var(--paper); color: var(--ink); }
.btn-primary:hover { background: var(--accent); color: var(--ink); }
.btn-ghost { border-color: var(--line-dark); color: var(--d1); }
.btn-ghost:hover { border-color: var(--accent-soft); color: var(--accent-soft); }
.btn-ghost-light { border-color: var(--line-light); color: var(--t1); }
.btn-ghost-light:hover { border-color: var(--accent); color: var(--accent-ink); }

.hero-scroll {
  position: absolute; bottom: 26px; left: 50%; transform: translateX(-50%);
  z-index: 2; font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.2em;
  text-transform: uppercase; color: var(--d3); display: flex; flex-direction: column;
  align-items: center; gap: 8px;
}
.hero-scroll .ln { width: 1px; height: 30px; background: linear-gradient(var(--d3), transparent); animation: scrolldrop 2.4s var(--ease) infinite; }
@keyframes scrolldrop { 0%{transform:scaleY(0);transform-origin:top;} 45%{transform:scaleY(1);transform-origin:top;} 55%{transform:scaleY(1);transform-origin:bottom;} 100%{transform:scaleY(0);transform-origin:bottom;} }

/* ── SCIENCE (light) ─────────────────────────────────────────────────────── */
.sci-grid { display: grid; grid-template-columns: 1fr; gap: clamp(40px, 6vw, 80px); }
.two-col { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(36px, 6vw, 90px); align-items: start; }
.col-label { position: sticky; top: 110px; }
.sci-head { font-family: var(--serif); font-size: clamp(26px, 3.4vw, 46px); line-height: 1.1; max-width: 16ch; }
.body-copy { font-size: clamp(16px, 1.15vw, 18px); line-height: 1.72; color: var(--t2); max-width: 56ch; }
.body-copy + .body-copy { margin-top: 1.1em; }
.body-copy strong { color: var(--t1); font-weight: 600; }

.pull {
  font-family: var(--serif); font-size: clamp(26px, 3.4vw, 44px); line-height: 1.16;
  letter-spacing: -0.015em; max-width: 22ch; margin-block: clamp(40px, 6vw, 72px);
}
.pull .hl { color: var(--accent-ink); }
.dark .pull .hl { color: var(--accent-soft); }

/* spec strip */
.specs { display: flex; flex-wrap: wrap; gap: 0; border-top: 1px solid var(--line-light); border-bottom: 1px solid var(--line-light); }
.dark .specs { border-color: var(--line-dark); }
.spec {
  flex: 1 1 160px; padding: 22px 24px 22px 0; border-right: 1px solid var(--line-light);
}
.dark .spec { border-color: var(--line-dark); }
.spec:last-child { border-right: none; }
.spec .v { font-family: var(--serif); font-size: clamp(24px, 2.6vw, 34px); line-height: 1; }
.spec .k { font-family: var(--mono); font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--t3); margin-top: 10px; }
.dark .spec .k { color: var(--d3); }

/* inline single-channel readout */
.readout { position: relative; height: 150px; border: 1px solid var(--line-light); border-radius: 10px; overflow: hidden; background: #fff; }
.dark .readout { border-color: var(--line-dark); background: var(--ink-2); }
.readout canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.readout .tag { position: absolute; top: 12px; left: 14px; font-family: var(--mono); font-size: 10px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--t3); z-index: 2; }
.dark .readout .tag { color: var(--d3); }

/* ── PROOF (light) ────────────────────────────────────────────────────────── */
.proofbar { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; margin-top: clamp(36px, 5vw, 56px); }
.pf { padding: 8px 0; }
.pf .v { font-family: var(--serif); font-size: clamp(38px, 5vw, 72px); line-height: 0.94; letter-spacing: -0.03em; font-variant-numeric: tabular-nums; }
.pf .v .u { font-size: 0.42em; vertical-align: baseline; color: var(--accent-ink); letter-spacing: 0; }
.pf .k { font-family: var(--mono); font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--t3); margin-top: 14px; max-width: 22ch; line-height: 1.5; }

/* correlation table */
.corr { margin-top: clamp(40px, 6vw, 64px); }
.corr-row { display: grid; grid-template-columns: minmax(140px, 1fr) 3fr auto; gap: 20px; align-items: center; padding: 15px 0; border-top: 1px solid var(--line-light); }
.corr-row:last-child { border-bottom: 1px solid var(--line-light); }
.corr-name { font-size: 15px; font-weight: 500; }
.corr-name .m { display: block; font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--t3); margin-top: 3px; }
.corr-track { height: 10px; background: var(--paper-2); border-radius: 100px; overflow: hidden; }
.corr-fill { height: 100%; width: 0; background: var(--t3); border-radius: 100px; transition: width 1.1s var(--ease); }
.corr-val { font-family: var(--serif); font-size: 22px; min-width: 56px; text-align: right; font-variant-numeric: tabular-nums; color: var(--t2); }
.corr-row.hero-row .corr-name { font-weight: 700; }
.corr-row.hero-row .corr-fill { background: var(--accent); }
.corr-row.hero-row .corr-val { color: var(--accent-ink); font-size: 28px; }
.corr-cap { font-family: var(--mono); font-size: 11px; color: var(--t3); margin-top: 16px; letter-spacing: 0.04em; }

/* client wall */
.clients { margin-top: clamp(56px, 8vw, 100px); }
.client-group + .client-group { margin-top: 34px; }
.client-group .gl { font-family: var(--mono); font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--t3); margin-bottom: 18px; }
.client-list { display: flex; flex-wrap: wrap; gap: 8px 0; }
.client-list span {
  font-size: clamp(15px, 1.5vw, 19px); font-weight: 500; color: var(--t2);
  letter-spacing: -0.005em; padding-right: 22px; margin-right: 22px;
  border-right: 1px solid var(--line-light); line-height: 1.5; white-space: nowrap;
  transition: color 0.2s;
}
.client-list span:last-child { border-right: none; }
.client-list span:hover { color: var(--t1); }

/* testimonial */
.quote { margin-top: clamp(60px, 9vw, 112px); max-width: 30ch; }
.quote blockquote { font-family: var(--serif); font-size: clamp(26px, 3.6vw, 44px); line-height: 1.18; letter-spacing: -0.015em; }
.quote .mark { color: var(--accent-ink); }
.quote cite { display: block; font-style: normal; margin-top: 26px; font-family: var(--mono); font-size: 12px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--t3); }

/* ── DOORS (light) ───────────────────────────────────────────────────────── */
.doors-lead { display: grid; grid-template-columns: minmax(0,1.2fr) minmax(0,1fr); align-items: end; column-gap: 56px; row-gap: 22px; margin-bottom: clamp(36px, 5vw, 56px); }
.door-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; background: var(--line-light); border: 1px solid var(--line-light); }
.door {
  background: var(--paper); padding: clamp(28px, 3vw, 44px); position: relative;
  display: flex; flex-direction: column; min-height: 280px; text-decoration: none; color: inherit;
  transition: background 0.35s var(--ease); overflow: hidden;
}
.door:hover { background: var(--paper-2); }
.door .dnum { font-family: var(--mono); font-size: 11px; color: var(--t3); letter-spacing: 0.1em; }
.door h3 { font-family: var(--serif); font-size: clamp(24px, 2.6vw, 34px); margin-top: 14px; }
.door .applies { font-family: var(--mono); font-size: 11.5px; color: var(--accent-ink); margin-top: 12px; letter-spacing: 0.04em; }
.door p { font-size: 15px; line-height: 1.6; color: var(--t2); margin-top: 16px; max-width: 40ch; flex: 1; }
.door .go { margin-top: 22px; font-size: 13.5px; font-weight: 600; display: inline-flex; align-items: center; gap: 8px; color: var(--t1); }
.door .go .arr { transition: transform 0.25s var(--ease); color: var(--accent); }
.door:hover .go .arr { transform: translateX(5px); }
.door.frontier { background: var(--ink); color: var(--d1); }
.door.frontier:hover { background: var(--ink-2); }
.door.frontier .dnum { color: var(--d3); }
.door.frontier p { color: var(--d2); }
.door.frontier .applies { color: var(--accent-soft); }
.door.frontier .go { color: var(--d1); }
.door.frontier .dtrace { position: absolute; inset: 0; z-index: 0; opacity: 0.6; }
.door.frontier > * { position: relative; z-index: 1; }

/* ── AMBITION (dark) ──────────────────────────────────────────────────────── */
.ambition { position: relative; overflow: hidden; }
.amb-trace { position: absolute; top: 0; left: 0; width: 100%; height: clamp(360px, 55%, 580px); z-index: 0; opacity: 0.9; }
.amb-veil { position: absolute; inset: 0; z-index: 1; background: linear-gradient(90deg, var(--ink) 20%, rgba(12,11,10,0.35) 56%, transparent 80%); pointer-events: none; }
.ambition .wrap { position: relative; z-index: 2; }
.amb-tag { font-family: var(--serif); font-size: clamp(34px, 5.4vw, 76px); line-height: 1.04; letter-spacing: -0.02em; max-width: 16ch; }
.amb-tag .br { color: var(--accent-soft); }
.amb-shadow { font-family: var(--serif); font-style: italic; font-size: clamp(20px, 2.2vw, 30px); line-height: 1.4; color: var(--d2); max-width: 30ch; margin-top: clamp(32px, 5vw, 52px); }
.amb-body { margin-top: clamp(34px, 5vw, 56px); max-width: 54ch; color: var(--d2); font-size: clamp(16px, 1.15vw, 18px); line-height: 1.72; }
.amb-body strong { color: var(--d1); font-weight: 600; }

/* pattern table (cognition is next) */
.pattern { margin-top: clamp(44px, 6vw, 72px); border-top: 1px solid var(--line-dark); }
.prow { display: grid; grid-template-columns: 1fr 1.4fr 1.6fr; gap: 20px; padding: 16px 0; border-bottom: 1px solid var(--line-dark); font-size: clamp(13px, 1vw, 15px); }
.prow .a { color: var(--d1); font-weight: 600; }
.prow .b { color: var(--d3); }
.prow .c { color: var(--d2); }
.prow.live { }
.prow.live .a { color: var(--accent-soft); }
.prow.live .c { color: var(--accent-soft); font-style: italic; }
.prow .qm { color: var(--accent-soft); }

/* ── ARCHIVE (light) ─────────────────────────────────────────────────────── */
.arch-lead { display: grid; grid-template-columns: minmax(0,1.2fr) minmax(0,1fr); align-items: end; column-gap: 56px; row-gap: 22px; margin-bottom: clamp(30px, 4vw, 48px); }
.arch-lead .h-sec { max-width: 14ch; }
.arch-lead .lede, .doors-lead .lede { justify-self: end; }
.arch-list { border-top: 1px solid var(--line-light); }
.arch-item {
  display: grid; grid-template-columns: 110px 1fr auto; gap: 24px; align-items: baseline;
  padding: 24px 0; border-bottom: 1px solid var(--line-light); text-decoration: none; color: inherit;
  transition: padding 0.3s var(--ease);
}
.arch-item:hover { padding-inline: 12px; background: linear-gradient(90deg, var(--paper-2), transparent); }
.arch-kind { font-family: var(--mono); font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--accent-ink); }
.arch-title { font-family: var(--serif); font-size: clamp(20px, 2.2vw, 30px); line-height: 1.2; }
.arch-meta { font-family: var(--mono); font-size: 11px; color: var(--t3); white-space: nowrap; }
.arch-item .arr { color: var(--accent); opacity: 0; transition: opacity 0.25s, transform 0.25s; }
.arch-item:hover .arr { opacity: 1; transform: translateX(4px); }

/* meaning project teaser */
.mp { margin-top: clamp(60px, 9vw, 110px); border-radius: 16px; background: var(--ink); color: var(--d1); padding: clamp(36px, 5vw, 68px); position: relative; overflow: hidden; }
.mp-trace { position: absolute; inset: 0; z-index: 0; opacity: 0.5; }
.mp > * { position: relative; z-index: 1; }
.mp .eyebrow { color: var(--d3); }
.mp h3 { font-family: var(--serif); font-size: clamp(26px, 3.4vw, 44px); line-height: 1.1; margin-top: 18px; max-width: 20ch; }
.mp p { color: var(--d2); margin-top: 20px; max-width: 52ch; font-size: clamp(15px, 1.1vw, 17px); line-height: 1.7; }

/* ── FOOTER (dark) ───────────────────────────────────────────────────────── */
.footer { background: var(--ink); color: var(--d1); padding-block: clamp(56px, 7vw, 90px) 40px; }
.foot-top { display: grid; grid-template-columns: 1.4fr .8fr .8fr .8fr; gap: 40px; padding-bottom: 48px; border-bottom: 1px solid var(--line-dark); }
.foot-mark { font-family: var(--serif); font-size: clamp(24px, 3vw, 38px); line-height: 1.1; max-width: 16ch; }
.foot-col h4 { font-family: var(--mono); font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--d3); margin-bottom: 16px; font-weight: 500; }
.foot-col a { display: block; color: var(--d2); text-decoration: none; font-size: 14px; padding: 5px 0; transition: color 0.2s; }
.foot-col a:hover { color: var(--accent-soft); }
.foot-bottom { display: flex; justify-content: space-between; align-items: center; gap: 24px; padding-top: 28px; flex-wrap: wrap; }
.foot-bottom .wm { font-family: var(--sans); font-weight: 700; letter-spacing: 0.16em; font-size: 14px; }
.foot-offices { font-family: var(--mono); font-size: 11.5px; color: var(--d3); letter-spacing: 0.06em; }
.foot-bottom .legal { font-family: var(--mono); font-size: 11px; color: var(--d3); }

/* ── reveal animation ────────────────────────────────────────────────────── */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity 0.9s var(--ease), transform 0.9s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: 0.08s; }
.reveal.d2 { transition-delay: 0.16s; }
.reveal.d3 { transition-delay: 0.24s; }
.reveal.d4 { transition-delay: 0.32s; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* ── responsive ──────────────────────────────────────────────────────────── */
@media (max-width: 1080px) {
  .nav-links .nav-link { display: none; }
  .nav-toggle { display: inline-flex; }
}
@media (max-width: 860px) {
  .two-col { grid-template-columns: 1fr; gap: 32px; }
  .col-label { position: static; }
  .proofbar { grid-template-columns: repeat(2, 1fr); row-gap: 36px; }
  .door-grid { grid-template-columns: 1fr; }
  .foot-top { grid-template-columns: 1fr; gap: 32px; }
  .prow { grid-template-columns: 1fr; gap: 4px; padding: 14px 0; }
  .prow .b { font-size: 12px; }
  .corr-row { grid-template-columns: 1fr auto; }
  .corr-track { grid-column: 1 / -1; order: 3; }
  .arch-item { grid-template-columns: 1fr; gap: 8px; }
  .arch-item .arr { display: none; }
  .doors-lead, .arch-lead { grid-template-columns: 1fr; }
  .arch-lead .lede, .doors-lead .lede { justify-self: start; }
  .arch-lead .h-sec { max-width: none; }
}
@media (max-width: 520px) {
  .proofbar { grid-template-columns: 1fr; }
  .specs { flex-direction: column; }
  .spec { border-right: none; border-bottom: 1px solid var(--line-light); padding-right: 0; }
}

/* mobile menu */
.mobile-menu { position: fixed; inset: 0; z-index: 99; background: var(--ink); color: var(--d1); display: flex; flex-direction: column; justify-content: center; padding: var(--gut); transform: translateY(-100%); transition: transform 0.5s var(--ease); }
.mobile-menu.open { transform: none; }
.mobile-menu a { font-family: var(--serif); font-size: 30px; color: var(--d1); text-decoration: none; padding: 12px 0; border-bottom: 1px solid var(--line-dark); }
.mobile-menu a.star { color: var(--accent-soft); }
.nav-toggle { background: none; border: none; cursor: pointer; flex-direction: column; gap: 5px; padding: 8px; }
.nav-toggle span { width: 22px; height: 1.5px; background: white; display: block; transition: 0.3s; }
.logo-wrap {display: flex; align-items: center; justify-content: center;}
.logo-wrap .logo {width: 100%; height: auto;}
.nav.scrolled .logo-wrap .logo .cls-1 {fill: var(--ink); transition: fill 0.3s var(--ease);}

@media (max-width: 992px) {
  .logo-wrap {width: 150px;}
}
