/* ==========================================================================
   WHAT THE FILM — styles
   ========================================================================== */

:root {
  --bg: #000000;
  --bg-elev: #0a0a0a;
  --fg: #ffffff;
  --muted: #8a8a8a;
  --muted-2: #4a4a4a;
  --accent: #F23041;
  --accent-hover: #ff4356;
  --line: rgba(255, 255, 255, 0.08);
  --line-strong: rgba(255, 255, 255, 0.18);

  --font-display: "Montserrat", "Helvetica Neue", Arial, sans-serif;
  --font-serif: "Instrument Serif", "Times New Roman", serif;
  --font-body: "Helvetica Neue", Helvetica, Arial, sans-serif;

  --max-w: 1440px;
  --pad-x: clamp(1.25rem, 4vw, 4rem);
  --section-py: clamp(5rem, 10vw, 9rem);

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

* { box-sizing: border-box; }

html {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.55;
  font-weight: 400;
  letter-spacing: 0.005em;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; background: none; border: 0; color: inherit; cursor: pointer; }

::selection { background: var(--accent); color: #fff; }

/* ---------- TYPOGRAPHY ---------- */

.h-display {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: -0.01em;
  line-height: 0.92;
  font-size: clamp(2.4rem, 7vw, 6rem);
  margin: 0 0 1.5rem;
}

.h-display em {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  text-transform: none;
  letter-spacing: -0.01em;
  color: var(--fg);
}

.eyebrow {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 0 0 1.4rem;
  padding: 0.4rem 0.7rem;
  border: 1px solid rgba(242, 48, 65, 0.4);
  border-radius: 999px;
}

p { margin: 0 0 1rem; }

/* ---------- LAYOUT ---------- */

.section {
  position: relative;
  padding: var(--section-py) 0;
}
.section__inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--pad-x);
}
.section__head { max-width: 880px; margin: 0 auto 4rem; text-align: center; }
.section__head .eyebrow { display: inline-block; }
.section__lead {
  font-family: var(--font-serif);
  font-size: clamp(1.15rem, 1.5vw, 1.55rem);
  line-height: 1.4;
  color: rgba(255, 255, 255, 0.75);
  max-width: 60ch;
  margin: 1.4rem auto 0;
}

/* ---------- BUTTONS ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  padding: 1.05rem 1.6rem;
  font-family: var(--font-body);
  font-size: 0.92rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border-radius: 999px;
  border: 1px solid transparent;
  transition: all 0.3s var(--ease);
  white-space: nowrap;
}

.btn svg { width: 1rem; height: 1rem; transition: transform 0.3s var(--ease); }
.btn:hover svg { transform: translateX(4px); }

.btn--primary {
  background: var(--accent);
  color: #fff;
}
.btn--primary:hover { background: var(--accent-hover); transform: translateY(-2px); }

.btn--ghost {
  border-color: var(--line-strong);
  color: var(--fg);
}
.btn--ghost:hover { border-color: var(--fg); background: rgba(255,255,255,0.04); }

/* ---------- NAV ---------- */

.nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.1rem var(--pad-x);
  transition: background 0.4s var(--ease), backdrop-filter 0.4s var(--ease), padding 0.3s var(--ease);
}
.nav.is-scrolled {
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  padding-top: 0.7rem;
  padding-bottom: 0.7rem;
  border-bottom: 1px solid var(--line);
}
.nav__logo img { height: 38px; width: auto; transition: height 0.3s var(--ease); }
.nav.is-scrolled .nav__logo img { height: 30px; }

.nav__links {
  display: flex;
  gap: 2.2rem;
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}
.nav__links a {
  position: relative;
  padding: 0.4rem 0;
  color: rgba(255,255,255,0.78);
  transition: color 0.2s var(--ease);
}
.nav__links a:hover { color: var(--fg); }
.nav__links a::after {
  content: "";
  position: absolute; left: 0; bottom: 0;
  height: 1px; width: 0;
  background: var(--accent);
  transition: width 0.3s var(--ease);
}
.nav__links a:hover::after { width: 100%; }

.nav__toggle {
  display: none;
  width: 40px; height: 40px;
  position: relative;
}
.nav__toggle span {
  position: absolute;
  left: 8px; right: 8px;
  height: 1.5px;
  background: var(--fg);
  transition: transform 0.3s var(--ease), opacity 0.2s var(--ease);
}
.nav__toggle span:nth-child(1) { top: 16px; }
.nav__toggle span:nth-child(2) { top: 23px; }
.nav__toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(3.5px) rotate(45deg); }
.nav__toggle[aria-expanded="true"] span:nth-child(2) { transform: translateY(-3.5px) rotate(-45deg); }

