/* ==========================================================================
   Lumen — main stylesheet
   ========================================================================== */

:root {
	--bg: #f6f6f5;
	--fg: #2b2b2b;
	--muted: #77736e;
	--line: rgba(0, 0, 0, .14);
	--accent: #e8875a;
	--foot-1: #ee9361;
	--foot-2: #f6c7aa;
	--shine: #ffffff;
	--gutter: clamp(16px, 2.4vw, 36px);
	--radius: 2px;
	--font: "Archivo", system-ui, sans-serif;
	--serif: "Instrument Serif", Georgia, serif;
	--ease: cubic-bezier(.2, .7, .1, 1);
	--header-h: 72px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
	margin: 0;
	background: var(--bg);
	color: var(--fg);
	font-family: var(--font);
	font-size: clamp(15px, 1.05vw, 17px);
	line-height: 1.5;
	-webkit-font-smoothing: antialiased;
	overflow-x: hidden;
	transition: background-color .5s var(--ease);
}
img, video { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, p, dl, dd, ol, ul, figure, blockquote { margin: 0; }
ul, ol { padding: 0; list-style: none; }
::selection { background: var(--accent); color: var(--bg); }

.skip-link { position: absolute; left: -999px; top: 8px; background: var(--fg); color: var(--bg); padding: 8px 12px; z-index: 100; }
.skip-link:focus { left: 8px; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

/* ---------- Typography helpers ---------- */
.eyebrow {
	display: inline-block;
	font-size: 12px;
	font-weight: 500;
	letter-spacing: .14em;
	text-transform: uppercase;
	color: var(--muted);
}
.section__title,
.page-head__title,
.hero__title,
.project-hero__title,
.footer-cta,
.next-project__title {
	font-family: var(--font);
	font-stretch: 62%;
	font-weight: 700;
	text-transform: uppercase;
	line-height: .86;
	letter-spacing: -.01em;
}
em, .serif { font-family: var(--serif); font-style: italic; font-weight: 400; text-transform: none; }

/* ---------- Header ---------- */
.site-header {
	position: fixed;
	inset: 0 0 auto 0;
	z-index: 50;
	height: var(--header-h);
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 0 var(--gutter);
	mix-blend-mode: difference;
	color: #fff;
}
.logo__text {
	font-stretch: 125%;
	font-weight: 800;
	font-size: clamp(22px, 2vw, 32px);
	letter-spacing: -.01em;
	text-transform: uppercase;
}
/* Negative logo: any uploaded logo is forced to white, then the header's
   difference blend inverts it against whatever is behind (video or page). */
.logo__img { height: 28px; width: auto; filter: brightness(0) invert(1); }
.logo { display: inline-flex; align-items: baseline; gap: .4em; white-space: nowrap; }
.logo__text { color: inherit; }
.logo__dot { font-size: clamp(18px, 1.5vw, 24px); line-height: 1; }
.logo__page {
	font-family: var(--font);
	font-weight: 500;
	font-size: clamp(19px, 1.65vw, 28px);
	letter-spacing: -.01em;
	line-height: 1;
}
.logo__page .t-italic { font-family: var(--serif); font-weight: 400; font-size: 1.1em; letter-spacing: 0; }

.nav__list { display: flex; gap: clamp(16px, 2.4vw, 40px); counter-reset: nav; }
.nav__list li { counter-increment: nav; }
.nav__list a {
	font-size: 13px;
	font-weight: 500;
	letter-spacing: .08em;
	text-transform: uppercase;
	display: inline-flex;
	gap: .6em;
	position: relative;
}
.nav__list a::before {
	content: "00" counter(nav);
	font-weight: 400;
	font-variant-numeric: tabular-nums;
}
.nav__list a::after {
	content: "";
	position: absolute;
	left: 0; right: 0; bottom: -4px;
	height: 1px;
	background: currentColor;
	transform: scaleX(0);
	transform-origin: right;
	transition: transform .5s var(--ease);
}
.nav__list a:hover::after,
.nav__list .current-menu-item a::after { transform: scaleX(1); transform-origin: left; }

.nav-toggle { display: none; }

@media (max-width: 767px) {
	.nav-open .site-header { mix-blend-mode: normal; color: var(--fg); }
	.nav-open .logo__img { filter: none; }
	.nav-toggle {
		display: block;
		background: none;
		border: 0;
		color: inherit;
		font: 500 13px/1 var(--font);
		letter-spacing: .1em;
		text-transform: uppercase;
		padding: 10px 0;
		cursor: pointer;
		position: relative;
		z-index: 2;
	}
	.nav {
		position: fixed;
		inset: 0;
		background: var(--bg);
		display: flex;
		align-items: flex-end;
		padding: var(--gutter);
		padding-bottom: 15vh;
		opacity: 0;
		visibility: hidden;
		transition: opacity .4s var(--ease), visibility .4s;
	}
	.nav-open .nav { opacity: 1; visibility: visible; }
	.nav-open { overflow: hidden; }
	.nav__list { flex-direction: column; gap: 8px; }
	.nav__list a { font-size: 13vw; font-stretch: 62%; font-weight: 700; line-height: .95; letter-spacing: 0; color: var(--fg); }
	.nav__list a::before { font-size: 12px; align-self: flex-start; padding-top: .6em; }
}

/* ---------- Media base ---------- */
.lumen-media { width: 100%; height: 100%; object-fit: cover; background: #e6e4e0; }

/* ---------- Hero ---------- */
.hero {
	position: relative;
	height: 62svh;
	min-height: 340px;
	overflow: hidden;
	background: #e6e4e0;
}
.hero__media { position: absolute; inset: 0; }

/* ---------- Tagline + statement ---------- */
.tagline-block {
	padding: clamp(48px, 6vw, 100px) var(--gutter) clamp(48px, 6vw, 96px);
	text-align: center;
}
.tagline {
	font-family: var(--serif);
	font-weight: 400;
	font-size: clamp(48px, 9.4vw, 190px);
	line-height: .98;
	letter-spacing: -.025em;
	text-wrap: balance;
	color: var(--fg);
}
.t-italic { font-family: var(--serif); font-style: italic; }
@supports (-webkit-text-stroke: 1px black) {
	.t-outline {
		color: transparent;
		-webkit-text-stroke: max(1px, .008em) var(--fg);
	}
}
.statement {
	display: inline-flex;
	align-items: center;
	gap: 1.4em;
	margin-top: clamp(20px, 2.6vw, 44px);
	max-width: 1100px;
	font-size: clamp(13px, 1.05vw, 19px);
	font-weight: 600;
	letter-spacing: .01em;
	line-height: 1.3;
	text-transform: uppercase;
}
.statement__br { font-size: .8em; font-weight: 400; align-self: flex-start; transform: translateY(-.2em); }
.statement__br--end { align-self: flex-end; transform: translateY(.2em); }

/* ---------- Sections ---------- */
.section { padding: clamp(60px, 9vw, 140px) var(--gutter); }
.section--tight { padding-top: 0; }
.section__head {
	display: grid;
	grid-template-columns: 1fr;
	gap: 14px;
	margin-bottom: clamp(32px, 5vw, 72px);
	border-top: 1px solid var(--line);
	padding-top: 18px;
}
.section__title { font-size: clamp(56px, 11vw, 190px); }
.section__sub { color: var(--muted); text-transform: uppercase; letter-spacing: .08em; font-size: 13px; }

/* ---------- Grid & cards ---------- */
.grid { display: grid; gap: clamp(28px, 3vw, 48px) var(--gutter); }
.grid--featured { grid-template-columns: repeat(3, 1fr); }
.grid--archive { grid-template-columns: repeat(3, 1fr); }

.card__link { display: block; }
.card__media {
	position: relative;
	aspect-ratio: 4 / 5;
	overflow: hidden;
	border-radius: var(--radius);
	background: #e6e4e0;
}
.card__media .lumen-media {
	position: absolute;
	inset: 0;
	transition: transform 1.2s var(--ease), filter .6s;
}
.card__link:hover .lumen-media { transform: scale(1.035); }
.card__meta {
	display: grid;
	grid-template-columns: auto 1fr;
	column-gap: 14px;
	align-items: baseline;
	padding-top: 14px;
}
.card__num { font-size: 12px; color: var(--muted); font-variant-numeric: tabular-nums; grid-row: span 2; }
.card__title { font-size: clamp(17px, 1.4vw, 22px); font-weight: 600; line-height: 1.2; }
.card__title em { color: var(--accent); padding: 0 .1em; }
.card__label { font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin-top: 4px; }
.card.is-hidden { display: none; }

.more-link {
	display: inline-flex;
	margin-top: clamp(40px, 6vw, 80px);
	font-size: 14px;
	letter-spacing: .12em;
	text-transform: uppercase;
	border-bottom: 1px solid var(--line);
	padding-bottom: 6px;
	transition: border-color .3s, color .3s;
}
.more-link:hover { color: var(--accent); border-color: var(--accent); }
.work { padding-top: 0; padding-bottom: 0; }
.view-more {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 6px;
	width: max-content;
	margin: clamp(36px, 4vw, 64px) auto 0;
	font-size: clamp(14px, 1.05vw, 18px);
	font-weight: 600;
	letter-spacing: .02em;
	text-transform: uppercase;
}
.view-more__plus { font-size: 1.4em; line-height: 1; transition: transform .5s var(--ease); }
.view-more:hover .view-more__plus { transform: rotate(90deg); }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

@media (max-width: 1023px) {
	.grid--archive, .grid--featured { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 767px) {
	.grid--featured, .grid--archive { grid-template-columns: 1fr; }
}

/* ---------- About ---------- */
.about__grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: clamp(32px, 6vw, 120px); align-items: end; }
.about__text { font-size: clamp(20px, 2vw, 30px); line-height: 1.3; }
.about__text p + p { margin-top: 1em; }
.about__media img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
@media (max-width: 767px) { .about__grid { grid-template-columns: 1fr; } }

/* ---------- Clients marquee ---------- */
.clients { overflow: hidden; }
.marquee { margin-top: 28px; overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.marquee__track { display: flex; width: max-content; animation: marquee 40s linear infinite; }
.marquee__item { padding: 0 clamp(24px, 4vw, 64px); display: flex; align-items: center; }
.marquee__item img { height: clamp(28px, 3vw, 44px); width: auto; opacity: .7; filter: grayscale(1); }
@keyframes marquee { to { transform: translateX(-50%); } }
.marquee--reverse .marquee__track { animation-direction: reverse; }

/* ---------- Page head + filters ---------- */
.page-head { padding: calc(var(--header-h) + clamp(60px, 10vw, 160px)) var(--gutter) clamp(32px, 4vw, 60px); }
.page-head__title { font-size: clamp(64px, 16vw, 280px); margin-top: 12px; }
.page-head__intro { margin-top: 20px; max-width: 60ch; color: var(--muted); }
.page-head--404 { min-height: 80vh; }

.filters { display: flex; flex-wrap: wrap; gap: 10px; margin-top: clamp(28px, 4vw, 56px); }
.filter {
	font-size: 13px;
	letter-spacing: .08em;
	text-transform: uppercase;
	padding: 9px 16px;
	border: 1px solid var(--line);
	border-radius: 999px;
	transition: background .3s, color .3s, border-color .3s;
}
.filter sup { font-size: 9px; margin-left: 4px; opacity: .6; }
.filter:hover { border-color: var(--fg); }
.filter.is-active { background: var(--fg); color: var(--bg); border-color: var(--fg); }

/* ---------- Single project ---------- */
.project-hero { position: relative; height: 92svh; min-height: 480px; display: flex; align-items: flex-end; overflow: hidden; }
.project-hero__media { position: absolute; inset: 0; }
.project-hero__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(10, 10, 10, .8), transparent 50%); }
.project-hero__content { position: relative; padding: var(--gutter); color: #fff; }
.project-hero__client { font-family: var(--serif); font-style: italic; font-size: clamp(20px, 2.2vw, 32px); }
.project-hero__title { font-size: clamp(56px, 12vw, 220px); }

.project-info { display: grid; grid-template-columns: 1fr 2fr; gap: clamp(32px, 6vw, 120px); }
.project-info__meta { display: grid; gap: 18px; align-content: start; }
.project-info__meta dt, .credits__list dt { font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.project-info__meta dd { margin-top: 4px; }
.project-info__meta a { border-bottom: 1px solid var(--line); }
.project-info__intro { font-size: clamp(22px, 2.4vw, 38px); line-height: 1.22; }
@media (max-width: 767px) { .project-info { grid-template-columns: 1fr; } }

.embed { position: relative; aspect-ratio: 16 / 9; }
.embed iframe { position: absolute; inset: 0; width: 100%; height: 100%; }

.block--video, .block--image { padding: 0 var(--gutter) clamp(24px, 3vw, 48px); }
.block--video .lumen-media { aspect-ratio: 16 / 9; }
.block figcaption { margin-top: 10px; font-size: 12px; color: var(--muted); letter-spacing: .06em; }
.block--text { display: grid; grid-template-columns: 1fr 2fr; gap: clamp(32px, 6vw, 120px); }
.block__heading { font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); font-weight: 500; }
.block__body { font-size: clamp(17px, 1.4vw, 22px); max-width: 60ch; }
.block__body p + p { margin-top: 1em; }
.block--gallery { display: grid; gap: var(--gutter); padding: 0 var(--gutter) clamp(24px, 3vw, 48px); }
.block--gallery.cols-2 { grid-template-columns: repeat(2, 1fr); }
.block--gallery.cols-3 { grid-template-columns: repeat(3, 1fr); }
.block--gallery img { width: 100%; height: 100%; object-fit: cover; }
.block--quote p { font-family: var(--serif); font-size: clamp(32px, 4.4vw, 72px); line-height: 1.05; max-width: 22ch; }
.block--quote cite { display: block; margin-top: 20px; font-style: normal; font-size: 13px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
@media (max-width: 767px) {
	.block--text { grid-template-columns: 1fr; gap: 16px; }
	.block--gallery.cols-2, .block--gallery.cols-3 { grid-template-columns: 1fr; }
}

.credits__list { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 20px var(--gutter); margin-top: 20px; }
.credits__list dd { margin-top: 4px; }

.next-project { display: block; padding: clamp(60px, 10vw, 160px) var(--gutter); border-top: 1px solid var(--line); }
.next-project__title { display: block; font-size: clamp(48px, 10vw, 180px); margin-top: 14px; transition: color .4s; }
.next-project:hover .next-project__title { color: var(--accent); }


/* ---------- Services page ---------- */
.site-main > .tagline-block:first-child { padding-top: calc(var(--header-h) + clamp(40px, 7vw, 120px)); }
.svc-section { padding: clamp(24px, 4vw, 60px) var(--gutter) clamp(80px, 10vw, 160px); }

/* phones / touch: stacked cards */
.svc-list { display: grid; gap: 12px; }
.svc { position: relative; display: block; }
.svc__name {
	position: absolute;
	inset: 0;
	z-index: 3;
	font-size: 0;
	color: transparent;
}
.svc__dot { display: none; }
.svc__media {
	position: relative;
	aspect-ratio: 4 / 5;
	overflow: hidden;
	background: #1a1a1a;
	font-size: 16px;
}
.svc__media .lumen-media,
.lumen-slides,
.lumen-slide { position: absolute; inset: 0; }
.lumen-slide { opacity: 0; }
.lumen-slide.is-current { opacity: 1; }
.svc__overlay {
	position: absolute;
	inset: 0;
	z-index: 2;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 10px;
	padding: 20px;
	color: #fff;
	text-align: center;
	background: radial-gradient(closest-side, rgba(0, 0, 0, .28), transparent);
}
.svc__title {
	font-family: var(--serif);
	font-size: clamp(38px, 10vw, 104px);
	line-height: 1;
	letter-spacing: -.02em;
}
.svc__title em { font-style: italic; }
.svc__tags { font: 500 12px/1.3 var(--font); letter-spacing: .04em; text-transform: uppercase; }

/* desktop with a mouse: inline names + hover preview */
@media (hover: hover) and (min-width: 768px) {
	.svc-list {
		display: block;
		max-width: 1700px;
		margin: 0 auto;
		text-align: center;
		font-family: var(--serif);
		font-size: clamp(38px, 4.6vw, 88px);
		line-height: 1.3;
		letter-spacing: -.02em;
	}
	.svc { display: inline; position: static; }
	.svc__name {
		position: static;
		font-size: inherit;
		color: inherit;
		cursor: pointer;
		white-space: nowrap;
		transition: filter .5s var(--ease), opacity .5s var(--ease);
	}
	.svc__name em { font-style: italic; }
	.svc__dot {
		display: inline-block;
		width: .16em;
		height: .16em;
		margin: 0 .55em;
		border-radius: 50%;
		background: currentColor;
		font-size: inherit;
		color: inherit;
		vertical-align: .22em;
		overflow: hidden;
		text-indent: 200%;
		white-space: nowrap;
		transition: filter .5s var(--ease), opacity .5s;
	}
	.svc-list.has-active .svc__name,
	.svc-list.has-active .svc__dot { filter: blur(10px); opacity: .5; }

	.svc__media {
		position: fixed;
		z-index: 40;
		top: 50%;
		left: var(--mx, 50%);
		width: min(60vw, 1100px);
		aspect-ratio: 16 / 9;
		transform: translate(-50%, -50%) scale(.94);
		opacity: 0;
		visibility: hidden;
		pointer-events: none;
		transition: opacity .35s var(--ease), transform .6s var(--ease), visibility .35s;
	}
	.svc.is-active .svc__media { opacity: 1; visibility: visible; transform: translate(-50%, -50%) scale(1); }
	.svc__title { font-size: clamp(56px, 5.4vw, 104px); }
	.svc__tags { font-size: 14px; }
}

/* ---------- Homepage services grid ---------- */
.svc-grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: clamp(32px, 4vw, 56px) clamp(16px, 1.6vw, 28px);
}
.svc-tile__link { display: flex; flex-direction: column; }
.svc-tile__num {
	font-family: ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;
	font-size: 14px;
	color: var(--accent);
}
.svc-tile__name {
	margin-top: 18px;
	font-family: var(--serif);
	font-style: italic;
	font-weight: 400;
	font-size: clamp(28px, 2.4vw, 40px);
	line-height: 1.05;
	letter-spacing: -.01em;
}
.svc-tile__name .t-outline { color: inherit; -webkit-text-stroke: 0; }
.svc-tile__tags {
	margin-top: 12px;
	font-size: 13px;
	font-weight: 500;
	letter-spacing: .02em;
	text-transform: uppercase;
}
.svc-tile__media {
	position: relative;
	margin-top: 20px;
	aspect-ratio: 16 / 9;
	overflow: hidden;
	background: #e6e4e0;
}
.svc-tile__media .lumen-media { position: absolute; inset: 0; transition: transform 1.2s var(--ease); }
.svc-tile__link:hover .lumen-media { transform: scale(1.04); }
.svc-tile__link:hover .svc-tile__name { color: var(--accent); }
.svc-tile__name { transition: color .3s; }
@media (max-width: 1100px) { .svc-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px)  { .svc-grid { grid-template-columns: 1fr; } }

/* ---------- Single service ---------- */
.svc-section--home { padding-top: 0; }
.svc-section--home .view-more { margin-top: clamp(40px, 5vw, 80px); }
.service-head { padding-top: calc(var(--header-h) + clamp(40px, 7vw, 120px)); }
.service-media {
	position: relative;
	margin: 0 var(--gutter);
	aspect-ratio: 16 / 9;
	overflow: hidden;
	background: #1a1a1a;
}
.service-media .lumen-media { position: absolute; inset: 0; }
.service-info { display: grid; grid-template-columns: 1.3fr 1fr; gap: clamp(32px, 6vw, 120px); align-items: start; }
.service-info__intro { font-size: clamp(24px, 2.6vw, 42px); line-height: 1.2; letter-spacing: -.01em; }
.service-info__body { font-size: clamp(16px, 1.2vw, 19px); color: var(--muted); }
.service-info__body p + p { margin-top: 1em; }
.pill-btn {
	display: inline-flex;
	align-items: center;
	gap: 14px;
	margin-top: 28px;
	padding: 15px 24px;
	border: 1px solid currentColor;
	border-radius: 999px;
	font-size: 14px;
	font-weight: 600;
	letter-spacing: .02em;
	text-transform: uppercase;
	transition: background .3s, color .3s;
}
.pill-btn:hover { background: var(--fg); color: var(--bg); }
.section-label {
	font-family: var(--serif);
	font-weight: 400;
	font-size: clamp(40px, 5vw, 84px);
	line-height: 1;
	letter-spacing: -.02em;
	text-align: center;
	margin-bottom: clamp(32px, 4vw, 64px);
}
.service-work, .more-services { padding-top: clamp(40px, 6vw, 100px); }
.svc-card__link { display: block; }
.svc-card__media { position: relative; aspect-ratio: 4 / 5; overflow: hidden; background: #1a1a1a; }
.svc-card__media .lumen-media { position: absolute; inset: 0; transition: transform 1.2s var(--ease); }
.svc-card__link:hover .lumen-media { transform: scale(1.035); }
.svc-card .svc__title { font-size: clamp(36px, 3.4vw, 60px); }
@media (max-width: 767px) {
	.service-info { grid-template-columns: 1fr; }
	.service-media { aspect-ratio: 4 / 5; }
}

/* ---------- About page ---------- */
.about-hero { padding-bottom: clamp(40px, 5vw, 80px); }
.about-hero__intro {
	max-width: 60ch;
	margin: clamp(20px, 2.6vw, 40px) auto 0;
	font-size: clamp(17px, 1.4vw, 22px);
	line-height: 1.45;
}
.about-statement { display: grid; grid-template-columns: 1.3fr 1fr; gap: clamp(32px, 6vw, 120px); align-items: end; }
.about-statement__heading {
	font-family: var(--serif);
	font-weight: 400;
	font-size: clamp(40px, 5vw, 92px);
	line-height: 1;
	letter-spacing: -.02em;
}
.about-statement__text { font-size: clamp(16px, 1.2vw, 19px); color: var(--muted); }
.about-statement__text p + p { margin-top: 1em; }

.about-head { text-align: center; margin-bottom: clamp(32px, 4vw, 64px); }
.about-head .section-label { margin-bottom: 0; }
.about-head__sub { margin-top: 14px; font-size: 13px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; }

.offer-grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: clamp(28px, 3vw, 48px) clamp(16px, 1.6vw, 28px);
}
.offer__inner { display: flex; flex-direction: column; height: 100%; padding-top: 18px; border-top: 1px solid var(--line); }
.offer__num { font-family: ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace; font-size: 14px; color: var(--accent); }
.offer__title {
	margin-top: 16px;
	font-family: var(--serif);
	font-style: italic;
	font-weight: 400;
	font-size: clamp(26px, 2.2vw, 38px);
	line-height: 1.05;
	transition: color .3s;
}
.offer__desc { margin-top: 12px; font-size: 13px; font-weight: 500; letter-spacing: .02em; line-height: 1.5; text-transform: uppercase; }
a.offer__inner:hover .offer__title { color: var(--accent); }

.about-clients .marquee { margin-top: 0; padding: clamp(14px, 1.6vw, 24px) 0; }
.about-clients .marquee__item img { filter: grayscale(1); opacity: .75; }

.team-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(32px, 4vw, 56px) clamp(16px, 1.6vw, 28px); }
.member__photo { position: relative; margin-top: 16px; aspect-ratio: 4 / 5; overflow: hidden; background: #e6e4e0; }
.member__photo .lumen-media { position: absolute; inset: 0; }
.member__name { margin-top: 18px; font-family: var(--serif); font-style: italic; font-weight: 400; font-size: clamp(26px, 2.2vw, 36px); line-height: 1.05; }
.member__role { margin-top: 8px; font-size: 13px; font-weight: 500; letter-spacing: .02em; text-transform: uppercase; }
.member__email { display: inline-block; margin-top: 8px; font-size: 14px; border-bottom: 1px solid var(--line); transition: border-color .3s, color .3s; }
.member__email:hover { color: var(--accent); border-color: var(--accent); }

@media (max-width: 1100px) {
	.offer-grid { grid-template-columns: repeat(2, 1fr); }
	.team-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 767px) {
	.about-statement { grid-template-columns: 1fr; }
	.offer-grid, .team-grid { grid-template-columns: 1fr; }
}

/* ---------- Photo projects ---------- */
.card__media .lumen-slides, .card__media .lumen-slide { position: absolute; inset: 0; }
.photo-gallery { padding: 0 var(--gutter) clamp(40px, 5vw, 80px); }
.photo-gallery__item { display: block; cursor: zoom-in; overflow: hidden; background: #e6e4e0; }
.photo-gallery__item img { width: 100%; height: auto; transition: transform 1s var(--ease); }
.photo-gallery__item:hover img { transform: scale(1.02); }
.photo-gallery--masonry { columns: 2; column-gap: var(--gutter); }
.photo-gallery--masonry .photo-gallery__item { break-inside: avoid; margin-bottom: var(--gutter); }
.photo-gallery--grid2, .photo-gallery--grid3 { display: grid; gap: var(--gutter); }
.photo-gallery--grid2 { grid-template-columns: repeat(2, 1fr); }
.photo-gallery--grid3 { grid-template-columns: repeat(3, 1fr); }
.photo-gallery--grid2 .photo-gallery__item, .photo-gallery--grid3 .photo-gallery__item { aspect-ratio: 4 / 5; }
.photo-gallery--grid2 img, .photo-gallery--grid3 img { height: 100%; object-fit: cover; }
.photo-gallery--stack { display: grid; gap: var(--gutter); }
@media (max-width: 767px) {
	.photo-gallery--masonry { columns: 1; }
	.photo-gallery--grid2, .photo-gallery--grid3 { grid-template-columns: 1fr; }
}

/* Lightbox */
.lightbox {
	position: fixed;
	inset: 0;
	z-index: 200;
	display: grid;
	place-items: center;
	background: rgba(12, 12, 12, .94);
	opacity: 0;
	visibility: hidden;
	transition: opacity .3s var(--ease), visibility .3s;
}
.lightbox.is-open { opacity: 1; visibility: visible; }
.lightbox__img { max-width: calc(100vw - 2 * var(--gutter)); max-height: calc(100svh - 120px); width: auto; height: auto; object-fit: contain; }
.lightbox button {
	position: absolute;
	background: none;
	border: 0;
	color: #fff;
	font: 500 13px/1 var(--font);
	letter-spacing: .1em;
	text-transform: uppercase;
	cursor: pointer;
	padding: 16px;
}
.lightbox__close { top: 8px; right: 8px; }
.lightbox__prev, .lightbox__next { top: 50%; transform: translateY(-50%); font-size: 28px !important; }
.lightbox__prev { left: 4px; }
.lightbox__next { right: 4px; }
.lightbox__count { position: absolute; bottom: 20px; left: 50%; transform: translateX(-50%); color: rgba(255, 255, 255, .7); font-size: 12px; letter-spacing: .1em; }

/* ---------- Contact page ---------- */
.contact-hero { padding-bottom: clamp(32px, 4vw, 64px); }
.contact {
	display: grid;
	grid-template-columns: minmax(280px, 1fr) 1.6fr;
	gap: clamp(32px, 6vw, 110px);
	align-items: start;
	scroll-margin-top: calc(var(--header-h) + 20px);
}
.contact-aside { position: sticky; top: calc(var(--header-h) + 24px); display: grid; gap: clamp(32px, 4vw, 52px); }
.contact-promise { display: inline-flex; align-items: center; gap: 12px; font-size: 13px; font-weight: 600; letter-spacing: .03em; text-transform: uppercase; }
.contact-promise__dot { position: relative; flex: none; width: 9px; height: 9px; border-radius: 50%; background: #34a86b; }
.contact-promise__dot::after { content: ""; position: absolute; inset: 0; border-radius: 50%; background: inherit; animation: pulse 2s ease-out infinite; }
@keyframes pulse { from { transform: scale(1); opacity: .6; } to { transform: scale(3); opacity: 0; } }
.contact-label { margin-bottom: 14px; font-size: 12px; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.contact-direct ul { border-top: 1px solid var(--line); }
.contact-direct a {
	display: grid;
	grid-template-columns: 92px 1fr;
	gap: 12px;
	padding: 14px 0;
	border-bottom: 1px solid var(--line);
	font-size: 16px;
	word-break: break-word;
	transition: color .3s, padding .4s var(--ease);
}
.contact-direct a span { font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); padding-top: .2em; }
.contact-direct a:hover { color: var(--accent); padding-left: 6px; }
.contact-next ol { display: grid; gap: 22px; }
.contact-next li { display: grid; grid-template-columns: 34px 1fr; gap: 10px; }
.contact-next h3 { font-family: var(--serif); font-style: italic; font-weight: 400; font-size: clamp(22px, 1.8vw, 28px); line-height: 1.1; }
.contact-next p { margin-top: 4px; font-size: 15px; color: var(--muted); }

.brief-wrap {
	padding: clamp(24px, 3.4vw, 56px);
	border: 1px solid var(--line);
	border-radius: clamp(16px, 1.8vw, 28px);
	background: rgba(255, 255, 255, .55);
}
.brief fieldset { margin: 0; padding: 0; border: 0; min-width: 0; }
.brief__hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.brief__progress { display: flex; align-items: center; gap: 18px; margin-bottom: clamp(24px, 3vw, 40px); }
.brief__count { font-family: ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace; font-size: 13px; color: var(--accent); white-space: nowrap; }
.brief__bar { position: relative; flex: 1; height: 2px; background: var(--line); overflow: hidden; }
.brief__bar span { position: absolute; inset: 0 auto 0 0; width: 25%; background: var(--accent); transition: width .6s var(--ease); }
.brief__q {
	display: block;
	padding: 0;
	margin-bottom: 10px;
	font-family: var(--serif);
	font-weight: 400;
	font-size: clamp(34px, 3.6vw, 60px);
	line-height: 1.04;
	letter-spacing: -.02em;
}
.brief__hint { margin-bottom: 24px; font-size: 14px; color: var(--muted); }
.brief__step + .brief__step { margin-top: 48px; }
.brief.is-js .brief__step { margin-top: 0; }
.brief.is-js .brief__step:not(.is-current) { display: none; }
.brief.is-js .brief__step.is-current { animation: step-in .5s var(--ease); }
@keyframes step-in { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }

.chips { display: flex; flex-wrap: wrap; gap: 10px; margin: 12px 0 30px; }
.chip { position: relative; cursor: pointer; }
.chip input { position: absolute; opacity: 0; pointer-events: none; }
.chip span {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 12px 20px;
	border: 1px solid var(--line);
	border-radius: 999px;
	font-size: 15px;
	font-weight: 500;
	transition: background .25s, color .25s, border-color .25s;
}
.chip:hover span { border-color: var(--fg); }
.chip input:checked + span { background: var(--fg); border-color: var(--fg); color: var(--bg); }
.chip input:checked + span::before { content: "✓"; font-size: 12px; }
.chip input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 3px; }

.field { display: block; margin-bottom: 26px; }
.field__label { display: block; font-size: 12px; font-weight: 500; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.field input, .field textarea {
	width: 100%;
	padding: 12px 0;
	border: 0;
	border-bottom: 1px solid var(--line);
	border-radius: 0;
	background: transparent;
	color: var(--fg);
	font: 400 clamp(17px, 1.3vw, 20px)/1.45 var(--font);
	transition: border-color .3s;
}
.field textarea { resize: vertical; min-height: 3em; }
.field input:focus, .field textarea:focus { outline: 0; border-color: var(--fg); }
.field input::placeholder, .field textarea::placeholder { color: var(--muted); opacity: .7; }
.field.is-invalid input, .field.is-invalid textarea { border-color: #c4473a; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0 28px; }

.brief__nav { display: flex; align-items: center; justify-content: flex-end; gap: 20px; margin-top: 12px; }
.brief__back { margin-right: auto; padding: 10px 0; border: 0; background: none; color: var(--muted); font: 600 13px var(--font); letter-spacing: .06em; text-transform: uppercase; cursor: pointer; }
.brief__back:hover { color: var(--fg); }
.brief:not(.is-js) [data-brief-next], .brief:not(.is-js) [data-brief-back], .brief:not(.is-js) .brief__progress { display: none; }
.brief.is-js:not(.is-last) [data-brief-submit], .brief.is-js.is-last [data-brief-next] { display: none; }
.pill-btn--solid { margin-top: 0; background: var(--fg); color: var(--bg); border-color: var(--fg); cursor: pointer; font-family: var(--font); }
.pill-btn--solid:hover { background: var(--accent); border-color: var(--accent); color: #fff; }
.pill-btn[disabled] { opacity: .6; pointer-events: none; }
.brief__error { margin-bottom: 18px; color: #c4473a; font-size: 14px; font-weight: 500; }

.brief-done { padding: clamp(20px, 4vw, 60px) 0; text-align: center; }
.brief-done__title { font-family: var(--serif); font-weight: 400; font-size: clamp(52px, 6vw, 110px); line-height: 1; letter-spacing: -.02em; }
.brief-done p { max-width: 42ch; margin: 18px auto 0; font-size: 18px; }

/* FAQ */
.faq__list { max-width: 1100px; margin: 0 auto; border-top: 1px solid var(--line); }
.faq__item { border-bottom: 1px solid var(--line); }
.faq__item summary {
	display: grid;
	grid-template-columns: 50px 1fr 22px;
	align-items: center;
	gap: 10px;
	padding: clamp(20px, 2vw, 28px) 0;
	list-style: none;
	cursor: pointer;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__q { font-family: var(--serif); font-size: clamp(22px, 2vw, 34px); line-height: 1.15; transition: color .3s; }
.faq__item summary:hover .faq__q { color: var(--accent); }
.faq__icon { position: relative; width: 22px; height: 22px; }
.faq__icon::before, .faq__icon::after { content: ""; position: absolute; top: 50%; left: 0; width: 100%; height: 1.5px; background: currentColor; transition: transform .4s var(--ease); }
.faq__icon::after { transform: rotate(90deg); }
.faq__item[open] .faq__icon::after { transform: rotate(0); }
.faq__a { max-width: 70ch; padding: 0 0 clamp(20px, 2vw, 28px) 60px; color: var(--muted); font-size: clamp(16px, 1.2vw, 18px); }
.faq__a p + p { margin-top: .8em; }

@media (max-width: 900px) {
	.contact { grid-template-columns: 1fr; }
	.contact-aside { position: static; }
	.brief-wrap { order: -1; }
}
@media (max-width: 600px) {
	.field-row { grid-template-columns: 1fr; }
	.faq__a { padding-left: 0; }
	.faq__item summary { grid-template-columns: 36px 1fr 18px; }
}

/* ---------- Work page ---------- */
.work-hero {
	position: relative;
	height: 100svh;
	min-height: 560px;
	display: grid;
	place-items: center;
	overflow: hidden;
	isolation: isolate;
	color: #fff;
}
.work-hero.has-keychain { cursor: grab; }
.work-hero.has-keychain:active, .work-hero.is-dragging { cursor: grabbing; user-select: none; }
.work-hero__bg {
	position: absolute;
	inset: 0;
	z-index: -1;
	background: linear-gradient(180deg, var(--foot-1) 0%, color-mix(in srgb, var(--foot-1) 55%, var(--foot-2)) 42%, var(--foot-2) 74%, var(--bg) 100%);
}
.work-hero__bg::before { /* travelling glint, same as the footer */
	content: "";
	position: absolute;
	top: -30%;
	bottom: 10%;
	left: 0;
	width: 34%;
	background: radial-gradient(closest-side, var(--shine), transparent);
	opacity: .55;
	filter: blur(30px);
	animation: footer-glint 11s cubic-bezier(.45, 0, .25, 1) infinite;
}
.work-hero__bg::after { /* film grain */
	content: "";
	position: absolute;
	inset: 0;
	opacity: .16;
	mix-blend-mode: overlay;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
.work-hero__title {
	position: relative;
	z-index: 1;
	display: flex;
	align-items: flex-start;
	font-family: var(--font);
	font-stretch: 62%;
	font-weight: 800;
	font-size: clamp(80px, 22vw, 520px); /* JS then sizes it to fit the width exactly */
	line-height: .78;
	letter-spacing: -.005em;
	text-transform: uppercase;
	white-space: nowrap;
	pointer-events: none;
	user-select: none;
}
.work-hero__title span {
	display: inline-block;
	transform: scaleY(var(--title-stretch, 1.3)); /* elongated letters */
	transform-origin: 50% 55%;
}
.work-hero__title sup {
	margin: .06em 0 0 .08em;
	font-family: ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;
	font-size: max(12px, .045em);
	font-weight: 500;
	letter-spacing: 0;
	line-height: 1;
}
.work-hero__canvas { position: absolute; inset: 0; z-index: 2; width: 100%; height: 100%; touch-action: pan-y; }
.work-hero__scroll {
	position: absolute;
	z-index: 3;
	bottom: 24px;
	left: 50%;
	transform: translateX(-50%);
	color: var(--fg);
	font: 500 12px/1 ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;
	letter-spacing: .12em;
	text-transform: uppercase;
	white-space: nowrap;
}

.work-bar {
	position: sticky;
	top: 0;
	z-index: 30;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	padding: 14px var(--gutter);
	background: var(--bg);
	border-bottom: 1px solid var(--line);
	transition: padding .3s var(--ease);
}
.work-bar.is-stuck { padding-top: calc(var(--header-h) + 4px); }
.work-bar__views { display: flex; align-items: center; gap: 4px; }
.work-bar__label { margin-right: 10px; font-size: 14px; font-weight: 500; }
.view-btn {
	display: grid;
	place-items: center;
	width: 36px;
	height: 36px;
	padding: 0;
	border: 1px solid transparent;
	border-radius: 10px;
	background: none;
	color: var(--muted);
	cursor: pointer;
	transition: color .2s, background .2s, border-color .2s;
}
.view-btn svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 1.3; }
.view-btn:hover { color: var(--fg); border-color: var(--line); }
.view-btn.is-active { background: var(--fg); color: var(--bg); border-color: var(--fg); }

.work-bar__filters { display: flex; align-items: center; gap: 8px; }
.work-search {
	display: flex;
	align-items: center;
	gap: 8px;
	height: 40px;
	padding: 0 16px;
	border: 1px solid var(--line);
	border-radius: 999px;
	transition: border-color .2s;
}
.work-search:focus-within { border-color: var(--fg); }
.work-search svg { width: 15px; height: 15px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.4; color: var(--muted); }
.work-search input { width: 190px; border: 0; outline: 0; background: none; color: var(--fg); font: 400 14px var(--font); }
.work-search input::-webkit-search-cancel-button { -webkit-appearance: none; }

.work-filter { position: relative; }
.work-filter__btn {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	height: 40px;
	padding: 0 16px;
	border: 1px solid var(--line);
	border-radius: 999px;
	background: none;
	color: var(--fg);
	font: 500 14px var(--font);
	white-space: nowrap;
	cursor: pointer;
	transition: background .2s, color .2s, border-color .2s;
}
.work-filter__btn::after { content: ""; width: 6px; height: 6px; border-right: 1.3px solid currentColor; border-bottom: 1.3px solid currentColor; transform: translateY(-2px) rotate(45deg); }
.work-filter__btn:hover, .work-filter__btn[aria-expanded="true"] { border-color: var(--fg); }
.work-filter.is-set .work-filter__btn { background: var(--fg); color: var(--bg); border-color: var(--fg); }
.work-filter.is-set .work-filter__btn::after { display: none; }
.work-filter__x { margin-right: -4px; font-size: 18px; line-height: 1; opacity: .7; }
.work-filter__x:hover { opacity: 1; }
.work-filter__menu {
	position: absolute;
	top: calc(100% + 8px);
	right: 0;
	z-index: 40;
	min-width: 230px;
	max-height: 340px;
	overflow: auto;
	padding: 6px;
	border: 1px solid var(--line);
	border-radius: 16px;
	background: #fff;
	box-shadow: 0 18px 40px -18px rgba(0, 0, 0, .25);
}
.work-filter__menu button {
	display: flex;
	align-items: center;
	gap: 10px;
	width: 100%;
	padding: 10px 12px;
	border: 0;
	border-radius: 10px;
	background: none;
	color: var(--fg);
	font: 400 14px var(--font);
	text-align: left;
	cursor: pointer;
}
.work-filter__menu button:hover { background: rgba(0, 0, 0, .045); }
.work-filter__menu button[aria-selected="true"] { font-weight: 600; }
.work-filter__menu button[aria-selected="true"]::before { content: "✓"; color: var(--accent); }
.work-filter__menu button:disabled { opacity: .35; cursor: default; }
.work-filter__menu [data-count] { margin-left: auto; padding-left: 16px; color: var(--muted); font-family: ui-monospace, Menlo, monospace; font-size: 12px; }

/* items — shared */
.work-items { padding: 0 0 clamp(60px, 8vw, 120px); }
.witem.is-hidden { display: none; }
.witem__link { display: grid; }
.witem__num { font-family: ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace; font-size: 13px; color: var(--accent); }
.witem__media { position: relative; overflow: hidden; background: #e6e4e0; border-radius: 4px; }
.witem__media .lumen-media, .witem__media .lumen-slides, .witem__media .lumen-slide { position: absolute; inset: 0; }
.witem__media .lumen-media { transition: transform 1.2s var(--ease); }
.witem__link:hover .witem__media .lumen-media { transform: scale(1.03); }
.witem__client { font-family: var(--serif); font-weight: 400; line-height: 1; letter-spacing: -.02em; transition: color .3s; }
.witem__title { color: var(--accent); font-size: 15px; font-weight: 500; }
.witem__title:empty { display: none; }
.witem__year { font-family: ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace; font-size: 14px; }
.witem__tags { display: flex; flex-wrap: wrap; gap: 8px; }
.witem__tags li { padding: 7px 12px; border: 1px solid var(--line); border-radius: 999px; font-size: 13px; font-weight: 500; }

/* Large (feature) view */
.work-items[data-view="feature"] .witem { border-bottom: 1px solid var(--line); }
.work-items[data-view="feature"] .witem__link {
	grid-template-columns: 70px minmax(0, 1.55fr) minmax(0, 1fr);
	gap: clamp(20px, 2.4vw, 40px);
	padding: clamp(28px, 3vw, 48px) var(--gutter);
}
.work-items[data-view="feature"] .witem__media { aspect-ratio: 16 / 9; }
.work-items[data-view="feature"] .witem__info { position: relative; display: flex; flex-direction: column; gap: 12px; padding-right: 60px; }
.work-items[data-view="feature"] .witem__client { font-size: clamp(38px, 4vw, 72px); }
.work-items[data-view="feature"] .witem__year { position: absolute; top: .4em; right: 0; }
.work-items[data-view="feature"] .witem__tags { margin-top: auto; padding-right: 0; }
.work-items[data-view="feature"] .witem__link:hover .witem__client { color: var(--accent); }

/* List view */
.work-items[data-view="list"] .witem__link {
	grid-template-columns: 70px minmax(0, 1.1fr) minmax(0, 1.2fr) minmax(0, 1.5fr) 70px;
	align-items: center;
	gap: 20px;
	padding: 20px var(--gutter);
	border-bottom: 1px solid var(--line);
	transition: background .25s;
}
.work-items[data-view="list"] .witem__media { display: none; }
.work-items[data-view="list"] .witem__info { display: contents; }
.work-items[data-view="list"] .witem__client { grid-column: 2; font-size: clamp(24px, 2vw, 34px); }
.work-items[data-view="list"] .witem__title { grid-column: 3; display: block; color: var(--muted); }
.work-items[data-view="list"] .witem__tags { grid-column: 4; gap: 6px; }
.work-items[data-view="list"] .witem__tags li { padding: 0; border: 0; font-size: 12px; letter-spacing: .06em; text-transform: uppercase; }
.work-items[data-view="list"] .witem__tags li + li::before { content: "·"; margin-right: 6px; color: var(--muted); }
.work-items[data-view="list"] .witem__year { grid-column: 5; grid-row: 1; text-align: right; }
.work-items[data-view="list"] .witem__link:hover { background: rgba(0, 0, 0, .035); }
.work-items[data-view="list"] .witem__link:hover .witem__client { color: var(--accent); }

/* Grid view */
.work-items[data-view="grid"] {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: clamp(12px, 1.4vw, 22px);
	padding: clamp(16px, 2vw, 28px) var(--gutter) clamp(60px, 8vw, 120px);
}
.work-items[data-view="grid"] .witem__link { position: relative; display: block; }
.work-items[data-view="grid"] .witem__media { aspect-ratio: 4 / 3; }
.work-items[data-view="grid"] .witem__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(0, 0, 0, .55), transparent 55%); }
.work-items[data-view="grid"] .witem__num { position: absolute; top: 14px; left: 16px; z-index: 2; color: #fff; }
.work-items[data-view="grid"] .witem__info { position: absolute; left: 0; right: 0; bottom: 0; z-index: 2; padding: clamp(16px, 1.6vw, 24px); color: #fff; }
.work-items[data-view="grid"] .witem__client { font-size: clamp(28px, 2.4vw, 42px); }
.work-items[data-view="grid"] .witem__title { margin-top: 6px; color: var(--foot-2); }
.work-items[data-view="grid"] .witem__tags { display: none; }
.work-items[data-view="grid"] .witem__year { position: absolute; top: auto; bottom: clamp(16px, 1.6vw, 24px); right: clamp(16px, 1.6vw, 24px); font-size: 13px; }

.work-empty { padding: clamp(60px, 8vw, 120px) var(--gutter); text-align: center; }
.work-empty__title { font-family: var(--serif); font-size: clamp(40px, 5vw, 80px); line-height: 1; margin-bottom: 24px; }

.work-preview {
	position: fixed;
	top: 0;
	left: 0;
	z-index: 50;
	width: clamp(220px, 20vw, 320px);
	aspect-ratio: 4 / 3;
	overflow: hidden;
	border-radius: 6px;
	pointer-events: none;
	opacity: 0;
	transform: translate3d(var(--px, 0), var(--py, 0), 0) scale(.85) rotate(var(--pr, 0deg));
	transition: opacity .25s, transform .35s var(--ease);
	box-shadow: 0 20px 50px -20px rgba(0, 0, 0, .4);
}
.work-preview.is-on { opacity: 1; transform: translate3d(var(--px, 0), var(--py, 0), 0) scale(1) rotate(var(--pr, 0deg)); }
.work-preview img { width: 100%; height: 100%; object-fit: cover; }

@media (max-width: 1100px) {
	.work-items[data-view="grid"] { grid-template-columns: repeat(2, 1fr); }
	.work-items[data-view="list"] .witem__link { grid-template-columns: 50px minmax(0, 1fr) minmax(0, 1fr) 60px; }
	.work-items[data-view="list"] .witem__tags { display: none; }
	.work-items[data-view="list"] .witem__year { grid-column: 4; }
}
@media (max-width: 900px) {
	.work-bar { flex-wrap: wrap; }
	.work-bar__filters { width: 100%; overflow-x: auto; padding-bottom: 2px; scrollbar-width: none; }
	.work-bar__filters::-webkit-scrollbar { display: none; }
	.work-search { flex: 1 0 160px; }
	.work-search input { width: 100%; }
	.work-filter__menu { position: fixed; top: auto; bottom: 16px; left: var(--gutter); right: var(--gutter); min-width: 0; }
	.work-items[data-view="feature"] .witem__link { grid-template-columns: 1fr; gap: 14px; }
	.work-items[data-view="feature"] .witem__info { padding-right: 50px; }
}
@media (max-width: 640px) {
	.work-items[data-view="grid"] { grid-template-columns: 1fr; }
	.work-items[data-view="list"] .witem__link { grid-template-columns: 40px minmax(0, 1fr) 48px; gap: 4px 12px; }
	.work-items[data-view="list"] .witem__title { grid-column: 2; grid-row: 2; font-size: 13px; }
	.work-items[data-view="list"] .witem__year { grid-column: 3; }
	.work-items[data-view="list"] .witem__num { grid-row: 1 / span 2; }
}

/* ---------- Generic pages ---------- */
.prose { max-width: 70ch; font-size: clamp(17px, 1.3vw, 20px); }
.prose > * + * { margin-top: 1em; }
.prose a { border-bottom: 1px solid var(--accent); }
.post-list { border-top: 1px solid var(--line); }
.post-list a { display: grid; grid-template-columns: 180px 1fr; gap: var(--gutter); padding: 22px 0; border-bottom: 1px solid var(--line); font-size: clamp(18px, 2vw, 28px); }
.post-list time { font-size: 13px; color: var(--muted); padding-top: .4em; }
.empty { color: var(--muted); }

/* ---------- Footer ---------- */
.site-footer { padding: clamp(40px, 6vw, 96px) var(--gutter) var(--gutter); }
.footer-panel {
	position: relative;
	overflow: hidden;
	isolation: isolate;
	display: grid;
	grid-template-columns: 1.1fr 1fr minmax(300px, max-content);
	gap: 36px var(--gutter);
	padding: clamp(32px, 3.6vw, 56px) clamp(20px, 2.4vw, 40px) clamp(20px, 2vw, 28px);
	border-radius: clamp(16px, 1.8vw, 28px);
	color: #1c1a19;
	background: linear-gradient(100deg,
		var(--foot-1) 0%,
		var(--foot-2) 18%,
		var(--shine) 30%,
		var(--foot-2) 42%,
		var(--foot-2) 62%,
		var(--foot-1) 80%,
		var(--foot-2) 100%);
	background-size: 250% 100%;
	animation: footer-flow 16s ease-in-out infinite alternate;
}
/* travelling light glint */
.footer-panel::before {
	content: "";
	position: absolute;
	z-index: -1;
	top: -60%;
	bottom: -60%;
	left: 0;
	width: 32%;
	background: radial-gradient(closest-side, var(--shine), transparent);
	opacity: .85;
	filter: blur(24px);
	transform: translateX(-120%) rotate(12deg);
	animation: footer-glint 9s cubic-bezier(.45, 0, .25, 1) infinite;
	pointer-events: none;
}
@keyframes footer-flow {
	from { background-position: 0% 50%; }
	to   { background-position: 100% 50%; }
}
@keyframes footer-glint {
	0%   { transform: translateX(-120%) rotate(12deg); }
	60%  { transform: translateX(380%) rotate(12deg); }
	100% { transform: translateX(380%) rotate(12deg); }
}

.footer-col { display: flex; flex-direction: column; align-items: flex-start; }
.footer-logo {
	font-family: var(--font);
	font-stretch: 125%;
	font-weight: 800;
	font-size: clamp(32px, 3vw, 50px);
	line-height: .9;
	text-transform: uppercase;
	letter-spacing: -.01em;
}
.footer-logo img { height: clamp(32px, 3vw, 50px); width: auto; }
.footer-address,
.footer-links {
	margin-top: 14px;
	font-size: clamp(14px, 1vw, 17px);
	font-weight: 500;
	line-height: 1.35;
	text-transform: uppercase;
}
.footer-heading {
	font-family: var(--serif);
	font-weight: 400;
	font-size: clamp(30px, 2.6vw, 44px);
	line-height: 1;
	letter-spacing: -.02em;
}
.footer-col--news .footer-heading { font-style: italic; }
@media (min-width: 1100px) { .footer-col--news .footer-heading { white-space: nowrap; } }
.footer-links a, .footer-address { background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat; transition: background-size .4s var(--ease); }
.footer-links a:hover, a.footer-address:hover { background-size: 100% 1px; }

.news-form {
	display: flex;
	align-items: center;
	width: 100%;
	margin-top: 22px;
	height: 54px;
	padding: 0 8px 0 18px;
	border: 1px solid currentColor;
	border-radius: 999px;
}
.news-form input {
	flex: 1;
	min-width: 0;
	background: transparent;
	border: 0;
	outline: 0;
	color: inherit;
	font: 500 clamp(14px, 1vw, 17px) var(--font);
	text-transform: uppercase;
}
.news-form input::placeholder { color: inherit; opacity: 1; }
.news-form button {
	width: 40px;
	height: 40px;
	border: 0;
	border-radius: 50%;
	background: transparent;
	color: inherit;
	font-size: 20px;
	cursor: pointer;
	transition: transform .3s var(--ease);
}
.news-form button:hover { transform: translateX(4px); }
.footer-col--news .wpcf7, .footer-col--news form { width: 100%; }

.footer-copy {
	grid-column: 1 / -1;
	margin-top: 8px;
	font-size: 11px;
	letter-spacing: .1em;
	text-transform: uppercase;
	opacity: .55;
}
@media (max-width: 900px) {
	.footer-panel { grid-template-columns: 1fr 1fr; }
	.footer-col--news { grid-column: 1 / -1; }
}
@media (max-width: 560px) {
	.footer-panel { grid-template-columns: 1fr; }
}

/* ---------- Custom cursor ---------- */
.cursor {
	position: fixed;
	top: 0; left: 0;
	z-index: 90;
	width: 92px; height: 92px;
	margin: -46px 0 0 -46px;
	border-radius: 50%;
	background: var(--accent);
	color: var(--bg);
	display: grid;
	place-items: center;
	font-size: 12px;
	font-weight: 600;
	letter-spacing: .12em;
	text-transform: uppercase;
	pointer-events: none;
	transform: translate3d(var(--x, -200px), var(--y, -200px), 0) scale(0);
	transition: transform .35s var(--ease);
	will-change: transform;
}
.cursor.is-active { transform: translate3d(var(--x), var(--y), 0) scale(1); }
@media (hover: none) { .cursor { display: none; } }

/* ---------- Reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(40px); transition: opacity 1s var(--ease), transform 1.1s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	.reveal { opacity: 1; transform: none; transition: none; }
	.marquee__track, .footer-panel, .footer-panel::before, .contact-promise__dot::after, .work-hero__bg::before { animation: none; }
	* { transition-duration: .01ms !important; }
}
