/* ==== tokens.css ==== */
/* Design tokens. WordPress: mirrored in theme.json (settings.color.palette,
   typography.fontFamilies/fontSizes, spacing.spacingSizes) so the block editor
   offers exactly these values and nothing off-brand. */

@font-face { font-family: "Barlow Condensed"; src: url("../fonts/barlow-condensed-600.woff2") format("woff2"); font-weight: 600; font-style: normal; font-display: swap; }
@font-face { font-family: "Barlow Condensed"; src: url("../fonts/barlow-condensed-700.woff2") format("woff2"); font-weight: 700; font-style: normal; font-display: swap; }
@font-face { font-family: "Barlow Condensed"; src: url("../fonts/barlow-condensed-800.woff2") format("woff2"); font-weight: 800; font-style: normal; font-display: swap; }
@font-face { font-family: "Inter"; src: url("../fonts/inter-variable.woff2") format("woff2"); font-weight: 400 700; font-style: normal; font-display: swap; }

:root {
  /* Brand palette — plum family derived from the logo (approved 2026-09-29) */
  --plum-700: #441738;      /* dark plum: button hover, gradient start */
  --plum-hover: #4F294E;    /* link hover */
  --plum-600: #633362;      /* primary: buttons, links, icons (9.6:1 with white) */
  --plum-500: #7A4678;      /* gradient end only */
  --plum-deep: #3F2346;     /* deep plum surfaces */
  --plum-300: #A77AA5;      /* accents / icons / focus on dark (5.4:1 on --ink) */
  --plum-200: #C9A6C7;      /* small text on dark or deep-plum surfaces (≥6:1) */
  --plum-100: #F4ECF3;      /* light tint fills */
  --ink: #0E121D;           /* dark background */
  --ink-0: #0A0D16;         /* darkest band (Before/After, dark sections) */
  --ink-2: #161B29;
  --ink-3: #232A3B;
  --white: #FFFFFF;
  --bg-light: #F7F7F9;

  /* Text */
  --text: #1B1F2B;
  --text-muted: #555B6B;    /* 6.9:1 on white */
  --text-on-dark: #E7E8EE;
  --text-on-dark-muted: #B4B8C5; /* 9.2:1 on --ink */
  --border: #E2E3EA;
  --border-dark: rgba(255, 255, 255, .14);
  --danger: #B42318;
  --success: #067647;

  --grad-brand: linear-gradient(135deg, var(--plum-700) 0%, var(--plum-600) 55%, var(--plum-500) 100%);
  --grad-plum-band: linear-gradient(135deg, #441738 0%, #532550 45%, #633362 100%);
  --grad-dark: linear-gradient(160deg, var(--plum-deep) 0%, var(--ink) 60%);
  --shadow-plum: 0 28px 50px -22px rgba(68, 23, 56, .7);

  /* Typography */
  --font-display: "Barlow Condensed", "Arial Narrow", Arial, sans-serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --fs-xs: .8125rem;
  --fs-sm: .9375rem;
  --fs-md: 1rem;
  --fs-lg: 1.125rem;
  --fs-xl: clamp(1.25rem, 1.1rem + .6vw, 1.5rem);
  --fs-h3: clamp(1.25rem, 1.15rem + .4vw, 1.5rem);
  --fs-h2: clamp(2rem, 1.6rem + 1.6vw, 2.75rem);
  --fs-h1: clamp(2.5rem, 1.9rem + 2.6vw, 4rem);
  --fs-display: clamp(3rem, 2rem + 5vw, 6rem);

  /* Spacing */
  --sp-1: .25rem; --sp-2: .5rem; --sp-3: .75rem; --sp-4: 1rem; --sp-5: 1.5rem;
  --sp-6: 2rem; --sp-7: 3rem; --sp-8: 4rem; --sp-9: 6rem;
  --section-y: clamp(3.5rem, 2.5rem + 4vw, 6rem);
  --gutter: 16px;
  --container: 1240px;

  --radius-sm: 6px;
  --radius: 10px;
  --radius-lg: 16px;
  --shadow-sm: 0 1px 2px rgba(14, 18, 29, .06), 0 1px 3px rgba(14, 18, 29, .08);
  --shadow: 0 8px 24px rgba(14, 18, 29, .10);
  --shadow-lg: 0 20px 48px rgba(14, 18, 29, .18);
  --header-h: 68px;  /* compact header: 68 mobile · 70 tablet · 78 desktop (≥1200) */
  --ease: cubic-bezier(.2, .7, .2, 1);
}

@media (min-width: 768px) { :root { --gutter: 24px; --header-h: 70px; } }
@media (min-width: 1100px) { :root { --gutter: 32px; } }
@media (min-width: 1200px) { :root { --header-h: 78px; } }

/* ==== base.css ==== */
/* Reset + base typography */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: var(--fs-md);
  line-height: 1.6;
  color: var(--text);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg, video { display: block; max-width: 100%; }
img { height: auto; }
h1, h2, h3, h4 { margin: 0 0 var(--sp-4); line-height: 1.1; color: inherit; }
h1, h2 { font-family: var(--font-display); font-weight: 800; letter-spacing: -.005em; }
h3, h4 { font-family: var(--font-body); font-weight: 700; font-size: var(--fs-h3); line-height: 1.25; }
p { margin: 0 0 var(--sp-4); }
ul, ol { margin: 0; padding: 0; }
a { color: var(--plum-600); text-underline-offset: .18em; text-decoration-thickness: 1px; }
a:hover { color: var(--plum-hover); }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
strong { font-weight: 700; }
em { font-style: normal; }
::selection { background: var(--plum-600); color: var(--white); }

:focus-visible { outline: 3px solid var(--plum-300); outline-offset: 3px; border-radius: 4px; }
.section--dark :focus-visible, .site-header :focus-visible, .site-footer :focus-visible, .hero :focus-visible, .page-hero :focus-visible, .ba :focus-visible, .reviews-band :focus-visible, .cta-band :focus-visible { outline-color: var(--plum-300); }

.icon { width: 1.25em; height: 1.25em; flex: none; }

.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 1000;
  background: var(--white); color: var(--ink); padding: .75rem 1rem; border-radius: var(--radius-sm);
  font-weight: 700; box-shadow: var(--shadow); transition: top .2s;
}
.skip-link:focus { top: 12px; }

.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
}

/* ==== layout.css ==== */
/* Layout primitives + section system (light / alt / dark / plum) */
.container { width: 100%; max-width: calc(var(--container) + var(--gutter) * 2); margin-inline: auto; padding-inline: var(--gutter); }

.section { padding-block: var(--section-y); }
.section--tight { padding-block: var(--sp-7); }
.section--alt { background: var(--bg-light); }

/* Dark band: blueprint grid faded at the edges + soft plum light (same treatment as Home "Before & After") */
.section--dark { position: relative; isolation: isolate; overflow: hidden; background: var(--ink-0); color: var(--text-on-dark); }
.section--dark::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background-image: linear-gradient(rgba(167, 122, 165, .06) 1px, transparent 1px), linear-gradient(90deg, rgba(167, 122, 165, .06) 1px, transparent 1px);
  background-size: 64px 64px;
  -webkit-mask-image: radial-gradient(ellipse 80% 70% at 50% 40%, #000 30%, transparent 80%);
  mask-image: radial-gradient(ellipse 80% 70% at 50% 40%, #000 30%, transparent 80%);
}
.section--dark::after { content: ""; position: absolute; z-index: -1; width: 900px; height: 600px; left: -300px; bottom: -350px; background: radial-gradient(closest-side, rgba(98, 51, 97, .55), transparent); pointer-events: none; }
.section--dark .section-title { color: var(--white); }
.section--dark .section-lead, .section--dark .section-head__aside p { color: var(--text-on-dark-muted); }
.section--dark .eyebrow { color: var(--plum-200); }

.section-head { max-width: 760px; margin-bottom: clamp(2rem, 1.5rem + 2vw, 3rem); }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head--left { margin-bottom: var(--sp-5); }
.section-head .section-title { margin-bottom: var(--sp-3); }
/* Editorial head: title left, supporting text right (Home pattern, reusable) */
.section-head--split { max-width: none; display: grid; gap: var(--sp-4) var(--sp-8); align-items: end; }
@media (min-width: 900px) { .section-head--split { grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); } }
.section-head--split .section-title { margin: 0; }
.section-head__aside { display: grid; gap: var(--sp-4); justify-items: start; }
.section-head__aside p { margin: 0; font-size: var(--fs-lg); color: var(--text-muted); max-width: 46ch; }

.section-title { font-size: clamp(2.125rem, 1.7rem + 1.1vw, 2.75rem); line-height: 1; text-transform: uppercase; letter-spacing: -.005em; color: var(--ink); }
.section-title em { color: var(--plum-600); }
.section-title--light, .section-head--light .section-title { color: var(--white); }
.section-title--light em, .section-head--light .section-title em { color: var(--plum-300); }
.section-lead { font-size: var(--fs-lg); color: var(--text-muted); margin: 0; }
.section-head--light .section-lead { color: var(--text-on-dark-muted); }

.eyebrow {
  font-family: var(--font-body); font-size: var(--fs-xs); font-weight: 700;
  letter-spacing: .16em; text-transform: uppercase; color: var(--plum-600); margin-bottom: var(--sp-3);
}
.eyebrow--light, .section-head--light .eyebrow { color: var(--plum-200); }
.eyebrow span { color: var(--plum-300); }

.split { display: grid; gap: var(--sp-7); align-items: start; }
@media (min-width: 900px) {
  .split { grid-template-columns: 1.25fr 1fr; gap: var(--sp-8); }
  .split--media { grid-template-columns: 1fr 1fr; align-items: center; }
}

.prose { max-width: 70ch; }
.prose p, .prose li { color: var(--text-muted); font-size: var(--fs-lg); }
.prose h3 { margin-top: var(--sp-6); color: var(--ink); }
.prose .eyebrow { font-size: var(--fs-xs); color: var(--plum-600); }
.prose--legal { max-width: 78ch; }
.prose--legal h2 { font-size: 1.75rem; margin-top: var(--sp-7); color: var(--ink); }
.prose--legal p, .prose--legal li { font-size: var(--fs-md); }
.prose--legal ul { padding-left: 1.25rem; margin-bottom: var(--sp-4); }
.prose--legal li { margin-bottom: var(--sp-2); }

