/*
Theme Name: SBAE
Theme URI: https://sbae.nl
Author: SBAE
Description: Custom theme for SBAE. Light shell, dark project pages, tally-dot identity. Projects, rental categories, contact and rental request forms, YouTube playlist block, Polylang-ready (EN/NL). No page builder required.
Version: 1.0.8
Requires at least: 6.4
Tested up to: 6.8
Requires PHP: 8.0
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: sbae
*/

/* ------------------------------------------------------------------ Tokens */
:root {
	--paper: #F4F4F1;
	--panel: #EAEAE5;
	--ink: #0D0D0D;
	--night: #0B0B0C;
	--tally: #FF4A1F;
	--graphite: #2A2A2A;
	--soft-light: #1E1E1E;
	--rule-light: #CFCFCA;
	--soft-dark: #E6E6E2;
	--rule-dark: #3A3A3A;
	--placeholder: #1A1A1B;

	--bg: var(--paper);
	--fg: var(--ink);
	--soft: var(--soft-light);
	--rule: var(--rule-light);
	--strong-rule: var(--ink);

	--sans: 'Geist', system-ui, -apple-system, 'Segoe UI', sans-serif;
	--mono: 'Geist Mono', ui-monospace, 'SFMono-Regular', Menlo, monospace;

	--gutter: clamp(20px, 4.5vw, 64px);
	--max: 1440px;
	--radius: 6px;
	--space-section: clamp(56px, 7vw, 104px);
}

.on-dark,
body.is-dark {
	--bg: var(--night);
	--fg: var(--paper);
	--soft: var(--soft-dark);
	--rule: var(--rule-dark);
	--strong-rule: var(--paper);
	background: var(--bg);
	color: var(--fg);
}

/* ------------------------------------------------------------------ Base */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
	margin: 0;
	background: var(--bg);
	color: var(--fg);
	font-family: var(--sans);
	font-size: 17px;
	line-height: 1.5;
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
}
img, svg, video, iframe { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-underline-offset: 0.18em; text-decoration-thickness: 1px; }
a:hover { text-decoration-thickness: 2px; }
h1, h2, h3, h4, p, ul, ol, dl, dd, figure { margin: 0; }
button, input, textarea, select { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--fg); outline-offset: 3px; border-radius: 2px; }
::selection { background: var(--tally); color: var(--ink); }

.wrap { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--gutter); }
.screen-reader-text, .hp {
	position: absolute !important; width: 1px; height: 1px; overflow: hidden;
	clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap;
}
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--tally); color: var(--ink); padding: 10px 16px; border-radius: 999px; text-decoration: none; font-weight: 500; }
.skip:focus { top: 12px; }

/* ------------------------------------------------------------------ Type */
.mono { font-family: var(--mono); font-size: 13px; letter-spacing: 0.02em; }
.label {
	font-family: var(--mono); font-size: 13px; font-weight: 400; letter-spacing: 0.08em;
	text-transform: uppercase; display: inline-flex; align-items: center; gap: 10px;
}
.label--link { text-decoration: none; font-weight: 500; }
.label--link:hover { text-decoration: underline; }
.display-hero { font-size: clamp(52px, 7vw, 108px); line-height: 0.95; letter-spacing: -0.04em; font-weight: 500; }
.display-xl { font-size: clamp(44px, 6.2vw, 92px); line-height: 0.98; letter-spacing: -0.035em; font-weight: 500; max-width: 1200px; text-wrap: balance; }
.display-l { font-size: clamp(40px, 5.4vw, 80px); line-height: 0.98; letter-spacing: -0.035em; font-weight: 500; text-wrap: balance; }
.display-m { font-size: clamp(34px, 4vw, 56px); line-height: 1.02; letter-spacing: -0.03em; font-weight: 500; text-wrap: balance; }
.lead { font-size: clamp(18px, 1.6vw, 22px); line-height: 1.45; max-width: 720px; color: var(--soft); }
.lead p + p { margin-top: 0.8em; }
.lead--xl { font-size: clamp(22px, 2vw, 28px); line-height: 1.4; letter-spacing: -0.01em; color: var(--fg); max-width: none; }
.body-l { font-size: 18px; line-height: 1.5; color: var(--soft); max-width: 560px; }
.soft { color: var(--soft); }
.text-link { font-weight: 500; }

