/* ==========================================================================
   Crown Luxury Cleaning Services: site design system
   One stylesheet for every page; only /contact adds contact.css (its quote
   layout) and quote.js.
   "Modern Light Luxe" (concept C), refined with A/B ceremony:
   12-col grid, 8px rhythm, nested radii, frosted surfaces, gold hairlines,
   italic serif accents, a sparing arch motif and numbered eyebrows.

   Sections
     01  Tokens
     02  Base and reset
     03  Typography
     04  Layout primitives
     05  Ornaments (sparkle, dot rule, arch frame, plaque, stage, verse,
         texture panel, statement)
     06  Buttons and links
     07  Header, brand lockup, nav and mobile sheet
     08  Hero (home, interior page, compact)
     09  Hallmark band and spaces strip
     10  Two paths (Simply Crown / Tailored by Crown)
     11  Services bento (home)
     12  Our standard and pillars
     13  Process steps
     14  Interior components: split, service grid (plate, feature, note,
         aligned rows), contact cards
     15  FAQ accordion, link rows, "More questions", FAQ hub (/faq)
     16  Closing CTA band
     17  Forms and confirmation panel
     18  Footer
     19  Mobile dock
     20  404 page
     21  Motion (JS-gated, reduced-motion aware)
     22  Utilities, forced colors, print

   Breakpoints (keep JS in sync: main.js NAV_BP)
     nav    : desktop nav >= 1180px, menu sheet below (hero: single column below too)
     dock   : floating Call/Text/Quote dock below 1024px
     cards  : two-up cards >= 900px (the two paths stay two-up from 700px)
     phone  : < 640px
   ========================================================================== */


/* ==========================================================================
   01  Tokens
   ========================================================================== */

/* Metric-matched fallbacks: Google Fonts load off the critical path
   (media="print" swap), so the first paint uses these. size-adjust and the
   ascent/descent overrides were measured in Chrome against the real faces
   (canvas TextMetrics on a mixed sentence), so the swap barely moves text. */
@font-face {
  font-family: "Cormorant Fallback";
  font-style: normal;
  font-weight: 300 700;
  src: local("Times New Roman"), local("TimesNewRomanPSMT");
  size-adjust: 96.8%;
  ascent-override: 95.1%;
  descent-override: 30%;
  line-gap-override: 0%;
}
@font-face {
  font-family: "Cormorant Fallback";
  font-style: italic;
  font-weight: 300 700;
  src: local("Times New Roman Italic"), local("TimesNewRomanPS-ItalicMT");
  size-adjust: 88%;
  ascent-override: 104.6%;
  descent-override: 33%;
  line-gap-override: 0%;
}
@font-face {
  font-family: "Montserrat Fallback";
  font-weight: 300 549;
  src: local("Arial"), local("ArialMT");
  size-adjust: 112.3%;
  ascent-override: 86.4%;
  descent-override: 22.3%;
  line-gap-override: 0%;
}
@font-face {
  font-family: "Montserrat Fallback";
  font-weight: 550 800;
  src: local("Arial Bold"), local("Arial-BoldMT");
  size-adjust: 108%;
  ascent-override: 89.8%;
  descent-override: 23.1%;
  line-gap-override: 0%;
}

:root {
  /* Brand palette (sampled from the Version 1 logo) */
  --green-900: #142B24;
  --green-800: #1F4237;
  --green-700: #2C5A4B;
  --green-100: #E6EEEA;
  --gold-text: #7D5F27;   /* small gold text on light grounds: 5.6:1 ivory, 5.1:1 cream */
  --gold-700: #8A6A2E;
  --gold-600: #A98039;
  --gold-500: #C49A4C;
  --gold-300: #E6C877;
  --gold-200: #F5DE8A;
  --gold-gradient: linear-gradient(135deg, #B08640 0%, #E3C26C 42%, #F5DE8A 55%, #B98D42 100%);
  --gold-ink: linear-gradient(100deg, #7D5F27 0%, #A07932 48%, #866528 100%);
  --ivory: #FBF8F2;
  --cream: #F3ECE0;
  --white: #FFFFFF;
  --ink: #2A2421;
  --muted: #6B625A;
  --error: #A23B2A;
  --line: rgba(42, 36, 33, .09);
  --line-strong: rgba(42, 36, 33, .17);   /* decorative hairlines only */
  --line-field: #8E857D;                  /* form control boundaries: 3.6:1 on white, 3.4:1 on ivory (WCAG 1.4.11) */
  --line-gold: rgba(169, 128, 57, .42);
  --focus: var(--green-700);

  /* Type */
  --font-display: "Cormorant Garamond", "Cormorant Fallback", Garamond, "Times New Roman", serif;
  --font-sans: "Montserrat", "Montserrat Fallback", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --fs-body: clamp(1rem, .96rem + .14vw, 1.0625rem);
  --fs-lede: clamp(1.03125rem, .95rem + .3vw, 1.15625rem);
  --fs-small: .9375rem;
  --fs-ui: .90625rem;
  --fs-eyebrow: .71875rem;

  /* Layout */
  --container: 1360px;
  --pad: clamp(16px, 3.4vw, 48px);
  --gutter: clamp(12px, 1.7vw, 24px);
  --section: clamp(88px, 10vw, 152px);
  --header-h: 88px;
  --header-h-compact: 72px;

  /* Shape */
  --r-xl: clamp(22px, 2.3vw, 32px);
  --r-lg: clamp(18px, 1.7vw, 24px);
  --r-md: 16px;
  --inset: 10px;

  /* Depth */
  --shadow-1: 0 1px 1px rgba(20, 43, 36, .03), 0 12px 32px -20px rgba(20, 43, 36, .2);
  --shadow-2: 0 2px 4px rgba(20, 43, 36, .04), 0 32px 64px -32px rgba(20, 43, 36, .34);

  /* Motion */
  --ease: cubic-bezier(.2, .7, .2, 1);
  --ease-out: cubic-bezier(.16, 1, .3, 1);

  /* Sparkle (the four-point star from the "O" in CROWN), used as a CSS mask */
  --sparkle: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 0c.62 6.36 5.64 11.38 12 12-6.36.62-11.38 5.64-12 12-.62-6.36-5.64-11.38-12-12C6.36 11.38 11.38 6.36 12 0Z'/%3E%3C/svg%3E");

  interpolate-size: allow-keywords;
}

@media (max-width: 1179.98px) {
  :root { --header-h: 80px; --header-h-compact: 68px; }
}
@media (max-width: 639.98px) {
  :root { --header-h: 76px; --header-h-compact: 66px; }
}


/* ==========================================================================
   02  Base and reset
   ========================================================================== */
*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  background: var(--ivory);
  scroll-padding-top: calc(var(--header-h) + 20px);
}
/* Where the floating dock shows, keep focused controls clear of it */
@media (max-width: 1023.98px) {
  html { scroll-padding-bottom: calc(96px + env(safe-area-inset-bottom)); }
}
@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}

body {
  margin: 0;
  min-height: 100vh;
  background: var(--ivory);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: var(--fs-body);
  line-height: 1.7;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: clip;
}

img, svg, video { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; }
p { margin: 0; text-wrap: pretty; }
ul, ol { margin: 0; padding: 0; }
figure, blockquote { margin: 0; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
fieldset { margin: 0; padding: 0; border: 0; min-width: 0; }
legend { padding: 0; }
svg use { pointer-events: none; }

h1, h2, h3, h4 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 500;
  color: var(--green-900);
  letter-spacing: -.01em;
  text-wrap: balance;
}

::selection { background: var(--green-800); color: var(--ivory); }

:focus-visible {
  outline: 2px solid var(--focus);
  outline-offset: 3px;
  border-radius: 8px;
}
.on-dark { --focus: var(--gold-300); }
main:focus { outline: none; }

.skip-link {
  position: absolute;
  left: 16px;
  top: 12px;
  z-index: 100;
  padding: 12px 20px;
  border-radius: 999px;
  background: var(--green-900);
  color: var(--ivory);
  font-weight: 600;
  font-size: .875rem;
  text-decoration: none;
  transform: translateY(-180%);
  transition: transform .3s var(--ease);
}
.skip-link:focus { transform: none; outline-color: var(--gold-300); }


/* ==========================================================================
   03  Typography
   ========================================================================== */

/* Eyebrow: sparkle + optional italic serif number + tracked caps label
   <p class="eyebrow"><span class="eyebrow__num">01</span>Two ways to work with us</p> */
.eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 22px;
  font: 600 var(--fs-eyebrow)/1.3 var(--font-sans);
  letter-spacing: .28em;
  text-transform: uppercase;
  color: var(--gold-text);
}
.eyebrow::before {
  content: "";
  flex: none;
  width: 11px;
  height: 11px;
  background: var(--gold-500);
  -webkit-mask: var(--sparkle) center / contain no-repeat;
  mask: var(--sparkle) center / contain no-repeat;
}
.eyebrow__num {
  flex: none;
  padding-right: 12px;
  border-right: 1px solid var(--line-gold);
  font: italic 500 1.125rem/1 var(--font-display);
  letter-spacing: .02em;
  text-transform: none;
  color: var(--gold-text);
}
.eyebrow--center { justify-content: center; }
.eyebrow--light { color: var(--gold-300); }
.eyebrow--light::before { background: var(--gold-300); }
.eyebrow--light .eyebrow__num { color: var(--gold-300); border-color: rgba(230, 200, 119, .35); }

/* Display (H1) with gold-ink italic accent */
.display {
  font-size: clamp(2.875rem, 1.6rem + 5.2vw, 6.25rem);
  line-height: .98;
  letter-spacing: -.022em;
}
.display em,
.h2 em,
.h3 em {
  font-style: italic;
  color: var(--gold-text);
  padding-right: .04em;
}
.display em {
  background: var(--gold-ink);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.h2 {
  font-size: clamp(2.375rem, 1.5rem + 3vw, 4rem);
  line-height: 1.03;
  letter-spacing: -.018em;
}
.h3 {
  font-size: clamp(1.75rem, 1.4rem + 1.2vw, 2.5rem);
  line-height: 1.08;
}

.lede {
  font-size: var(--fs-lede);
  line-height: 1.65;
  color: var(--ink);
}
.kicker {
  font: 600 .6875rem/1.4 var(--font-sans);
  letter-spacing: .24em;
  text-transform: uppercase;
  color: var(--gold-text);
}
/* Italic serif accent line, e.g. a service's one-line promise */
.accent-line {
  font: italic 500 clamp(1.1875rem, 1.1rem + .3vw, 1.375rem)/1.3 var(--font-display);
  color: var(--gold-text);
}
.prose p + p { margin-top: 1em; }
.prose { max-width: 38em; }
/* Italic serif accent words inside running text (About: "how we serve, not whom")
   <p class="serif-em">… <em>how</em> …</p> */
.serif-em em { font: italic 500 1.22em/1 var(--font-display); color: var(--green-800); }

.muted { color: var(--muted); }

@media (max-width: 639.98px) {
  .eyebrow { font-size: .6875rem; letter-spacing: .2em; gap: 10px; }
  .eyebrow__num { padding-right: 10px; font-size: 1.0625rem; }
  .kicker { letter-spacing: .18em; }
}


/* ==========================================================================
   04  Layout primitives
   ========================================================================== */
.container {
  width: min(100% - 2 * var(--pad), var(--container));
  margin-inline: auto;
}
.container--narrow { --container: 920px; }

.section { padding-top: var(--section); }
.section--tight { padding-top: calc(var(--section) * .66); }
.section--flush { padding-top: 0; }
.section--last { padding-bottom: var(--section); }   /* last section before a plain footer (no CTA band) */

/* Section header: eyebrow + H2 on the left (7 cols), optional body on the right */
.section-head {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: var(--gutter);
  row-gap: 20px;
  align-items: end;
  margin-bottom: clamp(36px, 4.6vw, 64px);
}
.section-head > :first-child { grid-column: 1 / span 7; }
.section-head__body { grid-column: 8 / -1; color: var(--muted); padding-bottom: 6px; }
.section-head--center { text-align: center; }
.section-head--center > :first-child { grid-column: 2 / -2; }
.section-head--center .eyebrow { justify-content: center; }
.section-head--center .section-head__body { grid-column: 3 / -3; padding-bottom: 0; }

@media (max-width: 1023.98px) {
  .section-head > :first-child { grid-column: 1 / -1; }
  .section-head__body { grid-column: 1 / span 10; }
  .section-head--center .section-head__body { grid-column: 1 / -1; }
}
@media (max-width: 639.98px) {
  .section-head__body { grid-column: 1 / -1; }
}


/* ==========================================================================
   05  Ornaments
   ========================================================================== */

/* Dot-ended gold divider, from the logo (●——●) */
.rule {
  position: relative;
  display: block;
  width: 64px;
  height: 1px;
  margin-inline: 3px;
  background: var(--gold-500);
}
.rule::before, .rule::after {
  content: "";
  position: absolute;
  top: -2px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--gold-500);
}
.rule::before { left: -3px; }
.rule::after { right: -3px; }
.rule--wide { width: 112px; }
.rule--full { width: auto; }
.rule--center { margin-inline: auto; }
.rule--light, .rule--light::before, .rule--light::after { background: var(--gold-300); }

/* Single sparkle glyph as an element: <span class="sparkle" aria-hidden="true"></span> */
.sparkle {
  display: inline-block;
  width: 12px;
  height: 12px;
  background: var(--gold-500);
  -webkit-mask: var(--sparkle) center / contain no-repeat;
  mask: var(--sparkle) center / contain no-repeat;
}

