/* -------------------------------------------------------------------------
   Thinkbox Production — original cinematic dark system
   Layers: tokens, reset, typography, layout, header, hero, sections,
   cards, player, forms, footer, utilities, responsive, motion.
   No external fonts or CDN requests.
   ---------------------------------------------------------------------- */

/* 1. Tokens ------------------------------------------------------------- */
:root {
	--ink-000: #05070a;   /* page */
	--ink-050: #0a0e14;   /* raised */
	--ink-100: #10161f;   /* panel */
	--ink-200: #1a2430;   /* border */
	--ink-300: #2a3949;

	--text-hi: #f2f6fa;
	--text-mid: #a9b6c4;
	--text-low: #778899;

	--accent: #46e2e8;    /* studio cyan, taken from the Thinkbox mark */
	--accent-deep: #12a7b4;
	--accent-ink: #04191c;
	--ember: #f5a63c;     /* warm counterpoint for indices and rules */

	--radius: 14px;
	--radius-sm: 8px;

	--gutter: clamp(1.25rem, 4vw, 3.5rem);
	--wrap: 1240px;
	--section-y: clamp(4.5rem, 9vw, 9rem);

	--font-sans: "Inter", "Segoe UI Variable Text", "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
	--font-display: "Inter", "Segoe UI Variable Display", "Segoe UI", system-ui, -apple-system, sans-serif;
	--font-mono: ui-monospace, "Cascadia Mono", "SFMono-Regular", Consolas, monospace;

	--ease: cubic-bezier(0.22, 0.61, 0.36, 1);
	--shadow: 0 24px 60px -30px rgb(0 0 0 / 0.9);
}

/* 2. Reset -------------------------------------------------------------- */
*,
*::before,
*::after { box-sizing: border-box; }

html {
	-webkit-text-size-adjust: 100%;
	scroll-behavior: smooth;
	scroll-padding-top: 6rem;
}

body {
	margin: 0;
	background: var(--ink-000);
	color: var(--text-mid);
	font-family: var(--font-sans);
	font-size: clamp(1rem, 0.96rem + 0.2vw, 1.0625rem);
	line-height: 1.65;
	-webkit-font-smoothing: antialiased;
	overflow-x: hidden;
}

img,
video,
svg { max-width: 100%; height: auto; display: block; }

