/* Cinematic dark shell (B4): top nav, Home, cards, media, how-to, my-suggestions. */

.fv-skip { position: absolute; left: -9999px; top: 0; background: var(--fv-accent); color: var(--fv-accent-ink); padding: 0.5rem 1rem; z-index: 100; }
.fv-skip:focus { left: 0; }

/* ---- top nav ---- */
/* top offset clears WordPress's fixed admin bar — see --fv-admin-h in fv-tokens.css */
.fv-topnav { position: sticky; top: var(--fv-admin-h, 0px); z-index: 40; background: rgba(9,11,16,0.92); backdrop-filter: blur(10px); border-bottom: 1px solid var(--fv-line); }
.fv-topnav-row { display: flex; align-items: center; gap: 1.75rem; min-height: 3.9rem; flex-wrap: wrap; }
.fv-wordmark { font-family: var(--fv-font-display); font-size: 1.18rem; letter-spacing: 0.02em; color: var(--fv-ink); white-space: nowrap; }
.fv-wordmark:hover { text-decoration: none; color: #fff; }
.fv-nav-links { display: flex; align-items: center; gap: 0.35rem; flex: 1; flex-wrap: wrap; }
/* 0.11.0 (bd futurevision-x1ke.30; Greg 2026-10-21 "clearly define the nav menu items at the top"):
   full-ink items at a readable size; the current page is blue with an underline. */
.fv-nav-link,
.fv-nav-account a { position: relative; font-family: var(--fv-font-ui); font-size: 0.97rem; font-weight: 500; color: var(--fv-ink); opacity: 0.84; padding: 0.5rem 0.6rem; }
.fv-nav-link:hover,
.fv-nav-account a:hover { opacity: 1; color: #fff; text-decoration: none; }
.fv-nav-link::after,
.fv-nav-account a::after {
	content: ""; position: absolute; left: 0.6rem; right: 0.6rem; bottom: 0.15rem; height: 2px;
	background: var(--fv-accent); transform: scaleX(0); transform-origin: left; transition: transform 0.18s ease;
}
.fv-nav-link:hover::after,
.fv-nav-account a:hover::after,
.fv-nav-link.is-current::after,
.fv-nav-account a[aria-current="page"]::after { transform: scaleX(1); }
.fv-nav-link.is-current,
.fv-nav-account a[aria-current="page"] { color: var(--fv-accent); opacity: 1; }
.fv-nav-link:focus-visible,
.fv-nav-account a:focus-visible { outline: 2px solid var(--fv-accent); outline-offset: 2px; opacity: 1; }
.fv-nav-link.is-ref { color: var(--fv-muted); font-style: italic; }
.fv-nav-account { display: flex; flex-wrap: wrap; gap: 0.35rem; align-items: center; margin-left: auto; }
.fv-logout { border-left: 1px solid var(--fv-line-2); padding-left: 1rem; }
.fv-logout::after { left: 1rem; }
.fv-menu-btn { display: none; }
@media (prefers-reduced-motion: reduce) { .fv-nav-link::after, .fv-nav-account a::after { transition: none; } }

/* ---- Home ---- */
.fv-home { padding-bottom: 5rem; }
.fv-hero { padding: 5rem 1.25rem 2rem; text-align: center; }
.fv-kicker { font-family: var(--fv-font-ui); text-transform: uppercase; letter-spacing: 0.22em; font-size: 0.7rem; color: var(--fv-accent); margin: 0 0 1.2rem; }
.fv-hero-title { font-family: var(--fv-font-display); font-weight: 600; font-size: clamp(2.2rem, 6vw, 4rem); line-height: 1.05; letter-spacing: 0.01em; margin: 0 auto; max-width: 16ch; }
.fv-logline { font-family: var(--fv-font-body); font-size: clamp(1.05rem, 2.2vw, 1.3rem); line-height: 1.6; color: var(--fv-ink-soft); max-width: 40rem; margin: 1.6rem auto 0; }
.fv-hero-cta { display: flex; gap: 0.75rem; justify-content: center; flex-wrap: wrap; margin-top: 2rem; }

.fv-about { max-width: 42rem; margin: 1rem auto 0; }
.fv-about p { font-family: var(--fv-font-body); font-size: 1.05rem; line-height: 1.7; color: var(--fv-ink-soft); text-align: center; }
.fv-about p + p { margin-top: 1.15rem; }

/* ---- Home: hero note + "Three ways in" (2026-09-04) ----
   The anonymous visitor's first steps. .fv-steps is reused from how-to.php, but its
   type comes from `.fv-view p, .fv-view li` and the Home page is .fv-home, not
   .fv-view — so the list needs its own type here or it falls back to the browser
   default and reads as unstyled. */
.fv-hero-note { font-family: var(--fv-font-ui); font-size: 0.85rem; line-height: 1.6; color: var(--fv-muted); max-width: 34rem; margin: 1.1rem auto 0; text-align: center; }
.fv-ways { max-width: 42rem; margin: 3.5rem auto 0; }
.fv-ways .fv-steps { margin: 1rem 0 0; }
.fv-ways .fv-steps li { font-family: var(--fv-font-ui); font-size: 0.95rem; line-height: 1.7; color: var(--fv-ink-soft); }
.fv-ways .fv-steps strong { color: var(--fv-ink); }
.fv-ways .fv-steps a { color: var(--fv-accent); display: inline-block; margin-top: 0.45rem; }

.fv-media-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(18rem, 1fr)); gap: 1.5rem; margin-top: 3rem; }
/* The series playlist row (Greg 2026-07-18): one full-width slot under the preview row. */
.fv-media-row--series { grid-template-columns: 1fr; margin-top: 1.5rem; }
.fv-media { margin: 0; }
.fv-media-frame { position: relative; aspect-ratio: 16/9; border-radius: var(--fv-radius); overflow: hidden; border: 1px solid var(--fv-line-2); background: var(--fv-surface); }
.fv-media-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.fv-media-placeholder { display: grid; place-items: center; background: linear-gradient(135deg, var(--fv-surface), var(--fv-bg-2)); }
.fv-media-badge { font-family: var(--fv-font-ui); font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.18em; color: var(--fv-muted); border: 1px solid var(--fv-line-2); padding: 0.35rem 0.7rem; border-radius: 999px; }
/* 0.9.4: the Home read-through card plays from this site — a still that leads to the Listen page. */
.fv-media-listen { display: block; }
.fv-media-listen img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.fv-media-listen .fv-media-badge { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); font-size: 0.85rem; color: var(--fv-ink); background: rgba(9, 11, 16, 0.78); border-color: var(--fv-line-2); padding: 0.6rem 1.3rem; }
.fv-media-listen:hover .fv-media-badge, .fv-media-listen:focus-visible .fv-media-badge { color: var(--fv-accent); border-color: var(--fv-accent); }
/* 0.10.0: the trailer and the series from this site, in Plyr (assets/fv-video.js). The frame keeps its 16:9
   box; the player fills it. Plyr's accent follows ours. */