/* Arch frame: arched photo with a concentric gold hairline. Reserved: besides
   the two V1 logo plaques, the only arched photo is Home "Our standard".
   The arch radius is half the frame's width in container units (cqi), so the
   top is a true semicircle and the browser never scales the bottom corners
   down (it would with a 999px top radius). 999px stays as the fallback. */
.arch-frame {
  position: relative;
  aspect-ratio: 4 / 5;
  margin: 14px;
  container-type: inline-size;
}
.arch-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 999px 999px var(--r-md) var(--r-md);
  border-radius: 50cqi 50cqi var(--r-md) var(--r-md);
  background: var(--cream);
}
.arch-frame::before {
  content: "";
  position: absolute;
  inset: -14px;
  border: 1px solid var(--line-gold);
  border-radius: 999px 999px calc(var(--r-md) + 8px) calc(var(--r-md) + 8px);
  border-radius: calc(50cqi + 14px) calc(50cqi + 14px) calc(var(--r-md) + 8px) calc(var(--r-md) + 8px);
  pointer-events: none;
}
/* Rounded photo frame (the standard frame; arches are reserved, see above) */
.media-frame {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  border-radius: var(--r-xl);
  background: var(--cream);
}
.media-frame img { width: 100%; height: 100%; object-fit: cover; }
/* Taller crop beside a text column (Residential "The details") */
.media-frame--tall { aspect-ratio: 6 / 5; }
/* Portrait (Contact sidebar) */
.media-frame--portrait { aspect-ratio: 4 / 5; border-radius: var(--r-lg); }
@media (max-width: 899.98px) {
  .media-frame--tall { aspect-ratio: 4 / 3; }
}

/* Plaque: the Version 1 logo on an arched ivory plaque with a double gold rule.
   One custom property (--pw) drives the width, the padding and the arch, so the
   logo keeps its size in any context (a percentage padding would resolve against
   the containing block, not the plaque). Resize it by setting --pw.
   The logo renders at 80% of --pw. Keep --pw >= 325px so it never drops under
   260px: below that its baked-in "LUXURY CLEANING SERVICES" and tagline lines
   stop being legible. Keep each img's sizes attribute in step. */
.plaque {
  --pw: clamp(340px, 25vw, 400px);
  position: relative;
  display: grid;
  place-items: center;
  width: var(--pw);
  max-width: 100%;
  margin: 0;
  padding: calc(var(--pw) * .22) calc(var(--pw) * .1) calc(var(--pw) * .1);
  border-radius: calc(var(--pw) / 2) calc(var(--pw) / 2) 20px 20px;
  border: 1px solid var(--line-gold);
  background:
    radial-gradient(120% 70% at 50% 0%, #FFFFFF 0%, rgba(255, 255, 255, 0) 72%),
    linear-gradient(180deg, #FFFDF9, var(--ivory));
  box-shadow: 0 48px 80px -56px rgba(20, 43, 36, .5), 0 2px 6px rgba(20, 43, 36, .04);
}
.plaque::before {
  content: "";
  position: absolute;
  inset: 10px;
  border: 1px solid rgba(169, 128, 57, .24);
  border-radius: calc(var(--pw) / 2 - 10px) calc(var(--pw) / 2 - 10px) 12px 12px;
  pointer-events: none;
}
.plaque img { width: 100%; }
.plaque--lg { --pw: clamp(340px, 30vw, 440px); }
@media (max-width: 899.98px) {
  /* stacked layouts: the feature mark keeps its presence */
  .plaque--lg { --pw: min(380px, calc(100vw - 24px)); }
}
@media (max-width: 639.98px) {
  /* the logo keeps >= 260px at 360: the plaque may use nearly the full width */
  .plaque { --pw: min(340px, calc(100vw - 32px)); }
  .plaque--lg { --pw: min(360px, calc(100vw - 24px)); }
}

/* Stage: a soft cream ground that presents the plaque (About "Our story") */
.stage {
  display: grid;
  place-items: center;
  padding: clamp(40px, 5.4vw, 80px) clamp(20px, 3vw, 40px);
  border-radius: calc(var(--r-xl) + 8px);
  background:
    radial-gradient(58% 50% at 50% 46%, rgba(255, 255, 255, .9), rgba(255, 255, 255, 0) 72%),
    var(--cream);
}
@media (max-width: 639.98px) {
  /* a full-bleed cream band, so the plaque (and its logo) can use the width */
  .stage { margin-inline: calc(-1 * var(--pad)); padding: 40px 12px; border-radius: 0; }
}

/* Verse: the quiet scripture treatment (one per page, Home and About only) */
.verse { max-width: 32em; }
.verse .rule { margin-bottom: 22px; }
.verse__text p {
  font: italic 500 clamp(1.5rem, 1.25rem + .9vw, 2rem)/1.24 var(--font-display);
  letter-spacing: -.005em;
  color: var(--green-800);
  text-wrap: balance;
}
.verse__cite {
  display: block;
  margin-top: 14px;
  font: 600 var(--fs-eyebrow)/1.4 var(--font-sans);
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--gold-text);
}
.verse__cite span { color: var(--muted); letter-spacing: .12em; }
/* Centered version (About "Our why"): the same quiet size as Home's verse */
.verse--feature { max-width: 26em; margin-inline: auto; text-align: center; }
.verse--feature .rule { margin-inline: auto; }

/* Texture panel: soft marble behind quiet content (About "Our why", 404) */
.panel-texture {
  position: relative;
  overflow: hidden;
  padding: clamp(44px, 7vw, 104px) clamp(20px, 6vw, 96px);
  border-radius: calc(var(--r-xl) + 8px);
  border: 1px solid var(--line);
  background:
    linear-gradient(rgba(251, 248, 242, .8), rgba(251, 248, 242, .8)),
    image-set(url("/assets/img/texture-md.webp") 1x, url("/assets/img/texture.webp") 2x) center / cover;
  background-color: var(--cream);
}

/* Statement: a quiet, centered message on the marble panel
   (Residential "In your home", About "Our why").
   <div class="panel-texture statement"> eyebrow--center, .h2, .statement__body,
   then a .rule or one .verse--feature. Left-aligned on phones, where a centered
   paragraph is hard to read. */
.statement { text-align: center; }
.statement .h2 { max-width: 13em; margin-inline: auto; }
.statement__body { max-width: 36em; margin: 26px auto 0; color: var(--muted); }
.statement > .rule { margin-top: 36px; }
.statement .verse { margin-top: 44px; }
@media (max-width: 639.98px) {
  .statement { text-align: left; }
  .statement .eyebrow { justify-content: flex-start; }
  .statement .h2, .statement__body { margin-inline: 0; }
  .statement .rule { margin-inline: 3px; }
  .statement .verse--feature { margin-inline: 0; text-align: left; }
}


/* ==========================================================================
   06  Buttons and links
   ========================================================================== */
.btn {
  --h: 54px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: var(--h);
  padding: 0 26px;
  border: 1px solid transparent;
  border-radius: 999px;
  font: 600 var(--fs-ui)/1.2 var(--font-sans);
  letter-spacing: .01em;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition: background-color .35s var(--ease), color .35s var(--ease), border-color .35s var(--ease), box-shadow .35s var(--ease), transform .35s var(--ease);
}
.btn svg { width: 18px; height: 18px; flex: none; transition: transform .45s var(--ease-out); }
.btn:active { transform: translateY(1px); }
.btn--sm { --h: 46px; padding: 0 22px; font-size: .875rem; }
.btn--block { width: 100%; }

.btn--primary {
  background: var(--green-800);
  color: var(--ivory);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .09), 0 10px 24px -14px rgba(20, 43, 36, .7);
}
.btn--primary svg { color: var(--gold-300); }
.btn--primary:hover { background: var(--green-900); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .09), 0 16px 30px -16px rgba(20, 43, 36, .8); }
.btn--primary:hover svg { transform: translateX(3px); }

.btn--ghost {
  background: rgba(255, 255, 255, .6);
  color: var(--green-900);
  border-color: var(--line-strong);
}
.btn--ghost svg { color: var(--gold-text); }
.btn--ghost:hover { background: var(--white); border-color: rgba(31, 66, 55, .45); }

.btn--light { background: var(--ivory); color: var(--green-900); }
.btn--light svg { color: var(--gold-text); }
.btn--light:hover { background: var(--white); }
.btn--light:hover svg { transform: translateX(3px); }

.btn--outline-light {
  color: var(--ivory);
  border-color: rgba(251, 248, 242, .34);
  background: rgba(251, 248, 242, .04);
}
.btn--outline-light svg { color: var(--gold-300); }
.btn--outline-light:hover { border-color: var(--gold-300); background: rgba(251, 248, 242, .08); }

.btn[aria-busy="true"], .btn:disabled { opacity: .72; cursor: progress; }

.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }
.btn-row--center { justify-content: center; }

/* Split pill: one shape, two real links (Call | Text) */
.btn-split {
  display: inline-flex;
  align-items: stretch;
  min-height: 54px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: rgba(255, 255, 255, .6);
}
.btn-split__part {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 0 22px;
  border-radius: 999px;
  font: 600 var(--fs-ui)/1.2 var(--font-sans);
  color: var(--green-900);
  text-decoration: none;
  white-space: nowrap;
  transition: background-color .35s var(--ease);
}
.btn-split__part:first-child { padding-left: 24px; }
.btn-split__part + .btn-split__part { position: relative; padding-right: 24px; }
.btn-split__part + .btn-split__part::before {
  content: "";
  position: absolute;
  left: 0;
  top: 14px;
  bottom: 14px;
  width: 1px;
  background: var(--line-strong);
}
.btn-split__part svg { width: 18px; height: 18px; flex: none; color: var(--gold-text); }
.btn-split__part:hover { background: var(--white); }
.btn-split__part:focus-visible { outline-offset: -2px; border-radius: 999px; }
/* The Call half reads "Call (432) 901-8338". Where space is short one part is
   only visually hidden, so the accessible name stays whole at every width:
   "Call" alone at 1180-1359 (hero), the number alone under 380px. */
.split__num { white-space: nowrap; }

/* Arrow link with a circular affordance that fills on hover */
.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  min-height: 44px;
  font: 600 var(--fs-ui)/1.2 var(--font-sans);
  color: var(--green-900);
  text-decoration: none;
}
.link-arrow .ico {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  flex: none;
  border-radius: 50%;
  border: 1px solid var(--line-strong);
  transition: background-color .4s var(--ease), border-color .4s var(--ease), color .4s var(--ease);
}
.link-arrow svg { width: 17px; height: 17px; transition: transform .45s var(--ease-out); }
.link-arrow:hover .ico { background: var(--green-800); border-color: var(--green-800); color: var(--ivory); }
.link-arrow:hover svg { transform: translateX(2px); }
.on-dark .link-arrow { color: var(--ivory); }
.on-dark .link-arrow .ico { border-color: rgba(251, 248, 242, .3); }
.on-dark .link-arrow:hover .ico { background: var(--gold-300); border-color: var(--gold-300); color: var(--green-900); }

/* Text link (inline, underlined in gold) */
.text-link {
  color: var(--green-900);
  font-weight: 600;
  text-decoration: underline;
  text-decoration-color: var(--line-gold);
  text-decoration-thickness: 1px;
  text-underline-offset: .22em;
  transition: text-decoration-color .3s var(--ease);
}
.text-link:hover { text-decoration-color: var(--gold-500); }
/* An in-page action styled as a text link: <button type="button" class="text-link"> */
button.text-link {
  min-height: 44px;
  padding: 0 4px;
  border: 0;
  background: none;
  font: inherit;
  font-weight: 600;
  cursor: pointer;
}

/* Stretched link: the whole card is the hit area, the link is the accessible name */
.stretched::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  border-radius: inherit;
}


/* ==========================================================================
   07  Header, brand lockup, nav and mobile sheet
   ========================================================================== */
.site-header {
  --hh: var(--header-h);
  position: sticky;
  top: 0;
  z-index: 50;
}
.site-header.is-scrolled { --hh: var(--header-h-compact); }

/* Frosted layer lives on ::before so the fixed mobile sheet is never trapped */
.site-header::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(251, 248, 242, .82);
  -webkit-backdrop-filter: saturate(1.6) blur(18px);
  backdrop-filter: saturate(1.6) blur(18px);
  border-bottom: 1px solid transparent;
  transition: background-color .4s var(--ease), border-color .4s var(--ease), box-shadow .4s var(--ease);
}
.site-header.is-scrolled::before {
  background: rgba(251, 248, 242, .9);
  border-bottom-color: var(--line);
  box-shadow: 0 10px 30px -24px rgba(20, 43, 36, .35);
}
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .site-header::before,
  .site-header.is-scrolled::before { background: rgba(251, 248, 242, .97); }
}

.header__inner {
  position: relative;
  display: flex;
  align-items: center;
  gap: clamp(16px, 2vw, 28px);
  height: var(--hh);
  transition: height .4s var(--ease);
}

/* Brand lockup: Version 1 gold crest + green CROWN + charcoal tracked descriptor.
   The descriptor is live text (legible at any size); its width sets the lockup width
   and the CROWN word scales to match it, as in the stacked logo. */
.brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  flex: 0 1 auto;      /* may give way on very narrow screens; the menu toggle never does */
  min-width: 0;
  color: var(--ink);
  text-decoration: none;
  border-radius: 10px;
}
/* Compact (scrolled) header: the lockup is not scaled, so the live descriptor
   never drops under 11px. The crest and rule shorten, and the descriptor's
   tracking tightens; CROWN's width follows the descriptor, so the whole
   lockup shrinks by about the same amount. */
.brand__crest { width: auto; height: 66px; flex: none; transition: height .4s var(--ease); }
.site-header.is-scrolled .brand__crest { height: 58px; }
.site-header.is-scrolled .brand__type { --ls: .09em; row-gap: 6px; }
.brand__rule {
  flex: none;
  width: 1px;
  height: 50px;
  background: linear-gradient(180deg, transparent, var(--gold-500) 22%, var(--gold-500) 78%, transparent);
  opacity: .8;
  transition: height .4s var(--ease);
}
.site-header.is-scrolled .brand__rule { height: 42px; }
.brand__type {
  --ls: .16em;
  display: inline-grid;
  row-gap: 7px;
  min-width: 0;
}
.brand__word {
  display: block;
  width: 0;
  min-width: 100%;
  height: auto;
  aspect-ratio: 420 / 90;
}
.brand__desc {
  display: block;
  margin-right: calc(-1 * var(--ls));
  font: 500 .6875rem/1 var(--font-sans);
  letter-spacing: var(--ls);
  text-transform: uppercase;
  white-space: nowrap;
  color: var(--ink);
  transition: letter-spacing .4s var(--ease), margin .4s var(--ease);
}
.brand--light { color: var(--ivory); }
.brand--light .brand__desc { color: rgba(251, 248, 242, .86); }

/* Primary nav (desktop) */
.nav { margin-inline: auto; }
.nav__list { display: flex; gap: clamp(20px, 2.2vw, 36px); list-style: none; }
.nav__link {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 44px;
  font: 500 var(--fs-ui)/1.2 var(--font-sans);
  color: var(--ink);
  text-decoration: none;
  transition: color .3s var(--ease);
}
.nav__link::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 8px;
  height: 1px;
  background: var(--gold-500);
  transform: scaleX(0);
  transition: transform .45s var(--ease-out);
}
.nav__link:hover { color: var(--green-800); }
.nav__link:hover::after { transform: scaleX(1); }
.nav__link[aria-current="page"] { color: var(--green-800); font-weight: 600; }
.nav__link[aria-current="page"]::after {
  left: 50%;
  right: auto;
  bottom: 0;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  transform: translateX(-50%);
}
.nav__extras { display: none; }
/* Six links (FAQ sits between About and Contact, item 05 in the sheet). Measured
   with the short header button ("Request a Quote"): about 48px clear on each
   side of the nav at 1180px, more above. Keep that button short. */

/* Header actions */
.header__actions { display: flex; align-items: center; gap: 16px; flex: none; }
.header__phone {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  font: 600 .875rem/1 var(--font-sans);
  color: var(--green-900);
  text-decoration: none;
  border-radius: 999px;
}
.header__phone-ico {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid var(--line-strong);
  color: var(--gold-text);
  transition: background-color .35s var(--ease), border-color .35s var(--ease), color .35s var(--ease);
}
.header__phone-ico svg { width: 17px; height: 17px; }
.header__phone:hover .header__phone-ico { background: var(--green-800); border-color: var(--green-800); color: var(--ivory); }
.header__phone-num { display: none; }

/* Menu toggle */
.nav-toggle {
  display: none;
  flex: none;
  align-items: center;
  gap: 10px;
  height: 44px;
  padding: 0 16px 0 18px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: rgba(255, 255, 255, .6);
  color: var(--green-900);
  font: 600 .8125rem/1 var(--font-sans);
  letter-spacing: .06em;
}
.nav-toggle__bars { position: relative; display: block; width: 18px; height: 10px; flex: none; }
.nav-toggle__bars span {
  position: absolute;
  left: 0;
  right: 0;
  height: 1.5px;
  border-radius: 2px;
  background: currentColor;
  transition: transform .4s var(--ease-out), top .4s var(--ease-out);
}
.nav-toggle__bars span:first-child { top: 1px; }
.nav-toggle__bars span:last-child { top: 7.5px; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars span:first-child { top: 4.25px; transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars span:last-child { top: 4.25px; transform: rotate(-45deg); }

@media (min-width: 1300px) {
  .header__phone-num { display: inline; }
}

/* Below the nav breakpoint: the same <nav> becomes a full-height sheet */
@media (max-width: 1179.98px) {
  .nav-toggle { display: inline-flex; }
  .header__actions { margin-left: auto; gap: 12px; }
  .brand__crest { height: 62px; }
  .site-header.is-scrolled .brand__crest { height: 54px; }
  .brand__type { --ls: .14em; row-gap: 6px; }

  .js .nav {
    position: fixed;
    inset: var(--hh) 0 0 0;
    z-index: 49;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 40px;
    margin: 0;
    padding: 24px max(var(--pad), (100vw - 760px) / 2) calc(28px + env(safe-area-inset-bottom));
    overflow-y: auto;
    overscroll-behavior: contain;
    background: var(--ivory);
    border-top: 1px solid var(--line);
    visibility: hidden;
    opacity: 0;
    transform: translateY(-8px);
    transition: opacity .35s var(--ease), transform .45s var(--ease-out), visibility 0s linear .45s, top .4s var(--ease);
  }
  .js.menu-open .nav {
    visibility: visible;
    opacity: 1;
    transform: none;
    transition: opacity .35s var(--ease), transform .45s var(--ease-out), visibility 0s, top .4s var(--ease);
  }
  .js.menu-open .site-header::before { background: var(--ivory); border-bottom-color: var(--line); }
  html.js.menu-open,
  html.js.menu-open body { overflow: hidden; }

  .js .nav__list { flex-direction: column; gap: 0; counter-reset: navitem; }
  .js .nav__list li { border-bottom: 1px solid var(--line); }
  .js .nav__link {
    justify-content: flex-start;
    gap: 16px;
    min-height: 0;
    padding: 15px 2px;
    font: 500 clamp(1.875rem, 1.4rem + 2vw, 2.5rem)/1.15 var(--font-display);
    color: var(--green-900);
    counter-increment: navitem;
  }
  .js .nav__link::before {
    content: "0" counter(navitem);
    min-width: 1.6em;
    font: italic 500 1.0625rem/1 var(--font-display);
    color: var(--gold-text);
  }
  .js .nav__link::after { display: none; }
  .js .nav__link[aria-current="page"] { color: var(--gold-text); font-style: italic; font-weight: 500; }

  .js .nav__extras { display: grid; gap: 12px; }
  .nav__pair { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
  .nav__email {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    margin-top: 4px;
    text-align: center;
    font-size: .875rem;
    color: var(--muted);
    overflow-wrap: anywhere;
  }

  /* No-JS fallback: the nav becomes a wrapping row under the brand */
  .no-js .nav-toggle { display: none; }
  .no-js .header__inner { flex-wrap: wrap; height: auto; padding-block: 12px; row-gap: 4px; }
  .no-js .nav { order: 3; width: 100%; margin: 0; }
  .no-js .nav__list { flex-wrap: wrap; column-gap: 18px; row-gap: 0; }
}

/* Header CTA/phone only where the dock is not shown */
@media (max-width: 1023.98px) {
  .header__phone, .header__cta { display: none; }
}

@media (max-width: 639.98px) {
  .brand { gap: 10px; }
  .brand__rule { display: none; }
  .brand__crest { height: 56px; }
  .site-header.is-scrolled .brand__crest { height: 50px; }
  .site-header.is-scrolled .brand__type { --ls: .05em; row-gap: 4px; }
  .brand__type { --ls: .1em; row-gap: 5px; }
}
@media (max-width: 409.98px) {
  .nav-toggle { width: 44px; padding: 0; justify-content: center; }
  .nav-toggle__label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
}
/* 320-359px (400% zoom of a 1280px screen): a smaller lockup, so nothing overflows */
@media (max-width: 359.98px) {
  .brand { gap: 8px; }
  .brand__crest, .site-header.is-scrolled .brand__crest { height: 46px; }
  .brand__type { --ls: .06em; }
  .header__actions { gap: 8px; }
}


/* ==========================================================================
   08  Hero (home, interior page, compact)
   ========================================================================== */
.hero { padding-top: clamp(24px, 4vw, 60px); }

.hero__top {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: var(--gutter);
  row-gap: 26px;
  align-items: end;
  margin-bottom: clamp(28px, 3.6vw, 52px);
}
.hero__intro { grid-column: 1 / span 6; }
.hero__intro .eyebrow { margin-bottom: clamp(18px, 2vw, 26px); }
.hero__aside { grid-column: 7 / -1; padding-bottom: 8px; }
.hero__aside .lede { max-width: 34em; }
.hero__aside .btn-row { margin-top: 28px; }

/* Assurances: the owner-confirmed trust facts, as a quiet checked list
   (Home hero under the CTAs, Contact quote aside with .assure--stack).
   Never add coverage amounts or certifications here.
   <ul class="assure" role="list"><li><svg aria-hidden="true"><use href="#i-check"/></svg>Licensed, bonded &amp; insured</li>… */
.assure {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 26px;
  margin-top: 24px;
  list-style: none;
}
.assure li {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font: 500 .875rem/1.35 var(--font-sans);
  color: var(--ink);
}
.assure svg {
  width: 24px;
  height: 24px;
  flex: none;
  padding: 5px;
  border-radius: 50%;
  border: 1px solid var(--line-gold);
  background: rgba(255, 255, 255, .7);
  color: var(--gold-text);
}
.assure--stack { flex-direction: column; gap: 12px; }
.section-head__body.assure { margin-top: 0; }

.hero__media {
  position: relative;
  height: clamp(340px, 40vw, 600px);
  border-radius: var(--r-xl);
  overflow: hidden;
  background: var(--cream);
  isolation: isolate;
}
/* Crop per page with custom properties on .hero__media:
   style="--pos: 50% 46%; --pos-sm: 18% 50%"  (--pos-sm applies under 640px) */
.hero__media > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: var(--pos, 50% 84%);
}
.hero__media::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 36%;
  background: linear-gradient(to top, rgba(20, 43, 36, .14), transparent);
  pointer-events: none;
}

/* Interior pages: same composition, calmer scale */
.hero--page .display { font-size: clamp(2.625rem, 1.5rem + 4.2vw, 5.25rem); }
.hero--page .hero__media { height: clamp(300px, 34vw, 520px); }

/* Compact: no large photo (Contact, FAQ). Opens with .hero__rule (below) */
.hero--compact { padding-bottom: clamp(8px, 2vw, 24px); }
.hero--compact .hero__top { margin-bottom: 0; }
.hero--compact .display { font-size: clamp(2.625rem, 1.5rem + 4.2vw, 5.25rem); }
/* Compact heroes (Contact, FAQ) open with the logo's dot-ended divider instead
   of a second crest (the header already carries one) */
.hero__rule { margin: 0 3px clamp(20px, 2.4vw, 30px); }

/* 1180-1359: keep the side-by-side composition with one inline CTA row; the
   split pill shows "Call | Text" (the number stays in its accessible name and
   is in the header from 1300px). Paddings are trimmed so "Request a Free
   Quote" and the pill share one row in the 447px aside at 1180. */
@media (min-width: 1180px) and (max-width: 1359.98px) {
  .hero__intro { grid-column: 1 / span 7; }
  .hero__aside { grid-column: 8 / -1; }
  .hero__aside .btn-row { flex-wrap: nowrap; gap: 8px; }
  .hero__aside .btn { padding: 0 20px; }
  .hero__aside .btn-split__part { padding: 0 18px; }
  .hero__aside .btn-split__part:first-child { padding-left: 20px; }
  .hero__aside .btn-split__part + .btn-split__part { padding-right: 20px; }
  .hero__aside .split__num { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
}
/* Below 1180: the intro, then the lede and an inline CTA row (single column) */
@media (max-width: 1179.98px) {
  .hero__intro, .hero__aside { grid-column: 1 / -1; }
  .hero__aside .lede { max-width: 36em; }
  .hero__aside .btn-row { margin-top: 24px; }
}
@media (max-width: 639.98px) {
  .hero__aside { grid-column: 1 / -1; }
  .hero__aside .btn-row { flex-direction: column; align-items: stretch; margin-top: 24px; }
  .hero__aside .btn-split { display: flex; }
  .hero__aside .btn-split__part:first-child { flex: 1; }
  .assure { margin-top: 20px; gap: 10px 20px; }
  .hero__media { height: auto; aspect-ratio: 4 / 4.2; }
  .hero__media > img { object-position: var(--pos-sm, var(--pos, 50% 50%)); }
  /* Home only: zoom past the ceiling so the sofas and rug fill the frame */
  .hero:not(.hero--page) .hero__media > img { position: absolute; left: 0; bottom: 0; height: 128%; object-position: 42% 100%; }
  /* height:auto releases the desktop clamp() height (0,2,0), so the ratio sets
     the height; otherwise the fixed height plus the ratio widens the frame
     past the container (353px wide at 360). */
  .hero--page .hero__media { height: auto; aspect-ratio: 4 / 3.4; }
}
@media (max-width: 379.98px) {
  .btn-split__part { padding: 0 16px; gap: 8px; }
  .btn-split__part:first-child { padding-left: 18px; }
  .btn-split__part + .btn-split__part { padding-right: 18px; }
  .split__call { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
}


/* ==========================================================================
   09  Hallmark band and spaces strip
   ========================================================================== */
.hallmark { position: relative; margin-top: clamp(-64px, -4.4vw, -40px); }
.hallmark__row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: center;
  column-gap: clamp(20px, 3.4vw, 56px);
}
.hallmark__rule {
  position: relative;
  height: 1px;
  background: linear-gradient(90deg, rgba(196, 154, 76, 0), var(--gold-500));
}
.hallmark__rule::after {
  content: "";
  position: absolute;
  right: -3px;
  top: -2px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--gold-500);
}
.hallmark__rule--end { background: linear-gradient(270deg, rgba(196, 154, 76, 0), var(--gold-500)); }
.hallmark__rule--end::after { right: auto; left: -3px; }

/* Spaces strip: Homes · Apartments · ... (a forced break balances it on phones) */
.spaces {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  row-gap: 14px;
  margin-top: clamp(32px, 4vw, 52px);
  list-style: none;
}
.spaces li {
  display: flex;
  align-items: center;
  font: 500 var(--fs-eyebrow)/1 var(--font-sans);
  letter-spacing: .26em;
  text-transform: uppercase;
  color: var(--muted);
}
.spaces li + li::before {
  content: "";
  width: 8px;
  height: 8px;
  margin: 0 clamp(14px, 1.8vw, 26px);
  background: var(--gold-500);
  -webkit-mask: var(--sparkle) center / contain no-repeat;
  mask: var(--sparkle) center / contain no-repeat;
}
.spaces .spaces__break { display: none; }

/* Linked variant: a jump-link index under an interior hero (Residential).
   <nav aria-label="…"><ul class="spaces spaces--links" role="list"><li><a href="#deep">… */
/* Links read as links at rest (touch has no hover): green text on a soft gold
   underline that firms up on hover. */
.spaces--links { row-gap: 0; margin-top: clamp(24px, 3vw, 40px); }
.spaces--links li { color: var(--green-800); font-weight: 600; }
.spaces--links a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: inherit;
  text-decoration: none;
  background:
    linear-gradient(var(--gold-500), var(--gold-500)) 0 calc(50% + .95em) / 0 1px no-repeat,
    linear-gradient(var(--line-gold), var(--line-gold)) 0 calc(50% + .95em) / calc(100% - .26em) 1px no-repeat;
  transition: background-size .45s var(--ease-out), color .3s var(--ease);
}
.spaces--links a:hover { color: var(--green-900); background-size: calc(100% - .26em) 1px, calc(100% - .26em) 1px; }

