/* Layton Consulting — service-floor scene material system
   Ink #17131A · Night #241C29 · Ivory #F4EEE4 · Linen #E6DCCD · Brass #B48A4E · Clay #C2704C · Pewter #A9A1A8
   Scenes: maquette studies bleed into plum grounds sampled from each image's studio backdrop.
   Depth: scene image (parallax) → ink shade / ink-glass plates → ivory letter paper; brass hairlines as metal.
   Motion: transform / opacity / clip-path only; one ambient loop (service rhythm) with pause + guards. */

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

:root {
  --ink: #17131A;
  --night: #241C29;
  --ivory: #F4EEE4;
  --paper: #FBF7F0;
  --linen: #E6DCCD;
  --brass: #B48A4E;
  --brass-light: #D3B07A;
  --clay: #C2704C;
  --clay-deep: #9A4E2E;
  --clay-light: #E7A782;
  --pewter: #A9A1A8;
  --text: #241C29;
  --muted: #5B5160;
  --scene-dining: #1C0322;
  --scene-plates: #22081D;
  --scene-letter: #261326;
  --serif: "Newsreader", "Iowan Old Style", Georgia, serif;
  --sans: "Public Sans", "Segoe UI", system-ui, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, monospace;
  --gutter: clamp(20px, 5.5vw, 88px);
  --max: 1360px;
  --ease: cubic-bezier(.2, .7, .1, 1);
  --ease-swap: cubic-bezier(.65, 0, .35, 1);
  --h1: clamp(2.9rem, 6.3vw, 6.4rem);
  --shadow-paper: 0 1px 0 rgba(255, 255, 255, .7) inset, 0 2px 4px rgba(23, 19, 26, .06), 0 24px 48px -24px rgba(23, 19, 26, .45);
  --shadow-lift: 0 1px 0 rgba(255, 255, 255, .7) inset, 0 4px 8px rgba(23, 19, 26, .08), 0 34px 60px -26px rgba(23, 19, 26, .55);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; font-family: var(--sans); font-size: 18px; line-height: 1.6; color: var(--text); background: var(--ivory); -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; }
h1, h2, h3 { margin: 0; font-weight: 400; color: inherit; }
h2 { font-family: var(--serif); font-size: clamp(2.2rem, 4.2vw, 4.1rem); line-height: 1.02; letter-spacing: -.02em; font-optical-sizing: auto; }
h2 em, h1 em { font-style: italic; }
p { margin: 0 0 1em; }
a { color: inherit; }
[hidden] { display: none !important; }
:is(a, button, summary, [tabindex]):focus-visible { outline: 2px solid var(--brass); outline-offset: 4px; border-radius: 2px; }
.skip-link { position: absolute; left: -9999px; top: 8px; z-index: 100; background: var(--ink); color: var(--ivory); padding: 12px 18px; }
.skip-link:focus { left: 8px; }
[id] { scroll-margin-top: 88px; }
.scene-kicker { font-family: var(--mono); font-size: 12px; font-weight: 500; text-transform: uppercase; letter-spacing: .16em; color: var(--muted); margin: 0 0 22px; }

/* ---------- Masthead: transparent over scenes, ink glass afterwards ---------- */
.masthead { position: fixed; inset: 0 0 auto; z-index: 50; color: var(--ivory); background: rgba(23, 19, 26, .96); backdrop-filter: blur(14px) saturate(1.2); -webkit-backdrop-filter: blur(14px) saturate(1.2); box-shadow: inset 0 -1px 0 rgba(180, 138, 78, .35); transition: background 420ms var(--ease), box-shadow 420ms var(--ease); }
.masthead.is-over-scene { background: transparent; backdrop-filter: none; -webkit-backdrop-filter: none; box-shadow: inset 0 -1px 0 rgba(244, 238, 228, .12); }
.masthead-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 14px var(--gutter); min-height: 72px; }
.wordmark { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; color: var(--ivory); --mark-frame: var(--ivory); --mark-accent: var(--brass-light); }
.wordmark-symbol { flex: none; transition: transform 320ms var(--ease); }
.wordmark:hover .wordmark-symbol { transform: translateY(-2px); }
.wordmark-text { display: flex; flex-direction: column; line-height: 1; }
.wordmark-name { font-family: var(--serif); font-size: 26px; font-weight: 500; letter-spacing: -.01em; }
.wordmark-role { font-family: var(--mono); font-size: 9.5px; letter-spacing: .32em; text-transform: uppercase; margin-top: 4px; color: var(--brass-light); }
.mast-list { display: flex; align-items: center; gap: 2px; list-style: none; margin: 0; padding: 0; }
.mast-trigger, .mast-link { position: relative; display: inline-flex; align-items: center; min-height: 44px; padding: 10px 14px; font: 500 15px/1 var(--sans); color: inherit; background: none; border: 0; cursor: pointer; text-decoration: none; }
.mast-trigger::after, .mast-link:not(.mast-contact)::after { content: ""; position: absolute; left: 14px; right: 14px; bottom: 8px; height: 1px; background: var(--brass-light); transform: scaleX(0); transform-origin: left; transition: transform 320ms var(--ease); }
.mast-trigger:hover::after, .mast-link:hover::after, .mast-trigger[aria-expanded="true"]::after { transform: scaleX(1); }
.mast-trigger::before { content: ""; order: 2; width: 6px; height: 6px; margin-left: 8px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: translateY(-2px) rotate(45deg); transition: transform 320ms var(--ease); }
.mast-trigger[aria-expanded="true"]::before { transform: translateY(1px) rotate(225deg); }
.mast-contact { margin-left: 10px; padding: 10px 20px; border: 1px solid rgba(211, 176, 122, .7); border-radius: 999px; transition: background 260ms var(--ease), color 260ms var(--ease); }
.mast-contact:hover { background: var(--brass-light); color: var(--ink); }
.mast-item.has-panel { position: relative; }
.mast-panel { position: absolute; top: calc(100% + 14px); left: 0; width: 360px; padding: 20px 18px 14px; color: var(--ivory); background: rgba(23, 19, 26, .9); backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px); border-top: 1px solid var(--brass); box-shadow: inset 0 1px 0 rgba(244, 238, 228, .08), 0 30px 60px -20px rgba(0, 0, 0, .6); animation: panel-in 320ms var(--ease); }
@keyframes panel-in { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: none; } }
.panel-heading { font: 500 11px var(--mono); letter-spacing: .18em; text-transform: uppercase; color: var(--brass-light); margin: 0 0 10px; }
.mast-panel ul { list-style: none; margin: 0; padding: 0; }
.mast-panel li + li { border-top: 1px solid rgba(244, 238, 228, .1); }
.mast-panel li a { display: flex; flex-direction: column; gap: 3px; padding: 12px 8px; text-decoration: none; transition: transform 260ms var(--ease), background 260ms var(--ease); }
.mast-panel li a:hover { transform: translateX(6px); background: rgba(244, 238, 228, .05); }
.panel-title { font-family: var(--serif); font-size: 21px; line-height: 1.1; }
.panel-note { font-size: 13.5px; color: var(--pewter); }
.menu-toggle { display: none; }

/* ---------- Shared split lines for layered headlines ---------- */
.line { display: block; }
.line > span { display: inline-block; }
.line-sans { font-family: var(--sans); font-weight: 300; letter-spacing: -.045em; font-size: .86em; }
.line-serif { font-family: var(--serif); font-weight: 400; letter-spacing: -.025em; }
.line-italic { font-family: var(--serif); font-style: italic; font-weight: 400; letter-spacing: -.02em; }

