@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Libre+Caslon+Display&display=swap');

:root {
  --ink: #17120c;
  --ink-soft: #2b2116;
  --gold: #e9b53e;
  --gold-light: #ffd978;
  --cream: #fff2cf;
  --cream-soft: #f8e4b2;
  --line: rgba(255, 224, 147, .55);
  --glass: rgba(20, 15, 9, .72);
  --glass-strong: rgba(18, 13, 8, .9);
  --shadow: 0 18px 50px rgba(0, 0, 0, .28);
  --serif: 'Libre Caslon Display', Georgia, serif;
  --sans: 'DM Sans', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

* { box-sizing: border-box; }

html {
  min-width: 320px;
  scroll-behavior: smooth;
  background: var(--ink);
}

body {
  min-height: 100vh;
  margin: 0;
  color: var(--cream);
  font-family: var(--sans);
  line-height: 1.6;
  background: var(--ink);
}

body::before {
  content: '';
  position: fixed;
  inset: 0;
  z-index: -2;
  background-image: url('/assets/hoppy-trails-cinematic.webp');
  background-position: center top;
  background-repeat: no-repeat;
  background-size: cover;
}

body::after {
  content: '';
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(13, 9, 5, .12) 0%, rgba(13, 9, 5, .2) 44%, rgba(13, 9, 5, .44) 100%);
}

button,
input,
select { font: inherit; }

button,
select,
a { -webkit-tap-highlight-color: transparent; }

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

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
summary:focus-visible,
video:focus-visible {
  outline: 3px solid var(--cream);
  outline-offset: 4px;
}

svg {
  width: 1.25rem;
  height: 1.25rem;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.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-link {
  position: fixed;
  z-index: 100;
  top: .75rem;
  left: .75rem;
  padding: .7rem 1rem;
  color: var(--ink);
  background: var(--gold-light);
  border-radius: .4rem;
  transform: translateY(-180%);
}

.skip-link:focus { transform: translateY(0); }

.site-header,
body > header:not(.legal-hero),
.music-bar,
main,
.site-footer,
body > footer {
  width: min(1180px, calc(100% - 40px));
  margin-inline: auto;
}

.site-header,
body > header:not(.legal-hero) {
  position: relative;
  z-index: 20;
  min-height: 88px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 28px;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  color: var(--ink);
  text-decoration: none;
  font-weight: 700;
  letter-spacing: .085em;
  text-shadow: 0 1px 1px var(--cream), 0 0 10px var(--gold);
  -webkit-text-stroke: .45px var(--gold);
  paint-order: stroke fill;
}

.brand-mark {
  width: 43px;
  height: 43px;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  color: var(--gold-light);
  background: var(--ink);
  border: 1px solid var(--gold);
  border-radius: 50%;
  box-shadow: 0 4px 18px rgba(0, 0, 0, .25);
}

.brand-mark svg { width: 27px; height: 27px; }

.brand-copy { display: grid; line-height: 1.15; }
.brand-copy strong { font-size: .95rem; white-space: nowrap; }
.brand-copy small {
  margin-top: 4px;
  color: var(--cream);
  font-size: .7rem;
  font-weight: 600;
  letter-spacing: .075em;
  text-shadow: 0 2px 8px var(--ink), 0 0 12px var(--ink);
  -webkit-text-stroke: .25px var(--ink);
}

.primary-nav,
body > header:not(.site-header) nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(13px, 2.4vw, 30px);
}

.primary-nav a,
body > header:not(.site-header) nav a {
  position: relative;
  color: var(--ink);
  font-size: .87rem;
  font-weight: 700;
  text-decoration: none;
  text-shadow: 0 1px 1px var(--cream), 0 0 10px var(--gold);
  -webkit-text-stroke: .35px var(--gold);
}

.primary-nav a::after,
body > header:not(.site-header) nav a::after {
  content: '';
  position: absolute;
  left: 0;
  right: 100%;
  bottom: -6px;
  height: 2px;
  background: var(--ink);
  transition: right .2s ease;
}

.primary-nav a:hover::after,
body > header:not(.site-header) nav a:hover::after { right: 0; }

.select-shell {
  position: relative;
  display: block;
}

