/* =========================================================
   ArchiPod — "Warm Modern Minimal" concept
   ========================================================= */
:root {
	--paper: #f7f3ee;
	--paper-2: #efe8df;
	--ink: #1f1a16;
	--ink-2: #5b524a;
	--ink-3: #8a8078;
	--line: rgba(31, 26, 22, .14);
	--accent: #c36636;
	--accent-ink: #a9542a;
	--dark: #1a1612;

	--serif: 'Cormorant Garamond', 'Times New Roman', serif;
	--sans: 'Manrope', 'Helvetica Neue', Arial, sans-serif;

	--gutter: clamp(20px, 5vw, 80px);
	--section: clamp(88px, 12vw, 168px);
	--ease: cubic-bezier(.2, .7, .2, 1);
}

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

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

body {
	margin: 0;
	background: var(--paper);
	color: var(--ink);
	font-family: var(--sans);
	font-size: 16px;
	line-height: 1.7;
	-webkit-font-smoothing: antialiased;
	overflow-x: hidden;
}

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

/* Cormorant defaults to old-style figures; use lining numerals everywhere */
body, .service .idx, .step::before, .award .yr, .stat .n { font-variant-numeric: lining-nums; }
a { color: inherit; }
button { font: inherit; color: inherit; }

.wrap {
	width: 100%;
	max-width: 1440px;
	margin: 0 auto;
	padding: 0 var(--gutter);
}

.skip-link {
	position: absolute;
	left: 16px;
	top: -60px;
	z-index: 200;
	background: var(--ink);
	color: #fff;
	padding: 10px 16px;
	text-decoration: none;
}
.skip-link:focus { top: 16px; }

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

/* ---------- Type ---------- */
.eyebrow {
	display: inline-flex;
	align-items: center;
	gap: 14px;
	margin: 0 0 28px;
	font-family: var(--sans);
	font-size: 12px;
	font-weight: 600;
	letter-spacing: .24em;
	text-transform: uppercase;
	color: var(--ink-3);
}
.eyebrow .num { color: var(--accent); }
.eyebrow::after {
	content: "";
	width: 40px;
	height: 1px;
	background: currentColor;
	opacity: .5;
}

.h-display,
.h-section {
	font-family: var(--serif);
	font-weight: 500;
	letter-spacing: -.01em;
	line-height: 1.05;
	margin: 0;
}
.h-section { font-size: clamp(40px, 5.4vw, 80px); }
.h-display em,
.h-section em {
	font-style: italic;
	color: var(--accent);
}

.lead {
	font-size: clamp(17px, 1.35vw, 19px);
	color: var(--ink-2);
	max-width: 52ch;
}

/* ---------- Buttons ---------- */
.btn {
	display: inline-flex;
	align-items: center;
	gap: 14px;
	padding: 17px 30px;
	border: 1px solid var(--ink);
	background: var(--ink);
	color: #fff;
	font-family: var(--sans);
	font-size: 13px;
	font-weight: 600;
	letter-spacing: .16em;
	text-transform: uppercase;
	text-decoration: none;
	cursor: pointer;
	transition: background-color .3s, color .3s, border-color .3s;
}
.btn svg { width: 18px; height: 18px; transition: transform .35s var(--ease); }
.btn:hover svg { transform: translateX(4px); }
.btn:hover { background: var(--accent); border-color: var(--accent); }

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

