:root {
  --navy: #16223f;
  --navy-deep: #0d1626;
  --orange: #e17b2a;
  --orange-light: #f2a05c;
  --cream: #faf6ee;
  --cream-dim: #f0e9db;
  --ink: #1c2434;
  --white: #ffffff;
  --radius: 14px;
  --shadow: 0 12px 30px rgba(13, 22, 38, 0.12);
  --max-width: 1140px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: "Segoe UI", system-ui, -apple-system, Roboto, Helvetica, Arial, sans-serif;
  color: var(--ink);
  background: var(--cream);
  line-height: 1.55;
}

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

a { color: inherit; }

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

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--white);
  border-bottom: 1px solid rgba(22, 34, 63, 0.08);
}

.site-header .container {
  max-width: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 40px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.brand img {
  height: 84px;
  width: auto;
}

.main-nav ul {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0;
  padding: 0;
}

.main-nav a {
  text-decoration: none;
  font-weight: 600;
  font-size: 1.1rem;
  color: var(--navy);
  padding: 12px 18px;
  border-radius: 8px;
  transition: background 0.15s ease, color 0.15s ease;
}

.main-nav a:hover { background: var(--cream-dim); }

.main-nav a.nav-cta {
  background: var(--orange);
  color: var(--white);
}

.main-nav a.nav-cta:hover { background: var(--orange-light); }

.main-nav a.nav-phone {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--orange);
}

.main-nav a.nav-phone svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

.main-nav a.nav-phone:hover { background: var(--cream-dim); }

.nav-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 2.4rem;
  line-height: 1;
  padding: 6px;
  color: var(--navy);
  cursor: pointer;
}

/* Hero */
.hero {
  position: relative;
  color: var(--white);
  min-height: 66vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background: url("../../hero-family.webp") center 30% / cover no-repeat;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(100deg, rgba(13, 22, 38, 0.92) 0%, rgba(13, 22, 38, 0.72) 42%, rgba(13, 22, 38, 0.35) 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
  padding: 90px 24px 90px 56px;
  max-width: 640px;
}

.hero .eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--orange-light);
  margin-bottom: 14px;
}

.hero h1 {
  font-size: clamp(2.1rem, 4.5vw, 3.2rem);
  line-height: 1.12;
  margin: 0 0 18px;
}

.hero p {
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.92);
  margin: 0 0 30px;
  max-width: 520px;
}

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

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 26px;
  border-radius: 999px;
  font-weight: 700;
  text-decoration: none;
  font-size: 1rem;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, background 0.15s ease, color 0.15s ease;
}

.btn:hover { transform: translateY(-2px); }

.btn-primary {
  background: var(--orange);
  color: var(--white);
}

.btn-primary:hover { background: var(--orange-light); }

.btn-outline {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.7);
  color: var(--white);
}

.btn-outline:hover { background: rgba(255, 255, 255, 0.12); }

/* Sections */
section { padding: 76px 0; }

.section-head {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 48px;
}

.section-head .eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--orange);
  margin-bottom: 10px;
}

.section-head h2 {
  font-size: clamp(1.7rem, 3vw, 2.3rem);
  color: var(--navy);
  margin: 0 0 14px;
}

.section-head p { color: #4a5266; }

/* Listen section */
.listen {
  background: var(--navy);
  color: var(--white);
}

.listen .section-head p { color: rgba(255, 255, 255, 0.78); }
.listen .section-head .eyebrow { color: var(--orange-light); }

.player-card {
  background: var(--navy-deep);
  border-radius: 20px;
  padding: 36px;
  max-width: 640px;
  margin: 0 auto;
  box-shadow: var(--shadow);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.player-top {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-bottom: 26px;
}

.station-art {
  width: 64px;
  height: 64px;
  border-radius: 14px;
  background: var(--orange);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.station-art svg { width: 30px; height: 30px; }

.player-meta .station-name {
  font-weight: 700;
  font-size: 1.1rem;
}

.player-meta .station-status {
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.65);
  display: flex;
  align-items: center;
  gap: 6px;
}

.live-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #ef4444;
  display: inline-block;
  animation: pulse 1.6s infinite;
}

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

.player-controls {
  display: flex;
  align-items: center;
  gap: 18px;
}

.play-btn {
  width: 62px;
  height: 62px;
  border-radius: 50%;
  border: none;
  background: var(--orange);
  color: var(--white);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: background 0.15s ease, transform 0.15s ease;
}

.play-btn:hover { background: var(--orange-light); transform: scale(1.04); }

.play-btn svg { width: 24px; height: 24px; }

.player-visual {
  flex: 1;
  height: 44px;
  display: flex;
  align-items: flex-end;
  gap: 4px;
  overflow: hidden;
}

.player-visual span {
  flex: 1;
  background: var(--orange);
  opacity: 0.35;
  border-radius: 3px;
  height: 20%;
  transition: height 0.15s ease, opacity 0.15s ease;
}

.player-visual.playing span { opacity: 0.9; }

.volume-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 24px;
}

.volume-row svg { width: 20px; height: 20px; opacity: 0.7; flex-shrink: 0; }

