/* ==========================================================================
   jethrofilm.com — design system
   Ink / Paper / Brass · Fraunces + Inter · editorial, cinematic
   ========================================================================== */

/* Tokens ------------------------------------------------------------------ */
:root {
  --ink: #0E0E0E;
  --ink-80: #1F1F1F;
  --ink-60: #4A4A4A;
  --ink-40: #7A7670;
  --ink-20: #BDB8AE;
  --paper: #F6F2EA;
  --paper-warm: #EEE8DA;
  --paper-soft: #FBF8F2;
  --brass: #B08C3A;
  --brass-dark: #8F7029;

  --serif: "Fraunces", "GT Sectra", Georgia, "Times New Roman", serif;
  --sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;

  --w-reading: 660px;
  --w-copy: 760px;
  --w-wide: 1200px;
  --w-full: 1440px;

  --r-pad: clamp(20px, 4vw, 48px);
  --r-gap: clamp(16px, 3vw, 32px);

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

/* Reset ------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
img, video { max-width: 100%; display: block; }
a { color: inherit; }
button { font: inherit; }

/* Base -------------------------------------------------------------------- */
html {
  font-size: 17px;
  -webkit-text-size-adjust: 100%;
}
@media (min-width: 900px) { html { font-size: 18px; } }

body {
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-weight: 400;
  line-height: 1.62;
  font-feature-settings: "ss01", "cv11", "ss03";
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

/* Typography -------------------------------------------------------------- */
h1, h2, h3, h4 {
  font-family: var(--serif);
  font-weight: 400;
  letter-spacing: -0.02em;
  line-height: 1.05;
  color: var(--ink);
  margin: 0;
  font-variation-settings: "opsz" 120, "SOFT" 30;
}
h1 { font-size: clamp(2.5rem, 6.5vw, 5.25rem); font-weight: 300; }
h2 { font-size: clamp(1.75rem, 3.6vw, 2.75rem); font-weight: 350; letter-spacing: -0.015em; line-height: 1.1; }
h3 { font-size: clamp(1.25rem, 2.2vw, 1.625rem); font-weight: 400; letter-spacing: -0.01em; line-height: 1.2; }
h4 { font-size: 1rem; font-weight: 500; font-family: var(--sans); letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-60); }

p { margin: 0 0 1.1em; max-width: 64ch; }
p.lead {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(1.375rem, 2.4vw, 1.75rem);
  line-height: 1.38;
  letter-spacing: -0.01em;
  max-width: 28ch;
}
p.dek {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 300;
  font-size: clamp(1.25rem, 2.1vw, 1.5rem);
  line-height: 1.5;
  color: var(--ink-80);
  max-width: 50ch;
}
.eyebrow {
  font-family: var(--sans);
  font-size: .8125rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--brass);
  margin: 0 0 .8rem;
}

a { text-decoration: none; color: inherit; transition: color .2s var(--ease); }
a.link { color: var(--ink); border-bottom: 1px solid var(--brass); padding-bottom: 1px; }
a.link:hover { color: var(--brass); }

em { font-style: italic; }
small { font-size: .875rem; color: var(--ink-60); }

blockquote {
  margin: 2rem 0;
  padding: 0 0 0 1.5rem;
  border-left: 2px solid var(--brass);
  font-family: var(--serif);
  font-style: italic;
  font-weight: 300;
  font-size: 1.25rem;
  line-height: 1.45;
  color: var(--ink-80);
  max-width: 34ch;
}

/* Layout ------------------------------------------------------------------ */
.wrap { width: 100%; padding-inline: var(--r-pad); margin-inline: auto; }
.wrap-full { max-width: var(--w-full); }
.wrap-wide { max-width: var(--w-wide); }
.wrap-copy { max-width: var(--w-copy); }
.wrap-read { max-width: var(--w-reading); }

section { padding-block: clamp(64px, 9vw, 140px); }
section.tight { padding-block: clamp(40px, 5vw, 72px); }

.rule { height: 1px; background: var(--ink-20); border: 0; margin-block: 2rem; }
.rule-brass { height: 1px; background: var(--brass); border: 0; margin-block: 2rem; max-width: 64px; }

