/* Denver Criminal Law Guide
   Palette from the logo (v2 monogram): ink #23282E, sandstone #B13926. Slate #6B7178 kept as a neutral.
   Derived: paper #F4EFE6, night #15191D, ember #E07A5C (text on night), mist #AEB4BA. */

@font-face { font-family: "Newsreader"; src: url("../fonts/newsreader-var.woff2") format("woff2"); font-weight: 300 700; font-style: normal; font-display: swap; }
@font-face { font-family: "Newsreader"; src: url("../fonts/newsreader-italic-var.woff2") format("woff2"); font-weight: 300 700; font-style: italic; font-display: swap; }
@font-face { font-family: "IBM Plex Sans"; src: url("../fonts/plexsans-var.woff2") format("woff2"); font-weight: 400 600; font-style: normal; font-display: swap; }
@font-face { font-family: "IBM Plex Mono"; src: url("../fonts/plexmono-500.woff2") format("woff2"); font-weight: 500; font-style: normal; font-display: swap; }

:root {
  --ink: #23282E;
  --ink-2: #2B3138;
  --night: #15191D;
  --sand: #B13926;
  --sand-deep: #93301F;
  --ember: #E07A5C;
  --slate: #6B7178;
  --slate-text: #5A6067;
  --mist: #AEB4BA;
  --paper: #F4EFE6;
  --paper-2: #EAE3D6;
  --paper-3: #DDD4C4;
  --white: #FFFDF9;
  --rule: rgba(30, 35, 41, 0.16);
  --rule-dark: rgba(244, 239, 230, 0.16);
  --serif: "Newsreader", "Iowan Old Style", Georgia, serif;
  --sans: "IBM Plex Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, Menlo, monospace;
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --header-h: 76px;
  --gutter: clamp(1.15rem, 4vw, 3rem);
  --max: 1240px;
  --radius: 3px;
  --dock-h: 0px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 1rem); }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font: 400 1.0625rem/1.65 var(--sans);
  padding-bottom: calc(var(--dock-h) + env(safe-area-inset-bottom, 0px));
  overflow-x: clip;
  top: 0 !important; /* Google Translate pushes body down; keep layout intact */
}
img, video, svg { display: block; max-width: 100%; }
img { height: auto; }
picture { display: block; }
a { color: var(--sand-deep); text-decoration-thickness: 1px; text-underline-offset: 0.18em; }
a:hover { color: var(--ink); }
h1, h2, h3, h4 { font-family: var(--serif); font-weight: 500; line-height: 1.08; letter-spacing: -0.015em; margin: 0 0 0.6em; text-wrap: balance; color: inherit; }
h1 { font-size: clamp(2.5rem, 1.6rem + 3.6vw, 5rem); font-weight: 400; letter-spacing: -0.03em; }
h2 { font-size: clamp(1.9rem, 1.3rem + 2.2vw, 3.1rem); font-weight: 400; letter-spacing: -0.025em; }
h3 { font-size: clamp(1.25rem, 1.1rem + 0.6vw, 1.6rem); }
p { margin: 0 0 1em; text-wrap: pretty; }
ul, ol { padding-left: 1.2em; }
:focus-visible { outline: 3px solid var(--sand); outline-offset: 3px; border-radius: 2px; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: 1rem; top: -4rem; z-index: 200; background: var(--ink); color: var(--paper); padding: 0.7rem 1rem; text-decoration: none; }
.skip:focus { top: 1rem; }
main:focus { outline: none; }
.wrap { width: min(100% - 2 * var(--gutter), var(--max)); margin-inline: auto; }
.wrap--narrow { width: min(100% - 2 * var(--gutter), 760px); margin-inline: auto; }

.eyebrow { font: 500 0.72rem/1.3 var(--mono); letter-spacing: 0.16em; text-transform: uppercase; color: var(--sand-deep); margin: 0 0 1rem; display: flex; align-items: center; gap: 0.7rem; }
.eyebrow::before { content: ""; width: 1.8rem; height: 1px; background: currentColor; flex: none; }
.eyebrow--center { justify-content: center; }
.on-dark .eyebrow, .eyebrow--light { color: var(--ember); }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 0.6rem; min-height: 48px; padding: 0.75rem 1.35rem; border: 1px solid transparent; border-radius: var(--radius); font: 600 0.95rem/1.1 var(--sans); text-decoration: none; cursor: pointer; transition: background 0.2s var(--ease), color 0.2s var(--ease), border-color 0.2s var(--ease), transform 0.2s var(--ease); }
.btn:active { transform: translateY(1px); }
.btn--ink { background: var(--ink); color: var(--paper); }
.btn--ink:hover { background: var(--sand-deep); color: var(--white); }
.btn--sand { background: var(--sand); color: var(--white); }
.btn--sand:hover { background: var(--sand-deep); color: var(--white); }
.btn--ghost { border-color: currentColor; color: inherit; background: transparent; }
.btn--ghost:hover { background: var(--paper); color: var(--ink); border-color: var(--paper); }
.btn .arrow { transition: transform 0.2s var(--ease); }
.btn:hover .arrow { transform: translateX(3px); }
.link-arrow { font-weight: 600; text-decoration: none; color: var(--sand-deep); display: inline-flex; gap: 0.45rem; align-items: center; border-bottom: 1px solid currentColor; padding-bottom: 2px; }
.link-arrow::after { content: "\2192"; transition: transform 0.2s var(--ease); }
.link-arrow:hover::after { transform: translateX(3px); }
.on-dark .link-arrow { color: var(--ember); }

/* Masthead */
.masthead { position: sticky; top: 0; z-index: 60; background: rgba(244, 239, 230, 0.94); backdrop-filter: saturate(1.2) blur(10px); -webkit-backdrop-filter: saturate(1.2) blur(10px); border-bottom: 1px solid var(--rule); }
.masthead__inner { height: var(--header-h); width: min(100% - 2 * var(--gutter), 1400px); margin-inline: auto; display: flex; align-items: center; gap: 1.5rem; }
.masthead__logo { flex: none; display: block; }
.masthead__logo img { height: 46px; width: auto; }
.primary-nav { margin-left: auto; }
.primary-nav > ul { display: flex; gap: 0.2rem; list-style: none; margin: 0; padding: 0; align-items: center; }
.primary-nav a, .primary-nav__trigger { display: inline-flex; align-items: center; gap: 0.35rem; padding: 0.6rem 0.75rem; font: 500 0.92rem/1 var(--sans); color: var(--ink); text-decoration: none; background: none; border: 0; cursor: pointer; border-radius: var(--radius); position: relative; }
.primary-nav a::after, .primary-nav__trigger::after { content: ""; position: absolute; left: 0.75rem; right: 0.75rem; bottom: 0.25rem; height: 1px; background: var(--sand); transform: scaleX(0); transform-origin: left; transition: transform 0.25s var(--ease); }
.primary-nav a:hover::after, .primary-nav a[aria-current="page"]::after, .primary-nav__trigger[aria-expanded="true"]::after { transform: scaleX(1); }
.chev { width: 7px; height: 7px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: rotate(45deg) translateY(-2px); transition: transform 0.2s var(--ease); }
.primary-nav__trigger[aria-expanded="true"] .chev { transform: rotate(-135deg) translateY(-1px); }
.masthead__tools { display: flex; align-items: center; gap: 0.7rem; }
.masthead__cta { min-height: 42px; padding: 0.6rem 1rem; font-size: 0.88rem; }

