/* ---------------------------------------------------------------------------
   Gib-San V2 · revision 7 — luxe
   Owner direction 2026-09-28: a stronger, high-end first impression;
   photography with room to breathe; copy placed on the image, not in a card;
   rounded corners kept; the opening should feel like arriving at a pool.
   Loaded last on every page. The palette is theirs pushed toward evening:
   their ink as the night field, their sun as champagne gold, their water as
   the one cool note.

   Fonts: Cormorant Garamond and Manrope, both SIL OFL 1.1, self-hosted
   because the CSP allows 'self' only.
   --------------------------------------------------------------------------- */

@font-face {
  font-family: "Cormorant Garamond";
  src: url("fonts/cormorant-garamond.woff2") format("woff2");
  font-weight: 300 700; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Cormorant Garamond";
  src: url("fonts/cormorant-garamond-italic.woff2") format("woff2");
  font-weight: 300 700; font-style: italic; font-display: swap;
}
@font-face {
  font-family: "Manrope";
  src: url("fonts/manrope.woff2") format("woff2");
  font-weight: 200 800; font-style: normal; font-display: swap;
}

:root {
  --lx-night:     #0C0A09;
  --lx-night-2:   #15120F;
  --lx-night-3:   #1F1A16;
  --lx-ivory:     #F6F1E7;
  --lx-bone:      #ECE4D6;
  --lx-sand:      #DCCFBA;
  --lx-gold:      #C9A36A;   /* their sun, taken down to champagne */
  --lx-gold-hi:   #E6C995;
  --lx-gold-ink:  #7E5F2E;   /* gold for TEXT on ivory: 5.2:1 */
  --lx-mist:      rgba(246,241,231,.74);
  --lx-mist-2:    rgba(246,241,231,.52);
  --lx-line:      rgba(201,163,106,.28);
  --lx-line-ink:  rgba(12,10,9,.12);

  --lx-serif: "Cormorant Garamond", "Cormorant", Garamond, "Times New Roman", serif;
  --lx-sans:  "Manrope", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --lx-ease:  cubic-bezier(.22, .61, .12, 1);
  --lx-slow:  1100ms;

  /* the shared tokens every older component reads */
  --font-head: var(--lx-serif);
  --font-body: var(--lx-sans);
  --paper: var(--lx-ivory);
  --paper-recessed: var(--lx-bone);
  --ink: var(--lx-night);
  --ink-page: var(--lx-night);
  --ink-body: #2A2622;
  --ink-muted: #5E564D;
  --hairline: var(--lx-line-ink);
  --accent: var(--lx-gold);
  --accent-press: #B8904F;
  --secondary: var(--lx-gold);
  --secondary-deep: var(--lx-gold-ink);
  --radius: 16px;
  --radius-lg: 26px;
  --radius-md: 18px;
  --container: 1240px;
}

/* ================================================================= base */
html { background: var(--lx-night); }
body {
  background: var(--lx-ivory);
  color: var(--ink-body);
  font-family: var(--lx-sans);
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
body::before { display: none; }

h1, h2, h3, h4 {
  font-family: var(--lx-serif);
  font-weight: 400;
  letter-spacing: -0.012em;
  line-height: 1.04;
  color: var(--lx-night);
}
h1 { font-size: clamp(2.6rem, 1.6rem + 4.2vw, 5.4rem); font-weight: 300; }
h2 { font-size: clamp(2rem, 1.4rem + 2.4vw, 3.4rem); font-weight: 300; }
h3 { font-size: clamp(1.35rem, 1.15rem + .8vw, 1.8rem); font-weight: 500; letter-spacing: 0; }
h1 em, h2 em, h3 em { font-style: italic; }

.lede { font-size: clamp(1.05rem, .98rem + .3vw, 1.2rem); line-height: 1.65; color: var(--ink-muted); }

a { text-decoration-thickness: 1px; text-underline-offset: .22em; }
::selection { background: var(--lx-gold); color: var(--lx-night); }
:focus-visible { outline: 1px solid var(--lx-gold); outline-offset: 4px; }

.eyebrow, .lx-eyebrow {
  font-family: var(--lx-sans);
  font-size: .7rem; font-weight: 600;
  letter-spacing: .32em; text-transform: uppercase;
  color: var(--lx-gold-ink);
  display: inline-flex; align-items: center; gap: .9rem;
}
.eyebrow::before, .lx-eyebrow::before {
  content: ""; display: inline-block; width: 2.4rem; height: 1px;
  background: currentColor; opacity: .7; margin: 0;
}
.lx-eyebrow { color: var(--lx-gold-hi); margin: 0 0 1.4rem; }
.lx-eyebrow--ink { color: var(--lx-gold-ink); }

.lx-wrap { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: clamp(1.25rem, 4vw, 3rem); }

.section { padding-block: clamp(4rem, 2.5rem + 6vw, 8rem); }
.section--tight { padding-block: clamp(2.5rem, 1.8rem + 3vw, 4.5rem); }
.section--recessed { background: var(--lx-bone); }
.section--recessed::before, .section--recessed::after { display: none; }
.caustic { display: none; }

/* ============================================================== buttons
   r9: ONE system (BRAND.md · Components · Buttons). Pill, label type, at most
   three words. primary | secondary | ghost | shop, plus --sm and --icon.
   Secondary and ghost read their ground: ivory by default, night inside the
   dark grounds listed under ".is-dark" below.                               */
.btn {
  --btn-fg: var(--lx-night);
  --btn-bg: transparent;
  --btn-bd: transparent;
  --btn-fg-hover: var(--lx-night);
  --btn-bg-hover: transparent;
  --btn-bd-hover: transparent;
  display: inline-flex; align-items: center; justify-content: center; gap: .6rem;
  min-height: 48px; padding: 0 1.75rem;
  font-family: var(--lx-sans); font-weight: 600; font-size: .75rem; line-height: 1;
  letter-spacing: .16em; text-transform: uppercase; white-space: normal; text-align: center;
  max-width: 100%; padding-block: .8rem;
  color: var(--btn-fg); background: var(--btn-bg);
  border: 1px solid var(--btn-bd); border-radius: 999px;
  box-shadow: none; text-decoration: none; cursor: pointer;
  -webkit-backdrop-filter: none; backdrop-filter: none;
  transition: background-color 300ms var(--lx-ease), color 300ms var(--lx-ease), border-color 300ms var(--lx-ease);
}
.btn:hover { color: var(--btn-fg-hover); background: var(--btn-bg-hover); border-color: var(--btn-bd-hover); transform: none; box-shadow: none; }
.btn:focus-visible { outline: 2px solid var(--lx-night); outline-offset: 3px; }
.btn[disabled], .btn[aria-disabled="true"] { opacity: .45; cursor: not-allowed; pointer-events: none; }
.btn .i { width: 16px; height: 16px; flex: 0 0 auto; }

.btn--primary, .footer .btn--primary, .pane--photo .btn--primary, .on-dark .btn--primary {
  --btn-fg: var(--lx-night); --btn-bg: var(--lx-gold); --btn-bd: var(--lx-gold);
  --btn-fg-hover: var(--lx-night); --btn-bg-hover: var(--lx-gold-hi); --btn-bd-hover: var(--lx-gold-hi);
}
.btn--primary:active { background: #B8904F; border-color: #B8904F; }
.btn--secondary {
  --btn-fg: var(--lx-night); --btn-bd: rgba(12,10,9,.35);
  --btn-fg-hover: var(--lx-ivory); --btn-bg-hover: var(--lx-night); --btn-bd-hover: var(--lx-night);
}
.btn--ghost {
  --btn-fg: var(--lx-gold-ink); --btn-fg-hover: var(--lx-gold-ink);
  min-height: 44px; padding: 0; gap: .8rem;
}
.btn--ghost::after {
  content: ""; width: 2.4rem; height: 1px; background: currentColor;
  transform-origin: left center; transition: transform 400ms var(--lx-ease);
}
.btn--ghost:hover::after { transform: scaleX(1.6); }
.btn--ghost:has(.i)::after { display: none; }
.btn--ghost .i { transition: transform 400ms var(--lx-ease); }
.btn--ghost:hover .i { transform: translateX(4px); }
.btn--shop {
  --btn-fg: var(--lx-gold-hi); --btn-bd: rgba(230,201,149,.7);
  --btn-fg-hover: var(--lx-night); --btn-bg-hover: var(--lx-gold); --btn-bd-hover: var(--lx-gold);
}
.btn--shop::before {
  content: ""; width: 15px; height: 15px; flex: 0 0 auto; background: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 8h14l-1.2 12H6.2z'/%3E%3Cpath d='M9 8V6a3 3 0 0 1 6 0v2'/%3E%3C/svg%3E") center / contain no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 8h14l-1.2 12H6.2z'/%3E%3Cpath d='M9 8V6a3 3 0 0 1 6 0v2'/%3E%3C/svg%3E") center / contain no-repeat;
}
.btn--sm { min-height: 44px; padding: 0 1.1rem; }
.btn--icon {
  --btn-fg: var(--lx-night); --btn-bd: rgba(12,10,9,.35);
  --btn-fg-hover: var(--lx-ivory); --btn-bg-hover: var(--lx-night); --btn-bd-hover: var(--lx-night);
  width: 44px; min-height: 44px; height: 44px; padding: 0; flex: 0 0 auto;
}
.btn--icon .i { width: 20px; height: 20px; }
.i { width: 1.1em; height: 1.1em; flex: 0 0 auto; vertical-align: -.15em; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.gchip { display: inline-flex; align-items: center; gap: .35rem; white-space: nowrap; }
.gchip .i { width: 14px; height: 14px; }

/* the dark grounds */
.is-dark .btn--secondary, .hero .btn--secondary, .stage .btn--secondary, .band .btn--secondary,
.shopband .btn--secondary, .path .btn--secondary, .footer .btn--secondary, .arrival .btn--secondary,
.glb .btn--secondary, .actionbar .btn--secondary, .pane--photo .btn--secondary, .on-dark .btn--secondary,
.slab .btn--icon, .glb .btn--icon {
  --btn-fg: var(--lx-ivory); --btn-bd: rgba(246,241,231,.45);
  --btn-fg-hover: var(--lx-night); --btn-bg-hover: var(--lx-ivory); --btn-bd-hover: var(--lx-ivory);
}
.is-dark .btn--ghost, .hero .btn--ghost, .stage .btn--ghost, .band .btn--ghost, .shopband .btn--ghost,
.footer .btn--ghost, .ethic .btn--ghost, .rail .btn--ghost, .path .btn--ghost {
  --btn-fg: var(--lx-gold-hi); --btn-fg-hover: var(--lx-ivory);
}
.is-dark .btn:focus-visible, .hero .btn:focus-visible, .stage .btn:focus-visible, .band .btn:focus-visible,
.shopband .btn:focus-visible, .path .btn:focus-visible, .footer .btn:focus-visible, .slab .btn:focus-visible,
.rail .btn:focus-visible, .arrival .btn:focus-visible, .glb .btn:focus-visible, .actionbar .btn:focus-visible,
.ethic .btn:focus-visible { outline-color: var(--lx-gold-hi); }

/* =========================================================== masthead */
.slab {
  background: rgba(12,10,9,.9);
  border-bottom: 1px solid var(--lx-line);
  box-shadow: none;
  color: var(--lx-ivory);
}
@supports ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .slab { background: rgba(12,10,9,.93); -webkit-backdrop-filter: blur(18px) saturate(140%); backdrop-filter: blur(18px) saturate(140%); }
  .slab.is-lifted { background: rgba(12,10,9,.9); }
}
.slab.is-lifted { box-shadow: 0 18px 40px -24px rgba(12,10,9,.55); }
.slab__tier1 { max-width: 1320px; padding-block: .85rem; }
.slab__mark img { width: clamp(120px, 12vw, 150px); }
.slab__tel { color: var(--lx-ivory); font-family: var(--lx-sans); font-weight: 500; letter-spacing: .02em; font-size: .9rem; }
.slab__tel small { color: var(--lx-gold-hi); letter-spacing: .16em; font-size: .75rem; }
.slab__bars, .slab__bars::before, .slab__bars::after { height: 1px; background: var(--lx-ivory); }
.slab__nav { border-top: 1px solid rgba(201,163,106,.14); background: rgba(12,10,9,.96); }
.slab__nav ul { max-width: 1320px; }
.slab__nav li { border-bottom-color: rgba(246,241,231,.08); }
.slab__nav a {
  color: var(--lx-mist);
  font-family: var(--lx-sans); font-weight: 500;
  font-size: .8rem; letter-spacing: .2em; text-transform: uppercase;
}
.slab__nav a:hover { color: var(--lx-ivory); background: transparent; border-left-color: var(--lx-gold); }
.slab__nav a[aria-current="page"] { color: var(--lx-ivory); border-left-color: var(--lx-gold); }
@media (min-width: 62rem) {
  .slab__nav { background: transparent; }
  .slab__nav ul { justify-content: center; gap: 0 clamp(1.4rem, 3vw, 3rem); }
  .slab__nav a { min-height: 44px; font-size: .75rem; letter-spacing: .18em; border-bottom: 1px solid transparent; }
  .slab__nav a:hover { border-bottom-color: var(--lx-gold); }
  .slab__nav a[aria-current="page"] { border-bottom-color: var(--lx-gold); }
}

/* on the homepage the masthead floats over the film until the page moves */
.home-luxe .slab { position: fixed; inset: 0 0 auto 0; background: linear-gradient(180deg, rgba(12,10,9,.62), rgba(12,10,9,0)); border-bottom-color: transparent; -webkit-backdrop-filter: none; backdrop-filter: none; }
.home-luxe .slab .slab__nav { border-top-color: transparent; }
.home-luxe .slab.is-lifted { background: rgba(12,10,9,.93); border-bottom-color: var(--lx-line); -webkit-backdrop-filter: blur(18px) saturate(140%); backdrop-filter: blur(18px) saturate(140%); }
@media (max-width: 61.99rem) {
  .home-luxe .slab .slab__nav[data-open="true"] { background: rgba(12,10,9,.97); }
}

/* ===================================================== page heroes (all) */
.hero { background: var(--lx-night); color: var(--lx-ivory); padding-block: clamp(4rem, 2.6rem + 6vw, 8.5rem) clamp(3.5rem, 2.4rem + 5vw, 7rem); }
.hero--tint, .hero--tint .hero__field { background: linear-gradient(180deg, var(--lx-night-2), var(--lx-night)); }
.hero__scrim { background: linear-gradient(180deg, rgba(12,10,9,.45), rgba(12,10,9,.15) 40%, rgba(12,10,9,.75)); }
.hero .pane, .hero .pane--hero, .hero .pane--photo, .home-v2 .pane--photo.pane--hero {
  background: none; border: 0; box-shadow: none; padding: 0;
  -webkit-backdrop-filter: none; backdrop-filter: none;
}
.hero .pane::before, .hero .pane::after, .home-v2 .pane--photo.pane--hero::before { display: none; }
.hero h1, .hero h2, .hero .pane h1 { color: var(--lx-ivory); }
.hero .eyebrow { color: var(--lx-gold-hi); }
.hero .lede, .hero p { color: var(--lx-mist); }
.hero a:not(.btn) { color: var(--lx-ivory); text-decoration-color: var(--lx-gold); }
.pane--hero { max-width: 58rem; }
.pane--hero h1 { max-width: 18ch; }

/* photo heroes: Jacky 2026-09-28 — no blocky card, no faded picture. The copy
   sits on the photograph; only the corner behind it is shaded. */
.hero.hero--photo { min-height: clamp(34rem, 82vh, 52rem); align-items: end; }
.hero.hero--photo .pane--photo.pane--hero {
  max-width: 44rem; padding: 0;
  background: none; border: 0; box-shadow: none;
  -webkit-backdrop-filter: none; backdrop-filter: none;
}
.hero.hero--photo .hero__field::after {
  background:
    linear-gradient(90deg, rgba(12,10,9,.72) 0%, rgba(12,10,9,.42) 34%, rgba(12,10,9,0) 60%),
    linear-gradient(to top, rgba(12,10,9,.6) 0%, rgba(12,10,9,0) 40%);
}
/* phone: content.css stacks the photo above the copy; on the night field the
   copy has to turn ivory again */
@media (max-width: 40em) {
  .hero.hero--photo { min-height: 0; }
  .hero.hero--photo .pane--photo.pane--hero { color: var(--lx-mist); }
  .hero.hero--photo .pane--photo.pane--hero h1,
  .hero.hero--photo .pane--photo.pane--hero h2,
  .hero.hero--photo .pane--photo.pane--hero a:not(.btn) { color: var(--lx-ivory); text-shadow: none; }
  .hero.hero--photo .pane--photo.pane--hero .lede,
  .hero.hero--photo .pane--photo.pane--hero .form__note,
  .hero.hero--photo .pane--photo.pane--hero .hint { color: var(--lx-mist); text-shadow: none; }
  .hero.hero--photo .pane--photo.pane--hero .eyebrow { color: var(--lx-gold-hi); }
}
.hero.hero--photo h1 { max-width: 16ch; text-shadow: 0 6px 40px rgba(0,0,0,.45); }
.hero.hero--photo .lede { color: var(--lx-ivory); text-shadow: 0 2px 18px rgba(0,0,0,.6); }
.hero-rule { height: 1px; background: var(--lx-line); box-shadow: none; }

/* first-visit plate on inner pages: the night field and the ivory mark */
html.intro-on .intro { background: var(--lx-night); }
.intro__line { background: var(--lx-gold); height: 1px; }

/* ======================================================= cards and panes */
.card, .pane:not(.pane--hero), .route, .faq, .form, .config-group, .work__frame, .proof {
  border-radius: var(--radius-lg);
}
.card, .pane:not(.pane--hero):not(.pane--photo) {
  background: #FBF8F2;
  border: 1px solid var(--lx-line-ink);
  box-shadow: none;
  -webkit-backdrop-filter: none; backdrop-filter: none;
}
.card h3, .route h3 { font-family: var(--lx-serif); font-weight: 500; }
.door { border-radius: var(--radius-lg); }
.proofstrip b { font-family: var(--lx-serif); font-weight: 400; font-size: 1.9rem; color: var(--lx-gold-ink); }

input, select, textarea { border-radius: 12px; font-family: var(--lx-sans); }

/* =============================================================== footer */
.footer { background: var(--lx-night); color: var(--lx-mist); border-top: 1px solid var(--lx-line); }
.footer__glow { display: none; }
.footer h2 { color: var(--lx-ivory); font-weight: 300; }
.footer h3 { font-family: var(--lx-sans); font-size: .75rem; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--lx-gold); }
.footer address, .footer p, .footer li { color: var(--lx-mist); }
.footer a:not(.btn) { color: var(--lx-ivory); text-decoration-color: rgba(201,163,106,.6); }
.footer .affil li { border-color: rgba(246,241,231,.14); }

/* ========================================================= phone action bar */
/* r32c (Karen r32 fix 9): was 45.99rem, so at 736 to 783 px the bar went near-white under cream "Call" text.
   The bar shows up to 48.99rem (site.css), so the dark bar now covers every width it shows. */
@media (max-width: 48.99rem) {
  .actionbar { background: rgba(12,10,9,.86); border-top: 1px solid var(--lx-line); -webkit-backdrop-filter: blur(18px); backdrop-filter: blur(18px); }
  .actionbar .btn { min-height: 48px; border-radius: 999px; }
}

/* ======================================================= the arrival film */
.arrival { display: none; }
html.intro-on .arrival {
  display: block; position: fixed; inset: 0; z-index: 9999;
  background: #000; color: var(--lx-ivory); overflow: hidden; cursor: pointer;
  /* failsafe: clears itself even if luxe.js never runs */
  animation: arrival-failsafe 900ms var(--lx-ease) 13s forwards;
}
html.arrival-on .arrival { animation: none; }
html.arrival-done .arrival { display: none; }
html.arrival-on, html.arrival-on body { overflow: hidden; }
@keyframes arrival-failsafe { to { opacity: 0; visibility: hidden; pointer-events: none; } }

.arrival__film {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  transform: scale(1.02);
  transition: transform 9s linear, opacity var(--lx-slow) var(--lx-ease), filter var(--lx-slow) var(--lx-ease);
}
html.arrival-rolling .arrival__film { transform: scale(1.12); }
.arrival__veil {
  position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(120% 80% at 50% 50%, rgba(0,0,0,0) 30%, rgba(0,0,0,.6) 100%),
    linear-gradient(180deg, rgba(0,0,0,.45), rgba(0,0,0,0) 30%, rgba(0,0,0,0) 65%, rgba(0,0,0,.6));
}

.arrival__mark {
  position: absolute; left: 50%; top: clamp(1.5rem, 5vh, 3rem);
  width: clamp(120px, 14vw, 170px); transform: translate(-50%, -8px);
  opacity: 0; transition: opacity 1200ms var(--lx-ease) 300ms, transform 1200ms var(--lx-ease) 300ms;
}
html.arrival-rolling .arrival__mark { opacity: .95; transform: translate(-50%, 0); }

.arrival__title {
  position: absolute; inset: 0; display: grid; place-content: center; text-align: center;
  padding: 0 1.5rem; pointer-events: none;
}
.arrival__title::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: radial-gradient(60% 46% at 50% 50%, rgba(0,0,0,.62), rgba(0,0,0,.28) 60%, rgba(0,0,0,0) 100%);
  opacity: 0; transition: opacity 1400ms var(--lx-ease);
}
html.arrival-title .arrival__title::before { opacity: 1; }
.arrival__title { isolation: isolate; }
.arrival__eyebrow, .arrival__sub {
  margin: 0; font-family: var(--lx-sans); font-weight: 600;
  font-size: .75rem; letter-spacing: .3em; text-transform: uppercase; color: var(--lx-gold-hi);
  opacity: 0; transform: translateY(10px);
  transition: opacity 1200ms var(--lx-ease), transform 1200ms var(--lx-ease);
}
.arrival__line {
  margin: 1.4rem 0; font-family: var(--lx-serif); font-weight: 300;
  font-size: clamp(2.8rem, 1.4rem + 6.4vw, 7.4rem); line-height: .98; letter-spacing: -0.015em;
  color: var(--lx-ivory); text-shadow: 0 10px 60px rgba(0,0,0,.45);
  opacity: 0; transform: translateY(24px); filter: blur(10px);
  transition: opacity 1600ms var(--lx-ease) 150ms, transform 1600ms var(--lx-ease) 150ms, filter 1600ms var(--lx-ease) 150ms;
}
.arrival__line em { display: block; font-style: italic; color: var(--lx-gold-hi); }
.arrival__sub { transition-delay: 700ms; color: var(--lx-mist); }
html.arrival-title .arrival__eyebrow,
html.arrival-title .arrival__sub { opacity: 1; transform: none; }
html.arrival-title .arrival__line { opacity: 1; transform: none; filter: none; }