/* ---------- Arrival scene (home opening) ---------- */
.arrival { position: relative; background: var(--ivory); }
.arrival-scene { position: relative; height: 100svh; min-height: 660px; max-height: 1040px; background: var(--scene-dining); color: var(--ivory); }
.arrival-media { position: absolute; inset: 0 0 0 16%; overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 24%); mask-image: linear-gradient(90deg, transparent 0, #000 24%); }
.arrival-media img { width: 100%; height: 100%; object-fit: cover; object-position: 58% 46%; transform: translate3d(0, var(--drift, 0px), 0) scale(1.08); transform-origin: 60% 40%; }
.arrival-shade { position: absolute; inset: 0; pointer-events: none; background:
  radial-gradient(70% 60% at 72% 34%, rgba(214, 150, 98, .16), transparent 70%),
  linear-gradient(90deg, rgba(23, 6, 28, .92) 0%, rgba(23, 6, 28, .64) 34%, rgba(23, 6, 28, 0) 64%),
  linear-gradient(0deg, rgba(23, 6, 28, .9) 0%, rgba(23, 6, 28, 0) 38%),
  linear-gradient(180deg, rgba(23, 6, 28, .7) 0%, rgba(23, 6, 28, 0) 18%); }
.arrival-copy { position: absolute; left: var(--gutter); right: var(--gutter); bottom: 0; z-index: 2; }
.arrival-kicker { display: flex; flex-wrap: wrap; gap: 10px; color: var(--brass-light); margin-bottom: 26px; }
.arrival-title { font-size: var(--h1); line-height: .94; margin-bottom: calc(var(--h1) * -.5); max-width: 13.5em; }
.arrival-title .line-italic { line-height: 1; padding-right: .1em; background: linear-gradient(180deg, var(--clay-light) 0 50%, var(--clay-deep) 50% 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.arrival-title .line-italic > span { color: transparent; }

.rhythm { position: absolute; z-index: 2; right: var(--gutter); width: min(46%, 640px); bottom: 112px; height: 58px; color: var(--brass-light); }
.rhythm-line { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.rhythm-track { fill: none; stroke: rgba(211, 176, 122, .22); stroke-width: 1; vector-effect: non-scaling-stroke; }
.rhythm-draw { fill: none; stroke: var(--brass-light); stroke-width: 1.5; vector-effect: non-scaling-stroke; stroke-dasharray: 1; stroke-dashoffset: 0; }
.rhythm-marker { position: absolute; left: -7px; top: -7px; width: 14px; height: 14px; border-radius: 50%; background: var(--brass-light); box-shadow: 0 0 0 5px rgba(211, 176, 122, .18), 0 0 24px 4px rgba(231, 167, 130, .45); opacity: 0; transition: opacity 400ms var(--ease); will-change: transform; }
.rhythm.is-live .rhythm-marker { opacity: 1; }
.rhythm-stations { position: absolute; inset: 0; list-style: none; margin: 0; padding: 0; }
.rhythm-stations li { position: absolute; left: var(--x); top: -30px; transform: translateX(-50%); font: 500 10.5px var(--mono); letter-spacing: .16em; text-transform: uppercase; white-space: nowrap; color: rgba(244, 238, 228, .62); transition: color 300ms var(--ease); }
.rhythm-stations li::after { content: ""; position: absolute; left: 50%; top: 20px; width: 1px; height: 12px; background: rgba(211, 176, 122, .5); }
.rhythm-stations li.is-now { color: var(--brass-light); }
.rhythm-pause { position: absolute; right: 0; bottom: -54px; display: inline-flex; align-items: center; gap: 10px; min-height: 44px; padding: 0 16px 0 12px; font: 500 11px var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--ivory); background: rgba(23, 19, 26, .55); border: 1px solid rgba(211, 176, 122, .45); border-radius: 999px; cursor: pointer; backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); transition: background 240ms var(--ease); }
.rhythm-pause:hover { background: rgba(23, 19, 26, .85); }
.pause-icon { position: relative; width: 10px; height: 12px; border-left: 3px solid var(--brass-light); border-right: 3px solid var(--brass-light); }
.rhythm-pause[aria-pressed="true"] .pause-icon { width: 0; height: 0; border-style: solid; border-width: 6px 0 6px 10px; border-color: transparent transparent transparent var(--brass-light); }

.arrival-band { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) min(46%, 640px); gap: 48px; padding: 0 var(--gutter) clamp(64px, 8vw, 112px); }
.arrival-remit { grid-column: 1; padding-top: calc(var(--h1) * .5 + 34px); max-width: 34ch; font-size: 19px; line-height: 1.55; color: var(--muted); }
.arrival-remit strong { color: var(--text); font-weight: 600; }
.threshold { grid-column: 2; grid-row: 1; margin-top: -48px; position: relative; z-index: 3; background: var(--paper); box-shadow: var(--shadow-lift); border-top: 2px solid var(--brass); }
.threshold-label { margin: 0; padding: 16px 24px 10px; font: 500 11px var(--mono); letter-spacing: .18em; text-transform: uppercase; color: var(--muted); }
.threshold-link { display: grid; grid-template-columns: 34px 1fr auto; grid-template-rows: auto auto; column-gap: 12px; align-items: baseline; padding: 16px 24px; border-top: 1px solid rgba(36, 28, 41, .1); text-decoration: none; transition: background 260ms var(--ease), padding 320ms var(--ease), box-shadow 260ms var(--ease); }
.threshold-link:hover, .threshold-link:focus-visible { background: var(--linen); padding-left: 32px; box-shadow: inset 3px 0 0 var(--brass), 0 10px 22px -16px rgba(23, 19, 26, .45); }
.threshold-index { grid-row: 1 / 3; font: 500 11px var(--mono); color: var(--clay-deep); letter-spacing: .1em; }
.threshold-name { font-family: var(--serif); font-size: 25px; line-height: 1.1; }
.threshold-note { grid-column: 2; font-size: 14px; color: var(--muted); }
.threshold-arrow { grid-row: 1 / 3; grid-column: 3; align-self: center; font-size: 20px; color: var(--brass); transition: transform 320ms var(--ease); }
.threshold-link:hover .threshold-arrow { transform: translate(3px, 3px); }

/* First-load staging (normal motion only) */
.motion-ok .arrival-media img { animation: scene-settle 1800ms var(--ease) both; }
@keyframes scene-settle { from { transform: translate3d(0, 0, 0) scale(1.16); filter: brightness(.55); } }
.motion-ok .arrival-title .line, .motion-ok .service-title .line { animation: line-rise 1100ms var(--ease) both; }
.motion-ok .arrival-title .line:nth-child(2), .motion-ok .service-title .line:nth-child(2) { animation-delay: 140ms; }
.motion-ok .arrival-title .line:nth-child(3) { animation-delay: 280ms; }
@keyframes line-rise { from { opacity: 0; transform: translateY(.45em); clip-path: inset(0 0 100% 0); } to { opacity: 1; transform: none; clip-path: inset(-.2em -.2em -.3em -.2em); } }
.motion-ok .arrival-kicker, .motion-ok .arrival-remit, .motion-ok .service-copy .scene-kicker, .motion-ok .service-lede, .motion-ok .back-action { animation: soft-in 900ms var(--ease) 420ms both; }
.motion-ok .threshold { animation: plate-in 1100ms var(--ease) 520ms both; }
@keyframes soft-in { from { opacity: 0; transform: translateY(14px); } }
@keyframes plate-in { from { opacity: 0; transform: translateY(40px); } }
.motion-ok .rhythm-draw { animation: ribbon-draw 1600ms var(--ease) 600ms both; }
@keyframes ribbon-draw { from { stroke-dashoffset: 1; } to { stroke-dashoffset: 0; } }

/* ---------- Sector journey (supporting step) ---------- */
.journey { padding: clamp(80px, 10vw, 150px) var(--gutter) clamp(80px, 9vw, 130px); background: var(--ivory); }
.journey-intro { max-width: var(--max); margin: 0 auto clamp(40px, 5vw, 64px); display: grid; grid-template-columns: 1fr 1fr; gap: 6%; align-items: end; }
.journey-intro .scene-kicker { grid-column: 1 / -1; margin: 0; }
.journey-intro h2 em { color: var(--clay-deep); }
.journey-intro p:last-child { color: var(--muted); max-width: 44ch; margin: 0; }
.journey-grid { max-width: var(--max); margin: 0 auto; display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, 1fr); align-items: start; }
.journey-stage { position: relative; margin: 0; aspect-ratio: 4 / 5; overflow: hidden; background: #2a0a2e; box-shadow: 0 40px 80px -40px rgba(23, 19, 26, .7); }
.stage-image { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; z-index: 1; transition: opacity 0s linear 760ms, transform 1200ms var(--ease); }
.stage-image[data-stage="hotel"] { object-position: 46% 50%; }
.stage-image[data-stage="restaurant"] { object-position: 36% 50%; }
.stage-image[data-stage="leisure"] { object-position: 44% 50%; }
.stage-image.is-active { opacity: 1; z-index: 2; transition: transform 1200ms var(--ease); }
.motion-ok .stage-image.is-active { animation: wipe-in 760ms var(--ease-swap) both; }
@keyframes wipe-in { from { clip-path: inset(0 0 0 100%); } to { clip-path: inset(0); } }
.journey-stage:hover .stage-image.is-active { transform: scale(1.03); }
.stage-caption { position: absolute; z-index: 3; left: 20px; bottom: 20px; display: flex; gap: 12px; align-items: baseline; padding: 12px 18px; color: var(--ivory); background: rgba(23, 19, 26, .62); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-top: 1px solid var(--brass); box-shadow: inset 0 1px 0 rgba(244, 238, 228, .08); }
.stage-caption-label { font: 500 10.5px var(--mono); letter-spacing: .18em; text-transform: uppercase; color: var(--brass-light); }
.stage-caption strong { font-family: var(--serif); font-weight: 400; font-size: 22px; }
.journey-panel { position: relative; z-index: 2; padding: clamp(8px, 2vw, 24px) 0 0 clamp(28px, 4.5vw, 72px); }
.sector-tabs { display: grid; border-top: 1px solid rgba(36, 28, 41, .16); }
.sector-tab { position: relative; display: flex; align-items: baseline; gap: 18px; width: 100%; min-height: 64px; padding: 16px 4px; font: 400 clamp(26px, 2.6vw, 36px)/1.1 var(--serif); letter-spacing: -.015em; text-align: left; color: rgba(36, 28, 41, .48); background: none; border: 0; border-bottom: 1px solid rgba(36, 28, 41, .16); cursor: pointer; transition: color 300ms var(--ease), padding 360ms var(--ease); }
.sector-tab::after { content: ""; position: absolute; left: 0; bottom: -1px; height: 2px; width: 100%; background: var(--brass); transform: scaleX(0); transform-origin: left; transition: transform 520ms var(--ease); }
.sector-tab:hover { color: var(--text); padding-left: 12px; }
.sector-tab[aria-selected="true"] { color: var(--text); }
.sector-tab[aria-selected="true"]::after { transform: scaleX(1); }
.sector-tab-index { font: 500 11px var(--mono); letter-spacing: .12em; color: var(--muted); }
.sector-tab[aria-selected="true"] .sector-tab-index { color: var(--clay-deep); }
.focus-row { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; margin: 26px 0 0; }
.focus-label { margin: 0; font: 500 11px var(--mono); letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.focus-rail { display: flex; flex-wrap: wrap; gap: 8px; }
.focus-chip { min-height: 44px; padding: 10px 16px; font: 500 14px var(--sans); color: var(--text); background: transparent; border: 1px solid rgba(36, 28, 41, .25); border-radius: 999px; cursor: pointer; transition: background 240ms var(--ease), color 240ms var(--ease), border-color 240ms var(--ease), transform 240ms var(--ease); }
.focus-chip:hover { border-color: var(--text); transform: translateY(-2px); }
.focus-chip[aria-pressed="true"] { color: var(--ivory); background: var(--ink); border-color: var(--ink); }
.atlas-result { position: relative; margin: 30px 0 0 clamp(-120px, -7vw, -40px); padding: clamp(24px, 3vw, 38px); background: var(--paper); border-top: 2px solid var(--brass); box-shadow: var(--shadow-lift); }
.atlas-result.is-changing > * { animation: result-in 560ms var(--ease) both; }
.atlas-result.is-changing > *:nth-child(2) { animation-delay: 60ms; }
.atlas-result.is-changing > *:nth-child(3) { animation-delay: 120ms; }
@keyframes result-in { from { opacity: 0; transform: translateY(10px); } }
.result-kicker { font: 500 11px var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--clay-deep); margin: 0 0 12px; }
.result-question { font-family: var(--serif); font-size: clamp(24px, 2.3vw, 31px); line-height: 1.15; letter-spacing: -.01em; margin: 0 0 22px; }
.result-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; margin: 0; }
.result-pair dt { font: 500 10.5px var(--mono); letter-spacing: .16em; text-transform: uppercase; color: var(--muted); padding-bottom: 8px; margin-bottom: 10px; border-bottom: 1px solid rgba(180, 138, 78, .5); }
.result-pair dd { margin: 0; font-size: 16px; line-height: 1.55; }
.result-actions { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px; margin-top: 24px; }
.reset-filters { min-height: 44px; padding: 8px 4px; font: 500 12px var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); background: none; border: 0; cursor: pointer; text-decoration: underline; text-underline-offset: 4px; }
.illustrative-note { margin: 16px 0 0; font-size: 13.5px; color: var(--muted); }
.text-action { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; font-weight: 600; font-size: 16px; text-decoration: none; border-bottom: 1px solid var(--brass); transition: gap 300ms var(--ease), color 300ms var(--ease); }
.text-action:hover, .text-action:focus-visible { gap: 18px; color: var(--clay-deep); }