.select-shell select {
  width: 100%;
  appearance: none;
  padding: .72rem 2.65rem .72rem 1rem;
  color: var(--cream);
  font-size: .82rem;
  font-weight: 700;
  background: var(--glass-strong);
  border: 1px solid var(--gold);
  border-radius: 999px;
  cursor: pointer;
  box-shadow: 0 8px 22px rgba(0, 0, 0, .22);
}

.select-shell > svg {
  position: absolute;
  top: 50%;
  right: .9rem;
  width: 1rem;
  height: 1rem;
  color: var(--gold-light);
  pointer-events: none;
  transform: translateY(-50%);
}

.issue-shell { width: min(260px, 26vw); }
.nav-toggle { display: none; }

.music-bar {
  position: relative;
  z-index: 10;
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  margin-top: 14px;
  padding: 13px 18px;
  color: var(--cream);
  background: linear-gradient(90deg, rgba(20, 14, 8, .92), rgba(20, 14, 8, .72), rgba(20, 14, 8, .92));
  border: 1px solid rgba(233, 181, 62, .7);
  border-radius: 12px;
  box-shadow: var(--shadow);
}

.music-title,
.music-controls {
  display: flex;
  align-items: center;
  gap: 12px;
}

.music-title svg { color: var(--gold); width: 1.45rem; height: 1.45rem; }
.music-title h2 { margin: 0; color: var(--gold-light); font-size: 1rem; letter-spacing: .04em; }
.music-select-shell { width: 225px; }

.local-station-search { position: relative; }
.local-station-search label { position: absolute; width: 1px; height: 1px; overflow: hidden; }
.local-station-search input {
  width: 155px;
  padding: .69rem .9rem;
  color: var(--cream);
  background: rgba(12, 9, 5, .92);
  border: 1px solid var(--gold);
  border-radius: 999px;
}
.local-station-search input::placeholder { color: rgba(255, 242, 207, .7); }

.trail-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: .66rem 1.1rem;
  color: var(--ink);
  font-size: .82rem;
  font-weight: 800;
  text-decoration: none;
  background: linear-gradient(180deg, var(--gold-light), var(--gold));
  border: 1px solid #8c641b;
  border-radius: 999px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, .22);
  cursor: pointer;
  transition: transform .18s ease, box-shadow .18s ease, filter .18s ease;
}

.trail-button:hover {
  filter: brightness(1.05);
  transform: translateY(-2px);
  box-shadow: 0 12px 26px rgba(0, 0, 0, .3);
}

.music-status {
  min-width: 180px;
  margin: 0;
  color: var(--cream-soft);
  font-size: .74rem;
}

.mobile-music-help { display: none; }

.home-page main { padding: 36px 0 26px; }

.experience-intro {
  max-width: 780px;
  margin: 0 auto 34px;
  text-align: center;
}

.trail-line {
  margin: 0 0 8px;
  color: var(--ink);
  font-size: .76rem;
  font-weight: 800;
  letter-spacing: .18em;
  text-transform: uppercase;
  text-shadow: 0 1px 1px var(--cream), 0 0 14px var(--gold);
  -webkit-text-stroke: .35px var(--gold);
}

.trail-line span { color: var(--gold); }

.experience-intro h1 {
  margin: 0;
  color: var(--gold-light);
  font-family: var(--serif);
  font-size: clamp(2.55rem, 6vw, 5.1rem);
  font-weight: 400;
  line-height: .98;
  letter-spacing: -.035em;
  text-shadow: 0 3px 12px var(--ink), 0 0 28px var(--ink);
  -webkit-text-stroke: .7px var(--ink);
  paint-order: stroke fill;
}

.experience-intro > p:last-child {
  max-width: 610px;
  margin: 18px auto 0;
  color: var(--cream);
  font-size: clamp(1rem, 2vw, 1.2rem);
  font-weight: 600;
  text-shadow: 0 2px 10px var(--ink), 0 0 18px var(--ink);
  -webkit-text-stroke: .25px var(--ink);
}

.featured-grid {
  display: grid;
  grid-template-columns: minmax(185px, .68fr) minmax(430px, 1.65fr) minmax(185px, .68fr);
  gap: clamp(16px, 2vw, 26px);
  align-items: center;
}

