/* ==========================================================================
   JESSZILLA — design system
   Palette pulled from the key art: near-black ground, gold wordmark,
   cool teal-blue cinematography.
   ========================================================================== */

:root {
  --ink:        #06080b;
  --ink-2:      #0b1118;
  --surface:    #121b24;
  --surface-2:  #1a2530;
  --line:       rgba(255, 255, 255, .10);
  --line-2:     rgba(255, 255, 255, .18);

  --gold:       #ffc629;
  --gold-deep:  #e0a400;
  --teal:       #6fa3ba;

  --paper:      #f2f1ec;
  --muted:      #9dabb8;
  --muted-2:    #6f7d8a;

  --font-display: "Anton", "Haettenschweiler", "Arial Narrow", system-ui, sans-serif;
  --font-cond:    "Barlow Condensed", "Arial Narrow", system-ui, sans-serif;
  --font-body:    "Barlow", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;

  --gut:      clamp(1.25rem, 4vw, 3rem);
  --maxw:     1180px;
  --maxw-txt: 62ch;
  --radius:   3px;

  --ease: cubic-bezier(.2, .7, .3, 1);
}

/* --------------------------------------------------------------- reset -- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--ink);
  color: var(--paper);
  font-family: var(--font-body);
  font-size: clamp(1rem, .96rem + .25vw, 1.125rem);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

h1, h2, h3, h4 { margin: 0; font-weight: 400; line-height: .95; }
p { margin: 0 0 1.1em; }
p:last-child { margin-bottom: 0; }

:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 3px;
  border-radius: 2px;
}

.skip {
  position: absolute; left: 50%; top: 0; transform: translate(-50%, -120%);
  z-index: 200; background: var(--gold); color: #000;
  padding: .7rem 1.25rem; font-weight: 700; text-decoration: none;
  transition: transform .2s var(--ease);
}
.skip:focus { transform: translate(-50%, 0); }

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

/* ------------------------------------------------------------ primitives -- */
.wrap { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gut); }
.wrap--narrow { max-width: 820px; }

.section { padding-block: clamp(4rem, 9vw, 7.5rem); position: relative; }
.section--tight { padding-block: clamp(3rem, 6vw, 5rem); }
.section--line { border-top: 1px solid var(--line); }
.section--surface { background: var(--ink-2); }

.eyebrow {
  font-family: var(--font-cond);
  font-size: clamp(.8rem, .75rem + .2vw, .95rem);
  font-weight: 600;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--gold);
  margin: 0 0 1rem;
}
.eyebrow--muted { color: var(--muted-2); }

.h-display {
  font-family: var(--font-display);
  text-transform: uppercase;
  letter-spacing: .005em;
  font-size: clamp(2.5rem, 1.4rem + 5.2vw, 5.5rem);
}
.h-section {
  font-family: var(--font-display);
  text-transform: uppercase;
  font-size: clamp(1.9rem, 1.2rem + 3vw, 3.5rem);
  line-height: 1;
  margin-bottom: 1.5rem;
}
.h-sub {
  font-family: var(--font-cond);
  text-transform: uppercase;
  letter-spacing: .1em;
  font-weight: 600;
  font-size: 1.05rem;
}

.lede {
  font-size: clamp(1.1rem, 1rem + .55vw, 1.45rem);
  line-height: 1.5;
  color: #dfe5ea;
}
.measure { max-width: var(--maxw-txt); }
.muted { color: var(--muted); }

.gold { color: var(--gold); }