/* ---------- Focus interludes: alternating half-bleed ---------- */
.interludes { background: var(--ivory); padding-bottom: clamp(60px, 8vw, 120px); }
.interlude { display: grid; grid-template-columns: minmax(0, 56fr) minmax(0, 44fr); align-items: center; min-height: min(84vh, 760px); margin-top: clamp(40px, 6vw, 96px); }
.interlude-media { position: relative; margin: 0; height: 100%; min-height: 520px; overflow: hidden; background: #2a0128; }
.interlude-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1400ms var(--ease); }
.interlude:hover .interlude-media img { transform: scale(1.03); }
.interlude-copy { position: relative; z-index: 2; margin-left: -96px; margin-right: var(--gutter); padding: clamp(32px, 4vw, 56px); background: var(--paper); box-shadow: var(--shadow-paper); border-top: 2px solid var(--brass); }
.interlude-copy h2 { font-size: clamp(2rem, 3.4vw, 3.3rem); margin-bottom: 22px; }
.interlude-copy h2 em { color: var(--clay-deep); }
.interlude-copy > p:not(.scene-kicker) { color: var(--muted); max-width: 46ch; }
.interlude-questions { list-style: none; margin: 22px 0 26px; padding: 0; }
.interlude-questions li { position: relative; padding: 12px 0 12px 28px; border-top: 1px solid rgba(36, 28, 41, .12); font-size: 16.5px; }
.interlude-questions li::before { content: ""; position: absolute; left: 2px; top: 24px; width: 12px; height: 1px; background: var(--clay); }
.interlude-flip { grid-template-columns: minmax(0, 44fr) minmax(0, 56fr); }
.interlude-flip .interlude-media { grid-column: 2; grid-row: 1; }
.interlude-flip .interlude-copy { grid-column: 1; grid-row: 1; margin-left: var(--gutter); margin-right: -96px; }
.motion-ok [data-reveal].awaiting-entry { opacity: .25; transform: translateY(28px); }
.motion-ok [data-reveal].is-revealed { opacity: 1; transform: none; transition: opacity 900ms var(--ease), transform 900ms var(--ease); }
.motion-ok .interlude.awaiting-entry { opacity: 1; transform: none; }
.motion-ok .interlude.awaiting-entry .interlude-media { clip-path: inset(0 0 0 22%); }
.motion-ok .interlude-flip.awaiting-entry .interlude-media { clip-path: inset(0 22% 0 0); }
.motion-ok .interlude.awaiting-entry .interlude-copy { opacity: .3; transform: translateX(24px); }
.motion-ok .interlude.is-revealed .interlude-media { clip-path: inset(0); transition: clip-path 1100ms var(--ease); }
.motion-ok .interlude.is-revealed .interlude-copy { opacity: 1; transform: none; transition: opacity 900ms var(--ease) 160ms, transform 900ms var(--ease) 160ms; }