.app-notice {
  min-height: 330px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 26px 14px;
  color: var(--cream);
  text-align: center;
  text-decoration: none;
  text-shadow: 0 2px 10px var(--ink), 0 0 16px var(--ink);
  transition: transform .22s ease;
}

.app-notice:hover { transform: translateY(-5px); }

.notice-icon {
  width: 57px;
  height: 57px;
  display: grid;
  place-items: center;
  margin-bottom: 15px;
  color: var(--gold-light);
  background: var(--ink);
  border: 1px solid var(--gold);
  border-radius: 50%;
  box-shadow: 0 10px 30px rgba(0, 0, 0, .32);
}

.notice-icon svg { width: 30px; height: 30px; }

.notice-status {
  margin-bottom: 5px;
  color: var(--ink);
  font-size: .7rem;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
  text-shadow: 0 1px 1px var(--cream), 0 0 12px var(--gold);
  -webkit-text-stroke: .35px var(--gold);
}

.app-notice h2 {
  margin: 2px 0 10px;
  color: var(--gold-light);
  font-family: var(--serif);
  font-size: clamp(1.65rem, 2.4vw, 2.2rem);
  font-weight: 400;
  line-height: 1.05;
  -webkit-text-stroke: .45px var(--ink);
}

.app-notice p {
  max-width: 230px;
  margin: 0;
  color: var(--cream);
  font-size: .88rem;
  font-weight: 600;
  line-height: 1.5;
}

.notice-link {
  margin-top: 15px;
  color: var(--gold-light);
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .05em;
  text-transform: uppercase;
}

.commercial-stage {
  position: relative;
  padding: 14px;
  background: rgba(16, 11, 6, .92);
  border: 1px solid var(--gold);
  border-radius: 13px;
  box-shadow: 0 28px 65px rgba(0, 0, 0, .42), 0 0 0 5px rgba(23, 18, 12, .4);
}

.commercial-stage::before {
  content: '';
  position: absolute;
  inset: -6px;
  z-index: -1;
  border: 1px solid rgba(255, 217, 120, .3);
  border-radius: 17px;
}

.commercial-heading {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 15px;
  padding: 1px 2px 11px;
}

.commercial-heading p {
  margin: 0;
  color: var(--gold);
  font-size: .68rem;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.commercial-heading h2 {
  margin: 0;
  color: var(--cream);
  font-family: var(--serif);
  font-size: clamp(1rem, 2vw, 1.4rem);
  font-weight: 400;
  text-align: right;
}

.commercial-stage video {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  background: #000;
  border-radius: 7px;
}

.trail-actions {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  margin-top: 48px;
}

.trail-actions details,
.merch-coming-soon {
  min-height: 84px;
  color: var(--cream);
  background: rgba(17, 12, 7, .78);
  border-top: 1px solid var(--gold);
  border-bottom: 1px solid var(--gold);
  box-shadow: 0 12px 28px rgba(0, 0, 0, .2);
}

.trail-actions summary {
  min-height: 82px;
  display: grid;
  grid-template-columns: 1fr auto;
  align-content: center;
  column-gap: 12px;
  padding: 15px 18px;
  cursor: pointer;
  list-style: none;
}

.trail-actions summary::-webkit-details-marker { display: none; }
.trail-actions summary span {
  grid-column: 1;
  color: var(--cream-soft);
  font-size: .7rem;
  font-weight: 600;
  letter-spacing: .07em;
  text-transform: uppercase;
}
.trail-actions summary strong {
  grid-column: 1;
  color: var(--gold-light);
  font-family: var(--serif);
  font-size: 1.45rem;
  font-weight: 400;
  line-height: 1.15;
}
.trail-actions summary svg {
  grid-column: 2;
  grid-row: 1 / 3;
  align-self: center;
  color: var(--gold);
  transition: transform .2s ease;
}
.trail-actions details[open] summary svg { transform: rotate(180deg); }

.dropdown-content {
  padding: 0 18px 20px;
  border-top: 1px solid rgba(233, 181, 62, .25);
}
.dropdown-content p { margin: 16px 0; font-size: .88rem; }

.flyer-dialog {
  width: min(760px, calc(100% - 28px));
  max-height: calc(100vh - 28px);
  padding: 0;
  color: var(--cream);
  background: transparent;
  border: 0;
  overflow: visible;
}

.flyer-dialog-wide { width: min(1180px, calc(100% - 28px)); }

.flyer-dialog::backdrop {
  background: rgba(9, 6, 3, .86);
  backdrop-filter: blur(7px);
}

.flyer-dialog-panel {
  max-height: calc(100vh - 28px);
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto;
  background: #17120c;
  border: 1px solid var(--gold);
  border-radius: 14px;
  box-shadow: 0 28px 90px rgba(0, 0, 0, .7);
  overflow: hidden;
}

.flyer-dialog-header,
.flyer-dialog-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 14px 18px;
  background: #17120c;
}