a { color: var(--accent); text-decoration-color: rgb(70 226 232 / 0.35); text-underline-offset: 0.22em; }
a:hover { color: #8af3f7; }

:focus-visible {
	outline: 2px solid var(--accent);
	outline-offset: 3px;
	border-radius: 3px;
}

/* 3. Typography --------------------------------------------------------- */
h1, h2, h3, h4 {
	font-family: var(--font-display);
	color: var(--text-hi);
	line-height: 1.06;
	letter-spacing: -0.025em;
	margin: 0 0 0.5em;
	font-weight: 650;
	text-wrap: balance;
}

h1 { font-size: clamp(2.4rem, 1.6rem + 3.6vw, 4.6rem); }
h2 { font-size: clamp(1.85rem, 1.3rem + 2.2vw, 3rem); }
h3 { font-size: clamp(1.15rem, 1rem + 0.6vw, 1.4rem); }

p { margin: 0 0 1.1em; }
p:last-child { margin-bottom: 0; }

.screen-reader-text {
	position: absolute !important;
	width: 1px; height: 1px;
	padding: 0; margin: -1px;
	overflow: hidden;
	clip: rect(0 0 0 0);
	clip-path: inset(50%);
	white-space: nowrap;
	border: 0;
}

.skip-link:focus {
	position: fixed !important;
	top: 1rem; left: 1rem;
	z-index: 999;
	width: auto; height: auto;
	clip: auto; clip-path: none;
	padding: 0.75rem 1.25rem;
	background: var(--accent);
	color: var(--accent-ink);
	font-weight: 600;
	border-radius: var(--radius-sm);
}

/* 4. Layout ------------------------------------------------------------- */
.wrap {
	width: min(100% - (var(--gutter) * 2), var(--wrap));
	margin-inline: auto;
}

.site-main { display: block; }

.section { padding-block: var(--section-y); position: relative; }
.section + .section { border-top: 1px solid var(--ink-200); }

.section__head { max-width: 62ch; margin-bottom: clamp(2rem, 4vw, 3.5rem); }

.section__index {
	font-family: var(--font-mono);
	font-size: 0.75rem;
	letter-spacing: 0.35em;
	text-transform: uppercase;
	color: var(--ember);
	margin: 0 0 1rem;
}

.section__title { margin-bottom: 0.4em; }
.section__lede { color: var(--text-mid); font-size: 1.05em; margin: 0; }
.section__more { margin-top: clamp(2rem, 4vw, 3rem); }

.layout {
	display: grid;
	gap: clamp(2rem, 5vw, 4rem);
	padding-block: var(--section-y);
	grid-template-columns: minmax(0, 1fr);
}

.layout__aside { min-width: 0; }

/* 5. Buttons ------------------------------------------------------------ */
.btn {
	display: inline-flex;
	align-items: center;
	gap: 0.55em;
	padding: 0.85em 1.5em;
	border-radius: 999px;
	font-weight: 600;
	font-size: 0.95rem;
	letter-spacing: 0.01em;
	text-decoration: none;
	border: 1px solid transparent;
	transition: transform 0.25s var(--ease), background-color 0.25s var(--ease), border-color 0.25s var(--ease), color 0.25s var(--ease);
	cursor: pointer;
}

.btn--primary {
	background: var(--accent);
	color: var(--accent-ink);
}
.btn--primary:hover { background: #7ff0f5; color: var(--accent-ink); transform: translateY(-2px); }

.btn--ghost {
	border-color: var(--ink-300);
	color: var(--text-hi);
	background: rgb(255 255 255 / 0.02);
}
.btn--ghost:hover { border-color: var(--accent); color: var(--accent); transform: translateY(-2px); }

.btn--inline { padding: 0; background: none; border: 0; color: var(--accent); }

.icon-external { width: 0.7em; height: 0.7em; flex: none; opacity: 0.8; }

/* 6. Header ------------------------------------------------------------- */
.site-header {
	position: sticky;
	top: 0;
	z-index: 50;
	background: linear-gradient(to bottom, rgb(5 7 10 / 0.92), rgb(5 7 10 / 0.55) 70%, transparent);
	backdrop-filter: blur(10px);
	transition: background-color 0.3s var(--ease), border-color 0.3s var(--ease);
	border-bottom: 1px solid transparent;
}

.site-header.is-stuck {
	background: rgb(5 7 10 / 0.96);
	border-bottom-color: var(--ink-200);
}

.site-header__inner {
	width: min(100% - (var(--gutter) * 2), 1440px);
	margin-inline: auto;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
	min-height: 4.5rem;
}

.brand__text {
	display: inline-flex;
	align-items: center;
	gap: 0.7rem;
	text-decoration: none;
	color: var(--text-hi);
	font-weight: 700;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	font-size: 0.82rem;
}

.brand__mark {
	width: 1.4rem; height: 1.4rem;
	border-radius: 5px;
	background: linear-gradient(140deg, var(--accent), var(--accent-deep) 60%, transparent);
	box-shadow: 0 0 0 1px rgb(70 226 232 / 0.35), 0 0 22px -6px var(--accent);
}

.custom-logo { max-height: 46px; width: auto; }

.nav-toggle {
	display: none;
	background: none;
	border: 1px solid var(--ink-300);
	border-radius: var(--radius-sm);
	padding: 0.6rem;
	cursor: pointer;
}

.nav-toggle__bars { display: grid; gap: 4px; }
.nav-toggle__bars i { display: block; width: 20px; height: 2px; background: var(--text-hi); transition: transform 0.25s var(--ease), opacity 0.2s; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars i:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars i:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars i:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

.site-nav { display: flex; align-items: center; gap: 1.5rem; }

.nav__list {
	display: flex;
	align-items: center;
	gap: clamp(0.75rem, 1.6vw, 1.75rem);
	list-style: none;
	margin: 0;
	padding: 0;
}

.nav__item { position: relative; }

.nav__link {
	display: inline-flex;
	align-items: center;
	gap: 0.35em;
	padding: 0.4rem 0;
	color: var(--text-mid);
	text-decoration: none;
	font-size: 0.9rem;
	font-weight: 500;
	letter-spacing: 0.02em;
	transition: color 0.2s var(--ease);
}

.nav__link::after {
	content: "";
	position: absolute;
	left: 0; right: 100%;
	bottom: 0;
	height: 1px;
	background: var(--accent);
	transition: right 0.3s var(--ease);
}

.nav__link:hover,
.nav__item.is-current > .nav__link { color: var(--text-hi); }
.nav__link:hover::after,
.nav__item.is-current > .nav__link::after { right: 0; }

.nav__submenu {
	list-style: none;
	margin: 0;
	padding: 0.5rem;
	position: absolute;
	top: 100%;
	left: -0.75rem;
	min-width: 13rem;
	background: var(--ink-100);
	border: 1px solid var(--ink-200);
	border-radius: var(--radius-sm);
	box-shadow: var(--shadow);
	display: none;
}

.nav__item:hover > .nav__submenu,
.nav__item:focus-within > .nav__submenu { display: block; }

.nav__submenu .nav__link { padding: 0.45rem 0.75rem; width: 100%; }
.nav__submenu .nav__link::after { display: none; }

.site-nav__cta .btn { padding: 0.6em 1.15em; font-size: 0.85rem; }

/* 7. Hero --------------------------------------------------------------- */
.hero {
	position: relative;
	min-height: min(92svh, 900px);
	display: grid;
	align-items: end;
	padding-block: clamp(6rem, 14vh, 10rem) clamp(3rem, 8vh, 5rem);
	margin-top: -4.5rem;
	overflow: hidden;
	isolation: isolate;
}

.hero__media { position: absolute; inset: 0; z-index: -2; background: var(--ink-050); }

.hero__video,
.hero__fallback {
	width: 100%;
	height: 100%;
	object-fit: cover;
	opacity: 0;
	/* The studio's own films are brightly lit stylised scenes. Grading them back
	   toward the page's black keeps the hero copy legible without hiding the
	   footage, and keeps the whole page on one value range. */
	filter: saturate(0.72) contrast(1.06) brightness(0.62);
	transition: opacity 1.2s var(--ease);
}

.hero__fallback { opacity: 1; }
.hero.is-ready .hero__video { opacity: 1; }

.hero__scrim {
	position: absolute;
	inset: 0;
	background:
		radial-gradient(115% 95% at 12% 95%, rgb(5 7 10 / 0.97) 8%, rgb(5 7 10 / 0.35) 58%, transparent 78%),
		linear-gradient(to top, rgb(5 7 10 / 0.98) 2%, rgb(5 7 10 / 0.62) 42%, rgb(5 7 10 / 0.55) 72%, rgb(5 7 10 / 0.85) 100%);
}

/* Narrow screens put the copy over the brightest part of the frame, so the
   scrim is deepened rather than relying on the film staying dark. */
@media (max-width: 61.99em) {
	.hero__scrim {
		background:
			linear-gradient(to top, rgb(5 7 10 / 0.99) 10%, rgb(5 7 10 / 0.88) 48%, rgb(5 7 10 / 0.72) 78%, rgb(5 7 10 / 0.85) 100%);
	}
}

.hero__content { position: relative; max-width: 46rem; }

.hero__kicker {
	font-family: var(--font-mono);
	font-size: 0.72rem;
	letter-spacing: 0.4em;
	text-transform: uppercase;
	color: var(--accent);
	margin-bottom: 1.25rem;
}

.hero__title {
	margin-bottom: 0.35em;
	text-shadow: 0 2px 40px rgb(5 7 10 / 0.85);
}

.hero__text {
	font-size: clamp(1rem, 0.95rem + 0.4vw, 1.2rem);
	color: #cbd7e3;
	max-width: 40rem;
	text-shadow: 0 1px 24px rgb(5 7 10 / 0.9);
}

.hero__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 0.85rem;
	margin-top: 2rem;
}

.hero__controls {
	position: absolute;
	right: var(--gutter);
	bottom: clamp(3rem, 8vh, 5rem);
	z-index: 2;
}

.hero__toggle {
	display: inline-flex;
	align-items: center;
	gap: 0.6rem;
	background: rgb(5 7 10 / 0.6);
	border: 1px solid var(--ink-300);
	border-radius: 999px;
	padding: 0.5rem 1rem 0.5rem 0.75rem;
	color: var(--text-mid);
	font-size: 0.78rem;
	letter-spacing: 0.06em;
	cursor: pointer;
	backdrop-filter: blur(6px);
}
.hero__toggle:hover { color: var(--text-hi); border-color: var(--accent); }

.hero__toggle-icon {
	width: 0.7rem; height: 0.8rem;
	background: var(--accent);
	clip-path: polygon(0 0, 100% 50%, 0 100%);
}
.hero__toggle[aria-pressed="true"] .hero__toggle-icon {
	clip-path: polygon(0 0, 35% 0, 35% 100%, 0 100%, 0 0, 65% 0, 100% 0, 100% 100%, 65% 100%, 65% 0);
}

.hero__scroll {
	position: absolute;
	left: var(--gutter);
	bottom: 1.25rem;
	font-family: var(--font-mono);
	font-size: 0.65rem;
	letter-spacing: 0.35em;
	text-transform: uppercase;
	color: var(--text-low);
	text-decoration: none;
}
.hero__scroll:hover { color: var(--accent); }

/* 8. Pillars ------------------------------------------------------------ */
.pillars {
	display: grid;
	gap: clamp(1.25rem, 3vw, 2rem);
	grid-template-columns: repeat(auto-fit, minmax(min(100%, 17rem), 1fr));
}

.pillar {
	border-top: 1px solid var(--ink-200);
	padding-top: 1.5rem;
}

.pillar__title { color: var(--text-hi); margin-bottom: 0.6em; }

/* 9. Work grid ---------------------------------------------------------- */
.grid--work {
	display: grid;
	gap: clamp(1rem, 2.4vw, 1.75rem);
	grid-template-columns: repeat(auto-fill, minmax(min(100%, 20rem), 1fr));
}

.card { min-width: 0; }

.card__link {
	display: grid;
	gap: 1rem;
	text-decoration: none;
	color: inherit;
	border-radius: var(--radius);
	transition: transform 0.35s var(--ease);
}
.card__link:hover { transform: translateY(-4px); }

.card__media {
	position: relative;
	display: block;
	aspect-ratio: 3 / 2;
	overflow: hidden;
	border-radius: var(--radius);
	border: 1px solid var(--ink-200);
	background:
		radial-gradient(90% 80% at 20% 10%, rgb(18 167 180 / 0.18), transparent 60%),
		var(--ink-100);
}

.card__media img {
	width: 100%; height: 100%;
	object-fit: cover;
	transition: transform 0.6s var(--ease), filter 0.4s var(--ease);
	filter: saturate(0.85) contrast(1.03);
}
.card__link:hover .card__media img { transform: scale(1.05); filter: none; }

.card__placeholder {
	position: absolute;
	inset: 0;
	display: grid;
	place-items: center;
	font-family: var(--font-display);
	font-size: clamp(2.5rem, 6vw, 4rem);
	font-weight: 700;
	color: rgb(70 226 232 / 0.22);
	letter-spacing: -0.04em;
}

.card__body { display: grid; gap: 0.3rem; }

.card__meta {
	font-family: var(--font-mono);
	font-size: 0.68rem;
	letter-spacing: 0.24em;
	text-transform: uppercase;
	color: var(--ember);
}

.card__title {
	display: inline-flex;
	align-items: center;
	gap: 0.4em;
	color: var(--text-hi);
	font-weight: 600;
	font-size: 1.08rem;
	line-height: 1.3;
}

.card__sub { color: var(--text-low); font-size: 0.88rem; }

/* 10. Filters ----------------------------------------------------------- */
.filters {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
	margin-bottom: clamp(1.75rem, 4vw, 2.75rem);
}

.filters__link {
	padding: 0.45em 1em;
	border: 1px solid var(--ink-200);
	border-radius: 999px;
	font-size: 0.85rem;
	color: var(--text-mid);
	text-decoration: none;
	transition: border-color 0.2s var(--ease), color 0.2s var(--ease);
}
.filters__link:hover { border-color: var(--accent); color: var(--text-hi); }
.filters__link.is-current { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); font-weight: 600; }

/* 11. Player ------------------------------------------------------------ */
.section--reel .wrap { display: grid; gap: clamp(1.5rem, 4vw, 3rem); }

.player { margin: 0; }

.player__frame {
	position: relative;
	border-radius: var(--radius);
	overflow: hidden;
	border: 1px solid var(--ink-200);
	background: var(--ink-050);
	aspect-ratio: 16 / 9;
	box-shadow: var(--shadow);
}

.player__video { width: 100%; height: 100%; object-fit: cover; background: var(--ink-000); }

.player__poster {
	position: absolute;
	inset: 0;
	padding: 0;
	border: 0;
	cursor: pointer;
	background: var(--ink-050);
	display: block;
	width: 100%;
}

.player__poster img { width: 100%; height: 100%; object-fit: cover; }

.player__frame.is-playing .player__poster { display: none; }

.player__badge {
	position: absolute;
	inset: 0;
	display: grid;
	place-items: center;
}

.player__triangle {
	width: clamp(3.5rem, 7vw, 5rem);
	aspect-ratio: 1;
	border-radius: 50%;
	background: rgb(5 7 10 / 0.55);
	border: 1px solid rgb(255 255 255 / 0.35);
	backdrop-filter: blur(4px);
	display: block;
	position: relative;
	transition: transform 0.3s var(--ease), background-color 0.3s var(--ease);
}

.player__triangle::after {
	content: "";
	position: absolute;
	top: 50%; left: 54%;
	translate: -50% -50%;
	width: 24%;
	aspect-ratio: 1 / 1.15;
	background: var(--text-hi);
	clip-path: polygon(0 0, 100% 50%, 0 100%);
}

.player__poster:hover .player__triangle { transform: scale(1.08); background: rgb(70 226 232 / 0.25); }

.player__caption {
	margin-top: 0.9rem;
	font-size: 0.85rem;
	color: var(--text-low);
	font-family: var(--font-mono);
	letter-spacing: 0.04em;
}

.player__fallback { padding: 1rem; }

.reel__aside { display: grid; gap: 1.5rem; }

/* 12. Specs list -------------------------------------------------------- */
.specs { margin: 0; display: grid; gap: 0.85rem; }

.specs__row {
	display: grid;
	grid-template-columns: minmax(6rem, 9rem) 1fr;
	gap: 1rem;
	padding-bottom: 0.85rem;
	border-bottom: 1px solid var(--ink-200);
}

.specs dt {
	font-family: var(--font-mono);
	font-size: 0.7rem;
	letter-spacing: 0.2em;
	text-transform: uppercase;
	color: var(--text-low);
}

.specs dd { margin: 0; color: var(--text-hi); }

/* 13. Client carousel & store band ------------------------------------- */
.section--clients { overflow: hidden; }

.clients__viewport {
	--clients-gap: clamp(1.25rem, 3vw, 2.5rem);
	overflow: hidden;
	margin-inline: calc(var(--gutter) * -0.35);
	padding: 0.35rem;
	-webkit-mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
	mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
}

.clients__viewport:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; }