/* ---------- Operating model statement on ink ---------- */
.operating-model { position: relative; overflow: hidden; padding: clamp(90px, 11vw, 170px) var(--gutter); color: var(--ivory); background: radial-gradient(60% 80% at 85% 20%, rgba(180, 138, 78, .14), transparent 70%), var(--ink); }
.model-ghost { position: absolute; right: -4vw; top: 50%; width: min(52vw, 720px); height: auto; transform: translateY(-50%); --mark-frame: rgba(244, 238, 228, .045); --mark-accent: rgba(211, 176, 122, .1); }
.model-inner { position: relative; max-width: var(--max); margin: 0 auto; }
.operating-model .scene-kicker { color: var(--brass-light); }
.operating-model h2 { font-size: clamp(2.6rem, 5.4vw, 5.6rem); max-width: 15ch; }
.operating-model h2 em { color: var(--clay-light); }
.model-columns { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(24px, 4vw, 64px); margin-top: clamp(48px, 6vw, 90px); }
.model-columns > div { border-top: 1px solid rgba(211, 176, 122, .5); padding-top: 22px; }
.model-word { display: block; font: italic 400 clamp(28px, 2.8vw, 40px)/1 var(--serif); color: var(--brass-light); margin-bottom: 14px; }
.model-columns p { color: rgba(244, 238, 228, .76); font-size: 16.5px; max-width: 34ch; }

/* ---------- Guide shelf ---------- */
.guide-shelf { display: grid; grid-template-columns: minmax(0, 45fr) minmax(0, 55fr); align-items: center; gap: clamp(32px, 6vw, 96px); padding: clamp(80px, 10vw, 150px) var(--gutter) clamp(80px, 10vw, 150px) 0; background: var(--linen); }
.guide-media { position: relative; margin: 0; aspect-ratio: 4 / 5; overflow: hidden; background: #2c0f27; }
.guide-media img { width: 100%; height: 112%; object-fit: cover; transform: translate3d(0, calc(var(--drift, 0px) - 6%), 0); }
.guide-copy h2 { margin-bottom: 36px; }
.guide-copy h2 em { color: var(--clay-deep); }
.guide-list { list-style: none; margin: 0; padding: 0; }
.guide-list li { display: grid; grid-template-columns: 64px 1fr; gap: 12px; padding: 24px 0; border-top: 1px solid rgba(36, 28, 41, .16); transition: padding 320ms var(--ease); }
.guide-list li:hover { padding-left: 10px; }
.guide-num { font: italic 400 30px/1 var(--serif); color: var(--clay-deep); }
.guide-list h3 { font: 600 13px var(--mono); letter-spacing: .14em; text-transform: uppercase; margin: 6px 0 10px; }
.guide-list p { margin: 0; font-size: 16.5px; color: var(--muted); max-width: 52ch; }
.guide-list .text-action { margin-top: 12px; }

/* ---------- Correspondence band ---------- */
.correspondence { position: relative; display: grid; grid-template-columns: minmax(0, 40fr) minmax(0, 60fr); align-items: center; min-height: min(92vh, 820px); padding: clamp(64px, 8vw, 120px) 0; background: var(--scene-letter); color: var(--ivory); overflow: hidden; }
.correspondence-media { position: absolute; inset: 0 0 0 34%; margin: 0; overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 30%); mask-image: linear-gradient(90deg, transparent 0, #000 30%); }
.correspondence-media img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 50%; transform: translate3d(0, var(--drift, 0px), 0) scale(1.1); }
.letter-card { position: relative; z-index: 2; grid-column: 1 / span 2; width: min(620px, calc(100% - 2 * var(--gutter))); margin-left: var(--gutter); padding: clamp(30px, 4vw, 54px); color: var(--text); background: var(--paper); border-top: 2px solid var(--brass); box-shadow: 0 1px 0 rgba(255, 255, 255, .7) inset, 0 50px 90px -30px rgba(0, 0, 0, .75); }
.letter-card h2 { font-size: clamp(2.1rem, 3.6vw, 3.5rem); margin-bottom: 20px; }
.letter-card h2 em { color: var(--clay-deep); }
.letter-card > p:not(.scene-kicker):not(.privacy-note) { color: var(--muted); }
.letter-mail { display: grid; grid-template-columns: 1fr auto; gap: 4px 16px; margin: 26px 0 0; padding: 20px 22px; text-decoration: none; color: var(--ivory); background: var(--ink); transition: transform 320ms var(--ease), box-shadow 320ms var(--ease); }
.letter-mail:hover, .letter-mail:focus-visible { transform: translateY(-4px); box-shadow: 0 22px 40px -18px rgba(23, 19, 26, .8); }
.letter-mail-label { font: 500 11px var(--mono); letter-spacing: .16em; text-transform: uppercase; color: var(--brass-light); }
.letter-mail-address { grid-column: 1; font-family: var(--serif); font-size: clamp(19px, 2vw, 26px); overflow-wrap: anywhere; }
.letter-mail-arrow { grid-column: 2; grid-row: 1 / 3; align-self: center; font-size: 26px; color: var(--brass-light); transition: transform 320ms var(--ease); }
.letter-mail:hover .letter-mail-arrow { transform: translate(4px, -4px); }
.privacy-note { margin: 18px 0 0; font-size: 13.5px; color: var(--muted); }
.motion-ok .letter-card.awaiting-entry:not(.is-revealed) { opacity: .4; transform: translateY(40px); }

.credits { padding: 18px var(--gutter); font-size: 14px; color: var(--muted); background: var(--ivory); }
.credits summary { cursor: pointer; min-height: 44px; display: flex; align-items: center; font-weight: 600; }

/* ---------- Footer ---------- */
.footer { background: #110E13; color: var(--ivory); }
.footer-inner { max-width: calc(var(--max) + 2 * var(--gutter)); margin: 0 auto; padding: 64px var(--gutter) 34px; display: grid; grid-template-columns: 1.6fr 1fr 1fr; gap: 48px; }
.footer-symbol { --mark-frame: var(--ivory); --mark-accent: var(--brass-light); margin-bottom: 18px; }
.footer-name { font: 500 30px/1 var(--serif); margin: 0 0 14px; }
.footer-name span { font: 500 11px var(--mono); letter-spacing: .3em; text-transform: uppercase; color: var(--brass-light); margin-left: 8px; vertical-align: middle; }
.footer-line { color: var(--pewter); font-size: 15px; max-width: 46ch; }
.footer-mail a { color: var(--ivory); font-size: 16px; overflow-wrap: anywhere; }
.footer-heading { font: 500 11px var(--mono); letter-spacing: .18em; text-transform: uppercase; color: var(--brass-light); margin: 6px 0 12px; }
.footer-nav ul { list-style: none; margin: 0; padding: 0; }
.footer-nav a { display: inline-flex; align-items: center; min-height: 40px; color: var(--ivory); text-decoration: none; font-size: 15px; }
.footer-nav a:hover { color: var(--brass-light); }
.footer-demo { grid-column: 1 / -1; margin: 0; padding-top: 18px; border-top: 1px solid rgba(244, 238, 228, .12); font: 400 12px var(--mono); letter-spacing: .06em; color: var(--pewter); }

/* ================= Interior: labour scheduling ================= */
.service-opening { background: var(--scene-plates); color: var(--ivory); }
.service-scene { position: relative; height: 47vw; min-height: 560px; max-height: 920px; overflow: hidden; }
.service-media { position: absolute; inset: 0; overflow: hidden; }
.service-media img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 0; transform: translate3d(0, var(--drift, 0px), 0) scale(1.04); transform-origin: 50% 0; }
.service-shade { position: absolute; inset: 0; pointer-events: none; background:
  linear-gradient(180deg, rgba(30, 7, 26, .85) 0%, rgba(30, 7, 26, .35) 22%, rgba(30, 7, 26, 0) 40%),
  linear-gradient(0deg, var(--scene-plates) 0%, rgba(34, 8, 29, 0) 16%),
  radial-gradient(50% 50% at 50% 60%, rgba(214, 150, 98, .1), transparent 70%); }
.service-copy { position: absolute; top: 100px; left: var(--gutter); right: var(--gutter); z-index: 2; display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); column-gap: 6%; align-items: end; }
.back-action { grid-column: 1 / -1; justify-self: start; display: inline-flex; align-items: center; gap: 10px; min-height: 44px; margin-bottom: 6px; font: 500 12px var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--ivory); text-decoration: none; transition: gap 300ms var(--ease); }
.back-action:hover { gap: 16px; color: var(--brass-light); }
.service-copy .scene-kicker { grid-column: 1 / -1; color: var(--brass-light); margin-bottom: 14px; }
.service-title { grid-column: 1; font-size: clamp(2.6rem, 5.6vw, 5.6rem); line-height: .95; }
.service-title .line-italic { color: var(--clay-light); }
.service-lede { grid-column: 2; margin: 0 0 .4em; font-size: 17px; line-height: 1.6; color: rgba(244, 238, 228, .82); max-width: 40ch; }
.period-ribbon { position: relative; list-style: none; margin: 0; padding: 0 0 46px; height: 112px; }
.period-ribbon::before { content: ""; position: absolute; left: 6%; right: 6%; top: 22px; height: 1px; background: linear-gradient(90deg, transparent, var(--brass) 12%, var(--brass) 88%, transparent); }
.period-ribbon li { position: absolute; top: 0; transform: translateX(-50%); }
.period-ribbon li:nth-child(1) { left: 21.4%; }
.period-ribbon li:nth-child(2) { left: 49.8%; }
.period-ribbon li:nth-child(3) { left: 78.8%; }
.period-ribbon a { display: flex; flex-direction: column; align-items: center; gap: 12px; min-height: 44px; padding-top: 14px; font-family: var(--serif); font-size: 24px; color: var(--ivory); text-decoration: none; }
.period-ribbon a::before { content: ""; width: 14px; height: 14px; border-radius: 50%; margin-top: -1px; background: var(--scene-plates); border: 1.5px solid var(--brass-light); transition: background 300ms var(--ease), box-shadow 300ms var(--ease); }
.period-ribbon a span { display: none; }
.period-ribbon a:hover::before, .period-ribbon a:focus-visible::before { background: var(--brass-light); box-shadow: 0 0 0 6px rgba(211, 176, 122, .18); }
.period-ribbon a:hover { color: var(--brass-light); }
.motion-ok .period-ribbon::before { animation: ribbon-grow 1400ms var(--ease) 500ms both; transform-origin: left; }
@keyframes ribbon-grow { from { transform: scaleX(0); } }

