/* ============================================================
   AI TORONTO SHORTS — industrial noir
   palette: coal black / bone / blood red
   type: Bebas Neue (display) + IBM Plex Mono (spec labels)
   ============================================================ */

:root {
  --ink: #0b0a08;
  --coal: #16130f;
  --steel: #221d18;
  --bone: #e7dcc4;
  --bone-dim: #9a8f7a;
  --red: #c5161d;
  --red-bright: #ee2b32;
  --red-deep: #6d0c10;

  --font-display: "Bebas Neue", "Arial Narrow", sans-serif;
  --font-mono: "IBM Plex Mono", ui-monospace, monospace;

  --text-base: clamp(1rem, 0.94rem + 0.3vw, 1.125rem);
  --text-hero: clamp(5.5rem, 2rem + 24vw, 24rem);
  --text-h2: clamp(3rem, 1.5rem + 6vw, 7.5rem);
  --space-section: clamp(5rem, 4rem + 6vw, 12rem);

  --duration-fast: 180ms;
  --duration-normal: 320ms;
  --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
}

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

html { scroll-behavior: smooth; }

body {
  background: var(--ink);
  color: var(--bone);
  font-family: var(--font-mono);
  font-size: var(--text-base);
  line-height: 1.6;
  overflow-x: hidden;
}

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

.red { color: var(--red-bright); font-style: normal; }
.red-text { color: var(--red-bright); }

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

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

::selection { background: var(--red); color: var(--bone); }

/* ---------- overlays ---------- */

.grain {
  position: fixed; inset: -50%;
  pointer-events: none; z-index: 60;
  opacity: 0.5;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.92' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.16'/%3E%3C/svg%3E");
  animation: grain-shift 0.9s steps(4) infinite;
}
@keyframes grain-shift {
  0% { transform: translate(0, 0); }
  25% { transform: translate(-2%, 3%); }
  50% { transform: translate(3%, -2%); }
  75% { transform: translate(-3%, -3%); }
  100% { transform: translate(2%, 2%); }
}

.vignette {
  position: fixed; inset: 0;
  pointer-events: none; z-index: 59;
  background: radial-gradient(ellipse 90% 80% at 50% 45%, transparent 55%, rgba(4, 3, 2, 0.55) 100%);
}

.gauge {
  position: fixed; top: 0; left: 0; right: 0; height: 3px;
  z-index: 90; background: rgba(231, 220, 196, 0.08);
}
.gauge-fill {
  height: 100%; width: 100%;
  background: linear-gradient(90deg, var(--red-deep), var(--red-bright));
  transform-origin: left;
  transform: scaleX(0);
  box-shadow: 0 0 12px rgba(238, 43, 50, 0.6);
}

/* ---------- boot intro ---------- */

.boot {
  position: fixed; inset: 0; z-index: 100;
  background: var(--ink);
  display: grid; place-items: center;
  transition: opacity 700ms var(--ease-out-expo), visibility 700ms;
}
.boot.done { opacity: 0; visibility: hidden; }
.boot-inner { text-align: center; }
.boot-gear {
  width: 72px; height: 72px; color: var(--red);
  animation: spin 2.4s linear infinite;
  margin: 0 auto 1.5rem;
}
@keyframes spin { to { transform: rotate(360deg); } }
.boot-line {
  font-size: 0.72rem; letter-spacing: 0.32em;
  color: var(--bone-dim);
  animation: flicker 1.8s infinite;
}
@keyframes flicker {
  0%, 100% { opacity: 1; }
  8% { opacity: 0.3; }
  12% { opacity: 1; }
  60% { opacity: 0.85; }
  64% { opacity: 0.4; }
  68% { opacity: 1; }
}

/* ---------- topbar ---------- */

.topbar {
  position: fixed; top: 3px; left: 0; right: 0; z-index: 80;
  background: linear-gradient(rgba(11, 10, 8, 0.92), rgba(11, 10, 8, 0.75) 70%, transparent);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}
.topbar-nav {
  max-width: 1440px; margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0.9rem clamp(1rem, 4vw, 3rem);
}
.topbar-brand {
  font-family: var(--font-display);
  font-size: 1.7rem; letter-spacing: 0.08em;
  text-decoration: none; line-height: 1;
}
.topbar-links { display: flex; gap: clamp(1rem, 3vw, 2.5rem); }
.topbar-links a {
  font-size: 0.72rem; letter-spacing: 0.26em; text-transform: uppercase;
  text-decoration: none; color: var(--bone-dim);
  padding: 0.5rem 0.15rem;
  transition: color var(--duration-fast);
}
.topbar-links a:hover { color: var(--red-bright); }
.topbar-cta {
  font-size: 0.7rem; letter-spacing: 0.22em; text-transform: uppercase;
  text-decoration: none; color: var(--bone);
  border: 1px solid var(--red);
  padding: 0.65rem 1.2rem;
  position: relative; overflow: hidden;
  transition: color var(--duration-normal);
}
.topbar-cta::before {
  content: ""; position: absolute; inset: 0;
  background: var(--red);
  transform: scaleX(0); transform-origin: left;
  transition: transform var(--duration-normal) var(--ease-out-expo);
  z-index: -1;
}
.topbar-cta:hover::before { transform: scaleX(1); }

/* 7 links + brand + CTA need ~1000px of track — hide below that to avoid a cramped bar */
@media (max-width: 960px) {
  .topbar-links { display: none; }
}

/* ---------- hero ---------- */

.hero {
  position: relative;
  min-height: 100dvh;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  padding: 6rem 1rem 5rem;
  overflow: hidden;
  background:
    radial-gradient(ellipse 120% 70% at 50% 110%, rgba(109, 12, 16, 0.25), transparent 60%),
    var(--ink);
}