.clients__track {
	display: flex;
	width: max-content;
	animation: tbp-client-marquee 24s linear infinite;
	will-change: transform;
}

.clients__viewport:hover .clients__track,
.clients__viewport:focus-within .clients__track { animation-play-state: paused; }

.clients__group {
	display: flex;
	flex: 0 0 auto;
	gap: var(--clients-gap);
	padding-right: var(--clients-gap);
}

.clients__item {
	width: clamp(10rem, 18vw, 15rem);
	height: clamp(5.5rem, 10vw, 7.5rem);
	display: grid;
	place-items: center;
	overflow: hidden;
	padding: clamp(1rem, 2.5vw, 1.75rem);
	border: 1px solid var(--ink-200);
	background: var(--ink-050);
	border-radius: var(--radius-sm);
	contain: paint;
}

.clients__item img {
	--client-logo-width: 72%;
	--client-logo-height: 92%;
	display: block;
	width: var(--client-logo-width);
	height: var(--client-logo-height);
	max-width: 100%;
	max-height: 100%;
	object-fit: contain;
	object-position: center;
	transform: none;
	filter: grayscale(1) brightness(0) invert(1);
	opacity: 0.75;
}

/* Per-logo optical boxes; object-fit keeps every source proportional and centered. */
.clients__logo--bandai-namco { --client-logo-width: 90%; --client-logo-height: 76%; }
.clients__logo--papergames { --client-logo-width: 60%; --client-logo-height: 92%; }
.clients__logo--electronic-arts { --client-logo-width: 64%; --client-logo-height: 92%; }
.clients__logo--amc-studio { --client-logo-width: 72%; --client-logo-height: 96%; }
.clients__logo--rodent-games { --client-logo-width: 68%; --client-logo-height: 96%; }
/* The Powerhouse artwork has a tall canvas; enlarge its optical box and lift it slightly. */
.clients__item .clients__logo--powerhouse {
	--client-logo-width: 56%;
	--client-logo-height: 86%;
	transform: translateY(-8%);
}
.clients__logo--netflix { --client-logo-width: 78%; --client-logo-height: 78%; }
.clients__logo--superbonfire { --client-logo-width: 72%; --client-logo-height: 94%; }

