:root {
	--bg: #f7f7f7;
	--surface: #f7f7f7;
	--text: #111;
	--muted: #111;
	--accent: #c92a2a;
	--max: 72rem;
	--grid-gap: 1.2rem;
	--studio-grid-gap: 2rem;
	--studio-column-padding-inline: 0.75rem;
	--body-font: "Heldane", Arial, sans-serif;
	/* One body size sitewide; intro (left column lead) uses --site-intro-text-size only */
	--site-text-size: 0.92rem;
	--site-intro-text-size: clamp(1.08rem, 1rem + 0.35vw, 1.22rem);
	/* Work subnav / section titles — a clear step above body captions */
	--site-subheader-size: clamp(1.2rem, 1.1rem + 0.45vw, 1.45rem);
	/* Sticky header + role block — used to size first-screen portrait hero */
	--landing-header-offset: clamp(4.5rem, 12vw, 6.5rem);
	/* Shared horizontal content edge — header “Lisa Ziven” + Contact column use --site-left-edge */
	--site-layout-inset: max(1rem, calc((100vw - min(92vw, var(--max))) / 2));
	--site-left-edge: max(var(--site-layout-inset), env(safe-area-inset-left, 0px));
	--site-right-edge: max(var(--site-layout-inset), env(safe-area-inset-right, 0px));
	/* Menu / nav text inset — adjustable via admin slider (--lz-menu-inset). */
	--lz-menu-inset: 1.75rem;
	/* Splash snail size — adjustable via admin slider (--lz-snail-scale). */
	--lz-snail-scale: 1;
	--lz-snail-display-h: calc(25.2px * var(--lz-snail-scale, 1));
	--lz-snail-display-w: calc(var(--lz-snail-display-h) * 396 / 160);
	--site-nav-edge: max(var(--lz-menu-inset), env(safe-area-inset-left, 0px), env(safe-area-inset-right, 0px));
	/* Content / layout inset — snaps with Work↔Information (does not tween). */
	--site-frame-inset: 0.5rem;
	/* Nav chrome inset — eases via --nav-frame-inset (registered in index; px initial-value). */
	--nav-frame-inset: 10px;
	/* Content text edge (snapped frame). Close/chrome that tracks Lisa uses --nav-chrome-text-inset. */
	--nav-text-inset: calc(max(var(--site-frame-inset), env(safe-area-inset-left, 0px)) + var(--site-nav-edge));
	--nav-chrome-text-inset: calc(max(var(--nav-frame-inset), env(safe-area-inset-left, 0px)) + var(--site-nav-edge));
	/* Italic “Lisa Ziven” overhangs its box slightly — pull Close left to match ink. */
	--lz-brand-optical-nudge: 0.45rem;
	/* Legacy alias (work titles, middle columns) */
	--page-edge-inset: var(--site-layout-inset);
	/* Contact column: wrap safe-area + this inset; full-bleed bands add safe-area in the calc below */
	--copy-inset-start: var(--page-edge-inset);
	--copy-inset-end: var(--page-edge-inset);
	--copy-inset-fullbleed-start: calc(env(safe-area-inset-left, 0px) + var(--page-edge-inset));
	--copy-inset-fullbleed-end: calc(env(safe-area-inset-right, 0px) + var(--page-edge-inset));
	--site-bottom-padding: 6rem;
	/* Modest trail under the Work footer (footer itself anchors the bottom). */
	--work-scroll-bottom-padding: 1.5rem;
	--work-films-section-top-spacing: 2.5rem;
	/* Between grids only (in-flow titles are clipped) — was 11.5rem for visible labels. */
	--work-section-gap: 3.5rem;
	--studio-section-gap: 2.25rem;
	--view-transition-duration: 520ms;
	/*
	 * Shared motion — snappy ease-out (fast start, soft settle).
	 * Prefer these over bare ease / ease-in.
	 */
	--lz-ease: cubic-bezier(0.16, 1, 0.3, 1);
	--lz-ease-emphasized: cubic-bezier(0.12, 1, 0.28, 1);
	--view-transition-ease: var(--lz-ease);
	/* Barn doors: slow open with a soft ease-out so the split can be enjoyed. */
	--brandoor-duration: 1400ms;
	--brandoor-ease: cubic-bezier(0.16, 1, 0.3, 1);
	--brandoor-fade-out: 220ms;
	--nav-link-active: #000;
	--nav-link-inactive: rgb(0 0 0 / 0.95);
	--nav-item-gap: 0.75em;
}

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

html {
	font-size: 100%;
	font-family: var(--body-font);
	scroll-behavior: smooth;
	scroll-padding-top: 5rem;
	-webkit-text-size-adjust: 100%;
	text-size-adjust: 100%;
	overflow-x: clip;
}

body {
	margin: 0;
	background: var(--bg);
	color: var(--text);
	font-family: inherit;
	font-feature-settings: "onum" 1;
	font-size: var(--site-text-size);
	font-weight: 400;
	font-style: normal;
	line-height: 1.6;
	overflow-x: clip;
	/* Keep nav-frame plate tween here — more specific body.* rules must not drop it. */
	transition:
		background-color var(--view-transition-duration) var(--view-transition-ease),
		--nav-frame-inset var(--lz-nav-frame-ms, 780ms) var(--lz-nav-frame-ease, cubic-bezier(0.33, 0, 0.18, 1));
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}

button,
input,
select,
textarea {
	font-family: inherit;
	font-size: inherit;
	font-weight: inherit;
	font-style: inherit;
	line-height: inherit;
	letter-spacing: inherit;
}

em,
i,
cite,
dfn,
var,
address {
	font-family: inherit;
	font-style: italic;
	font-weight: 400;
}

b,
strong {
	font-family: inherit;
	font-weight: 500;
	font-style: inherit;
}

.site-header,
.site-header :is(
	.site-role,
	.site-work-link-cluster,
	.site-work-link,
	.site-work-link__contact,
	.site-work-link__state,
	.site-work-link__label,
	.site-work-subtitle
),
.site-nav,
.site-nav a,
.onepage-menu,
.onepage-menu a,
.work-detail-close {
	font-family: "Heldane", Arial, sans-serif;
	font-feature-settings: "onum" 1;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}

.site-preloader {
	position: fixed;
	inset: 0;
	background: transparent;
	display: block;
	z-index: 999999;
	opacity: 1;
	transition: none;
}

.site-preloader.is-hidden {
	opacity: 1;
	pointer-events: none;
}

.site-preloader-text {
	font-size: var(--site-text-size);
	letter-spacing: 0.06em;
	text-transform: lowercase;
	color: var(--text);
}

@keyframes elegantFadeIn {
	from {
		opacity: 0;
		transform: translateY(10px);
	}
	to {
		opacity: 1;
		transform: translateY(0);
	}
}

.wrap {
	/* Use % of the main box, not vw, so width never exceeds the layout viewport beside a scrollbar (avoids extra empty space on the right). */
	width: min(92%, var(--max));
	max-width: 100%;
	margin-inline: auto;
}

.site-footer {
	background: var(--surface);
}

.site-header {
	position: sticky;
	top: 0;
	/* Must be above work-media-stage and site-information-view during transitions */
	z-index: 200;
	background: #fff;
	overflow: visible;
	/* Background snaps; transform eases when project chrome takes the top band. */
	transition:
		transform 320ms var(--lz-ease),
		margin-top 320ms var(--lz-ease);
	will-change: transform;
	touch-action: none;
}

#top.site-header[data-lz-smart-nav] {
	cursor: grab;
}
#top.site-header[data-lz-smart-nav]:active {
	cursor: grabbing;
}
#top.site-header[data-lz-smart-nav] a,
#top.site-header[data-lz-smart-nav] button,
#top.site-header[data-lz-smart-nav] .site-work-link,
#top.site-header[data-lz-smart-nav] .site-work-link__contact {
	cursor: pointer;
	touch-action: manipulation;
}

.site-header__grip {
	/* Drag affordance is the header itself — no visible pill. */
	display: none;
}

/* Compact: tap the chrome (not a link) to shrink. */
body.is-nav-compact #top.site-header .wrap {
	padding-top: 0.4rem;
	padding-bottom: 0.35rem;
}
body.is-nav-compact #top.site-header .site-role,
body.is-nav-compact #top.site-header .site-role em,
body.is-nav-compact #top.site-header .site-work-link,
body.is-nav-compact #top.site-header .site-work-link__label,
body.is-nav-compact #top.site-header .site-work-link__contact {
	font-size: calc(var(--site-text-size) - 1.5pt) !important;
	line-height: 1.25;
}
body.is-nav-compact #top.site-header .site-header__grip {
	margin-bottom: 0.2rem;
	opacity: 0.7;
}

/* Tucked: drag up to hide; pull the peek down to restore. */
body.is-nav-tucked #top.site-header {
	transform: translate3d(0, -100%, 0);
	margin-top: calc(-1 * var(--lz-nav-measured-h, 5.5rem));
	pointer-events: none;
}
body.is-nav-tucked #top.site-header .site-header__grip {
	opacity: 0;
}

.lz-nav-peek {
	/* Invisible hit target to pull the nav back — no grip pill. */
	position: fixed;
	top: 0;
	left: 50%;
	z-index: 10002;
	width: 4.5rem;
	height: max(1.35rem, env(safe-area-inset-top, 0px) + 0.85rem);
	margin: 0;
	padding: 0;
	border: 0;
	border-radius: 0;
	background: transparent;
	transform: translateX(-50%);
	cursor: grab;
	touch-action: none;
	display: none;
}
.lz-nav-peek::before {
	content: none;
	display: none;
}
body.is-nav-tucked .lz-nav-peek:not([hidden]) {
	display: block;
}
body.is-nav-tucked .lz-nav-peek:active {
	cursor: grabbing;
}

/* Project open: Lisa / Work / Information slide up out of the viewport. */
body.is-project-detail-open #top.site-header,
body.is-project-morphing #top.site-header {
	transform: translate3d(0, calc(-100% - 0.75rem), 0);
	pointer-events: none;
}
body.is-project-detail-open.is-nav-tucked #top.site-header,
body.is-project-morphing.is-nav-tucked #top.site-header {
	margin-top: 0;
}
body.is-project-detail-open .lz-nav-peek,
body.is-project-morphing .lz-nav-peek {
	display: none !important;
}

@media (prefers-reduced-motion: reduce) {
	.site-header {
		transition: none;
		will-change: auto;
	}
	body.is-nav-tucked #top.site-header,
	body.is-nav-compact #top.site-header .wrap {
		transition: none;
	}
}

.site-footer {
	padding: 0;
}

.site-header .wrap {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	column-gap: var(--grid-gap);
	row-gap: 0;
	align-items: start;
	/* Full width + shared inset — matches .studio-grid so Lisa Ziven aligns with Contact column.
	   Vertical padding stays even; frame/safe-area live on #top.site-header top/left/right. */
	width: 100%;
	max-width: none;
	margin-inline: 0;
	padding: 0.75rem var(--site-nav-edge) 0.75rem var(--site-nav-edge);
	box-sizing: border-box;
	animation: none;
	transition: padding 280ms var(--lz-ease);
}

.site-branding {
	grid-column: 1 / 2;
}

.site-title {
	font-size: calc(clamp(1.125rem, 1rem + 0.9vw, 1.75rem) - 2pt);
	font-weight: 700;
	letter-spacing: 0.03em;
	text-decoration: none;
	color: var(--text);
	text-transform: uppercase;
}

a {
	color: var(--text);
	text-decoration-thickness: 0.08em;
	text-underline-offset: 0.16em;
}

a:hover,
a:focus-visible {
	color: var(--text);
	opacity: 1;
}

.site-main {
	padding: 0;
}

.site-main-inner {
	padding-block: 3rem;
	padding-bottom: calc(var(--site-bottom-padding) + env(safe-area-inset-bottom, 0px));
}

.site-main-inner.site-main-after-hero {
	padding-top: 2.25rem;
	padding-bottom: calc(var(--site-bottom-padding) + 2rem + env(safe-area-inset-bottom, 0px));
}

/* Full-bleed band: studio columns after biography; portrait lives in first column under contact. */
.site-main-studio-band {
	width: 100%;
	background: transparent;
	color: var(--lz-about-fg, #111);
	box-sizing: border-box;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}

.site-main-studio-band a {
	color: var(--lz-about-fg, #111);
	opacity: 0.72;
	transition: opacity 160ms var(--lz-ease);
}

.site-main-studio-band a:hover,
.site-main-studio-band a:focus-visible {
	color: var(--lz-about-fg, #111);
	opacity: 1;
}

/* Full-bleed grid: columns own horizontal inset (matches header --site-left-edge). */
.site-main-studio-band > .wrap {
	width: 100%;
	max-width: none;
	margin-inline: 0;
	padding-inline: 0;
}

.landing-hero-portrait {
	width: 100%;
	margin: 0;
	padding: 0;
	background: #fff;
	box-sizing: border-box;
	display: flex;
	flex-direction: column;
	min-height: calc(100svh - var(--landing-header-offset));
	min-height: calc(100dvh - var(--landing-header-offset));
}

.landing-hero-portrait__frame {
	flex: 1 1 auto;
	display: flex;
	align-items: flex-end;
	justify-content: center;
	width: 100%;
	min-height: calc(100svh - var(--landing-header-offset));
	max-height: calc(100svh - var(--landing-header-offset));
	height: calc(100svh - var(--landing-header-offset));
	min-height: calc(100dvh - var(--landing-header-offset));
	max-height: calc(100dvh - var(--landing-header-offset));
	height: calc(100dvh - var(--landing-header-offset));
	padding: 0;
	margin: 0;
	box-sizing: border-box;
	line-height: 0;
	overflow: hidden;
}

/*
 * Portrait: always fully inside the frame (viewport minus header).
 * When attachment metadata is present, inline style caps display size at file pixels (no upscale).
 * Fallback: never exceed intrinsic box of the bitmap.
 */
.landing-hero-portrait__img {
	display: block;
	width: auto;
	height: auto;
	min-width: 0;
	min-height: 0;
	max-width: min(100%, min-content);
	max-height: min(100%, min-content);
	object-fit: contain;
	object-position: center bottom;
}

/* Multi-zone portrait: all 6 images locked in the same cell, same size */
.landing-hero-portrait__zone-wrap {
	display: grid;
	grid-template-columns: 1fr;
	grid-template-rows: 1fr;
	/* Fixed box sized to the image set — every img fills this exactly */
	width: min(438px, 100%);
	aspect-ratio: 438 / 545;
	max-height: calc(100dvh - var(--landing-header-offset));
	/* Position/scale editor uses these CSS vars (set by JS, persisted to localStorage) */
	transform: translate(var(--portrait-x, 0px), var(--portrait-y, 0px)) scale(var(--portrait-scale, 1));
	transform-origin: center bottom;
}

/* Edit-mode: let the portrait move freely outside its container */
body.portrait-edit-mode .landing-hero-portrait__frame {
	overflow: visible;
}
body.portrait-edit-mode .landing-hero-portrait__zone-wrap {
	cursor: grab;
	outline: 1.5px dashed rgba(0, 0, 0, 0.25);
}
body.portrait-edit-mode .landing-hero-portrait__zone-wrap:active {
	cursor: grabbing;
}

/* Portrait position editor panel */
.portrait-pos-panel,
.lz-menu-inset-panel {
	position: fixed;
	bottom: 2rem;
	right: 2rem;
	z-index: 9999;
	background: #fff;
	border: 1px solid #000;
	padding: 1rem 1.25rem 1rem;
	width: 17rem;
	font-family: inherit;
	font-size: 0.75rem;
	line-height: 1.5;
	box-shadow: 0 2px 12px rgba(0, 0, 0, 0.15);
}
.lz-menu-inset-panel {
	bottom: 2rem;
	right: 2rem;
	border: 0;
	border-radius: 14px;
	padding: 1rem 1.1rem 1.05rem;
	width: 18rem;
	font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "SF Pro Display", "Helvetica Neue", Helvetica, Arial, sans-serif;
	font-size: 0.875rem;
	letter-spacing: -0.01em;
	-webkit-font-smoothing: antialiased;
	box-shadow: 0 10px 32px rgba(0, 0, 0, 0.16), 0 0 0 0.5px rgba(0, 0, 0, 0.08);
}
html:not(.lz-cms-admin) .lz-menu-inset-panel {
	display: none !important;
}
.lz-menu-inset-panel__header {
	font-size: 0.72rem;
	font-weight: 600;
	letter-spacing: 0.04em;
	color: #86868b;
}
.lz-menu-inset-panel__row label {
	font-size: 0.75rem;
	letter-spacing: -0.01em;
	color: #1d1d1f;
}
.lz-menu-inset-panel__row input[type="range"] {
	accent-color: #0071e3;
}
.lz-menu-inset-panel__row input[type="number"] {
	border: 1px solid transparent;
	border-radius: 8px;
	background: #f5f5f7;
	padding: 0.25rem 0.4rem;
	font-size: 0.8125rem;
	font-family: inherit;
}
.lz-menu-inset-panel__footer button {
	background: #0071e3;
	color: #fff;
	border: none;
	padding: 0.4rem 0.85rem;
	font-size: 0.8125rem;
	font-weight: 500;
	font-family: inherit;
	letter-spacing: -0.01em;
	border-radius: 980px;
	text-transform: none;
}
.lz-menu-inset-panel__footer button#lz-menu-inset-reset {
	background: transparent;
	color: #0071e3;
	border: 0;
}
#lz-menu-inset-status {
	color: #86868b;
}
.portrait-pos-panel__header,
.lz-menu-inset-panel__header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin-bottom: 0.75rem;
	font-size: 0.7rem;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}
.portrait-pos-panel__close,
.lz-menu-inset-panel__close {
	background: none;
	border: none;
	cursor: pointer;
	font-size: 1rem;
	line-height: 1;
	padding: 0 0 0 0.5rem;
}
.portrait-pos-panel__row,
.lz-menu-inset-panel__row {
	display: grid;
	grid-template-columns: 2.5rem 1fr 3.5rem;
	align-items: center;
	gap: 0.4rem;
	margin-bottom: 0.5rem;
}
.lz-menu-inset-panel__row {
	grid-template-columns: 3.25rem 1fr 3.75rem;
}
.portrait-pos-panel__row label,
.lz-menu-inset-panel__row label {
	font-size: 0.7rem;
	letter-spacing: 0.06em;
}
.portrait-pos-panel__row input[type="range"],
.lz-menu-inset-panel__row input[type="range"] {
	width: 100%;
	accent-color: #000;
}
.portrait-pos-panel__row input[type="number"],
.lz-menu-inset-panel__row input[type="number"] {
	width: 100%;
	border: 1px solid #ccc;
	padding: 0.1rem 0.25rem;
	font-size: 0.7rem;
	text-align: right;
}
.portrait-pos-panel__footer,
.lz-menu-inset-panel__footer {
	display: flex;
	align-items: center;
	gap: 0.5rem;
	margin-top: 0.75rem;
	border-top: 1px solid #eee;
	padding-top: 0.75rem;
}
.portrait-pos-panel__footer button,
.lz-menu-inset-panel__footer button {
	background: #000;
	color: #fff;
	border: none;
	padding: 0.3rem 0.75rem;
	font-size: 0.7rem;
	letter-spacing: 0.06em;
	cursor: pointer;
	text-transform: uppercase;
}
.portrait-pos-panel__footer button#portrait-pos-reset,
.lz-menu-inset-panel__footer button#lz-menu-inset-reset {
	background: #fff;
	color: #000;
	border: 1px solid #000;
}
#portrait-pos-status,
#lz-menu-inset-status {
	margin-left: auto;
	font-size: 0.7rem;
	color: #555;
}

/* Barn door easing lab — available to everyone (press B). */
.lz-brandoor-lab {
	position: fixed;
	bottom: 2rem;
	left: 2rem;
	z-index: 10000;
	background: #fff;
	border: 1px solid #000;
	padding: 1rem 1.15rem 1rem;
	width: min(24rem, calc(100vw - 2rem));
	font-family: inherit;
	font-size: 0.75rem;
	line-height: 1.5;
	color: #111;
	box-sizing: border-box;
}
.lz-brandoor-lab__header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin-bottom: 0.35rem;
	font-size: 0.7rem;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}
.lz-brandoor-lab__close {
	background: none;
	border: none;
	cursor: pointer;
	font-size: 1rem;
	line-height: 1;
	padding: 0 0 0 0.5rem;
}
.lz-brandoor-lab__hint {
	margin: 0 0 0.65rem;
	font-size: 0.68rem;
	color: #555;
	line-height: 1.4;
}
.lz-brandoor-lab__hint kbd {
	font: inherit;
	border: 1px solid #ccc;
	padding: 0 0.28rem;
	border-radius: 2px;
	background: #f5f5f5;
}
.lz-brandoor-lab__preview {
	margin-bottom: 0.65rem;
}
.lz-brandoor-lab__stage {
	position: relative;
	height: 3.6rem;
	overflow: hidden;
	background: #ece8e1;
	border: 1px solid #ddd;
}
.lz-brandoor-lab__stage-label {
	position: absolute;
	inset: 0;
	display: grid;
	place-items: center;
	font-size: 0.65rem;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: #666;
	pointer-events: none;
	z-index: 0;
}
.lz-brandoor-lab__door {
	position: absolute;
	top: 0;
	bottom: 0;
	width: 50%;
	background: #111;
	z-index: 1;
	transition-property: transform;
	transition-duration: var(--brandoor-duration, 1400ms);
	transition-timing-function: var(--brandoor-ease, cubic-bezier(0.16, 1, 0.3, 1));
}
.lz-brandoor-lab__door--left {
	left: 0;
	transform: translate3d(0, 0, 0);
}
.lz-brandoor-lab__door--right {
	right: 0;
	transform: translate3d(0, 0, 0);
}
.lz-brandoor-lab.is-preview-open .lz-brandoor-lab__door--left {
	transform: translate3d(-105%, 0, 0);
}
.lz-brandoor-lab.is-preview-open .lz-brandoor-lab__door--right {
	transform: translate3d(105%, 0, 0);
}
.lz-brandoor-lab__graph-block {
	margin-bottom: 0.55rem;
}
.lz-brandoor-lab__graph {
	display: block;
	width: 100%;
	aspect-ratio: 1 / 0.72;
	height: auto;
	touch-action: none;
	user-select: none;
	background: #fafafa;
	border: 1px solid #ddd;
}
.lz-brandoor-lab__graph-frame {
	fill: #fff;
	stroke: #d8d8d8;
	stroke-width: 0.4;
}
.lz-brandoor-lab__graph-grid {
	stroke: #eee;
	stroke-width: 0.35;
}
.lz-brandoor-lab__graph-linear {
	stroke: #cfcfcf;
	stroke-width: 0.45;
	stroke-dasharray: 1.2 1.2;
}
.lz-brandoor-lab__graph-curve {
	fill: none;
	stroke: #111;
	stroke-width: 1.35;
	stroke-linecap: round;
	stroke-linejoin: round;
}
.lz-brandoor-lab__graph-arm {
	stroke: #999;
	stroke-width: 0.55;
}
.lz-brandoor-lab__graph-end {
	fill: #111;
}
.lz-brandoor-lab__graph-handle {
	fill: #fff;
	stroke: #111;
	stroke-width: 1.1;
	cursor: grab;
	touch-action: none;
}
.lz-brandoor-lab__graph-handle:focus-visible {
	outline: none;
	stroke-width: 1.6;
}
.lz-brandoor-lab__graph-handle.is-dragging {
	cursor: grabbing;
	fill: #111;
	stroke: #111;
}
.lz-brandoor-lab__graph-traveler {
	fill: #c45c26;
	opacity: 0;
	pointer-events: none;
}
.lz-brandoor-lab.is-preview-open .lz-brandoor-lab__graph-traveler {
	opacity: 1;
	transition:
		cx var(--brandoor-duration, 1400ms) var(--brandoor-ease, cubic-bezier(0.16, 1, 0.3, 1)),
		cy var(--brandoor-duration, 1400ms) linear;
}
.lz-brandoor-lab__graph-caption {
	display: flex;
	justify-content: space-between;
	margin: 0.2rem 0 0;
	font-size: 0.6rem;
	letter-spacing: 0.04em;
	color: #888;
	text-transform: lowercase;
}
.lz-brandoor-lab__presets {
	display: flex;
	flex-wrap: wrap;
	gap: 0.28rem;
	margin: 0 0 0.55rem;
}
.lz-brandoor-lab__preset {
	appearance: none;
	border: 1px solid #ccc;
	background: #fff;
	color: #222;
	padding: 0.22rem 0.45rem;
	font: inherit;
	font-size: 0.62rem;
	letter-spacing: 0.02em;
	cursor: pointer;
	line-height: 1.2;
}
.lz-brandoor-lab__preset:hover,
.lz-brandoor-lab__preset:focus-visible {
	border-color: #111;
	outline: none;
}
.lz-brandoor-lab__preset.is-active {
	background: #111;
	border-color: #111;
	color: #fff;
}
.lz-brandoor-lab__row {
	display: grid;
	grid-template-columns: 2.25rem 1fr 3.75rem;
	align-items: center;
	gap: 0.4rem;
	margin-bottom: 0.45rem;
}
.lz-brandoor-lab__row label {
	font-size: 0.7rem;
	letter-spacing: 0.06em;
}
.lz-brandoor-lab__row input[type="range"] {
	width: 100%;
	accent-color: #000;
}
.lz-brandoor-lab__row input[type="number"] {
	width: 100%;
	border: 1px solid #ccc;
	padding: 0.1rem 0.25rem;
	font-size: 0.7rem;
	text-align: right;
	box-sizing: border-box;
}
.lz-brandoor-lab__css {
	display: block;
	margin: 0.15rem 0 0.55rem;
	padding: 0.4rem 0.5rem;
	background: #f4f4f4;
	border: 1px solid #e0e0e0;
	font-size: 0.62rem;
	line-height: 1.45;
	white-space: pre-wrap;
	word-break: break-word;
	color: #222;
}
.lz-brandoor-lab__footer {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.4rem;
	border-top: 1px solid #eee;
	padding-top: 0.7rem;
}
.lz-brandoor-lab__footer button {
	background: #000;
	color: #fff;
	border: none;
	padding: 0.3rem 0.65rem;
	font-size: 0.65rem;
	letter-spacing: 0.06em;
	cursor: pointer;
	text-transform: uppercase;
}
.lz-brandoor-lab__footer button.lz-brandoor-lab__ghost {
	background: #fff;
	color: #000;
	border: 1px solid #000;
}
#lz-brandoor-status {
	margin-left: auto;
	font-size: 0.7rem;
	color: #555;
}

