/* ==========================================================================
   Swapnil Kore: main stylesheet
   Type: Clash Display (display) + Satoshi (text), both from Fontshare.
   Palette: cool off-black and paper, one vermilion accent used sparingly.
   Shape rule: photographs and panels are square-cornered; interactive
   controls (buttons, filters) are full pills; inputs are underlines.
   ========================================================================== */

@font-face {
	font-family: "Clash Display";
	src: url("../fonts/clash-display-500.woff2") format("woff2");
	font-weight: 500;
	font-display: swap;
}
@font-face {
	font-family: "Clash Display";
	src: url("../fonts/clash-display-600.woff2") format("woff2");
	font-weight: 600;
	font-display: swap;
}
@font-face {
	font-family: "Satoshi";
	src: url("../fonts/satoshi-400.woff2") format("woff2");
	font-weight: 400;
	font-display: swap;
}
@font-face {
	font-family: "Satoshi";
	src: url("../fonts/satoshi-500.woff2") format("woff2");
	font-weight: 500 700;
	font-display: swap;
}

/* Tokens ------------------------------------------------------------------ */
:root {
	--bg: #0c0c0d;
	--bg-2: #141416;
	--bg-3: #1d1d20;
	--text: #efefec;
	--text-2: #b4b4af;
	--muted: #8b8b8e;
	--line: rgba(239, 239, 236, 0.12);
	--line-strong: rgba(239, 239, 236, 0.28);
	--accent: #e0472f;
	--on-light: #0c0c0d;

	--font-display: "Clash Display", "Helvetica Neue", Arial, sans-serif;
	--font-body: "Satoshi", "Helvetica Neue", Arial, sans-serif;

	--gutter: clamp(16px, 3.6vw, 56px);
	--max: 1480px;
	--header-h: 72px;
	--ease-out: cubic-bezier(0.16, 1, 0.3, 1);
	--ease-io: cubic-bezier(0.77, 0, 0.18, 1);

	/* Z-index scale. */
	--z-header: 60;
	--z-menu: 55;
	--z-lightbox: 100000;
	--z-curtain: 100001;
}

.scheme-dark {
	color-scheme: dark;
}

.scheme-light {
	color-scheme: light;
	--bg: #f1f1ee;
	--bg-2: #e7e7e3;
	--bg-3: #dcdcd7;
	--text: #111113;
	--text-2: #45454a;
	--muted: #6b6b70;
	--line: rgba(17, 17, 19, 0.12);
	--line-strong: rgba(17, 17, 19, 0.3);
}

@media (prefers-color-scheme: light) {
	.scheme-auto {
		color-scheme: light;
		--bg: #f1f1ee;
		--bg-2: #e7e7e3;
		--bg-3: #dcdcd7;
		--text: #111113;
		--text-2: #45454a;
		--muted: #6b6b70;
		--line: rgba(17, 17, 19, 0.12);
		--line-strong: rgba(17, 17, 19, 0.3);
	}
}

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

html {
	-webkit-text-size-adjust: 100%;
}

html:not(.has-lenis) {
	scroll-behavior: smooth;
}

html.lenis,
html.lenis body {
	height: auto;
}

.lenis.lenis-stopped {
	overflow: hidden;
}

body {
	margin: 0;
	background: var(--bg);
	color: var(--text);
	font: 400 17px/1.6 var(--font-body);
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}

html.lightbox-open,
body.menu-open {
	overflow: hidden;
}

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

a {
	color: inherit;
	text-decoration: none;
	transition: color 0.3s var(--ease-out);
}

button {
	font: inherit;
	color: inherit;
}

::selection {
	background: var(--accent);
	color: #fff;
}

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

h1,
h2,
h3,
h4 {
	font-family: var(--font-display);
	font-weight: 500;
	line-height: 1.05;
	letter-spacing: -0.02em;
	margin: 0 0 0.5em;
	text-wrap: balance;
}

.icon {
	width: 20px;
	height: 20px;
	flex: none;
}

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

.skip-link:focus {
	position: fixed !important;
	top: 12px;
	left: 12px;
	z-index: 100002;
	width: auto;
	height: auto;
	clip: auto;
	padding: 12px 18px;
	background: var(--text);
	color: var(--bg);
}

/* Layout ------------------------------------------------------------------ */
.container {
	width: 100%;
	max-width: var(--max);
	margin-inline: auto;
	padding-inline: var(--gutter);
}

.container--narrow {
	max-width: calc(760px + 2 * var(--gutter));
}

.section {
	padding-block: clamp(64px, 7vw, 112px);
}

.intro {
	padding-bottom: clamp(24px, 3vw, 48px);
}

.section--tight {
	padding-block: clamp(16px, 3vw, 40px) clamp(80px, 10vw, 140px);
}

.section-head {
	display: grid;
	gap: 20px;
	margin-bottom: clamp(36px, 5vw, 64px);
}

.section-head--row {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	align-items: flex-end;
}

.section-title {
	margin: 0;
	font-size: clamp(2.6rem, 6vw, 5.8rem);
	font-weight: 500;
	line-height: 0.95;
	letter-spacing: -0.035em;
}

.section-lead {
	max-width: 52ch;
	margin: 0;
	font-size: clamp(1rem, 1.2vw, 1.125rem);
	color: var(--text-2);
}

.section-foot {
	margin: clamp(32px, 5vw, 56px) 0 0;
}

.eyebrow {
	margin: 0 0 20px;
	font-size: 13px;
	font-weight: 500;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--muted);
}

/* Split headings: each word sits in a mask and rises into place. */
.split-word {
	display: inline-block;
	overflow: hidden;
	vertical-align: top;
	padding-bottom: 0.08em;
	margin-bottom: -0.08em;
}

.split-word > span {
	display: inline-block;
}

/* Buttons ----------------------------------------------------------------- */
.btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.6em;
	min-height: 52px;
	padding: 0 1.6em;
	border: 1px solid transparent;
	border-radius: 999px;
	font: 500 15px/1 var(--font-body);
	white-space: nowrap;
	cursor: pointer;
	transition: background-color 0.4s var(--ease-out), color 0.4s var(--ease-out), border-color 0.4s var(--ease-out), transform 0.2s var(--ease-out);
	will-change: transform;
}

.btn:active {
	transform: scale(0.98);
}

.btn .icon {
	width: 18px;
	height: 18px;
	transition: transform 0.5s var(--ease-out);
}

.btn:hover .icon {
	transform: translateX(4px);
}

.btn--small {
	min-height: 40px;
	padding: 0 1.2em;
	font-size: 14px;
}

.btn--accent {
	background: var(--text);
	color: var(--bg);
}

.btn--accent:hover {
	background: var(--accent);
	color: #fff;
}

.btn--outline {
	border-color: var(--line-strong);
	color: var(--text);
}

.btn--outline:hover {
	border-color: var(--text);
	background: var(--text);
	color: var(--bg);
}

.link-arrow {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding-bottom: 4px;
	border-bottom: 1px solid var(--line-strong);
	font-weight: 500;
	transition: border-color 0.3s var(--ease-out), color 0.3s var(--ease-out);
}

.link-arrow .icon {
	width: 18px;
	height: 18px;
	transition: transform 0.4s var(--ease-out);
}

.link-arrow:hover {
	border-color: var(--accent);
}

.link-arrow:hover .icon {
	transform: translate(2px, -2px);
}