/* Header / Nav ------------------------------------------------------------ */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in oklab, var(--paper) 92%, transparent);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s var(--ease);
}
.site-header.scrolled { border-bottom-color: var(--ink-20); }
.nav {
  display: flex; align-items: center; justify-content: space-between;
  padding-block: 22px; gap: 2rem;
}
.brand {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 1.25rem;
  letter-spacing: -0.01em;
  color: var(--ink);
}
.brand em { color: var(--brass); font-style: normal; }
.nav-links {
  display: flex; gap: clamp(1rem, 2.4vw, 2.2rem);
  list-style: none; margin: 0; padding: 0;
}
.nav-links a {
  font-size: .9375rem; font-weight: 450;
  color: var(--ink-80);
  padding: 6px 0;
  position: relative;
}
.nav-links a:hover { color: var(--ink); }
.nav-links a.active { color: var(--ink); }
.nav-links a.active::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -2px;
  height: 1px; background: var(--brass);
}

.nav-toggle { display: none; background: none; border: 0; padding: 8px; cursor: pointer; color: var(--ink); }
.nav-toggle svg { width: 24px; height: 24px; }

@media (max-width: 780px) {
  .nav-toggle { display: block; }
  .nav-links {
    position: fixed; inset: 64px 0 auto 0;
    background: var(--paper);
    flex-direction: column; padding: 2rem var(--r-pad);
    border-bottom: 1px solid var(--ink-20);
    transform: translateY(-120%);
    transition: transform .3s var(--ease);
  }
  .nav-links.open { transform: translateY(0); }
  .nav-links a { font-size: 1.125rem; padding: 10px 0; }
}

/* Buttons ----------------------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; gap: .6rem;
  padding: 14px 26px;
  font-size: .9375rem;
  font-weight: 500;
  letter-spacing: .02em;
  border-radius: 2px;
  transition: all .2s var(--ease);
  cursor: pointer;
  border: 1px solid var(--ink);
  background: var(--ink);
  color: var(--paper);
}
.btn:hover { background: var(--ink-80); transform: translateY(-1px); }
.btn-ghost {
  background: transparent; color: var(--ink); border-color: var(--ink);
}
.btn-ghost:hover { background: var(--ink); color: var(--paper); }
.btn-text {
  background: transparent; border: 0; padding: 0;
  color: var(--ink); border-bottom: 1px solid var(--brass);
  border-radius: 0; padding-bottom: 2px;
}
.btn-text:hover { color: var(--brass); transform: none; }
.btn .arr { display: inline-block; transition: transform .2s var(--ease); }
.btn:hover .arr { transform: translateX(4px); }

/* Hero -------------------------------------------------------------------- */
.hero {
  position: relative;
  min-height: 92vh;
  display: grid;
  grid-template-rows: 1fr auto;
  padding-block: clamp(80px, 12vh, 160px) clamp(40px, 6vh, 80px);
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 20% 40%, rgba(176,140,58,.08), transparent 60%),
    radial-gradient(ellipse 60% 80% at 90% 80%, rgba(14,14,14,.05), transparent 60%);
  pointer-events: none;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(40px, 6vw, 80px);
  align-items: end;
  position: relative;
}
@media (min-width: 900px) {
  .hero-grid { grid-template-columns: 1.3fr 1fr; }
}
.hero h1 { margin-bottom: 1.6rem; }
.hero .meta {
  font-size: .8125rem; letter-spacing: .14em; text-transform: uppercase;
  color: var(--ink-60);
  display: flex; align-items: center; gap: 1rem;
  margin-bottom: 2rem;
}
.hero .meta::before {
  content: ""; width: 32px; height: 1px; background: var(--brass);
}
.hero-frame {
  aspect-ratio: 4 / 5;
  background: var(--ink);
  border-radius: 2px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 30px 80px -30px rgba(14,14,14,.3);
}
.hero-frame::after {
  content: "";
  position: absolute; inset: 0;
  background:
    linear-gradient(135deg, rgba(176,140,58,.15), transparent 40%),
    linear-gradient(315deg, rgba(246,242,234,.08), transparent 60%);
}
.hero-frame .frame-label {
  position: absolute; left: 20px; bottom: 20px;
  font-size: .75rem; letter-spacing: .18em; text-transform: uppercase;
  color: rgba(246,242,234,.6);
}

