:root {
  --navy-900: #050a16;
  --navy-800: #0a1530;
  --navy-700: #10224a;
  --blue: #1d4ed8;
  --red: #d7141c;
  --red-dark: #b00f16;
  --ink: #16181d;
  --ink-2: #3a3f4a;
  --muted: #6b6f78;
  --paper: #faf8f3;
  --paper-2: #f2eee4;
  --rule: #d9d3c5;
  --rule-strong: #16181d;
  --radius: 4px;
  --display: "Playfair Display", Georgia, "Times New Roman", serif;
  --serif: "Source Serif 4", Georgia, serif;
  --brand: "Montserrat", "Arial Black", sans-serif;
  --body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 60px; }
body {
  margin: 0; font-family: var(--body); color: var(--ink); background: var(--paper);
  line-height: 1.5; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }
svg { width: 1.1em; height: 1.1em; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex: none; }
svg .fill, svg.fill { fill: currentColor; stroke: none; }
[hidden] { display: none !important; }

.wrap { width: min(1240px, 100% - 32px); margin-inline: auto; }
.skip { position: absolute; left: -999px; top: 8px; background: #fff; padding: 8px 12px; z-index: 100; }
.skip:focus { left: 8px; }
:focus-visible { outline: 3px solid #60a5fa; outline-offset: 2px; }

/* ---------- Buttons ---------- */
.btn {
  white-space: nowrap; display: inline-flex; align-items: center; gap: .6em;
  border: 0; border-radius: 999px; padding: .8em 1.4em;
  font-family: var(--brand); font-weight: 800; font-size: .82rem; letter-spacing: .1em; text-transform: uppercase;
  transition: transform .15s ease, background .15s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-live { background: var(--red); color: #fff; box-shadow: 0 6px 22px rgba(215, 20, 28, .4); }
.btn-live:hover { background: var(--red-dark); }
.live-icon { position: relative; width: 9px; height: 9px; border-radius: 50%; background: #fff; margin-inline: 6px; }
.live-icon::before, .live-icon::after {
  content: ""; position: absolute; inset: -5px; border: 2px solid #fff; border-radius: 50%;
  border-top-color: transparent; border-bottom-color: transparent;
}
.live-icon::after { inset: -9px; opacity: .6; }
.is-playing .live-icon { animation: pulse 1.4s ease-in-out infinite; }

/* ---------- Brand lockup (shared with studio.html) ---------- */
.brand, .nameplate { display: flex; align-items: center; gap: 10px; color: #fff; }
.brand-globe {
  width: 96px; height: auto;
  -webkit-mask-image: radial-gradient(ellipse 60% 62% at 50% 50%, #000 70%, transparent 100%);
          mask-image: radial-gradient(ellipse 60% 62% at 50% 50%, #000 70%, transparent 100%);
}
.brand-text { white-space: nowrap; display: flex; flex-direction: column; align-items: center; line-height: 1; }
.brand-name {
  font-family: var(--brand); font-weight: 900; font-size: 2.3rem; letter-spacing: -.01em;
  background: linear-gradient(180deg, #fff 30%, #c9ced8 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.brand-name .dot { color: var(--red); -webkit-text-fill-color: var(--red); }
.brand-sub {
  display: flex; align-items: center; gap: .6em; margin-top: .35em;
  font-family: var(--brand); font-weight: 700; font-size: .72rem; letter-spacing: .42em; color: #fff;
}
.brand-sub::before, .brand-sub::after { content: ""; width: 22px; height: 2px; background: var(--red); }
.brand-sm .brand-globe { width: 72px; }
.brand-sm .brand-name { font-size: 1.7rem; }
.brand-sm .brand-sub { font-size: .6rem; }

/* ---------- Utility bar ---------- */
.utility { background: var(--navy-900); color: #aab3c4; font-size: .76rem; border-bottom: 1px solid rgba(255,255,255,.06); }
.utility-inner { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding-block: 7px; }
.utility-left { display: inline-flex; gap: 14px; align-items: center; }
.utility-weather { display: inline-flex; align-items: center; gap: 6px; padding-left: 14px; border-left: 1px solid rgba(255,255,255,.15); color: #d6dbe5; }
.utility-mid { font-family: var(--display); font-style: italic; color: #cfd6e2; }
.utility-call { display: inline-flex; align-items: center; gap: 6px; font-family: var(--brand); font-weight: 700; letter-spacing: .1em; text-transform: uppercase; font-size: .66rem; color: #e6e9f0; }
.utility-call svg { width: 13px; height: 13px; color: #ff5a60; }
.utility-call:hover { color: #fff; }
.onair-dot { width: 8px; height: 8px; border-radius: 50%; background: #64748b; flex: none; }
.onair-dot.is-live { background: var(--red); box-shadow: 0 0 0 4px rgba(215,20,28,.25); animation: pulse 1.2s infinite; }
.onair-dot.is-on { background: #22c55e; box-shadow: 0 0 0 4px rgba(34,197,94,.2); }

/* ---------- Masthead ---------- */
.masthead {
  position: relative; overflow: hidden; color: #fff; text-align: center; isolation: isolate;
  background:
    radial-gradient(ellipse 34% 90% at 50% 45%, rgba(37, 99, 235, .45), transparent 70%),
    radial-gradient(ellipse 50% 80% at 100% 0%, rgba(215, 20, 28, .14), transparent 70%),
    linear-gradient(180deg, #0c1a3d 0%, var(--navy-800) 45%, var(--navy-900) 100%);
}
.masthead-grid { position: absolute; inset: 0; width: 100%; height: 100%; color: rgba(147, 197, 253, .07); z-index: -1; }
.masthead-orbit { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; filter: drop-shadow(0 0 6px rgba(255, 42, 51, .55)); }
.masthead-inner { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 28px; padding-block: 22px 6px; }

.nameplate { display: flex; align-items: center; justify-content: center; gap: 4px; color: #fff; }
.nameplate-globe { position: relative; width: 150px; flex: none; margin-right: -6px; }
.nameplate-globe::before { content: ""; position: absolute; inset: 14% 22%; border-radius: 50%; background: rgba(59, 130, 246, .55); filter: blur(26px); z-index: -1; }
.nameplate-globe img { width: 100%; height: auto; filter: drop-shadow(0 8px 18px rgba(0,0,0,.5)); animation: globe-in .9s cubic-bezier(.2,.8,.2,1) both; }
.nameplate .brand-name { font-size: clamp(2.4rem, 5.4vw, 4.1rem); letter-spacing: -.02em; filter: drop-shadow(0 3px 0 rgba(0,0,0,.35)); }
.nameplate .brand-sub { font-size: clamp(.64rem, 1.25vw, .95rem); letter-spacing: .5em; margin-top: .45em; }
.nameplate .brand-sub::before, .nameplate .brand-sub::after { width: 34px; }

.ear { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.ear-left { align-items: flex-start; }
.ear-right { align-items: flex-end; }
.ear-note { font-family: var(--brand); font-weight: 700; font-size: .62rem; letter-spacing: .16em; text-transform: uppercase; color: #9fb0cc; }

.onair-widget {
  display: flex; align-items: center; gap: 12px; max-width: 270px; text-align: left;
  padding: 8px 16px 8px 8px; border-radius: 999px;
  background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12); backdrop-filter: blur(6px);
}
.onair-play { width: 40px; height: 40px; flex: none; border-radius: 50%; border: 0; display: grid; place-items: center; background: #fff; color: var(--navy-800); transition: transform .15s ease; }
.onair-play:hover { transform: scale(1.07); }
.onair-play svg { width: 18px; height: 18px; }
.onair-text { display: flex; flex-direction: column; min-width: 0; line-height: 1.3; }
.onair-status { white-space: nowrap; display: inline-flex; align-items: center; gap: 7px; font-family: var(--brand); font-weight: 800; font-size: .64rem; letter-spacing: .14em; text-transform: uppercase; }
.onair-np { font-family: var(--display); font-style: italic; font-size: .86rem; color: #cfd6e2; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

.motto {
  margin: 0; padding: 6px 16px 16px; display: flex; align-items: center; justify-content: center; gap: 18px;
  font-family: var(--display); font-style: italic; font-size: clamp(1rem, 2vw, 1.3rem); color: #e6e9f0;
}
.motto::before, .motto::after { content: ""; flex: 0 1 150px; height: 1px; background: linear-gradient(90deg, transparent, rgba(255,255,255,.4)); }
.motto::after { transform: scaleX(-1); }

/* ---------- Nav (cream, condenses to navy on scroll) ---------- */
.nav {
  position: sticky; top: 0; z-index: 40; background: var(--paper);
  border-bottom: 1px solid var(--rule-strong); box-shadow: 0 3px 0 -2px var(--paper), 0 4px 0 -2px var(--rule-strong);
  transition: background .25s ease, box-shadow .25s ease;
}
.nav-inner { display: flex; align-items: center; gap: 12px; }
.nav-links {
  flex: 1; display: flex; gap: 2px; margin: 0; padding: 0; list-style: none;
  overflow-x: auto; scrollbar-width: none;
}
.nav-links::-webkit-scrollbar { display: none; }
.nav-links li:first-child { margin-left: auto; }
.nav-links li:last-child { margin-right: auto; }
.nav-links a {
  display: block; padding: 14px 13px 12px; white-space: nowrap;
  font-family: var(--brand); font-weight: 700; font-size: .74rem; letter-spacing: .12em; text-transform: uppercase;
  border-bottom: 2px solid transparent; color: var(--ink-2); transition: color .2s ease;
}
.nav-links a:hover { color: var(--red); }
.nav-links a.active { color: var(--red); border-bottom-color: var(--red); }
.nav-logo, .nav-live { display: none; }
.nav-logo { align-items: center; gap: 6px; flex: none; font-family: var(--brand); font-weight: 900; font-size: 1.05rem; color: #fff; white-space: nowrap; }
.nav-logo img { width: 40px; height: auto; }
.nav-logo .dot { color: var(--red); }
.nav-live {
  flex: none; align-items: center; gap: 4px; border: 0; border-radius: 999px; padding: 7px 14px 7px 8px;
  background: var(--red); color: #fff; font-family: var(--brand); font-weight: 800; font-size: .66rem; letter-spacing: .1em; text-transform: uppercase; white-space: nowrap;
}
.nav-live .live-icon { width: 7px; height: 7px; margin-inline: 6px; }
.nav-live .live-icon::before { inset: -4px; }
.nav-live .live-icon::after { inset: -7px; }
.nav.stuck { background: rgba(10, 21, 48, .97); backdrop-filter: blur(8px); border-bottom-color: transparent; box-shadow: 0 2px 0 var(--red), 0 10px 24px -12px rgba(0,0,0,.5); }
.nav.stuck .nav-logo, .nav.stuck .nav-live { display: inline-flex; animation: fade-in .25s ease both; }
.nav.stuck .nav-links a { color: #cfd6e2; padding: 13px 9px 11px; font-size: .68rem; }
.nav.stuck .nav-links a:hover, .nav.stuck .nav-links a.active { color: #fff; }
.nav.stuck .nav-links a.active { border-bottom-color: var(--red); }
.nav.stuck .nav-links li:first-child { display: none; }

/* ---------- Ticker ---------- */
.ticker { border-bottom: 1px solid var(--rule); background: var(--paper); }
.ticker-inner { display: flex; align-items: center; gap: 14px; padding-block: 9px; }
.ticker-label {
  flex: none; background: var(--red); color: #fff; padding: 5px 10px;
  font-family: var(--brand); font-weight: 800; font-size: .68rem; letter-spacing: .12em; text-transform: uppercase;
}
.ticker-track { overflow: hidden; flex: 1; -webkit-mask-image: linear-gradient(90deg, transparent, #000 3%, #000 97%, transparent); mask-image: linear-gradient(90deg, transparent, #000 3%, #000 97%, transparent); }
.ticker-items { display: flex; width: max-content; }
.ticker-items.run { animation: ticker 120s linear infinite; }
.ticker-items a { padding-inline: 18px; font-family: var(--serif); font-size: .92rem; white-space: nowrap; border-right: 1px solid var(--rule); }
.ticker-items a:hover { color: var(--red); }
.ticker-items a b { font-family: var(--brand); font-size: .64rem; letter-spacing: .1em; text-transform: uppercase; color: var(--red); margin-right: 8px; }
.ticker-loading { color: var(--muted); font-size: .88rem; }
.ticker-track:hover .ticker-items { animation-play-state: paused; }

/* ---------- Shared story pieces ---------- */
.src-label { font-family: var(--brand); font-weight: 800; font-size: .64rem; letter-spacing: .14em; text-transform: uppercase; color: var(--red); }
.time { font-size: .74rem; color: var(--muted); }
.meta { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.meta .src-label + .time::before { content: "·"; margin-right: 8px; color: var(--muted); }
.story-img { position: relative; overflow: hidden; background: var(--paper-2); aspect-ratio: 16 / 9; border-radius: var(--radius); }
.story-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
a:hover .story-img img { transform: scale(1.03); }
.headline { font-family: var(--display); font-weight: 800; line-height: 1.12; margin: 6px 0; letter-spacing: -.005em; }
a:hover .headline { color: var(--red); }
.summary { font-family: var(--serif); color: var(--ink-2); margin: 0; }

/* ---------- Front page ---------- */
.front {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2.2fr) minmax(0, 1fr);
  padding-block: 26px 34px; border-bottom: 3px double var(--rule-strong);
}
.col { padding-inline: 22px; }
.col + .col { border-left: 1px solid var(--rule); }
.col:first-child { padding-left: 0; }
.col:last-child { padding-right: 0; }
.col-head {
  font-family: var(--brand); font-weight: 800; font-size: .74rem; letter-spacing: .16em; text-transform: uppercase;
  margin: 0 0 6px; padding-bottom: 8px; border-bottom: 2px solid var(--rule-strong);
}
.latest { list-style: none; margin: 0; padding: 0; counter-reset: n; }
.latest li { border-bottom: 1px solid var(--rule); }
.latest a { display: grid; grid-template-columns: 26px 1fr; gap: 4px 8px; padding: 12px 0; }
.latest a::before { counter-increment: n; content: counter(n); grid-row: span 2; font-family: var(--display); font-weight: 900; font-size: 1.35rem; line-height: 1; color: var(--red); }
.latest .headline { font-size: 1rem; margin: 2px 0 0; font-weight: 700; }

.lead-main .headline { font-size: clamp(1.9rem, 3.6vw, 2.9rem); margin: 12px 0 10px; font-weight: 900; }
.lead-main .summary { font-size: 1.12rem; line-height: 1.55; }
.lead-subs { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; margin-top: 22px; padding-top: 20px; border-top: 1px solid var(--rule); }
.lead-subs > a + a { border-left: 1px solid var(--rule); padding-left: 22px; }
.lead-subs .headline { font-size: 1.2rem; }
.lead-subs .story-img { margin-bottom: 10px; }

/* ---------- Radio card ---------- */
.radio-card {
  border-radius: 10px; color: #fff; text-align: center;
  padding: 18px 16px; display: flex; flex-direction: column; align-items: center;
  background:
    radial-gradient(ellipse at 50% 0%, rgba(29, 78, 216, .5), transparent 60%),
    linear-gradient(180deg, var(--navy-800), var(--navy-900));
  box-shadow: 0 18px 40px -18px rgba(10, 21, 48, .6);
}
.radio-globe {
  width: 120px;
  -webkit-mask-image: radial-gradient(ellipse 58% 60% at 50% 50%, #000 70%, transparent 100%);
          mask-image: radial-gradient(ellipse 58% 60% at 50% 50%, #000 70%, transparent 100%);
}
.radio-brand {
  font-family: var(--brand); font-weight: 900; font-size: 1.9rem; line-height: 1; margin-top: 2px;
  background: linear-gradient(180deg, #fff 30%, #c9ced8); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.radio-sub { font-family: var(--brand); font-weight: 900; font-size: 1.6rem; color: var(--red); line-height: 1.1; }
.radio-sub .waves { font-size: .8em; margin-left: 2px; }
.radio-tag { margin: 6px 0 10px; font-size: .82rem; color: #cbd5e1; letter-spacing: .04em; }
.onair-pill {
  display: inline-flex; align-items: center; gap: 6px; background: rgba(255,255,255,.12); color: #e2e8f0;
  border-radius: 999px; padding: 5px 12px;
  font-family: var(--brand); font-weight: 800; font-size: .66rem; letter-spacing: .1em; text-transform: uppercase;
}
.onair-pill.is-live { background: var(--red); color: #fff; }
.onair-pill.is-live::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: #fff; animation: pulse 1.2s infinite; }
.radio-nowplaying { margin: 10px 0 2px; font-family: var(--display); font-style: italic; font-size: .95rem; color: #e2e8f0; min-height: 1.3em; }
.eq { display: flex; align-items: center; justify-content: center; gap: 3px; height: 42px; width: 100%; margin: 6px 0 10px; }
.eq i { display: block; width: 3px; border-radius: 2px; background: rgba(255,255,255,.7); height: 20%; transform-origin: center; }
.is-playing .eq i { animation: eq 1s ease-in-out infinite; }
.radio-controls { display: flex; align-items: center; gap: 12px; width: 100%; justify-content: center; }
.play-btn {
  width: 60px; height: 60px; border-radius: 50%; border: 0; background: var(--red); color: #fff;
  display: grid; place-items: center; box-shadow: 0 8px 24px rgba(215, 20, 28, .45); transition: transform .15s ease;
}
.play-btn:hover { transform: scale(1.06); }
.play-btn svg { width: 26px; height: 26px; }
.play-btn.sm { width: 44px; height: 44px; }
.play-btn.sm svg { width: 20px; height: 20px; }
.icon-btn { background: none; border: 0; color: #fff; padding: 6px; }
.icon-btn svg { width: 22px; height: 22px; }
.volume { width: 80px; accent-color: var(--red); }

.callout { display: block; margin-top: 18px; padding: 16px 0 0; border-top: 2px solid var(--rule-strong); }
.callout-kicker { display: block; font-family: var(--brand); font-weight: 800; font-size: .64rem; letter-spacing: .14em; text-transform: uppercase; color: var(--red); }
.callout-title { display: block; font-family: var(--display); font-weight: 800; font-size: 1.3rem; line-height: 1.15; margin: 6px 0; }
.callout-link { font-size: .85rem; color: var(--ink-2); }
.callout:hover .callout-title { color: var(--red); }

/* ---------- Sections ---------- */
.section { padding-block: 34px 10px; }
.section-head { display: flex; align-items: baseline; gap: 16px; flex-wrap: wrap; padding-bottom: 10px; border-bottom: 3px double var(--rule-strong); margin-bottom: 22px; }
.section-head h2 { font-family: var(--display); font-weight: 900; font-size: clamp(1.6rem, 3vw, 2.2rem); margin: 0; letter-spacing: -.01em; }
.section-head p { margin: 0; flex: 1; font-family: var(--display); font-style: italic; color: var(--muted); }

.source-grid { display: grid; grid-template-columns: repeat(var(--cols, 2), minmax(0, 1fr)); }
.source-col { padding-inline: 22px; min-width: 0; }
.source-col:first-child { padding-left: 0; }
.source-col:last-child { padding-right: 0; }
.source-col + .source-col { border-left: 1px solid var(--rule); }
.source-name { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; margin-bottom: 12px; }
.source-name h3 { margin: 0; font-family: var(--brand); font-weight: 900; font-size: .86rem; letter-spacing: .1em; text-transform: uppercase; }
.source-name a { font-size: .76rem; color: var(--muted); white-space: nowrap; }
.source-name a:hover { color: var(--red); }
.top-story { display: block; }
.top-story .headline { font-size: 1.4rem; }
.top-story .story-img { margin-bottom: 10px; }
.top-story .summary { font-size: .96rem; line-height: 1.5; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.more { list-style: none; margin: 14px 0 0; padding: 0; }
.more li { border-top: 1px solid var(--rule); }
.more a { display: block; padding: 10px 0; }
.more .headline { font-size: 1rem; font-weight: 700; margin: 0 0 2px; }

/* Single-source sections (e.g. Sports) get a feature layout */
.feature-grid { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); }
.feature-grid > .top-story { padding-right: 22px; }
.feature-grid > .top-story .headline { font-size: clamp(1.5rem, 2.6vw, 2rem); }
.feature-side { padding-left: 22px; border-left: 1px solid var(--rule); }
.feature-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.feature-cards .headline { font-size: .98rem; font-weight: 700; }
.feature-cards .story-img { margin-bottom: 8px; }

.resource-list { list-style: none; margin: 14px 0 0; padding: 0; }
.resource-list li { border-top: 1px solid var(--rule); }
.resource-list a { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; padding: 11px 0; font-family: var(--serif); font-weight: 600; }
.resource-list a span { font-family: var(--body); font-weight: 400; font-size: .82rem; color: var(--muted); text-align: right; }
.resource-list a:hover { color: var(--red); }
.resource-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 32px; }
.resource-grid .resource-list { margin: 0; }

.unavailable { font-family: var(--serif); color: var(--muted); padding: 10px 0; }
.unavailable a { color: var(--red); }

/* Skeletons */
.skel { background: linear-gradient(90deg, var(--paper-2), #ebe6da, var(--paper-2)); background-size: 200% 100%; animation: shimmer 1.4s infinite; border-radius: 3px; height: 14px; margin: 10px 0; }
li.skel { height: 44px; }
.skel-img { aspect-ratio: 16 / 9; height: auto; }
.skel-title { height: 36px; width: 85%; }

/* ---------- Podcasts ---------- */
.radio-upnext { margin: 0; font-size: .74rem; color: #9fb0cc; min-height: 1.1em; }
.episodes { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; }
.episode { padding: 0 22px 22px; min-width: 0; }
.episode + .episode { border-left: 1px solid var(--rule); }
.episode:nth-child(3n + 2) { padding-left: 0; border-left: 0; }
.episode .headline { font-size: 1.2rem; }
.episode .summary { font-size: .94rem; margin-bottom: 12px; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.episode audio { width: 100%; height: 40px; }
.episode-latest { grid-column: 1 / -1; padding: 0 0 24px; margin-bottom: 22px; border-bottom: 1px solid var(--rule); }
.episode-latest .headline { font-size: clamp(1.5rem, 2.6vw, 2rem); }
.episode-latest audio { max-width: 640px; }

/* ---------- Call-in ---------- */
.callin {
  margin-top: 40px; color: #fff;
  background:
    radial-gradient(ellipse at 90% 0%, rgba(215, 20, 28, .28), transparent 50%),
    radial-gradient(ellipse at 0% 100%, rgba(29, 78, 216, .35), transparent 55%),
    var(--navy-800);
}
.callin-inner { display: grid; grid-template-columns: 1.2fr 1fr; gap: 32px; padding-block: 52px; align-items: center; }
.kicker-red { font-family: var(--brand); font-weight: 800; font-size: .7rem; letter-spacing: .16em; text-transform: uppercase; color: #ff5a60; }
.callin h2 { font-family: var(--display); font-weight: 900; font-size: clamp(1.8rem, 3.4vw, 2.6rem); margin: 10px 0 12px; line-height: 1.1; }
.callin p { color: #cbd5e1; margin: 0; font-family: var(--serif); font-size: 1.08rem; }
.callin-cards { display: grid; gap: 10px; }
.callin-card {
  display: flex; align-items: center; gap: 14px; padding: 16px 18px; border-radius: 8px;
  background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.14); transition: background .15s ease;
}
.callin-card:hover { background: rgba(255,255,255,.13); }
.callin-card > svg { width: 26px; height: 26px; color: #ff5a60; }
.callin-card > span { display: flex; flex-direction: column; }
.callin-card > span > span { color: #cbd5e1; font-size: .92rem; }

/* ---------- Footer ---------- */
.footer { background: linear-gradient(180deg, var(--navy-800), var(--navy-900)); color: #fff; padding-bottom: 24px; }
.footer-inner { display: flex; align-items: center; gap: 24px; padding-block: 22px; flex-wrap: wrap; }
.footer-line { flex: 1; margin: 0; padding-left: 24px; border-left: 1px solid rgba(255,255,255,.25); font-family: var(--display); font-style: italic; font-size: clamp(1.1rem, 2vw, 1.5rem); min-width: 220px; }
.music-links { display: flex; gap: 8px; flex-wrap: wrap; }
.music-link { display: inline-flex; align-items: center; gap: 8px; padding: 10px 14px; border-radius: 999px; background: rgba(255,255,255,.07); font-weight: 600; transition: background .15s ease; }
.music-link:hover { background: rgba(255,255,255,.15); }
.music-link .logo { width: 22px; height: 22px; }
.footer-bottom { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; border-top: 1px solid rgba(255,255,255,.12); padding-top: 16px; font-size: .78rem; color: #94a3b8; }

/* ---------- Mini player ---------- */
.mini-player {
  position: fixed; left: 50%; bottom: max(14px, env(safe-area-inset-bottom)); transform: translateX(-50%);
  z-index: 50; display: flex; align-items: center; gap: 12px;
  background: rgba(10, 21, 48, .96); color: #fff; padding: 8px 18px 8px 8px; border-radius: 999px;
  box-shadow: 0 12px 32px rgba(0,0,0,.35); width: min(380px, calc(100% - 32px)); backdrop-filter: blur(8px);
}
.mini-text { flex: 1; display: flex; flex-direction: column; line-height: 1.25; min-width: 0; }
.mini-text span { font-size: .8rem; color: #cbd5e1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* ---------- Animations ---------- */
@keyframes ticker { to { transform: translateX(-50%); } }
@keyframes pulse { 50% { opacity: .35; } }
@keyframes eq { 0%, 100% { transform: scaleY(1); } 50% { transform: scaleY(var(--h, 3)); } }
@keyframes globe-in { from { opacity: 0; transform: scale(.85) rotate(-8deg); } }
@keyframes fade-in { from { opacity: 0; } }
@keyframes shimmer { to { background-position: -200% 0; } }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  html { scroll-behavior: auto; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .ear-note { display: none; }
  .masthead-inner { gap: 16px; }
  .nameplate-globe { width: 120px; }
  .front { grid-template-columns: minmax(0, 1.8fr) minmax(0, 1fr); }
  .col-lead { grid-column: 1; grid-row: 1; padding-left: 0; }
  .col-radio { grid-column: 2; grid-row: 1; padding-right: 0; }
  .col-latest { grid-column: 1 / -1; padding: 24px 0 0 !important; margin-top: 24px; border-left: 0 !important; border-top: 2px solid var(--rule-strong); }
  .col-latest .col-head { border-bottom: 0; }
  .latest { columns: 2; column-gap: 32px; }
  .latest li { break-inside: avoid; }
  .source-grid { --cols: 2 !important; row-gap: 26px; }
  .source-grid .source-col:nth-child(3) { padding-left: 0; border-left: 0; }
}
@media (max-width: 800px) {
  .masthead-inner { grid-template-columns: 1fr; gap: 12px; padding-top: 18px; }
  .nameplate { order: 1; }
  .ear-left { order: 2; align-items: center; }
  .ear-right { display: none; }
  .nameplate-globe { width: 110px; }
  .motto { padding-top: 2px; }
  .nav-links li:first-child { margin-left: 0; }
  .masthead-orbit { opacity: .45; }
  .nav-logo span { display: none; }
  .front { grid-template-columns: 1fr; }
  .col { padding-inline: 0 !important; border-left: 0 !important; }
  .col-lead { order: 1; }
  .col-radio { grid-column: 1; grid-row: auto; margin-top: 26px; order: 2; }
  .col-latest { grid-row: auto; order: 3; }
  .lead-subs { grid-template-columns: 1fr; }
  .lead-subs > a + a { border-left: 0; padding-left: 0; padding-top: 18px; border-top: 1px solid var(--rule); }
  .latest { columns: 1; }
  .source-grid { --cols: 1 !important; }
  .source-col { padding-inline: 0 !important; border-left: 0 !important; }
  .source-col + .source-col { padding-top: 22px; border-top: 2px solid var(--rule-strong); }
  .feature-grid { grid-template-columns: 1fr; }
  .feature-grid > .top-story { padding-right: 0; }
  .feature-side { padding: 18px 0 0; border-left: 0; margin-top: 18px; border-top: 1px solid var(--rule); }
  .resource-grid { grid-template-columns: 1fr; }
  .episodes { grid-template-columns: 1fr; }
  .episode { padding: 18px 0 !important; border-left: 0 !important; border-top: 1px solid var(--rule); }
  .episode-latest { border-top: 0; padding-top: 0 !important; margin-bottom: 0; }
  .callin-inner { grid-template-columns: 1fr; }
  .utility-mid { display: none; }
}
@media (max-width: 480px) {
  .nameplate-globe { width: 84px; }
  .nameplate .brand-name { font-size: 2.1rem; }
  .nameplate .brand-sub { font-size: .58rem; letter-spacing: .36em; }
  .nameplate .brand-sub::before, .nameplate .brand-sub::after { width: 16px; }
  .onair-widget { max-width: 100%; }
  .utility-weather { display: none !important; }
  .nav-live { padding: 7px 10px 7px 6px; }
  .nav-live [data-play-label] { display: none; }
  .motto { font-size: .95rem; padding-bottom: 12px; }
  .motto::before, .motto::after { flex-basis: 30px; }
  .feature-cards { grid-template-columns: 1fr; }
  .footer-line { border-left: 0; padding-left: 0; flex-basis: 100%; }
}