/* Mega menu */
.has-mega { position: static; }
.mega { position: absolute; left: 0; right: 0; top: 100%; background: var(--night); color: var(--paper); border-top: 1px solid var(--rule-dark); box-shadow: 0 30px 60px -30px rgba(0, 0, 0, 0.6); opacity: 0; transform: translateY(-6px); transition: opacity 0.22s var(--ease), transform 0.22s var(--ease); }
.mega.is-open { opacity: 1; transform: none; }
.mega__inner { width: min(100% - 2 * var(--gutter), 1400px); margin-inline: auto; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2.4fr); gap: 3rem; padding: 2.4rem 0 2.6rem; }
.mega__lede { font: 400 1.35rem/1.35 var(--serif); color: var(--paper); margin-bottom: 1.4rem; }
.mega__list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; background: var(--rule-dark); border: 1px solid var(--rule-dark); }
.mega__list a { display: grid; grid-template-rows: auto auto 1fr; gap: 0.35rem; height: 100%; padding: 1.2rem 1.25rem 1.35rem; background: var(--night); color: var(--paper); text-decoration: none; transition: background 0.2s var(--ease); }
.mega__list a::after { display: none; }
.mega__list a:hover, .mega__list a:focus-visible, .mega__list a[aria-current="page"] { background: #1D2228; }
.mega__num { font: 500 0.72rem/1 var(--mono); color: var(--ember); letter-spacing: 0.12em; }
.mega__label { font: 500 1.2rem/1.2 var(--serif); }
.mega__desc { font-size: 0.86rem; line-height: 1.45; color: var(--mist); }

/* Translate control */
.lang { position: relative; display: flex; align-items: center; }
.lang svg { position: absolute; left: 0.6rem; width: 16px; height: 16px; fill: none; stroke: var(--ink); stroke-width: 1.5; pointer-events: none; }
.lang select { appearance: none; -webkit-appearance: none; font: 500 0.85rem/1 var(--sans); color: var(--ink); background: transparent url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6'%3E%3Cpath d='M1 1l4 4 4-4' fill='none' stroke='%2323282E' stroke-width='1.5'/%3E%3C/svg%3E") no-repeat right 0.65rem center; border: 1px solid var(--rule); border-radius: var(--radius); height: 42px; padding: 0 1.9rem 0 2rem; cursor: pointer; max-width: 9.5rem; }
.lang select:hover { border-color: var(--ink); }
.gt-host { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.goog-te-banner-frame, .skiptranslate > iframe, iframe.goog-te-banner-frame, #goog-gt-tt, .goog-te-balloon-frame, .VIpgJd-ZVi9od-ORHb-OEVmcd, .VIpgJd-ZVi9od-aZ2wEe-wOHMyf { display: none !important; visibility: hidden !important; }
.goog-text-highlight { background: none !important; box-shadow: none !important; }
body > .skiptranslate { display: none !important; }
font[style] { background: transparent !important; }

/* Disclaimer strip, directly under the header on every page */
.disclaimer-strip { background: var(--paper-2); border-bottom: 1px solid var(--rule); }
.disclaimer-strip p { width: min(100% - 2 * var(--gutter), 1400px); margin: 0 auto; padding: 0.6rem 0; font-size: 0.82rem; line-height: 1.5; color: var(--ink-2); }
.disclaimer-strip__tag, .rules-note__tag { display: inline-block; font: 500 0.66rem/1 var(--mono); letter-spacing: 0.12em; text-transform: uppercase; color: var(--white); background: var(--sand-deep); padding: 0.32rem 0.45rem 0.28rem; margin-right: 0.45rem; border-radius: 2px; vertical-align: 1px; }

/* Menu toggle + mobile menu */
.menu-toggle { display: none; width: 46px; height: 46px; border: 1px solid var(--rule); border-radius: var(--radius); background: transparent; cursor: pointer; position: relative; }
.menu-toggle__bars, .menu-toggle__bars::before, .menu-toggle__bars::after { position: absolute; left: 50%; width: 20px; height: 1.5px; background: var(--ink); transform: translateX(-50%); transition: transform 0.25s var(--ease), opacity 0.2s; }
.menu-toggle__bars { top: 50%; }
.menu-toggle__bars::before, .menu-toggle__bars::after { content: ""; left: 0; transform: none; }
.menu-toggle__bars::before { top: -6px; }
.menu-toggle__bars::after { top: 6px; }
.menu-toggle[aria-expanded="true"] .menu-toggle__bars { background: transparent; }
.menu-toggle[aria-expanded="true"] .menu-toggle__bars::before { transform: translateY(6px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] .menu-toggle__bars::after { transform: translateY(-6px) rotate(-45deg); }
.mobile-menu { position: fixed; inset: var(--header-h) 0 0 0; z-index: 55; background: var(--paper); overflow-y: auto; padding: 1.6rem var(--gutter) calc(6rem + env(safe-area-inset-bottom, 0px)); }
.mobile-menu[hidden] { display: none; }
.mobile-menu__guides { list-style: none; margin: 0 0 1.6rem; padding: 0; border-top: 1px solid var(--rule); }
.mobile-menu__guides a { display: flex; gap: 0.9rem; align-items: baseline; padding: 1rem 0; border-bottom: 1px solid var(--rule); font: 400 1.45rem/1.2 var(--serif); color: var(--ink); text-decoration: none; }
.mobile-menu__guides span { font: 500 0.72rem/1 var(--mono); color: var(--sand-deep); }
.mobile-menu__more { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 0.5rem 1.4rem; }
.mobile-menu__more a { color: var(--ink); font-weight: 500; }

/* Dock (mobile bottom actions) */
.dock { display: none; }

/* ===== Home hero: sticky video run with handover ===== */
.run { position: relative; isolation: isolate; background: var(--night); color: var(--paper); }
.run__track { position: absolute; inset: 0; z-index: 0; pointer-events: none; overflow: clip; }
.run__media { position: sticky; top: 0; height: 100svh; overflow: hidden; background: var(--night) url("/assets/img/hero-poster-640.jpg") center/cover; }
.run__frame { position: absolute; inset: 0; transform-origin: 50% 55%; }
.run__rig { position: absolute; inset: 0; animation: rig 9s ease-in-out infinite; transform-origin: 56% 60%; }
.run__rig video, .run__rig picture, .run__rig img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transform: scale(var(--zoom, 1.04)); transform-origin: var(--zx, 62%) var(--zy, 52%); }
.run__vignette { position: absolute; inset: 0; background: linear-gradient(95deg, rgba(21, 25, 29, 0.92) 0%, rgba(21, 25, 29, 0.74) 36%, rgba(21, 25, 29, 0.32) 66%, rgba(21, 25, 29, 0.12) 100%), linear-gradient(to bottom, rgba(21, 25, 29, 0.45), transparent 30%, transparent 70%, rgba(21, 25, 29, 0.6)); }
.run__shade { position: absolute; inset: 0; background: var(--night); opacity: var(--shade, 0); }
@keyframes rig { 0%, 100% { transform: scale(1) rotate(0deg); } 50% { transform: scale(1.004) rotate(0.08deg); } }

.hero { position: relative; z-index: 1; padding-block: clamp(72px, 11vw, 150px); display: flex; align-items: center; }
.hero__content { max-width: 44rem; }
.hero__kicker { font: 500 0.78rem/1.4 var(--mono); letter-spacing: 0.14em; text-transform: uppercase; color: var(--ember); margin: 0 0 1.3rem; }
.hero h1 { color: var(--white); margin-bottom: 0.35em; }
.hero h1 em { font-style: italic; color: var(--ember); }
.hero__lede { font: 300 clamp(1.15rem, 1rem + 0.5vw, 1.4rem)/1.5 var(--serif); color: #E6E1D8; max-width: 36rem; margin-bottom: 1.9rem; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 0.8rem; }
.hero__actions .btn--ghost { color: var(--paper); }
@keyframes rise { from { opacity: 0; } to { opacity: 1; } }

.handover { position: relative; z-index: 1; padding: clamp(5rem, 14vw, 12rem) 0 clamp(5rem, 12vw, 10rem); }
.handover__grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: clamp(2rem, 6vw, 6rem); align-items: end; }
.handover h2 { color: var(--white); margin: 0; max-width: 14ch; }
.handover h2 em { color: var(--ember); }
.handover p { color: #E6E1D8; font-size: 1.08rem; }
.handover .cite { font: 500 0.76rem/1.5 var(--mono); color: var(--mist); letter-spacing: 0.04em; }
html:not(.motion) .handover::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(to bottom, transparent 0%, rgba(21, 25, 29, 0.74) 20%, rgba(21, 25, 29, 0.94) 100%); }

/* ===== Scroll-filled giant words (stages) ===== */
.stages { background: var(--night); color: var(--paper); padding: clamp(6rem, 10vw, 10rem) 0; overflow: hidden; position: relative; }
.stages__head { text-align: center; max-width: 52rem; margin: 0 auto clamp(3rem, 6vw, 5rem); }
.stages__head h2 { color: var(--white); font-size: clamp(2.4rem, 1.2rem + 4.6vw, 6rem); line-height: 0.95; letter-spacing: -0.04em; }
.stages__head p { color: #D9D4CA; max-width: 40rem; margin-inline: auto; }
.stages__list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--rule-dark); }
.stage { display: grid; grid-template-columns: 4rem minmax(0, 1fr) minmax(0, 21rem); gap: clamp(1rem, 3vw, 3rem); align-items: center; padding: clamp(1.6rem, 3vw, 2.8rem) 0; border-bottom: 1px solid var(--rule-dark); }
.stage__idx { font: 500 1.05rem/1 var(--mono); color: var(--ember); }
.stage__word { position: relative; font: 400 clamp(2.4rem, 6.3vw, 6.2rem)/0.95 var(--serif); letter-spacing: -0.045em; white-space: nowrap; margin: 0; color: var(--white); }
.stage__word span[aria-hidden] { display: none; }
.stage p:not(.stage__word) { margin: 0; font-size: 0.95rem; color: var(--mist); max-width: 42ch; justify-self: end; }
.on-dark p a:not(.btn):not(.link-arrow) { color: var(--ember); }
.mk-on .stage__word { color: transparent; -webkit-text-stroke: 1px rgba(174, 180, 186, 0.45); }
.mk-on .stage__word span[aria-hidden] { display: block; position: absolute; inset: 0; color: var(--white); -webkit-text-stroke: 0; clip-path: inset(0 calc(100% - var(--fill, 0) * 100%) 0 0); }
.mk-on .stage__word-inner { display: inline-block; transform: translateX(var(--drift, 0)); }

/* ===== Expanding accordion gallery (guides) ===== */
.guides { padding: clamp(5rem, 9vw, 8rem) 0; }
.section-head { text-align: center; max-width: 46rem; margin: 0 auto clamp(2.4rem, 5vw, 4rem); }
.section-head p { color: var(--slate-text); font-size: 1.08rem; }
.acc { display: flex; gap: 6px; height: clamp(440px, 62vh, 620px); list-style: none; margin: 0; padding: 0; }
.acc__panel { position: relative; flex: 1 1 0; min-width: 0; overflow: hidden; border-radius: var(--radius); background: var(--ink); transition: flex-grow 0.6s var(--ease); }
.acc__panel.is-active { flex-grow: 5.2; }
.acc__panel picture, .acc__panel img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.acc__panel img { transition: transform 1.2s var(--ease), filter 0.6s var(--ease); filter: grayscale(0.6) brightness(0.55); }
.acc__panel.is-active img { filter: grayscale(0) brightness(0.62); transform: scale(1.03); }
.acc__panel::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(21, 25, 29, 0.92) 0%, rgba(21, 25, 29, 0.25) 55%, rgba(21, 25, 29, 0.1) 100%); pointer-events: none; }
.acc__btn { position: absolute; inset: 0; z-index: 2; width: 100%; background: none; border: 0; padding: 0; cursor: pointer; color: var(--paper); text-align: left; }
.acc__btn:focus-visible { outline-offset: -4px; }
.acc__teaser { position: absolute; left: 50%; bottom: 1.4rem; transform: translateX(-50%); writing-mode: vertical-rl; rotate: 180deg; font: 500 0.78rem/1 var(--mono); letter-spacing: 0.16em; text-transform: uppercase; white-space: nowrap; transition: opacity 0.3s; }
.acc__teaser b { color: var(--ember); font-weight: 500; margin-bottom: 0.9rem; display: inline-block; }
.acc__panel.is-active .acc__teaser { opacity: 0; }
.acc__body { position: absolute; z-index: 3; left: 0; right: 0; bottom: 0; padding: clamp(1.4rem, 3vw, 2.4rem); color: var(--paper); opacity: 0; transform: translateY(16px); transition: opacity 0.35s var(--ease), transform 0.45s var(--ease); pointer-events: none; max-width: 36rem; }
.acc__panel.is-active .acc__body { opacity: 1; transform: none; pointer-events: auto; transition-delay: 0.25s; }
.acc__num { font: 500 0.75rem/1 var(--mono); color: var(--ember); letter-spacing: 0.14em; }
.acc__body h3 { font-size: clamp(1.6rem, 1.2rem + 1.4vw, 2.4rem); color: var(--white); margin: 0.5rem 0 0.6rem; font-weight: 400; }
.acc__body p { color: #DCD7CE; font-size: 0.98rem; margin-bottom: 1rem; }
.acc__body a { color: var(--ember); }
html:not(.js) .acc { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); height: auto; }
html:not(.js) .acc__panel { min-height: 380px; }
html:not(.js) .acc__body { opacity: 1; transform: none; pointer-events: auto; }
html:not(.js) .acc__teaser { display: none; }