/* Grain noise overlay for cinematic feel */
.grain {
  position: absolute; inset: 0;
  background-image:
    repeating-radial-gradient(circle at 25% 25%, rgba(255,255,255,.02), rgba(255,255,255,.02) 1px, transparent 1px, transparent 4px);
  pointer-events: none;
  mix-blend-mode: overlay;
  opacity: .5;
}

/* Media tiles ------------------------------------------------------------- */
.tile {
  display: block;
  color: inherit;
  transition: transform .4s var(--ease);
}
.tile:hover { transform: translateY(-4px); }
.tile-frame {
  position: relative;
  aspect-ratio: 4 / 3;
  background: var(--ink);
  overflow: hidden;
  border-radius: 2px;
  margin-bottom: 1.25rem;
}
.tile-frame::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(200deg, rgba(176,140,58,.12), transparent 50%);
  transition: opacity .3s var(--ease);
}
.tile:hover .tile-frame::after { opacity: .5; }
.tile-eyebrow {
  font-size: .75rem; letter-spacing: .14em; text-transform: uppercase;
  color: var(--brass);
  margin-bottom: .5rem; font-weight: 500;
}
.tile-title {
  font-family: var(--serif);
  font-size: 1.5rem;
  line-height: 1.2;
  letter-spacing: -0.01em;
  margin-bottom: .5rem;
  font-weight: 400;
}
.tile-desc { color: var(--ink-60); font-size: .9375rem; max-width: 36ch; margin: 0; }