.clients__duplicate-logo {
	opacity: 1;
}

@keyframes tbp-client-marquee {
	to { transform: translateX(-50%); }
}

.section--store {
	background:
		radial-gradient(80% 120% at 80% 0%, rgb(18 167 180 / 0.16), transparent 60%),
		var(--ink-050);
}

.store { max-width: 46rem; }
.store__index { font-family: var(--font-mono); font-size: 0.75rem; letter-spacing: 0.35em; color: var(--ember); margin: 0 0 1rem; }
.store__title { margin-bottom: 0.4em; }
.store__text { margin-bottom: 2rem; }

/* 14. Page heads & prose ------------------------------------------------ */
.page-head {
	padding-block: clamp(7rem, 13vw, 10rem) clamp(2rem, 5vw, 3.5rem);
	background:
		radial-gradient(70% 100% at 10% 0%, rgb(18 167 180 / 0.13), transparent 65%),
		var(--ink-000);
	border-bottom: 1px solid var(--ink-200);
	margin-top: -4.5rem;
}

.page-head__kicker {
	font-family: var(--font-mono);
	font-size: 0.72rem;
	letter-spacing: 0.32em;
	text-transform: uppercase;
	color: var(--accent);
	margin-bottom: 1rem;
}
.page-head__kicker a { text-decoration: none; }
.page-head__title { margin-bottom: 0.3em; }
.page-head__lede { max-width: 52ch; }