.btn-row { display: flex; flex-wrap: wrap; gap: var(--sp-3); margin-top: var(--sp-5); }
.btn-row--center { justify-content: center; }

/* Scroll reveal (motion-safe; content stays visible without JS — see assets/js/modules/reveal.js) */
@media (prefers-reduced-motion: no-preference) {
  .reveal-ready [data-reveal] { opacity: 0; transform: translateY(28px); transition: opacity .8s var(--ease), transform .8s var(--ease), translate .35s var(--ease), box-shadow .35s var(--ease); }
  .reveal-ready [data-reveal].is-visible { opacity: 1; transform: none; }
}

/* ==== buttons.css ==== */
/* Buttons — WordPress: core/button block styles registered in theme.json + register_block_style */
.btn {
  --btn-bg: var(--plum-600); --btn-fg: var(--white); --btn-bd: var(--plum-600);
  display: inline-flex; align-items: center; justify-content: center; gap: .6em;
  min-height: 48px; padding: .75rem 1.35rem;
  font-family: var(--font-body); font-size: var(--fs-sm); font-weight: 700; letter-spacing: .04em; text-transform: uppercase;
  line-height: 1.2; text-decoration: none; text-align: center;
  color: var(--btn-fg); background: var(--btn-bg); border: 2px solid var(--btn-bd); border-radius: var(--radius-sm);
  transition: background-color .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease), transform .2s var(--ease), box-shadow .2s var(--ease);
}
.btn .icon { width: 1.15em; height: 1.15em; transition: transform .2s var(--ease); }
.btn:hover { color: var(--btn-fg); transform: translateY(-2px); }
.btn:hover .icon:last-child { transform: translateX(3px); }
.btn:active { transform: translateY(1px); }

.btn--primary { box-shadow: 0 10px 30px -12px rgba(68, 23, 56, .8); }
.btn--primary:hover { --btn-bg: var(--plum-700); --btn-bd: var(--plum-700); box-shadow: 0 16px 36px -14px rgba(68, 23, 56, .9); }
.btn--light { --btn-bg: var(--white); --btn-fg: var(--ink); --btn-bd: var(--white); }
.btn--light:hover { --btn-bg: var(--plum-100); --btn-bd: var(--plum-100); --btn-fg: var(--ink); }
.btn--ghost-light { --btn-bg: transparent; --btn-fg: var(--white); --btn-bd: rgba(255, 255, 255, .7); }
.btn--ghost-light:hover { --btn-bg: var(--white); --btn-fg: var(--ink); --btn-bd: var(--white); }
.btn--outline { --btn-bg: transparent; --btn-fg: var(--plum-600); --btn-bd: var(--plum-600); }
.btn--outline:hover { --btn-bg: var(--plum-600); --btn-fg: var(--white); }
.btn--lg { min-height: 54px; padding: .9rem 1.6rem; font-size: var(--fs-md); }
.btn--xl { min-height: 60px; padding: 1rem 1.9rem; font-size: 1.0625rem; }
.btn--block { width: 100%; }
.btn.is-disabled { opacity: .55; cursor: not-allowed; pointer-events: none; }

.round-btn {
  display: inline-grid; place-items: center; width: 48px; height: 48px; border-radius: 50%;
  background: transparent; color: var(--white); border: 2px solid rgba(255, 255, 255, .6);
  transition: background-color .2s, border-color .2s;
}
.round-btn:hover { background: var(--plum-600); border-color: var(--plum-600); }
.round-btn .icon { width: 20px; height: 20px; }
.round-btn--dark { color: var(--ink); border-color: #C9CBD5; background: var(--white); }
.round-btn--dark:hover { color: var(--white); }
.round-btn[disabled] { opacity: .4; cursor: default; }

/* Text link with arrow */
.link-arrow { display: inline-flex; align-items: center; gap: .5rem; font-weight: 700; text-decoration: none; color: var(--plum-600); min-height: 44px; }
.link-arrow .icon { transition: transform .2s var(--ease); }
.link-arrow:hover { color: var(--plum-hover); }
.link-arrow:hover .icon { transform: translateX(4px); }
.link-arrow--light { color: var(--white); }
.link-arrow--light:hover { color: var(--plum-200); }

/* ==== header.css ==== */
/* Site header — WordPress: template-parts/site-header.php, menu 'primary'.
   Compact header (approved on Home 2026-09-29): 68px mobile · 70px tablet · 78px desktop.
   Desktop navigation from 1200px so nav, phone and CTA never compress. */
.site-header {
  position: sticky; top: 0; z-index: 100; isolation: isolate;
  border-bottom: 1px solid transparent; /* keeps the 1px; the visible line is drawn by ::before */
  color: var(--white);
}
/* Background + blur live on a pseudo-element: backdrop-filter on the header itself
   would become the containing block of the fixed mobile menu and clip it. */
.site-header::before { content: ""; position: absolute; inset: 0 0 -1px 0; z-index: -1; background: rgba(14, 18, 29, .97); border-bottom: 1px solid var(--border-dark); pointer-events: none; }
@supports (backdrop-filter: blur(8px)) { .site-header::before { background: rgba(14, 18, 29, .88); backdrop-filter: blur(10px); } }
.site-header__inner { display: flex; align-items: center; gap: var(--sp-4); min-height: var(--header-h); }
.site-header__brand { flex: none; display: block; padding-block: 6px; }
.site-header .logo { width: 128px; height: auto; }
@media (min-width: 768px) { .site-header .logo { width: 138px; } }

.site-header__actions { display: flex; align-items: center; gap: var(--sp-3); margin-left: auto; }
.site-header__phone, .site-header__cta { white-space: nowrap; }
.site-header__phone { display: inline-flex; align-items: center; justify-content: center; gap: .5rem; width: 44px; height: 44px; border: 1px solid var(--border-dark); border-radius: 50%; color: var(--white); text-decoration: none; font-weight: 700; }
.site-header__phone .icon { color: var(--plum-200); }
.site-header__phone:hover { color: var(--plum-200); }
.site-header__phone span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.site-header__phone-label { display: none; }
.site-header__cta { display: none; }
@media (min-width: 640px) { .site-header__cta { display: inline-flex; min-height: 44px; padding: 0 18px; font-size: 13.5px; border-radius: 7px; } }

/* Navigation */
.nav__list { list-style: none; display: flex; }
.nav__item { position: relative; }
.nav__link { display: block; color: var(--white); text-decoration: none; font-weight: 500; font-size: var(--fs-sm); }
.nav__link:hover, .nav__link[aria-current="page"] { color: var(--plum-200); }
.nav__toggle { display: inline-grid; place-items: center; background: none; border: 0; color: var(--white); padding: 0; }
.nav__toggle .icon { transition: transform .2s; }
.nav__toggle[aria-expanded="true"] .icon { transform: rotate(180deg); }

.mega__title { font-size: var(--fs-xs); font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--text-muted); margin-bottom: var(--sp-2); }
.mega ul { list-style: none; }
.mega li a { display: flex; align-items: center; gap: .6rem; padding: .5rem .5rem; border-radius: var(--radius-sm); color: var(--text); text-decoration: none; font-weight: 600; font-size: var(--fs-sm); }
.mega li a .icon { color: var(--plum-600); }
.mega li a:hover, .mega li a[aria-current="page"] { background: var(--plum-100); color: var(--plum-700); }
.mega__all { display: inline-flex; align-items: center; gap: .4rem; font-weight: 700; font-size: var(--fs-sm); text-decoration: none; }

.nav-burger { display: inline-grid; place-items: center; width: 44px; height: 44px; background: none; border: 1px solid var(--border-dark); border-radius: var(--radius-sm); color: var(--white); }
.nav-burger .icon { width: 24px; height: 24px; }
.nav-burger__close, .nav-burger[aria-expanded="true"] .nav-burger__open { display: none; }
.nav-burger[aria-expanded="true"] .nav-burger__close { display: block; }
.nav__mobile-extra { display: none; }

/* Mobile / tablet navigation panel (< 1200px) */
@media (max-width: 1199.98px) {
  .nav {
    position: fixed; inset: calc(var(--header-h) + 1px) 0 0 0; z-index: 99;
    background: var(--ink); overflow-y: auto; overscroll-behavior: contain;
    padding: var(--sp-4) var(--gutter) var(--sp-8);
    visibility: hidden; opacity: 0; transform: translateY(-8px);
    transition: opacity .2s var(--ease), transform .2s var(--ease), visibility 0s linear .2s;
  }
  .nav.is-open { visibility: visible; opacity: 1; transform: none; transition-delay: 0s; }
  .nav__list { flex-direction: column; }
  .nav__item { display: flex; flex-wrap: wrap; align-items: center; border-bottom: 1px solid var(--border-dark); }
  .nav__link { flex: 1; padding: 1rem 0; font-size: var(--fs-lg); font-weight: 600; }
  .nav__toggle { width: 48px; height: 48px; }
  .mega { flex-basis: 100%; display: none; padding-bottom: var(--sp-4); }
  .mega.is-open { display: block; }
  .mega__inner { display: grid; gap: var(--sp-4); }
  .mega__title { color: var(--text-on-dark-muted); }
  .mega li a { color: var(--white); padding: .65rem .25rem; }
  .mega li a .icon { color: var(--plum-300); }
  .mega li a:hover, .mega li a[aria-current="page"] { background: var(--ink-3); color: var(--white); }
  .mega__all { color: var(--plum-200); margin-top: var(--sp-2); }
  .nav__mobile-extra { display: grid; gap: var(--sp-3); margin-top: var(--sp-6); }
  body.nav-open { overflow: hidden; }
}

