/* Southampton Hospitality Impact Calendar
   Swiss poster discipline: paper, ink, one signal red. */

@font-face {
  font-family: "Antonio";
  src: url("fonts/antonio-var.woff2") format("woff2");
  font-weight: 100 700;
  font-display: swap;
}
@font-face {
  font-family: "Archivo";
  src: url("fonts/archivo-var.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
}
@font-face {
  font-family: "Azeret Mono";
  src: url("fonts/azeret-var.woff2") format("woff2");
  font-weight: 300 500;
  font-display: swap;
}

:root {
  --paper: oklch(0.97 0 0);
  --frame: oklch(0.93 0 0);
  --ink: oklch(0.23 0.005 260);
  --ink-soft: oklch(0.34 0.008 260);
  --grey-mid: oklch(0.45 0 0);
  --red: oklch(0.55 0.21 28);
  --red-deep: oklch(0.45 0.19 28);
  --tier-1: oklch(0.87 0 0);
  --tier-2: oklch(0.72 0 0);
  --hairline: oklch(0.23 0.005 260 / 0.18);
  --hairline-paper: oklch(0.97 0 0 / 0.25);
  --curve: cubic-bezier(0.19, 1, 0.22, 1);
  --rail-w: 264px;
  --gutter: clamp(20px, 4vw, 56px);
  --step-0: 1rem;
  --step-1: 1.333rem;
  --step-2: 1.777rem;
  --step-3: 2.369rem;
  --step-4: 3.157rem;
  --step-5: 4.209rem;
  --z-nav: 40;
  --z-tooltip: 60;
}

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

.skip {
  position: absolute; left: -9999px; top: 8px; z-index: 100;
  background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 8px;
  font-family: "Archivo", sans-serif; font-weight: 700; text-decoration: none;
}
.skip:focus { left: 8px; }

html { background: var(--frame); }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }

body {
  font-family: "Archivo", system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}

