@font-face {
  font-family: "Anton";
  src: url("assets/fonts/anton.woff2") format("woff2");
  font-display: swap;
}
@font-face {
  font-family: "Archivo";
  src: url("assets/fonts/archivo.woff2") format("woff2");
  font-weight: 100 900;
  font-stretch: 62% 125%;
  font-display: swap;
}

:root {
  --ink: #1b0d08;
  --ink-2: #2b150c;
  --ember: #ec6a23;
  --ember-deep: #b93c12;
  --marquee: #f5b81f;
  --butter: #ffe7ae;
  --butter-dim: #e0bd86;
  --beam: #6fd6c6;
  --card: #f6e3b4;

  --display: "Anton", "Archivo", sans-serif;
  --body: "Archivo", system-ui, sans-serif;

  --gutter: clamp(1.125rem, 4vw, 3rem);
  --section: clamp(4.5rem, 10vw, 9rem);
  --out: cubic-bezier(0.16, 1, 0.3, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scrollbar-color: var(--ember-deep) var(--ink); }
body {
  margin: 0;
  background: var(--ink);
  color: var(--butter);
  font-family: var(--body);
  font-size: 1.0625rem;
  line-height: 1.6;
  font-variation-settings: "wdth" 100;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; height: auto; }
h1, h2, h3, p, ul, ol, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
::selection { background: var(--marquee); color: var(--ink); }
:focus-visible { outline: 3px solid var(--beam); outline-offset: 3px; }

h2 {
  font-family: var(--display);
  font-weight: 400;
  text-transform: uppercase;
  line-height: 0.98;
  letter-spacing: 0.005em;
  font-size: clamp(2.6rem, 7.2vw, 6rem);
  text-wrap: balance;
}
h3 {
  font-family: var(--display);
  font-weight: 400;
  text-transform: uppercase;
  font-size: clamp(1.5rem, 2.6vw, 2.1rem);
  line-height: 1.08;
  letter-spacing: 0.01em;
  text-wrap: balance;
}

.wrap { width: min(100% - 2 * var(--gutter), 78rem); margin-inline: auto; }

.skip {
  position: absolute; left: var(--gutter); top: -4rem; z-index: 10;
  background: var(--marquee); color: var(--ink); padding: 0.6rem 1rem;
  font-weight: 700; text-decoration: none;
}
.skip:focus { top: 0.75rem; }

/* ---------- hero: the one-sheet ---------- */
.hero {
  position: relative;
  height: min(100svh, 70rem);
  min-height: 34rem;
  display: grid;
  align-items: end;
  overflow: hidden;
  isolation: isolate;
}
.hero-art {
  position: absolute; inset: 0; z-index: -2;
  width: 100%; height: 100%;
  object-fit: cover; object-position: 50% 22%;
  animation: settle 2.4s var(--out) both;
}
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(to top, var(--ink) 0%, rgba(27, 13, 8, 0.86) 16%, rgba(27, 13, 8, 0) 52%),
    radial-gradient(120% 80% at 50% 40%, rgba(27, 13, 8, 0) 55%, rgba(27, 13, 8, 0.55) 100%);
}
.hero-title {
  padding: 0 var(--gutter) clamp(2rem, 5vh, 3.5rem);
  text-align: center;
}
.hero h1 { margin-inline: auto; width: min(100%, 58rem); }
.hero h1 img {
  width: 100%;
  filter: drop-shadow(0 18px 28px rgba(0, 0, 0, 0.55));
  animation: land 0.9s var(--out) 0.15s both;
}
.tagline {
  margin-top: clamp(0.25rem, 1.2vw, 0.9rem);
  font-variation-settings: "wdth" 68;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.34em;
  font-size: clamp(0.95rem, 2.3vw, 1.6rem);
  color: var(--butter);
}
.status {
  margin-top: clamp(1.1rem, 2.4vw, 1.75rem);
  display: flex; flex-wrap: wrap; justify-content: center; align-items: center;
  gap: 0.5rem 0.9rem;
  color: var(--butter-dim);
  font-size: 1rem;
}
.stamp {
  font-family: var(--display);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-size: 1.2rem;
  line-height: 1;
  color: var(--ink);
  background: var(--marquee);
  padding: 0.55rem 0.9rem 0.5rem;
  transform: rotate(-2deg);
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.45);
}

@keyframes settle { from { transform: scale(1.06); } to { transform: scale(1); } }
@keyframes land { from { transform: translateY(18px) scale(1.04); filter: drop-shadow(0 18px 28px rgba(0,0,0,0.55)) blur(6px); } to { transform: none; } }

