/* Vernia — product site
   Tokens first (light), dark redefinitions below. All components read tokens only. */

:root {
  /* brand */
  --ink: #10233a;          /* Vernia navy (text on light) */
  --ink-2: #33475e;        /* secondary text */
  --ink-3: #6b7a8c;        /* muted / captions */
  --gold: #c7962f;         /* vernier gold — the one accent */
  --gold-2: #a67a1f;       /* gold on light ground (AA) */
  --gold-soft: rgba(199, 150, 47, 0.14);
  --azure: #2f7fd6;        /* links / live status, sparingly */
  --azure-soft: rgba(47, 127, 214, 0.12);

  /* ground */
  --bg: #f5f2ec;           /* warm paper, hue-biased toward gold */
  --bg-2: #ebe6dc;         /* recessed panels */
  --bg-3: #ffffff;         /* raised panels */
  --line: rgba(16, 35, 58, 0.14);
  --line-2: rgba(16, 35, 58, 0.07);

  /* dark plates used inside the light theme (screenshot stage) */
  --plate: #0f1c2e;
  --plate-2: #15243a;
  --plate-line: rgba(160, 190, 225, 0.18);
  --plate-text: #e6edf5;
  --plate-muted: #93a6bd;

  /* status */
  --ok: #2f8a5f;
  --ok-soft: rgba(47, 138, 95, 0.14);
  --wip: #b97a16;
  --wip-soft: rgba(185, 122, 22, 0.14);
  --plan: #6b7a8c;
  --plan-soft: rgba(107, 122, 140, 0.14);

  --display: "Manrope", "Segoe UI", system-ui, sans-serif;
  --body: "Instrument Sans", "Segoe UI", system-ui, sans-serif;
  --mono: "JetBrains Mono", "Cascadia Code", Consolas, monospace;

  --max: 1240px;
  --gutter: clamp(16px, 4vw, 48px);
  --radius: 6px;
  --shadow: 0 18px 50px rgba(16, 35, 58, 0.12);
  color-scheme: light;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --ink: #e8eef6;
    --ink-2: #b7c3d2;
    --ink-3: #8797ab;
    --gold: #d8ab4a;
    --gold-2: #e2b95f;
    --gold-soft: rgba(216, 171, 74, 0.16);
    --azure: #5aa6ff;
    --azure-soft: rgba(90, 166, 255, 0.14);
    --bg: #0f1c2e;
    --bg-2: #0b1626;
    --bg-3: #16273c;
    --line: rgba(190, 210, 235, 0.16);
    --line-2: rgba(190, 210, 235, 0.08);
    --plate: #0a1422;
    --plate-2: #101d30;
    --ok: #5fc48f;
    --ok-soft: rgba(95, 196, 143, 0.14);
    --wip: #e0a63a;
    --wip-soft: rgba(224, 166, 58, 0.14);
    --plan: #8797ab;
    --plan-soft: rgba(135, 151, 171, 0.14);
    --shadow: 0 18px 50px rgba(0, 0, 0, 0.45);
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --ink: #e8eef6;
  --ink-2: #b7c3d2;
  --ink-3: #8797ab;
  --gold: #d8ab4a;
  --gold-2: #e2b95f;
  --gold-soft: rgba(216, 171, 74, 0.16);
  --azure: #5aa6ff;
  --azure-soft: rgba(90, 166, 255, 0.14);
  --bg: #0f1c2e;
  --bg-2: #0b1626;
  --bg-3: #16273c;
  --line: rgba(190, 210, 235, 0.16);
  --line-2: rgba(190, 210, 235, 0.08);
  --plate: #0a1422;
  --plate-2: #101d30;
  --ok: #5fc48f;
  --ok-soft: rgba(95, 196, 143, 0.14);
  --wip: #e0a63a;
  --wip-soft: rgba(224, 166, 58, 0.14);
  --plan: #8797ab;
  --plan-soft: rgba(135, 151, 171, 0.14);
  --shadow: 0 18px 50px rgba(0, 0, 0, 0.45);
  color-scheme: dark;
}

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 400 16px/1.6 var(--body);
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
button { font: inherit; color: inherit; cursor: pointer; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }
h1, h2, h3, h4 { font-family: var(--display); text-wrap: balance; margin: 0; }
p { margin: 0; }
.wrap { max-width: var(--max); margin-inline: auto; padding-inline: var(--gutter); }
.mono { font-family: var(--mono); font-variant-numeric: tabular-nums; }
.eyebrow {
  font: 600 12px/1 var(--body);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold-2);
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.eyebrow::before { content: ""; width: 22px; height: 1px; background: var(--gold); }
.section { padding-block: clamp(64px, 9vw, 120px); }
.section-head { display: grid; gap: 14px; max-width: 760px; margin-bottom: clamp(32px, 5vw, 56px); }
.section-head h2 { font-size: clamp(30px, 4.2vw, 46px); line-height: 1.08; letter-spacing: -0.025em; font-weight: 600; }
.section-head p { color: var(--ink-2); font-size: 17px; max-width: 62ch; }

