/* ==========================================================================
   LAYOUT: navigation per device, cover, ticker, bands, feed grid, pages.
   Phone < 700px · Tablet 700–1199px · Desktop ≥ 1200px
   ========================================================================== */

/* ---------- Scroll progress (thin line under the nav) ---------- */
.scroll-progress {
  position: fixed;
  inset: 0 0 auto 0;
  height: 3px;
  z-index: calc(var(--z-sticky) + 1);
  pointer-events: none;
}
.scroll-progress span {
  display: block;
  height: 100%;
  background: linear-gradient(90deg, var(--orange), var(--pink), var(--yellow));
  transform-origin: 0 50%;
  transform: scaleX(var(--progress, 0));
}

/* ---------- Masthead: shared ---------- */
.masthead {
  position: sticky;
  top: 0;
  z-index: var(--z-sticky);
  display: grid;
  align-items: stretch;
  background: var(--color-surface);
  border-bottom: var(--bw) solid var(--color-ink);
  font-stretch: var(--stretch-ui);
  transition: transform var(--t-med) var(--ease-out);
}

.brand {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
  padding: 0 var(--sp-4);
  padding-left: max(var(--sp-4), var(--safe-l));
  background: var(--color-ink);
  color: var(--color-surface);
  text-decoration: none;
  min-height: var(--nav-h);
}
.brand .logo { width: 40px; height: auto; color: var(--color-surface); }
.brand .logo rect { fill: var(--color-ink); }
.brand .logo-pupil { fill: var(--orange); transition: transform var(--t-med) var(--ease-snap); transform-box: fill-box; transform-origin: center; }
.brand:hover .logo-pupil { transform: translateX(-13px); }
.brand-name {
  font-family: var(--font-display);
  font-stretch: var(--stretch-display);
  font-weight: 900;
  font-size: 1.6rem;
  text-transform: uppercase;
  letter-spacing: 0.01em;
  line-height: 1;
}

.topnav ul { display: flex; height: 100%; }
.topnav a, .topnav button {
  position: relative;
  display: flex;
  align-items: center;
  gap: var(--sp-2);
  height: 100%;
  min-height: 44px;
  padding: 0 var(--sp-4);
  border-right: var(--bw) solid var(--color-ink);
  font-size: var(--fs-sm);
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  text-decoration: none;
  white-space: nowrap;
  isolation: isolate;
  background: transparent;
  color: inherit;
  border-top: 0; border-bottom: 0; border-left: 0;
}
.topnav a::before, .topnav button::before {                       /* color fill that rises on hover */
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: var(--c);
  transform: scaleY(0);
  transform-origin: 50% 100%;
  transition: transform var(--t-med) var(--ease-out);
}
.topnav a:hover::before, .topnav button:hover::before, .topnav button[aria-expanded="true"]::before { transform: scaleY(1); }
.topnav .nav-news { font-weight: 900; }
.topnav .nav-news:not([aria-current])::before { transform: scaleY(0.18); }
.topnav .caret { font-size: 0.8em; transition: transform var(--t-fast); }
.topnav [aria-expanded="true"] .caret { transform: rotate(180deg); }
.topnav button[data-current]::after { content: ""; position: absolute; left: var(--sp-3); right: var(--sp-3); bottom: 6px; height: 4px; background: var(--c); border: 1px solid var(--color-ink); }

/* Tools dropdown (tablet/desktop) */
.masthead { position: sticky; }
.tools-drop {
  position: absolute;
  top: 100%;
  right: var(--gutter);
  z-index: 5;
  width: min(40rem, calc(100vw - 2 * var(--gutter)));
  max-height: calc(100svh - var(--nav-h) - 2rem);
  overflow-y: auto;
  margin-top: 6px;
  padding: var(--sp-4);
  background: var(--color-surface);
  border: var(--bw) solid var(--color-ink);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-print);
  font-stretch: normal;
}
.topnav a.c-ink:hover, .topnav a.c-cobalt:hover { color: var(--color-surface); }
.topnav a[aria-current="page"]::after {
  content: "";
  position: absolute;
  left: var(--sp-3); right: var(--sp-3); bottom: 6px;
  height: 4px;
  background: var(--c);
  border: 1px solid var(--color-ink);
}
.topnav a.c-ink[aria-current="page"]::after { background: var(--color-ink); }