/* Drivers: typographic index on ivory */
.drivers { padding: clamp(90px, 10vw, 150px) var(--gutter); background: var(--ivory); }
.drivers-head { max-width: var(--max); margin: 0 auto 56px; display: grid; grid-template-columns: 1.1fr .9fr; gap: 6%; align-items: end; }
.drivers-head .scene-kicker { grid-column: 1 / -1; margin: 0; }
.drivers-head h2 em { color: var(--clay-deep); }
.drivers-head p:last-child { color: var(--muted); margin: 0; max-width: 42ch; }
.driver-list { max-width: var(--max); margin: 0 auto; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(5, 1fr); border-top: 1px solid rgba(36, 28, 41, .2); }
.driver { position: relative; padding: 28px 22px 30px 0; border-right: 1px solid rgba(36, 28, 41, .12); transition: background 320ms var(--ease); }
.driver + .driver { padding-left: 22px; }
.driver:last-child { border-right: 0; }
.driver::before { content: ""; position: absolute; left: 0; right: 0; top: -1px; height: 2px; background: var(--brass); transform: scaleX(0); transform-origin: left; transition: transform 520ms var(--ease); }
.driver:hover::before { transform: scaleX(1); }
.driver-num { display: block; font: italic 300 64px/1 var(--serif); color: var(--clay); margin-bottom: 26px; }
.driver h3 { font: 600 13px var(--mono); letter-spacing: .12em; text-transform: uppercase; margin-bottom: 10px; }
.driver p { margin: 0; font-size: 15.5px; color: var(--muted); }
.motion-ok .driver.is-revealed:nth-child(2) { transition-delay: 70ms; }
.motion-ok .driver.is-revealed:nth-child(3) { transition-delay: 140ms; }
.motion-ok .driver.is-revealed:nth-child(4) { transition-delay: 210ms; }
.motion-ok .driver.is-revealed:nth-child(5) { transition-delay: 280ms; }

