/* =========================================================================
   FAVORITE HOME — design system
   ========================================================================= */

:root {
	--bg: #F7F5F0;
	--bg-2: #EAE5DC;
	--accent: #C5AE8E;
	--accent-ink: #8C7556; /* accessible accent for small text on light bg */
	--ink: #252525;
	--ink-2: #77736D;
	--white: #FFFFFF;
	--line: rgba(37, 37, 37, .14);
	--line-light: rgba(255, 255, 255, .22);

	--serif: "Instrument Serif", "Cormorant Garamond", "Times New Roman", serif;
	--sans: "Manrope", "Helvetica Neue", Arial, sans-serif;

	--gutter: clamp(20px, 4.2vw, 64px);
	--max: 1520px;
	--sec: clamp(88px, 12vw, 200px);
	--radius: 2px;

	--ease: cubic-bezier(.22, 1, .36, 1);
	--ease-io: cubic-bezier(.76, 0, .24, 1);

	--fs-xl: clamp(3.6rem, 11.5vw, 12.5rem);
	--fs-1: clamp(2.6rem, 6.4vw, 6.75rem);
	--fs-2: clamp(2.1rem, 4.4vw, 4.5rem);
	--fs-3: clamp(1.55rem, 2.6vw, 2.5rem);
	--fs-lead: clamp(1.12rem, 1.45vw, 1.4rem);
	--header-h: 84px;
}

/* ---------- Reset & base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 16px); }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: clip; }
body {
	margin: 0;
	background: var(--bg);
	color: var(--ink);
	font-family: var(--sans);
	font-size: clamp(15px, 1.02vw, 17px);
	line-height: 1.65;
	font-weight: 400;
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
	overflow-x: clip;
}
img, video, svg { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
h1, h2, h3, h4, h5, h6, p, figure, blockquote, dl, dd { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
em { font-style: italic; }
::selection { background: var(--accent); color: var(--ink); }
:focus-visible { outline: 2px solid var(--accent-ink); outline-offset: 3px; }
[hidden] { display: none !important; }

.skip-link { position: absolute; left: 16px; top: -100px; z-index: 1000; background: var(--ink); color: var(--white); padding: 12px 18px; }
.skip-link:focus { top: 16px; }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(1px, 1px, 1px, 1px); white-space: nowrap; }

/* ---------- Typography ---------- */
.display-xl, .display-1, .display-2, .display-3,
.hero__title, .page-hero__title, .project-hero__title, .article__title {
	font-family: var(--serif);
	font-weight: 400;
	letter-spacing: -.015em;
	line-height: .96;
}
.display-xl { font-size: var(--fs-xl); text-transform: uppercase; line-height: .88; }
.display-1 { font-size: var(--fs-1); text-transform: uppercase; }
.display-2 { font-size: var(--fs-2); }
.display-3 { font-size: var(--fs-3); line-height: 1.08; }
.display-1 em, .display-xl em, .hero__title em { text-transform: none; color: var(--accent-ink); }
.section--dark .display-1 em, .section--dark .display-2 em { color: var(--accent); }

.eyebrow {
	font-family: var(--sans);
	font-size: .72rem;
	letter-spacing: .22em;
	text-transform: uppercase;
	font-weight: 600;
	color: var(--ink-2);
	display: flex;
	align-items: center;
	gap: 12px;
}
.eyebrow::before { content: ""; width: 28px; height: 1px; background: currentColor; opacity: .7; flex: none; }
.eyebrow--light { color: rgba(255, 255, 255, .82); }
.eyebrow--spaced { margin-top: 32px; }
.lead { font-size: var(--fs-lead); line-height: 1.5; color: var(--ink); }
.muted { color: var(--ink-2); }

/* ---------- Layout ---------- */
.container { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: var(--sec); position: relative; }
.section--tight { padding-block: calc(var(--sec) * .55); }
.section--flush-top { padding-top: 0; }
.section--alt { background: var(--bg-2); }
.section--dark { background: var(--ink); color: var(--bg); }
.section--dark .eyebrow { color: rgba(247, 245, 240, .6); }
.section-head { display: grid; grid-template-columns: 1fr auto; align-items: end; gap: 24px 48px; margin-bottom: clamp(48px, 7vw, 110px); }
.section-head .eyebrow { grid-column: 1 / -1; }
.section-head .display-1, .section-head .display-2 { max-width: 14ch; }
.section-head__link { justify-self: end; }
.section-head__text { grid-column: 1 / -1; max-width: 52ch; color: var(--ink-2); }

/* ---------- Links & buttons ---------- */
.u-link { background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat; transition: background-size .5s var(--ease); padding-bottom: 2px; }
.u-link:hover, .u-link:focus-visible { background-size: 100% 1px; }

.arrow { position: relative; display: inline-flex; width: 18px; height: 18px; overflow: hidden; flex: none; }
.arrow svg { position: absolute; inset: 0; transition: transform .6s var(--ease); }
.arrow svg + svg { transform: translateX(-120%); }
a:hover .arrow svg:first-child, button:hover .arrow svg:first-child, .arrow-trigger:hover .arrow svg:first-child { transform: translateX(120%); }
a:hover .arrow svg + svg, button:hover .arrow svg + svg { transform: translateX(0); }

.link-arrow { display: inline-flex; align-items: center; gap: 14px; font-weight: 500; font-size: .95rem; padding-block: 8px; border-bottom: 1px solid var(--line); transition: border-color .4s; }
.link-arrow:hover { border-color: var(--ink); }

.btn {
	--b-bg: var(--ink); --b-fg: var(--bg); --b-bd: var(--ink); --b-hover: var(--accent);
	position: relative; display: inline-flex; align-items: center; gap: 14px;
	padding: 18px 28px; border: 1px solid var(--b-bd); border-radius: 999px;
	background: var(--b-bg); color: var(--b-fg);
	font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; font-weight: 600;
	overflow: hidden; isolation: isolate; white-space: nowrap;
	transition: color .5s var(--ease), border-color .5s var(--ease);
	will-change: transform;
}
.btn::before {
	content: ""; position: absolute; inset: 0; z-index: -1; background: var(--b-hover);
	border-radius: inherit; transform: translateY(101%); transition: transform .6s var(--ease);
}
.btn:hover::before, .btn:focus-visible::before { transform: translateY(0); }
.btn__label { position: relative; display: inline-block; overflow: hidden; line-height: 1.2; }
.btn__label::after { content: attr(data-text); position: absolute; left: 0; top: 100%; }
.btn__label, .btn__label::after { transition: transform .6s var(--ease); }
.btn:hover .btn__label { transform: translateY(-100%); }
.btn--solid:hover { color: var(--ink); border-color: var(--accent); }
.btn--outline { --b-bg: transparent; --b-fg: var(--ink); --b-bd: var(--ink); --b-hover: var(--ink); }
.btn--outline:hover { color: var(--bg); }
.btn--light { --b-bg: var(--bg); --b-fg: var(--ink); --b-bd: var(--bg); --b-hover: var(--accent); }
.btn--ghost-light { --b-bg: transparent; --b-fg: var(--white); --b-bd: rgba(255,255,255,.55); --b-hover: var(--white); }
.btn--ghost-light:hover { color: var(--ink); }
.btn--pill { padding: 12px 20px; font-size: .72rem; --b-bg: transparent; --b-fg: currentColor; --b-bd: currentColor; --b-hover: var(--ink); }
.btn--pill:hover { color: var(--bg); border-color: var(--ink); }
.btn[disabled] { opacity: .6; pointer-events: none; }