/* ------------------------------------------------------------------ Dot + logo */
.dot { display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: var(--tally); flex-shrink: 0; }
.dot--md { width: 9px; height: 9px; }
.logo { display: inline-flex; align-items: flex-start; gap: 4px; text-decoration: none; color: var(--fg); }
.logo__word { font-weight: 600; font-size: 30px; letter-spacing: -0.03em; line-height: 1; }
.logo__dot { width: 9px; height: 9px; border-radius: 50%; background: var(--tally); margin-top: 1px; }
.logo--sm .logo__word { font-size: 24px; }
.logo--sm .logo__dot { width: 7px; height: 7px; }

/* ------------------------------------------------------------------ Buttons */
.btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 8px;
	min-height: 46px; padding: 12px 24px; border-radius: 999px; border: 1px solid transparent;
	font-size: 16px; font-weight: 500; line-height: 1.2; text-decoration: none; cursor: pointer;
	transition: transform .15s ease, background-color .15s ease;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn--tally { background: var(--tally); color: var(--ink); }
.btn--ink { background: var(--ink); color: var(--paper); }
.btn--paper { background: var(--paper); color: var(--ink); }
.btn--line { border-color: var(--fg); color: var(--fg); background: transparent; }
.btn--lg { min-height: 54px; padding: 15px 30px; font-size: 17px; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

/* ------------------------------------------------------------------ Header */
.site-header { border-bottom: 1px solid var(--rule); background: var(--bg); position: relative; z-index: 20; }
.site-header__inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding-block: 22px; }
.site-nav { display: flex; align-items: center; gap: clamp(18px, 3vw, 40px); font-size: 16px; font-weight: 500; }
.site-nav__list { display: flex; gap: clamp(18px, 3vw, 40px); list-style: none; margin: 0; padding: 0; }
.site-nav__list a { text-decoration: none; padding: 6px 0; border-bottom: 2px solid transparent; }
.site-nav__list a:hover { border-bottom-color: var(--fg); }
.site-nav__list .current-menu-item > a,
.site-nav__list .current_page_item > a,
.site-nav__list a[aria-current] { border-bottom-color: var(--tally); }
.lang { color: var(--soft); }
.lang a { text-decoration: none; }
.lang a:hover { text-decoration: underline; }
.lang__current { color: var(--fg); font-weight: 500; }
.menu-toggle { display: none; }

@media (max-width: 899px) {
	.menu-toggle {
		display: inline-flex; align-items: center; gap: 10px; min-height: 44px; padding: 8px 14px;
		background: transparent; border: 1px solid var(--fg); border-radius: 999px; cursor: pointer; font-weight: 500;
	}
	.menu-toggle__bars, .menu-toggle__bars::before { display: block; width: 16px; height: 2px; background: currentColor; position: relative; }
	.menu-toggle__bars::before { content: ''; position: absolute; top: 5px; }
	.menu-toggle__bars { top: -2px; }
	.site-nav {
		display: none; position: absolute; left: 0; right: 0; top: 100%;
		flex-direction: column; align-items: flex-start; gap: 24px;
		background: var(--bg); border-bottom: 1px solid var(--rule); padding: 24px var(--gutter) 32px;
	}
	.site-nav.is-open { display: flex; }
	.site-nav__list { flex-direction: column; gap: 14px; font-size: 26px; letter-spacing: -0.02em; }
}