/* ---------- K-CALM crawl ---------- */
.crawl {
  display: flex; align-items: stretch;
  background: var(--marquee); color: var(--ink);
  border-block: 4px solid var(--ink);
}
.crawl-ident {
  flex: none;
  display: flex; align-items: center; gap: 0.5rem;
  padding: 0.7rem 1.1rem 0.7rem var(--gutter);
  background: var(--ink); color: var(--marquee);
  font-family: var(--display); text-transform: uppercase;
  font-size: 1.3rem; line-height: 1; letter-spacing: 0.04em;
  white-space: nowrap;
}
.crawl-ident span { color: var(--butter); font-family: var(--body); font-weight: 700; font-size: 0.8rem; letter-spacing: 0.12em; font-variation-settings: "wdth" 80; }
.crawl-window { display: flex; overflow: hidden; flex: 1; min-width: 0; }
.crawl-track {
  flex: none; display: flex; align-items: center;
  animation: crawl 80s linear infinite;
}
.crawl:hover .crawl-track, .crawl:focus-within .crawl-track { animation-play-state: paused; }
.crawl-track li {
  white-space: nowrap;
  padding: 0.7rem 0;
  font-weight: 650;
  font-variation-settings: "wdth" 88;
  font-size: 1.0625rem;
}
.crawl-track li::after {
  content: ""; display: inline-block; vertical-align: middle;
  width: 0.5rem; height: 0.5rem; margin: 0 1.4rem;
  background: var(--ember-deep); transform: rotate(45deg);
}
@keyframes crawl { to { transform: translateX(-100%); } }

/* ---------- pitch: ember field ---------- */
.pitch { background: var(--ember); color: var(--ink); padding-block: var(--section); }
.pitch-grid { display: grid; gap: clamp(2rem, 5vw, 5rem); grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); align-items: start; }
.pitch-body { max-width: 34rem; padding-top: 0.6rem; }
.pitch-body > p { font-size: clamp(1.15rem, 1.6vw, 1.35rem); line-height: 1.5; font-weight: 500; }
.steps { margin-top: 2rem; border-top: 3px solid var(--ink); counter-reset: step; }
.steps li {
  counter-increment: step;
  display: grid; grid-template-columns: 2.6rem 1fr; align-items: baseline;
  padding: 0.9rem 0; border-bottom: 1px solid rgba(27, 13, 8, 0.45);
}
.steps li::before { content: counter(step); font-family: var(--display); font-size: 1.9rem; line-height: 1; }
.steps b { font-weight: 800; }

/* ---------- lobby cards ---------- */
.cards { padding-block: var(--section); background: var(--ink); }
.cards-lede { margin-top: 1.1rem; max-width: 38rem; color: var(--butter-dim); }
.card-grid {
  margin-top: clamp(2.5rem, 5vw, 4rem);
  display: grid; grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: clamp(1.25rem, 2.6vw, 2.25rem);
}
.card {
  grid-column: span 2;
  background: var(--card); color: var(--ink);
  padding: 0.7rem 0.7rem 0;
  box-shadow: 0 22px 40px -12px rgba(0, 0, 0, 0.7), 0 2px 0 rgba(255, 255, 255, 0.25) inset;
  transition: transform 0.5s var(--out), box-shadow 0.5s var(--out);
  display: flex; flex-direction: column;
}
.card-wide { grid-column: span 4; }
.card:nth-child(odd) { transform: rotate(-0.7deg); }
.card:nth-child(even) { transform: rotate(0.9deg); }
.card:nth-child(3n) { transform: rotate(-1.3deg); }
.card:hover { transform: rotate(0) translateY(-6px); box-shadow: 0 34px 50px -14px rgba(0, 0, 0, 0.8), 0 2px 0 rgba(255, 255, 255, 0.25) inset; }
.card img { width: 100%; flex: 1 1 auto; min-height: 0; aspect-ratio: 16 / 9; object-fit: cover; outline: 1px solid rgba(27, 13, 8, 0.35); outline-offset: -1px; }
.card figcaption {
  padding: 0.85rem 0.2rem 1rem;
  font-variation-settings: "wdth" 84;
  font-weight: 600;
  font-size: 0.98rem;
  line-height: 1.35;
  text-wrap: pretty;
}
.card-wide figcaption { font-size: 1.12rem; }