@media (max-width: 899.98px) {
  .spaces .spaces__break { display: block; flex-basis: 100%; height: 0; }
  .spaces .spaces__break::before,
  .spaces .spaces__break + li::before { display: none; }
}
@media (max-width: 639.98px) {
  .hallmark { margin-top: -40px; }
  .hallmark__row { column-gap: 0; }
  .hallmark__rule { visibility: hidden; }
  .spaces li { font-size: .6875rem; letter-spacing: .12em; }
  .spaces li + li::before { margin: 0 9px; width: 7px; height: 7px; }
}


/* ==========================================================================
   10  Two paths (Simply Crown / Tailored by Crown)
   Equal surfaces; differentiated only by a quiet accent (--accent).
   ========================================================================== */
.paths__grid {
  position: relative;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: var(--gutter);
  container-type: inline-size;
}

.path-card {
  --mx: 50%;
  --my: 0%;
  --accent: var(--green-700);
  --card-x: clamp(14px, 2.6vw, 34px);
  position: relative;
  display: flex;
  flex-direction: column;
  padding: var(--inset) var(--inset) clamp(18px, 2.4vw, 30px);
  border-radius: var(--r-xl);
  background: var(--white);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-1);
  isolation: isolate;
  transition: transform .6s var(--ease-out), box-shadow .6s var(--ease-out);
}
.path-card--tailored { --accent: var(--gold-600); }
.path-card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  border-radius: inherit;
  background: radial-gradient(420px circle at var(--mx) var(--my), rgba(196, 154, 76, .1), transparent 60%);
  opacity: 0;
  transition: opacity .5s var(--ease);
}
.path-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-2); }
.path-card:hover::before { opacity: 1; }

.path-card > :not(.path-card__media) { margin-inline: var(--card-x); }

.path-card__media {
  aspect-ratio: 16 / 8.4;
  margin-bottom: clamp(24px, 3vw, 38px);
  border-radius: calc(var(--r-xl) - var(--inset));
  overflow: hidden;
  background: var(--cream);
}
.path-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.4s var(--ease-out);
}
.path-card:hover .path-card__media img { transform: scale(1.04); }

/* The kicker's first line is centered on the 40px numeral, and the row is
   top-aligned, so the two cards' kickers start level even when one wraps
   (e.g. "For the particular and the intricate" at 1024). */
.path-card__meta {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 14px;
}
.path-card__meta .kicker { padding-top: calc((40px - 1.4em) / 2); }
/* side by side, a one- or two-line kicker gives the same row height, so the
   titles line up in the compact (non-subgrid) cards too */
@media (min-width: 700px) {
  .path-card__meta { min-height: calc((40px - 1.4 * .6875rem) / 2 + 2.8 * .6875rem); }
}
.path-card__index {
  display: grid;
  place-items: center;
  flex: none;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid var(--accent);
  font: italic 500 1.1875rem/1 var(--font-display);
  color: var(--accent);
}
.path-card--tailored .path-card__index { color: var(--gold-text); }
.path-card__title { font-size: clamp(2.25rem, 1.6rem + 1.6vw, 3.125rem); line-height: 1.04; }
.path-card__text { margin-top: 14px; color: var(--muted); max-width: 34em; }
.path-card .ticks { margin-top: 26px; margin-bottom: 30px; align-content: start; }   /* a subgrid row may be taller than its list: keep the gaps even */
.path-card .link-arrow { margin-top: auto; align-self: flex-start; }
.path-card:hover .link-arrow .ico { background: var(--accent); border-color: var(--accent); color: var(--white); }
.path-card:hover .link-arrow svg { transform: translateX(2px); }

/* The quiet "or" medallion between the two paths */
.paths__or {
  position: absolute;
  z-index: 3;
  left: 50%;
  top: 40%;
  top: calc(var(--inset) + (50cqi - var(--gutter) / 2 - 2 * var(--inset)) * .525 + 1px);
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  translate: -50% -50%;
  border-radius: 50%;
  background: var(--ivory);
  border: 1px solid var(--line-gold);
  box-shadow: 0 0 0 6px var(--ivory), 0 12px 24px -14px rgba(20, 43, 36, .45);
  font: italic 500 1.375rem/1 var(--font-display);
  color: var(--gold-text);
  pointer-events: none;
}

/* Align internals across both cards (titles may wrap differently) */
@supports (grid-template-rows: subgrid) {
  @media (min-width: 700px) {
    .paths__grid { grid-template-rows: repeat(6, auto); }
    .path-card {
      display: grid;
      grid-row: span 6;
      grid-template-rows: subgrid;
      row-gap: 0;
    }
    .path-card .link-arrow { margin-top: 0; align-self: end; justify-self: start; }
  }
}

/* Compact variant for interior pages: no photos, one line each */
.paths--compact .path-card { padding: clamp(24px, 3vw, 40px) var(--inset) clamp(24px, 3vw, 36px); }
.paths--compact .path-card__media { display: none; }
.paths--compact .paths__or { top: 50%; }
.paths--compact .paths__grid { grid-template-rows: none; }
.paths--compact .path-card { grid-row: auto; display: flex; }
/* No link inside: no lift, no glow (it would promise a click) */
.paths--compact .path-card:hover { transform: none; box-shadow: var(--shadow-1); }
.paths--compact .path-card:hover::before { opacity: 0; }
.paths__cta { display: flex; justify-content: center; margin-top: clamp(28px, 3.4vw, 44px); }

/* Sparkle tick list (feature list) */
.ticks {
  display: grid;
  gap: 12px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  list-style: none;
}
.ticks li {
  display: grid;
  grid-template-columns: 12px 1fr;
  gap: 14px;
  align-items: baseline;
  font-size: var(--fs-small);
  line-height: 1.55;
}
.ticks li::before {
  content: "";
  width: 9px;
  height: 9px;
  transform: translateY(-1px);
  background: var(--gold-500);
  -webkit-mask: var(--sparkle) center / contain no-repeat;
  mask: var(--sparkle) center / contain no-repeat;
}
.ticks--plain { padding-top: 0; border-top: 0; }

/* 700-899 (tablets): still two up, so the section stays one screen tall */
@media (min-width: 700px) and (max-width: 899.98px) {
  .path-card__media { aspect-ratio: 16 / 10; }
  .paths__or { top: calc(var(--inset) + (50cqi - var(--gutter) / 2 - 2 * var(--inset)) * .625 + 1px); width: 48px; height: 48px; font-size: 1.25rem; }
}
@media (max-width: 699.98px) {
  .paths__grid { grid-template-columns: 1fr; }
  .path-card__media { aspect-ratio: 16 / 8.6; }
  .paths__or {
    position: relative;
    left: auto;
    top: auto;
    translate: none;
    justify-self: center;
    margin: -24px 0;
  }
  /* keep text clear of the medallion where the cards meet */
  .path-card { padding-bottom: 44px; }
  .paths--compact .path-card { padding-top: 48px; padding-bottom: 48px; }
}


/* ==========================================================================
   11  Services bento (home)
   ========================================================================== */
/* Rows have a floor but grow to fit (the note tile needs ~270px at 900-1280).
   Whole tiles are links: the panel and label are in flow (not positioned) and
   carry no backdrop-filter, so the tile itself is the containing block for the
   link's .stretched::after overlay. The photo sits behind on z-index -1
   (inside the tile's isolated stacking context). */
.bento {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  grid-auto-rows: minmax(clamp(220px, 19.6vw, 292px), auto);
  gap: var(--gutter);
}
.tile {
  position: relative;
  border-radius: var(--r-xl);
  overflow: hidden;
  background: var(--cream);
  isolation: isolate;
}
.tile > img {
  position: absolute;
  z-index: -1;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.6s var(--ease-out);
}
.tile:hover > img { transform: scale(1.045); }
.tile--feature,
.tile--mini {
  display: flex;
  align-items: flex-end;
  padding: 14px;
}
.tile--com { justify-content: flex-end; }

.tile--res   { grid-column: 1 / span 7; grid-row: 1 / span 2; }
.tile--m1    { grid-column: 8 / -1;     grid-row: 1; }
.tile--m2    { grid-column: 8 / -1;     grid-row: 2; }
.tile--com   { grid-column: 6 / -1;     grid-row: 3 / span 2; }
.tile--m3    { grid-column: 1 / span 5; grid-row: 3; }
.tile--note  { grid-column: 1 / span 5; grid-row: 4; }

.tile--res > img { object-position: 30% 60%; }
.tile--m1 > img  { object-position: 50% 30%; }
.tile--m2 > img  { object-position: 50% 45%; }
.tile--com > img { object-position: 50% 55%; }
.tile--m3 > img  { object-position: 50% 62%; }

.tile__panel {
  width: min(440px, 100%);
  padding: clamp(20px, 2.2vw, 30px);
  border-radius: calc(var(--r-xl) - 14px);
  background: rgba(251, 248, 242, .95);
  border: 1px solid rgba(255, 255, 255, .7);
  box-shadow: 0 18px 40px -26px rgba(20, 43, 36, .55);
}
.tile__eyebrow {
  margin-bottom: 8px;
  font: 600 .6875rem/1.3 var(--font-sans);
  letter-spacing: .24em;
  text-transform: uppercase;
  color: var(--gold-text);
}
.tile__title { font-size: clamp(2.125rem, 1.6rem + 1.4vw, 2.875rem); line-height: 1.02; }
.tile__text { margin: 10px 0 16px; font-size: var(--fs-small); line-height: 1.6; color: var(--ink); }
.tile:hover .link-arrow .ico { background: var(--green-800); border-color: var(--green-800); color: var(--ivory); }
.tile:hover .link-arrow svg { transform: translateX(2px); }

.tile__label {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  max-width: 100%;
  min-height: 48px;
  padding: 6px 6px 6px 18px;
  border-radius: 999px;
  background: rgba(251, 248, 242, .95);
  border: 1px solid rgba(255, 255, 255, .7);
  box-shadow: 0 10px 24px -18px rgba(20, 43, 36, .6);
  font: 600 .875rem/1.25 var(--font-sans);
  color: var(--green-900);
  text-decoration: none;
}
.tile__label .ico {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  flex: none;
  border-radius: 50%;
  background: var(--green-800);
  color: var(--ivory);
  transition: transform .5s var(--ease-out), background-color .4s var(--ease);
}
.tile__label svg { width: 15px; height: 15px; }
/* the overlay must stay a full rectangle (the pill's 999px radius would turn it
   into a circle and leave the corners dead); the tile clips it anyway */
.tile .stretched::after { border-radius: 0; }
.tile:hover .tile__label .ico { transform: rotate(-45deg); background: var(--green-900); }