/* ------------------------------------------------------------------ Sections */
.section { padding-block: var(--space-section); }
.section--flush-top { padding-top: 0; }
.section--tight-bottom { padding-bottom: clamp(40px, 5vw, 72px); }
.section--page-top { padding-top: clamp(48px, 6vw, 88px); padding-bottom: 40px; }
.band--panel { background: var(--panel); }
.section-head {
	display: flex; justify-content: space-between; align-items: baseline; gap: 16px; flex-wrap: wrap;
	border-top: 1px solid var(--strong-rule); padding-top: 12px; margin-bottom: 28px;
}
.stack-l > * + * { margin-top: 32px; }
.stack-xl > * + * { margin-top: clamp(40px, 5vw, 72px); }
.split-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px 48px; flex-wrap: wrap; margin-bottom: 40px; }
.split-head .display-m { max-width: 760px; }
.split-head--page { margin-bottom: 32px; }
.intro { display: flex; flex-direction: column; gap: 32px; }
.intro__row { display: flex; justify-content: space-between; align-items: flex-end; gap: 32px; flex-wrap: wrap; }
.ratio-16x9 { aspect-ratio: 16 / 9; }
.ratio-3x2 { aspect-ratio: 3 / 2; }
.ratio-16x9 img, .ratio-3x2 img { width: 100%; height: 100%; object-fit: cover; }

/* ------------------------------------------------------------------ Reel */
.reel { position: relative; height: clamp(440px, 58vw, 820px); overflow: hidden; background: var(--night); }
.reel__slide { position: absolute; inset: 0; opacity: 0; transition: opacity 1.2s ease; }
.reel__slide.is-active { opacity: 1; }
.reel__slide img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.04); transition: transform 7s linear; }
.reel__slide.is-active img { transform: scale(1); }
.reel__overlay { position: absolute; inset: auto 0 0 0; background: linear-gradient(to top, rgba(11,11,12,.88), rgba(11,11,12,0)); }
.reel__bar { padding-top: 120px; padding-bottom: 28px; display: flex; flex-direction: column; gap: 16px; color: var(--paper); }
.reel__meta { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; font-size: 14px; text-transform: uppercase; }
.reel__count { display: inline-flex; align-items: flex-end; gap: 10px; }
.reel__caption { text-decoration: none; margin-left: auto; }
.reel__caption:hover { text-decoration: underline; }
.reel__pause { background: transparent; border: 1px solid rgba(244,244,241,.6); color: var(--paper); border-radius: 999px; padding: 6px 12px; font-family: var(--mono); font-size: 12px; cursor: pointer; text-transform: uppercase; min-height: 32px; }
.reel__progress { display: grid; grid-template-columns: repeat(var(--n, 6), minmax(0, 1fr)); gap: 6px; }
.reel__seg { height: 18px; padding: 8px 0; background: transparent; border: 0; cursor: pointer; }
.reel__seg span { display: block; height: 3px; background: rgba(244,244,241,.35); position: relative; overflow: hidden; }
.reel__seg span::after { content: ''; position: absolute; inset: 0; background: var(--tally); transform: scaleX(0); transform-origin: left; }
.reel__seg.is-done span::after { transform: scaleX(1); }
.reel__seg.is-active span::after { animation: sbae-fill var(--reel-ms, 6000ms) linear forwards; }
.reel.is-paused .reel__seg.is-active span::after { animation-play-state: paused; }
@keyframes sbae-fill { to { transform: scaleX(1); } }

