/* ==========================================================================
   Lights on Locust - styles
   Three themes, switched by <html data-theme="...">. Flat colors, no glow.
   ========================================================================== */

:root {
  --font-display: "Rye", Georgia, "Times New Roman", serif;
  --font-body: "Source Sans 3", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --bg: #0b0907;
  --surface: #16120e;
  --surface-2: #1f1913;
  --line: #3a2e22;
  --text: #f1e6cc;
  --muted: #b9a98a;
  --accent: #e8761a;
  --accent-ink: #1a0f05;
  --accent-2: #7d9a8a;
  --on: #5fd17a;
  --off: #c4573f;
}

html[data-theme="generic"] {
  --bg: #0a0f1a;
  --surface: #111827;
  --surface-2: #19223a;
  --line: #2b3857;
  --text: #f3ead6;
  --muted: #a9b2c6;
  --accent: #f2b84b;
  --accent-ink: #1b1403;
  --accent-2: #8aa4c8;
}

html[data-theme="christmas"] {
  --bg: #0b110d;
  --surface: #121b15;
  --surface-2: #1a261e;
  --line: #2f4535;
  --text: #f4ecd8;
  --muted: #aebba7;
  --accent: #c0463a;
  --accent-ink: #fff6e6;
  --accent-2: #d9b45a;
}

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

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

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.55;
}

img { max-width: 100%; display: block; }
a { color: var(--accent-2); }
a:hover { color: var(--text); }
[hidden] { display: none !important; }

h1, h2, h3 { line-height: 1.15; margin: 0 0 .6em; }
h2 { font-family: var(--font-display); font-weight: 400; font-size: clamp(1.5rem, 4.5vw, 2rem); letter-spacing: .02em; }
h3 { font-size: 1.1rem; }
p { margin: 0 0 1em; }
.muted { color: var(--muted); font-size: .95rem; }

.wrap { width: min(100% - 2rem, 62rem); margin-inline: auto; }
.section { padding-block: 1.5rem; }

.skip {
  position: absolute; left: -999px; top: 0;
  background: var(--accent); color: var(--accent-ink); padding: .5rem 1rem; z-index: 100;
}
.skip:focus { left: 0; }

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

/* ---- Top nav ----------------------------------------------------------- */
.topbar {
  position: sticky; top: 0; z-index: 20;
  background: var(--bg);
  border-bottom: 1px solid var(--line);
}
.nav {
  width: min(100% - 1rem, 70rem); margin-inline: auto;
  display: flex; align-items: center; justify-content: space-between;
  gap: .5rem; padding: .4rem 0;
}
.nav__brand {
  display: flex; align-items: center; gap: .6rem;
  color: var(--text); text-decoration: none;
  font-family: var(--font-display); font-size: 1.05rem;
}
.nav__brand img { border-radius: 50%; }
.nav__links { display: flex; gap: .25rem; }
.nav__links a {
  color: var(--text); text-decoration: none; font-weight: 600; font-size: .9rem;
  padding: .55rem .7rem; border-radius: .4rem;
  text-transform: uppercase; letter-spacing: .06em;
}
.nav__links a:hover { background: var(--surface-2); }

@media (max-width: 40rem) {
  .nav { flex-direction: column; align-items: stretch; }
  .nav__brand { justify-content: center; }
  .nav__links { justify-content: center; flex-wrap: wrap; }
  .nav__links a { font-size: .8rem; padding: .5rem .55rem; }
}

/* ---- Notice ------------------------------------------------------------ */
.notice {
  background: var(--accent); color: var(--accent-ink);
  text-align: center; font-weight: 700; padding: .8rem 1rem;
}