/* ===== Technical drawing sheet (rights) ===== */
.sheet-sec { padding: clamp(5rem, 9vw, 8rem) 0; background: var(--paper-2); }
.sheet { position: relative; border: 1px solid var(--ink); background:
  linear-gradient(rgba(30, 35, 41, 0.05) 1px, transparent 1px) 0 0/16px 16px,
  linear-gradient(90deg, rgba(30, 35, 41, 0.05) 1px, transparent 1px) 0 0/16px 16px,
  linear-gradient(rgba(30, 35, 41, 0.08) 1px, transparent 1px) 0 0/80px 80px,
  linear-gradient(90deg, rgba(30, 35, 41, 0.08) 1px, transparent 1px) 0 0/80px 80px, var(--paper); }
.sheet__tick { position: absolute; width: 14px; height: 14px; border-color: var(--sand); border-style: solid; border-width: 0; }
.sheet__tick--tl { top: -1px; left: -1px; border-top-width: 3px; border-left-width: 3px; }
.sheet__tick--tr { top: -1px; right: -1px; border-top-width: 3px; border-right-width: 3px; }
.sheet__tick--bl { bottom: -1px; left: -1px; border-bottom-width: 3px; border-left-width: 3px; }
.sheet__tick--br { bottom: -1px; right: -1px; border-bottom-width: 3px; border-right-width: 3px; }
.sheet__title { display: grid; grid-template-columns: minmax(0, 1fr) 15rem; border-bottom: 1px solid var(--ink); }
.sheet__display { display: grid; position: relative; overflow: hidden; min-height: 360px; }
.sheet__panel { grid-area: 1 / 1; padding: clamp(1.6rem, 4vw, 3.2rem); position: relative; transition: opacity 0.15s linear; }
.sheet__panel-bg { position: absolute; inset: 0; z-index: 0; }
.sheet__panel-bg img { width: 100%; height: 100%; object-fit: cover; opacity: 0.9; }
.sheet__panel-bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(244, 239, 230, 0.98) 0%, rgba(244, 239, 230, 0.93) 55%, rgba(244, 239, 230, 0.55) 100%); }
.sheet__panel > *:not(.sheet__panel-bg) { position: relative; z-index: 1; max-width: 40rem; }
.sheet__panel h2, .sheet__panel h3 { margin-bottom: 0.4em; }
.sheet__panel h3 { font-size: clamp(1.7rem, 1.2rem + 1.6vw, 2.6rem); font-weight: 400; }
.sheet__panel p { color: var(--ink-2); }
.js .sheet__panel { opacity: 0; pointer-events: none; }
.js .sheet__panel.is-on { opacity: 1; pointer-events: auto; transition: opacity 0.34s 0.12s linear; }
.sheet__meta { border-left: 1px solid var(--ink); margin: 0; display: grid; align-content: start; }
.sheet__meta div { display: grid; grid-template-columns: 1fr auto; padding: 0.9rem 1rem; border-bottom: 1px solid var(--rule); font: 500 0.72rem/1.3 var(--mono); letter-spacing: 0.06em; text-transform: uppercase; }
.sheet__meta dt { color: var(--slate-text); }
.sheet__meta dd { margin: 0; font-variant-numeric: tabular-nums; text-align: right; }
.sheet__wire { position: relative; height: 2px; background: var(--rule); overflow: hidden; }
.sheet__wire::after { content: ""; position: absolute; top: 0; left: -20%; width: 20%; height: 100%; background: linear-gradient(90deg, transparent, var(--sand), transparent); animation: charge 3.2s linear infinite; }
@keyframes charge { to { left: 100%; } }
.sheet__cells { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1px; background: var(--rule); }
.sheet__cell { margin: 0; }
.sheet__cell button { position: relative; width: 100%; height: 100%; min-height: 9.5rem; display: flex; flex-direction: column; justify-content: space-between; gap: 1rem; padding: 1.3rem 1.3rem 1.2rem; background: var(--paper); border: 0; cursor: pointer; text-align: left; color: var(--ink); transition: background 0.25s var(--ease); }
.sheet__cell button::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 3px; background: var(--sand); transform: scaleX(0); transform-origin: left; transition: transform 0.35s var(--ease); }
.sheet__num { font: 400 3.2rem/1 var(--serif); color: transparent; -webkit-text-stroke: 1px var(--ink); transition: -webkit-text-stroke-color 0.25s; }
.sheet__name { font: 600 0.98rem/1.3 var(--sans); }
.sheet__cell button:hover, .sheet__cell button:focus-visible, .sheet__cell button[aria-pressed="true"] { background: var(--white); }
.sheet__cell button:hover::before, .sheet__cell button:focus-visible::before, .sheet__cell button[aria-pressed="true"]::before { transform: scaleX(1); }
.sheet__cell button:hover .sheet__num, .sheet__cell button:focus-visible .sheet__num, .sheet__cell button[aria-pressed="true"] .sheet__num { -webkit-text-stroke-color: var(--sand); }
.sheet__index { display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; padding: 0.8rem 1rem; border-top: 1px solid var(--ink); font: 500 0.7rem/1.4 var(--mono); letter-spacing: 0.08em; text-transform: uppercase; color: var(--slate-text); }
html:not(.js) .sheet__display { display: block; }
html:not(.js) .sheet__cells { display: none; }

