/* ==========================================================================
   Modern Stones & Flooring
   Editorial-luxury theme: warm stone neutrals, espresso ink, one bronze accent.
   ========================================================================== */

@font-face {
  font-family: 'Plus Jakarta Sans';
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url('/fonts/plus-jakarta-sans.woff2') format('woff2');
}
@font-face {
  font-family: 'Newsreader';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('/fonts/newsreader-500.woff2') format('woff2');
}

:root {
  --bg: oklch(98.7% 0.003 85);
  --bg-tint: oklch(96% 0.006 80);
  --surface: oklch(100% 0 0);
  --ink: oklch(18.5% 0.008 60);
  --ink-2: oklch(35% 0.01 60);
  --ink-3: oklch(45% 0.01 65);
  --accent: oklch(57% 0.085 58);
  --accent-ink: oklch(45% 0.08 55);
  --dark: oklch(17.5% 0.008 60);
  --dark-2: oklch(24% 0.008 60);
  --on-dark: oklch(94% 0.01 80);
  --on-dark-2: oklch(72% 0.012 70);
  --accent-light: oklch(78% 0.07 65);

  --line: color-mix(in oklch, var(--ink) 13%, transparent);
  --line-strong: color-mix(in oklch, var(--ink) 16%, transparent);
  --line-dark: color-mix(in oklch, var(--on-dark) 12%, transparent);
  --shadow-soft: 0 40px 80px -40px color-mix(in oklch, var(--ink) 30%, transparent),
                 0 12px 24px -16px color-mix(in oklch, var(--ink) 14%, transparent);

  --ease: cubic-bezier(0.32, 0.72, 0, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);

  --r-xl: .5rem;
  --r-pad: 0rem;

  --font-display: "Plus Jakarta Sans", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  /* Headlines only: a book serif reads as an established firm. The wordmark and UI stay sans */
  --font-serif: "Newsreader", Georgia, "Times New Roman", serif;
  --font-sans: "Plus Jakarta Sans", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;

  --gutter: clamp(1rem, 4vw, 3rem);
  --section: clamp(4.5rem, 9vw, 7.5rem);
  --nav-h: 4.25rem;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 6.5rem;
  -webkit-text-size-adjust: 100%;
  interpolate-size: allow-keywords;
}

body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.6;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button, input, textarea { font: inherit; color: inherit; }
svg { width: 1em; height: 1em; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; flex: none; }
::selection { background: color-mix(in oklch, var(--accent) 28%, transparent); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }

.skip-link {
  position: absolute; left: 1rem; top: -4rem; z-index: 200;
  padding: .6rem 1rem; border-radius: 999px; background: var(--ink); color: var(--bg);
  transition: transform .4s var(--ease);
}
.skip-link:focus { transform: translateY(5rem); }

.container {
  width: 100%;
  max-width: 1360px;
  margin-inline: auto;
  padding-inline: var(--gutter);
}

/* ---------- Typography ---------- */
.display {
  font-family: var(--font-serif);
  font-weight: 500;
  letter-spacing: -0.012em;
  line-height: 1.06;
  text-wrap: balance;
}
.display em { font-style: normal; }

.h2 { font-size: clamp(2.2rem, 3.8vw, 3.4rem); }

/* Section label: small caps after a short rule */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .85rem;
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--accent-ink);
  margin-bottom: 1.4rem;
  text-wrap: balance;
}
.eyebrow::before { content: ""; width: 2.5rem; height: 1px; background: currentColor; flex: none; }
.eyebrow__dot { display: none; }
.eyebrow--dark { color: var(--accent-light); }

.lede { font-size: clamp(1.05rem, 1.35vw, 1.2rem); color: var(--ink-2); max-width: 52ch; text-wrap: pretty; }

/* ---------- Buttons ---------- */
.btn {
  --btn-bg: var(--ink);
  --btn-fg: var(--bg);
  --btn-icon: color-mix(in oklch, var(--bg) 14%, transparent);
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: .9rem;
  padding: .45rem 1.6rem;
  min-height: 3.25rem;
  border: 0;
  border-radius: .375rem;
  background: var(--btn-bg);
  color: var(--btn-fg);
  font-size: .95rem;
  font-weight: 500;
  letter-spacing: -0.005em;
  white-space: nowrap;
  cursor: pointer;
  transition: transform .6s var(--ease), translate .6s var(--ease), background-color .5s var(--ease), box-shadow .5s var(--ease);
}
.btn:active { transform: scale(.975); }
.btn .btn__icon { display: none; }
.btn__icon {
  display: grid; place-items: center;
  width: 2.35rem; height: 2.35rem;
  border-radius: 50%;
  background: var(--btn-icon);
  font-size: 1.05rem;
  transition: transform .6s var(--ease);
}
.btn:hover .btn__icon { transform: translate(3px, -2px) scale(1.06); }
.btn--primary:hover { --btn-bg: oklch(30% 0.02 55); box-shadow: 0 18px 36px -18px color-mix(in oklch, var(--ink) 60%, transparent); }

.btn--ghost {
  --btn-bg: transparent;
  --btn-fg: var(--ink);
  --btn-icon: color-mix(in oklch, var(--ink) 7%, transparent);
  box-shadow: inset 0 0 0 1px var(--line-strong);
}
.btn--ghost:not(:has(.btn__icon)) { padding-right: 1.5rem; }
.btn--ghost:hover { --btn-bg: color-mix(in oklch, var(--ink) 5%, transparent); }
.btn__lead { font-size: 1.1rem; margin-left: -.35rem; }

.btn--light { --btn-bg: var(--on-dark); --btn-fg: var(--dark); --btn-icon: color-mix(in oklch, var(--dark) 9%, transparent); }
.btn--light:hover { --btn-bg: oklch(100% 0 0); }

.btn--sm { min-height: 2.75rem; padding-inline: 1.15rem; font-size: .88rem; }
.btn--sm .btn__icon { width: 2rem; height: 2rem; font-size: .95rem; }
.btn--block { width: 100%; justify-content: space-between; }

.link-arrow {
  display: inline-flex; align-items: center; gap: .4rem;
  font-weight: 500; font-size: .95rem;
  border-bottom: 1px solid currentColor;
  padding-bottom: .1rem;
}
.link-arrow svg { transition: transform .5s var(--ease); }
.link-arrow:hover svg { transform: translate(3px, -3px); }

.round-btn {
  display: grid; place-items: center;
  width: 3.25rem; height: 3.25rem; border-radius: 50%;
  border: 0; background: var(--surface); color: var(--ink);
  box-shadow: inset 0 0 0 1px var(--line), 0 10px 20px -14px color-mix(in oklch, var(--ink) 40%, transparent);
  font-size: 1.15rem; cursor: pointer;
  transition: transform .5s var(--ease), opacity .4s var(--ease);
}
.round-btn:hover { transform: translateY(-2px); }
.round-btn:active { transform: scale(.95); }
.round-btn:disabled { opacity: .35; cursor: default; transform: none; }

/* ---------- Double-bezel container ---------- */
.bezel {
  padding: var(--r-pad);
  border-radius: var(--r-xl);
}
.bezel__core {
  display: block;
  height: 100%;
  border-radius: calc(var(--r-xl) - var(--r-pad));
  overflow: hidden;
  background: var(--surface);
  box-shadow: inset 0 0 0 1px var(--line);
}
.bezel__core > img { width: 100%; height: 100%; object-fit: cover; }
.bezel--dark .bezel__core { background: var(--dark-2); box-shadow: inset 0 0 0 1px var(--line-dark); }

/* Frosted chip — only ever sits over imagery */
.glass-chip {
  display: inline-flex; align-items: center; gap: .75rem;
  padding: .55rem 1.1rem .55rem .55rem;
  border-radius: 999px;
  background: color-mix(in oklch, var(--surface) 72%, transparent);
  -webkit-backdrop-filter: blur(14px) saturate(1.4);
  backdrop-filter: blur(14px) saturate(1.4);
  box-shadow: inset 0 0 0 1px oklch(100% 0 0 / .5), inset 0 1px 0 oklch(100% 0 0 / .8), var(--shadow-soft);
  line-height: 1.2;
}
.glass-chip__icon {
  display: grid; place-items: center; width: 2.4rem; height: 2.4rem; border-radius: 50%;
  background: var(--ink); color: var(--bg); font-size: 1.1rem;
}
.glass-chip strong { display: block; font-weight: 600; font-size: .9rem; }
.glass-chip small { display: block; color: var(--ink-2); font-size: .78rem; }

/* ---------- Navigation (floating island) ---------- */
.nav {
  position: fixed;
  inset: 1rem 0 auto;
  z-index: 50;
  display: flex;
  justify-content: center;
  padding-inline: var(--gutter);
  pointer-events: none;
}
.nav__island {
  position: relative;
  pointer-events: auto;
  display: flex; align-items: center; gap: clamp(1rem, 2.2vw, 2.25rem);
  width: min(100%, 1120px);
  height: var(--nav-h);
  padding: 0 .55rem 0 1.25rem;
  border-radius: .75rem;
  background: var(--surface);
  box-shadow: inset 0 0 0 1px var(--line-strong), 0 14px 32px -12px color-mix(in oklch, var(--ink) 38%, transparent), 0 3px 8px -2px color-mix(in oklch, var(--ink) 16%, transparent);
  transition: transform .7s var(--ease);
}

.brand { display: inline-flex; align-items: center; gap: .65rem; margin-right: auto; white-space: nowrap; }
.brand__mark { width: 1.9rem; height: 1.9rem; fill: var(--ink); stroke: none; --mark-accent: var(--accent); }
.brand__name { font-family: var(--font-display); font-weight: 700; font-size: 1.1rem; letter-spacing: -0.02em; line-height: 1; }
.brand__amp { color: var(--accent-ink); }

.nav__links { display: flex; gap: .25rem; }
.nav__links a {
  position: relative;
  padding: .5rem .8rem;
  border-radius: .375rem;
  font-size: .9rem;
  color: var(--ink);
  transition: color .4s var(--ease), background-color .4s var(--ease);
}
.nav__links a:hover { color: var(--ink); background: color-mix(in oklch, var(--ink) 5%, transparent); }

/* Services dropdown */
.nav__drop-btn {
  display: inline-flex; align-items: center; gap: .3rem;
  padding: .5rem .8rem; border: 0; border-radius: .375rem;
  background: none; font-size: .9rem; color: var(--ink); cursor: pointer;
  transition: color .4s var(--ease), background-color .4s var(--ease);
}
.nav__chev { font-size: .85em; transition: transform .4s var(--ease); }
.nav__panel {
  position: absolute; top: calc(100% + .75rem); left: 50%;
  width: min(60rem, calc(100vw - 2 * var(--gutter)));
  padding: 1.75rem 1.75rem 0;
  border-radius: .75rem;
  background: var(--surface);
  box-shadow: inset 0 0 0 1px var(--line), var(--shadow-soft);
  opacity: 0; visibility: hidden;
  transform: translate(-50%, .5rem);
  transition: opacity .35s var(--ease), transform .45s var(--ease), visibility 0s .45s;
}
.nav__panel::before { content: ""; position: absolute; inset: -1rem 0 auto; height: 1rem; }
.nav__item[data-open] .nav__panel { opacity: 1; visibility: visible; transform: translate(-50%, 0); transition-delay: 0s; }
.nav__item[data-open] .nav__drop-btn,
.nav__drop-btn:hover { color: var(--ink); background: color-mix(in oklch, var(--ink) 5%, transparent); }
.nav__item[data-open] .nav__chev { transform: rotate(180deg); }
@media (hover: hover) {
  .nav__item:not([data-suppress]):hover .nav__panel { opacity: 1; visibility: visible; transform: translate(-50%, 0); transition-delay: 0s; }
  .nav__item:not([data-suppress]):hover .nav__chev { transform: rotate(180deg); }
}
.nav__panel-cols { display: grid; grid-template-columns: 1fr 1fr 1.25fr 1.15fr; gap: 1.25rem; }
.nav__panel-col { display: flex; flex-direction: column; gap: .1rem; }
.nav__links .nav__panel-col a { padding: .35rem .6rem; margin-left: -.6rem; width: fit-content; font-size: .9rem; border-radius: .6rem; }
.nav__links .nav__panel-col .nav__panel-head {
  margin-bottom: .35rem; font-size: .7rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--accent-ink);
}
.nav__links .nav__panel-col .nav__panel-head:not(:first-child) { margin-top: .9rem; }
.nav__panel-foot {
  display: flex; justify-content: space-between; align-items: center; gap: 1rem;
  margin: 1.5rem -1.75rem 0; padding: 1rem 1.75rem;
  border-top: 1px solid var(--line);
  border-radius: 0 0 .75rem .75rem;
  background: color-mix(in oklch, var(--bg) 70%, var(--surface));
  font-size: .85rem; color: var(--ink-2);
}
.nav__links .nav__panel-foot a { display: inline-flex; align-items: center; gap: .35rem; padding: 0; font-weight: 600; color: var(--ink); background: none; white-space: nowrap; }

