/* Colorado Springs Home Inspector
   Palette comes from the logo: ink #070E35, flag #FA6B44.
   Extra shades: paper #F6F1E8, stone #ECE4D6, flag-ink #A63F1A (AA on paper), muted #4A5272. */

@font-face { font-family: "Young Serif"; src: url(/assets/fonts/youngserif.woff2) format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Schibsted Grotesk"; src: url(/assets/fonts/schibsted.woff2) format("woff2"); font-weight: 400 800; font-style: normal; font-display: swap; }
@font-face { font-family: "Schibsted Grotesk"; src: url(/assets/fonts/schibsted-italic.woff2) format("woff2"); font-weight: 400 600; font-style: italic; font-display: swap; }

:root {
  --ink: #070E35;
  --ink-2: #131B4A;
  --ink-3: #1E2759;
  --flag: #FA6B44;
  --flag-ink: #A63F1A;
  --flag-pale: #FDE3D9;
  --paper: #F6F1E8;
  --paper-2: #FBF8F2;
  --stone: #ECE4D6;
  --stone-2: #DDD2BF;
  --muted: #4A5272;
  --on-ink: #F6F1E8;
  --on-ink-muted: #C9CEE0;
  --line: rgba(7, 14, 53, 0.14);
  --line-strong: rgba(7, 14, 53, 0.32);
  --serif: "Young Serif", Georgia, "Times New Roman", serif;
  --sans: "Schibsted Grotesk", system-ui, -apple-system, "Segoe UI", sans-serif;
  --wrap: 1240px;
  --gutter: clamp(1.1rem, 4vw, 2.5rem);
  --r: 4px;
  --ease: cubic-bezier(.2, .7, .2, 1);
  --dock-h: 0px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 96px; }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font: 400 1.0625rem/1.65 var(--sans);
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
  overflow-x: hidden;
  padding-bottom: var(--dock-h);
}
img, svg, picture { display: block; max-width: 100%; }
img { height: auto; }
a { color: var(--flag-ink); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--ink); }
h1, h2, h3 { font-family: var(--serif); font-weight: 400; line-height: 1.12; letter-spacing: -0.01em; text-wrap: balance; margin: 0 0 .6em; }
h1 { font-size: clamp(2.3rem, 5.4vw, 4.4rem); }
h2 { font-size: clamp(1.75rem, 3.4vw, 2.75rem); }
h3 { font-size: clamp(1.25rem, 2vw, 1.5rem); line-height: 1.25; }
p { margin: 0 0 1.1em; text-wrap: pretty; }
ul, ol { margin: 0 0 1.2em; padding-left: 1.2em; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--flag); outline-offset: 3px; border-radius: 2px; }
.sr-only { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 1rem; top: -100px; z-index: 200; background: var(--ink); color: var(--on-ink); padding: .7rem 1rem; border-radius: var(--r); }
.skip:focus { top: 1rem; }
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
main:focus { outline: none; }