/* ------------------------------------------------------------------ Cards */
.card { display: flex; flex-direction: column; gap: 14px; text-decoration: none; color: var(--fg); min-width: 0; }
.card:hover { text-decoration: none; }
.card__media { position: relative; aspect-ratio: 4 / 3; border-radius: var(--radius); overflow: hidden; background: var(--placeholder); }
.card--wide .card__media { aspect-ratio: 16 / 10; }
.card--tall .card__media { aspect-ratio: 4 / 5; }
.card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.card:hover .card__media img { transform: scale(1.03); }
.card__text { display: flex; flex-direction: column; gap: 4px; }
.card__title { font-size: 22px; font-weight: 500; letter-spacing: -0.015em; line-height: 1.2; }
.card--wide .card__title { font-size: 28px; letter-spacing: -0.02em; }
.card__credit { font-size: 16px; color: var(--soft); }
.card__spec { display: flex; justify-content: space-between; gap: 12px; color: var(--graphite); border-top: 1px solid var(--rule); padding-top: 10px; text-transform: uppercase; }
.on-dark .card__spec, .is-dark .card__spec { color: var(--soft); }
.card.is-hidden { display: none; }
.ph { width: 100%; height: 100%; min-height: 100%; display: flex; align-items: center; justify-content: center; background: var(--placeholder); color: var(--paper); text-transform: uppercase; letter-spacing: 0.06em; padding: 16px; text-align: center; }
.badge {
	position: absolute; left: 12px; top: 12px; display: inline-flex; align-items: center; gap: 8px;
	background: var(--ink); color: var(--paper); font-family: var(--mono); font-size: 12px; padding: 7px 10px; border-radius: 4px;
}
.badge--watch { left: auto; right: 12px; background: var(--tally); color: var(--ink); font-weight: 500; }

.feature-rows { display: flex; flex-direction: column; gap: 48px; }
.feature-row { display: flex; flex-wrap: wrap; gap: 48px 24px; }
.feature-row > .card { flex: 1 1 300px; }
.feature-row--top > .card--wide { flex: 2 1 560px; }
.feature-row--top > .card--tall { flex: 1 1 320px; }
.grid-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(320px, 100%), 1fr)); gap: 48px 24px; }

/* ------------------------------------------------------------------ Pillars, studio, clients */
.pillars { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(260px, 100%), 1fr)); gap: 20px; }
.pillar { position: relative; background: var(--paper); border-radius: var(--radius); padding: 28px; display: flex; flex-direction: column; gap: 16px; border-top: 4px solid var(--tally); transition: transform .2s ease, box-shadow .2s ease; }
.pillar:hover { transform: translateY(-3px); box-shadow: 0 10px 30px rgba(13,13,13,.08); }
.pillar__num { align-self: flex-start; font-size: 13px; font-weight: 500; letter-spacing: 0.02em; color: var(--ink); }
.pillar__title { font-size: 24px; font-weight: 500; letter-spacing: -0.015em; line-height: 1.15; }
.pillar p { font-size: 16px; color: var(--ink); }
.pillar__list { list-style: none; padding: 14px 0 0; border-top: 1px solid var(--rule); line-height: 1.7; text-transform: uppercase; color: var(--ink); }
.pillar__list li { display: flex; align-items: flex-start; gap: 10px; }
.pillar__list li::before { content: ''; width: 6px; height: 6px; margin-top: 0.75em; transform: translateY(-50%); border-radius: 50%; background: var(--tally); flex-shrink: 0; }
.pillar__link { margin-top: auto; align-self: flex-start; font-size: 15px; font-weight: 500; text-decoration: none; border-bottom: 2px solid var(--tally); padding-bottom: 2px; }
.pillar__link:hover { background: var(--tally); color: var(--ink); text-decoration: none; }
.company { display: flex; flex-wrap: wrap; gap: 32px 64px; align-items: flex-start; }
.company__text { flex: 3 1 520px; font-size: clamp(24px, 2.4vw, 34px); line-height: 1.3; letter-spacing: -0.02em; font-weight: 500; text-wrap: pretty; }
.company__people { flex: 1 1 260px; display: flex; flex-direction: column; gap: 18px; border-left: 3px solid var(--tally); padding-left: 24px; }
.company__people-label { font-size: 12px; }
.person { display: flex; gap: 16px; align-items: center; }
.person > div { display: flex; flex-direction: column; gap: 4px; }
.person__photo { width: 96px; height: 96px; border-radius: var(--radius); object-fit: cover; flex-shrink: 0; }
.person__name { font-size: 20px; font-weight: 500; }
.person__name--link { display: flex; flex-direction: column; gap: 2px; text-decoration: none; color: var(--fg); }
.person__name--link:hover { text-decoration: underline; text-decoration-color: var(--tally); text-decoration-thickness: 2px; }
.person__mail { font-size: 13px; font-weight: 400; letter-spacing: 0.02em; text-transform: none; color: var(--ink); }
.person__role { text-transform: uppercase; color: var(--graphite); }
.studio__text { flex: 2 1 420px; max-width: none; }
.clients { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(240px, 100%), 1fr)); column-gap: 24px; font-family: var(--mono); font-size: 15px; letter-spacing: 0.04em; text-transform: uppercase; }
.clients li { display: flex; align-items: center; gap: 12px; padding: 14px 0; border-bottom: 1px solid var(--rule); }
.clients li::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--tally); flex-shrink: 0; }