.link-arrow--light {
	color: #fff;
	border-color: rgba(255, 255, 255, 0.4);
}

/* Page transition curtain ------------------------------------------------- */
.curtain {
	display: none;
}

.js .curtain {
	position: fixed;
	inset: 0;
	z-index: var(--z-curtain);
	display: block;
	background: var(--bg);
	transform: translateY(0);
	transition: transform 0.9s var(--ease-io);
	pointer-events: none;
}

.is-loaded .curtain {
	transform: translateY(-101%);
}

.is-leaving .curtain {
	transform: translateY(0);
	transition-duration: 0.55s;
}

/* Header ------------------------------------------------------------------ */
.site-header {
	position: fixed;
	inset: 0 0 auto;
	z-index: var(--z-header);
	height: var(--header-h);
	display: flex;
	align-items: center;
	border-bottom: 1px solid transparent;
	transition: background-color 0.5s var(--ease-out), border-color 0.5s var(--ease-out), transform 0.6s var(--ease-out);
}

.site-header.is-scrolled,
body:not(.has-hero) .site-header {
	background: color-mix(in srgb, var(--bg) 82%, transparent);
	-webkit-backdrop-filter: blur(14px);
	backdrop-filter: blur(14px);
	border-bottom-color: var(--line);
}

.site-header.is-hidden {
	transform: translateY(-100%);
}

.admin-bar .site-header {
	top: 32px;
}

@media (max-width: 782px) {
	.admin-bar .site-header {
		top: 46px;
	}
}

body.menu-open .site-header {
	background: transparent;
	border-bottom-color: transparent;
	-webkit-backdrop-filter: none;
	backdrop-filter: none;
	transform: none;
}

body:not(.has-hero) .site-main {
	padding-top: var(--header-h);
}

.site-header__inner {
	display: flex;
	align-items: center;
	gap: 36px;
}

.site-title {
	font-family: var(--font-display);
	font-size: 22px;
	font-weight: 600;
	letter-spacing: -0.01em;
	text-transform: uppercase;
	white-space: nowrap;
}

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

.primary-nav {
	margin-left: auto;
}

.primary-nav .menu {
	display: flex;
	gap: clamp(18px, 2.4vw, 36px);
	margin: 0;
	padding: 0;
	list-style: none;
}

.primary-nav li {
	position: relative;
}

.primary-nav a {
	position: relative;
	display: block;
	padding: 6px 0;
	font-size: 15px;
	font-weight: 500;
}

.primary-nav .menu > li > a::after {
	content: "";
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	height: 1px;
	background: currentColor;
	transform: scaleX(0);
	transform-origin: right;
	transition: transform 0.5s var(--ease-out);
}

.primary-nav .menu > li > a:hover::after,
.primary-nav .current-menu-item > a::after {
	transform: scaleX(1);
	transform-origin: left;
}

.primary-nav .sub-menu {
	position: absolute;
	top: 100%;
	left: -18px;
	min-width: 200px;
	margin: 0;
	padding: 10px 18px;
	list-style: none;
	background: var(--bg-2);
	border: 1px solid var(--line);
	opacity: 0;
	visibility: hidden;
	transform: translateY(6px);
	transition: opacity 0.3s, transform 0.3s var(--ease-out), visibility 0.3s;
}

.primary-nav li:hover > .sub-menu,
.primary-nav li:focus-within > .sub-menu {
	opacity: 1;
	visibility: visible;
	transform: none;
}

.menu-toggle {
	display: none;
	width: 44px;
	height: 44px;
	margin-right: -10px;
	padding: 0;
	background: none;
	border: 0;
	cursor: pointer;
}

.menu-toggle__bars {
	position: relative;
	display: block;
	width: 24px;
	height: 9px;
	margin: auto;
}

.menu-toggle__bars span {
	position: absolute;
	left: 0;
	width: 100%;
	height: 1.5px;
	background: currentColor;
	transition: transform 0.5s var(--ease-out), top 0.5s var(--ease-out);
}

.menu-toggle__bars span:first-child {
	top: 0;
}

.menu-toggle__bars span:last-child {
	top: 7.5px;
}

.menu-toggle[aria-expanded="true"] .menu-toggle__bars span {
	top: 3.75px;
}

.menu-toggle[aria-expanded="true"] .menu-toggle__bars span:first-child {
	transform: rotate(45deg);
}

.menu-toggle[aria-expanded="true"] .menu-toggle__bars span:last-child {
	transform: rotate(-45deg);
}

/* Mobile menu ------------------------------------------------------------- */
.mobile-menu {
	position: fixed;
	inset: 0;
	z-index: var(--z-menu);
	display: flex;
	padding-top: var(--header-h);
	background: var(--bg);
	clip-path: inset(0 0 100% 0);
	transition: clip-path 0.7s var(--ease-io);
}

.mobile-menu[hidden] {
	display: none;
}

.mobile-menu.is-open {
	clip-path: inset(0 0 0 0);
}

.admin-bar .mobile-menu {
	padding-top: calc(var(--header-h) + 46px);
}

.mobile-menu__inner {
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	padding-block: 24px 36px;
	overflow-y: auto;
}

.mobile-menu__list,
.mobile-menu .menu {
	margin: 0;
	padding: 0;
	list-style: none;
}

.mobile-menu nav li {
	overflow: hidden;
}

.mobile-menu nav li a {
	display: block;
	padding: 6px 0;
	font-family: var(--font-display);
	font-size: clamp(2.6rem, 12vw, 4rem);
	font-weight: 500;
	line-height: 1.05;
	letter-spacing: -0.03em;
	text-transform: uppercase;
	transform: translateY(105%);
	transition: transform 0.8s var(--ease-out), color 0.3s;
}

.mobile-menu.is-open nav li a {
	transform: none;
}

.mobile-menu.is-open nav li:nth-child(2) a { transition-delay: 0.06s, 0s; }
.mobile-menu.is-open nav li:nth-child(3) a { transition-delay: 0.12s, 0s; }
.mobile-menu.is-open nav li:nth-child(4) a { transition-delay: 0.18s, 0s; }
.mobile-menu.is-open nav li:nth-child(5) a { transition-delay: 0.24s, 0s; }

.mobile-menu nav li a:hover {
	color: var(--accent);
}

.mobile-menu__footer {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 20px;
	margin-top: 40px;
}

/* Hero -------------------------------------------------------------------- */
.hero {
	position: relative;
	display: flex;
	min-height: 100vh;
	min-height: 100dvh;
	padding-top: calc(var(--header-h) + clamp(12px, 2.5vh, 28px));
	padding-bottom: clamp(20px, 3.5vh, 40px);
	overflow: hidden;
}

.hero__inner {
	flex: 1;
	display: grid;
	grid-template-columns: minmax(0, 62fr) minmax(0, 38fr);
	gap: clamp(20px, 3.4vw, 56px);
	align-items: stretch;
}

.hero__copy {
	position: relative;
	z-index: 2;
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	gap: 32px;
}

.hero__title {
	margin: 0;
	font-size: clamp(3.6rem, 12.2vw, 11.5rem);
	font-weight: 600;
	line-height: 0.84;
	letter-spacing: -0.045em;
	text-transform: uppercase;
}

.hero__title .line {
	display: block;
	overflow: hidden;
	padding-bottom: 0.04em;
}

.hero__title .line__inner {
	display: block;
}

