/* George Janko — Homecoming (draft) */
:root {
  --bg-0: #05070C;
  --bg-1: #0A1020;
  --card: #0E1526;
  --cream: #F3EEE3;
  --muted: #B8C0CC;
  --ice: #9FD4FF;
  --blue: #1E5BFF;
  --line: #9FD4FF26;
  --hairline: #ffffff14;
  --radius-poster: 12px;
  --radius-card: 14px;
  --page-gutter: 20px;
  --font-display: "Bebas Neue", Anton, Oswald, Impact, "Arial Narrow", sans-serif;
  --font-body: Montserrat, system-ui, -apple-system, sans-serif;
  --sticky-h: 4.5rem;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-bottom: calc(var(--sticky-h) + env(safe-area-inset-bottom, 0px));
  background: var(--bg-0);
  color: var(--cream);
}

html, body {
  margin: 0;
  padding: 0;
}

body {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 1rem;
  line-height: 1.55;
  color: var(--muted);
  background: var(--bg-0);
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; display: block; height: auto; }
a { color: var(--ice); text-decoration-thickness: 1px; text-underline-offset: 0.18em; }
a:hover { color: var(--cream); }

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

::selection {
  background: rgba(30, 91, 255, 0.45);
  color: var(--cream);
}

.skip {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 100;
  background: var(--blue);
  color: #fff;
  padding: 0.6rem 1rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  border-radius: 8px;
}
.skip:focus { top: 1rem; }

/* Backdrop: blurred, darkened flyer + spotlight */
.backdrop {
  position: fixed;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
  background: linear-gradient(180deg, var(--bg-1) 0%, var(--bg-0) 70%);
}
.backdrop-flyer {
  position: absolute;
  inset: -16%;
  background: url("homecoming-flyer.jpg") center 20% / cover no-repeat;
  filter: blur(60px) brightness(0.3) saturate(0.75);
  transform: scale(1.2);
  opacity: 0.25;
}
.backdrop-wash {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 70% 55% at 82% -4%, rgba(159, 212, 255, 0.11), transparent 58%),
    radial-gradient(ellipse 50% 40% at 10% 100%, rgba(30, 91, 255, 0.08), transparent 60%),
    linear-gradient(180deg, rgba(5, 7, 12, 0.45) 0%, rgba(5, 7, 12, 0.72) 48%, #05070C 88%);
}

/* Faint bokeh — understated phone-light dots */
.bokeh {
  position: absolute;
  inset: 0;
  overflow: hidden;
}
.bokeh span {
  position: absolute;
  border-radius: 50%;
  background: #9FD4FF;
  filter: blur(6px);
  opacity: 0.11;
}
.bokeh span:nth-child(1) { width: 10px; height: 10px; top: 8%; right: 12%; opacity: 0.14; }
.bokeh span:nth-child(2) { width: 6px; height: 6px; top: 16%; right: 22%; opacity: 0.1; }
.bokeh span:nth-child(3) { width: 14px; height: 14px; top: 22%; right: 8%; opacity: 0.09; }
.bokeh span:nth-child(4) { width: 5px; height: 5px; top: 12%; right: 32%; opacity: 0.12; }
.bokeh span:nth-child(5) { width: 8px; height: 8px; top: 30%; right: 18%; opacity: 0.1; }
.bokeh span:nth-child(6) { width: 4px; height: 4px; top: 6%; right: 28%; opacity: 0.13; }
.bokeh span:nth-child(7) { width: 11px; height: 11px; top: 38%; right: 6%; opacity: 0.08; }
.bokeh span:nth-child(8) { width: 7px; height: 7px; top: 18%; right: 4%; opacity: 0.11; }

.page {
  position: relative;
  z-index: 1;
}

/* Top bar */
.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.85rem var(--page-gutter) 0.7rem;
  max-width: 1280px;
  margin: 0 auto;
}
.brand {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--cream);
  text-decoration: none;
}
.brand:hover { color: var(--cream); }

a.topbar-cta {
  display: none;
}

/* Hero */
.hero {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  padding: 0.15rem var(--page-gutter) 1.5rem;
  max-width: 1280px;
  margin: 0 auto;
}

.poster {
  margin: 0 auto;
  width: 100%;
  max-width: 28rem;
}
.poster img {
  width: 100%;
  height: auto;
  max-height: none;
  object-fit: contain;
  object-position: center top;
  border-radius: var(--radius-poster);
  border: 1px solid var(--hairline);
  box-shadow:
    0 28px 80px rgba(0, 0, 0, 0.72),
    0 8px 24px rgba(0, 0, 0, 0.45);
  background: #000;
}

.hero-copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
}

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

h1 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(3.4rem, 12vw, 5.5rem);
  letter-spacing: -0.01em;
  line-height: 0.88;
  color: var(--cream);
  text-transform: uppercase;
}
.date-line,
.venue-line {
  margin: 0;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 18px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--cream);
  line-height: 1.35;
}
.date-line { margin-top: 1.1rem; }
.venue-line { margin-top: 0.2rem; }