.eyebrow { display: inline-flex; align-items: center; gap: .55rem; font: 700 .76rem/1 var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--flag-ink); margin-bottom: 1.1rem; }
.eyebrow::before { content: ""; width: 22px; height: 2px; background: currentColor; }
.on-ink .eyebrow, .eyebrow--light { color: var(--flag); }
.lede { font-size: clamp(1.1rem, 1.6vw, 1.3rem); line-height: 1.55; color: var(--muted); max-width: 40em; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .55rem; min-height: 48px; padding: .75rem 1.35rem; border-radius: var(--r); border: 2px solid transparent; font: 700 .98rem/1.1 var(--sans); text-decoration: none; cursor: pointer; transition: transform .18s var(--ease), background .18s, color .18s, border-color .18s; }
.btn:active { transform: translateY(1px); }
.btn--flag { background: var(--flag); color: var(--ink); }
.btn--flag:hover { background: #ff7f5b; color: var(--ink); }
.btn--ink { background: var(--ink); color: var(--on-ink); }
.btn--ink:hover { background: var(--ink-3); color: #fff; }
.btn--line { border-color: currentColor; color: var(--ink); background: transparent; }
.btn--line:hover { background: var(--ink); color: var(--on-ink); border-color: var(--ink); }
.on-ink .btn--line { color: var(--on-ink); }
.on-ink .btn--line:hover { background: var(--on-ink); color: var(--ink); border-color: var(--on-ink); }
.btn svg { width: 18px; height: 18px; stroke: currentColor; fill: none; stroke-width: 2; }

/* Top line + language */
.topline { background: var(--ink); color: var(--on-ink-muted); font-size: .82rem; }
.topline__inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 40px; }
.topline__note { margin: 0; }
.lang { display: flex; align-items: center; gap: .5rem; }
.lang__label { display: inline-flex; align-items: center; gap: .4rem; color: var(--on-ink-muted); }
.lang__label svg { width: 16px; height: 16px; stroke: var(--flag); fill: none; stroke-width: 1.6; }
.lang__select { appearance: none; -webkit-appearance: none; background: var(--ink-3) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23FA6B44' stroke-width='2.4'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") no-repeat right .55rem center / 12px; color: var(--on-ink); border: 1px solid rgba(246, 241, 232, .22); border-radius: var(--r); padding: .32rem 1.9rem .32rem .65rem; font: 600 .82rem/1.2 var(--sans); cursor: pointer; min-height: 32px; }
.lang__select:hover { border-color: var(--flag); }
.lang__select option { color: var(--ink); background: #fff; }

/* Google Translate: hide Google's own chrome, keep ours */
.goog-te-banner-frame, iframe.skiptranslate, .skiptranslate > iframe, #goog-gt-tt, .goog-te-balloon-frame, .goog-tooltip, .goog-te-spinner-pos, .VIpgJd-ZVi9od-ORHb-OEVmcd, .VIpgJd-ZVi9od-aZ2wEe-wOHMyf, .VIpgJd-yAWNEb-L7lbkb { display: none !important; visibility: hidden !important; }
body { top: 0 !important; position: static !important; }
.goog-text-highlight, font[style] { background: none !important; box-shadow: none !important; }
#google_translate_element { display: none !important; }
html.translated-ltr .masthead__inner, html.translated-rtl .masthead__inner { flex-wrap: nowrap; }
html.translated-ltr .nav__link, html.translated-ltr .btn { white-space: nowrap; }

/* Masthead */
.masthead { position: sticky; top: 0; z-index: 60; background: rgba(246, 241, 232, .94); backdrop-filter: saturate(1.4) blur(10px); -webkit-backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid var(--line); transition: box-shadow .25s; }
.masthead.is-stuck { box-shadow: 0 8px 30px -18px rgba(7, 14, 53, .45); }
.masthead__inner { display: flex; align-items: center; gap: 1.5rem; min-height: 78px; }
.masthead__logo { flex: 0 0 auto; margin-right: auto; }
.masthead__logo img { width: 300px; height: auto; }
.nav__list { display: flex; align-items: center; gap: .25rem; list-style: none; margin: 0; padding: 0; }
.nav__link { display: inline-flex; align-items: center; gap: .35rem; padding: .6rem .8rem; min-height: 44px; border: 0; background: none; color: var(--ink); font: 600 .97rem/1 var(--sans); text-decoration: none; cursor: pointer; border-radius: var(--r); position: relative; }
.nav__link::after { content: ""; position: absolute; left: .8rem; right: .8rem; bottom: .35rem; height: 2px; background: var(--flag); transform: scaleX(0); transform-origin: left; transition: transform .25s var(--ease); }
.nav__link:hover::after, .nav__link[aria-current="page"]::after, .nav__trigger[aria-expanded="true"]::after { transform: scaleX(1); }
.nav__link svg { width: 16px; height: 16px; stroke: currentColor; fill: none; stroke-width: 2.2; transition: transform .2s; }
.nav__trigger[aria-expanded="true"] svg { transform: rotate(180deg); }
.nav__item--mega { position: static; }

.mega { position: absolute; left: 0; right: 0; top: 100%; background: var(--paper-2); border-top: 1px solid var(--line); border-bottom: 3px solid var(--ink); box-shadow: 0 30px 60px -30px rgba(7, 14, 53, .45); opacity: 0; transform: translateY(-6px); transition: opacity .2s var(--ease), transform .2s var(--ease); }
.mega.is-open { opacity: 1; transform: none; }
.mega::before { content: ""; position: absolute; left: 0; right: 0; bottom: 100%; height: 22px; } /* invisible hover bridge over the trigger gap */
.mega__inner { max-width: var(--wrap); margin: 0 auto; padding: 2rem var(--gutter) 2.2rem; display: grid; grid-template-columns: repeat(3, 1fr) 280px; gap: 2rem; }
.mega__group { font: 700 .72rem/1 var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--flag-ink); margin: 0 0 1rem; padding-bottom: .7rem; border-bottom: 1px solid var(--line); }
.mega__col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .25rem; }
.mega__col a { display: block; padding: .6rem .7rem; margin: 0 -.7rem; border-radius: var(--r); text-decoration: none; color: var(--ink); }
.mega__col a strong { display: block; font: 400 1.12rem/1.3 var(--serif); }
.mega__col a span { display: block; font-size: .88rem; color: var(--muted); line-height: 1.45; margin-top: .2rem; }
.mega__col a:hover, .mega__col a[aria-current="page"] { background: var(--stone); }
.mega__feature { display: block; text-decoration: none; color: var(--on-ink); background: var(--ink); border-radius: var(--r); overflow: hidden; }
.mega__feature img { aspect-ratio: 16 / 9; object-fit: cover; width: 100%; }
.mega__feature-t { display: block; font: 400 1.15rem/1.25 var(--serif); padding: 1rem 1rem .3rem; }
.mega__feature-s { display: block; font-size: .86rem; color: var(--on-ink-muted); padding: 0 1rem 1.1rem; line-height: 1.45; }
.mega__feature:hover .mega__feature-t { color: var(--flag); }

.menu-btn { display: none; width: 48px; height: 48px; border: 1px solid var(--line-strong); border-radius: var(--r); background: transparent; cursor: pointer; align-items: center; justify-content: center; }
.menu-btn__bars, .menu-btn__bars::before, .menu-btn__bars::after { display: block; width: 20px; height: 2px; background: var(--ink); position: relative; content: ""; }
.menu-btn__bars::before { position: absolute; top: -6px; }
.menu-btn__bars::after { position: absolute; top: 6px; }

/* Bottom sheet (mobile menu) */
.sheet { position: fixed; inset: 0; z-index: 120; }
.sheet[hidden] { display: none; }
.sheet__scrim { position: absolute; inset: 0; background: rgba(7, 14, 53, .55); opacity: 0; transition: opacity .25s; }
.sheet__panel { position: absolute; left: 0; right: 0; bottom: 0; max-height: 86vh; overflow-y: auto; background: var(--paper-2); border-radius: 18px 18px 0 0; padding: .6rem 1.1rem calc(1.4rem + env(safe-area-inset-bottom)); transform: translateY(100%); transition: transform .32s var(--ease); outline: none; }
.sheet.is-open .sheet__scrim { opacity: 1; }
.sheet.is-open .sheet__panel { transform: none; }
.sheet__grab { width: 44px; height: 5px; border-radius: 3px; background: var(--stone-2); margin: .2rem auto .8rem; }
.sheet__head { display: flex; align-items: center; justify-content: space-between; margin-bottom: .4rem; }
.sheet__title { font: 400 1.35rem/1.2 var(--serif); margin: 0; }
.sheet__x { width: 44px; height: 44px; border: 0; background: var(--stone); border-radius: 50%; display: grid; place-items: center; cursor: pointer; }
.sheet__x svg { width: 20px; height: 20px; stroke: var(--ink); stroke-width: 2.2; fill: none; }
.sheet__list { list-style: none; margin: 0; padding: 0; counter-reset: s; }
.sheet__list li { border-bottom: 1px solid var(--line); }
.sheet__list a { display: grid; grid-template-columns: 2.2rem 1fr; padding: .85rem 0; text-decoration: none; color: var(--ink); counter-increment: s; }
.sheet__list a::before { content: counter(s, decimal-leading-zero); font: 700 .78rem/1.9 var(--sans); color: var(--flag-ink); grid-row: span 2; }
.sheet__list span { font: 400 1.1rem/1.3 var(--serif); }
.sheet__list small { color: var(--muted); font-size: .86rem; line-height: 1.4; }
.sheet__list a[aria-current="page"] span { color: var(--flag-ink); }

/* Dock */
.dock { display: none; }

/* ---------- Home hero ---------- */
.hero { position: relative; background: var(--ink); color: var(--on-ink); overflow: hidden; isolation: isolate; }
.hero__media { position: absolute; inset: 0; z-index: -2; }
.hero__media img { width: 100%; height: 100%; object-fit: cover; object-position: 60% 40%; }
.hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(7, 14, 53, .92) 0%, rgba(7, 14, 53, .74) 38%, rgba(7, 14, 53, .08) 70%), linear-gradient(0deg, rgba(7, 14, 53, .65), rgba(7, 14, 53, 0) 40%); }
.hero { padding-block: clamp(56px, 9vw, 120px); }
.hero__inner { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); align-items: center; gap: 2rem; }
.hero h1 { color: #fff; max-width: 13ch; margin-bottom: .4em; }
.hero h1 em { font-style: normal; color: var(--flag); }
.hero .lede { color: var(--on-ink-muted); max-width: 34em; }
.hero__actions { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 1.8rem; }
.hero__ticket { justify-self: end; width: min(100%, 360px); background: rgba(246, 241, 232, .97); color: var(--ink); border-radius: var(--r); padding: 1.3rem 1.4rem 1.2rem; position: relative; box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .6); }
.hero__ticket::before { content: ""; position: absolute; left: -1px; top: 18px; width: 6px; height: 46px; background: var(--flag); }
.hero__ticket h2 { font-size: 1.2rem; margin-bottom: .8rem; }
.hero__ticket ol { list-style: none; padding: 0; margin: 0; counter-reset: t; }
.hero__ticket li { counter-increment: t; display: grid; grid-template-columns: 1.8rem 1fr; gap: .2rem; padding: .55rem 0; border-top: 1px dashed var(--line-strong); font-size: .93rem; line-height: 1.4; }
.hero__ticket li::before { content: counter(t, decimal-leading-zero); font-weight: 700; color: var(--flag-ink); font-size: .8rem; padding-top: .1rem; }
.hero__ticket a { color: var(--ink); text-decoration: none; font-weight: 600; }
.hero__ticket a:hover { color: var(--flag-ink); text-decoration: underline; }
.hero__caption { position: absolute; right: var(--gutter); top: 1rem; font-size: .75rem; color: rgba(246, 241, 232, .75); margin: 0; }