.fv-media-frame--video { --plyr-color-main: var(--fv-accent); background: #000; }
.fv-media-frame--video > video, .fv-media-frame--video > .plyr { position: absolute; inset: 0; width: 100%; height: 100%; }
.fv-media-frame--video .plyr__video-wrapper { height: 100%; }
.fv-episode-link[aria-current="true"] { color: var(--fv-accent); border-bottom-color: var(--fv-accent); }
/* 0.10.0: a speed setting for the read-through and listen-room audio (the email asks people to try 2x). */
.fv-speed { display: inline-flex; align-items: center; gap: 0.5rem; font: 600 0.82rem var(--fv-font-ui); color: var(--fv-muted); }
.fv-speed[hidden] { display: none; } /* author display beats the UA [hidden] rule; without JS it must stay hidden */
.fv-speed [role="group"] { display: inline-flex; border: 1px solid var(--fv-line-2); border-radius: 6px; overflow: hidden; }
.fv-speed button { font: 600 0.85rem var(--fv-font-ui); color: var(--fv-ink); background: var(--fv-surface); border: 0; padding: 0.45rem 0.75rem; min-height: 40px; cursor: pointer; }
.fv-speed button[aria-pressed="true"] { background: var(--fv-accent); color: #0b0d12; }
.fv-media figcaption { font-family: var(--fv-font-ui); font-size: 0.9rem; margin-top: 0.6rem; color: var(--fv-ink); }
.fv-media figcaption span { display: block; color: var(--fv-muted); font-size: 0.82rem; }

/* ---- episodes (14-04, public) ---- */
.fv-episodes { margin-top: 4rem; }
/* Episodes as text (2026-08-21): one playlist player above, then a link + opening
   line per episode. Replaces the per-episode iframe grid, which grew a row every
   time we published. Existing tokens only — no new colours. */
.fv-episode-list { list-style: none; margin: 2rem 0 0; padding: 0; border-top: 1px solid var(--fv-line); }
.fv-episode { padding: 1.1rem 0; border-bottom: 1px solid var(--fv-line); }
.fv-episode-head { display: flex; flex-wrap: wrap; align-items: baseline; gap: 0.55rem; margin: 0; }
.fv-episode-num { font-family: var(--fv-font-ui); font-size: 0.7rem; text-transform: uppercase; letter-spacing: 0.16em; color: var(--fv-muted); border: 1px solid var(--fv-line-2); border-radius: 999px; padding: 0.2rem 0.55rem; flex: none; }
.fv-episode-link { font-family: var(--fv-font-display); font-size: 1.08rem; color: var(--fv-ink); text-decoration: none; border-bottom: 1px solid transparent; }
.fv-episode-link:hover { color: var(--fv-accent); border-bottom-color: var(--fv-accent); text-decoration: none; }
.fv-episode-date { font-family: var(--fv-font-ui); font-size: 0.78rem; color: var(--fv-muted); margin-left: auto; flex: none; }
.fv-episode-blurb { margin: 0.4rem 0 0; color: var(--fv-muted); font-size: 0.92rem; line-height: 1.55; max-width: 62ch; }
@media (max-width: 40rem) {
	.fv-episode-date { margin-left: 0; width: 100%; }
}

/* ---- section + cards ---- */
.fv-docs { margin-top: 4rem; }
.fv-section-h { font-family: var(--fv-font-display); font-size: 1.6rem; margin: 0; }
.fv-section-sub { color: var(--fv-muted); margin: 0.4rem 0 1.5rem; font-size: 0.95rem; }
.fv-card-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(15rem, 1fr)); gap: 1rem; }
.fv-card { display: flex; flex-direction: column; gap: 0.4rem; padding: 1.1rem 1.15rem; background: var(--fv-surface); border: 1px solid var(--fv-line); border-radius: var(--fv-radius); transition: border-color 0.15s, transform 0.15s; }
.fv-card:hover { border-color: var(--fv-accent); transform: translateY(-2px); text-decoration: none; }
.fv-card-kind { font-size: 0.68rem; text-transform: uppercase; letter-spacing: 0.16em; color: var(--fv-accent); }
.fv-card-ref .fv-card-kind { color: var(--fv-muted); }
.fv-card-title { font-family: var(--fv-font-display); font-size: 1.25rem; color: var(--fv-ink); }
.fv-card-blurb { font-size: 0.88rem; color: var(--fv-ink-soft); line-height: 1.5; }
.fv-docs-foot { margin-top: 1.5rem; color: var(--fv-muted); font-size: 0.9rem; }

