/* Landing page only (body.cinema). Loaded after site.css and scoped to .cinema, so policy pages keep the
   light reading layout. Dark film look: warm near-black, one raspberry accent, serif display type over
   Manrope, graded photographs. Motion lives in js/home.js; everything here is readable without it.
   Hidden-until-revealed states apply only under html.motion, which js/home-pre.js sets when motion is
   allowed and removes again if the animation library fails to load. */

@font-face {
    font-family: 'Instrument Serif';
    src: url('../fonts/instrument-serif/InstrumentSerif-Regular.woff2') format('woff2');
    font-weight: 400; font-style: normal; font-display: swap;
}
@font-face {
    font-family: 'Instrument Serif';
    src: url('../fonts/instrument-serif/InstrumentSerif-Italic.woff2') format('woff2');
    font-weight: 400; font-style: italic; font-display: swap;
}

.cinema {
    color-scheme: dark;
    --bg: #0b0709;
    --bg-2: #130c10;
    --panel: rgba(255, 244, 240, .045);
    --panel-line: rgba(255, 236, 230, .12);
    --ink: #f7ece7;
    --ink-soft: #cdbdbb;
    --muted: #a39395;
    --accent: #ff6f95;
    --cta: #c9214f;
    --cta-press: #a81840;
    --gold: #f0b97a;
    --serif: 'Instrument Serif', 'Iowan Old Style', 'Palatino Linotype', Georgia, serif;
    --ease: cubic-bezier(.22, 1, .36, 1);
    background: var(--bg);
    color: var(--ink);
}
.cinema main { overflow-x: clip; }
.cinema h1, .cinema h2, .cinema h3 { color: var(--ink); }
.cinema a { color: var(--accent); }
.cinema a:hover { color: #ffa3bb; }
.cinema :focus-visible { outline-color: var(--gold); }
.cinema ::selection { background: var(--cta); color: #fff; }

/* Film grain over the whole page. */
.cinema .grain {
    position: fixed; inset: -50%; z-index: 40; pointer-events: none; opacity: .07;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 .9 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
@media (prefers-reduced-motion: no-preference) {
    .cinema .grain { animation: grain 1.1s steps(6) infinite; }
}
@keyframes grain {
    0% { transform: translate(0, 0); } 20% { transform: translate(-3%, 2%); } 40% { transform: translate(2%, -4%); }
    60% { transform: translate(-4%, -1%); } 80% { transform: translate(3%, 3%); } 100% { transform: translate(0, 0); }
}

/* ---------- Header and footer, dark ---------- */

.cinema .site-header {
    position: fixed; inset: 0 0 auto 0; background: transparent; border-bottom-color: transparent;
    -webkit-backdrop-filter: none; backdrop-filter: none;
    transition: background-color .4s ease, border-color .4s ease, backdrop-filter .4s ease;
}
.cinema .site-header.is-solid {
    background: rgba(11, 7, 9, .78); border-bottom-color: var(--panel-line);
    -webkit-backdrop-filter: blur(18px) saturate(1.2); backdrop-filter: blur(18px) saturate(1.2);
}
.cinema .brand, .cinema .brand:hover { color: #fff; }
.cinema .site-nav a { color: rgba(255, 255, 255, .82); }
.cinema .site-nav a:hover { background: rgba(255, 255, 255, .1); color: #fff; }
.cinema .age-pill { background: rgba(255, 255, 255, .12); border: 1px solid rgba(255, 255, 255, .28); }
.cinema .skip { background: #fff; color: #0b0709; }
.cinema .skip:focus { color: #0b0709; }
.cinema .site-footer { background: #070405; border-top: 1px solid var(--panel-line); color: var(--ink-soft); }
.cinema .site-footer a { color: #fff; }
.cinema .footer-base { color: var(--muted); }

/* ---------- Buttons ---------- */

.cinema .btn { transition: background-color .25s ease, box-shadow .25s ease, border-color .25s ease; will-change: transform; }
.cinema .btn-primary { background: var(--cta); color: #fff; box-shadow: 0 10px 40px -8px rgba(201, 33, 79, .7), inset 0 1px 0 rgba(255, 255, 255, .22); }
.cinema .btn-primary:hover { background: var(--cta-press); color: #fff; box-shadow: 0 14px 50px -6px rgba(201, 33, 79, .85), inset 0 1px 0 rgba(255, 255, 255, .22); }
.cinema .btn-ghost { background: rgba(255, 255, 255, .06); color: #fff; border: 1px solid rgba(255, 255, 255, .3); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.cinema .btn-ghost:hover { background: rgba(255, 255, 255, .14); color: #fff; border-color: rgba(255, 255, 255, .55); }
.cinema .eyebrow { color: var(--gold); letter-spacing: .22em; font-size: .7rem; }

/* ---------- Phone frame ---------- */

.cinema .phone {
    position: relative; border-radius: 2.1rem; padding: .42rem; background: linear-gradient(150deg, #3a3034, #121012 45%, #2a2226);
    box-shadow: 0 40px 80px -20px rgba(0, 0, 0, .85), 0 0 0 1px rgba(255, 255, 255, .08), inset 0 0 0 1px rgba(255, 255, 255, .06);
}
.cinema .phone img { width: 100%; border-radius: 1.72rem; background: #fff8f5; }
.cinema .phone::after {
    content: ''; position: absolute; left: 50%; top: .95rem; width: 22%; height: .32rem; margin-left: -11%; border-radius: 1rem; background: rgba(20, 14, 16, .82);
}

/* ---------- Hero ---------- */

.cinema .c-hero { position: relative; min-height: 100svh; display: grid; align-items: center; isolation: isolate; overflow: hidden; padding-block: 6.5rem 5.5rem; }
.cinema .c-hero-media { position: absolute; inset: 0; z-index: -3; }
.cinema .c-hero-media picture, .cinema .c-hero-media img { width: 100%; height: 100%; }
.cinema .c-hero-media img { object-fit: cover; object-position: 62% 50%; }
@media (prefers-reduced-motion: no-preference) {
    .cinema .c-hero-media img { animation: kenburns 28s ease-in-out infinite alternate; }
}
@keyframes kenburns { from { transform: scale(1.04) translate3d(0, 0, 0); } to { transform: scale(1.16) translate3d(-1.5%, -1.5%, 0); } }
.cinema .c-hero-shade {
    position: absolute; inset: 0; z-index: -2;
    background:
        radial-gradient(120% 90% at 78% 45%, rgba(11, 7, 9, 0) 0%, rgba(11, 7, 9, .55) 70%),
        linear-gradient(90deg, rgba(11, 7, 9, .92) 0%, rgba(11, 7, 9, .7) 38%, rgba(11, 7, 9, .25) 70%, rgba(11, 7, 9, .45) 100%),
        linear-gradient(180deg, rgba(11, 7, 9, .55) 0%, rgba(11, 7, 9, 0) 28%, rgba(11, 7, 9, 0) 62%, var(--bg) 100%);
}
/* Letterbox bars: open on load (js), stay as thin 2.39:1 hints. */
.cinema .bar { position: absolute; left: 0; right: 0; height: 2.25rem; background: #000; z-index: 2; pointer-events: none; }
.cinema .bar-top { top: 0; transform-origin: top; }
.cinema .bar-bottom { bottom: 0; transform-origin: bottom; }
@media (max-width: 47.99rem) { .cinema .bar { height: 1rem; } }

.cinema .c-hero-grid { display: grid; gap: clamp(2.5rem, 6vw, 4rem); align-items: center; }
@media (min-width: 60rem) { .cinema .c-hero-grid { grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); } }

.cinema .slate { display: flex; flex-wrap: wrap; gap: .4rem 1.1rem; margin: 0 0 1.6rem; color: rgba(255, 255, 255, .78); font-size: .7rem; font-weight: 700; letter-spacing: .24em; text-transform: uppercase; }
.cinema .slate span + span { padding-left: 1.1rem; border-left: 1px solid rgba(255, 255, 255, .35); }
.cinema .c-hero h1 { font-family: var(--serif); font-weight: 400; font-size: clamp(3.3rem, 9.4vw, 7.6rem); line-height: .94; letter-spacing: -.02em; color: #fff; text-wrap: balance; }
.cinema .c-hero h1 .line { display: block; overflow: hidden; padding-bottom: .08em; }
.cinema .c-hero h1 .line > span { display: inline-block; }
.cinema .c-hero h1 em { font-style: italic; color: var(--accent); }
.cinema .lede { color: rgba(255, 244, 240, .88); max-width: 33rem; margin-top: 1.6rem; }
.cinema .hero-actions { margin-top: 2.2rem; }
.cinema .hero-note { color: rgba(255, 244, 240, .66); font-size: .84rem; max-width: 30rem; }

.cinema .c-hero-phones { position: relative; width: min(100%, 25rem); margin-inline: auto; aspect-ratio: 1 / 1.22; perspective: 1400px; }
.cinema .c-hero-phones .phone { position: absolute; }
.cinema .phone-front { width: 62%; right: 4%; top: 0; z-index: 2; }
.cinema .phone-back { width: 54%; left: 0; top: 14%; filter: brightness(.6) saturate(.85); }
@media (max-width: 59.99rem) { .cinema .c-hero-phones { width: min(100%, 21rem); } }

.cinema .scroll-cue { position: absolute; left: 50%; bottom: 3.4rem; transform: translateX(-50%); display: none; flex-direction: column; align-items: center; gap: .6rem; color: rgba(255, 255, 255, .7); font-size: .62rem; font-weight: 700; letter-spacing: .3em; text-transform: uppercase; text-decoration: none; }
.cinema .scroll-cue:hover { color: #fff; }
.cinema .scroll-cue i { width: 1px; height: 2.6rem; background: linear-gradient(#fff, transparent); transform-origin: top; }
@media (min-width: 60rem) and (min-height: 46rem) { .cinema .scroll-cue { display: flex; } }
@media (prefers-reduced-motion: no-preference) { .cinema .scroll-cue i { animation: cue 2.2s var(--ease) infinite; } }
@keyframes cue { 0% { transform: scaleY(0); opacity: 1; } 60% { transform: scaleY(1); opacity: 1; } 100% { transform: scaleY(1); opacity: 0; } }

/* ---------- Premise ---------- */

.cinema .premise { padding-block: clamp(5rem, 14vw, 11rem); }
.cinema .premise-text { margin: 0 auto; max-width: 58rem; font-family: var(--serif); font-size: clamp(2rem, 5.4vw, 4.2rem); line-height: 1.08; letter-spacing: -.012em; color: var(--ink); text-wrap: balance; }
.cinema .premise-text .w { display: inline-block; }

/* ---------- Sections ---------- */

.cinema .section { padding-block: clamp(4rem, 9vw, 8rem); position: relative; }
.cinema .section-alt { background: var(--bg-2); border-block: 1px solid var(--panel-line); }
.cinema .section-head { max-width: 44rem; }
.cinema .section-head h2, .cinema .how h2, .cinema .download h2 { font-family: var(--serif); font-weight: 400; font-size: clamp(2.3rem, 5vw, 3.9rem); line-height: 1.02; letter-spacing: -.012em; }
.cinema .section-head p { color: var(--ink-soft); }

/* How it works: a rail that stays in view while five scenes scroll past. */
.cinema .how-grid { display: grid; gap: clamp(2.5rem, 6vw, 5rem); }
.cinema .how-progress { margin-top: 2rem; display: flex; align-items: center; gap: 1rem; color: var(--muted); font-size: .8rem; font-weight: 700; letter-spacing: .14em; font-variant-numeric: tabular-nums; }
.cinema .how-count b { color: #fff; font-family: var(--serif); font-weight: 400; font-size: 1.9rem; letter-spacing: 0; }
.cinema .how-track { flex: 1; max-width: 12rem; height: 1px; background: var(--panel-line); position: relative; }
.cinema .how-track i { position: absolute; inset: -1px 0; background: var(--accent); transform-origin: left; transform: scaleX(.2); }
@media (min-width: 60rem) {
    .cinema .how-grid { grid-template-columns: minmax(0, .8fr) minmax(0, 1.4fr); align-items: start; }
    .cinema .how-rail { position: sticky; top: 7.5rem; }
}
@media (max-width: 59.99rem) { .cinema .how-progress { display: none; } }

.cinema .scenes { list-style: none; margin: 0; padding: 0; display: grid; gap: clamp(4.5rem, 11vw, 9rem); }
.cinema .scene { position: static; max-width: none; margin: 0; padding: 0; width: auto; display: grid; gap: 2.4rem; }
.cinema .scene::before { content: none; }
.cinema .scene-visual { position: relative; padding: 0 0 3.5rem 0; margin-right: 12%; }
.cinema .scene:nth-child(even) .scene-visual { margin-right: 0; margin-left: 12%; }
.cinema .scene-photo { position: relative; overflow: hidden; border-radius: 1.4rem; aspect-ratio: 4 / 5; background: var(--bg-2); box-shadow: 0 50px 90px -40px rgba(0, 0, 0, .9); }
.cinema .scene-photo img { width: 100%; height: 116%; object-fit: cover; margin-top: -8%; }
.cinema .scene-photo::after { content: ''; position: absolute; inset: 0; border-radius: 1.4rem; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .08); background: linear-gradient(200deg, rgba(11, 7, 9, 0) 45%, rgba(11, 7, 9, .55)); pointer-events: none; }
.cinema .scene-phone { position: absolute; width: 38%; max-width: 13rem; right: -13%; bottom: 0; }
.cinema .scene:nth-child(even) .scene-phone { right: auto; left: -13%; }
.cinema .scene-copy { max-width: 34rem; }
.cinema .scene-num { display: block; font-family: var(--serif); font-size: clamp(3.2rem, 7vw, 5rem); line-height: .8; color: transparent; -webkit-text-stroke: 1px rgba(255, 111, 149, .75); margin-bottom: 1.1rem; }
.cinema .scene h3 { font-family: var(--serif); font-weight: 400; font-size: clamp(1.8rem, 3.4vw, 2.6rem); line-height: 1.05; }
.cinema .scene p { margin: .9rem 0 0; color: var(--ink-soft); font-size: 1.05rem; }

/* Full-bleed photograph between acts, cropped to a cinema ratio. */
.cinema .band { position: relative; height: clamp(22rem, 46vw, 42rem); overflow: hidden; display: grid; place-items: center; isolation: isolate; }
.cinema .band img { position: absolute; inset: -10% 0; width: 100%; height: 120%; object-fit: cover; z-index: -2; }
.cinema .band-shade { position: absolute; inset: 0; z-index: -1; background: radial-gradient(60% 55% at 50% 50%, rgba(11, 7, 9, .72), rgba(11, 7, 9, .15) 100%), linear-gradient(180deg, var(--bg) 0%, rgba(11, 7, 9, .25) 28%, rgba(11, 7, 9, .35) 70%, var(--bg) 100%); }
.cinema .band-line { margin: 0; padding-inline: 1.25rem; text-align: center; font-family: var(--serif); font-size: clamp(2.6rem, 8vw, 6.5rem); line-height: .95; color: #fff; text-shadow: 0 4px 40px rgba(0, 0, 0, .6); }
.cinema .band-line em { color: #ff9ab5; }

/* Safety */
.cinema .safety-layout { display: grid; gap: 2.5rem; align-items: center; }
@media (min-width: 60rem) { .cinema .safety-layout { grid-template-columns: minmax(0, 1fr) 16rem; gap: 3.5rem; } }
.cinema .safety-grid { grid-template-columns: repeat(auto-fit, minmax(min(100%, 16rem), 1fr)); }
.cinema .safety-item { background: var(--panel); border: 1px solid var(--panel-line); transition: border-color .4s ease, background-color .4s ease; }
.cinema .safety-item:hover { border-color: rgba(255, 111, 149, .5); background: rgba(255, 244, 240, .07); }
.cinema .safety-item svg { color: var(--accent); }
.cinema .safety-item p { color: var(--ink-soft); }
@media (min-width: 40rem) { .cinema .safety-item-wide { grid-column: 1 / -1; } }
.cinema .safety-phone { width: min(16rem, 62%); margin-inline: auto; }
.cinema .limits { background: transparent; border: 1px solid rgba(240, 185, 122, .45); color: var(--ink); margin-top: 2.5rem; }
.cinema .limits h3 { color: var(--gold); }
.cinema .limits p { margin: 1rem 0 0; }
.cinema .limits a { color: var(--accent); }

/* Privacy */
.cinema .split .section-head { margin-bottom: 0; }
.cinema .facts li { border-top-color: var(--panel-line); color: var(--ink-soft); padding-block: 1.15rem; }
.cinema .facts li:last-child { border-bottom-color: var(--panel-line); }
.cinema .facts svg { color: var(--gold); }
.cinema .facts strong { color: #fff; }

/* Questions */
.cinema .faq { display: grid; gap: 1rem; }
@media (min-width: 60rem) {
    .cinema .faq { grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: 4rem; align-items: start; }
    .cinema .faq .section-head { position: sticky; top: 7.5rem; margin-bottom: 0; }
}
.cinema .faq-list { border-top: 1px solid var(--panel-line); }
.cinema .faq details { border-bottom: 1px solid var(--panel-line); }
.cinema .faq summary { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; min-height: 4.25rem; padding: 1rem 0; color: #fff; font-family: var(--serif); font-size: clamp(1.3rem, 2.2vw, 1.65rem); line-height: 1.15; cursor: pointer; list-style: none; transition: color .3s ease; }
.cinema .faq summary::-webkit-details-marker { display: none; }
.cinema .faq summary:hover { color: var(--accent); }
.cinema .faq summary::after { content: '+'; flex: none; font-family: 'Manrope', sans-serif; font-weight: 300; font-size: 1.6rem; color: var(--gold); transition: transform .4s var(--ease); }
.cinema .faq details[open] summary::after { transform: rotate(45deg); }
.cinema .faq details p { margin: 0; padding: 0 2.5rem 1.5rem 0; color: var(--ink-soft); max-width: 40rem; }
.cinema .scenes-caption { color: var(--muted); font-size: .82rem; }

/* Download */
.cinema .finale { position: relative; isolation: isolate; overflow: hidden; padding-block: clamp(5rem, 13vw, 11rem); }
.cinema .finale-media { position: absolute; inset: -10% 0; z-index: -2; }
.cinema .finale-media img { width: 100%; height: 100%; object-fit: cover; }
.cinema .finale-shade { position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, var(--bg-2) 0%, rgba(11, 7, 9, .45) 30%, rgba(11, 7, 9, .55) 70%, var(--bg) 100%); }
.cinema .download { background: rgba(14, 9, 11, .62); border: 1px solid var(--panel-line); box-shadow: 0 40px 90px -30px #000; -webkit-backdrop-filter: blur(22px) saturate(1.3); backdrop-filter: blur(22px) saturate(1.3); border-radius: 1.75rem; padding: clamp(1.75rem, 5vw, 3.5rem); }
.cinema .download p { color: var(--ink-soft); }
.cinema .download small { color: var(--muted); }
.cinema .soon { border-color: rgba(255, 255, 255, .35); color: var(--ink); }
.cinema .stores li { border-top-color: var(--panel-line); color: #fff; }
.cinema .stores li:last-child { border-bottom-color: var(--panel-line); }
.cinema .stores span { color: var(--muted); }

/* Contact */
.cinema .contact { isolation: isolate; overflow: hidden; }
.cinema .contact-media { position: absolute; inset: 0; z-index: -1; opacity: .5; }
.cinema .contact-media img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 70%; -webkit-mask-image: linear-gradient(180deg, transparent, #000 45%, #000 80%, transparent); mask-image: linear-gradient(180deg, transparent, #000 45%, #000 80%, transparent); }
.cinema .contact-grid { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 15rem), 1fr)); font-style: normal; }
.cinema .contact-card { display: flex; flex-direction: column; gap: .5rem; min-height: 9rem; padding: 1.5rem; border-radius: 1.25rem; background: rgba(14, 9, 11, .6); border: 1px solid var(--panel-line); color: var(--ink); text-decoration: none; -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); transition: border-color .4s ease, background-color .4s ease; }
.cinema a.contact-card:hover { border-color: var(--accent); background: rgba(201, 33, 79, .16); color: #fff; }
.cinema .contact-label { color: var(--gold); font-size: .68rem; font-weight: 700; letter-spacing: .22em; text-transform: uppercase; }
.cinema .contact-value { margin-top: auto; font-family: var(--serif); font-size: clamp(1.4rem, 2.2vw, 1.75rem); line-height: 1.1; overflow-wrap: anywhere; }
.cinema .contact-sub { color: var(--ink-soft); font-size: .95rem; }
.cinema .contact-note { margin: 2rem 0 0; max-width: 44rem; color: var(--muted); font-size: .9rem; }

/* ---------- Motion start states (only when js/home-pre.js allowed motion) ---------- */

html.motion .cinema [data-reveal] { opacity: 0; transform: translate3d(0, 2.2rem, 0); }
html.motion .cinema [data-reveal='clip'] { opacity: 1; transform: none; clip-path: inset(0 0 100% 0 round 1.4rem); }
html.motion .cinema [data-reveal='rise'] { opacity: 0; transform: translate3d(0, 5rem, 0); }
html.motion .cinema [data-hero-fade] { opacity: 0; }
html.motion .cinema .c-hero h1 .line > span { transform: translate3d(0, 110%, 0); }
html.motion .cinema .c-hero-phones .phone { opacity: 0; }
html.motion .cinema .bar { transform: scaleY(7); }

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    .cinema .btn, .cinema .safety-item, .cinema .contact-card, .cinema .site-header { transition: none; }
}

@media print {
    .cinema .grain, .cinema .bar, .cinema .c-hero-media, .cinema .c-hero-shade, .cinema .band, .cinema .finale-media, .cinema .contact-media, .cinema .scroll-cue { display: none; }
    .cinema { background: #fff; color: #000; }
}