.round-btn { width: 52px; height: 52px; border-radius: 50%; border: 1px solid var(--line); display: inline-grid; place-items: center; font-size: 1.1rem; transition: background .4s, color .4s, border-color .4s; }
.round-btn:hover { background: var(--ink); color: var(--bg); border-color: var(--ink); }

.tags { display: flex; flex-wrap: wrap; gap: 8px; margin-block: 20px; }
.tags li { font-size: .75rem; letter-spacing: .08em; text-transform: uppercase; padding: 6px 12px; border: 1px solid var(--line); border-radius: 999px; color: var(--ink-2); }

/* ---------- Preloader / curtain / cursor / progress ---------- */
.preloader {
	position: fixed; inset: 0; z-index: 900; background: var(--bg); display: none;
	align-items: center; justify-content: center;
}
.is-preloading .preloader { display: flex; }
.is-preloading body { overflow: hidden; }
.preloader__inner { width: min(560px, 82vw); }
.preloader__mark { font-family: var(--serif); font-size: clamp(3rem, 9vw, 6.5rem); line-height: .9; text-transform: uppercase; letter-spacing: -.01em; }
.preloader__word { display: flex; overflow: hidden; }
.preloader__word span { display: inline-block; transform: translateY(105%); }
.preloader__word--b { padding-left: 1.2em; font-style: italic; text-transform: none; color: var(--accent-ink); }
.preloader__meta { display: flex; justify-content: space-between; margin-top: 28px; font-size: .72rem; letter-spacing: .22em; text-transform: uppercase; color: var(--ink-2); }
.preloader__count { font-variant-numeric: tabular-nums; }
.preloader__count::after { content: "%"; }
.preloader__bar { height: 1px; background: var(--line); margin-top: 12px; overflow: hidden; }
.preloader__bar span { display: block; height: 100%; background: var(--ink); transform: scaleX(0); transform-origin: left; }

.curtain {
	position: fixed; inset: 0; z-index: 850; background: var(--bg-2); pointer-events: none;
	transform: translateY(100%); display: grid; place-items: center;
}
.curtain__mark { font-family: var(--serif); font-size: 2.5rem; color: var(--accent-ink); opacity: 0; }
.is-entering .curtain { transform: translateY(0); }

.scroll-progress { position: fixed; top: 0; left: 0; right: 0; height: 2px; z-index: 700; pointer-events: none; }
.scroll-progress span { display: block; height: 100%; background: var(--accent); transform: scaleX(0); transform-origin: left; }

.cursor { display: none; }
@media (hover: hover) and (pointer: fine) {
	.motion .cursor { display: block; position: fixed; inset: 0; pointer-events: none; z-index: 950; }
	.cursor__dot, .cursor__ring { position: fixed; top: 0; left: 0; border-radius: 50%; pointer-events: none; will-change: transform; }
	.cursor__dot { width: 6px; height: 6px; margin: -3px 0 0 -3px; background: var(--ink); mix-blend-mode: difference; filter: invert(1); }
	.cursor__ring {
		width: 40px; height: 40px; margin: -20px 0 0 -20px; border: 1px solid rgba(37,37,37,.35);
		display: grid; place-items: center; transition: width .5s var(--ease), height .5s var(--ease), margin .5s var(--ease), background .4s, border-color .4s;
	}
	.cursor__label { font-size: .62rem; letter-spacing: .18em; text-transform: uppercase; font-weight: 600; color: var(--ink); opacity: 0; transition: opacity .3s; }
	.cursor.is-link .cursor__ring { width: 64px; height: 64px; margin: -32px 0 0 -32px; border-color: var(--accent); }
	.cursor.is-label .cursor__ring { width: 96px; height: 96px; margin: -48px 0 0 -48px; background: var(--accent); border-color: var(--accent); }
	.cursor.is-label .cursor__label { opacity: 1; }
	.cursor.is-label .cursor__dot { opacity: 0; }
	.cursor.is-hidden { opacity: 0; }
}

/* ---------- Header ---------- */
.site-header {
	position: fixed; top: 0; left: 0; right: 0; z-index: 600;
	padding-top: env(safe-area-inset-top, 0px);
	color: var(--ink);
	transition: transform .7s var(--ease), background-color .5s, color .5s, box-shadow .5s;
}
.site-header__bar { height: var(--header-h); display: flex; align-items: center; justify-content: space-between; gap: 24px; max-width: var(--max); margin-inline: auto; padding-inline: var(--gutter); }
.has-hero .site-header:not(.is-scrolled) { color: var(--white); }
.site-header.is-scrolled { background: rgba(247, 245, 240, .88); backdrop-filter: blur(14px) saturate(1.2); -webkit-backdrop-filter: blur(14px) saturate(1.2); box-shadow: 0 1px 0 var(--line); }
.site-header.is-hidden { transform: translateY(-100%); }
.menu-open .site-header,
.menu-open .has-hero .site-header:not(.is-scrolled) { color: var(--ink); background: transparent; box-shadow: none; backdrop-filter: none; -webkit-backdrop-filter: none; transform: none; }

.brand { display: inline-flex; align-items: center; position: relative; z-index: 2; }
.brand__img { max-height: 46px; width: auto; }
.brand__word { font-family: var(--serif); font-size: 1.65rem; text-transform: uppercase; letter-spacing: .02em; line-height: 1; }
.brand__word em { text-transform: none; color: var(--accent); margin-left: .18em; }

.nav__list { display: flex; gap: clamp(16px, 2.2vw, 36px); }
.nav__item { position: relative; }
.nav__link { position: relative; display: inline-block; padding-block: 10px; font-size: .86rem; font-weight: 500; letter-spacing: .02em; }
.nav__link::after { content: ""; position: absolute; left: 0; right: 0; bottom: 4px; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: right; transition: transform .55s var(--ease); }
.nav__link:hover::after, .nav__link.is-current::after, .nav__item:focus-within .nav__link::after { transform: scaleX(1); transform-origin: left; }
.has-dropdown > .nav__link { padding-right: 14px; }
.has-dropdown > .nav__link::before { content: ""; position: absolute; right: 0; top: 50%; width: 5px; height: 5px; border-right: 1px solid; border-bottom: 1px solid; transform: translateY(-75%) rotate(45deg); }

.dropdown {
	position: absolute; top: 100%; left: 50%; padding-top: 18px; width: min(760px, 70vw);
	opacity: 0; visibility: hidden; transform: translate(-50%, 12px);
	transition: opacity .45s var(--ease), transform .55s var(--ease), visibility 0s .45s;
	color: var(--ink);
}
.has-dropdown:hover .dropdown, .has-dropdown:focus-within .dropdown, .has-dropdown.is-open .dropdown { opacity: 1; visibility: visible; transform: translate(-50%, 0); transition-delay: 0s; }
.dropdown__inner { display: grid; grid-template-columns: 1.2fr 1fr; gap: 24px; background: var(--bg); padding: 28px; box-shadow: 0 30px 80px -30px rgba(37,37,37,.35); border: 1px solid var(--line); }
.dropdown__list a { display: flex; gap: 14px; align-items: baseline; padding: 9px 0; border-bottom: 1px solid var(--line); font-size: .92rem; transition: padding .45s var(--ease), color .3s; }
.dropdown__list a:hover, .dropdown__list a:focus-visible { padding-left: 10px; color: var(--accent-ink); }
.dropdown__num { font-size: .68rem; color: var(--ink-2); letter-spacing: .12em; }
.dropdown__preview { overflow: hidden; aspect-ratio: 4 / 5; background: var(--bg-2); }
.dropdown__preview img { width: 100%; height: 100%; object-fit: cover; transition: opacity .35s; }