.nav__item--sm { position: relative; }
.nav__item--sm .nav__panel { top: calc(100% + 1.75rem); }
.nav__panel--areas { width: 27rem; padding: 1rem 1rem 0; }
.nav__panel--areas .nav__panel-foot { margin: 1rem -1rem 0; padding: .9rem 1.85rem; }
.nav__panel-foot span { text-wrap: balance; }
.nav__links .nav__panel-col .nav__area { display: flex; flex-direction: column; gap: .2rem; width: auto; margin: 0; padding: .7rem .85rem; border-radius: .375rem; }
.nav__area strong { font-weight: 600; color: var(--ink); }
.nav__area span { font-size: .78rem; line-height: 1.4; color: var(--ink-3); }

.nav__phone { display: inline-flex; align-items: center; gap: .45rem; font-size: .9rem; font-weight: 500; white-space: nowrap; font-variant-numeric: tabular-nums; }
.nav__phone svg { color: var(--accent); }
.burger { display: none; }

/* Mobile menu overlay */
.menu {
  position: fixed; inset: 0; z-index: 40;
  overflow-y: auto; overscroll-behavior: contain;
  display: flex; flex-direction: column; justify-content: space-between;
  padding: calc(var(--nav-h) + 3rem) var(--gutter) 2.5rem;
  background: color-mix(in oklch, var(--bg) 86%, transparent);
  -webkit-backdrop-filter: blur(28px) saturate(1.3);
  backdrop-filter: blur(28px) saturate(1.3);
  opacity: 0;
  transition: opacity .6s var(--ease), display .6s allow-discrete, overlay .6s allow-discrete;
}
.menu[hidden] { display: none; }
.menu.is-open { opacity: 1; }
@starting-style { .menu.is-open { opacity: 0; } }
.menu__links { display: flex; flex-direction: column; gap: .3rem; }
.menu__links > a, .menu__group, .menu__foot {
  opacity: 0;
  transform: translateY(2.5rem);
  transition: opacity .7s var(--ease), transform .8s var(--ease);
  transition-delay: calc(var(--i) * 55ms + 80ms);
}
.menu__links > a, .menu__group summary { font-family: var(--font-serif); font-weight: 500; letter-spacing: -0.012em; font-size: clamp(2rem, 8vw, 2.75rem); line-height: 1.2; }
.menu.is-open .menu__links > a, .menu.is-open .menu__group, .menu.is-open .menu__foot { opacity: 1; transform: none; }
@starting-style { .menu.is-open .menu__links > a, .menu.is-open .menu__group, .menu.is-open .menu__foot { opacity: 0; transform: translateY(2.5rem); } }
.menu__group summary { display: flex; align-items: center; gap: .5rem; list-style: none; cursor: pointer; }
.menu__group summary::-webkit-details-marker { display: none; }
.menu__group[open] .nav__chev { transform: rotate(180deg); }
.menu__sub { display: grid; gap: 1.25rem; padding: .75rem 0 1.25rem; }
.menu__sub > div { display: flex; flex-direction: column; gap: .15rem; }
.menu__sub a { padding-block: .3rem; font-size: 1rem; color: var(--ink-2); }
.menu__sub .menu__sub-head { font-size: .72rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--accent-ink); }
.menu__foot { display: flex; flex-direction: column; gap: .4rem; color: var(--ink-2); font-size: .9rem; }
.menu__foot a { display: inline-flex; align-items: center; gap: .5rem; font-size: 1.15rem; color: var(--ink); }

/* ---------- Sections ---------- */
.section { padding-block: var(--section); }
.section--tint { background: var(--bg-tint); }
.section--dark { background: var(--dark); color: var(--on-dark); }
.section:not(.section--tint, .section--dark) + .section:not(.section--tint, .section--dark) { border-top: 1px solid var(--line); }
.section--dark .section-head__text { color: var(--on-dark-2); }

.section-head { max-width: 46rem; margin-bottom: clamp(3rem, 6vw, 5rem); }
.section-head__text { margin-top: 2rem; color: var(--ink-2); max-width: 54ch; text-wrap: pretty; font-size: 1.05rem; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  isolation: isolate;
  min-height: 100dvh;
  display: flex; flex-direction: column; justify-content: flex-end;
  padding-top: calc(var(--nav-h) + clamp(2rem, 8vh, 6rem));
  padding-bottom: clamp(1.5rem, 3vw, 2.5rem);
  background: var(--dark);
  color: var(--on-dark);
}
.hero__bg { position: absolute; inset: 0; z-index: -1; overflow: hidden; }
.hero__bg img, .hero__bg canvas { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero__bg::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(90deg, color-mix(in oklch, var(--dark) 82%, transparent) 0%, color-mix(in oklch, var(--dark) 55%, transparent) 45%, color-mix(in oklch, var(--dark) 10%, transparent) 85%),
    linear-gradient(0deg, color-mix(in oklch, var(--dark) 75%, transparent), transparent 45%);
}
/* Scroll walkthrough: the hero holds still while scrolling steps through real camera moves in
   finished rooms, then scrolls away with the page. main.js adds .is-3d and drives --copy and --p. */
.hero__rooms { display: none; }
.hero-track.is-3d { --copy: 0; --p: 0; }
.hero-track.is-3d::after { content: ""; display: block; height: 280vh; }
/* The page follows the hero rather than sliding over it: nothing sits underneath the content,
   so a tile the browser paints late can never show the room through it */
.hero-track.is-3d + .sheet {
  position: relative; z-index: 1;
  margin-top: calc(var(--r-xl) * -1);
  background: var(--bg);
  border-radius: var(--r-xl) var(--r-xl) 0 0;
}
.is-3d .hero {
  position: sticky; top: var(--hero-stick, 0px);
  min-height: 100svh;
  overflow: clip;
}
.is-3d .hero__bg::after { opacity: calc(1 - var(--copy)); }
.is-3d .hero__bg::before {
  content: ""; position: absolute; inset: auto 0 0; height: 30%; z-index: 1;
  background: linear-gradient(0deg, color-mix(in oklch, var(--dark) 62%, transparent), transparent);
  opacity: var(--copy);
}
.is-3d .hero > .container {
  transform: translateY(calc(var(--copy) * -5vh));
  opacity: calc(1 - var(--copy));
}
.is-3d.is-past .hero > .container { visibility: hidden; }
.is-3d .hero__rooms {
  display: block; position: absolute;
  left: max(var(--gutter), calc((100% - 1360px) / 2 + var(--gutter)));
  bottom: clamp(1.5rem, 5vh, 3rem);
  height: 1.6em; width: min(22rem, 70vw);
  margin: 0; padding: 0; list-style: none;
  color: var(--on-dark); font-size: .95rem; font-weight: 500; letter-spacing: .01em;
  opacity: calc(var(--copy) * 3 - 2);
}
.is-3d .hero__rooms::after {
  content: ""; position: absolute; inset: auto 0 -.7rem; height: 1px;
  background: currentColor; transform: scaleX(var(--p)); transform-origin: 0 50%;
}
.hero__rooms li {
  position: absolute; inset: 0; white-space: nowrap;
  opacity: 0; transform: translateY(.4rem);
  transition: opacity .5s var(--ease-out), transform .5s var(--ease-out);
}
.hero__rooms li.is-on { opacity: 1; transform: none; }
.hero__copy { max-width: 42rem; }
.hero__title { font-size: clamp(2.6rem, min(5vw, 7.4vh), 4.5rem); margin-bottom: 1.5rem; }
.hero__title em { display: block; margin-top: .35em; font-size: .52em; line-height: 1.2; color: var(--accent-light); }
.hero__eyebrow { color: var(--on-dark); }
.hero .lede { color: color-mix(in oklch, var(--on-dark) 86%, transparent); }
.hero__actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: clamp(1.5rem, 3.2vh, 2.25rem); }
.hero__proof { display: flex; align-items: center; gap: .75rem; margin-top: clamp(1rem, 2.4vh, 1.75rem); font-size: .9rem; color: var(--on-dark-2); }
.hero__proof a { color: var(--on-dark); border-bottom: 1px solid var(--line-dark); }
.hero__proof { flex-wrap: wrap; }
.hero__watch {
  display: inline-flex; align-items: center; gap: .55rem;
  color: var(--on-dark); font-weight: 500;
}
.hero__watch-icon {
  display: grid; place-items: center; width: 1.9rem; height: 1.9rem; border-radius: 50%;
  background: color-mix(in oklch, var(--on-dark) 14%, transparent);
  box-shadow: inset 0 0 0 1px color-mix(in oklch, var(--on-dark) 25%, transparent);
  font-size: .75rem;
  transition: transform .5s var(--ease), background-color .5s var(--ease);
}
.hero__watch:hover .hero__watch-icon { transform: scale(1.1); background: color-mix(in oklch, var(--on-dark) 24%, transparent); }

.btn--on-dark { --btn-fg: var(--on-dark); --btn-icon: color-mix(in oklch, var(--on-dark) 10%, transparent); box-shadow: inset 0 0 0 1px color-mix(in oklch, var(--on-dark) 30%, transparent); }
.btn--on-dark:hover { --btn-bg: color-mix(in oklch, var(--on-dark) 10%, transparent); }

.stars { display: inline-flex; gap: .1rem; color: var(--accent); }
.stars svg { fill: currentColor; stroke: none; width: .95rem; height: .95rem; }

.trust {
  list-style: none; padding: 0;
  display: grid; grid-template-columns: repeat(4, 1fr);
  margin-top: clamp(1.5rem, 4vh, 3.5rem);
  border-top: 1px solid var(--line-dark);
}
.trust li {
  padding: clamp(1rem, 2vh, 1.5rem) 1.5rem 0 0;
  font-size: .92rem; line-height: 1.35;
}
.trust strong { display: block; font-family: var(--font-serif); font-weight: 500; font-size: clamp(1.45rem, 2vw, 1.8rem); line-height: 1.1; letter-spacing: -0.01em; }
.trust li + li { padding-left: 1.5rem; border-left: 1px solid var(--line-dark); }
.trust small { display: block; color: var(--on-dark-2); font-size: .82rem; margin-top: .35rem; }

.vcard__media img[src*="stories/brian"] { scale: 1.2; }