/* ---------- Section scaffolding ---------- */
.section { padding: clamp(4rem, 9vw, 7.5rem) 0; }
.section--stone { background: var(--stone); }
.section--ink { background: var(--ink); color: var(--on-ink); }
.section--ink a:not(.btn) { color: var(--flag); }
.section-head { text-align: center; max-width: 760px; margin: 0 auto clamp(2.4rem, 5vw, 3.6rem); }
.section-head .lede { margin-left: auto; margin-right: auto; }
.section--ink .lede { color: var(--on-ink-muted); }

/* ---------- System explorer (home) ---------- */
.explorer { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: clamp(1.5rem, 4vw, 3.5rem); align-items: start; }
.explorer__stage { position: relative; background: var(--paper-2); border: 1px solid var(--line); border-radius: var(--r); padding: clamp(1rem, 3vw, 2rem); }
.explorer__svg { width: 100%; height: auto; }
.explorer__svg .zone { cursor: pointer; }
.explorer__svg .zone .fill { fill: transparent; transition: fill .2s; }
.explorer__svg .zone:hover .fill, .explorer__svg .zone.is-active .fill { fill: rgba(250, 107, 68, .2); }
.explorer__svg .zone:focus { outline: none; }
.explorer__svg .zone:focus-visible .fill { fill: rgba(250, 107, 68, .3); stroke: var(--flag); stroke-width: 3; }
.explorer__svg .pin circle { fill: var(--ink); stroke: var(--paper-2); stroke-width: 3; transition: fill .2s; }
.explorer__svg .pin text { fill: #fff; font: 700 15px var(--sans); text-anchor: middle; dominant-baseline: central; }
.explorer__svg .zone.is-active .pin circle, .explorer__svg .zone:hover .pin circle { fill: var(--flag); }
.explorer__svg .zone.is-active .pin text, .explorer__svg .zone:hover .pin text { fill: var(--ink); }
.explorer__tabs { display: flex; flex-wrap: wrap; gap: .4rem; margin-top: 1rem; list-style: none; padding: 0; }
.explorer__tabs button { border: 1px solid var(--line-strong); background: transparent; border-radius: 999px; padding: .45rem .85rem; font: 600 .85rem/1 var(--sans); cursor: pointer; min-height: 38px; color: var(--ink); }
.explorer__tabs button[aria-selected="true"] { background: var(--ink); color: var(--on-ink); border-color: var(--ink); }
.explorer__panel { border-top: 3px solid var(--ink); padding-top: 1.4rem; min-height: 470px; }
.explorer__panel h3 { font-size: clamp(1.5rem, 2.4vw, 2rem); margin-bottom: .4rem; }
.explorer__count { font: 700 .78rem/1 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--flag-ink); margin-bottom: .8rem; display: block; }
.explorer__cols { display: grid; grid-template-columns: 1fr 1fr; gap: 1.4rem; margin-top: 1.2rem; }
.explorer__cols h4 { font: 700 .78rem/1 var(--sans); letter-spacing: .12em; text-transform: uppercase; margin: 0 0 .6rem; color: var(--muted); }
.explorer__cols ul { list-style: none; padding: 0; margin: 0; font-size: .95rem; }
.explorer__cols li { padding: .4rem 0 .4rem 1.1rem; border-bottom: 1px solid var(--line); position: relative; line-height: 1.45; }
.explorer__cols li::before { content: ""; position: absolute; left: 0; top: .9rem; width: 7px; height: 7px; background: var(--flag); }
.explorer__cols .is-out li::before { background: transparent; border: 1.5px solid var(--muted); }
.explorer__local { margin-top: 1.4rem; background: var(--ink); color: var(--on-ink); padding: 1rem 1.2rem; border-radius: var(--r); font-size: .95rem; }
.explorer__local strong { color: var(--flag); font-weight: 700; }
.explorer__local a { color: var(--flag); }