.tile--note {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 20px;
  padding: clamp(22px, 2.6vw, 36px);
  background:
    linear-gradient(rgba(255, 255, 255, .8), rgba(255, 255, 255, .8)),
    url("/assets/img/texture-md.webp") center / cover;
  border: 1px solid var(--line);
}
.tile__badge {
  position: absolute;
  top: clamp(22px, 2.6vw, 36px);
  right: clamp(22px, 2.6vw, 36px);
  z-index: 1;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--gold-gradient);
  box-shadow: 0 8px 18px -10px rgba(138, 106, 46, .8);
}
.tile__badge::before {
  content: "";
  width: 16px;
  height: 16px;
  background: var(--white);
  -webkit-mask: var(--sparkle) center / contain no-repeat;
  mask: var(--sparkle) center / contain no-repeat;
}
.tile__note-title { font-size: clamp(1.75rem, 1.4rem + 1vw, 2.25rem); line-height: 1.08; max-width: 12em; padding-right: 52px; }
.tile--note p { margin-top: 10px; color: var(--muted); font-size: var(--fs-small); max-width: 28em; }

@media (max-width: 899.98px) {
  .bento { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: auto; }
  .tile--res, .tile--com { grid-column: 1 / -1; grid-row: auto; aspect-ratio: 4 / 3.2; }
  .tile--m1, .tile--m2, .tile--m3 { grid-column: auto; grid-row: auto; aspect-ratio: 1 / 1; }
  .tile--note { grid-column: auto; grid-row: auto; }
  .tile--com { justify-content: flex-start; }
}
@media (max-width: 639.98px) {
  .bento { gap: 12px; }
  /* Feature tiles stack: photo on top, panel below, so the photo stays visible */
  .tile--res, .tile--com {
    flex-direction: column;
    align-items: stretch;
    aspect-ratio: auto;
    padding: var(--inset);
    background: var(--white);
    border: 1px solid var(--line);
    box-shadow: var(--shadow-1);
  }
  .tile--res > img, .tile--com > img {
    position: static;
    height: auto;
    aspect-ratio: 4 / 3;
    border-radius: calc(var(--r-xl) - var(--inset));
  }
  .tile--feature .tile__panel {
    width: auto;
    padding: 22px 12px 8px;
    background: none;
    border: 0;
    box-shadow: none;
  }
  .tile--m1, .tile--m2, .tile--m3 { grid-column: 1 / -1; aspect-ratio: 16 / 9.5; padding: 10px; }
  .tile--note { grid-column: 1 / -1; }
}


/* ==========================================================================
   12  Our standard and pillars
   ========================================================================== */
.standard__grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: var(--gutter);
  row-gap: 56px;
  align-items: center;
}
.standard__text { grid-column: 1 / span 6; }
.standard__body { margin: 24px 0 40px; color: var(--muted); max-width: 36em; }
.standard__text .verse { margin-bottom: 36px; }
.standard__media { grid-column: 8 / -1; width: min(calc(100% - 28px), 440px); justify-self: end; }
.standard__media img { object-position: 34% 50%; }

/* Pillars: open columns under a dot-ended rule. Set --cols for 3 or 5 items. */
.pillars {
  --cols: 4;
  position: relative;
  display: grid;
  grid-template-columns: repeat(var(--cols), minmax(0, 1fr));
  margin-top: clamp(64px, 8vw, 112px);
  padding-top: 34px;
  list-style: none;
}
.pillars::before {
  content: "";
  position: absolute;
  top: 0;
  left: 3px;
  right: 3px;
  height: 1px;
  background: var(--gold-500);
}
.pillars::after {
  content: "";
  position: absolute;
  top: -2px;
  left: 0;
  right: 0;
  height: 5px;
  background:
    radial-gradient(circle, var(--gold-500) 2.5px, transparent 3px) left center / 5px 5px no-repeat,
    radial-gradient(circle, var(--gold-500) 2.5px, transparent 3px) right center / 5px 5px no-repeat;
}
.pillar {
  padding: 4px clamp(16px, 2.2vw, 32px) 4px 0;
}
.pillar + .pillar { padding-left: clamp(16px, 2.2vw, 32px); border-left: 1px solid var(--line); }
.pillar__icon {
  display: block;
  width: 13px;
  height: 13px;
  margin-bottom: 18px;
  background: var(--gold-500);
  -webkit-mask: var(--sparkle) center / contain no-repeat;
  mask: var(--sparkle) center / contain no-repeat;
}
.pillar h3 { font-size: clamp(1.625rem, 1.4rem + .6vw, 1.875rem); line-height: 1.1; }
.pillar p { margin-top: 8px; font-size: var(--fs-small); line-height: 1.6; color: var(--muted); }

/* Directly under a section head, the head's margin is enough */
.section-head + .pillars { margin-top: 0; }

/* Columns (640px and up): icon, title and body share row tracks across each
   row of pillars, so a one-line title beside two-line titles keeps the bodies
   level (Commercial "Recurring janitorial plans.", About "A personal approach.") */
@supports (grid-template-rows: subgrid) {
  @media (min-width: 640px) {
    .pillar { display: grid; grid-row: span 3; grid-template-rows: subgrid; row-gap: 0; align-content: start; }
    .pillar > * { align-self: start; }
  }
}

/* Five items (About): five columns only where every title fits (>= 1280px) */
@media (min-width: 1280px) {
  .pillars--5 { --cols: 5; }
}
@media (min-width: 1024px) and (max-width: 1279.98px) {
  .pillars--5 { --cols: 3; row-gap: 40px; }
  .pillars--5 .pillar:nth-child(3n + 1) { padding-left: 0; border-left: 0; }
}

@media (max-width: 1023.98px) {
  .standard__text { grid-column: 1 / span 7; }
  .standard__media { grid-column: 8 / -1; }
  .pillars { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 32px; }
  .pillar:nth-child(odd) { padding-left: 0; border-left: 0; }
}
@media (max-width: 899.98px) {
  .standard__text { grid-column: 1 / -1; }
  .standard__media { grid-column: 1 / -1; width: min(calc(100% - 28px), 340px); justify-self: center; }
}
@media (max-width: 639.98px) {
  .pillars { grid-template-columns: 1fr; row-gap: 0; padding-top: 8px; }
  .pillar, .pillar + .pillar {
    display: grid;
    grid-template-columns: 13px 1fr;
    column-gap: 18px;
    padding: 22px 0;
    border-left: 0;
  }
  .pillar + .pillar { border-top: 1px solid var(--line); }
  .pillar__icon { grid-row: span 2; margin: 10px 0 0; }
  .pillar p { margin-top: 4px; }
}


/* ==========================================================================
   13  Process steps
   ========================================================================== */
.process__panel {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: var(--gutter);
  row-gap: 40px;
  padding: clamp(28px, 5.4vw, 88px);
  border-radius: calc(var(--r-xl) + 8px);
  background: var(--white);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-1);
}
.process__aside {
  grid-column: 1 / span 5;
  align-self: start;
  position: sticky;
  top: calc(var(--header-h-compact) + 32px);
}
.process__aside .btn { margin-top: 32px; }
.process__photo {
  margin-top: 40px;
  aspect-ratio: 5 / 3.4;
  border-radius: var(--r-lg);
  overflow: hidden;
  background: var(--cream);
}
.process__photo img { width: 100%; height: 100%; object-fit: cover; object-position: 62% 50%; }

.steps { grid-column: 7 / -1; list-style: none; }
.step {
  position: relative;
  display: grid;
  grid-template-columns: clamp(56px, 6vw, 84px) 1fr;
  gap: 16px;
  padding: clamp(26px, 3vw, 38px) 0;
  border-top: 1px solid var(--line);
}
.step:first-child { padding-top: 6px; border-top: 0; }
.step:last-child { padding-bottom: 0; }
.step::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: -1px;
  height: 1px;
  background: var(--gold-500);
  transform: scaleX(0);
  transform-origin: left;
}
.step:first-child::before { display: none; }
.step__num {
  font: italic 500 clamp(2.5rem, 2rem + 1.4vw, 3.375rem)/.9 var(--font-display);
  color: var(--gold-600);
  letter-spacing: -.02em;
}
.step h3 { font-size: clamp(1.6875rem, 1.4rem + .8vw, 2.125rem); line-height: 1.1; }
.step p { margin-top: 10px; color: var(--muted); max-width: 32em; }

/* Without the aside (interior pages): steps span the panel */
.process__panel--solo .steps { grid-column: 1 / -1; }

/* Text-only panel (no photo in the aside): on wide screens the four steps sit
   two by two, so the panel stays about as tall as its intro.
   <div class="process__panel process__panel--text"> */
@media (min-width: 1280px) {
  .process__panel--text { align-items: center; }
  .process__panel--text .process__aside { grid-column: 1 / span 4; align-self: center; position: static; }
  .process__panel--text .steps {
    grid-column: 5 / -1;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: clamp(32px, 3.4vw, 56px);
  }
  .process__panel--text .step { grid-template-columns: clamp(52px, 4.4vw, 68px) 1fr; }
  .process__panel--text .step:nth-child(2) { padding-top: 6px; border-top: 0; }
  .process__panel--text .step:nth-child(2)::before { display: none; }
  .process__panel--text .step:nth-child(n + 3) { padding-bottom: 0; }
}

@media (max-width: 1023.98px) {
  .process__aside {
    grid-column: 1 / -1;
    position: static;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--gutter);
    align-items: end;
  }
  .process__photo { margin-top: 0; }
  .process__aside > :only-child { grid-column: 1 / -1; }   /* no photo: the intro spans */
  .steps { grid-column: 1 / -1; }
}
@media (max-width: 639.98px) {
  .process__panel { padding: 28px 20px 32px; border-radius: var(--r-xl); }
  .process__aside { grid-template-columns: 1fr; }
  .process__photo { margin-top: 8px; }
  .step { grid-template-columns: 52px 1fr; gap: 12px; }
}


/* ==========================================================================
   14  Interior components: split, service grid, contact cards
   ========================================================================== */

/* Split: media + text side by side. Add .split--reverse to flip. */
.split {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: var(--gutter);
  row-gap: 40px;
  align-items: center;
}
.split__media { grid-column: 1 / span 6; }
.split__text { grid-column: 8 / -1; }
.split--reverse .split__media { grid-column: 7 / -1; order: 2; }
.split--reverse .split__text { grid-column: 1 / span 5; order: 1; }
.split__text .h2 + p,
.split__text .h2 + .prose { margin-top: 24px; color: var(--muted); }
.split__text .ticks { margin-top: 28px; }
.split__text .btn-row, .split__text .link-arrow { margin-top: 32px; }
.split__media .plaque { margin-inline: auto; }

/* Pull line: a large italic serif statement with a gold dot rule */
.pull-line {
  margin-top: 32px;
  padding-top: 26px;
  border-top: 1px solid var(--line);
  font: italic 500 clamp(1.5rem, 1.2rem + 1vw, 2.125rem)/1.22 var(--font-display);
  color: var(--green-800);
  text-wrap: balance;
}

@media (max-width: 899.98px) {
  .split__media, .split--reverse .split__media,
  .split__text, .split--reverse .split__text { grid-column: 1 / -1; order: 0; }
  /* stacked: put the heading and text before the media */
  .split--text-first .split__media { order: 2; }
}

/* Service grid: cards with optional photo, an italic accent line and ticks.
   Give each card an id so other pages can deep-link (/residential#deep). */
.service-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--gutter);
}
.service-card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: var(--inset);
  border-radius: var(--r-xl);
  background: var(--white);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-1);
  scroll-margin-top: 12px;   /* on top of html's scroll-padding-top, which clears the header */
  transition: box-shadow .5s var(--ease-out), transform .5s var(--ease-out);
}
.service-card:target {
  box-shadow: 0 0 0 2px var(--gold-500), var(--shadow-2);
}
.service-card__media {
  aspect-ratio: 4 / 3;
  border-radius: calc(var(--r-xl) - var(--inset));
  overflow: hidden;
  background: var(--cream);
}
.service-card__media img { width: 100%; height: 100%; object-fit: cover; }
.service-card__body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: clamp(20px, 2.4vw, 30px) clamp(12px, 1.6vw, 20px) clamp(12px, 1.4vw, 18px);
}
.service-card__mark {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  margin-bottom: 22px;
  border-radius: 50%;
  border: 1px solid var(--line-gold);
  background: var(--ivory);
}
.service-card__mark::before {
  content: "";
  width: 13px;
  height: 13px;
  background: var(--gold-500);
  -webkit-mask: var(--sparkle) center / contain no-repeat;
  mask: var(--sparkle) center / contain no-repeat;
}
.service-card__title { font-size: clamp(1.75rem, 1.5rem + .7vw, 2.125rem); line-height: 1.08; }
.service-card .accent-line { margin-top: 6px; }
.service-card__text { margin-top: 14px; color: var(--muted); font-size: var(--fs-small); }
.service-card .ticks { margin-top: 22px; padding-top: 20px; }
.service-card .link-arrow { margin-top: auto; padding-top: 22px; }

/* Numbered services (i, ii, iii...), echoing the I / II path numerals and the
   numbered eyebrows. On a photo card the numeral is a small ivory chip on the
   photo; a card without a photo gets a numeral panel (.service-card__numeral)
   in the same slot, a deliberate typographic plate, not a missing image.
   <div class="service-card__media"><img …><span class="service-card__chip" aria-hidden="true">i</span></div>
   <div class="service-card__media service-card__numeral" aria-hidden="true"><span>iii</span></div> */
