/* Public home page, "Premiere" direction. Fonts are self-hosted (OFL, see fonts/). */
@font-face { font-family: "Fraunces"; font-style: normal; font-weight: 400 800; font-display: swap;
  src: url("fonts/fraunces-latin.woff2") format("woff2"); }
@font-face { font-family: "Fraunces"; font-style: italic; font-weight: 400 800; font-display: swap;
  src: url("fonts/fraunces-italic-latin.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 400 700; font-display: swap;
  src: url("fonts/inter-latin.woff2") format("woff2"); }

:root {
  --ink: #0b0b0e; --ink-2: #131217; --ink-3: #16151a; --line: #24222a; --line-2: #3a3730;
  --paper: #f3efe6; --soft: #c9c2b4; --mute: #b9b3a6; --dim: #8f897c;
  --gold: #e8b84a; --gold-2: #f6d27f; --good: #9fd08f;
  --serif: "Fraunces", Georgia, serif; --sans: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body.home { margin: 0; background: var(--ink); color: var(--paper); font-family: var(--sans); -webkit-font-smoothing: antialiased; }
.home a { color: var(--gold); }
.home a:hover { color: var(--gold-2); }
.wrap { max-width: 1200px; margin: 0 auto; padding-left: 24px; padding-right: 24px; }
.eyebrow { margin: 0; font-size: 13px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--gold); }
.serif { font-family: var(--serif); }
.skip { position: absolute; left: -10000px; }
.skip:focus { left: 16px; top: 16px; z-index: 60; background: var(--paper); color: var(--ink); padding: 10px 14px; border-radius: 8px; }

/* Header */
.hd { display: flex; flex-wrap: wrap; gap: 16px; align-items: center; justify-content: space-between; padding-top: 22px; padding-bottom: 22px; }
.logo { color: var(--paper) !important; text-decoration: none; font-family: var(--serif); font-weight: 800; font-size: 24px; letter-spacing: -0.01em; }
.logo span { color: var(--gold); }
.nav { display: flex; flex-wrap: wrap; gap: 8px 22px; align-items: center; font-size: 15px; }
.nav a { color: var(--mute); text-decoration: none; }
.nav a:hover { color: var(--paper); }
.nav a.strong { color: var(--paper); }
.btn { display: inline-block; text-decoration: none; font-weight: 600; font-size: 16px; padding: 15px 26px; border-radius: 999px; border: 0; cursor: pointer; font-family: var(--sans); line-height: 1.2; }
.btn-gold, .home a.btn-gold { background: var(--gold); color: var(--ink); }
.btn-gold:hover, .home a.btn-gold:hover { background: var(--gold-2); color: var(--ink); }
.btn-line, .home a.btn-line { border: 1px solid var(--line-2); color: var(--paper); font-weight: 500; }
.btn-line:hover, .home a.btn-line:hover { border-color: var(--soft); color: var(--paper); }
.btn-sm { padding: 11px 18px; font-size: 15px; }
.nav a.btn-gold { color: var(--ink); }

/* Hero */
.hero { display: grid; grid-template-columns: repeat(auto-fit, minmax(340px, 1fr)); gap: 56px; align-items: center; padding-top: 64px; padding-bottom: 56px; }
.hero-copy { display: flex; flex-direction: column; gap: 26px; }
.hero h1 { margin: 0; font-family: var(--serif); font-weight: 800; font-size: clamp(48px, 7vw, 78px); line-height: 0.98; letter-spacing: -0.025em; }
.hero h1 em { font-style: italic; font-weight: 400; color: var(--gold); }
.lede { margin: 0; font-size: 19px; line-height: 1.6; color: var(--soft); max-width: 520px; }
.ctas { display: flex; flex-wrap: wrap; gap: 14px; }
.small-note { margin: 0; font-size: 14px; color: var(--dim); }
.stage { position: relative; min-height: 470px; }
.card { border-radius: 18px; padding: 22px; display: flex; flex-direction: column; gap: 10px; }
.card-project { position: absolute; top: 0; left: 6%; right: 0; background: var(--ink-3); border: 1px solid #2a2830; padding: 24px; gap: 12px; }
.card-job { position: absolute; top: 205px; left: 0; width: 62%; background: var(--paper); color: #141318; border-radius: 16px; box-shadow: 0 24px 60px rgba(0,0,0,0.55); }
.card-gig { position: absolute; top: 300px; right: 0; width: 46%; background: #1c1a21; border: 1px solid var(--gold); border-radius: 16px; }
.card h3 { margin: 0; font-family: var(--serif); font-size: 30px; font-weight: 600; }
.card p { margin: 0; color: var(--mute); line-height: 1.55; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { font-size: 12px; border: 1px solid var(--line-2); color: var(--soft); border-radius: 999px; padding: 4px 10px; }
.chip-good { border-color: #4b6b45; color: var(--good); }
.kind { font-size: 12px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; }
.card-job .kind { color: #7a5a12; }
.card-gig .kind { color: var(--gold); }
.card-job strong { font-size: 20px; }
.card-gig strong { font-size: 18px; }
.meta-line { display: flex; gap: 8px; align-items: center; color: var(--dim); font-size: 14px; }
.card-job .sub { font-size: 13px; color: #5d5a52; }
.card-gig .sub { font-size: 13px; color: var(--dim); }
.card-gig .mid { font-size: 14px; color: var(--soft); }
.example { font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--dim); }
.card-job .example { color: #6f6b62; }
@media (max-width: 760px) {
  .stage { min-height: 0; display: flex; flex-direction: column; gap: 14px; }
  .card-project, .card-job, .card-gig { position: static; width: auto; }
}

/* Film-strip ticker */
.strip { background: #08080a; overflow: hidden; padding: 14px 0; }
.sprockets { height: 12px; background-image: repeating-linear-gradient(90deg, transparent 0 14px, #2a2830 14px 34px, transparent 34px 48px); background-size: 48px 12px; opacity: 0.9; }
.reel-row { padding: 22px 0; }
.reel { display: flex; width: max-content; font-family: var(--serif); font-size: clamp(38px, 5vw, 56px); line-height: 1; letter-spacing: -0.02em; white-space: nowrap; animation: fi-roll 38s linear infinite; }
.reel > span { display: flex; align-items: center; gap: 44px; padding-right: 44px; }
.reel .b { font-weight: 600; color: var(--paper); }
.reel .i { font-style: italic; font-weight: 400; color: var(--mute); }
.reel .star { color: var(--gold); font-size: 0.55em; }
@media (hover: hover) { .strip:hover .reel { animation-play-state: paused; } }
@keyframes fi-roll { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* Sections */
.section { padding-top: 96px; padding-bottom: 40px; }
.section h2 { margin: 0 0 40px; font-family: var(--serif); font-weight: 600; font-size: clamp(34px, 4.5vw, 46px); letter-spacing: -0.02em; line-height: 1.08; max-width: 720px; }
.trio { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 20px; }
.panel { background: var(--ink-2); border: 1px solid var(--line); border-radius: 18px; padding: 30px; display: flex; flex-direction: column; gap: 14px; }
.panel .num { font-family: var(--serif); font-size: 40px; color: var(--gold); }
.panel h3 { margin: 0; font-size: 22px; }
.panel p { margin: 0; color: var(--mute); line-height: 1.6; }
.panel a { text-decoration: none; font-weight: 500; }
.split { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 48px; align-items: start; padding-top: 72px; padding-bottom: 72px; }
.split-copy { display: flex; flex-direction: column; gap: 18px; }
.split-copy h2 { margin: 0; font-family: var(--serif); font-weight: 600; font-size: clamp(34px, 4.5vw, 46px); letter-spacing: -0.02em; line-height: 1.08; }
.split-copy p { margin: 0; color: var(--soft); font-size: 18px; line-height: 1.6; }
.vote-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; flex-wrap: wrap; }
.vote-head strong { font-size: 18px; }
.vote-count { color: var(--gold); font-family: var(--serif); font-size: 34px; }
.bar { height: 10px; background: var(--line); border-radius: 999px; overflow: hidden; }
.bar-fill { width: 64%; height: 100%; background: var(--gold); }
.muted { color: var(--dim); font-size: 14px; }
.pill { border: 1px solid var(--line-2); border-radius: 999px; padding: 6px 12px; font-size: 14px; color: var(--soft); }
.trust { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 28px; padding-top: 40px; padding-bottom: 96px; }
.trust div { display: flex; flex-direction: column; gap: 10px; }
.trust strong { font-size: 17px; }
.trust span { color: #a39d90; line-height: 1.55; }

/* Closing band with the waitlist */
.band { background: var(--gold); color: var(--ink); }
.band-in { display: flex; flex-wrap: wrap; gap: 28px; align-items: center; justify-content: space-between; padding-top: 72px; padding-bottom: 72px; }
.band h2 { margin: 0; font-family: var(--serif); font-weight: 800; font-size: clamp(36px, 5vw, 48px); letter-spacing: -0.02em; line-height: 1.05; max-width: 560px; }
.band p { margin: 10px 0 0; font-size: 17px; max-width: 520px; }
.home .band a.btn-dark { background: var(--ink); color: var(--paper); }
.home .band a.btn-dark:hover { background: #1f1d24; color: var(--paper); }
.wl { display: flex; flex-direction: column; gap: 10px; width: 100%; max-width: 460px; }
.wl-row { display: flex; flex-wrap: wrap; gap: 10px; }
.wl input, .wl select, .wl textarea { font: inherit; font-size: 16px; color: var(--ink); background: #fff8e6; border: 1.5px solid var(--ink); border-radius: 12px; padding: 12px 14px; flex: 1 1 12rem; min-width: 0; }
.wl textarea { flex: none; resize: vertical; }
.wl button { background: var(--ink); color: var(--paper); }
.wl button:hover { background: #1f1d24; }
.wl label { font-weight: 700; }

/* Footer */
.ft { display: flex; flex-wrap: wrap; gap: 14px 28px; justify-content: space-between; color: var(--dim); font-size: 14px; padding-top: 36px; padding-bottom: 36px; }
.ft nav { display: flex; flex-wrap: wrap; gap: 20px; }
.home .ft a { color: var(--dim); }
.home .ft a:hover { color: var(--paper); }

/* Countdown leader: shown once, on a first visit, by home.js */
.leader { position: fixed; inset: 0; z-index: 50; background: #17150f; display: flex; align-items: center; justify-content: center; pointer-events: none; animation: fi-leader-out 1.15s ease-in forwards; }
.leader[hidden] { display: none; }
.leader-dial { position: relative; width: min(380px, 80vw); height: min(380px, 80vw); animation: fi-flicker 0.1s steps(2, end) infinite; }
.ring { position: absolute; inset: 0; border-radius: 50%; border: 3px solid #d9d2bf; }
.ring-in { inset: 22px; border-width: 2px; border-color: var(--dim); }
.sweep { position: absolute; inset: 0; border-radius: 50%; background: conic-gradient(from 0deg, rgba(232,184,74,0.35), rgba(232,184,74,0) 70%); animation: fi-sweep 0.3s linear 3; }
.cross-v { position: absolute; left: 50%; top: -40px; bottom: -40px; width: 2px; background: #d9d2bf; transform: translateX(-1px); }
.cross-h { position: absolute; top: 50%; left: -80px; right: -80px; height: 2px; background: #d9d2bf; transform: translateY(-1px); }
.n { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; font-family: var(--serif); font-weight: 800; font-size: min(210px, 42vw); color: var(--paper); opacity: 0; animation: fi-num 0.3s steps(1, end) forwards; }
.n2 { animation-delay: 0.3s; }
.n3 { animation-delay: 0.6s; color: var(--gold); }
@keyframes fi-leader-out { 0%, 80% { opacity: 1; visibility: visible; } 100% { opacity: 0; visibility: hidden; } }
@keyframes fi-sweep { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }
@keyframes fi-num { 0% { opacity: 0; } 1%, 99% { opacity: 1; } 100% { opacity: 0; } }
@keyframes fi-flicker { 0%, 100% { opacity: 0.92; } 50% { opacity: 1; } }

@media (prefers-reduced-motion: reduce) {
  .reel { animation: none; }
  .leader { display: none; }
  html { scroll-behavior: auto; }
}
.band .ctas { margin-top: 20px; }
.strip.paused .reel { animation-play-state: paused; }
.strip[role="button"] { cursor: pointer; }
.strip:focus-visible { outline: 2px solid var(--gold); outline-offset: -2px; }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

/* The FilmIndustry Challenge band */
.challenge-band { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 36px; align-items: center; margin-top: 72px; margin-bottom: 8px; padding-top: 40px; padding-bottom: 40px; border: 1px solid var(--gold); border-radius: 24px; background: radial-gradient(120% 140% at 0% 0%, rgba(232, 184, 74, 0.14), transparent 55%), var(--ink-2); }
.cb-copy { display: flex; flex-direction: column; gap: 16px; }
.cb-copy h2 { margin: 0; font-family: var(--serif); font-weight: 800; font-size: clamp(38px, 5.5vw, 60px); letter-spacing: -0.02em; line-height: 1; }
.cb-copy p { margin: 0; color: var(--soft); line-height: 1.6; font-size: 17px; }
.cb-ingredients { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.cb-ingredients li { display: grid; grid-template-columns: 40px 1fr; grid-template-rows: auto auto; column-gap: 12px; padding: 14px 18px; border: 1px solid var(--line-2); border-radius: 14px; background: var(--ink-3); }
.cb-ingredients span { grid-row: span 2; font-size: 26px; align-self: center; }
.cb-ingredients em { color: var(--mute); font-family: var(--serif); font-size: 18px; }
.cb-ingredients .cb-count { display: block; text-align: center; color: var(--mute); border-style: dashed; }
.cb-ingredients .cb-count strong { color: var(--gold); font-size: 20px; }
@media (max-width: 40rem) { .challenge-band { margin-left: 16px; margin-right: 16px; padding: 28px 20px; } }