/* Service day: image-led stage with period tabs */
.service-day { padding: clamp(90px, 10vw, 150px) 0; color: var(--ivory); background: radial-gradient(70% 60% at 20% 30%, rgba(180, 138, 78, .1), transparent 70%), var(--ink); }
.day-head { padding: 0 var(--gutter); max-width: calc(var(--max) + 2 * var(--gutter)); margin: 0 auto 48px; }
.day-head .scene-kicker { color: var(--brass-light); }
.day-head h2 em { color: var(--clay-light); }
.day-grid { display: grid; grid-template-columns: minmax(0, 58fr) minmax(0, 42fr); align-items: stretch; }
.day-stage { position: relative; margin: 0; min-height: min(82vh, 760px); overflow: hidden; background: #2c0c2c; }
.day-image { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; z-index: 1; transition: opacity 0s linear 760ms; }
.day-image[data-day-image="preparation"] { object-position: 30% 50%; }
.day-image.is-active { opacity: 1; z-index: 2; transition: none; }
.motion-ok .day-image.is-active { animation: wipe-in 760ms var(--ease-swap) both; }
.day-caption { position: absolute; z-index: 3; left: var(--gutter); bottom: 28px; display: flex; align-items: baseline; gap: 16px; padding: 14px 20px; background: rgba(23, 19, 26, .62); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-top: 1px solid var(--brass); }
.day-caption span:first-child { font: 500 12px var(--mono); color: var(--brass-light); letter-spacing: .12em; }
.day-caption span:last-child { font: italic 400 30px/1 var(--serif); }
.day-panel { position: relative; z-index: 3; display: flex; flex-direction: column; margin-left: -72px; margin-right: var(--gutter); padding: clamp(28px, 3.4vw, 48px); color: var(--text); background: var(--paper); border-top: 2px solid var(--brass); box-shadow: 0 50px 90px -30px rgba(0, 0, 0, .7); align-self: center; }
.period-tabs { position: relative; display: grid; grid-template-columns: repeat(3, 1fr); border-bottom: 1px solid rgba(36, 28, 41, .16); }
.period { min-height: 88px; padding: 6px 10px 18px 0; text-align: left; font: inherit; color: rgba(36, 28, 41, .5); background: none; border: 0; cursor: pointer; transition: color 300ms var(--ease); }
.period:hover, .period[aria-selected="true"] { color: var(--text); }
.p-time { display: block; font: 500 11px var(--mono); letter-spacing: .12em; color: var(--muted); }
.period[aria-selected="true"] .p-time { color: var(--clay-deep); }
.p-name { display: block; margin: 6px 0 4px; font: 400 clamp(22px, 2vw, 28px)/1.05 var(--serif); }
.p-note { display: block; font-size: 13px; color: var(--muted); }
.period-marker { position: absolute; left: 0; bottom: -1px; width: calc(100% / 3); height: 2px; background: var(--brass); transition: transform 600ms var(--ease-swap); }
[data-period="service"] .period-marker { transform: translateX(100%); }
[data-period="handover"] .period-marker { transform: translateX(200%); }
.period-detail { padding-top: 26px; }
.period-detail.is-changing > * { animation: result-in 560ms var(--ease) both; }
.period-detail.is-changing > *:nth-child(2) { animation-delay: 60ms; }
.period-detail.is-changing > *:nth-child(3) { animation-delay: 120ms; }
#period-title { font-family: var(--serif); font-size: clamp(25px, 2.4vw, 33px); line-height: 1.12; margin-bottom: 14px; }
.period-summary { color: var(--muted); font-size: 16.5px; }
.period-questions { margin: 20px 0 0; }
.period-questions > div { display: grid; grid-template-columns: 112px 1fr; gap: 14px; padding: 13px 0; border-top: 1px solid rgba(36, 28, 41, .12); }
.period-questions dt { font: 500 11px var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--clay-deep); padding-top: 4px; }
.period-questions dd { margin: 0; font-size: 16px; }

