/* Drapewell redesign. Tokens come from DESIGN-PROPOSAL.md section 2. No gradients, glows or shadows on content. */
:root {
  --limewash: #F4F0E9; --linen: #E8E0D3; --flax: #CBBBA2; --harbour: #E4DBCC;
  --walnut: #2A2320; --walnut-soft: #5E534C; --accent: #7A5A3C; --ink: #151210; --dusk: #151210; --daylight: #F2D9A6;
  --hair: rgba(42, 35, 32, .14);
  --display: 'Ibarra Real Nova', 'Iowan Old Style', Georgia, serif;
  --sans: 'Instrument Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --r: 20px; --gut: 16px; --hdr: 60px;
  --ease: cubic-bezier(.22, .61, .36, 1);
}
@media (min-width: 700px) { :root { --gut: 24px; --hdr: 68px; } }
@media (min-width: 1100px) { :root { --gut: 40px; } }
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 84px; }
body { margin: 0; background: var(--limewash); color: var(--walnut); font: 400 16px/1.6 var(--sans); font-variant-numeric: tabular-nums; overflow-x: hidden; -webkit-font-smoothing: antialiased; }
img, svg, canvas, video { display: block; max-width: 100%; }
h1, h2, h3 { font-family: var(--display); font-weight: 400; margin: 0; letter-spacing: -.015em; }
h1 { font-size: 46px; line-height: 1.02; }
h2 { font-size: 34px; line-height: 1.06; }
h3 { font-size: 24px; line-height: 1.15; }
@media (min-width: 900px) { h1 { font-size: clamp(56px, 6.4vw, 104px); } h2 { font-size: clamp(38px, 4.4vw, 68px); } }
p { margin: 0 0 1em; max-width: 60ch; }
.lead { font-size: 17px; line-height: 1.5; max-width: 46ch; }
@media (min-width: 900px) { .lead { font-size: 20px; } }
a { color: var(--accent); text-underline-offset: 3px; }
:focus-visible { outline: 2px solid var(--walnut); outline-offset: 3px; border-radius: 4px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 8px; top: -60px; background: var(--walnut); color: var(--limewash); padding: 10px 14px; z-index: 100; border-radius: 2px; }
.skip:focus { top: 8px; }
.wrap { width: 100%; max-width: 1360px; margin-inline: auto; padding-inline: var(--gut); }
.sec { padding-block: clamp(56px, 9vw, 128px); }
.sec-t { background: var(--linen); }
.sec-h { background: var(--harbour); }
.sec-d { background: var(--dusk); color: var(--limewash); }
.sec-d a:not(.btn) { color: var(--limewash); }
.sec-d .btn, .cta .btn { --b: var(--limewash); --f: var(--ink); --hb: #FFFFFF; --hf: var(--ink); }
.sec-d .btn:focus-visible, .cta .btn:focus-visible { outline-color: var(--limewash); }
.sec h2 + .lead, .sec h2 + p { margin-top: 16px; }
em, .it { font-style: italic; }

/* buttons and links */
/* Buttons: square-shouldered (2px), hairline border, tracked small caps, a fill that slides in from the left on hover */
.btn { --b: var(--walnut); --f: var(--limewash); --hb: var(--ink); --hf: var(--limewash); --bd: var(--b); display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 0 30px; border-radius: 2px; border: 1px solid var(--bd); background: linear-gradient(var(--hb), var(--hb)) no-repeat 0 0 / 0% 100%, var(--b); color: var(--f); font: 500 13px/1 var(--sans); letter-spacing: .14em; text-transform: uppercase; text-decoration: none; cursor: pointer; transition: background-size .45s var(--ease), color .3s var(--ease), border-color .3s var(--ease); }
.btn:hover { background-size: 100% 100%, auto; color: var(--hf); border-color: var(--hb); }
.btn-o { --b: transparent; --f: var(--walnut); --hb: var(--walnut); --hf: var(--limewash); --bd: var(--walnut); }
.btn-l { --b: var(--limewash); --f: var(--walnut); --hb: #FFFFFF; --hf: var(--walnut); }
.btn-s { min-height: 44px; padding: 0 22px; }
.btn:focus-visible { outline: 1.5px solid currentColor; outline-offset: 3px; border-radius: 2px; }
.btn[disabled] { opacity: .45; pointer-events: none; }
.tl { display: inline-flex; align-items: center; min-height: 44px; color: var(--accent); font-weight: 500; text-decoration: underline; text-decoration-thickness: 1px; }
.acts { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 22px; margin-top: 24px; }
.acts .btn { flex: 0 0 auto; }
@media (max-width: 699px) { .acts .btn { width: 100%; } }

/* header */
.hdr { position: fixed; inset: 0 0 auto 0; height: var(--hdr); z-index: 60; background: var(--limewash); border-bottom: 1px solid var(--hair); }
.hdr-in { height: 100%; display: flex; align-items: center; gap: 24px; padding-inline: var(--gut); max-width: 1360px; margin-inline: auto; }
.logo { font: 500 26px/1 var(--display); letter-spacing: -.01em; color: var(--walnut); text-decoration: none; margin-right: auto; }
.nav { display: none; }
.hdr-r { display: flex; align-items: center; gap: 6px; }
.hdr-call { display: inline-flex; align-items: center; min-height: 44px; padding: 0 12px; font-weight: 500; color: var(--walnut); text-decoration: none; }
.hdr-r .btn { display: none; }
.burger { width: 44px; height: 44px; background: none; border: 0; position: relative; cursor: pointer; color: var(--walnut); }
.burger i { position: absolute; left: 11px; right: 11px; height: 1.5px; background: currentColor; transition: transform .35s var(--ease); }
.burger i:first-child { top: 18px; } .burger i:last-child { top: 25px; }
.menu-open .burger i:first-child { transform: translateY(3.5px) rotate(45deg); }
.menu-open .burger i:last-child { transform: translateY(-3.5px) rotate(-45deg); }
.mm { position: fixed; inset: var(--hdr) 0 0 0; z-index: 55; background: var(--limewash); padding: 24px var(--gut) 40px; overflow-y: auto; visibility: hidden; opacity: 0; transition: opacity .3s var(--ease), visibility .3s; }
.menu-open .mm { visibility: visible; opacity: 1; }
.menu-open { overflow: hidden; }
.mm a { display: block; }
.mm .b { font: 400 38px/1.15 var(--display); padding: 6px 0; color: var(--walnut); text-decoration: none; min-height: 44px; }
.mm .s { font-size: 18px; padding: 10px 0; color: var(--walnut-soft); text-decoration: none; min-height: 44px; }
.mm hr { border: 0; border-top: 1px solid var(--hair); margin: 18px 0; }
.mm .pin { margin-top: 22px; display: grid; gap: 4px; }
.mm .pin a:not(.btn) { color: var(--walnut); text-decoration: none; font-size: 20px; min-height: 44px; padding: 8px 0; }
@media (min-width: 1000px) {
  .nav { display: flex; align-items: center; gap: 4px; position: absolute; left: 50%; transform: translateX(-50%); }
  .nav > a, .nav-p > button { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; padding: 0 14px; font: 500 15px/1 var(--sans); color: var(--walnut); text-decoration: none; background: none; border: 0; cursor: pointer; }
  .nav > a:hover, .nav-p > button:hover, .nav a[aria-current] { color: var(--accent); }
  .nav-p { position: relative; }
  .nav-p i { position: relative; width: 10px; height: 10px; }
  .nav-p i::before, .nav-p i::after { content: ''; position: absolute; left: 0; right: 0; top: 4.5px; height: 1.5px; background: currentColor; transition: transform .3s var(--ease); }
  .nav-p i::after { transform: rotate(90deg); }
  .nav-p [aria-expanded=true] i::after { transform: rotate(0); }
  .nav-panel { position: absolute; top: 100%; left: 0; min-width: 240px; background: var(--limewash); border: 1px solid var(--hair); border-radius: 3px; padding: 8px; visibility: hidden; opacity: 0; transition: opacity .25s var(--ease), visibility .25s; }
  .nav-p.open .nav-panel { visibility: visible; opacity: 1; }
  .nav-panel a { display: flex; align-items: center; min-height: 44px; padding: 0 12px; border-radius: 2px; color: var(--walnut); text-decoration: none; }
  .nav-panel a:hover { background: var(--linen); }
  .hdr-r .btn { display: inline-flex; }
  .hdr-call, .burger { display: none; }
  .mm { display: none; }
}
main { padding-top: var(--hdr); }

/* sticky phone bar */
.sbar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 50; display: grid; grid-template-columns: 1fr 1.4fr; gap: 8px; padding: 8px var(--gut) calc(8px + env(safe-area-inset-bottom)); background: var(--limewash); border-top: 1px solid var(--hair); transform: translateY(110%); transition: transform .4s var(--ease); }
.sbar.show { transform: none; }
.sbar a { display: flex; align-items: center; justify-content: center; min-height: 48px; border-radius: 2px; font: 500 12.5px/1 var(--sans); letter-spacing: .12em; text-transform: uppercase; text-decoration: none; border: 1px solid var(--walnut); color: var(--walnut); }
.sbar a:last-child { background: var(--walnut); color: var(--limewash); }
.menu-open .sbar, .tray-on .sbar { display: none; }
@media (min-width: 900px) { .sbar { display: none; } }

/* asset slots */
.slot { position: relative; margin: 0; overflow: hidden; border-radius: var(--r); background: var(--linen); width: 100%; }
.slot > img, .slot > video { width: 100%; height: 100%; object-fit: cover; }
.slot[data-tone=limewash] { background: #ECE6DB; }
.slot[data-tone=harbour] { background: var(--harbour); }
.slot[data-tone=flax] { background: var(--flax); }
.slot[data-tone=dusk] { background: var(--dusk); }
.slot[data-tone=flat] { background: var(--sw, var(--linen)); }
.slot.ph::before { content: ''; position: absolute; inset: 16% 24% 20%; border: 1px solid rgba(42, 35, 32, .2); border-radius: 2px; pointer-events: none; }
.slot.ph[data-tone=dusk]::before { border-color: rgba(244, 240, 233, .25); }
.slot.ph[data-tone=flat]::before, .slot.round::before { display: none; }
.slot-label { position: absolute; left: 10px; bottom: 10px; max-width: calc(100% - 20px); padding: 6px 10px; border-radius: 8px; background: var(--limewash); color: var(--walnut-soft); font: 500 12px/1.3 var(--sans); }
.slot-label b { font-weight: 600; color: var(--walnut); }
.slot-label i { font-style: normal; opacity: .75; white-space: nowrap; }
.slot.round { border-radius: 50%; }
.slot.round .slot-label { display: none; }
.cap { margin: 10px 2px 0; font: italic 400 18px/1.3 var(--display); color: var(--walnut-soft); }
.cap.todo { opacity: .65; }

/* hero */
.hero { position: relative; }
.hero-stage { position: relative; height: 54svh; min-height: 330px; background: var(--harbour); overflow: hidden; }
.hero-stage canvas, .hero-stage .hero-still { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-stage .hero-still { border-radius: 0; }
.hero-stage .hero-still > img { object-fit: cover; }
.hero-copy { padding: 22px var(--gut) 34px; }
.hero-copy h1 { max-width: 11ch; }
.hero-copy .lead { margin-top: 14px; font-size: 16.5px; line-height: 1.45; }
.hero-copy .acts { margin-top: 18px; }
.mz { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; color: var(--walnut); }
.mz.night { color: var(--limewash); }
.mz line, .mz path { stroke: currentColor; stroke-width: 1.25; fill: none; }
.mz text { fill: currentColor; font: 500 12px var(--sans); paint-order: stroke; stroke: var(--halo, rgba(244, 240, 233, .7)); stroke-width: 3px; stroke-linejoin: round; }
.mz.night text { --halo: rgba(21, 18, 16, .7); }
.mz .dl { stroke-dasharray: var(--len, 400); stroke-dashoffset: var(--len, 400); transition: stroke-dashoffset 1.3s var(--ease) var(--delay, 0s); }
.mz.on .dl { stroke-dashoffset: 0; }
.mz .tx { opacity: 0; transition: opacity .8s var(--ease) 1s; }
.mz.on .tx { opacity: 1; }
.readout { position: absolute; left: 10px; right: 10px; bottom: 46px; display: flex; justify-content: space-between; align-items: flex-end; gap: 8px; pointer-events: none; }
.replay { pointer-events: auto; min-height: 44px; padding: 0 16px; border-radius: 2px; border: 1px solid var(--walnut); background: var(--limewash); font: 500 14px var(--sans); color: var(--walnut); cursor: pointer; }
.replay[hidden] { display: none; }
.hero-stage .ph-note { position: absolute; top: 10px; left: 10px; font-size: 11px; padding: 6px 10px; border-radius: 8px; background: var(--limewash); color: var(--walnut-soft); font: 500 12px/1.3 var(--sans); max-width: calc(100% - 20px); }
.hero-stage .ph-note[hidden] { display: none; }
@media (min-width: 900px) {
  .hero { height: 300vh; }
  .hero-pin { position: sticky; top: var(--hdr); height: calc(100svh - var(--hdr)); }
  .hero-stage { height: 100%; }
  .hero-copy { position: absolute; left: 0; right: 0; bottom: 0; padding: 0 var(--gut) 56px; max-width: 1360px; margin-inline: auto; pointer-events: none; }
  .hero-copy > * { pointer-events: auto; }
  .hero-copy h1 { max-width: 9ch; }
  .hero-copy .lead { font-size: 20px; max-width: 30ch; }
  .readout { left: auto; right: var(--gut); top: 24px; bottom: auto; flex-direction: column; align-items: flex-end; }
      .mz text { font-size: 13px; }
}
@media (min-width: 900px) and (prefers-reduced-motion: reduce) { .hero { height: auto; } .hero-pin { position: relative; height: auto; } .hero-stage { height: 72svh; } .hero-copy { position: static; padding: 24px var(--gut) 40px; } }
.hero.static { height: auto; }
.hero.static .hero-pin { position: relative; height: auto; }
@media (min-width: 900px) { .hero.static .hero-stage { height: 72svh; } }
.hero.static .hero-copy { position: static; padding: 24px var(--gut) 40px; }

/* tools */
.tool-grid { display: grid; gap: 28px; }
@media (min-width: 900px) { .tool-grid { grid-template-columns: 7fr 5fr; gap: clamp(32px, 5vw, 80px); align-items: center; } .tool-grid.flip .tool-stage { order: 2; } }
.tool-stage { position: relative; border-radius: var(--r); overflow: hidden; background: var(--harbour); aspect-ratio: 4 / 5; }
.tool-stage svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.tool-stage .real { position: absolute; inset: 0; opacity: 0; transition: opacity .9s var(--ease); }
.tool-stage .real.on { opacity: 1; }
.tool-stage .real img { width: 100%; height: 100%; object-fit: cover; }
.tool-stage .ph-note { position: absolute; left: 10px; bottom: 10px; padding: 6px 10px; border-radius: 8px; background: var(--limewash); color: var(--walnut-soft); font: 500 12px/1.3 var(--sans); max-width: calc(100% - 20px); }
.tool-stage .ph-note[hidden] { display: none; }
.cl { transition: transform .95s var(--ease), opacity .95s var(--ease); transform-box: fill-box; }
.cl-l { transform-origin: left center; } .cl-r { transform-origin: right center; } .cl-t { transform-origin: center top; }
@media (prefers-reduced-motion: reduce) { .cl, .tool-stage .real { transition: none; } }
.swatches { display: flex; flex-wrap: wrap; gap: 12px; margin: 22px 0 8px; }
.sw { position: relative; width: 56px; height: 56px; padding: 0; border: 0; background: none; border-radius: 50%; cursor: pointer; }
.sw .slot { width: 100%; height: 100%; aspect-ratio: 1; }
.sw[aria-checked=true]::after { content: ''; position: absolute; inset: -5px; border: 1.5px solid var(--walnut); border-radius: 50%; }
.fab-name { font: italic 400 22px/1.2 var(--display); margin: 14px 0 2px; }
.fab-line { color: var(--walnut-soft); margin: 0 0 16px; min-height: 3em; }
.seg { display: inline-flex; flex-wrap: wrap; gap: 8px; margin-bottom: 18px; }
.chip { min-height: 44px; padding: 0 20px; border-radius: 2px; border: 1px solid rgba(42, 35, 32, .28); background: transparent; font: 500 14px/1 var(--sans); letter-spacing: .03em; color: var(--walnut); cursor: pointer; transition: background .3s var(--ease), color .3s var(--ease), border-color .3s var(--ease); }
.chip:hover { border-color: var(--walnut); }
.chip[aria-pressed=true], .chip[aria-checked=true], .chip.on { background: var(--walnut); border-color: var(--walnut); color: var(--limewash); }
.chip:focus-visible { outline: 1.5px solid var(--walnut); outline-offset: 3px; border-radius: 2px; }
.tray { margin-top: 6px; }
.tray-list { display: flex; flex-wrap: wrap; gap: 8px; min-height: 44px; align-items: center; margin: 8px 0 14px; }
.tray-list .chip { display: inline-flex; align-items: center; gap: 8px; }
.tray-list .chip span { opacity: .6; }
.tray-empty { color: var(--walnut-soft); margin: 0; }
.tray-bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 51; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 8px var(--gut) calc(8px + env(safe-area-inset-bottom)); background: var(--limewash); border-top: 1px solid var(--hair); transform: translateY(110%); transition: transform .35s var(--ease); }
.tray-bar.show { transform: none; }
@media (min-width: 900px) { .tray-bar { left: 50%; right: auto; width: min(460px, calc(100vw - 48px)); bottom: 20px; padding: 10px 12px 10px 22px; border: 1px solid var(--hair); border-radius: 3px; box-shadow: 0 14px 40px rgba(21, 18, 16, .18); transform: translate(-50%, 140%); } .tray-bar.show { transform: translate(-50%, 0); } }
.tray-bar > span { font: 500 16px/1.2 var(--sans); color: var(--walnut); }
@media (prefers-reduced-motion: reduce) { .tray-bar { transition: none; } }
.slider { width: 100%; margin: 6px 0 12px; accent-color: var(--walnut); height: 44px; }
.say { min-height: 3.2em; margin: 0 0 8px; color: var(--walnut); }
.tool-note { font-size: 14px; color: var(--walnut-soft); }

/* range */
.range { display: grid; gap: 20px; }
.range-ph { position: sticky; top: calc(var(--hdr) + 8px); z-index: 2; background: var(--limewash); padding: 4px 0 8px; }
.range-ph .stack { position: relative; aspect-ratio: 16 / 10; border-radius: var(--r); overflow: hidden; }
.range-ph .stack .slot { position: absolute; inset: 0; height: 100%; opacity: 0; transition: opacity .8s var(--ease); }
.range-ph .stack .slot.on { opacity: 1; }
.range-list { display: grid; gap: 0; }
.range-list a { display: block; padding: 18px 0; color: var(--flax); text-decoration: none; font: 400 36px/1.05 var(--display); letter-spacing: -.015em; min-height: 44px; transition: color .5s var(--ease); }
.range-list a small { display: block; margin-top: 8px; font: 400 16px/1.4 var(--sans); letter-spacing: 0; color: var(--walnut-soft); opacity: .0; max-height: 0; overflow: hidden; transition: opacity .5s var(--ease), max-height .5s var(--ease); }
.range-list a.on { color: var(--walnut); }
.range-list a.on small { opacity: 1; max-height: 3em; }
@media (min-width: 900px) {
  .range { grid-template-columns: 5fr 7fr; gap: 72px; align-items: start; }
  .range-ph { top: calc(var(--hdr) + 40px); padding: 0; background: none; order: 2; }
  .range-ph .stack { aspect-ratio: 4 / 5; }
  .range-list { order: 1; }
  .range-list a { font-size: clamp(40px, 4.6vw, 68px); padding: 22px 0; }
  .range-list a.on { color: var(--accent); }
}
.range-list a:hover { color: var(--accent); }

/* homes, gallery */
.homes { display: grid; gap: 28px; }
.homes figure { margin: 0; }
@media (min-width: 900px) { .homes { grid-template-columns: 5fr 4fr; gap: 40px; } .homes .a { grid-row: span 2; } .homes .b { margin-top: 120px; } .homes .c { margin-top: -80px; } }
.masonry { column-count: 1; column-gap: 20px; }
@media (min-width: 640px) { .masonry { column-count: 2; column-gap: 24px; } }
@media (min-width: 1000px) { .masonry { column-count: 3; column-gap: 32px; } }
.masonry figure { margin: 0 0 28px; break-inside: avoid; }
.masonry figure:nth-child(3n+2) { margin-top: 24px; }

/* steps rail */
.rail { position: relative; margin: 32px 0 0; padding: 0; list-style: none; max-width: 640px; }
.rail::before { content: ''; position: absolute; left: 21px; top: 22px; bottom: 22px; width: 1.5px; background: var(--flax); }
.rail li { position: relative; padding: 0 0 34px 64px; }
.rail li:last-child { padding-bottom: 0; }
.rail li > b { position: absolute; left: 0; top: 0; width: 44px; height: 44px; border-radius: 50%; background: var(--limewash); border: 1px solid var(--walnut); color: var(--walnut); display: grid; place-items: center; font: 500 16px var(--sans); }
.rail h3 { font-size: 26px; margin-bottom: 4px; padding-top: 6px; }
.rail p { margin: 0; color: var(--walnut-soft); }
.sec-t .rail li > b { background: var(--linen); }

/* picker */
.pk { display: grid; gap: 22px; margin-top: 28px; }
.pk .chips { display: flex; flex-wrap: wrap; gap: 8px; }
.pk .pk-line { font: 400 22px/1.35 var(--display); max-width: 30ch; min-height: 3.9em; margin: 0; }
@media (min-width: 900px) { .pk.with-ph { grid-template-columns: 6fr 6fr; align-items: center; gap: 72px; } .pk .pk-line { font-size: 28px; } }

/* page head */
.ph-head { padding-block: clamp(32px, 6vw, 88px); }
.ph-grid { display: grid; gap: 28px; }
@media (min-width: 900px) { .ph-grid { grid-template-columns: 6fr 5fr; gap: 72px; align-items: center; } }
.ph-head h1 { max-width: 12ch; }
.ph-head .lead { margin-top: 18px; }
.ph-head-text { padding-block: clamp(24px, 5vw, 72px); }
.film-note { font-size: 13px; color: var(--walnut-soft); margin: 8px 2px 0; }
.loopv { position: relative; border-radius: var(--r); overflow: hidden; }
.loopv .slot { border-radius: 0; }
.loopv video { width: 100%; height: 100%; object-fit: cover; }

/* two col content */
.two { display: grid; gap: 32px; }
@media (min-width: 900px) { .two { grid-template-columns: 5fr 7fr; gap: 80px; align-items: start; } .two.even { grid-template-columns: 1fr 1fr; } }
.dip { display: grid; gap: 28px; margin-top: 36px; }
@media (min-width: 700px) { .dip { grid-template-columns: 7fr 5fr; align-items: start; } .dip figure:last-child { margin-top: 72px; } }
.dip figure { margin: 0; }
.dip-w { margin: 0; }

/* areas cloud */
.cloud { display: flex; flex-wrap: wrap; gap: 8px 10px; margin-top: 22px; }
.cloud span, .cloud a { display: inline-flex; align-items: center; min-height: 40px; padding: 0 16px; border-radius: 2px; border: 1px solid rgba(42, 35, 32, .16); background: var(--linen); color: var(--walnut); font-size: 15px; text-decoration: none; }
.sec-t .cloud span, .sec-t .cloud a { background: var(--limewash); }
.cloud .here { background: var(--walnut); color: var(--limewash); }
.areas { display: grid; gap: 26px; margin-top: 30px; }
@media (min-width: 800px) { .areas { grid-template-columns: 1fr 1fr; gap: 40px 64px; } }
.areas h3 { font-size: 22px; margin-bottom: 4px; }
.areas p { margin: 0; color: var(--walnut-soft); }

/* faq */
.faq-g { display: grid; gap: 28px; }
@media (min-width: 900px) { .faq-g { grid-template-columns: 4fr 7fr; gap: 80px; } .faq-g > div:first-child { position: sticky; top: 110px; align-self: start; } }
details { border-bottom: 1px solid var(--hair); }
details:first-of-type { border-top: 1px solid var(--hair); }
summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 56px; padding: 12px 0; font: 400 21px/1.25 var(--display); }
summary::-webkit-details-marker { display: none; }
summary span { position: relative; flex: none; width: 18px; height: 18px; }
summary span::before, summary span::after { content: ''; position: absolute; left: 0; right: 0; top: 8.25px; height: 1.5px; background: var(--walnut); transition: transform .35s var(--ease); }
summary span::after { transform: rotate(90deg); }
details[open] summary span::after { transform: rotate(0) scaleX(0); }
details[open] summary span::before { transform: rotate(45deg); }
details[open] summary span::after { transform: rotate(-45deg) scaleX(1); }
.ans { padding: 0 0 18px; color: var(--walnut-soft); }
.ans p:last-child { margin-bottom: 0; }

/* forms */
.form { display: grid; gap: 16px; max-width: 640px; }
.form[hidden] { display: none; } /* a sent form gives way to its thank-you */
.form.cols { grid-template-columns: 1fr; }
@media (min-width: 640px) { .form .row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; } }
.fld { display: grid; gap: 6px; }
.fld label, .fld legend { font: 500 14px/1.3 var(--sans); color: var(--walnut-soft); padding: 0; }
.fld input, .fld select, .fld textarea { width: 100%; min-height: 52px; padding: 12px 16px; border-radius: 2px; border: 1.5px solid transparent; background: var(--linen); color: var(--walnut); font: 400 16px/1.3 var(--sans); }
.sec-t .fld input, .sec-t .fld select, .sec-t .fld textarea, dialog .fld input { background: var(--limewash); border-color: var(--hair); }
.fld textarea { min-height: 112px; resize: vertical; }
.fld input:focus, .fld select:focus, .fld textarea:focus { outline: 1.5px solid var(--walnut); outline-offset: 1px; }
.fld[data-bad] input, .fld[data-bad] select, .fld[data-bad] textarea { border-color: #9B3B2E; }
.fld .err { color: #9B3B2E; font-size: 14px; min-height: 0; display: none; }
.fld[data-bad] .err { display: block; }
fieldset.fld { border: 0; margin: 0; padding: 0; min-width: 0; }
.chipset { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 6px; }
.chipset label { position: relative; }
.chipset input { position: absolute; opacity: 0; inset: 0; width: 100%; height: 100%; cursor: pointer; min-height: 0; }
.chipset span { display: inline-flex; align-items: center; min-height: 44px; padding: 0 20px; border-radius: 2px; background: transparent; border: 1px solid rgba(42, 35, 32, .28); font: 500 14px var(--sans); letter-spacing: .03em; color: var(--walnut); transition: background .3s var(--ease), color .3s var(--ease); }
.sec-t .chipset span { background: transparent; }
.chipset input:checked + span { background: var(--walnut); border-color: var(--walnut); color: var(--limewash); }
.chipset input:focus-visible + span { outline: 1.5px solid var(--walnut); outline-offset: 3px; }
.form-ok { padding: 22px 24px; border-radius: var(--r); background: var(--linen); max-width: 640px; }
.form-ok h3 { margin-bottom: 6px; }
.form-ok p { margin: 0; }
.sec-d .fld label { color: rgba(244, 240, 233, .75); }
.sec-d .fld input, .sec-d .fld select, .sec-d .fld textarea { background: #2B2622; color: var(--limewash); }
.sec-d .chipset span { background: transparent; color: var(--limewash); border-color: rgba(244, 240, 233, .3); }
.sec-d .chipset input:checked + span { background: var(--limewash); color: var(--ink); border-color: var(--limewash); }
.sec-d .form-ok { background: #2B2622; }
dialog { width: min(560px, calc(100vw - 24px)); max-height: calc(100svh - 24px); overflow: auto; border: 0; border-radius: var(--r); padding: 26px 22px; background: var(--limewash); color: var(--walnut); }
dialog::backdrop { background: rgba(21, 18, 16, .55); }
dialog .x { position: absolute; right: 8px; top: 8px; width: 44px; height: 44px; border: 0; background: none; font-size: 26px; cursor: pointer; color: var(--walnut); }
dialog h3 { margin-bottom: 14px; padding-right: 40px; }

/* closing photo */
.close-ph { padding-block: clamp(40px, 7vw, 96px) 0; }
.close-ph .slot { width: 100%; margin-inline: auto; transition: none; will-change: width, border-radius; }
.close-h { padding-block: clamp(48px, 7vw, 96px); }
.close-grid { display: grid; gap: 36px; }
@media (min-width: 900px) { .close-grid { grid-template-columns: 5fr 6fr; gap: 88px; align-items: start; } }

/* cta band + footer */
.cta { padding-block: clamp(56px, 8vw, 112px); background: var(--ink); color: var(--limewash); }
.cta h2 { max-width: 16ch; }
.cta p { margin-top: 14px; color: rgba(244, 240, 233, .85); }
.cta .tl { color: var(--limewash); }
.foot { background: var(--limewash); padding-top: clamp(48px, 7vw, 88px); overflow: hidden; }
.foot-g { display: grid; gap: 30px; }
@media (min-width: 800px) { .foot-g { grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 40px; } }
.foot h3 { font: 500 15px/1.3 var(--sans); color: var(--walnut-soft); margin-bottom: 8px; letter-spacing: 0; }
.foot a { display: flex; align-items: center; min-height: 44px; color: var(--walnut); text-decoration: none; }
.foot a:hover { color: var(--accent); }
.foot p { margin: 0 0 8px; color: var(--walnut-soft); }
.foot .legal { display: flex; flex-wrap: wrap; gap: 4px 22px; padding-block: 24px; color: var(--walnut-soft); font-size: 14px; }
.foot .legal a { display: inline-flex; min-height: 44px; color: var(--walnut-soft); }
.wm { font: 400 clamp(72px, 21vw, 300px)/.9 var(--display); letter-spacing: -.03em; color: var(--flax); white-space: nowrap; user-select: none; padding-bottom: 0; margin: 20px 0 -.06em; }

/* reveal: only for headings and photos, plain fade */
.js .rv { opacity: 0; transform: translateY(14px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.js .rv.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .js .rv { opacity: 1; transform: none; transition: none; } html { scroll-behavior: auto; } }
.note-ph { font-size: 14px; color: var(--walnut-soft); }
.crumbs { font-size: 14px; color: var(--walnut-soft); margin-bottom: 12px; }
.crumbs a { color: var(--walnut-soft); display: inline-flex; min-height: 44px; align-items: center; }
.contact-list { list-style: none; margin: 24px 0 0; padding: 0; display: grid; gap: 4px; }
.contact-list a { font: 400 30px/1.2 var(--display); color: var(--walnut); text-decoration: none; display: inline-flex; min-height: 44px; align-items: center; }
.contact-list small { display: block; color: var(--walnut-soft); font-size: 15px; }
.ways { display: grid; gap: 14px; margin-top: 28px; }
@media (min-width: 800px) { .ways { grid-template-columns: 1fr 1fr; gap: 28px; } }
.way { display: block; padding: 24px; border-radius: var(--r); background: var(--linen); color: var(--walnut); text-decoration: none; }
.way h3 { margin-bottom: 6px; }
.way p { margin: 0 0 10px; color: var(--walnut-soft); }
.way span { color: var(--accent); font-weight: 500; text-decoration: underline; }

/* ---------- home ---------- */
/* day scale under the hero film */
.dial { position: absolute; left: var(--gut); right: var(--gut); bottom: 8px; height: 30px; color: var(--walnut); pointer-events: none; transition: color .8s var(--ease); }
.hero-stage.night .dial { color: var(--limewash); }
.dial-line { position: absolute; left: 0; right: 0; top: 7px; height: 1px; }
.dial-line::before { content: ''; position: absolute; inset: 0; background: currentColor; opacity: .35; }
.dial-line i { position: absolute; top: -3px; width: 1px; height: 7px; background: currentColor; opacity: .45; }
.dial .hero-bar { position: absolute; left: 0; right: 0; top: -.5px; height: 2px; background: currentColor; transform-origin: left; transform: scaleX(0); }
.dial-line em { position: absolute; top: -7px; left: calc(var(--p, 0) * 100%); width: 2px; height: 15px; margin-left: -1px; background: currentColor; }
.dial b { position: absolute; top: 15px; transform: translateX(-50%); font: 500 11px/1 var(--sans); white-space: nowrap; opacity: .8; }
.dial b:first-of-type { transform: none; }
.dial b:last-of-type { transform: translateX(-100%); }
@media (min-width: 900px) { .dial { left: 46%; bottom: 30px; } .dial b { font-size: 12px; } }
@media (max-width: 899px) { .hero-stage .ph-more { display: none; } }

/* placeholder drawings: a hairline elevation of the window until the photograph arrives */
.ph-art { position: absolute; inset: 0; width: 100%; height: 100%; color: var(--walnut); pointer-events: none; }
.ph-art line, .ph-art rect, .ph-art path { fill: none; stroke: currentColor; stroke-width: 1; vector-effect: non-scaling-stroke; opacity: .42; }
.ph-art .f { opacity: .2; }
.ph-art .k { stroke-width: 2.5; opacity: .75; }
.ph-art .d { opacity: .6; }
.ph-art .fill { fill: var(--limewash); fill-opacity: .5; }
.ph-art .sun { fill: var(--daylight); stroke: none; opacity: .7; }
.ph-art .lamp { fill: var(--daylight); stroke: none; }
.ph-art.on-dark { color: var(--limewash); }
.slot:not(.ph) .ph-art { display: none; }
.slot.ph:has(.ph-art)::before { display: none; }
.slot.ph:has(.ph-art) .slot-label { background: none; padding: 0; left: 14px; bottom: 12px; font-size: 11.5px; }
.slot.ph:has(.ph-art.on-dark) .slot-label, .slot.ph:has(.ph-art.on-dark) .slot-label b { color: rgba(244, 240, 233, .75); }

/* the range: three still moments, staggered, never touching */
.rg { display: grid; grid-template-columns: 1fr 1fr; gap: 36px 14px; }
.rg-h { grid-column: 1 / -1; max-width: 11ch; }
.rg-i { display: block; color: var(--walnut); text-decoration: none; }
.rg-a { grid-column: 1 / -1; }
.rg-c { margin-top: 64px; }
.rg-t { display: block; margin-top: 14px; }
.rg-n { display: block; font: 400 28px/1.05 var(--display); letter-spacing: -.015em; transition: color .3s var(--ease); }
.rg-a .rg-n { font-size: 36px; }
.rg-l { display: block; margin-top: 6px; color: var(--walnut-soft); font-size: 15px; line-height: 1.45; max-width: 34ch; }
.rg-i:hover .rg-n, .rg-i:focus-visible .rg-n { color: var(--accent); }
.rg-more { grid-column: 1 / -1; margin: 8px 0 0; font: 400 22px/1.4 var(--display); max-width: 34ch; }
.rg-more a { color: var(--walnut); text-decoration-thickness: 1px; text-decoration-color: var(--flax); }
.rg-more a:hover { color: var(--accent); text-decoration-color: currentColor; }
@media (min-width: 900px) {
  .rg { grid-template-columns: repeat(12, 1fr); column-gap: clamp(20px, 2.6vw, 40px); row-gap: 0; align-items: start; }
  .rg-h { grid-column: 1 / 6; grid-row: 1; align-self: start; padding-top: 24px; }
  .rg-a { grid-column: 7 / 13; grid-row: 1; }
  .rg-b { grid-column: 2 / 6; grid-row: 1; align-self: end; margin-bottom: -150px; }
  .rg-c { grid-column: 8 / 12; grid-row: 2; margin-top: 110px; }
  .rg-more { grid-column: 1 / 7; grid-row: 2; align-self: end; margin: 0 0 8px; font-size: 26px; }
  .rg-n { font-size: clamp(32px, 3vw, 44px); }
  .rg-a .rg-n { font-size: clamp(40px, 4vw, 60px); }
  .rg-l { font-size: 16.5px; }
}

/* one honest statement on the harbour colour field */
.h-say { background: var(--harbour); }
.say-big { margin: 0; max-width: 21ch; font: 400 clamp(32px, 4.8vw, 70px)/1.08 var(--display); letter-spacing: -.02em; }
.say-sub { margin: 28px 0 0; max-width: 34ch; font-size: 17px; }
@media (min-width: 900px) { .say-sub { margin-left: 50%; font-size: 19px; } }

/* three rooms, offset and captioned */
.rooms { display: grid; gap: 30px; }
.rooms figure { margin: 0; }
.rooms-h p { margin: 14px 0 4px; color: var(--walnut-soft); max-width: 30ch; }
.rooms-b { width: 72%; margin-left: auto; }
@media (min-width: 900px) {
  .rooms { grid-template-columns: repeat(12, 1fr); column-gap: clamp(20px, 2.6vw, 40px); row-gap: 0; align-items: start; }
  .rooms-h { grid-column: 1 / 6; grid-row: 1; padding-bottom: 64px; }
  .rooms-a { grid-column: 1 / 6; grid-row: 2 / 4; }
  .rooms-b { grid-column: 8 / 12; grid-row: 1 / 3; width: auto; margin-top: 40px; }
  .rooms-c { grid-column: 6 / 13; grid-row: 3; margin-top: 80px; }
}

/* the visit, set out like a dimension line */
.vs-top { display: grid; gap: 14px; }
.vs-top .lead { margin: 0; }
@media (min-width: 900px) { .vs-top { grid-template-columns: 6fr 5fr; gap: 80px; align-items: end; } }
.span { position: relative; list-style: none; margin: 44px 0 0; padding: 0; }
.span::before { content: ''; position: absolute; left: 21.5px; top: 22px; bottom: 30px; width: 1px; background: var(--walnut); opacity: .35; }
.span li { position: relative; padding: 0 0 30px 64px; }
.span li:last-child { padding-bottom: 0; }
.span li > b { position: absolute; left: 0; top: 0; width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: var(--linen); border: 1px solid var(--walnut); font: 400 20px/1 var(--display); }
.span li:last-child > b { background: var(--walnut); color: var(--limewash); }
.span h3 { font-size: 25px; padding-top: 7px; margin-bottom: 6px; }
.span p { margin: 0; color: var(--walnut-soft); max-width: 32ch; }
@media (min-width: 900px) {
  .span { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0 clamp(24px, 3vw, 48px); margin-top: 72px; }
  .span::before { left: 0; right: 0; top: 22px; bottom: auto; width: auto; height: 1px; }
  .span::after { content: ''; position: absolute; left: 0; right: 0; top: 14px; height: 17px; border-inline: 1px solid var(--walnut); opacity: .45; }
  .span li { padding: 76px 0 0; }
  .span li > b { left: 0; }
  .span h3 { padding-top: 0; font-size: clamp(24px, 2.2vw, 30px); }
}

/* closing: the same room at dusk, then the booking form on the one dark band */
.close-ph { padding-bottom: 0; }
.close-ph .slot { margin-bottom: -1px; border-bottom-left-radius: 0 !important; border-bottom-right-radius: 0 !important; }
.close-h { padding-top: clamp(48px, 7vw, 96px); }
.close-h h2 { max-width: 10ch; }
.cl-call { margin-top: 22px; color: rgba(244, 240, 233, .8); }
.cl-call a { font-weight: 500; }
.cl-note { margin: 0; font-size: 14px; color: rgba(244, 240, 233, .7); }
.sec-d .chipset input:focus-visible + span { outline-color: var(--limewash); }
@media (max-width: 699px) { .close-h .btn { width: 100%; } }
.sec-d .fld legend { color: rgba(244, 240, 233, .75); }
.close-ph .slot { aspect-ratio: 3 / 2 !important; max-height: 86svh; }
.close-ph .slot > img { object-position: 50% 60%; }
/* Night: curtain closed, room dark, hero text turns light (desktop overlay only) */
@media (min-width: 900px) {
  .hero-copy { transition: color .8s var(--ease); }
  .hero.night .hero-copy, .hero.night .hero-copy .tl { color: var(--limewash); }
  .hero.night .hero-copy .btn { --b: var(--limewash); --f: var(--walnut); --hb: #FFFFFF; --hf: var(--walnut); }
}

/* Interim hero: real photo from the live site, light text over a soft scrim */
.hero-stage .hero-photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-stage .hero-photo[hidden] { display: none; }
@media (min-width: 900px) {
  .hero.static.photo { height: auto; }
  .hero.static.photo .hero-pin { position: relative; top: 0; height: calc(100svh - var(--hdr)); }
  .hero.static.photo .hero-stage { height: 100%; }
  .hero.static.photo .hero-copy { position: absolute; z-index: 2; padding: 0 var(--gut) 56px; }
  .hero.photo .hero-stage::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(28,24,21,.62) 0%, rgba(28,24,21,.35) 45%, rgba(28,24,21,0) 75%); pointer-events: none; }
  .hero.photo .hero-copy, .hero.photo .hero-copy .tl { color: var(--limewash); }
  .hero.photo .hero-copy .btn { --b: var(--limewash); --f: var(--walnut); --hb: #FFFFFF; --hf: var(--walnut); }
}
/* Hero over the photo: no button on desktop (the header already carries Book a home visit) */
@media (min-width: 900px) { .hero.photo .hero-copy .btn { display: none; } }
/* Hero stays put while the next section slides up over it with rounded top corners */
@media (min-width: 900px) {
  .hero.static.photo { position: sticky; top: var(--hdr); z-index: 0; }
  .hero.photo + * { position: relative; z-index: 1; border-radius: 40px 40px 0 0; }
  .hero.static.photo ~ * { position: relative; z-index: 1; }
  .hero.static.photo ~ *:not(.sec-t) { background: var(--limewash); }
}

/* ---------- home: live copy sections (15 Nov 2026) ---------- */
.hero.photo .hero-copy h1 { max-width: 16ch; font-size: clamp(34px, 9vw, 46px); }
.hero.photo .hero-copy .lead { max-width: 52ch; font-size: 15px; line-height: 1.42; }
@media (min-width: 900px) { .hero.photo .hero-copy h1 { max-width: 15ch; font-size: clamp(52px, 5.2vw, 76px); } .hero.photo .hero-copy .lead { font-size: 18px; max-width: 48ch; } }
.hm-two { display: grid; gap: 28px; }
.hm-ph { margin: 0; }
.hm-ph img, .hm-gal img { display: block; width: 100%; height: auto; border-radius: 24px; background: var(--linen); }
.hm-prose .lead { margin-bottom: 1.1em; }
.hm-list { list-style: none; margin: 24px 0 0; padding: 0; display: grid; gap: 12px; font: 400 clamp(22px, 5.4vw, 30px)/1.15 var(--display); letter-spacing: -.01em; }
.hm-close { margin: 28px 0 0; color: var(--walnut-soft); max-width: 36ch; }
.hm-links { display: grid; gap: 6px; margin-top: 24px; justify-items: start; }
.hm-links a { font: 400 clamp(32px, 8.5vw, 48px)/1.1 var(--display); letter-spacing: -.015em; color: var(--walnut); text-decoration: none; padding: 6px 0; }
.hm-links a::after { content: ' \2192'; color: var(--flax); transition: color .3s var(--ease); }
.hm-links a:hover, .hm-links a:focus-visible { color: var(--accent); }
.hm-links a:hover::after { color: var(--accent); }
.hm-big { font: 400 clamp(22px, 5.6vw, 34px)/1.3 var(--display); letter-spacing: -.01em; max-width: 34ch; }
.hm-gal { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 32px; }
.hm-gal figure { margin: 0; }
.hm-gal figure:nth-child(even) { margin-top: 28px; }
.hm-contact .cl-call { margin-top: 22px; font-size: 20px; line-height: 1.7; }
.hm-contact .form { display: grid; gap: 16px; }
@media (min-width: 900px) {
  .hm-two { grid-template-columns: repeat(12, 1fr); column-gap: clamp(24px, 3vw, 48px); align-items: start; }
  .hm-diff .hm-two > h2 { grid-column: 1 / 6; }
  .hm-diff .hm-big { grid-column: 7 / 13; margin-top: 8px; }
  .hm-photo-l .hm-ph { grid-column: 1 / 7; }
  .hm-photo-l > div:last-child { grid-column: 8 / 13; align-self: center; }
  .hm-photo-r > div:first-child { grid-column: 1 / 6; align-self: center; }
  .hm-photo-r .hm-ph { grid-column: 7 / 13; }
  .hm-gal { grid-template-columns: repeat(3, 1fr); gap: 20px; }
  .hm-gal figure:nth-child(even) { margin-top: 0; }
  .hm-gal figure:nth-child(3n+2) { margin-top: 48px; }
}
.hero.static.photo ~ .sec-d { background: var(--dusk); }

/* home What we do: tabbed product showcase */
.ps { margin-top: 28px; }
.ps-tabs { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 16px; }
.ps-tabs::-webkit-scrollbar { display: none; }
.ps-tab { flex: 0 0 auto; display: inline-flex; align-items: center; gap: 10px; min-height: 48px; padding: 0 18px; border-radius: 2px; border: 1px solid var(--flax); background: transparent; color: var(--walnut); font: 500 14px/1 var(--sans); cursor: pointer; white-space: nowrap; transition: background .4s var(--ease), color .4s var(--ease); }
.ps-tab svg { width: 22px; height: 22px; }
.ps-tab.on { background: var(--walnut); border-color: var(--walnut); color: var(--limewash); }
.ps-panel { display: none; }
.ps-panel.on { display: block; }
.ps-photo img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 24px; }
.ps-card { margin-top: 16px; }
.ps-card h3 { font-size: 30px; line-height: 1.08; }
.ps-rule { display: block; width: 120px; height: 1px; background: var(--walnut); margin: 16px 0; }
.ps-card p { margin: 0 0 20px; font-size: 16px; line-height: 1.55; color: var(--walnut-soft); }
.ps-btn { display: inline-flex; align-items: center; gap: 10px; min-height: 48px; padding: 0 24px; border: 1px solid var(--walnut); border-radius: 2px; background: linear-gradient(var(--walnut), var(--walnut)) no-repeat 0 0 / 0% 100%; color: var(--walnut); text-decoration: none; font: 500 12.5px/1 var(--sans); letter-spacing: .14em; text-transform: uppercase; transition: background-size .45s var(--ease), color .3s var(--ease); }
.ps-btn:hover, .ps-btn:focus-visible { background-size: 100% 100%; color: var(--limewash); }
@media (min-width: 900px) {
  .ps { position: relative; height: clamp(560px, 46vw, 640px); border-radius: 28px; overflow: hidden; background: var(--walnut); margin-top: 40px; }
  .ps-stage { position: absolute; inset: 0; }
  .ps-panel { display: block; position: absolute; inset: 0; opacity: 0; visibility: hidden; transition: opacity .6s var(--ease), visibility 0s linear .6s; }
  .ps-panel.on { opacity: 1; visibility: visible; transition: opacity .6s var(--ease), visibility 0s; }
  .ps-photo, .ps-photo img { position: absolute; inset: 0; width: 100%; height: 100%; aspect-ratio: auto; border-radius: 0; }
  .ps-card { position: absolute; top: 40px; left: 40px; width: min(400px, 38%); margin: 0; padding: 36px 36px 38px; background: var(--limewash); border-radius: 20px; }
  .ps-card h3 { font-size: 38px; }
  .ps-tabs { position: absolute; z-index: 2; left: 0; right: 0; bottom: 0; margin: 0; padding: 12px 20px 0; gap: 4px; flex-wrap: nowrap; background: var(--walnut); align-items: flex-end; overflow: visible; }
  .ps-tab { flex: 1 1 0; justify-content: center; flex-direction: column; gap: 8px; min-height: 84px; padding: 14px 8px 16px; border: 0; border-radius: 3px 3px 0 0; background: transparent; color: rgba(244, 240, 233, .78); font-size: 14px; }
  .ps-tab svg { width: 30px; height: 30px; }
  .ps-tab:hover { color: var(--limewash); }
  .ps-tab.on { background: var(--limewash); color: var(--walnut); margin-top: -10px; min-height: 94px; }
  .ps-tab:focus-visible { outline-color: var(--daylight); outline-offset: -3px; }
}

/* home Why choose: four icon cards. Hover or focus lifts the card, fills the icon badge walnut, animates the icon (tape extends, swatch fans, light rays, route draws) and sweeps a walnut line along the base. */
.wc { list-style: none; margin: 36px calc(var(--gut) * -1) 0; padding: 6px var(--gut) 18px; display: grid; grid-auto-flow: column; grid-auto-columns: 82%; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding: 0 var(--gut); scrollbar-width: none; }
.wc::-webkit-scrollbar { display: none; }
.wc-card { position: relative; overflow: hidden; scroll-snap-align: start; display: flex; flex-direction: column; padding: 26px 24px 30px; border-radius: 28px; background: var(--linen); outline: none; transition: transform .55s var(--ease), box-shadow .55s var(--ease), background .55s var(--ease); }
.wc-badge { display: grid; place-items: center; width: 76px; height: 76px; border-radius: 50%; background: var(--limewash); color: var(--walnut); margin-bottom: 30px; transition: background .5s var(--ease), color .5s var(--ease), transform .6s var(--ease); }
.wc-ic { width: 46px; height: 46px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; overflow: visible; }
.wc-ic * { transition: transform .7s var(--ease), stroke-dashoffset .9s var(--ease), opacity .5s var(--ease); }
.wc-tape { transform: translateX(-6px); }
.wc-sw-b, .wc-sw-f { transform-box: fill-box; transform-origin: 50% 100%; }
.wc-rays { opacity: .35; transform: translateX(-3px); }
.wc-route, .wc-chk { stroke-dasharray: 1; stroke-dashoffset: 0; }
@keyframes wc-draw { from { stroke-dashoffset: 1; } to { stroke-dashoffset: 0; } }
.wc-card h3 { font-size: 26px; line-height: 1.1; margin: 0 0 12px; }
.wc-card p { margin: 0; color: var(--walnut-soft); font-size: 16px; line-height: 1.55; }
.wc-line { position: absolute; left: 26px; right: 26px; bottom: 22px; height: 1.5px; background: var(--walnut); transform: scaleX(0); transform-origin: left; transition: transform .7s var(--ease); }
.wc-card:focus-visible { box-shadow: 0 0 0 2px var(--limewash), 0 0 0 4px var(--walnut); }
@media (hover: hover) {
  .wc-card:hover { transform: translateY(-8px); box-shadow: 0 24px 48px -26px rgba(42, 35, 32, .45); }
}
.wc-card:is(:hover, :focus-visible) .wc-badge { background: var(--walnut); color: var(--limewash); transform: rotate(-6deg); }
.wc-card:is(:hover, :focus-visible) .wc-tape { transform: translateX(2px); }
.wc-card:is(:hover, :focus-visible) .wc-sw-b { transform: rotate(-12deg); }
.wc-card:is(:hover, :focus-visible) .wc-sw-f { transform: rotate(8deg); }
.wc-card:is(:hover, :focus-visible) .wc-rays { opacity: 1; transform: none; }
.wc-card:is(:hover, :focus-visible) .wc-route { animation: wc-draw .9s var(--ease) both; }
.wc-card:is(:hover, :focus-visible) .wc-chk { animation: wc-draw .5s var(--ease) .7s both; }
.wc-card:is(:hover, :focus-visible) .wc-line { transform: scaleX(1); }
.wc-card:focus-visible { transform: translateY(-8px); }
@media (min-width: 700px) {
  .wc { margin: 44px 0 0; padding: 0; grid-auto-flow: row; grid-template-columns: repeat(2, 1fr); grid-auto-columns: auto; gap: 20px; overflow: visible; }
  .wc-card { padding: 34px 30px 40px; }
}
@media (min-width: 1100px) {
  .wc { grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: 52px; }
  .wc-card { min-height: 340px; }
  .wc-card h3 { margin-top: auto; }
  .wc-card h3 { font-size: clamp(25px, 2vw, 30px); }
  .wc-line { left: 30px; right: 30px; }
}
@media (prefers-reduced-motion: reduce) { .wc-card, .wc-badge, .wc-ic *, .wc-line { transition: none; } .wc-card:hover, .wc-card:focus-visible { transform: none; } .wc-card:is(:hover, :focus-visible) .wc-badge { transform: none; } .wc-card .wc-route, .wc-card .wc-chk { animation: none !important; } }

/* gallery */
.gal-f { position: relative; display: flex; flex-wrap: wrap; gap: 0 28px; margin-top: 32px; border-bottom: 1px solid var(--hair); }
.gal-f button { position: relative; display: inline-flex; align-items: center; gap: 6px; min-height: 48px; padding: 0; border: 0; border-radius: 0; background: none; font: 500 12.5px/1 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--walnut-soft); cursor: pointer; white-space: nowrap; transition: color .3s var(--ease); }
.gal-f button::after { content: ''; position: absolute; left: 0; right: 0; bottom: -1px; height: 1.5px; background: var(--walnut); transform: scaleX(0); transform-origin: left; transition: transform .45s var(--ease); }
.gal-f button:hover, .gal-f button[aria-pressed=true] { color: var(--walnut); }
.gal-f button[aria-pressed=true]::after { transform: scaleX(1); }
.gal-f sup { font: 500 10.5px/1 var(--sans); letter-spacing: 0; opacity: .6; position: relative; top: -.5em; vertical-align: baseline; }
.gal-f button:focus-visible { outline: 1.5px solid var(--walnut); outline-offset: 2px; }
@media (prefers-reduced-motion: reduce) { .gal-f button::after, .gal-i { transition: none !important; } }
.gal-i { contain: layout paint; }
.gal-i img { display: block; width: 100%; height: auto; border-radius: 20px; }
.gal-i[hidden] { display: none; }
.gal-i .cap { margin-top: 10px; }


/* About section (fabric rail): assets/css/home-about.css */

/* Product page hero photo (shown while the 3D/animated scenes are hidden, see scripts/flags.mjs) */
.ph-photo { margin: 0; }
.ph-photo img { display: block; width: 100%; height: auto; max-height: 78svh; object-fit: cover; border-radius: var(--r); }

/* Sample viewer, request form and list */
.fld[hidden] { display: none; }
.chipset.stack { flex-direction: column; }
.chipset.stack label { width: 100%; }
.chipset.stack span { width: 100%; border-radius: 2px; padding: 12px 16px; min-height: 52px; }
#sample-request { width: min(560px, calc(100vw - 24px)); }
#sample-request .sr-in { padding: 0; }
#sample-request .sr-lead { margin: 0 0 8px; color: var(--walnut-soft); }
#sample-request .sr-lead b { color: var(--walnut); font-weight: 500; }
#sample-request .tray-list { min-height: 0; margin: 0 0 14px; }
#sample-request .form { gap: 14px; }
#sample-request legend { margin-bottom: 4px; }
dialog.sv { width: min(980px, calc(100vw - 24px)); padding: 0; overflow: auto; }
.sv-in { position: relative; display: grid; }
.sv-stage { display: grid; place-items: center; padding: 56px 20px 20px; background: radial-gradient(90% 80% at 30% 85%, #F2ECE2, #E4DBCC 70%); touch-action: pan-y; }
.sv-card { background: #FBF8F2; padding: 12px; border-radius: 6px; box-shadow: 0 22px 40px rgba(50, 36, 24, .22), 0 2px 4px rgba(50, 36, 24, .12); width: min(260px, 62vw); }
.sv-card canvas { display: block; width: 100%; aspect-ratio: 4 / 5; height: auto; border-radius: 2px; }
@media (prefers-reduced-motion: no-preference) {
  .sv-card.sl-n { animation: svn .32s var(--ease); }
  .sv-card.sl-p { animation: svp .32s var(--ease); }
  @keyframes svn { from { opacity: 0; transform: translateX(28px); } }
  @keyframes svp { from { opacity: 0; transform: translateX(-28px); } }
}
.sv-side { padding: 20px 22px 26px; display: flex; flex-direction: column; align-items: flex-start; }
.sv-ctl { display: flex; align-items: center; gap: 14px; margin-bottom: 14px; }
.sv-nav { width: 48px; height: 48px; border-radius: 2px; border: 1px solid rgba(42, 35, 32, .28); background: var(--limewash); color: var(--walnut); display: grid; place-items: center; cursor: pointer; padding: 0; }
.sv-nav:hover { border-color: var(--walnut); }
.sv-nav svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.sv-count { margin: 0; min-width: 64px; text-align: center; font: 500 15px/1 var(--sans); color: var(--walnut-soft); }
.sv-name { font: 400 clamp(30px, 4vw, 44px)/1.05 var(--display); margin: 0; padding: 0; }
.sv-type { margin: 6px 0 0; color: var(--walnut-soft); font-weight: 500; }
.sv-use { margin: 14px 0 20px; max-width: 34ch; }
[data-sv-add].is-full { opacity: .5; }
.sv-msg { min-height: 1.4em; margin: 10px 0 6px; font-size: 14px; color: var(--walnut-soft); }
.sv-in :is(button, a):focus-visible, #sample-request :is(button, input):focus-visible { outline: 2px solid var(--walnut); outline-offset: 2px; }
dialog.sv .x { z-index: 2; }
@media (min-width: 800px) {
  .sv-in { grid-template-columns: 1.05fr 1fr; }
  .sv-stage { padding: 48px 36px; }
  .sv-card { width: min(320px, 100%); }
  .sv-side { justify-content: center; padding: 48px 44px 40px 40px; }
}
@media (max-width: 799px) { dialog.sv .x { background: rgba(251, 248, 242, .8); border-radius: 50%; } }
button.tl { background: none; border: 0; padding: 0; font: inherit; font-weight: 500; cursor: pointer; text-align: left; }
.tl[hidden] { display: none; }
.sv-name:focus { outline: none; }
.tray-bar:not(.show) { visibility: hidden; }
.ps-photo img[src*="roman-white-sash"] { object-position: 50% 28%; }


/* ---------- Mobile pass (16 Nov 2026) ---------- */
/* phone menu: staggered rows, hairlines, arrow, current page */
.mm { padding-bottom: calc(40px + env(safe-area-inset-bottom)); overscroll-behavior: contain; }
.mm > * { opacity: 0; transform: translateY(14px); transition: opacity .45s var(--ease), transform .55s cubic-bezier(.2,.8,.2,1); }
.menu-open .mm > * { opacity: 1; transform: none; }
.menu-open .mm > :nth-child(2) { transition-delay: .03s; } .menu-open .mm > :nth-child(3) { transition-delay: .06s; }
.menu-open .mm > :nth-child(4) { transition-delay: .09s; } .menu-open .mm > :nth-child(5) { transition-delay: .12s; }
.menu-open .mm > :nth-child(6) { transition-delay: .15s; } .menu-open .mm > :nth-child(n+7) { transition-delay: .18s; }
.mm .b { display: flex; align-items: center; justify-content: space-between; font-size: clamp(30px, 8.6vw, 38px); padding: 10px 0; border-bottom: 1px solid var(--hair); }
.mm .b::after { content: ''; width: 9px; height: 9px; border-top: 1.5px solid currentColor; border-right: 1.5px solid currentColor; transform: rotate(45deg); margin-right: 6px; opacity: .45; transition: transform .3s var(--ease), opacity .3s; }
.mm .b:active::after { transform: translateX(4px) rotate(45deg); opacity: 1; }
.mm a[aria-current] { color: var(--accent); }
.mm hr { display: none; }
.mm .b + .s { margin-top: 14px; }
.mm .s { display: flex; align-items: center; }
.mm .pin { position: sticky; bottom: 0; margin: 22px calc(var(--gut) * -1) 0; padding: 14px var(--gut) calc(6px + env(safe-area-inset-bottom)); background: var(--limewash); border-top: 1px solid var(--hair); grid-template-columns: auto 1fr; align-items: center; gap: 14px; }
.mm .pin .btn { width: 100%; justify-content: center; }
@media (prefers-reduced-motion: reduce) { .mm > * { transition: none; transform: none; } }

/* press states on touch */
@media (hover: none) {
  .btn:active, .sbar a:active, .ps-tab:active, .chip:active, .gal-f button:active { transform: scale(.97); }
  .btn, .sbar a, .ps-tab, .chip, .gal-f button { transition-property: transform, background, color, border-color; transition-duration: .18s; }
}


/* bigger tap targets: header logo, footer links, inline phone and text links */
.logo { display: inline-flex; align-items: center; min-height: 44px; }
@media (max-width: 899px) {
  .foot a { display: flex; align-items: center; min-height: 44px; width: fit-content; }
  .lead a[href^="tel:"], p a[href^="tel:"], p a[href^="mailto:"] { display: inline-block; padding: 12px 0; margin: -12px 0; }
  .tl { display: inline-flex; align-items: center; min-height: 44px; }
}
/* keep page content clear of the phone Call/Book bar and the samples bar */
@media (max-width: 899px) { body { padding-bottom: calc(72px + env(safe-area-inset-bottom)); } }
.mm .pin .btn { display: inline-flex; align-items: center; justify-content: center; min-height: 52px; line-height: 1.1; }
.mm .pin a:not(.btn) { display: inline-flex; align-items: center; }
/* nothing fixed peeks out behind an open dialog on phone */
body:has(dialog[open]) .sbar, body:has(dialog[open]) .tray-bar { visibility: hidden; }
.way > a { display: inline-flex; align-items: center; min-height: 44px; }

/* review 01: picker visuals that change with the chosen option */
.pk-vis { position: relative; aspect-ratio: 4 / 3; border-radius: 24px; overflow: hidden; background: var(--linen); }
.pk-v { position: absolute; inset: 0; opacity: 0; transition: opacity .5s var(--ease); display: grid; place-items: center; }
.pk-v.on { opacity: 1; }
.pk-v svg { width: 86%; height: auto; }
.pk-v img { width: 100%; height: 100%; object-fit: cover; }
@media (prefers-reduced-motion: reduce) { .pk-v { transition: none; } }

/* review 02: Inspiration uses real installs, square crops, link to the gallery */
.hm-gal img { aspect-ratio: 1; object-fit: cover; height: auto; transition: transform .6s var(--ease); }
.hm-gal a { display: block; border-radius: 24px; overflow: hidden; }
.hm-gal a:hover img, .hm-gal a:focus-visible img { transform: scale(1.03); }
.hm-gal-more { margin: 36px 0 0; }

/* review 03: Products list swaps the photo on hover or focus */
.hm-swap { position: relative; aspect-ratio: 4 / 3; border-radius: 24px; overflow: hidden; background: var(--linen); }
.hm-swap figure { position: absolute; inset: 0; margin: 0; opacity: 0; transition: opacity .55s var(--ease); }
.hm-swap figure.on { opacity: 1; }
.hm-swap img { width: 100%; height: 100%; object-fit: cover; border-radius: 0; }
@media (prefers-reduced-motion: reduce) { .hm-swap figure { transition: none; } }

/* review 04: Our difference gets a real photo of the work on site */
.hm-diff-ph { margin: 28px 0 0; }
.hm-diff-ph img { display: block; width: 100% !important; height: auto !important; aspect-ratio: 5 / 4 !important; object-fit: cover; object-position: 50% 58%; border-radius: 24px; }
.hm-diff-ph .cap { margin-top: 10px; }
@media (min-width: 900px) {
  .hm-diff .hm-two > h2 { grid-row: 1; }
  .hm-diff-ph { grid-column: 1 / 6; grid-row: 2; margin-top: 12px; }
  .hm-diff .hm-big { grid-row: 1 / span 2; align-self: center; margin-top: 0; }
}

/* review 08: Measure and quote, what we measure at each window */
.mq-list { list-style: none; margin: 28px 0 0; padding: 0; display: grid; gap: 14px; }
.mq-list li { display: grid; grid-template-columns: 30px 1fr; gap: 14px; align-items: start; }
.mq-list b { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--walnut); color: var(--limewash); font: 500 13px/1 var(--sans); margin-top: 2px; }
.mq-list strong { display: block; font: 400 21px/1.25 var(--display); color: var(--walnut); font-weight: 400; }
.mq-list span { color: var(--walnut-soft); }
.mq-fig { margin: 0; border-radius: 24px; background: var(--linen); padding: clamp(16px, 4vw, 40px); }
.mq-fig svg { display: block; width: 100%; height: auto; }

/* review 09: trade page entry to the designer portal demo */
.tr-portal .acts { display: flex; flex-wrap: wrap; align-items: center; gap: 18px; margin-top: 28px; }
.tr-note { font: 500 13px/1 var(--sans); color: var(--limewash); opacity: .6; }
.tr-ph { margin: 0; }
.tr-ph img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 24px; }
@media (min-width: 900px) { .tr-portal .two { align-items: center; } }

/* ---------- Mobile pass 2 (design lead, 16 Nov 2026 evening) ---------- */
/* Hero on phone and tablet: the same layered composition as desktop. The photo fills the first screen,
   cropped to the windows and blinds (no floor), the headline, lead and button sit over it on a soft scrim,
   and the next section slides up over the still hero with rounded top corners. */
@media (max-width: 899px) {
  .hero.photo { position: sticky; top: var(--hdr); z-index: 0; }
  .hero.photo .hero-pin { position: relative; height: calc(100svh - var(--hdr)); min-height: 560px; max-height: 960px; }
  .hero.photo .hero-stage { position: absolute; inset: 0; height: auto; min-height: 0; background: var(--ink); }
  .hero.photo .hero-stage .hero-photo { inset: -24% 0 auto 0; height: 150%; object-position: 50% 0; animation: hero-in 2.4s var(--ease) both; transform-origin: 50% 40%; }
  .hero.photo .hero-stage::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(21,18,16,0) 30%, rgba(21,18,16,.38) 52%, rgba(21,18,16,.82) 100%); pointer-events: none; }
  .hero.photo .hero-copy { position: absolute; z-index: 2; left: 0; right: 0; bottom: 0; padding: 0 var(--gut) 28px; color: var(--limewash); }
  .hero.photo .hero-copy h1 { font-size: clamp(36px, 10.4vw, 52px); line-height: 1; max-width: 12ch; }
  .hero.photo .hero-copy .lead { font-size: 15px; line-height: 1.45; max-width: 44ch; color: rgba(244, 240, 233, .88); margin-top: 14px; }
  .hero.photo .hero-copy .acts { margin-top: 22px; }
  .hero.photo .hero-copy .btn { --b: var(--limewash); --f: var(--ink); --hb: #FFFFFF; --hf: var(--ink); }
  .hero.photo ~ * { position: relative; z-index: 1; }
  .hero.photo ~ *:not(.sec-t):not(.sec-d):not(.hm-plan) { background: var(--limewash); }
  .hero.photo + * { border-radius: 24px 24px 0 0; margin-top: -24px; }
}
@media (min-width: 600px) and (max-width: 899px) {
  .hero.photo .hero-copy { padding-bottom: 44px; }
  .hero.photo .hero-copy .acts .btn { width: auto; }
}
@keyframes hero-in { from { transform: scale(1.06); } to { transform: none; } }
@media (prefers-reduced-motion: reduce) { .hero.photo .hero-stage .hero-photo { animation: none; } }

/* What we do on phone: the desktop showcase scaled down. Photo fills the frame, the card sits over it,
   the walnut tab bar runs along the bottom with the active tab lifting in cream. */
@media (max-width: 899px) {
  .ps { position: relative; height: 640px; margin-top: 28px; border-radius: 20px; overflow: hidden; background: var(--walnut); }
  .ps-stage { position: absolute; inset: 0; }
  .ps-panel { display: block; position: absolute; inset: 0; opacity: 0; visibility: hidden; transition: opacity .5s var(--ease), visibility 0s linear .5s; }
  .ps-panel.on { opacity: 1; visibility: visible; transition: opacity .5s var(--ease), visibility 0s; }
  .ps-photo, .ps-photo img { position: absolute; inset: 0; width: 100%; height: 100%; aspect-ratio: auto; border-radius: 0; }
  .ps-card { position: absolute; left: 12px; right: 12px; bottom: 88px; margin: 0; padding: 22px 20px 22px; background: var(--limewash); border-radius: 14px; }
  .ps-card h3 { font-size: 26px; }
  .ps-rule { width: 72px; margin: 12px 0; }
  .ps-card p { font-size: 15px; line-height: 1.5; margin-bottom: 16px; }
  .ps-tabs { position: absolute; z-index: 2; left: 0; right: 0; bottom: 0; margin: 0; padding: 8px 6px 0; gap: 2px; flex-wrap: nowrap; background: var(--walnut); align-items: flex-end; }
  .ps-tab { flex: 1 1 0; min-width: 0; justify-content: center; flex-direction: column; gap: 6px; min-height: 70px; padding: 10px 2px 12px; border: 0; border-radius: 3px 3px 0 0; background: transparent; color: rgba(244, 240, 233, .78); font-size: 10.5px; line-height: 1.15; letter-spacing: .02em; white-space: normal; text-align: center; }
  .ps-tab svg { width: 24px; height: 24px; }
  .ps-tab.on { background: var(--limewash); color: var(--walnut); margin-top: -6px; min-height: 76px; }
  .ps-tab:focus-visible { outline-color: var(--limewash); outline-offset: -3px; }
}
@media (max-width: 374px) { .ps { height: 670px; } .ps-card { padding: 18px 16px; } .ps-card h3 { font-size: 24px; } .ps-card p { font-size: 14.5px; } }
@media (min-width: 600px) and (max-width: 899px) { .ps { height: 600px; } .ps-card { right: auto; width: min(420px, 62%); top: 20px; left: 20px; bottom: auto; } .ps-tab { font-size: 12.5px; } }

/* Buttons on phone: full width, one consistent height, pairs stacked with an even gap,
   the text link under a button centred on it */
@media (max-width: 599px) {
  .btn, .ps-btn { min-height: 52px; padding: 0 20px; }
  .acts { display: grid; grid-template-columns: 1fr; gap: 10px; justify-items: stretch; }
  .acts .btn { width: 100%; }
  .acts .tl { justify-self: center; }
  .sec .btn, .cta .btn, .hm-plan .btn, .ps-btn, .tr-portal .btn, .way .btn { width: 100%; }
  .ps-btn { justify-content: center; }
  .btn-s { min-height: 48px; }
  .sbar { gap: 8px; }
  .chip, .chipset span { padding: 0 16px; }
}
/* tap targets: tag links and short footer links reach 44px */
.cloud a { min-height: 44px; }
.foot a { min-width: 44px; }

/* Logo: exact live-site SVG wordmark (drapewell.com.au, v2): Instrument Serif + Instrument Sans */
@font-face{font-family:"Instrument Serif";src:url(../fonts/instrument-serif.woff2) format("woff2");font-weight:400;font-style:normal;font-display:swap;ascent-override:98%;descent-override:10%;line-gap-override:0%}
@font-face{font-family:"Instrument Sans";src:url(../fonts/instrument-sans.woff2) format("woff2");font-weight:400 700;font-stretch:75% 100%;font-style:normal;font-display:swap}
.logo{display:inline-flex;align-items:center;width:150px;min-height:44px;color:var(--ink,#1c1714)}
.logo svg{display:block;width:100%;height:auto;transition:opacity .4s}
.logo:hover svg{opacity:.6}
@media (max-width:899px){.logo{width:118px}}

/* restored 18 Nov 2026: audit build CSS (items 16 to 23) dropped by the logo commit a4ea454 */
/* home Planning: pill photo grow (SCROLL-15). Static end state on phones and with reduced motion; scrubbed pin on desktop. */
.grow { position: relative; z-index: 1; background: var(--limewash); color: var(--walnut); padding-block: clamp(40px, 8vw, 72px) clamp(56px, 9vw, 96px); }
.grow-ph { position: relative; margin: 0 var(--gut); overflow: hidden; border-radius: var(--r); aspect-ratio: 4 / 5; max-height: 72svh; }
.grow-ph img { width: 100%; height: 100%; object-fit: cover; }
.grow-scrim { display: none; }
.grow-copy { padding: 28px var(--gut) 0; }
.grow-h { font-size: clamp(36px, 8vw, 64px); }
.grow-sub p { margin: 16px 0 24px; font-size: 18px; max-width: 40ch; }
.grow-sub .btn { width: 100%; }
@media (min-width: 900px) and (prefers-reduced-motion: no-preference) {
  .grow { height: 220vh; padding: 0; overflow: clip; }
  .grow-stage { position: sticky; top: var(--hdr); height: calc(100svh - var(--hdr)); }
  .grow-ph { position: absolute; left: 50%; top: 50%; margin: 0; max-height: none; aspect-ratio: auto; transform: translate(-50%, -50%); width: calc(34% + (100% - 16px - 34%) * var(--g, 0)); height: calc(46% + (100% - 16px - 46%) * var(--g, 0)); border-radius: var(--rad, 999px); }
  .grow-ph img { transform: scale(calc(1.15 - .15 * var(--g, 0))); will-change: transform; }
  .grow-scrim { display: block; position: absolute; inset: 0; background: rgba(21, 18, 16, .35); opacity: var(--g, 0); }
  .grow-copy { position: absolute; inset: 0; z-index: 2; padding: 0; display: grid; place-content: center; justify-items: center; text-align: center; pointer-events: none; }
  .grow-h { font-size: clamp(56px, 7vw, 112px); color: var(--walnut); transition: color .25s var(--ease); }
  .grow.cover .grow-h { color: var(--limewash); }
  .grow-sub { height: 0; overflow: visible; opacity: var(--c, 0); transform: translateY(calc((1 - var(--c, 0)) * 16px)); }
  .grow-sub p { margin: 18px auto 24px; color: var(--limewash); }
  .grow.live .grow-sub { pointer-events: auto; }
  .grow-sub .btn { width: auto; min-width: 220px; --b: var(--limewash); --f: var(--walnut); --hb: #FFFFFF; --hf: var(--walnut); }
}

/* home contact band: underline fields on dark (FORM-07) */
.hm-contact h2 { max-width: 12ch; font-size: clamp(38px, 5.5vw, 76px); }
.hm-contact .cl-call { font-size: 22px; line-height: 1.6; }
.hm-contact .form { gap: 28px; }
.hm-contact .form .row2 { gap: 28px; }
.hm-contact .fld { gap: 0; }
.hm-contact .fld label { font: 500 13px/1.3 var(--sans); letter-spacing: .06em; text-transform: uppercase; color: rgba(244, 240, 233, .7); }
.hm-contact .fld input, .hm-contact .fld textarea { background: transparent; border: 0; border-bottom: 1px solid rgba(244, 240, 233, .35); border-radius: 0; padding: 14px 0 10px; min-height: 0; color: var(--limewash); font-size: 18px; }
.hm-contact .fld textarea { min-height: 0; resize: vertical; }
.hm-contact .fld input:focus, .hm-contact .fld textarea:focus { outline: 0; border-bottom-color: var(--limewash); }
.hm-contact .fld input:focus-visible, .hm-contact .fld textarea:focus-visible { outline: 2px solid var(--limewash); outline-offset: 2px; border-radius: 2px; }
.hm-contact .fld[data-bad] input, .hm-contact .fld[data-bad] textarea { border-bottom-color: var(--daylight); }
.hm-contact .fld .err { color: var(--daylight); padding-top: 6px; }
.hm-contact .form-ok { background: transparent; border-top: 1px solid rgba(244, 240, 233, .35); border-radius: 0; padding-inline: 0; }
@media (min-width: 900px) { .hm-contact .form .btn { width: auto; min-width: 220px; justify-self: start; } }

/* inner page headers: photo first on phones (audit item 5) */
.ph-photo-first .ph-photo img, .ph-photo-first .slot { aspect-ratio: 4 / 5 !important; max-height: 72svh; width: 100%; height: auto; object-fit: cover; border-radius: var(--r); }
.ph-photo-first .slot { height: auto; }
.ph-photo-first .slot > img { height: 100%; }
@media (max-width: 899px) {
  .ph-head:has(.ph-photo-first) { padding-top: 12px; }
  .ph-photo-first > div:last-child { order: -1; margin-inline: calc(var(--gut) * -1 + 8px); }
  .ph-photo-first .ph-photo img, .ph-photo-first .slot { max-height: 58svh; }
  .ph-photo-first .ph-head-text { padding-block: 8px 0; }
  .ph-photo-first h1 { font-size: clamp(40px, 11vw, 52px); }
  .ph-photo-first .acts { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 0 22px; margin-top: 20px; }
  .ph-photo-first .acts .btn:not(.btn-o) { flex: 0 0 100%; }
  .ph-photo-first .acts .btn-o { width: auto; min-height: 44px; padding: 0; border: 0; background: none; color: var(--accent); font: 500 16px/1 var(--sans); letter-spacing: 0; text-transform: none; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
  .ph-photo-first .acts .btn-o:hover { color: var(--accent); background: none; }
  .ph-photo-first .acts .tl { justify-content: center; }
}

/* pickers: wide variant when there is no picture, and a note under a picker */
.pk-note { margin: 22px 0 0; font-size: 16px; color: var(--walnut-soft); max-width: 52ch; }
.pk.pk-wide .pk-line { font-size: 24px; min-height: 0; }
.sec:has(.pk-wide) { padding-bottom: clamp(40px, 6vw, 80px); }
@media (min-width: 900px) {
  .pk.pk-wide { grid-template-columns: repeat(12, 1fr); column-gap: 24px; align-items: start; }
  .pk.pk-wide .pk-chips { grid-column: 1 / 6; }
  .pk.pk-wide .pk-line { grid-column: 7 / 13; font: 400 clamp(28px, 3.2vw, 44px)/1.2 var(--display); max-width: none; min-height: 2.6em; }
}

/* home Products: full range index; photo circles on phones */
.hm-links a { display: flex; align-items: center; gap: 16px; min-height: 44px; }
.hm-links a::after { margin-left: .15em; }
.hm-th { display: none; }
@media (min-width: 900px) {
  .hm-links { gap: 2px; }
  .hm-links a { font-size: clamp(30px, 3.1vw, 40px); padding: 4px 0; white-space: nowrap; }
  .hm-swap { aspect-ratio: 4 / 5; max-height: 80svh; }
  .hm-swap figure img { aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 60%; }
}
@media (max-width: 899px) {
  .hm-swap { display: none; }
  .hm-links { gap: 4px; width: 100%; }
  .hm-links a { width: 100%; font-size: 30px; min-height: 64px; padding: 4px 0; }
  .hm-links a::after { margin-left: auto; }
  .hm-th { display: block; flex: 0 0 56px; width: 56px; height: 56px; border-radius: 50%; object-fit: cover; background: var(--linen); }
}

/* one large sentence on inner pages */
.say-sec .say-big { max-width: 24ch; font-size: clamp(28px, 4vw, 52px); }

/* one wordmark everywhere */
.wm { font-family: "Instrument Serif", var(--display); letter-spacing: 0; font-size: clamp(48px, 17vw, 280px); }
.foot .foot-logo { margin: 0 0 10px; display: inline-flex; min-height: 44px; }

/* contact: region chips and suburb cloud (INT-07 pattern) */
.area-ui { margin-top: 30px; }
.area-ui[hidden], .areas[hidden] { display: none; }
.area-cloud { list-style: none; margin: 26px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.area-cloud li { margin: 0; }
.area-cloud span, .area-cloud a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 20px; border-radius: 999px; background: var(--linen); color: var(--walnut); font-size: 15px; text-decoration: none; }
.area-cloud a.here { background: var(--walnut); color: var(--limewash); }
.area-cloud a.here:hover { background: var(--ink); }
.area-ui .chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip[aria-selected=true] { background: var(--walnut); border-color: var(--walnut); color: var(--limewash); }

/* home Products v2 (18 Nov 2026): active row, reveal swap, labelled photo. Desktop only; phones keep the circle list. */
@media (min-width: 900px) {
  .hm-prod .hm-photo-r > div:first-child { align-self: stretch; display: flex; flex-direction: column; justify-content: center; }
  .hm-links a { position: relative; transition: color .35s var(--ease), transform .45s var(--ease), opacity .35s var(--ease); }
  .hm-links a::after { display: inline-block; transition: color .35s var(--ease), transform .45s var(--ease); }
  .hm-links.live a { color: var(--walnut-soft); opacity: .55; }
  .hm-links.live a.on { color: var(--walnut); opacity: 1; transform: translateX(14px); }
  .hm-links.live a.on::after { color: var(--accent); transform: translateX(8px); }
  .hm-links.live a.on::before { content: ''; position: absolute; left: -14px; top: 50%; width: 6px; height: 6px; margin-top: -3px; border-radius: 50%; background: var(--accent); }
  .hm-links.live a:hover, .hm-links.live a:focus-visible { color: var(--walnut); }
  .hm-swap figure { opacity: 1; clip-path: inset(100% 0 0 0 round 24px); transition: clip-path .8s cubic-bezier(.7, 0, .2, 1); z-index: 0; }
  .hm-swap figure.was { clip-path: inset(0 0 0 0 round 24px); z-index: 1; }
  .hm-swap figure.on { clip-path: inset(0 0 0 0 round 24px); z-index: 2; }
  .hm-swap figure img { transform: scale(1.08); transition: transform 1.2s cubic-bezier(.2, .7, .2, 1); }
  .hm-swap figure.on img { transform: scale(1); }
  .hm-swap::after { content: ''; position: absolute; inset: auto 0 0; height: 34%; z-index: 3; pointer-events: none; background: linear-gradient(transparent, rgba(21, 18, 16, .45)); }
  .hm-swap-tag { position: absolute; left: 24px; right: 24px; bottom: 22px; z-index: 4; display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 52px; padding: 0 8px 0 24px; border-radius: 999px; background: rgba(244, 240, 233, .92); color: var(--walnut); font: 400 26px/1 var(--display); text-decoration: none; backdrop-filter: blur(8px); transition: background .3s var(--ease); }
  .hm-swap-tag i { font-style: normal; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--walnut); color: var(--limewash); font: 400 18px/1 var(--sans); transition: transform .35s var(--ease); }
  .hm-swap-tag:hover { background: var(--limewash); }
  .hm-swap-tag:hover i { transform: translateX(4px); }
  .hm-swap figure:first-child img { object-position: 50% 78%; }
}
@media (min-width: 900px) and (prefers-reduced-motion: reduce) {
  .hm-swap figure, .hm-swap figure img, .hm-links a, .hm-links a::after { transition: none; }
}
@media (max-width: 899px) { .hm-swap-tag { display: none; } }

/* footer wordmark = the header logo, full width, in ink (18 Nov 2026) */
.wm { font: inherit; color: var(--ink); margin: 32px 0 0; padding-bottom: clamp(24px, 4vw, 48px); white-space: normal; letter-spacing: 0; }
.wm svg { display: block; width: 100%; height: auto; overflow: visible; }
.wm svg { width: min(100%, 640px); }
@media (max-width: 899px) { .wm svg { width: 72%; } }

/* sample viewer v2 (18 Nov 2026): fabric strip, picked pin, My samples panel with the home visit request */
dialog.sv { width: min(1180px, calc(100vw - 24px)); border-radius: 24px; }
.sv-stage { gap: 22px; align-content: center; }
.sv-card { position: relative; border-radius: 10px; }
.sv-pin { position: absolute; top: -10px; right: -10px; width: 34px; height: 34px; border-radius: 50%; background: var(--accent); box-shadow: 0 4px 10px rgba(50, 36, 24, .25); transform: scale(0); transition: transform .35s cubic-bezier(.3, 1.5, .5, 1); }
.sv-pin::after { content: ''; position: absolute; left: 12px; top: 9px; width: 7px; height: 12px; border: solid var(--limewash); border-width: 0 2px 2px 0; transform: rotate(45deg); }
.sv-pin.show { transform: scale(1); }
.sv-strip { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; max-width: 360px; }
.sv-chip { position: relative; padding: 0; width: 44px; height: 54px; border: 0; border-radius: 6px; background: none; cursor: pointer; transition: transform .25s var(--ease); }
.sv-chip canvas { display: block; width: 100%; height: 100%; border-radius: 6px; box-shadow: 0 1px 2px rgba(50, 36, 24, .2); }
.sv-chip:hover { transform: translateY(-3px); }
.sv-chip.on { transform: translateY(-3px); }
.sv-chip.on::before { content: ''; position: absolute; inset: -4px; border: 1.5px solid var(--walnut); border-radius: 9px; }
.sv-chip.picked::after { content: ''; position: absolute; top: -4px; right: -4px; width: 12px; height: 12px; border-radius: 50%; background: var(--accent); border: 2px solid #F2ECE2; }
.sv-nav { border-radius: 50%; }
.sv-count { font-variant-numeric: tabular-nums; }
.sv-side .btn[data-sv-add] { min-width: 240px; }
.sv-side [data-sv-list] { display: none; }
.sv-tray { padding: 24px 22px 28px; background: var(--limewash); border-top: 1px solid rgba(42, 35, 32, .12); }
.sv-tray-h { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-bottom: 14px; }
.sv-tray-h h4 { margin: 0; font: 400 26px/1.1 var(--display); }
.sv-tray-n { font: 500 14px/1 var(--sans); color: var(--walnut-soft); font-variant-numeric: tabular-nums; }
.sv-slots { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.sv-slots li { display: flex; align-items: center; gap: 12px; min-height: 52px; border-radius: 12px; }
.sv-slots li.empty { border: 1px dashed rgba(42, 35, 32, .22); }
.sv-slots li.full { padding: 6px 4px 6px 6px; background: #FBF8F2; animation: svIn .35s var(--ease); }
@keyframes svIn { from { opacity: 0; transform: translateX(10px); } }
.sv-slot-sw { flex: 0 0 40px; width: 40px; height: 40px; padding: 0; border: 0; border-radius: 8px; overflow: hidden; cursor: pointer; background: none; }
.sv-slot-sw canvas { display: block; width: 100%; height: 100%; }
.sv-slot-t { flex: 1; min-width: 0; display: grid; line-height: 1.2; }
.sv-slot-t b { font-weight: 500; }
.sv-slot-t small { font-size: 13px; color: var(--walnut-soft); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sv-slot-x { flex: 0 0 44px; width: 44px; height: 44px; border: 0; border-radius: 50%; background: none; color: var(--walnut-soft); font-size: 22px; cursor: pointer; }
.sv-slot-x:hover { color: var(--walnut); background: var(--linen); }
.sv-tray-empty { margin: 16px 0 0; font-size: 15px; color: var(--walnut-soft); }
.sv-req { margin-top: 20px; padding-top: 18px; border-top: 1px solid rgba(42, 35, 32, .12); }
.sv-req-lead { margin: 0 0 12px; font-size: 15px; }
.sv-form { display: grid; gap: 10px; }
.sv-form .btn { width: 100%; margin-top: 4px; }
.sv-post { margin-top: 12px; min-height: 44px; }
.sv-tray .form-ok { margin-top: 18px; }
.sv-in :is(input):focus-visible { outline: 2px solid var(--walnut); outline-offset: 2px; }
@media (min-width: 800px) {
  .sv-in { grid-template-columns: 1fr 1fr 330px; }
  .sv-side { padding: 48px 32px 40px 36px; }
  .sv-tray { border-top: 0; border-left: 1px solid rgba(42, 35, 32, .12); padding: 56px 24px 28px; max-height: calc(100svh - 48px); overflow: auto; }
}
@media (prefers-reduced-motion: reduce) { .sv-pin, .sv-chip, .sv-slots li.full { transition: none; animation: none; } }
.sv-slots { gap: 6px; }
.sv-slots li.empty { min-height: 34px; }
.sv-slots li.full { min-height: 52px; }
.sv-req { margin-top: 16px; padding-top: 14px; }
.sv-form { gap: 8px; }
.sv-form .fld input { min-height: 46px; }
dialog.sv .x { background: rgba(251, 248, 242, .92); border-radius: 50%; }
@media (min-width: 800px) { .sv-tray { padding-top: 64px; } }
.sv-jump { display: none; }
@media (max-width: 799px) {
  .sv-jump:not([hidden]) { display: flex; position: sticky; bottom: 12px; z-index: 3; width: calc(100% - 24px); margin: -60px 12px 12px; order: 2; box-shadow: 0 10px 24px rgba(21, 18, 16, .25); }
  .sv-in { display: flex; flex-direction: column; }
  .sv-tray { order: 3; }
}
@media (max-width: 799px) { .sv-in:has(.sv-jump:not([hidden])) .sv-side { padding-bottom: 84px; } }

/* Mobile pass 19 Nov 2026 (todo #1500). Phone and tablet only; desktop (900px and up) is unchanged. */
/* paired fields (width/drop, day/time, role/stage) keep the form's 16px rhythm when they stack */
.form .row2 { display: grid; gap: 16px; }
/* booking page: the bar offers Call only, the form is already on screen */
.sbar.sbar-1 { grid-template-columns: 1fr; }
/* footer: link groups side by side instead of one long column */
@media (max-width: 799px) {
  .foot-g { grid-template-columns: 1fr 1fr; gap: 28px 20px; }
  .foot-g > div:first-child, .foot-g > div:last-child { grid-column: 1 / -1; }
  .foot-g a { line-height: 1.3; padding-block: 6px; }
}
@media (min-width: 600px) and (max-width: 799px) {
  .foot-g { grid-template-columns: repeat(3, 1fr); }
  .foot-g > div:last-child { grid-column: auto; }
}
/* gallery: two columns on phones, so the work reads as a gallery rather than one long scroll */
@media (max-width: 639px) {
  .masonry.gal { column-count: 2; column-gap: 12px; }
  .masonry.gal figure { margin: 0 0 12px; }
  .masonry.gal figure:nth-child(3n+2) { margin-top: 0; }
  .masonry.gal .gal-i img { border-radius: 14px; }
}
/* inner page heroes on phones: one system (same 16px gutter, same photo height) and a shorter photo,
   so the title, line and Book button sit on the first screen instead of below it */
@media (max-width: 899px) { .ph-photo-first > div:last-child { margin-inline: 0; } }
@media (max-width: 699px) {
  .ph-photo-first .ph-photo img, .ph-photo-first .slot { max-height: max(300px, 50svh); }
  .pv-hero .pv-hero-ph > img { height: max(300px, 50svh); min-height: 0; }
}
