/* =========================================================================
   Bright Corner — stylesheet (clean rebuild)
   Source of truth: design-system/bright-corner/MASTER.md

    1 Tokens            6 Media (photos, swap, collage, fixtures)
    2 Base + surfaces   7 Header, nav, footer, WhatsApp
    3 Type              8 Home sections
    4 Layout            9 Inner pages
    5 Actions          10 Projects + lightbox
                       11 Forms
                       12 Hover (real pointers) · 13 Reduced motion
   ========================================================================= */

/* ---------- 1 Tokens ---------- */
:root {
	/* Stage */
	--night: #1e1e1e;
	--night-deep: #161616;
	--umber: #241e19;
	--dusk: #22283a;
	/* Text */
	--paper: #f5f3ef;
	--ash: #b0aea9;           /* body, 7.5:1 on night */
	--smoke: #95938e;         /* small meta only, 5.4:1 on night */
	--line: rgb(245 243 239 / 0.14);
	--line-strong: rgb(245 243 239 / 0.45);   /* inputs, outlines: 3:1+ */
	/* Light */
	--champagne: #d6c49c;     /* rules, glows, active and hover states */
	--brand: #f5c114;         /* logo, focus ring, WhatsApp icon only */
	--ink: #161616;           /* text on paper/brand fills */
	--glow-line: 0 0 6px rgb(214 196 156 / 0.55), 0 0 22px rgb(214 196 156 / 0.18);
	--error: #ffb0a5;

	/* Type */
	--font-display: "Lexend Exa", ui-sans-serif, system-ui, sans-serif;
	--font-serif: "Cormorant", "Cormorant Garamond", Georgia, serif;
	--font-body: "Lexend", ui-sans-serif, system-ui, sans-serif;
	--font-logo: "Antonio", "Arial Narrow", sans-serif;

	--fs-hero: clamp(2.25rem, 8.6vw, 10.5rem);   /* fits the gutters */
	--fs-display: clamp(2.75rem, 7vw, 7rem);
	--fs-h2: clamp(1.625rem, 2.8vw, 2.75rem);
	--fs-h3: clamp(1rem, 1.3vw, 1.25rem);
	--fs-body: 1.0625rem;
	--fs-small: 0.875rem;
	--fs-label: 0.75rem;

	/* Space — spacious */
	--s-1: 0.5rem; --s-2: 1rem; --s-3: 1.5rem; --s-4: 2rem;
	--s-5: 3rem; --s-6: 4rem; --s-7: 6rem; --s-8: 8rem;
	--gutter: clamp(1rem, 6.5vw, 6.25rem);
	--section: clamp(5rem, 11vw, 10rem);
	--measure: 36rem;
	--max: 92rem;
	--header-h: clamp(5rem, 8vw, 7.5rem);

	/* Motion */
	--ease-out: cubic-bezier(0.23, 1, 0.32, 1);
	--ease-in-out: cubic-bezier(0.77, 0, 0.175, 1);
	--ease-light: cubic-bezier(0.65, 0, 0.35, 1);
	--t-press: 140ms;
	--t-hover: 200ms;
}

/* ---------- 2 Base + browser surfaces ---------- */
*, *::before, *::after { box-sizing: border-box; }
html {
	-webkit-text-size-adjust: 100%;
	scroll-padding-top: 2rem;
	color-scheme: dark;
	caret-color: var(--champagne);
	accent-color: var(--champagne);
	scrollbar-color: #4a4846 var(--night-deep);
}
body {
	margin: 0;
	background: var(--night);
	color: var(--paper);
	font: 300 var(--fs-body) / 1.7 var(--font-body);
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	overflow-x: clip;
}
img, svg, iframe { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-underline-offset: 0.22em; text-decoration-thickness: 1px; }
a, button, [role="button"], label.check, summary { cursor: pointer; }
h1, h2, h3, h4, p, figure, blockquote, dl, dd { margin: 0; }
ul, ol { margin: 0; padding: 0; }
button { font: inherit; color: inherit; }
address { font-style: normal; }
::selection { background: var(--brand); color: var(--ink); }
::placeholder { color: var(--smoke); opacity: 1; }
:focus-visible { outline: 2px solid var(--brand); outline-offset: 4px; }
main:focus { outline: none; }

.skip-link {
	position: absolute; left: 1rem; top: -4rem; z-index: 100;
	padding: 0.75rem 1.25rem; background: var(--brand); color: var(--ink); text-decoration: none;
}
.skip-link:focus { top: 1rem; }

/* Page-to-page cross-fade instead of a white flash */
@view-transition { navigation: auto; }
::view-transition-old(root), ::view-transition-new(root) { animation-duration: 260ms; }

/* ---------- 3 Type ---------- */
.t-hero, .t-h3, .t-nav, .label, .t-index { font-family: var(--font-display); }
.t-hero, .t-h3, .t-nav, .label { text-transform: uppercase; }
.t-display, .t-h1, .t-h2 { font-family: var(--font-serif); font-weight: 500; }

.t-hero { font-size: var(--fs-hero); font-weight: 200; line-height: 0.92; letter-spacing: -0.015em; }
.t-display, .t-h1 { font-size: var(--fs-display); line-height: 0.98; letter-spacing: -0.02em; text-wrap: balance; }
.t-h2 { font-size: var(--fs-h2); line-height: 1.22; letter-spacing: -0.005em; text-wrap: balance; }
.t-h3 { font-size: var(--fs-h3); font-weight: 400; line-height: 1.35; letter-spacing: 0.04em; }
.t-index { font-size: clamp(2.5rem, 4.5vw, 4rem); font-weight: 200; line-height: 1; color: var(--champagne); }
.t-body { max-width: var(--measure); color: var(--ash); }
.t-body p + p { margin-top: 1em; }
.t-small { font-size: var(--fs-small); color: var(--ash); }
.t-nav { font-size: 0.8125rem; font-weight: 400; letter-spacing: 0.08em; text-decoration: none; }
.label {
	display: block;
	font-size: var(--fs-label); font-weight: 400; letter-spacing: 0.12em;
	color: var(--champagne);
	margin-bottom: var(--s-3);
}

.prose { max-width: 42rem; color: var(--ash); }
.prose > * + * { margin-top: 1.1em; }
.prose h2, .prose h3 { color: var(--paper); font-family: var(--font-serif); font-weight: 500; line-height: 1.2; margin-top: 1.8em; }
.prose h2 { font-size: var(--fs-h2); }
.prose h3 { font-size: 1.5rem; }
.prose a { color: var(--paper); }
.prose ul, .prose ol { padding-left: 1.25em; }
.prose strong { color: var(--paper); font-weight: 400; }

.visually-hidden {
	position: absolute !important; width: 1px; height: 1px; overflow: hidden;
	clip: rect(0 0 0 0); white-space: nowrap;
}

/* ---------- 4 Layout ---------- */
.wrap { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-top: var(--section); }
.section--tight { padding-top: var(--s-6); }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s-2) var(--s-3); }

/* Short page titles bleed off the right edge; long ones wrap (bc_bleed_class) */
.bleed-title {
	white-space: nowrap; text-align: right;
	padding-left: var(--gutter); margin-right: -0.04em;
	margin-bottom: var(--s-6);
}
.bleed-title--wrap {
	white-space: normal; text-align: left;
	max-width: var(--max); margin-inline: auto; padding-inline: var(--gutter);
}

