/* ==========================================================================
   TAYU Films — shared styles for every page (docs/final-design-brief.md §1–3,
   design/design-notes.md). Page-specific bits are grouped by section below.
   ========================================================================== */

/* ---------- Fonts (self-hosted, latin subset from Google Fonts, SIL Open Font License: /fonts/OFL-*.txt) ---------- */
@font-face { font-family: 'Instrument Serif'; src: url('/fonts/instrument-serif-400.woff2') format('woff2'); font-style: normal; font-weight: 400; font-display: swap; unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Instrument Serif'; src: url('/fonts/instrument-serif-400-italic.woff2') format('woff2'); font-style: italic; font-weight: 400; font-display: swap; unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Lato'; src: url('/fonts/lato-400.woff2') format('woff2'); font-style: normal; font-weight: 400; font-display: swap; unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Lato'; src: url('/fonts/lato-700.woff2') format('woff2'); font-style: normal; font-weight: 700; font-display: swap; unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Caveat'; src: url('/fonts/caveat-400.woff2') format('woff2'); font-style: normal; font-weight: 400; font-display: swap; unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

/* ---------- Tokens (final brief §1) ---------- */
:root {
  --bg: #FFFFFF;
  --ink: #111111;          /* headings, body */
  --ink-2: #4A4A48;        /* secondary body text */
  --label: #5E5E5B;        /* small uppercase labels, footer meta */
  --ghost: #C6C6C3;        /* scroll-reveal "not yet read" words only */
  --accent: #233E9B;       /* cobalt: the only accent */
  --hair: rgba(17, 17, 17, 0.14);
  --card: #F6F6F4;         /* form card */
  --media: #E3E1DC;        /* media placeholder while loading */
  --line-accent: rgba(35, 62, 155, 0.18);
  --note: rgba(35, 62, 155, 0.38);
  --error: #A3261B;

  --font-display: 'Instrument Serif', Georgia, serif;
  --font-body: 'Lato', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-hand: 'Caveat', 'Segoe Print', cursive;

  --fs-display: clamp(52px, 7.4vw, 112px);
  --fs-h2: clamp(36px, 5vw, 64px);
  --fs-lead: clamp(28px, 4.4vw, 60px);
  --fs-body: 17px;

  --space-section: clamp(80px, 10vw, 140px);
  --measure: 66ch;
  --wide: 1200px;
  --gutter: 20px;
  --radius: 4px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --header-h: 68px;
}
@media (min-width: 768px) { :root { --gutter: 40px; --header-h: 80px; } }
@media (max-width: 767px) { :root { --fs-body: 16px; } }

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0; background: var(--bg); color: var(--ink); overflow-x: clip;
  font: 400 var(--fs-body)/1.7 var(--font-body);
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
h1, h2, h3, p, ul, ol, dl, dd, figure, blockquote { margin: 0; }
h1, h2, h3 { font-weight: 400; }
ul, ol { padding: 0; list-style: none; }
img, video, svg, iframe { display: block; max-width: 100%; }
em { font-style: italic; }
a { color: var(--ink); text-underline-offset: 4px; text-decoration-thickness: 1px; transition: color .2s var(--ease); }
a:hover { color: var(--accent); }
a, button, summary, label { -webkit-tap-highlight-color: transparent; touch-action: manipulation; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; border-radius: 2px; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link {
  position: absolute; left: 16px; top: -100px; z-index: 100; display: inline-flex; align-items: center; min-height: 44px;
  background: var(--bg); color: var(--accent); padding: 0 16px; border: 1px solid var(--accent); font: 700 15px/1 var(--font-body);
}
.skip-link:focus { top: 12px; }
.container { width: 100%; max-width: calc(var(--wide) + var(--gutter) * 2); margin-inline: auto; padding-inline: var(--gutter); }
.section { position: relative; padding-bottom: var(--space-section); }
.num { font-variant-numeric: lining-nums; font-feature-settings: "lnum" 1; }

/* Film grain (config GRAIN): one fixed, static overlay; never takes clicks */
.has-grain body::after {
  content: ""; position: fixed; inset: 0; z-index: 50; pointer-events: none; opacity: 0.12; mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='240'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 240px 240px;
}

/* ---------- Type (final brief §2) ---------- */
.display { font: 400 var(--fs-display)/0.98 var(--font-display); letter-spacing: -0.02em; }
.h1 { font: 400 clamp(44px, 6vw, 80px)/1 var(--font-display); letter-spacing: -0.02em; text-wrap: balance; }
.h2 { font: 400 var(--fs-h2)/1.05 var(--font-display); letter-spacing: -0.01em; text-wrap: balance; }
.h3 { font: 400 clamp(26px, 2.6vw, 34px)/1.15 var(--font-display); }
.lead { font: 400 var(--fs-lead)/1.25 var(--font-display); letter-spacing: -0.005em; }
.accent { color: var(--accent); }
.label { font: 400 12px/1.4 var(--font-body); letter-spacing: 0.18em; text-transform: uppercase; color: var(--label); }
.eyebrow { font: 400 12px/1.4 var(--font-body); letter-spacing: 0.18em; text-transform: uppercase; color: var(--accent); }
.caption { font: 400 14px/1.5 var(--font-body); letter-spacing: 0.01em; color: var(--ink-2); }
.prose { max-width: var(--measure); }
.prose p + p { margin-top: 1em; }

/* Section label bar: "05 · Films" on a hairline. On sections without a big title the label is the H2. */
.sec-bar {
  display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 8px 16px;
  border-top: 1px solid var(--hair); padding: 16px 0 40px;
}
.sec-bar--tight { padding-bottom: 0; }

/* Margin notes (Caveat). Decorative, hidden on small screens; JS hides any that would touch text. */
.note {
  font: 400 24px/1 var(--font-hand); color: var(--note); white-space: nowrap; pointer-events: none; user-select: none;
  transform: translateY(var(--drift, 0px)) rotate(var(--r, -3deg));   /* --drift: 4.5, set by home.js */
}
.note--abs { position: absolute; }
.note--flow { display: block; width: max-content; margin: 16px 0 0 auto; }
@media (max-width: 760px) { .note { display: none; } }

/* Inline illustrations inside a sentence (illustrations.js, <span data-illustration>) */
.illo--text { display: inline-block; height: var(--illo-h, 1.2em); vertical-align: middle; margin-inline: 0.12em; }
.illo--text > img, .illo--text > svg { height: 100%; width: auto; }

/* ---------- Buttons & links ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 52px; padding: 0 28px; border-radius: var(--radius); border: 1px solid transparent;
  font: 700 13px/1 var(--font-body); letter-spacing: 0.08em; text-transform: uppercase; text-decoration: none; cursor: pointer;
  transition: background-color .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease);
}
.btn--primary { background: var(--accent); color: #fff; }
.btn--primary:hover { background: #1B3180; color: #fff; }
.btn--outline { min-height: 44px; padding: 0 18px; border-color: var(--accent); color: var(--ink); background: transparent; }
.btn--outline:hover { background: var(--accent); color: #fff; }
.btn--line { min-height: 44px; padding: 0 20px; border-color: var(--ink); color: var(--ink); background: transparent; border-radius: 0; }
.btn--line:hover { background: var(--ink); color: #fff; }
.btn--pill { min-height: 44px; padding: 0 18px; border-color: var(--accent); color: var(--accent); border-radius: 999px; }
.btn--pill:hover { background: var(--accent); color: #fff; }
.btn--block { width: 100%; min-height: 56px; }
.btn[disabled] { opacity: .6; cursor: progress; }
.text-link { display: inline-flex; align-items: center; min-height: 44px; font: 400 15px/1 var(--font-body); color: var(--ink); text-decoration: underline; text-underline-offset: 6px; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 40; height: var(--header-h);
  background: rgba(255, 255, 255, .92); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--hair);
}
.site-header .container { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: inline-flex; align-items: center; min-height: 44px; min-width: 44px; color: var(--ink); }
.brand:hover { color: var(--accent); }
.brand svg { width: 64px; height: auto; fill: currentColor; }
.nav { display: none; align-items: center; gap: 28px; }
.nav a:not(.btn) { min-width: 44px; justify-content: center;
  display: inline-flex; align-items: center; min-height: 44px; text-decoration: none;
  font: 400 13px/1 var(--font-body); letter-spacing: 0.08em; text-transform: uppercase;
}
.nav a[aria-current="page"] { color: var(--accent); }
.nav .btn { margin-left: 12px; }
.menu { position: relative; }
.menu summary {
  list-style: none; cursor: pointer; display: inline-flex; align-items: center; min-height: 44px; padding: 0 4px;
  font: 400 13px/1 var(--font-body); letter-spacing: 0.08em; text-transform: uppercase;
}
.menu summary::-webkit-details-marker { display: none; }
.menu[open] summary .menu__open, .menu:not([open]) summary .menu__close { display: none; }
.menu__panel {
  position: absolute; right: 0; top: calc(100% + 12px); width: min(300px, calc(100vw - 32px)); padding: 8px;
  background: var(--bg); border: 1px solid var(--hair); box-shadow: 0 16px 40px rgba(17, 17, 17, .12); display: grid;
}
.menu__panel a:not(.btn) {
  display: flex; align-items: center; min-height: 48px; padding: 0 16px; text-decoration: none;
  font: 400 14px/1.2 var(--font-body); letter-spacing: 0.08em; text-transform: uppercase;
}
.menu__panel a:not(.btn):hover { background: var(--card); }
.menu__panel .btn { margin: 8px; }
@media (min-width: 900px) { .nav { display: flex; } .menu { display: none; } }

/* ---------- Announcement bar (campaign) ---------- */
.announce { background: var(--accent); color: #fff; font-size: 14px; }
.announce .container { display: flex; align-items: center; justify-content: center; gap: 8px 16px; min-height: 44px; padding-block: 6px; text-align: center; }
.announce a { color: #fff; font-weight: 700; display: inline-flex; align-items: center; min-height: 44px; }
.announce__close { flex: none; width: 44px; height: 44px; border: 0; background: none; color: #fff; cursor: pointer; font-size: 22px; line-height: 1; }
.announce :focus-visible { outline-color: #fff; }

/* ---------- Media boxes ---------- */
.media { position: relative; overflow: hidden; background: var(--media); aspect-ratio: 16 / 9; }
.media--portrait { aspect-ratio: 4 / 5; }
.media--square { aspect-ratio: 1 / 1; }
.media--43 { aspect-ratio: 4 / 3; }
.media img, .media video.preview { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.media video.preview { opacity: 0; transition: opacity .45s var(--ease); }
.media video.preview.is-playing { opacity: 1; }
.media.is-missing { display: none; }   /* never show a broken image or a file path */

/* Viewfinder corners + REC label (hero video, featured film). Step 1: final state; motion comes in step 2. */
.vf { position: absolute; inset: 0; pointer-events: none; z-index: 2; --vf-c: rgba(35, 62, 155, 0.65); }
.vf__c { position: absolute; width: 24px; height: 24px; border: 0 solid var(--vf-c); }
.vf__c--tl { top: var(--vf-inset); left: var(--vf-inset); border-top-width: 1.5px; border-left-width: 1.5px; }
.vf__c--tr { top: var(--vf-inset); right: var(--vf-inset); border-top-width: 1.5px; border-right-width: 1.5px; }
.vf__c--bl { bottom: var(--vf-inset); left: var(--vf-inset); border-bottom-width: 1.5px; border-left-width: 1.5px; }
.vf__c--br { bottom: var(--vf-inset); right: var(--vf-inset); border-bottom-width: 1.5px; border-right-width: 1.5px; }
.vf__rec {
  position: absolute; top: calc(var(--vf-inset) + 4px); left: calc(var(--vf-inset) + 34px); display: flex; align-items: center; gap: 8px;
  font: 700 11px/1 var(--font-body); letter-spacing: 0.14em; color: var(--accent); font-variant-numeric: tabular-nums;
}
.vf__dot { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); }

/* ---------- Motion (final brief §4). html.motion is set by home.js only without prefers-reduced-motion,
   so without JS or with reduced motion everything stays in its final state. ---------- */
/* 4.3 Viewfinder focus: corners start 5px from the edge at 25% opacity and settle at --vf-inset (transform + opacity only) */
.vf { --vf-shift: calc(var(--vf-inset) - 5px); }
.vf__c, .vf__rec { transition: transform .9s var(--ease), opacity .9s var(--ease); }
.motion .vf:not(.is-on) .vf__c, .motion .vf:not(.is-on) .vf__rec { opacity: .25; }
.motion .vf:not(.is-on) .vf__c--tl, .motion .vf:not(.is-on) .vf__rec { transform: translate(calc(var(--vf-shift) * -1), calc(var(--vf-shift) * -1)); }
.motion .vf:not(.is-on) .vf__c--tr { transform: translate(var(--vf-shift), calc(var(--vf-shift) * -1)); }
.motion .vf:not(.is-on) .vf__c--bl { transform: translate(calc(var(--vf-shift) * -1), var(--vf-shift)); }
.motion .vf:not(.is-on) .vf__c--br { transform: translate(var(--vf-shift), var(--vf-shift)); }
@keyframes vf-blink { 0%, 49.9% { opacity: 1; } 50%, 100% { opacity: .2; } }
.motion .vf.is-on .vf__dot { animation: vf-blink 1s linear infinite; }
.motion .vf.is-paused .vf__dot { animation-play-state: paused; }

/* 4.1 Scroll reveal: words go ghost to ink as you scroll (scrubbed both ways); inline illustrations count as words */
.motion .rv-w { color: var(--ghost); transition: color .45s var(--ease); }
.motion .rv-w.is-on { color: inherit; }
.motion .rv-i { opacity: 0; transform: translateY(10px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.motion .rv-i.is-on { opacity: 1; transform: none; }

/* 4.5 "Cut. That's a wrap." writes itself once when it enters (clip-path, linear-ish) */
.motion .note--write { clip-path: inset(0 100% 0 0); transition: clip-path 1.2s cubic-bezier(0.45, 0.05, 0.55, 0.95); }
.motion .note--write.is-written { clip-path: inset(0 0 0 0); }

/* 4.6 "Play" cursor over video (fine pointer only; html.play-cursor set by home.js) */
.play-cursor [data-cursor="play"]:not(.is-playing), .play-cursor [data-cursor="play"]:not(.is-playing) * { cursor: none; }
.cursor-play {
  position: fixed; left: 0; top: 0; z-index: 60; width: 72px; height: 72px; margin: -36px 0 0 -36px; border-radius: 50%;
  border: 1px solid var(--accent); background: rgba(255, 255, 255, .85); color: var(--accent);
  display: grid; place-items: center; font: 700 11px/1 var(--font-body); letter-spacing: 0.14em; text-transform: uppercase;
  pointer-events: none; opacity: 0; transition: opacity .45s var(--ease);
}
.cursor-play.is-on { opacity: 1; }

/* 4.7 Hear their voices: small round play button with a progress ring + transcript while playing */
.voices { display: flex; flex-wrap: wrap; gap: 8px 24px; margin-top: 16px; }
.voice { display: flex; flex-direction: column; align-items: flex-start; gap: 6px; max-width: 46ch; }
.voice__btn {
  display: inline-flex; align-items: center; gap: 12px; min-height: 44px; padding: 0 4px 0 0; border: 0; background: none; cursor: pointer;
  font: 700 13px/1 var(--font-body); letter-spacing: 0.08em; text-transform: uppercase; color: var(--accent);
}
.voice__ring { position: relative; flex: none; width: 44px; height: 44px; }
.voice__ring svg { position: absolute; inset: 0; width: 44px; height: 44px; transform: rotate(-90deg); }
.voice__ring circle { fill: none; stroke-width: 1.5; }
.voice__track { stroke: var(--line-accent); }
.voice__progress { stroke: var(--accent); stroke-dasharray: 125.66; stroke-dashoffset: 125.66; }
.voice__icon { position: absolute; inset: 0; display: grid; place-items: center; }
.voice__icon svg { position: static; width: 14px; height: 14px; transform: none; fill: var(--accent); }
.voice__btn:hover .voice__track { stroke: var(--accent); }
.voice__transcript { font: italic 400 20px/1.35 var(--font-display); color: var(--ink); }
.voice__transcript[hidden] { display: none !important; }
.quote .voices { margin-top: -8px; }

/* ---------- Hero (split: text left, 4:5 video right) ---------- */
.hero { padding-block: clamp(32px, 5vw, 56px) clamp(72px, 9vw, 120px); }
.hero .container { display: grid; gap: 48px; align-items: center; }
@media (min-width: 900px) { .hero .container { grid-template-columns: 1fr 1fr; gap: 64px; } }
.hero__eyebrow { margin-bottom: 24px; }
.hero__headline { font: 400 clamp(52px, 6.4vw, 92px)/0.98 var(--font-display); letter-spacing: -0.02em; color: var(--accent); }
.hero__sub { margin-top: 28px; max-width: 44ch; line-height: 1.75; }
.hero__facts { margin-top: 20px; max-width: 52ch; font-size: 14px; line-height: 1.6; color: var(--ink-2); }
.hero__ctas { margin-top: 32px; display: flex; flex-wrap: wrap; align-items: center; gap: 12px 24px; }
.hero__ctas .text-link { text-decoration: none; }
.hero__note { margin-top: 16px; font-size: 13px; color: var(--ink-2); }
.hero__media { position: relative; aspect-ratio: 4 / 5; background: var(--media) center / cover no-repeat; overflow: hidden; --vf-inset: 18px; }
@media (max-width: 899px) { .hero__media { width: 100%; max-width: 480px; } }
.hero__video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }

/* ---------- 01 Intro (centred manifesto) ---------- */
.intro { display: flex; flex-direction: column; align-items: center; text-align: center; padding-top: clamp(40px, 6vw, 80px); }
.intro .sec-bar { border: 0; padding: 0 0 40px; justify-content: center; }
/* Text tiers (reference site): manifesto = intro statement, bio = filmmaker section. Long explanations stay Lato, left-aligned */
.manifesto { max-width: 880px; padding-inline: var(--gutter); font: 400 clamp(34px, 4.6vw, 58px)/1.12 var(--font-display); letter-spacing: -0.01em; text-align: center; }
.bio { max-width: 930px; color: #111111; font: 400 clamp(30px, 3vw, 39px)/1.35 var(--font-display); text-align: center; }
.bio p + p { margin-top: 0.8em; }
.bio em { font-style: italic; color: inherit; }
@media (max-width: 768px) { .bio { font-size: 24px; } }   /* mobile: smaller bio, desktop unchanged */
.intro .note--abs { top: 0; left: var(--gutter); }

/* ---------- 02 Featured film ---------- */
.featured__player { position: relative; aspect-ratio: 16 / 9; background: var(--media); overflow: hidden; --vf-inset: 22px; }
.featured__player.is-playing .vf { display: none; }
.featured__player iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.featured .sec-bar { padding-bottom: 24px; }
.yt-facade { position: absolute; inset: 0; width: 100%; height: 100%; padding: 0; border: 0; cursor: pointer; background: none; display: grid; place-items: center; }
.yt-facade img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.play-btn {
  position: relative; width: 88px; height: 88px; border-radius: 50%; background: var(--accent);
  display: grid; place-items: center; transition: transform .45s var(--ease);
}
.play-btn svg { width: 22px; height: 22px; margin-left: 3px; fill: none; stroke: #fff; stroke-width: 1.6; stroke-linejoin: round; }
.yt-facade:hover .play-btn { transform: scale(1.04); }
.yt-facade:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }

/* ---------- 03 Pricing ---------- */
.pricing__title { color: var(--accent); }
.tabs { margin: 28px 0 48px; border: 0; padding: 0; min-width: 0; }
.tabs__opts { display: flex; flex-wrap: wrap; gap: 0 32px; border-bottom: 1px solid rgba(35, 62, 155, 0.16); }
.tabs__opt { position: relative; display: inline-flex; }
.tabs__opt input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.tabs__opt span {
  display: inline-flex; align-items: center; min-height: 48px; padding: 0; margin-bottom: -1px; border-bottom: 2px solid transparent;
  font: 400 15px/1.3 var(--font-body); color: var(--ink-2); cursor: pointer; transition: color .25s var(--ease), border-color .25s var(--ease);
}
.tabs__opt input:checked + span { font-weight: 700; color: var(--ink); border-bottom-color: var(--accent); }
.tabs__opt span:hover { color: var(--ink); }
.tabs__opt input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 2px; }
.cards { display: grid; gap: 32px; grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr)); }
.card {
  display: flex; flex-direction: column; gap: 14px; padding: clamp(24px, 3vw, 36px);
  border: 1px solid var(--line-accent); border-radius: var(--radius); background: var(--bg);
}
.card .h3 { color: var(--accent); }
.card__sub { font-size: 14px; color: var(--ink-2); }
.card__foot { margin-top: auto; padding-top: 8px; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px; }
.price-wrap { display: flex; flex-direction: column; gap: 4px; }
.price-note { font: 400 11px/1.4 var(--font-body); letter-spacing: 0.18em; text-transform: uppercase; color: var(--accent); }
.rates-line { margin-top: 14px; font-size: 13px; line-height: 1.5; color: var(--label); font-variant-numeric: lining-nums; }
.price { font: 400 32px/1.1 var(--font-display); font-variant-numeric: lining-nums; font-feature-settings: "lnum" 1; }
.strip {
  margin-top: 24px; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 16px;
  padding: 24px clamp(24px, 3vw, 36px); border: 1px solid var(--line-accent); border-radius: var(--radius);
}
.strip .eyebrow { font-size: 11px; }
.strip__title { margin-top: 4px; font: 400 16px/1.4 var(--font-body); }
.strip__title strong { font: 400 26px/1.15 var(--font-display); color: var(--accent); }
.strip__price { font-size: 15px; font-variant-numeric: lining-nums; }
/* One-line hint under the Prologue strip / founding row (wedding tab) */
.pricing-hint { margin-top: 20px; max-width: 70ch; font-size: 14px; line-height: 1.6; color: var(--ink-2); }
.travel { margin-top: 56px; }
.travel h3 { font: 400 28px/1.15 var(--font-display); }
.travel > p { margin-top: 8px; color: var(--ink-2); font-size: 15px; }
.zones { margin-top: 20px; width: 100%; border-collapse: collapse; font-size: 15px; }
.zones th, .zones td { padding: 14px 16px 14px 0; text-align: left; vertical-align: top; border-bottom: 1px solid var(--hair); }
.zones thead th { border-bottom-color: var(--ink); }
.zones th { font: 400 11px/1.4 var(--font-body); letter-spacing: 0.18em; text-transform: uppercase; color: var(--label); }
.zones td:first-child { font: 400 20px/1.2 var(--font-display); white-space: nowrap; font-variant-numeric: lining-nums; }
.zones td:last-child { white-space: nowrap; }
@media (max-width: 639px) {
  .zones thead { display: none; }
  .zones, .zones tbody, .zones tr, .zones td { display: block; width: 100%; }
  .zones tr { padding: 14px 0; border-bottom: 1px solid var(--hair); }
  .zones td { padding: 2px 0; border: 0; white-space: normal !important; }
}

/* ---------- 04 How it works ---------- */
.how__title { margin-bottom: 56px; max-width: 18ch; }
.steps { display: grid; gap: 32px; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); }
.step { border-top: 1px solid var(--ink); padding-top: 16px; }
.step__num { font: 400 48px/1.1 var(--font-display); color: var(--accent); font-variant-numeric: lining-nums; font-feature-settings: "lnum" 1; }
.step h3 { margin: 8px 0; font: 700 16px/1.4 var(--font-body); }
.step p { font-size: 15px; line-height: 1.7; }

/* ---------- 05 Films ---------- */
.films-grid { display: grid; gap: 48px 32px; grid-template-columns: repeat(auto-fill, minmax(min(320px, 100%), 1fr)); }
@media (min-width: 900px) { .films-grid { grid-template-columns: repeat(2, 1fr); } }   /* 4 films: 2×2 on desktop (owner, 2026-10-06) */
.film-card { position: relative; display: flex; flex-direction: column; gap: 12px; text-decoration: none; color: var(--ink); }
/* Whole card is the play button until the film starts; then the player fills the 16:9 media box */
.film-card__play { position: absolute; inset: 0; z-index: 2; width: 100%; padding: 0; border: 0; background: none; cursor: pointer; }
.film-card__play:focus-visible { outline: 3px solid var(--accent); outline-offset: 4px; }
.film-card .media iframe, .story .media iframe, .film-video { position: absolute; inset: 0; z-index: 3; width: 100%; height: 100%; border: 0; }
.film-video { display: block; background: #000; object-fit: contain; }   /* our hls.js player (js/video.js) */
.story .media.is-video { aspect-ratio: 16 / 9; }
.film-card__row { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; }
.film-card__title { font: 400 21px/1.15 var(--font-display); color: var(--accent); }
.film-card__venue { margin-top: 4px; font-size: 13px; }
.film-card__icon { flex: none; width: 16px; height: 16px; margin-top: 3px; fill: none; stroke: var(--accent); stroke-width: 1.6; stroke-linejoin: round; }
.film-card:not(.is-playing):hover .film-card__title { text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 1px; }

/* ---------- 06 Kind words ---------- */
.quotes { display: grid; gap: 56px; grid-template-columns: repeat(auto-fit, minmax(min(320px, 100%), 1fr)); }
.quote { display: flex; flex-direction: column; gap: 28px; }
.quote blockquote { max-width: 30ch; font: italic 400 clamp(24px, 2.4vw, 30px)/1.32 var(--font-display); color: var(--accent); }
.quote figcaption { max-width: 30ch; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 16px; }
.quote__who { font-weight: 700; font-size: 14px; }
.quote__where { margin-top: 4px; font-size: 12px; color: var(--ink-2); }
.venues-line { margin-top: 48px; }

/* ---------- 07 FAQ ---------- */
.faq-list { border-top: 1px solid var(--hair); }
.faq-list details { border-bottom: 1px solid var(--hair); }
.faq-list summary {
  list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 24px; min-height: 64px; padding: 24px 0;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary h3 { font: 400 clamp(24px, 2.4vw, 28px)/1.15 var(--font-display); }
.faq-list summary:hover h3 { color: var(--accent); }
.faq-icon { flex: none; position: relative; width: 16px; height: 16px; color: var(--accent); }
.faq-icon::before, .faq-icon::after { content: ""; position: absolute; left: 0; top: 7px; width: 16px; height: 1.5px; background: currentColor; transition: transform .45s var(--ease); }
.faq-icon::after { transform: rotate(90deg); }
details[open] .faq-icon::after { transform: rotate(0deg); }
.faq-body { padding: 0 0 32px; max-width: 58ch; }

/* ---------- 08 Get in touch (filmmaker + form) ---------- */
.filmmaker { position: relative; display: flex; flex-direction: column; align-items: center; text-align: center; padding-top: 72px; }
.portrait { width: 160px; height: 160px; border-radius: 50%; overflow: hidden; background: var(--ink-2); flex: none; }
@media (max-width: 768px) { .portrait { width: 120px; height: 120px; } }
.portrait picture { display: block; width: 100%; height: 100%; }
.portrait img { display: block; width: 100%; height: 100%; object-fit: cover; filter: grayscale(1); }
.portrait.is-missing { display: block; }   /* keep the grey circle if the photo is missing */
.filmmaker__name { margin-top: 18px; font: 400 34px/1 var(--font-display); }
.filmmaker__bio { margin-top: 48px; }
.filmmaker__byline { margin: 10px 0 56px; font: 700 11px/1.4 var(--font-body); letter-spacing: 0.14em; text-transform: uppercase; }
.signature { margin: 32px 0 0; font: italic 400 34px/1 var(--font-display); color: var(--accent); }
.filmmaker .note--rec { top: 72px; left: 4%; }
.filmmaker .note--scene { top: 34%; right: 2%; --r: 4deg; }

.iform {
  width: 100%; max-width: 640px; margin-inline: auto; padding: clamp(24px, 5vw, 40px);
  background: var(--card); border: 1px solid rgba(17, 17, 17, 0.10); border-radius: 6px;
}
.iform__head { display: grid; gap: 10px; margin-bottom: 24px; }
.iform__bars { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; }
.iform__bars span { height: 3px; background: rgba(17, 17, 17, 0.12); transition: background-color .45s var(--ease); }
.iform__bars span.is-done { background: var(--accent); }
.iform__step { border: 0; margin: 0; padding: 0; min-width: 0; }
.iform__q { padding: 0; margin-bottom: 20px; font: 400 clamp(28px, 4vw, 34px)/1.1 var(--font-display); }
.iform__q:focus { outline: none; }
.iform__q:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; }
.iform__group { border: 0; margin: 0 0 24px; padding: 0; min-width: 0; }
.iform__label, .iform__group > legend { display: block; padding: 0; margin-bottom: 8px; font: 700 15px/1.4 var(--font-body); }
.iform__opt { font-weight: 400; color: var(--ink-2); }
.chips { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.chip { position: relative; display: flex; }
.chip input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.chip span {
  display: flex; align-items: center; width: 100%; min-height: 48px; padding: 8px 16px; border: 1px solid rgba(17, 17, 17, 0.22);
  border-radius: var(--radius); background: var(--bg); font: 400 15px/1.3 var(--font-body); color: var(--ink);
  cursor: pointer; user-select: none; transition: background-color .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease);
}
.chip span:hover { border-color: var(--accent); }
.chip input:checked + span { background: var(--accent); border-color: var(--accent); color: #fff; }
.chip input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 2px; }
.field { display: flex; flex-direction: column; margin-bottom: 20px; }
.field input[type="text"], .field input[type="email"], .field textarea {
  width: 100%; min-height: 48px; padding: 10px 14px; border: 1px solid rgba(17, 17, 17, 0.22); border-radius: var(--radius);
  background: var(--bg); color: var(--ink); font: 400 16px/1.4 var(--font-body);   /* 16px: no iOS zoom */
}
.field textarea { min-height: 150px; resize: vertical; }
.field input::placeholder, .field textarea::placeholder { color: #767673; opacity: 1; }
.field input:focus-visible, .field textarea:focus-visible { outline: 2px solid var(--accent); outline-offset: 1px; border-color: var(--accent); }
.field input:disabled { opacity: .45; }
.field [aria-invalid="true"] { border-color: var(--error); border-width: 2px; }
.check { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; margin-top: 4px; cursor: pointer; font-size: 15px; }
.check input { width: 20px; height: 20px; accent-color: var(--accent); }
.iform__error { margin: 12px 0 0; color: var(--error); font-weight: 700; font-size: 15px; }
.iform__error:empty { display: none; }
.iform__nav { display: flex; flex-direction: column; align-items: stretch; gap: 8px; margin-top: 24px; }
.iform__back {
  align-self: center; min-height: 44px; padding: 0 12px; border: 0; background: none; cursor: pointer;
  font: 400 15px/1 var(--font-body); color: var(--ink-2); text-decoration: underline; text-underline-offset: 6px;
}
.iform__back:hover { color: var(--accent); }
.iform__note { margin-top: 12px; text-align: center; font-size: 13px; color: var(--ink-2); }
.iform__status { margin-top: 14px; }
.iform__status:empty { display: none; }
.iform__hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* ---------- Ending statement + line-up ---------- */
.ending { position: relative; display: flex; flex-direction: column; align-items: center; text-align: center; padding-block: clamp(72px, 9vw, 120px) clamp(56px, 7vw, 96px); }
.ending__statement .keep { white-space: nowrap; }   /* desktop: "in your own words." stays together (no lone last word) */
@media (max-width: 768px) { .ending__statement .keep { white-space: normal; } }
.ending__statement em { color: var(--accent); }
/* The wedding party stands on a short hairline "stage" above the closing statement (owner, 2026-10-06) */
/* Ending film: 2.39:1 on desktop, 16:9 on phones; same gap to the statement as the old line-up. The film grain overlay sits on top. */
.ending__film { position: relative; width: 100%; aspect-ratio: 1920 / 804; margin-bottom: clamp(32px, 4vw, 48px); overflow: hidden; background: var(--media); }
.ending__still img, .ending__video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ending__video { opacity: 0; transition: opacity .4s var(--ease); }
.ending__video.is-on { opacity: 1; }
@media (max-width: 768px) { .ending__film { aspect-ratio: 16 / 9; } }
.ending .note--flow { align-self: flex-end; margin: 40px 6% 0 0; font-size: 28px; }

/* ---------- Footer (2 rows) ---------- */
.site-footer { border-top: 1px solid var(--hair); }
.footer-top { padding-block: 56px 28px; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 32px; }
.footer-name { font: 400 40px/1 var(--font-display); letter-spacing: -0.01em; }
.footer-motto { margin-top: 10px; font: italic 400 19px/1.3 var(--font-display); color: var(--label); }
.say-hello { display: flex; flex-direction: column; align-items: flex-end; gap: 4px; text-decoration: none; }
.say-hello__hand { display: inline-flex; align-items: center; gap: 10px; color: var(--accent); font: 400 30px/1 var(--font-hand); }
.say-hello__hand svg { width: 40px; height: 14px; fill: none; stroke: var(--accent); stroke-width: 1.4; stroke-linecap: round; }
.say-hello__mail { font-size: 17px; }
@media (max-width: 599px) { .say-hello { align-items: flex-start; } }
.footer-base { padding-bottom: 28px; }
.footer-base__row {
  border-top: 1px solid rgba(17, 17, 17, 0.10); padding-top: 8px;
  display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 0 32px; font-size: 13px; color: var(--label);
}
.footer-base nav, .footer-social, .footer-legal { display: flex; flex-wrap: wrap; gap: 0 24px; }
.footer-base a, .footer-base__copy { display: inline-flex; align-items: center; min-height: 44px; min-width: 44px; color: var(--label); text-decoration: none; }
.footer-base a:hover { color: var(--accent); }

/* ---------- Mobile floating CTA (≤ 768px) ---------- */
.mobile-cta {
  position: fixed; z-index: 30; left: 12px; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom, 0px));
  display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 8px 8px 8px 16px;
  border: 1px solid var(--hair); border-radius: 6px;
  background: rgba(255, 255, 255, .94); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  box-shadow: 0 8px 28px rgba(17, 17, 17, .12);
  transform: translateY(calc(100% + 24px)); visibility: hidden; transition: transform .45s var(--ease), visibility 0s linear .45s;
}
.mobile-cta__label { font: 400 14px/1.3 var(--font-body); color: var(--ink); font-variant-numeric: lining-nums; }
.mobile-cta .btn { min-height: 48px; padding: 0 18px; flex: none; }
.mobile-cta.is-visible { transform: none; visibility: visible; transition: transform .45s var(--ease), visibility 0s; }
@media (prefers-reduced-motion: reduce) { .mobile-cta, .mobile-cta.is-visible { transition: none; } }
@media (min-width: 769px) { .mobile-cta { display: none; } }
@media (max-width: 768px) { .has-mobile-cta .site-footer { padding-bottom: calc(72px + env(safe-area-inset-bottom, 0px)); } }

/* ---------- Simple pages (about, thanks, 404) ---------- */
.page { padding-top: clamp(40px, 7vw, 88px); padding-bottom: var(--space-section); }
.page-hero { display: grid; gap: 40px; align-items: center; }
@media (min-width: 900px) { .page-hero { grid-template-columns: 6fr 5fr; gap: 64px; } }
.page .prose { margin-top: 28px; }
.page-cta { margin-top: 40px; display: flex; flex-wrap: wrap; align-items: center; gap: 12px 28px; }

/* ---------- Legal page (/privacy/) ---------- */
.legal { max-width: 68ch; }
.legal .label { margin-bottom: 16px; }
.legal__updated { margin-top: 16px; font-size: 14px; color: var(--ink-2); }
.legal h2 { margin-top: 48px; font: 400 clamp(26px, 2.6vw, 32px)/1.15 var(--font-display); }
.legal h2 + p, .legal h2 + ul { margin-top: 12px; }
.legal p + p, .legal p + ul, .legal ul + p { margin-top: 1em; }
.legal ul { display: grid; gap: 8px; }
.legal li { position: relative; padding-left: 20px; }
.legal li::before { content: ""; position: absolute; left: 4px; top: 0.75em; width: 5px; height: 5px; border-radius: 50%; background: var(--accent); }
.legal a { text-underline-offset: 4px; }
.legal__summary { margin-top: 16px; }
.legal__part { border-bottom: 1px solid var(--hair); }
.legal h2 + .legal__part { margin-top: 16px; border-top: 1px solid var(--hair); }
.legal__part summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 24px; min-height: 56px; padding: 16px 0; }
.legal__part summary::-webkit-details-marker { display: none; }
.legal__part summary h3 { font: 700 17px/1.4 var(--font-body); }
.legal__part summary:hover h3 { color: var(--accent); }
.legal__body { padding-bottom: 24px; }
.legal__part + p { margin-top: 24px; }

/* ---------- /story/ (The Unscripted Love Story Project) + /story/rules/ ---------- */
.story-hero > * { max-width: 820px; }
.story-hero .h1 { margin-top: 16px; }
.story-hero__sub { margin-top: 24px; max-width: 46ch; font-size: 19px; line-height: 1.65; }
.story-hero__note { margin-top: 16px; font-size: 13px; color: var(--ink-2); }
.story-hero__note a { display: inline-flex; align-items: center; min-height: 44px; color: var(--ink-2); }
.story-sec { margin-top: var(--space-section); }
.story-sec::before { content: ""; display: block; margin-bottom: 32px; border-top: 1px solid var(--hair); }
.story-sec > .h2 { margin-bottom: 32px; }
.story-prize { max-width: 640px; }
.story-prize p + p { margin-top: 0; }
.story-grand { border-color: var(--accent); }
.story-grand__note { margin-top: 4px; font-size: 14px; line-height: 1.6; color: var(--ink-2); }
.story-list { display: grid; gap: 8px; margin-top: 8px; }
.story-list li { position: relative; padding-left: 20px; }
.story-list li::before { content: ""; position: absolute; left: 4px; top: 0.75em; width: 5px; height: 5px; border-radius: 50%; background: var(--accent); }
.story-steps { grid-template-columns: repeat(auto-fit, minmax(min(240px, 100%), 1fr)); }
.story-text { max-width: 60ch; }
.story-timeline td:first-child { white-space: nowrap; }
.story-timeline td:last-child { white-space: normal; }
.story-timeline__note { margin-top: 12px; }
.story-form, .story-done { margin-inline: 0; }
.story-count { margin-top: 6px; font-size: 13px; color: var(--ink-2); font-variant-numeric: tabular-nums; }
.story-count.is-over { color: var(--error); font-weight: 700; }
.story-consents { display: grid; gap: 4px; margin: 8px 0 4px; }
.check--top { align-items: flex-start; padding-block: 10px; line-height: 1.5; }
.check--top input { flex: none; margin-top: 2px; }
.story-done p + p { margin-top: 8px; }
.story-done:focus { outline: none; }
.story-rules-box { max-width: 72ch; padding: clamp(20px, 3vw, 32px); border: 1px solid var(--line-accent); border-radius: var(--radius); font-size: 15px; color: var(--ink-2); }
.rules { margin-top: 40px; padding-left: 1.6em; list-style: decimal; display: grid; gap: 16px; }
.legal .rules li { padding-left: 4px; }
.legal .rules li::before { content: none; }
.rules li::marker { color: var(--accent); font-variant-numeric: lining-nums; }

/* Founding couples line under the Prologue strip (config FOUNDING_OFFER; hidden after the deadline or at 0 spots) */
.founding {
  margin-top: 12px; display: flex; flex-wrap: wrap; align-items: center; gap: 8px 28px;
  padding: 16px clamp(20px, 3vw, 36px); background: var(--card); border-radius: var(--radius);
}
.founding__label { flex: none; font: 400 11px/1.4 var(--font-body); letter-spacing: 0.18em; text-transform: uppercase; color: var(--accent); }
.founding__text { flex: 1 1 340px; font-size: 15px; line-height: 1.55; color: var(--ink); font-variant-numeric: lining-nums; }
.founding__text em { font: italic 400 19px/1 var(--font-display); color: var(--accent); white-space: nowrap; }
.founding__text a { display: inline-block; padding: 12px 6px; margin: -12px -6px; color: inherit; text-decoration: underline; text-underline-offset: 4px; }
.founding__text a:hover { color: var(--accent); }
.founding__spots {
  flex: none; padding: 7px 12px; border: 1px solid rgba(35, 62, 155, 0.35); border-radius: 999px;
  font: 700 11px/1 var(--font-body); letter-spacing: 0.14em; text-transform: uppercase; color: var(--accent);
}
/* In-sentence links on /story/: 44px tall tap area without changing the line height */
.check--top a, .story-rules-box a { display: inline-block; padding: 13px 6px; margin: -13px -6px; }

/* Grand prize sub-points in /story/rules/ §9 */
.legal .rules-sub { margin-top: 10px; display: grid; gap: 8px; padding-left: 0; list-style: none; }
