@import url("./brand.css");

* { box-sizing: border-box }
html { scroll-padding-top: 92px }
body { margin: 0; background: var(--ink); color: var(--paper); font: 1rem/1.5 "Helvetica Neue", Arial, sans-serif }
::selection { background: var(--punch); color: var(--ink) }
[hidden] { display: none !important }
h1, h2, p, ol { margin: 0 }
a { color: inherit; text-underline-offset: .24em }
a:focus-visible { outline: 2px solid currentColor; outline-offset: 4px }
.frame { margin-inline: var(--gutter) }
.skip-link { position: fixed; z-index: 5; top: 12px; left: 12px; padding: 8px 16px; background: var(--paper); color: var(--ink); transform: translateY(-150%) }
.skip-link:focus { transform: none }

.site-header { position: sticky; z-index: 3; top: 0; background: var(--ink); border-bottom: 1px solid var(--line) }
.header-inner, nav, .opening-footer, .site-footer { display: flex; align-items: center; justify-content: space-between }
.header-inner { min-height: 65px; gap: 1rem }
.brand { display: inline-flex; align-items: center; gap: .65rem; font-size: 1.06rem; font-weight: 850; letter-spacing: -.04em; text-decoration: none }
.brand img { display: block; width: 64px; height: auto }
nav { gap: clamp(1rem, 3vw, 3.25rem) }
nav a { display: inline-flex; align-items: center; min-height: 44px; font-weight: 650; font-size: .91rem; text-decoration: none }
nav a:hover, .opening-footer a:hover, .text-link:hover, .site-footer a:hover { color: var(--punch) }
nav .ticket-link { color: var(--punch) }

.opening {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: radial-gradient(ellipse at 24% 98%, #185370, transparent 65%), var(--night);
}
.opening-inner { display: grid; align-content: space-between; min-height: min(700px, max(540px, calc(100svh - 104px))); }
.opening-content { padding-block: clamp(32px, 5.5vh, 72px) 30px; align-self: center }
.opening h1 { width: min(100%, clamp(340px, 75vh, 690px)); }
.opening h1 img { display: block; width: 100%; height: auto }
.opening-date { margin-top: clamp(12px, 2vw, 24px); color: var(--punch); font-size: clamp(1.35rem, 3vw, 2.4rem); font-weight: 850; line-height: 1.1; letter-spacing: -.035em }
.opening-venue { margin: .35rem 0 20px; font-size: clamp(1.05rem, 2vw, 1.65rem); font-weight: 750; letter-spacing: -.035em }
.button { display: inline-flex; min-height: 52px; align-items: center; justify-content: space-between; gap: 1.9rem; padding: .65rem 1rem; text-decoration: none; font-weight: 800 }
.button-primary { background: var(--punch); color: var(--ink) }
.button-primary:hover { background: #9df3f7 }
.opening-footer { min-height: 66px; gap: 8px 24px; border-top: 1px solid var(--line); font-weight: 700 }
.opening-footer a { display: inline-flex; gap: .45em; align-items: center; min-height: 44px; text-decoration-color: var(--poster-gold) }

.weekend { color-scheme: light; background: var(--punch); color: var(--ink) }
.weekend-inner, .visit { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(26px, 7vw, 118px); padding-block: clamp(34px, 6vw, 90px) }
h2 { font-size: clamp(2.45rem, 5.7vw, 6rem); letter-spacing: -.07em; line-height: .95; font-weight: 850; text-wrap: balance }
.weekend-intro > p, .visit section > p { margin-top: 1rem; max-width: 32ch }
.weekend-intro .countdown { margin-top: 1.6rem; font-weight: 800; font-variant-numeric: tabular-nums }
.dates { padding: 0; list-style: none; border-block-start: 1px solid }
.dates li { border-block-end: 1px solid }
.dates time { display: flex; align-items: baseline; justify-content: space-between; gap: .8rem; padding-block: .6rem; font-size: clamp(1rem, 2vw, 1.4rem) }
.dates strong { font-size: clamp(1.3rem, 3.3vw, 2.7rem); font-variant-numeric: tabular-nums; letter-spacing: -.045em }
.visit section { border-top: 1px solid var(--line); padding-top: 1.4rem }
.visit .text-link { text-decoration-color: var(--poster-coral) }
#public-announcement { white-space: pre-line; overflow-wrap: anywhere }
.visit address { font-style: normal; color: #ccd7ef; margin-top: .25rem }
.text-link { display: inline-flex; align-items: center; gap: .5em; min-height: 44px; margin-top: 10px; font-weight: 700 }
.site-footer { min-height: 78px; gap: 16px; font-size: .88rem }

@media (max-width: 650px) {
  html { scroll-padding-top: 105px }
  .header-inner { flex-wrap: wrap; gap: 0; padding-top: .5rem }
  nav { width: 100%; gap: .5rem }
  .opening-inner { min-height: min(560px, max(450px, calc(100svh - 135px))) }
  .opening-content { padding-block: clamp(30px, 5vh, 60px) 24px }
  .opening-footer { flex-wrap: wrap; align-content: center; padding-block: 10px; font-size: .875rem }
  .opening h1 { width: 100% }
  .weekend-inner, .visit { grid-template-columns: 1fr }
}
@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth }
}

.visit #venue { grid-column: 1 / -1; display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); gap: .75rem 3rem }
#venue > * { grid-column: 1 }
#venue .venue-map { grid-column: 2; grid-row: 1 / span 8; width: 100%; min-height: 320px; height: 100%; border: 0 }
#venue .venue-description { max-width: 52ch }
.venue-photo { max-width: 100%; height: auto }
@media (max-width: 720px) {
  .visit #venue { display: block }
  #venue .venue-map { margin-top: 1rem; height: 300px; min-height: 0 }
  #venue .text-link { display: block; width: fit-content }
}
