:root {
  --ink: #102f31;
  --cream: #f7edd5;
  --paper: #fff8e9;
  --gold: #dda34e;
  --orange: #b95b2e;
  --line: rgba(16, 47, 49, 0.15);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "DM Sans", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

a { color: inherit; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  min-height: 66px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 8px clamp(18px, 4vw, 56px);
  border-bottom: 1px solid var(--line);
  background: rgba(255, 248, 233, 0.92);
  backdrop-filter: blur(14px);
}

.brand {
  display: inline-flex;
  align-items: center;
  width: clamp(120px, 15vw, 185px);
  text-decoration: none;
}

.brand img {
  display: block;
  width: 100%;
  height: auto;
  max-height: 50px;
  object-fit: contain;
}

nav {
  display: flex;
  gap: 26px;
}

nav a {
  font-size: 0.9rem;
  font-weight: 700;
  text-decoration: none;
}

nav a:hover {
  text-decoration: underline;
  text-underline-offset: 5px;
}

.hero {
  max-width: 1320px;
  min-height: calc(100vh - 66px);
  margin: 0 auto;
  padding: clamp(56px, 8vw, 118px) clamp(20px, 5vw, 72px);
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(340px, 0.8fr);
  align-items: center;
  gap: clamp(50px, 8vw, 120px);
}

.eyebrow {
  margin: 0 0 15px;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

h1, h2 {
  margin: 0;
  font-family: "Rye", Georgia, serif;
  font-weight: 400;
}

h1 {
  max-width: 720px;
  font-size: clamp(4.4rem, 9vw, 8.8rem);
  line-height: 0.92;
  letter-spacing: -0.048em;
}

h2 {
  font-size: clamp(2.6rem, 5vw, 5.1rem);
  line-height: 1.02;
}

.transmission-copy {
  margin-top: 34px;
  font-size: clamp(1.08rem, 2vw, 1.28rem);
  line-height: 1.72;
}

.transmission-copy p { margin: 0; }

.transmission-copy .tune-in {
  margin-top: 16px;
  font-weight: 800;
}

.service-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.service-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 20px;
  border: 2px solid var(--ink);
  border-radius: 999px;
  font-weight: 800;
  text-decoration: none;
  transition: transform 0.18s ease, background 0.18s ease, color 0.18s ease;
}

.service-links a:first-child {
  color: var(--paper);
  background: var(--ink);
}

.service-links a:hover {
  transform: translateY(-2px);
  color: var(--paper);
  background: var(--orange);
  border-color: var(--orange);
}

.cover-wrap {
  position: relative;
  aspect-ratio: 1 / 1;
}

.cover-wrap::before {
  content: "";
  position: absolute;
  inset: 22px -22px -22px 22px;
  background: var(--gold);
  z-index: -1;
}

.album-cover {
  display: block;
  width: 100%;
  height: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border: 2px solid var(--ink);
}

.track-section,
.listen-section,
.about-section,
.contact-section {
  padding: clamp(80px, 10vw, 140px) clamp(20px, 8vw, 120px);
}

.listen-section {
  display: grid;
  justify-items: center;
  gap: clamp(42px, 6vw, 72px);
  padding-bottom: clamp(48px, 6vw, 80px);
  text-align: center;
  background: var(--paper);
  border-top: 1px solid var(--line);
}

.listen-heading {
  display: grid;
  justify-items: center;
  gap: 20px;
}

.listen-heading p {
  max-width: 620px;
  margin: 0;
  font-size: clamp(1rem, 1.5vw, 1.18rem);
  line-height: 1.7;
}

.player-switcher {
  width: min(100%, 780px);
}

.player-tabs {
  display: inline-grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  width: min(100%, 390px);
  margin-bottom: 24px;
  padding: 4px;
  border: 2px solid var(--ink);
  border-radius: 999px;
  background: var(--cream);
}

.player-tab {
  min-height: 46px;
  padding: 8px 20px;
  border: 0;
  border-radius: 999px;
  color: var(--ink);
  background: transparent;
  font: inherit;
  font-weight: 800;
  cursor: pointer;
  transition: color 0.18s ease, background 0.18s ease;
}

.player-tab:hover {
  color: var(--orange);
}

.player-tab.is-active {
  color: var(--paper);
  background: var(--ink);
}

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

.player-panels,
.player-panel {
  width: 100%;
}

.player-panel iframe {
  display: block;
  width: 100%;
  height: clamp(520px, 72vh, 760px);
  border: 0;
  border-radius: 12px;
  background: transparent;
}

.player-panel[hidden] {
  display: none;
}

.track-section {
  color: var(--cream);
  background: var(--ink);
}

.section-heading { max-width: 780px; }

.track-list {
  max-width: 980px;
  margin: 54px 0 0;
  padding: 0;
  list-style: none;
  counter-reset: tracks;
  border-top: 1px solid rgba(247, 237, 213, 0.28);
}

.track-list li {
  counter-increment: tracks;
  display: grid;
  grid-template-columns: 52px 1fr;
  align-items: center;
  gap: 18px;
  padding: 20px 0;
  border-bottom: 1px solid rgba(247, 237, 213, 0.28);
  font-size: clamp(1.02rem, 2vw, 1.28rem);
  font-weight: 700;
}

.track-list li::before {
  content: counter(tracks, decimal-leading-zero);
  color: var(--gold);
  font-size: 0.76rem;
  letter-spacing: 0.12em;
}

.about-section {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) 36px minmax(0, 0.88fr);
  gap: clamp(42px, 6vw, 92px);
  align-items: center;
  min-height: 700px;
  background: var(--cream);
}