.site-header__actions { display: flex; align-items: center; gap: 16px; position: relative; z-index: 2; }
.menu-toggle { display: none; width: 44px; height: 44px; position: relative; }
.menu-toggle span { position: absolute; left: 10px; right: 10px; height: 1px; background: currentColor; transition: transform .6s var(--ease), top .6s var(--ease); }
.menu-toggle span:first-child { top: 18px; }
.menu-toggle span:last-child { top: 26px; }
.menu-open .menu-toggle span:first-child { top: 22px; transform: rotate(45deg); }
.menu-open .menu-toggle span:last-child { top: 22px; transform: rotate(-45deg); }

.mobile-menu {
	position: fixed; inset: 0; z-index: 590; background: var(--bg); color: var(--ink);
	padding: calc(var(--header-h) + env(safe-area-inset-top, 0px) + 24px) var(--gutter) calc(32px + env(safe-area-inset-bottom, 0px));
	overflow-y: auto; clip-path: inset(0 0 100% 0);
}
.mobile-menu__inner { min-height: 100%; display: flex; flex-direction: column; justify-content: space-between; gap: 40px; }
.mobile-menu__list > li { position: relative; border-bottom: 1px solid var(--line); overflow: hidden; }
.mobile-menu__list > li > a { display: flex; align-items: baseline; gap: 16px; padding: 14px 0; font-family: var(--serif); font-size: clamp(2.2rem, 9vw, 3.6rem); line-height: 1; text-transform: uppercase; }
.mobile-menu__num { font-family: var(--sans); font-size: .7rem; letter-spacing: .14em; color: var(--ink-2); }
.mobile-menu__sub-toggle { position: absolute; right: 0; top: 14px; width: 44px; height: 44px; font-size: 1.6rem; font-weight: 300; transition: transform .5s var(--ease); }
.mobile-menu__sub-toggle[aria-expanded="true"] { transform: rotate(45deg); }
.mobile-menu__sub { padding: 0 0 18px 34px; }
.mobile-menu__sub a { display: block; padding: 7px 0; color: var(--ink-2); }
.mobile-menu__foot { display: flex; flex-direction: column; gap: 8px; font-size: .95rem; }

/* ---------- Hero ---------- */
.hero { position: relative; height: 100svh; min-height: 640px; color: var(--white); overflow: hidden; display: flex; align-items: flex-end; }
.hero__media, .page-hero__media, .project-hero__media { position: absolute; inset: 0; overflow: hidden; background: #3b3632; }
.hero__img, .page-hero__img { width: 100%; height: 100%; object-fit: cover; transform-origin: 50% 60%; }
.hero__shade { position: absolute; inset: 0; background:
	linear-gradient(90deg, rgba(20,18,16,.42) 0%, rgba(20,18,16,.12) 55%, rgba(20,18,16,0) 80%),
	linear-gradient(180deg, rgba(20,18,16,.38) 0%, rgba(20,18,16,.05) 32%, rgba(20,18,16,.18) 60%, rgba(20,18,16,.62) 100%); pointer-events: none; }
.hero__content { position: relative; padding-bottom: clamp(56px, 8vh, 110px); }
.hero__title { font-size: var(--fs-xl); text-transform: uppercase; line-height: .86; margin-block: 22px 40px; }
.hero__title .line { display: block; }
.hero__title .line--indent { padding-left: 1.1em; }
.hero__title em { color: var(--accent); }
.hero__foot { display: flex; justify-content: space-between; align-items: flex-end; gap: 32px; flex-wrap: wrap; }
.hero__lede { font-size: var(--fs-lead); max-width: 30ch; line-height: 1.45; color: rgba(255,255,255,.9); }
.hero__ctas { display: flex; gap: 12px; flex-wrap: wrap; }

.w { display: inline-block; overflow: hidden; vertical-align: top; padding: 0 .1em .06em 0; margin: 0 -.1em -.06em 0; }
.w__i { display: inline-block; will-change: transform; }

.scroll-cue { position: absolute; right: var(--gutter); bottom: clamp(56px, 8vh, 110px); display: flex; flex-direction: column; align-items: center; gap: 12px; font-size: .64rem; letter-spacing: .3em; text-transform: uppercase; writing-mode: vertical-rl; color: inherit; }
.scroll-cue i { width: 1px; height: 64px; background: rgba(255,255,255,.35); position: relative; overflow: hidden; }
.scroll-cue i::after { content: ""; position: absolute; left: 0; top: 0; width: 100%; height: 40%; background: currentColor; animation: cue 2.2s var(--ease-io) infinite; }
@keyframes cue { 0% { transform: translateY(-100%); } 100% { transform: translateY(260%); } }
.scroll-cue--hero { display: none; }
@media (min-width: 900px) { .scroll-cue--hero { display: flex; } .hero__foot { padding-right: 64px; } }

/* Page hero */
.page-hero { position: relative; overflow: hidden; }
.page-hero--image { min-height: 86svh; color: var(--white); display: flex; align-items: flex-end; }
.page-hero--image::after { content: ""; position: absolute; inset: 0; pointer-events: none; background:
	linear-gradient(90deg, rgba(20,18,16,.5) 0%, rgba(20,18,16,.18) 55%, rgba(20,18,16,0) 85%),
	linear-gradient(180deg, rgba(20,18,16,.42), rgba(20,18,16,.1) 35%, rgba(20,18,16,.66)); }
.page-hero--image .page-hero__content { position: relative; z-index: 2; padding-bottom: clamp(48px, 8vw, 110px); }
.page-hero--image .eyebrow { color: rgba(255,255,255,.85); }
.page-hero--plain { padding-top: calc(var(--header-h) + clamp(56px, 10vw, 150px)); padding-bottom: clamp(56px, 8vw, 120px); }
.page-hero__title { font-size: var(--fs-1); text-transform: uppercase; margin-block: 18px 24px; max-width: 18ch; }
.page-hero--plain .page-hero__title { font-size: var(--fs-xl); max-width: none; }
.page-hero__lede { font-size: var(--fs-lead); max-width: 48ch; line-height: 1.5; }
.page-hero--image .page-hero__lede { color: rgba(255,255,255,.88); }
.page-hero .scroll-cue { z-index: 2; color: var(--white); }
@media (max-width: 899px) { .page-hero .scroll-cue { display: none; } }

.crumbs ol { display: flex; flex-wrap: wrap; gap: 6px 10px; font-size: .74rem; letter-spacing: .08em; text-transform: uppercase; margin-bottom: 26px; }
.crumbs li + li::before { content: "/"; margin-right: 10px; opacity: .5; }
.crumbs a { opacity: .75; transition: opacity .3s; }
.crumbs a:hover { opacity: 1; }
.page-hero--image .crumbs, .crumbs--light { color: rgba(255,255,255,.9); }

/* ---------- Intro ---------- */
.intro__grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(40px, 7vw, 120px); align-items: start; }
.intro__text .display-1 { margin-block: 24px 40px; max-width: 13ch; }
.intro__body { max-width: 54ch; display: grid; gap: 22px; color: var(--ink-2); }
.intro__body .lead { color: var(--ink); }
.intro__body .link-arrow { justify-self: start; color: var(--ink); margin-top: 8px; }
.intro__media { position: relative; padding-bottom: 18%; margin-top: clamp(0px, 8vw, 140px); }
.intro__img-main { overflow: hidden; aspect-ratio: 4 / 5; background: var(--bg-2); }
.intro__img-main > div { height: 116%; margin-top: -8%; }
.intro__img-main img { width: 100%; height: 100%; object-fit: cover; }
.intro__img-small { position: absolute; left: -22%; bottom: 0; width: 46%; aspect-ratio: 3 / 4; overflow: hidden; border: 10px solid var(--bg); background: var(--bg-2); }
.intro__img-small img { width: 100%; height: 100%; object-fit: cover; }
.intro__cap { position: absolute; right: 0; bottom: 4%; font-size: .72rem; letter-spacing: .2em; text-transform: uppercase; color: var(--ink-2); writing-mode: vertical-rl; }