@media (max-width: 820px) {
  .nav__toggle { display: block; }
  .nav__links {
    position: fixed;
    inset: 0;
    background: #000;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    font-size: 1.4rem;
    transform: translateY(-100%);
    transition: transform 0.5s var(--ease);
  }
  .nav__links.is-open { transform: translateY(0); }
}

/* ---------- HERO ---------- */

.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  padding: 10rem var(--pad-x) clamp(3rem, 7vh, 5rem);
}
.hero__media {
  position: absolute; inset: 0;
  z-index: 0;
}
.hero__media img {
  width: 100%; height: 100%;
  object-fit: cover;
  filter: contrast(1.05) saturate(1.05);
  animation: heroZoom 18s ease-out forwards;
}
@keyframes heroZoom {
  from { transform: scale(1.08); }
  to   { transform: scale(1); }
}
.hero__veil {
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(0,0,0,0.55) 0%, rgba(0,0,0,0.25) 35%, rgba(0,0,0,0.85) 100%),
    radial-gradient(ellipse at center, transparent 0%, rgba(0,0,0,0.4) 80%);
}

.hero__content {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
}

.hero__top { margin-bottom: 1.5rem; }
.hero__top .eyebrow {
  background: rgba(0,0,0,0.4);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  margin: 0;
}

.hero__logo {
  height: clamp(50px, 7vw, 80px);
  width: auto;
  margin: 0 0 2rem;
  display: none; /* logo lives in nav; hero leads with text */
}

.hero__headline {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: -0.015em;
  line-height: 0.88;
  font-size: clamp(2.6rem, 9vw, 8rem);
  margin: 0 0 3rem;
  max-width: 18ch;
}

.hero__meta {
  display: flex;
  flex-wrap: wrap;
  gap: clamp(1rem, 2.5vw, 2.5rem);
  align-items: center;
  padding-top: 2rem;
  border-top: 1px solid var(--line-strong);
}
.hero__meta-item { display: flex; flex-direction: column; gap: 0.3rem; }
.hero__meta-label {
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--muted);
}
.hero__meta-value {
  font-family: var(--font-serif);
  font-size: clamp(1.1rem, 1.5vw, 1.5rem);
  line-height: 1.1;
  color: var(--fg);
}
.hero__meta-divider {
  width: 1px;
  height: 32px;
  background: var(--line-strong);
}
@media (max-width: 600px) {
  .hero__meta-divider { display: none; }
  .hero__meta { gap: 1.2rem 2rem; }
}

.hero__scroll {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 32px;
  height: 60px;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  padding: 8px 0;
}
.hero__scroll span {
  display: block;
  width: 2px; height: 12px;
  background: var(--fg);
  border-radius: 2px;
  animation: scrollHint 2s ease-in-out infinite;
}
@keyframes scrollHint {
  0%   { transform: translateY(0); opacity: 1; }
  50%  { transform: translateY(20px); opacity: 0.2; }
  100% { transform: translateY(0); opacity: 1; }
}
@media (max-width: 600px) { .hero__scroll { display: none; } }

/* ---------- MARQUEE ---------- */

.marquee {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 1.4rem 0;
  overflow: hidden;
  background: #050505;
}
.marquee__track {
  display: flex;
  gap: 2rem;
  white-space: nowrap;
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 800;
  text-transform: uppercase;
  font-size: clamp(1.4rem, 3vw, 2.2rem);
  letter-spacing: -0.005em;
  animation: marquee 40s linear infinite;
}
.marquee__track span:nth-child(2n) { color: var(--accent); }
@keyframes marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ---------- ABOUT ---------- */

.about__grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: clamp(2rem, 6vw, 6rem);
  align-items: center;
}
@media (max-width: 900px) { .about__grid { grid-template-columns: 1fr; } }

.about__lead {
  font-family: var(--font-serif);
  font-size: clamp(1.3rem, 1.8vw, 1.8rem);
  line-height: 1.35;
  color: rgba(255,255,255,0.92);
  margin: 0.5rem 0 2rem;
  max-width: 28ch;
}
.about__body {
  color: rgba(255, 255, 255, 0.7);
  max-width: 52ch;
}
.about__body p + p { margin-top: 1rem; }