/* ---------- Front Range index (home) ---------- */
.index { list-style: none; margin: 0; padding: 0; border-top: 2px solid var(--ink); }
.index li { border-bottom: 1px solid var(--line-strong); }
.index a { display: grid; grid-template-columns: 4.5rem minmax(0, 5fr) minmax(0, 6fr) 180px; gap: 1.5rem; align-items: center; padding: 1.5rem 0; text-decoration: none; color: var(--ink); position: relative; }
.index__n { font: 400 2.2rem/1 var(--serif); color: var(--flag-ink); }
.index__t { font: 400 clamp(1.35rem, 2.2vw, 1.8rem)/1.2 var(--serif); }
.index__s { color: var(--muted); font-size: 1rem; line-height: 1.5; }
.index__img { width: 180px; height: 104px; overflow: hidden; border-radius: var(--r); }
.index__img img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.02); filter: saturate(.85); transition: transform .5s var(--ease), filter .4s; }
.index a:hover .index__img img { transform: scale(1.09); filter: saturate(1); }
.index a:hover .index__t { color: var(--flag-ink); }

/* ---------- Contract timeline (home) ---------- */
.timeline { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: clamp(2rem, 5vw, 4.5rem); align-items: start; }
.timeline__intro { position: sticky; top: 120px; }
.timeline__track { position: relative; }
.timeline__steps { list-style: none; margin: 0; padding: 0; position: relative; }
.timeline__steps::before { content: ""; position: absolute; left: 21px; top: 10px; bottom: 10px; width: 2px; background: rgba(246, 241, 232, .18); }
.timeline__bar { position: absolute; z-index: 1; left: 21px; top: 10px; width: 2px; background: var(--flag); height: 0; transition: height .5s var(--ease); }
.timeline__step { position: relative; padding: 0 0 2.2rem 4rem; }
.timeline__step:last-child { padding-bottom: 0; }
.timeline__dot { z-index: 2; position: absolute; left: 0; top: 0; width: 44px; height: 44px; border-radius: 50%; border: 2px solid rgba(246, 241, 232, .35); background: var(--ink); display: grid; place-items: center; font: 700 .9rem/1 var(--sans); color: var(--on-ink-muted); transition: background .3s, border-color .3s, color .3s; }
.timeline__step.is-lit .timeline__dot { background: var(--flag); border-color: var(--flag); color: var(--ink); }
.timeline__step h3 { color: #fff; margin: .45rem 0 .45rem; font-size: 1.35rem; }
.timeline__step p { color: var(--on-ink-muted); margin: 0; max-width: 38em; }
.timeline__tag { display: inline-block; font: 700 .72rem/1 var(--sans); letter-spacing: .12em; text-transform: uppercase; color: var(--flag); margin-top: .7rem; }

/* ---------- Prep checklist (home) ---------- */
.prep { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.prep__photo { position: relative; }
.prep__photo img { border-radius: var(--r); aspect-ratio: 4 / 5; object-fit: cover; width: 100%; }
.prep__photo figcaption { font-size: .82rem; color: var(--muted); margin-top: .6rem; }

/* ---------- Guide page head ---------- */
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: .35rem; padding: 0; margin: 0 0 1.4rem; font-size: .86rem; }
.crumbs li + li::before { content: "/"; margin-right: .35rem; color: var(--muted); }
.crumbs a { color: var(--muted); }
.crumbs [aria-current] { color: var(--ink); font-weight: 600; }
.ghead { --ghead-gap: clamp(2.5rem, 5vw, 4rem); padding: var(--ghead-gap) 0 0; }
.ghead__grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(1.5rem, 4vw, 3.5rem); align-items: end; }
.ghead h1 { font-size: clamp(2.2rem, 4.6vw, 3.8rem); max-width: 16ch; }
.ghead__meta { display: flex; flex-wrap: wrap; gap: .5rem 1.6rem; padding: 1rem 0; margin-top: 1.6rem; border-top: 1px solid var(--line-strong); font-size: .88rem; color: var(--muted); }
.ghead__meta b { color: var(--ink); font-weight: 700; }
.ghead__figure { margin: 0; position: relative; }
.ghead__figure img { width: 100%; aspect-ratio: 4 / 3.3; object-fit: cover; border-radius: var(--r) var(--r) 0 0; }
.ghead__figure figcaption { background: var(--ink); color: var(--on-ink-muted); font-size: .8rem; padding: .65rem .9rem; border-radius: 0 0 var(--r) var(--r); }
.ghead__band { height: 14px; background: repeating-linear-gradient(90deg, var(--ink) 0 40px, var(--flag) 40px 52px); margin-top: var(--ghead-gap); }

