/* ==========================================================================
   pks.css — the one stylesheet for paulksaunders.com (restyle, Oct 2026).

   Design cues from Rider and Soundcheck (Paul's own sites): condensed poster
   headlines, one accent word, mono labels and figures, pill buttons, a glass
   header, alternating bands and one dark "stage" block per page. Its own
   colours: stage gold (the number, the highlighter) and stave green (the
   action). Its own signature: the treble staff, five lines, E G B D F, the
   middle line in gold.

   Light and dark follow the visitor's device; [data-theme] overrides both ways.
   Fonts are served from /assets/fonts (no outside font host; works offline).

   It styles the class names the pages already use (nav-links, nav-cta,
   btn-primary, section-title, footer-content ...), so moving a page across is
   mostly deleting that page's own copy of the same rules.
   ========================================================================== */

/* ── Fonts (SIL Open Font License, see /assets/fonts/OFL.txt) ── */
@font-face { font-family: "Big Shoulders Display"; font-style: normal; font-weight: 600 900; font-display: swap;
  src: url(/assets/fonts/big-shoulders-display-latin.woff2) format("woff2"); }
@font-face { font-family: "Schibsted Grotesk"; font-style: normal; font-weight: 400 700; font-display: swap;
  src: url(/assets/fonts/schibsted-grotesk-latin.woff2) format("woff2"); }
@font-face { font-family: "Schibsted Grotesk"; font-style: italic; font-weight: 400 700; font-display: swap;
  src: url(/assets/fonts/schibsted-grotesk-italic-latin.woff2) format("woff2"); }
@font-face { font-family: "DM Mono"; font-style: normal; font-weight: 400; font-display: swap;
  src: url(/assets/fonts/dm-mono-400-latin.woff2) format("woff2"); }
@font-face { font-family: "DM Mono"; font-style: normal; font-weight: 500; font-display: swap;
  src: url(/assets/fonts/dm-mono-500-latin.woff2) format("woff2"); }

/* ── Tokens: light ── */
:root {
  --bg: #F1F0EC;          /* chart paper */
  --surface: #FFFFFF;     /* cards */
  --surface-2: #E6E4DD;   /* bands */
  --ink: #15140F;
  --muted: #5E5B52;
  --line: #D6D3CA;
  --green: #17624A;       /* stave green: buttons, the accent word */
  --on-green: #FFFFFF;
  --green-soft: #DCEBE3;
  --gold: #E3B23C;        /* stage gold: fills, the highlighter, the number */
  --on-gold: #1C1503;
  --gold-text: #7E5C10;   /* gold as text on paper and bands (AA) */
  --stage: #15140F;       /* the one dark block */
  --on-stage: #F1F0EC;
  --stage-muted: #A6A396;
  --stage-line: #34332C;
  --stage-gold: #E3B23C;  /* gold that reads on the stage */
  --ok: #1A6A43;
  --warn: #8C5507;   /* AA on paper, bands and cards */
  --bad: #B23A2B;
  --scrim: rgba(21, 20, 15, .5);
  --shadow: 0 1px 2px rgba(21, 20, 15, .06), 0 10px 28px -14px rgba(21, 20, 15, .22);

  --display: "Big Shoulders Display", "Arial Narrow", Impact, sans-serif;
  --body: "Schibsted Grotesk", -apple-system, "Segoe UI", Verdana, sans-serif;
  --mono: "DM Mono", ui-monospace, Menlo, Consolas, monospace;

  --r: 18px;
  --r-sm: 12px;
  --max: 1160px;
  --gutter: max(16px, env(safe-area-inset-left, 0px));
  --gutter-r: max(16px, env(safe-area-inset-right, 0px));
  --section: clamp(56px, 8vw, 96px);
  --header-h: 64px;

  /* The old names, so a page's leftover rules still land while it moves
     across. Gold as text should use --gold-text: plain --gold is a fill. */
  --dark: var(--bg);
  --dark-surface: var(--surface-2);
  --dark-card: var(--surface);
  --text-primary: var(--ink);
  --text-secondary: var(--muted);
  --text-muted: var(--muted);
  --gold-light: var(--gold);
  --radius: var(--r-sm);

  color-scheme: light;
}