/* Grid ripple lab — same chrome as barn doors, parked bottom-right. */
.lz-ripple-lab {
	position: fixed;
	bottom: 2rem;
	right: 2rem;
	left: auto;
	z-index: 10000;
	background: #fff;
	border: 1px solid #000;
	padding: 1rem 1.15rem 1rem;
	width: min(22rem, calc(100vw - 2rem));
	font-family: inherit;
	font-size: 0.75rem;
	line-height: 1.5;
	color: #111;
	box-sizing: border-box;
}
.lz-ripple-lab .lz-brandoor-lab__row {
	grid-template-columns: 4.6rem 1fr 3.4rem;
}
.lz-ripple-lab .lz-brandoor-lab__row label {
	letter-spacing: 0.03em;
	text-transform: none;
	font-size: 0.65rem;
}
#lz-ripple-status {
	margin-left: auto;
	font-size: 0.7rem;
	color: #555;
}

.landing-hero-portrait__zone-img {
	grid-column: 1;
	grid-row: 1;
	/* Fill the shared cell completely so all images sit in identical position */
	width: 100%;
	height: 100%;
	object-fit: contain;
	object-position: center bottom;
	opacity: 0;
	transition: opacity 80ms var(--lz-ease);
}

.landing-hero-portrait__zone-img.is-active {
	opacity: 1;
}

/* Mobile / touch: only show the default frame */
@media (hover: none), (pointer: coarse) {
	.landing-hero-portrait__zone-wrap {
		transform: none !important;
	}
	.landing-hero-portrait__zone-img {
		display: none;
	}
	.landing-hero-portrait__zone-img[data-zone="middle-middle"] {
		display: block;
		width: 100%;
		height: 100%;
		opacity: 1;
	}
}

/* Portrait under Contact in the black studio band (not a full-viewport hero). */
.site-main-studio-band .landing-hero-portrait--in-studio {
	min-height: 0;
	margin-top: 0.35rem;
	margin-inline: 0;
	padding: 0;
	background: transparent;
	width: 100%;
	max-width: min(22rem, 100%);
	align-self: flex-start;
}

.site-main-studio-band .landing-hero-portrait--in-studio .landing-hero-portrait__frame {
	flex: 0 1 auto;
	min-height: 0;
	max-height: none;
	height: auto;
	align-items: flex-end;
	justify-content: flex-start;
	padding: 0;
	overflow: visible;
}

.site-main-studio-band .landing-hero-portrait--in-studio .landing-hero-portrait__zone-wrap {
	max-height: min(50vh, 21rem);
	width: min(100%, 22rem);
	/* Information-page portrait: ignore saved editor transform unless panel is open */
	transform: none;
}

body.portrait-edit-mode .site-main-studio-band .landing-hero-portrait--in-studio .landing-hero-portrait__zone-wrap {
	transform: translate(var(--portrait-x, 0px), var(--portrait-y, 0px)) scale(var(--portrait-scale, 1));
}

body:not(.work-media-active) .landing-hero-portrait--in-studio {
	visibility: visible;
}

.site-main-studio-band .landing-hero-portrait--in-studio .landing-hero-portrait__zone-img.is-active {
	opacity: 1;
}

.site-main-studio-band .landing-hero-portrait--in-studio .landing-hero-portrait__img {
	max-width: 100%;
	object-position: left bottom;
}

/* Information page — normal layout in __content; brandoor overlay only while transitioning */
.site-information-view {
	position: relative;
	z-index: 25;
	transition: visibility 0s linear 0s;
}

.site-information-view__content {
	position: relative;
	z-index: 1;
}

.site-information-view__brandoor {
	position: fixed;
	inset: 0;
	z-index: 28;
	display: flex;
	width: 100%;
	height: 100%;
	height: 100dvh;
	height: 100svh;
	overflow: hidden;
	pointer-events: none;
	visibility: hidden;
	opacity: 0;
	transition:
		opacity var(--brandoor-fade-out) var(--view-transition-ease),
		visibility 0s linear var(--brandoor-fade-out);
}

body.is-view-transitioning .site-information-view__brandoor,
body.is-brandoor-exiting .site-information-view__brandoor {
	pointer-events: none;
	visibility: visible;
}

body.is-view-transitioning .site-information-view__brandoor {
	opacity: 1;
	transition: opacity 0s, visibility 0s;
}

body.is-brandoor-exiting .site-information-view__brandoor {
	opacity: 0;
	transition:
		opacity var(--brandoor-fade-out) var(--view-transition-ease),
		visibility 0s linear var(--brandoor-fade-out);
}

body.is-view-transitioning .site-information-view,
body.is-brandoor-exiting .site-information-view {
	visibility: hidden;
	pointer-events: none;
}

body.is-view-transitioning .site-information-view__content,
body.is-brandoor-exiting .site-information-view__content {
	display: none;
}

.site-information-view__panel {
	flex: 0 0 50%;
	width: 50%;
	max-width: 50%;
	height: 100%;
	overflow: hidden;
	background: #000;
	transform: translate3d(0, 0, 0);
	transition-property: transform;
	transition-duration: var(--brandoor-duration);
	transition-timing-function: var(--brandoor-ease);
	will-change: transform;
}

/* One frame with no transition, so the doors start from a real pose before they travel. */
body.is-brandoor-hold .site-information-view__panel {
	transition: none;
}

.site-information-view__panel--left {
	flex-basis: calc(50% + 1px);
	width: calc(50% + 1px);
	max-width: calc(50% + 1px);
	margin-right: -1px;
}

.site-information-view__panel-inner {
	width: 200%;
	max-width: none;
	box-sizing: border-box;
}

.site-information-view__panel--right .site-information-view__panel-inner {
	margin-left: -100%;
}

/* Viewport distance plus overlap, so a half-width door clears the screen edge. */
body.work-media-active .site-information-view__panel--left {
	transform: translate3d(calc(-100vw - 3rem), 0, 0);
}

body.work-media-active .site-information-view__panel--right {
	transform: translate3d(calc(100vw + 3rem), 0, 0);
}

body.work-media-active:not(.is-view-transitioning) .site-information-view {
	pointer-events: none;
	visibility: hidden;
	transition: visibility 0s linear var(--brandoor-duration);
}

body.work-media-active .site-information-view__panel {
	pointer-events: none;
}

body.is-view-transitioning {
	overflow-x: clip;
}

body.is-view-transitioning .site-work-link,
body.is-view-transitioning .site-work-link__contact,
body.is-view-transitioning [data-open-work],
body.is-brandoor-exiting .site-work-link,
body.is-brandoor-exiting .site-work-link__contact,
body.is-brandoor-exiting [data-open-work] {
	pointer-events: none;
}