.hero-sun {
  position: absolute;
  width: clamp(280px, 42vw, 640px); aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle, var(--red) 0%, var(--red-deep) 65%, transparent 72%);
  top: 50%; left: 50%;
  transform: translate(-50%, -58%);
  opacity: 0.62;
  filter: blur(2px);
  animation: sun-pulse 7s ease-in-out infinite;
}
@keyframes sun-pulse {
  0%, 100% { opacity: 0.62; transform: translate(-50%, -58%) scale(1); }
  50% { opacity: 0.78; transform: translate(-50%, -58%) scale(1.04); }
}

.hero-smoke {
  position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(ellipse 60% 30% at 18% 88%, rgba(231, 220, 196, 0.07), transparent 70%),
    radial-gradient(ellipse 50% 26% at 80% 84%, rgba(231, 220, 196, 0.05), transparent 70%);
  animation: smoke-drift 16s ease-in-out infinite alternate;
}
@keyframes smoke-drift {
  from { transform: translateX(-2%) translateY(0); }
  to { transform: translateX(2%) translateY(-3%); }
}

.hero-skyline {
  position: absolute; bottom: 0; left: 0; right: 0;
  height: clamp(120px, 24vh, 260px);
  color: #060504;
  z-index: 2;
}
.hero-skyline svg { width: 100%; height: 100%; }

.hero-meta {
  position: absolute; top: 6.2rem;
  display: flex; flex-direction: column; gap: 0.3rem;
  font-size: 0.72rem; letter-spacing: 0.3em;
  color: var(--bone-dim); z-index: 3;
}
.hero-meta--left { left: clamp(1rem, 4vw, 3rem); }
.hero-meta--right { right: clamp(1rem, 4vw, 3rem); text-align: right; }
.hero-meta .red { color: var(--red-bright); }

.hero-stack { position: relative; z-index: 3; text-align: center; }

.hero-title {
  font-family: var(--font-display);
  font-weight: 400;
  display: flex; flex-direction: column; align-items: center;
  line-height: 0.82;
}

