/* ==========================================================================
   CHORNEY — The Hand Behind the Poster
   Cinematic archive. Mobile / iPad first.
   ========================================================================== */

@font-face {
	font-family: "Cormorant Garamond";
	src: url("../assets/fonts/cormorant-garamond.woff2") format("woff2");
	font-weight: 300 600;
	font-style: normal;
	font-display: swap;
}
@font-face {
	font-family: "Cormorant Garamond";
	src: url("../assets/fonts/cormorant-garamond-italic.woff2") format("woff2");
	font-weight: 300 600;
	font-style: italic;
	font-display: swap;
}
@font-face {
	font-family: "Inter";
	src: url("../assets/fonts/inter.woff2") format("woff2");
	font-weight: 300 500;
	font-style: normal;
	font-display: swap;
}

:root {
	--ink: #0a0a0b;
	--ink-2: #0f0f11;
	--ink-3: #151518;
	--panel: #17171a;
	--ivory: #f2ede3;
	--ivory-2: #ddd6c9;
	--muted: #a09a90;
	--muted-2: #736e66;
	--gold: #c6a15b;
	--gold-2: #ddc08a;
	--line: rgba(242, 237, 227, 0.13);
	--line-soft: rgba(242, 237, 227, 0.07);
	--pad: clamp(20px, 5vw, 72px);
	--max: 1560px;
	--header-h: 64px;
	--ease: cubic-bezier(0.22, 0.7, 0.2, 1);
	--font-serif: "Cormorant Garamond", "Iowan Old Style", "Baskerville", "Times New Roman", serif;
	--font-sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
}

*,
*::before,
*::after {
	box-sizing: border-box;
}

html {
	-webkit-text-size-adjust: 100%;
	text-size-adjust: 100%;
	scroll-behavior: smooth;
	scroll-padding-top: calc(var(--header-h) + 16px);
}

body {
	margin: 0;
	background: var(--ink);
	color: var(--ivory-2);
	font-family: var(--font-sans);
	font-weight: 300;
	font-size: 16px;
	line-height: 1.7;
	overflow-x: hidden;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	text-rendering: optimizeLegibility;
}

body.is-locked {
	position: fixed;
	width: 100%;
	overflow: hidden;
}

img,
canvas,
svg {
	display: block;
	max-width: 100%;
}

a {
	color: inherit;
	text-decoration: none;
	-webkit-tap-highlight-color: transparent;
	touch-action: manipulation;
}

button {
	font: inherit;
	color: inherit;
	background: none;
	border: 0;
	padding: 0;
	cursor: pointer;
	-webkit-tap-highlight-color: transparent;
	touch-action: manipulation;
}

[hidden] {
	display: none !important;
}

::selection {
	background: var(--gold);
	color: var(--ink);
}

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

.skip-link {
	position: fixed;
	top: max(10px, env(safe-area-inset-top));
	left: 12px;
	z-index: 1000;
	padding: 12px 18px;
	background: var(--gold);
	color: var(--ink);
	font-size: 12px;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	transform: translateY(-160%);
	transition: transform 0.25s var(--ease);
}
.skip-link:focus {
	transform: translateY(0);
}

/* Film grain -------------------------------------------------------------- */
.grain {
	position: fixed;
	inset: -50%;
	z-index: 3;
	pointer-events: none;
	opacity: 0.045;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.82' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.7'/%3E%3C/svg%3E");
	animation: grain 8s steps(6) infinite;
}
@keyframes grain {
	0%, 100% { transform: translate(0, 0); }
	20% { transform: translate(-2%, 1%); }
	40% { transform: translate(1%, -2%); }
	60% { transform: translate(-1%, 2%); }
	80% { transform: translate(2%, 1%); }
}

/* Header ------------------------------------------------------------------ */
.site-header {
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	z-index: 60;
	padding-top: env(safe-area-inset-top);
	border-bottom: 1px solid transparent;
	transition: background 0.4s var(--ease), border-color 0.4s var(--ease);
}
.site-header::before {
	content: "";
	position: absolute;
	inset: 0;
	z-index: -1;
	pointer-events: none;
	background: linear-gradient(180deg, rgba(8, 8, 10, 0.78) 0%, rgba(8, 8, 10, 0.42) 58%, rgba(8, 8, 10, 0) 100%);
	transition: opacity 0.4s var(--ease);
}
.site-header.is-scrolled::before {
	opacity: 0;
}
.site-header.is-scrolled {
	background: rgba(10, 10, 11, 0.82);
	-webkit-backdrop-filter: saturate(1.1) blur(18px);
	backdrop-filter: saturate(1.1) blur(18px);
	border-bottom-color: var(--line-soft);
}
.site-header__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
	height: var(--header-h);
	max-width: var(--max);
	margin: 0 auto;
	padding: 0 var(--pad);
}
.brand {
	display: flex;
	align-items: baseline;
	gap: 12px;
	line-height: 1;
}
.brand__name {
	font-family: var(--font-serif);
	font-size: 22px;
	font-weight: 500;
	letter-spacing: 0.02em;
	color: var(--ivory);
}
.brand__meta {
	font-size: 9px;
	letter-spacing: 0.26em;
	text-transform: uppercase;
	color: var(--muted-2);
}
.nav {
	display: flex;
	align-items: center;
	gap: clamp(18px, 2.6vw, 42px);
}
.nav a {
	position: relative;
	display: inline-flex;
	align-items: baseline;
	gap: 7px;
	padding: 8px 0;
	font-size: 10px;
	letter-spacing: 0.19em;
	text-transform: uppercase;
	color: var(--ivory-2);
	transition: color 0.25s;
}
.nav a span {
	font-size: 8px;
	letter-spacing: 0.08em;
	color: var(--gold);
	opacity: 0.8;
}
.nav a::after {
	content: "";
	position: absolute;
	left: 0;
	right: 0;
	bottom: 2px;
	height: 1px;
	background: var(--gold);
	transform: scaleX(0);
	transform-origin: right;
	transition: transform 0.35s var(--ease);
}
.nav a:hover {
	color: var(--ivory);
}
.nav a:hover::after {
	transform: scaleX(1);
	transform-origin: left;
}