/* ── Tokens: dark (the device's setting, unless the page says light) ── */
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #0E0F0C; --surface: #171814; --surface-2: #20221C;
    --ink: #F0EEE6; --muted: #A6A396; --line: #2E3029;
    --green: #5BC79A; --on-green: #06140E; --green-soft: #17302A;
    --gold: #E8B84A; --on-gold: #1C1503; --gold-text: #E8B84A;
    --stage: #F0EEE6; --on-stage: #15140F; --stage-muted: #5E5B52; --stage-line: #D6D3CA; --stage-gold: #7E5C10;
    --ok: #4CC98A; --warn: #F0B24A; --bad: #FF7A66;
    --scrim: rgba(0, 0, 0, .55);
    --shadow: 0 1px 2px rgba(0, 0, 0, .4), 0 10px 28px -14px rgba(0, 0, 0, .7);
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #0E0F0C; --surface: #171814; --surface-2: #20221C;
  --ink: #F0EEE6; --muted: #A6A396; --line: #2E3029;
  --green: #5BC79A; --on-green: #06140E; --green-soft: #17302A;
  --gold: #E8B84A; --on-gold: #1C1503; --gold-text: #E8B84A;
  --stage: #F0EEE6; --on-stage: #15140F; --stage-muted: #5E5B52; --stage-line: #D6D3CA; --stage-gold: #7E5C10;
  --ok: #4CC98A; --warn: #F0B24A; --bad: #FF7A66;
  --scrim: rgba(0, 0, 0, .55);
  --shadow: 0 1px 2px rgba(0, 0, 0, .4), 0 10px 28px -14px rgba(0, 0, 0, .7);
  color-scheme: dark;
}

/* ── Base ── */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 400 17px/1.55 var(--body);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
img, svg, video { max-width: 100%; height: auto; }
/* The hidden attribute always wins over the display rules below (cards, grids). */
[hidden] { display: none !important; }
a { color: inherit; text-underline-offset: .18em; text-decoration-thickness: 1px; }
p a, li a { color: var(--green); }
::selection { background: var(--gold); color: var(--on-gold); }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; border-radius: 4px; }
hr { border: 0; border-top: 1px solid var(--line); margin: 2rem 0; }

/* ── Type ── */
h1, h2, h3, .display, .h1, .h2, .h3, .section-title {
  font-family: var(--display);
  text-transform: uppercase;
  line-height: .95;
  letter-spacing: .005em;
  text-wrap: balance;
  margin: 0;
  color: var(--ink);
}
h1, .h1 { font-weight: 900; font-size: clamp(2.9rem, 8vw, 6.4rem); }
h2, .h2, .section-title { font-weight: 900; font-size: clamp(2.2rem, 5.4vw, 4rem); }
h3, .h3 { font-weight: 800; font-size: 1.55rem; line-height: 1; }
h4 { font: 700 1.05rem/1.3 var(--body); margin: 0; }
/* Longer lines read in sentence case (Paul, 2026-10-21: uppercase for short headings only). */
.sentence { text-transform: none; letter-spacing: 0; line-height: 1.02; }
h1 em, h2 em, h3 em, .accent { font-style: normal; color: var(--green); }
/* The gold band covers the letters, not the font's full line box, so it never
   touches the line above (Paul, 2026-10-21). */
.hl {
  background: linear-gradient(to bottom, transparent 0 .1em, var(--gold) .1em calc(100% - .13em), transparent calc(100% - .13em));
  color: var(--on-gold);
  padding: 0 .1em;
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
}
p { margin: 0; }
.lede, .section-desc, .subtext { font-size: 1.18rem; line-height: 1.5; color: var(--muted); max-width: 60ch; }
.small, small { font-size: .86rem; }
.muted { color: var(--muted); }
.mono, .num { font-family: var(--mono); font-variant-numeric: tabular-nums; }
.prose { max-width: 68ch; display: flex; flex-direction: column; gap: 1.1em; }
.prose h2 { font-size: clamp(1.9rem, 4vw, 2.6rem); margin-top: .6em; }
.prose h3 { margin-top: .4em; }
.prose ul, .prose ol { margin: 0; padding-left: 1.25em; display: flex; flex-direction: column; gap: .4em; }