/* ---------- Marquee ---------- */
.marquee {
  overflow: hidden;
  padding-block: 1.25rem;
  border-block: 1px solid var(--line);
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.marquee__track {
  display: flex; align-items: center; gap: 2.25rem;
  width: max-content;
  animation: marquee 48s linear infinite;
}
.marquee span { font-family: var(--font-display); font-weight: 600; font-size: clamp(1.05rem, 1.4vw, 1.25rem); white-space: nowrap; color: var(--ink-2); }
.marquee span:nth-of-type(3n+2) { color: var(--accent-ink); }
.marquee i { width: .55rem; height: .55rem; rotate: 45deg; background: var(--accent); opacity: .7; flex: none; }
@keyframes marquee { to { transform: translateX(calc(-50% - 1.125rem)); } }

/* ---------- Service areas ---------- */
.areas { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.25rem; }
.areas:has(> :nth-child(3):last-child) { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 1280px) { .areas, .areas:has(> :nth-child(3):last-child) { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.area p + .link-arrow { margin-top: auto; }
.area .bezel__core { height: 100%; padding: clamp(1.5rem, 2.5vw, 2rem); display: flex; flex-direction: column; gap: .75rem; }
.area__icon { display: none; }
.area h3 { font-family: var(--font-serif); font-weight: 500; font-size: 1.75rem; line-height: 1.1; letter-spacing: -0.012em; }
.area p { color: var(--ink-2); font-size: .95rem; text-wrap: pretty; }
.area ul { display: flex; flex-wrap: wrap; gap: .3rem 1.1rem; margin-top: auto; padding: .75rem 0 0; list-style: none; }
.area li { font-size: .9rem; color: var(--ink-2); }

/* ---------- Services bento ---------- */
.bento {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  grid-auto-rows: minmax(15rem, auto);
  gap: 1rem;
}
.bento__item--a { grid-column: span 7; grid-row: span 2; }
.bento__item--b { grid-column: span 5; }
.bento__item--c { grid-column: span 5; }
.bento__item--d { grid-column: span 4; }
.bento__item--e { grid-column: span 8; }

.card { position: relative; container-type: inline-size; }
.card h3 { font-family: var(--font-display); font-weight: 700; font-size: clamp(1.3rem, 1.7vw, 1.55rem); line-height: 1.15; letter-spacing: -0.02em; }
.card p { color: var(--ink-2); font-size: .95rem; margin-top: .6rem; max-width: 44ch; text-wrap: pretty; }

.card--image { min-height: 100%; isolation: isolate; }
.card--image img { position: absolute; inset: 0; z-index: -2; transition: transform 1.4s var(--ease); }
.bento__item:hover .card--image img { transform: scale(1.04); }
.card--image::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, transparent 20%, color-mix(in oklch, var(--dark) 45%, transparent) 55%, color-mix(in oklch, var(--dark) 90%, transparent));
}
.card__overlay { position: absolute; inset: auto 0 0; padding: clamp(1.5rem, 3vw, 2.5rem); color: var(--on-dark); }
.card__overlay p { color: color-mix(in oklch, var(--on-dark) 82%, transparent); }
.card__overlay .link-arrow { margin-top: 1.25rem; }
.bento__item--a .card--image { min-height: 34rem; }
.bento__item--e .card--image::after { display: none; }
.bento__item--b .card--image::after { background: linear-gradient(180deg, color-mix(in oklch, var(--dark) 15%, transparent), color-mix(in oklch, var(--dark) 88%, transparent) 75%); }
.card__chip { position: absolute; left: 1.25rem; bottom: 1.25rem; }

.tag {
  display: inline-block; margin-bottom: 1rem;
  padding: .3rem .75rem; border-radius: 999px;
  font-size: .68rem; letter-spacing: .18em; text-transform: uppercase; font-weight: 500;
  background: color-mix(in oklch, var(--on-dark) 16%, transparent);
  box-shadow: inset 0 0 0 1px color-mix(in oklch, var(--on-dark) 22%, transparent);
}

.card--paint, .card--consult { padding: clamp(1.75rem, 3vw, 2.5rem); display: flex; flex-direction: column; justify-content: flex-end; }
.swatches { display: flex; margin-bottom: auto; padding-bottom: 2rem; }
.swatches span {
  width: 4.25rem; height: 4.25rem; border-radius: 50%;
  background: var(--c);
  box-shadow: inset 0 0 0 1px color-mix(in oklch, var(--ink) 10%, transparent), 0 10px 20px -12px color-mix(in oklch, var(--ink) 50%, transparent);
  margin-right: -1.1rem;
  transition: transform .7s var(--ease);
}
.bento__item--c:hover .swatches span { transform: translateX(calc(var(--n, 0) * .35rem)); }
.swatches span:nth-child(2) { --n: 1; } .swatches span:nth-child(3) { --n: 2; }
.swatches span:nth-child(4) { --n: 3; } .swatches span:nth-child(5) { --n: 4; }

.card--consult { background: var(--ink); color: var(--on-dark); }
.card--consult p { color: var(--on-dark-2); }
.card--consult .btn { margin-top: 1.75rem; align-self: flex-start; --btn-bg: var(--on-dark); --btn-fg: var(--ink); --btn-icon: color-mix(in oklch, var(--ink) 9%, transparent); }
.card__kicker { font-family: var(--font-display); font-weight: 700; font-size: 2.5rem; line-height: .8; color: oklch(78% 0.07 65); margin-bottom: auto; padding-bottom: 2rem; }

@container (max-width: 22rem) {
  .card h3 { font-size: 1.4rem; }
}

/* ---------- Full service list ---------- */
.svc { margin-top: clamp(4rem, 8vw, 6rem); padding-top: clamp(2.5rem, 5vw, 3.5rem); border-top: 1px solid var(--line); }
.svc__head { display: flex; justify-content: space-between; align-items: end; gap: 1rem 3rem; flex-wrap: wrap; margin-bottom: 2.5rem; }
.svc__title { font-size: clamp(1.6rem, 2.6vw, 2.1rem); }
.svc__head p { color: var(--ink-2); max-width: 46ch; }
.svc__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; align-items: start; }
.svc__col { display: grid; gap: 1rem; }
.svc__group {
  padding: 1.75rem;
  border-radius: var(--r-xl);
  background: var(--surface);
  box-shadow: inset 0 0 0 1px var(--line);
}
.svc__group-title {
  display: flex; justify-content: space-between; align-items: baseline; gap: 1rem;
  padding-bottom: 1rem; margin-bottom: .25rem;
  border-bottom: 1px solid var(--line);
  font-size: 1.2rem; font-weight: 700; letter-spacing: -0.02em;
}
.svc__group-title span { font-size: .78rem; font-weight: 500; letter-spacing: 0; color: var(--ink-3); }
.svc__list { list-style: none; padding: 0; }
.svc__list li { padding-block: .9rem; scroll-margin-top: 7rem; }
.svc__list li + li { border-top: 1px solid var(--line); }
.svc__list strong { display: block; font-weight: 600; font-size: .98rem; }
.svc__list span { display: block; margin-top: .2rem; color: var(--ink-2); font-size: .9rem; line-height: 1.5; text-wrap: pretty; }
.svc__list li:target { animation: svc-flash 2.4s var(--ease-out); }
@keyframes svc-flash { from { background: color-mix(in oklch, var(--accent) 14%, transparent); } }

/* ---------- Videos ---------- */
.videos__projects { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.5rem; }
.vcard { display: flex; flex-direction: column; gap: 1rem; min-width: 0; }
.vcard__media { position: relative; aspect-ratio: 16 / 9; border-radius: var(--r-xl); overflow: hidden; background: var(--dark); box-shadow: inset 0 0 0 1px var(--line); }
.vcard__btn { position: absolute; inset: 0; display: block; width: 100%; padding: 0; border: 0; background: none; cursor: pointer; color: var(--on-dark); }
.vcard__btn img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease), filter .6s var(--ease); }
.vcard__btn::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, color-mix(in oklch, var(--dark) 55%, transparent), transparent 55%); }
.vcard__btn:hover img { transform: scale(1.04); }
.vcard__play {
  position: absolute; left: 50%; top: 50%; z-index: 1;
  display: grid; place-items: center; width: 4rem; height: 4rem; border-radius: 50%;
  translate: -50% -50%;
  background: color-mix(in oklch, var(--surface) 82%, transparent);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  box-shadow: inset 0 0 0 1px oklch(100% 0 0 / .6), var(--shadow-soft);
  color: var(--ink); font-size: 1.2rem;
  transition: transform .6s var(--ease);
}
.vcard__play svg { margin-left: .15rem; }
.vcard--sm .vcard__play { width: 3rem; height: 3rem; font-size: .95rem; }
.vcard__btn:hover .vcard__play { transform: scale(1.08); }
.vcard__time { position: absolute; right: .75rem; bottom: .65rem; z-index: 1; font-size: .78rem; font-weight: 600; font-variant-numeric: tabular-nums; }
.vcard__media iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.vcard__tag { font-size: .7rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--accent-ink); }
.vcard__body h3 { margin-top: .25rem; font-family: var(--font-serif); font-size: 1.4rem; font-weight: 500; letter-spacing: -0.012em; line-height: 1.15; }
.vcard__body p { margin-top: .35rem; color: var(--ink-2); font-size: .92rem; max-width: 52ch; text-wrap: pretty; }
.vcard--sm .vcard__body h3 { font-size: 1.15rem; font-weight: 500; }
.vcard__body .link-arrow { margin-top: .85rem; }
.vcard__body h3 a, .svc__list strong a, .tile figcaption strong a { transition: color .4s var(--ease); }
.vcard__body h3 a:hover, .svc__list strong a:hover, .tile figcaption strong a:hover { color: var(--accent-ink); }
.area .link-arrow { align-self: flex-start; margin-top: .5rem; display: block; width: fit-content; text-wrap: balance; border-bottom: 0; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: .3em; }
.area .link-arrow svg { vertical-align: -.1em; margin-left: .3rem; }
.videos__more { margin-top: 2rem; }
.videos__grid { width: 100%; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.25rem; }

/* ---------- Material (dark) ---------- */
.material {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
  gap: clamp(3rem, 6vw, 6rem);
  align-items: center;
}
.material__media figure .bezel__core { aspect-ratio: 4 / 4.6; }
.material__media img { object-position: 50% 50%; }
.material__media figcaption { padding: .8rem .6rem .3rem; font-size: .82rem; color: var(--on-dark-2); }
.material__text { margin-top: 1.5rem; color: var(--on-dark-2); font-size: 1.05rem; max-width: 50ch; text-wrap: pretty; }

.stats { display: grid; grid-template-columns: 1fr 1fr; margin-top: 3rem; border-top: 1px solid var(--line-dark); }
.stats > div { padding: 1.75rem 1.5rem 1.75rem 0; border-bottom: 1px solid var(--line-dark); }
.stats > div:nth-child(even) { padding-left: 1.5rem; border-left: 1px solid var(--line-dark); }
.stats dt { font-family: var(--font-serif); font-weight: 500; font-size: clamp(2.1rem, 3vw, 2.75rem); line-height: 1; letter-spacing: -0.012em; font-variant-numeric: tabular-nums; }
.stats dt span { font-size: .5em; color: oklch(78% 0.07 65); margin-left: .05em; }
.stats dd { margin-top: .5rem; color: var(--on-dark-2); font-size: .9rem; }

/* Why choose us: six reasons on hairlines */
.why { display: grid; grid-template-columns: 1fr 1fr; column-gap: 2rem; margin-top: 2.5rem; border-top: 1px solid var(--line-dark); }
.why > div { padding-block: 1.25rem; border-bottom: 1px solid var(--line-dark); }
.why dt { font-family: var(--font-serif); font-weight: 500; font-size: 1.3rem; line-height: 1.2; color: var(--on-dark); text-wrap: balance; }
.why dd { margin-top: .4rem; color: var(--on-dark-2); font-size: .92rem; text-wrap: pretty; }

/* ---------- Specialties ---------- */
.section-head--split { max-width: none; display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 1.5rem 4rem; align-items: end; }
.section-head--split .section-head__text { margin-top: 0; }
.specialties { display: grid; gap: clamp(4rem, 8vw, 7rem); }
.specialty { scroll-margin-top: 7rem; }
.specialty__title { font-size: clamp(1.9rem, 3vw, 2.6rem); }
.specialty__intro { margin-top: 1rem; font-size: 1.1rem; color: var(--ink-2); max-width: 46ch; text-wrap: pretty; }
.specialty .checks { margin-top: 1.5rem; }
.specialty__note { margin-top: 1.5rem; color: var(--ink); font-weight: 500; max-width: 48ch; }
.specialty .btn { margin-top: 1.75rem; }

/* ---------- More services ---------- */
.more { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); column-gap: 2.5rem; border-top: 1px solid var(--line-strong); }
.more li { padding-block: 1.4rem; border-bottom: 1px solid var(--line-strong); scroll-margin-top: 7rem; }
.more strong { display: block; font-weight: 600; line-height: 1.35; }
.more strong a { border-bottom: 1px solid var(--accent); }
.more span { display: block; margin-top: .35rem; color: var(--ink-2); font-size: .92rem; }
.more__note { margin-top: 2rem; color: var(--ink-2); }

/* ---------- Process ---------- */
.process {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr);
  gap: clamp(3rem, 8vw, 8rem);
}
.process__sticky { position: sticky; top: 8rem; }
.process__sticky .btn { margin-top: 2.25rem; }

.steps { list-style: none; padding: 0; counter-reset: s; }
.step {
  display: grid; grid-template-columns: 4.5rem 1fr; gap: 1.25rem;
  padding: 2.5rem 0;
  border-top: 1px solid var(--line);
}
.step:last-child { border-bottom: 1px solid var(--line); }
.step__num {
  font-family: var(--font-serif); font-weight: 500; font-size: 1.6rem; line-height: 1;
  color: var(--ink-3);
  transition: color .7s var(--ease);
}
.step h3 { font-family: var(--font-serif); font-weight: 500; font-size: clamp(1.45rem, 2vw, 1.75rem); line-height: 1.15; letter-spacing: -0.012em; color: var(--ink-3); transition: color .7s var(--ease); }
.step p { margin-top: .6rem; color: var(--ink-3); max-width: 48ch; transition: color .7s var(--ease); }
.step.is-active .step__num { color: var(--accent); }
.step.is-active h3 { color: var(--ink); }
.step.is-active p { color: var(--ink-2); }

