/* S-FILM Home hero, versions A and B (preview). Loaded after sfilm.css on /hero-a/ and /hero-b/ only.
   Keeps the Spotlight look (full-screen still, poster beside a large serif title, gold facts, laurels)
   and adds the company line, two buttons and a stats strip on top of it.
   A: company line on top, the film at the bottom. B: company line left, the film right. */

.sf-hero { position: relative; isolation: isolate; min-height: 100vh; min-height: 100svh; display: flex; flex-direction: column; overflow: hidden; background: var(--sf-ink); }

/* Background: the film's still, or its poster softly blurred. Lighter than the old Spotlight so the image reads. */
.sf-hero__bgs { position: absolute; inset: -4%; z-index: -3; }
.sf-hero__bg { position: absolute; inset: 0; opacity: 0; transition: opacity 1s var(--sf-ease); }
.sf-hero__bg.is-active { opacity: 1; }
.sf-hero .sf-backdrop--poster img { filter: blur(10px) brightness(0.6) saturate(0.95); transform: scale(1.12); }
.sf-hero .sf-backdrop:not(.sf-backdrop--poster) img { filter: brightness(1.12) contrast(1.05) saturate(1); transform: scale(1.04); }
.sf-hero__bg.is-active .sf-backdrop:not(.sf-backdrop--poster) img { animation: sf-drift 22s ease-in-out infinite alternate; }
.sf-hero .sf-grain { z-index: -2; }
.sf-hero__shade { position: absolute; inset: 0; z-index: -1; pointer-events: none;
	background:
		linear-gradient(0deg, rgba(8, 7, 5, 0.72) 0, rgba(8, 7, 5, 0.16) 40%, transparent 66%),
		linear-gradient(90deg, rgba(8, 7, 5, 0.5) 0, rgba(8, 7, 5, 0.22) 45%, transparent 78%),
		linear-gradient(180deg, rgba(8, 7, 5, 0.4) 0, transparent 22%);
}

.sf-hero__inner { flex: 1; width: 100%; max-width: var(--sf-max); margin: 0 auto; padding: calc(var(--sf-header-h) + 36px) var(--sf-gutter) 40px; display: flex; flex-direction: column; }
.sf-hero__eyebrow { font-size: 12px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--sf-gold); font-weight: 500; }