/* Client logo marquee: one slow row, pauses on hover, focus or the Pause button */
.logos { --logo-size: 78px; --logo-gap: clamp(48px, 6vw, 96px); overflow: hidden; padding-block: 12px;
	-webkit-mask-image: linear-gradient(90deg, transparent 0, #000 8%, #000 92%, transparent 100%);
	mask-image: linear-gradient(90deg, transparent 0, #000 8%, #000 92%, transparent 100%); }
.logos__track { display: flex; width: max-content; animation: sbae-marquee calc(var(--logo-count, 20) * 3.6s) linear infinite; }
.logos:hover .logos__track, .logos:focus-within .logos__track, .logos.is-paused .logos__track { animation-play-state: paused; }
.logos__list { list-style: none; margin: 0; padding: 0 var(--logo-gap) 0 0; display: flex; align-items: center; gap: var(--logo-gap); flex-shrink: 0; }
.logos__item { flex-shrink: 0; display: flex; align-items: center; height: 112px; }
.logos__item img { display: block; width: auto; max-width: 300px; height: clamp(30px, calc(var(--logo-size) / sqrt(var(--r, 2.4))), 80px); }
.logos__name { font-size: 15px; letter-spacing: 0.04em; text-transform: uppercase; white-space: nowrap; display: flex; align-items: center; gap: 12px; }
.logos__name::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--tally); }
.logos__toggle { background: none; border: 0; padding: 0; cursor: pointer; color: var(--ink); text-decoration: underline; text-decoration-color: var(--tally); text-decoration-thickness: 2px; text-underline-offset: 4px; }
.logos__toggle:hover { color: var(--ink); text-decoration-thickness: 3px; }
@keyframes sbae-marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (max-width: 700px) {
	.logos { --logo-size: 56px; }
	.logos__item { height: 84px; }
	.logos__item img { max-width: 210px; height: clamp(22px, calc(var(--logo-size) / sqrt(var(--r, 2.4))), 66px); }
}
@media (prefers-reduced-motion: reduce) {
	.logos { -webkit-mask-image: none; mask-image: none; }
	.logos__track { display: block; width: auto; max-width: var(--max); margin-inline: auto; padding-inline: var(--gutter); }
	.logos__list { flex-wrap: wrap; flex-shrink: 1; justify-content: center; padding: 0; row-gap: 8px; column-gap: clamp(32px, 4vw, 64px); }
	.logos__list[aria-hidden] { display: none; }
	.logos__toggle { display: none; }
}

.media-split { display: flex; flex-wrap: wrap; gap: 48px; align-items: center; }
.media-split__text { flex: 1 1 380px; display: flex; flex-direction: column; align-items: flex-start; gap: 20px; }
.media-split__media { flex: 1.4 1 460px; border-radius: var(--radius); overflow: hidden; }
.smls-word { font-size: clamp(40px, 4.4vw, 64px); letter-spacing: -0.035em; }

/* ------------------------------------------------------------------ Footer */
.site-footer { border-top: 1px solid var(--rule-dark); padding-block: clamp(48px, 6vw, 88px) 32px; background: var(--ink); }
.site-footer__cta { display: flex; justify-content: space-between; align-items: flex-end; gap: 32px; flex-wrap: wrap; margin-bottom: 56px; }
.site-footer__cta .display-l { max-width: 900px; }
.site-footer__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 32px; border-top: 1px solid var(--rule-dark); padding-top: 28px; font-size: 15px; }
.site-footer__col { display: flex; flex-direction: column; gap: 6px; align-items: flex-start; }
.site-footer__col .logo { margin-bottom: 6px; }
.site-footer .label { font-size: 12px; color: var(--soft-dark); }