.landing-bio-band {
	position: relative;
	z-index: 1;
	width: 100%;
	max-width: 100%;
	margin: 0;
	/* Sit mid-viewport; end ~100px under the copy so the appendix can start soon after. */
	min-height: 0;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: flex-start;
	padding:
		calc(var(--site-header-offset, 5.5rem) + 2.5rem)
		clamp(1rem, 4vw, 2rem)
		100px;
	background: transparent;
	color: var(--lz-about-fg, #111);
	box-sizing: border-box;
	overflow-x: clip;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	text-align: center;
}

.landing-bio-band__inner {
	max-width: min(48rem, calc(100vw - 2.5rem));
	width: 100%;
	margin-inline: auto;
	text-align: center;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	box-sizing: border-box;
}

.landing-bio-band__text {
	margin: 0 auto;
	max-width: 100%;
	width: 100%;
	font-size: clamp(1.05rem, 0.98rem + 0.35vw, 1.22rem);
	line-height: 1.55;
	letter-spacing: 0.01em;
	font-weight: 400;
	color: var(--lz-about-fg, #111);
	text-align: center;
	box-sizing: border-box;
}

.landing-bio-band__text.landing-bio-band__text--collapsible {
	max-width: 100%;
	width: 100%;
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
}

.landing-bio-band__teaser {
	font-size: clamp(1.55rem, 2.9vw, 3.1rem);
	line-height: 1.35;
	letter-spacing: -0.015em;
	text-align: center;
	text-wrap: pretty;
	width: 100%;
	max-width: 100%;
	margin: 0 auto;
	box-sizing: border-box;
	overflow-wrap: break-word;
	word-break: normal;
	hyphens: manual;
}

.landing-bio-line {
	display: inline;
	white-space: normal;
}

.landing-bio-band__read-more {
	display: inline-block;
	margin-top: 1.35rem;
	margin-inline: auto;
	padding: 0;
	border: 0;
	border-radius: 0;
	background: transparent;
	color: var(--lz-about-fg, #111);
	font-family: inherit;
	font-size: var(--site-text-size);
	font-weight: 500;
	font-style: italic;
	letter-spacing: 0;
	line-height: 1.2;
	text-decoration: none;
	cursor: pointer;
	transition: opacity 160ms var(--lz-ease);
}

.landing-bio-band__read-more:hover,
.landing-bio-band__read-more:focus-visible {
	opacity: 0.55;
	outline: none;
}


.bio-more {
	position: fixed;
	inset: 0;
	z-index: 40;
	overflow: auto;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: flex-start;
	/* Same ground / type as the Information page. */
	background: var(--lz-about-bg, #e4572e);
	color: var(--lz-about-fg, #111);
	/* Under the nav — not mid-viewport — so the copy isn’t stranded low. */
	padding:
		calc(var(--site-header-offset, 5.5rem) + 2.25rem)
		clamp(1.25rem, 4vw, 2.5rem)
		max(3rem, env(safe-area-inset-bottom, 0px));
	box-sizing: border-box;
	scroll-padding-top: calc(var(--site-header-offset, 5.5rem) + 1rem);
	/* Column stays centered; copy left-aligns inside it. */
	text-align: left;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}

.bio-more[hidden] {
	display: none !important;
}

body.bio-more-active {
	overflow: hidden;
}

.bio-more__column {
	/* Same centered column as the Information teaser; text left-aligned inside. */
	display: flex;
	flex-direction: column;
	align-items: stretch;
	width: min(100%, 48rem);
	max-width: min(48rem, calc(100vw - 2.5rem));
	margin-inline: auto;
	text-align: left;
}

.bio-more__paragraph {
	margin: 0;
	/* Same size as .landing-bio-band__teaser (Information page lead / h1). */
	font-size: clamp(1.55rem, 2.9vw, 3.1rem);
	line-height: 1.35;
	letter-spacing: -0.015em;
	text-align: left;
	text-wrap: pretty;
	max-width: 100%;
}

.bio-more__paragraph + .bio-more__paragraph {
	margin-top: 1.5rem;
}

.bio-more a,
.bio-more a:hover,
.bio-more a:focus-visible {
	color: var(--lz-about-fg, #111);
}

.bio-more__paragraph em,
.landing-bio-band__rest em,
.landing-bio-band__rest a em {
	font-style: italic;
}

/* Beat inline .landing-bio-band__read-more { display:inline-block } so it centers. */
.bio-more .landing-bio-band__read-more.bio-more__less,
.bio-more__less {
	display: block;
	width: fit-content;
	align-self: center;
	margin-top: 2.5rem;
	margin-left: auto;
	margin-right: auto;
	text-align: center;
	font-style: italic;
	font-weight: 500;
	font-size: var(--site-text-size);
	line-height: 1.2;
	color: var(--lz-about-fg, #111);
}

@media (max-width: 760px) {
	.bio-more {
		padding-top: calc(var(--site-header-offset, 5.5rem) + 1.75rem);
	}

	.bio-more__column {
		width: min(100%, calc(100vw - 2.5rem));
		max-width: min(100%, calc(100vw - 2.5rem));
	}
}

.landing-bio-band__actions {
	margin: 1.75rem auto 0;
	text-align: center;
}

.landing-bio-band__cta {
	display: inline-block;
	font-family: "Heldane", Arial, sans-serif;
	font-weight: 500;
	font-size: var(--site-text-size);
	letter-spacing: 0.04em;
	color: #fff;
	background: transparent;
	border: 1px solid #fff;
	border-radius: 0;
	padding: 0.7rem 1.6rem;
	cursor: pointer;
	line-height: 1.4;
	text-decoration: none;
	transition:
		background-color 160ms var(--lz-ease),
		color 160ms var(--lz-ease),
		border-color 160ms var(--lz-ease);
}

.landing-bio-band__cta:hover,
.landing-bio-band__cta:focus-visible {
	background: #fff;
	border-color: #fff;
	color: #000;
	outline: none;
}

.site-role {
	grid-column: 1 / 4;
	grid-row: 2;
	margin: 0;
	display: block;
	text-align: left !important;
	margin-left: 0 !important;
	margin-right: 0 !important;
	letter-spacing: 0.01em;
	font-family: "Heldane", Arial, sans-serif;
	font-size: var(--site-text-size);
	font-weight: 500;
	font-style: normal;
	color: var(--text);
	white-space: nowrap;
	transition: transform 2200ms var(--lz-ease);
}

.site-role em {
	font-family: "Heldane", Arial, sans-serif;
	font-style: italic;
	font-weight: 400;
}

.site-work-link-cluster {
	grid-column: 4 / 5;
	grid-row: 2;
	justify-self: end;
	align-self: start;
	display: inline-flex;
	align-items: baseline;
	flex-wrap: wrap;
	column-gap: var(--nav-item-gap);
	white-space: nowrap;
	color: var(--nav-link-active);
}

.site-work-link {
	font-size: var(--site-text-size);
	font-family: "Heldane", Arial, sans-serif;
	font-weight: 500;
	font-style: normal;
	line-height: 1.6;
	background: transparent;
	border: 0;
	border-radius: 0;
	padding: 0.08rem 0;
	margin: 0;
	text-decoration: none;
	cursor: pointer;
	white-space: nowrap;
	display: inline-flex;
	align-items: baseline;
}

.site-work-link__state {
	display: inline-flex;
	align-items: baseline;
	gap: var(--nav-item-gap);
}

.site-work-link__state[hidden] {
	display: none !important;
}

.site-work-link:hover {
	background: transparent;
}

.site-work-link__label {
	color: var(--nav-link-active);
	font-family: "Heldane", Arial, sans-serif;
	font-weight: 500;
	font-style: normal;
	opacity: 0.5;
	transition: opacity 160ms var(--lz-ease);
}

.site-work-link__label.is-nav-active {
	opacity: 1;
}

.site-work-link:hover .site-work-link__label:not(.is-nav-active),
.site-work-link:focus-visible .site-work-link__label:not(.is-nav-active) {
	opacity: 0.5;
}

.site-work-link:hover .site-work-link__label.is-nav-active,
.site-work-link:focus-visible .site-work-link__label.is-nav-active {
	opacity: 1;
}

/* Legacy/custom header_nav_right markup without label spans */
.site-work-link strong {
	color: var(--nav-link-active);
	font-weight: inherit;
	opacity: 1;
}

.site-work-link__contact {
	font-size: var(--site-text-size);
	font-family: "Heldane", Arial, sans-serif;
	font-weight: 500;
	font-style: normal;
	line-height: 1.6;
	color: var(--nav-link-active);
	text-decoration: none;
	padding: 0.08rem 0;
	white-space: nowrap;
	opacity: 0.5;
	transition: opacity 160ms var(--lz-ease);
}

.site-work-link__contact:visited {
	color: var(--nav-link-active);
	opacity: 0.5;
}

.site-work-link__contact:hover,
.site-work-link__contact:active,
.site-work-link__contact:focus-visible {
	opacity: 1;
	color: var(--nav-link-active);
	text-decoration: none;
}

.site-work-link__contact:focus-visible {
	outline: 2px solid var(--nav-link-active);
	outline-offset: 3px;
	border-radius: 1px;
}

/* Nav labels sit put — barn doors / splash are the only entrance motion.
   Opacity stays with active/inactive (0.5 / 1) — do not force 1 here. */
.site-header .site-role em,
.site-header .site-work-link__label,
.site-header .site-work-link__contact {
	display: inline-block;
	transform: none;
	transition: color 280ms var(--lz-ease), opacity 160ms var(--lz-ease);
}

.site-header .site-role em {
	opacity: 1;
}

html.lz-nav-in .site-header .site-role em,
html.lz-nav-in .site-header .site-work-link__label,
html.lz-nav-in .site-header .site-work-link__contact {
	transform: none;
}

@media (prefers-reduced-motion: reduce) {
	.site-header .site-role em,
	.site-header .site-work-link__label,
	.site-header .site-work-link__contact {
		transform: none;
		transition: none;
	}
}

.site-work-link:focus-visible {
	background: transparent;
	outline: 2px solid var(--nav-link-active);
	outline-offset: 3px;
}

.site-work-subtitle {
	grid-column: 4 / 5;
	grid-row: 2;
	justify-self: end;
	align-self: start;
	margin: 1.472rem 0 0;
	font-size: calc(var(--site-text-size) - 2pt);
	line-height: 1.6;
	transform: none;
	display: none !important;
}

body.work-media-active .site-work-subtitle {
	display: none !important;
}

.studio-grid {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	column-gap: var(--grid-gap);
	row-gap: var(--studio-grid-gap);
	align-items: stretch;
	/* Same horizontal inset as .site-header .wrap — Contact + portrait align with Lisa Ziven */
	padding-inline: var(--site-left-edge) var(--site-right-edge);
	box-sizing: border-box;
	transition: opacity 900ms var(--lz-ease), transform 900ms var(--lz-ease), filter 900ms var(--lz-ease);
}

.studio-grid > .studio-column {
	border-bottom: 0;
	padding-bottom: 0.85rem;
	box-sizing: border-box;
}

.studio-column p {
	margin: 0 0 0.9rem;
	font-size: var(--site-text-size);
	transition: transform 2200ms var(--lz-ease);
	will-change: transform;
}

/* Subheaders: <strong><em>…</em></strong> keep medium weight under italic */
.studio-column strong em,
.studio-column em strong {
	font-weight: 500;
}

.studio-column .studio-nowrap {
	white-space: nowrap;
}

.studio-column .studio-public-art-body {
	overflow-x: auto;
	-webkit-overflow-scrolling: touch;
}

.studio-column a.studio-project-work-link {
	color: inherit;
	text-decoration: underline;
	text-underline-offset: 0.12em;
	text-decoration-thickness: 0.06em;
}

.work-media-stage .summary-item.lz-project-anchor {
	scroll-margin-top: 6rem;
	box-sizing: border-box;
}

.studio-intro {
	font-size: var(--site-intro-text-size);
	line-height: 1.25;
}

.studio-column:first-child p.studio-section-heading {
	font-size: var(--site-text-size);
	line-height: normal;
}

.studio-column:first-child p.studio-contact-block {
	font-size: var(--site-text-size);
	line-height: 1.35;
}

.studio-about-intro-image {
	margin: 0.85rem 0 0.9rem;
	max-width: min(100%, 19rem);
}

.studio-about-intro-image img {
	display: block;
	width: 100%;
	height: auto;
	max-width: 100%;
}

.studio-column {
	padding-inline: 0;
	opacity: 0;
	animation: elegantFadeIn 700ms var(--lz-ease) both;
}

/* Outer insets live on .studio-grid; cells match header tracks (no extra inline padding). */
.studio-column:first-child {
	padding-inline-start: 0;
}

.studio-column:last-child {
	padding-inline-end: 0;
}

.studio-column:nth-child(1) {
	animation-delay: 120ms;
}

.studio-column:nth-child(2) {
	animation-delay: 220ms;
}

.studio-column:nth-child(3) {
	animation-delay: 320ms;
}

.studio-column:nth-child(4) {
	animation-delay: 420ms;
}

.studio-column--middle-left p.studio-middle-left-art {
	border-top: 0;
	padding-top: 0.75rem;
}

.studio-section-block {
	margin-top: var(--studio-section-gap);
}

/* First subsection in a column keeps the default paragraph gap only */
.studio-column > .studio-section-block:first-child,
.studio-column > p:first-child + .studio-section-block {
	margin-top: 0;
}

.studio-column--right .studio-middle-right-projects-heading {
	margin-top: var(--studio-section-gap);
}

.studio-column--right > .studio-middle-right-projects-heading:first-child {
	margin-top: 0;
}

/* Public Art column: left-aligned blocks (title + list share the same left edge) */
@media (min-width: 701px) {
	.studio-column--right {
		display: flex;
		flex-direction: column;
		align-items: flex-start;
		text-align: left;
	}

	.studio-column--right > p {
		margin: 0 0 0.9rem;
		width: 100%;
		max-width: 100%;
		text-align: left;
	}

	.studio-column--right > p:last-child {
		margin-bottom: 0;
	}

	.studio-column--right .studio-public-art-body {
		overflow-x: visible;
	}
}

.work-media-stage {
	--work-grid-column-gap: 2.25rem;
	--work-grid-row-gap: 5.5rem;
	/* Used in media queries for section title math; keep in sync with column gutters. */
	--work-grid-gap: var(--work-grid-column-gap);
	/* Mobile + tablet: same inset as the information page; desktop work view overrides below. */
	--work-page-edge-inset: var(--page-edge-inset);
	--work-title-inset-3: 0;
	--work-title-inset-4: 0;
	position: fixed;
	/* Full viewport (top–bottom); white fills under the sticky header with no gap above or below */
	inset: 0;
	box-sizing: border-box;
	/* Header clearance is padding on this outer layer; scrolling happens on .work-media-stage__scroll
	   so section titles can use sticky top:0 without doubling the offset (padding-top + top on the same box breaks in Chrome). */
	padding-top: 0;
	padding-inline: 0;
	display: flex;
	flex-direction: column;
	overflow: hidden;
	opacity: 0;
	pointer-events: none;
	/* No transform on this layer — sticky section titles break if transformed */
	transition:
		opacity var(--view-transition-duration) var(--view-transition-ease),
		z-index 0s linear 0s;
	transition-delay: 0ms;
	z-index: 15;
	scrollbar-width: none;
	-ms-overflow-style: none;
	/* Opaque fill so landing portrait does not show through behind project thumbnails */
	background: var(--lz-work-bg, #fff);
}

.work-media-stage__scroll {
	flex: 1 1 auto;
	min-height: 0;
	width: 100%;
	position: relative;
	display: flex;
	flex-direction: column;
	overflow-y: auto;
	overflow-x: clip;
	-webkit-overflow-scrolling: touch;
	scrollbar-width: none;
	-ms-overflow-style: none;
	background: var(--lz-work-bg, #fff);
	padding-bottom: calc(
		var(--work-scroll-bottom-padding) + env(safe-area-inset-bottom, 0px)
	);
	box-sizing: border-box;
}

.work-media-stage__scroll > .work-section {
	flex-shrink: 0;
}

/* Last section should not keep the between-section gap as empty space under the grid. */
.work-media-stage__scroll > .work-section:last-of-type .summary-item-list.sqs-gallery-design-autogrid {
	padding-bottom: 0;
}

.work-media-stage__scroll::-webkit-scrollbar {
	display: none;
}

/* Equal-column grids: uniform gutters between tracks */
.work-media-stage .summary-item-list.sqs-gallery-design-autogrid:not(.section-grid--projects) {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	align-items: start;
	justify-items: stretch;
	row-gap: var(--work-grid-row-gap);
	column-gap: var(--work-grid-column-gap);
	margin-bottom: 0 !important;
	width: 100%;
}

.work-media-stage .summary-item-list.sqs-gallery-design-autogrid.photography-grid,
.work-media-stage .summary-item-list.sqs-gallery-design-autogrid.section-grid--short-films {
	grid-template-columns: repeat(4, minmax(0, 1fr));
}

.work-media-stage .summary-item-list.sqs-gallery-design-autogrid.photography-grid {
	margin-top: 0.15rem;
}

.work-media-stage .summary-item-list.sqs-gallery-design-autogrid > .summary-item,
.work-media-stage .lz-work-row > .summary-item {
	min-width: 0;
	width: 100% !important;
	max-width: none;
}

.work-media-stage .summary-item-list.sqs-gallery-design-autogrid > .summary-item[data-type="image"],
.work-media-stage .lz-work-row > .summary-item[data-type="image"] {
	display: flex;
	flex-direction: column;
	align-items: stretch;
	gap: 0.65rem;
	text-align: left;
}

/* Empty-section placeholder: full width so the message isn’t squeezed into one slot. */
.work-media-stage .summary-item-list.sqs-gallery-design-autogrid > .summary-item[data-type="text"] {
	flex: 1 1 100%;
	max-width: 100%;
	width: 100% !important;
}

.work-section-title {
	margin: 0.85rem 0 0.1rem;
	font-size: var(--site-subheader-size);
	line-height: 1.2;
	font-style: normal;
	position: sticky;
	top: 0;
	z-index: 6;
	background-color: var(--lz-work-bg, #fff);
	padding: 0.12rem 0 0.35rem;
	isolation: isolate;
}

.work-media-stage .work-section-title {
	/* In-flow section labels in the grid — the sticky spy subnav owns the live label. */
	position: relative;
	top: auto;
	z-index: 1;
	width: auto;
	height: auto;
	margin: 0 0 0.55rem;
	padding: 0.15rem 0 0.45rem;
	overflow: visible;
	clip: auto;
	white-space: normal;
	pointer-events: auto;
	background-color: transparent;
	padding-inline: var(--site-nav-edge) var(--site-nav-edge);
	/* Snapped content inset — not the easing nav frame. */
	margin-left: max(var(--site-frame-inset), env(safe-area-inset-left, 0px));
	margin-right: max(var(--site-frame-inset), env(safe-area-inset-right, 0px));
	box-sizing: border-box;
}

.work-media-stage .work-section > .work-section-title {
	position: relative !important;
	width: auto;
	height: auto;
	overflow: visible;
	clip: auto;
	white-space: normal;
	pointer-events: auto;
	border: 0;
}

/* Hide an in-grid headline once it meets the sticky subnav — one label only. */
.work-media-stage .work-section > .work-section-title.is-under-subnav,
.work-media-stage .work-section:first-of-type > .work-section-title,
.work-media-stage .work-section--commercial-editorial > .work-section-title {
	position: absolute !important;
	width: 1px !important;
	height: 1px !important;
	padding: 0 !important;
	margin: -1px !important;
	overflow: hidden !important;
	clip: rect(0, 0, 0, 0) !important;
	white-space: nowrap !important;
	border: 0 !important;
	pointer-events: none !important;
	opacity: 0 !important;
	visibility: hidden !important;
}

.work-media-stage .work-section-title--films {
	padding-top: 0.15rem;
}

/* Sticky spy subnav — sits under the main nav; active label updates on scroll.
   Hover / tap reveals every section. Project open slides the label to Close. */
.work-section-nav {
	--lz-subnav-slide-ms: 360ms;
	--lz-subnav-slide-ease: var(--lz-ease);
	position: sticky;
	top: 0;
	z-index: 13;
	display: flex;
	flex-direction: column;
	margin-top: 0;
	margin-left: max(var(--nav-frame-inset, var(--site-frame-inset)), env(safe-area-inset-left, 0px));
	margin-right: max(var(--nav-frame-inset, var(--site-frame-inset)), env(safe-area-inset-right, 0px));
	padding-inline: var(--site-nav-edge) var(--site-nav-edge);
	padding-top: 0;
	padding-bottom: 0.15rem;
	background-color: var(--lz-work-bg, #fff);
	isolation: isolate;
	font-size: var(--site-subheader-size);
	line-height: 1.2;
	box-shadow: none;
	box-sizing: border-box;
	width: auto;
	transform: translate3d(0, 0, 0);
	opacity: 1;
	visibility: visible;
	pointer-events: auto;
	transition:
		transform var(--lz-subnav-slide-ms) var(--lz-subnav-slide-ease),
		opacity 0ms linear,
		visibility 0ms linear,
		background-color 0ms linear;
	will-change: transform;
}

body.work-media-active:not(.is-project-detail-open):not(.is-project-morphing) .work-section-nav {
	display: flex;
	transform: translate3d(0, 0, 0);
	opacity: 1;
	visibility: visible;
	pointer-events: auto;
}

body.work-media-active.is-project-detail-open:not(.is-project-morphing) .work-section-nav,
body.work-media-active.is-project-morphing .work-section-nav {
	display: flex !important;
	transform: translate3d(0, 0, 0);
	opacity: 1;
	visibility: visible;
	pointer-events: auto;
}

@media (prefers-reduced-motion: reduce) {
	.work-section-nav {
		transition: none !important;
	}
}

.work-section-nav::before {
	content: none;
}

.work-section-nav__slot {
	position: relative;
	display: grid;
	margin-top: 0.55rem;
	min-height: 1.2em;
	overflow: hidden;
}

.work-section-nav__inner,
.work-section-nav__close {
	grid-area: 1 / 1;
	align-self: start;
	justify-self: start;
	transition:
		transform 560ms var(--lz-ease),
		opacity 420ms var(--lz-ease);
	will-change: transform, opacity;
}

.work-section-nav__inner {
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	gap: 0 1.25rem;
	margin-top: 0;
	transform: translate3d(0, 0, 0);
	opacity: 1;
}

.work-section-nav__close {
	display: inline-flex;
	align-items: baseline;
	flex-wrap: wrap;
	gap: 0.4em;
	max-width: min(42rem, calc(100vw - 4rem));
	margin: 0;
	padding: 0;
	border: 0;
	background: transparent;
	color: inherit;
	font: inherit;
	font-size: inherit;
	line-height: inherit;
	letter-spacing: 0.01em;
	text-align: left;
	cursor: pointer;
	/* Parked above the slot — subtitle slides down to reveal it. */
	transform: translate3d(0, -110%, 0);
	opacity: 0;
	pointer-events: none;
}

.work-section-nav__close {
	font-weight: 400;
}

.work-section-nav__close .work-detail-close__project,
.work-section-nav__close .work-detail-close__action {
	font-weight: 400;
}

.work-section-nav__close .work-detail-close__project {
	min-width: 0;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

body.is-project-detail-open .work-section-nav__inner,
body.is-project-morphing .work-section-nav__inner {
	transform: translate3d(0, 110%, 0);
	opacity: 0;
	pointer-events: none;
}

body.is-project-detail-open .work-section-nav__close,
body.is-project-morphing .work-section-nav__close {
	transform: translate3d(0, 0, 0);
	opacity: 1;
	pointer-events: auto;
}

/* Subnav still swaps Films → Close for the underlying grid, but the clickable
   Close must live on the overlay — .work-section-nav sits inside
   .work-media-stage (z-index 30) and cannot paint above the sheet (250). */
body.is-project-detail-open .work-section-nav,
body.is-project-morphing .work-section-nav {
	position: fixed;
	top: calc(var(--lz-header-bottom, 0px) - 1px);
	left: max(var(--nav-frame-inset, var(--site-frame-inset)), env(safe-area-inset-left, 0px));
	right: max(var(--nav-frame-inset, var(--site-frame-inset)), env(safe-area-inset-right, 0px));
	margin-top: 0;
	z-index: 13;
	pointer-events: none;
	background: transparent;
	/* Visual swap stays for exit morph; overlay Close is the hit target. */
	visibility: hidden;
}

body.is-project-detail-open .work-section-nav:hover .work-section-nav__link:not(.is-active),
body.is-project-morphing .work-section-nav:hover .work-section-nav__link:not(.is-active) {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

/* Only the active overlay’s Close — never both (ghost left-edge duplicate). */
.work-detail-close {
	opacity: 0;
	visibility: hidden;
	pointer-events: none;
}

#project-gallery-overlay.is-open > .work-detail-close,
#project-gallery-overlay.is-open .project-gallery-panel > .work-detail-close,
#project-video-overlay.is-open > .work-detail-close,
body.is-project-morphing #project-gallery-overlay.is-open > .work-detail-close,
body.is-project-morphing #project-gallery-overlay.is-open .project-gallery-panel > .work-detail-close,
body.is-project-morphing #project-video-overlay.is-open > .work-detail-close {
	opacity: 1 !important;
	visibility: visible !important;
	pointer-events: auto !important;
	color: #111 !important;
}

#project-video-overlay.is-open.is-video-started > .work-detail-close {
	color: #fff !important;
}

/* Subnav link states — normal muted, hover underlined mid, active solid + weight. */
.work-section-nav__link {
	color: #111;
	text-decoration: none;
	text-underline-offset: 0.2em;
	text-decoration-thickness: 1px;
	opacity: 0.5;
	font-weight: 400;
	transition:
		opacity 160ms var(--lz-ease),
		color 160ms var(--lz-ease),
		font-weight 0ms linear;
	white-space: nowrap;
}

.work-section-nav__link.is-active {
	opacity: 1;
	font-weight: 500;
}

.work-section-nav:not(:hover):not(.is-expanded):not(:focus-within) .work-section-nav__link:not(.is-active) {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

.work-section-nav:hover .work-section-nav__link,
.work-section-nav.is-expanded .work-section-nav__link,
.work-section-nav:focus-within .work-section-nav__link {
	position: static;
	width: auto;
	height: auto;
	margin: 0;
	overflow: visible;
	clip: auto;
	opacity: 0.5;
	font-weight: 400;
}

.work-section-nav:hover .work-section-nav__link.is-active,
.work-section-nav.is-expanded .work-section-nav__link.is-active,
.work-section-nav:focus-within .work-section-nav__link.is-active {
	opacity: 1;
	font-weight: 500;
}

.work-section-nav__link:hover,
.work-section-nav__link:focus-visible {
	opacity: 0.5;
	text-decoration: underline;
}

.work-section-nav__link.is-active:hover,
.work-section-nav__link.is-active:focus-visible {
	opacity: 1;
	text-decoration: underline;
	text-decoration-thickness: 1.5px;
}

.work-section-nav__link:active {
	opacity: 1;
}

@media (hover: none) {
	.work-section-nav__link.is-active {
		cursor: pointer;
	}
}

/* Section gallery rows: left-align thumbnails with the section title text */

.work-media-stage .work-section-title.work-section-title--cols-3 + .summary-item-list.sqs-gallery-design-autogrid:not(.photography-grid) {
	padding-inline-start: var(--work-title-inset-3);
}

.work-media-stage .work-section-title.work-section-title--cols-4 + .summary-item-list.sqs-gallery-design-autogrid.photography-grid {
	padding-inline-start: var(--work-title-inset-4);
}

.work-media-stage .work-section-title.work-section-title--cols-5 + .summary-item-list.sqs-gallery-design-autogrid.photography-grid {
	padding-inline-start: var(--work-title-inset-4);
}

.work-media-stage .summary-item-list.sqs-gallery-design-autogrid {
	/* Gap between one section's thumbnails and the next (labels are in the sticky subnav) */
	padding-bottom: var(--work-section-gap);
}

.work-media-stage .work-section + .work-section .work-section-title {
	/* Keep margin zeroed — spacing comes from gallery padding-bottom above */
	margin-top: 0;
}

/* Desktop: page content keeps a wider inset; nav stays snug. */
@media (min-width: 701px) {
	:root {
		--site-layout-inset: max(1rem, 6%);
		--site-left-edge: max(var(--site-layout-inset), env(safe-area-inset-left, 0px));
		--site-right-edge: max(var(--site-layout-inset), env(safe-area-inset-right, 0px));
		--site-nav-edge: max(var(--lz-menu-inset), 1.5%);
	}

	body.work-media-active .work-media-stage {
		/* Match Lisa Ziven / Work section-nav left edge — not the wider page inset. */
		--work-page-edge-inset: var(--nav-text-inset);
	}

	body.work-media-active .work-detail-close,
	body.work-media-active #project-video-overlay > .work-detail-close {
		left: 0;
		right: 0;
	}

	.work-media-stage .summary-thumbnail-outer-container,
	.work-media-stage .summary-content.sqs-gallery-meta-container {
		max-width: 100%;
		width: 100%;
		margin-inline: 0;
	}
}

.work-media-stage .summary-item.sqs-gallery-design-autogrid-slide {
	width: 100% !important;
	margin: 0 !important;
	clear: none !important;
	overflow: visible;
}

/* Thumbnail + caption: fill grid column */
.work-media-stage .summary-thumbnail-outer-container,
.work-media-stage .summary-content.sqs-gallery-meta-container {
	max-width: 100%;
	width: 100%;
	margin-inline: 0;
}

/* Keep caption below thumbnail; top-align title block across the row */
.work-media-stage .summary-content.sqs-gallery-meta-container {
	position: relative;
	z-index: 2;
	align-self: flex-start;
}

.work-media-stage .summary-thumbnail-outer-container {
	display: block;
	padding-bottom: 0;
}

.work-media-stage .summary-thumbnail-image {
	display: block;
	width: 100%;
	height: auto;
	max-width: 100%;
	max-height: min(24vh, 240px);
	object-fit: contain;
	object-position: left top;
	margin-inline: 0;
}

.work-media-stage .summary-thumbnail-container {
	display: block;
	position: relative;
	text-align: left;
	border-radius: 8px;
	/* No plate color — only the image content. */
	background: transparent;
	overflow: hidden;
}

.work-media-stage .summary-thumbnail-image.lz-progressive-img {
	opacity: 0;
	filter: none;
	transform: none;
	transition-property: opacity;
	transition-duration: 640ms;
	transition-timing-function: var(--lz-ease);
}

/* External Work cards (trulytype.com, 2manybooks.com): strict 16×9 frame full-width in column */
.work-media-stage .lz-project-external .summary-thumbnail-outer-container {
	width: 100%;
	max-width: 100%;
}

.work-media-stage .lz-project-external .summary-thumbnail-container.lz-project-external-link {
	width: 100%;
	aspect-ratio: 16 / 9;
	overflow: hidden;
	box-sizing: border-box;
}

/* Projects: trulytype + 2manybooks — flex row, not the main grid */
.work-media-stage .summary-item-list.section-grid--projects {
	display: flex;
	flex-wrap: wrap;
	align-items: flex-start;
	--lz-external-tile-w: min(100%, 6.25rem);
	gap: var(--work-grid-row-gap) var(--work-grid-column-gap);
}

.work-media-stage .section-grid--projects > .summary-item.lz-project-external {
	flex: 0 0 var(--lz-external-tile-w);
	width: var(--lz-external-tile-w);
	max-width: var(--lz-external-tile-w);
	min-width: 0;
	box-sizing: border-box;
}

.work-media-stage .section-grid--projects > .summary-item.lz-project-external + .summary-item.lz-project-external {
	margin-top: 0;
	margin-left: 0;
}

.work-media-stage .section-grid--projects > .summary-item.lz-project-external .summary-thumbnail-outer-container {
	width: 100%;
	max-width: 100%;
	margin-left: 0;
	margin-right: 0;
}

.work-media-stage .section-grid--projects .lz-project-external .lz-project-external-tile {
	font-size: max(0.55rem, calc(var(--site-text-size) - 6pt));
}

/* One line per label; ellipsis if the box is too narrow */
.work-media-stage .section-grid--projects .lz-external-card__labels {
	padding: 0.35rem 0.45rem;
	max-width: 100%;
}

.work-media-stage .section-grid--projects .lz-external-card__domain,
.work-media-stage .section-grid--projects .lz-external-card__cta {
	display: block;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
	max-width: 100%;
}

/* Black 16×9 tile: domain centered; crossfade to “Visit site” on hover / focus */
.work-media-stage .lz-project-external-tile {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
	background: #000;
	color: #fff;
	text-decoration: none;
	border: 0;
	border-radius: 8px;
	font-size: var(--site-text-size);
	line-height: 1.3;
	text-align: center;
	transition: background 0.2s var(--lz-ease), color 0.2s var(--lz-ease);
}

.work-media-stage .lz-project-external-tile:hover,
.work-media-stage .lz-project-external-tile:focus-visible {
	background: #0a0a0a;
	color: #fff;
	outline: none;
}

.work-media-stage .lz-external-card__bg {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center;
	opacity: 0.22;
	pointer-events: none;
	z-index: 0;
}

.work-media-stage .lz-external-card__labels {
	position: relative;
	z-index: 1;
	display: grid;
	place-items: center;
	padding: 0.75rem 1rem;
	max-width: 95%;
	box-sizing: border-box;
}

.work-media-stage .lz-external-card__domain,
.work-media-stage .lz-external-card__cta {
	grid-area: 1 / 1;
	margin: 0;
	transition: opacity 0.2s var(--lz-ease);
}

.work-media-stage .lz-external-card__cta {
	opacity: 0;
}

.work-media-stage .lz-project-external-tile:hover .lz-external-card__domain,
.work-media-stage .lz-project-external-tile:focus-visible .lz-external-card__domain {
	opacity: 0;
}

.work-media-stage .lz-project-external-tile:hover .lz-external-card__cta,
.work-media-stage .lz-project-external-tile:focus-visible .lz-external-card__cta {
	opacity: 1;
}

.work-media-stage .lz-project-external .summary-thumbnail-image {
	display: block;
	width: 100%;
	height: 100%;
	max-width: none;
	max-height: none;
	object-fit: cover;
	object-position: center center;
}

.work-media-stage .lz-project-external-tile .lz-external-card__bg + .lz-external-card__labels .lz-external-card__domain {
	text-shadow: 0 1px 2px rgba(0, 0, 0, 0.8);
}

.work-media-stage .lz-project-external-tile .lz-external-card__bg + .lz-external-card__labels .lz-external-card__cta {
	text-shadow: 0 1px 2px rgba(0, 0, 0, 0.8);
}

.work-media-stage .photography-grid .summary-thumbnail-outer-container,
.work-media-stage .photography-grid .summary-content.sqs-gallery-meta-container {
	max-width: 100%;
	width: 100%;
	margin-inline: 0;
}

/* Legacy fixed-height band (unused — all work grids use 4- or 5-col autogrid). */
.work-media-stage .photography-grid:not(.section-grid--4col):not(.section-grid--5col) > .summary-item[data-type="image"] {
	gap: 0.12rem;
}

.work-media-stage .photography-grid:not(.section-grid--4col):not(.section-grid--5col) .summary-thumbnail-outer-container {
	min-height: min(21vh, 210px);
	display: flex;
	flex-direction: column;
	justify-content: flex-start;
	align-items: flex-start;
}

/* Incomplete last row (e.g. solo item): no fixed band — caption hugs image */
.work-media-stage .photography-grid:not(.section-grid--4col):not(.section-grid--5col) > .summary-item:nth-child(4n + 1):nth-last-child(1) .summary-thumbnail-outer-container,
.work-media-stage .photography-grid:not(.section-grid--4col):not(.section-grid--5col) > .summary-item:nth-child(4n + 2):nth-last-child(1) .summary-thumbnail-outer-container,
.work-media-stage .photography-grid:not(.section-grid--4col):not(.section-grid--5col) > .summary-item:nth-child(4n + 3):nth-last-child(1) .summary-thumbnail-outer-container,
.work-media-stage .photography-grid:not(.section-grid--4col):not(.section-grid--5col) > .summary-item:nth-child(4n + 4):nth-last-child(1) .summary-thumbnail-outer-container {
	min-height: 0;
	display: block;
}

.work-media-stage .photography-grid:not(.section-grid--4col):not(.section-grid--5col) .summary-content.sqs-gallery-meta-container {
	margin-top: 0;
	padding-top: 0;
}

.work-media-stage .photography-grid:not(.section-grid--4col):not(.section-grid--5col) .summary-thumbnail-image {
	width: 100%;
	max-width: 100%;
	max-height: min(21vh, 210px);
	object-position: left top;
}

.work-media-stage .photography-grid .lz-project-external .summary-thumbnail-outer-container {
	width: 100%;
	max-width: 100%;
}

.work-media-stage .photography-grid:not(.section-grid--4col):not(.section-grid--5col) .summary-thumbnail-image {
	width: 100%;
	max-width: 100%;
	max-height: min(21vh, 210px);
	object-position: left top;
}

.work-media-stage .photography-grid .lz-project-external .summary-thumbnail-image {
	width: 100%;
	height: 100%;
	max-width: none;
	max-height: none;
	object-fit: cover;
	object-position: center center;
}

/* 4-column autogrid (Films, Short Films — ~16px gutter, natural image height) */
.work-media-stage .summary-item-list.sqs-gallery-design-autogrid.section-grid--4col {
	grid-template-columns: repeat(4, minmax(0, 1fr));
	column-gap: var(--work-grid-column-gap);
	row-gap: var(--work-grid-row-gap);
}

.work-media-stage .section-grid--4col > .summary-item[data-type="image"],
.work-media-stage .section-grid--4col .lz-work-row > .summary-item[data-type="image"] {
	gap: 0.12rem;
}

.work-media-stage .section-grid--4col .summary-thumbnail-outer-container {
	min-height: 0;
	display: block;
}

.work-media-stage .section-grid--4col .summary-thumbnail-image {
	width: 100%;
	max-width: 100%;
	max-height: none;
	height: auto;
	object-fit: contain;
	object-position: left top;
}

.work-media-stage .section-grid--4col .summary-content.sqs-gallery-meta-container {
	margin-top: 0;
	padding-top: 0;
}

/* 5-column autogrid (Art, Commercial & Editorial, Public Art — ~16px gutter, natural image height) */
.work-media-stage .summary-item-list.sqs-gallery-design-autogrid.section-grid--5col {
	grid-template-columns: repeat(5, minmax(0, 1fr));
	column-gap: var(--work-grid-column-gap);
	row-gap: var(--work-grid-row-gap);
}

.work-media-stage .section-grid--5col > .summary-item[data-type="image"],
.work-media-stage .section-grid--5col .lz-work-row > .summary-item[data-type="image"] {
	gap: 0.12rem;
}

.work-media-stage .section-grid--5col .summary-thumbnail-outer-container {
	min-height: 0;
	display: block;
}

.work-media-stage .section-grid--5col .summary-thumbnail-image {
	width: 100%;
	max-width: 100%;
	max-height: none;
	height: auto;
	object-fit: contain;
	object-position: left top;
}

.work-media-stage .section-grid--5col .summary-content.sqs-gallery-meta-container {
	margin-top: 0;
	padding-top: 0;
}

.work-media-stage .section-grid--short-films > .summary-item[data-type="text"] {
	grid-column: 1 / -1;
	max-width: 100%;
	width: 100%;
}

.work-media-stage .section-grid--short-films .summary-excerpt {
	line-height: 1.2;
}

.work-media-stage .section-grid--short-films .summary-excerpt p {
	margin: 0;
}

.work-media-stage .summary-excerpt {
	font-size: max(0.68rem, calc(var(--site-text-size) - 5pt));
	line-height: 1.25;
	text-align: left;
}

.work-media-stage .summary-excerpt p {
	margin: 0;
	text-align: left;
}

.work-media-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 0.7rem;
	align-items: start;
	padding: 0;
}

.work-media-item {
	margin: 0;
	width: 100%;
	display: grid;
	gap: 0.35rem;
	overflow: visible;
}

.work-media-item img {
	display: block;
	width: 100%;
	height: auto;
	max-width: 100%;
	max-height: none;
	object-fit: contain !important;
	object-position: center center;
}

.work-media-item figcaption {
	font-size: var(--site-text-size);
	line-height: 1.35;
	color: #111;
}

body.work-media-active {
	--lz-work-bg: #fff;
	overflow: hidden;
	background-color: var(--lz-work-bg);
	/* Lock layout height when Work view is open (fullscreen / resize safe). */
	height: 100%;
	height: 100dvh;
	height: 100svh;
	transition:
		background-color var(--view-transition-duration) var(--view-transition-ease),
		--nav-frame-inset var(--lz-nav-frame-ms, 780ms) var(--lz-nav-frame-ease, cubic-bezier(0.33, 0, 0.18, 1));
}

/* Information view: about tone fills the viewport below the white header. */
body:not(.work-media-active) {
	background-color: var(--lz-about-bg, #e4572e);
	min-height: 100dvh;
	min-height: 100svh;
	display: flex;
	flex-direction: column;
	overflow-x: clip;
	overflow-y: auto;
	scrollbar-width: none;
	-ms-overflow-style: none;
	transition:
		background-color var(--view-transition-duration) var(--view-transition-ease),
		--nav-frame-inset var(--lz-nav-frame-ms, 780ms) var(--lz-nav-frame-ease, cubic-bezier(0.33, 0, 0.18, 1));
}

body:not(.work-media-active)::-webkit-scrollbar {
	display: none;
	width: 0;
	height: 0;
}

html:has(body:not(.work-media-active)) {
	scrollbar-width: none;
	-ms-overflow-style: none;
}

html:has(body:not(.work-media-active))::-webkit-scrollbar {
	display: none;
}

body:not(.work-media-active) .site-main {
	flex: 1 1 auto;
	background-color: var(--lz-about-bg, #e4572e);
	color: var(--lz-about-fg, #111);
}

/* Work page: white header plate (via ::before), black nav type (matches work grid).
   Content frame snaps to 0; plate eases via --nav-frame-inset in index.html. */
body.work-media-active {
	--site-frame-inset: 0px;
	--nav-frame-inset: 0px;
}
body.work-media-active .site-header {
	background: transparent;
	--nav-link-active: #000;
	--nav-link-inactive: rgb(0 0 0 / 0.95);
}

body.work-media-active .site-role {
	color: var(--text);
}

body.work-media-active .site-work-link:focus-visible,
body.work-media-active .site-work-link__contact:focus-visible {
	outline-color: #000;
}

body.work-media-active .landing-hero-portrait {
	visibility: hidden;
	pointer-events: none;
}

/* During brandoor: Work sits in the gap between panels (below brandoor, above hidden info). */
body.is-view-transitioning .work-media-stage,
body.is-brandoor-exiting .work-media-stage {
	z-index: 24;
	transition-delay: 0ms;
}

body.is-view-transitioning.work-media-active .work-media-stage {
	transition-delay: 40ms;
}

body.work-media-active .work-media-stage {
	opacity: 1;
	pointer-events: auto;
	/* Full viewport always — footer slides up over the stage (no height fight). */
	top: 0;
	right: 0;
	left: 0;
	bottom: 0;
	width: 100%;
	height: auto;
	max-height: none;
}

body.work-media-active:not(.is-view-transitioning) .work-media-stage {
	z-index: 30;
	transition-delay: 0ms;
}

/* Keep About (default) view text fully visible while scrolling */
body:not(.work-media-active) .studio-grid {
	opacity: 1 !important;
	transform: none !important;
	filter: none !important;
	pointer-events: auto !important;
	padding-bottom: 2rem;
}

/* content-visibility:auto underestimates scroll height; last sections (Public Art) vanish. */
body.work-media-active .work-media-stage .summary-item,
body.work-media-active .work-media-stage .work-section {
	content-visibility: visible;
}

.work-detail-overlay {
	position: fixed;
	inset: 0;
	background: var(--bg);
	/* Above .site-header (200) so × Close and overlay content are not covered */
	z-index: 250;
	display: none;
	padding: 5.5rem 1.2rem 1.2rem;
	overflow: auto;
}

.work-detail-overlay.is-open {
	display: block;
}

.work-detail-panel {
	max-width: 44rem;
	margin: 0 auto;
	position: relative;
}

.work-detail-close {
	position: fixed;
	/* Full-width project chrome: title left, Close right — replaces the slid-away main nav. */
	top: max(env(safe-area-inset-top, 0px), 0px);
	left: 0;
	right: 0;
	width: 100%;
	max-width: none;
	box-sizing: border-box;
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	flex-wrap: nowrap;
	gap: 1rem;
	/* Match .site-header .wrap vertical + horizontal padding. */
	padding: 0.75rem var(--site-nav-edge);
	border: 0;
	background: transparent;
	color: #111;
	font-family: inherit;
	font-size: var(--site-subheader-size);
	font-weight: 400;
	line-height: 1.2;
	letter-spacing: 0.01em;
	text-transform: none;
	text-align: left;
	cursor: pointer;
	/* Stacking relative to siblings inside overlay (e.g. gallery nav z-index 120) */
	z-index: 200;
	transition: text-decoration-color 160ms var(--lz-ease), opacity 220ms var(--lz-ease);
}

.work-detail-close__project,
.work-detail-close__action {
	font-weight: 400;
	font-style: normal;
}

.work-detail-close__project {
	min-width: 0;
	flex: 1 1 auto;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
	text-align: left;
}

.work-detail-close__action {
	flex: 0 0 auto;
	margin-left: auto;
	white-space: nowrap;
	text-align: right;
}

.work-detail-close.is-struck,
.work-detail-close.is-struck .work-detail-close__project,
.work-detail-close.is-struck .work-detail-close__action {
	text-decoration: line-through;
	text-decoration-color: currentColor;
	text-decoration-thickness: 1px;
}

.work-detail-title {
	margin: 0 0 0.7rem;
	font-size: calc(var(--site-text-size) - 2pt);
	font-weight: 600;
}

.work-detail-video-wrap {
	position: relative;
	width: 100%;
	padding-bottom: 56.25%;
	margin-bottom: 0.9rem;
}

.work-detail-video-wrap iframe {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	border: 0;
	outline: none;
	display: block;
}

/* Video overlay: gallery-style white layout with black accordion strip below */
.project-video-overlay.is-open {
	display: flex;
	flex-direction: column;
	align-items: center;
	height: 100dvh;
	max-height: 100dvh;
	padding-inline: 0;
	padding-bottom: 0;
	overflow-x: hidden;
	overflow-y: auto;
	scrollbar-gutter: stable;
	box-sizing: border-box;
	background: #fff;
	/* Intro black → white media is quick; video-start black stays slower below. */
	transition: background-color 0.55s var(--lz-ease), color 0.55s var(--lz-ease);
	--project-video-edge: max(1.2rem, env(safe-area-inset-left, 0px));
	--project-video-inline-max: min(72rem, calc(100vw - 2 * var(--project-video-edge)));
	/* Title/Close occupy the header band — leave a little air above the stage. */
	--project-video-chrome-block: calc(
		var(--lz-header-bottom, 5.5rem) + 1.25rem + env(safe-area-inset-top, 0px)
	);
	--project-video-stage-max-h: max(
		12rem,
		calc(100dvh - var(--project-video-chrome-block))
	);
	--project-video-above-black-gap: 0.75rem;
}

.project-video-overlay.is-open:has(#project-video-below-stage:not([hidden])) {
	--project-video-chrome-block: calc(
		var(--lz-header-bottom, 5.5rem) + 1.25rem +
			var(--pg-below-reserve, 3.15rem) + 1.85rem +
			env(safe-area-inset-top, 0px)
	);
}

.project-video-overlay.is-open.is-video-started {
	background: #111;
	transition: background-color 2.75s var(--lz-ease), color 2.75s var(--lz-ease);
}

.project-video-panel {
	/* Explicit cap + center — width:100% + max-width alone can left-stick in Safari flex. */
	width: min(72rem, 100%);
	max-width: min(72rem, 100%);
	height: auto;
	min-height: calc(100dvh - 5.5rem);
	margin-inline: auto;
	align-self: center;
	flex: 1 1 auto;
	display: flex;
	flex-direction: column;
	position: relative;
	padding-top: 0.25rem;
	padding-inline: max(1.2rem, env(safe-area-inset-left, 0px)) max(1.2rem, env(safe-area-inset-right, 0px));
	box-sizing: border-box;
	--pg-gallery-motion-duration: 0.32s;
	--pg-gallery-motion-ease: var(--lz-ease);
}

#project-video-overlay .work-detail-close {
	color: var(--text);
	transition: color 2.75s var(--lz-ease);
}

#project-video-overlay > .work-detail-close {
	position: fixed;
	top: max(env(safe-area-inset-top, 0px), 0px);
	left: 0;
	right: 0;
	z-index: 300;
	pointer-events: auto;
}

#project-video-overlay.is-video-started > .work-detail-close {
	color: #fff;
}

.project-video-body {
	display: flex;
	flex-direction: column;
	flex: 1 1 0%;
	min-height: 0;
	align-items: stretch;
	gap: 0;
	width: 100%;
	/* Clear the fixed title/Close chrome (same band as the slid-away main nav). */
	margin-top: calc(var(--lz-header-bottom, 5.5rem) + 0.25rem);
	--project-gallery-column-max: var(--project-video-inline-max, min(72rem, calc(100vw - 2rem)));
}

.project-video-grid {
	flex: 1 1 auto;
	width: 100%;
	max-width: var(--project-video-inline-max, min(72rem, calc(100vw - 2rem)));
	min-height: 0;
	margin-inline: auto;
	padding-bottom: 1.5rem;
	display: flex;
	align-items: center;
	justify-content: center;
	align-self: center;
}

.project-video-grid .project-video-embed,
.project-video-grid #project-video-wrap {
	margin-inline: auto;
	flex: 0 1 auto;
	align-self: center;
}

.project-video-embed {
	width: min(
		100%,
		var(--project-video-inline-max, 100%),
		calc(var(--project-video-stage-max-h, 70dvh) * 16 / 9)
	);
	max-width: 100%;
	aspect-ratio: 16 / 9;
	max-height: min(
		var(--project-video-stage-max-h, 70dvh),
		calc(var(--project-video-inline-max, 100vw) * 9 / 16)
	);
	height: auto;
	position: relative;
	background: #fff;
	overflow: hidden;
	transition: background-color 2.75s var(--lz-ease);
}

.project-video-overlay.is-open.is-video-started .project-video-embed,
.project-video-overlay.is-open.is-video-started #project-video-wrap {
	background: #111;
}

/* ID specificity override — keep the container positioned so the absolute iframe stays inside */
#project-video-wrap {
	position: relative;
	width: min(
		100%,
		var(--project-video-inline-max, 100%),
		calc(var(--project-video-stage-max-h, 70dvh) * 16 / 9)
	);
	max-width: 100%;
	height: auto;
	max-height: min(
		var(--project-video-stage-max-h, 70dvh),
		calc(var(--project-video-inline-max, 100vw) * 9 / 16)
	);
	aspect-ratio: 16 / 9;
	padding-bottom: 0;
	margin: 0;
}

#project-video-wrap video {
	position: absolute;
	inset: 0;
	z-index: 1;
	width: 100%;
	height: 100%;
	border: 0;
	outline: none;
	display: block;
	object-fit: contain;
	background: transparent;
}

.project-video-freeze-frame {
	position: absolute;
	inset: 0;
	z-index: 2;
	width: 100%;
	height: 100%;
	display: block;
	object-fit: contain;
	background: #111;
	pointer-events: none;
}

.project-video-freeze-frame[hidden] {
	display: none !important;
}

.project-video-overlay.is-open.is-video-started #project-video-wrap video {
	background: transparent;
}

/* Block embed fullscreen button (Vimeo/YouTube) when URL params are ignored */
.project-video-fullscreen-shield {
	position: absolute;
	right: 0;
	bottom: 0;
	z-index: 4;
	width: 4.75rem;
	height: 3rem;
	pointer-events: auto;
	background: rgb(15 15 15 / 0.96);
}

.project-video-hosted-controls {
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	z-index: 3;
	display: flex;
	align-items: center;
	gap: 0.65rem;
	padding: 0.45rem 0.65rem;
	background: rgb(15 15 15 / 0.92);
	color: #fff;
	box-sizing: border-box;
}

.project-video-hosted-controls__play {
	border: 0;
	background: transparent;
	color: inherit;
	font: inherit;
	cursor: pointer;
	padding: 0;
	flex: 0 0 auto;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 1.75rem;
	height: 1.75rem;
}

.project-video-hosted-controls__icon {
	display: block;
	line-height: 0;
}

.project-video-hosted-controls__icon svg {
	display: block;
	width: 0.95rem;
	height: 0.95rem;
}

.project-video-hosted-controls__progress {
	flex: 1 1 auto;
	min-width: 0;
	margin: 0;
	accent-color: #fff;
}

.project-video-hosted-controls__time {
	font-size: calc(var(--site-text-size) - 3pt);
	white-space: nowrap;
	flex: 0 0 auto;
}

.project-video-embed iframe,
#project-video-wrap iframe {
	position: absolute;
	inset: 0;
	z-index: 1;
	width: 100%;
	height: 100%;
	border: 0;
	outline: none;
	display: block;
	background: #111;
}

/* Tile / video thumbnail as first frame — covers YouTube chrome until play. */
.project-video-embed-poster {
	position: absolute;
	inset: 0;
	z-index: 3;
	margin: 0;
	padding: 0;
	pointer-events: none;
	background: #fff;
	box-sizing: border-box;
	transition: background-color 2.75s var(--lz-ease);
}

.project-video-embed-poster.is-playable {
	pointer-events: auto;
	cursor: pointer;
}

.project-video-overlay.is-open.is-video-started .project-video-embed-poster {
	background: #111;
}

.project-video-embed-poster[hidden] {
	display: none !important;
}

.project-video-embed-poster img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center;
}

/* Video intro lead sits above the embed (same pattern as photo gallery). */
.project-video-body > #project-video-text-block:not([hidden]) {
	color: var(--text);
}

#project-video-work-details .project-video-subtitle-line,
#project-video-work-details .project-video-credit-line {
	margin: 0 0 0.55rem;
	white-space: pre-line;
	font-size: calc(var(--site-text-size) - 2pt);
	font-style: italic;
}

/* Pin black credits strip to the bottom of the viewport (same flex pattern as photo gallery). */
.project-video-body:has(#project-video-below-stage:not([hidden])) {
	gap: var(--project-video-above-black-gap, 0.75rem);
	display: flex;
	flex-direction: column;
	align-items: stretch;
	align-self: stretch;
	width: 100%;
	flex: 1 1 0%;
	min-height: 0;
}

#project-video-overlay.is-open:has(#project-video-below-stage:not([hidden])) .project-video-panel {
	flex: 1 1 0%;
	min-height: 0;
}

