/* Girmit Radio — vintage tuner theme.
   Bright white, walnut and amber: a hi-fi receiver in daylight. */

:root {
  --paper: #FFFFFF;
  --paper-2: #FAF5EC;
  --card: #FFFFFF;
  --ink: #2A1D10;
  --ink-2: #6B5A47;
  --line: #E6DAC6;
  --indigo: #2A1D10;
  --on-indigo: #F4E6CB;
  --on-indigo-2: #D6C3A4;
  --marigold: #FFB13D;
  --sindoor: #C2410C;
  --cane: #3C6B3F;
  --cta-bg: #FFB13D;
  --cta-bg-hover: #FFC466;
  --cta-fg: #1A1108;
  --focus: #2A1D10;
  --player-bg: #2A1D10;
  --player-fg: #F5EEDF;
  --player-fg-2: #B9AB97;

  --serif: "Instrument Serif", Georgia, serif;
  --sans: "IBM Plex Sans", system-ui, sans-serif;
  --hindi: "Tiro Devanagari Hindi", "Nirmala UI", "Mangal", serif;

  --mono: "IBM Plex Mono", ui-monospace, monospace;
  --s1: 4px; --s2: 8px; --s3: 12px; --s4: 16px; --s5: 24px; --s6: 32px; --s7: 48px; --s8: 72px; --s9: 104px;
  --radius: 10px;
  --player-h: 72px;
  --ease-out: cubic-bezier(.2, .7, .2, 1);
  --t-fast: 140ms;
  --t-med: 260ms;
}


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

html { scroll-behavior: smooth; scroll-padding-top: 96px; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  padding-bottom: calc(var(--player-h) + env(safe-area-inset-bottom));
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.6;
  /* faint paper grain */
  background-image: radial-gradient(rgba(120, 95, 50, .05) 1px, transparent 1px);
  background-size: 5px 5px;
}

h1, h2, h3 { font-family: var(--serif); font-weight: 600; line-height: 1.05; margin: 0; text-wrap: balance; letter-spacing: -0.01em; }
p { margin: 0; }
a { color: inherit; }
button, input, textarea { font: inherit; color: inherit; }
button { cursor: pointer; touch-action: manipulation; }
ol, ul { margin: 0; padding: 0; list-style: none; }

:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; border-radius: 2px; }