/* ---------- Collections rail ---------- */
.collections__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 2rem; margin-bottom: clamp(2.5rem, 5vw, 4rem); }
.collections__head > div:first-child { max-width: 46rem; }
.collections__nav { display: flex; gap: .6rem; }

.rail {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: clamp(17rem, 30vw, 25rem);
  gap: 1.25rem;
  overflow: auto hidden; /* x only: a vertical scroller here would catch the page's wheel */
  scroll-snap-type: x mandatory;
  scroll-padding-inline: max(var(--gutter), calc((100vw - 1360px) / 2 + var(--gutter)));
  padding-inline: max(var(--gutter), calc((100vw - 1360px) / 2 + var(--gutter)));
  padding-bottom: 1rem;
  scrollbar-width: none;
  overscroll-behavior-x: contain;
}
.rail::-webkit-scrollbar { display: none; }
.tile { scroll-snap-align: start; }
.tile .bezel__core { aspect-ratio: 4 / 5; }
.tile img { transition: transform 1.4s var(--ease); }
.tile:hover img { transform: scale(1.05); }
.tile figcaption { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; padding: 1.1rem 0 0; }
.tile figcaption strong { font-family: var(--font-serif); font-weight: 500; font-size: 1.35rem; line-height: 1.1; letter-spacing: -0.012em; }
.tile figcaption span { color: var(--ink-3); font-size: .85rem; text-align: right; }

.tile--cta { display: block; }
.tile--cta__inner {
  display: flex; flex-direction: column; justify-content: space-between;
  aspect-ratio: 4 / 5;
  padding: 2rem;
  border-radius: var(--r-xl);
  background: var(--ink); color: var(--on-dark);
  transition: transform .7s var(--ease);
}
.tile--cta:hover .tile--cta__inner { transform: translateY(-4px); }
.tile--cta .display { font-size: clamp(1.5rem, 2vw, 1.8rem); }
.tile--cta .link-arrow { align-self: flex-start; }

/* ---------- Reviews ---------- */
.reviews { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 1rem; }
.review--feature .bezel__core {
  display: flex; flex-direction: column; gap: 2rem; justify-content: flex-start;
  padding: clamp(2rem, 4.5vw, 3.75rem);
}
.review--feature blockquote { margin-block: auto; font-weight: 500; font-size: clamp(1.35rem, 2vw, 1.8rem); line-height: 1.35; letter-spacing: -0.015em; }
.reviews__stack { display: grid; gap: 1rem; }
.review:not(.review--feature) {
  padding: 1.75rem;
  border-radius: var(--r-xl);
  box-shadow: inset 0 0 0 1px var(--line);
  display: flex; flex-direction: column; justify-content: space-between; gap: 1.25rem;
}
.review blockquote { text-wrap: pretty; }
.review:not(.review--feature) blockquote { color: var(--ink-2); font-size: .98rem; }
.review figcaption { display: flex; align-items: center; gap: .8rem; line-height: 1.25; }
.review figcaption small { display: block; color: var(--ink-3); font-size: .82rem; }
.review figcaption strong { font-weight: 600; font-size: .92rem; }

.avatar {
  display: grid; place-items: center;
  width: 2.6rem; height: 2.6rem; border-radius: 50%;
  font-family: var(--font-display); font-weight: 700; font-size: .95rem; letter-spacing: .02em;
  color: var(--accent-ink);
  background: radial-gradient(circle at 30% 25%, oklch(97% 0.01 80), oklch(87% 0.025 70));
  box-shadow: inset 0 0 0 1px color-mix(in oklch, var(--accent) 22%, transparent);
  flex: none;
}
.avatar--lg { width: 3.4rem; height: 3.4rem; font-size: 1.35rem; }

.reviews__links { display: flex; flex-wrap: wrap; gap: 1.25rem 2.5rem; margin-top: 2.5rem; }

/* ---------- Contact ---------- */
.contact {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
  gap: clamp(3rem, 7vw, 7rem);
  align-items: start;
}
.people { display: grid; gap: .75rem; margin-top: 2.75rem; }
.person .bezel__core { display: flex; align-items: center; gap: 1rem; padding: .8rem .8rem .8rem .9rem; transition: background-color .5s var(--ease); }
.person:hover .bezel__core { background: oklch(100% 0 0); }
.person__info { line-height: 1.3; margin-right: auto; }
.person__info strong { display: block; font-weight: 600; }
.person__info small { color: var(--ink-3); font-size: .85rem; }
.person__phone { display: inline-flex; align-items: center; gap: .75rem; font-weight: 500; font-variant-numeric: tabular-nums; white-space: nowrap; }
.person__phone .btn__icon { background: var(--ink); color: var(--bg); }
.person:hover .btn__icon { transform: rotate(-12deg) scale(1.06); }

.form { padding: clamp(1.5rem, 3.5vw, 2.75rem); display: grid; gap: 1.4rem; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.4rem; }
.field { display: grid; gap: .5rem; border: 0; padding: 0; min-width: 0; }
.field label, .field legend { font-size: .85rem; font-weight: 500; color: var(--ink); padding: 0; }
.field legend { margin-bottom: .5rem; }
.field__opt { color: var(--ink-3); font-weight: 400; margin-left: .3rem; }
.field input, .field textarea {
  width: 100%;
  padding: .85rem 1rem;
  border: 0;
  border-radius: .375rem;
  background: var(--bg);
  box-shadow: inset 0 0 0 1px var(--line), inset 0 1px 2px color-mix(in oklch, var(--ink) 5%, transparent);
  transition: box-shadow .4s var(--ease), background-color .4s var(--ease);
  resize: vertical;
}
.field input:focus, .field textarea:focus {
  outline: none;
  background: var(--surface);
  box-shadow: inset 0 0 0 1.5px var(--accent), 0 0 0 4px color-mix(in oklch, var(--accent) 14%, transparent);
}
.field textarea::placeholder { color: var(--ink-3); }
.field__error { display: none; font-size: .8rem; color: oklch(52% 0.15 30); }
.field.is-invalid input { box-shadow: inset 0 0 0 1.5px oklch(58% 0.15 30); }
.field.is-invalid .field__error { display: block; }

.chips { display: flex; flex-wrap: wrap; gap: .5rem; }
.chip { position: relative; cursor: pointer; }
.chip input { position: absolute; opacity: 0; pointer-events: none; }
.chip span {
  display: inline-flex; align-items: center; gap: .4rem;
  padding: .55rem 1rem; border-radius: 999px;
  font-size: .88rem;
  background: var(--bg);
  box-shadow: inset 0 0 0 1px var(--line);
  transition: background-color .4s var(--ease), color .4s var(--ease), transform .4s var(--ease);
}
.chip:active span { transform: scale(.96); }
.chip:has(input:checked) span { background: var(--ink); color: var(--bg); box-shadow: none; }
.chip:has(input:focus-visible) span { outline: 2px solid var(--accent); outline-offset: 2px; }

.btn.is-loading { pointer-events: none; }
.btn.is-loading .btn__icon { animation: spin-soft 1s var(--ease) infinite; }
@keyframes spin-soft { to { rotate: 360deg; } }

.form__status { font-size: .9rem; min-height: 1.4em; color: var(--ink-2); }
.form__status.is-error { color: oklch(50% 0.14 30); }
.form__status a { border-bottom: 1px solid currentColor; }

.form.is-sent > :not(.form__status) { display: none; }
.form.is-sent .form__status {
  display: grid; place-items: center; text-align: center; gap: 1rem;
  padding: 4rem 1rem; color: var(--ink);
}
.form__success-icon { display: grid; place-items: center; width: 3.5rem; height: 3.5rem; border-radius: 50%; background: var(--ink); color: var(--bg); font-size: 1.5rem; }
.form__success-title { font-family: var(--font-display); font-weight: 700; font-size: 1.75rem; line-height: 1.1; letter-spacing: -0.02em; }

/* ---------- Footer ---------- */
.footer { background: var(--dark); color: var(--on-dark); padding-top: clamp(3.5rem, 7vw, 5rem); }
/* ---------- Inner pages: the closing estimate ask as a bright card over his work, in his words ---------- */
.footer__cta {
  position: relative; isolation: isolate; overflow: hidden;
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: stretch; justify-content: normal; gap: 0;
  padding: 0; border-radius: var(--r-xl);
  background: var(--surface); color: var(--ink);
  box-shadow: 0 40px 80px -40px oklch(0% 0 0 / .7);
}
.footer__cta-media { position: relative; min-height: 18rem; }
.footer__cta-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.footer__cta-body { padding: clamp(1.75rem, 4vw, 3.25rem); display: flex; flex-direction: column; justify-content: center; }
.footer__cta-kicker { font-size: .72rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--accent-ink); }
.footer__cta-title { margin-top: .9rem; font-family: var(--font-serif); font-weight: 500; font-size: clamp(1.9rem, 3vw, 2.6rem); line-height: 1.08; letter-spacing: -0.012em; text-wrap: balance; }
.footer__cta-body > p:not(.footer__cta-kicker):not(.footer__cta-lic) { margin-top: .9rem; color: var(--ink-2); max-width: 46ch; }
.footer__cta-actions { margin-top: 1.75rem; }
.footer__cta .btn--light { --btn-bg: var(--ink); --btn-fg: var(--bg); --btn-icon: color-mix(in oklch, var(--bg) 14%, transparent); }
.footer__cta .btn--ghost-dark { --btn-fg: var(--ink); box-shadow: inset 0 0 0 1px var(--line-strong); }
.footer__cta .btn--ghost-dark:hover { --btn-bg: color-mix(in oklch, var(--ink) 5%, transparent); }
.footer__cta-lic { margin-top: 1.5rem; padding-top: 1.1rem; border-top: 1px solid var(--line); font-size: .7rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--ink-3); }
@media (max-width: 767px) {
  .footer__cta { grid-template-columns: minmax(0, 1fr); }
  .footer__cta-media { min-height: 0; width: 100%; aspect-ratio: 16 / 10; }
}
.footer__cta-actions { display: flex; flex-wrap: wrap; gap: .75rem; }
/* The homepage ends on its own estimate form, so the footer doesn't repeat the ask */
body:has(main #contact) .footer__cta { display: none; }
.btn--ghost-dark { --btn-bg: transparent; --btn-fg: var(--on-dark); box-shadow: inset 0 0 0 1px var(--line-dark); padding-right: 1.5rem; }
.btn--ghost-dark:hover { --btn-bg: color-mix(in oklch, var(--on-dark) 6%, transparent); }

.footer__cols { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr .7fr; gap: 2.5rem; padding-block: 3.5rem; }
.footer .brand__mark { fill: var(--on-dark); --mark-accent: oklch(72% 0.08 62); }
.footer .brand__amp { color: oklch(78% 0.07 65); }
.footer__brand p { margin-top: 1rem; color: var(--on-dark-2); font-size: .92rem; max-width: 42ch; }
.footer__cols h3 { font-size: .7rem; font-weight: 500; letter-spacing: .2em; text-transform: uppercase; color: var(--on-dark-2); margin-bottom: 1rem; }
.footer__cols > div:not(.footer__brand) a, .footer__cols > div:not(.footer__brand) span { display: block; width: fit-content; padding-block: .25rem; font-size: .95rem; color: color-mix(in oklch, var(--on-dark) 88%, transparent); }
.footer__cols a { transition: color .4s var(--ease); }
.footer__cols > div:not(.footer__brand) a:hover { color: oklch(100% 0 0); }
.footer__base { display: flex; justify-content: space-between; gap: .5rem 1rem; flex-wrap: wrap; padding-block: 1.5rem 2rem; border-top: 1px solid var(--line-dark); font-size: .85rem; color: var(--on-dark-2); }

/* ==========================================================================
   Inner pages: service, region and project pages
   ========================================================================== */
.crumbs { display: flex; flex-wrap: wrap; gap: .45rem; list-style: none; padding: 0; margin-bottom: 1.75rem; font-size: .85rem; color: var(--ink-3); }
.crumbs li + li::before { content: "/"; margin-right: .45rem; color: var(--ink-3); }
.crumbs a { color: var(--ink-2); border-bottom: 1px solid var(--line-strong); transition: color .4s var(--ease); }
.crumbs a:hover { color: var(--ink); }

/* Page heroes: plain, split (copy + photo) and cover (photo behind, dark) */
.page-hero { padding-top: calc(var(--nav-h) + clamp(4rem, 9vw, 7rem)); padding-bottom: clamp(3rem, 6vw, 5rem); }
.page-hero__title { font-size: clamp(2.3rem, 4.6vw, 4rem); max-width: 20ch; }
.page-hero__where { display: block; margin-top: .5em; font-size: .4em; line-height: 1.3; color: var(--ink-2); }
.page-hero .lede { margin-top: 1.5rem; }
.page-hero__actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 2.25rem; }
.page-hero--split .container { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: clamp(2.5rem, 6vw, 5.5rem); align-items: center; }
.page-hero__media .bezel__core { aspect-ratio: 4 / 3.2; }
.page-hero__media figcaption { padding: .75rem .5rem 0; font-size: .82rem; color: var(--ink-3); }