/* Company line (main) */
.sf-hero__title { font-size: clamp(46px, 6.2vw, 92px); line-height: 0.95; text-shadow: 0 2px 28px rgba(0, 0, 0, 0.45); }
.sf-hero__title span { display: inline; }
.sf-hero__sub { margin-top: 22px; max-width: 40ch; font-size: clamp(17px, 1.4vw, 20px); line-height: 1.5; color: rgba(243, 239, 230, 0.92); text-shadow: 0 1px 16px rgba(0, 0, 0, 0.5); }
.sf-hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 30px; }
.sf-hero__actions .sf-btn { min-height: 54px; padding: 14px 30px; font-size: 15px; }
.sf-hero__actions .sf-btn--ghost { border-color: rgba(243, 239, 230, 0.55); background: rgba(8, 7, 5, 0.28); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.sf-hero__actions .sf-btn--ghost:hover { border-color: var(--sf-paper); background: rgba(8, 7, 5, 0.5); }

/* The featured film (secondary): the Spotlight look */
.sf-hero__films { display: grid; }
.sf-hero__film { grid-area: 1 / 1; display: flex; align-items: flex-end; gap: clamp(20px, 2.6vw, 40px); opacity: 0; visibility: hidden; transition: opacity 0.5s var(--sf-ease), visibility 0s linear 0.5s; }
.sf-hero__film.is-active { opacity: 1; visibility: visible; transition: opacity 0.8s var(--sf-ease) 0.15s, visibility 0s; }
.sf-hero__poster { flex: none; display: block; width: clamp(120px, 11.5vw, 176px); }
.sf-hero .sf-hero__poster .sf-poster { aspect-ratio: 2 / 3; box-shadow: 0 28px 60px rgba(0, 0, 0, 0.55); outline: 1px solid rgba(243, 239, 230, 0.18); outline-offset: -1px; }
.sf-hero__fcopy { min-width: 0; }
.sf-hero__ftitle { font-size: clamp(44px, 5.2vw, 80px); line-height: 0.92; margin-top: 8px; text-shadow: 0 2px 24px rgba(0, 0, 0, 0.45); }
.sf-hero__ftitle a { text-decoration: none; }
.sf-hero .sf-meta { margin-top: 12px; font-size: 15px; }
.sf-hero .sf-director { margin-top: 6px; font-size: 14px; }
.sf-hero .sf-laurels { margin: 16px 0 0; }
.sf-hero__view { margin-top: 18px; min-height: 42px; padding: 9px 20px; font-size: 13px; }
.sf-hero__dots { display: flex; gap: 8px; margin-top: 18px; }
.sf-hero__dots button { width: 28px; height: 24px; padding: 0; border: 0; background: transparent; cursor: pointer; position: relative; }
.sf-hero__dots button::after { content: ""; position: absolute; left: 0; right: 0; top: 11px; height: 2px; border-radius: 2px; background: rgba(243, 239, 230, 0.4); transition: background 0.3s; }
.sf-hero__dots button.is-active::after, .sf-hero__dots button:hover::after { background: var(--sf-gold); }
.sf-hero__dots button:focus-visible, .sf-hero__ftitle a:focus-visible { outline: 2px solid var(--sf-gold); outline-offset: 3px; }

/* Stats strip */
.sf-hero__bar { border-top: 1px solid rgba(243, 239, 230, 0.22); background: rgba(8, 7, 5, 0.46); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.sf-hero__stats { list-style: none; margin: 0 auto; padding: 20px var(--sf-gutter); max-width: var(--sf-max); display: flex; gap: clamp(32px, 6vw, 88px); }
.sf-hero__stats li { display: flex; align-items: baseline; gap: 12px; }
.sf-hero__stats strong { font-family: var(--sf-display); font-weight: 600; font-size: clamp(34px, 3.2vw, 46px); line-height: 1; color: var(--sf-paper); font-variant-numeric: lining-nums; }
.sf-hero__stats span { font-size: 12px; letter-spacing: 0.13em; text-transform: uppercase; color: var(--sf-muted); }

/* ---------- Version A: company line on top, film at the bottom ---------- */
.sf-hero--a .sf-hero__inner { justify-content: space-between; gap: 40px; }
.sf-hero--a .sf-hero__sub { max-width: 60ch; }

/* ---------- Version B: company line left, film right ---------- */
.sf-hero--b .sf-hero__inner { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); align-items: end; gap: clamp(32px, 5vw, 88px); }
.sf-hero--b .sf-hero__title { font-size: clamp(48px, 6.1vw, 92px); line-height: 0.94; }
.sf-hero--b .sf-hero__title span { display: block; }
.sf-hero--b .sf-hero__line2 { color: var(--sf-gold); }
.sf-hero--b .sf-hero__feature { justify-self: end; width: 100%; max-width: 540px; padding: clamp(20px, 2.2vw, 32px); border-radius: 18px; background: rgba(8, 7, 5, 0.42); border: 1px solid rgba(243, 239, 230, 0.14); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.sf-hero--b .sf-hero__ftitle { font-size: clamp(36px, 3.4vw, 52px); }
.sf-hero--b .sf-hero__poster { width: clamp(104px, 9vw, 136px); }
.sf-hero--b .sf-laurels { display: none; }
.sf-hero--b .sf-hero__film { align-items: flex-end; }

/* Preview switcher (not part of the site) */
.sf-vbar { position: fixed; left: 50%; bottom: 96px; transform: translateX(-50%); z-index: 60; display: flex; gap: 4px; align-items: center; padding: 5px; border-radius: 999px; background: rgba(8, 7, 5, 0.82); border: 1px solid var(--sf-line); font-size: 12px; -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.sf-vbar span { padding: 0 10px; color: var(--sf-faint); }
.sf-vbar a { padding: 7px 12px; border-radius: 999px; text-decoration: none; color: var(--sf-muted); }
.sf-vbar a[aria-current] { background: var(--sf-gold); color: var(--sf-gold-ink); }

@media (max-width: 1100px) {
	.sf-hero--b .sf-hero__inner { grid-template-columns: 1fr; align-content: end; }
	.sf-hero--b .sf-hero__feature { justify-self: start; max-width: 560px; order: 2; }
	.sf-hero--b .sf-hero__title span { display: inline; }
}

/* ---------- Phones: poster above the headline, buttons stacked ---------- */
@media (max-width: 760px) {
	.sf-hero__inner { padding-top: calc(var(--sf-header-h) + 18px); padding-bottom: 26px; display: flex; flex-direction: column; justify-content: flex-end; gap: 24px; }
	.sf-hero__feature, .sf-hero--b .sf-hero__feature { order: -1; }
	.sf-hero__film { align-items: flex-end; gap: 16px; }
	.sf-hero__poster, .sf-hero--b .sf-hero__poster { width: 96px; }
	.sf-hero__ftitle, .sf-hero--b .sf-hero__ftitle { font-size: 32px; }
	.sf-hero__fcopy .sf-meta { margin-top: 8px; font-size: 13px; }
	.sf-hero .sf-laurels, .sf-hero .sf-director, .sf-hero__view { display: none; }
	.sf-hero__dots { margin-top: 12px; }
	.sf-hero--b .sf-hero__feature { padding: 0; background: none; border: 0; -webkit-backdrop-filter: none; backdrop-filter: none; max-width: none; }
	.sf-hero__title, .sf-hero--b .sf-hero__title { font-size: clamp(44px, 12.6vw, 60px); }
	.sf-hero__title span, .sf-hero--b .sf-hero__title span { display: block; }
	.sf-hero__sub { margin-top: 16px; font-size: 17px; }
	.sf-hero__actions { flex-direction: column; gap: 12px; margin-top: 24px; }
	.sf-hero__actions .sf-btn { width: 100%; justify-content: center; }
	.sf-hero__stats { padding: 16px var(--sf-gutter); gap: 0; justify-content: space-between; }
	.sf-hero__stats li { flex-direction: column; align-items: flex-start; gap: 4px; }
	.sf-hero__stats strong { font-size: 32px; }
	.sf-hero__stats span { font-size: 10.5px; letter-spacing: 0.1em; }
	.sf-vbar { bottom: 12px; }
}
@media (prefers-reduced-motion: reduce) {
	.sf-hero__bg, .sf-hero__film { transition: none !important; }
}