/* ---- generic content view (how-to, my-suggestions, set-password) ---- */
.fv-view { max-width: 46rem; margin: 0 auto; padding: 3rem 1.25rem 5rem; }
.fv-view h1 { font-family: var(--fv-font-display); font-size: 2rem; margin: 0 0 0.5rem; }
.fv-view p, .fv-view li { font-family: var(--fv-font-ui); color: var(--fv-ink-soft); line-height: 1.7; }
.fv-steps { list-style: none; counter-reset: s; padding: 0; margin: 1.5rem 0; }
.fv-steps li { counter-increment: s; position: relative; padding: 0.9rem 0 0.9rem 3rem; border-top: 1px solid var(--fv-line); }
.fv-steps li::before { content: counter(s); position: absolute; left: 0; top: 0.9rem; width: 2rem; height: 2rem; display: grid; place-items: center; background: var(--fv-surface); border: 1px solid var(--fv-line-2); border-radius: 999px; color: var(--fv-accent); font-weight: 700; }
.fv-glyph { color: var(--fv-accent); font-weight: 700; }

/* ---- my-suggestions ---- */
.fv-sugg-list { list-style: none; padding: 0; margin: 1.5rem 0; }
.fv-sugg-item { padding: 1rem; border: 1px solid var(--fv-line); border-radius: var(--fv-radius); margin-bottom: 0.8rem; background: var(--fv-surface); }
.fv-sugg-meta { display: flex; gap: 0.6rem; align-items: center; flex-wrap: wrap; font-size: 0.8rem; color: var(--fv-muted); margin-bottom: 0.5rem; }
.fv-chip { font-size: 0.72rem; padding: 0.12rem 0.5rem; border-radius: 999px; border: 1px solid var(--fv-line-2); color: var(--fv-ink-soft); text-transform: capitalize; }
.fv-chip-aspect { border-color: var(--fv-accent); color: var(--fv-accent); }
.fv-chip-stale { border-color: var(--fv-dawn); color: var(--fv-dawn); }
.fv-sugg-text { font-family: var(--fv-font-body); color: var(--fv-ink); line-height: 1.6; margin: 0; }
.fv-empty { color: var(--fv-muted); text-align: center; padding: 3rem 0; }