.flyer-dialog-header { border-bottom: 1px solid rgba(233, 181, 62, .45); }
.flyer-dialog-header p {
  margin: 0 0 2px;
  color: var(--gold);
  font-size: .67rem;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
}
.flyer-dialog-header h2 {
  margin: 0;
  color: var(--gold-light);
  font-family: var(--serif);
  font-size: clamp(1.35rem, 4vw, 1.9rem);
  font-weight: 400;
  line-height: 1.1;
}

.flyer-close {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  color: var(--gold-light);
  background: transparent;
  border: 1px solid var(--gold);
  border-radius: 50%;
  cursor: pointer;
}

.flyer-image-wrap {
  min-height: 0;
  padding: 12px;
  overflow: auto;
  background: #090603;
}
.flyer-image-wrap img {
  width: min(100%, 610px);
  height: auto;
  display: block;
  margin: 0 auto;
  border-radius: 6px;
  box-shadow: 0 12px 40px rgba(0, 0, 0, .45);
}
.flyer-image-wide img { width: 100%; max-width: none; }

.flyer-dialog-actions {
  justify-content: flex-end;
  border-top: 1px solid rgba(233, 181, 62, .45);
}
.flyer-secondary {
  min-height: 42px;
  padding: .66rem 1.1rem;
  color: var(--cream);
  font-size: .82rem;
  font-weight: 800;
  background: transparent;
  border: 1px solid rgba(255, 242, 207, .55);
  border-radius: 999px;
  cursor: pointer;
  text-decoration: none;
}

.merch-coming-soon {
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 15px 18px;
}
.merch-coming-soon > svg { color: var(--gold); width: 1.7rem; height: 1.7rem; }
.merch-coming-soon span { display: grid; }
.merch-coming-soon small {
  color: var(--cream-soft);
  font-size: .7rem;
  font-weight: 600;
  letter-spacing: .07em;
  text-transform: uppercase;
}
.merch-coming-soon strong {
  color: var(--gold-light);
  font-family: var(--serif);
  font-size: 1.18rem;
  font-weight: 400;
  line-height: 1.25;
}

.site-footer,
body > footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 25px 0 35px;
  color: var(--cream);
  font-size: .76rem;
  font-weight: 600;
  text-shadow: 0 2px 10px var(--ink), 0 0 15px var(--ink);
  border-top: 1px solid var(--line);
}
.site-footer p,
body > footer p { margin: 0; }
.site-footer nav,
body > footer nav { display: flex; gap: 16px; }
.site-footer a,
body > footer a { color: var(--gold-light); text-decoration: none; }

/* Readable treatment for preserved interior pages. */
body:not(.home-page) main {
  padding: 50px 0 64px;
}

body:not(.home-page) .hero,
body:not(.home-page) .card,
body:not(.home-page) .section-block,
body:not(.home-page) .notice,
body:not(.home-page) .legal-page {
  max-width: 980px;
  margin: 0 auto 28px;
  padding: clamp(24px, 5vw, 52px);
  color: var(--cream);
  background: var(--glass-strong);
  border: 1px solid rgba(233, 181, 62, .5);
  border-radius: 12px;
  box-shadow: var(--shadow);
}

