/* =========================================================
   CustomPornProduction.com · "Cinema"
   Tokens: primitive → semantic → component.
   Rule: nothing starts hidden. Effects are one-shot animations
   whose end state is the normal, readable content.
   ========================================================= */

/* ---------- Fonts (self-hosted, Fontshare ITF Free Font License) ---------- */
@font-face { font-family: "Clash Display"; src: url("/assets/fonts/clash-display-500.woff2") format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Clash Display"; src: url("/assets/fonts/clash-display-600.woff2") format("woff2"); font-weight: 600; font-display: swap; }
@font-face { font-family: "General Sans"; src: url("/assets/fonts/general-sans-400.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "General Sans"; src: url("/assets/fonts/general-sans-500.woff2") format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "General Sans"; src: url("/assets/fonts/general-sans-600.woff2") format("woff2"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Clash Fallback"; src: local("Arial"), local("Helvetica"); size-adjust: 98%; ascent-override: 94%; descent-override: 23%; }
@font-face { font-family: "General Fallback"; src: local("Arial"), local("Helvetica"); size-adjust: 99%; ascent-override: 98%; descent-override: 24%; }

/* ---------- Primitive tokens ---------- */
:root {
  --c-black: #0B0809;
  --c-film: #050304;
  --c-ink: #140E10;
  --c-surface: #1C1416;
  --c-ivory: #F4ECE6;
  --c-mauve: #A8999A;
  --c-crimson: #E23A4E;
  --c-crimson-700: #C42A3F; /* button fill: white label ≥ 4.5:1 */
  --c-crimson-800: #A8213A;
  --c-champagne: #D9B48A;
  --c-error: #FF8A98;

  --space-1: 4px; --space-2: 8px; --space-3: 12px; --space-4: 16px; --space-5: 24px;
  --space-6: 32px; --space-7: 48px; --space-8: 64px; --space-9: 96px;

  --fs-ui: .6875rem;   /* film UI only: HUD, frame numbers, timecode */
  --fs-sm: .9375rem;   /* 15 px minimum for text */
  --fs-base: 1rem; --fs-md: 1.125rem;
  --fs-h3: clamp(1.0625rem, .95rem + .5vw, 1.375rem);
  --fs-h2: clamp(2rem, 1.35rem + 2.6vw, 3.5rem);
  --fs-h1: clamp(2.6rem, 1.4rem + 4.6vw, 5.25rem);

  --radius-sm: 4px; --radius: 8px;
  --dur-fast: 200ms; --dur: 320ms; --dur-slow: 700ms;
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --ease-in: cubic-bezier(.7, 0, .84, 0);
  --ease-snap: cubic-bezier(.5, 0, .75, 0);
}

/* ---------- Semantic tokens ---------- */
:root {
  --bg: var(--c-black);
  --bg-raised: var(--c-ink);
  --surface: var(--c-surface);
  --line: rgba(244, 236, 230, .12);
  --line-strong: rgba(244, 236, 230, .28);
  --text: var(--c-ivory);
  --muted: var(--c-mauve);
  --accent: var(--c-crimson);
  --accent-2: var(--c-champagne);
  --f-display: "Clash Display", "Clash Fallback", system-ui, sans-serif;
  --f-sans: "General Sans", "General Fallback", system-ui, -apple-system, "Segoe UI", sans-serif;
  --max: 1280px;
  --gutter: clamp(16px, 4vw, 48px);
  --section: clamp(64px, 9vw, 136px);
  --header-h: 68px;
  color-scheme: dark;
}

/* ---------- Component tokens ---------- */
:root {
  --btn-bg: var(--c-crimson-700);
  --btn-bg-hover: var(--c-crimson-800);
  --field-bg: var(--c-black);
  --field-border: rgba(244, 236, 230, .22);
  /* sprocket holes for film strips */
  --holes: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='10'%3E%3Crect x='4' y='1' width='10' height='8' rx='2' fill='%230B0809'/%3E%3C/svg%3E");
  --holes-light: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='10'%3E%3Crect x='4' y='1' width='10' height='8' rx='2' fill='%23F4ECE6' fill-opacity='.82'/%3E%3C/svg%3E");
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 8px); }
body { margin: 0; background: var(--bg); color: var(--text); font: 400 var(--fs-base)/1.6 var(--f-sans); -webkit-font-smoothing: antialiased; overflow-x: clip; }
img, picture, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3, p, ol, ul, dl, dd, figure, fieldset { margin: 0; }
ul, ol { padding: 0; list-style: none; }
:focus-visible { outline: 2px solid var(--accent-2); outline-offset: 3px; border-radius: 2px; }
::selection { background: var(--accent); color: #fff; }
[hidden] { display: none !important; }
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.icon { width: 22px; height: 22px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.sr-only { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: fixed; left: 16px; top: -60px; z-index: 400; background: var(--text); color: var(--bg); padding: 10px 16px; font-weight: 600; text-decoration: none; border-radius: var(--radius-sm); }
.skip-link:focus { top: 16px; }
.wrap { width: 100%; max-width: calc(var(--max) + 2 * var(--gutter)); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: var(--section); position: relative; }
.js-only { display: none !important; }
.js .js-only:not([hidden]) { display: inline-flex !important; }

/* film grain (very fine, moving) */
body::after {
  content: ""; position: fixed; inset: -40px; z-index: 350; pointer-events: none; opacity: .045;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  animation: grain .9s steps(5) infinite;
}
@keyframes grain { 0%, 100% { transform: translate(0, 0); } 20% { transform: translate(-14px, 9px); } 40% { transform: translate(10px, -16px); } 60% { transform: translate(-8px, -6px); } 80% { transform: translate(15px, 12px); } }

/* ---------- Typography ---------- */
.h1, .h2, .h3 { font-family: var(--f-display); font-weight: 600; letter-spacing: -.02em; text-wrap: balance; }
.h1 { font-size: var(--fs-h1); line-height: .98; letter-spacing: -.03em; }
.h2 { font-size: var(--fs-h2); line-height: 1.04; max-width: 18ch; }
.h3 { font-size: var(--fs-h3); font-weight: 500; line-height: 1.2; letter-spacing: -.01em; }
.hl { color: var(--accent); }
.lead { font-size: var(--fs-md); color: var(--muted); max-width: 58ch; line-height: 1.55; }
.note { font-size: var(--fs-sm); color: var(--muted); }
.section-head { display: grid; gap: var(--space-4); margin-bottom: clamp(var(--space-6), 4vw, var(--space-7)); }
.section-title { margin-bottom: clamp(var(--space-6), 4vw, var(--space-7)); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 12px 22px; border: 0; border-radius: var(--radius);
  background: var(--btn-bg); color: #fff; text-decoration: none; cursor: pointer;
  font: 600 var(--fs-base)/1 var(--f-sans);
  transition: background var(--dur-fast) var(--ease-out), transform var(--dur-fast) var(--ease-out);
}
.btn:hover { background: var(--btn-bg-hover); }
.btn:active { transform: translateY(1px) scale(.99); }
.btn--sm { min-height: 44px; padding: 10px 16px; font-size: var(--fs-sm); }
.btn[aria-busy="true"] { opacity: .6; pointer-events: none; }
.btn--lg { min-height: 56px; padding-inline: 26px; font-size: var(--fs-md); }
.btn--xs { min-height: 44px; padding: 8px 14px; gap: 8px; font-size: var(--fs-sm); }
.btn--ghost { background: transparent; color: var(--text); box-shadow: inset 0 0 0 1px var(--line-strong); }
.btn--ghost:hover { background: rgba(244, 236, 230, .06); box-shadow: inset 0 0 0 1px var(--text); }
/* the "REC" call to action: pulsing dot, shine every ~6 s, glow on hover */
.btn--rec {
  position: relative; overflow: hidden; isolation: isolate;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .2), 0 10px 26px -12px rgba(226, 58, 78, .85);
  transition: background var(--dur-fast) var(--ease-out), box-shadow var(--dur) var(--ease-out), transform var(--dur-fast) var(--ease-out);
}
.btn--rec::after {
  content: ""; position: absolute; z-index: -1; top: 0; bottom: 0; left: 0; width: 45%; pointer-events: none;
  background: linear-gradient(105deg, transparent 20%, rgba(255, 255, 255, .36) 50%, transparent 80%);
  transform: translateX(-130%); animation: shine 6s var(--ease-out) 2s infinite;
}
@keyframes shine { 0%, 88% { transform: translateX(-130%); } 100% { transform: translateX(330%); } }
.btn--rec:hover { box-shadow: inset 0 1px 0 rgba(255, 255, 255, .2), 0 0 0 4px rgba(226, 58, 78, .2), 0 12px 34px -8px rgba(226, 58, 78, .8); }
.btn--rec:hover .arrow { transform: translateX(4px); }
.rec-dot { flex: none; width: 8px; height: 8px; border-radius: 50%; background: #fff; box-shadow: 0 0 8px rgba(255, 255, 255, .9); animation: rec-pulse 1.6s ease-in-out infinite; }
@keyframes rec-pulse { 50% { opacity: .35; transform: scale(.7); } }
.link-arrow { display: inline-flex; align-items: center; gap: 8px; min-height: 48px; padding: 0; border: 0; background: none; font-weight: 500; color: var(--text); text-decoration: none; cursor: pointer; }
.link-arrow span { border-bottom: 1px solid var(--line-strong); padding-bottom: 2px; transition: border-color var(--dur-fast); }
.link-arrow:hover span { border-color: var(--accent-2); }
.arrow { width: 18px; height: 18px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; transition: transform var(--dur) var(--ease-out); }
.btn:hover .arrow, .link-arrow:hover .arrow { transform: translateX(3px); }
.link-arrow--back .arrow { transform: scaleX(-1); }
.link-arrow--back:hover .arrow { transform: scaleX(-1) translateX(3px); }
.round-btn {
  display: inline-grid; place-items: center; width: 48px; height: 48px; flex: none; padding: 0;
  border: 1px solid var(--line-strong); border-radius: 50%; background: rgba(11, 8, 9, .7); color: var(--text); cursor: pointer;
  transition: border-color var(--dur-fast), background var(--dur-fast), transform var(--dur-fast) var(--ease-out);
}
.round-btn:hover { border-color: var(--text); }
.round-btn:active { transform: scale(.94); }
.round-btn[disabled] { opacity: .35; cursor: default; }

/* ---------- Scroll progress: a strip of film ---------- */
.progress { position: fixed; inset: 0 0 auto; height: 6px; z-index: 120; pointer-events: none; background: rgba(5, 3, 4, .65); }
.progress i { position: absolute; inset: 0; transform-origin: 0 50%; transform: scaleX(var(--p, 0)); background: var(--holes) 0 50% / 9px 5px repeat-x, var(--accent); }

/* ---------- Header + menu ---------- */
.site-header { position: fixed; inset: 12px 0 auto; z-index: 100; height: var(--header-h); pointer-events: none; }
.site-header .wrap { position: relative; height: 100%; display: flex; align-items: center; justify-content: space-between; gap: var(--space-3); pointer-events: auto; }
/* the pill is a pseudo element: a filter on .wrap itself would trap the fixed fullscreen menu */
.site-header .wrap::before {
  content: ""; position: absolute; z-index: -1; inset: 0 calc(var(--gutter) - 10px); border-radius: 999px;
  border: 1px solid rgba(244, 236, 230, .13); background: rgba(20, 14, 16, .55);
  -webkit-backdrop-filter: blur(14px) saturate(1.3); backdrop-filter: blur(14px) saturate(1.3);
  box-shadow: 0 12px 32px -16px rgba(0, 0, 0, .8); transition: transform var(--dur) var(--ease-out), background var(--dur) var(--ease-out);
}
.site-header.is-scrolled .wrap::before { transform: scaleY(.84); background: rgba(16, 11, 13, .8); }
.brand { display: block; flex: none; position: relative; z-index: 2; }
.brand img { width: 156px; transform-origin: 0 50%; transition: transform var(--dur) var(--ease-out); }
.site-header.is-scrolled .brand img { transform: scale(.86); }
.header-cta { display: none; }
.nav__dot { display: none; }
.nav { display: flex; align-items: center; gap: var(--space-6); }
.nav__list { display: flex; gap: var(--space-5); }
.nav__list a { font-size: var(--fs-sm); font-weight: 500; text-decoration: none; color: rgba(244, 236, 230, .86); padding-block: 12px; text-shadow: 0 1px 8px rgba(0, 0, 0, .5); transition: color var(--dur-fast); }
.nav__list a:hover, .nav__list a[aria-current="true"] { color: var(--accent-2); }
.nav__vf, .menu-toggle { display: none; }

@media (max-width: 899px) {
  .brand img { width: 136px; }
  .header-cta { display: inline-flex; position: relative; z-index: 2; margin-left: auto; }
  .nav-open .header-cta { visibility: hidden; }
  .menu-toggle { display: inline-grid; place-items: center; width: 48px; height: 48px; margin-right: -8px; background: none; border: 0; cursor: pointer; position: relative; z-index: 2; }
  .menu-toggle span:first-child, .menu-toggle span:first-child::before, .menu-toggle span:first-child::after { content: ""; display: block; width: 22px; height: 1.5px; background: var(--text); transition: transform var(--dur) var(--ease-out), background var(--dur-fast); }
  .menu-toggle span:first-child { position: relative; }
  .menu-toggle span:first-child::before { position: absolute; top: -7px; }
  .menu-toggle span:first-child::after { position: absolute; top: 7px; }
  .menu-toggle[aria-expanded="true"] span:first-child { background: transparent; }
  .menu-toggle[aria-expanded="true"] span:first-child::before { transform: translateY(7px) rotate(45deg); }
  .menu-toggle[aria-expanded="true"] span:first-child::after { transform: translateY(-7px) rotate(-45deg); }
  .nav {
    position: fixed; inset: -6px 0 0; z-index: 1; flex-direction: column; align-items: flex-start; justify-content: center; gap: var(--space-6);
    padding: calc(var(--header-h) + var(--space-6)) calc(var(--gutter) + 8px) var(--space-7); background: var(--bg);
    opacity: 0; visibility: hidden; transition: opacity var(--dur) var(--ease-out), visibility 0s var(--dur);
  }
  .nav.is-open { opacity: 1; visibility: visible; transition: opacity var(--dur) var(--ease-out); }
  .nav__vf { display: block; position: absolute; inset: calc(var(--header-h) + 18px) 14px 18px; pointer-events: none; }
  .nav__vf i { position: absolute; width: 24px; height: 24px; border: 0 solid rgba(244, 236, 230, .5); }
  .nav__vf i:nth-child(1) { top: 0; left: 0; border-top-width: 1.5px; border-left-width: 1.5px; }
  .nav__vf i:nth-child(2) { top: 0; right: 0; border-top-width: 1.5px; border-right-width: 1.5px; }
  .nav__vf i:nth-child(3) { bottom: 0; left: 0; border-bottom-width: 1.5px; border-left-width: 1.5px; }
  .nav__vf i:nth-child(4) { bottom: 0; right: 0; border-bottom-width: 1.5px; border-right-width: 1.5px; }
  .nav__vf .vf-rec { top: 12px; left: 14px; }
  .nav__list { flex-direction: column; }
  .nav__list a { display: block; font: 600 clamp(2.1rem, 10vw, 2.9rem)/1.2 var(--f-display); letter-spacing: -.02em; color: var(--text); padding-block: 4px; text-shadow: none; }
  .nav.is-open .nav__list li { animation: menu-in 420ms var(--ease-out) both; animation-delay: calc(var(--i) * 60ms + 60ms); }
  .nav .btn { min-height: 52px; padding-inline: 28px; font-size: var(--fs-base); }
  .nav-open { overflow: hidden; }
  .nav-open .site-header .wrap::before { opacity: 0; }
}
@media (max-width: 359px) { .brand img { width: 120px; } .header-cta { padding-inline: 10px; } }
@media (min-width: 900px) {
  .site-header .wrap::before { inset: 0 calc(var(--gutter) - 20px); }
  .nav { flex: 1; align-self: stretch; position: relative; }
  .nav__list { margin-inline: auto; }
  .nav__list a { position: relative; display: inline-block; padding-block: 14px; }
  .nav__list a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 9px; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: right; transition: transform var(--dur) var(--ease-out); }
  .nav__list a:hover::after, .nav__list a:focus-visible::after { transform: scaleX(1); transform-origin: left; }
  .nav__dot {
    display: block; position: absolute; left: 0; bottom: 9px; width: 5px; height: 5px; margin-left: -2.5px; border-radius: 50%;
    background: var(--accent); box-shadow: 0 0 8px rgba(226, 58, 78, .9); opacity: 0; pointer-events: none;
    transform: translateX(var(--dot-x, 0)); transition: transform 450ms var(--ease-out), opacity var(--dur);
  }
  .nav__dot.is-on { opacity: 1; }
  .site-header.is-scrolled .nav__dot { bottom: 12px; }
}
@keyframes menu-in { from { opacity: 0; transform: translateY(18px); } }

/* ---------- Hero: viewfinder ---------- */
.hero { position: relative; background: var(--bg); isolation: isolate; }
.hero__media { position: relative; height: 58svh; min-height: 320px; max-height: 640px; overflow: hidden; background: var(--c-ink); }
.hero__img { position: absolute; inset: -5% -2%; transform: translate3d(var(--px, 0), var(--py, 0), 0); will-change: transform; }
.hero__img picture, .hero__img img { width: 100%; height: 100%; }
.hero__img img { object-fit: cover; object-position: 50% 58%; }
.hero__media::after {
  content: ""; position: absolute; inset: 0; pointer-events: none; z-index: 1;
  background: linear-gradient(0deg, var(--bg) 0%, rgba(11, 8, 9, 0) 26%), linear-gradient(180deg, rgba(11, 8, 9, .78) 0%, rgba(11, 8, 9, 0) 26%);
}
.viewfinder { position: absolute; inset: calc(var(--header-h) + 14px) 14px 22px; pointer-events: none; z-index: 2; font: 500 var(--fs-ui)/1 var(--f-sans); letter-spacing: .1em; color: var(--text); font-variant-numeric: tabular-nums; text-shadow: 0 1px 6px rgba(0, 0, 0, .7); }
.viewfinder > i { position: absolute; width: 22px; height: 22px; border: 0 solid rgba(244, 236, 230, .8); }
.viewfinder > i:nth-child(1) { top: 0; left: 0; border-top-width: 1.5px; border-left-width: 1.5px; }
.viewfinder > i:nth-child(2) { top: 0; right: 0; border-top-width: 1.5px; border-right-width: 1.5px; }
.viewfinder > i:nth-child(3) { bottom: 0; left: 0; border-bottom-width: 1.5px; border-left-width: 1.5px; }
.viewfinder > i:nth-child(4) { bottom: 0; right: 0; border-bottom-width: 1.5px; border-right-width: 1.5px; }
.vf-rec { position: absolute; top: 10px; left: 12px; display: flex; align-items: center; gap: 7px; font: 600 var(--fs-ui)/1 var(--f-sans); letter-spacing: .12em; }
.vf-rec::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 10px rgba(226, 58, 78, .8); animation: blink 1.2s steps(1) infinite; }
@keyframes blink { 50% { opacity: .15; } }
.vf-tc { position: absolute; top: 10px; right: 12px; font-size: .75rem; }
.vf-hud, .vf-meters, .vf-af, .vf-cross { display: none; }

.hero__content { position: relative; z-index: 2; padding-top: var(--space-2); padding-bottom: var(--space-6); }
.hero__sub { margin-top: var(--space-3); font: 500 clamp(1.25rem, 1rem + 1.2vw, 2rem)/1.2 var(--f-display); letter-spacing: -.01em; color: var(--accent-2); }
.hero__text { margin-top: var(--space-4); max-width: 46ch; color: var(--muted); font-size: var(--fs-md); }
.hero__cta { margin-top: var(--space-5); display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-2) var(--space-5); }