/* Desktop navigation (≥ 1200px) */
@media (min-width: 1200px) {
  .site-header .container { max-width: 1340px; padding-inline: 28px; }
  .site-header__inner { gap: 0; }
  .site-header .logo { width: 150px; }
  .nav-burger { display: none; }
  .nav { margin-left: 36px; }
  .nav__list { gap: 26px; align-items: center; }
  .nav__link { font-size: 15px; padding-block: 26px; position: relative; }
  .nav__link::after { content: ""; position: absolute; left: 0; right: 0; bottom: 19px; height: 2px; background: var(--plum-300); transform: scaleX(0); transition: transform .2s var(--ease); }
  .nav__link:hover::after, .nav__link[aria-current="page"]::after { transform: scaleX(1); }
  .nav__item--has-menu { display: flex; align-items: center; gap: .15rem; }
  .nav__toggle { width: 24px; height: 24px; }
  .site-header__actions { gap: 20px; }
  .site-header__phone { gap: 10px; width: auto; height: auto; border: 0; border-radius: 0; }
  .site-header__phone span { position: static; width: auto; height: auto; overflow: visible; clip: auto; display: grid; line-height: 1.15; font-size: 18px; }
  .site-header__phone .icon { width: 40px; height: 40px; padding: 10px; border-radius: 50%; background: rgba(122, 70, 120, .22); box-shadow: inset 0 0 0 1px rgba(167, 122, 165, .35); }
  .site-header__cta { min-height: 48px; padding: 0 22px; font-size: 13.5px; letter-spacing: .05em; border-radius: 7px; gap: .5em; }
  .site-header__cta .icon { width: 16px; height: 16px; }
  .mega {
    position: absolute; top: 100%; left: 50%; width: min(760px, 90vw);
    transform: translate(-50%, 8px); opacity: 0; visibility: hidden;
    transition: opacity .18s var(--ease), transform .18s var(--ease), visibility 0s linear .18s;
  }
  .mega__inner {
    display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--sp-5);
    background: var(--white); color: var(--text); border-radius: var(--radius-lg); box-shadow: var(--shadow-lg);
    padding: var(--sp-6); border-top: 3px solid var(--plum-600);
  }
  .mega__all { grid-column: 1 / -1; border-top: 1px solid var(--border); padding-top: var(--sp-4); }
  .nav__item--has-menu:hover .mega, .nav__item--has-menu:focus-within .mega, .mega.is-open {
    opacity: 1; visibility: visible; transform: translate(-50%, 0); transition-delay: 0s;
  }
}
/* "CALL US" label only above 1280px */
@media (min-width: 1281px) {
  .site-header__phone-label { display: block; font-size: 11px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--text-on-dark-muted); margin-bottom: 2px; }
}
/* 1200–1279: number without the circle, tighter gaps */
@media (min-width: 1200px) and (max-width: 1279.98px) {
  .nav { margin-left: 28px; }
  .nav__list { gap: 22px; }
  .site-header__phone .icon { width: 20px; height: 20px; padding: 0; background: none; box-shadow: none; }
  .site-header__phone { gap: 8px; }
}

/* ==== hero.css ==== */
/* Inner page hero — WordPress pattern jr/page-hero (core/cover based).
   Same language as the Home hero (plum-tinted dark overlay, kicker with rule,
   condensed uppercase title, plum accent line) at inner-page scale. Home hero lives in home.css. */
.page-hero { position: relative; isolation: isolate; color: var(--white); background: var(--grad-dark); overflow: hidden; }
.page-hero__media { position: absolute; inset: 0; z-index: -2; }
.page-hero__media img { width: 100%; height: 100%; object-fit: cover; object-position: 70% 40%; filter: saturate(.9) contrast(1.05); }
.page-hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(60% 80% at 15% 60%, rgba(98, 51, 97, .35), transparent 70%),
    linear-gradient(90deg, rgba(14, 18, 29, .97) 0%, rgba(14, 18, 29, .9) 35%, rgba(14, 18, 29, .55) 65%, rgba(14, 18, 29, .25) 100%),
    linear-gradient(0deg, rgba(14, 18, 29, .7) 0%, rgba(14, 18, 29, 0) 40%);
}
@media (max-width: 899px) {
  .page-hero::before { background: radial-gradient(80% 60% at 20% 70%, rgba(98, 51, 97, .35), transparent 70%), linear-gradient(180deg, rgba(14, 18, 29, .8) 0%, rgba(14, 18, 29, .9) 55%, rgba(14, 18, 29, .97) 100%); }
}
/* No photo: deep plum gradient + faint blueprint grid */
.page-hero--plain::before {
  background:
    radial-gradient(900px 420px at 88% 0%, rgba(122, 70, 120, .45), transparent 60%),
    linear-gradient(rgba(167, 122, 165, .05) 1px, transparent 1px) 0 0 / 56px 56px,
    linear-gradient(90deg, rgba(167, 122, 165, .05) 1px, transparent 1px) 0 0 / 56px 56px;
}
.page-hero::after { content: ""; position: absolute; left: 0; bottom: 0; width: min(420px, 40%); height: 2px; background: linear-gradient(90deg, var(--plum-300), transparent); }

.page-hero__inner { padding-block: clamp(2.5rem, 1.5rem + 4vw, 5rem) clamp(3rem, 2rem + 4vw, 5.5rem); }
.page-hero--compact .page-hero__inner { padding-block: clamp(2rem, 1.5rem + 2vw, 3rem) clamp(2.5rem, 2rem + 2vw, 3.5rem); }
.page-hero__kicker { display: inline-flex; align-items: center; gap: .8rem; margin: 0 0 var(--sp-4); font-size: var(--fs-xs); font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--plum-200); }
.page-hero__kicker::before { content: ""; width: 36px; height: 2px; background: linear-gradient(90deg, var(--plum-600), var(--plum-300)); }
.page-hero__title { font-size: clamp(2.25rem, 1.5rem + 2.4vw, 3.5rem); line-height: .98; text-transform: uppercase; letter-spacing: -.008em; max-width: 18ch; margin-bottom: var(--sp-4); }
.page-hero__lead { font-size: clamp(1.0625rem, .98rem + .45vw, 1.3rem); line-height: 1.45; color: var(--text-on-dark); max-width: 56ch; margin: 0; }

.breadcrumbs { margin-bottom: var(--sp-5); font-size: var(--fs-sm); }
.breadcrumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: .25rem .5rem; }
.breadcrumbs li { display: flex; align-items: center; gap: .5rem; color: var(--text-on-dark-muted); }
.breadcrumbs li + li::before { content: "/"; opacity: .6; }
.breadcrumbs a { display: inline-block; min-width: 24px; padding-block: 4px; color: var(--white); text-decoration: none; }
.breadcrumbs a:hover { text-decoration: underline; }
.breadcrumbs [aria-current] { color: var(--plum-200); }

/* Trust list (About credentials) — same icon boxes as the Home hero bar */
.trust { list-style: none; display: grid; gap: var(--sp-5); grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); }
.trust li { display: flex; gap: .85rem; align-items: center; font-size: var(--fs-sm); line-height: 1.35; }
.trust .icon { width: 24px; height: 24px; }
.trust li > .icon { box-sizing: content-box; padding: 11px; flex: none; border-radius: 12px; color: var(--plum-200); background: linear-gradient(135deg, rgba(122, 70, 120, .28), rgba(98, 51, 97, .28)); box-shadow: inset 0 0 0 1px rgba(167, 122, 165, .28); }
.trust strong { display: block; font-size: 1.0625rem; color: var(--white); }
.trust li > span { color: var(--text-on-dark-muted); }

/* ==== cards.css ==== */
/* Cards — WordPress: template-parts/card-*.php and locked patterns */