.menu-btn {
	display: none;
	align-items: center;
	gap: 10px;
	height: 44px;
	padding-left: 10px;
}
.menu-btn__label {
	font-size: 10px;
	letter-spacing: 0.2em;
	text-transform: uppercase;
}
.menu-btn__lines {
	position: relative;
	display: block;
	width: 24px;
	height: 10px;
}
.menu-btn__lines i {
	position: absolute;
	left: 0;
	right: 0;
	height: 1px;
	background: var(--ivory);
	transition: transform 0.35s var(--ease), top 0.35s var(--ease);
}
.menu-btn__lines i:first-child { top: 2px; }
.menu-btn__lines i:last-child { top: 8px; }
body.menu-open .menu-btn__lines i:first-child { top: 5px; transform: rotate(45deg); }
body.menu-open .menu-btn__lines i:last-child { top: 5px; transform: rotate(-45deg); }

/* Mobile menu ------------------------------------------------------------- */
.menu {
	position: fixed;
	inset: 0;
	z-index: 55;
	display: flex;
	flex-direction: column;
	justify-content: center;
	background: var(--ink);
	opacity: 0;
	visibility: hidden;
	transition: opacity 0.45s var(--ease), visibility 0.45s;
}
.menu.is-open {
	opacity: 1;
	visibility: visible;
}
.menu__inner {
	width: 100%;
	max-width: var(--max);
	margin: 0 auto;
	padding: calc(var(--header-h) + env(safe-area-inset-top) + 24px) var(--pad) calc(32px + env(safe-area-inset-bottom));
}
.menu__nav {
	display: flex;
	flex-direction: column;
}
.menu__nav a {
	display: flex;
	align-items: baseline;
	gap: 18px;
	padding: 16px 0;
	border-bottom: 1px solid var(--line-soft);
	font-family: var(--font-serif);
	font-size: clamp(36px, 9vw, 68px);
	font-weight: 300;
	line-height: 1.05;
	color: var(--ivory);
	opacity: 0;
	transform: translateY(18px);
	transition: opacity 0.5s var(--ease), transform 0.5s var(--ease);
}
.menu.is-open .menu__nav a { opacity: 1; transform: none; }
.menu.is-open .menu__nav a:nth-child(1) { transition-delay: 0.08s; }
.menu.is-open .menu__nav a:nth-child(2) { transition-delay: 0.13s; }
.menu.is-open .menu__nav a:nth-child(3) { transition-delay: 0.18s; }
.menu.is-open .menu__nav a:nth-child(4) { transition-delay: 0.23s; }
.menu__nav a span {
	font-family: var(--font-sans);
	font-size: 10px;
	letter-spacing: 0.18em;
	color: var(--gold);
}
.menu__foot {
	margin-top: 44px;
	font-size: 12px;
	letter-spacing: 0.06em;
	color: var(--muted);
}
.menu__foot a {
	display: inline-block;
	padding: 10px 0;
	color: var(--ivory);
	border-bottom: 1px solid var(--gold);
}
.menu__foot p { margin: 8px 0 0; }

/* Shared type ------------------------------------------------------------- */
.eyebrow,
.kicker {
	margin: 0;
	font-size: 10px;
	font-weight: 400;
	letter-spacing: 0.24em;
	text-transform: uppercase;
	color: var(--muted);
}
.kicker {
	display: flex;
	align-items: center;
	gap: 14px;
	color: var(--ivory-2);
}
.kicker span {
	font-family: var(--font-serif);
	font-size: 13px;
	font-style: italic;
	letter-spacing: 0.02em;
	color: var(--gold);
}
.kicker::after {
	content: "";
	width: clamp(28px, 5vw, 72px);
	height: 1px;
	background: var(--line);
}

.display {
	margin: 18px 0 0;
	font-family: var(--font-serif);
	font-weight: 300;
	font-size: clamp(44px, 6.4vw, 92px);
	line-height: 0.98;
	letter-spacing: -0.015em;
	color: var(--ivory);
}
.display em {
	font-style: italic;
	color: var(--gold-2);
}
.display--xl {
	font-size: clamp(44px, 6.2vw, 100px);
}

.section {
	position: relative;
	padding: clamp(84px, 11vw, 168px) var(--pad);
}
.section__head {
	width: 100%;
	max-width: var(--max);
	margin: 0 auto clamp(44px, 6vw, 88px);
	display: grid;
	grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
	column-gap: clamp(32px, 6vw, 120px);
	align-items: end;
}
.section__head .kicker {
	grid-column: 1 / -1;
	margin-bottom: clamp(18px, 2.5vw, 30px);
}
.section__head .display {
	margin-top: 0;
}
.section__intro {
	margin: 0 0 0.4em;
	max-width: 31rem;
	font-size: clamp(14px, 1.2vw, 16px);
	line-height: 1.75;
	color: var(--muted);
}

/* Buttons ----------------------------------------------------------------- */
.btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 50px;
	padding: 0 24px;
	border: 1px solid transparent;
	border-radius: 2px;
	font-size: 10px;
	font-weight: 400;
	letter-spacing: 0.2em;
	text-transform: uppercase;
	white-space: nowrap;
	transition: background 0.3s var(--ease), color 0.3s var(--ease), border-color 0.3s var(--ease), transform 0.3s var(--ease);
}
.btn--gold {
	background: var(--gold);
	color: #12100c;
}
.btn--ghost {
	border-color: rgba(242, 237, 227, 0.28);
	color: var(--ivory);
}
.btn--small {
	min-height: 44px;
	padding: 0 18px;
	font-size: 9px;
}
.btn:active { transform: scale(0.98); }
@media (hover: hover) {
	.btn--gold:hover { background: var(--gold-2); }
	.btn--ghost:hover { border-color: var(--gold); color: var(--gold-2); }
}