/* facts + odometer */
.facts { display: grid; grid-template-columns: 1fr 1fr; margin-top: var(--space-6); border-top: 1px solid var(--line); }
.facts li { padding: var(--space-4) 0; font-size: var(--fs-sm); color: var(--muted); line-height: 1.35; }
.facts li:nth-child(even) { padding-left: var(--space-4); border-left: 1px solid var(--line); }
.facts li:nth-child(n+3) { border-top: 1px solid var(--line); }
.facts b { display: block; font: 600 clamp(1.25rem, 1rem + 1vw, 1.75rem)/1.15 var(--f-display); color: var(--text); letter-spacing: -.01em; font-variant-numeric: tabular-nums; }
.odo { display: inline-flex; vertical-align: top; }
.odo__d { display: inline-block; height: 1.15em; overflow: hidden; }
.odo__s { display: flex; flex-direction: column; transform: translateY(calc(var(--n) * -1.15em)); }
.odo__s span { height: 1.15em; line-height: 1.15em; }
.odo.is-rolling .odo__s { animation: odo var(--dur-odo, 700ms) var(--ease-out) backwards; animation-delay: var(--delay, 0ms); }
@keyframes odo { from { transform: translateY(calc((var(--n) + 10) * -1.15em)); } }

/* phones: the photo is cropped right under the performers' feet (no empty bed and floor) */
@media (max-width: 599px) {
  .hero__media { height: auto; min-height: 0; max-height: none; aspect-ratio: 960 / 832; }
  .hero__img { inset: -3% -2%; }
  .hero__media::after { background: linear-gradient(0deg, var(--bg) 0%, rgba(11, 8, 9, 0) 12%), linear-gradient(180deg, rgba(11, 8, 9, .78) 0%, rgba(11, 8, 9, 0) 26%); }
  .viewfinder { bottom: 12px; }
}
@media (min-width: 600px) {
  .hero__img img { object-position: 50% 50%; }
}
@media (min-width: 1024px) {
  .hero { min-height: 100vh; min-height: 100svh; display: flex; flex-direction: column; justify-content: flex-end; }
  .hero__media { position: absolute; inset: 0 0 0 28%; height: auto; max-height: none; z-index: -1; }
  .hero__img { inset: -2.5%; }
  .hero__img img { object-position: 55% 45%; }
  .hero__media::after {
    background:
      linear-gradient(90deg, var(--bg) 0%, rgba(11, 8, 9, .9) 10%, rgba(11, 8, 9, .35) 26%, rgba(11, 8, 9, 0) 40%),
      linear-gradient(0deg, var(--bg) 0%, rgba(11, 8, 9, 0) 22%),
      linear-gradient(180deg, rgba(11, 8, 9, .8) 0%, rgba(11, 8, 9, .4) 9%, rgba(11, 8, 9, 0) 20%);
  }
  .viewfinder { inset: calc(var(--header-h) + 26px) var(--gutter) 200px 14%; }
  .viewfinder > i { width: 34px; height: 34px; }
  .vf-rec, .vf-tc { top: 14px; font-size: .75rem; }
  .vf-rec { left: 16px; } .vf-tc { right: 16px; }
  .vf-hud { display: flex; position: absolute; left: 16px; bottom: 14px; gap: 18px; align-items: center; }
  .vf-bat b { display: block; position: relative; width: 22px; height: 11px; border: 1.5px solid currentColor; border-radius: 2px; }
  .vf-bat b::before { content: ""; position: absolute; inset: 1.5px 6px 1.5px 1.5px; background: currentColor; }
  .vf-bat b::after { content: ""; position: absolute; right: -4px; top: 2.5px; width: 2px; height: 4px; background: currentColor; }
  .vf-meters { display: grid; gap: 4px; position: absolute; right: 16px; bottom: 16px; width: 72px; }
  .vf-meters b { display: block; height: 3px; border-radius: 2px; transform-origin: left; background: linear-gradient(90deg, #6ee08d 0 60%, #f2c94c 60% 85%, var(--accent) 85%); transform: scaleX(.45); }
  .meters-live .vf-meters b { animation: meter .5s steps(4, jump-none) infinite alternate; }
  .meters-live .vf-meters b + b { animation-duration: .43s; animation-delay: -.2s; }
  .vf-cross { display: block; position: absolute; left: 50%; top: 50%; width: 22px; height: 22px; margin: -11px 0 0 -11px; opacity: .45; }
  .vf-cross::before, .vf-cross::after { content: ""; position: absolute; background: var(--text); }
  .vf-cross::before { left: 50%; top: 0; bottom: 0; width: 1px; }
  .vf-cross::after { top: 50%; left: 0; right: 0; height: 1px; }
  /* AF frame: JS places it on the scene, then it focuses */
  .vf-af { display: block; position: absolute; left: var(--af-x, 40%); top: var(--af-y, 35%); width: var(--af-w, 30%); height: var(--af-h, 30%); opacity: 0; color: var(--text); }
  .vf-af::before { content: ""; position: absolute; inset: 0; border: 1.5px solid currentColor; transition: border-color var(--dur-fast);
    -webkit-mask: linear-gradient(#000 0 0) 0 0 / 22px 22px no-repeat, linear-gradient(#000 0 0) 100% 0 / 22px 22px no-repeat, linear-gradient(#000 0 0) 0 100% / 22px 22px no-repeat, linear-gradient(#000 0 0) 100% 100% / 22px 22px no-repeat;
    mask: linear-gradient(#000 0 0) 0 0 / 22px 22px no-repeat, linear-gradient(#000 0 0) 100% 0 / 22px 22px no-repeat, linear-gradient(#000 0 0) 0 100% / 22px 22px no-repeat, linear-gradient(#000 0 0) 100% 100% / 22px 22px no-repeat; }
  .vf-af span { position: absolute; left: 0; top: -18px; font-weight: 600; }
  .vf-af.is-focusing { animation: af-hunt 900ms var(--ease-out) forwards; }
  .vf-af.is-locked { opacity: 1; color: var(--accent); }
  .hero__content { padding-top: calc(var(--header-h) + var(--space-8)); padding-bottom: var(--space-7); }
  .hero__content > :not(.facts) { max-width: 40%; }
  .hero__content .h1 { max-width: 9ch; }
  .facts { grid-template-columns: repeat(4, 1fr); margin-top: var(--space-8); }
  .facts li, .facts li:nth-child(even) { padding: var(--space-4) var(--space-5); border-left: 1px solid var(--line); }
  .facts li:first-child { border-left: 0; padding-left: 0; }
  .facts li:nth-child(n+3) { border-top: 0; }
}
@keyframes meter { 0% { transform: scaleX(.3); } 100% { transform: scaleX(.9); } }
@keyframes af-hunt { 0% { opacity: 0; transform: scale(1.7); } 35% { opacity: 1; transform: scale(.9); } 60% { transform: scale(1.06); } 100% { opacity: 1; transform: scale(1); } }

/* ---------- Flash / light leak on big photos (one-shot, never hides) ---------- */
.flash { position: relative; }
.flash::after {
  content: ""; position: absolute; inset: 0; z-index: 3; pointer-events: none; opacity: 0; mix-blend-mode: screen;
  background: radial-gradient(70% 90% at 0% 30%, rgba(226, 58, 78, .9), transparent 65%), radial-gradient(60% 70% at 100% 100%, rgba(217, 180, 138, .7), transparent 70%);
}
.flash.is-flash::after { animation: leak 700ms var(--ease-out); }
@keyframes leak { 0% { opacity: 0; } 25% { opacity: .75; } 100% { opacity: 0; } }

/* ---------- Cooperations: partner logos on two camera monitors ---------- */
.coops { padding-block: clamp(28px, 6vw, 64px); border-top: 1px solid var(--line); }
.coops__inner { display: grid; gap: var(--space-5); }
.coops__lead { margin-top: var(--space-2); color: var(--muted); font-size: var(--fs-sm); }
.coops__list { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-3); }
.coop { display: grid; gap: var(--space-2); }
.coop__role { font: 600 .8125rem/1 var(--f-sans); letter-spacing: .14em; text-transform: uppercase; color: var(--accent-2); }
.coop__frame {
  position: relative; display: grid; place-items: center; aspect-ratio: 2.5 / 1; padding: 4% 8%; border: 1px solid var(--line); border-radius: var(--radius-sm);
  background: radial-gradient(120% 90% at 50% 0%, rgba(244, 236, 230, .05), transparent 70%), var(--bg-raised);
  transition: border-color var(--dur) var(--ease-out), box-shadow var(--dur) var(--ease-out);
}
.coop__frame > i { position: absolute; width: 12px; height: 12px; border: 0 solid rgba(244, 236, 230, .45); transition: border-color var(--dur) var(--ease-out); }
.coop__frame > i:nth-child(1) { top: 7px; left: 7px; border-top-width: 1.5px; border-left-width: 1.5px; }
.coop__frame > i:nth-child(2) { top: 7px; right: 7px; border-top-width: 1.5px; border-right-width: 1.5px; }
.coop__frame > i:nth-child(3) { bottom: 7px; left: 7px; border-bottom-width: 1.5px; border-left-width: 1.5px; }
.coop__frame > i:nth-child(4) { bottom: 7px; right: 7px; border-bottom-width: 1.5px; border-right-width: 1.5px; }
.coop__frame picture, .coop__frame img { display: block; width: 100%; height: auto; }
.coop__frame img { opacity: .68; filter: grayscale(1); transition: opacity var(--dur) var(--ease-out), filter var(--dur) var(--ease-out); }
.coop__ext { position: absolute; top: 9px; right: 24px; width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; color: var(--muted); opacity: .6; transition: opacity var(--dur) var(--ease-out), color var(--dur) var(--ease-out), transform var(--dur) var(--ease-out); }
.coop__frame:hover, .coop__frame:focus-visible { border-color: rgba(226, 58, 78, .55); box-shadow: 0 0 0 1px rgba(226, 58, 78, .25), 0 14px 40px -14px rgba(226, 58, 78, .55); }
.coop__frame:hover > i, .coop__frame:focus-visible > i { border-color: var(--accent); }
.coop__frame:hover img, .coop__frame:focus-visible img { opacity: 1; filter: none; }
.coop__frame:hover .coop__ext, .coop__frame:focus-visible .coop__ext { opacity: 1; color: var(--text); transform: translate(2px, -2px); }
@media (min-width: 768px) {
  .coops__list { gap: var(--space-5); }
  .coop__frame { aspect-ratio: 2.2 / 1; }
  .coop__ext { top: 12px; right: 30px; width: 16px; height: 16px; }
}
@media (min-width: 1024px) {
  .coops__inner { grid-template-columns: minmax(0, 1fr) minmax(0, 1.5fr); align-items: center; gap: var(--space-7); }
  .coops__list { max-width: 640px; justify-self: end; width: 100%; }
}

/* ---------- Studio: two 35 mm strips, 2 frames each ---------- */
.studio { overflow-x: clip; }
.reel { display: grid; gap: var(--space-6); }
.reel__strip { display: grid; grid-template-columns: 1fr 1fr; align-items: start; transform: translate3d(calc(var(--shift, 0px) * var(--dir, 1)), 0, 0); }
.reel__strip[data-strip="-1"] { --dir: -1; }
.cell { display: grid; gap: var(--space-2); align-content: start; }
.cell__film {
  position: relative; isolation: isolate; padding: 16px 3px; cursor: pointer;
  background: var(--holes-light) 0 4px / 18px 10px repeat-x, var(--holes-light) 0 calc(100% - 4px) / 18px 10px repeat-x, var(--c-film);
}
.cell:first-child .cell__film { border-radius: 3px 0 0 3px; padding-left: 6px; }
.cell:last-child .cell__film { border-radius: 0 3px 3px 0; padding-right: 6px; }
.cell__film::before { /* light-table glow */
  content: ""; position: absolute; inset: -8px; z-index: -1; border-radius: 10px; opacity: 0; pointer-events: none;
  background: radial-gradient(closest-side, rgba(255, 244, 228, .4), transparent); transition: opacity var(--dur) var(--ease-out);
}
.cell__no { position: absolute; right: 10px; bottom: 2px; z-index: 1; font: 600 9px/1 var(--f-display); letter-spacing: .1em; color: var(--accent-2); }
.cell__no::before { content: "▸ "; }
.cell__frame { position: relative; aspect-ratio: 16 / 10; overflow: hidden; border-radius: 2px; }
.cell__frame picture, .cell__frame img { width: 100%; height: 100%; }
.cell__frame img { object-fit: cover; transition: transform var(--dur-slow) var(--ease-out); }
.cell--balcony .cell__frame img { object-position: 50% 35%; }
.cell__frame::before { /* backlight */
  content: ""; position: absolute; inset: 0; z-index: 2; pointer-events: none; opacity: 0; mix-blend-mode: soft-light;
  background: rgba(255, 248, 238, .75); transition: opacity var(--dur) var(--ease-out);
}
.cell.is-lit .cell__film::before, .cell.is-lit .cell__frame::before { opacity: 1; }
.cell.is-lit .cell__frame img { transform: scale(1.06); }
@media (hover: hover) {
  .cell__film:hover::before, .cell__film:hover .cell__frame::before { opacity: 1; }
  .cell__film:hover .cell__frame img { transform: scale(1.06); }
}
.cell .h3, .cell p, .services-list { padding-inline: 4px 10px; }
.cell .h3 { font-size: 1rem; margin-top: var(--space-1); }
.cell p { color: var(--muted); font-size: var(--fs-sm); line-height: 1.45; }

/* frame 27: services as a clean 2 × 2 list with a thin play icon */
.services-list { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-2) var(--space-3); margin-top: var(--space-3); }
.services-list li { display: flex; align-items: center; gap: 9px; font-size: var(--fs-sm); font-weight: 500; line-height: 1.3; color: var(--text); }
.services-list__play { display: grid; place-items: center; flex: none; width: 22px; height: 22px; border: 1.25px solid var(--accent); border-radius: 50%; }
.services-list__play svg { width: 16px; height: 16px; margin-left: 2px; fill: none; stroke: var(--accent); stroke-width: 1.6; stroke-linejoin: round; }
/* phones: the service list runs as a 2 × 2 row under both frames, so frame 27 does not outgrow 26 */
@media (max-width: 767px) {
  .reel__strip:has(.cell--services) { grid-template-rows: auto auto auto auto; column-gap: 0; }
  .reel__strip:has(.cell--services) .cell { display: contents; }
  .reel__strip:has(.cell--services) .cell > * { grid-column: 1; }
  .reel__strip:has(.cell--services) .cell--services > * { grid-column: 2; }
  .reel__strip:has(.cell--services) .cell__film { grid-row: 1; }
  .reel__strip:has(.cell--services) .h3 { grid-row: 2; margin-top: var(--space-2); }
  .reel__strip:has(.cell--services) p { grid-row: 3; margin-top: var(--space-2); }
  .reel__strip:has(.cell--services) .cell--services .services-list { grid-row: 4; grid-column: 1 / -1; padding-inline: 4px; margin-top: var(--space-4); }
  .reel__strip:has(.cell--services) .cell:first-child .cell__film { border-radius: 3px 0 0 3px; padding-left: 6px; }
}
@media (min-width: 768px) {
  .reel { gap: var(--space-7); }
  .cell { gap: var(--space-4); }
  .cell .h3, .cell p, .services-list { padding-inline: var(--space-4) var(--space-5); }
  .cell .h3 { font-size: var(--fs-h3); margin-top: var(--space-2); }
  .cell p { font-size: var(--fs-base); line-height: 1.6; }
  .cell__film { padding: 22px 4px; }
  .cell__frame { aspect-ratio: 16 / 9; }
  .services-list { gap: var(--space-3) var(--space-5); margin-top: var(--space-2); }
  .services-list li { font-size: var(--fs-base); }
}

/* ---------- Clapperboard parts ("That's a wrap!") ---------- */
.clap__sticks { position: relative; display: block; height: 30px; }
.clap__top, .clap__bottom { position: absolute; left: 0; right: 0; height: 13px; border: 1.5px solid var(--c-ivory); border-radius: 2px; background: repeating-linear-gradient(-60deg, var(--c-ivory) 0 9px, var(--c-black) 9px 18px); }
.clap__top { top: 0; transform-origin: 3px 100%; transform: rotate(-13deg); }
.clap__bottom { bottom: 0; }
.wrap-clap.is-clap .clap__top { animation: clap 560ms var(--ease-snap); }
@keyframes clap { 0% { transform: rotate(-13deg); } 34% { transform: rotate(0); } 48% { transform: rotate(-4deg); } 60% { transform: rotate(0); } 100% { transform: rotate(-13deg); } }

/* ---------- Carousel (mobile) ---------- */
.carousel__track {
  display: grid; grid-auto-flow: column; grid-auto-columns: 80%; gap: var(--space-3);
  overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; scrollbar-width: none;
  margin-inline: calc(-1 * var(--gutter)); padding: 4px var(--gutter) 8px; scroll-padding-inline: var(--gutter);
}
.carousel__track::-webkit-scrollbar { display: none; }
.carousel__track > * { scroll-snap-align: start; min-width: 0; }
.carousel__track:focus-visible { outline-offset: -2px; }
.carousel__nav { display: flex; align-items: center; justify-content: center; gap: var(--space-3); margin-top: var(--space-3); }
.dots { display: flex; }
.dots button { width: 44px; height: 44px; padding: 0; border: 0; background: none; cursor: pointer; display: grid; place-items: center; }
.dots button::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--line-strong); transition: background var(--dur-fast), transform var(--dur-fast); }
.dots button[aria-current="true"]::before { background: var(--accent); transform: scale(1.3); }

/* ---------- Categories: film posters ---------- */
.poster { margin: 0; perspective: 900px; }
.poster__inner {
  position: relative; aspect-ratio: 2 / 3; overflow: hidden; border-radius: 6px; isolation: isolate;
  border: 1px solid var(--line-strong); background: var(--c-ink);
  transform: rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)); transition: transform var(--dur) var(--ease-out);
}
.poster.is-tilting .poster__inner { transition-duration: 80ms; }
.poster picture, .poster img { position: absolute; inset: 0; width: 100%; height: 100%; }
.poster img { object-fit: cover; z-index: -2; }
.poster--portrait img { object-position: 50% 20%; }
.poster__inner::after { content: ""; position: absolute; inset: 40% 0 0; z-index: -1; background: linear-gradient(0deg, rgba(11, 8, 9, .96) 18%, rgba(11, 8, 9, 0)); }
.poster__rating { position: absolute; top: 12px; left: 12px; padding: 4px 7px 3px; border: 1.5px solid var(--text); border-radius: 3px; font: 600 .8125rem/1 var(--f-display); letter-spacing: .04em; background: rgba(11, 8, 9, .6); }
.poster__caption { position: absolute; left: 0; right: 0; bottom: 0; padding: var(--space-5) var(--space-4) var(--space-4); text-align: center; }
.poster__title { font: 600 2.25rem/.95 var(--f-display); overflow-wrap: anywhere; letter-spacing: .01em; text-transform: uppercase; }
.poster__credits { display: block; margin-top: var(--space-3); padding-top: var(--space-2); border-top: 1px solid var(--line-strong); font: 500 var(--fs-ui)/1.4 var(--f-sans); letter-spacing: .14em; text-transform: uppercase; color: rgba(244, 236, 230, .82); }
.poster__glare { position: absolute; inset: 0; z-index: 1; pointer-events: none; opacity: 0; background: radial-gradient(circle at var(--gx, 50%) var(--gy, 0%), rgba(255, 255, 255, .22), transparent 55%); transition: opacity var(--dur); }
.poster.is-tilting .poster__glare { opacity: 1; }
.categories__note { margin-top: var(--space-5); max-width: 52ch; font-size: var(--fs-md); color: var(--text); }
@media (min-width: 768px) {
  .posters { grid-auto-flow: row; grid-template-columns: repeat(3, 1fr); overflow: visible; margin: 0; padding: 0; gap: var(--space-5); }
  .categories .carousel__nav { display: none; }
  .poster__title { font-size: clamp(1.5rem, 3.3vw, 3rem); }
}