/* vernier rule — the brand's ornament, drawn once and reused */
.rule { height: 22px; width: 100%; display: block; color: var(--line); }
.rule .tick { stroke: currentColor; }
.rule .tick.major { color: var(--ink-3); }
.rule .vern { stroke: var(--gold); }

/* ---------- header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 30;
  background: color-mix(in srgb, var(--bg) 86%, transparent);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line-2);
}
.site-header .wrap { display: flex; align-items: center; gap: 28px; height: 68px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font: 700 19px var(--display); letter-spacing: -0.02em; }
.brand img { width: 30px; height: 30px; border-radius: 7px; }
.brand small { font: 500 11px var(--body); letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-3); margin-left: 6px; display: none; }
.nav { display: flex; gap: 22px; margin-left: auto; }
.nav a { text-decoration: none; font-size: 14px; color: var(--ink-2); padding: 6px 0; border-bottom: 1px solid transparent; white-space: nowrap; }
.controls { flex: none; }
.nav a:hover { color: var(--ink); border-bottom-color: var(--gold); }
.controls { display: flex; align-items: center; gap: 8px; }
.seg { display: inline-flex; border: 1px solid var(--line); border-radius: 999px; padding: 2px; }
.seg button { border: 0; background: transparent; padding: 4px 10px; border-radius: 999px; font-size: 12px; font-weight: 600; color: var(--ink-3); }
.seg button[aria-pressed="true"] { background: var(--ink); color: var(--bg); }
.icon-btn { width: 34px; height: 34px; border: 1px solid var(--line); border-radius: 999px; background: transparent; display: grid; place-items: center; color: var(--ink-2); }
.icon-btn svg { width: 16px; height: 16px; }
.icon-btn .sun { display: none; }
:root[data-theme="dark"] .icon-btn .sun { display: block; }
:root[data-theme="dark"] .icon-btn .moon { display: none; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .icon-btn .sun { display: block; }
  :root:not([data-theme="light"]) .icon-btn .moon { display: none; }
}
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 12px 18px; border-radius: var(--radius);
  font-weight: 600; font-size: 15px; text-decoration: none;
  border: 1px solid transparent; transition: transform .15s ease, background .15s ease;
}
.btn-primary { background: var(--ink); color: var(--bg); }
.btn-primary:hover { transform: translateY(-1px); }
.btn-primary .arrow { color: var(--gold); }
.btn-ghost { border-color: var(--line); color: var(--ink); background: transparent; }
.btn-ghost:hover { border-color: var(--ink-3); }
.btn-sm { padding: 8px 14px; font-size: 14px; }
.menu-toggle { display: none; }

/* ---------- hero ---------- */
.hero { position: relative; overflow: hidden; padding-block: clamp(40px, 7vw, 96px) clamp(40px, 6vw, 72px); }
.hero .wrap { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr); gap: clamp(28px, 5vw, 72px); align-items: center; }
.hero h1 { font-size: clamp(40px, 6vw, 74px); line-height: 1.0; letter-spacing: -0.035em; font-weight: 700; margin-top: 22px; }
.hero h1 em { font-style: normal; color: var(--gold-2); }
.hero .lede { margin-top: 24px; font-size: 18px; color: var(--ink-2); max-width: 56ch; }
.hero .actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.status-line { margin-top: 30px; display: inline-flex; gap: 10px; align-items: center; font-size: 13px; color: var(--ink-3); }
.status-line i { width: 8px; height: 8px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 0 4px var(--gold-soft); }
.hero-art { position: relative; }
.hero-art img { width: 100%; aspect-ratio: 5 / 6; max-height: 640px; object-fit: cover; object-position: center; border-radius: 10px; }
.hero-art::before {
  content: ""; position: absolute; inset: 8% -6% -4% -6%; border-radius: 50%;
  background: radial-gradient(closest-side, var(--azure-soft), transparent 75%);
  z-index: -1;
}
.hero-art .plate-tag {
  position: absolute; left: 6%; bottom: 6%;
  background: var(--bg-3); border: 1px solid var(--line); border-left: 3px solid var(--gold);
  padding: 10px 14px; font-size: 12px; color: var(--ink-2); box-shadow: var(--shadow);
}
.hero-art .plate-tag b { display: block; font: 600 13px var(--display); color: var(--ink); }
.facts { border-block: 1px solid var(--line); background: var(--bg-2); }
.facts .wrap { display: grid; grid-template-columns: repeat(5, 1fr); }
.fact { padding: 18px 18px 18px 0; border-right: 1px solid var(--line-2); }
.fact + .fact { padding-left: 18px; }
.fact:last-child { border-right: 0; }
.fact b { display: block; font: 600 20px/1.1 var(--display); letter-spacing: -0.02em; }
.fact span { font-size: 12.5px; color: var(--ink-3); display: block; margin-top: 4px; }