.round-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 48px;
	height: 48px;
	border: 1px solid var(--line);
	border-radius: 50%;
	color: var(--ivory);
	transition: border-color 0.3s, color 0.3s, background 0.3s;
}
.round-btn svg {
	width: 18px;
	height: 18px;
	fill: none;
	stroke: currentColor;
	stroke-width: 1.4;
	stroke-linecap: round;
	stroke-linejoin: round;
}
@media (hover: hover) {
	.round-btn:hover { border-color: var(--gold); color: var(--gold-2); }
}

.text-link {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	font-size: 11px;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	color: var(--ivory);
	border-bottom: 1px solid rgba(198, 161, 91, 0.55);
	padding-bottom: 6px;
}
.text-link span { color: var(--gold); transition: transform 0.3s var(--ease); }
@media (hover: hover) {
	.text-link:hover span { transform: translateX(5px); }
}

/* Hero -------------------------------------------------------------------- */
.hero {
	position: relative;
	min-height: 100vh;
	min-height: 100svh;
	display: flex;
	flex-direction: column;
	justify-content: center;
	overflow: hidden;
	padding: calc(var(--header-h) + env(safe-area-inset-top) + clamp(48px, 8vh, 96px)) var(--pad) calc(84px + env(safe-area-inset-bottom));
	isolation: isolate;
}
.hero__bg {
	position: absolute;
	inset: 0;
	z-index: -4;
	background:
		radial-gradient(ellipse 80% 70% at 68% 38%, #1b191d 0%, #0e0e10 48%, #08080a 100%),
		linear-gradient(180deg, #0b0b0d 0%, #0a0a0b 100%);
}
.hero__canvas {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	z-index: -2;
	opacity: 0;
	transition: opacity 1.6s var(--ease);
}
.hero.is-live .hero__canvas { opacity: 1; }
.hero__fallback {
	position: absolute;
	inset: -4%;
	z-index: -3;
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 3vw;
	opacity: 0;
	filter: blur(2px) saturate(0.8);
	transform: scale(1.05) rotate(-3deg);
}
.hero__fallback img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	opacity: 0.55;
}
.hero--no-webgl .hero__fallback { opacity: 0.45; }
.hero__scrim {
	position: absolute;
	inset: 0;
	z-index: -1;
	background:
		linear-gradient(90deg, rgba(8, 8, 10, 0.94) 0%, rgba(8, 8, 10, 0.82) 34%, rgba(8, 8, 10, 0.32) 68%, rgba(8, 8, 10, 0.56) 100%),
		radial-gradient(ellipse 70% 60% at 18% 52%, rgba(8, 8, 10, 0.55) 0%, rgba(8, 8, 10, 0) 70%),
		linear-gradient(180deg, rgba(8, 8, 10, 0.72) 0%, rgba(8, 8, 10, 0) 22%, rgba(8, 8, 10, 0) 72%, rgba(8, 8, 10, 0.86) 100%);
}
.hero__inner {
	position: relative;
	z-index: 2;
	width: 100%;
	max-width: var(--max);
	margin: 0 auto;
}
.hero__inner > * {
	max-width: min(46rem, 100%);
}
.hero__title {
	margin: 18px 0 0;
	font-family: var(--font-serif);
	font-weight: 300;
	font-size: clamp(58px, 10.4vw, 152px);
	line-height: 0.82;
	letter-spacing: -0.025em;
	color: var(--ivory);
}
.hero__title span,
.hero__title em {
	display: block;
}
.hero__title em {
	font-style: italic;
	font-weight: 300;
	color: var(--gold-2);
	padding-left: 0.06em;
}
.hero__tagline {
	margin: clamp(22px, 3.5vw, 38px) 0 0;
	font-family: var(--font-serif);
	font-size: clamp(22px, 2.6vw, 34px);
	font-style: italic;
	line-height: 1.2;
	color: var(--ivory);
}
.hero__lede {
	margin: 18px 0 0;
	max-width: 35rem;
	font-size: clamp(13px, 1.15vw, 15px);
	line-height: 1.75;
	color: var(--muted);
}
.hero__lede em {
	font-family: var(--font-serif);
	font-size: 1.1em;
	font-style: italic;
	color: var(--ivory-2);
}
.hero__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	margin-top: clamp(28px, 4vw, 44px);
}
.hero__foot {
	position: absolute;
	left: var(--pad);
	right: var(--pad);
	bottom: calc(24px + env(safe-area-inset-bottom));
	z-index: 2;
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	gap: 24px;
}
.hero__fact {
	margin: 0;
	font-size: 9px;
	letter-spacing: 0.22em;
	text-transform: uppercase;
	color: var(--muted-2);
}
.scroll-cue {
	display: inline-flex;
	align-items: center;
	gap: 12px;
	font-size: 9px;
	letter-spacing: 0.22em;
	text-transform: uppercase;
	color: var(--muted);
}
.scroll-cue i {
	position: relative;
	display: block;
	width: 1px;
	height: 42px;
	background: rgba(242, 237, 227, 0.2);
	overflow: hidden;
}
.scroll-cue i::after {
	content: "";
	position: absolute;
	inset: 0;
	background: var(--gold);
	transform: translateY(-100%);
	animation: scrollLine 2.4s var(--ease) infinite;
}
@keyframes scrollLine {
	0% { transform: translateY(-100%); }
	55% { transform: translateY(0); }
	100% { transform: translateY(100%); }
}

