/* Layar Lebar (Tema Fase 3, 3 Dec 2026): a film on the big screen. Base layout from cine-seri.css; this file gives
 * the palette (black, bone, subtitle yellow), the type (Cormorant Garamond for display, Inter for reading), a cool
 * cinema grade, letterbox bars over the photos at 2.39:1 where the screen allows, and the pieces of a cinema: the
 * poster cover, opening titles, subtitles, the cast, scene slates, screenings, premiere tiles, costume chips,
 * widescreen stills, seats facing the screen and end credits that roll up into place. */
@font-face { font-family: "Cormorant Garamond"; src: url("/frontend/assets/fonts/cormorant-garamond-latin.woff2") format("woff2"); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: "Cormorant Garamond"; src: url("/frontend/assets/fonts/cormorant-garamond-italic-latin.woff2") format("woff2"); font-weight: 300 700; font-style: italic; font-display: swap; }
@font-face { font-family: "Inter"; src: url("/frontend/assets/fonts/inter-latin.woff2") format("woff2"); font-weight: 400 600; font-display: swap; }

:root {
    --c-night: #000000; --c-ink: #f2efe8; --c-muted: rgba(242, 239, 232, .78); --c-accent: #f5d76e; /* 14:1 on black */ --c-accent-ink: #000000;
    --c-line: rgba(245, 215, 110, .4); --c-glass: rgba(0, 0, 0, .7); --c-field: rgba(242, 239, 232, .07);
    --c-veil: rgba(0, 0, 0, .5); --c-shade-top: rgba(0, 0, 0, .78); --c-shade-foot: rgba(0, 0, 0, .92); --c-photo-foot: rgba(0, 0, 0, .95);
    --c-sub: #f5d76e; --c-sub-edge: 0 0 2px #000, 0 1px 3px #000, 0 0 12px rgba(0, 0, 0, .8);
    --f-display: "Cormorant Garamond", Garamond, Georgia, serif; --f-script: "Cormorant Garamond", Garamond, Georgia, serif; --f-body: "Inter", system-ui, sans-serif;
    --ct-shine: var(--c-accent);
    --bar: clamp(0px, calc((100svh - 100vw / 2.39) / 2), 14svh);
}
:root[data-scheme="light"] {
    --c-night: #f2efe8; --c-ink: #141414; --c-muted: #474540; --c-accent: #6b5410; /* 6.6:1 on bone */ --c-accent-ink: #fffdf6;
    --c-line: rgba(20, 20, 20, .28); --c-glass: rgba(246, 244, 238, .9); --c-field: rgba(255, 255, 255, .72);
    --c-veil: rgba(242, 239, 232, .76); --c-shade-top: rgba(242, 239, 232, .9); --c-shade-foot: rgba(242, 239, 232, .94); --c-photo-foot: rgba(242, 239, 232, .95);
    --c-sub: #141414; --c-sub-edge: none;
}
.cine-backdrop { background: #000; }
.cine-amp, .ll-amp { color: var(--c-accent); font-style: italic; }
.cine-title { font-weight: 500; }

/* A cool, contrasty picture (CSS only; the files are untouched). Portraits and the gallery keep their colours. */
.cine-slide, .cine-backdrop-video, .cine-section-photo img { filter: saturate(.8) contrast(1.12) brightness(.92) hue-rotate(-6deg); }

/* Letterbox: bars above and below the picture, as tall as a 2.39:1 frame needs, never more than 14 % of the screen. */
.cs-sign::before, .cs-sign::after { content: ""; position: absolute; left: 0; right: 0; height: var(--bar); background: var(--c-night); }
.cs-sign::before { top: 0; }
.cs-sign::after { bottom: 0; }

/* ---- The poster (cover) ------------------------------------------------------------------- */
.ll-opening { justify-content: space-between; padding: max(1.4rem, env(safe-area-inset-top)) 1.4rem max(1.1rem, env(safe-area-inset-bottom)); background: #000; }
.ll-opening .cine-opening-photo { filter: saturate(.85) contrast(1.1); }
.ll-opening .cine-opening-shade { background: linear-gradient(180deg, rgba(0, 0, 0, .7), transparent 22%, transparent 42%, rgba(0, 0, 0, .78) 66%, #000 92%); }
.ll-opening > .cs-sign::before, .ll-opening > .cs-sign::after { height: 0; background: #000; }
.ll-poster-top, .ll-poster-foot { position: relative; }
.ll-tagline { margin: 0; color: #f5d76e; font: 500 .8rem/1.4 var(--f-body); letter-spacing: .34em; text-transform: uppercase; }
.ll-poster-names { margin: 0; font: italic 500 clamp(3rem, 15vw, 4.6rem)/.92 var(--f-display); letter-spacing: .01em; text-wrap: balance; }
.ll-poster-names .ll-amp { font-size: .6em; }
.ll-release { margin: .6rem 0 0 !important; color: var(--c-muted); font: 500 .75rem/1.4 var(--f-body); letter-spacing: .3em; text-transform: uppercase; }
.ll-release span { color: var(--c-accent); }
.ll-opening .ll-release { color: rgba(242, 239, 232, .82); }
.ll-opening .ll-release span { color: #f5d76e; }
.ll-opening .cine-guest-label { margin-top: 1.1rem; }
.ll-opening .cine-guest-note { margin-bottom: 1rem; }
.ll-opening .cine-opening-cta { background: #f5d76e; color: #000; }
.ll-billing-block { max-width: 21rem; margin: 1.1rem auto 0; color: rgba(242, 239, 232, .7); font: 500 .75rem/1.25 var(--f-body); letter-spacing: .02em; text-transform: uppercase; transform: scaleY(1.35); transform-origin: top; }
.ll-billing-block span { font-size: .75rem; letter-spacing: .12em; opacity: .75; }
.ll-rating { display: inline-flex; align-items: center; gap: .6rem; margin: 1rem 0 0; padding: .3rem .6rem .3rem .3rem; border: 1px solid rgba(242, 239, 232, .5); color: rgba(242, 239, 232, .8); font: 500 .75rem/1.3 var(--f-body); text-align: left; }
.ll-rating-mark { display: grid; place-items: center; width: 1.7rem; height: 1.7rem; background: #f2efe8; color: #000; font: 700 1rem/1 var(--f-body); }
@media (prefers-reduced-motion: no-preference) {
    .ll-poster-top > *, .ll-poster-foot > * { animation: cine-in 1.1s var(--ease-film) both; }
    .ll-poster-foot > :nth-child(1) { animation-delay: .2s; } .ll-poster-foot > :nth-child(2) { animation-delay: .35s; }
    .ll-poster-foot > :nth-child(3) { animation-delay: .6s; } .ll-poster-foot > :nth-child(4) { animation-delay: .7s; }
    .ll-poster-foot > :nth-child(5) { animation-delay: .8s; } .ll-poster-foot > :nth-child(6) { animation-delay: .95s; }
    .ll-poster-foot > :nth-child(7), .ll-poster-foot > :nth-child(8) { animation-delay: 1.15s; }
    .ll-opening.is-closing > .cs-sign { opacity: 1; }
    .ll-opening.is-closing > .cs-sign::before, .ll-opening.is-closing > .cs-sign::after { animation: ll-bars-in .8s cubic-bezier(.6, 0, .3, 1) forwards; }
    .ll-opening.is-closing .ll-poster-top > *, .ll-opening.is-closing .ll-poster-foot > * { animation: cine-out .6s ease-in both; }
}
@keyframes ll-bars-in { to { height: 50vh; } }

/* ---- Opening titles ----------------------------------------------------------------------- */
.ll-titles { justify-content: center; align-items: center; text-align: center; }
.ll-titles-block { margin: auto; }
.ll-names { margin: .9rem 0 0; font: 500 clamp(3rem, 15vw, 4.4rem)/.95 var(--f-display); letter-spacing: .16em; text-transform: uppercase; }
.ll-names > span > span { display: block; }
.ll-names .ll-amp { margin: .15em 0; font-size: .55em; letter-spacing: 0; text-transform: none; }
.ll-titles .cine-cue { position: absolute; bottom: calc(var(--bar) + 1rem); left: 50%; transform: translateX(-50%); }

/* ---- Subtitles ---------------------------------------------------------------------------- */
.ll-subtitle-page { padding-bottom: calc(var(--bar) + 1.5rem); }
.ll-subtitles { max-width: 30rem; margin: 0 auto; text-align: center; }
.ll-small-title { margin: 0 0 1rem; color: var(--c-muted); font: 500 .75rem/1.4 var(--f-body); letter-spacing: .32em; text-transform: uppercase; }
.ll-line, .ll-line blockquote, .cine-lead { color: var(--c-sub); font: 500 1rem/1.6 var(--f-body); text-shadow: var(--c-sub-edge); }
.ll-line { margin: 0 auto; max-width: 34ch; }
.ll-line blockquote { margin: 0; font-size: 1.05rem; }
.ll-line figcaption { margin-top: .7rem; color: var(--c-muted); font-size: .8rem; letter-spacing: .16em; text-transform: uppercase; text-shadow: none; }
.ll-line-plain { margin-left: 0; }
.cine-block .cine-lead { max-width: 34ch; }

/* ---- The cast ----------------------------------------------------------------------------- */
.ll-cast-page { justify-content: center; gap: 1.4rem; }
.ll-cast { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.ll-cast-card { text-align: center; }
.ll-cast-photo { display: grid; place-items: center; aspect-ratio: 3 / 4; overflow: hidden; background: #1a1a1a; color: #f5d76e; font: italic 500 4rem/1 var(--f-display); box-shadow: 0 18px 30px -14px rgba(0, 0, 0, .8); }
.ll-cast-photo img { width: 100%; height: 100%; object-fit: cover; object-position: center 20%; }
.ll-cast-card h3 { margin: .8rem 0 0; font: 500 1.3rem/1.15 var(--f-display); letter-spacing: .02em; text-wrap: balance; }
.ll-as { margin: .2rem 0 0 !important; color: var(--c-accent); font: italic 500 1.05rem/1.2 var(--f-display); }
.ll-cast-note { margin-top: .45rem !important; color: var(--c-muted); font-size: .78rem; line-height: 1.5; }
.ll-cast-card .cine-socials { justify-content: center; }
.ll-cast-card .cine-socials a { padding: 0 .8rem; font-size: .78rem; }

/* ---- Scene slates ------------------------------------------------------------------------- */
.ll-synopsis { gap: 1.4rem; }
.ll-slates ol { gap: 1rem; }
.ll-slate { width: min(68vw, 16rem); padding: 0 0 .9rem; background: #111; color: #f2efe8; text-shadow: none; box-shadow: 0 18px 30px -14px rgba(0, 0, 0, .8); scroll-snap-align: start; }
.ll-slate:nth-child(even) { margin-top: 0; }
.ll-slate-sticks { height: 1.5rem; background: repeating-linear-gradient(-55deg, #f2efe8 0 .8rem, #111 .8rem 1.6rem); border-bottom: 2px solid #f2efe8; }
.ll-slate-board { display: grid; grid-template-columns: 4.2rem 1fr; margin: 0; border-bottom: 1px solid rgba(242, 239, 232, .3); }
.ll-slate-board div { padding: .45rem .8rem; }
.ll-slate-board div + div { border-left: 1px solid rgba(242, 239, 232, .3); }
.ll-slate-board dt { color: rgba(242, 239, 232, .7); font: 600 .75rem/1.2 var(--f-body); letter-spacing: .2em; text-transform: uppercase; }
.ll-slate-board dd { margin: .15rem 0 0; color: #f5d76e; font: 500 1rem/1.2 var(--f-body); }
.ll-slate h3 { margin: .7rem .8rem .5rem; font: italic 500 1.45rem/1.1 var(--f-display); }
.ll-slate img { display: block; width: 100%; aspect-ratio: 2.39 / 1; object-fit: cover; }
.ll-slate p { margin: .6rem .8rem 0; color: rgba(242, 239, 232, .8); font-size: .88rem; line-height: 1.65; }

/* ---- Screenings --------------------------------------------------------------------------- */
.ll-screenings { justify-content: center; gap: 1.6rem; }
.ll-screening { display: grid; grid-template-columns: 5.6rem 1fr; gap: 1rem; align-items: start; }
.ll-showtime { display: grid; justify-items: center; margin: 0; padding: .6rem .3rem; border: 1px solid var(--c-accent); border-radius: .5rem; color: var(--c-accent); text-align: center; }
.ll-showtime strong { font: 600 1.25rem/1.1 var(--f-body); font-variant-numeric: tabular-nums; }
.ll-showtime span { font: 600 .75rem/1.2 var(--f-body); letter-spacing: .2em; }
.ll-screening h3 { margin: 0; font: italic 500 1.7rem/1.05 var(--f-display); }
.ll-screening-date { margin: .3rem 0 0 !important; color: var(--c-accent); font-size: .88rem; }
.ll-screening address { margin: .4rem 0 .3rem; color: var(--c-muted); font-size: .88rem; font-style: normal; line-height: 1.55; }
.ll-screening address strong { display: block; color: var(--c-ink); font-weight: 600; }
.ll-screening .cine-button { margin-top: .4rem; }

/* ---- Premiere tiles, costume chips -------------------------------------------------------- */
.ll-tiles div { border: 0; border-radius: .5rem; background: #141414; color: #f5d76e; box-shadow: inset 0 -50% 0 rgba(255, 255, 255, .04), 0 10px 18px -10px rgba(0, 0, 0, .8); }
.ll-tiles span { font-family: var(--f-body); font-weight: 600; font-size: clamp(1.8rem, 9vw, 2.4rem); }
.ll-tiles small { color: rgba(242, 239, 232, .7); }
.ll-chips { display: flex; flex-wrap: wrap; justify-content: center; gap: .8rem; margin: .4rem 0 1.4rem; }
.ll-chip { width: 2.6rem; height: 3.8rem; border-radius: .3rem; background: var(--swatch); box-shadow: 0 0 0 1px rgba(242, 239, 232, .4), 0 10px 18px -8px rgba(0, 0, 0, .7); }

/* ---- Scenes (gallery) --------------------------------------------------------------------- */
.ll-scenes { justify-content: center; gap: 1.3rem; }
.ll-stills { display: grid; gap: .9rem; margin: 0; padding: 0; list-style: none; }
.ll-still { position: relative; display: block; width: 100%; aspect-ratio: 2.39 / 1; padding: 0; border: 0; overflow: hidden; background: #111; cursor: pointer; box-shadow: 0 14px 24px -12px rgba(0, 0, 0, .8); }
.ll-still img { width: 100%; height: 100%; object-fit: cover; }
.ll-still-no { display: block; margin-top: .3rem; color: var(--c-muted); font: 500 .75rem/1 var(--f-body); letter-spacing: .2em; text-transform: uppercase; }
.ll-all { align-self: center; }

/* ---- Seats -------------------------------------------------------------------------------- */
.ll-seats { margin-top: .2rem; }
.ll-seats[hidden] { display: none; }
.ll-seats legend { margin-bottom: .6rem; }
.ll-seat-row { display: flex; flex-wrap: wrap; justify-content: center; gap: .45rem; padding-top: 1.3rem; position: relative; }
.ll-seat-row::before { content: "Screen"; position: absolute; top: 0; left: 10%; right: 10%; padding-top: .2rem; border-top: 2px solid var(--c-accent); border-radius: 50% 50% 0 0 / 100% 100% 0 0;
    color: var(--c-muted); font: 600 .75rem/1 var(--f-body); letter-spacing: .3em; text-align: center; text-transform: uppercase; }
.ll-seat-row input { position: absolute; opacity: 0; pointer-events: none; }
.ll-seat-row label { display: grid; place-items: center; width: 2.75rem; height: 2.75rem; border: 1px solid var(--c-line); border-radius: .7rem .7rem .3rem .3rem; background: var(--c-accent); color: var(--c-accent-ink);
    font: 600 .85rem/1 var(--f-body); cursor: pointer; transition: background .2s ease, color .2s ease; }
.ll-seat-row input:checked + label ~ label { background: transparent; color: var(--c-ink); }
.ll-seat-row input:focus-visible + label { outline: 2px solid var(--c-accent); outline-offset: 3px; }

/* ---- End credits -------------------------------------------------------------------------- */
.ll-end { justify-content: space-between; }
.ll-credits { overflow: hidden; max-width: 26rem; margin: 0 auto; padding-block: 2.5rem; text-align: center; -webkit-mask: linear-gradient(transparent, #000 8%, #000 92%, transparent); mask: linear-gradient(transparent, #000 8%, #000 92%, transparent); }
.ll-roll { padding: 1.2rem 0; }
.ll-credit-small { color: var(--c-muted); font-size: .8rem; letter-spacing: .16em; }
.ll-credit-heading { margin: 0 0 1.4rem; font: 500 .8rem/1.6 var(--f-body); letter-spacing: .34em; text-transform: uppercase; }
.ll-billing { display: grid; gap: .7rem; margin: 0 0 1.6rem; }
.ll-billing div { display: grid; gap: .1rem; }
.ll-billing dt { color: var(--c-accent); font: 500 .75rem/1.3 var(--f-body); letter-spacing: .26em; text-transform: uppercase; }
.ll-billing dd { margin: 0; font: 500 1.2rem/1.3 var(--f-display); }
.ll-billing dd[lang="id"] { color: var(--c-muted); font: 400 .82rem/1.5 var(--f-body); }
.ll-end .cine-lead { margin-inline: auto; color: var(--c-muted); font-size: .92rem; text-shadow: none; }
.ll-end .cine-signoff { font: italic 500 1.1rem/1.4 var(--f-display); }
.ll-end-names { margin-top: .3rem !important; font: 500 clamp(2.2rem, 10vw, 3rem)/1.1 var(--f-display); letter-spacing: .1em; text-transform: uppercase; }
.has-reveal .cine .ll-credits[data-reveal] > * { filter: none; transform: none; }
@media (prefers-reduced-motion: no-preference) {
    .has-reveal .cine .ll-credits[data-reveal].is-revealed > .ll-roll { animation: ll-roll 7s cubic-bezier(.25, .6, .3, 1) both; }
}
@keyframes ll-roll { from { transform: translate3d(0, 70vh, 0); } }