/* ---------- pillars ---------- */
.pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border-top: 1px solid var(--line); }
.pillar { padding: 32px 28px 32px 0; border-right: 1px solid var(--line-2); }
.pillar + .pillar { padding-left: 28px; }
.pillar:last-child { border-right: 0; }
.pillar .n { font: 500 13px var(--mono); color: var(--gold-2); }
.pillar h3 { font-size: 22px; letter-spacing: -0.02em; margin-top: 14px; font-weight: 600; }
.pillar p { margin-top: 12px; color: var(--ink-2); font-size: 15.5px; }
.story { margin-top: clamp(40px, 6vw, 64px); display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 56px); align-items: center; }
.story blockquote { margin: 0; font: 500 clamp(22px, 2.6vw, 30px)/1.3 var(--display); letter-spacing: -0.02em; }
.story blockquote span { color: var(--gold-2); }
.story p { color: var(--ink-2); margin-top: 16px; max-width: 58ch; }
.vernier { width: 100%; height: auto; }
.vernier text { font-family: var(--mono); fill: var(--ink-3); font-size: 10px; }
.vernier .main { stroke: var(--ink-3); }
.vernier .v { stroke: var(--gold); }
.vernier .zero { stroke: var(--gold); stroke-width: 2; }
.vernier .frame { fill: var(--bg-3); stroke: var(--line); }