/* ---- Hero -------------------------------------------------------------- */
.hero {
  position: relative; overflow: hidden;
  background: var(--bg);
}
.hero__img {
  width: 100%;
  aspect-ratio: 2100 / 740;
  object-fit: cover;
  object-position: center;
  min-height: 15rem;          /* on phones the sides crop, the center stays */
}
.hero__fade {
  position: absolute; inset: auto 0 0 0; height: 30%;
  background: linear-gradient(to bottom, transparent, var(--bg));
  pointer-events: none;
}
.hero__text {
  position: absolute; inset: 0;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center; padding: 1rem;
}
.hero__title {
  font-family: var(--font-display); font-weight: 400;
  font-size: clamp(2rem, 8vw, 4.75rem);
  letter-spacing: .02em; margin: 0;
  color: var(--text);
  text-shadow: 0 3px 0 rgba(0,0,0,.65);
}
.hero__tag {
  margin: .5rem 0 0; font-weight: 600;
  font-size: clamp(.95rem, 2.6vw, 1.25rem);
  color: var(--text); text-shadow: 0 2px 0 rgba(0,0,0,.7);
}
.hero--no-overlay .hero__text { display: none; }

/* ---- Status + buttons -------------------------------------------------- */
.action { padding-block: 1.25rem .5rem; }

.status {
  display: flex; align-items: center; gap: 1rem;
  background: var(--surface); border: 2px solid var(--line);
  border-radius: .9rem; padding: 1rem 1.25rem; margin-bottom: 1rem;
}
.status__dot {
  width: 1.25rem; height: 1.25rem; border-radius: 50%;
  background: var(--off); flex: none;
}
.status__label {
  margin: 0; font-family: var(--font-display);
  font-size: 1.6rem; letter-spacing: .05em; line-height: 1;
}
.status__sub { margin: .35rem 0 0; color: var(--muted); }
.status[data-state="on"] { border-color: var(--on); }
.status[data-state="on"] .status__dot { background: var(--on); animation: pulse 1.8s ease-in-out infinite; }
.status[data-state="on"] .status__label { color: var(--on); }
.status[data-state="off"] .status__label { color: var(--off); }

@keyframes pulse { 50% { opacity: .35; } }
@media (prefers-reduced-motion: reduce) {
  .status__dot { animation: none !important; }
  html { scroll-behavior: auto; }
}

.live {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: .9rem; padding: 1rem 1.25rem; margin-bottom: 1rem;
  display: grid; gap: 1rem;
}
@media (min-width: 40rem) { .live { grid-template-columns: 1.2fr 1fr; } .live__queue { grid-column: 2; grid-row: 1 / span 2; } }
.live p { margin: 0; }
.live__label { color: var(--accent); font-weight: 700; text-transform: uppercase; letter-spacing: .08em; font-size: .8rem; margin-bottom: .25rem !important; }
.live__song { font-family: var(--font-display); font-size: 1.5rem; line-height: 1.2; }
.live__artist { color: var(--muted); }
.live__queue ol { margin: 0; padding-left: 1.4rem; }
.live__queue li { padding: .15rem 0; }

.buttons { display: grid; gap: .8rem; grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr)); }

.btn {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center; text-decoration: none;
  min-height: 4.5rem; padding: 1rem 1.25rem;
  border-radius: .9rem; border: 2px solid var(--accent);
  transition: transform .08s ease;
}
.btn:active { transform: scale(.98); }
.btn__big { font-family: var(--font-display); font-size: 1.45rem; letter-spacing: .03em; }
.btn__small { font-size: .95rem; opacity: .85; }
.btn--primary { background: var(--accent); color: var(--accent-ink); }
.btn--primary:hover { background: var(--text); border-color: var(--text); color: var(--bg); }
.btn--secondary { background: transparent; color: var(--text); }
.btn--secondary:hover { background: var(--surface-2); color: var(--text); }
.btn--form { min-height: 3.25rem; font-weight: 700; font-size: 1.05rem; width: 100%; cursor: pointer; font-family: var(--font-body); }