/* --------------------------------------------------------------- buttons -- */
.btn {
  display: inline-flex; align-items: center; gap: .6rem;
  font-family: var(--font-cond);
  font-weight: 600; font-size: 1.05rem;
  letter-spacing: .12em; text-transform: uppercase;
  padding: .9rem 1.6rem;
  border: 1px solid transparent;
  border-radius: var(--radius);
  text-decoration: none;
  cursor: pointer;
  transition: background-color .2s var(--ease), color .2s var(--ease),
              border-color .2s var(--ease), transform .2s var(--ease);
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn--primary { background: var(--gold); color: #000; }
.btn--primary:hover { background: #ffd55e; }

.btn--ghost { border-color: var(--line-2); color: var(--paper); background: transparent; }
.btn--ghost:hover { border-color: var(--gold); color: var(--gold); }

.btn--sm { padding: .6rem 1.1rem; font-size: .9rem; }

.btn-row { display: flex; flex-wrap: wrap; gap: .85rem; }

.arrow { transition: transform .2s var(--ease); }
.btn:hover .arrow { transform: translateX(3px); }

/* text link with underline sweep */
.tlink {
  color: var(--gold);
  text-decoration: none;
  background-image: linear-gradient(currentColor, currentColor);
  background-size: 100% 1px;
  background-repeat: no-repeat;
  background-position: 0 100%;
  transition: background-size .25s var(--ease);
  padding-bottom: 1px;
}
.tlink:hover { background-size: 0 1px; }

/* ---------------------------------------------------------------- header -- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(6, 8, 11, .72);
  backdrop-filter: blur(14px) saturate(1.4);
  -webkit-backdrop-filter: blur(14px) saturate(1.4);
  border-bottom: 1px solid transparent;
  transition: background-color .3s var(--ease), border-color .3s var(--ease);
}
.site-header.is-stuck {
  background: rgba(6, 8, 11, .94);
  border-bottom-color: var(--line);
}
.site-header__inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 1.5rem;
  min-height: 68px;
}
.brand {
  font-family: var(--font-display);
  text-transform: uppercase;
  font-size: 1.5rem;
  letter-spacing: .02em;
  color: var(--gold);
  text-decoration: none;
  line-height: 1;
  white-space: nowrap;
}
.brand:hover { color: #ffd55e; }

.nav { display: flex; align-items: center; gap: clamp(1rem, 2.2vw, 2rem); }
.nav a {
  font-family: var(--font-cond);
  text-transform: uppercase;
  letter-spacing: .13em;
  font-weight: 600;
  font-size: .95rem;
  color: var(--paper);
  text-decoration: none;
  position: relative;
  padding-block: .35rem;
  transition: color .2s var(--ease);
}
.nav a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0;
  height: 2px; background: var(--gold);
  transform: scaleX(0); transform-origin: left;
  transition: transform .25s var(--ease);
}
.nav a:hover { color: var(--gold); }
.nav a:hover::after, .nav a[aria-current="page"]::after { transform: scaleX(1); }
.nav a[aria-current="page"] { color: var(--gold); }

.nav-toggle {
  display: none;
  background: none; border: 1px solid var(--line-2); border-radius: var(--radius);
  color: var(--paper); padding: .5rem .7rem; cursor: pointer;
}
.nav-toggle svg { width: 22px; height: 22px; }

@media (max-width: 860px) {
  .nav-toggle { display: inline-flex; }
  .nav {
    position: fixed; inset: 68px 0 auto 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--ink-2);
    border-bottom: 1px solid var(--line);
    padding: .5rem var(--gut) 1.5rem;
    transform: translateY(-140%);
    transition: transform .35s var(--ease);
    max-height: calc(100dvh - 68px); overflow-y: auto;
  }
  .nav.is-open { transform: translateY(0); }
  .nav a { padding: .95rem 0; border-bottom: 1px solid var(--line); font-size: 1.15rem; }
  .nav a::after { display: none; }
  .nav .btn { margin-top: 1.1rem; justify-content: center; }
}

/* ------------------------------------------------------------------ hero -- */
.hero {
  position: relative;
  min-height: min(92vh, 820px);
  display: flex; align-items: center;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
}
.hero__media { position: absolute; inset: 0; z-index: 0; }
.hero__media img { width: 100%; height: 100%; object-fit: cover; object-position: 72% 40%; }
.hero__media::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(100deg, var(--ink) 8%, rgba(6,8,11,.86) 38%, rgba(6,8,11,.25) 68%, rgba(6,8,11,.55) 100%),
    linear-gradient(to top, var(--ink) 2%, transparent 40%);
}
.hero__inner { position: relative; z-index: 1; padding-block: clamp(4rem, 10vw, 7rem); width: 100%; }
.hero__content { max-width: 40rem; }

.hero__title {
  font-family: var(--font-display);
  text-transform: uppercase;
  font-size: clamp(3.4rem, 1.5rem + 10vw, 8.5rem);
  line-height: .85;
  color: var(--gold);
  margin: .35rem 0 1.25rem;
  letter-spacing: .002em;
  text-shadow: 0 4px 40px rgba(0, 0, 0, .5);
}
.hero__logline {
  font-size: clamp(1.15rem, 1rem + .7vw, 1.6rem);
  line-height: 1.4;
  color: #e8edf1;
  margin-bottom: 1.1rem;
  max-width: 32ch;
}
.hero__meta {
  font-family: var(--font-cond);
  text-transform: uppercase;
  letter-spacing: .14em;
  font-size: .95rem;
  color: var(--muted);
  margin-bottom: 2rem;
}
.hero__meta span + span::before { content: "·"; margin: 0 .6rem; color: var(--gold-deep); }

@media (max-width: 700px) {
  .hero__media img { object-position: 68% 25%; }
  .hero__media::after {
    background:
      linear-gradient(to top, var(--ink) 14%, rgba(6,8,11,.82) 48%, rgba(6,8,11,.42) 100%);
  }
  .hero { min-height: auto; }
}

/* ----------------------------------------------------------- where to watch -- */
.watch-group { margin-top: clamp(1.75rem, 3vw, 2.5rem); }
.watch-group + .watch-group { margin-top: 3rem; }
.watch-group__head {
  display: flex; align-items: baseline; gap: .9rem; flex-wrap: wrap;
  margin-bottom: 1.25rem;
  padding-bottom: .75rem;
  border-bottom: 1px solid var(--line);
}
.watch-group__head h3 {
  font-family: var(--font-display); text-transform: uppercase;
  font-size: clamp(1.3rem, 1.1rem + .8vw, 1.9rem);
}
.badge {
  font-family: var(--font-cond); text-transform: uppercase;
  letter-spacing: .14em; font-size: .78rem; font-weight: 600;
  padding: .22rem .6rem; border-radius: 999px;
  background: rgba(255, 198, 41, .14); color: var(--gold);
  border: 1px solid rgba(255, 198, 41, .32);
}

.platforms {
  list-style: none; margin: 0; padding: 0;
  display: grid; gap: .85rem;
  grid-template-columns: repeat(auto-fill, minmax(215px, 1fr));
}
.platform {
  display: flex; flex-direction: column; justify-content: space-between; gap: .5rem;
  min-height: 104px;
  padding: 1.05rem 1.15rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  text-decoration: none;
  transition: background-color .2s var(--ease), border-color .2s var(--ease), transform .2s var(--ease);
}
.platform:hover {
  background: var(--surface-2);
  border-color: var(--gold);
  transform: translateY(-3px);
}
.platform__name {
  font-family: var(--font-cond); text-transform: uppercase;
  letter-spacing: .08em; font-weight: 600;
  font-size: 1.25rem; line-height: 1.1;
}
.platform__note {
  font-size: .84rem; color: var(--muted); line-height: 1.35;
  display: flex; align-items: center; justify-content: space-between; gap: .5rem;
}
.platform:hover .platform__note { color: var(--gold); }
.platform__note .arrow { flex: none; }

/* --------------------------------------------------------------- trailer -- */
.video {
  position: relative;
  aspect-ratio: 16 / 9;
  background: #000;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  cursor: pointer;
  width: 100%;
  padding: 0;
  display: block;
}
.video img { width: 100%; height: 100%; object-fit: cover; opacity: .78; transition: opacity .3s var(--ease), transform .5s var(--ease); }
.video:hover img { opacity: .95; transform: scale(1.02); }
.video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video__play {
  position: absolute; inset: 0; display: grid; place-items: center;
  pointer-events: none;
}
.video__play span {
  display: grid; place-items: center;
  width: clamp(64px, 9vw, 92px); aspect-ratio: 1;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 10px 50px rgba(0, 0, 0, .55);
  transition: transform .25s var(--ease), background-color .25s var(--ease);
}
.video:hover .video__play span { transform: scale(1.09); background: #ffd55e; }
.video__play svg { width: 34%; height: 34%; fill: #000; margin-left: 8%; }

/* ----------------------------------------------------------------- story -- */
.split {
  display: grid;
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
  grid-template-columns: 1fr;
}
@media (min-width: 900px) {
  .split { grid-template-columns: 1.05fr .95fr; }
  .split--flip > :first-child { order: 2; }
}
.split__media img {
  width: 100%; border-radius: var(--radius);
  border: 1px solid var(--line);
}
figure { margin: 0; }
figcaption {
  font-family: var(--font-cond); text-transform: uppercase;
  letter-spacing: .1em; font-size: .82rem; color: var(--muted-2);
  margin-top: .75rem;
}

.stills {
  display: grid; gap: 1rem;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  margin-top: clamp(2.5rem, 5vw, 4rem);
}
.stills img {
  width: 100%; aspect-ratio: 16 / 10; object-fit: cover;
  border-radius: var(--radius); border: 1px solid var(--line);
  filter: saturate(.92);
  transition: filter .35s var(--ease), transform .35s var(--ease);
}
.stills img:hover { filter: saturate(1.05); transform: scale(1.015); }

/* ---------------------------------------------------------------- quotes -- */
.pullquote {
  font-family: var(--font-cond);
  font-size: clamp(1.5rem, 1.1rem + 2.2vw, 2.9rem);
  line-height: 1.2;
  font-weight: 500;
  margin: 0;
  color: var(--paper);
  text-wrap: balance;
}
.pullquote cite {
  display: block;
  margin-top: 1.25rem;
  font-family: var(--font-cond);
  font-style: normal;
  text-transform: uppercase;
  letter-spacing: .16em;
  font-size: .88rem;
  color: var(--gold);
}

.quotes { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(290px, 1fr)); list-style: none; margin: 0; padding: 0; }
.quote-card {
  display: flex; flex-direction: column; gap: .9rem;
  padding: 1.5rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-left: 3px solid var(--gold);
  border-radius: var(--radius);
  text-decoration: none;
  transition: background-color .2s var(--ease), transform .2s var(--ease);
}
.quote-card:hover { background: var(--surface-2); transform: translateY(-3px); }
.quote-card blockquote { margin: 0; font-size: 1.08rem; line-height: 1.45; }
.quote-card footer {
  font-family: var(--font-cond); text-transform: uppercase;
  letter-spacing: .12em; font-size: .82rem; color: var(--muted);
  margin-top: auto;
}
.quote-card:hover footer { color: var(--gold); }

/* ------------------------------------------------------- lists / credits -- */
.stack-list { list-style: none; margin: 0; padding: 0; }
.stack-list li {
  padding: 1.05rem 0;
  border-bottom: 1px solid var(--line);
  display: flex; gap: 1.25rem; align-items: baseline; flex-wrap: wrap;
}
.stack-list li:first-child { border-top: 1px solid var(--line); }
.stack-list a { text-decoration: none; transition: color .2s var(--ease); }
.stack-list a:hover { color: var(--gold); }
.stack-list__label {
  font-family: var(--font-cond); text-transform: uppercase;
  letter-spacing: .14em; font-size: .82rem; color: var(--muted-2);
  flex: 0 0 clamp(9rem, 16vw, 13rem);
}
.stack-list__value { flex: 1 1 16rem; }

.awards { list-style: none; margin: 0; padding: 0; display: grid; gap: 1rem; }
.award {
  display: grid; gap: .3rem;
  padding: 1.15rem 1.35rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.award__title { font-family: var(--font-cond); text-transform: uppercase; letter-spacing: .06em; font-weight: 600; font-size: 1.1rem; color: var(--gold); }
.award__where { color: var(--muted); font-size: .95rem; }

.stat-row {
  display: grid; gap: 1rem;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  margin-top: 2.5rem;
}
.stat {
  padding: 1.5rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--ink-2);
}
.stat__num {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 1.6rem + 2.4vw, 3.4rem);
  line-height: 1; color: var(--gold);
}
.stat__label {
  font-family: var(--font-cond); text-transform: uppercase;
  letter-spacing: .14em; font-size: .85rem; color: var(--muted);
  margin-top: .55rem;
}

/* ------------------------------------------------------------------ fund -- */
.fund {
  position: relative;
  background: var(--ink-2);
  border-block: 1px solid var(--line);
  overflow: hidden;
}
.fund__bar {
  margin: 2rem 0 .85rem;
  height: 10px;
  background: var(--surface-2);
  border-radius: 999px;
  overflow: hidden;
  border: 1px solid var(--line);
}
.fund__fill {
  height: 100%;
  width: 0;
  background: linear-gradient(90deg, var(--gold-deep), var(--gold));
  border-radius: 999px;
  transition: width 1.4s var(--ease);
}
.fund__scale {
  display: flex; justify-content: space-between;
  font-family: var(--font-cond); text-transform: uppercase;
  letter-spacing: .12em; font-size: .85rem; color: var(--muted);
  margin-bottom: 2rem;
}
.fund__scale strong { color: var(--gold); font-weight: 600; }

.partners {
  display: grid; gap: 1.25rem;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  margin-top: 1rem;
}
.partner {
  padding: 1.6rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.partner h3 {
  font-family: var(--font-cond); text-transform: uppercase;
  letter-spacing: .09em; font-weight: 600; font-size: 1.2rem;
  margin-bottom: .8rem; color: var(--gold);
}
.partner p { font-size: .98rem; color: #cdd6de; }

/* ------------------------------------------------------------ screenings -- */
.screening {
  display: flex; gap: 1.5rem; align-items: baseline; flex-wrap: wrap;
  padding: 1.4rem 0;
  border-bottom: 1px solid var(--line);
}
.screening:first-of-type { border-top: 1px solid var(--line); }
.screening__when {
  font-family: var(--font-cond); text-transform: uppercase;
  letter-spacing: .12em; font-size: .9rem; color: var(--gold);
  flex: 0 0 clamp(9rem, 18vw, 13rem);
}
.screening__where { flex: 1 1 18rem; }
.screening__where strong { font-family: var(--font-cond); font-size: 1.2rem; letter-spacing: .04em; font-weight: 600; }

.note {
  padding: 1.35rem 1.5rem;
  background: rgba(255, 198, 41, .07);
  border: 1px solid rgba(255, 198, 41, .25);
  border-radius: var(--radius);
  font-size: .98rem;
}

/* ---------------------------------------------------------------- footer -- */
.site-footer {
  background: var(--ink);
  border-top: 1px solid var(--line);
  padding-block: clamp(3rem, 6vw, 4.5rem) 2.5rem;
}
.footer-grid {
  display: grid; gap: 2.5rem;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  margin-bottom: 3rem;
}
.footer-grid h4 {
  font-family: var(--font-cond); text-transform: uppercase;
  letter-spacing: .16em; font-size: .82rem; color: var(--muted-2);
  margin-bottom: 1rem;
}
.footer-grid ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .6rem; }
.footer-grid a { text-decoration: none; color: #cdd6de; transition: color .2s var(--ease); }
.footer-grid a:hover { color: var(--gold); }

.footer-bottom {
  display: flex; justify-content: space-between; gap: 1.25rem; flex-wrap: wrap;
  padding-top: 2rem;
  border-top: 1px solid var(--line);
  font-size: .86rem;
  color: var(--muted-2);
}

/* --------------------------------------------------------------- reveals -- */
.reveal { opacity: 0; transform: translateY(22px); }
.reveal.is-in {
  opacity: 1; transform: none;
  transition: opacity .7s var(--ease), transform .7s var(--ease);
}
@media (prefers-reduced-motion: reduce) {
  .reveal, .reveal.is-in { opacity: 1; transform: none; transition: none; }
  .btn:hover, .platform:hover, .quote-card:hover, .stills img:hover { transform: none; }
  .fund__fill { transition: none; }
}
