/* DMT 2026 redesign (job 64). Ported from jobs/job-64/prototype/css/site.css; review-only parts removed. */
/* WordPress block wrappers: zero their spacing first (low specificity), the rules below set the real spacing */
.dmt-r .r-main, .dmt-r .wp-block-post-content, .dmt-r .wp-site-blocks { margin: 0; padding: 0; }
:where(.dmt-r) :where(.wp-site-blocks, .r-main, .wp-block-post-content, .wp-block-group, .wp-block-details) > * { margin-block: 0; }
:root {
	--bg: #111111;
	--card: #1a1a1a;
	--line: #2c2a26;
	--gold: #c9a84c;
	--gold-lt: #e8d5a3;
	--gold-dk: #7a5a10;
	--cream: #f5f1ea;
	--paper: #f5f1ea;
	--paper-2: #ede8df;
	--ink: #1a1a1a;
	--muted: #a6a395;
	--muted-dk: #5d5a52;
	--serif: "DM Serif Display", Georgia, serif;
	--sans: Manrope, system-ui, -apple-system, "Segoe UI", sans-serif;
	--mono: "IBM Plex Mono", ui-monospace, Menlo, monospace;
	--wrap: 1200px;
	--gut: 20px;
	--r: 10px;
	--ease: cubic-bezier(.2, .8, .2, 1);
	/* spacing rhythm: every section, head, stack and card uses these */
	--sec-y: 88px;      /* section top/bottom padding */
	--head-gap: 36px;   /* section head -> content */
	--text-gap: 16px;   /* heading -> text, paragraph -> paragraph */
	--stack: 28px;      /* content -> buttons / "see more" / form */
	--card-pad: 24px;
	--card-gap: 16px;
	--btn-h: 48px;      /* every page button */
	--ctl-h: 44px;      /* header controls (menu, phone, header button) */
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--cream); font: 400 16px/1.55 var(--sans); overflow-x: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--serif); font-weight: 400; line-height: 1.08; margin: 0; letter-spacing: -.005em; text-wrap: balance; }
p { margin: 0; }
button, input, select { font: inherit; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gut); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 8px; z-index: 99; background: var(--gold); color: #111; padding: 8px 12px; border-radius: 6px; }
.skip:focus { left: 8px; }
:focus-visible { outline: 2px solid var(--gold-lt); outline-offset: 2px; }

.eyebrow { font: 600 12px/1.3 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--gold); }
.eyebrow--dark { color: var(--gold-dk); }

/* ---------- buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: var(--btn-h); padding: 0 22px; line-height: 1.2; text-align: center; border-radius: 8px; border: 0; font-weight: 800; font-size: 16px; text-decoration: none; cursor: pointer; transition: background .2s, color .2s, transform .2s var(--ease); }
.btn--gold { background: var(--gold); color: #111; }
.btn--gold:hover { background: var(--gold-lt); }
.btn--line { background: transparent; color: var(--cream); box-shadow: inset 0 0 0 1.5px rgba(232, 213, 163, .5); }
.btn--line:hover { box-shadow: inset 0 0 0 1.5px var(--gold-lt); }
.btn--block { width: 100%; }
.link { color: var(--gold-dk); font-weight: 700; text-underline-offset: 3px; }

/* ---------- header */
.hdr { position: sticky; top: 0; z-index: 30; background: rgba(17, 17, 17, .94); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.hdr__in { display: flex; align-items: center; gap: 18px; height: 60px; }
.mark { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; }
.mark__name { font: 400 28px/1 var(--serif); color: var(--gold); letter-spacing: .02em; }
.mark__sub { font: 600 10.5px/1.2 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); padding-left: 10px; border-left: 1px solid rgba(201, 168, 76, .5); }
.mark__sub { white-space: nowrap; }
/* task 925: at the very top of the page the logo is larger (scale, so the header height and the hero below never move);
   once the visitor scrolls (site.js adds .is-scrolled to .hdr) it eases back to today's size. */
