/* Toast 903FM — public site. Dark, warm, broadcast-leaning palette:
   charcoal background, amber accent (the "on air" color), generous
   whitespace so the radio player and news content both breathe. */

:root {
  --bg: #121316;
  --panel: #1b1d22;
  --border: #2a2d34;
  --text: #f2f1ee;
  --muted: #a3a6b0;
  --accent: #f2a33d;
  --accent-strong: #ffb84d;
  --live: #ff5b52;
  color-scheme: dark;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  line-height: 1.55;
}

.wrap {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 24px;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--accent);
  color: #111;
  padding: 8px 16px;
  z-index: 100;
}

.skip-link:focus {
  left: 16px;
  top: 16px;
}

a {
  color: var(--accent-strong);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

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

/* --- Header --- */

.site-header {
  border-bottom: 1px solid var(--border);
  background: rgba(18, 19, 22, 0.92);
  backdrop-filter: blur(6px);
  position: sticky;
  top: 0;
  z-index: 10;
}

.site-header-inner {
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 16px 24px;
}

.brand {
  display: flex;
  align-items: baseline;
  gap: 4px;
  font-weight: 800;
  letter-spacing: 0.02em;
  flex-shrink: 0;
}

.brand:hover {
  text-decoration: none;
}

.brand-mark {
  color: var(--text);
  font-size: 18px;
}

.brand-freq {
  color: var(--accent);
  font-size: 18px;
}

.main-nav {
  display: flex;
  gap: 20px;
  flex: 1;
  flex-wrap: wrap;
}

.main-nav a {
  color: var(--muted);
  font-size: 14px;
  font-weight: 600;
}

.main-nav a:hover {
  color: var(--text);
  text-decoration: none;
}

.listen-live-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--accent);
  color: #15120a;
  font-weight: 700;
  font-size: 13px;
  padding: 9px 16px;
  border-radius: 999px;
  flex-shrink: 0;
}

.listen-live-btn:hover {
  background: var(--accent-strong);
  text-decoration: none;
}

.live-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--live);
  display: inline-block;
  animation: pulse 1.6s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.35; }
}

/* --- Hero --- */

.hero {
  padding: 88px 0 72px;
  background: radial-gradient(ellipse at top, rgba(242, 163, 61, 0.14) 0%, transparent 60%);
  text-align: center;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 12px;
  font-weight: 700;
  color: var(--accent);
  margin: 0 0 12px;
}

.hero h1 {
  font-size: clamp(32px, 6vw, 52px);
  margin: 0 0 16px;
  font-weight: 800;
  letter-spacing: -0.01em;
}

.hero-sub {
  color: var(--muted);
  font-size: 17px;
  max-width: 540px;
  margin: 0 auto 32px;
}

.hero-actions {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 24px;
  border-radius: 10px;
  font-weight: 700;
  font-size: 15px;
}

.btn-primary {
  background: var(--accent);
  color: #15120a;
}

.btn-primary:hover {
  background: var(--accent-strong);
  text-decoration: none;
}

.btn-ghost {
  border: 1px solid var(--border);
  color: var(--text);
}

.btn-ghost:hover {
  border-color: var(--accent);
  text-decoration: none;
}

/* --- Sections --- */

.section {
  padding: 56px 24px;
}

.section-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 28px;
}

.section-head h2 {
  margin: 0;
  font-size: 24px;
}

.section-link {
  font-size: 14px;
  font-weight: 600;
}

.muted {
  color: var(--muted);
}

/* --- Post grid / cards --- */

.post-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 24px;
}

.post-card {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
}

.post-card img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.post-card h3 {
  margin: 16px 16px 4px;
  font-size: 17px;
}

.post-card p {
  margin: 4px 16px 16px;
  font-size: 14px;
}

.post-date-small {
  margin-top: 0 !important;
  font-size: 12px !important;
}

/* --- Post detail --- */

.post-detail h1 {
  margin: 12px 0 4px;
  font-size: clamp(26px, 4vw, 38px);
}

.post-date {
  margin: 0 0 24px;
  font-size: 14px;
}

.post-hero-image {
  width: 100%;
  border-radius: 12px;
  margin-bottom: 24px;
}

.back-link {
  font-size: 14px;
  font-weight: 600;
}

.prose {
  font-size: 16px;
}

.prose p {
  margin: 0 0 1.1em;
}

.prose img {
  border-radius: 10px;
  margin: 1.2em 0;
}

.prose h2, .prose h3 {
  margin-top: 1.6em;
}

/* --- Pagination --- */

.pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 24px;
  margin-top: 48px;
  font-size: 14px;
  font-weight: 600;
}

/* --- Team --- */

.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 24px;
}

.team-card {
  text-align: center;
}

.team-card img,
.team-photo-placeholder {
  width: 140px;
  height: 140px;
  border-radius: 50%;
  object-fit: cover;
  margin: 0 auto 16px;
}

.team-photo-placeholder {
  background: var(--panel);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 40px;
  font-weight: 700;
  color: var(--accent);
}

.team-card h3 {
  margin: 0 0 2px;
  font-size: 17px;
}

.team-role {
  color: var(--accent);
  font-size: 13px;
  font-weight: 600;
  margin: 0 0 8px;
}

/* --- Player --- */

.player-section {
  text-align: center;
  max-width: 560px;
}

.player-card {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 32px;
  margin: 32px 0;
}

.player-audio {
  width: 100%;
}

.player-note {
  font-size: 13px;
  margin-top: 16px;
}

/* --- Page content --- */

.page-content h1 {
  margin-bottom: 24px;
}

/* --- Contact form --- */

.contact-form {
  max-width: 480px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 24px;
}

.contact-form label {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 14px;
  font-weight: 600;
  color: var(--muted);
}

.contact-form input,
.contact-form textarea {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 11px 12px;
  color: var(--text);
  font-size: 15px;
  font-family: inherit;
}

.contact-form button {
  background: var(--accent);
  color: #15120a;
  border: none;
  border-radius: 8px;
  padding: 13px;
  font-weight: 700;
  font-size: 15px;
  cursor: pointer;
  align-self: flex-start;
  padding-left: 28px;
  padding-right: 28px;
}

.contact-form button:disabled {
  opacity: 0.6;
  cursor: default;
}

.contact-status {
  min-height: 1.2em;
  font-size: 14px;
  color: var(--accent);
  margin: 0;
}

/* --- Footer --- */

.site-footer {
  border-top: 1px solid var(--border);
  padding: 48px 0 24px;
  margin-top: 64px;
}

.site-footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 24px;
}

.site-footer-inner nav {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

.site-footer-inner nav a {
  color: var(--muted);
  font-size: 14px;
}

.footer-copyright {
  font-size: 13px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
}

@media (max-width: 720px) {
  .site-header-inner {
    flex-wrap: wrap;
  }
  .main-nav {
    order: 3;
    width: 100%;
    gap: 14px;
  }
}
