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

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

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

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

:root {
  color-scheme: dark;
  --bg: #07091a;
  --bg-raise: rgba(255, 248, 236, 0.045);
  --ink: #f6f1e7;
  --muted: #d5cfc3;
  --gold: #f3c15b;
  --gold-2: #ffe7ad;
  --red: #ff5d6c;
  --green: #3dcc8e;
  --blue: #7ecbff;
  --pink: #ff8ec8;
  --line: rgba(246, 241, 231, 0.14);
  --serif: Fraunces, Georgia, "Iowan Old Style", Palatino, serif;
  --sans: Outfit, "Avenir Next", "Segoe UI", sans-serif;
  --shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
  --header: 4.5rem;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  background:
    radial-gradient(ellipse 80% 50% at 10% -10%, rgba(243, 193, 91, 0.16), transparent 50%),
    radial-gradient(ellipse 50% 40% at 100% 0%, rgba(126, 203, 255, 0.12), transparent 46%),
    radial-gradient(ellipse 40% 30% at 80% 100%, rgba(255, 93, 108, 0.08), transparent 50%),
    var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.6;
}

img,
svg {
  max-width: 100%;
  height: auto;
}

a {
  color: var(--gold-2);
}

a:hover {
  color: white;
}

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

::selection {
  background: var(--gold);
  color: #1b1406;
}

.skip {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 80;
  background: var(--gold);
  color: #1b1406;
  text-decoration: none;
  font-weight: 600;
  padding: 0.6rem 1rem;
  border-radius: 999px;
}

.skip:focus {
  top: 0.75rem;
}

.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;
}

[hidden] {
  display: none !important;
}

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

.lights {
  display: flex;
  justify-content: space-between;
  gap: 0.35rem;
  padding: 0.45rem 0.6rem 0.35rem;
  overflow: hidden;
  position: relative;
}

.lights::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0.55rem;
  height: 2px;
  background: #2c3450;
}

.lights span {
  width: 0.72rem;
  height: 0.95rem;
  border-radius: 0.5rem 0.5rem 0.42rem 0.42rem;
  position: relative;
  transform-origin: center top;
  animation: twinkle 2.8s ease-in-out infinite;
}

.lights span::before {
  content: "";
  position: absolute;
  top: -0.38rem;
  left: 50%;
  width: 2px;
  height: 0.42rem;
  background: #465074;
  transform: translateX(-50%);
}

.lights span:nth-child(5n + 1) { background: var(--red); box-shadow: 0 8px 16px rgba(255, 93, 108, 0.55); }
.lights span:nth-child(5n + 2) { background: var(--gold); box-shadow: 0 8px 16px rgba(243, 193, 91, 0.5); }
.lights span:nth-child(5n + 3) { background: var(--green); box-shadow: 0 8px 16px rgba(61, 204, 142, 0.45); }
.lights span:nth-child(5n + 4) { background: var(--blue); box-shadow: 0 8px 16px rgba(126, 203, 255, 0.45); }
.lights span:nth-child(5n) { background: var(--pink); box-shadow: 0 8px 16px rgba(255, 142, 200, 0.45); }
.lights span:nth-child(odd) { transform: rotate(7deg); animation-delay: 0.4s; }
.lights span:nth-child(3n) { animation-delay: 1.1s; }

@keyframes twinkle {
  0%,
  100% { opacity: 0.72; filter: brightness(0.9); }
  50% { opacity: 1; filter: brightness(1.25); }
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(7, 9, 26, 0.86);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  min-height: var(--header);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  color: var(--ink);
  text-decoration: none;
  font-family: var(--serif);
  font-weight: 620;
  font-size: 1.15rem;
  letter-spacing: -0.02em;
  margin-right: auto;
}