/* ------------------------------------------------------------------ Filters & chips */
.filters { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; border-top: 1px solid var(--strong-rule); padding-top: 20px; }
.filters__list, .chips__list { display: flex; gap: 10px; flex-wrap: wrap; }
.filters__count { text-transform: uppercase; color: var(--graphite); }
.chip {
	display: inline-flex; align-items: center; min-height: 44px; padding: 10px 18px; border-radius: 999px;
	border: 1px solid var(--fg); font-size: 15px; font-weight: 500; text-decoration: none; cursor: pointer; background: transparent; color: var(--fg);
}
.chip:hover { text-decoration: none; background: rgba(13,13,13,.06); }
.chip.is-active, .chip[aria-current] { background: var(--tally); border-color: var(--tally); color: var(--ink); }
.chip--check { position: relative; }
.chip--check input { position: absolute; opacity: 0; inset: 0; cursor: pointer; margin: 0; }
.chip--check:has(input:checked) { background: var(--tally); border-color: var(--tally); color: var(--ink); }
.chip--check:has(input:focus-visible) { outline: 2px solid var(--fg); outline-offset: 3px; }

/* ------------------------------------------------------------------ Project page */
.crumbs { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-block: 20px; letter-spacing: 0.06em; text-transform: uppercase; }
.crumbs a { text-decoration: none; }
.crumbs span { color: var(--soft); }
.hero { position: relative; height: clamp(420px, 52vw, 760px); overflow: hidden; background: var(--placeholder); }
.hero > img, .hero > .ph { width: 100%; height: 100%; object-fit: cover; }
.hero__overlay { position: absolute; inset: auto 0 0 0; background: linear-gradient(to top, rgba(11,11,12,.95), rgba(11,11,12,0)); }
.hero__text { padding-top: 140px; padding-bottom: 40px; display: flex; flex-direction: column; gap: 14px; color: var(--paper); }
.hero__kicker { font-size: 14px; text-transform: uppercase; }
.project-intro { display: flex; flex-wrap: wrap; gap: clamp(40px, 6vw, 96px); }
.project-intro__text { flex: 3 1 520px; display: flex; flex-direction: column; gap: 24px; }
.specs { flex: 2 1 340px; font-size: 14px; }
.specs__row { display: flex; justify-content: space-between; gap: 16px; padding: 14px 0; border-top: 1px solid var(--rule); }
.specs__row:last-child { border-bottom: 1px solid var(--rule); }
.specs dt { color: var(--soft); text-transform: uppercase; }
.specs dd { text-align: right; display: inline-flex; align-items: center; gap: 8px; }
.player { position: relative; aspect-ratio: 16 / 9; border-radius: var(--radius); overflow: hidden; background: var(--placeholder); border: 1px solid var(--rule); }
.player__poster { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .45; }
.player__play { position: absolute; inset: 0; width: 100%; background: transparent; border: 0; cursor: pointer; display: flex; align-items: center; justify-content: center; }
.player__circle { width: 88px; height: 88px; border-radius: 50%; background: var(--tally); color: var(--ink); display: flex; align-items: center; justify-content: center; transition: transform .2s ease; }
.player__play:hover .player__circle { transform: scale(1.06); }
.player__note { position: absolute; left: 20px; bottom: 16px; color: var(--paper); pointer-events: none; }
.player iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(240px, 100%), 1fr)); gap: 16px; }
.step { border: 1px solid var(--rule); border-radius: var(--radius); padding: 24px; display: flex; flex-direction: column; gap: 12px; }
.step--hot { border-color: var(--tally); }
.step__label { display: inline-flex; align-items: center; gap: 8px; text-transform: uppercase; }
.step__title { font-size: 22px; font-weight: 500; letter-spacing: -0.015em; }
.step__text { font-size: 16px; color: var(--soft); }
.credit { padding-bottom: 40px; color: var(--soft); }
.next { border-top: 1px solid var(--rule); }
.next__inner { display: flex; flex-wrap: wrap; gap: 32px; align-items: center; padding-block: clamp(40px, 5vw, 64px); text-decoration: none; }
.next__inner:hover { text-decoration: none; }
.next__text { flex: 1 1 360px; display: flex; flex-direction: column; gap: 12px; }
.next__media { flex: 1 1 360px; border-radius: var(--radius); overflow: hidden; }