.page-hero--cover {
  position: relative; isolation: isolate;
  min-height: min(88dvh, 52rem);
  display: flex; flex-direction: column; justify-content: flex-end;
  background: var(--dark); color: var(--on-dark);
}
.page-hero--cover > img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; filter: brightness(.82); }
.page-hero--cover::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(0deg, color-mix(in oklch, var(--dark) 92%, transparent) 8%, color-mix(in oklch, var(--dark) 50%, transparent) 55%, color-mix(in oklch, var(--dark) 72%, transparent));
}
.page-hero--cover .crumbs, .page-hero--cover .crumbs li + li::before { color: var(--on-dark-2); }
.page-hero--cover .crumbs a { color: var(--on-dark); border-color: var(--line-dark); }
.page-hero--cover .eyebrow { color: var(--accent-light); }
.page-hero--cover .lede { color: color-mix(in oklch, var(--on-dark) 86%, transparent); }

/* Project facts strip */
.facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(11rem, 1fr)); margin-top: clamp(2.5rem, 5vw, 3.5rem); border-top: 1px solid var(--line); }
.facts > div { padding: 1.25rem 1.25rem 0 0; }
.facts > div + div { padding-left: 1.25rem; border-left: 1px solid var(--line); }
.facts dt { font-size: .7rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--ink-3); }
.facts dd { margin-top: .35rem; font-weight: 500; line-height: 1.4; }
.page-hero--cover .facts { border-color: var(--line-dark); }
.page-hero--cover .facts > div + div { border-color: var(--line-dark); }
@media (max-width: 900px) and (min-width: 768px) {
  .facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .facts > div:nth-child(odd) { padding-left: 0; border-left: 0; }
  .facts > div:nth-child(n+3) { border-top: 1px solid var(--line); margin-top: 1.25rem; }
  .page-hero--cover .facts > div:nth-child(n+3) { border-top-color: var(--line-dark); }
}
.page-hero--cover .facts dt { color: var(--on-dark-2); }

/* Long-form copy */
.prose { max-width: 65ch; }
.prose > * + * { margin-top: 1.1rem; }
.prose h2 { font-family: var(--font-serif); font-weight: 500; font-size: clamp(2rem, 3.2vw, 2.75rem); line-height: 1.08; letter-spacing: -0.012em; text-wrap: balance; margin-top: 2.75rem; }
.prose h2:first-child { margin-top: 0; }
.prose .eyebrow { color: var(--accent-ink); }
.section--dark .prose .eyebrow { color: var(--accent-light); }
.prose .eyebrow + h2 { margin-top: 0; }
.prose h3 { font-weight: 700; font-size: 1.15rem; letter-spacing: -0.015em; margin-top: 2rem; }
.prose p, .prose li { color: var(--ink-2); text-wrap: pretty; }
.prose strong { color: var(--ink); font-weight: 600; }
.prose ul, .prose ol { padding-left: 1.2rem; }
.prose ol { list-style: none; padding-left: 0; counter-reset: step; border-bottom: 1px solid var(--line); }
.prose ol > li { position: relative; counter-increment: step; margin-top: 0; padding: .75rem 0 .75rem 2.75rem; border-top: 1px solid var(--line); }
.prose ol > li::before { content: counter(step, decimal-leading-zero); position: absolute; left: 0; top: .8rem; font-family: var(--font-serif); font-size: 1.05rem; color: var(--accent-ink); font-variant-numeric: tabular-nums; }
.prose li + li { margin-top: .4rem; }
.prose a:not(.btn), .lede a { color: var(--ink); border-bottom: 1px solid var(--accent); }
.section--dark .prose p, .section--dark .prose li { color: var(--on-dark-2); }
.section--dark .prose strong, .section--dark .prose a { color: var(--on-dark); }
.section--dark .prose ol > li::before { color: var(--accent-light); }
.section--dark .prose ol, .section--dark .prose ol > li { border-color: var(--line-dark); }
.section--dark .gallery figcaption { color: var(--on-dark-2); }

.lead-in { font-size: clamp(1.15rem, 1.6vw, 1.35rem); line-height: 1.55; color: var(--ink); max-width: 58ch; text-wrap: pretty; }

/* Copy beside a photo */
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(2.5rem, 6vw, 6rem); align-items: center; }
.split--flip > :first-child { order: 2; }
.split--top { align-items: start; }
.photo .bezel__core, .pcard .bezel__core, .page-hero__media .bezel__core { height: auto; }
.photo .bezel__core { aspect-ratio: 4 / 3; }
.photo--tall .bezel__core { aspect-ratio: 4 / 5; }
.photo--wide .bezel__core { aspect-ratio: 16 / 9; }
.photo figcaption { padding: .75rem .5rem 0; font-size: .85rem; color: var(--ink-3); text-wrap: pretty; }
.section--dark .photo figcaption { color: var(--on-dark-2); }

/* Photo grid: first photo large, the rest fill in */
.gallery { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 1rem; }
.gallery > figure { grid-column: span 2; min-width: 0; }
.gallery > .gallery__lead { grid-column: span 4; grid-row: span 2; display: flex; flex-direction: column; }
.gallery > .gallery__half { grid-column: span 3; }
.gallery .bezel__core { aspect-ratio: 4 / 3; height: auto; }
.gallery > .gallery__lead .bezel { flex: 1; }
.gallery > .gallery__lead .bezel__core { aspect-ratio: auto; height: 100%; min-height: 20rem; }
.gallery figcaption { padding: .6rem .4rem 0; font-size: .82rem; color: var(--ink-3); }
.gallery > .gallery__lead figcaption { display: none; }

/* Quotes from the homeowner */
.pull { max-width: 52rem; margin-inline: auto; text-align: center; }
.pull blockquote { font-family: var(--font-serif); font-weight: 500; font-size: clamp(1.45rem, 2.6vw, 2.15rem); line-height: 1.3; letter-spacing: -0.012em; text-wrap: balance; }
.pull blockquote::before { content: "“"; display: block; font-size: 2.5em; line-height: 1; height: .5em; margin-bottom: .35em; color: var(--accent); }
.pull figcaption { display: flex; align-items: center; justify-content: center; text-align: left; gap: .8rem; margin-top: 2rem; line-height: 1.3; }
.pull figcaption strong { display: block; font-weight: 600; }
.pull figcaption small { color: var(--ink-3); font-size: .85rem; }
.section--dark .pull blockquote::before { color: var(--accent-light); }
.section--dark .pull figcaption small { color: var(--on-dark-2); }
.quote-inline { padding-left: 1.25rem; border-left: 2px solid var(--accent); font-family: var(--font-serif); font-size: 1.2rem; line-height: 1.45; color: var(--ink); }
.quote-inline cite { font-family: var(--font-sans); display: block; margin-top: .4rem; font-size: .85rem; font-style: normal; color: var(--ink-3); }

/* Check list */
.checks { list-style: none; padding: 0; display: grid; gap: .1rem; }
.checks li { display: grid; grid-template-columns: 1.5rem 1fr; gap: .6rem; padding-block: .7rem; border-bottom: 1px solid var(--line); color: var(--ink-2); }
.checks li svg { margin-top: .3rem; color: var(--accent); font-size: 1.05rem; }
.checks strong { color: var(--ink); font-weight: 600; }
.checks--cols { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 2.5rem; }

/* Numbered sequence (what happened, in order) */
.timeline { list-style: none; padding: 0; position: relative; display: grid; gap: 0; }
.timeline::before { content: ""; position: absolute; left: .55rem; top: .6rem; bottom: .6rem; width: 1px; background: var(--line-strong); }
.timeline li { position: relative; padding: 0 0 2.25rem 2.75rem; }
.timeline li:last-child { padding-bottom: 0; }
.timeline li::before { content: ""; position: absolute; left: 0; top: .35rem; width: 1.15rem; height: 1.15rem; border-radius: 50%; background: var(--bg); box-shadow: inset 0 0 0 1.5px var(--accent); }
.timeline li:last-child::before { background: var(--accent); }
.timeline__when { display: block; font-size: .7rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--accent-ink); }
.timeline h3 { margin-top: .3rem; font-family: var(--font-serif); font-weight: 500; font-size: 1.3rem; line-height: 1.2; letter-spacing: -0.01em; }
.timeline p { margin-top: .4rem; color: var(--ink-2); max-width: 56ch; text-wrap: pretty; }
.section--tint .timeline li::before { background: var(--bg-tint); }
.section--tint .timeline li:last-child::before { background: var(--accent); }

/* Side-by-side comparison */
.compare { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 1rem; }
.compare__col { padding: clamp(1.5rem, 3vw, 2.25rem); border-radius: var(--r-xl); box-shadow: inset 0 0 0 1px var(--line); }
.compare__col--pick { background: var(--ink); color: var(--on-dark); box-shadow: none; }
.compare__col h3 { font-family: var(--font-serif); font-weight: 500; font-size: 1.45rem; line-height: 1.15; letter-spacing: -0.01em; }
.compare__col > p { margin-top: .5rem; color: var(--ink-2); font-size: .95rem; }
.compare__col--pick > p { color: var(--on-dark-2); }
.compare__col ul { list-style: none; padding: 0; margin-top: 1.25rem; }
.compare__col li { padding-block: .65rem; border-top: 1px solid var(--line); font-size: .95rem; color: var(--ink-2); }
.compare__col--pick li { border-color: var(--line-dark); color: color-mix(in oklch, var(--on-dark) 88%, transparent); }

/* Tinted advice box */
.callout { padding: clamp(1.5rem, 3vw, 2.25rem); border-radius: var(--r-xl); background: var(--bg-tint); color: var(--ink); box-shadow: inset 0 0 0 1px var(--line); }
.section--tint .callout { background: var(--surface); }
.callout__label { font-size: .7rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--accent-ink); }
.callout h3 { margin-top: .5rem; font-family: var(--font-serif); font-weight: 500; font-size: 1.45rem; letter-spacing: -0.01em; line-height: 1.2; }
.callout p { margin-top: .6rem; color: var(--ink-2); text-wrap: pretty; }
a.callout { display: block; transition: transform .6s var(--ease), box-shadow .6s var(--ease); }
a.callout:hover { transform: translateY(-3px); box-shadow: inset 0 0 0 1px var(--line-strong), var(--shadow-soft); }
.section--dark .checks li { color: var(--on-dark-2); border-color: var(--line-dark); }
.section--dark .checks strong { color: var(--on-dark); }
.section--dark .checks li svg { color: var(--accent-light); }
.callouts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
.callouts:has(> :nth-child(4)) { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (max-width: 1080px) {
  .callouts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .callouts > :last-child:nth-child(odd) { grid-column: 1 / -1; }
}
@media (max-width: 767px) { .callouts, .callouts:has(> :nth-child(4)) { grid-template-columns: minmax(0, 1fr); } }
.callout .callout__label { color: var(--accent-ink); margin-top: 0; }
.section--dark .callout { background: var(--dark-2); color: var(--on-dark); box-shadow: inset 0 0 0 1px var(--line-dark); }
.section--dark .callout p { color: var(--on-dark-2); }
.section--dark .callout .callout__label { color: var(--accent-light); }

/* FAQ */
.faq { border-top: 1px solid var(--line); max-width: 52rem; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: 1.35rem 0; cursor: pointer; list-style: none; font-weight: 600; font-size: 1.05rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary svg { flex: none; color: var(--ink-3); transition: transform .4s var(--ease); }
.faq details[open] summary svg { transform: rotate(180deg); }
.faq details > div { padding: 0 0 1.5rem; color: var(--ink-2); max-width: 62ch; }
.faq details > div > * + * { margin-top: .75rem; }

/* Project cards */
.pcards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.5rem 1.25rem; }
.pcard { display: flex; flex-direction: column; gap: .9rem; }
.pcard .bezel__core { aspect-ratio: 16 / 10; }
.pcard img { transition: transform 1.2s var(--ease); }
.pcard:hover img { transform: scale(1.04); }
.pcard__tag { font-size: .7rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--accent-ink); }
.pcard h3 { margin-top: .2rem; font-family: var(--font-serif); font-weight: 500; font-size: 1.3rem; line-height: 1.2; letter-spacing: -0.01em; }
.pcard p { margin-top: .3rem; color: var(--ink-2); font-size: .92rem; text-wrap: pretty; }
.pcards--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }

/* Video embed on inner pages (reuses the homepage click-to-load card) */
.vframe { max-width: 60rem; }

.section-head--row { max-width: none; display: flex; justify-content: space-between; align-items: end; gap: 1rem 3rem; flex-wrap: wrap; }
.section-head--row > div { max-width: 46rem; }
.next-steps { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 2rem; }

@media (max-width: 1080px) {
  .pcards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 900px) {
  .page-hero--split .container, .split, .compare { grid-template-columns: 1fr; }
  .split--flip > :first-child { order: 0; }
  .gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .gallery > figure, .gallery > .gallery__half { grid-column: span 1; }
  .gallery > .gallery__lead { grid-column: 1 / -1; grid-row: auto; }
  .gallery > .gallery__lead .bezel__core { aspect-ratio: 4 / 3; min-height: 0; }
  .checks--cols { grid-template-columns: 1fr; }
}
@media (max-width: 767px) {
  .pcards, .pcards--2 { grid-template-columns: minmax(0, 1fr); }
  .gallery { grid-template-columns: minmax(0, 1fr); }
  .facts { grid-template-columns: 1fr 1fr; }
  .facts > div, .facts > div + div { padding: 1rem 0 0; border-left: 0; }
  .page-hero--cover { min-height: 0; padding-top: calc(var(--nav-h) + 12rem); }
}

/* ---------- Scroll reveal ---------- */
.js [data-reveal] {
  opacity: 0;
  transform: translateY(.9rem);
  transition: opacity .55s var(--ease-out), transform .7s var(--ease-out);
  transition-delay: calc(min(var(--i, 0), 3) * 60ms);
}
/* First-screen copy is visible from the first paint (it is the LCP); it only slides */
.js .hero [data-reveal], .js .page-hero [data-reveal] { opacity: 1; filter: none; }
.js .hero [data-reveal] { transform: none; }
.js [data-reveal].is-in { opacity: 1; transform: none; filter: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .nav__links, .nav__phone { display: none; }
  .burger {
    display: grid; place-items: center; position: relative;
    width: 3.1rem; height: 3.1rem; border: 0; border-radius: .5rem;
    background: color-mix(in oklch, var(--ink) 6%, transparent);
    cursor: pointer;
  }
  .burger span {
    position: absolute; width: 1.1rem; height: 1.5px; border-radius: 2px; background: var(--ink);
    transition: transform .6s var(--ease);
  }
  .burger span:first-child { transform: translateY(-3.5px); }
  .burger span:last-child { transform: translateY(3.5px); }
  .burger[aria-expanded="true"] span:first-child { transform: rotate(45deg); }
  .burger[aria-expanded="true"] span:last-child { transform: rotate(-45deg); }

  .bento__item--a { grid-column: span 12; grid-row: auto; }
  .bento__item--b, .bento__item--c { grid-column: span 6; }
  .bento__item--d { grid-column: span 5; }
  .bento__item--e { grid-column: span 7; }
  .bento__item--a .card--image { min-height: 28rem; }

  .footer__cols { grid-template-columns: repeat(4, 1fr); }
  .footer__brand { grid-column: 1 / -1; }
}

@media (max-width: 900px) {
  .svc__grid, .areas, .areas:has(> :nth-child(3):last-child) { grid-template-columns: 1fr; }
  .svc__col { display: contents; }
  #kitchen { order: 1; } #bathroom { order: 2; } #flooring { order: 3; } #whole-home { order: 4; } #painting { order: 5; } #windows { order: 6; }
  .videos__projects { grid-template-columns: 1fr; }
  .videos__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .material, .process, .contact, .reviews { grid-template-columns: 1fr; }
  .process__sticky { position: static; }
  .trust { grid-template-columns: 1fr 1fr; }
  .trust li:nth-child(3) { padding-left: 0; border-left: 0; }
  .section-head--split { grid-template-columns: 1fr; }
  .more { grid-template-columns: 1fr 1fr; }
  .material__media { order: 2; }
}

@media (max-width: 767px) {
  .nav { inset-block-start: .75rem; }
  .nav__island { padding-left: .9rem; gap: .5rem; }
  .brand { gap: .5rem; }
  .nav__cta { display: none; }
  /* Phones: the number becomes a tap-to-call button beside the menu */
  .nav__phone {
    display: flex; align-items: center; justify-content: center; flex: none;
    width: 2.75rem; height: 2.75rem; border-radius: .5rem;
    background: color-mix(in oklch, var(--accent) 14%, transparent);
    font-size: 0;
  }
  .nav__phone svg { width: 1.15rem; height: 1.15rem; color: var(--accent-ink); }
  .brand__name { font-size: 1.02rem; }

  /* Phones: a still photo, kept clear at the top; the copy sits on the darker lower half */
  .hero { min-height: 0; padding-top: calc(var(--nav-h) + 5.5rem); }
  .hero__bg::after { background: linear-gradient(0deg, color-mix(in oklch, var(--dark) 94%, transparent) 0%, color-mix(in oklch, var(--dark) 84%, transparent) 42%, color-mix(in oklch, var(--dark) 62%, transparent) 66%, color-mix(in oklch, var(--dark) 30%, transparent) 100%); }
  .hero__eyebrow, .hero__title em { text-shadow: 0 1px 12px color-mix(in oklch, var(--dark) 70%, transparent); }
  .hero__bg img { animation: hero-settle 18s var(--ease-out) both; }
  .hero__title { font-size: 2.4rem; }
  .hero__title em { font-size: .5em; }
  .hero .lede, .hero__proof { display: none; }
  .hero__actions { margin-top: 1.5rem; }

  .bento { grid-template-columns: 1fr; }
  .bento__item--a, .bento__item--b, .bento__item--c, .bento__item--d, .bento__item--e { grid-column: auto; }
  .bento__item--b .card--image, .bento__item--e .card--image { min-height: 20rem; }

  .trust { margin-top: 2rem; }
  .trust li, .trust li + li { padding: 1rem 1rem 1rem 0; border-left: 0; }
  .trust li:nth-child(even) { padding-left: 1rem; border-left: 1px solid var(--line-dark); }
  .trust li:nth-child(n+3) { border-top: 1px solid var(--line-dark); }
  .trust strong { font-size: 1.3rem; }

  .more, .why { grid-template-columns: 1fr; }

  /* Shorter phone page: project films and the smaller reviews swipe sideways (x only, so the page still scrolls) */
  .videos__projects, .reviews__stack {
    display: grid; grid-auto-flow: column; grid-auto-columns: 84%; grid-template-columns: none; gap: 1rem;
    overflow: auto hidden; scroll-snap-type: x mandatory; scrollbar-width: none;
    margin-inline: calc(var(--gutter) * -1); padding-inline: var(--gutter); scroll-padding-inline: var(--gutter);
  }
  .videos__projects > *, .reviews__stack > * { scroll-snap-align: start; }

  .stats > div { padding-right: 1rem; }
  .stats > div:nth-child(even) { padding-left: 1rem; }

  .step { grid-template-columns: 3rem 1fr; padding: 2rem 0; }
  .step__num { font-size: 1.5rem; }

  .collections__nav { display: none; }
  .rail { grid-auto-columns: 78vw; }

  .form__row { grid-template-columns: 1fr; }
  .person .avatar { display: none; }
  .person__phone { font-size: .9rem; }

  .footer__cols { grid-template-columns: 1fr 1fr; }
  .footer__contact { grid-column: 1 / -1; }
}

@keyframes hero-settle { from { transform: scale(1.08); } }

/* Very narrow phones: the header keeps the name and the menu; the hero carries the call button */
@media (max-width: 360px) { .nav__phone { display: none; } }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; transition-delay: 0s !important; }
  .js [data-reveal] { opacity: 1; transform: none; filter: none; }
  .marquee__track { animation: none; }
}

/* Video transcripts on project pages */
.transcript { max-width: 52rem; margin-top: 1.5rem; }
.transcript summary { display: inline-flex; align-items: center; gap: .5rem; cursor: pointer; list-style: none; font-weight: 600; }
.transcript summary::-webkit-details-marker { display: none; }
.transcript summary svg { width: 1.1rem; height: 1.1rem; fill: none; stroke: currentColor; stroke-width: 1.5; transition: transform .4s var(--ease); }
.transcript[open] summary svg { transform: rotate(180deg); }
.transcript > div { padding-top: 1rem; }
.transcript > div > * + * { margin-top: .75rem; }
.transcript__note { font-size: .85rem; opacity: .7; }

/* Phone polish (revision 3 review) */
@media (max-width: 767px) {
  .brand__mark { width: 1.65rem; height: 1.65rem; }
  .brand__name { font-size: .92rem; }
  .burger { flex: none; width: 2.75rem; height: 2.75rem; }
  .nav.is-scrolled { inset-block-start: 0; padding-inline: 0; }
  .nav.is-scrolled .nav__island { width: 100%; height: calc(3.75rem + env(safe-area-inset-top)); padding-top: env(safe-area-inset-top);
    padding-inline: var(--gutter) calc(var(--gutter) - .35rem); border-radius: 0;
    box-shadow: 0 1px 0 var(--line-strong), 0 10px 24px -18px color-mix(in oklch, var(--ink) 45%, transparent); }
  .page-hero--cover::after { background: linear-gradient(0deg, color-mix(in oklch, var(--dark) 95%, transparent) 0%, color-mix(in oklch, var(--dark) 88%, transparent) 62%, color-mix(in oklch, var(--dark) 40%, transparent) 85%, color-mix(in oklch, var(--dark) 20%, transparent) 100%); }
  .hero__actions, .page-hero__actions, .footer__cta-actions { width: 100%; display: grid; grid-template-columns: minmax(0, 1fr); gap: .65rem; }
  .hero__actions .btn, .page-hero__actions .btn, .footer__cta-actions .btn { justify-content: center; }
  .menu { background: var(--bg); -webkit-backdrop-filter: none; backdrop-filter: none; }
  .menu__foot .menu__cta { color: var(--btn-fg); font-size: .95rem; justify-content: center; margin-bottom: .9rem; }
  .eyebrow { letter-spacing: .13em; gap: .7rem; }
  .eyebrow::before { width: 1.75rem; }
  .tile figcaption { flex-direction: column; align-items: flex-start; gap: .3rem; }
  .tile figcaption span { text-align: left; }
  .field input { min-height: 3.25rem; }
  .chip span { min-height: 2.75rem; border-radius: .375rem; }
  .footer__cols { grid-template-columns: minmax(0, 1fr); gap: 2.25rem; }
  .footer__cols > div:not(.footer__brand) a { padding-block: .45rem; }
  .footer__services { columns: 2; column-gap: 1.5rem; }
  .footer__services h3 { column-span: all; }
  .footer__cols > div:not(.footer__brand) a { break-inside: avoid; }
  .gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .75rem; }
  .gallery > .gallery__lead { grid-column: 1 / -1; }
  .gallery .bezel__core { aspect-ratio: 4 / 5; }
  .gallery > .gallery__lead .bezel__core { aspect-ratio: 4 / 3; }
}

/* ==========================================================================
   Revision 3: client-taste pass (daylight, footage-led, credentialed)
   Append to the END of css/styles.css, sections in this order.
   ========================================================================== */

/* ---- I04 Palette: body copy one step larger ---- */
.section-head__text, .specialty__intro { font-size: 1.12rem; }
@media (max-width: 767px) {
  .section-head__text, .specialty__intro, .material__text, .prose p, .prose li { font-size: 1.0625rem; }
}