/* ---------- Article layout ---------- */
.article { padding: clamp(3rem, 6vw, 5rem) 0 clamp(3rem, 6vw, 5rem); }
.article__grid { display: grid; grid-template-columns: 250px minmax(0, 1fr); gap: clamp(2rem, 5vw, 4.5rem); align-items: start; }
.toc { position: sticky; top: 110px; font-size: .9rem; }
.toc__h { font: 700 .72rem/1 var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--muted); margin: 0 0 .9rem; }
.toc ol { list-style: none; margin: 0; padding: 0; border-left: 2px solid var(--line); }
.toc a { display: block; padding: .45rem 0 .45rem 1rem; margin-left: -2px; border-left: 2px solid transparent; color: var(--muted); text-decoration: none; line-height: 1.35; }
.toc a:hover { color: var(--ink); }
.toc a.is-active { color: var(--ink); border-left-color: var(--flag); font-weight: 600; }
.toc__cta { margin-top: 1.6rem; padding: 1.1rem; background: var(--ink); color: var(--on-ink); border-radius: var(--r); }
.toc__cta p { font-size: .88rem; color: var(--on-ink-muted); margin-bottom: .8rem; }
.toc__cta .btn { width: 100%; min-height: 44px; font-size: .9rem; }
.prose { max-width: 740px; }
.prose > h2 { margin-top: 2.6em; padding-top: .9em; border-top: 1px solid var(--line-strong); }
.prose > h2:first-child { margin-top: 0; border-top: 0; padding-top: 0; }
.prose > h3 { margin-top: 1.8em; }
.prose ul li, .prose ol li { margin-bottom: .45em; }
.prose ul { list-style: none; padding-left: 0; }
.prose ul > li { position: relative; padding-left: 1.4rem; }
.prose ul > li::before { content: ""; position: absolute; left: 0; top: .72em; width: 8px; height: 2px; background: var(--flag-ink); }
.prose figure { margin: 2.2rem 0; }
.prose figure img { border-radius: var(--r); width: 100%; }
.prose figcaption { font-size: .85rem; color: var(--muted); margin-top: .6rem; }
.prose strong { font-weight: 700; }

/* Flag callout: looks like an inspector's tag */
.tag-note { position: relative; margin: 2rem 0; padding: 1.3rem 1.4rem 1.3rem 1.6rem; background: var(--paper-2); border: 1px solid var(--line); border-left: 6px solid var(--flag); border-radius: 0 var(--r) var(--r) 0; }
.tag-note__label { display: block; font: 700 .72rem/1 var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--flag-ink); margin-bottom: .6rem; }
.tag-note p:last-child { margin-bottom: 0; }
.tag-note--ink { background: var(--ink); color: var(--on-ink); border-color: var(--ink); border-left-color: var(--flag); }
.tag-note--ink .tag-note__label { color: var(--flag); }
.tag-note--ink a { color: var(--flag); }

/* Pull quote / warning */
.warn { margin: 2.2rem 0; padding: 0 0 0 1.4rem; border-left: 2px solid var(--ink); font: 400 clamp(1.25rem, 2vw, 1.5rem)/1.4 var(--serif); }
.warn p { margin: 0; }

/* Spec table */
.table-wrap { margin: 2rem 0; overflow-x: auto; -webkit-overflow-scrolling: touch; border: 1px solid var(--line-strong); border-radius: var(--r); background: var(--paper-2); }
.spec { width: 100%; border-collapse: collapse; font-size: .94rem; min-width: 560px; }
.spec caption { text-align: left; padding: .9rem 1rem; font: 700 .76rem/1.2 var(--sans); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); border-bottom: 1px solid var(--line-strong); }
.spec th, .spec td { text-align: left; vertical-align: top; padding: .8rem 1rem; border-bottom: 1px solid var(--line); line-height: 1.45; }
.spec thead th { background: var(--ink); color: var(--on-ink); font-weight: 700; font-size: .85rem; }
.spec tbody th { font-weight: 700; width: 26%; }
.spec tbody tr:last-child > * { border-bottom: 0; }

/* Decision matrix */
.matrix { margin: 2rem 0; display: grid; gap: 0; border-top: 2px solid var(--ink); }
.matrix__row { display: grid; grid-template-columns: minmax(0, 1fr) 2.4rem minmax(0, 1fr); gap: 1rem; align-items: center; padding: 1rem 0; border-bottom: 1px solid var(--line-strong); }
.matrix__if, .matrix__then { font-size: .97rem; line-height: 1.45; }
.matrix__if b, .matrix__then b { display: block; font: 700 .7rem/1 var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--muted); margin-bottom: .35rem; }
.matrix__then b { color: var(--flag-ink); }
.matrix__arrow svg { width: 26px; height: 26px; stroke: var(--flag-ink); fill: none; stroke-width: 2; }