/* ---------- workflows (screenshot stage) ---------- */
.stage {
  background: var(--plate); color: var(--plate-text);
  border: 1px solid var(--plate-line); border-radius: 10px; overflow: hidden; box-shadow: var(--shadow);
}
.tabs { display: grid; grid-template-columns: repeat(5, 1fr); border-bottom: 1px solid var(--plate-line); background: var(--plate-2); }
.tab {
  border: 0; border-right: 1px solid var(--plate-line); background: transparent; color: var(--plate-muted);
  text-align: left; padding: 16px 18px; position: relative; min-height: 72px; transition: background .15s;
}
.tab:last-child { border-right: 0; }
.tab b { display: block; font: 600 14px var(--display); color: var(--plate-text); }
.tab small { display: block; font-size: 12px; margin-top: 3px; }
.tab::after { content: ""; position: absolute; left: 0; right: 100%; bottom: -1px; height: 2px; background: var(--gold); transition: right .2s; }
.tab[aria-selected="true"] { background: rgba(255,255,255,0.04); }
.tab[aria-selected="true"]::after { right: 0; }
.tab[aria-selected="true"] small { color: var(--gold); }
.tab:hover { background: rgba(255,255,255,0.03); }
.shot { position: relative; background: #061020; aspect-ratio: 1920 / 1032; max-height: 780px; cursor: zoom-in; }
.shot img { width: 100%; height: 100%; object-fit: contain; transition: opacity .18s ease; }
.shot.changing img { opacity: 0.3; }
.shot .arrow {
  position: absolute; top: 50%; transform: translateY(-50%); width: 42px; height: 42px; border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.25); background: rgba(6,16,32,0.75); color: #fff; display: grid; place-items: center;
  opacity: 0; transition: opacity .15s;
}
.shot:hover .arrow, .shot:focus-within .arrow { opacity: 1; }
.shot .arrow.prev { left: 14px; } .shot .arrow.next { right: 14px; }
.shot .arrow:hover { background: var(--gold); color: var(--plate); border-color: var(--gold); }
.shot .badge {
  position: absolute; left: 14px; bottom: 14px; font: 500 11px var(--mono); letter-spacing: 0.04em;
  background: rgba(6,16,32,0.8); border: 1px solid rgba(255,255,255,0.14); color: var(--plate-muted); padding: 6px 9px;
}
.shot .badge i { display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: var(--ok); margin-right: 7px; }
.caption { display: grid; grid-template-columns: 84px 1fr auto; gap: 24px; align-items: center; padding: 20px 24px; border-top: 1px solid var(--plate-line); background: var(--plate-2); }
.caption .count { font: 500 30px/1 var(--display); color: var(--gold); }
.caption .count span { font: 500 12px var(--mono); color: var(--plate-muted); margin-left: 6px; }
.caption .kicker { font: 500 11px var(--mono); letter-spacing: 0.1em; color: var(--plate-muted); }
.caption h3 { font-size: 18px; margin-top: 4px; font-weight: 600; }
.caption p { font-size: 14px; color: var(--plate-muted); margin-top: 4px; max-width: 70ch; }
.caption .ctl { display: flex; gap: 8px; }
.caption .ctl button { border: 1px solid var(--plate-line); background: transparent; color: var(--plate-text); padding: 9px 13px; border-radius: 4px; font-size: 13px; }
.caption .ctl button:hover { border-color: var(--gold); }
.caption .ctl button:disabled { opacity: .4; cursor: default; }
.dots { display: flex; gap: 6px; padding: 0 24px 16px; background: var(--plate-2); }
.dots button { height: 3px; width: 28px; border: 0; padding: 0; background: rgba(255,255,255,0.18); }
.dots button[aria-current="true"] { background: var(--gold); }
.stage-note { margin-top: 14px; font-size: 13px; color: var(--ink-3); display: flex; gap: 8px; align-items: flex-start; }
.stage-note::before { content: "i"; flex: none; width: 18px; height: 18px; border-radius: 50%; border: 1px solid var(--line); display: grid; place-items: center; font: 600 11px var(--mono); }