.hero__title .line:last-child .line__inner {
	padding-left: 0.55em;
}

.hero__text {
	max-width: 40ch;
	margin: 0 0 24px;
	font-size: clamp(1.05rem, 1.3vw, 1.25rem);
	line-height: 1.5;
	color: var(--text-2);
}

.hero__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
}

.hero__frame {
	position: relative;
	display: flex;
	flex-direction: column;
	margin: 0;
	min-height: 0;
}

.hero__slides {
	position: relative;
	flex: 1 1 auto;
	min-height: 300px;
	overflow: hidden;
	background: var(--bg-2);
}

/* Crossfade (opacity only: cheap for the browser, so it stays smooth). */
.hero__slide {
	position: absolute;
	inset: 0;
	z-index: 0;
	opacity: 0;
}

.hero__slide.is-prev {
	z-index: 1;
	opacity: 1;
}

.hero__slide.is-active {
	z-index: 2;
	opacity: 1;
	transition: opacity 1.2s ease;
}

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

.hero__slide.is-active img {
	animation: kb 7s var(--ease-out) both;
}

.hero__index {
	display: flex;
	flex-wrap: wrap;
	gap: 10px clamp(18px, 2.4vw, 36px);
	margin: 0;
	padding: 0;
	list-style: none;
}

.hero__index button {
	position: relative;
	padding: 0 0 10px;
	background: none;
	border: 0;
	font-family: var(--font-display);
	font-size: clamp(1rem, 1.5vw, 1.4rem);
	font-weight: 500;
	letter-spacing: -0.01em;
	color: var(--muted);
	cursor: pointer;
	transition: color 0.4s var(--ease-out);
}

.hero__index button:hover,
.hero__index button.is-active {
	color: var(--text);
}

.hero__index i {
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	height: 2px;
	overflow: hidden;
	background: var(--line);
}

.hero__index i::after {
	content: "";
	position: absolute;
	inset: 0;
	background: var(--accent);
	transform: scaleX(0);
	transform-origin: left;
}

.hero__index .is-active i::after {
	animation: tick var(--slide-delay, 5200ms) linear forwards;
}

.hero.is-paused .hero__index .is-active i::after {
	animation-play-state: paused;
}

.hero.is-static .hero__index i::after {
	animation: none;
}

.hero.is-static .hero__index .is-active i::after {
	transform: none;
}

/* Intro choreography: plain CSS so the hero never depends on a library. */
.js .hero [data-hero-line] {
	transform: translateY(105%);
	transition: transform 1.3s var(--ease-out);
}

.js .hero .line:nth-child(2) [data-hero-line] {
	transition-delay: 0.08s;
}

.js .hero [data-hero-fade] {
	opacity: 0;
	transform: translateY(18px);
	transition: opacity 1s var(--ease-out) 0.45s, transform 1s var(--ease-out) 0.45s;
}

.js .hero [data-hero-frame] .hero__slides {
	opacity: 0;
	transform: scale(1.04);
	transition: opacity 1.2s ease 0.15s, transform 1.6s var(--ease-out) 0.15s;
}

.is-loaded .hero [data-hero-line],
.is-loaded .hero [data-hero-fade] {
	opacity: 1;
	transform: none;
}

.is-loaded .hero [data-hero-frame] .hero__slides {
	opacity: 1;
	transform: none;
}

/* Marquee ----------------------------------------------------------------- */
.marquee {
	overflow: hidden;
	padding-block: clamp(20px, 3vw, 36px);
	border-block: 1px solid var(--line);
}

.marquee__track {
	display: flex;
	width: max-content;
	animation: marquee 38s linear infinite;
}

.marquee.is-driven .marquee__track {
	animation: none;
}

.marquee__group {
	display: flex;
	flex: none;
}

.marquee__item {
	padding-right: 0.6em;
	font-family: var(--font-display);
	font-size: clamp(2.6rem, 8vw, 7.5rem);
	font-weight: 500;
	line-height: 1;
	letter-spacing: -0.03em;
	text-transform: uppercase;
	white-space: nowrap;
}

.marquee__item.is-outline {
	color: transparent;
	-webkit-text-stroke: 1px var(--text);
}

/* Intro statement --------------------------------------------------------- */
.intro__statement {
	max-width: 28ch;
	margin: 0 0 clamp(56px, 8vw, 110px);
	font-family: var(--font-display);
	font-size: clamp(2rem, 4.4vw, 4.4rem);
	font-weight: 500;
	line-height: 1.04;
	letter-spacing: -0.03em;
}

.intro__statement .w {
	display: inline;
}

.highlights {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 24px;
	margin: 0;
}

.highlights__item {
	display: flex;
	flex-direction: column-reverse;
	justify-content: flex-end;
	gap: 10px;
	padding-top: 22px;
	border-top: 1px solid var(--line-strong);
}

.highlights dd {
	margin: 0;
	font-family: var(--font-display);
	font-size: clamp(2.2rem, 4.6vw, 4.4rem);
	font-weight: 500;
	line-height: 1;
	letter-spacing: -0.035em;
}

.highlights__item:first-child dd {
	color: var(--accent);
}

.highlights dt {
	max-width: 26ch;
	font-size: 15px;
	color: var(--text-2);
}

/* Portfolio grid ---------------------------------------------------------- */
.filters {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin-bottom: clamp(24px, 3.4vw, 44px);
}

.filters__btn {
	min-height: 40px;
	padding: 0 1.1em;
	background: none;
	border: 1px solid var(--line-strong);
	border-radius: 999px;
	font-size: 14px;
	font-weight: 500;
	color: var(--text-2);
	white-space: nowrap;
	cursor: pointer;
	transition: background-color 0.35s var(--ease-out), color 0.35s var(--ease-out), border-color 0.35s var(--ease-out);
}

.filters__btn:hover {
	border-color: var(--text);
	color: var(--text);
}

.filters__btn.is-active {
	background: var(--text);
	border-color: var(--text);
	color: var(--bg);
}

.work-grid {
	columns: 3 300px;
	column-gap: clamp(12px, 1.6vw, 24px);
}

.work-card {
	break-inside: avoid;
	margin: 0 0 clamp(28px, 3vw, 44px);
}

.work-card.is-hidden {
	display: none;
}

/* JS masonry: cards are dealt into the shortest column, left to right. */
.work-grid.is-masonry {
	display: flex;
	align-items: flex-start;
	gap: clamp(12px, 1.6vw, 24px);
	columns: auto;
}

.work-grid__col {
	flex: 1 1 0;
	min-width: 0;
}

.work-card__link {
	position: relative;
	display: block;
	overflow: hidden;
	background: var(--bg-2);
	cursor: zoom-in;
}

.work-card__media {
	display: block;
	overflow: hidden;
}

.work-card__media img {
	width: 100%;
	transition: transform 1.4s var(--ease-out);
}

.work-card__link:hover .work-card__media img {
	transform: scale(1.04);
}

.work-card__caption {
	display: flex;
	justify-content: space-between;
	align-items: baseline;
	gap: 16px;
	padding-top: 12px;
}

.work-card__title {
	font-family: var(--font-display);
	font-size: clamp(1.1rem, 1.4vw, 1.3rem);
	font-weight: 500;
	letter-spacing: -0.01em;
}

a.work-card__title:hover {
	color: var(--accent);
}