/* Eyebrow: a mono label in gold, opened by the staff. */
.eyebrow, .section-label, .hero-label {
  display: flex;
  align-items: center;
  gap: 10px;
  font: 500 .76rem/1.2 var(--mono);
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--gold-text);
  margin: 0;
}
.eyebrow.plain, .section-label.plain { color: var(--muted); }

/* ── The treble staff: five lines, E G B D F, the middle (B) in gold ── */
.staff {
  --staff-w: 56px;
  flex: none;
  display: inline-block;
  width: var(--staff-w);
  height: 13.5px;
  background:
    linear-gradient(var(--ink), var(--ink)) 0 0 / 100% 1.5px no-repeat,
    linear-gradient(var(--ink), var(--ink)) 0 3px / 100% 1.5px no-repeat,
    linear-gradient(var(--gold), var(--gold)) 0 6px / 100% 1.5px no-repeat,
    linear-gradient(var(--ink), var(--ink)) 0 9px / 100% 1.5px no-repeat,
    linear-gradient(var(--ink), var(--ink)) 0 12px / 100% 1.5px no-repeat;
  opacity: .9;
}
.staff.sm { --staff-w: 18px; height: 10px; background-position: 0 0, 0 2.1px, 0 4.25px, 0 6.4px, 0 8.5px; }

/* ── Layout ── */
.container, .wrap {
  width: 100%;
  max-width: var(--max);
  margin-inline: auto;
  padding-left: var(--gutter);
  padding-right: var(--gutter-r);
}
.narrow { max-width: 760px; }
section, .section { padding-block: var(--section); }
.band { background: var(--surface-2); }
.stack { display: flex; flex-direction: column; gap: 18px; }
.centred { text-align: center; align-items: center; }
.centred .section-desc, .centred .lede { margin-inline: auto; }
.stack-lg { display: flex; flex-direction: column; gap: 32px; }
.row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.section-head { display: flex; flex-direction: column; gap: 16px; margin-bottom: 40px; }
.grid-2, .grid-3, .grid-4 { display: grid; gap: 20px; }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 960px) { .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 820px) { .grid-3 { grid-template-columns: 1fr; } }
@media (max-width: 680px) { .grid-2, .grid-4 { grid-template-columns: 1fr; } }

/* ── Header (the same markup every page already has) ── */
body::before {
  content: "";
  position: fixed;
  inset: 0 0 auto;
  height: env(safe-area-inset-top, 0px);
  z-index: 101;
  background: var(--bg);
}
nav.site, body > nav, header > nav {
  position: sticky;
  top: env(safe-area-inset-top, 0px);
  z-index: 100;
  display: flex;
  align-items: center;
  gap: 20px;
  min-height: var(--header-h);
  padding-left: max(20px, env(safe-area-inset-left, 0px));
  padding-right: max(20px, env(safe-area-inset-right, 0px));
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.nav-logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font: 900 1.45rem/1 var(--display);
  text-transform: uppercase;
  letter-spacing: .02em;
  color: var(--ink);
  text-decoration: none;
  white-space: nowrap;
}
.nav-logo::before {
  content: "";
  width: 18px;
  height: 10px;
  background:
    linear-gradient(var(--ink), var(--ink)) 0 0 / 100% 1.5px no-repeat,
    linear-gradient(var(--ink), var(--ink)) 0 2.1px / 100% 1.5px no-repeat,
    linear-gradient(var(--gold), var(--gold)) 0 4.25px / 100% 1.5px no-repeat,
    linear-gradient(var(--ink), var(--ink)) 0 6.4px / 100% 1.5px no-repeat,
    linear-gradient(var(--ink), var(--ink)) 0 8.5px / 100% 1.5px no-repeat;
}
.nav-links {
  list-style: none;
  margin: 0 0 0 auto;
  padding: 0;
  display: flex;
  align-items: center;
  gap: 20px;
}
.nav-links a {
  color: var(--muted);
  text-decoration: none;
  font: 500 .92rem/1 var(--body);
  white-space: nowrap;
  padding-block: 6px;
  transition: color .15s;
}
.nav-links a:hover { color: var(--ink); }
.nav-links a[aria-current="page"] { color: var(--ink); box-shadow: inset 0 -2px 0 var(--gold); }
.nav-links .nav-cta, .nav-cta {
  display: inline-flex;
  align-items: center;
  background: var(--green);
  color: var(--on-green);
  border-radius: 999px;
  padding: 10px 18px;
  font-weight: 600;
  box-shadow: none;
}
.nav-links .nav-cta:hover { color: var(--on-green); transform: translateY(-1px); }
.mobile-toggle {
  display: none;
  margin-left: auto;
  background: none;
  border: 0;
  padding: 8px;
  margin-right: -8px;
  cursor: pointer;
}
.mobile-toggle span { display: block; width: 22px; height: 2px; margin: 5px 0; background: var(--ink); border-radius: 2px; }
@media (max-width: 1180px) {
  .mobile-toggle { display: block; }
  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 8px max(20px, env(safe-area-inset-right, 0px)) 20px max(20px, env(safe-area-inset-left, 0px));
    background: var(--bg);
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow);
    max-height: calc(100dvh - var(--header-h));
    overflow-y: auto;
  }
  .nav-links.open { display: flex; }
  .nav-links li { border-top: 1px solid var(--line); }
  .nav-links li:first-child { border-top: 0; }
  .nav-links li a { display: block; padding: 14px 0; font-size: 1.05rem; color: var(--ink); }
  .nav-links li a[aria-current="page"] { box-shadow: none; color: var(--gold-text); }
  .nav-links li:last-child { border-top: 0; padding-top: 12px; }
  .nav-links li a.nav-cta { display: inline-flex; padding: 13px 22px; color: var(--on-green); }
}

