/* =========================================================
   102.7 THE PEAK — design tokens
   Alpine dusk palette: deep pine-navy ground, brass dial glow,
   barn-red for the one commercial ask (Advertise).
   ========================================================= */
:root {
  --ink:        #12201B;   /* near-black pine, body text on light */
  --alpine:     #16241F;   /* deep pine-navy — primary dark ground */
  --alpine-2:   #1E322A;   /* secondary dark surface (cards, nav) */
  --ridge:      #2C4738;   /* mid ridge green — silhouette / borders */
  --ridge-2:    #3B5B48;
  --bone:       #EDE7D6;   /* warm bone paper — light surfaces */
  --bone-dim:   #DCD3BC;
  --brass:      #CC9A3B;   /* brass dial glow — primary accent */
  --brass-hi:   #E8B863;
  --barn:       #9C3E28;   /* barn red — Advertise / commercial accent */
  --barn-hi:    #B8523A;
  --signal:     #6FA98A;   /* soft signage green — "on air" indicator */
  --line:       rgba(237, 231, 214, 0.14);

  --display: "Staatliches", "Arial Narrow", sans-serif;
  --body: "Karla", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --mono: "Space Mono", ui-monospace, monospace;

  --container: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bone);
  color: var(--ink);
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
}

a { color: inherit; }
img { max-width: 100%; display: block; }

.wrap {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 28px;
}

h1, h2, h3, .display {
  font-family: var(--display);
  font-weight: 400;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  line-height: 1.02;
  margin: 0;
}

.eyebrow {
  font-family: var(--mono);
  font-size: 13px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--brass);
}

/* focus visibility */
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible, select:focus-visible {
  outline: 2px solid var(--brass);
  outline-offset: 3px;
}

/* =========================================================
   Header / nav
   ========================================================= */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--alpine);
  border-bottom: 1px solid var(--line);
}

.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding-top: 14px;
  padding-bottom: 14px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--bone);
}
/* Navy logo sits on a bone tile so it reads against the dark header */
.brand-badge {
  flex-shrink: 0;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--bone);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 0 2px var(--brass);
}
.brand-badge img { width: 34px; height: auto; }
@media (max-width: 1020px) and (min-width: 781px) { .brand .call { display: none; } }
.brand .freq {
  font-family: var(--display);
  font-size: 28px;
  color: var(--bone);
  letter-spacing: 0.03em;
}
.brand .call {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--brass);
  letter-spacing: 0.14em;
}

.main-nav ul {
  list-style: none;
  display: flex;
  gap: 24px;
  align-items: center;
  margin: 0;
  padding: 0;
}
.main-nav a {
  text-decoration: none;
  color: var(--bone);
  font-family: var(--mono);
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding-bottom: 4px;
  border-bottom: 2px solid transparent;
  transition: border-color 0.2s, color 0.2s;
}
.main-nav a:hover, .main-nav a[aria-current="page"] {
  border-color: var(--brass);
  color: var(--brass-hi);
}
.nav-cta {
  background: var(--barn);
  color: var(--bone) !important;
  padding: 8px 16px;
  border-radius: 3px;
  border-bottom: none !important;
}
.nav-cta:hover { background: var(--barn-hi); border-color: transparent !important; }

.nav-toggle {
  display: none;
  background: none;
  border: 1px solid var(--line);
  color: var(--bone);
  font-family: var(--mono);
  font-size: 12px;
  padding: 8px 12px;
  border-radius: 3px;
}

@media (max-width: 780px) {
  .nav-toggle { display: inline-block; }
  .main-nav {
    display: none;
    position: absolute;
    left: 0; right: 0; top: 100%;
    background: var(--alpine);
    border-bottom: 1px solid var(--line);
  }
  .main-nav.open { display: block; }
  .main-nav ul {
    flex-direction: column;
    gap: 0;
    padding: 10px 28px 20px;
  }
  .main-nav a { display: block; padding: 12px 0; border-bottom: 1px solid var(--line); }
  .nav-cta { display: inline-block; margin-top: 10px; }
}

/* =========================================================
   Hero + ridge visualizer (signature element)
   ========================================================= */
.hero {
  position: relative;
  background: linear-gradient(180deg, var(--alpine) 0%, var(--alpine-2) 100%);
  color: var(--bone);
  overflow: hidden;
  padding-top: 56px;
}

/* Wind River Range panorama: sits in the lower part of the hero, behind the
   content, with the peaks rising to the "Local." line. The top edge fades
   into the dark ground so the sky never shows. JS fine-tunes the position;
   these values are the no-JS fallback. */