.work-more {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	padding-bottom: 4px;
	border-bottom: 1px solid var(--line-strong);
	font-weight: 500;
}

.work-more .icon {
	width: 18px;
	height: 18px;
	transition: transform 0.4s var(--ease-out);
}

.work-more:hover .icon {
	transform: translate(2px, -2px);
}

.work-more__count {
	color: var(--muted);
}

.is-tile {
	display: flex;
	margin: 0;
}

.is-tile .work-more {
	position: relative;
	flex: 1;
	flex-direction: column;
	align-items: flex-start;
	justify-content: flex-end;
	gap: 6px;
	padding: clamp(18px, 2vw, 28px);
	border: 1px solid var(--line-strong);
	transition: background-color 0.4s var(--ease-out), border-color 0.4s var(--ease-out);
}

.is-tile .work-more__label {
	font-family: var(--font-display);
	font-size: clamp(1.6rem, 2.6vw, 2.6rem);
	font-weight: 500;
	line-height: 1;
	letter-spacing: -0.03em;
}

.is-tile .work-more .icon {
	position: absolute;
	top: clamp(18px, 2vw, 28px);
	right: clamp(18px, 2vw, 28px);
	width: 28px;
	height: 28px;
}

.is-tile .work-more:hover {
	background: var(--bg-2);
	border-color: var(--text);
}

.work-card__meta {
	flex: none;
	font-size: 14px;
	color: var(--muted);
}

/* Industries ------------------------------------------------------------ */
.industries__grid {
	display: grid;
	grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
	gap: clamp(32px, 6vw, 96px);
	align-items: center;
}

.industries .section-title {
	margin-bottom: clamp(24px, 3vw, 40px);
}

.industries__items {
	margin: 0;
	padding: 0;
	list-style: none;
	border-top: 1px solid var(--line);
}

.industries__item {
	border-bottom: 1px solid var(--line);
}

.industries__item a {
	display: flex;
	align-items: center;
	gap: 16px;
	padding: clamp(12px, 1.6vw, 20px) 0;
	color: var(--muted);
	transition: color 0.4s var(--ease-out);
}

.industries__name {
	font-family: var(--font-display);
	font-size: clamp(1.9rem, 3.6vw, 3.4rem);
	font-weight: 500;
	line-height: 1;
	letter-spacing: -0.03em;
}

.industries__text,
.industries__thumb {
	display: none;
}

.industries__item .icon {
	margin-left: auto;
	width: 28px;
	height: 28px;
	opacity: 0;
	transform: translate(-8px, 8px);
	transition: opacity 0.4s var(--ease-out), transform 0.5s var(--ease-out);
}

.industries__item.is-active a,
.industries__item a:focus-visible {
	color: var(--text);
}

.industries__item.is-active .icon {
	opacity: 1;
	transform: none;
	color: var(--accent);
}

.industries__media {
	position: sticky;
	top: calc(var(--header-h) + 24px);
	margin: 0;
}

.industries__frame {
	position: relative;
	aspect-ratio: 4 / 5;
	max-height: calc(100dvh - var(--header-h) - 120px);
	width: 100%;
	overflow: hidden;
	background: var(--bg-2);
}

.industries__frame img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	opacity: 0;
	transform: scale(1.06);
	transition: opacity 0.7s ease, transform 1.4s var(--ease-out);
}

.industries__frame img.is-active {
	opacity: 1;
	transform: none;
}

.industries__caption {
	min-height: 3em;
	padding-top: 12px;
	font-size: 15px;
	color: var(--text-2);
}

/* Film, music and TV (horizontal pan) ------------------------------------- */
.screen {
	position: relative;
	z-index: 2;
	overflow: hidden;
	background: var(--bg-2);
}

.screen.is-pinned .screen__track {
	will-change: transform;
}

/* The blurred header over a moving image repaints every frame; use a plain
   fill while the pan is running. */
.is-panning .site-header.is-scrolled {
	-webkit-backdrop-filter: none;
	backdrop-filter: none;
	background: var(--bg);
}

.screen__track {
	display: flex;
	align-items: center;
	gap: clamp(20px, 3vw, 48px);
	min-height: 100vh;
	min-height: 100dvh;
	padding: calc(var(--header-h) + 16px) var(--gutter) 24px;
	overflow-x: auto;
	scroll-snap-type: x mandatory;
	scroll-padding-inline: var(--gutter);
	scrollbar-width: none;
}

.screen__track::-webkit-scrollbar {
	display: none;
}

.screen.is-pinned .screen__track {
	width: max-content;
	overflow: visible;
	scroll-snap-type: none;
}

.screen__intro,
.screen__panel {
	scroll-snap-align: start;
}

.screen__intro {
	flex: none;
	width: min(34vw, 480px);
}

.screen__intro .section-lead {
	margin-top: 24px;
}

.screen__panel {
	flex: none;
	width: min(66vw, calc((100dvh - var(--header-h) - 130px) * 1.5));
	margin: 0;
}

.screen__media {
	aspect-ratio: 3 / 2;
	overflow: hidden;
	background: var(--bg-3);
}

.screen__media img {
	width: 116%;
	max-width: none;
	height: 100%;
	object-fit: cover;
}

.screen__panel figcaption {
	display: flex;
	justify-content: space-between;
	align-items: baseline;
	gap: 24px;
	padding-top: 16px;
}

.screen__title {
	margin: 0;
	font-size: clamp(1.4rem, 2.2vw, 2.2rem);
	font-weight: 500;
}

.screen__panel figcaption p {
	max-width: 34ch;
	margin: 0;
	color: var(--text-2);
	text-align: right;
}

/* About ------------------------------------------------------------------- */
.about__grid {
	display: grid;
	grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
	gap: clamp(40px, 7vw, 120px);
	align-items: center;
}

.about__media {
	aspect-ratio: 4 / 5;
	overflow: hidden;
	background: var(--bg-2);
}

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

.about__body .section-title {
	margin-bottom: 32px;
}

.about__text p {
	max-width: 54ch;
	margin: 0 0 1.1em;
	font-size: 1.1rem;
	color: var(--text-2);
}

.about__sign {
	display: grid;
	gap: 2px;
	margin: 32px 0 36px;
}

.about__sign strong {
	font-family: var(--font-display);
	font-size: 1.5rem;
	font-weight: 500;
}

.about__sign span {
	color: var(--muted);
}

/* Video testimonials ------------------------------------------------------- */
/* Fixed-width cards centred in rows, so two or eight clips both sit balanced. */
.reels__track {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: clamp(12px, 1.6vw, 24px);
}

.reel {
	position: relative;
	flex: none;
	width: clamp(220px, 21vw, 300px);
	margin: 0;
	aspect-ratio: 9 / 16;
	overflow: hidden;
	background: var(--bg-3);
}