/* ===== Cut-out act words ===== */
.acts { background: var(--night); color: var(--paper); position: relative; }
.acts__label { text-align: center; padding: 4rem var(--gutter) 0; }
.acts__stage { position: relative; }
.acts__sticky { position: relative; }
.act { display: flex; align-items: center; justify-content: center; padding: 2.4rem var(--gutter); }
.act__phrase { display: flex; align-items: baseline; flex-wrap: wrap; justify-content: center; gap: 0.5rem 1.2rem; }
.act__word { font: 400 clamp(4rem, 15vw, 13rem)/0.9 var(--serif); letter-spacing: -0.035em; color: var(--white); }
.act__suffix { font: italic 300 clamp(1.4rem, 3.4vw, 3.2rem)/1.1 var(--serif); color: #D9D4CA; }
.act--accent .act__word { font-style: italic; }
.act--accent .act__suffix { color: var(--ember); }
.act__num, .act__wash, .acts__rail { display: none; }
.acts__outro { text-align: center; max-width: 40rem; margin: 0 auto; padding: 1rem var(--gutter) 5rem; color: #D9D4CA; }
.acts[data-live] .acts__stage { height: 330vh; }
.acts[data-live] .acts__sticky { position: sticky; top: 0; height: 100svh; overflow: hidden; }
.acts[data-live] .act { position: absolute; inset: 0; padding: 0 var(--gutter) 0 clamp(11rem, 20vw, 24rem); opacity: calc(clamp(0, var(--t, 1) * 12, 1) * clamp(0, (1 - var(--t, 1)) * 12, 1)); }
.acts[data-live] .act__wash { display: block; position: absolute; inset: -8%; background-size: cover; background-position: center; filter: blur(34px) saturate(1.2) brightness(0.38); transform: scale(calc(1.1 + var(--t, 0) * 0.12)); z-index: 0; }
.acts[data-live] .act__num { display: block; position: absolute; right: 5vw; top: 50%; font: 400 clamp(8rem, 24vw, 24rem)/1 var(--serif); color: transparent; -webkit-text-stroke: 3px rgba(224, 122, 92, 0.7); transform: translateY(calc(-50% + (0.5 - var(--t, 0.5)) * 120vh)); z-index: 0; }
.acts[data-live] .act__phrase { position: relative; z-index: 1; }
.acts[data-live] .act__word { display: inline-flex; overflow: hidden; padding: 0.06em 0.08em 0.22em; margin: -0.06em -0.08em -0.22em; }
.acts[data-live] .act__l { display: inline-block; color: transparent; background-image: var(--img); background-size: calc(var(--ww, 600px) * 1.3) auto; background-position: calc(var(--ox, 0px) * -1 - var(--t, 0) * var(--ww, 600px) * 0.28) 50%; -webkit-background-clip: text; background-clip: text; -webkit-text-stroke: 1px rgba(244, 239, 230, 0.3); filter: brightness(1.25) contrast(1.06) saturate(1.08);
  --in: clamp(0, var(--t, 1) / 0.3 * 1.6 - var(--li, 0) * 0.1, 1);
  --out: clamp(0, (var(--t, 0) - 0.7) / 0.3 * 1.6 - var(--li, 0) * 0.1, 1);
  transform: translateY(calc((1 - var(--in)) * 108% - var(--out) * 108%)) rotate(calc((1 - var(--in)) * 7deg - var(--out) * 5deg)); }
.acts[data-live] .act__suffix { opacity: calc(clamp(0, (var(--t, 0.5) - 0.18) * 10, 1) * clamp(0, (0.78 - var(--t, 0.5)) * 10, 1)); }
.acts[data-live] .acts__rail { display: block; position: absolute; left: var(--gutter); top: 50%; transform: translateY(-50%); z-index: 3; padding-left: 1.2rem; }
.acts__rail::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 3px; background: rgba(244, 239, 230, 0.16); }
.acts__rail-fill { position: absolute; left: 0; top: 0; bottom: 0; width: 3px; background: var(--ember); transform: scaleY(var(--p, 0)); transform-origin: top; }
.acts__rail ol { list-style: none; margin: 0; padding: 0; display: grid; gap: 1rem; }
.acts__rail li { font: 500 0.72rem/1 var(--mono); letter-spacing: 0.16em; text-transform: uppercase; color: rgba(244, 239, 230, 0.5); transition: color 0.4s, transform 0.4s var(--ease); }
.acts__rail li b { color: var(--ember); font-weight: 500; margin-right: 0.6rem; }
.acts__rail li.is-on { color: var(--paper); transform: translateX(6px); }

/* ===== Inner page hero ===== */
.phero { padding-block: clamp(56px, 8vw, 112px); border-bottom: 1px solid var(--rule); }
.phero__grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: clamp(2rem, 5vw, 5rem); align-items: center; }
.phero h1 { font-size: clamp(2.4rem, 1.5rem + 3vw, 4.4rem); margin-bottom: 0.4em; }
.phero__lede { font: 300 clamp(1.12rem, 1rem + 0.4vw, 1.35rem)/1.55 var(--serif); color: var(--ink-2); max-width: 38rem; margin-bottom: 1.6rem; }
.phero__actions { display: flex; flex-wrap: wrap; gap: 0.8rem; }
.phero__figure { margin: 0; position: relative; }
.phero__figure img { width: 100%; aspect-ratio: 4 / 3.4; object-fit: cover; border-radius: var(--radius); }
.docket { position: absolute; left: -1.4rem; bottom: -1.4rem; background: var(--ink); color: var(--paper); padding: 1rem 1.15rem; font: 500 0.72rem/1.55 var(--mono); letter-spacing: 0.04em; max-width: 17rem; box-shadow: 0 20px 40px -20px rgba(0, 0, 0, 0.5); }
.docket b { display: block; color: var(--ember); font-weight: 500; letter-spacing: 0.14em; text-transform: uppercase; margin-bottom: 0.35rem; }
.crumbs ol { list-style: none; padding: 0; margin: 0 0 1.4rem; display: flex; flex-wrap: wrap; gap: 0.3rem 0.6rem; font: 500 0.74rem/1.4 var(--mono); letter-spacing: 0.06em; text-transform: uppercase; }
.crumbs li + li::before { content: "/"; margin-right: 0.6rem; color: var(--slate); }
.crumbs a { color: var(--slate-text); text-decoration: none; }
.crumbs a:hover { color: var(--sand-deep); }
.crumbs [aria-current] { color: var(--ink); }

/* ===== Article layout with margin notes ===== */
.article { padding: clamp(3.5rem, 7vw, 6rem) 0; }
.article__grid { display: grid; grid-template-columns: 13rem minmax(0, 46rem); gap: clamp(2rem, 5vw, 5rem); justify-content: center; }
.toc { position: sticky; top: calc(var(--header-h) + 1.5rem); align-self: start; font-size: 0.88rem; }
.toc p { font: 500 0.7rem/1 var(--mono); letter-spacing: 0.14em; text-transform: uppercase; color: var(--slate-text); margin-bottom: 0.9rem; }
.toc ol { list-style: none; padding: 0; margin: 0; border-left: 1px solid var(--rule); }
.toc a { display: block; padding: 0.4rem 0 0.4rem 0.9rem; margin-left: -1px; border-left: 2px solid transparent; color: var(--ink-2); text-decoration: none; line-height: 1.35; }
.toc a:hover, .toc a.is-on { border-left-color: var(--sand); color: var(--ink); }
.prose > h2 { margin-top: 2.4em; padding-top: 1.2rem; border-top: 1px solid var(--rule); position: relative; }
.prose > h2:first-child { margin-top: 0; }
.prose > h2 .sec { display: block; font: 500 0.72rem/1 var(--mono); letter-spacing: 0.14em; color: var(--sand-deep); margin-bottom: 0.8rem; }
.prose > h3 { margin-top: 1.8em; }
.prose li { margin-bottom: 0.45em; }
.prose .lead { font: 300 1.3rem/1.55 var(--serif); color: var(--ink-2); }
.statute { font: 500 0.82em/1 var(--mono); background: var(--paper-2); border: 1px solid var(--rule); padding: 0.18em 0.4em; border-radius: 2px; white-space: nowrap; }
.callout { margin: 2rem 0; padding: 1.4rem 1.5rem 1.3rem; border-left: 3px solid var(--sand); background: var(--white); box-shadow: 0 1px 0 var(--rule); }
.callout__tag { font: 500 0.7rem/1 var(--mono); letter-spacing: 0.14em; text-transform: uppercase; color: var(--sand-deep); margin: 0 0 0.7rem; }
.callout p:last-child, .callout ul:last-child { margin-bottom: 0; }
.callout--ink { background: var(--ink); color: var(--paper); border-left-color: var(--ember); }
.callout--ink .callout__tag { color: var(--ember); }
.callout--ink a { color: var(--ember); }
.mess { margin: 2.4rem 0; display: grid; grid-template-columns: 3rem minmax(0, 1fr); gap: 1.2rem; padding: 1.6rem 0; border-top: 1px solid var(--ink); border-bottom: 1px solid var(--ink); }
.mess__mark { font: 400 2.8rem/1 var(--serif); color: var(--sand); }
.mess h3 { margin-top: 0; font-size: 1.3rem; }
.mess p:last-child { margin-bottom: 0; }
.table-wrap { margin: 2rem 0; overflow-x: auto; border: 1px solid var(--rule); background: var(--white); -webkit-overflow-scrolling: touch; }
table { width: 100%; border-collapse: collapse; font-size: 0.94rem; min-width: 34rem; }
caption { text-align: left; padding: 0.9rem 1rem; font: 500 0.72rem/1.4 var(--mono); letter-spacing: 0.08em; text-transform: uppercase; color: var(--slate-text); border-bottom: 1px solid var(--rule); }
th, td { text-align: left; padding: 0.8rem 1rem; border-bottom: 1px solid var(--rule); vertical-align: top; }
thead th { background: var(--ink); color: var(--paper); font-weight: 600; font-size: 0.86rem; }
tbody th { font-weight: 600; }
tbody tr:last-child th, tbody tr:last-child td { border-bottom: 0; }
.matrix { margin: 2.2rem 0; border: 1px solid var(--ink); }
.matrix__head { background: var(--ink); color: var(--paper); padding: 0.8rem 1rem; font: 500 0.72rem/1.3 var(--mono); letter-spacing: 0.12em; text-transform: uppercase; }
.matrix__row { display: grid; grid-template-columns: minmax(0, 1fr) 2.2rem minmax(0, 1.25fr); gap: 0.6rem; padding: 1rem; border-top: 1px solid var(--rule); align-items: start; background: var(--white); }
.matrix__if b, .matrix__then b { display: block; font: 500 0.68rem/1 var(--mono); letter-spacing: 0.14em; color: var(--sand-deep); margin-bottom: 0.4rem; }
.matrix__arrow { font: 400 1.5rem/1 var(--serif); color: var(--sand); text-align: center; padding-top: 0.9rem; }
.bottomline { margin: 2.6rem 0 0; padding: 1.6rem; background: var(--paper-2); border: 1px solid var(--rule); }
.bottomline h2, .bottomline h3 { font-size: 1.4rem; margin: 0 0 0.6rem; }
.bottomline ul { margin: 0; }
.rules-note { margin: 1.6rem 0; font-size: 0.88rem; color: var(--ink-2); padding: 0.9rem 1rem; border: 1px dashed var(--slate); background: rgba(255, 253, 249, 0.6); }

