/* Harbour Bathrooms website, v4.
   Direction: an editorial, photography-led luxury feel (deep teal, warm stone, a high-contrast serif
   that echoes the HB monogram) carrying the things only we can show: the image spec, the plot
   schedule, the process. Motion is slow and quiet; everything is readable without it. */

/* Fonts, hosted on our own site (no Google connection). Cormorant Garamond and Jost, SIL Open Font Licence.
   Both are variable fonts, so one file covers each weight range. Latin-ext only loads for accented letters. */
@font-face { font-family: 'Cormorant Garamond'; font-style: normal; font-weight: 500 600; font-display: swap; src: url("../fonts/cormorant-garamond-500-latin.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Cormorant Garamond'; font-style: normal; font-weight: 500 600; font-display: swap; src: url("../fonts/cormorant-garamond-500-latin-ext.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Cormorant Garamond'; font-style: italic; font-weight: 500; font-display: swap; src: url("../fonts/cormorant-garamond-500-italic-latin.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Cormorant Garamond'; font-style: italic; font-weight: 500; font-display: swap; src: url("../fonts/cormorant-garamond-500-italic-latin-ext.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Jost'; font-style: normal; font-weight: 400 500; font-display: swap; src: url("../fonts/jost-400-latin.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Jost'; font-style: normal; font-weight: 400 500; font-display: swap; src: url("../fonts/jost-400-latin-ext.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }

:root {
  --night: #082A2A;
  --deep: #0D3C3C;
  --teal: #067B7B;
  --teal-2: #056767;
  --sage: #98C0BF;
  --sage-soft: #DDE9E6;
  --stone: #F3EFE8;
  --paper: #FBFAF7;
  --ink: #142221;
  --ink-2: #485756;
  --ink-3: #6E7B7A;
  --line: #E1DBD0;
  --line-dark: rgba(255, 255, 255, 0.16);
  --brass: #C3A16B;
  --amber: #B45309;
  --amber-tint: #FEF3E2;

  --serif: "Cormorant Garamond", "Cormorant", Garamond, "Times New Roman", serif;
  --sans: "Jost", "Aptos", "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
  --mono: "Cascadia Mono", "SF Mono", "SFMono-Regular", Consolas, monospace;

  --max: 1320px;
  --gl: max(24px, env(safe-area-inset-left, 0px));
  --gr: max(24px, env(safe-area-inset-right, 0px));
  --section: clamp(84px, 10vw, 152px);
  --ease: cubic-bezier(.2, .7, .1, 1);
  --head: 88px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 90px; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 1.0625rem/1.7 var(--sans); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--teal); text-underline-offset: 4px; text-decoration-thickness: 1px; }
a:hover { color: var(--teal-2); }
:focus-visible { outline: 2px solid var(--brass); outline-offset: 3px; }
::selection { background: var(--sage); color: var(--night); }
h1, h2, h3, h4 { margin: 0; font-family: var(--serif); font-weight: 500; color: inherit; text-wrap: balance; }
h1 { font-size: clamp(3rem, 7.2vw, 6.4rem); line-height: .96; letter-spacing: -0.012em; }
h2 { font-size: clamp(2.3rem, 4.6vw, 4.1rem); line-height: 1.02; letter-spacing: -0.008em; }
h3 { font-size: clamp(1.45rem, 2vw, 1.75rem); line-height: 1.12; font-weight: 600; }
h4 { font-family: var(--sans); font-size: .74rem; font-weight: 500; letter-spacing: .3em; text-transform: uppercase; }
h1 em, h2 em, h3 em { font-style: italic; font-weight: 500; color: var(--teal); }
p { margin: 0; }
ul, ol { margin: 0; }
.skip { position: absolute; left: -9999px; top: 0; background: var(--ink); color: #fff; padding: 10px 16px; z-index: 200; }
.skip:focus { left: 12px; top: 12px; }
[hidden] { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.wrap { max-width: var(--max); margin: 0 auto; padding-left: var(--gl); padding-right: var(--gr); }
.section { padding-block: var(--section); }
.section.tight { padding-block: clamp(56px, 6vw, 88px); }
.section.mist { background: var(--stone); }
.section.dark { background: var(--night); color: #EDEBE6; }
.dark h1, .dark h2, .dark h3 { color: #fff; }
.dark h2 em, .dark h3 em, .dark h1 em { color: var(--sage); }
.dark .muted, .dark .lede, .dark .card p { color: rgba(255,255,255,.72); }
.dark .label { color: var(--sage); }
.dark a:not(.btn) { color: var(--sage); }
.stack { display: grid; gap: 20px; align-content: start; }
.stack-lg { display: grid; gap: 40px; align-content: start; }
.label { display: inline-flex; align-items: center; gap: 14px; font: 500 .72rem/1.4 var(--sans); letter-spacing: .32em; text-transform: uppercase; color: var(--teal); }
/* The short rule before each label was taken out at Matt's request (01.12.26). */
/* Areas we deliver to (contract-bathrooms-south-west page): plain visible lists of places */
.areas { display: grid; grid-template-columns: 2fr 1fr; gap: 40px 56px; margin-top: clamp(48px, 6vw, 80px); }
.areas h3 { font-size: 1.35rem; margin-bottom: 14px; }
.area-list { list-style: none; margin: 0; padding: 0; columns: 3 160px; column-gap: 32px; color: var(--ink-2); }
.areas > div:last-child .area-list { columns: 2 140px; }
.area-list li { break-inside: avoid; padding: 5px 0; font-size: .95rem; }
@media (max-width: 760px) { .areas { grid-template-columns: 1fr; } }
.code { font: 500 .7rem/1.4 var(--sans); letter-spacing: .26em; text-transform: uppercase; color: var(--teal); }
.lede { font-size: clamp(1.08rem, 1.3vw, 1.22rem); line-height: 1.7; color: var(--ink-2); max-width: 54ch; font-weight: 400; }
.muted { color: var(--ink-2); }
.small { font-size: .9rem; }
.measure { max-width: 66ch; }
.sec-head { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 28px 64px; align-items: end; margin-bottom: clamp(44px, 5vw, 76px); }
.sec-head > div { display: grid; gap: 20px; }
.more { display: inline-flex; align-items: center; gap: 12px; font: 500 .76rem/1 var(--sans); letter-spacing: .24em; text-transform: uppercase; text-decoration: none; color: var(--teal); padding: 6px 0; border-bottom: 1px solid currentColor; }
.more::after { content: "→"; letter-spacing: 0; font-size: 1rem; transition: transform .4s var(--ease); }
.more:hover::after { transform: translateX(5px); }

/* Draft markers */
.draftbar { position: fixed; left: 16px; bottom: 16px; z-index: 90; background: var(--amber-tint); color: var(--amber); border: 1px solid #F0D2A4; border-radius: 99px; font-size: .78rem; box-shadow: 0 8px 30px rgba(0,0,0,.18); max-width: calc(100vw - 32px); }
.draftbar .wrap { padding: 8px 16px; display: flex; gap: 10px; flex-wrap: wrap; }
.draftbar a { color: var(--amber); font-weight: 600; }
.ph { background: var(--amber-tint); color: var(--amber); border-bottom: 1px dashed var(--amber); padding: 0 3px; font-style: normal; font-family: var(--sans); font-size: .92em; letter-spacing: 0; text-transform: none; }
.ph-tag { position: absolute; left: 12px; top: 12px; z-index: 3; background: var(--amber-tint); color: var(--amber); font: 500 .72rem/1.3 var(--sans); padding: 4px 8px; border: 1px dashed var(--amber); }
/* Designed photo frame: looks finished in review, still clearly marked as needing a photo */
.photo-ph { position: relative; display: grid; place-content: center; justify-items: center; gap: 12px; min-height: 240px; height: 100%; padding: 24px; text-align: center; overflow: hidden;
  background: radial-gradient(130% 120% at 15% 0%, #E3EEEB 0%, var(--stone) 55%, #ECE6DB 100%); }
.photo-ph::before { content: ""; width: 42px; height: 42px; opacity: .55; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23067B7B' stroke-width='1.1'%3E%3Cpath d='M3 8h4l2-3h6l2 3h4v11H3z'/%3E%3Ccircle cx='12' cy='13' r='4'/%3E%3C/svg%3E") center/contain no-repeat; }
.photo-ph::after { content: "Photo needed"; position: absolute; left: 12px; top: 12px; background: var(--amber-tint); color: var(--amber); border: 1px dashed var(--amber); font: 500 .64rem/1 var(--sans); letter-spacing: .08em; padding: 5px 8px; }
.photo-ph span { font: 500 .68rem/1.5 var(--sans); letter-spacing: .2em; text-transform: uppercase; color: var(--ink-3); max-width: 30ch; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 12px; min-height: 54px; padding: 16px 28px; font: 500 .76rem/1 var(--sans); letter-spacing: .2em; text-transform: uppercase; text-decoration: none; border: 1px solid transparent; border-radius: 0; cursor: pointer; transition: background .35s var(--ease), color .35s var(--ease), border-color .35s var(--ease); }
.btn-primary { background: var(--teal); border-color: var(--teal); color: #fff; }
.btn-primary:hover { background: var(--deep); border-color: var(--deep); color: #fff; }
.btn-line { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn-line:hover { background: var(--ink); color: var(--paper); }
.btn-white { background: var(--paper); border-color: var(--paper); color: var(--deep); }
.btn-white:hover { background: var(--sage); border-color: var(--sage); color: var(--night); }
.btn-ghost { border-color: rgba(255,255,255,.55); color: #fff; background: transparent; }
.btn-ghost:hover { background: #fff; color: var(--deep); }
.actions { display: flex; flex-wrap: wrap; gap: 14px; }

/* Header: transparent over the hero, solid once scrolled */
.site-header { position: fixed; inset: 0 0 auto 0; z-index: 80; color: #fff; transition: background .45s var(--ease), color .45s var(--ease), box-shadow .45s var(--ease); }
.site-header .wrap { display: flex; align-items: center; gap: 28px; height: var(--head); transition: height .45s var(--ease); }
.site-header.scrolled { color: var(--ink); box-shadow: 0 1px 0 var(--line); }
/* The frosted bar sits on a layer behind the header rather than on the header itself, so the see-through
   dropdown inside it can still blur the page (a blur inside a blur only sees the bar in Chrome). */
.site-header::before { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; opacity: 0; transition: opacity .45s var(--ease); background: var(--glass); -webkit-backdrop-filter: var(--glass-blur); backdrop-filter: var(--glass-blur); }
.site-header.scrolled::before { opacity: 1; }
.site-header.menu-open::before { opacity: 0; }
.site-header.scrolled .wrap { height: 72px; }
/* Reading progress: a thin teal line along the bottom of the scrolled header */
.read-progress { position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--teal); transform: scaleX(var(--read, 0)); transform-origin: left; opacity: 0; transition: opacity .45s var(--ease); pointer-events: none; }
.site-header.scrolled .read-progress { opacity: 1; }
.site-header.menu-open .read-progress { opacity: 0; }
/* Back to top */
.to-top { position: fixed; right: 24px; bottom: 24px; z-index: 84; width: 46px; height: 46px; display: grid; place-items: center; border: 1px solid rgba(255,255,255,.5); border-radius: 50%; background: rgba(6,123,123,.86); color: #fff; cursor: pointer; box-shadow: 0 10px 30px rgba(8,42,42,.22); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); animation: drop-in .35s var(--ease) both; transition: background .3s, transform .3s var(--ease); }
.to-top[hidden] { display: none; }
.to-top:hover { background: var(--teal); transform: translateY(-2px); }
.to-top:focus-visible { outline: 2px solid var(--brass); outline-offset: 3px; }
/* "Open now" next to the hours */
.open-now { display: inline-flex; align-items: center; gap: 7px; margin-left: 8px; font: 500 .72rem/1 var(--sans); letter-spacing: .04em; color: rgba(255,255,255,.72); white-space: nowrap; }
.open-now::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: #B9B1A5; }
.open-now.is-open { color: var(--sage); }
.open-now.is-open::before { background: #4FC38F; box-shadow: 0 0 0 3px rgba(79,195,143,.22); }
.contact-lines .open-now { margin: 4px 0 0; font: 500 .8rem/1 var(--sans); letter-spacing: .04em; text-transform: none; color: var(--ink-2); }
.contact-lines .open-now.is-open { color: var(--teal); }
/* "Email address copied" note */
.copied { position: fixed; z-index: 120; padding: 8px 12px; background: var(--deep); color: #fff; font: 500 .74rem/1 var(--sans); letter-spacing: .04em; pointer-events: none; box-shadow: 0 10px 24px rgba(8,42,42,.25); animation: drop-in .25s var(--ease) both; transition: opacity .4s; }
.copied.gone { opacity: 0; }
/* Photos fade in as they load */
.img-wait { opacity: 0; }
.img-in { animation: img-in .7s var(--ease) both; }
@keyframes img-in { from { opacity: 0; } }
/* Jump links at the top of long pages */
.jump { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 10px; margin-top: 30px; }
.jump span { font: 500 .66rem/1 var(--sans); letter-spacing: .26em; text-transform: uppercase; opacity: .72; margin-right: 4px; }
.jump a { font: 400 .86rem/1 var(--sans); color: inherit; text-decoration: none; padding: 9px 14px; border: 1px solid rgba(255,255,255,.38); background: rgba(255,255,255,.06); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); transition: background .3s, border-color .3s; }
.jump a:hover { background: rgba(255,255,255,.18); border-color: rgba(255,255,255,.7); }
/* LinkedIn in the footer */
.site-footer .social { display: inline-flex; align-items: center; gap: 10px; margin-top: 18px; font-size: .86rem; }
.site-footer .social svg { flex: none; }
.site-footer .socials { display: flex; flex-wrap: wrap; gap: 0 26px; }
/* Brand-teal text selection */
::selection { background: var(--teal); color: #fff; }
/* Soft cross-fade between pages (Chrome, Edge, Safari; other browsers just change page as before) */
@media (prefers-reduced-motion: no-preference) { @view-transition { navigation: auto; } }
::view-transition-old(root), ::view-transition-new(root) { animation-duration: .35s; }
@media (prefers-reduced-motion: reduce) { .to-top { animation: none; } }
.brand { display: flex; align-items: center; gap: 16px; text-decoration: none; flex: none; }
.brand img { width: auto; }
.brand .mark { height: 38px; }
.brand .word { height: 9px; }
.brand .on-light { display: none; }
.site-header.scrolled .brand .on-light, .site-header.menu-open .brand .on-dark { display: block; }
.site-header.scrolled .brand .on-dark { display: none; }
.site-header.menu-open .brand .on-light { display: none; }
.nav { display: flex; align-items: center; gap: 6px; margin-left: auto; }
.nav > a, .nav-drop > button { white-space: nowrap; font: 400 .95rem/1 var(--sans); letter-spacing: .02em; color: inherit; text-decoration: none; padding: 12px 12px; background: none; border: 0; cursor: pointer; display: inline-flex; align-items: center; gap: 7px; position: relative; }
.nav > a::after, .nav-drop > button::before { content: ""; position: absolute; left: 12px; right: 12px; bottom: 4px; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: left; transition: transform .45s var(--ease); }
.nav > a:hover::after, .nav-drop > button:hover::before, .nav a[aria-current="page"]::after, .nav-drop.is-current > button::before { transform: scaleX(1); }
.nav-drop { position: relative; }
.nav-drop > button::after { content: ""; width: 6px; height: 6px; border-right: 1px solid currentColor; border-bottom: 1px solid currentColor; transform: rotate(45deg) translateY(-3px); }
.drop { position: absolute; top: calc(100% + 14px); left: -20px; width: 360px; background: var(--paper); color: var(--ink); padding: 10px; display: none; box-shadow: 0 24px 60px rgba(8,42,42,.18); }
.nav-drop.open .drop { display: grid; animation: drop-in .28s var(--ease) both; }
/* An invisible bridge over the gap under the button, so moving the mouse down to the menu doesn't close it */
.drop::before { content: ""; position: absolute; left: 0; right: 0; top: -16px; height: 16px; }
@keyframes drop-in { from { opacity: 0; transform: translateY(-6px); } }
@media (prefers-reduced-motion: reduce) { .nav-drop.open .drop { animation: none; } }
/* The dropdown and the scrolled header share one glass, so they always match (Ty, 09.11.26) */
:root { --glass: rgba(251, 250, 247, .38); --glass-blur: blur(20px) saturate(1.4); }
.drop { width: 420px; background: var(--glass); border: 1px solid rgba(255, 255, 255, .45); -webkit-backdrop-filter: var(--glass-blur); backdrop-filter: var(--glass-blur); }
.drop a { display: grid; grid-template-columns: 64px minmax(0, 1fr); grid-template-rows: auto auto; column-gap: 16px; row-gap: 3px; align-items: center; padding: 12px 14px; text-decoration: none; color: var(--ink); transition: background .3s; }
.drop a .drop-thumb { grid-row: 1 / 3; width: 64px; height: 64px; object-fit: cover; filter: saturate(.85); transition: transform .5s var(--ease), filter .5s; }
.drop a b { align-self: end; }
.drop a span { align-self: start; }
.drop a:hover { background: rgba(243, 239, 232, .55); }
.drop a:hover .drop-thumb { transform: scale(1.06); filter: none; }
.drop a b { font: 600 1.2rem/1.2 var(--serif); }
.drop a span { font-size: .86rem; color: var(--ink); opacity: .82; }
.head-actions { display: flex; align-items: center; gap: 22px; flex: none; }
.head-actions .tel { color: inherit; text-decoration: none; white-space: nowrap; font-size: .95rem; letter-spacing: .02em; }
.head-actions .btn { min-height: 46px; padding: 12px 20px; }
.site-header:not(.scrolled) .head-actions .btn { background: transparent; border-color: rgba(255,255,255,.6); }
.site-header:not(.scrolled) .head-actions .btn:hover { background: #fff; color: var(--deep); }
.menu-btn { display: none; margin-left: auto; min-height: 44px; padding: 10px 16px; background: none; border: 1px solid currentColor; font: 500 .74rem var(--sans); letter-spacing: .22em; text-transform: uppercase; color: inherit; cursor: pointer; }
.mobile-nav { display: none; }

/* Page hero: full-bleed photography */
.hero { position: relative; min-height: min(82vh, 820px); display: flex; align-items: flex-end; background: var(--night); color: #fff; overflow: hidden; isolation: isolate; }
.hero-bg { position: absolute; inset: 0; z-index: -2; background: center/cover no-repeat; transform: scale(1.08); animation: heroZoom 2.6s var(--ease) forwards; }
.hero::after { content: ""; position: absolute; inset: 0; z-index: -1; background:
  linear-gradient(90deg, rgba(6,30,30,.78) 0%, rgba(6,30,30,.5) 45%, rgba(6,30,30,.12) 80%),
  linear-gradient(180deg, rgba(6,30,30,.55) 0%, rgba(6,30,30,0) 26%, rgba(6,30,30,0) 55%, rgba(6,30,30,.7) 100%); }
.hero h1, .hero .lede, .hero .label { text-shadow: 0 2px 28px rgba(4, 22, 22, .35); }
@media (max-width: 860px) {
  /* On phones and tablets the text sits low over the photo, so darken the lower half a little more */
  .hero.has-photo::after { background:
    linear-gradient(90deg, rgba(6,30,30,.6) 0%, rgba(6,30,30,.25) 100%),
    linear-gradient(180deg, rgba(6,30,30,.55) 0%, rgba(6,30,30,.05) 24%, rgba(6,30,30,.35) 50%, rgba(6,30,30,.86) 100%); }
}
/* "Where next" links above the closing call to action */
.next-links { background: var(--paper); border-top: 1px solid var(--line); padding-block: clamp(48px, 6vw, 80px); }
.next-kicker { display: block; font: 500 .7rem/1 var(--sans); letter-spacing: .3em; text-transform: uppercase; color: var(--ink-3); margin-bottom: 22px; }
.next-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.next-card { position: relative; display: grid; gap: 8px; padding: 28px 64px 28px 28px; background: var(--stone); color: var(--ink); text-decoration: none; transition: background .4s var(--ease), color .4s var(--ease); }
.next-card .label { color: var(--teal); }
.next-card b { font: 500 clamp(1.5rem, 2.4vw, 2rem)/1.1 var(--serif); }
.next-card .next-line { color: var(--ink-2); font-size: .95rem; }
.next-card i { position: absolute; right: 26px; top: 50%; transform: translateY(-50%); font-style: normal; font-size: 1.5rem; color: var(--teal); transition: transform .4s var(--ease), color .4s; }
.next-card:hover { background: var(--night); color: #fff; }
.next-card:hover .label, .next-card:hover i { color: var(--sage); }
.next-card:hover .next-line { color: rgba(255,255,255,.75); }
.next-card:hover i { transform: translate(6px, -50%); }
@media (max-width: 640px) { .next-grid { grid-template-columns: minmax(0, 1fr); } .next-card { padding: 22px 56px 22px 22px; } }
.hero:not(.has-photo)::after { background: radial-gradient(120% 90% at 85% 10%, rgba(6,123,123,.45), transparent 60%); }
@keyframes heroZoom { to { transform: scale(1); } }
.hero > .wrap { width: 100%; padding-top: calc(var(--head) + 64px); padding-bottom: clamp(56px, 7vw, 104px); position: relative; }
.hero-body { display: grid; max-width: 920px; }
.hero-copy { display: grid; gap: 26px; align-content: end; }
.hero-copy > * { animation: rise 1.2s var(--ease) both; }
.hero-copy > *:nth-child(2) { animation-delay: .12s; }
.hero-copy > *:nth-child(3) { animation-delay: .24s; }
.hero-copy > *:nth-child(n+4) { animation-delay: .36s; }
@keyframes rise { from { opacity: 0; transform: translateY(26px); } to { opacity: 1; transform: none; } }
.hero h1 { color: #fff; }
.hero h1 em { color: var(--sage); }
.hero .label { color: var(--sage); }
.hero .lede { color: rgba(255,255,255,.86); }
.hero .btn-line { border-color: rgba(255,255,255,.6); color: #fff; }
.hero .btn-line:hover { background: #fff; color: var(--deep); }
.hero .muted, .hero .small { color: rgba(255,255,255,.8); }
.hero a:not(.btn) { color: #fff; }
.hero-figure { display: none; }
.spine { position: absolute; right: var(--gr); bottom: clamp(56px, 7vw, 104px); writing-mode: vertical-rl; transform: rotate(180deg); font: 500 .66rem/1 var(--sans); letter-spacing: .34em; text-transform: uppercase; color: rgba(255,255,255,.6); white-space: nowrap; }
.spine b { font-weight: 500; color: #fff; }
.crumbs { font-size: .86rem; letter-spacing: .04em; }
.crumbs a { color: rgba(255,255,255,.8) !important; }

/* Home hero */
.home-hero { min-height: max(100svh, 680px); }
.slides { position: absolute; inset: 0; z-index: -2; }
.slide { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: brightness(.86); opacity: 0; transform: scale(1.12); transition: opacity 1.8s ease, transform 9s linear; }
img.hero-bg { width: 100%; height: 100%; object-fit: cover; }
.slide-ctrl { display: flex; align-items: center; gap: 22px; margin-top: 38px; }
.slide-ctrl .slide-dots { margin-top: 0; }
.pause-btn { font: 500 .64rem/1 var(--sans); letter-spacing: .24em; text-transform: uppercase; color: rgba(255,255,255,.85); background: transparent; border: 1px solid rgba(255,255,255,.4); padding: 9px 12px; cursor: pointer; min-height: 32px; }
.pause-btn:hover { background: #fff; color: var(--deep); }
.home-hero.paused .slide-dots button.on i::after { animation-play-state: paused; }
.marquee-wrap { position: relative; }
.marquee-wrap .pause-btn { position: absolute; right: var(--gr); top: 50%; transform: translateY(-50%); color: var(--ink-2); border-color: var(--line); background: var(--paper); z-index: 2; }
.marquee-wrap .pause-btn:hover { background: var(--ink); color: var(--paper); }
.marquee.paused .marquee-track { animation-play-state: paused; }

/* Google reviews strip (partials/reviews.html): cards slide slowly left in a loop; pauses on hover, focus or the Pause button */
.section.reviews { background: var(--sage-soft); overflow: hidden; }
.reviews-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 18px 40px; margin-bottom: clamp(30px, 4vw, 48px); }
.reviews-meta { display: grid; gap: 12px; justify-items: start; }
.reviews .stars { color: #C9962B; letter-spacing: .14em; font-size: 1.05rem; line-height: 1; }
.reviews-meta .stars { font-size: 1.5rem; }
.reviews-links { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 26px; }
.reviews .pause-btn { color: var(--ink-2); border-color: rgba(8,42,42,.25); background: transparent; }
.reviews .pause-btn:hover { background: var(--ink); color: var(--paper); }
.reviews-strip { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); }
.reviews-track { display: flex; gap: 24px; width: max-content; padding-block: 4px; animation: marquee 80s linear infinite; }
.reviews-strip:hover .reviews-track, .reviews-strip:focus-within .reviews-track, .reviews-strip.paused .reviews-track { animation-play-state: paused; }
.review { margin: 0; width: clamp(280px, 30vw, 420px); flex: none; background: #fff; padding: 28px 30px; display: grid; grid-template-rows: auto 1fr auto; gap: 16px; box-shadow: 0 10px 30px rgba(8,42,42,.06); }
.review blockquote { margin: 0; font: 500 clamp(1.05rem, .7rem + .9vw, 1.22rem)/1.45 var(--serif); color: var(--ink); }
@media (max-width: 600px) { .review { width: 78vw; padding: 22px 22px; } }
.review blockquote::before { content: "“"; } .review blockquote::after { content: "”"; }
.review figcaption { border-top: 1px solid var(--line); padding-top: 14px; display: grid; gap: 2px; }
.review figcaption b { font: 600 1.05rem/1.2 var(--serif); }
.review figcaption span { font-size: .82rem; color: var(--ink-2); }
@media (prefers-reduced-motion: reduce) {
  .reviews-track { animation: none; }
  .reviews-strip { overflow-x: auto; }
  .reviews .pause-btn, .review[aria-hidden="true"] { display: none; }
}
@media print { .reviews .pause-btn, .review[aria-hidden="true"] { display: none; } .reviews-track { animation: none; flex-wrap: wrap; width: auto; } }
.slide.on { opacity: 1; transform: scale(1); }
.home-hero h1 { font-size: clamp(3.3rem, 8.4vw, 7.6rem); }
.home-hero .hero-copy > h1 { animation: none; }
.cta h2 em { color: var(--sage); }
.home-hero .line { display: block; overflow: hidden; padding-bottom: .06em; }
.home-hero .line > span { display: block; animation: lineUp 1.3s var(--ease) both; }
.home-hero .line:nth-child(2) > span { animation-delay: .12s; }
.home-hero .line:nth-child(3) > span { animation-delay: .24s; }
@keyframes lineUp { from { transform: translateY(105%); } to { transform: none; } }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 40px; align-items: end; }
.glass { justify-self: end; width: min(360px, 100%); background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.22); -webkit-backdrop-filter: blur(16px) saturate(1.2); backdrop-filter: blur(16px) saturate(1.2); padding: 20px 22px; display: grid; gap: 14px; animation: rise 1.4s .6s var(--ease) both; }
.glass header { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; }
.glass header b { font: 600 1.25rem/1 var(--serif); }
.glass header span { font: 500 .62rem/1 var(--sans); letter-spacing: .24em; text-transform: uppercase; color: rgba(255,255,255,.7); }
.glass .row { display: grid; grid-template-columns: auto 1fr auto; gap: 12px; align-items: center; font-size: .86rem; padding-top: 12px; border-top: 1px solid rgba(255,255,255,.16); }
.glass .row b { font-weight: 500; }
.glass .bar { height: 2px; background: rgba(255,255,255,.18); position: relative; overflow: hidden; }
.glass .bar i { position: absolute; inset: 0 auto 0 0; background: var(--sage); }
.slide-dots { display: flex; gap: 10px; margin-top: 38px; }
.slide-dots button { width: 44px; height: 14px; padding: 6px 0; background: none; border: 0; cursor: pointer; }
.slide-dots button i { display: block; height: 2px; background: rgba(255,255,255,.3); position: relative; overflow: hidden; }
.slide-dots button i::after { content: ""; position: absolute; inset: 0; background: #fff; transform: scaleX(0); transform-origin: left; }
.slide-dots button.on i::after { animation: dot 6.5s linear forwards; }
@keyframes dot { to { transform: scaleX(1); } }
.scroll-cue { position: absolute; left: 50%; bottom: 22px; width: 1px; height: 54px; background: rgba(255,255,255,.25); overflow: hidden; }
.scroll-cue::after { content: ""; position: absolute; left: 0; top: -40%; width: 1px; height: 40%; background: #fff; animation: cue 2.2s var(--ease) 2; }
@keyframes cue { to { top: 100%; } }

/* Statement */
.statement { font: 500 clamp(1.9rem, 3.7vw, 3.3rem)/1.18 var(--serif); letter-spacing: -0.005em; max-width: 30ch; }
.statement em { font-style: italic; color: var(--teal); }
.sig { display: flex; align-items: center; gap: 18px; margin-top: 36px; color: var(--ink-2); font-size: .92rem; }
.sig img { height: 46px; width: auto; }

/* Brand marquee */
.marquee { overflow: hidden; border-block: 1px solid var(--line); padding-block: 30px; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.marquee-track { display: flex; width: max-content; animation: marquee 48s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee span { font: 500 clamp(1.6rem, 2.6vw, 2.3rem)/1 var(--serif); color: var(--ink-2); white-space: nowrap; display: inline-flex; align-items: center; gap: 46px; padding-right: 46px; }
.marquee span::after { content: ""; width: 7px; height: 7px; background: var(--sage); transform: rotate(45deg); }
.marquee span:nth-child(odd) { font-style: italic; }
@keyframes marquee { to { transform: translateX(-50%); } }
.brand-line { display: flex; flex-wrap: wrap; gap: 12px 36px; }
.brand-line span { font: 500 1.5rem/1.2 var(--serif); color: var(--ink-2); }

/* Facts */
.facts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid var(--line); }
.facts > div { padding: 30px 28px 6px 0; display: grid; gap: 8px; align-content: start; }
.facts > div + div { padding-left: 28px; border-left: 1px solid var(--line); }
.facts b { font: 600 1.7rem/1.1 var(--serif); }
.facts span { color: var(--ink-2); font-size: .96rem; }
.dark .facts, .dark .facts > div + div { border-color: var(--line-dark); }
.dark .facts span { color: rgba(255,255,255,.7); }

/* Numbers */
.numbers { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 40px; }
.numbers > div { display: grid; gap: 10px; border-top: 1px solid var(--line-dark); padding-top: 26px; }
.numbers b { font: 500 clamp(3.4rem, 6vw, 5.6rem)/0.9 var(--serif); color: #fff; font-style: italic; }
.numbers span { color: rgba(255,255,255,.72); font-size: .96rem; max-width: 24ch; }

/* Product tile, as on our image-spec slides */
.tile { background: #fff; display: grid; grid-template-rows: auto auto; min-width: 0; transition: transform .6s var(--ease), box-shadow .6s var(--ease); }
.tile:hover { transform: translateY(-4px); box-shadow: 0 18px 40px rgba(8,42,42,.12); }
.tile img { width: 100%; aspect-ratio: 1/1; object-fit: contain; padding: 12%; background: #fff; }
.tile figcaption { background: var(--sage); color: var(--night); padding: 10px 12px; font: 500 .78rem/1.3 var(--sans); letter-spacing: .02em; }
.tile figcaption small { display: block; font-weight: 400; color: #2B4140; font-size: .74rem; }
.tiles { display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 16px; }
figure { margin: 0; }

/* Delivery schedule */
.sched-card { background: var(--paper); color: var(--ink); box-shadow: 0 30px 70px rgba(8,42,42,.22); }
.sched-card header { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; padding: 16px 18px; border-bottom: 1px solid var(--line); }
.sched-card header b { font: 600 1.3rem/1 var(--serif); }
.sched-card header span { font: 500 .62rem/1 var(--sans); letter-spacing: .22em; color: var(--ink-2); }
.table-scroll { overflow-x: auto; }
.sched { width: 100%; border-collapse: collapse; font-size: .86rem; font-variant-numeric: tabular-nums; }
.sched th, .sched td { text-align: left; padding: 11px 16px; border-bottom: 1px solid var(--line); white-space: nowrap; }
.sched th { font: 500 .64rem/1 var(--sans); letter-spacing: .2em; text-transform: uppercase; color: var(--ink-2); }
.sched td:first-child, .sched td.code { font-family: var(--mono); font-size: .8rem; letter-spacing: 0; text-transform: none; color: var(--ink); }
.sched tr:last-child td { border-bottom: 0; }
.chip { display: inline-flex; align-items: center; gap: 7px; font: 500 .74rem/1 var(--sans); padding: 5px 10px 5px 8px; border-radius: 99px; }
.chip::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.chip.done { background: var(--sage-soft); color: var(--teal-2); }
.chip.booked { background: #F6E8CF; color: #84500F; }
.chip.held { background: #ECEAE5; color: var(--ink-2); }
.sched-big { background: var(--paper); box-shadow: 0 1px 0 var(--line), 0 30px 60px rgba(8,42,42,.08); }
.sched-big .sched { font-size: .92rem; }
.sched-big .sched th, .sched-big .sched td { padding: 15px 18px; }
.legend { display: flex; flex-wrap: wrap; gap: 10px 18px; font-size: .84rem; color: var(--ink-2); padding: 14px 18px; border-top: 1px solid var(--line); }

/* Documents we hand over */
.docs { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 22px; }
.doc { background: rgba(255,255,255,.04); border: 1px solid var(--line-dark); display: grid; grid-template-rows: auto 1fr; min-width: 0; transition: transform .6s var(--ease), background .6s; }
.doc:hover { transform: translateY(-6px); background: rgba(255,255,255,.07); }
.section:not(.dark) .doc { background: var(--paper); border-color: var(--line); }
.doc-art { aspect-ratio: 4/3; padding: 18px; overflow: hidden; background: rgba(152,192,191,.12); }
.doc-body { padding: 22px; display: grid; gap: 10px; align-content: start; }
.doc-body p { color: rgba(255,255,255,.7); font-size: .96rem; }
.section:not(.dark) .doc-body p { color: var(--ink-2); }
.dark .doc-body .code { color: var(--sage); }
/* Sample image spec page, laid out like ours: tiles | teal strip | sage panel. Sizes use the card's own
   width (cqw), so it reads the same in a small document card and in the big process panel. */
.mock-spec { height: 100%; background: #fff; display: grid; grid-template-columns: minmax(0, 1fr) 5.5% 27%; box-shadow: 0 14px 30px rgba(0,0,0,.25); container-type: inline-size; overflow: hidden; }
.mock-spec .g { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2.2cqw; padding: 2.6cqw; align-content: center; }
.mock-spec figure { margin: 0; border: 1px solid #1f2b2a; background: #fff; display: grid; grid-template-rows: 1fr auto; min-width: 0; }
.mock-spec figure img { width: 100%; aspect-ratio: 1.25; object-fit: contain; padding: 1.2cqw; }
.mock-spec figcaption { background: var(--sage); border-top: 1px solid #1f2b2a; color: #10201f; font: 500 2.05cqw/1.2 var(--sans); text-align: center; padding: .7cqw .4cqw; white-space: nowrap; overflow: hidden; text-overflow: clip; }
.mock-spec .s { background: var(--teal); display: grid; place-items: center; overflow: hidden; }
.mock-spec .s span { writing-mode: vertical-rl; transform: rotate(180deg); color: #fff; font: 500 1.9cqw/1 var(--sans); letter-spacing: .08em; white-space: nowrap; }
.mock-spec .p { background: var(--sage); padding: 3cqw 2.4cqw; display: grid; gap: 1.3cqw; align-content: start; grid-template-rows: auto auto repeat(7, auto) 1fr; }
.mock-spec .p b { font: 700 3.6cqw/1 var(--sans); color: #10201f; text-align: center; text-decoration: underline; text-underline-offset: .5cqw; }
.mock-spec .p small { font: 400 2.4cqw/1 var(--sans); color: #10201f; text-align: center; margin-bottom: 1cqw; }
.mock-spec .p i { display: block; height: .9cqw; background: rgba(8,42,42,.3); justify-self: center; width: 88%; }
.mock-spec .p i:nth-of-type(2n) { width: 70%; }
.mock-spec .p .hb { align-self: end; background: var(--teal); aspect-ratio: 1.15; display: grid; place-items: center; }
.mock-spec .p .hb img, .scrolly-steps .inline-media .mock-spec .p .hb img { width: 46%; height: auto; object-fit: contain; }
.scrolly-steps .inline-media .mock-spec figure img { height: auto; }
.mock-tech { height: 100%; background: #fff; padding: 9px; display: grid; gap: 5px; align-content: start; font-family: var(--mono); font-size: .56rem; color: var(--ink-2); box-shadow: 0 14px 30px rgba(0,0,0,.25); }
.mock-tech .hd { background: var(--teal); color: #fff; padding: 4px 7px; font: 600 .56rem var(--sans); letter-spacing: .14em; }
.mock-tech .row { display: grid; grid-template-columns: 24% 1fr 16%; gap: 6px; border-bottom: 1px solid #ECE7DE; padding: 2px 0; }
.mock-tech .row i { height: 4px; background: #E6E1D8; align-self: center; }
.mock-tech .row .d { font-family: var(--sans); color: var(--ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; }
.mock-tech .row .blank { height: 6px; background: #CFC8BC; align-self: center; }  /* product code blanked out */
.mock-del { height: 100%; background: #fff; display: grid; grid-template-columns: repeat(6, 1fr); grid-auto-rows: 1fr; gap: 4px; padding: 8px; box-shadow: 0 14px 30px rgba(0,0,0,.25); }
.mock-del i { background: #ECEAE5; }
.mock-del i.d { background: var(--sage); }
.mock-del i.b { background: #E9C88E; }
.mock-del i.h { background: var(--teal); }
/* Handover pack: a teal ring binder with its pages and section tabs showing (partials/mock-pack.html) */
.mock-pack { height: 100%; display: grid; place-items: center; container-type: inline-size; }
.om { position: relative; width: 45cqw; aspect-ratio: 210/297; margin-right: 6cqw; }
.om::before { content: ""; position: absolute; inset: 1.4cqw -1.8cqw -1.4cqw 1.4cqw; background: #FBFAF7; border-radius: .5cqw; box-shadow: 0 2.6cqw 5cqw rgba(0,0,0,.3); }
.om-tabs { position: absolute; top: 9%; bottom: 24%; right: -5.6cqw; width: 8cqw; display: grid; grid-auto-rows: 1fr; gap: 1cqw; }
.om-tabs i { font: normal 600 1.9cqw/1 var(--sans); color: #10201f; background: var(--sage); border-radius: 0 .8cqw .8cqw 0; display: grid; align-items: center; justify-content: end; padding-right: 1.1cqw; box-shadow: 0 .4cqw .8cqw rgba(0,0,0,.15); }
.om-tabs i:nth-child(2) { background: #E9C88E; }
.om-tabs i:nth-child(3) { background: #fff; }
.om-tabs i:nth-child(4) { background: #CFE3E2; }
.om-tabs i:nth-child(5) { background: #E6E1D8; }
.om-cover { position: absolute; inset: 0; background: var(--teal); border-radius: .7cqw; overflow: hidden; display: grid; align-content: center; justify-items: center; gap: 4.5cqw; padding: 0 2.4cqw 0 calc(14% + 2.4cqw); box-shadow: .6cqw .8cqw 1.6cqw rgba(0,0,0,.22); }
.om-cover::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 14%; background: linear-gradient(90deg, rgba(0,0,0,.26), rgba(0,0,0,.1)); border-right: .3cqw solid rgba(255,255,255,.14); }
.om-cover::after { content: ""; position: absolute; left: 3.5%; top: 50%; width: 7%; aspect-ratio: 1; border-radius: 50%; transform: translateY(-50%); background: rgba(0,0,0,.28); box-shadow: inset 0 .3cqw .5cqw rgba(0,0,0,.35); }
.om-cover img, .scrolly-steps .inline-media .om-cover img { width: 46%; height: auto; object-fit: contain; }
.om-label { background: #fff; width: 100%; padding: 2cqw 1.6cqw; display: grid; gap: 1.1cqw; justify-items: center; box-shadow: inset 0 0 0 .3cqw rgba(8,42,42,.12); }
.om-label b { font: 600 2.3cqw/1 var(--sans); letter-spacing: .18em; text-transform: uppercase; color: var(--ink); white-space: nowrap; }
.om-label small { font: 400 1.75cqw/1.2 var(--sans); color: var(--ink-2); white-space: nowrap; }

/* Audience cards: tall photographs */
.aud { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.aud a { position: relative; display: block; aspect-ratio: 3/4.2; overflow: hidden; background: var(--night); color: #fff; text-decoration: none; isolation: isolate; }
.aud a img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform 1.4s var(--ease); }
.aud a::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(6,30,30,0) 35%, rgba(6,30,30,.88) 100%); transition: background .6s; }
.aud a:hover img { transform: scale(1.07); }
.aud .body { position: absolute; left: 0; right: 0; bottom: 0; padding: 28px; display: grid; gap: 10px; }
.aud .body h3 { color: #fff; font-size: 1.85rem; }
.aud .body p { color: rgba(255,255,255,.8); font-size: .95rem; max-height: 0; opacity: 0; overflow: hidden; transition: max-height .7s var(--ease), opacity .7s var(--ease); }
.aud a:hover .body p, .aud a:focus-visible .body p { max-height: 8em; opacity: 1; }
.aud .body .more { color: var(--sage); border-color: rgba(152,192,191,.5); justify-self: start; }

/* Scroll-told process (home) */
.scrolly { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(40px, 6vw, 96px); }
.scrolly-media { position: sticky; top: 0; height: 100vh; display: grid; align-items: center; }
.scrolly-media .frame { position: relative; aspect-ratio: 4/5; max-height: 78vh; width: 100%; overflow: hidden; background: var(--stone); }
.scrolly-media .m { position: absolute; inset: 0; opacity: 0; transform: scale(1.04); transition: opacity 1s var(--ease), transform 1.4s var(--ease); display: grid; place-items: center; }
.scrolly-media .m.on { opacity: 1; transform: none; }
.scrolly-media .m > img { width: 100%; height: 100%; object-fit: cover; }
.scrolly-media .m.panel { background: var(--stone); padding: 9%; }
.scrolly-media .m.panel > * { width: 100%; }
.scrolly-media .m.panel .mock-spec, .scrolly-media .m.panel .mock-tech { aspect-ratio: 4/3; height: auto; }
.scrolly-media .m.panel .mock-tech { font-size: .78rem; gap: 8px; padding: 14px; }
.scrolly-media .m.panel .mock-tech .hd { font-size: .74rem; }
.scrolly-media .m.panel .mock-pack { height: 100%; }
.scrolly-media .m.panel .om { width: 50cqw; }
.scrolly-media .count { position: absolute; left: 18px; bottom: 16px; z-index: 2; font: 500 .7rem/1 var(--sans); letter-spacing: .3em; color: #fff; mix-blend-mode: difference; }
.scrolly-steps { list-style: none; padding: 0; margin: 0; }
.scrolly-steps li { min-height: 54vh; display: grid; align-content: center; gap: 18px; padding-block: 40px; opacity: .45; transition: opacity .7s var(--ease); }
.scrolly-steps li.on { opacity: 1; }
.scrolly-steps .n { font: italic 500 1.5rem/1 var(--serif); color: var(--teal); }
.scrolly-steps h3 { font-size: clamp(2rem, 3.4vw, 3rem); font-weight: 500; }
.scrolly-steps p { color: var(--ink-2); max-width: 46ch; }
.scrolly-steps .get { font-size: .92rem; color: var(--ink); border-top: 1px solid var(--line); padding-top: 14px; max-width: 46ch; }
.scrolly-steps .get b { font: 500 .68rem/1 var(--sans); letter-spacing: .24em; text-transform: uppercase; color: var(--teal-2); margin-right: 10px; }
.scrolly-steps .inline-media { display: none; }

/* Process steps (inner pages) */
.steps { list-style: none; padding: 0; counter-reset: step; display: grid; }
.steps > li { counter-increment: step; display: grid; grid-template-columns: 110px minmax(0, 1fr); gap: 6px 28px; padding: 38px 0; border-top: 1px solid var(--line); }
.steps > li:last-child { border-bottom: 1px solid var(--line); }
.steps > li::before { content: counter(step, decimal-leading-zero); grid-row: span 3; font: italic 500 3rem/0.9 var(--serif); color: var(--teal); }
.steps > li h3 { font-size: clamp(1.6rem, 2.4vw, 2.1rem); font-weight: 500; }
.steps > li p { color: var(--ink-2); max-width: 64ch; }
.step-meta { display: flex; flex-wrap: wrap; gap: 8px 28px; margin-top: 10px; font-size: .92rem; }
.step-meta span { color: var(--ink-2); }
.step-meta b { font: 500 .68rem/1 var(--sans); letter-spacing: .22em; text-transform: uppercase; color: var(--teal-2); margin-right: 6px; }
.timeline { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); border-top: 1px solid var(--line); counter-reset: t; }
.timeline li { counter-increment: t; padding: 22px 16px 0 0; display: grid; gap: 8px; align-content: start; position: relative; }
.timeline li::before { content: counter(t, decimal-leading-zero); font: italic 500 1.4rem/1 var(--serif); color: var(--teal); }
.timeline li::after { content: ""; position: absolute; top: -4px; left: 0; width: 7px; height: 7px; background: var(--teal); transform: rotate(45deg); }
.timeline b { font: 600 1.2rem/1.2 var(--serif); }
.timeline span { font-size: .88rem; color: var(--ink-2); }

/* Split feature rows */
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(40px, 6vw, 104px); align-items: center; }
.split.flip > :first-child { order: 2; }
.split img.room { width: 100%; aspect-ratio: 4/5; object-fit: cover; }
.ticks { list-style: none; padding: 0; display: grid; gap: 14px; }
.ticks li { display: grid; grid-template-columns: 26px 1fr; gap: 12px; }
.ticks li::before { content: ""; width: 9px; height: 9px; border: 1px solid var(--teal); transform: rotate(45deg); margin-top: 9px; margin-left: 4px; }
.dark .ticks li::before { border-color: var(--sage); }

/* Card grids */
.grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 56px 44px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 44px; }
.card { border-top: 1px solid var(--line); padding-top: 26px; display: grid; gap: 12px; align-content: start; min-width: 0; }
.card h3 { font-size: 1.7rem; font-weight: 500; }
.card p { color: var(--ink-2); }
.card.sage { background: var(--sage-soft); border-top: 0; padding: 30px; }
.dark .card { border-color: var(--line-dark); }

/* Projects */
.filters { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 40px; }
.filters button { font: 500 .72rem/1 var(--sans); letter-spacing: .22em; text-transform: uppercase; padding: 14px 20px; border: 1px solid var(--line); background: transparent; color: var(--ink); cursor: pointer; min-height: 46px; transition: all .3s; }
.filters button:hover { border-color: var(--ink); }
.filters button[aria-pressed="true"] { background: var(--night); color: #fff; border-color: var(--night); }
.projects { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 56px 26px; }
.project { display: grid; grid-template-rows: auto 1fr; min-width: 0; }
.project .pic { position: relative; aspect-ratio: 4/3; overflow: hidden; background: var(--stone); }
.project .pic img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s var(--ease); }
.project:hover .pic img { transform: scale(1.05); }
.project .body { padding-top: 22px; display: grid; gap: 10px; align-content: start; }
.project .client { font: 500 .7rem/1.3 var(--sans); letter-spacing: .26em; text-transform: uppercase; color: var(--teal); }
.project h3 { font-size: 1.9rem; font-weight: 500; }
.project .body p { color: var(--ink-2); font-size: .96rem; }
.specs { display: grid; grid-template-columns: auto 1fr; gap: 6px 18px; margin: 6px 0 0; font-size: .9rem; }
.specs dt { color: var(--ink-3); }
.specs dd { margin: 0; font-weight: 500; }
.project.feature { grid-column: span 2; grid-template-columns: 1.25fr 1fr; grid-template-rows: auto; gap: 36px; align-items: end; }
.project.feature .pic { aspect-ratio: 5/4; }
.project.feature h3 { font-size: 2.6rem; }
/* Guide cards at the foot of the sector pages: shorter photos and smaller titles than project cards */
.projects.guides { gap: 40px 26px; }
.projects.guides .pic { display: block; aspect-ratio: 3/2; }
.projects.guides h3 { font-size: 1.5rem; }
.projects.guides h3 a { color: inherit; text-decoration: none; }
.projects.guides h3 a:hover { color: var(--teal); }
.projects.guides .body { grid-template-rows: auto auto 1fr auto; }
.projects.guides .more { justify-self: start; align-self: end; margin-top: 6px; }
.project[hidden] { display: none; }
/* Home: horizontal project rail */
.rail-wrap { position: relative; }
.rail { --inset: max(var(--gl), calc((100vw - var(--max)) / 2 + var(--gl))); display: grid; grid-auto-flow: column; grid-auto-columns: min(560px, 80vw); gap: 26px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-left: var(--inset); padding-bottom: 18px; padding-left: var(--inset); scrollbar-width: thin; }
.rail::after { content: ""; width: 1px; }
.rail > * { scroll-snap-align: start; }
.rail-ctrl { display: flex; gap: 10px; }
.rail-ctrl button { width: 54px; height: 54px; border: 1px solid var(--line); background: transparent; cursor: pointer; font-size: 1.2rem; color: var(--ink); transition: all .3s; }
.rail-ctrl button:hover { background: var(--night); color: #fff; border-color: var(--night); }

/* Brands */
.brand-wall { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.brand-wall > div { border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 30px 26px; min-height: 170px; display: grid; gap: 10px; align-content: space-between; transition: background .4s; }
.brand-wall > div:hover { background: var(--paper); }
.brand-wall b { font: 600 1.75rem/1.05 var(--serif); }
.brand-wall span { font-size: .9rem; color: var(--ink-2); line-height: 1.5; }
.swatches { display: grid; grid-template-columns: repeat(auto-fill, minmax(120px, 1fr)); gap: 26px 18px; }
.swatch { display: grid; justify-items: center; gap: 14px; text-align: center; }
.swatch i { width: 104px; height: 104px; border-radius: 50%; box-shadow: inset 0 0 0 1px rgba(0,0,0,.08), 0 14px 30px rgba(8,42,42,.16); }
.swatch span { font: 500 .7rem/1.3 var(--sans); letter-spacing: .22em; text-transform: uppercase; color: var(--ink-2); }
.sw-chrome { background: radial-gradient(circle at 30% 25%, #fff 0%, #dfe3e6 22%, #9ea6ab 55%, #eef0f2 78%, #b4bbc0 100%); }
.sw-black { background: radial-gradient(circle at 30% 25%, #57595c 0%, #262729 45%, #131415 100%); }
.sw-gun { background: radial-gradient(circle at 30% 25%, #9a9da0 0%, #5b5e61 45%, #3e4144 100%); }
.sw-brass { background: radial-gradient(circle at 30% 25%, #f1dcab 0%, #c8a56c 45%, #9b7a45 100%); }
.sw-nickel { background: radial-gradient(circle at 30% 25%, #f4f1ea 0%, #c9c4ba 45%, #a29d93 100%); }
.sw-white { background: radial-gradient(circle at 30% 25%, #fff 0%, #f6f5f2 50%, #e2e0db 100%); }

/* Testimonials */
.quote { display: grid; gap: 28px; max-width: 1000px; }
.quote::before { content: "“"; font: 400 9rem/0.6 var(--serif); color: var(--sage); height: .45em; }
.quote blockquote { margin: 0; font: italic 500 clamp(1.8rem, 3.6vw, 3rem)/1.2 var(--serif); }
.quote cite { font-style: normal; font: 500 .74rem/1.4 var(--sans); letter-spacing: .24em; text-transform: uppercase; color: var(--ink-2); }

/* People */
.people { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 40px 22px; }
.person { display: grid; grid-template-rows: auto 1fr; }
.person .photo-ph { min-height: 0; aspect-ratio: 4/5; }
.person .body { padding-top: 18px; display: grid; gap: 4px; align-content: start; }
.person h3 { font-size: 1.6rem; font-weight: 500; }
.person .role { font: 500 .68rem/1.4 var(--sans); letter-spacing: .24em; text-transform: uppercase; color: var(--teal); }
.person p { color: var(--ink-2); font-size: .94rem; margin-top: 8px; }

/* FAQ */
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; padding: 24px 50px 24px 0; font: 500 1.45rem/1.25 var(--serif); position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: 8px; top: 34px; width: 14px; height: 14px; background: linear-gradient(var(--teal), var(--teal)) center/14px 1px no-repeat, linear-gradient(var(--teal), var(--teal)) center/1px 14px no-repeat; transition: transform .4s var(--ease); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details > div { padding: 0 0 26px; color: var(--ink-2); max-width: 70ch; display: grid; gap: 10px; }

/* Comparison table */
.compare { width: 100%; border-collapse: collapse; background: var(--paper); font-size: .95rem; min-width: 640px; }
.compare th, .compare td { text-align: left; padding: 18px; border-bottom: 1px solid var(--line); vertical-align: top; }
.compare thead th { background: var(--night); color: #fff; font: 500 .68rem/1 var(--sans); letter-spacing: .24em; text-transform: uppercase; }
.compare thead th.alt { background: var(--teal); }
.compare td:first-child { font: 600 1.15rem/1.3 var(--serif); }
.compare td.alt { background: var(--sage-soft); }

/* Forms */
.form { display: grid; gap: 22px; }
.form .row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; }
.field { display: grid; gap: 8px; min-width: 0; align-content: start; }
.field label, .field legend { font: 500 .7rem/1.3 var(--sans); letter-spacing: .22em; text-transform: uppercase; color: var(--ink-2); }
.field .hint { font-size: .84rem; color: var(--ink-3); }
.field input, .field select, .field textarea { font: inherit; color: var(--ink); background: transparent; border: 0; border-bottom: 1px solid #BFB8AC; border-radius: 0; padding: 12px 2px; width: 100%; min-height: 50px; transition: border-color .3s; }
.field textarea { min-height: 140px; resize: vertical; border: 1px solid #BFB8AC; padding: 12px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--teal); box-shadow: 0 1px 0 var(--teal); }
.field input[type="file"] { border: 1px dashed #BFB8AC; padding: 14px; background: var(--paper); font-size: .9rem; color: var(--ink-2); }
.field input[type="file"]::file-selector-button { font: 500 .7rem/1 var(--sans); letter-spacing: .18em; text-transform: uppercase; background: var(--teal); color: #fff; border: 0; padding: 12px 16px; margin-right: 14px; cursor: pointer; }
.check { display: grid; grid-template-columns: 22px 1fr; gap: 12px; font-size: .94rem; color: var(--ink-2); align-items: start; }
.check input { width: 20px; height: 20px; margin: 3px 0 0; accent-color: var(--teal); }
.req { color: var(--teal); }
.form-note { padding: 14px 16px; background: var(--amber-tint); color: var(--amber); font-size: .92rem; border: 1px solid #F0D2A4; }
.form-note[hidden] { display: none; }
.form-note.sent { background: #DDE9E6; color: var(--teal); border-color: #98C0BF; font-size: 1.05rem; }
.field.files input[type="file"] + input[type="file"] { margin-top: 10px; }
.field.files input[type="file"][hidden] { display: none; }
.field.files.dragging input[type="file"] { border-color: var(--teal); border-style: solid; background: #E4EFED; }
.files-status { display: flex; flex-wrap: wrap; gap: 4px 14px; align-items: baseline; font-size: .88rem; color: var(--teal-2); }
.files-status[hidden] { display: none; }
.files-status.over { color: var(--amber); }
.files-status button, .draft-note button { font: inherit; color: var(--teal); background: none; border: 0; padding: 0; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.draft-note { font-size: .9rem; color: var(--ink-2); background: var(--stone); padding: 10px 14px; display: flex; flex-wrap: wrap; gap: 4px 14px; }
.draft-note[hidden] { display: none; }
.after-send { display: grid; gap: 10px; margin-top: 18px; font-size: .95rem; color: var(--ink-2); }
.after-send[hidden] { display: none; }
.after-send b { color: var(--ink); font-weight: 500; }
fieldset { border: 0; margin: 0; padding: 0; display: grid; gap: 22px; }
.form-section { border-top: 1px solid var(--line); padding-top: 26px; display: grid; gap: 22px; }
.form-section > h3 { font-size: 1.7rem; font-weight: 500; }
.aside-box { background: var(--stone); padding: 32px; display: grid; gap: 16px; align-content: start; }
.aside-box.sage { background: var(--sage-soft); }
.aside-box h3 { font-size: 1.7rem; font-weight: 500; }
.contact-lines { display: grid; gap: 18px; }
.contact-lines div { display: grid; gap: 4px; }
.contact-lines span { font: 500 .66rem/1 var(--sans); letter-spacing: .26em; text-transform: uppercase; color: var(--ink-3); }
.contact-lines a, .contact-lines b { font: 500 1.35rem/1.25 var(--serif); font-variant-numeric: lining-nums; color: var(--ink); text-decoration: none; overflow-wrap: anywhere; }
.field label .opt { letter-spacing: .08em; text-transform: none; color: var(--ink-3); font-weight: 400; }
/* keep the postcode on one line (and not styled like the little labels) */
.contact-lines b .nw { font: inherit; letter-spacing: normal; text-transform: none; color: inherit; white-space: nowrap; }
.layout-aside { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: clamp(40px, 6vw, 96px); align-items: start; }
.sticky-aside { position: sticky; top: 100px; display: grid; gap: 20px; }

/* Prose */
.prose { max-width: 72ch; display: grid; gap: 16px; }
.prose h2 { font-size: 2rem; margin-top: 22px; }
.prose ul { padding-left: 20px; display: grid; gap: 8px; color: var(--ink-2); }
.prose p { color: var(--ink-2); }

/* CTA: full-bleed photograph */
.cta { position: relative; background: var(--night); color: #fff; overflow: hidden; isolation: isolate; }
.cta::before { content: ""; position: absolute; inset: 0; z-index: -2; background: none center 35%/cover no-repeat; opacity: .55; }
@media (max-width: 860px) { .cta::before { background-image: none; } }
.cta::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(6,30,30,.92) 0%, rgba(6,30,30,.7) 55%, rgba(6,30,30,.4) 100%); }
.cta .wrap { padding-block: clamp(96px, 11vw, 168px); display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: 56px; align-items: end; }
.cta h2 { color: #fff; font-size: clamp(3rem, 6.6vw, 6rem); line-height: .95; }
.cta .label { color: var(--sage); }
.cta p { color: rgba(255,255,255,.86); }
.cta ul { padding: 0; list-style: none; display: grid; gap: 12px; }
.cta li { display: grid; grid-template-columns: 26px 1fr; gap: 10px; color: rgba(255,255,255,.88); }
.cta li::before { content: ""; width: 9px; height: 9px; border: 1px solid var(--sage); transform: rotate(45deg); margin-top: 9px; margin-left: 4px; }
.cta .trade { grid-column: 1 / -1; border-top: 1px solid var(--line-dark); padding-top: 26px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 14px; color: rgba(255,255,255,.8); }
.cta .trade a { color: #fff; }

/* Footer */
.site-footer { background: var(--night); color: rgba(255,255,255,.7); font-size: .95rem; }
.site-footer a { color: rgba(255,255,255,.86); text-decoration: none; transition: color .3s; }
.site-footer a:hover { color: var(--sage); }
.site-footer a.btn-white, .site-footer a.btn-white:hover { color: var(--deep); }  /* the footer link colour would otherwise make the label white on white */
.foot-hero { padding-block: clamp(72px, 9vw, 120px) 56px; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 30px; border-bottom: 1px solid var(--line-dark); }
.foot-hero p { font: 500 clamp(2.6rem, 6vw, 5.4rem)/0.98 var(--serif); color: #fff; }
.foot-hero p em { color: var(--sage); }
.foot-top { padding-block: 56px 44px; display: grid; grid-template-columns: 1.4fr repeat(3, minmax(0, 1fr)); gap: 40px; }
.foot-top img { height: 64px; width: auto; margin-bottom: 22px; }
.foot-top h4, .foot-top h2 { font: 500 .74rem/1.4 var(--sans); letter-spacing: .3em; text-transform: uppercase; color: var(--sage); margin-bottom: 18px; }
.foot-legal a { text-decoration: underline; text-underline-offset: 3px; }
.foot-top ul { list-style: none; padding: 0; display: grid; gap: 10px; }
.foot-top .foot-sub { margin-top: 32px; }
.foot-legal { border-top: 1px solid var(--line-dark); padding-block: 24px 32px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 24px; font-size: .8rem; color: rgba(255,255,255,.5); }

/* Mobile call / quote bar */
.callbar { display: none; }

/* ===== v6 components ===== */

/* Testimonial with designed sample wording */
.testimonial { display: grid; grid-template-columns: minmax(0, 1fr) minmax(240px, 320px); gap: 40px 64px; align-items: end; }
.testimonial blockquote { margin: 0; font: italic 500 clamp(1.8rem, 3.3vw, 2.8rem)/1.2 var(--serif); }
.testimonial blockquote::before { content: "“"; display: block; font: 400 7rem/.62 var(--serif); color: var(--sage); height: .48em; }
.t-person { display: grid; grid-template-columns: 64px 1fr; gap: 16px; align-items: center; border-top: 1px solid var(--line); padding-top: 22px; }
.t-avatar { width: 64px; height: 64px; border-radius: 50%; background: linear-gradient(135deg, var(--sage), var(--teal)); color: #fff; display: grid; place-items: center; font: 600 1.3rem/1 var(--serif); }
.t-person b { display: block; font: 600 1.3rem/1.2 var(--serif); }
.t-person span { font-size: .9rem; color: var(--ink-2); }
.sample-tag { display: inline-block; font: 500 .64rem/1 var(--sans); letter-spacing: .12em; text-transform: uppercase; color: var(--amber); background: var(--amber-tint); border: 1px dashed var(--amber); padding: 5px 8px; margin-bottom: 18px; }
.dark .t-person { border-color: var(--line-dark); }
.dark .t-person span { color: rgba(255,255,255,.7); }

/* Client strip */
.clients { padding-block: clamp(48px, 5vw, 72px); border-bottom: 1px solid var(--line); }
.clients .wrap { display: grid; gap: 28px; }
.clients-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 10px 30px; }
.client-row { display: flex; flex-wrap: wrap; align-items: center; gap: 20px 46px; }
.client-row span { font: 600 .98rem/1 var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--ink-3); white-space: nowrap; transition: color .3s; }
.client-row span:nth-child(3n+2) { font: italic 600 1.5rem/1 var(--serif); letter-spacing: 0; text-transform: none; }
.client-row span:nth-child(3n) { font: 500 1.35rem/1 var(--serif); letter-spacing: .06em; }
.client-row span:hover { color: var(--ink); }

/* Plot explorer (developers) */
.plots { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 40px; align-items: start; }
.plot-site { background: var(--paper); padding: clamp(20px, 3vw, 32px); box-shadow: 0 30px 60px rgba(8,42,42,.08); display: grid; gap: 22px; }
.plot-site header { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; flex-wrap: wrap; }
.plot-site header b { font: 600 1.6rem/1 var(--serif); }
.plot-grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 10px; }
.plot-grid button { position: relative; aspect-ratio: 1; border: 1px solid var(--line); background: #fff; cursor: pointer; display: grid; align-content: space-between; padding: 10px; text-align: left; font: inherit; color: var(--ink); transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s; }
.plot-grid button:hover { transform: translateY(-3px); box-shadow: 0 10px 22px rgba(8,42,42,.1); }
.plot-grid button[aria-pressed="true"] { border-color: var(--teal); box-shadow: inset 0 0 0 2px var(--teal), 0 12px 26px rgba(6,123,123,.18); }
.plot-grid button b { font: 600 1.5rem/1 var(--serif); }
.plot-grid button small { font: 500 .58rem/1 var(--sans); letter-spacing: .14em; color: var(--ink-3); }
.fx-bars { display: grid; grid-template-columns: 1fr 1fr; gap: 3px; }
.fx-bars i { height: 4px; background: #E3E0D9; }
.fx-bars i.done { background: var(--teal); }
.fx-bars i.booked { background: #E2B76B; }
.plot-legend { display: flex; flex-wrap: wrap; gap: 8px 18px; font-size: .82rem; color: var(--ink-2); }
.plot-legend i { display: inline-block; width: 18px; height: 4px; margin-right: 7px; vertical-align: middle; background: #E3E0D9; }
.plot-legend i.done { background: var(--teal); }
.plot-legend i.booked { background: #E2B76B; }
.plot-detail { position: sticky; top: 100px; background: var(--night); color: #fff; padding: clamp(24px, 3vw, 36px); display: grid; gap: 20px; min-height: 420px; }
.plot-detail h3 { color: #fff; font-size: 2.3rem; font-weight: 500; }
.plot-detail .meta { color: rgba(255,255,255,.7); font-size: .92rem; }
.fix-drop { border-top: 1px solid var(--line-dark); padding-top: 16px; display: grid; gap: 10px; }
.fix-drop header { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.fix-drop header b { font: 500 .7rem/1 var(--sans); letter-spacing: .24em; text-transform: uppercase; color: var(--sage); }
.fix-drop ul { list-style: none; padding: 0; display: grid; gap: 7px; font-size: .9rem; color: rgba(255,255,255,.84); }
.fix-drop li { display: flex; justify-content: space-between; gap: 12px; border-bottom: 1px dashed rgba(255,255,255,.12); padding-bottom: 7px; }
.fix-drop li code { font-family: var(--mono); font-size: .76rem; color: var(--sage); white-space: nowrap; }

/* Finish selector (designers) */
.finishes { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: clamp(36px, 5vw, 80px); align-items: center; }
.finish-stage { position: relative; aspect-ratio: 4/5; overflow: hidden; background: var(--night); }
.finish-stage img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transform: scale(1.05); transition: opacity .9s var(--ease), transform 1.6s var(--ease); }
.finish-stage img.on { opacity: 1; transform: none; }
.finish-stage figcaption { position: absolute; left: 18px; bottom: 16px; z-index: 2; font: 500 .66rem/1 var(--sans); letter-spacing: .26em; text-transform: uppercase; color: #fff; text-shadow: 0 1px 8px rgba(0,0,0,.5); }
.finish-tabs { display: flex; flex-wrap: wrap; gap: 10px 18px; }
.finish-tabs button { display: grid; justify-items: center; gap: 10px; background: none; border: 0; cursor: pointer; font: 500 .62rem/1.3 var(--sans); letter-spacing: .2em; text-transform: uppercase; color: var(--ink-3); padding: 6px; }
.finish-tabs button i { width: 62px; height: 62px; border-radius: 50%; box-shadow: inset 0 0 0 1px rgba(0,0,0,.08), 0 10px 22px rgba(8,42,42,.14); transition: transform .45s var(--ease), box-shadow .45s; }
.finish-tabs button[aria-selected="true"] { color: var(--ink); }
.finish-tabs button[aria-selected="true"] i { transform: scale(1.08); box-shadow: 0 0 0 3px var(--paper), 0 0 0 4px var(--teal), 0 12px 24px rgba(8,42,42,.2); }
.finish-panel { display: grid; gap: 16px; }
.finish-panel h3 { font-size: 2.3rem; font-weight: 500; }
.mini-tiles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }

/* Build programme (contractors) */
.gantt { background: var(--paper); padding: clamp(20px, 3vw, 32px); box-shadow: 0 30px 60px rgba(8,42,42,.08); }
.gantt-scroll { overflow-x: auto; }
.gantt-grid { display: grid; grid-template-columns: 190px repeat(16, minmax(30px, 1fr)); row-gap: 12px; align-items: center; min-width: 760px; }
.gantt-grid .wk { font: 500 .6rem/1 var(--sans); letter-spacing: .1em; color: var(--ink-3); text-align: center; padding-bottom: 6px; border-bottom: 1px solid var(--line); }
.gantt-grid > span:first-child { grid-column: 1; }
.gantt-grid .lane { grid-column: 1; font-size: .86rem; color: var(--ink-2); padding-right: 14px; line-height: 1.3; }
.gantt-grid .lane.hb { color: var(--teal); font-weight: 500; }
.gantt-grid .bar { position: relative; height: 22px; background: #E2DDD3; transform-origin: left; transition: transform 1.3s var(--ease); transition-delay: var(--d, 0s); }
.gantt-grid .bar.hb { background: var(--teal); }
.gantt-grid .bar.hold { background: repeating-linear-gradient(135deg, var(--sage) 0 6px, var(--sage-soft) 6px 12px); }
.gantt-grid .bar .mark { position: absolute; left: -8px; top: 50%; width: 16px; height: 16px; margin-top: -8px; background: var(--brass); transform: rotate(45deg); box-shadow: 0 0 0 3px var(--paper); }
.gantt-grid .bar .mark + em { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); font: 500 .62rem/1 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--ink); white-space: nowrap; font-style: normal; }
.js .gantt.reveal .bar { transform: scaleX(0); }
.js .gantt.in .bar { transform: none; }
.gantt-legend { display: flex; flex-wrap: wrap; gap: 8px 22px; margin-top: 22px; font-size: .84rem; color: var(--ink-2); }
.gantt-legend i { display: inline-block; width: 22px; height: 10px; margin-right: 8px; vertical-align: middle; background: #E2DDD3; }
.gantt-legend i.hb { background: var(--teal); }
.gantt-legend i.hold { background: repeating-linear-gradient(135deg, var(--sage) 0 4px, var(--sage-soft) 4px 8px); }
.gantt-legend i.mark { width: 11px; height: 11px; background: var(--brass); transform: rotate(45deg); }

/* Value engineering: switch one en-suite between as specified and value engineered */
.ve-card { background: var(--paper); color: var(--ink); box-shadow: 0 30px 60px rgba(0,0,0,.25); padding: clamp(22px, 3.4vw, 44px); display: grid; gap: 22px; transition: background .6s var(--ease); }
.ve-card.is-b { background: #F1F7F6; }
.ve-card .code { color: var(--teal); }
.ve-top { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 16px; }
.ve-switch { display: inline-flex; background: var(--stone); padding: 4px; gap: 4px; }
.ve-switch button { font: 500 .72rem/1 var(--sans); letter-spacing: .18em; text-transform: uppercase; padding: 13px 18px; border: 0; background: transparent; color: var(--ink-2); cursor: pointer; transition: background .35s var(--ease), color .35s; min-height: 44px; }
.ve-switch button[aria-pressed="true"] { background: var(--night); color: #fff; }
.ve-table { width: 100%; border-collapse: collapse; font-size: .95rem; }
.ve-table td { padding: 14px 0; border-bottom: 1px solid var(--line); vertical-align: middle; }
.ve-table td:first-child { font: 600 1.15rem/1.25 var(--serif); }
.ve-table td small { display: block; font: 400 .84rem/1.4 var(--sans); color: var(--ink-3); transition: opacity .35s; }
.ve-table td.price { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; width: 90px; font-weight: 500; }
.ve-table td.delta { text-align: right; width: 96px; }
.ve-table td.delta span { display: inline-block; font: 500 .72rem/1 var(--sans); padding: 5px 8px; border-radius: 99px; background: var(--sage-soft); color: var(--teal-2); opacity: 0; transform: translateX(8px); transition: opacity .5s var(--ease), transform .5s var(--ease); }
.ve-card.is-b td.delta span { opacity: 1; transform: none; }
.ve-card.is-b tr.same td.delta span { opacity: 0; }
.ve-foot { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 14px; }
.ve-total { font: 600 2rem/1 var(--serif); font-variant-numeric: tabular-nums; }
.ve-total small { font: 500 .66rem/1 var(--sans); letter-spacing: .2em; text-transform: uppercase; color: var(--ink-3); margin-right: 14px; }
.ve-save { background: var(--teal); color: #fff; font: 500 .72rem/1 var(--sans); letter-spacing: .16em; text-transform: uppercase; padding: 11px 14px; opacity: 0; transform: translateY(6px); transition: opacity .5s var(--ease), transform .5s var(--ease); }
.ve-card.is-b .ve-save { opacity: 1; transform: none; }

/* Gallery + lightbox */
.gallery { display: grid; grid-template-columns: 2fr 1fr 1fr; grid-auto-rows: clamp(180px, 20vw, 280px); gap: 14px; }
.gallery > a, .gallery > div { position: relative; overflow: hidden; display: block; background: var(--stone); }
.gallery > :first-child { grid-row: span 2; }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.3s var(--ease); }
.gallery a:hover img { transform: scale(1.05); }
.gallery a::after { content: "+"; position: absolute; right: 14px; bottom: 12px; width: 38px; height: 38px; border-radius: 50%; background: rgba(255,255,255,.9); color: var(--ink); display: grid; place-items: center; font-size: 1.3rem; opacity: 0; transition: opacity .4s; }
.gallery a:hover::after, .gallery a:focus-visible::after { opacity: 1; }
.lightbox { position: fixed; inset: 0; z-index: 150; background: rgba(4,22,22,.95); display: none; place-items: center; padding: 70px var(--gr) 70px var(--gl); }
.lightbox.open { display: grid; }
.lightbox figure { display: grid; gap: 14px; justify-items: center; }
.lightbox img { max-width: min(1400px, 100%); max-height: 78vh; object-fit: contain; }
.lightbox figcaption { color: rgba(255,255,255,.8); font-size: .9rem; text-align: center; }
.lightbox button { position: absolute; width: 52px; height: 52px; background: transparent; color: #fff; border: 1px solid rgba(255,255,255,.4); cursor: pointer; font-size: 1.2rem; }
.lightbox button:hover { background: #fff; color: var(--night); }
.lb-close { top: 18px; right: 18px; }
.lb-prev { left: 18px; top: calc(50% - 26px); }
.lb-next { right: 18px; top: calc(50% - 26px); }

/* Where we supply map */
.map-wrap { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.sw-map { width: 100%; height: auto; overflow: visible; }
.sw-map .land { fill: rgba(152,192,191,.13); stroke: rgba(255,255,255,.32); stroke-width: 1.2; stroke-linejoin: round; }
.sw-map .ring { fill: none; stroke: var(--sage); stroke-width: 1; stroke-dasharray: 3 7; opacity: .45; }
.sw-map .county { fill: rgba(255,255,255,.34); font: 500 10px var(--sans); letter-spacing: .3em; text-transform: uppercase; }
.sw-map .pin circle.dot { fill: var(--sage); stroke: var(--night); stroke-width: 2; transition: r .3s; }
.sw-map .pin text { fill: #fff; font: 500 12px var(--sans); opacity: .85; paint-order: stroke; stroke: var(--night); stroke-width: 3px; }
.sw-map .pin.hq circle.dot { fill: var(--brass); }
.sw-map .pin.hq circle.pulse { fill: none; stroke: var(--brass); stroke-width: 1.5; transform-box: fill-box; transform-origin: center; animation: pulse 2.6s ease-out 3; }
.sw-map .pin.hot circle.dot { r: 9; }
@keyframes pulse { from { transform: scale(1); opacity: .9; } to { transform: scale(4); opacity: 0; } }
.site-list { list-style: none; padding: 0; display: grid; }
.site-list li { display: grid; grid-template-columns: 14px 1fr auto; gap: 14px; align-items: center; padding: 14px 0; border-bottom: 1px solid var(--line-dark); cursor: default; }
.site-list li::before { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--sage); }
.site-list li.hq::before { background: var(--brass); }
.site-list b { font: 500 1.3rem/1.2 var(--serif); color: #fff; }
.site-list span { font-size: .84rem; color: rgba(255,255,255,.6); }

/* Two-step quote form */
.form-progress { display: flex; align-items: center; gap: 14px; font: 500 .68rem/1 var(--sans); letter-spacing: .22em; text-transform: uppercase; color: var(--ink-3); }
.form-progress i { flex: 1; height: 2px; background: var(--line); position: relative; overflow: hidden; }
.form-progress i::after { content: ""; position: absolute; inset: 0; background: var(--teal); transform: scaleX(.5); transform-origin: left; transition: transform .6s var(--ease); }
.form.on-step-2 .form-progress i::after { transform: scaleX(1); }
.form-progress .s2 { opacity: .5; }
.form.on-step-2 .form-progress .s2 { opacity: 1; color: var(--teal); }
.form-progress .s1 { color: var(--teal); }
.form-step { display: grid; gap: 22px; }
.form-step[hidden] { display: none; }
.step-actions { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.linkish { background: none; border: 0; padding: 8px 0; color: var(--teal); font: 500 .74rem/1 var(--sans); letter-spacing: .2em; text-transform: uppercase; cursor: pointer; border-bottom: 1px solid currentColor; }

/* Articles and insights */
.article { max-width: 740px; margin: 0 auto; display: grid; gap: 22px; font-size: 1.1rem; }
.article h2 { font-size: clamp(1.9rem, 3vw, 2.4rem); margin-top: 26px; }
.article h3 { margin-top: 10px; }
.article p, .article li { color: var(--ink-2); }
.article ul, .article ol { padding-left: 22px; display: grid; gap: 8px; }
.article table { width: 100%; border-collapse: collapse; font-size: .95rem; }
.article th, .article td { text-align: left; padding: 12px 10px; border-bottom: 1px solid var(--line); vertical-align: top; }
.article th { font: 500 .66rem/1.2 var(--sans); letter-spacing: .2em; text-transform: uppercase; color: var(--ink-3); }
.article td:last-child { font-variant-numeric: tabular-nums; }
.callout { background: var(--sage-soft); padding: 26px 30px; border-left: 3px solid var(--teal); display: grid; gap: 10px; }
.callout p { color: var(--ink); }
.article-meta { display: flex; flex-wrap: wrap; gap: 10px 22px; font: 500 .68rem/1 var(--sans); letter-spacing: .22em; text-transform: uppercase; color: rgba(255,255,255,.75); }

/* Review checklist (draft builds only) */
.rv-summary { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.rv-group { margin-top: 48px; }
.rv-group h2 { font-size: 2rem; display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.rv-group h2 a { font: 500 .7rem/1 var(--sans); letter-spacing: .2em; text-transform: uppercase; }
.rv-item { display: grid; grid-template-columns: 26px minmax(0, 1fr) auto; gap: 14px; align-items: start; padding: 14px 0; border-bottom: 1px solid var(--line); }
.rv-item input { width: 20px; height: 20px; margin-top: 3px; accent-color: var(--teal); }
.rv-item.done > span { text-decoration: line-through; color: var(--ink-3); }
.owner { font: 500 .62rem/1 var(--sans); letter-spacing: .16em; text-transform: uppercase; padding: 6px 9px; border-radius: 99px; background: var(--stone); color: var(--ink-2); white-space: nowrap; }
.owner.photos { background: #F3E3EC; color: #7A2E58; }
.owner.clients { background: var(--sage-soft); color: var(--teal-2); }
.owner.it { background: #E4E9F5; color: #2F4A86; }
.owner.matt, .owner.seb { background: #F6E8CF; color: #84500F; }
.decisions { counter-reset: dq; list-style: none; padding: 0; display: grid; gap: 14px; }
.decisions li { counter-increment: dq; display: grid; grid-template-columns: 40px 1fr; gap: 12px; }
.decisions li::before { content: counter(dq); font: italic 500 1.6rem/1 var(--serif); color: var(--teal); }

/* Page-to-page transition (browsers that support it) */
@view-transition { navigation: auto; }
::view-transition-old(root) { animation: vtOut .3s ease both; }
::view-transition-new(root) { animation: vtIn .55s var(--ease) both; }
@keyframes vtOut { to { opacity: 0; } }
@keyframes vtIn { from { opacity: 0; transform: translateY(10px); } }

@media (max-width: 1024px) {
  .plots, .finishes, .map-wrap, .testimonial { grid-template-columns: minmax(0, 1fr); }
  .plot-detail { position: static; min-height: 0; }
  .finish-stage { aspect-ratio: 4/3; }
  .rv-summary { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 640px) {
  .plot-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .gallery { grid-template-columns: 1fr 1fr; grid-auto-rows: 160px; }
  .gallery > :first-child { grid-column: 1 / -1; grid-row: auto; }
  .mini-tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ve-sheet td small { display: none; }
  .client-row { gap: 14px 28px; }
  .client-row span { font-size: .82rem; }
  .client-row span:nth-child(3n+2), .client-row span:nth-child(3n) { font-size: 1.2rem; }
}
@media (prefers-reduced-motion: reduce) {
  @view-transition { navigation: none; }
  .js .gantt.reveal .bar { transform: none; }
}

/* Scroll reveal (only when JS is running) */
.js .reveal { opacity: 0; transform: translateY(34px); transition: opacity 1.1s var(--ease), transform 1.1s var(--ease); transition-delay: var(--d, 0s); }
.js .reveal.in { opacity: 1; transform: none; }
.js .reveal-img { clip-path: inset(0 0 100% 0); transition: clip-path 1.4s var(--ease); }
.js .reveal-img.in { clip-path: inset(0 0 0 0); }

@media (max-width: 1220px) {
  .nav, .head-actions .tel { display: none; }
  .menu-btn { display: inline-flex; }
  .head-actions { order: 3; }
  .mobile-nav { position: fixed; inset: 0; z-index: 79; background: var(--night); color: #fff; overflow-y: auto; padding: calc(var(--head) + 20px) var(--gr) 120px var(--gl); opacity: 0; visibility: hidden; transition: opacity .5s var(--ease), visibility .5s; display: block; }
  .mobile-nav.open { opacity: 1; visibility: visible; }
  .mobile-nav a { display: block; padding: 12px 0; border-bottom: 1px solid var(--line-dark); font: 500 2rem/1.15 var(--serif); color: #fff; text-decoration: none; }
  .mobile-nav a.sub { padding-left: 18px; font-size: 1.35rem; color: rgba(255,255,255,.75); }
  .mobile-nav .btn { display: flex; justify-content: center; margin-top: 18px; width: 100%; padding: 18px 20px; font: 500 .76rem/1 var(--sans); letter-spacing: .2em; }
  .mobile-nav .btn-line { border: 1px solid rgba(255,255,255,.6); color: #fff; }
  .site-header.menu-open { color: #fff; background: transparent; box-shadow: none; -webkit-backdrop-filter: none; backdrop-filter: none; }
  .site-header.menu-open .head-actions .btn { display: none; }
}
@media (max-width: 1024px) {
  .docs { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .aud { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .aud .body p { max-height: none; opacity: 1; }
  .timeline { grid-template-columns: repeat(4, minmax(0, 1fr)); row-gap: 30px; }
  .projects { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .project.feature { grid-column: 1 / -1; }
  .numbers { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .foot-top { grid-template-columns: 1fr 1fr; }
  .hero-grid { grid-template-columns: minmax(0, 1fr); }
  .glass { justify-self: start; }
}
@media (max-width: 860px) {
  .sec-head, .split, .layout-aside, .cta .wrap, .scrolly { grid-template-columns: minmax(0, 1fr); }
  .split.flip > :first-child { order: 0; }
  .facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .facts > div:nth-child(3) { padding-left: 0; border-left: 0; }
  .grid-3 { grid-template-columns: minmax(0, 1fr); gap: 36px; }
  .sticky-aside { position: static; }
  .project.feature { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .scrolly-media { display: none; }
  .scrolly-steps li { min-height: 0; opacity: 1; padding-block: 34px; border-top: 1px solid var(--line); }
  .scrolly-steps .inline-media { display: block; aspect-ratio: 4/3; overflow: hidden; background: var(--stone); }
  .scrolly-steps .inline-media img { width: 100%; height: 100%; object-fit: cover; }
  .scrolly-steps .inline-media.panel { display: grid; place-items: center; padding: 7%; background: var(--paper); aspect-ratio: auto; }
  .scrolly-steps .inline-media.panel > * { width: 100%; }
  .scrolly-steps .inline-media.panel .mock-spec, .scrolly-steps .inline-media.panel .mock-tech { height: auto; aspect-ratio: 4/3; }
  .scrolly-steps .inline-media.panel .mock-spec .g img { object-fit: contain; }
  .scrolly-steps .inline-media.panel .mock-pack { aspect-ratio: 4/3; height: auto; }
  .scrolly-steps .inline-media.panel .om { width: 40cqw; }
  .spine { display: none; }
  .split img.room { aspect-ratio: 4/3; }
}
@media (max-width: 640px) {
  /* Home tagline: two clean lines on a phone instead of three ragged ones */
  .home-hero .label { letter-spacing: .2em; gap: 12px; }
  .home-hero .label .sep { display: none; }
  .home-hero .label .l2 { display: block; }
  :root { --head: 72px; }
  body { font-size: 1rem; padding-bottom: calc(58px + env(safe-area-inset-bottom, 0px)); }
  .site-header .brand .word, .site-header.scrolled .brand .word, .site-header.menu-open .brand .word { display: none; }
  .sched-big .sched th:nth-child(2), .sched-big .sched td:nth-child(2), .sched-big .sched th:nth-child(3), .sched-big .sched td:nth-child(3) { display: none; }
  .sched-big .sched th, .sched-big .sched td { padding-inline: 8px; }
  .sched-big .chip { white-space: nowrap; }
  .finish-tabs { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; }
  .finish-tabs button { padding: 6px 0; letter-spacing: .12em; font-size: .58rem; }
  .finish-tabs button i { width: 54px; height: 54px; }
  .head-actions .btn { display: none; }
  .hero { min-height: 88svh; }
  .home-hero h1 { font-size: clamp(2.9rem, 13vw, 4rem); }
  .docs, .aud, .projects, .grid-2, .form .row, .numbers { grid-template-columns: minmax(0, 1fr); }
  .aud a { aspect-ratio: 4/4.4; }
  .timeline { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .steps > li { grid-template-columns: 60px minmax(0, 1fr); }
  .steps > li::before { font-size: 2.2rem; }
  .foot-top { grid-template-columns: minmax(0, 1fr); }
  .glass { display: none; }
  .scroll-cue { display: none; }
  .draftbar { bottom: 70px; font-size: .72rem; }
  .callbar { display: grid; grid-template-columns: 1fr 1fr; position: fixed; inset: auto 0 0 0; z-index: 85; background: var(--paper); padding-bottom: env(safe-area-inset-bottom, 0px); box-shadow: 0 -1px 0 var(--line); }
  .callbar a { display: grid; place-items: center; min-height: 58px; font: 500 .74rem/1 var(--sans); letter-spacing: .2em; text-transform: uppercase; text-decoration: none; }
  .callbar a:first-child { background: var(--teal); color: #fff; }
  .callbar a:last-child { color: var(--ink); }
  .to-top { right: 16px; bottom: calc(74px + env(safe-area-inset-bottom, 0px)); width: 42px; height: 42px; transition: bottom .35s var(--ease), background .3s; }
  .callbar { transition: transform .35s var(--ease); }
  .bar-tucked .callbar { transform: translateY(100%); }
  .bar-tucked .to-top { bottom: calc(16px + env(safe-area-inset-bottom, 0px)); }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .hero-bg { transform: none; }
  .slide { transform: none; }
  .pause-btn { display: none; }
  .js .reveal, .js .reveal-img { opacity: 1; transform: none; clip-path: none; }
}
/* contact page: the bar's second button would be "Request a quote" while you're on the form, so it's swapped or hidden */
.callbar.solo { grid-template-columns: 1fr; }
.callbar a[hidden] { display: none; }
.print-only { display: none; }
@media print { .site-header, .draftbar, .callbar, .cta, .site-footer, .mobile-nav { display: none; } .hero { min-height: 0; color: var(--ink); background: none; } .hero-bg, .hero::after { display: none; }
  .print-only { display: block; margin: 24px 0 0; padding-top: 12px; border-top: 1px solid #999; font: 400 10pt/1.4 var(--sans); color: #000; }
  /* the hero is white text on a photo on screen: on paper make it dark text, no photo, no tall empty band */
  .hero > .wrap { padding-top: 0; padding-bottom: 18px; }
  .hero h1, .hero .lede, .hero .label, .hero .crumbs, .hero .crumbs a, .hero .article-meta, .hero a:not(.btn) { color: #000 !important; text-shadow: none; }
  .hero h1 em { color: #0f6f6a; }
  .hero .spine { display: none; }
  .hero-copy > * { animation: none; } }

/* ---------- Spec-to-site slider: drag between the image spec page and the finished room ---------- */
.spec-reveal-sec { background: var(--paper); }
.spec-slider { position: relative; aspect-ratio: 3 / 2; overflow: hidden; background: var(--night); box-shadow: 0 40px 90px rgba(8,42,42,.22); user-select: none; -webkit-user-select: none; touch-action: pan-y; }
/* The finished room, as three photos: the portrait vanity down the left half, the whole room and the bath stacked
   on the right half. On a 3:2 slider each photo fits its cell at its own shape, so nothing is cropped on a PC. */
.ss-after { position: absolute; inset: 0; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); grid-template-rows: minmax(0, 1fr) minmax(0, 1fr); gap: 4px; background: #F3EFE8; }
.ss-after img { display: block; width: 100%; height: 100%; min-height: 0; object-fit: cover; }
.ss-after .a1 { grid-column: 1; grid-row: 1 / 3; object-position: 50% 45%; }
.ss-after .a2 { grid-column: 2; grid-row: 1; object-position: 50% 60%; }
.ss-after .a3 { grid-column: 2; grid-row: 2; object-position: 50% 55%; }
.ss-before { position: absolute; inset: 0; background: #F3EFE8; display: grid; place-items: center; padding: 4%; clip-path: inset(0 calc(100% - var(--pos)) 0 0); }
.spec-slider { max-width: 1080px; margin-inline: auto; }
.ss-before .mock-spec { width: 100%; height: 100%; }
.ss-before .mock-spec .g { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.6cqw; padding: 2.2cqw; }
.ss-before .mock-spec figure img { aspect-ratio: 1.15; }
.ss-before .mock-spec figcaption { font-size: 1.45cqw; padding: .55cqw .3cqw; }
.ss-before .mock-spec .s span { font-size: 1.35cqw; }
.ss-before .mock-spec .p { padding: 2.4cqw 1.8cqw; gap: 1cqw; }
.ss-before .mock-spec .p b { font-size: 2.5cqw; }
.ss-before .mock-spec .p small { font-size: 1.6cqw; }
.ss-before .mock-spec .p i { height: .6cqw; }
.ss-handle { position: absolute; top: 0; bottom: 0; left: var(--pos); width: 2px; margin-left: -1px; background: #fff; box-shadow: 0 0 0 1px rgba(8,42,42,.15); pointer-events: none; }
.ss-handle i { position: absolute; top: 50%; left: 50%; width: 54px; height: 54px; transform: translate(-50%, -50%); border-radius: 50%; background: #fff; box-shadow: 0 8px 26px rgba(8,42,42,.35); }
.ss-handle i::before, .ss-handle i::after { content: ""; position: absolute; top: 50%; width: 9px; height: 9px; border-top: 2px solid var(--teal); border-left: 2px solid var(--teal); }
.ss-handle i::before { left: 12px; transform: translateY(-50%) rotate(-45deg); }
.ss-handle i::after { right: 12px; transform: translateY(-50%) rotate(135deg); }
.ss-tag { position: absolute; top: 18px; font: 500 .66rem/1 var(--sans); letter-spacing: .26em; text-transform: uppercase; padding: 9px 12px; pointer-events: none; transition: opacity .3s; }
.ss-tag.l { left: 18px; background: var(--teal); color: #fff; }
.ss-tag.r { right: 18px; background: rgba(8,42,42,.72); color: #fff; }
.ss-range { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: ew-resize; -webkit-appearance: none; appearance: none; background: none; }
.ss-range:focus-visible + .ss-handle, .spec-slider:has(.ss-range:focus-visible) .ss-handle i { outline: 2px solid var(--brass); outline-offset: 3px; }
@media (max-width: 640px) {
  .spec-slider { aspect-ratio: 4 / 5; }
  .ss-before { padding: 14% 3% 4%; }
  .ss-before .mock-spec .g figure:nth-child(n+10) { display: none; }
  .ss-after { gap: 3px; }
  .ss-before .mock-spec { grid-template-columns: minmax(0, 1fr) 7% 0; }
  .ss-before .mock-spec .p { display: none; }
  .ss-before .mock-spec .g { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2.6cqw; padding: 3.5cqw; }
  .ss-before .mock-spec figcaption { font-size: 3.2cqw; }
  .ss-before .mock-spec .s span { font-size: 3cqw; }
  .ss-handle i { width: 44px; height: 44px; }
}

/* ---------- Rooms strip: drifts sideways as the page scrolls; a swipeable row otherwise ---------- */
.rooms-sec { overflow: hidden; }
.rooms { overflow-x: auto; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
.rooms::-webkit-scrollbar { display: none; }
.rooms-track { display: flex; gap: clamp(14px, 2vw, 26px); padding-inline: max(var(--gl), calc((100vw - var(--max)) / 2 + var(--gl))); width: max-content; will-change: transform; }
.rooms figure { margin: 0; position: relative; height: clamp(300px, 42vw, 520px); flex: none; overflow: hidden; background: var(--stone); }
.rooms figure img { height: 100%; width: auto; max-width: none; display: block; transition: transform 1.2s var(--ease); }
.rooms figure:hover img { transform: scale(1.04); }
.rooms figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 40px 18px 16px; color: #fff; font: 600 1.25rem/1.15 var(--serif); background: linear-gradient(180deg, transparent, rgba(6,30,30,.72)); }
.rooms figcaption small { display: block; margin-top: 4px; font: 500 .66rem/1.3 var(--sans); letter-spacing: .22em; text-transform: uppercase; color: var(--sage); }
.js .rooms[data-drift].drifting { overflow: visible; }

/* ---------- Image spec card that turns over to the tech spec ---------- */
.flip { position: relative; height: 100%; perspective: 1400px; cursor: pointer; outline: none; }
.flip-in { position: relative; height: 100%; transform-style: preserve-3d; transition: transform .9s var(--ease); }
.flip-face { position: absolute; inset: 0; backface-visibility: hidden; -webkit-backface-visibility: hidden; }
.flip-back { transform: rotateY(180deg); }
.flip.flipped .flip-in { transform: rotateY(180deg); }
@media (hover: hover) { .flip:hover .flip-in { transform: rotateY(180deg); } }
.flip-hint { position: absolute; right: -8px; bottom: -14px; z-index: 2; font: 500 .6rem/1 var(--sans); letter-spacing: .2em; text-transform: uppercase; background: var(--brass); color: var(--night); padding: 7px 10px; box-shadow: 0 6px 16px rgba(0,0,0,.25); }
.flip-hint .h-back { display: none; }
.flip.flipped .flip-hint .h-spec { display: none; }
.flip.flipped .flip-hint .h-back { display: inline; }
@media (hover: hover) { .flip:hover .flip-hint .h-spec { display: none; } .flip:hover .flip-hint .h-back { display: inline; } }
.flip:focus-visible { outline: 2px solid var(--brass); outline-offset: 4px; }

@media (prefers-reduced-motion: reduce) { .flip-in { transition: none; } .rooms figure img { transition: none; } }