/* A short header (the join pages: two links, no menu button) keeps its links
   in the bar at every width instead of folding them away. */
@media (max-width: 1180px) {
  nav.short .nav-links { display: flex; position: static; flex-direction: row; align-items: center; gap: 16px; padding: 0; background: none; border: 0; box-shadow: none; max-height: none; overflow: visible; }
  nav.short .nav-links li { border: 0; padding: 0; }
  nav.short .nav-links li a { display: inline; padding: 6px 0; font-size: .9rem; color: var(--muted); }
}
@media (max-width: 520px) {
  /* When the logo and the two links don't fit on one line, the links take a
     second line rather than running off the edge. */
  nav.short { flex-wrap: wrap; row-gap: 2px; padding-block: 10px; }
  nav.short .nav-logo { font-size: 1.15rem; }
  nav.short .nav-links { gap: 14px; flex-wrap: wrap; }
  nav.short .nav-links li a { font-size: .84rem; }
}

/* A page's own section links, under the header (Sixteen, Space). */
.subnav { background: var(--surface-2); border-bottom: 1px solid var(--line); }
.subnav-in {
  display: flex;
  align-items: center;
  gap: 24px;
  overflow-x: auto;
  scrollbar-width: none;
  padding-left: var(--gutter);
  padding-right: var(--gutter-r);
  max-width: var(--max);
  margin-inline: auto;
}
.subnav-in::-webkit-scrollbar { display: none; }
.subnav-title { font: 800 1.05rem/1 var(--display); text-transform: uppercase; white-space: nowrap; padding: 14px 0; }
.subnav a { font: 500 .74rem/1 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); text-decoration: none; white-space: nowrap; padding: 14px 0; }
.subnav a:hover { color: var(--ink); }
.subnav .subnav-cta { margin-left: auto; color: var(--green); border: 1.5px solid var(--green); border-radius: 999px; padding: 7px 14px; }

/* ── Buttons: pills ── */
.btn, .btn-primary, .btn-secondary, .btn-gold {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: 999px;
  padding: 14px 24px;
  font: 600 1rem/1.1 var(--body);
  text-decoration: none;
  text-align: center;
  cursor: pointer;
  border: 2px solid var(--ink);
  background: transparent;
  color: var(--ink);
  transition: transform .15s, background-color .15s;
}
.btn:hover, .btn-primary:hover, .btn-secondary:hover, .btn-gold:hover { transform: translateY(-1px); }
.btn:active, .btn-primary:active, .btn-secondary:active, .btn-gold:active { transform: translateY(1px); }
.btn-primary, .btn.primary { background: var(--green); border-color: var(--green); color: var(--on-green); }
.btn-gold, .btn.gold { background: var(--gold); border-color: var(--gold); color: var(--on-gold); }
.btn-secondary:hover, .btn.ghost:hover { background: var(--surface); }
.btn-small, .btn-sm, .btn.sm { padding: 9px 16px; font-size: .9rem; }
.btn-block { display: flex; width: 100%; }
.btn[disabled], .btn[aria-disabled="true"], .btn-primary[aria-disabled="true"] { opacity: .55; cursor: not-allowed; transform: none; }
.hero-buttons, .cta-row { display: flex; flex-wrap: wrap; gap: 12px; }
.ticks { display: flex; flex-wrap: wrap; gap: 8px 20px; font-size: .88rem; color: var(--muted); list-style: none; margin: 0; padding: 0; }
.ticks > *::before { content: ""; display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: var(--ok); margin-right: 8px; vertical-align: 1px; }

