@font-face { font-family: "Bricolage Grotesque"; font-style: normal; font-weight: 500; font-display: swap; src: url("/fonts/bricolage-grotesque-500-latin-ext.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Bricolage Grotesque"; font-style: normal; font-weight: 500; font-display: swap; src: url("/fonts/bricolage-grotesque-500-latin.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Bricolage Grotesque"; font-style: normal; font-weight: 600; font-display: swap; src: url("/fonts/bricolage-grotesque-600-latin-ext.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Bricolage Grotesque"; font-style: normal; font-weight: 600; font-display: swap; src: url("/fonts/bricolage-grotesque-600-latin.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Bricolage Grotesque"; font-style: normal; font-weight: 700; font-display: swap; src: url("/fonts/bricolage-grotesque-700-latin-ext.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Bricolage Grotesque"; font-style: normal; font-weight: 700; font-display: swap; src: url("/fonts/bricolage-grotesque-700-latin.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Bricolage Grotesque"; font-style: normal; font-weight: 800; font-display: swap; src: url("/fonts/bricolage-grotesque-800-latin-ext.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Bricolage Grotesque"; font-style: normal; font-weight: 800; font-display: swap; src: url("/fonts/bricolage-grotesque-800-latin.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Instrument Sans"; font-style: italic; font-weight: 400; font-display: swap; src: url("/fonts/instrument-sans-italic-400-latin-ext.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Instrument Sans"; font-style: italic; font-weight: 400; font-display: swap; src: url("/fonts/instrument-sans-italic-400-latin.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Instrument Sans"; font-style: normal; font-weight: 400; font-display: swap; src: url("/fonts/instrument-sans-400-latin-ext.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Instrument Sans"; font-style: normal; font-weight: 400; font-display: swap; src: url("/fonts/instrument-sans-400-latin.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Instrument Sans"; font-style: normal; font-weight: 500; font-display: swap; src: url("/fonts/instrument-sans-500-latin-ext.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Instrument Sans"; font-style: normal; font-weight: 500; font-display: swap; src: url("/fonts/instrument-sans-500-latin.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Instrument Sans"; font-style: normal; font-weight: 600; font-display: swap; src: url("/fonts/instrument-sans-600-latin-ext.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Instrument Sans"; font-style: normal; font-weight: 600; font-display: swap; src: url("/fonts/instrument-sans-600-latin.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "JetBrains Mono"; font-style: normal; font-weight: 400; font-display: swap; src: url("/fonts/jetbrains-mono-400-latin-ext.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "JetBrains Mono"; font-style: normal; font-weight: 400; font-display: swap; src: url("/fonts/jetbrains-mono-400-latin.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "JetBrains Mono"; font-style: normal; font-weight: 500; font-display: swap; src: url("/fonts/jetbrains-mono-500-latin-ext.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "JetBrains Mono"; font-style: normal; font-weight: 500; font-display: swap; src: url("/fonts/jetbrains-mono-500-latin.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "JetBrains Mono"; font-style: normal; font-weight: 700; font-display: swap; src: url("/fonts/jetbrains-mono-700-latin-ext.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "JetBrains Mono"; font-style: normal; font-weight: 700; font-display: swap; src: url("/fonts/jetbrains-mono-700-latin.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
/* BoxSpeed design system: "The Timetable"
   Editorial, typographic, paper and ink, one signal colour, a colour per weekday.
   No gradients, no drop shadows, no rounded cards. Hairlines, numerals, monospace data. */

@layer tokens, base, layout, components, utilities;

@layer tokens {
  :root {
    --paper: #F4F0E8;
    --paper-2: #EBE5D8;
    --paper-3: #E1DACB;
    --ink: #121212;
    --ink-2: #3B3A37;
    --ink-3: #6E6A63;
    --line: #CFC7B6;
    --line-strong: #121212;
    --signal: #FF4E1B;
    --signal-text: #C43604;
    --signal-ink: #B32F05;
    --signal-paper: #FFE7DE;
    --ok: #1E6B3A;
    --day-mon: #C8461B; --day-tue: #3F6B2E; --day-wed: #1747C4; --day-thu: #6B2E6B; --day-fri: #0E7C7B; --day-sat: #C9930F;
    --font-display: "Bricolage Grotesque", "Arial Narrow", "Helvetica Neue", Arial, sans-serif;
    --font-text: "Instrument Sans", "Helvetica Neue", Arial, sans-serif;
    --font-mono: "JetBrains Mono", ui-monospace, "SF Mono", Menlo, Consolas, monospace;
    --measure: 64ch;
    --gutter: clamp(16px, 4vw, 48px);
    --max: 1360px;
    --radius: 2px;
    --t: 160ms cubic-bezier(.2,.7,.2,1);
    --step--1: clamp(0.82rem, 0.8rem + 0.15vw, 0.9rem);
    --step-0: clamp(1rem, 0.95rem + 0.25vw, 1.125rem);
    --step-1: clamp(1.2rem, 1.1rem + 0.5vw, 1.5rem);
    --step-2: clamp(1.5rem, 1.3rem + 1vw, 2.1rem);
    --step-3: clamp(2rem, 1.6rem + 2vw, 3.2rem);
    --step-4: clamp(2.6rem, 1.8rem + 4vw, 5.2rem);
    --step-5: clamp(3rem, 1.8rem + 6vw, 7rem);
    color-scheme: light dark;
  }
  @media (prefers-color-scheme: dark) {
    :root:not([data-theme="light"]) {
      --paper: #121212; --paper-2: #1B1A18; --paper-3: #26241F; --ink: #F4F0E8; --ink-2: #D8D2C4; --ink-3: #A39D90; --line: #3A3730; --line-strong: #F4F0E8; --signal-paper: #3A1A10; --signal-text: #FF4E1B;
    }
  }
}

@layer base {
  *, *::before, *::after { box-sizing: border-box; }
  html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
  body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--font-text); font-size: var(--step-0); line-height: 1.5; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
  body::before { content: ""; position: fixed; inset: 0; pointer-events: none; z-index: 0; opacity: .045; background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/></filter><rect width='160' height='160' filter='url(%23n)'/></svg>"); }
  img, svg, video { max-width: 100%; height: auto; display: block; }
  h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 600; line-height: 1.02; letter-spacing: -0.02em; margin: 0 0 .5em; text-wrap: balance; }
  h1 { font-size: var(--step-4); font-weight: 700; }
  h2 { font-size: var(--step-3); }
  h3 { font-size: var(--step-2); }
  h4 { font-size: var(--step-1); }
  p, li, dd, dt { max-width: var(--measure); }
  p { margin: 0 0 1em; }
  a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: .18em; }
  a:hover { color: var(--signal-ink); }
  strong { font-weight: 600; }
  small { font-size: var(--step--1); }
  hr { border: 0; border-top: 1px solid var(--line-strong); margin: 3rem 0; }
  table { border-collapse: collapse; width: 100%; font-variant-numeric: tabular-nums; }
  th, td { text-align: left; padding: .7rem .6rem; border-bottom: 1px solid var(--line); vertical-align: top; }
  th { font-family: var(--font-mono); font-size: .72rem; text-transform: uppercase; letter-spacing: .08em; font-weight: 500; color: var(--ink-3); border-bottom: 1px solid var(--line-strong); }
  code, kbd, .mono { font-family: var(--font-mono); font-size: .92em; }
  ::selection { background: var(--signal); color: #fff; }
  :focus-visible { outline: 2px solid var(--signal); outline-offset: 3px; }
  button, input, select, textarea { font: inherit; color: inherit; }
  details > summary { cursor: pointer; list-style: none; }
  details > summary::-webkit-details-marker { display: none; }
  .skip { position: absolute; left: -999px; top: 0; background: var(--ink); color: var(--paper); padding: .5rem 1rem; z-index: 100; }
  .skip:focus { left: 1rem; top: 1rem; }
}

@layer layout {
  .wrap { width: min(100% - 2 * var(--gutter), var(--max)); margin-inline: auto; }
  .section { padding-block: clamp(3rem, 8vw, 7rem); border-top: 1px solid var(--line); }
  .section--flush { border-top: 0; }
  .section-head { display: grid; grid-template-columns: auto 1fr; gap: 1rem 2rem; align-items: end; margin-bottom: clamp(1.5rem, 4vw, 3rem); }
  .section-head .num { font-family: var(--font-mono); font-size: .8rem; color: var(--ink-3); letter-spacing: .1em; }
  .section-head h2 { grid-column: 1 / -1; margin: 0; }
  .grid { display: grid; gap: clamp(1.5rem, 3vw, 3rem); }
  .grid-2 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr)); }
  .grid > * { min-width: 0; }
  .grid-3 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); }
  .grid-4 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); }
  .split { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(2rem, 5vw, 5rem); align-items: start; }
  @media (max-width: 860px) { .split { grid-template-columns: minmax(0, 1fr); } }
  .prose { max-width: var(--measure); }
  .prose h2 { margin-top: 2.5rem; font-size: var(--step-2); }
  .prose h3 { margin-top: 1.8rem; }
  .prose ul, .prose ol { padding-left: 1.2rem; }
  .prose li { margin-bottom: .35rem; }
  .flow > * + * { margin-top: 1rem; }
}

@layer components {
  /* Header */
  .site-header { position: sticky; top: 0; z-index: 50; background: color-mix(in oklab, var(--paper) 88%, transparent); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line-strong); }
  .site-header .wrap { display: flex; align-items: center; gap: 1.5rem; min-height: 64px; }
  .wordmark { font-family: var(--font-display); font-weight: 800; font-size: 1.55rem; letter-spacing: -0.04em; text-decoration: none; display: inline-flex; align-items: baseline; gap: .45rem; }
  .wordmark b { color: var(--signal-text); font-weight: 800; }
  .wordmark small { font-family: var(--font-mono); font-size: .62rem; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-3); font-weight: 500; }
  .nav { display: flex; gap: 1.25rem; margin-left: auto; align-items: center; }
  .nav a { text-decoration: none; font-size: .95rem; padding: .3rem 0; border-bottom: 1px solid transparent; }
  .nav a:hover, .nav a[aria-current="page"] { border-bottom-color: var(--ink); color: var(--ink); }
  .nav-toggle { display: none; margin-left: auto; background: none; border: 1px solid var(--line-strong); padding: .4rem .7rem; font-family: var(--font-mono); font-size: .75rem; letter-spacing: .1em; text-transform: uppercase; }
  @media (max-width: 900px) {
    .wordmark small { display: none; }
    .nav { display: none; position: absolute; left: 0; right: 0; top: 64px; background: var(--paper); border-bottom: 1px solid var(--line-strong); flex-direction: column; align-items: stretch; padding: 1rem var(--gutter) 1.5rem; gap: .2rem; }
    .nav a { padding: .7rem 0; border-bottom: 1px solid var(--line); font-size: 1.1rem; }
    .nav.open { display: flex; }
    .nav-toggle { display: inline-block; }
    .nav .btn { margin-top: .8rem; }
  }

  /* Buttons */
  .btn { display: inline-flex; align-items: center; justify-content: center; gap: .5rem; padding: .85rem 1.3rem; border: 1px solid var(--ink); background: var(--ink); color: var(--paper); text-decoration: none; font-weight: 600; font-size: .98rem; border-radius: var(--radius); cursor: pointer; transition: transform var(--t), background var(--t), color var(--t); white-space: nowrap; }
  .btn:hover { background: var(--signal); border-color: var(--signal); color: #121212; transform: translateY(-1px); }
  .btn--signal { background: var(--signal); border-color: var(--signal); color: #121212; }
  .btn--signal:hover { background: var(--signal-ink); border-color: var(--signal-ink); color: #fff; }
  .btn--ghost { background: transparent; color: var(--ink); }
  .btn--ghost:hover { background: var(--ink); color: var(--paper); }
  .btn--lg { padding: 1.05rem 1.6rem; font-size: 1.08rem; }
  .btn--sm { padding: .5rem .85rem; font-size: .85rem; }
  .btn[disabled] { opacity: .45; cursor: not-allowed; transform: none; }

  /* Hero */
  .hero { padding-block: clamp(2.5rem, 7vw, 6rem) clamp(2rem, 5vw, 4rem); position: relative; }
  .hero h1 { font-size: var(--step-5); font-weight: 800; letter-spacing: -0.035em; line-height: .95; margin-bottom: 1.2rem; }
  .hero h1 .line { display: block; }
  .hero h1 .hi { color: var(--signal-text); }
  .hero .lede { font-size: var(--step-1); max-width: 34ch; line-height: 1.35; color: var(--ink-2); margin-bottom: 1.6rem; text-wrap: pretty; }
  .hero-grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(2rem, 5vw, 5rem); align-items: end; }
  @media (max-width: 960px) { .hero-grid { grid-template-columns: minmax(0, 1fr); } }
  .kicker { font-family: var(--font-mono); font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-3); display: inline-flex; align-items: center; gap: .6rem; margin-bottom: 1.2rem; }
  .kicker::before { content: ""; width: 28px; height: 1px; background: var(--signal); }
  .proof { display: flex; flex-wrap: wrap; gap: .5rem 1.5rem; font-family: var(--font-mono); font-size: .74rem; letter-spacing: .04em; color: var(--ink-3); margin-top: 1.6rem; }
  .proof span::before { content: "+ "; color: var(--signal-text); }

  /* Postcode checker */
  .checker { display: grid; grid-template-columns: minmax(0, 1fr); gap: .6rem; max-width: 560px; min-width: 0; }
  .checker form { display: flex; gap: .5rem; align-items: stretch; min-width: 0; }
  .checker input { flex: 1 1 0; width: 0; min-width: 0; font-family: var(--font-mono); font-size: clamp(1.1rem, 1rem + 1vw, 1.6rem); text-transform: uppercase; letter-spacing: .06em; padding: .8rem 1rem; border: 1px solid var(--ink); background: var(--paper); border-radius: var(--radius); }
  .checker input::placeholder { color: var(--ink-3); text-transform: none; letter-spacing: 0; font-size: .9em; }
  .checker .hint { font-size: .82rem; color: var(--ink-3); }
  .result { min-width: 0; border: 1px solid var(--line-strong); border-radius: var(--radius); padding: 1.1rem 1.2rem; background: var(--paper-2); display: none; }
  .result.show { display: block; animation: rise .35s var(--t); }
  .result .day { font-family: var(--font-display); font-size: var(--step-3); font-weight: 800; letter-spacing: -.03em; line-height: 1; margin: .2rem 0 .3rem; }
  .result .day::after { content: ""; display: inline-block; width: .5em; height: .5em; margin-left: .3em; background: var(--day, var(--signal)); vertical-align: baseline; }
  .result .area-line { font-family: var(--font-mono); font-size: .8rem; color: var(--ink-2); }
  .result .dates { display: flex; flex-wrap: wrap; gap: .4rem; margin: .8rem 0 1rem; }
  .result .dates span { font-family: var(--font-mono); font-size: .8rem; border: 1px solid var(--line-strong); padding: .3rem .55rem; border-radius: var(--radius); }
  .result .dates span:first-child { background: var(--ink); color: var(--paper); }
  .result .actions { display: flex; flex-wrap: wrap; gap: .6rem; }
  .result.err { border-color: var(--signal-ink); background: var(--signal-paper); }
  @keyframes rise { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }

  /* Departure board */
  .board { border: 1px solid var(--line-strong); border-radius: var(--radius); background: #121212; color: #F4F0E8; font-family: var(--font-mono); overflow: hidden; }
  .board-head { display: flex; justify-content: space-between; align-items: center; padding: .7rem 1rem; font-size: .7rem; letter-spacing: .14em; text-transform: uppercase; border-bottom: 1px solid #3a3a3a; color: #bdb7aa; }
  .board-head .live { display: inline-flex; align-items: center; gap: .45rem; }
  .board-head .live::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--signal); animation: blink 1.6s infinite; }
  @keyframes blink { 50% { opacity: .25; } }
  .board-row { display: grid; grid-template-columns: 4.2rem 1fr auto; gap: .8rem; align-items: baseline; padding: .75rem 1rem; border-bottom: 1px solid #2a2a2a; text-decoration: none; color: inherit; transition: background var(--t); }
  .board-row:last-child { border-bottom: 0; }
  .board-row:hover { background: #1e1e1e; color: inherit; }
  .board-row .d { font-weight: 700; font-size: 1.05rem; letter-spacing: .04em; color: #F4F0E8; }
  /* Day colours brightened for the dark board so the codes hold 4.5:1; the raw
     --day-* values stay for chips and borders on paper. */
  .board-row.day-mon .d { color: #FF8A5C; }
  .board-row.day-tue .d { color: #8CC46A; }
  .board-row.day-wed .d { color: #8FA9FF; }
  .board-row.day-thu .d { color: #D98FD9; }
  .board-row.day-fri .d { color: #56C9C7; }
  .board-row.day-sat .d { color: #E9BE4B; }
  .board-row .r { font-family: var(--font-text); font-size: .95rem; color: #d8d2c4; }
  .board-row .n { font-size: .72rem; color: #8f897c; letter-spacing: .06em; }
  .board-row.today .n::before { content: "TODAY"; font-size: .55rem; letter-spacing: .12em; margin-right: .5rem; padding: .15rem .35rem; background: var(--signal); color: #121212; font-weight: 700; vertical-align: middle; }

  /* Day chip and stamps */
  .day-chip { display: inline-flex; align-items: center; gap: .5rem; font-family: var(--font-mono); font-size: .78rem; letter-spacing: .1em; text-transform: uppercase; padding: .35rem .6rem; border: 1px solid var(--ink); border-radius: var(--radius); }
  .day-chip::before { content: ""; width: .6rem; height: .6rem; background: var(--dc, var(--signal)); }
  .stamp { display: inline-block; font-family: var(--font-display); font-weight: 800; text-transform: uppercase; letter-spacing: .08em; font-size: .8rem; color: var(--signal-ink); border: 2px solid var(--signal-ink); padding: .3rem .6rem; transform: rotate(-4deg); border-radius: var(--radius); opacity: .9; }

  /* Ticket (pricing) */
  .ticket { position: relative; background: var(--paper-2); border: 1px solid var(--line-strong); border-radius: var(--radius); padding: 1.4rem 1.5rem; }
  .ticket::before, .ticket::after { content: ""; position: absolute; left: -1px; right: -1px; height: 12px; background: radial-gradient(circle at 6px 6px, var(--paper) 5px, transparent 5.5px) repeat-x; background-size: 16px 12px; }
  .ticket::before { top: -6px; }
  .ticket::after { bottom: -6px; }
  .ticket-head { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; border-bottom: 1px dashed var(--line-strong); padding-bottom: .8rem; margin-bottom: .8rem; font-family: var(--font-mono); font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-3); }
  .ticket .price { font-family: var(--font-display); font-size: var(--step-4); font-weight: 800; letter-spacing: -.03em; line-height: 1; }
  .ticket .price small { font-family: var(--font-mono); font-size: .75rem; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-3); margin-left: .4rem; }
  .ticket dl { display: grid; grid-template-columns: 1fr auto; gap: .35rem 1rem; margin: 1rem 0 0; font-variant-numeric: tabular-nums; }
  .ticket dt { color: var(--ink-2); }
  .ticket dd { margin: 0; text-align: right; font-family: var(--font-mono); font-size: .95rem; }
  .ticket dd b { font-weight: 700; }
  .ticket .total { border-top: 1px solid var(--line-strong); margin-top: .6rem; padding-top: .6rem; font-weight: 700; }

  /* Price table */
  .price-table td:nth-child(2) { font-family: var(--font-mono); white-space: nowrap; }

  /* Steps with big numerals */
  .steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); gap: 2rem; counter-reset: step; }
  .step { position: relative; padding-top: 1rem; border-top: 1px solid var(--line-strong); }
  .step::before { counter-increment: step; content: counter(step, decimal-leading-zero); font-family: var(--font-display); font-weight: 800; font-size: var(--step-4); line-height: 1; letter-spacing: -.04em; color: var(--signal-text); display: block; margin-bottom: .6rem; }
  .step h3 { font-size: var(--step-1); margin-bottom: .4rem; }
  .step p { color: var(--ink-2); font-size: .98rem; }

  /* Capsule (answer first) */
  .capsule { border-left: 3px solid var(--signal); padding: .2rem 0 .2rem 1.1rem; font-size: var(--step-1); line-height: 1.35; max-width: 60ch; margin: 1.2rem 0 2rem; text-wrap: pretty; }
  .facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 180px), 1fr)); gap: 0; border-top: 1px solid var(--line-strong); border-bottom: 1px solid var(--line-strong); margin: 1.5rem 0 2rem; }
  .facts > div { padding: .9rem .2rem; border-right: 1px solid var(--line); }
  .facts > div:last-child { border-right: 0; }
  .facts dt { font-family: var(--font-mono); font-size: .68rem; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-3); margin-bottom: .3rem; }
  .facts dd { margin: 0; font-family: var(--font-display); font-weight: 700; font-size: var(--step-1); letter-spacing: -.02em; }
  .facts dd small { font-family: var(--font-text); font-weight: 400; font-size: .85rem; color: var(--ink-2); display: block; letter-spacing: 0; }

  /* Photo treatment */
  .photo { position: relative; overflow: hidden; border-radius: var(--radius); background: var(--paper-3); aspect-ratio: 4 / 3; }
  .photo img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1) contrast(1.05); transition: filter .6s ease, transform .8s ease; }
  .photo::after { content: ""; position: absolute; inset: 0; background: var(--signal); mix-blend-mode: multiply; opacity: .55; transition: opacity .6s ease; pointer-events: none; }
  .photo:hover img { filter: grayscale(0); transform: scale(1.02); }
  .photo:hover::after { opacity: 0; }
  .photo--tall { aspect-ratio: 3 / 4; }
  .photo--wide { aspect-ratio: 16 / 9; }
  .photo .credit { position: absolute; right: .5rem; bottom: .4rem; z-index: 2; font-family: var(--font-mono); font-size: .6rem; letter-spacing: .06em; color: #fff; opacity: .7; text-decoration: none; pointer-events: none; }
  .photo--plain::after { display: none; }
  .photo--plain img { filter: none; }

  /* Segment tiles */
  .tile { display: grid; gap: .8rem; text-decoration: none; color: inherit; }
  .tile h3 { font-size: var(--step-1); margin: 0; }
  .tile p { color: var(--ink-2); font-size: .95rem; margin: 0; }
  .tile .meta { font-family: var(--font-mono); font-size: .7rem; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-3); }
  .tile:hover h3 { color: var(--signal-ink); }

  /* Area grid (typographic map) */
  .area-map { display: grid; grid-template-columns: repeat(auto-fill, minmax(72px, 1fr)); gap: 4px; }
  .area-map a { display: grid; gap: .1rem; padding: .55rem .5rem; text-decoration: none; border: 1px solid var(--line); border-left: 4px solid var(--dc, var(--signal)); border-radius: var(--radius); background: var(--paper-2); transition: background var(--t), border-color var(--t); min-height: 58px; }
  .area-map a:hover { background: var(--ink); color: var(--paper); border-color: var(--ink); }
  .area-map .code { font-family: var(--font-mono); font-weight: 700; font-size: 1rem; letter-spacing: .02em; }
  .area-map .nm { font-size: .68rem; line-height: 1.15; color: var(--ink-2); overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
  .area-map a:hover .nm { color: var(--paper-2); }
  .legend { display: flex; flex-wrap: wrap; gap: .5rem 1.2rem; font-family: var(--font-mono); font-size: .72rem; letter-spacing: .08em; text-transform: uppercase; margin-bottom: 1rem; }
  .legend span { display: inline-flex; align-items: center; gap: .45rem; }
  .legend i { width: 12px; height: 12px; background: var(--dc); display: inline-block; }

  /* Marquee */
  .marquee { overflow: hidden; border-top: 1px solid var(--line-strong); border-bottom: 1px solid var(--line-strong); padding: .7rem 0; font-family: var(--font-mono); font-size: .8rem; letter-spacing: .1em; text-transform: uppercase; white-space: nowrap; }
  .marquee-track { display: inline-block; animation: marquee 80s linear infinite; }
  .marquee-track span { margin-right: 3rem; }
  .marquee-track span::before { content: "\25A0"; color: var(--dc, var(--signal)); margin-right: .8rem; font-size: .6rem; vertical-align: middle; }
  @keyframes marquee { to { transform: translateX(-50%); } }
  @media (prefers-reduced-motion: reduce) { .marquee-track { animation: none; } .board-head .live::before { animation: none; } }

  /* Compare table */
  .compare th:first-child, .compare td:first-child { font-weight: 600; }
  .compare td.yes { color: var(--ok); font-weight: 600; }
  .compare td.no { color: var(--ink-3); }
  .compare td.us { background: var(--signal-paper); }

  /* FAQ */
  .faq { border-top: 1px solid var(--line-strong); }
  .faq details { border-bottom: 1px solid var(--line); }
  .faq summary { display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: 1rem 0; font-family: var(--font-display); font-weight: 600; font-size: var(--step-1); letter-spacing: -.01em; }
  .faq summary::after { content: "+"; font-family: var(--font-mono); font-size: 1.4rem; color: var(--signal-text); flex-shrink: 0; transition: transform var(--t); }
  .faq details[open] summary::after { transform: rotate(45deg); }
  .faq .a { padding: 0 0 1.2rem; color: var(--ink-2); max-width: var(--measure); }

  /* Lists of places */
  .places { columns: 3; column-gap: 2rem; font-size: .95rem; }
  @media (max-width: 760px) { .places { columns: 2; } }
  @media (max-width: 460px) { .places { columns: 1; } }
  .places a { display: block; padding: .18rem 0; text-decoration: none; border-bottom: 1px solid var(--line); break-inside: avoid; }
  .places a:hover { color: var(--signal-ink); }
  .places .code { font-family: var(--font-mono); font-size: .78rem; color: var(--ink-3); margin-left: .5rem; }
  .chips { display: flex; flex-wrap: wrap; gap: .4rem; }
  .chips a, .chips span { font-family: var(--font-mono); font-size: .78rem; padding: .3rem .55rem; border: 1px solid var(--line); text-decoration: none; border-radius: var(--radius); }
  .chips a:hover { border-color: var(--ink); background: var(--ink); color: var(--paper); }

  /* Calculator */
  .calc { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 2rem; align-items: start; }
  @media (max-width: 860px) { .calc { grid-template-columns: minmax(0, 1fr); } }
  .stepper { display: grid; grid-template-columns: 1fr auto; gap: 1rem; align-items: center; padding: .8rem 0; border-bottom: 1px solid var(--line); }
  .stepper label { font-weight: 600; }
  .stepper small { display: block; color: var(--ink-3); font-weight: 400; }
  .stepper .ctl { display: inline-flex; border: 1px solid var(--ink); border-radius: var(--radius); }
  .stepper button { width: 44px; height: 44px; background: none; border: 0; font-family: var(--font-mono); font-size: 1.2rem; cursor: pointer; }
  .stepper button:hover { background: var(--ink); color: var(--paper); }
  .stepper output, .stepper input[type="number"] { width: 3.2rem; text-align: center; font-family: var(--font-mono); font-size: 1.05rem; border: 0; border-left: 1px solid var(--ink); border-right: 1px solid var(--ink); background: var(--paper); line-height: 44px; -moz-appearance: textfield; }
  .stepper input::-webkit-outer-spin-button, .stepper input::-webkit-inner-spin-button { -webkit-appearance: none; }
  .toggle { display: flex; align-items: center; gap: .7rem; padding: .8rem 0; border-bottom: 1px solid var(--line); cursor: pointer; }
  .toggle input { width: 1.1rem; height: 1.1rem; accent-color: var(--signal); }
  .seg { display: inline-flex; border: 1px solid var(--ink); border-radius: var(--radius); overflow: hidden; }
  .seg label { padding: .55rem .9rem; cursor: pointer; font-family: var(--font-mono); font-size: .8rem; border-right: 1px solid var(--ink); }
  .seg label:last-child { border-right: 0; }
  .seg input, .field .seg input { position: absolute; opacity: 0; pointer-events: none; width: 1px; height: 1px; margin: 0; }
  .seg input:checked + label { background: var(--ink); color: var(--paper); }
  .examples { display: flex; flex-wrap: wrap; gap: .4rem; margin-bottom: 1rem; }
  .examples button { font-family: var(--font-mono); font-size: .75rem; padding: .35rem .6rem; border: 1px solid var(--line-strong); background: none; cursor: pointer; border-radius: var(--radius); }
  .examples button:hover, .examples button[aria-pressed="true"] { background: var(--ink); color: var(--paper); }

  /* Forms */
  .form { display: grid; gap: 1rem; }
  .field { display: grid; gap: .35rem; }
  .field label { font-weight: 600; font-size: .95rem; }
  .field input, .field select, .field textarea { min-width: 0; padding: .8rem .9rem; border: 1px solid var(--ink); background: var(--paper); border-radius: var(--radius); width: 100%; }
  .field small { color: var(--ink-3); }
  .field.row { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  @media (max-width: 560px) { .field.row { grid-template-columns: minmax(0, 1fr); } }
  .notice { border: 1px solid var(--line-strong); background: var(--paper-2); padding: 1rem 1.1rem; border-radius: var(--radius); font-size: .95rem; }
  .notice--ok { border-color: var(--ok); }

  /* Wizard */
  .wizard-steps { display: flex; gap: 0; font-family: var(--font-mono); font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; border-bottom: 1px solid var(--line-strong); margin-bottom: 2rem; }
  .wizard-steps span { padding: .8rem 1rem .8rem 0; margin-right: 1rem; color: var(--ink-3); border-bottom: 2px solid transparent; margin-bottom: -1px; }
  .wizard-steps span[aria-current="step"] { color: var(--ink); border-bottom-color: var(--signal); }
  .wizard-pane { display: none; }
  .wizard-pane.active { display: block; }
  .wizard-nav { display: flex; justify-content: space-between; gap: 1rem; margin-top: 2rem; }

  /* Footer */
  .site-footer { border-top: 1px solid var(--line-strong); padding-block: 3rem 2rem; font-size: .92rem; }
  .footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 2rem; }
  @media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
  @media (max-width: 500px) { .footer-grid { grid-template-columns: 1fr; } }
  .site-footer h4, .site-footer .footer-head { font-family: var(--font-mono); font-size: .7rem; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-3); margin-bottom: .8rem; }
  .site-footer ul { list-style: none; padding: 0; margin: 0; }
  .site-footer li { margin-bottom: .4rem; }
  .site-footer a { text-decoration: none; }
  .site-footer a:hover { text-decoration: underline; }
  .footer-days { display: grid; gap: .3rem; font-family: var(--font-mono); font-size: .78rem; }
  .footer-days a { display: inline-flex; gap: .5rem; align-items: center; min-height: 24px; }
  .footer-days i { width: 10px; height: 10px; background: var(--dc); display: inline-block; }
  .legal { margin-top: 2.5rem; padding-top: 1rem; border-top: 1px solid var(--line); font-size: .78rem; color: var(--ink-3); display: flex; flex-wrap: wrap; gap: .5rem 1.5rem; }

  /* Mobile sticky bar */
  .sticky-cta { position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; display: none; gap: .5rem; padding: .6rem var(--gutter); background: var(--paper); border-top: 1px solid var(--line-strong); }
  .sticky-cta .btn { flex: 1; }
  @media (max-width: 760px) { .sticky-cta { display: flex; } body { padding-bottom: 72px; } }

  /* Breadcrumbs */
  .crumbs { font-family: var(--font-mono); font-size: .72rem; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-3); margin: 1.2rem 0 1.4rem; }
  .crumbs a { text-decoration: none; }
  .crumbs a:hover { text-decoration: underline; }
  .crumbs span::before { content: "/"; margin: 0 .5rem; color: var(--line-strong); }
  .crumbs span:first-child::before { content: none; }

  /* Testimonial */
  .quote { border-top: 1px solid var(--line-strong); padding-top: 1rem; }
  .quote p { font-family: var(--font-display); font-size: var(--step-1); font-weight: 500; letter-spacing: -.01em; line-height: 1.25; }
  .quote cite { font-style: normal; font-family: var(--font-mono); font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-3); }

  /* Big statement */
  .statement { font-family: var(--font-display); font-size: var(--step-3); font-weight: 600; letter-spacing: -.025em; line-height: 1.05; max-width: 22ch; text-wrap: balance; }
  .statement .hi { color: var(--signal-text); }

  /* Reveal on scroll */
  .reveal { opacity: 0; transform: translateY(14px); transition: opacity .6s ease, transform .6s ease; }
  .reveal.in { opacity: 1; transform: none; }
  @media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } }
}

@layer utilities {
  .muted { color: var(--ink-3); }
  .mono { font-family: var(--font-mono); }
  .upper { text-transform: uppercase; letter-spacing: .1em; font-size: .75rem; }
  .mt-0 { margin-top: 0; } .mt-1 { margin-top: 1rem; } .mt-2 { margin-top: 2rem; } .mt-3 { margin-top: 3rem; }
  .mb-0 { margin-bottom: 0; } .mb-1 { margin-bottom: 1rem; } .mb-2 { margin-bottom: 2rem; }
  .center { text-align: center; }
  .nowrap { white-space: nowrap; }
  .visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .day-mon { --dc: var(--day-mon); } .day-tue { --dc: var(--day-tue); } .day-wed { --dc: var(--day-wed); } .day-thu { --dc: var(--day-thu); } .day-fri { --dc: var(--day-fri); } .day-sat { --dc: var(--day-sat); }
  .overflow-x { overflow-x: auto; }
}
