/* A&Z Wall Coatings: "Wet Edge" design system.
   Palette from the logo only: ink #101010, A&Z blue #0D7BC0, A&Z green #82C241, marble whites.
   Blue for small text/links on paper is #0B6CA9 (5.3:1); logo blue #0D7BC0 for fills and large type.
   Green is a fill with ink text only (never text on white).
   Type: Rethink Sans (UI + headings), Literata italic (colour names + the second half of headlines).
   Motif: the trowel stroke from the logo (the arc through the A, the swoosh under the Z). */

@font-face { font-family: "Rethink Sans"; src: url(../fonts/rethink.woff2) format("woff2"); font-weight: 400 800; font-display: swap; }
@font-face { font-family: "Literata"; src: url(../fonts/literata-italic.woff2) format("woff2"); font-weight: 200 900; font-style: italic; font-display: swap; }
@font-face { font-family: "Literata"; src: url(../fonts/literata.woff2) format("woff2"); font-weight: 200 900; font-style: normal; font-display: swap; }

:root {
	--ink: #101010;
	--ink-2: #26292b;
	--mute: #595e62;
	--line: #d9dcd8;
	--line-2: #e9ebe7;
	--paper: #f5f6f3;
	--white: #ffffff;
	--blue: #0d7bc0;
	--blue-ink: #0b6ca9;
	--blue-deep: #08507d;
	--green: #82c241;
	--green-deep: #5f9a28;
	--last-colour: #0d7bc0;
	--sans: "Rethink Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
	--serif: "Literata", Georgia, "Times New Roman", serif;
	--r: 2px;
	--wrap: 1320px;
	--gut: clamp(16px, 4vw, 40px);
	--hdr: 72px;
	--ease: cubic-bezier(.22, .61, .2, 1);
	--fast: 180ms;
	--mid: 360ms;
	--slow: 720ms;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; overflow-x: clip; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 16px/1.6 var(--sans); overflow-x: clip; -webkit-font-smoothing: antialiased; }
img, svg, video, canvas { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: .2em; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
h1, h2, h3, h4 { margin: 0; line-height: 1.08; font-weight: 700; letter-spacing: -.02em; }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 2px; }
[hidden] { display: none !important; }
.sr { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 8px; z-index: 200; background: var(--ink); color: #fff; padding: 10px 14px; }
.skip:focus { left: 8px; }
.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gut); }
.muted { color: var(--mute); }
.hp { position: absolute; left: -9999px; }
.ico { width: 22px; height: 22px; flex: none; }

/* ---------- type */
.display { font-size: clamp(44px, 7.4vw, 104px); line-height: .98; letter-spacing: -.035em; font-weight: 750; }
.h1 { font-size: clamp(36px, 5vw, 68px); letter-spacing: -.03em; font-weight: 720; }
.h2 { font-size: clamp(30px, 3.6vw, 52px); letter-spacing: -.028em; font-weight: 700; }
.h3 { font-size: clamp(20px, 1.8vw, 26px); letter-spacing: -.015em; }
.display em, .h1 em, .h2 em, .house-title em, .facts__lead em {
	font-family: var(--serif); font-style: italic; font-weight: 400; letter-spacing: -.01em; color: var(--blue);
}
.lead { font-size: clamp(17px, 1.5vw, 20px); line-height: 1.5; color: var(--ink-2); max-width: 46ch; }
.prose { max-width: 70ch; }
.prose p, .prose li { color: var(--ink-2); }
.prose ul, .prose ol { padding-left: 1.2em; margin-bottom: 1em; }
.prose h2, .prose h3 { margin: 1.2em 0 .5em; }

/* ---------- motif: the trowel stroke */
.stroke { display: block; width: 100%; height: auto; }