.hero-ai {
  font-size: var(--text-hero);
  letter-spacing: -0.02em;
  display: flex;
  text-shadow: 0 0 80px rgba(197, 22, 29, 0.35);
}
.hero-ai-a, .hero-ai-i {
  display: inline-block;
  opacity: 0;
  transform: translateY(12%) scale(1.06);
  animation: slam 600ms var(--ease-out-expo) forwards;
}
.hero-ai-a { animation-delay: 150ms; }
.hero-ai-i {
  color: var(--red-bright);
  animation-delay: 330ms;
  text-shadow: 0 0 60px rgba(238, 43, 50, 0.5);
}
@keyframes slam {
  from { opacity: 0; transform: translateY(12%) scale(1.06); }
  60% { opacity: 1; }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

.hero-word {
  font-size: clamp(2.2rem, 1rem + 8.5vw, 8rem);
  letter-spacing: 0.32em;
  margin-left: 0.32em; /* compensate tracking for optical centering */
  display: flex;
}
.hero-word span {
  display: inline-block; opacity: 0;
  transform: translateY(40%);
  animation: rise 500ms var(--ease-out-expo) forwards;
}
.hero-word--toronto span:nth-child(1) { animation-delay: 480ms; }
.hero-word--toronto span:nth-child(2) { animation-delay: 510ms; }
.hero-word--toronto span:nth-child(3) { animation-delay: 540ms; }
.hero-word--toronto span:nth-child(4) { animation-delay: 570ms; }
.hero-word--toronto span:nth-child(5) { animation-delay: 600ms; }
.hero-word--toronto span:nth-child(6) { animation-delay: 630ms; }
.hero-word--toronto span:nth-child(7) { animation-delay: 660ms; }
.hero-word--shorts { margin-top: 0.12em; }
.hero-word--shorts span:nth-child(1) { animation-delay: 700ms; }
.hero-word--shorts span:nth-child(2) { animation-delay: 730ms; }
.hero-word--shorts span:nth-child(3) { animation-delay: 760ms; }
.hero-word--shorts span:nth-child(4) { animation-delay: 790ms; }
.hero-word--shorts span:nth-child(5) { animation-delay: 820ms; }
.hero-word--shorts span:nth-child(6) { animation-delay: 850ms; }
@keyframes rise {
  from { opacity: 0; transform: translateY(40%); }
  to { opacity: 1; transform: translateY(0); }
}

.hero-festival {
  display: flex; align-items: center; gap: 1rem;
  justify-content: center;
  margin-top: 1.6rem;
  font-size: 0.8rem; letter-spacing: 0.5em;
  color: var(--bone-dim);
}
.hero-festival i { display: block; width: clamp(2rem, 6vw, 4.5rem); height: 1px; background: var(--bone-dim); }

.hero-tag {
  margin-top: 1.1rem;
  font-size: clamp(0.78rem, 0.7rem + 0.5vw, 1rem);
  letter-spacing: 0.18em;
}

/* hero CTA → jump straight to Summer 2026 winners */
.hero-winners {
  margin-top: 1.8rem;
  display: inline-flex; align-items: center; gap: 0.85rem;
  padding: 0.7rem 1.3rem 0.65rem;
  border: 1px solid var(--red);
  background: rgba(197, 22, 29, 0.08);
  text-decoration: none;
  font-family: var(--font-mono);
  transition: background var(--duration-normal), box-shadow var(--duration-normal), transform var(--duration-normal) var(--ease-out-expo);
}
.hero-winners:hover {
  background: var(--red);
  box-shadow: 0 0 40px rgba(197, 22, 29, 0.4);
  transform: translateY(-2px);
}
.hero-winners-badge {
  font-size: 0.6rem; letter-spacing: 0.22em;
  color: var(--bone);
  background: var(--red);
  padding: 0.2rem 0.5rem 0.15rem;
}
.hero-winners:hover .hero-winners-badge {
  background: var(--ink); color: var(--red-bright);
}
.hero-winners-label {
  font-size: 0.72rem; letter-spacing: 0.26em; text-transform: uppercase;
  color: var(--bone);
}
.hero-winners-arrow {
  font-size: 0.9rem; color: var(--red-bright);
  transition: transform var(--duration-normal) var(--ease-out-expo), color var(--duration-normal);
}
.hero-winners:hover .hero-winners-arrow {
  transform: translateX(4px); color: var(--bone);
}

.hero-scroll {
  position: absolute; bottom: 1.6rem; z-index: 3;
  display: flex; align-items: center; gap: 0.8rem;
  font-size: 0.62rem; letter-spacing: 0.3em;
  color: var(--bone-dim); text-decoration: none;
  transition: color var(--duration-fast);
}
.hero-scroll:hover { color: var(--red-bright); }
.hero-scroll svg { width: 30px; height: 30px; }

/* ---------- marquee ---------- */

.marquee, .footer-marquee {
  overflow: hidden;
  border-top: 1px solid rgba(231, 220, 196, 0.14);
  border-bottom: 1px solid rgba(231, 220, 196, 0.14);
  background: var(--coal);
  padding: 1.1rem 0;
}
.marquee-track {
  display: flex; align-items: center; gap: 3rem;
  width: max-content;
  font-family: var(--font-display);
  font-size: clamp(1.3rem, 1rem + 1.6vw, 2.4rem);
  letter-spacing: 0.18em;
  white-space: nowrap;
  animation: marquee 22s linear infinite;
}
.marquee-track--slow { animation-duration: 30s; }
.marquee-track i { color: var(--red); font-style: normal; font-size: 0.8em; }
.marquee-track span { color: var(--bone); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- sections shared ---------- */

.section-stamp {
  font-size: 0.7rem; letter-spacing: 0.4em;
  color: var(--red-bright);
  margin-bottom: clamp(2rem, 4vw, 4rem);
}
.section-stamp::before {
  content: "■ "; font-size: 0.6em; vertical-align: middle;
}

.section-title {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: var(--text-h2);
  line-height: 0.92;
  letter-spacing: 0.02em;
}

/* ---------- manifesto ---------- */

.manifesto {
  max-width: 1440px; margin: 0 auto;
  padding: var(--space-section) clamp(1rem, 4vw, 3rem);
}

.manifesto-grid {
  display: grid;
  grid-template-columns: minmax(280px, 0.9fr) 1.1fr;
  gap: clamp(2rem, 5vw, 6rem);
  align-items: start;
}

.manifesto-sticky { position: sticky; top: 14vh; }

.poster-frame {
  border: 1px solid rgba(231, 220, 196, 0.2);
  padding: 0.7rem;
  background: var(--coal);
  transform: rotate(-1.2deg);
  transition: transform 600ms var(--ease-out-expo);
}
.poster-frame:hover { transform: rotate(0deg) scale(1.015); }
.poster-frame img { filter: contrast(1.05) saturate(0.92); }
.poster-frame figcaption {
  padding-top: 0.7rem;
  font-size: 0.6rem; letter-spacing: 0.3em;
  color: var(--bone-dim); text-align: center;
}

.manifesto-lines { display: flex; flex-direction: column; gap: clamp(1.6rem, 3vw, 2.8rem); padding-top: 2rem; }

.m-line {
  font-family: var(--font-display);
  font-size: clamp(1.7rem, 1.2rem + 2.2vw, 3.4rem);
  line-height: 1.04;
  letter-spacing: 0.03em;
  opacity: 0;
  transform: translateY(36px);
  transition: opacity 700ms var(--ease-out-expo), transform 700ms var(--ease-out-expo);
}
.m-line.in-view { opacity: 1; transform: translateY(0); }
.m-line em { font-style: normal; }
.m-line.m-big { font-size: clamp(2.2rem, 1.4rem + 3.4vw, 5rem); }
.m-line.m-body {
  font-family: var(--font-mono);
  font-size: clamp(0.95rem, 0.85rem + 0.4vw, 1.15rem);
  line-height: 1.75;
  color: var(--bone-dim);
  max-width: 56ch;
  border-left: 2px solid var(--red);
  padding-left: 1.2rem;
}
.strike-coal { text-decoration-color: var(--red); text-decoration-thickness: 3px; }

.builders {
  margin-top: var(--space-section);
  text-align: center;
}
.builders-intro {
  font-size: 0.85rem; letter-spacing: 0.3em; text-transform: uppercase;
  color: var(--bone-dim); margin-bottom: 2.5rem;
}
.builders-list {
  list-style: none;
  display: flex; flex-direction: column; gap: 0.4rem;
}
.builders-list li {
  font-family: var(--font-display);
  font-size: clamp(2.6rem, 1.6rem + 5.5vw, 7rem);
  line-height: 0.96;
  letter-spacing: 0.06em;
}
.builders-list li.red-text { text-shadow: 0 0 60px rgba(238, 43, 50, 0.4); }
.builders-outro {
  max-width: 62ch; margin: 3.5rem auto 0;
  color: var(--bone-dim); line-height: 1.8;
}
.builders-cathedral {
  margin-top: 3rem;
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 1.2rem + 3vw, 4rem);
  letter-spacing: 0.1em;
}

/* ---------- banner strip ---------- */

.strip {
  border-top: 1px solid rgba(231, 220, 196, 0.14);
  border-bottom: 1px solid rgba(231, 220, 196, 0.14);
  overflow: hidden;
  max-height: 60vh;
}
.strip-img {
  width: 100%; object-fit: cover;
  filter: contrast(1.04);
}

/* ---------- awards ---------- */

.awards {
  max-width: 1440px; margin: 0 auto;
  padding: var(--space-section) clamp(1rem, 4vw, 3rem);
}
.awards .section-title { margin-bottom: clamp(2.5rem, 5vw, 5rem); }

.awards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
  gap: 1px;
  background: rgba(231, 220, 196, 0.14);
  border: 1px solid rgba(231, 220, 196, 0.14);
}