#project-video-overlay.is-open:has(#project-video-below-stage:not([hidden])) .project-video-body {
	flex: 1 1 0%;
	min-height: 0;
	margin-top: 0;
}

#project-video-overlay.is-open:has(#project-video-below-stage:not([hidden]):not(.is-below-expanded)) {
	overflow-y: hidden;
}

.project-video-body:has(#project-video-below-stage:not([hidden])) .project-video-grid {
	flex: 1 1 auto;
	min-height: 0;
	max-height: none;
	padding-bottom: 0;
	align-items: center;
	justify-content: center;
	box-sizing: border-box;
	background: transparent;
}

/* Collapsed: pin black strip to the bottom of the viewport */
.project-video-body:has(#project-video-below-stage:not([hidden]):not(.is-below-expanded)) #project-video-below-stage {
	flex: 0 0 auto;
	flex-shrink: 0;
	margin-top: auto;
	position: sticky;
	bottom: 0;
	z-index: 4;
	align-self: stretch;
	box-sizing: border-box;
}

/* Expanded: two-row grid — video stays visible and centered above scrolling credits */
.project-video-body:has(#project-video-below-stage.is-below-expanded) {
	display: grid;
	grid-template-rows: minmax(0, 1fr) auto;
	gap: var(--project-video-above-black-gap, 0.75rem);
	align-content: stretch;
	min-height: 0;
	--project-video-expanded-stage-max-h: min(
		68dvh,
		calc(
			100dvh - var(--lz-header-bottom, 5.5rem) - var(--pg-below-reserve, 6.5rem) -
				4rem
		)
	);
	--project-video-inline-max: min(
		94vw,
		calc(100vw - 2.5rem),
		calc(var(--project-video-expanded-stage-max-h) * 16 / 9)
	);
}

.project-video-body:has(#project-video-below-stage.is-below-expanded) .project-video-grid {
	grid-row: 1;
	flex: unset;
	min-height: 0;
	max-height: none;
	width: 100%;
	display: flex;
	align-items: center;
	justify-content: center;
	overflow: hidden;
	position: relative;
	z-index: 2;
}

.project-video-body:has(#project-video-below-stage.is-below-expanded) #project-video-wrap,
.project-video-body:has(#project-video-below-stage.is-below-expanded) .project-video-embed {
	position: relative;
	z-index: 2;
	max-height: min(100%, var(--project-video-expanded-stage-max-h));
	max-width: 100%;
	width: min(
		100%,
		var(--project-video-inline-max, 100%),
		calc(var(--project-video-expanded-stage-max-h) * 16 / 9)
	);
	height: auto;
	aspect-ratio: 16 / 9;
}

.project-video-body:has(#project-video-below-stage.is-below-expanded) #project-video-below-stage {
	grid-row: 2;
	flex: unset;
	margin-top: 0;
	position: static;
	bottom: auto;
	z-index: 1;
	align-self: stretch;
	box-sizing: border-box;
	max-height: min(42dvh, 40rem);
	min-height: 0;
	overflow-x: hidden;
	overflow-y: auto;
	-webkit-overflow-scrolling: touch;
	padding-bottom: max(1.1rem, env(safe-area-inset-bottom, 0px));
}

#project-video-overlay.is-open:has(#project-video-below-stage.is-below-expanded) {
	overflow-y: hidden;
}

.work-detail-copy {
	font-size: var(--site-text-size);
	line-height: 1.45;
}

.project-gallery-overlay {
	scrollbar-width: none;
	-ms-overflow-style: none;
}

.project-gallery-overlay::-webkit-scrollbar {
	display: none;
	width: 0;
	height: 0;
}

.work-detail-overlay.project-gallery-overlay.is-open {
	display: flex;
	flex-direction: column;
	align-items: center;
	/* Bound main-axis size so nested flex (below-stage) receives real “free space”;
	   otherwise this box can grow to content height and flex-grow never activates. */
	height: 100dvh;
	max-height: 100dvh;
	/* Hard cap for main slide bitmaps — never use img { max-height:100% } here; wide + portrait would grow with frame width and clip. */
	--pg-main-img-max-h: min(
		64dvh,
		70vh,
		calc(100dvh - var(--lz-header-bottom, 5.5rem) - 6.5rem)
	);
	/* White fill to the top of the viewport (override base overlay top padding). */
	padding-top: 0;
	padding-inline: 0;
	/* Inherited work-detail overlay uses 1.2rem bottom padding — that leaves a white strip under the black stage. */
	padding-bottom: 0;
	overflow-x: hidden;
	overflow-y: auto;
	scrollbar-gutter: stable;
	box-sizing: border-box;
	background: #fff;
	transition: background-color 0.55s var(--lz-ease), color 0.55s var(--lz-ease);
}

/* When black strip is present (peek + drawer), slightly tighter cap so chrome + strip fit; same cap collapsed or expanded. */
#project-gallery-overlay:has(#project-gallery-below-stage:not([hidden])) {
	--pg-main-img-max-h: min(
		54dvh,
		58vh,
		calc(
			100dvh - var(--lz-header-bottom, 5.5rem) - var(--pg-below-reserve, 3.15rem) -
				5.5rem
		)
	);
}

.project-gallery-panel {
	width: min(72rem, 100%);
	max-width: min(72rem, 100%);
	margin-inline: auto;
	align-self: center;
	position: relative;
	display: flex;
	flex-direction: column;
	flex: 1 1 auto;
	min-height: 0;
	--pg-gallery-motion-duration: 0.32s;
	/* Snappy ease-out with the bottom sheet / stage push. */
	--pg-gallery-motion-ease: var(--lz-ease);
	/* Fill everything below the overlay’s top padding so the black stage can reach the bottom of the viewport. */
	min-height: calc(100dvh - 5.5rem);
	padding-top: 0.25rem;
	padding-inline: max(1.2rem, env(safe-area-inset-left, 0px)) max(1.2rem, env(safe-area-inset-right, 0px));
	box-sizing: border-box;
	background: #fff;
}

.project-gallery-body {
	--project-gallery-column-max: min(64rem, calc(100vw - 2rem));
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 0.25rem;
	width: 100%;
	box-sizing: border-box;
	/* Clear the fixed title/Close chrome (same band as the slid-away main nav). */
	margin-top: calc(var(--lz-header-bottom, 5.5rem) + 0.25rem);
	flex: 1 1 0%;
	min-height: 0;
	overflow-x: visible;
	overflow-y: visible;
	background: #fff;
}

/* Column flex: intro + image at the top; black strip (peek + credits text) pins to the bottom of the window/panel via margin-top: auto. */
.project-gallery-body:has(#project-gallery-below-stage:not([hidden])) {
	gap: 0;
	display: flex;
	flex-direction: column;
	align-items: stretch;
	align-self: stretch;
	width: 100%;
	flex: 1 1 0%;
	min-height: 0;
}

.project-gallery-body:has(#project-gallery-below-stage:not([hidden])) #project-gallery-grid {
	flex: 0 1 auto;
	min-height: 0;
	max-height: none;
	height: auto;
	box-sizing: border-box;
	overflow: visible;
}

.project-gallery-body:has(#project-gallery-below-stage:not([hidden])) .project-gallery-slideshow {
	min-height: 0;
	max-height: none;
	flex: 0 1 auto;
	padding: 0;
	box-sizing: border-box;
	justify-content: center;
	align-items: center;
	align-content: center;
}

.project-gallery-body:has(#project-gallery-below-stage:not([hidden])) .project-gallery-slide-frame {
	margin-bottom: 0;
	height: auto;
	max-height: var(--pg-main-img-max-h, min(72dvh, 78vh, calc(100dvh - 9rem), 100%));
}

/* Below-stage / accordion layout: undo base .project-gallery-main-slide / .project-gallery-tile height:100% + flex-grow so the bitmap does not fill the column. */
#project-gallery-overlay:has(#project-gallery-below-stage:not([hidden])) #project-gallery-grid .project-gallery-main-slide.project-gallery-tile {
	display: flex;
	align-items: center;
	justify-content: center;
	overflow: visible;
	height: auto;
	max-height: none;
	flex: 0 1 auto;
	min-height: 0;
	width: 100%;
	align-self: center;
}

#project-gallery-text-block:not([hidden]),
#project-video-text-block:not([hidden]),
.project-gallery-body:has(#project-gallery-below-stage:not([hidden])) #project-gallery-text-block:not([hidden]),
.project-video-body #project-video-text-block:not([hidden]) {
	min-width: 0;
	width: 100%;
	max-width: var(--project-gallery-column-max, min(52rem, calc(100vw - 2rem)));
	margin-inline: auto;
	text-align: center;
	flex: 0 0 auto;
	min-height: 0;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	overflow: visible;
	box-sizing: border-box;
	padding: 0.15rem 1rem 0.85rem;
}

.project-gallery-body:has(#project-gallery-below-stage:not([hidden])) #project-gallery-below-stage {
	flex: 0 0 auto;
	flex-shrink: 0;
	margin-top: auto;
	position: sticky;
	bottom: 0;
	z-index: 4;
	align-self: stretch;
}

/* Filmstrip lives inside the black drawer (under the drag handle). */

#project-gallery-below-stage.is-below-expanded {
	flex: 1 1 auto;
	min-height: 0;
	max-height: min(58vh, 34rem);
	overflow-x: hidden;
	overflow-y: auto;
	-webkit-overflow-scrolling: touch;
	padding-bottom: max(1.1rem, env(safe-area-inset-bottom, 0px));
}

/* Full view (credits collapsed): center the main slide in the space above the black strip.
   Includes mountain / single-image projects — they were previously pinned to the top. */
#project-gallery-overlay.is-open:has(#project-gallery-below-stage:not([hidden]):not(.is-below-expanded)) {
	--pg-main-img-max-h: min(
		62dvh,
		calc(100dvh - var(--lz-header-bottom, 5.5rem) - var(--pg-below-reserve, 3.15rem) - 5.5rem)
	);
}

#project-gallery-overlay.is-open:has(#project-gallery-below-stage:not([hidden]):not(.is-below-expanded)) .project-gallery-body {
	margin-top: 0;
	/* Title/Close sit in the header band — pad just below that chrome. */
	padding-top: calc(var(--lz-header-bottom, 5.5rem) + 0.35rem);
	box-sizing: border-box;
}

#project-gallery-overlay.is-open:has(#project-gallery-below-stage:not([hidden]):not(.is-below-expanded)) .project-gallery-body #project-gallery-grid {
	flex: 1 1 auto;
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	min-height: 0;
	height: auto;
}

#project-gallery-overlay.is-open:has(#project-gallery-below-stage:not([hidden]):not(.is-below-expanded)) .project-gallery-body .project-gallery-slideshow {
	flex: 1 1 auto;
	width: 100%;
	min-height: 0;
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
}

#project-gallery-overlay.is-open:has(#project-gallery-below-stage:not([hidden]):not(.is-below-expanded)) .project-gallery-stage {
	flex: 1 1 auto;
	width: 100%;
	min-height: 0;
	display: flex;
	align-items: center;
	justify-content: center;
}

#project-gallery-overlay.is-open:has(#project-gallery-below-stage:not([hidden]):not(.is-below-expanded)) .project-gallery-main-slide.project-gallery-tile {
	margin-block: auto;
	width: fit-content;
	max-width: 100%;
	height: auto;
	flex: 0 0 auto;
	align-self: center;
	background: transparent;
}

#project-gallery-overlay.is-open:has(#project-gallery-below-stage:not([hidden]):not(.is-below-expanded)) .project-gallery-slide-frame {
	width: fit-content;
	max-width: 100%;
	flex: 0 0 auto;
	align-self: center;
	background: transparent;
	margin-bottom: 0;
}

.project-gallery-lead {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 0.85rem;
	width: 100%;
	max-width: min(64rem, 92%);
	margin-inline: auto;
	flex: 0 1 auto;
	min-height: 0;
	overflow: visible;
	padding: 0;
	box-sizing: border-box;
	font-size: calc(var(--site-text-size) + 0.5pt);
	line-height: 1.55;
	white-space: normal;
	overflow-wrap: break-word;
	word-break: normal;
	color: var(--text);
	text-align: center;
}

.project-gallery-lead__role {
	margin: 0;
	font-size: clamp(1.35rem, 2.8vw, 1.85rem);
	font-weight: 500;
	letter-spacing: 0.01em;
	line-height: 1.2;
}

.project-gallery-lead__about {
	margin: 0;
	max-width: min(64rem, 92%);
	font-size: clamp(1.45rem, 3.4vw, 2.05rem);
	line-height: 1.45;
	font-weight: 400;
}

/* Project entry: black field + white type until the viewer taps into images.
   Panel/body also paint #fff by default — they must go black or they veil the overlay. */
#project-gallery-overlay.is-open.is-project-intro,
#project-video-overlay.is-open.is-project-intro,
#project-gallery-overlay.is-open.is-project-intro .project-gallery-panel,
#project-gallery-overlay.is-open.is-project-intro .project-gallery-body,
#project-video-overlay.is-open.is-project-intro .project-video-panel,
#project-video-overlay.is-open.is-project-intro .project-video-body {
	background: #000;
	background-color: #000;
	color: #fff;
}

#project-gallery-overlay.is-open.is-project-intro .project-gallery-lead,
#project-gallery-overlay.is-open.is-project-intro .project-gallery-lead__about,
#project-gallery-overlay.is-open.is-project-intro .project-gallery-lead__role,
#project-video-overlay.is-open.is-project-intro .project-gallery-lead,
#project-video-overlay.is-open.is-project-intro .project-gallery-lead__about,
#project-video-overlay.is-open.is-project-intro .project-gallery-lead__role {
	color: #fff;
}

#project-gallery-overlay.is-open.is-project-intro > .work-detail-close,
#project-gallery-overlay.is-open.is-project-intro .project-gallery-panel > .work-detail-close,
#project-video-overlay.is-open.is-project-intro > .work-detail-close {
	color: #fff !important;
}

/* Text-only open: role + story hold the middle until the viewer clicks through. */
#project-gallery-overlay.is-project-intro .project-gallery-body,
#project-video-overlay.is-project-intro .project-video-body {
	justify-content: center;
	align-items: center;
	margin-top: 0;
	cursor: pointer;
}

#project-gallery-overlay.is-project-intro #project-gallery-text-block:not([hidden]),
#project-video-overlay.is-project-intro #project-video-text-block:not([hidden]) {
	flex: 1 1 auto;
	min-height: min(70dvh, 70vh);
	justify-content: center;
	align-items: center;
	/* Optical mid: sit a touch below true center so copy reads lower in the field. */
	padding: 1.25rem 1.25rem 4.25rem;
	transform: translateY(calc(0.2 * var(--site-header-offset, 5.5rem)));
}

#project-gallery-overlay.is-project-intro #project-gallery-grid,
#project-gallery-overlay.is-project-intro #project-gallery-below-stage,
#project-gallery-overlay.is-project-intro .project-gallery-nav-left,
#project-gallery-overlay.is-project-intro .project-gallery-nav-right,
#project-video-overlay.is-project-intro .project-video-grid,
#project-video-overlay.is-project-intro #project-video-below-stage {
	visibility: hidden;
	opacity: 0;
	pointer-events: none;
}

.project-gallery-grid {
	--grid-cols: 1;
	--grid-rows: 1;
	display: grid;
	grid-template-columns: repeat(var(--grid-cols), minmax(0, 1fr));
	grid-template-rows: repeat(var(--grid-rows), minmax(0, 1fr));
	align-items: center;
	justify-items: center;
	overflow: visible;
	gap: 0.45rem;
	min-height: 0;
	flex: 0 1 auto;
	width: 100%;
	max-width: var(--project-gallery-column-max);
	margin-inline: auto;
	padding-bottom: 0.85rem;
	height: auto;
	max-height: none;
	transition:
		opacity 280ms var(--pg-gallery-motion-ease, var(--lz-ease)),
		transform 280ms var(--pg-gallery-motion-ease, var(--lz-ease));
}

.project-gallery-trailer-line {
	margin: 0 auto 0.85rem;
	max-width: var(--project-gallery-column-max);
	width: 100%;
	text-align: center;
}

.project-gallery-trailer {
	font-family: "Heldane", Arial, sans-serif;
	font-size: 1rem;
	letter-spacing: 0.04em;
	color: inherit;
	text-decoration: none;
	border-bottom: 1px solid currentColor;
}

.project-gallery-overlay.has-multiple-images .project-gallery-grid {
	display: flex;
	flex-direction: column;
	align-items: center;
	align-self: center;
	justify-content: center;
	gap: 0;
	width: 100%;
	max-width: var(--project-gallery-column-max);
	margin-inline: auto;
	padding-bottom: 0.85rem;
	height: auto;
	max-height: none;
	overflow: visible;
	transition:
		opacity 280ms var(--pg-gallery-motion-ease, var(--lz-ease)),
		transform 280ms var(--pg-gallery-motion-ease, var(--lz-ease));
}

/* Main image centered; prev/next thumbs sit on the viewport edges
   outside the main slide (never overlapping it). */
.project-gallery-overlay.has-multiple-images {
	/* Side peeks retired — filmstrip sits above the info drawer. */
	--pg-nav-thumb-h: min(3.25rem, 9vh);
	--pg-nav-thumb-max-w: min(5.5rem, 10vw);
	--pg-nav-thumb-max-h: var(--pg-nav-thumb-h);
	--pg-nav-edge: max(0.55rem, env(safe-area-inset-left, 0px), env(safe-area-inset-right, 0px));
	--pg-nav-reveal-zone: 0px;
	--pg-nav-gutter: 1.25rem;
	/* Extra room so the active thumb can scale up without clipping. */
	--pg-filmstrip-h: calc(var(--pg-nav-thumb-h) * 1.18 + 1.05rem);
	--pg-main-slide-max-w: min(
		calc(100vw - (2 * var(--pg-nav-gutter))),
		58rem
	);
}

.project-gallery-overlay.has-filmstrip {
	--pg-nav-gutter: 1.25rem;
}

.project-gallery-overlay.has-multiple-images .project-gallery-nav-thumb {
	/* Lock height; width follows native aspect — no crop. */
	height: var(--pg-nav-thumb-h);
	width: auto;
	max-width: none;
	max-height: none;
	object-fit: contain;
}

.project-gallery-overlay.has-multiple-images .project-gallery-slide-frame {
	max-width: min(100%, var(--pg-main-slide-max-w));
}

.project-gallery-slideshow {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 0;
	width: 100%;
	min-height: 0;
	flex: 0 1 auto;
	box-sizing: border-box;
}

/* Desktop: main image only — edge thumbs are fixed to the viewport. */
.project-gallery-stage {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	align-items: center;
	justify-items: center;
	column-gap: 0;
	row-gap: 0;
	width: 100%;
	max-width: min(96vw, 100%);
	margin-inline: auto;
	box-sizing: border-box;
}

.project-gallery-stage .project-gallery-main-slide,
.project-gallery-stage > .project-gallery-slide-frame,
.project-gallery-stage .project-gallery-stage__main {
	grid-column: 1;
	min-width: 0;
	width: 100%;
	max-width: 100%;
	justify-self: center;
}