.wrap { width: 100%; max-width: 1200px; margin: 0 auto; padding-inline: clamp(16px, 4vw, 40px); }
.muted { color: var(--ink-2); font-size: .9375rem; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

.skip-link { position: absolute; left: 16px; top: -60px; z-index: 100; background: var(--ink); color: var(--paper); padding: 10px 16px; }
.skip-link:focus { top: 8px; }

.ico { width: 20px; height: 20px; flex: none; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.ico-play, .ico-pause { fill: currentColor; stroke: none; }
.ico-pause { display: none; }
.is-playing .ico-play, .is-loading .ico-play { display: none; }
.is-playing .ico-pause, .is-loading .ico-pause { display: block; }

.label, .kicker, .numeral, .topline, .chip, .tabs button, .year {
  font-size: .75rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase;
}

/* ---------- Top line + masthead ---------- */
.topline { border-bottom: 1px solid var(--line); color: var(--ink-2); }
.topline-inner { display: flex; align-items: center; justify-content: space-between; gap: var(--s4); min-height: 40px; }

.masthead { position: sticky; top: 0; z-index: 40; background: var(--paper); }
.masthead-inner { display: flex; align-items: center; gap: var(--s5); min-height: 76px; }

.brand { display: flex; align-items: center; gap: var(--s3); text-decoration: none; margin-right: auto; }
.brand-mark { width: 44px; height: 44px; flex: none; }
.brand-mark svg { width: 100%; height: 100%; fill: none; stroke: var(--marigold); stroke-width: 2.4; stroke-linecap: round; }
.brand-mark circle { fill: var(--indigo); stroke: none; }
.brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.brand-name { font-family: var(--serif); font-weight: 800; font-size: 1.5rem; letter-spacing: -0.02em; }
.brand-hi { font-family: var(--hindi); font-size: .9375rem; color: var(--sindoor); }

.nav { display: flex; gap: var(--s2); }
.nav a { padding: 12px 14px; text-decoration: none; font-weight: 500; font-size: .9375rem; border-bottom: 2px solid transparent; transition: border-color var(--t-fast), color var(--t-fast); }
.nav a:hover { border-color: var(--marigold); }
.menu-btn { display: none; align-items: center; gap: 6px; min-height: 44px; padding: 0 12px; background: none; border: 1px solid var(--line); border-radius: var(--radius); font-size: .9375rem; }

.blockprint {
  height: 14px;
  background-color: var(--sindoor);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='28' height='14'%3E%3Cpath d='M14 2l5 5-5 5-5-5z' fill='%23E3A21A'/%3E%3Ccircle cx='0' cy='7' r='1.6' fill='%23F5EEDF'/%3E%3Ccircle cx='28' cy='7' r='1.6' fill='%23F5EEDF'/%3E%3C/svg%3E");
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: var(--s2);
  min-height: 44px; padding: 0 18px; border: 1.5px solid transparent; border-radius: var(--radius);
  font-weight: 600; font-size: .9375rem; text-decoration: none; white-space: nowrap;
  transition: background-color var(--t-fast), color var(--t-fast), border-color var(--t-fast), transform var(--t-fast);
}
.btn:active { transform: scale(.97); }
.btn-lg { min-height: 54px; padding: 0 26px; font-size: 1rem; }
.btn-cta { background: var(--cta-bg); color: var(--cta-fg); }
.btn-cta:hover { background: var(--cta-bg-hover); }
.btn-ghost { border-color: var(--ink); }
.btn-ghost:hover { background: var(--ink); color: var(--paper); }

/* ---------- Hero ---------- */
.hero { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: var(--s7); align-items: center; padding-block: var(--s8) var(--s8); }
.kicker { display: flex; align-items: center; gap: var(--s2); flex-wrap: wrap; color: var(--sindoor); margin-bottom: var(--s5); }
.live-dot { width: 9px; height: 9px; border-radius: 50%; background: var(--sindoor); animation: pulse 2s ease-in-out infinite; }
@keyframes pulse { 50% { opacity: .35; } }

.hero h1 { font-size: clamp(2.75rem, 7.2vw, 6rem); font-weight: 800; line-height: .96; letter-spacing: -0.03em; font-variation-settings: "opsz" 144; }
.hero h1 em { font-weight: 500; color: var(--sindoor); white-space: nowrap; }
.hero-hi { font-family: var(--hindi); font-size: clamp(1.25rem, 2.4vw, 1.75rem); color: var(--indigo); margin-top: var(--s4); }
.lede { max-width: 34em; margin-top: var(--s5); font-size: 1.1875rem; color: var(--ink-2); }
.hero-actions { display: flex; flex-wrap: wrap; gap: var(--s3); margin-top: var(--s6); }

.hero-dial { display: flex; flex-direction: column; align-items: center; gap: var(--s5); }
.dial { position: relative; width: min(100%, 400px); aspect-ratio: 1; display: grid; place-items: center; }
.dial svg.dial-art { position: absolute; inset: 0; width: 100%; height: 100%; }
.dial-art .ring-text { animation: spin 80s linear infinite; transform-origin: 50% 50%; }
.dial-art .petals { transform-origin: 50% 50%; animation: spin 140s linear infinite reverse; }
@keyframes spin { to { transform: rotate(360deg); } }
.dial:not(.is-playing) .ring-text, .dial:not(.is-playing) .petals { animation-play-state: paused; }

.dial-play {
  position: relative; width: 31%; aspect-ratio: 1; border-radius: 50%; border: 0;
  background: var(--marigold); color: #1E1914; display: grid; place-items: center;
  box-shadow: 0 0 0 6px var(--indigo), 0 0 0 8px var(--marigold);
  transition: transform var(--t-med) var(--ease-out), background-color var(--t-fast);
}
.dial-play:hover { transform: scale(1.05); background: #F0B63A; }
.dial-play:active { transform: scale(.96); }
.dial-play .ico { width: 42%; height: 42%; }
.dial-play .ico-play { margin-left: 6%; }

.nowcard { width: min(100%, 400px); display: grid; grid-template-columns: 1fr 1fr; background: var(--card); border: 1px solid var(--line); border-top: 3px solid var(--indigo); }
.nowcard-col { display: flex; flex-direction: column; gap: 2px; padding: var(--s4); min-width: 0; }
.nowcard-col + .nowcard-col { border-left: 1px solid var(--line); }
.nowcard .label { color: var(--sindoor); }
.nowcard strong { font-family: var(--serif); font-size: 1.1875rem; line-height: 1.2; overflow-wrap: anywhere; }
.nowcard .muted { font-variant-numeric: tabular-nums; }
.progress { height: 3px; background: var(--line); margin-top: var(--s2); }
.progress span { display: block; height: 100%; width: 0; background: var(--sindoor); transition: width 1s linear; }


/* ---------- Sections ---------- */
.section { padding-block: var(--s9); }
.section-tint { background: var(--paper-2); border-block: 1px solid var(--line); }
.section-head { display: grid; grid-template-columns: auto 1fr; column-gap: var(--s5); align-items: baseline; margin-bottom: var(--s7); padding-top: var(--s4); border-top: 3px double var(--ink); }
.section-head h2 { font-size: clamp(2rem, 4.6vw, 3.5rem); font-weight: 700; letter-spacing: -0.02em; }
.section-head p { grid-column: 2; max-width: 38em; margin-top: var(--s3); color: var(--ink-2); }
.numeral { color: var(--sindoor); font-family: var(--serif); font-size: .9375rem; letter-spacing: .08em; }

/* Programme cards */
.cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.card { display: flex; flex-direction: column; gap: var(--s3); padding: var(--s5); border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--card); transition: background-color var(--t-med); }
.card:hover { background: var(--paper-2); }
.card-num { font-family: var(--serif); font-size: 2.75rem; font-weight: 300; line-height: 1; color: var(--marigold); font-style: italic; }
.card h3 { font-size: 1.625rem; }
.card p { color: var(--ink-2); font-size: 1rem; }
.card-when { margin-top: auto; padding-top: var(--s3); border-top: 1px dashed var(--line); font-size: .875rem; font-weight: 600; font-variant-numeric: tabular-nums; }
.chip { align-self: flex-start; padding: 3px 8px; border: 1px solid currentColor; color: var(--cane); border-radius: 2px; font-size: .6875rem; }

/* Schedule */
.tabs { display: flex; gap: var(--s2); overflow-x: auto; padding-bottom: var(--s2); margin-bottom: var(--s5); scrollbar-width: thin; }
.tabs button { flex: none; min-height: 44px; padding: 0 16px; background: transparent; border: 1.5px solid var(--line); border-radius: var(--radius); color: var(--ink-2); transition: background-color var(--t-fast), color var(--t-fast), border-color var(--t-fast); }
.tabs button:hover { border-color: var(--ink); color: var(--ink); }
.tabs button[aria-selected="true"] { background: var(--ink); border-color: var(--ink); color: var(--paper); }
.tabs .today-mark { color: var(--marigold); margin-left: 4px; }

.sched { border-top: 2px solid var(--ink); }
.sched li { display: grid; grid-template-columns: 11rem minmax(0, 1fr) auto; gap: var(--s5); align-items: baseline; padding: var(--s4) var(--s3); border-bottom: 1px solid var(--line); }
.sched time { font-variant-numeric: tabular-nums; font-weight: 600; font-size: .9375rem; }
.sched h3 { font-size: 1.375rem; display: inline; }
.sched p { color: var(--ink-2); font-size: 1rem; margin-top: 2px; }
.sched li.on-now { background: var(--card); box-shadow: inset 4px 0 0 var(--sindoor); }
.on-badge { display: inline-flex; align-items: center; gap: 6px; margin-left: var(--s3); color: var(--sindoor); font-size: .6875rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; vertical-align: middle; }

/* Heritage */
.heritage { background: var(--indigo); color: var(--on-indigo); padding-block: var(--s9); }
.heritage :focus-visible { outline-color: var(--marigold); }
.heritage-grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr); gap: var(--s8); align-items: start; }
.heritage .numeral { color: var(--marigold); }
.essay h2 { font-size: clamp(2.25rem, 5vw, 4rem); font-weight: 700; margin: var(--s3) 0 var(--s6); }
.essay p { max-width: 36em; margin-bottom: var(--s4); font-size: 1.125rem; line-height: 1.7; color: var(--on-indigo-2); }
.essay em { color: var(--on-indigo); }
.dropcap::first-letter { float: left; font-family: var(--serif); font-size: 4.6em; line-height: .82; font-weight: 700; padding: .06em .1em 0 0; color: var(--marigold); }
.essay blockquote { margin: var(--s6) 0; padding-left: var(--s5); border-left: 3px solid var(--marigold); }
.essay blockquote p { font-family: var(--serif); font-style: italic; font-size: clamp(1.375rem, 2.6vw, 1.875rem); line-height: 1.3; color: var(--on-indigo); }