.arrival__foot {
  position: absolute; inset: auto 0 0 0;
  display: flex; align-items: center; gap: 1.5rem;
  padding: 0 clamp(1.25rem, 4vw, 3rem) clamp(1.25rem, 4vh, 2.5rem);
}
.arrival__progress { flex: 1; height: 1px; background: rgba(246,241,231,.2); overflow: hidden; }
.arrival__progress span { display: block; height: 100%; background: var(--lx-gold); transform: scaleX(0); transform-origin: left; transition: transform 250ms linear; }
.arrival__enter { appearance: none; }

/* the handover: the film sinks into the water and the house lights come up */
html.arrival-leaving .arrival { pointer-events: none; }
html.arrival-leaving .arrival__film { opacity: 0; filter: blur(14px) brightness(1.4); transform: scale(1.22); }
html.arrival-leaving .arrival__title,
html.arrival-leaving .arrival__mark,
html.arrival-leaving .arrival__foot { opacity: 0; transition: opacity 600ms var(--lx-ease); }
html.arrival-leaving .arrival { background: transparent; transition: background-color var(--lx-slow) var(--lx-ease); }

/* the stage waits behind the arrival, then settles in */
html.intro-on .home-luxe .slab { animation: settle-down 900ms var(--lx-ease) 13.2s forwards; }
html.arrival-on .home-luxe .slab { opacity: 0; transform: translateY(-12px); animation: none; }
html.arrival-leaving .home-luxe .slab, html.arrival-done .home-luxe .slab { opacity: 1; transform: none; animation: none; transition: opacity 900ms var(--lx-ease) 500ms, transform 900ms var(--lx-ease) 500ms; }
html.arrival-on .stage__inner > * { opacity: 0; transform: translateY(28px); }
html.arrival-leaving .stage__inner > *, html.arrival-done .stage__inner > * {
  opacity: 1; transform: none;
  transition: opacity 1200ms var(--lx-ease), transform 1200ms var(--lx-ease);
}
html.arrival-leaving .stage__inner > :nth-child(2) { transition-delay: 450ms; }
html.arrival-leaving .stage__inner > :nth-child(3) { transition-delay: 650ms; }
html.arrival-leaving .stage__inner > :nth-child(4) { transition-delay: 850ms; }

/* ============================================================ homepage */
.home-luxe { background: var(--lx-ivory); }
.home-luxe main { overflow-x: clip; }

/* --- stage */
.stage {
  position: relative; isolation: isolate;
  min-height: 100vh; min-height: 100svh;
  display: grid; align-items: end;
  color: var(--lx-ivory); background: var(--lx-night);
  padding: clamp(9rem, 20vh, 12rem) 0 clamp(4rem, 12vh, 8rem);
  overflow: hidden;
}
.stage__film { position: absolute; inset: 0; z-index: -1; }
.stage__film video { width: 100%; height: 100%; object-fit: cover; display: block; }
.stage__veil {
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(12,10,9,.55) 0%, rgba(12,10,9,.05) 32%, rgba(12,10,9,.25) 60%, rgba(12,10,9,.88) 100%),
    linear-gradient(90deg, rgba(12,10,9,.55), rgba(12,10,9,0) 60%);
}
.stage__inner { width: 100%; max-width: 1320px; margin-inline: auto; padding-inline: clamp(1.25rem, 4vw, 3rem); }
.stage__title {
  color: var(--lx-ivory); max-width: 13ch; margin: 0 0 1.6rem;
  font-size: clamp(3.1rem, 1.6rem + 6.2vw, 8rem); font-weight: 300; line-height: .95; letter-spacing: -0.02em;
  text-shadow: 0 20px 80px rgba(0,0,0,.35);
}
.stage__title em { display: block; color: var(--lx-gold-hi); }
.stage__lede { max-width: 36ch; margin: 0 0 2.4rem; color: var(--lx-mist); font-size: clamp(1.02rem, .96rem + .35vw, 1.22rem); line-height: 1.7; }
.stage__actions { display: flex; flex-wrap: wrap; gap: .9rem; }
.stage__actions--center { justify-content: center; }
.stage__cue {
  position: absolute; right: clamp(1.25rem, 4vw, 3rem); bottom: clamp(2rem, 6vh, 4rem);
  display: grid; justify-items: center; gap: .8rem; text-decoration: none;
  font-family: var(--lx-sans); font-size: .75rem; font-weight: 600; letter-spacing: .3em; text-transform: uppercase;
  color: var(--lx-mist); writing-mode: vertical-rl;
}
.stage__cue::after {
  content: ""; width: 1px; height: 64px;
  background: linear-gradient(180deg, var(--lx-gold), transparent);
  animation: cue 2.4s var(--lx-ease) infinite;
}
@keyframes cue { 0% { transform: scaleY(0); transform-origin: top; } 50% { transform: scaleY(1); transform-origin: top; } 51% { transform-origin: bottom; } 100% { transform: scaleY(0); transform-origin: bottom; } }
@media (max-width: 45.99rem) { .stage__cue { display: none; } }

/* --- overture */
.overture { padding-block: clamp(5rem, 3rem + 9vw, 11rem); background: var(--lx-ivory); }
.overture__grid { display: grid; gap: 2rem; }
.overture__statement {
  margin: 0; max-width: 22ch;
  font-size: clamp(2.1rem, 1.3rem + 3.4vw, 4.6rem); font-weight: 300; line-height: 1.08;
  color: var(--lx-night);
}
.overture__statement em { color: var(--lx-gold-ink); }
.overture__note { max-width: 44ch; margin: 0; color: var(--ink-muted); font-size: 1.08rem; line-height: 1.75; }
@media (min-width: 62rem) {
  .overture__grid { grid-template-columns: 1fr 1fr; grid-template-areas: "eye eye" "st note"; column-gap: 6vw; align-items: end; }
  .overture__grid .lx-eyebrow { grid-area: eye; }
  .overture__statement { grid-area: st; }
  .overture__note { grid-area: note; padding-bottom: .6rem; }
}

/* --- the two paths */
.paths { background: var(--lx-ivory); padding: 0 clamp(.75rem, 2vw, 1.5rem) clamp(4rem, 8vw, 7rem); }
.paths__grid { display: grid; gap: clamp(.75rem, 1.5vw, 1.25rem); max-width: 1480px; margin-inline: auto; }
@media (min-width: 52rem) { .paths__grid { grid-template-columns: 1fr 1fr; } }
.path {
  position: relative; isolation: isolate; overflow: hidden;
  display: grid; align-items: end;
  min-height: clamp(30rem, 78vh, 46rem);
  border-radius: var(--radius-lg);
  color: var(--lx-ivory); text-decoration: none;
  background: var(--lx-night);
}
.path__img { position: absolute; inset: 0; z-index: -1; }
.path__img img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.04); transition: transform 1800ms var(--lx-ease), filter 1800ms var(--lx-ease); filter: brightness(.72) saturate(.95); }
.path::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, rgba(12,10,9,0) 35%, rgba(12,10,9,.85));
}
.path:hover .path__img img, .path:focus-visible .path__img img { transform: scale(1.1); filter: brightness(.82) saturate(1); }
.path__body { display: grid; gap: .6rem; padding: clamp(1.75rem, 3vw, 3rem); }
.path__num { font-family: var(--lx-serif); font-style: italic; font-size: 1.3rem; color: var(--lx-gold-hi); }
.path .lx-eyebrow { margin: 0; }
.path__title { font-family: var(--lx-serif); font-weight: 300; font-size: clamp(2.6rem, 1.6rem + 3.4vw, 4.6rem); line-height: 1; letter-spacing: -0.015em; }
.path__line { max-width: 38ch; color: var(--lx-mist); line-height: 1.65; }
.path__go {
  margin-top: 1rem; display: inline-flex; align-items: center; gap: .9rem;
  font-family: var(--lx-sans); font-weight: 600; font-size: .7rem; letter-spacing: .26em; text-transform: uppercase; color: var(--lx-gold-hi);
}
.path__go::after { content: ""; width: 2.4rem; height: 1px; background: currentColor; transform-origin: left center; transition: transform 600ms var(--lx-ease); }
.path:hover .path__go::after { transform: scaleX(1.8); }

/* --- film bands */
.band {
  position: relative; isolation: isolate; overflow: hidden;
  min-height: clamp(34rem, 92vh, 58rem);
  display: grid; align-items: center;
  color: var(--lx-ivory); background: var(--lx-night);
}
.band__film { position: absolute; inset: 0; z-index: -1; }
.band__film video { width: 100%; height: 100%; object-fit: cover; display: block; }
.band__veil { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(12,10,9,.82), rgba(12,10,9,.25) 65%, rgba(12,10,9,.1)); }
.band--season .band__veil { background: linear-gradient(270deg, rgba(12,10,9,.82), rgba(12,10,9,.25) 65%, rgba(12,10,9,.12)); }
.band__inner { display: grid; justify-items: start; }
.band__inner--right { justify-items: end; text-align: right; }
.band__inner--right .lx-eyebrow { flex-direction: row-reverse; }
.band__inner--right .stage__actions { justify-content: flex-end; }
.band__title { margin: 0 0 1.5rem; max-width: 15ch; color: var(--lx-ivory); font-size: clamp(2.4rem, 1.4rem + 4vw, 5.4rem); font-weight: 300; line-height: 1; }
.band__title em { color: var(--lx-gold-hi); }
.band__lede { max-width: 40ch; margin: 0 0 2.2rem; color: var(--lx-mist); font-size: 1.08rem; line-height: 1.7; }
@media (max-width: 45.99rem) {
  .band__veil, .band--season .band__veil { background: linear-gradient(180deg, rgba(12,10,9,.2), rgba(12,10,9,.85)); }
  .band { align-items: end; padding-bottom: 3.5rem; }
  .band__inner--right { justify-items: start; text-align: left; }
  .band__inner--right .lx-eyebrow { flex-direction: row; }
  .band__inner--right .stage__actions { justify-content: flex-start; }
}

/* --- selected work */
.works { background: var(--lx-bone); padding-block: clamp(5rem, 3rem + 7vw, 9rem); }
.works__head { display: grid; gap: 1rem; margin-bottom: clamp(2rem, 4vw, 3.5rem); }
@media (min-width: 52rem) { .works__head { grid-template-columns: 1fr auto; align-items: end; } .works__head .lx-eyebrow { grid-column: 1 / -1; margin: 0; } }
.works__title { margin: 0; font-size: clamp(2.3rem, 1.4rem + 3.6vw, 4.8rem); font-weight: 300; }
.works__title em { color: var(--lx-gold-ink); }
.works__rail {
  display: grid; grid-auto-flow: column; grid-auto-columns: clamp(16rem, 34vw, 30rem);
  gap: clamp(.75rem, 1.4vw, 1.25rem); align-items: end;
  overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory;
  padding: 0 clamp(1.25rem, 4vw, 3rem) 1.5rem;
  scrollbar-width: thin; scrollbar-color: var(--lx-gold) transparent;
}
.works__rail:focus-visible { outline-offset: -4px; }
.work-card { margin: 0; scroll-snap-align: start; }
.work-card img { width: 100%; aspect-ratio: 4 / 3.4; object-fit: cover; border-radius: var(--radius-lg); transition: transform 1400ms var(--lx-ease); }
.work-card--tall img { aspect-ratio: 3 / 4; }
.work-card:hover img { transform: scale(1.02); }
.work-card figcaption { padding: 1rem .25rem 0; font-family: var(--lx-serif); font-size: 1.35rem; color: var(--lx-night); }
.work-card figcaption span { display: block; margin-bottom: .2rem; font-family: var(--lx-sans); font-size: .75rem; font-weight: 600; letter-spacing: .3em; text-transform: uppercase; color: var(--lx-gold-ink); }