/* ---------- Behind the scenes: running film strip ---------- */
.bts { position: relative; background: var(--c-film); border-block: 1px solid #000; }
.bts__viewport { overflow-x: auto; scrollbar-width: none; }
.bts__viewport::-webkit-scrollbar { display: none; }
.js .bts__viewport { overflow: hidden; touch-action: pan-y; cursor: grab; }
.bts.is-dragging .bts__viewport { cursor: grabbing; }
.bts__track { display: flex; width: max-content; transform: translate3d(var(--x, 0), 0, 0); }
.bts__frame {
  position: relative; flex: none; padding: 20px 4px;
  background: var(--holes-light) 0 5px / 18px 10px repeat-x, var(--holes-light) 0 calc(100% - 5px) / 18px 10px repeat-x;
}
.bts__frame picture, .bts__frame img { height: 136px; width: auto; }
.bts__frame img { border-radius: 2px; user-select: none; -webkit-user-drag: none; pointer-events: none; }
.bts__no { position: absolute; left: 10px; bottom: 3px; font: 600 9px/1 var(--f-display); letter-spacing: .12em; color: var(--accent-2); }
.bts__toggle { display: none; position: absolute; right: var(--gutter); top: 50%; margin-top: -24px; background: rgba(11, 8, 9, .82); }
.js .bts__toggle { display: inline-grid; }
.bts__toggle .icon--play, .bts__toggle[aria-pressed="true"] .icon--pause { display: none; }
.bts__toggle[aria-pressed="true"] .icon--play { display: block; }
@media (min-width: 768px) { .bts__frame picture, .bts__frame img { height: 168px; } }

/* ---------- Locations: call sheet route + camera monitor ---------- */
.scout { display: grid; gap: var(--space-5); }
.scout:focus-visible { outline-offset: 8px; }
.scout__monitor { display: grid; gap: var(--space-3); min-width: 0; }
.scout__view { position: relative; }
.scout__screen {
  position: relative; aspect-ratio: 4 / 3; overflow: hidden; border-radius: 6px; background: var(--c-film); touch-action: pan-y;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, .8), 0 0 0 6px #17100f, 0 0 0 7px var(--line);
}
.scout__shot { position: absolute; inset: 0; margin: 0; opacity: 0; visibility: hidden; }
.scout__shot.is-active { opacity: 1; visibility: visible; z-index: 1; }
.scout__shot picture, .scout__shot img { width: 100%; height: 100%; }
.scout__shot img { object-fit: cover; }
.scout__shot::after { /* monitor vignette */
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(180deg, rgba(5, 3, 4, .55), transparent 22%, transparent 78%, rgba(5, 3, 4, .35)); }
/* portrait source: shown at its own size, frame filled with the same photo blurred */
.scout__shot--portrait { display: grid; place-items: center; }
.scout__shot--portrait .scout__bg { position: absolute; inset: -10%; width: 120%; height: 120%; object-fit: cover; filter: blur(14px); }
.scout__shot--portrait picture { position: relative; z-index: 1; width: auto; height: 100%; max-height: 900px; aspect-ratio: 2 / 3; box-shadow: 0 0 48px rgba(0, 0, 0, .7); }
.scout__slug {
  position: absolute; z-index: 2; top: 18px; left: 22px; right: 22px; display: flex; justify-content: space-between; gap: var(--space-3);
  font: 600 var(--fs-ui)/1.2 var(--f-sans); letter-spacing: .12em; color: var(--text); text-shadow: 0 1px 6px rgba(0, 0, 0, .9);
}
.scout__loc { flex: none; color: var(--accent-2); font-variant-numeric: tabular-nums; }
.scout__marks { position: absolute; inset: 9px; z-index: 3; pointer-events: none; }
.scout__marks i { position: absolute; width: 16px; height: 16px; border: 0 solid rgba(244, 236, 230, .85); }
.scout__marks i:nth-child(1) { top: 0; left: 0; border-width: 1.5px 0 0 1.5px; }
.scout__marks i:nth-child(2) { top: 0; right: 0; border-width: 1.5px 1.5px 0 0; }
.scout__marks i:nth-child(3) { bottom: 0; left: 0; border-width: 0 0 1.5px 1.5px; }
.scout__marks i:nth-child(4) { bottom: 0; right: 0; border-width: 0 1.5px 1.5px 0; }
.scout__shot.whip-r { animation: whip-r 420ms var(--ease-out); }
.scout__shot.whip-l { animation: whip-l 420ms var(--ease-out); }
@keyframes whip-r { from { opacity: .2; transform: translateX(16%) scaleX(1.12); } }
@keyframes whip-l { from { opacity: .2; transform: translateX(-16%) scaleX(1.12); } }
.scout__flash { position: absolute; inset: 0; z-index: 2; background: #fff; opacity: 0; pointer-events: none; }
.scout__flash.is-on { animation: cut-flash 260ms var(--ease-out); }
@keyframes cut-flash { 0% { opacity: .55; } 100% { opacity: 0; } }
.scout__edge { position: absolute; top: 50%; z-index: 4; margin-top: -24px; background: rgba(11, 8, 9, .62); }
.scout__edge--prev { left: 10px; } .scout__edge--next { right: 10px; }
/* autoplay progress, like stories */
.scout__timer { height: 2px; border-radius: 2px; overflow: hidden; background: var(--line); opacity: 0; transition: opacity var(--dur); }
.scout.is-auto .scout__timer { opacity: 1; }
.scout__timer span { display: block; height: 100%; background: var(--accent); transform-origin: 0 50%; transform: scaleX(0); }
.scout__timer span.is-running { animation: scout-timer 5s linear forwards; }
.scout.is-held .scout__timer span { animation-play-state: paused; }
@keyframes scout-timer { to { transform: scaleX(1); } }
.scout__bar { display: none; }
.scout__thumb { position: relative; display: block; width: 100%; aspect-ratio: 16 / 9; padding: 0; overflow: hidden; border: 2px solid transparent; border-radius: 5px; background: var(--c-film); opacity: .55; cursor: pointer; transition: opacity var(--dur-fast), border-color var(--dur-fast); }
.scout__thumb img { position: relative; width: 100%; height: 100%; object-fit: cover; }
.scout__thumb .scout__thumb-bg { position: absolute; inset: 0; filter: blur(4px); }
.scout__thumb .scout__thumb-bg + img { object-fit: contain; }
.scout__thumb:hover { opacity: .9; }
.scout__thumb[aria-current="true"] { opacity: 1; border-color: var(--accent); }

/* the route: horizontal on phones, a vertical call sheet on desktop */
.route { position: relative; }
.route__line { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; pointer-events: none; }
.route__line path { fill: none; }
.route__track { stroke: rgba(244, 236, 230, .07); stroke-width: 12; stroke-linecap: round; }
.route__dash { stroke: var(--accent-2); stroke-width: 1.6; stroke-dasharray: 2 7; stroke-linecap: round; opacity: .8; }
.route__draw { stroke: #fff; stroke-width: 40; stroke-dasharray: 1 1; stroke-dashoffset: var(--draw, 0); }
.route__done { display: none; stroke: var(--accent); stroke-width: 2.5; stroke-linecap: round; stroke-dasharray: 1 1; stroke-dashoffset: var(--done, 1); transition: stroke-dashoffset 600ms var(--ease-out); }
.route.is-sized .route__done { display: inline; }
.route__stops { position: relative; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.stop { display: grid; justify-items: center; gap: var(--space-2); width: 100%; padding: 4px 0; border: 0; background: none; color: var(--muted); font: inherit; text-align: center; cursor: pointer; }
.pin {
  display: grid; place-items: center; width: 48px; height: 48px; border: 1.5px solid var(--line-strong); border-radius: 50%;
  background: var(--c-ink); color: var(--muted);
  transition: background var(--dur-fast), border-color var(--dur-fast), color var(--dur-fast), transform var(--dur) var(--ease-out);
}
.pin .icon { width: 22px; height: 22px; }
.stop:hover .pin { color: var(--text); border-color: var(--text); }
.stop.is-passed .pin { border-color: var(--accent); color: var(--text); }
.stop[aria-current="true"] .pin { background: var(--btn-bg); border-color: var(--accent); color: #fff; transform: scale(1.12); box-shadow: 0 0 0 6px rgba(226, 58, 78, .18), 0 0 24px rgba(226, 58, 78, .5); }
.stop__text { display: grid; }
.stop__no, .stop__desc { display: none; }
.stop__name { font-size: var(--fs-sm); font-weight: 500; white-space: nowrap; transition: color var(--dur-fast); }
.stop[aria-current="true"] .stop__name { color: var(--text); }
.tags { display: flex; flex-wrap: wrap; gap: var(--space-2); margin-top: var(--space-5); }
.tags li { display: inline-flex; align-items: center; gap: 8px; padding: 9px 14px; border: 1px dashed var(--line-strong); border-radius: var(--radius); font-size: var(--fs-sm); }
.tags .icon { width: 18px; height: 18px; color: var(--accent-2); }
@media (min-width: 768px) {
  .scout__screen { aspect-ratio: 16 / 9; }
  .scout__slug { top: 22px; left: 28px; right: 28px; font-size: .75rem; }
  .scout__marks { inset: 12px; }
  .scout__marks i { width: 22px; height: 22px; }
  .locations .tags { justify-content: center; }
}
@media (min-width: 1024px) {
  .scout { grid-template-columns: minmax(0, 35fr) minmax(0, 65fr); grid-template-areas: "route monitor"; gap: var(--space-7); align-items: center; }
  .scout__monitor { grid-area: monitor; width: 100%; max-width: calc(60vh * 16 / 9); justify-self: end; gap: var(--space-4); }
  .scout__edge { display: none; }
  .scout__bar { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: var(--space-4); }
  .scout__thumbs { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--space-3); }
  .route { grid-area: route; }
  .route__stops { grid-template-columns: 1fr; gap: var(--space-6); }
  .stop { grid-template-columns: auto minmax(0, 1fr); justify-items: start; align-items: center; gap: var(--space-5); padding: 0; text-align: left; }
  .pin { width: 56px; height: 56px; }
  .pin .icon { width: 24px; height: 24px; }
  .stop__text { gap: 3px; }
  .stop__no, .stop__desc { display: block; }
  .stop__no { font: 600 var(--fs-ui)/1 var(--f-sans); letter-spacing: .14em; color: var(--accent-2); }
  .stop__name { font: 500 var(--fs-h3)/1.2 var(--f-display); color: var(--text); white-space: normal; }
  .stop__desc { font-size: var(--fs-sm); color: var(--muted); }
  .stop[aria-current="true"] .stop__name { color: var(--accent); }
  .stop[aria-current="true"] .stop__no { color: var(--text); }
}

/* ---------- Process: editing timeline ---------- */
.editor { position: relative; padding: var(--space-4) var(--space-3); border: 1px solid var(--line); border-radius: var(--radius); background: #0F0A0C; }
.editor__ruler { display: none; }
.editor__tracks { position: relative; }
.editor__label { display: none; }
.editor__clips { display: grid; gap: 8px; padding-left: 64px; }
.clip { position: relative; display: flex; gap: var(--space-3); align-items: flex-start; padding: 12px 14px; border-radius: 4px; border-left: 3px solid var(--clip); background: color-mix(in srgb, var(--clip) 14%, #0F0A0C); transition: background var(--dur), box-shadow var(--dur); }
.clip--1 { --clip: #E23A4E; } .clip--2 { --clip: #D9B48A; } .clip--3 { --clip: #B07BD8; } .clip--4 { --clip: #E23A4E; } .clip--5 { --clip: #6FB8A8; }
.clip::before { /* timecode in the gutter (mobile) */
  content: attr(data-tc); position: absolute; left: -64px; top: 14px; font: 500 var(--fs-ui)/1 var(--f-sans); letter-spacing: .06em; color: var(--muted); font-variant-numeric: tabular-nums;
}
.clip.is-active { background: color-mix(in srgb, var(--clip) 32%, #0F0A0C); box-shadow: 0 0 0 1px var(--clip); }
.clip__icon { display: grid; place-items: center; flex: none; width: 34px; height: 34px; border-radius: 4px; background: rgba(0, 0, 0, .35); color: var(--clip); }
.clip__icon .icon { width: 20px; height: 20px; }
.clip__title { font: 500 1.0625rem/1.25 var(--f-display); letter-spacing: -.01em; }
.clip__text { margin-top: 2px; color: rgba(244, 236, 230, .8); font-size: var(--fs-sm); line-height: 1.45; }
.editor__audio { display: none; }
.playhead { position: absolute; z-index: 2; pointer-events: none; left: var(--space-3); right: var(--space-3); top: var(--space-4); height: 2px; background: var(--accent); box-shadow: 0 0 10px rgba(226, 58, 78, .7); transform: translate3d(0, var(--ph, 0), 0); }
.playhead b { position: absolute; left: 0; top: -9px; padding: 3px 5px; border-radius: 2px; background: var(--accent); color: #fff; font: 600 9.5px/1 var(--f-sans); letter-spacing: .05em; font-variant-numeric: tabular-nums; }
/* phones + tablets: the playhead only runs in the timecode gutter, never over the cards */
@media (max-width: 899px) {
  .editor__clips { position: relative; }
  .editor__clips::before { content: ""; position: absolute; left: 57px; top: 0; bottom: 0; width: 1px; background: var(--line-strong); }
  .clip::before { opacity: .7; }
  .playhead { left: calc(var(--space-3) + 56px); right: auto; width: 3px; height: 34px; border-radius: 2px; }
  .playhead b { left: auto; right: 8px; top: 50%; margin-top: -8px; padding: 4px 5px; }
}
@media (min-width: 900px) {
  .editor { padding: var(--space-4) var(--space-5) var(--space-5); }
  .editor__ruler { display: grid; grid-template-columns: repeat(5, 1fr); margin-left: 44px; padding-bottom: 10px; margin-bottom: 10px; font: 500 var(--fs-ui)/1 var(--f-sans); letter-spacing: .06em; color: var(--muted); font-variant-numeric: tabular-nums;
    background: repeating-linear-gradient(90deg, var(--line-strong) 0 1px, transparent 1px 2%) 0 100% / 100% 6px no-repeat; }
  .editor__tracks { display: grid; grid-template-columns: 44px 1fr; row-gap: 8px; }
  .editor__label { display: grid; place-items: center; font: 600 var(--fs-ui)/1 var(--f-sans); letter-spacing: .08em; color: var(--muted); border: 1px solid var(--line); border-radius: 3px; margin-right: 6px; }
  .editor__clips { grid-template-columns: repeat(5, 1fr); gap: 4px; padding-left: 0; }
  .clip { flex-direction: column; min-height: 172px; padding: 14px; border-left: 0; border-top: 3px solid var(--clip); }
  .clip::before { display: none; }
  .editor__audio { display: contents; }
  .editor__audio i { display: block; height: 34px; border-radius: 3px; opacity: .55;
    background: linear-gradient(0deg, transparent 22%, #6FB8A8 22% 78%, transparent 78%);
    -webkit-mask: repeating-linear-gradient(90deg, #000 0 2px, transparent 2px 5px); mask: repeating-linear-gradient(90deg, #000 0 2px, transparent 2px 5px); }
  .playhead { left: calc(var(--space-5) + 44px); right: auto; top: var(--space-3); bottom: var(--space-5); width: 2px; height: auto; transform: translate3d(var(--ph, 0), 0, 0); }
  .playhead b { left: -27px; right: auto; top: -4px; margin-top: 0; padding: 4px 6px; }
}

/* ---------- FAQ: subtitles ---------- */
.faq__list { display: grid; border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: var(--space-4); min-height: 60px; padding-block: var(--space-4); font: 500 clamp(1.0625rem, 1rem + .4vw, 1.3125rem)/1.3 var(--f-display); letter-spacing: -.01em; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary:hover { color: var(--accent-2); }
.faq summary i { flex: none; position: relative; width: 14px; height: 14px; color: var(--muted); }
.faq summary i::before, .faq summary i::after { content: ""; position: absolute; left: 0; top: 50%; width: 14px; height: 1.5px; background: currentColor; transform: translateY(-50%); }
.faq summary i::after { transform: translateY(-50%) rotate(90deg); transition: transform var(--dur) var(--ease-out); }
.faq details[open] summary i { color: var(--accent); }
.faq details[open] summary i::after { transform: translateY(-50%) rotate(0deg); }
.faq__answer { padding-bottom: var(--space-5); max-width: 58ch; font-size: var(--fs-base); line-height: 2.05; }
.faq__answer span { padding: 4px 10px; background: rgba(0, 0, 0, .78); color: #FFF7EE; -webkit-box-decoration-break: clone; box-decoration-break: clone; border-radius: 2px; }
@media (min-width: 900px) {
  .faq__list { grid-template-columns: 1fr 1fr; column-gap: var(--space-7); border-top: 0; align-items: start; }
  .faq details:nth-child(-n+2) { border-top: 1px solid var(--line); }
}

/* ---------- Inquiry: four takes ---------- */
.inquire__layout { display: grid; gap: var(--space-6); }
.inquire__panel { display: grid; gap: var(--space-3); align-content: start; }
.inquire__mail { justify-self: start; display: inline-block; padding-block: 8px; color: var(--text); text-decoration-color: var(--accent); text-underline-offset: 4px; overflow-wrap: anywhere; font-weight: 500; }
@media (min-width: 960px) {
  .inquire__layout { grid-template-columns: .85fr 1.4fr; gap: var(--space-8); align-items: start; }
  .inquire__panel { position: sticky; top: calc(var(--header-h) + 40px); gap: var(--space-4); }
}
.takes-card { position: relative; padding: var(--space-5) var(--space-4); border: 1px solid var(--line); border-radius: var(--radius); background: var(--bg-raised); }
@media (min-width: 600px) { .takes-card { padding: var(--space-6); } }
.takes__head { display: none; }
.js .takes__head { display: flex; align-items: center; justify-content: space-between; gap: var(--space-4); margin-bottom: var(--space-5); }
.takes__count { font: 600 .8125rem/1 var(--f-sans); letter-spacing: .1em; text-transform: uppercase; color: var(--accent-2); font-variant-numeric: tabular-nums; }
.takes__frames { display: flex; gap: 4px; padding: 7px 4px; background: var(--holes-light) 0 0 / 9px 5px repeat-x, var(--holes-light) 0 100% / 9px 5px repeat-x, var(--c-film); border-radius: 2px; }
.takes__frames i { position: relative; width: 30px; height: 18px; border-radius: 2px; background: #2A2023; overflow: hidden; }
.takes__frames i::after { content: ""; position: absolute; inset: 0; background: linear-gradient(135deg, #FF6A7A, var(--accent)); opacity: 0; transform: scale(.6); transition: opacity 400ms var(--ease-out), transform 400ms var(--ease-out); }
.takes__frames i.is-exposed::after { opacity: 1; transform: none; }
.take { min-width: 0; margin: 0; padding: 0; border: 0; display: grid; gap: var(--space-5); }
.take + .take { margin-top: var(--space-7); }
.js .take + .take { margin-top: 0; }
.take > legend { padding: 0; margin-bottom: var(--space-5); width: 100%; }
.take__title { font: 600 clamp(1.375rem, 1.2rem + .8vw, 1.75rem)/1.2 var(--f-display); letter-spacing: -.02em; outline: 0; }
.take.is-entering { animation: take-in 300ms var(--ease-out) both; }
@keyframes take-in { from { opacity: 0; transform: translateX(calc(var(--dir, 1) * 24px)); } }
.group { min-width: 0; margin: 0; padding: 0; border: 0; }
.group > legend { padding: 0; margin-bottom: var(--space-3); font-size: var(--fs-sm); font-weight: 600; }
.opt { color: var(--muted); font-weight: 400; }
.req { color: var(--accent); }

.tiles { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.tile { position: relative; display: block; min-width: 0; cursor: pointer; }
.tile input, .chip input { position: absolute; width: 1px; height: 1px; margin: 0; opacity: 0; pointer-events: none; }
.tile__box { position: relative; display: flex; align-items: center; gap: 10px; height: 100%; min-height: 60px; padding: 10px 32px 10px 10px; border: 1.5px solid var(--line-strong); border-radius: var(--radius); background: var(--c-black); font-size: var(--fs-sm); font-weight: 500; line-height: 1.25; transition: border-color var(--dur-fast), background var(--dur-fast), transform var(--dur) var(--ease-out); }
.tile__icon { display: grid; place-items: center; flex: none; width: 36px; height: 36px; border-radius: 6px; background: var(--surface); color: var(--accent-2); transition: background var(--dur-fast), color var(--dur-fast); }
.tile__icon .icon { width: 20px; height: 20px; }
.tile__text { min-width: 0; }
.tile__check { position: absolute; top: 7px; right: 7px; display: grid; place-items: center; width: 20px; height: 20px; border-radius: 50%; background: var(--accent); color: #fff; transform: scale(0); transition: transform var(--dur) var(--ease-out); }
.tile__check .icon { width: 12px; height: 12px; stroke-width: 3; }
.tile:hover .tile__box { border-color: rgba(244, 236, 230, .5); }
.tile input:checked + .tile__box { border-color: var(--accent); background: rgba(226, 58, 78, .1); transform: scale(1.015); }
.tile input:checked + .tile__box .tile__icon { background: var(--btn-bg); color: #fff; }
.tile input:checked + .tile__box .tile__check { transform: scale(1); }
.tile input:focus-visible + .tile__box, .chip input:focus-visible + span { outline: 2px solid var(--accent-2); outline-offset: 2px; }
.tiles--compact .tile__box { min-height: 52px; gap: 8px; padding-right: 26px; }
.tiles--compact .tile__check { top: 5px; right: 5px; width: 18px; height: 18px; }
.tiles--compact .tile__icon { width: 30px; height: 30px; }
.take .group + .group { margin-top: var(--space-2); }
@media (min-width: 600px) { .tiles { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { position: relative; cursor: pointer; }
.chip span { display: flex; align-items: center; min-height: 44px; padding: 9px 14px; border: 1.5px solid var(--line-strong); border-radius: var(--radius); background: var(--c-black); font-size: var(--fs-sm); font-weight: 500; transition: border-color var(--dur-fast), background var(--dur-fast); }
.chip:hover span { border-color: rgba(244, 236, 230, .5); }
.chip input:checked + span { border-color: var(--accent); background: var(--btn-bg); color: #fff; }

.field { display: grid; gap: var(--space-2); align-content: start; min-width: 0; }
.field label, .check { font-size: var(--fs-sm); font-weight: 500; }
.field-pair { display: grid; gap: var(--space-5); }
@media (min-width: 600px) { .field-pair { grid-template-columns: 1fr 1fr; gap: var(--space-4); } }
.input { width: 100%; min-height: 48px; padding: 12px 14px; border-radius: var(--radius-sm); background-color: var(--field-bg); border: 1px solid var(--field-border); font-size: var(--fs-base); line-height: 1.4; transition: border-color var(--dur-fast); }
.input::placeholder { color: #8b7d7e; opacity: 1; }
.input:hover { border-color: var(--line-strong); }
.input:focus { outline: none; border-color: var(--accent-2); }
.input:focus-visible { outline: 2px solid var(--accent-2); outline-offset: 1px; }
.input[aria-invalid="true"] { border-color: #FF6B7D; }
textarea.input { min-height: 96px; resize: vertical; }
.field__hint { font-size: var(--fs-sm); color: var(--muted); line-height: 1.45; margin-top: calc(-1 * var(--space-3)); }
.field__error { font-size: var(--fs-sm); color: var(--c-error); }
.field__error:empty { display: none; }
.group .field__error { margin-top: var(--space-2); }
.check { display: grid; grid-template-columns: 24px 1fr; gap: var(--space-3); align-items: start; color: var(--muted); cursor: pointer; font-weight: 400; }
.check input { appearance: none; width: 24px; height: 24px; margin: 0; border: 1px solid var(--line-strong); border-radius: var(--radius-sm); background: var(--field-bg); cursor: pointer; display: grid; place-items: center; }
.check input::after { content: ""; width: 12px; height: 6px; border: solid #fff; border-width: 0 0 2px 2px; transform: rotate(-45deg) translate(1px, -1px); opacity: 0; }
.check input:checked { background: var(--btn-bg); border-color: var(--btn-bg); }
.check input:checked::after { opacity: 1; }
.check input[aria-invalid="true"] { border-color: #FF6B7D; }
.check a { color: var(--text); text-underline-offset: 3px; }
.turnstile:empty { display: none; }
.hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form__status { margin-top: var(--space-4); font-size: var(--fs-sm); color: var(--muted); }
.form__status:empty { display: none; }
.form__status.is-error { color: var(--c-error); }
.takes__nav { display: flex; align-items: center; justify-content: space-between; gap: var(--space-3); margin-top: var(--space-6); }
.takes__nav .btn { margin-left: auto; min-width: 160px; }
@media (max-width: 479px) { .takes__nav .btn { flex: 1; min-width: 0; } }

.form-done { display: none; text-align: center; }
.form-done.is-visible, .form-done:target { display: grid; justify-items: center; gap: var(--space-3); padding: var(--space-6) var(--space-3); }
.form-done--error.is-visible, .form-done--error:target { display: block; text-align: left; padding: 0 0 var(--space-5); color: var(--c-error); }
.form-done__title { font: 600 clamp(2rem, 1.5rem + 2vw, 3rem)/1 var(--f-display); letter-spacing: -.02em; }
.form-done--sent > p:not(.form-done__title) { color: var(--muted); max-width: 40ch; }
.form-done__title:focus { outline: none; }
.form-done--error a { color: inherit; text-underline-offset: 3px; }
.wrap-clap { position: relative; display: block; width: 140px; margin-bottom: var(--space-3); }
.wrap-clap .clap__sticks { height: 46px; }
.wrap-clap .clap__top, .wrap-clap .clap__bottom { height: 20px; }
.wrap-clap::after { content: ""; display: block; height: 70px; border: 1.5px solid var(--c-ivory); border-top: 0; border-radius: 0 0 6px 6px; background: var(--c-black); }
.takes-card:has(.form-done--sent:target) .takes, .takes-card.is-sent .takes { display: none; }

/* sending: REC + thin progress bar inside the button */
.btn.is-sending { position: relative; overflow: hidden; opacity: 1; cursor: progress; background: var(--btn-bg-hover); }
.btn.is-sending .rec-dot { animation: blink 1s steps(1) infinite; }
.send-rec { font: 600 var(--fs-ui)/1 var(--f-sans); letter-spacing: .12em; display: inline-flex; align-items: center; gap: 6px; margin-right: 4px; }
.send-bar { position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: rgba(255, 255, 255, .25); }
.send-bar::after { content: ""; position: absolute; inset: 0; width: 40%; background: #fff; animation: send-bar 1.1s var(--ease-out) infinite; }
@keyframes send-bar { from { transform: translateX(-100%); } to { transform: translateX(260%); } }
.form__status.is-error a { color: inherit; text-underline-offset: 3px; }
.form__status.is-quiet { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

/* success: clap, white flash, crimson check draws itself, film-frame confetti (all ≤ 2 s) */
.takes-card.is-sent { overflow: hidden; }
.sent__check { position: absolute; left: 50%; bottom: 9px; width: 52px; height: 52px; margin-left: -26px; fill: none; stroke: var(--accent); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.sent__check circle { stroke-width: 2; stroke-dasharray: 176; }
.sent__check path { stroke-dasharray: 40; }
.sent__flash { position: absolute; inset: 0; z-index: 3; background: #fff; opacity: 0; pointer-events: none; border-radius: inherit; }
.sent__again { margin-top: var(--space-3); }
.form-done--sent.is-playing .sent__flash { animation: sent-flash 420ms 170ms ease-out both; }
.form-done--sent.is-playing .sent__check circle { animation: sent-draw 520ms 380ms var(--ease-out) both; --len: 176; }
.form-done--sent.is-playing .sent__check path { animation: sent-draw 360ms 760ms var(--ease-out) both; --len: 40; }
.form-done--sent.is-playing > :not(.sent__flash):not(.wrap-clap) { animation: sent-up 520ms var(--ease-out) both; }
.form-done--sent.is-playing > .form-done__title { animation-delay: 650ms; }
.form-done--sent.is-playing > p:not(.form-done__title) { animation-delay: 780ms; }
.form-done--sent.is-playing > .sent__again { animation-delay: 900ms; }
@keyframes sent-flash { 0% { opacity: 0; } 25% { opacity: .85; } 100% { opacity: 0; } }
@keyframes sent-draw { from { stroke-dashoffset: var(--len); } to { stroke-dashoffset: 0; } }
@keyframes sent-up { from { opacity: 0; transform: translateY(14px); } }
.confetti { position: absolute; inset: 0; z-index: 2; overflow: hidden; pointer-events: none; }
.confetti i {
  position: absolute; top: -16px; left: var(--x); width: 14px; height: 10px; border: 2px solid currentColor; border-radius: 2px;
  animation: confetti var(--t) var(--d) cubic-bezier(.3, .5, .6, 1) both;
}
.confetti i.is-hole { width: 6px; height: 5px; border: 0; border-radius: 1.5px; background: currentColor; }
@keyframes confetti {
  from { transform: translate3d(0, 0, 0) rotate(0); opacity: 1; }
  80% { opacity: 1; }
  to { transform: translate3d(var(--dx), var(--fall), 0) rotate(var(--r)); opacity: 0; }
}
/* error: short shake of the card */
.takes-card.is-shake { animation: shake 420ms var(--ease-out); }
@keyframes shake { 15%, 55% { transform: translateX(-8px); } 35%, 75% { transform: translateX(7px); } 90% { transform: translateX(-2px); } }

/* ---------- Footer ---------- */
.site-footer { border-top: 1px solid var(--line); padding-block: var(--space-7) var(--space-6); font-size: var(--fs-sm); color: var(--muted); }
.footer__row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--space-3) var(--space-6); }
.footer__row + .footer__row { margin-top: var(--space-5); padding-top: var(--space-5); border-top: 1px solid var(--line); }
.footer__brand img { width: 168px; }
.footer__nav, .footer__legal { display: flex; flex-wrap: wrap; gap: 0 var(--space-5); }
.footer__nav a, .footer__mail, .footer__legal a { display: inline-block; padding-block: 12px; color: var(--text); }
.footer__nav a, .footer__mail { text-decoration: none; }
.footer__nav a:hover, .footer__mail:hover { color: var(--accent-2); }
.footer__legal a { text-underline-offset: 3px; }
.footer__cookie { padding: 12px 0; border: 0; background: none; color: var(--text); font: inherit; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.footer__cookie:hover { color: var(--accent-2); }
.footer__mail { overflow-wrap: anywhere; }
.footer__meta { display: grid; gap: var(--space-1); }

/* ---------- About our porn studio: plain text block above the footer ---------- */
.about { padding-block: var(--space-8) var(--space-7); border-top: 1px solid var(--line); }
.about__inner { max-width: 760px; }
.about__title { margin-bottom: var(--space-4); font: 600 clamp(1.5rem, 1.2rem + 1.2vw, 2rem)/1.15 var(--f-display); letter-spacing: -.02em; }
.about__text { display: grid; gap: var(--space-4); color: rgba(244, 236, 230, .78); font-size: var(--fs-sm); line-height: 1.7; }
.about__more { display: grid; gap: var(--space-4); }
.about__toggle { margin-top: var(--space-2); }
.about__toggle[aria-expanded="true"] .arrow { transform: rotate(-90deg); }
@media (max-width: 767px) {
  .js .about__more:not(.is-open) { display: none; }
}
@media (min-width: 768px) {
  .about__text { font-size: var(--fs-base); }
  .js .about__toggle.js-only { display: none !important; }
}

/* ---------- Cookie consent: floating glass card, bottom centre ---------- */
.cookie {
  position: fixed; z-index: 200; left: 12px; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom)); display: grid; gap: var(--space-4);
  max-width: 560px; margin-inline: auto; padding: var(--space-5); border: 1px solid rgba(244, 236, 230, .14); border-radius: 16px;
  background: rgba(20, 14, 16, .82); -webkit-backdrop-filter: blur(16px) saturate(1.2); backdrop-filter: blur(16px) saturate(1.2);
  box-shadow: 0 24px 60px -20px rgba(0, 0, 0, .9); animation: cookie-in 520ms var(--ease-out) both;
}
.cookie[hidden] { display: none; }
@keyframes cookie-in { from { opacity: 0; transform: translateY(40px); } }
.cookie__head { display: grid; grid-template-columns: auto 1fr; gap: var(--space-3); align-items: start; }
.cookie__icon { width: 30px; height: 30px; fill: none; stroke: var(--accent-2); stroke-width: 1.3; }
.cookie__title { font: 600 var(--fs-md)/1.25 var(--f-display); letter-spacing: -.01em; }
.cookie__text { margin-top: 4px; color: rgba(244, 236, 230, .78); font-size: var(--fs-sm); line-height: 1.5; }
.cookie__text a { color: var(--text); text-underline-offset: 3px; }
.cookie__settings { display: grid; gap: var(--space-2); }
.cookie__settings[hidden] { display: none; }
.cookie__actions { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-2); }
.cookie__actions [data-consent="all"] { grid-column: 1 / -1; }
.cookie__actions [hidden] { display: none; }
.switch { position: relative; display: grid; grid-template-columns: auto 1fr; gap: var(--space-3); align-items: center; padding: 10px 12px; border: 1px solid var(--line); border-radius: var(--radius); cursor: pointer; }
.switch input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.switch__ui { position: relative; width: 40px; height: 24px; border-radius: 12px; background: var(--line-strong); transition: background var(--dur-fast); }
.switch__ui::after { content: ""; position: absolute; top: 3px; left: 3px; width: 18px; height: 18px; border-radius: 50%; background: #fff; transition: transform var(--dur-fast) var(--ease-out); }
.switch input:checked + .switch__ui { background: var(--btn-bg); }
.switch input:checked + .switch__ui::after { transform: translateX(16px); }
.switch input:disabled + .switch__ui { opacity: .6; }
.switch input:focus-visible + .switch__ui { outline: 2px solid var(--accent-2); outline-offset: 2px; }
.switch__text { display: grid; font-size: var(--fs-sm); color: var(--muted); line-height: 1.35; }
.switch__text b { color: var(--text); font-weight: 600; }
.cookie__short { display: none; }
/* phones: one sentence, Reject + Accept in one row, Settings as a small text link (~120 px high) */
@media (max-width: 767px) {
  .cookie { gap: var(--space-2); padding: 12px 12px 10px; border-radius: 14px; }
  .cookie__head { display: block; }
  .cookie__icon, .cookie__title, .cookie__long { display: none; }
  .cookie__short { display: inline; }
  .cookie__text { margin: 0; font-size: .875rem; line-height: 1.45; }
  .cookie__actions { grid-template-columns: 1fr 1fr auto; align-items: center; }
  .cookie__actions [data-consent="all"] { grid-column: 2; grid-row: 1; }
  .cookie__actions [data-consent="reject"] { grid-column: 1; grid-row: 1; }
  .cookie__actions [data-consent="settings"] {
    grid-column: 3; grid-row: 1; padding: 0 4px 0 8px; background: none; box-shadow: none; color: var(--muted);
    font-weight: 500; text-decoration: underline; text-underline-offset: 3px;
  }
  .cookie__actions [data-consent="settings"]:hover { color: var(--text); background: none; box-shadow: none; }
  .cookie__actions [data-consent="save"] { grid-column: 3; grid-row: 1; padding-inline: 12px; }
  .cookie .btn--sm { min-height: 44px; padding-block: 8px; }
}
@media (min-width: 600px) { .cookie { bottom: 24px; } }
@media (min-width: 768px) {
  .cookie__actions { grid-template-columns: auto auto auto; justify-content: end; }
  .cookie__actions [data-consent="all"] { grid-column: auto; order: 3; }
}

/* ---------- Sticky mobile CTA ---------- */
.sticky-cta { display: none; }
@media (max-width: 1023px) {
  .sticky-cta { display: block; position: fixed; left: 0; right: 0; bottom: 0; z-index: 90; padding: 10px var(--gutter) calc(10px + env(safe-area-inset-bottom)); background: rgba(11, 8, 9, .95); border-top: 1px solid var(--line); transform: translateY(110%); visibility: hidden; transition: transform var(--dur) var(--ease-in), visibility 0s var(--dur); }
  .sticky-cta.is-visible { transform: none; visibility: visible; transition: transform var(--dur-slow) var(--ease-out); }
  .sticky-cta .btn { width: 100%; }
  .cookie-open .sticky-cta.is-visible { transform: translateY(110%); visibility: hidden; }
}

/* ---------- Custom cursor (desktop, over photos only) ---------- */
.crosshair { display: none; }
@media (hover: hover) and (pointer: fine) {
  .js [data-cursor] { cursor: none; }
  .crosshair { display: block; position: fixed; left: 0; top: 0; z-index: 360; width: 40px; height: 40px; margin: -20px 0 0 -20px; pointer-events: none; opacity: 0; transform: translate3d(var(--cx, -100px), var(--cy, -100px), 0); transition: opacity var(--dur-fast); }
  .crosshair.is-on { opacity: 1; }
  .crosshair::before { content: ""; position: absolute; inset: 0; border: 1.5px solid #fff;
    -webkit-mask: linear-gradient(#000 0 0) 0 0 / 12px 12px no-repeat, linear-gradient(#000 0 0) 100% 0 / 12px 12px no-repeat, linear-gradient(#000 0 0) 0 100% / 12px 12px no-repeat, linear-gradient(#000 0 0) 100% 100% / 12px 12px no-repeat;
    mask: linear-gradient(#000 0 0) 0 0 / 12px 12px no-repeat, linear-gradient(#000 0 0) 100% 0 / 12px 12px no-repeat, linear-gradient(#000 0 0) 0 100% / 12px 12px no-repeat, linear-gradient(#000 0 0) 100% 100% / 12px 12px no-repeat; }
  .crosshair i::before, .crosshair i::after { content: ""; position: absolute; background: var(--accent); }
  .crosshair i::before { left: 19px; top: 13px; width: 2px; height: 14px; }
  .crosshair i::after { top: 19px; left: 13px; width: 14px; height: 2px; }
}

/* ---------- Age gate: blurred hero, viewfinder, rating card ---------- */
.age-gate { display: none; }
.ag-show .age-gate { display: grid; place-items: center; position: fixed; inset: 0; z-index: 300; padding: var(--space-4); overflow-y: auto; background: var(--c-black); }
.ag-show body { overflow: hidden; }
.age-gate__bg { position: fixed; inset: -48px; background: url("data:image/webp;base64,UklGRjwBAABXRUJQVlA4IDABAADQCgCdASpAACsAPrVKnUonJCKhsBVcAOAWiWcAyyx2vQ1UTQT+EFmRJyLhVP1TBZqo+A29Pc3XCM5G/PjM9DkCpI/j9jvjcK438APjZWsO2xSbaS2WliQ9e/aiyf2LAAD+9vhVEd95O3+v9fV0wSVJf0GuKpW4d2iK0mAkbLlH/DClgU6vfuzwe/OJG7XJR569bp6maLg0iszdfNjrLsp1Vxo8zkQeEaZvHZoVswv81ix5qpguxRI8Gp7Z538XBFWssc4tevw4JnitnFT1/1flWrTGoqGm5fsG47cV0gd8QT/mGBo/uvCdEXjXIghNspMd8fdSJGsSlOlF2l/ExJ1duXJ6allR7QPwBu1NXuvr6nLXW4bHSkEO2Qm2VJK73ZfkTnvpp8AtK/OhAU3wAAAA") 50% 50% / cover; filter: blur(20px); }
.age-gate__bg::after { content: ""; position: absolute; inset: 0; background: radial-gradient(80% 70% at 50% 50%, rgba(11, 8, 9, .2), rgba(11, 8, 9, .72)); }
.age-gate__vf { position: fixed; inset: 16px; pointer-events: none; font: 600 var(--fs-ui)/1 var(--f-sans); letter-spacing: .12em; }
.age-gate__vf i { position: absolute; width: 26px; height: 26px; border: 0 solid rgba(244, 236, 230, .75); }
.age-gate__vf i:nth-child(1) { top: 0; left: 0; border-top-width: 1.5px; border-left-width: 1.5px; }
.age-gate__vf i:nth-child(2) { top: 0; right: 0; border-top-width: 1.5px; border-right-width: 1.5px; }
.age-gate__vf i:nth-child(3) { bottom: 0; left: 0; border-bottom-width: 1.5px; border-left-width: 1.5px; }
.age-gate__vf i:nth-child(4) { bottom: 0; right: 0; border-bottom-width: 1.5px; border-right-width: 1.5px; }
.age-gate__vf .vf-rec { top: 12px; left: 14px; }
.gate-card {
  position: relative; width: min(100%, 440px); display: grid; justify-items: center; gap: var(--space-3); padding: 40px 24px 12px; text-align: center;
  border: 1px solid rgba(244, 236, 230, .14); border-radius: 18px; background: rgba(20, 14, 16, .62);
  -webkit-backdrop-filter: blur(16px) saturate(1.2); backdrop-filter: blur(16px) saturate(1.2); box-shadow: 0 30px 80px -24px rgba(0, 0, 0, .85);
  transition: opacity var(--dur) var(--ease-in), transform var(--dur) var(--ease-in);
}
.gate-card__clap { position: absolute; top: -14px; left: 50%; width: 78px; height: 26px; margin-left: -39px; }
.slate__stick { position: absolute; left: 0; right: 0; height: 11px; border: 1.5px solid var(--c-ivory); border-radius: 2px; background: repeating-linear-gradient(-60deg, var(--c-ivory) 0 7px, var(--c-black) 7px 14px); }
.slate__stick--top { top: 0; transform-origin: 3px 100%; transform: rotate(-14deg); }
.slate__stick--bottom { bottom: 0; }
.age-gate.is-clapping .slate__stick--top { transform: rotate(0); transition: transform 150ms var(--ease-snap); }
.gate-card__logo { width: 150px; height: auto; }
.gate-card__rating { display: grid; place-items: center; width: 84px; height: 84px; margin-top: var(--space-2); border-radius: 50%; background: var(--btn-bg); box-shadow: 0 0 0 6px rgba(226, 58, 78, .2), 0 0 40px rgba(226, 58, 78, .5); }
.gate-card__rating span { display: grid; place-items: center; width: 70px; height: 70px; border: 1.5px solid rgba(255, 255, 255, .6); border-radius: 50%; font: 600 1.75rem/1 var(--f-display); letter-spacing: -.02em; color: #fff; }
.gate-card__title { margin-top: var(--space-1); font: 600 clamp(2rem, 8vw, 2.5rem)/1.05 var(--f-display); letter-spacing: -.02em; }
.gate-card__text { max-width: 34ch; color: rgba(244, 236, 230, .78); font-size: var(--fs-sm); line-height: 1.5; }
.gate-card__actions { display: grid; gap: var(--space-2); width: 100%; margin-top: var(--space-2); }
.gate-card__actions .btn { width: 100%; }
.gate-card__links { font-size: var(--fs-sm); color: var(--muted); }
.gate-card__links a { display: inline-block; padding: 11px 6px; color: var(--muted); text-underline-offset: 3px; }
.gate-card__links a:hover { color: var(--text); }
.age-gate__flash { position: fixed; inset: 0; background: #fff; opacity: 0; pointer-events: none; }
.age-gate.is-clapping .age-gate__flash { animation: cut-flash 300ms var(--ease-out) 140ms; }
.age-gate.is-leaving .gate-card { opacity: 0; transform: scale(.97); }
@media (min-width: 768px) { .gate-card { padding: 48px 40px 16px; } .age-gate__vf { inset: 28px; } }

/* ---------- Shutter intro (first visit only) ---------- */
.shutter { display: none; }
.ag-show .shutter, .intro .shutter { display: block; position: fixed; inset: 0; z-index: 250; pointer-events: none; }
.shutter::before, .shutter::after { content: ""; position: absolute; left: 0; right: 0; height: 50.5%; background: var(--c-black); transition: transform 800ms var(--ease-out); }
.shutter::before { top: 0; transform-origin: top; }
.shutter::after { bottom: 0; transform-origin: bottom; }
.intro.is-opening .shutter::before, .intro.is-opening .shutter::after { transform: scaleY(0); }
.intro .hero__img img { filter: blur(12px); transform: scale(1.04); }
.intro.is-opening .hero__img img { filter: none; transform: none; transition: filter 900ms var(--ease-out), transform 900ms var(--ease-out); }

/* ---------- Legal / simple pages ---------- */
.legal { padding-top: calc(var(--header-h) + clamp(40px, 7vw, 96px)); padding-bottom: var(--section); }
.legal .wrap { max-width: calc(780px + 2 * var(--gutter)); }
.legal h1 { margin-bottom: var(--space-6); max-width: none; }
.legal h2.legal__h { font: 500 var(--fs-md)/1.3 var(--f-display); margin: var(--space-7) 0 var(--space-3); }
.legal p, .legal li { color: rgba(244, 236, 230, .8); }
.legal p + p { margin-top: var(--space-4); }
.legal a { color: var(--text); text-underline-offset: 3px; text-decoration-color: var(--accent); }
.legal .todo { background: rgba(226, 58, 78, .14); border: 1px dashed var(--accent); padding: 2px 6px; border-radius: 3px; color: var(--text); }
.back-link { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; font-size: var(--fs-sm); font-weight: 500; text-decoration: none; color: var(--text); }
.back-link:hover { color: var(--accent-2); }
.back-link .arrow { transform: scaleX(-1); }
.notfound { min-height: 100svh; display: grid; place-items: center; text-align: center; padding: 120px var(--gutter) 60px; }
.notfound__code { font: 600 clamp(6rem, 22vw, 14rem)/.85 var(--f-display); letter-spacing: -.04em; color: transparent; -webkit-text-stroke: 1.5px var(--accent); }
.notfound .h2 { margin-inline: auto; }
.notfound p { color: var(--muted); margin: var(--space-4) auto var(--space-6); max-width: 40ch; }

/* ---------- Geo blur: notice, photo badges, popover (only for restricted regions, set by main.js) ---------- */
.geo-note {
  position: absolute; z-index: 90; top: calc(12px + var(--header-h) + 8px); left: 12px; right: 12px; max-width: 760px; margin-inline: auto;
  display: grid; grid-template-columns: 1fr auto; align-items: center; gap: var(--space-2); padding: 10px 6px 10px 14px;
  border: 1px solid rgba(244, 236, 230, .14); border-radius: 14px; background: rgba(20, 14, 16, .8);
  -webkit-backdrop-filter: blur(16px) saturate(1.2); backdrop-filter: blur(16px) saturate(1.2);
  box-shadow: 0 18px 44px -18px rgba(0, 0, 0, .9); font-size: .8125rem; line-height: 1.4; color: rgba(244, 236, 230, .86);
  animation: geo-in 520ms var(--ease-out) both;
}
@keyframes geo-in { from { opacity: 0; transform: translateY(-12px); } }
.geo-note__icon { display: none; }
.geo-note__more { display: none; }
.geo-note a { color: var(--text); font-weight: 500; text-underline-offset: 3px; text-decoration-color: var(--accent); white-space: nowrap; }
.geo-note__close {
  display: grid; place-items: center; width: 44px; height: 44px; margin: -6px 0; border-radius: 50%; color: var(--text); background: none; border: 0; cursor: pointer;
}
.geo-note__close:hover { background: rgba(244, 236, 230, .08); }
.geo-note__close svg, .geo-badge svg, .geo-note__icon svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; }
@media (min-width: 600px) {
  .geo-note { left: var(--gutter); right: var(--gutter); grid-template-columns: auto 1fr auto; gap: var(--space-3); padding: 12px 8px 12px 16px; font-size: var(--fs-sm); }
  .geo-note__icon { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; color: var(--accent-2); border: 1px solid rgba(217, 180, 138, .35); }
  .geo-note__more { display: inline; }
}

.geo-badge {
  position: absolute; z-index: 3; top: 10px; left: 10px; display: inline-flex; align-items: center; gap: 6px; min-height: 32px; padding: 0 11px 0 9px;
  border: 1px solid rgba(244, 236, 230, .2); border-radius: 999px; background: rgba(11, 8, 9, .62); color: var(--text);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  font: 500 .75rem/1 var(--f-sans); letter-spacing: .02em; white-space: nowrap; cursor: pointer;
}
/* 44 px touch target around the small pill */
.geo-badge::after { content: ""; position: absolute; inset: -6px; }
.geo-badge:hover, .geo-badge[aria-expanded="true"] { border-color: var(--accent-2); }
.geo-badge svg { color: var(--accent-2); flex: none; }
.poster__inner > .geo-badge { left: auto; right: 12px; top: 12px; }
.hero__media > .geo-badge { top: auto; left: 28px; bottom: 36px; }
/* small film frames on phones: icon only, the text stays as the accessible name */
@media (max-width: 767px) {
  .cell__frame > .geo-badge { padding: 0; width: 32px; justify-content: center; }
  .cell__frame > .geo-badge span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
}
@media (min-width: 1024px) {
  .hero__media > .geo-badge { left: auto; right: calc(var(--gutter) + 14px); bottom: 236px; }
}

.geo-pop {
  position: absolute; z-index: 120; width: min(320px, calc(100vw - 32px)); padding: 14px 16px; border: 1px solid rgba(244, 236, 230, .16); border-radius: 12px;
  background: rgba(20, 14, 16, .94); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); box-shadow: 0 20px 50px -18px rgba(0, 0, 0, .95);
  font-size: .875rem; line-height: 1.5; color: rgba(244, 236, 230, .86); animation: geo-pop 220ms var(--ease-out) both;
}
.geo-pop[hidden] { display: none; }
.geo-pop a { color: var(--text); font-weight: 500; text-underline-offset: 3px; text-decoration-color: var(--accent); }
@keyframes geo-pop { from { opacity: 0; transform: translateY(-6px); } }

/* ---------- Reduced motion: everything static and readable ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition-duration: 1ms !important; transition-delay: 0s !important; }
  .hero__img, .reel__strip { transform: none; }
  .intro .hero__img img { filter: none; transform: none; }
  .intro .shutter { display: none; }
  .vf-af { opacity: 1; color: var(--accent); }
}
.notfound__nav { margin-top: var(--space-6); }
.notfound__nav ul { display: flex; flex-wrap: wrap; justify-content: center; gap: 0 var(--space-5); }
.notfound__nav a { display: inline-block; padding-block: 12px; color: var(--text); font-size: var(--fs-sm); text-underline-offset: 3px; }
.notfound__nav a:hover { color: var(--accent-2); }