.utility {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: var(--sp-4);
  padding: 0 var(--sp-4);
  font-size: var(--fs-xs);
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  white-space: nowrap;
  overflow: hidden;
}
.utility .w:empty { display: none; }
.utility .w + .w::before { content: "·"; margin-right: var(--sp-4); color: var(--color-muted); }

.lang-switch {
  display: flex;
  align-items: center;
  gap: 2px;
  padding: 0 var(--sp-3);
  padding-right: max(var(--sp-3), var(--safe-r));
  border-left: var(--bw) solid var(--color-ink);
}
.lang-switch button {
  min-width: 44px;
  min-height: 34px;
  border: var(--bw) solid var(--color-ink);
  background: transparent;
  font-size: var(--fs-xs);
  font-weight: 800;
  letter-spacing: 0.06em;
  transition: background var(--t-fast), color var(--t-fast);
}
.lang-switch button:first-child { border-radius: var(--radius-pill) 0 0 var(--radius-pill); }
.lang-switch button:last-child { border-radius: 0 var(--radius-pill) var(--radius-pill) 0; margin-left: -1.5px; }
.lang-switch button:hover { background: var(--color-accent-2); }
.lang-switch button[aria-pressed="true"] { background: var(--color-ink); color: var(--color-surface); }

/* ---------- Desktop ≥ 1200 ---------- */
@media (min-width: 1200px) {
  .masthead { grid-template-columns: auto auto 1fr auto auto; height: var(--nav-h); }
}
@media (max-width: 1599.98px) {          /* the exchange rate needs room: below 1600 it sits on the cover instead */
  .utility .w-fx { display: none; }
}
@media (min-width: 1600px) {
  .cover-util .w-fx { display: none; }   /* the menu bar shows it here */
}
@media (min-width: 1200px) and (max-width: 1599.98px) {
  .topnav a, .topnav button { padding: 0 var(--sp-3); }   /* eight menu items + clock fit from 1200 up */
}
@media (min-width: 1200px) and (max-width: 1399.98px) {
  .utility .w-weather { display: none; }
}

/* ---------- Tablet 700–1199: two rows, hides on scroll down ---------- */
@media (min-width: 700px) and (max-width: 1199.98px) {
  :root { --nav-h: 108px; }
  .masthead {
    grid-template-columns: auto 1fr auto auto;
    grid-template-areas: "brand util lang theme" "nav nav nav nav";
  }
  .masthead[data-hidden="true"] { transform: translateY(-100%); }
  .brand { grid-area: brand; min-height: 56px; }
  .utility { grid-area: util; }
  .lang-switch { grid-area: lang; }
  .theme-slot { grid-area: theme; }
  .lang-switch button { min-height: 40px; min-width: 48px; }
  .topnav {
    grid-area: nav;
    border-top: var(--bw) solid var(--color-ink);
    overflow-x: auto;
    scrollbar-width: none;
    background: var(--color-background);
  }
  .topnav::-webkit-scrollbar { display: none; }
  .topnav ul { min-width: 100%; }
  .topnav li { flex: 1 0 auto; }
  .topnav a {
    justify-content: center;
    gap: 6px;
    min-height: 52px;
    padding: 0 clamp(0.5rem, 1.4vw, 1.5rem);
    font-size: clamp(0.72rem, 0.55rem + 0.35vw, 0.875rem);
    letter-spacing: 0.03em;
  }
  .topnav a:not(.c-ink)::after {           /* colour dot per section on touch screens */
    content: "";
    order: -1;
    width: 10px; height: 10px;
    border-radius: 50%;
    background: var(--c);
    border: 1px solid var(--color-ink);
  }
  .topnav a[aria-current="page"] { background: var(--color-ink); color: var(--color-surface); }
  .topnav a[aria-current="page"]::after { position: static; height: 10px; width: 10px; border-color: var(--color-surface); }
  .topnav a.c-ink[aria-current="page"]::after { display: none; }
}