.hero-pano {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-image:
    linear-gradient(180deg,
      var(--alpine) 0,
      var(--alpine) var(--pano-fade-start, 40%),
      rgba(22, 36, 31, 0.55) var(--pano-fade-end, 58%),
      rgba(22, 36, 31, 0.6) var(--pano-base-start, 100%),
      var(--pano-base-color, rgba(22, 36, 31, 0.6)) var(--pano-base-end, 100%)),
    url("/images/wind-river-range.jpg");
  background-repeat: no-repeat;
  background-size: 100% 100%, var(--pano-size, cover);
  background-position: 0 0, var(--pano-pos, center bottom);
}
.hero-inner { position: relative; z-index: 1; }

/* Social buttons above the hero eyebrow */
.social-links {
  list-style: none;
  margin: 0 0 10px;
  padding: 0;
  display: flex;
  gap: 8px;
}
.social-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: rgba(30, 50, 42, 0.7);
  color: var(--bone);
  transition: color .15s, border-color .15s;
}
.social-btn:hover { color: var(--brass-hi); border-color: var(--brass); }

.hero-inner {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 40px;
  align-items: center;
  padding-bottom: 40px;
}

@media (max-width: 860px) {
  .hero-inner { grid-template-columns: 1fr; }
}

.hero h1 {
  font-size: clamp(56px, 9vw, 108px);
  color: var(--bone);
}
.hero h1 span { color: var(--brass); }
.hero h1 .h1-local { color: inherit; }

/* Headline + alternate gold logo, side by side in the hero's left column */
.hero-title-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.hero-title-row h1 { flex: none; }
.hero-logo {
  flex: 0 1 220px;
  min-width: 0;
  width: 220px;
  height: auto;
  margin-right: 8px;
}
@media (max-width: 860px) {
  .hero-title-row { justify-content: flex-start; }
  .hero-logo { flex-basis: 160px; width: 160px; }
}
@media (max-width: 420px) {
  .hero-logo { flex-basis: 120px; width: 120px; }
}

.hero .tagline {
  font-family: var(--mono);
  font-size: 15px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--signal);
  margin-top: 14px;
}

.hero p.lede {
  margin-top: 18px;
  max-width: 46ch;
  color: var(--bone-dim);
  font-size: 17px;
}

.hero-actions {
  margin-top: 26px;
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.hero-app {
  margin-top: 18px;
  font-size: 14.5px;
  color: var(--bone-dim);
}
.hero-app a { color: var(--brass-hi); }

/* Player card */
.player-card {
  background: var(--alpine-2);
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 24px;
  box-shadow: 0 20px 50px -20px rgba(0,0,0,0.6);
}

.player-top {
  display: flex;
  align-items: center;
  gap: 14px;
}

.play-btn {
  width: 62px;
  height: 62px;
  border-radius: 50%;
  border: 2px solid var(--brass);
  background: transparent;
  color: var(--brass-hi);
  font-size: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  flex-shrink: 0;
  transition: background 0.2s, transform 0.15s;
}
.play-btn:hover { background: rgba(204,154,59,0.12); transform: scale(1.03); }
.play-btn:active { transform: scale(0.97); }

.now-playing-block { min-width: 0; flex: 1; }
.np-status {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--signal);
}
.np-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--signal);
  box-shadow: 0 0 0 0 rgba(111,169,138,0.6);
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(111,169,138,0.5); }
  70% { box-shadow: 0 0 0 8px rgba(111,169,138,0); }
  100% { box-shadow: 0 0 0 0 rgba(111,169,138,0); }
}
.np-track {
  font-family: var(--body);
  font-weight: 700;
  font-size: 17px;
  color: var(--bone);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  margin-top: 3px;
}
.np-sub {
  font-size: 13px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  color: var(--bone-dim);
  margin-top: 1px;
}

.volume-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 18px;
}
.volume-row label {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--bone-dim);
  letter-spacing: 0.1em;
}
.volume-row input[type="range"] { flex: 1; accent-color: var(--brass); }

.ridge-wrap {
  position: relative;
  line-height: 0;
  margin-top: 30px;
}
.ridge-wrap svg { width: 100%; height: auto; display: block; }
.eq-bar {
  transform-origin: bottom;
  transition: transform 0.15s ease;
  transform: scaleY(0.25);
}
.hero.is-playing .eq-bar { animation: eqbar 1.1s ease-in-out infinite; }
.eq-bar:nth-child(2n) { animation-delay: 0.15s; }
.eq-bar:nth-child(3n) { animation-delay: 0.3s; }
.eq-bar:nth-child(5n) { animation-delay: 0.45s; }
@keyframes eqbar {
  0%, 100% { transform: scaleY(0.2); }
  50% { transform: scaleY(1); }
}