.award {
  position: relative;
  background: var(--ink);
  padding: clamp(1.6rem, 3vw, 2.4rem);
  min-height: 270px;
  display: flex; flex-direction: column;
  transition: background var(--duration-normal);
}
.award:hover { background: var(--coal); }
.award::after {
  content: ""; position: absolute; inset: 0;
  border: 1px solid var(--red);
  opacity: 0;
  transition: opacity var(--duration-normal);
  pointer-events: none;
}
.award:hover::after { opacity: 1; }

.award-num {
  position: absolute; top: 1.1rem; right: 1.2rem;
  font-size: 0.7rem; letter-spacing: 0.2em;
  color: var(--bone-dim);
}
.award-icon {
  width: 46px; height: 46px;
  color: var(--bone-dim);
  margin-bottom: 1.4rem;
  transition: color var(--duration-normal), transform 600ms var(--ease-out-expo);
}
.award:hover .award-icon { color: var(--red-bright); transform: scale(1.08); }

.award h3 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(1.5rem, 1.2rem + 1vw, 2.1rem);
  letter-spacing: 0.05em;
  line-height: 1;
  margin-bottom: 0.5rem;
}
.award-cat {
  font-size: 0.72rem; letter-spacing: 0.24em; text-transform: uppercase;
  color: var(--red-bright);
  margin-bottom: 1rem;
}
.award-desc {
  font-size: 0.85rem; color: var(--bone-dim); line-height: 1.7;
  margin-top: auto;
}

.award--grand {
  grid-column: span 2;
  background:
    radial-gradient(ellipse 70% 90% at 85% 50%, rgba(109, 12, 16, 0.35), transparent 70%),
    var(--ink);
}
.award--grand h3 { font-size: clamp(2rem, 1.5rem + 2vw, 3.4rem); }
.award--grand .award-icon { width: 60px; height: 60px; color: var(--red-bright); }

@media (max-width: 640px) {
  .award--grand { grid-column: span 1; }
}

/* ---------- rules ---------- */

.rules {
  background: var(--coal);
  border-top: 1px solid rgba(231, 220, 196, 0.14);
  border-bottom: 1px solid rgba(231, 220, 196, 0.14);
}
.rules > * { max-width: 1440px; margin-left: auto; margin-right: auto; }
.rules { padding: var(--space-section) clamp(1rem, 4vw, 3rem); }

.rules-grid {
  display: grid;
  grid-template-columns: minmax(220px, 0.8fr) 1.4fr;
  gap: clamp(2rem, 6vw, 7rem);
  align-items: start;
}
.rules-title {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: var(--text-h2);
  line-height: 0.9;
  position: sticky; top: 16vh;
}

.rules-list {
  list-style: none;
  counter-reset: rule;
}
.rules-list li {
  counter-increment: rule;
  display: grid;
  grid-template-columns: 4.5rem 1fr;
  gap: 1.2rem;
  padding: 1.35rem 0;
  border-bottom: 1px solid rgba(231, 220, 196, 0.12);
  color: var(--bone);
  line-height: 1.7;
  transition: border-color var(--duration-normal);
}
.rules-list li:hover { border-bottom-color: var(--red); }
.rules-list li::before {
  content: "R-0" counter(rule);
  font-size: 0.7rem; letter-spacing: 0.18em;
  color: var(--red-bright);
  padding-top: 0.35rem;
}

.rules-creed {
  margin-top: var(--space-section);
  text-align: center;
  font-family: var(--font-display);
}
.rules-creed p {
  font-size: clamp(1.9rem, 1.3rem + 3vw, 4.2rem);
  line-height: 1.1;
  letter-spacing: 0.04em;
}
.creed-final {
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: 1px solid var(--red);
  display: inline-block;
  font-size: clamp(1.5rem, 1.1rem + 2vw, 3rem) !important;
  letter-spacing: 0.12em !important;
}

/* ---------- event ---------- */

.event {
  position: relative;
  text-align: center;
  padding: var(--space-section) clamp(1rem, 4vw, 3rem);
  overflow: hidden;
}
.event-sun {
  position: absolute;
  width: clamp(320px, 50vw, 760px); aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(197, 22, 29, 0.5) 0%, rgba(109, 12, 16, 0.35) 60%, transparent 72%);
  left: 50%; top: 36%;
  transform: translate(-50%, -50%);
  filter: blur(4px);
  animation: sun-pulse 8s ease-in-out infinite;
  pointer-events: none;
}
.event > * { position: relative; }

.event-date {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(4.5rem, 2rem + 16vw, 17rem);
  line-height: 0.85;
  letter-spacing: 0.04em;
  display: flex; flex-wrap: wrap; justify-content: center; gap: 0 3vw;
}

.event-specs {
  margin: 3rem auto 0; max-width: 520px;
  border: 1px solid rgba(231, 220, 196, 0.2);
  background: rgba(11, 10, 8, 0.7);
  text-align: left;
}
.event-specs p {
  display: grid; grid-template-columns: 6.5rem 1fr; gap: 1rem;
  padding: 0.9rem 1.3rem;
  font-size: 0.82rem; letter-spacing: 0.1em;
}
.event-specs p + p { border-top: 1px solid rgba(231, 220, 196, 0.12); }
.event-specs span { color: var(--red-bright); letter-spacing: 0.24em; font-size: 0.68rem; padding-top: 0.15rem; }