/* ---- set-password ---- */
.fv-form { margin-top: 1.5rem; }
.fv-form label { display: block; font-size: 0.9rem; color: var(--fv-ink); margin: 1rem 0 0.4rem; }
.fv-form input[type=password] { width: 100%; padding: 0.65rem 0.8rem; background: var(--fv-bg-2); border: 1px solid var(--fv-line-2); border-radius: 8px; color: var(--fv-ink); font-size: 1rem; }
.fv-form .fv-btn { margin-top: 1.5rem; }
.fv-notice { padding: 0.8rem 1rem; border-radius: 8px; border: 1px solid var(--fv-dawn); color: var(--fv-dawn); background: rgba(231,178,74,0.08); margin-bottom: 1rem; }

@media (max-width: 760px) {
	.fv-media-row { grid-template-columns: 1fr; }
	.fv-nav-links { order: 3; width: 100%; }
}

/* Two-tier nav (B6 polish; 0.11.0): logged in, row 2 holds what you read — the acts
   under a row label, then the reference docs. */
.fv-subnav-row { display: flex; flex-wrap: wrap; align-items: center; column-gap: 2.25rem; border-top: 1px solid var(--fv-line); }
.fv-subnav-row .fv-nav-links { flex: 0 0 auto; order: 0; width: auto; gap: 0.25rem; }
.fv-subnav { display: flex; align-items: center; gap: 0.25rem; flex-wrap: wrap; min-height: 2.5rem; }
.fv-subnav-kicker {
	font-family: var(--fv-font-ui); font-size: 0.72rem; font-weight: 600;
	letter-spacing: 0.14em; text-transform: uppercase; color: var(--fv-ink-soft);
	margin-right: 0.5rem;
}
.fv-subnav-row .fv-nav-link { font-size: 0.9rem; color: var(--fv-ink-soft); opacity: 1; padding: 0.4rem 0.55rem; }
.fv-subnav-row .fv-nav-link:hover { color: var(--fv-ink); }
.fv-subnav-row .fv-nav-link.is-current { color: var(--fv-accent); }

/* 0.11.0: phones. Logged in, the whole menu sits behind one Menu button (the inline script in
   fv_render_top_nav adds .has-menu; with no script the menu stays open). Logged out, the three
   links keep their own row. Text lines up with the wordmark. */
