/* PipeCheck — one-page pitch build
   Palette "Shutter & iron": logo orange, shutter verdigris, wrought iron, limewash cream, brick.
   Type: Archivo (wide for display), Martian Mono (small print), VT323 (camera readout only). */

:root {
  --orange: #F5871D;
  --orange-hi: #FF9B38;
  --verdigris: #2E6F6A;
  --verdigris-deep: #1F4C48;
  --iron: #17201D;
  --iron-2: #1D2824;
  --iron-3: #2C3833;
  --cream: #F3EADB;
  --cream-2: #E9DDC8;
  --cream-3: #D6C5A8;
  --brick: #9A4430;
  --rule-dark: rgba(243, 234, 219, .16);
  --rule-light: rgba(23, 32, 29, .18);

  --f-sans: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --f-mono: "Martian Mono", ui-monospace, Menlo, monospace;
  --f-osd: "VT323", ui-monospace, monospace;

  --r: 10px;
  --strip-h: 34px;
  --head-h: 76px;
  --top-h: calc(var(--strip-h) + var(--head-h));
  --gutter: clamp(16px, 4vw, 56px);
  --max: 1320px;
  --ease: cubic-bezier(.7, 0, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
html:not(.lenis) { scroll-behavior: smooth; }
html.reduced { scroll-behavior: auto; }
body {
  margin: 0;
  background: var(--cream);
  color: var(--iron);
  font: 400 1.0625rem/1.6 var(--f-sans);
  font-stretch: 100%;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg, canvas { display: block; max-width: 100%; }
a { color: inherit; }
button, input, textarea { font: inherit; color: inherit; }
h1, h2, h3, p, ol, ul, dl, dd, figure { margin: 0; }
ol, ul { padding: 0; list-style: none; }

.defs { position: absolute; width: 0; height: 0; overflow: hidden; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip {
  position: fixed; left: 12px; top: 12px; z-index: 100;
  padding: .7em 1em; background: var(--orange); color: var(--iron); font-weight: 700;
  border-radius: var(--r); transform: translateY(-160%); transition: transform .2s;
}
.skip:focus { transform: none; }
:focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; }

.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }

.display {
  font-family: var(--f-sans);
  font-stretch: 125%;
  font-weight: 800;
  line-height: .96;
  letter-spacing: -.02em;
  text-wrap: balance;
}

/* ---------- Buttons ---------- */
.btn {
  position: relative; isolation: isolate; overflow: hidden;
  display: inline-flex; align-items: center; gap: .55em;
  padding: 1em 1.35em;
  border: 2px solid currentColor; border-radius: var(--r);
  font-weight: 700; font-size: 1rem; line-height: 1.1; font-stretch: 112%;
  text-decoration: none; cursor: pointer; background: none;
  transition: color .3s var(--ease), border-color .3s var(--ease);
}
.btn::before {
  content: ""; position: absolute; inset: -2px; z-index: -1;
  background: var(--cream);
  transform: translateY(102%);
  transition: transform .4s var(--ease);
}
.btn:hover::before, .btn:focus-visible::before { transform: none; }
.btn__tick {
  width: 0; height: 1.05em; color: inherit; opacity: 0;
  transition: width .35s var(--ease), opacity .3s;
}
.btn:hover .btn__tick, .btn:focus-visible .btn__tick { width: .9em; opacity: 1; }
.btn--orange { background: var(--orange); border-color: var(--orange); color: var(--iron); }
.btn--orange:hover { border-color: var(--cream); }
.btn--line { color: var(--cream); }
.btn--line::before { background: var(--cream); }
.btn--line:hover { color: var(--iron); }
.btn--sm { padding: .72em 1.05em; font-size: .92rem; }

/* ---------- Top bar ---------- */
.topbar { position: fixed; inset: 0 0 auto; z-index: 50; pointer-events: none; }
.topbar > * { pointer-events: auto; }
.strip {
  position: relative; z-index: 2;
  height: var(--strip-h);
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: 0 var(--gutter);
  background: var(--orange); color: var(--iron);
  font: 500 .72rem/1 var(--f-mono); letter-spacing: .03em; text-transform: uppercase;
}
.strip strong { font-weight: 700; }
.strip__call { font-weight: 700; text-decoration: none; white-space: nowrap; }
.strip__call:hover { text-decoration: underline; text-underline-offset: 3px; }

.site-header {
  position: relative; z-index: 1;
  height: var(--head-h);
  display: flex; align-items: center; gap: clamp(1rem, 3vw, 2.5rem);
  padding: 0 var(--gutter);
  color: var(--cream);
  transition: transform .5s var(--ease), background-color .35s;
}
.is-scrolled .site-header { background: var(--iron); box-shadow: 0 1px 0 var(--rule-dark); }
.site-header.is-hidden, .in-run .site-header:not(.is-open) { transform: translateY(-100%); }
.brand { display: block; flex: none; color: var(--orange); }
.logo { height: 54px; width: auto; aspect-ratio: 2000 / 1424; color: var(--orange); overflow: visible; }
.nav { margin-left: auto; }
.nav ul { display: flex; gap: clamp(.9rem, 2vw, 1.8rem); }
.nav a {
  position: relative; text-decoration: none; font-weight: 600; font-size: .95rem; font-stretch: 108%;
  padding: .4em 0;
}
.nav ul a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px;
  background: var(--orange); transform: scaleX(0); transform-origin: right;
  transition: transform .35s var(--ease);
}
.nav ul a:hover::after { transform: scaleX(1); transform-origin: left; }
.nav__call { display: none; }
.menu-btn { display: none; }

/* ---------- Hero ---------- */
.hero { position: relative; background: var(--iron); color: var(--cream); }
.hero__stage {
  position: relative; overflow: hidden;
  height: 100vh; height: 100svh; min-height: 620px;
  display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr); align-items: center;
  gap: var(--gutter);
  padding: calc(var(--top-h) + 8px) var(--gutter) 48px;
  max-width: none;
}
.hero__dots { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; }

.hero__copy { position: relative; z-index: 4; max-width: 44rem; justify-self: end; width: 100%; }
.hero h1 { font-size: clamp(2.7rem, 6.4vw, 6.4rem); color: var(--cream); }
.hero h1 .line { padding-bottom: .06em; }
.lead { margin-top: 1.5rem; max-width: 36rem; font-size: clamp(1.02rem, 1.25vw, 1.2rem); line-height: 1.55; color: rgba(243, 234, 219, .86); }
.actions { margin-top: 2rem; display: flex; flex-wrap: wrap; gap: .8rem; }
.hero__meta {
  margin-top: 2.2rem; font: 400 .7rem/1.5 var(--f-mono); letter-spacing: .04em; text-transform: uppercase;
  color: rgba(243, 234, 219, .55);
}
.hero__meta b { color: var(--orange); font-weight: 400; padding: 0 .3em; }