.btn--ghost { background: transparent; color: var(--ink); }
.btn--ghost:hover { background: var(--ink); border-color: var(--ink); color: #fff; }

.link-arrow {
	display: inline-flex;
	align-items: center;
	gap: 12px;
	font-size: 13px;
	font-weight: 600;
	letter-spacing: .16em;
	text-transform: uppercase;
	text-decoration: none;
	padding-bottom: 6px;
	border-bottom: 1px solid currentColor;
	transition: color .25s, gap .35s var(--ease);
}
.link-arrow svg { width: 16px; height: 16px; }
.link-arrow:hover { color: var(--accent); gap: 18px; }

/* ---------- Header ---------- */
.site-header {
	position: fixed;
	inset: 0 0 auto 0;
	z-index: 100;
	height: 92px;
	display: flex;
	align-items: center;
	color: #fff;
	transition: height .35s var(--ease), background-color .35s, color .35s, box-shadow .35s;
}
.site-header::before {
	content: "";
	position: absolute;
	inset: 0 0 -40px;
	z-index: -1;
	background: linear-gradient(to bottom, rgba(15, 11, 8, .5), rgba(15, 11, 8, 0));
	transition: opacity .35s;
	pointer-events: none;
}
.site-header .wrap {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
	max-width: none;
}
.brand { display: block; position: relative; }
.brand img { width: 148px; transition: width .35s var(--ease), opacity .3s; }
.brand .logo-dark {
	position: absolute;
	inset: 0;
	opacity: 0;
}

.nav { display: flex; align-items: center; gap: clamp(24px, 2.8vw, 44px); }
.nav a {
	position: relative;
	font-size: 13px;
	font-weight: 500;
	letter-spacing: .16em;
	text-transform: uppercase;
	text-decoration: none;
	padding: 6px 0;
}
.nav a:not(.btn)::after {
	content: "";
	position: absolute;
	left: 0; right: 0; bottom: 0;
	height: 1px;
	background: currentColor;
	transform: scaleX(0);
	transform-origin: right;
	transition: transform .35s var(--ease);
}
.nav a:not(.btn):hover::after { transform: scaleX(1); transform-origin: left; }
.nav .btn {
	padding: 13px 22px;
	font-size: 12px;
	background: transparent;
	border-color: rgba(255, 255, 255, .7);
	color: #fff;
}
.nav .btn:hover { background: #fff; color: var(--ink); border-color: #fff; }

.menu-toggle {
	display: none;
	width: 44px;
	height: 44px;
	padding: 0;
	border: 0;
	background: none;
	cursor: pointer;
	position: relative;
}
.menu-toggle span {
	position: absolute;
	left: 10px;
	right: 10px;
	height: 1.5px;
	background: currentColor;
	transition: transform .35s var(--ease), top .35s var(--ease), opacity .2s;
}
.menu-toggle span:nth-child(1) { top: 16px; }
.menu-toggle span:nth-child(2) { top: 27px; }

/* solid state */
.site-header.is-solid {
	height: 72px;
	background: rgba(247, 243, 238, .94);
	-webkit-backdrop-filter: saturate(1.4) blur(14px);
	backdrop-filter: saturate(1.4) blur(14px);
	color: var(--ink);
	box-shadow: 0 1px 0 var(--line);
}
.site-header.is-solid::before { opacity: 0; }
.site-header.is-solid .brand img { width: 118px; }
.site-header.is-solid .logo-light { opacity: 0; }
.site-header.is-solid .logo-dark { opacity: 1; }
.site-header.is-solid .nav .btn { border-color: var(--accent); background: var(--accent); color: #fff; }
.site-header.is-solid .nav .btn:hover { background: var(--ink); border-color: var(--ink); }

/* mobile menu */
.mobile-menu {
	position: fixed;
	inset: 0;
	z-index: 99;
	background: var(--paper);
	color: var(--ink);
	display: flex;
	flex-direction: column;
	justify-content: center;
	padding: 100px var(--gutter) 40px;
	opacity: 0;
	visibility: hidden;
	transition: opacity .4s var(--ease), visibility .4s;
}
.mobile-menu a.m-link {
	display: block;
	font-family: var(--serif);
	font-size: 44px;
	line-height: 1.25;
	text-decoration: none;
	transform: translateY(16px);
	opacity: 0;
	transition: transform .5s var(--ease), opacity .5s var(--ease), color .2s;
}
.mobile-menu a.m-link:hover { color: var(--accent); }
.mobile-menu .m-foot {
	margin-top: 48px;
	font-size: 14px;
	color: var(--ink-2);
}
.mobile-menu .m-foot a { text-decoration: none; display: block; }
body.menu-open { overflow: hidden; }
body.menu-open .mobile-menu { opacity: 1; visibility: visible; }
body.menu-open .mobile-menu a.m-link { transform: none; opacity: 1; }
body.menu-open .mobile-menu a.m-link:nth-child(2) { transition-delay: .05s; }
body.menu-open .mobile-menu a.m-link:nth-child(3) { transition-delay: .1s; }
body.menu-open .mobile-menu a.m-link:nth-child(4) { transition-delay: .15s; }
body.menu-open .site-header { color: var(--ink); background: transparent; box-shadow: none; }
body.menu-open .site-header::before { opacity: 0; }
body.menu-open .site-header .logo-light { opacity: 0; }
body.menu-open .site-header .logo-dark { opacity: 1; }
body.menu-open .menu-toggle span:nth-child(1) { top: 21px; transform: rotate(45deg); }
body.menu-open .menu-toggle span:nth-child(2) { top: 21px; transform: rotate(-45deg); }

/* ---------- Intro (lightweight logo reveal) ---------- */
.intro {
	position: fixed;
	inset: 0;
	z-index: 1000;
	display: grid;
	place-items: center;
	background: var(--paper);
	transition: transform 1s cubic-bezier(.76, 0, .24, 1);
	will-change: transform;
}
.intro-grid {                     /* faint drafting grid, like tracing paper */
	position: absolute;
	inset: 0;
	background-image:
		linear-gradient(rgba(31, 26, 22, .05) 1px, transparent 1px),
		linear-gradient(90deg, rgba(31, 26, 22, .05) 1px, transparent 1px);
	background-size: 64px 64px;
	mask-image: radial-gradient(ellipse at center, #000 30%, transparent 75%);
	-webkit-mask-image: radial-gradient(ellipse at center, #000 30%, transparent 75%);
	animation: intro-fade .8s ease both;
}
.intro-inner { position: relative; display: flex; flex-direction: column; align-items: center; width: min(520px, 76vw); }
.intro-sheet {
	margin-bottom: 26px;
	padding: 6px 12px;
	border: 1px solid var(--ink);
	font-size: 11px;
	font-weight: 700;
	letter-spacing: .24em;
	text-transform: uppercase;
	animation: intro-up .7s var(--ease) .1s both;
}
.intro-logo { width: 100%; overflow: hidden; clip-path: inset(0 100% 0 0); animation: intro-wipe 1s cubic-bezier(.65, 0, .35, 1) .25s forwards; }
.intro-logo img { display: block; width: 100%; height: auto; }
.intro-line { display: block; width: 72px; height: 2px; margin-top: 28px; background: var(--accent); transform: scaleX(0); transform-origin: left; animation: intro-line 1s cubic-bezier(.65, 0, .35, 1) .55s forwards; }
.intro-tag { display: flex; gap: 22px; margin: 18px 0 0; font-size: 11px; font-weight: 600; letter-spacing: .28em; text-transform: uppercase; color: var(--ink-3); }
.intro-tag span { opacity: 0; animation: intro-up .6s var(--ease) both; }
.intro-tag span:nth-child(1) { animation-delay: .8s; }
.intro-tag span:nth-child(2) { animation-delay: .9s; }
.intro-tag span:nth-child(3) { animation-delay: 1s; }
.intro.is-done { transform: translateY(-100%); }
@keyframes intro-wipe { to { clip-path: inset(0 0 0 0); } }
@keyframes intro-line { to { transform: scaleX(1); } }
@keyframes intro-up { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
@keyframes intro-fade { from { opacity: 0; } to { opacity: 1; } }
@media (max-width: 640px) {
	.intro-tag { gap: 12px; font-size: 9px; letter-spacing: .2em; }
}
body.is-loading { overflow: hidden; }
body.is-loading .sr-copy > * { opacity: 0; transform: translateY(22px); }

/* ---------- Hero: project slider (+ optional before/after) ---------- */
.visually-hidden {
	position: absolute !important;
	width: 1px; height: 1px;
	padding: 0; margin: -1px;
	overflow: hidden; clip: rect(0 0 0 0);
	white-space: nowrap; border: 0;
}
.sr { background: var(--paper); }
.sr-frame {
	height: 100vh;
	height: 100svh;
	min-height: 600px;
	display: flex;
	flex-direction: column;
	padding-top: 72px;          /* header */
}
.sr-stage {
	--pos: 50%;
	position: relative;
	flex: 1;
	overflow: hidden;
	isolation: isolate;
	background: var(--dark);
	color: #fff;
}
.sr-layer { position: absolute; inset: 0; }
.sr-layer img,
.sr-img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
}
.sr-img {
	opacity: 0;
	transform: scale(1.03);
	transition: opacity .9s ease-in-out;
}
.sr-img.is-active {
	opacity: 1;
	animation: sr-zoom 6s ease-out forwards;
}
@keyframes sr-zoom { from { transform: scale(1.03); } to { transform: scale(1.11); } }

.sr-real::after {              /* shade where the copy sits */
	content: "";
	position: absolute;
	inset: 0;
	z-index: 1;
	pointer-events: none;
	background:
		linear-gradient(to top, rgba(15, 11, 8, .78) 0%, rgba(15, 11, 8, .3) 38%, rgba(15, 11, 8, 0) 62%),
		linear-gradient(to right, rgba(15, 11, 8, .35) 0%, rgba(15, 11, 8, 0) 55%);
}

/* Copy */
.sr-copy {
	position: absolute;
	z-index: 3;
	left: var(--gutter);
	right: var(--gutter);
	bottom: clamp(36px, 7vh, 80px);
	max-width: 820px;
}
.sr-copy > * {
	transition: opacity .55s var(--ease), transform .7s var(--ease);
}
.sr-copy > :nth-child(2) { transition-delay: .06s; }
.sr-copy > :nth-child(3) { transition-delay: .12s; }
.sr-copy > :nth-child(4) { transition-delay: .18s; }
.sr-copy.is-out > * {
	opacity: 0;
	transform: translateY(22px);
	transition-delay: 0s;
	transition-duration: .3s;
}
.sr-kicker {
	display: flex;
	align-items: baseline;
	gap: 10px;
	margin: 0 0 18px;
	font-size: 12px;
	font-weight: 600;
	letter-spacing: .22em;
	text-transform: uppercase;
	color: rgba(255, 255, 255, .8);
}
.sr-kicker #srIdx {
	font-family: var(--serif);
	font-size: 26px;
	font-weight: 500;
	letter-spacing: 0;
	color: #e9b48f;
}
.sr-of { margin-right: 14px; letter-spacing: .1em; }
.sr-name {
	margin: 0;
	font-family: var(--serif);
	font-weight: 500;
	font-size: clamp(54px, 8vw, 132px);
	line-height: .95;
	letter-spacing: -.02em;
}
.sr-desc {
	margin: 18px 0 26px;
	max-width: 46ch;
	font-size: clamp(15px, 1.2vw, 18px);
	line-height: 1.6;
	color: rgba(255, 255, 255, .85);
}
.sr-link {
	display: inline-flex;
	align-items: center;
	gap: 12px;
	padding-bottom: 6px;
	border-bottom: 1px solid rgba(255, 255, 255, .7);
	color: #fff;
	font-size: 13px;
	font-weight: 600;
	letter-spacing: .16em;
	text-transform: uppercase;
	text-decoration: none;
	transition: gap .35s var(--ease), color .25s, border-color .25s;
}
.sr-link svg { width: 16px; height: 16px; }
.sr-link:hover { gap: 18px; color: #e9b48f; border-color: #e9b48f; }

/* Arrows */
.sr-arrows {
	position: absolute;
	z-index: 3;
	right: var(--gutter);
	bottom: clamp(36px, 7vh, 80px);
	display: flex;
	gap: 10px;
}
.sr-arrow {
	width: 58px;
	height: 58px;
	border-radius: 50%;
	border: 1px solid rgba(255, 255, 255, .55);
	background: rgba(15, 11, 8, .15);
	-webkit-backdrop-filter: blur(6px);
	backdrop-filter: blur(6px);
	color: #fff;
	display: grid;
	place-items: center;
	cursor: pointer;
	transition: background-color .25s, color .25s, border-color .25s;
}
.sr-arrow svg { width: 20px; height: 20px; }
.sr-arrow:hover { background: #fff; color: var(--ink); border-color: #fff; }

/* Before / after (activates only with .has-before) */
.sr-before { z-index: 0; }
.sr-stage.has-before .sr-real { clip-path: inset(0 0 0 var(--pos)); }
.sr-stage.has-before { cursor: ew-resize; }
.sr-handle {
	position: absolute;
	z-index: 4;
	top: 0;
	bottom: 0;
	left: var(--pos);
	width: 64px;
	margin-left: -32px;
	display: flex;
	align-items: center;
	justify-content: center;
	cursor: ew-resize;
	touch-action: none;
}
.sr-handle[hidden] { display: none; }
.sr-handle::before {
	content: "";
	position: absolute;
	top: 0; bottom: 0; left: 50%;
	width: 1.5px;
	margin-left: -.75px;
	background: #fff;
	box-shadow: 0 0 18px rgba(0, 0, 0, .3);
}
.sr-knob {
	position: relative;
	width: 60px;
	height: 60px;
	border-radius: 50%;
	background: var(--paper);
	color: var(--ink);
	display: grid;
	place-items: center;
	box-shadow: 0 10px 30px -8px rgba(31, 26, 22, .45);
	transition: transform .3s var(--ease), background-color .3s, color .3s;
}
.sr-knob svg { width: 22px; height: 22px; }
.sr-handle:hover .sr-knob,
.sr-handle:focus-visible .sr-knob { transform: scale(1.08); background: var(--accent); color: #fff; }
.sr-handle:focus-visible { outline: none; }
.sr-tag {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	padding: 6px 12px;
	font-size: 11px;
	font-weight: 600;
	letter-spacing: .2em;
	text-transform: uppercase;
	white-space: nowrap;
	pointer-events: none;
	color: #fff;
	background: rgba(31, 26, 22, .55);
}
.sr-tag--l { right: calc(100% + 4px); }
.sr-tag--r { left: calc(100% + 4px); }

/* Title block (like an architectural drawing sheet) */
.sr-block {
	display: grid;
	grid-template-columns: 1.3fr 1.2fr .9fr auto auto;
	align-items: stretch;
	min-height: 84px;
	border-top: 1.5px solid var(--ink);
	background: var(--paper);
	padding: 0 var(--gutter);
}
.sr-cell {
	display: flex;
	flex-direction: column;
	justify-content: center;
	gap: 2px;
	padding: 12px 20px;
	border-left: 1px solid var(--line);
	min-width: 0;
}
.sr-cell:first-child { border-left: 0; padding-left: 0; }
.sr-cell .k {
	font-size: 10px;
	font-weight: 700;
	letter-spacing: .22em;
	text-transform: uppercase;
	color: var(--ink-3);
}
.sr-cell .v {
	font-family: var(--serif);
	font-size: 22px;
	line-height: 1.2;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}
.sr-sheets { display: flex; gap: 4px; margin-top: 2px; }
.sr-sheets button {
	position: relative;
	width: 38px;
	height: 30px;
	padding: 0;
	border: 1px solid var(--line);
	background: transparent;
	font-size: 12px;
	font-weight: 600;
	cursor: pointer;
	overflow: hidden;
	transition: background-color .2s, color .2s, border-color .2s;
}
.sr-sheets button:hover { border-color: var(--ink); }
.sr-sheets button[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: #fff; }
.sr-sheets button::after {      /* autoplay progress */
	content: "";
	position: absolute;
	left: 0; right: 0; bottom: 0;
	height: 3px;
	background: var(--accent);
	transform: scaleX(0);
	transform-origin: left;
}
.sr-sheets button.is-running::after { animation: sr-progress var(--dur, 5000ms) linear forwards; }
@keyframes sr-progress { to { transform: scaleX(1); } }
.sr-cta {
	display: flex;
	align-items: center;
	gap: 14px;
	margin: 14px 0 14px 20px;
	padding: 0 28px;
	background: var(--accent);
	color: #fff;
	text-decoration: none;
	font-size: 13px;
	font-weight: 600;
	letter-spacing: .16em;
	text-transform: uppercase;
	white-space: nowrap;
	transition: background-color .3s;
}
.sr-cta svg { width: 18px; height: 18px; transition: transform .35s var(--ease); }
.sr-cta:hover { background: var(--ink); }
.sr-cta:hover svg { transform: translateX(4px); }

@media (max-width: 1100px) {
	.sr-block { grid-template-columns: 1.2fr 1fr auto auto; }
	.sr-hide-sm:last-of-type { display: none; }
}
@media (max-width: 900px) {
	.sr-frame { padding-top: 64px; }
}
@media (max-width: 640px) {
	.sr-name { font-size: clamp(44px, 12.5vw, 60px); }
	.sr-copy { bottom: 92px; }
	.sr-desc { margin: 12px 0 18px; }
	.sr-arrows { left: var(--gutter); right: auto; bottom: 24px; }
	.sr-arrow { width: 48px; height: 48px; }
	.sr-block {
		grid-template-columns: 1fr auto;
		min-height: 0;
	}
	.sr-cell--studio, .sr-hide-sm { display: none; }
	.sr-cell { padding: 12px 0; border-left: 0; }
	.sr-cell--sheets { grid-column: 1 / -1; flex-direction: row; align-items: center; justify-content: space-between; }
	.sr-cta { grid-column: 1 / -1; margin: 0 0 14px; padding: 15px 20px; justify-content: center; }
}
@media (prefers-reduced-motion: reduce) {
	.sr-img.is-active { animation: none; }
}

/* ---------- Sections (below the hero) ---------- */
section[id] { scroll-margin-top: 72px; }

/* Drawing-sheet label used as each section's eyebrow */
.sheet-label {
	display: inline-flex;
	align-items: stretch;
	margin-bottom: clamp(28px, 4vw, 44px);
	border: 1px solid var(--ink);
	font-size: 11px;
	font-weight: 600;
	letter-spacing: .22em;
	text-transform: uppercase;
	line-height: 1;
}
.sheet-label > span {
	padding: 9px 12px;
	background: var(--ink);
	color: var(--paper);
	letter-spacing: .12em;
}
.sheet-label { padding-right: 14px; gap: 14px; align-items: center; }
.sheet-label--light { border-color: rgba(242, 236, 229, .5); color: #f2ece5; }
.sheet-label--light > span { background: #f2ece5; color: var(--dark); }

.link-arrow--light { color: #f2ece5; }
.link-arrow--light:hover { color: #e9b48f; }

/* ===== 01 Studio ===== */
.s-studio { padding: var(--section) 0 calc(var(--section) * .8); }
.ink-text {
	margin: 0;
	max-width: 27ch;
	font-family: var(--serif);
	font-weight: 500;
	font-size: clamp(36px, 5vw, 80px);
	line-height: 1.06;
	letter-spacing: -.015em;
}
.js .ink-text .w { color: rgba(31, 26, 22, .16); transition: color .35s ease; }
.js .ink-text .w.on { color: var(--ink); }
.ink-text .w:nth-last-child(-n+4).on { color: var(--accent); font-style: italic; }

.studio-row {
	display: grid;
	grid-template-columns: 1.1fr 1fr;
	gap: clamp(32px, 6vw, 110px);
	align-items: end;
	margin-top: clamp(56px, 8vw, 120px);
}
.studio-fig { margin: 0; }
.studio-fig img { width: 100%; aspect-ratio: 4 / 3.2; object-fit: cover; }
figcaption {
	display: flex;
	gap: 14px;
	margin-top: 12px;
	font-size: 13px;
	color: var(--ink-3);
}
figcaption span { font-weight: 700; letter-spacing: .14em; text-transform: uppercase; font-size: 11px; color: var(--ink); }
.studio-side p { margin: 0 0 28px; color: var(--ink-2); font-size: clamp(16px, 1.25vw, 18px); max-width: 44ch; }

/* Stats as dimension lines */
.dims {
	list-style: none;
	margin: clamp(72px, 9vw, 130px) 0 0;
	padding: 0;
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: clamp(20px, 3vw, 48px);
}
.dim { position: relative; padding-top: 34px; }
.dim-line {
	position: absolute;
	top: 0; left: 0; right: 0;
	height: 13px;
	border-left: 1px solid var(--ink);
	border-right: 1px solid var(--ink);
}
.dim-line::before {               /* the measured line */
	content: "";
	position: absolute;
	left: 0; right: 0; top: 6px;
	height: 1px;
	background: var(--ink);
	transform: scaleX(0);
	transition: transform 1.1s var(--ease) .2s;
}
.dim-line::after {                /* arrow ticks */
	content: "";
	position: absolute;
	left: -1px; right: -1px; top: 3px;
	height: 7px;
	background:
		linear-gradient(45deg, transparent 45%, var(--ink) 45% 55%, transparent 55%) left / 7px 7px no-repeat,
		linear-gradient(-45deg, transparent 45%, var(--ink) 45% 55%, transparent 55%) right / 7px 7px no-repeat;
}
.dim.is-in .dim-line::before { transform: scaleX(1); }
.dim-n,
.dim-plus {
	font-family: var(--serif);
	font-size: clamp(56px, 6vw, 96px);
	font-weight: 500;
	line-height: 1;
	font-variant-numeric: lining-nums tabular-nums;
}
.dim-plus { color: var(--accent); margin-left: 2px; }
.dim-l {
	display: block;
	margin-top: 12px;
	font-size: 12px;
	font-weight: 600;
	letter-spacing: .16em;
	text-transform: uppercase;
	color: var(--ink-3);
	max-width: 22ch;
}

/* ===== 02 Work: horizontal gallery ===== */
.s-work { background: var(--paper-2); }
.work-pin { position: relative; }
.work-sticky {
	position: sticky;
	top: 72px;
	height: calc(100vh - 72px);
	height: calc(100svh - 72px);
	display: flex;
	flex-direction: column;
	justify-content: center;
	overflow: hidden;
	padding: clamp(24px, 4vh, 48px) 0;
}
.work-top {
	display: flex;
	justify-content: space-between;
	align-items: flex-end;
	gap: 32px;
	max-width: none;
	margin-bottom: clamp(24px, 4vh, 48px);
}
.work-top .sheet-label { margin-bottom: 18px; }
.work-top .h-section { font-size: clamp(40px, 4.8vw, 76px); }
.work-progress {
	flex: 0 0 min(320px, 30vw);
	height: 1px;
	background: var(--line);
	margin-bottom: 14px;
}
.work-progress span {
	display: block;
	height: 100%;
	background: var(--ink);
	transform: scaleX(0);
	transform-origin: left;
}
.work-track {
	display: flex;
	align-items: flex-start;
	gap: clamp(20px, 2.4vw, 40px);
	padding: 0 var(--gutter);
	will-change: transform;
}
.wcard {
	flex: 0 0 auto;
	width: clamp(300px, 34vw, 560px);
	text-decoration: none;
	color: var(--ink);
}
.wcard--tall { width: clamp(240px, 23vw, 380px); }
.wcard-img {
	overflow: hidden;
	background: var(--paper);
	height: min(52vh, 520px);
}
.wcard-img img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 1.1s var(--ease);
}
.wcard:hover .wcard-img img { transform: scale(1.05); }
.wcard-meta {
	display: flex;
	justify-content: space-between;
	margin-top: 16px;
	padding-top: 10px;
	border-top: 1px solid var(--line);
	font-size: 11px;
	font-weight: 600;
	letter-spacing: .18em;
	text-transform: uppercase;
	color: var(--ink-3);
}
.wcard-cat { color: var(--accent); }
.wcard h3 {
	margin: 10px 0 2px;
	font-family: var(--serif);
	font-weight: 500;
	font-size: clamp(26px, 2.2vw, 34px);
	line-height: 1.1;
	transition: color .25s;
}
.wcard:hover h3 { color: var(--accent); }
.wcard p { margin: 0; font-size: 14px; color: var(--ink-3); }
.wcard--end {
	width: clamp(240px, 22vw, 340px);
	height: min(52vh, 520px);
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	padding: 32px;
	background: var(--ink);
	color: var(--paper);
	transition: background-color .3s;
}
.wcard--end:hover { background: var(--accent); }
.wcard-end-n { font-family: var(--serif); font-size: 96px; line-height: 1; }
.wcard-end-t { font-family: var(--serif); font-size: 34px; line-height: 1.1; }
.wcard-end-a svg { width: 40px; height: 40px; transition: transform .35s var(--ease); }
.wcard--end:hover .wcard-end-a svg { transform: translateX(8px); }

/* ===== 03 Services ===== */
.s-services { padding: var(--section) 0; position: relative; }
.svc-head {
	display: flex;
	justify-content: space-between;
	align-items: flex-start;
	gap: 32px;
	flex-wrap: wrap;
	margin-bottom: clamp(32px, 4vw, 56px);
}
.svc-head .lead { margin: 0; max-width: 48ch; }
.svc-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--ink); }
.svc {
	position: relative;
	display: grid;
	grid-template-columns: 80px 1fr minmax(240px, 34ch);
	align-items: center;
	gap: 24px;
	padding: clamp(24px, 3vw, 40px) 0;
	border-bottom: 1px solid var(--line);
	cursor: default;
}
.svc-no { font-family: var(--serif); font-size: 22px; color: var(--accent); }
.svc-name {
	margin: 0;
	font-family: var(--serif);
	font-weight: 500;
	font-size: clamp(40px, 6vw, 96px);
	line-height: 1;
	letter-spacing: -.015em;
	transition: transform .5s var(--ease), color .3s;
}
.svc-desc { margin: 0; color: var(--ink-2); font-size: 15px; }
.svc-thumb { display: none; }
.svc:hover .svc-name { transform: translateX(18px); color: var(--accent); font-style: italic; }
.svc-float {
	position: fixed;
	left: 0; top: 0;
	z-index: 50;
	width: 300px;
	height: 380px;
	overflow: hidden;
	pointer-events: none;
	opacity: 0;
	transition: opacity .3s;
	box-shadow: 0 30px 60px -20px rgba(31, 26, 22, .45);
}
.svc-float img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.15); transition: transform .6s var(--ease); }
.svc-float.on { opacity: 1; }
.svc-float.on img { transform: scale(1); }

/* ===== 04 Process: stacking cards ===== */
.s-process { padding: var(--section) 0; background: var(--paper); }
.proc-head { margin-bottom: clamp(40px, 5vw, 72px); }
.stack { list-style: none; margin: 0; padding: 0; }
.stack-card {
	position: sticky;
	top: calc(110px + var(--i) * 28px);
	display: grid;
	grid-template-columns: auto 1fr auto;
	align-items: end;
	gap: clamp(20px, 4vw, 64px);
	min-height: clamp(260px, 38vh, 380px);
	margin-bottom: 28px;
	padding: clamp(28px, 4vw, 56px);
	background: var(--dark);
	color: #f2ece5;
	box-shadow: 0 -16px 40px -24px rgba(0, 0, 0, .45);
}
.stack-card:nth-child(2) { background: #2a231d; }
.stack-card:nth-child(3) { background: #3a2f27; }
.stack-card:nth-child(4) { background: var(--accent); }
.stack-n {
	align-self: start;
	font-family: var(--serif);
	font-size: clamp(90px, 13vw, 200px);
	line-height: .8;
	color: rgba(242, 236, 229, .18);
	font-variant-numeric: lining-nums;
}
.stack-card:nth-child(4) .stack-n { color: rgba(255, 255, 255, .3); }
.stack-body h3 {
	margin: 0 0 12px;
	font-family: var(--serif);
	font-weight: 500;
	font-size: clamp(34px, 3.6vw, 56px);
	line-height: 1.05;
}
.stack-body p { margin: 0; max-width: 46ch; color: rgba(242, 236, 229, .78); }
.stack-card:nth-child(4) .stack-body p { color: rgba(255, 255, 255, .9); }
.stack-tag {
	align-self: start;
	padding: 7px 14px;
	border: 1px solid rgba(242, 236, 229, .35);
	border-radius: 999px;
	font-size: 11px;
	font-weight: 600;
	letter-spacing: .18em;
	text-transform: uppercase;
	white-space: nowrap;
}

/* ===== 05 Recognition ===== */
.s-awards { background: var(--dark); color: #f2ece5; padding: 0 0 var(--section); overflow: hidden; }
.marquee {
	border-bottom: 1px solid rgba(242, 236, 229, .14);
	padding: clamp(22px, 3vw, 36px) 0;
	margin-bottom: calc(var(--section) * .6);
	overflow: hidden;
}
.marquee-track {
	display: flex;
	align-items: center;
	gap: 40px;
	width: max-content;
	animation: marquee 40s linear infinite;
}
.marquee-track span {
	font-family: var(--serif);
	font-style: italic;
	font-size: clamp(32px, 4vw, 60px);
	white-space: nowrap;
}
.marquee-track i { font-style: normal; color: #e9b48f; font-size: 22px; }
@keyframes marquee { to { transform: translateX(-50%); } }
.aw-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 7vw, 120px); align-items: center; }
.aw-fig { margin: 0; }
.aw-fig img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.aw-fig figcaption { color: rgba(242, 236, 229, .55); }
.aw-fig figcaption span { color: #f2ece5; }
.aw-list { list-style: none; margin: 0 0 36px; padding: 0; }
.aw-list li {
	display: grid;
	grid-template-columns: 80px 1fr;
	gap: 20px;
	padding: 24px 0;
	border-top: 1px solid rgba(242, 236, 229, .16);
}
.aw-list li:last-child { border-bottom: 1px solid rgba(242, 236, 229, .16); }
.aw-y { font-family: var(--serif); font-size: 24px; color: #e9b48f; line-height: 1.2; }
.aw-list h3 { margin: 0 0 6px; font-family: var(--serif); font-weight: 500; font-size: 27px; line-height: 1.2; color: #fff; }
.aw-list p { margin: 0; font-size: 15px; color: rgba(242, 236, 229, .7); }

/* ===== 06 Founders ===== */
.s-founders { padding: var(--section) 0; }
.fd-head { margin-bottom: clamp(40px, 5vw, 72px); }
.fd-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 80px); }
.fd { display: grid; grid-template-columns: minmax(160px, 42%) 1fr; gap: clamp(20px, 2.4vw, 36px); align-items: end; }
.fd:nth-child(2) { margin-top: clamp(0px, 8vw, 120px); }
.fd-img { margin: 0; overflow: hidden; background: var(--paper-2); }
.fd-img img {
	width: 100%;
	aspect-ratio: 13 / 18;
	object-fit: cover;
	object-position: top;
	filter: grayscale(1);
	transition: filter .6s, transform 1.1s var(--ease);
}
.fd:hover .fd-img img { filter: none; transform: scale(1.03); }
.fd-role { font-size: 11px; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--accent); }
.fd h3 { margin: 8px 0 12px; font-family: var(--serif); font-weight: 500; font-size: clamp(30px, 2.8vw, 42px); line-height: 1.1; }
.fd p { margin: 0; color: var(--ink-2); font-size: 15px; }

/* ===== 07 Testimonials ===== */
.s-quote { padding: var(--section) 0; background: var(--paper-2); }
.q-wrap { position: relative; max-width: 1100px; }
.q-slides { display: grid; }
.q {
	grid-area: 1 / 1;
	margin: 0;
	opacity: 0;
	transform: translateY(16px);
	transition: opacity .6s var(--ease), transform .6s var(--ease);
	pointer-events: none;
}
.q.is-active { opacity: 1; transform: none; pointer-events: auto; }
.q p {
	margin: 0 0 28px;
	font-family: var(--serif);
	font-weight: 500;
	font-size: clamp(30px, 3.8vw, 58px);
	line-height: 1.15;
	letter-spacing: -.01em;
}
.q footer { font-size: 14px; color: var(--ink-3); letter-spacing: .04em; }
.q footer strong { color: var(--ink); }
.q-nav { display: flex; align-items: center; gap: 18px; margin-top: 40px; }
.q-btn {
	width: 52px; height: 52px;
	border-radius: 50%;
	border: 1px solid var(--ink);
	background: transparent;
	display: grid; place-items: center;
	cursor: pointer;
	transition: background-color .25s, color .25s;
}
.q-btn svg { width: 18px; height: 18px; }
.q-btn:hover { background: var(--ink); color: #fff; }
.q-count { font-size: 13px; letter-spacing: .14em; color: var(--ink-3); font-variant-numeric: lining-nums tabular-nums; }
.placeholder-tag {
	position: absolute;
	top: -40px;
	right: 0;
	font-size: 10px;
	font-weight: 700;
	letter-spacing: .14em;
	text-transform: uppercase;
	padding: 4px 8px;
	background: #fde8c8;
	color: #8a4b12;
}

/* ===== 08 Contact ===== */
.s-contact { padding: var(--section) 0; }
.cta-big {
	margin: 0 0 clamp(48px, 6vw, 90px);
	font-family: var(--serif);
	font-weight: 500;
	font-size: clamp(50px, 8vw, 132px);
	line-height: .95;
	letter-spacing: -.025em;
	max-width: 15ch;
}
.cta-big em { font-style: italic; color: var(--accent); }
.ct-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(40px, 7vw, 120px); }
.ct-info .lead { margin: 0 0 40px; }
.contact-list { list-style: none; margin: 0; padding: 0; }
.contact-list li { padding: 20px 0; border-top: 1px solid var(--line); }
.contact-list li:last-child { border-bottom: 1px solid var(--line); }
.contact-list .k {
	display: block;
	font-size: 11px;
	font-weight: 600;
	letter-spacing: .2em;
	text-transform: uppercase;
	color: var(--ink-3);
	margin-bottom: 4px;
}
.contact-list a { text-decoration: none; }
.contact-list a:hover { color: var(--accent); }

.form {
	background: #fff;
	padding: clamp(28px, 4vw, 56px);
	box-shadow: 0 30px 60px -40px rgba(31, 26, 22, .35);
}
.field { margin-bottom: 22px; }
.field label {
	display: block;
	font-size: 12px;
	font-weight: 600;
	letter-spacing: .14em;
	text-transform: uppercase;
	color: var(--ink-2);
	margin-bottom: 8px;
}
.field input,
.field textarea {
	width: 100%;
	padding: 12px 0;
	border: 0;
	border-bottom: 1px solid var(--line);
	background: transparent;
	font: inherit;
	font-size: 16px;
	color: var(--ink);
	border-radius: 0;
	transition: border-color .25s;
	-webkit-appearance: none;
	appearance: none;
}
.field textarea { resize: vertical; min-height: 96px; }
.field input:focus,
.field textarea:focus { outline: none; border-bottom-color: var(--accent); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips label { position: relative; margin: 0; cursor: pointer; }
.chips input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; pointer-events: none; }
.chips span {
	display: inline-block;
	padding: 9px 18px;
	border: 1px solid var(--line);
	border-radius: 999px;
	font-size: 14px;
	letter-spacing: 0;
	text-transform: none;
	font-weight: 500;
	color: var(--ink);
	transition: background-color .2s, color .2s, border-color .2s;
}
.chips input:checked + span { background: var(--ink); color: #fff; border-color: var(--ink); }
.chips input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 2px; }
.form .btn { width: 100%; justify-content: center; margin-top: 8px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0 20px; }
.field label .opt { font-weight: 500; letter-spacing: .04em; text-transform: none; color: var(--ink-3); margin-left: 4px; }
.hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
@media (max-width: 640px) { .field-row { grid-template-columns: 1fr; } }
.form .btn--accent:hover { background: var(--ink); border-color: var(--ink); color: #fff; }
.form-status { margin: 16px 0 0; font-size: 14px; min-height: 1.4em; }
.form-status.ok { color: #2f6b3a; }
.form-status.err { color: #a23a1f; }

/* ===== Footer ===== */
.site-footer { background: var(--dark); color: rgba(242, 236, 229, .7); padding: clamp(64px, 8vw, 110px) 0 28px; overflow: hidden; }
.ft-top { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; }
.ft-col h4 {
	margin: 0 0 16px;
	font-size: 11px;
	font-weight: 700;
	letter-spacing: .2em;
	text-transform: uppercase;
	color: #fff;
}
.ft-col ul { list-style: none; margin: 0; padding: 0; font-size: 15px; }
.ft-col li { margin-bottom: 8px; }
.ft-col a { text-decoration: none; transition: color .2s; }
.ft-col a:hover { color: #e9b48f; }
.ft-word {
	margin: clamp(40px, 6vw, 80px) 0 0;
	font-family: var(--serif);
	font-weight: 500;
	font-size: clamp(90px, 21vw, 340px);
	line-height: .8;
	letter-spacing: -.04em;
	color: #f2ece5;
	white-space: nowrap;
}
.footer-bottom {
	display: flex;
	justify-content: space-between;
	flex-wrap: wrap;
	gap: 12px;
	margin-top: 28px;
	padding-top: 22px;
	border-top: 1px solid rgba(242, 236, 229, .14);
	font-size: 13px;
}
.footer-bottom a { text-decoration: none; }
.footer-bottom a:hover { color: #e9b48f; }

/* ---------- Reveal on scroll ---------- */
.js .reveal {
	opacity: 0;
	transform: translateY(28px);
	transition: opacity 1s var(--ease), transform 1s var(--ease);
}
.js .reveal.is-in { opacity: 1; transform: none; }
.js .reveal.d1 { transition-delay: .1s; }
.js .reveal.d2 { transition-delay: .2s; }
.js .reveal.d3 { transition-delay: .3s; }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
	.dims { grid-template-columns: repeat(2, 1fr); row-gap: 48px; }
	.svc { grid-template-columns: 56px 1fr; }
	.svc-desc { grid-column: 2; }
	.ft-top { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 900px) {
	.nav { display: none; }
	.menu-toggle { display: block; }
	.site-header { height: 76px; }
	.site-header.is-solid { height: 64px; }
	.brand img { width: 124px; }
	.site-header.is-solid .brand img { width: 104px; }
	section[id] { scroll-margin-top: 64px; }

	.studio-row,
	.aw-grid,
	.ct-grid { grid-template-columns: 1fr; }

	/* Work: native swipe instead of pinned scroll */
	.work-sticky { position: static; height: auto; padding: var(--section) 0; }
	.work-top { flex-direction: column; align-items: flex-start; }
	.work-progress { flex: none; width: 100%; }
	.work-track {
		overflow-x: auto;
		scroll-snap-type: x mandatory;
		scroll-padding: 0 var(--gutter);
		-webkit-overflow-scrolling: touch;
		scrollbar-width: none;
		padding-bottom: 8px;
	}
	.work-track::-webkit-scrollbar { display: none; }
	.wcard { scroll-snap-align: start; width: 78vw; }
	.wcard--tall { width: 62vw; }
	.wcard-img, .wcard--end { height: 62vw; max-height: 460px; }
	.wcard--end { width: 62vw; }

	/* Services: show thumbnails inline on touch */
	.svc { grid-template-columns: 40px 1fr 96px; }
	.svc-desc { grid-column: 2; }
	.svc-thumb { display: block; grid-column: 3; grid-row: 1 / span 2; width: 96px; height: 96px; object-fit: cover; }
	.svc-float { display: none; }

	.stack-card { grid-template-columns: 1fr; top: calc(84px + var(--i) * 20px); }
	.stack-n { font-size: 88px; }
	.stack-tag { justify-self: start; grid-row: 1; }

	.fd-grid { grid-template-columns: 1fr; max-width: 640px; }
	.fd:nth-child(2) { margin-top: 0; }
}

@media (max-width: 640px) {
	body { font-size: 15px; }
	.dims { grid-template-columns: 1fr 1fr; gap: 36px 20px; }
	.dim-l { font-size: 11px; }
	.svc-name { font-size: clamp(32px, 9vw, 44px); }
	.svc { gap: 6px 14px; }
	.svc-thumb { width: 72px; height: 72px; }
	.svc { grid-template-columns: 30px 1fr 72px; }
	.stack-card { min-height: 0; }
	.fd { grid-template-columns: 40% 1fr; align-items: center; }
	.aw-list li { grid-template-columns: 1fr; gap: 6px; }
	.ft-top { grid-template-columns: 1fr 1fr; }
	.placeholder-tag { position: static; display: inline-block; margin-bottom: 18px; }
}

@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	*, *::before, *::after { animation: none !important; transition-duration: .01s !important; }
	.js .reveal { opacity: 1; transform: none; }
	.js .ink-text .w { color: var(--ink); }
}

/* =========================================================
   Inner pages (about, projects, awards, contact, project pages)
   ========================================================= */
.page { padding-top: 72px; }
@media (max-width: 900px) { .page { padding-top: 64px; } }

/* Page header */
.ph { padding: clamp(56px, 9vw, 130px) 0 clamp(40px, 6vw, 80px); }
.ph-crumbs { display: flex; gap: 10px; margin: 0 0 28px; font-size: 13px; color: var(--ink-3); }
.ph-crumbs a { text-decoration: none; }
.ph-crumbs a:hover { color: var(--accent); }
.ph h1 {
	margin: 0;
	font-family: var(--serif);
	font-weight: 500;
	font-size: clamp(56px, 9vw, 150px);
	line-height: .92;
	letter-spacing: -.025em;
}
.ph h1 em { font-style: italic; color: var(--accent); }
.ph-row { display: flex; justify-content: space-between; align-items: flex-end; gap: 32px; flex-wrap: wrap; }
.ph .lead { margin: 28px 0 0; max-width: 48ch; }

/* Wide image band under a page header */
.band { margin: 0; }
.band img { width: 100%; height: min(72vh, 720px); object-fit: cover; }

/* CTA band reused at the bottom of inner pages */
.cta-band { background: var(--dark); color: #f2ece5; padding: clamp(72px, 10vw, 140px) 0; }
.cta-band .wrap { display: flex; justify-content: space-between; align-items: flex-end; gap: 32px; flex-wrap: wrap; }
.cta-band h2 { margin: 0; font-family: var(--serif); font-weight: 500; font-size: clamp(44px, 6vw, 96px); line-height: .95; letter-spacing: -.02em; max-width: 14ch; }
.cta-band h2 em { color: #e9b48f; }
.cta-band .btn--accent:hover { background: #fff; border-color: #fff; color: var(--ink); }

/* ---------- Projects listing ---------- */
.proj-bar { display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; padding: 22px 0; border-top: 1px solid var(--ink); border-bottom: 1px solid var(--line); margin-bottom: clamp(36px, 5vw, 64px); position: sticky; top: 72px; z-index: 5; background: var(--paper); }
.proj-count { font-size: 13px; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-3); }
.proj-count b { color: var(--ink); font-weight: 600; }
.proj-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(36px, 4vw, 64px) clamp(20px, 2.4vw, 36px); padding-bottom: var(--section); }
.pcard { display: block; text-decoration: none; color: var(--ink); }
.pcard[hidden] { display: none; }
.pcard:nth-child(3n+2) { margin-top: clamp(0px, 5vw, 80px); }
.pcard-img { position: relative; overflow: hidden; aspect-ratio: 4 / 5; background: var(--paper-2); }
.pcard-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.1s var(--ease); }
.pcard:hover .pcard-img img { transform: scale(1.05); }
.pcard-no { position: absolute; left: 14px; top: 14px; padding: 5px 9px; background: var(--paper); font-size: 11px; font-weight: 700; letter-spacing: .14em; }
.pcard-meta { display: flex; justify-content: space-between; gap: 12px; margin-top: 16px; padding-top: 10px; border-top: 1px solid var(--line); font-size: 11px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--ink-3); }
.pcard-meta span:first-child { color: var(--accent); }
.pcard h2 { margin: 10px 0 2px; font-family: var(--serif); font-weight: 500; font-size: clamp(28px, 2.4vw, 36px); line-height: 1.1; transition: color .25s; }
.pcard:hover h2 { color: var(--accent); }
.pcard p { margin: 0; font-size: 14px; color: var(--ink-3); }

/* ---------- Project detail ---------- */
.pd-hero { position: relative; height: calc(100svh - 72px); min-height: 520px; overflow: hidden; background: var(--dark); color: #fff; }
.pd-hero img { width: 100%; height: 100%; object-fit: cover; animation: sr-zoom 12s ease-out forwards; }
.pd-hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(15, 11, 8, .78) 0%, rgba(15, 11, 8, .15) 50%, rgba(15, 11, 8, 0) 70%); }
.pd-hero-copy { position: absolute; z-index: 2; left: 0; right: 0; bottom: clamp(32px, 6vh, 72px); }
.pd-hero-copy .ph-crumbs { color: rgba(255, 255, 255, .75); margin-bottom: 18px; }
.pd-hero-copy .ph-crumbs a:hover { color: #e9b48f; }
.pd-hero h1 { margin: 0; font-family: var(--serif); font-weight: 500; font-size: clamp(56px, 9vw, 150px); line-height: .92; letter-spacing: -.025em; }
.pd-block { display: grid; grid-template-columns: repeat(4, 1fr); border-bottom: 1px solid var(--line); }
.pd-block > div { padding: 22px 24px 22px 0; border-right: 1px solid var(--line); }
.pd-block > div + div { padding-left: 24px; }
.pd-block > div:last-child { border-right: 0; }
.pd-block .k { display: block; font-size: 10px; font-weight: 700; letter-spacing: .22em; text-transform: uppercase; color: var(--ink-3); }
.pd-block .v { display: block; margin-top: 4px; font-family: var(--serif); font-size: 24px; line-height: 1.2; }
.pd-intro { display: grid; grid-template-columns: 1fr 1.4fr; gap: clamp(32px, 6vw, 110px); padding: clamp(64px, 9vw, 130px) 0; }
.pd-intro h2 { margin: 0; font-family: var(--serif); font-weight: 500; font-size: clamp(36px, 3.6vw, 56px); line-height: 1.05; }
.pd-intro h2 em { color: var(--accent); }
.pd-intro p { margin: 0 0 20px; font-size: clamp(16px, 1.25vw, 19px); line-height: 1.75; color: var(--ink-2); }
.gallery { columns: 3; column-gap: clamp(12px, 1.6vw, 24px); padding-bottom: var(--section); }
.gallery a { display: block; margin-bottom: clamp(12px, 1.6vw, 24px); break-inside: avoid; overflow: hidden; background: var(--paper-2); cursor: zoom-in; }
.gallery img { width: 100%; transition: transform 1s var(--ease), opacity .3s; }
.gallery a:hover img { transform: scale(1.04); }
.pd-next { display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--ink); }
.pd-next a { display: flex; flex-direction: column; gap: 6px; padding: clamp(28px, 4vw, 56px) var(--gutter); text-decoration: none; transition: background-color .3s; }
.pd-next a + a { border-left: 1px solid var(--line); text-align: right; align-items: flex-end; }
.pd-next a:hover { background: var(--paper-2); }
.pd-next .k { font-size: 11px; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--ink-3); }
.pd-next .v { font-family: var(--serif); font-size: clamp(30px, 3.4vw, 52px); line-height: 1.05; transition: color .25s; }
.pd-next a:hover .v { color: var(--accent); }

/* Lightbox */
.lb { position: fixed; inset: 0; z-index: 2000; display: grid; grid-template-columns: auto 1fr auto; align-items: center; background: rgba(15, 11, 8, .94); }
.lb[hidden] { display: none; }
.lb-fig { margin: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; height: 100vh; padding: 60px 0 24px; }
.lb-fig img { max-width: 100%; max-height: calc(100vh - 110px); object-fit: contain; }
.lb-fig figcaption { margin-top: 14px; color: rgba(255, 255, 255, .7); font-size: 13px; letter-spacing: .12em; }
.lb-btn { width: 64px; height: 64px; border: 0; background: transparent; color: #fff; font-size: 26px; cursor: pointer; transition: color .2s; }
.lb-btn:hover { color: #e9b48f; }
.lb-close { position: absolute; top: 12px; right: 12px; font-size: 22px; }

/* ---------- About ---------- */
.ab-statement { padding: clamp(64px, 9vw, 130px) 0; }
.ab-statement .ink-text { max-width: 26ch; }
.ab-two { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 110px); margin-top: clamp(48px, 6vw, 90px); }
.ab-two p { margin: 0 0 18px; color: var(--ink-2); font-size: clamp(16px, 1.2vw, 18px); }
.ab-founder { display: grid; grid-template-columns: minmax(240px, 0.8fr) 1.4fr; gap: clamp(32px, 6vw, 110px); align-items: start; padding: clamp(48px, 6vw, 90px) 0; border-top: 1px solid var(--line); }
.ab-founder:nth-child(even) { grid-template-columns: 1.4fr minmax(240px, 0.8fr); }
.ab-founder:nth-child(even) figure { order: 2; }
.ab-founder figure { margin: 0; overflow: hidden; position: sticky; top: 100px; }
.ab-founder figure img { width: 100%; aspect-ratio: 13 / 18; object-fit: cover; object-position: top; }
.ab-founder .fd-role { display: block; margin-bottom: 8px; }
.ab-founder h3 { margin: 0 0 24px; font-family: var(--serif); font-weight: 500; font-size: clamp(40px, 4.4vw, 68px); line-height: 1; }
.ab-founder p { margin: 0 0 18px; color: var(--ink-2); font-size: clamp(16px, 1.2vw, 18px); line-height: 1.75; }

/* ---------- Awards page ---------- */
.aw-items { padding-bottom: var(--section); }
.aw-item { display: grid; grid-template-columns: 120px 1fr 1fr; gap: clamp(24px, 4vw, 64px); align-items: start; padding: clamp(40px, 5vw, 72px) 0; border-top: 1px solid var(--line); }
.aw-item:last-child { border-bottom: 1px solid var(--line); }
.aw-item .aw-y { font-size: 34px; color: var(--accent); }
.aw-item .aw-cat { display: block; margin-bottom: 10px; font-size: 11px; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--ink-3); }
.aw-item h2 { margin: 0 0 16px; font-family: var(--serif); font-weight: 500; font-size: clamp(32px, 3.2vw, 48px); line-height: 1.05; }
.aw-item p { margin: 0 0 14px; color: var(--ink-2); }
.aw-item figure { margin: 0; overflow: hidden; }
.aw-item figure img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }

/* ---------- Contact page ---------- */
.ct-page { padding-bottom: var(--section); }
.map { margin-top: clamp(48px, 6vw, 80px); border: 1px solid var(--line); filter: grayscale(.85) contrast(1.05); transition: filter .4s; }
.map:hover { filter: none; }
.map iframe { display: block; width: 100%; height: 420px; border: 0; }

@media (max-width: 1080px) {
	.proj-grid { grid-template-columns: repeat(2, 1fr); }
	.pcard:nth-child(3n+2) { margin-top: 0; }
	.pcard:nth-child(even) { margin-top: clamp(0px, 6vw, 64px); }
	.gallery { columns: 2; }
	.aw-item { grid-template-columns: 90px 1fr; }
	.aw-item figure { grid-column: 2; }
}
@media (max-width: 900px) {
	.proj-bar { top: 64px; }
	.pd-hero { height: calc(100svh - 64px); }
	.pd-block { grid-template-columns: 1fr 1fr; }
	.pd-block > div:nth-child(2) { border-right: 0; }
	.pd-block > div:nth-child(3) { padding-left: 0; border-top: 1px solid var(--line); }
	.pd-block > div:nth-child(4) { border-top: 1px solid var(--line); }
	.pd-intro, .ab-two, .ab-founder, .ab-founder:nth-child(even) { grid-template-columns: 1fr; }
	.ab-founder:nth-child(even) figure { order: 0; }
	.ab-founder figure { position: static; max-width: 420px; }
	.lb { grid-template-columns: 1fr; }
	.lb-prev, .lb-next { position: absolute; bottom: 10px; }
	.lb-prev { left: 10px; } .lb-next { right: 10px; }
}
@media (max-width: 640px) {
	.proj-grid { grid-template-columns: 1fr; }
	.pcard:nth-child(even) { margin-top: 0; }
	.gallery { columns: 1; }
	.pd-next { grid-template-columns: 1fr; }
	.pd-next a + a { border-left: 0; border-top: 1px solid var(--line); }
	.aw-item { grid-template-columns: 1fr; gap: 14px; }
	.aw-item figure { grid-column: auto; }
	.map iframe { height: 320px; }
}

/* Filter pills (projects page) */
.filters { display: flex; flex-wrap: wrap; gap: 8px; }
.filters button {
	padding: 10px 20px;
	border: 1px solid var(--line);
	border-radius: 999px;
	background: transparent;
	font-family: var(--sans);
	font-size: 13px;
	font-weight: 500;
	letter-spacing: .04em;
	color: var(--ink);
	cursor: pointer;
	transition: background-color .25s, color .25s, border-color .25s;
}
.filters button:hover { border-color: var(--ink); }
.filters button[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: #fff; }

.pd-hero img { transform-origin: center; }
.pd-hero { isolation: isolate; }

/* ---------- Header: active tab ---------- */
.nav a[aria-current="page"]:not(.btn),
.nav a.is-active:not(.btn) { color: var(--accent); }
.nav a[aria-current="page"]:not(.btn)::after,
.nav a.is-active:not(.btn)::after { transform: scaleX(1); background: var(--accent); }
.nav .btn[aria-current="page"],
.nav .btn.is-active { background: var(--ink) !important; border-color: var(--ink) !important; }
.mobile-menu a.m-link[aria-current="page"],
.mobile-menu a.m-link.is-active { color: var(--accent); font-style: italic; }

/* ---------- Enquiry pop-up (desktop: centred card · phone: bottom sheet) ---------- */
.lp {
	width: min(920px, calc(100vw - 32px));
	max-height: calc(100vh - 32px);
	padding: 0;
	border: 0;
	background: var(--paper);
	color: var(--ink);
	box-shadow: 0 50px 100px -30px rgba(15, 11, 8, .55);
	opacity: 0;
	transform: translateY(24px) scale(.98);
	transition: opacity .35s var(--ease), transform .45s var(--ease);
	overflow: hidden;
}
.lp[open] { display: grid; grid-template-columns: .85fr 1.15fr; }
.lp.is-open { opacity: 1; transform: none; }
.lp::backdrop { background: rgba(15, 11, 8, .55); backdrop-filter: blur(3px); }
.lp-art { position: relative; min-height: 100%; background: var(--dark); color: #fff; }
.lp-art img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.lp-art::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(15, 11, 8, .8), rgba(15, 11, 8, 0) 55%); }
.lp-art-copy { position: absolute; z-index: 1; left: 28px; right: 28px; bottom: 28px; }
.lp-art-copy p { margin: 14px 0 0; font-family: var(--serif); font-size: 26px; line-height: 1.15; }
.lp-sheet { display: inline-block; padding: 5px 9px; border: 1px solid rgba(255, 255, 255, .6); font-size: 11px; font-weight: 700; letter-spacing: .14em; }
.lp-body { position: relative; max-height: calc(100vh - 32px); overflow-y: auto; overscroll-behavior: contain; padding: clamp(28px, 4vw, 44px); }
.lp-handle { display: none; }
.lp-done { display: flex; flex-direction: column; justify-content: center; align-items: flex-start; min-height: 280px; }
.lp-done[hidden], .lp-form[hidden] { display: none; }
.lp-x { position: absolute; z-index: 2; top: 12px; right: 12px; width: 44px; height: 44px; border: 0; background: transparent; font-size: 18px; color: var(--ink-2); cursor: pointer; }
.lp-x:hover { color: var(--accent); }
.lp-kicker { display: inline-block; margin-bottom: 12px; font-size: 11px; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--accent); }
.lp h2 { margin: 0 0 8px; font-family: var(--serif); font-weight: 500; font-size: clamp(34px, 3.4vw, 46px); line-height: 1; }
.lp h2 em { color: var(--accent); }
.lp-sub { margin: 0 0 22px; color: var(--ink-2); font-size: 15px; }
.lp .field { margin-bottom: 16px; }
.lp .field input, .lp .field textarea { padding: 9px 0; font-size: 16px; }   /* 16px stops iPhone zoom-on-focus */
.lp .field textarea { min-height: 64px; }
.lp .chips span { padding: 8px 14px; font-size: 14px; }
.lp-submit { width: 100%; justify-content: center; margin-top: 4px; }
.lp-submit:hover { background: var(--ink) !important; border-color: var(--ink) !important; color: #fff !important; }
.lp .form-status { margin: 10px 0 0; min-height: 0; }
.lp .form-status:empty { display: none; }
.lp-later { display: block; margin: 12px auto 0; padding: 6px 10px; border: 0; background: none; font-size: 13px; color: var(--ink-3); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.lp-later:hover { color: var(--ink); }
.lp-done .btn { margin-top: 10px; }

@media (max-width: 760px) {
	/* bottom sheet */
	.lp {
		width: 100%;
		max-width: 100%;
		max-height: 92svh;
		margin: auto 0 0;
		border-radius: 20px 20px 0 0;
		opacity: 1;
		transform: translateY(100%);
		transition: transform .45s cubic-bezier(.2, .8, .2, 1);
	}
	.lp.is-open { transform: none; }
	.lp[open] { grid-template-columns: 1fr; }
	.lp-art { display: none; }
	.lp-body { max-height: 92svh; padding: 8px 20px 0; }
	.lp-handle { display: flex; justify-content: center; padding: 6px 0 14px; position: sticky; top: -8px; background: var(--paper); z-index: 1; }
	.lp-handle span { width: 44px; height: 5px; border-radius: 3px; background: rgba(31, 26, 22, .2); }
	.lp-x { top: 6px; right: 6px; }
	.lp h2 { font-size: 34px; padding-right: 36px; }
	.lp-sub { font-size: 14px; margin-bottom: 18px; }
	.lp .field-row { grid-template-columns: 1fr; }
	.lp .chips { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
	.lp .chips span { display: block; text-align: center; padding: 11px 10px; }
	/* Send button stays reachable while typing */
	.lp-actions {
		position: sticky;
		bottom: 0;
		margin: 6px -20px 0;
		padding: 12px 20px calc(12px + env(safe-area-inset-bottom));
		background: linear-gradient(to top, var(--paper) 78%, rgba(247, 243, 238, 0));
	}
	.lp-later { margin-top: 6px; }
	.lp-done { padding-bottom: calc(28px + env(safe-area-inset-bottom)); }
}
@media (prefers-reduced-motion: reduce) { .lp { transition: none; } }

/* ---------- Phone bottom dock ---------- */
.dock { display: none; }
@media (max-width: 900px) {
	:root { --dock-h: 64px; }
	.dock {
		position: fixed;
		z-index: 120;
		left: 10px;
		right: 10px;
		bottom: calc(10px + env(safe-area-inset-bottom));
		display: grid;
		grid-template-columns: repeat(5, 1fr);
		align-items: center;
		height: var(--dock-h);
		padding: 0 4px;
		background: rgba(31, 26, 22, .92);
		-webkit-backdrop-filter: saturate(1.4) blur(14px);
		backdrop-filter: saturate(1.4) blur(14px);
		border-radius: 18px;
		box-shadow: 0 14px 34px -12px rgba(15, 11, 8, .55);
	}
	.dock a, .dock button {
		display: flex;
		flex-direction: column;
		align-items: center;
		justify-content: center;
		gap: 3px;
		height: 100%;
		padding: 0;
		border: 0;
		background: none;
		color: rgba(247, 243, 238, .7);
		font: 600 10px/1 var(--sans);
		letter-spacing: .06em;
		text-decoration: none;
		cursor: pointer;
		-webkit-tap-highlight-color: transparent;
	}
	.dock svg { width: 22px; height: 22px; }
	.dock [aria-current="page"], .dock .is-open { color: #fff; }
	.dock [aria-current="page"] svg, .dock .is-open svg { color: #e9b48f; }
	.dock .dock-cta { color: #fff; }
	.dock .dock-cta svg {
		width: 44px;
		height: 44px;
		margin-top: -22px;
		padding: 11px;
		border-radius: 50%;
		background: var(--accent);
		box-shadow: 0 8px 18px -6px rgba(195, 102, 54, .8), 0 0 0 4px rgba(31, 26, 22, .92);
		color: #fff;
	}
	.dock a:active, .dock button:active { transform: scale(.94); }

	/* page room for the dock */
	body.has-dock { padding-bottom: calc(var(--dock-h) + 20px + env(safe-area-inset-bottom)); }
	body.has-dock .sr-frame { height: calc(100svh - var(--dock-h) - 20px); }
	body.has-dock .pd-hero { height: calc(100svh - 64px - var(--dock-h) - 20px); }
	/* top bar: just the logo — the menu lives in the dock now */
	body.has-dock .menu-toggle { display: none; }
	body.has-dock .site-header .wrap { justify-content: center; }
	body.menu-open .dock { background: var(--ink); }
	.mobile-menu { padding-bottom: calc(var(--dock-h) + 40px); }
}

/* ---------- Inline form validation ---------- */
.f-err { display: flex; align-items: center; gap: 6px; margin-top: 6px; font-size: 13px; color: #b3361b; }
.f-err::before { content: "!"; display: inline-grid; place-items: center; width: 15px; height: 15px; border-radius: 50%; background: #b3361b; color: #fff; font-size: 10px; font-weight: 700; flex: none; }
.field.has-error label { color: #b3361b; }
.field.has-error input,
.field.has-error textarea { border-bottom-color: #b3361b !important; box-shadow: 0 1px 0 #b3361b; }
.field.has-error input:focus { border-bottom-color: #b3361b !important; }
@media (max-width: 640px) {
	.sr-kicker { flex-wrap: wrap; row-gap: 8px; }
	.sr-cat { flex-basis: 100%; font-size: 11px; }
}

/* ---------- Project brief form (enquiry-form.js) ---------- */
.ef-steps { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin: 0 0 14px; padding: 0; list-style: none; counter-reset: none; }
.ef-steps li { position: relative; padding-top: 12px; font-size: 12px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-3); }
.ef-steps li::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 3px; background: var(--line); transition: background-color .3s; }
.ef-steps li.is-on { color: var(--ink); }
.ef-steps li.is-on::before { background: var(--accent); }
.ef-steps span { color: var(--accent); margin-right: 4px; }
.ef-note { margin: 0 0 22px; font-size: 13px; color: var(--ink-3); }
.ef-req { color: #b3361b; font-weight: 600; }
.ef-step { border: 0; margin: 0; padding: 0; min-width: 0; }
.ef-step[hidden] { display: none; }
.ef .field { margin-bottom: 24px; }
.ef .field > label, .ef .ef-label { display: block; margin-bottom: 8px; text-transform: none; letter-spacing: 0; font-size: 15px; font-weight: 600; color: var(--ink); }
.ef-q { display: block; line-height: 1.4; }
.ef-hint { display: block; margin-top: 3px; font-size: 13px; font-weight: 400; font-style: italic; color: var(--ink-3); }
.ef .field input, .ef .field textarea { font-size: 16px; }
.ef .field select {
	width: 100%; max-width: 420px; height: 48px; padding: 0 40px 0 14px;
	border: 1px solid var(--line); border-radius: 0; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5l5 5 5-5' fill='none' stroke='%231f1a16' stroke-width='1.5'/%3E%3C/svg%3E") no-repeat right 14px center;
	font: inherit; font-size: 16px; color: var(--ink); cursor: pointer; -webkit-appearance: none; appearance: none;
}
.ef .field select:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(195, 102, 54, .14); }
.ef .chips span { padding: 9px 16px; font-size: 14px; }
.ef-other { width: 100%; margin-top: 10px; padding: 10px 0; border: 0; border-bottom: 1px solid var(--line); background: transparent; font: inherit; font-size: 16px; }
.ef-other:focus { outline: none; border-bottom-color: var(--accent); }
.ef-other[hidden] { display: none; }
.ef-file { position: absolute; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.ef-drop {
	display: flex !important; align-items: center; gap: 14px; margin: 4px 0 0 !important; padding: 18px 20px;
	border: 1.5px dashed rgba(31, 26, 22, .25); background: var(--paper); cursor: pointer;
	text-transform: none !important; letter-spacing: 0 !important; font-weight: 400 !important; transition: border-color .2s, background-color .2s;
}
.ef-drop svg { width: 26px; height: 26px; flex: none; color: var(--accent); }
.ef-drop b { color: var(--ink); font-weight: 600; }
.ef-drop small { display: block; margin-top: 2px; font-size: 12px; color: var(--ink-3); }
.ef-drop:hover, .ef-drop.is-over { border-color: var(--accent); background: #fbf3ec; }
.ef-drop.is-full { opacity: .45; pointer-events: none; }
.ef-file:focus-visible + .ef-files, .ef-drop:focus-within { outline: 2px solid var(--accent); }
.field.has-error .ef-drop { border-color: #b3361b; }
.ef-files { list-style: none; margin: 10px 0 0; padding: 0; }
.ef-files li { display: flex; align-items: center; gap: 10px; padding: 8px 0; border-bottom: 1px solid var(--line); font-size: 14px; }
.ef-fname { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ef-fsize { color: var(--ink-3); font-size: 12px; }
.ef-files button { width: 32px; height: 32px; border: 0; background: none; color: var(--ink-3); cursor: pointer; }
.ef-files button:hover { color: #b3361b; }
.ef-nav { display: flex; justify-content: space-between; gap: 12px; margin-top: 8px; }
.ef-nav .ef-next { margin-left: auto; }
.ef-nav .btn { width: auto; min-width: 150px; justify-content: center; }
.ef-nav .ef-submit { flex: 1; }
.ef .btn--accent:hover { background: var(--ink) !important; border-color: var(--ink) !important; color: #fff !important; }
.ef .btn--ghost:hover { background: var(--ink); color: #fff; }
.ef .form-status:empty { display: none; }
.ef-done { padding: 30px 0 10px; }
.ef-done h3 { margin: 0 0 10px; font-family: var(--serif); font-weight: 500; font-size: 40px; line-height: 1; }
.ef-done h3 em { color: var(--accent); }
.ef-done p { margin: 0; color: var(--ink-2); }
.ef-done[hidden] { display: none; }
.ct-grid .ct-info { position: sticky; top: 100px; align-self: start; }

/* inside the pop-up */
.lp-intro[hidden], .lp-ef[hidden], .lp-later[hidden], .lp-done[hidden] { display: none; }
.lp .ef-steps { margin-top: 4px; }
.lp .ef .field { margin-bottom: 18px; }
@media (max-width: 760px) {
	.lp .ef-nav {
		position: sticky; bottom: 0; z-index: 2;
		margin: 6px -20px 0; padding: 12px 20px calc(12px + env(safe-area-inset-bottom));
		background: linear-gradient(to top, var(--paper) 80%, rgba(247, 243, 238, 0));
	}
	.ef-nav .btn { min-width: 0; flex: 1; }
	.ef-nav .ef-back { flex: 0 0 auto; padding-left: 16px; padding-right: 16px; }
	.ef .chips { display: flex; flex-wrap: wrap; }
	.ct-grid .ct-info { position: static; }
}

/* ---------- Brief form: custom dropdown (opens inline, below the box) ---------- */
.ef-select { position: relative; width: 100%; }
.ef-sel-btn {
	display: flex; align-items: center; justify-content: space-between; gap: 12px;
	width: 100%; min-height: 48px; padding: 10px 14px;
	border: 1px solid var(--line); background: #fff; color: var(--ink-3);
	font: inherit; font-size: 16px; text-align: left; cursor: pointer; transition: border-color .2s, box-shadow .2s;
}
.ef-sel-btn svg { width: 12px; height: 8px; flex: none; color: var(--ink); transition: transform .25s; }
.ef-select.has-value .ef-sel-btn { color: var(--ink); }
.ef-sel-btn:hover { border-color: rgba(31, 26, 22, .32); }
.ef-select.is-open .ef-sel-btn, .ef-sel-btn:focus-visible { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(195, 102, 54, .14); }
.ef-select.is-open .ef-sel-btn svg { transform: rotate(180deg); }
.ef-sel-list { list-style: none; margin: 6px 0 0; padding: 6px; border: 1px solid var(--line); background: #fff; box-shadow: 0 14px 30px -18px rgba(31, 26, 22, .35); }
.ef-sel-list[hidden] { display: none; }
.ef-sel-list li { position: relative; padding: 11px 12px 11px 34px; font-size: 15px; line-height: 1.35; color: var(--ink); cursor: pointer; }
.ef-sel-list li[data-v=""] { color: var(--ink-3); }
.ef-sel-list li:hover, .ef-sel-list li:focus { outline: none; background: var(--paper); }
.ef-sel-list li[aria-selected="true"] { color: var(--accent); font-weight: 600; }
.ef-sel-list li[aria-selected="true"]::before { content: "✓"; position: absolute; left: 12px; }

/* ---------- Brief form: file thumbnails ---------- */
.ef-files[hidden] { display: none; }
.ef-files { display: grid !important; grid-template-columns: repeat(auto-fill, minmax(96px, 1fr)); gap: 10px; }
.ef-files[hidden] { display: none !important; }
.ef-files li.ef-thumb { position: relative; display: block; padding: 0; border: 0; font-size: 12px; }
.ef-thumb img, .ef-thumb-doc { display: block; width: 100%; aspect-ratio: 1; object-fit: cover; border: 1px solid var(--line); background: #fff; }
.ef-thumb-doc { display: grid; place-items: center; font-size: 13px; font-weight: 700; letter-spacing: .12em; color: var(--accent); background: #fbf3ec; }
.ef-thumb button {
	position: absolute; top: 4px; right: 4px; width: 28px !important; height: 28px !important;
	border-radius: 50%; background: rgba(31, 26, 22, .75) !important; color: #fff !important; font-size: 12px; line-height: 1;
}
.ef-thumb button:hover { background: #b3361b !important; }
.ef-thumb-cap { display: flex; flex-direction: column; margin-top: 4px; min-width: 0; }
.ef-thumb-cap .ef-fname { font-size: 12px; }
.ef-thumb-cap .ef-fsize { font-size: 11px; }

/* ---------- Toasts ---------- */
.toasts {
	position: fixed; z-index: 3000; top: max(14px, env(safe-area-inset-top)); left: 50%; transform: translateX(-50%);
	display: flex; flex-direction: column; align-items: center; gap: 8px;
	width: min(440px, calc(100vw - 24px)); pointer-events: none;
}
.toast {
	display: flex; align-items: flex-start; gap: 10px; width: 100%; padding: 12px 10px 12px 14px;
	background: #1f1a16; color: #f7f3ee; border-radius: 12px;
	box-shadow: 0 18px 40px -16px rgba(15, 11, 8, .55); pointer-events: auto;
	opacity: 0; transform: translateY(-14px) scale(.98); transition: opacity .25s, transform .35s cubic-bezier(.2, .8, .2, 1);
}
.toast.is-in { opacity: 1; transform: none; }
.toast svg { flex: none; width: 22px; height: 22px; margin-top: 1px; }
.toast--error svg { color: #e0533a; }
.toast--success svg { color: #4f9a5c; }
.toast--info svg { color: #e9b48f; }
.toast p { flex: 1; margin: 1px 0 0; font: 500 14px/1.45 var(--sans); }
.toast button { flex: none; width: 32px; height: 32px; margin: -5px 0 -5px; border: 0; background: none; color: rgba(247, 243, 238, .6); font-size: 13px; cursor: pointer; }
.toast button:hover { color: #fff; }
@media (prefers-reduced-motion: reduce) { .toast { transition: none; } }

/* ---------- Browser autofill: keep our colours instead of Chrome's blue/yellow ---------- */
input:-webkit-autofill,
input:-webkit-autofill:hover,
input:-webkit-autofill:focus,
textarea:-webkit-autofill,
select:-webkit-autofill {
	-webkit-text-fill-color: var(--ink);
	caret-color: var(--ink);
	-webkit-box-shadow: 0 0 0 1000px var(--paper) inset;
	box-shadow: 0 0 0 1000px var(--paper) inset;
	transition: background-color 9999s ease-out 0s;   /* stops the colour flashing back */
}
.form input:-webkit-autofill,
.form textarea:-webkit-autofill { -webkit-box-shadow: 0 0 0 1000px #fff inset; box-shadow: 0 0 0 1000px #fff inset; }   /* white form cards */
input:autofill { background: transparent; }

/* ---------- Book your consultation page (/book-consultation) ---------- */
.nav .btn { white-space: nowrap; }
.mobile-menu a.m-link--cta { margin-top: 18px; font-size: 30px; color: var(--accent); }
body.menu-open .mobile-menu a.m-link:nth-child(5),
body.menu-open .mobile-menu a.m-link:nth-child(6) { transition-delay: .2s; }
.bk-page { padding: 0 0 var(--section); }
.bk-grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(40px, 6vw, 110px); align-items: start; }
.bk-info { position: sticky; top: 110px; }
.bk-info .lead { margin: 0 0 36px; }
.bk-steps { list-style: none; margin: 0 0 40px; padding: 0; }
.bk-steps li { display: grid; grid-template-columns: 44px 1fr; gap: 14px; padding: 18px 0; border-top: 1px solid var(--line); }
.bk-steps li:last-child { border-bottom: 1px solid var(--line); }
.bk-n { font-family: var(--serif); font-size: 24px; line-height: 1; color: var(--accent); }
.bk-steps h3 { margin: 0 0 4px; font-size: 16px; font-weight: 600; }
.bk-steps p { margin: 0; font-size: 14px; line-height: 1.6; color: var(--ink-2); }
.bk-form { background: #fff; padding: clamp(24px, 4vw, 56px); box-shadow: 0 30px 80px -40px rgba(31, 26, 22, .25); }
@media (max-width: 1100px) and (min-width: 961px) { .nav { gap: 24px; } }
@media (max-width: 960px) {
	.bk-grid { grid-template-columns: 1fr; }
	.bk-info { position: static; }
	.bk-steps { margin-bottom: 8px; }
	.bk-info .contact-list { display: none; }
}
@media (max-width: 600px) { .bk-form { padding: 22px 16px; margin: 0 calc(var(--gutter) * -1); } }

.bk-steps li:last-child { border-bottom: 0; }

/* Booking page: header button is a label there, not a link */
.nav .btn.is-current { cursor: default; pointer-events: none; }
/* Phones: form first, then "how it works" */
@media (max-width: 960px) {
	.ph--book { padding-bottom: 24px; }
	.bk-form { order: -1; }
	.bk-info { margin-top: 8px; }
	.bk-info .lead { font-size: 16px; margin-bottom: 20px; }
}

/* Booking page v2: title beside the form so the form starts above the fold */
.bk-page { padding: clamp(40px, 5vw, 72px) 0 var(--section); }
.bk-grid {
	grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr);
	grid-template-areas: "head form" "info form";
	grid-template-rows: auto 1fr;
	row-gap: 0;
}
.bk-head { grid-area: head; }
.bk-form { grid-area: form; order: 0; }
.bk-info { grid-area: info; position: static; margin-top: 8px; }
.bk-head .ph-crumbs { margin-bottom: 22px; }
.bk-head h1 { margin: 0 0 22px; font-family: var(--serif); font-weight: 500; font-size: clamp(46px, 5.4vw, 84px); line-height: .98; letter-spacing: -.01em; }
.bk-head h1 em { color: var(--accent); }
.bk-head .lead { margin: 0 0 32px; }
@media (max-width: 960px) {
	.bk-grid { grid-template-columns: 1fr; grid-template-areas: "head" "form" "info"; }
	.bk-form { order: 0; }
	.bk-head h1 { font-size: 44px; margin-bottom: 14px; }
	.bk-head .lead { font-size: 16px; margin-bottom: 22px; }
	.bk-info { margin-top: 32px; }
}

/* Character counter under long answer boxes */
.char-count { display: block; margin-top: 6px; text-align: right; font-size: 12px; color: var(--ink-3); font-variant-numeric: tabular-nums; }
.char-count.is-near { color: var(--accent); }

body.no-intro .intro { display: none; }