.glow-rule {
	height: 1px;
	background: linear-gradient(90deg, transparent, var(--champagne) 10%, var(--champagne) 90%, transparent);
	box-shadow: var(--glow-line); opacity: 0.8;
}
.glow-rule--short { width: 4rem; background: var(--champagne); margin-bottom: var(--s-3); }

/* Statement: words beside pictures */
.statement { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: var(--s-7); align-items: center; }
.statement + .statement { margin-top: var(--s-8); }
.statement__text { display: grid; gap: var(--s-3); justify-items: start; align-content: start; }
.statement--flip .statement__text { order: 2; }
.statement__photo { aspect-ratio: 4 / 3; }

.empty { display: grid; gap: var(--s-3); justify-items: start; padding-block: var(--s-6); }

/* ---------- 5 Actions ---------- */
/* Button (after Halcyon): hairline frame → brushed-metal fill, label slides 8px, one lamp-strike flicker */
.btn {
	position: relative; isolation: isolate; overflow: hidden;
	display: inline-flex; align-items: center; justify-content: flex-start; gap: 0.75rem;
	width: 100%; max-width: 26rem; min-height: 3.5rem;
	padding: 1.1rem 1.25rem;
	border: 1px solid var(--line-strong);
	background: transparent; color: var(--paper);
	font: 400 var(--fs-label) / 1 var(--font-display);
	letter-spacing: 0.1em; text-transform: uppercase; text-decoration: none; white-space: nowrap;
	transition: border-color var(--t-hover) ease, color var(--t-hover) ease, transform var(--t-press) var(--ease-out);
}
.btn > span { position: relative; z-index: 2; transition: translate 220ms var(--ease-out), color var(--t-hover) ease; }
.btn .icon { position: relative; z-index: 2; margin-left: auto; }
.btn::before, .btn::after {
	content: ""; position: absolute; inset: 0; z-index: 1; opacity: 0;
	transition: opacity var(--t-hover) ease;
}
.btn::before { background: linear-gradient(90deg, #f5f3ef 0%, #a9a49a 100%); }
.btn::after { background: linear-gradient(180deg, #737373, #d9d9d9); }
.btn:focus-visible { outline: 2px solid var(--brand); outline-offset: 3px; border-color: transparent; color: var(--ink); }
.btn:focus-visible::before { opacity: 1; }
.btn:focus-visible > span { translate: 8px 0; }
.btn:active { transform: scale(0.98); }
@keyframes lamp-strike { 0% { opacity: 0; } 50% { opacity: 0.2; } 100% { opacity: 0; } }

.btn--solid { background: var(--paper); border-color: var(--paper); color: var(--ink); }
.btn--solid::before { background: linear-gradient(90deg, #f5f3ef 0%, var(--champagne) 100%); }
.btn--pill {
	width: auto; max-width: none; min-height: 2.75rem;
	padding: 0.8rem 1.1rem; font-size: 0.6875rem;
	border-color: rgb(245 243 239 / 0.3);
}
/* Outline buttons over photography get a faint glass backing for legibility */
.hero .btn:not(.btn--solid), .backdrop .btn:not(.btn--solid) {
	background: rgb(12 12 12 / 0.35);
	-webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
}

.text-link {
	position: relative; display: inline-block; padding-bottom: 0.3rem;
	font: 400 0.8125rem var(--font-display); letter-spacing: 0.1em; text-transform: uppercase;
	text-decoration: none;
	background: linear-gradient(currentColor, currentColor) left bottom / 100% 1px no-repeat;
	transition: color var(--t-hover) ease;
}

/* Small links keep their look but get a 44px tap area */
.text-link::after, .site-footer__list a::after, .site-footer__contact a::after, .back::after, .dl::after, .tag::after {
	content: ""; position: absolute; inset: -0.75rem -0.25rem;
}
.site-footer__list a, .site-footer__contact a, .back, .dl, .tag { position: relative; }

.chips { display: flex; flex-wrap: wrap; gap: var(--s-1); }
.chip, .filter__item {
	display: inline-flex; align-items: center; gap: 0.5rem;
	min-height: 2.75rem; padding: 0.5rem 1.1rem;
	border-radius: 999px; box-shadow: inset 0 0 0 1px var(--line-strong);
	font: 400 0.75rem var(--font-display); letter-spacing: 0.08em; text-transform: uppercase; text-decoration: none;
	transition: box-shadow var(--t-hover) ease, color var(--t-hover) ease, background var(--t-hover) ease, transform var(--t-press) var(--ease-out);
}
.chip:active, .filter__item:active { transform: scale(0.97); }

.tag {
	display: inline-flex; align-items: center; gap: 0.4rem; min-height: 2.75rem;
	font: 400 0.6875rem var(--font-display); letter-spacing: 0.1em; text-transform: uppercase;
	text-decoration: none; color: var(--ash);
	transition: color var(--t-hover) ease;
}

.ticks { list-style: none; display: grid; gap: 0.6rem; color: var(--paper); }
.ticks li { position: relative; padding-left: 1.5rem; }
.ticks li::before {
	content: ""; position: absolute; left: 0; top: 0.8em;
	width: 0.75rem; height: 1px; background: var(--champagne); box-shadow: var(--glow-line);
}

/* ---------- 6 Media ---------- */
.photo { position: relative; overflow: hidden; background: var(--umber); }
.photo img, .scene { width: 100%; height: 100%; object-fit: cover; }
.scene { min-height: 100%; }
/* Drawn "lit scenes" stand in until the client's photography is uploaded */
.scene--facade {
	background:
		radial-gradient(4% 30% at 18% 100%, rgb(255 222 168 / 0.85), transparent 80%),
		radial-gradient(4% 30% at 38% 100%, rgb(255 222 168 / 0.75), transparent 80%),
		radial-gradient(4% 30% at 62% 100%, rgb(255 222 168 / 0.85), transparent 80%),
		radial-gradient(4% 30% at 82% 100%, rgb(255 222 168 / 0.75), transparent 80%),
		linear-gradient(180deg, transparent 0 46%, #17140f 46%),
		linear-gradient(180deg, #151a26, #2e3446 70%, #4b4048);
}
.scene--interior {
	background:
		radial-gradient(9% 45% at 22% 18%, rgb(255 228 180 / 0.55), transparent 75%),
		radial-gradient(9% 45% at 52% 18%, rgb(255 228 180 / 0.5), transparent 75%),
		radial-gradient(9% 45% at 82% 18%, rgb(255 228 180 / 0.45), transparent 75%),
		linear-gradient(180deg, #8d7a63 0%, #6a5a48 62%, #3b2f25 62%, #2b221b 100%);
}
.scene--office {
	background:
		linear-gradient(180deg, transparent 17%, rgb(230 240 245 / 0.32) 18%, transparent 21%),
		linear-gradient(180deg, transparent 31%, rgb(230 240 245 / 0.22) 32%, transparent 35%),
		radial-gradient(60% 50% at 70% 60%, rgb(200 215 220 / 0.22), transparent 70%),
		linear-gradient(180deg, #2c2f31, #3d4245 60%, #5a5f62);
}
.scene--living {
	background:
		radial-gradient(30% 30% at 50% 8%, rgb(255 240 210 / 0.9), transparent 70%),
		radial-gradient(40% 40% at 20% 60%, rgb(255 236 200 / 0.35), transparent 70%),
		linear-gradient(180deg, #d9d2c6 0%, #c3b8a8 65%, #a99a85 65%, #8c7d69 100%);
}
.scene--pool {
	background:
		radial-gradient(30% 18% at 30% 78%, rgb(120 200 215 / 0.55), transparent 75%),
		radial-gradient(30% 18% at 72% 80%, rgb(120 200 215 / 0.45), transparent 75%),
		linear-gradient(180deg, transparent 0 62%, #0f3440 62%, #0b2630 100%),
		linear-gradient(180deg, #121826, #29304a 60%, #3e3a48);
}
.scene--landscape {
	background:
		radial-gradient(5% 40% at 25% 100%, rgb(255 222 168 / 0.7), transparent 80%),
		radial-gradient(5% 40% at 70% 100%, rgb(255 222 168 / 0.6), transparent 80%),
		radial-gradient(35% 25% at 25% 70%, rgb(70 110 60 / 0.6), transparent 70%),
		radial-gradient(30% 30% at 72% 62%, rgb(60 95 55 / 0.6), transparent 70%),
		linear-gradient(180deg, #10141f, #1d2433 55%, #141810 75%);
}

/* Hover swap (after Halcyon): lights-on image cross-fades in, or the cover lifts its veil */
.swap { position: relative; }
.swap > img, .swap > .scene { width: 100%; height: 100%; object-fit: cover; }
.swap__lit {
	position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
	opacity: 0; visibility: hidden; transition: opacity 250ms ease, visibility 250ms;
}
a:focus-visible .swap__lit { opacity: 1; visibility: visible; transition: opacity 450ms ease, visibility 450ms; }
.swap--dim::before {
	content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
	background: #0c0c0c; opacity: 0.42; transition: opacity 350ms var(--ease-out);
}
a:focus-visible .swap--dim::before { opacity: 0; }
@media (hover: none) { .swap--dim::before { opacity: 0; } }

/* Collage: overlapping prints of varied scale */
.collage { position: relative; width: 100%; aspect-ratio: 16 / 11; }
.collage__item { position: absolute; box-shadow: 0 30px 60px -30px rgb(0 0 0 / 0.75); }
.collage__item--1 { left: 0; top: 0; width: 58%; height: 72%; }
.collage__item--2 { left: 42%; top: 26%; width: 58%; height: 70%; }
.collage__item--3 { left: 14%; top: 66%; width: 28%; height: 34%; }
.collage--2 .collage__item--2 { left: 40%; top: 24%; width: 60%; height: 76%; }
.collage--left .collage__item--1 { left: auto; right: 0; }
.collage--left .collage__item--2 { left: auto; right: 42%; }
.collage--left .collage__item--3 { left: auto; right: 14%; }

/* Collage entrance: prints are laid down one by one, then their lights come on.
   Hidden state applies only once JS is running (html.js), so no-JS visitors see the prints. */
.collage__item::after {
	content: ""; position: absolute; inset: 0; pointer-events: none;
	background: #0c0c0c; opacity: 0;
}
html.js .collage:not(.is-in) .collage__item {
	opacity: 0; transform: translateY(24px); clip-path: inset(0 0 100% 0);
}
html.js .collage:not(.is-in) .collage__item::after { opacity: 0.6; }
html.js .collage .collage__item {
	transition:
		opacity 600ms var(--ease-out),
		transform 900ms var(--ease-out),
		clip-path 900ms var(--ease-in-out);
}
html.js .collage .collage__item::after { transition: opacity 900ms var(--ease-light); }
html.js .collage .collage__item--1 { transition-delay: 0ms; }
html.js .collage .collage__item--2 { transition-delay: 140ms; }
html.js .collage .collage__item--3 { transition-delay: 280ms; }
html.js .collage .collage__item--1::after { transition-delay: 500ms; }
html.js .collage .collage__item--2::after { transition-delay: 640ms; }
html.js .collage .collage__item--3::after { transition-delay: 780ms; }

/* Wells: product shots sit on a dark stage in a pool of light */
.well {
	background: radial-gradient(55% 45% at 50% 58%, rgb(214 196 156 / 0.13), transparent 72%), var(--night-deep);
	box-shadow: inset 0 0 0 1px rgb(245 243 239 / 0.06);
}
.fixture {
	position: relative; display: block; width: 42%; aspect-ratio: 5 / 6;
	background: linear-gradient(90deg, #0e0e0e, #55534f 36%, #24231f 68%, #0b0b0b);
	border-radius: 4px 4px 46% 46% / 4px 4px 16% 16%;
	box-shadow: 0 30px 40px -20px rgb(0 0 0 / 0.85), inset 0 1px 0 rgb(245 243 239 / 0.18);
}
.fixture::after {
	content: ""; position: absolute; left: 14%; right: 14%; bottom: 5%; height: 22%; border-radius: 50%;
	background: radial-gradient(50% 50% at 50% 55%, #f7e3b0, #c89a4a 45%, #3a2a14 80%);
}
.fixture--large { width: 46%; }

/* ---------- 7 Header, nav, footer, WhatsApp ---------- */
.site-header { position: absolute; inset: 0 0 auto 0; z-index: 20; }
.admin-bar .site-header { top: 32px; }
@media (max-width: 782px) { .admin-bar .site-header { top: 46px; } }
.site-header__inner { display: flex; align-items: center; justify-content: space-between; gap: var(--s-4); min-height: var(--header-h); }

/* Wordmark rebuilt from the logo: BRIGHT in a box, CORNER on the yellow panel */
.logo { display: inline-flex; align-items: stretch; flex: none; color: var(--paper); line-height: 1; text-decoration: none; }
.logo__bright {
	padding: 0.32rem 0.5rem 0.22rem;
	border: 2px solid currentColor; border-right: 0;
	font: 700 2.125rem / 1 var(--font-logo); letter-spacing: 0.01em; text-transform: uppercase;
}
.logo__corner {
	writing-mode: vertical-rl; rotate: 180deg;
	display: grid; place-items: center; padding: 0.25rem 0.2rem;
	background: var(--brand); color: var(--ink);
	font: 700 0.6875rem / 1 var(--font-logo); letter-spacing: 0.12em; text-transform: uppercase;
}
.logo--image img { max-height: 3.5rem; width: auto; }

.site-nav { display: flex; align-items: center; gap: clamp(1.5rem, 4vw, 4rem); }
.site-nav__list { list-style: none; display: flex; gap: clamp(1.25rem, 3.2vw, 3.5rem); }
.site-nav__list a, .site-nav__phone {
	display: inline-block; padding-block: 0.85rem;
	background: linear-gradient(var(--champagne), var(--champagne)) left bottom / 0 1px no-repeat;
	transition: background-size 300ms var(--ease-out), color var(--t-hover) ease;
}
.site-nav__list a[aria-current="page"] { background-size: 100% 1px; }
.site-nav__extra { display: flex; align-items: center; gap: var(--s-3); }
.site-nav__wa { display: none; }
.menu-toggle {
	display: none; min-height: 2.75rem; padding: 0.6rem 1.1rem;
	background: none; border: 1px solid var(--line-strong);
	transition: transform var(--t-press) var(--ease-out);
}
.menu-toggle:active { transform: scale(0.97); }
.menu-toggle__close { display: none; }

@media (max-width: 1100px) { .site-nav__phone { display: none; } }
@media (max-width: 900px) {
	.menu-toggle { display: block; position: relative; z-index: 2; }
	.site-header .logo { position: relative; z-index: 2; }
	.site-nav {
		position: fixed; inset: 0; z-index: 1;
		flex-direction: column; align-items: flex-start; justify-content: center; gap: var(--s-5);
		padding: var(--header-h) var(--gutter) var(--s-6);
		background: var(--night);
		visibility: hidden; opacity: 0; transform: translateY(-8px);
		transition: opacity 180ms ease, transform 180ms ease, visibility 0s linear 180ms;
	}
	.site-nav__list { flex-direction: column; gap: var(--s-1); }
	.site-nav__list a { font: 500 clamp(2.25rem, 10vw, 3.25rem) / 1.15 var(--font-serif); text-transform: none; letter-spacing: 0; }
	.site-nav__extra { flex-direction: column; align-items: flex-start; }
	.site-nav__phone { display: inline-block; }
	.site-nav__wa { display: inline-flex; align-items: center; gap: 0.5rem; }
	.site-nav__wa .icon { color: var(--brand); }
	.nav-open { overflow: hidden; }
	.nav-open .site-nav { visibility: visible; opacity: 1; transform: none; transition: opacity 260ms var(--ease-out), transform 260ms var(--ease-out); }
	.nav-open .menu-toggle__open { display: none; }
	.nav-open .menu-toggle__close { display: inline; }
	.nav-open .wa-float { display: none; }
}

.site-footer { background: linear-gradient(180deg, var(--night-deep), #11141a); }
.site-footer__grid { display: grid; grid-template-columns: 1.2fr 1fr 1.2fr; gap: var(--s-6) var(--s-5); padding-block: var(--s-7) var(--s-6); }
.site-footer__brand { display: grid; gap: var(--s-3); align-content: start; justify-items: start; }
.site-footer__nav { display: grid; grid-template-columns: max-content max-content; gap: var(--s-3) var(--s-5); align-content: start; }
.site-footer__list { list-style: none; display: grid; gap: 0.25rem; }
.site-footer__list a { display: inline-block; padding-block: 0.35rem; }
.site-footer__contact { display: grid; gap: 0.5rem; align-content: start; justify-items: start; color: var(--ash); }
.site-footer__contact a { text-decoration: none; }
.site-footer__contact .t-h3 { color: var(--paper); font-size: 1.375rem; }
.site-footer__social { display: flex; gap: var(--s-1); margin-top: var(--s-2); }
.site-footer__social a { display: grid; place-items: center; width: 2.75rem; height: 2.75rem; border: 1px solid var(--line); border-radius: 50%; }
.site-footer__downloads { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: var(--s-4); padding-top: var(--s-4); border-top: 1px solid var(--line); }
.dl { display: inline-flex; align-items: center; gap: 0.6rem; font: 400 var(--fs-label) var(--font-display); letter-spacing: 0.1em; text-transform: uppercase; text-decoration: none; }
.site-footer__legal { display: flex; flex-wrap: wrap; gap: var(--s-1) var(--s-4); padding-block: var(--s-3) var(--s-5); border-top: 1px solid var(--line); color: var(--smoke); }

/* WhatsApp: a quiet glass disc; steps aside while an inline action is on screen */
.wa-float {
	position: fixed; right: clamp(1rem, 2.5vw, 2rem); bottom: clamp(1rem, 2.5vw, 2rem); z-index: 30;
	display: inline-flex; align-items: center; gap: 0.6rem;
	min-height: 3.25rem; padding: 0 1.15rem 0 0.95rem;
	background: rgb(22 22 22 / 0.72);
	-webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
	border: 1px solid rgb(245 243 239 / 0.22);
	color: var(--paper); text-decoration: none;
	font: 400 0.6875rem var(--font-display); letter-spacing: 0.1em; text-transform: uppercase;
	transition: border-color var(--t-hover) ease, background var(--t-hover) ease, opacity var(--t-hover) ease, transform var(--t-hover) var(--ease-out);
}
.wa-float .icon { color: var(--brand); }
.wa-float:active { transform: scale(0.97); }
.wa-float.is-quiet { opacity: 0; transform: translateY(8px); pointer-events: none; }

/* Closing call to action */
.closing { padding-block: var(--section); }
.closing__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(16rem, 26rem); align-items: end; gap: var(--s-6); }
.closing__title { font-size: clamp(3rem, 8.5vw, 8.5rem); }
.closing__side { display: grid; gap: var(--s-4); justify-items: start; }
.closing__side > .icon { color: var(--champagne); }

/* ---------- 8 Home ---------- */
/* Hero: full-bleed photo, name at the top, promise + actions anchored bottom-left */
.hero {
	position: relative; isolation: isolate; overflow: hidden;
	display: flex; flex-direction: column;
	min-height: max(100svh, 40rem);
}
.hero__scene { position: absolute; inset: 0; z-index: -1; }
.hero__scene::after {
	content: ""; position: absolute; inset: 0;
	background: linear-gradient(180deg, rgb(12 14 20 / 0.62) 0%, rgb(12 14 20 / 0.08) 38%, rgb(12 12 12 / 0.15) 55%, rgb(12 12 12 / 0.78) 100%);
}
/* The one authored moment: lights come on once, on load */
.hero::after {
	content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
	background: #0c0c0e; animation: veil-off 2200ms var(--ease-light) 150ms both;
}
@keyframes veil-off { from { opacity: 0.82; } to { opacity: 0; } }
@keyframes fade-in { from { opacity: 0; } to { opacity: 1; } }
@keyframes brand-in { from { opacity: 0; transform: translateY(0.12em); } to { opacity: 1; transform: none; } }

.hero__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
/* Photo heroes: shade the left side where the promise and actions sit, keep the architecture bright */
.hero--photo .hero__scene::after {
	background:
		linear-gradient(90deg, rgb(10 10 12 / 0.78) 0%, rgb(10 10 12 / 0.5) 30%, rgb(10 10 12 / 0.12) 55%, transparent 70%),
		linear-gradient(180deg, rgb(12 14 20 / 0.55) 0%, transparent 30%, transparent 60%, rgb(10 10 10 / 0.7) 100%);
}
.hero--photo .hero__lede { text-shadow: 0 1px 24px rgb(0 0 0 / 0.55); }
@media (max-width: 760px) {
	.hero__img { object-position: 62% 50%; }
	.hero--photo .hero__scene::after {
		background: linear-gradient(180deg, rgb(10 10 12 / 0.6) 0%, rgb(10 10 12 / 0.15) 35%, rgb(10 10 12 / 0.55) 60%, rgb(10 10 12 / 0.9) 100%);
	}
}
.hero__sky { position: absolute; inset: 0; background: linear-gradient(180deg, #151a26 0%, var(--dusk) 40%, #3d3a45 70%, #5a4a40 86%, #1e1915 100%); }
.hero__building {
	position: absolute; left: 44%; right: -2%; bottom: 0; height: 46%;
	background:
		linear-gradient(90deg, transparent 0 6%, rgb(255 214 150 / 0.2) 6% 44%, transparent 44% 56%, rgb(255 214 150 / 0.14) 56% 92%, transparent 92%) 0 42% / 100% 7% no-repeat,
		linear-gradient(180deg, #17140f, #120f0c);
	clip-path: polygon(0 18%, 52% 18%, 52% 0, 100% 0, 100% 100%, 0 100%);
}
.hero__glow {
	position: absolute; inset: 0; mix-blend-mode: screen;
	background:
		radial-gradient(1.4% 22% at 48% 100%, rgb(255 222 168 / 0.95), transparent 80%),
		radial-gradient(1.4% 22% at 58% 100%, rgb(255 222 168 / 0.9), transparent 80%),
		radial-gradient(1.4% 30% at 70% 100%, rgb(255 222 168 / 0.95), transparent 80%),
		radial-gradient(1.4% 30% at 82% 100%, rgb(255 222 168 / 0.95), transparent 80%),
		radial-gradient(1.4% 30% at 94% 100%, rgb(255 222 168 / 0.9), transparent 80%),
		radial-gradient(40% 12% at 72% 100%, rgb(214 196 156 / 0.3), transparent 80%);
	animation: fade-in 1400ms var(--ease-light) 1100ms both;
}
.hero--drawn .hero__scene::before {
	content: ""; position: absolute; z-index: 1;
	left: 44%; right: 0; bottom: calc(46% * 0.82); height: 2px;
	background: linear-gradient(90deg, transparent, var(--champagne) 8%, var(--champagne) 50%, transparent 52%);
	box-shadow: var(--glow-line);
	animation: fade-in 900ms var(--ease-light) 1700ms both;
}
/* Scroll-linked brightening: main.js sets --lit from 0 (top) to 1 (hero 50% scrolled).
   Only opacity and transform change, so it stays smooth while scrolling. */
.hero { --lit: 0; }
.hero__scene::after { opacity: calc(1 - 0.45 * var(--lit)); }
.hero__glow > *, .hero__glow { transform-origin: 50% 100%; }
.hero--drawn .hero__glow { transform: scaleY(calc(1 + 0.4 * var(--lit))); }
.hero__building::after {
	/* the window strips, at full brightness, faded in by scroll */
	content: ""; position: absolute; inset: 0;
	background: linear-gradient(90deg, transparent 0 6%, rgb(255 222 168 / 0.75) 6% 44%, transparent 44% 56%, rgb(255 222 168 / 0.6) 56% 92%, transparent 92%) 0 42% / 100% 7% no-repeat;
	box-shadow: 0 0 0 transparent;
	opacity: var(--lit);
}
.hero__bloom {
	position: absolute; inset: 0; pointer-events: none; mix-blend-mode: screen;
	background:
		radial-gradient(42% 30% at 72% 100%, rgb(255 214 150 / 0.55), transparent 75%),
		radial-gradient(30% 12% at 72% 70%, rgb(255 222 168 / 0.25), transparent 80%),
		radial-gradient(70% 40% at 50% 110%, rgb(214 196 156 / 0.3), transparent 80%);
	opacity: var(--lit);
}
.hero--photo .hero__bloom {
	background:
		radial-gradient(60% 45% at 50% 85%, rgb(255 214 150 / 0.32), transparent 75%),
		radial-gradient(90% 60% at 50% 120%, rgb(214 196 156 / 0.22), transparent 80%);
}

.hero__body {
	flex: 1; min-width: 0;
	display: flex; flex-direction: column; justify-content: space-between; gap: var(--s-6);
	padding-top: calc(var(--header-h) + clamp(1.5rem, 6vh, 4.5rem));
	padding-bottom: clamp(2rem, 6vh, 4rem);
}
.hero__brand { white-space: nowrap; margin-left: -0.05em; animation: brand-in 1400ms var(--ease-out) 250ms both; }
.hero__foot { display: grid; gap: var(--s-4); justify-items: start; max-width: 34rem; }
.hero__lede { font-size: clamp(1.375rem, 2.1vw, 1.875rem); line-height: 1.3; text-wrap: pretty; }
.hero__actions { display: grid; gap: var(--s-2); justify-items: start; width: 100%; }

/* Proof: logos and facts, only when real */
.proof { border-block: 1px solid var(--line); }
.proof__inner { display: grid; gap: var(--s-5); padding-block: var(--s-6); }
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(12rem, 1fr)); gap: var(--s-4); }
.stat { display: flex; flex-direction: column-reverse; gap: var(--s-1); }
.stat__num { font: 500 clamp(2.5rem, 4.5vw, 4rem) / 1 var(--font-serif); color: var(--paper); }
.proof__row .label { margin-bottom: var(--s-2); }
.logos { list-style: none; display: grid; grid-template-columns: repeat(auto-fill, minmax(9rem, 1fr)); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.logos__item { display: grid; place-items: center; aspect-ratio: 3 / 2; padding: var(--s-3); border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.logos__item img { max-height: 3rem; width: auto; object-fit: contain; filter: grayscale(1) brightness(1.6); opacity: 0.75; transition: opacity var(--t-hover) ease, filter var(--t-hover) ease; }
.logos__name { font: 400 var(--fs-label) var(--font-display); text-transform: uppercase; letter-spacing: 0.08em; color: var(--ash); text-align: center; }

/* Selected projects: sticky photo backdrop, glass cards scroll over it */
.backdrop { position: relative; padding-top: 0; margin-top: var(--section); isolation: isolate; overflow: clip; }
.backdrop__bg { position: sticky; top: 0; height: 100vh; height: 100svh; margin-bottom: -100vh; margin-bottom: -100svh; z-index: -1; }
.backdrop__bg .photo { height: 100%; }
.backdrop__bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgb(12 12 12 / 0.8) 0%, rgb(12 12 12 / 0.4) 55%, rgb(12 12 12 / 0.22) 100%); }
.backdrop__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 26rem); gap: var(--s-7); padding-block: var(--s-7); }
.backdrop__intro { position: sticky; bottom: var(--s-6); align-self: end; display: grid; gap: var(--s-4); justify-items: start; padding-bottom: var(--s-2); }
.backdrop__text { color: var(--paper); opacity: 0.85; }
.backdrop .chip { background: rgb(12 12 12 / 0.35); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.backdrop__cards { list-style: none; display: grid; gap: var(--s-2); padding-top: 40vh; }
.bcard__link {
	display: grid; text-decoration: none;
	background: rgb(20 20 20 / 0.72);
	-webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
	border: 1px solid rgb(245 243 239 / 0.12);
	transition: border-color var(--t-hover) ease;
}
.bcard__photo { aspect-ratio: 4 / 3; }
.bcard__body { display: grid; gap: 0.35rem; padding: var(--s-3); }
.bcard__title { font: 500 1.625rem / 1.15 var(--font-serif); }

/* Services ledger: a real sequence, so it is numbered */
.ledger__grid { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: var(--s-7); align-items: start; }
.ledger__head { position: sticky; top: var(--s-6); display: grid; gap: var(--s-4); justify-items: start; }
.ledger__list { list-style: none; border-top: 1px solid var(--line); }
.ledger__row {
	position: relative;
	display: grid; grid-template-columns: 4.5rem minmax(0, 1fr) auto; gap: var(--s-3); align-items: start;
	padding-block: var(--s-4); border-bottom: 1px solid var(--line); text-decoration: none;
}
.ledger__row::after {
	content: ""; position: absolute; left: 0; bottom: -1px; height: 1px; width: 100%;
	background: var(--champagne); box-shadow: var(--glow-line);
	transform: scaleX(0); transform-origin: left; transition: transform 500ms var(--ease-out);
}
.ledger__row:focus-visible::after { transform: scaleX(1); }
.ledger__n { font: 200 2rem / 1 var(--font-display); color: var(--champagne); }
.ledger__text { display: grid; gap: var(--s-1); }
.ledger__row > .icon { margin-top: 0.3rem; color: var(--smoke); transition: translate 300ms var(--ease-out), color var(--t-hover) ease; }

/* Featured range (after Halcyon): rows drive one large image */
.range__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: var(--s-7); align-items: start; }
.range__head { display: grid; gap: var(--s-3); margin-bottom: var(--s-6); }
.range__title { font-size: clamp(2.75rem, 5.5vw, 5.5rem); }
.range__items { list-style: none; }
.product {
	display: grid; grid-template-columns: minmax(7rem, 11rem) minmax(0, 1fr); gap: var(--s-4);
	padding-block: var(--s-3); border-top: 1px solid var(--line);
	cursor: pointer; transition: background var(--t-hover) ease;
}
.product:last-child { border-bottom: 1px solid var(--line); }
.product.is-active { background: linear-gradient(90deg, rgb(245 243 239 / 0.04), transparent 70%); }
.product.is-active .product__thumb { box-shadow: inset 0 0 0 1px rgb(214 196 156 / 0.55); }
.product.is-active .product__code { color: var(--champagne); }
.product__thumb { display: grid; place-items: center; aspect-ratio: 4 / 5; overflow: hidden; }
.product__thumb img { width: 78%; height: 78%; object-fit: contain; }
.product__body { display: grid; gap: var(--s-2); align-content: start; }
.product__row { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: var(--s-1) var(--s-3); }
.product__code { font: 500 clamp(1.625rem, 2.3vw, 2.125rem) / 1.1 var(--font-serif); transition: color var(--t-hover) ease; }
.product__actions { display: flex; gap: var(--s-2); }
.product__desc { color: var(--ash); max-width: 30rem; }
.specs { display: grid; grid-template-columns: repeat(auto-fill, minmax(7.5rem, 1fr)); gap: var(--s-2) var(--s-3); margin-top: var(--s-1); }
.specs dt, .specs dd { font: 400 var(--fs-label) / 1.4 var(--font-display); letter-spacing: 0.06em; text-transform: uppercase; }
.specs dt { color: var(--smoke); }
.specs dd { color: var(--paper); }
.range__stage { position: sticky; top: calc(var(--header-h) * 0.5); aspect-ratio: 4 / 5; display: grid; overflow: hidden; }
.range__shot {
	grid-area: 1 / 1; display: grid; place-items: center;
	opacity: 0; visibility: hidden; filter: blur(4px); transform: scale(0.985);
	transition: opacity 260ms ease, filter 260ms ease, transform 260ms var(--ease-out), visibility 260ms;
}
.range__shot.is-active { opacity: 1; visibility: visible; filter: none; transform: none; }
.range__shot img { width: 72%; height: 72%; object-fit: contain; }

/* Voices */
.voices__list { display: grid; gap: var(--s-7); }
.voice { display: grid; gap: var(--s-3); max-width: 52rem; }
.voice:nth-child(even) { justify-self: end; text-align: right; }
.voice .t-h2 { line-height: 1.32; }
.voice blockquote::before { content: "“"; color: var(--champagne); }
.voice blockquote::after { content: "”"; color: var(--champagne); }
.voice strong { color: var(--paper); font-weight: 400; }

/* ---------- 9 Inner pages ---------- */
.page-hero { padding-top: calc(var(--header-h) + clamp(3rem, 10vh, 7rem)); }
.page-hero__title { margin-bottom: var(--s-5); }
.page-hero__body { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: var(--s-4) var(--s-7); align-items: start; }
.page-hero__lede { max-width: 18em; }

/* About */
.mv__grid { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s-7); }
.mv__item .t-h2 { max-width: 20em; line-height: 1.32; }
.columns { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 16rem), 1fr)); gap: var(--s-6) var(--s-5); }
.column { display: grid; gap: var(--s-2); align-content: start; }
.values__grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: var(--s-7); }
.values__list { list-style: none; display: grid; gap: var(--s-2); }
.values__list li { padding-bottom: var(--s-2); border-bottom: 1px solid var(--line); line-height: 1.32; }
.wide-image { margin-top: var(--section); }
.wide-image .photo { aspect-ratio: 21 / 9; }

/* Services */
.services-list .statement + .statement { margin-top: var(--s-8); }
.service { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: var(--s-7); }
.service__main { display: grid; gap: var(--s-5); justify-items: start; align-content: start; }
.service__aside { display: grid; gap: var(--s-3); align-content: start; }
.service__photo { aspect-ratio: 4 / 3; margin-bottom: var(--s-3); }
.service-nav { padding-top: var(--section); }
.service-nav ul { list-style: none; border-top: 1px solid var(--line); }
.service-nav a {
	display: flex; justify-content: space-between; align-items: center;
	padding-block: var(--s-3); border-bottom: 1px solid var(--line);
	font: 500 var(--fs-h2) / 1.2 var(--font-serif); text-decoration: none;
}

/* Brands */
.brands-actions { margin-bottom: var(--s-7); }
.brands { list-style: none; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 18rem), 1fr)); gap: var(--s-6) var(--s-4); }
.brand { display: grid; gap: var(--s-2); align-content: start; }
.brand__logo { display: grid; place-items: center; aspect-ratio: 16 / 9; padding: var(--s-4); background: var(--umber); margin-bottom: var(--s-1); }
.brand__logo img { max-height: 4rem; width: auto; object-fit: contain; }
.brand__links { display: flex; gap: var(--s-3); margin-top: var(--s-1); }

/* Contact */
.contact { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr); gap: var(--s-7); }
.channels { list-style: none; border-top: 1px solid var(--line); }
.channel { display: flex; gap: var(--s-3); align-items: flex-start; padding-block: var(--s-3); border-bottom: 1px solid var(--line); text-decoration: none; }
.channel > .icon { color: var(--champagne); margin-top: 0.3rem; flex: none; }
.channel > span { display: grid; gap: 0.25rem; justify-items: start; }
.channel__value { font: 500 1.5rem / 1.25 var(--font-serif); color: var(--paper); transition: color var(--t-hover) ease; }
.hours { margin-top: var(--s-5); }
.contact__form .t-h2 { margin-bottom: var(--s-4); }
.map { margin-top: var(--section); height: clamp(20rem, 40vw, 32rem); filter: grayscale(1) invert(0.92) contrast(0.85); }
.map iframe { width: 100%; height: 100%; border: 0; }

/* Consultation */
.quote-layout { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: var(--s-7); }
.next-steps { list-style: none; display: grid; gap: var(--s-5); margin-bottom: var(--s-5); }
.next-steps li { display: grid; gap: var(--s-1); }
.next-steps .t-index { font-size: 2.5rem; }

/* Careers */
.jobs { list-style: none; border-top: 1px solid var(--line); }
.job { display: grid; grid-template-columns: 1fr auto auto; align-items: center; gap: var(--s-4); padding-block: var(--s-4); border-bottom: 1px solid var(--line); text-decoration: none; }
.job-apply { margin-top: var(--s-6); }

.prose-list { display: grid; gap: var(--s-5); }

/* ---------- 10 Projects + lightbox ---------- */
.filter { display: flex; flex-wrap: wrap; gap: var(--s-1); margin-bottom: var(--s-6); }
.filter__item[aria-current="page"] { background: var(--paper); color: var(--ink); box-shadow: none; }
.filter__count { color: var(--smoke); }
.filter__item[aria-current="page"] .filter__count { color: #555; }

.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 22rem), 1fr)); gap: var(--s-6) var(--s-4); }
.card__link { display: grid; gap: var(--s-2); text-decoration: none; }
.card__photo { aspect-ratio: 4 / 3; }
.card__photo img, .card__photo .scene { transition: scale 600ms var(--ease-out); }
.card__meta { margin-top: var(--s-1); }
.card__title { font: 500 1.875rem / 1.15 var(--font-serif); }

.pagination { margin-top: var(--s-7); }
.pagination .nav-links { display: flex; gap: var(--s-1); align-items: center; }
.pagination .page-numbers {
	display: grid; place-items: center; min-width: 2.75rem; height: 2.75rem; padding-inline: 0.5rem;
	border: 1px solid var(--line); text-decoration: none; font: 400 0.875rem var(--font-display);
}
.pagination .page-numbers.current { background: var(--paper); color: var(--ink); }

.project-hero { position: relative; min-height: min(92svh, 60rem); display: flex; align-items: flex-end; isolation: isolate; }
.project-hero__photo { position: absolute; inset: 0; z-index: -1; }
.project-hero__photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgb(16 16 16 / 0.55), rgb(16 16 16 / 0.05) 40%, rgb(16 16 16 / 0.85)); }
.project-hero__text { display: grid; gap: var(--s-3); justify-items: start; padding-block: var(--header-h) var(--s-6); }
.project-hero__title { max-width: 14em; }
.back { display: inline-flex; align-items: center; gap: 0.5rem; }
.project-meta { display: grid; grid-template-columns: repeat(auto-fit, minmax(10rem, 1fr)); gap: var(--s-3); padding-block: var(--s-4); border-bottom: 1px solid var(--line); }
.project-meta dd { color: var(--paper); margin-top: 0.25rem; }
.project-body { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: var(--s-7); padding-top: var(--s-7); }
.story { display: grid; gap: var(--s-5); }
.story__part .label { margin-bottom: var(--s-2); }
.project-aside { display: grid; gap: var(--s-3); align-content: start; }
.facts { display: grid; gap: var(--s-3); margin-top: var(--s-4); }
.facts div { padding-top: var(--s-2); border-top: 1px solid var(--line); }

.gallery { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s-3); padding-top: var(--s-7); }
.gallery__item { display: grid; gap: var(--s-1); }
.gallery__item:first-child { grid-column: 1 / -1; }
.gallery__item--tall { grid-row: span 2; }
.gallery--sample .photo { aspect-ratio: 16 / 10; }
.gallery--sample .gallery__item:first-child .photo { aspect-ratio: 21 / 9; }
.gallery__open { display: block; height: 100%; overflow: hidden; background: var(--umber); cursor: zoom-in; }
.gallery__open img { width: 100%; height: 100%; object-fit: cover; transition: scale 600ms var(--ease-out); }

/* Project band (used for "Next project") */
.next-project { padding-top: var(--s-7); }
.next-project .label { margin-bottom: var(--s-3); }
.case { position: relative; display: grid; place-items: center; height: clamp(20rem, 44vw, 38rem); text-decoration: none; isolation: isolate; overflow: hidden; }
.case__photo { position: absolute; inset: 0; z-index: -1; }
.case__photo::after { content: ""; position: absolute; inset: 0; background: #101010; opacity: 0.3; transition: opacity 400ms ease; }
.case__photo img, .case__photo .scene { transition: scale 700ms var(--ease-out); }
.case:focus-visible { outline-offset: -6px; }
.case:focus-visible .case__photo::after { opacity: 0.12; }
.case__text { display: grid; justify-items: center; gap: var(--s-1); padding-inline: var(--gutter); text-align: center; }
.case__title { font-size: clamp(2rem, 5vw, 4.5rem); }
.case__type { color: var(--paper); opacity: 0.8; }

.lightbox { width: 100vw; height: 100dvh; max-width: none; max-height: none; margin: 0; padding: 0; border: 0; background: rgb(10 10 10 / 0.96); color: var(--paper); }
.lightbox::backdrop { background: rgb(10 10 10 / 0.9); }
.lightbox[open] { display: grid; grid-template-rows: 1fr auto; animation: fade-in 220ms var(--ease-out); }
.lightbox[open] .lightbox__img { animation: pop-in 260ms var(--ease-out); }
@keyframes pop-in { from { opacity: 0; transform: scale(0.97); } to { opacity: 1; transform: none; } }
.lightbox__img { width: 100%; height: 100%; object-fit: contain; padding: clamp(1rem, 4vw, 4rem); }
.lightbox__bar { display: flex; justify-content: space-between; align-items: center; gap: var(--s-2); padding: var(--s-2) var(--gutter) var(--s-3); }
.lightbox__btns { display: flex; gap: var(--s-1); }
.lightbox button {
	display: grid; place-items: center; width: 3rem; height: 3rem;
	background: none; border: 1px solid var(--line); border-radius: 50%;
	transition: border-color var(--t-hover) ease, color var(--t-hover) ease, transform var(--t-press) var(--ease-out);
}
.lightbox button:active { transform: scale(0.97); }

/* ---------- 11 Forms ---------- */
.form { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s-4) var(--s-3); }
.field { display: grid; gap: 0.5rem; align-content: start; }
.field--wide, .form__foot { grid-column: 1 / -1; }
.field__label, .field legend { padding: 0; font: 400 var(--fs-label) var(--font-display); letter-spacing: 0.08em; text-transform: uppercase; color: var(--paper); }
.field__opt { text-transform: none; letter-spacing: 0; color: var(--smoke); font-family: var(--font-body); }
.field__help { font-size: var(--fs-small); color: var(--ash); }
.field input, .field select, .field textarea {
	width: 100%; min-height: 3.25rem; padding: 0.8rem 1rem;
	font: 300 1rem / 1.5 var(--font-body); color: var(--paper);
	background: rgb(245 243 239 / 0.04);
	border: 1px solid var(--line-strong); border-radius: 0;
	transition: border-color 160ms ease, background 160ms ease, box-shadow 160ms ease;
}
.field select {
	appearance: none; padding-right: 2.5rem;
	background-image: linear-gradient(45deg, transparent 50%, var(--ash) 50%), linear-gradient(135deg, var(--ash) 50%, transparent 50%);
	background-position: right 1.25rem center, right 0.9rem center; background-size: 0.35rem 0.35rem; background-repeat: no-repeat;
}
.field select option { background: var(--night); }
.field textarea { resize: vertical; min-height: 9rem; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--brand); background: rgb(245 243 239 / 0.07); box-shadow: 0 0 0 1px var(--brand); }
.field fieldset { border: 0; margin: 0; padding: 0; display: grid; gap: var(--s-2); }
.checks { display: flex; flex-wrap: wrap; gap: var(--s-1); }
.check { position: relative; }
.check input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
.check span {
	display: inline-flex; align-items: center; min-height: 2.75rem; padding: 0.5rem 1.1rem;
	border-radius: 999px; box-shadow: inset 0 0 0 1px var(--line-strong);
	font-size: 0.9375rem;
	transition: box-shadow 160ms ease, background 160ms ease, color 160ms ease, transform var(--t-press) var(--ease-out);
}
.check input:checked + span { background: var(--paper); color: var(--ink); box-shadow: none; }
.check input:active + span { transform: scale(0.97); }
.check input:focus-visible + span { outline: 2px solid var(--brand); outline-offset: 3px; }
.has-error input, .has-error select, .has-error textarea { border-color: #ff8a7a; }
.field__error { font-size: var(--fs-small); color: var(--error); }
.form-errors { grid-column: 1 / -1; padding: var(--s-2) var(--s-3); border-left: 1px solid #ff8a7a; background: rgb(255 138 122 / 0.08); margin-bottom: var(--s-4); }
.form-done { display: grid; gap: var(--s-2); padding: var(--s-5); background: var(--umber); border-top: 1px solid var(--champagne); }
.form__foot { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s-3); margin-top: var(--s-2); }
.form__trap { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
	.closing__grid { grid-template-columns: 1fr; }
}
@media (max-width: 900px) {
	.statement, .service, .contact, .quote-layout, .mv__grid, .values__grid, .project-body,
	.backdrop__grid, .range__grid, .ledger__grid, .page-hero__body, .site-footer__grid { grid-template-columns: 1fr; gap: var(--s-5); }
	.statement--flip .statement__text { order: 0; }
	.backdrop__intro { position: static; padding-top: 30vh; }
	.backdrop__cards { padding-top: 0; }
	.ledger__head { position: static; }
	.range__stage { display: none; }
	.job { grid-template-columns: 1fr auto; }
}
@media (max-width: 640px) {
	.form, .gallery { grid-template-columns: 1fr; }
	.gallery__item--tall { grid-row: auto; }
}
@media (max-width: 600px) {
	.hero__brand { white-space: normal; font-size: clamp(2.5rem, 15vw, 4.5rem); line-height: 0.95; }
	.hero__building { left: 30%; height: 22%; }
	.hero--drawn .hero__scene::before { left: 30%; bottom: calc(22% * 0.82); }
	.bleed-title { white-space: normal; text-align: left; margin-right: 0; padding-right: var(--gutter); }
	.ledger__row { grid-template-columns: 3rem minmax(0, 1fr); }
	.ledger__row > .icon { display: none; }
	.ledger__n { font-size: 1.5rem; }
	.product { grid-template-columns: 6rem minmax(0, 1fr); gap: var(--s-3); }
	.wa-float { padding: 0; width: 3.25rem; justify-content: center; }
	.wa-float__label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
	.btn:not(.btn--pill) { max-width: 100%; }
	.logo__bright { font-size: 1.625rem; }
}

/* ---------- 12 Hover: real pointers only (touch gets :active instead) ---------- */
@media (hover: hover) and (pointer: fine) {
	a:hover { color: var(--champagne); }
	.skip-link:hover { color: var(--ink); }
	.filter__item[aria-current="page"]:hover { color: var(--ink); box-shadow: none; }
	.btn:hover { border-color: transparent; color: var(--ink); }
	.btn:hover::before { opacity: 1; }
	.btn:hover > span { translate: 8px 0; }
	.btn:hover::after { animation: lamp-strike 1s ease forwards; }
	.text-link:hover, .tag:hover { color: var(--champagne); }
	.chip:hover, .filter__item:hover { box-shadow: inset 0 0 0 1px var(--champagne); color: var(--paper); }
	.site-nav__list a:hover { background-size: 100% 1px; color: var(--paper); }
	.menu-toggle:hover { border-color: var(--paper); }
	.wa-float:hover { color: var(--paper); border-color: rgb(245 243 239 / 0.5); background: rgb(22 22 22 / 0.9); }
	.logos__item:hover img { filter: none; opacity: 1; }
	.field input:hover, .field select:hover, .field textarea:hover { border-color: rgb(245 243 239 / 0.7); }
	.check:hover span { box-shadow: inset 0 0 0 1px var(--paper); }
	.lightbox button:hover { border-color: var(--champagne); color: var(--champagne); }

	a:hover .swap--dim::before { opacity: 0; }
	a:hover .swap__lit { opacity: 1; visibility: visible; transition: opacity 450ms ease, visibility 450ms; }
	.bcard__link:hover { color: var(--paper); border-color: rgb(214 196 156 / 0.5); }
	.card__link:hover { color: var(--paper); }
	.card__link:hover .card__title { text-decoration: underline; text-decoration-color: var(--champagne); }
	.card__link:hover .card__photo img, .card__link:hover .card__photo .scene { scale: 1.02; }
	.case:hover { color: var(--paper); }
	.case:hover .case__photo::after { opacity: 0.12; }
	.case:hover .case__photo img, .case:hover .case__photo .scene { scale: 1.02; }
	.gallery__open:hover img { scale: 1.015; }

	.ledger__row:hover { color: var(--paper); }
	.ledger__row:hover::after { transform: scaleX(1); }
	.ledger__row:hover > .icon { translate: 4px 0; color: var(--champagne); }
	a.channel:hover .channel__value { color: var(--champagne); }
	.service-nav a:hover { color: var(--champagne); }
}

/* ---------- 13 Reduced motion: keep gentle fades, drop movement ---------- */
@media (prefers-reduced-motion: reduce) {
	.hero__brand { animation: fade-in 400ms ease both; }
	.hero::after { animation-duration: 600ms; animation-delay: 0ms; }
	.btn::after { display: none; }
	.btn > span, .ledger__row > .icon, .card__photo img, .card__photo .scene,
	.case__photo img, .case__photo .scene, .gallery__open img { transition: none !important; translate: none !important; scale: none !important; }
	.btn:active, .chip:active, .filter__item:active, .wa-float:active { transform: none; }
	.range__shot { transform: none; filter: none; }
	.hero--drawn .hero__glow { transform: none; }
	html.js .collage:not(.is-in) .collage__item { transform: none; clip-path: none; }
	html.js .collage .collage__item { transition: opacity 400ms ease; }
	.site-nav, .wa-float.is-quiet { transform: none !important; }
	.lightbox[open] .lightbox__img { animation: fade-in 200ms ease; }
	@view-transition { navigation: none; }
}
