:root {
  --bg: #0b1018;
  --bg-panel: #141b26;
  --navy: #1b2a44;
  --ivory: #f2ebdc;
  --ivory-soft: #d6ccba;
  --muted: #9a9384;
  --brass: #a8864f;
  --brass-bright: #c4a46a;
  --brick: #8e3b2e;
  --on-air: #c44b3c;
  --ink-on-brass: #16110a;
  --line: rgba(242, 235, 220, 0.12);
  --shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
  --radius: 16px;
  --font-display: "Playfair Display", "Times New Roman", serif;
  --font-body: "Source Sans 3", "Segoe UI", system-ui, sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--ivory);
  background:
    radial-gradient(1000px 520px at 50% -8%, rgba(168, 134, 79, 0.14), transparent 58%),
    radial-gradient(800px 400px at 100% 0%, rgba(27, 42, 68, 0.7), transparent 50%),
    var(--bg);
  font-family: var(--font-body);
  font-size: 1.05rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

.glow {
  pointer-events: none;
  position: fixed;
  inset: auto -20% 0;
  height: 42vh;
  background: radial-gradient(circle at 50% 100%, rgba(142, 59, 46, 0.1), transparent 58%);
  z-index: 0;
}

.site-header,
main,
.site-footer {
  position: relative;
  z-index: 1;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  max-width: 900px;
  margin: 0 auto;
  padding: 1.4rem 1.25rem 0;
}

.wordmark {
  display: flex;
  flex-direction: column;
  color: var(--ivory);
  text-decoration: none;
  line-height: 1.05;
}

.wordmark-name {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 500;
  letter-spacing: 0.04em;
}

.wordmark-radio {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--brass);
}

nav {
  display: flex;
  gap: 1.2rem;
}

nav a {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

nav a:hover,
.wordmark:hover,
.footer-links a:hover,
.socials a:hover,
.placeholder-copy a:hover {
  color: var(--brass-bright);
}

.hero,
.panel,
.site-footer {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 1.25rem;
}

.hero {
  padding-top: 4.75rem;
  padding-bottom: 3.25rem;
  text-align: center;
}

.tally {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  margin: 0 0 1.35rem;
  padding: 0.4rem 0.85rem 0.4rem 0.7rem;
  border: 1px solid rgba(196, 75, 60, 0.45);
  border-radius: 4px;
  background: linear-gradient(180deg, rgba(20, 14, 14, 0.9), rgba(12, 10, 12, 0.95));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06), 0 0 24px rgba(196, 75, 60, 0.12);
}

.tally-lamp {
  width: 0.62rem;
  height: 0.62rem;
  border-radius: 50%;
  background: var(--on-air);
  box-shadow: 0 0 0 2px rgba(196, 75, 60, 0.25), 0 0 12px rgba(196, 75, 60, 0.85);
}

.tally-label {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: #f3d6d1;
}

h1 {
  margin: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.15rem;
}

.title-society {
  font-family: var(--font-display);
  font-size: clamp(3.1rem, 12vw, 6.1rem);
  font-weight: 500;
  line-height: 0.95;
  letter-spacing: -0.02em;
}

.title-radio {
  font-size: clamp(0.85rem, 2.4vw, 1.05rem);
  font-weight: 700;
  letter-spacing: 0.46em;
  text-transform: uppercase;
  color: var(--brass);
}

.bio,
.section-lead,
.placeholder-copy {
  color: var(--muted);
}

.bio {
  max-width: 28rem;
  margin: 1.35rem auto 2rem;
  font-size: 1.12rem;
  color: var(--ivory-soft);
}

.btn-live {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3.35rem;
  padding: 0.85rem 1.9rem;
  border-radius: 999px;
  background: var(--brass);
  color: var(--ink-on-brass);
  font-size: 1.02rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  box-shadow: 0 10px 30px rgba(168, 134, 79, 0.22);
  transition: transform 0.15s ease, background 0.15s ease, color 0.15s ease;
}

.btn-live:hover {
  transform: translateY(-1px);
  background: var(--brass-bright);
}

.live-note {
  margin: 1rem 0 0;
  color: #7d776c;
  font-size: 0.85rem;
}

.panel {
  margin-top: 0.5rem;
  margin-bottom: 1.5rem;
  padding: 2rem 1.6rem 2.1rem;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.035), rgba(255, 255, 255, 0.015));
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

#mixes {
  margin-bottom: 3rem;
}

h2 {
  margin: 0 0 0.45rem;
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 5vw, 2.45rem);
  font-weight: 500;
  letter-spacing: -0.01em;
}

.section-lead {
  margin: 0;
  max-width: 36rem;
}

.schedule-note {
  margin-top: 0.35rem;
  font-style: italic;
}

.player-wrap {
  overflow: hidden;
  border-radius: 12px;
  background: #000;
  min-height: 120px;
  border: 1px solid var(--line);
}

.player-wrap iframe {
  display: block;
  width: 100%;
  border: 0;
  background: #111;
}

.placeholder-copy {
  margin: 0;
  padding: 2rem 1rem;
  text-align: center;
}

.placeholder-copy a {
  color: var(--ivory);
  text-decoration: underline;
  text-underline-offset: 0.18em;
}

.site-footer {
  padding: 1.75rem 1.25rem 3rem;
  border-top: 1px solid var(--line);
  text-align: center;
}

.footer-name {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 500;
  letter-spacing: 0.04em;
}

.footer-links,
.socials {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.35rem 1.25rem;
  margin: 0.85rem 0 0;
  padding: 0;
  list-style: none;
}

.footer-links a,
.socials a {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 600;
}

.socials {
  margin-top: 0.55rem;
  margin-bottom: 1.15rem;
}

.copyright {
  margin: 0;
  color: #6f6a60;
  font-size: 0.8rem;
}

a:focus-visible,
.btn-live:focus-visible {
  outline: 2px solid var(--brass);
  outline-offset: 3px;
}

@media (max-width: 600px) {
  .site-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.7rem;
  }

  .hero {
    padding-top: 3.15rem;
    text-align: left;
  }

  h1,
  .tally {
    align-items: flex-start;
  }

  .title-radio {
    letter-spacing: 0.32em;
  }

  .bio {
    margin-left: 0;
    margin-right: 0;
  }

  .btn-live {
    width: 100%;
  }

  .panel {
    padding: 1.5rem 1.15rem 1.7rem;
  }

  .placeholder-copy {
    text-align: left;
    padding-left: 0.25rem;
    padding-right: 0.25rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .btn-live {
    transition: none;
  }
}