.about-left h2 {
  max-width: 680px;
  font-size: clamp(3.1rem, 6vw, 6rem);
  line-height: 0.98;
}

.morse-message {
  display: grid;
  gap: 18px;
  margin-top: 48px;
  max-width: 760px;
  color: rgba(221, 163, 78, 0.88);
  font-family: "Courier New", Courier, monospace;
  font-size: clamp(0.84rem, 1.3vw, 1.02rem);
  line-height: 2.05;
  letter-spacing: 0.16em;
  overflow-wrap: anywhere;
}

.about-divider {
  position: relative;
  align-self: stretch;
  min-height: 420px;
}

.about-divider::before {
  content: "";
  position: absolute;
  top: 8%;
  bottom: 8%;
  left: 50%;
  width: 1px;
  background: var(--gold);
}

.about-divider::after {
  content: "◆";
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  color: var(--gold);
  background: var(--cream);
  padding: 8px 0;
  font-size: 0.75rem;
}

.about-right {
  display: grid;
  gap: 26px;
}

.about-right p {
  margin: 0;
  max-width: 620px;
}

.about-lead {
  font-size: clamp(1.15rem, 1.8vw, 1.4rem);
  line-height: 1.5;
  font-weight: 700;
}

.about-copy {
  font-size: clamp(1rem, 1.45vw, 1.18rem);
  line-height: 1.75;
}

.about-tagline {
  padding-top: 22px;
  border-top: 1px solid rgba(16, 47, 49, 0.18);
  font-size: clamp(1.15rem, 1.8vw, 1.4rem);
  line-height: 1.5;
  font-weight: 700;
}

.contact-section {
  text-align: center;
  background: var(--paper);
}

.contact-links {
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: center;
  margin-top: 30px;
}

.contact-links a {
  font-size: clamp(1.2rem, 2.8vw, 1.8rem);
  font-weight: 800;
  text-underline-offset: 5px;
}

footer {
  padding: 30px 20px;
  text-align: center;
  color: var(--cream);
  background: var(--ink);
  font-size: 0.82rem;
}

footer p { margin: 0; }

@media (max-width: 900px) {
  .hero {
    min-height: auto;
    grid-template-columns: 1fr;
  }

  .cover-wrap { max-width: 620px; }

  .about-section {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .about-divider {
    min-height: 1px;
    height: 1px;
  }

  .about-divider::before {
    left: 0;
    right: 0;
    top: 0;
    bottom: auto;
    width: auto;
    height: 1px;
  }

  .about-divider::after {
    top: 0;
    left: 50%;
    padding: 0 8px;
  }

  .about-right { gap: 20px; }
}

@media (max-width: 640px) {
  .site-header {
    align-items: flex-start;
    flex-direction: column;
    padding-top: 14px;
    padding-bottom: 14px;
  }

  nav {
    gap: 16px;
    flex-wrap: wrap;
  }

  .brand {
    width: min(170px, 60vw);
  }

  h1 {
    font-size: clamp(3.6rem, 18vw, 5.2rem);
  }

  .service-links {
    display: grid;
  }

  .service-links a {
    width: 100%;
  }

  .cover-wrap::before {
    inset: 10px -10px -10px 10px;
  }

  .track-list li {
    grid-template-columns: 42px 1fr;
  }

  .listen-section {
    padding-right: 16px;
    padding-bottom: 44px;
    padding-left: 16px;
  }

  .player-tabs {
    width: 100%;
    margin-bottom: 18px;
  }

  .player-tab {
    min-height: 44px;
    padding-right: 12px;
    padding-left: 12px;
  }

  .player-panel iframe {
    height: min(620px, 72vh);
    min-height: 460px;
  }

}

.morse-message span {
  display: block;
}


.instagram-link{
  display:inline-flex;
  align-items:center;
  gap:10px;
}

.instagram-link svg{
  width:20px;
  height:20px;
  flex:0 0 20px;
}


/* Streaming service buttons */
.service-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.service-links .stream-button {
  min-width: 172px;
  gap: 9px;
}

.stream-button svg {
  width: 19px;
  height: 19px;
  flex: 0 0 19px;
}

.stream-button span {
  line-height: 1;
}

@media (max-width: 540px) {
  .service-links .stream-button {
    min-width: 100%;
  }
}