.prose { padding-block: clamp(2.5rem, 6vw, 4.5rem); max-width: 74ch; }
.prose h2 { margin-top: 1.6em; }
.prose h3 { margin-top: 1.4em; }
.prose ul, .prose ol { padding-left: 1.25rem; }
.prose li { margin-bottom: 0.4em; }
.prose img { border-radius: var(--radius); }
.prose blockquote {
	margin: 2rem 0;
	padding-left: 1.5rem;
	border-left: 2px solid var(--accent);
	color: var(--text-hi);
	font-size: 1.1em;
}
.prose__hero { margin: 0 0 2.5rem; }
.prose__hero img { border-radius: var(--radius); width: 100%; }

/* about / contact / project layouts */
.about, .contact, .project { padding-block: clamp(2.5rem, 6vw, 4.5rem); }

.about__grid,
.contact__grid,
.project__layout {
	display: grid;
	gap: clamp(2rem, 5vw, 4rem);
	grid-template-columns: minmax(0, 1fr);
	align-items: start;
}

.about__body, .contact__body, .project__body { padding-block: 0; max-width: 68ch; }

.about__aside,
.contact__card,
.project__meta {
	background: var(--ink-050);
	border: 1px solid var(--ink-200);
	border-radius: var(--radius);
	padding: clamp(1.25rem, 3vw, 1.75rem);
	display: grid;
	gap: 1.5rem;
}

.contact__heading { font-size: 1.05rem; margin: 0; }
.contact__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 1rem; }
.contact__list li { display: grid; gap: 0.2rem; }
.contact__label {
	font-family: var(--font-mono);
	font-size: 0.68rem;
	letter-spacing: 0.2em;
	text-transform: uppercase;
	color: var(--text-low);
}

.about__reel { margin-top: clamp(3rem, 7vw, 5rem); }
.project__hero { margin: 0 0 clamp(2rem, 5vw, 3rem); }
.project__hero img { border-radius: var(--radius); width: 100%; }

/* 15. Journal ----------------------------------------------------------- */
.posts { display: grid; gap: clamp(1.5rem, 4vw, 2.5rem); }

.post-item {
	display: grid;
	gap: 1.25rem;
	padding-bottom: clamp(1.5rem, 4vw, 2.5rem);
	border-bottom: 1px solid var(--ink-200);
}

.post-item__media img { border-radius: var(--radius); width: 100%; }
.post-item__title { font-size: clamp(1.3rem, 1.1rem + 0.8vw, 1.75rem); margin-bottom: 0.35em; }
.post-item__title a { color: var(--text-hi); text-decoration: none; }
.post-item__title a:hover { color: var(--accent); }
.post-item__meta {
	font-family: var(--font-mono);
	font-size: 0.7rem;
	letter-spacing: 0.2em;
	text-transform: uppercase;
	color: var(--text-low);
	margin-bottom: 0.6rem;
}

.post-nav {
	display: flex;
	justify-content: space-between;
	gap: 1rem;
	flex-wrap: wrap;
	margin-top: clamp(2.5rem, 6vw, 4rem);
	padding-top: 1.5rem;
	border-top: 1px solid var(--ink-200);
	font-size: 0.9rem;
}

.pagination { margin-top: clamp(2.5rem, 6vw, 4rem); }
.pagination .nav-links { display: flex; flex-wrap: wrap; gap: 0.4rem; }
.pagination .page-numbers {
	display: inline-grid;
	place-items: center;
	min-width: 2.5rem;
	padding: 0.5rem 0.75rem;
	border: 1px solid var(--ink-200);
	border-radius: var(--radius-sm);
	text-decoration: none;
	color: var(--text-mid);
}
.pagination .page-numbers.current { background: var(--accent); color: var(--accent-ink); border-color: var(--accent); font-weight: 600; }

/* 16. Widgets & forms --------------------------------------------------- */
.widget { margin-bottom: 2rem; }
.widget__title { font-size: 1rem; margin-bottom: 0.8em; }
.widget ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.5rem; }

.searchform { display: flex; gap: 0.5rem; flex-wrap: wrap; margin-bottom: 2rem; }

.searchform__field,
input[type="text"], input[type="email"], input[type="url"], input[type="search"], input[type="tel"], textarea {
	flex: 1 1 14rem;
	min-width: 0;
	padding: 0.8em 1em;
	background: var(--ink-050);
	border: 1px solid var(--ink-200);
	border-radius: var(--radius-sm);
	color: var(--text-hi);
	font: inherit;
	font-size: 0.95rem;
}

input::placeholder, textarea::placeholder { color: var(--text-low); }
input:focus, textarea:focus { border-color: var(--accent); outline: none; box-shadow: 0 0 0 3px rgb(70 226 232 / 0.18); }

/* 17. Footer ------------------------------------------------------------ */
.site-footer {
	border-top: 1px solid var(--ink-200);
	padding-block: clamp(3.5rem, 8vw, 6rem) 2.5rem;
	background: var(--ink-050);
}

.site-footer__grid {
	display: grid;
	gap: clamp(2rem, 5vw, 4rem);
	grid-template-columns: minmax(0, 1fr);
}

.site-footer__kicker {
	font-family: var(--font-mono);
	font-size: 0.7rem;
	letter-spacing: 0.28em;
	text-transform: uppercase;
	color: var(--ember);
	margin-bottom: 0.9rem;
}