.reel video {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

/* Full-card play/pause target; the play mark only shows while paused. */
.reel__toggle {
	position: absolute;
	inset: 0;
	display: grid;
	place-items: center;
	padding: 0;
	border: 0;
	background: transparent;
	color: #fff;
	cursor: pointer;
}

.reel__toggle .icon {
	width: 56px;
	height: 56px;
	padding: 16px;
	border-radius: 999px;
	background: rgba(12, 12, 13, 0.55);
	opacity: 0;
	transition: opacity 0.3s var(--ease-out);
}

.reel.is-paused .reel__toggle .icon,
.reel__toggle:focus-visible .icon {
	opacity: 1;
}

.reel__sound {
	position: absolute;
	top: 12px;
	right: 12px;
	z-index: 1;
	display: grid;
	place-items: center;
	width: 44px;
	height: 44px;
	padding: 0;
	border: 1px solid rgba(255, 255, 255, 0.3);
	border-radius: 999px;
	background: rgba(12, 12, 13, 0.55);
	color: #fff;
	cursor: pointer;
	transition: background-color 0.3s var(--ease-out), border-color 0.3s var(--ease-out);
}

.reel__sound:hover,
.reel__sound[aria-pressed="true"] {
	border-color: var(--accent);
	background: var(--accent);
}

.reel__sound .icon {
	width: 20px;
	height: 20px;
}

.reel__sound[aria-pressed="true"] .icon--sound-off,
.reel__sound[aria-pressed="false"] .icon--sound-on {
	display: none;
}

.reel__caption {
	position: absolute;
	inset: auto 0 0;
	display: grid;
	gap: 2px;
	padding: 48px 16px 16px;
	background: linear-gradient(to top, rgba(0, 0, 0, 0.7), transparent);
	color: rgba(255, 255, 255, 0.75);
	font-size: 0.875rem;
	pointer-events: none;
}

.reel__caption strong {
	color: #fff;
	font-weight: 500;
	font-size: 1rem;
}

/* Phones: one row that swipes sideways. */
@media (max-width: 700px) {
	.reels__track {
		flex-wrap: nowrap;
		justify-content: flex-start;
		overflow-x: auto;
		scroll-snap-type: x mandatory;
		scroll-padding-inline: var(--gutter);
		scrollbar-width: none;
	}

	.reels__track::-webkit-scrollbar {
		display: none;
	}

	.reel {
		width: 68vw;
		scroll-snap-align: start;
	}
}

/* Quotes ------------------------------------------------------------------ */
.quotes__grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
	gap: clamp(24px, 4vw, 56px);
}

.quote {
	margin: 0;
	padding-top: 24px;
	border-top: 1px solid var(--line-strong);
}

.quote blockquote {
	margin: 0 0 20px;
}

.quote p {
	margin: 0;
	font-family: var(--font-display);
	font-size: clamp(1.3rem, 1.8vw, 1.7rem);
	font-weight: 500;
	line-height: 1.25;
	letter-spacing: -0.01em;
}

.quote figcaption {
	color: var(--muted);
}

.quote figcaption strong {
	color: var(--text);
	font-weight: 500;
}

/* Journal ----------------------------------------------------------------- */
.post-grid {
	display: grid;
	grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr) minmax(0, 1fr);
	gap: clamp(32px, 4vw, 56px) clamp(16px, 2vw, 32px);
	align-items: start;
}

.post-card__media {
	display: block;
	aspect-ratio: 4 / 3;
	overflow: hidden;
	margin-bottom: 18px;
	background: var(--bg-2);
}

.journal .post-grid {
	grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
}

.journal .post-card:first-child {
	grid-row: span 2;
}

.journal .post-card:first-child .post-card__media {
	aspect-ratio: 4 / 5;
}

.journal .post-card:not(:first-child) .post-card__media {
	aspect-ratio: 16 / 10;
}

.post-card__media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 1.4s var(--ease-out);
}

.post-card:hover .post-card__media img {
	transform: scale(1.04);
}

.post-card__placeholder {
	display: block;
	width: 100%;
	height: 100%;
	background: var(--bg-3);
}

.post-meta {
	display: flex;
	gap: 14px;
	margin: 0 0 8px;
	font-size: 14px;
	color: var(--muted);
}

.post-card__title {
	margin: 0;
	font-size: clamp(1.3rem, 1.8vw, 1.7rem);
	font-weight: 500;
	line-height: 1.12;
}

.post-card__title a:hover {
	color: var(--accent);
}

/* Contact ----------------------------------------------------------------- */
.contact {
	position: relative;
	overflow: hidden;
	border-top: 1px solid var(--line);
}

.contact__bg {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	opacity: 0.16;
	filter: grayscale(1);
	pointer-events: none;
}

.contact__grid {
	position: relative;
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
	gap: clamp(40px, 7vw, 120px);
	align-items: start;
}

/* The intro stays in view while the (taller) form scrolls past it. */
.contact__intro {
	position: sticky;
	top: calc(var(--header-h) + 32px);
}

.contact__title {
	margin: 0 0 24px;
	font-size: clamp(3rem, 7vw, 7rem);
	font-weight: 500;
	line-height: 0.92;
	letter-spacing: -0.045em;
}

.contact__details {
	display: grid;
	gap: 14px;
	margin: 40px 0 28px;
	padding: 0;
	list-style: none;
}

.contact__details li {
	display: flex;
	align-items: center;
	gap: 12px;
	font-size: 1.1rem;
}

.contact__details .icon {
	width: 22px;
	height: 22px;
	color: var(--muted);
}

.contact__details a:hover {
	color: var(--accent);
}

.contact-form {
	padding: clamp(24px, 3.4vw, 48px);
	background: var(--bg-2);
	border: 1px solid var(--line);
}

.field-row {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 0 24px;
}

.field {
	display: flex;
	flex-direction: column;
	gap: 6px;
	margin: 0 0 24px;
}

.field label {
	font-size: 14px;
	font-weight: 500;
	color: var(--text-2);
}

.field__hint {
	font-size: 14px;
	color: var(--muted);
}

.field input,
.field select,
.field textarea,
.search-form__input,
.comment-form input[type="text"],
.comment-form input[type="email"],
.comment-form input[type="url"],
.comment-form textarea {
	width: 100%;
	padding: 10px 0;
	background: transparent;
	border: 0;
	border-bottom: 1px solid var(--line-strong);
	border-radius: 0;
	font: inherit;
	font-size: 1rem;
	color: var(--text);
	transition: border-color 0.3s var(--ease-out);
}

.field input:focus,
.field select:focus,
.field textarea:focus,
.search-form__input:focus,
.comment-form input:focus,
.comment-form textarea:focus {
	outline: none;
	border-bottom-color: var(--accent);
	box-shadow: 0 1px 0 var(--accent);
}

.field select {
	-webkit-appearance: none;
	appearance: none;
	padding-right: 28px;
	background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none' stroke='%238b8b8e' stroke-width='1.5'%3E%3Cpath d='m1 1 5 5 5-5'/%3E%3C/svg%3E") no-repeat right 4px center;
	cursor: pointer;
}

.field select option {
	background: var(--bg-2);
	color: var(--text);
}

.field textarea {
	min-height: 110px;
	resize: vertical;
}

.field--hp {
	position: absolute !important;
	left: -9999px;
	width: 1px;
	height: 1px;
	overflow: hidden;
}

.contact-form .btn {
	width: 100%;
	margin-top: 8px;
}

.form-notice {
	margin: 0 0 24px;
	padding: 14px 16px;
	border-left: 2px solid var(--text);
	background: var(--bg-3);
}

.form-notice--error {
	border-left-color: var(--accent);
}