.brand svg {
  width: 1.35rem;
  height: 1.35rem;
  flex: none;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.nav-toggle {
  display: none;
  width: 2.75rem;
  height: 2.75rem;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: transparent;
  color: var(--ink);
  cursor: pointer;
}

.burger,
.burger::before,
.burger::after {
  display: block;
  width: 1.05rem;
  height: 2px;
  background: currentColor;
  position: relative;
  border-radius: 2px;
}

.burger::before,
.burger::after {
  content: "";
  position: absolute;
  left: 0;
}

.burger::before { top: -6px; }
.burger::after { top: 6px; }

.nav-toggle[aria-expanded="true"] .burger { background: transparent; }
.nav-toggle[aria-expanded="true"] .burger::before { top: 0; transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] .burger::after { top: 0; transform: rotate(-45deg); }

.nav-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.15rem 0.35rem;
}

.nav-links a {
  color: var(--ink);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.98rem;
  padding: 0.55rem 0.45rem;
  border-radius: 999px;
}

.nav-links a:hover {
  color: var(--gold-2);
  background: rgba(243, 193, 91, 0.08);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.75rem;
  padding: 0.55rem 1.05rem;
  border-radius: 999px;
  border: 1px solid transparent;
  text-decoration: none;
  font-weight: 600;
  letter-spacing: 0.01em;
  line-height: 1.2;
}

.button-primary {
  background: var(--gold);
  color: #1b1406;
  box-shadow: 0 0 0 1px rgba(255, 231, 173, 0.4), 0 8px 28px rgba(243, 193, 91, 0.28);
}

.button-primary:hover {
  background: var(--gold-2);
  color: #1b1406;
}

.button-secondary {
  background: transparent;
  color: var(--ink);
  border-color: rgba(243, 193, 91, 0.55);
}

.button-secondary:hover {
  background: rgba(243, 193, 91, 0.1);
  color: white;
}

.button-small {
  min-height: 2.5rem;
  padding: 0.4rem 0.85rem;
  font-size: 0.92rem;
}

.hero {
  padding: 1.75rem 0 2.5rem;
}

.hero-grid {
  display: grid;
  gap: 1.5rem;
  align-items: center;
}

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

h1,
h2,
h3 {
  font-family: var(--serif);
  font-weight: 620;
  letter-spacing: -0.03em;
  line-height: 1.05;
}

h1 {
  margin: 0;
  font-size: clamp(3.4rem, 12vw, 6.4rem);
  line-height: 0.9;
}

.h1-glow {
  display: block;
  color: #fff6de;
  text-shadow: 0 0 22px rgba(243, 193, 91, 0.55), 0 0 64px rgba(243, 193, 91, 0.22);
}

h2 {
  margin: 0 0 0.75rem;
  font-size: clamp(2rem, 5vw, 3rem);
}

h3 {
  margin: 0 0 0.35rem;
  font-size: 1.35rem;
}

.lede,
.section p,
.card p,
.rule p,
.faq p {
  color: var(--muted);
}

.lede {
  font-size: 1.125rem;
  max-width: 38rem;
  margin: 1rem 0 0;
}

.tune {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem 1rem;
  margin-top: 1.25rem;
  padding: 0.85rem 1rem;
  border-radius: 1.25rem;
  background: linear-gradient(180deg, rgba(243, 193, 91, 0.14), rgba(255, 248, 236, 0.04));
  border: 1px solid rgba(243, 193, 91, 0.4);
  box-shadow: 0 0 32px rgba(243, 193, 91, 0.12);
}

.tune-freq {
  margin: 0;
  font-family: var(--serif);
  font-weight: 640;
  font-size: clamp(2.6rem, 8vw, 3.6rem);
  letter-spacing: -0.04em;
  line-height: 0.9;
  color: var(--gold-2);
  text-shadow: 0 0 18px rgba(243, 193, 91, 0.45);
}

.tune-freq span {
  font-family: var(--sans);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  margin-left: 0.25rem;
  color: var(--gold);
  text-shadow: none;
}

.tune-note {
  margin: 0;
  flex: 1 1 12rem;
  color: var(--ink);
}

.countdown {
  margin-top: 0.85rem;
  padding: 0.9rem;
  border-radius: 1.25rem;
  background: var(--bg-raise);
  border: 1px solid var(--line);
}

.countdown .kicker {
  margin-bottom: 0.65rem;
}

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