.divider { max-width: var(--max); margin-inline: auto; padding-inline: var(--gutter); }
.divider span { display: block; height: 1px; background: var(--ink); opacity: .2; transform-origin: left; }

/* ---------- Services index ---------- */
.svc-index { position: relative; }
.svc-index__list { border-top: 1px solid var(--line); }
.svc-row { border-bottom: 1px solid var(--line); }
.svc-row__link {
	display: grid; grid-template-columns: 70px 1fr minmax(0, 300px) 40px; align-items: center; gap: 24px;
	padding-block: clamp(22px, 2.6vw, 38px); position: relative;
	transition: color .4s;
}
.svc-row__link::before { content: ""; position: absolute; inset: 0; background: var(--bg-2); transform: scaleY(0); transform-origin: bottom; transition: transform .6s var(--ease); z-index: -1; }
.svc-row__link:hover::before { transform: scaleY(1); }
.svc-row__num { font-size: .78rem; letter-spacing: .14em; color: var(--ink-2); padding-left: 12px; }
.svc-row__title { font-family: var(--serif); font-size: clamp(1.9rem, 4.2vw, 4.2rem); line-height: 1; text-transform: uppercase; transition: transform .6s var(--ease); }
.svc-row__link:hover .svc-row__title { transform: translateX(18px); }
.svc-row__points { font-size: .82rem; color: var(--ink-2); }
.svc-row__arrow { justify-self: end; margin-right: 12px; }
.svc-row__thumb { display: none; }
.svc-index__float {
	position: fixed; top: 0; left: 0; width: 300px; aspect-ratio: 4 / 5; pointer-events: none; z-index: 40;
	overflow: hidden; opacity: 0; visibility: hidden; transform: scale(.8);
	border-radius: var(--radius); box-shadow: 0 40px 80px -30px rgba(37,37,37,.45);
}
.svc-index__float-inner { position: absolute; inset: 0; }
.svc-index__float img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }

/* ---------- Expertise / stats ---------- */
.expertise__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 7vw, 120px); align-items: center; }
.expertise__media { overflow: hidden; aspect-ratio: 5 / 6; background: var(--bg-2); }
.expertise__media img { width: 100%; height: 100%; object-fit: cover; }
.expertise__text { display: grid; gap: 28px; }
.expertise__text > p { color: var(--ink-2); max-width: 50ch; }
.stats { display: grid; grid-template-columns: repeat(2, 1fr); border-top: 1px solid var(--line); }
.stats--wide { grid-template-columns: repeat(4, 1fr); border-top: 0; }
.stat { padding: 26px 20px 26px 0; border-bottom: 1px solid var(--line); display: flex; flex-direction: column-reverse; gap: 8px; }
.stats--wide .stat { border-bottom: 0; border-left: 1px solid var(--line); padding: 10px 24px; }
.stat dd { font-family: var(--serif); font-size: clamp(3.2rem, 6vw, 6rem); line-height: .9; font-variant-numeric: tabular-nums; }
.stat dd sup { font-size: .4em; color: var(--accent-ink); vertical-align: top; margin-left: 4px; }
.stat dt { font-size: .76rem; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-2); }

/* ---------- Materials ---------- */
.materials { display: grid; grid-template-columns: minmax(220px, 300px) 1fr; gap: clamp(32px, 5vw, 80px); }
.materials__tabs { display: flex; flex-direction: column; border-top: 1px solid var(--line); align-self: start; position: sticky; top: calc(var(--header-h) + 24px); }
.materials__tab { text-align: left; display: flex; gap: 14px; align-items: baseline; padding: 18px 0; border-bottom: 1px solid var(--line); font-family: var(--serif); font-size: 1.6rem; line-height: 1.1; color: var(--ink-2); position: relative; transition: color .4s, padding .5s var(--ease); }
.materials__tab::after { content: ""; position: absolute; left: 0; bottom: -1px; height: 1px; width: 100%; background: var(--ink); transform: scaleX(0); transform-origin: left; transition: transform .6s var(--ease); }
.materials__tab[aria-selected="true"] { color: var(--ink); padding-left: 10px; }
.materials__tab[aria-selected="true"]::after { transform: scaleX(1); }
.materials__tab:hover { color: var(--ink); }
.materials__tab-num { font-family: var(--sans); font-size: .68rem; letter-spacing: .12em; }
.materials__panel { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 4vw, 64px); align-items: start; }
.materials__copy { display: grid; gap: 14px; align-content: start; }
.materials__copy > p { color: var(--ink-2); max-width: 46ch; }
.materials__actions { display: flex; flex-wrap: wrap; gap: 20px; align-items: center; margin-top: 8px; }