.timeline { position: relative; padding-left: var(--s5); border-left: 1px solid rgba(245, 238, 223, .3); }
.timeline li { position: relative; padding-bottom: var(--s6); }
.timeline li:last-child { padding-bottom: 0; }
.timeline li::before { content: ""; position: absolute; left: calc(var(--s5) * -1 - 5px); top: 6px; width: 9px; height: 9px; background: var(--marigold); transform: rotate(45deg); }
.year { display: block; color: var(--marigold); font-family: var(--serif); font-size: 1.5rem; letter-spacing: 0; font-weight: 600; font-variant-numeric: tabular-nums; }
.timeline strong { font-family: var(--serif); font-size: 1.1875rem; }
.timeline p { color: var(--on-indigo-2); font-size: 1rem; }

/* Requests */
.request-grid { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, .7fr); gap: var(--s7); align-items: start; }
.request-form { display: grid; gap: var(--s5); }
.field label { display: block; font-weight: 600; font-size: .9375rem; margin-bottom: 6px; }
.field input, .field textarea { width: 100%; min-height: 48px; padding: 12px 14px; background: var(--card); border: 1.5px solid var(--line); border-radius: var(--radius); font-size: 1rem; transition: border-color var(--t-fast); }
.field textarea { resize: vertical; }
.field input:hover, .field textarea:hover { border-color: var(--ink-2); }
.field [aria-invalid="true"] { border-color: var(--sindoor); }
.field-help { color: var(--ink-2); font-size: .875rem; margin-top: 6px; }
.field-err { color: var(--sindoor); font-size: .875rem; font-weight: 600; margin-top: 6px; }
.request-form .btn { justify-self: start; }
.form-flash { padding: 12px 14px; border-left: 4px solid; border-radius: 6px; font-weight: 600; }
.form-flash.is-ok { background: #E9F4EA; border-color: var(--cane); color: #1D4A22; }
.form-flash.is-bad { background: #FBEAE8; border-color: var(--sindoor); color: #7A1A14; }
.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.contact-card { padding: var(--s5); background: var(--card); border: 1px solid var(--line); border-top: 3px solid var(--marigold); }
.contact-card h3 { font-size: 1.5rem; margin-bottom: var(--s4); }
.contact-list { display: grid; gap: var(--s3); margin-bottom: var(--s4); }
.contact-list a, .contact-list span { display: flex; align-items: center; gap: var(--s3); min-height: 44px; overflow-wrap: anywhere; }
.contact-list .ico { color: var(--sindoor); }

/* Footer */
.footer { background: var(--paper-2); }
.footer-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--s5); padding-block: var(--s6); }
.footer-inner > div { display: flex; flex-direction: column; line-height: 1.15; }
.footer nav { display: flex; flex-wrap: wrap; gap: var(--s2) var(--s5); }
.footer nav a { padding: 10px 0; font-size: .9375rem; }