/* Content from the block editor (text + galleries) */
.prose > * + * { margin-top: 24px; }
.prose p, .prose li { font-size: 18px; line-height: 1.6; color: var(--soft); max-width: 760px; }
.prose h2 { font-size: clamp(28px, 3vw, 40px); letter-spacing: -0.025em; font-weight: 500; line-height: 1.1; margin-top: 48px; }
.prose h3 { font-size: 22px; font-weight: 500; margin-top: 32px; }
.prose img { border-radius: var(--radius); }
.prose .wp-block-image.alignwide img, .prose .wp-block-image.alignfull img { width: 100%; height: auto; }
.prose .wp-block-gallery { display: grid !important; grid-template-columns: repeat(auto-fit, minmax(min(420px, 100%), 1fr)); gap: 16px !important; }
.prose .wp-block-gallery > figure.wp-block-image { width: auto !important; margin: 0 !important; display: flex; flex-direction: column; }
.prose .wp-block-gallery > figure.wp-block-image img { width: 100% !important; aspect-ratio: 4 / 3; object-fit: cover; height: auto !important; }
.prose .wp-block-gallery.has-nested-images figure.wp-block-image figcaption { position: static; background: none; color: var(--soft); padding: 0; margin-top: 10px; font-size: 13px; text-align: left; overflow: visible; max-height: none; -webkit-mask-image: none; mask-image: none; text-shadow: none; }
.prose figcaption, .prose .wp-element-caption { font-family: var(--mono); font-size: 13px; color: var(--soft); margin-top: 10px; text-align: left; }
.prose .wp-block-gallery { gap: 16px !important; }
.prose .wp-block-gallery .wp-block-image img { border-radius: var(--radius); }
.prose--text p, .prose--text li { color: var(--fg); }
.prose--small p { font-size: 15px; }

