/* The Family That Lies Together — playbill noir. Two families, one accent, one radius. */

@font-face { font-family: Cinzel; src: url(assets/fonts/cinzel-400.woff2) format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: Cinzel; src: url(assets/fonts/cinzel-600.woff2) format("woff2"); font-weight: 600; font-display: swap; }
@font-face { font-family: "EB Garamond"; src: url(assets/fonts/ebgaramond-400.woff2) format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "EB Garamond"; src: url(assets/fonts/ebgaramond-500.woff2) format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "EB Garamond"; src: url(assets/fonts/ebgaramond-400-italic.woff2) format("woff2"); font-weight: 400; font-style: italic; font-display: swap; }

:root {
  --stage:      #08080A;
  --pit:        #000000;
  --blood:      #C2272D;
  --blood-deep: #7A0A0F;
  --silver:     #D8D8DA;
  --silver-dim: #9A9A9E;
  --edge:       rgba(216,216,218,0.14);
  --radius: 2px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  background: var(--stage);
  color: var(--silver);
  font-family: "EB Garamond", Georgia, serif;
  font-weight: 500;
  font-size: 1.1875rem;
  line-height: 1.7;
  letter-spacing: 0.01em;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }

h2 {
  font-family: Cinzel, Georgia, serif;
  font-weight: 600;
  font-size: clamp(1.5rem, 1rem + 2vw, 2.25rem);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--silver);
  text-wrap: balance;
  line-height: 1.2;
}

.visually-hidden {
  position: absolute; width: 1px; height: 1px;
  overflow: hidden; clip-path: inset(50%); white-space: nowrap;
}

a:focus-visible, .btn:focus-visible {
  outline: 2px solid var(--silver);
  outline-offset: 3px;
}