.hdr .mark { transform-origin: left center; transform: scale(var(--mark-top, 1.5)); transition: transform .3s var(--ease); }
.hdr.is-scrolled .mark { transform: none; }
.nav { display: flex; align-items: center; gap: 26px; margin-left: auto; }
.nav a, .nav__btn { text-decoration: none; font-weight: 600; font-size: 15px; color: var(--paper-2); white-space: nowrap; }
.nav a:hover, .nav__btn:hover, .nav a[aria-current="page"], .nav__grp.is-here > .nav__btn { color: var(--gold-lt); }
.nav__grp { position: relative; }
.nav__btn { display: inline-flex; align-items: center; gap: 6px; min-height: var(--ctl-h); padding: 0; background: none; border: 0; font-family: inherit; cursor: pointer; }
.nav__btn svg { width: 11px; height: 8px; transition: transform .2s var(--ease); }
.nav__btn[aria-expanded="true"] svg { transform: rotate(180deg); }
.nav__sub { display: none; position: absolute; top: 100%; left: -16px; min-width: 230px; padding: 8px; background: #161513; border: 1px solid var(--line); border-radius: 10px; box-shadow: 0 18px 40px rgba(0, 0, 0, .45); }
.nav__sub a { display: block; padding: 10px 12px; border-radius: 6px; }
.nav__sub a:hover, .nav__sub a:focus-visible { background: #22201c; }
.nav__btn[aria-expanded="true"] + .nav__sub { display: block; }
@media (hover: hover) and (min-width: 1024px) {
	.nav__grp:hover > .nav__sub { display: block; }
}
.hdr__tel { display: inline-flex; align-items: center; gap: 8px; font-weight: 800; text-decoration: none; color: var(--cream); white-space: nowrap; }
.hdr__tel svg { width: 18px; height: 18px; fill: var(--gold); }
.hdr__cta { min-height: var(--ctl-h); padding: 0 18px; font-size: 15px; white-space: nowrap; }
.hdr__menu { display: none; }
.nav-scrim { display: none; }
/* tablet / phone header: the hamburger opens a dark panel (slide + fade, links stagger in, Services is an accordion).
   Closed = visibility:hidden, so it is out of the Tab order and the accessibility tree. transform/opacity only. */
@media (max-width: 1023px) {
	.hdr__cta { display: none; }
	.hdr__tel { margin-left: auto; }
	.hdr__menu { display: grid; gap: 4px; width: var(--ctl-h); height: var(--ctl-h); place-content: center; background: none; border: 1px solid #3a362f; border-radius: 8px; cursor: pointer; transition: border-color .25s var(--ease); }
	.hdr__menu i { display: block; width: 18px; height: 2px; background: var(--cream); border-radius: 1px; transition: transform .28s var(--ease), opacity .2s var(--ease), background-color .25s var(--ease); }
	.hdr__menu[aria-expanded="true"] { border-color: rgba(201, 168, 76, .6); }
	.hdr__menu[aria-expanded="true"] i { background: var(--gold); }
	.hdr__menu[aria-expanded="true"] i:nth-of-type(1) { transform: translateY(6px) rotate(45deg); }
	.hdr__menu[aria-expanded="true"] i:nth-of-type(2) { opacity: 0; transform: scaleX(.2); }
	.hdr__menu[aria-expanded="true"] i:nth-of-type(3) { transform: translateY(-6px) rotate(-45deg); }

	.nav { display: grid; align-content: start; position: absolute; left: 0; right: 0; top: 60px; margin: 0; gap: 0; background: #111; border-bottom: 1px solid var(--line); padding: 8px var(--gut) 16px; max-height: calc(100vh - 60px); max-height: calc(100dvh - 60px); overflow-y: auto; overscroll-behavior: contain;
		visibility: hidden; opacity: 0; transform: translateY(-14px); pointer-events: none; transition: transform .3s var(--ease), opacity .3s var(--ease), visibility 0s linear .3s; }
	.nav.is-open { visibility: visible; opacity: 1; transform: none; pointer-events: auto; transition-delay: 0s; }
	.nav > a, .nav__grp { opacity: 0; transform: translateY(8px); transition: opacity .18s ease, transform .18s ease; }
	.nav.is-open > a, .nav.is-open > .nav__grp { opacity: 1; transform: none; transition: opacity .3s var(--ease) calc(60ms + var(--i, 0) * 35ms), transform .3s var(--ease) calc(60ms + var(--i, 0) * 35ms); }
	.nav a, .nav__btn { font-size: 17px; }
	.nav > a, .nav__btn { display: flex; align-items: center; justify-content: space-between; width: 100%; padding: 12px 0; min-height: 48px; border-bottom: 1px solid var(--line); }
	.nav__btn { box-sizing: border-box; color: var(--paper-2); }
	.nav__btn svg { width: 13px; height: 9px; color: var(--gold); transition: transform .3s var(--ease); }
	.nav__sub { display: grid; grid-template-rows: 0fr; position: static; min-width: 0; padding: 0; background: none; border: 0; border-radius: 0; box-shadow: none; visibility: hidden; opacity: 0; transition: grid-template-rows .3s var(--ease), opacity .25s var(--ease), visibility 0s linear .3s; }
	.nav__btn[aria-expanded="true"] + .nav__sub { display: grid; grid-template-rows: 1fr; visibility: visible; opacity: 1; transition-delay: 0s; }
	.nav__subin { min-height: 0; overflow: hidden; }
	.nav__sub a { padding: 11px 0 11px 16px; border-bottom: 1px solid var(--line); border-radius: 0; font-size: 16px; color: var(--muted); }
	.nav__sub a:hover, .nav__sub a:focus-visible { background: none; color: var(--gold-lt); }
	.nav__grp:hover > .nav__sub { display: grid; }

	.nav-scrim { display: block; position: fixed; inset: 0; z-index: 29; background: rgba(0, 0, 0, .6); opacity: 0; visibility: hidden; transition: opacity .3s var(--ease), visibility 0s linear .3s; }
	html.menu-lock .nav-scrim { opacity: 1; visibility: visible; transition-delay: 0s; }
	/* body is overflow-x:hidden; once <html> is overflow:hidden that would make <body> the scroller and the sticky header would slide away, so body goes back to visible while locked */
	html.menu-lock { overflow: hidden; padding-right: var(--sbw, 0px); }
	html.menu-lock body { overflow: visible; }
	html.menu-lock .dock { transform: translateY(110%); }
}
@media (prefers-reduced-motion: reduce) {
	.hdr .mark { transition: none; }
	.nav, .nav > a, .nav__grp, .nav__sub, .nav-scrim, .hdr__menu i { transition: none !important; }
	.nav, .nav > a, .nav__grp { transform: none !important; }
}

/* ---------- hero */
.hero { position: relative; padding: 56px 0 0; background:
	radial-gradient(900px 500px at 78% 30%, rgba(201, 168, 76, .10), transparent 70%), var(--bg); }
.hero__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.12fr); gap: 48px; align-items: center; }
.hero h1 { font-size: clamp(32px, 4.3vw, 56px); margin: 14px 0 var(--text-gap); color: #fff; max-width: 18ch; }
.hero__lede { font-size: 18px; color: var(--paper-2); max-width: 34em; }

.lead { margin-top: var(--stack); background: var(--card); border: 1px solid #34302a; border-radius: 14px; padding: 20px; display: grid; gap: 12px; max-width: 520px; box-shadow: 0 20px 50px rgba(0, 0, 0, .35); }
.lead__title { font: 400 22px/1.1 var(--serif); color: #fff; }
.lead__note { font-size: 14px; color: var(--muted); text-align: center; }
.lead__call { display: flex; align-items: center; justify-content: center; gap: 12px; }
.lead__call .btn { flex: 1 1 auto; max-width: 320px; }
.lead__call svg { width: 18px; height: 18px; fill: currentColor; }
.lead__rate { text-align: center; font-size: 14px; font-weight: 700; }
.lead__rate a { color: var(--paper-2); text-decoration: underline; text-decoration-color: rgba(232, 213, 163, .35); text-underline-offset: 3px; display: inline-block; padding: 4px 0; }
.lead__rate a:hover { color: var(--gold-lt); }
.lead__quotes { list-style: none; margin: 0; padding: 12px 0 0; border-top: 1px solid #34302a; display: grid; gap: 12px; font-size: 14px; color: var(--paper-2); }
.lead__quotes blockquote { margin: 0; }
.lead__quotes cite { display: block; margin-top: 4px; font: 600 12px/1.3 var(--mono); font-style: normal; color: var(--muted); }
.lead__note a { color: var(--gold-lt); font-weight: 700; }

.trust { list-style: none; margin: var(--sec-y) auto 0; padding-top: var(--card-pad); padding-bottom: var(--card-pad); display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--card-gap) var(--stack); border-top: 1px solid var(--line); }
.trust li { display: grid; align-content: start; gap: 4px; padding-left: 14px; border-left: 2px solid var(--gold); }
.trust b { font-weight: 800; font-size: 15px; color: #fff; text-wrap: balance; }
.trust span { font-size: 14px; color: var(--muted); }
.trust a { color: var(--gold-lt); }
.stars { color: var(--gold); letter-spacing: 1px; }

/* ---------- illustration frame + HUD */
.dmt-scene { position: relative; margin: 0; }
.dmt-scene__svg { width: 100%; height: auto; display: block; overflow: visible;
	transition: opacity .45s ease; }
/* hero 3D (task 843): no card, no frame. The canvas fills the right of the hero to the screen edge
   and fades into the page behind the text; under 1024px it sits between the subline and the form.
   No poster image (the H1 stays the LCP element): the canvas fades in once the room is built.
   --frame = where the model sits inside the canvas (x0 y0 x1 y1, 0..1), read by hero-3d.js */
html:not(.js) .dmt-scene--hero:not(.dmt-scene--seq), .no3d .dmt-scene--hero:not(.dmt-scene--seq) { display: none; }
.hero .eyebrow:empty { display: none; }
.dmt-scene--hero { --frame: .03 .04 .97 .96; }
.dmt-scene--hero .dmt-scene__stage { position: relative; height: 100%; }
.dmt-scene__3d { position: absolute; inset: 0; opacity: 0; transition: opacity .9s ease; pointer-events: none; }
.dmt-scene__3d canvas { display: block; width: 100%; height: 100%; }
/* drag to turn: horizontal drags rotate, vertical swipes still scroll the page */
.dmt-scene--hero.is-3d .dmt-scene__3d { pointer-events: auto; }
.dmt-scene--hero .dmt-scene__3d canvas { touch-action: pan-y; cursor: grab; -webkit-user-select: none; user-select: none; -webkit-tap-highlight-color: transparent; }
.dmt-scene--hero.is-grabbing .dmt-scene__3d canvas { cursor: grabbing; }
.dmt-scene--hero:focus { outline: none; }
.dmt-scene--hero:focus-visible { outline: 2px solid var(--gold-lt); outline-offset: -2px; border-radius: 12px; }
/* the one-time hint above the pills; absolute, so it never moves anything */
.hud__hint { position: absolute; z-index: 2; right: max(var(--gut), calc((100vw - 1200px) / 2 + var(--gut))); bottom: 54px; margin: 0; display: inline-flex; align-items: center; gap: 7px; padding: 7px 12px 7px 10px; border-radius: 16px; background: rgba(17, 17, 17, .62); box-shadow: inset 0 0 0 1px rgba(232, 213, 163, .14); backdrop-filter: blur(6px); color: var(--muted); font: 500 13px/1 var(--sans, inherit); pointer-events: none; opacity: 0; transform: translateY(4px); transition: opacity .6s ease, transform .6s ease; }
.hud__hint.is-on { opacity: 1; transform: none; }
.hud__hint svg { width: 15px; height: 15px; flex: none; color: var(--gold-lt); }
.dmt-scene.is-3d .dmt-scene__3d { opacity: 1; }
.dmt-scene.is-3d .dmt-scene__svg { opacity: 0; visibility: hidden; transition: opacity .45s ease, visibility 0s .45s; }

/* controls: one row of step pills, "Build it again", pause. Hidden until the model runs */
.hud { display: flex; align-items: center; justify-content: flex-end; gap: 8px; opacity: 0; visibility: hidden; transition: opacity .5s ease; }
.dmt-scene--hero.is-3d .hud { opacity: 1; visibility: visible; }
.hud__steps { list-style: none; margin: 0; padding: 3px; display: flex; gap: 2px; border-radius: 20px; background: rgba(17, 17, 17, .62); box-shadow: inset 0 0 0 1px rgba(232, 213, 163, .14); backdrop-filter: blur(6px); }
.hud__steps button { display: inline-flex; align-items: center; gap: 6px; min-height: 30px; padding: 0 10px; border: 0; border-radius: 15px; background: none; cursor: pointer; font: 600 12.5px/1 var(--sans, inherit); color: var(--muted); white-space: nowrap; transition: background .25s, color .25s; }
.hud__steps i { width: 6px; height: 6px; border-radius: 50%; background: currentColor; opacity: .55; flex: none; }
.hud__steps button[aria-current="step"] { background: rgba(201, 168, 76, .16); color: var(--gold-lt); }
.hud__steps button[aria-current="step"] i { background: var(--gold); opacity: 1; }
.hud__steps button:not(:disabled):hover { color: #fff; }
.hud__replay { display: inline-flex; align-items: center; gap: 7px; min-height: 36px; padding: 0 14px; border-radius: 18px; border: 1px solid rgba(232, 213, 163, .28); background: rgba(17, 17, 17, .62); backdrop-filter: blur(6px); color: var(--gold-lt); font: 700 13px/1 var(--sans, inherit); cursor: pointer; white-space: nowrap; transition: border-color .2s; }
.hud__replay svg { width: 13px; height: 13px; fill: currentColor; }
.hud__replay:hover { border-color: var(--gold); }
.hud__pause { flex: none; width: 36px; height: 36px; border-radius: 50%; border: 1px solid rgba(232, 213, 163, .28); background: rgba(17, 17, 17, .62); display: grid; place-items: center; cursor: pointer; }
.hud__pause svg { width: 12px; height: 12px; fill: var(--gold-lt); }
.hud__pause .ic-play { display: none; }
.hud__pause[aria-pressed="true"] .ic-pause { display: none; }
.hud__pause[aria-pressed="true"] .ic-play { display: inline; }

/* ---------- stage system. Default (no data-stage change) = finished room. */
.dmt-scene .piece, .dmt-scene .row, .dmt-scene .l-wall-old, .dmt-scene .l-floor-old, .dmt-scene .l-glow,
.dmt-scene .l-lights, .dmt-scene .l-dim, .dmt-scene .l-dust, .dmt-scene .f {
	transform-box: fill-box; transform-origin: 50% 100%;
	transition: opacity .55s ease, transform .7s var(--ease);
	transition-delay: calc(var(--i, 0) * 60ms);
}
.dmt-scene .l-dim { opacity: 0; pointer-events: none; }
.dmt-scene .l-dust { opacity: 0; }
.dmt-scene .l-wall-old, .dmt-scene .l-floor-old, .dmt-scene .l-cab-old .piece { opacity: 0; }
.dmt-scene .l-cab-old .piece { transform: translateY(-60px); }
.dmt-scene .t-old { opacity: 0; }

/* before */
.dmt-scene[data-stage="0"] .l-wall-old,
.dmt-scene[data-stage="0"] .l-floor-old,
.dmt-scene[data-stage="0"] .l-cab-old .piece { opacity: 1; transform: none; }
/* walls keep the old paint until cabinets go in */
.dmt-scene:is([data-stage="1"], [data-stage="2"]) .l-wall-old { opacity: 1; }

/* new floor: hidden before stage 2 */
.dmt-scene:is([data-stage="0"], [data-stage="1"]) .l-floor-new .row { opacity: 0; transform: translateY(-16px); }
/* new cabinets: hidden before stage 3, drop in */
.dmt-scene:is([data-stage="0"], [data-stage="1"], [data-stage="2"]) .l-cab-new .piece { opacity: 0; transform: translateY(-40px); }
/* counters, tile, fixtures: hidden before stage 4 */
.dmt-scene:is([data-stage="0"], [data-stage="1"], [data-stage="2"], [data-stage="3"]) :is(.l-ctr .piece, .l-tile .row) { opacity: 0; transform: translateY(-14px); }
/* lights on only when done */
.dmt-scene:not([data-stage="5"]) .l-glow { opacity: 0; }
.dmt-scene .l-glow { transition-delay: .35s; }

/* dim tint fades as the room gets better */
.dmt-scene[data-stage="0"] .l-dim { opacity: .34; }
.dmt-scene[data-stage="1"] .l-dim { opacity: .3; }
.dmt-scene[data-stage="2"] .l-dim { opacity: .22; }
.dmt-scene[data-stage="3"] .l-dim { opacity: .14; }
.dmt-scene[data-stage="4"] .l-dim { opacity: .06; }

/* demo dust */
.dmt-scene[data-stage="1"] .l-dust { opacity: 1; }
.dmt-scene[data-stage="1"] .dust { animation: dmt-dust 1.6s ease-out var(--d, 0s) infinite; }
@keyframes dmt-dust {
	0% { opacity: 0; transform: translate(0, 0) scale(.6); }
	30% { opacity: .9; }
	100% { opacity: 0; transform: translate(var(--x, 0), -34px) scale(1.6); }
}
.dmt-scene .dust { transform-box: fill-box; transform-origin: center; opacity: 0; }




/* focus mode (services): dim everything except the service in view */
.dmt-scene--focus[data-focus] .f { opacity: .16; transition-delay: 0s; }
.dmt-scene--focus[data-focus="kitchen"] .f[data-f~="kitchen"],
.dmt-scene--focus[data-focus="bath"] .f[data-f~="bath"],
.dmt-scene--focus[data-focus="floor"] .f[data-f~="floor"],
.dmt-scene--focus[data-focus="tile"] .f[data-f~="tile"],
.dmt-scene--focus[data-focus="cabinets"] .f[data-f~="cabinets"],
.dmt-scene--focus[data-focus="pantry"] .f[data-f~="pantry"] { opacity: 1; }

/* ---------- sections */
.sec { padding: var(--sec-y) 0; }
/* task 841: sections below the hero skip style/layout until they near the viewport (mobile LCP).
   "auto" remembers the real height once rendered, so scrolling back up does not jump. */
.hero ~ .sec, .hero ~ .band { content-visibility: auto; contain-intrinsic-size: auto 900px; }
/* two dark sections in a row read as one band: no doubled gap */
.sec:not(.sec--paper):not(.close) + .sec:not(.sec--paper):not(.close) { padding-top: 0; }
.sec:not(.sec--paper) + .close { border-top: 1px solid var(--line); }
.sec--paper { background: var(--paper); color: var(--ink); }
.sec__head { max-width: 720px; margin-bottom: var(--head-gap); }
.sec h2 { font-size: clamp(28px, 3.4vw, 44px); margin-top: 10px; max-width: 26ch; }
.sec--paper h2 { color: #111; }
.sec__more { margin-top: var(--stack); }
#work .link { color: var(--gold-lt); }
.sec--paper#work .link, .sec--paper #work .link { color: var(--gold-dk); }

/* services */
.svc { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); column-gap: 56px; }
.svc__head { grid-column: 1 / -1; max-width: 720px; margin-bottom: var(--head-gap); }
.svc__stage { position: relative; }
.svc__stage .dmt-scene { position: sticky; top: 90px; background: var(--card); border-radius: 18px; padding: 22px; box-shadow: 0 30px 60px rgba(17, 17, 17, .18); }
.svc__list { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--card-gap); }
.svc__item { display: grid; grid-template-columns: 150px 1fr; gap: 18px; align-items: center; padding: 14px; border-radius: 12px; background: #fff; border: 1px solid #e3dccf; transition: border-color .3s, box-shadow .3s; }
.svc__item.is-on { border-color: var(--gold); box-shadow: 0 10px 30px rgba(122, 90, 16, .14); }
.svc__item img { width: 150px; height: 108px; object-fit: cover; border-radius: 8px; }
.svc__item h3 { font-size: 23px; }
.svc__item h3 a { text-decoration: none; color: #111; }
.svc__item h3 a::after { content: "\00a0→"; color: var(--gold-dk); font-family: var(--sans); font-size: .8em; }
.svc__item h3 a:hover { color: var(--gold-dk); }
.svc__item p { margin-top: 6px; color: var(--muted-dk); font-size: 15.5px; }

/* work grid */
.work { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); grid-auto-rows: 220px; gap: 12px; }
.work img { width: 100%; height: 100%; object-fit: cover; border-radius: 10px; }
.work__big { grid-row: span 2; }

/* steps */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--card-gap); }
.steps li { background: #fff; border: 1px solid #e3dccf; border-radius: 12px; padding: var(--card-pad); }
.steps b { font: 600 13px/1 var(--mono); color: var(--gold-dk); letter-spacing: .1em; }
.steps h3 { font-size: 24px; margin: 14px 0 8px; color: #111; }
.steps p { color: var(--muted-dk); }

/* close */
.close { background: radial-gradient(700px 360px at 15% 20%, rgba(201, 168, 76, .12), transparent 70%), var(--bg); }
.close__in { display: grid; grid-template-columns: 1.2fr 1fr; gap: 56px; align-items: start; }
.close h2 { font-size: clamp(30px, 3.8vw, 48px); color: #fff; }
.close p { margin-top: var(--text-gap); color: var(--paper-2); font-size: 18px; }
.close__btns { display: flex; flex-wrap: wrap; gap: 12px; margin-top: var(--stack); }
.areas__t { font: 600 12px/1 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--gold); margin-bottom: 14px; }
.areas ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 4px var(--stack); }
.areas a, .areas span { color: var(--paper-2); text-decoration: none; font-weight: 600; display: inline-block; padding: 4px 0; }
.areas a:hover { color: var(--gold-lt); }

/* footer */
.ftr { border-top: 1px solid var(--line); padding: var(--head-gap) 0 calc(var(--head-gap) - 8px); color: var(--muted); font-size: 14px; }
.ftr__in { display: grid; grid-template-columns: 2fr 1fr; gap: var(--stack); }
.ftr__in > div > p { margin-top: var(--text-gap); max-width: 40em; }
.ftr__links { list-style: none; margin: var(--text-gap) 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 2px 22px; max-width: 46em; }
.ftr__links a { display: inline-block; padding: 6px 0; }
.ftr__in > div > .ftr__contact { line-height: 2.1; margin-top: 0; }
.ftr a { color: var(--paper-2); }
.ftr__legal { grid-column: 1 / -1; padding-top: var(--text-gap); border-top: 1px solid var(--line); }
.mark--sm .mark__name { font-size: 24px; }

.dock { display: none; }

/* ---------- tablet / phone */
@media (max-width: 1080px) {
	:root { --mark-top: 1.4; }
	.hero__grid { grid-template-columns: 1fr; gap: 28px; }
	.lead { max-width: none; }
	.svc { grid-template-columns: 1fr; }
	.svc__stage { display: none; }
	.close__in { grid-template-columns: 1fr; gap: var(--head-gap); }
	:root { --sec-y: 72px; }
	.dock { display: grid; grid-template-columns: 1fr 1.4fr; gap: 8px; position: fixed; z-index: 35; left: 0; right: 0; bottom: 0; padding: 8px 12px calc(8px + env(safe-area-inset-bottom)); background: rgba(17, 17, 17, .96); border-top: 1px solid var(--line); transform: translateY(110%); transition: transform .3s var(--ease); }
	.dock.is-on { transform: none; }
	.dock a { display: flex; align-items: center; justify-content: center; gap: 8px; min-height: var(--btn-h); border-radius: 8px; font-weight: 800; text-decoration: none; }
	.dock svg { width: 18px; height: 18px; fill: currentColor; }
	.dock__call { color: var(--cream); box-shadow: inset 0 0 0 1.5px rgba(232, 213, 163, .5); }
	.dock__est { background: var(--gold); color: #111; }
	.dock--3 { grid-template-columns: 1fr 1fr 1.4fr; }
	.dock__sms { color: var(--cream); box-shadow: inset 0 0 0 1.5px rgba(232, 213, 163, .5); }
	/* room under the footer for the bar, so it never covers the footer links */
	body { padding-bottom: calc(72px + env(safe-area-inset-bottom)); }
}
@media (max-width: 640px) {
	:root { --gut: 16px; --sec-y: 56px; --head-gap: 24px; --stack: 20px; --card-pad: 20px; --card-gap: 12px; }
	:root { --mark-top: 1.2; }
	.hdr__in { height: 56px; gap: 10px; }
	.nav { top: 56px; max-height: calc(100vh - 56px); max-height: calc(100dvh - 56px); }
	.mark__name { font-size: 25px; }
	.mark__sub { font-size: 9.5px; letter-spacing: .1em; padding-left: 8px; }
	.hdr__tel span { display: none; }
	.hdr__tel { width: var(--ctl-h); height: var(--ctl-h); justify-content: center; border: 1px solid #3a362f; border-radius: 8px; }
	.hero { padding-top: 20px; }
	.hero .eyebrow { font-size: 11px; }
	.hero h1 { font-size: 31px; margin: 10px 0 12px; }
	.hero__lede { font-size: 15.5px; line-height: 1.5; }
	.lead { margin-top: 20px; padding: 16px; gap: 10px; }
	.lead__title { font-size: 20px; }
	.lead__row { gap: 10px; }
	.lead label { gap: 4px; }
	.trust { grid-template-columns: repeat(2, minmax(0, 1fr)); margin-top: var(--head-gap); gap: 20px 12px; }
	.trust b { font-size: 14px; }
	.trust span { font-size: 13px; }
	.lead__call .btn { max-width: none; }
	.svc__item { grid-template-columns: 112px 1fr; gap: 14px; padding: 10px; }
	.svc__item img { width: 112px; height: 84px; }
	.svc__item h3 { font-size: 19px; }
	.svc__item p { font-size: 14px; margin-top: 4px; }
	.work { grid-template-columns: 1fr 1fr; grid-auto-rows: 132px; gap: 8px; }
	.steps { grid-template-columns: 1fr; }
	.steps h3 { font-size: 21px; margin-top: 10px; }
	.close__btns .btn { width: 100%; }
	.ftr__in { grid-template-columns: 1fr; }
}

/* ---------- hero with the 3D room: layout (task 843) */
@media (min-width: 1024px) {
	.hero:has(.dmt-scene--hero) { overflow-x: clip; }
	.hero__grid:has(> .dmt-scene--hero) { display: block; position: relative; }
	.hero__grid:has(> .dmt-scene--hero) > .hero__copy { position: relative; z-index: 2; width: min(520px, 45%); }
	/* to the right edge of the screen, from the top of the hero to the bottom of the copy */
	.dmt-scene--hero { --frame: .26 .07 .93 .86; position: absolute; z-index: 1; top: -56px; bottom: 0; left: 36%; right: calc((100% - 100vw) / 2); }
	.dmt-scene--hero .dmt-scene__3d { -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 30%), linear-gradient(0deg, transparent 0, #000 16%); -webkit-mask-composite: source-in; mask-image: linear-gradient(90deg, transparent 0, #000 30%), linear-gradient(0deg, transparent 0, #000 16%); mask-composite: intersect; }
	.dmt-scene--hero .hud { position: absolute; z-index: 2; bottom: 8px; right: max(var(--gut), calc((100vw - 1200px) / 2 + var(--gut))); }
}
@media (max-width: 1023px) {
	.hero__grid:has(> .dmt-scene--hero) { display: grid; grid-template-columns: minmax(0, 1fr); gap: 0; }
	.hero__grid:has(> .dmt-scene--hero) > .hero__copy { display: contents; }
	.hero__grid:has(> .dmt-scene--hero) .lead { order: 2; }
	/* full width under the subline, then the controls, then the form */
	.dmt-scene--hero { order: 1; height: 420px; margin: 8px calc(-1 * var(--gut)) 0; display: grid; grid-template-rows: minmax(0, 1fr) auto; }
	.dmt-scene--hero .dmt-scene__3d { -webkit-mask-image: linear-gradient(0deg, transparent 0, #000 12%, #000 90%, transparent); mask-image: linear-gradient(0deg, transparent 0, #000 12%, #000 90%, transparent); }
	.dmt-scene--hero .hud { justify-content: center; padding: 0 var(--gut); }
	.hud__hint { right: auto; left: 50%; margin-left: -58px; bottom: 56px; }
	.hero__grid:has(> .dmt-scene--hero) .lead { margin-top: 16px; }
}
/* narrower screens: only the current step shows its name, the rest are dots (labels stay for screen readers) */
@media (max-width: 1279px) {
	.hud__steps button { padding: 0 7px; gap: 0; }
	.hud__steps button span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
	.hud__steps button[aria-current="step"] { gap: 6px; padding: 0 10px; }
	.hud__steps button[aria-current="step"] span { position: static; width: auto; height: auto; overflow: visible; clip: auto; }
}
@media (max-width: 640px) {
	.hero--page.hero--3d { padding-bottom: 28px; }
	.dmt-scene--hero { --frame: -.1 .02 1.1 .98; height: 440px; margin-top: 2px; } /* task 925: was 270px; taller and framed edge to edge so the room fills the width */
	.hero { padding-top: 12px; }
	.hero h1 { margin: 8px 0 10px; }
	.hero__lede { line-height: 1.45; }
	.hero__grid:has(> .dmt-scene--hero) .lead { margin-top: 10px; }
	.hud { gap: 6px; flex-wrap: wrap; }
	.hud__steps { gap: 0; }
	.hud__steps button { padding: 0 5px; }
	.hud__replay { padding: 0 11px; font-size: 12.5px; }
}

/* ---------- hero image sequence (task 928): pre-rendered stage frames instead of the live 3D room.
   Frames are stacked <picture>s; site.js fades each one in over the last, then drifts the final one (Ken Burns).
   The room sits right/behind the copy; --bg gradients keep the headline and the form readable (concept 02). */
.dmt-scene--seq { --frame: none; }
.seq { position: absolute; inset: 0; overflow: hidden; background: var(--bg); }
.seq__f { position: absolute; inset: 0; opacity: 0; transition: opacity .8s ease; }
.seq__f.is-on { opacity: 1; }
.seq__f img { width: 100%; height: 100%; object-fit: cover; object-position: 78% 50%; display: block; transform-origin: 72% 55%; }
.seq__f.is-drift img { animation: seq-drift 16s cubic-bezier(.25, .1, .25, 1) forwards; }
@keyframes seq-drift { to { transform: scale(1.06); } }
.dmt-scene--seq.is-paused .seq__f img, .dmt-scene--seq.is-paused .seq__glint { animation-play-state: paused; }
.seq__shade { position: absolute; inset: 0; pointer-events: none; }

/* ---------- job 64: directional build transitions (replaces the plain crossfade; ?anim=fade keeps the old one).
   site.js wraps every frame in .seq__w and all of them in .seq__cam, then adds .seq--fx (camera, settle, glint) and
   .seq--mask (the reveals). Each frame is revealed by a feathered edge that sweeps across it: the wrapper carries a static
   gradient mask and slides in, the picture inside slides the opposite way by the same amount, so the picture stays still
   while the mask edge travels. Only translate, scale, transform and opacity are animated (no mask-position, no repaint).
   --f is the feather width as a share of the frame. Without the individual translate/scale properties or without masks,
   site.js leaves the fade in place. */
.seq__w, .seq__cam { position: absolute; inset: 0; }
.dmt-scene--seq .dmt-scene__stage { touch-action: pan-y; } /* swipe sideways to change stage; vertical page scroll stays native */
.seq--fx .seq__cam { transition: translate .4s cubic-bezier(.16, 1, .3, 1); } /* snap back after a drag */
.seq--fx.is-drag .seq__cam { transition: none; }
.seq--fx { --dur: 1.25s; --ease: cubic-bezier(.45, .05, .2, 1); --settle: 1.7s; --f: .26; }
.seq--fx.is-jump { --dur: .5s; --settle: .6s; }
.seq--fx .seq__cam { transform-origin: 64% 55%; }
.seq--fx .seq__f { opacity: 1; transition: none; }
.seq--fx .seq__f img { scale: 1.015; transition: scale var(--settle) cubic-bezier(.16, 1, .3, 1); }
.seq--fx .seq__w.is-on .seq__f img { scale: 1; }
.seq--fx .seq__f.is-drift img { animation-name: seq-drift-fx; animation-timing-function: cubic-bezier(.4, 0, .5, 1); }
@keyframes seq-drift-fx { to { transform: scale(1.06); } }
.seq--mask .seq__w, .seq--mask .seq__w > .seq__f { transition: translate var(--dur) var(--ease); }
/* u = bottom up, d = top down, r = left to right */
.seq--mask .seq__w[data-dir="u"] { inset: calc(var(--f) * -100%) 0 0 0; translate: 0 100%;
	-webkit-mask-image: linear-gradient(180deg, transparent 0, #000 calc(var(--f) / (1 + var(--f)) * 100%));
	mask-image: linear-gradient(180deg, transparent 0, #000 calc(var(--f) / (1 + var(--f)) * 100%)); }
.seq--mask .seq__w[data-dir="u"] > .seq__f { inset: calc(var(--f) / (1 + var(--f)) * 100%) 0 0 0; translate: 0 calc(-100% * (1 + var(--f))); }
.seq--mask .seq__w[data-dir="d"] { inset: 0 0 calc(var(--f) * -100%) 0; translate: 0 -100%;
	-webkit-mask-image: linear-gradient(0deg, transparent 0, #000 calc(var(--f) / (1 + var(--f)) * 100%));
	mask-image: linear-gradient(0deg, transparent 0, #000 calc(var(--f) / (1 + var(--f)) * 100%)); }
.seq--mask .seq__w[data-dir="d"] > .seq__f { inset: 0 0 calc(var(--f) / (1 + var(--f)) * 100%) 0; translate: 0 calc(100% * (1 + var(--f))); }
.seq--mask .seq__w[data-dir="r"] { inset: 0 calc(var(--f) * -100%) 0 0; translate: -100% 0;
	-webkit-mask-image: linear-gradient(270deg, transparent 0, #000 calc(var(--f) / (1 + var(--f)) * 100%));
	mask-image: linear-gradient(270deg, transparent 0, #000 calc(var(--f) / (1 + var(--f)) * 100%)); }
.seq--mask .seq__w[data-dir="r"] > .seq__f { inset: 0 calc(var(--f) / (1 + var(--f)) * 100%) 0 0; translate: calc(100% * (1 + var(--f))) 0; }
.seq--mask .seq__w.is-on, .seq--mask .seq__w.is-on > .seq__f { translate: 0 0; }
/* the "finished" beat: a soft warm light sweep over the real photo (opacity + transform only; it ends invisible, the photo is not touched) */
.seq__glint { position: absolute; top: 0; bottom: 0; left: 0; width: 55%; opacity: 0; pointer-events: none; display: none;
	background: linear-gradient(100deg, rgba(255, 226, 170, 0) 0, rgba(255, 226, 170, .16) 50%, rgba(255, 226, 170, 0) 100%); }
.seq--fx .seq__glint { display: block; }
.seq--fx.is-glint .seq__glint { animation: seq-glint 1.9s cubic-bezier(.4, 0, .3, 1) .55s both; }
.seq--fx.is-glint.is-jump .seq__glint { animation-delay: .25s; }
@keyframes seq-glint { 0% { opacity: 0; transform: translateX(-60%); } 25% { opacity: 1; } 75% { opacity: 1; } 100% { opacity: 0; transform: translateX(200%); } }
.dmt-scene--seq .hud { opacity: 0; visibility: hidden; }
.dmt-scene--seq.is-seq .hud { opacity: 1; visibility: visible; }
@media (min-width: 1024px) {
	/* behind the copy, edge to edge, from the top of the hero to the bottom of the form */
	.dmt-scene--hero.dmt-scene--seq { top: -56px; bottom: 0; left: calc((100% - 100vw) / 2); right: calc((100% - 100vw) / 2); display: block; }
	.dmt-scene--seq .seq__shade { background:
		linear-gradient(90deg, var(--bg) 0, rgba(17, 17, 17, .94) 24%, rgba(17, 17, 17, .6) 42%, rgba(17, 17, 17, 0) 66%),
		linear-gradient(0deg, var(--bg) 0, rgba(17, 17, 17, 0) 22%),
		linear-gradient(180deg, var(--bg) 0, rgba(17, 17, 17, 0) 18%); }
}
@media (max-width: 1023px) {
	.dmt-scene--hero.dmt-scene--seq { height: auto; display: grid; grid-template-rows: auto auto; row-gap: 8px; }
	.dmt-scene--seq .dmt-scene__stage { position: relative; height: auto; aspect-ratio: 4 / 3; }
	.dmt-scene--seq .seq__shade { background: linear-gradient(0deg, var(--bg) 0, rgba(17, 17, 17, 0) 14%), linear-gradient(180deg, var(--bg) 0, rgba(17, 17, 17, 0) 12%); }
	.dmt-scene--seq .seq__f img { object-position: 72% 50%; }
}
@media (max-width: 640px) {
	/* phones: the room is large and full width (4:5 frames) */
	.dmt-scene--hero.dmt-scene--seq { height: auto; margin-top: 4px; }
	.dmt-scene--seq .dmt-scene__stage { aspect-ratio: 4 / 5; }
	.dmt-scene--seq .seq__f img { object-position: 50% 50%; }
}
.seq--ns { position: relative; }
@media (min-width: 1024px) { .seq--ns { position: absolute; } }

/* ---------- reduced motion: show the finished room, no movement */
@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	*, *::before, *::after { transition-duration: 0s !important; transition-delay: 0s !important; animation: none !important; }
	.dmt-scene__svg { transform: none !important; }
	.hud__pause { display: none; }
}

/* ================= WordPress additions ================= */
/* block wrappers add no spacing of their own */

/* service page hero: graphic beside the form */
.hero--page { padding-bottom: var(--sec-y); }
/* task 855: inner pages with the 3D room. Same layout as home; the room fills the hero beside the copy, no card, no gap under it */
.hero--page.hero--3d { padding-bottom: 40px; }
.art { margin: 0; }
.art img { width: 100%; height: auto; border-radius: 14px; background: var(--card); }

/* cards (what we do) */
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: var(--card-gap); }
.card { background: #fff; border: 1px solid #e3dccf; border-radius: 12px; padding: var(--card-pad); }
.card h3 { font-size: 23px; color: #111; }
.card p { margin-top: 8px; color: var(--muted-dk); }

/* photo row for 2-4 photos */
.work--row { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); grid-auto-rows: 260px; }

/* FAQ */
.faq-wrap { max-width: 860px; }
.faq { border-top: 1px solid var(--line); padding: 4px 0; }
.sec--paper .faq { border-color: #d9d1c2; }
.faq:last-of-type { border-bottom: 1px solid var(--line); }
.sec--paper .faq:last-of-type { border-color: #d9d1c2; }
.faq summary { cursor: pointer; list-style: none; padding: 18px 36px 18px 0; position: relative; font-weight: 800; font-size: 18px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 4px; top: 12px; font: 400 28px/1 var(--serif); color: var(--gold); }
.sec--paper .faq summary::after { color: var(--gold-dk); }
.faq[open] summary::after { content: "–"; }
.faq p { padding: 0 0 18px; color: var(--paper-2); max-width: 46em; }
.sec--paper .faq p { color: var(--muted-dk); }

/* areas as its own section (contact) */
#areas.sec .areas ul { grid-template-columns: repeat(4, minmax(0, 1fr)); }

/* ---------- Forminator form 277 inside .lead */
.lead .forminator-ui.forminator-custom-form:not(form) { display: none; }
.lead form.forminator-ui { margin: 0 !important; padding: 0 !important; display: grid !important; gap: 12px; font-family: var(--sans) !important; }
.lead .forminator-row { display: grid !important; grid-template-columns: 1fr 1fr; gap: 12px; margin: 0 !important; }
.lead .forminator-row .forminator-col-12, .lead .forminator-row-last .forminator-col { grid-column: 1 / -1; }
.lead .forminator-row.forminator-hidden { display: none !important; }
.lead .forminator-col { margin: 0 !important; padding: 0 !important; min-width: 0; flex: none !important; max-width: none !important; width: auto !important; }
.lead .forminator-field { margin: 0 !important; }
.lead .forminator-label { display: block !important; margin: 0 0 5px !important; padding: 0 !important; font: 700 13px/1.3 var(--sans) !important; color: var(--paper-2) !important; }
.lead .forminator-required { color: var(--gold) !important; }
.lead .forminator-input, .lead select, .lead .select2-selection {
	width: 100% !important; height: 48px !important; padding: 0 12px !important; border-radius: 8px !important;
	border: 1px solid #45403a !important; background: #111 !important; color: #fff !important; font: 400 16px/46px var(--sans) !important; box-shadow: none !important;
}
.lead .forminator-input:focus, .lead select:focus, .lead .select2-container--focus .select2-selection, .lead .select2-container--open .select2-selection { border-color: var(--gold) !important; outline: none; box-shadow: 0 0 0 3px rgba(201, 168, 76, .25) !important; }
.lead .select2-container { width: 100% !important; }
.lead .select2-selection__rendered { padding: 0 !important; line-height: 46px !important; color: #fff !important; }
.lead .select2-selection__placeholder { color: var(--muted) !important; }
.lead .select2-selection__arrow { top: 50% !important; transform: translateY(-50%); right: 10px !important; }
.lead .select2-selection__arrow b, .lead .select2-selection__arrow span { border-color: var(--gold) transparent transparent !important; color: var(--gold) !important; }
.lead .forminator-has_error .forminator-input, .lead .forminator-has_error .select2-selection { border-color: #e07a5f !important; }
.lead .forminator-error-message { display: block; margin-top: 4px !important; padding: 0 !important; background: none !important; color: #f0a58f !important; font: 600 13px/1.3 var(--sans) !important; }
.lead .forminator-error-message::before { display: none !important; }
.lead .forminator-button-submit {
	width: 100% !important; min-height: var(--btn-h) !important; margin: 0 !important; padding: 0 22px !important; border: 0 !important; border-radius: 8px !important;
	background: var(--gold) !important; color: #111 !important; font: 800 17px/1 var(--sans) !important; cursor: pointer; box-shadow: none !important;
}
.lead .forminator-button-submit:hover { background: var(--gold-lt) !important; }
.lead .forminator-response-message:not([aria-hidden="true"]) { margin: 0 !important; padding: 10px 12px !important; border-radius: 8px !important; font: 600 14px/1.4 var(--sans) !important; }
.lead .forminator-response-message[aria-hidden="true"] { display: none !important; }
/* select2 dropdown (rendered at body level) */
.forminator-custom-form-277.select2-dropdown, .select2-container--open .forminator-dropdown--default, .forminator-select-dropdown-container--open .select2-dropdown { background: #1a1a1a !important; border-color: #45403a !important; }
.forminator-select-dropdown-container--open .select2-results__option { color: #f5f1ea !important; font: 500 16px/1.3 var(--sans) !important; padding: 10px 12px !important; }
.forminator-select-dropdown-container--open .select2-results__option--highlighted { background: var(--gold) !important; color: #111 !important; }

/* ---------- task 856: optional Notes (textarea-1). Same box as the other fields. With JS it starts
   closed behind "+ Add a note" (site.js), which sits in the empty right end of the select's label row,
   so the closed form is exactly as tall as before and "Send my request" does not move. Without JS
   (or without :has) the textarea is simply visible. */
.lead .forminator-field-textarea .forminator-field { display: flex; flex-direction: column; }
.lead .forminator-field-textarea .forminator-label { order: 0; }
.lead .forminator-field-textarea .forminator-textarea { order: 1; }
.lead .forminator-field-textarea .forminator-description { order: 2; }
.lead .forminator-textarea {
	display: block; width: 100% !important; max-width: 100%; min-height: 76px !important; height: 76px; resize: vertical; margin: 0 !important;
	padding: 11px 12px !important; border-radius: 8px !important; border: 1px solid #45403a !important; background: #111 !important;
	color: #fff !important; font: 400 16px/1.4 var(--sans) !important; box-shadow: none !important; box-sizing: border-box;
}
.lead .forminator-textarea { transition: border-color .2s, box-shadow .2s !important; } /* Forminator's 'all' transition delayed visibility, so focus failed on open */
.lead .forminator-textarea::placeholder { color: var(--muted); opacity: 1; }
.lead .forminator-textarea:focus { border-color: var(--gold) !important; outline: none; box-shadow: 0 0 0 3px rgba(201, 168, 76, .25) !important; }
.lead .forminator-field-textarea .forminator-description { display: block; margin: 4px 0 0 !important; padding: 0 !important; text-align: right; font: 500 13px/1.3 var(--sans) !important; color: var(--muted) !important; }
.lead .forminator-field-textarea .forminator-description.is-near { color: var(--paper-2) !important; }
.lead .forminator-field-select, .lead .forminator-field-checkbox { position: relative; }
/* task 925: "What are you updating?" = real checkboxes (pick one or more) drawn as chips. Tap = on (gold, check mark), tap again = off.
   The input stays in the DOM and keyboard-focusable (Tab to move, Space to toggle); the label is the whole chip. */
.lead .forminator-field-checkbox .forminator-field { display: flex; flex-wrap: wrap; gap: 5px; }
.lead .forminator-field-checkbox .forminator-label { flex: 0 0 100%; }
.lead .forminator-field-checkbox .forminator-checkbox { position: relative; display: inline-flex !important; align-items: center; margin: 0 !important; padding: 0 !important; cursor: pointer; }
.lead .forminator-field-checkbox .forminator-checkbox input { position: absolute !important; inset: 0 !important; width: 100% !important; height: 100% !important; margin: 0 !important; clip: auto !important; clip-path: none !important; opacity: 0 !important; cursor: pointer; z-index: 1; }
.lead .forminator-field-checkbox .forminator-checkbox-box { display: none !important; }
.lead .forminator-field-checkbox .forminator-checkbox-label {
	display: inline-flex !important; align-items: center; gap: 6px; min-height: 32px; margin: 0 !important; padding: 0 10px !important; border-radius: 999px; border: 1px solid #45403a; background: #111;
	font: 600 13px/1.2 var(--sans) !important; color: var(--paper-2) !important; transition: background .18s, border-color .18s, color .18s; user-select: none;
}
.lead .forminator-field-checkbox .forminator-checkbox:hover .forminator-checkbox-label { border-color: var(--gold); }
.lead .forminator-field-checkbox .forminator-checkbox input:checked + .forminator-checkbox-box + .forminator-checkbox-label { background: var(--gold); border-color: var(--gold); color: #111 !important; }
.lead .forminator-field-checkbox .forminator-checkbox input:checked + .forminator-checkbox-box + .forminator-checkbox-label::before { content: ""; width: 5px; height: 9px; margin: -2px 1px 0 -2px; border: solid #111; border-width: 0 2px 2px 0; transform: rotate(45deg); }
.lead .forminator-field-checkbox .forminator-checkbox input:focus-visible + .forminator-checkbox-box + .forminator-checkbox-label { outline: 2px solid var(--gold-lt); outline-offset: 2px; }
.lead .forminator-has_error .forminator-checkbox-label { border-color: #e07a5f; }
@media (prefers-reduced-motion: reduce) { .lead .forminator-field-checkbox .forminator-checkbox-label { transition: none; } }
.lead .note-add {
	position: absolute; top: -4px; right: 0; height: 26px; padding: 0 2px; margin: 0; border: 0; background: none; cursor: pointer;
	font: 700 13px/26px var(--sans); color: var(--gold); text-decoration: underline; text-decoration-color: rgba(201, 168, 76, .45); text-underline-offset: 3px; border-radius: 4px;
}
.lead .note-add:hover { color: var(--gold-lt); text-decoration-color: currentColor; }
.lead .note-add:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }
.lead .note-add[hidden] { display: none; }
.js .lead .forminator-row:has(> .forminator-field-textarea) { overflow: hidden; max-height: 160px; transition: max-height .32s var(--ease), opacity .24s var(--ease); }
.js .lead form.forminator-ui { position: relative; }
/* closed: out of the grid flow (no row, no gap), so the closed form is exactly as tall as before */
.js .lead .forminator-row:has(> .forminator-field-textarea:not(.is-open)) { position: absolute; left: 0; right: 0; max-height: 0; opacity: 0; visibility: hidden; pointer-events: none; }
.js .lead .forminator-row:has(> .forminator-field-textarea.is-done) { overflow: visible; max-height: none; }
@media (prefers-reduced-motion: reduce) {
	.js .lead .forminator-row:has(> .forminator-field-textarea) { transition: none !important; }
}

/* legacy floating buttons never show here (the dock replaces them) */
.dmt-r .floating-buttons, .dmt-r .back-to-top { display: none !important; }

@media (max-width: 1080px) {
	.hero--page .art { max-width: 640px; margin: 0 auto; width: 100%; }
}
@media (max-width: 640px) {
	.lead form.forminator-ui { gap: 10px; }
	.lead .forminator-row { gap: 10px; }
	.hero .wp-block-heading { margin: 10px 0; }
	.card h3 { font-size: 20px; }
	.work--row { grid-template-columns: 1fr 1fr; grid-auto-rows: 132px; }
	#areas.sec .areas ul { grid-template-columns: 1fr 1fr; }
	.faq summary { font-size: 16px; }
}

/* ---------- job 64 / task 819: SEO copy sections, captions, breadcrumbs, linked cards */
.crumbs { font: 500 14px/1.4 var(--sans); letter-spacing: 0; color: var(--muted); margin: 0 0 16px; } /* task 855: small sans, muted (was mono) */
.crumbs a { color: var(--muted); text-decoration: underline; text-decoration-color: rgba(166, 163, 149, .4); text-underline-offset: 3px; }
.crumbs a:hover { color: var(--paper-2); text-decoration-color: currentColor; }
.crumbs span[aria-hidden] { margin: 0 2px; opacity: .6; }
.crumbs [aria-current] { color: var(--paper-2); }
.hero .crumbs + h1, .hero .crumbs + .wp-block-heading { margin-top: 0; }
@media (max-width: 640px) { .crumbs { font-size: 13px; margin-bottom: 8px; } }
.card h3 a { color: inherit; text-decoration: underline; text-decoration-color: rgba(122, 90, 16, .45); text-underline-offset: 4px; }
.card h3 a:hover { text-decoration-color: var(--gold-dk); }
.prose { max-width: 860px; }
.prose h2 { margin-bottom: var(--text-gap); }
.prose p { color: var(--paper-2); margin: 0 0 var(--text-gap); max-width: 46em; }
.prose > :last-child, .plist:last-child { margin-bottom: 0; }
.prose a { color: var(--gold-lt); text-underline-offset: 3px; }
.sec--paper .prose p, .sec--paper .plist { color: var(--muted-dk); }
.sec--paper .prose a { color: var(--gold-dk); font-weight: 700; }
.prose .dont { border-left: 3px solid var(--gold); padding: 6px 0 6px 16px; font-weight: 600; }
.plist { margin: 0 0 var(--text-gap); padding-left: 22px; max-width: 46em; color: var(--paper-2); }
.plist li { margin: 0 0 8px; }
.plist--ol li::marker { font-weight: 800; color: var(--gold); }
.rel { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: var(--card-gap) var(--stack); }
.rel li { display: grid; gap: 2px; }
.rel .link { color: var(--gold-lt); }
.rel span { color: var(--muted); font-size: 15px; }
.sec--paper .rel .link { color: var(--gold-dk); }
.sec--paper .rel span { color: var(--muted-dk); }
.work__fig { margin: 0; position: relative; min-height: 0; }
.work__fig img { display: block; }
.work__fig figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 26px 12px 9px; border-radius: 0 0 10px 10px; background: linear-gradient(transparent, rgba(0, 0, 0, .72)); color: #fff; font-size: 12.5px; line-height: 1.3; pointer-events: none; }

/* ---------- job 64 / task 838: expanded copy pages */
.art--photo img { aspect-ratio: 4 / 3; object-fit: cover; }
.prose h3 { font-size: 21px; margin: 22px 0 8px; }
.prose .cta-line { font-weight: 700; color: var(--paper); }
.sec--paper .prose .cta-line { color: #111; }
.local { list-style: none; margin: 0 0 var(--text-gap); padding: 0; display: grid; gap: 12px; max-width: 46em; }
.local li { padding-left: 14px; border-left: 3px solid var(--gold); color: var(--paper-2); }
.local b { color: var(--paper); }
.sec--paper .local li { color: var(--muted-dk); }
.sec--paper .local b { color: #111; }
.prose .rel { margin-bottom: var(--text-gap); }
.prose .faq-tail { margin-top: 18px; }

/* ================= job 64 / task 841: designed section components =================
 * Colours come from the section: every component reads --fg / --fg2 / --cardbg / --bd / --acc,
 * so the same card works on dark and on paper. Icons: Phosphor Light (inc/redesign-icons.php). */
.sec { --fg: #fff; --fg2: var(--paper-2); --fg3: var(--muted); --cardbg: var(--card); --bd: #34302a; --acc: var(--gold); --tint: rgba(201, 168, 76, .12); --shadow: 0 24px 48px rgba(0, 0, 0, .35); }
.sec--paper { --fg: #111; --fg2: var(--muted-dk); --fg3: var(--muted-dk); --cardbg: #fff; --bd: #e3dccf; --acc: var(--gold-dk); --tint: rgba(201, 168, 76, .16); --shadow: 0 24px 48px rgba(91, 74, 44, .14); }
/* theme.json paints every paragraph white (:where(p), zero specificity); let the section colour flow instead */
.sec :where(p) { color: inherit; }
/* BUG FIX: theme.json makes every heading #FFF; on paper only h2 was reset, so h3/h4 were white on cream */
.sec :is(h2, h3, h4) { color: var(--fg); }
.sec--paper :is(h2, h3, h4) { color: #111; }
.sec .link, .sec p a:not(.wp-block-button__link) { color: var(--acc); }
.sec:not(.sec--paper) p a:not(.wp-block-button__link) { color: var(--gold-lt); }
.sec ul.wp-block-list, .sec ol.wp-block-list { margin: 0; padding: 0; list-style: none; }
.sec__head h2 { margin-top: 0; }
.sec__head .sec__lede { margin-top: var(--text-gap); }
.sec__lede { font-size: 18px; color: var(--fg2); max-width: 46em; }
.sec__note { margin-top: var(--stack); color: var(--fg2); max-width: 46em; }

/* icon chip (ico-{name} on a block) */
.ico-w { display: inline-grid; place-items: center; flex: none; width: 48px; height: 48px; border-radius: 12px; background: var(--tint); color: var(--acc); }
.sec:not(.sec--paper) .ico-w { color: var(--gold); }
.ico { display: block; width: 26px; height: 26px; background: currentColor; -webkit-mask: var(--ico) center / contain no-repeat; mask: var(--ico) center / contain no-repeat; }

/* buttons (core/buttons with b-gold / b-line) */
.wp-block-buttons.cta-btns { display: flex; flex-wrap: wrap; gap: 12px; margin-top: var(--stack); }
.dmt-r .wp-block-button .wp-block-button__link { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: var(--btn-h); padding: 0 22px; border-radius: 8px; font: 800 16px/1.2 var(--sans); text-decoration: none; white-space: nowrap; transition: background .2s, box-shadow .2s, transform .2s var(--ease); }
.dmt-r .b-gold .wp-block-button__link { background: var(--gold); color: #111; }
.dmt-r .b-gold .wp-block-button__link:hover { background: var(--gold-lt); }
.dmt-r .b-gold .wp-block-button__link::after { content: "→"; transition: transform .25s var(--ease); }
.dmt-r .b-gold .wp-block-button__link:hover::after { transform: translateX(3px); }
.dmt-r .b-line .wp-block-button__link { background: transparent; color: var(--cream); box-shadow: inset 0 0 0 1.5px rgba(232, 213, 163, .5); }
.dmt-r .b-line .wp-block-button__link:hover { box-shadow: inset 0 0 0 1.5px var(--gold-lt); }
.dmt-r .sec--paper .b-line .wp-block-button__link { color: #111; box-shadow: inset 0 0 0 1.5px rgba(122, 90, 16, .55); }
.dmt-r .sec--paper .b-line .wp-block-button__link:hover { box-shadow: inset 0 0 0 1.5px var(--gold-dk); }
.dmt-r .wp-block-button__link:active { transform: translateY(1px); }

/* inline CTA row: the sentence + a button pair */
.cta-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 28px; margin-top: var(--stack); padding: 20px 24px; border: 1px solid var(--bd); border-radius: 14px; background: var(--tint); }
.cta-row__t { flex: 1 1 300px; font-weight: 700; color: var(--fg); max-width: 40em; }
.cta-row .cta-btns { margin-top: 0; }
:is(.split__copy, .ed__body, .room__body) .cta-row { flex-direction: column; align-items: flex-start; }
:is(.split__copy, .ed__body) .cta-row__t { flex: none; }

/* intro: large lede beside the rest */
.intro { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 64px; align-items: start; }
.lede { font: 400 clamp(23px, 2.3vw, 31px)/1.3 var(--serif); color: var(--fg); text-wrap: pretty; }
.intro__rest { display: grid; gap: var(--text-gap); color: var(--fg2); padding-top: 6px; }
.intro__rest .cta-row { margin-top: 0; }

/* rooms: photo cards, 3 + 2 */
.rooms { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 20px; }
.room { grid-column: span 2; position: relative; display: flex; flex-direction: column; background: var(--cardbg); border: 1px solid var(--bd); border-radius: 16px; overflow: hidden; transition: transform .45s var(--ease), box-shadow .45s var(--ease), border-color .3s; }
.rooms--5 .room:nth-child(n+4) { grid-column: span 3; }
.rooms--4 .room { grid-column: span 3; }
.room:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: rgba(201, 168, 76, .6); }
.room .ph, .room .ph-ex { display: block; width: 100%; aspect-ratio: 3 / 2; }
.room img { width: 100%; height: 100%; aspect-ratio: 3 / 2; object-fit: cover; transition: transform .8s var(--ease); }
.room:hover img { transform: scale(1.035); }
.room :is(.ph, .ph-ex) { overflow: hidden; }
/* one photo height for every card in the grid, wide second-row cards included: a 3:2 photo of a
   one-third card (desktop) or a half card (tablet). Fixed height, so the stretched card never sets it (task 841) */
.rooms { container-type: inline-size; }
.room > :is(.ph, .ph-ex) { flex: none; aspect-ratio: auto; height: calc((100cqi - 40px) * 2 / 9); }
.room__body { display: flex; flex-direction: column; gap: 10px; flex: 1; padding: 22px 24px 24px; }
.room__t { font-size: 26px; }
.room__body > p:not(.room__go) { color: var(--fg2); }
.room__body p a { position: relative; z-index: 1; }
.room__go { margin-top: auto; padding-top: 6px; font-weight: 800; }
.room__link { color: var(--acc) !important; text-decoration: none; }
.room__link::before { content: ""; position: absolute; inset: 0; z-index: 0; }
.room__go::after { content: " →"; color: var(--acc); display: inline-block; transition: transform .25s var(--ease); }
.room:hover .room__go::after { transform: translateX(4px); }
.rooms + .cta-row, .rooms ~ .cta-row { margin-top: var(--head-gap); }

/* service cards: whole card is the link */
.scards { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 270px), 1fr)); gap: var(--card-gap); }
/* avoid a lone card on the last row: 3, 5, 6 or 9 cards sit in three columns on desktop */
@media (min-width: 1081px) { .scards:has(> :nth-child(3):last-child, > :nth-child(5):last-child, > :nth-child(6):last-child, > :nth-child(9):last-child) { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.scard { position: relative; display: grid; grid-template-columns: 48px minmax(0, 1fr); column-gap: 16px; row-gap: 6px; align-content: start; padding: 22px 46px 22px 20px; background: var(--cardbg); border: 1px solid var(--bd); border-radius: 14px; transition: transform .4s var(--ease), box-shadow .4s var(--ease), border-color .3s; }
.scard > .ico-w { grid-row: span 2; }
.scard:hover, .scard:focus-within { transform: translateY(-4px); box-shadow: var(--shadow); border-color: rgba(201, 168, 76, .65); }
.scard__t { font: 400 21px/1.15 var(--serif); align-self: end; }
.scard__t a { color: var(--fg) !important; text-decoration: none; }
.scard__t a::before { content: ""; position: absolute; inset: 0; border-radius: inherit; }
.scard__t a:focus-visible { outline: none; }
.scard:focus-within { outline: 2px solid var(--gold-lt); outline-offset: 2px; }
.scard::after { content: "↗"; position: absolute; top: 18px; right: 18px; font-size: 17px; color: var(--acc); transition: transform .3s var(--ease); }
.scard:hover::after { transform: translate(2px, -2px); }
.scard__d { color: var(--fg2); font-size: 15px; line-height: 1.45; }
.scard__d::first-letter { text-transform: uppercase; }
/* task 891: 7 service cards (the hub has two such grids) never end with one card alone at the left.
   desktop >=1280: 4 + 3, last row centred / 1081-1279: 3 + 3 + 1 centred / 641-1080: 2 + 2 + 2 + 1 centred / phone: 1 column */
@media (min-width: 641px) {
	.scards:has(> :nth-child(7):last-child) { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.scards:has(> :nth-child(7):last-child) > :last-child { grid-column: 1 / -1; justify-self: center; width: calc(50% - var(--card-gap) / 2); }
}
@media (min-width: 1081px) {
	.scards:has(> :nth-child(7):last-child) { grid-template-columns: repeat(6, minmax(0, 1fr)); }
	.scards:has(> :nth-child(7):last-child) > .scard { grid-column: span 2; }
	.scards:has(> :nth-child(7):last-child) > :last-child { grid-column: 3 / span 2; justify-self: stretch; width: auto; }
}
@media (min-width: 1280px) {
	.scards:has(> :nth-child(7):last-child) { grid-template-columns: repeat(8, minmax(0, 1fr)); }
	.scards:has(> :nth-child(7):last-child) > :nth-child(5) { grid-column: 2 / span 2; }
	.scards:has(> :nth-child(7):last-child) > :last-child { grid-column: span 2; }
}
/* task 891: hub "Project types" cards: clean card, gold top rule, no tan image bar (no matching project photo for every type) */
.sec--projects .mcard { padding-top: var(--card-pad); border-top: 3px solid var(--gold); }
.sec--projects .mcard::before { content: none; }
/* task 880: "View <town>" line on the service-areas hub cards (the whole card is the link) */
.scard__go { grid-column: 2; margin-top: 4px; font-size: 14px; font-weight: 600; letter-spacing: .02em; color: var(--acc); }
/* task 880: gallery page photo grid (core gallery, same attachment IDs as before) */
.sec--gallery .wp-block-gallery.has-nested-images figure.wp-block-image { flex-grow: 0; }
.sec--gallery .wp-block-gallery.has-nested-images figure.wp-block-image img { aspect-ratio: 4 / 3; object-fit: cover; border-radius: 10px; }
.sec--gallery .wp-block-gallery figcaption { font-size: 13px; }
@media (max-width: 640px) { .sec--gallery .wp-block-gallery.has-nested-images figure.wp-block-image:not(#individual-image) { width: calc(50% - var(--wp--style--unstable-gallery-gap, 16px) / 2); } }

/* timeline */
.tl { counter-reset: step; display: grid; grid-template-columns: repeat(var(--cols, 4), minmax(0, 1fr)); gap: 40px 24px; }
.tl--3 { --cols: 3; } .tl--4 { --cols: 4; } .tl--5 { --cols: 5; } .tl--6 { --cols: 3; } .tl--7, .tl--8 { --cols: 4; }
.tl li { counter-increment: step; position: relative; color: var(--fg2); font-size: 15.5px; }
.tl li > .ico-w { display: grid; position: relative; z-index: 1; margin-bottom: 18px; width: 56px; height: 56px; border-radius: 50%; background: var(--cardbg); box-shadow: inset 0 0 0 1.5px var(--acc); }
.tl li::before { content: counter(step, decimal-leading-zero); position: absolute; top: 18px; left: 72px; font: 600 12px/1 var(--mono); letter-spacing: .12em; color: var(--acc); background: var(--sbg, var(--paper)); padding-right: 10px; z-index: 1; }
.sec:not(.sec--paper) .tl li::before { --sbg: var(--bg); }
.tl li::after { content: ""; position: absolute; top: 28px; left: 56px; right: -24px; height: 1px; background: var(--bd); }
.tl li:last-child::after { display: none; }
/* task 849: no connector at the end of a grid row (columns per count: 3→3, 4→4, 5→5, 6→3, 7/8→4). ≤1080 is 2 columns, handled in the media query below. */
@media (min-width: 1081px) {
	.tl--3 li:nth-child(3n)::after, .tl--6 li:nth-child(3n)::after, .tl--4 li:nth-child(4n)::after, .tl--7 li:nth-child(4n)::after, .tl--8 li:nth-child(4n)::after, .tl--5 li:nth-child(5n)::after { display: none; }
}
.tl b { display: block; margin-bottom: 8px; font: 400 21px/1.2 var(--serif); color: var(--fg); }
.tl + .sec__note, .tl ~ .cta-row { margin-top: var(--head-gap); }

/* split layouts (samples, coast, towns, icon lists, FAQ) */
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 72px; align-items: center; }
.split__copy { display: grid; gap: var(--text-gap); align-content: start; }
.split__copy > p:not(.cta-row__t, .badge) { color: var(--fg2); }
.sec--paper { color: var(--fg2); }
.split__copy h2 { margin: 0; }
.split__copy .cta-row { margin-top: 8px; }
.split__copy--stick { position: sticky; top: 96px; }
.split--towns, .split--icons, .split--faq { align-items: start; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); }

/* samples */
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips li { padding: 8px 14px; border: 1px solid var(--bd); border-radius: 999px; background: var(--cardbg); font: 600 12px/1 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--fg); }
.badge { display: inline-flex; align-items: center; gap: 10px; justify-self: start; padding: 6px 16px 6px 6px; border-radius: 999px; background: #111; color: var(--gold-lt); font-weight: 800; font-size: 14px; }
.badge .ico-w { width: 34px; height: 34px; border-radius: 50%; background: var(--gold); color: #111 !important; }
.badge .ico { width: 19px; height: 19px; }
.sec:not(.sec--paper) .badge { background: var(--tint); box-shadow: inset 0 0 0 1px rgba(201, 168, 76, .4); }
.swatch { margin: 0; border-radius: 20px; overflow: hidden; box-shadow: var(--shadow); }
.swatch svg { display: block; width: 100%; height: auto; }

/* coast map */
.coast { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 28px; align-items: center; padding: 28px; border: 1px solid var(--bd); border-radius: 20px; background: var(--cardbg); }
.coast__map { width: 100%; max-width: 300px; height: auto; justify-self: center; }
.coast__map text { font: 600 13px/1 var(--sans); fill: var(--fg); }
.coast__map .coast__sea { font: 600 11px/1 var(--mono); letter-spacing: .3em; text-transform: uppercase; fill: var(--acc); opacity: .7; }
.coast__chips { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.coast__chips :is(a, span) { display: flex; align-items: center; justify-content: space-between; gap: 10px; min-height: 44px; padding: 0 16px; border: 1px solid var(--bd); border-radius: 10px; font-weight: 700; text-decoration: none; color: var(--fg); transition: border-color .25s, background .25s; }
.coast__chips a::after { content: "→"; color: var(--acc); }
.coast__chips a:hover { border-color: var(--acc); background: var(--tint); }
.coast__chips span { color: var(--fg3); border-style: dashed; }

/* towns: accordion */
.towns { display: grid; gap: 10px; }
.town { border: 1px solid var(--bd); border-radius: 12px; background: var(--cardbg); transition: border-color .25s; }
.town[open] { border-color: rgba(201, 168, 76, .6); }
.town summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 56px; padding: 0 20px; font-weight: 800; font-size: 17px; color: var(--fg); }
.town summary::-webkit-details-marker { display: none; }
.town summary::after { content: "+"; font: 400 26px/1 var(--serif); color: var(--acc); transition: transform .3s var(--ease); }
.town[open] summary::after { transform: rotate(45deg); }
.town p { padding: 0 20px 20px; color: var(--fg2); }

/* feature / factor / material cards */
.fgrid { display: grid; grid-template-columns: repeat(var(--cols, 3), minmax(0, 1fr)); gap: var(--card-gap); counter-reset: fc; }
.fgrid--n1 { --cols: 1; } .fgrid--n2, .fgrid--n4 { --cols: 2; }
.fgrid--materials { --cols: 2; }
.fcard, .mcard { position: relative; display: grid; gap: 16px; align-content: start; padding: var(--card-pad); background: var(--cardbg); border: 1px solid var(--bd); border-radius: 14px; color: var(--fg2); counter-increment: fc; }
.fcard--n::after { content: counter(fc, decimal-leading-zero); position: absolute; top: 22px; right: 22px; font: 600 12px/1 var(--mono); letter-spacing: .12em; color: var(--acc); }
.fcard--def b { display: block; font: 400 21px/1.2 var(--serif); color: var(--fg); margin-bottom: 6px; }
.mcard { padding-top: 0; overflow: hidden; }
.mcard::before { content: ""; height: 84px; margin: 0 calc(-1 * var(--card-pad)); border-bottom: 1px solid var(--bd); background: #d9d3c8; }
.sw-wood::before { background: repeating-linear-gradient(90deg, #b98d5e 0 22%, #a87b4d 22% 24%, #c59a69 24% 50%, #9c7046 50% 52%, #b08454 52% 78%, #8f673f 78% 80%, #bf9260 80% 100%); }
.sw-shaker::before { background: linear-gradient(#fff, #f1eee8); box-shadow: inset 0 0 0 14px #fff, inset 0 0 0 17px #ddd7cc, inset 0 0 0 40px #f7f5f0; }
.sw-quartz::before { background: linear-gradient(160deg, transparent 40%, rgba(150, 143, 132, .5) 41%, transparent 43%), linear-gradient(20deg, transparent 60%, rgba(201, 168, 76, .45) 61%, transparent 62%), linear-gradient(135deg, #fbfaf7, #e9e4dc); }
.sw-granite::before { background: radial-gradient(circle at 20% 30%, #2b2925 0 2px, transparent 3px) 0 0 / 22px 18px, radial-gradient(circle at 60% 70%, #8b8172 0 2px, transparent 3px) 0 0 / 17px 15px, radial-gradient(circle at 40% 50%, #c4b59b 0 1.5px, transparent 2.5px) 0 0 / 13px 11px, #57524a; }
.sw-plank::before { background: linear-gradient(#0000 0 32%, #7d5530 32% 34%, #0000 34% 66%, #7d5530 66% 68%, #0000 68%), linear-gradient(90deg, #c59a69 0 40%, #b08454 40% 70%, #bf9260 70%); }
.sw-tile::before { background: linear-gradient(90deg, #f5f3ee 0 2px, transparent 2px) 0 0 / 42px 42px, linear-gradient(#f5f3ee 0 2px, transparent 2px) 0 0 / 42px 42px, linear-gradient(135deg, #d6dfd8, #c3d0c7); }
.sw-paint::before { background: linear-gradient(90deg, #3f4a45 0 25%, #8e9a8f 25% 50%, #d8d6cc 50% 75%, #f4f1ea 75%); }
.sw-edge::before { background: linear-gradient(#f3f0ea 0 46%, #cfc9be 46% 50%, #e9e4dc 50% 62%, #b9b2a6 62% 64%, #ddd6cb 64%); }
.sw-glass::before { background: linear-gradient(115deg, transparent 30%, rgba(255, 255, 255, .7) 31% 36%, transparent 37%), linear-gradient(160deg, #cfe0e6, #a9c2cb); box-shadow: inset 0 0 0 10px #f4f2ee; }
.sw-frame::before { background: #f4f2ee; box-shadow: inset 0 0 0 14px #fff, inset 0 0 0 16px #c8c1b4, inset 0 0 0 200px #dfe8ea; }
.sw-stone::before { background: linear-gradient(135deg, #e9e4dc, #cfc8bb); }
.checks { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--card-gap); margin-bottom: var(--card-gap) !important; }
.checks li { position: relative; display: block; min-height: 76px; padding: 18px 18px 18px 74px; background: var(--cardbg); border: 1px solid var(--bd); border-radius: 14px; color: var(--fg2); }
.checks li > .ico-w { position: absolute; left: 18px; top: 18px; width: 40px; height: 40px; border-radius: 50%; }
.checks .ico { width: 22px; height: 22px; }
.checks b { display: block; margin-bottom: 4px; font: 400 19px/1.25 var(--serif); color: var(--fg); }

/* compact icon rows */
.irows { display: grid; }
.irow { display: grid; grid-template-columns: 48px minmax(0, 1fr); gap: 20px; align-items: start; padding: 24px 0; border-top: 1px solid var(--bd); color: var(--fg2); }
.irow:last-child, .irow:has(+ .cta-row) { border-bottom: 1px solid var(--bd); }
.irows > .cta-row { margin-top: 28px; }
.irow p { padding-top: 12px; }

/* editorial split */
.ed { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 72px; align-items: start; }
.ed--flip .ed__side { order: 2; }
.ed__side { display: grid; gap: var(--stack); }
.ed__side h2 { margin: 0; }
.ed__side img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 16px; }
.ed__body { display: grid; gap: var(--text-gap); color: var(--fg2); padding-top: 8px; }
.ed__body > p:first-child { font-size: 18px; color: var(--fg); }
.ed__body .checks { grid-template-columns: minmax(0, 1fr); margin: 4px 0 !important; }
/* task 870: loose paragraphs (no short title in the copy) read as prose, never as title-less cards */
.ed--text { grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); }
.ed__side--stick { position: sticky; top: 96px; }
.ed--text .ed__body { max-width: 64ch; gap: 20px; }
.sec__prose { display: grid; gap: var(--text-gap); max-width: 46em; margin-top: var(--stack); color: var(--fg2); }
.sec__prose--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 48px; max-width: none; }

/* FAQ split */
.faq-wrap.split { max-width: var(--wrap); }
.faqs .faq:first-child { border-top: 1px solid var(--bd); }
.sec .faq { border-color: var(--bd); }
.faq summary { color: var(--fg); }
.faq-tail { color: var(--fg2); }

/* full-width photo CTA band */
.band { position: relative; isolation: isolate; display: grid; align-items: end; min-height: 440px; padding: var(--sec-y) 0; overflow: hidden; background: #111; }
.band > .ph, .band > .ph-ex { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.band::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(10, 10, 10, .9) 0%, rgba(10, 10, 10, .65) 45%, rgba(10, 10, 10, .2) 100%), linear-gradient(0deg, rgba(10, 10, 10, .6), transparent 60%); }
.band__in { width: 100%; }
.band__t { font: 400 clamp(34px, 4.6vw, 60px)/1.05 var(--serif); color: #fff; max-width: 13ch; }
.band__in .cta-btns { margin-top: var(--stack); }

/* related cards sit right under their head */
.sec--related .sec__head { margin-bottom: var(--head-gap); }

/* design-example badge (also in inc/design-example.php) */
.ph-ex { position: relative; display: block; }
.ph-ex .dmt-example-badge { position: absolute; top: .6rem; left: .6rem; z-index: 1; padding: 4px 10px; border-radius: 999px; background: rgba(17, 17, 17, .82); color: #fff; font: 600 11px/1.3 var(--mono); letter-spacing: .06em; text-transform: uppercase; }

/* reveal on scroll (site.js adds .is-in) */
.js .rv { opacity: 0; transform: translateY(18px); transition: opacity .8s var(--ease), transform .8s var(--ease); transition-delay: calc(var(--i, 0) * 80ms); }
.js .rv.is-in { opacity: 1; transform: none; }

@media (max-width: 1080px) {
	.intro, .split, .ed, .split--towns, .split--icons, .split--faq { grid-template-columns: minmax(0, 1fr); gap: var(--head-gap); }
	.ed--flip .ed__side { order: 0; }
	.ed__side--stick { position: static; }
	.sec__prose--2 { grid-template-columns: minmax(0, 1fr); }
	.split__copy--stick { position: static; }
	.rooms { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.rooms .room, .rooms--5 .room:nth-child(n+4) { grid-column: auto; }
	.room > :is(.ph, .ph-ex) { height: calc((100cqi - 20px) / 3); }
	.rooms--5 .room:last-child { grid-column: 1 / -1; }
	.tl { --cols: 2 !important; }
	.tl li:nth-child(2n)::after { display: none; }
	.fgrid { --cols: 2 !important; }
	.fgrid--n1 { --cols: 1 !important; }
	.ed__side img { aspect-ratio: 16 / 9; }
}
@media (max-width: 640px) {
	.rooms { display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; margin: 0 calc(-1 * var(--gut)); padding: 4px var(--gut) 12px; scroll-padding-inline: var(--gut); scrollbar-width: thin; }
	.rooms .room { flex: 0 0 84%; scroll-snap-align: start; }
	.rooms .room:hover { transform: none; }
	.room > :is(.ph, .ph-ex) { height: auto; aspect-ratio: 3 / 2; }
	.room__t { font-size: 23px; }
	.room__body { padding: 18px 18px 20px; }
	.tl { --cols: 1 !important; gap: 0; }
	.tl li { padding: 0 0 28px 72px; min-height: 56px; }
	.tl li > .ico-w { position: absolute; left: 0; top: 0; margin: 0; }
	.tl li::before { position: static; display: block; margin: 4px 0 8px; padding: 0; background: none; }
	.tl li::after, .tl li:nth-child(2n)::after { display: block; top: 56px; bottom: 0; left: 28px; right: auto; width: 1px; height: auto; }
	.tl li:last-child { padding-bottom: 0; }
	.tl li:last-child::after { display: none; }
	.fgrid, .checks { --cols: 1 !important; grid-template-columns: minmax(0, 1fr); }
	.coast { grid-template-columns: minmax(0, 1fr); padding: 20px; }
	.coast__map { max-width: 170px; margin-inline: auto; }
	.cta-row { flex-direction: column; align-items: stretch; padding: 18px; }
	.cta-row__t { flex: none !important; }
	.cta-row .cta-btns, .band .cta-btns { flex-direction: column; }
	.dmt-r .cta-btns .wp-block-button, .dmt-r .cta-btns .wp-block-button__link { width: 100%; }
	.dmt-r .wp-block-button .wp-block-button__link { white-space: normal; text-align: center; padding-block: 10px; }
	.band { min-height: 380px; }
	.scard { padding: 18px 40px 18px 16px; }
	.lede { font-size: 22px; }
	.irow { grid-template-columns: 40px minmax(0, 1fr); gap: 14px; padding: 18px 0; }
	.irow .ico-w { width: 40px; height: 40px; }
	.irow p { padding-top: 8px; }
}
@media (prefers-reduced-motion: reduce) {
	.js .rv { opacity: 1; transform: none; }
	.room:hover, .scard:hover, .room:hover img { transform: none; }
}

/* Home two-line H1 (task 848): big first line, smaller second line, still heading weight. */
.hero h1 .h1-sub { display: block; font-size: 0.58em; line-height: 1.15; margin-top: 0.3em; font-weight: inherit; }

/* ---------- floating buttons (task 857): desktop = back to top over a gold phone pill, bottom right;
   phones/tablets = back to top only, above the dock. Under the header (30), its menu scrim (29) and
   panel, above page content. site.js adds .is-on; hidden while the menu is open. */
.float { position: fixed; z-index: 28; right: 24px; bottom: 24px; display: flex; flex-direction: column; align-items: flex-end; gap: 10px; pointer-events: none; }
.float__top, .float__tel { pointer-events: auto; opacity: 0; visibility: hidden; transform: translateY(8px); transition: opacity .25s var(--ease), transform .25s var(--ease), visibility 0s linear .25s, background .2s; box-shadow: 0 6px 20px rgba(0, 0, 0, .35); }
.float__top.is-on, .float__tel.is-on { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
.float__top { width: 48px; height: 48px; padding: 0; display: grid; place-items: center; border: 0; border-radius: 50%; background: rgba(17, 17, 17, .92); color: var(--gold-lt); box-shadow: inset 0 0 0 1.5px rgba(232, 213, 163, .55), 0 6px 20px rgba(0, 0, 0, .35); cursor: pointer; }
.float__top:hover { background: #26231e; }
.float__top svg { width: 22px; height: 22px; }
.float__tel { display: inline-flex; align-items: center; gap: 8px; min-height: var(--btn-h); padding: 0 20px; border-radius: 999px; background: var(--gold); color: #111; font-weight: 800; font-size: 16px; text-decoration: none; white-space: nowrap; }
.float__tel:hover { background: var(--gold-lt); }
.float__tel svg { width: 18px; height: 18px; fill: currentColor; }
.float :focus-visible { outline: 2px solid var(--gold-lt); outline-offset: 3px; box-shadow: 0 0 0 5px #111, 0 6px 20px rgba(0, 0, 0, .35); }
html.menu-lock .float > * { visibility: hidden; opacity: 0; }
@media (max-width: 1080px) {
	.float { right: 12px; bottom: calc(var(--btn-h) + 29px + env(safe-area-inset-bottom)); }
	.float__tel { display: none; }
	.float__top { width: 44px; height: 44px; }
}
@media (prefers-reduced-motion: reduce) {
	.float__top, .float__tel { transform: none; transition: opacity .01s, visibility 0s linear .01s; }
}

/* task 871: /thank-you/ block (redesign shell, simple centred message) */
.ty { min-height: 60vh; display: flex; align-items: center; padding: calc(var(--sec-y) * 1.2) 0; border-top: 0 !important; }
.ty .wrap { width: 100%; }
.ty__in { max-width: 680px; }
.ty h1 { font-size: clamp(34px, 5vw, 56px); color: #fff; margin-top: 10px; }
.ty p { margin-top: var(--text-gap); color: var(--paper-2); font-size: 18px; }
.ty .close__btns { margin-top: var(--stack); }
@media (max-width: 640px) { .ty { min-height: 0; } .ty .close__btns .btn { width: 100%; } }
/* task 880: legal pages (privacy, terms) keep their text verbatim inside .prose; give the headings room */
.sec--legal .prose h2 { margin-top: 1.8em; font-size: clamp(26px, 3vw, 34px); }
.sec--legal .prose h2:first-child { margin-top: 0; }
.sec--legal .prose h3 { margin-top: 1.4em; }