/* =========================================================
   Buttons
   ========================================================= */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--mono);
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  padding: 13px 24px;
  border-radius: 3px;
  border: 1px solid transparent;
  cursor: pointer;
}
.btn-brass { background: var(--brass); color: var(--alpine); }
.btn-brass:hover { background: var(--brass-hi); }
.btn-outline { border-color: var(--bone-dim); color: var(--bone); background: transparent; }
.btn-outline:hover { border-color: var(--brass); color: var(--brass-hi); }
.btn-barn { background: var(--barn); color: var(--bone); }
.btn-barn:hover { background: var(--barn-hi); }

/* =========================================================
   Section scaffolding
   ========================================================= */
section { padding: 76px 0; }
.section-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 20px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}
.section-head h2 { font-size: clamp(30px, 4vw, 44px); }

/* On-air schedule */
.schedule-strip {
  border-top: 1px solid var(--ridge);
}
.schedule-row {
  display: grid;
  grid-template-columns: 140px 1fr 200px;
  gap: 20px;
  align-items: center;
  padding: 22px 0;
  border-bottom: 1px solid var(--ridge);
}
@media (max-width: 700px) {
  .schedule-row { grid-template-columns: 1fr; gap: 6px; padding: 18px 0; }
}
.schedule-row .time {
  font-family: var(--mono);
  font-size: 14px;
  color: var(--barn);
}
.schedule-row .show-name {
  font-family: var(--display);
  font-size: 24px;
  letter-spacing: 0.01em;
}
.schedule-row .show-desc {
  font-size: 14.5px;
  color: #4a5750;
  margin-top: 3px;
}
.schedule-row .hosts {
  font-family: var(--mono);
  font-size: 12px;
  color: #4a5750;
  text-align: right;
}
@media (max-width: 700px) { .schedule-row .hosts { text-align: left; } }