.event-line {
  margin-top: 3rem;
  font-size: 0.85rem; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--bone-dim);
}
.event-question {
  margin: 2.2rem auto 0;
  font-family: var(--font-display);
  font-size: clamp(1.7rem, 1.2rem + 2.4vw, 3.6rem);
  line-height: 1.15;
}

.event-cta {
  display: inline-block;
  margin-top: 3rem;
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 1.1rem + 1.4vw, 2.2rem);
  letter-spacing: 0.18em;
  text-decoration: none;
  color: var(--bone);
  background: var(--red);
  padding: 1.1rem 3.2rem 0.9rem;
  position: relative;
  box-shadow: 0 0 50px rgba(197, 22, 29, 0.35);
  transition: transform var(--duration-normal) var(--ease-out-expo),
              box-shadow var(--duration-normal), background var(--duration-normal);
}
.event-cta:hover {
  background: var(--red-bright);
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 0 80px rgba(238, 43, 50, 0.55);
}
.event-cta:active { transform: translateY(0) scale(0.99); }

.event-quote {
  margin: var(--space-section) auto 0;
  max-width: 58ch;
  font-size: clamp(0.95rem, 0.85rem + 0.5vw, 1.2rem);
  line-height: 1.9;
  color: var(--bone-dim);
  font-style: italic;
}
.event-quote em { font-style: italic; }

/* ---------- footer ---------- */

.footer { border-top: 1px solid rgba(231, 220, 196, 0.14); }
.footer-marquee { border: 0; border-bottom: 1px solid rgba(231, 220, 196, 0.14); }
.footer-note {
  text-align: center;
  padding: 1.6rem 1rem;
  font-size: 0.62rem; letter-spacing: 0.28em;
  color: var(--bone-dim);
}

/* ---------- reveal engine ---------- */

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 800ms var(--ease-out-expo), transform 800ms var(--ease-out-expo);
  transition-delay: var(--reveal-delay, 0ms);
}
.reveal.in-view { opacity: 1; transform: translateY(0); }

/* ---------- responsive ---------- */

@media (max-width: 900px) {
  .manifesto-grid { grid-template-columns: 1fr; }
  .manifesto-sticky { position: static; max-width: 440px; margin: 0 auto; }
  .rules-grid { grid-template-columns: 1fr; }
  .rules-title { position: static; }
}

@media (max-width: 560px) {
  .hero-meta--right { top: auto; bottom: 5.5rem; right: 1rem; }
  .hero-meta--left { display: none; }
  .hero-scroll span { letter-spacing: 0.18em; }
}

/* ---------- reduced motion ---------- */

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .grain, .hero-sun, .event-sun, .hero-smoke, .boot-gear, .boot-line { animation: none; }
  .marquee-track { animation: none; flex-wrap: wrap; width: auto; justify-content: center; }
  .hero-ai-a, .hero-ai-i, .hero-word span { animation: none; opacity: 1; transform: none; }
  .reveal, .m-line { opacity: 1; transform: none; transition: none; }
  .spin-on-scroll { transform: none !important; }
}

/* ---------- official selection ---------- */

.selection {
  max-width: 1440px; margin: 0 auto;
  padding: var(--space-section) clamp(1rem, 4vw, 3rem);
}
.selection .section-title { margin-bottom: 1.4rem; }
.selection-intro {
  max-width: 52ch;
  color: var(--bone-dim);
  font-size: 0.9rem; line-height: 1.8;
  margin-bottom: clamp(2.5rem, 5vw, 5rem);
}

.film-grid {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: clamp(1.2rem, 2.5vw, 1.8rem);
}

.film {
  position: relative;
  background: var(--coal);
  border: 1px solid rgba(231, 220, 196, 0.14);
  display: flex; flex-direction: column;
}
/* hover frame on a pseudo-element so the card's .reveal transition stays intact */
.film::after {
  content: ""; position: absolute; inset: -1px;
  border: 1px solid var(--red);
  opacity: 0;
  transition: opacity var(--duration-normal);
  pointer-events: none;
}
.film:hover::after { opacity: 1; }
.film::before {
  content: ""; position: absolute; top: -1px; left: -1px; right: -1px; height: 3px;
  background: var(--red-bright); z-index: 2;
  transform: scaleX(0); transform-origin: left;
  transition: transform var(--duration-normal) var(--ease-out-expo);
}
.film:hover::before { transform: scaleX(1); }

.film-num {
  position: absolute; top: 0.7rem; right: 0.8rem; z-index: 2;
  font-size: 0.62rem; letter-spacing: 0.22em;
  color: var(--bone-dim);
  background: rgba(11, 10, 8, 0.78);
  padding: 0.2rem 0.5rem;
  transition: color var(--duration-normal);
}
.film:hover .film-num { color: var(--red-bright); }

.film-poster {
  overflow: hidden;
  border-bottom: 1px solid rgba(231, 220, 196, 0.14);
}
.film-poster img {
  width: 100%;
  aspect-ratio: 2 / 3; object-fit: cover;
  filter: contrast(1.05) saturate(0.88);
  transition: transform 700ms var(--ease-out-expo), filter var(--duration-normal);
}
.film:hover .film-poster img {
  transform: scale(1.05);
  filter: contrast(1.08) saturate(1);
}

.film-info {
  flex: 1;
  padding: 1.1rem 1.1rem 1.3rem;
  display: flex; flex-direction: column; gap: 0.45rem;
}
.film-flag {
  font-size: 0.6rem; letter-spacing: 0.28em; text-transform: uppercase;
  color: var(--red-bright);
}
.film-title {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(1.4rem, 1.2rem + 0.6vw, 1.8rem);
  letter-spacing: 0.05em;
  line-height: 1;
}
.film-meta {
  font-size: 0.62rem; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--bone-dim);
}
.film-logline {
  margin-top: 0.35rem;
  font-size: 0.78rem; line-height: 1.65;
  color: var(--bone-dim);
}