.service-card__media { position: relative; }
.service-card__chip {
  position: absolute;
  top: 12px;
  left: 12px;
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(251, 248, 242, .94);
  border: 1px solid var(--line-gold);
  box-shadow: 0 8px 18px -12px rgba(20, 43, 36, .55);
  font: italic 500 1.1875rem/1 var(--font-display);
  color: var(--gold-text);
}
.service-card__numeral {
  display: grid;
  place-items: center;
  align-content: center;
  gap: 16px;
  background:
    radial-gradient(70% 60% at 50% 40%, rgba(255, 255, 255, .9), rgba(255, 255, 255, 0) 75%),
    linear-gradient(rgba(243, 236, 224, .72), rgba(243, 236, 224, .72)),
    url("/assets/img/texture-md.webp") center / cover;
  background-color: var(--cream);
  box-shadow: inset 0 0 0 1px rgba(169, 128, 57, .18);
}
.service-card__numeral span {
  font: italic 500 clamp(5.5rem, 4rem + 4vw, 8rem)/.8 var(--font-display);
  letter-spacing: .02em;
  padding-inline: .06em;
  background: var(--gold-ink);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
/* the logo's dot-ended divider under the numeral */
.service-card__numeral::after {
  content: "";
  width: 64px;
  height: 5px;
  background:
    radial-gradient(circle, var(--gold-500) 2.5px, transparent 3px) left center / 5px 5px no-repeat,
    radial-gradient(circle, var(--gold-500) 2.5px, transparent 3px) right center / 5px 5px no-repeat,
    linear-gradient(var(--gold-500), var(--gold-500)) center / calc(100% - 4px) 1px no-repeat;
}
@media (forced-colors: active) {
  .service-card__numeral span { color: CanvasText; background: none; }
}

/* Numeral in the gold ring (plain cards without photos, e.g. Commercial):
   <span class="service-card__mark service-card__mark--num" aria-hidden="true">ii</span> */
.service-card__mark--num::before { display: none; }
.service-card__mark--num {
  font: italic 500 1.375rem/1 var(--font-display);
  color: var(--gold-text);
  padding-bottom: 2px;
}

/* Feature card: spans two rows; its photo fills the height (Commercial "Offices") */
.service-card--feature .service-card__media {
  flex: 1 1 auto;
  aspect-ratio: auto;
  min-height: 240px;
}
.service-card--feature .service-card__body { flex: none; }
@media (min-width: 640px) {
  .service-card--feature { grid-row: span 2; }
}

/* Note card: a full-row invitation on marble with a gold badge
   (echoes Home's note tile; Commercial "Custom scopes") */
.service-card--note {
  grid-column: 1 / -1;
  background:
    linear-gradient(rgba(255, 255, 255, .8), rgba(255, 255, 255, .8)),
    url("/assets/img/texture-md.webp") center / cover;
  background-color: var(--white);
}
.service-card--note:hover { transform: translateY(-3px); box-shadow: var(--shadow-2); }
.service-card--note .service-card__body { padding: clamp(22px, 3vw, 40px) clamp(14px, 3vw, 44px); }
.service-card--note .service-card__mark {
  width: 52px;
  height: 52px;
  border: 0;
  background: var(--gold-gradient);
  box-shadow: 0 8px 18px -10px rgba(138, 106, 46, .8);
}
.service-card--note .service-card__mark::before { width: 17px; height: 17px; background: var(--white); }
.service-card--note .kicker { margin-bottom: 10px; }
.service-card--note .service-card__text { margin-top: 10px; max-width: 34em; }
.service-card--note:hover .link-arrow .ico { background: var(--green-800); border-color: var(--green-800); color: var(--ivory); }
.service-card--note:hover .link-arrow svg { transform: translateX(2px); }
@media (min-width: 900px) {
  .service-card--note .service-card__body {
    flex-direction: row;
    align-items: center;
    gap: clamp(24px, 3vw, 44px);
  }
  .service-card--note .service-card__mark { margin: 0; flex: none; }
  .service-card--note .note__copy { flex: 1; min-width: 0; }
  .service-card--note .service-card__text { max-width: none; }
  .service-card--note .link-arrow { flex: none; margin: 0; padding: 0; }
}

/* Aligned grid: titles, accent lines, text and tick rules line up across each
   row (cards with media + body: title, accent-line, text, ticks) */
@supports (grid-template-rows: subgrid) {
  @media (min-width: 640px) {
    .service-grid--aligned .service-card { display: grid; grid-row: span 5; grid-template-rows: subgrid; row-gap: 0; }
    .service-grid--aligned .service-card__body { display: grid; grid-row: span 4; grid-template-rows: subgrid; row-gap: 0; }
    .service-grid--aligned .service-card__body > * { align-self: start; }
    .service-grid--aligned .service-card__title { align-self: end; }   /* a one-line title sits on its accent line */
  }
}

@media (max-width: 1023.98px) {
  .service-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 639.98px) {
  .service-grid { grid-template-columns: 1fr; }
  /* single column: shorter media keeps the long scroll in check */
  .service-card__media { aspect-ratio: 16 / 9; }
  .service-card__numeral { aspect-ratio: 16 / 6.4; gap: 12px; }
  .service-card__numeral span { font-size: 4.75rem; }
  .service-card__body { padding: 20px 12px 12px; }
  .service-card .ticks { margin-top: 18px; padding-top: 16px; }
  .service-card--feature .service-card__media { flex: none; aspect-ratio: 16 / 9; min-height: 0; }
  /* a plain card (mark in the body, no photo): the mark sits beside the title */
  .service-card--plain > .service-card__body {
    display: grid;
    grid-template-columns: 44px minmax(0, 1fr);
    column-gap: 16px;
    align-items: center;
  }
  .service-card--plain .service-card__mark { margin: 0; }
  .service-card--plain .service-card__text { grid-column: 1 / -1; }
}

/* Contact cards (Call / Text / Email) */
.contact-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--gutter);
}
.contact-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: clamp(24px, 2.6vw, 36px);
  border-radius: var(--r-lg);
  background: var(--white);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-1);
  transition: transform .5s var(--ease-out), box-shadow .5s var(--ease-out);
}
.contact-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-2); }
.contact-card__icon {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  margin-bottom: 12px;
  border-radius: 50%;
  border: 1px solid var(--line-gold);
  background: var(--ivory);
  color: var(--gold-text);
}
.contact-card__icon svg { width: 20px; height: 20px; }
.contact-card h3 { font-size: clamp(1.75rem, 1.5rem + .6vw, 2.125rem); line-height: 1.1; }
.contact-card p { color: var(--muted); font-size: var(--fs-small); }
.contact-card__action {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  margin-top: auto;
  padding-top: 10px;
  font: 600 1rem/1.35 var(--font-sans);
  color: var(--green-900);
  text-decoration: none;
  overflow-wrap: anywhere;
}
.contact-card:hover .contact-card__action { color: var(--green-700); }
/* Arrow affordance in the card's top corner, level with the icon (inline it
   would wrap under the long email address):
   <a class="contact-card__action stretched" …>…<span class="ico" aria-hidden="true"><svg><use href="#i-arrow"/></svg></span></a> */
.contact-card { --card-pad: clamp(24px, 2.6vw, 36px); }
.contact-card__action .ico {
  position: absolute;
  top: calc(var(--card-pad) + 2px);
  right: var(--card-pad);
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid var(--line-strong);
  color: var(--green-900);
  transition: background-color .4s var(--ease), border-color .4s var(--ease), color .4s var(--ease);
}
.contact-card__action svg { width: 16px; height: 16px; transition: transform .5s var(--ease-out); }
.contact-card:hover .contact-card__action .ico,
.contact-card__action:focus-visible .ico {
  background: var(--green-800);
  border-color: var(--green-800);
  color: var(--ivory);
}
.contact-card:hover .contact-card__action svg,
.contact-card__action:focus-visible svg { transform: rotate(-45deg); }

@media (max-width: 899.98px) {
  /* compact: icon beside the title, text and action full width */
  .contact-cards { grid-template-columns: 1fr; gap: 12px; }
  .contact-card {
    display: grid;
    grid-template-columns: 48px minmax(0, 1fr);
    align-items: center;
    column-gap: 16px;
    row-gap: 0;
    padding: 20px 20px 12px;
  }
  .contact-card__icon { margin: 0; }
  .contact-card h3 { padding-right: 56px; font-size: 1.75rem; }
  .contact-card p,
  .contact-card__action { grid-column: 1 / -1; }
  .contact-card p { margin-top: 14px; }
  .contact-card__action { padding-top: 6px; }
  .contact-card__action .ico { top: 22px; right: 18px; }
}


/* ==========================================================================
   15  FAQ accordion
   <details class="faq__item" name="faq" open> ... (first item open)
   ========================================================================== */
.faq__grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: var(--gutter);
  row-gap: 36px;
}
.faq__head { grid-column: 1 / span 4; align-self: start; }
/* the head travels beside a long list (Residential has nine questions) */
@media (min-width: 1024px) {
  .faq__head { position: sticky; top: calc(var(--header-h-compact) + 40px); }
}
.faq__nudge { margin-top: 24px; color: var(--muted); font-size: var(--fs-small); max-width: 22em; }
.faq__head .btn-row { margin-top: 18px; }
.faq__head .link-arrow { margin-top: 26px; }
.faq__list { grid-column: 6 / -1; border-top: 1px solid var(--line-strong); }

.faq__item { border-bottom: 1px solid var(--line-strong); }
.faq__item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 24px 0;
  cursor: pointer;
  list-style: none;
  font: 500 clamp(1.375rem, 1.2rem + .5vw, 1.6875rem)/1.25 var(--font-display);
  color: var(--green-900);
  border-radius: 8px;
  transition: color .3s var(--ease);
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary > span:first-child { text-wrap: pretty; }   /* no one-word last lines */
.faq__item summary:hover { color: var(--green-700); }
.pm {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  flex: none;
  border-radius: 50%;
  border: 1px solid var(--line-strong);
  color: var(--green-900);
  transition: background-color .35s var(--ease), color .35s var(--ease), border-color .35s var(--ease);
}
/* rotate the plus, not the circle: a rotated 44px box grows its bounding box by ~9px a side */
.pm svg { width: 16px; height: 16px; transition: transform .5s var(--ease-out); }
.faq__item summary:hover .pm { border-color: var(--green-800); }
.faq__item[open] .pm { background: var(--green-800); border-color: var(--green-800); color: var(--ivory); }
.faq__item[open] .pm svg { transform: rotate(45deg); }
.faq__a { padding: 0 68px 28px 0; color: var(--muted); }
.faq__a p + p, .faq__a p + ul, .faq__a ul + p { margin-top: 12px; }
.faq__a ul { display: grid; gap: 8px; padding-left: 1.1em; }
.faq__a ul li::marker { color: var(--gold-500); }
.faq__a em { font-style: normal; font-weight: 600; color: var(--ink); }
.faq__a a:not([class]) {
  color: var(--green-800);
  font-weight: 500;
  text-decoration: underline;
  text-decoration-color: var(--line-gold);
  text-decoration-thickness: 1px;
  text-underline-offset: .22em;
  transition: text-decoration-color .3s var(--ease);
}
.faq__a a:not([class]):hover { text-decoration-color: var(--gold-500); }
/* A deep link (/faq#faq-supplies) opens its item instantly: main.js sets
   html.faq-instant for two frames, so nothing animates while it scrolls. */
.faq-instant [data-reveal] { transition: none !important; }
/* separate rule: a browser without ::details-content drops only this one */
.faq-instant .faq__item::details-content { transition: none !important; }

/* Link row: a question answered on another page, in the same list and type
   as the accordion, with an arrow instead of the plus ("one question, one URL").
   <a class="faq__link" href="/residential#faq-how-long"><span class="faq__link-text">How long…?
     <span class="faq__link-meta">Answered on Residential</span></span><span class="pm" aria-hidden="true"><svg><use href="#i-arrow"/></svg></span></a> */
.faq__link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 22px 0;
  border-bottom: 1px solid var(--line-strong);
  font: 500 clamp(1.375rem, 1.2rem + .5vw, 1.6875rem)/1.25 var(--font-display);
  color: var(--green-900);
  text-decoration: none;
  transition: color .3s var(--ease);
}
.faq__link:focus-visible { outline-offset: -2px; border-radius: 0; }
.faq__link-text { display: grid; gap: 6px; text-wrap: pretty; }
.faq__link-meta {
  font: 600 .6875rem/1.3 var(--font-sans);
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--gold-text);
}
.faq__link .pm svg { transition: transform .45s var(--ease-out); }
.faq__link:hover { color: var(--green-700); }
.faq__link:hover .pm { background: var(--green-800); border-color: var(--green-800); color: var(--ivory); }
.faq__link:hover .pm svg { transform: translateX(2px); }

/* "More questions": short links to answers that live elsewhere (Home,
   Residential, Commercial, Contact), then "See all questions" -> /faq */
.faq__more { margin-top: clamp(36px, 4vw, 48px); }
.faq__more-title {
  margin-bottom: 6px;
  font: 600 .6875rem/1.4 var(--font-sans);
  letter-spacing: .24em;
  text-transform: uppercase;
  color: var(--gold-text);
}
.faq__more-list { display: grid; list-style: none; }
.faq__more-list a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 48px;
  padding: 11px 0;
  border-bottom: 1px solid var(--line);
  font: 500 var(--fs-small)/1.45 var(--font-sans);
  color: var(--ink);
  text-decoration: none;
  transition: color .3s var(--ease);
}
.faq__more-list a > span { text-wrap: pretty; }
.faq__more-list svg { width: 16px; height: 16px; flex: none; color: var(--gold-text); transition: transform .45s var(--ease-out); }
.faq__more-list a:hover { color: var(--green-700); }
.faq__more-list a:hover svg { transform: translateX(3px); }
.faq__more .link-arrow { margin-top: 20px; }