.lid-wrap {
  position: relative; z-index: 3;
  width: min(38vw, 60svh, 560px); aspect-ratio: 1;
  justify-self: center;
}
.lid-frame, .lid, .lid-hole { position: absolute; inset: 0; width: 100%; height: 100%; }
.lid-hole {
  inset: 3.6%; border-radius: 50%;
  box-shadow: inset 0 0 0 3px #050605, inset 0 22px 44px 6px rgba(0, 0, 0, .9);
  pointer-events: none;
}
.lid {
  --lift: 0;
  z-index: 2; overflow: visible; will-change: transform;
  filter: drop-shadow(0 calc(3px + var(--lift) * 34px) calc(4px + var(--lift) * 26px) rgba(0, 0, 0, calc(.55 + var(--lift) * .2)));
}
.lid__rim { font: 800 17px var(--f-sans); font-stretch: 125%; letter-spacing: .16em; }
.lid__plate { font: 800 22px var(--f-sans); font-stretch: 125%; letter-spacing: .14em; fill: #2a180e; }
.lid-cue {
  position: absolute; left: 50%; top: calc(100% + 18px); transform: translateX(-50%);
  display: grid; justify-items: center;
  white-space: nowrap; font: 400 .7rem/1 var(--f-mono); letter-spacing: .06em; text-transform: uppercase;
  color: rgba(243, 234, 219, .6);
}
.lid-cue::before {
  content: ""; display: block; width: 1px; height: 22px; margin: 0 auto 10px;
  background: var(--orange);
  animation: cue 1.8s var(--ease) infinite;
}
@keyframes cue { 0% { transform: scaleY(0); transform-origin: bottom; } 50% { transform: scaleY(1); transform-origin: bottom; } 51% { transform-origin: top; } 100% { transform: scaleY(0); transform-origin: top; } }

/* The lid is the way in: click (or tap) to pop it. */
@property --lift { syntax: '<number>'; inherits: true; initial-value: 0; }
.lid-btn {
  position: absolute; inset: 0; z-index: 2; padding: 0; border: 0; border-radius: 50%;
  background: none; cursor: pointer;
}
.lid-btn:focus-visible { outline-offset: 10px; }
.lid-btn .lid { transition: --lift .35s var(--ease); }
.lid-btn:hover .lid, .lid-btn:focus-visible .lid { --lift: .3; }
.has-crowbar .lid-btn { cursor: none; }
.crowbar { position: fixed; left: 0; top: 0; z-index: 90; width: 0; height: 0; pointer-events: none; visibility: hidden; opacity: 0; }
.crowbar svg { position: absolute; left: -2.02px; top: -24.27px; width: 32.00px; height: 28.27px; max-width: none; overflow: visible; transform-origin: 2.02px 24.27px; filter: drop-shadow(1px 2px 0 rgba(0, 0, 0, .5)); }
.crowbar__edge { fill: var(--iron); stroke: var(--iron); stroke-width: 4; stroke-linejoin: round; }
/* hex bar: three visible faces; painted shaft, bare steel chisel and claw */
.crowbar__paint { fill: var(--orange); }
.crowbar__paint-lt { fill: #FFB062; }
.crowbar__paint-dk { fill: #B9590B; }
.crowbar__steel { fill: #AEB4AC; }
.crowbar__steel-lt { fill: #DDE1DA; }
.crowbar__steel-dk { fill: #6F7770; }

/* The camera feed: clipped to the hole, then opened up to fill the screen */
.feed {
  position: absolute; inset: 0; z-index: 1;
  background: #050605;
  clip-path: circle(var(--r, 0px) at var(--cx, 75%) var(--cy, 50%));
}
.feed__canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.feed__poster { display: none; position: absolute; inset: 0; }
.no-webgl .feed__poster {
  display: block;
  background:
    radial-gradient(circle at 50% 46%, #050605 0 7%, transparent 7.2%),
    repeating-radial-gradient(circle at 50% 46%, #4a3a2c 0 2px, #2a211a 2px 26px, #050605 26px 30px);
}
.hud {
  position: absolute; inset: 0; pointer-events: none;
  font: 400 clamp(20px, 1.75vw, 28px)/1.05 var(--f-osd); letter-spacing: .04em;
  color: #F6F2E6; text-shadow: 1px 1px 0 #000, -1px 0 0 #000, 0 0 6px rgba(0, 0, 0, .8);
  opacity: 0;
}
.hud > div { position: absolute; }
.hud__tl { left: var(--gutter); top: calc(var(--strip-h) + 26px); }
.hud__tr { right: var(--gutter); top: calc(var(--strip-h) + 26px); }
.hud__bl { left: var(--gutter); bottom: 28px; font-size: 1.5em; }
.hud__br { right: var(--gutter); bottom: 28px; text-align: right; }
.hud__rec::before {
  content: ""; display: inline-block; width: .55em; height: .55em; margin-right: .35em; border-radius: 50%;
  background: #ff3b24; box-shadow: 0 0 0 1px #000; vertical-align: .02em;
  animation: rec 1.2s steps(1) infinite;
}
@keyframes rec { 50% { opacity: 0; } }
.hud__target {
  --s: 180px;
  left: 0; top: 0; width: var(--s); height: var(--s); margin: calc(var(--s) / -2) 0 0 calc(var(--s) / -2);
  opacity: 0;
}
.hud__target i { position: absolute; width: 22%; height: 22%; border: 3px solid var(--orange); filter: drop-shadow(1px 1px 0 #000); }
.hud__target i:nth-child(1) { left: 0; top: 0; border-right: 0; border-bottom: 0; }
.hud__target i:nth-child(2) { right: 0; top: 0; border-left: 0; border-bottom: 0; }
.hud__target i:nth-child(3) { left: 0; bottom: 0; border-right: 0; border-top: 0; }
.hud__target i:nth-child(4) { right: 0; bottom: 0; border-left: 0; border-top: 0; }
.hud__target span { position: absolute; left: 0; top: calc(100% + 8px); white-space: nowrap; color: var(--orange); }
.hud__flag {
  left: 50%; top: calc(var(--strip-h) + 26px); transform: translateX(-50%);
  padding: .1em .45em; background: var(--orange); color: var(--iron); text-shadow: none; white-space: nowrap;
  opacity: 0;
}

.feed__notes {
  position: absolute; z-index: 3; left: var(--gutter); bottom: 96px;
  width: min(30rem, calc(100% - 2 * var(--gutter)));
  pointer-events: none;
}
.feed__notes li {
  position: absolute; left: 0; bottom: 0; width: 100%;
  padding: 1rem 1.15rem 1.1rem;
  background: var(--iron); color: rgba(243, 234, 219, .86);
  border-left: 5px solid var(--orange);
  font-size: .98rem; line-height: 1.5;
  opacity: 0; visibility: hidden;
}
.feed__notes b { display: block; margin-bottom: .35rem; font: 400 .68rem/1 var(--f-mono); letter-spacing: .06em; text-transform: uppercase; color: var(--orange); }
.feed__notes strong { display: block; margin-bottom: .2rem; color: var(--cream); font-size: 1.12rem; font-stretch: 115%; font-weight: 800; }

.stamp {
  position: absolute; z-index: 4; left: 50%; top: 50%;
  height: min(74svh, 72vw); width: auto; aspect-ratio: 1100 / 1340;
  transform: translate(-30%, -54%) rotate(-5deg);
  color: var(--orange); overflow: visible; pointer-events: none;
  filter: drop-shadow(6px 8px 0 rgba(23, 32, 29, .9));
}
.closing {
  position: absolute; z-index: 5; left: var(--gutter); bottom: 48px;
  width: min(34rem, calc(100% - 2 * var(--gutter)));
  padding: 1.6rem 1.6rem 1.7rem;
  background: var(--iron); color: rgba(243, 234, 219, .86);
  border-top: 5px solid var(--orange);
  opacity: 0; visibility: hidden;
}
.closing__title { font-size: clamp(1.9rem, 3.2vw, 2.9rem); color: var(--cream); margin-bottom: .9rem; }
.closing p:not(.closing__title) { margin-bottom: 1.3rem; }
.closing__actions { display: flex; flex-wrap: wrap; gap: .7rem; }

/* Run controls */
.feed__exit {
  position: absolute; z-index: 6; right: var(--gutter); top: calc(var(--strip-h) + 66px);
  display: inline-flex; align-items: center; gap: .5em;
  padding: .55em .85em; border: 1.5px solid rgba(243, 234, 219, .5); border-radius: var(--r);
  background: var(--iron); color: var(--cream); cursor: pointer;
  font: 600 .82rem/1 var(--f-sans); font-stretch: 110%;
  opacity: 0; visibility: hidden; transition: border-color .2s, background-color .2s;
}
.feed__exit span { font-size: 1.25em; line-height: .8; }
.feed__exit:hover { border-color: var(--orange); background: #0f1513; }
.feed__hint {
  position: absolute; z-index: 3; left: 50%; bottom: 30px; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: .5rem;
  font: 400 .7rem/1 var(--f-mono); letter-spacing: .06em; text-transform: uppercase; color: var(--cream);
  text-shadow: 1px 1px 0 #000; opacity: 0; visibility: hidden; pointer-events: none;
}
.feed__hint::after {
  content: ""; width: 10px; height: 10px; border: solid var(--orange); border-width: 0 2px 2px 0;
  transform: rotate(45deg); animation: nudge 1.4s var(--ease) infinite;
}
@keyframes nudge { 50% { translate: 0 5px; } }
.run-lock, .run-lock body { overflow: hidden; }
.run-lock .feed { touch-action: none; }

/* ---------- Sections (shared) ---------- */
section { position: relative; }
.section-head { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: 1.5rem 4rem; align-items: end; margin-bottom: clamp(2.5rem, 5vw, 4.5rem); }
.section-head h2 { font-size: clamp(2.3rem, 5.2vw, 4.9rem); }
.section-head p { max-width: 30rem; font-size: 1.08rem; color: rgba(23, 32, 29, .78); padding-bottom: .4rem; }
.section-head--light p { color: rgba(243, 234, 219, .82); }
[data-split] .line { padding-bottom: .05em; }

/* ---------- Services / tracklist ---------- */
.services { padding: clamp(5rem, 10vw, 9rem) 0 clamp(4rem, 8vw, 7rem); }
.tracklist { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(2rem, 5vw, 5rem); align-items: start; }
.side__title {
  display: flex; align-items: baseline; gap: .9rem;
  padding-bottom: .9rem; margin-bottom: .2rem; border-bottom: 3px solid var(--iron);
  font-size: clamp(1.2rem, 1.8vw, 1.5rem); font-stretch: 118%; font-weight: 800;
}
.side__title span {
  font: 500 .68rem/1 var(--f-mono); letter-spacing: .06em; text-transform: uppercase;
  padding: .45em .6em; background: var(--iron); color: var(--cream); border-radius: 4px; transform: translateY(-.2em);
}
.side--b .side__title span { background: var(--orange); color: var(--iron); }
.track { border-bottom: 1px solid var(--rule-light); }
.track__row { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: .9rem; }
.track__more {
  display: inline-flex; align-items: center; gap: .45em;
  padding: .6em .75em; border: 1.5px solid var(--iron); border-radius: 6px;
  font: 500 .64rem/1 var(--f-mono); letter-spacing: .05em; text-transform: uppercase; text-decoration: none; white-space: nowrap;
  transition: background-color .25s, color .25s;
}
.track__more svg { width: 1.1em; height: 1.1em; fill: none; stroke: currentColor; stroke-width: 1.8; transition: transform .3s var(--ease); }
.track__more:hover, .track__more:focus-visible { background: var(--iron); color: var(--cream); }
.track__more:hover svg { transform: translateX(3px); }
.track__head {
  position: relative; isolation: isolate; width: 100%;
  display: grid; grid-template-columns: 3.2rem 1fr auto; align-items: center; gap: .8rem;
  padding: 1.05rem .2rem; border: 0; background: none; text-align: left; cursor: pointer;
}
.track__head::before {
  content: ""; position: absolute; inset: 0 -.6rem; z-index: -1; border-radius: 6px;
  background: var(--orange); transform: scaleX(0); transform-origin: left;
  transition: transform .45s var(--ease);
}
.track__head:hover::before, .track__head[aria-expanded="true"]::before { transform: scaleX(1); }
.track__no { font: 500 .8rem/1 var(--f-mono); color: rgba(23, 32, 29, .55); }
.track__head[aria-expanded="true"] .track__no, .track__head:hover .track__no { color: var(--iron); }
.track__name { font-size: clamp(1.08rem, 1.5vw, 1.3rem); font-weight: 700; font-stretch: 110%; line-height: 1.25; }
.track__tag { font: 400 .66rem/1 var(--f-mono); letter-spacing: .05em; text-transform: uppercase; color: rgba(23, 32, 29, .6); white-space: nowrap; }
.track__head:hover .track__tag, .track__head[aria-expanded="true"] .track__tag { color: var(--iron); }
.js .track__body { height: 0; overflow: hidden; visibility: hidden; }
.track__body p { padding: .3rem 0 1.25rem 4rem; max-width: 34rem; color: rgba(23, 32, 29, .8); }
.side--b .track__name { font-size: clamp(1rem, 1.3vw, 1.15rem); }
.side--b .track__tag { color: var(--brick); font-weight: 500; }
.side__call {
  display: flex; justify-content: space-between; align-items: center; gap: 1rem; flex-wrap: wrap;
  margin-top: 1.6rem; padding: 1.1rem 1.25rem; border-radius: var(--r);
  background: var(--iron); color: var(--cream); text-decoration: none;
  transition: background-color .3s;
}
.side__call span { font: 400 .7rem/1.3 var(--f-mono); letter-spacing: .05em; text-transform: uppercase; color: rgba(243, 234, 219, .7); }
.side__call b { font-size: 1.35rem; font-stretch: 120%; font-weight: 800; color: var(--orange); }
.side__call:hover { background: var(--verdigris-deep); }

/* ---------- Report ---------- */
.report { background: var(--iron); color: var(--cream); padding: clamp(5rem, 10vw, 9rem) 0; overflow: hidden; }
.report__grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(2.5rem, 6vw, 6rem); align-items: center; }
.report h2 { font-size: clamp(2.4rem, 5.4vw, 5rem); margin-bottom: 1.6rem; }
.report__copy > p { color: rgba(243, 234, 219, .82); max-width: 32rem; }
.checks { margin-top: 2rem; display: grid; gap: .85rem; }
.checks li { display: grid; grid-template-columns: 1.4rem 1fr; gap: .8rem; align-items: start; color: rgba(243, 234, 219, .9); }
.checks svg { width: 1.2rem; height: 1.4rem; color: var(--orange); margin-top: .1rem; }

.sheet {
  background: var(--cream); color: var(--iron);
  border-radius: 6px; overflow: hidden;
  box-shadow: 14px 14px 0 var(--verdigris);
  transform: rotate(1.2deg);
}
.sheet__band {
  display: flex; justify-content: space-between; align-items: center;
  padding: .9rem 1.2rem; background: var(--orange);
}
.sheet__brand { font-weight: 800; font-stretch: 125%; font-size: 1.5rem; letter-spacing: -.01em; color: var(--iron); }
.sheet__kind { font: 500 .66rem/1 var(--f-mono); letter-spacing: .06em; text-transform: uppercase; }
.sheet__stills { display: grid; grid-template-columns: repeat(3, 1fr); gap: 4px; padding: 4px; background: var(--iron); }
.still { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: #0b0e0c; }
.still img { width: 100%; height: 100%; object-fit: cover; }
.still figcaption {
  position: absolute; left: 6px; bottom: 4px;
  font: 400 clamp(13px, 1.1vw, 17px)/1 var(--f-osd); color: #F6F2E6; text-shadow: 1px 1px 0 #000;
}
.sheet__specs { display: grid; grid-template-columns: repeat(3, 1fr); border-bottom: 1px solid var(--rule-light); }
.sheet__specs div { padding: .8rem 1.2rem; }
.sheet__specs div + div { border-left: 1px solid var(--rule-light); }
.sheet__specs dt { font: 500 .6rem/1 var(--f-mono); letter-spacing: .06em; text-transform: uppercase; color: rgba(23, 32, 29, .55); margin-bottom: .35rem; }
.sheet__specs dd { font-size: .86rem; font-weight: 600; line-height: 1.3; }
.sheet__findings li {
  display: grid; grid-template-columns: 2rem 4.2rem 1fr auto; gap: .6rem; align-items: center;
  padding: .7rem 1.2rem; border-bottom: 1px solid var(--rule-light); font-size: .9rem;
}
.sheet__findings li > span:nth-child(-n+2) { font: 500 .72rem/1 var(--f-mono); color: rgba(23, 32, 29, .6); }
.sev { font: 600 .62rem/1 var(--f-mono); letter-spacing: .05em; text-transform: uppercase; padding: .45em .6em; border-radius: 4px; border: 1.5px solid var(--iron); }
.sev--mid { background: var(--orange); border-color: var(--orange); }
.sev--ok { background: var(--verdigris); border-color: var(--verdigris); color: var(--cream); }
.sheet__foot { display: flex; justify-content: space-between; align-items: end; gap: 1rem; padding: 1rem 1.2rem 1.1rem; }
.sheet__foot span { font: 400 .6rem/1.5 var(--f-mono); letter-spacing: .05em; text-align: right; color: rgba(23, 32, 29, .6); }
.barcode { width: 150px; height: 34px; color: var(--iron); }

/* ---------- Why ---------- */
.why { background: var(--verdigris); color: var(--cream); padding: clamp(5rem, 10vw, 9rem) 0; }
.why__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border-top: 1px solid var(--rule-dark); }
.cause { padding: 2.2rem 2.4rem 2.6rem 0; border-bottom: 1px solid var(--rule-dark); }
.cause:nth-child(even) { padding: 2.2rem 0 2.6rem 2.4rem; border-left: 1px solid var(--rule-dark); }
.diagram { width: 100%; max-width: 420px; height: auto; margin-bottom: 1.6rem; overflow: visible; }
.diagram path, .diagram ellipse { fill: none; stroke: var(--cream); stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; }
.diagram .d-thick { stroke-width: 3.5; }
.diagram .d-hot { stroke: var(--orange); stroke-width: 3; }
.diagram .d-rain { stroke-width: 2; opacity: .8; }
.diagram .d-fill-bg { fill: var(--verdigris); stroke: none; }
.diagram .d-water { fill: url(#ht-orange); stroke: none; }
.diagram .d-guide { stroke: none; }
.diagram .d-seek { fill: var(--orange); stroke: none; opacity: 0; }
.diagram .d-pool path, .diagram .d-riser path { vector-effect: non-scaling-stroke; }
.cause h3 { display: flex; gap: .8rem; align-items: baseline; font-size: clamp(1.4rem, 2.2vw, 1.9rem); font-stretch: 122%; font-weight: 800; margin-bottom: .6rem; }
.cause h3 span { font: 500 .75rem/1 var(--f-mono); color: var(--orange); }
.cause p { color: rgba(243, 234, 219, .82); max-width: 30rem; }

/* ---------- How (crawler) ---------- */
.how { padding: clamp(5rem, 10vw, 8rem) 0 clamp(4rem, 8vw, 6rem); }
.how__pin { min-height: 0; }
.crawl { margin: 0 calc(var(--gutter) * -1) 1.2rem; }
.crawl__svg { width: 100%; height: auto; overflow: visible; }
.crawl__pipe { fill: none; stroke: var(--iron); stroke-width: 64; }
.crawl__bore { fill: none; stroke: var(--cream-2); stroke-width: 50; }
.crawl__joints { fill: none; stroke: var(--iron); stroke-width: 64; stroke-dasharray: 3 117; opacity: .9; }
.crawl__cable { fill: none; stroke: var(--orange); stroke-width: 3; stroke-linecap: round; }
.crawl__marks circle { fill: var(--cream); stroke: var(--iron); stroke-width: 3; transition: fill .3s; }
.crawl__marks circle.is-on { fill: var(--orange); }
.steps { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 1.4rem; }
.step { opacity: .38; transition: opacity .4s; }
.step.is-on, .reduced .step, .no-pin .step { opacity: 1; }
.step__no {
  display: inline-grid; place-items: center; width: 2rem; height: 2rem; margin-bottom: .9rem;
  border: 2px solid var(--iron); border-radius: 6px; font: 600 .8rem/1 var(--f-mono);
  transition: background-color .3s, border-color .3s;
}
.step.is-on .step__no { background: var(--orange); border-color: var(--orange); }
.step h3 { font-size: 1.2rem; font-stretch: 115%; font-weight: 800; margin-bottom: .4rem; }
.step p { font-size: .96rem; color: rgba(23, 32, 29, .78); }

/* ---------- Emergency ---------- */
.emergency { background: var(--orange); color: var(--iron); padding: 0 0 clamp(4.5rem, 9vw, 8rem); overflow: hidden; }
.ticker { overflow: hidden; border-bottom: 2px solid var(--iron); background: var(--iron); color: var(--orange); }
.ticker__track { display: flex; width: max-content; }
.ticker span {
  display: flex; align-items: center; gap: 1.4rem; padding: .85rem 1.4rem .85rem 0;
  font: 800 1.05rem/1 var(--f-sans); font-stretch: 125%; text-transform: uppercase; letter-spacing: .02em; white-space: nowrap;
}
.ticker span::after {
  content: ""; width: .95em; height: 1.1em; background: currentColor;
  -webkit-mask: url(../img/tick.svg) center / contain no-repeat; mask: url(../img/tick.svg) center / contain no-repeat;
}
.emergency__grid { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); gap: clamp(2.5rem, 6vw, 6rem); padding-top: clamp(4rem, 8vw, 7rem); align-items: end; }
.emergency h2 { font-size: clamp(2.5rem, 5.8vw, 5.6rem); }
.emergency__sub { margin-top: 1.4rem; max-width: 32rem; font-size: 1.12rem; }
.bigcall {
  position: relative; display: inline-flex; flex-direction: column; gap: .5rem;
  margin-top: 2.2rem; padding: 1.3rem 1.8rem 1.4rem; text-decoration: none;
}
.bigcall__box { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.bigcall__box rect { fill: none; stroke: var(--iron); stroke-width: 5; vector-effect: non-scaling-stroke; }
.bigcall__label { font: 500 .7rem/1 var(--f-mono); letter-spacing: .06em; text-transform: uppercase; }
.bigcall__num { font-size: clamp(2rem, 4.6vw, 3.8rem); font-weight: 900; font-stretch: 125%; line-height: 1; letter-spacing: -.02em; }
.bigcall:hover .bigcall__box rect { fill: var(--iron); }
.bigcall:hover { color: var(--orange); }
.meanwhile { background: var(--iron); color: var(--cream); border-radius: var(--r); padding: 1.8rem 1.8rem 2rem; }
.meanwhile h3 { font-size: 1.3rem; font-stretch: 118%; font-weight: 800; margin-bottom: 1.1rem; color: var(--orange); }
.meanwhile ol { counter-reset: m; display: grid; gap: .95rem; }
.meanwhile li { counter-increment: m; position: relative; padding-left: 2.3rem; font-size: .97rem; color: rgba(243, 234, 219, .85); }
.meanwhile li::before { content: counter(m, decimal-leading-zero); position: absolute; left: 0; top: 0; font: 500 .72rem/2.1 var(--f-mono); color: var(--orange); }
.meanwhile b { color: var(--cream); }

/* ---------- Area (sidewalk tile plaques) ---------- */
.area { padding: clamp(5rem, 10vw, 9rem) 0 clamp(4rem, 8vw, 6rem); }
.parishes { display: grid; gap: 2.6rem; }
.parish h3 { font: 500 .72rem/1 var(--f-mono); letter-spacing: .06em; text-transform: uppercase; color: rgba(23, 32, 29, .6); margin-bottom: 1rem; }
.plaques { display: flex; flex-wrap: wrap; gap: .8rem; }
.plaque {
  display: inline-flex; flex-wrap: wrap; align-items: center;
  padding: 4px; gap: 0;
  background: var(--cream-3); border: 3px solid var(--verdigris); border-radius: 5px;
  font: 800 clamp(.82rem, 1.2vw, 1rem)/1 var(--f-sans); font-stretch: 112%; text-transform: uppercase;
  color: var(--verdigris); cursor: default;
  transition: background-color .3s, border-color .3s;
}
.plaque .word { display: inline-flex; perspective: 500px; }
.plaque .word + .word { margin-left: .5em; }
.plaque .char {
  display: inline-grid; place-items: center;
  width: 1.32em; height: 1.55em;
  background: var(--cream); box-shadow: inset 0 0 0 1px rgba(23, 32, 29, .08);
  margin: 0 1px 0 0;
  transition: background-color .25s, color .25s;
}
.plaque:hover { border-color: var(--orange); }
.plaque:hover .char { background: var(--orange); color: var(--iron); }

/* ---------- FAQ ---------- */
.faq { padding: clamp(3rem, 6vw, 5rem) 0 clamp(5rem, 10vw, 8rem); border-top: 1px solid var(--rule-light); }
.faq__grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(2rem, 6vw, 6rem); align-items: start; }
.faq h2 { font-size: clamp(2.3rem, 4.6vw, 4.2rem); position: sticky; top: calc(var(--top-h) + 2rem); }
.faq__list { border-top: 3px solid var(--iron); }
.faq details { border-bottom: 1px solid var(--rule-light); }
.faq summary {
  list-style: none; cursor: pointer;
  display: grid; grid-template-columns: 1fr 1.4rem; gap: 1rem; align-items: center;
  padding: 1.25rem 0; font-size: clamp(1.05rem, 1.5vw, 1.25rem); font-weight: 700; font-stretch: 110%;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; width: 1.1rem; height: 1.1rem; justify-self: end;
  background:
    linear-gradient(var(--iron), var(--iron)) center / 100% 2.5px no-repeat,
    linear-gradient(var(--iron), var(--iron)) center / 2.5px 100% no-repeat;
  transition: transform .4s var(--ease);
}
.faq details[open] summary::after { transform: rotate(135deg); }
.faq summary:hover { color: var(--brick); }
.faq__a { overflow: hidden; }
.faq__a p { padding: 0 3rem 1.4rem 0; color: rgba(23, 32, 29, .8); max-width: 40rem; }

/* ---------- Book ---------- */
.book { background: var(--cream-2); padding: clamp(5rem, 10vw, 8rem) 0; }
.book__grid { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: clamp(2.5rem, 6vw, 6rem); align-items: start; }
.book h2 { font-size: clamp(2.4rem, 5vw, 4.6rem); margin-bottom: 1.4rem; }
.book__copy > p { max-width: 28rem; color: rgba(23, 32, 29, .8); }
.book__facts { margin-top: 2.2rem; border-top: 1px solid var(--rule-light); }
.book__facts div { display: grid; grid-template-columns: 7.5rem 1fr; gap: 1rem; padding: .85rem 0; border-bottom: 1px solid var(--rule-light); }
.book__facts dt { font: 500 .68rem/1.9 var(--f-mono); letter-spacing: .06em; text-transform: uppercase; color: rgba(23, 32, 29, .6); }
.book__facts dd { font-weight: 600; }
.book__facts a { text-decoration-color: var(--orange); text-decoration-thickness: 2px; text-underline-offset: 3px; }

.quote { display: grid; grid-template-columns: 1fr 1fr; gap: 1.2rem 1.2rem; background: var(--cream); padding: clamp(1.4rem, 3vw, 2.2rem); border-radius: var(--r); border: 2px solid var(--iron); }
.field { display: grid; gap: .45rem; border: 0; padding: 0; margin: 0; min-width: 0; }
.field--wide { grid-column: 1 / -1; }
.field label, .field legend { font: 500 .7rem/1.2 var(--f-mono); letter-spacing: .05em; text-transform: uppercase; padding: 0; margin-bottom: .45rem; }
.field label span { color: rgba(23, 32, 29, .5); }
.field input, .field textarea {
  width: 100%; padding: .85rem .9rem; border-radius: 6px; border: 2px solid var(--rule-light);
  background: #fffaf1; font-size: 1rem; transition: border-color .2s;
}
.field input:focus, .field textarea:focus { outline: none; border-color: var(--verdigris); }
.field input[aria-invalid="true"] { border-color: var(--brick); }
.field textarea { resize: vertical; min-height: 5.5rem; }
.opts { display: flex; flex-wrap: wrap; gap: .5rem; }
.opts label { position: relative; margin: 0; text-transform: none; letter-spacing: 0; font: 600 .95rem/1 var(--f-sans); }
.opts input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.opts span { display: block; padding: .75rem .95rem; border: 2px solid var(--rule-light); border-radius: 6px; background: #fffaf1; transition: background-color .2s, border-color .2s; }
.opts input:checked + span { background: var(--iron); border-color: var(--iron); color: var(--cream); }
.opts input:focus-visible + span { outline: 3px solid var(--orange); outline-offset: 2px; }
.quote__foot { grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.4rem; margin-top: .4rem; }
.quote__note { font-size: .9rem; color: rgba(23, 32, 29, .7); max-width: 22rem; }
.quote__error { grid-column: 1 / -1; color: var(--brick); font-weight: 600; }
.quote-done { background: var(--iron); color: var(--cream); border-radius: var(--r); padding: 2.4rem 2.2rem 2.6rem; outline: none; }
.quote-done__tick { width: 5.5rem; height: auto; color: var(--orange); overflow: visible; margin-bottom: 1rem; }
.quote-done__title { font-size: 3rem; margin-bottom: .6rem; }
.quote-done__text { color: rgba(243, 234, 219, .85); max-width: 30rem; }

/* ---------- Footer ---------- */
.site-footer { background: var(--iron); color: rgba(243, 234, 219, .8); padding: clamp(3.5rem, 7vw, 5.5rem) 0 2rem; }
.footer__grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr .8fr; gap: 2.5rem; padding-bottom: 3rem; border-bottom: 1px solid var(--rule-dark); }
.footer__logo { width: clamp(150px, 16vw, 210px); height: auto; color: var(--orange); margin-bottom: 1.2rem; }
.footer__brand p { max-width: 20rem; font-size: .95rem; }
.footer__col h3 { font: 500 .68rem/1 var(--f-mono); letter-spacing: .06em; text-transform: uppercase; color: var(--orange); margin-bottom: .9rem; }
.footer__col p, .footer__col li { font-size: .95rem; line-height: 1.8; }
.footer__col a { text-decoration: none; }
.footer__col a:hover { color: var(--orange); }
.footer__base { display: flex; justify-content: space-between; align-items: end; gap: 1.5rem; flex-wrap: wrap; padding-top: 1.6rem; }
.footer__base p { font: 400 .64rem/1.5 var(--f-mono); letter-spacing: .05em; text-transform: uppercase; color: rgba(243, 234, 219, .5); }

/* ---------- Phone call bar ---------- */
.callbar { display: none; }

/* ---------- Reveal states (only when JS runs with motion) ---------- */
.js:not(.reduced) [data-reveal] { visibility: hidden; }

/* ---------- Reduced motion / no pin: the hero is static, the feed sits below it ---------- */
.reduced .hero__stage, .static-hero .hero__stage { height: auto; min-height: 0; padding-bottom: 0; }
.reduced .feed, .static-hero .feed {
  position: relative; grid-column: 1 / -1; order: 3; height: 70svh; min-height: 380px;
  clip-path: none; margin: 2rem calc(var(--gutter) * -1) 0;
}
.reduced .hud, .static-hero .hud { opacity: 1; }
.reduced .hud__tl, .reduced .hud__tr, .static-hero .hud__tl, .static-hero .hud__tr { top: 22px; }
.reduced .feed__exit, .reduced .feed__hint,
.reduced .stamp, .static-hero .stamp, .reduced .closing, .static-hero .closing, .reduced .lid-cue, .static-hero .lid-cue { display: none; }
.reduced .feed__notes, .static-hero .feed__notes {
  position: relative; left: auto; bottom: auto; width: auto; grid-column: 1 / -1; order: 4;
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1px; margin: 0 calc(var(--gutter) * -1);
  background: var(--rule-dark);
}
.reduced .feed__notes li, .static-hero .feed__notes li { position: static; opacity: 1; visibility: visible; border-left: 0; border-top: 5px solid var(--orange); }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .nav ul { gap: 1rem; }
  .nav a { font-size: .88rem; }
  .tracklist { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 900px) {
  :root { --head-h: 64px; --strip-h: 0px; }
  .strip { display: none; }
  .logo { height: 46px; }
  .site-header__cta { display: none; }
  .menu-btn {
    display: grid; place-content: center; gap: 6px; margin-left: auto;
    width: 46px; height: 46px; border: 2px solid var(--rule-dark); border-radius: var(--r); background: none; cursor: pointer;
  }
  .menu-btn i { display: block; width: 20px; height: 2px; background: var(--cream); transition: transform .35s var(--ease); }
  .menu-btn[aria-expanded="true"] i:first-of-type { transform: translateY(4px) rotate(45deg); }
  .menu-btn[aria-expanded="true"] i:last-of-type { transform: translateY(-4px) rotate(-45deg); }
  .nav {
    position: fixed; inset: var(--head-h) 0 0; margin: 0; z-index: -1;
    display: flex; flex-direction: column; justify-content: space-between;
    padding: 2rem var(--gutter) calc(2rem + 64px); background: var(--iron);
    visibility: hidden; clip-path: inset(0 0 100% 0); transition: clip-path .5s var(--ease), visibility 0s .5s;
  }
  .nav.is-open { visibility: visible; clip-path: inset(0); transition: clip-path .5s var(--ease); }
  .nav ul { flex-direction: column; gap: .2rem; }
  .nav ul a { display: block; font-size: 2.1rem; font-stretch: 125%; font-weight: 800; padding: .25em 0; }
  .nav__call { display: block; font: 600 1rem/1 var(--f-mono); color: var(--orange); text-decoration: none; }
  .site-header { background: var(--iron); }
  .site-header.is-open { transform: none; }

  .hero__stage {
    grid-template-columns: 1fr; grid-template-rows: auto auto; align-content: center; justify-items: center;
    gap: 1.6rem; padding: calc(var(--top-h) + 12px) var(--gutter) calc(96px + env(safe-area-inset-bottom));
  }
  .hero__copy { justify-self: stretch; }
  .hero h1 { font-size: clamp(2.4rem, 10.5vw, 3.6rem); }
  .lead { margin-top: 1rem; font-size: 1rem; }
  .hero .actions { display: none; }
  .hero__meta { display: none; }
  .lid-wrap { width: min(66vw, 36svh); }
  .lid-cue { top: calc(100% + 10px); }
  .lid-cue::after { height: 16px; margin-top: 6px; }
  .hud { font-size: 19px; }
  .hud__tl, .hud__tr { top: 16px; }
  .hud__flag { top: 64px; left: var(--gutter); transform: none; }
  .hud__bl { bottom: calc(80px + env(safe-area-inset-bottom)); font-size: 1.35em; }
  .hud__br { bottom: calc(80px + env(safe-area-inset-bottom)); }
  .hud__target { --s: 120px; }
  .feed__notes { bottom: calc(122px + env(safe-area-inset-bottom)); }
  .feed__notes li { font-size: .9rem; padding: .85rem .95rem .95rem; }
  .closing { bottom: calc(80px + env(safe-area-inset-bottom)); padding: 1.1rem 1.1rem 1.2rem; }
  .closing__title { font-size: 1.75rem; margin-bottom: .6rem; }
  .closing p:not(.closing__title) { font-size: .92rem; margin-bottom: 1rem; }
  .stamp { height: 40svh; transform: translate(-46%, -86%) rotate(-5deg); }
  .feed__exit { top: 58px; }
  .feed__hint { bottom: calc(150px + env(safe-area-inset-bottom)); }
  .run-lock .callbar { display: none; }
  .run-lock .hud__bl, .run-lock .hud__br { bottom: calc(22px + env(safe-area-inset-bottom)); }
  .run-lock .feed__notes { bottom: calc(66px + env(safe-area-inset-bottom)); }
  .run-lock .closing { bottom: calc(22px + env(safe-area-inset-bottom)); }

  .section-head { grid-template-columns: 1fr; }
  .report__grid, .emergency__grid, .faq__grid, .book__grid { grid-template-columns: 1fr; }
  .faq h2 { position: static; }
  .sheet { transform: none; box-shadow: 8px 8px 0 var(--verdigris); }
  .why__grid { grid-template-columns: 1fr; }
  .cause, .cause:nth-child(even) { padding: 2rem 0 2.2rem; border-left: 0; }

  .crawl { display: none; }
  .steps { grid-template-columns: 1fr; gap: 0; position: relative; padding-left: 3.2rem; }
  .steps::before { content: ""; position: absolute; left: .95rem; top: .4rem; bottom: .4rem; width: 4px; background: var(--iron); border-radius: 2px; }
  .step { position: relative; padding-bottom: 1.8rem; }
  .step__no { position: absolute; left: -3.2rem; top: 0; background: var(--cream); }

  .callbar {
    display: grid; grid-template-columns: 1fr 1fr; position: fixed; z-index: 60; left: 0; right: 0; bottom: 0;
    padding: 8px 10px calc(8px + env(safe-area-inset-bottom)); gap: 8px; background: var(--iron);
    box-shadow: 0 -1px 0 var(--rule-dark);
  }
  .callbar a {
    display: grid; place-items: center; height: 48px; border-radius: var(--r);
    font-weight: 800; font-stretch: 115%; text-decoration: none;
  }
  .callbar__call { background: var(--orange); color: var(--iron); }
  .callbar__book { border: 2px solid var(--cream); color: var(--cream); }
  body { padding-bottom: calc(64px + env(safe-area-inset-bottom)); }

  .reduced .feed__notes, .static-hero .feed__notes { grid-template-columns: 1fr; }
}

@media (max-width: 560px) {
  .quote { grid-template-columns: 1fr; }
  .sheet__specs { grid-template-columns: 1fr; }
  .sheet__specs div + div { border-left: 0; border-top: 1px solid var(--rule-light); }
  .sheet__findings li { grid-template-columns: 1.6rem 3.6rem 1fr; }
  .sheet__findings .sev { grid-column: 3; justify-self: start; }
  .track__head { grid-template-columns: 2.4rem 1fr; }
  .track__tag { display: none; }
  .track__row { gap: .5rem; }
  .track__more { padding: .55em .6em; }
  .track__body p { padding-left: 3.2rem; }
  .footer__grid { grid-template-columns: 1fr; }
  .book__facts div { grid-template-columns: 6.5rem 1fr; }
}

/* =====================================================================
   Service pages (services/<slug>/), built by tools/build-pages.py
   ===================================================================== */
.inner .site-header { background: var(--iron); }

.page-hero {
  position: relative; overflow: hidden; background: var(--iron); color: var(--cream);
  padding: calc(var(--top-h) + clamp(2.5rem, 6vw, 4.5rem)) 0 clamp(4rem, 8vw, 6.5rem);
}
.page-hero--orange { background: var(--orange); color: var(--iron); }
.page-hero .hero__dots { position: absolute; inset: 0; width: 100%; height: 100%; }
.page-hero__grid { position: relative; display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr); gap: clamp(2.5rem, 5vw, 5rem); align-items: center; }
.crumbs ol { display: flex; flex-wrap: wrap; gap: .45rem; font: 400 .66rem/1.5 var(--f-mono); letter-spacing: .05em; text-transform: uppercase; }
.crumbs li + li::before { content: "/"; margin-right: .45rem; color: var(--orange); }
.page-hero--orange .crumbs li + li::before { color: var(--iron); }
.crumbs a { text-decoration: none; opacity: .75; }
.crumbs a:hover { opacity: 1; text-decoration: underline; text-underline-offset: 3px; }
.crumbs [aria-current] { opacity: .6; }
.page-hero__side {
  display: flex; flex-wrap: wrap; align-items: baseline; gap: .75rem; margin: 1.8rem 0 1.1rem;
  font: 500 .68rem/1 var(--f-mono); letter-spacing: .06em; text-transform: uppercase; color: rgba(243, 234, 219, .7);
}
.page-hero__side span { padding: .45em .6em; border-radius: 4px; background: var(--cream); color: var(--iron); }
.page-hero--orange .page-hero__side { color: var(--iron); }
.page-hero--orange .page-hero__side span { background: var(--iron); color: var(--orange); }
.page-hero h1 { font-size: clamp(2.5rem, 5.2vw, 5rem); }
.page-hero .lead { max-width: 34rem; }
.page-hero--orange .lead { color: var(--iron); }
.page-hero--orange .btn--orange { background: var(--iron); border-color: var(--iron); color: var(--orange); }
.page-hero--orange .btn--line { color: var(--iron); }
.page-hero--orange .btn--line::before { background: var(--iron); }
.page-hero--orange .btn--line:hover { color: var(--orange); }
.page-hero .meanwhile h2 { font-size: 1.3rem; font-stretch: 118%; font-weight: 800; margin-bottom: 1.1rem; color: var(--orange); }

.monitor {
  position: relative; margin: 0;
  border: 10px solid #0c110f; border-radius: 14px; background: #050605;
  box-shadow: 0 0 0 1px #33403a, 14px 14px 0 var(--verdigris);
  transform: rotate(1.2deg);
}
.monitor img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 4px; }
.monitor__hud { position: absolute; inset: 0; pointer-events: none; font: 400 clamp(15px, 1.35vw, 21px)/1.05 var(--f-osd); letter-spacing: .04em; color: #F6F2E6; text-shadow: 1px 1px 0 #000, 0 0 5px rgba(0, 0, 0, .8); }
.monitor__hud > span { position: absolute; }
.monitor__tl { left: 14px; top: 12px; }
.monitor__tr { right: 14px; top: 12px; }
.monitor__tr::before { content: ""; display: inline-block; width: .55em; height: .55em; margin-right: .35em; border-radius: 50%; background: #ff3b24; animation: rec 1.2s steps(1) infinite; }
.monitor__bl { left: 14px; bottom: 12px; font-size: 1.4em; }
.monitor__flag { left: 50%; bottom: 14px; transform: translateX(-30%); padding: .1em .45em; background: var(--orange); color: var(--iron); text-shadow: none; white-space: nowrap; }
.monitor figcaption { position: absolute; right: 0; top: calc(100% + 18px); font: 400 .6rem/1 var(--f-mono); letter-spacing: .06em; text-transform: uppercase; color: rgba(243, 234, 219, .5); }

.page-body { padding: clamp(4.5rem, 9vw, 7.5rem) 0; }
.page-body__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(16rem, 21rem); gap: clamp(2.5rem, 6vw, 6rem); align-items: start; }
.prose { max-width: 42rem; }
.prose h2 { font-size: clamp(1.6rem, 2.5vw, 2.25rem); font-stretch: 125%; font-weight: 800; line-height: 1.05; letter-spacing: -.015em; margin: 3rem 0 1rem; }
.prose h2:first-child { margin-top: 0; }
.prose p { font-size: 1.08rem; color: rgba(23, 32, 29, .82); }
.signs { border-top: 3px solid var(--iron); }
.signs li { display: grid; grid-template-columns: 2.6rem 1fr; gap: .6rem; padding: .85rem 0; border-bottom: 1px solid var(--rule-light); font-weight: 600; font-stretch: 105%; }
.signs__no { font: 500 .74rem/1.9 var(--f-mono); color: rgba(23, 32, 29, .55); }
.ticks { display: grid; gap: .8rem; }
.ticks li { display: grid; grid-template-columns: 1.5rem 1fr; gap: .75rem; font-size: 1.04rem; }
.ticks svg { width: 1.2rem; height: 1.4rem; color: var(--orange); margin-top: .12rem; filter: drop-shadow(1px 1px 0 var(--iron)); }

.facts { position: sticky; top: calc(var(--top-h) + 1.5rem); background: var(--cream); border: 2px solid var(--iron); border-radius: 6px; overflow: hidden; box-shadow: 10px 10px 0 var(--verdigris); }
.facts__band { display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: .85rem 1.1rem; background: var(--orange); font: 500 .62rem/1 var(--f-mono); letter-spacing: .06em; text-transform: uppercase; }
.facts__brand { font: 800 1.25rem/1 var(--f-sans); font-stretch: 125%; letter-spacing: -.01em; text-transform: none; }
.facts dl div { padding: .85rem 1.1rem; border-bottom: 1px solid var(--rule-light); }
.facts dt { font: 500 .6rem/1 var(--f-mono); letter-spacing: .06em; text-transform: uppercase; color: rgba(23, 32, 29, .55); margin-bottom: .4rem; }
.facts dd { font-weight: 600; line-height: 1.35; }
.facts__call { display: grid; gap: .35rem; padding: 1rem 1.1rem; background: var(--iron); color: var(--cream); text-decoration: none; transition: background-color .25s; }
.facts__call span { font: 400 .62rem/1 var(--f-mono); letter-spacing: .06em; text-transform: uppercase; color: rgba(243, 234, 219, .7); }
.facts__call b { font-size: 1.4rem; font-weight: 800; font-stretch: 120%; color: var(--orange); }
.facts__call:hover { background: var(--verdigris-deep); }
.facts__book { margin: 1rem 1.1rem 1.15rem; }

.faq--page { padding-top: clamp(4rem, 8vw, 6rem); }

.related { background: var(--cream-2); padding: clamp(4.5rem, 9vw, 7rem) 0; }
.related h2 { font-size: clamp(2.2rem, 4.6vw, 4.2rem); margin-bottom: clamp(2rem, 4vw, 3.2rem); }
.track__link {
  position: relative; isolation: isolate;
  display: grid; grid-template-columns: 3.2rem minmax(0, 1fr) auto auto; align-items: center; gap: .8rem;
  padding: 1rem .2rem; text-decoration: none;
}
.track__link::before {
  content: ""; position: absolute; inset: 0 -.6rem; z-index: -1; border-radius: 6px;
  background: var(--orange); transform: scaleX(0); transform-origin: left; transition: transform .45s var(--ease);
}
.track__link:hover::before, .track__link:focus-visible::before { transform: scaleX(1); }
.track__link .track__name { font-size: clamp(1rem, 1.35vw, 1.15rem); }
.track__go {
  display: inline-flex; align-items: center; gap: .45em; padding: .55em .7em; border: 1.5px solid var(--iron); border-radius: 6px;
  font: 500 .62rem/1 var(--f-mono); letter-spacing: .05em; text-transform: uppercase; white-space: nowrap;
}
.track__go svg { width: 1.1em; height: 1.1em; fill: none; stroke: currentColor; stroke-width: 1.8; transition: transform .3s var(--ease); }
.track__link:hover .track__go { background: var(--iron); color: var(--orange); }
.track__link:hover .track__go svg { transform: translateX(3px); }
.track__link:hover .track__no, .track__link:hover .track__tag { color: var(--iron); }

.cta-band { background: var(--iron); color: var(--cream); padding: clamp(4.5rem, 9vw, 7rem) 0; }
.inner--emergency .cta-band { background: var(--verdigris-deep); }
.inner--inspect .cta-band { background: var(--orange); color: var(--iron); }
.inner--inspect .cta-band p { color: var(--iron); }
.inner--inspect .cta-band .bigcall { color: var(--iron); }
.inner--inspect .cta-band .bigcall__box rect { stroke: var(--iron); }
.inner--inspect .cta-band .bigcall:hover { color: var(--orange); }
.inner--inspect .cta-band .bigcall:hover .bigcall__box rect { fill: var(--iron); }
.inner--inspect .cta-band .btn--orange { background: var(--iron); border-color: var(--iron); color: var(--orange); }
.cta-band__grid { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 2rem 3rem; }
.cta-band h2 { font-size: clamp(2.3rem, 4.8vw, 4.4rem); max-width: 14ch; }
.cta-band p { margin-top: 1.2rem; max-width: 30rem; color: rgba(243, 234, 219, .82); }
.cta-band__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1.2rem 1.6rem; }
.cta-band .bigcall { margin-top: 0; color: var(--orange); }
.cta-band .bigcall__box rect { stroke: var(--orange); }
.cta-band .bigcall:hover { color: var(--iron); }
.cta-band .bigcall:hover .bigcall__box rect { fill: var(--orange); }
.cta-band .bigcall__num { font-size: clamp(1.8rem, 3.6vw, 3rem); }

@media (max-width: 900px) {
  .page-hero { padding-top: calc(var(--top-h) + 2rem); }
  .page-hero__grid, .page-body__grid { grid-template-columns: 1fr; }
  .page-hero .actions { display: flex; }
  .monitor { margin-bottom: 1.5rem; }
  .facts { position: static; }
  .track__link { grid-template-columns: 2.4rem minmax(0, 1fr) auto; }
  .track__link .track__tag { display: none; }
}