body:not(.home-page) h1,
body:not(.home-page) h2,
body:not(.home-page) h3 { color: var(--gold-light); }
body:not(.home-page) h1,
body:not(.home-page) h2 { font-family: var(--serif); font-weight: 400; line-height: 1.08; }
body:not(.home-page) h1 { font-size: clamp(2.4rem, 7vw, 4.8rem); }
body:not(.home-page) h2 { font-size: clamp(1.55rem, 4vw, 2.35rem); }
body:not(.home-page) .kicker,
body:not(.home-page) .status-label { color: var(--gold); font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
body:not(.home-page) .button {
  display: inline-flex;
  margin: 8px 8px 8px 0;
  padding: .75rem 1.15rem;
  color: var(--ink);
  font-weight: 800;
  text-decoration: none;
  background: var(--gold);
  border-radius: 999px;
}
body:not(.home-page) table { width: 100%; border-collapse: collapse; }
body:not(.home-page) th,
body:not(.home-page) td { padding: 12px; text-align: left; border-bottom: 1px solid rgba(233, 181, 62, .3); }
body:not(.home-page) address { font-style: normal; }

@media (max-width: 980px) {
  .site-header,
  body > header:not(.legal-hero) { grid-template-columns: auto 1fr; }
  .primary-nav,
  body > header:not(.site-header) nav { order: 3; grid-column: 1 / -1; }
  .issue-shell { justify-self: end; width: 270px; }
  .music-bar { align-items: flex-start; }
  .music-controls { flex-wrap: wrap; justify-content: flex-end; }
  .music-status { width: 100%; text-align: right; }
  .featured-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .commercial-stage { grid-column: 1 / -1; grid-row: 1; width: min(760px, 100%); justify-self: center; }
  .app-notice { min-height: 260px; }
}

@media (max-width: 720px) {
  .site-header,
  body > header:not(.legal-hero),
  .music-bar,
  main,
  .site-footer,
  body > footer { width: min(100% - 24px, 1180px); }

  body::before { background-position: 52% top; }
  .site-header { grid-template-columns: 1fr auto; gap: 12px; }
  .brand-copy strong { font-size: .82rem; }
  .brand-copy small { font-size: .61rem; }
  .nav-toggle {
    width: 43px;
    height: 43px;
    display: grid;
    align-content: center;
    gap: 5px;
    padding: 10px;
    color: var(--gold);
    background: var(--ink);
    border: 1px solid var(--gold);
    border-radius: 50%;
  }
  .nav-toggle span:not(.sr-only) { height: 2px; display: block; background: currentColor; }
  .primary-nav {
    display: none;
    grid-column: 1 / -1;
    flex-direction: column;
    align-items: flex-start;
    padding: 16px;
    background: var(--glass-strong);
    border: 1px solid var(--gold);
    border-radius: 10px;
  }
  .primary-nav.is-open { display: flex; }
  .primary-nav a { color: var(--gold-light); text-shadow: none; -webkit-text-stroke: 0; }
  .issue-shell { grid-column: 1 / -1; width: 100%; }

  .music-bar { flex-direction: column; gap: 13px; }
  .music-controls { width: 100%; justify-content: flex-start; }
  .music-select-shell { flex: 1 1 220px; }
  .music-status { width: auto; text-align: left; }
  .home-page main { padding-top: 28px; }
  .experience-intro { margin-bottom: 20px; }
  .featured-grid,
  .trail-actions { grid-template-columns: 1fr; }
  .commercial-stage,
  .app-notice { grid-column: auto; grid-row: auto; }
  .commercial-stage { order: -1; }
  .app-notice { min-height: 230px; }
  .trail-actions { margin-top: 28px; }
  .site-footer,
  body > footer { flex-direction: column; align-items: flex-start; }

  body:not(.home-page) header { grid-template-columns: 1fr; }
  body:not(.home-page) header nav { flex-wrap: wrap; justify-content: flex-start; }
}

@media (max-width: 560px) {
  .mobile-music-help { display: block; }
}

@media (max-width: 480px) {
  .brand-mark { width: 38px; height: 38px; }
  .brand-copy small { display: none; }
  .music-controls > * { width: 100%; flex-basis: 100%; }
  .local-station-search input { width: 100%; }
  .commercial-heading { display: block; }
  .commercial-heading h2 { margin-top: 4px; text-align: left; }
  .experience-intro h1 { font-size: 2.6rem; }
  .flyer-dialog {
    width: calc(100% - 14px);
    max-height: calc(100vh - 14px);
  }
  .flyer-dialog-panel { max-height: calc(100vh - 14px); }
  .flyer-dialog-header,
  .flyer-dialog-actions { padding: 11px 12px; }
  .flyer-image-wrap { padding: 7px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
}