/* ---- buttons: one accent, one radius ---- */
.btn {
  display: inline-block;
  font-family: Cinzel, Georgia, serif;
  font-weight: 600;
  font-size: 1rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-decoration: none;
  color: #fff;
  background: var(--blood);
  border-radius: var(--radius);
  padding: 16px 40px;
  transition: background-color 0.15s ease-out;
}
.btn:hover { background: var(--blood-deep); }
.btn-dark { background: var(--pit); color: var(--silver); }
.btn-dark:hover { background: #1c0405; color: #fff; }
.btn-small { padding: 12px 24px; font-size: 0.875rem; }

/* ---- hero ---- */
.hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 32px 24px 48px;
  background: radial-gradient(ellipse 110% 72% at 50% 8%, #29292c 0%, #141416 42%, var(--stage) 72%);
}
.hero-mark {
  width: clamp(260px, 34vw, 440px);
  height: auto;
  margin-bottom: 28px;
  /* the red monogram sits ~1% right of the file's geometric centre; nudge so the
     mark, not the bounding box, lands on the page axis */
  transform: translateX(-1%);
}
.hero-lockup {
  width: min(680px, 92vw);
  height: auto;
  mix-blend-mode: screen;
  /* feather the outer few percent so residual glow never draws a rectangle edge */
  -webkit-mask-image: radial-gradient(ellipse 100% 100% at 50% 50%, #000 85%, transparent 100%);
  mask-image: radial-gradient(ellipse 100% 100% at 50% 50%, #000 85%, transparent 100%);
}
.hero-tagline {
  font-size: clamp(1.125rem, 1rem + 0.8vw, 1.4375rem);
  max-width: 44ch;
  margin-top: 4px;
  text-wrap: pretty;
}
.hero-tagline em { font-style: italic; }
.hero-date {
  font-family: Cinzel, Georgia, serif;
  font-weight: 400;
  font-size: clamp(0.8125rem, 0.7rem + 0.7vw, 1.0625rem);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--silver);
  margin: 24px 0 32px;
  max-width: 92vw;
}
.hero-date span { color: var(--blood); }
.scroll-cue {
  margin-top: 48px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  color: var(--silver-dim);
}
.scroll-cue span {
  font-family: Cinzel, Georgia, serif;
  font-size: 0.6875rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
}
.scroll-cue::after {
  content: "";
  width: 1px;
  height: 40px;
  background: linear-gradient(var(--silver-dim), transparent);
}

/* ---- sections ---- */
main section { padding: 96px 24px; }

.story { max-width: 65ch; margin: 0 auto; }
.story h2 { text-align: center; margin-bottom: 48px; }
.story p + p { margin-top: 1.7em; }
.story cite { font-style: italic; }
.story-note {
  border-top: 1px solid var(--edge);
  padding-top: 1.7em;
  color: var(--silver-dim);
  font-size: 1.0625rem;
}

/* ---- cast: curtain call, not a card grid ---- */
.cast { text-align: center; }
.cast h2 { margin-bottom: 64px; }
.cast-row {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: flex-start;
  gap: 24px;
  max-width: 1100px;
  margin: 0 auto;
}
.cast-row figure { flex: 0 1 auto; }
.cast-row figure:nth-child(1) { margin-top: 40px; }
.cast-row figure:nth-child(2) { margin-top: 0; }
.cast-row figure:nth-child(3) { margin-top: 56px; }
.cast-row figure:nth-child(4) { margin-top: 20px; }
.cast-row figure {
  transition: transform 0.35s cubic-bezier(0.22, 0.61, 0.36, 1);
  transform-origin: 50% 100%;
}
.cast-row img {
  height: clamp(260px, 24vw + 140px, 420px);
  width: auto;
  border-radius: var(--radius);
  filter: saturate(0.92) brightness(0.88);
  transition: filter 0.35s ease-out;
}
/* steps forward into the light. 1.04 on the tallest crop grows 4px a side against
   a 24px gap, so neighbours are never touched. */
@media (hover: hover) {
  .cast-row figure:hover,
  .cast-row figure:focus-within {
    transform: scale(1.04);
    z-index: 1;
  }
  .cast-row figure:hover img,
  .cast-row figure:focus-within img {
    filter: saturate(1) brightness(1.06);
  }
  .cast-row figure:hover figcaption,
  .cast-row figure:focus-within figcaption {
    color: var(--silver);
  }
}
.cast-row figcaption { transition: color 0.35s ease-out; }
.cast-row figcaption {
  margin-top: 16px;
  font-family: Cinzel, Georgia, serif;
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--silver-dim);
}

/* ---- the night ---- */
.night {
  text-align: center;
  background: radial-gradient(ellipse 90% 90% at 50% 0%, #131315 0%, var(--stage) 65%);
}
.night h2 { margin-bottom: 48px; }
.night-day, .night-date, .night-venue { font-family: Cinzel, Georgia, serif; color: var(--silver); }
.night-day {
  font-weight: 400;
  font-size: 1rem;
  letter-spacing: 0.34em;
  text-transform: uppercase;
}
.night-date {
  font-weight: 600;
  font-size: clamp(1.75rem, 1rem + 3.6vw, 3.25rem);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  line-height: 1.2;
  margin: 8px 0;
}
.night-venue {
  font-weight: 400;
  font-size: clamp(1.125rem, 0.9rem + 1.4vw, 1.75rem);
  letter-spacing: 0.22em;
  text-transform: uppercase;
  border-top: 1px solid var(--edge);
  border-bottom: 1px solid var(--edge);
  padding: 12px 0;
  max-width: 560px;
  margin: 16px auto 24px;
}
.night-addr { color: var(--silver); }
.night-addr a { color: var(--silver); text-underline-offset: 3px; }
.night-addr a:hover { color: #fff; }
.night-price {
  font-family: Cinzel, Georgia, serif;
  margin-top: 28px;
  font-size: clamp(1rem, 0.9rem + 0.5vw, 1.1875rem);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--silver);
}
.night-tba { margin-top: 10px; color: var(--silver-dim); font-style: italic; font-size: 1.0625rem; }

/* ---- cta band ---- */
.cta-band {
  background: var(--blood);
  text-align: center;
  color: #fff;
}
.cta-band h2 { color: #fff; font-size: clamp(1.75rem, 1.2rem + 2.8vw, 3rem); }
.cta-band p {
  color: #fff;
  margin: 12px 0 32px;
  font-size: 1.125rem;
}

/* ---- sponsors footer ---- */
.sponsors {
  border-top: 1px solid var(--edge);
  text-align: center;
  padding: 64px 24px 96px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}
.sponsors-label {
  font-family: Cinzel, Georgia, serif;
  font-size: 0.6875rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--silver-dim);
}
.sponsors-names {
  font-family: Cinzel, Georgia, serif;
  font-size: 0.9375rem;
  letter-spacing: 0.12em;
  color: var(--silver);
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 16px;
}
.sponsors-names .rule { width: 1px; height: 16px; background: var(--edge); }
.sponsors-mark { width: clamp(160px, 20vw, 220px); height: auto; margin-top: 16px; opacity: 0.85; }
.copyright { font-size: 0.9375rem; color: var(--silver-dim); }

/* ---- sticky ticket bar ---- */
.ticket-bar {
  position: fixed;
  z-index: 10;
  display: flex;
  align-items: center;
  gap: 16px;
  background: rgba(0,0,0,0.92);
  border: 1px solid var(--edge);
  border-radius: var(--radius);
  padding: 12px 16px;
  right: 24px;
  bottom: 24px;
  transform: translateY(0);
}
.ticket-bar[hidden] { display: none; }
.ticket-bar-date {
  font-family: Cinzel, Georgia, serif;
  font-size: 0.8125rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--silver);
}
@media (max-width: 719px) {
  .ticket-bar {
    left: 0; right: 0; bottom: 0;
    border-left: 0; border-right: 0; border-bottom: 0;
    border-radius: 0;
    justify-content: space-between;
    padding: 12px 16px calc(12px + env(safe-area-inset-bottom));
  }
  .ticket-bar-date { font-size: 0.75rem; }
}

/* ---- atmosphere overlays ---- */
.grain {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0.035;
  pointer-events: none;
  z-index: 20;
}
.vignette {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 19;
  background: radial-gradient(ellipse 130% 110% at 50% 45%, transparent 62%, rgba(0,0,0,0.55) 100%);
}

/* ---- lighting-cue reveals (JS adds .js; content visible without it) ---- */
.js .reveal {
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.5s ease-out, transform 0.5s ease-out;
}
.js .reveal.in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
  .btn { transition: none; }
}