/* ---- I05 Company lockup on every page; flush header bar on phones ---- */
.brand__name { display: flex; flex-direction: column; gap: .3rem; font-weight: 800; font-size: .98rem; letter-spacing: .05em; text-transform: uppercase; line-height: 1; }
.brand__sub { font-size: .7rem; font-weight: 600; letter-spacing: .14em; color: var(--ink-2); }
.footer .brand__sub { color: var(--on-dark-2); }
.brand__mark { width: 2.15rem; height: 2.15rem; }
@media (min-width: 1081px) and (max-width: 1200px) {
  .brand__name { font-size: .88rem; letter-spacing: .035em; }
  .brand__sub { letter-spacing: .14em; }
}
@media (max-width: 767px) {
  .brand__name { font-size: .8rem; letter-spacing: .03em; }
  .brand__sub { font-size: .66rem; letter-spacing: .1em; }
  .brand__mark { width: 1.75rem; height: 1.75rem; }
  .nav, .nav.is-scrolled { inset-block-start: 0; padding-inline: 0; }
  .nav .nav__island { width: 100%; height: calc(3.75rem + env(safe-area-inset-top)); padding-top: env(safe-area-inset-top); padding-inline: var(--gutter) calc(var(--gutter) - .35rem); border-radius: 0; box-shadow: 0 1px 0 var(--line-strong); }
  .nav.is-scrolled .nav__island { box-shadow: 0 1px 0 var(--line-strong), 0 10px 24px -18px color-mix(in oklch, var(--ink) 45%, transparent); }
  .menu { padding-top: calc(3.75rem + env(safe-area-inset-top) + 1.5rem); }
}
@media (max-width: 380px) {
  .brand__name { font-size: .78rem; letter-spacing: .02em; }
  .brand__sub { font-size: .68rem; letter-spacing: .06em; }
  .brand { gap: .4rem; }
}

/* ---- I06 His section names as bold company heads ---- */
.eyebrow { font-size: .8rem; font-weight: 700; letter-spacing: .18em; color: var(--ink); margin-bottom: 1.25rem; }
.eyebrow::before { width: 2rem; height: 2px; background: var(--accent); align-self: flex-start; margin-top: .6em; }
.prose .eyebrow { color: var(--ink); }
.eyebrow--dark, .section--dark .eyebrow, .section--dark .prose .eyebrow { color: var(--on-dark); }
.eyebrow--dark::before, .section--dark .eyebrow::before { background: var(--accent-light); }
.specialty__title { font-size: clamp(2.1rem, 3.2vw, 2.9rem); }
@media (min-width: 768px) {
  .page-hero--cover .eyebrow { color: var(--on-dark); }
  .page-hero--cover .eyebrow::before { background: var(--accent-light); }
}
@media (max-width: 767px) {
  .eyebrow { font-size: .76rem; letter-spacing: .13em; margin-bottom: 1rem; }
  .eyebrow::before { width: 1.5rem; }
}

/* ---- I07 Calm reveal: phones never show half-moved text ---- */
@media (max-width: 767px) {
  .js p[data-reveal], .js h2[data-reveal], .js h3[data-reveal], .js dl > [data-reveal], .js .step[data-reveal], .js .specialty__copy[data-reveal] { transform: none; }
  .step h3 { color: var(--ink); }
  .step p { color: var(--ink-2); }
  .step__num { color: var(--accent); }
}

/* ---- I08 Hero (desktop/tablet): daylight footage, scrim only behind the copy, triad in caps, white credentials bar ---- */
.hero__bg::after { background: linear-gradient(90deg, color-mix(in oklch, var(--dark) 74%, transparent) 0%, color-mix(in oklch, var(--dark) 64%, transparent) 34%, color-mix(in oklch, var(--dark) 48%, transparent) 54%, transparent 64%); }
.hero__copy { max-width: 44rem; }
.hero__eyebrow { font-size: .8rem; letter-spacing: .22em; }
.hero__title { font-size: clamp(3rem, min(5.3vw, 8vh), 5.1rem); line-height: 1.02; margin-bottom: 0; text-shadow: 0 2px 28px color-mix(in oklch, var(--dark) 40%, transparent); }
.hero__title em { margin-top: 1.35rem; font-family: var(--font-sans); font-weight: 700; font-size: clamp(.92rem, 1.12vw, 1.06rem); line-height: 1.8; letter-spacing: .15em; text-transform: uppercase; color: var(--on-dark); text-shadow: 0 1px 16px color-mix(in oklch, var(--dark) 70%, transparent); }
.hero__title em span { display: block; }
.hero__areas { margin-top: 1.1rem; font-size: .98rem; font-weight: 500; letter-spacing: .02em; color: var(--on-dark); text-shadow: 0 1px 16px color-mix(in oklch, var(--dark) 70%, transparent); }
.hero__actions { margin-top: clamp(1.75rem, 3.6vh, 2.5rem); }
.trust { margin-top: clamp(1.75rem, 4vh, 3rem); border: 0; border-radius: var(--r-xl); background: var(--surface); color: var(--ink); box-shadow: 0 28px 56px -30px rgb(0 0 0 / .6); }
.trust li { padding: clamp(1rem, 2vh, 1.35rem) 1.75rem; }
.trust li + li { padding-left: 1.75rem; border-left: 1px solid var(--line); }
.trust strong { font-family: var(--font-sans); font-weight: 800; font-size: clamp(1.02rem, 1.35vw, 1.25rem); letter-spacing: .05em; text-transform: uppercase; }
.trust small { margin-top: .3rem; color: var(--ink-2); font-size: .7rem; font-weight: 600; letter-spacing: .15em; text-transform: uppercase; }
@media (max-width: 900px) {
  .trust li, .trust li + li, .trust li:nth-child(n) { padding: .9rem 1.1rem; border-left: 0; }
  .trust li:nth-child(even) { border-left: 1px solid var(--line); }
  .trust li:nth-child(n+3) { border-top: 1px solid var(--line); }
  .trust strong { font-size: 1rem; }
}
@media (max-width: 767px) { .trust small { letter-spacing: .12em; } }
@media (max-width: 380px) {
  .trust li, .trust li + li, .trust li:nth-child(n) { padding-inline: .85rem; }
  .trust strong { font-size: .92rem; letter-spacing: .03em; }
  .trust small { letter-spacing: .1em; }
}

/* ---- I09 Phone hero: his kitchen full-bleed and undimmed, then the copy in ink on white ---- */
@media (max-width: 767px) {
  .hero { --hero-band: clamp(16rem, 47svh, 30rem); display: block; min-height: 0; padding: calc(3.75rem + env(safe-area-inset-top)) 0 2.5rem; background: var(--surface); color: var(--ink); }
  .hero__bg { position: relative; inset: auto; z-index: 0; height: var(--hero-band); }
  .hero__bg::after { display: none; }
  .hero__bg img { object-position: 46% 50%; }
  .hero__copy { padding-top: 1.5rem; }
  .hero__eyebrow { display: none; }
  .hero__title { font-size: min(2.5rem, 9.6vw); line-height: 1.04; color: var(--ink); text-shadow: none; }
  .hero__title em { margin-top: 1rem; padding-top: 1rem; border-top: 1px solid var(--line-strong); font-size: .78rem; line-height: 1.7; letter-spacing: .04em; color: var(--ink); text-shadow: none; }
  .hero__areas { margin-top: .75rem; font-size: .82rem; color: var(--ink-2); text-shadow: none; }
  .hero__actions { margin-top: 1.5rem; }
  .hero .btn--light { --btn-bg: var(--ink); --btn-fg: var(--surface); --btn-icon: color-mix(in oklch, var(--surface) 14%, transparent); }
  .hero .btn--on-dark { --btn-fg: var(--ink); box-shadow: inset 0 0 0 1px var(--line-strong); }
  .hero .trust { margin-top: 2rem; box-shadow: inset 0 0 0 1px var(--line-strong); }
}

/* ---- I10 Phone hero loop (muted, after load, with a pause control) ---- */
.hero__loop, .hero__loop-btn { display: none; }
@media (max-width: 767px) {
  .hero { position: relative; }
  .hero__loop { display: block; position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity .8s var(--ease-out); }
  .hero__loop.is-on { opacity: 1; }
  .hero__loop-btn { display: grid; place-items: center; position: absolute; z-index: 2; right: var(--gutter); top: calc(3.75rem + env(safe-area-inset-top) + var(--hero-band) - 3.5rem); width: 2.75rem; height: 2.75rem; border: 0; border-radius: 50%; cursor: pointer; background: color-mix(in oklch, var(--surface) 78%, transparent); color: var(--ink); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); box-shadow: inset 0 0 0 1px oklch(100% 0 0 / .5); opacity: 0; visibility: hidden; transition: opacity .6s var(--ease-out); }
  .hero__loop-btn.is-on { opacity: 1; visibility: visible; }
  .hero__loop-btn svg { width: 1rem; height: 1rem; }
}

/* ---- I12 Specialties: kitchen and bath photos grow and bleed to the page edge ---- */
@media (min-width: 901px) {
  .specialty { grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr); gap: clamp(3rem, 5.5vw, 6rem); }
  .specialty.split--flip { grid-template-columns: minmax(0, 1fr) minmax(0, 1.45fr); }
  #kitchen .photo { margin-left: calc(-1 * (max(0px, (100vw - 1360px) / 2) + var(--gutter))); }
  #bathroom .photo { margin-right: calc(-1 * (max(0px, (100vw - 1360px) / 2) + var(--gutter))); }
  #kitchen .photo .bezel__core, #bathroom .photo .bezel__core { aspect-ratio: 4 / 3.2; }
  #kitchen .photo .bezel__core { border-radius: 0 var(--r-xl) var(--r-xl) 0; }
  #bathroom .photo .bezel__core { border-radius: var(--r-xl) 0 0 var(--r-xl); }
  #flooring { grid-template-columns: minmax(0, .9fr) minmax(0, 1fr); }
}
@media (max-width: 900px) {
  .specialty .photo { margin-inline: calc(var(--gutter) * -1); }
  .specialty .photo .bezel__core { aspect-ratio: 5 / 4; border-radius: 0; box-shadow: none; }
}
@media (max-width: 767px) {
  .specialty .btn { width: 100%; justify-content: center; }
}

/* ---- I13 Homeowner films: the newest 4K testimonials, large; the lead plays a muted preview ---- */
.films { display: grid; gap: clamp(2.5rem, 5vw, 4rem); }
.films__pair { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(1.5rem, 3vw, 2.5rem); }
.film { display: grid; gap: 1.25rem; min-width: 0; align-content: start; }
.film--lead { grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr); gap: clamp(1.75rem, 4vw, 3.5rem); align-items: center; }
.film__media { position: relative; aspect-ratio: 16 / 9; border-radius: var(--r-xl); overflow: hidden; background: var(--dark); }
.film__media .vcard__btn::after { background: linear-gradient(0deg, color-mix(in oklch, var(--dark) 45%, transparent), transparent 40%); z-index: 1; }
.film__media img, .film__loop { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.film__media iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.film__loop { opacity: 0; transition: opacity .8s var(--ease); }
.film__loop.is-playing { opacity: 1; }
.film__pause { position: absolute; z-index: 2; top: 1rem; right: 1rem; display: grid; place-items: center; width: 2.75rem; height: 2.75rem; border: 0; border-radius: 50%; cursor: pointer; background: color-mix(in oklch, var(--surface) 78%, transparent); color: var(--ink); }
.film__pause[hidden], .film__media:has(iframe) .film__pause { display: none; }
.film__pause svg { width: 1rem; height: 1rem; }
.film__watch {
  position: absolute; left: 1rem; bottom: 1rem; z-index: 2;
  display: inline-flex; align-items: center; gap: .65rem;
  padding: .4rem 1rem .4rem .4rem; border-radius: 999px;
  background: color-mix(in oklch, var(--surface) 90%, transparent);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  color: var(--ink); font-size: .85rem; font-weight: 600; line-height: 1;
  transition: transform .5s var(--ease);
}
.film__watch i { display: grid; place-items: center; width: 2rem; height: 2rem; border-radius: 50%; background: var(--ink); color: var(--bg); font-size: .7rem; }
.film__watch i svg { margin-left: .1rem; }
.film__watch small { font-size: .8rem; font-weight: 500; color: var(--ink-2); font-variant-numeric: tabular-nums; }
.vcard__btn:hover .film__watch { transform: translateY(-2px); }
.film__meta { font-size: .72rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--accent-ink); }
.film__quote { margin-top: .75rem; font-family: var(--font-serif); font-weight: 500; font-size: clamp(1.3rem, 1.7vw, 1.55rem); line-height: 1.28; letter-spacing: -0.01em; text-wrap: pretty; }
.film--lead .film__quote { font-size: clamp(1.7rem, 2.6vw, 2.4rem); line-height: 1.18; }
.film__who { margin-top: 1rem; font-size: .92rem; color: var(--ink-2); }
.film__who strong { color: var(--ink); font-weight: 600; }
.film__who a { color: var(--ink); border-bottom: 1px solid var(--accent); white-space: nowrap; }
.vcard--sm .vcard__body p { margin-top: .2rem; font-size: .85rem; }
/* The media box clips the button's own ring (overflow: hidden), so the box draws it */
.film__media:has(> .vcard__btn:focus-visible),
.vcard__media:has(> .vcard__btn:focus-visible) { outline: 2px solid var(--accent); outline-offset: 3px; }
@media (max-width: 900px) {
  .film--lead, .films__pair { grid-template-columns: minmax(0, 1fr); }
}