/* ---------- Service tile (photo-led card, approved on Home) ---------- */
.svc-grid { display: grid; gap: var(--sp-4); grid-template-columns: 1fr; }
@media (min-width: 600px) { .svc-grid { grid-template-columns: repeat(2, 1fr); gap: var(--sp-5); } }
@media (min-width: 1100px) { .svc-grid { grid-template-columns: repeat(4, 1fr); } .svc-grid--3 { grid-template-columns: repeat(3, 1fr); } }
.svc-tile {
  position: relative; isolation: isolate; overflow: hidden; border-radius: var(--radius-lg);
  aspect-ratio: 4 / 4.4; background: var(--ink); color: var(--white);
  box-shadow: 0 1px 2px rgba(14, 18, 29, .08), 0 12px 28px -14px rgba(14, 18, 29, .35);
  transition: translate .35s var(--ease), box-shadow .35s var(--ease);
}
.svc-grid--3 .svc-tile { aspect-ratio: 4 / 3.6; }
@media (max-width: 599px) { .svc-tile, .svc-grid--3 .svc-tile { aspect-ratio: 16 / 11; } }
.svc-tile__media { position: absolute; inset: 0; z-index: -2; }
.svc-tile__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); }
.svc-tile::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(14, 18, 29, 0) 30%, rgba(14, 18, 29, .6) 58%, rgba(14, 18, 29, .94) 100%); }
.svc-tile::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(98, 51, 97, 0) 40%, rgba(99, 51, 98, .35)); opacity: 0; transition: opacity .35s var(--ease); }
.svc-tile__body { position: absolute; left: 0; right: 0; bottom: 0; padding: var(--sp-5) 72px var(--sp-5) var(--sp-5); }
.svc-tile__icon { display: grid; place-items: center; width: 40px; height: 40px; margin-bottom: var(--sp-3); border-radius: 10px; background: rgba(14, 18, 29, .7); box-shadow: inset 0 0 0 1px rgba(167, 122, 165, .35); color: var(--plum-200); }
.svc-tile__icon .icon { width: 22px; height: 22px; }
.svc-tile__title { margin: 0; font-family: var(--font-display); font-weight: 800; font-size: clamp(1.45rem, 1.25rem + .5vw, 1.75rem); line-height: 1; text-transform: uppercase; letter-spacing: .01em; }
.svc-tile__title a { color: var(--white); text-decoration: none; }
.svc-tile__meta { margin: .35rem 0 0; font-size: var(--fs-sm); color: #D9DBE3; line-height: 1.35; }
.svc-tile__go { position: absolute; right: var(--sp-5); bottom: var(--sp-5); display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: rgba(255, 255, 255, .14); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .3); color: var(--white); transition: background-color .3s var(--ease), transform .3s var(--ease); }
.svc-tile__go .icon { width: 20px; height: 20px; }
.svc-tile:hover, .svc-tile:focus-within { translate: 0 -6px; box-shadow: 0 2px 4px rgba(14, 18, 29, .08), 0 28px 50px -18px rgba(68, 23, 56, .55); }
.svc-tile:hover .svc-tile__media img, .svc-tile:focus-within .svc-tile__media img { transform: scale(1.07); }
.svc-tile:hover::after, .svc-tile:focus-within::after { opacity: 1; }
.svc-tile:hover .svc-tile__go, .svc-tile:focus-within .svc-tile__go { background: var(--plum-600); box-shadow: none; transform: translateX(4px); }
.svc-tile:focus-within { outline: 3px solid var(--plum-300); outline-offset: 3px; }
.svc-tile .stretched:focus-visible { outline: none; }
.svc-tile__ph { height: 100%; display: grid; place-items: center; align-content: center; gap: var(--sp-3); padding-bottom: 30%; background: radial-gradient(circle at 70% 20%, rgba(122, 70, 120, .35), transparent 55%), repeating-linear-gradient(-45deg, #2E1A2D 0 14px, #281626 14px 28px); color: var(--plum-300); }
.svc-tile__ph > .icon { width: 64px; height: 64px; opacity: .55; }
.stretched::after { content: ""; position: absolute; inset: 0; z-index: 1; }

/* "Not sure what you need?" CTA tile */
.svc-cta {
  position: relative; isolation: isolate; overflow: hidden; display: flex; flex-direction: column; justify-content: flex-end; gap: var(--sp-3);
  border-radius: var(--radius-lg); padding: var(--sp-6) var(--sp-5) var(--sp-6) var(--sp-6); min-height: 100%;
  background: linear-gradient(160deg, var(--plum-deep) 0%, var(--ink) 55%); color: var(--white);
  box-shadow: var(--shadow-plum), inset 0 0 0 1px rgba(167, 122, 165, .22);
}
.svc-cta::before { content: ""; position: absolute; z-index: -1; width: 340px; height: 340px; right: -140px; top: -120px; border-radius: 50%; background: radial-gradient(closest-side, rgba(122, 70, 120, .6), transparent); }
.svc-cta::after { content: ""; position: absolute; z-index: -1; left: 0; top: 0; width: 5px; height: 100%; background: linear-gradient(180deg, var(--plum-300), var(--plum-600)); }
.svc-cta .eyebrow { margin: 0; color: var(--plum-200); }
.svc-cta__title { margin: 0; font-family: var(--font-display); font-weight: 800; font-size: clamp(1.7rem, 1.4rem + .6vw, 2rem); line-height: .95; text-transform: uppercase; }
.svc-cta p { margin: 0; color: var(--text-on-dark-muted); }
.svc-cta__actions { display: grid; gap: var(--sp-2); justify-items: start; margin-top: var(--sp-3); }

/* ---------- Panel ("What we handle") ---------- */
.panel { position: relative; background: var(--white); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: var(--sp-6); box-shadow: 0 30px 60px -40px rgba(14, 18, 29, .45); overflow: hidden; }
.panel::before { content: ""; position: absolute; left: 0; top: 0; right: 0; height: 4px; background: var(--grad-brand); }
.panel__title { display: flex; align-items: center; gap: .6rem; font-family: var(--font-display); font-size: 1.75rem; text-transform: uppercase; color: var(--ink); }
.panel__title .icon { width: 36px; height: 36px; padding: 7px; border-radius: 10px; background: var(--plum-100); color: var(--plum-600); }
.checklist { list-style: none; display: grid; gap: .7rem; margin-bottom: var(--sp-5); }
.checklist li { display: flex; gap: .6rem; align-items: flex-start; font-weight: 500; }
.checklist .icon { width: 22px; height: 22px; padding: 3px; border-radius: 50%; background: var(--plum-600); color: var(--white); margin-top: 1px; }
.panel__facts { list-style: none; display: grid; gap: .5rem; padding-top: var(--sp-4); border-top: 1px solid var(--border); font-size: var(--fs-sm); color: var(--text-muted); }
.panel__facts li { display: flex; gap: .5rem; align-items: center; }
.panel__facts .icon { color: var(--plum-600); }

/* ---------- Process steps (used on dark sections) ---------- */
.steps { list-style: none; display: grid; gap: var(--sp-5); }
@media (min-width: 800px) { .steps { grid-template-columns: repeat(3, 1fr); } }
.step { position: relative; padding: var(--sp-6); border-radius: var(--radius-lg); background: var(--white); border: 1px solid var(--border); }
.step__num { display: block; font-family: var(--font-display); font-weight: 800; font-size: 3rem; line-height: 1; color: transparent; -webkit-text-stroke: 1.5px var(--plum-600); margin-bottom: var(--sp-3); }
.step__title { margin-bottom: var(--sp-2); color: var(--ink); }
.step p { margin: 0; color: var(--text-muted); }
.section--dark .step { background: rgba(255, 255, 255, .04); border-color: rgba(167, 122, 165, .22); }
.section--dark .step__num { -webkit-text-stroke-color: var(--plum-300); }
.section--dark .step__title { color: var(--white); }
.section--dark .step p { color: var(--text-on-dark-muted); }

/* ---------- Mission / vision ---------- */
.mv-grid { display: grid; gap: var(--sp-5); }
@media (min-width: 800px) { .mv-grid { grid-template-columns: 1fr 1fr; } }
.mv-card { position: relative; padding: var(--sp-7) var(--sp-6); border-radius: var(--radius-lg); background: var(--bg-light); overflow: hidden; }
.mv-card::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 4px; background: linear-gradient(180deg, var(--plum-300), var(--plum-600)); }
.mv-card > .icon { width: 48px; height: 48px; padding: 10px; border-radius: 12px; background: var(--plum-100); color: var(--plum-600); margin-bottom: var(--sp-4); }
.mv-card h3 { font-family: var(--font-display); font-size: 1.9rem; text-transform: uppercase; color: var(--ink); }
.mv-card p { margin: 0; color: var(--text-muted); font-size: var(--fs-lg); }

/* ---------- Contact cards ---------- */
.contact-cards { list-style: none; display: grid; gap: var(--sp-4); grid-template-columns: repeat(auto-fill, minmax(min(100%, 230px), 1fr)); }
.contact-card { padding: var(--sp-5); border: 1px solid var(--border); border-radius: var(--radius-lg); background: var(--white); box-shadow: 0 1px 2px rgba(14, 18, 29, .05); transition: translate .3s var(--ease), box-shadow .3s var(--ease); }
.contact-card:hover { translate: 0 -3px; box-shadow: 0 18px 36px -24px rgba(68, 23, 56, .5); }
.contact-card > .icon { width: 44px; height: 44px; padding: 10px; border-radius: 12px; background: var(--plum-100); color: var(--plum-600); margin-bottom: var(--sp-3); }
.contact-card h2 { font-family: var(--font-body); font-size: var(--fs-xs); font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--text-muted); margin-bottom: var(--sp-1); }
.contact-card a, .contact-card p { margin: 0; font-size: var(--fs-lg); font-weight: 700; color: var(--ink); text-decoration: none; overflow-wrap: anywhere; }
.contact-card a:hover { color: var(--plum-600); text-decoration: underline; }

/* ---------- Service areas ---------- */
.areas-grid { display: grid; gap: var(--sp-4); grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr)); }
.area-card { padding: var(--sp-6); border-radius: var(--radius-lg); }
.area-card--main { position: relative; isolation: isolate; overflow: hidden; grid-column: 1 / -1; background: var(--grad-plum-band); color: var(--white); box-shadow: var(--shadow-plum); }
.area-card--main::before { content: ""; position: absolute; z-index: -1; width: 520px; height: 520px; right: -160px; top: -260px; border-radius: 50%; background: radial-gradient(closest-side, rgba(167, 122, 165, .32), transparent); }
.area-card--main > .icon { width: 36px; height: 36px; margin-bottom: var(--sp-3); color: var(--plum-200); }
.area-card--main h3 { font-family: var(--font-display); font-size: clamp(2rem, 1.6rem + 1vw, 2.5rem); text-transform: uppercase; }
.area-card--main p { color: rgba(255, 255, 255, .9); }
.area-card__links { list-style: none; display: flex; flex-wrap: wrap; gap: .5rem; }
.area-card__links a { display: inline-block; padding: .45rem .9rem; border-radius: 999px; background: rgba(255, 255, 255, .14); color: var(--white); text-decoration: none; font-size: var(--fs-sm); font-weight: 600; transition: background-color .2s, color .2s; }
.area-card__links a:hover { background: var(--white); color: var(--plum-700); }

/* ---------- About media ---------- */
.media-stack { display: grid; grid-template-columns: 2fr 1fr; gap: var(--sp-4); align-items: end; }
.media-stack img { width: 100%; border-radius: var(--radius-lg); object-fit: cover; box-shadow: 0 30px 60px -30px rgba(14, 18, 29, .55); }
.media-stack img:first-child { aspect-ratio: 3 / 4; }
.media-stack img:last-child { aspect-ratio: 3 / 4; margin-bottom: var(--sp-7); }
.lead-name { font-family: var(--font-display); font-size: 2rem; font-weight: 700; color: var(--ink); margin-bottom: var(--sp-2); }
@media (min-width: 900px) { .contact-cards { grid-template-columns: repeat(3, 1fr); } }

/* ==== sections.css ==== */
/* Shared bands: CTA band, estimate panel, plum band, status pages.
   Home-only compositions (hero, before/after, recent work) live in home.css */

/* ---------- CTA band ---------- */
.cta-band { position: relative; isolation: isolate; overflow: hidden; background: var(--grad-plum-band); color: var(--white); padding-block: var(--sp-8); }
.cta-band::before { content: ""; position: absolute; z-index: -1; width: 620px; height: 620px; right: -200px; top: -300px; border-radius: 50%; background: radial-gradient(closest-side, rgba(167, 122, 165, .3), transparent); }
.cta-band__inner { display: grid; gap: var(--sp-5); align-items: center; }
@media (min-width: 900px) { .cta-band__inner { grid-template-columns: 1fr auto; } .cta-band .btn-row { margin: 0; } }
.cta-band__title { font-size: clamp(1.9rem, 1.5rem + 1.2vw, 2.5rem); line-height: 1; text-transform: uppercase; margin-bottom: var(--sp-3); }
.cta-band p { margin: 0; color: rgba(255, 255, 255, .9); font-size: var(--fs-lg); }