/* ---------- winners (summer 2026) ---------- */

.winners {
  max-width: 1440px; margin: 0 auto;
  padding: var(--space-section) clamp(1rem, 4vw, 3rem);
  border-top: 1px solid rgba(231, 220, 196, 0.14);
}
.winners .section-title { margin-bottom: 1.4rem; }
.winners-intro {
  max-width: 52ch;
  color: var(--bone-dim);
  font-size: 0.9rem; line-height: 1.8;
  margin-bottom: clamp(2.5rem, 5vw, 5rem);
}

/* landscape winner card — still frame, editorial span */
.film--wide { grid-column: span 2; }
.film--wide .film-poster img { aspect-ratio: 16 / 9; }

/* featured / opening-night card — editorial span */
.film--lead { grid-column: span 2; flex-direction: row; }
.film--lead .film-poster {
  flex: 0 0 52%;
  border-bottom: 0;
  border-right: 1px solid rgba(231, 220, 196, 0.14);
}
.film--lead .film-poster img { height: 100%; aspect-ratio: auto; }
.film--lead .film-info {
  justify-content: flex-end;
  padding: clamp(1.2rem, 2.5vw, 2rem);
  gap: 0.6rem;
}
.film--lead .film-title { font-size: clamp(2rem, 1.5rem + 1.8vw, 3.2rem); }
.film--lead .film-logline { font-size: 0.85rem; max-width: 34ch; }

/* ---------- the engineers (jury) ---------- */

.jury {
  max-width: 1440px; margin: 0 auto;
  padding: var(--space-section) clamp(1rem, 4vw, 3rem);
}
.jury .section-title { margin-bottom: 1.4rem; }
.jury-intro {
  max-width: 52ch;
  color: var(--bone-dim);
  font-size: 0.9rem; line-height: 1.8;
  margin-bottom: clamp(2.5rem, 5vw, 5rem);
}

.jury-grid {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 1px;
  background: rgba(231, 220, 196, 0.14);
  border: 1px solid rgba(231, 220, 196, 0.14);
}

.juror {
  position: relative;
  background: var(--ink);
  padding: clamp(1.6rem, 3vw, 2.2rem);
  display: flex; align-items: flex-start; gap: 1.4rem;
}
.juror:hover { background: var(--coal); }
.juror::after {
  content: ""; position: absolute; inset: 0;
  border: 1px solid var(--red);
  opacity: 0;
  transition: opacity var(--duration-normal);
  pointer-events: none;
}
.juror:hover::after { opacity: 1; }

.juror-mono {
  flex: 0 0 auto;
  width: 64px; height: 64px;
  display: grid; place-items: center;
  position: relative;
  font-family: var(--font-display);
  font-size: 1.7rem; letter-spacing: 0.04em; line-height: 1;
  color: var(--bone-dim);
  border: 1px solid rgba(231, 220, 196, 0.25);
  transition: color var(--duration-normal), border-color var(--duration-normal),
              transform 600ms var(--ease-out-expo);
}
.juror-mono::after {
  content: ""; position: absolute; top: -1px; left: -1px;
  width: 10px; height: 10px;
  border-top: 2px solid var(--red); border-left: 2px solid var(--red);
}
.juror:hover .juror-mono {
  color: var(--red-bright); border-color: var(--red);
  transform: rotate(-4deg) scale(1.06);
}

.juror-body h3 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(1.4rem, 1.2rem + 0.7vw, 1.9rem);
  letter-spacing: 0.05em; line-height: 1;
}
.juror-role {
  margin: 0.45rem 0 0.8rem;
  font-size: 0.66rem; letter-spacing: 0.24em; text-transform: uppercase;
  color: var(--red-bright);
}
.juror-bio {
  font-size: 0.82rem; line-height: 1.7;
  color: var(--bone-dim);
}

/* ---------- run of show ---------- */

.schedule {
  max-width: 1100px; margin: 0 auto;
  padding: var(--space-section) clamp(1rem, 4vw, 3rem);
}
.schedule .section-title { margin-bottom: 1rem; }
.schedule-note {
  font-size: 0.7rem; letter-spacing: 0.3em;
  color: var(--bone-dim);
  margin-bottom: clamp(2.5rem, 5vw, 4.5rem);
}

.timeline { list-style: none; }

.tl-row {
  display: grid;
  grid-template-columns: clamp(4rem, 10vw, 6.5rem) 2rem 1fr;
  gap: 0 clamp(0.9rem, 3vw, 1.8rem);
}

.tl-time {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 1.3rem + 1.2vw, 2.4rem);
  letter-spacing: 0.06em; line-height: 1;
  color: var(--red-bright);
  text-align: right;
  padding: 1.2rem 0 1.6rem;
  transition: transform var(--duration-normal) var(--ease-out-expo);
}
.tl-row:hover .tl-time { transform: translateX(-4px); }

.tl-rail {
  position: relative;
  display: flex; justify-content: center;
}
.tl-rail::before {
  content: ""; position: absolute; top: 0; bottom: 0; left: 50%;
  width: 1px;
  background: rgba(231, 220, 196, 0.18);
}
.tl-row:first-child .tl-rail::before { top: 1.8rem; }
.tl-row:last-child .tl-rail::before { bottom: calc(100% - 1.8rem); }

