:root {
  --bg: #0F161D;
  --bg-2: #131C25;
  --surface: #17212B;
  --line: #26333F;
  --ink: #E8ECEF;
  --ink-2: #A9B7C3;
  --ink-3: #8FA3B5;
  --green: #4FBF95;
  --amber: #E7B04A;
  --red: #E2796A;
  --serif: "Source Serif 4", ui-serif, "New York", "Iowan Old Style", Charter, Georgia, serif;
  --sans: "Instrument Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  --gutter: clamp(16px, 4vw, 40px);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 72px; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 17px/1.6 var(--sans); overflow-x: hidden; -webkit-font-smoothing: antialiased; }
img, video, svg, canvas { display: block; max-width: 100%; }
a { color: var(--green); text-underline-offset: 3px; }
a:hover { color: #7AD6B3; }
:focus-visible { outline: 2px solid var(--green); outline-offset: 3px; border-radius: 4px; }

.wrap { width: 100%; max-width: 1080px; margin-inline: auto; padding-inline: var(--gutter); }
section { position: relative; }

h1, h2, h3, h4 { margin: 0; text-wrap: balance; }
h1, h2 { font-family: var(--serif); font-weight: 500; letter-spacing: -.012em; }
h1 { font-size: clamp(2.5rem, 7vw, 5.2rem); line-height: 1.04; }
h1 em { font-style: normal; color: var(--green); display: block; }
h2 { font-size: clamp(1.95rem, 4.4vw, 3.3rem); line-height: 1.1; max-width: 22ch; }
h3 { font-family: var(--serif); font-weight: 500; font-size: 1.45rem; line-height: 1.22; }
h4 { font-size: 1rem; font-weight: 600; line-height: 1.35; }
p { margin: 0; }
.lead { font-size: clamp(1.08rem, 1.7vw, 1.28rem); line-height: 1.5; color: var(--ink-2); max-width: 58ch; margin-top: 1.1rem; }
.eyebrow, .eyebrow-small, .step-num, .stage-status { font-family: var(--mono); font-size: .76rem; letter-spacing: .13em; text-transform: uppercase; color: var(--green); }
.eyebrow { margin-bottom: 1rem; }
.caption, figcaption { color: var(--ink-3); }

.skip { position: absolute; left: -999px; top: 8px; z-index: 30; background: var(--ink); color: var(--bg); padding: .5rem .8rem; border-radius: 6px; }
.skip:focus { left: 8px; }

/* navigatie */
.nav { position: sticky; top: 0; z-index: 20; display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: .85rem var(--gutter); background: rgba(15, 22, 29, .78); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-bottom: 1px solid rgba(38, 51, 63, .6); }
.nav-brand { display: inline-flex; align-items: center; gap: .6rem; font-family: var(--serif); font-size: 1.1rem; font-weight: 500; color: var(--ink); text-decoration: none; white-space: nowrap; }
.nav nav { display: flex; gap: 1.5rem; }
.nav nav a { color: var(--ink-2); text-decoration: none; font-size: .93rem; white-space: nowrap; }
.nav nav a:hover, .nav nav a.active { color: var(--ink); }
.nav-toggle { display: none; padding: .4rem .85rem; background: transparent; color: var(--ink); font: 500 .92rem var(--sans); border: 1px solid #3B4C5B; border-radius: 999px; cursor: pointer; }
.nav-toggle:hover { background: rgba(79, 191, 149, .1); }

/* hero */
.hero { min-height: calc(92svh - 56px); display: flex; flex-direction: column; justify-content: flex-end; overflow: hidden; background: radial-gradient(70% 70% at 82% 30%, rgba(231, 176, 74, .10), transparent 65%), radial-gradient(90% 80% at 15% 100%, rgba(79, 191, 149, .13), transparent 65%); }
.hero-text { padding-top: clamp(2.6rem, 8vh, 6rem); }
.hero .lead { margin-top: 1.5rem; }
.hero-actions { margin-top: 1.9rem; display: flex; flex-wrap: wrap; gap: .6rem; }
.btn { display: inline-flex; align-items: center; gap: .6rem; padding: .78rem 1.25rem; background: var(--green); color: #0B1A15; border-radius: 999px; font-weight: 600; text-decoration: none; transition: transform .2s, background .2s; }
.btn:hover { background: #6ACFA9; color: #0B1A15; transform: translateY(-1px); }
.btn-quiet { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1px #3B4C5B; }
.btn-quiet:hover { background: rgba(79, 191, 149, .1); color: var(--ink); }
.btn-sub { font-family: var(--mono); font-size: .8rem; font-weight: 500; opacity: .72; }
.notice-inline { margin-top: 1.2rem; font-size: .9rem; color: var(--ink-3); max-width: 60ch; }
.hero-line { margin: 1.2rem 0 0; position: relative; height: clamp(170px, 27vh, 300px); }
.hero-line canvas { width: 100%; height: 100%; }
.hero-line figcaption { position: absolute; right: var(--gutter); bottom: .6rem; font-family: var(--mono); font-size: .68rem; letter-spacing: .04em; color: var(--ink-3); }

/* filmpje */
.film { padding-block: clamp(1.4rem, 3vw, 2.4rem) 0; background: linear-gradient(var(--bg), var(--bg-2)); }
.film-frame { position: relative; border-radius: clamp(10px, 1.4vw, 18px); overflow: hidden; background: #000; border: 1px solid var(--line); box-shadow: 0 30px 90px rgba(0, 0, 0, .55), 0 0 110px rgba(79, 191, 149, .10); aspect-ratio: 16 / 9; }
.film-frame video { width: 100%; height: 100%; object-fit: contain; }
.film-play { position: absolute; inset: 0; margin: auto; width: clamp(62px, 8vw, 92px); height: clamp(62px, 8vw, 92px); display: grid; place-items: center; border: 1px solid rgba(255, 255, 255, .28); border-radius: 50%; color: #fff; background: rgba(15, 22, 29, .62); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); cursor: pointer; transition: transform .2s, background .2s; }
.film-play:hover { transform: scale(1.06); background: rgba(47, 166, 123, .78); }
.film-play[hidden] { display: none; }
.chapters { list-style: none; margin: 1rem 0 0; padding: 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: .5rem; }
.chapters button { width: 100%; height: 100%; padding: .6rem .75rem; text-align: left; font: 500 .88rem/1.3 var(--sans); color: var(--ink-2); background: transparent; border: 1px solid var(--line); border-radius: 10px; cursor: pointer; transition: border-color .2s, color .2s, background .2s; }
.chapters button span { display: block; font-family: var(--mono); font-size: .72rem; color: var(--ink-3); margin-bottom: .1rem; }
.chapters button:hover { color: var(--ink); border-color: #3B4C5B; }
.chapters button.active { color: var(--ink); border-color: var(--green); background: rgba(79, 191, 149, .08); }

/* verhaal */
.story { padding-block: clamp(2.5rem, 5vw, 4rem) clamp(4rem, 9vw, 7.5rem); background: var(--bg-2); }
.chapter { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: clamp(2rem, 6vw, 5rem); margin-top: clamp(3rem, 7vw, 5.5rem); }
.chapter-flip .chapter-text { order: 2; }
.chapter-text > p:not(.year):not(.eyebrow-small) { color: var(--ink-2); margin-top: .8rem; max-width: 46ch; }
.eyebrow-small { margin-bottom: .55rem; color: var(--ink-3); }
.year { font-family: var(--mono); font-weight: 500; letter-spacing: -.03em; line-height: 1; font-size: clamp(3.6rem, 9vw, 6.4rem); }
.year-then { color: var(--amber); margin-bottom: .7rem; font-size: clamp(3rem, 7vw, 4.6rem); }
.year-now { color: var(--ink); font-variant-numeric: tabular-nums; }
.leap { margin-top: clamp(4rem, 9vw, 7rem); text-align: center; }
.art { width: 100%; max-width: 420px; justify-self: center; fill: none; stroke: #B9C6D1; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.art .faint { stroke-opacity: .35; }
.art .accent-red { stroke: var(--red); }
.art .accent-amber { stroke: var(--amber); }
.art .accent-green { stroke: var(--green); }
.art .accent-green-fill { fill: var(--green); stroke: none; }
.art .dotted { stroke-dasharray: 1 7; stroke-width: 2.4; }
.art-text { font-family: var(--mono); font-size: 13px; fill: var(--amber); stroke: none; }
.js .art.draw :is(rect, path, circle, ellipse):not(.dotted):not(.accent-green-fill) { stroke-dasharray: 1; stroke-dashoffset: 1; opacity: 0; transition: stroke-dashoffset 1.8s cubic-bezier(.4, 0, .2, 1), opacity .25s; }
.js .in .art.draw :is(rect, path, circle, ellipse):not(.dotted):not(.accent-green-fill) { stroke-dashoffset: 0; opacity: 1; }
.js .reveal { opacity: 0; transform: translateY(20px); transition: opacity .8s, transform .8s; }
.js .reveal.in { opacity: 1; transform: none; }

/* app */
.app { padding-block: clamp(4rem, 9vw, 7.5rem); background: radial-gradient(60% 30% at 80% 22%, rgba(79, 191, 149, .08), transparent 70%); }
.tour { display: grid; grid-template-columns: minmax(250px, 340px) 1fr; gap: clamp(2.5rem, 7vw, 6rem); margin-top: clamp(2.5rem, 5vw, 4rem); }
.tour-phone { position: sticky; top: 84px; align-self: start; }
.phone { position: relative; aspect-ratio: 428 / 932; border-radius: 42px; padding: 9px; background: #0A1016; border: 1px solid #33424F; box-shadow: 0 30px 70px rgba(0, 0, 0, .5), 0 0 70px rgba(79, 191, 149, .08); max-height: calc(100svh - 150px); margin-inline: auto; }
.tour-phone .phone img { position: absolute; inset: 9px; width: calc(100% - 18px); height: calc(100% - 18px); object-fit: cover; object-position: top; border-radius: 33px; opacity: 0; transition: opacity .5s; }
.tour-phone .phone img.on { opacity: 1; }
.phone-inline { display: none; aspect-ratio: auto; max-width: 300px; margin: 0 auto 1.6rem; }
.phone-inline img { width: 100%; border-radius: 33px; }
.caption { margin-top: .85rem; text-align: center; font-size: .78rem; }
.step { padding-block: clamp(2.5rem, 9vh, 5.5rem); border-top: 1px solid var(--line); opacity: .42; transition: opacity .4s; }
.step:first-child { border-top: 0; padding-top: .5rem; }
.step.active { opacity: 1; }
.step h3 { font-size: clamp(1.5rem, 2.7vw, 2.05rem); margin-top: .5rem; }
.step > p:last-child { margin-top: .85rem; color: var(--ink-2); max-width: 50ch; }

/* meten */
.measure { padding-block: clamp(4rem, 9vw, 7.5rem); background: var(--bg-2); }
.rules { list-style: none; margin: clamp(2rem, 4vw, 3rem) 0 0; padding: 0; counter-reset: r; display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem clamp(1.5rem, 3vw, 2.5rem); }
.rules li { counter-increment: r; padding-top: 1rem; border-top: 1px solid var(--line); }
.rules li::before { content: counter(r, decimal-leading-zero); font-family: var(--mono); font-size: .75rem; color: var(--green); }
.rules h3 { font-size: 1.2rem; margin-top: .35rem; }
.rules p { margin-top: .4rem; font-size: .95rem; color: var(--ink-2); }

/* methodepagina */
.method-head { padding-block: clamp(3rem, 7vw, 5rem) 0; }
.method-title { font-size: clamp(2.3rem, 5.5vw, 4rem); }
.method-part { padding-block: clamp(2.5rem, 6vw, 4rem) 0; }
.method-part:last-of-type { padding-bottom: clamp(4rem, 9vw, 7rem); }
.method-h2 { font-size: clamp(1.5rem, 3vw, 2.2rem); max-width: 30ch; }
.method-back { margin-top: 2.5rem; }
.facts { margin: 1.6rem 0 0; display: grid; }
.facts > div { display: grid; grid-template-columns: 13rem 1fr; gap: 1.25rem; padding-block: .95rem; border-top: 1px solid var(--line); }
.facts dt { color: var(--ink); font-weight: 600; }
.facts dd { margin: 0; color: var(--ink-2); max-width: 62ch; }
.caveat { margin-top: clamp(2rem, 4vw, 3rem); padding: clamp(1.25rem, 3vw, 2rem); border-left: 3px solid var(--amber); background: rgba(231, 176, 74, .06); border-radius: 0 14px 14px 0; }
.caveat h3 { font-size: 1.5rem; }
.caveat ul { margin: .9rem 0 0; padding: 0; list-style: none; display: grid; gap: .8rem; }
.caveat li { color: var(--ink-2); max-width: 72ch; }
.caveat strong { color: var(--ink); font-weight: 600; }
.explain-text { margin-top: 1.1rem; display: grid; gap: .9rem; max-width: 62ch; color: var(--ink-2); font-size: 1.06rem; }
.forecast { margin: clamp(1.8rem, 4vw, 2.6rem) 0 0; padding: clamp(1rem, 2.5vw, 1.6rem); background: var(--surface); border: 1px solid var(--line); border-radius: 14px; }
.forecast svg { width: 100%; height: auto; }
.forecast figcaption { margin-top: .8rem; font-size: .88rem; }
.forecast .fan { fill: rgba(79, 191, 149, .18); }
.forecast .past { fill: none; stroke: var(--green); stroke-width: 4; stroke-linecap: round; }
.forecast .future { fill: none; stroke: var(--amber); stroke-width: 3.5; stroke-linecap: round; stroke-dasharray: 1 11; }
.forecast .now-halo { fill: rgba(79, 191, 149, .25); }
.forecast .now-dot { fill: var(--ink); }
.forecast .label { fill: var(--ink-3); font: 500 19px var(--sans); }
.forecast .label-strong { fill: var(--ink); font: 600 20px var(--sans); }
.explain-steps { grid-template-columns: repeat(4, 1fr); margin-top: 1.4rem; }
.tech { margin-top: 2rem; }
.tech summary { cursor: pointer; color: var(--ink-2); padding-block: .4rem; }

/* simulator */
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.sim-head { padding-block: clamp(3rem, 7vw, 5rem) 0; }
.sim-main { padding-block: clamp(2rem, 4vw, 3rem) clamp(3rem, 6vw, 4rem); }
.sim-player { padding: clamp(1rem, 2.5vw, 1.6rem); background: var(--surface); border: 1px solid var(--line); border-radius: 14px; scroll-margin-top: 72px; }
.sim-top { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 1rem 2rem; }
.sim-name { font-weight: 600; }
.sim-clock { font-family: var(--mono); color: var(--ink-3); font-size: .95rem; }
.sim-read { display: flex; flex-wrap: wrap; gap: .75rem clamp(1rem, 3vw, 2.25rem); margin: 0; }
.sim-read dt { font-size: .8rem; color: var(--ink-3); }
.sim-read dd { margin: 0; font-family: var(--mono); font-size: 1.35rem; font-weight: 500; }
.sim-mode { display: flex; flex-wrap: wrap; align-items: center; gap: .4rem .6rem; margin: 1rem 0 0; padding: 0; border: 0; }
.sim-mode-label { font-size: .85rem; color: var(--ink-3); }
.sim-mode label { cursor: pointer; }
.sim-mode input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.sim-mode span:not(.sim-mode-label) { display: block; padding: .35rem .8rem; font-size: .88rem; color: var(--ink-2); border: 1px solid var(--line); border-radius: 999px; transition: border-color .2s, background .2s, color .2s; }
.sim-mode label:hover span { border-color: #3B4C5B; color: var(--ink); }
.sim-mode input:checked + span { color: var(--ink); border-color: var(--green); background: rgba(79, 191, 149, .1); }
.sim-mode input:focus-visible + span { outline: 2px solid var(--green); outline-offset: 2px; }
.sim-legend [hidden], .sim-read [hidden] { display: none; }
.sim-source { margin: 0 0 .8rem; }
.sim-source span:not(.sim-mode-label) { font-size: .95rem; padding: .5rem 1rem; }
.sim-origin { margin-bottom: 1rem; padding: .8rem 1rem; border-left: 3px solid var(--green); background: rgba(79, 191, 149, .06); border-radius: 0 10px 10px 0; color: var(--ink-2); font-size: .95rem; max-width: 78ch; }
.sim-origin strong { color: var(--ink); font-weight: 600; }
.sim-credit { margin-top: .8rem; font-size: .8rem; color: var(--ink-3); }
.sim-credit:empty { display: none; }
.sim-move { fill: #9B86D6; fill-opacity: .55; }
.k-move { width: 12px; height: 12px; border-radius: 2px; background: #9B86D6; }
.sim-dose { fill: #5C8FD6; }
.k-dose { width: 0; height: 0; border-left: 6px solid transparent; border-right: 6px solid transparent; border-bottom: 11px solid #5C8FD6; }
.sim-chart { width: 100%; height: auto; margin-top: 1rem; touch-action: pan-y; cursor: crosshair; }
.sim-band { fill: rgba(79, 191, 149, .07); }
.sim-axis { fill: var(--ink-3); font: 500 15px var(--sans); }
.sim-tick { stroke: #4A5B6A; }
.sim-meal { stroke: #4A5B6A; stroke-dasharray: 3 5; }
.sim-now-line { fill: none; stroke: var(--green); stroke-width: 3.2; stroke-linejoin: round; stroke-linecap: round; }
.sim-pred { fill: none; stroke: var(--amber); stroke-width: 3; stroke-linecap: round; stroke-dasharray: 1 8; }
.sim-playhead { stroke: var(--ink-3); stroke-opacity: .5; }
.sim-halo { fill: rgba(79, 191, 149, .25); }
.sim-dot { fill: var(--ink); }
.sim-alarm { fill: var(--surface); stroke: var(--amber); stroke-width: 3; }
.sim-hit { fill: var(--red); stroke: var(--surface); stroke-width: 2; }
.sim-miss { fill: var(--surface); stroke: var(--red); stroke-width: 3; }
.sim-controls { display: flex; flex-wrap: wrap; align-items: center; gap: .75rem 1.25rem; margin-top: .75rem; }
.sim-controls .btn { border: 0; cursor: pointer; font: 600 1rem var(--sans); }
.sim-slider { flex: 1 1 200px; display: block; }
.sim-slider input { width: 100%; accent-color: var(--green); }
.sim-legend { list-style: none; margin: 1rem 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: .35rem 1.1rem; font-size: .84rem; color: var(--ink-2); }
.sim-legend li { display: flex; align-items: center; gap: .45rem; }
.k { display: inline-block; flex: none; }
.k-line { width: 18px; height: 3px; border-radius: 2px; background: var(--green); }
.k-dots { width: 18px; border-top: 3px dotted var(--amber); }
.k-meal { width: 0; height: 14px; border-left: 2px dashed #6B7E8F; margin-inline: 8px; }
.k-hit { width: 12px; height: 12px; border-radius: 50%; background: var(--red); }
.k-miss { width: 12px; height: 12px; border-radius: 50%; border: 2px solid var(--red); }
.sim-gap { margin-top: clamp(2.5rem, 6vw, 4rem); }
.sim-note { margin-top: .4rem; color: var(--ink-2); }
.sim-wall { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: .6rem; margin-top: 1.1rem; }
.sim-card { display: grid; gap: .3rem; padding: .6rem .7rem; background: transparent; border: 1px solid var(--line); border-radius: 10px; color: var(--ink-2); font: 500 .85rem var(--sans); text-align: left; cursor: pointer; transition: border-color .2s, background .2s; }
.sim-card:hover { border-color: #3B4C5B; color: var(--ink); }
.sim-card[aria-pressed="true"] { border-color: var(--green); background: rgba(79, 191, 149, .08); color: var(--ink); }
.sim-card svg { width: 100%; height: 34px; }
.sim-spark { fill: none; stroke: var(--green); stroke-width: 1.2; vector-effect: non-scaling-stroke; }
.sim-explain { padding-block: clamp(3.5rem, 7vw, 5.5rem) clamp(4rem, 9vw, 7rem); }
.sim-steps { margin-bottom: clamp(2rem, 5vw, 3rem); }
.sim-caveat .method-h2 { max-width: none; }
.sim-tech { margin-top: .6rem; color: var(--ink-2); font-size: .93rem; max-width: 70ch; }

/* koppeling */
.link { padding-block: clamp(4rem, 9vw, 7.5rem) 0; }
.link-frame { margin: clamp(2rem, 4vw, 3rem) 0 0; border-radius: clamp(10px, 1.4vw, 18px); overflow: hidden; background: #000; border: 1px solid var(--line); aspect-ratio: 16 / 9; }
.link-frame video { width: 100%; height: 100%; object-fit: contain; }
.link-caption { text-align: left; }

/* routekaart */
.road { padding-block: clamp(4rem, 9vw, 7.5rem); background: radial-gradient(60% 24% at 10% 30%, rgba(231, 176, 74, .06), transparent 70%); }
.reality { margin-top: 1.8rem; max-width: 66ch; color: var(--ink-2); }
.reality strong { color: var(--ink); font-weight: 600; }
.roadmap { list-style: none; margin: clamp(2.8rem, 6vw, 4.5rem) 0 0; padding: 0; position: relative; }
.stage { position: relative; padding: 0 0 clamp(2.2rem, 5vw, 3.2rem) clamp(2.2rem, 5vw, 3.6rem); max-width: 720px; }
.stage::before { content: ""; position: absolute; left: 7px; top: 1.2rem; bottom: -.3rem; border-left: 2px dotted #4A5B6A; }
.stage::after { content: ""; position: absolute; left: 0; top: .25rem; width: 16px; height: 16px; border-radius: 50%; background: var(--bg); box-shadow: inset 0 0 0 2px #6B7E8F; }
.stage-now::before { border-left: 2px solid var(--green); }
.stage-now::after { background: var(--green); box-shadow: 0 0 0 6px rgba(79, 191, 149, .18); }
.stage-end { padding-bottom: 0; }
.stage-end::before { display: none; }
.stage-end::after { box-shadow: inset 0 0 0 2px var(--amber); }
.stage-status { color: var(--ink-3); }
.stage-now .stage-status { color: var(--green); }
.stage-end .stage-status { color: var(--amber); }
.stage h3 { font-size: clamp(1.35rem, 2.5vw, 1.75rem); margin-top: .35rem; }
.stage > p { margin-top: .55rem; color: var(--ink-2); }
.gate { font-size: .92rem; }
.gate b { color: var(--ink); font-weight: 600; }

/* over mij */
.about { padding-block: clamp(3rem, 7vw, 5.5rem) clamp(4rem, 9vw, 7rem); }
.about-grid { display: grid; grid-template-columns: minmax(180px, 300px) 1fr; align-items: start; gap: clamp(2rem, 6vw, 4.5rem); }
.about-text > p:not(.eyebrow):not(.hero-actions):not(.method-back) { margin-top: 1.1rem; color: var(--ink-2); max-width: 60ch; }
.about-text .method-title { font-size: clamp(2.1rem, 4.8vw, 3.4rem); margin-bottom: 1.6rem; }

/* contact */
.contact { padding-block: 0 clamp(4rem, 9vw, 7rem); }
.contact-grid { display: grid; grid-template-columns: minmax(180px, 280px) 1fr; align-items: center; gap: clamp(2rem, 6vw, 4rem); }
.contact-photo { width: 100%; height: auto; }

/* niet */
.not { padding-block: clamp(3.5rem, 7vw, 6rem); background: var(--bg-2); border-top: 1px solid var(--line); }
.not-grid { list-style: none; margin: 2rem 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(1.25rem, 3vw, 2.25rem); }
.not-grid h3 { font-size: 1.2rem; }
.not-grid p { margin-top: .4rem; font-size: .93rem; color: var(--ink-2); }

.foot { padding-block: 2.5rem 3rem; font-size: .85rem; color: var(--ink-3); border-top: 1px solid var(--line); }
.foot-brand { display: flex; align-items: center; gap: .8rem; font-family: var(--serif); color: var(--ink); font-size: 1.1rem; margin-bottom: .9rem; }
.foot-brand span { display: block; font-family: var(--sans); font-size: .85rem; color: var(--ink-3); }
.foot p { max-width: 78ch; }
.foot-links { display: flex; gap: 1.25rem; margin-top: .8rem; }


@media (max-width: 960px) {
  .not-grid { grid-template-columns: repeat(2, 1fr); }
  .rules { grid-template-columns: repeat(2, 1fr); }
  .chapters { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 1120px) {
  .nav nav { gap: 1rem; }
}
@media (max-width: 860px) {
  .nav { position: sticky; }
  .nav-toggle { display: block; }
  .nav nav { display: none; position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; gap: 0; padding: .4rem var(--gutter) 1rem; background: #0F161D; border-bottom: 1px solid var(--line); box-shadow: 0 18px 40px rgba(0, 0, 0, .45); }
  .nav nav.open { display: flex; }
  .nav nav a { padding: .8rem 0; font-size: 1.05rem; border-bottom: 1px solid rgba(38, 51, 63, .6); }
  .nav nav a:last-child { border-bottom: 0; }
}
@media (max-width: 800px) {
  .tour { grid-template-columns: 1fr; }
  .tour-phone { display: none; }
  .phone-inline { display: block; }
  .phone { max-height: none; }
  .step { opacity: 1; padding-block: 3rem; }
  .step:first-child { padding-top: 0; }
  .explain-steps { grid-template-columns: 1fr 1fr; }
  .contact-grid, .about-grid { grid-template-columns: 1fr; }
  .sim-wall { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .contact-photo { max-width: 240px; }
  .facts > div { grid-template-columns: 1fr; gap: .25rem; }
  .chapter { grid-template-columns: 1fr; gap: 1.8rem; }
  .chapter-flip .chapter-text { order: 0; }
  .art { max-width: 340px; justify-self: start; }
}
@media (max-width: 620px) {
  body { font-size: 16.5px; }
  .rules, .not-grid { grid-template-columns: 1fr; }
  .sim-wall { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .chapters { grid-template-columns: 1fr 1fr; }
  .chapters li:last-child { grid-column: 1 / -1; }
  .hero { min-height: auto; }
  .hero-line { height: 170px; }
  .phone-inline { max-width: 250px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}
@media print {
  .nav, .hero-line, .film-play { display: none; }
  .js .reveal { opacity: 1; transform: none; }
}