/* ---- Sections ---------------------------------------------------------- */
.steps {
  list-style: none; margin: 0; padding: 0;
  display: grid; gap: .8rem; counter-reset: step;
}
@media (min-width: 40rem) { .steps { grid-template-columns: repeat(3, 1fr); } }
.steps li {
  counter-increment: step;
  background: var(--surface); border: 1px solid var(--line);
  border-radius: .8rem; padding: 1rem 1rem 1rem 3.4rem; position: relative;
}
.steps li::before {
  content: counter(step);
  position: absolute; left: 1rem; top: 1rem;
  width: 1.7rem; height: 1.7rem; border-radius: 50%;
  background: var(--accent); color: var(--accent-ink);
  display: grid; place-items: center; font-weight: 700;
}
.steps strong { display: block; }
.steps span { color: var(--muted); }

.psa {
  background: var(--surface); border: 2px solid var(--accent);
  border-radius: 1rem; padding: 1.25rem;
}
.psa__list {
  list-style: none; margin: 0 0 1rem; padding: 0;
  display: grid; gap: .6rem;
}
@media (min-width: 40rem) { .psa__list { grid-template-columns: 1fr 1fr; } }
.psa__list li {
  display: flex; gap: .8rem; align-items: center;
  background: var(--surface-2); border-radius: .6rem; padding: .7rem .9rem;
}
.psa__icon { font-size: 1.6rem; line-height: 1; flex: none; }
.psa__thanks { margin: 0; font-weight: 600; text-align: center; }

.two { display: grid; gap: 1rem; }
@media (min-width: 48rem) { .two { grid-template-columns: 1fr 1fr; } }

.card {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: 1rem; padding: 1.25rem;
}

.hours { width: 100%; border-collapse: collapse; margin-bottom: .75rem; }
.hours th, .hours td { text-align: left; padding: .45rem .25rem; border-bottom: 1px solid var(--line); }
.hours th { font-weight: 600; width: 7rem; white-space: nowrap; }
.hours tr.is-today th, .hours tr.is-today td { color: var(--accent); font-weight: 700; }
.hours .closed { color: var(--muted); }

.listen { margin-top: 1rem; padding-top: 1rem; border-top: 1px solid var(--line); }

.about p { max-width: 42rem; }

.notes { display: grid; gap: .8rem; }
.note {
  margin: 0; background: var(--surface); border-left: 4px solid var(--accent);
  border-radius: .4rem; padding: 1rem 1.25rem;
}
.note p { margin: 0 0 .4em; }
.note cite { color: var(--muted); font-style: normal; font-weight: 600; }

/* ---- Footer ------------------------------------------------------------ */
.footer {
  margin-top: 2rem; padding: 1.5rem 0 calc(2rem + env(safe-area-inset-bottom));
  border-top: 1px solid var(--line); text-align: center;
}
.social { list-style: none; margin: 0 0 1rem; padding: 0; display: flex; flex-wrap: wrap; gap: .5rem; justify-content: center; }
.social a {
  display: inline-block; padding: .55rem 1rem; border: 1px solid var(--line);
  border-radius: 99px; text-decoration: none; color: var(--text); font-weight: 600;
}
.social a:hover { background: var(--surface-2); }

/* ---- Contact dialog ---------------------------------------------------- */
.modal {
  width: min(100% - 2rem, 28rem);
  background: var(--surface); color: var(--text);
  border: 2px solid var(--accent); border-radius: 1rem; padding: 1.5rem;
}
.modal::backdrop { background: rgba(0,0,0,.75); }
.modal__close {
  position: absolute; top: .5rem; right: .75rem;
  background: none; border: 0; color: var(--text);
  font-size: 2rem; line-height: 1; cursor: pointer; padding: .25rem .5rem;
}
.modal label { display: block; margin-bottom: 1rem; font-weight: 600; }
.modal input[type="text"], .modal input[type="email"], .modal textarea {
  display: block; width: 100%; margin-top: .3rem;
  background: var(--bg); color: var(--text);
  border: 1px solid var(--line); border-radius: .5rem;
  padding: .7rem; font: inherit;
}
.hp { position: absolute; left: -9999px; }
.form__msg { margin: .75rem 0 0; min-height: 1.5em; }