/* ---------- Phone < 700: boxed top bar + fixed, equal-width bottom navigation ---------- */
.phonenav, .mobile-lang { display: none; }
@media (max-width: 699.98px) {
  :root { --nav-h: 0px; --mobile-nav-h: 72px; }
  body { padding-bottom: calc(var(--mobile-nav-h) + var(--safe-b)); }
  .masthead {
    position: relative;
    grid-template-columns: minmax(98px, 1.25fr) minmax(62px, .8fr) minmax(0, 1.4fr) 46px;
    min-height: 72px;
    height: auto;
  }
  .masthead .theme-slot, .topnav, .lang-switch, .tools-drop { display: none; }
  .brand { grid-column: 1; min-height: 72px; min-width: 0; gap: 5px; padding: 8px 6px; }
  .brand .logo { width: 24px; flex-shrink: 0; }
  .brand-name { font-size: clamp(1rem, 3.8vw, 1.35rem); }
  .utility { display: contents; }
  .utility .w-time, .utility .w-weather {
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    min-width: 0;
    padding: 8px 6px;
    border-right: var(--bw) solid var(--color-ink);
    white-space: normal;
    line-height: 1.25;
    letter-spacing: 0;
    font-weight: 800;
  }
  .utility .w-time { grid-column: 2; font-size: 1rem; font-variant-numeric: tabular-nums; }
  .utility .w-weather { grid-column: 3; font-size: .75rem; }
  .utility .w-fx, .utility .w + .w::before { display: none; }
  .mobile-lang {
    grid-column: 4;
    display: grid;
    place-items: center;
    min-width: 44px;
    min-height: 72px;
    padding: 4px;
    border: 0;
    background: transparent;
    color: var(--color-ink);
    font-size: .875rem;
    font-weight: 900;
  }
  .mobile-lang-code { border: var(--bw) solid currentColor; border-radius: var(--radius-pill); padding: 5px; }
  .mobile-lang:hover { background: var(--yellow); color: var(--ink-fixed); }

  .phonenav {
    position: fixed;
    inset: auto 0 0;
    z-index: var(--z-sticky);
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 4px;
    height: calc(var(--mobile-nav-h) + var(--safe-b));
    padding: 6px max(6px, var(--safe-l)) calc(6px + var(--safe-b)) max(6px, var(--safe-r));
    background: var(--color-ink);
    color: var(--color-surface);
    border-top: var(--bw-thick) solid var(--color-accent-1);
  }
  .phonenav > a, .phonenav > button {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    width: 100%;
    height: 100%;
    min-width: 0;
    min-height: 0;
    margin: 0;
    padding: 4px 2px;
    border: 0;
    border-radius: var(--radius-md);
    background: transparent;
    color: inherit;
    font-size: .72rem;
    font-weight: 800;
    font-stretch: var(--stretch-ui);
    letter-spacing: .02em;
    text-transform: uppercase;
    text-decoration: none;
    -webkit-tap-highlight-color: transparent;
    transition: background var(--t-fast), transform var(--t-fast) var(--ease-snap);
  }
  .phonenav svg { width: 22px; height: 22px; flex-shrink: 0; }
  .phonenav > :active { transform: scale(.93); }
  .phonenav [aria-current="page"] { background: var(--color-surface); color: var(--ink-fixed); }
  .phonenav .phonenav-news { background: var(--orange); color: var(--ink-fixed); }
  .phonenav .phonenav-news[aria-current="page"] { background: var(--yellow); }
  .phonenav .phonenav-theme { align-self: stretch; }
  .phonenav .phonenav-theme:hover { transform: none; background: var(--yellow); color: var(--ink-fixed); }
  .site-footer { padding-bottom: calc(var(--sp-6) + var(--safe-b)); }
  body .toast, body .consent { bottom: calc(var(--mobile-nav-h) + var(--safe-b) + var(--sp-3)); }
}
@media (max-width: 419.98px) {           /* six tabs: a touch smaller so every label fits on one line */
  .phonenav { gap: 2px; }
  .phonenav > a, .phonenav > button { font-size: .62rem; letter-spacing: 0; padding: 4px 0; }
  .phonenav svg { width: 20px; height: 20px; }
}
@media (max-width: 359.98px) {
  .phonenav > a, .phonenav > button { font-size: .56rem; }
}

.sheet-more { margin-top: var(--sp-4); }
.sheet-plain { background: var(--color-surface); min-height: 52px; font-size: 1.4rem; }
.theme-slot { display: flex; align-items: center; padding: 0 var(--sp-3); padding-right: max(var(--sp-3), var(--safe-r)); border-left: var(--bw) solid var(--color-ink); }