/* ---------- Player bar ---------- */
.player { position: fixed; inset: auto 0 0 0; z-index: 50; background: var(--player-bg); color: var(--player-fg); border-top: 3px solid var(--marigold); padding-bottom: env(safe-area-inset-bottom); }
.player :focus-visible { outline-color: var(--marigold); }
.player-inner { display: flex; align-items: center; gap: var(--s4); height: calc(var(--player-h) - 3px); }
.player-play { position: relative; width: 48px; height: 48px; flex: none; border-radius: 50%; border: 0; background: var(--marigold); color: #1E1914; display: grid; place-items: center; transition: transform var(--t-fast), background-color var(--t-fast); }
.player-play:hover { background: #F0B63A; }
.player-play:active { transform: scale(.94); }
.player-play .ico-play { margin-left: 2px; }
.spinner { display: none; position: absolute; inset: -5px; border-radius: 50%; border: 2px solid transparent; border-top-color: var(--marigold); animation: spin .9s linear infinite; }
.is-loading .spinner { display: block; }
.player-meta { display: flex; flex-direction: column; min-width: 0; margin-right: auto; line-height: 1.25; }
.player-meta strong { font-family: var(--serif); font-size: 1.125rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.player-state { display: flex; align-items: center; gap: var(--s2); color: var(--player-fg-2); font-size: .8125rem; }
.player-state.is-error { color: #FFB4A3; }
.eq { display: none; align-items: flex-end; gap: 2px; height: 12px; }
.is-playing .eq { display: inline-flex; }
.eq i { width: 3px; height: 100%; background: var(--marigold); transform-origin: bottom; animation: eq 900ms ease-in-out infinite; }
.eq i:nth-child(2) { animation-delay: -300ms; } .eq i:nth-child(3) { animation-delay: -600ms; } .eq i:nth-child(4) { animation-delay: -150ms; }
@keyframes eq { 0%, 100% { transform: scaleY(.3); } 50% { transform: scaleY(1); } }
.player-vol { display: flex; align-items: center; gap: var(--s2); }
.icon-btn { width: 44px; height: 44px; display: grid; place-items: center; background: none; border: 0; border-radius: 50%; color: inherit; }
.icon-btn:hover { background: rgba(245, 238, 223, .12); }
.ico-muted { display: none; }
[aria-pressed="true"] > .ico-vol { display: none; }
[aria-pressed="true"] > .ico-muted { display: block; }
#volume { width: 120px; accent-color: var(--marigold); cursor: pointer; }

/* ---------- Scroll reveal ---------- */
.reveal { opacity: 0; transform: translateY(14px); transition: opacity 500ms var(--ease-out), transform 500ms var(--ease-out); }
.reveal.in { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .hero { grid-template-columns: 1fr; padding-block: var(--s7); }
  .dial { width: min(78vw, 340px); }
  .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .heritage-grid, .request-grid { grid-template-columns: 1fr; gap: var(--s7); }
  .section, .heritage { padding-block: var(--s8); }
}
@media (max-width: 1280px) {
  .menu-btn { display: inline-flex; }
  .masthead-inner { flex-wrap: wrap; gap: var(--s3); min-height: 64px; padding-block: var(--s2); }
  .nav { display: none; order: 5; width: 100%; flex-direction: column; gap: 0; padding-bottom: var(--s2); }
  .nav.open { display: flex; }
  .nav a { border-bottom: 1px solid var(--line); padding: 14px 4px; }
  .nav-listen { display: none; }
  .topline-mid { display: none; }
  .section-head { grid-template-columns: 1fr; }
  .section-head p { grid-column: 1; }
  .sched li { grid-template-columns: 1fr; gap: 4px; }
  .sched .chip { margin-top: var(--s2); justify-self: start; }
  .topline { letter-spacing: .08em; white-space: nowrap; }
  .topline-inner { gap: var(--s2); }
  #volume { display: none; }
}
@media (max-width: 560px) {
  .cards { grid-template-columns: 1fr; }
  .hero-actions .btn { flex: 1 1 100%; }
  .brand-name { font-size: 1.3125rem; }
}

/* ---------- Tuner styling ---------- */

/* Instrument Serif has a single weight */
h1, h2, h3, .brand-name, .hero h1, .hero h1 em, .section-head h2, .essay h2, .nowcard strong, .timeline strong,
.player-meta strong, .year, .card-num, .numeral, .dropcap::first-letter { font-weight: 400; }
.hero h1 { font-size: clamp(3.25rem, 8.6vw, 7.5rem); letter-spacing: -0.02em; line-height: .92; }
.section-head h2 { font-size: clamp(2.5rem, 5.4vw, 4.25rem); }
.brand-name { font-size: 1.75rem; }
.card h3 { font-size: 2rem; }
.sched h3 { font-size: 1.625rem; }
.card-num { color: #D98A12; }

.label, .kicker, .topline, .chip, .tabs button, .sched time, .card-when, .nowcard, .player-state { font-family: var(--mono); }
.numeral { font-family: var(--mono); font-size: .75rem; }

/* The border becomes a tuning scale with a needle */
.blockprint {
  position: relative; height: 28px; background-color: #FAF5EC; border-block: 1px solid var(--line);
  background-image: repeating-linear-gradient(90deg, #8A6A3A 0 2px, transparent 2px 60px), repeating-linear-gradient(90deg, rgba(138, 106, 58, .55) 0 1px, transparent 1px 12px);
  background-size: auto 16px, auto 8px; background-repeat: repeat-x; background-position: 0 100%;
}
.blockprint::after { content: ""; position: absolute; top: 0; bottom: 0; left: 0; width: 2px; transform: translateX(var(--needle, 62vw)); transition: transform 700ms var(--ease-out); background: #E0401C; box-shadow: 0 0 8px rgba(224, 64, 28, .6); }
.hero-hi { color: var(--sindoor); }

.dial { filter: drop-shadow(0 18px 40px rgba(138, 90, 20, .3)); }
.dial-play, .dial-play:hover { background: radial-gradient(circle at 35% 30%, #FFDFA0, #FFB13D 55%, #C97C12); box-shadow: 0 0 0 6px #2A1D10, 0 0 0 7px #8A6A3A, 0 12px 30px rgba(0, 0, 0, .45); }

.nowcard { border: 1px solid var(--line); border-top: 3px solid var(--marigold); border-radius: 10px; box-shadow: 0 18px 40px -24px rgba(138, 90, 20, .45); }
.nowcard strong { font-family: var(--mono); font-size: 1rem; font-weight: 600; }
.progress span { background: var(--marigold); }

.section-head { border-top: 1px solid var(--line); }
.cards { gap: 16px; border: 0; }
.card { border: 1px solid var(--line); border-radius: 14px; transition: border-color var(--t-med), box-shadow var(--t-med), opacity 500ms var(--ease-out), transform 400ms var(--ease-out); }
.card:hover { transform: translateY(-4px); background: var(--card); border-color: var(--marigold); box-shadow: 0 18px 40px -24px rgba(138, 90, 20, .5); }

.tabs button[aria-selected="true"] { background: var(--marigold); border-color: var(--marigold); color: #1A1108; }
.tabs .today-mark { color: var(--sindoor); }
.sched { border-top: 2px solid var(--marigold); }
.sched li.on-now { box-shadow: inset 3px 0 0 var(--marigold); background: #FFF6E3; }
.contact-card { border-radius: 14px; }

/* ---------- Motion ---------- */
main { overflow-x: clip; }

@keyframes rise { from { opacity: 0; transform: translateY(18px); } }
@keyframes dial-in { from { opacity: 0; transform: scale(.86) rotate(-30deg); } }
@keyframes player-in { from { transform: translateY(100%); } }
@keyframes ring { from { opacity: .55; transform: scale(1); } to { opacity: 0; transform: scale(1.3); } }
@keyframes underline { to { background-size: 100% 3px; } }
@keyframes seek { 0%, 100% { transform: translateX(calc(var(--needle, 62vw) - 36px)); } 50% { transform: translateX(calc(var(--needle, 62vw) + 36px)); } }

/* Page load: copy rises in, the dial turns into place, the player slides up */
.hero-copy > * { animation: rise 700ms var(--ease-out) both; }
.hero-copy > :nth-child(1) { animation-delay: 60ms; }
.hero-copy > :nth-child(2) { animation-delay: 140ms; }
.hero-copy > :nth-child(3) { animation-delay: 260ms; }
.hero-copy > :nth-child(4) { animation-delay: 340ms; }
.hero-copy > :nth-child(5) { animation-delay: 420ms; }
.dial { animation: dial-in 900ms var(--ease-out) 200ms both; }
.nowcard { animation: rise 700ms var(--ease-out) 480ms both; }
.home .player { animation: player-in 500ms var(--ease-out) 600ms both; }
.hero h1 em { background: linear-gradient(var(--marigold), var(--marigold)) no-repeat 0 94% / 0 3px; animation: underline 800ms var(--ease-out) 1000ms forwards; }

/* The needle sweeps in from the right on load, then hunts while the stream connects */
.masthead .blockprint { --needle: 100vw; }
.is-seeking .masthead .blockprint::after { animation: seek 1.1s ease-in-out infinite; }

/* The play button invites a press while idle; the dial sends out rings while on air */
.dial-play::after { content: ""; position: absolute; inset: -14px; border-radius: 50%; border: 2px solid var(--marigold); opacity: 0; pointer-events: none; animation: ring 2.4s ease-out infinite; }
.dial.is-playing .dial-play::after { animation: none; }
.dial::before, .dial::after { content: ""; position: absolute; inset: 0; z-index: -1; border-radius: 50%; border: 2px solid var(--marigold); opacity: 0; pointer-events: none; }
.dial.is-playing::before { animation: ring 2.4s ease-out infinite; }
.dial.is-playing::after { animation: ring 2.4s ease-out 1.2s infinite; }

/* Schedule rows arrive one after another when a day is chosen */
.sched li { animation: rise 420ms var(--ease-out) both; animation-delay: calc(var(--i, 0) * 35ms); }

/* ---------- Inner pages ---------- */
.nav a[aria-current="page"], .footer nav a[aria-current="page"] { border-color: var(--marigold); color: var(--sindoor); }

.page-hero { padding-block: var(--s8) var(--s7); }
.page-hero > * { animation: rise 700ms var(--ease-out) both; }
.page-hero > :nth-child(2) { animation-delay: 90ms; }
.page-hero > :nth-child(3) { animation-delay: 200ms; }
.page-hero .kicker { margin-bottom: var(--s4); }
.page-hero h1 { font-size: clamp(3rem, 7.4vw, 6rem); font-weight: 400; line-height: .95; letter-spacing: -0.02em; }
.page-hero h1 em { color: var(--sindoor); }
.section-flush { padding-top: 0; }

.more { margin-top: var(--s6); }
.link-arrow { display: inline-flex; align-items: center; gap: var(--s2); min-height: 44px; font-weight: 600; text-decoration: none; border-bottom: 2px solid var(--marigold); transition: color var(--t-fast); }
.link-arrow .ico { transition: transform var(--t-med) var(--ease-out); }
.link-arrow:hover { color: var(--sindoor); }
.link-arrow:hover .ico { transform: translateX(4px); }
.heritage .link-arrow:hover { color: var(--marigold); }

.chips { display: flex; flex-wrap: wrap; gap: var(--s2); margin-bottom: var(--s5); }
.chips button { min-height: 44px; padding: 0 16px; background: transparent; border: 1.5px solid var(--line); border-radius: 999px; color: var(--ink-2); font-family: var(--mono); font-size: .75rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; transition: background-color var(--t-fast), color var(--t-fast), border-color var(--t-fast); }
.chips button:hover { border-color: var(--ink); color: var(--ink); }
.chips button[aria-pressed="true"] { background: var(--marigold); border-color: var(--marigold); color: #1A1108; }

.nowcard-wide { width: 100%; max-width: 640px; margin-bottom: var(--s6); animation-delay: 280ms; }

.facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--s4); margin-bottom: var(--s8); }
.fact { padding: var(--s5); border: 1px solid var(--line); border-radius: 14px; background: var(--card); }
.fact strong { display: block; font-family: var(--serif); font-size: clamp(2.5rem, 5vw, 3.75rem); font-weight: 400; line-height: 1; color: var(--sindoor); }
.fact span { display: block; margin-top: var(--s2); color: var(--ink-2); }

.story-grid { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, .7fr); gap: var(--s8); align-items: start; }
.story-aside { position: sticky; top: 140px; padding: var(--s6); border-radius: 14px; background: var(--indigo); color: var(--on-indigo); }
.two-col { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s8); }

.prose { max-width: 40em; }
.prose h2 { font-size: clamp(2rem, 4vw, 3rem); font-weight: 400; margin: var(--s7) 0 var(--s4); }
.prose h2:first-child { margin-top: 0; }
.prose p { margin-bottom: var(--s4); font-size: 1.125rem; line-height: 1.75; color: var(--ink-2); }
.prose p em, .prose p strong { color: var(--ink); }
.prose blockquote { margin: var(--s6) 0; padding-left: var(--s5); border-left: 3px solid var(--marigold); font-family: var(--serif); font-style: italic; font-size: clamp(1.5rem, 2.8vw, 2rem); line-height: 1.25; }
.prose blockquote p { margin: 0; font: inherit; color: inherit; }
.prose .dropcap::first-letter { color: var(--sindoor); }

.faq { border-top: 1px solid var(--marigold); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { display: flex; align-items: center; justify-content: space-between; gap: var(--s4); min-height: 64px; padding-block: var(--s3); cursor: pointer; list-style: none; font-family: var(--serif); font-size: 1.5rem; line-height: 1.2; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; flex: none; font-family: var(--mono); font-size: 1.5rem; color: var(--sindoor); transition: transform var(--t-med) var(--ease-out); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { max-width: 40em; padding-bottom: var(--s5); color: var(--ink-2); }

.cta-band { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--s5); padding: var(--s7); border-radius: 14px; background: var(--indigo); color: var(--on-indigo); }
.cta-band h2 { font-size: clamp(2rem, 4.4vw, 3.25rem); font-weight: 400; margin: var(--s2) 0 var(--s3); }
.cta-band p { max-width: 34em; color: var(--on-indigo-2); }
.cta-band .numeral { color: var(--marigold); }
.cta-band :focus-visible { outline-color: var(--marigold); }

@media (max-width: 960px) {
  .story-grid, .two-col { grid-template-columns: 1fr; gap: var(--s7); }
  .story-aside { position: static; }
  .facts { grid-template-columns: 1fr; margin-bottom: var(--s7); }
  .cta-band { padding: var(--s6) var(--s5); }
}

/* ---------- Videos ---------- */
.video-frame { position: relative; aspect-ratio: 16 / 9; overflow: hidden; background: #000; border: 6px solid var(--indigo); border-radius: 14px; box-shadow: 0 30px 60px -30px rgba(138, 90, 20, .6); animation: rise 700ms var(--ease-out) 280ms both; }
.video-frame iframe, .video-facade, .video-facade img { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video-facade { display: block; padding: 0; background: #000; }
.video-facade img { object-fit: cover; opacity: .85; transition: transform 700ms var(--ease-out), opacity var(--t-med); }
.video-facade:hover img { transform: scale(1.03); opacity: 1; }
.video-facade:focus-visible { outline-offset: -6px; outline-color: var(--marigold); }
.video-play { position: absolute; left: 50%; top: 50%; width: 88px; height: 88px; margin: -44px 0 0 -44px; display: grid; place-items: center; border-radius: 50%; background: radial-gradient(circle at 35% 30%, #FFDFA0, #FFB13D 55%, #C97C12); color: #1A1108; box-shadow: 0 0 0 6px rgba(42, 29, 16, .85), 0 12px 30px rgba(0, 0, 0, .5); transition: transform var(--t-med) var(--ease-out); }
.video-facade:hover .video-play { transform: scale(1.08); }
.video-play .ico { width: 36px; height: 36px; margin-left: 4px; fill: currentColor; stroke: none; }
.video-empty { position: absolute; inset: 0; display: grid; place-items: center; color: var(--on-indigo); }
.video-info { margin-top: var(--s5); }
.video-info h2 { max-width: 24em; margin: var(--s3) 0 var(--s2); font-size: clamp(1.75rem, 3.4vw, 2.75rem); font-weight: 400; }
.video-info h2:focus { outline: none; }

.video-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--s6) var(--s4); }
.video-grid li { animation: rise 420ms var(--ease-out) both; animation-delay: calc(var(--i, 0) * 35ms); }
.video-card { display: flex; flex-direction: column; align-items: flex-start; gap: var(--s2); width: 100%; padding: 0; background: none; border: 0; text-align: left; }
.video-thumb { position: relative; display: block; width: 100%; aspect-ratio: 16 / 9; overflow: hidden; margin-bottom: var(--s2); background: var(--indigo); border: 1px solid var(--line); border-radius: 12px; }
.video-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform 600ms var(--ease-out); }
.video-card:hover .video-thumb img { transform: scale(1.06); }
.video-thumb::after { content: ""; position: absolute; right: 10px; bottom: 10px; width: 38px; height: 38px; border-radius: 50%; background: var(--marigold) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M8 5v14l11-7z' fill='%231A1108'/%3E%3C/svg%3E") center / 18px no-repeat; box-shadow: 0 4px 12px rgba(0, 0, 0, .35); }
.video-card h3 { font-size: 1.375rem; font-weight: 400; line-height: 1.15; transition: color var(--t-fast); }
.video-card:hover h3 { color: var(--sindoor); }
.video-card .muted { font-family: var(--mono); font-size: .75rem; letter-spacing: .06em; }
.video-card[aria-current="true"] .video-thumb { outline: 3px solid var(--marigold); outline-offset: 2px; }
.video-card[aria-current="true"] .muted { color: var(--sindoor); font-weight: 600; }

@media (max-width: 960px) { .video-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) {
  .video-grid { grid-template-columns: 1fr; }
  .video-frame { border-width: 3px; }
  .video-play { width: 68px; height: 68px; margin: -34px 0 0 -34px; }
}

/* ---------- Photos ---------- */
.photo-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-rows: 210px; grid-auto-flow: dense; gap: 14px; }
.photo { animation: rise 500ms var(--ease-out) both; animation-delay: calc(var(--i, 0) * 40ms); }
.photo.tall { grid-row: span 2; }
.photo.wide { grid-column: span 2; }
.photo.big { grid-column: span 2; grid-row: span 2; }
.photo button { position: relative; display: block; width: 100%; height: 100%; padding: 0; overflow: hidden; background: var(--indigo); border: 0; border-radius: 18px; box-shadow: 0 14px 30px -22px rgba(138, 90, 20, .7); transition: box-shadow var(--t-med), transform var(--t-med) var(--ease-out); }
.photo button:hover { transform: translateY(-3px); box-shadow: 0 26px 44px -24px rgba(138, 90, 20, .8); }
.photo img { width: 100%; height: 100%; object-fit: cover; transition: transform 800ms var(--ease-out); }
.photo button:hover img, .photo button:focus-visible img { transform: scale(1.07); }
.photo-cap { position: absolute; inset: auto 0 0 0; display: flex; flex-direction: column; align-items: flex-start; gap: 6px; padding: 48px 16px 14px; text-align: left; color: #FFF; background: linear-gradient(transparent, rgba(20, 12, 4, .85)); opacity: 0; transform: translateY(10px); transition: opacity var(--t-med), transform var(--t-med) var(--ease-out); }
.photo button:hover .photo-cap, .photo button:focus-visible .photo-cap { opacity: 1; transform: none; }
.photo-cap .chip { color: #FFD58A; }
.photo-cap strong { font-family: var(--serif); font-size: 1.25rem; font-weight: 400; line-height: 1.15; }
.photo-empty { grid-column: 1 / -1; color: var(--ink-2); }
@media (hover: none) { .photo-cap { opacity: 1; transform: none; } }

.lightbox { width: 100vw; height: 100dvh; max-width: none; max-height: none; margin: 0; padding: 24px 84px; border: 0; background: rgba(20, 12, 4, .95); color: #F4E6CB; }
.lightbox[open] { display: grid; place-items: center; }
.lightbox::backdrop { background: rgba(20, 12, 4, .6); }
.lightbox :focus-visible { outline-color: var(--marigold); }
.lightbox figure { display: grid; justify-items: center; gap: var(--s4); margin: 0; }
@keyframes lb-in { from { opacity: 0; transform: scale(.96); } }
#lbImg { max-width: 100%; max-height: calc(100dvh - 180px); width: auto; height: auto; border-radius: 14px; box-shadow: 0 30px 80px rgba(0, 0, 0, .6); animation: lb-in 320ms var(--ease-out); }
.lightbox figcaption { display: grid; gap: 4px; text-align: center; font-size: .9375rem; color: #D6C3A4; }
.lightbox figcaption strong { font-family: var(--serif); font-size: 1.625rem; font-weight: 400; line-height: 1.15; color: #F4E6CB; }
.lightbox figcaption a { color: var(--marigold); }
.lb-count { font-family: var(--mono); font-size: .75rem; letter-spacing: .14em; }
.lb-btn { position: absolute; display: grid; place-items: center; width: 52px; height: 52px; background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .25); border-radius: 50%; color: inherit; transition: background-color var(--t-fast), color var(--t-fast), transform var(--t-fast); }
.lb-btn:hover { background: var(--marigold); border-color: var(--marigold); color: #1A1108; }
.lb-btn:active { transform: scale(.94); }
.lb-close { top: 16px; right: 16px; }
.lb-prev, .lb-next { top: 50%; margin-top: -26px; }
.lb-prev { left: 16px; }
.lb-next { right: 16px; }

@media (max-width: 960px) { .photo-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); grid-auto-rows: 190px; } }
@media (max-width: 640px) {
  .photo-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: 150px; gap: 10px; }
  .photo button { border-radius: 14px; }
  .photo-cap { padding: 32px 10px 10px; }
  .photo-cap strong { font-size: 1rem; }
  .photo-cap .chip { display: none; }
  .lightbox { padding: 72px 12px 84px; }
  #lbImg { max-height: calc(100dvh - 300px); }
  .lb-prev, .lb-next { top: auto; bottom: 16px; margin-top: 0; }
}

/* ---------- News ---------- */
.news-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--s6) var(--s5); }
.news-card { animation: rise 500ms var(--ease-out) both; }
.news-card:nth-child(2) { animation-delay: 60ms; } .news-card:nth-child(3) { animation-delay: 120ms; } .news-card:nth-child(n+4) { animation-delay: 180ms; }
.news-card a { display: flex; flex-direction: column; gap: var(--s4); height: 100%; text-decoration: none; }
.news-img { display: block; aspect-ratio: 16 / 9; overflow: hidden; background: var(--indigo); border: 1px solid var(--line); border-radius: 14px; }
.news-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 700ms var(--ease-out); }
.news-card a:hover .news-img img { transform: scale(1.05); }
/* posts without a picture get a tuning-scale panel instead */
.news-blank { display: block; width: 100%; height: 100%; background:
  repeating-linear-gradient(90deg, rgba(255, 177, 61, .9) 0 2px, transparent 2px 48px) 0 100% / auto 34% repeat-x,
  repeating-linear-gradient(90deg, rgba(255, 177, 61, .45) 0 1px, transparent 1px 12px) 0 100% / auto 18% repeat-x,
  radial-gradient(circle at 70% 30%, rgba(255, 177, 61, .35), transparent 60%), var(--indigo); }
.news-text { display: flex; flex: 1; flex-direction: column; align-items: flex-start; gap: var(--s2); }
.news-text time, .article-head .kicker { font-family: var(--mono); font-size: .75rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--sindoor); }
.news-text h3 { font-size: 1.75rem; font-weight: 400; line-height: 1.1; transition: color var(--t-fast); }
.news-card a:hover h3 { color: var(--sindoor); }
.news-text p { color: var(--ink-2); font-size: 1rem; }
.news-text .link-arrow { margin-top: auto; font-size: .9375rem; }
.news-card a:hover .link-arrow .ico { transform: translateX(4px); }
.news-card.lead { grid-column: 1 / -1; }
.news-card.lead a { flex-direction: row; align-items: center; gap: var(--s7); }
.news-card.lead .news-img { flex: 1.2; }
.news-card.lead .news-text { flex: 1; }
.news-card.lead h3 { font-size: clamp(2rem, 4vw, 3.25rem); line-height: 1.02; }
.news-card.lead p { font-size: 1.125rem; }

.pager { display: flex; align-items: center; justify-content: center; gap: var(--s5); margin-top: var(--s7); font-family: var(--mono); font-size: .8125rem; }

.article-head { padding-bottom: var(--s6); }
.article-head .kicker a { color: inherit; }
.article-head h1 { font-size: clamp(2.5rem, 6vw, 5rem); max-width: 16em; }
.article-image { display: block; width: 100%; max-height: 560px; margin-bottom: var(--s7); object-fit: cover; border-radius: 14px; animation: rise 700ms var(--ease-out) 280ms both; }
.article-body { margin-inline: auto; max-width: 42em; }
.article-body ul, .article-body ol { margin: 0 0 var(--s4); padding-left: 1.3em; list-style: revert; color: var(--ink-2); font-size: 1.125rem; line-height: 1.75; }
.article-body h3 { font-size: 1.625rem; font-weight: 400; margin: var(--s6) 0 var(--s3); }
.article-body a { color: var(--sindoor); }
.article-body img { max-width: 100%; height: auto; border-radius: 10px; }
.article .more { max-width: 42em; margin: var(--s7) auto var(--s8); }
.link-back .ico { transform: rotate(180deg); }
.link-back:hover .ico { transform: rotate(180deg) translateX(4px); }

@media (max-width: 960px) {
  .news-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .news-card.lead a { flex-direction: column; align-items: stretch; gap: var(--s4); }
  .news-card.lead .news-img, .news-card.lead .news-text { flex: none; }
}
@media (max-width: 600px) { .news-grid { grid-template-columns: 1fr; } }

/* ---------- Events ---------- */
.event-list { border-top: 2px solid var(--marigold); }
.event { border-bottom: 1px solid var(--line); animation: rise 500ms var(--ease-out) both; }
.event:nth-child(2) { animation-delay: 60ms; } .event:nth-child(3) { animation-delay: 120ms; } .event:nth-child(n+4) { animation-delay: 180ms; }
.event a { display: grid; grid-template-columns: 7.5rem minmax(0, 1fr) auto; gap: var(--s6); align-items: center; padding: var(--s5) var(--s3); text-decoration: none; transition: background-color var(--t-med); }
.event a:hover { background: var(--card); }
.section-tint .event a:hover { background: var(--paper); }
.event-date { display: grid; justify-items: center; padding: var(--s3) var(--s2); background: var(--indigo); border-radius: 12px; color: var(--on-indigo); line-height: 1.1; }
.event-dow, .event-month, .event-meta { font-family: var(--mono); font-size: .75rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; }
.event-dow { color: var(--marigold); }
.event-day { font-family: var(--serif); font-size: 3rem; }
.event-text { display: grid; gap: 4px; min-width: 0; }
.event-text h3 { font-size: 1.875rem; font-weight: 400; line-height: 1.1; transition: color var(--t-fast); }
.event a:hover h3 { color: var(--sindoor); }
.event-meta { color: var(--sindoor); }
.event-text p { color: var(--ink-2); font-size: 1rem; }
.event-go { display: grid; place-items: center; width: 44px; height: 44px; border: 1.5px solid var(--line); border-radius: 50%; transition: background-color var(--t-med), border-color var(--t-med), transform var(--t-med) var(--ease-out); }
.event a:hover .event-go { background: var(--marigold); border-color: var(--marigold); transform: translateX(4px); }
.past-events { margin-top: var(--s7); }
.past-events summary { display: inline-flex; align-items: center; min-height: 44px; cursor: pointer; font-family: var(--mono); font-size: .8125rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-2); }
.past-events .event-list { margin-top: var(--s3); border-top-color: var(--line); }
.is-past .event-date { background: var(--paper-2); color: var(--ink-2); border: 1px solid var(--line); }
.is-past .event-dow { color: var(--ink-2); }

.event-layout { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: var(--s8); align-items: start; padding-bottom: var(--s8); }
.event-card { position: sticky; top: 140px; display: grid; gap: var(--s3); padding: var(--s5); background: var(--card); border: 1px solid var(--line); border-top: 3px solid var(--marigold); border-radius: 14px; box-shadow: 0 18px 40px -24px rgba(138, 90, 20, .45); animation: rise 700ms var(--ease-out) 280ms both; }
.event-card dl { margin: 0 0 var(--s2); }
.event-card dt { font-family: var(--mono); font-size: .75rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--sindoor); }
.event-card dd { margin: 2px 0 var(--s4); font-size: 1.0625rem; }
.event-layout .more { margin-top: var(--s6); }

@media (max-width: 960px) {
  .event-layout { grid-template-columns: 1fr; gap: var(--s6); }
  .event-card { position: static; grid-row: 1; }
}
@media (max-width: 600px) {
  .event a { grid-template-columns: 4.75rem minmax(0, 1fr); gap: var(--s4); padding-inline: 0; }
  .event-go { display: none; }
  .event-day { font-size: 2.25rem; }
  .event-text h3 { font-size: 1.5rem; }
}

/* ---------- Background animation ---------- */
/* Two slow amber glows drift behind the page, and radio waves travel across it.
   Both sit behind the content and brighten while the station is on air. */
@keyframes drift { from { transform: translate3d(-5vmax, -3vmax, 0) scale(1); } to { transform: translate3d(7vmax, 6vmax, 0) scale(1.18); } }
@keyframes waves { to { transform: translate3d(-720px, 0, 0); } }

body { background-image: none; }
body::before {
  content: ""; position: fixed; inset: -20vmax; z-index: -1; pointer-events: none;
  background:
    radial-gradient(36vmax 36vmax at 32% 30%, rgba(255, 177, 61, .28), transparent 70%),
    radial-gradient(30vmax 30vmax at 72% 62%, rgba(255, 133, 82, .15), transparent 70%);
  animation: drift 24s ease-in-out infinite alternate;
}
body::after {
  content: ""; position: fixed; left: 0; top: 34vh; width: calc(100% + 720px); height: 240px; z-index: -1; pointer-events: none;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='720' height='240' fill='none' stroke='%23FFB13D' stroke-width='1.5'%3E%3Cpath d='M0 120C90 50 270 50 360 120S630 190 720 120' opacity='.7'/%3E%3Cpath d='M0 120C45 92 135 92 180 120S315 148 360 120S495 92 540 120S675 148 720 120' opacity='.45'/%3E%3Cpath d='M0 120C90 210 270 210 360 120S630 30 720 120' opacity='.3'/%3E%3C/svg%3E") repeat-x 0 50% / 720px 240px;
  opacity: .45; transition: opacity 1.2s ease;
  animation: waves 26s linear infinite;
}
body.is-on-air::after { opacity: .75; }

/* Nine menu links: keep the station name on one line and tighten the menu on mid-width screens */
.brand { flex: none; }
.brand-name { white-space: nowrap; }
@media (max-width: 1480px) {
  .masthead-inner { gap: var(--s4); }
  .nav { gap: 0; }
  .nav a { padding: 12px 9px; font-size: .875rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
}