.tl-node {
  position: relative; z-index: 1;
  width: 11px; height: 11px;
  margin-top: 1.6rem;
  background: var(--ink);
  border: 1px solid var(--red);
  transform: rotate(45deg);
  transition: background var(--duration-normal),
              transform var(--duration-normal) var(--ease-out-expo),
              box-shadow var(--duration-normal);
}
.tl-row:hover .tl-node {
  background: var(--red-bright);
  transform: rotate(45deg) scale(1.35);
  box-shadow: 0 0 18px rgba(238, 43, 50, 0.55);
}

.tl-body {
  padding: 1.2rem 0 1.6rem;
  border-bottom: 1px solid rgba(231, 220, 196, 0.1);
  transition: transform var(--duration-normal) var(--ease-out-expo);
}
.tl-row:last-child .tl-body { border-bottom: 0; }
.tl-row:hover .tl-body { transform: translateX(8px); }
.tl-body h3 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(1.5rem, 1.2rem + 1vw, 2.2rem);
  letter-spacing: 0.05em; line-height: 1;
  margin-bottom: 0.4rem;
}
.tl-body p {
  font-size: 0.82rem; line-height: 1.7;
  color: var(--bone-dim);
}

.tl-row--peak .tl-time { text-shadow: 0 0 40px rgba(238, 43, 50, 0.5); }
.tl-row--peak .tl-node { background: var(--red); }
.tl-row--peak .tl-body h3 {
  font-size: clamp(1.9rem, 1.4rem + 1.6vw, 3rem);
  color: var(--red-bright);
}

/* ---------- faq ---------- */

.faq {
  background: var(--coal);
  border-top: 1px solid rgba(231, 220, 196, 0.14);
  padding: var(--space-section) clamp(1rem, 4vw, 3rem);
}
.faq > * { max-width: 1440px; margin-left: auto; margin-right: auto; }

.faq-grid {
  display: grid;
  grid-template-columns: minmax(220px, 0.8fr) 1.4fr;
  gap: clamp(2rem, 6vw, 7rem);
  align-items: start;
}
.faq-title {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: var(--text-h2);
  line-height: 0.9;
  position: sticky; top: 16vh;
}

.faq-list { counter-reset: faq; }

.faq-item {
  counter-increment: faq;
  border-bottom: 1px solid rgba(231, 220, 196, 0.12);
}
.faq-item summary {
  list-style: none;
  cursor: pointer;
  display: grid;
  grid-template-columns: 3.4rem 1fr auto;
  align-items: center; gap: 1rem;
  padding: 1.3rem 0.2rem;
  font-family: var(--font-display);
  font-size: clamp(1.3rem, 1.1rem + 0.8vw, 1.9rem);
  letter-spacing: 0.05em; line-height: 1.05;
  transition: color var(--duration-fast);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::before {
  content: "Q-0" counter(faq);
  font-family: var(--font-mono);
  font-size: 0.64rem; letter-spacing: 0.18em;
  color: var(--bone-dim);
  transition: color var(--duration-fast);
}
.faq-item summary::after {
  content: "+";
  font-family: var(--font-mono);
  font-size: 1.3rem; line-height: 1;
  color: var(--red-bright);
  transition: transform var(--duration-normal) var(--ease-out-expo);
}
.faq-item summary:hover { color: var(--red-bright); }
.faq-item summary:hover::before { color: var(--red-bright); }
.faq-item[open] summary::before { color: var(--red-bright); }
.faq-item[open] summary::after { transform: rotate(45deg); }

.faq-answer {
  padding: 0 0.2rem 1.5rem 3.4rem;
  max-width: 58ch;
  font-size: 0.88rem; line-height: 1.8;
  color: var(--bone-dim);
}
.faq-item[open] .faq-answer { animation: faq-rise 420ms var(--ease-out-expo); }
@keyframes faq-rise {
  from { opacity: 0; transform: translateY(-8px); }
  to { opacity: 1; transform: translateY(0); }
}

.faq-cta {
  margin-top: var(--space-section);
  text-align: center;
}
.faq-cta-line {
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 1.3rem + 3.2vw, 4.4rem);
  letter-spacing: 0.08em; line-height: 1.05;
}
.faq-cta .event-cta { margin-top: 2.6rem; }
.faq-cta-meta {
  margin-top: 2.2rem;
  font-size: 0.62rem; letter-spacing: 0.28em;
  color: var(--bone-dim);
}

/* ---------- new sections: responsive ---------- */

@media (max-width: 900px) {
  .faq-grid { grid-template-columns: 1fr; }
  .faq-title { position: static; }
}

@media (max-width: 680px) {
  .film--wide { grid-column: span 1; }
  .film--lead { grid-column: span 1; flex-direction: column; }
  .film--lead .film-poster {
    flex: none;
    border-right: 0;
    border-bottom: 1px solid rgba(231, 220, 196, 0.14);
  }
  .film--lead .film-poster img { height: auto; aspect-ratio: 2 / 3; }
  .film--lead .film-info { justify-content: flex-start; }
}

@media (max-width: 560px) {
  .tl-row { grid-template-columns: 3.4rem 1.4rem 1fr; gap: 0 0.8rem; }
  .faq-item summary { grid-template-columns: 2.6rem 1fr auto; gap: 0.7rem; }
  .faq-answer { padding-left: 0; }
}

/* ---------- new sections: reduced motion ---------- */

@media (prefers-reduced-motion: reduce) {
  .faq-item[open] .faq-answer { animation: none; }
  .film-poster img, .film::before, .film::after,
  .juror-mono, .tl-time, .tl-node, .tl-body { transition: none; }
  .film:hover .film-poster img,
  .juror:hover .juror-mono,
  .tl-row:hover .tl-time, .tl-row:hover .tl-body {
    transform: none;
  }
  .tl-row:hover .tl-node { transform: rotate(45deg); }
}

/* ---------- intros: schedule + event ---------- */