.prices {
  margin: 0.85rem 0 0;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 15px;
  letter-spacing: 0;
  text-transform: none;
  color: var(--muted);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1.15rem 1.5rem;
  margin-top: auto;
  padding-top: 1.75rem;
}
.hero-actions .btn-primary {
  display: none;
}

/* On stacked layouts, the flyer already says HOMECOMING — hide the repeated headline/subhead/CTA */
@media (max-width: 1099px) {
  .kicker,
  h1 {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
  }
  .date-line { margin-top: 0; }
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.82rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: none;
  border-radius: 10px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease, border-color 0.2s ease, color 0.2s ease, opacity 0.2s ease;
}

.btn-primary {
  background: var(--blue);
  color: #fff;
  height: 56px;
  padding: 0 32px;
  box-shadow: 0 8px 24px rgba(30, 91, 255, 0.28);
}
.btn-primary:hover,
.btn-primary:focus-visible {
  color: #fff;
  background: #2b66ff;
  box-shadow: 0 0 28px rgba(159, 212, 255, 0.55), 0 8px 24px rgba(30, 91, 255, 0.35);
  transform: translateY(-1px);
}

.see-shows {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ice);
  text-decoration: none;
}
.see-shows:hover { color: var(--cream); }

/* Shows */
.shows {
  padding: 3.25rem var(--page-gutter) 3.5rem;
  max-width: 1280px;
  margin: 0 auto;
}

.section-label {
  margin: 0 0 0.35rem;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ice);
}

h2 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(2.6rem, 8vw, 4.25rem);
  letter-spacing: -0.01em;
  line-height: 0.9;
  color: var(--cream);
  text-transform: uppercase;
}

.section-lead {
  margin: 0.85rem 0 0;
  max-width: 38rem;
  font-weight: 600;
  color: var(--muted);
}

.charge-note {
  margin: 0.5rem 0 0;
  font-size: 0.9rem;
  color: var(--muted);
}

.show-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  margin-top: 1.75rem;
}

.show-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  padding: 1.35rem 1.25rem 1.25rem;
  text-decoration: none;
  color: inherit;
  min-height: 100%;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
.show-card:hover,
.show-card:focus-visible {
  color: inherit;
  transform: translateY(-4px);
  border-color: rgba(159, 212, 255, 0.42);
  box-shadow:
    0 14px 40px rgba(30, 91, 255, 0.28),
    0 0 24px rgba(159, 212, 255, 0.14);
  outline: none;
}

.show-day {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ice);
}

.show-date {
  margin: 0.35rem 0 0;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(2.6rem, 10vw, 3.15rem);
  letter-spacing: -0.01em;
  line-height: 0.9;
  color: var(--cream);
  text-transform: uppercase;
}

.show-time {
  margin: 0.55rem 0 0;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 1.15rem;
  letter-spacing: 0;
  color: var(--cream);
}

.show-age {
  display: inline-flex;
  align-items: center;
  margin: 0.6rem 0 0;
  padding: 0.22rem 0.55rem;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.68rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ice);
  border: 1px solid rgba(159, 212, 255, 0.35);
  border-radius: 999px;
  background: rgba(159, 212, 255, 0.08);
}

.show-price {
  margin: 0.85rem 0 0;
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--muted);
}

.show-card .btn {
  width: 100%;
  height: 48px;
  margin-top: 1.15rem;
  padding: 0 1rem;
  background: var(--blue);
  color: #fff;
  pointer-events: none;
}
.show-card:hover .btn,
.show-card:focus-visible .btn {
  box-shadow: 0 0 22px rgba(159, 212, 255, 0.45);
}

/* Info / venue / FAQ */
.info {
  padding: 0 var(--page-gutter) 4.5rem;
  max-width: 1280px;
  margin: 0 auto;
}

.info-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.25rem;
  background: rgba(14, 21, 38, 0.62);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 1.6rem 1.35rem 1.8rem;
}

.about p {
  margin: 0.75rem 0 0;
  max-width: 36rem;
}

.venue h3,
.faq h3 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(2.1rem, 5vw, 3.1rem);
  letter-spacing: -0.01em;
  line-height: 0.95;
  color: var(--cream);
  text-transform: uppercase;
}

.venue-name {
  margin: 0.85rem 0 0;
  font-weight: 700;
  color: var(--cream);
  font-size: 1.05rem;
}

.venue address {
  margin: 0.25rem 0 0;
  font-style: normal;
  font-weight: 600;
  color: var(--muted);
  line-height: 1.5;
}

.map-link {
  display: inline-block;
  margin-top: 0.85rem;
  font-weight: 700;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--ice);
}
.map-link:hover { color: var(--cream); }

.faq dl {
  margin: 0.85rem 0 0;
}
.faq dt {
  margin: 0.9rem 0 0;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--cream);
}
.faq dt:first-child { margin-top: 0; }
.faq dd {
  margin: 0.3rem 0 0;
  font-weight: 600;
  color: var(--muted);
}