/* ---- opening curtain ---- */
.curtain {
  position: fixed;
  inset: 0;
  z-index: 100;
  pointer-events: none;
  display: flex;
}
.curtain__panel {
  width: 50.2%;
  background:
    linear-gradient(to var(--seam-side), #16090a 0%, #0a0405 34%, #000 100%);
  will-change: transform;
}
.curtain__panel--l { --seam-side: left; }
.curtain__panel--r { --seam-side: right; }
.curtain__seam {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 1px;
  margin-left: -0.5px;
  background: var(--blood);
  box-shadow: 0 0 24px 4px rgba(194, 39, 45, 0.55);
  opacity: 0;
}

.js-curtain .curtain__panel--l { animation: part-l 1150ms cubic-bezier(0.65, 0, 0.2, 1) 260ms both; }
.js-curtain .curtain__panel--r { animation: part-r 1150ms cubic-bezier(0.65, 0, 0.2, 1) 260ms both; }
.js-curtain .curtain__seam    { animation: seam 700ms ease-out both; }
.js-curtain .hero-mark,
.js-curtain .hero-lockup,
.js-curtain .hero-tagline,
.js-curtain .hero-date,
.js-curtain .hero .btn,
.js-curtain .scroll-cue { animation: house-lights 900ms ease-out 700ms both; }

@keyframes part-l { to { transform: translateX(-101%); } }
@keyframes part-r { to { transform: translateX(101%); } }
@keyframes seam {
  0%   { opacity: 0; transform: scaleY(0.2); }
  45%  { opacity: 1; transform: scaleY(1); }
  100% { opacity: 0; transform: scaleY(1); }
}
@keyframes house-lights {
  from { opacity: 0; transform: translateY(14px); }
  to   { opacity: 1; transform: none; }
}

@media (prefers-reduced-motion: reduce) {
  .curtain { display: none; }
  .js-curtain .curtain__panel--l,
  .js-curtain .curtain__panel--r,
  .js-curtain .curtain__seam,
  .js-curtain .hero-mark,
  .js-curtain .hero-lockup,
  .js-curtain .hero-tagline,
  .js-curtain .hero-date,
  .js-curtain .hero .btn,
  .js-curtain .scroll-cue { animation: none; }
}

/* ---- hero film layer ---- */
.hero-video,
.hero-scrim {
  position: absolute;
  inset: 0;
  z-index: -1;
}
.hero-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 900ms ease-out;
}
.hero-video.lit { opacity: 1; }
/* keeps the silver type off the lamp highlight: body copy stays past 4.5:1 */
.hero-scrim {
  /* Layer 1 kills the lamp pool that sat behind "LIES" and nothing else.
     Layers 2 and 3 are the original scrim, unchanged: measured identical
     tagline/date contrast and room brightness with layer 1 added. */
  background:
    radial-gradient(ellipse 62% 28% at 50% 43%, rgba(4,4,5,0.99) 0%, rgba(4,4,5,0.30) 60%, rgba(4,4,5,0) 85%),
    radial-gradient(ellipse 70% 55% at 50% 46%, rgba(4,4,5,0.34) 0%, rgba(4,4,5,0.72) 100%),
    linear-gradient(to bottom, rgba(4,4,5,0.78) 0%, rgba(4,4,5,0.42) 38%, rgba(4,4,5,0.88) 100%);
}
@media (prefers-reduced-motion: reduce) {
  .hero-video { display: none; }
}