/* Reveal ------------------------------------------------------------------ */
.reveal-ready [data-reveal] {
	opacity: 0;
	transform: translateY(22px);
	transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
}
.reveal-ready [data-reveal].is-in {
	opacity: 1;
	transform: none;
}

/* Selected ---------------------------------------------------------------- */
.section--selected {
	overflow: hidden;
	padding-right: 0;
	padding-left: 0;
	background: linear-gradient(180deg, #0a0a0b 0%, #0c0c0e 100%);
}
.section--selected .section__head {
	padding: 0 var(--pad);
}
.rail-wrap { position: relative; }
.rail {
	display: flex;
	align-items: stretch;
	gap: clamp(18px, 2.4vw, 34px);
	overflow-x: auto;
	overflow-y: hidden;
	padding: 4px var(--pad) 20px;
	scroll-snap-type: x proximity;
	scroll-padding-left: var(--pad);
	-webkit-overflow-scrolling: touch;
	scrollbar-width: none;
	overscroll-behavior-x: contain;
}
.rail::-webkit-scrollbar { display: none; }
.rail:focus-visible { outline-offset: -4px; }
.feature {
	flex: 0 0 clamp(258px, 31vw, 452px);
	scroll-snap-align: center;
	display: flex;
	flex-direction: column;
}
.feature__media {
	position: relative;
	display: block;
	width: 100%;
	height: clamp(300px, 45vh, 540px);
	padding: 0;
	background:
		radial-gradient(ellipse at 50% 40%, #19181c 0%, #101012 70%);
	border: 1px solid var(--line-soft);
	overflow: hidden;
}
.feature__media::after {
	content: "";
	position: absolute;
	inset: 0;
	box-shadow: inset 0 0 60px rgba(0, 0, 0, 0.5);
	pointer-events: none;
}
.feature__media img {
	width: 100%;
	height: 100%;
	object-fit: contain;
	transition: transform 0.9s var(--ease), filter 0.6s;
}
.feature__meta {
	display: grid;
	grid-template-columns: auto 1fr;
	column-gap: 14px;
	padding-top: 16px;
}
.feature__year {
	grid-column: 1;
	font-family: var(--font-serif);
	font-size: 13px;
	font-style: italic;
	color: var(--gold);
	padding-top: 2px;
}
.feature__body { grid-column: 2; }
.feature__title {
	margin: 0;
	font-family: var(--font-serif);
	font-size: clamp(20px, 2vw, 27px);
	font-weight: 400;
	line-height: 1.12;
	color: var(--ivory);
}
.feature__role {
	margin: 5px 0 0;
	font-size: 9px;
	letter-spacing: 0.18em;
	text-transform: uppercase;
	color: var(--muted-2);
}
.feature__note {
	margin: 10px 0 0;
	font-size: 13px;
	line-height: 1.65;
	color: var(--muted);
}
@media (hover: hover) {
	.feature__media:hover img { transform: scale(1.025); filter: brightness(1.06); }
	.feature__media:hover { border-color: rgba(198, 161, 91, 0.4); }
}
.rail__ui {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
	max-width: var(--max);
	margin: 14px auto 0;
	padding: 0 var(--pad);
}
.rail__progress {
	position: relative;
	flex: 1;
	height: 1px;
	background: var(--line-soft);
	overflow: hidden;
}
.rail__progress span {
	position: absolute;
	top: 0;
	bottom: 0;
	left: 0;
	width: 20%;
	background: var(--gold);
	transform-origin: left;
	transition: transform 0.15s linear;
}
.rail__buttons { display: flex; gap: 10px; }

/* Archive ----------------------------------------------------------------- */
.section--archive {
	background: var(--ink-2);
	border-top: 1px solid var(--line-soft);
}
.archive__bar {
	position: sticky;
	top: calc(var(--header-h) + env(safe-area-inset-top));
	z-index: 30;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 20px;
	max-width: var(--max);
	margin: 0 auto;
	padding: 14px 0;
	background: linear-gradient(180deg, rgba(15, 15, 17, 0.96) 0%, rgba(15, 15, 17, 0.9) 100%);
	-webkit-backdrop-filter: blur(12px);
	backdrop-filter: blur(12px);
	border-top: 1px solid var(--line-soft);
	border-bottom: 1px solid var(--line-soft);
}
.filters {
	display: flex;
	align-items: center;
	gap: 6px;
	overflow-x: auto;
	scrollbar-width: none;
	-webkit-overflow-scrolling: touch;
	padding: 2px;
}
.filters::-webkit-scrollbar { display: none; }
.filter {
	flex: 0 0 auto;
	display: inline-flex;
	align-items: center;
	gap: 7px;
	min-height: 38px;
	padding: 0 13px;
	border: 1px solid transparent;
	border-radius: 2px;
	font-size: 10px;
	letter-spacing: 0.13em;
	text-transform: uppercase;
	color: var(--muted);
	transition: color 0.25s, border-color 0.25s, background 0.25s;
}
.filter b {
	font-weight: 400;
	font-size: 9px;
	color: var(--muted-2);
}
.filter.is-active {
	color: var(--ink);
	background: var(--ivory);
	border-color: var(--ivory);
}
.filter.is-active b { color: rgba(10, 10, 11, 0.55); }
@media (hover: hover) {
	.filter:not(.is-active):hover { color: var(--ivory); border-color: var(--line); }
}
.view-toggle {
	flex: 0 0 auto;
	display: flex;
	border: 1px solid var(--line);
	border-radius: 2px;
	overflow: hidden;
}
.view-toggle__btn {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	min-height: 38px;
	padding: 0 14px;
	font-size: 9px;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	color: var(--muted);
	transition: background 0.25s, color 0.25s;
}
.view-toggle__btn.is-active { background: rgba(242, 237, 227, 0.09); color: var(--ivory); }
.view-toggle__dot {
	width: 5px;
	height: 5px;
	border-radius: 50%;
	background: var(--gold);
	box-shadow: 0 0 0 0 rgba(198, 161, 91, 0.6);
	animation: pulse 2.8s infinite;
}
@keyframes pulse {
	0%, 100% { box-shadow: 0 0 0 0 rgba(198, 161, 91, 0.5); }
	50% { box-shadow: 0 0 0 5px rgba(198, 161, 91, 0); }
}
.archive__status {
	max-width: var(--max);
	margin: 22px auto 18px;
	font-size: 10px;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	color: var(--muted-2);
}
.archive__status [data-count] { color: var(--ivory); }
.archive__status-sep { margin: 0 8px; color: var(--gold); }

.archive__grid {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	column-gap: clamp(12px, 1.5vw, 24px);
	grid-auto-rows: 1px;
	align-items: start;
	max-width: var(--max);
	margin: 0 auto;
}
.tile {
	display: block;
	position: relative;
	align-self: start;
	color: inherit;
}
.tile__frame {
	position: relative;
	display: block;
	aspect-ratio: var(--ar, 0.7);
	background: #101012;
	overflow: hidden;
	border: 1px solid var(--line-soft);
	transition: border-color 0.35s;
}
.tile__frame::after {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(180deg, rgba(0, 0, 0, 0) 55%, rgba(0, 0, 0, 0.28) 100%);
	pointer-events: none;
}
.tile img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	opacity: 0;
	transition: opacity 0.7s var(--ease), transform 0.9s var(--ease), filter 0.5s;
}
.tile img.is-loaded { opacity: 1; }
.tile__meta {
	display: block;
	padding: 10px 1px 0;
}
.tile__title {
	display: block;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
	font-size: 12px;
	font-weight: 400;
	line-height: 1.35;
	letter-spacing: 0.01em;
	color: var(--ivory-2);
}
.tile__cat {
	display: block;
	margin-top: 4px;
	font-size: 8px;
	letter-spacing: 0.18em;
	text-transform: uppercase;
	color: var(--muted-2);
}
@media (hover: hover) {
	.tile:hover .tile__frame { border-color: rgba(198, 161, 91, 0.55); }
	.tile:hover img { transform: scale(1.035); filter: brightness(1.06); }
	.tile:hover .tile__title { color: var(--ivory); }
}
.archive__empty {
	max-width: var(--max);
	margin: 60px auto;
	text-align: center;
	color: var(--muted);
}
.archive__foot {
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	gap: 28px;
	max-width: var(--max);
	margin: clamp(48px, 6vw, 80px) auto 0;
	padding-top: 24px;
	border-top: 1px solid var(--line-soft);
}
.archive__foot p {
	margin: 0;
	max-width: 28rem;
	font-size: 12px;
	color: var(--muted-2);
}

/* Artist ------------------------------------------------------------------ */
.section--artist {
	background:
		radial-gradient(ellipse 70% 60% at 18% 18%, rgba(198, 161, 91, 0.055), transparent 70%),
		var(--ink);
	border-top: 1px solid var(--line-soft);
}
.artist__top {
	display: grid;
	grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
	column-gap: clamp(40px, 8vw, 140px);
	align-items: start;
	max-width: var(--max);
	margin: 0 auto;
}
.artist__visual figure {
	margin: 0;
}
.artist__visual img {
	width: 100%;
	height: auto;
	border: 1px solid var(--line);
	background: var(--ink-3);
}
.artist__visual figcaption {
	margin-top: 12px;
	font-size: 10px;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	color: var(--muted-2);
}
.artist__visual figcaption em {
	font-family: var(--font-serif);
	font-size: 12px;
	letter-spacing: 0.02em;
	text-transform: none;
	color: var(--muted);
}
.artist__copy .display { margin-top: 18px; }
.prose {
	margin-top: clamp(28px, 3vw, 42px);
	max-width: 43rem;
}
.prose p {
	margin: 0 0 1.25em;
	font-size: clamp(14px, 1.15vw, 16px);
	line-height: 1.8;
	color: var(--muted);
}
.prose p:first-child {
	font-size: clamp(17px, 1.5vw, 20px);
	line-height: 1.65;
	color: var(--ivory-2);
}
.prose em {
	font-family: var(--font-serif);
	font-size: 1.12em;
	font-style: italic;
	color: var(--ivory);
}
.quote {
	max-width: 1150px;
	margin: clamp(64px, 8vw, 120px) auto;
	padding: 0;
	text-align: center;
}
.quote p {
	margin: 0;
	font-family: var(--font-serif);
	font-size: clamp(30px, 4.6vw, 66px);
	font-weight: 300;
	font-style: italic;
	line-height: 1.12;
	letter-spacing: -0.01em;
	color: var(--ivory);
	text-wrap: balance;
}
.quote cite {
	display: block;
	margin-top: 26px;
	font-family: var(--font-sans);
	font-size: 9px;
	font-style: normal;
	letter-spacing: 0.24em;
	text-transform: uppercase;
	color: var(--gold);
}
.timeline {
	list-style: none;
	max-width: 1150px;
	margin: 0 auto;
	padding: 0;
	border-top: 1px solid var(--line-soft);
}
.timeline__item {
	display: grid;
	grid-template-columns: 150px minmax(0, 1fr);
	column-gap: clamp(20px, 4vw, 60px);
	padding: 26px 0;
	border-bottom: 1px solid var(--line-soft);
}
.timeline__year {
	font-family: var(--font-serif);
	font-size: 15px;
	font-style: italic;
	color: var(--gold);
}
.timeline__item h3 {
	margin: 0 0 6px;
	font-family: var(--font-serif);
	font-size: clamp(21px, 2vw, 27px);
	font-weight: 400;
	line-height: 1.2;
	color: var(--ivory);
}
.timeline__item p {
	margin: 0;
	max-width: 46rem;
	font-size: 13px;
	line-height: 1.7;
	color: var(--muted);
}
.timeline__item p em {
	font-family: var(--font-serif);
	font-size: 1.12em;
	font-style: italic;
	color: var(--ivory-2);
}

/* Contact ----------------------------------------------------------------- */
.section--contact {
	background:
		radial-gradient(ellipse 60% 70% at 80% 20%, rgba(198, 161, 91, 0.08), transparent 65%),
		var(--ink-2);
	border-top: 1px solid var(--line-soft);
}
.contact__grid {
	display: grid;
	grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
	column-gap: clamp(40px, 8vw, 140px);
	align-items: end;
	max-width: var(--max);
	margin: clamp(30px, 4vw, 54px) auto 0;
}
.contact__lede {
	margin: 26px 0 0;
	max-width: 28rem;
	font-size: 14px;
	line-height: 1.75;
	color: var(--muted);
}
.contact__card {
	padding: clamp(24px, 3vw, 40px);
	border: 1px solid var(--line);
	background: rgba(23, 23, 26, 0.55);
}
.contact__label {
	margin: 0 0 14px;
	font-size: 9px;
	letter-spacing: 0.22em;
	text-transform: uppercase;
	color: var(--gold);
}
.contact__email {
	display: inline-block;
	font-family: var(--font-serif);
	font-size: clamp(25px, 3vw, 40px);
	font-weight: 300;
	line-height: 1.1;
	color: var(--ivory);
	border-bottom: 1px solid rgba(198, 161, 91, 0.5);
	overflow-wrap: anywhere;
	transition: color 0.25s, border-color 0.25s;
}
@media (hover: hover) {
	.contact__email:hover { color: var(--gold-2); border-color: var(--gold-2); }
}
.contact__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin-top: 28px;
}
.contact__facts {
	margin: 30px 0 0;
	padding-top: 20px;
	border-top: 1px solid var(--line-soft);
}
.contact__facts > div {
	display: flex;
	justify-content: space-between;
	gap: 20px;
	padding: 7px 0;
	font-size: 11px;
}
.contact__facts dt {
	margin: 0;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	color: var(--muted-2);
}
.contact__facts dd {
	margin: 0;
	color: var(--ivory-2);
}

