/* ==========================================================================
   Creartive Concepts — main stylesheet
   Layout language: adaptive section colours, pill header, split-text reveals.
   ========================================================================== */

:root {
	--c-dark: #151414;
	--c-teal: #072326;
	--c-beige: #f5f3f2;
	--c-sage: #d7dedc;
	--c-white: #ffffff;
	--c-black: #000000;

	--f-sans: "Be Vietnam Pro", "Helvetica Neue", Arial, sans-serif;
	--f-serif: "Playfair Display", Georgia, "Times New Roman", serif;

	--container: 1206px;
	--gutter: clamp(20px, 4vw, 40px);
	--header-h: 100px;
	--sp: clamp(56px, 7vw, 100px);
	--sp-sm: clamp(44px, 5vw, 72px);

	--ease: cubic-bezier(.23, 1, .32, 1);
	--ease-in-out: cubic-bezier(.65, 0, .35, 1);

	--fs-hero: clamp(46px, 7.5vw, 108px);
	--fs-h1: clamp(42px, 6vw, 88px);
	--fs-h2: clamp(32px, 3.5vw, 50px);
	--fs-h3: clamp(26px, 2.8vw, 40px);
	--fs-h4: clamp(22px, 2.3vw, 33px);
	--fs-body: 15px;
	--fs-small: 13px;
	--fs-label: 11px;

	--page-bg: var(--c-dark);
	--fg: #fff;
	--fg-2: rgba(255, 255, 255, .65);
	--line: rgba(255, 255, 255, .14);
}

/* Colour context per section */
/* Before JS runs each section uses its own palette; afterwards all
   sections follow the live page background so text never loses contrast. */
[data-lum="dark"],
body.bg-is-dark [data-lum] {
	--fg: #fff;
	--fg-2: rgba(255, 255, 255, .62);
	--line: rgba(255, 255, 255, .16);
	--card: rgba(255, 255, 255, .04);
	--inv: #000;
}

[data-lum="light"],
body.bg-is-light [data-lum] {
	--fg: #000;
	--fg-2: rgba(0, 0, 0, .66);
	--line: rgba(0, 0, 0, .16);
	--card: rgba(255, 255, 255, .5);
	--inv: #fff;
}

/* Overlays keep a fixed palette. */
body .menu.menu[data-lum] {
	--fg: #fff;
	--fg-2: rgba(255, 255, 255, .62);
	--line: rgba(255, 255, 255, .16);
	--card: rgba(255, 255, 255, .04);
	--inv: #000;
}

body .panel .panel__inner[data-lum],
body .popup .popup__box[data-lum] {
	--fg: #000;
	--fg-2: rgba(0, 0, 0, .66);
	--line: rgba(0, 0, 0, .16);
	--card: rgba(255, 255, 255, .5);
	--inv: #fff;
}

[data-lum] {
	color: var(--fg);
}

/* --------------------------------------------------------------------------
   Base
   -------------------------------------------------------------------------- */

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

html {
	-webkit-text-size-adjust: 100%;
	scroll-padding-top: 100px;
}

body {
	margin: 0;
	font-family: var(--f-sans);
	font-size: var(--fs-body);
	font-weight: 400;
	line-height: 1.65;
	color: var(--fg);
	background: var(--c-dark);
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	overflow-x: hidden;
}

body.is-locked {
	overflow: hidden;
}

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

a {
	color: inherit;
	text-decoration: none;
}

p {
	margin: 0 0 1.2em;
}

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

h1, h2, h3, h4, h5, h6 {
	overflow-wrap: anywhere;
	margin: 0;
	font-weight: 600;
	line-height: 1;
	letter-spacing: -.01em;
	color: var(--fg);
}

em.accent,
.serif {
	font-family: var(--f-serif);
	font-style: italic;
	font-weight: 400;
	letter-spacing: 0;
}

button,
input,
select,
textarea {
	font: inherit;
	color: inherit;
}

button {
	cursor: pointer;
	background: none;
	border: 0;
	padding: 0;
}

::selection {
	background: #000;
	color: #fff;
}

[data-lum="dark"] ::selection {
	background: #fff;
	color: #000;
}

:focus-visible {
	outline: 2px solid currentColor;
	outline-offset: 3px;
}

