/* PREVIEW ONLY (preview-site.html) — homepage hero, top navigation and the four main cards,
   following the reference mock-up. Everything else on the page is the live site, unchanged. */

/* ── Top navigation: ParkSplain branding left, links centred, Check My Ticket right ── */
.sp-nav .site-nav-inner {
  max-width: 1640px; grid-template-columns: auto 1fr auto auto; column-gap: clamp(12px, 2vw, 32px);
  padding-top: 10px; padding-bottom: 10px;
}
.sp-brand { grid-column: 1; display: flex; flex-direction: column; align-items: center; line-height: 1; text-decoration: none; }
.sp-word { font-family: var(--font-body); font-weight: 900; font-size: clamp(17px, 1.53vw, 25px); letter-spacing: 0.01em; color: #fff; } /* 10% smaller than before (19-28px) */
/* a soft drop shadow so the wordmark lifts off the dark bar */
.sp-word { text-shadow: 0 2px 0 rgba(0, 0, 0, 0.55), 0 3px 10px rgba(0, 0, 0, 0.6), 0 0 14px rgba(243, 167, 18, 0.18); }
.sp-tag { text-shadow: 0 1px 4px rgba(0, 0, 0, 0.7); }
.sp-word span { color: var(--ps-yellow); }
.sp-tag {
  display: flex; align-items: center; gap: 5px; margin-top: 3px;
  font-family: 'Kalam', 'Segoe Print', cursive; font-weight: 400; font-size: clamp(10px, 0.77vw, 12.5px); color: #fff; white-space: nowrap;
}
.sp-tag::before, .sp-tag::after { content: ""; width: 11px; height: 1.5px; background: var(--ps-yellow); }
.sp-nav .site-nav-links { grid-column: 2; justify-self: center; gap: clamp(18px, 2.6vw, 48px); }
.sp-nav .site-nav-links a { font-family: var(--font-body); font-weight: 700; font-size: 13px; letter-spacing: 0.06em; color: #fff; }
.sp-nav .site-nav-links a:hover { color: var(--ps-yellow); }
.sp-nav .site-nav-checker {
  grid-column: 3; justify-self: end;
  font-family: var(--font-body); font-weight: 800; font-size: 13px; letter-spacing: 0.06em;
  background: var(--ps-yellow); color: var(--ps-ink); border: 0; border-radius: 5px; padding: 11px 18px;
}
.sp-nav .site-nav-checker:hover { background: #ffbe2e; color: var(--ps-ink); }
.sp-nav .site-nav-toggle { grid-column: 4; }
@media (max-width: 767px) {
  .sp-nav .site-nav-checker { padding: 9px 11px; font-size: 10.5px; letter-spacing: 0.04em; white-space: nowrap; }
  .sp-nav .site-nav-inner { column-gap: 10px; }
}

/* ── Section 1: the Roadshow, full screen; the cards section rises over it as you scroll ── */
.home-stage { position: relative; }
.home-hero {
  position: sticky; top: 0; z-index: 0;
  height: 100vh; height: 100svh;
  overflow: hidden; background: var(--ps-road-dark);
}
.home-hero .roadshow-container { position: absolute; inset: 0; height: auto; }
.home-hero-dim { position: absolute; inset: 0; z-index: 2; pointer-events: none; background: var(--ps-road-dark); opacity: var(--hero-dim, 0); }
.home-hero .roadshow-exit { display: none; top: 76px; }
.home-hero.is-driving .roadshow-exit { display: block; }

/* ── Section 2: the four main navigation cards (supplied artwork, shown whole) ── */
.home-routes {
  position: relative; z-index: 1;
  background: var(--ps-road-dark);
  padding: clamp(36px, 5vw, 72px) var(--page-gutter) clamp(44px, 6vw, 88px);
  border-radius: clamp(16px, 2vw, 28px) clamp(16px, 2vw, 28px) 0 0;
  box-shadow: 0 -18px 50px rgba(0, 0, 0, 0.35);
}
.home-routes-inner { max-width: 1640px; margin: 0 auto; }
.home-routes-grid { display: grid; grid-template-columns: 1fr; gap: 14px; max-width: 560px; margin: 0 auto; }
@media (min-width: 640px)  { .home-routes-grid { grid-template-columns: repeat(2, 1fr); gap: 18px; max-width: 1000px; } }
@media (min-width: 1100px) { .home-routes-grid { grid-template-columns: repeat(4, 1fr); gap: clamp(14px, 1.3vw, 24px); max-width: none; } }
.home-routes .junction-panel { aspect-ratio: 706 / 452; border-radius: 3.5% / 5.5%; }
.home-routes .junction-panel img { object-fit: contain; object-position: center top; }

/* Chosen layout (option B): the four cards two by two, filling the section width, all the same
   size; the section grows to fit them. One card per row on phones. */
.home-routes-grid { grid-template-columns: repeat(2, 1fr) !important; gap: clamp(16px, 2vw, 32px) !important; max-width: 1640px !important; }
.home-routes { padding-top: clamp(40px, 5vw, 80px); padding-bottom: clamp(48px, 6vw, 96px); }
@media (max-width: 639px) { .home-routes-grid { grid-template-columns: 1fr !important; max-width: 560px !important; } }
/* ── Council learning cards: black-and-white treatment with the question banner restored ──
   (preview only; the grey artwork copies live in assets/scenes/preview-bw/) */
:is(#path-council, #path-private) .scene-stage--signage { background: #c8c8c8; }
:is(#path-council, #path-private) .scene-stage--letters { background: #a9a9ab; }
:is(#path-council, #path-private) .scene-stage--forms   { background: #b4b5b4; }
:is(#path-council, #path-private) .scene-stage--video   { background: linear-gradient(to bottom, #8d9091 0 50%, #7c7f80 50% 100%) !important; }
/* the card shading stays, but its light is neutral rather than warm */
:is(#path-council, #path-private) .scene-stage::after {
  background-image: url(../assets/scenes/texture/grain.png),
    radial-gradient(46% 34% at var(--bx) 3%, rgba(255, 255, 255, 0.34), rgba(255, 255, 255, 0) 72%),
    radial-gradient(62% 58% at 102% -4%, rgba(10, 10, 12, 0.72), rgba(10, 10, 12, 0) 70%),
    radial-gradient(38% 38% at -2% -2%, rgba(10, 10, 12, 0.55), rgba(10, 10, 12, 0) 70%),
    radial-gradient(28% 20% at var(--mx) 20%, rgba(10, 10, 12, 0.26), rgba(10, 10, 12, 0) 76%),
    radial-gradient(22% 16% at calc(var(--mx) - 40%) 30%, rgba(255, 255, 255, 0.14), rgba(255, 255, 255, 0) 76%),
    linear-gradient(to bottom, rgba(10, 10, 12, 0.44) 0%, rgba(10, 10, 12, 0.17) 20%, rgba(10, 10, 12, 0) 48%),
    radial-gradient(135% 100% at 50% 42%, rgba(0, 0, 0, 0) 58%, rgba(10, 10, 12, 0.30) 100%),
    linear-gradient(to bottom, rgba(0, 0, 0, 0) 78%, rgba(10, 10, 12, 0.10) 100%) !important;
}
/* the banner across the foot of each card: the question on the left, a round arrow button on the
   right, both kept clear of the slanted edges. Clicking it opens the card's yellow shutter. */
:is(#path-council, #path-private) .cc-banner {
  position: absolute; left: 0; right: 0; bottom: 0; height: 27%; z-index: 3;
  display: flex; align-items: center; justify-content: space-between; gap: 4%;
  padding: 0 calc(var(--slant) + 4%) 0 8%;
  background: rgba(241, 241, 239, 0.97); color: #15181c;
  box-shadow: 0 -1px 0 rgba(0, 0, 0, 0.08);
  cursor: pointer;
}
:is(#path-council, #path-private) .cc-banner-text {
  font-family: var(--font-body); font-weight: 600; font-size: max(12.5px, 5.6cqw); line-height: 1.18; text-align: left;  /* was max(11px, 4.9cqw) */
}
:is(#path-council, #path-private) .cc-banner-go {
  flex: none; width: max(30px, 12cqw); aspect-ratio: 1; border: 0; border-radius: 50%; padding: 0;
  display: grid; place-items: center; background: #1c2430; color: #f3a712; cursor: pointer;   /* arrow in the Roadshow yellow-orange (was white) */
  transition: transform 0.2s ease, background-color 0.2s ease;
}
:is(#path-council, #path-private) .cc-banner-go svg { width: 52%; height: auto; }
:is(#path-council, #path-private) .scene-window:hover .cc-banner-go, :is(#path-council, #path-private) .cc-banner-go:focus-visible { transform: translateX(3px); background: #10161f; }
:is(#path-council, #path-private) .cc-banner-go:focus-visible { outline: 3px solid var(--ps-yellow); outline-offset: 2px; }
/* the yellow shutter still slides up over everything, banner included */
:is(#path-council, #path-private) .scene-info { z-index: 4; }
/* the LETTERS & NOTICES label plate carries a rim of the old purple wall: grey it too */
:is(#path-council, #path-private) .ln-plate { filter: grayscale(1); }

/* Taller learning cards so the scenes show above the banner: the stickman's legs and shoes, the
   car's front wheels and the camera pole's base. The scenes are placed from the top in width
   units, so the extra height simply reveals more of each picture. (Height 116% of the width, was 85%;
   the banner is a fixed 19% of the width.) */
:is(#path-council, #path-private) .scene-window { aspect-ratio: 1 / 1.16; }
:is(#path-council, #path-private) .cc-banner { height: 19cqw; }/* keep the pavement at its own proportions (so the camera pole meets its base) and continue its
   darkest tone below it */
:is(#path-council, #path-private) .scene-paving { top: 72.44cqw; height: 31.92cqw; object-fit: fill; }
:is(#path-council, #path-private) .scene-stage--video { background: linear-gradient(to bottom, #8d9091 0 50%, #444547 50% 100%) !important; }

/* ── Forms & Processes flowchart: each box shows its form name while its amber light is on. The
   label lives inside the light itself, so it appears, dims and fades exactly with it
   (TE3 → TE5 → TE7 → TE9, following the arrows). Sized in card-width units so it scales with the card. ── */
.fp-box { display: grid; place-items: center; }
.fp-box::after {
  font-family: var(--font-body); font-weight: 900; font-size: 3.4cqw; line-height: 1;
  letter-spacing: 0.02em; color: #14120f; white-space: nowrap;
}
/* ── Private view: the heading reads "You're in the Private world." with the barrier icon from the switch,
   and the Private cards' flowchart lights and arrows are a bright blue (the Private colour, brightened
   so it shows on the grey artwork and the dark buttons). The Council view is unchanged. ── */
.council-intro-title b { font-weight: inherit; }
.ci-private, .council-intro-icon--private { display: none; }
.understand:has(#path-private.active) .ci-council,
.understand:has(#path-private.active) .council-intro-icon--council { display: none; }
.understand:has(#path-private.active) .ci-private { display: inline; }
.ci-private span { color: #4aa8ff !important; }                         /* "Private" in blue in the Private world */
.understand:has(#path-private.active) .council-intro-icon--private { display: block; width: clamp(64px, 5.4vw, 86px); }
#path-private .fp-box { background: rgba(64, 158, 255, 0.62); box-shadow: 0 0 2.2cqw 0.9cqw rgba(64, 158, 255, 0.6); }
#path-private .fp-dot { background: #7cc6ff; box-shadow: 0 0 1.6cqw 0.6cqw rgba(80, 172, 255, 0.85); }
#path-private .cc-banner-go { color: #5cbcff; }
/* Private ANPR: the scene sits where the Cameras animation does; the barrier arm is drawn over it and
   lifts on its pivot (left end) in a slow loop, pausing up and down, once the card is on screen. The scene
   isn't clipped, so the raised arm can rise above the picture into the card's sky. */
.anpr-scene { clip-path: none !important; }
.anpr-video { display: block; width: 100%; height: auto; clip-path: inset(1.6% 0 0 0); }
.anpr-post { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; }
/* the arm: 340 of the scene's 800 units long, pivot (at 14/400 of the arm image) over the post's top */
.anpr-arm {
  position: absolute; left: 27.625%; top: 70.77%; width: 42.5%; height: auto; max-width: none;
  transform-origin: 3.5% 50%; will-change: transform;
}

/* the Private tablet shows the second launch video's title card: frame "I used to feel / RAGE", with the
   play button moved left so it doesn't sit on the word */
#path-private .hub-screen { object-position: 50% 11%; }
#path-private .hub-play-badge { left: 10%; top: 54%; width: 13%; }

/* TE3–TE9 are council (Traffic Enforcement Centre) forms, so the labels show on the Council card only */
#path-council .fp-b1::after { content: "TE3"; }
#path-council .fp-b2::after { content: "TE5"; }
#path-council .fp-b3::after { content: "TE7"; }
#path-council .fp-b4::after { content: "TE9"; }
/* private parking claims go through the County Court forms: N1 (claim) → N9 (response pack) → N9B (defence)
   → N180 (directions questionnaire); same labels-in-the-light, a touch smaller for the four-character N180 */
#path-private .fp-box::after { font-size: 3cqw; letter-spacing: 0; }
#path-private .fp-b1::after { content: "N1"; }
#path-private .fp-b2::after { content: "N9"; }
#path-private .fp-b3::after { content: "N9B"; }
#path-private .fp-b4::after { content: "N180"; }

/* ── Council learning cards: larger, with more room between them, and space reserved beneath the
   row for a promotional banner. The heading, explanation, switch and their spacing are untouched
   (they are centred, so the wider section does not move them). Cards stay parallelograms that
   overlap by their 14% slant, so the gap is measured between neighbouring slanted edges:
     four across: card width = (row - 3 × gap) / 3.58, each overlapping the previous one by
                  14% of a card less the gap → margin-left = 1.1173 × gap − 3.911%
     two across:  card width = (row − gap) / 1.86 → width = 53.763% − 0.5376 × gap,
                  margin-left = 1.0753 × gap − 7.527%
   Everything inside a card is sized in its own width units, so illustrations and labels simply
   scale with it. ── */
.understand-inner { max-width: 1640px; }                                   /* was 1440px, as the cards above */
:is(#path-council, #path-private) .scene-grid { max-width: 520px; row-gap: 20px; }            /* phones: one per row (was 468px, 12px apart) */
@media (min-width: 600px) {                                               /* two per row, 24px apart (was 14px) */
  :is(#path-council, #path-private) .scene-grid { max-width: none; row-gap: 24px; }
  :is(#path-council, #path-private) .scene-window { width: calc(53.763% - 12.903px); }
  :is(#path-council, #path-private) .scene-window:nth-child(even) { margin-left: calc(25.81px - 7.527%); }
}
@media (min-width: 1000px) {                                              /* four in a row, 28px apart (was 14px) */
  :is(#path-council, #path-private) .scene-grid { max-width: none; }
  /* equal starting widths: with a zero start, the Cameras card's 2px border was added on top of its share */
  :is(#path-council, #path-private) .scene-window { width: auto; min-width: 0; flex: 1 1 25%; }
  :is(#path-council, #path-private) .scene-window:nth-child(even) { margin-left: 0; }
  :is(#path-council, #path-private) .scene-window + .scene-window { margin-left: calc(31.28px - 3.911%); }
}
/* room beneath the cards (Council and Private alike, so the switch doesn't make the page jump),
   added to the section's own 80px, ready for the promotional banner */
.understand .pathway { padding-bottom: 40px; }
@media (min-width: 768px) { .understand .pathway { padding-bottom: 80px; } }
:is(#path-council, #path-private) { padding-bottom: 0 !important; }                          /* the banner now fills that space */

/* ── Resource strip under the Council cards (layout and height from "banner ).png"): one low, joined
   strip shaped like a cinema ticket stub. Its four sections are divided by dashed perforations with
   a round notch bitten out of the strip's edge at each one, and each section is centred under the
   card above it. A card's straight part is 86% of its width; with the cards' gap g, a section is
   that straight part plus g, and the strip starts half a gap before the first card's straight part:
     four across: card W = (row - 3 × 28px) / 3.58 → section = 0.86W + 28px, strip inset 0.07W - 14px
     two across:  card W = (row - 24px) / 1.86     → section = 0.86W + 24px, strip inset 0.07W - 12px
   Contents are sized in each section's own width units, so the strip keeps its proportions. ── */
.cc-hub {
  --hub-line: rgba(214, 205, 192, 0.45); --hub-perf: 2px dashed rgba(214, 205, 192, 0.32);
  display: grid; grid-template-columns: 1fr;
  max-width: 520px; margin: 16px auto 0;                                  /* close under the cards (was 28px) */
  border: 1.5px solid var(--hub-line); border-radius: 10px;
  background: #0f1517; box-shadow: 0 10px 26px rgba(0, 0, 0, 0.35);
}
@media (min-width: 600px) {
  .cc-hub {
    grid-template-columns: repeat(2, 1fr); max-width: none;
    margin: 18px calc((100% - 24px) / 1.86 * 0.07 - 12px) 0;               /* was 34px */
  }
}
/* Desktop: The Dispatch gets the widest section and Tools & Checkers (the lightest) the narrowest.
   --k is each section's width relative to an even quarter; sizes inside are divided by it, so the text
   and icons stay the same size in every section and only the room around them changes. */
@media (min-width: 1000px) {
  .cc-hub {
    grid-template-columns: 1fr 1.32fr 0.94fr 0.74fr;
    margin: 20px calc((100% - 84px) / 3.58 * 0.07 - 14px) 0;               /* was 40px */
  }
  .cc-hub .hub-panel--dispatch { --k: 1.32; }
  .cc-hub .hub-panel--intel { --k: 0.94; }
  .cc-hub .hub-panel--tools { --k: 0.74; }
}

.hub-panel {
  --k: 1;
  position: relative; container-type: inline-size; min-width: 0;
  display: flex; flex-direction: column;
  padding: 11px 18px 10px; color: #fff; font-family: var(--font-body);   /* tighter top and foot (was 12px … 13px) */
}
/* Everything in the strip is about a fifth larger than before (sizes noted as "was …") */
.hub-title {
  display: flex; align-items: center; gap: 8px; margin: 0 0 6px;
  font-family: 'Roboto', var(--font-body); font-style: italic; font-weight: 900;
  font-size: max(15px, calc(6cqw / var(--k))); line-height: 1.05; letter-spacing: 0.01em; text-transform: uppercase; color: #fff;   /* was max(13px, calc(5.1cqw / var(--k))) */
}
.hub-tag {
  font-family: var(--font-body); font-style: normal; font-size: 10px; font-weight: 800; letter-spacing: 0.08em;
  padding: 2px 7px; border-radius: 999px; color: #14120f; background: rgba(243, 167, 18, 0.85);
}
.hub-body { flex: 1; display: grid; align-items: center; gap: 5%; }
.hub-text { margin: 0; font-size: max(13.5px, calc(4.6cqw / var(--k))); line-height: 1.3; color: #e4e0d8; }   /* was max(11.5px, calc(3.9cqw / var(--k))) */
.hub-art { display: block; width: 100%; height: auto; max-width: none; }

/* Watch & Learn: the video on the left, the words and the link on the right */
.hub-side { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
/* Dispatch: heading, words, email and Subscribe down the left; on the right, the "Breaking News" article
   coming out of the envelope, as tall as the whole section (top to bottom). The artwork never sets the
   strip's height; it fills whatever height the strip already has. */
.hub-panel--dispatch {
  display: grid; grid-template-columns: minmax(0, 1fr) 47%; grid-template-rows: auto 1fr;   /* newsletter column, between 44% and the too-dominant 50% */
  grid-template-areas: "title art" "body art"; column-gap: 5%;
}
.hub-panel--dispatch .hub-title { grid-area: title; }
.hub-panel--dispatch .hub-body { display: contents; }
.hub-panel--dispatch .hub-side { grid-area: body; justify-content: center; gap: 9px; }
/* the newsletter, a step smaller and inside the section's padding so it doesn't dominate */
.hub-art-box { grid-area: art; position: relative; min-height: 0; margin: -2px -6px -3px 0; }
.hub-art-box .hub-art { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; object-position: center; }
/* Intelligence: the cards fill the room between the heading and the button, so the three sit together */
.hub-panel--intel .hub-body { display: flex; flex-direction: column; align-items: center; gap: 8px; }
.hub-panel--intel .hub-art { flex: 1 1 0; min-height: calc(36cqw / var(--k)); width: 100%; height: auto; object-fit: contain; }   /* the minimum matters on phones, where sections stack */

.hub-link {
  align-self: flex-start; display: inline;   /* the arrow flows with the words if they wrap */
  font-family: 'Roboto', var(--font-body); font-style: italic; font-weight: 900; text-transform: uppercase;
  font-size: max(11px, calc(3.6cqw / var(--k))); letter-spacing: 0.02em; color: #f3a712; text-decoration: none;
}
.hub-link .nw { white-space: nowrap; }                                   /* the arrow stays with the last word */
.hub-link [aria-hidden] { display: inline-block; font-style: normal; font-size: 1.2em; line-height: 1; transition: transform 0.2s; }
.hub-link:hover [aria-hidden] { transform: translateX(3px); }
.hub-btn {
  display: flex; align-items: center; justify-content: center; gap: 0.45em; width: 100%;
  padding: 0.55em 0.5em; border: 0; border-radius: 4px; cursor: pointer;
  background: #f3a712; color: #14120f; box-shadow: 0 2px 0 rgba(0, 0, 0, 0.35);
  font-family: var(--font-body); font-weight: 900; font-size: max(12.5px, calc(4.3cqw / var(--k))); letter-spacing: 0.05em;   /* was max(11px, calc(3.7cqw / var(--k))) */
  text-transform: uppercase; text-align: center; line-height: 1.1; white-space: nowrap;
}
.hub-btn:hover { background: #ffbe2e; }
/* the strip's buttons (both Subscribes and View Intelligence Cards) use the light grey of the learning
   cards' caption panels, with their dark text */
.cc-hub .hub-btn { background: #f1f1ef; color: #15181c; }
.cc-hub .hub-btn:hover { background: #dedcd7; }
.hub-btn:focus-visible, .hub-link:focus-visible { outline: 3px solid #fff; outline-offset: 2px; }
.hub-btn[aria-disabled="true"] { cursor: default; }
.cc-hub .hub-btn[aria-disabled="true"]:hover { background: #f1f1ef; }
.hub-sub { display: grid; gap: 6px; }
.hub-sub input {
  width: 100%; min-width: 0; padding: 0.45em 0.6em; border-radius: 4px;
  border: 1.5px solid rgba(214, 205, 192, 0.5); background: #151b1d; color: #fff;
  font-family: var(--font-body); font-size: max(13px, calc(4.3cqw / var(--k)));          /* was max(11.5px, calc(3.7cqw / var(--k))) */
}
.hub-sub input::placeholder { color: #9b968d; }
.hub-sub input:focus-visible { outline: 3px solid #f3a712; outline-offset: 1px; }

/* Tools & Checkers: icon, name over a one-line description, and a "Soon" tag (none is live yet) */
.hub-panel--tools .hub-text { margin-bottom: 4px; }
.hub-tools { list-style: none; flex: 1; margin: 0; padding: 0; display: grid; align-content: space-evenly; gap: 2px; }
.hub-tools li { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 8px; }
.hub-tool-icon { width: max(20px, calc(7.6cqw / var(--k))); height: auto; fill: none; stroke: #fff; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.hub-tool-name { font-weight: 800; font-size: max(12.5px, calc(4.4cqw / var(--k))); letter-spacing: 0.03em; text-transform: uppercase; line-height: 1.15; }   /* was max(11px, calc(3.7cqw / var(--k))) */
.hub-tool-name small { display: block; margin-top: 1px; font-weight: 400; font-size: max(12px, calc(4cqw / var(--k))); letter-spacing: 0; text-transform: none; color: #d6d1c8; }
.hub-tool-go { width: max(16px, calc(6cqw / var(--k))); height: auto; fill: none; stroke: #f3a712; stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; }
.hub-tool-soon {
  font-size: 9.5px; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase;
  padding: 2px 6px; border-radius: 999px; color: #14120f; background: rgba(243, 167, 18, 0.85);
}

/* Watch & Learn: the heading on an orange banner; the sentence beneath; then the launch video on a
   tablet (black bezel with a camera dot, the video's opening frame on the screen, a play button and a
   video player's control bar) with the TikTok / YouTube / Instagram buttons beside it, so it reads at a
   glance as a video you can play. The whole tablet is the play button. */
.hub-title--banner {                                                     /* as long as the words, light-grey lettering */
  align-self: flex-start; padding: 4px 11px 3px; border-radius: 4px;
  background: #f3a712; color: #f1f1ef; text-shadow: 0 1px 2px rgba(0, 0, 0, 0.45);
  box-shadow: 0 2px 0 rgba(0, 0, 0, 0.35);
}
.hub-panel--watch .hub-body {
  grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "text text" "tv social";
  row-gap: 6px; column-gap: 10px; align-items: center;
}
.hub-panel--watch .hub-text { line-height: 1.22; }
.hub-panel--watch .hub-text { grid-area: text; }
.hub-social { grid-area: social; display: block; width: max(24px, calc(10cqw / var(--k))); height: auto; }

.hub-play { grid-area: tv; display: block; width: 100%; padding: 0; border: 0; background: none; cursor: pointer; }
.hub-tv {
  position: relative; padding: 6px 7px; border-radius: 12px;
  background: linear-gradient(160deg, #23272b 0%, #0b0d0f 45%, #050607 100%);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.14), 0 0 0 1.5px #000, 0 6px 14px rgba(0, 0, 0, 0.55);
}
.hub-tv::before {                                                         /* the camera dot in the top bezel */
  content: ""; position: absolute; top: 2.5px; left: 50%; width: 3px; height: 3px; margin-left: -1.5px;
  border-radius: 50%; background: #3a4046;
}
.hub-tv-screen { position: relative; display: block; aspect-ratio: 16 / 9; overflow: hidden; border-radius: 4px; background: #000; }
.hub-screen { display: block; width: 100%; height: 100%; object-fit: cover; object-position: 50% 66%; transition: transform 0.3s ease; }
.hub-play:hover .hub-screen { transform: scale(1.04); }
.hub-play-badge {                                                         /* below the words, above the control bar */
  position: absolute; left: 50%; top: 61%; width: 14%; aspect-ratio: 1; transform: translate(-50%, -50%);
  display: grid; place-items: center; border-radius: 50%;
  background: #f3a712; box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.35), 0 4px 12px rgba(0, 0, 0, 0.5);
  transition: transform 0.2s ease, background-color 0.2s ease;
}
.hub-play-badge svg { width: 52%; height: auto; margin-left: 8%; fill: #14120f; }
.hub-play:hover .hub-play-badge { transform: translate(-50%, -50%) scale(1.12); background: #ffbe2e; }
.hub-play:focus-visible { outline: 3px solid #f3a712; outline-offset: 3px; border-radius: 12px; }
/* the player's control bar: play, progress, time, volume, full screen */
.hub-tv-bar {
  position: absolute; left: 0; right: 0; bottom: 0; display: flex; align-items: center; gap: 5%;
  padding: 7% 5% 3%; color: #fff;
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0), rgba(0, 0, 0, 0.85));
  font-family: var(--font-body); font-weight: 700; font-size: max(8px, calc(2.9cqw / var(--k))); line-height: 1;
}
.hub-tv-ico { flex: none; width: 1.25em; height: 1.25em; fill: currentColor; }
.hub-tv-progress { position: relative; flex: 1; height: 3px; border-radius: 2px; background: rgba(255, 255, 255, 0.4); }
.hub-tv-progress span { position: absolute; left: 0; top: 0; bottom: 0; width: 14%; border-radius: 2px; background: #f3a712; }
.hub-tv-progress span::after { content: ""; position: absolute; right: -4px; top: 50%; width: 8px; height: 8px; margin-top: -4px; border-radius: 50%; background: #f3a712; }
.hub-tv-time { flex: none; white-space: nowrap; }

/* the full-screen player: covers the page (and goes truly full screen where the browser allows) */
.vid-modal {
  position: fixed; inset: 0; z-index: 1000;
  display: grid; place-items: center;
  background: rgba(0, 0, 0, 0.94);
}
.vid-modal[hidden] { display: none; }
.vid-player { width: 100%; height: 100%; max-height: 100dvh; object-fit: contain; background: #000; }
.vid-close {
  position: absolute; top: max(14px, env(safe-area-inset-top)); right: 14px; z-index: 1;
  display: grid; place-items: center; width: 46px; height: 46px; padding: 0; border: 0; border-radius: 50%;
  background: rgba(20, 18, 15, 0.85); color: #fff; cursor: pointer; box-shadow: 0 0 0 2px rgba(243, 167, 18, 0.9);
}
.vid-close svg { width: 22px; height: 22px; }
.vid-close:hover { background: #f3a712; color: #14120f; }
.vid-close:focus-visible { outline: 3px solid #fff; outline-offset: 3px; }
html.vid-open { overflow: hidden; }
.vid-msg {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); max-width: 90%;
  margin: 0; padding: 14px 18px; border-radius: 8px; background: rgba(20, 18, 15, 0.92);
  color: #fff; font-family: var(--font-body); font-size: 16px; text-align: center;
}
.vid-msg[hidden] { display: none; }
.vid-msg a { color: #f3a712; font-weight: 700; }
/* large play button, shown only if the browser would not start the video (with sound) on its own */
.vid-bigplay {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); z-index: 1;
  display: grid; place-items: center; width: 96px; height: 96px; padding: 0; border: 0; border-radius: 50%;
  background: #f3a712; color: #14120f; cursor: pointer; box-shadow: 0 6px 24px rgba(0, 0, 0, 0.6);
}
.vid-bigplay svg { width: 44px; height: 44px; margin-left: 6px; fill: currentColor; }
.vid-bigplay:hover { background: #ffbe3b; }
.vid-bigplay:focus-visible { outline: 3px solid #fff; outline-offset: 4px; }
.vid-bigplay[hidden] { display: none; }

/* Dividers: one continuous outer border (on the strip) and fine, inset lines between the sections, so
   the strip reads as a single slim banner rather than four boxes. (The ticket perforations and notches
   are gone.) Each line is drawn by the section that follows it. */
.hub-panel + .hub-panel::before {
  content: ""; position: absolute; pointer-events: none; background: rgba(214, 205, 192, 0.2);
}
/* phones: one section per row, lines across */
@media (max-width: 599px) {
  .hub-panel + .hub-panel::before { top: 0; left: 16px; right: 16px; height: 1px; }
}
/* tablets: two by two: a line down the middle of each row, and one across between the rows */
@media (min-width: 600px) and (max-width: 999px) {
  .hub-panel:nth-child(even)::before { top: 14px; bottom: 14px; left: 0; width: 1px; }
  .hub-panel:nth-child(3)::before { top: 0; left: 16px; right: 16px; height: 1px; }
  .hub-panel:nth-child(3)::after, .hub-panel:nth-child(4)::after {
    content: ""; position: absolute; top: 0; height: 1px; background: rgba(214, 205, 192, 0.2); pointer-events: none;
  }
  .hub-panel:nth-child(4)::after { left: 16px; right: 16px; }
  .hub-panel:nth-child(3)::after { display: none; }
}
/* desktop: one row of four, upright lines that stop short of the border */
@media (min-width: 1000px) {
  .hub-panel + .hub-panel::before { top: 14px; bottom: 14px; left: 0; width: 1px; }
}

/* navigation labels stay on one line; a little tighter on mid-size screens */
.sp-nav .site-nav-links a, .sp-nav .site-nav-checker { white-space: nowrap; }
@media (min-width: 768px) and (max-width: 1099px) {
  .sp-nav .site-nav-links { gap: 14px; }
  .sp-nav .site-nav-links a { font-size: 11px; letter-spacing: 0.03em; }
  .sp-nav .site-nav-checker { font-size: 11px; padding: 9px 12px; }
}
/* TEMPORARY TEST: matched cards (all four drawn at the same scale on a 990 x 530 canvas) */
.home-routes .junction-panel { aspect-ratio: 990 / 550; }
/* Both rows of cards fit on one screen below the fixed nav: the grid is capped by the screen
   height (cards are 990 x 550, i.e. 1.8 wide per unit of height; 267px covers the nav, the
   section's top padding, the heading and a little breathing room). */
@media (min-width: 640px) {
  .home-routes-grid { max-width: min(1640px, calc(1.8 * (100vh - 267px) + 32px)) !important; }
  .home-routes-grid { max-width: min(1640px, calc(1.8 * (100svh - 267px) + 32px)) !important; }
}
/* the cards panel is slightly see-through over the Roadshow (was solid) */
.home-routes { background: rgba(5, 7, 10, 0.85); }

/* ── Introduction above the cards: always visible, left-aligned to the cards' left edge (same width
   as the card grid), with generous room above it and a shorter gap down to the cards. Line length is
   capped so the paragraphs stay easy to read. ── */
/* top room: the earlier clamp(64px, 7.5vw, 128px) less one and a half lines of intro text */
.home-routes { padding-top: max(28px, calc(clamp(64px, 7.5vw, 128px) - 1.5 * 1.6 * clamp(17px, 1.25vw, 20px))); }
/* ── About ParkSplain: the supplied artwork, centred at the card grid's width, never stretched or
   cropped (width follows the container, height follows the picture's own proportions). ── */
.routes-about {
  /* gap below: the same as the earlier text introduction */
  max-width: 1640px; margin: 0 auto calc(clamp(26px, 3vw, 48px) + 2 * 1.6 * clamp(17px, 1.25vw, 20px));
}
@media (min-width: 640px) {
  .routes-about { max-width: min(1640px, calc(1.8 * (100vh - 267px) + 32px)); }
  .routes-about { max-width: min(1640px, calc(1.8 * (100svh - 267px) + 32px)); }
}
/* never narrower than ~900px on wide screens, so the artwork's text stays readable on short laptops */
@media (min-width: 960px) {
  .routes-about { max-width: min(1640px, max(900px, calc(1.8 * (100svh - 267px) + 32px))); }
}
.routes-about-img { display: block; width: 100%; height: auto; }
/* phones: the portrait text panel follows the illustration; wider screens show only the wide artwork */
.routes-about-mobile-text { display: none; }
@media (max-width: 639px) {
  .routes-about-mobile-text { display: block; }
  /* edge to edge (the artwork carries its own margins), so the text is as large as the screen allows */
  .routes-about { width: 100vw; max-width: none; margin-left: calc(50% - 50vw); margin-right: calc(50% - 50vw); }
}

/* ── Navigation card shutters: the same yellow layer as the learning cards, sliding up over the whole
   card when it is pressed. The card's own artwork is untouched; a clear button covers it to open the
   shutter, and the shutter carries the card's explanation (to follow) and the way onward. ── */
.home-routes .junction-panel { overflow: hidden; }
.junction-toggle {
  position: absolute; inset: 0; z-index: 1; width: 100%; height: 100%;
  margin: 0; padding: 0; border: 0; background: transparent; cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}
.junction-toggle:focus-visible { outline: none; }
.home-routes .junction-panel:has(.junction-toggle:focus-visible) { outline: 3px solid var(--ps-yellow); outline-offset: 3px; }
.junction-shutter {
  position: absolute; inset: 0; z-index: 2;
  display: flex; flex-direction: column; gap: 3cqw;
  padding: 5.5cqw 6cqw;
  background: var(--ps-yellow); color: var(--ps-ink); /* solid, so the explanation reads cleanly over the artwork */
  border-radius: inherit; cursor: pointer;
  transform: translateY(100%); visibility: hidden;
  transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94), visibility 0s linear 0.4s;
}
.junction-panel.is-open .junction-shutter {
  transform: translateY(0); visibility: visible;
  transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94), visibility 0s;
}
.junction-shutter-body {
  flex: 1; min-height: 0; overflow: auto;
  font-family: var(--font-body); font-size: max(14px, 2.6cqw); line-height: 1.45;
}
/* heading and text: left-aligned, the heading kept clear of the close button */
.junction-shutter-title {
  margin: 0 0 0.45em; padding-right: max(40px, 8cqw);
  font-family: var(--font-body); font-size: max(18px, 4.3cqw); font-weight: 900; line-height: 1.12;
  letter-spacing: 0.005em; color: var(--ps-ink);
}
.junction-shutter-text {
  margin: 0; max-width: 34em;
  font-size: max(16px, 3.4cqw); font-weight: 500; line-height: 1.45; color: var(--ps-ink);
}
/* phones: the cards are short, so the shutter's spacing tightens (text size unchanged) to fit four lines */
@media (max-width: 639px) {
  .junction-shutter { padding: 4cqw 5.5cqw; gap: 2cqw; }
  .junction-shutter-title { margin-bottom: 0.25em; }
  .junction-shutter-text { line-height: 1.36; }
  .junction-shutter-close { top: 3cqw; right: 3cqw; }
}
.junction-shutter-close {
  position: absolute; top: 3.5cqw; right: 3.5cqw;
  display: grid; place-items: center; width: max(32px, 5.5cqw); aspect-ratio: 1; padding: 0;
  border: 0; border-radius: 50%; background: var(--ps-ink); color: #fff; cursor: pointer;
}
.junction-shutter-close svg { width: 50%; height: auto; }
.junction-shutter-close:focus-visible { outline: 3px solid var(--ps-ink); outline-offset: 3px; }
.junction-shutter-go {
  align-self: flex-start;
  font-family: var(--font-mono); font-size: max(11px, 1.9cqw); font-weight: 600;
  letter-spacing: 0.1em; text-transform: uppercase; text-decoration: none;
  padding: 0.75em 1.4em; border: 2px solid var(--ps-ink); color: var(--ps-ink);
  transition: background-color 0.2s, color 0.2s;
}
a.junction-shutter-go:hover { background: var(--ps-ink); color: var(--ps-yellow); }
.junction-shutter-go:focus-visible { outline: 3px solid var(--ps-ink); outline-offset: 3px; }
.junction-shutter-go.is-soon { border-color: rgba(20, 18, 15, 0.4); color: rgba(20, 18, 15, 0.6); }
@media (prefers-reduced-motion: reduce) {
  .junction-shutter, .junction-panel.is-open .junction-shutter { transition: none; }
}

/* ── Welcome strip: a slim warm-grey bar (#C4C1BB, matching the banners on the navigation cards) above
   "Where do you want to go?" that opens downward into the introduction. Black text with amber
   accents, so it never reads as a yellow shutter. ── */
.welcome {
  --wl-ink: #0f1b2d; --wl-amber-text: #6b3d00; --wl-yellow: rgba(243, 167, 18, 0.9); --wl-grey: #C4C1BB;
  max-width: min(920px, 100%); margin: 0 auto clamp(22px, 2.6vw, 40px);
  border: 1px solid rgba(255, 255, 255, 0.55); border-radius: 12px; overflow: hidden;
  background: var(--wl-grey);
  box-shadow: inset 5px 0 0 var(--wl-yellow), inset -5px 0 0 var(--wl-yellow), 0 10px 28px rgba(0, 0, 0, 0.35);
}
.welcome-toggle {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  width: 100%; min-height: 56px; margin: 0; padding: 12px 20px 12px 24px;
  background: transparent; border: 0; color: var(--wl-ink); text-align: left; cursor: pointer;
  font-family: var(--font-body); transition: background-color 0.2s ease;
}
.welcome-toggle:hover { background: rgba(255, 255, 255, 0.16); }
.welcome-toggle:focus-visible { outline: 3px solid var(--wl-ink); outline-offset: -3px; border-radius: 12px; }
.welcome-toggle-text { display: flex; flex-wrap: wrap; align-items: baseline; column-gap: 14px; row-gap: 2px; }
.welcome-title { font-size: clamp(16px, 1.25vw, 19px); font-weight: 700; letter-spacing: 0.01em; }
.welcome-sub { font-size: clamp(13.5px, 1vw, 15px); font-weight: 600; color: var(--wl-amber-text); }
.welcome-arrow {
  flex: none; display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%;
  background: var(--ps-yellow); color: var(--wl-ink); box-shadow: 0 1px 3px rgba(0, 0, 0, 0.25);
  transition: transform 0.35s ease;
}
.welcome-arrow svg { width: 18px; height: 18px; }
.welcome.is-open .welcome-arrow { transform: rotate(180deg); }

/* the panel opens by animating its row from 0 to its natural height, so the cards below are
   pushed down smoothly rather than covered */
.welcome-panel { display: grid; grid-template-rows: 0fr; transition: grid-template-rows 0.45s cubic-bezier(0.25, 0.8, 0.25, 1); }
.welcome.is-open .welcome-panel { grid-template-rows: 1fr; }
.welcome-panel[hidden] { display: none; }
.welcome-panel-clip { overflow: hidden; min-height: 0; }
.welcome-body {
  border-top: 1px solid rgba(15, 27, 45, 0.16); background: var(--wl-grey);
  padding: clamp(18px, 2.2vw, 28px) clamp(20px, 3vw, 40px) clamp(22px, 2.6vw, 32px);
  color: #15202f; font-family: var(--font-body);
  font-size: clamp(15.5px, 1.1vw, 17.5px); line-height: 1.65;
}
.welcome-body p { margin: 0 0 0.85em; max-width: 66ch; }
.welcome-hello { font-size: 1.12em; font-weight: 700; color: var(--wl-ink); }
.welcome-why { font-weight: 700; color: var(--wl-ink); }
.welcome-sign { font-style: italic; }
/* "Parking Ticket Sense": black, with a soft amber highlighter stroke (amber text is too faint on grey) */
.welcome-sign span { color: var(--wl-ink); font-style: normal; font-weight: 700; box-shadow: inset 0 -0.38em 0 rgba(243, 167, 18, 0.6); }
/* sources: small print, clearly separated from the introduction */
.welcome-sources { margin: 0.4em 0 1.1em; padding-top: 0.8em; border-top: 1px solid rgba(15, 27, 45, 0.18); font-size: 0.8em; line-height: 1.5; color: #2b2f36; }
.welcome-sources .welcome-sources-title { margin: 0 0 0.3em; font-weight: 700; color: var(--wl-ink); }
.welcome-sources ul { margin: 0; padding-left: 1.2em; }
.welcome-sources li { margin: 0 0 0.2em; }
.welcome-sources a { color: inherit; text-decoration: underline; text-decoration-color: rgba(243, 167, 18, 0.9); text-underline-offset: 2px; }
.welcome-sources a:focus-visible { outline: 2px solid #121212; outline-offset: 2px; }
.welcome-more {
  display: inline-flex; align-items: center; gap: 8px; margin-top: 0.3em; padding: 6px 0;
  color: var(--wl-ink); font-weight: 700; text-decoration: none;
  border-bottom: 2px solid rgba(243, 167, 18, 0.75);
}
.welcome-more:hover { border-bottom-color: var(--ps-yellow); }
.welcome-more:focus-visible { outline: 3px solid var(--wl-ink); outline-offset: 3px; border-radius: 2px; }
@media (max-width: 479px) {
  .welcome-toggle { padding-left: 20px; }
  .welcome-toggle-text { flex-direction: column; align-items: flex-start; }
}
@media (prefers-reduced-motion: reduce) {
  .welcome-panel, .welcome-arrow, .welcome-toggle { transition: none; }
}

/* ── YouTube Shorts on the retro TVs (Watch, Learn & Play): the same TV body, knobs, legs and caption,
   with a portrait 9:16 screen so the Shorts are shown whole. The thumbnail is a button that swaps in
   YouTube's player. ── */
.tv-unit--short { width: 100%; max-width: 300px; margin: 0 auto; }
.tv-unit--short .tv-body { aspect-ratio: auto; cursor: default; display: flex; flex-direction: column; }
.tv-unit--short .tv-screen { position: relative; inset: auto; margin: 10px 10px 8px; aspect-ratio: 9 / 16; background: #111; }
.tv-unit--short .tv-knob-row { padding-top: 0; }
.tv-unit--short .tv-legs { width: 60%; }
.tv-unit--short .tv-topic { max-width: 280px; line-height: 1.35; }
.yt-short {
  position: absolute; inset: 0; display: block; width: 100%; height: 100%; padding: 0; border: 0;
  background: #111; cursor: pointer;
}
.yt-short img { display: block; width: 100%; height: 100%; object-fit: cover; }
/* the play button sits in the bottom-right corner so it never hides the cover's wording */
.yt-play {
  position: absolute; right: 10px; bottom: 10px;
  display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%;
  background: rgba(243, 167, 18, 0.97); color: #14120f;
  box-shadow: 0 0 0 2px rgba(20, 18, 15, 0.85), 0 4px 14px rgba(0, 0, 0, 0.55);
  transition: transform 0.15s ease, background 0.15s ease;
}
.yt-play svg { width: 26px; height: 26px; margin-left: 3px; fill: currentColor; }
.yt-short:hover .yt-play { transform: scale(1.1); background: #ffbe3b; }
.yt-short:focus-visible { outline: 3px solid #f3a712; outline-offset: -3px; }
.yt-frame { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* the strip's View Intelligence Cards button is a link to the Intelligence Cards app */
a.hub-btn { text-decoration: none; }

/* About artwork: the stickman animation sits exactly over the still picture and fades in once playing */
.routes-about-art { position: relative; }
.routes-about-anim {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; object-position: left top;          /* the wide video has one extra px of padding */
  opacity: 0; transition: opacity 0.4s ease; pointer-events: none; background: transparent;
}
.routes-about-anim.is-playing { opacity: 1; }

/* ── Main menu: Home, Learn, Tools (Ticket Checker, Intelligence Cards), Dispatch, About ── */
.sp-nav .sp-menu { grid-column: 2; justify-self: center; }
.sp-nav .site-nav-links { list-style: none; margin: 0; padding: 0; }
.nav-has-sub { position: relative; }
.nav-sub-toggle {
  appearance: none; background: none; border: 0; padding: 0; cursor: pointer;
  display: inline-flex; align-items: center; gap: 4px; white-space: nowrap;
  font-family: var(--font-body); font-weight: 700; font-size: 13px; letter-spacing: 0.06em;
  text-transform: uppercase; color: #fff;
}
.nav-sub-toggle svg { width: 14px; height: 14px; transition: transform 0.2s; }
.nav-sub-toggle:hover, .nav-sub-toggle[aria-expanded="true"] { color: var(--ps-yellow); }
.nav-sub-toggle[aria-expanded="true"] svg { transform: rotate(180deg); }
.nav-sub-toggle:focus-visible, .sp-nav .site-nav-links a:focus-visible, .sp-nav .site-nav-toggle:focus-visible {
  outline: 2px solid var(--ps-yellow); outline-offset: 4px; border-radius: 2px;
}
.nav-sub { list-style: none; margin: 0; padding: 0; display: none; }
.nav-has-sub.is-open .nav-sub { display: block; }
/* sections the menu jumps to land below the fixed bar */
#understand, #dispatch, #about, #ticket-checker, #junction { scroll-margin-top: 76px; }
@media (min-width: 768px) {
  .nav-sub {
    position: absolute; top: calc(100% + 16px); left: 50%; transform: translateX(-50%); min-width: 230px; padding: 8px;
    background: rgba(5, 7, 10, 0.97); border: 1px solid rgba(243, 167, 18, 0.35); border-radius: 6px;
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.55);
  }
  .nav-sub a { display: block; padding: 11px 12px; border-radius: 4px; }
  .nav-sub a:hover, .nav-sub a:focus-visible { background: rgba(243, 167, 18, 0.12); }
}
@media (min-width: 768px) and (max-width: 1099px) {
  .nav-sub-toggle { font-size: 11px; letter-spacing: 0.03em; }
}
/* phones: the ☰ button opens the menu as a panel under the bar (and turns into ✕) */
.sp-nav .site-nav-toggle { background: none; border: 0; cursor: pointer; }
.sp-nav .site-nav-toggle span { transition: transform 0.2s, opacity 0.2s; }
.sp-nav .site-nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.sp-nav .site-nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.sp-nav .site-nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }
@media (max-width: 767px) {
  .sp-nav.is-menu-open .site-nav-links {
    display: flex; flex-direction: column; align-items: stretch; gap: 0;
    position: absolute; top: 100%; left: 0; right: 0; justify-self: stretch; width: auto; padding: 6px 20px 16px;
    background: rgba(5, 7, 10, 0.97); border-bottom: 1px solid rgba(243, 167, 18, 0.3);
    box-shadow: 0 14px 26px rgba(0, 0, 0, 0.55); max-height: calc(100dvh - 64px); overflow-y: auto;
  }
  .sp-nav .site-nav-links > li > a, .sp-nav .nav-sub-toggle {
    display: flex; align-items: center; width: 100%; min-height: 50px; font-size: 15px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  }
  .sp-nav .nav-sub-toggle { justify-content: space-between; }
  .nav-sub { padding: 2px 0 6px 16px; border-bottom: 1px solid rgba(255, 255, 255, 0.08); }
  .nav-sub a { display: flex; align-items: center; min-height: 46px; font-size: 14px; color: #e9e5dc; }
}

/* ================================================================
   PARKSPLAIN DISPATCH (written newsletter), following the approved "Issue One" design:
   white page, bold black type, golden-yellow accents. Shared by the homepage section and the
   issue pages in /dispatch/.
   ================================================================ */
.dsp { --dsp-yellow: #fdd702; --dsp-ink: #111; background: #fff; color: var(--dsp-ink); padding: clamp(40px, 6vw, 80px) var(--page-gutter, 20px); }
.dsp-inner { max-width: 1100px; margin: 0 auto; }
.dsp-masthead {
  display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 14px 28px;
  padding-bottom: 16px; border-bottom: 2px solid var(--dsp-ink);
}
.dsp-brand {
  display: flex; align-items: center; gap: clamp(10px, 1.6vw, 20px); margin: 0;
  font-family: 'Roboto', var(--font-body); font-style: italic; font-weight: 900; line-height: 1;
  font-size: clamp(30px, 5.2vw, 60px); letter-spacing: -0.02em; color: var(--dsp-ink);
}
.dsp-brand-park { position: relative; padding-bottom: 0.12em; }
.dsp-brand-park::after {                          /* the yellow swoosh under "ParkSplain" */
  content: ""; position: absolute; left: 8%; right: 4%; bottom: -0.02em; height: 0.11em;
  background: var(--dsp-yellow); border-radius: 50%; transform: rotate(-1.2deg);
}
.dsp-brand-bar { align-self: stretch; width: 2px; background: var(--dsp-ink); }
.dsp-brand-dispatch {
  background: var(--dsp-yellow); padding: 0.08em 0.34em 0.12em 0.26em;
  clip-path: polygon(5% 0, 100% 0, 95% 100%, 0 100%);
}
.dsp-tagline {
  margin: 0; padding-bottom: 8px; border-bottom: 5px solid var(--dsp-yellow); text-align: center;
  font-family: var(--font-body); font-weight: 800; font-size: clamp(11px, 1.15vw, 15px);
  letter-spacing: 0.2em; text-transform: uppercase; color: var(--dsp-ink);
}
.dsp-feature { padding-top: clamp(18px, 2.4vw, 26px); }
.dsp-media { margin: 0; }
.dsp-media img, .dsp-media video { display: block; width: 100%; height: auto; aspect-ratio: 1671 / 941; object-fit: cover; }
.dsp-issue {
  display: inline-block; margin: 16px 0 8px; padding: 4px 14px; background: var(--dsp-yellow);
  font-family: var(--font-body); font-weight: 900; font-size: clamp(15px, 1.7vw, 21px); letter-spacing: 0.03em; text-transform: uppercase;
}
.dsp-headline {
  margin: 0; font-family: var(--font-body); font-weight: 900; line-height: 1.04; letter-spacing: -0.02em;
  font-size: clamp(32px, 5.4vw, 62px); color: var(--dsp-ink);
}
.dsp-standfirst { margin: 8px 0 20px; font-family: var(--font-body); font-style: italic; font-weight: 600; font-size: clamp(18px, 2.3vw, 27px); color: #222; }
.dsp-summary {
  display: grid; grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.35fr);
  background: #f2f2f1; padding: clamp(18px, 2.4vw, 28px);
}
.dsp-intro {
  margin: 0; padding-right: clamp(16px, 2.4vw, 28px); border-right: 2px solid var(--dsp-ink);
  font-family: var(--font-body); font-weight: 600; font-size: clamp(18px, 1.9vw, 23px); line-height: 1.35;
}
.dsp-topics { padding-left: clamp(16px, 2.4vw, 28px); }
.dsp-label {
  display: inline-block; margin: 0 0 12px; padding: 3px 10px; background: var(--dsp-yellow);
  font-family: var(--font-body); font-weight: 900; font-size: clamp(15px, 1.5vw, 19px); letter-spacing: 0.02em; text-transform: uppercase;
}
.dsp-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; font-family: var(--font-body); font-size: clamp(16px, 1.5vw, 18px); line-height: 1.38; }
.dsp-list li { position: relative; padding-left: 26px; }
.dsp-list li::before { content: ""; position: absolute; left: 0; top: 0.32em; width: 13px; height: 13px; background: var(--dsp-yellow); }
.dsp-list strong { font-weight: 800; }
.dsp-button {
  display: flex; align-items: center; justify-content: center; gap: 12px; width: min(100%, 500px); margin: 24px auto 0;
  padding: 15px 24px; background: var(--dsp-yellow); color: var(--dsp-ink); text-decoration: none; border-radius: 2px;
  font-family: var(--font-body); font-weight: 900; font-size: clamp(18px, 1.9vw, 23px); box-shadow: 0 2px 0 rgba(0, 0, 0, 0.2);
}
.dsp-button:hover { background: #f2c900; }
.dsp-button:focus-visible { outline: 3px solid var(--dsp-ink); outline-offset: 3px; }
.dsp-upcoming, .dsp-archive { margin-top: clamp(34px, 4.5vw, 52px); padding-top: 18px; border-top: 2px solid var(--dsp-ink); }
.dsp-section-title {
  display: inline-block; margin: 0 0 22px; padding-bottom: 6px; border-bottom: 5px solid var(--dsp-yellow);
  font-family: var(--font-body); font-weight: 900; font-size: clamp(25px, 3.5vw, 42px); line-height: 1.1; letter-spacing: -0.01em;
}
.dsp-cards { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); row-gap: 30px; }
.dsp-card { display: flex; flex-direction: column; padding: 0 14px; border-left: 1px solid #d9d9d9; }
.dsp-card:first-child { border-left: 0; padding-left: 0; }
.dsp-card:last-child { padding-right: 0; }
.dsp-card-media { aspect-ratio: 245 / 112; overflow: hidden; background: #f2f2f1; }
.dsp-card-media img { display: block; width: 100%; height: 100%; object-fit: cover; }
.dsp-card-media--icon { display: grid; place-items: center; border-bottom: 4px solid var(--dsp-yellow); }
.dsp-card-media--icon svg { width: 30%; height: auto; fill: var(--dsp-ink); }
.dsp-card-title { margin: 14px 0 10px; font-family: var(--font-body); font-weight: 900; font-size: clamp(18px, 1.65vw, 21px); line-height: 1.16; }
.dsp-list--small { gap: 7px; font-size: 15px; }
.dsp-list--small li { padding-left: 22px; }
.dsp-list--small li::before { width: 10px; height: 10px; top: 0.36em; }
/* the yellow COMING SOON bar, pinned to the bottom of each card so the bars line up */
.dsp-soon {
  margin: auto 0 0; padding-top: 16px; font-family: var(--font-body); font-weight: 900; font-size: 14px;
  letter-spacing: 0.16em; text-transform: uppercase; text-align: center; line-height: 34px;
  background: linear-gradient(var(--dsp-yellow), var(--dsp-yellow)) bottom / 100% 34px no-repeat;
}
/* tablets: two columns of cards */
@media (max-width: 960px) {
  .dsp-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .dsp-card { padding: 0 16px; }
  .dsp-card:nth-child(odd) { border-left: 0; padding-left: 0; }
  .dsp-card:nth-child(even) { padding-right: 0; }
}
/* phones: summary stacks; cards stay two-up while there's room, then one per row */
@media (max-width: 700px) {
  .dsp-summary { grid-template-columns: 1fr; }
  .dsp-intro { padding: 0 0 16px; border-right: 0; border-bottom: 2px solid var(--dsp-ink); }
  .dsp-topics { padding: 16px 0 0; }
  .dsp-masthead { justify-content: center; }
}
@media (max-width: 520px) {
  .dsp-cards { grid-template-columns: 1fr; }
  .dsp-card, .dsp-card:nth-child(odd), .dsp-card:nth-child(even) { border-left: 0; padding: 0; }
  .dsp-card + .dsp-card { padding-top: 24px; border-top: 1px solid #d9d9d9; }
  .dsp-soon { padding-top: 18px; }
}

/* Dispatch issue pages (/dispatch/…): the same look as a single article */
.dsp-page { background: #fff; }
.dsp-page main { padding-top: 64px; }
.dsp-back { display: inline-flex; align-items: center; gap: 8px; margin: 0 0 18px; font-family: var(--font-body); font-weight: 800; color: var(--dsp-ink); text-decoration: none; border-bottom: 3px solid var(--dsp-yellow); }
.dsp-back:hover { background: rgba(253, 215, 2, 0.25); }
.dsp-section { margin-top: 26px; }
.dsp-section h3 { margin: 0 0 8px; font-family: var(--font-body); font-weight: 900; font-size: clamp(20px, 2.2vw, 26px); line-height: 1.2; }
.dsp-section p { margin: 0; font-family: var(--font-body); font-size: clamp(17px, 1.6vw, 19px); line-height: 1.6; color: #222; max-width: 760px; }
.dsp-section h3::before { content: ""; display: inline-block; width: 14px; height: 14px; margin-right: 12px; background: var(--dsp-yellow); vertical-align: 0.05em; }
.dsp-intro--page { margin: 0 0 26px; padding: 0 0 0 18px; border-right: 0; border-bottom: 0; border-left: 5px solid var(--dsp-yellow); max-width: 820px; }
.dsp-page .dsp-label { margin-top: 4px; }

/* ── Tools & Resources: the featured Intelligence Cards tile (same tile as the others, as one link) ── */
.shop-product--featured { color: inherit; text-decoration: none; border-color: rgba(243, 167, 18, 0.35); }
.shop-product--featured:hover { border-color: rgba(243, 167, 18, 0.7); }
.shop-product--featured:focus-visible { outline: 3px solid var(--ps-yellow); outline-offset: 3px; }
.shop-product--featured .shop-product-frame { overflow: hidden; }
/* the whole first Intelligence Card page, fitted inside the picture box */
.shop-product--featured .shop-product-frame picture { display: block; width: 100%; height: 100%; }
.shop-product--featured .shop-product-frame img { display: block; width: 100%; height: 100%; object-fit: contain; object-position: center; }
.shop-product-cta {
  display: inline-flex; align-items: center; gap: 0.45em; margin-top: auto; padding: 11px 18px;
  background: var(--ps-yellow); color: var(--ps-ink); border-radius: 5px;
  font-family: var(--font-body); font-weight: 800; font-size: 13px; letter-spacing: 0.06em; text-transform: uppercase;
}
.shop-product--featured:hover .shop-product-cta { background: #ffbe2e; }

/* Tools & Resources: portrait picture boxes, so the whole Intelligence Card page and the whole Ticket
   Checker screen show in full and all three tiles stay lined up */
#shop .shop-product-frame { aspect-ratio: 3 / 4; overflow: hidden; }
.shop-product--preview .shop-product-frame picture { display: block; width: 100%; height: 100%; }
.shop-product--preview .shop-product-frame img { display: block; width: 100%; height: 100%; object-fit: contain; }
.shop-product--preview .shop-product-name { letter-spacing: 0.14em; color: var(--ps-yellow); }
/* just the two tools for now (Intelligence Cards and Ticket Checker): side by side, sharing the full width */
@media (min-width: 600px) { #shop .shop-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* ================================================================
   ASTRA CORRECTIONS (Nov 2026): status labels and the 320px header.
   Additions only; nothing above is changed.
   ================================================================ */

/* status labels on unfinished content: a small dark plate with yellow capitals, laid over the
   artwork without covering it; clicks pass straight through to the card underneath */
.status-badge {
  position: absolute; z-index: 3; pointer-events: none;
  font-family: var(--font-body); font-weight: 900; text-transform: uppercase; line-height: 1;
  letter-spacing: 0.1em; white-space: nowrap;
  background: rgba(14, 17, 19, 0.88); color: var(--ps-yellow);
  border: 1.5px solid var(--ps-yellow); border-radius: 4px;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.35);
}
/* the Ticket Checker navigation card: top-right corner of the artwork */
.junction-panel--checker .status-badge--card {
  top: 4.5cqw; right: 4.5cqw; font-size: max(10px, 1.9cqw); padding: 0.6em 0.85em 0.5em;
}
/* the open shutter says it in full, so the label steps aside, and returns only once the shutter has closed */
.status-badge--card { transition: opacity 0.2s ease 0.4s; }
.junction-panel.is-open .status-badge--card { opacity: 0; transition-delay: 0s; }
/* Council / Private topic cards: just above the question banner (which is 19cqw tall), inside the
   slanted right edge, so the artwork's own headings and characters stay clear */
.scene-stage .status-badge--scene {
  bottom: calc(19cqw + 2.5cqw); right: calc(var(--slant, 14%) + 3%);
  font-size: max(9px, 3.1cqw); padding: 0.55em 0.75em 0.45em;
}
.scene-window.open .status-badge--scene { opacity: 0; }

/* "(In Development)" after Ticket Checker in the Tools menu */
.nav-status { font-weight: 600; opacity: 0.75; }

/* Dispatch Issue 1: the same yellow COMING SOON bar as the preview cards, sized to its label */
.dsp-soon--feature { display: inline-block; margin: 18px 0 0; padding: 0 18px; background-size: 100% 100%; }

/* header at the narrowest phones (≤ 379px): the wordmark, Ticket Checker and ☰ need ~364px at
   the normal spacing, which pushed ☰ off the right edge at 320px. Tighten the side margins,
   gaps and wordmark only here; the layout itself is unchanged. */
@media (max-width: 379px) {
  .sp-nav .site-nav-inner { padding-left: 12px; padding-right: 8px; column-gap: 6px; }
  .sp-word { font-size: 15px; }
  .sp-tag { font-size: 9px; gap: 4px; }
  .sp-tag::before, .sp-tag::after { width: 8px; }
  .sp-nav .site-nav-checker { padding: 8px 9px; font-size: 10px; letter-spacing: 0.03em; }
}

/* ================================================================
   ABOUT PARKSPLAIN (Nov 2026): "The Burden on the Motorist" illustration on the left, unchanged (the left
   790 of the artwork's 1675px, with its stickman animation laid over it exactly as before); the text on the
   right as real text: introduction, the four ways ParkSplain helps (2 x 2), "Your Decision, Your Choice",
   then the original banner shown straight from the artwork. Tablets: illustration above the text.
   Phones: the portrait illustration, then the text with the four panels stacked, then the phone banner.
   ================================================================ */
.routes-about { max-width: 1640px; }
@media (min-width: 960px) { .routes-about { max-width: 1640px; } }
.about-layout {
  display: grid; grid-template-columns: 790fr 885fr; column-gap: clamp(16px, 2.2vw, 40px); align-items: start;
  background: #060a0d;                      /* the artwork's own background, so both halves sit as one */
}
/* the illustration: only the left part of the artwork shows (790 of 1675px wide, full height) */
.about-illustration { position: relative; aspect-ratio: 790 / 939; overflow: hidden; align-self: center; }
.about-illustration .routes-about-art { position: absolute; left: 0; top: 0; width: 212.03%; }

.about-copy {
  font-family: var(--font-body); color: #e9ecea;
  font-size: clamp(15px, 1.05vw, 18px); line-height: 1.55;
  padding: clamp(10px, 2.4vw, 44px) clamp(12px, 1.6vw, 28px) clamp(12px, 1.6vw, 28px) 0;
}
.about-copy p { margin: 0 0 0.8em; }
.about-title {
  margin: 0 0 0.55em; font-family: var(--font-body); font-weight: 900; color: #fff;
  font-size: clamp(28px, 2.7vw, 48px); line-height: 1.08; letter-spacing: -0.01em;
}
.about-title span { color: var(--ps-yellow); }
.about-title::after {                       /* the short amber rule under the heading, as in the artwork */
  content: ""; display: block; width: 2.2em; height: 3px; margin-top: 0.4em; background: var(--ps-yellow);
}
.about-subtitle {
  margin: 1.1em 0 0.65em; font-family: var(--font-body); font-weight: 800; color: var(--ps-yellow);
  font-size: clamp(18px, 1.45vw, 26px); line-height: 1.2;
}
.about-icon {
  display: block; flex: none; width: clamp(28px, 2.2vw, 36px); height: auto;
  fill: none; stroke: var(--ps-yellow); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round;
}
/* the four ways ParkSplain helps: 2 x 2 */
.about-benefits {
  list-style: none; margin: 0; padding: 0;
  display: grid; grid-template-columns: 1fr 1fr; gap: clamp(10px, 1vw, 16px);
}
.about-benefit {
  padding: clamp(12px, 1.2vw, 18px); border: 1.5px solid rgba(243, 167, 18, 0.55); border-radius: 12px;
  background: rgba(243, 167, 18, 0.05);
}
.about-benefit h3 {
  margin: 0.5em 0 0.35em; font-family: var(--font-body); font-weight: 800; color: #fff;
  font-size: clamp(16px, 1.2vw, 20px); line-height: 1.25;
}
.about-benefit p { margin: 0 0 0.3em; color: #cfd5d2; font-size: 0.95em; line-height: 1.45; }
.about-benefit p:last-child { margin-bottom: 0; }
/* Your Decision, Your Choice: beneath the grid */
.about-decision {
  display: flex; gap: clamp(12px, 1.2vw, 18px); align-items: flex-start;
  margin-top: clamp(16px, 1.6vw, 26px); padding-top: clamp(14px, 1.4vw, 22px);
  border-top: 1px solid rgba(243, 167, 18, 0.25);
}
.about-decision .about-subtitle { margin-top: 0.1em; }
.about-decision p:last-child { margin-bottom: 0; }
/* the original banner, cropped straight from the artwork (wide: x 783-1643, y 819-908 of 1675 x 939;
   phone: x 15-1072, y 1769-1877 of the 1080 x 1920 phone panel) */
.about-banner { position: relative; overflow: hidden; margin-top: clamp(16px, 1.6vw, 26px); }
.about-banner img { position: absolute; max-width: none; height: auto; display: block; }
.about-banner--wide { aspect-ratio: 860 / 89; }
.about-banner--wide img { width: 194.77%; left: -91.05%; top: -920.2%; }
.about-banner--phone { display: none; aspect-ratio: 1057 / 108; }
.about-banner--phone img { width: 102.18%; left: -1.419%; top: -1637.96%; }

/* tablets: the illustration above the text, the benefits still 2 x 2 */
@media (max-width: 959px) {
  .about-layout { grid-template-columns: 1fr; }
  .about-illustration { width: min(100%, 560px); margin: 0 auto; }
  .about-copy { padding: clamp(14px, 3vw, 28px) clamp(16px, 4vw, 32px) clamp(18px, 3vw, 28px); }
}
/* phones: the portrait illustration (whole), then everything stacked, then the phone banner */
@media (max-width: 639px) {
  .about-illustration { width: 100%; aspect-ratio: auto; overflow: visible; }
  .about-illustration .routes-about-art { position: relative; width: 100%; }
  .about-copy { padding: 6px 16px 22px; font-size: 16px; }
  .about-title { font-size: 30px; }
  .about-subtitle { font-size: 20px; }
  .about-benefits { grid-template-columns: 1fr; }
  .about-banner--wide { display: none; }
  .about-banner--phone { display: block; }
}

/* ================================================================
   PARKSPLAIN DISPATCH SIGN-UP (Nov 2026): inside the grey "In our first edition" box, as a full-width row under
   a black rule (like the rule between the box's columns). Left: the heading with a yellow highlighter stroke,
   the line of text and the yellow "Subscribe to ParkSplain Dispatch" label (the "In this discussion" style);
   right: Substack's sign-up form. Phones stack them.
   ================================================================ */
.dsp-signup {
  grid-column: 1 / -1;
  display: grid; grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.35fr); align-items: center;
  column-gap: clamp(16px, 2.4vw, 28px); row-gap: 16px;
  margin-top: clamp(18px, 2.4vw, 28px); padding-top: clamp(18px, 2.4vw, 28px); border-top: 2px solid var(--dsp-ink);
}
/* the heading: the size of the Coming Soon card titles, with a thin yellow underline */
.dsp-signup-title {
  margin: 0; font-family: var(--font-body); font-weight: 900; color: var(--dsp-ink);
  font-size: clamp(17px, 1.6vw, 21px); line-height: 1.3; letter-spacing: -0.005em;
}
.dsp-signup-title span {
  text-decoration: underline; text-decoration-color: var(--dsp-yellow);
  text-decoration-thickness: 3px; text-underline-offset: 4px; text-decoration-skip-ink: none;
}
.dsp-signup-text {
  margin: 10px 0 14px; font-family: var(--font-body); font-weight: 600; color: #222;
  font-size: clamp(16px, 1.5vw, 18px); line-height: 1.4;
}
.dsp-signup-label { margin: 0 0 10px; }       /* the yellow label, directly above the email box */
/* the email box and Subscribe button: the section's black outline and yellow, no extra box around them */
.dsp-signup-form { margin: 0; width: 100%; max-width: 560px; justify-self: center; }
.dsp-signup-row { display: flex; }
.dsp-signup-input {
  flex: 1 1 0; width: 100%; min-width: 0; padding: 14px 16px;   /* no built-in width, so the row always fits */ border: 2px solid var(--dsp-ink); border-right: 0; border-radius: 2px 0 0 2px;
  background: #fff; color: var(--dsp-ink); font-family: var(--font-body); font-size: 17px;
}
.dsp-signup-input::placeholder { color: #8a8a87; }
.dsp-signup-input:focus { outline: 3px solid var(--dsp-yellow); outline-offset: 0; }
.dsp-signup-input[aria-invalid="true"] { border-color: #b3261e; }
.dsp-signup-btn {
  flex: none; padding: 0 24px; border: 2px solid var(--dsp-ink); border-radius: 0 2px 2px 0; cursor: pointer;
  background: var(--dsp-yellow); color: var(--dsp-ink);
  font-family: var(--font-body); font-weight: 900; font-size: 16px; letter-spacing: 0.04em; text-transform: uppercase;
}
.dsp-signup-btn:hover { background: #f2c900; }
.dsp-signup-btn:focus-visible { outline: 3px solid var(--dsp-ink); outline-offset: 2px; }
.dsp-signup-btn:disabled { cursor: default; opacity: 0.75; }
.dsp-signup-msg { margin: 8px 0 0; min-height: 1.3em; font-family: var(--font-body); font-weight: 700; font-size: 15px; color: var(--dsp-ink); }
.dsp-signup-msg.is-error { color: #b3261e; }
.dsp-signup-msg:empty { min-height: 0; margin: 0; }
.dsp-signup-consent { margin: 8px 0 0; font-family: var(--font-body); font-size: 13px; line-height: 1.45; color: #555; }
.dsp-signup-consent a { color: #333; text-decoration: underline; }
.dsp-signup-consent a:hover { color: var(--dsp-ink); }
.dsp-signup, .dsp-signup-copy, .dsp-signup-form { min-width: 0; }
@media (max-width: 700px) {
  .dsp-signup { grid-template-columns: minmax(0, 1fr); }
  .dsp-signup-form { max-width: none; }
}
@media (max-width: 379px) {
  .dsp-signup-row { flex-direction: column; }
  .dsp-signup-input { border-right: 2px solid var(--dsp-ink); border-radius: 2px; }
  .dsp-signup-btn { padding: 12px; border-radius: 2px; margin-top: 8px; }
}

/* ================================================================
   TOOLBAR DISPATCH (Nov 2026): the Dispatch masthead ("ParkSplain | Dispatch" and "The parking enforcement
   conversation", as in the Dispatch section) on the strip's dark background, over the presenters' 8-second
   conversation with a small play button. Replaces the text and the newspaper envelope.
   ================================================================ */
.cc-hub .hub-panel--dspv { display: flex; flex-direction: column; gap: 0; }
.hub-dspv-mast {
  display: flex; align-items: center; gap: 2.4cqw; margin: 0;
  font-family: var(--font-body); font-weight: 900; font-style: italic; letter-spacing: -0.02em; line-height: 1;
  font-size: calc(8.4cqw / var(--k));
}
.hub-dspv-park { position: relative; color: #fff; padding-bottom: 0.12em; }
.hub-dspv-park::after {                       /* the yellow swoosh under "ParkSplain" */
  content: ""; position: absolute; left: 6%; right: 2%; bottom: -0.02em; height: 0.09em;
  background: #fdd702; border-radius: 50%; transform: rotate(-1.2deg);
}
.hub-dspv-bar { align-self: stretch; width: 2px; background: rgba(255, 255, 255, 0.8); }
.hub-dspv-dispatch { background: #fdd702; color: #111; padding: 0.08em 0.3em 0.12em 0.24em; transform: skewX(-6deg); }
.hub-dspv-tag {
  margin: 1.6cqw 0 2.6cqw; padding-bottom: 1cqw; border-bottom: 3px solid #fdd702; align-self: flex-start;
  font-family: var(--font-body); font-weight: 800; color: #fff; text-transform: uppercase;
  font-size: max(9.5px, calc(2.9cqw / var(--k))); letter-spacing: 0.16em; line-height: 1.2;
}
/* the conversation: its own 16:9 shape, no cropping */
.hub-dspv-media { position: relative; aspect-ratio: 16 / 9; border-radius: 4px; overflow: hidden; background: #000; }
/* the cover still: over the video before it plays and again at the end (clicks pass through to the play button) */
.hub-dspv-cover {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; pointer-events: none;
  visibility: hidden;                       /* switches instantly, so the clip's last frame never shows */
}
.hub-dspv-media.show-cover .hub-dspv-cover { visibility: visible; }
.hub-dspv-video { display: block; width: 100%; height: 100%; object-fit: contain; cursor: pointer; }
.hub-dspv-play {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
  width: max(38px, 13cqw); aspect-ratio: 1; border: 0; border-radius: 50%; padding: 0; cursor: pointer;
  display: grid; place-items: center; background: #f3a712; box-shadow: 0 3px 12px rgba(0, 0, 0, 0.45);
  transition: transform 0.2s, background-color 0.2s;
}
.hub-dspv-play svg { width: 48%; height: auto; margin-left: 8%; fill: #14120f; }
.hub-dspv-play:hover { background: #ffbe2e; transform: translate(-50%, -50%) scale(1.08); }
.hub-dspv-play:focus-visible { outline: 3px solid #fff; outline-offset: 3px; }
.hub-dspv-media.is-playing .hub-dspv-play { display: none; }

/* ================================================================
   FREQUENTLY ASKED QUESTIONS (Nov 2026): the "Burden on the Motorist" arrangement (media left, text right,
   on the artwork's near-black) with parking-sign blue in place of amber. Wide screens: the clip on the left;
   on the right the heading, then the rolling question list beside the answer. Tablets: heading, clip, then
   list beside answer. Phones: heading, clip, then the questions with each answer opening beneath its question.
   ================================================================ */
.faq {
  --faq-blue: #1d5ba8;                       /* UK parking sign blue */
  --faq-blue-lite: #6aa6ee;                  /* the same blue lifted for text and lines on the dark background */
  background: #060a0d; color: #e9ecea;
  padding: clamp(36px, 5vw, 72px) var(--page-gutter, 20px);
  font-family: var(--font-body); font-size: clamp(15px, 1.05vw, 18px); line-height: 1.55;
}
.faq-layout {
  max-width: 1640px; margin: 0 auto;
  display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 3fr);   /* a little more room for the text than About */
  grid-template-areas: "media head" "media body" "media note";
  grid-template-rows: auto auto 1fr;
  column-gap: clamp(16px, 2.2vw, 40px); align-items: start;
}
.faq-media { grid-area: media; align-self: center; }
.faq-head { grid-area: head; }
.faq-body { grid-area: body; }
.faq-disclaimer { grid-area: note; }
.faq [hidden] { display: none !important; }

/* heading: as "About ParkSplain", with the short rule in blue */
.faq-eyebrow {
  margin: 0 0 0.6em; color: var(--faq-blue-lite); font-weight: 800; font-size: 0.8em;
  letter-spacing: 0.16em; text-transform: uppercase;
}
.faq-title {
  margin: 0 0 0.55em; font-family: var(--font-body); font-weight: 900; color: #fff;
  font-size: clamp(26px, 2.4vw, 42px); line-height: 1.1; letter-spacing: -0.01em;
}
.faq-title::after { content: ""; display: block; width: 2.2em; height: 3px; margin-top: 0.4em; background: var(--faq-blue-lite); }
.faq-intro { margin: 0 0 0.35em; }
.faq-intro:last-child { margin-bottom: clamp(14px, 1.4vw, 22px); }

/* the media area: a 16:9 placeholder until a clip is named (the clip then sets its own shape) */
.faq-media {
  position: relative; aspect-ratio: 16 / 9; overflow: hidden; border-radius: 12px;
  border: 2px dashed rgba(106, 166, 238, 0.55);
  background: radial-gradient(ellipse at 50% 45%, rgba(29, 91, 168, 0.28), rgba(29, 91, 168, 0.06) 70%);
}
.faq-placeholder {
  position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 6px; padding: 16px; text-align: center;
}
.faq-psign { width: clamp(52px, 5vw, 84px); height: auto; margin-bottom: 6px; }
.faq-psign rect { fill: var(--faq-blue); stroke: #fff; stroke-width: 3; }
.faq-psign path { fill: none; stroke: #fff; stroke-width: 7; stroke-linejoin: round; }
.faq-placeholder-title { margin: 0; color: #fff; font-weight: 800; font-size: clamp(17px, 1.4vw, 22px); }
.faq-placeholder-text { margin: 0; color: #9fb0c4; font-size: 0.9em; }
/* with the clip: no frame at all. The section takes the clip's own charcoal background and the clip's edges
   fade into it, so the animation sits in the section like the Burden artwork does in About. It fills the
   column; only the empty background above and below the figures is trimmed. */
.faq.has-clip { background: #201f24; }
.faq-media.has-video { border: 0; border-radius: 0; background: transparent; }
.faq-media.has-video .faq-placeholder { display: none; }
.faq-media.is-portrait { aspect-ratio: 4 / 5 !important; width: 100%; }
.faq-video {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; background: #201f24;
  -webkit-mask-image: linear-gradient(to bottom, transparent 0, #000 7%, #000 93%, transparent 100%);
          mask-image: linear-gradient(to bottom, transparent 0, #000 7%, #000 93%, transparent 100%);
}
@media (max-width: 1279px) { .faq-media.is-portrait { width: min(100%, 560px); } }
@media (max-width: 639px) { .faq-media.is-portrait { width: 100%; } }

/* the question list beside the answer, both the same height */
.faq-body {
  display: grid; grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr); gap: clamp(10px, 1vw, 16px);
  height: clamp(400px, 31vw, 520px);
}
.faq-list-wrap { display: flex; flex-direction: column; min-height: 0; }
.faq-list-bar { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 8px; min-height: 30px; }
.faq-list-label { color: var(--faq-blue-lite); font-weight: 800; font-size: 0.8em; letter-spacing: 0.14em; text-transform: uppercase; }
.faq-pause {
  display: inline-flex; align-items: center; gap: 6px; padding: 4px 11px; border-radius: 999px; cursor: pointer;
  border: 1.5px solid rgba(106, 166, 238, 0.7); background: transparent; color: var(--faq-blue-lite);
  font-family: var(--font-body); font-weight: 800; font-size: 13px; line-height: 1.2;
}
.faq-pause:hover { background: rgba(29, 91, 168, 0.25); color: #fff; }
.faq-pause:focus-visible { outline: 3px solid #fff; outline-offset: 2px; }
.faq-pause-icon { width: 12px; height: 12px; fill: currentColor; }
.faq-pause .i-play, .faq-pause.is-paused .i-pause { display: none; }
.faq-pause.is-paused .i-play { display: inline; }
.faq-list {
  position: relative; list-style: none; margin: 0; padding: 2px 6px 2px 2px; flex: 1 1 auto; min-height: 0;
  overflow-y: auto; overscroll-behavior: contain; display: flex; flex-direction: column; gap: 8px;
  scrollbar-width: thin; scrollbar-color: rgba(106, 166, 238, 0.6) transparent;
}
.faq-q {
  display: flex; align-items: flex-start; gap: 10px; width: 100%; padding: 10px 12px; text-align: left; cursor: pointer;
  border: 1.5px solid rgba(106, 166, 238, 0.4); border-radius: 10px; background: rgba(29, 91, 168, 0.06);
  color: #e9ecea; font-family: var(--font-body); font-weight: 700; font-size: 0.92em; line-height: 1.35;
  transition: background-color 0.2s, border-color 0.2s, color 0.2s;
}
.faq-q:hover { border-color: var(--faq-blue-lite); background: rgba(29, 91, 168, 0.18); }
.faq-q:focus-visible { outline: 3px solid #fff; outline-offset: 2px; }
.faq-num {                                    /* the number in a little sign-shaped plate */
  flex: none; display: grid; place-items: center; min-width: 1.75em; height: 1.75em; padding: 0 0.2em; margin-top: -0.1em;
  border: 2px solid var(--faq-blue-lite); border-radius: 5px; color: var(--faq-blue-lite); font-weight: 900; font-size: 0.9em;
}
/* the active question: a parking sign, blue with a white edge */
.faq-q.is-active { background: var(--faq-blue); border-color: #fff; color: #fff; }
.faq-q.is-active .faq-num { background: #fff; border-color: #fff; color: var(--faq-blue); }

/* the answer */
.faq-answers-home { min-height: 0; }
.faq-answers {
  height: 100%; overflow-y: auto; overscroll-behavior: contain; outline: 0;
  padding: clamp(14px, 1.4vw, 22px); border: 1.5px solid rgba(106, 166, 238, 0.55); border-radius: 12px;
  background: rgba(29, 91, 168, 0.08);
  scrollbar-width: thin; scrollbar-color: rgba(106, 166, 238, 0.6) transparent;
}
.faq-answer p { margin: 0 0 0.75em; }
.faq-answer p:last-child { margin-bottom: 0; }
.faq-h {
  margin: 0 0 0.7em; padding-left: 12px; border-left: 4px solid var(--faq-blue-lite);
  font-family: var(--font-body); font-weight: 800; color: #fff; font-size: clamp(17px, 1.25vw, 21px); line-height: 1.3;
}
.faq-short { font-weight: 700; color: #fff; }
.faq-short strong { color: var(--faq-blue-lite); font-weight: 800; }
.faq-key { font-weight: 800; color: #fff; }
.faq-source {
  margin-top: 1em !important; padding-top: 0.7em; border-top: 1px solid rgba(106, 166, 238, 0.25);
  color: #dde4ec; font-size: 0.9em; font-style: italic; line-height: 1.45;
}
.faq-disclaimer { margin: clamp(10px, 1vw, 16px) 0 0; color: #dde4ec; font-size: 0.9em; }

/* tablets and small laptops: heading, then the clip, then the list beside the answer */
@media (max-width: 1279px) {
  .faq-layout { grid-template-columns: minmax(0, 1fr); grid-template-areas: "head" "media" "body" "note"; grid-template-rows: none; }
  .faq-media { width: min(100%, 720px); margin: 0 auto clamp(18px, 2.4vw, 28px); }
  .faq-body { height: 460px; }
}
/* phones: the questions one under another, the answer opening beneath the chosen question */
@media (max-width: 639px) {
  .faq { font-size: 16px; padding: 32px 16px; }
  .faq-title { font-size: 26px; }
  .faq-body { display: block; height: auto; }
  .faq-list { overflow: visible; padding: 0; }
  .faq-q { padding: 12px; font-size: 15px; }
  .faq-list li > .faq-answers { height: auto; overflow: visible; margin-top: 8px; padding: 14px; }
  .faq-answers-home { display: none; }
  .faq-h {                                    /* the question is already on its button: kept for search engines and screen readers */
    position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
  }
}
@media (prefers-reduced-motion: reduce) { .faq-q { transition: none; } }

/* ================================================================
   TUTORIAL PANELS: Alfonso's introduction + "notify me" sign-up
   (built by the tutorial notify script in index.html)
   ================================================================ */
/* the yellow panel keeps its look; with the player and form inside it starts at the top, centres when
   everything fits (auto margins) and scrolls inside itself on the narrowest cards */
/* the yellow panels are 15% more see-through than before (0.92 -> 0.78) so the animation shows behind */
:is(#path-council, #path-private) .scene-info { background: rgba(243, 167, 18, 0.78); }
/* the card's own words (its banner question and name label) would show faintly through the panel; the
   panel repeats them in solid black, so the faint copies fade out while it is open */
:is(#path-council, #path-private) .scene-window .cc-banner,
:is(#path-council, #path-private) .scene-window .scene-tag,
:is(#path-council, #path-private) .scene-window .sg-heading { transition: opacity 0.3s; }
:is(#path-council, #path-private) .scene-window.open .cc-banner,
:is(#path-council, #path-private) .scene-window.open .scene-tag,
:is(#path-council, #path-private) .scene-window.open .sg-heading { opacity: 0; }

/* ── Traced panels (.is-traced, all seven tutorial cards): the card's heading (sign, label or plate) and
      caption bar are copied onto the panel in the same places and shown in full; the panel's small text is
      kept for screen readers only; Alfonso's controls are bigger and darker; the player and sign-up sit in
      the space between ── */
:is(#path-council, #path-private) .scene-window.open .scene-info .ti-trace-banner,
:is(#path-council, #path-private) .scene-window.open .scene-info .ti-trace .scene-tag,
:is(#path-council, #path-private) .scene-window.open .scene-info .ti-trace-heading .sg-heading { opacity: 1; }
/* the Letters & Notices plate behind the panel fades too (its copy is on top) */
:is(#path-council, #path-private) .scene-window .scene-stage .ln-plate { transition: opacity 0.3s; }
:is(#path-council, #path-private) .scene-window.open .scene-stage .ln-plate { opacity: 0; }
/* Forms & Processes: its label is part of the picture, so only that part of the copied picture shows */
.scene-info.is-traced .ti-trace-fp img { clip-path: inset(17.4% 23.2% 70.6% 14.6% round 1.6%); }
.scene-info.is-traced .ti-trace {
  position: absolute; inset: 0; z-index: 0; container-type: inline-size; pointer-events: none; margin: 0 !important; overflow: hidden;
}
.scene-info.is-traced .ti-trace-heading .sg-heading { animation: none; -webkit-mask: none; mask: none; }
.scene-info.is-traced .ti-trace-banner { pointer-events: auto; }
.scene-info.is-traced > .scene-info-title,
.scene-info.is-traced > .scene-info-desc {
  position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
:is(#path-council, #path-private) .scene-info.has-notify.is-traced {
  padding-top: 25cqw; padding-bottom: calc(19cqw + 6px); overflow: hidden;
}
:is(#path-council, #path-private) .scene-info.is-traced .ti-audio { position: relative; z-index: 1; margin: auto 0 8px; gap: 9px; }
:is(#path-council, #path-private) .scene-info.is-traced .ti-notify { position: relative; z-index: 1; margin-bottom: auto; }
.scene-info.is-traced .ti-notify-note { display: none; }
.scene-info.is-traced .ti-audio-play { width: 40px; height: 40px; background: #000; }
.scene-info.is-traced .ti-audio-play svg { width: 19px; height: 19px; }
.scene-info.is-traced .ti-audio-replay { width: 36px; height: 36px; border: 3px solid #000; color: #000; }
.scene-info.is-traced .ti-audio-replay svg { width: 18px; height: 18px; }
.scene-info.is-traced .ti-audio-track { height: 6px; background: rgba(0, 0, 0, 0.3); }
.scene-info.is-traced .ti-audio-fill { background: #000; }
.scene-info.is-traced .ti-audio-time { font-size: 14px; font-weight: 800; color: #000; }
:is(#path-council, #path-private) .scene-info.has-notify {
  justify-content: flex-start; overflow-y: auto; overscroll-behavior: contain; scrollbar-width: thin;
  padding-top: 10px; padding-bottom: 10px;
}
.scene-info.has-notify > :first-child { margin-top: auto; }
.scene-info.has-notify > :last-child { margin-bottom: auto; }
/* text on the see-through panel: bigger, heavier and full black so it reads over the moving artwork */
.scene-info.has-notify .scene-info-title { margin-bottom: 4px; font-size: 21px; font-weight: 900; line-height: 1.15; color: #000; }
.scene-info.has-notify .scene-info-desc { margin-bottom: 8px; font-size: 17px; line-height: 1.3; font-weight: 800; color: #000; }
.scene-info.has-notify .scene-info-action { padding: 5px 12px; color: #000; border-color: #000; font-weight: 700; }
.scene-info.has-notify .ti-audio-time { color: #000; font-weight: 700; }
/* narrow cards (four across at ~1000-1260px, the smallest phones): everything stays, but the spacing
   tightens and the text uses the room the slanted edges leave (the left edge only leans in near the top,
   the right edge only near the bottom); the black block runs out to the card's left edge.
   cqw = 1% of the card's width (the panel covers the whole card; --slant is 14% of it). */
:is(#path-council, #path-private) .scene-info.has-notify { container-type: inline-size; }
@container (max-width: 320px) {
  :is(#path-council, #path-private) .scene-info.has-notify {
    padding: 6px calc(6cqw + 8px) 6px calc(11cqw + 6px);
  }
  .scene-info.has-notify .scene-info-title { font-size: 19px; margin-bottom: 2px; }
  .scene-info.has-notify .scene-info-desc { font-size: 15.5px; line-height: 1.28; margin-bottom: 6px; }
  .scene-info.has-notify .scene-info-action { padding: 4px 10px; }
  .scene-info.has-notify .ti-audio { margin: 5px 0; }
  .scene-info.has-notify .ti-audio-play { width: 30px; height: 30px; }
  :is(#path-council, #path-private) .scene-info.has-notify .ti-notify {
    margin-left: calc(-11cqw - 6px); margin-right: calc(8cqw - 8px);
    padding: 7px 8px 7px calc(7cqw + 6px);
  }
  .scene-info.has-notify .ti-notify-title { font-size: 12.5px; margin-bottom: 5px; }
  .scene-info.has-notify .ti-notify-input { flex-basis: 64px; padding: 0 7px; }
  .scene-info.has-notify .ti-notify-btn { padding: 0 10px; }
  .scene-info.has-notify .ti-notify-note { font-size: 11px; line-height: 1.3; margin-top: 5px; }
  /* lower down the slanted left edge has moved further out, so the field row and the small print
     can start a little further left than the heading */
  .scene-info.has-notify .ti-notify-row, .scene-info.has-notify .ti-notify-msg { margin-left: -2cqw; }
  .scene-info.has-notify .ti-notify-note { margin-left: -4cqw; }
}
/* the very narrowest four-across cards (~1000-1060px windows): a few pixels more from the gaps */
@container (max-width: 250px) {
  :is(#path-council, #path-private) .scene-info.has-notify { padding-top: 2px; padding-bottom: 2px; }
  .scene-info.has-notify .ti-notify-row { gap: 4px; }
  .scene-info.has-notify .scene-info-title { margin-bottom: 0; line-height: 1.15; }
  .scene-info.has-notify .scene-info-desc { line-height: 1.3; margin-bottom: 4px; }
  .scene-info.has-notify .scene-info-action { padding: 2px 9px; }
  .scene-info.has-notify .ti-audio { margin: 3px 0; }
  .scene-info.has-notify .ti-notify-title { line-height: 1.15; }
  :is(#path-council, #path-private) .scene-info.has-notify .ti-notify { padding-top: 6px; padding-bottom: 6px; }
  .scene-info.has-notify .ti-notify-title { margin-bottom: 4px; }
  .scene-info.has-notify .ti-notify-input, .scene-info.has-notify .ti-notify-btn { height: 32px; }
  .scene-info.has-notify .ti-notify-note { line-height: 1.25; margin-top: 4px; }
}
/* near the bottom the card's slanted left edge is almost vertical, so the black block can reach further
   left (and a little right) than the text above it: more room for the email field on narrow cards */
:is(#path-council, #path-private) .scene-info.has-notify .ti-notify { margin-left: calc(10px - var(--slant)); margin-right: -10px; }

/* the player: Play/Pause, progress, time, Replay */
.ti-audio { display: flex; align-items: center; gap: 7px; margin: 8px 0; cursor: default; }
.ti-audio-btn {
  flex: none; display: grid; place-items: center; width: 32px; height: 32px; padding: 0;
  border: 0; border-radius: 50%; background: var(--ps-ink); color: #fff; cursor: pointer;
}
.ti-audio-btn svg { width: 15px; height: 15px; fill: currentColor; }
.ti-audio-replay { width: 28px; height: 28px; background: transparent; color: var(--ps-ink); border: 2px solid var(--ps-ink); }
.ti-audio-replay svg { width: 14px; height: 14px; }
.ti-audio-btn:hover { background: #2b2620; color: #fff; }
.ti-audio-btn:focus-visible { outline: 3px solid var(--ps-ink); outline-offset: 2px; }
.ti-audio-track { flex: 1 1 auto; min-width: 24px; height: 4px; border-radius: 2px; background: rgba(20, 18, 15, 0.22); overflow: hidden; }
.ti-audio-fill { display: block; height: 100%; width: 0; background: var(--ps-ink); }
.ti-audio-time { flex: none; font-family: var(--font-mono); font-size: 11px; font-weight: 600; color: var(--ps-ink); font-variant-numeric: tabular-nums; }

/* the black sign-up block */
.ti-notify {
  margin: 0; padding: 8px 9px; background: var(--ps-ink); color: #fff;
  text-align: left; cursor: default;
}
.ti-notify-title { margin: 0 0 6px; font-family: var(--font-body); font-size: 13px; font-weight: 800; line-height: 1.2; color: #fff; }
.ti-notify-row { display: flex; flex-wrap: wrap; gap: 5px; }
.ti-notify-input {
  flex: 1 1 110px; min-width: 0; height: 34px; padding: 0 8px;
  border: 1px solid rgba(255, 255, 255, 0.35); border-radius: 0; background: #fff; color: var(--ps-ink);
  font-family: var(--font-body); font-size: 16px; /* 16px: phones don't zoom in on the field */
}
.ti-notify-input::placeholder { color: #6b6660; opacity: 1; }
.ti-notify-input:focus-visible { outline: 3px solid var(--ps-yellow); outline-offset: 1px; }
.ti-notify-input[aria-invalid="true"] { border-color: #ff8a7a; box-shadow: 0 0 0 1px #ff8a7a; }
.ti-notify-btn {
  flex: 0 0 auto; height: 34px; padding: 0 12px; border: 0; border-radius: 0;
  background: var(--ps-yellow); color: var(--ps-ink); cursor: pointer;
  font-family: var(--font-mono); font-size: 11px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase;
}
.ti-notify-btn:hover { background: #ffbf3d; }
.ti-notify-btn:focus-visible { outline: 3px solid #fff; outline-offset: 2px; }
.ti-notify-btn:disabled { opacity: 0.6; cursor: wait; }
.ti-notify-msg { margin: 0; font-size: 12.5px; font-weight: 600; line-height: 1.35; }
.ti-notify-msg:not(:empty) { margin-top: 7px; }
.ti-notify-msg.is-error { color: #ffb3a8; }
.ti-notify-msg.is-ok { color: #ffd27a; }
.ti-notify.is-done .ti-notify-row { display: none; }
.ti-notify-note { margin: 6px 0 0; font-size: 11.5px; line-height: 1.35; color: rgba(255, 255, 255, 0.82); }

/* ── Readable contrast (WCAG 1.4.3, 4.5:1 for normal text): colour changes only, no layout ──
   The shared --ps-grey stays as it is (it is also used on light backgrounds); only the small text that
   failed is changed: lighter on the dark page, darker on cream. "Watch & Learn" takes the site's dark ink on its amber chip, like the
   yellow Ticket Checker button. */
.shop-subtitle, .shop-product-desc, .site-footer-about p, .site-footer-links a { color: #a3aca9; }
.watch-kicker { color: #4e5754; }   /* this one sits on the cream Watch section, so it goes darker */
.site-footer-links a:hover { color: var(--ps-yellow); }
.site-footer-legal { color: #a3aca9; }
.hub-title--banner { color: var(--ps-ink, #14120f); text-shadow: none; }

/* ── Tools & Checkers (Learn strip): laid out like ParkSplain Intelligence – heading, a still of the Ticket
   Checker phone picture, a button. Both link to the Ticket Checker demonstration page. ── */
.hub-checker .hub-text { margin-bottom: 2px; }
.hub-checker .hub-body { display: flex; flex-direction: column; align-items: center; gap: 8px; }
.hub-checker-art { position: relative; display: block; flex: 1 1 0; width: 100%; min-height: calc(36cqw / var(--k)); }
.hub-checker-art img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; }
.hub-checker-btn { white-space: normal; }
.hub-checker-btn [aria-hidden] { font-size: 0.85em; }

/* ── Important Information (footer), in place of the footer's three "about" lines ── */
.site-footer-important-title {
  margin: 0 0 10px; font-family: var(--font-mono); font-size: 12px; font-weight: 600;
  letter-spacing: 0.14em; text-transform: uppercase; color: var(--ps-yellow);
}
.site-footer-important .site-footer-important-key strong { color: var(--ps-cream, #f3ead6); font-weight: 800; }

/* ── "Pause animations" (js/motion-pause.js): a small round ink-and-amber button in the bottom-left
   corner; its words slide out on hover, keyboard focus, or for a moment after a tap. ── */
.motion-toggle {
  position: fixed; z-index: 190;                 /* under the menu (200) and the video player (1000) */
  left: max(12px, env(safe-area-inset-left)); bottom: max(12px, env(safe-area-inset-bottom));
  display: inline-flex; align-items: center; height: 40px; min-width: 40px; padding: 0 10px; gap: 0;
  border: 2px solid var(--ps-yellow); border-radius: 20px; background: rgba(20, 18, 15, 0.9); color: var(--ps-yellow);
  font-family: var(--font-mono); font-size: 11px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase;
  cursor: pointer; box-shadow: 0 4px 14px rgba(0, 0, 0, 0.35);
}
.motion-toggle[hidden] { display: none; }
.motion-toggle-icon { display: grid; place-items: center; width: 16px; height: 16px; flex: none; }
.motion-toggle-icon svg { width: 16px; height: 16px; fill: currentColor; }
.motion-toggle-label {
  display: inline-block; max-width: 0; overflow: hidden; white-space: nowrap;
  transition: max-width 0.25s ease, margin 0.25s ease;
}
.motion-toggle:hover .motion-toggle-label, .motion-toggle:focus-visible .motion-toggle-label,
.motion-toggle.show-label .motion-toggle-label { max-width: 190px; margin-left: 8px; }
.motion-toggle:hover { background: var(--ps-ink, #14120f); }
.motion-toggle:focus-visible { outline: 3px solid #fff; outline-offset: 2px; }
html.vid-open .motion-toggle { display: none; }
@media (prefers-reduced-motion: reduce) { .motion-toggle-label { transition: none; } }

/* Transcript (tutorial panels) and Privacy notice links under the sign-up */
.ti-notify-links { display: flex; flex-wrap: wrap; gap: 2px 14px; margin: 6px 0 0; font-size: 12px; line-height: 1.3; }
.ti-link {
  padding: 0; border: 0; background: none; cursor: pointer;
  font: inherit; font-family: var(--font-body); font-weight: 700; color: #fff;
  text-decoration: underline; text-underline-offset: 2px;
}
.ti-link:hover { color: var(--ps-yellow); }
.ti-link:focus-visible { outline: 2px solid var(--ps-yellow); outline-offset: 2px; }

/* the transcript pop-up */
.ti-dialog {
  width: min(560px, calc(100vw - 32px)); max-height: min(80vh, 640px); padding: 0; margin: auto;
  border: 2px solid var(--ps-yellow); border-radius: 0; background: var(--ps-ink); color: #fff;
  display: none; flex-direction: column;
}
.ti-dialog[open] { display: flex; }
.ti-dialog::backdrop { background: rgba(0, 0, 0, 0.7); }
.ti-dialog-head { display: flex; align-items: flex-start; gap: 12px; padding: 16px 16px 10px 20px; border-bottom: 1px solid rgba(255, 255, 255, 0.14); }
.ti-dialog-title { flex: 1 1 auto; margin: 0; font-family: var(--font-body); font-size: 19px; font-weight: 900; line-height: 1.25; color: #fff; }
.ti-dialog-close {
  flex: none; width: 36px; height: 36px; padding: 0; border: 2px solid var(--ps-yellow); border-radius: 0;
  background: transparent; color: var(--ps-yellow); font-size: 16px; line-height: 1; cursor: pointer;
}
.ti-dialog-close:hover { background: var(--ps-yellow); color: var(--ps-ink); }
.ti-dialog-close:focus-visible { outline: 3px solid #fff; outline-offset: 2px; }
.ti-dialog-body { overflow-y: auto; padding: 14px 20px 18px; font-size: 16px; line-height: 1.6; color: #f3ead6; }
.ti-dialog-body p { margin: 0 0 10px; }

/* the Ticket Checker launch sign-up under its card in Tools & Resources */
.shop-notify { width: 100%; max-width: 420px; margin-top: var(--space-s, 12px); }
.shop-notify .ti-notify { border: 1px solid rgba(255, 255, 255, 0.14); padding: 14px; }
.shop-notify .ti-notify-title { font-size: 14px; }

/* ── Ticket Checker links to its preview page (ticket-checker.html) ── */
/* Tools & Checkers strip: the row is one link, laid out exactly as the plain row was */
.hub-tools li.hub-tool-has-link { display: block; }
.hub-tool-link {
  display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 8px;
  color: inherit; text-decoration: none;
}
.hub-tool-link:hover .hub-tool-name { color: var(--ps-yellow); }
.hub-tool-link:focus-visible { outline: 2px solid var(--ps-yellow); outline-offset: 3px; }
/* Tools & Resources card: the "See the preview" button sits under the description */
.shop-product-cta--link { margin-top: 2px; text-decoration: none; }
.shop-product-cta--link:hover { background: #ffbe2e; }
.shop-product-cta--link:focus-visible { outline: 3px solid #fff; outline-offset: 3px; }