.site-footer__title {
	font-family: var(--font-display);
	font-size: clamp(1.6rem, 1.2rem + 1.8vw, 2.5rem);
	color: var(--text-hi);
	line-height: 1.1;
	letter-spacing: -0.02em;
	margin-bottom: 1.75rem;
}

.site-footer__actions { display: flex; flex-wrap: wrap; gap: 0.75rem; }

.site-footer__heading {
	font-size: 0.72rem;
	font-family: var(--font-mono);
	letter-spacing: 0.24em;
	text-transform: uppercase;
	color: var(--text-low);
	margin-bottom: 1.1rem;
	font-weight: 500;
}

.site-footer__address { font-style: normal; display: grid; gap: 0.5rem; font-size: 0.92rem; }
.site-footer__address a { text-decoration: none; }
.site-footer__reg { color: var(--text-low); font-size: 0.85rem; }

.social { list-style: none; margin: 0 0 1.25rem; padding: 0; display: grid; gap: 0.45rem; }
.social__link { display: inline-flex; align-items: center; gap: 0.35em; text-decoration: none; font-size: 0.92rem; }

.nav__list--footer { flex-direction: column; align-items: flex-start; gap: 0.45rem; }
.nav__list--footer .nav__link { font-size: 0.9rem; }

.site-footer__legal {
	margin-top: clamp(2.5rem, 6vw, 4rem);
	padding-top: 1.5rem;
	border-top: 1px solid var(--ink-200);
	font-size: 0.8rem;
	color: var(--text-low);
}

/* 18. States ------------------------------------------------------------ */
.tbp-empty {
	padding: clamp(2rem, 5vw, 3rem);
	border: 1px dashed var(--ink-300);
	border-radius: var(--radius);
	text-align: center;
	color: var(--text-low);
}

.tbp-notice {
	padding: 1.25rem 1.5rem;
	border-left: 3px solid var(--ember);
	background: rgb(245 166 60 / 0.08);
	border-radius: var(--radius-sm);
	color: var(--text-hi);
}

/* 18b. Discipline ticker ------------------------------------------------ */
.ticker {
	border-block: 1px solid var(--ink-200);
	background: var(--ink-050);
	overflow: hidden;
}

.ticker__inner {
	display: flex;
	flex-wrap: wrap;
	gap: 0;
}

.ticker__item {
	flex: 1 1 12rem;
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	gap: 0.75rem;
	padding: 1.4rem clamp(0.75rem, 2vw, 1.5rem);
	text-decoration: none;
	color: var(--text-mid);
	border-left: 1px solid var(--ink-200);
	transition: background-color 0.3s var(--ease), color 0.3s var(--ease);
}

.ticker__item:first-child { border-left: 0; }
.ticker__item:hover { background: rgb(70 226 232 / 0.07); color: var(--text-hi); }

.ticker__name {
	font-size: 0.9rem;
	font-weight: 600;
	letter-spacing: 0.01em;
}

.ticker__count {
	font-family: var(--font-mono);
	font-size: 0.7rem;
	color: var(--accent);
	letter-spacing: 0.1em;
}

/* 18c. Spotlight -------------------------------------------------------- */
.spotlight { position: relative; }

.spotlight__link {
	display: grid;
	gap: clamp(1.25rem, 3vw, 2rem);
	text-decoration: none;
	color: inherit;
}

.spotlight__media {
	display: block;
	position: relative;
	overflow: hidden;
	border-radius: var(--radius);
	border: 1px solid var(--ink-200);
	background: var(--ink-100);
	aspect-ratio: 21 / 9;
	box-shadow: var(--shadow);
}

.spotlight__image {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.9s var(--ease), filter 0.5s var(--ease);
	filter: saturate(0.9);
}

.spotlight__link:hover .spotlight__image { transform: scale(1.03); filter: none; }

.spotlight__body { display: grid; gap: 0.6rem; max-width: 58ch; }

.spotlight__meta {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.9rem;
	font-family: var(--font-mono);
	font-size: 0.68rem;
	letter-spacing: 0.24em;
	text-transform: uppercase;
}

.spotlight__tag { color: var(--ember); }
.spotlight__client { color: var(--text-low); letter-spacing: 0.14em; }

.spotlight__title {
	font-family: var(--font-display);
	font-size: clamp(1.6rem, 1.2rem + 1.8vw, 2.6rem);
	font-weight: 650;
	line-height: 1.08;
	letter-spacing: -0.025em;
	color: var(--text-hi);
}

.spotlight__excerpt { color: var(--text-mid); }

.spotlight__cta {
	display: inline-flex;
	align-items: center;
	gap: 0.5em;
	margin-top: 0.4rem;
	color: var(--accent);
	font-weight: 600;
	font-size: 0.95rem;
}

.spotlight__cta::after {
	content: "";
	width: 1.5rem;
	height: 1px;
	background: currentColor;
	transition: width 0.3s var(--ease);
}

.spotlight__link:hover .spotlight__cta::after { width: 2.75rem; }

.spotlight__external { margin-top: 1.25rem; }

/* 18d. Project hero ----------------------------------------------------- */
.project-hero {
	position: relative;
	isolation: isolate;
	margin-top: -4.5rem;
	padding-block: clamp(8rem, 16vw, 13rem) clamp(2.5rem, 6vw, 4.5rem);
	overflow: hidden;
	border-bottom: 1px solid var(--ink-200);
	background: var(--ink-000);
}

.project-hero__media { position: absolute; inset: 0; z-index: -1; }

.project-hero__image {
	width: 100%;
	height: 100%;
	object-fit: cover;
	opacity: 0.55;
}

.project-hero__scrim {
	position: absolute;
	inset: 0;
	background:
		radial-gradient(110% 90% at 10% 100%, rgb(5 7 10 / 0.96) 12%, transparent 62%),
		linear-gradient(to top, var(--ink-000) 6%, rgb(5 7 10 / 0.55) 55%, rgb(5 7 10 / 0.8) 100%);
}

