@font-face {
  font-family: "Fraunces";
  font-style: normal;
  font-weight: 500 700;
  font-display: swap;
  src: url("../fonts/fraunces-latin.woff2") format("woff2");
}

@font-face {
  font-family: "Outfit";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("../fonts/outfit-latin.woff2") format("woff2");
}

:root {
  --ink: #172433;
  --ink-soft: #314154;
  --ocean-950: #07131f;
  --ocean-900: #0c2340;
  --cream: #f6f1e8;
  --paper: #f4efe6;
  --coral: #e07a5f;
  --gold: #e8b15a;
  --gold-deep: #c9842a;
  --serif: "Fraunces", "Iowan Old Style", Palatino, Georgia, serif;
  --sans: "Outfit", "Avenir Next", "Segoe UI", sans-serif;
  --header: 3.6rem;
  color-scheme: light;
}

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

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.5;
  color: var(--ink);
  background: var(--paper);
  overflow-x: clip;
}

img, svg { display: block; max-width: 100%; }
button, input { font: inherit; }
a { color: inherit; }

h1, h2, h3, p { margin: 0; }

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 80;
  background: #fff;
  color: var(--ink);
  padding: 0.5rem 0.8rem;
  border-radius: 8px;
}

.skip:focus { top: 0.6rem; }

:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}

.wrap {
  width: min(1120px, calc(100% - 2.2rem));
  margin-inline: auto;
}

.eyebrow {
  margin: 0 0 0.45rem;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
}