/* Footer ------------------------------------------------------------------ */
.site-footer {
	border-top: 1px solid var(--line-soft);
	padding: 42px var(--pad) calc(42px + env(safe-area-inset-bottom));
	background: var(--ink);
}
.site-footer__inner {
	display: grid;
	grid-template-columns: 1fr auto 1fr;
	align-items: center;
	gap: 30px;
	max-width: var(--max);
	margin: 0 auto;
}
.brand--footer { justify-self: start; }
.site-footer__nav {
	display: flex;
	gap: clamp(18px, 3vw, 40px);
	font-size: 9px;
	letter-spacing: 0.18em;
	text-transform: uppercase;
	color: var(--muted);
}
.site-footer__legal {
	margin: 0;
	justify-self: end;
	text-align: right;
	font-size: 10px;
	line-height: 1.7;
	color: var(--muted-2);
}
.site-footer__legal span { color: rgba(115, 110, 102, 0.7); }

/* Lightbox ---------------------------------------------------------------- */
.lightbox {
	position: fixed;
	inset: 0;
	z-index: 200;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: calc(20px + env(safe-area-inset-top)) clamp(12px, 3vw, 40px) calc(20px + env(safe-area-inset-bottom));
	opacity: 0;
	transition: opacity 0.35s var(--ease);
}
.lightbox.is-open { opacity: 1; }
.lightbox__backdrop {
	position: absolute;
	inset: 0;
	background: rgba(6, 6, 7, 0.97);
	-webkit-backdrop-filter: blur(10px);
	backdrop-filter: blur(10px);
}
.lightbox__stage {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: clamp(8px, 2vw, 24px);
	width: min(1320px, 100%);
	height: 100%;
	transform: translateY(10px) scale(0.995);
	transition: transform 0.45s var(--ease);
}
.lightbox.is-open .lightbox__stage { transform: none; }
.lb-close {
	position: absolute;
	top: max(-8px, env(safe-area-inset-top));
	right: 0;
	z-index: 3;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 46px;
	height: 46px;
	border: 1px solid var(--line);
	border-radius: 50%;
	color: var(--ivory);
	background: rgba(10, 10, 11, 0.4);
	transition: background 0.25s, border-color 0.25s;
}
.lb-close svg, .wall__close svg {
	width: 16px;
	height: 16px;
	fill: none;
	stroke: currentColor;
	stroke-width: 1.4;
	stroke-linecap: round;
}
.lb-nav {
	position: relative;
	z-index: 3;
	flex: 0 0 auto;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 46px;
	height: 46px;
	border: 1px solid var(--line);
	border-radius: 50%;
	color: var(--ivory);
	background: rgba(10, 10, 11, 0.35);
	transition: border-color 0.25s, color 0.25s, background 0.25s;
}
.lb-nav svg {
	width: 18px;
	height: 18px;
	fill: none;
	stroke: currentColor;
	stroke-width: 1.4;
	stroke-linecap: round;
	stroke-linejoin: round;
}
@media (hover: hover) {
	.lb-close:hover, .lb-nav:hover { border-color: var(--gold); color: var(--gold-2); background: rgba(20, 20, 22, 0.7); }
}
.lb-figure {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	flex: 1 1 auto;
	min-width: 0;
	height: 100%;
	margin: 0;
}
.lb-frame {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
	flex: 1 1 auto;
	min-height: 0;
	width: 100%;
}
.lb-img {
	max-width: 100%;
	max-height: 100%;
	width: auto;
	height: auto;
	object-fit: contain;
	opacity: 0;
	box-shadow: 0 30px 80px rgba(0, 0, 0, 0.65);
	transition: opacity 0.35s var(--ease);
}
.lb-img.is-loaded { opacity: 1; }
.lb-spinner {
	position: absolute;
	top: 50%;
	left: 50%;
	width: 26px;
	height: 26px;
	margin: -13px 0 0 -13px;
	border: 1px solid rgba(242, 237, 227, 0.16);
	border-top-color: var(--gold);
	border-radius: 50%;
	animation: spin 0.9s linear infinite;
}
.lb-spinner.is-hidden { display: none; }
@keyframes spin { to { transform: rotate(360deg); } }
.lb-caption {
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	gap: 24px;
	width: 100%;
	max-width: 1040px;
	margin-top: 18px;
	padding-top: 14px;
	border-top: 1px solid var(--line-soft);
}
.lb-cat {
	margin: 0 0 4px;
	font-size: 8px;
	letter-spacing: 0.2em;
	text-transform: uppercase;
	color: var(--gold);
}
.lb-title {
	margin: 0;
	font-family: var(--font-serif);
	font-size: clamp(20px, 2.2vw, 30px);
	font-weight: 400;
	line-height: 1.15;
	color: var(--ivory);
}
.lb-count {
	flex: 0 0 auto;
	margin: 0;
	font-size: 9px;
	letter-spacing: 0.18em;
	text-transform: uppercase;
	color: var(--muted-2);
}

