:root {
  --navy: #283058;
  --navy-deep: #161b33;
  --navy-mid: #2b3361;
  --navy-card: #1e2444;
  --gold: #b8935a;
  --gold-bright: #c9a66b;
  --gold-soft: #b09050;
  --cream: #f7f4ec;
  --muted: #b8bfd4;
  --line: rgba(184, 147, 90, 0.28);
  --shadow: 0 20px 48px rgba(0, 0, 0, 0.32);
  --radius: 18px;
  --serif: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --sans: Inter, system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  --wrap: min(1120px, calc(100% - 2.5rem));
  --hero-col: min(640px, 100%);
  --header-h: 3.25rem;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--sans);
  color: var(--cream);
  background:
    radial-gradient(1100px 520px at 70% -8%, rgba(184, 147, 90, 0.14), transparent 60%),
    radial-gradient(800px 480px at -8% 18%, rgba(43, 51, 97, 0.85), transparent 55%),
    linear-gradient(180deg, var(--navy-deep) 0%, #12162a 42%, var(--navy-deep) 100%);
  min-height: 100vh;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: var(--gold-bright);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
}

a:hover {
  color: #e0c38a;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -3rem;
  background: var(--gold);
  color: var(--navy-deep);
  padding: 0.5rem 0.8rem;
  border-radius: 8px;
  z-index: 100;
}

.skip-link:focus {
  top: 1rem;
}

.wrap {
  width: var(--wrap);
  margin-inline: auto;
}

.site-header {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  height: var(--header-h);
  backdrop-filter: blur(10px);
  background: rgba(22, 27, 51, 0.35);
  border-bottom: 1px solid rgba(184, 147, 90, 0.12);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  height: 100%;
}

.brand {
  color: var(--cream);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.01em;
}

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

.nav a {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
}

.nav a:hover {
  color: var(--cream);
}

/* Desktop-first: hero fills the viewport under the overlay header */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: calc(var(--header-h) + 0.75rem) 0 1.25rem;
  overflow: hidden;
}

.hero-glow {
  position: absolute;
  inset: 8% 18% auto;
  height: 360px;
  background: radial-gradient(circle, rgba(184, 147, 90, 0.18), transparent 68%);
  filter: blur(28px);
  pointer-events: none;
}

.hero-inner {
  position: relative;
  width: var(--hero-col);
  max-width: 100%;
  margin-inline: auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: clamp(0.55rem, 1.4vh, 1rem);
}

.hero-logo {
  width: clamp(420px, 48vh, 460px);
  max-width: min(460px, 100%);
  height: auto;
  border-radius: 50%;
  background: #fff;
  box-shadow: var(--shadow), 0 0 0 1px rgba(184, 147, 90, 0.28);
  flex-shrink: 0;
}

.tagline {
  margin: 0;
  width: 100%;
  max-width: var(--hero-col);
  font-family: var(--serif);
  font-weight: 600;
  font-size: clamp(1.45rem, 2.4vh, 2.15rem);
  line-height: 1.18;
  color: var(--cream);
}

.player-card {
  width: 100%;
  max-width: var(--hero-col);
  background: linear-gradient(180deg, rgba(43, 51, 97, 0.55), rgba(30, 36, 68, 0.9));
  border: 1px solid var(--line);
  border-radius: calc(var(--radius) + 2px);
  padding: 0.65rem 0.65rem 0.45rem;
  box-shadow: var(--shadow);
  text-align: center;
  flex-shrink: 0;
}

.player-frame {
  position: relative;
  width: 100%;
  height: clamp(168px, 24vh, 220px);
  overflow: hidden;
  border-radius: 12px;
  background: #0f1222;
}

.player-frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.player-fallback {
  margin: 0.45rem 0 0.05rem;
  font-size: 0.82rem;
  color: var(--muted);
}

.hero-schedule {
  margin: 0;
  width: 100%;
  max-width: var(--hero-col);
  color: var(--muted);
  font-size: clamp(0.9rem, 1.5vh, 1.02rem);
  line-height: 1.4;
}

.hero-schedule strong {
  color: var(--cream);
  font-weight: 600;
}

.schedule-local {
  display: block;
  margin-top: 0.2rem;
  color: var(--muted);
  font-size: 0.9em;
}

.section {
  padding: 3.25rem 0;
}