/* ---------- cast: marquee field ---------- */
.cast { background: var(--marquee); color: var(--ink); padding-block: var(--section); text-align: center; }
.cast h2 { font-size: clamp(1.4rem, 2.4vw, 2rem); letter-spacing: 0.3em; margin-right: -0.3em; }
.bill {
  margin-top: 1.5rem;
  display: flex; flex-wrap: wrap; justify-content: center; align-items: baseline;
  gap: 0.1em 0.55em;
  font-family: var(--display); text-transform: uppercase; line-height: 1.05;
}
.bill-natural { font-size: clamp(2.3rem, 6.4vw, 5.6rem); }
.bill-unnatural { font-size: clamp(1.9rem, 4.6vw, 4rem); color: var(--ember-deep); }
.bill li { white-space: nowrap; }
.bill-join {
  margin-top: 1.6rem;
  font-style: italic; font-weight: 500; font-size: 1.15rem;
}
.bill-join + .bill { margin-top: 0.7rem; }
.bill-last {
  margin-top: 0.5rem;
  font-family: var(--display); text-transform: uppercase;
  font-size: clamp(2.6rem, 8vw, 6rem); line-height: 1;
}
.cast-note { margin: 2.6rem auto 0; max-width: 34rem; font-weight: 500; }

/* ---------- programme notes ---------- */
.notes { background: var(--ink-2); padding-block: var(--section); }
.note-list {
  margin-top: clamp(2.5rem, 5vw, 4rem);
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(1.75rem, 4vw, 3.5rem);
}
.note { border-top: 1px solid var(--butter-dim); padding-top: 1.1rem; }
.note h3 { color: var(--marquee); }
.note p { margin-top: 0.8rem; color: var(--butter); max-width: 34rem; }
.film {
  margin-top: clamp(3.5rem, 7vw, 6rem);
  display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr);
  gap: clamp(1.75rem, 4vw, 4rem); align-items: center;
}
.film-frame {
  background: #0b0503;
  padding: 1.6rem 0;
  box-shadow: 0 30px 50px -16px rgba(0, 0, 0, 0.8);
  background-image:
    radial-gradient(circle at 50% 50%, var(--ink-2) 0 0.33rem, transparent 0.36rem),
    radial-gradient(circle at 50% 50%, var(--ink-2) 0 0.33rem, transparent 0.36rem);
  background-size: 2rem 1.6rem, 2rem 1.6rem;
  background-position: 0 0, 0 100%;
  background-repeat: repeat-x;
}
.film-frame img { width: 100%; }
.film-text h3 { color: var(--marquee); font-size: clamp(2rem, 4vw, 3.2rem); }
.film-text p { margin-top: 1rem; max-width: 30rem; }

/* ---------- close ---------- */
.close { background: var(--ember-deep); color: var(--butter); padding-block: var(--section); text-align: center; }
.close h2 { color: #fff3d4; }
.close-line { margin: 1.4rem auto 0; max-width: 36rem; font-size: 1.15rem; color: #ffe9c2; }
.close-quote { margin: 2.6rem auto 0; max-width: 30rem; font-style: italic; font-weight: 500; color: #ffe9c2; }

/* ---------- credits ---------- */
.credits { background: var(--ink); padding-block: 3.5rem 3rem; text-align: center; }
.credit-block {
  font-variation-settings: "wdth" 62;
  font-weight: 600; text-transform: uppercase;
  letter-spacing: 0.14em; font-size: clamp(1rem, 1.7vw, 1.35rem); line-height: 1.5;
  color: var(--butter-dim);
  max-width: 60rem; margin-inline: auto; text-wrap: balance;
}
.credit-block span:not(.nb) { font-size: 0.74em; letter-spacing: 0.2em; color: #b48f63; margin-inline: 0.35em; }
.legal { margin-top: 1.6rem; font-size: 0.85rem; color: #b48f63; }

/* ---------- small screens ---------- */
@media (max-width: 900px) {
  .pitch-grid, .film { grid-template-columns: 1fr; }
  .note-list { grid-template-columns: 1fr; }
  .card, .card-wide { grid-column: span 3; }
  .card-wide { grid-column: span 6; }
}
@media (max-width: 700px) {
  .hero-art { object-position: 58% 20%; }
  .tagline { letter-spacing: 0.2em; }
  .card, .card-wide { grid-column: span 6; }
  .crawl-ident { font-size: 1.05rem; padding-right: 0.8rem; }
  .crawl-ident span { display: none; }
  .bill li { white-space: normal; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero-art, .hero h1 img { animation: none; }
  .crawl-window { flex-direction: column; }
  .crawl-track { animation: none; flex-wrap: wrap; padding: 0.4rem 0.9rem; }
  .crawl-track[aria-hidden] { display: none; }
  .crawl-track li { white-space: normal; padding: 0.2rem 0; }
  .card, .card:hover { transition: none; }
}
.nb { white-space: nowrap; }