/* ---------- Plum band (reviews on Home; reusable) ---------- */
.band-plum { position: relative; isolation: isolate; overflow: hidden; color: var(--white); background: var(--grad-plum-band); }
.band-plum::before { content: ""; position: absolute; z-index: -1; width: 720px; height: 720px; right: -220px; top: -320px; border-radius: 50%; background: radial-gradient(closest-side, rgba(167, 122, 165, .32), transparent); }
.band-plum::after { content: ""; position: absolute; z-index: -1; inset: auto -10% -40% -10%; height: 70%; background: radial-gradient(ellipse at 30% 100%, rgba(14, 18, 29, .45), transparent 60%); }
.band-plum .eyebrow { color: #EBDDEA; }
.band-plum .section-title { color: var(--white); }
.band-plum .section-head__aside p, .band-plum .section-lead { color: rgba(255, 255, 255, .88); }

/* ---------- Estimate panel (dark info column + form), approved on Home ---------- */
.estimate-feature { background: linear-gradient(180deg, var(--bg-light) 0%, var(--bg-light) 55%, var(--white) 55%); }
.estimate-panel { display: grid; overflow: hidden; border-radius: 24px; background: var(--white); box-shadow: 0 40px 80px -40px rgba(14, 18, 29, .45), 0 0 0 1px rgba(14, 18, 29, .06); }
@media (min-width: 960px) { .estimate-panel { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); } }
.estimate-panel__info {
  position: relative; isolation: isolate; overflow: hidden; display: flex; flex-direction: column;
  padding: clamp(2rem, 1.5rem + 2.5vw, 3.5rem); color: var(--text-on-dark);
  background: radial-gradient(90% 60% at 100% 100%, rgba(122, 70, 120, .45), transparent 70%), linear-gradient(160deg, var(--plum-deep) 0%, var(--ink) 60%);
}
.estimate-panel__info::before { content: ""; position: absolute; inset: 0; z-index: -1; background-image: linear-gradient(rgba(167, 122, 165, .05) 1px, transparent 1px), linear-gradient(90deg, rgba(167, 122, 165, .05) 1px, transparent 1px); background-size: 40px 40px; -webkit-mask-image: linear-gradient(180deg, transparent, #000 60%); mask-image: linear-gradient(180deg, transparent, #000 60%); }
.estimate-panel__info .eyebrow { color: var(--plum-200); }
.estimate-panel__title { margin: 0 0 var(--sp-4); color: var(--white); font-size: clamp(2.125rem, 1.5rem + 1.6vw, 3rem); line-height: 1; text-transform: uppercase; letter-spacing: -.01em; }
.estimate-panel__info > p { color: var(--text-on-dark-muted); font-size: var(--fs-lg); }
.estimate-panel__mascot { position: relative; display: flex; align-items: flex-end; justify-content: space-between; gap: var(--sp-4); margin-top: auto; padding-top: var(--sp-6); }
.estimate-panel__mascot img { position: relative; width: clamp(150px, 14vw, 210px); margin-bottom: calc(-1 * clamp(2rem, 1.5rem + 2.5vw, 3.5rem)); filter: drop-shadow(0 20px 30px rgba(0, 0, 0, .45)); }
.estimate-panel__mascot::before { content: ""; position: absolute; right: -10%; bottom: -30%; width: 320px; height: 320px; border-radius: 50%; background: radial-gradient(closest-side, rgba(122, 70, 120, .55), transparent); z-index: 0; }
.estimate-panel__tagline { position: relative; margin: 0 0 var(--sp-2); font-family: var(--font-display); font-weight: 800; font-size: clamp(1.4rem, 1.1rem + .8vw, 1.85rem); line-height: .95; text-transform: uppercase; color: var(--white); max-width: 8ch; }
.estimate-panel__form { padding: clamp(1.5rem, 1rem + 2.5vw, 3.5rem); background: var(--white); }
.estimate-panel__form .btn--primary { min-height: 62px; font-size: 1.0625rem; letter-spacing: .06em; }
.estimate-panel__form .field input, .estimate-panel__form .field select, .estimate-panel__form .field textarea { background: #FBFAFE; }

.contact-list { list-style: none; display: grid; gap: .85rem; margin-top: var(--sp-5); }
.contact-list li { display: flex; align-items: center; gap: .75rem; font-weight: 600; }
.contact-list .icon { width: 22px; height: 22px; color: var(--plum-600); }
.contact-list a { color: var(--ink); text-decoration: none; overflow-wrap: anywhere; }
.contact-list a:hover { color: var(--plum-600); text-decoration: underline; }
.contact-list--light a, .contact-list--light span { color: var(--white); }
.contact-list--light a:hover { color: var(--plum-200); }
.contact-list--light .icon { color: var(--plum-300); }
@media (max-width: 479px) {
  .estimate-panel__info .contact-list { font-size: .9375rem; }
  .estimate-panel__info .contact-list a { overflow-wrap: normal; word-break: normal; }
}

/* ---------- Thank you / 404 ---------- */
.status-page { position: relative; isolation: isolate; overflow: hidden; }
.status-page::before { content: ""; position: absolute; z-index: -1; width: 700px; height: 700px; left: 50%; top: -420px; transform: translateX(-50%); border-radius: 50%; background: radial-gradient(closest-side, rgba(167, 122, 165, .22), transparent); }
.status-page__inner { max-width: 720px; text-align: center; }
.status-page__inner .section-lead { margin-bottom: var(--sp-5); }
.status-page__icon { display: inline-grid; place-items: center; width: 80px; height: 80px; border-radius: 50%; background: var(--plum-100); color: var(--plum-600); margin-bottom: var(--sp-5); }
.status-page__icon .icon { width: 40px; height: 40px; stroke-width: 2.5; }
.status-page__code { font-family: var(--font-display); font-weight: 800; font-size: clamp(5.5rem, 4rem + 6vw, 9rem); line-height: .9; margin: 0 0 var(--sp-3); background: var(--grad-brand); -webkit-background-clip: text; background-clip: text; color: transparent; }
.demo-banner { margin: 0 auto var(--sp-5); padding: var(--sp-3) var(--sp-4); border-radius: var(--radius-sm); background: #FFF6E0; border: 1px solid #F0C36D; color: #5C3D00; font-size: var(--fs-sm); }

/* "For Contractors" band: light, compact card between plum sections; the button opens the Contact form preselected. */
.contractors { padding-block: var(--sp-7); background: var(--bg-light); }
.contractors__card { display: grid; gap: var(--sp-5); align-items: center; padding: clamp(1.5rem, 1rem + 2vw, 2.5rem); background: var(--white); border: 1px solid var(--border); border-left: 4px solid var(--plum-600); border-radius: var(--radius-lg); box-shadow: var(--shadow-sm); }
.contractors__icon { display: grid; place-items: center; width: 56px; height: 56px; border-radius: 14px; color: var(--plum-600); background: var(--plum-100); }
.contractors__icon .icon { width: 28px; height: 28px; }
.contractors__copy .eyebrow { margin-bottom: var(--sp-2); }
.contractors__title { font-size: clamp(1.5rem, 1.2rem + 1vw, 2rem); line-height: 1.05; text-transform: uppercase; margin: 0 0 var(--sp-3); }
.contractors__text { margin: 0; max-width: 62ch; color: var(--text-muted); font-size: var(--fs-md); }
@media (min-width: 900px) { .contractors__card { grid-template-columns: auto 1fr auto; gap: var(--sp-6); } }
@media (max-width: 599px) { .contractors__btn { width: 100%; justify-content: center; } }

/* ==== forms.css ==== */
/* Estimate form */
.form-grid { display: grid; gap: var(--sp-4); margin-bottom: var(--sp-5); }
@media (min-width: 560px) { .form-grid { grid-template-columns: 1fr 1fr; } .field--full { grid-column: 1 / -1; } }
.field { display: grid; gap: .35rem; min-width: 0; }
.field label, .field legend { font-size: var(--fs-sm); font-weight: 600; color: var(--ink); }
.req { color: var(--danger); }
.optional { font-weight: 400; color: var(--text-muted); }
.field input, .field select, .field textarea {
  width: 100%; min-height: 48px; padding: .7rem .85rem;
  border: 1.5px solid #C9CBD5; border-radius: var(--radius-sm); background: var(--white); color: var(--text);
  font-size: 1rem; /* ≥16px avoids iOS zoom */
  transition: border-color .15s, box-shadow .15s;
}
.field textarea { min-height: 120px; resize: vertical; }
.field select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23633362' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right .75rem center; background-size: 18px; padding-right: 2.5rem; }
.field input::placeholder, .field textarea::placeholder { color: #8A8FA0; }
.field input:hover, .field select:hover, .field textarea:hover { border-color: #A3A7B5; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--plum-600); box-shadow: 0 0 0 3px rgba(99, 51, 98, .25); }
.field [aria-invalid="true"] { border-color: var(--danger); }
.field__error { margin: 0; min-height: 0; font-size: var(--fs-xs); font-weight: 600; color: var(--danger); }
.field__error:empty { display: none; }

.field--inline { border: 0; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: .5rem 1.25rem; }
.field--inline legend { width: 100%; margin-bottom: .35rem; float: left; }
.choice { display: inline-flex; align-items: flex-start; gap: .55rem; font-size: var(--fs-sm); font-weight: 500 !important; cursor: pointer; line-height: 1.4; }
.choice input { width: 20px; height: 20px; min-height: 0; margin: 0; flex: none; accent-color: var(--plum-600); }
.choice--consent { color: var(--text-muted); }

.form-errors { margin-bottom: var(--sp-4); padding: var(--sp-3) var(--sp-4); border-radius: var(--radius-sm); background: #FEF3F2; border: 1px solid #FDA29B; color: #7A271A; font-size: var(--fs-sm); }
.form-errors ul { padding-left: 1.2rem; margin-top: .3rem; }
.form-errors a { color: #7A271A; }
.form-note { margin: var(--sp-3) 0 0; font-size: var(--fs-xs); color: var(--text-muted); text-align: center; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.estimate-form button[aria-busy="true"] { opacity: .7; pointer-events: none; }

/* ==== gallery.css ==== */
/* Gallery grid + filters + lightbox */
.filters { display: flex; flex-wrap: wrap; gap: .5rem; margin: var(--sp-5) 0 var(--sp-6); }
.chip {
  display: inline-flex; align-items: center; gap: .45rem; min-height: 44px; padding: .5rem 1rem;
  border-radius: 999px; border: 1.5px solid var(--border); background: var(--white); color: var(--ink);
  font-size: var(--fs-sm); font-weight: 600; transition: background-color .15s, border-color .15s, color .15s;
}
.chip span { font-size: var(--fs-xs); color: var(--text-muted); }
.chip:hover { border-color: var(--plum-600); }
.chip[aria-pressed="true"] { background: var(--plum-600); border-color: var(--plum-600); color: var(--white); }
.chip[aria-pressed="true"] span { color: rgba(255, 255, 255, .85); }

.gallery { list-style: none; display: grid; gap: var(--sp-3); grid-template-columns: repeat(2, 1fr); }
@media (min-width: 640px) { .gallery { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1100px) { .gallery { grid-template-columns: repeat(4, 1fr); } }
.gallery__item[hidden] { display: none; }
.gallery__btn { position: relative; display: block; width: 100%; padding: 0; border: 0; background: var(--bg-light); border-radius: var(--radius); overflow: hidden; aspect-ratio: 1; cursor: zoom-in; }
.gallery__btn img { width: 100%; height: 100%; object-fit: cover; transition: transform .45s var(--ease); }
.gallery__btn:hover img { transform: scale(1.05); }
.gallery__tag { position: absolute; left: 8px; bottom: 8px; padding: .25rem .6rem; border-radius: 4px; background: rgba(14, 18, 29, .82); color: var(--white); font-size: var(--fs-xs); font-weight: 600; }
.gallery__zoom { position: absolute; top: 8px; right: 8px; display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: rgba(255, 255, 255, .9); color: var(--ink); opacity: 0; transition: opacity .2s; }
.gallery__btn:hover .gallery__zoom, .gallery__btn:focus-visible .gallery__zoom { opacity: 1; }
.gallery__zoom .icon { width: 16px; height: 16px; }

.lightbox { width: 100%; max-width: 100%; height: 100%; max-height: 100%; margin: 0; padding: 0; border: 0; background: rgba(8, 10, 16, .95); color: var(--white); }
.lightbox::backdrop { background: rgba(8, 10, 16, .9); }
.lightbox[open] { display: grid; place-items: center; }
.lightbox figure { margin: 0; display: grid; gap: .75rem; justify-items: center; padding: 64px 16px; }
.lightbox img { max-width: min(1200px, 100%); max-height: calc(100svh - 160px); width: auto; height: auto; object-fit: contain; border-radius: var(--radius-sm); }
.lightbox figcaption { font-size: var(--fs-sm); color: var(--text-on-dark-muted); }
.lightbox__close, .lightbox__nav { position: fixed; display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .12); color: var(--white); }
.lightbox__close:hover, .lightbox__nav:hover { background: var(--plum-600); }
.lightbox__close { top: 12px; right: 12px; }
.lightbox__nav--prev { left: 12px; top: 50%; transform: translateY(-50%); }
.lightbox__nav--next { right: 12px; top: 50%; transform: translateY(-50%); }
.lightbox .icon { width: 22px; height: 22px; }
.gallery-more { display: flex; flex-direction: column; align-items: center; gap: var(--sp-2); margin-top: var(--sp-6); }
.gallery-more[hidden] { display: none; }
.gallery-more p { margin: 0; font-size: var(--fs-sm); color: var(--text-muted); }
.gallery__item.is-paged { display: none; }

/* ==== reviews.css ==== */
/* Review cards — WordPress: jr_review CPT loop (or Trustindex widget, never both) */
.review-card {
  position: relative; margin: 0; display: flex; flex-direction: column; gap: var(--sp-4);
  padding: var(--sp-7) var(--sp-6) var(--sp-6); border-radius: var(--radius-lg); background: var(--white); color: var(--text);
  box-shadow: 0 30px 60px -30px rgba(14, 18, 29, .6); transition: translate .3s var(--ease);
}
.review-card:hover { translate: 0 -4px; }
.review-card__quote { position: absolute; top: var(--sp-5); right: var(--sp-5); width: 44px; height: 44px; color: var(--plum-100); }
.review-card blockquote { margin: 0; flex: 1; padding-right: 2.75rem; }
.review-card blockquote p { margin: 0; font-size: clamp(1.125rem, 1rem + .35vw, 1.3rem); line-height: 1.5; color: var(--ink); }
.review-card__translated { margin: calc(-1 * var(--sp-2)) 0 0; font-size: var(--fs-xs); font-style: italic; color: var(--text-muted); }
.review-card__translated a { color: var(--plum-600); }
.review-card figcaption { display: flex; align-items: center; gap: .75rem; padding-top: var(--sp-4); border-top: 1px solid var(--border); }
.review-card__avatar { display: grid; place-items: center; width: 46px; height: 46px; flex: none; border-radius: 50%; background: linear-gradient(135deg, var(--plum-600), var(--plum-300)); color: var(--white); font-weight: 700; }
.review-card figcaption strong { display: block; font-size: var(--fs-sm); color: var(--ink); }
.review-card figcaption small { display: block; font-size: var(--fs-xs); color: var(--text-muted); }

.review-grid { display: grid; gap: var(--sp-5); grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr)); }
.review-grid .review-card { box-shadow: 0 1px 2px rgba(14, 18, 29, .05), 0 24px 48px -32px rgba(68, 23, 56, .45); border: 1px solid var(--border); }
.rv-summary { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: var(--sp-4); margin-bottom: var(--sp-6); }
.rv-summary .section-title { margin-bottom: var(--sp-2); }
.rv-summary p { margin: 0; color: var(--text-muted); }
.rv-summary .btn-row { margin: 0; align-items: center; }
.rv-note { margin: var(--sp-5) 0 0; font-size: var(--fs-sm); color: var(--text-muted); }
.rating-slot { display: flex; flex-wrap: wrap; gap: .5rem; }

/* ==== footer.css ==== */
/* Footer + mobile action bar + WhatsApp button */
.site-footer { background: var(--ink); color: var(--text-on-dark-muted); font-size: var(--fs-sm); }
.site-footer__top { display: grid; gap: var(--sp-6); padding-block: var(--sp-8) var(--sp-7); }
@media (min-width: 700px) { .site-footer__top { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1100px) { .site-footer__top { grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: var(--sp-7); } }
.logo--footer { width: 190px; height: auto; margin-bottom: var(--sp-3); }
.footer__claim { font-family: var(--font-display); font-weight: 700; font-size: 1.35rem; text-transform: uppercase; color: var(--white); letter-spacing: .02em; }
.footer__contact { list-style: none; display: grid; gap: .6rem; margin-bottom: var(--sp-5); }
.footer__contact li { display: flex; gap: .6rem; align-items: flex-start; }
.footer__contact .icon { width: 18px; height: 18px; color: var(--plum-300); margin-top: 2px; }
.site-footer a { color: var(--text-on-dark); text-decoration: none; }
.site-footer a:hover { color: var(--white); text-decoration: underline; }
.footer__social { list-style: none; display: flex; gap: .6rem; }
.footer__social a { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--border-dark); }
.footer__social a:hover { background: var(--plum-600); border-color: var(--plum-600); text-decoration: none; }
.footer__social .icon { width: 18px; height: 18px; }
.footer__title { font-family: var(--font-body); font-size: var(--fs-xs); font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--white); margin-bottom: var(--sp-4); }
.footer__col ul { list-style: none; display: grid; gap: .1rem; }
.footer__col a { display: inline-block; padding-block: .35rem; }
.site-footer__bottom { border-top: 1px solid var(--border-dark); }
.site-footer__bottom-inner { display: flex; flex-wrap: wrap; justify-content: space-between; gap: var(--sp-3); padding-block: var(--sp-5); font-size: var(--fs-xs); }
.site-footer__bottom p { margin: 0; }
.site-footer__bottom ul { list-style: none; display: flex; gap: var(--sp-4); }
.sep { margin-inline: .4rem; opacity: .5; }

.action-bar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 90;
  display: grid; grid-template-columns: 1fr 1fr 1.4fr;
  background: var(--ink); border-top: 1px solid var(--border-dark);
  padding-bottom: env(safe-area-inset-bottom);
}
.action-bar a { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; min-height: 60px; color: var(--white); text-decoration: none; font-size: var(--fs-xs); font-weight: 700; }
.action-bar a + a { border-left: 1px solid var(--border-dark); }
.action-bar .icon { width: 22px; height: 22px; }
.action-bar__primary { background: var(--plum-600); }
@media (max-width: 767px) { body { padding-bottom: calc(60px + env(safe-area-inset-bottom)); } }
@media (min-width: 768px) { .action-bar { display: none; } }

.whatsapp-fab { display: none; }
@media (min-width: 768px) {
  .whatsapp-fab {
    position: fixed; right: 20px; bottom: 20px; z-index: 90; display: grid; place-items: center;
    width: 56px; height: 56px; border-radius: 50%; background: #1B8A4B; color: var(--white); box-shadow: var(--shadow-lg);
    transition: transform .2s var(--ease);
  }
  .whatsapp-fab:hover { transform: scale(1.06); color: var(--white); }
  .whatsapp-fab .icon { width: 28px; height: 28px; }
}

/* ==== home.css ==== */
/* =====================================================================
   HOME — compositions used only on the front page (approved 2026-09-29).
   Global system (palette, header, buttons, tiles, reviews, estimate panel)
   lives in the shared files. WordPress: front-page patterns jr/hero-home,
   jr/services-grid, jr/before-after, jr/recent-work, jr/reviews.
   ===================================================================== */

.page-home .section { padding-block: clamp(4rem, 2.5rem + 5vw, 7rem); }

/* Editorial section heads (Home scale) */
.home-head { display: grid; gap: var(--sp-4) var(--sp-8); align-items: end; margin-bottom: clamp(2rem, 1.5rem + 2vw, 3.5rem); }
@media (min-width: 900px) { .home-head { grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); } }
.home-head .eyebrow { margin-bottom: var(--sp-3); }
.home-title { font-size: clamp(2.125rem, 1.7rem + 1.6vw, 3.1rem); line-height: 1; text-transform: uppercase; letter-spacing: -.01em; margin: 0; color: var(--ink); }
.home-title.home-title--lg { font-size: clamp(2.25rem, 1.6rem + 1.8vw, 3.25rem); }
.home-head__aside { display: grid; gap: var(--sp-4); justify-items: start; }
.home-head__aside p { margin: 0; font-size: var(--fs-lg); color: var(--text-muted); max-width: 46ch; }
.home-head--light .home-title { color: var(--white); }
.home-head--light .home-head__aside p, .home-head--light .reviews-band__meta { color: rgba(255, 255, 255, .88); }

/* ---------- Hero ---------- */
.page-home .hero { position: relative; isolation: isolate; overflow: hidden; color: var(--white); background: var(--ink); display: flex; flex-direction: column; }
.hero__media { position: absolute; inset: 0; z-index: -2; }
.hero__media img { width: 100%; height: 100%; object-fit: cover; object-position: 78% 38%; filter: saturate(.9) contrast(1.05); }
.page-home .hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(60% 70% at 18% 55%, rgba(98, 51, 97, .35), transparent 70%),
    linear-gradient(90deg, rgba(14, 18, 29, .98) 0%, rgba(14, 18, 29, .93) 32%, rgba(14, 18, 29, .62) 58%, rgba(14, 18, 29, .22) 82%, rgba(14, 18, 29, .12) 100%),
    linear-gradient(0deg, rgba(14, 18, 29, .95) 0%, rgba(14, 18, 29, 0) 34%),
    linear-gradient(180deg, rgba(14, 18, 29, .55) 0%, rgba(14, 18, 29, 0) 18%);
}
.hero__inner { flex: 1; display: flex; align-items: center; padding-block: clamp(3rem, 2rem + 5vw, 6rem) clamp(2.5rem, 2rem + 2vw, 3.5rem); }
.hero__content { width: 100%; max-width: 760px; }
@media (min-width: 1100px) { .page-home .hero { min-height: clamp(600px, 74vh, 660px); } }

.hero__kicker { display: inline-flex; align-items: center; gap: .8rem; margin: 0 0 var(--sp-5); font-size: var(--fs-sm); font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--plum-200); }
.hero__kicker::before { content: ""; width: 44px; height: 2px; background: linear-gradient(90deg, var(--plum-600), var(--plum-300)); }

.hero__title { margin: 0 0 var(--sp-6); }
.hero__display { display: block; font-family: var(--font-display); font-weight: 800; font-size: clamp(2.625rem, 1.6rem + 4.2vw, 5.5rem); line-height: .94; letter-spacing: -.012em; text-transform: uppercase; }
.hero__word { display: inline-block; }
.hero__accent { position: relative; isolation: isolate; color: var(--plum-200); }
.hero__accent::before {
  content: ""; position: absolute; z-index: -1; inset: 8% -6% 4% -4%;
  background: radial-gradient(closest-side, rgba(122, 70, 120, .7), rgba(99, 51, 98, .25) 60%, transparent);
  filter: blur(24px);
}
@supports (-webkit-background-clip: text) or (background-clip: text) {
  .hero__accent { color: transparent; background: linear-gradient(100deg, #D4B5D2 0%, #C09ABE 45%, #A77AA5 100%); -webkit-background-clip: text; background-clip: text; }
}
.hero__sub { display: block; margin-top: var(--sp-5); max-width: 40ch; font-family: var(--font-body); font-weight: 500; font-size: clamp(1.0625rem, .98rem + .45vw, 1.35rem); line-height: 1.4; color: var(--text-on-dark); text-transform: none; letter-spacing: 0; }
.hero__actions { margin-top: 0; gap: var(--sp-4); }

.hero__bar { position: relative; background: rgba(9, 11, 19, .86); border-top: 1px solid rgba(167, 122, 165, .18); }
.hero__bar::before { content: ""; position: absolute; left: 0; top: -1px; width: min(420px, 40%); height: 2px; background: linear-gradient(90deg, var(--plum-300), transparent); }
.hero__trust { list-style: none; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--sp-4); padding-block: var(--sp-5); }
@media (min-width: 1000px) { .hero__trust { grid-template-columns: 1fr 1fr 1fr 1.5fr; gap: 0; padding-block: var(--sp-5); } .hero__trust li + li { border-left: 1px solid var(--border-dark); padding-left: var(--sp-5); } }
.hero__trust li { display: flex; align-items: center; gap: .85rem; font-size: var(--fs-sm); line-height: 1.35; color: var(--text-on-dark-muted); min-width: 0; }
.hero__trust strong { display: block; font-size: 1.0625rem; color: var(--white); letter-spacing: .01em; }
.hero__trust-icon { display: grid; place-items: center; width: 46px; height: 46px; flex: none; border-radius: 12px; background: linear-gradient(135deg, rgba(122, 70, 120, .28), rgba(98, 51, 97, .28)); box-shadow: inset 0 0 0 1px rgba(167, 122, 165, .28); color: var(--plum-300); }
.hero__trust-icon .icon { width: 24px; height: 24px; }
@media (max-width: 599px) { .hero__trust { grid-template-columns: 1fr; gap: var(--sp-3); } .hero__trust li:last-child { display: none; } }

/* Load choreography — motion-safe only */
@media (prefers-reduced-motion: no-preference) {
  .hero__media img { animation: heroZoom 2.2s var(--ease) both; }
  .page-home [data-anim] { animation: heroIn .9s var(--ease) both; animation-delay: calc(var(--i, 0) * 110ms + 120ms); }
  @keyframes heroZoom { from { transform: scale(1.07); } to { transform: none; } }
  @keyframes heroIn { from { opacity: 0; transform: translateY(26px); } to { opacity: 1; transform: none; } }
}

/* ---------- Services (staggered rhythm, Home only) ---------- */
.svc-home { background: var(--white); position: relative; }
@media (min-width: 1100px) {
  .svc-home .svc-grid { padding-bottom: 32px; }
  .svc-home .svc-grid > :nth-child(4n+2), .svc-home .svc-grid > :nth-child(4n+4) { margin-top: 32px; margin-bottom: -32px; }
}
@media (prefers-reduced-motion: no-preference) {
  .svc-home .svc-grid > [data-reveal]:nth-child(4n+2) { transition-delay: .06s; }
  .svc-home .svc-grid > [data-reveal]:nth-child(4n+3) { transition-delay: .12s; }
  .svc-home .svc-grid > [data-reveal]:nth-child(4n+4) { transition-delay: .18s; }
}

/* ---------- Before & After ---------- */
.ba { padding-block: clamp(4.5rem, 3rem + 5vw, 7.5rem); }
.ba__head { display: grid; gap: var(--sp-5) var(--sp-8); align-items: end; margin-bottom: clamp(2rem, 1.5rem + 2vw, 3rem); }
@media (min-width: 900px) { .ba__head { grid-template-columns: auto minmax(0, 420px); justify-content: space-between; } }
.ba__title { margin: 0; font-family: var(--font-display); font-weight: 800; font-size: clamp(2.5rem, 1.8rem + 2vw, 3.5rem); line-height: .95; text-transform: uppercase; color: var(--white); }
.ba__title em { color: var(--plum-300); }
.ba__aside p { margin: 0; font-size: var(--fs-lg); color: var(--text-on-dark-muted); }
.ba__controls { display: flex; align-items: center; gap: var(--sp-4); margin-top: var(--sp-5); }
.ba__count { margin: 0; font-size: var(--fs-sm); font-weight: 700; letter-spacing: .06em; color: var(--white) !important; }
.ba__stage { position: relative; }
.ba__pair { position: relative; margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
.ba__pair[hidden] { display: none; }
.ba__img { position: relative; overflow: hidden; aspect-ratio: 4 / 3.2; background: var(--ink-2); }
.ba__img:first-child { border-radius: var(--radius-lg) 0 0 var(--radius-lg); }
.ba__img:nth-child(2) { border-radius: 0 var(--radius-lg) var(--radius-lg) 0; }
.ba__img img { width: 100%; height: 100%; object-fit: cover; }
.ba__img:first-child img { filter: saturate(.8); }
.ba__img::after { content: ""; position: absolute; inset: 0; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .08); border-radius: inherit; pointer-events: none; }
.ba__tag { position: absolute; top: 16px; left: 16px; padding: .4rem .85rem; background: rgba(9, 11, 19, .85); color: var(--white); font-size: var(--fs-xs); font-weight: 700; letter-spacing: .14em; text-transform: uppercase; border-radius: 6px; }
.ba__tag--after { left: auto; right: 16px; background: var(--plum-600); }
.ba__divider { position: absolute; left: 50%; top: calc((100% - 60px) / 2); transform: translate(-50%, -50%); display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; background: var(--white); color: var(--ink); box-shadow: 0 0 0 8px rgba(255, 255, 255, .12), var(--shadow-lg); }
.ba__divider .icon { width: 24px; height: 24px; }
.ba__pair figcaption { grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--sp-3); min-height: 60px; padding-top: var(--sp-4); }
.ba__pair figcaption a { display: inline-flex; align-items: center; gap: .45rem; min-height: 44px; color: var(--plum-200); font-weight: 700; text-decoration: none; }
.ba__pair figcaption a:hover { color: var(--white); }
.ba__pair figcaption .mk-note { font-size: var(--fs-sm); }
.ba__pair.is-entering { animation: baIn .45s var(--ease); }
@keyframes baIn { from { opacity: 0; transform: translateX(16px); } to { opacity: 1; transform: none; } }
@media (max-width: 599px) {
  .ba__pair { grid-template-columns: 1fr; gap: 4px; }
  .ba__img:first-child { border-radius: var(--radius-lg) var(--radius-lg) 0 0; }
  .ba__img:nth-child(2) { border-radius: 0 0 var(--radius-lg) var(--radius-lg); }
}

/* ---------- Recent Work (editorial) ---------- */
.work { background: var(--bg-light); }
.work__filters { list-style: none; display: flex; flex-wrap: wrap; gap: .5rem; margin: calc(-1 * var(--sp-4)) 0 var(--sp-6); }
.work__filters .chip { text-decoration: none; }
.work__link { position: relative; display: block; height: 100%; overflow: hidden; border-radius: var(--radius-lg); background: var(--ink-2); box-shadow: 0 18px 40px -24px rgba(14, 18, 29, .6); }
.work__link img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.work__link::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 55%, rgba(14, 18, 29, .75)); pointer-events: none; }
.work__link:hover img, .work__link:focus-visible img { transform: scale(1.06); }
.work__label { position: absolute; left: var(--sp-4); bottom: var(--sp-4); z-index: 1; display: inline-flex; align-items: center; gap: .6rem; padding: .55rem .6rem .55rem 1rem; border-radius: 999px; background: rgba(255, 255, 255, .95); color: var(--ink); font-weight: 700; font-size: var(--fs-sm); box-shadow: var(--shadow); }
.work__label .icon { width: 26px; height: 26px; padding: 5px; border-radius: 50%; background: var(--plum-600); color: var(--white); transition: transform .25s var(--ease); }
.work__link:hover .work__label .icon { transform: translateX(3px); }
.work__item--1 .work__label { font-size: var(--fs-md); }
.work__nav { display: none; }
@media (min-width: 900px) {
  .work__grid { list-style: none; display: grid; grid-template-columns: repeat(12, 1fr); grid-auto-rows: clamp(180px, 15vw, 240px); gap: var(--sp-4); }
  .work__item--1 { grid-column: 1 / 8; grid-row: 1 / 3; }
  .work__item--2 { grid-column: 8 / 13; grid-row: 1; }
  .work__item--3 { grid-column: 8 / 13; grid-row: 2; }
  .work__item--4 { grid-column: 1 / 5; grid-row: 3; }
  .work__item--5 { grid-column: 5 / 9; grid-row: 3; }
  .work__item--6 { grid-column: 9 / 13; grid-row: 3; }
}
@media (max-width: 899px) {
  .work__rail-wrap { margin-inline: calc(-1 * var(--gutter)); }
  .work__grid {
    list-style: none; display: grid; grid-auto-flow: column; grid-auto-columns: min(82%, 420px); gap: var(--sp-4);
    overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: var(--gutter); padding: 4px var(--gutter) var(--sp-4);
    scrollbar-width: none; overscroll-behavior-x: contain;
  }
  .work__grid::-webkit-scrollbar { display: none; }
  .work__item { scroll-snap-align: start; aspect-ratio: 4 / 5; }
  .work__nav { display: flex; justify-content: flex-end; gap: var(--sp-3); padding-inline: var(--gutter); }
}