/* FAQ */
.faq { border-top: 1px solid var(--ink); margin-top: 1.4rem; }
.faq__item { border-bottom: 1px solid var(--rule); }
.faq__item summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: 1.15rem 0; }
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary h3 { margin: 0; font-size: 1.2rem; font-weight: 500; }
.faq__icon { flex: none; width: 1.6rem; height: 1.6rem; border: 1px solid var(--rule); border-radius: 50%; position: relative; }
.faq__icon::before, .faq__icon::after { content: ""; position: absolute; left: 50%; top: 50%; width: 10px; height: 1.5px; background: var(--ink); transform: translate(-50%, -50%); transition: transform 0.25s var(--ease); }
.faq__icon::after { transform: translate(-50%, -50%) rotate(90deg); }
.faq__item[open] .faq__icon::after { transform: translate(-50%, -50%) rotate(0deg); }
.faq__a { padding: 0 0 1.2rem; color: var(--ink-2); }
.faq__filter { display: flex; gap: 0.6rem; align-items: center; margin-top: 1rem; }
.faq__filter input { flex: 1; min-height: 46px; padding: 0 0.9rem; border: 1px solid var(--rule); border-radius: var(--radius); font: inherit; background: var(--white); }
.faq__count { font: 500 0.72rem/1 var(--mono); color: var(--slate-text); white-space: nowrap; }

/* Next-step band (contextual CTA) */
.nextstep { background: var(--ink); color: var(--paper); padding: clamp(3.5rem, 7vw, 5.5rem) 0; }
.nextstep__grid { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: clamp(2rem, 5vw, 5rem); align-items: center; }
.nextstep h2 { color: var(--white); margin: 0 0 0.4em; }
.nextstep p { color: #D9D4CA; margin: 0; }
.nextstep__links { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--rule-dark); }
.nextstep__links a { display: flex; justify-content: space-between; gap: 1rem; padding: 1rem 0; border-bottom: 1px solid var(--rule-dark); color: var(--paper); text-decoration: none; font: 400 1.2rem/1.3 var(--serif); }
.nextstep__links a span { font: 500 0.7rem/1 var(--mono); color: var(--ember); letter-spacing: 0.12em; padding-top: 0.4rem; }
.nextstep__links a:hover { color: var(--ember); }

/* ===== Sticky stacking cards (process) ===== */
.stack-sec { background: var(--paper-2); padding: clamp(5rem, 9vw, 8rem) 0; }
.stack-sec .section-head::after { content: ""; display: block; width: 4.5rem; height: 3px; background: var(--sand); margin: 1.4rem auto 0; }
.stack { list-style: none; margin: 0 auto; padding: 0; max-width: 54rem; position: relative; }
.stack::after { content: ""; display: block; height: 4vh; }
.stack__card { position: relative; z-index: 2; display: grid; grid-template-columns: 4rem minmax(0, 1fr); gap: 1.4rem; padding: clamp(1.4rem, 3vw, 2.3rem); background: var(--white); border-radius: 6px; box-shadow: inset 0 0 0 1px var(--rule), 0 22px 48px -30px rgba(21, 25, 29, 0.55); margin-bottom: 1.1rem; }
.stack__badge { width: 4rem; height: 4rem; border-radius: 4px; background: var(--ink); color: var(--paper); display: grid; place-items: center; font: 500 1.6rem/1 var(--serif); font-variant-numeric: tabular-nums; }
.stack__card h3 { margin: 0.2rem 0 0.5rem; }
.stack__card p { margin: 0; color: var(--ink-2); }
.stack__card .statute { font-size: 0.75rem; }
.stack__chev { position: relative; z-index: 1; height: 2.2rem; display: grid; place-items: center; color: var(--sand); margin: -0.4rem 0 0.7rem; }
.stack__chev svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2; }
.mk-on .stack__card { position: sticky; top: calc(var(--header-h) + 1.4rem + var(--i, 0) * 14px); }
.mk-on .stack__chev svg { animation: bob 1.9s ease-in-out infinite; }
@keyframes bob { 0%, 100% { transform: translateY(-22%); } 50% { transform: translateY(22%); } }