/* 3D wall ----------------------------------------------------------------- */
.wall {
	position: fixed;
	inset: 0;
	z-index: 150;
	overflow: hidden;
	background:
		radial-gradient(ellipse 70% 60% at 50% 32%, #1a181d 0%, #0b0b0d 55%, #070708 100%);
	opacity: 0;
	transition: opacity 0.5s var(--ease);
}
.wall.is-open { opacity: 1; }
.wall__canvas {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	touch-action: none;
	cursor: grab;
}
.wall__canvas:active { cursor: grabbing; }
.wall__top {
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	z-index: 3;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 18px;
	padding: calc(14px + env(safe-area-inset-top)) var(--pad) 20px;
	background: linear-gradient(180deg, rgba(6, 6, 7, 0.9) 0%, rgba(6, 6, 7, 0) 100%);
	pointer-events: none;
}
.wall__top > * { pointer-events: auto; }
.wall__close {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	min-height: 44px;
	font-size: 9px;
	letter-spacing: 0.18em;
	text-transform: uppercase;
	color: var(--ivory);
}
.wall__label {
	margin: 0;
	font-family: var(--font-serif);
	font-size: 15px;
	font-style: italic;
	letter-spacing: 0.02em;
	color: var(--ivory);
}
.wall__index {
	margin: 0;
	font-size: 10px;
	letter-spacing: 0.14em;
	color: var(--muted);
	font-variant-numeric: tabular-nums;
}
.wall__slash { margin: 0 5px; color: var(--gold); }
.wall__bottom {
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	z-index: 3;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 14px;
	padding: 40px var(--pad) calc(18px + env(safe-area-inset-bottom));
	background: linear-gradient(0deg, rgba(6, 6, 7, 0.94) 0%, rgba(6, 6, 7, 0.55) 55%, rgba(6, 6, 7, 0) 100%);
	pointer-events: none;
}
.wall__bottom > * { pointer-events: auto; }
.wall__chips {
	display: flex;
	gap: 6px;
	max-width: 100%;
	overflow-x: auto;
	scrollbar-width: none;
	-webkit-overflow-scrolling: touch;
	padding: 2px;
}
.wall__chips::-webkit-scrollbar { display: none; }
.wall__chip {
	flex: 0 0 auto;
	min-height: 34px;
	padding: 0 12px;
	border: 1px solid var(--line);
	border-radius: 2px;
	font-size: 9px;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--muted);
}
.wall__chip.is-active {
	background: var(--ivory);
	border-color: var(--ivory);
	color: var(--ink);
}
.wall__caption {
	text-align: center;
	min-height: 66px;
}
.wall__cat {
	margin: 0 0 5px;
	font-size: 8px;
	letter-spacing: 0.22em;
	text-transform: uppercase;
	color: var(--gold);
}
.wall__title {
	margin: 0;
	font-family: var(--font-serif);
	font-size: clamp(22px, 3vw, 38px);
	font-weight: 400;
	line-height: 1.1;
	color: var(--ivory);
	text-wrap: balance;
	max-width: 18em;
}
.wall__controls {
	display: flex;
	align-items: center;
	gap: 12px;
}
.wall__hint {
	margin: 0;
	font-size: 8px;
	letter-spacing: 0.18em;
	text-transform: uppercase;
	color: var(--muted-2);
}
.wall__loader {
	position: absolute;
	inset: 0;
	z-index: 4;
	display: flex;
	align-items: center;
	justify-content: center;
	background: #08080a;
	transition: opacity 0.6s var(--ease);
	pointer-events: none;
}
.wall__loader span {
	width: 30px;
	height: 30px;
	border: 1px solid rgba(242, 237, 227, 0.16);
	border-top-color: var(--gold);
	border-radius: 50%;
	animation: spin 0.9s linear infinite;
}
.wall__loader.is-hidden { opacity: 0; }