.about__image {
  position: relative;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  border-radius: 4px;
}
.about__image img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 1.2s var(--ease);
}
.about__image:hover img { transform: scale(1.04); }
.about__caption {
  position: absolute;
  bottom: 1rem; left: 1rem;
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.95);
  background: rgba(0,0,0,0.4);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  padding: 0.45rem 0.7rem;
  border-radius: 999px;
}

/* ---------- STATS ---------- */

.stats { padding-top: 0; }
.stats__list {
  list-style: none;
  margin: 0; padding: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--line);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.stats__item {
  background: var(--bg);
  padding: clamp(2rem, 5vw, 4rem) 1.5rem;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.5rem;
}
.stats__num {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 800;
  font-size: clamp(3rem, 7vw, 6rem);
  line-height: 1;
  color: var(--fg);
}
.stats__item:nth-child(2n) .stats__num { color: var(--accent); }
.stats__label {
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--muted);
}
@media (max-width: 700px) { .stats__list { grid-template-columns: repeat(2, 1fr); } }

/* ---------- PROGRAM ---------- */

.program__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(1.5rem, 3vw, 2.5rem);
}
@media (max-width: 900px) { .program__grid { grid-template-columns: 1fr; } }

.program__card {
  background: var(--bg-elev);
  border: 1px solid var(--line);
  border-radius: 6px;
  overflow: hidden;
  transition: border-color 0.3s var(--ease), transform 0.4s var(--ease);
}
.program__card:hover {
  border-color: rgba(242,48,65,0.4);
  transform: translateY(-4px);
}

.program__media {
  aspect-ratio: 16 / 10;
  overflow: hidden;
}
.program__media img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 1.2s var(--ease);
}
.program__card:hover .program__media img { transform: scale(1.05); }

.program__body {
  padding: clamp(1.8rem, 3vw, 2.8rem);
}

.program__head {
  display: flex;
  align-items: baseline;
  gap: 1.2rem;
  margin-bottom: 1.4rem;
  padding-bottom: 1.4rem;
  border-bottom: 1px solid var(--line);
}
.program__count {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 800;
  color: var(--accent);
  font-size: 1.1rem;
  letter-spacing: 0.05em;
}
.program__title {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: -0.01em;
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  margin: 0;
  line-height: 1;
}

.program__body p {
  color: rgba(255,255,255,0.7);
  font-size: 1rem;
}
.program__highlight {
  font-family: var(--font-serif);
  font-size: 1.15rem !important;
  color: var(--fg) !important;
  margin-top: 1.2rem !important;
  padding-top: 1.2rem;
  border-top: 1px dashed var(--line);
}

/* ---------- BETWEEN ---------- */

.between__grid {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: clamp(2rem, 6vw, 6rem);
  align-items: center;
}
@media (max-width: 900px) {
  .between__grid { grid-template-columns: 1fr; }
  .between__image { order: 2; }
}

.between__image {
  aspect-ratio: 4 / 5;
  overflow: hidden;
  border-radius: 4px;
}
.between__image img {
  width: 100%; height: 100%;
  object-fit: cover;
}

.between__text p {
  color: rgba(255,255,255,0.7);
  max-width: 50ch;
}
.between__pillars {
  list-style: none;
  margin: 2.5rem 0 0;
  padding: 2rem 0 0;
  border-top: 1px solid var(--line-strong);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}
.between__pillars li {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 800;
  text-transform: uppercase;
  font-size: clamp(1rem, 1.5vw, 1.3rem);
  letter-spacing: -0.005em;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}
.between__pillars span {
  font-family: var(--font-body);
  font-style: normal;
  font-weight: 500;
  font-size: 0.7rem;
  letter-spacing: 0.22em;
  color: var(--accent);
}

/* ---------- SUBMIT ---------- */

.submit {
  position: relative;
  overflow: hidden;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.submit__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.submit__bg img {
  width: 100%; height: 100%;
  object-fit: cover;
  opacity: 0.18;
  filter: grayscale(0.3);
}
.submit__bg::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, var(--bg) 0%, rgba(0,0,0,0.4) 50%, var(--bg) 100%);
}
.submit__inner {
  position: relative;
  z-index: 1;
  text-align: center;
}
.submit__inner > .eyebrow,
.submit__inner > .h-display { display: inline-block; }
.submit__inner > .h-display { display: block; }