.section h2 {
  margin: 0 0 1.5rem;
  font-family: var(--serif);
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 600;
}

.lineup-grid {
  display: grid;
  gap: 1rem;
}

.lineup-card {
  background: rgba(30, 36, 68, 0.72);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.25rem 1.3rem 1.35rem;
}

.lineup-num {
  display: inline-block;
  color: var(--gold);
  font-size: 0.8rem;
  letter-spacing: 0.14em;
  font-weight: 600;
}

.lineup-card h3 {
  margin: 0.35rem 0 0.4rem;
  font-family: var(--serif);
  font-size: 1.6rem;
  font-weight: 600;
}

.lineup-card p {
  margin: 0;
  color: var(--muted);
}

.clips-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.clip-card {
  background: rgba(30, 36, 68, 0.72);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  height: 100%;
  cursor: pointer;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.clip-card.is-playing {
  border-color: var(--gold);
  box-shadow: 0 0 0 1px rgba(184, 147, 90, 0.35), 0 16px 40px rgba(0, 0, 0, 0.28);
}

.clip-media {
  position: relative;
  aspect-ratio: 9 / 16;
  background: #0c0f1c;
  overflow: hidden;
}

.clip-media video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.clip-card.is-playing .clip-media video {
  object-fit: contain;
  background: #000;
}

.clip-card h3 {
  margin: 0.85rem 0.95rem 0.2rem;
  font-family: var(--serif);
  font-size: 1.25rem;
  font-weight: 600;
}

.clip-card p {
  margin: 0 0.95rem 1rem;
  color: var(--muted);
  font-size: 0.92rem;
  min-height: 2.8em;
}

.connect {
  padding-top: 2rem;
}

.connect-inner {
  text-align: center;
}

.socials {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
  padding: 0;
  margin: 0;
}

.socials a {
  display: inline-flex;
  min-width: 7.5rem;
  justify-content: center;
  padding: 0.7rem 1rem;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(30, 36, 68, 0.8);
  color: var(--cream);
  text-decoration: none;
  font-weight: 600;
}

.socials a:hover {
  border-color: var(--gold);
  color: var(--gold-bright);
}

.site-footer {
  border-top: 1px solid rgba(184, 147, 90, 0.18);
  padding: 1.6rem 0 2.2rem;
  margin-top: 1rem;
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.25rem;
  justify-content: space-between;
  align-items: center;
  color: var(--muted);
  font-size: 0.95rem;
}

.footer-inner p {
  margin: 0;
  color: var(--cream);
  font-family: var(--serif);
  font-size: 1.2rem;
}

/* Short desktop heights: keep logo in range but protect fit */
@media (max-height: 860px) and (min-width: 720px) {
  .hero-logo {
    width: clamp(420px, 48vh, 440px);
  }

  .player-frame {
    height: clamp(150px, 20vh, 190px);
  }

  .tagline {
    font-size: clamp(1.3rem, 2.1vh, 1.85rem);
  }

  .hero-inner {
    gap: clamp(0.45rem, 1.1vh, 0.85rem);
  }
}

@media (max-height: 760px) and (min-width: 720px) {
  .hero-logo {
    width: 400px;
  }

  .player-frame {
    height: 148px;
  }
}

@media (min-width: 720px) {
  .lineup-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .clips-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (min-width: 980px) {
  .clips-grid {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }
}

/* Mobile: roomy stacked hero, larger logo share of width */
@media (max-width: 719px) {
  .site-header {
    position: sticky;
    background: rgba(22, 27, 51, 0.78);
  }

  .hero {
    min-height: 0;
    display: block;
    padding: 2rem 0 2.75rem;
    overflow: visible;
  }

  .hero-inner {
    width: min(100%, 28rem);
    gap: 1.15rem;
  }

  .hero-logo {
    width: clamp(260px, 74vw, 360px);
    max-width: 74%;
  }

  .tagline {
    font-size: clamp(1.7rem, 6.2vw, 2.2rem);
    max-width: 16ch;
  }

  .player-card,
  .hero-schedule,
  .tagline {
    max-width: 100%;
  }

  .player-frame {
    height: clamp(220px, 52vw, 280px);
  }

  .nav {
    gap: 0.85rem;
  }

  .nav a {
    font-size: 0.85rem;
  }
}