.swatch { position: relative; aspect-ratio: 4 / 5; overflow: hidden; border-radius: var(--radius); }
.swatch::after { content: ""; position: absolute; inset: 0; background: radial-gradient(120% 80% at 20% 0%, rgba(255,255,255,.28), transparent 60%); mix-blend-mode: soft-light; }
.swatch__label { position: absolute; left: 20px; bottom: 18px; z-index: 2; font-size: .7rem; letter-spacing: .2em; text-transform: uppercase; color: rgba(255,255,255,.9); }
.swatch--oak { background:
	repeating-linear-gradient(92deg, rgba(110,78,44,.0) 0 7px, rgba(110,78,44,.16) 7px 8px, rgba(110,78,44,0) 8px 19px, rgba(90,60,30,.12) 19px 21px),
	repeating-linear-gradient(88deg, #c9a77c 0 40px, #c19d71 40px 75px, #cdae86 75px 120px); }
.swatch--walnut { background:
	repeating-linear-gradient(91deg, rgba(30,18,10,0) 0 5px, rgba(30,18,10,.22) 5px 6px, rgba(30,18,10,0) 6px 15px),
	repeating-linear-gradient(89deg, #6b4c35 0 36px, #5e412c 36px 70px, #74543b 70px 110px); }
.swatch--walnut .swatch__label { color: rgba(255,255,255,.8); }
.swatch--stone { background:
	radial-gradient(circle at 30% 40%, rgba(255,255,255,.5) 0 1px, transparent 2px) 0 0 / 13px 13px,
	radial-gradient(circle at 70% 60%, rgba(120,110,98,.25) 0 1px, transparent 2px) 0 0 / 17px 17px,
	linear-gradient(160deg, #d9d2c6, #bfb5a6 60%, #cfc7ba); }
.swatch--linen { background:
	repeating-linear-gradient(0deg, rgba(140,117,86,.08) 0 1px, transparent 1px 4px),
	repeating-linear-gradient(90deg, rgba(140,117,86,.08) 0 1px, transparent 1px 4px),
	linear-gradient(140deg, #efe8dc, #e2d8c8); }
.swatch--linen .swatch__label, .swatch--stone .swatch__label { color: var(--ink); }

.collections { border-top: 1px solid var(--line); margin-top: 8px; }
.collections__link { display: flex; justify-content: space-between; align-items: center; padding: 14px 0; border-bottom: 1px solid var(--line); font-family: var(--serif); font-size: 1.4rem; transition: padding .5s var(--ease), color .3s; }
.collections__link:hover { padding-left: 12px; color: var(--accent-ink); }

.col-list { border-top: 1px solid var(--line); }
.col-list__link { display: grid; grid-template-columns: 70px 1fr auto; gap: 24px; align-items: center; padding-block: clamp(22px, 3vw, 40px); border-bottom: 1px solid var(--line); }
.col-list__num { font-size: .75rem; color: var(--ink-2); letter-spacing: .12em; }
.col-list__title { font-family: var(--serif); font-size: clamp(2rem, 5vw, 5rem); line-height: 1; text-transform: uppercase; transition: transform .6s var(--ease); }
.col-list__link:hover .col-list__title { transform: translateX(18px); font-style: italic; }
.col-list__meta { font-size: .8rem; color: var(--ink-2); }

/* ---------- Process ---------- */
.process__head { display: grid; gap: 24px; margin-bottom: clamp(56px, 8vw, 120px); }
.process__head .display-2 { max-width: 18ch; }
.process__track { position: relative; }
.process__line { position: absolute; left: 0; right: 0; top: 0; height: 1px; background: rgba(247,245,240,.18); }
.process__line span { display: block; height: 100%; background: var(--accent); transform: scaleX(0); transform-origin: left; }
.process__list { display: grid; grid-template-columns: repeat(6, 1fr); gap: clamp(16px, 2vw, 32px); }
.process__step { padding-top: 32px; position: relative; }
.process__step::before { content: ""; position: absolute; top: -4px; left: 0; width: 9px; height: 9px; border-radius: 50%; background: var(--ink); border: 1px solid rgba(247,245,240,.4); transition: background .5s, border-color .5s; }
.process__step.is-active::before { background: var(--accent); border-color: var(--accent); }
.process__num { font-family: var(--serif); font-size: clamp(3rem, 5vw, 5rem); line-height: 1; color: rgba(247,245,240,.18); display: block; transition: color .6s; }
.process__step.is-active .process__num { color: var(--accent); }
.process__title { font-family: var(--serif); font-weight: 400; font-size: clamp(1.4rem, 1.8vw, 1.8rem); margin-block: 16px 10px; }
.process__body p { font-size: .9rem; color: rgba(247,245,240,.66); line-height: 1.6; }

/* ---------- Why ---------- */
.why { overflow: hidden; }
.why__head { margin-bottom: clamp(56px, 8vw, 110px); display: grid; gap: 24px; }
.why__head .display-1 { max-width: 12ch; }
.why__list { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); }
.why__item { padding: clamp(28px, 3vw, 48px) clamp(16px, 2.4vw, 40px) clamp(36px, 4vw, 64px) 0; border-bottom: 1px solid var(--line); position: relative; }
.why__item:not(:nth-child(3n + 1)) { padding-left: clamp(16px, 2.4vw, 40px); border-left: 1px solid var(--line); }
.why__num { font-size: .72rem; letter-spacing: .14em; color: var(--accent-ink); }
.why__title { font-family: var(--serif); font-weight: 400; font-size: clamp(1.8rem, 2.8vw, 2.8rem); line-height: 1.02; margin-block: 18px 14px; }
.why__item p { color: var(--ink-2); max-width: 36ch; }


/* ---------- Testimonials ---------- */
.testimonials__stage { position: relative; min-height: 260px; margin-block: 40px; }
.testimonials__quote { font-family: var(--serif); font-size: clamp(1.8rem, 3.6vw, 3.6rem); line-height: 1.12; max-width: 24ch; }
.testimonials__quote p::before { content: "“"; color: var(--accent-ink); }
.testimonials__slide figcaption { margin-top: 28px; color: var(--ink-2); }
.testimonials__slide figcaption strong { color: var(--ink); font-weight: 600; }
.testimonials__controls { display: flex; align-items: center; gap: 20px; }
.testimonials__count { font-size: .8rem; letter-spacing: .14em; font-variant-numeric: tabular-nums; }

/* ---------- FAQ ---------- */
.faq__grid { display: grid; grid-template-columns: 1fr 1.3fr; gap: clamp(40px, 7vw, 120px); align-items: start; }
.faq__head { display: grid; gap: 24px; position: sticky; top: calc(var(--header-h) + 32px); }
.faq__head .display-2 { max-width: 12ch; }
.accordion { border-top: 1px solid var(--line); }
.accordion__item { border-bottom: 1px solid var(--line); }
.accordion__trigger { width: 100%; display: flex; justify-content: space-between; gap: 24px; align-items: center; padding: 26px 0; text-align: left; font-family: var(--serif); font-size: clamp(1.3rem, 1.9vw, 1.85rem); line-height: 1.2; transition: color .3s; }
.accordion__trigger:hover { color: var(--accent-ink); }
.accordion__icon { position: relative; width: 18px; height: 18px; flex: none; }
.accordion__icon::before, .accordion__icon::after { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 1px; background: currentColor; transition: transform .5s var(--ease); }
.accordion__icon::after { transform: rotate(90deg); }
.accordion__trigger[aria-expanded="true"] .accordion__icon::after { transform: rotate(0); }
.accordion__panel { overflow: hidden; }
.accordion__content { padding-bottom: 28px; color: var(--ink-2); max-width: 60ch; }

/* ---------- Contact ---------- */
.contact { background: var(--bg-2); }
.contact-page .contact { background: var(--bg); padding-top: calc(var(--header-h) + clamp(48px, 8vw, 120px)); }
.contact__grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(40px, 7vw, 120px); align-items: start; }
.contact__title { margin-block: 22px 28px; }
.contact__lede { color: var(--ink-2); max-width: 40ch; margin-bottom: 44px; }
.contact__details { display: grid; gap: 0; border-top: 1px solid var(--line); }
.contact__details > div { display: grid; grid-template-columns: 110px 1fr; gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.contact__details dt { font-size: .72rem; letter-spacing: .16em; text-transform: uppercase; color: var(--ink-2); padding-top: 3px; }

.form { background: var(--bg); padding: clamp(24px, 4vw, 56px); border: 1px solid var(--line); }
.contact-page .form { background: var(--bg-2); }
.form__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 6px 28px; }
.field { display: grid; gap: 4px; position: relative; }
.field--full { grid-column: 1 / -1; }
.field label { font-size: .7rem; letter-spacing: .16em; text-transform: uppercase; color: var(--ink-2); font-weight: 600; }
.field label span { color: var(--accent-ink); }
.field input, .field select, .field textarea {
	width: 100%; font: inherit; font-size: 1rem; color: var(--ink);
	background: transparent; border: 0; border-bottom: 1px solid var(--line); border-radius: 0;
	padding: 10px 0 12px; transition: border-color .4s; -webkit-appearance: none; appearance: none;
}
.field select { background-image: linear-gradient(45deg, transparent 50%, var(--ink) 50%), linear-gradient(135deg, var(--ink) 50%, transparent 50%); background-position: calc(100% - 10px) 55%, calc(100% - 5px) 55%; background-size: 5px 5px; background-repeat: no-repeat; padding-right: 24px; }
.field textarea { resize: vertical; min-height: 120px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--ink); }
.field::after { content: ""; position: absolute; left: 0; right: 0; bottom: 30px; height: 1px; background: var(--accent-ink); transform: scaleX(0); transform-origin: left; transition: transform .6s var(--ease); pointer-events: none; }
.field:focus-within::after { transform: scaleX(1); }
.field.has-error input, .field.has-error select, .field.has-error textarea { border-color: #a3402c; }
.field__error { min-height: 22px; font-size: .78rem; color: #a3402c; padding-top: 4px; }
.field--hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form__foot { display: flex; flex-wrap: wrap; align-items: center; gap: 20px; margin-top: 20px; }
.form__status { font-size: .92rem; max-width: 46ch; }
.form__status.is-error { color: #a3402c; }
.form__status.is-success { color: #3d6b47; }

/* ---------- Footer ---------- */
.site-footer { background: var(--bg-2); padding-top: clamp(80px, 10vw, 160px); padding-bottom: calc(28px + env(safe-area-inset-bottom, 0px)); overflow: hidden; }
.site-footer__top { display: flex; justify-content: space-between; align-items: flex-end; gap: 32px; flex-wrap: wrap; padding-bottom: clamp(48px, 6vw, 90px); border-bottom: 1px solid var(--line); }
.site-footer__lead { font-family: var(--serif); font-size: var(--fs-2); line-height: 1; max-width: 14ch; }
.site-footer__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 40px; padding-block: clamp(48px, 6vw, 90px); }
.site-footer__col { display: grid; gap: 14px; align-content: start; font-size: .92rem; }
.site-footer address { font-style: normal; }
.link-list { display: grid; gap: 7px; }
.link-list--inline { display: flex; flex-wrap: wrap; gap: 6px 18px; }
.site-footer__word { display: flex; justify-content: space-between; font-family: var(--serif); font-size: clamp(3.4rem, 16vw, 18.5rem); padding-right: .06em; line-height: .8; text-transform: uppercase; letter-spacing: -.03em; overflow: hidden; padding-bottom: .04em; }
.site-footer__word span { display: inline-block; will-change: transform; }
.site-footer__word em { text-transform: none; color: var(--accent); }
.site-footer__bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 16px; margin-top: 32px; padding-top: 22px; padding-right: 76px; border-top: 1px solid var(--line); font-size: .8rem; color: var(--ink-2); }

.wa-float {
	position: fixed; right: calc(var(--gutter) * .6); bottom: calc(20px + env(safe-area-inset-bottom, 0px)); z-index: 500;
	width: 56px; height: 56px; border-radius: 50%; background: var(--ink); color: var(--bg);
	display: grid; place-items: center; box-shadow: 0 16px 40px -14px rgba(37,37,37,.6); border: 1px solid rgba(247,245,240,.22);
	transition: background .4s, color .4s, opacity .5s, transform .5s var(--ease);
}
.wa-float:hover { background: var(--accent); color: var(--ink); }
.js .has-hero .wa-float:not(.is-visible) { opacity: 0; transform: translateY(16px); pointer-events: none; }
.menu-open .wa-float { opacity: 0; pointer-events: none; }

/* ---------- Portfolio ---------- */
.filter { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: clamp(36px, 5vw, 72px); }
.filter__btn { padding: 10px 18px; border: 1px solid var(--line); border-radius: 999px; font-size: .8rem; letter-spacing: .06em; transition: background .4s, color .4s, border-color .4s; }
.filter__btn sup { font-size: .62rem; opacity: .6; margin-left: 2px; }
.filter__btn:hover { border-color: var(--ink); }
.filter__btn.is-active { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.portfolio__grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: clamp(36px, 5vw, 80px) clamp(16px, 2.4vw, 40px); align-items: start; }
.tile { grid-column: span 6; }
.tile--xl { grid-column: 1 / -1; }
.tile--xl .tile__media { aspect-ratio: 21 / 9; }
.tile--lg { grid-column: span 7; }
.tile--sm { grid-column: span 5; margin-top: 18%; }
.tile--md:nth-child(even) { margin-top: 12%; }
.tile.is-filtered-out { display: none; }
.tile__media { overflow: hidden; aspect-ratio: 4 / 3; background: var(--bg-2); position: relative; }
.tile--sm .tile__media { aspect-ratio: 4 / 5; }
.tile__parallax { position: absolute; inset: -8% 0; }
.tile__img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.tile__link:hover .tile__img { transform: scale(1.06); }
.tile__media::after { content: ""; position: absolute; inset: 0; background: rgba(37,37,37,.18); opacity: 0; transition: opacity .6s; }
.tile__link:hover .tile__media::after { opacity: 1; }
.tile__meta { display: grid; gap: 6px; padding-top: 18px; }
.tile__cat { font-size: .7rem; letter-spacing: .16em; text-transform: uppercase; color: var(--accent-ink); }
.tile__title { font-family: var(--serif); font-weight: 400; font-size: clamp(1.6rem, 2.6vw, 2.6rem); line-height: 1.02; }
.tile__loc { font-size: .85rem; color: var(--ink-2); }
.portfolio__note { text-align: center; margin-top: clamp(56px, 8vw, 120px); }

/* ---------- Service page ---------- */
.service-overview { padding-bottom: calc(var(--sec) * .35); }
.service-overview__grid { display: grid; grid-template-columns: 1.6fr 1fr; gap: clamp(40px, 7vw, 120px); align-items: end; }
.service-overview__lede { max-width: 26ch; }
.service-overview__points { border-top: 1px solid var(--line); }
.service-overview__points li { padding: 14px 0; border-bottom: 1px solid var(--line); display: flex; gap: 14px; align-items: center; }
.service-overview__points li::before { content: ""; width: 6px; height: 6px; background: var(--accent); border-radius: 50%; }
.content-grid { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: clamp(40px, 6vw, 110px); align-items: start; }
.content-aside__sticky { position: sticky; top: calc(var(--header-h) + 28px); display: grid; gap: 28px; }
.aside-links { border-top: 1px solid var(--line); margin-top: 12px; }
.aside-links a { display: block; padding: 11px 0; border-bottom: 1px solid var(--line); font-size: .9rem; color: var(--ink-2); transition: color .3s, padding .4s var(--ease); }
.aside-links a:hover, .aside-links a.is-current { color: var(--ink); padding-left: 8px; }
.aside-links a.is-current { font-weight: 600; }
.aside-cta { background: var(--bg-2); padding: 28px; display: grid; gap: 18px; justify-items: start; }
.aside-cta p { font-family: var(--serif); font-size: 1.6rem; line-height: 1.1; }
.aside-cta .u-link { font-size: .85rem; color: var(--ink-2); }

/* Prose — styles existing editor / page-builder content */
.prose { font-size: 1.04rem; line-height: 1.78; color: #3a3836; min-width: 0; }
.prose--center { max-width: 760px; margin-inline: auto; }
.prose > * + * { margin-top: 1.15em; }
.prose h1, .prose h2, .prose h3, .prose h4 { font-family: var(--serif); font-weight: 400; color: var(--ink); line-height: 1.08; margin-top: 1.8em; }
.prose h1, .prose h2 { font-size: clamp(1.9rem, 3.2vw, 3rem); }
.prose h3 { font-size: clamp(1.5rem, 2.2vw, 2rem); }
.prose h4 { font-size: 1.35rem; }
.prose a { color: var(--ink); text-decoration: underline; text-decoration-color: var(--accent); text-underline-offset: 3px; }
.prose a:hover { text-decoration-color: var(--ink); }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose ul { list-style: none; padding-left: 0; }
.prose ul li { position: relative; padding-left: 1.5em; }
.prose ul li::before { content: ""; position: absolute; left: 0; top: .78em; width: .7em; height: 1px; background: var(--accent-ink); }
.prose ol { list-style: decimal; }
.prose li + li { margin-top: .45em; }
.prose img { height: auto; margin-block: 1.6em; }
.prose blockquote { border-left: 2px solid var(--accent); padding-left: 1.2em; font-family: var(--serif); font-size: 1.5rem; line-height: 1.3; color: var(--ink); }
.prose table { width: 100%; border-collapse: collapse; display: block; overflow-x: auto; }
.prose th, .prose td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line); }
.prose strong { color: var(--ink); font-weight: 600; }
.prose iframe { max-width: 100%; }
.prose .wp-block-button__link { display: inline-block; padding: 14px 24px; border-radius: 999px; background: var(--ink); color: var(--bg); text-decoration: none; }
.alignwide { max-width: 1100px; }
.alignfull { width: 100vw; max-width: 100vw; margin-left: calc(50% - 50vw); }
.wp-caption-text, figcaption { font-size: .82rem; color: var(--ink-2); }

/* ---------- Services hub ---------- */
.svc-feature { display: grid; grid-template-columns: 1.2fr 1fr; gap: clamp(32px, 6vw, 100px); align-items: center; padding-block: clamp(40px, 6vw, 90px); border-bottom: 1px solid var(--line); }
.svc-feature:nth-child(even) .svc-feature__media { order: 2; }
.svc-feature__media { display: block; overflow: hidden; aspect-ratio: 5 / 4; position: relative; background: var(--bg-2); }
.svc-feature__media > div { position: absolute; inset: -8% 0; }
.svc-feature__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.svc-feature__media:hover img { transform: scale(1.05); }
.svc-feature__body { display: grid; gap: 14px; justify-items: start; }
.svc-feature__body > p { color: var(--ink-2); max-width: 46ch; }
.svc-feature__num { font-family: var(--serif); font-size: 1.4rem; color: var(--accent-ink); }
.svc-feature__more summary { cursor: pointer; font-size: .85rem; letter-spacing: .08em; text-transform: uppercase; padding: 6px 0; }
.svc-feature__more[open] summary { margin-bottom: 4px; }

/* ---------- About / team ---------- */
.team__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(24px, 3vw, 48px) clamp(16px, 2vw, 32px); }
.team__member:nth-child(4n + 2), .team__member:nth-child(4n + 4) { margin-top: 12%; }
.team__photo { aspect-ratio: 3 / 4; overflow: hidden; background: var(--bg-2); margin-bottom: 16px; }
.team__photo img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(.35); transition: filter .8s, transform 1.2s var(--ease); }
.team__member:hover .team__photo img { filter: none; transform: scale(1.04); }
.team__name { font-family: var(--serif); font-weight: 400; font-size: 1.6rem; line-height: 1.1; }
.team__role { font-size: .8rem; color: var(--ink-2); letter-spacing: .04em; }

/* ---------- Project detail ---------- */
.project-hero { position: relative; height: 92svh; min-height: 560px; color: var(--white); display: flex; align-items: flex-end; overflow: hidden; }
.project-hero__content { position: relative; z-index: 2; padding-bottom: clamp(48px, 8vw, 110px); }
.project-hero__title { font-size: var(--fs-1); text-transform: uppercase; max-width: 16ch; }
.facts { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); margin-bottom: clamp(48px, 6vw, 90px); }
.facts > div { padding: 22px 20px 22px 0; border-bottom: 1px solid var(--line); }
.facts dt { font-size: .7rem; letter-spacing: .16em; text-transform: uppercase; color: var(--ink-2); margin-bottom: 6px; }
.facts dd { font-family: var(--serif); font-size: 1.5rem; line-height: 1.15; }
.gallery__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(12px, 2vw, 28px); }
.gallery__item { display: block; overflow: hidden; aspect-ratio: 4 / 5; background: var(--bg-2); }
.gallery__item--wide { grid-column: 1 / -1; aspect-ratio: 16 / 9; }
.gallery__item span, .gallery__item img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.gallery__item:hover img { transform: scale(1.05); }
.lightbox { border: 0; padding: 0; max-width: 100vw; max-height: 100vh; width: 100vw; height: 100vh; background: rgba(20,18,16,.94); }
.lightbox::backdrop { background: rgba(20,18,16,.9); }
.lightbox[open] { display: grid; place-items: center; }
.lightbox img { max-width: 90vw; max-height: 86vh; object-fit: contain; }
.lightbox .round-btn { position: absolute; color: var(--white); border-color: var(--line-light); }
.lightbox__close { top: 20px; right: 20px; }
.lightbox__prev { left: 20px; top: 50%; }
.lightbox__next { right: 20px; top: 50%; }
.next-project { position: relative; height: 80svh; min-height: 480px; overflow: hidden; color: var(--white); }
.next-project__link { display: flex; align-items: flex-end; height: 100%; }
.next-project__media { position: absolute; inset: -10% 0; }
.next-project__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s var(--ease); }
.next-project__link:hover .next-project__media img { transform: scale(1.05); }
.next-project::after { content: ""; position: absolute; inset: 0; background: linear-gradient(transparent 30%, rgba(20,18,16,.6)); pointer-events: none; }
.next-project__content { position: relative; z-index: 2; padding-bottom: clamp(48px, 7vw, 100px); }
.next-project__content .display-1 { margin-top: 16px; max-width: 16ch; }

/* ---------- Insights ---------- */
.posts { display: grid; grid-template-columns: repeat(2, 1fr); gap: clamp(48px, 6vw, 96px) clamp(20px, 3vw, 48px); }
.post-card--lead { grid-column: 1 / -1; }
.post-card--lead .post-card__link { display: grid; grid-template-columns: 1.4fr 1fr; gap: clamp(28px, 4vw, 64px); align-items: end; }
.post-card__media { overflow: hidden; aspect-ratio: 16 / 10; background: var(--bg-2); margin-bottom: 20px; }
.post-card--lead .post-card__media { margin-bottom: 0; }
.post-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.post-card__link:hover .post-card__media img { transform: scale(1.05); }
.post-card__body { display: grid; gap: 14px; justify-items: start; }
.post-card__title { font-family: var(--serif); font-weight: 400; font-size: clamp(1.7rem, 2.6vw, 2.6rem); line-height: 1.05; }
.post-card--lead .post-card__title { font-size: var(--fs-2); }
.pagination { margin-top: 80px; }
.pagination .nav-links { display: flex; gap: 8px; justify-content: center; }
.pagination .page-numbers { min-width: 46px; height: 46px; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 999px; padding-inline: 14px; }
.pagination .page-numbers.current { background: var(--ink); color: var(--bg); }

.article__head { padding-top: calc(var(--header-h) + clamp(48px, 8vw, 120px)); padding-bottom: clamp(40px, 5vw, 72px); }
.article__title { font-size: var(--fs-2); max-width: 22ch; margin-top: 20px; }
.article__media { margin-bottom: clamp(48px, 6vw, 90px); }
.article__media img { width: 100%; aspect-ratio: 16 / 8; object-fit: cover; }
.post-nav { padding-block: clamp(56px, 7vw, 110px); }
.post-nav .nav-links { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; border-top: 1px solid var(--line); }
.post-nav a { display: grid; gap: 8px; padding-top: 24px; }
.post-nav .nav-next { text-align: right; }
.post-nav .nav-next .eyebrow { justify-content: flex-end; }
.post-nav__title { font-family: var(--serif); font-size: 1.6rem; line-height: 1.1; }

.notfound { padding-top: calc(var(--header-h) + clamp(64px, 12vw, 180px)); }
.notfound .display-xl { margin-block: 24px 32px; }
.notfound__links { display: flex; flex-wrap: wrap; gap: 12px; margin-block: 32px; }
.search-form { display: flex; gap: 12px; max-width: 520px; }
.search-form label { flex: 1; }
.search-field { width: 100%; font: inherit; padding: 14px 0; border: 0; border-bottom: 1px solid var(--line); background: transparent; }
.search-submit { padding: 12px 22px; border: 1px solid var(--ink); border-radius: 999px; background: none; font: inherit; cursor: pointer; }

.offices { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 100px); }
.offices > div { display: grid; gap: 16px; justify-items: start; }
.offices p:not(.eyebrow) { color: var(--ink-2); max-width: 40ch; }
.split-cta { display: grid; grid-template-columns: 1.2fr 1fr; gap: clamp(32px, 6vw, 100px); align-items: end; }
.split-cta > div { display: grid; gap: 22px; }
.split-cta p { color: var(--ink-2); }