/* Social ------------------------------------------------------------------ */
.social {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.social a {
	display: grid;
	place-items: center;
	width: 44px;
	height: 44px;
	border: 1px solid var(--line-strong);
	border-radius: 999px;
	transition: background-color 0.35s var(--ease-out), color 0.35s var(--ease-out), border-color 0.35s var(--ease-out);
}

.social .icon {
	width: 20px;
	height: 20px;
}

.social a:hover {
	background: var(--text);
	border-color: var(--text);
	color: var(--bg);
}

/* Footer ------------------------------------------------------------------ */
.site-footer {
	padding-top: clamp(56px, 7vw, 96px);
	border-top: 1px solid var(--line);
	overflow: hidden;
}

.site-footer__grid {
	display: flex;
	flex-wrap: wrap;
	gap: 32px clamp(32px, 6vw, 96px);
}

.site-footer__tagline {
	flex: 1 1 320px;
}

.site-footer__col {
	flex: 0 1 auto;
	min-width: 140px;
}

.site-footer__tagline {
	max-width: 24ch;
	margin: 0;
	font-family: var(--font-display);
	font-size: clamp(1.3rem, 2vw, 1.8rem);
	font-weight: 500;
	line-height: 1.15;
	letter-spacing: -0.01em;
}

.site-footer__menu,
.site-footer .menu {
	display: grid;
	gap: 8px;
	margin: 0;
	padding: 0;
	list-style: none;
	color: var(--text-2);
}

.site-footer__menu a:hover,
.site-footer .menu a:hover {
	color: var(--text);
}

.site-footer__wordmark {
	display: flex;
	justify-content: space-between;
	margin-top: clamp(40px, 5vw, 72px);
	overflow: hidden;
	font-family: var(--font-display);
	font-size: clamp(2.6rem, 12.2vw, 14.5rem);
	font-weight: 600;
	line-height: 0.8;
	letter-spacing: -0.04em;
	text-transform: uppercase;
	white-space: nowrap;
}

.site-footer__wordmark span {
	display: inline-block;
	padding-bottom: 0.05em;
}

.site-footer__wordmark .sp {
	width: 0.18em;
}

.motion .site-footer__wordmark span {
	transform: translateY(105%);
	transition: transform 1.1s var(--ease-out);
	transition-delay: calc(var(--i, 0) * 35ms);
}

.motion .site-footer__wordmark.is-in span {
	transform: none;
}

.site-footer__bottom {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	align-items: center;
	gap: 12px;
	padding-block: 20px 28px;
	font-size: 14px;
	color: var(--muted);
}

.site-footer__bottom p {
	margin: 0;
}

.back-to-top {
	display: inline-flex;
	align-items: center;
	gap: 6px;
}

.back-to-top .icon {
	width: 16px;
	height: 16px;
	transition: transform 0.4s var(--ease-out);
}

.back-to-top:hover {
	color: var(--text);
}

.back-to-top:hover .icon {
	transform: translateY(-3px);
}

/* Page headers & entries -------------------------------------------------- */
.page-header {
	padding-top: clamp(56px, 9vw, 140px);
	padding-bottom: clamp(28px, 4vw, 56px);
}

.page-header__title {
	max-width: 16ch;
	margin: 0;
	font-size: clamp(3rem, 8.6vw, 8.6rem);
	font-weight: 500;
	line-height: 0.9;
	letter-spacing: -0.045em;
}

.page-header--post .page-header__title {
	max-width: 20ch;
	font-size: clamp(2.4rem, 5.6vw, 5.2rem);
}

.page-header--post .post-meta {
	margin-top: 24px;
}

.page-header__text {
	max-width: 56ch;
	margin-top: 24px;
	font-size: 1.1rem;
	color: var(--text-2);
}

.page-header__text p {
	margin: 0;
}

.entry-hero {
	margin: 0 auto clamp(48px, 6vw, 88px);
}

.entry-hero img {
	width: 100%;
	max-height: 86vh;
	object-fit: cover;
}

.entry-content {
	font-size: 1.1rem;
	line-height: 1.75;
	color: var(--text-2);
}

.entry-content > * {
	margin-block: 0 1.4em;
}

.entry-content h2,
.entry-content h3,
.entry-content h4 {
	margin-top: 1.8em;
	color: var(--text);
}

.entry-content h2 {
	font-size: clamp(1.9rem, 3vw, 2.6rem);
}

.entry-content h3 {
	font-size: clamp(1.5rem, 2.2vw, 1.9rem);
}

.entry-content a {
	color: var(--text);
	text-decoration: underline;
	text-decoration-color: var(--accent);
	text-decoration-thickness: 1px;
	text-underline-offset: 4px;
}

.entry-content .wp-block-gallery a,
.entry-content .wp-block-image a {
	text-decoration: none;
}

.entry-content strong {
	color: var(--text);
	font-weight: 500;
}

.entry-content .is-style-lead,
.entry-content .has-large-font-size {
	font-family: var(--font-display);
	font-size: clamp(1.45rem, 2.2vw, 1.9rem);
	font-weight: 500;
	line-height: 1.25;
	letter-spacing: -0.015em;
	color: var(--text);
}

.entry-content blockquote,
.entry-content .wp-block-quote {
	margin-inline: 0;
	padding-left: 24px;
	border-left: 2px solid var(--accent);
	font-family: var(--font-display);
	font-size: 1.5rem;
	line-height: 1.3;
	color: var(--text);
}

.entry-content blockquote cite {
	display: block;
	margin-top: 10px;
	font-family: var(--font-body);
	font-size: 14px;
	font-style: normal;
	color: var(--muted);
}

.entry-content figure {
	margin-inline: 0;
}

.entry-content figcaption,
.wp-caption-text {
	margin-top: 10px;
	font-size: 14px;
	color: var(--muted);
	text-align: center;
}

.entry-content hr {
	border: 0;
	border-top: 1px solid var(--line);
	margin-block: 3em;
}

.entry-content pre,
.entry-content code {
	font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
	font-size: 0.9em;
	background: var(--bg-2);
}

.entry-content pre {
	padding: 20px;
	overflow-x: auto;
}

.entry-content table {
	width: 100%;
	border-collapse: collapse;
}

.entry-content th,
.entry-content td {
	padding: 10px 12px;
	border-bottom: 1px solid var(--line);
	text-align: left;
}

.entry-content .alignwide,
.project__content .wp-block-gallery {
	width: min(1280px, 100vw - 2 * var(--gutter));
	max-width: none;
	margin-left: 50%;
	transform: translateX(-50%);
}

.entry-content .alignfull {
	width: 100vw;
	max-width: none;
	margin-left: 50%;
	transform: translateX(-50%);
}

.entry-content .wp-block-gallery {
	margin-block: 2.5em;
}

.alignleft {
	float: left;
	margin: 0.4em 1.6em 1em 0;
}

.alignright {
	float: right;
	margin: 0.4em 0 1em 1.6em;
}

.aligncenter {
	margin-inline: auto;
}

.entry-footer {
	padding-bottom: clamp(56px, 8vw, 100px);
}

.tags {
	margin: 40px 0;
}

.tags a {
	display: inline-block;
	margin: 0 6px 8px 0;
	padding: 6px 14px;
	border: 1px solid var(--line-strong);
	border-radius: 999px;
	font-size: 14px;
}

.post-navigation .nav-links {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 24px;
	margin-top: 48px;
	padding-top: 28px;
	border-top: 1px solid var(--line);
}

.post-navigation .nav-next {
	grid-column: 2;
	text-align: right;
}

.nav-label {
	display: block;
	margin-bottom: 4px;
	font-size: 14px;
	color: var(--muted);
}

.nav-title {
	display: block;
	font-family: var(--font-display);
	font-size: 1.4rem;
	font-weight: 500;
	line-height: 1.15;
	color: var(--text);
}

.post-navigation a:hover .nav-title {
	color: var(--accent);
}

.pagination .nav-links {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 8px;
	margin-top: 64px;
}

.page-numbers {
	display: grid;
	place-items: center;
	min-width: 44px;
	height: 44px;
	padding: 0 16px;
	border: 1px solid var(--line-strong);
	border-radius: 999px;
	font-size: 15px;
}

.page-numbers.current,
a.page-numbers:hover {
	background: var(--text);
	border-color: var(--text);
	color: var(--bg);
}

.page-numbers.dots {
	border: 0;
}

.empty-state {
	padding-block: 40px;
	color: var(--text-2);
}

.search-form {
	display: flex;
	gap: 16px;
	align-items: center;
	max-width: 520px;
}

/* Single project ---------------------------------------------------------- */
.project__header {
	display: grid;
	grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr);
	gap: 32px 64px;
	align-items: end;
	padding-top: clamp(56px, 9vw, 140px);
	padding-bottom: clamp(36px, 5vw, 64px);
}