/* Sections sheet (phone) */
.sheet {
  width: 100%;
  max-width: 100%;
  max-height: 88svh;
  overflow-y: auto;
  overscroll-behavior: contain;
  margin: auto 0 0;
  padding: var(--sp-5) var(--sp-4) calc(var(--sp-5) + var(--safe-b));
  border: 0;
  border-top: var(--bw-thick) solid var(--color-ink);
  border-radius: 18px 18px 0 0;
  background: var(--color-surface);
  color: var(--color-ink);
}
.sheet::backdrop { background: rgb(20 19 18 / 0.55); }
.sheet[open] { animation: sheet-up var(--t-med) var(--ease-out); }
.sheet-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: var(--sp-4); }
.sheet-head h2 { font-family: var(--font-display); font-stretch: var(--stretch-display); font-size: 2.25rem; text-transform: uppercase; line-height: 1; }
.sheet-close { min-height: 44px; padding: 0 var(--sp-4); border: var(--bw) solid var(--color-ink); border-radius: var(--radius-pill); background: transparent; font-weight: 700; text-transform: uppercase; font-size: var(--fs-xs); letter-spacing: 0.06em; }
.sheet-list { display: grid; gap: 6px; }
.sheet-link {
  display: flex;
  justify-content: space-between;
  align-items: center;
  min-height: 60px;
  padding: 0 var(--sp-4);
  border: var(--bw) solid var(--color-ink);
  border-radius: var(--radius-md);
  font-family: var(--font-display);
  font-stretch: var(--stretch-display);
  font-weight: 900;
  font-size: 1.75rem;
  text-transform: uppercase;
  text-decoration: none;
}