.project-hero__inner { position: relative; }

.project-hero__kicker {
	font-family: var(--font-mono);
	font-size: 0.72rem;
	letter-spacing: 0.3em;
	text-transform: uppercase;
	color: var(--accent);
	margin-bottom: 1rem;
}
.project-hero__kicker a { text-decoration: none; }

.project-hero__title {
	font-size: clamp(2rem, 1.3rem + 3.2vw, 4rem);
	margin-bottom: 0.35em;
	max-width: 20ch;
}

.project-hero__lede {
	max-width: 56ch;
	font-size: clamp(1rem, 0.95rem + 0.35vw, 1.15rem);
	color: var(--text-mid);
	margin: 0;
}

.project__film { margin-block: clamp(2rem, 5vw, 3.5rem); }

.specs__tags { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.specs__tags a { text-decoration: none; font-size: 0.9rem; }

/* 18e. Gallery ---------------------------------------------------------- */
.gallery-stack {
	display: grid;
	gap: clamp(1rem, 2.5vw, 2rem);
	margin-block: clamp(1.5rem, 4vw, 3rem);
}

.gallery-row { display: grid; gap: clamp(1rem, 2.5vw, 2rem); }

.gallery-figure {
	margin: 0;
	min-width: 0;
	display: grid;
	gap: 0.7rem;
}

.gallery-figure__open {
	display: block;
	position: relative;
	width: 100%;
	padding: 0;
	border: 1px solid var(--ink-200);
	border-radius: var(--radius);
	overflow: hidden;
	background: var(--ink-100);
	cursor: zoom-in;
}

.gallery-figure__image {
	width: 100%;
	height: auto;
	display: block;
	transition: transform 0.7s var(--ease);
}

.gallery-figure__open:hover .gallery-figure__image { transform: scale(1.02); }

.gallery-figure__zoom {
	position: absolute;
	right: 0.9rem;
	bottom: 0.9rem;
	width: 2.25rem;
	height: 2.25rem;
	border-radius: 50%;
	background: rgb(5 7 10 / 0.6);
	border: 1px solid rgb(255 255 255 / 0.28);
	backdrop-filter: blur(4px);
	opacity: 0;
	transition: opacity 0.3s var(--ease);
}

.gallery-figure__zoom::before,
.gallery-figure__zoom::after {
	content: "";
	position: absolute;
	top: 50%;
	left: 50%;
	translate: -50% -50%;
	background: var(--text-hi);
}
.gallery-figure__zoom::before { width: 0.9rem; height: 1.5px; }
.gallery-figure__zoom::after { width: 1.5px; height: 0.9rem; }

.gallery-figure__open:hover .gallery-figure__zoom,
.gallery-figure__open:focus-visible .gallery-figure__zoom { opacity: 1; }

.gallery-figure__caption {
	font-size: 0.85rem;
	color: var(--text-low);
	line-height: 1.5;
	max-width: 68ch;
}

/* 18f. Lightbox --------------------------------------------------------- */
body.has-lightbox { overflow: hidden; }

.lightbox {
	position: fixed;
	inset: 0;
	z-index: 200;
	display: grid;
	place-items: center;
	padding: clamp(1rem, 4vw, 3rem);
}

.lightbox[hidden] { display: none; }

.lightbox__backdrop {
	position: absolute;
	inset: 0;
	background: rgb(3 5 7 / 0.94);
	backdrop-filter: blur(6px);
	border: 0;
}

.lightbox__figure {
	position: relative;
	margin: 0;
	max-width: min(100%, 1500px);
	display: grid;
	gap: 0.9rem;
	justify-items: center;
}

.lightbox__image {
	max-width: 100%;
	max-height: 78svh;
	width: auto;
	height: auto;
	object-fit: contain;
	border-radius: var(--radius-sm);
}

.lightbox__caption {
	margin: 0;
	font-size: 0.9rem;
	color: var(--text-mid);
	text-align: center;
	max-width: 74ch;
}

.lightbox__btn {
	position: absolute;
	width: 3rem;
	height: 3rem;
	border-radius: 50%;
	border: 1px solid var(--ink-300);
	background: rgb(10 14 20 / 0.85);
	cursor: pointer;
	display: grid;
	place-items: center;
}

.lightbox__btn:hover { border-color: var(--accent); background: rgb(18 167 180 / 0.2); }

.lightbox__btn::before,
.lightbox__btn::after {
	content: "";
	position: absolute;
	background: var(--text-hi);
	width: 0.85rem;
	height: 1.5px;
}

.lightbox__btn--close { top: clamp(0.75rem, 2vw, 1.5rem); right: clamp(0.75rem, 2vw, 1.5rem); }
.lightbox__btn--close::before { rotate: 45deg; }
.lightbox__btn--close::after { rotate: -45deg; }

.lightbox__btn--prev { left: clamp(0.5rem, 2vw, 1.5rem); top: 50%; translate: 0 -50%; }
.lightbox__btn--next { right: clamp(0.5rem, 2vw, 1.5rem); top: 50%; translate: 0 -50%; }

.lightbox__btn--prev::before { width: 0.7rem; rotate: -45deg; translate: 0 -0.24rem; }
.lightbox__btn--prev::after { width: 0.7rem; rotate: 45deg; translate: 0 0.24rem; }
.lightbox__btn--next::before { width: 0.7rem; rotate: 45deg; translate: 0 -0.24rem; }
.lightbox__btn--next::after { width: 0.7rem; rotate: -45deg; translate: 0 0.24rem; }

.lightbox__counter {
	position: absolute;
	bottom: clamp(0.5rem, 2vw, 1.25rem);
	left: 50%;
	translate: -50% 0;
	margin: 0;
	font-family: var(--font-mono);
	font-size: 0.72rem;
	letter-spacing: 0.2em;
	color: var(--text-low);
}

/* 18g. Cards, filters & archive additions ------------------------------- */
.card__count {
	position: absolute;
	left: 0.75rem;
	bottom: 0.75rem;
	padding: 0.3em 0.7em;
	border-radius: 999px;
	background: rgb(5 7 10 / 0.72);
	border: 1px solid rgb(255 255 255 / 0.14);
	backdrop-filter: blur(4px);
	font-family: var(--font-mono);
	font-size: 0.62rem;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--text-hi);
	opacity: 0;
	transition: opacity 0.3s var(--ease);
}