/* Full-width FAQ (Contact page): head above, list below */
.faq--stacked .faq__head,
.faq--stacked .faq__list { grid-column: 1 / -1; }

/* From 640px a two-line question gets even lines (no "…and Tailored / by Crown?"
   tail); on phones balance leaves short first lines, so pretty stays there */
@media (min-width: 640px) {
  .faq__item summary > span:first-child,
  .faq__link-text { text-wrap: balance; }
}
@media (max-width: 1023.98px) {
  .faq__head, .faq__list { grid-column: 1 / -1; }
}
@media (max-width: 639.98px) {
  .faq__item summary { font-size: 1.375rem; padding: 20px 0; }
  .faq__link { font-size: 1.375rem; padding: 18px 0; }
  .faq__a { padding-right: 8px; }
}

/* FAQ hub (/faq): a topic index beside the grouped questions.
   <section class="section faq-hub"><div class="container faq-hub__grid">
     <nav class="faq-toc">…</nav>
     <div class="faq-hub__groups"><section class="faq-group" id="booking">
       <div class="faq-group__head">eyebrow + h2.faq-group__title</div>
       <div class="faq__list">details.faq__item (name per group) and a.faq__link rows</div>
     </section>…</div></div></section>
   Each group's details share one name, so opening an item never closes (and
   shifts) an answer in another group. */
.faq-hub__grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: var(--gutter);
  row-gap: 40px;
  align-items: start;
}
.faq-toc {
  grid-column: 1 / span 3;
  position: sticky;
  top: calc(var(--header-h-compact) + 32px);
}
.faq-hub__groups { grid-column: 5 / -1; }

.faq-toc__title {
  margin-bottom: 10px;
  font: 600 .6875rem/1.4 var(--font-sans);
  letter-spacing: .24em;
  text-transform: uppercase;
  color: var(--gold-text);
}
.faq-toc__list { list-style: none; border-top: 1px solid var(--line-strong); }
.faq-toc__list li { border-bottom: 1px solid var(--line); }
.faq-toc__list a {
  display: flex;
  align-items: center;
  gap: 14px;
  min-height: 48px;
  padding: 8px 0;
  font: 500 var(--fs-small)/1.35 var(--font-sans);
  color: var(--ink);
  text-decoration: none;
  transition: color .3s var(--ease);
}
.faq-toc__num {
  flex: none;
  min-width: 1.5em;
  font: italic 500 1.0625rem/1 var(--font-display);
  color: var(--gold-text);
}
.faq-toc__list a:hover { color: var(--green-700); }
.faq-toc__list a[aria-current] { color: var(--green-800); font-weight: 600; }
.faq-toc__help { margin-top: 28px; }
.faq-toc__help p { font-size: var(--fs-small); color: var(--muted); }
.faq-toc__help .link-arrow { margin-top: 10px; }

.faq-group + .faq-group { margin-top: clamp(64px, 7vw, 104px); }
.faq-group__head { margin-bottom: clamp(20px, 2.4vw, 30px); }
.faq-group__head .eyebrow { margin-bottom: 16px; }
.faq-group__title { font-size: clamp(2.25rem, 1.7rem + 1.6vw, 3.25rem); line-height: 1.04; }
.faq-group__title em { font-style: italic; color: var(--gold-text); padding-right: .04em; }
.faq-group__sub {
  margin-top: clamp(28px, 3vw, 40px);
  margin-bottom: 4px;
  font: 600 .6875rem/1.4 var(--font-sans);
  letter-spacing: .24em;
  text-transform: uppercase;
  color: var(--gold-text);
}
.faq-group__sub:first-child { margin-top: 0; }

@media (min-width: 1024px) and (max-width: 1279.98px) {
  .faq-hub__groups { grid-column: 4 / -1; }
}
@media (max-width: 1023.98px) {
  /* the index sits above the groups, as a two-column list */
  .faq-toc { grid-column: 1 / -1; position: static; }
  .faq-hub__groups { grid-column: 1 / -1; }
  .faq-toc__list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: var(--gutter); }
  .faq-toc__help { display: flex; flex-wrap: wrap; align-items: center; column-gap: 18px; margin-top: 16px; }
  .faq-toc__help .link-arrow { margin-top: 0; }
  /* two columns down to phones (a one-column index pushed the first question
     1.4 screens down); an odd last topic spans both, so no half-empty row */
  .faq-toc__list li:last-child:nth-child(odd) { grid-column: 1 / -1; }
}
/* Call / Text pills: two even, full-width rows rather than a ragged wrap, on
   phones and in the narrow sticky head at 1024-1199 (where they would stack
   at uneven widths) */
@media (max-width: 479.98px), (min-width: 1024px) and (max-width: 1199.98px) {
  .faq__head .btn-row { display: grid; grid-template-columns: minmax(0, 1fr); gap: 10px; }
  .faq__head .btn-row .btn { width: 100%; }
}


/* ==========================================================================
   16  Closing CTA band (overlaps into the footer)
   ========================================================================== */
.cta {
  --overlap: clamp(96px, 10vw, 150px);
  position: relative;
  z-index: 1;
  padding-top: var(--section);
  margin-bottom: calc(-1 * var(--overlap));
}
.cta__card {
  --mx: 50%;
  --my: 0%;
  position: relative;
  overflow: hidden;
  isolation: isolate;
  padding: clamp(56px, 7.4vw, 112px) clamp(20px, 6vw, 96px);
  border-radius: calc(var(--r-xl) + 8px);
  background: var(--green-800);
  color: var(--ivory);
  text-align: center;
  box-shadow: 0 40px 80px -40px rgba(20, 43, 36, .55);
  border: 1px solid rgba(230, 200, 119, .18);
}
.cta__card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: url("/assets/img/texture-md.webp") center / cover;
  opacity: .2;
  mix-blend-mode: soft-light;
}
.cta__glow {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(55% 45% at 50% 0%, rgba(230, 200, 119, .1), transparent 75%),
    linear-gradient(180deg, rgba(20, 43, 36, 0) 40%, rgba(20, 43, 36, .35));
  pointer-events: none;
}
.cta__card::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: radial-gradient(520px circle at var(--mx) var(--my), rgba(230, 200, 119, .1), transparent 60%);
  opacity: 0;
  transition: opacity .6s var(--ease);
}
.cta__card:hover::after { opacity: 1; }
.cta__crest { width: 58px; height: auto; margin: 0 auto 26px; filter: drop-shadow(0 6px 14px rgba(0, 0, 0, .25)); }
.cta__card .eyebrow { justify-content: center; }
.cta__title { color: var(--ivory); font-size: clamp(2.625rem, 1.6rem + 3.6vw, 5rem); }
.cta__title em { color: var(--gold-300); }
.cta__body {
  max-width: 34em;
  margin: 22px auto 40px;
  color: rgba(251, 248, 242, .84);
  font-size: var(--fs-lede);
}
.cta__email {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  margin-top: 26px;
  font-size: .90625rem;
  color: rgba(251, 248, 242, .88);
  text-decoration: none;
  overflow-wrap: anywhere;
  transition: color .3s var(--ease);
}
.cta__email span {
  border-bottom: 1px solid rgba(230, 200, 119, .45);
  padding-bottom: 3px;
  transition: border-color .3s var(--ease);
}
.cta__email svg { width: 17px; height: 17px; flex: none; color: var(--gold-300); }
.cta__email:hover { color: var(--white); }
.cta__email:hover span { border-color: var(--gold-300); }

/* 640-819: the three buttons would wrap 2 + 1; primary spans, Call and Text share a row */
@media (min-width: 640px) and (max-width: 819.98px) {
  .cta .btn-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); width: min(100%, 520px); margin-inline: auto; }
  .cta .btn-row > :first-child { grid-column: 1 / -1; }
}
@media (max-width: 639.98px) {
  .cta { --overlap: 88px; }
  .cta__card { text-align: left; padding: 48px 22px 36px; }
  .cta__crest { margin: 0 0 22px; width: 50px; }
  .cta__card .eyebrow { justify-content: flex-start; }
  .cta__body { margin: 18px 0 30px; }
  .cta .btn-row { flex-direction: column; align-items: stretch; }
  .cta__email { align-items: flex-start; }
  .cta__email svg { margin-top: 3px; }
}


/* ==========================================================================
   17  Forms and confirmation panel (Contact page)
   ========================================================================== */
.form-card {
  padding: clamp(24px, 4.4vw, 64px);
  border-radius: calc(var(--r-xl) + 8px);
  background: var(--white);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-1);
}
.form-card__head { margin-bottom: clamp(24px, 3vw, 36px); }
.form-card__head p { margin-top: 14px; color: var(--muted); max-width: 40em; }
.form__legend-note { margin-top: 10px; font-size: .875rem; color: var(--muted); }

.form { display: grid; gap: 28px; }
.form__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px 20px;
}
.field { display: grid; gap: 8px; align-content: start; min-width: 0; }
.field--full { grid-column: 1 / -1; }

.field__label,
.field legend {
  font: 600 .90625rem/1.35 var(--font-sans);
  color: var(--green-900);
}
.field legend { margin-bottom: 8px; }
.field__req { margin-left: 2px; color: var(--gold-text); }
.field__opt { font-weight: 400; color: var(--muted); }
.field__hint { font-size: .8125rem; line-height: 1.5; color: var(--muted); }
.field__error {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font: 500 .8125rem/1.45 var(--font-sans);
  color: var(--error);
}
.field__error:empty { display: none; }
.field__error svg { width: 16px; height: 16px; flex: none; margin-top: 1px; }

.input,
.select,
.textarea {
  display: block;
  width: 100%;
  min-height: 54px;
  padding: 14px 16px;
  border: 1px solid var(--line-field);
  border-radius: 14px;
  background: var(--white);
  color: var(--ink);
  font: 400 1rem/1.4 var(--font-sans);   /* 16px: no iOS zoom on focus */
  transition: border-color .3s var(--ease), box-shadow .3s var(--ease), background-color .3s var(--ease);
  -webkit-appearance: none;
  appearance: none;
}
.input::placeholder, .textarea::placeholder { color: #7A7067; opacity: 1; }
.input:hover, .select:hover, .textarea:hover { border-color: var(--green-700); }
.input:focus-visible, .select:focus-visible, .textarea:focus-visible,
.input[type="date"]:focus {   /* :focus too: the date field's calendar-button stop drops :focus-visible */
  outline: 2px solid var(--focus);
  outline-offset: 1px;
  border-color: var(--green-700);
  border-radius: 14px;
}
.select {
  padding-right: 48px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='none' stroke='%237D5F27' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round' d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  background-size: 18px;
  cursor: pointer;
}
.textarea { min-height: 168px; resize: vertical; line-height: 1.6; }
.input[type="date"] { min-height: 54px; }
.input[aria-invalid="true"],
.select[aria-invalid="true"],
.textarea[aria-invalid="true"] {
  border-color: var(--error);
  box-shadow: 0 0 0 3px rgba(162, 59, 42, .1);
}

/* Choice pills (radio groups): <fieldset class="field"><legend>…</legend><div class="choices">… */
.choices { display: flex; flex-wrap: wrap; gap: 10px; }
.choice { position: relative; display: inline-flex; }
.choice input {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  opacity: 0;
  cursor: pointer;
}
.choice span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 48px;
  padding: 0 20px;
  border: 1px solid var(--line-field);
  border-radius: 999px;
  background: var(--white);
  font: 500 .9375rem/1.2 var(--font-sans);
  color: var(--green-900);
  transition: background-color .3s var(--ease), border-color .3s var(--ease), color .3s var(--ease);
}
.choice span::before {
  content: "";
  width: 14px;
  height: 14px;
  border-radius: 50%;
  border: 1px solid var(--line-field);
  background: var(--white);
  transition: border-color .3s var(--ease), box-shadow .3s var(--ease);
}
.choice:hover span { border-color: var(--green-700); }
.choice input:checked + span { background: var(--green-800); border-color: var(--green-800); color: var(--ivory); }
.choice input:checked + span::before { border-color: var(--gold-300); box-shadow: inset 0 0 0 3px var(--green-800); background: var(--gold-300); }
.choice input:focus-visible + span { outline: 2px solid var(--focus); outline-offset: 3px; }
.choices[aria-invalid="true"] .choice span { border-color: var(--error); }

/* Even pills: one row of equal widths, never an orphan (set --n to the count)
   <div class="choices choices--even" style="--n:3"> */
.choices--even {
  display: grid;
  grid-template-columns: repeat(var(--n, 2), minmax(0, 1fr));
  gap: 8px;
  max-width: calc(var(--n, 2) * 150px);
}
.choices--even .choice span { width: 100%; justify-content: center; padding: 0 12px; }

/* Error summary (focus it after a failed submit) */
.form-errors {
  padding: 18px 20px;
  border-radius: var(--r-md);
  border: 1px solid rgba(162, 59, 42, .35);
  background: #FBF0EC;
  color: #7A2A1D;
}
.form-errors[hidden] { display: none; }
.form-errors__title { display: flex; align-items: center; gap: 10px; font-weight: 600; }
.form-errors__title svg { width: 18px; height: 18px; flex: none; }
.form-errors ul { margin-top: 8px; padding-left: 28px; font-size: .875rem; }
.form-errors a { color: inherit; }
.form-errors:focus-visible { outline-color: var(--error); }