.volume-row input[type="range"] {
  flex: 1;
  accent-color: var(--orange);
}

.player-status-msg {
  margin-top: 16px;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.55);
  min-height: 1.2em;
}

/* Dunlap Station / about */
.about-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: center;
}

.about-grid img {
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  width: 100%;
  height: auto;
  object-fit: cover;
}

.about-copy h2 {
  font-size: clamp(1.6rem, 3vw, 2.1rem);
  color: var(--navy);
  margin-top: 0;
}

.about-copy p { color: #4a5266; }

.info-list {
  list-style: none;
  margin: 24px 0 0;
  padding: 0;
  display: grid;
  gap: 14px;
}

.info-list li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}

.info-list svg {
  width: 22px;
  height: 22px;
  color: var(--orange);
  flex-shrink: 0;
  margin-top: 2px;
}

.info-list strong { display: block; color: var(--navy); }
.info-list span { color: #4a5266; font-size: 0.95rem; }

.programs {
  margin-top: 64px;
  padding-top: 56px;
  border-top: 1px solid rgba(22, 34, 63, 0.1);
  text-align: center;
}

.programs h3 {
  font-size: clamp(1.3rem, 2.4vw, 1.6rem);
  color: var(--navy);
  margin: 0 0 24px;
}

.programs-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}

.programs-list li {
  background: var(--white);
  border: 1px solid rgba(22, 34, 63, 0.12);
  color: var(--navy);
  font-weight: 600;
  font-size: 0.95rem;
  padding: 10px 20px;
  border-radius: 999px;
  box-shadow: 0 4px 12px rgba(13, 22, 38, 0.05);
}

/* Contact */
.contact { background: var(--cream-dim); }

.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 48px;
}

.contact-info h2 {
  font-size: clamp(1.6rem, 3vw, 2.1rem);
  color: var(--navy);
  margin-top: 0;
}

.contact-info p { color: #4a5266; }

.contact-detail {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  margin-top: 22px;
}

.contact-detail svg {
  width: 22px;
  height: 22px;
  color: var(--orange);
  flex-shrink: 0;
}

.contact-detail strong { display: block; color: var(--navy); }
.contact-detail a, .contact-detail span { color: #4a5266; text-decoration: none; font-size: 0.95rem; }

.contact-form {
  background: var(--white);
  border-radius: var(--radius);
  padding: 32px;
  box-shadow: var(--shadow);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form-group { margin-bottom: 18px; }

label {
  display: block;
  font-weight: 600;
  font-size: 0.88rem;
  color: var(--navy);
  margin-bottom: 6px;
}

input, textarea {
  width: 100%;
  padding: 12px 14px;
  border-radius: 10px;
  border: 1px solid #d9d3c4;
  font-family: inherit;
  font-size: 0.95rem;
  background: var(--cream);
  color: var(--ink);
}

input:focus, textarea:focus {
  outline: none;
  border-color: var(--orange);
  background: var(--white);
}

textarea { resize: vertical; min-height: 120px; }

.form-honeypot { position: absolute; left: -9999px; opacity: 0; }

.form-msg {
  margin-top: 14px;
  font-size: 0.9rem;
  min-height: 1.2em;
}

.form-msg.success { color: #1a7f37; }
.form-msg.error { color: #c0362c; }

/* Footer */
.site-footer {
  background: var(--navy-deep);
  color: rgba(255, 255, 255, 0.7);
  padding: 40px 0 28px;
  text-align: center;
  font-size: 0.88rem;
}

.site-footer .footer-brand {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-bottom: 16px;
}

.site-footer .footer-brand img { height: 72px; }

.site-footer a { color: var(--orange-light); text-decoration: none; }

@media (max-width: 860px) {
  .about-grid, .contact-grid { grid-template-columns: 1fr; }
  .about-grid { gap: 32px; }
  .form-row { grid-template-columns: 1fr; }
}

@media (max-width: 760px) {
  .site-header .container { padding: 8px 20px; }
  .main-nav { display: none; }
  .nav-toggle { display: block; }
  .site-header.nav-open .main-nav {
    display: block;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--white);
    box-shadow: var(--shadow);
  }
  .site-header.nav-open .main-nav ul {
    flex-direction: column;
    align-items: stretch;
    text-align: center;
    padding: 8px 24px 20px;
    gap: 0;
  }
  .site-header.nav-open .main-nav li {
    border-bottom: 1px solid rgba(22, 34, 63, 0.1);
  }
  .site-header.nav-open .main-nav li:last-child {
    border-bottom: none;
    padding-top: 12px;
  }
  .site-header.nav-open .main-nav a {
    display: block;
    padding: 16px 10px;
    border-radius: 0;
  }
  .site-header.nav-open .main-nav a.nav-cta {
    border-radius: 8px;
  }
  .site-header.nav-open .main-nav a.nav-phone {
    justify-content: center;
  }
  .hero-content { padding: 70px 20px; }
  section { padding: 56px 0; }
  .player-card { padding: 26px 22px; }
  .player-top { flex-wrap: wrap; }
}