/* ---------- Cover (homepage opening) ---------- */
.cover {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: grid;
  gap: var(--sp-5) var(--gutter);
  padding: var(--gutter);
  padding-bottom: 0;
  border-bottom: var(--bw) solid var(--color-ink);
  grid-template-columns: minmax(0, 1fr);
  grid-template-areas: "meta" "date" "util" "line" "index" "lead";
}
.cover-side { display: contents; }   /* phones/tablets: weather and index take their own grid rows */
.cover-bg { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.cover-bg .map { --map-o: 0.1; }
.cover-sun {
  position: absolute;
  width: clamp(16rem, 42vw, 40rem);
  aspect-ratio: 1;
  left: clamp(-4rem, 18vw, 26rem);
  top: clamp(3rem, 8vw, 7rem);
  border-radius: 50%;
  background: var(--orange);
  border: var(--bw-thick) solid var(--color-ink);
  opacity: 0.9;
}
.cover-sun::after {                       /* the pupil: glancing sideways */
  content: "";
  position: absolute;
  width: 34%;
  aspect-ratio: 1;
  right: 9%;
  top: 33%;
  border-radius: 50%;
  background: var(--ink-fixed);
  transform: translate(var(--eye-x, 0px), var(--eye-y, 0px));
  transition: transform 0.4s var(--ease-out);
}

.cover-meta { grid-area: meta; display: flex; flex-wrap: wrap; align-items: center; gap: var(--sp-2) var(--sp-3); font-size: var(--fs-sm); font-weight: 700; font-stretch: var(--stretch-ui); text-transform: uppercase; letter-spacing: 0.06em; }
.cover-weekday { font-family: var(--font-serif); font-style: italic; font-weight: 400; text-transform: none; letter-spacing: 0; font-size: var(--fs-md); }
.cover-quick { display: flex; flex-wrap: wrap; gap: var(--sp-2); margin-left: auto; }
.cover-time { display: contents; }

.cover-date {
  grid-area: date;
  display: flex;
  align-items: flex-end;
  gap: var(--sp-4);
  font-family: var(--font-display);
  font-stretch: var(--stretch-display);
  font-weight: 900;
  text-transform: uppercase;
  line-height: 0.8;
}
.cover-day {
  font-size: clamp(9rem, 44vw, 32rem);
  letter-spacing: -0.03em;
  line-height: 0.78;
  display: inline-block;
  padding-right: 0.05em;                  /* last digit's overhang (tight tracking) must not touch the month */
  transform-origin: 0 100%;
}
.cover-my { display: flex; flex-direction: column; gap: var(--sp-2); padding-bottom: 0.4em; }
.cover-month { font-size: clamp(2rem, 9.5vw, 6.5rem); line-height: 0.85; -webkit-text-stroke: 0.09em var(--color-background); paint-order: stroke fill; }
.cover-year { font-size: clamp(1.8rem, 6vw, 4rem); color: transparent; -webkit-text-stroke: 1.5px var(--color-ink); line-height: 0.9; }

.cover-line {
  grid-area: line;
  max-width: 30ch;
  margin: 0;
  font-family: var(--font-serif);
  font-style: italic;
  font-size: clamp(1.5rem, 1.1rem + 1.6vw, 2.6rem);
  line-height: 1.1;
}

.cover-util { grid-area: util; display: flex; flex-wrap: wrap; gap: var(--sp-2); }

.cover-index {
  grid-area: index;
  align-self: start;
  background: var(--color-surface);
  border: var(--bw) solid var(--color-ink);
  box-shadow: var(--shadow-print);
}
.cover-index-title {
  margin: 0;
  padding: var(--sp-3) var(--sp-4);
  border-bottom: var(--bw) solid var(--color-ink);
  background: var(--color-accent-2);
  font-family: var(--font-display);
  font-stretch: var(--stretch-display);
  font-weight: 900;
  font-size: var(--fs-lg);
  text-transform: uppercase;
  line-height: 1;
}
.cover-index li + li { border-top: 1px solid color-mix(in srgb, var(--color-ink) 25%, transparent); }
.cover-index a {
  position: relative;
  display: grid;
  grid-template-columns: 2.2rem 12px 1fr;
  align-items: baseline;
  gap: var(--sp-3);
  min-height: 44px;
  padding: var(--sp-3) var(--sp-4);
  text-decoration: none;
  font-weight: 700;
  font-stretch: var(--stretch-ui);
  line-height: 1.25;
  transition: background var(--t-fast), padding var(--t-med) var(--ease-out);
}
.cover-index a:hover { background: var(--color-background); padding-left: var(--sp-5); }
.ix-no { font-family: var(--font-serif); font-style: italic; font-weight: 400; font-size: var(--fs-md); color: var(--color-muted); }
.ix-dot { width: 12px; height: 12px; border-radius: 50%; border: 1px solid var(--color-ink); align-self: center; transition: transform var(--t-med) var(--ease-snap); }
.cover-index a:hover .ix-dot { transform: scale(1.6); }

.cover-lead {
  grid-area: lead;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: var(--sp-4);
  margin: 0 calc(var(--gutter) * -1);
  padding: var(--sp-4) var(--gutter);
  background: var(--color-ink);
  color: var(--color-surface);
  text-decoration: none;
}
.cover-lead-k { padding: 0.3em 0.8em; border-radius: var(--radius-pill); background: var(--orange); color: var(--color-ink); font-size: var(--fs-xs); font-weight: 800; text-transform: uppercase; letter-spacing: 0.08em; }
.cover-lead-t { font-family: var(--font-display); font-stretch: var(--stretch-display); font-weight: 900; font-size: var(--fs-lg); text-transform: uppercase; line-height: 0.95; }
.cover-lead-arrow { font-size: var(--fs-lg); animation: bob 1.8s var(--ease-out) infinite; }
.cover-lead:hover .cover-lead-t { color: var(--orange); }

@media (min-width: 700px) {
  .cover { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); grid-template-areas: "meta meta" "date date" "util line" "index index" "lead lead"; }
  .cover-line { align-self: center; }
  .cover-index ol { columns: 2; column-gap: 0; }
  .cover-index li { break-inside: avoid; border-top: 1px solid color-mix(in srgb, var(--color-ink) 25%, transparent); }
  .cover-index li:nth-child(-n+1) { border-top: 0; }
}
@media (min-width: 1000px) and (orientation: landscape) {
  .cover { min-height: min(calc(100svh - var(--nav-h) - 3.4rem), 64rem); }
}
@media (min-width: 1000px) {
  .cover {
    grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
    grid-template-rows: auto auto 1fr auto;   /* the date stays near the top, however tall the weather + index column gets */
    grid-template-areas: "meta side" "date side" "line side" "lead lead";
  }
  /* Morning order on wide screens: weather and time first, then today's headlines. */
  .cover-line { align-self: start; }
  .cover-side { grid-area: side; display: flex; flex-direction: column; gap: var(--sp-4); align-self: start; padding-bottom: var(--sp-5); }
  .cover-day { font-size: min(30vw, 58svh); }
  .cover-month { font-size: min(4.6vw, 6rem); }
  .cover-year { font-size: min(3.4vw, 4.5rem); }
  .cover-index ol { columns: 1; }
  .cover-index a { padding-block: var(--sp-2); }
  .cover-index li { border-top: 1px solid color-mix(in srgb, var(--color-ink) 25%, transparent); }
  .cover-index li:first-child { border-top: 0; }
  .cover-sun { left: 24vw; top: 6rem; width: min(34vw, 44rem); }
}
@media (max-width: 699.98px) {
  .cover { gap: var(--sp-4); }
  .cover-date { gap: var(--sp-3); }
  .cover-sun { width: 70vw; left: 30vw; top: 4.5rem; }
  .cover-lead { grid-template-columns: 1fr auto; }
  .cover-lead-k { grid-column: 1 / -1; justify-self: start; }
}