.project-gallery-stage .project-gallery-slide-frame {
	max-width: 100%;
}

/* Mobile thumb-row stage keeps a vertical stack (main on top, strip below). */
.project-gallery-stage.project-gallery-stage--mobile-thumbs {
	display: flex;
	flex-direction: column;
	grid-template-columns: none;
	align-items: center;
	justify-content: center;
	gap: 0.55rem;
}

/* Bounds + transition on one wrapper (layout) so the bitmap does less reflow work than animating img + flex-grow together. */
.project-gallery-slide-frame {
	display: flex;
	align-items: center;
	justify-content: center;
	box-sizing: border-box;
	min-width: 0;
	min-height: 0;
	width: fit-content;
	max-width: min(94vw, calc(100vw - 2.5rem), 52rem);
	max-height: var(--pg-main-img-max-h, min(72dvh, 78vh, calc(100dvh - 9rem), 100%));
	margin: 0 0 1.5rem;
	overflow: visible;
	/* No plate — only the bitmap, not a white matte around it. */
	background: transparent;
	transition:
		max-height var(--pg-gallery-motion-duration) var(--pg-gallery-motion-ease),
		max-width var(--pg-gallery-motion-duration) var(--pg-gallery-motion-ease);
}

.project-gallery-below-stage {
	align-self: stretch;
	z-index: 1;
	position: relative;
	/* Full viewport width from inside padded panel: 100% = panel inner, 100vw = frame. */
	width: 100vw;
	max-width: none;
	position: static;
	left: auto;
	transform: none;
	margin-inline: calc((100% - 100vw) / 2);
	margin-block: 0;
	padding: 0;
	box-sizing: border-box;
	/* Height comes from content; position in column is controlled on .project-gallery-body (margin-top: auto). */
	min-height: 0;
	display: flex;
	flex-direction: column;
	background: #000;
	transition: min-height var(--pg-gallery-motion-duration) var(--pg-gallery-motion-ease);
	/* Avoid reserved scrollbar gutter adding phantom space under the collapsed strip. */
	scrollbar-gutter: auto;
}

.project-gallery-below-peek {
	display: none;
	width: 100%;
	margin: 0;
	padding: 0.55rem 0 0.45rem;
	border: 0;
	border-radius: 0;
	background: #000;
	color: rgba(255, 255, 255, 0.92);
	font: inherit;
	font-size: calc(var(--site-text-size) - 2pt);
	line-height: 1.28;
	text-align: left;
	cursor: pointer;
	flex: 0 0 auto;
	box-sizing: border-box;
	-webkit-tap-highlight-color: transparent;
}

.project-gallery-below-peek:not([hidden]) {
	display: block;
}

/* Credits body uses the nav text inset; peek title/arrow match the credit-grid box. */
.project-gallery-below-image__inner,
.project-gallery-work-details {
	--pg-below-copy-inset-start: var(--nav-text-inset);
	--pg-below-copy-inset-end: var(--nav-text-inset);
	box-sizing: border-box;
	width: 100%;
	max-width: none;
	margin-inline: 0;
	padding-left: var(--pg-below-copy-inset-start);
	padding-right: var(--pg-below-copy-inset-end);
	text-align: left;
}

.project-gallery-below-peek__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 0.75rem;
	box-sizing: border-box;
	width: min(52rem, calc(100% - (2 * var(--nav-text-inset))));
	max-width: min(52rem, 100%);
	margin-left: var(--nav-text-inset);
	margin-right: auto;
	padding-left: 0;
	padding-right: 0;
	text-align: left;
}

.project-gallery-below-peek:hover {
	color: #fff;
}

.project-gallery-below-peek:focus-visible {
	outline: 2px solid rgba(255, 255, 255, 0.85);
	outline-offset: -2px;
}

/* Title lives in the header Close row — keep the drawer handle chrome-only. */
.project-gallery-below-peek__title,
.project-gallery-below-peek__icon {
	display: none !important;
}

/* No caret/triangle under the sheet handle (handle bar is ::before only). */
.project-gallery-below-peek::after,
.project-gallery-below-peek__inner::before,
.project-gallery-below-peek__inner::after {
	content: none !important;
	display: none !important;
}

#project-gallery-below-stage:has(#project-gallery-below-peek:not([hidden])) #project-gallery-work-title-line {
	display: none;
}

/* Collapsed: drawer tucked under the peek (under the fold); expanded: reveal full credits block. */
.project-gallery-below-drawer-clip {
	flex: 0 1 auto;
	min-height: 0;
	display: grid;
	grid-template-rows: 0fr;
	transition: grid-template-rows var(--pg-gallery-motion-duration) var(--pg-gallery-motion-ease);
}

#project-gallery-below-stage.is-below-expanded .project-gallery-below-drawer-clip {
	grid-template-rows: 1fr;
}

.project-gallery-below-drawer {
	min-height: 0;
	overflow: hidden;
	display: flex;
	flex-direction: column;
}

#project-gallery-below-stage.is-below-expanded .project-gallery-below-drawer {
	overflow-x: hidden;
	overflow-y: visible;
	min-height: auto;
}

#project-gallery-below-stage.is-below-expanded .project-gallery-below-drawer-clip > .project-gallery-below-drawer {
	min-height: auto;
}

/* Expanded: black strip scrolls when credits drawer is open. */
@media (hover: hover) and (pointer: fine) {
	#project-gallery-overlay:has(#project-gallery-below-stage.is-below-expanded) #project-gallery-below-stage {
		flex-grow: 1;
		flex-shrink: 0;
	}
}

@media (pointer: coarse) {
	#project-gallery-overlay:has(#project-gallery-below-stage.is-below-expanded) #project-gallery-below-stage {
		flex-grow: 1;
		flex-shrink: 0;
	}
}

/* Video overlay: same accordion mechanics as photo gallery */
#project-video-below-stage.is-below-expanded .project-gallery-below-drawer-clip {
	grid-template-rows: 1fr;
}

#project-video-below-stage.is-below-expanded .project-gallery-below-drawer {
	overflow-x: hidden;
	overflow-y: visible;
	min-height: auto;
}

#project-video-below-stage.is-below-expanded .project-gallery-below-drawer-clip > .project-gallery-below-drawer {
	min-height: auto;
}

.project-gallery-below-image {
	align-self: stretch;
	width: 100%;
	max-width: none;
	margin: 0;
	padding: 0;
	border-top: 0;
	background: transparent;
	box-sizing: border-box;
	flex: 0 0 auto;
}

.project-gallery-below-image__inner {
	padding-top: 0.65rem;
	padding-bottom: 0.85rem;
	font-size: calc(var(--site-text-size) - 2pt);
	line-height: 1.45;
	white-space: pre-wrap;
	overflow-wrap: anywhere;
	word-break: break-word;
	color: rgba(255, 255, 255, 0.92);
	text-align: left;
	box-sizing: border-box;
	transition:
		opacity var(--pg-gallery-motion-duration, 0.5s) var(--pg-gallery-motion-ease, var(--lz-ease)),
		transform var(--pg-gallery-motion-duration, 0.5s) var(--pg-gallery-motion-ease, var(--lz-ease));
}

.project-gallery-below-image:not([hidden]) + .project-gallery-work-details {
	margin-top: 0;
	padding-top: 0.75rem;
}

.project-gallery-work-details {
	align-self: stretch;
	padding-top: 0.65rem;
	padding-bottom: calc(1.75rem + env(safe-area-inset-bottom, 0px));
	border-top: 0;
	background: transparent;
	flex: 0 0 auto;
	transition:
		opacity var(--pg-gallery-motion-duration, 0.5s) var(--pg-gallery-motion-ease, var(--lz-ease)),
		transform var(--pg-gallery-motion-duration, 0.5s) var(--pg-gallery-motion-ease, var(--lz-ease));
}

.project-gallery-work-details .project-gallery-work-line {
	color: rgba(255, 255, 255, 0.92);
}

.project-gallery-work-line {
	margin: 0;
	padding: 0;
	font-size: calc(var(--site-text-size) - 2pt);
	line-height: 1.28;
	color: var(--text);
}

.project-gallery-work-line + .project-gallery-work-line {
	margin-top: 0;
}

.project-gallery-work-value {
	display: block;
	min-width: 0;
	overflow-wrap: anywhere;
	word-break: break-word;
	white-space: pre-line;
}

.project-gallery-slide-columns {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 0.85rem 1.15rem;
	margin-top: 0.55rem;
	padding-top: 0.6rem;
	width: 100%;
	box-sizing: border-box;
	text-align: left;
}

.project-gallery-slide-columns.is-credit-grid {
	display: block;
	grid-template-columns: none;
	gap: 0;
	width: 100%;
	max-width: none;
	margin-inline: 0;
	padding-inline: 0;
}

.project-gallery-slide-columns.is-credit-grid .project-gallery-slide-col--left {
	width: 100%;
	max-width: none;
}

.project-gallery-slide-columns[hidden] {
	display: none !important;
}

.project-gallery-slide-col {
	font-size: calc(var(--site-text-size) - 3pt);
	line-height: 1.38;
	color: rgba(255, 255, 255, 0.88);
	/* Honor Enter / newlines from gallery manager columns (normal collapses \n to a space). */
	white-space: pre-line;
	overflow-wrap: anywhere;
	word-break: break-word;
	min-width: 0;
	text-align: left;
}

.project-gallery-slide-columns.is-credit-grid .project-gallery-slide-col {
	white-space: normal;
}

.project-gallery-credit-grid {
	display: grid;
	/* Two reading columns; each row inside is Role | Name. */
	grid-template-columns: repeat(2, minmax(0, 1fr));
	column-gap: clamp(1.5rem, 4vw, 3.5rem);
	row-gap: 0.85rem;
	align-items: start;
	width: 100%;
	max-width: none;
	text-align: left;
}

.project-gallery-credit-grid.is-credit-grid--single {
	grid-template-columns: minmax(0, 1fr);
}

.project-gallery-credit-col {
	display: flex;
	flex-direction: column;
	gap: 0.28rem;
	min-width: 0;
}

.project-gallery-credit-row {
	display: grid;
	grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
	column-gap: 0.85rem;
	row-gap: 0.08rem;
	align-items: start;
	min-width: 0;
}

.project-gallery-credit-row--solo {
	grid-template-columns: minmax(0, 1fr);
}

.project-gallery-credit-role,
.project-gallery-credit-name {
	min-width: 0;
	max-width: 100%;
	overflow-wrap: break-word;
	word-break: normal;
	white-space: normal;
	font-size: calc(var(--site-text-size) - 3pt);
	line-height: 1.35;
}

.project-gallery-credit-role {
	font-weight: 500;
	letter-spacing: 0.02em;
	text-transform: uppercase;
	color: rgba(255, 255, 255, 0.72);
}

.project-gallery-credit-name {
	font-weight: 400;
	color: rgba(255, 255, 255, 0.94);
}

@media (max-width: 720px) {
	.project-gallery-slide-columns:not(.is-credit-grid) {
		grid-template-columns: 1fr;
		gap: 0.75rem;
	}

	.project-gallery-credit-grid {
		grid-template-columns: minmax(0, 1fr);
		row-gap: 0.28rem;
	}

	.project-gallery-credit-row {
		grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
		column-gap: 0.65rem;
	}
}

.project-gallery-main-slide {
	width: 100%;
	height: 100%;
	min-height: 0;
	flex: 1 1 auto;
	max-height: 100%;
}

.project-gallery-slide-image {
	display: block;
	width: auto;
	height: auto;
	max-width: 100%;
	max-height: var(--pg-main-img-max-h, min(72dvh, 78vh, calc(100dvh - 10rem)));
	margin: 0;
	padding: 0;
	object-fit: contain;
	object-position: center center;
	background: transparent;
}

.project-gallery-tile {
	background: transparent;
	appearance: none;
	border: 0;
	padding: 0;
	width: 100%;
	height: 100%;
	display: flex;
	align-items: center;
	justify-content: center;
	line-height: 0;
	cursor: default;
	transition: opacity 180ms var(--lz-ease);
}

.project-gallery-overlay.has-multiple-images .project-gallery-tile.project-gallery-main-slide {
	flex: 0 1 auto;
	height: auto;
	min-height: 0;
	max-height: none;
	overflow: visible;
	cursor: default;
}

.project-gallery-overlay.has-multiple-images .project-gallery-main-slide:focus-visible {
	outline: 2px solid var(--text, #111);
	outline-offset: 4px;
}

.project-gallery-tile img {
	display: block;
	width: auto;
	height: auto;
	background: transparent;
	max-width: min(94vw, calc(100vw - 2.5rem), 52rem);
	max-height: var(--pg-main-img-max-h, min(72dvh, 78vh, calc(100dvh - 9rem)));
	margin-bottom: 1.5rem;
	object-fit: contain;
	object-position: center center;
	outline: 0 solid transparent;
	outline-offset: 0;
}

/* Main slide: always cap with --pg-main-img-max-h (never height:100% / max-height:100% — breaks portrait when the slide frame gets wider). */
.project-gallery-main-slide.project-gallery-tile img.project-gallery-slide-image {
	max-width: 100%;
	max-height: var(--pg-main-img-max-h, min(72dvh, 78vh, calc(100dvh - 10rem)));
	width: auto;
	height: auto;
	margin-bottom: 0;
	object-fit: contain;
	object-position: center center;
}

.project-gallery-overlay.is-single-image .project-gallery-grid {
	display: flex;
	align-items: center;
	justify-content: center;
	align-self: center;
	width: 100%;
	max-width: var(--project-gallery-column-max);
	margin-inline: auto;
	padding-bottom: 0;
	height: auto;
	max-height: none;
	overflow: visible;
	flex: 1 1 auto;
	min-height: 0;
}

/* Single still / no strip: center in the stage under the title chrome. */
.project-gallery-overlay.is-open.is-single-image:not(.is-project-intro):not(.has-filmstrip) .project-gallery-body {
	margin-top: 0;
	padding-top: calc(var(--lz-header-bottom, 5.5rem) + 0.35rem);
	padding-bottom: max(1.25rem, env(safe-area-inset-bottom, 0px));
	justify-content: center;
	align-items: center;
}

.project-gallery-overlay.is-open:not(.is-project-intro):not(.has-filmstrip) {
	--pg-below-reserve: 0px;
	--pg-main-img-max-h: min(
		78dvh,
		82vh,
		calc(100dvh - var(--lz-header-bottom, 5.5rem) - 3.25rem)
	);
}

.project-gallery-overlay.is-single-image .project-gallery-tile {
	width: auto;
	height: auto;
	background: transparent;
	border: 0;
	padding: 0;
}

.project-gallery-overlay.is-single-image .project-gallery-main-slide {
	width: auto;
	height: auto;
	flex: 0 1 auto;
}

.project-gallery-overlay.is-single-image .project-gallery-slide-frame {
	max-width: min(92vw, calc(100vw - 2.5rem), 52rem);
	max-height: var(--pg-main-img-max-h, min(72dvh, 78vh, calc(100dvh - 9rem), 100%));
}

.project-gallery-overlay.is-single-image .project-gallery-tile img {
	width: auto;
	height: auto;
	max-width: 100%;
	max-height: var(--pg-main-img-max-h, min(72dvh, 78vh, calc(100dvh - 10rem)));
	margin-bottom: 0;
	object-fit: contain;
	object-position: center center;
}

.project-gallery-overlay.has-fullscreen .project-gallery-text {
	opacity: 0.12;
	pointer-events: none;
	filter: blur(6px);
	transition:
		opacity 260ms var(--pg-gallery-motion-ease, var(--lz-ease)),
		filter 260ms var(--pg-gallery-motion-ease, var(--lz-ease));
}

.project-gallery-overlay.has-fullscreen .project-gallery-grid {
	opacity: 0.12;
	transform: scale(0.985);
	pointer-events: none;
	filter: blur(8px);
}

.project-gallery-overlay.is-single-image.has-fullscreen .project-gallery-grid {
	filter: blur(10px);
}

.project-gallery-viewer {
	position: fixed;
	inset: 0;
	width: 100vw;
	height: 100vh;
	background: transparent;
	z-index: 80;
	display: flex;
	align-items: center;
	justify-content: center;
	opacity: 0;
	pointer-events: none;
	transition: opacity 280ms var(--lz-ease);
}

.project-gallery-nav {
	background: transparent;
	border: 0;
	padding: 0.35rem;
	font: inherit;
	font-size: calc(var(--site-text-size) - 1pt);
	line-height: 1;
	color: var(--text);
	cursor: pointer;
	z-index: 90;
	display: none;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 0.4rem;
	appearance: none;
	-webkit-appearance: none;
	box-shadow: none;
	outline: none;
	border-radius: 0;
	pointer-events: none;
	opacity: 0;
	visibility: hidden;
	transition:
		opacity 180ms var(--lz-ease),
		visibility 180ms var(--lz-ease);
}

/* Legacy side peeks — hidden; filmstrip above the drawer replaces them. */
.project-gallery-overlay.is-open.has-multiple-images .project-gallery-nav,
.project-gallery-overlay.is-open.has-filmstrip .project-gallery-nav {
	display: none !important;
}

/* Filmstrip under the main still (media) or in the credits drawer (intro). */
.project-gallery-filmstrip {
	display: none;
	flex: 0 0 auto;
	width: 100%;
	max-width: 100%;
	margin: 0;
	padding: 0;
	box-sizing: border-box;
	background: transparent;
	z-index: 3;
}

.project-gallery-overlay.is-open.has-filmstrip .project-gallery-filmstrip:not([hidden]),
#project-gallery-below-stage .project-gallery-filmstrip:not([hidden]) {
	display: block;
}

/* Description / credits intro: no filmstrip until images are revealed. */
#project-gallery-overlay.is-project-intro .project-gallery-filmstrip,
#project-gallery-overlay.is-project-intro #project-gallery-below-stage .project-gallery-filmstrip {
	display: none !important;
	visibility: hidden !important;
	height: 0 !important;
	max-height: 0 !important;
	margin: 0 !important;
	padding: 0 !important;
	overflow: hidden !important;
	pointer-events: none !important;
}

.project-gallery-filmstrip__clip {
	position: relative;
	width: 100%;
	height: var(--pg-filmstrip-h, 4.1rem);
	max-height: var(--pg-filmstrip-h, 4.1rem);
	overflow: hidden;
	background: transparent;
	/* Keep vertical room inside the clip for the scaled-up active thumb. */
}

.project-gallery-filmstrip__clip::before,
.project-gallery-filmstrip__clip::after {
	content: "";
	position: absolute;
	top: 0;
	bottom: 0;
	width: 1.75rem;
	z-index: 2;
	pointer-events: none;
	opacity: 0;
	transition: opacity 180ms var(--lz-ease);
}