.card__link:hover .card__count,
.card__link:focus-visible .card__count { opacity: 1; }

.card__external {
	display: inline-flex;
	align-items: center;
	gap: 0.35em;
	margin-top: 0.55rem;
	font-size: 0.82rem;
	text-decoration: none;
	color: var(--text-low);
}
.card__external:hover { color: var(--accent); }

.filters__count {
	font-family: var(--font-mono);
	font-size: 0.65rem;
	opacity: 0.65;
	margin-left: 0.45em;
}

.work-archive { padding-block: clamp(2.5rem, 6vw, 4rem); }

.page-head__count {
	margin: 1rem 0 0;
	font-family: var(--font-mono);
	font-size: 0.72rem;
	letter-spacing: 0.2em;
	text-transform: uppercase;
	color: var(--text-low);
}

.section--related { border-top: 1px solid var(--ink-200); }

.tbp-note {
	font-size: 0.9rem;
	color: var(--text-low);
	border-left: 2px solid var(--ink-300);
	padding-left: 1rem;
}

/* 18h. Reveal ----------------------------------------------------------- */
.will-reveal {
	opacity: 0;
	transform: translateY(18px);
	transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}
.will-reveal.is-revealed { opacity: 1; transform: none; }

/* 19. Responsive -------------------------------------------------------- */
@media (min-width: 48em) {
	.post-item { grid-template-columns: 16rem minmax(0, 1fr); align-items: start; }
	.site-footer__grid { grid-template-columns: 1.4fr 1fr 1fr; }
}

@media (min-width: 45em) {
	.gallery-row--pair { grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: start; }
}

@media (min-width: 62em) {
	.layout { grid-template-columns: minmax(0, 1fr) 18rem; }
	.about__grid,
	.contact__grid,
	.project__layout { grid-template-columns: minmax(0, 1.6fr) minmax(16rem, 0.9fr); }
	.section--reel .wrap { grid-template-columns: minmax(0, 1.7fr) minmax(15rem, 0.8fr); align-items: start; }
	.section--reel .section__head { grid-column: 1 / -1; }

	.spotlight__link {
		grid-template-columns: minmax(0, 1.55fr) minmax(18rem, 0.85fr);
		gap: clamp(2rem, 4vw, 3.5rem);
		align-items: center;
	}
	.spotlight__media { aspect-ratio: 16 / 10; }
}

@media (max-width: 61.99em) {
	.nav-toggle { display: inline-flex; }

	.site-nav {
		position: fixed;
		inset: 4.5rem 0 auto;
		flex-direction: column;
		align-items: stretch;
		gap: 0;
		padding: 1.5rem var(--gutter) 2.5rem;
		background: rgb(5 7 10 / 0.985);
		border-bottom: 1px solid var(--ink-200);
		max-height: calc(100svh - 4.5rem);
		overflow-y: auto;
		transform: translateY(-8px);
		opacity: 0;
		visibility: hidden;
		transition: opacity 0.25s var(--ease), transform 0.25s var(--ease), visibility 0.25s;
	}

	.site-nav.is-open { opacity: 1; visibility: visible; transform: none; }

	.nav__list { flex-direction: column; align-items: stretch; gap: 0; }
	.nav__item { border-bottom: 1px solid var(--ink-200); }
	.nav__link { padding: 0.95rem 0; font-size: 1.05rem; justify-content: space-between; }
	.nav__link::after { display: none; }
	.nav__submenu { position: static; display: block; border: 0; background: none; box-shadow: none; padding: 0 0 0.5rem 1rem; }
	.site-nav__cta { margin-top: 1.5rem; }
	.site-nav__cta .btn { width: 100%; justify-content: center; padding: 0.9em 1.25em; font-size: 0.95rem; }

	.hero__controls { position: static; margin-top: 2rem; padding-inline: var(--gutter); }
	.hero__scroll { display: none; }
}

@media (max-width: 30em) {
	.hero { min-height: 82svh; }
	.btn { width: 100%; justify-content: center; }
	.hero__actions .btn, .site-footer__actions .btn { flex: 1 1 100%; }
	.specs__row { grid-template-columns: minmax(0, 1fr); gap: 0.2rem; }
}

/* 20. Motion & contrast preferences ------------------------------------- */
@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	*, *::before, *::after {
		animation-duration: 0.001ms !important;
		animation-iteration-count: 1 !important;
		transition-duration: 0.001ms !important;
	}
	.card__link:hover { transform: none; }
	.hero .hero__video { opacity: 1; }
	.will-reveal { opacity: 1; transform: none; }
	.gallery-figure__open:hover .gallery-figure__image,
	.spotlight__link:hover .spotlight__image,
	.card__link:hover .card__media img { transform: none; }
	.clients__track { animation: none; }
	.clients__group--duplicate { display: none; }
}

@media (prefers-contrast: more) {
	:root { --text-mid: #d6e0ea; --text-low: #a8b6c6; --ink-200: #35485c; }
}

@media print {
	.site-header, .site-footer, .hero__media, .player__poster { display: none !important; }
	body { background: #fff; color: #000; }
}