.form__submit { display: grid; gap: 14px; justify-items: start; }
.form__submit .btn[aria-busy="true"] svg { animation: crown-nudge 1s var(--ease-out) infinite; }
@keyframes crown-nudge { 50% { transform: translateX(4px); } }
.form__note { font-size: .875rem; color: var(--muted); }
.form__privacy { font-size: .8125rem; color: var(--muted); }

/* Confirmation panel (replaces the form after submit; focus its heading) */
.confirm {
  display: grid;
  justify-items: center;
  gap: 16px;
  padding: clamp(32px, 5vw, 72px) clamp(20px, 4vw, 56px);
  border-radius: calc(var(--r-xl) + 8px);
  background:
    radial-gradient(90% 60% at 50% 0%, #FFFFFF, rgba(255, 255, 255, 0) 70%),
    var(--white);
  border: 1px solid var(--line-gold);
  box-shadow: var(--shadow-2);
  text-align: center;
}
.confirm[hidden] { display: none; }
.confirm__crest { width: 52px; height: auto; }
.confirm .rule { margin-block: 2px 6px; }
.confirm__title { font-size: clamp(2.25rem, 1.6rem + 2vw, 3.25rem); line-height: 1.05; }
.confirm__title:focus { outline: none; }
.confirm__body { max-width: 36em; color: var(--muted); }
.confirm__body strong { color: var(--ink); font-weight: 600; overflow-wrap: break-word; }
.confirm .btn-row { justify-content: center; margin-top: 8px; }
@media (min-width: 640px) {
  /* four actions: an even 2 x 2, the primary first */
  .confirm .btn-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); width: min(100%, 580px); }
}
.confirm__status { min-height: 1.5em; font-size: .875rem; font-weight: 500; color: var(--green-700); }
.confirm__status.is-failed { color: var(--ink); }
.confirm__edit { font-size: .9375rem; }
.confirm__hint {
  max-width: 34em;
  padding: 12px 16px;
  border-radius: var(--r-md);
  background: var(--cream);
  font-size: .875rem;
  color: var(--ink);
}
.confirm__hint[hidden] { display: none; }
.confirm__closing { margin-top: 6px; font: italic 500 1.25rem/1.3 var(--font-display); color: var(--gold-text); }

@media (max-width: 639.98px) {
  .form__grid { grid-template-columns: 1fr; }
  .form__submit .btn { width: 100%; }
  .confirm .btn-row { flex-direction: column; align-items: stretch; width: 100%; }
}


/* ==========================================================================
   18  Footer
   ========================================================================== */
.site-footer {
  padding-top: calc(clamp(96px, 10vw, 150px) + clamp(64px, 7vw, 104px));
  padding-bottom: 32px;
  background: var(--green-900);
  color: rgba(251, 248, 242, .78);
  font-size: var(--fs-small);
}
.site-footer--plain { padding-top: clamp(64px, 7vw, 104px); }   /* pages without the overlapping CTA */

.footer__top {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: var(--gutter);
  row-gap: 48px;
  padding-bottom: clamp(48px, 6vw, 80px);
}
.footer__brand { grid-column: 1 / span 4; }
.footer__brand .brand__crest { height: 60px; }
.footer__line { margin-top: 26px; max-width: 26em; }
/* Service area and the owner-confirmed trust facts, under the line */
.footer__facts { display: grid; gap: 6px; margin-top: 18px; list-style: none; }
.footer__facts li { display: flex; align-items: baseline; gap: 12px; }
.footer__facts li::before {
  content: "";
  flex: none;
  width: 8px;
  height: 8px;
  background: var(--gold-300);
  -webkit-mask: var(--sparkle) center / contain no-repeat;
  mask: var(--sparkle) center / contain no-repeat;
}
.footer__tagline {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  margin-top: 20px;
  font: 600 .6875rem/1.4 var(--font-sans);
  letter-spacing: .24em;
  text-transform: uppercase;
  color: var(--gold-300);
}
.footer__cols {
  grid-column: 6 / -1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) max-content;
  column-gap: clamp(20px, 3vw, 48px);
}
.footer__heading {
  margin-bottom: 10px;
  font: 600 .6875rem/1.4 var(--font-sans);
  letter-spacing: .24em;
  text-transform: uppercase;
  color: var(--gold-300);
}
.footer__col ul { display: grid; list-style: none; }
.footer__col a {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  color: var(--ivory);
  text-decoration: none;
}
.footer__col a > span:not([class]),
.footer__col a.footer__link {
  background: linear-gradient(var(--gold-300), var(--gold-300)) 0 100% / 0 1px no-repeat;
  transition: background-size .45s var(--ease-out);
}
.footer__col a:hover > span:not([class]),
.footer__col a.footer__link:hover { background-size: 100% 1px; }
.footer__col svg { width: 16px; height: 16px; flex: none; color: var(--gold-300); }

.footer__bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 32px;
  padding-top: 24px;
  border-top: 1px solid rgba(251, 248, 242, .12);
  font-size: .84375rem;
}
.faith-line {
  font: italic 500 1.3125rem/1.3 var(--font-display);
  color: var(--gold-300);
  letter-spacing: .005em;
}
.legal { color: rgba(251, 248, 242, .7); }
.to-top {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  color: var(--ivory);
  text-decoration: none;
}
.to-top svg {
  width: 32px;
  height: 32px;
  padding: 8px;
  border-radius: 50%;
  border: 1px solid rgba(251, 248, 242, .25);
  transition: transform .45s var(--ease-out), border-color .3s var(--ease);
}
.to-top:hover svg { transform: translateY(-3px); border-color: var(--gold-300); }

.dot {
  display: inline-block;
  width: 3px;
  height: 3px;
  margin: 0 .8em;
  border-radius: 50%;
  background: currentColor;
  vertical-align: middle;
}

/* 768-1279: brand beside the links (Services | Company, then Get in touch) */
@media (min-width: 768px) and (max-width: 1279.98px) {
  .footer__brand { grid-column: 1 / span 5; }
  .footer__cols { grid-column: 7 / -1; grid-template-columns: 1fr 1fr; row-gap: 32px; }
  .footer__col--contact { grid-column: 1 / -1; }
}
@media (min-width: 768px) and (max-width: 1023.98px) {
  .footer__brand { grid-column: 1 / span 6; }
}
@media (max-width: 767.98px) {
  .footer__brand, .footer__cols { grid-column: 1 / -1; }
  .footer__cols { grid-template-columns: 1fr 1fr; row-gap: 32px; }
  .footer__col--contact { grid-column: 1 / -1; }
  .footer__bottom { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 639.98px) {
  .site-footer { padding-top: calc(88px + 64px); }
  .site-footer--plain { padding-top: 64px; }
  .footer__col--contact a { font-size: .875rem; }
  .footer__tagline { letter-spacing: .18em; }
}


/* ==========================================================================
   19  Mobile dock (Call / Text / Quote), below 1024px
   Hidden while the menu is open (html.menu-open), while typing in a form
   (html.is-typing, set by main.js) and when a page asks (html.dock-off).
   ========================================================================== */
.dock { display: none; }

@media (max-width: 1023.98px) {
  .dock {
    position: fixed;
    left: 12px;
    right: 12px;
    bottom: calc(12px + env(safe-area-inset-bottom));
    z-index: 40;
    display: grid;
    grid-template-columns: 1fr 1fr 1.3fr;
    gap: 6px;
    max-width: 520px;
    margin-inline: auto;
    padding: 6px;
    border-radius: 999px;
    background: rgba(251, 248, 242, .95);
    -webkit-backdrop-filter: blur(18px) saturate(1.6);
    backdrop-filter: blur(18px) saturate(1.6);
    border: 1px solid rgba(42, 36, 33, .14);
    box-shadow: 0 1px 0 rgba(255, 255, 255, .8) inset, 0 18px 40px -16px rgba(20, 43, 36, .5);
    transition: transform .45s var(--ease-out), opacity .3s var(--ease), visibility 0s;
  }
  .dock a {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 48px;
    border-radius: 999px;
    font: 600 .875rem/1 var(--font-sans);
    color: var(--green-900);
    text-decoration: none;
    transition: background-color .3s var(--ease);
  }
  .dock a:hover, .dock a:active { background: rgba(31, 66, 55, .07); }
  .dock svg { width: 17px; height: 17px; color: var(--gold-text); }
  .dock .dock__quote { background: var(--green-800); color: var(--ivory); }
  .dock .dock__quote:hover, .dock .dock__quote:active { background: var(--green-900); }
  .dock .dock__quote svg { color: var(--gold-300); }

  html.menu-open .dock,
  html.is-typing .dock,
  html.dock-off .dock {
    transform: translateY(calc(100% + 24px));
    opacity: 0;
    visibility: hidden;
    transition: transform .45s var(--ease-out), opacity .3s var(--ease), visibility 0s linear .45s;
  }

  .site-footer { padding-bottom: calc(104px + env(safe-area-inset-bottom)); }
}


/* ==========================================================================
   20  404 page
   ========================================================================== */
.error-page { padding-block: clamp(32px, 6vw, 88px) clamp(72px, 9vw, 136px); }
.error-page .panel-texture { text-align: center; }
.error-page__crest { width: 56px; height: auto; margin: 0 auto 26px; }
.error-page .eyebrow { justify-content: center; }
.error-page h1 { font-size: clamp(2.5rem, 1.5rem + 4vw, 4.75rem); line-height: 1.02; max-width: 12em; margin-inline: auto; }
.error-page h1 em { font-style: italic; color: var(--gold-text); }
.error-page__body { max-width: 32em; margin: 22px auto 34px; color: var(--muted); font-size: var(--fs-lede); }
.error-page .rule { margin: 40px auto 26px; }
.quick-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 4px 26px;
  list-style: none;
}
.quick-links a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font: 600 .90625rem/1.2 var(--font-sans);
  color: var(--green-900);
  text-decoration: underline;
  text-decoration-color: var(--line-gold);
  text-underline-offset: .3em;
}
.quick-links a:hover { text-decoration-color: var(--gold-500); }

@media (max-width: 639.98px) {
  /* the header already carries the crest; the quick links clear the dock at 360x740 */
  .error-page { padding-top: 32px; }
  .error-page .panel-texture { padding-top: 32px; padding-bottom: 32px; }
  .error-page__crest { display: none; }
  .error-page__body { margin: 18px auto 26px; }
  .error-page .btn-row { flex-direction: column; align-items: stretch; }
  .error-page .rule { margin: 26px auto 12px; }
}
@media (max-width: 479.98px) {
  /* five links: three over two (or two over three), never a lone orphan */
  .quick-links { gap: 0 22px; }
}


/* ==========================================================================
   21  Motion (JS-gated, reduced-motion aware)
   Content is visible without JS. .js is set inline in <head>; if main.js
   has not run after 2.5s the head script adds .no-reveal (fail-safe).
   Never put the H1, hero copy or the LCP image behind a reveal.
   ========================================================================== */
@media (prefers-reduced-motion: no-preference) {
  [data-reveal] {
    transition: opacity 1s var(--ease-out), transform 1s var(--ease-out);
    transition-delay: calc(var(--d, 0) * 90ms);
  }
  .js:not(.no-reveal) [data-reveal]:not(.is-in) {
    opacity: 0;
    transform: translateY(18px);
  }

  .js .hero__media > img { animation: settle 2.4s var(--ease-out) both; }
  @keyframes settle { from { transform: scale(1.06); } to { transform: scale(1); } }

  .js .step::before { transition: transform 1.3s var(--ease-out) .25s; }
  .js .step.is-in::before,
  .no-reveal .step::before { transform: scaleX(1); }

  .faq__item::details-content {
    block-size: 0;
    overflow: hidden;
    transition: block-size .5s var(--ease-out), content-visibility .5s allow-discrete;
  }
  .faq__item[open]::details-content { block-size: auto; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
    scroll-behavior: auto !important;
  }
  .step::before { transform: scaleX(1); }
}


/* ==========================================================================
   22  Utilities, forced colors, print
   ========================================================================== */
.sr-only {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}
.nw { white-space: nowrap; }
.keep { display: inline-block; }   /* keep a phrase together where it fits (e.g. an H2's <em>), still wraps if it must */
.text-center { text-align: center; }
.mt-0 { margin-top: 0 !important; }
/* Trim a label on small phones, visually only (the accessible name keeps it):
   <span>Residential<span class="trim-sm"> Cleaning</span></span> */
@media (max-width: 479.98px) {
  .trim-sm { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
}

@media (forced-colors: active) {
  .display em { color: CanvasText; background: none; }
  .btn, .btn-split, .tile__panel, .tile__label, .dock, .plaque, .choice span { border: 1px solid CanvasText; }
  .eyebrow::before, .ticks li::before, .spaces li + li::before, .pillar__icon, .sparkle, .tile__badge::before, .service-card__mark::before,
  .service-card--note .service-card__mark::before, .footer__facts li::before { background: CanvasText; }
}

@media print {
  .site-header, .dock, .cta, .to-top, .skip-link, .footer__brand .brand { display: none !important; }
  [data-reveal] { opacity: 1 !important; transform: none !important; }
  body { background: #fff; }
  .site-footer { padding-top: 32px; background: #fff; color: #000; }
  .site-footer, .site-footer * { color: #000 !important; }
  .footer__bottom { border-top-color: #999; }
}