/* ===== Scroll-drawn journey path ===== */
.journey { position: relative; background: var(--night); color: var(--paper); overflow: clip; isolation: isolate; }
.journey__bg { position: absolute; inset: 0; z-index: -1; }
.journey__bg img { width: 100%; height: 100%; object-fit: cover; filter: brightness(0.24) saturate(0.6); transform: translateY(var(--par, 0)); }
.journey__bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to bottom, var(--night) 0%, transparent 22%, transparent 70%, var(--night) 100%), radial-gradient(70% 60% at 50% 60%, transparent 30%, rgba(21, 25, 29, 0.6) 100%); }
.journey__frame { padding: clamp(4.5rem, 8vw, 7rem) 0; display: flex; flex-direction: column; }
.journey__head { display: grid; grid-template-columns: 1.35fr 1fr; gap: 2rem; align-items: end; margin-bottom: 3rem; }
.journey__head h2 { color: var(--white); font-weight: 300; font-size: clamp(2.4rem, 1rem + 4.2vw, 5.2rem); line-height: 0.96; letter-spacing: -0.035em; max-width: 14ch; margin: 0; }
.journey__head h2 em { color: var(--ember); }
.journey__head p { color: rgba(244, 239, 230, 0.82); max-width: 40ch; }
.journey__canvas { position: relative; height: clamp(360px, 46vh, 460px); }
.journey__svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.journey__ghost { fill: none; stroke: rgba(244, 239, 230, 0.16); stroke-width: 1; stroke-dasharray: 3 7; vector-effect: non-scaling-stroke; }
.journey__line { fill: none; stroke: var(--ember); stroke-width: 2.5; stroke-linecap: round; vector-effect: non-scaling-stroke; filter: drop-shadow(0 0 6px rgba(224, 122, 92, 0.45)); }
.journey__marker { position: absolute; width: 14px; height: 14px; margin: -7px; border-radius: 50%; background: #F7C3AE; box-shadow: 0 0 0 5px rgba(224, 122, 92, 0.22), 0 0 24px 6px rgba(224, 122, 92, 0.55); left: 0; top: 0; opacity: 0; pointer-events: none; }
.journey__stops { list-style: none; margin: 0; padding: 0; }
.journey__stop { position: absolute; width: 0; height: 0; }
.journey__node { position: absolute; width: 18px; height: 18px; margin: -9px; border-radius: 50%; background: var(--ember); border: 2px solid var(--ember); box-shadow: 0 0 0 6px rgba(224, 122, 92, 0.18); }
.journey__card { position: absolute; width: clamp(10rem, 14.5vw, 15rem); transform: translateX(-50%); }
.journey__stop--hi .journey__card { bottom: 1.9rem; }
.journey__stop--lo .journey__card { top: 1.9rem; }
.journey__stop:first-child .journey__card { transform: translateX(-18%); }
.journey__stop:last-child .journey__card { transform: translateX(-82%); text-align: right; }
.journey__idx { font: 500 0.7rem/1 var(--mono); letter-spacing: 0.18em; color: var(--ember); }
.journey__card h3 { font: 300 clamp(1.4rem, 1rem + 1.1vw, 2.2rem)/1.05 var(--serif); color: var(--white); margin: 0.4rem 0 0.35rem; letter-spacing: -0.02em; }
.journey__card p { font-size: 0.86rem; line-height: 1.45; color: rgba(244, 239, 230, 0.74); margin: 0; }
.journey[data-live] .journey__stop:not([data-reached]) .journey__node { background: var(--night); border-color: rgba(244, 239, 230, 0.3); box-shadow: none; transform: scale(0.7); }
.journey[data-live] .journey__stop:not([data-reached]) .journey__card { opacity: 0; }
.journey[data-live] .journey__stop--hi:not([data-reached]) .journey__card { translate: 0 18px; }
.journey[data-live] .journey__stop--lo:not([data-reached]) .journey__card { translate: 0 -18px; }
.journey[data-live] .journey__card { transition: opacity 0.65s var(--ease), translate 0.65s var(--ease); }
.journey[data-live] .journey__stop[data-reached] .journey__node { animation: pulse 0.9s var(--ease); }
@keyframes pulse { 0% { transform: scale(1.35); box-shadow: 0 0 0 0 rgba(224, 122, 92, 0.6); } 100% { transform: scale(1); box-shadow: 0 0 0 16px rgba(224, 122, 92, 0); } }
.journey[data-pin] .journey__stage { height: 270vh; }
.journey[data-pin] .journey__frame { position: sticky; top: 0; height: 100svh; justify-content: center; padding-block: calc(var(--header-h) + 1rem) 2rem; }

/* ===== Crime class explorer ===== */
.classx { margin: 2.2rem 0; border: 1px solid var(--ink); background: var(--white); }
.classx__tabs { display: flex; flex-wrap: wrap; gap: 1px; background: var(--rule); border-bottom: 1px solid var(--ink); }
.classx__tabs button { flex: 1 1 8rem; min-height: 48px; border: 0; background: var(--paper); font: 600 0.88rem/1.2 var(--sans); color: var(--ink); cursor: pointer; padding: 0.6rem 0.8rem; }
.classx__tabs button[aria-selected="true"] { background: var(--ink); color: var(--paper); }
.classx__scale { display: flex; gap: 6px; padding: 1.2rem 1.2rem 0.4rem; flex-wrap: wrap; }
.classx__scale button { min-width: 3.4rem; min-height: 46px; border: 1px solid var(--ink); background: var(--white); font: 500 0.85rem/1 var(--mono); cursor: pointer; border-radius: 2px; color: var(--ink); }
.classx__scale button[aria-pressed="true"] { background: var(--sand); border-color: var(--sand); color: var(--white); }
.classx__out { padding: 1rem 1.2rem 1.4rem; min-height: 12rem; }
.classx__out h3 { margin: 0 0 0.4rem; font-size: 1.5rem; }
.classx__out dl { display: grid; grid-template-columns: 9rem minmax(0, 1fr); gap: 0.5rem 1rem; margin: 0.8rem 0 0; font-size: 0.95rem; }
.classx__out dt { font: 500 0.72rem/1.6 var(--mono); letter-spacing: 0.08em; text-transform: uppercase; color: var(--slate-text); }
.classx__out dd { margin: 0; }
html:not(.js) .classx { display: none; }

/* ===== Question builder ===== */
.qb { margin: 2.2rem 0; border: 1px solid var(--ink); background: var(--white); }
.qb__head { display: flex; justify-content: space-between; align-items: center; gap: 1rem; flex-wrap: wrap; padding: 1rem 1.2rem; background: var(--ink); color: var(--paper); }
.qb__head p { margin: 0; font: 500 0.72rem/1.3 var(--mono); letter-spacing: 0.1em; text-transform: uppercase; }
.qb__count { color: var(--ember); }
.qb fieldset { border: 0; margin: 0; padding: 1rem 1.2rem; border-bottom: 1px solid var(--rule); }
.qb legend { font: 600 1rem/1.3 var(--sans); padding: 0; margin-bottom: 0.6rem; float: left; width: 100%; }
.qb label { display: grid; grid-template-columns: 1.5rem minmax(0, 1fr); gap: 0.7rem; align-items: start; padding: 0.5rem 0; cursor: pointer; clear: both; }
.qb input[type="checkbox"] { width: 1.2rem; height: 1.2rem; margin: 0.2rem 0 0; accent-color: var(--sand); }
.qb__actions { display: flex; flex-wrap: wrap; gap: 0.7rem; padding: 1rem 1.2rem 1.2rem; }
.qb__out { margin: 0 1.2rem 1.2rem; padding: 1rem; background: var(--paper); border: 1px dashed var(--slate); font-size: 0.95rem; }
.qb__out[hidden] { display: none; }
.qb__out ol { margin: 0; }

/* ===== Forms ===== */
.contact-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); gap: clamp(2rem, 6vw, 6rem); align-items: start; padding: clamp(3.5rem, 7vw, 6rem) 0; }
.warnbox { border: 2px solid var(--sand); background: var(--white); padding: 1.4rem 1.5rem; margin-bottom: 1.6rem; }
.warnbox h2 { font-size: 1.5rem; margin-bottom: 0.5rem; }
.warnbox ul { margin: 0.4rem 0 0; }
.form { background: var(--white); border: 1px solid var(--rule); padding: clamp(1.4rem, 3vw, 2.4rem); }
.field { margin-bottom: 1.2rem; display: grid; gap: 0.4rem; }
.field label, .field__label { font-weight: 600; font-size: 0.95rem; }
.field__hint { font-size: 0.84rem; color: var(--slate-text); }
.field input, .field select, .field textarea { width: 100%; min-height: 48px; padding: 0.7rem 0.85rem; border: 1px solid #9AA0A6; border-radius: var(--radius); background: var(--white); font: 400 1rem/1.4 var(--sans); color: var(--ink); }
.field textarea { min-height: 9rem; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--ink); outline: 3px solid rgba(177, 57, 38, 0.35); outline-offset: 0; }
.field [aria-invalid="true"] { border-color: var(--sand-deep); }
.field__error { color: var(--sand-deep); font-size: 0.88rem; font-weight: 600; }
.field--check label { display: grid; grid-template-columns: 1.4rem minmax(0, 1fr); gap: 0.7rem; font-weight: 400; font-size: 0.92rem; cursor: pointer; }
.field--check input { width: 1.2rem; height: 1.2rem; min-height: 0; margin-top: 0.2rem; accent-color: var(--sand); }
.counter { font: 500 0.72rem/1 var(--mono); color: var(--slate-text); justify-self: end; }
.counter.is-warn { color: var(--sand-deep); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.submit-row { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 1.2rem; align-items: center; margin-top: 1.4rem; padding-top: 1.4rem; border-top: 1px solid var(--rule); }
.submit-row p { margin: 0; font-size: 0.8rem; line-height: 1.5; color: var(--ink-2); }
.form-status { padding: 1rem 1.2rem; margin-bottom: 1.4rem; border-left: 4px solid; }
.form-status--ok { border-color: #3C6E47; background: #EAF2EA; }
.form-status--err { border-color: var(--sand-deep); background: #F8E9E3; }

/* Legal pages */
.legal { padding: clamp(3rem, 6vw, 5rem) 0 clamp(4rem, 8vw, 6rem); }
.legal h1 { font-size: clamp(2.2rem, 1.5rem + 2.4vw, 3.6rem); }
.legal h2 { font-size: 1.6rem; margin-top: 2em; }
.legal .meta { font: 500 0.75rem/1 var(--mono); color: var(--slate-text); letter-spacing: 0.08em; text-transform: uppercase; }

/* 404 */
.nf { padding: clamp(5rem, 12vw, 10rem) 0; text-align: center; }
.nf__code { font: 400 clamp(6rem, 20vw, 14rem)/0.9 var(--serif); color: transparent; -webkit-text-stroke: 1.5px var(--sand); margin: 0; }

/* Footer */
.sitefoot { background: var(--night); color: var(--paper); }
.sitefoot__notice { width: min(100% - 2 * var(--gutter), 1400px); margin: 0 auto; padding: 2.6rem 0 2rem; border-bottom: 1px solid var(--rule-dark); display: grid; grid-template-columns: 14rem minmax(0, 1fr); gap: 0.5rem 2rem; }
.sitefoot__notice p { margin: 0; color: #E6E1D8; font-size: 0.95rem; }
.sitefoot__notice .sitefoot__urgent { grid-column: 2; color: var(--mist); font-size: 0.88rem; margin-top: 0.4rem; }
.sitefoot__notice-tag { font: 500 0.72rem/1.4 var(--mono) !important; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ember) !important; }
.sitefoot__grid { width: min(100% - 2 * var(--gutter), 1400px); margin: 0 auto; padding: 3rem 0; display: grid; grid-template-columns: minmax(0, 1.6fr) repeat(3, minmax(0, 1fr)); gap: 2.4rem; }
.sitefoot__brand img { height: 52px; width: auto; margin-bottom: 1.2rem; }
.sitefoot__brand p { color: var(--mist); font-size: 0.92rem; max-width: 30rem; }
.sitefoot h2 { font: 500 0.72rem/1 var(--mono); letter-spacing: 0.14em; text-transform: uppercase; color: var(--ember); margin: 0 0 1rem; }
.sitefoot ul, .sitefoot ol { list-style: none; padding: 0; margin: 0; display: grid; gap: 0.55rem; font-size: 0.93rem; }
.sitefoot a { color: var(--paper); text-decoration: none; }
.sitefoot a:hover { color: var(--ember); text-decoration: underline; }
.sitefoot__sources li { color: #D9D4CA; }
.sitefoot__small { font-size: 0.8rem; color: var(--mist); margin-top: 0.8rem; }
.sitefoot__base { width: min(100% - 2 * var(--gutter), 1400px); margin: 0 auto; padding: 1.4rem 0 2rem; border-top: 1px solid var(--rule-dark); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 0.6rem 2rem; font-size: 0.82rem; color: var(--mist); }
.sitefoot__base p { margin: 0; }

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

/* ===== Responsive ===== */
@media (max-width: 1180px) {
  .primary-nav > ul > li:not(.has-mega):nth-child(n+4) { display: none; }
  .lang select { max-width: 7.6rem; }
}
@media (max-width: 980px) {
  :root { --header-h: 64px; --dock-h: 66px; }
  .primary-nav, .masthead__cta { display: none; }
  .menu-toggle { display: block; }
  .masthead__tools { margin-left: auto; }
  .masthead__logo img { height: 36px; }
  .lang select { height: 46px; max-width: 6.8rem; font-size: 0.8rem; }
  .dock { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); position: fixed; left: 0; right: 0; bottom: 0; z-index: 70; height: calc(var(--dock-h) + env(safe-area-inset-bottom, 0px)); padding-bottom: env(safe-area-inset-bottom, 0px); background: rgba(21, 25, 29, 0.97); border-top: 1px solid var(--rule-dark); }
  .dock a, .dock button { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 0.3rem; color: var(--paper); text-decoration: none; font: 500 0.72rem/1 var(--sans); background: none; border: 0; cursor: pointer; padding: 0; }
  .dock svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
  .dock [aria-current="page"], .dock [aria-expanded="true"] { color: var(--ember); }
  .dock__primary { background: var(--sand) !important; color: var(--white) !important; }
  .mobile-menu { bottom: calc(var(--dock-h) + env(safe-area-inset-bottom, 0px)); }
  .handover__grid, .phero__grid, .nextstep__grid, .contact-grid, .journey__head { grid-template-columns: minmax(0, 1fr); }
  .article__grid { grid-template-columns: minmax(0, 1fr); }
  .toc { display: none; }
  .stage { grid-template-columns: 2.6rem minmax(0, 1fr); }
  .stage p:not(.stage__word) { grid-column: 2; justify-self: start; }
  .sheet__title { grid-template-columns: minmax(0, 1fr); }
  .sheet__meta { border-left: 0; border-top: 1px solid var(--ink); grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .sheet__cells { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .acc { flex-direction: column; height: auto; }
  .acc__panel { flex: none; height: 74px; transition: height 0.5s var(--ease); }
  .acc__panel.is-active { height: 420px; }
  .acc__teaser { writing-mode: horizontal-tb; rotate: 0deg; left: 1.2rem; transform: none; bottom: auto; top: 50%; translate: 0 -50%; }
  .acc__teaser b { margin: 0 0.8rem 0 0; }
  .sitefoot__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .sitefoot__brand { grid-column: 1 / -1; }
  .sitefoot__notice { grid-template-columns: minmax(0, 1fr); }
  .sitefoot__notice .sitefoot__urgent { grid-column: 1; }
  .phero__figure { order: -1; }
  .phero__figure img { aspect-ratio: 16 / 9; }
  .docket { left: auto; right: 0.8rem; bottom: -1rem; max-width: 15rem; }
  .journey__svg, .journey__marker { display: none; }
  .journey__canvas { height: auto; padding-left: 1.6rem; }
  .journey__canvas::before, .journey__canvas::after { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 2px; background: rgba(244, 239, 230, 0.16); }
  .journey__canvas::after { background: var(--ember); transform: scaleY(var(--p, 1)); transform-origin: top; }
  .journey__stops { display: grid; gap: 2rem; }
  .journey__stop { position: relative; width: auto; height: auto; left: auto !important; top: auto !important; }
  .journey__node { left: -1.6rem; top: 0.6rem; margin: 0 0 0 -8px; }
  .journey__card, .journey__stop:first-child .journey__card, .journey__stop:last-child .journey__card { position: static; width: auto; transform: none; text-align: left; }
  .journey[data-live] .journey__stop:not([data-reached]) .journey__card { translate: 0 12px !important; }
}
@media (max-width: 700px) {
  .acts[data-live] .act { padding: 0 var(--gutter); }
  .acts[data-live] .act__word, .act__word { font-size: 25vw; }
  .act__phrase { flex-direction: column; align-items: center; }
  .acts[data-live] .act__num { top: 18vh; transform: translateY(calc((0.5 - var(--t, 0.5)) * 120vh)); }
  .acts[data-live] .acts__rail { top: auto; bottom: calc(var(--dock-h) + 1.2rem); left: 0; right: 0; transform: none; padding: 0 var(--gutter); }
  .acts__rail::before, .acts__rail-fill { display: none; }
  .acts__rail ol { grid-auto-flow: column; justify-content: center; gap: 1.2rem; }
  .stage__word { white-space: normal; }
  .sitefoot__grid { grid-template-columns: minmax(0, 1fr); }
  .submit-row { grid-template-columns: minmax(0, 1fr); }
  .matrix__row { grid-template-columns: minmax(0, 1fr); }
  .matrix__arrow { text-align: left; padding: 0; transform: rotate(90deg); width: 1.4rem; }
  .classx__out dl { grid-template-columns: minmax(0, 1fr); }
  .mess { grid-template-columns: minmax(0, 1fr); }
  .hero__actions .btn, .phero__actions .btn { flex: 1 1 100%; }
  .disclaimer-strip p { font-size: 0.78rem; }
  .masthead__inner { gap: 0.7rem; }
  .lang select { max-width: 3.2rem; padding: 0 0 0 2.1rem; color: transparent; background-image: none; }
  .lang select option { color: var(--ink); }
}

/* Reduced motion: the OS setting (unless the visitor chose Full) or the site toggle */
html[data-motion="reduced"] *, html[data-motion="reduced"] *::before, html[data-motion="reduced"] *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; scroll-behavior: auto !important; }
html[data-motion="reduced"] .run__rig { animation: none; }
@media (prefers-reduced-motion: reduce) {
  html:not(.motion) *, html:not(.motion) *::before, html:not(.motion) *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; }
  @view-transition { navigation: none; }
}
@media print {
  .masthead, .dock, .sitefoot__grid, .run__track, .mobile-menu { display: none !important; }
  body { background: #fff; }
}


/* =====================================================================
   Motion layer (PLAYBOOK section 14): view transitions, split headings,
   reveals, line-draw accents, parallax, scroll progress, micro-interactions
   ===================================================================== */
@view-transition { navigation: auto; }
.masthead { view-transition-name: site-header; }
.dock { view-transition-name: site-dock; }
.disclaimer-strip { view-transition-name: law-strip; }
::view-transition-group(site-header), ::view-transition-group(site-dock), ::view-transition-group(law-strip) { animation: none; }
::view-transition-old(root) { animation: vt-out 0.32s cubic-bezier(0.4, 0, 1, 1) both; }
::view-transition-new(root) { animation: vt-in 0.55s var(--ease) both; }
@keyframes vt-out { to { opacity: 0; transform: translateY(-14px); } }
@keyframes vt-in { from { opacity: 0; transform: translateY(22px); } }
html[data-motion="reduced"]::view-transition-old(root), html[data-motion="reduced"]::view-transition-new(root) { animation: none; }
html.motion { scroll-behavior: smooth; }

/* Reading progress bar on the persistent header */
.readbar { position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; background: var(--sand); transform: scaleX(0); transform-origin: left; pointer-events: none; }
html:not(.motion) .readbar { display: none; }

/* Motion toggle */
.motion-toggle { display: inline-flex; align-items: center; gap: 0.4rem; height: 42px; padding: 0 0.8rem; border: 1px solid var(--rule); border-radius: 999px; background: transparent; font: 500 0.78rem/1 var(--mono); letter-spacing: 0.04em; color: var(--ink); cursor: pointer; transform: translate(var(--mx, 0), var(--my, 0)); transition: transform 0.25s var(--ease), border-color 0.2s; }
.motion-toggle:hover { border-color: var(--ink); }
.motion-toggle__dot { width: 8px; height: 8px; border-radius: 50%; background: var(--sand); box-shadow: 0 0 0 3px rgba(177, 57, 38, 0.18); }
html[data-motion="reduced"] .motion-toggle__dot { background: var(--slate); box-shadow: none; }
.motion-toggle__state { color: var(--sand-deep); }
html:not(.js) .motion-toggle { display: none; }
.mobile-menu .motion-toggle { margin-top: 1.4rem; }
@media (max-width: 1180px) { .masthead .motion-toggle__label { display: none; } }
@media (max-width: 980px) { .masthead .motion-toggle { display: none; } }

/* Split headings: words mask up line by line */
.mk-on .split .sw { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: 0.08em; margin-bottom: -0.08em; }
.mk-on .split .swi { display: inline-block; transform: translateY(108%); transition: transform 0.9s var(--ease); transition-delay: calc(var(--li, 0) * 0.11s + 0.05s); }
.mk-on .split.is-in .swi { transform: none; }
.mk-on .hero .split .swi { transition-duration: 1.1s; transition-delay: calc(var(--li, 0) * 0.16s + 0.1s); }
.mk-on .hero__lede.split .swi { transition-duration: 0.8s; transition-delay: calc(0.45s + var(--li, 0) * 0.08s); }
.mk-on .hero .hero__actions, .mk-on .hero .hero__kicker { opacity: 0; transform: translateY(14px); transition: opacity 0.8s var(--ease) 0.75s, transform 0.8s var(--ease) 0.75s; }
.mk-on .hero.is-arrived .hero__actions, .mk-on .hero.is-arrived .hero__kicker { opacity: 1; transform: none; }
.mk-on .hero .hero__kicker { transition-delay: 0s; }
.mk-on .hero h1, .mk-on .hero__lede, .mk-on .hero__actions { animation: none; }

/* Reveals for every block */
.mk-on [data-reveal] { opacity: 0; transform: translateY(26px); transition: opacity 0.8s var(--ease), transform 0.9s var(--ease); transition-delay: calc(var(--ri, 0) * 0.07s); }
.mk-on [data-reveal="clip"] { opacity: 1; transform: none; transition: clip-path 1.15s var(--ease); }
.mk-on [data-reveal].is-in { opacity: 1; transform: none; }
.mk-on [data-reveal="clip"] { clip-path: inset(-3rem -3rem 100% -3rem); }
.mk-on [data-reveal="clip"].is-in { clip-path: inset(-3rem -3rem -3rem -3rem); }
.mk-on .stage[data-reveal] { transform: translateY(40px); }

/* Line-draw accents */
.mk-on .eyebrow::before { transform: scaleX(0); transform-origin: left; transition: transform 0.9s var(--ease) 0.15s; }
.mk-on .eyebrow.is-in::before { transform: scaleX(1); }
.prose > h2 { border-top: 0; }
.prose > h2::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 1px; background: var(--rule); transform-origin: left; }
.prose > h2::after { content: ""; position: absolute; left: 0; top: -1px; width: 4rem; height: 3px; background: var(--sand); transform-origin: left; }
.mk-on .prose > h2::before { transform: scaleX(0); transition: transform 1.2s var(--ease); }
.mk-on .prose > h2::after { transform: scaleX(0); transition: transform 0.8s var(--ease) 0.5s; }
.mk-on .prose > h2.is-in::before, .mk-on .prose > h2.is-in::after { transform: scaleX(1); }
.mk-on .stack-sec .section-head::after { transform: scaleX(0); transition: transform 1s var(--ease) 0.3s; }
.mk-on .stack-sec .section-head.is-in::after { transform: scaleX(1); }
.mk-on .matrix__row { opacity: 0; transform: translateX(-12px); transition: opacity 0.6s var(--ease), transform 0.6s var(--ease); }
.mk-on .matrix.is-in .matrix__row { opacity: 1; transform: none; }
.mk-on .matrix.is-in .matrix__row:nth-child(3) { transition-delay: 0.12s; }
.mk-on .matrix.is-in .matrix__row:nth-child(4) { transition-delay: 0.24s; }
.mk-on .matrix.is-in .matrix__row:nth-child(5) { transition-delay: 0.36s; }
.mess { border-top-color: transparent; position: relative; }
.mess::before { content: ""; position: absolute; left: 0; right: 0; top: -1px; height: 1px; background: var(--ink); transform-origin: left; }
.mk-on .mess::before { transform: scaleX(0); transition: transform 1.2s var(--ease); }
.mk-on .mess.is-in::before { transform: scaleX(1); }

/* Parallax on every hero and large photo (img moves inside its clipped picture) */
.px { overflow: hidden; }
.phero__figure .px { border-radius: var(--radius); }
.mk-on .px img { translate: 0 var(--py, 0px); scale: 1.12; will-change: translate; }

/* Scroll-progress (--p) effects */
.phero { position: relative; overflow: clip; }
.phero::after { content: ""; position: absolute; left: 0; bottom: 0; height: 2px; width: 100%; background: var(--sand); transform: scaleX(var(--out, 0)); transform-origin: left; opacity: 0.8; }
html:not(.motion) .phero::after { display: none; }
.mk-on .phero__text { transform: translateY(calc(var(--out, 0) * -40px)); opacity: calc(1 - var(--out, 0) * 0.6); }
.toc::after { content: ""; position: absolute; left: 0; top: 2.1rem; width: 2px; height: calc(100% - 2.1rem); background: var(--sand); transform: scaleY(var(--p, 0)); transform-origin: top; }
.toc { position: sticky; }
.toc ol { position: relative; }
.article .toc::after { transform: scaleY(calc(var(--p, 0) * 1.25)); }
html:not(.motion) .toc::after { display: none; }
.nextstep { position: relative; overflow: clip; }
.nextstep::before { content: "\00A7"; position: absolute; right: -2vw; top: 50%; font: 300 clamp(14rem, 34vw, 30rem)/1 var(--serif); color: transparent; -webkit-text-stroke: 1px rgba(224, 122, 92, 0.25); transform: translateY(calc(-50% + (0.5 - var(--p, 0.5)) * 160px)) rotate(calc(var(--p, 0.5) * 18deg - 9deg)); pointer-events: none; }
.nextstep__grid { position: relative; }
.mk-on .nextstep__links a { transition: color 0.2s, padding 0.3s var(--ease); }
.mk-on .nextstep__links a:hover { padding-left: 0.6rem; }
.guides .section-head { transform: translateY(calc((0.5 - var(--p, 0.5)) * 40px)); }
.stack-sec { background-image: linear-gradient(180deg, transparent calc(100% - var(--p, 0) * 100%), rgba(177, 57, 38, 0.05) 0); }

/* Micro-interactions */
.btn { transform: translate(var(--mx, 0), var(--my, 0)); }
.btn:active { transform: translate(var(--mx, 0), calc(var(--my, 0px) + 1px)); }
.mk-on .mega__list a, .mk-on .stack__card, .mk-on .faq__item summary, .mk-on .sheet__cell button { transition: background 0.2s var(--ease), transform 0.3s var(--ease), box-shadow 0.3s var(--ease); }
.mk-on .mega__list a:hover { transform: translateY(-3px); }
.mk-on .stack__card:hover { box-shadow: inset 0 0 0 1px var(--rule), 0 30px 60px -30px rgba(21, 25, 29, 0.6); }
.mk-on .sheet__cell button:hover { transform: translateY(-3px); }
.prose a:not(.btn):not(.link-arrow), .faq__a a { text-decoration: none; background: linear-gradient(currentColor, currentColor) 0 100% / 100% 1px no-repeat; transition: background-size 0.35s var(--ease); }
.mk-on .prose a:not(.btn):not(.link-arrow):hover, .mk-on .faq__a a:hover { background-size: 0 1px; background-position: 100% 100%; }
.faq__a a { text-decoration: none; }

/* Arrival intro (home, first visit per session) */
.arrival { position: fixed; inset: 0; z-index: 300; background: var(--night); display: grid; place-items: center; pointer-events: none; transition: opacity 0.8s var(--ease), clip-path 0.9s var(--ease); clip-path: inset(0 0 0 0); }
.arrival.is-out { clip-path: inset(0 0 100% 0); }
.arrival__mark { animation: arr-mark 1.2s var(--ease) both; }
.arrival__mark img { width: auto; height: 96px; }
.arrival__rule { position: absolute; left: 50%; top: calc(50% + 70px); width: 180px; height: 1px; margin-left: -90px; background: var(--ember); transform-origin: left; animation: arr-rule 1.2s var(--ease) both 0.15s; }
.arrival__skip { position: fixed; z-index: 301; right: 1.2rem; bottom: calc(1.2rem + var(--dock-h) + env(safe-area-inset-bottom, 0px)); background: transparent; color: var(--paper); border: 1px solid var(--rule-dark); border-radius: 999px; font: 500 0.75rem/1 var(--mono); letter-spacing: 0.1em; text-transform: uppercase; padding: 0.7rem 1rem; cursor: pointer; }
@keyframes arr-mark { from { opacity: 0; transform: translateY(16px) scale(0.96); } to { opacity: 1; transform: none; } }
@keyframes arr-rule { from { transform: scaleX(0); } to { transform: scaleX(1); } }

/* Layout QA (playbook 18): no overlap, no blank halves */
.hero__content { max-width: none; }
.hero h1 em { display: block; }
.hero__foot { display: flex; flex-wrap: wrap; align-items: center; gap: 1.2rem clamp(2rem, 5vw, 4.5rem); }
.hero__foot .hero__lede { flex: 0 1 36rem; margin: 0; }