/* Noscript / misc --------------------------------------------------------- */
.noscript {
	position: fixed;
	inset: auto 0 0 0;
	z-index: 500;
	padding: 16px var(--pad);
	background: var(--gold);
	color: var(--ink);
	font-size: 13px;
	text-align: center;
}

/* Responsive -------------------------------------------------------------- */
@media (min-width: 900px) {
	:root { --header-h: 76px; }
}
@media (max-width: 1100px) {
	.archive__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
	.artist__top { column-gap: clamp(32px, 5vw, 70px); }
}
/* On tablets, wrap the filters so no category hides off the edge. */
@media (min-width: 561px) and (max-width: 1100px) {
	.archive__bar { flex-direction: column; align-items: stretch; gap: 10px; }
	.filters { flex-wrap: wrap; overflow: visible; }
	.view-toggle { align-self: flex-start; }
}
@media (min-width: 901px) {
	.artist__visual { position: sticky; top: calc(var(--header-h) + 40px); }
}
@media (max-width: 900px) {
	.nav { display: none; }
	.menu-btn { display: inline-flex; }
	.section__head { grid-template-columns: 1fr; row-gap: 22px; align-items: start; }
	.section__intro { max-width: 34rem; }
	.contact__grid { grid-template-columns: 1fr; row-gap: 34px; }
	.artist__top { grid-template-columns: 1fr; row-gap: 46px; }
	.artist__visual { max-width: 560px; }
	.site-footer__inner { grid-template-columns: 1fr; justify-items: start; gap: 22px; }
	.site-footer__legal { justify-self: start; text-align: left; }
	.timeline__item { grid-template-columns: 110px minmax(0, 1fr); }
}
@media (max-width: 760px) {
	.archive__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 12px; }
	.archive__bar { flex-direction: column; align-items: stretch; gap: 10px; padding: 10px 0; }
	.filters { margin: 0 -4px; }
	.view-toggle { align-self: flex-start; }
	.archive__foot { flex-direction: column; align-items: flex-start; }
	.wall__top { padding-bottom: 10px; }
	.wall__label { display: none; }
	.wall__bottom { gap: 10px; padding-top: 60px; }
	.wall__hint { display: none; }
	.rail__ui { flex-direction: column; align-items: stretch; gap: 14px; }
	.rail__buttons { justify-content: flex-end; }
	.hero__foot { bottom: calc(18px + env(safe-area-inset-bottom)); }
	.hero__fact { display: none; }
	.scroll-cue { margin-left: auto; }
}
@media (max-width: 560px) {
	:root { --header-h: 60px; }
	.hero {
		padding-top: calc(var(--header-h) + env(safe-area-inset-top) + 12vh);
		padding-bottom: calc(76px + env(safe-area-inset-bottom));
		justify-content: flex-start;
	}
	.hero__title { font-size: clamp(56px, 20vw, 84px); line-height: 0.84; }
	.hero__tagline { font-size: 21px; }
	.hero__lede { max-width: 30rem; }
	.hero__actions { flex-direction: column; align-items: stretch; }
	.hero__actions .btn { width: 100%; }
	.hero__scrim {
		background:
			linear-gradient(180deg, rgba(8, 8, 10, 0.88) 0%, rgba(8, 8, 10, 0.72) 24%, rgba(8, 8, 10, 0.78) 52%, rgba(8, 8, 10, 0.93) 80%, #08080a 100%),
			radial-gradient(ellipse 100% 70% at 50% 45%, rgba(8, 8, 10, 0.34) 0%, rgba(8, 8, 10, 0.82) 100%);
	}
	.section { padding-top: 72px; padding-bottom: 72px; }
	.feature { flex-basis: 78vw; }
	.feature__media { height: clamp(270px, 42vh, 420px); }
	.display { font-size: clamp(38px, 11vw, 56px); }
	.display--xl { font-size: clamp(40px, 12vw, 58px); }
	.archive__status { margin-top: 16px; }
	.timeline__item { grid-template-columns: 1fr; row-gap: 8px; }
	.lightbox {
		padding: calc(56px + env(safe-area-inset-top)) 10px calc(10px + env(safe-area-inset-bottom));
	}
	.lightbox__stage { gap: 0; }
	.lb-close { top: calc(-46px - env(safe-area-inset-top)); right: 4px; }
	.lb-nav {
		position: absolute;
		bottom: 4px;
		z-index: 5;
		width: 42px;
		height: 42px;
		background: rgba(10, 10, 11, 0.65);
	}
	.lb-nav--prev { left: 4px; }
	.lb-nav--next { right: 4px; }
	.lb-caption {
		flex-direction: column;
		align-items: flex-start;
		gap: 8px;
		padding: 12px 52px 4px;
	}
	.lb-count { display: none; }
	.lb-title { font-size: 19px; }
	.lb-img { max-height: calc(100svh - 190px); }
	.contact__email { font-size: 27px; }
	.wall__chips { width: 100%; justify-content: flex-start; }
	.wall__title { font-size: 22px; }
	.wall__controls .btn { padding: 0 14px; }
	.quote p { font-size: clamp(27px, 8.4vw, 40px); }
}

@media (max-height: 560px) and (orientation: landscape) {
	.hero {
		min-height: 100svh;
		justify-content: flex-start;
		padding-top: calc(var(--header-h) + env(safe-area-inset-top) + 26px);
		padding-bottom: calc(26px + env(safe-area-inset-bottom));
	}
	.hero__title {
		font-size: clamp(42px, 7.2vw, 68px);
		line-height: 0.86;
	}
	.hero__tagline {
		margin-top: 14px;
		font-size: 18px;
	}
	.hero__lede { display: none; }
	.hero__actions {
		margin-top: 18px;
		flex-direction: row;
		flex-wrap: nowrap;
		align-items: center;
	}
	.hero__actions .btn {
		width: auto;
		min-height: 44px;
	}
	.hero__foot { display: none; }
}

@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;
		scroll-behavior: auto !important;
	}
	.reveal-ready [data-reveal] { opacity: 1; transform: none; }
	.grain { animation: none; }
}
