/* Sue Jersey — road-sign system.
   One loud element: the yellow deadline sign. Everything else stays quiet. */

@font-face { font-family: "Overpass"; src: url("/assets/fonts/overpass-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Overpass"; src: url("/assets/fonts/overpass-latin-600-normal.woff2") format("woff2"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Overpass"; src: url("/assets/fonts/overpass-latin-800-normal.woff2") format("woff2"); font-weight: 800; font-display: swap; }
@font-face { font-family: "Overpass"; src: url("/assets/fonts/overpass-latin-900-normal.woff2") format("woff2"); font-weight: 900; font-display: swap; }
@font-face { font-family: "Source Serif 4"; src: url("/assets/fonts/source-serif-4-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Source Serif 4"; src: url("/assets/fonts/source-serif-4-latin-400-italic.woff2") format("woff2"); font-weight: 400; font-style: italic; font-display: swap; }
@font-face { font-family: "Source Serif 4"; src: url("/assets/fonts/source-serif-4-latin-600-normal.woff2") format("woff2"); font-weight: 600; font-display: swap; }

:root {
  --yellow: #F5C518;
  --yellow-pale: #FDF3C8;
  --ink: #17202E;
  --paper: #FFFFFF;
  --asphalt: #4A5260;
  --rule: #D8DBE0;
  --field: #F3F4F6;
  --red: #B3261E;
  --green: #0E6B4C;

  --sign-font: "Overpass", "Highway Gothic", "Arial Narrow", Arial, sans-serif;
  --text-font: "Source Serif 4", Georgia, "Times New Roman", serif;

  --measure: 66ch;
  --gutter: clamp(1.25rem, 4vw, 2.5rem);
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--text-font);
  font-size: 1.125rem;          /* 18px */
  line-height: 1.65;
  font-feature-settings: "kern", "liga", "onum";
  text-rendering: optimizeLegibility;
}

h1, h2, h3, legend, .sign, .plate, nav, .btn, .chip, .guide-list, .deadline-table th {
  font-family: var(--sign-font);
}

h1, h2, h3 { color: var(--ink); line-height: 1.12; margin: 0; }
h1 { font-weight: 900; font-size: clamp(2.25rem, 5.2vw, 3.75rem); letter-spacing: -0.015em; }
h2 { font-weight: 800; font-size: clamp(1.5rem, 2.6vw, 1.875rem); letter-spacing: -0.005em; margin-top: 2.75rem; }
h3 { font-weight: 800; font-size: 1.25rem; margin-top: 2rem; }

p, ul, ol { margin: 1rem 0 0; }
li + li { margin-top: 0.4rem; }

a { color: var(--ink); text-decoration-thickness: 1px; text-underline-offset: 0.18em; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; border-radius: 2px; }

strong { font-weight: 600; }

.wrap { max-width: 72rem; margin: 0 auto; padding: 0 var(--gutter); }
.wrap-narrow { max-width: calc(var(--measure) + 2 * var(--gutter)); margin: 0 auto; padding: 0 var(--gutter); }

.skip { position: absolute; left: -999px; top: 0; background: var(--yellow); padding: 0.5rem 1rem; z-index: 10; font-family: var(--sign-font); font-weight: 800; }
.skip:focus { left: 0.5rem; top: 0.5rem; }

/* ---------- header ---------- */
.site-header { border-bottom: 1px solid var(--rule); }
.header-row { display: flex; align-items: center; justify-content: space-between; gap: 1rem 2rem; flex-wrap: wrap; padding-top: 1rem; padding-bottom: 1rem; }

.wordmark { text-decoration: none; }
.plate {
  display: inline-block;
  background: var(--yellow);
  color: var(--ink);
  font-weight: 900;
  font-size: 1.25rem;
  line-height: 1;
  padding: 0.5rem 0.75rem 0.4rem;
  border-radius: 7px;
  box-shadow: inset 0 0 0 2px var(--yellow), inset 0 0 0 4px var(--ink);
  letter-spacing: -0.01em;
}

nav ul { list-style: none; display: flex; flex-wrap: wrap; gap: 0.25rem 1.5rem; margin: 0; padding: 0; }
nav li + li { margin-top: 0; }
nav a { font-weight: 600; font-size: 1rem; text-decoration: none; padding: 0.25rem 0; border-bottom: 2px solid transparent; }
nav a:hover { border-bottom-color: var(--ink); }
nav a[aria-current="page"] { border-bottom-color: var(--yellow); }

/* ---------- home: hero + checker ---------- */
.hero { padding: clamp(2.5rem, 6vw, 4.5rem) 0 1rem; }
.hero h1 { max-width: 17ch; }
.lede { font-size: 1.3125rem; line-height: 1.55; max-width: 38em; color: var(--ink); margin-top: 1.25rem; }

.checker {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
  gap: clamp(1.5rem, 4vw, 3.5rem);
  align-items: start;
  padding: 2rem 0 clamp(3rem, 6vw, 5rem);
}

.checker form { display: grid; gap: 1.75rem; }
fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }
legend { font-weight: 800; font-size: 1.125rem; padding: 0; margin-bottom: 0.65rem; }
.hint { font-size: 0.95rem; color: var(--asphalt); margin: -0.35rem 0 0.65rem; }

.chips { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.chip { position: relative; }
.chip input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.chip span {
  display: inline-block;
  font-weight: 600;
  font-size: 1rem;
  line-height: 1.2;
  padding: 0.6rem 0.9rem 0.5rem;
  border: 2px solid var(--rule);
  border-radius: 6px;
  background: var(--paper);
  cursor: pointer;
}
.chip input:hover + span { border-color: var(--asphalt); }
.chip input:checked + span { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.chip input:focus-visible + span { outline: 3px solid var(--ink); outline-offset: 2px; }

.date-field label { display: block; font-family: var(--sign-font); font-weight: 800; font-size: 1.125rem; margin-bottom: 0.65rem; }
input[type="date"] {
  font: 600 1.125rem/1.2 var(--sign-font);
  color: var(--ink);
  padding: 0.65rem 0.8rem 0.55rem;
  border: 2px solid var(--rule);
  border-radius: 6px;
  background: var(--paper);
  min-width: 13rem;
}
input[type="date"]:hover { border-color: var(--asphalt); }
input[type="date"]:focus-visible { outline: 3px solid var(--ink); outline-offset: 2px; }
[hidden] { display: none !important; }

/* ---------- the sign ---------- */
.sign {
  background: var(--yellow);
  color: var(--ink);
  border-radius: 16px;
  padding: 7px;
  position: sticky;
  top: 1.5rem;
}
.sign-inner {
  border: 5px solid var(--ink);
  border-radius: 11px;
  padding: clamp(1.25rem, 3vw, 2rem);
}
.sign-label { font-weight: 800; font-size: 1.125rem; margin: 0; }
.sign-date {
  font-weight: 900;
  font-size: clamp(2.5rem, 5.4vw, 4rem);
  line-height: 0.95;
  letter-spacing: -0.02em;
  margin: 0.6rem 0 0.4rem;
  font-variant-numeric: lining-nums;
}
.sign-sub { font-weight: 600; font-size: 1.125rem; margin: 0; }
.sign-extra { margin-top: 1.5rem; padding-top: 1.25rem; border-top: 3px solid var(--ink); display: grid; gap: 1rem; }
.sign-row p { margin: 0; }
.sign-row .row-label { font-weight: 800; font-size: 1rem; }
.sign-row .row-date { font-weight: 900; font-size: 1.5rem; line-height: 1.1; margin-top: 0.15rem; }
.sign-row .row-note { font-family: var(--text-font); font-size: 0.975rem; line-height: 1.5; margin-top: 0.3rem; }
.sign-law { font-family: var(--text-font); font-size: 0.95rem; line-height: 1.5; margin: 1.25rem 0 0; }
.sign-law a { color: var(--ink); }

.sign.is-passed { background: var(--red); color: var(--paper); }
.sign.is-passed .sign-inner { border-color: var(--paper); }
.sign.is-passed .sign-extra { border-top-color: var(--paper); }
.sign.is-passed a { color: var(--paper); }

.sign-date.is-updating { animation: sign-in 260ms ease-out; }
@keyframes sign-in { from { opacity: 0.2; transform: translateY(4px); } to { opacity: 1; transform: none; } }

.checker-fine { font-size: 0.95rem; color: var(--asphalt); margin-top: 1.5rem; }

/* ---------- guide list ---------- */
.section-head { padding-top: clamp(2.5rem, 5vw, 4rem); border-top: 1px solid var(--rule); }
.section-head h2 { margin-top: 0; }
.section-head p { max-width: 40em; color: var(--asphalt); }

.guide-list { list-style: none; padding: 0; margin: 1.75rem 0 0; border-top: 2px solid var(--ink); }
.guide-list li { margin: 0; border-bottom: 1px solid var(--rule); }
.guide-list a {
  display: grid;
  grid-template-columns: minmax(10rem, 16rem) minmax(0, 1fr) auto;
  gap: 0.25rem 2rem;
  align-items: baseline;
  padding: 1.15rem 0.25rem;
  text-decoration: none;
}
.guide-list a:hover .g-title { text-decoration: underline; text-underline-offset: 0.18em; }
.g-title { font-weight: 800; font-size: 1.25rem; }
.g-desc { font-family: var(--text-font); color: var(--asphalt); font-size: 1.0625rem; }
.g-deadline { font-weight: 800; font-size: 1rem; white-space: nowrap; }

.home-more { padding-bottom: clamp(3rem, 6vw, 5rem); }
.section-head-flat { border-top: 0; padding-top: clamp(2.5rem, 5vw, 3.5rem); }

/* ---------- guide pages ---------- */
.page-head { padding-top: clamp(2.25rem, 5vw, 3.75rem); }
.page-head h1 { max-width: 20ch; }
.checked { font-size: 0.975rem; color: var(--asphalt); margin-top: 1rem; }

.guide-grid {
  display: grid;
  grid-template-columns: minmax(0, var(--measure)) minmax(14rem, 17rem);
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: start;
  padding-bottom: clamp(2.5rem, 5vw, 4rem);
}
.guide-body > :first-child { margin-top: 0; }

.short {
  background: var(--yellow-pale);
  border-left: 6px solid var(--yellow);
  padding: 1.25rem 1.5rem 1.4rem;
  margin-top: 2rem;
}
.short h2 { margin-top: 0; font-size: 1.25rem; }
.short ul { padding-left: 1.2rem; margin-top: 0.75rem; }

.aside-sign { position: sticky; top: 1.5rem; margin-top: 2rem; }
.aside-sign .sign { position: static; }
.aside-sign .sign-date { font-size: clamp(2.25rem, 3.2vw, 2.75rem); white-space: nowrap; }
.aside-sign .sign-sub { font-size: 1rem; }
.aside-sign .sign-link { display: inline-block; margin-top: 1rem; font-weight: 800; font-size: 1rem; }

.steps { padding-left: 1.4rem; }
.steps li { padding-left: 0.25rem; }

.callout {
  border: 2px solid var(--ink);
  border-radius: 8px;
  padding: 1rem 1.25rem 1.15rem;
  margin-top: 1.75rem;
}
.callout h3 { margin-top: 0; font-size: 1.125rem; }
.callout p:first-of-type { margin-top: 0.5rem; }

.cite { font-size: 0.9em; color: var(--asphalt); white-space: nowrap; }

/* tables */
.table-wrap { overflow-x: auto; margin-top: 1.5rem; }
.deadline-table { border-collapse: collapse; width: 100%; min-width: 34rem; font-size: 1.0625rem; }
.deadline-table th, .deadline-table td { text-align: left; vertical-align: top; padding: 0.85rem 1rem 0.85rem 0; border-bottom: 1px solid var(--rule); }
.deadline-table thead th { font-weight: 800; font-size: 1rem; border-bottom: 2px solid var(--ink); }
.deadline-table tbody th { font-weight: 800; font-size: 1.0625rem; width: 34%; }
.deadline-table .big { font-family: var(--sign-font); font-weight: 900; font-size: 1.25rem; display: block; line-height: 1.2; }
.deadline-table td small { display: block; color: var(--asphalt); font-size: 0.95rem; margin-top: 0.25rem; }

.fee-table { border-collapse: collapse; margin-top: 1.25rem; min-width: 20rem; }
.fee-table th, .fee-table td { text-align: left; padding: 0.6rem 2rem 0.6rem 0; border-bottom: 1px solid var(--rule); }
.fee-table thead th { font-family: var(--sign-font); font-weight: 800; border-bottom: 2px solid var(--ink); }
.fee-table td:first-child { font-family: var(--sign-font); font-weight: 900; font-size: 1.25rem; }

/* sources + lawyer */
.sources { max-width: var(--measure); margin-top: 1rem; padding: 1.5rem 0 clamp(2.5rem, 5vw, 3.5rem); border-top: 1px solid var(--rule); }
.sources h2 { margin-top: 0; font-size: 1.25rem; }
.sources ul { padding-left: 1.2rem; font-size: 1rem; }

.lawyer { background: var(--field); padding: clamp(2.25rem, 5vw, 3.5rem) 0; }
.lawyer h2 { margin-top: 0; }
.lawyer-inner { max-width: var(--measure); }

/* plain pages */
.page-plain .plain-body { padding-bottom: clamp(3rem, 6vw, 5rem); }
.page-plain .plain-body > h2:first-child { margin-top: 2rem; }

.btn {
  display: inline-block;
  background: var(--ink);
  color: var(--paper);
  font-weight: 800;
  font-size: 1.0625rem;
  text-decoration: none;
  padding: 0.75rem 1.1rem 0.65rem;
  border-radius: 6px;
  margin-top: 1.25rem;
}
.btn:hover { background: #2B3648; }

/* ---------- footer ---------- */
.site-footer { border-top: 1px solid var(--rule); padding: 2.5rem 0 3rem; font-size: 0.975rem; color: var(--asphalt); }
.footer-grid { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 1.5rem 3rem; }
.footer-note p { max-width: 46em; margin-top: 0.75rem; }
.footer-note p:first-child { margin-top: 0; }
.footer-note strong { color: var(--ink); }
.footer-links { list-style: none; padding: 0; margin: 0; font-family: var(--sign-font); font-weight: 600; }
.footer-links a { color: var(--ink); }

/* ---------- responsive ---------- */
@media (max-width: 860px) {
  .checker { grid-template-columns: minmax(0, 1fr); }
  .sign { position: static; }
  .guide-grid { grid-template-columns: minmax(0, 1fr); }
  .aside-sign { position: static; margin-top: 0; order: -1; }
  .guide-list a { grid-template-columns: 1fr auto; }
  .g-desc { grid-column: 1 / -1; grid-row: 2; }
  .footer-grid { grid-template-columns: minmax(0, 1fr); }
}

@media (max-width: 520px) {
  body { font-size: 1.0625rem; }
  .lede { font-size: 1.1875rem; }
  .header-row { padding-top: 0.75rem; padding-bottom: 0.75rem; }
  nav ul { gap: 0.25rem 1.1rem; }
  nav a { font-size: 0.95rem; }
}

@media (prefers-reduced-motion: reduce) {
  .sign-date.is-updating { animation: none; }
}

@media print {
  .site-header nav, .lawyer, .skip { display: none; }
  .sign { background: none; border: 3px solid #000; }
}


/* =====================================================================
   NIGHT STAGE: tokens, buttons, glass, shared lighting
   ===================================================================== */
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.nowrap { white-space: nowrap; }

:root {
  --night: #0B1224;
  --night-2: #111A30;
  --night-3: #18233F;
  --night-line: rgba(255, 255, 255, 0.1);
  --night-text: #E9EEF6;
  --night-dim: #A9B4C8;
  --amber: #FFB420;
  --exit-green: #0E6B4C;
  --exit-green-hi: #19B27A;
  --tail: #FF4A3D;
}

.site-header { background: var(--night); border-bottom-color: var(--night-line); }
.site-header nav a { color: var(--night-text); }
.site-header nav a:hover { border-bottom-color: var(--night-text); }
.site-header :focus-visible { outline-color: var(--yellow); }
body:not(.page-home):not(.page-pitch) .site-header { border-bottom-width: 0; }

/* on the home and pitch pages the header floats over the lit scene */
.page-home .site-header, .page-pitch .site-header {
  position: absolute; left: 0; right: 0; z-index: 20;
  background: linear-gradient(180deg, rgba(5, 9, 22, 0.72), rgba(5, 9, 22, 0));
  border-bottom: 0;
}
.wordmark { display: inline-flex; align-items: center; gap: 0.6rem; }
.plate { box-shadow: inset 0 0 0 2px var(--yellow), inset 0 0 0 4px var(--ink), 0 0 24px -4px rgba(245, 197, 24, 0.55); }
.by-firm { font-family: var(--sign-font); font-weight: 800; font-size: 0.975rem; color: #FFFFFF; }

.btn {
  display: inline-block; text-align: center;
  font-family: var(--sign-font); font-weight: 800; font-size: 1.0625rem; line-height: 1.15;
  text-decoration: none; border-radius: 10px; padding: 0.95rem 1.35rem 0.85rem;
  border: 0; cursor: pointer;
  transition: transform 220ms cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 220ms, background 220ms;
}
.btn-yellow {
  background: linear-gradient(180deg, #FFDB4D 0%, #F5C518 100%);
  color: var(--ink) !important;
  box-shadow: 0 12px 34px -12px rgba(245, 197, 24, 0.75), inset 0 1px 0 rgba(255, 255, 255, 0.65), inset 0 -2px 0 rgba(0, 0, 0, 0.12);
}
.btn-yellow:hover { transform: translateY(-2px); box-shadow: 0 18px 40px -12px rgba(245, 197, 24, 0.9), inset 0 1px 0 rgba(255, 255, 255, 0.7); background: linear-gradient(180deg, #FFE36B 0%, #FFD026 100%); }
.btn-ghost { background: rgba(255, 255, 255, 0.04); color: #FFFFFF !important; box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, 0.28); }
.btn-ghost:hover { background: rgba(255, 255, 255, 0.1); transform: translateY(-2px); }
.btn:focus-visible { outline: 3px solid var(--yellow); outline-offset: 3px; }
.btn-big { font-size: 1.25rem; padding: 1.15rem 1.7rem 1.05rem; }

.glass {
  position: relative;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.065), rgba(255, 255, 255, 0.025));
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 24px;
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  box-shadow: 0 40px 90px -50px rgba(0, 0, 0, 0.9), inset 0 1px 0 rgba(255, 255, 255, 0.08);
  padding: clamp(1.25rem, 3.2vw, 2.75rem);
}

.chapter-title { font-size: clamp(2.1rem, 4.6vw, 3.6rem); font-weight: 900; letter-spacing: -0.02em; line-height: 1.02; margin: 0; max-width: 20ch; text-wrap: balance; }
.chapter-lede { font-size: 1.1875rem; max-width: 38em; color: var(--asphalt); margin-top: 1rem; }

/* =====================================================================
   HOME: the hero scene
   ===================================================================== */
.hero-scene {
  position: relative; overflow: hidden;
  min-height: clamp(660px, 100svh, 1000px);
  display: flex; align-items: center;
  background: #050916;
  isolation: isolate;
}
.scene-stage { position: absolute; inset: 0; z-index: -1; }
#scene { display: block; width: 100%; height: 100%; }
.scene-board {
  position: absolute; left: 0; top: 0; transform-origin: 0 0; will-change: transform;
  background: #04060B;
  border: 3px solid #1E2738; border-radius: 4px;
  padding: 0.45%;
  box-shadow: 0 0 0 1px #2E3A52, 0 0 46px rgba(255, 180, 32, 0.38), 0 0 140px rgba(255, 180, 32, 0.16);
}
.scene-board canvas { display: block; width: 100%; height: auto; }
.scene-shade {
  position: absolute; inset: 0; pointer-events: none;
  background:
    linear-gradient(90deg, rgba(5, 9, 22, 0.92) 0%, rgba(5, 9, 22, 0.62) 34%, rgba(5, 9, 22, 0) 60%),
    linear-gradient(0deg, var(--night) 0%, rgba(11, 18, 36, 0) 24%);
}
.hero-copy { position: relative; z-index: 2; width: 100%; padding-top: 7.5rem; padding-bottom: 4rem; }
.page-home .hero-copy h1 {
  font-size: clamp(2.7rem, 5.5vw, 5rem); line-height: 0.97; letter-spacing: -0.03em;
  max-width: 11.5ch; text-wrap: balance;
  background: linear-gradient(180deg, #FFFFFF 30%, #C9D6EC 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  filter: drop-shadow(0 6px 30px rgba(0, 0, 0, 0.55));
}
.page-home .lede { color: #C3CDDD; max-width: 31em; font-size: 1.3125rem; margin-top: 1.5rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.85rem; margin-top: 2rem; }
.hero-note { font-family: var(--sign-font); font-weight: 600; font-size: 0.975rem; color: var(--night-dim); margin-top: 1.25rem; }

/* one orchestrated entrance: the copy rises as the scene powers on */
@media (prefers-reduced-motion: no-preference) {
  .hero-copy > * { animation: rise 900ms cubic-bezier(0.16, 1, 0.3, 1) both; }
  .hero-copy > :nth-child(2) { animation-delay: 120ms; }
  .hero-copy > :nth-child(3) { animation-delay: 240ms; }
  .hero-copy > :nth-child(4) { animation-delay: 360ms; }
  .scene-board { animation: board-on 1400ms ease-out both 300ms; }
}
@keyframes rise { from { opacity: 0; transform: translateY(26px); filter: blur(6px); } to { opacity: 1; transform: none; filter: none; } }
@keyframes board-on { 0% { opacity: 0; } 30% { opacity: 1; } 38% { opacity: 0.4; } 46%, 100% { opacity: 1; } }

/* =====================================================================
   HOME: the night chapters
   ===================================================================== */
.night {
  background:
    radial-gradient(1100px 520px at 85% 0%, rgba(255, 180, 32, 0.07), transparent 60%),
    radial-gradient(900px 600px at 0% 60%, rgba(14, 107, 76, 0.12), transparent 60%),
    var(--night);
  color: var(--night-text);
}
.night h1, .night h2, .night h3, .night legend, .night .date-field label { color: #FFFFFF; }
.night .chapter-lede { color: var(--night-dim); }
.night a { color: #FFFFFF; }
.page-home main { background: var(--night); }

.checker-section { padding: clamp(3.5rem, 7vw, 6rem) 0; }
.checker-panel { margin-top: 2.25rem; }
.checker-section .checker { padding: 0; }
.night .hint, .night .checker-fine { color: var(--night-dim); }
.night .chip span { background: rgba(255, 255, 255, 0.03); color: var(--night-text); border-color: rgba(255, 255, 255, 0.2); transition: border-color 160ms, background 160ms, transform 160ms; }
.night .chip input:hover + span { border-color: rgba(255, 255, 255, 0.55); }
.night .chip input:checked + span { background: var(--yellow); color: var(--ink); border-color: var(--yellow); box-shadow: 0 0 24px -6px rgba(245, 197, 24, 0.7); }
.night .chip input:focus-visible + span { outline-color: var(--yellow); }
.night input[type="date"] { background: rgba(5, 9, 22, 0.6); color: #FFFFFF; border-color: rgba(255, 255, 255, 0.22); color-scheme: dark; }
.night input[type="date"]:focus-visible { outline-color: var(--yellow); }
.night .sign a { color: var(--ink); }
.night .sign.is-passed a { color: var(--paper); }
.sign-col { position: sticky; top: 1.5rem; }
.sign-col .sign { position: relative; box-shadow: 0 0 0 1px rgba(245, 197, 24, 0.3), 0 30px 90px -24px rgba(245, 197, 24, 0.45); }
.sign-col .sign.is-passed { box-shadow: 0 30px 90px -24px rgba(255, 74, 61, 0.65); }

/* retroreflective glint: a headlight crossing the sign now and then */
.sign { overflow: hidden; }
.sign::after {
  content: ""; position: absolute; inset: -30% -60%; pointer-events: none;
  background: linear-gradient(105deg, transparent 44%, rgba(255, 255, 255, 0.5) 50%, transparent 56%);
  transform: translateX(-60%);
}
@media (prefers-reduced-motion: no-preference) {
  .sign::after { animation: glint 8s ease-in-out infinite 2.5s; }
}
@keyframes glint { 0%, 70% { transform: translateX(-60%); } 85%, 100% { transform: translateX(60%); } }
.sign.is-passed::after { background: linear-gradient(105deg, transparent 44%, rgba(255, 255, 255, 0.25) 50%, transparent 56%); }

.firm-cta { margin-top: 1rem; padding: 1.1rem 1.2rem 1.2rem; border-radius: 14px; background: rgba(245, 197, 24, 0.08); box-shadow: inset 0 0 0 1px rgba(245, 197, 24, 0.35); }
.firm-cta-line { font-family: var(--sign-font); font-weight: 800; font-size: 1.125rem; margin: 0 0 0.85rem; color: #FFFFFF; }
.firm-cta-note { font-size: 0.9rem; color: var(--night-dim); margin: 0.75rem 0 0; }

/* the road timeline on the night stage */
.road-wrap { margin-top: clamp(2.5rem, 5vw, 3.5rem); padding-top: clamp(1.5rem, 3vw, 2.25rem); border-top: 1px solid rgba(255, 255, 255, 0.08); }
.road-title { font-size: 1.25rem; margin: 0; }
.road-stage { position: relative; height: 290px; margin-top: 0.5rem; }
.road { position: absolute; left: 0; right: 0; top: 150px; height: 46px; background: linear-gradient(180deg, #1D2536, #141B2A); border-top: 3px solid #E9ECF0; border-bottom: 3px solid #E9ECF0; border-radius: 2px; box-shadow: 0 18px 40px -18px rgba(0, 0, 0, 0.8); }
.lane { position: absolute; left: 0; right: 0; top: 50%; height: 4px; margin-top: -2px; background: repeating-linear-gradient(90deg, var(--yellow) 0 26px, transparent 26px 46px); }
@media (prefers-reduced-motion: no-preference) {
  .lane { animation: lane-flow 1.2s linear infinite; }
}
@keyframes lane-flow { to { background-position: 46px 0; } }
.stops { list-style: none; margin: 0; padding: 0; }
.stops li { margin: 0; }
.stop { position: absolute; left: calc(var(--pos) * 100%); top: 0; height: 150px; width: 0; }
.stop-post { position: absolute; left: -2px; bottom: 0; width: 4px; height: 34px; background: #8A939E; }
.stop-sign {
  position: absolute; bottom: 34px; left: 0; transform: translateX(-50%);
  display: grid; gap: 0.1rem; text-align: center; white-space: nowrap;
  background: linear-gradient(180deg, #11805A, var(--exit-green)); color: #FFFFFF;
  border-radius: 8px; padding: 0.55rem 0.8rem 0.5rem;
  box-shadow: inset 0 0 0 2px var(--exit-green), inset 0 0 0 4px #FFFFFF, 0 10px 30px -12px rgba(25, 178, 122, 0.6);
  font-family: var(--sign-font);
}
.stop-label { font-weight: 600; font-size: 0.875rem; }
.stop-date { font-weight: 900; font-size: 1.0625rem; }
.stop-flag { font-weight: 800; font-size: 0.75rem; color: #FFD5D2; }
.stop.is-passed .stop-sign { background: #3A4252; box-shadow: inset 0 0 0 2px #3A4252, inset 0 0 0 4px #9AA3B0; }
.stop.side-down { top: 196px; height: auto; }
.stop.side-down .stop-post { bottom: auto; top: 0; height: 14px; }
.stop.side-down .stop-sign { bottom: auto; top: 14px; }
.stop-start .stop-sign { background: rgba(255, 255, 255, 0.04); box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, 0.4); }
.stop-start.side-down .stop-sign, .stop-start .stop-sign { transform: none; left: -2px; text-align: left; }
.stop:last-child .stop-sign { transform: translateX(-80%); }
.today { position: absolute; top: 160px; left: calc(var(--pos, 0) * 100%); transform: translateX(-50%); transition: left 900ms cubic-bezier(0.22, 1, 0.36, 1); display: flex; flex-direction: column; align-items: center; z-index: 2; }
.today svg { display: block; filter: drop-shadow(0 0 12px rgba(245, 197, 24, 0.7)); }
.today span { font-family: var(--sign-font); font-weight: 800; font-size: 0.8125rem; color: var(--yellow); margin-top: 0.85rem; }
.road-note { font-family: var(--sign-font); font-weight: 600; font-size: 1.125rem; color: var(--night-text); margin-top: 0.75rem; }

/* first steps: amber LED numerals */
.first-steps { padding: clamp(3.5rem, 7vw, 6rem) 0; }
.step-row { list-style: none; padding: 0; margin: 2.75rem 0 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 2rem; }
.step-row li { margin: 0; padding-top: 1.1rem; border-top: 1px solid rgba(255, 255, 255, 0.12); position: relative; }
.step-row li::before { content: ""; position: absolute; top: -1px; left: 0; width: 42px; height: 2px; background: var(--amber); box-shadow: 0 0 14px rgba(255, 180, 32, 0.9); }
.step-num { display: block; font-family: var(--sign-font); font-weight: 900; font-size: 3.75rem; line-height: 1; color: var(--amber); text-shadow: 0 0 22px rgba(255, 180, 32, 0.55); }
.step-row h3 { font-size: 1.1875rem; margin-top: 0.75rem; }
.step-row p { color: var(--night-dim); font-size: 1rem; line-height: 1.55; margin-top: 0.5rem; }

/* guides: lit highway exit signs */
.guides-night { padding: clamp(3.5rem, 7vw, 6rem) 0; }
.exit-grid { list-style: none; padding: 0; margin: 2.75rem 0 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 1.4rem; }
.exit-grid li { margin: 0; }
.exit-sign {
  position: relative; overflow: hidden;
  display: flex; flex-direction: column; height: 100%; min-height: 232px;
  padding: 3.1rem 1.45rem 1.35rem;
  border-radius: 14px; color: #FFFFFF !important; text-decoration: none;
  background:
    radial-gradient(circle at 14px 14px, #C9D3CE 0 2.5px, transparent 3px),
    radial-gradient(circle at calc(100% - 14px) 14px, #C9D3CE 0 2.5px, transparent 3px),
    radial-gradient(circle at 14px calc(100% - 14px), #C9D3CE 0 2.5px, transparent 3px),
    radial-gradient(circle at calc(100% - 14px) calc(100% - 14px), #C9D3CE 0 2.5px, transparent 3px),
    linear-gradient(170deg, #138A61 0%, #0E6B4C 52%, #0A5139 100%);
  box-shadow: inset 0 0 0 3px #0E6B4C, inset 0 0 0 6px #EEF6F1, 0 26px 50px -30px rgba(0, 0, 0, 0.95);
  font-family: var(--sign-font);
  transition: transform 380ms cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 380ms;
}
.exit-sign::after {
  content: ""; position: absolute; inset: -40% -80%; pointer-events: none;
  background: linear-gradient(100deg, transparent 42%, rgba(255, 255, 255, 0.42) 50%, transparent 58%);
  transform: translateX(-70%);
  transition: transform 900ms cubic-bezier(0.2, 0.8, 0.2, 1);
}
.exit-sign:hover, .exit-sign:focus-visible { transform: translateY(-6px); box-shadow: inset 0 0 0 3px #0E6B4C, inset 0 0 0 6px #FFFFFF, 0 34px 60px -30px rgba(0, 0, 0, 0.95), 0 0 50px -8px rgba(25, 178, 122, 0.55); }
.exit-sign:hover::after, .exit-sign:focus-visible::after { transform: translateX(70%); }
.exit-sign:focus-visible { outline: 3px solid var(--yellow); outline-offset: 4px; }
.exit-tab {
  position: absolute; top: 14px; right: 30px;
  font-weight: 800; font-size: 0.875rem; line-height: 1;
  padding: 0.45rem 0.7rem 0.4rem; border-radius: 6px;
  background: #FFFFFF; color: var(--exit-green);
}
.exit-sign.is-urgent .exit-tab { background: var(--yellow); color: var(--ink); box-shadow: 0 0 18px -2px rgba(245, 197, 24, 0.8); }
.exit-title { font-weight: 900; font-size: 1.5rem; line-height: 1.08; letter-spacing: -0.01em; }
.exit-desc { font-weight: 600; font-size: 0.98rem; line-height: 1.4; color: #CFE8DC; margin-top: 0.6rem; }
.exit-go { margin-top: auto; padding-top: 1.1rem; font-weight: 800; font-size: 0.95rem; text-decoration: underline; text-underline-offset: 0.22em; text-decoration-thickness: 1.5px; }
.exit-sign-alt { background:
    radial-gradient(circle at 14px 14px, #C9D3CE 0 2.5px, transparent 3px),
    radial-gradient(circle at calc(100% - 14px) 14px, #C9D3CE 0 2.5px, transparent 3px),
    radial-gradient(circle at 14px calc(100% - 14px), #C9D3CE 0 2.5px, transparent 3px),
    radial-gradient(circle at calc(100% - 14px) calc(100% - 14px), #C9D3CE 0 2.5px, transparent 3px),
    linear-gradient(170deg, #1F3A6B 0%, #17305A 55%, #102445 100%);
  box-shadow: inset 0 0 0 3px #17305A, inset 0 0 0 6px #EEF2F8, 0 26px 50px -30px rgba(0, 0, 0, 0.95); }
.exit-sign-alt .exit-tab { color: #17305A; }
.exit-sign-alt .exit-desc { color: #CAD6EA; }

/* fault slider on glass */
.fault-night { padding: clamp(3.5rem, 7vw, 6rem) 0 clamp(4.5rem, 9vw, 8rem); }
.fault-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.fault-fees { color: var(--night-dim); max-width: 34em; }
.fault-label { display: block; font-family: var(--sign-font); font-weight: 800; font-size: 1.125rem; color: #FFFFFF; }
.fault-label output { font-weight: 900; color: var(--yellow); }
input[type="range"] { -webkit-appearance: none; appearance: none; width: 100%; height: 12px; margin: 1.4rem 0 1.1rem; border-radius: 6px; background: linear-gradient(90deg, var(--yellow) var(--fill, 25%), rgba(255, 255, 255, 0.14) var(--fill, 25%)); cursor: pointer; }
input[type="range"]::-webkit-slider-thumb { -webkit-appearance: none; width: 30px; height: 30px; border-radius: 50%; background: #FFFFFF; border: 4px solid var(--yellow); box-shadow: 0 0 22px rgba(245, 197, 24, 0.8); }
input[type="range"]::-moz-range-thumb { width: 22px; height: 22px; border-radius: 50%; background: #FFFFFF; border: 4px solid var(--yellow); box-shadow: 0 0 22px rgba(245, 197, 24, 0.8); }
input[type="range"]:focus-visible { outline: 3px solid var(--yellow); outline-offset: 6px; }
.fault-bar { display: flex; height: 18px; border-radius: 5px; overflow: hidden; background: rgba(255, 255, 255, 0.08); }
.fault-yours { width: var(--w, 25%); background: rgba(255, 255, 255, 0.28); transition: width 180ms ease-out; }
.fault-recovered { width: var(--w, 75%); background: linear-gradient(90deg, #12955F, #22C98A); box-shadow: 0 0 24px rgba(34, 201, 138, 0.5); transition: width 180ms ease-out; }
.fault-result { margin-top: 1.4rem; }
.fault-amount { display: block; font-family: var(--sign-font); font-weight: 900; font-size: clamp(2.75rem, 5.4vw, 4rem); line-height: 1; color: #2EE09A; text-shadow: 0 0 30px rgba(46, 224, 154, 0.35); }
.fault-caption { display: block; margin-top: 0.45rem; color: var(--night-dim); }
.fault-tool.is-barred .fault-amount { color: var(--tail); text-shadow: 0 0 30px rgba(255, 74, 61, 0.45); }
.fault-tool.is-barred .fault-caption { color: #FFB3AC; font-weight: 600; }

/* mile markers */
.milemarkers { display: none; }
@media (min-width: 1380px) {
  .milemarkers { display: block; position: fixed; left: 1.5rem; top: 50%; transform: translateY(-50%); z-index: 15; }
  .milemarkers ol { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.9rem; }
  .milemarkers li { margin: 0; }
  .milemarkers a { display: flex; align-items: center; gap: 0.75rem; text-decoration: none; opacity: 0.5; transition: opacity 200ms; }
  .milemarkers a:hover, .milemarkers a:focus-visible, .milemarkers a[aria-current] { opacity: 1; }
  .mm-post { display: grid; justify-items: center; width: 38px; padding: 0.35rem 0 0.3rem; background: var(--exit-green); color: #FFFFFF; border-radius: 4px; box-shadow: inset 0 0 0 2px var(--exit-green), inset 0 0 0 3.5px #FFFFFF; font-family: var(--sign-font); }
  .milemarkers a[aria-current] .mm-post { box-shadow: inset 0 0 0 2px var(--exit-green), inset 0 0 0 3.5px #FFFFFF, 0 0 22px rgba(25, 178, 122, 0.8); }
  .mm-word { font-size: 0.5625rem; font-weight: 800; letter-spacing: 0.02em; }
  .mm-num { font-size: 1.25rem; font-weight: 900; line-height: 1; }
  .mm-label { font-family: var(--sign-font); font-weight: 800; font-size: 0.875rem; color: #FFFFFF; opacity: 0; transform: translateX(-4px); transition: opacity 200ms, transform 200ms; white-space: nowrap; }
  .milemarkers a:hover .mm-label, .milemarkers a:focus-visible .mm-label, .milemarkers a[aria-current] .mm-label { opacity: 1; transform: none; }
}

/* =====================================================================
   FOOTER, PREVIEW BAR, FIRM BLOCK (site-wide)
   ===================================================================== */
.site-footer { background: #070C19; color: #93A0B6; border-top: 1px solid rgba(255, 255, 255, 0.06); }
.footer-note strong { color: #FFFFFF; }
.footer-links a { color: #FFFFFF; }
.site-footer :focus-visible { outline-color: var(--yellow); }

.preview-bar {
  position: relative; z-index: 30;
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 0.5rem 1.5rem;
  padding: 0.6rem var(--gutter);
  background: linear-gradient(90deg, #F5C518, #FFB420);
  color: var(--ink); font-family: var(--sign-font); font-weight: 600; font-size: 0.975rem;
}
.preview-bar p { margin: 0; }
.preview-bar strong { font-weight: 900; }
.preview-actions { display: flex; gap: 1rem; align-items: center; }
.preview-actions a { color: var(--ink); font-weight: 800; }
.preview-actions button { font: 800 0.95rem var(--sign-font); background: var(--ink); color: #FFFFFF; border: 0; border-radius: 7px; padding: 0.45rem 0.8rem 0.4rem; cursor: pointer; }
.preview-actions button:focus-visible, .preview-actions a:focus-visible { outline: 3px solid var(--ink); outline-offset: 2px; }

.lawyer-firm .btn { margin-top: 0.75rem; }
.lawyer-firm .firm-cta-note { color: var(--asphalt); }

/* inner pages: a touch of light on the title band */
body:not(.page-home):not(.page-pitch) .page-head h1 {
  background: linear-gradient(180deg, #FFFFFF 35%, #C9D6EC 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}

/* =====================================================================
   FOR SALE: glass card, rotating light, LED board, sparkles
   ===================================================================== */
@property --spin { syntax: "<angle>"; inherits: false; initial-value: 0deg; }

.forsale {
  position: fixed; right: clamp(12px, 2vw, 28px); bottom: clamp(12px, 2vw, 28px);
  width: min(400px, calc(100vw - 24px)); z-index: 60;
  opacity: 0; transform: translateY(40px) scale(0.94); filter: blur(10px);
  transition: opacity 500ms ease-out, transform 800ms cubic-bezier(0.16, 1, 0.3, 1), filter 600ms ease-out;
}
.forsale.is-open { opacity: 1; transform: none; filter: none; }

.fs-card {
  position: relative; overflow: hidden; isolation: isolate;
  border-radius: 24px;
  background:
    radial-gradient(420px 220px at 50% 0%, rgba(255, 180, 32, 0.18), transparent 70%),
    linear-gradient(165deg, rgba(26, 36, 66, 0.94), rgba(8, 13, 27, 0.96));
  -webkit-backdrop-filter: blur(18px) saturate(140%); backdrop-filter: blur(18px) saturate(140%);
  box-shadow: 0 50px 100px -40px rgba(0, 0, 0, 0.9), 0 0 70px -20px rgba(255, 180, 32, 0.45);
  color: #FFFFFF;
}
/* light running around the edge */
.fs-card::before {
  content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1.5px; z-index: 3; pointer-events: none;
  background: conic-gradient(from var(--spin), rgba(255, 255, 255, 0.08) 0 55%, rgba(255, 180, 32, 0.95) 68%, #FFF4D6 72%, rgba(245, 197, 24, 0.95) 76%, rgba(255, 255, 255, 0.08) 88%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor;
  mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0);
}
/* a sheen sweeping across the glass */
.fs-card::after {
  content: ""; position: absolute; inset: -50% -80%; z-index: 2; pointer-events: none;
  background: linear-gradient(110deg, transparent 44%, rgba(255, 255, 255, 0.14) 50%, transparent 56%);
  transform: translateX(-60%);
}
@media (prefers-reduced-motion: no-preference) {
  .fs-card::before { animation: fs-spin 4.5s linear infinite; }
  .fs-card::after { animation: glint 7s ease-in-out infinite 1.5s; }
}
@keyframes fs-spin { to { --spin: 360deg; } }

.fs-sparks { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 1; pointer-events: none; }
.fs-close {
  position: absolute; top: 12px; right: 12px; z-index: 5;
  width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center;
  background: rgba(255, 255, 255, 0.08); color: #FFFFFF; border: 1px solid rgba(255, 255, 255, 0.16); cursor: pointer;
  transition: background 160ms;
}
.fs-close:hover { background: rgba(255, 255, 255, 0.18); }
.fs-close:focus-visible { outline: 3px solid var(--yellow); outline-offset: 2px; }

.fs-board {
  position: relative; z-index: 4;
  margin: 1.1rem 3.6rem 0 1.1rem;
  background: #04060B; border-radius: 9px; padding: 8px 10px;
  box-shadow: inset 0 0 0 1px #222B3D, 0 0 40px rgba(255, 180, 32, 0.35), 0 14px 30px -14px rgba(0, 0, 0, 0.9);
}
.fs-board canvas { display: block; width: 100%; height: auto; }
.fs-body { position: relative; z-index: 4; padding: 1.15rem 1.4rem 1.4rem; font-family: var(--sign-font); }
.fs-badge { display: inline-flex; align-items: center; gap: 0.5rem; margin: 0; font-weight: 800; font-size: 0.875rem; color: var(--amber); }
.fs-body h2 { margin: 0.5rem 0 0; font-size: 1.85rem; font-weight: 900; line-height: 1.05; letter-spacing: -0.015em; color: #FFFFFF; }
.fs-url { background: linear-gradient(90deg, #FFE27A, #F5C518 50%, #FFB420); -webkit-background-clip: text; background-clip: text; color: transparent; }
.fs-text { font-weight: 600; font-size: 1rem; line-height: 1.45; color: #B8C3D6; margin: 0.6rem 0 0; }
.fs-cta {
  display: block; margin-top: 1.1rem; text-align: center; text-decoration: none;
  font-weight: 900; font-size: 1.0625rem; color: var(--ink);
  padding: 0.9rem 1rem 0.8rem; border-radius: 11px;
  background: linear-gradient(180deg, #FFDB4D, #F5C518);
  box-shadow: 0 14px 34px -12px rgba(245, 197, 24, 0.8), inset 0 1px 0 rgba(255, 255, 255, 0.65);
  transition: transform 200ms, box-shadow 200ms;
}
.fs-cta:hover { transform: translateY(-2px); box-shadow: 0 20px 40px -12px rgba(245, 197, 24, 0.95), inset 0 1px 0 rgba(255, 255, 255, 0.7); }
.fs-mail { display: block; margin-top: 0.8rem; text-align: center; color: #DCE3EF; font-weight: 600; font-size: 0.95rem; }
.fs-body a:focus-visible { outline: 3px solid var(--yellow); outline-offset: 3px; }

.fs-lamp { width: 10px; height: 10px; border-radius: 50%; background: var(--amber); box-shadow: 0 0 12px 3px rgba(255, 180, 32, 0.8); flex: none; }
@media (prefers-reduced-motion: no-preference) {
  .fs-lamp { animation: fs-pulse 1.8s ease-in-out infinite; }
}
@keyframes fs-pulse { 50% { opacity: 0.35; box-shadow: 0 0 4px 1px rgba(255, 180, 32, 0.5); } }

.fs-pill {
  position: fixed; right: clamp(12px, 2vw, 28px); bottom: clamp(12px, 2vw, 28px); z-index: 59;
  display: inline-flex; align-items: center; gap: 0.65rem;
  font: 800 0.9375rem/1 var(--sign-font); color: #FFFFFF;
  padding: 0.85rem 1.1rem 0.8rem 0.95rem; border-radius: 999px; cursor: pointer;
  background: linear-gradient(165deg, rgba(26, 36, 66, 0.92), rgba(8, 13, 27, 0.95));
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 180, 32, 0.45);
  box-shadow: 0 18px 40px -16px rgba(0, 0, 0, 0.8), 0 0 30px -8px rgba(255, 180, 32, 0.55);
  transform: translateY(24px); opacity: 0;
  transition: transform 500ms cubic-bezier(0.16, 1, 0.3, 1), opacity 240ms, box-shadow 200ms;
}
.fs-pill.is-in { transform: none; opacity: 1; }
.fs-pill:hover { box-shadow: 0 18px 40px -16px rgba(0, 0, 0, 0.8), 0 0 40px -6px rgba(255, 180, 32, 0.8); }
.fs-pill:focus-visible { outline: 3px solid var(--yellow); outline-offset: 3px; }

/* =====================================================================
   FOR LAW FIRMS: the pitch
   ===================================================================== */
.page-pitch main { background: var(--night); color: var(--night-text); }
.page-pitch h1, .page-pitch h2, .page-pitch h3 { color: #FFFFFF; }
.page-pitch .chapter-lede { color: var(--night-dim); }
.page-pitch main a:not(.btn) { color: #FFFFFF; }

.pitch-hero {
  position: relative; overflow: hidden; isolation: isolate;
  padding: 8.5rem 0 clamp(4.5rem, 9vw, 8rem);
  background:
    radial-gradient(900px 520px at 78% 35%, rgba(255, 180, 32, 0.16), transparent 62%),
    radial-gradient(700px 520px at 5% 95%, rgba(14, 107, 76, 0.28), transparent 60%),
    linear-gradient(180deg, #060B1A, var(--night));
}
.pitch-sparks { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; pointer-events: none; }
.pitch-hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: clamp(2.5rem, 5vw, 4.5rem); align-items: center; }
.pitch-copy h1 {
  font-size: clamp(2.4rem, 4.3vw, 3.9rem); line-height: 1; letter-spacing: -0.03em; text-wrap: balance;
  background: linear-gradient(180deg, #FFFFFF 35%, #C9D6EC 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.pitch-copy .lede { color: #C3CDDD; font-size: 1.25rem; margin-top: 1.4rem; max-width: 32em; }

.firm-form { margin-top: 2.25rem; }
.firm-form label { display: block; font-family: var(--sign-font); font-weight: 800; font-size: 1.0625rem; color: #FFFFFF; margin-bottom: 0.6rem; }
.firm-row { display: flex; flex-wrap: wrap; gap: 0.65rem; }
.firm-row input {
  flex: 1 1 15rem; min-width: 0;
  font: 600 1.125rem/1.2 var(--sign-font); color: #FFFFFF;
  background: rgba(255, 255, 255, 0.06); border: 1.5px solid rgba(255, 255, 255, 0.2); border-radius: 10px;
  padding: 0.9rem 1rem 0.8rem;
}
.firm-row input::placeholder { color: #7D8AA2; }
.firm-row input:focus-visible { outline: 3px solid var(--yellow); outline-offset: 2px; border-color: transparent; }
.firm-help { font-size: 0.975rem; color: var(--night-dim); margin-top: 0.75rem; }
.firm-next { display: flex; flex-wrap: wrap; align-items: center; gap: 0.65rem; margin-top: 1.1rem; }
.copy-done { font-family: var(--sign-font); font-weight: 700; color: #2EE09A; font-size: 0.95rem; overflow-wrap: anywhere; }

/* the billboard */
.mock-stack { position: relative; padding-bottom: 30%; }
.billboard {
  position: relative; margin: 0; overflow: hidden; isolation: isolate;
  aspect-ratio: 16 / 10; border-radius: 20px; container-type: inline-size;
  background: linear-gradient(180deg, #050A18 0%, #0C1730 58%, #0A1020 100%);
  box-shadow: 0 50px 100px -50px rgba(0, 0, 0, 0.95), inset 0 0 0 1px rgba(255, 255, 255, 0.06);
}
.bb-sky {
  position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(1px 1px at 12% 18%, #fff, transparent), radial-gradient(1px 1px at 28% 8%, #cfe0ff, transparent),
    radial-gradient(1.5px 1.5px at 44% 22%, #fff, transparent), radial-gradient(1px 1px at 63% 12%, #fff, transparent),
    radial-gradient(1px 1px at 81% 20%, #cfe0ff, transparent), radial-gradient(1.5px 1.5px at 92% 6%, #fff, transparent),
    radial-gradient(1px 1px at 6% 40%, #fff, transparent), radial-gradient(1px 1px at 96% 38%, #fff, transparent),
    radial-gradient(60% 40% at 50% 82%, rgba(255, 150, 70, 0.28), transparent 70%);
}
.bb-face {
  position: absolute; left: 10%; right: 10%; top: 15%; height: 50%;
  display: flex; flex-direction: column; justify-content: center;
  padding: 3cqw 4.2cqw;
  background: linear-gradient(165deg, #142142 0%, #0B1224 100%);
  border: 0.9cqw solid #1D2944; border-radius: 1.2cqw;
  box-shadow: 0 2cqw 5cqw -1cqw rgba(0, 0, 0, 0.8);
  font-family: var(--sign-font);
}
.bb-face::after {
  /* the lamps wash the top of the face */
  content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none;
  background: radial-gradient(70% 60% at 50% 0%, rgba(255, 244, 214, 0.22), transparent 70%);
}
.bb-url { margin: 0; font-weight: 900; font-size: 9cqw; line-height: 0.95; letter-spacing: -0.03em; color: var(--yellow); text-shadow: 0 0 3cqw rgba(245, 197, 24, 0.35); }
.bb-url span { color: #FFFFFF; }
.bb-line { margin: 1.5cqw 0 0; font-weight: 700; font-size: 2.8cqw; color: #DCE5F3; }
.bb-firm {
  margin: 2cqw 0 0; padding-top: 1.6cqw; border-top: 0.35cqw solid rgba(245, 197, 24, 0.55);
  font-weight: 900; font-size: 4.2cqw; line-height: 1.05; color: #FFFFFF;
  overflow-wrap: anywhere; text-wrap: balance;
}
.bb-lamps { position: absolute; left: 10%; right: 10%; top: 9%; height: 6%; display: flex; justify-content: space-around; z-index: 2; }
.bb-lamps span { position: relative; width: 6%; height: 50%; background: #2A3550; border-radius: 0.4cqw 0.4cqw 0.2cqw 0.2cqw; box-shadow: 0 0.6cqw 1.6cqw rgba(255, 244, 214, 0.9); }
.bb-lamps span::after {
  content: ""; position: absolute; top: 100%; left: 50%; width: 520%; height: 900%; transform: translateX(-50%);
  background: linear-gradient(180deg, rgba(255, 244, 214, 0.32), rgba(255, 244, 214, 0));
  clip-path: polygon(42% 0, 58% 0, 100% 100%, 0 100%);
  pointer-events: none;
}
.bb-legs { position: absolute; left: 10%; right: 10%; top: 65%; height: 21%; display: flex; justify-content: space-around; }
.bb-legs span { width: 2.2%; background: linear-gradient(90deg, #1A2338, #2A3550); }
.bb-road { position: absolute; left: 0; right: 0; bottom: 0; height: 14%; background: linear-gradient(180deg, #121A2C, #070B15); overflow: hidden; }
.bb-road::before { content: ""; position: absolute; left: 0; right: 0; top: 48%; height: 0.35cqw; background: repeating-linear-gradient(90deg, rgba(245, 197, 24, 0.8) 0 4cqw, transparent 4cqw 7cqw); }
.bb-road i { position: absolute; top: 22%; width: 9cqw; height: 0.55cqw; border-radius: 1cqw; background: linear-gradient(90deg, transparent, rgba(255, 74, 61, 0.95)); box-shadow: 0 0 1.4cqw rgba(255, 74, 61, 0.9); }
.bb-road i:nth-child(even) { top: 66%; background: linear-gradient(270deg, transparent, rgba(234, 242, 255, 0.95)); box-shadow: 0 0 1.4cqw rgba(234, 242, 255, 0.9); }
@media (prefers-reduced-motion: no-preference) {
  .bb-road::before { animation: lane-flow 0.9s linear infinite; }
  .bb-road i { animation: streak-right 2.8s linear infinite; }
  .bb-road i:nth-child(even) { animation-name: streak-left; }
  .bb-road i:nth-child(2) { animation-delay: -0.7s; } .bb-road i:nth-child(3) { animation-delay: -1.4s; }
  .bb-road i:nth-child(4) { animation-delay: -2.1s; animation-duration: 2.2s; } .bb-road i:nth-child(5) { animation-delay: -1.1s; animation-duration: 3.4s; }
  .bb-road i:nth-child(6) { animation-delay: -0.3s; animation-duration: 2.5s; }
  .billboard.is-lit .bb-face, .billboard.is-lit .bb-lamps { animation: flicker-on 1100ms steps(1) both; }
}
@keyframes streak-right { from { left: -12%; } to { left: 108%; } }
@keyframes streak-left { from { left: 108%; } to { left: -12%; } }
@keyframes flicker-on { 0% { filter: brightness(0.25); } 12% { filter: brightness(1.2); } 20% { filter: brightness(0.35); } 34% { filter: brightness(1.15); } 42% { filter: brightness(0.6); } 56%, 100% { filter: brightness(1); } }

/* the phone */
.phone {
  position: absolute; right: -3%; top: 45%; width: 29%; margin: 0;
  aspect-ratio: 9 / 16; container-type: inline-size;
  border-radius: clamp(18px, 2.4vw, 32px); padding: clamp(6px, 0.8vw, 11px);
  background: linear-gradient(160deg, #2A3348, #121826);
  box-shadow: 0 40px 80px -30px rgba(0, 0, 0, 0.95), inset 0 0 0 1px rgba(255, 255, 255, 0.12), 0 0 60px -20px rgba(245, 197, 24, 0.35);
  transform: rotate(5deg);
}
.phone-screen {
  height: 100%; border-radius: clamp(13px, 1.8vw, 24px); overflow: hidden;
  padding: 8cqw 6cqw 6cqw;
  background: radial-gradient(120% 60% at 80% 0%, rgba(255, 180, 32, 0.18), transparent 60%), var(--night);
  font-family: var(--sign-font); display: flex; flex-direction: column;
}
.ph-head { display: flex; align-items: center; gap: 3cqw; flex-wrap: wrap; }
.ph-plate { background: var(--yellow); color: var(--ink); font-weight: 900; font-size: 5.4cqw; padding: 1.6cqw 2.4cqw 1.2cqw; border-radius: 2cqw; box-shadow: inset 0 0 0 0.8cqw var(--yellow), inset 0 0 0 1.5cqw var(--ink); }
.ph-from { color: #FFFFFF; font-weight: 800; font-size: 4.6cqw; overflow-wrap: anywhere; }
.ph-title { color: #FFFFFF; font-weight: 900; font-size: 8.4cqw; line-height: 1.02; margin: 6cqw 0 0; letter-spacing: -0.02em; }
.ph-sign { margin-top: 5cqw; background: var(--yellow); border-radius: 4cqw; padding: 1.6cqw; box-shadow: 0 6cqw 14cqw -6cqw rgba(245, 197, 24, 0.7); }
.ph-sign > div { border: 1.2cqw solid var(--ink); border-radius: 3cqw; padding: 4cqw; color: var(--ink); }
.ph-label { margin: 0; font-weight: 800; font-size: 4.4cqw; }
.ph-date { margin: 1.5cqw 0 0; font-weight: 900; font-size: 9.6cqw; line-height: 1; letter-spacing: -0.02em; }
.ph-sub { margin: 1.5cqw 0 0; font-weight: 600; font-size: 3.8cqw; }
.ph-cta { margin: auto 0 0; text-align: center; background: linear-gradient(180deg, #FFDB4D, #F5C518); color: var(--ink); font-weight: 900; font-size: 5.2cqw; padding: 4cqw; border-radius: 3.5cqw; overflow-wrap: anywhere; }

/* radio test */
.pitch-radio { background: #070C19; padding: clamp(3.5rem, 7vw, 6rem) 0; border-block: 1px solid rgba(255, 255, 255, 0.06); }
.radio-grid { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.wave { display: flex; align-items: center; gap: 5px; height: 120px; }
.wave i { flex: 1; height: 30%; border-radius: 4px; background: linear-gradient(180deg, #FFE27A, var(--amber)); box-shadow: 0 0 16px rgba(255, 180, 32, 0.45); }
@media (prefers-reduced-motion: no-preference) {
  .wave i { animation: wave 1.4s ease-in-out infinite; }
  .wave i:nth-child(3n) { animation-duration: 1.1s; } .wave i:nth-child(4n) { animation-duration: 1.7s; }
  .wave i:nth-child(5n+1) { animation-delay: -0.4s; } .wave i:nth-child(2n) { animation-delay: -0.8s; }
}
@keyframes wave { 0%, 100% { height: 18%; } 50% { height: 92%; } }
.radio-quote { margin: 0; font-family: var(--sign-font); font-weight: 900; font-size: clamp(2.6rem, 6vw, 5rem); line-height: 1; letter-spacing: -0.03em; color: #FFFFFF; }
.radio-sub { color: var(--night-dim); font-size: 1.1875rem; max-width: 30em; margin-top: 1rem; }

/* why + built + contact */
.pitch-why, .pitch-built { padding: clamp(3.5rem, 7vw, 6rem) 0; }
.why-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 clamp(2rem, 5vw, 4rem); margin-top: 2.5rem; }
.why-list > div { padding: 1.5rem 0 1.75rem; border-top: 1px solid rgba(255, 255, 255, 0.12); }
.why-list h3 { font-size: 1.5rem; margin: 0; }
.why-list p { color: var(--night-dim); margin-top: 0.6rem; }
.built-grid { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: clamp(2rem, 5vw, 4.5rem); align-items: start; }
.built-list { list-style: none; padding: 0; margin: 0; }
.built-list li { position: relative; padding: 1.1rem 0 1.2rem 2.2rem; border-top: 1px solid rgba(255, 255, 255, 0.12); color: var(--night-dim); }
.built-list li + li { margin-top: 0; }
.built-list li::before { content: ""; position: absolute; left: 0; top: 1.55rem; width: 12px; height: 12px; border-radius: 50%; background: var(--amber); box-shadow: 0 0 14px rgba(255, 180, 32, 0.9); }
.built-list strong { color: #FFFFFF; }
.pitch-contact {
  padding: clamp(4rem, 8vw, 7rem) 0 clamp(4.5rem, 9vw, 8rem);
  background: radial-gradient(800px 400px at 20% 100%, rgba(245, 197, 24, 0.12), transparent 65%), var(--night);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}
.contact-inner .btn { margin-top: 1.75rem; }
.pitch-fine { color: #7F8CA4; font-size: 0.95rem; max-width: 46em; margin-top: 2.25rem; }

/* =====================================================================
   RESPONSIVE
   ===================================================================== */
@media (max-width: 1100px) {
  .step-row { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 960px) {
  .pitch-hero-grid { grid-template-columns: minmax(0, 1fr); }
  .mock-stack { max-width: 640px; }
}
@media (max-width: 860px) {
  .hero-scene { align-items: flex-end; min-height: max(100svh, 900px); }
  .scene-shade { background: linear-gradient(0deg, var(--night) 0%, rgba(5, 9, 22, 0.88) 34%, rgba(5, 9, 22, 0.15) 64%, rgba(5, 9, 22, 0.35) 100%); }
  .hero-copy { padding-bottom: 2.5rem; }
  .fault-grid, .radio-grid, .built-grid, .why-list { grid-template-columns: minmax(0, 1fr); }
  .checker { grid-template-columns: minmax(0, 1fr); }
  .sign-col { position: static; }
  .road-stage { height: 620px; }
  .road { top: 0; bottom: 0; left: 24px; right: auto; width: 40px; height: auto; border: 0; border-left: 3px solid #E9ECF0; border-right: 3px solid #E9ECF0; }
  .lane { top: 0; bottom: 0; left: 50%; right: auto; width: 4px; height: auto; margin: 0 0 0 -2px; background: repeating-linear-gradient(180deg, var(--yellow) 0 22px, transparent 22px 38px); animation: none; }
  .stop, .stop.side-down { left: 64px; top: calc(var(--pos) * 100%); height: 0; width: auto; }
  .stop-post, .stop.side-down .stop-post { left: -20px; top: -2px; bottom: auto; width: 18px; height: 4px; }
  .stop-sign, .stop.side-down .stop-sign, .stop:last-child .stop-sign, .stop-start .stop-sign { top: calc((var(--lpos, var(--pos)) - var(--pos)) * 620px); bottom: auto; left: 0; transform: translateY(-50%); text-align: left; }
  .today { left: 44px; top: calc(var(--pos, 0) * 100%); transform: translate(-50%, -50%) rotate(90deg); transition: top 900ms cubic-bezier(0.22, 1, 0.36, 1); }
  .today span { display: none; }
  .wave { height: 80px; }
}
@media (max-width: 600px) {
  .step-row { grid-template-columns: minmax(0, 1fr); }
  .mock-stack { padding-bottom: 0; }
  .phone { position: relative; right: auto; bottom: auto; width: 62%; margin: -8% auto 0; transform: rotate(3deg); }
  .forsale { right: 8px; bottom: 8px; width: calc(100vw - 16px); }
  .fs-text { display: none; }
  .fs-body h2 { font-size: 1.55rem; }
  .preview-bar { font-size: 0.9rem; }
}
@media (max-width: 520px) {
  .exit-grid { grid-template-columns: minmax(0, 1fr); }
  .exit-sign { min-height: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .today, .fault-yours, .fault-recovered, .milemarkers a, .mm-label, .forsale, .fs-pill, .exit-sign, .exit-sign::after { transition: none; }
}
@media print { .forsale, .fs-pill, .scene-stage, .preview-bar { display: none !important; } }

/* =====================================================================
   INNER PAGES: the title on the night stage, full bleed
   ===================================================================== */
body:not(.page-home):not(.page-pitch) .page-head {
  border-image: radial-gradient(120% 140% at 75% 0%, #1A2747 0%, var(--night) 55%) fill 0 / / 0 100vmax;
  margin-top: -2px;
  color: var(--night-text);
  padding-bottom: clamp(2.5rem, 5vw, 3.75rem);
  margin-bottom: clamp(2rem, 4vw, 3rem);
}
body:not(.page-home):not(.page-pitch) .page-head .lede,
body:not(.page-home):not(.page-pitch) .page-head .checked { color: var(--night-dim); }
body:not(.page-home):not(.page-pitch) .page-head a { color: #FFFFFF; }
body:not(.page-home):not(.page-pitch) .page-head :focus-visible { outline-color: var(--yellow); }
.page-guide .guide-grid .short { margin-top: 0; }
.page-guide .aside-sign { margin-top: 0; }

/* fixes after the restructure */
.hero-actions .btn, .firm-next .btn, .firm-row .btn { margin-top: 0; }
.sign, .aside-sign .sign { position: relative; }
.sign-col { position: sticky; }
@media (max-width: 860px) { .sign-col { position: static; } }