/* ---------- capabilities ---------- */
.modules { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.module { background: var(--bg-3); border: 1px solid var(--line); border-radius: 10px; padding: 26px 26px 22px; display: grid; gap: 14px; align-content: start; }
.module header { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.module h3 { font-size: 21px; letter-spacing: -0.02em; font-weight: 600; display: flex; align-items: center; gap: 12px; }
.module h3 svg { width: 26px; height: 26px; color: var(--gold-2); flex: none; }
.module .lead { color: var(--ink-2); font-size: 15px; }
.feat { list-style: none; padding: 0; margin: 6px 0 0; display: grid; grid-template-columns: 1fr 1fr; gap: 6px 18px; }
.feat li { font-size: 14px; color: var(--ink-2); padding-left: 16px; position: relative; }
.feat li::before { content: ""; position: absolute; left: 0; top: 10px; width: 6px; height: 1px; background: var(--gold); }
.feat li.wip { color: var(--ink-3); }
.feat li.wip::after { content: attr(data-wip); font: 500 10px var(--mono); color: var(--wip); margin-left: 6px; letter-spacing: 0.06em; }
.chip { display: inline-flex; align-items: center; gap: 6px; font: 600 11px var(--body); letter-spacing: 0.08em; text-transform: uppercase; padding: 5px 9px; border-radius: 999px; white-space: nowrap; }
.chip::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.chip.ok { color: var(--ok); background: var(--ok-soft); }
.chip.wip { color: var(--wip); background: var(--wip-soft); }
.chip.plan { color: var(--plan); background: var(--plan-soft); }
.module .jump { margin-top: 4px; border: 0; background: transparent; padding: 12px 0 0; border-top: 1px solid var(--line-2); text-align: left; font-size: 14px; color: var(--ink-2); display: flex; justify-content: space-between; }
.module .jump:hover { color: var(--ink); }
.module .jump span { color: var(--gold-2); }

/* ---------- technology ---------- */
.tech { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: clamp(28px, 5vw, 64px); align-items: start; }
.spec { border-top: 1px solid var(--line); }
.spec dl { margin: 0; display: grid; grid-template-columns: 200px 1fr; }
.spec dt, .spec dd { margin: 0; padding: 14px 0; border-bottom: 1px solid var(--line-2); font-size: 14.5px; }
.spec dt { font: 500 12.5px var(--mono); color: var(--ink-3); letter-spacing: 0.02em; padding-right: 16px; }
.spec dd { color: var(--ink); }
.spec dd small { display: block; color: var(--ink-3); font-size: 12.5px; margin-top: 2px; }
.principles { display: grid; gap: 22px; }
.principle { display: grid; grid-template-columns: 36px 1fr; gap: 14px; }
.principle .k { font: 500 12px var(--mono); color: var(--gold-2); padding-top: 4px; }
.principle h4 { font-size: 17px; font-weight: 600; }
.principle p { color: var(--ink-2); font-size: 15px; margin-top: 4px; }

/* ---------- roadmap ---------- */
.roadmap { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.col { background: var(--bg-3); border: 1px solid var(--line); border-radius: 10px; padding: 22px 22px 18px; }
.col header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; }
.col h3 { font-size: 16px; font-weight: 600; }
.col ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 9px; }
.col li { font-size: 14px; color: var(--ink-2); display: grid; grid-template-columns: 16px 1fr; gap: 10px; align-items: start; }
.col li::before { content: ""; width: 10px; height: 10px; border-radius: 50%; margin-top: 6px; border: 1.5px solid currentColor; }
.col.done li::before { background: var(--ok); border-color: var(--ok); }
.col.wip li::before { border-color: var(--wip); }
.col.plan li::before { border-color: var(--plan); border-style: dashed; }
.honest { margin-top: 22px; padding: 18px 22px; border-left: 3px solid var(--gold); background: var(--gold-soft); border-radius: 0 var(--radius) var(--radius) 0; display: grid; grid-template-columns: 160px 1fr; gap: 18px; }
.honest b { font: 600 12px var(--body); letter-spacing: 0.1em; text-transform: uppercase; color: var(--gold-2); padding-top: 3px; }
.honest p { font-size: 14.5px; color: var(--ink-2); }

/* ---------- audience ---------- */
.audience { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.aud { padding: 24px; border: 1px solid var(--line); border-radius: 10px; }
.aud h3 { font-size: 18px; font-weight: 600; }
.aud p { color: var(--ink-2); font-size: 15px; margin-top: 10px; }

/* ---------- contact ---------- */
.contact { background: var(--ink); color: var(--bg); border-radius: 14px; padding: clamp(32px, 5vw, 64px); display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr); gap: clamp(24px, 4vw, 56px); align-items: center; }
:root[data-theme="dark"] .contact { background: var(--bg-3); color: var(--ink); border: 1px solid var(--line); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .contact { background: var(--bg-3); color: var(--ink); border: 1px solid var(--line); } }
.contact h2 { font-size: clamp(28px, 3.6vw, 40px); letter-spacing: -0.025em; line-height: 1.1; font-weight: 600; }
.contact p { margin-top: 14px; opacity: .8; font-size: 16px; max-width: 56ch; }
.contact .eyebrow { color: var(--gold); }
.contact .box { background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.14); border-radius: 10px; padding: 22px; display: grid; gap: 12px; }
:root[data-theme="dark"] .contact .box { background: var(--bg-2); border-color: var(--line); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .contact .box { background: var(--bg-2); border-color: var(--line); } }
.contact .box b { font: 600 14px var(--display); }
.contact .box .who { font: 600 15px var(--display); }
.contact .box .mail, .contact .box .tel { font: 500 15px var(--mono); word-break: break-all; text-decoration: none; border-bottom: 1px solid var(--gold); padding-bottom: 2px; width: fit-content; }
.contact .box .tel { font-size: 14px; }
.contact .box small { opacity: .75; font-size: 12.5px; }
.btn-gold { background: var(--gold); color: #10233a; }
.btn-gold:hover { transform: translateY(-1px); }

/* ---------- footer ---------- */
.site-footer { border-top: 1px solid var(--line); padding-block: 36px 44px; }
.site-footer .wrap { display: grid; grid-template-columns: 1fr auto; gap: 18px; align-items: start; }
.site-footer .legal { font-size: 12.5px; color: var(--ink-3); max-width: 70ch; margin-top: 10px; }
.site-footer .links { display: flex; gap: 18px; font-size: 13px; }
.site-footer .links a { color: var(--ink-2); text-decoration: none; }
.site-footer .links a:hover { color: var(--ink); }

/* ---------- lightbox ---------- */
dialog.lightbox { width: min(96vw, 1800px); max-width: none; border: 0; padding: 0; background: var(--plate); color: var(--plate-text); border-radius: 8px; box-shadow: 0 30px 100px rgba(0,0,0,.6); }
dialog.lightbox::backdrop { background: rgba(3, 8, 15, 0.86); backdrop-filter: blur(6px); }
dialog.lightbox img { width: 100%; max-height: 84vh; object-fit: contain; }
dialog.lightbox .bar { display: flex; justify-content: space-between; align-items: center; padding: 10px 14px; font-size: 13px; color: var(--plate-muted); }
dialog.lightbox .bar button { border: 1px solid var(--plate-line); background: transparent; color: var(--plate-text); padding: 6px 12px; border-radius: 4px; }

/* ---------- responsive ---------- */
@media (max-width: 1080px) {
  .nav { display: none; position: absolute; left: 0; right: 0; top: 68px; background: var(--bg); border-bottom: 1px solid var(--line); padding: 12px var(--gutter) 18px; flex-direction: column; gap: 4px; }
  .nav.open { display: flex; }
  .nav a { padding: 10px 0; border-bottom: 1px solid var(--line-2); font-size: 15px; }
  .menu-toggle { display: grid; }
  .controls { margin-left: auto; }
  .hero .wrap { grid-template-columns: 1fr; }
  .hero-art { max-width: 640px; }
  .hero-art img { max-height: 520px; object-fit: cover; object-position: center 30%; }
  .facts .wrap { grid-template-columns: repeat(3, 1fr); }
  .fact:nth-child(3) { border-right: 0; }
  .pillars { grid-template-columns: 1fr; }
  .pillar, .pillar + .pillar { border-right: 0; border-bottom: 1px solid var(--line-2); padding: 24px 0; }
  .pillar:last-child { border-bottom: 0; }
  .story { grid-template-columns: 1fr; }
  .tabs { grid-template-columns: repeat(3, 1fr); }
  .tab { border-bottom: 1px solid var(--plate-line); }
  .tech { grid-template-columns: 1fr; }
  .roadmap, .audience { grid-template-columns: 1fr; }
  .contact { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  .controls .btn { display: none; }
  .hero-art img { max-height: 380px; }
  .facts .wrap { grid-template-columns: 1fr 1fr; }
  .fact, .fact + .fact { border-right: 0; border-bottom: 1px solid var(--line-2); padding: 14px 0; }
  .fact:nth-child(3) { border-right: 0; }
  .fact:nth-last-child(-n+1) { border-bottom: 0; }
  .modules { grid-template-columns: 1fr; }
  .feat { grid-template-columns: 1fr; }
  .tabs { grid-template-columns: 1fr 1fr; }
  .tab { min-height: 60px; padding: 12px 14px; }
  .shot .arrow { opacity: 1; width: 36px; height: 36px; }
  .shot .badge { display: none; }
  .caption { grid-template-columns: 60px 1fr; padding: 16px; gap: 14px; }
  .caption .ctl { grid-column: 1 / -1; justify-content: flex-end; }
  .caption .count { font-size: 24px; }
  .spec dl { grid-template-columns: 1fr; }
  .spec dt { padding-bottom: 2px; border-bottom: 0; }
  .spec dd { padding-top: 2px; }
  .honest { grid-template-columns: 1fr; gap: 8px; }
  .site-footer .wrap { grid-template-columns: 1fr; }
  .hero-art .plate-tag { position: static; margin-top: 12px; width: fit-content; }
}

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