/* Messy middle / bottom line */
.sidebar-box { margin: 2.4rem 0; display: grid; grid-template-columns: 70px minmax(0, 1fr); gap: 1.2rem; padding: 1.5rem; background: var(--stone); border-radius: var(--r); }
.sidebar-box__icon { width: 70px; height: 70px; border-radius: 50%; background: var(--ink); display: grid; place-items: center; }
.sidebar-box__icon svg { width: 34px; height: 34px; stroke: var(--flag); fill: none; stroke-width: 1.8; }
.sidebar-box h3 { margin-top: .2rem; font-size: 1.3rem; }
.sidebar-box p:last-child { margin-bottom: 0; }
.bottom-line { margin: 2.6rem 0 0; padding: 1.6rem; background: var(--ink); color: var(--on-ink); border-radius: var(--r); }
.bottom-line h2, .bottom-line h3 { color: #fff; font-size: 1.4rem; margin-bottom: .9rem; }
.bottom-line ul { margin: 0; }
.bottom-line li { color: var(--on-ink-muted); }
.bottom-line li::before { background: var(--flag) !important; }
.bottom-line a { color: var(--flag); }

/* ---------- Tools ---------- */
.tool { margin: 2.4rem 0; border: 2px solid var(--ink); border-radius: var(--r); background: var(--paper-2); overflow: hidden; }
.tool__head { background: var(--ink); color: var(--on-ink); padding: .9rem 1.2rem; display: flex; align-items: center; gap: .7rem; }
.tool__head svg { width: 22px; height: 22px; stroke: var(--flag); fill: none; stroke-width: 2; flex: 0 0 auto; }
.tool__head h3 { margin: 0; color: #fff; font-size: 1.15rem; }
.tool__body { padding: 1.3rem 1.2rem 1.4rem; }
.tool__row { display: flex; flex-wrap: wrap; gap: .8rem; align-items: end; }
.tool label { font-weight: 600; font-size: .92rem; display: block; margin-bottom: .35rem; }
.tool input[type="number"], .tool select { min-height: 48px; padding: .6rem .8rem; border: 1.5px solid var(--line-strong); border-radius: var(--r); background: #fff; font-size: 1rem; }
.tool input[type="number"] { width: 9rem; }
.seg { display: inline-flex; border: 1.5px solid var(--line-strong); border-radius: var(--r); overflow: hidden; }
.seg button { border: 0; background: #fff; padding: 0 1rem; min-height: 45px; cursor: pointer; font-weight: 600; font-size: .92rem; }
.seg button[aria-pressed="true"] { background: var(--ink); color: var(--on-ink); }
.tool__out { margin-top: 1.2rem; padding: 1rem 1.1rem; border-radius: var(--r); background: var(--stone); min-height: 4.5rem; }
.tool__out[data-level="low"] { background: #E3EBDD; }
.tool__out[data-level="mid"] { background: #F6E7C8; }
.tool__out[data-level="high"] { background: var(--flag-pale); }
.tool__out strong { display: block; font: 400 1.25rem/1.3 var(--serif); margin-bottom: .3rem; }
.tool__out p { margin: 0; font-size: .95rem; }
.gauge { position: relative; height: 12px; border-radius: 6px; margin: 1.2rem 0 .4rem; background: linear-gradient(90deg, #8DAA7C 0 33%, #E3B55A 33% 66%, var(--flag) 66%); }
.gauge__needle { position: absolute; top: -6px; width: 6px; height: 24px; background: var(--ink); border-radius: 3px; box-shadow: 0 0 0 2px #fff; left: 0; transition: left .4s var(--ease); }
.gauge__scale { display: flex; justify-content: space-between; font-size: .76rem; color: var(--muted); }
.checks { list-style: none; padding: 0 !important; margin: 0; }
.checks li { padding: 0 !important; border-bottom: 1px solid var(--line); }
.checks li::before { display: none; }
.checks label { display: grid; grid-template-columns: 26px 1fr; gap: .8rem; padding: .8rem 0; cursor: pointer; font-weight: 400; font-size: .97rem; margin: 0; line-height: 1.45; }
.checks input { appearance: none; -webkit-appearance: none; width: 24px; height: 24px; border: 2px solid var(--ink); border-radius: 3px; margin: 0; display: grid; place-items: center; cursor: pointer; background: #fff; }
.checks input::after { content: ""; width: 11px; height: 6px; border: solid var(--ink); border-width: 0 0 3px 3px; transform: rotate(-45deg) scale(0); transition: transform .15s var(--ease); margin-top: -3px; }
.checks input:checked { background: var(--flag); border-color: var(--flag); }
.checks input:checked::after { transform: rotate(-45deg) scale(1); }
.checks small { display: block; color: var(--muted); font-size: .86rem; }
.meter { display: flex; align-items: center; gap: 1rem; margin-top: 1rem; font-weight: 700; }
.meter__bar { flex: 1; height: 10px; background: var(--stone); border-radius: 5px; overflow: hidden; }
.meter__fill { height: 100%; width: 0; background: var(--flag); transition: width .35s var(--ease); }
.sorter { display: grid; gap: .6rem; }
.sorter__item { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: .8rem; align-items: center; padding: .8rem .9rem; background: #fff; border: 1px solid var(--line); border-radius: var(--r); }
.sorter__item p { margin: 0; font-size: .95rem; line-height: 1.4; }
.sorter__opts { display: inline-flex; gap: .3rem; }
.sorter__opts button { border: 1.5px solid var(--line-strong); background: transparent; border-radius: var(--r); min-height: 40px; padding: 0 .7rem; font-size: .8rem; font-weight: 700; cursor: pointer; }
.sorter__opts button[aria-pressed="true"] { background: var(--ink); color: var(--on-ink); border-color: var(--ink); }
.sorter__item.is-right { border-color: #6E9460; box-shadow: inset 4px 0 0 #6E9460; }
.sorter__item.is-wrong { border-color: var(--flag); box-shadow: inset 4px 0 0 var(--flag); }
.sorter__why { grid-column: 1 / -1; font-size: .88rem; color: var(--muted); margin: 0; }
.sorter__why[hidden] { display: none; }
.quiz__q { padding: 1rem 0; border-bottom: 1px solid var(--line); }
.quiz__q:last-of-type { border-bottom: 0; }
.quiz__q p { margin: 0 0 .6rem; font-weight: 600; }

/* ---------- FAQ ---------- */
.faq { border-top: 2px solid var(--ink); margin-top: 1.4rem; }
.faq__item { border-bottom: 1px solid var(--line-strong); }
.faq__item summary { list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1.15rem 0; cursor: pointer; font: 400 1.18rem/1.35 var(--serif); }
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary svg { width: 22px; height: 22px; flex: 0 0 auto; stroke: var(--flag-ink); fill: none; stroke-width: 2.2; transition: transform .25s var(--ease); }
.faq__item[open] summary svg { transform: rotate(180deg); }
.faq__a { padding: 0 0 1.2rem; color: var(--muted); max-width: 46em; }
.faq__a p { margin: 0; }
.faq-filter { display: flex; align-items: center; gap: .6rem; margin-top: 1.2rem; }
.faq-filter input { flex: 1; min-height: 48px; border: 1.5px solid var(--line-strong); border-radius: var(--r); padding: .6rem .9rem; background: #fff; }
.faq-empty { color: var(--muted); padding: 1rem 0; }

/* ---------- Related ---------- */
.related { padding: clamp(3rem, 6vw, 5rem) 0; background: var(--stone); }
.related h2 { text-align: center; }
.related__list { list-style: none; margin: 1.6rem auto 0; padding: 0; max-width: 980px; border-top: 2px solid var(--ink); }
.related__list a { display: grid; grid-template-columns: 3.4rem minmax(0, 4fr) minmax(0, 6fr) 28px; gap: 1.2rem; align-items: center; padding: 1.15rem 0; border-bottom: 1px solid var(--line-strong); color: var(--ink); text-decoration: none; }
.related__n { font: 400 1.4rem/1 var(--serif); color: var(--flag-ink); }
.related__t { font: 400 1.3rem/1.25 var(--serif); }
.related__s { color: var(--muted); font-size: .95rem; }
.related__list svg { width: 24px; height: 24px; stroke: var(--ink); fill: none; stroke-width: 2; transition: transform .2s var(--ease); }
.related__list a:hover svg { transform: translateX(5px); }
.related__list a:hover .related__t { color: var(--flag-ink); }

/* ---------- CTA band ---------- */
.cta-band { background: var(--ink); color: var(--on-ink); position: relative; overflow: hidden; }
.cta-band__inner { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 2rem; align-items: center; padding-top: clamp(3rem, 7vw, 5rem); padding-bottom: clamp(3rem, 7vw, 5rem); }
.cta-band h2 { color: #fff; margin-bottom: .4em; }
.cta-band p { color: var(--on-ink-muted); margin: 0; max-width: 36em; }
.cta-band__actions { display: flex; flex-wrap: wrap; gap: .8rem; justify-content: flex-end; }
.cta-band__ridge { position: absolute; left: 0; right: 0; bottom: 0; height: 70px; opacity: .14; pointer-events: none; }
.cta-band__ridge path { fill: var(--flag); }

/* ---------- Contact form ---------- */
.contact-grid { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: clamp(2rem, 5vw, 4.5rem); align-items: start; }
.contact-aside { position: sticky; top: 110px; }
.contact-aside ol { list-style: none; padding: 0; margin: 1.4rem 0; counter-reset: c; }
.contact-aside li { counter-increment: c; display: grid; grid-template-columns: 2.2rem 1fr; padding: .8rem 0; border-top: 1px solid var(--line); font-size: .96rem; }
.contact-aside li::before { content: counter(c, decimal-leading-zero); font: 700 .8rem/1.8 var(--sans); color: var(--flag-ink); }
.form { background: var(--paper-2); border: 1px solid var(--line-strong); border-top: 6px solid var(--ink); border-radius: var(--r); padding: clamp(1.3rem, 3vw, 2.2rem); }
.form fieldset { border: 0; padding: 0; margin: 0 0 1.6rem; }
.form legend, .form__step { font: 400 1.3rem/1.2 var(--serif); margin-bottom: 1rem; padding: 0; display: flex; align-items: center; gap: .6rem; }
.form__step > span:first-child { display: inline-grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--ink); color: var(--on-ink); font: 700 .8rem/1 var(--sans); }
.grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem 1.2rem; }
.field { display: flex; flex-direction: column; gap: .35rem; }
.field--full { grid-column: 1 / -1; }
.field label, .field .label { font-weight: 600; font-size: .93rem; }
.field .hint { font-size: .82rem; color: var(--muted); font-weight: 400; }
.req { color: var(--flag-ink); }
.field input, .field select, .field textarea { width: 100%; min-height: 50px; padding: .7rem .85rem; border: 1.5px solid var(--line-strong); border-radius: var(--r); background: #fff; font-size: 1rem; transition: border-color .15s, box-shadow .15s; }
.field textarea { min-height: 130px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 3px rgba(250, 107, 68, .45); }
.field [aria-invalid="true"] { border-color: var(--flag-ink); }
.field__err { color: var(--flag-ink); font-size: .86rem; font-weight: 600; }
.chips { display: flex; flex-wrap: wrap; gap: .5rem; }
.chip { position: relative; }
.chip input { position: absolute; opacity: 0; inset: 0; width: 100%; height: 100%; cursor: pointer; margin: 0; }
.chip span { display: inline-flex; align-items: center; gap: .45rem; min-height: 44px; padding: .5rem .95rem; border: 1.5px solid var(--line-strong); border-radius: 999px; background: #fff; font-size: .93rem; font-weight: 600; transition: background .15s, border-color .15s; }
.chip span::before { content: ""; width: 10px; height: 10px; border: 1.5px solid var(--ink); border-radius: 2px; }
.chip input[type="radio"] + span::before { border-radius: 50%; }
.chip input:checked + span { background: var(--ink); color: var(--on-ink); border-color: var(--ink); }
.chip input:checked + span::before { background: var(--flag); border-color: var(--flag); }
.chip input:focus-visible + span { outline: 3px solid var(--flag); outline-offset: 2px; }
.consent { display: grid; grid-template-columns: 24px 1fr; gap: .7rem; font-size: .92rem; align-items: start; }
.consent input { width: 22px; height: 22px; margin: .15rem 0 0; accent-color: var(--ink); }
.hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form__submit { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem; margin-top: 1.4rem; }
.form__submit p { margin: 0; font-size: .85rem; color: var(--muted); flex: 1 1 220px; }
.form-status { padding: 1rem 1.1rem; border-radius: var(--r); margin-bottom: 1.4rem; font-size: .97rem; }
.form-status--ok { background: #E3EBDD; border-left: 5px solid #4E7343; }
.form-status--err { background: var(--flag-pale); border-left: 5px solid var(--flag-ink); }
.notice-box { margin-top: 1.6rem; padding: 1.1rem 1.2rem; border: 1px dashed var(--line-strong); border-radius: var(--r); font-size: .9rem; color: var(--muted); }
.notice-box strong { color: var(--ink); }

/* ---------- Legal / simple pages ---------- */
.simple { padding: clamp(2.5rem, 6vw, 4.5rem) 0 clamp(3rem, 6vw, 5rem); }
.simple .prose { margin: 0 auto; }
.simple__head { max-width: 740px; margin: 0 auto 2rem; }

/* ---------- Footer ---------- */
.foot { background: var(--ink); color: var(--on-ink-muted); padding: clamp(3rem, 6vw, 4.5rem) 0 1.4rem; font-size: .95rem; }
.foot a { color: var(--on-ink); text-decoration: none; }
.foot a:hover { color: var(--flag); text-decoration: underline; }
.foot__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 3fr) minmax(0, 2fr); gap: 2.5rem; }
.foot__brand img { width: 290px; margin-bottom: 1.2rem; }
.foot__brand p { max-width: 30em; }
.foot__brand .btn { color: var(--ink); }
.foot__brand .btn:hover { color: var(--ink); text-decoration: none; }
.foot__h { font: 700 .74rem/1 var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--flag); margin: .4rem 0 1.1rem; }
.foot ul { list-style: none; padding: 0; margin: 0; display: grid; gap: .55rem; }
.foot__notice { margin-top: 2.6rem; }
.foot__notice p { border-top: 1px solid rgba(246, 241, 232, .16); padding-top: 1.4rem; font-size: .86rem; max-width: 70em; }
.foot__notice strong { color: var(--on-ink); }
.foot__base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .5rem 2rem; font-size: .82rem; }
.foot__base p { margin: 0; }

/* ---------- Reveal ---------- */
.js [data-reveal] { opacity: 0; transform: translateY(16px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.js [data-reveal].is-in { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1120px) {
  .masthead__logo img { width: 240px; }
  .nav__link { padding: .6rem .55rem; font-size: .93rem; }
  .mega__inner { grid-template-columns: repeat(3, 1fr); }
  .mega__feature { display: none; }
  .index a { grid-template-columns: 3.5rem minmax(0, 5fr) minmax(0, 6fr); }
  .index__img { display: none; }
}
@media (max-width: 960px) {
  :root { --dock-h: calc(68px + env(safe-area-inset-bottom)); }
  .topline__note { display: none; }
  .topline__inner { justify-content: flex-end; min-height: 38px; }
  .nav, .masthead__cta { display: none; }
  .menu-btn { display: inline-flex; }
  .masthead__inner { min-height: 66px; }
  .masthead__logo img { width: 230px; }
  .dock { display: grid; grid-template-columns: repeat(4, 1fr); position: fixed; left: 0; right: 0; bottom: 0; z-index: 90; background: rgba(251, 248, 242, .97); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-top: 1px solid var(--line-strong); padding: 6px 8px calc(6px + env(safe-area-inset-bottom)); box-shadow: 0 -10px 30px -20px rgba(7, 14, 53, .5); }
  .dock__btn { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; min-height: 56px; border: 0; background: none; border-radius: 12px; color: var(--ink); text-decoration: none; font: 600 .74rem/1 var(--sans); cursor: pointer; padding: 0; }
  .dock__btn svg { width: 22px; height: 22px; stroke: currentColor; fill: none; stroke-width: 1.9; }
  .dock__btn[aria-current="page"] { color: var(--flag-ink); }
  .dock__btn--primary { background: var(--ink); color: var(--on-ink); margin: 2px; }
  .dock__btn--primary svg { stroke: var(--flag); }
  .dock__btn--primary[aria-current="page"] { color: var(--on-ink); }
  .hero__inner { grid-template-columns: minmax(0, 1fr); }
  .hero::before { background: linear-gradient(0deg, rgba(7, 14, 53, .96) 0%, rgba(7, 14, 53, .82) 55%, rgba(7, 14, 53, .25) 100%); }
  .hero__ticket { justify-self: stretch; width: 100%; }
  .explorer, .timeline, .prep, .ghead__grid, .cta-band__inner, .contact-grid { grid-template-columns: minmax(0, 1fr); }
  .explorer__panel { min-height: 0; }
  .timeline__intro, .contact-aside { position: static; }
  .contact-aside { order: 2; }
  .cta-band__actions { justify-content: flex-start; }
  .article__grid { grid-template-columns: minmax(0, 1fr); }
  .toc { position: static; border: 1px solid var(--line-strong); border-radius: var(--r); padding: 1rem; background: var(--paper-2); }
  .toc__cta { display: none; }
  .foot__grid { grid-template-columns: 1fr 1fr; }
  .foot__brand { grid-column: 1 / -1; }
  .prep__photo img { aspect-ratio: 16 / 10; }
}
@media (max-width: 640px) {
  body { font-size: 1.02rem; }
  .masthead__logo img { width: 200px; }
  .lang__label span { display: none; }
  .hero__caption { display: none; }
  .explorer__cols { grid-template-columns: minmax(0, 1fr); }
  .index a { grid-template-columns: 2.6rem minmax(0, 1fr); gap: .3rem 1rem; padding: 1.2rem 0; }
  .index__n { font-size: 1.6rem; grid-row: span 2; align-self: start; }
  .related__list a { grid-template-columns: 2.4rem minmax(0, 1fr) 24px; gap: .2rem .9rem; }
  .related__s { grid-column: 2; grid-row: 2; }
  .related__list svg { grid-column: 3; grid-row: 1 / span 2; }
  .grid2 { grid-template-columns: minmax(0, 1fr); }
  .matrix__row { grid-template-columns: 1fr; gap: .4rem; }
  .matrix__arrow svg { transform: rotate(90deg); width: 20px; height: 20px; }
  .sidebar-box { grid-template-columns: minmax(0, 1fr); }
  .sidebar-box__icon { width: 54px; height: 54px; }
  .sorter__item { grid-template-columns: minmax(0, 1fr); }
  .foot__grid { grid-template-columns: minmax(0, 1fr); }
  .foot__brand img { width: 240px; }
  .tool input[type="number"] { width: 100%; }
  .tool__row > * { flex: 1 1 100%; }
  .seg { display: flex; }
  .seg button { flex: 1; }
  .ghead__figure img { aspect-ratio: 16 / 11; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .js [data-reveal] { opacity: 1; transform: none; }
}

@media print {
  .topline, .masthead, .dock, .sheet, .cta-band, .related, .toc { display: none !important; }
  body { background: #fff; padding: 0; }
}
.hero__slogan { font: 700 .8rem/1.3 var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--flag); margin: 0 0 1rem; }
.hero__slogan em { font-style: normal; color: #fff; }
.hero h1 { max-width: 15ch; }