/* ── Hero: words left, an object right ── */
.hero { padding-block: clamp(48px, 7vw, 96px) var(--section); }
.hero-split {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, .85fr);
  gap: clamp(32px, 5vw, 64px);
  align-items: center;
}
.hero-content { display: flex; flex-direction: column; gap: 26px; }
@media (max-width: 900px) { .hero-split { grid-template-columns: 1fr; } }

/* A photo as a framed plate, beside the words rather than behind them. */
.plate {
  position: relative;
  margin: 0;
  border-radius: var(--r);
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--surface-2);
  box-shadow: var(--shadow);
  aspect-ratio: 4 / 5;
  max-width: 100%;
}
.plate.wide { aspect-ratio: 16 / 10; }
.plate img { display: block; width: 100%; height: 100%; object-fit: cover; }
.plate figcaption {
  position: absolute;
  left: 12px;
  bottom: 12px;
  font: 500 .7rem/1 var(--mono);
  letter-spacing: .1em;
  text-transform: uppercase;
  background: var(--bg);
  color: var(--ink);
  border-radius: 999px;
  padding: 7px 11px;
}

/* ── Cards ── */
.card, .key-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r);
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-width: 0;
}
.card p, .key-card p { color: var(--muted); }
.card.lift, .key-card { transition: transform .15s, box-shadow .15s; }
.card.lift:hover, .key-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.card.picked { border: 2px solid var(--green); }
.key-number {
  font: 900 3.2rem/.85 var(--display);
  color: var(--gold-text);
}
.tag, .chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  align-self: flex-start;
  font: 500 .7rem/1 var(--mono);
  letter-spacing: .08em;
  text-transform: uppercase;
  border-radius: 999px;
  padding: 6px 10px;
  background: var(--surface-2);
  color: var(--muted);
}
.tag.green { background: var(--green-soft); color: var(--green); }
.tag.gold { background: var(--gold); color: var(--on-gold); }