/* ---- I14 Reviews: attributed by project, no initials avatars ---- */
.review figcaption { padding-top: 1.1rem; border-top: 1px solid var(--line); }
.review--feature figcaption { padding-top: 1.5rem; }
.review--feature .bezel__core { justify-content: space-between; }
.review--feature blockquote { margin-block: 0; }
@media (min-width: 901px) { .review--feature blockquote { font-size: clamp(1.6rem, 2.5vw, 2.3rem); line-height: 1.25; } }
.review figcaption strong { font-size: .95rem; }
.review figcaption small { margin-top: .2rem; font-size: .85rem; color: var(--ink-2); }
.review figcaption small a { color: var(--ink); border-bottom: 1px solid var(--accent); }
.review__src { display: block; margin-bottom: .3rem; font-size: .7rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--accent-ink); }

/* ---- I15 About: owner name plate and a direct line ---- */
.material__media figcaption { display: flex; flex-direction: column; gap: .35rem; padding: 1.1rem .25rem 0; }
.material__media figcaption strong { font-family: var(--font-serif); font-weight: 500; font-size: 1.4rem; line-height: 1.1; letter-spacing: -0.01em; color: var(--on-dark); }
.material__media figcaption span { font-size: .7rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--accent-light); }
.material__actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 2.25rem; }
@media (max-width: 767px) {
  .material__actions { display: grid; grid-template-columns: minmax(0, 1fr); gap: .65rem; }
  .material__actions .btn { justify-content: center; }
}

/* ---- I16 Proudly Serving Southern California: full-bleed aerial band ---- */
#areas { padding-top: 0; }
.areas-band { position: relative; isolation: isolate; display: flex; align-items: flex-end; min-height: min(78svh, 46rem); margin-bottom: clamp(2.5rem, 5vw, 4rem); padding-block: 4rem clamp(2.5rem, 5vw, 4rem); color: var(--on-dark); }
.areas-band > img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; }
.areas-band::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg, color-mix(in oklch, var(--dark) 78%, transparent) 0%, color-mix(in oklch, var(--dark) 52%, transparent) 38%, transparent 64%); }
.areas-band .container { text-shadow: 0 2px 24px color-mix(in oklch, var(--dark) 45%, transparent); }
.areas-band .eyebrow { color: var(--on-dark); }
.areas-band .eyebrow::before { background: var(--accent-light); }
.areas-band .h2 { font-size: clamp(2.6rem, 5vw, 4.6rem); max-width: 16ch; }
#areas .section-head:has(> .section-head__text:only-child) .section-head__text { margin-top: 0; }
@media (max-width: 767px) {
  .areas-band { min-height: 62svh; }
  /* The eyebrow and three-line h2 fill the lower half of the shorter phone band */
  .areas-band::after { background: linear-gradient(0deg, color-mix(in oklch, var(--dark) 80%, transparent) 0%, color-mix(in oklch, var(--dark) 62%, transparent) 50%, transparent 80%); }
}

/* ---- I17 Estimate form signed like a company ---- */
.form__title { padding-bottom: 1.2rem; border-bottom: 1px solid var(--line); font-size: .82rem; font-weight: 800; letter-spacing: .14em; line-height: 1.5; text-transform: uppercase; color: var(--ink); }
.form__title small { display: block; margin-top: .35rem; font-size: .85rem; font-weight: 500; letter-spacing: 0; text-transform: none; color: var(--ink-2); }
.form__sign { font-size: .75rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-3); text-align: center; }
.avatar--photo { overflow: hidden; padding: 0; background: var(--dark-2); }
.avatar--photo img { width: 100%; height: 100%; object-fit: cover; }

/* ---- I18 Kitchen and bath service pages (desktop): a big edge-bleed photo of his work ---- */
@media (min-width: 901px) {
  .page-hero--feature { padding-block: 0; }
  .page-hero--feature .container { max-width: none; min-height: min(94svh, 60rem); align-items: stretch; grid-template-columns: minmax(0, 1fr) minmax(0, 1.12fr); gap: clamp(2.5rem, 5vw, 5rem); padding-right: 0; padding-left: max(var(--gutter), calc((100vw - 1360px) / 2 + var(--gutter))); }
  .page-hero--feature .container > div:first-child { align-self: center; padding-block: calc(var(--nav-h) + 3rem) 3rem; }
  .page-hero--feature .page-hero__media { display: flex; flex-direction: column; }
  .page-hero--feature .page-hero__media .bezel { flex: 1; padding: 0; }
  .page-hero--feature .page-hero__media .bezel__core { aspect-ratio: auto; height: 100%; border-radius: 0; box-shadow: none; }
  .page-hero--feature .page-hero__media figcaption { padding: .7rem 1.25rem .9rem; }
  .page-hero--feature .page-hero__title { font-size: clamp(2.6rem, 4.4vw, 4.2rem); }
}

/* ---- I19 Split heroes on phones: his work first, then the title and the estimate button ---- */
@media (max-width: 767px) {
  .page-hero--split { padding-top: calc(3.75rem + env(safe-area-inset-top)); }
  .page-hero--split .container { display: flex; flex-direction: column; gap: 0; }
  .page-hero--split .container > div { display: flex; flex-direction: column; }
  .page-hero--split .page-hero__media { order: -1; margin: 0 calc(var(--gutter) * -1) 1rem; }
  .page-hero--split .page-hero__media .bezel { padding: 0; border-radius: 0; }
  .page-hero--split .page-hero__media .bezel__core { aspect-ratio: 5 / 4; border-radius: 0; box-shadow: none; }
  .page-hero--split .page-hero__media figcaption { display: none; }
  .page-hero--split .crumbs { margin-bottom: .75rem; }
  .page-hero--split .eyebrow { margin-bottom: .75rem; }
  .page-hero--split .page-hero__actions { order: 1; margin-top: 1.25rem; }
  .page-hero--split .lede { order: 2; margin-top: 1.75rem; font-size: 1rem; }
}

/* ---- I20 Cover heroes: no brightness filter; desktop scrim only behind the type; phones photo-first on white ---- */
.page-hero--cover > img { filter: none; }
@media (min-width: 768px) {
  /* The estimate button stays on a laptop's first screen */
  .page-hero--cover { padding-top: calc(var(--nav-h) + clamp(2.5rem, 7vh, 5rem)); padding-bottom: clamp(2rem, 4vh, 3.5rem); }
  .page-hero--split:not(.page-hero--feature) { padding-top: calc(var(--nav-h) + clamp(2.5rem, 7vh, 5rem)); }
  .page-hero--cover .page-hero__title, .page-hero--split:not(.page-hero--feature) .page-hero__title { font-size: clamp(2.3rem, min(4.6vw, 7.2vh), 4rem); }
  .page-hero--cover::after { background: linear-gradient(90deg, color-mix(in oklch, var(--dark) 82%, transparent) 0%, color-mix(in oklch, var(--dark) 70%, transparent) 42%, color-mix(in oklch, var(--dark) 34%, transparent) 62%, transparent 82%), linear-gradient(0deg, color-mix(in oklch, var(--dark) 72%, transparent) 0%, color-mix(in oklch, var(--dark) 42%, transparent) 30%, transparent 52%); }
  .page-hero--cover .facts dt { color: var(--on-dark); }
  .page-hero--cover .crumbs, .page-hero--cover .crumbs li + li::before { color: color-mix(in oklch, var(--on-dark) 86%, transparent); }
}
@media (max-width: 767px) {
  .page-hero--cover { display: block; min-height: 0; padding: calc(3.75rem + env(safe-area-inset-top)) 0 2.75rem; background: var(--surface); color: var(--ink); }
  .page-hero--cover::after { display: none; }
  .page-hero--cover > img { position: relative; inset: auto; z-index: 0; height: auto; aspect-ratio: 5 / 4; margin-bottom: 1.25rem; }
  .page-hero--cover .crumbs, .page-hero--cover .crumbs li + li::before { color: var(--ink-3); }
  .page-hero--cover .crumbs { margin-bottom: 1rem; }
  .page-hero--cover .crumbs a { color: var(--ink-2); border-color: var(--line-strong); }
  .page-hero--cover .eyebrow { color: var(--ink); margin-bottom: .9rem; }
  .page-hero--cover .lede { color: var(--ink-2); font-size: 1rem; }
  .page-hero--cover .btn--light { --btn-bg: var(--ink); --btn-fg: var(--surface); --btn-icon: color-mix(in oklch, var(--surface) 14%, transparent); }
  .page-hero--cover .btn--on-dark { --btn-fg: var(--ink); box-shadow: inset 0 0 0 1px var(--line-strong); }
  .page-hero--cover .facts, .page-hero--cover .facts > div + div { border-color: var(--line); }
  .page-hero--cover .facts > div:nth-child(n+3) { border-top-color: var(--line); }
  .page-hero--cover .facts dt { color: var(--ink-3); }
}

/* ---- I22 Phone image language: feature photos edge to edge; long card stacks become one swipe row ---- */
@media (max-width: 767px) {
  .split > .photo, .split > div > .photo, .material__media, .gallery > .gallery__lead { margin-inline: calc(var(--gutter) * -1); }
  .split .photo .bezel__core, .material__media .bezel__core, .gallery > .gallery__lead .bezel__core { border-radius: 0; box-shadow: none; }
  .photo figcaption, .material__media figcaption, .gallery > .gallery__lead figcaption { padding-inline: var(--gutter); }
  .specialties { gap: 4.5rem; }
  .areas, .areas:has(> :nth-child(3):last-child), .videos__grid {
    display: grid; grid-auto-flow: column; grid-auto-columns: 84%; grid-template-columns: none; gap: 1rem;
    overflow: auto hidden; scroll-snap-type: x mandatory; scrollbar-width: none;
    margin-inline: calc(var(--gutter) * -1); padding-inline: var(--gutter); scroll-padding-inline: var(--gutter);
  }
  .areas::-webkit-scrollbar, .videos__grid::-webkit-scrollbar { display: none; }
  .areas > *, .videos__grid > * { scroll-snap-align: start; }
  .videos__grid { width: auto; }
  .vcard--sm .vcard__play { width: 4rem; height: 4rem; font-size: 1.2rem; }
  .vcard--sm .vcard__body h3 { font-size: 1.3rem; }
}

/* ---- I23 Phone menu: kitchen and bath first, as photo cards ---- */
.menu__feature {
  display: grid; grid-template-columns: 1fr 1fr; gap: .75rem; margin-bottom: 1.25rem;
  opacity: 0; transform: translateY(2.5rem);
  transition: opacity .7s var(--ease), transform .8s var(--ease); transition-delay: 80ms;
}
.menu.is-open .menu__feature { opacity: 1; transform: none; }
@starting-style { .menu.is-open .menu__feature { opacity: 0; transform: translateY(2.5rem); } }
.menu__card { display: grid; gap: .6rem; align-content: start; }
.menu__card img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; border-radius: var(--r-xl); }
@media (min-width: 768px) { .menu__feature { max-width: 34rem; } }
.menu__card span { font-family: var(--font-sans); font-weight: 700; font-size: .78rem; letter-spacing: .08em; text-transform: uppercase; line-height: 1.35; color: var(--ink); }
@media (max-width: 767px) {
  .menu__links > a, .menu__group summary { font-size: 1.75rem; line-height: 1.25; }
  .menu__links { gap: 0; }
  .menu__links > a, .menu__group summary { min-height: 2.75rem; display: flex; align-items: center; }
  .menu__foot { margin-top: 1.25rem; }
  .menu__foot > a:not(.menu__cta) { min-height: 2.75rem; }
}