.tile-frame.variant-a { background: linear-gradient(135deg, #1a1a1a 0%, #2a2520 100%); }
.tile-frame.variant-a::before {
  content: ""; position: absolute; top: 20%; left: 15%; right: 15%; bottom: 30%;
  background: linear-gradient(180deg, rgba(176,140,58,.25), transparent);
  border-radius: 50%; filter: blur(40px);
}
.tile-frame.variant-b { background: linear-gradient(220deg, #0E0E0E 0%, #262220 100%); }
.tile-frame.variant-b::before {
  content: ""; position: absolute; inset: 30% 20%;
  background: radial-gradient(circle, rgba(246,242,234,.1), transparent 70%);
}
.tile-frame.variant-c { background: linear-gradient(45deg, #1a1612 0%, #0E0E0E 70%); }
.tile-frame.variant-c::before {
  content: ""; position: absolute; top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 60%; height: 2px;
  background: var(--brass); opacity: .6;
}
.tile-frame.variant-d { background: linear-gradient(160deg, #252019 0%, #0E0E0E 100%); }
.tile-frame.variant-e { background: linear-gradient(290deg, #1a1a1a 0%, #3a2f1e 100%); }
.tile-frame.variant-f { background: linear-gradient(120deg, #0E0E0E 0%, #1f1a14 100%); }

/* Trust row --------------------------------------------------------------- */
.trust {
  border-top: 1px solid var(--ink-20);
  border-bottom: 1px solid var(--ink-20);
  padding-block: 48px;
}
.trust-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem 1rem;
  align-items: center;
}
@media (min-width: 640px) { .trust-grid { grid-template-columns: repeat(4, 1fr); } }
@media (min-width: 960px) { .trust-grid { grid-template-columns: repeat(8, 1fr); } }
.trust-mark {
  font-family: var(--serif);
  font-size: 1.0625rem;
  font-weight: 400;
  color: var(--ink-60);
  letter-spacing: .02em;
  text-align: center;
  opacity: .85;
  transition: opacity .2s var(--ease);
}
.trust-mark:hover { opacity: 1; color: var(--ink); }
.trust-mark small { display: block; font-family: var(--sans); font-size: .6875rem; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-40); margin-top: .3rem; }

/* Grids ------------------------------------------------------------------- */
.grid-2 { display: grid; grid-template-columns: 1fr; gap: clamp(24px, 4vw, 48px); }
@media (min-width: 780px) { .grid-2 { grid-template-columns: repeat(2, 1fr); } }

.grid-3 { display: grid; grid-template-columns: 1fr; gap: clamp(24px, 4vw, 48px); }
@media (min-width: 680px) { .grid-3 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 960px) { .grid-3 { grid-template-columns: repeat(3, 1fr); } }

.split {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(32px, 5vw, 80px);
  align-items: start;
}
@media (min-width: 900px) {
  .split { grid-template-columns: 1fr 1.5fr; }
  .split.reverse { grid-template-columns: 1.5fr 1fr; }
}

/* Case study layout ------------------------------------------------------- */
.case-hero {
  position: relative;
  aspect-ratio: 21 / 9;
  background: var(--ink);
  border-radius: 2px;
  margin-bottom: 4rem;
  overflow: hidden;
}
.case-meta {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem 2rem;
  margin-bottom: 3rem;
  padding-block: 2rem;
  border-top: 1px solid var(--ink-20);
  border-bottom: 1px solid var(--ink-20);
}
@media (min-width: 720px) { .case-meta { grid-template-columns: repeat(4, 1fr); } }
.case-meta dt {
  font-size: .75rem; letter-spacing: .14em; text-transform: uppercase;
  color: var(--brass); font-weight: 500; margin-bottom: .4rem;
}
.case-meta dd { margin: 0; font-size: 1rem; }

.case-section { margin-bottom: 3.5rem; }
.case-section h2 {
  font-family: var(--sans);
  font-size: .8125rem; letter-spacing: .16em; text-transform: uppercase;
  font-weight: 500; color: var(--ink-60);
  margin-bottom: 1rem;
}
.case-section p.body {
  font-family: var(--serif);
  font-size: 1.25rem;
  font-weight: 300;
  line-height: 1.55;
  letter-spacing: -0.005em;
  color: var(--ink-80);
  max-width: 58ch;
}
.case-section .outcome-metric {
  font-family: var(--serif);
  font-size: 2.75rem;
  line-height: 1;
  letter-spacing: -0.02em;
  margin-bottom: .5rem;
  color: var(--ink);
}

.case-still {
  aspect-ratio: 16 / 9;
  background: var(--ink);
  border-radius: 2px;
  margin-block: 3rem;
  position: relative;
  overflow: hidden;
}

/* Films ------------------------------------------------------------------- */
.film-hero {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: center;
  padding-block: clamp(48px, 8vw, 96px);
}
@media (min-width: 900px) { .film-hero { grid-template-columns: 1.1fr 1fr; } }
.film-poster {
  aspect-ratio: 2 / 3;
  background: var(--ink);
  border-radius: 2px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 40px 80px -30px rgba(14,14,14,.4);
}
.film-poster::after {
  content: "";
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, transparent 40%, rgba(14,14,14,.6)),
    radial-gradient(ellipse at 30% 30%, rgba(176,140,58,.18), transparent 60%);
}
.film-poster .poster-title {
  position: absolute; left: 32px; bottom: 32px; right: 32px;
  font-family: var(--serif);
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: .95;
  color: var(--paper);
  font-weight: 300;
  letter-spacing: -0.015em;
}
.film-poster .poster-meta {
  position: absolute; left: 32px; top: 32px;
  font-size: .75rem; letter-spacing: .18em; text-transform: uppercase;
  color: rgba(246,242,234,.7);
}

.laurels {
  display: flex; flex-wrap: wrap; gap: 1.5rem 2rem;
  margin: 2rem 0;
}
.laurel {
  font-family: var(--serif);
  font-size: .9375rem;
  color: var(--ink-60);
  padding-left: 1.5rem;
  position: relative;
  letter-spacing: .02em;
}
.laurel::before {
  content: "";
  position: absolute; left: 0; top: 50%;
  transform: translateY(-50%);
  width: 12px; height: 16px;
  background: linear-gradient(90deg, var(--brass) 1px, transparent 1px, transparent 11px, var(--brass) 11px);
  border-radius: 50% 50% 0 0 / 80% 80% 0 0;
  opacity: .5;
}

/* Lists ------------------------------------------------------------------- */
.creditlist {
  list-style: none; padding: 0; margin: 2rem 0;
  border-top: 1px solid var(--ink-20);
}
.creditlist li {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 1.5rem;
  padding: 1.25rem 0;
  border-bottom: 1px solid var(--ink-20);
  align-items: baseline;
}
@media (min-width: 720px) {
  .creditlist li { grid-template-columns: 100px 1fr 2fr; }
}
.creditlist .year {
  font-family: var(--sans); font-variant-numeric: tabular-nums;
  font-size: .875rem; color: var(--ink-40); letter-spacing: .04em;
}
.creditlist .title {
  font-family: var(--serif); font-size: 1.125rem;
  letter-spacing: -0.005em;
}
.creditlist .desc { color: var(--ink-60); font-size: .9375rem; margin: 0; }

/* Press list -------------------------------------------------------------- */
.presslist {
  list-style: none; padding: 0; margin: 0;
}
.presslist li {
  padding: 1.75rem 0;
  border-bottom: 1px solid var(--ink-20);
  display: grid;
  grid-template-columns: 1fr;
  gap: .35rem;
}
@media (min-width: 720px) {
  .presslist li { grid-template-columns: 140px 1fr auto; gap: 1.5rem; align-items: baseline; }
}
.presslist .outlet {
  font-size: .75rem; letter-spacing: .14em; text-transform: uppercase;
  color: var(--brass); font-weight: 500;
}
.presslist .pr-title {
  font-family: var(--serif); font-size: 1.1875rem;
  line-height: 1.3; letter-spacing: -0.005em;
}
.presslist .date {
  font-size: .8125rem; color: var(--ink-40); font-variant-numeric: tabular-nums;
}

/* Forms ------------------------------------------------------------------- */
.form { max-width: 560px; }
.field { margin-bottom: 1.5rem; }
.field label {
  display: block;
  font-size: .75rem; letter-spacing: .14em; text-transform: uppercase;
  font-weight: 500; color: var(--ink-60);
  margin-bottom: .5rem;
}
.field input,
.field textarea,
.field select {
  width: 100%;
  padding: 14px 16px;
  font: inherit;
  font-family: var(--sans);
  font-size: 1rem;
  background: var(--paper-soft);
  border: 1px solid var(--ink-20);
  border-radius: 2px;
  color: var(--ink);
  transition: border-color .2s var(--ease);
}
.field input:focus,
.field textarea:focus,
.field select:focus {
  outline: 0;
  border-color: var(--brass);
}
.field textarea { resize: vertical; min-height: 140px; }

/* Footer ------------------------------------------------------------------ */
.site-footer {
  border-top: 1px solid var(--ink-20);
  padding-block: 4rem 2.5rem;
  color: var(--ink-60);
  font-size: .9375rem;
  margin-top: 4rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}
@media (min-width: 780px) {
  .footer-grid { grid-template-columns: 1.2fr 1fr 1fr 1fr; gap: 4rem; }
}
.footer h4 { margin-bottom: 1rem; color: var(--ink); font-size: .8125rem; letter-spacing: .14em; font-weight: 500; }
.footer a { display: block; padding: 4px 0; color: var(--ink-60); }
.footer a:hover { color: var(--ink); }
.footer .brand { font-size: 1.25rem; color: var(--ink); }
.footer-bottom {
  display: flex; flex-wrap: wrap; gap: 1rem; justify-content: space-between;
  padding-top: 2rem;
  border-top: 1px solid var(--ink-20);
  font-size: .8125rem;
  color: var(--ink-40);
}

/* Page header (non-home) -------------------------------------------------- */
.page-head {
  padding-block: clamp(80px, 10vw, 140px) clamp(40px, 5vw, 64px);
  max-width: var(--w-wide);
  margin-inline: auto;
  padding-inline: var(--r-pad);
}
.page-head .eyebrow { margin-bottom: 1.2rem; }
.page-head h1 { max-width: 16ch; margin-bottom: 1.4rem; }

/* Decorative frame motifs (images stand-in) ------------------------------- */
.motif-portrait {
  aspect-ratio: 3 / 4;
  background: linear-gradient(170deg, #221d17 0%, #0E0E0E 70%);
  border-radius: 2px;
  position: relative;
  overflow: hidden;
}
.motif-portrait::after {
  content: "";
  position: absolute; top: 20%; left: 25%; right: 25%; bottom: 10%;
  background: radial-gradient(ellipse at 50% 40%, rgba(176,140,58,.22), transparent 65%);
  filter: blur(20px);
  pointer-events: none; z-index: 1;
}
.motif-portrait::before {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 50%, rgba(14,14,14,.4));
  pointer-events: none; z-index: 2;
}
.motif-portrait img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover; object-position: center top;
  filter: grayscale(100%) contrast(1.05);
  z-index: 0;
}

/* Real poster images in .film-poster and .tile-frame ---------------------- */
.film-poster > img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover; object-position: center;
  display: block; z-index: 1;
}
.film-poster.has-image::after { display: none; }
.film-poster.has-image .poster-title,
.film-poster.has-image .poster-meta { display: none; }
.film-poster.has-image .grain { z-index: 2; opacity: .35; }
.tile-frame > img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover; object-position: center;
  display: block; z-index: 1;
}
.tile-frame.has-image { background: var(--ink); }
.tile-frame.has-image::before,
.tile-frame.has-image::after { display: none; }
.tile-frame.has-image .grain { z-index: 2; opacity: .25; }

/* Video embeds ------------------------------------------------------------ */
/* Responsive 16:9 frame. Uses native iframe with lazy-loading; the play-
   button facade (optional) is added via a small .lite-yt wrapper to avoid
   loading YouTube's player until the user interacts. */
.video-embed {
  position: relative;
  aspect-ratio: 16 / 9;
  width: 100%;
  background: #000;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
}
.video-embed iframe {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  border: 0; display: block;
}
.video-embed.brass-frame {
  box-shadow: 0 0 0 1px var(--brass), 0 30px 60px -20px rgba(14,14,14,.35);
}

/* Click-to-load facade for off-screen videos — shows thumbnail until tapped,
   then swaps in the real iframe. Keeps the films page feather-light. */
.lite-yt {
  position: relative;
  aspect-ratio: 16 / 9;
  width: 100%;
  border-radius: var(--radius-lg);
  overflow: hidden;
  cursor: pointer;
  background: #000 center / cover no-repeat;
  box-shadow: var(--shadow-soft);
  transition: transform .4s var(--ease), box-shadow .4s var(--ease);
}
.lite-yt:hover { transform: translateY(-2px); box-shadow: 0 24px 60px -20px rgba(14,14,14,.45); }
.lite-yt::before {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(14,14,14,.1) 0%, rgba(14,14,14,.55) 100%);
}
.lite-yt .play {
  position: absolute; top: 50%; left: 50%;
  width: 68px; height: 48px;
  transform: translate(-50%, -50%);
  background: rgba(14,14,14,.78);
  border-radius: 14px;
  display: grid; place-items: center;
  transition: background .2s var(--ease), transform .2s var(--ease);
}
.lite-yt:hover .play { background: var(--brass); transform: translate(-50%, -50%) scale(1.06); }
.lite-yt .play::after {
  content: "";
  width: 0; height: 0;
  border-left: 14px solid #F6F2EA;
  border-top: 9px solid transparent;
  border-bottom: 9px solid transparent;
  margin-left: 3px;
}
.lite-yt .cap {
  position: absolute; left: 1.1rem; right: 1.1rem; bottom: 1rem;
  color: #F6F2EA;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(1.05rem, 1.4vw, 1.35rem);
  letter-spacing: -.01em;
  text-shadow: 0 2px 20px rgba(0,0,0,.4);
  line-height: 1.25;
}
.lite-yt.active { cursor: default; }
.lite-yt.active::before,
.lite-yt.active .play,
.lite-yt.active .cap { display: none; }
.lite-yt iframe {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  border: 0; display: block;
}

/* Poster image overlay for lite-yt — fades in on load over the dark frame */
.lite-yt > img.poster {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover; object-position: center;
  display: block; z-index: 0;
  opacity: 0; transform: scale(1.04) translateY(8px);
  animation: poster-in 900ms cubic-bezier(.2,.7,.2,1) 180ms forwards;
}
.lite-yt.active > img.poster { display: none; }
@keyframes poster-in {
  to { opacity: 1; transform: scale(1) translateY(0); }
}
@media (prefers-reduced-motion: reduce) {
  .lite-yt > img.poster { animation: none; opacity: 1; transform: none; }
}

/* Reel grid on films page */
.reel-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}
@media (max-width: 720px) {
  .reel-grid { grid-template-columns: 1fr; gap: 1rem; }
}

/* Hero-video variant for home page */
.hero-video {
  position: relative;
  margin-top: 3rem;
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.hero-video .video-embed { border-radius: var(--radius-lg); }

/* Animation --------------------------------------------------------------- */
/* Progressive enhancement: content is always visible; only hide+animate if
   JS has run AND user allows motion. This keeps the site accessible when JS
   fails and makes full-page screenshots capture everything. */
@media (prefers-reduced-motion: no-preference) {
  /* Initial off-state — no transition here, so when JS first adds the
     .reveal class to a previously-visible element it snaps to hidden
     instead of transitioning out for 1s. */
  html.js .reveal {
    opacity: 0;
    transform: translateY(18px);
    filter: blur(6px);
    will-change: opacity, transform, filter;
  }
  /* Reveal — the transition lives on .in so only the entrance animates,
     not the initial application of .reveal. */
  html.js .reveal.in {
    opacity: 1;
    transform: none;
    filter: blur(0);
    transition:
      opacity 1.05s cubic-bezier(.2,.7,.2,1),
      transform 1.05s cubic-bezier(.2,.7,.2,1),
      filter   1.05s cubic-bezier(.2,.7,.2,1);
  }
}

/* Contact page collage backdrop ------------------------------------------- */
.contact-hero {
  position: relative;
  min-height: calc(100vh - 80px);
  padding: clamp(60px, 8vw, 120px) 0 clamp(60px, 8vw, 120px);
  overflow: hidden;
  isolation: isolate;
}
.contact-hero .collage {
  position: absolute; inset: 0; z-index: 0;
  pointer-events: none;
  overflow: hidden;
}
.contact-hero .collage-grid {
  position: absolute; inset: -2%;
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  grid-auto-rows: 1fr;
  gap: 6px;
}
.contact-hero .collage-grid > span {
  display: block;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  filter: grayscale(0.15) saturate(0.95) contrast(1.05);
  opacity: 0;
  transform: scale(1.06);
  animation: collage-in 1.4s cubic-bezier(.2,.7,.2,1) forwards,
             collage-drift 28s ease-in-out infinite alternate;
  transition: opacity 700ms cubic-bezier(.4,0,.2,1);
}
.contact-hero .collage-grid > span.swapping {
  opacity: 0;
}
@keyframes collage-in {
  to { opacity: 1; transform: scale(1); }
}
@keyframes collage-drift {
  0%   { transform: scale(1)    translate(0, 0); }
  100% { transform: scale(1.06) translate(-1.5%, 1%); }
}
/* Stagger each tile so they bloom in sequence. */
.contact-hero .collage-grid > span:nth-child(1)  { animation-delay: 0ms,    0s; }
.contact-hero .collage-grid > span:nth-child(2)  { animation-delay: 60ms,   1s; }
.contact-hero .collage-grid > span:nth-child(3)  { animation-delay: 120ms,  2s; }
.contact-hero .collage-grid > span:nth-child(4)  { animation-delay: 180ms,  3s; }
.contact-hero .collage-grid > span:nth-child(5)  { animation-delay: 240ms,  4s; }
.contact-hero .collage-grid > span:nth-child(6)  { animation-delay: 300ms,  5s; }
.contact-hero .collage-grid > span:nth-child(7)  { animation-delay: 360ms,  6s; }
.contact-hero .collage-grid > span:nth-child(8)  { animation-delay: 420ms,  7s; }
.contact-hero .collage-grid > span:nth-child(9)  { animation-delay: 480ms,  8s; }
.contact-hero .collage-grid > span:nth-child(10) { animation-delay: 540ms,  9s; }
.contact-hero .collage-grid > span:nth-child(11) { animation-delay: 600ms, 10s; }
.contact-hero .collage-grid > span:nth-child(12) { animation-delay: 660ms, 11s; }
.contact-hero .collage-grid > span:nth-child(13) { animation-delay: 720ms, 12s; }
.contact-hero .collage-grid > span:nth-child(14) { animation-delay: 780ms, 13s; }
.contact-hero .collage-grid > span:nth-child(15) { animation-delay: 840ms, 14s; }
.contact-hero .collage-grid > span:nth-child(16) { animation-delay: 900ms, 15s; }
.contact-hero .collage-grid > span:nth-child(17) { animation-delay: 960ms, 16s; }
.contact-hero .collage-grid > span:nth-child(18) { animation-delay: 1020ms, 17s; }
.contact-hero .collage-overlay {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse at 50% 55%, rgba(247,243,234,.32) 0%, rgba(247,243,234,.55) 50%, rgba(247,243,234,.78) 92%),
    linear-gradient(to bottom, rgba(26,26,26,.10), rgba(26,26,26,.18));
}
.contact-hero .collage > .grain {
  position: absolute; inset: 0;
  pointer-events: none;
  opacity: .12;
}

/* Contact card (form panel) */
.contact-card-wrap {
  position: relative;
  z-index: 1;
}
.contact-card {
  background: rgba(247, 243, 234, .92);
  backdrop-filter: blur(14px) saturate(1.1);
  border: 1px solid rgba(176, 140, 58, .22);
  border-radius: 4px;
  padding: clamp(20px, 2.4vw, 32px) clamp(22px, 2.8vw, 36px);
  box-shadow:
    0 1px 0 rgba(255,255,255,.6) inset,
    0 30px 60px -20px rgba(26,26,26,.25),
    0 10px 25px -10px rgba(26,26,26,.15);
  max-width: 460px;
  margin: 0 auto;
}
.contact-card .eyebrow { margin-bottom: .35rem !important; }
.contact-card h1 {
  font-size: clamp(1.5rem, 2.6vw, 1.9rem) !important;
  margin-bottom: .35rem !important;
}
.contact-card > p { margin-bottom: 1rem !important; }
.contact-form .field { margin-bottom: .75rem; }
.contact-form .field input,
.contact-form .field textarea { padding: 10px 12px; font-size: .92rem; }
.contact-form textarea { min-height: 100px; }
.contact-form .field label {
  display: block;
  font-size: .75rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--ink-60);
  margin-bottom: .4rem;
}
.contact-form .field input,
.contact-form .field textarea {
  width: 100%;
  background: rgba(255,255,255,.65);
  border: 1px solid rgba(0,0,0,.12);
  border-radius: 2px;
  padding: 12px 14px;
  font: inherit;
  color: var(--ink);
  transition: border-color .25s var(--ease), background .25s var(--ease), box-shadow .25s var(--ease);
}
.contact-form .field input:focus,
.contact-form .field textarea:focus {
  outline: none;
  border-color: var(--brass);
  background: #fff;
  box-shadow: 0 0 0 3px rgba(176,140,58,.15);
}
@media (prefers-reduced-motion: reduce) {
  .contact-hero .collage-grid > span {
    animation: none !important;
    opacity: 1; transform: none;
  }
}
@media (max-width: 700px) {
  .contact-hero .collage-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* Utility ----------------------------------------------------------------- */
.sr-only {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}
.mt-1 { margin-top: .5rem; } .mt-2 { margin-top: 1rem; } .mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; } .mt-6 { margin-top: 3rem; } .mt-8 { margin-top: 4rem; }
.mb-1 { margin-bottom: .5rem; } .mb-2 { margin-bottom: 1rem; } .mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; } .mb-6 { margin-bottom: 3rem; } .mb-8 { margin-bottom: 4rem; }
.flex { display: flex; } .items-center { align-items: center; } .gap-2 { gap: 1rem; }
.text-muted { color: var(--ink-60); } .text-brass { color: var(--brass); }