/* A grid of cells divided by hairlines. */
.hairline-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--r);
  overflow: hidden;
}
.hairline-grid > * { background: var(--surface); padding: 24px; display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.hairline-grid > * p { color: var(--muted); font-size: .96rem; }
@media (max-width: 900px) { .hairline-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .hairline-grid { grid-template-columns: 1fr; } }

/* Three columns under heavy rules; .gold marks the one that matters. */
.trio { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; }
.trio > * { border-top: 4px solid var(--ink); padding-top: 16px; display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.trio > .gold { border-top-color: var(--gold); }
.trio p { color: var(--muted); font-size: .96rem; }
@media (max-width: 820px) { .trio { grid-template-columns: 1fr; } }

/* ── The number: a calculator result, a price, the audit credit ── */
.numcard {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r);
  padding: 22px;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  gap: 16px;
  min-width: 0;
}
.numcard-head { display: flex; justify-content: space-between; gap: 12px; font: 500 .72rem/1.2 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.big-num {
  font: 900 clamp(3.2rem, 7vw, 4.8rem)/.9 var(--display);
  font-variant-numeric: tabular-nums;
  letter-spacing: .01em;
  color: var(--ink);
}
.big-num small { font: 500 .9rem var(--mono); color: var(--muted); letter-spacing: 0; margin-left: 6px; }
.receipt { display: grid; font: 400 .88rem/1.3 var(--mono); font-variant-numeric: tabular-nums; margin: 0; padding: 0; list-style: none; }
.receipt > * { display: flex; justify-content: space-between; gap: 12px; padding: 9px 0; border-top: 1px solid var(--line); }
.receipt > .total { font-weight: 500; border-top: 2px solid var(--ink); }
.receipt .plus { color: var(--ok); }
.offer-ride { border-top: 2px solid var(--ink); padding-top: 14px; display: flex; flex-direction: column; gap: 10px; }
.offer-ride p { font-size: .94rem; color: var(--muted); }
.example-note { font-size: .78rem; color: var(--muted); }

/* ── The stage: one dark block per page, set like a bill ── */
.stage {
  background: var(--stage);
  color: var(--on-stage);
  border-radius: 22px;
  padding: clamp(28px, 5vw, 56px);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 22px;
  text-align: center;
}
.stage h2, .stage h3, .stage .display { color: var(--on-stage); }
.stage h2 { font-size: clamp(2.5rem, 7vw, 5.6rem); line-height: .88; }
.stage em, .stage .g { font-style: normal; color: var(--stage-gold); }
.stage .eyebrow { color: var(--stage-muted); justify-content: center; }
.stage p { color: var(--stage-muted); max-width: 56ch; }
.bill {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 6px 14px;
  width: 100%;
  margin: 0;
  padding: 16px 0;
  list-style: none;
  border-block: 1px solid var(--stage-line);
  font: 800 1.35rem/1.1 var(--display);
  text-transform: uppercase;
}
.bill > li + li::before { content: "·"; color: var(--stage-gold); margin-right: 14px; }
.stage-foot { font: 500 .72rem/1.5 var(--mono); letter-spacing: .16em; text-transform: uppercase; color: var(--stage-muted); }
.stage .staff {
  background:
    linear-gradient(var(--on-stage), var(--on-stage)) 0 0 / 100% 1.5px no-repeat,
    linear-gradient(var(--on-stage), var(--on-stage)) 0 3px / 100% 1.5px no-repeat,
    linear-gradient(var(--stage-gold), var(--stage-gold)) 0 6px / 100% 1.5px no-repeat,
    linear-gradient(var(--on-stage), var(--on-stage)) 0 9px / 100% 1.5px no-repeat,
    linear-gradient(var(--on-stage), var(--on-stage)) 0 12px / 100% 1.5px no-repeat;
}
.stage .btn-primary, .stage .btn.primary { background: var(--gold); border-color: var(--gold); color: var(--on-gold); }

/* ── Run sheet: a table whose first column is the when ── */
.run-sheet { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); overflow-x: auto; }
.run-sheet table { width: 100%; border-collapse: collapse; }
.run-sheet th, .run-sheet td { text-align: left; vertical-align: top; padding: 13px 18px; border-top: 1px solid var(--line); font-size: .95rem; }
.run-sheet thead th { border-top: 0; font: 500 .7rem var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.run-sheet td:first-child, .run-sheet th[scope="row"] { font: 500 .82rem var(--mono); color: var(--green); white-space: nowrap; }

/* A list of when/what pairs, without a table. */
.cue-list { list-style: none; margin: 0; padding: 0; border-bottom: 1px solid var(--line); }
.cue-list > li { display: grid; grid-template-columns: 120px minmax(0, 1fr); gap: 16px; padding: 14px 0; border-top: 1px solid var(--line); }
.cue-list .cue { font: 500 .74rem/1.6 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.cue-list .now .cue { color: var(--green); }
@media (max-width: 520px) { .cue-list > li { grid-template-columns: 1fr; gap: 4px; } }

/* ── The five keys on the staff ── */
.keys-staff { list-style: none; margin: 0; padding: 0; display: grid; }
.keys-staff > li {
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr) auto;
  gap: 4px 20px;
  align-items: baseline;
  padding: 18px 0;
  border-top: 1.5px solid var(--ink);
}
.keys-staff > li:nth-child(3) { border-top-color: var(--gold); }
.keys-staff > li:last-child { border-bottom: 1.5px solid var(--ink); }
.keys-staff .k { font: 900 2.8rem/.8 var(--display); color: var(--ink); }
.keys-staff .name { font: 800 1.6rem/1 var(--display); text-transform: uppercase; }
.keys-staff .line { color: var(--muted); grid-column: 2; }
.keys-staff .line.sub { font: 500 .74rem/1.4 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--gold-text); }
.keys-staff .desc { grid-column: 2 / -1; color: var(--muted); max-width: 64ch; margin-top: 6px; }
@media (max-width: 560px) { .keys-staff .desc { grid-column: 1 / -1; } }
.keys-staff .when { font: 500 .72rem var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); grid-row: 1; grid-column: 3; }
@media (max-width: 560px) { .keys-staff > li { grid-template-columns: 48px minmax(0, 1fr); } .keys-staff .when { grid-column: 2; grid-row: auto; } }