.project__heading .section-lead {
	margin-top: 24px;
}

.project__heading .eyebrow {
	display: flex;
	gap: 10px;
}

.project__heading .eyebrow a:hover {
	color: var(--text);
}

.project__details {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 20px 24px;
	margin: 0;
}

.project__details div {
	padding-top: 12px;
	border-top: 1px solid var(--line-strong);
}

.project__details dt {
	font-size: 14px;
	color: var(--muted);
}

.project__details dd {
	margin: 4px 0 0;
}

.project__cover {
	max-width: 1640px;
	margin: 0 auto clamp(56px, 7vw, 100px);
}

.project__cover a {
	display: block;
	overflow: hidden;
	cursor: zoom-in;
}

.project__cover img {
	width: 100%;
	max-height: 90vh;
	object-fit: cover;
}

.project__content img {
	cursor: zoom-in;
}

.project-nav {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: clamp(12px, 1.6vw, 24px);
	padding-top: clamp(56px, 8vw, 110px);
}

.project-nav__item {
	position: relative;
	display: flex;
	flex-direction: column;
	justify-content: flex-end;
	aspect-ratio: 16 / 10;
	padding: clamp(18px, 2.6vw, 32px);
	overflow: hidden;
	background: var(--bg-2);
	color: #fff;
}

.project-nav__item img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 1.4s var(--ease-out);
}

.project-nav__item::after {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(0deg, rgba(8, 8, 9, 0.75), rgba(8, 8, 9, 0) 60%);
}

.project-nav__item:hover img {
	transform: scale(1.05);
}

.project-nav__item--next {
	text-align: right;
}

.project-nav__label,
.project-nav__title {
	position: relative;
	z-index: 1;
}

.project-nav__label {
	font-size: 14px;
	opacity: 0.8;
}

.project-nav__title {
	margin-top: 4px;
	font-family: var(--font-display);
	font-size: clamp(1.5rem, 2.8vw, 2.4rem);
	font-weight: 500;
	line-height: 1.05;
}

.cta-band {
	margin-top: clamp(56px, 8vw, 110px);
	border-top: 1px solid var(--line);
}

.cta-band__inner {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	align-items: center;
	gap: 32px;
}

/* 404 --------------------------------------------------------------------- */
.not-found {
	position: relative;
	display: flex;
	align-items: center;
	min-height: calc(100dvh - var(--header-h));
	overflow: hidden;
}

.not-found__bg {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	opacity: 0.22;
	filter: grayscale(1);
}

.not-found__inner {
	position: relative;
}

.not-found .section-lead {
	margin: 24px 0 32px;
}

/* Comments ---------------------------------------------------------------- */
.comments {
	padding-block: 56px clamp(72px, 9vw, 120px);
	border-top: 1px solid var(--line);
}

.comments__title,
.comment-reply-title {
	font-size: 1.8rem;
}

.comment-list {
	margin: 0 0 48px;
	padding: 0;
	list-style: none;
}

.comment-list .children {
	list-style: none;
	padding-left: 32px;
}

.comment-body {
	padding: 24px 0;
	border-bottom: 1px solid var(--line);
}

.comment-author {
	display: flex;
	align-items: center;
	gap: 12px;
}

.comment-author img {
	border-radius: 50%;
}

.comment-metadata {
	margin: 4px 0 12px;
	font-size: 14px;
	color: var(--muted);
}

.comment-form p {
	margin: 0 0 20px;
}

.comment-form label {
	display: block;
	font-size: 14px;
	color: var(--text-2);
}

.sticky,
.bypostauthor,
.gallery-caption {
	display: block;
}

.wp-caption {
	max-width: 100%;
}

/* Lightbox ---------------------------------------------------------------- */
.lightbox {
	position: fixed;
	inset: 0;
	z-index: var(--z-lightbox);
	display: grid;
	grid-template-rows: auto minmax(0, 1fr) auto;
	background: rgba(10, 10, 11, 0.97);
	color: #efefec;
	opacity: 0;
	visibility: hidden;
	transition: opacity 0.45s var(--ease-out), visibility 0.45s;
}

.lightbox.is-open {
	opacity: 1;
	visibility: visible;
}

.lightbox__bar {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 16px var(--gutter);
	font-size: 14px;
	font-variant-numeric: tabular-nums;
	color: rgba(239, 239, 236, 0.6);
}

.lightbox__close,
.lightbox__nav {
	display: grid;
	place-items: center;
	width: 52px;
	height: 52px;
	padding: 0;
	border: 1px solid rgba(239, 239, 236, 0.25);
	border-radius: 999px;
	background: transparent;
	color: #efefec;
	cursor: pointer;
	transition: background-color 0.3s var(--ease-out), color 0.3s var(--ease-out), border-color 0.3s var(--ease-out);
}

.lightbox__close svg,
.lightbox__nav svg {
	width: 22px;
	height: 22px;
}

.lightbox__close:hover,
.lightbox__nav:hover {
	background: #efefec;
	border-color: #efefec;
	color: #0c0c0d;
}

.lightbox__stage {
	position: relative;
	display: grid;
	place-items: center;
	min-height: 0;
	padding: 0 clamp(16px, 8vw, 128px);
}

.lightbox__figure {
	display: grid;
	place-items: center;
	width: 100%;
	height: 100%;
	min-height: 0;
	margin: 0;
}

.lightbox__img {
	max-width: 100%;
	max-height: calc(100vh - 190px);
	max-height: calc(100dvh - 190px);
	width: auto;
	height: auto;
	object-fit: contain;
	transition: opacity 0.4s var(--ease-out), transform 0.7s var(--ease-out);
	user-select: none;
	-webkit-user-drag: none;
}

.lightbox.is-loading .lightbox__img {
	opacity: 0;
	transform: scale(0.98);
}

.lightbox__nav {
	position: absolute;
	top: 50%;
	margin-top: -26px;
}

.lightbox__nav--prev {
	left: var(--gutter);
}

.lightbox__nav--next {
	right: var(--gutter);
}

.lightbox.is-single .lightbox__nav {
	display: none;
}

.lightbox__caption {
	display: flex;
	justify-content: space-between;
	align-items: flex-end;
	gap: 24px;
	padding: 18px var(--gutter) 24px;
}