/* Across the estate */
.differs { padding: clamp(90px, 10vw, 150px) var(--gutter); background: var(--linen); }
.differs-head { max-width: var(--max); margin: 0 auto 56px; display: grid; grid-template-columns: 1.1fr .9fr; gap: 6%; align-items: end; }
.differs-head .scene-kicker { grid-column: 1 / -1; margin: 0; }
.differs-head h2 em { color: var(--clay-deep); }
.differs-head p:last-child { margin: 0; color: var(--muted); }
.differs-table { max-width: var(--max); margin: 0 auto; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.differs-col { padding: 30px 28px 34px; background: var(--paper); box-shadow: var(--shadow-paper); border-top: 2px solid var(--brass); transition: transform 360ms var(--ease), box-shadow 360ms var(--ease); }
.differs-col:hover { transform: translateY(-6px); box-shadow: var(--shadow-lift); }
.differs-sector { font: 500 11px var(--mono); letter-spacing: .16em; text-transform: uppercase; color: var(--clay-deep); margin-bottom: 18px; }
.differs-col h3 { font: 400 26px/1.15 var(--serif); margin-bottom: 14px; }
.differs-col p:last-child { margin: 0; font-size: 16px; color: var(--muted); }

/* Discussion inputs */
.inputs { padding: clamp(90px, 10vw, 150px) var(--gutter); background: var(--ivory); }
.inputs-head { max-width: var(--max); margin: 0 auto 48px; }
.inputs-head h2 em { color: var(--clay-deep); }
.input-grid { max-width: var(--max); margin: 0 auto; display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(24px, 4vw, 56px); }
.input-card { border-top: 1px solid rgba(36, 28, 41, .2); padding-top: 22px; }
.input-tag { display: inline-block; font: 500 11px var(--mono); letter-spacing: .16em; text-transform: uppercase; color: var(--ivory); background: var(--ink); padding: 6px 10px; margin-bottom: 18px; }
.input-card h3 { font: 400 27px/1.15 var(--serif); margin-bottom: 12px; }
.input-card p { color: var(--muted); font-size: 16px; }

/* Boundaries band */
.boundaries { padding: clamp(80px, 9vw, 130px) var(--gutter); color: var(--ivory); background: var(--night); }
.boundaries-inner { max-width: var(--max); margin: 0 auto; display: grid; grid-template-columns: 1fr 1fr; gap: 24px 6%; }
.boundaries .scene-kicker { grid-column: 1 / -1; color: var(--brass-light); margin: 0; }
.boundaries h2 em { color: var(--clay-light); }
.boundary-list { list-style: none; margin: 0; padding: 0; grid-row: span 2; }
.boundary-list li { position: relative; padding: 16px 0 16px 40px; border-top: 1px solid rgba(211, 176, 122, .3); font-family: var(--serif); font-size: 23px; }
.boundary-list li::before, .boundary-list li::after { content: ""; position: absolute; left: 4px; top: 31px; width: 16px; height: 1px; background: var(--clay-light); transform: rotate(-45deg); }
.boundary-list li::after { transform: rotate(45deg); }
.boundaries-inner > p:last-child { color: rgba(244, 238, 228, .76); max-width: 44ch; align-self: end; }

/* ================= Responsive ================= */
@media (max-width: 1100px) {
  .mast-trigger, .mast-link { padding: 10px; font-size: 14px; }
  .driver-list { grid-template-columns: repeat(3, 1fr); }
  .driver:nth-child(3) { border-right: 0; }
  .driver:nth-child(4) { padding-left: 0; }
  .driver:nth-child(n+4) { border-top: 1px solid rgba(36, 28, 41, .12); }
}
@media (max-width: 900px) {
  :root { --h1: clamp(2.7rem, 11vw, 4.2rem); }
  body { font-size: 17px; }
  .menu-toggle { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; padding: 8px 16px; font: 500 12px var(--mono); letter-spacing: .16em; text-transform: uppercase; color: var(--ivory); background: rgba(23, 19, 26, .4); border: 1px solid rgba(211, 176, 122, .5); border-radius: 999px; cursor: pointer; }
  .menu-toggle-lines { display: grid; gap: 5px; width: 18px; }
  .menu-toggle-lines span { height: 1.5px; background: currentColor; transition: transform 320ms var(--ease); }
  .menu-toggle[aria-expanded="true"] .menu-toggle-lines span:first-child { transform: translateY(3.25px) rotate(45deg); }
  .menu-toggle[aria-expanded="true"] .menu-toggle-lines span:last-child { transform: translateY(-3.25px) rotate(-45deg); }
  .mast-list { position: fixed; inset: 72px 0 0; display: flex; flex-direction: column; align-items: stretch; gap: 0; padding: 18px var(--gutter) 40px; background: rgba(17, 14, 19, .97); overflow-y: auto; overscroll-behavior: contain; visibility: hidden; opacity: 0; transform: translateY(-12px); transition: opacity 360ms var(--ease), transform 360ms var(--ease), visibility 0s linear 360ms; }
  .mast-list.is-open { visibility: visible; opacity: 1; transform: none; transition: opacity 360ms var(--ease), transform 360ms var(--ease); }
  .mast-item { border-bottom: 1px solid rgba(244, 238, 228, .1); }
  .mast-trigger, .mast-link { width: 100%; justify-content: space-between; min-height: 60px; font: 400 26px/1.1 var(--serif); padding: 12px 0; }
  .mast-trigger::after, .mast-link::after { display: none; }
  .mast-contact { margin: 18px 0 0; justify-content: center; padding: 12px 20px; }
  .mast-panel { position: static; width: auto; padding: 4px 0 14px; background: none; box-shadow: none; border-top: 0; backdrop-filter: none; -webkit-backdrop-filter: none; }
  body.menu-open .masthead { background: rgba(17, 14, 19, .97); }
  .wordmark-name { font-size: 22px; }

  .arrival-scene { height: 88svh; min-height: 600px; }
  .arrival-media { inset: 0; -webkit-mask-image: none; mask-image: none; }
  .arrival-media img { object-position: 64% 44%; }
  .arrival-shade { background: linear-gradient(0deg, rgba(23, 6, 28, .95) 0%, rgba(23, 6, 28, .55) 46%, rgba(23, 6, 28, .1) 70%), linear-gradient(180deg, rgba(23, 6, 28, .75) 0%, transparent 22%); }
  .rhythm { left: var(--gutter); right: var(--gutter); width: auto; bottom: calc(var(--h1) * 2.4 + 92px); height: 42px; }
  .rhythm-stations li { font-size: 9.5px; letter-spacing: .1em; }
  .rhythm-stations .station-tail { display: none; }
  .rhythm-pause { bottom: auto; top: -96px; padding: 0 14px 0 10px; }
  .rhythm-pause .pause-label { font-size: 10px; }
  .arrival-band { grid-template-columns: 1fr; gap: 28px; }
  .arrival-remit { grid-column: 1; }
  .threshold { grid-column: 1; grid-row: auto; margin-top: 0; }
  .journey-intro, .drivers-head, .differs-head { grid-template-columns: 1fr; gap: 18px; }
  .journey-grid { grid-template-columns: 1fr; }
  .journey-stage { aspect-ratio: 4 / 3; margin: 0 calc(-1 * var(--gutter)); }
  .journey-panel { padding: 0; }
  .sector-tabs { position: sticky; top: 72px; z-index: 4; grid-template-columns: repeat(3, 1fr); background: var(--ivory); margin: 0 calc(-1 * var(--gutter)); padding: 0 var(--gutter); border-top: 0; }
  .sector-tab { flex-direction: column; gap: 4px; font-size: 17px; min-height: 64px; padding: 12px 6px; }
  .sector-tab:hover { padding-left: 6px; }
  .atlas-result { margin: 22px 0 0; }
  .result-pair { grid-template-columns: 1fr; gap: 18px; }
  .interlude, .interlude-flip { grid-template-columns: 1fr; min-height: 0; }
  .interlude-media, .interlude-flip .interlude-media { grid-column: 1; grid-row: 1; min-height: 0; aspect-ratio: 4 / 3; height: auto; }
  .interlude-copy, .interlude-flip .interlude-copy { grid-column: 1; grid-row: 2; margin: -56px var(--gutter) 0; }
  .model-columns { grid-template-columns: 1fr; }
  .guide-shelf { grid-template-columns: 1fr; padding: 0 0 80px; }
  .guide-media { aspect-ratio: 4 / 3; }
  .guide-copy { padding: 0 var(--gutter); }
  .correspondence { display: block; min-height: 0; padding: 0 0 64px; }
  .correspondence-media { position: relative; inset: auto; height: 50svh; -webkit-mask-image: linear-gradient(0deg, transparent 0, #000 30%); mask-image: linear-gradient(0deg, transparent 0, #000 30%); }
  .letter-card { width: auto; margin: -64px var(--gutter) 0; }
  .footer-inner { grid-template-columns: 1fr; gap: 28px; }

  .service-scene { height: auto; min-height: 0; max-height: none; overflow: visible; padding-bottom: 8px; }
  .service-media { position: relative; height: 58vw; margin-top: 72px; }
  .service-media img { object-position: 50% 8%; }
  .service-shade { display: none; }
  .service-copy { position: relative; top: auto; left: auto; right: auto; display: block; padding: 22px var(--gutter) 0; }
  .service-title { font-size: clamp(2.6rem, 11vw, 4rem); margin-bottom: 18px; }
  .period-ribbon { height: auto; display: grid; grid-template-columns: repeat(3, 1fr); padding: 18px var(--gutter) 34px; }
  .period-ribbon::before { left: var(--gutter); right: var(--gutter); top: 40px; }
  .period-ribbon li { position: static; transform: none; }
  .period-ribbon a { font-size: 18px; }
  .driver-list { grid-template-columns: 1fr; }
  .driver, .driver + .driver { padding: 22px 0; border-right: 0; border-bottom: 1px solid rgba(36, 28, 41, .12); display: grid; grid-template-columns: 64px 1fr; column-gap: 12px; }
  .driver-num { grid-row: span 2; font-size: 44px; margin: 0; }
  .day-grid { grid-template-columns: 1fr; }
  .day-stage { min-height: 0; aspect-ratio: 4 / 3; }
  .day-caption { left: 16px; bottom: 16px; }
  .day-panel { margin: -48px var(--gutter) 0; }
  .period-tabs { position: sticky; top: 72px; z-index: 4; background: var(--paper); }
  .period { min-height: 72px; padding-right: 6px; }
  .p-note { display: none; }
  .period-questions > div { grid-template-columns: 1fr; gap: 4px; }
  .differs-table, .input-grid, .boundaries-inner { grid-template-columns: 1fr; }
}
@media (max-width: 420px) {
  .rhythm-pause .pause-label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .rhythm-pause { padding: 0 14px; min-width: 44px; justify-content: center; }
}

/* Source-stage composition repair: separate headline, scene and service rhythm. */
.arrival-scene { height: 92svh; min-height: 740px; max-height: 980px; }
.arrival-copy { bottom: 185px; max-width: 1060px; }
.arrival-title { margin-bottom: 28px; font-size: clamp(3rem, 6.1vw, 6.2rem); }
.arrival-title .line-italic { background: none; color: var(--clay-light); }
.arrival-title .line-italic > span { color: inherit; }
.arrival-action { display: inline-flex; align-items: center; gap: 40px; min-height: 48px; padding: 10px 0; text-decoration: none; border-bottom: 1px solid var(--brass-light); font-size: 15px; transition: gap 300ms var(--ease), transform 300ms var(--ease); }
.arrival-action:hover { gap: 56px; transform: translateY(-4px); }
.arrival-action:active { color: var(--brass-light); }
.rhythm { bottom: 82px; width: min(52%, 700px); }
/* Keep the pause control above the line so the overlapping sector plate never covers it. */
.rhythm-pause { top: -92px; bottom: auto; }
.arrival-remit { padding-top: 48px; }
.arrival-media { inset: 0 0 0 8%; }
.arrival-media img { object-position: 66% 43%; }
.service-scene { height: 700px; min-height: 620px; max-height: 88svh; }
.service-media { inset: 0 0 0 25%; }
.service-media img { object-position: 55% 48%; }
.service-shade { background: linear-gradient(90deg, #22081d 0%, rgba(34,8,29,.9) 25%, rgba(34,8,29,.32) 62%, transparent 82%), linear-gradient(0deg, #22081d, transparent 25%); }
.service-copy { top: auto; bottom: 60px; display: block; max-width: 650px; }
.service-copy .scene-kicker { margin-top: 18px; }
.service-title { font-size: clamp(3rem, 5.4vw, 5.4rem); }
.service-lede { margin-top: 28px; max-width: 42ch; }
.period-ribbon { height: 120px; padding-bottom: 28px; border-top: 1px solid rgba(211,176,122,.25); }
.period-ribbon::before { top: 28px; }
.period-ribbon a { padding-top: 20px; }
.service-essay { display: grid; grid-template-columns: 1.2fr 1fr; background: var(--paper); align-items: center; }
.essay-image { margin: 0; min-height: 620px; height: 100%; overflow: hidden; }
.essay-image img { width: 100%; height: 100%; object-fit: cover; }
.essay-copy { padding: 64px clamp(28px, 5vw, 84px); }
.essay-copy h2 { margin-bottom: 30px; }
.essay-copy h2 em { color: var(--clay-deep); }
.essay-copy p:not(.scene-kicker) { color: var(--muted); }
@media (max-width: 900px) {
  .arrival-scene { min-height: 770px; height: 94svh; max-height: none; }
  .arrival-copy { bottom: 195px; }
  .arrival-title { font-size: clamp(2.6rem, 8.9vw, 4.8rem); line-height: 1.04; }
  .arrival-kicker { max-width: 29ch; font-size: 10px; gap: 7px; }
  .arrival-kicker > span:first-child, .arrival-kicker > span:nth-child(2) { display: none; }
  .arrival-media { inset: 0; }
  .arrival-media img { object-position: 65% 30%; }
  .arrival-action { gap: 20px; font-size: 14px; }
  .rhythm { width: auto; bottom: 78px; }
  .rhythm-pause { top: auto; bottom: -58px; }
  .rhythm-pause .pause-label { position: static; width: auto; height: auto; overflow: visible; clip: auto; white-space: normal; }
  .arrival-remit { padding-top: 32px; }
  .service-scene { height: auto; min-height: 0; max-height: none; padding-top: 72px; }
  .service-media { inset: auto; margin-top: 0; height: 64vw; }
  .service-media img { object-position: 50% 46%; }
  .service-copy { bottom: auto; max-width: none; padding-top: 12px; padding-bottom: 28px; }
  .service-title { font-size: clamp(2.6rem, 10vw, 4.8rem); }
  .period-ribbon { height: 112px; }
  .period-ribbon::before { top: 40px; }
  .period-ribbon a { padding-top: 14px; }
  .service-essay { grid-template-columns: 1fr; }
  .essay-image { min-height: 0; aspect-ratio: 4/3; }
  .essay-copy { padding: 44px var(--gutter) 64px; }
  .no-js .masthead { position: relative; }
  .no-js .service-scene { padding-top: 0; }
}
html.data-saver { scroll-behavior: auto; }
html.data-saver *, html.data-saver *::before, html.data-saver *::after { animation: none !important; transition: none !important; }
html:not(.motion-ok) .awaiting-entry { opacity: 1; transform: none; clip-path: none; }

/* ================= Preferences and fallbacks ================= */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition-duration: .001ms !important; transition-delay: 0s !important; }
  .arrival-media img, .service-media img, .correspondence-media img { transform: none !important; }
  .guide-media img { height: 100%; transform: none !important; }
  .interlude:hover .interlude-media img, .journey-stage:hover .stage-image.is-active { transform: none; }
}
html.data-saver .masthead, html.data-saver .stage-caption, html.data-saver .day-caption, html.data-saver .mast-panel, html.data-saver .rhythm-pause { backdrop-filter: none; -webkit-backdrop-filter: none; background: var(--night); }
html.data-saver .masthead.is-over-scene { background: linear-gradient(180deg, rgba(23, 19, 26, .8), transparent); }
@supports not ((backdrop-filter: blur(4px)) or (-webkit-backdrop-filter: blur(4px))) {
  .masthead, .stage-caption, .day-caption, .mast-panel, .rhythm-pause { background: var(--night); }
  .masthead.is-over-scene { background: linear-gradient(180deg, rgba(23, 19, 26, .7), transparent); }
}
@media (prefers-contrast: more) {
  .stage-caption, .day-caption, .masthead { background: var(--ink); backdrop-filter: none; }
  .scene-kicker, .p-note, .threshold-note { color: var(--text); }
  .arrival-title .line-italic { background: none; color: var(--clay-light); }
  .arrival-title .line-italic > span { color: inherit; }
}
.no-js .reset-filters, .no-js .focus-row { display: none; }
.no-js .mast-panel { display: block !important; position: static; width: auto; background: none; box-shadow: none; padding: 0 0 8px; }
.no-js .mast-trigger { pointer-events: none; }
@media (max-width: 900px) {
  .no-js .mast-list { position: static; visibility: visible; opacity: 1; transform: none; background: none; }
  .no-js .masthead { position: relative; background: var(--ink); }
  .no-js .masthead-inner { flex-direction: column; align-items: flex-start; }
  .no-js .menu-toggle { display: none; }
}

.static-periods { padding: 36px var(--gutter); max-width: 900px; }
.static-periods h3 { font: 32px var(--serif); }
@media (max-width: 900px) {
  .motion-ok .interlude.awaiting-entry .interlude-copy { transform: translateY(24px); }
}

/* Shared production contracts: preserve the prototype scene compositions. */
body:not(.has-scene) main { padding-top: 72px; }
body:not(.has-scene) .masthead,
.masthead:not(.is-over-scene) {
  background: rgba(23, 19, 26, .98);
  box-shadow: inset 0 -1px 0 rgba(211, 176, 122, .42), 0 8px 24px rgba(17, 14, 19, .16);
}
.breadcrumbs { padding: 12px var(--gutter); font: 400 12px/1.5 var(--sans); color: var(--muted); }
.breadcrumbs ol { display: flex; flex-wrap: wrap; gap: 6px 10px; margin: 0; padding: 0; list-style: none; }
.breadcrumbs li + li::before { content: "/"; margin-right: 10px; color: var(--brass); }
.breadcrumbs a { text-underline-offset: 3px; }
.has-scene .breadcrumbs { position: absolute; top: 72px; left: 0; right: 0; z-index: 4; color: var(--ivory); background: linear-gradient(rgba(23, 19, 26, .72), transparent); }
:is(a, button, input, select, textarea, summary, [tabindex]):focus-visible { outline: 3px solid var(--brass); outline-offset: 4px; }
.skip-link:focus { position: fixed; }
/* Reveals move or clip already legible content; no unreadable waiting state. */
.motion-ok [data-reveal].awaiting-entry,
.motion-ok .interlude.awaiting-entry .interlude-copy,
.motion-ok .letter-card.awaiting-entry:not(.is-revealed) { opacity: 1; }
.motion-ok [data-reveal].is-revealed,
.motion-ok .interlude.is-revealed .interlude-copy { transition-property: transform, clip-path; }
.footer-inner { grid-template-columns: 1.6fr 1fr 1fr 1.2fr; }
@media (max-width: 900px) {
  .footer-inner { grid-template-columns: 1fr; }
  .mast-list:not(.is-open) { pointer-events: none; }
  .no-js .mast-list { pointer-events: auto; }
  .no-js:not(.motion-ok) body:not(.has-scene) main { padding-top: 0; }
  .no-js .has-scene .breadcrumbs { position: static; color: var(--text); background: var(--ivory); }
}