.tick {
  background: rgba(7, 9, 26, 0.55);
  border-radius: 0.9rem;
  padding: 0.65rem 0.4rem 0.55rem;
  text-align: center;
  border: 1px solid rgba(246, 241, 231, 0.06);
}

.tick-num {
  display: block;
  font-family: var(--serif);
  font-weight: 620;
  font-variant-numeric: tabular-nums;
  font-size: clamp(1.8rem, 6vw, 2.6rem);
  line-height: 1;
  color: white;
}

.tick-label {
  display: block;
  margin-top: 0.25rem;
  color: var(--muted);
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.countdown-detail,
.countdown-fallback,
.status-title {
  margin: 0.75rem 0 0;
}

.status-title {
  font-family: var(--serif);
  font-size: clamp(1.8rem, 4vw, 2.4rem);
  color: white;
  letter-spacing: -0.03em;
  line-height: 1.1;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-top: 1rem;
}

.hero-art {
  position: relative;
}

.hero-art::before {
  content: "";
  position: absolute;
  inset: 12% 8% auto;
  height: 70%;
  background: radial-gradient(circle, rgba(243, 193, 91, 0.22), transparent 68%);
  filter: blur(8px);
  z-index: 0;
}

.hero-art svg {
  position: relative;
  z-index: 1;
  width: min(100%, 460px);
  display: block;
  margin-inline: auto;
}

.win {
  transform-box: fill-box;
  transform-origin: center;
  animation: window-glow 3.2s ease-in-out infinite;
}

.win-b { animation-delay: 0.7s; }
.win-c { animation-delay: 1.3s; }
.bulb { animation: twinkle 2.4s ease-in-out infinite; }
.bulb:nth-child(odd) { animation-delay: 0.5s; }

@keyframes window-glow {
  0%,
  100% { opacity: 0.78; }
  50% { opacity: 1; }
}

.section {
  padding: 2.75rem 0;
  scroll-margin-top: calc(var(--header) + 0.75rem);
}

.section-head {
  max-width: 40rem;
  margin-bottom: 1.25rem;
}

.section-head p:last-child {
  margin-bottom: 0;
}

.facts,
.rules,
.visit-grid,
.photo-slots,
.placeholder-grid {
  display: grid;
  gap: 0.85rem;
}

.card,
.rule,
.panel,
.placeholder,
.faq details,
.map-frame {
  background: var(--bg-raise);
  border: 1px solid var(--line);
  border-radius: 1.25rem;
  box-shadow: var(--shadow);
}

.card,
.rule,
.panel {
  padding: 1.15rem 1.15rem 1.2rem;
}

.card strong,
.hours-range {
  color: white;
}

.hours-range {
  margin: 0.2rem 0 0.8rem;
  font-family: var(--serif);
  font-size: clamp(2rem, 6vw, 3.4rem);
  letter-spacing: -0.04em;
  line-height: 1;
}

.hours-range span {
  color: var(--gold);
}

.listen-layout {
  display: grid;
  gap: 0.85rem;
}

.freq-panel {
  padding: 1.25rem;
  text-align: center;
  background:
    radial-gradient(circle at 50% 0%, rgba(243, 193, 91, 0.2), transparent 55%),
    var(--bg-raise);
}

.freq-panel .tune-freq {
  font-size: clamp(4rem, 14vw, 6rem);
}

.steps,
.rules {
  list-style: none;
  margin: 0;
  padding: 0;
}

.steps li,
.rule {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.8rem;
  align-items: start;
}

.steps li {
  padding: 0.85rem 0;
  border-bottom: 1px solid var(--line);
}

.steps li:last-child {
  border-bottom: 0;
}

.step-num,
.rule-mark {
  width: 2.1rem;
  height: 2.1rem;
  border-radius: 999px;
  display: grid;
  place-items: center;
  font-weight: 600;
  color: #1b1406;
  background: var(--gold);
}

.rule {
  grid-template-columns: 1fr;
}

.rule h3::before {
  content: "";
  display: inline-block;
  width: 0.55rem;
  height: 0.7rem;
  margin-right: 0.45rem;
  border-radius: 0.4rem 0.4rem 0.3rem 0.3rem;
  background: var(--gold);
  box-shadow: 0 0 10px rgba(243, 193, 91, 0.8);
  vertical-align: -1px;
}

.visit-copy p:last-child,
.panel p:last-child,
.card p:last-child {
  margin-bottom: 0;
}

.address {
  font-style: normal;
  color: white;
  font-size: 1.2rem;
  line-height: 1.45;
  margin: 0 0 0.8rem;
}

.link-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin-top: 1rem;
}