/* =========================================================================
   Responsive
   ========================================================================= */
@media (max-width: 1180px) {
	.nav { display: none; }
	.menu-toggle { display: block; }
	.site-header__actions .btn--pill { display: none; }
	.process__list { grid-template-columns: repeat(3, 1fr); row-gap: 56px; }
	.process__line { display: none; }
	.process__step { border-top: 1px solid rgba(247,245,240,.18); }
	.content-grid { grid-template-columns: 1fr; }
	.content-aside__sticky { position: static; }
	.team__grid { grid-template-columns: repeat(3, 1fr); }
	.team__member:nth-child(n) { margin-top: 0; }
}
@media (min-width: 1181px) { .mobile-menu { display: none !important; } }

@media (max-width: 899px) {
	:root { --header-h: 70px; }
	.section-head { grid-template-columns: 1fr; }
	.section-head__link { justify-self: start; }
	.intro__grid, .expertise__grid, .faq__grid, .contact__grid, .service-overview__grid, .materials, .materials__panel, .svc-feature, .post-card--lead .post-card__link, .offices, .split-cta { grid-template-columns: 1fr; }
	.intro__media { margin-top: 0; padding-bottom: 0; }
	.intro__img-small { display: none; }
	.intro__cap { display: none; }
	.svc-row__link { grid-template-columns: 44px 1fr 24px; gap: 14px; }
	.svc-row__num { padding-left: 0; }
	.svc-row__points { display: none; }
	.svc-row__arrow { margin-right: 0; }
	.svc-index__float { display: none; }
	.materials__tabs { position: static; flex-direction: row; overflow-x: auto; border-top: 0; gap: 8px; scrollbar-width: none; padding-bottom: 4px; }
	.materials__tabs::-webkit-scrollbar { display: none; }
	.materials__tab { white-space: nowrap; font-size: 1.1rem; padding: 10px 16px; border: 1px solid var(--line); border-radius: 999px; }
	.materials__tab::after { display: none; }
	.materials__tab[aria-selected="true"] { background: var(--ink); color: var(--bg); padding-left: 16px; }
	.swatch { aspect-ratio: 16 / 10; }
	.process__list { grid-template-columns: 1fr 1fr; }
	.why__list { grid-template-columns: 1fr; }
	.why__item:not(:nth-child(3n + 1)) { padding-left: 0; border-left: 0; }
	.faq__head { position: static; }
	.form__grid { grid-template-columns: 1fr; }
	.contact__details > div { grid-template-columns: 90px 1fr; }
	.site-footer__grid { grid-template-columns: 1fr 1fr; }
	.stats--wide { grid-template-columns: 1fr 1fr; row-gap: 32px; }
	.stats--wide .stat:nth-child(odd) { border-left: 0; padding-left: 0; }
	.portfolio__grid { grid-template-columns: 1fr; }
	.tile, .tile--xl, .tile--lg, .tile--sm { grid-column: auto; margin-top: 0 !important; }
	.tile--xl .tile__media, .tile--sm .tile__media { aspect-ratio: 4 / 3; }
	.svc-feature:nth-child(even) .svc-feature__media { order: 0; }
	.team__grid { grid-template-columns: 1fr 1fr; }
	.facts { grid-template-columns: 1fr 1fr; }
	.posts { grid-template-columns: 1fr; }
	.col-list__link { grid-template-columns: 36px 1fr; }
	.col-list__meta { grid-column: 2; }
	.post-nav .nav-links { grid-template-columns: 1fr; }
	.post-nav .nav-next { text-align: left; }
	.post-nav .nav-next .eyebrow { justify-content: flex-start; }

}

@media (max-width: 560px) {
	.hero__title .line--indent { padding-left: .5em; }
	.hero__ctas { width: 100%; }
	.hero__ctas .btn { flex: 1 1 auto; justify-content: space-between; }
	.process__list { grid-template-columns: 1fr; }
	.site-footer__grid { grid-template-columns: 1fr; }
	.facts { grid-template-columns: 1fr; }
	.stats { grid-template-columns: 1fr 1fr; }
	.stat dd { font-size: 3rem; }
	.team__grid { gap: 20px 12px; }
	.gallery__grid { grid-template-columns: 1fr; }
	.gallery__item--wide { aspect-ratio: 4 / 3; }
	.btn { padding: 16px 22px; }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
}
