/* Juice Radio: "Fresh Beats".
   The station's own marketing banner (FRESH BEATS and THROWBACKS: sky-blue heavy
   italic, outline, hot pink) built into the product, with their tile system as
   the artwork. Light first; dark follows the OS unless the listener picks one.
   Only transform and opacity animate. */

/* ================================================================ tokens */
:root {
  --paper: #fff;
  --ghost: #F6F0F7;          /* sampled: banner ghost J */
  --sticker: #E3E1E3;        /* sampled: sticker logo outline */
  --sky: #339AFE;            /* sampled: "FRESH" */
  --sky-display: #2C92F6;    /* 3.21:1 on white: large type only */
  --sky-ink: #1A73D9;        /* 4.67:1: small text */
  --hot: #FF009A;            /* banner pink: large type */
  --pink: #ED1C83;           /* logo + tiles + buttons */
  --pink-ink: #C4007A;       /* 5.79:1: small pink text */
  --currant: #522169;        /* logo purple: the chrome */
  --currant-2: #5E2C77;
  --ink: #0D0A0F;
  --muted: #6B5A74;          /* 6.29:1 */
  --rule: #EEE7F0;
  --stroke-c: var(--ink);
  --btn-bg: var(--ink);
  --btn-ink: #fff;
  --sel-bg: #000;
  --sel-ink: #fff;
  --sel-sub: var(--hot);
  --dot-ring: transparent;
  --field: #fff;
  --field-line: #CFC4D6;
  --lilac: #E4D7EA;          /* secondary text on currant: 9.6:1 */

  --f-d: "Sofia Sans Extra Condensed", "Arial Narrow", Impact, sans-serif;
  --f-o: "Big Shoulders Display", "Arial Narrow", sans-serif;
  --f-ui: "Archivo", system-ui, -apple-system, "Segoe UI", sans-serif;

  --g: 16px;
  --max: 1280px;
  --safe-b: env(safe-area-inset-bottom, 0px);
  --player-h: 64px;
  --tab-h: 60px;
  --dock-h: calc(var(--player-h) + var(--tab-h) + var(--safe-b));
  --top-h: 60px;
  --side-w: 0px;
  --ease: cubic-bezier(.32, .72, 0, 1);
  color-scheme: light;
}
@media (min-width: 600px) { :root { --g: 24px; } }
@media (min-width: 768px) { :root { --player-h: 88px; --tab-h: 0px; --top-h: 0px; --side-w: 88px; --dock-h: calc(var(--player-h) + var(--safe-b)); } }
@media (min-width: 900px) { :root { --g: 40px; } }
@media (min-width: 1024px) { :root { --side-w: 264px; } }
@media (min-width: 1200px) { :root { --g: 48px; } }

/* Dark: follows the OS, unless the listener has picked light. */
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --paper: #140A1A; --ghost: #24152D; --sticker: #3A2B42; --sky-display: #339AFE; --sky-ink: #5CB0FF;
    --pink-ink: #FF5CB8; --ink: #FFFFFF; --muted: #B9A7C2; --rule: #2A1C31; --btn-bg: #fff; --btn-ink: #000;
    --sel-bg: #fff; --sel-ink: #000; --sel-sub: #C4007A; --dot-ring: #fff; --field: #1E1226; --field-line: #4A3854;
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --paper: #140A1A; --ghost: #24152D; --sticker: #3A2B42; --sky-display: #339AFE; --sky-ink: #5CB0FF;
  --pink-ink: #FF5CB8; --ink: #FFFFFF; --muted: #B9A7C2; --rule: #2A1C31; --btn-bg: #fff; --btn-ink: #000;
  --sel-bg: #fff; --sel-ink: #000; --sel-sub: #C4007A; --dot-ring: #fff; --field: #1E1226; --field-line: #4A3854;
  color-scheme: dark;
}

/* ================================================================ base */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--top-h) + 12px); scroll-padding-bottom: calc(var(--dock-h) + 12px); }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font: 400 17px/1.5 var(--f-ui); font-stretch: 100%;
  padding-bottom: var(--dock-h);       /* the player never covers content */
  -webkit-font-smoothing: antialiased; overflow-x: clip;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