/* Midday day-by-day breakdown */
.schedule-row--midday { align-items: start; }
.midday-days {
  list-style: none;
  margin: 16px 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 10px;
}
@media (max-width: 980px) { .midday-days { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .midday-days { grid-template-columns: 1fr; } }
.midday-days li {
  background: #fff;
  border: 1px solid var(--bone-dim);
  border-top: 3px solid var(--brass);
  border-radius: 4px;
  padding: 12px 14px;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.midday-days .day {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  color: var(--barn);
}
.midday-days .day-show {
  font-family: var(--display);
  font-size: 19px;
  line-height: 1.1;
  margin-top: 4px;
}
.midday-days .day-show--alt {
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px dashed var(--bone-dim);
}
.midday-days .day-meta { font-size: 13px; color: #4a5750; line-height: 1.35; }

/* App download */
.app-section { padding-top: 0; }
.app-inner {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 50px;
  align-items: center;
  background: #fff;
  border: 1px solid var(--bone-dim);
  border-radius: 8px;
  padding: 44px;
}
@media (max-width: 700px) {
  .app-inner { grid-template-columns: 1fr; text-align: center; padding: 34px 24px; gap: 26px; }
  .app-logo { margin: 0 auto; }
  .store-buttons { justify-content: center; }
}
.app-logo { width: 100%; max-width: 220px; height: auto; }
.app-section .eyebrow { color: var(--barn); margin: 0 0 10px; }
.app-section h2 { font-size: clamp(30px, 4vw, 44px); }
.app-lede { max-width: 48ch; color: #4a5750; margin: 12px 0 0; }
.app-inner .app-lede { margin-left: auto; margin-right: auto; }
@media (min-width: 701px) { .app-inner .app-lede { margin-left: 0; } }
.store-buttons { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 24px; }
.store-btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: var(--ink);
  color: #fff;
  text-decoration: none;
  padding: 10px 22px 10px 18px;
  border-radius: 10px;
  min-width: 190px;
  transition: background 0.2s, transform 0.15s;
}
.store-btn:hover { background: var(--ridge); transform: translateY(-1px); }
.store-btn span {
  display: flex;
  flex-direction: column;
  font-family: var(--body);
  font-weight: 700;
  font-size: 19px;
  line-height: 1.1;
  text-align: left;
}
.store-btn small { font-weight: 400; font-size: 11px; letter-spacing: 0.04em; }

/* Show / feature cards */
.card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}
@media (max-width: 900px) { .card-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .card-grid { grid-template-columns: 1fr; } }

.card {
  background: var(--alpine);
  color: var(--bone);
  border-radius: 6px;
  padding: 28px;
  position: relative;
  overflow: hidden;
}
.card .tag {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--brass);
}
.card h3 {
  font-size: 26px;
  margin-top: 10px;
}
.card p { color: var(--bone-dim); font-size: 14.5px; margin-top: 10px; }

/* Advertise band on homepage */
.advertise-band {
  background: var(--barn);
  color: var(--bone);
  border-radius: 8px;
  padding: 50px 44px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
}
.advertise-band h2 { color: var(--bone); font-size: clamp(28px, 4vw, 42px); }
.advertise-band p { color: rgba(237,231,214,0.85); max-width: 46ch; margin-top: 10px; }
.advertise-band .btn-brass { background: var(--bone); color: var(--barn); }
.advertise-band .btn-brass:hover { background: #fff; }

/* News teaser */
.news-list { display: grid; gap: 0; border-top: 1px solid var(--ridge); }
.news-item {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 24px;
  padding: 20px 0;
  border-bottom: 1px solid var(--ridge);
}
@media (max-width: 620px) { .news-item { grid-template-columns: 1fr; gap: 4px; } }
.news-item time { font-family: var(--mono); font-size: 12px; color: var(--barn); }
.news-item h3 { font-family: var(--body); font-weight: 700; text-transform: none; font-size: 17px; letter-spacing: 0; }
.news-item p { font-size: 14.5px; color: #4a5750; margin: 6px 0 0; }

/* Footer */
.site-footer {
  background: var(--alpine);
  color: var(--bone-dim);
  padding: 56px 0 30px;
  font-size: 14px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 30px;
  padding-bottom: 36px;
  border-bottom: 1px solid var(--line);
}
@media (max-width: 780px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .footer-grid { grid-template-columns: 1fr; } }
.footer-grid h4 {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--brass);
  margin-bottom: 14px;
}
.footer-grid ul { list-style: none; margin: 0; padding: 0; }
.footer-grid li { margin-bottom: 8px; }
.footer-grid a { text-decoration: none; color: var(--bone-dim); }
.footer-grid a:hover { color: var(--brass-hi); }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 24px;
  flex-wrap: wrap;
  gap: 10px;
  font-family: var(--mono);
  font-size: 12px;
}

/* =========================================================
   Inner pages (advertise / contact)
   ========================================================= */
.page-hero {
  background: var(--alpine);
  color: var(--bone);
  padding: 64px 0 54px;
}
.page-hero h1 { font-size: clamp(38px, 6vw, 62px); color: var(--bone); }
.page-hero p { color: var(--bone-dim); max-width: 60ch; margin-top: 14px; font-size: 17px; }

.form-layout {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 50px;
  align-items: start;
}
@media (max-width: 900px) { .form-layout { grid-template-columns: 1fr; } }

form.stack { display: grid; gap: 20px; }
.field { display: grid; gap: 6px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
@media (max-width: 560px) { .field-row { grid-template-columns: 1fr; } }

label {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink);
}
input, select, textarea {
  font-family: var(--body);
  font-size: 15.5px;
  padding: 12px 14px;
  border: 1px solid var(--bone-dim);
  background: #fff;
  border-radius: 3px;
  color: var(--ink);
}
input:focus, select:focus, textarea:focus { border-color: var(--brass); }
textarea { resize: vertical; min-height: 120px; }
.hp-field { position: absolute; left: -9999px; }

.form-note {
  font-size: 13px;
  color: #4a5750;
}

.info-card {
  background: var(--alpine);
  color: var(--bone);
  border-radius: 6px;
  padding: 28px;
}
.info-card h3 { font-size: 20px; margin-bottom: 14px; }
.info-card ul { list-style: none; padding: 0; margin: 0; }
.info-card li { padding: 10px 0; border-top: 1px solid var(--line); font-size: 14.5px; }
.info-card li:first-child { border-top: none; }
.info-card .rate { font-family: var(--mono); color: var(--brass); }

.form-status {
  font-family: var(--mono);
  font-size: 14px;
  padding: 14px 16px;
  border-radius: 4px;
  margin-top: 6px;
}
.form-status.ok { background: rgba(111,169,138,0.15); color: #2c5541; }
.form-status.err { background: rgba(156,62,40,0.12); color: var(--barn); }

/* about / contact simple sections */
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
}
@media (max-width: 780px) { .two-col { grid-template-columns: 1fr; } }

/* Song request button in player */
.request-btn { margin-top: 18px; width: 100%; justify-content: center; font-size: 17px; padding: 15px 24px; }
.schedule-row .show-desc a { color: var(--barn); }

/* Archived Shows placeholder button */
.archive-btn[aria-disabled="true"] { cursor: default; }
.soon-tag { font-size: 10px; letter-spacing: 0.1em; color: var(--brass-hi); border: 1px solid var(--brass); border-radius: 2px; padding: 2px 6px; }

/* Hero right column: player + weather */
.hero-side { display: grid; gap: 18px; }

/* Local weather card */
.weather-card {
  background: var(--alpine-2);
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 18px 24px;
}
.weather-head { display: flex; justify-content: space-between; font-family: var(--mono); font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--signal); }
.weather-zip { color: var(--bone-dim); }
.weather-now { display: flex; align-items: center; gap: 16px; margin-top: 10px; }
.weather-temp { font-family: var(--display); font-size: 52px; line-height: 1; color: var(--brass-hi); }
.weather-cond { font-size: 17px; font-weight: 700; color: var(--bone); }
.weather-meta { font-family: var(--mono); font-size: 12px; color: var(--bone-dim); margin-top: 2px; }
.weather-days { list-style: none; margin: 14px 0 0; padding: 12px 0 0; border-top: 1px solid var(--line); display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; text-align: center; }
.weather-days:empty { display: none; }
.weather-days .wd-name { font-family: var(--mono); font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--bone-dim); }
.weather-days .wd-cond { font-size: 13px; color: var(--bone); margin: 2px 0; }
.weather-days .wd-temps { font-family: var(--mono); font-size: 13px; color: var(--brass-hi); }