.map-frame {
  overflow: hidden;
  min-height: 280px;
  box-shadow: 0 0 0 1px rgba(243, 193, 91, 0.28), var(--shadow);
}

.map-frame iframe {
  display: block;
  width: 100%;
  height: 320px;
  border: 0;
}

.placeholder {
  padding: 1.15rem;
  border-style: dashed;
  border-color: rgba(243, 193, 91, 0.45);
  box-shadow: none;
}

.photo-slot {
  min-height: 9rem;
  border-radius: 1rem;
  border: 1px dashed rgba(246, 241, 231, 0.2);
  display: grid;
  place-items: center;
  color: var(--muted);
  background:
    radial-gradient(circle at 50% 40%, rgba(243, 193, 91, 0.12), transparent 60%),
    rgba(7, 9, 26, 0.35);
}

.faq {
  display: grid;
  gap: 0.65rem;
}

.faq details {
  padding: 0.35rem 1rem;
  box-shadow: none;
}

.faq summary {
  cursor: pointer;
  font-weight: 600;
  color: white;
  min-height: 2.75rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  list-style: none;
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq summary::after {
  content: "+";
  color: var(--gold);
  font-family: var(--serif);
  font-size: 1.5rem;
  line-height: 1;
}

.faq details[open] summary::after {
  content: "–";
}

.faq details p {
  margin: 0 0 0.9rem;
}

.site-footer {
  padding: 1rem 0 2.5rem;
  color: var(--muted);
}

.footer-grid {
  display: grid;
  gap: 1rem;
  padding-top: 0.5rem;
}

.wordmark {
  margin: 0;
  font-family: var(--serif);
  font-size: 1.6rem;
  color: white;
  letter-spacing: -0.03em;
}

.site-footer a {
  color: var(--gold-2);
}

.legal {
  margin: 1.25rem 0 0;
  font-size: 0.9rem;
}

.missing {
  padding: 4rem 0 5rem;
}

.missing h1 {
  font-size: clamp(3rem, 10vw, 5rem);
}

@media (min-width: 520px) {
  .ticks {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (min-width: 760px) {
  .facts,
  .photo-slots {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

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

  .footer-grid {
    grid-template-columns: 1.4fr 1fr 1fr;
    align-items: start;
  }
}

@media (min-width: 960px) {
  .header-inner {
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: 1rem;
  }

  .brand {
    margin-right: 0;
  }

  .nav-links {
    justify-content: center;
  }

  .hero {
    padding: 2.5rem 0 3.5rem;
  }

  .hero-grid {
    grid-template-columns: minmax(0, 1.15fr) minmax(280px, 0.85fr);
    gap: 2rem;
  }

  .listen-layout {
    grid-template-columns: 0.8fr 1.2fr;
    align-items: center;
  }

  .visit-grid {
    grid-template-columns: 0.85fr 1.15fr;
  }

  .section {
    padding: 4rem 0;
  }
}

@media (max-width: 959px) {
  .js .nav-toggle {
    display: inline-flex;
  }

  .js .nav-links {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    flex-direction: column;
    gap: 0.15rem;
    padding: 0.4rem 1rem 1rem;
    background: rgba(7, 9, 26, 0.97);
    border-bottom: 1px solid var(--line);
  }

  .js .nav-links.is-open {
    display: flex;
  }

  .js .nav-links a {
    padding: 0.8rem 0.35rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }

  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}

@media print {
  body {
    background: white;
    color: black;
  }

  .lights,
  .hero-art,
  .nav-toggle,
  .map-frame {
    display: none;
  }

  a { color: black; }
}