.submit__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
  margin: 4rem 0 3rem;
  border: 1px solid var(--line);
  border-radius: 6px;
  overflow: hidden;
}
@media (max-width: 800px) { .submit__grid { grid-template-columns: 1fr; } }
.submit__col {
  background: rgba(0,0,0,0.6);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  padding: clamp(1.8rem, 3vw, 2.8rem);
  text-align: left;
}
.submit__col-title {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 800;
  text-transform: uppercase;
  font-size: 1.1rem;
  letter-spacing: 0.02em;
  color: var(--accent);
  margin: 0 0 1rem;
}
.submit__col p {
  color: rgba(255,255,255,0.78);
  font-size: 0.98rem;
  margin: 0;
}

.submit__cta { display: flex; flex-direction: column; align-items: center; gap: 1.2rem; }
.submit__note {
  font-size: 0.82rem;
  color: var(--muted);
  max-width: 50ch;
  margin: 0;
}

/* ---------- PAST EDITIONS ---------- */

.past__gallery {
  margin-top: 3rem;
  display: flex;
  flex-direction: column;
  gap: clamp(0.75rem, 1.5vw, 1.25rem);
  padding: 0 var(--pad-x);
}
.past__row {
  display: grid;
  grid-template-columns: 1fr 1.4fr 1fr;
  gap: clamp(0.75rem, 1.5vw, 1.25rem);
}
.past__row:nth-child(2) { grid-template-columns: 1.4fr 1fr 1fr; }
@media (max-width: 800px) {
  .past__row, .past__row:nth-child(2) { grid-template-columns: 1fr 1fr; }
}

.past__item {
  position: relative;
  margin: 0;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border-radius: 4px;
}
.past__item--tall { aspect-ratio: 16 / 9; }
.past__item img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 1.2s var(--ease);
}
.past__item:hover img { transform: scale(1.05); }

/* ---------- CONTACT ---------- */

.contact { padding-bottom: clamp(6rem, 12vw, 10rem); }
.contact__inner {
  max-width: 880px;
  margin: 0 auto;
  text-align: center;
}
.contact__lead {
  font-family: var(--font-serif);
  font-size: clamp(1.2rem, 1.6vw, 1.5rem);
  line-height: 1.4;
  color: rgba(255,255,255,0.78);
  max-width: 50ch;
  margin: 0 auto 2.5rem;
}
.contact__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
}

/* ---------- FOOTER ---------- */

.footer {
  border-top: 1px solid var(--line);
  padding: 4rem 0 2.5rem;
  background: #050505;
}
.footer__top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 2rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid var(--line);
}
.footer__logo { height: 50px; width: auto; }
.footer__claim {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  color: rgba(255,255,255,0.7);
  margin: 0;
  text-align: right;
  line-height: 1.4;
}
@media (max-width: 600px) { .footer__claim { text-align: left; } }

.footer__bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.2rem;
  padding-top: 2rem;
  font-size: 0.8rem;
  color: var(--muted);
}
.footer__legal {
  display: flex;
  gap: 1.6rem;
}
.footer__legal a { transition: color 0.2s var(--ease); }
.footer__legal a:hover { color: var(--accent); }

/* ---------- LEGAL PAGE STYLES ---------- */

.legal {
  max-width: 780px;
  margin: 0 auto;
  padding: 9rem var(--pad-x) 6rem;
}
.legal h1 {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: -0.005em;
  font-size: clamp(2rem, 5vw, 3.5rem);
  margin: 0 0 2rem;
}
.legal h2 {
  font-family: var(--font-serif);
  font-size: 1.4rem;
  margin: 2rem 0 0.6rem;
  color: var(--fg);
}
.legal h3 {
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 2rem 0 0.5rem;
}
.legal p, .legal li {
  color: rgba(255,255,255,0.78);
  font-size: 1rem;
  line-height: 1.65;
}
.legal a { color: var(--accent); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.legal a:hover { color: var(--accent-hover); }
.legal__back {
  display: inline-block;
  margin-bottom: 3rem;
  font-size: 0.78rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
  text-decoration: none !important;
}
.legal__back:hover { color: var(--fg) !important; }

/* ---------- REVEAL ANIMATION ---------- */

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; }
  .hero__media img { animation: none; }
  .marquee__track { animation: none; }
  .hero__scroll span { animation: none; }
}