.lightbox__title {
	margin: 0;
	font-family: var(--font-display);
	font-size: 1.5rem;
	font-weight: 500;
	line-height: 1.1;
}

.lightbox__meta {
	margin: 4px 0 0;
	font-size: 14px;
	color: rgba(239, 239, 236, 0.6);
}

.lightbox__link {
	flex: none;
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding-bottom: 4px;
	border-bottom: 1px solid rgba(239, 239, 236, 0.4);
	font-weight: 500;
}

.lightbox__link svg {
	width: 18px;
	height: 18px;
}

.lightbox__link:hover {
	color: var(--accent);
	border-color: var(--accent);
}

.lightbox__link[hidden] {
	display: none;
}

/* Scroll reveals (only when main.js has enabled motion) ------------------- */
.motion [data-reveal] {
	opacity: 0;
	transform: translateY(32px);
	transition: opacity 1.1s var(--ease-out), transform 1.2s var(--ease-out);
	transition-delay: var(--delay, 0ms);
}

.motion [data-reveal].is-in {
	opacity: 1;
	transform: none;
}

.motion [data-card] {
	opacity: 0;
	transform: translateY(48px);
	transition: opacity 0.9s ease, transform 1.2s var(--ease-out);
}

.motion [data-card] .work-card__media img {
	transform: scale(1.1);
	transition: transform 1.6s var(--ease-out);
}

.motion [data-card].is-in {
	opacity: 1;
	transform: none;
}

.motion [data-card].is-in .work-card__media img {
	transform: none;
}

.motion [data-card].is-in .work-card__link:hover .work-card__media img {
	transform: scale(1.04);
}

.motion [data-reveal-image] {
	opacity: 0;
	transform: translateY(40px);
	transition: opacity 1s ease, transform 1.3s var(--ease-out);
}

.motion [data-reveal-image].is-in {
	opacity: 1;
	transform: none;
}

.motion [data-split] .split-word > span {
	transform: translateY(105%);
	transition: transform 1.1s var(--ease-out);
	transition-delay: calc(var(--i, 0) * 60ms);
}

.motion [data-split].is-in .split-word > span {
	transform: none;
}

/* Keyframes --------------------------------------------------------------- */
@keyframes kb {
	from { transform: scale(1.14); }
	to { transform: scale(1.02); }
}

@keyframes tick {
	from { transform: scaleX(0); }
	to { transform: scaleX(1); }
}

@keyframes marquee {
	from { transform: translateX(0); }
	to { transform: translateX(-50%); }
}

@keyframes rise {
	from { opacity: 0; transform: translateY(24px); }
	to { opacity: 1; transform: none; }
}

.work-card.is-entering {
	animation: rise 0.8s var(--ease-out) both;
}

/* Responsive -------------------------------------------------------------- */
@media (max-width: 900px) {
	.primary-nav {
		display: none;
	}

	.site-header__cta {
		margin-left: auto;
	}

	.menu-toggle {
		display: block;
	}

	/* Hero: the photo becomes the backdrop. */
	.hero {
		align-items: flex-end;
	}

	.hero__inner {
		grid-template-columns: minmax(0, 1fr);
		align-items: end;
	}

	.hero__frame {
		position: absolute;
		inset: 0;
		z-index: 0;
	}

	.hero__slides {
		position: absolute;
		inset: 0;
		min-height: 0;
	}

	.hero__frame::after {
		content: "";
		position: absolute;
		inset: 0;
		z-index: 3;
		background: linear-gradient(0deg, var(--bg) 8%, color-mix(in srgb, var(--bg) 55%, transparent) 45%, color-mix(in srgb, var(--bg) 20%, transparent) 100%);
	}

	.hero__index {
		display: none;
	}

	.hero__text {
		color: var(--text);
	}

	.industries__grid {
		grid-template-columns: minmax(0, 1fr);
	}

	.industries__media {
		display: none;
	}

	.industries__items {
		display: grid;
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 24px 12px;
		border: 0;
	}

	.industries__item {
		border: 0;
	}

	.industries__item a {
		display: grid;
		gap: 6px;
		padding: 0;
		color: var(--text);
	}

	.industries__thumb {
		display: block;
		width: 100%;
		aspect-ratio: 4 / 5;
		object-fit: cover;
		margin-bottom: 6px;
	}

	.industries__name {
		font-size: 1.35rem;
	}

	.industries__text {
		display: block;
		font-size: 14px;
		color: var(--text-2);
	}

	.industries__item .icon {
		display: none;
	}

	.hero__copy {
		justify-content: flex-end;
		gap: 20px;
	}

	.about__grid,
	.contact__grid,
	.project__header {
		grid-template-columns: minmax(0, 1fr);
	}

	.contact__intro {
		position: static;
	}

	.about__media {
		max-width: 560px;
	}

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

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

	.journal .post-card:first-child {
		grid-row: auto;
	}

	.post-grid .post-card:first-child .post-card__media {
		aspect-ratio: 16 / 10;
	}
}

@media (max-width: 640px) {
	:root {
		--header-h: 64px;
	}

	body {
		font-size: 16px;
	}

	.site-title {
		font-size: 19px;
	}

	.site-header__cta {
		display: none;
	}

	.menu-toggle {
		margin-left: auto;
	}

	.hero__title {
		font-size: clamp(3.6rem, 21vw, 6rem);
	}

	.hero__actions .btn {
		flex: 1 1 auto;
	}

	.highlights {
		grid-template-columns: minmax(0, 1fr);
		gap: 0;
	}

	.highlights__item {
		padding-block: 18px;
	}

	.filters {
		flex-wrap: nowrap;
		overflow-x: auto;
		margin-inline: calc(-1 * var(--gutter));
		padding-inline: var(--gutter);
		scrollbar-width: none;
	}

	.filters::-webkit-scrollbar {
		display: none;
	}

	.work-grid {
		columns: 2;
		column-gap: 10px;
	}

	.work-grid.is-masonry {
		gap: 10px;
	}

	.work-card {
		margin-bottom: 22px;
	}

	.work-card__caption {
		display: block;
		padding-top: 8px;
	}

	.work-card__title {
		display: block;
		font-size: 1rem;
	}

	.work-card__meta {
		font-size: 13px;
	}

	.post-grid,
	.field-row,
	.project-nav,
	.project__details {
		grid-template-columns: minmax(0, 1fr);
	}

	.project-nav__item--next {
		text-align: left;
	}

	

	.lightbox__stage {
		padding: 0;
	}

	.lightbox__nav {
		top: auto;
		bottom: -68px;
		margin: 0;
		width: 44px;
		height: 44px;
	}

	.lightbox__nav--prev {
		left: auto;
		right: calc(var(--gutter) + 52px);
	}

	.lightbox__caption {
		flex-direction: column;
		align-items: flex-start;
		padding-right: calc(var(--gutter) + 110px);
	}

	.lightbox__title {
		font-size: 1.25rem;
	}
}

@media (prefers-reduced-motion: reduce) {
	html:not(.has-lenis) {
		scroll-behavior: auto;
	}

	*,
	*::before,
	*::after {
		animation-duration: 0.01ms !important;
		animation-iteration-count: 1 !important;
		transition-duration: 0.01ms !important;
		transition-delay: 0s !important;
	}

	.js .curtain {
		display: none;
	}

	.marquee__track {
		animation: none;
	}
}