.schedule-intro {
  max-width: 54ch;
  color: var(--bone-dim);
  font-size: 0.9rem; line-height: 1.8;
  margin-bottom: 1.8rem;
}

.event-desc {
  margin: 2.6rem auto 0;
  max-width: 56ch;
  font-size: 0.9rem; line-height: 1.85;
  color: var(--bone-dim);
}

/* ---------- faq inline links ---------- */

.faq-answer a {
  color: var(--bone);
  text-decoration-color: var(--red);
  text-underline-offset: 3px;
  transition: color var(--duration-fast);
}
.faq-answer a:hover { color: var(--red-bright); }

/* ---------- contact (09 / transmission) ---------- */

.contact {
  max-width: 1440px; margin: 0 auto;
  padding: var(--space-section) clamp(1rem, 4vw, 3rem);
}

.contact-grid {
  display: grid;
  grid-template-columns: minmax(220px, 0.8fr) 1.4fr;
  gap: clamp(2rem, 6vw, 7rem);
  align-items: start;
}

.contact-side { position: sticky; top: 16vh; }

.contact-title {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: var(--text-h2);
  line-height: 0.9;
}

.contact-intro {
  margin-top: 1.8rem;
  max-width: 38ch;
  color: var(--bone-dim);
  font-size: 0.9rem; line-height: 1.8;
}

.contact-direct {
  margin-top: 2.2rem;
  display: flex; flex-direction: column; gap: 0.5rem;
}
.contact-direct span {
  font-size: 0.62rem; letter-spacing: 0.28em;
  color: var(--red-bright);
}
.contact-direct a {
  font-size: 0.82rem; letter-spacing: 0.06em;
  color: var(--bone);
  text-decoration: none;
  border-bottom: 1px solid rgba(231, 220, 196, 0.3);
  align-self: flex-start;
  padding-bottom: 0.15rem;
  transition: color var(--duration-fast), border-color var(--duration-fast);
}
.contact-direct a:hover { color: var(--red-bright); border-color: var(--red); }

.contact-form {
  display: flex; flex-direction: column; gap: 1.6rem;
  max-width: 680px;
}

.contact-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.6rem;
}

.contact-field {
  position: relative;
  display: flex; flex-direction: column; gap: 0.55rem;
}
.contact-field label {
  font-size: 0.64rem; letter-spacing: 0.3em;
  color: var(--bone-dim);
  transition: color var(--duration-fast);
}
.contact-field:focus-within label { color: var(--red-bright); }

.contact-field input,
.contact-field select,
.contact-field textarea {
  font-family: var(--font-mono);
  font-size: 0.88rem; line-height: 1.6;
  color: var(--bone);
  background: var(--coal);
  border: 1px solid rgba(231, 220, 196, 0.2);
  border-radius: 0;
  padding: 0.85rem 1rem;
  width: 100%;
  transition: border-color var(--duration-fast), background var(--duration-fast);
}
.contact-field textarea { resize: vertical; min-height: 9rem; }
.contact-field ::placeholder { color: rgba(154, 143, 122, 0.55); opacity: 1; }

.contact-field input:hover,
.contact-field select:hover,
.contact-field textarea:hover { border-color: rgba(231, 220, 196, 0.4); }

.contact-field input:focus-visible,
.contact-field select:focus-visible,
.contact-field textarea:focus-visible {
  outline: none;
  border-color: var(--red);
  background: var(--ink);
}

/* sliding red underline — compositor-only (transform) */
.contact-field::after {
  content: "";
  position: absolute; left: 0; right: 0; bottom: 0;
  height: 2px;
  background: var(--red-bright);
  transform: scaleX(0); transform-origin: left;
  transition: transform var(--duration-normal) var(--ease-out-expo);
  pointer-events: none;
}
.contact-field:focus-within::after { transform: scaleX(1); }

.contact-field--select select {
  appearance: none; -webkit-appearance: none;
  cursor: pointer;
  padding-right: 2.6rem;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%23ee2b32' stroke-width='2'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
}

.contact-submit {
  margin-top: 0.6rem;
  align-self: flex-start;
  border: 0;
  cursor: pointer;
  font-family: var(--font-display);
}

.contact-status {
  font-size: 0.72rem; letter-spacing: 0.14em;
  color: var(--red-bright);
  line-height: 1.7;
  min-height: 1.2em;
  opacity: 0;
  transform: translateY(6px);
  transition: opacity var(--duration-normal) var(--ease-out-expo),
              transform var(--duration-normal) var(--ease-out-expo);
}
.contact-status.is-visible { opacity: 1; transform: translateY(0); }
.contact-status::before { content: "■ "; font-size: 0.7em; vertical-align: middle; }
.contact-status:empty::before { content: none; }

/* ---------- footer contact ---------- */

.footer-contact {
  text-align: center;
  padding: 1.8rem 1rem 0;
}
.footer-mail {
  font-size: 0.7rem; letter-spacing: 0.24em;
  color: var(--bone-dim);
  text-decoration: none;
  border-bottom: 1px solid rgba(231, 220, 196, 0.25);
  padding-bottom: 0.25rem;
  transition: color var(--duration-fast), border-color var(--duration-fast);
}
.footer-mail:hover { color: var(--red-bright); border-color: var(--red); }

/* ---------- contact: responsive ---------- */

@media (max-width: 900px) {
  .contact-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .contact-side { position: static; }
  .contact-intro { max-width: 52ch; }
}

@media (max-width: 560px) {
  .contact-row { grid-template-columns: 1fr; }
  .contact-submit { align-self: stretch; text-align: center; }
}

/* ---------- contact: reduced motion ---------- */

@media (prefers-reduced-motion: reduce) {
  .contact-field::after, .contact-status { transition: none; }
  .contact-status { transform: none; }
}
