:root {
  --purple: #3213a7;
  --purple-dark: #1c0b68;
  --blue: #1754c8;
  --orange: #f26a21;
  --pink: #ed2667;
  --teal: #14a6a4;
  --yellow: #ffc323;
  --ink: #16133a;
  --muted: #625e79;
  --paper: #fffdf8;
  --soft: #f4f0ff;
  --line: #ded8ef;
  --shadow: 0 18px 55px rgba(38, 20, 100, .14);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.55;
}
img { display: block; max-width: 100%; }
a { color: inherit; }
.wrap { width: min(1180px, calc(100% - 40px)); margin-inline: auto; }
.skip-link { position: fixed; left: 1rem; top: -5rem; z-index: 100; padding: .7rem 1rem; background: white; border-radius: 8px; }
.skip-link:focus { top: 1rem; }

.site-header {
  min-height: 72px;
  padding: 12px clamp(20px, 4vw, 60px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgba(50, 19, 167, .12);
  background: rgba(255, 253, 248, .94);
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(12px);
}
.brand { display: flex; gap: 10px; align-items: center; text-decoration: none; font-weight: 800; }
.brand-mark { display: grid; place-items: center; width: 42px; height: 42px; color: white; border-radius: 14px; background: var(--purple); font-size: .82rem; }
.back-link { font-weight: 800; color: var(--purple); text-decoration: none; }

.hero {
  min-height: 680px;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(360px, .92fr);
  align-items: center;
  gap: 5vw;
  padding: clamp(70px, 9vw, 120px) max(20px, calc((100vw - 1180px) / 2));
  overflow: hidden;
  background:
    radial-gradient(circle at 85% 25%, rgba(255,195,35,.3), transparent 22%),
    radial-gradient(circle at 65% 80%, rgba(20,166,164,.2), transparent 25%),
    linear-gradient(135deg, #fff9ee, #f6f1ff);
}
.eyebrow { margin: 0 0 .75rem; color: var(--purple); font-weight: 900; letter-spacing: .12em; text-transform: uppercase; font-size: .78rem; }
.eyebrow.light { color: #d9ceff; }
h1, h2, h3 { margin: 0; line-height: 1.02; letter-spacing: -.04em; }
h1 { font-size: clamp(3.4rem, 8vw, 7rem); color: var(--purple-dark); }
h1 span { color: var(--orange); }
h2 { font-size: clamp(2.2rem, 4vw, 4rem); }
h3 { font-size: clamp(1.55rem, 2.5vw, 2.35rem); }
.hero-intro { max-width: 720px; margin: 1.6rem 0 0; font-size: clamp(1.08rem, 1.8vw, 1.35rem); color: var(--muted); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 2rem; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: .8rem 1.15rem; border-radius: 999px; font-weight: 900; text-decoration: none; transition: transform .2s ease, box-shadow .2s ease; }
.button:hover { transform: translateY(-2px); }
.button.primary { background: var(--purple); color: white; box-shadow: 0 12px 28px rgba(50,19,167,.24); }
.button.secondary { border: 2px solid var(--purple); color: var(--purple); }
.hero-art { min-height: 480px; position: relative; display: grid; place-items: center; }
.logo-disc { width: min(420px, 78vw); aspect-ratio: 1; border-radius: 50%; background: white; box-shadow: var(--shadow); display: grid; place-items: center; transform: rotate(2deg); }
.logo-disc img { width: 78%; }
.float-card { position: absolute; padding: .75rem 1.05rem; border-radius: 18px; color: white; font-weight: 1000; letter-spacing: .08em; box-shadow: var(--shadow); }
.float-one { left: 0; top: 13%; background: var(--blue); transform: rotate(-7deg); }
.float-two { right: 0; top: 30%; background: var(--pink); transform: rotate(8deg); }
.float-three { left: 8%; bottom: 8%; background: var(--teal); transform: rotate(4deg); }

.intro { padding-block: clamp(70px, 9vw, 120px); display: grid; grid-template-columns: 1fr 1fr; gap: clamp(35px, 7vw, 90px); align-items: start; }
.intro-copy { font-size: 1.1rem; color: var(--muted); }
.intro-copy p { margin-top: 0; }
.pill-list { display: flex; flex-wrap: wrap; gap: 9px; padding: 0; margin: 1.6rem 0 0; list-style: none; }
.pill-list li { padding: .55rem .8rem; border-radius: 999px; background: var(--soft); color: black; font-weight: 800; }

.map-section { background: var(--purple-dark); color: white; padding-block: clamp(70px, 9vw, 110px); }
.map-heading, .section-heading { display: flex; justify-content: space-between; align-items: end; gap: 2rem; margin-bottom: 2.2rem; }
.map-heading > p, .section-heading > p { max-width: 480px; margin: 0; color: #d8d1ec; }
.map-layout { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(320px, .65fr); gap: 22px; }

.station-detail { align-self: stretch; border-radius: 30px; overflow: hidden; background: white; color: var(--ink); box-shadow: var(--shadow); }
.station-detail > img { width: 100%; height: 270px; object-fit: cover; background: var(--soft); }
.detail-body { padding: 1.5rem; }
.station-number { margin: 0 0 .4rem; color: var(--orange); text-transform: uppercase; letter-spacing: .11em; font-weight: 1000; font-size: .78rem; }
.detail-kicker { margin: .65rem 0; color: var(--purple); font-weight: 900; }
#detail-description { color: var(--muted); }
.detail-links { display: flex; flex-wrap: wrap; gap: 1rem; padding-top: .4rem; }
.text-link { font-weight: 900; color: var(--purple); text-decoration-thickness: 2px; }
.text-link.disabled { opacity: .46; cursor: default; }
.station-cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-top: 22px; }
.station-card { border: 1px solid rgba(255,255,255,.22); border-radius: 18px; padding: 1rem; background: rgba(255,255,255,.08); color: white; text-align: left; cursor: pointer; min-height: 118px; }
.station-card:hover, .station-card:focus-visible, .station-card.active { background: white; color: var(--purple-dark); }
.station-card span { display: block; margin-bottom: .45rem; color: #cfc4ff; font-weight: 1000; font-size: .75rem; text-transform: uppercase; letter-spacing: .1em; }
.station-card.active span, .station-card:hover span { color: var(--orange); }
.station-card strong { font-size: 1rem; }

.documentation { padding-block: clamp(70px, 9vw, 120px); }
.section-heading > p { color: var(--muted); }
.media-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 15px; }
.media-grid figure { margin: 0; border-radius: 22px; overflow: hidden; background: white; border: 1px solid var(--line); }
.media-grid img { width: 100%; aspect-ratio: 4/3; object-fit: cover; }
.media-grid figcaption { padding: .9rem 1rem; color: var(--muted); font-size: .9rem; }
.media-feature { grid-column: span 2; grid-row: span 2; }
.video-placeholder { min-height: 430px; display: flex; flex-direction: column; justify-content: center; align-items: center; gap: .5rem; padding: 2rem; text-align: center; color: white; background: linear-gradient(135deg, var(--purple), var(--pink)); }
.video-placeholder .play { display: grid; place-items: center; width: 72px; height: 72px; border: 3px solid white; border-radius: 50%; padding-left: 5px; font-size: 1.5rem; }
.video-placeholder strong { font-size: 1.4rem; }
.video-placeholder small { max-width: 300px; color: #f4eaff; }

.partnership { padding-block: clamp(70px, 9vw, 120px); background: var(--blue); color: white; }
.partnership-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(40px, 8vw, 110px); }
.partnership-grid p:not(.eyebrow) { color: #dce8ff; font-size: 1.08rem; }
.value-list { margin: 0; padding: 0; list-style: none; border-top: 1px solid rgba(255,255,255,.25); }
.value-list li { display: grid; grid-template-columns: 52px 1fr; gap: 14px; padding: 1rem 0; border-bottom: 1px solid rgba(255,255,255,.25); font-weight: 800; }
.value-list span { color: var(--yellow); }


.festival-app-link {
  margin-top: 24px;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.25);
  color: white;
}

.festival-app-link h4 {
  margin: 0 0 8px;
  font-size: 1.1rem;
}

.festival-app-link p {
  margin: 0 0 16px;
  color: #e6ddff;
  font-size: 0.95rem;
}

.cta { margin-block: clamp(70px, 9vw, 120px); padding: clamp(28px, 5vw, 55px); display: grid; grid-template-columns: 130px 1fr auto; align-items: center; gap: 30px; border-radius: 34px; background: var(--soft); }
.cta img { width: 130px; }
.cta p:not(.eyebrow) { max-width: 680px; color: var(--muted); }
footer { padding: 2rem 20px 3rem; text-align: center; color: var(--muted); border-top: 1px solid var(--line); }
footer p { margin: .2rem; }

.festival-app-link .button.secondary {
  color: #fff;
  border-color: #fff;
  background: transparent;
}

.festival-app-link .button.secondary:hover,
.festival-app-link .button.secondary:focus-visible {
  color: #3213a7;
  background: #fff;
}

.detail-try {
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
}

.detail-try[hidden] {
  display: none;
}

.detail-try h4 {
  margin: 0 0 12px;
}

.detail-try p {
  margin: 16px 0 10px;
}

.detail-try img {
  width: 140px;
  height: 140px;
  background: white;
}

.detail-try small {
  display: block;
  margin-top: 12px;
  color: var(--muted);
}

@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; padding-top: 70px; }
  .hero-art { min-height: 390px; }
  .logo-disc { width: min(360px, 80vw); }
  .intro, .partnership-grid { grid-template-columns: 1fr; }
  .map-layout { grid-template-columns: 1fr; }
  .station-detail { display: grid; grid-template-columns: .8fr 1.2fr; }
  .station-detail > img { height: 100%; min-height: 310px; }
  .station-cards { grid-template-columns: repeat(2, 1fr); }
  .media-grid { grid-template-columns: repeat(2, 1fr); }
  .cta { grid-template-columns: 90px 1fr; }
  .cta img { width: 90px; }
  .cta .button { grid-column: 2; justify-self: start; }
}

@media (max-width: 620px) {
  .wrap { width: min(100% - 26px, 1180px); }
  .site-header { min-height: 62px; padding: 8px 14px; }
  .brand span:last-child { display: none; }
  .hero { padding-inline: 18px; min-height: 0; }
  h1 { font-size: clamp(3rem, 17vw, 5rem); }
  .hero-art { min-height: 330px; }
  .float-card { font-size: .75rem; }
  .map-heading, .section-heading { display: block; }
  .map-heading > p, .section-heading > p { margin-top: 1rem; }
  .station-detail { display: block; }
  .station-detail > img { height: 235px; min-height: 0; }
  .station-cards { grid-template-columns: 1fr 1fr; }
  .station-card { min-height: 105px; }
  .media-grid { grid-template-columns: 1fr 1fr; }
  .media-feature { grid-column: 1 / -1; grid-row: auto; }
  .video-placeholder { min-height: 310px; }
  .cta { grid-template-columns: 1fr; text-align: center; }
  .cta img { margin: auto; }
  .cta .button { grid-column: 1; justify-self: center; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; }
}
/* Static map and side-by-side stop selector */
.static-map { margin-block: 0 24px; }
.static-map img { display: block; width: 100%; height: auto; border-radius: 22px; }
.map-layout { grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); align-items: start; }
.stop-picker { min-width: 0; }
.stop-picker h3 { margin: 0 0 8px; font-size: 1.45rem; color: white; }
.stop-picker > p { color: #e6ddff; margin: 0 0 18px; }
.stop-picker .station-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); margin-top: 0; }
.station-card { min-height: 112px; }
.station-detail { min-width: 0; scroll-margin-top: 24px; }
.station-detail > img { height: auto; aspect-ratio: 16 / 10; object-fit: cover; }
@media (max-width: 900px) {
  .map-layout { grid-template-columns: 1fr; }
  .station-detail { display: block; }
  .station-detail > img { min-height: 0; height: auto; }
}
@media (max-width: 380px) {
  .stop-picker .station-cards { grid-template-columns: 1fr; }
}