/* ---------- Reviews band layout (colors from .band-plum) ---------- */
.reviews-band__meta { margin: var(--sp-4) 0 0; }
.reviews-band__list { display: grid; gap: var(--sp-5); }
@media (min-width: 800px) { .reviews-band__list { grid-template-columns: repeat(3, 1fr); } }

/* ==== utilities.css ==== */
/* Utilities */
.center { text-align: center; }
.mt-l { margin-top: var(--sp-6); }
.mt-xl { margin-top: var(--sp-8); }

/* ==== wp.css ==== */
/* WordPress-only adjustments (appended to main.css in the theme build, not used by the static preview). */

/* Admin bar: keep the sticky header and the mobile menu below it */
.admin-bar .site-header { top: 32px; }
@media (max-width: 782px) { .admin-bar .site-header { top: 46px; } }
@media (max-width: 600px) { .admin-bar .site-header { top: 0; } }
@media (max-width: 1199.98px) { .admin-bar .nav { top: calc(var(--header-h) + 1px + 32px); } }
@media (max-width: 782px) { .admin-bar .nav { top: calc(var(--header-h) + 1px + 46px); } }

.screen-reader-text { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.screen-reader-text:focus { clip: auto; width: auto; height: auto; }

/* Block content inside the theme's sections */
.entry-content > :first-child { margin-top: 0; }
.entry-content .wp-block-image { margin: 0; }
.entry-content .wp-block-image img { display: block; }
.entry-content--sections > .wp-block-group { margin: 0; }
.wp-block-buttons { display: flex; flex-wrap: wrap; gap: var(--sp-3); margin-top: var(--sp-5); }
.wp-block-button__link {
  display: inline-flex; align-items: center; justify-content: center; gap: .6em;
  min-height: 48px; padding: .75rem 1.35rem; border: 2px solid var(--plum-600); border-radius: var(--radius-sm);
  background: var(--plum-600); color: var(--white); text-decoration: none;
  font-family: var(--font-body); font-size: var(--fs-sm); font-weight: 700; letter-spacing: .04em; text-transform: uppercase; line-height: 1.2;
  transition: background-color .2s var(--ease), color .2s var(--ease), transform .2s var(--ease);
}
.wp-block-button__link:hover { background: var(--plum-700); border-color: var(--plum-700); color: var(--white); transform: translateY(-2px); }
.is-style-outline .wp-block-button__link { background: transparent; color: var(--plum-600); }
.is-style-outline .wp-block-button__link:hover { background: var(--plum-600); color: var(--white); }

/* About media stack uses image blocks (figure > img) */
.media-stack .wp-block-image img { width: 100%; border-radius: var(--radius-lg); object-fit: cover; aspect-ratio: 3 / 4; box-shadow: 0 30px 60px -30px rgba(14, 18, 29, .55); }
.media-stack .wp-block-image:last-child { margin-bottom: var(--sp-7); }

/* Mission / vision icons (patterns cannot contain inline SVG) */
.mv-card--mission::after, .mv-card--vision::after {
  content: ""; display: block; order: -1; width: 48px; height: 48px; margin-bottom: var(--sp-4); border-radius: 12px;
  background: var(--plum-100) no-repeat center / 26px;
}
.mv-card { display: flex; flex-direction: column; }
.mv-card--mission::after { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23633362' stroke-width='1.75'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Ccircle cx='12' cy='12' r='5'/%3E%3Ccircle cx='12' cy='12' r='1'/%3E%3C/svg%3E"); }
.mv-card--vision::after { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23633362' stroke-width='1.75'%3E%3Cpath d='M2 12s3.5-7 10-7 10 7 10 7-3.5 7-10 7S2 12 2 12z'/%3E%3Ccircle cx='12' cy='12' r='3'/%3E%3C/svg%3E"); }

/* Legal / default page content */
.prose--legal h2 { text-transform: none; }

/* Content pending client confirmation — only ever rendered for logged-in editors */
.jr-pending { background: rgba(250, 204, 21, .3); color: inherit; box-shadow: inset 0 -2px 0 #CA8A04; border-radius: 3px; }
.jr-pending-note { padding-block: var(--sp-4); font-size: var(--fs-sm); }

.area-card--town { display: flex; align-items: center; gap: .6rem; border: 1px solid var(--border); background: var(--white); }
.area-card--town h3 { margin: 0; font-size: var(--fs-lg); }
.area-card--town .icon { color: var(--plum-600); }
.rating-summary { margin: 0; font-weight: 700; color: var(--white); }

/* Service tile photo wrapped in <picture> (art-directed crops) */
.svc-tile__media picture { display: block; width: 100%; height: 100%; }

/* GTranslate switcher (footer bottom bar and mobile menu) */
.lang-switch { display: flex; align-items: center; gap: var(--sp-2); color: var(--text-on-dark-muted); font-size: var(--fs-xs); }
.lang-switch a { display: inline-flex; align-items: center; justify-content: center; min-width: 32px; min-height: 32px; border-radius: 4px; }
.lang-switch a:focus-visible { outline: 2px solid var(--plum-300, #A77AA5); outline-offset: 2px; }
.lang-switch img { display: block; width: 24px; height: auto; }
.lang-switch--nav { justify-content: center; margin-top: var(--sp-3); }

/* Hero photos: framing editable in WordPress (inline --hero-pos); the phone versions are already cropped around
   their focus, so they stay centred. */
.hero__media img[style*="--hero-pos"], .page-hero__media img[style*="--hero-pos"] { object-position: var(--hero-pos); }
@media (max-width: 767px) {
  .hero__media picture img[style], .page-hero__media picture img[style] { object-position: 50% 50%; }
}

/* Mission/vision cards keep contrast when the section is on the light-grey band */
.section--alt .mv-card { background: var(--white); box-shadow: 0 1px 2px rgba(14, 18, 29, .05); }

/* ==== hero-split.css ==== */
/* Split page hero (tablet/desktop ≥900 px): dark content + a contained real photo.
   Used when no real photo is sharp enough to fill the hero edge to edge (never upscaled).
   Phones keep the full-bleed hero with a dedicated vertical crop. */
@media (min-width: 900px) {
  .page-hero--split { --split-w: min(40%, 520px); --split-inset: clamp(1.5rem, .75rem + 1.5vw, 2.5rem); }
  .page-hero--split::before {
    background:
      radial-gradient(900px 420px at 88% 0%, rgba(122, 70, 120, .45), transparent 60%),
      linear-gradient(rgba(167, 122, 165, .05) 1px, transparent 1px) 0 0 / 56px 56px,
      linear-gradient(90deg, rgba(167, 122, 165, .05) 1px, transparent 1px) 0 0 / 56px 56px;
  }
  .page-hero--split .page-hero__media {
    inset: var(--split-inset) max(var(--gutter), calc((100% - var(--container)) / 2)) var(--split-inset) auto;
    width: var(--split-w); z-index: 0; overflow: hidden;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-plum), 0 0 0 1px rgba(167, 122, 165, .25);
  }
  .page-hero--split .page-hero__media img { filter: none; }
  .page-hero--split .page-hero__inner { padding-right: calc(var(--gutter) + var(--split-w) + clamp(2rem, 1rem + 3vw, 4rem)); }
}

/* ==== LCP: no zoom on the hero photo, shorter text entrance (WordPress build) ==== */
.hero__media img, .page-hero__media img { animation: none !important; filter: none; }
/* One display weight fewer to download (footer slogan 700 → 800) */
.footer__claim { font-weight: 800; }
/* Skip layout/paint of below-the-fold sections until they approach the viewport */
main > section:not(:first-child), main > div.entry-content--sections > section { content-visibility: auto; contain-intrinsic-size: auto 900px; }
/* Per-card containment: off-screen photos are not laid out, so their lazy images are not requested before the hero is painted */
.svc-tile, .gallery__item, .work__item, .review-card { content-visibility: auto; contain-intrinsic-block-size: auto 320px; }
@media (prefers-reduced-motion: no-preference) { .page-home [data-anim] { animation-duration: .5s; animation-delay: calc(var(--i, 0) * 50ms); } }