/* ------------------------------------------------------------------ Rental */
.rental-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(300px, 100%), 1fr)); border-top: 1px solid var(--strong-rule); column-gap: 24px; }
.rental-item { padding: 28px 0; border-bottom: 1px solid var(--rule); display: flex; flex-direction: column; gap: 12px; position: relative; }
.rental-item::before { content: ''; position: absolute; left: 0; top: -1px; width: 0; height: 3px; background: var(--tally); transition: width .3s ease; }
.rental-item:hover::before { width: 100%; }
.rental-item__head { display: flex; align-items: flex-end; gap: 10px; }
.num-pill { display: inline-flex; flex-direction: column; align-self: flex-start; gap: 8px; font-size: 13px; font-weight: 500; letter-spacing: 0.02em; color: var(--ink); }
.num-pill::before { content: ''; width: 24px; height: 3px; background: var(--tally); }
.badge--inline { position: static; }
.inventory-wrap { padding-top: clamp(48px, 6vw, 80px); }
.inventory-band { display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; background: var(--ink); color: var(--paper); border-radius: var(--radius); padding: clamp(24px, 3vw, 40px); text-decoration: none; border-left: 6px solid var(--tally); }
.inventory-band:hover { text-decoration: none; }
.inventory-band:hover .btn { transform: translateY(-1px); }
.inventory-band__text { display: flex; flex-direction: column; gap: 10px; }
.inventory-band .label { color: var(--soft-dark); }
.inventory-band__title { font-size: clamp(24px, 2.6vw, 36px); font-weight: 500; letter-spacing: -0.02em; line-height: 1.1; }
.rental-item__title { font-size: 24px; font-weight: 500; letter-spacing: -0.015em; }
.rental-item p { font-size: 16px; color: var(--ink); max-width: 420px; }
.media-split--reverse .media-split__media { order: 0; }
.how { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(220px, 100%), 1fr)); gap: 24px; }
.how li { display: flex; flex-direction: column; gap: 8px; }
.how strong { font-size: 20px; font-weight: 500; }
.how li > span:last-child { font-size: 16px; color: var(--ink); }
.how li { border-top: 1px solid var(--rule); padding-top: 18px; }

/* ------------------------------------------------------------------ Forms */
.form-split { display: flex; flex-wrap: wrap; gap: clamp(32px, 5vw, 80px); }
.form-split__intro { flex: 1 1 320px; display: flex; flex-direction: column; gap: 16px; }
.form-split .form { flex: 2 1 520px; }
.form { display: flex; flex-direction: column; gap: 24px; align-items: flex-start; }
.form__grid { width: 100%; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(240px, 100%), 1fr)); gap: 20px; }
.field { display: flex; flex-direction: column; gap: 8px; font-size: 15px; font-weight: 500; }
.field--full { grid-column: 1 / -1; }
.field input, .field textarea {
	font-weight: 400; font-size: 16px; padding: 13px 14px; border: 1px solid var(--ink); border-radius: var(--radius);
	background: #FFFFFF; color: var(--ink); width: 100%;
}
.field textarea { resize: vertical; min-height: 140px; }
.field input::placeholder, .field textarea::placeholder { color: #5A5A5A; }
.options { border: 0; padding: 0; margin: 0; display: flex; gap: 12px 24px; flex-wrap: wrap; font-size: 16px; }
.options legend, .chips legend { font-size: 15px; font-weight: 500; margin-bottom: 12px; padding: 0; }
.options label { display: inline-flex; align-items: center; gap: 8px; min-height: 32px; }
.options input { width: 20px; height: 20px; accent-color: var(--ink); margin: 0; }
.chips { border: 0; padding: 0; margin: 0; }
.notice { display: flex; align-items: center; gap: 10px; padding: 14px 18px; border-radius: var(--radius); font-weight: 500; width: 100%; }
.notice--ok { background: var(--ink); color: var(--paper); }
.notice--error { background: #FFE3DB; color: #5C1300; border: 1px solid #5C1300; }

/* ------------------------------------------------------------------ Contact */
.contact { display: flex; flex-wrap: wrap; gap: clamp(40px, 6vw, 96px); }
.contact__form { flex: 2 1 560px; }
.contact__aside { flex: 1 1 300px; display: flex; flex-direction: column; gap: 32px; }
.contact__block { display: flex; flex-direction: column; gap: 8px; border-top: 1px solid var(--ink); padding-top: 14px; font-size: 17px; }
.contact__big { font-size: 26px; font-weight: 500; letter-spacing: -0.015em; }
.contact__mid { font-size: 20px; font-weight: 500; }
.inline-links { display: flex; gap: 20px; }
.plain-list { list-style: none; padding: 0; font-size: 20px; }
.plain-list li + li { margin-top: 10px; }

/* ------------------------------------------------------------------ Motion */
@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
	.reel__seg.is-active span::after { transform: scaleX(1); }
}