/* --- honours */
.honours { background: var(--lx-night); color: var(--lx-mist); padding-block: clamp(5rem, 3rem + 7vw, 9rem); }
.honours__list { list-style: none; margin: 1rem 0 0; padding: 0; display: grid; gap: 0; }
@media (min-width: 46rem) { .honours__list { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 72rem) { .honours__list { grid-template-columns: repeat(4, 1fr); } }
.honours__list li {
  max-width: none; padding: 2.2rem 1.75rem 2.2rem 0; border-top: 1px solid var(--lx-line);
  line-height: 1.65; font-size: .96rem;
}
@media (min-width: 72rem) { .honours__list li + li { padding-left: 1.75rem; border-left: 1px solid var(--lx-line); } }
.honours__list b { display: block; font-family: var(--lx-serif); font-weight: 300; font-size: clamp(4rem, 3rem + 3vw, 6.2rem); line-height: .9; color: var(--lx-ivory); }
.honours__list sup { font-size: .38em; vertical-align: top; position: relative; top: .5em; color: var(--lx-gold); font-style: italic; }
.honours__list span { display: block; margin: .6rem 0 1rem; font-family: var(--lx-sans); font-size: .75rem; font-weight: 600; letter-spacing: .32em; text-transform: uppercase; color: var(--lx-gold); }

/* --- finale */
.finale { background: var(--lx-ivory); padding-block: clamp(6rem, 4rem + 9vw, 12rem); text-align: center; }
.finale__inner { display: grid; justify-items: center; }
.finale__title { margin: 0 0 2.6rem; max-width: 16ch; font-size: clamp(2.6rem, 1.5rem + 4.6vw, 6rem); font-weight: 300; line-height: 1; }
.finale__title em { display: block; color: var(--lx-gold-ink); }
.finale__tel { margin: 2rem 0 0; font-family: var(--lx-sans); font-size: .74rem; font-weight: 600; letter-spacing: .24em; text-transform: uppercase; color: var(--ink-muted); }
.finale__tel a { color: var(--lx-night); }

/* --- reveal: slower and softer than the r5 default */
.reveal { opacity: 0; transform: translateY(36px); transition: opacity 1400ms var(--lx-ease), transform 1400ms var(--lx-ease); }
.reveal.in { opacity: 1; transform: none; }

/* --- the assistant launcher joins the palette */
.gsa-launch { background: var(--lx-night) !important; color: var(--lx-ivory) !important; border: 1px solid var(--lx-line) !important; font-family: var(--lx-sans); letter-spacing: .08em; }

/* ===========================================================================
   r8 — people and ethics everywhere, the shop more prominent, the gallery
   (owner walkthrough, 2026-09-30)
   =========================================================================== */

/* the opener's small lines were capped at the body measure and sat left of
   the headline; they centre on the headline now */
.arrival__title p { max-width: none; margin-inline: auto; }
.arrival__sub { max-width: 34rem; line-height: 1.5; font-family: var(--lx-serif); font-style: italic; font-weight: 400; font-size: clamp(1.15rem, 1rem + .6vw, 1.45rem); letter-spacing: 0; text-transform: none; }

/* --- Shop, in the top bar on every page */
@media (max-width: 33.99rem) { .slab__tier1 { gap: .6rem; } }
.rail__shop { color: var(--lx-gold-hi) !important; }

/* --- footer: five places and the areas we serve */
@media (min-width: 48rem) { .footer__index { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 72rem) { .footer__index { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 1.75rem; } }
.footer__place { border-top: 1px solid var(--lx-line); }
.footer__areas { margin: 2.5rem 0 0; padding-top: 1.5rem; border-top: 1px solid var(--lx-line); }
.footer__areas ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: .5rem 1.6rem; }
.footer__areas li { max-width: none; }
.footer__areas a { font-size: .92rem; }

/* --- homepage: three generations */
.family { background: var(--lx-ivory); padding-block: clamp(5rem, 3rem + 7vw, 9rem) clamp(3rem, 2rem + 4vw, 5rem); }
.family__head { display: grid; gap: 1.2rem; margin-bottom: clamp(2.5rem, 5vw, 4rem); }
@media (min-width: 62rem) {
  .family__head { grid-template-columns: 1fr 1fr; grid-template-areas: "eye eye" "t why"; column-gap: 6vw; align-items: end; }
  .family__head .lx-eyebrow { grid-area: eye; margin: 0; }
  .family__title { grid-area: t; }
  .family__why { grid-area: why; }
}
.family__title { margin: 0; font-size: clamp(2.4rem, 1.4rem + 4vw, 5rem); font-weight: 300; line-height: 1; }
.family__title em { color: var(--lx-gold-ink); }
.family__why { margin: 0; max-width: 46ch; color: var(--ink-muted); font-size: 1.08rem; line-height: 1.75; }
.family__line {
  list-style: none; margin: 0; padding: 0;
  display: grid; gap: clamp(.75rem, 1.4vw, 1.25rem);
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
@media (min-width: 46rem) { .family__line { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 72rem) { .family__line { grid-template-columns: 1.35fr repeat(4, minmax(0, 1fr)); align-items: start; } }
.family__line--story { margin-top: clamp(2rem, 4vw, 3rem); }
@media (min-width: 72rem) { .family__line--story { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.fam { max-width: none; display: grid; gap: .25rem; }
.fam img { width: 100%; aspect-ratio: 5 / 7; object-fit: cover; object-position: 50% 20%; border-radius: var(--radius-lg); margin-bottom: .7rem; background: var(--lx-bone); }
.fam--founder { grid-column: 1 / -1; }
@media (min-width: 72rem) { .fam--founder { grid-column: auto; } }
.fam--founder img { aspect-ratio: 4 / 3; filter: grayscale(1) contrast(1.05); }
@media (min-width: 72rem) { .fam--founder img { aspect-ratio: 5 / 5.2; } }
.fam__gen { font-family: var(--lx-sans); font-size: .75rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--lx-gold-ink); }
.fam b { font-family: var(--lx-serif); font-weight: 400; font-size: 1.45rem; line-height: 1.1; color: var(--lx-night); }
.fam__role { font-size: .88rem; color: var(--ink-muted); }
.family__more { margin: clamp(2rem, 4vw, 3rem) 0 0; }

/* --- how we work */
.ethic { background: var(--lx-night); color: var(--lx-mist); padding-block: clamp(3.5rem, 2.5rem + 4vw, 6rem); }
.ethic__list { list-style: none; margin: 0; padding: 0; display: grid; }
@media (min-width: 46rem) { .ethic__list { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 72rem) { .ethic__list { grid-template-columns: repeat(4, 1fr); } }
.ethic__list li { max-width: none; padding: 1.6rem 1.5rem 1.6rem 0; border-top: 1px solid var(--lx-line); line-height: 1.7; font-size: .96rem; }
@media (min-width: 72rem) { .ethic__list li + li { padding-left: 1.5rem; border-left: 1px solid var(--lx-line); } }
.ethic__list b { display: block; margin-bottom: .6rem; font-family: var(--lx-serif); font-weight: 400; font-size: 1.5rem; line-height: 1.15; color: var(--lx-ivory); }

/* --- shop band */
.shopband { position: relative; isolation: isolate; display: grid; background: var(--lx-night-2); color: var(--lx-ivory); overflow: hidden; }
@media (min-width: 62rem) { .shopband { grid-template-columns: 1.1fr 1fr; min-height: clamp(30rem, 70vh, 42rem); } }
.shopband__img { position: relative; min-height: 18rem; }
.shopband__img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: brightness(.9); }
.shopband__img::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(21,18,15,0) 55%, rgba(21,18,15,.9)); }
@media (max-width: 61.99rem) { .shopband__img::after { background: linear-gradient(180deg, rgba(21,18,15,0) 50%, rgba(21,18,15,.95)); } }
.shopband__body { align-self: center; padding: clamp(2rem, 5vw, 5rem) clamp(1.25rem, 5vw, 4.5rem); }
.shopband__title { margin: 0 0 1.4rem; color: var(--lx-ivory); font-size: clamp(2.2rem, 1.4rem + 3.2vw, 4.4rem); font-weight: 300; line-height: 1; }
.shopband__title em { color: var(--lx-gold-hi); }
.shopband__lede { max-width: 42ch; margin: 0 0 2rem; color: var(--lx-mist); line-height: 1.75; }
.shopband__note { margin: 1.6rem 0 0; font-size: .84rem; color: var(--lx-mist-2); }

/* --- the two paths, now with a second action each */
.path__link { color: inherit; text-decoration: none; }
.path__link::after { content: ""; position: absolute; inset: 0; z-index: 1; border-radius: inherit; }
.path__link:focus-visible { outline: none; }
.path:has(.path__link:focus-visible) { outline: 1px solid var(--lx-gold); outline-offset: 4px; }
.path:hover .path__img img, .path:focus-within .path__img img { transform: scale(1.1); filter: brightness(.82) saturate(1); }
.path:hover .path__go::after { transform: scaleX(1.8); }
.path__actions { margin-top: 1rem; display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.6rem; }
.path__actions .path__go { margin-top: 0; }
.path__more { position: relative; z-index: 2; }

/* --- investment guide feature */
.guide { background: var(--lx-bone); padding-block: clamp(3.5rem, 2.5rem + 4vw, 6rem); border-top: 1px solid var(--lx-line-ink); }
.guide--page { background: var(--lx-ivory); }
.guide__inner { display: grid; gap: 1.5rem 6vw; }
@media (min-width: 62rem) { .guide__inner { grid-template-columns: 1fr 1fr; align-items: end; } }
.guide__title { margin: 0; font-size: clamp(2.1rem, 1.3rem + 3vw, 4rem); font-weight: 300; line-height: 1.02; }
.guide__title em { display: block; color: var(--lx-gold-ink); }
.guide__lede { max-width: 48ch; margin: 0 0 1.6rem; color: var(--ink-muted); font-size: 1.05rem; line-height: 1.75; }

/* --- Who We Are: the family story */
.story { background: var(--lx-ivory); padding-block: clamp(4.5rem, 3rem + 6vw, 8rem); }
.story__head { max-width: 52rem; margin-bottom: clamp(2.5rem, 5vw, 4.5rem); }
.story__title { margin: 0 0 1rem; font-size: clamp(2.6rem, 1.5rem + 4.5vw, 5.6rem); font-weight: 300; }
.story__lede { margin: 0; color: var(--ink-muted); font-size: 1.12rem; line-height: 1.75; max-width: 50ch; }
.chapter { display: grid; gap: clamp(1.5rem, 4vw, 4rem); align-items: center; padding-block: clamp(2rem, 4vw, 3.5rem); border-top: 1px solid var(--lx-line-ink); }
@media (min-width: 62rem) {
  .chapter { grid-template-columns: 1.1fr 1fr; }
  .chapter--flip .chapter__img { order: 2; }
}
.chapter__img { margin: 0; }
.chapter__img img { width: 100%; border-radius: var(--radius-lg); }
.chapter__img figcaption { margin-top: .7rem; font-size: .82rem; color: var(--ink-muted); }
.chapter__pair { display: grid; grid-template-columns: 1fr 1fr; gap: .9rem; }
.chapter__gen { margin: 0 0 .6rem; font-family: var(--lx-sans); font-size: .75rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--lx-gold-ink); }
.chapter__body h3 { font-family: var(--lx-serif); font-weight: 400; font-size: clamp(1.6rem, 1.2rem + 1.4vw, 2.3rem); margin: 0 0 .8rem; }
.chapter__body h3 + p { margin-top: 0; }
.chapter__body p + h3 { margin-top: 1.8rem; }
.story__wide { margin: clamp(2rem, 4vw, 3.5rem) 0 0; }
.story__wide img { width: 100%; border-radius: var(--radius-lg); }

/* --- Who We Are: the whole crew */
.crew { background: var(--lx-bone); padding-block: clamp(4.5rem, 3rem + 6vw, 8rem); }
.crew__head { max-width: 56rem; margin-bottom: clamp(2rem, 4vw, 3.5rem); }
.crew__title { margin: 0 0 1rem; font-size: clamp(2.4rem, 1.4rem + 4vw, 5rem); font-weight: 300; line-height: 1; }
.crew__title em { color: var(--lx-gold-ink); }
.crew__lede { margin: 0; max-width: 58ch; color: var(--ink-muted); font-size: 1.08rem; line-height: 1.75; }
.crew__mosaic { display: grid; gap: clamp(.5rem, 1vw, .9rem); grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-flow: dense; }
@media (min-width: 62rem) { .crew__mosaic { grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-rows: clamp(11rem, 16vw, 16rem); } }
.crew__shot { margin: 0; overflow: hidden; border-radius: var(--radius-lg); background: var(--lx-sand); aspect-ratio: 4 / 3; }
@media (min-width: 62rem) { .crew__shot { aspect-ratio: auto; } .crew__shot--wide { grid-column: span 2; grid-row: span 2; } }
.crew__shot--wide { grid-column: 1 / -1; }
@media (min-width: 62rem) { .crew__shot--wide { grid-column: span 2; } }
.crew__shot img { width: 100%; height: 100%; object-fit: cover; transition: transform 1400ms var(--lx-ease); }
.crew__shot:hover img { transform: scale(1.04); }
.crew__sub { margin: clamp(3rem, 5vw, 4.5rem) 0 1.5rem; font-family: var(--lx-serif); font-weight: 400; font-size: clamp(1.6rem, 1.2rem + 1.5vw, 2.4rem); }
.crew__people { list-style: none; margin: 0; padding: 0; display: grid; gap: 1rem; grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (min-width: 46rem) { .crew__people { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.crew__people li { max-width: none; display: grid; gap: .15rem; }
.crew__people img { width: 100%; aspect-ratio: 5 / 6; object-fit: cover; object-position: 50% 18%; border-radius: var(--radius-lg); margin-bottom: .6rem; }
.crew__people b { font-family: var(--lx-serif); font-weight: 500; font-size: 1.25rem; color: var(--lx-night); }
.crew__people span { font-size: .84rem; color: var(--ink-muted); }
.crew__pending, .carecrew__pending {
  margin-top: clamp(2rem, 4vw, 3rem); padding: clamp(1.5rem, 3vw, 2.25rem);
  border: 1px dashed rgba(126,95,46,.55); border-radius: var(--radius-lg); background: rgba(255,255,255,.35);
}
.crew__pending-tag { margin: 0 0 1rem; font-family: var(--lx-sans); font-size: .75rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--lx-gold-ink); }
.crew__pending ul { list-style: none; margin: 0 0 1rem; padding: 0; display: flex; flex-wrap: wrap; gap: 1rem 2.5rem; }
.crew__pending li { max-width: none; font-size: .9rem; color: var(--ink-muted); }
.crew__pending li b { display: block; font-family: var(--lx-serif); font-weight: 300; font-size: 2.6rem; line-height: 1; color: var(--lx-night); }
.crew__pending > p:last-child, .carecrew__pending > p:last-child { margin: 0; color: var(--ink-muted); }
/* Crew faces (Oct 19 2026): unnamed crew portraits inside "The whole crew" box. 4:5 crops,
   2 columns on phones, 4 from 46rem. No names or roles until the roster is confirmed. */
.crew__pending--filled { border-style: solid; border-color: rgba(126,95,46,.3); }
.crew__pending .crew__faces { display: grid; gap: clamp(.5rem, 1.2vw, 1rem); grid-template-columns: repeat(2, minmax(0, 1fr)); margin: clamp(1.5rem, 3vw, 2rem) 0 0; }
@media (min-width: 46rem) { .crew__pending .crew__faces { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.crew__faces li { margin: 0; }
.crew__faces img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--radius-lg); background: var(--lx-sand); }

/* --- Who We Are: philanthropy */
.giving { background: var(--lx-ivory); padding-block: clamp(4.5rem, 3rem + 6vw, 8rem); }
.giving__inner { display: grid; gap: clamp(2rem, 5vw, 5rem); align-items: center; }
@media (min-width: 62rem) { .giving__inner { grid-template-columns: .8fr 1.2fr; } }
.giving__img { margin: 0; }
.giving__img img { width: 100%; max-height: 40rem; object-fit: cover; border-radius: var(--radius-lg); }
.giving__title { margin: 0 0 1.2rem; font-size: clamp(2.4rem, 1.4rem + 4vw, 5rem); font-weight: 300; }
.giving__lede { color: var(--ink-muted); font-size: 1.08rem; line-height: 1.75; max-width: 52ch; }
.giving__list { list-style: none; margin: 1.8rem 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(14rem, 1fr)); border-top: 1px solid var(--lx-line-ink); }
.giving__list li { max-width: none; padding: .85rem 0; border-bottom: 1px solid var(--lx-line-ink); font-family: var(--lx-serif); font-size: 1.25rem; color: var(--lx-night); }

/* --- Client Care: the people */
.carecrew { background: var(--lx-ivory); padding-block: clamp(4rem, 3rem + 5vw, 7rem); }
.carecrew__head { max-width: 54rem; margin-bottom: clamp(2rem, 4vw, 3rem); }
.carecrew__title { margin: 0 0 1rem; font-size: clamp(2.2rem, 1.4rem + 3.4vw, 4.4rem); font-weight: 300; line-height: 1.02; }
.carecrew__title em { color: var(--lx-gold-ink); }
.carecrew__lede { margin: 0; color: var(--ink-muted); font-size: 1.06rem; line-height: 1.75; max-width: 56ch; }
.carecrew__grid { display: grid; gap: 1rem; }
@media (min-width: 62rem) { .carecrew__grid { grid-template-columns: 1.3fr 1fr 1fr; align-items: stretch; } }
.carecrew__shot { margin: 0; }
.carecrew__shot img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; border-radius: var(--radius-lg); }
.carecrew__shot figcaption { margin-top: .6rem; font-size: .84rem; color: var(--ink-muted); }
.carecrew__pending { margin-top: 0; display: grid; align-content: center; }
.carecrew__more { margin: 2rem 0 0; }

/* --- I own a pool: the fourth route is the shop */
@media (min-width: 54rem) { .service-routes { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
/* r8 (Hugo, Vera site-qa P2): in the 4-across row the button keeps its label on one line */
@media (min-width: 54rem) and (max-width: 79.99rem) { .service-routes .btn { padding-inline: .9rem; letter-spacing: .1em; } }
.service-routes__shop { border-top-color: var(--lx-gold) !important; }

/* --- Contact: the team, and the areas we serve */
.teamshot { margin: 0; }
.teamshot img { width: 100%; max-height: 78vh; object-fit: cover; object-position: 50% 12%; }
.teamshot figcaption { max-width: var(--container); margin: .8rem auto 0; padding-inline: clamp(1.25rem, 4vw, 3rem); font-size: .88rem; color: var(--ink-muted); }
@media (min-width: 72rem) { .locations { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.areas { list-style: none; margin: 1.5rem 0 0; padding: 0; display: grid; gap: 0 2rem; grid-template-columns: repeat(auto-fill, minmax(15rem, 1fr)); border-top: 1px solid var(--lx-line-ink); }
.areas li { max-width: none; border-bottom: 1px solid var(--lx-line-ink); }
.areas a { display: block; padding: .9rem 0; font-family: var(--lx-serif); font-size: 1.3rem; color: var(--lx-night); text-decoration: none; }
.areas a:hover { color: var(--lx-gold-ink); }

/* --- the gallery: a mobile-first numbered feed */
.gallery { background: var(--lx-ivory); padding: 0 0 clamp(4rem, 8vw, 7rem); }
.gallery__bar {
  position: sticky; top: var(--slab-h, 0px); z-index: 5;
  background: rgba(246,241,231,.94); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--lx-line-ink);
}
.gallery__chips { display: flex; gap: .5rem; overflow-x: auto; padding: .8rem clamp(.75rem, 3vw, 2rem); scrollbar-width: none; max-width: 1480px; margin-inline: auto; }
.gallery__chips::-webkit-scrollbar { display: none; }
.gchip {
  flex: 0 0 auto; min-height: 40px; padding: .5rem 1rem; border-radius: 999px; cursor: pointer;
  font-family: var(--lx-sans); font-size: .78rem; font-weight: 600; letter-spacing: .04em;
  color: var(--lx-night); background: transparent; border: 1px solid rgba(12,10,9,.2);
}
.gchip span { margin-left: .25rem; color: var(--ink-muted); font-weight: 500; }
.gchip span.nowrap { margin-left: 0; color: inherit; font-weight: inherit; } /* a word inside the label, not the count */
.gchip.is-on { background: var(--lx-night); color: var(--lx-ivory); border-color: var(--lx-night); }
.gchip.is-on span { color: var(--lx-gold-hi); }
.gchip--fav { color: var(--lx-gold-ink); border-color: rgba(126,95,46,.5); }
.gchip--fav.is-on { background: var(--lx-gold); color: var(--lx-night); border-color: var(--lx-gold); }
.gchip--fav.is-on span { color: var(--lx-night); }
.gallery__favbar { display: flex; flex-wrap: wrap; align-items: center; gap: .8rem 1rem; max-width: 1480px; margin: 1rem auto 0; padding: 0 clamp(.75rem, 3vw, 2rem); }
.gallery__favbar p { margin: 0 auto 0 0; color: var(--ink-muted); }
.gallery__empty { max-width: 40rem; margin: 3rem auto; padding: 0 1.5rem; text-align: center; color: var(--ink-muted); font-size: 1.05rem; }
.gallery__grid {
  display: grid; gap: 3px; max-width: 1480px; margin: 1rem auto 0;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
@media (min-width: 30rem) { .gallery__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 64rem) { .gallery__grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; padding-inline: clamp(.75rem, 2vw, 2rem); } }
.gph { position: relative; margin: 0; aspect-ratio: 1; overflow: hidden; background: var(--lx-bone); }
@media (min-width: 64rem) { .gph { border-radius: 14px; } }
.gph[hidden] { display: none; }
.gph__open { display: block; width: 100%; height: 100%; }
.gph__open img { width: 100%; height: 100%; object-fit: cover; transition: transform 900ms var(--lx-ease); }
.gph__open:hover img { transform: scale(1.04); }
.gph__code {
  position: absolute; left: .45rem; bottom: .45rem; pointer-events: none;
  padding: .2rem .5rem; border-radius: 999px; background: rgba(12,10,9,.62); color: var(--lx-ivory);
  font-family: var(--lx-sans); font-size: .75rem; font-weight: 600; letter-spacing: .08em; font-variant-numeric: tabular-nums;
}
/* a pool with more than one photo wears a count; top-left, clear of the heart */
.gph__set, .gph__set[hidden] { display: none; }
.gph__count {
  position: absolute; left: .45rem; top: .45rem; pointer-events: none;
  padding: .2rem .5rem; border-radius: 999px; background: rgba(12,10,9,.62); color: var(--lx-ivory);
  font-family: var(--lx-sans); font-size: .7rem; font-weight: 600; letter-spacing: .08em; font-variant-numeric: tabular-nums;
}
.gph__fav {
  position: absolute; right: .3rem; top: .3rem;
  --btn-fg: #fff; --btn-bg: rgba(12,10,9,.4); --btn-bd: transparent;
  --btn-fg-hover: #fff; --btn-bg-hover: rgba(12,10,9,.6); --btn-bd-hover: transparent;
}
.gph__fav[aria-pressed="true"] { --btn-bg: rgba(246,241,231,.94); --btn-bg-hover: var(--lx-ivory); --btn-fg: #B83A3F; --btn-fg-hover: #B83A3F; }
.i--heart { stroke-width: 1.7; }
[aria-pressed="true"] > .i--heart, .glb__fav.is-on .i--heart { fill: currentColor; }
.glb__fav.is-on { --btn-fg: var(--lx-ivory); }
.glb__fav.is-on .i--heart { color: #E2585D; }

/* the lightbox: tap outside to close */
.glb { width: 100vw; height: 100vh; height: 100dvh; max-width: none; max-height: none; margin: 0; padding: 0; border: 0; background: rgba(8,7,6,.96); color: var(--lx-ivory); }
.glb::backdrop { background: rgba(8,7,6,.9); }
html.glb-open, html.glb-open body { overflow: hidden; }
.glb[open] { display: grid; grid-template-rows: 1fr auto; }
.glb__stage { display: grid; place-items: center; min-height: 0; padding: 3.5rem clamp(.5rem, 5vw, 5rem) 1rem; }
.glb__img { max-width: 100%; max-height: 100%; object-fit: contain; border-radius: 10px; }
.glb__bar { display: flex; flex-wrap: wrap; align-items: center; gap: .8rem 1rem; padding: 1rem clamp(1rem, 4vw, 3rem) calc(1.2rem + env(safe-area-inset-bottom)); border-top: 1px solid rgba(246,241,231,.12); }
.glb__meta { margin: 0 auto 0 0; display: grid; gap: .15rem; }
.glb__meta b { font-family: var(--lx-serif); font-weight: 400; font-size: 1.6rem; color: var(--lx-ivory); }
.glb__meta span { font-size: .8rem; letter-spacing: .06em; color: var(--lx-mist-2); }
.glb__close, .glb__nav { position: absolute; }
.glb__close { top: .75rem; right: .75rem; }
.glb__nav { top: 50%; transform: translateY(-50%); }
.glb__nav:hover { transform: translateY(-50%); }
.glb__nav--prev { left: .75rem; }
.glb__nav--next { right: .75rem; }
@media (max-width: 45.99rem) {
  .glb__nav { top: 42%; --btn-bg: rgba(12,10,9,.45); }
  .glb__nav--prev { left: .4rem; }
  .glb__nav--next { right: .4rem; }
}

@media (prefers-reduced-motion: reduce) {
  html.intro-on .arrival { display: none; }
  .stage__cue::after { animation: none; }
  .path__img img, .work-card img, .reveal, .gph__open img, .crew__shot img { transition: none; }
  .reveal { opacity: 1; transform: none; }
}

/* ===========================================================================
   r9 — design pass (BRAND.md). Modern and simple: fewer words, one button
   system, quiet arrivals, zero sideways scroll.
   =========================================================================== */

/* --- type scale (BRAND.md · Typography) */
h1 { font-size: clamp(2.4rem, 1.5rem + 3.4vw, 4.4rem); }
h2 { font-size: clamp(1.9rem, 1.3rem + 2.2vw, 3.2rem); line-height: 1.06; }
h3 { font-size: clamp(1.3rem, 1.15rem + .6vw, 1.65rem); line-height: 1.15; }
.stage__title { font-size: clamp(2.9rem, 1.6rem + 5vw, 6rem); }
.arrival__line { font-size: clamp(2.8rem, 1.4rem + 5.4vw, 6rem); }
.pane--hero h1, .hero h1 { max-width: 20ch; }
p, li, dd { max-width: 62ch; }
.form__note, .hint, figcaption, .footer__legal p, .footer__legal li { font-size: .875rem; }

/* --- rhythm: compact sections, more air above a heading than below */
.section { padding-block: clamp(3.5rem, 2rem + 5vw, 6.5rem); }
.section--tight { padding-block: clamp(2.25rem, 1.6rem + 2.5vw, 3.75rem); }
.family, .story, .crew, .giving, .carecrew { padding-block: clamp(3.5rem, 2rem + 5vw, 6.5rem); }
.section h2, .prose h2 { margin-top: 0; margin-bottom: .5em; }
.hero { padding-block: clamp(3.5rem, 2.4rem + 5vw, 7rem) clamp(3rem, 2.2rem + 4vw, 6rem); }

/* --- generated content pages: a real scale and rhythm */
.prose h2 { font-size: clamp(1.75rem, 1.25rem + 1.8vw, 2.6rem); margin: 2.4em 0 .55em; }
.prose h3 { font-size: clamp(1.3rem, 1.15rem + .6vw, 1.65rem); margin: 2em 0 .45em; }
.prose h4 { font-family: var(--lx-sans); font-size: 1.05rem; font-weight: 600; margin: 1.6em 0 .4em; }
.prose > :first-child { margin-top: 0; }
.form-sent { border-left: 1px solid var(--lx-gold); } /* quotes keep the site.css top rule: a side stripe here made a corner bracket */

/* --- Read more: long carried-over copy folds away, still in the page */
.more { margin-top: 1.25rem; }
.more > summary { list-style: none; display: inline-flex; }
.more > summary::-webkit-details-marker { display: none; }
.more > summary::after { content: ""; width: 2.4rem; height: 1px; margin-left: .8rem; background: currentColor; }
.more[open] > summary .more__open, .more:not([open]) > summary .more__close { display: none; }
.more__body { padding-top: 1rem; }
.more__body > :first-child { margin-top: 0; }

/* --- the gallery chips scroll inside their own bar; the last one keeps a gap */
.gallery__chips::after { content: ""; flex: 0 0 1px; }
.gph__code { padding: .3rem .6rem; }

/* --- scroll reveal (BRAND.md · Scroll reveal). Children arrive once, 70ms
   apart; opacity and transform only, so nothing reflows. Visible without JS. */
.reveal { opacity: 1; transform: none; transition: none; }
html.js .reveal > * {
  opacity: 0; transform: translate3d(0, 18px, 0);
  transition: opacity 900ms var(--lx-ease), transform 900ms var(--lx-ease);
  transition-delay: calc(var(--rv-i, 0) * 70ms);
}
html.js .reveal.in > * { opacity: 1; transform: none; }
/* photos are never invisible: they arrive by the clip below, not by fading */
html.js .reveal > :is(img, figure, picture), html.js .reveal > :has(img) { opacity: 1; }
html.js .reveal img { transition: clip-path 1200ms var(--lx-ease); }
html.js .reveal:not(.in) img { clip-path: inset(6% 0 0 0 round var(--radius-lg)); }
@media (prefers-reduced-motion: reduce) {
  html.js .reveal > *, html.js .reveal img { opacity: 1; transform: none; transition: none; }
}

/* --- r9 compaction: new pieces */
.ethic__title { margin: 0 0 clamp(2rem, 4vw, 3rem); max-width: 26ch; color: var(--lx-ivory); font-size: clamp(1.9rem, 1.3rem + 2.2vw, 3.2rem); font-weight: 300; }
.ethic__title em { color: var(--lx-gold-hi); }
.carefig { margin: clamp(1.5rem, 3vw, 2rem) 0 0; max-width: 40rem; }
.carefig img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; border-radius: var(--radius-lg); }
.instore { display: grid; gap: clamp(1.5rem, 4vw, 3.5rem); align-items: center; margin-top: 1.5rem; }
@media (min-width: 54rem) { .instore { grid-template-columns: 1fr 1.1fr; } }
.instore__img { margin: 0; }
.instore__img img { width: 100%; aspect-ratio: 4 / 5; max-height: 34rem; object-fit: cover; border-radius: var(--radius-lg); }
.instore__list { margin: 0; display: grid; border-top: 1px solid var(--lx-line-ink); }
.instore__list dt { padding-top: 1.1rem; font-family: var(--lx-serif); font-size: 1.5rem; color: var(--lx-night); }
.instore__list dd { margin: .25rem 0 0; padding-bottom: 1.1rem; border-bottom: 1px solid var(--lx-line-ink); color: var(--ink-muted); }

/* buttons wrap to the next line instead of past the edge */
.btn-row, .stage__actions { display: flex; flex-wrap: wrap; align-items: center; gap: .75rem; }
.btn-row--after-grid { margin-top: 1.5rem; } /* button after a card grid: same space as the grid gap */
.btn--ghost { padding-block: 0; }
/* phone action bar: two equal buttons that may shrink, on the one system */
.actionbar { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
.actionbar .btn { min-width: 0; white-space: normal; padding-inline: .6rem; background: var(--btn-bg); box-shadow: none; }
.actionbar .btn:hover { background: var(--btn-bg-hover); }

/* the menu button is for phones only; .btn must not bring it back on desktop */
@media (min-width: 62rem) { .slab__toggle.btn { display: none; } }
/* older ".actionbar a" and ".quicklinks a" rules set their own colour, type and borders */
.actionbar .btn { color: var(--btn-fg); font-family: var(--lx-sans); font-weight: 600; font-size: .75rem; }
.quicklinks .btn { border: 0; min-height: 44px; justify-content: flex-start; gap: .8rem; }
.rail__label { font-family: var(--lx-sans); font-weight: 600; color: var(--lx-gold-hi); }

/* r9: flat at rest. The old glass shadows go; floating chrome keeps the one Float shadow */
:root {
  --shadow-glass: none; --shadow-soft: none; --shadow-lift: none; --shadow-btn: none;
  --hg-shadow: none; --hg-shadow-lt: none;
  --shadow-bar: 0 -18px 40px -24px rgba(12,10,9,.55);
}
.locations li, .card, .route, .badges li, .pane, .door { box-shadow: none; }
@media (hover: hover) and (pointer: fine) { .locations li:hover { transform: none; box-shadow: none; } }
/* the twelve pixel floor, for the older labels */
.locations .tag, .badges__flag, .slab__tel small, .finale__tel { font-size: .75rem; }
.btn .visually-hidden { text-transform: none; }
.btn--ghost { padding-block: .3rem; }
h3 { line-height: 1.2; }
.stage__title { font-size: clamp(2.9rem, 1.6rem + 4.4vw, 5rem); }
.badges li .badges__flag, .badges .badges__flag { font-size: .75rem; }
/* the section menus wrap on phones instead of scrolling sideways (Sam: zero horizontal scroll) */
@media (max-width: 61.99rem) {
  .rail ul { flex-wrap: wrap; overflow-x: visible; gap: .1rem .2rem; }
  .rail ul a { white-space: nowrap; }
}

/* ===========================================================================
   r10 — vision board (gallery), configurator material photos, owner film
   =========================================================================== */

/* --- floating "Save your favourites" */
.vbfab { position: fixed; z-index: var(--z-bar); right: var(--gutter); bottom: calc(58px + 52px + var(--gutter) * 2 + env(safe-area-inset-bottom)); }
.vbfab[hidden] { display: none; }
.vbfab__btn { box-shadow: 0 18px 40px -18px rgba(12,10,9,.6); gap: .55rem; }
.vbfab__btn .i--heart { color: #E2585D; }
.vbfab__n { display: inline-grid; place-items: center; min-width: 1.6rem; height: 1.6rem; padding: 0 .4rem; border-radius: 999px; background: var(--lx-night); color: var(--lx-ivory); font-size: .78rem; letter-spacing: 0; }
@media (min-width: 49rem) {
  .vbfab { right: auto; left: 50%; bottom: var(--gutter); transform: translateX(-50%); }
}
/* Jacky, Nov 2: the gallery has no Call / Get a Quote bar; the favourites pill docks where that bar sat,
   centred at the bottom on every width and clear of the phone's home indicator. */
.vbfab { right: auto; left: 50%; transform: translateX(-50%); bottom: calc(var(--gutter) + env(safe-area-inset-bottom)); }
.vbfab__btn { white-space: nowrap; }
.vbfab__btn .i--heart { color: var(--lx-night); fill: currentColor; }
/* the last row of photos and the footer can scroll clear of the docked pill */
[data-gallery] { padding-bottom: calc(53px + var(--gutter) + 16px + env(safe-area-inset-bottom)); }

/* --- the vision board form */
.vb { width: min(40rem, calc(100vw - 1.5rem)); max-height: calc(100dvh - 1.5rem); padding: 0; border: 1px solid var(--lx-line); border-radius: 18px; background: var(--lx-ivory); color: var(--ink-body); overflow: auto; }
.vb::backdrop { background: rgba(8,7,6,.78); }
.vb__form { position: relative; display: grid; gap: 1rem; padding: clamp(1.25rem, 4vw, 2.25rem); }
.vb__form h2 { margin: 0; padding-right: 3rem; font-size: clamp(1.7rem, 1.3rem + 1.6vw, 2.4rem); }
.vb__lede { margin: 0; color: var(--ink-muted); }
.vb__close { position: absolute; top: .75rem; right: .75rem; }
.vb__thumbs { display: grid; grid-template-columns: repeat(auto-fill, minmax(4.6rem, 1fr)); gap: .5rem; margin: 0; padding: 0; list-style: none; }
.vb__thumbs li { position: relative; aspect-ratio: 1; overflow: hidden; border-radius: 10px; background: var(--lx-sand); }
.vb__thumbs img { width: 100%; height: 100%; object-fit: cover; }
.vb__thumbs span { position: absolute; left: .3rem; bottom: .3rem; padding: .05rem .35rem; border-radius: 6px; background: rgba(12,10,9,.72); color: var(--lx-ivory); font-size: .75rem; font-weight: 600; }
.vb__thumbs .vb__more { display: grid; place-items: center; padding: .4rem; text-align: center; font-size: .75rem; color: var(--ink-muted); }
.vb__fields { display: grid; gap: .9rem 1rem; }
@media (min-width: 36rem) { .vb__fields { grid-template-columns: 1fr 1fr; } }
.vb__status { margin: 0; }
.vb__status:empty { display: none; }
.vb .btn-row { margin: 0; }

/* --- homepage: the purpose of the work (2026-10-01) */
.purpose { background: var(--lx-ivory); padding-block: clamp(3.5rem, 2rem + 5vw, 6.5rem); }
.purpose__head { display: grid; gap: 1rem; margin-bottom: clamp(2rem, 4vw, 3.5rem); }
.purpose__title { margin: 0; max-width: 18ch; font-size: clamp(2.3rem, 1.4rem + 3.6vw, 4.6rem); font-weight: 300; line-height: 1.02; }
.purpose__title em { color: var(--lx-gold-ink); }
.purpose__lede { margin: 0; color: var(--ink-muted); font-size: 1.08rem; }
.purpose__grid { display: grid; gap: clamp(.5rem, 1.2vw, 1rem); grid-template-columns: 1fr 1fr; }
.purpose__shot { margin: 0; overflow: hidden; border-radius: 14px; background: var(--lx-sand); aspect-ratio: 4 / 3; }
.purpose__shot img { width: 100%; height: 100%; object-fit: cover; }
.purpose__shot--lead { grid-column: 1 / -1; aspect-ratio: 16 / 9; }
.purpose__shot--tall { grid-column: 1 / -1; }
.purpose__shot--tall img { object-position: 50% 30%; }
@media (min-width: 62rem) {
  .purpose__grid { grid-template-columns: 2fr 1fr 1fr; grid-template-rows: auto auto; }
  .purpose__shot--lead { grid-column: 1; grid-row: 1 / span 2; aspect-ratio: auto; }
  .purpose__shot--tall { grid-column: 3; grid-row: 1 / span 2; aspect-ratio: auto; }
  .purpose__shot:nth-child(2) { grid-column: 2; grid-row: 1; }
  .purpose__shot:nth-child(3) { grid-column: 2; grid-row: 2; }
}

/* --- I own a pool: renovation / remodel tags and the Client Care film */
.hero__tags { display: flex; flex-wrap: wrap; gap: .4rem .5rem; margin: 0 0 1.4rem; padding: 0; list-style: none; }
.hero__tags li { padding: .3rem .8rem; border: 1px solid rgba(246,241,231,.38); border-radius: 999px; color: var(--lx-ivory); font-size: .8rem; font-weight: 600; letter-spacing: .04em; }
.ownfilm { background: var(--lx-night); color: var(--lx-ivory); padding-block: clamp(3.5rem, 2rem + 5vw, 6.5rem); }
.ownfilm__inner { display: grid; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.ownfilm__film { justify-self: center; width: min(100%, 22rem); aspect-ratio: 9 / 16; overflow: hidden; border-radius: 18px; background: #000; }
.ownfilm__film video { width: 100%; height: 100%; object-fit: cover; }
.ownfilm__body h2 { margin: 0 0 1rem; color: var(--lx-ivory); }
.ownfilm__body h2 em { color: var(--lx-gold-hi); }
.ownfilm__body .lede { max-width: 42ch; color: var(--lx-mist); }
.ownfilm .proofstrip b { color: var(--lx-gold-hi); }
.ownfilm .proofstrip { margin: 1.5rem 0; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.ownfilm .proofstrip li { background: transparent; border: 1px solid rgba(246,241,231,.18); box-shadow: none; color: var(--lx-mist); -webkit-backdrop-filter: none; backdrop-filter: none; }
.ownfilm .proofstrip li::before { display: none; }
@media (min-width: 56rem) {
  .ownfilm__inner { grid-template-columns: minmax(0, 22rem) minmax(0, 1fr); }
}

/* --- configurator: every option shows a real Gib-San photo */
.config-choices--photo { grid-template-columns: repeat(auto-fill, minmax(min(100%, 9.5rem), 1fr)); }
@media (min-width: 62rem) { .config-choices--photo { grid-template-columns: repeat(auto-fill, minmax(13.5rem, 1fr)); } }
.config-choice--photo { display: grid; grid-template-columns: auto 1fr; align-content: start; gap: .75rem; padding: 0 0 1rem; overflow: hidden; }
.config-choice--photo > span { padding-right: .9rem; min-width: 0; }
.config-choice--photo input { margin-left: 1rem; }
.config-choice__img { grid-column: 1 / -1; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; background: var(--lx-sand); transition: transform .6s var(--lx-ease); }
@media (hover: hover) and (pointer: fine) { .config-choice--photo:hover .config-choice__img { transform: scale(1.03); } }
.config-choice--photo:has(input:checked) .config-choice__img { box-shadow: inset 0 0 0 3px var(--secondary-deep); }

.config-look { margin-top: 1rem; border-top: 1px solid var(--lx-line-ink); padding-top: .75rem; }
.config-look summary { list-style: none; display: inline-flex; align-items: center; gap: .5rem; min-height: 44px; cursor: pointer; color: var(--lx-gold-ink); font-weight: 600; letter-spacing: .02em; }
.config-look summary::-webkit-details-marker { display: none; }
.config-look summary::after { content: "+"; font-size: 1.2rem; line-height: 1; }
.config-look[open] summary::after { content: "\2212"; }
.config-look__grid { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fill, minmax(min(100%, 9.5rem), 1fr)); margin-top: .75rem; }
.config-look figure { margin: 0; }
.config-look img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 12px; background: var(--lx-sand); }
.config-look figcaption { margin-top: .5rem; font-size: .9rem; line-height: 1.55; color: var(--ink-muted); }
.config-look figcaption b { display: block; color: var(--ink); font-weight: 650; }
@media (prefers-reduced-motion: reduce) { .config-choice__img { transition: none; } }
.ownfilm__strip { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(2, 1fr); gap: clamp(.5rem, 1.2vw, 1rem); margin: 0; padding: 0; list-style: none; }
.ownfilm__strip li { overflow: hidden; border-radius: 12px; aspect-ratio: 4 / 3; background: #000; }
.ownfilm__strip img { width: 100%; height: 100%; object-fit: cover; }
@media (min-width: 56rem) { .ownfilm__strip { grid-template-columns: repeat(4, 1fr); } }
@media (max-width: 35.99rem) {
  .config-choice--photo strong { font-size: .92rem; }
  .config-choice--photo small { font-size: .8rem; }
  .config-look figcaption { font-size: .82rem; }
}
.nowrap{white-space:nowrap}

/* ===========================================================================
   On-site band (.onsite), Oct 19 2026. One component, reused across pages, so
   the crew, the vans and the equipment show up "scattered throughout" the site.
   Markup: section.onsite > .wrap > .onsite__grid > figure.onsite__shot (x1-3).
   Rules: the first figure is the lead (landscape); max three photos; no captions
   or claims, the alt text carries the meaning; only staff, never customers,
   street names, house numbers or readable plates.
   Phone: lead full width 16:9, the others two-up 4:5.
   Desktop (62rem+): one row, lead 1.6fr + two 1fr, fixed row height.
   =========================================================================== */
.onsite { padding-block: clamp(1.5rem, 1rem + 3vw, 3.5rem); }
.onsite__grid { display: grid; gap: clamp(.5rem, 1vw, .9rem); grid-template-columns: repeat(2, minmax(0, 1fr)); }
.onsite__shot { margin: 0; overflow: hidden; border-radius: var(--radius-lg); background: var(--lx-sand); aspect-ratio: 4 / 5; }
.onsite__shot--lead { grid-column: 1 / -1; aspect-ratio: 16 / 9; }
.onsite__shot img { display: block; width: 100%; height: 100%; object-fit: cover; }
.onsite__shot--top img { object-position: 50% 22%; }
.onsite__shot--right img { object-position: 72% 50%; }
.onsite__grid--one .onsite__shot--lead { aspect-ratio: 21 / 9; }
@media (min-width: 62rem) {
  .onsite__grid { grid-template-columns: 1.6fr 1fr 1fr; grid-auto-rows: clamp(17rem, 24vw, 23rem); }
  .onsite__shot, .onsite__shot--lead { aspect-ratio: auto; grid-column: auto; }
  .onsite__grid--one { grid-template-columns: 1fr; }
  /* Single-photo band (store): the phone 21:9 rule above has two classes, so reset it
     with two classes too, or the photo stays 21:9 and overflows the fixed row. */
  .onsite__grid--one .onsite__shot--lead { aspect-ratio: auto; }
}

/* Home family intro grew from one line to a short history (Oct 19 2026): the
   .family__why block is now a div of paragraphs, same measure and colour. */
.family__why p { margin: 0 0 1rem; }
.family__why p:last-child { margin-bottom: 0; }
.family__why a { color: var(--lx-gold-ink); font-weight: 600; }

/* About #crew, Oct 19 2026 (owner request): the full roster from the current site,
   denser than the 8-person list it replaced. 3 across on phones, 4 from 46rem, 6
   from 62rem. Names and roles only, no email addresses (those stay on /our-team/).
   The role counts box was removed; the box now holds only the on-the-job photos. */
.crew__people--all { gap: 1.25rem .75rem; grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (min-width: 46rem) { .crew__people--all { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (min-width: 62rem) { .crew__people--all { grid-template-columns: repeat(6, minmax(0, 1fr)); } }
.crew__people--all img { aspect-ratio: 4 / 5; object-position: 50% 15%; margin-bottom: .4rem; }
.crew__people--all b { font-size: 1.02rem; line-height: 1.25; }
.crew__people--all span { font-size: .78rem; line-height: 1.35; }
.crew__pending--filled .crew__faces { margin-top: 0; }
/* On-the-job faces: a name sits under a photo only when the owner has named that person; unnamed photos stay unnamed. */
.crew__faces .crew__face-name { display: block; margin-top: .4rem; font-family: var(--lx-serif); font-weight: 500; font-size: 1.02rem; line-height: 1.25; color: var(--lx-night); }
/* Mosaic band tile: full width on phones, 2 columns x 1 row on desktop. With the second
   wide tile placed before it, the 4-column mosaic closes with no empty cells. */
.crew__shot--band { grid-column: 1 / -1; }
@media (min-width: 62rem) { .crew__shot--band { grid-column: span 2; grid-row: span 1; } }
.family__why .family__sign { font-family: var(--lx-serif); font-style: italic; font-size: 1.35rem; color: var(--lx-night); }

/* Owner notes, Oct 19 2026 (second batch).
   Home family intro: the sign line sits above the title as a lead-in, and the left column
   carries the three-generations photo, so the column is no longer empty space on desktop.
   Grid area t now holds .family__lead; the title keeps its own type scale. */
@media (min-width: 62rem) {
  .family__head { align-items: start; }
  .family__lead { grid-area: t; }
}
.family__lead .family__sign { margin: 0 0 1rem; font-family: var(--lx-serif); font-style: italic; font-size: 1.35rem; color: var(--lx-gold-ink); }
.family__photo { margin: clamp(1.5rem, 3vw, 2.25rem) 0 0; }
.family__photo img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: var(--radius-lg); }

/* Owner note, Oct 19 2026 3:28 PM (G01/F17): "reduce the white space here".
   Desktop only. The title and photo stacked in the left column ran ~230px taller than the
   story text, leaving an empty block under "Read our full story". Now the sign line and title
   run across the top, and the photo (kept 16:9 so the founder's portrait at the right edge is
   not cropped) sits beside the text in a slightly wider column, vertically centred.
   Phone layout is unchanged (single column). */
@media (min-width: 62rem) {
  .family__head { grid-template-columns: 1.2fr 1fr; grid-template-areas: "sign sign" "t t" "photo why"; row-gap: 0; column-gap: clamp(2.5rem, 5vw, 5rem); align-items: center; }
  .family__lead { display: contents; }
  .family__lead .family__sign { grid-area: sign; }
  .family__head .family__title { grid-area: t; margin-bottom: clamp(1.75rem, 3vw, 2.5rem); }
  .family__photo { grid-area: photo; margin: 0; }
  .family__why { grid-area: why; }
}

/* About philanthropy: two photos stacked (event photo first) and the causes as tiles,
   two across from 36rem, instead of a ruled list. */
.giving__img--pair { display: grid; gap: 1rem; grid-template-columns: minmax(0, 1fr); min-width: 0; }
.giving__img--pair figure { margin: 0; }
.giving__img--pair figure + figure img { aspect-ratio: 4 / 3; object-position: 50% 30%; max-height: none; }
.giving__list--tiles { border-top: 0; gap: .75rem; grid-template-columns: 1fr; }
@media (min-width: 36rem) { .giving__list--tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.giving__list--tiles li { padding: 1rem 1.15rem; border: 1px solid var(--lx-line-ink); border-top: 2px solid var(--lx-gold-ink); border-radius: var(--radius-md); background: #FBF8F2; font-size: 1.15rem; line-height: 1.3; }

/* About affiliations: logo above each name. Logos are the bodies' own marks; the name
   stays as text so the tile reads without the image (img alt is empty on purpose). */
.badges--logos li { display: flex; flex-direction: column; align-items: flex-start; gap: .9rem; }
.badges--logos img { height: 4.5rem; width: auto; max-width: 100%; object-fit: contain; }

/* Need A Pool, "Two Ways": each card opens with a photo of that build type. */
.card__photo { display: block; width: 100%; aspect-ratio: 16 / 10; object-fit: cover; border-radius: var(--radius-md); margin: 0 0 1.1rem; }

/* Owner note, Oct 19 2026 5:20 PM (G44): centre the closing call-to-action buttons under the
   centred heading on the imported pages and blog ("they sit on the left side"). */
.prose-cta { text-align: center; }
.prose-cta .btn-row { justify-content: center; max-width: none; margin-inline: auto; } /* the row is a <p>, which carries a reading max-width */

/* Owner text, Oct 19 2026 5:12 PM (G42): gallery closing section "Ready to Start Planning?"
   with a long-term planning tip. The tip is a quiet ruled panel, readable width, left-aligned. */
.plan-tip { max-width: 68ch; margin: clamp(1.5rem, 3vw, 2.25rem) 0; padding: clamp(1.25rem, 2.5vw, 1.75rem); border-left: 3px solid var(--lx-gold-ink); background: rgba(255, 255, 255, .45); border-radius: 0 var(--radius-lg) var(--radius-lg) 0; }
.plan-tip h3 { margin: 0 0 .75rem; font-family: var(--lx-serif); font-weight: 400; font-size: clamp(1.35rem, 1.1rem + .8vw, 1.75rem); }
.plan-tip__flag { font-style: italic; color: var(--lx-gold-ink); }
.plan-tip p { margin: 0 0 .8rem; line-height: 1.7; }
.plan-tip p:last-child { margin-bottom: 0; }

/* ---- Oct 19 additions: Client Care, Pool Store, About, Gallery ----
   filmfig     a self-hosted film with controls (never autoplay with sound); poster required.
   caretick    a ticked list whose items open with a bold label.
   chemfig     product or service photo beside text; --wide crops to fill, default letterboxes (packaging art).
   compare     before/after slider: the after photo is the base, the before photo is clipped to --pos.
               A transparent range input on top drives --pos (luxe.js), so it is keyboard and touch operable.
   history     two square archive photos with their original captions, then the story text.
   values      core values: a gold rule over each, name in the serif, meaning in muted body.
   tenure      long-service list beside a group photo; names are not tied to seating order.
   social      footer links to the owner's social profiles as quiet pills.
   Rules: no new colours here except --gs-water-deep (assistant only, see assistant.css). */
.filmfig { margin: 0; }
.filmfig video { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; border-radius: var(--radius-lg); background: var(--lx-night); }
.filmfig figcaption { margin-top: .6rem; }
.caretick { margin-top: 1.25rem; max-width: 48rem; }
.caretick b { color: var(--lx-night); }
.chemfig { margin: 0; }
.chemfig img { display: block; width: 100%; height: auto; max-height: 32rem; object-fit: contain; border-radius: var(--radius-lg); }
.chemfig--wide img { object-fit: cover; }
/* product cut-outs on a transparent background sit straight on the page colour */
.chemfig--cutout img { object-fit: contain; border-radius: 0; background: none; filter: drop-shadow(0 14px 18px rgba(40, 30, 20, .18)); }
/* store page loyalty banner: the client's own artwork, full width of the text column */
.splash-banner { margin: 0 0 1.5rem; }
.splash-banner img { display: block; width: 100%; height: auto; border-radius: var(--radius-lg); }
.stack { display: grid; gap: 1rem; align-content: start; }
.compare { position: relative; margin-top: 1.5rem; max-width: 60rem; aspect-ratio: 1400 / 931; overflow: hidden; border-radius: var(--radius-lg); background: var(--lx-night); }
.compare__img { display: block; width: 100%; height: 100%; object-fit: cover; }
.compare__before { position: absolute; inset: 0; clip-path: inset(0 calc(100% - var(--pos, 50%)) 0 0); }
.compare__handle { position: absolute; top: 0; bottom: 0; left: var(--pos, 50%); width: 3px; margin-left: -1.5px; background: var(--lx-ivory); box-shadow: 0 0 0 1px rgba(12,10,9,.25); pointer-events: none; }
.compare__handle::after { content: ""; position: absolute; top: 50%; left: 50%; width: 2.75rem; height: 2.75rem; transform: translate(-50%, -50%); border: 3px solid var(--lx-ivory); border-radius: 50%; background: rgba(12,10,9,.35); }
.compare:focus-within .compare__handle::after { outline: 2px solid var(--lx-gold); outline-offset: 3px; }
.compare__tag { position: absolute; top: .75rem; padding: .3rem .65rem; border-radius: 999px; background: rgba(12,10,9,.65); color: var(--lx-ivory); font-size: .75rem; letter-spacing: .12em; text-transform: uppercase; pointer-events: none; }
.compare__tag--before { left: .75rem; }
.compare__tag--after { right: .75rem; }
.compare__range { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: ew-resize; }
.hours--centre { text-align: center; }
.hours--centre .lede { margin-inline: auto; }
.instore--wide .instore__img img { aspect-ratio: 3 / 2; max-height: none; }
.instore__text p { max-width: 62ch; }
.kicker-line { margin: -.25rem 0 1rem; font-size: .8rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--lx-gold-ink); }
.partner-badge { margin: 1.75rem 0 0; }
.partner-badge img { height: 2.5rem; width: auto; }
.terms h3 { margin: 0 0 .5rem; font-size: 1.35rem; }
.terms h4 { margin: 1.1rem 0 .3rem; font-family: var(--lx-sans); font-size: .95rem; font-weight: 700; }
.terms ul { margin: 0; padding-left: 1.1rem; }
.shoplist { align-items: start; margin-top: 1.5rem; }
.history { display: grid; gap: 1.5rem; margin-top: 1.5rem; }
@media (min-width: 54rem) { .history { grid-template-columns: 1fr 1fr 1.6fr; align-items: start; } }
.history figure { margin: 0; }
.history img { display: block; width: 100%; height: auto; aspect-ratio: 1; object-fit: cover; border-radius: var(--radius-lg); }
.history figcaption { margin-top: .5rem; color: var(--ink-muted); }
.ask--centre > h2, .ask--centre > .lede { margin-inline: auto; text-align: center; }
.ask--centre .gsa--inline, .ask--centre [data-assistant-inline] > .form__note { margin-inline: auto; }
@media (min-width: 62rem) {
  .gallery-hero .pane--hero { max-width: none; }
  .gallery-hero__cols { display: grid; grid-template-columns: 1fr 1fr; gap: 0 3rem; align-items: start; }
}
.gallery-hero__cols p { max-width: 60ch; }
.crew__shot--faces img { object-position: 50% 22%; }
.giving__list--tiles { gap: 0 2rem; border-top: 1px solid var(--lx-line-ink); }
.giving__list--tiles li { position: relative; padding: 1rem 0 1rem 1.6rem; border: 0; border-bottom: 1px solid var(--lx-line-ink); border-radius: 0; background: none; font-size: 1.3rem; }
.giving__list--tiles li::before { content: ""; position: absolute; left: 0; top: 50%; width: .55rem; height: .55rem; margin-top: -.275rem; border-radius: 50%; background: var(--lx-gold); box-shadow: 0 0 0 4px rgba(201,163,106,.2); }
.culture__sub { margin: 2.25rem 0 0; font-family: var(--lx-serif); font-weight: 400; font-size: clamp(1.5rem, 1.2rem + 1vw, 2rem); }
.values { list-style: none; margin: 1rem 0 1.5rem; padding: 0; display: grid; gap: 1.25rem; }
@media (min-width: 44rem) { .values { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 62rem) { .values { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.values li { max-width: none; padding-top: .9rem; border-top: 2px solid var(--lx-gold); color: var(--ink-muted); }
.values b { display: block; margin-bottom: .3rem; font-family: var(--lx-serif); font-size: 1.35rem; font-weight: 500; color: var(--lx-night); }
.tenure { display: grid; gap: 1.5rem 3rem; margin-top: 2.5rem; align-items: center; }
@media (min-width: 54rem) { .tenure { grid-template-columns: 1.3fr 1fr; } }
.tenure__img { margin: 0; }
.tenure__img img { display: block; width: 100%; height: auto; border-radius: var(--radius-lg); }
.tenure__img figcaption { margin-top: .5rem; color: var(--ink-muted); }
.tenure__list { list-style: none; margin: 1rem 0 0; padding: 0; border-top: 1px solid var(--lx-line-ink); }
.tenure__list li { max-width: none; padding: .8rem 0; border-bottom: 1px solid var(--lx-line-ink); }
.tenure__list b { margin-right: .4rem; font-family: var(--lx-serif); font-size: 1.3rem; font-weight: 500; color: var(--lx-night); }
.social { list-style: none; margin: 1.25rem 0 1rem; padding: 0; display: flex; flex-wrap: wrap; gap: .6rem; }
.social a { display: inline-block; padding: .45rem .95rem; border: 1px solid var(--lx-line); border-radius: 999px; font-size: .85rem; text-decoration: none; }
.social a:hover, .social a:focus-visible { border-color: var(--lx-gold); }
.carefig + p { margin-top: 1.25rem; }
/* the I Need A Pool rail now carries 8 links; keep it on one line at desktop widths */
@media (min-width: 62rem) { .rail a { padding-inline: .36rem; } .rail__inner { column-gap: .6rem; } .rail .rail__swap { letter-spacing: .06em; padding-inline: .5rem; } }
/* privacy page (X23): a placeholder still to be confirmed is visibly marked, never styled as real copy */
.privacy { max-width: 48rem; }
.privacy mark.placeholder { background: #fff3c4; color: #5a4300; padding: 0 .25em; border-radius: 3px; font-style: normal; }
.privacy__draft { border-left: 3px solid var(--lx-gold); padding-left: .9rem; }
.privacy__optional { border: 1px dashed var(--lx-line); padding: .25rem 1rem 1rem; border-radius: 6px; }
/* reels (D08/G56): vertical 9:16 films, muted with controls, poster first (preload none); 2 across, centred */
.reels { list-style: none; padding: 0; margin: 2rem auto 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(13rem, 19rem)); gap: clamp(1rem, 2vw, 2rem); justify-content: center; }
.reels__item { margin: 0; }
.reels video { display: block; width: 100%; height: auto; aspect-ratio: 9 / 16; object-fit: cover; border-radius: var(--radius-lg); background: var(--lx-sand); }
.reels figcaption { margin-top: .6rem; font-size: .9rem; color: var(--ink-muted); text-align: center; }
/* a lead photo in a .work grid spans the whole row (G56) */
.work > .work__wide { grid-column: 1 / -1; }
.work > .work__wide img { aspect-ratio: 16 / 9; }
/* G11: a closing photo that fills the rest of the last row: the whole row on 2 columns (16:9), two of three columns beside the last photo on 3 columns (matches its height) */
@media (min-width: 41rem) {
  .work > .work__span2 { grid-column: span 2; display: flex; flex-direction: column; }
  .work__span2 figure { display: flex; flex-direction: column; flex: 1; }
  .work__span2 .work__frame { flex: 1; aspect-ratio: 16 / 9; }
  .work__span2 .work__frame img { position: absolute; inset: 0; height: 100%; aspect-ratio: auto; }
}
@media (min-width: 64rem) {
  .work__span2 .work__frame { aspect-ratio: auto; min-height: 12rem; }
}
/* G18: ranking block on Client Care: the undated Top 50 badge beside the heading and the five standards */
.ranking { display: grid; gap: clamp(1.5rem, 4vw, 3rem); align-items: start; }
.ranking__badge { margin: 0; max-width: 11rem; }
.ranking__badge img { display: block; width: 100%; height: auto; }
.ranking h2 em { font-style: italic; }
.ranking__list { margin: 1.25rem 0 0; padding-left: 1.4rem; display: grid; gap: .6rem; max-width: 62ch; }
.ranking__list li::marker { color: var(--lx-gold-ink); font-weight: 700; }
@media (min-width: 52rem) { .ranking { grid-template-columns: minmax(0, 13rem) 1fr; } .ranking__badge { max-width: none; } }

/* G30: shopband, the Pool Toys & Accessories section on the Pool Store page. Her text is kept word for word (it carries
   the page's search terms); only the layout changes: heading with the shop button beside it, one even row of three
   photos (square on desktop, 4:5 on tablets, 3:2 lead on phones), then two equal cards (toys; tools and accessories).
   G33: solar blankets & reels is a line item in the accessories list, not its own card (.shopband__line: one full-width
   item under the two-column list, bold lead-in, her sentence kept).
   Rules: photos never taller than the row; cards stretch to one height; no new colours. */
.shopband__head { display: flex; flex-wrap: wrap; gap: .5rem 2rem; align-items: end; justify-content: space-between; }
.shopband__head .lede { margin-bottom: 0; }
.shopband__head .btn-row { margin: 0; }
.shopband__photos { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(.75rem, 2vw, 1.5rem); margin: 1.75rem 0 1.5rem; }
.shopband__photos figure { margin: 0; }
.shopband__photos img { display: block; width: 100%; height: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--radius-lg); }
.shopband__photos figure:first-child { grid-column: 1 / -1; }
.shopband__photos figure:first-child img { aspect-ratio: 3 / 2; }
.shopband__cards { display: grid; gap: clamp(.75rem, 2vw, 1.5rem); align-items: stretch; }
.shopband__cards .card p { margin-bottom: 0; }
@media (min-width: 44rem) {
  .shopband__photos { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .shopband__photos figure:first-child { grid-column: auto; }
  .shopband__photos figure:first-child img { aspect-ratio: 4 / 5; }
  .shopband__cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 62rem) {
  .shopband__photos img, .shopband__photos figure:first-child img { aspect-ratio: 1; }
  .shopband__cards { grid-template-columns: 1fr 1.6fr; }
  .shopband__cols { columns: 2; column-gap: 1.5rem; }
  .shopband__cols li { break-inside: avoid; }
  .shopband__cols .shopband__line { column-span: all; margin-top: .75rem; }
}

/* Owner round Oct 27 (3): van in the middle of the on-site band, crew photo in the middle
   of the Client Care grid, swim spa photo on the store page, concrete pool photos. */
@media (min-width: 62rem) {
  .onsite__grid--mid { grid-template-columns: 1fr 1.6fr 1fr; }
  .carecrew__grid--mid { grid-template-columns: 1fr 1.3fr 1fr; }
}
.onsite__grid--mid .onsite__shot--lead { order: -1; }
@media (min-width: 62rem) { .onsite__grid--mid .onsite__shot--lead { order: 0; } }
.swimspa-photo { margin: clamp(1.5rem, 3vw, 2.5rem) 0 0; }
.swimspa-photo img { display: block; width: 100%; height: auto; border-radius: var(--radius-lg); }
.work--concrete { margin-top: clamp(1.5rem, 3vw, 2.5rem); }
@media (min-width: 48rem) { .work--concrete { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.work--concrete img { aspect-ratio: 3 / 2; object-fit: cover; width: 100%; height: 100%; }

/* Caley round 2 (Oct 27): core values with their points; YouTube film cards; wide self-hosted film */
.values--full .values__lede { display: block; margin-bottom: .6rem; }
.values__points { list-style: none; margin: .4rem 0 0; padding: 0; display: grid; gap: .45rem; font-size: .95rem; }
.values .values__points li { padding: 0 0 0 1rem; border: 0; position: relative; }
.values .values__points li::before { content: ""; position: absolute; left: 0; top: .62em; width: .4rem; height: .4rem; border-radius: 50%; background: var(--lx-gold); }
.values .values__points strong { color: var(--lx-night); font-weight: 600; }
.ytcard { margin: 2rem auto; max-width: 52rem; }
.ytcard a { display: block; position: relative; border-radius: var(--radius-lg); overflow: hidden; background: var(--lx-night); }
.ytcard img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; transition: opacity .2s ease; }
.ytcard a:hover img, .ytcard a:focus-visible img { opacity: .85; }
.ytcard a:focus-visible { outline: 3px solid var(--lx-gold); outline-offset: 3px; }
.ytcard__play { position: absolute; left: 50%; top: 50%; width: 4.5rem; height: 4.5rem; margin: -2.25rem 0 0 -2.25rem; border-radius: 50%; background: rgba(15, 20, 25, .72); box-shadow: 0 0 0 2px rgba(255, 255, 255, .85); }
.ytcard__play::before { content: ""; position: absolute; left: 1.75rem; top: 1.35rem; border-style: solid; border-width: .9rem 0 .9rem 1.4rem; border-color: transparent transparent transparent #fff; }
.ytcard figcaption, .filmwide figcaption { margin-top: .6rem; font-size: .9rem; color: var(--ink-muted); text-align: center; }
.ytcards { display: grid; gap: clamp(1rem, 2vw, 2rem); grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr)); margin: 2rem 0; }
.ytcards .ytcard { margin: 0; max-width: none; }
.filmwide { margin: 2.5rem auto; max-width: 60rem; }
.filmwide video { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; border-radius: var(--radius-lg); background: var(--lx-night); }
/* Email me my brief (Caley item 16) */
.brief-email { margin: 1.5rem 0; padding: 1.25rem; border: 1px solid var(--lx-gold); border-radius: var(--radius-lg); }
.brief-email h3 { margin: 0 0 .75rem; }
.brief-email label { display: block; font-weight: 600; margin-bottom: .35rem; }
.brief-email__row { display: flex; flex-wrap: wrap; gap: .75rem; }
.brief-email__row input { flex: 1 1 16rem; min-height: 3rem; padding: .6rem .9rem; font: inherit; border: 1px solid var(--ink-muted); border-radius: .5rem; }
.brief-email__row input:focus-visible { outline: 3px solid var(--lx-gold); outline-offset: 2px; }
.brief-email__news { display: flex !important; gap: .6rem; align-items: flex-start; font-weight: 400 !important; margin-top: .5rem; }
.brief-email__news input { width: 1.2rem; height: 1.2rem; margin-top: .15rem; }

/* Pebble Tec finish scroll (Caley item 23, Dennis Oct 27) */
.finish-band { margin-top: clamp(1.75rem, 3vw, 2.75rem); }
.finish-band__title { margin: 0 0 .9rem; text-align: center; }
.finish-scroll { overflow-x: auto; scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch; padding-bottom: .6rem; outline-offset: 4px; }
.finish-scroll:focus-visible { outline: 2px solid var(--ink); }
.finish-scroll__list { list-style: none; margin: 0 auto; padding: 0; display: flex; gap: clamp(.9rem, 2vw, 1.4rem); width: max-content; }
.finish-band > .form__note { text-align: center; margin-inline: auto; }
.finish-scroll__item { flex: 0 0 clamp(9.5rem, 38vw, 12.5rem); max-width: none; scroll-snap-align: start; display: grid; gap: .2rem; align-content: start; }
.finish-scroll__item img { display: block; width: 100%; height: auto; aspect-ratio: 5 / 4; object-fit: cover; border-radius: var(--radius-lg); margin-bottom: .45rem; }
.finish-scroll__item b { font-weight: 600; }
.finish-scroll__item span { font-size: .9rem; color: var(--ink-muted); }

/* Click-to-load location maps (Caley item 71 4b, Dennis Oct 27) */
.loc-map { margin-top: .9rem; }
.loc-map__frame { display: block; width: 100%; aspect-ratio: 4 / 3; border: 0; border-radius: var(--radius-lg); }
.loc-map__note { margin: .4rem 0 0; }

/* Owner round Oct 28 (afternoon): before/after sets on a dark band, a film page heading,
   the design-team row ending on the wide shot, and the remodel intro.
   compare-set  grid of .compare sliders; one column on phones, two from 62rem.
   ba-band      dark section that carries a compare-set; text in ivory.
   band--page   a .band used as a page heading (h1), smaller type for long titles.
   Rules: reuse .compare as is; no new colours. */
.ba-band { background: var(--lx-night); color: var(--lx-mist); padding-block: clamp(3.5rem, 2rem + 5vw, 6.5rem); }
.ba-band h2 { color: var(--lx-ivory); }
.ba-band .lede { color: var(--lx-mist); }
.ba-band .owner-videos .card { background: var(--lx-night-2); color: var(--lx-ivory); border-color: rgba(246,241,231,.12); }
.compare-set { display: grid; gap: clamp(1.25rem, 3vw, 2rem); grid-template-columns: minmax(0, 1fr); margin-top: 1.75rem; }
@media (min-width: 62rem) { .compare-set { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.compare--set { margin-top: 0; max-width: none; aspect-ratio: 3 / 2; }
.compare-set > .compare:only-child { grid-column: 1 / -1; width: 100%; max-width: 50rem; margin-inline: auto; }
.compare__range { touch-action: pan-y; }
.band--page { min-height: clamp(30rem, 78vh, 46rem); }
.band--page .band__title { max-width: 20ch; font-size: clamp(2.2rem, 1.3rem + 3vw, 4.4rem); line-height: 1.05; }
.band--page .band__lede { max-width: 52ch; margin-bottom: 0; }
.owner-remodel__intro { max-width: 68ch; margin-bottom: 2.5rem; }
@media (min-width: 62rem) {
  .onsite__grid--end { grid-template-columns: 1fr 1fr 1.6fr; }
}

/* ---------------------------------------------------------------------------
   Owner round 9 (Oct 28 2026): full-width film and photo page breaks inside
   content pages, colour changes between page parts, and the header sub-menus
   for I Need A Pool / I Own A Pool (open on hover, keyboard focus or a tap).
   --------------------------------------------------------------------------- */
.band--break { min-height: clamp(26rem, 80vh, 48rem); }
.band--break .band__title { max-width: 18ch; font-size: clamp(2.1rem, 1.3rem + 3.2vw, 4.6rem); line-height: 1.05; }
.band--film-only .band__veil { background: linear-gradient(180deg, rgba(12,10,9,.05), rgba(12,10,9,.25)); }
.section--bone { background: var(--lx-bone); }
.photo-break { position: relative; isolation: isolate; overflow: hidden; min-height: clamp(24rem, 78vh, 46rem);
  display: grid; align-items: end; color: var(--lx-ivory); background: var(--lx-night); }
.photo-break__img { position: absolute; inset: 0; z-index: -1; width: 100%; height: 100%; object-fit: cover; }
.photo-break__veil { position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(12,10,9,.05) 35%, rgba(12,10,9,.78)); }
.photo-break__inner { padding-block: 0 clamp(2.5rem, 2rem + 4vw, 5rem); }
.photo-break__title { margin: 0; max-width: 20ch; color: var(--lx-ivory); font-size: clamp(2rem, 1.2rem + 3.2vw, 4.4rem); font-weight: 300; line-height: 1.05; text-wrap: balance; }
.r20-culture__heritage-photo { margin: 0 0 2rem; }
.r20-culture__heritage-photo img { width: 100%; height: auto; border-radius: 6px; }

.slab__nav li.has-sub { position: relative; display: flex; flex-wrap: wrap; align-items: center; }
.slab__nav li.has-sub > a { flex: 1 1 auto; }
.slab__sub-toggle { flex: 0 0 auto; display: inline-grid; place-items: center; min-width: 44px; min-height: 44px; padding: 0;
  border: 0; background: transparent; color: var(--lx-mist); cursor: pointer; }
.slab__sub-toggle svg { width: 14px; height: 14px; transition: transform 200ms var(--lx-ease, ease); }
.slab__sub-toggle[aria-expanded="true"] svg { transform: rotate(180deg); }
.slab__sub-toggle:focus-visible { outline: 2px solid var(--lx-gold); outline-offset: 2px; }
.slab__nav .slab__sub { display: none; flex: 1 0 100%; list-style: none; margin: 0; padding: 0 0 .5rem 1rem; }
.slab__nav .slab__sub li { border-bottom: 0; }
.slab__nav .slab__sub a { min-height: 44px; font-size: .78rem; letter-spacing: .14em; }
.slab__nav li.has-sub.is-open > .slab__sub { display: block; }
@media (min-width: 62rem) {
  .slab__nav li.has-sub { flex-wrap: nowrap; }
  .slab__sub-toggle { min-width: 28px; }
  .slab__nav .slab__sub { position: absolute; top: 100%; left: 50%; transform: translateX(-50%); z-index: 60; min-width: 15rem;
    padding: .5rem 0; background: rgba(12,10,9,.97); border: 1px solid var(--lx-line); border-radius: 8px; box-shadow: 0 18px 40px rgba(0,0,0,.35); }
  .slab__nav li.has-sub:hover > .slab__sub, .slab__nav li.has-sub:focus-within > .slab__sub, .slab__nav li.has-sub.is-open > .slab__sub { display: block; }
  .slab__nav .slab__sub a { display: flex; padding: 0 1.2rem; border-bottom: 0; white-space: nowrap; color: var(--lx-mist); }
  .slab__nav .slab__sub a:hover, .slab__nav .slab__sub a:focus-visible { color: var(--lx-ivory); background: rgba(201,163,106,.12); }
}

/* Pool brief as a Gib-San branded PDF (round 9, Caley item 141): print layout only. */
.print-brief[hidden] { display: none; }
/* Karen r27 fix 3 (Nov 4): never on screen, print only, so a missing afterprint (iPhone Safari) cannot leave it showing. */
@media screen { .print-brief { display: none !important; } }
@media print {
  @page { size: letter; margin: 14mm; }
  body.is-printing-brief { background: #fff; }
  body.is-printing-brief > *:not(main) { display: none !important; }
  body.is-printing-brief main > *:not(.print-brief) { display: none !important; }
  body.is-printing-brief .print-brief { display: block !important; color: #1d2228; font: 11pt/1.45 Helvetica, Arial, sans-serif; }
  .pb-head { display: flex; justify-content: space-between; align-items: center; border-bottom: 2px solid #c9a36a; padding-bottom: 8pt; margin-bottom: 14pt; }
  .pb-logo { width: 190px; height: auto; }
  .pb-date { margin: 0; color: #6b6257; font-size: 9pt; }
  .pb-title { margin: 0 0 6pt; font: 400 24pt/1.15 Georgia, "Times New Roman", serif; color: #1d2228; }
  .pb-lede { margin: 0 0 12pt; font-size: 11.5pt; }
  .pb-h { margin: 14pt 0 6pt; font: 600 10pt/1.2 Helvetica, Arial, sans-serif; letter-spacing: .12em; text-transform: uppercase; color: #7e5f2e; break-after: avoid; }
  .pb-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8pt; width: 100%; box-sizing: border-box; padding-right: 1px; }
  .pb-card { break-inside: avoid; border: 1px solid #e6dccb; border-radius: 4pt; padding: 6pt; box-sizing: border-box; min-width: 0; display: flex; flex-direction: column; justify-content: flex-end; } /* Karen r27 fixes 1-2: labels share one line per row; full border inside the page */
  .pb-img { display: block; width: 100%; height: 70pt; object-fit: cover; border-radius: 3pt; margin-bottom: 4pt; }
  .pb-k { margin: 0; font-size: 8.5pt; color: #6b6257; }
  .pb-v { margin: 0; font-weight: 600; }
  .pb-list { margin: 0; padding-left: 14pt; }
  .pb-list li { margin: 0 0 2pt; break-inside: avoid; }
  .pb-note { margin: 6pt 0 0; font-size: 8.5pt; color: #6b6257; }
  .pb-foot { margin-top: 16pt; padding-top: 8pt; border-top: 1px solid #e6dccb; break-inside: avoid; }
  .pb-foot p { margin: 0 0 2pt; }
}

/* Owner round Oct 29 (round 10, Dennis): Caley's texts Oct 28 evening and Oct 29 morning. */
/* 192634/192643: Cormorant's old-style 1 reads as a capital I; lining figures in the big numbers */
.honours__list b { font-variant-numeric: lining-nums; font-feature-settings: "lnum" 1; }
/* 192628/192629: home family photo at a real size with the same rounded corners as the office photo */
.family__head .family__photo.family__photo--r10 { width: 100%; max-width: 24rem; margin-inline: auto; }
.family__head .family__photo.family__photo--r10 img { display: block; width: 100% !important; height: auto !important; max-height: none !important;
  aspect-ratio: 3 / 4 !important; object-fit: cover !important; object-position: 50% 40%; border-radius: var(--radius-lg) !important; }
@media (min-width: 62rem) { .family__head .family__photo.family__photo--r10 { max-width: 26rem; margin-inline: 0; } }
/* 192630: less empty space between the two route boxes and Health, wellness */
.paths { padding-bottom: clamp(1.5rem, 3vw, 2.5rem); }
.paths + .purpose { padding-top: clamp(1.5rem, 3vw, 3rem); }
/* 192703: the progress bar grows with each step */
.steps li:nth-child(1)::after { width: 25%; }
.steps li:nth-child(2)::after { width: 50%; }
.steps li:nth-child(3)::after { width: 75%; }
.steps li:nth-child(4)::after { width: 100%; }
/* 192700: Pool Gallery button sits lower under the films */
.btn-row--r10-gap { margin-top: clamp(1.75rem, 3vw, 2.5rem); }
/* 192562: the wide auto-cover photo keeps its own shape instead of being blown up into a tall crop */
.work__frame--wide img { aspect-ratio: 1920 / 700; height: auto; object-fit: cover; }
/* 192709: space between the last question and Ask another question */
.faq + .btn-row { margin-top: 1.5rem; }
/* 192710: flyer without its white backdrop; no shadow on the lettering */
.chemfig--flyer img { filter: none; max-height: 34rem; }
/* 192697: lightbox caption bar stays readable: the photo never runs under it */
.glb__stage { overflow: hidden; }
.glb__img { max-height: calc(100dvh - 11rem); }
.glb__bar { position: relative; z-index: 2; background: rgb(8, 7, 6); }
.glb__meta b, .glb__meta span { text-shadow: 0 1px 3px rgba(0, 0, 0, .7); }
/* 192715: contact team photo no longer fills the whole screen */
.teamshot--r10 { max-width: 72rem; margin-inline: auto; padding-inline: clamp(1rem, 3vw, 2rem); }
.teamshot--r10 img { max-height: min(60vh, 34rem); border-radius: var(--radius-lg); }
/* 192714: Who We Are opening text with the family photo beside it */
.story__head--r10 { max-width: none; display: grid; gap: clamp(1.5rem, 3vw, 3rem); align-items: center; }
@media (min-width: 62rem) { .story__head--r10 { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .story__head--r10 .story__title { grid-column: 1 / -1; } }
.story__headimg { margin: 0; }
.story__headimg img { display: block; width: 100%; height: auto; border-radius: var(--radius-lg); }
/* 192673: values in her shorter wording, three across on desktop */
.values--short .values__lede { margin-bottom: 0; }
/* 192706/192711: section rail on Landscaping, Design & Build, Investment Guide and Remodel; photo headers */
.hero--r10 .hero__field img { object-position: 50% 55%; }

/* Owner round 11 (Oct 29 PM, Dennis): Caley's 12:05 to 12:43 PM texts. */
/* 198/199: guide charts carry a Topic column */
.guide-table--topic th[scope="row"] { text-align: left; font-weight: 650; white-space: normal; min-width: 7.5rem; vertical-align: top; }
.guide-table--topic th[scope="col"] h3 { margin: 0; }
@media (max-width: 40rem) { .guide-table--topic { font-size: .9rem; } .guide-table--topic th[scope="row"] { min-width: 6rem; } }
/* 200: Heritage medallion shown on its own, no black square */
.guide-medallion img { background: none; border-radius: 0; max-width: 16rem; height: auto; }
/* 201: photo-only page break */
.photo-break--plain { min-height: 0; }
.photo-break--plain .photo-break__img { position: static; display: block; width: 100%; height: clamp(16rem, 55vw, 38rem); object-fit: cover; }
/* Caley r21 292: photos with the Gib-San mark baked into the bottom right corner keep that corner in frame at every width */
/* Her gallery photos (assets/gallery/NNN) nearly all carry the same bottom right mark (336 checked by eye, Nov 2), so every cropped use of them anchors that corner: gallery tiles, the Muskoka hero, the blog hero. */
.photo-break__img--mark-br,
img[src*="assets/gallery/"] { object-position: 100% 100% !important; }
/* 207: Design & Build photo header shorter so the page starts sooner */
.hero.hero--photo.hero--r10 { min-height: clamp(20rem, 52vh, 30rem); }
/* 208: remodel ranges on I Own a Pool */
.remodel-ranges__list { margin: .5rem 0; padding-left: 1.1rem; }
.remodel-ranges__list li { margin: .3rem 0; max-width: 70ch; }
/* 198/199 on phones: each topic becomes its own card, so all three columns read without sideways scrolling */
@media (max-width: 40rem) {
  .guide-table--topic, .guide-table--topic tbody, .guide-table--topic tr, .guide-table--topic th, .guide-table--topic td { display: block; width: 100%; }
  .guide-table--topic tr:first-child { display: none; }
  .guide-table--topic tr { padding: .9rem 0; border-top: 1px solid var(--lx-line-ink); }
  .guide-table--topic th[scope="row"] { font-family: var(--lx-serif); font-size: 1.25rem; padding: 0 0 .4rem; border: 0; }
  .guide-table--topic td { padding: .25rem 0; border: 0; }
  .guide-table--topic td::before { content: attr(data-label); display: block; font-size: .72rem; font-weight: 650; letter-spacing: .08em; text-transform: uppercase; color: var(--lx-gold-ink); }
}

/* Film headers that replace a photo header keep the photo header height (Caley item 207; Oct 30 2026) */
.band--page.band--short { min-height: clamp(20rem, 52vh, 30rem); }
.band__still { display: none; }
/* wide screens (the same test luxe.js uses): still photo instead of the portrait film */
@media (min-width: 700px) and (min-aspect-ratio: 10/11) {
  .band--still-wide .band__still { display: block; position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 55%; }
  .band--still-wide .band__film video { display: none; }
}

/* ===========================================================================
   Section menus on phones (Jacky, Oct 30 2026): one sliding row, Get A Quote as its
   own button, "I own / need a pool instead" as a small link under it. Desktop unchanged.
   Round 15 (Caley 192928): the section menu folds at the same width as the main menu (62rem),
   so no screen shows a hamburger above a full desktop row of section tabs.
   =========================================================================== */
.rail .rail__cta { display: none; }   /* ".rail a" would otherwise show it on desktop */
@media (max-width: 61.99rem) {
  .rail .rail__inner { display: grid; grid-template-columns: minmax(0, 1fr); gap: .4rem; padding-block: .6rem .3rem; }
  .rail__label { font-size: .72rem; }
  .rail .rail__inner ul {
    display: flex; flex-wrap: nowrap; overflow-x: auto; overflow-y: hidden; width: auto;
    gap: .4rem; margin-inline: calc(-1 * var(--gutter)); padding-inline: var(--gutter);
    scroll-snap-type: x proximity; scroll-padding-inline: var(--gutter);
    overscroll-behavior-x: contain; scrollbar-width: none;
  }
  .rail .rail__inner ul::-webkit-scrollbar { display: none; }
  .rail li { flex: 0 0 auto; scroll-snap-align: start; }
  .rail ul a {
    min-height: 44px; padding: 0 1rem; white-space: nowrap; font-size: .9rem;
    border: 1px solid var(--rule-on-dark-2); border-radius: 999px;
  }
  .rail ul a[aria-current="page"] { background: var(--lx-gold-hi); border-color: var(--lx-gold-hi); color: var(--lx-night); }
  .rail--more-right ul { -webkit-mask-image: linear-gradient(90deg, #000 calc(100% - 3rem), transparent); mask-image: linear-gradient(90deg, #000 calc(100% - 3rem), transparent); }
  .rail--more-left ul { -webkit-mask-image: linear-gradient(90deg, transparent, #000 3rem); mask-image: linear-gradient(90deg, transparent, #000 3rem); }
  .rail--more-left.rail--more-right ul { -webkit-mask-image: linear-gradient(90deg, transparent, #000 3rem, #000 calc(100% - 3rem), transparent); mask-image: linear-gradient(90deg, transparent, #000 3rem, #000 calc(100% - 3rem), transparent); }
  .rail--js .rail__quote-item { display: none; }
  .rail .rail__cta { display: flex; width: 100%; min-height: 48px; justify-content: center; margin-top: .2rem; }
  .rail .rail__swap {
    width: auto; justify-self: center; margin: 0; min-height: 44px; padding: 0 .75rem;
    border: 0; background: none; font-size: .78rem; letter-spacing: .06em;
  }
}

/* ===========================================================================
   Round 15 (Caley, Oct 30 2026). Rules: reuse the gold, night and ivory tokens; no new colours.
   =========================================================================== */
/* 225-227: one height for every page header photo or film, so the site is consistent */
.hero.hero--photo, .hero.hero--photo.hero--r10,
.band--page, .band--page.band--short { min-height: clamp(34rem, 82vh, 52rem); }
@media (max-width: 40em) { .hero.hero--photo, .hero.hero--photo.hero--r10 { min-height: 0; } }

/* 218: Our Extended Family, a larger heading, her text, and a tenure collage */
.efam { margin-top: clamp(3rem, 2rem + 4vw, 5rem); padding-top: clamp(2rem, 1.5rem + 2vw, 3rem); border-top: 1px solid var(--lx-line-ink); }
.efam__title { margin: 0 0 1.5rem; font-family: var(--lx-serif); font-weight: 300; font-size: clamp(2.4rem, 1.4rem + 3.6vw, 4.4rem); line-height: 1.05; color: var(--lx-night); }
.efam__intro { display: grid; gap: 1.5rem 3rem; align-items: start; }
@media (min-width: 54rem) { .efam__intro { grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); } }
.efam__text p { max-width: 62ch; }
.efam__points { margin: .25rem 0 1.25rem; padding: 0; list-style: none; }
.efam__points li { margin: 0 0 .6rem; }
.efam__grid { list-style: none; margin: clamp(2rem, 1.5rem + 2vw, 3rem) 0 0; padding: 0; display: grid; gap: .75rem;
  grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-flow: row dense; }
@media (min-width: 46rem) { .efam__grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1rem; } }
.efam__grid li { max-width: none; margin: 0; padding: 0; }
.efam__grid figure { position: relative; margin: 0; overflow: hidden; border-radius: var(--radius-lg); background: var(--lx-sand); }
.efam__person img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; }
.efam__person b { display: block; margin-top: .45rem; font-family: var(--lx-serif); font-size: 1.15rem; font-weight: 500; line-height: 1.2; color: var(--lx-night); }
.efam__years { position: absolute; left: .6rem; bottom: .6rem; padding: .3rem .75rem; border-radius: 999px;
  background: rgba(12,10,9,.74); color: var(--lx-ivory); font-size: .85rem; font-weight: 650; letter-spacing: .02em; }
.efam__old { grid-column: span 2; }
.efam__old.efam__old--one { grid-column: span 1; }
.efam__old figure { height: 100%; }
.efam__old img { display: block; width: 100%; height: 100%; object-fit: cover; }

/* 221: photo beside Client Centric fills the empty end of the values grid */
.values .values__photo { position: relative; padding: 0; border: 0; min-height: 14rem; }
.values__photo img { position: absolute; inset: 0; display: block; width: 100%; height: 100%; object-fit: cover; border-radius: var(--radius-lg); }
@media (min-width: 62rem) { .values .values__photo { grid-column: span 2; } }

/* 219: On the job at the bottom of Who We Are */
.onthejob .crew__pending { margin-top: 0; }

/* 216: four shots in the Client Care fleet and crew row */
@media (max-width: 61.99rem) { .onsite__grid--four .onsite__shot--van { grid-column: 1 / -1; aspect-ratio: 16 / 9; } }
@media (min-width: 62rem) { .onsite__grid--four { grid-template-columns: 1.5fr 1fr 1fr 1fr; } }

/* 211: Gallery photo header, long intro stays readable */
.gallery-hero--photo .pane--hero { max-width: 58rem; }

/* 231: Remodel contact buttons on one row */
.btn-row--cta { display: flex; flex-wrap: wrap; gap: .75rem; }
/* 231: tel and email buttons inside imported page text are buttons, not underlined links */
.prose a.btn, .prose-cta a.btn { text-decoration: none; }

/* ===========================================================================
   Round 16 (Oct 30 2026): fixes from Vera's site-qa sweep before Caley sees them.
   =========================================================================== */
/* menu button: bars follow the button's text colour, so a tap (sticky hover on phones) never hides them */
.slab__toggle .slab__bars, .slab__toggle .slab__bars::before, .slab__toggle .slab__bars::after { background: currentColor; }
.slab__toggle[aria-expanded="true"] .slab__bars { background: transparent; }
/* open phone menu: the page behind does not scroll */
/* Nov 5 2026 (Hugo; Jacky found it on the designer, Nov 4): lock the screen on html only. Putting overflow:hidden on
   body as well made body its own scroll box, so the sticky header stuck to the top of the PAGE, not the screen: opened
   anywhere below the top, the menu and its close button slid off-screen with no way back but a reload. The open menu
   scrolls inside itself when it is taller than the screen. */
@media (max-width: 61.99rem) {
  html.menu-open { overflow: hidden; overscroll-behavior: none; }
  html.menu-open .slab__nav[data-open="true"] { max-height: calc(100vh - 4.5rem); max-height: calc(100dvh - 4.5rem); overflow-y: auto; overscroll-behavior: contain; }
}
/* a jump to a heading lands below the sticky header, not under it */
[id] { scroll-margin-top: 6rem; }
@media (min-width: 62rem) { [id] { scroll-margin-top: 9rem; } }
/* tap targets of 44px in the header logo, footer and social links */
.slab__mark { display: inline-flex; align-items: center; min-height: 44px; }
.footer__areas a, .footer__place address a, .footer__place p a { display: inline-flex; align-items: center; min-height: 44px; }
.footer__areas ul { gap: 0 1.4rem; }
.social a { display: inline-flex; align-items: center; min-height: 44px; }

/* Round 16 (Caley 1:36 PM): "What does this mean for you" sits under the photo of the four on desktop,
   so the column has no empty space; phones keep the reading order photo, story, then what it means. */
@media (min-width: 54rem) {
  .efam__intro { grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); grid-template-areas: "fig text" "more more"; align-items: center; }
  .efam__intro > .tenure__img { grid-area: fig; }
  .efam__intro > .efam__text { grid-area: text; }
  .efam__intro > .efam__text--more { grid-area: more; }
}
/* the collage keeps the order chosen, so each pair stays beside its old photo */
.efam__grid { grid-auto-flow: row; }
@media (min-width: 54rem) {
  .efam__text--more .efam__points { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.5rem; }
  .efam__text--more .efam__points li { margin: 0; padding-top: .9rem; border-top: 2px solid var(--lx-gold); }
  .efam__text--more .efam__points li::before { display: none; }
  .efam__text--more p { max-width: none; }
}

/* ===========================================================================
   Round 17 (Oct 30 2026): pattern fixes from Vera's site-qa sweep (P3 groups).
   =========================================================================== */
@media (max-width: 47.99rem) {
  /* links standing alone on their line (marked "tap" by site.js): 44px tap height */
  a.tap { display: inline-flex !important; align-items: center; min-height: 44px; }
  /* footer legal line: 44px tap area, same look (padding taken back by the margin) */
  .footer__legal a { display: inline-block; padding: 12px 0; margin: -12px 0; }
  /* gallery filter buttons and the home page path titles: 44px */
  .gchip { min-height: 44px; }
  .path__title.path__link { display: inline-flex; align-items: center; min-height: 44px; }
}
/* the photo-break heading on Remodel uses the same size as every other film heading */
.band--break .band__title { font-size: clamp(2.4rem, 1.4rem + 4vw, 5.4rem); line-height: 1; }

/* ===========================================================================
   Round 18 (Caley, Oct 30 2026, 3:02 to 3:27 PM ET texts).
   =========================================================================== */
/* site search item in the main menu: icon only on the desktop row, icon and word in the phone menu */
.slab__search a { display: inline-flex; align-items: center; gap: .5rem; }
.slab__search .i { width: 1.05rem; height: 1.05rem; flex: none; }
@media (min-width: 62rem) {
  .slab__search a { min-width: 44px; justify-content: center; }
  .slab__search-label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
}
/* search page */
.search__form { display: flex; gap: .6rem; max-width: 44rem; margin: 0 auto; }
.search__input { flex: 1 1 auto; min-width: 0; min-height: 52px; padding: .7rem 1rem; font: inherit; font-size: 1.05rem;
  border: 1px solid var(--lx-line-ink); border-radius: var(--radius-lg); background: #fff; color: var(--lx-night); }
.search__input:focus-visible { outline: 2px solid var(--lx-gold); outline-offset: 2px; }
.search__go { min-height: 52px; }
.search__status { max-width: 44rem; margin: 1rem auto 0; color: var(--ink-muted); text-align: center; }
.search__results { list-style: none; max-width: 44rem; margin: 1.5rem auto 0; padding: 0; display: grid; gap: .25rem; }
.sr { max-width: none; margin: 0; padding: 1rem 0; border-top: 1px solid var(--lx-line-ink); }
.sr__link { display: grid; gap: .15rem; min-height: 44px; text-decoration: none; color: var(--lx-night); }
.sr__page { font-family: var(--lx-serif); font-size: 1.3rem; line-height: 1.2; }
.sr__head { font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-muted); }
.sr__link:hover .sr__page, .sr__link:focus-visible .sr__page { text-decoration: underline; text-underline-offset: .2em; }
.sr__text { margin: .4rem 0 0; font-size: .95rem; color: var(--ink-muted); max-width: none; }
.sr mark { background: rgba(201,163,92,.28); color: inherit; padding: 0 .1em; border-radius: 2px; }
/* gallery: find a photo by number, beside the category chips */
.gallery__bar { display: flex; align-items: center; max-width: 1480px; margin-inline: auto; }
.gallery__bar .gallery__chips { flex: 1 1 auto; min-width: 0; margin: 0; }
/* r21 (Jacky, Nov 2): the "Photo #" box has its own slot and never sits over the chips.
   Phones: one sideways row of chips with a fade at the right edge while more chips are hidden.
   48rem and up: the chips wrap onto more lines, so every chip is in view; nothing scrolls. */
.gallery__bar { align-items: flex-start; }
.gfind { padding-block: .8rem; }
@media (max-width: 47.99rem) { .gfind { margin-left: .35rem; padding-left: .5rem; border-left: 1px solid var(--lx-line-ink); } }
@media (min-width: 48rem) {
  .gallery__bar .gallery__chips, .gallery__bar .gallery__chips[data-rail-more] { flex-wrap: wrap; overflow: visible; -webkit-mask-image: none; mask-image: none; }
}
/* Sideways rails show they scroll: a fade at the trailing edge while there is more to see.
   luxe.js sets data-rail-more only when the rail overflows and is not at its end. */
.gallery__chips[data-rail-more], .works__rail[data-rail-more], .work[data-rail-more], .finish-scroll[data-rail-more] {
  -webkit-mask-image: linear-gradient(to right, #000 calc(100% - 3rem), transparent);
          mask-image: linear-gradient(to right, #000 calc(100% - 3rem), transparent);
}
.gfind { flex: none; display: flex; align-items: center; gap: .25rem; padding-right: clamp(.75rem, 3vw, 2rem); position: relative; }
.gfind__input { width: 5.6rem; min-height: 44px; padding: .4rem .7rem; font: inherit; font-size: 1rem;
  border: 1px solid var(--lx-line-ink); border-radius: 999px; background: #fff; color: var(--lx-night); }
.gfind__input:focus-visible { outline: 2px solid var(--lx-gold); outline-offset: 2px; }
.gfind__go { min-width: 44px; min-height: 44px; }
.gfind__msg:empty { display: none; }
.gfind__msg { position: absolute; right: clamp(.75rem, 3vw, 2rem); top: 100%; margin-top: .3rem; padding: .3rem .7rem; font-size: .85rem;
  background: var(--lx-night); color: var(--lx-ivory); border-radius: 999px; white-space: nowrap; }
@media (max-width: 33.99rem) { .gfind__input { width: 6.2rem; padding: .4rem .65rem; font-size: .95rem; } .gfind { gap: .15rem; } }
/* Canadian Built decal: small and quiet, never a banner */
.cdn-badge { margin: 1.5rem auto 0; width: 7.5rem; max-width: none; }
.cdn-badge img { display: block; width: 100%; height: auto; border-radius: 12px; box-shadow: 0 10px 24px -14px rgba(15,24,32,.55); }
@media (min-width: 48rem) {
  #concrete-h + .cdn-badge { float: right; width: 8.5rem; margin: .2rem 0 1rem 2rem; }
  .more__body .cdn-badge, .cdn-badge { width: 8.5rem; }
}
.footer__cdn { display: block; width: 4.5rem; height: auto; margin: 1rem 0 0; border-radius: 8px; opacity: .92; }
/* Who We Are: Connor's and Caley's points read at the same size as the paragraphs around them */
.chapter__body .values__points, .more__body .values__points { font-size: inherit; }
/* phones (two columns): dense packing so the 17 people and the one small old photo fill every row */
@media (max-width: 45.99rem) { .efam__grid { grid-auto-flow: row dense; } }

/* Round 19 (Caley, Oct 31): Canadian Built. Footer: her long lockup, reversed for the dark footer, no box or white trim,
   with clear space before Get A Quote. Design & Build (cream section): her cream square, which carries its own thin border. */
.footer__cdn.footer__cdn--line { width: 13.5rem; max-width: 100%; border-radius: 0; opacity: 1; margin: 1.4rem 0 2rem; }
.cdn-badge.cdn-badge--cream img { border-radius: 0; box-shadow: none; }
@media (min-width: 48rem) { #concrete-h + .cdn-badge.cdn-badge--cream { width: 9.5rem; } }
/* Who We Are, third generation: the two early photos larger, so the row has no empty band under them */
@media (min-width: 62rem) {
  .chapter.chapter--pair { grid-template-columns: 1.55fr 1fr; }
  .chapter--pair .chapter__img img { aspect-ratio: 4 / 3.4; object-fit: cover; height: auto; }
}
/* Round 19, item 280: less empty band under the third-generation row before Our Extended Family */
.chapter.chapter--pair { padding-bottom: clamp(1rem, 2vw, 1.5rem); }

/* Phones: the hero title uses the full width, so a long word like "Backyard"
   never has to be split in two (it did at 360 to 390 with the 13ch cap). */
@media (max-width: 37.5rem) {
  .stage__title { max-width: none; }
}

/* ===========================================================================
   CR-20261106-5 (Gib-San email, Nov 6 2026 1:29 PM ET; Dennis r31): a blog post opens on its own
   featured photo with the title on it, instead of the dark band. Wide screens use the site's photo
   header as is (same height, bottom-left title, corner shade). Phones keep the title ON the photo
   (other photo headers stack the photo above the text): a bottom-up shade behind the title only,
   no tinted box, and a height that keeps the title clear of the fixed Call / Get A Quote bar.
   =========================================================================== */
.hero.hero--photo.hero--post .pane--hero h1 { max-width: 20ch; text-wrap: balance; }
@media (max-width: 40em) {
  .hero.hero--photo.hero--post {
    display: grid; align-items: end;
    min-height: clamp(24rem, 64svh, 32rem);
    padding-block: 0;
    overflow: hidden;
  }
  .hero.hero--photo.hero--post .hero__field {
    position: absolute; inset: 0; z-index: -1;
    width: auto; height: auto; aspect-ratio: auto;
  }
  .hero.hero--photo.hero--post .hero__field::after {
    display: block; content: ""; position: absolute; inset: 0; pointer-events: none;
    background: linear-gradient(to top, rgba(12,10,9,.86) 0%, rgba(12,10,9,.62) 30%, rgba(12,10,9,.22) 58%, rgba(12,10,9,0) 78%);
  }
  .hero.hero--photo.hero--post .hero__inner { padding-block: 6rem 1.75rem; }
  .hero.hero--photo.hero--post .pane--photo.pane--hero h1 {
    color: var(--lx-ivory); max-width: none; margin-bottom: 0;
    font-size: clamp(2rem, 1.35rem + 2.6vw, 2.4rem); line-height: 1.08;
    text-shadow: 0 2px 18px rgba(0,0,0,.55);
  }
}

/* ===========================================================================
   r32 (Karen r31 pass, Nov 6 2026; Dennis): blog post photo headers on wide screens.
   Fix 1: a featured photo under 1152 px wide (.hero--post-framed, set by the template from the
   file's real width; the old site only ever had a 530 px copy) is never stretched across the
   screen. From 641 px up it sits in a framed panel beside the title on the ivory page, at its own
   size or smaller, never larger (r32c, Karen r32 fix 11). Phones keep the title on the photo exactly as r31.
   Fix 2: on wide photos the title gets a soft shade of its own (an ellipse that fades to clear,
   no edge) on top of a gentle left-to-right shade, so the ivory title holds on bright photos.
   Fix 3: wider title box; titles over 60 characters (.hero--post-long) step down a size, so
   no title runs past 4 lines at 1440.
   Fix 5: the title starts on the same line as the Gib-San mark in the header.
   =========================================================================== */
@media (min-width: 62em) {
  .hero.hero--photo.hero--post:not(.hero--post-framed) .hero__inner {
    max-width: 1320px; padding-inline: calc(var(--gutter) + 1.65rem) var(--gutter);
  }
  .hero.hero--photo.hero--post:not(.hero--post-framed) .pane--photo.pane--hero {
    position: relative; isolation: isolate; max-width: 54rem;
  }
  .hero.hero--photo.hero--post:not(.hero--post-framed) .pane--hero h1 { max-width: 22ch; }
  .hero.hero--photo.hero--post.hero--post-long:not(.hero--post-framed) .pane--hero h1 {
    font-size: clamp(2.75rem, 1rem + 2.7vw, 3.5rem); max-width: 27ch;
  }
  .hero.hero--photo.hero--post:not(.hero--post-framed) .hero__field::after {
    background:
      linear-gradient(90deg, rgba(12,10,9,.62) 0%, rgba(12,10,9,.48) 30%, rgba(12,10,9,.26) 48%, rgba(12,10,9,.08) 60%, rgba(12,10,9,0) 70%),
      linear-gradient(to top, rgba(12,10,9,.5) 0%, rgba(12,10,9,.18) 30%, rgba(12,10,9,0) 50%);
  }
  .hero.hero--photo.hero--post:not(.hero--post-framed) .pane--photo.pane--hero::before {
    display: block; content: ""; position: absolute; z-index: -1; pointer-events: none;
    inset: -45% -22% -40% -30%;
    background: radial-gradient(closest-side, rgba(12,10,9,.56) 0%, rgba(12,10,9,.48) 45%, rgba(12,10,9,.24) 75%, rgba(12,10,9,0) 100%);
  }
}

@media (min-width: 40.0625em) {
  .hero.hero--photo.hero--post.hero--post-framed {
    min-height: 0; display: grid; grid-template-columns: minmax(0, 1fr); gap: 2rem;
    align-items: center; justify-items: start;
    background: var(--lx-ivory); color: var(--lx-night);
    padding-block: clamp(2.5rem, 1rem + 3.5vw, 4.5rem);
    padding-inline: max(calc(var(--gutter) + 1.65rem), calc((100% - 1320px) / 2 + var(--gutter) + 1.65rem));
    padding-right: max(var(--gutter), calc((100% - 1320px) / 2 + var(--gutter)));
    border-bottom: 1px solid var(--lx-line-ink);
  }
  .hero.hero--post.hero--post-framed > .hero-rule { display: none; }
  .hero.hero--post.hero--post-framed .hero__field {
    position: relative; inset: auto; z-index: auto; grid-row: 2;
    width: 100%; max-width: 530px; height: auto; aspect-ratio: 53 / 43;
    border-radius: var(--radius-lg); overflow: hidden;
    box-shadow: 0 0 0 1px var(--lx-line-ink), 0 24px 48px -32px rgba(12,10,9,.45);
  }
  .hero.hero--post.hero--post-framed .hero__field img {
    position: static; display: block; width: 100%; height: 100%;
    object-fit: cover; object-position: 50% 50%; filter: none; transform: none;
  }
  .hero.hero--post.hero--post-framed .hero__field::after,
  .hero.hero--post.hero--post-framed .hero__scrim { display: none; }
  .hero.hero--post.hero--post-framed .hero__inner {
    grid-row: 1; width: auto; max-width: none; margin: 0; padding: 0; display: block;
  }
  .hero.hero--post.hero--post-framed .pane--photo.pane--hero { max-width: none; padding: 0; background: none; box-shadow: none; }
  .hero.hero--post.hero--post-framed .pane--photo.pane--hero h1 {
    color: var(--lx-night); text-shadow: none; margin: 0; max-width: none;
    font-size: clamp(2.4rem, 1.1rem + 2.9vw, 4rem); line-height: 1.06;
  }
  .hero.hero--post.hero--post-framed.hero--post-long .pane--photo.pane--hero h1 {
    font-size: clamp(2.1rem, 1rem + 2.1vw, 3rem); max-width: none;
  }
}
@media (min-width: 40.0625em) {
  .hero.hero--photo.hero--post.hero--post-framed {
    grid-template-columns: minmax(0, 1fr) min(530px, 46%);
    column-gap: clamp(2rem, 0.5rem + 4vw, 5rem);
  }
  .hero.hero--post.hero--post-framed .hero__field { grid-row: 1; grid-column: 2; }
  .hero.hero--post.hero--post-framed .hero__inner { grid-row: 1; grid-column: 1; }
}

/* Fix 6: health-benefits-hot-tubs at phone width, both bathers' faces stay in frame */
@media (max-width: 40em) {
  .hero--post img[src*="7-life-changing-health-benefits"] { object-position: 0% 55%; }
}

/* r32c (Karen r32 fix 10): wide-photo posts at 641 to 991 px get the same soft title shade as 992 up. */
@media (min-width: 40.0625em) and (max-width: 61.99em) {
  .hero.hero--photo.hero--post:not(.hero--post-framed) .hero__field::after {
    background:
      linear-gradient(90deg, rgba(12,10,9,.62) 0%, rgba(12,10,9,.48) 35%, rgba(12,10,9,.26) 58%, rgba(12,10,9,.08) 72%, rgba(12,10,9,0) 82%),
      linear-gradient(to top, rgba(12,10,9,.5) 0%, rgba(12,10,9,.18) 30%, rgba(12,10,9,0) 50%);
  }
  .hero.hero--photo.hero--post:not(.hero--post-framed) .pane--photo.pane--hero { position: relative; isolation: isolate; }
  .hero.hero--photo.hero--post:not(.hero--post-framed) .pane--photo.pane--hero::before {
    display: block; content: ""; position: absolute; z-index: -1; pointer-events: none;
    inset: -45% -22% -40% -30%;
    background: radial-gradient(closest-side, rgba(12,10,9,.56) 0%, rgba(12,10,9,.48) 45%, rgba(12,10,9,.24) 75%, rgba(12,10,9,0) 100%);
  }
}

/* ===========================================================================
   r33 (Jacky, Nov 6 2026 4:40 PM ET: "Fade the edges of the photo so it looks blended or framed somehow").
   Phones (up to 640 px): every stacked page header photo (photo above the title, on the night field)
   melts into the night at its top and bottom edges instead of sitting as a hard-edged rectangle.
   Sides stay full bleed: the photo already runs edge to edge of the phone.
   The black padding above and below the stacked header goes, so the page reaches its first
   content (the blog category chips) above the fixed Call / Get A Quote bar.
   Blog post headers keep their own rules (title on the photo), so .hero--post is left out.
   =========================================================================== */
@media (max-width: 40em) {
  .hero.hero--photo:not(.hero--post) { padding-block: 0; }
  .hero.hero--photo:not(.hero--post) .hero__field { background: var(--lx-night); }
  .hero.hero--photo:not(.hero--post) .hero__field img {
    -webkit-mask-image: linear-gradient(to bottom,
      rgba(0,0,0,0) 0%, rgba(0,0,0,.14) 3%, rgba(0,0,0,.4) 7%, rgba(0,0,0,.7) 11.5%, rgba(0,0,0,.9) 15.5%, #000 20%,
      #000 62%, rgba(0,0,0,.9) 70%, rgba(0,0,0,.7) 78%, rgba(0,0,0,.4) 87%, rgba(0,0,0,.14) 95%, rgba(0,0,0,0) 100%);
            mask-image: linear-gradient(to bottom,
      rgba(0,0,0,0) 0%, rgba(0,0,0,.14) 3%, rgba(0,0,0,.4) 7%, rgba(0,0,0,.7) 11.5%, rgba(0,0,0,.9) 15.5%, #000 20%,
      #000 62%, rgba(0,0,0,.9) 70%, rgba(0,0,0,.7) 78%, rgba(0,0,0,.4) 87%, rgba(0,0,0,.14) 95%, rgba(0,0,0,0) 100%);
  }
  /* the title rises into the faded foot of the photo */
  .hero.hero--photo:not(.hero--post) .hero__inner { position: relative; z-index: 1; margin-top: -1.5rem; padding-block: 0 1.75rem; }
}
/* Wherever the Call / Get A Quote bar shows (up to 783 px), a jump to an anchor or a tab to a link
   never parks the target under the bar. */
@media (max-width: 48.99em) {
  html { scroll-padding-bottom: calc(5.5rem + env(safe-area-inset-bottom)); }
}

/* r33b: where the Call / Get A Quote bar shows above phone width (641 to 783 px, tablets held upright),
   a full-screen page header pushed the first row of content (the blog chips) under the bar.
   The header photo is shortened there so the first row sits above the bar when the page opens. */
@media (min-width: 40.0625em) and (max-width: 48.99em) {
  .hero.hero--photo:not(.hero--post), .hero.hero--photo.hero--r10:not(.hero--post) { min-height: clamp(26rem, 62svh, 40rem); }
}

/* r33c (Karen r33 fix 1): blog category chips on phones are one row that scrolls sideways, so the whole row
   clears the Call / Get A Quote bar on the first screen. Soft fade on the right edge says "more this way";
   the row keeps the page's left inset and can scroll its last chip clear of the fade. luxe.js scrolls the
   chip of the page you are on into view. */
@media (max-width: 40em) {
  .section:has(> .chips:first-child) { padding-top: 1.25rem; }
  .chips[aria-label="Categories"] {
    flex-wrap: nowrap; overflow-x: auto; overscroll-behavior-x: contain;
    margin-inline: calc(-1 * var(--gutter, 1.25rem)); padding: .25rem 3rem .25rem var(--gutter, 1.25rem);
    /* no scroll snap (r33g): snapping pulled the centred active chip back under the edge fade */
    scrollbar-width: none; -webkit-overflow-scrolling: touch;
    -webkit-mask-image: linear-gradient(to right, #000 0, #000 calc(100% - 3.5rem), rgba(0,0,0,.55) calc(100% - 1.75rem), rgba(0,0,0,0) 100%);
            mask-image: linear-gradient(to right, #000 0, #000 calc(100% - 3.5rem), rgba(0,0,0,.55) calc(100% - 1.75rem), rgba(0,0,0,0) 100%);
  }
  .chips[aria-label="Categories"]::-webkit-scrollbar { display: none; }
  .chips[aria-label="Categories"] .chip { flex: 0 0 auto; white-space: nowrap; }
}
/* r33c: on the blog index (the one photo header followed by the chip row) the phone photo is 16:9, not 3:2,
   and the space under the intro is trimmed, so the chip row clears the bar on short phone screens too (360x640). */
@media (max-width: 40em) {
  .hero.hero--photo:has(+ .section > .chips:first-child) .hero__field { aspect-ratio: 16 / 9; }
  .hero.hero--photo:has(+ .section > .chips:first-child) .hero__inner { padding-bottom: 1.25rem; }
  .hero.hero--photo:has(+ .section > .chips:first-child) .pane--hero .lede { margin-bottom: 0; }
}
/* r33c: fade only the edge that has more chips behind it (luxe.js sets is-scrolled / is-end) */
@media (max-width: 40em) {
  .chips[aria-label="Categories"].is-scrolled {
    -webkit-mask-image: linear-gradient(to right, rgba(0,0,0,0) 0, rgba(0,0,0,.55) 1.75rem, #000 3.5rem, #000 calc(100% - 3.5rem), rgba(0,0,0,.55) calc(100% - 1.75rem), rgba(0,0,0,0) 100%);
            mask-image: linear-gradient(to right, rgba(0,0,0,0) 0, rgba(0,0,0,.55) 1.75rem, #000 3.5rem, #000 calc(100% - 3.5rem), rgba(0,0,0,.55) calc(100% - 1.75rem), rgba(0,0,0,0) 100%);
  }
  .chips[aria-label="Categories"].is-scrolled.is-end {
    -webkit-mask-image: linear-gradient(to right, rgba(0,0,0,0) 0, rgba(0,0,0,.55) 1.75rem, #000 3.5rem);
            mask-image: linear-gradient(to right, rgba(0,0,0,0) 0, rgba(0,0,0,.55) 1.75rem, #000 3.5rem);
  }
  .chips[aria-label="Categories"].is-end:not(.is-scrolled) { -webkit-mask-image: none; mask-image: none; }
}

/* r33e (Karen r33 fix 3): photo headers that carry the title ON the photo (641 px and up, not blog posts,
   which have their own shade from r32) get the same soft shade behind the words: a left-to-right shade
   plus an ellipse behind the title and intro that fades to clear with no edge, so ivory text holds on
   bright stone and cushions. */
@media (min-width: 40.0625em) {
  .hero.hero--photo:not(.hero--post) .hero__field::after {
    background:
      linear-gradient(90deg, rgba(12,10,9,.66) 0%, rgba(12,10,9,.5) 30%, rgba(12,10,9,.28) 48%, rgba(12,10,9,.08) 62%, rgba(12,10,9,0) 72%),
      linear-gradient(to top, rgba(12,10,9,.5) 0%, rgba(12,10,9,.18) 30%, rgba(12,10,9,0) 50%);
  }
  .hero.hero--photo:not(.hero--post) .pane--photo.pane--hero { position: relative; isolation: isolate; }
  .hero.hero--photo:not(.hero--post) .pane--photo.pane--hero::before {
    display: block; content: ""; position: absolute; z-index: -1; pointer-events: none;
    inset: -40% -20% -40% -30%;
    background: radial-gradient(closest-side, rgba(12,10,9,.6) 0%, rgba(12,10,9,.5) 45%, rgba(12,10,9,.25) 75%, rgba(12,10,9,0) 100%);
  }
}

/* r33i (Karen r33 fix 4, same pattern on the section rails): luxe.js centres the current page's link in the rail, but
   start-aligned snap pulled it back to the nearest start, and on Building Process at 360 the right fade sat on it.
   The current link snaps to centre, so the centred position is itself a snap point and stays. */
.rail li:has(> a[aria-current="page"]) { scroll-snap-align: center; }

/* ===========================================================================
   r37c (Karen r37 fixes 1 and 2, Nov 8 2026; Dennis): a title over 60 characters (.hero--post-long)
   covers more of the photo (up to 6 lines on a phone, 5 at 1440), so its shade reaches higher and
   sits deeper. Same gradients as r31/r32, stronger stops, no new edge: each still fades to clear.
   Applies to every long-title post, so a bright photo a client picks later is covered the same way.
   =========================================================================== */
@media (max-width: 40em) {
  .hero.hero--photo.hero--post.hero--post-long .hero__field::after {
    background: linear-gradient(to top, rgba(12,10,9,.9) 0%, rgba(12,10,9,.76) 30%, rgba(12,10,9,.52) 52%, rgba(12,10,9,.24) 70%, rgba(12,10,9,0) 90%);
  }
}
@media (min-width: 62em) {
  .hero.hero--photo.hero--post.hero--post-long:not(.hero--post-framed) .hero__field::after {
    background:
      linear-gradient(90deg, rgba(12,10,9,.7) 0%, rgba(12,10,9,.56) 30%, rgba(12,10,9,.32) 50%, rgba(12,10,9,.1) 63%, rgba(12,10,9,0) 74%),
      linear-gradient(to top, rgba(12,10,9,.56) 0%, rgba(12,10,9,.22) 32%, rgba(12,10,9,0) 55%);
  }
  .hero.hero--photo.hero--post.hero--post-long:not(.hero--post-framed) .pane--photo.pane--hero::before {
    background: radial-gradient(closest-side, rgba(12,10,9,.66) 0%, rgba(12,10,9,.57) 45%, rgba(12,10,9,.3) 75%, rgba(12,10,9,0) 100%);
  }
}

/* Karen, Nov 17 2026: thank-you panel on the quote form, luxe design system.
   Proposed for Dennis to add at the END of src/assets/luxe.css (it must load after site.css and v2.css).
   Replaces the old r1 look of .form__done (2px black frame, pale blue fill, 3px gold top bar,
   gold side stripe on .form-sent) with the same calm card every other panel on the site uses. */

.form__done {
  background: #FBF8F2;                         /* = .card on luxe.css line 306 */
  border: 1px solid var(--lx-line-ink);
  border-radius: var(--radius-lg);
  box-shadow: none;
  padding: clamp(1.75rem, 1.1rem + 2.6vw, 3rem);
  scroll-margin-top: 6.5rem;                   /* lands below the fixed header, never under it */
}
.form__done:focus, .form__done:focus-visible { outline: none; }   /* focus is moved here by script for screen readers;
   the 1px gold ring it drew 4px outside the panel was the second frame in Jacky's screenshot */

.form__done .eyebrow { margin: 0 0 1.1rem; }
.form__done h2 { margin: 0 0 .9rem; font-size: clamp(2.4rem, 1.8rem + 2.4vw, 3.4rem); line-height: 1.02; }

.form-sent {                                   /* the status line: no side stripe, body type */
  border-left: 0; padding-left: 0; margin: 0;
  font-size: 1.0625rem; line-height: 1.6; color: var(--ink-body);
}

.done__ref {
  display: flex; flex-direction: column; gap: .35rem;
  margin: 1.6rem 0 1.8rem; padding: 1.1rem 0;
  border-block: 1px solid var(--lx-line-ink);
}
.done__ref dt {
  font-family: var(--lx-sans); font-size: .7rem; font-weight: 600;
  letter-spacing: .24em; text-transform: uppercase; color: var(--ink-muted);
}
.done__ref dd {
  margin: 0; font-family: var(--lx-sans); font-weight: 600; font-size: 1.125rem;
  letter-spacing: .06em; color: var(--lx-night);
  white-space: nowrap; font-variant-numeric: tabular-nums;
}

.done__actions { display: flex; flex-wrap: wrap; align-items: center; gap: .9rem 2rem; margin: 0; }
.done__note { margin: 1.4rem 0 0; font-size: .875rem; line-height: 1.6; color: var(--ink-muted); }
.done__note a { color: var(--lx-gold-ink); }

@media (max-width: 48.99rem) {
  .done__actions .btn--secondary { width: 100%; }
}

/* After a successful send the phone action bar's "Your enquiry" points at a form that is gone. */
html[data-enquiry-sent] .actionbar { display: none; }

/* The visible "Anything else" field (fix 6). site.css .field textarea already styles it. */
.field--message textarea { min-height: 7.5rem; }

/* Dennis, Nov 17 2026 (Karen fix 3/4): the preview parts stay in the page after a real send (the
   saved copy reads #request-summary) but must never show; .btn-row and details set display. */
.form__done [hidden] { display: none !important; }
.form__done .done__actions .btn { margin: 0; }
/* TEST and failure states keep the preview tools; give them air inside the new card (fix 10). */
.form__done .form-sent { margin-bottom: 1.1rem; }
.form__done details { margin: 0 0 1.1rem; }