@media (max-width: 760px) {
	.fv-topnav-row .fv-nav-account { order: 4; width: 100%; gap: 0 0.1rem; margin-left: -0.6rem; }
	.fv-topnav-row .fv-nav-links { margin-left: -0.6rem; }
	.fv-nav-link, .fv-nav-account a { font-size: 0.92rem; padding: 0.45rem 0.6rem; }
	.fv-nav-account a.fv-logout { border-left: 0; padding-left: 0.6rem; }
	.fv-nav-account a.fv-logout::after { left: 0.6rem; }
	.fv-topnav.has-menu .fv-menu-btn {
		display: inline-flex; order: 2; margin-left: auto; align-items: center; cursor: pointer;
		font: 600 0.95rem var(--fv-font-ui); color: var(--fv-ink);
		background: var(--fv-surface); border: 1px solid var(--fv-line-2); border-radius: 8px; padding: 0.5rem 0.9rem;
	}
	.fv-topnav.has-menu .fv-menu-btn:focus-visible { outline: 2px solid var(--fv-accent); outline-offset: 2px; }
	.fv-topnav.has-menu .fv-nav-account,
	.fv-topnav.has-menu .fv-subnav-row { display: none; }
	.fv-topnav.has-menu.is-open .fv-nav-account,
	.fv-topnav.has-menu.is-open .fv-subnav-row { display: flex; }
	.fv-topnav.has-menu.is-open { max-height: 100svh; overflow-y: auto; }
	.fv-topnav-row .fv-nav-account { padding-bottom: 0.5rem; }
	.fv-subnav-row { flex-direction: column; align-items: flex-start; padding-bottom: 0.75rem; }
}

/* Group labels in the primary nav (0.8.0, WP-4): a registry entry may carry a
   `group`; a small kicker opens each run of entries that share one. Same type as
   .fv-subnav-kicker, tokens only. The film registry has no groups, so this never
   renders on the film site. */
.fv-nav-group {
	font-family: var(--fv-font-ui); font-size: 0.68rem; font-weight: 600;
	letter-spacing: 0.14em; text-transform: uppercase; color: var(--fv-muted);
	align-self: center; white-space: nowrap; margin: 0 0.35rem 0 0.75rem;
}
.fv-nav-group:first-child { margin-left: 0; }

/* ── Acknowledgements (2026-08-20) ───────────────────────────────────────────
   Public, indexable credit page. Uses the existing token palette only — no new
   colours — so it reads as part of the site rather than a bolted-on page.      */
.fv-credits-lede { font-family: var(--fv-font-body); font-size: 1.15rem; line-height: 1.65;
	color: var(--fv-ink); max-width: 40rem; }
.fv-credit { margin-top: 2.75rem; }
.fv-credit h2 { margin-bottom: 0.75rem; }
.fv-credit p { max-width: 42rem; }

.fv-credit-links { list-style: none; padding: 0; margin: 1.75rem 0 0;
	display: grid; grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr)); gap: 0.75rem; }
.fv-credit-links a { display: flex; flex-direction: column; gap: 0.15rem;
	padding: 0.85rem 1rem; border: 1px solid var(--fv-line-2); border-radius: var(--fv-radius);
	background: var(--fv-surface); color: var(--fv-ink); }
.fv-credit-links a:hover { background: var(--fv-surface-2); text-decoration: none;
	border-color: var(--fv-accent); }
.fv-credit-where { font-weight: 600; }
.fv-credit-what { font-size: 0.9rem; color: var(--fv-ink-soft); }

.fv-credits-foot { margin-top: 3rem; }

/* Site foot — the permanent route to the credit page, on every view. */
.fv-sitefoot { margin-top: 4rem; border-top: 1px solid var(--fv-line); padding: 1.25rem 0 2rem; }
.fv-sitefoot-row { display: flex; justify-content: space-between; align-items: center;
	gap: 1rem; flex-wrap: wrap; font-size: 0.9rem; color: var(--fv-ink-soft); }

/* Home: listen CTA under the media row, and the thanks block above the foot. */
.fv-rt-cta { margin-top: 1rem; }
.fv-thanks { margin-top: 3.5rem; }
.fv-thanks .fv-section-sub { max-width: 44rem; }