/* Advertise form extras */
.form-intro { margin: 0; font-size: 15px; color: #4a5750; }
.check-group { border: 1px solid var(--bone-dim); border-radius: 4px; padding: 14px 18px; margin: 0; display: grid; gap: 10px; }
.check-group legend { font-family: var(--mono); font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; padding: 0 6px; }
.check-group label { font-family: var(--body); font-size: 15px; letter-spacing: 0; text-transform: none; display: flex; gap: 10px; align-items: baseline; flex-wrap: wrap; }
.check-group label span { color: #4a5750; font-size: 13.5px; }
.check-group input { padding: 0; }

/* RDS promo */
.rds-section { background: var(--alpine-2); color: var(--bone); }
.rds-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 44px; align-items: center; }
@media (max-width: 860px) { .rds-inner { grid-template-columns: 1fr; } }
.rds-section h2 { font-size: clamp(30px, 4vw, 44px); margin-top: 8px; }
.rds-section p { color: var(--bone-dim); max-width: 50ch; }
.rds-section figure { margin: 0; }
.rds-section img { border-radius: 6px; border: 1px solid var(--line); }
.rds-section figcaption { font-family: var(--mono); font-size: 12px; color: var(--bone-dim); margin-top: 10px; }

/* =========================================================
   Listen Back (archive page)
   ========================================================= */
.archive-section { padding: 48px 0 76px; }
.archive-tabs { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 28px; }
.archive-tab {
  font-family: var(--mono);
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 12px 20px;
  border-radius: 3px;
  border: 1px solid var(--ridge);
  background: transparent;
  color: var(--ink);
  cursor: pointer;
}
.archive-tab:hover { border-color: var(--brass); }
.archive-tab.is-active { background: var(--alpine); color: var(--brass-hi); border-color: var(--alpine); }

.archive-intro { color: #4a5750; margin: 0 0 18px; }
.archive-msg { color: #4a5750; padding: 22px 0; }
.episode {
  background: var(--alpine);
  color: var(--bone);
  border-radius: 6px;
  padding: 22px 26px;
  margin-bottom: 16px;
}
.episode h3 { font-size: 24px; }
.episode-meta { font-family: var(--mono); font-size: 12px; letter-spacing: 0.06em; color: var(--brass); margin: 8px 0 0; }
.episode audio { width: 100%; margin-top: 16px; }
.episode-actions { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; margin-top: 14px; }
.episode .btn-outline { padding: 10px 18px; }
.episode .btn[disabled] { opacity: 0.6; cursor: progress; }
.dl-status { font-size: 13px; color: var(--bone-dim); }

.archive-subscribe { margin-top: 44px; padding-top: 30px; border-top: 1px solid var(--ridge); }
.archive-subscribe h3 { font-size: 26px; }
.archive-subscribe p { color: #4a5750; margin: 8px 0 16px; }
.subscribe-list { list-style: none; display: flex; flex-wrap: wrap; gap: 12px; padding: 0; margin: 0; }
.archive-subscribe .btn-outline { color: var(--ink); border-color: var(--ridge); }
.archive-subscribe .btn-outline:hover { color: var(--barn); border-color: var(--barn); }
.archive-note { color: #4a5750; font-size: 14.5px; }