/* ---------- Ticker ---------- */
.ticker {
  overflow: hidden;
  border-bottom: var(--bw) solid var(--color-ink);
  background: var(--color-accent-2);
  font-family: var(--font-display);
  font-stretch: var(--stretch-display);
  font-weight: 900;
  font-size: clamp(1.25rem, 1rem + 1vw, 2rem);
  line-height: 1;
  white-space: nowrap;
}
.ticker-track {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-4);
  padding: 0.55em 0;
  animation: ticker 70s linear infinite;
  transform: skewX(var(--skew, 0deg));
}
.ticker-track i { font-style: normal; color: var(--orange); -webkit-text-stroke: 1px var(--color-ink); }
.ticker:hover .ticker-track { animation-play-state: paused; }

/* ---------- Feed grid: thin ink rules come from the 1.5px gap ---------- */
.feed {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: var(--bw);
  background: var(--color-ink);
  border-bottom: var(--bw) solid var(--color-ink);
}
@media (min-width: 1000px) {
  .feed { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .feed > .w-full, .feed > .band, .feed > .date-rule { grid-column: 1 / -1; }
}

/* ---------- Section band ---------- */
.band {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: var(--sp-4);
  padding: var(--sp-6) var(--gutter) var(--sp-4);
  border-top: var(--bw-thick) solid var(--color-ink);
}
.band-marquee {
  position: absolute;
  inset: 0 auto auto 0;
  z-index: -1;
  display: flex;
  gap: 0.4em;
  font-family: var(--font-display);
  font-stretch: var(--stretch-display);
  font-weight: 900;
  font-size: clamp(3rem, 2rem + 5vw, 7rem);
  line-height: 0.9;
  text-transform: uppercase;
  white-space: nowrap;
  color: transparent;
  -webkit-text-stroke: 1px currentColor;
  opacity: 0.35;
}
.band-marquee span:nth-child(even) { font-family: var(--font-serif); font-style: italic; font-weight: 400; text-transform: none; -webkit-text-stroke: 0; color: currentColor; opacity: 0.5; }
.band-title {
  font-family: var(--font-display);
  font-stretch: var(--stretch-display);
  font-size: var(--fs-2xl);
  text-transform: uppercase;
  line-height: 0.85;
}
.band-title a { text-decoration: none; }
.band-title a:hover { text-decoration: underline; text-decoration-thickness: 4px; }
.band-quip { margin: 0; max-width: 32ch; font-family: var(--font-serif); font-style: italic; font-size: var(--fs-md); line-height: 1.15; text-align: right; }
@media (max-width: 699.98px) { .band-quip { text-align: left; } }

/* ---------- Day navigation ---------- */
.day-nav {
  display: flex;
  flex-wrap: wrap;
  gap: var(--bw);
  background: var(--color-ink);
  border-bottom: var(--bw) solid var(--color-ink);
}
.day-nav a {
  flex: 1 1 14rem;
  display: flex;
  flex-direction: column;
  gap: var(--sp-1);
  padding: var(--sp-5) var(--gutter);
  background: var(--color-surface);
  text-decoration: none;
  transition: background var(--t-fast);
}
.day-nav a:hover { background: var(--color-accent-2); }
.day-nav a > span { font-size: var(--fs-xs); font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; }
.day-nav strong { font-family: var(--font-display); font-stretch: var(--stretch-display); font-size: var(--fs-xl); text-transform: uppercase; line-height: 0.9; }
.day-next { text-align: right; align-items: flex-end; }

/* ---------- Page heroes (section, archive, about) ---------- */
.section-hero, .page-hero {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  padding: var(--sp-8) var(--gutter) var(--sp-5);
  border-bottom: var(--bw-thick) solid var(--color-ink);
}
.section-hero-bg { position: absolute; inset: 0; z-index: -1; }
.section-hero-bg .map { --map-o: 0.18; }
.section-hero-k, .page-hero-k { font-size: var(--fs-sm); font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; font-stretch: var(--stretch-ui); }
.section-hero-title, .page-hero-title {
  font-family: var(--font-display);
  font-stretch: var(--stretch-display);
  font-weight: 900;
  font-size: clamp(4.5rem, 1rem + 16vw, 16rem);
  text-transform: uppercase;
  line-height: 0.8;
  letter-spacing: -0.02em;
}
.page-hero { background: var(--color-surface); }
.page-hero-line { margin-top: var(--sp-4); font-family: var(--font-serif); font-style: italic; font-size: var(--fs-lg); line-height: 1.1; max-width: 26ch; }
.page-hero-about { background: var(--pink); }

.date-rule {
  padding: var(--sp-4) var(--gutter);
  background: var(--color-background);
  font-size: var(--fs-sm);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.date-rule a { text-decoration: none; }
.date-rule a:hover { text-decoration: underline; }

.empty { padding: var(--sp-8) var(--gutter); font-family: var(--font-serif); font-style: italic; font-size: var(--fs-lg); }

/* ---------- Story page ---------- */
.story-page .crumbs {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-2);
  margin: 0;
  padding: var(--sp-4) var(--gutter);
  border-bottom: var(--bw) solid var(--color-ink);
  font-size: var(--fs-sm);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.story-page .crumbs a { text-decoration: none; }
.story-page .crumbs a:hover { text-decoration: underline; }
.story-page > .story { border-bottom: var(--bw) solid var(--color-ink); }

/* ---------- Footer ---------- */
.site-footer {
  position: relative;
  z-index: var(--z-content);
  overflow: hidden;
  background: var(--color-ink);
  color: var(--color-surface);
  padding: var(--sp-7) var(--gutter) 0;
}
.footer-grid {
  display: grid;
  gap: var(--sp-6);
  grid-template-columns: repeat(auto-fit, minmax(14rem, 1fr));
  padding-bottom: var(--sp-6);
  border-bottom: var(--bw) solid rgb(248 243 231 / 0.3);
}
.footer-kicker { font-family: var(--font-serif); font-style: italic; font-size: var(--fs-lg); line-height: 1.1; }
.footer-note, .footer-small { color: rgb(248 243 231 / 0.7); font-size: var(--fs-sm); }
.footer-links { display: grid; grid-template-columns: 1fr 1fr; gap: var(--sp-1) var(--sp-4); }
.footer-links a { display: inline-flex; min-height: 36px; align-items: center; font-weight: 700; text-transform: uppercase; font-size: var(--fs-sm); letter-spacing: 0.06em; text-decoration: none; background: linear-gradient(var(--orange), var(--orange)) 0 100% / 0 3px no-repeat; transition: background-size var(--t-med) var(--ease-out); }
.footer-links a:hover { background-size: 100% 3px; }
.footer-mail { font-family: var(--font-display); font-stretch: var(--stretch-display); font-weight: 900; font-size: var(--fs-lg); text-transform: uppercase; line-height: 1; text-decoration: none; }
.footer-mail:hover { color: var(--color-accent-2); }
.footer-word {
  margin: 0;
  font-family: var(--font-display);
  font-stretch: var(--stretch-display);
  font-weight: 900;
  font-size: 21vw;
  line-height: 0.78;
  text-transform: uppercase;
  letter-spacing: -0.02em;
  white-space: nowrap;
  color: var(--color-accent-2);
  transform: translateY(12%);
  text-align: center;
}
.cover-safety, .cover-check, .cover-connect { background: var(--color-surface); color: var(--color-ink); }
.live-dot { width: 7px; height: 7px; border-radius: 50%; background: #2f9e57; box-shadow: 0 0 0 3px color-mix(in srgb, #2f9e57 25%, transparent); }
.cover-safety .pill-icon { color: var(--red); font-size: 1.1em; }
.cover-check .pill-icon { color: var(--orange); font-size: 1.1em; font-weight: 900; }
@media (max-width: 699.98px) {
  .cover-quick { margin-left: 0; flex-basis: 100%; gap: 6px; }
  .cover-quick .pill { padding-inline: 0.65em; letter-spacing: 0.03em; gap: 0.35em; }
}