/* ── Home hero over the trailer stills; Making of (0.11.0, bd futurevision-x1ke.30) ──────────
   Greg 2026-10-21: "a little stark ... some sort of hero pic(s)". The stills crossfade
   (assets/fv-home.js); a darkening toward the bottom and the left keeps the title legible. */
.fv-hero-stage {
	position: relative; isolation: isolate; overflow: hidden;
	min-height: min(84vh, 54rem); display: flex; align-items: flex-end;
	border-bottom: 1px solid var(--fv-line);
}
.fv-hero-slide {
	position: absolute; inset: 0; z-index: -2;
	background-size: cover; background-position: center;
	opacity: 0; transform: scale(1.06);
	transition: opacity 1.8s ease, transform 0s linear 1.8s;
}
.fv-hero-slide.is-on { opacity: 1; transform: scale(1); transition: opacity 1.8s ease, transform 9s ease-out; }
.fv-hero-stage::before {
	content: ""; position: absolute; inset: 0; z-index: -1;
	background:
		linear-gradient(180deg, rgba(9,11,16,0.30) 0%, rgba(9,11,16,0.20) 30%, rgba(9,11,16,0.78) 68%, var(--fv-bg) 100%),
		linear-gradient(90deg, rgba(9,11,16,0.72) 0%, rgba(9,11,16,0.25) 55%, rgba(9,11,16,0) 80%);
}
.fv-hero-stage .fv-hero { width: 100%; max-width: var(--fv-maxw); margin: 0 auto; padding: 7rem 1.25rem 3.25rem; text-align: left; }
.fv-hero-stage .fv-kicker { color: #b3cdff; text-shadow: 0 1px 12px rgba(0,0,0,0.8); }
.fv-hero-stage .fv-hero-title {
	margin: 0; max-width: 13ch; font-size: clamp(2.6rem, 7.2vw, 5.4rem); line-height: 1.0;
	color: #fff; text-shadow: 0 2px 40px rgba(0,0,0,0.55);
}
.fv-hero-stage .fv-logline { margin: 1.4rem 0 0; max-width: 36rem; text-align: left; color: var(--fv-ink); text-shadow: 0 1px 16px rgba(0,0,0,0.8); }
.fv-hero-stage .fv-hero-cta { justify-content: flex-start; margin-top: 1.8rem; }
.fv-hero-stage .fv-hero-note { margin: 1rem 0 0; text-align: left; color: var(--fv-ink-soft); }
.fv-hero-credit { position: absolute; right: 1.25rem; bottom: 1rem; font-family: var(--fv-font-ui); font-size: 0.75rem; color: var(--fv-ink-soft); opacity: 0.75; }
.fv-hero-credit:hover { opacity: 1; color: var(--fv-ink); }
@media (prefers-reduced-motion: reduce) {
	.fv-hero-slide, .fv-hero-slide.is-on { transition: none; transform: none; }
}
@media (max-width: 640px) {
	.fv-hero-stage { min-height: 82svh; }
	.fv-hero-stage .fv-hero { padding: 5rem 1rem 3.25rem; }
	.fv-hero-slide { background-position: 60% center; }
	.fv-hero-credit { right: 1rem; bottom: 0.75rem; }
}
/* With the scene-build panel moved to Making of, the trailer and the read-through sit side by side. */
.fv-home > .fv-media-row { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 60rem; }
@media (max-width: 760px) { .fv-home > .fv-media-row { grid-template-columns: 1fr; } }

.fv-making-head { padding: 4rem 1.25rem 0.5rem; }
.fv-making-title { font-family: var(--fv-font-display); font-weight: 600; font-size: clamp(2rem, 5vw, 3.2rem); line-height: 1.05; margin: 0; }
.fv-making .fv-episodes { margin-top: 1.5rem; }
.fv-making-direction { margin-top: 3rem; }
.fv-making-direction .fv-media { max-width: 44rem; }
.fv-making-direction .fv-media-frame { aspect-ratio: auto; }