/* Footer */
.footer {
  padding: 0 var(--page-gutter) calc(5.75rem + env(safe-area-inset-bottom, 0px));
  max-width: 1280px;
  margin: 0 auto 0;
}
.footer-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  border-top: 1px solid var(--hairline);
  padding: 1.4rem 0 1.6rem;
}
.footer-name {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--cream);
}
.socials {
  display: flex;
  gap: 1.25rem;
}
.socials a {
  font-weight: 700;
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--muted);
}
.socials a:hover { color: var(--cream); }

/* Sticky mobile ticket bar */
.sticky-bar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.7rem var(--page-gutter) calc(0.7rem + env(safe-area-inset-bottom, 0px));
  background: linear-gradient(180deg, rgba(5, 7, 12, 0.72), rgba(5, 7, 12, 0.96));
  border-top: 1px solid var(--hairline);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}
.sticky-bar .btn {
  width: 100%;
  max-width: 28rem;
  height: 52px;
  padding: 0 20px;
  letter-spacing: 0.1em;
}

@media (max-width: 899px) {
  .hero {
    min-height: calc(100svh - 4.25rem);
    padding-bottom: calc(var(--sticky-h) + env(safe-area-inset-bottom, 0px) + 1.5rem);
  }
  .hero-copy {
    flex: 1 1 auto;
    width: 100%;
    justify-content: flex-start;
  }
}

/* Breakpoints */
@media (min-width: 640px) {
  .show-grid {
    grid-template-columns: 1fr 1fr;
    gap: 1.1rem;
  }
  .poster { max-width: 32rem; }
}

@media (min-width: 900px) {
  .topbar,
  .hero,
  .shows,
  .info,
  .footer {
    padding-left: 2rem;
    padding-right: 2rem;
  }
  .topbar {
    position: sticky;
    top: 0;
    z-index: 40;
    max-width: none;
    width: 100%;
    padding: 0.95rem max(2rem, calc((100% - 1280px) / 2 + 2rem));
    background: transparent;
    border-bottom: 1px solid transparent;
    transition: background 0.2s ease, border-color 0.2s ease, backdrop-filter 0.2s ease;
  }
  .topbar.is-scrolled {
    background: rgba(5, 7, 12, 0.88);
    border-bottom-color: var(--hairline);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
  }
  .hero { gap: 2rem; padding-top: 0.5rem; padding-bottom: 2.5rem; }
  a.topbar-cta {
    display: inline-flex;
    visibility: hidden;
    opacity: 0;
    pointer-events: none;
    height: 40px;
    padding: 0 18px;
    font-size: 0.75rem;
    letter-spacing: 0.1em;
    min-height: 0;
  }
  a.topbar-cta.is-visible {
    visibility: visible;
    opacity: 1;
    pointer-events: auto;
  }
  .info-grid {
    grid-template-columns: 1.15fr 0.95fr;
    gap: 2.5rem 3rem;
    padding: 2.25rem 2.15rem;
  }
  .faq { grid-column: 1 / -1; }
  .footer { padding-bottom: 2rem; }
  .sticky-bar { display: none; }
  html { scroll-padding-bottom: 0; scroll-padding-top: 4.75rem; }
  #shows { scroll-margin-top: 4.75rem; }
}

@media (min-width: 1100px) {
  .hero {
    display: grid;
    grid-template-columns: 5fr 7fr;
    gap: 64px;
    align-items: center;
    min-height: calc(100vh - 4.5rem);
    padding-top: 1rem;
    padding-bottom: 2.5rem;
  }
  .poster {
    margin: 0;
    max-width: none;
    width: 100%;
  }
  .poster img {
    max-height: 88vh;
    width: 100%;
    object-fit: contain;
  }
  .hero-copy {
    max-width: 520px;
    justify-self: start;
  }
  h1 {
    font-size: 88px;
  }
  .hero-actions {
    display: flex;
    margin-top: 1.6rem;
    padding-top: 0;
  }
  .hero-actions .btn-primary {
    display: inline-flex;
  }
  .backdrop-wash {
    background:
      radial-gradient(ellipse 74% 58% at 84% -4%, rgba(159, 212, 255, 0.143), transparent 58%),
      radial-gradient(ellipse 50% 40% at 10% 100%, rgba(30, 91, 255, 0.08), transparent 60%),
      linear-gradient(180deg, rgba(5, 7, 12, 0.45) 0%, rgba(5, 7, 12, 0.72) 48%, #05070C 88%);
  }
  .show-grid {
    grid-template-columns: repeat(4, 1fr);
  }
  .info-grid {
    grid-template-columns: 1.2fr 0.9fr 1fr;
  }
  .faq { grid-column: auto; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn, .show-card, a.topbar-cta {
    transition: none;
  }
  .show-card:hover,
  .btn-primary:hover {
    transform: none;
  }
}