.project-gallery-filmstrip__clip::before {
	left: 0;
	background: linear-gradient(to right, #fff, rgba(255, 255, 255, 0));
}

.project-gallery-filmstrip__clip::after {
	right: 0;
	background: linear-gradient(to left, #fff, rgba(255, 255, 255, 0));
}

/* Credits drawer still wants a black strip + edge fades. */
#project-gallery-below-stage.is-below-expanded .project-gallery-filmstrip,
#project-gallery-below-stage.is-below-expanded .project-gallery-filmstrip__clip,
#project-gallery-overlay.is-project-intro #project-gallery-below-stage .project-gallery-filmstrip,
#project-gallery-overlay.is-project-intro #project-gallery-below-stage .project-gallery-filmstrip__clip {
	background: #000;
}

#project-gallery-below-stage.is-below-expanded .project-gallery-filmstrip__clip::before {
	background: linear-gradient(to right, #000, rgba(0, 0, 0, 0));
}

#project-gallery-below-stage.is-below-expanded .project-gallery-filmstrip__clip::after {
	background: linear-gradient(to left, #000, rgba(0, 0, 0, 0));
}

.project-gallery-filmstrip__clip.is-thumb-row-scrollable:not(.is-thumb-row-at-start)::before,
.project-gallery-filmstrip__clip.is-thumb-row-scrollable:not(.is-thumb-row-at-end)::after {
	opacity: 1;
}

.project-gallery-filmstrip__row {
	display: flex;
	flex-direction: row;
	flex-wrap: nowrap;
	align-items: flex-end;
	justify-content: center;
	gap: 0.4rem;
	width: 100%;
	height: 100%;
	padding: 0.55rem 1.25rem 0.35rem;
	box-sizing: border-box;
	overflow-x: auto;
	overflow-y: hidden;
	scrollbar-width: none;
	-webkit-overflow-scrolling: touch;
	/* Photos-style scrub: free scroll, soft snap; still tracks live. */
	scroll-snap-type: x proximity;
	scroll-behavior: auto;
	overscroll-behavior-x: contain;
	touch-action: pan-x;
}

.project-gallery-filmstrip__row::-webkit-scrollbar {
	display: none;
}

.project-gallery-filmstrip__row .project-gallery-thumb {
	flex: 0 0 auto;
	display: block;
	margin: 0;
	padding: 0;
	border: 0;
	background: transparent;
	cursor: pointer;
	appearance: none;
	-webkit-appearance: none;
	opacity: 0.48;
	transform: scale(0.9);
	transform-origin: center bottom;
	transition:
		opacity 120ms cubic-bezier(0.16, 1, 0.3, 1),
		transform 160ms cubic-bezier(0.16, 1, 0.3, 1);
	height: var(--pg-nav-thumb-h, 3.25rem);
	width: auto;
	max-width: none;
	line-height: 0;
	scroll-snap-align: center;
	scroll-snap-stop: normal;
	will-change: transform, opacity;
}

.project-gallery-filmstrip__row .project-gallery-thumb.is-active {
	opacity: 1;
	transform: scale(1.14);
	z-index: 2;
}

.project-gallery-filmstrip__row .project-gallery-thumb:hover,
.project-gallery-filmstrip__row .project-gallery-thumb:focus-visible {
	opacity: 1;
}

.project-gallery-filmstrip__row .project-gallery-thumb:hover:not(.is-active) {
	transform: scale(0.96);
}

.project-gallery-filmstrip__row .project-gallery-thumb:focus-visible {
	outline: 1px solid #fff;
	outline-offset: 2px;
}

.project-gallery-filmstrip__clip.is-thumb-row-scrollable .project-gallery-filmstrip__row {
	/* Prefer start when overflowing; side pad lets first/last thumbs snap to center. */
	justify-content: flex-start;
	padding-inline: max(1.25rem, calc(50% - 2.75rem));
}

.project-gallery-filmstrip__row .project-gallery-thumb__img {
	display: block;
	height: var(--pg-nav-thumb-h, 3.25rem);
	width: auto;
	max-width: none;
	object-fit: contain;
	object-position: center;
	pointer-events: none;
}

/* Keep main image clear of the drawer (filmstrip is inside --pg-below-reserve now). */
.project-gallery-overlay.is-open.has-filmstrip:has(#project-gallery-below-stage:not([hidden])) {
	--pg-main-img-max-h: min(
		54dvh,
		58vh,
		calc(
			100dvh - var(--lz-header-bottom, 5.5rem) -
				var(--pg-below-reserve, 7.25rem) - 5rem
		)
	);
}

.project-gallery-overlay.is-open.has-multiple-images .project-gallery-nav-left {
	left: var(--pg-nav-edge, 0.55rem);
	right: auto;
}

.project-gallery-overlay.is-open.has-multiple-images .project-gallery-nav-right {
	right: var(--pg-nav-edge, 0.55rem);
	left: auto;
}

.project-gallery-nav-thumb {
	display: block;
	width: auto;
	height: var(--pg-nav-thumb-h, min(3.75rem, 11vh));
	max-width: var(--pg-nav-thumb-max-w, min(6.5rem, 12vw));
	max-height: none;
	object-fit: contain;
	object-position: center;
	opacity: 0.55;
	transition: opacity 220ms var(--pg-gallery-motion-ease, var(--lz-ease));
}

.project-gallery-overlay.is-open.has-multiple-images .project-gallery-nav-thumb {
	height: min(
		var(--pg-nav-thumb-h, min(3.75rem, 11vh)),
		calc(100dvh - var(--pg-below-reserve, 0px) - 1.5rem)
	);
	width: auto;
	max-width: var(--pg-nav-thumb-max-w, min(6.5rem, 12vw));
	max-height: none;
}

.project-gallery-nav:hover .project-gallery-nav-thumb,
.project-gallery-nav:focus-visible .project-gallery-nav-thumb {
	opacity: 1;
}

.project-gallery-nav:focus,
.project-gallery-nav:focus-visible,
.project-gallery-nav:hover,
.project-gallery-nav:active {
	background: transparent;
	border: 0;
	box-shadow: none;
	outline: none;
}

.project-gallery-viewer img {
	display: block;
	width: auto;
	height: auto;
	max-width: min(92vw, 56rem);
	max-height: min(88dvh, 90vh, calc(100dvh - 3rem));
	object-fit: contain;
	object-position: center;
	transform: translate(0px, 0px) scale(1, 1);
	opacity: 1;
	transition: opacity 220ms var(--lz-ease);
	will-change: transform, opacity;
}

.project-gallery-viewer.is-switching img {
	opacity: 0;
}

.project-gallery-overlay.has-fullscreen .project-gallery-viewer {
	opacity: 1;
	pointer-events: auto;
}

@media (max-width: 820px) {
	.project-gallery-tile {
		min-height: 0;
	}

	.project-gallery-grid {
		height: auto;
		max-height: none;
	}

	.project-gallery-overlay.has-multiple-images .project-gallery-grid {
		height: auto;
		max-height: none;
	}

	/* Mobile thumb-row galleries: hide side previews; main image on top, thumbs directly below */
	.project-gallery-overlay.is-open.has-multiple-images:has(.project-gallery-stage--mobile-thumbs) .project-gallery-nav {
		display: none !important;
	}

	.project-gallery-overlay.is-open.has-multiple-images .project-gallery-slideshow:has(.project-gallery-stage--mobile-thumbs) {
		flex: 1 1 auto;
		min-height: 0;
		justify-content: center;
		align-items: stretch;
		width: 100%;
	}

	.project-gallery-overlay.is-open.has-multiple-images .project-gallery-stage--mobile-thumbs {
		display: flex;
		flex-direction: column;
		align-items: stretch;
		justify-content: flex-start;
		flex: 0 1 auto;
		min-height: 0;
		width: 100%;
		max-width: 100%;
		gap: 0.55rem;
	}

	.project-gallery-overlay.is-open.has-multiple-images .project-gallery-stage--mobile-thumbs .project-gallery-stage__main {
		display: flex;
		align-items: center;
		justify-content: center;
		width: 100%;
		min-width: 0;
		flex: 0 1 auto;
		min-height: 0;
		order: 1;
	}

	.project-gallery-overlay.is-open.has-multiple-images:has(.project-gallery-stage--mobile-thumbs) .project-gallery-mobile-thumb-row-clip {
		order: 2;
		flex: 0 0 auto;
	}

	.project-gallery-overlay.is-open.has-multiple-images:has(.project-gallery-stage--mobile-thumbs) {
		--pg-mountain-thumb-row-h: min(3.75rem, 12vh);
	}

	#project-gallery-overlay.is-open.has-multiple-images:has(.project-gallery-stage--mobile-thumbs):has(#project-gallery-below-stage:not([hidden])) {
		--pg-main-img-max-h: max(
			8rem,
			calc(100dvh - 5.5rem - var(--pg-mountain-thumb-row-h, 3.75rem) - 7rem - 0.75rem)
		);
	}

	#project-gallery-overlay.is-open.has-multiple-images:has(.project-gallery-stage--mobile-thumbs) .project-gallery-main-slide.project-gallery-tile img.project-gallery-slide-image {
		max-width: 100%;
		max-height: var(--pg-main-img-max-h, min(72dvh, 78vh, calc(100dvh - 10rem)));
		width: auto;
		height: auto;
		object-fit: contain;
		object-position: center center;
	}

	/* Mobile thumb-row galleries — centered image, single thumb row, black strip */
	.project-gallery-overlay.is-mountain-gallery.is-open.has-multiple-images {
		--pg-mountain-thumb-row-h: min(3.75rem, 12vh);
	}

	#project-gallery-overlay.is-mountain-gallery.is-open.has-multiple-images:has(#project-gallery-below-stage:not([hidden])) {
		--pg-main-img-max-h: max(
			8rem,
			calc(100dvh - 5.5rem - var(--pg-mountain-thumb-row-h, 3.75rem) - 7rem - 0.75rem)
		);
	}

	.project-gallery-overlay.is-mountain-gallery.is-open {
		padding-bottom: 0;
		overflow-x: hidden;
	}

	.project-gallery-overlay.is-mountain-gallery.is-open .project-gallery-panel {
		flex: 1 1 auto;
		min-height: calc(100dvh - 5.5rem);
		height: calc(100dvh - 5.5rem);
		max-height: calc(100dvh - 5.5rem);
		padding-bottom: 0;
	}

	.project-gallery-overlay.is-mountain-gallery.is-open .project-gallery-body:has(#project-gallery-below-stage:not([hidden])) {
		display: flex;
		flex-direction: column;
		align-items: stretch;
		flex: 1 1 auto;
		min-height: 100%;
		height: 100%;
		margin-top: 0.25rem;
		margin-bottom: 0;
		padding-bottom: 0;
	}

	.project-gallery-overlay.is-mountain-gallery.is-open.has-multiple-images .project-gallery-body {
		display: flex;
		flex-direction: column;
		align-items: stretch;
	}

	.project-gallery-overlay.is-mountain-gallery.is-open.has-multiple-images #project-gallery-grid {
		flex: 1 1 auto;
		min-height: 0;
		display: flex;
		flex-direction: column;
		align-self: stretch;
		width: 100%;
		max-width: none;
		padding-bottom: 0;
	}

	.project-gallery-overlay.is-mountain-gallery.is-open.has-multiple-images .project-gallery-slideshow {
		flex: 1 1 auto;
		min-height: 0;
		display: flex;
		flex-direction: column;
		align-items: stretch;
		justify-content: center;
		width: 100%;
	}

	.project-gallery-overlay.is-mountain-gallery .project-gallery-stage--mobile-thumbs {
		display: flex;
		flex-direction: column;
		align-items: stretch;
		justify-content: flex-start;
		gap: 0.55rem;
		width: 100%;
		max-width: 100%;
		flex: 0 1 auto;
		min-height: 0;
	}

	.project-gallery-overlay.is-mountain-gallery .project-gallery-stage--mobile-thumbs .project-gallery-stage__main {
		display: flex;
		align-items: center;
		justify-content: center;
		width: 100%;
		min-width: 0;
		flex: 0 1 auto;
		min-height: 0;
		order: 1;
	}

	.project-gallery-overlay.is-mountain-gallery .project-gallery-stage--mobile-thumbs .project-gallery-main-slide,
	.project-gallery-overlay.is-mountain-gallery .project-gallery-stage--mobile-thumbs .project-gallery-slide-frame {
		width: 100%;
		max-width: 100%;
	}

	.project-gallery-overlay.is-mountain-gallery.has-multiple-images .project-gallery-stage--mobile-thumbs .project-gallery-slide-frame {
		max-width: min(100%, calc(100vw - 2.5rem));
		max-height: var(--pg-main-img-max-h, min(72dvh, 78vh, calc(100dvh - 9rem), 100%));
		margin-bottom: 0;
		overflow: visible;
	}

	#project-gallery-overlay.is-mountain-gallery .project-gallery-main-slide.project-gallery-tile img.project-gallery-slide-image {
		max-width: 100%;
		max-height: var(--pg-main-img-max-h, min(72dvh, 78vh, calc(100dvh - 10rem)));
		width: auto;
		height: auto;
		object-fit: contain;
		object-position: center center;
	}

	.project-gallery-overlay.is-mountain-gallery.is-open.has-multiple-images .project-gallery-mobile-thumb-row-clip {
		position: relative;
		width: 100%;
		flex: 0 0 auto;
		flex-shrink: 0;
		order: 2;
		height: calc(var(--pg-mountain-thumb-row-h) + 0.7rem);
		max-height: calc(var(--pg-mountain-thumb-row-h) + 0.7rem);
		overflow: hidden;
		background: #fff;
	}

	.project-gallery-overlay.is-mountain-gallery.is-open.has-multiple-images .project-gallery-mobile-thumb-row-clip::before,
	.project-gallery-overlay.is-mountain-gallery.is-open.has-multiple-images .project-gallery-mobile-thumb-row-clip::after {
		content: "";
		position: absolute;
		top: 0;
		bottom: 0;
		width: min(2rem, 12vw);
		z-index: 2;
		pointer-events: none;
		opacity: 0;
		transition: opacity 220ms var(--pg-gallery-motion-ease, var(--lz-ease));
	}

	.project-gallery-overlay.is-mountain-gallery.is-open.has-multiple-images .project-gallery-mobile-thumb-row-clip::before {
		left: 0;
		background: linear-gradient(to right, #fff 0%, rgb(255 255 255 / 0.92) 35%, transparent 100%);
	}

	.project-gallery-overlay.is-mountain-gallery.is-open.has-multiple-images .project-gallery-mobile-thumb-row-clip::after {
		right: 0;
		background: linear-gradient(to left, #fff 0%, rgb(255 255 255 / 0.92) 35%, transparent 100%);
	}

	.project-gallery-overlay.is-mountain-gallery.is-open.has-multiple-images .project-gallery-mobile-thumb-row-clip.is-thumb-row-scrollable:not(.is-thumb-row-at-start)::before {
		opacity: 1;
	}

	.project-gallery-overlay.is-mountain-gallery.is-open.has-multiple-images .project-gallery-mobile-thumb-row-clip.is-thumb-row-scrollable:not(.is-thumb-row-at-end)::after {
		opacity: 1;
	}

	.project-gallery-overlay.is-mountain-gallery.is-open.has-multiple-images .project-gallery-mobile-thumb-row-clip:not(.is-thumb-row-scrollable) {
		display: flex;
		justify-content: center;
	}

	.project-gallery-overlay.is-mountain-gallery.is-open.has-multiple-images .project-gallery-mobile-thumb-row-clip:not(.is-thumb-row-scrollable) .project-gallery-mobile-thumb-row {
		justify-content: center;
		width: auto;
		max-width: 100%;
	}

	.project-gallery-overlay.is-mountain-gallery.is-open.has-multiple-images .project-gallery-mobile-thumb-row {
		display: flex !important;
		flex-flow: row nowrap !important;
		align-items: center;
		justify-content: flex-start;
		gap: 0.45rem;
		width: 100%;
		max-width: 100%;
		min-width: 0;
		height: var(--pg-mountain-thumb-row-h);
		max-height: var(--pg-mountain-thumb-row-h);
		flex: 0 0 auto;
		overflow-x: auto;
		overflow-y: hidden;
		-webkit-overflow-scrolling: touch;
		overscroll-behavior-x: contain;
		scroll-snap-type: x proximity;
		touch-action: pan-x pan-y pinch-zoom;
		scrollbar-width: none;
		-ms-overflow-style: none;
		padding: 0 max(0.5rem, env(safe-area-inset-right, 0px)) 0
			max(0.5rem, env(safe-area-inset-left, 0px));
		box-sizing: border-box;
		background: #fff;
	}

	.project-gallery-overlay.is-mountain-gallery.is-open.has-multiple-images .project-gallery-mobile-thumb-row::-webkit-scrollbar {
		display: none;
	}

	.project-gallery-overlay.is-mountain-gallery .project-gallery-mobile-thumb-row .project-gallery-thumb {
		flex: 0 0 auto;
		flex-shrink: 0;
		display: block;
		height: var(--pg-mountain-thumb-row-h);
		max-height: var(--pg-mountain-thumb-row-h);
		overflow: hidden;
		scroll-snap-align: center;
		margin: 0;
		padding: 0;
		border: 0;
		background: transparent;
		cursor: pointer;
		line-height: 0;
		opacity: 0.42;
		transition: opacity 220ms var(--pg-gallery-motion-ease, var(--lz-ease));
		appearance: none;
		-webkit-appearance: none;
	}

	.project-gallery-overlay.is-mountain-gallery .project-gallery-body:has(#project-gallery-below-stage:not([hidden])) #project-gallery-grid {
		flex: 1 1 auto;
		min-height: 0;
	}

	.project-gallery-overlay.is-mountain-gallery .project-gallery-body:has(#project-gallery-below-stage:not([hidden])) .project-gallery-slideshow {
		flex: 1 1 auto;
		min-height: 0;
		align-items: stretch;
		justify-content: center;
	}

	.project-gallery-overlay.is-mountain-gallery .project-gallery-mobile-thumb-row .project-gallery-thumb.is-active,
	.project-gallery-overlay.is-mountain-gallery .project-gallery-mobile-thumb-row .project-gallery-thumb:hover,
	.project-gallery-overlay.is-mountain-gallery .project-gallery-mobile-thumb-row .project-gallery-thumb:focus-visible {
		opacity: 1;
	}

	.project-gallery-overlay.is-mountain-gallery .project-gallery-mobile-thumb-row .project-gallery-thumb:focus-visible {
		outline: 2px solid var(--text, #111);
		outline-offset: 3px;
	}

	.project-gallery-overlay.is-mountain-gallery .project-gallery-mobile-thumb-row .project-gallery-thumb__img {
		display: block;
		width: auto;
		height: 100%;
		max-width: min(4.5rem, 22vw);
		max-height: 100%;
		object-fit: contain;
		object-position: center center;
		pointer-events: none;
	}

	.project-gallery-overlay.is-mountain-gallery.is-open .project-gallery-body:has(#project-gallery-below-stage:not([hidden])) #project-gallery-below-stage {
		flex: 0 0 auto;
		flex-shrink: 0;
		margin-top: auto;
		margin-bottom: 0;
		position: sticky;
		bottom: 0;
		align-self: stretch;
		width: 100vw;
		max-width: none;
		margin-inline: calc((100% - 100vw) / 2);
		z-index: 4;
	}

	.project-gallery-overlay.is-mountain-gallery.is-open .project-gallery-body:has(#project-gallery-below-stage.is-below-expanded) #project-gallery-below-stage {
		flex: 1 1 auto;
		min-height: 0;
		max-height: min(72dvh, 52rem);
		overflow-x: hidden;
		overflow-y: auto;
		-webkit-overflow-scrolling: touch;
	}

	.project-gallery-overlay.is-mountain-gallery.is-open:has(#project-gallery-below-stage.is-below-expanded) .project-gallery-panel {
		height: auto;
		max-height: 100dvh;
		min-height: calc(100dvh - 5.5rem);
	}

	.project-gallery-overlay.is-mountain-gallery.is-open:has(#project-gallery-below-stage.is-below-expanded) .project-gallery-body:has(#project-gallery-below-stage:not([hidden])) {
		height: auto;
		min-height: calc(100dvh - 5.5rem);
	}

	/* Mobile multi-image: hide side previews (thumb-row galleries use scrollable row instead) */
	.project-gallery-overlay.is-open.has-multiple-images .project-gallery-stage .project-gallery-nav {
		display: none !important;
	}

	.project-gallery-overlay.has-multiple-images {
		--pg-nav-slot: 0;
		--pg-main-slide-max-w: min(52rem, calc(100vw - 2.5rem));
	}

	.project-gallery-stage--swipeable {
		touch-action: pan-y pinch-zoom;
		-webkit-user-select: none;
		user-select: none;
	}

	.project-gallery-stage--swipeable:active {
		cursor: grabbing;
	}

	.project-gallery-stage--swipeable .project-gallery-slide-image,
	.project-gallery-stage--swipeable .project-gallery-thumb__img {
		-webkit-user-drag: none;
	}

	.project-gallery-viewer img {
		max-width: 90vw;
		max-height: min(86dvh, 88vh, calc(100dvh - 3rem));
	}
}

.wp-block-image img {
	display: block;
	height: auto;
	max-width: 100%;
}

.wp-block-button__link {
	background: var(--text);
	color: #fff;
	border-radius: 0;
	border: 0;
}

.wp-block-button__link:hover {
	background: transparent;
	color: var(--text);
}

@media (max-width: 700px) {
	.site-header .wrap {
		display: flex;
		flex-direction: column;
		align-items: flex-start;
		gap: 0.35rem;
	}

	.site-role {
		order: 1;
		width: 100%;
		text-align: left;
		white-space: normal;
		font-style: normal;
	}

	.site-work-link-cluster {
		order: 2;
		justify-self: start;
		white-space: normal;
	}

	.site-work-subtitle {
		order: 3;
	}


	.studio-grid {
		grid-template-columns: 1fr;
		column-gap: 0;
		row-gap: var(--studio-grid-gap);
	}

	.studio-grid .studio-column {
		padding-inline: 0;
	}

	.work-media-grid {
		grid-template-columns: 1fr;
	}

	.work-media-stage .summary-item-list.sqs-gallery-design-autogrid:not(.section-grid--projects),
	.work-media-stage .summary-item-list.sqs-gallery-design-autogrid.photography-grid {
		grid-template-columns: minmax(0, 1fr);
	}

	.work-media-stage .photography-grid:not(.section-grid--4col):not(.section-grid--5col) .summary-thumbnail-outer-container {
		min-height: 0;
		display: block;
	}

	.work-media-stage {
		--work-title-inset-3: 0;
		--work-title-inset-4: 0;
		/* padding-top is set by JS (syncHeaderHeight) from #top height — do not add a fixed clamp here
		   or the first section title will sit too low / fight the measured header on mobile */
	}

	/* Portrait image: flush to the bottom of the viewport on mobile */
	.landing-hero-portrait__frame {
		align-items: flex-end;
		justify-content: center;
	}

	.landing-hero-portrait__img {
		width: 100%;
		height: auto;
		max-width: 100%;
		max-height: 100%;
		object-fit: contain;
		object-position: center bottom;
	}

	.landing-hero-portrait__zone-wrap {
		width: 100%;
		max-height: calc(100dvh - var(--landing-header-offset));
	}

	/* In-column portrait: don’t inherit full-bleed mobile hero sizing */
	.site-main-studio-band .landing-hero-portrait--in-studio .landing-hero-portrait__frame {
		justify-content: flex-start;
	}
	.site-main-studio-band .landing-hero-portrait--in-studio .landing-hero-portrait__zone-wrap {
		max-height: min(42vh, 19rem);
		width: min(100%, 22rem);
	}

}

/* Touch / mobile: performance hints only — layout and appearance unchanged */
@media (hover: none), (pointer: coarse) {
	html {
		scroll-behavior: auto;
	}

	.studio-column p {
		will-change: auto;
	}

	.work-media-stage__scroll,
	.project-gallery-overlay,
	.project-video-overlay {
		touch-action: pan-y;
		overscroll-behavior-y: contain;
	}

	.summary-thumbnail-container,
	.work-detail-close,
	.project-gallery-nav-btn,
	.site-work-link {
		-webkit-tap-highlight-color: transparent;
	}
}

@media (max-width: 900px) and (min-width: 701px) {
	.studio-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.studio-column:first-child {
		grid-column: 1 / -1;
	}

	.studio-column--middle-left,
	.studio-column--middle-right,
	.studio-column:nth-child(4) {
		padding-inline-start: 0;
	}

	.studio-column:nth-child(4) {
		grid-column: 1 / -1;
		padding-inline-end: 0;
	}

	.work-media-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.work-media-stage .summary-item-list.sqs-gallery-design-autogrid:not(.section-grid--projects),
	.work-media-stage .summary-item-list.sqs-gallery-design-autogrid.photography-grid,
	.work-media-stage .summary-item-list.sqs-gallery-design-autogrid.section-grid--short-films {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.work-media-stage .summary-item-list.sqs-gallery-design-autogrid.section-grid--5col {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}

	.work-media-stage .summary-item-list.sqs-gallery-design-autogrid.section-grid--4col {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.work-media-stage .photography-grid:not(.section-grid--4col):not(.section-grid--5col) > .summary-item:nth-child(2n + 1):nth-last-child(1) .summary-thumbnail-outer-container,
	.work-media-stage .photography-grid:not(.section-grid--4col):not(.section-grid--5col) > .summary-item:nth-child(2n + 2):nth-last-child(1) .summary-thumbnail-outer-container {
		min-height: 0;
		display: block;
	}

	.work-media-stage {
		--work-title-inset-3: 0;
		--work-title-inset-4: 0;
	}
}

@media (prefers-reduced-motion: reduce) {
	.site-header .wrap,
	.studio-column {
		animation: none;
		opacity: 1;
		transform: none;
	}

	.site-role,
	.studio-column p,
	body,
	.site-header,
	.site-information-view,
	.site-information-view__brandoor,
	.site-information-view__panel,
	.work-media-stage {
		transition: none;
	}

	.work-media-stage .summary-thumbnail-image.lz-progressive-img {
		filter: none;
		transform: none;
		opacity: 1;
		transition: none;
	}

	body.work-media-active .site-information-view__panel--left,
	body.work-media-active .site-information-view__panel--right {
		transform: none;
	}

	body.work-media-active .site-information-view {
		visibility: hidden;
	}

	.studio-grid,
	.work-media-stage {
		transition: none;
	}

	.project-gallery-below-stage,
	.project-gallery-below-drawer-clip,
	.project-gallery-below-peek__icon,
	.project-gallery-slide-frame,
	.project-gallery-slide-image,
	.project-gallery-tile img,
	.project-gallery-grid,
	.project-gallery-below-image__inner,
	.project-gallery-work-details,
	.project-gallery-nav-thumb {
		transition: none;
	}

	.project-video-overlay.is-open,
	.project-video-overlay.is-open .work-detail-close,
	.project-video-embed,
	#project-video-wrap,
	.project-video-embed-poster {
		transition: none;
	}

}

html.spider-cursor-enabled,
html.spider-cursor-enabled body,
html.spider-cursor-enabled a,
html.spider-cursor-enabled button,
html.spider-cursor-enabled input,
html.spider-cursor-enabled select,
html.spider-cursor-enabled textarea {
	cursor: none !important;
}

.spider-cursor {
	position: fixed;
	left: 0;
	top: 0;
	width: 18px;
	height: 18px;
	transform: translate(-50%, -50%);
	pointer-events: none;
	z-index: 2147483647;
	opacity: 0;
	transition: opacity 80ms linear, transform 80ms linear;
	will-change: transform, left, top, opacity;
}

.spider-body {
	position: absolute;
	left: 50%;
	top: 50%;
	width: 10px;
	height: 10px;
	background: #000;
	border-radius: 50%;
	transform: translate(-50%, -50%);
}

.spider-head {
	position: absolute;
	left: 50%;
	top: calc(50% - 6px);
	width: 6px;
	height: 6px;
	background: #000;
	border-radius: 50%;
	transform: translate(-50%, -50%);
}

.spider-legs {
	position: absolute;
	inset: 0;
}

.spider-leg {
	position: absolute;
	left: 50%;
	top: 50%;
	width: 8px;
	height: 1.2px;
	background: #000;
	transform-origin: 0 50%;
	animation: spider-leg-idle 900ms var(--lz-ease) infinite;
}

.spider-leg-1 {
	transform: translate(1px, -4px) rotate(-160deg);
}
.spider-leg-2 {
	transform: translate(1px, -2px) rotate(-140deg);
}
.spider-leg-3 {
	transform: translate(1px, 2px) rotate(-38deg);
}
.spider-leg-4 {
	transform: translate(1px, 4px) rotate(-18deg);
}
.spider-leg-5 {
	transform: translate(1px, -4px) rotate(-20deg) scaleX(-1);
}
.spider-leg-6 {
	transform: translate(1px, -2px) rotate(-40deg) scaleX(-1);
}
.spider-leg-7 {
	transform: translate(1px, 2px) rotate(-142deg) scaleX(-1);
}
.spider-leg-8 {
	transform: translate(1px, 4px) rotate(-162deg) scaleX(-1);
}

.spider-cursor.is-moving .spider-leg {
	animation-name: spider-leg-move;
	animation-duration: 260ms;
}

.spider-cursor.is-clicking {
	transform: translate(-50%, -50%) scale(0.92);
}

.hypnotic-spiral-overlay {
	position: fixed;
	inset: 0;
	background: #000;
	z-index: 2147483000;
	opacity: 0;
	pointer-events: none;
	transition: opacity 360ms var(--lz-ease);
}

.hypnotic-spiral-overlay.is-open {
	opacity: 1;
	pointer-events: auto;
}

.hypnotic-spiral-track {
	position: absolute;
	inset: 2.2rem;
	display: block;
	overflow: auto;
}

.hypnotic-spiral-track.is-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(88px, 1fr));
	gap: 0.42rem;
	align-content: start;
}

.hypnotic-spiral-track.is-spiral {
	inset: auto;
	left: 50%;
	top: 50%;
	width: min(88vw, 72rem);
	height: min(88vh, 72rem);
	transform: translate(-50%, -50%);
	overflow: hidden;
	display: block;
}

.hypnotic-spiral-item {
	position: relative;
	left: auto;
	top: auto;
	transform-origin: center;
	transform: none;
	opacity: 0;
	visibility: hidden;
	transition: opacity 260ms var(--lz-ease);
	will-change: opacity;
	aspect-ratio: 1 / 1;
}

.hypnotic-spiral-item.is-visible {
	opacity: 1;
	visibility: visible;
}

.hypnotic-spiral-item img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	filter: saturate(1.08) contrast(1.05);
}

.hypnotic-spiral-track.is-spiral .hypnotic-spiral-item {
	position: absolute;
	left: 50%;
	top: 50%;
	transform-origin: 0 0;
	transform: translate(-50%, -50%);
	width: auto;
	height: auto;
	aspect-ratio: auto;
	animation: hypnotic-spiral-orbit var(--duration, 40s) linear infinite;
	animation-delay: var(--delay, 0s);
	will-change: transform, opacity;
}

.hypnotic-spiral-track.is-spiral .hypnotic-spiral-item img {
	width: var(--img-size, 42px);
	height: var(--img-size, 42px);
}

@keyframes hypnotic-spiral-orbit {
	0% {
		transform: translate(-50%, -50%) rotate(var(--angle)) translateX(var(--radius-start)) translateY(calc(var(--wobble, 0px) * -0.9));
		opacity: 0.92;
	}
	36% {
		transform: translate(-50%, -50%) rotate(calc(var(--angle) - (var(--turns, 1200deg) * 0.34))) translateX(calc((var(--radius-start) * 0.65))) translateY(var(--wobble, 0px));
		opacity: 0.78;
	}
	72% {
		transform: translate(-50%, -50%) rotate(calc(var(--angle) - (var(--turns, 1200deg) * 0.72))) translateX(calc((var(--radius-start) * 0.34))) translateY(calc(var(--wobble, 0px) * -0.55));
		opacity: 0.48;
	}
	100% {
		transform: translate(-50%, -50%) rotate(calc(var(--angle) - var(--turns, 1200deg))) translateX(var(--radius-end)) translateY(0px);
		opacity: 0;
	}
}

@keyframes spider-leg-idle {
	0%,
	100% {
		filter: none;
	}
	50% {
		filter: brightness(0.92);
	}
}

@keyframes spider-leg-move {
	0%,
	100% {
		opacity: 1;
	}
	50% {
		opacity: 0.82;
	}
}

/* Fullscreen film-style credits (F inside a project) */
.project-credits-fullscreen {
	position: fixed;
	inset: 0;
	z-index: 520;
	background: #000;
	color: rgba(255, 255, 255, 0.92);
	display: none;
	flex-direction: column;
	align-items: stretch;
	justify-content: stretch;
	opacity: 0;
	pointer-events: none;
	transition: opacity 320ms var(--lz-ease);
}

.project-credits-fullscreen.is-open {
	display: flex;
	opacity: 1;
	pointer-events: auto;
}

.project-credits-fullscreen__viewport {
	flex: 1 1 auto;
	min-height: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: max(2.5rem, env(safe-area-inset-top, 0px)) max(1.25rem, env(safe-area-inset-right, 0px)) max(2.5rem, env(safe-area-inset-bottom, 0px)) max(1.25rem, env(safe-area-inset-left, 0px));
	box-sizing: border-box;
	cursor: pointer;
	-webkit-tap-highlight-color: transparent;
}

.project-credits-fullscreen__track {
	width: min(34rem, 88vw);
	max-height: 100%;
	box-sizing: border-box;
}

.project-credits-fullscreen.is-grid-mode .project-credits-fullscreen__track {
	width: 100%;
	max-width: none;
	padding-inline: max(1.5rem, var(--nav-text-inset, 1.25rem));
	box-sizing: border-box;
}

.project-credits-fullscreen.is-grid-mode .project-gallery-credit-grid {
	width: 100%;
	max-width: none;
}

.project-credits-fullscreen.is-card-mode .project-credits-fullscreen__track {
	display: block;
}

.project-credits-fullscreen.is-scroll-mode .project-credits-fullscreen__track {
	animation: project-credits-scroll-up var(--project-credits-scroll-duration, 48s) linear forwards;
	will-change: transform;
}

.project-credits-fullscreen__block {
	text-align: center;
	white-space: pre-line;
	font-size: calc(var(--site-text-size) - 2pt);
	line-height: 1.55;
	letter-spacing: 0.02em;
	overflow-wrap: anywhere;
	word-break: break-word;
}

.project-credits-fullscreen.is-card-mode .project-credits-fullscreen__block {
	display: none;
	padding: 0.35rem 0;
}

.project-credits-fullscreen.is-card-mode .project-credits-fullscreen__block.is-active {
	display: block;
	animation: project-credits-card-in 720ms var(--lz-ease) both;
}

.project-credits-fullscreen.is-scroll-mode .project-credits-fullscreen__block + .project-credits-fullscreen__block {
	margin-top: 3.5rem;
}

.project-credits-fullscreen__close {
	position: fixed;
	top: calc(1.25rem + 0.08rem);
	right: var(--page-edge-inset, 1rem);
	z-index: 2;
	background: transparent;
	border: 0;
	padding: 0;
	font: inherit;
	font-size: var(--site-text-size);
	line-height: 1;
	color: rgba(255, 255, 255, 0.72);
	cursor: pointer;
	-webkit-tap-highlight-color: transparent;
}

.project-credits-fullscreen__close:hover,
.project-credits-fullscreen__close:focus-visible {
	color: #fff;
}

.project-credits-fullscreen__hint {
	position: fixed;
	left: var(--page-edge-inset, 1rem);
	bottom: max(1rem, env(safe-area-inset-bottom, 0px));
	margin: 0;
	font-size: calc(var(--site-text-size) - 4pt);
	line-height: 1.3;
	color: rgba(255, 255, 255, 0.38);
	pointer-events: none;
}

@keyframes project-credits-card-in {
	from {
		opacity: 0;
		transform: translateY(0.65rem);
	}
	to {
		opacity: 1;
		transform: translateY(0);
	}
}

@keyframes project-credits-scroll-up {
	from {
		transform: translateY(38vh);
	}
	to {
		transform: translateY(calc(-100% + 38vh));
	}
}

@media (prefers-reduced-motion: reduce) {
	.project-credits-fullscreen {
		transition: none;
	}

	.project-credits-fullscreen.is-scroll-mode .project-credits-fullscreen__track {
		animation: none;
		transform: none;
	}

	.project-credits-fullscreen.is-card-mode .project-credits-fullscreen__block.is-active {
		animation: none;
	}

	.work-media-stage .summary-item,
	.work-project-doors__panel {
		transition: none;
	}

	body.work-media-active .work-media-stage .summary-item {
		opacity: 1;
		transform: none;
	}
}

/* Rows stack; each row keeps the same column tracks so left edges line up. */
.work-media-stage .summary-item-list.sqs-gallery-design-autogrid:has(> .lz-work-row) {
	display: flex;
	flex-direction: column;
	row-gap: var(--work-grid-row-gap);
	column-gap: 0;
}

.work-media-stage .lz-work-row {
	display: grid;
	grid-template-columns: repeat(var(--lz-cols, 5), minmax(0, 1fr));
	column-gap: var(--work-grid-column-gap);
	width: 100%;
	align-items: start;
	justify-items: start;
	padding-inline: var(--work-page-edge-inset);
	box-sizing: border-box;
}

/* A row with one tile spans the full row as a wide still. */
.work-media-stage .summary-item.is-row-solo {
	grid-column: 1 / -1;
}

.work-media-stage .lz-work-row:not(:has(> .summary-item.is-row-solo)) > .summary-item {
	width: 100% !important;
	max-width: 100%;
	justify-self: stretch;
}

/* Fill heroes (DreamQuil, Margiela): edge-to-edge, no white matte. */
.work-media-stage .lz-work-row:has(> .summary-item.is-work-hero:not(.is-hero-inset)) {
	padding: 0;
	background: transparent;
	box-sizing: border-box;
}

/* GQ only: large #fff frame — image sits inset, never edge-to-edge.
   White runs to the top of the viewport (row is lifted under the nav).
   Top matte stays tight under the nav so the still sits optically centered. */
.work-media-stage .lz-work-row:has(> .summary-item.is-work-hero.is-hero-inset) {
	--work-hero-inset-x: max(var(--work-page-edge-inset), min(10vw, 7.5rem));
	--work-hero-inset-y-top: max(0.65rem, min(2.5vw, 1.35rem));
	/* Room under the still for the lower-left caption on the white matte. */
	--work-hero-inset-y-bottom: max(6.25rem, min(12vw, 8.5rem));
	--work-hero-inset-y: var(--work-hero-inset-y-bottom);
	padding: calc(var(--lz-header-bottom, 5.5rem) + var(--work-hero-inset-y-top))
		var(--work-hero-inset-x) var(--work-hero-inset-y-bottom);
	background: #fff;
	box-sizing: border-box;
	overflow: visible;
}

/* Keep the sheet behind the hero white too (not grey) — fills to viewport top. */
body.work-media-active .work-media-stage,
body.work-media-active .work-media-stage__scroll {
	background: #fff;
}
body.work-media-active .work-section-nav {
	background-color: #fff;
}

.work-media-stage .summary-item.is-row-solo .summary-content {
	padding-inline: var(--work-page-edge-inset);
	box-sizing: border-box;
}

/* Hero caption: lower-left over the still (title / directed by / role). */
.work-media-stage .summary-item.is-work-hero {
	position: relative;
}
.work-media-stage .summary-item.is-work-hero > .summary-content {
	display: block !important;
	position: absolute;
	left: max(var(--work-page-edge-inset, 0.85rem), env(safe-area-inset-left, 0px));
	bottom: max(1.1rem, env(safe-area-inset-bottom, 0px));
	z-index: 4;
	width: auto;
	max-width: min(34rem, calc(100% - 2.5rem));
	margin: 0;
	padding: 0;
	pointer-events: none;
	color: #fff;
	text-shadow:
		0 1px 2px rgb(0 0 0 / 0.5),
		0 0 22px rgb(0 0 0 / 0.4);
}
.work-media-stage .summary-item.is-work-hero > .summary-content .summary-excerpt {
	font-size: clamp(0.78rem, 0.72rem + 0.25vw, 0.95rem);
	line-height: 1.35;
	color: inherit;
}
.work-media-stage .summary-item.is-work-hero > .summary-content .summary-excerpt em {
	font-style: italic;
	font-weight: 500;
}
/* Inset heroes: caption lower-left on the white matte (same optical corner as
   DreamQuil fill captions) — in the bottom pad under the still, never over it. */
.work-media-stage .summary-item.is-work-hero.is-hero-inset {
	overflow: visible;
}
.work-media-stage .summary-item.is-work-hero.is-hero-inset > .summary-content {
	left: 0;
	right: auto;
	top: auto;
	/* Drop into the row’s bottom matte; 1.1rem off the frame edge like fill heroes. */
	bottom: calc(-1 * var(--work-hero-inset-y-bottom, 6.25rem) + 1.1rem);
	margin-top: 0;
	max-width: min(34rem, 100%);
	color: #111;
	text-shadow: none;
}

.work-media-stage .summary-item.is-row-solo .summary-thumbnail-outer-container,
.work-media-stage .summary-item.is-work-hero .summary-thumbnail-outer-container {
	width: 100%;
	max-width: none;
	margin-left: 0;
	margin-right: 0;
}

.work-media-stage .summary-item.is-row-solo .summary-thumbnail-container,
.work-media-stage .summary-item.is-work-hero .summary-thumbnail-container {
	width: 100%;
	max-width: none;
	border-radius: 0;
}

.work-media-stage .summary-item.is-row-solo .summary-thumbnail-image,
.work-media-stage .summary-item.is-work-hero.is-hero-inset .summary-thumbnail-image {
	width: 100%;
	max-width: none;
	height: auto;
	max-height: none;
	object-fit: contain;
	object-position: center center;
}

.work-media-stage .summary-item.is-work-hero:not(.is-hero-inset) .summary-thumbnail-image {
	width: 100%;
	max-width: none;
	height: 100%;
	max-height: none;
	object-fit: cover;
	object-position: center center;
}

.work-media-stage .summary-item.is-work-hero .lz-hero-video {
	position: absolute;
	inset: 0;
	z-index: 1;
	overflow: hidden;
	pointer-events: none;
	background: #000;
	container-type: size;
	container-name: lz-hero-video;
}

.work-media-stage .summary-item.is-work-hero .lz-hero-video iframe,
.work-media-stage .summary-item.is-work-hero .lz-hero-video video {
	position: absolute;
	top: 50%;
	left: 50%;
	border: 0;
	transform: translate(-50%, -50%);
	/* Cover the hero frame — crop rather than pillarbox/letterbox. */
	width: max(100%, calc(100% * 16 / 9));
	height: max(100%, calc(100% * 9 / 16));
	min-width: 100%;
	min-height: 100%;
	object-fit: cover;
}

/* True cover for 16:9 YouTube inside any hero aspect. */
.work-media-stage .summary-item.is-work-hero .lz-hero-video iframe {
	width: max(100cqw, calc(100cqh * 16 / 9));
	height: max(100cqh, calc(100cqw * 9 / 16));
	min-width: 0;
	min-height: 0;
}

@supports not (width: 1cqw) {
	.work-media-stage .summary-item.is-work-hero .lz-hero-video iframe {
		/* Fallback: overscale so side bars never show. */
		width: 180%;
		height: 180%;
		min-width: 180%;
		min-height: 180%;
	}
}

.work-media-stage .summary-item.is-work-hero.is-hero-playing .summary-thumbnail-image {
	opacity: 0 !important;
}

/* The frame stays put. Only the photograph fades inside it.
   Thumbnail links may take a soft ripple transform (see below). */
body.work-media-active .work-media-stage .summary-item,
body.work-media-active .work-media-stage .summary-thumbnail-outer-container,
body.work-media-active .work-media-stage .summary-content {
	opacity: 1;
	transform: none;
	filter: none;
	animation: none;
	transition: none;
}

body.work-media-active .work-media-stage .summary-thumbnail-container:not(.lz-project-external-link) {
	position: relative;
	overflow: hidden;
	width: 100%;
	background: transparent;
	opacity: 1;
	filter: none;
	animation: none;
}

/* Fluid grid ripple — whole card (image + title/copy) moves as one; ~1–2% scale. */
@media (hover: hover) and (pointer: fine) {
	body.work-media-active:not(.is-project-detail-open):not(.is-project-morphing):not(.is-project-doors)
		.work-media-stage
		.summary-item:not(.is-work-hero):not(.lz-project-external):not(.is-morph-source):not(.is-project-scattered) {
		--lz-ripple-x: 0px;
		--lz-ripple-y: 0px;
		--lz-ripple-scale: 1;
		transform: translate3d(var(--lz-ripple-x), var(--lz-ripple-y), 0)
			scale(var(--lz-ripple-scale));
		transform-origin: center top;
		transition: transform 680ms cubic-bezier(0.22, 1.12, 0.32, 1);
		will-change: transform;
	}

	body.work-media-active.is-grid-ripple-hot:not(.is-project-detail-open):not(.is-project-morphing):not(.is-project-doors)
		.work-media-stage
		.summary-item:not(.is-work-hero):not(.lz-project-external):not(.is-morph-source):not(.is-project-scattered) {
		transition: transform 420ms cubic-bezier(0.22, 1.28, 0.32, 1);
	}

	body.work-media-active.is-slicing
		.work-media-stage
		.summary-item:not(.is-work-hero) {
		transform: none;
		transition: none;
		will-change: auto;
	}
}

@media (prefers-reduced-motion: reduce) {
	body.work-media-active
		.work-media-stage
		.summary-item:not(.is-work-hero) {
		transform: none !important;
		transition: none !important;
		will-change: auto;
	}
}

/* Grid tiles keep each still's native ratio (inline / data-lz-native-ar / the image itself). */
body.work-media-active .work-media-stage .summary-item:not(.is-work-hero) .summary-thumbnail-container:not(.lz-project-external-link) {
	aspect-ratio: auto;
	height: auto;
	/* Prefer the still’s own frame over any leftover shared tile ratio. */
	max-height: none;
}

body.work-media-active .work-media-stage .summary-item.is-row-solo:not(.is-work-hero) .summary-thumbnail-container:not(.lz-project-external-link) {
	aspect-ratio: auto;
}

/* GQ inset: native ratio inside the white matte — no crop. */
body.work-media-active .work-media-stage .summary-item.is-work-hero.is-hero-inset .summary-thumbnail-container:not(.lz-project-external-link) {
	aspect-ratio: auto !important;
	width: 100%;
	max-width: none;
	border-radius: 0;
	background: #fff;
}

body.work-media-active .work-media-stage .summary-item.is-work-hero.is-hero-inset .summary-thumbnail-container:not(.lz-project-external-link) .summary-thumbnail-image {
	object-fit: contain !important;
	object-position: center center !important;
	position: relative !important;
	inset: auto !important;
	width: 100% !important;
	height: auto !important;
}

/* DreamQuil / Margiela fill: cover the viewport frame edge-to-edge. */
body.work-media-active .work-media-stage .summary-item.is-work-hero:not(.is-hero-inset) .summary-thumbnail-container:not(.lz-project-external-link) {
	aspect-ratio: auto !important;
	width: 100%;
	max-width: none;
	height: 100dvh;
	min-height: 100dvh;
	border-radius: 0;
	background: #000;
	overflow: hidden;
}

body.work-media-active .work-media-stage .summary-item.is-work-hero:not(.is-hero-inset) .summary-thumbnail-container:not(.lz-project-external-link) .summary-thumbnail-image {
	object-fit: cover !important;
	object-position: center center !important;
	position: absolute !important;
	inset: 0 !important;
	width: 100% !important;
	height: 100% !important;
}

/* Grid / solo stills: show full frame, never crop to a shared tile ratio. */
body.work-media-active .work-media-stage .summary-item:not(.is-work-hero) .summary-thumbnail-container:not(.lz-project-external-link) .summary-thumbnail-image {
	position: relative !important;
	inset: auto !important;
	display: block;
	width: 100% !important;
	height: auto !important;
	max-width: none !important;
	max-height: none !important;
	margin: 0;
	object-fit: contain !important;
	object-position: center center !important;
	opacity: 0;
	transform: none !important;
	filter: none !important;
	transition: opacity 640ms var(--lz-ease) !important;
}

/* Dominant plate first, then fade the photo — never grey → color → image. */
body.work-media-active .work-media-stage .summary-item.is-in-view .summary-thumbnail-container.is-color-ready:not(.lz-project-external-link) .summary-thumbnail-image {
	opacity: 1;
}

/* The page on screen, cut at the center, each half sliding off. */
.work-project-doors {
	position: fixed;
	inset: 0;
	z-index: 400;
	display: flex;
	width: 100%;
	height: 100%;
	height: 100dvh;
	overflow: hidden;
	pointer-events: none;
}

.work-project-doors__panel {
	position: relative;
	flex: 0 0 50%;
	width: 50%;
	max-width: 50%;
	height: 100%;
	overflow: hidden;
	background: #fff;
	transform: translate3d(0, 0, 0);
	transition-property: transform;
	transition-duration: 620ms;
	transition-timing-function: var(--lz-ease-emphasized);
	will-change: transform;
}

.work-project-doors.is-hold .work-project-doors__panel {
	transition: none;
}

.work-project-doors__panel--left {
	flex-basis: calc(50% + 8px);
	width: calc(50% + 8px);
	max-width: calc(50% + 8px);
	margin-right: -8px;
}

.work-project-doors__inner {
	position: relative;
	width: 200%;
	height: 100%;
	max-width: none;
}

.work-project-doors__panel--right .work-project-doors__inner {
	margin-left: -100%;
}

/* Viewport distance plus overlap, so each half clears the screen edge. */
.work-project-doors.is-open .work-project-doors__panel--left {
	transform: translate3d(calc(-100vw - 3rem), 0, 0);
}

.work-project-doors.is-open .work-project-doors__panel--right {
	transform: translate3d(calc(100vw + 3rem), 0, 0);
}

.work-project-doors__sheet {
	position: absolute;
	top: 0;
	left: 0;
	width: 100vw;
	height: 100%;
	overflow: hidden;
	background: #fff;
}

.work-project-doors__sheet .site-header {
	position: absolute !important;
	top: 0 !important;
	left: 0 !important;
	right: auto !important;
	width: 100vw !important;
	max-width: none !important;
	z-index: 5;
}

.work-project-doors__sheet .work-media-stage {
	position: absolute !important;
	inset: 0 !important;
	width: 100% !important;
	height: 100% !important;
	max-height: none !important;
	opacity: 1 !important;
	transform: none !important;
	z-index: 1 !important;
	pointer-events: none !important;
}

body.is-project-doors .site-header,
body.is-project-doors .work-media-stage {
	visibility: hidden;
}

body.is-project-doors .work-project-doors .site-header,
body.is-project-doors .work-project-doors .work-media-stage {
	visibility: visible;
}

/* Project open/close: tiles scatter to nearest edge; open lands on the role story
   (no image morph to center). Morph ghost kept for rare fallbacks only. */
.lz-project-morph-ghost {
	position: fixed;
	z-index: 620;
	margin: 0;
	padding: 0;
	border: 0;
	border-radius: 0;
	object-fit: contain;
	object-position: center;
	pointer-events: none;
	transform: translateZ(0);
	will-change: left, top, width, height;
	box-shadow: none;
	background: transparent;
	backface-visibility: hidden;
	-webkit-backface-visibility: hidden;
}

.summary-item.is-morph-source,
.summary-thumbnail-container.is-morph-source,
.summary-item.is-morph-source .summary-thumbnail-image,
.summary-thumbnail-container.is-morph-source .summary-thumbnail-image {
	visibility: hidden !important;
}

.summary-item.is-project-scattered,
.summary-item.is-project-scatter-hold,
.work-section-title.is-project-scattered,
.work-section-title.is-project-scatter-hold {
	pointer-events: none;
	visibility: hidden !important;
}

/* Subnav stays put — never scatter-hide it. */
.work-section-nav.is-project-scattered,
.work-section-nav.is-project-scatter-hold {
	visibility: visible !important;
	pointer-events: auto;
}

/* Fixed clones fly to nearest edges at full tile size (above the morph veil). */
.lz-project-scatter-ghost {
	position: fixed;
	z-index: 615;
	margin: 0;
	padding: 0;
	box-sizing: border-box;
	pointer-events: none;
	opacity: 1;
	will-change: transform, opacity;
	transform: translate3d(0, 0, 0);
	backface-visibility: hidden;
	-webkit-backface-visibility: hidden;
	overflow: hidden;
}

.lz-project-scatter-ghost .summary-content,
.lz-project-scatter-ghost .summary-excerpt {
	display: none !important;
}

/* Grid captions must never paint over the open project media. */
body.is-project-detail-open .work-media-stage .summary-excerpt,
body.is-project-morphing .work-media-stage .summary-excerpt,
body.is-project-detail-open .work-media-stage .summary-content,
body.is-project-morphing .work-media-stage .summary-content {
	visibility: hidden !important;
	opacity: 0 !important;
	pointer-events: none !important;
}

.lz-project-scatter-ghost .summary-thumbnail-container {
	aspect-ratio: auto !important;
	height: auto !important;
	overflow: visible !important;
	background: transparent !important;
}

.lz-project-scatter-ghost .summary-thumbnail-image {
	position: relative !important;
	inset: auto !important;
	width: 100% !important;
	height: auto !important;
	max-height: none !important;
	object-fit: contain !important;
	object-position: center center !important;
	opacity: 1 !important;
	visibility: visible !important;
}

body.is-project-detail-open .work-media-stage__scroll,
body.is-project-morphing .work-media-stage__scroll {
	pointer-events: none;
}

/* During scatter: opaque veil so the grid can't show through. Intro story stays
   visible in the middle; media chrome stays hidden until click-through. */
body.is-project-morphing .project-gallery-overlay.is-open,
body.is-project-morphing .project-video-overlay.is-open,
body.is-project-content-exiting .project-gallery-overlay.is-open,
body.is-project-content-exiting .project-video-overlay.is-open {
	opacity: 1 !important;
	visibility: visible !important;
	background: var(--lz-work-bg, #fff) !important;
	pointer-events: none !important;
}
body.is-project-morphing .project-gallery-overlay.is-open.is-project-intro,
body.is-project-morphing .project-video-overlay.is-open.is-project-intro,
body.is-project-morphing .project-gallery-overlay.is-open.is-project-intro .project-gallery-panel,
body.is-project-morphing .project-gallery-overlay.is-open.is-project-intro .project-gallery-body,
body.is-project-morphing .project-video-overlay.is-open.is-project-intro .project-video-panel,
body.is-project-morphing .project-video-overlay.is-open.is-project-intro .project-video-body {
	pointer-events: auto !important;
	background: #000 !important;
	background-color: #000 !important;
	color: #fff !important;
}
body.is-project-morphing .project-gallery-overlay.is-open .project-gallery-nav,
body.is-project-morphing .project-gallery-overlay.is-open .project-gallery-filmstrip,
body.is-project-morphing .project-gallery-overlay.is-open #project-gallery-below-stage,
body.is-project-morphing .project-gallery-overlay.is-open #project-gallery-grid,
body.is-project-morphing .project-video-overlay.is-open #project-video-below-stage,
body.is-project-morphing .project-video-overlay.is-open #project-video-wrap,
body.is-project-morphing .project-video-overlay.is-open .project-video-embed,
body.is-project-morphing .project-video-overlay.is-open .project-video-grid,
body.is-project-content-exiting .project-gallery-overlay.is-open .project-gallery-nav,
body.is-project-content-exiting .project-gallery-overlay.is-open .project-gallery-filmstrip,
body.is-project-content-exiting .project-gallery-overlay.is-open #project-gallery-below-stage,
body.is-project-content-exiting .project-gallery-overlay.is-open #project-gallery-grid,
body.is-project-content-exiting .project-video-overlay.is-open #project-video-below-stage,
body.is-project-content-exiting .project-video-overlay.is-open #project-video-wrap,
body.is-project-content-exiting .project-video-overlay.is-open .project-video-embed,
body.is-project-content-exiting .project-video-overlay.is-open .project-video-grid {
	opacity: 0 !important;
	visibility: hidden !important;
	pointer-events: none !important;
}
/* Role story + close stay up while tiles scatter away. */
body.is-project-morphing .project-gallery-overlay.is-open .project-gallery-panel,
body.is-project-morphing .project-gallery-overlay.is-open .project-gallery-body,
body.is-project-morphing .project-gallery-overlay.is-open .work-detail-close,
body.is-project-morphing .project-gallery-overlay.is-open #project-gallery-text-block,
body.is-project-morphing .project-video-overlay.is-open .project-video-panel,
body.is-project-morphing .project-video-overlay.is-open .project-video-body,
body.is-project-morphing .project-video-overlay.is-open .work-detail-close,
body.is-project-morphing .project-video-overlay.is-open #project-video-text-block {
	opacity: 1 !important;
	visibility: visible !important;
}

@media (prefers-reduced-motion: reduce) {
	.lz-project-morph-ghost {
		display: none !important;
	}

	.summary-item.is-project-scattered,
	.summary-item.is-project-scatter-hold,
	.work-section-title.is-project-scattered,
	.work-section-title.is-project-scatter-hold,
	.work-section-nav.is-project-scattered,
	.work-section-nav.is-project-scatter-hold {
		visibility: visible !important;
		transform: none !important;
		transition: none !important;
	}

	.lz-project-scatter-ghost {
		display: none !important;
	}
}

/* The page on screen, cut once, then the two pieces slide. No fade.
   Clip and transform live on DIFFERENT nodes — Safari drops descendants when
   clip-path + 3D transform/will-change share one element. */
.lz-slice {
	--cut: 50%;
	--tilt: 0vw;
	--lz-slice-fill: #000;
	--lz-slice-progress: 0;
	position: fixed;
	inset: 0;
	z-index: 400;
	pointer-events: none;
	overflow: hidden;
}

/* Scroll-scrubbed doors — wheel/touch drive --lz-slice-progress. */
.lz-slice.is-scrub {
	z-index: 600;
	pointer-events: auto;
	cursor: grab;
	touch-action: none;
}
body.is-slice-scrubbing {
	overflow: hidden !important;
	overscroll-behavior: none;
}

.lz-slice.is-scrub .lz-slice__panel {
	transition: none !important;
}

.lz-slice.is-scrub.is-vertical .lz-slice__panel--left,
.lz-slice.is-scrub:not(.is-horizontal) .lz-slice__panel--left {
	transform: translate3d(
		calc((-100vw - 3rem) * var(--lz-slice-progress, 0)),
		0,
		0
	);
}

.lz-slice.is-scrub.is-vertical .lz-slice__panel--right,
.lz-slice.is-scrub:not(.is-horizontal) .lz-slice__panel--right {
	transform: translate3d(
		calc((100vw + 3rem) * var(--lz-slice-progress, 0)),
		0,
		0
	);
}

.lz-slice.is-scrub.is-horizontal .lz-slice__panel--left {
	transform: translate3d(
		0,
		calc((-100dvh - 3rem) * var(--lz-slice-progress, 0)),
		0
	);
}

.lz-slice.is-scrub.is-horizontal .lz-slice__panel--right {
	transform: translate3d(
		0,
		calc((100dvh + 3rem) * var(--lz-slice-progress, 0)),
		0
	);
}

.lz-slice__panel {
	position: absolute;
	inset: 0;
	overflow: visible;
	transform: translate3d(0, 0, 0);
	transition-property: transform;
	transition-duration: var(--brandoor-duration);
	transition-timing-function: var(--brandoor-ease);
	will-change: transform;
}

.lz-slice.is-hold .lz-slice__panel {
	transition: none;
}

/* Mask holds clip-path only (no transform). */
.lz-slice__mask {
	position: absolute;
	inset: 0;
	overflow: hidden;
	background: var(--lz-slice-fill, #000);
	-webkit-backface-visibility: hidden;
	backface-visibility: hidden;
}

/* Vertical split — left / right doors */
.lz-slice.is-vertical .lz-slice__panel--left .lz-slice__mask,
.lz-slice:not(.is-horizontal) .lz-slice__panel--left .lz-slice__mask {
	clip-path: polygon(
		0 0,
		calc(var(--cut) + var(--tilt)) 0,
		calc(var(--cut) - var(--tilt)) 100%,
		0 100%
	);
}

.lz-slice.is-vertical .lz-slice__panel--right .lz-slice__mask,
.lz-slice:not(.is-horizontal) .lz-slice__panel--right .lz-slice__mask {
	clip-path: polygon(
		calc(var(--cut) + var(--tilt)) 0,
		100% 0,
		100% 100%,
		calc(var(--cut) - var(--tilt)) 100%
	);
}

/* Viewport units, not a percent of the panel. Angled cuts reach ~88% and a
   percent translate can leave a sliver when the panel is not the full viewport. */
.lz-slice.is-vertical.is-open .lz-slice__panel--left,
.lz-slice:not(.is-horizontal).is-open .lz-slice__panel--left {
	transform: translate3d(calc(-100vw - 3rem), 0, 0);
}

.lz-slice.is-vertical.is-open .lz-slice__panel--right,
.lz-slice:not(.is-horizontal).is-open .lz-slice__panel--right {
	transform: translate3d(calc(100vw + 3rem), 0, 0);
}

/* Horizontal split — top / bottom doors */
.lz-slice.is-horizontal .lz-slice__panel--left .lz-slice__mask {
	clip-path: polygon(
		0 0,
		100% 0,
		100% calc(var(--cut) + var(--tilt)),
		0 calc(var(--cut) - var(--tilt))
	);
}

.lz-slice.is-horizontal .lz-slice__panel--right .lz-slice__mask {
	clip-path: polygon(
		0 calc(var(--cut) - var(--tilt)),
		100% calc(var(--cut) + var(--tilt)),
		100% 100%,
		0 100%
	);
}

.lz-slice.is-horizontal.is-open .lz-slice__panel--left {
	transform: translate3d(0, calc(-100vh - 3rem), 0);
	transform: translate3d(0, calc(-100dvh - 3rem), 0);
}

.lz-slice.is-horizontal.is-open .lz-slice__panel--right {
	transform: translate3d(0, calc(100vh + 3rem), 0);
	transform: translate3d(0, calc(100dvh + 3rem), 0);
}

.lz-slice__sheet {
	position: absolute;
	inset: 0;
	width: 100vw;
	height: 100%;
	overflow: hidden;
	background: var(--lz-slice-fill, #000);
	background-color: var(--lz-slice-fill, #000);
	transition: none;
}

.lz-slice__sheet .site-header {
	position: absolute !important;
	top: 0 !important;
	left: 0 !important;
	right: auto !important;
	width: 100vw !important;
	max-width: none !important;
	z-index: 5;
}

.lz-slice__sheet .work-media-stage {
	position: absolute !important;
	inset: 0 !important;
	width: 100% !important;
	height: 100% !important;
	max-height: none !important;
	opacity: 1 !important;
	visibility: visible !important;
	transform: none !important;
	z-index: 1 !important;
	pointer-events: none !important;
	transition: none !important;
	background: #fff !important;
}

/*
 * Work → Information: reveal() drops body.work-media-active, which would hide
 * progressive thumbs (opacity:0) and collapse Work layout on the door clones.
 * Freeze a painted Work look on the slice sheets for the whole barn-door.
 */
body.is-slicing .lz-slice .work-media-stage,
body.is-slicing:not(.work-media-active) .lz-slice .work-media-stage,
body.is-slicing .lz-slice .work-media-stage__scroll,
body.is-slicing:not(.work-media-active) .lz-slice .work-media-stage__scroll {
	opacity: 1 !important;
	visibility: visible !important;
	pointer-events: none !important;
	/* Stay on the color captured at slice start — never snap to black mid-door. */
	background: var(--lz-slice-fill, #fff) !important;
	background-color: var(--lz-slice-fill, #fff) !important;
	transition: none !important;
}

body.is-slicing .lz-slice .work-media-stage .summary-item,
body.is-slicing .lz-slice .work-media-stage .summary-thumbnail-outer-container,
body.is-slicing .lz-slice .work-media-stage .summary-thumbnail-container,
body.is-slicing:not(.work-media-active) .lz-slice .work-media-stage .summary-item,
body.is-slicing:not(.work-media-active) .lz-slice .work-media-stage .summary-thumbnail-outer-container,
body.is-slicing:not(.work-media-active) .lz-slice .work-media-stage .summary-thumbnail-container {
	opacity: 1 !important;
	transform: none !important;
	filter: none !important;
	visibility: visible !important;
}

body.is-slicing .lz-slice .work-media-stage .summary-thumbnail-container:not(.lz-project-external-link),
body.is-slicing:not(.work-media-active) .lz-slice .work-media-stage .summary-thumbnail-container:not(.lz-project-external-link) {
	position: relative !important;
	overflow: hidden !important;
	width: 100% !important;
	background: transparent !important;
}

body.is-slicing .lz-slice .work-media-stage .summary-item:not(.is-work-hero) .summary-thumbnail-container:not(.lz-project-external-link),
body.is-slicing:not(.work-media-active) .lz-slice .work-media-stage .summary-item:not(.is-work-hero) .summary-thumbnail-container:not(.lz-project-external-link) {
	aspect-ratio: auto;
	height: auto;
}

body.is-slicing .lz-slice .work-media-stage .summary-item:not(.is-work-hero) .summary-thumbnail-image,
body.is-slicing:not(.work-media-active) .lz-slice .work-media-stage .summary-item:not(.is-work-hero) .summary-thumbnail-image {
	position: relative !important;
	inset: auto !important;
	width: 100% !important;
	height: auto !important;
	max-width: none !important;
	max-height: none !important;
	object-fit: contain !important;
}

/* Hero fills the door — never collapse to 0 after work-media-active drops.
   Letterbox with the frozen slice fill (Work = white), not hard black. */
body.is-slicing .lz-slice .work-media-stage .summary-item.is-work-hero .summary-thumbnail-outer-container,
body.is-slicing .lz-slice .work-media-stage .summary-item.is-work-hero .summary-thumbnail-container:not(.lz-project-external-link),
body.is-slicing:not(.work-media-active) .lz-slice .work-media-stage .summary-item.is-work-hero .summary-thumbnail-outer-container,
body.is-slicing:not(.work-media-active) .lz-slice .work-media-stage .summary-item.is-work-hero .summary-thumbnail-container:not(.lz-project-external-link) {
	aspect-ratio: auto !important;
	width: 100% !important;
	min-height: 100vh !important;
	min-height: 100dvh !important;
	height: 100vh !important;
	height: 100dvh !important;
	background: var(--lz-slice-fill, #fff) !important;
	background-color: var(--lz-slice-fill, #fff) !important;
	transition: none !important;
}

body.is-slicing .lz-slice .work-media-stage .summary-item:not(.is-work-hero) .summary-thumbnail-image,
body.is-slicing .lz-slice .work-media-stage .summary-item:not(.is-work-hero) .summary-thumbnail-image.lz-progressive-img,
body.is-slicing:not(.work-media-active) .lz-slice .work-media-stage .summary-item:not(.is-work-hero) .summary-thumbnail-image,
body.is-slicing:not(.work-media-active) .lz-slice .work-media-stage .summary-item:not(.is-work-hero) .summary-thumbnail-image.lz-progressive-img {
	position: relative !important;
	inset: auto !important;
	width: 100% !important;
	height: auto !important;
	max-width: none !important;
	max-height: none !important;
	object-fit: contain !important;
	object-position: center center !important;
	opacity: 1 !important;
	visibility: visible !important;
	transition: none !important;
	filter: none !important;
}

body.is-slicing .lz-slice .work-media-stage .summary-item.is-work-hero .summary-thumbnail-image,
body.is-slicing .lz-slice .work-media-stage .summary-item.is-work-hero .summary-thumbnail-image.lz-progressive-img,
body.is-slicing:not(.work-media-active) .lz-slice .work-media-stage .summary-item.is-work-hero .summary-thumbnail-image,
body.is-slicing:not(.work-media-active) .lz-slice .work-media-stage .summary-item.is-work-hero .summary-thumbnail-image.lz-progressive-img {
	position: absolute !important;
	inset: 0 !important;
	width: 100% !important;
	height: 100% !important;
	max-width: none !important;
	max-height: none !important;
	object-fit: cover !important;
	object-position: center center !important;
	opacity: 1 !important;
	visibility: visible !important;
	transition: none !important;
	filter: none !important;
}

.lz-slice .site-information-view,
.lz-slice .site-information-view__content {
	visibility: visible !important;
	display: block !important;
	opacity: 1 !important;
	pointer-events: none !important;
}

/*
 * Slice clones are painted before reveal() flips body.work-media-active.
 * Keep the Information look on the doors even after Work is live underneath.
 * Beat body.work-media-active visibility:hidden on the live page's twin.
 */
body.is-slicing .lz-slice .site-information-view,
body.is-slicing.work-media-active .lz-slice .site-information-view {
	visibility: visible !important;
	pointer-events: none !important;
	opacity: 1 !important;
	display: block !important;
}

body.is-slicing .lz-slice .site-information-view__content,
body.is-slicing.work-media-active .lz-slice .site-information-view__content {
	visibility: visible !important;
	display: block !important;
	opacity: 1 !important;
	position: relative !important;
	z-index: 12 !important;
	min-height: 100vh !important;
	min-height: 100dvh !important;
	margin: 0 !important;
	padding-top: 0 !important;
	background: var(--lz-slice-fill, var(--lz-about-bg, #e4572e)) !important;
	color: var(--lz-about-fg, #111) !important;
	overflow: clip !important;
}

body.is-slicing .lz-slice .landing-bio-band,
body.is-slicing.work-media-active .lz-slice .landing-bio-band {
	visibility: visible !important;
	opacity: 1 !important;
}

/* During barn doors: freeze bg/layout snaps, but keep the nav plate easing
   inset ↔ edge-to-edge under the fixed type. */
body.is-slicing,
body.is-slicing.work-media-active {
	transition:
		--nav-frame-inset var(--lz-nav-frame-ms, 780ms) var(--lz-nav-frame-ease, cubic-bezier(0.33, 0, 0.18, 1));
}

body.is-slicing .work-media-stage {
	transition: none;
}

body.is-slicing .site-header {
	visibility: visible;
	z-index: 500;
}

/* Hide the source page under the doors only once they start opening.
   Hiding Work during the hold left a blank flash when the door clone failed to paint.
   from-bio must NOT hide Information — that was blanking Read less. */
body.is-slicing:has(.lz-slice.is-open).is-slice-to-work > .site-information-view,
body.is-slicing:has(.lz-slice.is-open).is-slice-to-work .site-main > .site-information-view,
body.is-slicing.is-slice-scrubbing.is-slice-to-work > .site-information-view,
body.is-slicing.is-slice-scrubbing.is-slice-to-work .site-main > .site-information-view,
body.is-slicing:has(.lz-slice.is-open).is-slice-to-bio > .site-information-view,
body.is-slicing:has(.lz-slice.is-open).is-slice-to-bio .site-main > .site-information-view,
body.is-slicing:has(.lz-slice.is-open).is-slice-from-work > .work-media-stage,
body.is-slicing:has(.lz-slice.is-open).is-slice-from-work .site-main > .work-media-stage,
body.is-slicing:has(.lz-slice.is-open).is-slice-from-work .project-gallery-overlay.is-open,
body.is-slicing:has(.lz-slice.is-open).is-slice-from-work .project-video-overlay.is-open,
body.is-slicing:has(.lz-slice.is-open).is-slice-to-project > .work-media-stage,
body.is-slicing:has(.lz-slice.is-open).is-slice-to-project .site-main > .work-media-stage,
body.is-slicing.is-slice-scrubbing.is-slice-to-project > .work-media-stage,
body.is-slicing.is-slice-scrubbing.is-slice-to-project .site-main > .work-media-stage,
body.is-slicing:has(.lz-slice.is-open).is-slice-to-project:not(.work-media-active) > .site-information-view,
body.is-slicing:has(.lz-slice.is-open).is-slice-to-project:not(.work-media-active) .site-main > .site-information-view,
body.is-slicing.is-slice-scrubbing.is-slice-to-project:not(.work-media-active) > .site-information-view,
body.is-slicing.is-slice-scrubbing.is-slice-to-project:not(.work-media-active) .site-main > .site-information-view,
body.is-slicing:has(.lz-slice.is-open).is-slice-from-project .project-gallery-overlay.is-open,
body.is-slicing:has(.lz-slice.is-open).is-slice-from-project .project-video-overlay.is-open,
/* Intro→media: keep the live project sheet visible under the doors so the gap
   reveals the still (not the Work index). Cover Work during scrub AND open —
   scrub doors never get .is-open, so without this the grid peeks through. */
body.is-slicing:has(.lz-slice.is-open).is-slice-from-intro > .work-media-stage,
body.is-slicing:has(.lz-slice.is-open).is-slice-from-intro .site-main > .work-media-stage,
body.is-slicing.is-slice-scrubbing.is-slice-from-intro > .work-media-stage,
body.is-slicing.is-slice-scrubbing.is-slice-from-intro .site-main > .work-media-stage,
body.is-slicing:has(.lz-slice.is-open).is-slice-from-bio > #bio-more {
	visibility: hidden;
}
/* Live project sheet must stay painted under intro scrub doors. */
body.is-slicing.is-slice-scrubbing.is-slice-from-intro .project-gallery-overlay.is-open,
body.is-slicing.is-slice-scrubbing.is-slice-from-intro .project-video-overlay.is-open {
	visibility: visible !important;
	opacity: 1 !important;
}

body.is-slicing .lz-slice .site-header,
body.is-slicing .lz-slice .site-information-view,
body.is-slicing .lz-slice .work-media-stage,
body.is-slicing .lz-slice .project-gallery-overlay,
body.is-slicing .lz-slice .project-video-overlay,
body.is-slicing .lz-slice .work-detail-overlay {
	visibility: visible !important;
}

/* Project sheet clones on the doors — freeze the painted frame. */
body.is-slicing .lz-slice .project-gallery-overlay,
body.is-slicing .lz-slice .project-video-overlay,
body.is-slicing .lz-slice .work-detail-overlay {
	position: absolute !important;
	inset: 0 !important;
	z-index: 1 !important;
	pointer-events: none !important;
	opacity: 1 !important;
	transform: none !important;
	transition: none !important;
}

@media (prefers-reduced-motion: reduce) {
	body.work-media-active .work-media-stage .summary-item,
	body.work-media-active .work-media-stage .summary-item .summary-thumbnail-image {
		opacity: 1;
		transform: none;
		filter: none;
		transition: none;
	}
}

/* A lone still fills its frame without cropping. The frame holds the ratio. */
.work-media-stage .summary-item.is-row-solo .summary-thumbnail-container:not(.lz-project-external-link) .summary-thumbnail-image,
.work-media-stage .summary-item.is-work-hero .summary-thumbnail-container:not(.lz-project-external-link) .summary-thumbnail-image {
	width: 100% !important;
	max-width: none !important;
	height: 100% !important;
	max-height: none !important;
	object-fit: contain !important;
	object-position: center center !important;
}

/* End-of-page appendix. Information: normal document flow.
   Work: fixed, slides up via translateY (stage height stays stable). */
.site-end-footer {
	--site-end-footer-frame: max(
		0.65rem,
		var(--site-frame-inset, 0.5rem),
		env(safe-area-inset-left, 0px),
		env(safe-area-inset-right, 0px),
		env(safe-area-inset-bottom, 0px)
	);
	--site-end-footer-inset: max(1.15rem, var(--site-nav-edge, 0.85rem));
	--site-end-footer-pad: max(1rem, env(safe-area-inset-bottom, 0px));
	position: relative;
	left: auto;
	right: auto;
	bottom: auto;
	z-index: 8;
	box-sizing: border-box;
	width: 100%;
	height: auto;
	max-height: none;
	overflow: visible;
	padding: 0;
	background: transparent;
	color: #111;
	font-family: "Heldane", Georgia, "Times New Roman", serif;
	font-style: normal;
	font-weight: 400;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	pointer-events: auto;
	flex: 0 0 auto;
	transform: none;
}

.site-end-footer.is-revealed {
	pointer-events: auto;
}

/* Measuring used to flip visibility:hidden and made the appendix flash/blank.
   Keep layout measurement off-screen without blanking the live footer. */
.site-end-footer.is-measuring {
	pointer-events: none;
}

.site-end-footer__card {
	box-sizing: border-box;
	position: relative;
	left: auto;
	right: auto;
	top: auto;
	bottom: auto;
	width: auto;
	height: auto;
	max-height: none;
	margin: 0;
	padding:
		1.85rem
		var(--site-end-footer-inset)
		calc(1.45rem + var(--site-end-footer-pad));
	background: #fff;
	border: 0;
	border-radius: 0;
	box-shadow: none;
	overflow: visible;
}

.site-end-footer__card--appendix {
	border-top: 0;
}

.site-end-footer__appendix {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	column-gap: 1.75rem;
	row-gap: 1.35rem;
	width: 100%;
	box-sizing: border-box;
	align-items: start;
}

.site-end-footer__appendix-col {
	min-width: 0;
}

.site-end-footer__appendix-col--portrait {
	align-self: start;
}

.site-end-footer__appendix-connect {
	margin: 0;
	font-size: 0.72rem;
	line-height: 1.45;
	letter-spacing: 0.01em;
}

.site-end-footer__appendix-portrait {
	margin: 1rem 0 0;
	padding: 0;
	width: 100%;
	max-width: 14rem;
}

.site-end-footer__appendix-portrait-img {
	display: block;
	width: 100%;
	height: auto;
	max-width: 100%;
	object-fit: cover;
	object-position: center top;
	filter: grayscale(1);
}

.site-end-footer__appendix-heading {
	margin: 0 0 0.75rem;
	font-family: inherit;
	font-size: 0.72rem;
	font-weight: 500;
	font-style: italic;
	letter-spacing: 0.01em;
	line-height: 1.3;
}

.site-end-footer__appendix-subheading {
	margin: 0 0 0.45rem;
	font-family: inherit;
	font-size: 0.72rem;
	font-weight: 400;
	font-style: italic;
	letter-spacing: 0.01em;
	line-height: 1.3;
	opacity: 0.78;
}

.site-end-footer__appendix-list + .site-end-footer__appendix-heading,
.site-end-footer__appendix-list + .site-end-footer__appendix-subheading {
	margin-top: 1.15rem;
}

.site-end-footer__appendix-heading + .site-end-footer__appendix-subheading {
	margin-top: 0.15rem;
}

.site-end-footer__appendix-list {
	list-style: none;
	margin: 0;
	padding: 0;
}

.site-end-footer__appendix-item {
	display: flex;
	flex-direction: column;
	align-items: stretch;
	gap: 0.05rem;
	margin: 0;
	padding: 0 0 0.28rem;
	font-size: 0.72rem;
	font-weight: 400;
	font-style: normal;
	line-height: 1.35;
	letter-spacing: 0.01em;
	min-width: 0;
	hyphens: manual;
}

.site-end-footer__appendix-item:last-child {
	padding-bottom: 0;
}

.site-end-footer__appendix-name {
	display: flex;
	align-items: baseline;
	gap: 0.35em;
	min-width: 0;
	width: 100%;
	max-width: 100%;
	white-space: nowrap;
}

.site-end-footer__appendix-link {
	flex: 1 1 auto;
	min-width: 0;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
	color: inherit;
	text-decoration: none;
	border-bottom: 1px solid transparent;
	transition: border-color 160ms var(--lz-ease), opacity 160ms var(--lz-ease);
}

.site-end-footer__appendix-link:hover,
.site-end-footer__appendix-link:focus-visible {
	border-bottom-color: currentColor;
	opacity: 0.72;
	outline: none;
}

.site-end-footer__appendix-link:active {
	border-bottom-color: currentColor;
	opacity: 1;
}

.site-end-footer__appendix-page {
	display: inline-block;
	flex: 0 0 auto;
	min-width: 3.1em;
	margin-right: 0;
	font-variant-numeric: tabular-nums;
	letter-spacing: 0.02em;
	opacity: 0.72;
	white-space: nowrap;
}

.site-end-footer__appendix-meta {
	display: block;
	opacity: 0.72;
}

.site-end-footer a {
	color: inherit;
	text-decoration: none;
	border-bottom: 0;
	transition: opacity 160ms var(--lz-ease);
}

.site-end-footer a:hover,
.site-end-footer a:focus-visible {
	opacity: 0.55;
	outline: none;
}

.site-end-footer__colophon {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	column-gap: 1.75rem;
	row-gap: 1.25rem;
	align-items: start;
	margin-top: 1.75rem;
	padding-top: 1.15rem;
	border-top: 0;
}

.site-end-footer__colophon-col {
	min-width: 0;
}

.site-end-footer__colophon-heading {
	margin: 0 0 0.65rem;
	font-family: inherit;
	font-size: 0.72rem;
	font-weight: 500;
	font-style: italic;
	letter-spacing: 0.01em;
	line-height: 1.3;
}

.site-end-footer__colophon-line {
	margin: 0 0 0.65rem;
	font-size: 0.72rem;
	line-height: 1.45;
	letter-spacing: 0.01em;
}

.site-end-footer__colophon-line:last-child {
	margin-bottom: 0;
}

/* About / Information: randomized tomato / olive / yellow ground, black type */
body:not(.work-media-active) {
	background: var(--lz-about-bg, #e4572e);
	color: var(--lz-about-fg, #111);
	padding-top: 0;
}

body:not(.work-media-active) .site-information-view {
	margin-top: 0;
	padding-top: 0;
}

body:not(.work-media-active) .site-information-view__content {
	position: relative;
	z-index: 12;
	margin-top: 0;
	margin-bottom: 0;
	min-height: 0;
	padding-top: 0;
	background: var(--lz-about-bg, #e4572e);
	color: var(--lz-about-fg, #111);
	border-bottom-left-radius: 0;
	border-bottom-right-radius: 0;
	box-shadow: none;
	/* Keep bio + appendix on one continuous Information plane. */
	overflow-x: clip;
	overflow-y: visible;
	transition:
		background-color var(--view-transition-duration) var(--view-transition-ease),
		color var(--view-transition-duration) var(--view-transition-ease),
		border-radius 180ms var(--lz-ease);
}

body:not(.work-media-active) .landing-bio-band {
	/* Clear the fixed nav (offset measured from layout height, not mid-slide rect).
	   Floor the pad so a collapsed 0px --site-header-offset can't slide copy under the nav. */
	min-height: 0 !important;
	justify-content: flex-start !important;
	align-items: center !important;
	padding-top: max(
		calc(var(--site-header-offset, 5.5rem) + 3rem),
		calc(5.5rem + 3rem)
	) !important;
	padding-bottom: 3.25rem !important;
	box-sizing: border-box !important;
	text-align: center !important;
}

/* About copy + appendix: hold quiet under Work→Info doors, then fade (no slide). */
@keyframes lz-copy-fade {
	from { opacity: 0; }
	to { opacity: 1; }
}

body:not(.work-media-active) .landing-bio-band__inner,
body:not(.work-media-active) #site-end-footer {
	opacity: 1;
	transform: none;
}

/* Hold bio quiet under Work→Info doors — never blank the appendix/footer.
   Opacity:0 on #site-end-footer could stick if slicing classes lingered. */
body.is-slicing.is-slice-from-work:not(:has(.lz-slice.is-open)) .landing-bio-band__inner {
	opacity: 0;
	visibility: visible;
	animation: none !important;
	transform: none;
}

/* Information copy + appendix stay fully opaque — no enter fade / no door blank. */
body.is-about-enter:not(.work-media-active) .landing-bio-band__inner,
body.is-about-enter:not(.work-media-active):not(.bio-more-active) #site-end-footer,
body:not(.work-media-active):not(.bio-more-active) #site-end-footer {
	animation: none !important;
	opacity: 1 !important;
	visibility: visible !important;
	transform: none !important;
	display: block !important;
}

@media (prefers-reduced-motion: reduce) {
	body.is-about-enter:not(.work-media-active) .landing-bio-band__inner,
	body.is-slicing.is-slice-from-work:not(:has(.lz-slice.is-open)) .landing-bio-band__inner {
		animation: none !important;
		opacity: 1 !important;
		transform: none !important;
	}
}

body:not(.work-media-active) .site-end-footer {
	--site-end-footer-frame: 0px;
	position: relative;
	visibility: visible;
	z-index: 8;
	height: auto;
	overflow: visible;
	pointer-events: auto;
	transform: none;
	/* Same ground as Information — continuation, not a separate slab. */
	background: transparent;
	color: var(--lz-about-fg, #111);
}

body:not(.work-media-active) .site-end-footer__card {
	position: relative;
	left: auto;
	right: auto;
	margin: 0;
	padding-top: 0.35rem;
	background: transparent;
	color: var(--lz-about-fg, #111);
	border-radius: 0;
	box-shadow: none;
}

/* Colophon shares Information’s ground — no white/surface slab. */
body:not(.work-media-active) .site-end-footer__colophon,
body:not(.work-media-active) .site-end-footer .site-footer,
body:not(.work-media-active) #site-footer {
	background: transparent;
	background-color: transparent;
}

/* Information appendix stays on Information; Work uses #site-work-footer. */
body.work-media-active .site-end-footer {
	display: none !important;
	visibility: hidden !important;
	pointer-events: none !important;
}

/* Work page footer (Acknowledgments / Colophon / Copyright / Inquiries). */
.site-work-footer {
	display: none;
	box-sizing: border-box;
	width: 100%;
	margin: 0;
	padding:
		/* Clear air between last grid captions and footer columns. */
		max(220px, 13.75rem)
		max(var(--work-page-edge-inset, 0.85rem), env(safe-area-inset-right, 0px))
		calc(2.25rem + env(safe-area-inset-bottom, 0px))
		max(var(--work-page-edge-inset, 0.85rem), env(safe-area-inset-left, 0px));
	background: transparent;
	color: #111;
	font-family: "Heldane", Georgia, "Times New Roman", serif;
	font-style: normal;
	font-weight: 400;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}

body.work-media-active .site-work-footer {
	display: block;
	/* Sit on the bottom of the Work scrollport when content is short. */
	margin-top: auto;
	flex-shrink: 0;
	background: transparent;
}

.site-work-footer .site-end-footer__colophon,
.site-work-footer.site-footer,
.site-work-footer .site-footer {
	margin-top: 0;
	padding-top: 0;
	background: transparent;
}

.site-work-footer a {
	color: inherit;
	text-decoration: underline;
	text-underline-offset: 0.12em;
	text-decoration-thickness: 0.06em;
}

.site-work-footer a:hover,
.site-work-footer a:focus-visible {
	opacity: 0.55;
	outline: none;
}

body.work-media-active .work-media-stage {
	border-bottom-left-radius: 0;
	border-bottom-right-radius: 0;
	box-shadow: none;
}

/* Hide appendix under bio overlay only. Do not blank it during barn doors —
   from-work / from-bio / to-work used to leave it stuck invisible. */
body.bio-more-active .site-end-footer {
	visibility: hidden;
}

/* Keep appendix painted under the splash so doors open onto a ready footer. */
html.lz-preloader-active .site-end-footer {
	visibility: visible;
}

@media (max-width: 900px) {
	.site-end-footer__appendix {
		grid-template-columns: minmax(0, 0.9fr) 1fr 1fr;
	}

	.site-end-footer__appendix-col--portrait {
		grid-column: 1 / -1;
	}

	.site-end-footer__appendix-portrait {
		max-width: 11rem;
	}

	.site-end-footer__colophon {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 520px) {
	.site-end-footer__card {
		padding: 1.35rem 1.1rem 1.25rem;
	}

	.site-end-footer__appendix,
	.site-end-footer__colophon {
		grid-template-columns: 1fr;
		row-gap: 1.25rem;
	}

	.site-end-footer__appendix-portrait {
		max-width: 10rem;
	}
}

@media (prefers-reduced-motion: reduce) {
	body.work-media-active .work-media-stage {
		transition: none;
	}
}