/* ── Ticker: a mono strip that moves (and holds still for reduced motion) ── */
.ticker { overflow: hidden; border-block: 1px solid var(--line); background: var(--surface); }
.ticker-track { display: flex; width: max-content; gap: 40px; padding: 12px 0; animation: pks-ticker 60s linear infinite; }
.ticker-track span { font: 500 .78rem/1 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); white-space: nowrap; }
.ticker-track span::before { content: "●"; color: var(--gold); margin-right: 12px; }
@keyframes pks-ticker { to { transform: translateX(-50%); } }

/* ── FAQ ── */
.faq { border-bottom: 1px solid var(--line); }
.faq details { border-top: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 16px; padding: 18px 0; font: 700 1.05rem/1.35 var(--body); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font: 500 1.1rem/1.2 var(--mono); color: var(--green); }
.faq details[open] summary::after { content: "–"; }
.faq details > div, .faq details > p { padding: 0 0 18px; color: var(--muted); max-width: 68ch; }

/* ── Forms (the step pages) ── */
/* Field labels only: a consent tick-box label stays plain text. */
.field > label, .q > label, label.f, .label { display: block; font: 500 .74rem/1.3 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin-bottom: 6px; }
/* Zero specificity (:where), so a page's own field classes (the tools' table
   cells) override these without !important. */
:where(input[type="text"], input[type="email"], input[type="tel"], input[type="number"], input[type="url"], input[type="search"], input[type="password"], input[type="date"], input[type="time"], input[type="month"], input[type="datetime-local"], input:not([type]), select, textarea) {
  width: 100%;
  font: 400 16px/1.4 var(--body); /* 16px: no zoom on focus in iOS */
  color: var(--ink);
  background: var(--surface);
  border: 1.5px solid var(--line);
  border-radius: var(--r-sm);
  padding: 12px 14px;
}
:where(input, select, textarea):focus { outline: none; border-color: var(--green); box-shadow: 0 0 0 3px var(--green-soft); }
:where(textarea) { min-height: 120px; resize: vertical; }
:where(input, select, textarea)::placeholder { color: color-mix(in srgb, var(--muted) 70%, transparent); }
.field { display: flex; flex-direction: column; margin-bottom: 18px; }
.hint { font-size: .85rem; color: var(--muted); margin-top: 6px; }

/* ── Footer ── */
footer, .site-footer { border-top: 1px solid var(--line); padding-block: 32px calc(32px + env(safe-area-inset-bottom, 0px)); color: var(--muted); font-size: .88rem; }
.footer-content {
  max-width: var(--max);
  margin-inline: auto;
  padding-left: var(--gutter);
  padding-right: var(--gutter-r);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 24px;
}
.footer-logo { font: 900 1.2rem/1 var(--display); text-transform: uppercase; letter-spacing: .02em; color: var(--ink); }
.footer-content a { color: var(--muted); }
.footer-content a:hover { color: var(--ink); }

/* ── Motion: content is visible at rest; the fade is a bonus ── */
.fade-up { opacity: 1; transform: none; }
@media (prefers-reduced-motion: no-preference) {
  .js .fade-up:not(.visible) { opacity: 0; transform: translateY(14px); }
  .js .fade-up { transition: opacity .5s ease, transform .5s ease; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}

/* ── Print ── */
@media print {
  :root { --bg: #fff; --surface: #fff; --surface-2: #fff; --ink: #000; --muted: #333; --line: #bbb; --green: #0B4F3A; --gold-text: #6E500C; }
  nav, .mobile-toggle, .ticker, .subnav { display: none !important; }
  .stage { border: 1px solid #000; }
  body::before { display: none; }
}