/* ---------- buttons */
.btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; padding: 0 22px;
	border: 1.5px solid var(--ink); border-radius: var(--r); background: var(--ink); color: #fff; font-weight: 640; font-size: 15px;
	text-decoration: none; transition: background-color var(--fast) var(--ease), color var(--fast) var(--ease), border-color var(--fast) var(--ease), transform var(--fast) var(--ease);
	white-space: nowrap;
}
.btn:hover { background: var(--ink-2); }
.btn:active { transform: translateY(1px); }
.btn .ico { width: 20px; height: 20px; }
.btn--ink { background: var(--ink); color: #fff; }
.btn--blue { background: var(--blue-ink); border-color: var(--blue-ink); color: #fff; }
.btn--blue:hover { background: var(--blue-deep); border-color: var(--blue-deep); }
.btn--line { background: transparent; color: var(--ink); }
.btn--line:hover { background: var(--ink); color: #fff; }
.btn[disabled] { opacity: .6; cursor: progress; }
.link { display: inline-flex; align-items: center; gap: 8px; color: var(--blue-ink); font-weight: 600; text-decoration: underline; text-decoration-thickness: 1.5px; }
.link .ico { width: 18px; height: 18px; }
.icon-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-width: 44px; min-height: 44px; padding: 0 10px; border: 0; background: transparent; border-radius: var(--r); color: inherit; }
.icon-btn:hover { background: rgba(16, 16, 16, .06); }

/* ---------- loader + page wipe */
.loader { position: fixed; inset: 0; z-index: 300; display: grid; place-items: center; background: var(--paper); transition: opacity .5s var(--ease), visibility .5s; }
.no-loader .loader, .loader.is-done { opacity: 0; visibility: hidden; }
.loader__in { width: min(300px, 64vw); }
.loader__logo { width: 100%; height: auto; }
.loader__bar { margin-top: 22px; height: 3px; background: var(--line); overflow: hidden; }
.loader__bar span { display: block; height: 100%; background: var(--blue); transform-origin: left; transform: scaleX(var(--p, .05)); transition: transform .3s var(--ease); }
.wipe { position: fixed; inset: 0; z-index: 290; pointer-events: none; transform: translateX(calc(-100% - 26vw)); background: var(--last-colour); }
.wipe::before { content: ""; position: absolute; inset: 0 auto 0 100%; width: 22vw; background: inherit; clip-path: ellipse(100% 62% at 0 50%); }
.wipe__stroke { display: none; }
.wipe.is-cover { transform: translateX(0); transition: transform .56s cubic-bezier(.7, 0, .3, 1); }
.wipe.is-leave { transform: translateX(calc(100% + 26vw)); transition: transform .7s cubic-bezier(.7, 0, .3, 1); }
@media (prefers-reduced-motion: reduce) {
	.wipe { transform: none; opacity: 0; transition: opacity .2s; }
	.wipe.is-cover { opacity: 1; }
	.wipe.is-leave { opacity: 0; transform: none; }
}

/* ---------- header */
.site-head { position: sticky; top: 0; z-index: 100; background: rgba(245, 246, 243, .94); backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid transparent; transition: transform var(--mid) var(--ease), border-color var(--fast); }
.site-head.is-scrolled { border-bottom-color: var(--line); }
.site-head.is-hidden { transform: translateY(-100%); }
.site-head__in { display: flex; align-items: center; gap: 28px; height: var(--hdr); }
.brand { display: block; flex: none; }
.brand .logo { height: 40px; width: auto; }
.nav { flex: 1; }
.nav__list { list-style: none; display: flex; gap: 4px; }
.nav__item { position: relative; }
.nav__item > a { display: inline-flex; align-items: center; height: var(--hdr); padding: 0 12px; text-decoration: none; font-weight: 600; font-size: 15px; }
.nav__item > a:hover, .nav__item.is-open > a { color: var(--blue-ink); }
.nav__item--house > a { color: var(--blue-ink); }
.mega { position: absolute; top: 100%; left: -12px; min-width: 300px; background: #fff; border: 1px solid var(--line); box-shadow: 0 20px 40px -24px rgba(16, 16, 16, .35); opacity: 0; visibility: hidden; transform: translateY(6px); transition: opacity var(--fast), transform var(--fast) var(--ease), visibility var(--fast); }
.nav__item.is-open .mega { opacity: 1; visibility: visible; transform: none; }
.mega__in { display: flex; gap: 28px; padding: 22px; }
.mega__links { list-style: none; min-width: 190px; }
.mega__links a { display: flex; justify-content: space-between; gap: 18px; padding: 8px 0; text-decoration: none; font-weight: 560; border-bottom: 1px solid var(--line-2); }
.mega__links a:hover { color: var(--blue-ink); }
.mega__links small { color: var(--mute); font-weight: 400; }
.mega__chips { width: 280px; }
.mega__chips p { margin: 0 0 10px; font-weight: 600; font-size: 13px; color: var(--mute); }
.mega__chips ul { list-style: none; display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; }
.mega__chips a { display: block; aspect-ratio: 1; background: var(--sw); border-radius: var(--r); transition: transform var(--fast) var(--ease); }
.mega__chips a:hover { transform: scale(1.12); }
.head-acts { display: flex; align-items: center; gap: 2px; margin-left: auto; }
.cart-btn { position: relative; }
.count { position: absolute; top: 4px; right: 2px; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 9px; background: var(--blue-ink); color: #fff; font-size: 11px; font-weight: 700; line-height: 18px; text-align: center; }
.count[data-n="0"] { display: none; }
.menu-btn { display: none; }
@media (max-width: 1080px) {
	.nav { display: none; }
	.menu-btn { display: inline-flex; }
}
@media (max-width: 560px) {
	:root { --hdr: 62px; }
	.brand .logo { height: 32px; }
	.hide-s { display: none; }
}

/* ---------- panels */
.scrim { position: fixed; inset: 0; z-index: 140; background: rgba(16, 16, 16, .42); opacity: 0; transition: opacity var(--mid); }
.scrim.is-on { opacity: 1; }
.panel { position: fixed; z-index: 150; background: var(--paper); transition: transform var(--mid) var(--ease), opacity var(--mid); }
.panel__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px var(--gut); border-bottom: 1px solid var(--line); }
.panel__head .logo { height: 30px; width: auto; }
.panel--menu, .panel--cart { top: 0; bottom: 0; right: 0; width: min(440px, 100%); transform: translateX(100%); display: flex; flex-direction: column; overflow: auto; }
.panel--menu.is-open, .panel--cart.is-open { transform: none; }
.panel--search { top: 0; left: 0; right: 0; transform: translateY(-100%); padding: 18px var(--gut) 24px; box-shadow: 0 24px 50px -30px rgba(0, 0, 0, .5); }
.panel--search.is-open { transform: none; }
.mnav { display: flex; flex-direction: column; padding: 10px var(--gut) 24px; }
.mnav > a, .mnav summary { display: flex; justify-content: space-between; align-items: center; min-height: 52px; padding: 6px 0; border-bottom: 1px solid var(--line); text-decoration: none; font-size: 19px; font-weight: 620; cursor: pointer; list-style: none; }
.mnav summary::-webkit-details-marker { display: none; }
.mnav details[open] summary .ico { transform: rotate(180deg); }
.mnav details ul { list-style: none; padding: 6px 0 10px 12px; }
.mnav details a { display: block; padding: 10px 0; text-decoration: none; color: var(--ink-2); }
.mnav__big { color: var(--blue-ink); font-family: var(--serif); font-style: italic; font-weight: 450 !important; font-size: 24px !important; }
.mnav__contact { padding: 0 var(--gut) 30px; }
.mnav__contact a { display: inline-flex; gap: 10px; align-items: center; font-weight: 600; text-decoration: none; }
.search { display: flex; align-items: center; gap: 12px; max-width: var(--wrap); margin: 0 auto; border-bottom: 2px solid var(--ink); }
.search input { flex: 1; min-width: 0; border: 0; background: transparent; font-size: clamp(20px, 2.6vw, 28px); padding: 12px 0; outline: none; }
.search__hits { list-style: none; max-width: var(--wrap); margin: 8px auto 0; max-height: 60vh; overflow: auto; }
.search__hits a { display: grid; grid-template-columns: 52px 1fr auto; gap: 14px; align-items: center; padding: 10px 0; border-bottom: 1px solid var(--line-2); text-decoration: none; }
.search__hits img, .search__hits .ph { width: 52px; height: 52px; object-fit: cover; background: var(--line-2); }
.search__hits small { display: block; color: var(--mute); }
.search__hits em { font-style: normal; font-weight: 600; }
.search__hits .all a, .search__hits .none { display: block; padding: 14px 0; color: var(--blue-ink); font-weight: 600; }

/* ---------- cart drawer */
.drawer { display: flex; flex-direction: column; flex: 1; }
.drawer__body { flex: 1; padding: 8px var(--gut); }
.mc-empty { padding: 40px 0; text-align: center; }
.mc-empty__stroke { color: var(--blue); width: 160px; margin: 0 auto 18px; }
.mc-list { list-style: none; }
.mc-item { display: grid; grid-template-columns: 72px 1fr auto; gap: 14px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.mc-item.is-busy { opacity: .5; }
.mc-item img { width: 72px; height: 72px; object-fit: cover; }
.mc-item h3 { font-size: 15px; letter-spacing: 0; font-weight: 620; }
.mc-item h3 a { text-decoration: none; }
.mc-qty { display: inline-flex; align-items: center; gap: 4px; margin-top: 8px; border: 1px solid var(--line); }
.mc-qty button { width: 34px; height: 34px; border: 0; background: none; display: grid; place-items: center; }
.mc-qty .ico { width: 16px; height: 16px; }
.mc-qty span { min-width: 22px; text-align: center; font-weight: 600; }
.mc-item .rm { border: 0; background: none; padding: 6px 0; color: var(--mute); text-decoration: underline; font-size: 13px; }
.mc-price { font-weight: 640; }
.mc-foot { position: sticky; bottom: 0; background: var(--paper); padding: 16px var(--gut) 24px; border-top: 1px solid var(--line); display: grid; gap: 10px; }
.mc-total { display: flex; justify-content: space-between; font-size: 18px; }
.mc-later { margin: 0; color: var(--mute); font-size: 14px; }

/* ---------- toast */
.toast { position: fixed; z-index: 250; left: 50%; bottom: 24px; transform: translate(-50%, 140%); background: var(--ink); color: #fff; padding: 12px 18px; border-radius: var(--r); font-weight: 560; opacity: 0; transition: transform var(--mid) var(--ease), opacity var(--mid); max-width: calc(100% - 32px); }
.toast.is-on { transform: translate(-50%, 0); opacity: 1; }

/* ---------- reveals (initial state only once JS runs) */
.js .rv { opacity: 0; transform: translateY(18px); transition: opacity .7s var(--ease), transform .7s var(--ease); transition-delay: calc(var(--i, 0) * 60ms); }
.js .rv.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .js .rv { transform: none; transition: opacity .4s; } }

/* =================================================================== THE HOUSE */
.house { position: relative; background: var(--ink); color: #fff; }
.house-stage { position: relative; height: calc(100svh - var(--hdr)); min-height: 600px; max-height: 1100px; overflow: hidden; background: #c9d3db; }
.house--full .house-stage { height: calc(100svh - var(--hdr)); max-height: none; }
.house-stage canvas, .house-poster, .house-poster img { position: absolute; inset: 0; width: 100%; height: 100%; }
.house-poster img { object-fit: cover; object-position: 50% 48%; }
.house-poster { transition: opacity .6s var(--ease); }
.house-poster.is-gone { opacity: 0; pointer-events: none; }
.house-stage canvas { opacity: 0; transition: opacity .5s var(--ease); touch-action: manipulation; }
.house.is-ready .house-stage canvas { opacity: 1; }
.house.no-gl .house-stage canvas { display: none; }
.house.is-moving .house-stage { cursor: progress; }
.house.is-loading .house-stage::after { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 3px; background: var(--blue); transform-origin: left; animation: az-load 1.2s var(--ease) infinite; }
@keyframes az-load { 0% { transform: scaleX(0); } 60% { transform: scaleX(1); opacity: 1; } 100% { transform: scaleX(1); opacity: 0; } }

.house-head { position: absolute; top: clamp(18px, 3.4vh, 40px); left: 0; right: 0; pointer-events: none; color: var(--ink); }
.house-head > * { width: fit-content; background: var(--paper); padding: 16px 22px 0; }
.house-head > :last-child { padding-bottom: 18px; }
.house-head > .house-title + .house-lede { margin-top: 0; padding-top: 10px; }
.house-title { font-size: clamp(34px, 4.6vw, 70px); line-height: 1; letter-spacing: -.035em; font-weight: 760; max-width: 13ch; }
.house-title em { display: block; color: var(--blue-ink); }
.house-lede { margin-top: 12px; max-width: 38ch; font-size: 16px; font-weight: 500; color: var(--ink-2); }

.house-stops { position: absolute; top: clamp(18px, 3.4vh, 40px); right: var(--gut); display: flex; background: rgba(16, 16, 16, .82); border-radius: var(--r); padding: 4px; gap: 2px; backdrop-filter: blur(8px); }
.house-stops button { min-height: 40px; padding: 0 14px; border: 0; border-radius: var(--r); background: transparent; color: #e7e9e6; font-weight: 600; font-size: 14px; }
.house-stops button[aria-current="true"] { background: #fff; color: var(--ink); }

.house-dock { position: absolute; left: var(--gut); right: var(--gut); bottom: clamp(14px, 2.4vh, 28px); display: flex; align-items: center; gap: 10px; padding: 8px; background: rgba(16, 16, 16, .9); border-radius: var(--r); backdrop-filter: blur(10px); max-width: calc(var(--wrap) - 2 * var(--gut)); margin-inline: auto; }
.btn--step { position: relative; overflow: hidden; background: var(--blue-ink); border-color: var(--blue-ink); min-height: 56px; padding: 0 20px; flex: none; }
.btn--step:hover { background: var(--blue-deep); border-color: var(--blue-deep); }
.btn--step .ring { position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: rgba(255, 255, 255, .2); }
.btn--step .ring i { display: block; height: 100%; background: var(--green); transform-origin: left; transform: scaleX(0); transition: transform .2s; }
.house .when-in { display: none; }
.house:not([data-stop="out"]) .when-in { display: inline; }
.house:not([data-stop="out"]) .when-out { display: none; }
.surfaces { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; flex: 1; min-width: 0; padding: 2px; }
.surfaces::-webkit-scrollbar { display: none; }
.surface { display: flex; align-items: center; gap: 10px; min-height: 52px; padding: 6px 14px 6px 6px; border: 1px solid rgba(255, 255, 255, .14); border-radius: var(--r); background: rgba(255, 255, 255, .04); color: #fff; text-align: left; flex: none; transition: background-color var(--fast), border-color var(--fast); }
.surface:hover { background: rgba(255, 255, 255, .1); }
.surface.is-on { border-color: #fff; background: rgba(255, 255, 255, .12); }
.surface span { display: flex; flex-direction: column; line-height: 1.15; }
.surface b { font-size: 12px; font-weight: 600; color: #cfd3d0; letter-spacing: .01em; }
.surface em { font-family: var(--serif); font-style: italic; font-size: 16px; white-space: nowrap; }
.sw { width: 40px; height: 40px; flex: none; border-radius: var(--r); background-color: var(--sw, #ddd); background-size: cover; background-position: center; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .25); }
.sw-img { background-color: #fff; }
.sw-none { background: repeating-linear-gradient(135deg, #3a3d40 0 6px, #2b2e30 6px 12px); }
.house-actions { display: flex; gap: 2px; flex: none; }
.house-actions .icon-btn { color: #fff; }
.house-actions .icon-btn:hover { background: rgba(255, 255, 255, .1); }
.house-actions span { font-size: 13px; font-weight: 600; }
@media (max-width: 1280px) { .house-actions span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); } }

.house-sheet { position: absolute; z-index: 5; right: var(--gut); bottom: calc(clamp(14px, 2.4vh, 28px) + 86px); width: min(460px, calc(100% - 2 * var(--gut))); max-height: min(62%, 560px); display: flex; flex-direction: column; background: var(--paper); color: var(--ink); border-radius: var(--r); box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .6); opacity: 0; transform: translateY(12px); transition: opacity .26s var(--ease), transform .26s var(--ease); }
.house-sheet.is-open { opacity: 1; transform: none; }
.sheet-head { display: flex; align-items: center; justify-content: space-between; padding: 12px 10px 8px 18px; }
.sheet-head h2 { font-size: 20px; }
.sheet-body { position: relative; overflow: auto; padding: 0 18px 18px; overscroll-behavior: contain; }
.tones { display: grid; grid-template-columns: repeat(3, 1fr); border: 1px solid var(--line); border-radius: var(--r); margin-bottom: 12px; }
.tones button { min-height: 40px; border: 0; background: transparent; font-size: 13px; font-weight: 600; }
.tones button[aria-selected="true"] { background: var(--ink); color: #fff; }
.swatches { list-style: none; display: grid; grid-template-columns: repeat(auto-fill, minmax(96px, 1fr)); gap: 8px; }
.chip { display: flex; flex-direction: column; gap: 6px; width: 100%; padding: 0; border: 0; background: none; text-align: left; }
.chip .sw, .chip img { width: 100%; height: auto; aspect-ratio: 1; border-radius: var(--r); box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .08); object-fit: cover; background-color: #fff; }
.chip span { font-family: var(--serif); font-style: italic; font-size: 14px; line-height: 1.2; }
.chip small { display: block; font-family: var(--sans); font-style: normal; color: var(--mute); font-size: 12px; }
.chip.is-on .sw, .chip.is-on img { outline: 3px solid var(--blue); outline-offset: 2px; }
.is-products { grid-template-columns: repeat(auto-fill, minmax(112px, 1fr)); }

.house-look { position: absolute; z-index: 4; right: var(--gut); top: calc(clamp(18px, 3.4vh, 40px) + 60px); width: 300px; max-height: calc(100% - 200px); overflow: auto; background: rgba(245, 246, 243, .95); color: var(--ink); border-radius: var(--r); padding: 16px; display: none; }
.house-look h2 { font-size: 16px; margin-bottom: 8px; }
.house-look ul { list-style: none; margin-bottom: 12px; }
.house-look li { display: grid; grid-template-columns: 34px 1fr auto; gap: 10px; align-items: center; padding: 7px 0; border-bottom: 1px solid var(--line); font-size: 14px; }
.house-look .sw { width: 34px; height: 34px; }
.house-look a { text-decoration: none; font-weight: 600; }
.house-look small { display: block; color: var(--mute); font-size: 12px; }
.house-look b { font-weight: 600; font-size: 13px; }
.house-look .btn { width: 100%; min-height: 44px; margin-bottom: 8px; }
.house.look-open .house-look { display: block; }
.house-tip { position: absolute; left: 50%; top: 18%; transform: translate(-50%, 6px); margin: 0; padding: 8px 12px; background: rgba(16, 16, 16, .85); color: #fff; font-size: 13px; font-weight: 600; border-radius: var(--r); opacity: 0; pointer-events: none; transition: opacity var(--fast), transform var(--fast); }
.house-tip.is-on { opacity: 1; transform: translate(-50%, 0); }
.house-toast { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -40%); margin: 0; padding: 12px 16px; background: var(--ink); color: #fff; border-radius: var(--r); font-weight: 600; opacity: 0; pointer-events: none; transition: opacity var(--mid), transform var(--mid); }
.house-toast.is-on { opacity: 1; transform: translate(-50%, -50%); }

@media (max-width: 760px) {
	.house { display: flex; flex-direction: column; }
	.house-head { position: relative; order: 0; padding: 18px var(--gut) 14px; background: var(--paper); }
	.house-head > * { width: auto; padding: 0; background: none; }
	.house-head > .house-title + .house-lede { padding-top: 0; margin-top: 8px; }
	.house-title { font-size: clamp(32px, 9vw, 44px); max-width: none; }
	.house-lede { font-size: 15px; margin-top: 8px; }
	.house-stops { position: relative; order: 1; top: auto; right: auto; display: grid; grid-template-columns: repeat(3, 1fr); margin: 0; border-radius: 0; padding: 4px; }
	.house-stops button { padding: 0 6px; }
	.house-stage { order: 2; height: auto; min-height: 0; aspect-ratio: 4 / 4.4; max-height: 68svh; }
	.house--full .house-stage { height: auto; }
	.house-dock { position: relative; order: 3; left: auto; right: auto; bottom: auto; margin: 0; flex-wrap: wrap; border-radius: 0; background: var(--ink); padding: 10px var(--gut) 12px; }
	.btn--step { flex: 1; }
	.house-actions { margin-left: auto; }
	.surfaces { order: 3; flex-basis: 100%; }
	.house-sheet { position: fixed; left: 0; right: 0; bottom: 0; width: 100%; max-height: 72svh; border-radius: 10px 10px 0 0; z-index: 160; }
	.house-look { position: relative; order: 4; display: block; top: auto; right: auto; width: auto; max-height: none; border-radius: 0; padding: 18px var(--gut); background: var(--paper); }
	.house-tip { display: none; }
}

/* =================================================================== HOME */
.facts { background: var(--blue); color: #fff; }
.facts__in { display: grid; grid-template-columns: auto 1fr; gap: 12px 40px; align-items: end; padding-block: clamp(40px, 6vw, 80px); }
.facts__big { margin: 0; display: flex; font-size: clamp(88px, 13vw, 190px); font-weight: 780; line-height: .8; letter-spacing: -.06em; }
.facts__big span:last-child { color: var(--green); }
.facts__lead { margin: 0; font-size: clamp(22px, 2.6vw, 36px); line-height: 1.15; font-weight: 640; letter-spacing: -.02em; max-width: 24ch; }
.facts__lead em { color: #fff; display: block; }
.facts__list { grid-column: 1 / -1; list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; margin-top: 26px; padding-top: 22px; border-top: 1px solid rgba(255, 255, 255, .35); }
.facts__list b { display: block; font-size: 18px; margin-bottom: 4px; }
.facts__list span { color: #fff; }
@media (max-width: 760px) {
	.facts__in { grid-template-columns: 1fr; }
	.facts__list { grid-template-columns: 1fr; gap: 14px; }
}

.cwall { padding-block: clamp(56px, 8vw, 110px) clamp(40px, 6vw, 80px); }
.cwall__head { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 16px 40px; align-items: end; margin-bottom: 30px; }
.cwall__head .h2 { grid-row: span 2; }
.cwall__head p { margin: 0; color: var(--ink-2); max-width: 40ch; }
.seg { display: inline-grid; grid-auto-flow: column; grid-auto-columns: 1fr; border: 1.5px solid var(--ink); border-radius: var(--r); justify-self: start; }
.seg button { min-height: 42px; padding: 0 16px; border: 0; background: transparent; font-weight: 600; font-size: 14px; }
.seg button[aria-selected="true"] { background: var(--ink); color: #fff; }
.cwall__grid { list-style: none; display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 3px; padding-inline: 3px; }
.tile { position: relative; background: var(--paper); overflow: hidden; }
.tile img { width: 100%; aspect-ratio: 1; object-fit: cover; background: var(--sw); transition: transform .6s var(--ease); }
.tile:hover img { transform: scale(1.06); }
.tile__cap { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; padding: 8px 10px; background: var(--paper); }
.tile__name { font-family: var(--serif); font-style: italic; font-size: 16px; text-decoration: none; line-height: 1.2; }
.tile__name:hover { color: var(--blue-ink); }
.tile__price { font-size: 12px; color: var(--mute); white-space: nowrap; }
.tile__acts { position: absolute; left: 0; right: 0; top: 0; aspect-ratio: 1; display: flex; flex-direction: column; justify-content: flex-end; gap: 4px; padding: 8px; opacity: 0; transition: opacity var(--fast); background: linear-gradient(transparent 40%, rgba(16, 16, 16, .55)); }
.tile:hover .tile__acts, .tile:focus-within .tile__acts { opacity: 1; }
.tile__acts button { min-height: 34px; border: 0; border-radius: var(--r); background: rgba(255, 255, 255, .94); color: var(--ink); font-size: 13px; font-weight: 620; }
.tile__acts button:hover { background: #fff; color: var(--blue-ink); }
@media (hover: none) {
	.tile__acts { position: static; aspect-ratio: auto; opacity: 1; flex-direction: row; background: var(--paper); padding: 0 10px 10px; }
	.tile__acts button { flex: 1; min-height: 44px; background: #fff; border: 1px solid var(--line); font-size: 12px; padding: 0 2px; }
}
.cwall__more { display: flex; flex-wrap: wrap; align-items: center; gap: 22px; margin-top: 28px; }
@media (max-width: 760px) {
	.cwall__head { grid-template-columns: 1fr; }
	.cwall__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

.surfaces-sec { padding-block: clamp(50px, 7vw, 100px); }
.surfaces-sec .h2 { max-width: 18ch; margin-bottom: 30px; }
.surf { display: grid; grid-template-columns: 1.3fr 1fr 1fr; grid-template-rows: 300px 300px; gap: 3px; }
.surf__card { position: relative; overflow: hidden; display: block; background: var(--ink); color: #fff; text-decoration: none; }
.surf--wall { grid-row: span 2; }
.surf--tools { grid-column: span 2; background: #fff; color: var(--ink); }
.surf__card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.surf--tools img { object-fit: contain; padding: 30px; left: auto; width: 50%; }
.surf__card:hover img { transform: scale(1.04); }
.surf__txt { position: absolute; left: 0; right: 0; bottom: 0; padding: 22px; background: linear-gradient(transparent, rgba(16, 16, 16, .78)); }
.surf--tools .surf__txt { background: none; top: 0; right: 50%; display: flex; flex-direction: column; justify-content: flex-end; }
.surf__txt b { display: block; font-size: clamp(24px, 2.4vw, 34px); letter-spacing: -.02em; }
.surf__txt span { display: block; max-width: 36ch; font-size: 15px; color: #e9ece8; }
.surf--tools .surf__txt span { color: var(--ink-2); }
@media (max-width: 900px) {
	.surf { grid-template-columns: 1fr 1fr; grid-template-rows: 260px 220px 220px; }
	.surf--wall { grid-row: auto; grid-column: span 2; }
	.surf--tools { grid-column: span 2; }
}
@media (max-width: 560px) {
	.surf { grid-template-columns: 1fr; grid-template-rows: none; grid-auto-rows: 230px; }
	.surf--wall, .surf--tools { grid-column: auto; }
	.surf--tools img { width: 45%; }
}

.trowel-sec { padding-block: clamp(50px, 7vw, 100px); background: #fff; }
.trowel-sec__in { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); gap: clamp(28px, 5vw, 70px); align-items: center; }
.steps { list-style: none; counter-reset: s; margin: 24px 0 18px; }
.steps li { counter-increment: s; display: grid; grid-template-columns: 44px 1fr; gap: 2px 12px; padding: 14px 0; border-top: 1px solid var(--line); color: var(--ink-2); }
.steps li::before { content: counter(s); grid-row: span 2; font-family: var(--serif); font-style: italic; font-size: 30px; line-height: 1; color: var(--blue); }
.steps b { color: var(--ink); }
.note { font-size: 14px; color: var(--mute); }
.trowel { position: relative; aspect-ratio: 4 / 3; background: #b9b6ae; border-radius: var(--r); overflow: hidden; touch-action: none; }
.trowel canvas { width: 100%; height: 100%; cursor: crosshair; }
.trowel__ui { position: absolute; left: 12px; right: 12px; bottom: 12px; display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.trowel__chips { display: flex; gap: 6px; padding: 6px; background: rgba(16, 16, 16, .78); border-radius: var(--r); }
.trowel__chips button { width: 32px; height: 32px; border-radius: var(--r); border: 2px solid transparent; background: var(--sw); }
.trowel__chips button[aria-pressed="true"] { border-color: #fff; }
.trowel__ui .icon-btn { background: rgba(16, 16, 16, .78); color: #fff; }
.trowel__ui .icon-btn span { font-size: 13px; font-weight: 600; }
.trowel__hint { position: absolute; top: 14px; left: 14px; display: flex; gap: 8px; align-items: center; margin: 0; padding: 8px 12px; background: rgba(255, 255, 255, .9); border-radius: var(--r); font-weight: 600; font-size: 14px; transition: opacity var(--mid); pointer-events: none; }
.trowel.is-used .trowel__hint { opacity: 0; }
@media (max-width: 900px) { .trowel-sec__in { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .trowel__ui .icon-btn span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); } .trowel__chips button { width: 28px; height: 28px; } }

.tools-sec { background: var(--green); color: var(--ink); padding-block: clamp(40px, 5vw, 70px); }
.tools-sec__in { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 3px; }
.tool-card { display: flex; flex-direction: column; gap: 10px; padding: 26px; background: rgba(255, 255, 255, .0); border-top: 2px solid var(--ink); text-decoration: none; transition: background-color var(--fast); }
.tool-card:hover { background: rgba(255, 255, 255, .22); }
.tool-card .ico { width: 34px; height: 34px; stroke-width: 1.4; }
.tool-card b { font-size: 24px; letter-spacing: -.02em; }
.tool-card span { color: #13230a; }
@media (max-width: 860px) { .tools-sec__in { grid-template-columns: 1fr; } }

.glam { padding-block: clamp(50px, 7vw, 100px); }
.glam__head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 18px; margin-bottom: 26px; }
.glam__head .h2 { max-width: 20ch; }
.rail { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(220px, 260px); gap: 18px; overflow-x: auto; padding: 0 var(--gut) 12px; max-width: var(--wrap); margin: 0 auto; scroll-snap-type: x proximity; scrollbar-width: thin; }
.rail > * { scroll-snap-align: start; }

.visit { padding-block: clamp(50px, 7vw, 100px); border-top: 1px solid var(--line); }
.visit__in { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 30px; align-items: start; }
.visit__cols { display: grid; gap: 14px; font-style: normal; }
.visit__cols a { display: flex; gap: 14px; align-items: flex-start; text-decoration: none; font-size: 18px; font-weight: 560; }
.visit__cols a:hover span { color: var(--blue-ink); }
.visit__cols p, .visit__cols address { margin: 0; font-style: normal; }
@media (max-width: 760px) { .visit__in { grid-template-columns: 1fr; } }

/* =================================================================== PAGES */
.phead { padding-block: clamp(36px, 6vw, 80px) clamp(18px, 3vw, 34px); }
.phead .lead { margin-top: 14px; }
.sec { padding-block: clamp(50px, 7vw, 100px); }
.sec--tight { padding-block: clamp(20px, 3vw, 40px) clamp(50px, 7vw, 90px); }
.crumbs { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 14px; font-size: 14px; color: var(--mute); }
.crumbs a { text-decoration: none; }
.crumbs a + a::before { content: "/"; margin-right: 6px; color: var(--line); }
.crumbs a:hover { color: var(--ink); }

.nf { text-align: left; }
.nf__stroke { color: var(--blue); width: min(420px, 80%); margin-bottom: 24px; }
.nf__acts { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }

.about__in { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: 40px; align-items: start; }
.about__fig { margin: 0; }
.about__fig img { width: 100%; border-radius: var(--r); }
.why { margin-top: clamp(40px, 6vw, 80px); }
.why__list { list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 30px; margin-top: 26px; }
.why__list li { border-top: 2px solid var(--ink); padding-top: 18px; }
.why__list b { display: block; font-size: 22px; margin-bottom: 8px; }
.why__list p { color: var(--ink-2); }
@media (max-width: 860px) { .about__in, .why__list { grid-template-columns: 1fr; } }

.contact { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(28px, 5vw, 70px); }
.contact address { font-style: normal; margin-bottom: 20px; }
.contact address a, .contact__details p a { font-size: 18px; font-weight: 560; text-decoration: none; }
.contact h2 { margin-bottom: 8px; }
.hours { list-style: none; margin-bottom: 16px; }
@media (max-width: 860px) { .contact { grid-template-columns: 1fr; } }

.form__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 18px; }
.field { margin: 0; display: flex; flex-direction: column; gap: 6px; }
.field--wide { grid-column: 1 / -1; }
.field label { font-weight: 600; font-size: 14px; }
.opt { color: var(--mute); font-weight: 400; }
.field input, .field select, .field textarea, .planner__colour select { width: 100%; min-height: 48px; padding: 10px 12px; border: 1.5px solid var(--line); border-radius: var(--r); background: #fff; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--ink); outline: none; }
.form__foot { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; margin-top: 18px; }
.form__note { font-weight: 600; }
.form__note.is-ok { color: var(--green-deep); }
.form__legal { margin-top: 10px; font-size: 13px; color: var(--mute); }
@media (max-width: 560px) { .form__grid { grid-template-columns: 1fr; } }

/* planner */
.planner { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 56px); align-items: start; }
.planner__colour { display: grid; gap: 6px; margin-bottom: 18px; max-width: 420px; }
.planner__colour label { font-weight: 600; }
.walls { list-style: none; display: grid; gap: 10px; }
.wallrow { display: grid; grid-template-columns: 70px repeat(4, minmax(0, 1fr)) auto auto; gap: 10px; align-items: end; padding: 14px; background: #fff; border: 1px solid var(--line); border-radius: var(--r); }
.wallrow b { align-self: center; }
.wallrow label { display: grid; gap: 4px; font-size: 12px; font-weight: 600; color: var(--mute); }
.wallrow label span { display: flex; align-items: center; gap: 4px; color: var(--ink); font-size: 14px; }
.wallrow input { width: 100%; min-width: 0; min-height: 44px; padding: 6px 8px; border: 1.5px solid var(--line); border-radius: var(--r); }
.wallrow__quick { display: flex; flex-direction: column; gap: 4px; }
.wallrow__quick button { min-height: 32px; border: 1px solid var(--line); background: var(--paper); border-radius: var(--r); font-size: 12px; font-weight: 600; white-space: nowrap; }
.wallrow__area { font-weight: 700; white-space: nowrap; align-self: center; }
.planner__add { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 14px; }
.planner__extras { margin-top: 24px; border: 0; padding: 0; min-inline-size: 0; display: grid; gap: 10px; }
.planner__extras legend { font-weight: 700; margin-bottom: 8px; }
.planner__extras label { display: flex; gap: 10px; align-items: center; min-height: 36px; }
.planner__extras input { width: 20px; height: 20px; accent-color: var(--blue-ink); }
.planner__sum { position: sticky; top: calc(var(--hdr) + 16px); background: var(--ink); color: #fff; padding: 24px; border-radius: var(--r); display: grid; gap: 12px; }
.planner__area { margin: 0; font-size: 54px; font-weight: 780; letter-spacing: -.04em; line-height: 1; }
.planner__area small { font-size: 16px; font-weight: 500; letter-spacing: 0; color: #c9cdca; }
.planner__list { list-style: none; }
.planner__list li { display: flex; justify-content: space-between; gap: 12px; padding: 9px 0; border-bottom: 1px solid rgba(255, 255, 255, .14); }
.planner__list small { display: block; color: #bfc4c1; font-size: 12px; }
.planner__list .tot { border-bottom: 0; font-size: 18px; font-weight: 700; }
.planner__sum .muted { color: #c9cdca; }
.planner__sum .btn--ink { background: var(--blue-ink); border-color: var(--blue-ink); }
.planner__sum .btn--line { color: #fff; border-color: #fff; }
.planner__send summary { cursor: pointer; font-weight: 600; text-decoration: underline; padding: 8px 0; }
.planner__send .form { background: var(--paper); color: var(--ink); padding: 16px; border-radius: var(--r); margin-top: 8px; }
.planner__send .form__grid { grid-template-columns: 1fr; }
@media (max-width: 1000px) {
	.planner { grid-template-columns: 1fr; }
	.planner__sum { position: static; }
	.wallrow { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.wallrow b { grid-column: 1 / -1; }
	.wallrow__quick { flex-direction: row; grid-column: 1 / -1; }
	.wallrow__quick button { flex: 1; min-height: 44px; }
}

/* colour match */
.cmatch { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 50px); align-items: start; }
.cmatch__stage { position: relative; }
.cmatch__drop { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; min-height: 360px; padding: 30px; border: 2px solid var(--ink); border-radius: var(--r); background: #fff; text-align: center; cursor: pointer; }
.cmatch__drop.is-over { background: #e9f3fb; }
.cmatch__drop.is-small { min-height: 0; flex-direction: row; padding: 12px 16px; margin-bottom: 12px; justify-content: flex-start; }
.cmatch__drop.is-small span { display: none; }
.cmatch__drop input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.cmatch__drop:focus-within { outline: 2px solid var(--blue); outline-offset: 2px; }
.cmatch__drop .ico { width: 38px; height: 38px; }
.cmatch__drop.is-small .ico { width: 24px; height: 24px; }
.cmatch canvas { width: 100%; height: auto; border-radius: var(--r); cursor: crosshair; }
.cmatch__loupe { position: absolute; width: 34px; height: 34px; margin: -17px 0 0 -17px; border: 3px solid #fff; border-radius: 50%; box-shadow: 0 0 0 1px var(--ink); pointer-events: none; }
.cmatch__stage { overflow: hidden; }
.cmatch__picked { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; font-weight: 600; }
.cmatch__picked i { width: 54px; height: 54px; border-radius: var(--r); box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .1); }
.cmatch__list { list-style: none; display: grid; gap: 10px; }
.cm-hit { display: grid; grid-template-columns: 84px 1fr; gap: 14px; align-items: center; background: #fff; border: 1px solid var(--line); padding: 8px; border-radius: var(--r); }
.cm-hit img { width: 84px; height: 84px; object-fit: cover; }
.cm-hit b { font-family: var(--serif); font-style: italic; font-weight: 450; font-size: 20px; }
.cm-hit a { text-decoration: none; }
.cm-hit small { display: block; color: var(--mute); margin: 2px 0 6px; }
@media (max-width: 860px) { .cmatch { grid-template-columns: 1fr; } .cmatch__drop { min-height: 240px; } }

.house-notes__in { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; padding-top: 18px; color: var(--mute); font-size: 14px; }

/* =================================================================== FOOTER */
.site-foot { position: relative; background: var(--ink); color: #e8eae7; margin-top: 0; padding-top: clamp(60px, 8vw, 110px); }
.site-foot__stroke { position: absolute; top: -1px; left: 0; width: 100%; height: clamp(26px, 4vw, 60px); color: var(--blue); }
.site-foot__grid { display: grid; grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr)); gap: 36px; }
.site-foot__brand .logo { width: 220px; height: auto; margin-bottom: 18px; }
.site-foot__brand p { color: #c8ccc9; max-width: 38ch; }
.site-foot h2 { font-size: 14px; letter-spacing: .02em; color: #fff; margin-bottom: 14px; font-weight: 700; }
.site-foot ul { list-style: none; }
.site-foot li { margin-bottom: 8px; }
.site-foot a { color: #e8eae7; text-decoration: none; }
.site-foot a:hover { color: #fff; text-decoration: underline; }
.site-foot address { font-style: normal; margin-bottom: 12px; }
.socials { display: flex; gap: 6px; }
.socials a { display: grid; place-items: center; width: 44px; height: 44px; border: 1px solid #3a3d40; border-radius: var(--r); }
.socials a:hover { border-color: #fff; text-decoration: none; }
.site-foot__base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; margin-top: 50px; padding-block: 20px 26px; border-top: 1px solid #2c2f31; font-size: 14px; color: #b8bcb9; }
.site-foot__base p { margin: 0; }
.site-foot__base a { text-decoration: underline; }
@media (max-width: 900px) { .site-foot__grid { grid-template-columns: 1fr 1fr; } .site-foot__brand { grid-column: 1 / -1; } }
@media (max-width: 520px) { .site-foot__grid { grid-template-columns: 1fr; } }

.wa-float { position: fixed; right: 16px; bottom: 16px; z-index: 90; display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; background: var(--ink); color: #fff; box-shadow: 0 10px 24px -10px rgba(0, 0, 0, .5); }
.wa-float .ico { width: 28px; height: 28px; }
.has-house .wa-float { bottom: 96px; }
@media (max-width: 760px) { .has-house .wa-float { bottom: 16px; } }

.look-btn b { min-width: 20px; height: 20px; padding: 0 5px; border-radius: 10px; background: var(--green); color: var(--ink); font-size: 12px; line-height: 20px; }
@media (max-width: 760px) { .look-btn { display: none; } }
.house-head { transition: opacity var(--mid) var(--ease); }
.house:not([data-stop="out"]) .house-head { opacity: 0; }
@media (max-width: 760px) { .house:not([data-stop="out"]) .house-head { opacity: 1; } }