.screen-reader-text,
.sr-only {
	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 {
	position: fixed;
	top: -100px;
	left: 20px;
	z-index: 1000;
	padding: 10px 18px;
	background: #fff;
	color: #000;
	border-radius: 40px;
}

.skip-link:focus {
	top: 20px;
}

.container {
	width: 100%;
	max-width: calc(var(--container) + var(--gutter) * 2);
	margin: 0 auto;
	padding: 0 var(--gutter);
}

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

.label {
	display: inline-block;
	font-size: var(--fs-label);
	font-weight: 500;
	letter-spacing: .14em;
	text-transform: uppercase;
	color: var(--fg);
}

.muted {
	color: var(--fg-2);
}

.text {
	color: var(--fg-2);
	max-width: 520px;
}

/* --------------------------------------------------------------------------
   Adaptive page background + grid lines
   -------------------------------------------------------------------------- */

.page-bg {
	position: fixed;
	inset: 0;
	z-index: -2;
	background: var(--page-bg);
	transition: background-color .6s var(--ease);
}

.page-lines {
	position: fixed;
	inset: 0;
	z-index: -1;
	pointer-events: none;
	display: flex;
	justify-content: space-between;
	max-width: calc(var(--container) + var(--gutter) * 2);
	margin: 0 auto;
	padding: 0 var(--gutter);
	opacity: 0;
	transition: opacity .9s var(--ease);
}

.page-lines span {
	width: 1px;
	height: 100%;
	background: rgba(255, 255, 255, .045);
}

body.bg-is-dark .page-lines {
	opacity: 1;
}

.sec {
	position: relative;
}

.sec--pad {
	padding: var(--sp) 0;
}

.sec--pad-sm {
	padding: var(--sp-sm) 0;
}

/* Without JS each section paints its own colour. */
html:not(.js) .sec[data-bg] {
	background: var(--sec-bg);
}

/* --------------------------------------------------------------------------
   Header
   -------------------------------------------------------------------------- */

.site-header {
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	z-index: 90;
	height: var(--header-h);
	display: grid;
	grid-template-columns: 1fr auto 1fr;
	align-items: center;
	padding: 0 clamp(20px, 4.4vw, 64px);
	color: var(--hfg, #fff);
	--hline: rgba(255, 255, 255, .25);
	transition: color .5s var(--ease), transform .6s var(--ease);
	pointer-events: none;
}

.site-header > * {
	pointer-events: auto;
}

body.header-light .site-header {
	--hfg: #000;
	--hline: rgba(0, 0, 0, .18);
}

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

.site-header__left,
.site-header__right {
	display: flex;
	align-items: center;
	gap: 12px;
}

.site-header__right {
	justify-content: flex-end;
}

.pill {
	position: relative;
	display: inline-flex;
	align-items: center;
	gap: 14px;
	height: 44px;
	padding: 0 22px;
	border: 1px solid var(--hline);
	border-radius: 44px;
	font-size: 12px;
	font-weight: 500;
	letter-spacing: .01em;
	color: var(--hfg, currentColor);
	background: transparent;
	overflow: hidden;
	isolation: isolate;
	transition: border-color .4s var(--ease), color .4s var(--ease);
	backdrop-filter: blur(6px);
	-webkit-backdrop-filter: blur(6px);
}

.pill::before {
	content: "";
	position: absolute;
	inset: 0;
	z-index: -1;
	background: var(--hfg, #fff);
	border-radius: inherit;
	transform: translateY(101%);
	transition: transform .5s var(--ease);
}

.pill:hover {
	color: var(--hbg, #000);
	border-color: var(--hfg, #fff);
}

body.header-light .pill:hover {
	--hbg: #fff;
}

.pill:hover::before {
	transform: translateY(0);
}

.pill svg {
	width: 14px;
	height: 14px;
}

.pill--circle {
	width: 44px;
	padding: 0;
	justify-content: center;
}

.pill--circle svg {
	width: 20px;
	height: 20px;
	fill: currentColor;
}

.burger {
	display: inline-flex;
	flex-direction: column;
	gap: 5px;
	width: 18px;
}

.burger i {
	display: block;
	height: 1px;
	background: currentColor;
	transition: transform .4s var(--ease);
}

.burger i:last-child {
	width: 70%;
	margin-left: auto;
}

.pill:hover .burger i:last-child {
	transform: scaleX(1.43);
	transform-origin: right;
}

.site-logo {
	display: block;
	position: relative;
	width: clamp(110px, 10vw, 138px);
}

.site-logo img {
	width: 100%;
	height: auto;
	transition: opacity .5s var(--ease);
}

.site-logo__dark {
	position: absolute;
	inset: 0;
	opacity: 0;
}

body.header-light .site-logo__light {
	opacity: 0;
}

body.header-light .site-logo__dark {
	opacity: 1;
}

.site-logo__tag {
	display: block;
	margin-top: 5px;
	font-size: 7.5px;
	letter-spacing: .42em;
	text-align: center;
	text-transform: uppercase;
	white-space: nowrap;
	opacity: .8;
}

/* Side rails */
.rail {
	position: fixed;
	top: 50%;
	z-index: 80;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 14px;
	color: var(--hfg, #fff);
	transform: translateY(-50%);
	transition: color .5s var(--ease);
	font-size: 11px;
	font-weight: 500;
}

body.header-light .rail {
	--hfg: #000;
}

.rail--left {
	left: clamp(12px, 2.1vw, 30px);
}

.rail--right {
	right: clamp(12px, 2.1vw, 30px);
}

.rail__text {
	writing-mode: vertical-rl;
	transform: rotate(180deg);
	letter-spacing: .02em;
}

.rail--right .rail__text {
	transform: none;
}

.rail svg {
	width: 16px;
	height: 16px;
	fill: currentColor;
}

.rail a {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 14px;
}

.rail a:hover .rail__text {
	opacity: .6;
}

.rail__track {
	position: relative;
	width: 1px;
	height: 60px;
	background: currentColor;
	opacity: .35;
}

.rail__dot {
	position: absolute;
	left: 50%;
	top: 0;
	width: 5px;
	height: 5px;
	margin-left: -2.5px;
	border-radius: 50%;
	background: currentColor;
	transform: translateY(calc(var(--progress, 0) * 55px));
}

.rail--right .rail__track-wrap {
	position: relative;
}

@media (max-width: 1399px) {
	.rail {
		display: none;
	}
}

/* --------------------------------------------------------------------------
   Full-screen menu
   -------------------------------------------------------------------------- */

.menu {
	position: fixed;
	inset: 0;
	z-index: 120;
	display: flex;
	flex-direction: column;
	background: var(--c-dark);
	color: #fff;
	clip-path: inset(0 0 100% 0);
	visibility: hidden;
	transition: clip-path .9s var(--ease-in-out), visibility 0s .9s;
	overflow-y: auto;
}

.menu.is-open {
	clip-path: inset(0 0 0 0);
	visibility: visible;
	transition: clip-path .9s var(--ease-in-out), visibility 0s;
}

.menu__art {
	position: absolute;
	right: -4%;
	bottom: 0;
	width: min(58vw, 820px);
	opacity: .14;
	pointer-events: none;
}

.menu__top {
	display: flex;
	align-items: center;
	justify-content: space-between;
	height: var(--header-h);
	padding: 0 clamp(20px, 4.4vw, 64px);
}

.menu__close {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	font-size: 12px;
	color: #fff;
}

.menu__close svg {
	width: 22px;
	height: 22px;
	transition: transform .5s var(--ease);
}

.menu__close:hover svg {
	transform: rotate(90deg);
}

.menu__body {
	position: relative;
	flex: 1;
	display: grid;
	grid-template-columns: 1.1fr 1fr;
	gap: 40px;
	align-items: center;
	padding: 20px clamp(20px, 7vw, 100px) 40px;
}

.menu__nav ol {
	margin: 0;
	padding: 0;
	list-style: none;
	counter-reset: menu;
}

.menu__nav li {
	overflow: hidden;
	counter-increment: menu;
}

.menu__nav a {
	position: relative;
	display: inline-block;
	padding: 2px 34px 2px 0;
	font-size: clamp(38px, 5vw, 64px);
	font-weight: 500;
	line-height: 1.15;
	letter-spacing: -.02em;
	transform: translateY(105%);
	transition: transform .9s var(--ease), color .4s;
}

.menu__nav a::after {
	content: counter(menu, decimal-leading-zero);
	position: absolute;
	top: 12px;
	right: 0;
	font-size: 11px;
	font-weight: 400;
	letter-spacing: 0;
	opacity: .35;
}

.menu__nav a .serif {
	display: none;
}

.menu.is-open .menu__nav a {
	transform: translateY(0);
	transition-delay: calc(.35s + var(--i, 0) * .06s);
}

.menu__nav:hover a {
	color: rgba(255, 255, 255, .35);
}

.menu__nav a:hover,
.menu__nav a[aria-current="page"] {
	color: #fff !important;
}

.menu__nav a:hover .t,
.menu__nav a[aria-current="page"] .t {
	font-family: var(--f-serif);
	font-style: italic;
	font-weight: 400;
}

.menu__info {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 44px 40px;
	align-self: center;
	font-size: 13px;
	line-height: 1.7;
	opacity: 0;
	transform: translateY(30px);
	transition: opacity .6s, transform .9s var(--ease);
}

.menu.is-open .menu__info {
	opacity: 1;
	transform: none;
	transition-delay: .6s;
}

.menu__info h3 {
	margin-bottom: 14px;
	font-size: 11px;
	font-weight: 400;
	color: rgba(255, 255, 255, .45);
}

.menu__info a:hover {
	opacity: .6;
}

.menu__bottom {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 20px;
	padding: 28px clamp(20px, 7vw, 100px);
	border-top: 1px solid rgba(255, 255, 255, .1);
	font-size: 12px;
}

.availability {
	display: inline-flex;
	align-items: center;
	gap: 12px;
	color: rgba(255, 255, 255, .7);
}

.availability::before {
	content: "";
	width: 7px;
	height: 7px;
	border-radius: 50%;
	background: #b8d98a;
	box-shadow: 0 0 0 0 rgba(184, 217, 138, .6);
	animation: pulse 2s infinite;
}

@keyframes pulse {
	70% { box-shadow: 0 0 0 10px rgba(184, 217, 138, 0); }
	100% { box-shadow: 0 0 0 0 rgba(184, 217, 138, 0); }
}

/* Socials */
.socials {
	display: flex;
	gap: 10px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.socials a {
	display: grid;
	place-items: center;
	width: 44px;
	height: 44px;
	border: 1px solid var(--line, rgba(255, 255, 255, .16));
	border-radius: 50%;
	transition: background .4s var(--ease), color .4s var(--ease), border-color .4s;
}

.socials svg {
	width: 16px;
	height: 16px;
	fill: currentColor;
}

.socials a:hover {
	background: var(--fg, #fff);
	color: var(--inv, #000);
	border-color: var(--fg, #fff);
}

/* --------------------------------------------------------------------------
   Side panel
   -------------------------------------------------------------------------- */

.panel {
	position: fixed;
	inset: 0;
	z-index: 110;
	visibility: hidden;
	transition: visibility 0s .8s;
}

.panel.is-open {
	visibility: visible;
	transition: none;
}

.panel__backdrop {
	position: absolute;
	inset: 0;
	background: rgba(0, 0, 0, .35);
	opacity: 0;
	transition: opacity .6s var(--ease);
}

.panel.is-open .panel__backdrop {
	opacity: 1;
}

.panel__inner {
	position: absolute;
	top: 0;
	right: 0;
	bottom: 0;
	width: min(640px, 100%);
	display: flex;
	flex-direction: column;
	gap: 40px;
	padding: 36px clamp(24px, 4vw, 60px) 48px;
	background: #fff;
	color: #000;
	overflow-y: auto;
	transform: translateX(100%);
	transition: transform .8s var(--ease-in-out);
}

.panel.is-open .panel__inner {
	transform: none;
}

.panel__head {
	display: flex;
	align-items: center;
	justify-content: space-between;
}

.panel__close {
	display: grid;
	place-items: center;
	width: 44px;
	height: 44px;
	border: 1px solid rgba(0, 0, 0, .15);
	border-radius: 50%;
}

.panel__close svg {
	width: 18px;
	height: 18px;
	transition: transform .5s var(--ease);
}

.panel__close:hover svg {
	transform: rotate(90deg);
}

.hatch {
	width: 80px;
	height: 8px;
	background: repeating-linear-gradient(-60deg, currentColor 0 1px, transparent 1px 5px);
	opacity: .5;
}

.panel__title {
	font-size: clamp(30px, 3.2vw, 44px);
	font-weight: 500;
	line-height: 1.15;
	letter-spacing: -.02em;
}

.panel__grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 28px;
	font-size: 13px;
}

.panel__grid h3 {
	margin-bottom: 10px;
	font-size: 11px;
	font-weight: 400;
	color: rgba(0, 0, 0, .5);
}

.panel__art {
	position: absolute;
	right: 0;
	bottom: 0;
	width: 280px;
	opacity: .5;
	pointer-events: none;
}

/* --------------------------------------------------------------------------
   Enquiry popup
   -------------------------------------------------------------------------- */

.popup {
	position: fixed;
	inset: 0;
	z-index: 130;
	display: grid;
	place-items: center;
	padding: 20px;
	visibility: hidden;
	transition: visibility 0s .7s;
}

.popup.is-open {
	visibility: visible;
	transition: none;
}

.popup__backdrop {
	position: absolute;
	inset: 0;
	background: rgba(10, 10, 10, .6);
	backdrop-filter: blur(4px);
	-webkit-backdrop-filter: blur(4px);
	opacity: 0;
	transition: opacity .6s var(--ease);
}

.popup.is-open .popup__backdrop {
	opacity: 1;
}

.popup__box {
	position: relative;
	display: grid;
	grid-template-columns: .85fr 1.15fr;
	width: min(940px, 100%);
	max-height: calc(100vh - 40px);
	max-height: calc(100dvh - 40px);
	background: #fff;
	color: #000;
	overflow: hidden;
	opacity: 0;
	transform: translateY(40px) scale(.97);
	clip-path: inset(6% 0 6% 0);
	transition: opacity .5s var(--ease), transform .9s var(--ease), clip-path .9s var(--ease-in-out);
}

.popup.is-open .popup__box {
	opacity: 1;
	transform: none;
	clip-path: inset(0 0 0 0);
}

.popup__close {
	position: absolute;
	top: 16px;
	right: 16px;
	z-index: 3;
	display: grid;
	place-items: center;
	width: 42px;
	height: 42px;
	border: 1px solid rgba(0, 0, 0, .15);
	border-radius: 50%;
	background: #fff;
	color: #000;
}

.popup__close svg {
	width: 18px;
	height: 18px;
	transition: transform .5s var(--ease);
}

.popup__close:hover svg {
	transform: rotate(90deg);
}

.popup__media {
	position: relative;
	min-height: 100%;
	overflow: hidden;
	background: #151414;
}

.popup__media > img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	transform: scale(1.12);
	transition: transform 1.6s var(--ease);
}

.popup.is-open .popup__media > img {
	transform: scale(1);
}

.popup__media::after {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(180deg, rgba(0, 0, 0, .35), rgba(0, 0, 0, 0) 35%, rgba(0, 0, 0, .75));
}

.popup__media-caption {
	position: absolute;
	inset: 0;
	z-index: 1;
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	padding: 26px;
	color: #fff;
}

.popup__logo img {
	width: 110px;
}

.popup__points {
	display: grid;
	gap: 10px;
	margin: 0;
	padding: 0;
	list-style: none;
	font-size: 13.5px;
	font-weight: 500;
}

.popup__points li {
	display: flex;
	align-items: center;
	gap: 10px;
}

.popup__points svg {
	flex: none;
	width: 22px;
	height: 22px;
	padding: 3px;
	border-radius: 50%;
	background: #fff;
	color: #000;
}

.popup__body {
	padding: clamp(28px, 4vw, 46px) clamp(24px, 4vw, 46px);
	overflow-y: auto;
}

.popup__body .label {
	color: rgba(0, 0, 0, .55);
}

.popup__title {
	margin: 12px 50px 14px 0;
	font-size: clamp(28px, 3vw, 38px);
	line-height: 1.05;
	letter-spacing: -.02em;
}

.popup__text {
	font-size: 14px;
	color: rgba(0, 0, 0, .62);
	margin-bottom: 24px;
}

.popup .cc-form {
	--fg: #000;
	--fg-2: rgba(0, 0, 0, .55);
	--line: rgba(0, 0, 0, .16);
	--inv: #fff;
	--card: #f5f3f2;
}

.popup .cc-form__grid {
	gap: 18px 22px;
}

.popup .cc-form textarea {
	min-height: 64px;
}

.popup .cc-form__footer {
	margin-top: 24px;
}

.popup .cc-form__legal {
	display: none;
}

.popup .cc-form__footer .btn {
	width: 100%;
	justify-content: space-between;
}

@media (max-width: 760px) {
	.popup {
		padding: 12px;
		align-items: end;
	}

	.popup__box {
		grid-template-columns: 1fr;
		max-height: calc(100dvh - 24px);
		overflow-y: auto;
	}

	.popup__media {
		display: none;
	}

	.popup__body {
		overflow: visible;
	}

	.popup .cc-form__grid {
		grid-template-columns: 1fr 1fr;
	}

	.popup .cc-form__field--wide,
	.popup [data-field="email"],
	.popup [data-field="project_type"] {
		grid-column: 1 / -1;
	}
}

/* --------------------------------------------------------------------------
   Buttons & links
   -------------------------------------------------------------------------- */

.btn {
	position: relative;
	display: inline-flex;
	align-items: center;
	gap: 14px;
	height: 52px;
	padding: 0 8px 0 26px;
	border: 1px solid var(--line);
	border-radius: 60px;
	font-size: 13px;
	font-weight: 500;
	color: var(--fg);
	overflow: hidden;
	isolation: isolate;
	transition: border-color .4s var(--ease), color .5s var(--ease);
}

.btn::before {
	content: "";
	position: absolute;
	inset: -1px;
	z-index: -1;
	background: var(--fg);
	border-radius: inherit;
	transform: scaleX(0);
	transform-origin: right;
	transition: transform .7s var(--ease);
}

.btn:hover {
	color: var(--inv);
	border-color: var(--fg);
}

.btn:hover::before {
	transform: scaleX(1);
	transform-origin: left;
}

.btn__label {
	position: relative;
	display: inline-block;
	overflow: hidden;
	line-height: 1.4;
}

.btn__icon {
	display: grid;
	place-items: center;
	width: 38px;
	height: 38px;
	border-radius: 50%;
	overflow: hidden;
}

.btn__icon svg {
	width: 16px;
	height: 16px;
	transition: transform .6s var(--ease);
}

.btn:hover .btn__icon svg {
	animation: arrow-loop .7s var(--ease);
}

@keyframes arrow-loop {
	0% { transform: translateX(0); }
	45% { transform: translateX(160%); }
	46% { transform: translateX(-160%); }
	100% { transform: translateX(0); }
}

.btn--solid {
	background: var(--fg);
	color: var(--inv);
	border-color: var(--fg);
}

.btn--solid::before {
	background: transparent;
	box-shadow: inset 0 0 0 1px var(--fg);
}

.btn--solid:hover {
	background: transparent;
	color: var(--fg);
}

.btn--solid .btn__icon {
	background: var(--inv);
	color: var(--fg);
}

.link-line {
	position: relative;
	display: inline-block;
	padding-bottom: 6px;
	font-size: 13px;
	font-weight: 600;
	color: var(--fg);
}

.link-line::after {
	content: "";
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	height: 1px;
	background: currentColor;
	transform-origin: right;
	transition: transform .6s var(--ease);
}

.link-line:hover::after {
	animation: line-loop .9s var(--ease);
}

@keyframes line-loop {
	0% { transform: scaleX(1); transform-origin: right; }
	50% { transform: scaleX(0); transform-origin: right; }
	51% { transform: scaleX(0); transform-origin: left; }
	100% { transform: scaleX(1); transform-origin: left; }
}

.link-arrow {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	font-size: 11px;
	font-weight: 600;
	letter-spacing: .12em;
	text-transform: uppercase;
}

.link-arrow svg {
	width: 14px;
	height: 14px;
	transition: transform .5s var(--ease);
}

.link-arrow:hover svg {
	transform: translateX(5px);
}

/* --------------------------------------------------------------------------
   Animation primitives (activated by JS)
   -------------------------------------------------------------------------- */

.js [data-split] .w {
	max-width: 100%;
	display: inline-block;
	overflow: hidden;
	vertical-align: top;
	padding-bottom: .12em;
	margin-bottom: -.12em;
}

.js [data-split] .w > span {
	max-width: 100%;
	overflow-wrap: anywhere;
	display: inline-block;
	transform: translateY(110%) rotate(4deg);
	transform-origin: left top;
	transition: transform 1.2s var(--ease);
	transition-delay: calc(var(--i, 0) * 45ms + var(--d, 0ms));
}

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

.js [data-reveal] {
	opacity: 0;
	transform: translateY(40px);
	transition: opacity 1s var(--ease), transform 1.2s var(--ease);
	transition-delay: var(--d, 0ms);
}

.js [data-reveal="fade"] {
	transform: none;
}

.js [data-reveal="left"] {
	transform: translateX(-40px);
}

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

/* Image mask reveal */
.js [data-mask] {
	clip-path: inset(0 0 100% 0);
	transition: clip-path 1.4s var(--ease-in-out);
	transition-delay: var(--d, 0ms);
}

.js [data-mask="left"] {
	clip-path: inset(0 100% 0 0);
}

.js [data-mask="right"] {
	clip-path: inset(0 0 0 100%);
}

.js [data-mask] img,
.js [data-mask] video {
	transform: scale(1.35);
	transition: transform 1.8s var(--ease);
	transition-delay: var(--d, 0ms);
}

.js [data-mask].is-in {
	clip-path: inset(0 0 0 0);
}

.js [data-mask].is-in img,
.js [data-mask].is-in video {
	transform: scale(1);
}

/* Parallax media: image is oversized so it can travel. */
.media {
	position: relative;
	overflow: hidden;
	background: rgba(127, 127, 127, .12);
}

.media img,
.media video {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.media [data-parallax-img] {
	height: 118%;
	margin-top: -9%;
	will-change: transform;
}

/* Animated lines */
.js [data-line] {
	transform: scaleX(0);
	transform-origin: left;
	transition: transform 1.4s var(--ease-in-out);
	transition-delay: var(--d, 0ms);
}

.js [data-line].is-in {
	transform: scaleX(1);
}

.js [data-line="y"] {
	transform: scaleY(0);
	transform-origin: top;
}

.js [data-line="y"].is-in {
	transform: scaleY(1);
}

/* SVG line drawing */
.js [data-draw] path,
.js [data-draw] line,
.js [data-draw] polyline,
.js [data-draw] rect,
.js [data-draw] circle {
	stroke-dasharray: 1;
	stroke-dashoffset: 1;
	transition: stroke-dashoffset 2.6s var(--ease-in-out);
	transition-delay: calc(var(--i, 0) * 40ms);
}

.js [data-draw].is-in path,
.js [data-draw].is-in line,
.js [data-draw].is-in polyline,
.js [data-draw].is-in rect,
.js [data-draw].is-in circle {
	stroke-dashoffset: 0;
}

@media (prefers-reduced-motion: reduce) {
	*,
	*::before,
	*::after {
		animation-duration: .01ms !important;
		transition-duration: .01ms !important;
		transition-delay: 0ms !important;
		scroll-behavior: auto !important;
	}
	/* The scroll-driven hero zoom never runs, so show the image at full size. */
	:root {
		--hs: 1;
	}
}

/* --------------------------------------------------------------------------
   Headings
   -------------------------------------------------------------------------- */

.heading {
	font-size: var(--fs-h2);
	line-height: 1;
}

.heading .accent {
	display: inline-block;
	line-height: 1.12;
}

.heading--h3 {
	font-size: var(--fs-h3);
}

.heading--h4 {
	font-size: var(--fs-h4);
	line-height: 1.12;
}

.heading--xl {
	font-size: var(--fs-h1);
	line-height: .98;
	letter-spacing: -.025em;
}

.intro-row {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 40px 80px;
	align-items: end;
}

.intro-row .label {
	margin-bottom: 26px;
}

.intro-row .text {
	max-width: 440px;
	justify-self: end;
}

/* --------------------------------------------------------------------------
   HOME · 1 Hero
   -------------------------------------------------------------------------- */

.hero {
	position: relative;
	padding-top: clamp(130px, 17vh, 180px);
}

.hero__title-wrap {
	position: relative;
	z-index: 3;
	text-align: center;
	will-change: transform;
}

.hero__title {
	font-size: var(--fs-hero);
	font-weight: 600;
	line-height: 1;
	letter-spacing: -.01em;
	color: #fff;
}

.hero__title .accent {
	position: relative;
	display: inline-block;
	font-weight: 400;
	letter-spacing: -.02em;
	padding: 0 .04em;
}

.hero__underline {
	position: absolute;
	left: 0;
	right: 0;
	bottom: -.02em;
	width: 100%;
	height: .14em;
	overflow: visible;
}

.hero__underline path {
	fill: none;
	stroke: currentColor;
	stroke-width: 3;
	stroke-linecap: round;
	stroke-dasharray: 1;
	stroke-dashoffset: 1;
	transition: stroke-dashoffset 1.6s var(--ease-in-out) 1.1s;
}

.is-loaded .hero__underline path {
	stroke-dashoffset: 0;
}

.hero__cta {
	margin-top: clamp(30px, 4vw, 50px);
}

.hero__cta .btn {
	--fg: #fff;
	--inv: #000;
	--line: rgba(255, 255, 255, .3);
	height: 48px;
}

.hero__media-wrap {
	position: relative;
	z-index: 2;
	margin-top: clamp(40px, 5vw, 70px);
}

.hero__media {
	position: relative;
	aspect-ratio: 16 / 10.5;
	max-height: 92vh;
	width: 100%;
	overflow: hidden;
	transform: scale(var(--hs, .8));
	transform-origin: center top;
	will-change: transform;
}

.hero__media img,
.hero__media video {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.hero__media::after {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(180deg, rgba(0, 0, 0, .25) 0, rgba(0, 0, 0, 0) 30%, rgba(0, 0, 0, 0) 70%, rgba(0, 0, 0, .35));
	pointer-events: none;
}

.hero__caption {
	position: absolute;
	left: 28px;
	right: 28px;
	bottom: 24px;
	z-index: 2;
	display: flex;
	justify-content: space-between;
	align-items: flex-end;
	gap: 20px;
	font-size: 12px;
	color: #fff;
}

.hero__caption strong {
	display: block;
	font-size: 14px;
	font-weight: 500;
}

/* Hero load-in */
.js .hero__cta,
.js .hero__media-wrap {
	opacity: 0;
	transform: translateY(40px);
	transition: opacity 1.2s var(--ease), transform 1.4s var(--ease);
}

.js .hero__cta {
	transition-delay: .9s;
}

.js .hero__media-wrap {
	transition-delay: 1.1s;
}

.is-loaded .hero__cta,
.is-loaded .hero__media-wrap {
	opacity: 1;
	transform: none;
}

/* --------------------------------------------------------------------------
   HOME · 2 About
   -------------------------------------------------------------------------- */

.about {
	padding: var(--sp) 0;
}

.about__grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 60px;
	align-items: center;
}

.about__copy .label {
	margin-bottom: 30px;
}

.about__copy .heading {
	font-size: var(--fs-h4);
	line-height: 1.1;
	max-width: 480px;
	margin-bottom: 30px;
}

.about__copy .heading .accent {
	display: inline;
}

.about__copy .text {
	max-width: 440px;
}

.about__art {
	color: #fff;
	opacity: .55;
}

.about__art svg {
	width: 100%;
	height: auto;
}

.wire path,
.wire line,
.wire polyline,
.wire rect,
.wire circle {
	fill: none;
	stroke: currentColor;
	stroke-width: 1;
	vector-effect: non-scaling-stroke;
}

.wire .thin {
	stroke-opacity: .45;
}

.wire circle {
	fill: currentColor;
	stroke: none;
}

/* --------------------------------------------------------------------------
   HOME · 3 Featured projects
   -------------------------------------------------------------------------- */

.featured {
	padding: var(--sp) 0;
}

.feature {
	display: grid;
	grid-template-columns: minmax(0, 1.28fr) minmax(0, 1fr);
	gap: clamp(30px, 6vw, 100px);
	align-items: center;
	margin-top: clamp(48px, 6vw, 96px);
}

.feature__media {
	aspect-ratio: 530 / 390;
}

.feature__meta .label {
	margin-bottom: 14px;
	color: var(--fg-2);
}

.feature__place {
	display: block;
	font-family: var(--f-serif);
	font-style: italic;
	font-size: var(--fs-h3);
	line-height: 1.15;
	font-weight: 400;
}

.feature__name {
	font-size: var(--fs-h3);
	line-height: 1;
	margin-bottom: 34px;
}

.feature__meta p {
	max-width: 340px;
	color: var(--fg-2);
	margin-bottom: 28px;
}

.feature--reverse {
	grid-template-columns: minmax(0, .8fr) minmax(0, 1.3fr);
}

.feature--reverse .feature__media {
	order: 2;
	aspect-ratio: 530 / 400;
}

.feature--reverse .feature__meta {
	position: relative;
	align-self: stretch;
	display: flex;
	flex-direction: column;
	justify-content: center;
	padding-bottom: 60px;
}

.feature--reverse .feature__meta .feature__rule {
	position: absolute;
	left: 0;
	bottom: 0;
	width: 60%;
	height: 1px;
	background: var(--line);
}

.feature__media-link {
	display: block;
	height: 100%;
}

.feature__media-link img {
	transition: transform 1.4s var(--ease), filter .8s;
}

.feature__media-link:hover img {
	transform: scale(1.04);
}

/* --------------------------------------------------------------------------
   HOME · 4 Big words
   -------------------------------------------------------------------------- */

.words {
	padding: var(--sp) 0 var(--sp-sm);
}

.words__rule {
	width: min(360px, 40%);
	height: 1px;
	background: var(--line);
	margin-bottom: clamp(40px, 5vw, 60px);
}

.words__list {
	margin: 0;
	padding: 0;
	list-style: none;
	font-family: var(--f-serif);
	font-style: italic;
	font-size: clamp(40px, 5.6vw, 82px);
	line-height: 1.12;
	letter-spacing: -.02em;
}

.words__list li {
	display: inline;
}

.words__list li:not(:last-child)::after {
	content: " · ";
	white-space: pre;
}

.words__word {
	display: inline-block;
	cursor: default;
	transition: opacity .5s var(--ease), letter-spacing .6s var(--ease);
}

.words__list:hover .words__word {
	opacity: .22;
}

.words__list .words__word:hover {
	opacity: 1;
}

.hover-img {
	position: fixed;
	top: 0;
	left: 0;
	z-index: 60;
	width: 260px;
	aspect-ratio: 3 / 4;
	pointer-events: none;
	overflow: hidden;
	opacity: 0;
	transform: translate3d(var(--x, 0), var(--y, 0), 0) translate(-50%, -50%) scale(.8);
	transition: opacity .4s var(--ease), transform .8s var(--ease);
}

.hover-img.is-on {
	opacity: 1;
	transform: translate3d(var(--x, 0), var(--y, 0), 0) translate(-50%, -50%) scale(1);
}

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

@media (hover: none) {
	.hover-img {
		display: none;
	}
}

/* --------------------------------------------------------------------------
   HOME · 5 Capabilities
   -------------------------------------------------------------------------- */

.caps {
	padding: var(--sp-sm) 0 var(--sp);
}

.caps__rule {
	width: 160px;
	height: 1px;
	background: var(--line);
	margin: clamp(40px, 5vw, 70px) 0 clamp(32px, 4vw, 56px);
}

.caps__grid {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 50px clamp(24px, 3vw, 48px);
}

.cap__top {
	display: flex;
	align-items: center;
	gap: 16px;
	margin-bottom: 30px;
}

.cap__icon {
	width: 48px;
	height: 48px;
	flex: none;
	color: var(--fg);
}

.cap__icon svg {
	width: 100%;
	height: 100%;
}

.cap__line {
	flex: 1;
	height: 1px;
	background: var(--line);
}

.cap__num {
	display: grid;
	place-items: center;
	flex: none;
	width: 24px;
	height: 24px;
	border-radius: 50%;
	background: var(--fg);
	color: var(--inv);
	font-size: 11px;
	font-weight: 600;
}

.cap h3 {
	font-size: 14px;
	line-height: 1.3;
	margin-bottom: 12px;
}

.cap p {
	font-size: var(--fs-small);
	color: var(--fg-2);
	max-width: 240px;
}

/* --------------------------------------------------------------------------
   HOME · 6 Services (teal)
   -------------------------------------------------------------------------- */

.services-band {
	padding: var(--sp) 0;
}

.gallery3 {
	display: grid;
	grid-template-columns: 1fr 1.05fr 1fr;
	gap: 0;
	height: clamp(360px, 44vw, 640px);
}

.gallery3 .media {
	height: 100%;
}

.gallery3 .media:nth-child(2) {
	margin-top: -30px;
	height: calc(100% + 30px);
}

.svc-box {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 40px 80px;
	margin-top: clamp(48px, 6vw, 90px);
	padding: clamp(36px, 5vw, 70px);
	border: 1px solid var(--line);
}

.svc-box .label {
	margin-bottom: 26px;
	color: var(--fg-2);
	max-width: 280px;
	line-height: 1.6;
}

.svc-box .heading {
	margin-bottom: 26px;
}

.svc-list {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 0 40px;
	margin: 0;
	padding: 0;
	list-style: none;
	align-self: center;
}

.svc-list a {
	position: relative;
	display: flex;
	align-items: center;
	gap: 14px;
	padding: 9px 0;
	font-size: 14px;
	color: var(--fg-2);
	transition: color .4s, padding .5s var(--ease);
}

.svc-list a::before {
	content: "";
	width: 5px;
	height: 5px;
	border-radius: 50%;
	background: currentColor;
	flex: none;
	transition: width .5s var(--ease), border-radius .5s;
}

.svc-list a:hover {
	color: var(--fg);
}

.svc-list a:hover::before {
	width: 18px;
	border-radius: 3px;
	height: 1px;
}

/* Service cards */
.services-band .intro-row {
	margin-bottom: clamp(50px, 6vw, 80px);
}

.services-band__aside {
	justify-self: end;
	max-width: 440px;
}

.services-band__aside .text {
	margin-bottom: 28px;
}

.scards {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: clamp(16px, 2vw, 28px);
}

.scard {
	position: relative;
	display: flex;
	flex-direction: column;
	border: 1px solid var(--line);
	background: var(--card);
	transition: border-color .5s var(--ease), transform .7s var(--ease), background .5s var(--ease);
}

.scard:hover {
	border-color: var(--fg);
	transform: translateY(-6px);
}

.scard__media {
	display: block;
	aspect-ratio: 16 / 10;
}

.scard__media img {
	transition: transform 1.4s var(--ease);
}

.scard:hover .scard__media img {
	transform: scale(1.06);
}

.scard__num {
	position: absolute;
	top: 14px;
	left: 14px;
	display: grid;
	place-items: center;
	min-width: 38px;
	height: 38px;
	padding: 0 10px;
	border-radius: 40px;
	background: #fff;
	color: #000;
	font-size: 12px;
	font-weight: 600;
}

.scard__body {
	position: relative;
	flex: 1;
	display: flex;
	flex-direction: column;
	padding: 26px clamp(20px, 2vw, 28px) 26px;
}

.scard__icon {
	position: absolute;
	top: -28px;
	right: 22px;
	display: grid;
	place-items: center;
	width: 56px;
	height: 56px;
	border-radius: 50%;
	background: var(--fg);
	color: var(--inv);
	transition: transform .7s var(--ease);
}

.scard__icon svg {
	width: 30px;
	height: 30px;
}

.scard:hover .scard__icon {
	transform: rotate(-12deg) scale(1.06);
}

.scard__title {
	font-size: clamp(19px, 1.6vw, 23px);
	line-height: 1.2;
	margin: 6px 60px 12px 0;
}

.scard__title a::after {
	content: "";
	position: absolute;
	inset: 0;
	z-index: 1;
}

.scard__title a:focus-visible {
	outline: none;
}

.scard:focus-within {
	outline: 2px solid var(--fg);
	outline-offset: 3px;
}

.scard__lede {
	font-size: 14px;
	line-height: 1.6;
	color: var(--fg-2);
	margin-bottom: 18px;
}

.scard__points {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
	margin: 0 0 24px;
	padding: 0;
	list-style: none;
}

.scard__points li {
	padding: 5px 12px;
	border: 1px solid var(--line);
	border-radius: 30px;
	font-size: 11.5px;
	color: var(--fg);
}

.scard__more {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	margin-top: auto;
	padding-top: 18px;
	border-top: 1px solid var(--line);
	font-size: 12px;
	font-weight: 600;
	letter-spacing: .06em;
	text-transform: uppercase;
}

.scard__more svg {
	width: 16px;
	height: 16px;
	transition: transform .5s var(--ease);
}

.scard:hover .scard__more svg {
	transform: translateX(6px);
}

.shelp {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
	margin-top: clamp(40px, 5vw, 60px);
	padding: clamp(26px, 3vw, 40px);
	border: 1px solid var(--line);
}

.shelp__title {
	font-size: clamp(22px, 2vw, 28px);
	margin-bottom: 8px;
}

.shelp__text {
	color: var(--fg-2);
	margin: 0;
}

@media (max-width: 1024px) {
	.scards {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 860px) {
	.services-band__aside {
		justify-self: start;
	}
}

@media (max-width: 640px) {
	.scards {
		grid-template-columns: 1fr;
	}
}

/* --------------------------------------------------------------------------
   HOME · 7 Statement + process
   -------------------------------------------------------------------------- */

.statement {
	padding: var(--sp) 0 var(--sp-sm);
}

.statement__grid {
	display: grid;
	grid-template-columns: 1fr 1.22fr;
	align-items: center;
}

.statement__box {
	position: relative;
	z-index: 1;
	border: 1px solid var(--fg);
	border-right: 0;
	background: transparent;
}

.statement__box-head {
	padding: 14px 24px;
	border-bottom: 1px solid var(--fg);
}

.statement__box-body {
	padding: clamp(60px, 9vw, 130px) clamp(24px, 3vw, 44px) clamp(30px, 3vw, 44px);
}

.statement__box .heading {
	font-size: clamp(32px, 3.2vw, 45px);
	margin-bottom: 24px;
}

.statement__box p {
	max-width: 400px;
}

.statement__media {
	position: relative;
	aspect-ratio: 700 / 560;
	margin-top: -140px;
}

.statement__media::before {
	content: "";
	position: absolute;
	left: 0;
	right: 0;
	top: 140px;
	height: 1px;
	background: var(--fg);
	z-index: 2;
	pointer-events: none;
	display: none;
}

.process {
	display: grid;
	grid-template-columns: .9fr 3.1fr;
	gap: 40px;
	align-items: start;
	margin-top: clamp(44px, 5vw, 72px);
}

.process__title {
	font-size: clamp(32px, 3vw, 42px);
	padding-top: 14px;
}

.process__title sup {
	font-size: .38em;
	vertical-align: top;
	margin-left: 4px;
	font-weight: 500;
}

.process__grid {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 14px;
}

.step {
	padding: 16px 16px 24px;
	border: 1px solid var(--fg);
	transition: background .5s var(--ease), color .5s var(--ease);
}

.step:hover {
	background: var(--fg);
	color: var(--inv);
}

.step:hover h3,
.step:hover p {
	color: var(--inv);
}

.step h3 {
	display: flex;
	align-items: baseline;
	gap: 10px;
	margin-bottom: 18px;
	font-size: 15px;
	line-height: 1.2;
	transition: color .5s;
}

.step h3 b {
	font-size: clamp(26px, 2.2vw, 32px);
	font-weight: 600;
}

.step p {
	font-size: 12.5px;
	line-height: 1.6;
	color: var(--fg);
	transition: color .5s;
}

/* --------------------------------------------------------------------------
   HOME · 8 Projects call-out
   -------------------------------------------------------------------------- */

.callout {
	padding: var(--sp-sm) 0 var(--sp);
}

.callout__grid {
	position: relative;
	display: grid;
	grid-template-columns: 1fr 1.55fr 1fr;
	align-items: start;
}

.frame {
	position: relative;
	padding: 8px;
	border: 1px solid var(--fg);
}

.frame .media {
	aspect-ratio: 305 / 400;
}

.callout__grid .frame:last-child {
	margin-top: 0;
}

.callout__center {
	position: relative;
	text-align: center;
	padding: 0 clamp(16px, 3vw, 50px);
}

.callout__center::before {
	content: "";
	position: absolute;
	top: 30px;
	left: 0;
	right: 0;
	height: 1px;
	background: var(--fg);
	transform: scaleX(var(--lx, 1));
}

.callout__center .label {
	display: block;
	padding: 44px 0 0;
	margin-bottom: clamp(60px, 9vw, 130px);
}

.callout__center .heading {
	margin-bottom: 30px;
}

.callout__center p {
	max-width: 380px;
	margin: 0 auto 36px;
}

/* --------------------------------------------------------------------------
   HOME · 9 Principles list
   -------------------------------------------------------------------------- */

.principles {
	padding: var(--sp) 0 var(--sp-sm);
}

.principles__bar {
	display: flex;
	justify-content: space-between;
	margin-top: clamp(50px, 6vw, 80px);
	padding-bottom: 18px;
	position: relative;
}

.principles__bar::after,
.plist li::after {
	content: "";
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	height: 1px;
	background: var(--fg);
	opacity: .9;
	transform: scaleX(var(--sx, 1));
	transform-origin: left;
	transition: transform 1.4s var(--ease-in-out);
	transition-delay: var(--d, 0ms);
}

.plist li::after {
	opacity: .14;
}

.js .principles__bar:not(.is-in),
.js .plist li:not(.is-in) {
	--sx: 0;
}

.principles__body {
	display: grid;
	grid-template-columns: 1fr 2fr;
	gap: 40px;
	margin-top: 36px;
}

.principles__side {
	position: relative;
	font-size: var(--fs-small);
	color: var(--fg-2);
	max-width: 280px;
	min-height: 260px;
}

.principles__side .wire {
	position: absolute;
	left: -10%;
	bottom: -20px;
	width: 130%;
	opacity: .12;
	color: #000;
	z-index: -1;
}

.plist {
	margin: 0;
	padding: 0;
	list-style: none;
}

.plist li {
	position: relative;
	display: grid;
	grid-template-columns: 60px 1fr auto;
	align-items: center;
	gap: 20px;
	padding: 26px 0;
}

.plist .n {
	font-size: 12px;
	color: var(--fg-2);
}

.plist .t {
	font-size: clamp(15px, 1.3vw, 17px);
	font-weight: 600;
	transition: transform .6s var(--ease);
}

.plist .m {
	font-size: 13px;
	color: var(--fg-2);
	text-align: right;
}

.plist li:hover .t {
	transform: translateX(10px);
}

/* --------------------------------------------------------------------------
   Cards (journal)
   -------------------------------------------------------------------------- */

.news {
	padding: var(--sp-sm) 0 var(--sp);
}

.news__head {
	display: flex;
	justify-content: space-between;
	align-items: flex-end;
	gap: 30px;
	margin-bottom: clamp(40px, 5vw, 60px);
}

.cards {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 50px clamp(20px, 2.5vw, 34px);
}

.card {
	position: relative;
}

.card__media {
	position: relative;
	display: block;
	aspect-ratio: 360 / 390;
	margin-bottom: 26px;
}

.card__media img {
	transition: transform 1.4s var(--ease);
}

.card:hover .card__media img {
	transform: scale(1.06);
}

.card__tab {
	position: absolute;
	right: 0;
	bottom: 0;
	z-index: 2;
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 14px 16px 12px 20px;
	background: var(--page-tab, #fff);
	color: #000;
	font-size: 10px;
	font-weight: 600;
	letter-spacing: .12em;
	text-transform: uppercase;
}

.card__tab svg {
	width: 12px;
	height: 12px;
	transition: transform .5s var(--ease);
}

.card:hover .card__tab svg {
	transform: rotate(90deg);
}

.card .label {
	margin-bottom: 12px;
	font-size: 10px;
	color: var(--fg-2);
}

.card__title {
	font-size: clamp(15px, 1.25vw, 17px);
	font-weight: 600;
	line-height: 1.4;
}

.card__title a {
	background-image: linear-gradient(currentColor, currentColor);
	background-size: 0 1px;
	background-repeat: no-repeat;
	background-position: 0 100%;
	transition: background-size .6s var(--ease);
}

.card:hover .card__title a {
	background-size: 100% 1px;
}

.card__excerpt {
	margin-top: 12px;
	font-size: var(--fs-small);
	color: var(--fg-2);
}

.card__link::after {
	content: "";
	position: absolute;
	inset: 0;
	z-index: 1;
}

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */

.site-footer {
	position: relative;
	padding-top: var(--sp);
	color: #fff;
}

.site-footer::before {
	content: "";
	position: absolute;
	inset: 0;
	z-index: -1;
	background: var(--c-dark);
}

.footer__lines {
	position: absolute;
	inset: 0;
	z-index: 0;
	display: flex;
	justify-content: space-between;
	max-width: calc(var(--container) + var(--gutter) * 2);
	margin: 0 auto;
	padding: 0 var(--gutter);
	pointer-events: none;
}

.footer__lines span {
	width: 1px;
	background: rgba(255, 255, 255, .05);
}

.footer__top {
	position: relative;
	display: grid;
	grid-template-columns: 1.4fr 1fr;
	gap: 50px;
}

.footer__title {
	font-size: clamp(30px, 2.8vw, 40px);
	line-height: 1.05;
	margin-bottom: clamp(40px, 5vw, 60px);
}

.footer__form {
	max-width: 460px;
}

.footer__contact {
	justify-self: end;
	text-align: right;
	font-size: 13px;
}

.footer__address {
	font-size: clamp(18px, 1.6vw, 22px);
	line-height: 1.3;
	font-weight: 500;
	margin-bottom: 34px;
	white-space: pre-line;
}

.footer__contact h3 {
	margin: 28px 0 8px;
	font-size: 9px;
	font-weight: 500;
	letter-spacing: .14em;
	text-transform: uppercase;
	color: rgba(255, 255, 255, .45);
}

.footer__contact a {
	font-size: 14px;
	font-weight: 500;
	transition: opacity .3s;
}

.footer__contact a:hover {
	opacity: .6;
}

.footer__contact .big {
	font-size: 17px;
}

.footer__bottom {
	position: relative;
	display: grid;
	grid-template-columns: 1fr auto 1fr;
	align-items: center;
	gap: 30px;
	margin-top: clamp(48px, 6vw, 90px);
	padding: 34px 0;
	border-top: 1px solid rgba(255, 255, 255, .1);
	font-size: 12px;
	color: rgba(255, 255, 255, .55);
}

.footer__bottom .socials {
	justify-content: flex-end;
}

.footer__logo {
	width: 120px;
	opacity: .95;
}

.footer__nav {
	display: flex;
	flex-wrap: wrap;
	gap: 6px 22px;
	margin: 12px 0 0;
	padding: 0;
	list-style: none;
}

.footer__nav a:hover {
	color: #fff;
}

/* --------------------------------------------------------------------------
   Forms
   -------------------------------------------------------------------------- */

.cc-form {
	position: relative;
}

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

.cc-form__grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 30px 34px;
}

.cc-form__field {
	position: relative;
	display: flex;
	flex-direction: column;
}

.cc-form__field--wide {
	grid-column: 1 / -1;
}

.cc-form label,
.cc-form legend {
	margin-bottom: 6px;
	font-size: 10px;
	font-weight: 500;
	letter-spacing: .14em;
	text-transform: uppercase;
	color: var(--fg-2);
}

.cc-form label span {
	color: var(--fg);
}

.cc-form fieldset {
	margin: 0;
	padding: 0;
	border: 0;
}

.cc-form input[type="text"],
.cc-form input[type="email"],
.cc-form input[type="tel"],
.cc-form select,
.cc-form textarea {
	width: 100%;
	padding: 12px 0;
	border: 0;
	border-bottom: 1px solid var(--line);
	border-radius: 0;
	background: transparent;
	font-size: 15px;
	color: var(--fg);
	outline: none;
	transition: border-color .4s;
	-webkit-appearance: none;
	appearance: none;
}

.cc-form textarea {
	min-height: 110px;
	resize: vertical;
	line-height: 1.6;
}

.cc-form input:focus,
.cc-form select:focus,
.cc-form textarea:focus {
	border-color: var(--fg);
}

.cc-form ::placeholder {
	color: var(--fg-2);
	opacity: .7;
}

.cc-select {
	position: relative;
}

.cc-select select {
	padding-right: 28px;
	cursor: pointer;
}

.cc-select select option {
	color: #000;
}

.cc-select svg {
	position: absolute;
	right: 0;
	top: 50%;
	width: 16px;
	height: 16px;
	transform: translateY(-50%) rotate(90deg);
	pointer-events: none;
	opacity: .6;
}

.cc-radios {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin-top: 6px;
}

.cc-radio {
	margin: 0 !important;
	cursor: pointer;
}

.cc-radio input {
	position: absolute;
	opacity: 0;
}

.cc-radio span {
	display: inline-block;
	padding: 9px 18px;
	border: 1px solid var(--line);
	border-radius: 40px;
	font-size: 12px;
	letter-spacing: 0;
	text-transform: none;
	color: var(--fg);
	transition: all .35s var(--ease);
}

.cc-radio input:checked + span {
	background: var(--fg);
	border-color: var(--fg);
	color: var(--inv);
}

.cc-radio input:focus-visible + span {
	outline: 2px solid var(--fg);
	outline-offset: 2px;
}

.cc-form__error {
	min-height: 0;
	margin-top: 6px;
	font-size: 12px;
	color: #c2410c;
}

[data-lum="dark"] .cc-form__error,
body.bg-is-dark .cc-form__error {
	color: #fdba74;
}

.cc-form__field.has-error input,
.cc-form__field.has-error select,
.cc-form__field.has-error textarea {
	border-color: #c2410c;
}

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

.cc-form__legal {
	font-size: 12px;
	color: var(--fg-2);
	max-width: 280px;
}

.cc-form__status {
	margin-top: 20px;
	font-size: 14px;
}

.cc-form__status:empty {
	display: none;
}

.cc-form.is-sent .cc-form__status {
	padding: 18px 22px;
	border: 1px solid var(--line);
	background: var(--card);
}

.cc-form.is-error .cc-form__status {
	color: #c2410c;
}

[data-lum="dark"] .cc-form.is-error .cc-form__status {
	color: #fdba74;
}

.cc-form.is-busy {
	pointer-events: none;
}

.cc-form.is-busy button[type="submit"] {
	opacity: .6;
}

.cc-form--footer .cc-form__inline {
	display: flex;
	align-items: center;
	border-bottom: 1px solid rgba(255, 255, 255, .25);
	transition: border-color .4s;
}

.cc-form--footer .cc-form__inline:focus-within {
	border-color: #fff;
}

.cc-form--footer input[type="email"] {
	flex: 1;
	border: 0;
	padding: 16px 0;
	font-size: 13px;
}

.cc-form__inline-btn {
	padding: 10px 0 10px 20px;
	font-size: 13px;
	font-weight: 500;
	color: #fff;
	white-space: nowrap;
}

.cc-form__inline-btn:hover {
	opacity: .6;
}

.cc-form__note {
	margin-top: 14px;
	font-size: 11px;
	color: rgba(255, 255, 255, .4);
}

.cc-form--footer .cc-form__status {
	font-size: 13px;
}

.panel .cc-form {
	--fg: #000;
	--fg-2: rgba(0, 0, 0, .55);
	--line: rgba(0, 0, 0, .16);
	--inv: #fff;
	--card: #f5f3f2;
}

.panel .cc-form__grid {
	gap: 22px 24px;
}

/* --------------------------------------------------------------------------
   Contact Form 7 (same look as the built-in form)
   -------------------------------------------------------------------------- */

.cc-form--cf7 .wpcf7 {
	margin: 0;
}

.cc-form--cf7 .wpcf7-form-control-wrap {
	display: block;
	margin-top: 6px;
	font-size: 15px;
	font-weight: 400;
	letter-spacing: 0;
	text-transform: none;
	color: var(--fg);
}

.cc-form--cf7 label {
	display: block;
	margin-bottom: 0;
}

.cc-form--cf7 input,
.cc-form--cf7 select,
.cc-form--cf7 textarea {
	letter-spacing: 0;
	text-transform: none;
}

.cc-form--cf7 select {
	padding-right: 28px;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='m6 9 6 6 6-6' fill='none' stroke='%23888' stroke-width='1.6'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: right 0 center;
	background-size: 16px;
	cursor: pointer;
}

.cc-form--cf7 select option {
	color: #000;
}

.cc-form--cf7 .wpcf7-radio {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin-top: 4px;
}

.cc-form--cf7 .wpcf7-list-item {
	margin: 0;
}

.cc-form--cf7 .wpcf7-list-item label {
	cursor: pointer;
}

.cc-form--cf7 .wpcf7-list-item input {
	position: absolute;
	opacity: 0;
}

.cc-form--cf7 .wpcf7-list-item-label {
	letter-spacing: 0;
	text-transform: none;
	display: inline-block;
	padding: 9px 18px;
	border: 1px solid var(--line);
	border-radius: 40px;
	font-size: 12px;
	color: var(--fg);
	transition: all .35s var(--ease);
}

.cc-form--cf7 .wpcf7-list-item input:checked + .wpcf7-list-item-label {
	background: var(--fg);
	border-color: var(--fg);
	color: var(--inv);
}

.cc-form--cf7 .wpcf7-list-item input:focus-visible + .wpcf7-list-item-label {
	outline: 2px solid var(--fg);
	outline-offset: 2px;
}

.cc-form--cf7 .wpcf7-not-valid {
	border-color: #c2410c !important;
}

.cc-form--cf7 .wpcf7-not-valid-tip {
	display: block;
	margin-top: 6px;
	font-size: 12px;
	color: #c2410c;
}

[data-lum="dark"] .cc-form--cf7 .wpcf7-not-valid-tip,
body.bg-is-dark .cc-form--cf7 .wpcf7-not-valid-tip {
	color: #fdba74;
}

.cc-form--cf7 input.btn {
	height: 52px;
	padding: 0 30px;
	border: 1px solid var(--fg);
	background: var(--fg);
	color: var(--inv);
	cursor: pointer;
	transition: background .4s var(--ease), color .4s var(--ease);
}

.cc-form--cf7 input.btn:hover,
.cc-form--cf7 input.btn:focus-visible {
	background: transparent;
	color: var(--fg);
}

.popup .cc-form--cf7 input.btn {
	width: 100%;
}

.cc-form--cf7 .wpcf7-spinner {
	margin: 0 0 0 12px;
	background-color: var(--fg);
	opacity: .6;
}

.cc-form--cf7 .cc-form__footer {
	flex-wrap: wrap;
}

.cc-form--cf7 .wpcf7 form .wpcf7-response-output {
	margin: 20px 0 0;
	padding: 16px 20px;
	border: 1px solid var(--line);
	background: var(--card);
	font-size: 14px;
	color: var(--fg);
}

.cc-form--cf7 .wpcf7 form.invalid .wpcf7-response-output,
.cc-form--cf7 .wpcf7 form.unaccepted .wpcf7-response-output,
.cc-form--cf7 .wpcf7 form.failed .wpcf7-response-output,
.cc-form--cf7 .wpcf7 form.aborted .wpcf7-response-output,
.cc-form--cf7 .wpcf7 form.spam .wpcf7-response-output {
	border-color: #c2410c;
}

.cc-form--cf7 .wpcf7 form.sent .wpcf7-response-output {
	border-color: var(--fg);
}

/* After a successful send, show only the thank-you message. */
.cc-form--cf7.is-sent .cc-form__grid,
.cc-form--cf7.is-sent .cc-form__footer,
.cc-form--cf7.is-sent .cc-form__inline,
.cc-form--cf7.is-sent .cc-form__note {
	display: none;
}

/* Footer: email + button on one line. */
.cc-form--footer.cc-form--cf7 .cc-form__inline .wpcf7-form-control-wrap {
	flex: 1;
	margin: 0;
}

.cc-form--footer.cc-form--cf7 input.cc-form__inline-btn {
	padding: 10px 0 10px 20px;
	border: 0;
	background: none;
	font-size: 13px;
	font-weight: 500;
	color: #fff;
	cursor: pointer;
}

.cc-form--footer.cc-form--cf7 .wpcf7-spinner {
	position: absolute;
	right: 0;
	top: -26px;
}

.cc-form--footer.cc-form--cf7 .wpcf7 form .wpcf7-response-output {
	margin-top: 14px;
	padding: 10px 14px;
	font-size: 13px;
	color: #fff;
}

.cc-form--footer.cc-form--cf7 form {
	position: relative;
}

/* --------------------------------------------------------------------------
   Inner page hero
   -------------------------------------------------------------------------- */

.phero {
	position: relative;
	padding: clamp(150px, 22vh, 210px) 0 var(--sp-sm);
}

.phero__top {
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 20px;
	margin-bottom: clamp(30px, 4vw, 50px);
}

.phero__title {
	font-size: var(--fs-h1);
	line-height: .98;
	letter-spacing: -.025em;
	max-width: 1100px;
}

.phero__title .accent {
	font-weight: 400;
	letter-spacing: -.02em;
}

.phero__foot {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 30px 80px;
	align-items: end;
	margin-top: clamp(40px, 5vw, 70px);
}

.phero__foot .text {
	justify-self: end;
	max-width: 460px;
	font-size: 16px;
}

.phero__meta {
	display: flex;
	flex-wrap: wrap;
	gap: 14px 40px;
	margin: 0;
	padding: 0;
	list-style: none;
	font-size: 13px;
}

.phero__meta dt,
.phero__meta .k {
	display: block;
	font-size: 10px;
	letter-spacing: .14em;
	text-transform: uppercase;
	color: var(--fg-2);
	margin-bottom: 4px;
}

.phero__meta dd {
	margin: 0;
}

.crumbs ol {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
	margin: 0;
	padding: 0;
	list-style: none;
	font-size: 11px;
	letter-spacing: .1em;
	text-transform: uppercase;
	color: var(--fg-2);
}

.crumbs li + li::before {
	content: "/";
	margin-right: 6px;
	opacity: .5;
}

.crumbs a:hover {
	color: var(--fg);
}

.crumbs [aria-current] {
	color: var(--fg);
}

.phero__media {
	aspect-ratio: 16 / 8;
	margin-top: clamp(50px, 6vw, 80px);
	transform: scale(var(--hs, .9));
	transform-origin: center top;
	will-change: transform;
}

/* --------------------------------------------------------------------------
   Projects archive
   -------------------------------------------------------------------------- */

.filters {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin: 0 0 clamp(40px, 5vw, 70px);
	padding: 0;
	list-style: none;
}

.filters a,
.filters button {
	display: inline-block;
	padding: 10px 20px;
	border: 1px solid var(--line);
	border-radius: 40px;
	font-size: 12px;
	font-weight: 500;
	transition: all .4s var(--ease);
}

.filters a:hover,
.filters button:hover,
.filters .is-active {
	background: var(--fg);
	border-color: var(--fg);
	color: var(--inv);
}

.pgrid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: clamp(60px, 7vw, 110px) clamp(30px, 5vw, 80px);
}

.pgrid > .pcard:nth-child(even) {
	margin-top: clamp(80px, 12vw, 180px);
}

.pgrid > .pcard:nth-child(even) + .pcard {
	margin-top: 0;
}

.pcard {
	position: relative;
	transition: opacity .5s var(--ease);
}

.pcard.is-hidden {
	display: none;
}

.pcard__media {
	aspect-ratio: 4 / 5;
	margin-bottom: 26px;
}

.pcard:nth-child(4n + 1) .pcard__media {
	aspect-ratio: 5 / 6;
}

.pcard__media img {
	transition: transform 1.6s var(--ease);
}

.pcard:hover .pcard__media img {
	transform: scale(1.05);
}

.pcard__view {
	position: absolute;
	top: 50%;
	left: 50%;
	z-index: 2;
	display: grid;
	place-items: center;
	width: 110px;
	height: 110px;
	border-radius: 50%;
	background: #fff;
	color: #000;
	font-size: 11px;
	font-weight: 600;
	letter-spacing: .12em;
	text-transform: uppercase;
	transform: translate(-50%, -50%) scale(0);
	transition: transform .7s var(--ease);
	pointer-events: none;
}

.pcard:hover .pcard__view {
	transform: translate(-50%, -50%) scale(1);
}

.pcard__row {
	display: flex;
	justify-content: space-between;
	align-items: baseline;
	gap: 20px;
}

.pcard__num {
	font-size: 12px;
	color: var(--fg-2);
}

.pcard__title {
	font-size: clamp(24px, 2.4vw, 34px);
	line-height: 1.1;
	margin: 6px 0 8px;
}

.pcard__short {
	font-family: var(--f-serif);
	font-style: italic;
	font-size: 17px;
	color: var(--fg-2);
}

.pcard__type {
	font-size: 11px;
	letter-spacing: .12em;
	text-transform: uppercase;
	color: var(--fg-2);
	white-space: nowrap;
}

/* --------------------------------------------------------------------------
   Single project
   -------------------------------------------------------------------------- */

.pinfo {
	display: grid;
	grid-template-columns: 1fr 2fr;
	gap: 50px clamp(40px, 7vw, 120px);
}

.pinfo__facts {
	margin: 0;
	padding: 0;
}

.pinfo__facts div {
	display: flex;
	justify-content: space-between;
	gap: 20px;
	padding: 16px 0;
	border-bottom: 1px solid var(--line);
	font-size: 13px;
}

.pinfo__facts dt {
	color: var(--fg-2);
}

.pinfo__facts dd {
	margin: 0;
	text-align: right;
	white-space: pre-line;
}

.lede {
	font-size: clamp(22px, 2.2vw, 30px);
	line-height: 1.3;
	font-weight: 500;
	letter-spacing: -.01em;
	margin-bottom: 36px;
}

.prose {
	font-size: 16px;
	line-height: 1.8;
	color: var(--fg-2);
}

.prose > * {
	max-width: 720px;
}

.prose h2,
.prose h3,
.prose h4 {
	margin: 1.8em 0 .7em;
	color: var(--fg);
	line-height: 1.15;
}

.prose h2 {
	font-size: clamp(26px, 2.4vw, 34px);
}

.prose h3 {
	font-size: clamp(21px, 1.8vw, 25px);
}

.prose a {
	color: var(--fg);
	text-decoration: underline;
	text-underline-offset: 3px;
}

.prose blockquote {
	margin: 2em 0;
	padding: 0 0 0 28px;
	border-left: 1px solid var(--fg);
	font-family: var(--f-serif);
	font-style: italic;
	font-size: clamp(22px, 2vw, 28px);
	line-height: 1.35;
	color: var(--fg);
}

.prose img,
.prose figure {
	max-width: 100%;
	height: auto;
	margin: 2em 0;
}

.prose figcaption {
	font-size: 12px;
	margin-top: 10px;
}

.prose ul,
.prose ol {
	padding-left: 1.2em;
}

.prose li {
	margin-bottom: .4em;
}

.two-col {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 40px clamp(40px, 6vw, 100px);
}

.two-col h3 {
	font-size: 11px;
	font-weight: 500;
	letter-spacing: .14em;
	text-transform: uppercase;
	margin-bottom: 18px;
}

.pgallery {
	display: grid;
	grid-template-columns: repeat(12, minmax(0, 1fr));
	gap: clamp(14px, 2vw, 30px);
}

.pgallery a {
	display: block;
	cursor: zoom-in;
}

.pgallery .media {
	height: 100%;
}

.pgallery a:nth-child(5n + 1) {
	grid-column: span 12;
	aspect-ratio: 16 / 8.5;
}

.pgallery a:nth-child(5n + 2),
.pgallery a:nth-child(5n + 3) {
	grid-column: span 6;
	aspect-ratio: 4 / 5;
}

.pgallery a:nth-child(5n + 3) {
	margin-top: clamp(40px, 8vw, 120px);
}

.pgallery a:nth-child(5n + 4) {
	grid-column: 2 / span 5;
	aspect-ratio: 3 / 4;
}

.pgallery a:nth-child(5n + 5) {
	grid-column: 8 / span 5;
	aspect-ratio: 3 / 4;
	margin-top: clamp(60px, 10vw, 160px);
}

.pgallery img {
	transition: transform 1.4s var(--ease);
}

.pgallery a:hover img {
	transform: scale(1.04);
}

.tags {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.tags li,
.tags a {
	display: inline-block;
	padding: 8px 16px;
	border: 1px solid var(--line);
	border-radius: 40px;
	font-size: 12px;
}

.tags a:hover {
	background: var(--fg);
	color: var(--inv);
}

.next {
	position: relative;
	display: block;
	padding: var(--sp) 0;
	text-align: center;
	overflow: hidden;
}

.next__label {
	display: block;
	margin-bottom: 24px;
}

.next__title {
	font-size: clamp(48px, 9vw, 140px);
	line-height: .95;
	letter-spacing: -.03em;
	transition: letter-spacing .8s var(--ease);
}

.next__title .accent {
	font-weight: 400;
}

.next:hover .next__title {
	letter-spacing: -.01em;
}

.next__img {
	position: absolute;
	top: 50%;
	left: 50%;
	z-index: -1;
	width: min(420px, 40vw);
	aspect-ratio: 4 / 5;
	overflow: hidden;
	opacity: 0;
	transform: translate(-50%, -40%) scale(.9);
	transition: opacity .6s var(--ease), transform 1s var(--ease);
}

.next:hover .next__img {
	opacity: .5;
	transform: translate(-50%, -50%) scale(1);
}

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

/* Lightbox */
.lightbox {
	position: fixed;
	inset: 0;
	z-index: 200;
	display: grid;
	place-items: center;
	background: rgba(10, 10, 10, .96);
	opacity: 0;
	visibility: hidden;
	transition: opacity .5s var(--ease), visibility 0s .5s;
}

.lightbox.is-open {
	opacity: 1;
	visibility: visible;
	transition: opacity .5s var(--ease);
}

.lightbox img {
	max-width: 88vw;
	max-height: 84vh;
	object-fit: contain;
	transform: scale(.96);
	transition: transform .8s var(--ease), opacity .3s;
}

.lightbox.is-open img {
	transform: none;
}

.lightbox button {
	position: absolute;
	display: grid;
	place-items: center;
	width: 52px;
	height: 52px;
	border: 1px solid rgba(255, 255, 255, .25);
	border-radius: 50%;
	color: #fff;
	transition: background .3s, color .3s;
}

.lightbox button:hover {
	background: #fff;
	color: #000;
}

.lightbox button svg {
	width: 20px;
	height: 20px;
}

.lightbox__close {
	top: 24px;
	right: 24px;
}

.lightbox__prev {
	left: 24px;
	top: 50%;
	transform: translateY(-50%) scaleX(-1);
}

.lightbox__next {
	right: 24px;
	top: 50%;
	transform: translateY(-50%);
}

.lightbox__count {
	position: absolute;
	bottom: 26px;
	left: 50%;
	transform: translateX(-50%);
	color: rgba(255, 255, 255, .6);
	font-size: 12px;
	letter-spacing: .1em;
}

/* --------------------------------------------------------------------------
   Services archive & single
   -------------------------------------------------------------------------- */

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

.srow {
	position: relative;
	border-bottom: 1px solid var(--line);
}

.srow a {
	display: grid;
	grid-template-columns: 80px 1.2fr 1fr 60px;
	gap: 30px;
	align-items: center;
	padding: clamp(26px, 3vw, 40px) 0;
}

.srow__n {
	font-size: 12px;
	color: var(--fg-2);
}

.srow__title {
	font-size: clamp(24px, 2.8vw, 40px);
	line-height: 1.05;
	transition: transform .7s var(--ease);
}

.srow__lede {
	font-size: 14px;
	color: var(--fg-2);
}

.srow__arrow {
	display: grid;
	place-items: center;
	width: 52px;
	height: 52px;
	justify-self: end;
	border: 1px solid var(--line);
	border-radius: 50%;
	transition: all .5s var(--ease);
}

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

.srow a:hover .srow__title {
	transform: translateX(16px);
	font-family: var(--f-serif);
	font-style: italic;
	font-weight: 400;
}

.srow a:hover .srow__arrow {
	background: var(--fg);
	color: var(--inv);
	border-color: var(--fg);
	transform: rotate(-45deg);
}

.points {
	margin: 0;
	padding: 0;
	list-style: none;
}

.points li {
	position: relative;
	display: flex;
	gap: 16px;
	align-items: baseline;
	padding: 18px 0;
	border-bottom: 1px solid var(--line);
	font-size: 16px;
	font-weight: 500;
}

.points li span {
	font-size: 11px;
	color: var(--fg-2);
	font-weight: 400;
}

.icon-lg {
	width: 64px;
	height: 64px;
	margin-bottom: 30px;
}

/* About */
.pcards {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 14px;
}

.pcards .step p {
	font-size: 13px;
}

.duo {
	display: grid;
	grid-template-columns: 1.2fr .8fr;
	gap: clamp(20px, 3vw, 40px);
	align-items: end;
}

.duo .media:first-child {
	aspect-ratio: 5 / 4;
}

.duo .media:last-child {
	aspect-ratio: 3 / 4;
	margin-bottom: clamp(-80px, -6vw, -40px);
}

.stats {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 30px;
	margin-top: clamp(50px, 6vw, 80px);
}

.stat {
	padding-top: 24px;
	border-top: 1px solid var(--line);
}

.stat b {
	display: block;
	font-size: clamp(48px, 6vw, 88px);
	font-weight: 500;
	line-height: 1;
	letter-spacing: -.03em;
	margin-bottom: 12px;
}

.stat span {
	font-size: 13px;
	color: var(--fg-2);
}

/* Contact */
.contact-grid {
	display: grid;
	grid-template-columns: .8fr 1.4fr;
	gap: clamp(40px, 7vw, 120px);
	align-items: start;
}

.cinfo {
	display: grid;
	gap: 0;
}

.cinfo__item {
	padding: 22px 0;
	border-bottom: 1px solid var(--line);
}

.cinfo__item:first-child {
	border-top: 1px solid var(--line);
}

.cinfo__item .k {
	display: block;
	margin-bottom: 6px;
	font-size: 10px;
	letter-spacing: .14em;
	text-transform: uppercase;
	color: var(--fg-2);
}

.cinfo__item a,
.cinfo__item span {
	font-size: 17px;
	font-weight: 500;
	white-space: pre-line;
}

.cinfo__item a:hover {
	opacity: .6;
}

.form-card {
	padding: clamp(28px, 4vw, 56px);
	border: 1px solid var(--line);
}

.form-card .heading {
	margin-bottom: 36px;
}

/* Blog */
.post-feature {
	display: grid;
	grid-template-columns: 1.3fr 1fr;
	gap: clamp(30px, 5vw, 80px);
	align-items: center;
	margin-bottom: clamp(48px, 6vw, 90px);
}

.post-feature .card__media {
	aspect-ratio: 16 / 11;
	margin: 0;
}

.post-feature .card__title {
	font-size: var(--fs-h3);
	line-height: 1.08;
	letter-spacing: -.01em;
	margin-bottom: 20px;
}

.post-meta {
	display: flex;
	flex-wrap: wrap;
	gap: 8px 22px;
	font-size: 11px;
	letter-spacing: .12em;
	text-transform: uppercase;
	color: var(--fg-2);
}

.pagination {
	display: flex;
	justify-content: center;
	gap: 8px;
	margin-top: clamp(44px, 5vw, 72px);
}

.pagination .page-numbers {
	display: grid;
	place-items: center;
	min-width: 46px;
	height: 46px;
	padding: 0 14px;
	border: 1px solid var(--line);
	border-radius: 40px;
	font-size: 13px;
	transition: all .4s var(--ease);
}

.pagination .page-numbers.current,
.pagination a.page-numbers:hover {
	background: var(--fg);
	color: var(--inv);
	border-color: var(--fg);
}

.article {
	max-width: 780px;
	margin: 0 auto;
}

.article .prose > * {
	max-width: none;
}

.article .prose p:first-of-type::first-letter {
	float: left;
	font-family: var(--f-serif);
	font-size: 4.2em;
	line-height: .82;
	margin: .06em .12em 0 0;
	color: var(--fg);
}

.share {
	display: flex;
	align-items: center;
	gap: 16px;
	margin-top: 60px;
	padding-top: 30px;
	border-top: 1px solid var(--line);
	font-size: 12px;
}

.share .socials a {
	width: 40px;
	height: 40px;
}

.postnav {
	display: grid;
	grid-template-columns: 1fr 1fr;
	border-top: 1px solid var(--line);
	border-bottom: 1px solid var(--line);
}

.postnav a {
	display: block;
	padding: 40px 0;
	transition: opacity .3s;
}

.postnav a + a,
.postnav span + a {
	padding-left: 30px;
	border-left: 1px solid var(--line);
	text-align: right;
}

.postnav .k {
	display: block;
	margin-bottom: 8px;
	font-size: 10px;
	letter-spacing: .14em;
	text-transform: uppercase;
	color: var(--fg-2);
}

.postnav b {
	font-size: clamp(17px, 1.6vw, 22px);
	font-weight: 600;
}

.postnav a:hover b {
	font-family: var(--f-serif);
	font-style: italic;
	font-weight: 400;
}

.search-form {
	display: flex;
	max-width: 520px;
	border-bottom: 1px solid var(--line);
}

.search-form input {
	flex: 1;
	padding: 14px 0;
	border: 0;
	background: transparent;
	outline: none;
	font-size: 16px;
}

.search-form button {
	padding: 0 0 0 16px;
	font-size: 13px;
	font-weight: 500;
}

.error-code {
	font-size: clamp(120px, 24vw, 340px);
	line-height: .8;
	font-weight: 600;
	letter-spacing: -.05em;
}

.error-code .accent {
	font-weight: 400;
}

.empty {
	padding: 60px 0;
	color: var(--fg-2);
}

/* WordPress core classes */
.alignwide {
	max-width: 1000px;
}

.alignfull {
	max-width: none;
}

.aligncenter {
	margin-left: auto;
	margin-right: auto;
}

.wp-caption-text,
.wp-element-caption {
	font-size: 12px;
	color: var(--fg-2);
}

/* --------------------------------------------------------------------------
   Responsive
   -------------------------------------------------------------------------- */

@media (max-width: 1024px) {
	:root {
		--header-h: 84px;
	}

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

	.process {
		grid-template-columns: 1fr;
	}

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

	.svc-box {
		grid-template-columns: 1fr;
	}

	.menu__body {
		grid-template-columns: 1fr;
		align-content: start;
	}

	.srow a {
		grid-template-columns: 50px 1fr 52px;
	}

	.srow__lede {
		display: none;
	}
}

@media (max-width: 860px) {
	.intro-row,
	.about__grid,
	.feature,
	.feature--reverse,
	.statement__grid,
	.principles__body,
	.footer__top,
	.pinfo,
	.two-col,
	.contact-grid,
	.post-feature,
	.phero__foot,
	.duo {
		grid-template-columns: 1fr;
	}

	.intro-row .text,
	.phero__foot .text {
		justify-self: start;
	}

	.feature--reverse .feature__media {
		order: 0;
	}

	.feature--reverse .feature__meta {
		padding-bottom: 30px;
	}

	.statement__box {
		border-right: 1px solid var(--fg);
	}

	.statement__media {
		margin-top: 0;
	}

	.callout__grid {
		grid-template-columns: 1fr 1fr;
		gap: 20px;
	}

	.callout__center {
		grid-column: 1 / -1;
		grid-row: 1;
		padding: 0 0 40px;
	}

	.callout__center .label {
		margin-bottom: 40px;
	}

	.cards {
		grid-template-columns: 1fr 1fr;
	}

	.pgrid {
		grid-template-columns: 1fr;
	}

	.pgrid > .pcard:nth-child(even) {
		margin-top: 0;
	}

	.gallery3 {
		height: auto;
		grid-template-columns: 1fr 1fr;
	}

	.gallery3 .media {
		aspect-ratio: 3 / 4;
	}

	.gallery3 .media:nth-child(2) {
		margin-top: 0;
		height: 100%;
	}

	.gallery3 .media:nth-child(3) {
		display: none;
	}

	.footer__contact {
		justify-self: start;
		text-align: left;
	}

	.footer__bottom {
		grid-template-columns: 1fr;
		justify-items: start;
	}

	.footer__bottom .socials {
		justify-content: flex-start;
	}

	.stats {
		grid-template-columns: 1fr;
	}

	.about__art {
		max-width: 520px;
	}

	.principles__side {
		min-height: 0;
	}

	.duo .media:last-child {
		margin-bottom: 0;
		display: none;
	}
}

@media (max-width: 640px) {
	.site-header {
		padding: 0 16px;
	}

	.site-header .pill--contact {
		display: none;
	}

	.pill {
		height: 40px;
		padding: 0 16px;
	}

	.pill--circle {
		width: 40px;
		padding: 0;
	}

	.container {
		padding: 0 16px;
	}

	.hero__media {
		aspect-ratio: 4 / 5;
	}

	.hero__caption {
		left: 16px;
		right: 16px;
		bottom: 16px;
	}

	.caps__grid,
	.pcards,
	.process__grid,
	.cards,
	.svc-list,
	.cc-form__grid,
	.panel__grid,
	.menu__info {
		grid-template-columns: 1fr;
	}

	.plist li {
		grid-template-columns: 40px 1fr;
	}

	.plist .m {
		grid-column: 2;
		text-align: left;
		margin-top: -14px;
	}

	.menu__bottom {
		flex-direction: column;
		align-items: flex-start;
	}

	.news__head {
		flex-direction: column;
		align-items: flex-start;
	}

	.pgallery a:nth-child(n) {
		grid-column: span 12;
		margin-top: 0;
		aspect-ratio: 4 / 5;
	}

	.postnav {
		grid-template-columns: 1fr;
	}

	.postnav a + a,
	.postnav span + a {
		padding-left: 0;
		border-left: 0;
		border-top: 1px solid var(--line);
		text-align: left;
	}

	.srow a {
		grid-template-columns: 34px 1fr 44px;
		gap: 14px;
	}

	.srow__arrow {
		width: 44px;
		height: 44px;
	}

	.phero__top {
		flex-direction: column;
		align-items: flex-start;
	}

	.callout__grid {
		grid-template-columns: 1fr;
	}

	.callout__grid .frame:last-child {
		display: none;
	}

	.cc-form__footer {
		flex-direction: column;
		align-items: flex-start;
	}
}

/* Logged-in admin bar */
.admin-bar .site-header {
	top: 32px;
}

.admin-bar .menu {
	top: 32px;
}

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

	.admin-bar .menu {
		top: 46px;
	}

	#wpadminbar {
		position: fixed !important;
	}
}

@media (max-width: 640px) {
	.page-lines span:nth-child(2),
	.page-lines span:nth-child(4) {
		display: none;
	}
}