.eyebrow.ink { color: #8a4a32; }

.topbar {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 40;
  color: var(--cream);
  background: rgba(7, 19, 31, 0.9);
  border-bottom: 1px solid rgba(232, 177, 90, 0.2);
  backdrop-filter: blur(14px);
  padding-top: env(safe-area-inset-top);
}

.topbar-inner {
  width: min(1120px, calc(100% - 1.6rem));
  margin: 0 auto;
  min-height: var(--header);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
  color: var(--cream);
}

.mark { width: 28px; height: 28px; flex: none; }

.brand-name {
  font-family: var(--serif);
  font-weight: 560;
  font-size: 1.05rem;
  letter-spacing: -0.02em;
}

.nav { display: flex; gap: 0.85rem; }

.nav a {
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 500;
  color: rgba(246, 241, 232, 0.88);
}

.nav a:hover { color: #fff; }

section { scroll-margin-top: 4.4rem; }

.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  padding: calc(var(--header) + 1.1rem) 1.15rem 2.4rem;
  color: var(--cream);
  overflow: hidden;
}

.hero-scene { position: absolute; inset: 0; }

.sky {
  position: absolute;
  inset: 0 0 34% 0;
  background:
    radial-gradient(90% 70% at 72% 100%, rgba(242, 176, 122, 0.95), transparent 58%),
    linear-gradient(180deg, #071422 0%, #14365c 46%, #c46b62 82%, #f0c27a 100%);
}

.sun {
  position: absolute;
  left: 68%;
  bottom: 31%;
  width: min(168px, 34vw);
  height: min(168px, 34vw);
  transform: translate(-50%, 40%);
  border-radius: 50%;
  background: radial-gradient(circle at 50% 45%, #fff6dc 0%, #ffd27a 42%, rgba(240, 160, 90, 0) 70%);
}

.headland {
  position: absolute;
  left: -4%;
  bottom: 30%;
  width: 48%;
  height: 16%;
  background: #091624;
  clip-path: polygon(0 100%, 0 62%, 14% 48%, 28% 66%, 42% 28%, 58% 54%, 74% 36%, 88% 58%, 100% 42%, 100% 100%);
}

.water {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 38%;
  background:
    linear-gradient(180deg, rgba(240, 194, 122, 0.28), transparent 16%),
    linear-gradient(180deg, #1a5278 0%, #0d2c4a 42%, #08192c 100%);
}

.water::before {
  content: "";
  position: absolute;
  left: 68%;
  top: 0;
  width: 16%;
  height: 72%;
  transform: translateX(-50%);
  background: linear-gradient(180deg, rgba(255, 220, 150, 0.5), transparent);
  clip-path: polygon(38% 0, 62% 0, 100% 100%, 0 100%);
  filter: blur(6px);
}

.hero-layout {
  position: relative;
  z-index: 3;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 1.25rem;
  width: min(1120px, 100%);
  margin: 0 auto;
}

.hero-copy { max-width: 16em; padding-top: 0.4rem; }

h1 {
  font-family: var(--serif);
  font-weight: 560;
  font-size: clamp(2.8rem, 12vw, 6.4rem);
  line-height: 0.9;
  letter-spacing: -0.035em;
  color: var(--cream);
}

h1 .line { display: block; }

.sunrise-word {
  color: #f2c98a;
  background: linear-gradient(100deg, #fff6e4 0%, #f2c98a 46%, #e9896a 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.radio-word { display: block; }

.tagline {
  margin-top: 0.85rem;
  max-width: 16rem;
  font-size: 1.12rem;
  line-height: 1.35;
  color: rgba(246, 241, 232, 0.92);
}

.player-card {
  position: relative;
  width: min(100%, 26.5rem);
  padding: 1rem 1rem 0.9rem;
  border-radius: 1.4rem;
  background: rgba(8, 22, 38, 0.82);
  border: 1px solid rgba(246, 241, 232, 0.16);
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.28);
  color-scheme: dark;
}

@supports (backdrop-filter: blur(12px)) {
  .player-card {
    background: rgba(8, 22, 38, 0.62);
    backdrop-filter: blur(16px);
  }
}

#live-audio {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
}

.now {
  display: flex;
  gap: 0.75rem;
  align-items: center;
  min-height: 3.3rem;
}

.now img {
  width: 52px;
  height: 52px;
  object-fit: cover;
  border-radius: 10px;
  background: #16324a;
  flex: none;
}

.now-copy { min-width: 0; }

.now-kicker {
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 600;
}

.now-title {
  font-family: var(--serif);
  font-weight: 560;
  font-size: 1.15rem;
  line-height: 1.2;
  letter-spacing: -0.02em;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.now-artist {
  margin-top: 0.12rem;
  color: rgba(246, 241, 232, 0.76);
  font-size: 0.95rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.listen {
  width: 100%;
  margin-top: 0.9rem;
  min-height: 3.7rem;
  border: 0;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  background: linear-gradient(180deg, #f3cc78, #e08a55);
  color: #1c140f;
  font-weight: 650;
  font-size: 1.15rem;
  letter-spacing: 0.01em;
  cursor: pointer;
  box-shadow: 0 10px 26px rgba(224, 122, 95, 0.32);
}

.listen svg { fill: currentColor; }
.listen .icon-pause { display: none; }

body.is-playing .listen .icon-play { display: none; }
body.is-playing .listen .icon-pause { display: block; }

body.is-playing .listen {
  background: linear-gradient(180deg, #f7f1e6, #e4c99a);
}

.listen:hover { filter: brightness(1.04); }
.listen:active { transform: translateY(1px); }

.player-tools {
  margin-top: 0.85rem;
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.mute {
  width: 2.4rem;
  height: 2.4rem;
  flex: none;
  border: 0;
  border-radius: 999px;
  background: rgba(246, 241, 232, 0.1);
  color: var(--cream);
  display: grid;
  place-items: center;
  cursor: pointer;
}

.mute svg { fill: currentColor; }
.mute .icon-muted { display: none; }
.mute[aria-pressed="true"] .icon-sound { display: none; }
.mute[aria-pressed="true"] .icon-muted { display: block; }

.volume { flex: 1; min-width: 0; display: flex; align-items: center; }

input[type="range"] {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 1.75rem;
  background: transparent;
  margin: 0;
  cursor: pointer;
}

input[type="range"]::-webkit-slider-runnable-track {
  height: 4px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--gold) var(--p, 90%), rgba(246, 241, 232, 0.28) var(--p, 90%));
}

input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 18px;
  height: 18px;
  margin-top: -7px;
  border-radius: 50%;
  background: var(--cream);
  border: 2px solid var(--gold);
}

input[type="range"]::-moz-range-track {
  height: 4px;
  border-radius: 999px;
  background: rgba(246, 241, 232, 0.28);
}

input[type="range"]::-moz-range-progress {
  height: 4px;
  border-radius: 999px;
  background: var(--gold);
}

input[type="range"]::-moz-range-thumb {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--cream);
  border: 2px solid var(--gold);
}

.live {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin: 0;
  flex: none;
  font-size: 0.82rem;
  font-weight: 650;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.live-dot {
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 50%;
  box-sizing: border-box;
  background: transparent;
  border: 2px solid rgba(246, 241, 232, 0.7);
}

[data-live][data-state="connecting"] .live-dot {
  background: var(--gold);
  border-color: var(--gold);
}

[data-live][data-state="live"] .live-dot {
  background: #ff5d45;
  border-color: #ff5d45;
  box-shadow: 0 0 0 0 rgba(255, 93, 69, 0.7);
  animation: pulse 1.6s ease-out infinite;
}

.live[data-state="idle"] { color: rgba(246, 241, 232, 0.62); }
.live[data-state="live"],
.live[data-state="connecting"] { color: #fff8ee; }

@keyframes pulse {
  70% { box-shadow: 0 0 0 7px rgba(255, 93, 69, 0); }
  100% { box-shadow: 0 0 0 0 rgba(255, 93, 69, 0); }
}

.player-note {
  margin: 0.7rem 0 0;
  color: #ffd0c4;
  font-size: 0.92rem;
}

.player-note:empty { display: none; }

.playlist {
  display: inline-block;
  margin-top: 0.75rem;
  font-size: 0.92rem;
  color: rgba(246, 241, 232, 0.86);
}

.shore {
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 64px;
  z-index: 2;
  pointer-events: none;
}

.shore svg { width: 100%; height: 100%; }

.voices { padding: 3.2rem 0 3.4rem; background: var(--paper); }

h2 {
  font-family: var(--serif);
  font-weight: 560;
  font-size: clamp(2.1rem, 6vw, 3.4rem);
  letter-spacing: -0.03em;
  line-height: 1;
  text-wrap: balance;
}

.lead {
  margin-top: 0.7rem;
  max-width: 36rem;
  color: var(--ink-soft);
}

.voice-grid {
  margin-top: 1.5rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
}

.voice {
  min-width: 0;
  background: rgba(255, 252, 247, 0.92);
  border: 1px solid rgba(16, 32, 51, 0.08);
  border-radius: 1.15rem;
  padding: 0.5rem 0.5rem 0.85rem;
  box-shadow: 0 10px 28px rgba(16, 32, 51, 0.05);
}

.voice-lead {
  grid-column: 1 / -1;
  padding: 0.65rem 0.65rem 1rem;
  border-color: rgba(201, 132, 42, 0.5);
  background: linear-gradient(180deg, #fffaf3, #f6efe4);
}

.voice-photo {
  position: relative;
  aspect-ratio: 4 / 5;
  border-radius: 0.85rem;
  overflow: hidden;
  background: #d9d2c6;
}

.voice-photo img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: var(--face, center 30%);
}

.voice-photo::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  box-shadow: inset 0 0 0 1px rgba(16, 32, 51, 0.14);
  pointer-events: none;
}

.voice-lead .voice-photo::after {
  box-shadow: inset 0 0 0 1px rgba(201, 132, 42, 0.55);
}

.voice h3 {
  margin: 0.6rem 0.15rem 0;
  font-family: var(--serif);
  font-weight: 560;
  font-size: 1.2rem;
  letter-spacing: -0.02em;
}

.voice-lead h3 { font-size: 2rem; }

.role {
  margin: 0.15rem 0.15rem 0;
  font-size: 0.74rem;
  font-weight: 650;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: #6f3b2c;
}

.bio {
  margin: 0.4rem 0.15rem 0;
  font-size: 0.92rem;
  line-height: 1.4;
  color: #243044;
}

.voice-lead .bio {
  font-size: 1.05rem;
  max-width: 36rem;
}

.moments {
  padding: 3rem 0 3.6rem;
  background:
    linear-gradient(180deg, #f4efe6 0%, #e7eef1 18%, #dce8ee 100%);
}

.moment-scroller {
  margin-top: 1.35rem;
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: min(78vw, 300px);
  gap: 0.85rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-padding-inline: 0.2rem;
  padding-bottom: 0.6rem;
}

.moment { scroll-snap-align: start; min-width: 0; }

.moment-stage {
  position: relative;
  aspect-ratio: 9 / 16;
  border-radius: 1.35rem;
  overflow: hidden;
  background: #0c2340;
  border: 1px solid rgba(201, 132, 42, 0.35);
  box-shadow: 0 16px 36px rgba(16, 32, 51, 0.12);
}

.moment-stage img,
.moment-stage video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.moment-stage video {
  z-index: 1;
  opacity: 0;
  background: transparent;
}

.moment-stage video.is-ready { opacity: 1; }

.moment-stage video.favor-view { object-position: 78% center; }

.moment figcaption {
  margin: 0.75rem 0.15rem 0;
  font-family: var(--serif);
  font-size: 1.15rem;
  letter-spacing: -0.02em;
}

.moment figcaption span {
  display: block;
  margin-bottom: 0.15rem;
  font-family: var(--sans);
  font-size: 0.74rem;
  font-weight: 650;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #8a4a32;
}

.sponsor {
  padding: 0.4rem 0 2.8rem;
  background: linear-gradient(180deg, #dce8ee 0%, #f6efe4 22%, #f4efe6 100%);
}

.sponsor-card {
  max-width: 38rem;
  background: #fffaf3;
  border: 1px solid rgba(201, 132, 42, 0.45);
  border-radius: 1.15rem;
  padding: 1.25rem 1.15rem 1.35rem;
  box-shadow: 0 12px 28px rgba(16, 32, 51, 0.06);
}

.sponsor h2 {
  font-size: clamp(1.7rem, 6vw, 2.35rem);
}

.sponsor p {
  margin-top: 0.7rem;
  max-width: 36rem;
  color: #243044;
  line-height: 1.5;
}

.sponsor a {
  color: #8a4a32;
  font-weight: 600;
  text-underline-offset: 0.18em;
  overflow-wrap: anywhere;
}

.sponsor a:hover { color: #6f3b2c; }

.footer {
  background: var(--ocean-950);
  color: var(--cream);
  padding: 2.4rem 0 calc(2.2rem + env(safe-area-inset-bottom));
}

.footer-name {
  font-family: var(--serif);
  font-size: 1.55rem;
  letter-spacing: -0.02em;
}

.footer-note {
  margin-top: 0.4rem;
  max-width: 28rem;
  color: #d5e0ea;
}

.footer-links {
  list-style: none;
  margin: 1.2rem 0 0;
  padding: 0;
  display: grid;
  gap: 0.45rem;
}

.footer-links a {
  color: var(--cream);
  text-underline-offset: 0.18em;
}

.footer-links a:hover { color: #f2c98a; }

.legal {
  margin-top: 1.4rem;
  color: #b7c5d2;
  font-size: 0.9rem;
}

.dock {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 45;
  display: none;
  grid-template-columns: auto minmax(0, 1fr) 5.5rem;
  gap: 0.7rem;
  align-items: center;
  padding: 0.65rem 0.85rem calc(0.65rem + env(safe-area-inset-bottom));
  background: rgba(7, 19, 31, 0.94);
  color: var(--cream);
  border-top: 1px solid rgba(232, 177, 90, 0.35);
  box-shadow: 0 -12px 30px rgba(0, 0, 0, 0.25);
  color-scheme: dark;
}

.dock:not([hidden]) { display: grid; }

.dock-play {
  width: 2.9rem;
  height: 2.9rem;
  border: 0;
  border-radius: 999px;
  background: linear-gradient(180deg, #f3cc78, #e08a55);
  color: #1c140f;
  display: grid;
  place-items: center;
  cursor: pointer;
}

.dock-play svg { fill: currentColor; }
.dock-play .icon-pause { display: none; }
body.is-playing .dock-play .icon-play { display: none; }
body.is-playing .dock-play .icon-pause { display: block; }

.dock-copy { min-width: 0; }

.dock-station {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.78rem;
  letter-spacing: 0.04em;
  color: rgba(246, 241, 232, 0.78);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.dock-track {
  font-size: 0.95rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

body.dock-on {
  padding-bottom: calc(6.75rem + env(safe-area-inset-bottom));
}

@media (min-width: 720px) {
  .radio-word { display: inline; }
  .voice-grid { gap: 1rem; }
  .bio { font-size: 0.98rem; }
}

@media (min-width: 880px) {
  .hero { padding: calc(var(--header) + 1.5rem) 2.2rem 3rem; }
  .hero-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(280px, 0.8fr);
    align-items: end;
    gap: 2rem;
  }
  .hero-copy { align-self: center; max-width: 11em; }
  .tagline { font-size: 1.25rem; max-width: 18rem; }
  .player-card { justify-self: end; margin-bottom: 0.5rem; }
  .sun { left: 58%; width: 190px; height: 190px; }

  .voices, .moments { padding-block: 4.2rem; }
  .voice-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .voice-lead {
    display: grid;
    grid-template-columns: minmax(220px, 340px) minmax(0, 1fr);
    gap: 1.4rem;
    align-items: center;
    padding: 0.8rem;
  }
  .voice-lead h3 { margin-top: 0; font-size: clamp(2.4rem, 4vw, 3.3rem); }
  .voice-lead .voice-copy { padding: 0.4rem 0.8rem 0.4rem 0; }

  .moment-scroller {
    grid-auto-flow: row;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    grid-auto-columns: auto;
    overflow: visible;
    max-width: 980px;
  }
}

@media (min-width: 761px) {
  .dock { display: none !important; }
}

@media (max-width: 380px) {
  .nav { gap: 0.55rem; }
  .nav a { font-size: 0.84rem; }
  .brand-name { font-size: 0.95rem; }
  .bio { font-size: 0.84rem; }
  .dock { grid-template-columns: auto minmax(0, 1fr) 4.4rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .live-dot { animation: none; }
  .water::before { filter: none; }
}
