/* NeuroTechForge
   Concept: een technische catalogus uit een smederij.
   Warm papier, inkt, en een kleur die alleen verschijnt waar iets heet is. */

:root {
  --paper: #eeeae2;
  --paper-2: #e4dfd4;
  --paper-3: #d9d3c6;
  --ink: #17140f;
  --ink-2: #4b453c;
  --ink-3: #807868;
  --rule: rgba(23, 20, 15, 0.18);
  --rule-strong: rgba(23, 20, 15, 0.85);
  --heat: #ff4d00;
  --heat-hot: #ffb547;
  --ember: #a3220f;
  --night: #12110e;
  --night-2: #1d1b17;
  --night-ink: #ece7dc;
  --night-ink-2: #a39b8c;
  --night-rule: rgba(236, 231, 220, 0.16);

  --f-display: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --f-mono: "IBM Plex Mono", ui-monospace, Menlo, monospace;
  --f-serif: "Newsreader", Georgia, serif;
  --f-jp: "Noto Serif JP", serif;

  --gutter: clamp(16px, 4vw, 56px);
  --max: 1440px;
  --ease: cubic-bezier(0.2, 0.7, 0.1, 1);
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --paper: #15130f;
    --paper-2: #1d1a15;
    --paper-3: #2a261f;
    --ink: #ece7dc;
    --ink-2: #b9b1a2;
    --ink-3: #857d6e;
    --rule: rgba(236, 231, 220, 0.16);
    --rule-strong: rgba(236, 231, 220, 0.8);
    --night: #0b0a08;
    --night-2: #16140f;
  }
}
:root[data-theme="dark"] {
  --paper: #15130f;
  --paper-2: #1d1a15;
  --paper-3: #2a261f;
  --ink: #ece7dc;
  --ink-2: #b9b1a2;
  --ink-3: #857d6e;
  --rule: rgba(236, 231, 220, 0.16);
  --rule-strong: rgba(236, 231, 220, 0.8);
  --night: #0b0a08;
  --night-2: #16140f;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--f-display);
  font-variation-settings: "wdth" 100;
  font-size: 17px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg, canvas { display: block; max-width: 100%; }
a { color: inherit; }
button { font: inherit; color: inherit; }
::selection { background: var(--heat); color: #fff; }

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.mono {
  font-family: var(--f-mono);
  font-size: 12px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.serif { font-family: var(--f-serif); font-style: italic; font-weight: 400; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- Kop ---------- */
.top {
  position: sticky; top: 0; z-index: 40;
  background: color-mix(in srgb, var(--paper) 88%, transparent);
  backdrop-filter: saturate(1.2) blur(8px);
  -webkit-backdrop-filter: saturate(1.2) blur(8px);
  border-bottom: 1px solid var(--rule);
}
.top .wrap { display: flex; align-items: center; gap: 24px; height: 64px; }
.mark { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.mark svg { width: 30px; height: 30px; }
.mark-word {
  font-weight: 800; font-size: 15px; letter-spacing: 0.02em;
  font-variation-settings: "wdth" 125; line-height: 1;
}
.mark-word span { color: var(--ink-3); font-weight: 500; }
.nav { display: flex; gap: 28px; margin-left: auto; }
.nav a { text-decoration: none; font-size: 14px; color: var(--ink-2); position: relative; }
.nav a:hover { color: var(--ink); }
.nav a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -6px; height: 2px;
  background: var(--heat); transform: scaleX(0); transform-origin: left;
  transition: transform 0.35s var(--ease);
}
.nav a:hover::after { transform: scaleX(1); }
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 11px 18px; border: 1px solid var(--rule-strong);
  background: var(--ink); color: var(--paper);
  font-size: 14px; font-weight: 600; text-decoration: none; cursor: pointer;
  transition: background 0.25s, color 0.25s, border-color 0.25s;
}
.btn:hover { background: var(--heat); border-color: var(--heat); color: #fff; }
.btn.ghost { background: transparent; color: var(--ink); }
.btn.ghost:hover { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.btn .arr { transition: transform 0.25s var(--ease); }
.btn:hover .arr { transform: translateX(3px); }
.menu-btn { display: none; margin-left: auto; background: none; border: 1px solid var(--rule-strong); padding: 8px 12px; cursor: pointer; }

/* ---------- Hero ---------- */
.hero { position: relative; border-bottom: 1px solid var(--rule-strong); overflow: hidden; }
.hero canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero .wrap { position: relative; z-index: 2; pointer-events: none; }
.hero .wrap a, .hero .wrap button { pointer-events: auto; }
.hero-meta {
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px 24px;
  padding: 22px 0; color: var(--ink-3); border-bottom: 1px solid var(--rule);
}
.hero h1 {
  margin: clamp(48px, 9vw, 120px) 0 0;
  font-weight: 800;
  font-variation-settings: "wdth" 112;
  font-size: clamp(48px, 10.5vw, 168px);
  line-height: 0.88;
  letter-spacing: -0.035em;
}
.hero h1 .serif {
  font-weight: 400; letter-spacing: -0.02em; color: var(--heat);
  font-size: 0.92em;
}
.hero-foot {
  display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  gap: 40px; align-items: end;
  margin-top: clamp(40px, 6vw, 80px); padding-bottom: clamp(40px, 6vw, 72px);
}
.hero-lede { font-size: clamp(18px, 1.6vw, 21px); line-height: 1.45; max-width: 36em; margin: 0; color: var(--ink-2); }
.hero-lede strong { color: var(--ink); font-weight: 600; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; justify-content: flex-end; }
.hero-hint { position: absolute; right: var(--gutter); bottom: 14px; color: var(--ink-3); z-index: 2; }

/* ---------- Kerncijfers ---------- */
.figures { border-bottom: 1px solid var(--rule-strong); }
.figures .wrap { display: grid; grid-template-columns: repeat(4, 1fr); }
.fig { padding: 28px 24px 30px 0; border-right: 1px solid var(--rule); }
.fig + .fig { padding-left: 24px; }
.fig:last-child { border-right: 0; }
.fig b {
  display: block; font-size: clamp(36px, 4.6vw, 64px); line-height: 1; font-weight: 800;
  font-variation-settings: "wdth" 120; letter-spacing: -0.03em;
}
.fig b sup { font-size: 0.45em; vertical-align: top; position: relative; top: 0.15em; color: var(--heat); }
.fig span { display: block; margin-top: 10px; color: var(--ink-3); }

/* ---------- Secties ---------- */
section { position: relative; }
.sec-head {
  display: grid; grid-template-columns: 180px minmax(0, 1fr) auto; gap: 24px; align-items: baseline;
  padding: 22px 0; border-bottom: 1px solid var(--rule-strong);
}
.sec-num { color: var(--heat); }
.sec-title { color: var(--ink-2); }
.sec-side { color: var(--ink-3); }
.big {
  font-weight: 800; font-variation-settings: "wdth" 110;
  font-size: clamp(36px, 6vw, 92px); line-height: 0.95; letter-spacing: -0.03em;
  margin: 0;
}
.big .serif { font-weight: 400; letter-spacing: -0.015em; }

/* ---------- Catalogus ---------- */
.catalog-intro {
  display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: 48px;
  padding: clamp(48px, 7vw, 96px) 0 40px; align-items: end;
}
.catalog-intro p { margin: 0; color: var(--ink-2); font-size: 18px; max-width: 34em; }
.filters { display: flex; flex-wrap: wrap; gap: 8px; padding: 0 0 20px; }
.chip {
  border: 1px solid var(--rule-strong); background: transparent; padding: 8px 12px;
  cursor: pointer; font-family: var(--f-mono); font-size: 12px; text-transform: uppercase; letter-spacing: 0.04em;
  transition: background 0.2s, color 0.2s;
}
.chip:hover { background: var(--paper-2); }
.chip[aria-pressed="true"] { background: var(--ink); color: var(--paper); }
.chip .n { color: var(--ink-3); margin-left: 6px; }
.chip[aria-pressed="true"] .n { color: var(--heat-hot); }

.parts { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--rule-strong); }
.part { border-bottom: 1px solid var(--rule); }
.part button {
  width: 100%; background: none; border: 0; cursor: pointer; text-align: left;
  display: grid; grid-template-columns: 110px minmax(0, 1.5fr) minmax(0, 1fr) 150px 28px;
  gap: 20px; align-items: center; padding: 22px 0; position: relative;
}
.part button::before {
  content: ""; position: absolute; left: 0; top: -1px; height: 2px; width: 100%;
  background: linear-gradient(90deg, var(--heat-hot), var(--heat) 40%, var(--ember) 80%, transparent);
  transform: scaleX(0); transform-origin: left; transition: transform 0.5s var(--ease);
}
.part button:hover::before, .part button:focus-visible::before { transform: scaleX(1); }
.part button:focus-visible { outline: 2px solid var(--heat); outline-offset: 4px; }
.p-no { font-family: var(--f-mono); font-size: 13px; color: var(--ink-3); }
.p-name { font-size: clamp(22px, 2.3vw, 32px); font-weight: 700; font-variation-settings: "wdth" 108; letter-spacing: -0.02em; line-height: 1.05; }
.p-line { display: block; font-size: 15px; font-weight: 400; color: var(--ink-2); letter-spacing: 0; margin-top: 6px; font-variation-settings: "wdth" 100; }
.p-cat { color: var(--ink-2); }
.p-go { font-size: 20px; color: var(--ink-3); transition: transform 0.3s var(--ease), color 0.3s; }
.part button:hover .p-go { transform: translateX(4px); color: var(--heat); }
.part button:hover .p-name { color: var(--heat); }

.status { display: inline-flex; align-items: center; gap: 8px; font-family: var(--f-mono); font-size: 12px; text-transform: uppercase; letter-spacing: 0.04em; }
.status i { width: 9px; height: 9px; border-radius: 50%; background: var(--ink-3); flex: none; }
.status[data-s="productie"] i { background: var(--heat); box-shadow: 0 0 0 3px color-mix(in srgb, var(--heat) 25%, transparent); }
.status[data-s="pilot"] i { background: var(--heat-hot); }
.status[data-s="prototype"] i { background: transparent; border: 2px solid var(--heat); }
.status[data-s="concept"] i { background: transparent; border: 2px dashed var(--ink-3); }

.legend { display: flex; flex-wrap: wrap; gap: 20px; padding: 20px 0 clamp(64px, 9vw, 120px); color: var(--ink-3); }

/* ---------- Specificatieblad (dialoog) ---------- */
.sheet {
  position: fixed; inset: 0; z-index: 60; display: grid; grid-template-columns: 1fr minmax(0, 760px);
  visibility: hidden;
}
.sheet.open { visibility: visible; }
.sheet-scrim { background: rgba(10, 9, 7, 0.5); opacity: 0; transition: opacity 0.3s; border: 0; cursor: pointer; }
.sheet.open .sheet-scrim { opacity: 1; }
.sheet-panel {
  background: var(--paper); border-left: 1px solid var(--rule-strong); overflow-y: auto;
  transform: translateX(100%); transition: transform 0.45s var(--ease);
  overscroll-behavior: contain;
}
.sheet.open .sheet-panel { transform: none; }
.sheet-bar {
  position: sticky; top: 0; display: flex; justify-content: space-between; align-items: center;
  padding: 16px 28px; background: var(--paper); border-bottom: 1px solid var(--rule-strong); z-index: 2;
}
.sheet-close { background: none; border: 1px solid var(--rule-strong); padding: 6px 12px; cursor: pointer; }
.sheet-close:hover { background: var(--ink); color: var(--paper); }
.sheet-body { padding: 36px 28px 48px; }
.sheet-body h2 { font-size: clamp(40px, 5vw, 64px); line-height: 0.95; letter-spacing: -0.03em; font-weight: 800; font-variation-settings: "wdth" 112; margin: 18px 0 14px; }
.sheet-tag { font-family: var(--f-serif); font-style: italic; font-size: 24px; line-height: 1.3; color: var(--ink-2); margin: 0 0 28px; }
.sheet-body p { color: var(--ink-2); }
.sheet-plate {
  position: relative; height: 180px; margin: 0 0 28px; border: 1px solid var(--rule-strong);
  background:
    repeating-linear-gradient(90deg, var(--rule) 0 1px, transparent 1px 24px),
    repeating-linear-gradient(0deg, var(--rule) 0 1px, transparent 1px 24px),
    var(--paper-2);
  overflow: hidden;
}
.sheet-plate .plate-no {
  position: absolute; left: 20px; bottom: 6px; font-weight: 900; font-variation-settings: "wdth" 125;
  font-size: 120px; line-height: 0.8; letter-spacing: -0.04em; color: var(--ink);
}
.sheet-plate .plate-glow {
  position: absolute; right: -60px; top: -60px; width: 280px; height: 280px; border-radius: 50%;
  background: radial-gradient(circle, var(--heat-hot) 0%, var(--heat) 30%, var(--ember) 55%, transparent 70%);
  mix-blend-mode: multiply; opacity: 0.9;
}
.sheet-plate .plate-label { position: absolute; left: 20px; top: 16px; color: var(--ink-2); }
.spec { width: 100%; border-collapse: collapse; margin: 8px 0 28px; }
.spec th, .spec td { text-align: left; vertical-align: top; padding: 12px 0; border-bottom: 1px solid var(--rule); font-size: 15px; }
.spec th { width: 34%; font-family: var(--f-mono); font-weight: 400; font-size: 12px; text-transform: uppercase; letter-spacing: 0.04em; color: var(--ink-3); padding-top: 14px; }
.feat { list-style: none; margin: 0 0 28px; padding: 0; counter-reset: f; }
.feat li { counter-increment: f; display: grid; grid-template-columns: 40px 1fr; padding: 12px 0; border-bottom: 1px solid var(--rule); }
.feat li::before { content: counter(f, decimal-leading-zero); font-family: var(--f-mono); font-size: 12px; color: var(--heat); padding-top: 3px; }
.sheet h3 { font-family: var(--f-mono); font-weight: 400; font-size: 12px; text-transform: uppercase; letter-spacing: 0.04em; color: var(--ink-3); margin: 32px 0 8px; }
.buybox {
  display: grid; grid-template-columns: 1fr auto; gap: 16px; align-items: center;
  padding: 20px; border: 1px solid var(--rule-strong); background: var(--paper-2); margin-top: 32px;
}
.buybox .price { font-weight: 700; font-size: 20px; }
.buybox .price small { display: block; font-weight: 400; font-size: 13px; color: var(--ink-3); margin-top: 2px; }
.stamp {
  display: inline-block; margin-top: 28px; padding: 8px 12px; border: 2px solid var(--heat); color: var(--heat);
  font-family: var(--f-mono); font-size: 12px; text-transform: uppercase; letter-spacing: 0.08em; transform: rotate(-2deg);
}

/* ---------- Kodawari ---------- */
.koda { background: var(--night); color: var(--night-ink); overflow: hidden; }
.koda .sec-head { border-color: var(--night-rule); }
.koda .sec-title, .koda .sec-side { color: var(--night-ink-2); }
.koda-hero { position: relative; padding: clamp(64px, 10vw, 140px) 0 clamp(48px, 7vw, 96px); }
.kanji {
  position: absolute; right: -2vw; top: 50%; transform: translateY(-50%);
  font-family: var(--f-jp); font-weight: 700; font-size: clamp(180px, 30vw, 460px); line-height: 1;
  color: transparent; -webkit-text-stroke: 1px rgba(255, 77, 0, 0.55);
  writing-mode: vertical-rl; user-select: none; pointer-events: none;
}
.koda-hero .big { max-width: 11em; position: relative; }
.koda-hero .big .serif { color: var(--heat); }
.koda-def .mono { white-space: nowrap; }
.koda-def { display: flex; gap: 20px; align-items: baseline; margin-top: 40px; color: var(--night-ink-2); position: relative; max-width: 40em; }
.koda-def .serif { font-size: 20px; color: var(--night-ink); }
.koda-text {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px 64px;
  padding: 40px 0 clamp(64px, 8vw, 110px); border-top: 1px solid var(--night-rule);
}
.koda-text p { margin: 0; color: var(--night-ink-2); font-size: 18px; }
.koda-text p strong { color: var(--night-ink); font-weight: 600; }

.line { border-top: 1px solid var(--night-rule); padding: 40px 0 clamp(64px, 8vw, 110px); }
.line-head { display: flex; justify-content: space-between; align-items: baseline; gap: 24px; margin-bottom: 40px; flex-wrap: wrap; }
.line-head h3 { margin: 0; font-size: clamp(28px, 3.2vw, 44px); font-weight: 800; font-variation-settings: "wdth" 110; letter-spacing: -0.02em; }
.track { position: relative; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 0; }
.track-rail { position: absolute; left: 0; right: 0; top: 13px; height: 2px; background: var(--night-rule); }
.track-fill {
  position: absolute; left: 0; top: 13px; height: 2px; width: 0;
  background: linear-gradient(90deg, var(--ember), var(--heat) 70%, var(--heat-hot));
  box-shadow: 0 0 18px var(--heat);
}
.track-fill::after {
  content: ""; position: absolute; right: -9px; top: -8px; width: 18px; height: 18px; border-radius: 50%;
  background: radial-gradient(circle, #fff 0%, var(--heat-hot) 35%, var(--heat) 70%, transparent 72%);
}
.station { position: relative; padding-right: 20px; }
.station .dot { width: 28px; height: 28px; border-radius: 50%; border: 2px solid var(--night-rule); background: var(--night); display: grid; place-items: center; font-family: var(--f-mono); font-size: 11px; color: var(--night-ink-2); position: relative; transition: border-color 0.3s, color 0.3s, background 0.3s; }
.station.lit .dot { border-color: var(--heat); color: #fff; background: var(--heat); }
.station h4 { margin: 22px 0 10px; font-size: 18px; font-weight: 700; line-height: 1.2; font-variation-settings: "wdth" 104; }
.station p { margin: 0; font-size: 14.5px; color: var(--night-ink-2); line-height: 1.5; }

.koda-figs { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--night-rule); border-bottom: 1px solid var(--night-rule); }
.koda-figs .fig { border-color: var(--night-rule); }
.koda-figs .fig span { color: var(--night-ink-2); }

.trio { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); padding: clamp(56px, 7vw, 96px) 0; gap: 0; }
.prod { padding: 0 28px 0 0; border-right: 1px solid var(--night-rule); }
.prod + .prod { padding-left: 28px; }
.prod:last-child { border-right: 0; }
.prod .mono { color: var(--heat); }
.prod h4 { margin: 14px 0 12px; font-size: clamp(30px, 3vw, 44px); font-weight: 800; font-variation-settings: "wdth" 115; letter-spacing: -0.02em; line-height: 1; }
.prod h4 span { color: var(--night-ink-2); font-weight: 400; }
.prod p { margin: 0; color: var(--night-ink-2); }

.koda-close { border-top: 1px solid var(--night-rule); padding: clamp(56px, 7vw, 96px) 0; display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 48px; align-items: end; }
.koda-close blockquote { margin: 0; font-family: var(--f-serif); font-style: italic; font-size: clamp(28px, 3.4vw, 48px); line-height: 1.15; }
.koda-close blockquote span { color: var(--heat); }
.koda-close p { margin: 0 0 20px; color: var(--night-ink-2); }
.koda .btn { background: var(--heat); border-color: var(--heat); color: #fff; }
.koda .btn:hover { background: var(--night-ink); border-color: var(--night-ink); color: var(--night); }

/* ---------- Werkwijze ---------- */
.ways { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border-top: 1px solid var(--rule-strong); margin-top: clamp(40px, 6vw, 72px); }
.way { padding: 32px 32px 40px 0; border-bottom: 1px solid var(--rule); }
.way:nth-child(odd) { border-right: 1px solid var(--rule); }
.way:nth-child(even) { padding-left: 32px; padding-right: 0; }
.way .mono { color: var(--heat); }
.way h3 { margin: 12px 0 10px; font-size: clamp(24px, 2.4vw, 34px); font-weight: 800; font-variation-settings: "wdth" 108; letter-spacing: -0.02em; line-height: 1.05; }
.way p { margin: 0; color: var(--ink-2); max-width: 32em; }
.about { padding: clamp(64px, 9vw, 120px) 0; }
.about-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 64px; margin-top: 48px; }
.about-grid p { margin: 0 0 18px; color: var(--ink-2); font-size: 18px; }
.about-grid p:first-child { color: var(--ink); font-size: 22px; line-height: 1.4; }

/* ---------- Contact ---------- */
.contact { border-top: 1px solid var(--rule-strong); background: var(--paper-2); }
.contact-in { padding: clamp(64px, 9vw, 120px) 0; display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 48px; align-items: end; }
.contact .big .serif { color: var(--heat); }
.addr { font-style: normal; display: grid; gap: 0; border-top: 1px solid var(--rule-strong); }
.addr div { display: grid; grid-template-columns: 110px 1fr; padding: 14px 0; border-bottom: 1px solid var(--rule); }
.addr .mono { color: var(--ink-3); padding-top: 3px; }
.addr a { text-decoration: none; }
.addr a:hover { color: var(--heat); }

/* ---------- Voet ---------- */
.foot { background: var(--night); color: var(--night-ink-2); overflow: hidden; }
.foot-word {
  font-weight: 900; font-variation-settings: "wdth" 125; letter-spacing: -0.04em;
  font-size: clamp(56px, 13.5vw, 220px); line-height: 0.8; color: transparent;
  -webkit-text-stroke: 1px var(--night-rule); padding-top: 56px; white-space: nowrap;
  transition: -webkit-text-stroke-color 0.4s;
}
.foot-word:hover { -webkit-text-stroke-color: var(--heat); }
.foot-row { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 16px; padding: 28px 0 32px; border-top: 1px solid var(--night-rule); margin-top: 28px; }
.foot-row a { text-decoration: none; }
.foot-row a:hover { color: var(--heat); }

/* ---------- Verschijnen bij scrollen ---------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.8s var(--ease), transform 0.8s var(--ease); }
.reveal.in { opacity: 1; transform: none; }

/* ---------- Responsief ---------- */
@media (max-width: 1080px) {
  .track { grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: 40px; }
  .track-rail, .track-fill { display: none; }
  .station.lit .dot { box-shadow: 0 0 14px var(--heat); }
  .part button { grid-template-columns: 90px minmax(0, 1fr) 140px 24px; }
  .p-cat { display: none; }
}
@media (max-width: 860px) {
  .nav { display: none; }
  .top .btn { display: none; }
  .menu-btn { display: block; }
  .nav.open {
    display: flex; flex-direction: column; gap: 0; position: absolute; top: 64px; left: 0; right: 0;
    background: var(--paper); border-bottom: 1px solid var(--rule-strong); padding: 8px var(--gutter) 16px;
  }
  .nav.open a { padding: 14px 0; border-bottom: 1px solid var(--rule); font-size: 18px; }
  .nav.open a::after { display: none; }
  .hero-foot, .catalog-intro, .koda-text, .koda-close, .about-grid, .contact-in { grid-template-columns: 1fr; }
  .hero-actions { justify-content: flex-start; }
  .figures .wrap, .koda-figs { grid-template-columns: repeat(2, 1fr); }
  .fig:nth-child(2) { border-right: 0; }
  .fig:nth-child(n+3) { border-top: 1px solid var(--rule); }
  .koda-figs .fig:nth-child(n+3) { border-top-color: var(--night-rule); }
  .fig:nth-child(3) { padding-left: 0; }
  .sec-head { grid-template-columns: 1fr auto; }
  .sec-title { display: none; }
  .trio { grid-template-columns: 1fr; gap: 40px; }
  .prod, .prod + .prod { padding: 0 0 40px; border-right: 0; border-bottom: 1px solid var(--night-rule); }
  .prod:last-child { border-bottom: 0; padding-bottom: 0; }
  .ways { grid-template-columns: 1fr; }
  .way, .way:nth-child(even) { padding: 28px 0 32px; border-right: 0; }
  .sheet { grid-template-columns: 0 1fr; }
  .hero-hint { display: none; }
}
@media (max-width: 560px) {
  body { font-size: 16px; }
  .track { grid-template-columns: 1fr 1fr; }
  .part button { grid-template-columns: 1fr 22px; gap: 8px 12px; padding: 18px 0; }
  .p-no { grid-column: 1 / -1; }
  .part .status { grid-column: 1; grid-row: 3; }
  .p-go { grid-column: 2; grid-row: 2; }
  .fig { padding: 22px 12px 24px 0; }
  .fig + .fig { padding-left: 12px; }
  .fig:nth-child(3) { padding-left: 0; }
  .sheet-body, .sheet-bar { padding-left: 18px; padding-right: 18px; }
  .sheet-plate .plate-no { font-size: 84px; }
  .buybox { grid-template-columns: 1fr; }
  .addr div { grid-template-columns: 90px 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .sheet-panel { transition: none; }
}

/* Taalwissel */
.lang { text-decoration: none; color: var(--ink-3); padding: 6px 4px; border-bottom: 1px solid transparent; }
.lang:hover { color: var(--heat); border-bottom-color: var(--heat); }
@media (max-width: 860px) { .lang { margin-left: auto; } .menu-btn { margin-left: 8px; } }