::selection { background: var(--red); color: #fff; }

h1, h2, h3 { text-wrap: balance; line-height: 1.02; font-weight: 700; }
p { max-width: 68ch; text-wrap: pretty; }
a { color: inherit; }
button { font: inherit; cursor: pointer; }

.display { font-family: "Antonio", "Archivo", sans-serif; text-transform: uppercase; letter-spacing: -0.01em; }
.mono { font-family: "Azeret Mono", monospace; font-size: 0.75rem; letter-spacing: 0.05em; text-transform: uppercase; font-weight: 400; }
.mono-text { font-family: "Azeret Mono", monospace; font-size: 0.8125rem; letter-spacing: 0.02em; font-weight: 400; }
.rail .meta { text-transform: none; letter-spacing: 0.02em; font-size: 0.8125rem; }
.num { font-feature-settings: "tnum"; font-variant-numeric: tabular-nums; }

/* ---------- shell: fixed block rail + content ---------- */

.shell { display: grid; grid-template-columns: var(--rail-w) minmax(0, 1fr); min-height: 100dvh; }

.rail {
  position: fixed; inset: 0 auto 0 0; width: var(--rail-w);
  display: flex; flex-direction: column; gap: 8px;
  padding: 8px; background: var(--frame);
  z-index: var(--z-nav);
  view-transition-name: rail;
  overflow-y: auto; scrollbar-width: thin;   /* never clip: scroll only as a last resort */
}
.rail .brand {
  display: block; padding: 14px 14px 18px; text-decoration: none;
  border: 1px solid var(--hairline); border-radius: 10px; background: var(--paper);
}
.rail .brand .word { font-size: 1.5rem; font-weight: 700; line-height: 0.95; display: block; }
.rail .brand .word em { font-style: normal; color: var(--red); }
.rail .brand .sub { display: block; margin-top: 8px; color: var(--grey-mid); }

.rail nav { flex: 1; display: flex; flex-direction: column; min-height: 0; }
.blocks { list-style: none; padding: 0; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.blocks li { flex: 1; min-height: clamp(58px, 9.4vh, 84px); }
.blocks a {
  position: relative; display: flex; flex-direction: column; justify-content: space-between;
  height: 100%; padding: 12px 14px; border-radius: 10px; text-decoration: none;
  border: 1px solid transparent; overflow: hidden;
  transition: background 0.7s var(--curve), border-color 0.7s var(--curve);
}
.blocks .b-1 a { background: var(--red); }
.blocks .b-2 a { background: var(--ink); }
.blocks .b-3 a { background: var(--grey-mid); }
.blocks .b-4 a { background: var(--ink-soft); }
.blocks .b-5 a { background: oklch(0.28 0.008 260); }
.blocks .b-6 a { background: var(--red-deep); }
.blocks a .top { display: flex; align-items: center; justify-content: space-between; color: #fff; }
.blocks a .idx::before { counter-reset: none; }
.blocks a .idx { font-family: "Azeret Mono", monospace; font-size: 0.6875rem; letter-spacing: 0.06em; }
.blocks a .arrow { width: 14px; height: 14px; transition: transform 0.7s var(--curve); }
.blocks a .arrow path { fill: #fff; transition: fill 0.7s var(--curve); }
.blocks a .label {
  font-family: "Antonio", sans-serif; text-transform: uppercase; color: #fff;
  font-size: clamp(1.15rem, 1.4vw, 1.45rem); font-weight: 600; letter-spacing: 0.01em; line-height: 1;
  transition: color 0.7s var(--curve);
}
.blocks a:hover .arrow, .blocks a:focus-visible .arrow { transform: rotate(45deg); }
.blocks a:hover, .blocks a:focus-visible { background: var(--ink); }
.blocks .b-2 a:hover, .blocks .b-2 a:focus-visible { background: var(--red); }
.blocks a[aria-current="page"] {
  background: var(--paper); border-color: var(--ink); pointer-events: none;
}
.blocks a[aria-current="page"] .top, .blocks a[aria-current="page"] .label { color: var(--ink); }
.blocks a[aria-current="page"] .arrow { transform: rotate(45deg); }
.blocks a[aria-current="page"] .arrow path { fill: var(--ink); }
.rail .meta { padding: 10px 14px; color: var(--grey-mid); }

/* Short desktop viewports (1366x768 / 1280x720 laptops, small windows): the
   two-row blocks with index numbers overran the fixed rail and clipped with no
   scroll. Collapse each block to a single row, drop the 01/02 index, and sit
   the arrow beside the title. Kicks in below the mobile burger breakpoint's
   height, keeping the full designed rail on tall monitors. */
@media (min-width: 901px) and (max-height: 780px) {
  .rail { gap: 5px; padding: 6px; }
  .rail .brand { padding: 9px 12px 11px; }
  .rail .brand .word { font-size: 1.18rem; }
  .rail .brand .sub { margin-top: 4px; font-size: 0.66rem; }
  .blocks { gap: 5px; }
  .blocks li { flex: 1; min-height: 0; }
  .blocks a {
    flex-direction: row; align-items: center; justify-content: flex-start;
    gap: 9px; padding: 9px 14px;
  }
  .blocks a .top { order: 2; width: auto; }
  .blocks a .idx { display: none; }
  .blocks a .arrow { flex: 0 0 auto; }
  .blocks a .label { order: 1; font-size: 1.05rem; line-height: 1.02; }
  .rail .meta { padding: 7px 14px; font-size: 0.66rem; line-height: 1.35; }
}

.main { grid-column: 2; min-width: 0; background: var(--paper); border-left: 1px solid var(--hairline); }

/* mobile shell */
div.bar { display: none; }
@media (max-width: 900px) {
  .shell { grid-template-columns: 1fr; }
  .rail { display: none; }
  .rail.open { display: flex; inset: 0; width: 100%; padding-top: 64px; }
  .rail.open .brand { display: none; }
  .rail.open .blocks li { min-height: 92px; flex: 0 0 auto; }
  .main { grid-column: 1; border-left: 0; }
  div.bar {
    position: sticky; top: 0; z-index: calc(var(--z-nav) + 1);
    display: flex; align-items: center; justify-content: space-between;
    padding: 12px 16px; background: var(--paper); border-bottom: 1px solid var(--hairline);
  }
  .bar .word { font-weight: 700; text-decoration: none; font-size: 1.05rem; }
  .bar .word em { font-style: normal; color: var(--red); }
  .burger {
    border: 1px solid var(--ink); background: none; border-radius: 8px;
    padding: 8px 14px; font-family: "Azeret Mono", monospace; font-size: 0.6875rem;
    letter-spacing: 0.06em; text-transform: uppercase;
  }
  body.nav-open { overflow: hidden; }
}

/* ---------- sections ---------- */

.band { padding: clamp(48px, 7vw, 104px) var(--gutter); }
.band.tight { padding-block: clamp(32px, 4vw, 64px); }
.band.red { background: var(--red); color: #fff; }
.band.ink { background: var(--ink); color: #fff; }
.band.frame { background: var(--frame); }
.band.red ::selection, .band.ink ::selection { background: #fff; color: var(--ink); }
.band.red p, .band.ink p { color: oklch(1 0 0 / 0.92); }

.rule { border: 0; border-top: 1px solid var(--hairline); margin: 0 var(--gutter); }
.band.red .rule, .band.ink .rule { border-color: var(--hairline-paper); }

.kicker-date { color: var(--grey-mid); text-transform: none; letter-spacing: 0.02em; font-size: 0.8125rem; }
.band.red .kicker-date, .band.ink .kicker-date { color: oklch(1 0 0 / 0.75); }

.h-page {
  font-family: "Antonio", sans-serif; text-transform: uppercase;
  font-size: clamp(2.7rem, 7.2vw, 6rem); font-weight: 700; letter-spacing: -0.01em;
}
.h-sec {
  font-family: "Antonio", sans-serif; text-transform: uppercase;
  font-size: clamp(1.8rem, 3.6vw, 2.9rem); font-weight: 600; letter-spacing: 0;
}
.h-sec + p { margin-top: 16px; }
.h-page + p, p + p { margin-top: 12px; }
.lede { font-size: 1.125rem; max-width: 58ch; }

/* poster hero composition */
.poster { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(24px, 4vw, 64px); align-items: end; }
@media (max-width: 1100px) { .poster { grid-template-columns: 1fr; align-items: start; } }

/* stat rows: hairline-underlined, hard left */
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: clamp(16px, 3vw, 40px); }
.stat { border-top: 2px solid currentColor; padding-top: 10px; }
.stat .n {
  font-family: "Antonio", sans-serif; font-weight: 700; line-height: 0.9; display: block;
  font-size: clamp(2.6rem, 5.4vw, 5rem);
}
.stat .n .u { font-size: 0.45em; font-weight: 600; letter-spacing: 0.02em; }
.stat .l { display: block; margin-top: 8px; max-width: 22ch; }
.stat.hot .n { color: var(--red); }
.band.red .stat.hot .n, .band.ink .stat.hot .n { color: #fff; }

/* ---------- heat map ---------- */

.heat-wrap { overflow-x: auto; padding-bottom: 8px; }
.heat { display: grid; grid-template-columns: repeat(12, 1fr); gap: clamp(10px, 1.2vw, 18px); min-width: 900px; }
.heat .month .m-label { margin-bottom: 8px; color: var(--grey-mid); }
.heat .m-grid { display: grid; grid-template-rows: repeat(7, 1fr); grid-auto-flow: column; grid-auto-columns: 1fr; gap: 2px; }
.heat .cell {
  aspect-ratio: 1; border: 0; padding: 0; border-radius: 2px;
  background: var(--paper); box-shadow: inset 0 0 0 1px var(--hairline);
  transition: transform 0.4s var(--curve);
}
.heat .cell.t0 { background: var(--paper); }
.heat .cell.t1 { background: var(--tier-1); box-shadow: none; }
.heat .cell.t2 { background: var(--tier-2); box-shadow: none; }
.heat .cell.t3 { background: var(--red); box-shadow: none; }
.heat .cell.t4 { background: var(--ink); box-shadow: none; }
.heat .cell.proj { background-image: repeating-linear-gradient(45deg, transparent 0 2px, oklch(1 0 0 / 0.5) 2px 4px); }
.heat .cell.today { outline: 2px solid var(--red); outline-offset: 1px; }
.heat .cell:hover, .heat .cell:focus-visible { transform: scale(1.35); position: relative; z-index: 2; }

.legend { display: flex; flex-wrap: wrap; gap: 18px; align-items: center; }
.legend .key { display: inline-flex; align-items: center; gap: 7px; }
.legend .sw { width: 13px; height: 13px; border-radius: 2px; display: inline-block; box-shadow: inset 0 0 0 1px var(--hairline); }

/* tooltip */
.tip {
  position: fixed; z-index: var(--z-tooltip); pointer-events: none;
  background: var(--ink); color: #fff; border-radius: 8px;
  padding: 10px 12px; max-width: 280px; font-size: 0.8125rem; line-height: 1.45;
  opacity: 0; transform: translateY(4px); transition: opacity 0.18s ease-out, transform 0.18s ease-out;
}
.tip.on { opacity: 1; transform: none; }
.tip .t-date { font-family: "Azeret Mono", monospace; font-size: 0.625rem; letter-spacing: 0.06em; text-transform: uppercase; opacity: 0.75; }
.tip .t-tier { font-weight: 700; }
.tip .t-tier.c4 { color: oklch(0.78 0.16 30); }

/* ---------- next 14 strip ---------- */

.strip { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(150px, 1fr); gap: 10px; overflow-x: auto; padding-bottom: 10px; scroll-snap-type: x proximity; }
.day-card {
  scroll-snap-align: start; border: 1px solid var(--hairline); border-radius: 10px;
  padding: 12px 12px 14px; display: flex; flex-direction: column; gap: 8px; min-height: 168px;
  background: var(--paper);
}
.day-card .dc-top { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; }
.day-card .dc-date { font-weight: 700; white-space: nowrap; }
.day-card .dc-tier { border-radius: 4px; padding: 2px 7px; color: #fff; white-space: nowrap; font-size: 0.5625rem; }
.day-card .dc-tier.t0 { background: none; color: var(--grey-mid); box-shadow: inset 0 0 0 1px var(--hairline); }
.day-card .dc-tier.t1 { background: var(--tier-1); color: var(--ink); }
.day-card .dc-tier.t2 { background: var(--tier-2); color: var(--ink); }
.day-card .dc-tier.t3 { background: var(--red); }
.day-card .dc-tier.t4 { background: var(--ink); }
.day-card ul { list-style: none; padding: 0; font-size: 0.8125rem; color: var(--ink-soft); display: grid; gap: 3px; }
.day-card li { border-top: 1px solid var(--hairline); padding-top: 3px; }
.day-card .dc-flag { margin-top: auto; color: var(--red); font-weight: 600; font-size: 0.75rem; }

/* ---------- tables ---------- */

.tbl { width: 100%; border-collapse: collapse; font-size: 0.9375rem; }
.tbl th { text-align: left; font-family: "Azeret Mono", monospace; font-weight: 400; font-size: 0.625rem; letter-spacing: 0.07em; text-transform: uppercase; color: var(--grey-mid); padding: 0 12px 8px 0; }
.tbl td { border-top: 1px solid var(--hairline); padding: 10px 12px 10px 0; vertical-align: top; }
.tbl .pill { display: inline-block; border-radius: 4px; padding: 1px 8px; color: #fff; font-size: 0.75rem; font-weight: 600; }
.tbl .pill.t4 { background: var(--ink); }
.tbl .pill.t3 { background: var(--red); }
.pill.good { background: var(--ink); color: #fff; }
.pill.mixed { background: var(--tier-2); color: var(--ink); }
.pill.tough { background: #fff; color: var(--red-deep); }
.band.red .tbl td { border-color: var(--hairline-paper); color: #fff; }
.band.red .tbl th { color: oklch(1 0 0 / 0.7); }
.band.red .tbl .pill.good { background: var(--ink); }
.band.red .tbl .pill.tough { background: #fff; }
.tbl td.nowrap { white-space: nowrap; }
.tbl .mrow td { font-family: "Azeret Mono", monospace; font-size: 0.625rem; letter-spacing: 0.07em; text-transform: uppercase; color: var(--red); padding-top: 26px; border-top: 0; }
.tbl-wrap { overflow-x: auto; }

.zone-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 26px; }
.chip {
  border: 1px solid var(--hairline); background: var(--paper); border-radius: 6px;
  padding: 7px 12px; font-family: "Azeret Mono", monospace; font-size: 0.625rem;
  letter-spacing: 0.05em; text-transform: uppercase; color: var(--ink);
  transition: background 0.4s var(--curve), color 0.4s var(--curve);
}
.chip:hover { border-color: var(--ink); }
.chip.on { background: var(--red); border-color: var(--red); color: #fff; }

/* ---------- charts ---------- */

.chart { width: 100%; }
.chart svg { display: block; width: 100%; height: auto; }
.chart .axis { stroke: var(--hairline); stroke-width: 1; }
.chart .bar { fill: var(--ink); }
.chart .bar.hot { fill: var(--red); }
.chart .bar.pos { fill: var(--ink); }
.chart .bar.neg { fill: var(--red); }
.chart text { font-family: "Azeret Mono", monospace; font-size: 10px; letter-spacing: 0.05em; fill: var(--grey-mid); text-transform: uppercase; }
.chart .val { fill: var(--ink); font-family: "Archivo", sans-serif; font-weight: 700; font-size: 12px; letter-spacing: 0; text-transform: none; }
.chart .val.hot { fill: var(--red); }
.chart .anno { fill: var(--red); font-family: "Archivo", sans-serif; font-weight: 600; font-size: 11.5px; text-transform: none; letter-spacing: 0; }
.band.ink .chart .bar { fill: var(--paper); }
.band.ink .chart .bar.neg, .band.ink .chart .bar.hot { fill: oklch(0.62 0.21 28); }
.band.ink .chart text { fill: oklch(1 0 0 / 0.6); }
.band.ink .chart .val { fill: #fff; }
.band.ink .chart .anno { fill: oklch(0.72 0.17 30); }
.band.ink .chart .axis { stroke: var(--hairline-paper); }

/* zone rows */
.zone-row { display: grid; grid-template-columns: minmax(180px, 2fr) minmax(0, 5fr); gap: clamp(16px, 3vw, 48px); padding: 22px 0; border-top: 1px solid var(--hairline); align-items: center; }
@media (max-width: 760px) { .zone-row { grid-template-columns: 1fr; gap: 10px; } }
.zone-row h2 { font-family: "Antonio", sans-serif; text-transform: uppercase; font-size: 1.5rem; font-weight: 600; }
.zone-row .z-char { color: var(--grey-mid); font-size: 0.875rem; max-width: 30ch; }
.zone-row canvas { width: 100%; height: 52px; display: block; touch-action: pan-y; }
.zone-row .z-note { font-size: 0.8125rem; color: var(--ink-soft); margin-top: 6px; }

/* quotes */
.pull { border-top: 2px solid var(--red); padding-top: 14px; font-size: clamp(1.25rem, 2.2vw, 1.7rem); line-height: 1.3; font-weight: 500; max-width: 34ch; }
.pull + .who { margin-top: 10px; color: var(--grey-mid); }

/* closure roll */
.roll { list-style: none; padding: 0; column-width: 300px; column-gap: clamp(24px, 4vw, 56px); }
.roll li { break-inside: avoid; border-top: 1px solid var(--hairline-paper); padding: 9px 0 11px; }
.roll .r-name { font-weight: 700; display: block; margin-bottom: 5px; }
.roll .r-meta { font-family: "Azeret Mono", monospace; font-size: 0.625rem; letter-spacing: 0.06em; text-transform: uppercase; opacity: 0.7; display: block; margin: 2px 0; }
.roll .r-why { font-size: 0.8125rem; opacity: 0.85; }

/* threshold facts: 3x2 grid, red reserved for the risk numbers */
.facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--hairline); border: 1px solid var(--hairline); }
@media (max-width: 980px) { .facts { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .facts { grid-template-columns: 1fr; } }
.facts .fact { background: var(--paper); padding: 20px; }
.facts .fact .k { font-family: "Antonio", sans-serif; font-weight: 700; font-size: 2.4rem; line-height: 0.95; display: block; }
.facts .fact.hot .k { color: var(--red); }
.facts .fact .v { display: block; margin-top: 8px; font-size: 0.875rem; color: var(--ink-soft); }

/* alert specimen */
.specimen { border: 1px solid var(--hairline); border-radius: 12px; overflow: hidden; max-width: 620px; }
.specimen .s-head { background: var(--red); color: #fff; padding: 14px 18px; font-weight: 700; }
.specimen .s-body { padding: 18px; display: grid; gap: 12px; font-size: 0.9375rem; }
.specimen .s-body .row { border-top: 1px solid var(--hairline); padding-top: 12px; }
.specimen .s-body .row:first-child { border-top: 0; padding-top: 0; }
.specimen .s-k { font-family: "Azeret Mono", monospace; font-size: 0.625rem; letter-spacing: 0.07em; text-transform: uppercase; color: var(--grey-mid); display: block; margin-bottom: 3px; }

/* price blocks */
.tiers { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 10px; }
.tier-block { border-radius: 12px; padding: 22px; display: flex; flex-direction: column; gap: 10px; min-height: 250px; }
.tier-block.paper { border: 1px solid var(--hairline); }
.tier-block.inkb { background: var(--ink); color: #fff; }
.tier-block.redb { background: var(--red); color: #fff; }
.tier-block .t-name { font-family: "Antonio", sans-serif; text-transform: uppercase; font-size: 1.4rem; font-weight: 600; }
.tier-block .t-price { font-family: "Antonio", sans-serif; font-size: 2.6rem; font-weight: 700; line-height: 1; }
.tier-block .t-price .per { font-size: 0.4em; font-weight: 500; }
.tier-block ul { list-style: none; padding: 0; display: grid; gap: 6px; font-size: 0.875rem; margin-top: 2px; }
.tier-block li { border-top: 1px solid var(--hairline-paper); padding-top: 6px; }
.tier-block.paper li { border-color: var(--hairline); }
.tier-block .t-cta { margin-top: auto; display: inline-block; text-align: center; text-decoration: none; border-radius: 8px; padding: 11px 16px; font-weight: 700; }
.tier-block.paper .t-cta { background: var(--ink); color: #fff; }
.tier-block.inkb .t-cta { background: #fff; color: var(--ink); }
.tier-block.redb .t-cta { background: #fff; color: var(--red-deep); }
.tier-block .t-cta:hover { opacity: 0.88; }

/* daypart bars */
.dayparts { display: grid; gap: 8px; max-width: 520px; }
.dp-row { display: grid; grid-template-columns: 90px 1fr 56px; align-items: center; gap: 12px; }
.dp-track { height: 14px; border-radius: 3px; background: var(--frame); overflow: hidden; }
.dp-fill { height: 100%; background: var(--ink); border-radius: 3px; transform-origin: left; }
.dp-fill.hot { background: var(--red); }
.band.red .dp-track { background: oklch(0.4 0.15 28); }
.band.red .dp-fill { background: #fff; }
.band.red .dp-fill.hot { background: var(--ink); }
.band.ink .dp-track { background: oklch(0.34 0.008 260); }
.band.ink .dp-fill { background: #fff; }
.band.ink .dp-fill.hot { background: oklch(0.62 0.21 28); }
.dp-neg { color: var(--red); }
.band.ink .dp-neg { color: oklch(0.72 0.17 30); }
.dp-fill.risk { background-image: repeating-linear-gradient(135deg, transparent 0 4px, oklch(0.55 0.21 28 / 0.55) 4px 8px); }
.band.red .dp-fill.risk, .band.ink .dp-fill.risk { background-image: repeating-linear-gradient(135deg, transparent 0 4px, oklch(0 0 0 / 0.4) 4px 8px); }

/* footer */
.foot { background: var(--ink); color: #fff; padding: clamp(40px, 6vw, 80px) var(--gutter); }
.foot .f-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: clamp(20px, 4vw, 60px); align-items: start; }
@media (max-width: 820px) { .foot .f-grid { grid-template-columns: 1fr; } }
.foot .f-word { font-family: "Antonio", sans-serif; text-transform: uppercase; font-size: clamp(1.9rem, 4vw, 3.2rem); font-weight: 700; line-height: 0.95; }
.foot .f-word em { font-style: normal; color: oklch(0.66 0.2 29); }
.foot p, .foot li { color: oklch(1 0 0 / 0.78); font-size: 0.875rem; }
.foot ul { list-style: none; padding: 0; display: grid; gap: 6px; }
.foot a { color: #fff; }
.foot .f-legal { margin-top: clamp(28px, 4vw, 56px); padding-top: 16px; border-top: 1px solid var(--hairline-paper); display: flex; flex-wrap: wrap; gap: 16px; justify-content: space-between; color: oklch(1 0 0 / 0.55); font-size: 0.75rem; }

/* reveals: enhancement only, JS gates the hidden state */
html.js .rv { opacity: 0; transform: translateY(22px); transition: opacity 0.9s var(--curve), transform 0.9s var(--curve); }
html.js .rv.in { opacity: 1; transform: none; }
html.js .rv-d1.in { transition-delay: 0.08s; }
html.js .rv-d2.in { transition-delay: 0.16s; }

/* cross-page transitions */
@view-transition { navigation: auto; }
::view-transition-old(root), ::view-transition-new(root) { animation-duration: 0.34s; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
  html.js .rv { opacity: 1; transform: none; }
  @view-transition { navigation: none; }
}

/* ---------- FAQ ledger (index) ---------- */
.faq { border-bottom: 2px solid var(--ink); }
.faq details { border-top: 2px solid var(--ink); }
.faq summary {
  display: flex; justify-content: space-between; align-items: baseline; gap: 24px;
  padding: 22px 0; cursor: pointer; font-weight: 600; font-size: 1.125rem;
  list-style: none;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; font-family: "Antonio", sans-serif; font-size: 1.75rem; line-height: 1;
  color: var(--red); flex: none; transition: transform 0.35s cubic-bezier(0.19, 1, 0.22, 1);
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq .a { max-width: 62ch; padding: 0 0 26px; }
.faq .a a { color: inherit; text-decoration-color: var(--red); text-underline-offset: 3px; }

/* ---------- forecast chips on the next-fortnight cards ---------- */
.day-card .dc-wx {
  display: block; margin-top: 10px; padding-top: 8px; border-top: 1px solid var(--hairline);
  font-family: "Azeret Mono", monospace; font-size: 0.6875rem; letter-spacing: 0.04em;
  text-transform: uppercase; color: var(--grey-mid);
}
.day-card .dc-wx.kill { color: var(--red); }
.day-card .dc-wx.split { color: var(--ink); }

/* aggregate weather-watch banner above the next-fortnight strip */
.wx-watch {
  margin: 22px 0 4px; padding: 14px 16px;
  border: 2px solid var(--red); color: var(--red);
  font-size: 0.8125rem; letter-spacing: 0.05em; text-transform: uppercase;
}

/* ---------- keep-exploring cross-links (mobile discoverability) ---------- */
.next-rail .nx { border-top: 2px solid var(--ink); margin-top: 24px; }
.next-rail .nx a {
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  padding: 22px 2px; border-bottom: 2px solid var(--ink);
  color: var(--ink); text-decoration: none;
  transition: background 0.2s ease;
}
/* the hover nudge moves the text block with a transform, not the padding */
.next-rail .nx a:hover, .next-rail .nx a:focus-visible { background: var(--frame); }
.next-rail .nx a:hover .nx-t, .next-rail .nx a:focus-visible .nx-t { transform: translateX(14px); }
.next-rail .nx-t { display: flex; flex-direction: column; gap: 5px; transition: transform 0.35s var(--curve); }
.next-rail .nx-k { font-family: "Antonio", sans-serif; text-transform: uppercase; font-weight: 700; font-size: clamp(1.35rem, 4vw, 2rem); line-height: 1; letter-spacing: -0.01em; }
.next-rail .nx-d { font-size: 0.9rem; color: var(--grey-mid); max-width: 54ch; }
.next-rail .nx-arrow { flex: none; width: 18px; height: 18px; fill: var(--red); }

.legend .sw.up-sw { box-shadow: inset 0 0 0 1.5px var(--hairline), 0 0 0 1.5px var(--paper), 0 0 0 3px var(--red); }

/* twelve-month map marker: colour carries the day's absolute busyness; a
   small dot inside the square flags a day set to run busier than a normal
   such-day (white core + ink edge stays visible on every cell tone) */
.heat .cell.up { position: relative; }
.heat .cell.up::after {
  content: ""; position: absolute; inset: 0; margin: auto;
  width: 4px; height: 4px; border-radius: 50%;
  background: var(--paper); box-shadow: 0 0 0 1px var(--ink);
}
.legend .sw.up-sw { position: relative; }
.legend .sw.up-sw::after {
  content: ""; position: absolute; inset: 0; margin: auto;
  width: 4px; height: 4px; border-radius: 50%;
  background: var(--paper); box-shadow: 0 0 0 1px var(--ink);
}
.legend .sw.up-sw { box-shadow: inset 0 0 0 1.5px var(--hairline); }

/* =====================================================================
   November 2026 refresh
   Shared pieces first (mobile bar, keep-exploring blocks, footer), then
   the homepage compositions, all scoped to .home so the other five pages
   keep their current layout until the refresh is rolled out to them.
   ===================================================================== */

:root {
  --r-block: 10px;
  --r-chip: 6px;
  --micro: 0.6875rem;          /* 11px floor for mono labels */
  --hair-on-dark: oklch(1 0 0 / 0.28);
}

::selection { background: var(--red); color: #fff; }
:focus-visible { outline: 2px solid var(--red); outline-offset: 2px; }
.band.red :focus-visible { outline-color: #fff; }
html { scrollbar-color: var(--ink) var(--frame); }

/* ---------- shared: mobile bar wordmark in the display face ---------- */
@media (max-width: 900px) {
  .bar .word {
    font-family: "Antonio", "Archivo", sans-serif; text-transform: uppercase;
    font-size: 1.3rem; line-height: 1; letter-spacing: 0;
  }
  .burger { font-size: var(--micro); padding: 10px 14px; }
}

/* ---------- shared: keep exploring, as blocks in the rail's language ---------- */
.next-rail .nx {
  border-top: 0; margin-top: 28px;
  display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 8px;
}
.next-rail .nx a {
  position: relative; align-items: flex-end; justify-content: flex-start;
  min-height: clamp(150px, 15vw, 230px); padding: 18px 18px 20px;
  border-bottom: 0; border-radius: var(--r-block);
  background: var(--ink); color: #fff;
  transition: background 0.7s var(--curve);
}
.next-rail .nx a:nth-child(2) { background: var(--grey-mid); }
.next-rail .nx a:nth-child(3) { background: var(--ink-soft); }
.next-rail .nx a:hover, .next-rail .nx a:focus-visible { background: var(--red); }
.next-rail .nx a:hover .nx-t, .next-rail .nx a:focus-visible .nx-t { transform: none; }
.next-rail .nx-t { gap: 8px; padding-right: 30px; }
.next-rail .nx-k { font-size: clamp(1.6rem, 2.6vw, 2.3rem); font-weight: 600; letter-spacing: 0; }
.next-rail .nx-d { color: oklch(1 0 0 / 0.86); font-size: 0.9375rem; max-width: 36ch; }
.next-rail .nx-arrow {
  position: absolute; top: 18px; right: 18px; width: 16px; height: 16px; fill: #fff;
  transition: transform 0.7s var(--curve);
}
.next-rail .nx a:hover .nx-arrow, .next-rail .nx a:focus-visible .nx-arrow { transform: rotate(45deg); }
@media (max-width: 700px) {
  .next-rail .nx { grid-template-columns: 1fr; }
  .next-rail .nx a { min-height: 0; padding: 16px 16px 18px; }
}

/* ---------- shared: compact footer, links in a row ---------- */
.foot { padding: clamp(36px, 4.5vw, 64px) var(--gutter) 22px; }
.foot .f-grid { grid-template-columns: minmax(0, 5fr) minmax(0, 4fr) minmax(0, 3fr); align-items: end; }
.foot ul { display: flex; flex-wrap: wrap; gap: 8px 22px; }
.foot .f-legal { margin-top: clamp(24px, 3vw, 44px); gap: 6px 16px; }
@media (max-width: 820px) {
  .foot .f-grid { grid-template-columns: 1fr; gap: 18px; }
  .foot .f-word { font-size: 2.3rem; }
}

/* =====================================================================
   Homepage
   ===================================================================== */

/* the uniform fade-up is retired here: three authored moments carry the motion */
html.js .rf .rv { opacity: 1; transform: none; transition: none; }

.rf .band { position: relative; z-index: 1; background: var(--paper); padding-block: clamp(44px, 5.6vw, 96px); }
.rf .band.red { background: var(--red); }
.rf .band.ink { background: var(--ink); }
.rf .band.frame { background: var(--frame); }
.rf .foot { position: relative; z-index: 1; }

.rf .h-page { font-size: clamp(3rem, 13.2vw, 6rem); line-height: 0.92; }
.rf .h-sec { font-size: clamp(2rem, 3.5vw, 3.4rem); font-weight: 700; letter-spacing: -0.005em; line-height: 0.98; }
.rf .h-sub { font-family: "Antonio", sans-serif; text-transform: uppercase; font-size: 1.35rem; font-weight: 600; line-height: 1.05; }
.rf .mono { font-size: var(--micro); }
.rf .subline, .home [data-plan] .kicker-date, .rf .day-sheet .kicker-date {
  font-family: "Antonio", sans-serif; text-transform: uppercase; font-weight: 300;
  font-size: clamp(1.2rem, 1.9vw, 1.7rem); line-height: 1.1; letter-spacing: 0.01em;
  color: oklch(1 0 0 / 0.9); max-width: none;
}

.rf .sec-head { display: grid; gap: 14px; margin-bottom: clamp(22px, 2.6vw, 36px); }
.rf .sec-head p { margin: 0; }
@media (min-width: 1100px) {
  .rf .sec-head { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(24px, 4vw, 56px); align-items: end; }
}
.rf .fine { font-size: 0.875rem; color: var(--grey-mid); }

/* ---------- first screen: the calendar, the city and the readout ---------- */
.home .pin { position: relative; }
.home .hero { position: sticky; top: var(--pin, 0px); z-index: 0; padding-block: clamp(22px, 3vw, 48px) clamp(32px, 3.6vw, 56px); }
.home .hero-grid {
  display: grid; gap: 22px;
  grid-template-columns: minmax(0, 1fr);
  grid-template-areas: "title" "heat" "panel" "chips" "city" "key" "lede" "stats";
}
/* the three column wrappers vanish until the wide layout, so the phone orders the pieces itself */
.home .hero-a, .home .hero-b, .home .hero-c { display: contents; }
.home .hero-title { grid-area: title; }
.home .hero-lede { grid-area: lede; margin: 0; font-size: 1.125rem; }
.home .zone-chips { grid-area: chips; }
.home .heat { grid-area: heat; }
.home .dayp { grid-area: panel; }
.rf .city { grid-area: city; }
.home .hero-key { grid-area: key; }
.home .ledger { grid-area: stats; }

.home .hero .kicker-date { margin-top: 10px; color: var(--ink-soft); text-transform: uppercase; letter-spacing: 0.05em; font-size: var(--micro); }
.home .h-page br { display: none; }

/* zone buttons: every one visible, each carrying its tier for the day in view */
.home .zone-chips { margin: 0; gap: 6px; }
.home .chip {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: var(--micro); padding: 9px 11px; border-radius: var(--r-chip); border-color: var(--hairline);
}
.home .chip .csw { width: 11px; height: 11px; border-radius: 2px; flex: none; background: var(--paper); box-shadow: inset 0 0 0 1px var(--hairline); }
.home .chip .csw.t1 { background: var(--tier-1); box-shadow: none; }
.home .chip .csw.t2 { background: var(--tier-2); box-shadow: none; }
.home .chip .csw.t3 { background: var(--red); box-shadow: none; }
.home .chip .csw.t4 { background: var(--ink); box-shadow: none; }
.home .chip.on { background: var(--paper); border-color: var(--ink); color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink); }
.home .chip.hot { border-color: var(--ink); }

/* twelve months, every month on the same six-week grid so the squares match */
.home .heat {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px 12px; min-width: 0;
}
.home .heat .month .m-label { margin-bottom: 5px; color: var(--ink-soft); }
.home .heat .m-grid {
  grid-template-columns: repeat(6, minmax(0, 1fr)); grid-template-rows: repeat(7, auto);
  grid-auto-flow: column; grid-auto-columns: auto; gap: 2px;
}
.home .heat .cell {
  width: 100%; cursor: pointer;
  transition: background-color 0.5s var(--curve), transform 0.6s var(--curve);
}
.home .heat .cell.pend { background-color: var(--tier-1); background-image: none; transform: scale(0.7); }
.home .heat .cell.pend::after { opacity: 0; }
.home .heat .cell:hover, .home .heat .cell:focus-visible { transform: scale(1.22); }
.home .heat .cell.sel { outline: 2px solid var(--ink); outline-offset: 1px; position: relative; z-index: 1; }
.home .heat .cell.today { outline: 2px solid var(--red); outline-offset: 1px; }
.home .heat .cell.today.sel { outline-width: 3px; }

/* the day panel: a ruled slip that stays put */
.home .dayp { border-top: 2px solid var(--ink); padding-top: 12px; position: relative; min-height: 232px; }
.home .dy-step { position: absolute; top: 10px; right: 0; display: flex; gap: 6px; }
.home .dy-step button {
  width: 40px; height: 40px; display: grid; place-items: center;
  border: 1px solid var(--hairline); border-radius: var(--r-chip); background: var(--paper); color: var(--ink);
  transition: background 0.4s var(--curve), color 0.4s var(--curve);
}
.home .dy-step button:hover { background: var(--ink); color: #fff; }
.home .dy-step svg { width: 12px; height: 12px; fill: currentColor; transform: rotate(45deg); }
.home .dy-step .dy-prev svg { transform: rotate(-135deg); }
.home .dy-date { color: var(--ink-soft); padding-right: 96px; min-height: 40px; display: flex; align-items: center; }
.home .dy-tier { display: flex; align-items: center; gap: 10px; margin-top: 4px; }
.home .dy-tier strong { font-family: "Antonio", sans-serif; text-transform: uppercase; font-size: 2.4rem; font-weight: 700; line-height: 1; }
.home .dy-tier span { color: var(--ink-soft); font-size: 0.9375rem; }
.home .dy-tier .sw { width: 22px; height: 22px; border-radius: 3px; display: inline-block; flex: none; background: var(--paper); box-shadow: inset 0 0 0 1px var(--hairline); }
.home .dy-tier .sw.t1 { background: var(--tier-1); box-shadow: none; }
.home .dy-tier .sw.t2 { background: var(--tier-2); box-shadow: none; }
.home .dy-tier .sw.t3 { background: var(--red); box-shadow: none; }
.home .dy-tier .sw.t4 { background: var(--ink); box-shadow: none; }
.home .dy-tier .sw.proj { background-image: repeating-linear-gradient(45deg, transparent 0 3px, oklch(1 0 0 / 0.5) 3px 6px); }
.home .dy-notes { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.home .dy-notes span { font-size: 0.8125rem; font-weight: 600; color: var(--red-deep); border: 1px solid currentColor; border-radius: var(--r-chip); padding: 2px 8px; }
.home .dy-list { list-style: none; padding: 0; margin-top: 12px; min-height: 5.1em; font-size: 0.9375rem; line-height: 1.4; }
.home .dy-list li { border-top: 1px solid var(--hairline); padding: 5px 0; }
.home .dayp .dayparts { margin-top: 12px; max-width: none; gap: 6px; }
.rf .dayparts .dp-row { grid-template-columns: 84px 1fr 40px; gap: 10px; }
.rf .dayparts .dp-row strong { text-align: right; font-size: 0.875rem; }
.rf .dayparts .dp-track { height: 10px; border-radius: 2px; }
.rf .dayparts .dp-fill { border-radius: 2px; }

/* the city: real coastline and streets, the nine zones filled with the day's tier */
.rf .city { margin: 0; position: relative; }
.rf .city svg { display: block; width: 100%; height: auto; overflow: visible; }
.rf .city figcaption { margin-top: 6px; color: var(--grey-mid); font-size: var(--micro); letter-spacing: 0.04em; }
.rf .city figcaption a { color: inherit; }
.rf .city-map { position: relative; }
.rf .cm-land { fill: none; stroke: var(--ink); stroke-opacity: 0.17; stroke-width: 0.8; }
.rf .cz { cursor: pointer; transition: opacity 0.45s var(--curve); }
.rf .cz .hx { fill: var(--paper); stroke: var(--ink); stroke-opacity: 0.42; stroke-width: 0.8; transition: fill 0.45s var(--curve); }
.rf .cz.t1 .hx { fill: var(--tier-1); stroke: none; }
.rf .cz.t2 .hx { fill: var(--tier-2); stroke: none; }
.rf .cz.t3 .hx { fill: var(--red); stroke: none; }
.rf .cz.t4 .hx { fill: var(--ink); stroke: none; }
/* districts are parted by a channel of paper rather than fenced with a line (the newsroom tile-map habit) */
.rf .cz .edge { fill: none; stroke: var(--paper); stroke-width: 5; stroke-linejoin: round; pointer-events: none; transition: stroke 0.3s var(--curve); }
.rf .cz:hover .edge, .rf .cz:focus-visible .edge, .rf .cz.hot .edge { stroke: var(--ink); stroke-width: 2; }
.rf .cz.on .edge { stroke: var(--ink); stroke-width: 2.6; }
.rf .city.zoned .cz:not(.on) { opacity: 0.38; }
.rf .cz:focus-visible { outline: none; }
/* zone names as small plates, set in page pixels so they read the same on a phone */
.rf .cz-lab {
  position: absolute; transform: translate(-50%, -50%); pointer-events: none; white-space: nowrap;
  font-size: 0.6875rem; font-weight: 700; line-height: 1; letter-spacing: 0.01em; color: var(--ink);
  background: var(--paper); padding: 3px 5px 3px; border-radius: 3px; box-shadow: 0 0 0 1px var(--ink);
  transition: opacity 0.45s var(--curve);
}
.rf .city.zoned .cz-lab:not(.on) { opacity: 0.45; }
@media (max-width: 560px) { .rf .cz-lab { padding: 2px 4px; letter-spacing: 0; } }
.rf .cw-lab {
  position: absolute; transform: translate(-50%, -50%) rotate(var(--rot, 0deg)); pointer-events: none; white-space: nowrap;
  font-family: "Azeret Mono", monospace; font-size: var(--micro); letter-spacing: 0.14em; text-transform: uppercase; color: var(--grey-mid);
}

/* map key, with the original explanation as its caption */
.home .hero-key .legend { margin-top: 12px; gap: 8px 16px; }
.home .hero-key p { margin-top: 12px; font-size: 0.9375rem; color: var(--ink-soft); max-width: 64ch; }

/* the four figures as a ruled ledger */
.home .ledger { display: grid; grid-template-columns: 1fr; gap: 0; border-top: 2px solid var(--ink); }
.home .ledger .stat {
  display: grid; grid-template-columns: 7.2rem minmax(0, 1fr); align-items: baseline; gap: 14px;
  border-top: 0; border-bottom: 1px solid var(--hairline); padding: 10px 0 9px;
}
.home .ledger .stat .n { font-size: 2.5rem; line-height: 1; }
.home .ledger .stat .l { margin: 0; max-width: none; }

@media (min-width: 561px) {
  .home .heat { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px 16px; }
  .home .heat .m-grid { gap: 3px; }
  .rf .h-page { font-size: clamp(3.4rem, 9vw, 6rem); }
  .rf .city { max-width: 560px; }
}
@media (min-width: 901px) {
  .home .hero-grid {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 24px clamp(24px, 3vw, 48px);
    grid-template-areas: "title lede" "chips chips" "heat heat" "city panel" "key stats";
    align-items: start;
  }
  .home .hero-lede { align-self: end; }
  .home .heat { grid-template-columns: repeat(6, minmax(0, 1fr)); }
  .rf .city { max-width: none; }
}
@media (min-width: 1500px) {
  /* three columns, one screen: the claim, the year, the city */
  .home .h-page br { display: inline; }
  .home .hero-grid {
    grid-template-columns: minmax(0, 4fr) minmax(0, 6.2fr) minmax(0, 4.8fr); gap: 0 clamp(32px, 2.8vw, 52px);
    grid-template-areas: "a b c"; align-items: stretch;
  }
  .home .hero-a, .home .hero-b, .home .hero-c { display: flex; flex-direction: column; gap: 20px; min-width: 0; }
  .home .hero-a { grid-area: a; }
  .home .hero-b { grid-area: b; }
  .home .hero-c { grid-area: c; }
  .home .hero-lede { align-self: start; }
  .home .hero-a .ledger { margin-top: auto; }
  .home .hero-b .hero-key { margin-top: auto; border-top: 2px solid var(--ink); padding-top: 12px; }
  .home .hero-c .dayp { margin-top: auto; }
  .home .hero { padding-block: 34px 40px; }
  .home .heat { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px 18px; }
  .home .chip { padding: 7px 10px; }
  .home .zone-chips { gap: 5px; }
  .home .ledger .stat { grid-template-columns: 7.6rem minmax(0, 1fr); padding: 9px 0 8px; }
  .home .ledger .stat .n { font-size: 2.7rem; }
}

/* ---------- the heaviest day ahead: a red sheet that slides over the first screen ---------- */
.home [data-plan] {
  z-index: 2; display: grid; gap: 14px clamp(24px, 4vw, 64px);
  grid-template-columns: minmax(0, 1fr);
  grid-template-areas: "h" "k" "copy" "x";
  padding-block: clamp(40px, 5vw, 80px);
}
.home [data-plan] h2 { grid-area: h; font-size: clamp(2.6rem, 6.6vw, 6rem); font-weight: 700; line-height: 0.92; letter-spacing: -0.01em; }
.home [data-plan] .kicker-date { grid-area: k; margin: 0; }
.home [data-plan] > p:not(.kicker-date) { grid-area: copy; margin: 0; font-size: 1.0625rem; max-width: 60ch; }
.home .day-extra { grid-area: x; display: grid; gap: 18px; align-content: start; }
.rf .tags { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.rf .tags li { border: 1px solid var(--hairline); border-radius: var(--r-chip); padding: 4px 10px; font-size: 0.8125rem; line-height: 1.35; background: var(--paper); }
.rf .band.red .tags li { border-color: oklch(1 0 0 / 0.55); background: none; color: #fff; font-weight: 500; font-size: 0.875rem; }
.rf .band.red .dayparts { max-width: 460px; }
.rf .band.red .dp-track { background: oklch(0.45 0.19 28); }
.rf .band.red .dp-row .mono { color: oklch(1 0 0 / 0.9); }
@media (min-width: 1100px) {
  .home [data-plan] {
    grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
    grid-template-areas: "h h" "k copy" "x copy";
    grid-template-rows: auto auto 1fr;
  }
  .home [data-plan] .kicker-date { margin-top: 2px; }
}

/* ---------- the next fortnight: the map, zoomed in ---------- */
.home .wx-watch {
  margin: 0 0 16px; padding: 12px 0 12px 22px; border: 0; border-top: 1px solid var(--hairline); border-bottom: 1px solid var(--hairline);
  color: var(--ink); font-size: 0.9375rem; line-height: 1.45; letter-spacing: 0; text-transform: none;
  position: relative; max-width: none;
}
.home .wx-watch::before { content: ""; position: absolute; left: 0; top: 1.05em; width: 10px; height: 10px; background: var(--red); border-radius: 2px; }
.home .fort { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 5px; }
.home .fd { border-radius: var(--r-chip); display: flex; flex-direction: column; min-width: 0; background: var(--paper); box-shadow: inset 0 0 0 1px var(--hairline); color: var(--ink); }
.home .fd.t1 { background: var(--tier-1); box-shadow: none; }
.home .fd.t2 { background: var(--tier-2); box-shadow: none; }
.home .fd.t3 { background: var(--red); box-shadow: none; color: #fff; }
.home .fd.t4 { background: var(--ink); box-shadow: none; color: #fff; }
.home .fd-pick {
  appearance: none; border: 0; background: none; color: inherit; width: 100%;
  display: grid; justify-items: center; gap: 1px; padding: 8px 2px 9px; border-radius: inherit;
}
.home .fd-dow, .home .fd-mon { font-size: var(--micro); letter-spacing: 0.02em; }
.home .fd-num { font-family: "Antonio", sans-serif; font-weight: 700; font-size: 1.7rem; line-height: 1; }
.home .fd-tier, .home .fd-mon { display: none; }
.home .fd ul, .home .fd .fd-flag, .home .fd .fd-wx { display: none; }
.home .fd.on { outline: 2px solid var(--ink); outline-offset: 2px; }
.home .fd.wxf .fd-pick::after { content: ""; width: 6px; height: 6px; border-radius: 1px; background: currentColor; margin-top: 3px; }
.home .fd.wxf.t0 .fd-pick::after, .home .fd.wxf.t1 .fd-pick::after, .home .fd.wxf.t2 .fd-pick::after { background: var(--red-deep); }

.home .fd-detail { margin-top: 18px; border-top: 2px solid var(--ink); padding-top: 12px; min-height: 250px; }
.home .fdd-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; max-width: none; }
.home .fdd-head strong { font-family: "Antonio", sans-serif; text-transform: uppercase; font-size: 1.7rem; font-weight: 700; line-height: 1.05; }
.home .fdd-tier { border-radius: 4px; padding: 3px 8px; white-space: nowrap; background: var(--paper); box-shadow: inset 0 0 0 1px var(--hairline); }
.home .fdd-tier.t1 { background: var(--tier-1); box-shadow: none; }
.home .fdd-tier.t2 { background: var(--tier-2); box-shadow: none; }
.home .fdd-tier.t3 { background: var(--red); box-shadow: none; color: #fff; }
.home .fdd-tier.t4 { background: var(--ink); box-shadow: none; color: #fff; }
.home .fd-detail ul { list-style: none; padding: 0; margin-top: 10px; font-size: 0.9375rem; line-height: 1.4; }
.home .fd-detail li { border-top: 1px solid var(--hairline); padding: 5px 0; }
.home .fdd-flag, .home .fdd-wx { margin-top: 8px; font-size: 0.9375rem; font-weight: 600; color: var(--red-deep); }
.home .fdd-wx.split { color: var(--ink); }
.home .fd-detail .dayparts { margin-top: 12px; max-width: 520px; gap: 6px; }

@media (min-width: 561px) {
  .home .fort { gap: 6px; }
  .home .fd-pick { padding: 12px 4px; gap: 3px; }
  .home .fd-num { font-size: 2.2rem; }
  .home .fd-tier { display: block; font-size: var(--micro); letter-spacing: 0; margin-top: 4px; }
}
/* wide screens: every tile carries its own detail, nothing to tap */
@media (min-width: 1400px) {
  .home .fort { gap: 8px; }
  .home .fd { border-radius: var(--r-block); padding: 14px 14px 16px; gap: 10px; min-height: 216px; }
  .home .fd-pick {
    grid-template-columns: auto auto 1fr; justify-items: start; align-items: baseline; gap: 6px; padding: 0;
    pointer-events: none; text-align: left;
  }
  .home .fd-num { font-size: 2.5rem; order: -1; }
  .home .fd-dow, .home .fd-mon { font-size: var(--micro); }
  .home .fd-mon { display: none; }
  .home .fd-tier { justify-self: end; margin: 0; font-size: var(--micro); opacity: 1; }
  .home .fd ul { display: grid; gap: 0; list-style: none; padding: 0; font-size: 0.8125rem; line-height: 1.35; }
  .home .fd li { border-top: 1px solid color-mix(in oklch, currentColor 26%, transparent); padding: 5px 0; }
  .home .fd .fd-flag, .home .fd .fd-wx { display: block; margin-top: auto; font-size: 0.8125rem; font-weight: 600; line-height: 1.35; }
  .home .fd .fd-flag + .fd-wx { margin-top: 6px; }
  .home .fd .fd-wx { padding-left: 14px; position: relative; }
  .home .fd .fd-wx::before { content: ""; position: absolute; left: 0; top: 0.36em; width: 8px; height: 8px; border-radius: 1px; background: currentColor; }
  .home .fd.t0 .fd-wx.kill::before, .home .fd.t1 .fd-wx.kill::before, .home .fd.t2 .fd-wx.kill::before { background: var(--red-deep); }
  .home .fd.on { outline: 0; }
  .home .fd.wxf .fd-pick::after { display: none; }
  .home .fd-detail { display: none; }
}

/* ---------- your venue: ink band, the two prices as blocks ---------- */
.home .venue { display: grid; gap: 28px clamp(28px, 4vw, 72px); grid-template-columns: minmax(0, 1fr); }
.home .venue-copy p { margin-top: 14px; }
.home .venue-copy .subline { margin-top: 8px; }
.home .venue-copy a { color: inherit; text-decoration-color: var(--red); text-decoration-thickness: 2px; text-underline-offset: 4px; }
.home .venue-prices { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; align-content: end; }
.home .price-block {
  display: flex; flex-direction: column; justify-content: space-between; gap: 34px;
  min-height: clamp(150px, 15vw, 220px); padding: 16px 16px 18px; border-radius: var(--r-block); text-decoration: none;
  transition: background 0.7s var(--curve), color 0.7s var(--curve);
}
.home .price-block .top { display: flex; align-items: flex-start; justify-content: space-between; gap: 10px; }
.home .price-block .arrow { width: 15px; height: 15px; flex: none; fill: currentColor; transition: transform 0.7s var(--curve); }
.home .price-block:hover .arrow, .home .price-block:focus-visible .arrow { transform: rotate(45deg); }
.home .price-block .p-n { font-family: "Antonio", sans-serif; text-transform: uppercase; font-weight: 700; font-size: clamp(3rem, 5.4vw, 5rem); line-height: 0.9; }
.home .price-block .p-per { font-size: clamp(1rem, 1.5vw, 1.5rem); font-weight: 500; letter-spacing: 0.02em; white-space: nowrap; }
.home .price-block.p-red { background: var(--red); color: #fff; }
.home .price-block.p-paper { background: var(--paper); color: var(--ink); }
.home .price-block.p-red:hover, .home .price-block.p-red:focus-visible { background: var(--paper); color: var(--ink); }
.home .price-block.p-paper:hover, .home .price-block.p-paper:focus-visible { background: var(--red); color: #fff; }
.home .venue :focus-visible { outline-color: #fff; }
@media (min-width: 1100px) {
  .home .venue { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); align-items: end; }
}

/* ---------- ten heaviest days: a ranked ledger ---------- */
.home .top10-head { display: none; color: var(--grey-mid); }
.home .top10 { list-style: none; padding: 0; border-bottom: 2px solid var(--ink); }
.home .top10 > li {
  display: grid; grid-template-columns: 2.2rem minmax(0, 1fr) auto; align-items: baseline; gap: 8px 10px;
  border-top: 2px solid var(--ink); padding: 12px 0 14px;
}
.home .top10 > li + li { border-top-width: 1px; border-top-color: var(--hairline); }
.home .t-rank { font-family: "Antonio", sans-serif; font-weight: 700; font-size: 1.7rem; line-height: 1; color: var(--grey-mid); }
.home .t-date { font-family: "Antonio", sans-serif; text-transform: uppercase; font-weight: 600; font-size: 1.7rem; line-height: 1; }
.home .t-score { color: var(--ink); }
.home .t-bar { grid-column: 1 / -1; height: 10px; background: oklch(0.23 0.005 260 / 0.1); border-radius: 2px; overflow: hidden; }
.home .t-bar i { display: block; height: 100%; background: var(--ink); border-radius: 2px; transform-origin: left; }
.home .t-bar i.t3 { background: var(--red); }
.home .top10.arm .t-bar i { transform: scaleX(0); }
.home .top10.arm.in .t-bar i { transform: none; transition: transform 1.1s var(--curve); }
.home .top10.arm.in > li:nth-child(n+2) .t-bar i { transition-delay: 0.06s; }
.home .top10.arm.in > li:nth-child(n+4) .t-bar i { transition-delay: 0.12s; }
.home .top10.arm.in > li:nth-child(n+7) .t-bar i { transition-delay: 0.18s; }
.home .top10 .tags { grid-column: 1 / -1; }
.home .t-score { grid-row: 1; grid-column: 3; }
@media (min-width: 1100px) {
  .home .top10-head, .home .top10 > li { display: grid; grid-template-columns: 3rem 13.5rem minmax(120px, 15rem) 3rem minmax(0, 1fr); gap: 0 20px; align-items: center; }
  .home .top10-head { padding-bottom: 8px; }
  .home .top10 > li { padding: 11px 0; }
  .home .t-rank, .home .t-date { font-size: 1.9rem; }
  .home .t-bar, .home .top10 .tags { grid-column: auto; }
  .home .t-score { grid-row: auto; grid-column: auto; }
}

/* ---------- common questions: heading in one column, answers at reading width ---------- */
.home .questions .faq { margin-top: 24px; border-bottom-width: 1px; }
.home .questions .faq details { border-top-width: 1px; }
.home .questions .faq details:first-child { border-top-width: 2px; }
.home .questions .faq summary { padding: 18px 0; }
@media (min-width: 1100px) {
  .home .questions { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: clamp(24px, 4vw, 56px); align-items: start; }
  .home .questions .faq { margin-top: 0; }
}

@media (prefers-reduced-motion: reduce) {
  .home .hero { position: relative; top: auto; }
}

.rf .tbl th { font-size: var(--micro); }
.home .questions .faq { padding-bottom: 2px; }

/* =====================================================================
   The other five pages: same system as the homepage
   ===================================================================== */

/* page head: the line that used to sit over the title now sits under it */
.rf .poster { padding-block: clamp(26px, 3.4vw, 56px) clamp(30px, 3.6vw, 56px); }
.rf .poster > div:first-child { display: flex; flex-direction: column; }
.rf .poster .kicker-date {
  order: 2; margin-top: 12px; max-width: none;
  font-family: "Azeret Mono", monospace; font-size: var(--micro); letter-spacing: 0.05em; text-transform: uppercase; color: var(--ink-soft);
}
.rf .poster .lede { font-size: 1.125rem; }
.rf .mono-text { font-size: 0.8125rem; }

/* heading in one column, content in the rest */
@media (min-width: 1100px) {
  .rf .band.split { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); column-gap: clamp(24px, 4vw, 56px); align-items: start; }
  .rf .band.split > .h-sec { grid-column: 1; grid-row: 1 / span 12; }
  .rf .band.split > :not(.h-sec) { grid-column: 2; }
  .rf .band.split > .h-sec + * { margin-top: 0 !important; }
}

/* a named day or a named case: the heading at poster size, the copy beside its line */
.rf .day-sheet { display: grid; gap: 12px clamp(24px, 4vw, 64px); grid-template-columns: minmax(0, 1fr); grid-template-areas: "h" "k" "copy" "x" "n"; }
.rf .day-sheet > .h-sec { grid-area: h; font-size: clamp(2.4rem, 5.4vw, 5rem); line-height: 0.94; }
.rf .day-sheet > .kicker-date { grid-area: k; margin: 0; }
.rf .day-sheet > p:not(.kicker-date):not(.mono-text) { grid-area: copy; margin: 0; font-size: 1.0625rem; max-width: 60ch; }
.rf .day-sheet > .dayparts { grid-area: x; margin-top: 6px !important; max-width: 460px; }
.rf .day-sheet > .mono-text { grid-area: n; margin: 0 !important; }
.rf .band.ink .dayparts .dp-row .mono { color: oklch(1 0 0 / 0.85); }
@media (min-width: 1100px) {
  .rf .day-sheet { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); grid-template-areas: "h h" "k copy" "x copy" "n copy"; grid-template-rows: auto auto auto 1fr; }
}

/* the zones page: the city on one side, the nine years on the other */
.rf .zones-lay { display: grid; gap: 28px clamp(28px, 4vw, 64px); grid-template-columns: minmax(0, 1fr); }
.rf .zones-map .city { max-width: 560px; }
.rf .zones-when { margin-top: 14px; display: flex; flex-wrap: wrap; align-items: center; gap: 8px 16px; }
.rf .zones-when .when { color: var(--ink); font-size: 0.8125rem; }
.rf .zones-list .zone-row { grid-template-columns: minmax(0, 1fr); gap: 10px; padding: 18px 0; scroll-margin-top: 80px; }
.rf .zones-list .zone-row h2 { font-size: 1.7rem; transition: color 0.4s var(--curve); }
.rf .zones-list .zone-row .z-char { max-width: none; }
.rf .zones-list .zone-row.hot h2 { color: var(--red); }
@media (min-width: 1100px) {
  .rf .zones-lay { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); align-items: start; }
  .rf .zones-map { position: sticky; top: 28px; }
  .rf .zones-map .city { max-width: none; }
}

/* the full ledger: date first, drivers as tags */
.rf #fullledger td { vertical-align: middle; }
.rf #fullledger td strong { font-family: "Antonio", sans-serif; text-transform: uppercase; font-weight: 600; font-size: 1.35rem; line-height: 1; }
.rf #fullledger .mrow td { font-size: var(--micro); }
.rf #fullledger .tags .big { border-color: var(--red-deep); color: var(--red-deep); font-weight: 600; }
@media (max-width: 700px) {
  .rf #fullledger thead { display: none; }
  .rf #fullledger tr { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; border-top: 1px solid var(--hairline); padding: 10px 0; gap: 8px 10px; }
  .rf #fullledger td { border: 0; padding: 0; }
  .rf #fullledger td:nth-child(3) { grid-column: 1 / -1; }
  .rf #fullledger tr.mrow { border-top: 0; padding-top: 22px; }
}

/* review tables on a phone: the label over its text, not beside it */
@media (max-width: 700px) {
  .rf #rv-types thead, .rf #rv-days thead { display: none; }
  .rf #rv-types tr, .rf #rv-days tr { display: block; padding: 12px 0; border-top: 1px solid var(--hairline); }
  .rf .band.red #rv-types tr { border-color: var(--hairline-paper); }
  .rf #rv-types td, .rf #rv-days td { display: block; border: 0; padding: 0; min-width: 0 !important; }
  .rf #rv-types td + td, .rf #rv-days td + td { margin-top: 8px; }
}

/* a chart slot with nothing in it takes its caption with it */
.rf .dayparts:empty, .rf .dayparts:empty + .mono-text { display: none; }
.rf #rv-updated { overflow-wrap: anywhere; }
.rf .roll > ul { list-style: none; padding: 0; margin: 0; }
.rf .band:not(.red):not(.ink) .roll > ul li { border-top-color: var(--hairline); }

/* measure and contrast on the inner pages */
.rf .z-note, .rf .fine, .rf p[style*="0.875rem"] { max-width: 60ch; }
.rf #rv-days, .rf #rv-types { max-width: 47rem; }
.rf .tbl .mrow td, .rf .band.frame #rv-days span[style*="--red"] { color: var(--red-deep) !important; }
.rf .band.red .tbl th { color: oklch(1 0 0 / 0.95); }
.rf .roll .r-meta { font-size: var(--micro); }
.rf .band.red .roll .r-meta, .rf .band.red .roll .r-why { opacity: 1; }
.rf .band.red .who { color: oklch(1 0 0 / 0.96) !important; }
.rf .chart .anno { font-size: 12px; }