.i { width: 1em; height: 1em; flex: none; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.i--fill { fill: currentColor; stroke: none; }

/* Focus: ink ring with a paper halo on light surfaces, white on the chrome. */
:focus-visible { outline: 3px solid var(--ink); outline-offset: 2px; box-shadow: 0 0 0 5px var(--paper); }
.side :focus-visible, .player :focus-visible, .np :focus-visible, .listen :focus-visible, .foot__strip :focus-visible {
  outline-color: #fff; box-shadow: 0 0 0 5px var(--currant);
}
.side__nav a:focus-visible { outline-offset: -4px; box-shadow: none; }
.sr { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -80px; z-index: 100; background: var(--ink); color: var(--paper); padding: 12px 16px; font-weight: 700; }
.skip:focus { top: 12px; }
.wrap { width: 100%; max-width: calc(var(--max) + var(--g) * 2); margin: 0 auto; padding: 0 var(--g); }
main { container: main / inline-size; display: block; min-height: 50vh; }
main:focus { outline: none; }

/* ================================================================ type voices */
.d { font-family: var(--f-d); font-style: italic; font-weight: 900; text-transform: uppercase; line-height: .86; letter-spacing: -.004em; }
.o { font-family: var(--f-o); font-weight: 500; font-style: normal; text-transform: uppercase; line-height: .86; letter-spacing: .01em;
     color: transparent; -webkit-text-stroke: max(1.25px, .018em) var(--stroke-c); paint-order: stroke; }
.sky { color: var(--sky-display); }
.hot { color: var(--hot); }
.rot { writing-mode: vertical-rl; transform: rotate(180deg); display: block; line-height: .86; letter-spacing: .02em;
       -webkit-text-stroke-width: max(1px, .045em); white-space: nowrap; }

/* ================================================================ ghost J (one per view, never behind text) */
.ghost { position: absolute; z-index: 0; pointer-events: none; fill: var(--ghost); aspect-ratio: 220 / 380; height: auto; animation: drift 60s ease-in-out infinite alternate; }
@keyframes drift { from { translate: 0 0; } to { translate: 2% -1.5%; } }

/* ================================================================ lamp (the studio ON AIR light) */
.lamp { display: inline-block; background: var(--hot); color: #000; font: 900 12px/1 var(--f-ui); font-stretch: 125%;
        text-transform: uppercase; letter-spacing: .02em; padding: 6px 7px 5px; border-radius: 2px; vertical-align: middle; white-space: nowrap; }
.lamp--sm { font-size: 11px; padding: 4px 5px 3px; }

/* ================================================================ tile (show artwork) */
.tile { --bg: var(--pink); --c1: #000; --c2: #fff;
  position: relative; display: grid; place-items: center; aspect-ratio: 1; width: 100%; background: var(--bg);
  container-type: inline-size; overflow: hidden; flex: none; }
.tile--pink { --bg: #ED1C83; }
.tile--currant { --bg: #522169; }
.tile--black { --bg: #000; }
.tile__w { display: flex; flex-direction: column; align-items: flex-start;
  font: 900 calc(var(--fit) * 1cqi) / .9 var(--f-ui); font-stretch: 125%; text-transform: uppercase; letter-spacing: -.01em; color: var(--c1); }
.tile__w b { font: inherit; display: block; color: inherit; white-space: nowrap; }
.tile__w .b { color: var(--c2); }
.tile__w .gap { margin-top: .26em; }
.tile--photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
:root[data-theme="dark"] .tile--black { box-shadow: inset 0 0 0 1px #3A2B42; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .tile--black { box-shadow: inset 0 0 0 1px #3A2B42; } }

.sticker { display: block; padding: 6px; background: var(--sticker); border-radius: 16px; }
.sticker > .tile, .sticker > img, .sticker > .photo { border-radius: 10px; }
.photo { width: 100%; aspect-ratio: 5 / 3; object-fit: cover; background: var(--currant); }

/* ================================================================ mobile header */
.top { position: sticky; top: 0; z-index: 30; background: var(--paper); }
.top__in { display: flex; align-items: center; gap: 16px; height: var(--top-h); padding: 0 var(--g); }
.top__logo { display: inline-flex; align-items: center; min-height: 48px; min-width: 44px; }
.top__logo img { width: auto; height: 42px; }
.station { margin-left: auto; display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 6px; font-weight: 700; font-size: 15px; }
.jdot { width: 26px; height: 26px; border-radius: 50%; background: var(--pink); color: #fff; display: inline-grid; place-items: center;
  font: italic 900 19px/1 var(--f-ui); padding-right: 2px; flex: none; }
.station__freq { color: var(--muted); font-weight: 500; }
.station .i { font-size: 14px; color: var(--muted); }
.iconbtn { width: 44px; height: 44px; display: inline-grid; place-items: center; border-radius: 50%; font-size: 20px; flex: none; }
@media (min-width: 768px) { .top { display: none; } }

/* ================================================================ sidebar: navigation only, never unmounts */
.side { display: none; }
@media (min-width: 768px) {
  main { margin-left: var(--side-w); }
  .side { display: flex; flex-direction: column; position: fixed; z-index: 35; top: 0; left: 0; bottom: var(--player-h); width: var(--side-w);
    background: var(--currant); color: #fff; overflow: hidden auto; scrollbar-width: none; isolation: isolate; }
  .side::-webkit-scrollbar { display: none; }
  .side__ghost { position: absolute; z-index: -1; left: -46%; bottom: -14%; height: 56%; aspect-ratio: 220 / 380; fill: var(--currant-2); pointer-events: none; }
  .side__logo { display: grid; place-items: center; padding: 18px 12px 10px; min-height: 48px; flex: none; }
  .side__logo img { width: 100%; max-width: 172px; height: auto; }
  .side__j { display: none; }
  .side__nav { display: flex; flex-direction: column; padding: 8px 0; }
  .side__nav a { display: flex; align-items: center; gap: 14px; min-height: 46px; padding: 0 22px; text-decoration: none; color: #fff;
    font: italic 900 25px/1 var(--f-d); text-transform: uppercase; letter-spacing: .005em; }
  .side__nav a .i { font-size: 19px; color: var(--lilac); stroke-width: 1.8; }
  .side__nav a:hover { background: rgba(255, 255, 255, .08); }
  .side__nav a[aria-current="page"] { background: var(--hot); color: #000; }
  .side__nav a[aria-current="page"] .i { color: #000; }
  .side__stations { margin: 14px 0 0; }
  .side__h { margin: 0 22px 10px; font: italic 900 25px/1 var(--f-d); text-transform: uppercase; color: var(--lilac); letter-spacing: .005em; }
  .side__st { display: grid; grid-template-columns: minmax(0, 1fr) 44px; align-items: center; gap: 10px; margin: 0 14px; padding: 8px 10px 8px 8px; background: rgba(0, 0, 0, .22); }
  .side__st-open { display: flex; align-items: center; gap: 12px; min-width: 0; min-height: 52px; text-align: left; }
  .side__st .jdot { width: 44px; height: 44px; font-size: 30px; box-shadow: 0 0 0 3px var(--sticker); padding-right: 3px; }
  .side__st-m { min-width: 0; }
  .side__st-t { font-weight: 800; font-size: 15px; line-height: 1.2; display: block; }
  .side__st-s { font-size: 13px; color: var(--lilac); line-height: 1.3; display: flex; gap: 6px; align-items: center; white-space: nowrap; overflow: hidden; }
  .side__st-s .lamp { display: none; }
  [data-player="playing"] .side__st-s .lamp { display: inline-block; }
  .side__st .play { width: 44px; height: 44px; font-size: 16px; background: #fff; color: var(--currant); }
  .side__st .play .play__ring { stroke: #fff; }
  .side__foot { margin-top: auto; padding: 22px 22px 14px; }
  .side__freq { margin: 0; font: italic 900 30px/.9 var(--f-d); text-transform: uppercase; }
  .side__freq .a { color: #5CB0FF; } .side__freq .b { color: var(--hot); }
  .side__cov { margin: 6px 0 8px; font-size: 13px; color: var(--lilac); line-height: 1.35; }
  .side__links { list-style: none; margin: 0; padding: 0; }
  .side__links a, .side__links button { display: flex; align-items: center; gap: 10px; min-height: 44px; color: #fff; font-size: 14px; font-weight: 600; text-decoration: none; text-align: left; width: 100%; }
  .side__links .i { font-size: 17px; color: var(--hot); }
  .side__links small { display: block; color: var(--lilac); font-weight: 500; font-size: 13px; }
  .side__links span { line-height: 1.3; }
  .side__rail-theme { display: none; color: #fff; }
}
/* 768–1023: collapse to an icon rail */
@media (min-width: 768px) and (max-width: 1023px) {
  .side__logo { padding: 16px 0 8px; }
  .side__logo img { display: none; }
  .side__j { display: grid; width: 52px; height: 52px; border-radius: 50%; background: var(--pink); color: #fff; place-items: center; font: italic 900 36px/1 var(--f-ui); padding-right: 3px; box-shadow: 0 0 0 4px var(--sticker); }
  .side__nav a { justify-content: center; padding: 0; min-height: 52px; font-size: 0; gap: 0; }
  .side__nav a .i { font-size: 22px; }
  .side__nav a span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .side__h, .side__st-m, .side__cov, .side__links, .side__freq { display: none; }
  .side__st { grid-template-columns: 1fr; justify-items: center; gap: 8px; margin: 10px 12px 0; padding: 8px 0; }
  .side__st-open { justify-content: center; }
  .side__foot { padding: 12px 0 14px; display: grid; justify-items: center; }
  .side__rail-theme { display: inline-grid; }
}

/* ================================================================ play button */
.play { position: relative; flex: none; width: 72px; height: 72px; border-radius: 50%; background: var(--pink); color: #fff;
  display: grid; place-items: center; font-size: 26px; transition: transform .12s ease; -webkit-tap-highlight-color: transparent; }
.play:active { transform: scale(.96); }
.play__i { grid-area: 1 / 1; display: grid; place-items: center; }
.play__i--play .i { translate: 2px 0; }
.play__i--stop, .play__i--retry { display: none; }
.play__ring { position: absolute; inset: -5px; width: calc(100% + 10px); height: calc(100% + 10px); fill: none; stroke: var(--pink); stroke-width: 2.5;
  stroke-dasharray: 36 140; opacity: 0; pointer-events: none; }
.play--hero { width: 84px; height: 84px; font-size: 30px; }
.play--xl { width: 80px; height: 80px; font-size: 28px; }
.play--slot { width: 52px; height: 52px; font-size: 19px; }
.play--bar { width: 48px; height: 48px; font-size: 18px; background: #fff; color: var(--currant); }
.play--bar .play__ring, .np .play__ring { stroke: #fff; }
.np .play { background: #fff; color: var(--currant); }
@media (min-width: 768px) { .play--bar { width: 56px; height: 56px; font-size: 20px; } }

:is([data-player="playing"], [data-player="buffering"], [data-player="connecting"], [data-player="reconnecting"]) .play__i--play { display: none; }
:is([data-player="playing"], [data-player="buffering"], [data-player="connecting"], [data-player="reconnecting"]) .play__i--stop { display: grid; }
:is([data-player="stream-dead"], [data-player="offline"]) .play__i--play { display: none; }
:is([data-player="stream-dead"], [data-player="offline"]) .play__i--retry { display: grid; }
:is([data-player="connecting"], [data-player="buffering"], [data-player="reconnecting"]) .play__ring { opacity: 1; animation: spin 1s linear infinite; transform-origin: 50% 50%; }
@keyframes spin { to { transform: rotate(360deg); } }

.btn { display: inline-flex; align-items: center; gap: 12px; min-height: 52px; padding: 0 22px; background: var(--btn-bg); color: var(--btn-ink);
  font-weight: 700; font-size: 16px; text-decoration: none; }
.btn .i { transition: transform .15s ease; }
.btn:hover .i--arrow { transform: translateX(3px); }
.btn--play { background: var(--pink); color: #fff; font-size: 19px; min-height: 56px; }
.btn--play .play__i { display: none; } .btn--play .play__i--play { display: grid; }
:is([data-player="playing"], [data-player="connecting"], [data-player="buffering"], [data-player="reconnecting"]) .btn--play .play__i--play { display: none; }
:is([data-player="playing"], [data-player="connecting"], [data-player="buffering"], [data-player="reconnecting"]) .btn--play .play__i--stop { display: grid; }
:is([data-player="stream-dead"], [data-player="offline"]) .btn--play .play__i--play { display: none; }
:is([data-player="stream-dead"], [data-player="offline"]) .btn--play .play__i--retry { display: grid; }

/* ================================================================ lockup: the banner grammar, fitted to real data
   Each line is sized to its own measured width (--w, in em) and never wraps. */
.lockup { container-type: inline-size; margin: 0; font-size: min(23cqi, 108px); line-height: .86; }
.lockup__fit { display: block; }
.lk { display: block; white-space: nowrap; }
.lk__h { display: block; font-size: min(1em, 97cqi / var(--w)); }
.lk__o { display: block; font-size: min(.82em, 97cqi / var(--w)); margin-top: .05em; -webkit-text-stroke-width: max(1.5px, .02em); }
.lk--2 { display: flex; align-items: flex-end; font-size: min(1em, 97cqi / var(--w)); margin-top: .06em; }
.rotw { flex: none; height: .655em; margin: 0 .07em .1em 0; display: flex; align-items: flex-end; }
.rotw .rot { font-size: calc(var(--rs) * 1em); }
.lk--g { display: block; font-size: min(1em, 97cqi / var(--w)); margin-top: .04em; }

/* ================================================================ hero */
.hero { position: relative; overflow: hidden; padding: 14px 0 40px; }
.hero__in { position: relative; z-index: 1; }
.hero .ghost { height: 70%; right: -34%; top: 42%; }
.hero__lamp { margin: 0 0 14px; display: flex; align-items: center; gap: 10px; font-weight: 600; font-size: 15px; }
.hero__collage { position: relative; margin: 28px 0 0; }
.hero__photo { display: block; width: calc(100% - 44px); max-width: 500px; margin-left: auto; text-decoration: none; }
.hero__tile { position: absolute; right: -8px; top: -22px; width: 34%; max-width: 150px; transform: rotate(-5deg); z-index: 2; }
.hero__badge { position: absolute; left: -2px; bottom: -22px; z-index: 3; box-shadow: 0 0 0 6px var(--sticker); }
.hero__listen { display: flex; align-items: center; gap: 16px; margin-top: 40px; }
.hero__listen .play { display: none; }
.hero__cta { display: none; margin: 0; font-size: 34px; }
.hero__ex { margin: 0; font-size: 16px; color: var(--muted); max-width: 40ch; line-height: 1.45; }

/* gap: Non-stop Juice, 64% of the week */
.gapc { position: relative; margin-top: 28px; display: grid; grid-template-columns: minmax(0, 1fr); gap: 20px; min-height: 200px; }
.gapc__tile { width: 62%; max-width: 280px; transform: rotate(-4deg); }
.gapc .hero__badge { left: auto; right: 0; top: 36%; bottom: auto; }
.upnext { display: grid; grid-template-columns: 72px minmax(0, 1fr); gap: 14px; align-items: center; text-decoration: none; padding: 14px 0; border-top: 2px solid var(--ink); }
.upnext .tile { width: 72px; }
.upnext__k { display: block; font: italic 900 20px/1 var(--f-d); text-transform: uppercase; color: var(--pink-ink); }
.upnext__t { display: block; font-weight: 700; font-size: 18px; line-height: 1.25; margin-top: 4px; }
.upnext__p { display: block; font-size: 15px; color: var(--muted); }

@container main (min-width: 720px) {
  .hero { padding: 24px 0 72px; }
  .hero .ghost { height: 118%; right: -150px; top: 22%; }
  .hero__in { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 470px); grid-template-areas: "lamp lamp" "lock lock" "listen collage"; column-gap: 40px; }
  .hero__lamp { grid-area: lamp; justify-self: center; margin-bottom: 22px; }
  .hero .lockup { grid-area: lock; font-size: clamp(76px, 11.6cqi, 156px); text-align: center; }
  .hero .lockup__fit { display: inline-block; text-align: left; }
  .hero .lk--1 { font-size: min(1em, 97cqi / var(--w1)); }
  .hero .lk--1 .lk__h, .hero .lk--1 .lk__o { display: inline; }
  .hero .lk--1 .lk__h { font-size: 1em; }
  .hero .lk--1 .lk__o { font-size: .82em; margin: 0; -webkit-text-stroke-width: max(2px, .018em); }
  .hero__collage { grid-area: collage; font-size: clamp(76px, 11.6cqi, 156px); margin-top: -.72em; }
  .hero--long .hero__collage, .hero--nophoto .hero__collage { margin-top: 32px; }
  .hero__collage > * { font-size: 16px; }
  .hero__photo { width: 100%; }
  .hero__tile { width: 150px; right: auto; top: auto; left: -80px; bottom: -34px; }
  .hero__badge { display: none; }
  .hero__listen { grid-area: listen; align-self: end; margin: 0; padding-bottom: 6px; justify-self: start; }
  .hero__listen .play { display: grid; }
  .hero__cta { display: block; font-size: 44px; }
  .hero__ex { font-size: 17px; max-width: 36ch; margin-top: 6px; }
  .hero--gap .hero__in { grid-template-areas: "lamp lamp" "lock lock" "listen collage"; }
  .gapc { grid-area: collage; margin-top: 36px; grid-template-columns: 220px minmax(0, 1fr); align-items: end; gap: 28px; }
  .gapc__tile { width: 100%; }
  .gapc .hero__badge { display: none; }
}

/* ================================================================ section heads: one heavy line */
.sec-h { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 20px; }
.sec-h h2 { margin: 0; font-size: clamp(40px, 6.2cqi, 72px); }
.more { font-weight: 700; font-size: 15px; color: var(--pink-ink); text-decoration: none; display: inline-flex; gap: 8px; align-items: center; min-height: 44px; white-space: nowrap; }

/* ================================================================ today rail */
.today { padding: 40px 0 8px; }
.rail { list-style: none; margin: 0 calc(var(--g) * -1); padding: 0 var(--g) 8px; display: grid; grid-auto-flow: column; grid-auto-columns: 148px; gap: 14px;
  overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding: 0 var(--g); scrollbar-width: none; }
.rail::-webkit-scrollbar { display: none; }
.rail__i { scroll-snap-align: start; }
.rail__i a { display: flex; flex-direction: column; text-decoration: none; }
.rail__k { margin-top: 10px; font: italic 900 20px/1 var(--f-d); text-transform: uppercase; color: var(--sky-ink); min-height: 20px; }
.rail__t { margin-top: 5px; font-weight: 700; font-size: 16px; line-height: 1.2; }
.rail__s { font-size: 14px; color: var(--muted); line-height: 1.35; margin-top: 2px; }
.rail__i.is-now .rail__k { color: var(--pink-ink); }
@container main (min-width: 720px) {
  .rail { grid-auto-flow: row; grid-template-columns: 1.5fr 1fr 1fr 1fr; overflow: visible; margin: 0; padding: 0; gap: 28px; align-items: end; }
  .rail__k { font-size: 24px; margin-top: 14px; }
  .rail__t { font-size: 18px; }
}

/* ================================================================ team */
.team { padding: 56px 0 8px; }
.team__grid { list-style: none; margin: 0 calc(var(--g) * -1); padding: 0 var(--g) 8px; display: grid; grid-auto-flow: column; grid-auto-columns: 250px; gap: 14px;
  overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding: 0 var(--g); scrollbar-width: none; }
.team__grid::-webkit-scrollbar { display: none; }
.team__i { scroll-snap-align: start; }
.team__i a { display: block; text-decoration: none; }
.team__n { display: block; font-size: 34px; margin-top: 10px; }
.team__s { display: flex; flex-wrap: wrap; align-items: center; gap: 0 8px; font-size: 15px; color: var(--muted); margin-top: 4px; }
.team__i.is-on .team__n { color: var(--hot); }
.team__on { color: var(--pink-ink); font-weight: 700; }
/* Two up on phones, so today's 500px photos are never stretched past their size. */
.team--page .team__grid { grid-auto-flow: row; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); overflow: visible; margin: 0; padding: 0; gap: 28px 14px; }
.team--page .team__n { font-size: 26px; }
@container main (min-width: 720px) { .team--page .team__grid { grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 40px 24px; } .team--page .team__n { font-size: 40px; } }
@container main (min-width: 720px) {
  .team { padding-top: 96px; }
  .team__grid { grid-auto-flow: row; grid-template-columns: repeat(3, 1fr); overflow: visible; margin: 0; padding: 0; gap: 40px 28px; }
  .team__n { font-size: 44px; }
  .team__i a .photo { transition: transform .25s var(--ease); }
  .team__i a:hover .photo { transform: scale(1.015); }
}

/* ================================================================ tune in band */
.listen { margin-top: 64px; background: var(--currant); color: #fff; }
.listen__crowd { margin: 0 calc(var(--g) * -1); height: 240px; overflow: hidden; background: #2a1760; }
.listen__crowd img { width: 100%; height: 100%; object-fit: cover; object-position: 30% 60%; }
.listen__txt { padding: 28px 0 44px; }
.listen__h { margin: 0 0 18px; font-size: 76px; color: #fff; }
.ways { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; }
.ways li { padding: 14px 0; border-top: 2px solid rgba(255, 255, 255, .28); }
.ways li:first-child { border-top-color: #fff; }
.ways__k { display: block; font: italic 900 34px/.95 var(--f-d); text-transform: uppercase; }
.ways__s { display: block; font-size: 15px; color: var(--lilac); margin-top: 4px; }
.ways__s a { color: #fff; font-weight: 700; }
@container main (min-width: 720px) {
  .listen { margin-top: 112px; }
  .listen__in { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 480px); gap: 0 64px; align-items: stretch; }
  .listen__crowd { order: 2; margin: 0 calc(var(--g) * -1) 0 0; height: auto; min-height: 460px; }
  .listen__txt { align-self: center; padding: 56px 0; }
  .listen__h { margin: 0 0 24px; font-size: 120px; }
  .ways__k { font-size: 42px; }
}

/* ================================================================ coverage */
.cover { position: relative; overflow: hidden; padding: 56px 0 24px; }
.cover__in { position: relative; z-index: 1; }
.cover__h { margin: 0; font-size: min(22cqi, 112px); }
.areas { margin: 24px 0 0; display: grid; gap: 0; }
.areas div { display: flex; justify-content: space-between; gap: 16px; padding: 12px 0; border-top: 2px solid var(--ink); }
.areas dt { font-weight: 700; }
.areas dd { margin: 0; color: var(--muted); text-align: right; }
.cover__p { color: var(--muted); font-size: 15px; margin: 14px 0 0; }
@container main (min-width: 720px) {
  .cover { padding: 104px 0 40px; }
  .cover__in { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
  .cover__h { font-size: clamp(88px, 10cqi, 136px); }
}

/* ================================================================ advertise moment */
.ad { padding: 40px 0 64px; }
.ad__in { display: grid; gap: 28px; }
.ad__tile { max-width: 260px; }
.ad__h { margin: 0; font-size: 52px; }
.ad__txt p { margin: 16px 0 24px; max-width: 44ch; }
@container main (min-width: 720px) {
  .ad { padding: 72px 0 112px; }
  .ad__in { grid-template-columns: minmax(0, 340px) 1fr; gap: 64px; align-items: center; }
  .ad__tile { max-width: none; }
  .ad__h { font-size: 80px; }
  .ad__txt p { font-size: 19px; }
}

/* ================================================================ footer (inside <main>, swapped with it) */
.foot { position: relative; overflow: hidden; background: var(--paper); }
.foot__in { position: relative; z-index: 1; padding-top: 36px; padding-bottom: 20px; display: grid; justify-items: center; }
.foot .ghost { display: none; height: 130%; right: 2%; top: -8%; }
@container main (min-width: 720px) { .foot .ghost { display: block; } }
.foot__strip { position: relative; z-index: 2; }
.banner { margin: 0; display: grid; justify-items: start; font-size: clamp(44px, 11cqi, 104px); line-height: .84; }
.banner__1 { display: flex; align-items: baseline; gap: .12em; }
.banner__1 .d { color: var(--sky-display); }
.banner__1 .o { font-size: .96em; -webkit-text-stroke-width: max(1.25px, .016em); }
.banner__2 { display: flex; align-items: flex-end; margin-top: .02em; }
.banner__2 .rotw { height: .655em; margin: 0 .06em .1em 0; }
.banner__2 .rot { font-size: calc(var(--rs) * 1em); }
.banner__2 .d { color: var(--hot); }
.foot__links { display: flex; flex-wrap: wrap; justify-content: center; gap: 0 4px; margin-top: 18px; }
.foot__links a { padding: 10px 12px; min-height: 44px; display: inline-flex; align-items: center; font-weight: 600; font-size: 15px; text-decoration: none; }
.foot__strip { background: #000; color: #CFC4D6; }
.foot__strip .wrap { display: flex; flex-direction: column; align-items: center; gap: 12px; padding-top: 18px; padding-bottom: 18px; }
.strip { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 22px; }
.strip li { display: inline-flex; align-items: center; gap: 8px; font: italic 900 22px/1 var(--f-d); text-transform: uppercase; color: #fff; }
.strip .i { color: var(--pink); font-size: 22px; }
.strip a { color: #fff; text-decoration: none; min-height: 44px; display: inline-flex; align-items: center; gap: 8px; }
.foot__strip p { margin: 0; font-size: 13px; }
.foot__strip p a { color: #fff; }

/* ================================================================ dock: player + tab bar */
.dock { position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; }
.player { background: var(--currant); color: #fff; height: var(--player-h); transition: background-color .2s ease; }
.pl__in { height: 100%; display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 8px; padding: 0 12px 0 10px; }
.pl__open { display: flex; align-items: center; gap: 12px; min-width: 0; height: 100%; text-align: left; }
.pl__art { position: relative; width: 44px; flex: none; }
.pl__art .tile--fallback { display: none; }
.pl__meta { display: flex; flex-direction: column; min-width: 0; }
.pl__title { font-weight: 700; font-size: 15px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pl__sub { display: flex; align-items: center; gap: 6px; font-size: 13px; color: var(--lilac); white-space: nowrap; overflow: hidden; }
.pl__sub > span { overflow: hidden; text-overflow: ellipsis; }
.pl__sub .lamp { display: none; }
[data-player="playing"] .pl__sub .lamp { display: inline-block; }
.pl__live { flex: none; }
[data-player="playing"] .pl__live, [data-player="stream-dead"] .pl__live, [data-player="offline"] .pl__live { display: none; }
.pl__track { display: none; }
.pl__end { display: none; }
.pl__ctrl { display: flex; align-items: center; }

.tabbar { height: calc(var(--tab-h) + var(--safe-b)); padding-bottom: var(--safe-b); background: var(--paper); display: grid; grid-template-columns: repeat(4, 1fr);
  box-shadow: 0 -1px 0 var(--rule); }
.tabbar a, .tabbar button { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; text-decoration: none; font-size: 11px; font-weight: 600; color: var(--muted); min-height: 44px; }
.tabbar .i { font-size: 22px; stroke-width: 1.8; }
.tabbar [aria-current="page"] { color: var(--pink-ink); }
.tabbar [aria-current="page"] .i { stroke-width: 2.6; }

@media (min-width: 768px) {
  .tabbar { display: none; }
  .pl__in { grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); gap: 24px; padding: 0 22px; }
  .pl__art { width: 60px; }
  .pl__title { font-size: 17px; }
  .pl__sub { font-size: 14px; }
  .pl__end { display: flex; align-items: center; justify-content: flex-end; gap: 18px; }
  .pl__next { display: inline-flex; align-items: center; gap: 4px; min-height: 44px; text-decoration: none; font-size: 14px; color: var(--lilac); white-space: nowrap; }
  .pl__next b { color: #fff; }
  .vol { display: flex; align-items: center; gap: 10px; color: var(--lilac); font-size: 20px; }
  .vol input { width: 104px; height: 44px; margin: 0; accent-color: var(--hot); background: transparent; }
  .pl__expand { color: #fff; }
}
@media (min-width: 1200px) {
  [data-player="playing"] .pl__track:not(:empty) { display: inline; }
  [data-player="playing"] .pl__track:not(:empty)::before { content: "·"; margin-right: 6px; }
}
@media (min-width: 768px) and (max-width: 1199px) { .pl__next { display: none; } }
@media (pointer: coarse) { .vol { display: none !important; } }

/* stream dead / offline: black bar, the STILL ON DAB+ tile: the station is still on air */
:is([data-player="stream-dead"], [data-player="offline"]) .pl__art .tile:not(.tile--fallback) { display: none; }
:is([data-player="stream-dead"], [data-player="offline"]) .pl__art .tile--fallback { display: grid; }
:is([data-player="stream-dead"], [data-player="offline"]) .player { background: #000; }

/* ================================================================ sheets */
.sheet { position: fixed; inset: 0; z-index: 60; }
.sheet[hidden] { display: none; }
.sheet__scrim { position: absolute; inset: 0; background: rgba(13, 10, 15, .5); opacity: 0; transition: opacity .3s ease; }
.sheet__panel { position: absolute; left: 0; right: 0; bottom: 0; background: var(--paper); border-radius: 24px 24px 0 0; transform: translateY(100%);
  transition: transform .42s var(--ease); overflow: hidden auto; overscroll-behavior: contain; }
.sheet.is-open .sheet__scrim { opacity: 1; }
.sheet.is-open .sheet__panel { transform: none; }

.mini__panel { padding: 8px var(--g) calc(20px + var(--safe-b)); max-height: 85vh; }
.mini__top { display: flex; justify-content: space-between; align-items: center; padding: 10px 0 6px; }
.mini__top h2 { margin: 0; font-size: 44px; }
.mini__list { list-style: none; margin: 0; padding: 0; }
.mini__list a, .mini__list button { display: flex; align-items: center; gap: 16px; width: 100%; min-height: 56px; text-decoration: none; font-weight: 600; font-size: 17px; border-bottom: 1px solid var(--rule); text-align: left; }
.mini__list .i { font-size: 22px; color: var(--pink-ink); }
.mini__list small { display: block; font-weight: 400; color: var(--muted); font-size: 14px; }
.mini__list .i--check { margin-left: auto; }
.mini__note { color: var(--muted); font-size: 14px; margin: 14px 0 0; }
@media (min-width: 768px) {
  .mini .sheet__panel { left: calc(var(--side-w) + 16px); right: auto; top: auto; bottom: calc(var(--player-h) + 16px); width: 380px; border-radius: 16px; transform: translateY(-12px); opacity: 0; transition: transform .3s var(--ease), opacity .2s ease; box-shadow: 0 20px 50px rgba(13, 10, 15, .18); }
  .mini.is-open .sheet__panel { transform: none; opacity: 1; }
  .mini .sheet__scrim { background: transparent; }
}

/* ================================================================ now playing: the bar, expanded. Currant, white type. */
.np__panel { top: 0; border-radius: 0; background: var(--currant); color: #fff; padding: 0 var(--g) calc(24px + var(--safe-b)); display: flex; flex-direction: column; --stroke-c: #fff; }
.np__crowd { display: none; }
.np__top { display: grid; grid-template-columns: 44px 1fr 44px; align-items: center; padding-top: max(6px, env(safe-area-inset-top)); min-height: 56px; position: relative; z-index: 1; }
.np__listening { margin: 0; text-align: center; font-size: 13px; font-weight: 600; color: var(--lilac); display: flex; align-items: center; justify-content: center; gap: 6px; }
.np__listening img { width: 54px; margin: -12px 0; }
.np__freq { display: none; }
.np__main { --aw: min(100vw - 2 * var(--g), 40vh, 380px); position: relative; z-index: 1; }
.np__art { position: relative; margin: 4px auto 0; width: var(--aw); }
.np__art .tile--fallback { display: none; }
/* The presenter overlaps only the tile's bottom edge, so the tile words stay readable. */
.np__photo { position: absolute; right: -8%; bottom: -24%; width: 56%; }
.np__art.no-photo { margin-bottom: 0; }
.np__body { margin-top: calc(var(--aw) * .24 + 14px); display: grid; grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "live live" "title ctrl" "with ctrl" "track track" "state state" "dead dead"; column-gap: 16px; align-items: center; }
.np__art.no-photo + .np__body { margin-top: 20px; }
.np__live { grid-area: live; display: flex; align-items: center; gap: 10px; font-size: 14px; font-weight: 600; color: var(--lilac); }
.np__dropped { display: none; color: #fff; }
.np__h { grid-area: title; margin: 10px 0 0; font-size: 56px; min-width: 0; container-type: inline-size; }
.np__h .lk__h { color: var(--sky); }
.np__h .lk--g { color: var(--hot); }
.np__with { grid-area: with; margin: 8px 0 0; font-size: 17px; color: var(--lilac); }
.np__with a { color: #fff; font-weight: 700; }
.np__ctrl { grid-area: ctrl; align-self: center; }
.np__track { grid-area: track; margin: 12px 0 0; display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 10px; font-size: 15px; }
.np__track[hidden] { display: none; }
.np__track-t { font-weight: 700; }
.np__track-a { color: var(--lilac); }
.np__state { grid-area: state; margin: 12px 0 0; font-weight: 600; font-size: 15px; color: var(--lilac); }
.np__dead { grid-area: dead; display: none; margin-top: 14px; padding: 14px 16px; background: #000; }
.np__dead-h { margin: 0; font-size: 40px; display: flex; align-items: flex-end; }
.np__dead-h .rotw { margin: 0 .08em .1em .1em; }
:is([data-player="stream-dead"], [data-player="offline"]) .np__main { --aw: min(100vw - 2 * var(--g), 26vh, 300px); }
.np__dead-h .sky { color: #5CB0FF; }
.np__dead p:last-child { margin: 10px 0 0; font-size: 15px; color: #E4D7EA; }
.np__side { margin-top: 24px; position: relative; z-index: 1; }
.np__next { display: grid; grid-template-columns: 56px 1fr auto; gap: 14px; align-items: center; text-decoration: none; padding: 14px 0; border-top: 2px solid rgba(255, 255, 255, .5); }
.np__next .tile { width: 56px; }
.np__next-k { display: block; font-size: 13px; color: #FF8AD0; font-weight: 700; }
.np__next > span > b { display: block; font-size: 17px; }
.np__next-p { font-size: 14px; color: var(--lilac); }
.np__sched { display: inline-flex; gap: 8px; align-items: center; min-height: 44px; font-weight: 700; color: #fff; text-decoration: none; }

/* stream dead: say so beside a lamp that stays lit, the DAB+ block right under the title, no fake track */
:is([data-player="stream-dead"], [data-player="offline"]) .np__art .tile:not(.tile--fallback) { display: none; }
:is([data-player="stream-dead"], [data-player="offline"]) .np__art .tile--fallback { display: grid; }
:is([data-player="stream-dead"], [data-player="offline"]) .np__dropped { display: inline; }
:is([data-player="stream-dead"], [data-player="offline"]) .np__track { display: none; }
:is([data-player="stream-dead"], [data-player="offline"]) .np__dead { display: block; }
:is([data-player="stream-dead"], [data-player="offline"]) .np__body { grid-template-columns: auto minmax(0, 1fr); grid-template-areas: "live live" "title title" "with with" "dead dead" "ctrl state"; }
:is([data-player="stream-dead"], [data-player="offline"]) .np__ctrl { margin-top: 16px; }
:is([data-player="stream-dead"], [data-player="offline"]) .np__state { margin-top: 16px; align-self: center; }
[data-player="playing"] .np__track:not([hidden]) { display: flex; }

@media (min-width: 768px) {
  .np .sheet__scrim { bottom: var(--player-h); left: var(--side-w); }
  .np__panel { left: var(--side-w); bottom: var(--player-h); }
  .np__panel > * { width: 100%; max-width: 560px; margin-left: auto; margin-right: auto; }
  .np__panel > .np__crowd { max-width: none; }
  .np__main { --aw: min(100vw - var(--side-w) - 2 * var(--g), 44vh, 400px); }
}
@media (min-width: 1024px) {
  .np__panel { top: 0; padding: 0 var(--g) 40px; overflow: hidden auto; }
  .np__panel > * { max-width: 1180px; }
  .np__crowd { display: block; position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 30% 50%; opacity: .32; mix-blend-mode: luminosity; pointer-events: none; }
  .np__top { grid-template-columns: 1fr auto auto; gap: 16px; min-height: 72px; }
  .np__listening { justify-content: flex-start; order: -1; }
  .np__freq { display: block; font-weight: 600; font-size: 14px; color: var(--lilac); }
  .np__main { display: grid; grid-template-columns: minmax(0, 320px) minmax(0, 1fr); grid-template-areas: "art body" "art side"; grid-template-rows: auto 1fr; gap: 0 40px; margin-top: 8px; }
  .np__art { grid-area: art; margin: 0 0 110px; width: 100%; align-self: start; }
  .np__photo { right: -12%; bottom: -24%; }
  .np__body { grid-area: body; margin: 0; }
  .np__h { font-size: 88px; }
  .np__side { grid-area: side; margin: 24px 0 0; max-width: 520px; }
}
@media (min-width: 1280px) {
  .np__main { grid-template-columns: minmax(0, 400px) minmax(0, 1fr); gap: 0 64px; }
  .np__h { font-size: 104px; }
}

/* ================================================================ page heads */
.page-h { position: relative; overflow: hidden; padding: 16px 0 24px; }
.page-h .wrap { position: relative; z-index: 1; }
.page-h .ghost { height: 240%; right: -6%; top: -100%; }
.page-h__h { margin: 0; font-size: min(17cqi, 132px); }
.page-h__h .lk__o { -webkit-text-stroke-width: max(2px, .018em); }
.page-h__p { margin: 14px 0 0; color: var(--muted); max-width: 44ch; }
.page-h--one .page-h__h { font-size: min(16cqi, 120px); }
@container main (min-width: 720px) {
  .page-h { padding: 40px 0 40px; }
  .page-h__p { font-size: 19px; }
  .page-h__h .lk--1 .lk__h, .page-h__h .lk--1 .lk__o { display: inline; }
  .page-h__h .lk--1 { font-size: min(1em, 97cqi / var(--w1)); }
  .page-h__h .lk--1 .lk__h { font-size: 1em; } .page-h__h .lk--1 .lk__o { font-size: .82em; }
}

/* ================================================================ schedule */
.sched__in { display: grid; gap: 48px; }
.days { position: sticky; top: var(--top-h); z-index: 5; background: var(--paper); box-shadow: 0 8px 0 var(--paper); display: grid; grid-template-columns: repeat(7, 1fr); margin: 0 calc(var(--g) * -1); padding: 6px var(--g) 10px; }
.days__b { min-height: 52px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; position: relative; }
.days__b .d { font-size: 24px; line-height: 1; color: var(--muted); }
.days__b small { font-size: 11px; font-weight: 700; color: var(--pink-ink); line-height: 1; }
.days__b[aria-selected="true"] { background: var(--sel-bg); }
.days__b[aria-selected="true"] .d { color: var(--sel-ink); }
.days__b[aria-selected="true"] small { color: var(--sel-sub); }
.slots { list-style: none; margin: 8px 0 0; padding: 0; }
.slot { display: grid; grid-template-columns: 64px 76px minmax(0, 1fr); gap: 14px; align-items: start; padding: 16px 0; border-top: 2px solid var(--ink); }
.slot__t { display: flex; flex-direction: column; gap: 4px; }
.slot__t time { font-size: 28px; color: var(--ink); font-variant-numeric: tabular-nums; }
.slot__t span { font-size: 12px; color: var(--muted); white-space: nowrap; }
.slot__m { display: flex; flex-direction: column; align-items: flex-start; gap: 4px; min-width: 0; }
.slot__title { font-size: 19px; line-height: 1.2; text-decoration: none; }
a.slot__title:hover { text-decoration: underline; }
.slot__p { display: inline-flex; align-items: center; gap: 8px; font-size: 15px; font-weight: 600; text-decoration: none; min-height: 44px; }
.face { width: 28px; height: 28px; object-fit: cover; background: var(--currant); flex: none; }
.slot__ex { font-size: 14px; color: var(--muted); line-height: 1.4; }
.slot.is-now { background: var(--ghost); margin: 0 calc(var(--g) * -1); padding-left: var(--g); padding-right: var(--g); }
.slot.is-now .slot__t time { color: var(--hot); }
.slot.is-now .play--slot { grid-column: 3; justify-self: start; margin-top: 4px; }
.slot--gap { align-items: center; padding: 10px 0; border-top-width: 1px; border-top-color: var(--rule); }
.slot--gap .slot__t time { font-size: 22px; color: var(--muted); }
.slot--gap .tile { width: 44px; justify-self: end; }
.slot--gap .slot__m b { font-size: 16px; }
.slot--gap .slot__m span { font-size: 14px; color: var(--muted); }
.earlier__b { display: flex; align-items: center; gap: 10px; width: 100%; min-height: 48px; font-size: 14px; font-weight: 600; color: var(--muted); border-top: 1px solid var(--rule); }
.earlier__b .i { font-size: 14px; transition: transform .2s var(--ease); }
.earlier__b[aria-expanded="true"] .i { transform: rotate(180deg); }
.slots:has(.earlier__b[aria-expanded="false"]) .is-past { display: none; }
.slot.is-past .slot__t time, .slot.is-past .slot__title { color: var(--muted); }
/* Row layout from 600; the week-at-a-glance only moves beside the day at 1040,
   so a 1024 screen (760px of main) keeps a full-width day. */
@container main (min-width: 1040px) {
  .sched__in { grid-template-columns: minmax(0, 1fr) 340px; gap: 56px; align-items: start; }
  .week { position: sticky; top: calc(var(--top-h) + 16px); }
}
@container main (min-width: 600px) {
  .days { margin: 0; padding: 8px 0 12px; }
  .days__b .d { font-size: 30px; }
  .slot { grid-template-columns: 96px 120px minmax(0, 1fr) auto; gap: 24px; padding-top: 20px; padding-bottom: 20px; }
  .slot.is-now { margin: 0 -24px; padding-left: 24px; padding-right: 24px; }
  .slot.is-now .play--slot { grid-column: 4; align-self: center; margin: 0; width: 64px; height: 64px; font-size: 22px; }
  .slot__t time { font-size: 38px; }
  .slot__title { font-size: 24px; }
  .slot--gap { padding: 12px 0; }
  .slot--gap .tile { width: 56px; }
  .slot--gap .slot__t time { font-size: 26px; }
}
.week__h { margin: 0 0 16px; font-size: 40px; }
.week__t { width: 100%; border-collapse: collapse; font-size: 14px; }
.week__t th, .week__t td { padding: 8px 0; text-align: center; border-top: 1px solid var(--rule); }
.week__t thead th { font-weight: 700; color: var(--muted); border-top: 0; font-size: 13px; }
.week__t tbody th { text-align: left; font-weight: 700; padding-right: 8px; line-height: 1.25; }
.week__t tbody th small { display: block; font-weight: 400; color: var(--muted); font-size: 12px; }
.dot { display: inline-block; width: 18px; height: 18px; vertical-align: middle; background: var(--bg); box-shadow: inset 0 0 0 1.5px var(--dot-ring); }
.dot.tile--pink, .dot.tile--currant { box-shadow: none; }
.week__n { margin: 14px 0 0; font-size: 14px; color: var(--muted); }

/* ================================================================ presenter */
.pres { position: relative; overflow: hidden; padding: 8px 0 40px; }
.pres__in { position: relative; z-index: 1; display: grid; }
.pres .ghost { height: 120%; right: -26%; top: 30%; }
.back { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; font-weight: 600; font-size: 15px; text-decoration: none; color: var(--muted); justify-self: start; }
.pres__name { container-type: inline-size; margin: 10px 0 0; font-size: min(24cqi, 190px); line-height: .86; }
.pres__name .nm { display: inline-block; white-space: nowrap; font-size: min(1em, 97cqi / var(--w)); }
.pres__photo { margin-top: 22px; width: 86%; max-width: 500px; justify-self: end; }
.pres__now { margin-top: 28px; display: flex; flex-direction: column; align-items: flex-start; gap: 16px; }
.pres__on { margin: 0; display: flex; gap: 10px; align-items: center; font-weight: 600; flex-wrap: wrap; }
.pres__when { display: grid; grid-template-columns: 96px minmax(0, 1fr); gap: 16px; align-items: start; width: 100%; max-width: 440px; padding-top: 18px; border-top: 2px solid var(--ink); }
.pres__when .tile { width: 96px; }
.pres__show { margin: 0; font-size: 30px; }
.pres__show a { text-decoration: none; }
.pres__slot { margin: 6px 0 0; }
.pres__bio { max-width: 60ch; }
.wk { list-style: none; display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; margin: 12px 0 0; padding: 0; max-width: 260px; }
.wk li { aspect-ratio: 1; display: grid; place-items: center; font: 900 13px/1 var(--f-ui); font-stretch: 125%; color: var(--muted); box-shadow: inset 0 0 0 1.5px var(--rule); }
.wk li.on { background: var(--pink); color: #000; box-shadow: none; }
@container main (min-width: 720px) {
  .pres { padding: 16px 0 72px; }
  .pres__in { grid-template-columns: minmax(0, 1fr) minmax(0, 500px); grid-template-areas: "back back" "name name" "now photo"; column-gap: 48px; }
  .pres .back { grid-area: back; }
  .pres__name { grid-area: name; font-size: clamp(120px, 20cqi, 250px); margin-top: 16px; }

  .pres__photo { grid-area: photo; margin-top: 32px; align-self: start; width: 100%; }
  .pres__now { grid-area: now; align-self: start; margin: 32px 0 0; }
  .pres__on { font-size: 18px; }
}
.more-team { padding: 56px 0 48px; }
.more-team__rail { list-style: none; margin: 0 calc(var(--g) * -1); padding: 0 var(--g) 8px; display: grid; grid-auto-flow: column; grid-auto-columns: 200px; gap: 14px; overflow-x: auto; scrollbar-width: none; }
.more-team__rail a { text-decoration: none; display: block; }
.more-team__rail .d { display: block; font-size: 26px; margin-top: 8px; }
.more-team__rail small { color: var(--muted); font-size: 14px; }
@container main (min-width: 720px) { .more-team { padding: 96px 0 72px; } .more-team__rail { grid-auto-flow: row; grid-template-columns: repeat(5, 1fr); margin: 0; padding: 0; gap: 24px; } }

/* ================================================================ show */
.show { padding: 8px 0 40px; }
.show__in { display: grid; gap: 28px; }
.show__h { margin: 10px 0 0; font-size: min(15cqi, 120px); }
.show__art { width: 100%; max-width: 360px; }
.show__art .tile { transform: rotate(-3deg); }
.show__meta { display: grid; gap: 18px; align-content: start; }
.show__with { display: flex; flex-wrap: wrap; gap: 20px; }
.show__p { display: grid; grid-template-columns: 120px auto; gap: 14px; align-items: center; text-decoration: none; min-height: 44px; }
.show__p .photo { width: 120px; }
.show__p b { font-size: 26px; }
@container main (min-width: 720px) {
  .show { padding: 16px 0 72px; }
  .show__in { grid-template-columns: minmax(0, 360px) minmax(0, 1fr); gap: 56px; align-items: start; }
  .show__h { grid-column: 1 / -1; font-size: clamp(88px, 11cqi, 144px); }
}

/* ================================================================ prose, forms, generic pages */
.prose { max-width: 64ch; }
.prose > * + * { margin-top: 1em; }
.prose h2 { font: italic 900 36px/.9 var(--f-d); text-transform: uppercase; margin-top: 1.4em; }
.prose h3 { font-size: 20px; }
.prose a { color: var(--pink-ink); font-weight: 600; }
.pg { padding: 8px 0 72px; }
.pg__grid { display: grid; gap: 40px; align-items: start; }
@container main (min-width: 720px) { .pg__grid { grid-template-columns: minmax(0, 1fr) minmax(0, 480px); gap: 64px; } }
.facts { margin: 24px 0 0; display: grid; }
.facts div { display: flex; justify-content: space-between; gap: 16px; padding: 12px 0; border-top: 2px solid var(--ink); }
.facts dt { font-weight: 700; } .facts dd { margin: 0; color: var(--muted); text-align: right; }
.form-h { margin: 0 0 12px; font-size: 44px; }
.juice-form { display: grid; gap: 16px; }
.field label { display: block; font-weight: 700; font-size: 15px; margin-bottom: 6px; }
.field .opt { font-weight: 400; color: var(--muted); }
.field input, .field textarea { width: 100%; font: inherit; color: var(--ink); background: var(--field); border: 2px solid var(--field-line); border-radius: 0; padding: 12px 14px; min-height: 52px; }
.field textarea { min-height: 150px; resize: vertical; }
.field input:focus-visible, .field textarea:focus-visible { border-color: var(--ink); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.notice { margin: 0; padding: 14px 16px; font-weight: 600; }
.notice--ok { background: var(--ghost); border-left: 6px solid var(--pink); }
.notice--bad { background: #FFE8F4; color: #7A003F; border-left: 6px solid #C4007A; }
:root[data-theme="dark"] .notice--bad { background: #3A0E27; color: #FFC9E6; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .notice--bad { background: #3A0E27; color: #FFC9E6; } }
.cf-turnstile { min-height: 65px; }
.juice-form .btn { justify-self: start; border: 0; cursor: pointer; }
.juice-form .btn[disabled] { opacity: .55; cursor: progress; }
.empty { padding: 20px 0 8px; max-width: 48ch; }
.empty p { color: var(--muted); }
.lost { padding: 24px 0 72px; }
.lost__in { display: grid; gap: 28px; align-items: center; }
.lost__tile { width: 200px; transform: rotate(-4deg); }
.lost .btns { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 20px; }
@container main (min-width: 720px) { .lost__in { grid-template-columns: 260px minmax(0, 1fr); gap: 56px; } .lost__tile { width: 100%; } }
.list { list-style: none; margin: 0; padding: 0; }
.list li { border-top: 2px solid var(--ink); }
.list a { display: block; padding: 16px 0; font-weight: 700; font-size: 20px; text-decoration: none; }

/* ================================================================ motion prefs */
@media (prefers-reduced-motion: reduce) {
  .ghost { animation: none; }
  .sheet__panel { transition: opacity .2s ease; transform: none; opacity: 0; }
  .sheet.is-open .sheet__panel { opacity: 1; }
  .play__ring { animation: none !important; stroke-dasharray: 104 138; }
  .play:active { transform: none; }
  * { scroll-behavior: auto !important; }
  ::view-transition-old(main), ::view-transition-new(main) { animation: none; }
}
::view-transition-old(main), ::view-transition-new(main) { animation-duration: .22s; }
main { view-transition-name: main; }

/* ================================================================ additions */
.show .back { grid-column: 1 / -1; }
.show__h { grid-column: 1 / -1; }
.pres__social a, .pres__social { color: var(--pink-ink); font-weight: 700; }
.empty .play { margin-top: 12px; }
.page-h--one .page-h__h .lk__h { color: var(--ink); }

/* coverage, in type (DAB+ only) */
.cover__h { font-size: min(34cqi, 200px); }
.cover__p { font-size: 17px; color: var(--ink); max-width: 30ch; margin-top: 16px; }
.where { list-style: none; margin: 28px 0 0; padding: 0; container-type: inline-size; }
.where li { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; padding: 12px 0 10px; border-top: 2px solid var(--ink); }
.where .d { font-size: min(12cqi, 64px); line-height: .9; }
.where small { color: var(--muted); font-size: 15px; }
@container main (min-width: 720px) {
  .cover__in { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); align-items: end; }
  .cover__h { font-size: clamp(120px, 20cqi, 260px); }
  .where { margin: 0; }
}

/* 44px targets for the remaining text links */
.slot__title, .pres__show a, .facts dd a { display: inline-flex; align-items: center; min-height: 44px; }
.slot__title { margin: -8px 0; }

/* ================================================================ pilot mode: highlights, one screen on desktop */
body.is-pilot { --side-w: 0px; --tab-h: 0px; --top-h: 0px; --strip-h: 0px; --dock-h: calc(var(--player-h) + var(--safe-b)); }
.is-pilot .side, .is-pilot .tabbar, .is-pilot .top, .is-pilot .foot { display: none; }
.is-pilot main { margin-left: 0; min-height: 0; }

.pilot-bar { background: #000; color: #fff; }
.pilot-bar p { margin: 0 auto; padding: 9px var(--g); display: flex; align-items: center; justify-content: center; gap: 10px; text-align: center;
  font-weight: 700; font-size: 13px; line-height: 1.35; }
.pilot-bar .lamp { flex: none; }

.ps { position: relative; overflow: hidden; background: var(--paper); padding: 22px var(--g) 0; display: grid; gap: 26px; container-type: inline-size; }
.ps__ghost { position: absolute; height: 120%; right: -6%; top: -8%; opacity: .9; z-index: 0; }
.ps > *:not(.ps__ghost) { position: relative; z-index: 1; }

.ps__logo { width: 132px; height: auto; display: block; margin-bottom: 18px; }
.ps__h { margin: 0; display: grid; justify-items: start; font-size: min(21cqi, 120px); line-height: .84; }
.ps__l1 { font-size: .46em; --stroke-c: var(--ink); -webkit-text-stroke-width: max(1.5px, .02em); }
.ps__l2 { color: var(--hot); letter-spacing: -.01em; }
.ps__l3 { color: var(--sky-display); font-size: .56em; margin-top: .05em; }

.ps__go { display: flex; align-items: center; gap: 20px; margin-top: 26px; }
.play--mega { width: 96px; height: 96px; font-size: 36px; box-shadow: 0 10px 0 var(--currant); }
.play--mega::after { content: ""; position: absolute; inset: -4px; border-radius: 50%; border: 3px solid var(--pink); opacity: 0; pointer-events: none; }
[data-player="idle"] .play--mega::after { animation: ps-ping 2.4s var(--ease) infinite; }
@keyframes ps-ping { 0% { transform: scale(1); opacity: .7; } 80%, 100% { transform: scale(1.45); opacity: 0; } }
.ps__go-t { min-width: 0; }
.ps__cta { margin: 0; font-size: 40px; display: flex; align-items: flex-end; gap: 12px; }
.ps__sub { margin: 6px 0 0; font-size: 16px; color: var(--muted); max-width: 40ch; }

.eq { display: inline-flex; align-items: flex-end; gap: 3px; height: .62em; margin-bottom: .08em; }
.eq i { display: block; width: 5px; height: 100%; background: var(--pink); transform-origin: bottom; transform: scaleY(.25); }
[data-player="playing"] .eq i { animation: ps-eq .9s ease-in-out infinite alternate; }
[data-player="playing"] .eq i:nth-child(2) { animation-duration: .7s; animation-delay: -.2s; background: var(--sky); }
[data-player="playing"] .eq i:nth-child(3) { animation-duration: 1.1s; animation-delay: -.5s; }
[data-player="playing"] .eq i:nth-child(4) { animation-duration: .8s; animation-delay: -.1s; background: var(--sky); }
[data-player="playing"] .eq i:nth-child(5) { animation-duration: 1s; animation-delay: -.35s; }
@keyframes ps-eq { from { transform: scaleY(.2); } to { transform: scaleY(1); } }

.ps__ways { list-style: none; margin: 26px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px 22px; font-size: 14px; color: var(--muted); }
.ps__ways li { display: inline-flex; align-items: center; gap: 8px; }
.ps__ways .i { font-size: 18px; color: var(--pink); flex: none; }
.ps__ways b { color: var(--ink); font-weight: 800; margin-right: 2px; }

.ps__right { container-type: inline-size; }
.ps__wall { --u: calc((100cqi - 30px) / 4); }
.ps__wall { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, var(--u)); grid-auto-rows: var(--u); gap: 10px; justify-content: center; }
.ps__w { --r: 0deg; position: relative; transform: rotate(var(--r)); transition: transform .25s var(--ease); }
.ps__w .tile { width: 100%; }
.ps__w img { display: block; width: 100%; height: 100%; }
.ps__w--80s .tile__w, .ps__w--90s .tile__w, .ps__w--00s .tile__w { text-transform: none; }
.ps__w img { object-fit: cover; object-position: 50% 60%; }
.ps__w--big { grid-column: 1 / 3; grid-row: 1 / 3; --r: -2deg; z-index: 2; }
.ps__w--big .tile { box-shadow: 0 0 0 6px var(--sticker); border-radius: 12px; }
.ps__w--80s { --r: 2.5deg; } .ps__w--00s { --r: -1.5deg; } .ps__w--gap { --r: 3deg; }
.ps__w--crowd { grid-column: 1 / 3; } .ps__w--crowd img { border-radius: 4px; }
.ps__w--dance { --r: -2.5deg; } .ps__w--fresh { --r: 1.5deg; }
@media (hover: hover) { .ps__w:hover { transform: rotate(0deg) scale(1.06); z-index: 3; } }
.ps__ticker { margin: 0 calc(var(--g) * -1); background: var(--currant); color: #fff; overflow: hidden; white-space: nowrap; }
.ps__track { display: flex; width: max-content; align-items: center; padding: 11px 0; animation: ps-tick 150s linear infinite; will-change: transform; }
.ps__track span { font: italic 900 26px/1 var(--f-d); text-transform: uppercase; padding: 0 22px; }
.ps__track span:nth-of-type(2n) { color: #FF5CB8; }
.ps__track i { width: 10px; height: 10px; background: var(--sky); transform: rotate(45deg); flex: none; }
@keyframes ps-tick { to { transform: translateX(-50%); } }
.ps__credit { margin: 0 calc(var(--g) * -1); padding: 12px var(--g) 14px; background: #000; color: #CFC4D6; font-size: 12px; text-align: center; }
.ps__credit a { color: #fff; }

/* entrance */
@media (prefers-reduced-motion: no-preference) {
  .ps__logo, .ps__h > span:not(.sr), .ps__go, .ps__ways { animation: ps-in .7s var(--ease) both; }
  .ps__l1 { animation-delay: .05s; } .ps__l2 { animation-delay: .12s; } .ps__l3 { animation-delay: .19s; }
  .ps__go { animation-delay: .28s; } .ps__ways { animation-delay: .36s; }
  .ps__w { animation: ps-pop .6s var(--ease) both; animation-delay: calc(.3s + var(--i) * .06s); }
  [data-player="playing"] .ps__w--big { animation: ps-pop .6s var(--ease) both, ps-beat .47s ease-in-out .9s infinite alternate; }
}
@keyframes ps-in { from { opacity: 0; transform: translateY(18px); } }
@keyframes ps-pop { from { opacity: 0; transform: rotate(var(--r)) scale(.85); } }
@keyframes ps-beat { to { transform: rotate(var(--r)) scale(1.025); } }
@media (prefers-reduced-motion: reduce) { .ps__track { animation: none; } }

/* tablet */
@media (min-width: 768px) {
  .pilot-bar p { font-size: 15px; }
  .ps { padding-top: 32px; }
  .ps__logo { width: 168px; }
}

/* desktop: exactly one screen, no scroll */
@media (min-width: 1024px) and (min-height: 600px) {
  body.is-pilot { --strip-h: 42px; overflow: hidden; }
  .pilot-bar p { height: var(--strip-h); padding-block: 0; white-space: nowrap; overflow: hidden; }
  .ps { height: calc(100svh - var(--strip-h) - var(--dock-h)); padding: clamp(16px, 3.2vh, 40px) var(--g) 0;
    grid-template-columns: minmax(0, 1.08fr) minmax(0, 1fr); grid-template-rows: minmax(0, 1fr) auto auto; column-gap: clamp(28px, 4vw, 72px); row-gap: 0; }
  .ps__left { display: flex; flex-direction: column; justify-content: center; min-height: 0; padding-bottom: 2vh; }
  .ps__right { display: flex; flex-direction: column; justify-content: center; min-height: 0; padding-bottom: 2vh; }
  .ps__logo { width: clamp(120px, 13vh, 190px); margin-bottom: clamp(8px, 2.4vh, 26px); }
  .ps__h { font-size: min(10.4vw, 21vh); }
  .ps__go { margin-top: clamp(14px, 3.4vh, 36px); }
  .play--mega { width: clamp(80px, 12vh, 120px); height: clamp(80px, 12vh, 120px); font-size: clamp(30px, 4.4vh, 44px); }
  .ps__cta { font-size: clamp(32px, 5.4vh, 56px); }
  .ps__ways { margin-top: clamp(12px, 3vh, 30px); }
  .ps__wall { --u: min(calc((100cqi - 30px) / 4), 17.5vh); }
  .ps__ticker { grid-column: 1 / -1; margin: 0 calc(var(--g) * -1); }
  .ps__track span { font-size: clamp(20px, 3.2vh, 30px); }
  .ps__track { padding: clamp(7px, 1.2vh, 12px) 0; }
  .ps__credit { grid-column: 1 / -1; padding: 6px var(--g); font-size: 11px; text-align: right; background: transparent; color: var(--muted); }
  .ps__credit a { color: var(--ink); }
  .ps__ghost { height: 135%; right: 30%; top: -18%; }
}

/* presenters without a photo yet: their show tile on an even block */
.noph { display: grid; place-items: center; aspect-ratio: 5 / 3; background: var(--ghost); }
.noph .tile { width: auto; height: 78%; transform: rotate(-3deg); box-shadow: 0 0 0 5px var(--sticker); }

/* on-air hero with no presenter photo: the tile sits in the flow, never over the headline */
.hero--nophoto .hero__tile { position: relative; inset: auto; display: block; width: 46%; max-width: 220px; margin: 0 0 0 auto; }
@container main (min-width: 720px) {
  .hero--nophoto .hero__tile { width: 200px; left: auto; bottom: auto; }
}

/* preview strip (behind the curtain) */
.pilot-bar--preview { background: var(--sky-ink, #1A73D9); }
.pilot-bar--preview .lamp { background: #fff; color: #000; }
.pilot-bar--preview a { color: #fff; font-weight: 800; text-decoration: underline; text-underline-offset: 3px; margin-left: 6px; white-space: nowrap; display: inline-flex; align-items: center; min-height: 32px; }

/* ================================================================ schedule: presenter photos (15 Oct) */
.slot__art { position: relative; display: block; width: 100%; aspect-ratio: 1; }
.slot__frame { display: block; width: 100%; height: 100%; overflow: hidden; border-radius: 10px; background: var(--currant); }
.slot__ph { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .45s var(--ease); }
.slot__badge { position: absolute; right: -9px; bottom: -9px; width: 48%; max-width: 64px; padding: 3px; background: var(--sticker); border-radius: 7px; transform: rotate(-7deg); z-index: 2; }
.slot__badge .tile { border-radius: 4px; }
@media (hover: hover) {
  .slot--ph:hover .slot__ph { transform: scale(1.06); }
  .slot--ph:hover .slot__badge { transform: rotate(-2deg) scale(1.08); transition: transform .3s var(--ease); }
}
.slot--ph .slot__p { min-height: 32px; font-size: 16px; color: var(--pink-ink); }

/* the show that's on now: a big presenter card */
.slot.is-now.slot--ph { grid-template-columns: 64px minmax(0, 1fr); grid-template-areas: "t m" "art art"; row-gap: 16px; padding-bottom: 26px; }
.slot.is-now.slot--ph .slot__t { grid-area: t; }
.slot.is-now.slot--ph .slot__m { grid-area: m; }
.slot.is-now.slot--ph .slot__art { grid-area: art; aspect-ratio: 5 / 4; }
.slot__art--now .slot__frame { border-radius: 16px; box-shadow: 0 0 0 6px var(--sticker); }
.slot__art--now .slot__badge { width: 30%; max-width: 128px; right: -10px; bottom: -14px; padding: 5px; border-radius: 10px; }
.slot__art--now .slot__badge .tile { border-radius: 6px; }
.play--art { position: absolute; left: 14px; bottom: 14px; z-index: 3; width: 72px; height: 72px; font-size: 26px; box-shadow: 0 0 0 5px var(--sticker); }
.slot.is-now.slot--ph .slot__title { font-size: 24px; }
@media (prefers-reduced-motion: no-preference) {
  [data-player="playing"] .slot__art--now .slot__ph { animation: slot-kb 16s ease-in-out infinite alternate; }
}
@keyframes slot-kb { from { transform: scale(1); } to { transform: scale(1.09) translateY(-1.5%); } }

@container main (min-width: 600px) {
  .slot__badge { max-width: 72px; }
  .slot.is-now.slot--ph { grid-template-columns: 96px 240px minmax(0, 1fr); grid-template-areas: "t art m"; align-items: center; row-gap: 0; padding-top: 28px; padding-bottom: 32px; }
  .slot.is-now.slot--ph .slot__art { aspect-ratio: 1; }
  .slot.is-now.slot--ph .slot__t { align-self: start; }
  .slot.is-now.slot--ph .slot__title { font-size: 34px; }
  .play--art { width: 64px; height: 64px; font-size: 22px; left: 12px; bottom: 12px; }
}

/* ================================================================ news (headlines from the local papers) */
.news { --nw-manchester: var(--hot); --nw-liverpool: var(--sky-display); --nw-lancashire: var(--currant); }
.newsx { --nw-manchester: var(--hot); --nw-liverpool: var(--sky-display); --nw-lancashire: var(--currant); padding: 56px 0 24px; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .news, :root:not([data-theme="light"]) .newsx { --nw-lancashire: #B57BD6; } }
:root[data-theme="dark"] .news, :root[data-theme="dark"] .newsx { --nw-lancashire: #B57BD6; }

.news__f { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 18px; }
.news__f button { min-height: 44px; padding: 0 16px; font: italic 900 20px/1 var(--f-d); text-transform: uppercase; color: var(--muted); border: 2px solid var(--rule); }
.news__f button[aria-pressed="true"] { background: var(--sel-bg); color: var(--sel-ink); border-color: var(--sel-bg); }
.news__list { list-style: none; margin: 0; padding: 0; }
.nw { border-top: 2px solid var(--ink); }
.nw a { display: grid; grid-template-columns: minmax(0, 1fr); gap: 6px; padding: 14px 0 16px 16px; text-decoration: none; position: relative; }
.nw a::before { content: ""; position: absolute; left: 0; top: 16px; bottom: 18px; width: 5px; background: var(--nw-manchester); }
.nw--liverpool a::before { background: var(--nw-liverpool); }
.nw--lancashire a::before { background: var(--nw-lancashire); }
.nw__r { font-size: 18px; color: var(--nw-manchester); }
.nw--liverpool .nw__r { color: var(--nw-liverpool); }
.nw--lancashire .nw__r { color: var(--nw-lancashire); }
.nw__t { font-weight: 700; font-size: 18px; line-height: 1.3; color: var(--ink); }
.nw a:hover .nw__t, .nw a:focus-visible .nw__t { text-decoration: underline; text-underline-offset: 3px; }
.nw__m { display: flex; align-items: center; gap: 6px; font-size: 13px; color: var(--muted); }
.nw__i { font-size: 14px; transform: rotate(-45deg); transition: transform .2s var(--ease); }
.nw a:hover .nw__i { transform: rotate(-45deg) translate(2px, 0); }
.news__credit { margin: 22px 0 0; font-size: 13px; color: var(--muted); }
.news__intro { margin-bottom: 28px; }

.newsx__cols { display: grid; gap: 30px; }
.newsx__h { margin: 0 0 6px; font-size: 30px; color: var(--nw-manchester); }
.newsx__col--liverpool .newsx__h { color: var(--nw-liverpool); }
.newsx__col--lancashire .newsx__h { color: var(--nw-lancashire); }
.newsx .nw__t { font-size: 17px; }
@container main (min-width: 820px) {
  .newsx__cols { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; }
  .nw__t { font-size: 20px; }
  .newsx .nw__t { font-size: 17px; }
}

/* news thumbnails (the papers' own images, hotlinked; switch: option juice_news_images) */
.nw__b { display: grid; gap: 6px; min-width: 0; }
.nw--img a { grid-template-columns: minmax(0, 1fr) 96px; align-items: start; column-gap: 14px; }
.nw--img .nw__img { order: 2; }
.nw__img { display: block; aspect-ratio: 3 / 2; overflow: hidden; background: var(--ghost); border-radius: 6px; }
.nw__img img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .35s var(--ease); }
@media (hover: hover) { .nw a:hover .nw__img img { transform: scale(1.05); } }
.nw--lead a { grid-template-columns: minmax(0, 1fr); }
.nw--lead .nw__img { order: 0; aspect-ratio: 16 / 9; border-radius: 10px; margin-bottom: 4px; }
.nw--lead .nw__t { font-size: 19px; }
@container main (min-width: 820px) {
  .news .nw--img a { grid-template-columns: minmax(0, 1fr) 168px; column-gap: 24px; }
  .newsx .nw--img:not(.nw--lead) a { grid-template-columns: minmax(0, 1fr) 84px; }
}
.nw__m { display: block; line-height: 1.5; }
.nw__m .nw__i { display: inline-block; vertical-align: -2px; margin-left: 4px; }

/* ================================================================ news page: lead story + photo cards */
.news { --nc-manchester: #FF009A; --nc-liverpool: #1A73D9; --nc-lancashire: #522169; }
.news__grid { list-style: none; margin: 4px 0 0; padding: 0; display: grid; grid-template-columns: minmax(0, 1fr); gap: 0; }
.nc[hidden] { display: none; }
.nc a { display: grid; text-decoration: none; color: inherit; }
.nc__img { position: relative; display: block; overflow: hidden; background: var(--ghost); }
.nc__img img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.nc__img--none { background: var(--nc-manchester); }
.nc--liverpool .nc__img--none { background: var(--nc-liverpool); }
.nc--lancashire .nc__img--none { background: var(--nc-lancashire); }
.nc__r { position: absolute; left: 0; top: 12px; padding: 6px 10px 5px; font-size: 19px; line-height: 1; color: #000; background: var(--nc-manchester); }
.nc--liverpool .nc__r { background: var(--nc-liverpool); color: #fff; }
.nc--lancashire .nc__r { background: var(--nc-lancashire); color: #fff; }
.nc__b { display: grid; gap: 6px; align-content: start; min-width: 0; }
.nc__t { font-weight: 800; font-size: 17px; line-height: 1.28; color: var(--ink); }
.nc__m { display: block; font-size: 13px; line-height: 1.5; color: var(--muted); }
.nc__m .nw__i { display: inline-block; vertical-align: -2px; margin-left: 4px; }
@media (hover: hover) {
  .nc a:hover .nc__img img { transform: scale(1.05); }
  .nc a:hover .nc__t { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 3px; }
}

/* phones: lead is a full photo card, the rest are tight rows with a thumbnail */
.nc--lead a { gap: 14px; padding-bottom: 22px; }
.nc--lead .nc__img { aspect-ratio: 16 / 10; border-radius: 14px; }
.nc--lead .nc__t { font: italic 900 34px/.95 var(--f-d); text-transform: uppercase; letter-spacing: -.005em; }
.nc--card { border-top: 2px solid var(--ink); }
.nc--card a { grid-template-columns: minmax(0, 1fr) 112px; gap: 14px; padding: 14px 0 16px; align-items: start; }
.nc--card .nc__img { order: 2; aspect-ratio: 4 / 3; border-radius: 8px; }
.nc--card .nc__r { top: auto; bottom: 0; font-size: 13px; padding: 4px 6px 3px; }

/* wider: lead side by side, then a card grid with photos on top */
@container main (min-width: 700px) {
  .news__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 40px 24px; }
  .nc--lead { grid-column: 1 / -1; }
  .nc--lead a { grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr); gap: 32px; align-items: center; padding-bottom: 8px; }
  .nc--lead .nc__t { font-size: clamp(38px, 4.6cqi, 60px); }
  .nc--lead .nc__r { font-size: 24px; padding: 8px 14px 6px; top: 18px; }
  .nc--card { border-top: 0; }
  .nc--card a { grid-template-columns: minmax(0, 1fr); gap: 12px; padding: 0; }
  .nc--card .nc__img { order: 0; aspect-ratio: 16 / 10; border-radius: 12px; }
  .nc--card .nc__r { top: 12px; bottom: auto; font-size: 17px; padding: 5px 9px 4px; }
  .nc--card .nc__t { font-size: 19px; }
}
@container main (min-width: 1000px) {
  .news__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 44px 28px; }
}

/* ================================================================ advertise (media pack, 27 Oct 2026) */
/* Pages let through during pilot (Mako offer, Advertise) scroll normally. */
body.is-pilot.is-pilot-pass { overflow: visible; }
.is-pilot-pass main { min-height: 50vh; }
.adv-pilot { padding-top: 14px; }
.adv-pilot__home { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; font-size: 15px; color: var(--ink); text-decoration: none; }
.adv-pilot__home:hover { color: var(--pink-ink); }

.adv-eyebrow { margin: 0 0 12px; font: 800 13px/1 var(--f-ui); letter-spacing: .14em; text-transform: uppercase; color: var(--pink-ink); }
.adv-h { margin: 0 0 18px; font-size: clamp(44px, 7vw, 96px); }
.adv-h__o { font-family: var(--f-o); font-style: normal; font-weight: 800; color: transparent; -webkit-text-stroke: max(1.5px, .02em) var(--stroke-c); margin-right: .12em; }
.adv-lead { font-size: 19px; line-height: 1.55; max-width: 56ch; margin: 0 0 28px; }
.adv-note { margin: 18px 0 0; font-size: 13px; color: var(--lilac); }
.adv-sec { padding: clamp(48px, 7vw, 96px) 0; }

/* Hero */
.adv-hero { position: relative; overflow: hidden; padding: clamp(20px, 3vw, 40px) 0 clamp(36px, 5vw, 64px); }
.adv-hero .ghost { height: 220%; right: -8%; top: -80%; }
.adv-hero__grid { position: relative; z-index: 1; display: grid; gap: 32px; align-items: center; }
.adv-hero__h { margin: 0; font-size: min(15cqi, 132px); }
.adv-hero__lead { font-size: clamp(17px, 1.1vw + 12px, 21px); line-height: 1.55; max-width: 48ch; margin: 18px 0 0; }
.adv-hero__go { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.adv-dl { gap: 10px; }
.adv-dl__i { transform: rotate(90deg); }
.adv-dl__meta { font-weight: 500; font-size: 13px; opacity: .85; }
.adv-hero__art { margin: 0; justify-self: center; width: min(100%, 560px); }
.adv-hero__art img { display: block; width: 100%; height: auto; border-radius: 28px; box-shadow: 0 30px 60px -30px rgba(82, 33, 105, .6); }
@media (min-width: 1024px) {
  .adv-hero__grid { grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: clamp(32px, 4vw, 72px); }
}

/* Listener stats: the currant band */
.adv-stats { background: var(--currant); color: #fff; padding: clamp(48px, 7vw, 96px) 0; position: relative; overflow: hidden; }
.adv-stats .adv-h__o { -webkit-text-stroke-color: #fff; }
.adv-stats__lead { font-size: 19px; line-height: 1.55; max-width: 60ch; color: var(--lilac); margin: 0 0 36px; }
.adv-stats__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.adv-stats__list li { padding: 22px 20px; border-radius: 22px; background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.12); }
.adv-stats__list strong { display: block; font-size: clamp(56px, 7vw, 104px); color: var(--hot); }
.adv-stats__list li:nth-child(2) strong { color: var(--sky); }
.adv-stats__list li:nth-child(3) strong { color: #fff; }
.adv-stats__list span { display: block; margin-top: 8px; font-weight: 700; font-size: 16px; }
@media (min-width: 900px) { .adv-stats__list { grid-template-columns: repeat(4, minmax(0, 1fr)); } }

/* Cards */
.adv-cards { list-style: none; margin: 8px 0 0; padding: 0; display: grid; gap: 14px; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 640px) { .adv-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1100px) { .adv-cards--5 { grid-template-columns: repeat(5, minmax(0, 1fr)); } .adv-cards--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.adv-card { padding: 24px 22px; border-radius: 24px; background: var(--ghost); border: 1px solid var(--rule); }
.adv-card h3 { margin: 14px 0 8px; font: italic 900 30px/.9 var(--f-d); text-transform: uppercase; }
.adv-card p { margin: 0; line-height: 1.5; color: var(--muted); }
.adv-card__i { width: 34px; height: 34px; color: var(--pink); }
.adv-card--dark { background: var(--currant); border-color: transparent; color: #fff; }
.adv-card--dark p { color: var(--lilac); }
.adv-card--dark .adv-card__i { color: var(--hot); }

.adv-digital { list-style: none; margin: 28px 0 0; padding: 0; display: grid; gap: 14px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (min-width: 900px) { .adv-digital { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.adv-digital li { padding: 20px; border-radius: 22px; border: 2px solid var(--pink); }
.adv-digital strong { display: block; font-size: clamp(40px, 4.4vw, 64px); color: var(--pink-ink); }
.adv-digital span { display: block; font-weight: 700; margin-top: 6px; }
.adv-digital small { display: block; margin-top: 6px; font-size: 13px; color: var(--muted); }

/* Reach + why */
.adv-split { display: grid; gap: 36px; align-items: center; }
@media (min-width: 1024px) { .adv-split { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(36px, 5vw, 88px); } }
.adv-areas { margin: 0; display: grid; gap: 14px; }
.adv-areas div { padding-left: 18px; border-left: 4px solid var(--pink); }
.adv-areas dt { font-size: 40px; color: var(--currant); }
.adv-areas dd { margin: 4px 0 0; color: var(--muted); line-height: 1.45; }
.adv-photo { margin: 0; }
.adv-photo img { display: block; width: 100%; height: auto; border-radius: 28px; }
.adv-why { background: var(--ghost); padding: clamp(48px, 7vw, 96px) 0; }
.adv-why p { font-size: 18px; line-height: 1.6; max-width: 56ch; }
.adv-rec { background: var(--pink); color: #fff; border-radius: 28px; padding: clamp(24px, 3vw, 40px); }
.adv-rec p { font-size: 17px; margin: 0; }
.adv-rec__k { font-weight: 800; letter-spacing: .14em; text-transform: uppercase; font-size: 13px !important; }
.adv-rec__h { font-size: clamp(72px, 9vw, 128px) !important; margin: 8px 0 12px !important; }

/* Look inside: a swipeable strip of the PDF's pages */
.adv-inside__top { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 16px; margin-bottom: 20px; }
.adv-inside__top .adv-h { margin: 0; }
.adv-pages { list-style: none; margin: 0; padding: 4px max(var(--g), calc((100% - var(--max)) / 2 + var(--g))) 20px; display: grid; grid-auto-flow: column; grid-auto-columns: min(78vw, 520px); gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: thin; }
.adv-pages li { scroll-snap-align: start; }
.adv-pages a { position: relative; display: block; border-radius: 18px; overflow: hidden; box-shadow: 0 18px 40px -24px rgba(13, 10, 15, .5); transition: transform .25s var(--ease); }
.adv-pages a:hover { transform: translateY(-4px); }
.adv-pages img { display: block; width: 100%; height: auto; }
.adv-pages__n { position: absolute; right: 12px; bottom: 12px; padding: 4px 10px; border-radius: 999px; background: rgba(13,10,15,.7); color: #fff; font-size: 13px; font-weight: 700; }

/* Let's talk */
.adv-talk-sec { background: var(--currant); color: #fff; }
.adv-talk-sec .adv-h__o { -webkit-text-stroke-color: #fff; }
.adv-talk-sec .adv-lead { color: var(--lilac); }
.adv-contact { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.adv-contact a { display: inline-flex; align-items: center; gap: 12px; color: #fff; font-size: clamp(20px, 2vw, 28px); font-weight: 800; text-decoration: none; }
.adv-contact a:hover { color: var(--hot); }
.adv-contact .i { width: 26px; height: 26px; color: var(--hot); }
.adv-form-card { background: var(--paper); color: var(--ink); border-radius: 28px; padding: clamp(22px, 3vw, 40px); }
@media (min-width: 1024px) { .adv-talk-grid { grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); } }
@media (max-width: 520px) {
  .adv-hero__go .btn { width: 100%; justify-content: center; }
  .adv-dl__meta { display: none; }
}

/* stream picker */
.streampick { display: grid; gap: 4px; font-size: 12px; font-weight: 700; }
.streampick select { width: 100%; min-height: 40px; padding: 0 10px; border-radius: 10px; border: 1px solid currentColor; background: transparent; color: inherit; font: inherit; font-size: 14px; }
.streampick select option { color: #111; background: #fff; }
.streampick--side { margin: 8px 0 0; color: var(--lilac); }
.streampick--np { position: relative; z-index: 2; margin: 0 auto 12px; width: min(100%, 340px); }
.streampick--mini { margin: 14px 0 0; }
@media (max-width: 1100px) { .streampick--side { display: none; } }
