/* =====================================================================
   Ridgecrest Construction — shared stylesheet
   Palette approved by Kat 2026-11-30. On near-black (--ink) surfaces,
   TEXT is cream or white only. Green / olive appear there only as
   filled shapes (with cream text on top) or thin decorative rules.
   ===================================================================== */

:root {
  /* Brand */
  --green: #145927;
  --green-deep: #0f4620;      /* pressed state of green buttons */
  --olive: #74623D;
  --cream: #F4EEE3;
  --white: #FFFDF9;
  --ink: #171B17;
  --ink-2: #20261F;           /* raised surface on ink */
  --ink-3: #2A312A;           /* placeholder media on ink */

  /* Text on light surfaces */
  --text: #171B17;
  --text-soft: #424840;       /* ≈ 9:1 on cream */

  /* Lines */
  --rule: rgba(116, 98, 61, .38);       /* olive rule, decorative */
  --rule-soft: rgba(23, 27, 23, .12);
  --rule-dark: rgba(244, 238, 227, .16);

  /* Type */
  --serif: "Playfair Display", "Iowan Old Style", Georgia, "Times New Roman", serif;
  --sans: "Source Sans Pro", "Source Sans 3", -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;

  --fs-display: clamp(1.95rem, 1.3rem + 2.1vw, 3.15rem);
  --fs-h1: clamp(2rem, 1.4rem + 2.4vw, 3.4rem);
  --fs-h2: clamp(1.75rem, 1.3rem + 1.8vw, 2.85rem);
  --fs-h3: clamp(1.2rem, 1.08rem + .5vw, 1.5rem);
  --fs-lead: clamp(1.1rem, 1.02rem + .35vw, 1.3rem);
  --fs-body: 1.0625rem;
  --fs-small: .9375rem;
  --fs-micro: .8125rem;

  /* Space */
  --gutter: clamp(16px, 4vw, 48px);
  --wrap: 1320px;
  --sec-y: clamp(4.25rem, 3rem + 5vw, 8.5rem);
  --radius: 2px;
  --radius-lg: 4px;

  /* Elevation */
  --sh-1: 0 1px 1px rgba(23,27,23,.05), 0 2px 6px -2px rgba(23,27,23,.10);
  --sh-2: 0 1px 2px rgba(23,27,23,.06), 0 8px 16px -6px rgba(23,27,23,.14), 0 22px 44px -18px rgba(23,27,23,.22);
  --sh-3: 0 2px 4px rgba(23,27,23,.06), 0 14px 28px -10px rgba(23,27,23,.20), 0 40px 70px -28px rgba(23,27,23,.34);

  /* Motion */
  --ease: cubic-bezier(.22, .61, .36, 1);
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --t-ctl: 220ms;
  --t-sec: 600ms;

  /* Focus — overridden on dark surfaces */
  --focus: var(--green);

  /* Header height used for sticky offsets / scroll padding (set by JS) */
  --header-h: 120px;
  --bar-h: 0px;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 16px); }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
  margin: 0;
  background: var(--white);
  color: var(--text);
  font: 400 var(--fs-body)/1.6 var(--sans);
  font-kerning: normal;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
  padding-bottom: var(--bar-h);
}
img, svg, video { display: block; max-width: 100%; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
a { color: inherit; }
h1, h2, h3, h4 { margin: 0; font-family: var(--serif); font-weight: 500; line-height: 1.12; letter-spacing: -.01em; text-wrap: balance; overflow-wrap: break-word; }
p { margin: 0; text-wrap: pretty; }
ul, ol { margin: 0; padding: 0; }
[hidden] { display: none !important; }

.nw { white-space: nowrap; }
.faq__item summary > span:first-child, .svc-card__name, .btn > span, .callout__label, .step h3, .value h3, .footer__links a span, .side-item__name { text-wrap: balance; }
.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;
}
.skip-link {
  position: absolute; left: 12px; top: -100px; z-index: 200;
  background: var(--ink); color: var(--cream); padding: 12px 18px; border-radius: var(--radius);
  font-weight: 600; text-decoration: none;
}
.skip-link:focus { top: 12px; outline: 2px solid var(--cream); outline-offset: 2px; }

:focus-visible { outline: 2px solid var(--focus); outline-offset: 3px; }

.wrap { width: 100%; max-width: calc(var(--wrap) + var(--gutter) * 2); margin-inline: auto; padding-inline: var(--gutter); }
.icon { width: 1em; height: 1em; flex: none; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- Surfaces ---------- */
.surface-white { background: var(--white); color: var(--text); }
.surface-cream { background: var(--cream); color: var(--text); }
.surface-ink   { background: var(--ink); color: var(--cream); --focus: var(--cream); }
.surface-green { background: var(--green); color: var(--cream); --focus: var(--cream); }

.sec { padding-block: var(--sec-y); position: relative; }

/* ---------- Type primitives ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: .75rem;
  font: 600 var(--fs-micro)/1.35 var(--sans); letter-spacing: .08em;
  color: var(--olive);
}
.eyebrow::before { content: ""; width: 2.25rem; height: 1px; background: currentColor; flex: none; }
.surface-ink .eyebrow, .surface-green .eyebrow { color: var(--cream); }
.h-display { font-size: var(--fs-display); font-weight: 500; line-height: 1.06; }
.h1 { font-size: var(--fs-h1); }
.h2 { font-size: var(--fs-h2); }
.h3 { font-size: var(--fs-h3); line-height: 1.22; }
.lead { font-size: var(--fs-lead); line-height: 1.55; color: var(--text-soft); max-width: 58ch; }
.surface-ink .lead, .surface-green .lead { color: var(--cream); }
.prose { max-width: 64ch; }
.prose > * + * { margin-top: 1.1em; }
.muted { color: var(--text-soft); }
.surface-ink .muted, .surface-green .muted { color: var(--cream); }

.sec-head { display: grid; gap: 1.1rem; margin-bottom: clamp(2.25rem, 1.5rem + 2.5vw, 4rem); }
.sec-head--center { justify-items: center; text-align: center; }
.sec-head--center .lead { margin-inline: auto; }

/* Fine architectural rule with end ticks */
.rule {
  height: 1px; background: var(--rule); position: relative; border: 0; margin: 0;
}
.rule::before, .rule::after { content: ""; position: absolute; top: -4px; width: 1px; height: 9px; background: var(--rule); }
.rule::before { left: 0; } .rule::after { right: 0; }
.surface-ink .rule, .surface-ink .rule::before, .surface-ink .rule::after { background: var(--rule-dark); }

/* ---------- Buttons ---------- */
.btn {
  --b-bg: var(--green); --b-fg: var(--cream); --b-bd: var(--green);
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: .75rem;
  min-height: 48px; padding: .8rem 1.35rem; max-width: 100%;
  background: var(--b-bg); color: var(--b-fg); border: 1px solid var(--b-bd); border-radius: var(--radius);
  font: 600 1rem/1.25 var(--sans); letter-spacing: .01em; text-align: left; text-decoration: none;
  box-shadow: var(--sh-1);
  transition: transform var(--t-ctl) var(--ease), box-shadow var(--t-ctl) var(--ease), background-color var(--t-ctl) var(--ease), color var(--t-ctl) var(--ease), border-color var(--t-ctl) var(--ease);
}
.btn .icon { font-size: 1.1em; transition: transform var(--t-ctl) var(--ease); }
@media (hover: hover) {
  .btn:hover { transform: translateY(-2px); box-shadow: var(--sh-2); }
  .btn:hover .icon--arrow { transform: translateX(4px); }
  .btn:hover .icon--play { transform: scale(1.12); }
}
.btn:focus-visible { transform: translateY(-2px); box-shadow: var(--sh-2); }
.btn:focus-visible .icon--arrow { transform: translateX(4px); }
.btn:active { transform: translateY(0) scale(.985); box-shadow: 0 1px 1px rgba(23,27,23,.12); --b-bg: var(--green-deep); transition-duration: 90ms; }
.btn--ghost { --b-bg: transparent; --b-fg: var(--text); --b-bd: rgba(23,27,23,.35); box-shadow: none; }
.btn--ghost:active { --b-bg: rgba(23,27,23,.06); }
.surface-ink .btn--ghost, .surface-green .btn--ghost, .on-dark .btn--ghost { --b-fg: var(--cream); --b-bd: rgba(244,238,227,.5); }
.surface-ink .btn--ghost:active, .surface-green .btn--ghost:active { --b-bg: rgba(244,238,227,.08); }
.btn--light { --b-bg: var(--cream); --b-fg: var(--ink); --b-bd: var(--cream); }
.btn--light:active { --b-bg: #e6dece; }
.btn--cream { --b-bg: var(--cream); --b-fg: var(--green); --b-bd: var(--cream); }
.btn--cream:active { --b-bg: #e6dece; --b-fg: var(--green-deep); }
.btn--block { width: 100%; justify-content: space-between; }

/* Phone "chip" — the number is not supplied yet, so it opens a placeholder notice */
.phone {
  display: inline-flex; align-items: center; gap: .6rem; min-height: 44px; padding: .4rem .1rem;
  background: none; border: 0; color: inherit; font: 600 1rem/1.3 var(--sans); text-align: left;
  text-decoration: underline; text-decoration-color: var(--rule); text-underline-offset: .3em; text-decoration-thickness: 1px;
  transition: text-decoration-color var(--t-ctl) var(--ease);
}
.phone .icon { font-size: 1.15em; transition: transform var(--t-ctl) var(--ease); }
@media (hover: hover) { .phone:hover { text-decoration-color: currentColor; } .phone:hover .icon { transform: rotate(-12deg); } }
.phone:active .icon { transform: scale(.9); }
.surface-ink .phone, .surface-green .phone, .on-dark .phone { text-decoration-color: rgba(244,238,227,.45); }

.cta-row { display: flex; flex-wrap: wrap; align-items: center; gap: .75rem 1.75rem; }

/* ---------- Media slot (placeholder for supplied photo / video) ---------- */
.slot {
  --slot-bg: #E9E2D4; --slot-fg: var(--text-soft); --slot-line: rgba(116,98,61,.17);
  position: relative; display: grid; place-items: center; overflow: hidden;
  background:
    repeating-linear-gradient(135deg, transparent 0 13px, var(--slot-line) 13px 14px),
    var(--slot-bg);
  color: var(--slot-fg); isolation: isolate; margin: 0;
}
.slot--dark { --slot-bg: var(--ink-3); --slot-fg: var(--cream); --slot-line: rgba(244,238,227,.07); }
.slot__stage { position: absolute; inset: 0; transition: transform 700ms var(--ease-out); background: inherit; z-index: -1; }
/* corner registration marks */
.slot::before, .slot::after {
  content: ""; position: absolute; width: 18px; height: 18px; border: 1px solid currentColor; opacity: .55; pointer-events: none;
}
.slot::before { top: 10px; left: 10px; border-right: 0; border-bottom: 0; }
.slot::after { bottom: 10px; right: 10px; border-left: 0; border-top: 0; }
.slot--filled { background: var(--ink-3); }
img.slot__stage { width: 100%; height: 100%; max-width: none; object-fit: cover; z-index: 0; }
.slot__label {
  display: grid; justify-items: center; gap: .35rem; max-width: min(34ch, 86%); padding: .75rem 1rem; text-align: center;
  font: 600 var(--fs-micro)/1.4 var(--sans); letter-spacing: .02em;
}
.slot__label .icon { font-size: 1.4rem; opacity: .85; }
.slot__meta { font-weight: 400; opacity: 1; font-size: .75rem; letter-spacing: .06em; }
.slot--tag { place-items: start; }
.slot--tag .slot__label { justify-items: start; text-align: left; padding: 1rem 1.15rem; }

/* framed media: inset frame + depth on hover without moving layout */
.frame { position: relative; box-shadow: var(--sh-2); }
.frame::after { content: ""; position: absolute; inset: 10px; border: 1px solid rgba(255,253,249,.55); pointer-events: none; z-index: 2; }
.frame .slot::before, .frame .slot::after { display: none; }
@media (hover: hover) {
  .frame:hover .slot__stage { transform: scale(1.035); }
}

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100; background: rgba(255,253,249,.94);
  -webkit-backdrop-filter: saturate(1.2) blur(10px); backdrop-filter: saturate(1.2) blur(10px);
  border-bottom: 1px solid var(--rule-soft);
  transition: box-shadow var(--t-ctl) var(--ease);
}
.site-header.is-scrolled { box-shadow: 0 10px 30px -18px rgba(23,27,23,.35); }
/* One row: logo · four nav items · estimate button + phone block at far right */
.main-bar .wrap { display: flex; align-items: center; gap: .75rem clamp(1.5rem, 3vw, 3rem); min-height: 88px; flex-wrap: wrap; padding-block: .5rem; }
.js .main-bar .wrap { flex-wrap: nowrap; }
/* Header logo: no shadow, filter, glow, background, border or padding in any state. */
.brand { display: block; flex: none; line-height: 0; padding: 0; border: 0; background: none; box-shadow: none; filter: none; }
.brand img { width: clamp(150px, 12vw + 40px, 212px); height: auto; box-shadow: none; filter: none; }
/* Logo pop: springy 1.15 scale + 4px lift only (transform, so the nav and header height never move). */
.brand--pop img { transform-origin: 20% 55%; transition: transform 420ms var(--ease-out); }
@media (hover: hover) {
  .brand--pop:hover img { transform: translateY(-4px) scale(1.15); transition: transform 240ms cubic-bezier(.34, 1.56, .64, 1); }
}
.brand--pop:focus-visible img { transform: translateY(-4px) scale(1.15); transition: transform 240ms cubic-bezier(.34, 1.56, .64, 1); }
.brand--pop:focus-visible { outline: 1.5px solid var(--green); outline-offset: 8px; box-shadow: none; }
.nav { flex: 1 1 auto; min-width: 0; }
.nav__list { list-style: none; display: flex; justify-content: flex-start; align-items: stretch; gap: .25rem clamp(1.25rem, 2.4vw, 2.5rem); flex-wrap: wrap; }
.js .nav__list { flex-wrap: nowrap; }
.nav__link {
  position: relative; display: flex; align-items: center; min-height: 48px; padding: .35rem 0; white-space: nowrap;
  font: 600 .9375rem/1.3 var(--sans); letter-spacing: .01em; text-decoration: none; color: var(--text);
}
.nav__link::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 6px; height: 2px; background: var(--green);
  transform: scaleX(0); transform-origin: right center; transition: transform 260ms var(--ease);
}
@media (hover: hover) { .nav__link:hover::after { transform: scaleX(1); transform-origin: left center; } }
.nav__link:focus-visible::after, .nav__link[aria-current="page"]::after { transform: scaleX(1); transform-origin: left center; }

.header-actions { flex: none; display: flex; align-items: center; gap: 1.25rem; padding-left: clamp(1.25rem, 2vw, 2rem); border-left: 1px solid var(--rule); }
.header-actions .btn { min-height: 46px; padding: .65rem 1.15rem; font-size: .9375rem; white-space: nowrap; }
.header-actions .phone { white-space: nowrap; font-size: 1.0625rem; }
/* Without JS there is no collapsed menu: let the row wrap instead of overflowing */
html:not(.js) .header-actions { flex-wrap: wrap; border-left: 0; padding-left: 0; }
html:not(.js) .header-actions .btn { white-space: normal; }

.menu-toggle {
  display: none; align-items: center; gap: .6rem; min-height: 48px; min-width: 48px; padding: .5rem .9rem;
  background: var(--white); border: 1px solid rgba(23,27,23,.3); border-radius: var(--radius); font-weight: 600; color: var(--text);
  transition: background-color var(--t-ctl) var(--ease), transform var(--t-ctl) var(--ease);
}
.menu-toggle:active { transform: scale(.97); }
@media (hover: hover) { .menu-toggle:hover { background: var(--cream); border-color: var(--green); color: var(--green); } }
.menu-toggle__bars { position: relative; width: 20px; height: 12px; }
.menu-toggle__bars span { position: absolute; left: 0; width: 100%; height: 2px; background: currentColor; transition: transform var(--t-ctl) var(--ease), opacity var(--t-ctl) var(--ease); }
.menu-toggle__bars span:nth-child(1) { top: 0; } .menu-toggle__bars span:nth-child(2) { top: 5px; } .menu-toggle__bars span:nth-child(3) { top: 10px; }
.menu-toggle[aria-expanded="true"] .menu-toggle__bars span:nth-child(1) { transform: translateY(5px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] .menu-toggle__bars span:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] .menu-toggle__bars span:nth-child(3) { transform: translateY(-5px) rotate(-45deg); }

/* Collapsed header — toggled by JS when the row no longer fits (any width) */
/* backdrop-filter would make the header the containing block for the fixed menu panel */
.js .site-header.is-collapsed { -webkit-backdrop-filter: none; backdrop-filter: none; background: var(--white); }
.js .site-header.is-collapsed .main-bar .wrap { min-height: 68px; gap: 1rem; }
.js .site-header.is-collapsed .brand img { width: clamp(138px, 30vw, 180px); }
.js .site-header.is-collapsed .menu-toggle { display: inline-flex; }
.js .site-header.is-collapsed .header-actions { margin-left: auto; border-left: 0; padding-left: 0; }
.js .site-header.is-collapsed .nav {
  position: fixed; inset: var(--header-h) 0 0 0; z-index: 99; overflow-y: auto; overscroll-behavior: contain;
  background: var(--white); border-top: 1px solid var(--rule-soft);
  padding: 1.25rem var(--gutter) calc(2rem + env(safe-area-inset-bottom));
  visibility: hidden; opacity: 0; transform: translateY(-8px);
  transition: opacity var(--t-ctl) var(--ease), transform var(--t-ctl) var(--ease), visibility 0s linear var(--t-ctl);
}
.js .site-header.is-collapsed .nav.is-open { visibility: visible; opacity: 1; transform: none; transition-delay: 0s; }
.js .site-header.is-collapsed .nav__list { flex-direction: column; align-items: stretch; gap: 0; max-width: 640px; margin-inline: auto; }
.js .site-header.is-collapsed .nav__list li { border-bottom: 1px solid var(--rule-soft); }
.js .site-header.is-collapsed .nav__link { min-height: 60px; font: 500 1.35rem/1.3 var(--serif); white-space: normal; }
.js .site-header.is-collapsed .nav__link::after { bottom: -1px; }
/* Below 900px the estimate button and phone live in the bottom action bar */
@media (max-width: 899px) { .js .site-header.is-collapsed .header-actions { display: none; } .js .site-header.is-collapsed .main-bar__actions { margin-left: auto; } }
.main-bar__actions { display: flex; align-items: center; }
.js .site-header.is-measuring .nav { visibility: hidden; }

/* ---------- Mobile action bar ---------- */
.action-bar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 90; display: none;
  grid-template-columns: 1fr 1fr; gap: 1px; background: var(--rule-dark);
  padding-bottom: env(safe-area-inset-bottom); box-shadow: 0 -10px 30px -12px rgba(23,27,23,.4);
}
.action-bar > * {
  display: flex; align-items: center; justify-content: center; gap: .55rem; min-height: 58px; padding: .5rem .75rem;
  font: 600 .875rem/1.25 var(--sans); text-align: center; text-decoration: none; border: 0; border-radius: 0;
}
.action-bar__estimate { background: var(--green); color: var(--cream); }
.action-bar__call { background: var(--ink); color: var(--cream); }
.action-bar > *:active { filter: brightness(.9); }
.action-bar > *:focus-visible { outline: 2px solid var(--cream); outline-offset: -5px; }
@media (max-width: 899px) { .action-bar { display: grid; } }

/* ---------- Hero (three planes) ---------- */
.hero {
  position: relative; overflow: hidden; isolation: isolate;
  min-height: clamp(640px, 88svh, 900px);
  background: #10391c; color: var(--cream); --focus: var(--cream);
  display: grid;
}
.plane { position: absolute; inset: 0; pointer-events: none; will-change: transform; }
.hero__bg { z-index: 0; inset: -24px; }
.hero__gradient {
  position: absolute; inset: 0;
  /* Brand green into near-black. oklab interpolation + several stops keep the ramp smooth;
     the faint inline-SVG grain dithers away 8-bit banding (no image file). */
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 .045 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"),
    linear-gradient(in oklab 150deg, #145927 0%, #124d23 22%, #10391c 48%, #142a18 72%, #171B17 100%);
}
.hero__geo { position: absolute; inset: 0; width: 100%; height: 100%; color: var(--cream); opacity: .11; }
/* Reveal size (≥1024px), 4:3. Width is the smallest of:
   • 1.15 × the copy block's height (--copy-h, measured in site.js) → at most 15% taller than the copy
   • 68% of the viewport height
   • whatever is left after the copy column keeps its full width (--fore-min) and the gutter.
   So it grows only into free space: the headline and paragraph never shrink for it. */
.hero__stage { position: relative; justify-self: end; width: min(calc(var(--copy-h, 60svh) * 1.15 * 4 / 3), calc(68svh * 4 / 3), calc(100cqi - var(--fore-min, 50cqi) - var(--hero-gap, 3rem))); }
.hero__stage .hero__mid { inset: -9% -6% -10% -10%; z-index: 1; }
.frameset { position: absolute; inset: 0; }
.frameset span { position: absolute; border: 1px solid rgba(244,238,227,.22); }
.frameset span:nth-child(1) { inset: 0 14% 16% 0; box-shadow: 0 40px 80px -30px rgba(0,0,0,.6), inset 0 0 0 1px rgba(244,238,227,.05); background: linear-gradient(140deg, rgba(244,238,227,.05), transparent 55%); }
.frameset span:nth-child(2) { inset: 16% 0 0 14%; border-color: rgba(116,98,61,.75); }
.frameset span:nth-child(3) { left: -6%; right: 22%; top: -5%; height: 1px; border: 0; background: rgba(244,238,227,.3); }
.frameset span:nth-child(4) { left: 4%; top: -9%; bottom: 8%; width: 12px; border-width: 0 1px; border-color: rgba(244,238,227,.2); }

.hero__content {
  position: relative; z-index: 3; align-self: center;
  --hero-gap: clamp(2rem, 4vw, 3.5rem);
  display: grid; grid-template-columns: minmax(var(--fore-min, 0px), 1fr) auto; gap: var(--hero-gap); align-items: center;
  container-type: inline-size;
  padding-block: clamp(3.5rem, 8vw, 7rem);
}
@media (min-width: 1024px) {
  /* Copy column keeps the width it had before the reveal grew (430px @1024, 573px @1280,
     576px = the paragraph's 36rem line length @1440); the gutter narrows to 2.5rem. */
  .hero__content { --fore-min: min(calc(56vw - 143px), 36rem); --hero-gap: 2.5rem; }
  /* Headline size tied to the viewport, not the column, so a wider reveal can't shrink it.
     Matches the previous sizes: 45px @1024, 60px @1280, 67.2px @1440. */
  .hero__fore .hero__title { font-size: clamp(2rem, calc(5.86vw - 14.8px), 4.2rem); }
}
.hero__fore { display: grid; gap: 1.9rem; max-width: 40rem; will-change: transform; container-type: inline-size; }
.hero__title { font-size: clamp(2rem, 10.5cqi, 4.75rem); font-weight: 500; line-height: 1.02; letter-spacing: -.015em; color: var(--white); }
.hero__title span { display: block; white-space: nowrap; }
.hero__title span + span { margin-top: .04em; }
.hero__title span:nth-child(2) { font-style: italic; font-weight: 400; color: var(--cream); }
.hero__intro { max-width: 36rem; padding-top: 1.5rem; border-top: 1px solid var(--rule-dark); font-size: var(--fs-lead); line-height: 1.55; color: var(--cream); }
.hero__phrases { list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--rule-dark); border-bottom: 1px solid var(--rule-dark); }
.hero__phrases li { display: grid; gap: .6rem; align-content: start; font-size: var(--fs-small); line-height: 1.4; padding: 1rem 1rem 1rem 0; }
.hero__phrases li + li { padding-left: 1rem; border-left: 1px solid var(--rule-dark); }
.hero__phrases li::before { content: ""; width: 6px; height: 6px; background: var(--cream); transform: rotate(45deg); }
.hero .cta-row { gap: 1rem 2rem; }

/* Reveal slot — homepage only. Not moved by pointer parallax; after load it floats gently (below). */
.reveal-slot {
  position: relative; z-index: 2; width: 100%; aspect-ratio: 4 / 3;
  border: 1px dashed rgba(244,238,227,.55); background: rgba(23,27,23,.35);
  box-shadow: inset 0 0 0 10px rgba(23,27,23,.2), inset 0 0 0 11px rgba(244,238,227,.12);
}
/* Keep the hero alive: slow idle float on the reveal frame, slow drift on the line work */
@keyframes reveal-float { 0%, 100% { transform: translate3d(0, 0, 0); } 50% { transform: translate3d(0, -6px, 0); } }
@keyframes line-drift { from { transform: translate3d(0, 0, 0); } to { transform: translate3d(-28px, 12px, 0); } }
@keyframes frame-drift { from { transform: translate3d(0, 0, 0); } to { transform: translate3d(10px, -8px, 0); } }
.reveal-slot--filled { animation: reveal-float 7s ease-in-out infinite; }
.hero__geo { animation: line-drift 38s ease-in-out infinite alternate; }
.frameset { animation: frame-drift 22s ease-in-out infinite alternate; }
.reveal-slot__tag {
  position: absolute; left: -1px; top: -1px; transform: translateY(-100%);
  display: inline-block; padding: .35rem .7rem; background: var(--cream); color: var(--ink);
  font: 600 var(--fs-micro)/1.3 var(--sans); letter-spacing: .03em;
}
/* Filled with Kat's reveal video: framed like the site's other media, never moved by parallax */
.reveal-slot--filled { margin: 0; border: 0; background: var(--ink); overflow: hidden; box-shadow: 0 50px 90px -40px rgba(0,0,0,.75); }
.reveal-slot--filled::after { content: ""; position: absolute; inset: 10px; border: 1px solid rgba(255,253,249,.5); pointer-events: none; z-index: 1; }
.reveal-slot__video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.reveal-slot__ctl {
  position: absolute; right: 18px; top: 18px; z-index: 2; width: 44px; height: 44px; display: grid; place-items: center;
  border-radius: 50%; border: 1px solid rgba(244,238,227,.7); background: rgba(23,27,23,.6); color: var(--cream); font-size: 1.1rem;
}
.reveal-slot__ctl .icon[data-play] { fill: currentColor; stroke: none; margin-left: 2px; }

/* ---------- Value points + form ---------- */
.split { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: clamp(2.5rem, 5vw, 6rem); align-items: start; }
.values__heading { font-size: clamp(2.2rem, 1.5rem + 2.6vw, 3.4rem); line-height: 1.08; }
.values__list { list-style: none; display: grid; gap: 1.75rem; margin-top: clamp(2rem, 3vw, 2.75rem); }
/* ≥1024px: heading top = form top (both start the row); the form card stretches to the list's
   height and spreads the extra space between its rows, so both columns end on the same line. */
@media (min-width: 1024px) {
  .split--balanced { align-items: stretch; }
  .split--balanced .form-col { display: flex; flex-direction: column; }
  .split--balanced .form-card { flex: 1; display: flex; flex-direction: column; }
  .split--balanced .form-card > form { flex: 1; display: flex; flex-direction: column; }
  .split--balanced .form-grid { flex: 1; align-content: space-between; }
}
.value { display: grid; grid-template-columns: 1.8rem minmax(0, 1fr); gap: 1.1rem; align-items: start; }
.value__icon { width: 1.8rem; height: 1.8rem; margin-top: .05rem; fill: none; stroke: var(--green); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.value__title { font: normal 700 clamp(1.35rem, 1.25rem + .4vw, 1.5rem)/1.2 var(--serif); color: var(--green); margin-bottom: .45rem; }
.value__text { font-size: 1.05rem; line-height: 1.6; color: var(--text); max-width: 58ch; }
.value__link { display: inline-block; padding-block: .25rem; margin-block: -.25rem; color: var(--green); font-weight: 600; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: .22em; white-space: nowrap; transition: color var(--t-ctl) var(--ease), text-decoration-thickness var(--t-ctl) var(--ease); }
@media (hover: hover) { .value__link:hover { color: var(--green-deep); text-decoration-thickness: 2px; } }
.value__link:focus-visible { text-decoration-thickness: 2px; }

.badge-slot {
  display: flex; align-items: center; gap: 1rem; min-height: 88px; padding: 1rem 1.25rem;
  border: 1px dashed rgba(116,98,61,.6); color: var(--text-soft); background: rgba(244,238,227,.5);
  font: 600 var(--fs-micro)/1.4 var(--sans); letter-spacing: .02em; max-width: 380px;
}
.badge-slot::before { content: ""; width: 44px; height: 44px; flex: none; border: 1px solid rgba(116,98,61,.5); border-radius: 50%; background: repeating-linear-gradient(135deg, transparent 0 5px, rgba(116,98,61,.2) 5px 6px); }
.values .badge-slot { margin-top: 2rem; }

/* Inquiry form card (dark) */
.form-card {
  position: relative; background: var(--ink); color: var(--cream); --focus: var(--cream);
  padding: clamp(1.5rem, 1rem + 2vw, 2.5rem); box-shadow: var(--sh-3);
  container-type: inline-size;
}
@container (max-width: 400px) { .form-grid { grid-template-columns: minmax(0, 1fr); } }
.form-card::before { content: ""; position: absolute; inset: 8px; border: 1px solid var(--rule-dark); pointer-events: none; }
.form-card__head { display: grid; gap: .5rem; margin-bottom: 1.5rem; }
.form-card__title { font-size: clamp(1.45rem, 1.2rem + 1vw, 1.9rem); color: var(--white); }
.preview-note {
  display: flex; gap: .6rem; align-items: flex-start; padding: .7rem .85rem; border-left: 2px solid var(--cream);
  background: rgba(244,238,227,.07); font-size: var(--fs-micro); line-height: 1.45;
}
.preview-note--light { border-color: var(--olive); background: rgba(116,98,61,.08); color: var(--text); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem 1rem; }
.field { display: grid; gap: .4rem; min-width: 0; }
.field--full { grid-column: 1 / -1; }
.field label, .field .label { font-size: var(--fs-small); font-weight: 600; }
.field .req { font-weight: 400; }
.input, .select {
  width: 100%; min-height: 48px; padding: .7rem .85rem; border-radius: var(--radius);
  background: var(--ink-2); color: var(--cream); border: 1px solid rgba(244,238,227,.32);
  transition: border-color var(--t-ctl) var(--ease), box-shadow var(--t-ctl) var(--ease), background-color var(--t-ctl) var(--ease);
}
.input::placeholder { color: var(--cream); opacity: .75; }
.input:hover, .select:hover { border-color: rgba(244,238,227,.6); }
.input:focus-visible, .select:focus-visible { outline: none; border-color: var(--cream); box-shadow: 0 0 0 3px rgba(244,238,227,.35); }
.select { appearance: none; -webkit-appearance: none; padding-right: 2.5rem; background-image: linear-gradient(45deg, transparent 50%, var(--cream) 50%), linear-gradient(135deg, var(--cream) 50%, transparent 50%); background-position: calc(100% - 1.15rem) 52%, calc(100% - .8rem) 52%; background-size: 6px 6px; background-repeat: no-repeat; text-overflow: ellipsis; }
.select option { color: var(--ink); background: var(--white); }
.field[data-invalid] .input, .field[data-invalid] .select { border-color: var(--white); border-width: 2px; }
.field__error { display: flex; gap: .4rem; align-items: flex-start; font-size: var(--fs-micro); font-weight: 600; color: var(--white); }
.field__error::before { content: "!"; display: inline-grid; place-items: center; width: 1.15rem; height: 1.15rem; flex: none; border-radius: 50%; background: var(--white); color: var(--ink); font-size: .7rem; font-weight: 700; margin-top: .05rem; }
.check { display: grid; grid-template-columns: 24px minmax(0,1fr); gap: .75rem; align-items: start; font-size: var(--fs-micro); line-height: 1.45; }
.check input { width: 24px; height: 24px; margin: 0; accent-color: var(--green); cursor: pointer; }
.form-status { margin-top: 1rem; padding: .9rem 1rem; border: 1px solid var(--cream); font-size: var(--fs-small); line-height: 1.5; }
.form-status strong { display: block; margin-bottom: .2rem; }
.form-card .btn { margin-top: 1.25rem; }
.form-card + .badge-slot { margin-top: 1.5rem; }

/* light variant used by locator */
.field--light .input { background: var(--white); color: var(--text); border-color: rgba(23,27,23,.35); }
.field--light .input::placeholder { color: var(--text-soft); }
.field--light .input:focus-visible { border-color: var(--green); box-shadow: 0 0 0 3px rgba(20,89,39,.25); }
.field--light[data-invalid] .input { border-color: var(--text); }
.field--light .field__error { color: var(--text); }
.field--light .field__error::before { background: var(--text); color: var(--white); }

/* ---------- Services grid ---------- */
.services__head { display: flex; justify-content: space-between; align-items: flex-end; gap: 2rem; margin-bottom: clamp(2.25rem, 1.5rem + 2.5vw, 3.75rem); }
.services__head .sec-head { margin: 0; max-width: 44rem; }
.cards-9 { list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(12px, 1.6vw, 22px); perspective: 1400px; }
.svc-card {
  --rx: 0deg; --ry: 0deg; --lift: 0px;
  position: relative; display: flex; flex-direction: column; justify-content: space-between; height: 100%;
  min-height: clamp(260px, 22vw, 340px); padding: 1.35rem; overflow: hidden; isolation: isolate;
  color: var(--cream); --focus: var(--cream); text-decoration: none; background: var(--ink);
  border-radius: var(--radius); box-shadow: var(--sh-1);
  transform: translateY(calc(var(--lift) * -1)) rotateX(var(--rx)) rotateY(var(--ry));
  transform-style: preserve-3d;
  transition: transform 260ms var(--ease), box-shadow 260ms var(--ease);
}
.svc-card .slot { position: absolute; inset: 0; z-index: -2; place-items: start end; }
.svc-card .slot .slot__label { padding: 1rem 1.15rem; text-align: right; justify-items: end; max-width: 70%; font-size: .75rem; }
.svc-card .slot::before, .svc-card .slot::after { display: none; }
.svc-card__overlay { position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(23,27,23,.38) 0%, rgba(23,27,23,.12) 32%, rgba(23,27,23,.4) 58%, rgba(23,27,23,.9) 100%); }
.svc-card__icon {
  width: 56px; height: 56px; display: grid; place-items: center; border-radius: 50%;
  border: 1px solid rgba(244,238,227,.7); color: var(--cream); font-size: 1.45rem; background: rgba(23,27,23,.62); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px);
  transition: background-color 260ms var(--ease), color 260ms var(--ease), transform 300ms var(--ease-out), border-color 260ms var(--ease);
}
.svc-card__foot { display: flex; align-items: flex-end; justify-content: space-between; gap: 1rem; }
.svc-card__name { font-family: var(--serif); font-size: clamp(1.2rem, 1.05rem + .5vw, 1.45rem); line-height: 1.22; color: var(--white); }
.svc-card__go { width: 40px; height: 40px; flex: none; display: grid; place-items: center; border-top: 1px solid rgba(244,238,227,.5); font-size: 1.2rem; transition: transform 260ms var(--ease); }
.svc-card__idx { position: absolute; left: 1.35rem; bottom: calc(100% - 1.35rem - 56px - 1.5rem); font: 600 .75rem/1 var(--sans); letter-spacing: .12em; opacity: 0; }
.svc-card--res { background: var(--green); }
.svc-card--res::before { content: ""; position: absolute; inset: 10px; border: 1px solid rgba(244,238,227,.28); z-index: -1; }
.svc-card--res .svc-card__geo { position: absolute; right: -10%; top: -10%; width: 70%; color: var(--cream); opacity: .16; z-index: -1; }
@media (hover: hover) {
  .svc-card:hover { --lift: 5px; box-shadow: var(--sh-3); }
  .svc-card:hover .slot__stage { transform: scale(1.04); }
  .svc-card:hover .svc-card__icon { background: var(--cream); color: var(--green); border-color: var(--cream); transform: rotate(-8deg) scale(1.06); }
  .svc-card:hover .svc-card__go { transform: translateX(4px); }
}
.svc-card:focus-visible { --lift: 5px; box-shadow: var(--sh-3); outline-offset: 4px; outline-color: var(--ink); }
.svc-card:focus-visible .slot__stage { transform: scale(1.04); }
.svc-card:focus-visible .svc-card__icon { background: var(--cream); color: var(--green); border-color: var(--cream); transform: rotate(-8deg) scale(1.06); }
.svc-card:active { --lift: 2px; transition-duration: 90ms; }
.badge-slot--round { flex-direction: column; justify-content: center; text-align: center; width: 168px; min-height: 168px; border-radius: 50%; padding: 1.5rem; max-width: none; }
.badge-slot--round::before { width: 34px; height: 34px; }

/* ---------- Process (video background) ---------- */
.process { overflow: hidden; isolation: isolate; background: var(--ink); color: var(--cream); --focus: var(--cream); }
.process__bg { position: absolute; inset: 0; z-index: -1; }
.process__video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
/* Every text box in this section (heading panel, six steps, CTA panel) shares .film-box:
   a film of the brand green (#145927) over the video. Change the strength in one place. */
.process { --step-film-opacity: .75; --box-ink: var(--white); }
.film-box {
  background: rgb(20 89 39 / var(--step-film-opacity));
  border: 1px solid rgb(20 89 39 / min(1, calc(var(--step-film-opacity) + .25)));   /* edge stays a step stronger than the film */
  border-radius: 0; box-shadow: none; color: var(--box-ink);
}
.process__panel { justify-self: start; width: fit-content; max-width: 100%; padding: clamp(1.25rem, 1rem + 1.4vw, 2rem) clamp(1.25rem, 1rem + 1.8vw, 2.5rem); }
.process .eyebrow { color: var(--box-ink); }
.process__heading { font-size: clamp(2.1rem, 1.4rem + 2.8vw, 3.6rem); line-height: 1.08; color: var(--box-ink); max-width: 20ch; }
@media (min-width: 1200px) { .process__heading { max-width: none; white-space: nowrap; } }   /* one line at desktop */
/* one visible number per card (the 01–06 numeral); no list markers; "Step n:" stays for screen readers */
.steps { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); grid-auto-rows: 1fr; gap: clamp(1.25rem, 2.2vw, 2rem); }
.steps > li { list-style: none; }
.steps > li::marker { content: none; }
/* Step layout only; the look comes from .film-box. No hover effect. */
.step {
  position: relative; display: grid; align-content: start; justify-items: start; text-align: left; gap: .75rem; padding: 2rem 1.75rem;
  --focus: var(--box-ink); outline-offset: 4px;
}
.step__num { font: 700 clamp(2.6rem, 2.2rem + 1.4vw, 3.4rem)/1 var(--serif); color: var(--box-ink); letter-spacing: -.01em; margin-bottom: .25rem; }
.step__title { font: 700 1.3rem/1.3 var(--sans); color: var(--box-ink); letter-spacing: 0; }
.step__text { font-size: 1rem; line-height: 1.7; color: var(--box-ink); max-width: 13.25rem; }   /* ≤32 characters per line (measured) */
/* thin cream line joining the cards in each desktop row */
@media (min-width: 1024px) {
  .step:not(:nth-child(3n))::after { content: ""; position: absolute; top: 3.1rem; left: 100%; width: clamp(1.25rem, 2.2vw, 2rem); height: 1px; background: rgba(244,238,227,.7); }
}
.process .cta-row { margin-top: clamp(2.5rem, 4vw, 3.5rem); }
.process .phone { color: var(--cream); text-decoration-color: rgba(244,238,227,.6); }

/* ---------- Reviews carousel ---------- */
.reviews { list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(1rem, 2vw, 1.5rem); align-items: stretch; }
.review {
  height: 100%; display: flex; flex-direction: column; gap: 1rem; padding: 1.75rem 1.6rem 1.5rem; position: relative;
  background: var(--cream); border-top: 2px solid var(--green);
  transition: transform 260ms var(--ease), box-shadow 260ms var(--ease), border-color 260ms var(--ease);
}
@media (hover: hover) {
  .review:hover { transform: translateY(-5px); box-shadow: 0 4px 8px rgba(23,27,23,.08), 0 26px 48px -18px rgba(23,27,23,.32); border-top-color: var(--olive); }
  .review:hover .review__photo { transform: scale(1.05); }   /* applies once reviewer photos are added */
}
/* Reviewer photo: 104px circle, centered at the top of the card; cream ring with a hairline
   olive edge (so the ring reads on the cream card) and a soft shadow. */
.review__photo {
  display: block; align-self: center; width: 104px; height: 104px; border-radius: 50%; object-fit: cover;
  border: 3px solid var(--cream); outline: 1px solid rgba(116,98,61,.45); outline-offset: 0;
  box-shadow: 0 2px 4px rgba(23,27,23,.10), 0 12px 24px -10px rgba(23,27,23,.35);
  margin-bottom: .25rem; transition: transform 320ms var(--ease-out);
}
.review__stars { display: flex; gap: 3px; color: var(--olive); }
.review__star { width: 18px; height: 18px; fill: currentColor; }
.review__title { font-size: 1.3rem; line-height: 1.25; }
.review__quote { margin: 0; flex: 1; color: var(--text-soft); font-size: var(--fs-small); line-height: 1.65; }
.review__by { display: flex; justify-content: space-between; align-items: baseline; gap: .5rem 1rem; flex-wrap: wrap; padding-top: 1rem; border-top: 1px solid var(--rule); font-size: var(--fs-small); }
.review__by time { color: var(--text-soft); font-size: var(--fs-micro); }
.icon-btn {
  width: 52px; height: 52px; display: grid; place-items: center; border-radius: 50%;
  background: var(--white); border: 1px solid rgba(23,27,23,.35); color: var(--text); font-size: 1.25rem;
  transition: transform var(--t-ctl) var(--ease), background-color var(--t-ctl) var(--ease), color var(--t-ctl) var(--ease), box-shadow var(--t-ctl) var(--ease);
}
@media (hover: hover) { .icon-btn:hover:not(:disabled) { background: var(--green); color: var(--cream); border-color: var(--green); box-shadow: var(--sh-2); transform: translateY(-2px); } }
.icon-btn:active:not(:disabled) { transform: scale(.94); }
.icon-btn:disabled { opacity: .35; cursor: default; }
.icon-btn[data-dir="prev"] .icon { transform: rotate(180deg); }

/* ---------- Promo (single full-width panel: copy + two overlapping image slots) ---------- */
.promo2 { overflow: hidden; }
.promo2 > .promo__geo { color: var(--cream); opacity: .08; width: 40%; left: -8%; right: auto; bottom: -20%; }
.promo2__grid { position: relative; display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(2.5rem, 6vw, 6rem); align-items: center; }
.promo2__copy { display: grid; gap: 1.75rem; justify-items: start; }
.promo2__copy .h2 { color: var(--cream); font-size: clamp(2.1rem, 1.4rem + 2.6vw, 3.4rem); max-width: 14ch; }
.promo2__media { position: relative; padding-bottom: 14%; }
.promo2__img { position: relative; box-shadow: 0 2px 4px rgba(0,0,0,.25), 0 16px 32px -14px rgba(0,0,0,.6), 0 44px 80px -36px rgba(0,0,0,.7); transition: transform 600ms var(--ease-out); will-change: transform; }
.promo2__img .slot { position: absolute; inset: 0; }
.promo2__img .slot::before, .promo2__img .slot::after { display: none; }
.promo2__img::after { content: ""; position: absolute; inset: 9px; border: 1px solid rgba(244,238,227,.65); pointer-events: none; z-index: 2; }
.promo2__img--a { width: 84%; margin-left: auto; aspect-ratio: 4 / 3; }
.promo2__img--b { position: absolute; left: 0; bottom: 0; width: 38%; aspect-ratio: 4 / 5; z-index: 3; }
@media (max-width: 1023px) {
  .promo2__grid { grid-template-columns: minmax(0, 1fr); }
  .promo2__copy .h2 { max-width: 18ch; }
}
.promos { display: grid; grid-template-columns: 1fr 1fr; }
.promo { position: relative; padding: clamp(3.25rem, 2rem + 5vw, 6.5rem) clamp(1.25rem, 5vw, 5rem); display: grid; gap: 1.5rem; align-content: start; justify-items: start; overflow: hidden; }
.promo .h2 { max-width: 22ch; }
.promo > :not(.promo__geo) { position: relative; }
.device { width: min(100%, 260px); aspect-ratio: 9 / 16; padding: 12px; border-radius: 30px; position: relative; justify-self: center; margin-block: .75rem; box-shadow: var(--sh-3); transition: transform 500ms var(--ease-out); }
.device .slot { width: 100%; height: 100%; border-radius: 20px; }
.device::before { content: ""; position: absolute; top: 20px; left: 50%; width: 46px; height: 5px; border-radius: 3px; transform: translateX(-50%); z-index: 2; }
.promo--light .device { background: var(--ink); }
.promo--light .device::before { background: rgba(244,238,227,.25); }
.promo--dark .device { background: var(--cream); }
.promo--dark .device::before { background: rgba(23,27,23,.2); }
.device .slot::before, .device .slot::after { display: none; }
.device--tablet { width: min(100%, 380px); aspect-ratio: 4 / 3; border-radius: 22px; }
.device--tablet .slot { border-radius: 12px; }
.device--tablet::before { top: 50%; left: 9px; width: 4px; height: 36px; transform: translateY(-50%); }
@media (hover: hover) { .promo:hover .device { transform: translateY(-6px) rotate(-1deg); } }
.promo__geo { position: absolute; width: 60%; right: -12%; bottom: -16%; opacity: .12; pointer-events: none; }
.promo--light .promo__geo { color: var(--olive); opacity: .3; }
.promo--dark .promo__geo { color: var(--cream); }

/* ---------- Feature row ---------- */
.feature { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: clamp(2rem, 5vw, 6rem); align-items: center; }
.feature .frame { aspect-ratio: 5 / 4; isolation: isolate; }
/* Two 5:4 images in the space the single image used; same gap as the services grid. Stack on phones. */
.feature__pair { position: relative; isolation: isolate; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(12px, 1.6vw, 22px); align-items: start; }
.feature__img { margin: 0; overflow: hidden; background: var(--cream); }
.feature__img img.slot__stage { object-fit: cover; object-position: 50% 50%; }
@media (max-width: 600px) { .feature__pair { grid-template-columns: minmax(0, 1fr); } }
.feature .frame .slot { position: absolute; inset: 0; }
.feature__body { display: grid; gap: 1.4rem; justify-items: start; }
.feature__offset { position: absolute; left: -18px; bottom: -18px; width: 42%; height: 46%; border: 1px solid var(--rule); z-index: -1; }


/* ---------- About ---------- */
.about__cols { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: clamp(2rem, 5vw, 6rem); align-items: start; margin-top: clamp(2.5rem, 5vw, 4.5rem); }
/* Founder portrait: 4:5 crop of a square photo; the stage is taller than the frame so scroll drift never shows an edge */
.about__photo { margin: 0; aspect-ratio: 4 / 5; overflow: hidden; isolation: isolate; position: sticky; top: calc(var(--header-h) + 2rem); background: var(--cream); }
.about__photo img { position: absolute; left: 0; top: -24px; width: 100%; height: calc(100% + 48px); max-width: none; object-fit: cover; object-position: 50% 30%; }
.about__text { display: grid; gap: 1.75rem; }
.about__lede { font-family: var(--serif); font-size: clamp(1.3rem, 1.1rem + .8vw, 1.75rem); line-height: 1.4; }
.about__body { max-width: 62ch; color: var(--text-soft); }
.about__body > p + p { margin-top: 1.1em; }
.about__close { display: grid; justify-items: start; gap: 1.25rem; margin-top: 2rem; padding-top: 1.75rem; border-top: 1px solid var(--rule); }
.about__close p { font: italic 400 clamp(1.25rem, 1.1rem + .6vw, 1.6rem)/1.3 var(--serif); color: var(--text); }

/* ---------- FAQ ---------- */
.faq { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(2rem, 5vw, 6rem); align-items: start; }
.faq__head { position: sticky; top: calc(var(--header-h) + 2rem); }
.faq__list { border-top: 1px solid var(--rule); }
.faq__item { border-bottom: 1px solid var(--rule); interpolate-size: allow-keywords; }
.faq__item summary {
  list-style: none; display: grid; grid-template-columns: minmax(0, 1fr) 40px; gap: 1rem; align-items: center;
  min-height: 64px; padding: 1.15rem 0; cursor: pointer; font: 500 clamp(1.05rem, 1rem + .3vw, 1.2rem)/1.35 var(--serif);
  transition: color var(--t-ctl) var(--ease);
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__toggle { width: 40px; height: 40px; border-radius: 50%; border: 1px solid rgba(23,27,23,.3); position: relative; transition: background-color var(--t-ctl) var(--ease), border-color var(--t-ctl) var(--ease), transform 300ms var(--ease-out); }
.faq__toggle::before, .faq__toggle::after { content: ""; position: absolute; left: 50%; top: 50%; width: 14px; height: 1.5px; background: currentColor; transform: translate(-50%, -50%); transition: transform 300ms var(--ease-out); }
.faq__toggle::after { transform: translate(-50%, -50%) rotate(90deg); }
.faq__item[open] .faq__toggle { background: var(--green); border-color: var(--green); color: var(--cream); transform: rotate(180deg); }
.faq__item[open] .faq__toggle::after { transform: translate(-50%, -50%) rotate(0deg); }
@media (hover: hover) { .faq__item summary:hover { color: var(--green); } .faq__item summary:hover .faq__toggle { border-color: var(--green); } }
.faq__item summary:focus-visible { outline-offset: 2px; }
.faq__answer { padding: 0 3.5rem 1.5rem 0; color: var(--text-soft); max-width: 62ch; }
.faq__item::details-content { block-size: 0; overflow: hidden; transition: block-size 320ms var(--ease), content-visibility 320ms allow-discrete; }
.faq__item[open]::details-content { block-size: auto; }

/* ---------- How it works (video) ---------- */
.hiw { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: clamp(2rem, 5vw, 6rem); align-items: center; }
.video-thumb { position: relative; display: block; width: 100%; padding: 0; border: 0; background: none; aspect-ratio: 16 / 9; color: var(--cream); cursor: pointer; box-shadow: 0 40px 80px -40px rgba(0,0,0,.6); }
.video-thumb .slot { position: absolute; inset: 0; place-items: start start; }
.video-thumb .slot .slot__label { justify-items: start; text-align: left; padding: 1.15rem 1.25rem; }
.video-thumb__play {
  position: absolute; left: 50%; top: 50%; width: clamp(68px, 8vw, 92px); aspect-ratio: 1; transform: translate(-50%, -50%);
  display: grid; place-items: center; border-radius: 50%; background: var(--cream); color: var(--green); font-size: 1.6rem;
  box-shadow: 0 0 0 10px rgba(244,238,227,.16), var(--sh-2); transition: transform 260ms var(--ease-out), box-shadow 260ms var(--ease);
}
.video-thumb__play .icon { fill: currentColor; stroke: none; margin-left: 4px; }
.video-thumb::after { content: ""; position: absolute; inset: 10px; border: 1px solid rgba(244,238,227,.35); pointer-events: none; }
@media (hover: hover) {
  .video-thumb:hover .video-thumb__play { transform: translate(-50%, -50%) scale(1.07); box-shadow: 0 0 0 16px rgba(244,238,227,.12), var(--sh-3); }
  .video-thumb:hover .slot__stage { transform: scale(1.03); }
}
.video-thumb:focus-visible { outline-offset: 6px; }
.video-thumb:focus-visible .video-thumb__play { transform: translate(-50%, -50%) scale(1.07); }
.video-thumb:active .video-thumb__play { transform: translate(-50%, -50%) scale(.97); }

/* ---------- Footer ---------- */
/* Same space above and below the column row (--footer-pad is reused by .footer__band) */
.site-footer { --footer-pad: clamp(3.5rem, 6vw, 5.5rem); background: var(--ink); color: var(--cream); --focus: var(--cream); padding-top: var(--footer-pad); }
/* ≥1024px: three equal columns, tops aligned, equal gutters. Heights tuned to match at 1440. */
.footer__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2.75rem 3rem; align-items: start; }
.footer__brand { display: grid; justify-items: start; gap: .75rem; }
.footer__plaque { display: inline-block; padding: 1.1rem 1.35rem; background: var(--cream); position: relative; line-height: 0; }
.footer__plaque::after { content: ""; position: absolute; inset: 5px; border: 1px solid rgba(116,98,61,.35); pointer-events: none; }
.footer__plaque img { width: 236px; height: auto; }
.footer__plaque { transition: transform 220ms cubic-bezier(.34, 1.56, .64, 1), box-shadow 220ms var(--ease); }
@media (hover: hover) { .footer__plaque:hover { transform: translateY(-2px) scale(1.03); box-shadow: 0 12px 24px -10px rgba(0,0,0,.6); } }
.footer__plaque:focus-visible { transform: translateY(-2px) scale(1.03); }
/* Footer links: underline draws in on hover; cream focus outline (from --focus) */
.flink {
  display: inline-flex; align-items: center; min-height: 44px; color: var(--cream); text-decoration: none;
  background: linear-gradient(currentColor, currentColor) 0 calc(100% - .55rem) / 0 1px no-repeat;
  transition: background-size 280ms var(--ease);
}
@media (hover: hover) { .flink:hover { background-size: 100% 1px; color: var(--white); } }
.flink:focus-visible { background-size: 100% 1px; outline-offset: 2px; }
.flink[aria-current="page"] { background-size: 100% 1px; font-weight: 600; }
.footer__phone { margin-top: 1.6rem; font: 500 clamp(2.1rem, 1.6rem + 1.6vw, 3.1rem)/1.1 var(--serif); color: var(--white); letter-spacing: -.005em; background-position: 0 calc(100% - .35rem); }
.footer__email { font-size: var(--fs-small); overflow-wrap: anywhere; }
/* column labels: small caps-style uppercase, wide tracking, short green rule */
.footer__h { font: 600 .75rem/1.3 var(--sans); letter-spacing: .18em; text-transform: uppercase; color: var(--cream); margin-bottom: 1.25rem; padding-bottom: .9rem; position: relative; }
.footer__h::after { content: ""; position: absolute; left: 0; bottom: 0; width: 2.25rem; height: 2px; background: var(--green); }
/* Services: always two lists (5 + 4) down to 480px */
.footer__links { list-style: none; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); grid-template-rows: repeat(5, auto); grid-auto-flow: column; gap: 0 1.5rem; }
.footer__links .flink { font-size: var(--fs-small); line-height: 1.3; padding-block: .2rem; }
.footer__info { font-style: normal; display: grid; gap: 2.1rem; font-size: 1.0625rem; line-height: 1.85; color: var(--cream); }
.footer__hours { font-weight: 600; color: var(--white); }
.footer__band { margin-top: var(--footer-pad); padding-block: clamp(1.75rem, 3vw, 2.5rem); border-top: 1px solid rgba(116,98,61,.55); border-bottom: 1px solid rgba(116,98,61,.55); }
.footer__areas { max-width: 46ch; margin: 0 auto; text-align: center; text-wrap: balance; font: italic 400 clamp(1.1rem, 1rem + .4vw, 1.35rem)/1.5 var(--serif); color: var(--cream); }
.footer__bottom { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 0 1.75rem; padding-block: 1.25rem clamp(1.75rem, 3vw, 2.5rem); font-size: var(--fs-micro); text-align: center; }
.footer__bottom .flink { font-size: inherit; background-position: 0 calc(100% - .7rem); }
.text-btn { background: none; border: 0; padding: .55rem 0; min-height: 44px; color: inherit; font: inherit; text-align: left; text-decoration: underline; text-underline-offset: .25em; text-decoration-color: rgba(244,238,227,.45); }
@media (hover: hover) { .text-btn:hover { text-decoration-color: currentColor; } }
.loc-note { margin-top: .6rem; font-size: var(--fs-micro); }

/* ---------- Dialog ---------- */
.dlg {
  width: min(640px, calc(100vw - 32px)); max-height: calc(100dvh - 48px); padding: 0; border: 0; border-radius: var(--radius-lg);
  background: var(--white); color: var(--text); box-shadow: var(--sh-3); overflow: auto;
}
.dlg--video { width: min(980px, calc(100vw - 32px)); background: var(--ink); color: var(--cream); --focus: var(--cream); }
.dlg::backdrop { background: rgba(23,27,23,.72); -webkit-backdrop-filter: blur(3px); backdrop-filter: blur(3px); }
.dlg[open] { animation: dlg-in 260ms var(--ease-out); }
.dlg[open]::backdrop { animation: fade-in 260ms var(--ease); }
@keyframes dlg-in { from { opacity: 0; transform: translateY(12px) scale(.985); } }
@keyframes fade-in { from { opacity: 0; } }
.dlg__inner { padding: clamp(1.5rem, 1rem + 2vw, 2.25rem); display: grid; gap: 1.1rem; }
.dlg__head { display: flex; justify-content: space-between; align-items: flex-start; gap: 1rem; }
.dlg__title { font-size: clamp(1.3rem, 1.15rem + .6vw, 1.6rem); }
.dlg__close { flex: none; width: 44px; height: 44px; display: grid; place-items: center; border-radius: 50%; background: transparent; border: 1px solid currentColor; color: inherit; font-size: 1.1rem; transition: transform var(--t-ctl) var(--ease), background-color var(--t-ctl) var(--ease); }
@media (hover: hover) { .dlg__close:hover { transform: rotate(90deg); } }
.dlg__stage { aspect-ratio: 16 / 9; }
.dlg__token { font-weight: 600; padding: .75rem .9rem; border: 1px dashed var(--rule); font-size: var(--fs-small); }
.dlg--video .dlg__token { border-color: rgba(244,238,227,.45); }

/* ---------- Inner pages (service / resources) ---------- */
.page-band { position: relative; overflow: hidden; padding-block: clamp(2.5rem, 5vw, 4.5rem) clamp(3rem, 6vw, 5.5rem); }
.page-band--overlap { padding-bottom: calc(clamp(3rem, 6vw, 5.5rem) + clamp(2.5rem, 4vw, 3.5rem)); }
.page-band__geo { position: absolute; right: -4%; top: -20%; width: min(60vw, 760px); color: var(--cream); opacity: .1; pointer-events: none; }
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; align-items: center; gap: .35rem .6rem; font-size: var(--fs-small); }
.crumbs li { display: flex; align-items: center; gap: .6rem; }
.crumbs li + li::before { content: ""; width: 6px; height: 6px; border-top: 1px solid currentColor; border-right: 1px solid currentColor; transform: rotate(45deg); flex: none; }
.crumbs a { display: inline-flex; align-items: center; min-height: 44px; text-underline-offset: .25em; text-decoration-color: rgba(244,238,227,.5); transition: text-decoration-color var(--t-ctl) var(--ease); }
@media (hover: hover) { .crumbs a:hover { text-decoration-color: currentColor; text-decoration-thickness: 2px; } }
.page-title { display: grid; gap: 1.1rem; max-width: 52rem; margin-top: clamp(1.5rem, 3vw, 2.5rem); }
.page-band__grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: clamp(2rem, 5vw, 5rem); align-items: center; }
.page-band__media { margin: 0; aspect-ratio: 4 / 3; overflow: hidden; isolation: isolate; background: var(--ink-3); box-shadow: 0 40px 80px -40px rgba(0,0,0,.7); }
.page-band__media .slot { position: absolute; inset: 0; }
/* photo stage is taller than its frame so the scroll drift never exposes an edge */
.frame > img.slot__stage { position: absolute; left: 0; top: -24px; height: calc(100% + 48px); }
.page-title h1 { color: var(--white); }

.layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(300px, 380px); gap: clamp(2.5rem, 5vw, 5.5rem); align-items: start; }
.layout__main > * + * { margin-top: clamp(3rem, 2rem + 3vw, 4.75rem); }
.sidebar { display: grid; gap: 2rem; position: sticky; top: calc(var(--header-h) + 1.5rem); }
.block { display: grid; gap: 1.1rem; }
.block > .h2 { font-size: clamp(1.55rem, 1.25rem + 1.2vw, 2.2rem); }

.stats { list-style: none; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); background: var(--cream); border-top: 2px solid var(--green); margin-top: calc(-1 * clamp(3rem, 6vw, 5.5rem) + 0px) !important; position: relative; z-index: 2; box-shadow: var(--sh-2); }
.stat { padding: 1.5rem 1.25rem; display: grid; gap: .5rem; align-content: start; }
.stat + .stat { border-left: 1px solid var(--rule); }
.stat__fig { font: 700 clamp(1.35rem, 1.2rem + .6vw, 1.75rem)/1.15 var(--sans); letter-spacing: -.01em; color: var(--green); }  /* sans: self-hosted Playfair has only old-style figures */
.stat__label { font-size: var(--fs-micro); color: var(--text-soft); }

.checklist { list-style: none; display: grid; gap: 0; border-top: 1px solid var(--rule-soft); }
.checklist li { display: grid; grid-template-columns: 28px minmax(0, 1fr); gap: .9rem; padding: .9rem 0; border-bottom: 1px solid var(--rule-soft); }
.checklist li::before { content: ""; width: 14px; height: 14px; margin-top: .4rem; border: 1px solid var(--green); background: linear-gradient(var(--green), var(--green)) center / 6px 6px no-repeat; transform: rotate(45deg); justify-self: center; }

.callouts { list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
.callout { padding: 1.25rem; border: 1px solid var(--rule); background: var(--white); position: relative; display: grid; gap: .45rem; align-content: start; }
.callout__k { font: 600 .75rem/1 var(--sans); letter-spacing: .12em; color: var(--olive); }
.callout__label { font-weight: 600; }
.callout p { font-size: var(--fs-small); color: var(--text-soft); }

.pricing { position: relative; padding: clamp(1.5rem, 1rem + 2vw, 2.5rem); background: var(--ink); color: var(--cream); --focus: var(--cream); display: grid; grid-template-columns: 64px minmax(0, 1fr); gap: 1.5rem; }
.pricing::before { content: ""; position: absolute; inset: 8px; border: 1px solid var(--rule-dark); pointer-events: none; }
.pricing__seal { width: 64px; height: 64px; border-radius: 50%; border: 1px solid var(--cream); display: grid; place-items: center; font-size: 1.6rem; }
.pricing h2 { color: var(--white); font-size: clamp(1.4rem, 1.2rem + .8vw, 1.85rem); margin-bottom: .6rem; }

.related { display: grid; gap: 1.25rem; }
.related__list { list-style: none; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 1.5rem; border-top: 1px solid var(--rule-soft); }
.related__list a { display: flex; justify-content: space-between; align-items: center; gap: 1rem; min-height: 56px; padding: .7rem 0; border-bottom: 1px solid var(--rule-soft); text-decoration: none; font-weight: 600; font-size: var(--fs-small); transition: color var(--t-ctl) var(--ease); }
.related__list a .icon { color: var(--green); transition: transform var(--t-ctl) var(--ease); }
@media (hover: hover) { .related__list a:hover { color: var(--green); } .related__list a:hover .icon { transform: translateX(4px); } }
.related__list a[aria-current="page"] { color: var(--text-soft); }
.related__list a[aria-current="page"] .here { font-size: .75rem; font-weight: 600; padding: .15rem .45rem; border: 1px solid var(--rule); color: var(--text); white-space: nowrap; }

.closing { padding: clamp(1.75rem, 1rem + 3vw, 3rem); background: var(--cream); display: grid; gap: 1.1rem; position: relative; }
.closing::before { content: ""; position: absolute; inset: 8px; border: 1px solid var(--rule); pointer-events: none; }
.closing > * { position: relative; }

/* sidebar navigation / topic list */
.side-nav { border: 1px solid var(--rule-soft); background: var(--white); }
.side-nav__h { padding: 1.1rem 1.25rem; border-bottom: 1px solid var(--rule-soft); font: 600 var(--fs-micro)/1.3 var(--sans); letter-spacing: .08em; background: var(--cream); }
.side-nav ul { list-style: none; }
.side-nav li + li { border-top: 1px solid var(--rule-soft); }
.side-item { display: flex; justify-content: space-between; align-items: center; gap: .75rem; padding: .8rem 1.25rem; min-height: 52px; font-size: var(--fs-small); line-height: 1.35; }
.side-item__name { min-width: 0; }
.soon { flex: none; font-size: .6875rem; font-weight: 600; letter-spacing: .04em; padding: .2rem .45rem; border: 1px solid var(--rule); color: var(--text-soft); white-space: nowrap; }
.side-item--link { text-decoration: none; color: inherit; transition: background-color var(--t-ctl) var(--ease), color var(--t-ctl) var(--ease); }
.side-item--link .icon { color: var(--green); flex: none; transition: transform var(--t-ctl) var(--ease); }
@media (hover: hover) { .side-item--link:hover { background: rgba(244,238,227,.7); color: var(--green); } .side-item--link:hover .icon { transform: translateX(4px); } }
.pricing a, .faq__answer a, .page-title .lead a, .block a:not(.btn) { color: inherit; text-underline-offset: .2em; }
.check a { color: var(--cream); text-underline-offset: .2em; }
/* links inside sentences: taller tap area (≥24px) without changing the line spacing */
.inline-link { transition: text-decoration-color var(--t-ctl) var(--ease); }
@media (hover: hover) { .inline-link:hover { text-decoration-thickness: 2px; } }
.inline-link { display: inline-block; padding-block: .25rem; margin-block: -.25rem; }
.side-item--parent { width: 100%; background: none; border: 0; text-align: left; color: inherit; transition: background-color var(--t-ctl) var(--ease); }
@media (hover: hover) { .side-item--parent:hover { background: rgba(244,238,227,.7); } }
.side-item__chev { flex: none; width: 28px; height: 28px; display: grid; place-items: center; border-radius: 50%; border: 1px solid rgba(23,27,23,.3); transition: transform 260ms var(--ease-out), background-color var(--t-ctl) var(--ease), color var(--t-ctl) var(--ease); }
.side-item--parent[aria-expanded="true"] .side-item__chev { transform: rotate(180deg); background: var(--green); color: var(--cream); border-color: var(--green); }
.side-sub { background: var(--cream); padding: .25rem 0; }
.side-sub .side-item { padding-left: 2.25rem; }
.side-item__lead { display: flex; align-items: center; gap: .75rem; min-width: 0; }

.res-title { display: flex; align-items: center; gap: 1.25rem; margin-top: clamp(1.5rem, 3vw, 2.5rem); }
.res-title__icon { width: 64px; height: 64px; flex: none; display: grid; place-items: center; border: 1px solid var(--cream); color: var(--cream); font-size: 1.7rem; position: relative; }
.res-title__icon::after { content: ""; position: absolute; inset: 5px; border: 1px solid rgba(244,238,227,.3); }
.res-title h1 { color: var(--white); }
.share { display: flex; align-items: center; gap: .75rem; flex-wrap: wrap; font-size: var(--fs-small); font-weight: 600; }
.share .icon-btn { width: 46px; height: 46px; font-size: 1.1rem; }
.res-lead .frame { aspect-ratio: 16 / 9; }
.res-lead .frame .slot { position: absolute; inset: 0; }
.article .h2 { font-size: clamp(1.45rem, 1.2rem + 1vw, 2rem); }

/* ---------- Legal text (privacy policy) ---------- */
.legal { max-width: 68ch; margin-inline: auto; color: var(--text-soft); }
.legal > * + * { margin-top: 1.1em; }
.legal h2 { font-size: clamp(1.35rem, 1.2rem + .6vw, 1.7rem); color: var(--text); margin-top: 2.4em; padding-top: 1.4rem; border-top: 1px solid var(--rule); }
.legal > h2:first-child { margin-top: 0; }
.legal strong { color: var(--text); font-weight: 600; }
.legal ul { list-style: none; display: grid; gap: .55em; }
.legal li { display: grid; grid-template-columns: 1.4rem minmax(0, 1fr); }
.legal li::before { content: ""; width: 7px; height: 7px; margin-top: .62em; border: 1px solid var(--green); background: var(--green); transform: rotate(45deg); }
.legal address { font-style: normal; color: var(--text); padding: 1.25rem 1.5rem; background: var(--cream); border-left: 2px solid var(--green); line-height: 1.7; }
.legal a { color: var(--green); text-underline-offset: .2em; }
.legal address a { display: inline-block; padding-block: .2rem; min-height: 24px; }

/* ---------- Scroll entrance (only when JS confirms motion is allowed) ---------- */
.motion [data-reveal] { opacity: 0; transform: translateY(22px); transition: opacity var(--t-sec) var(--ease-out), transform var(--t-sec) var(--ease-out); transition-delay: calc(var(--i, 0) * 70ms); }
.motion [data-reveal].is-in { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1023px) {
  /* hero stacks: copy first, reveal below at full width */
  .hero__content { grid-template-columns: minmax(0, 1fr); }
  .hero__fore { max-width: 44rem; }
  .hero__stage { justify-self: stretch; width: 100%; margin: 1rem 0 1.5rem; }
  .reveal-slot { aspect-ratio: 4 / 3; }
  .split, .faq, .hiw, .feature, .about__cols { grid-template-columns: minmax(0, 1fr); }
  .reviews { grid-template-columns: minmax(0, 1fr); max-width: 680px; }
  .about__photo { position: relative; top: 0; aspect-ratio: 1 / 1; max-width: 560px; width: 100%; justify-self: center; }
  .faq__head { position: static; }
  .badge-slot--round { width: 136px; min-height: 136px; padding: 1rem; flex: none; }
  .hero__content { padding-bottom: 6rem; }
  .cards-9 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cards-9 > li:last-child:nth-child(odd) { grid-column: 1 / -1; }
  .cards-9 > li:last-child:nth-child(odd) .svc-card { min-height: 220px; }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .promos { grid-template-columns: minmax(0, 1fr); }
  .layout { grid-template-columns: minmax(0, 1fr); }
  .page-band__grid { grid-template-columns: minmax(0, 1fr); }
  .page-band__media { max-width: 640px; }
  .sidebar { position: static; }
  /* <1024: one column (brand, services, office); services stay two lists down to 480px */
  .footer__grid { grid-template-columns: minmax(0, 1fr); }
  .footer__info { gap: 1rem; line-height: 1.7; }   /* the wide desktop spacing only exists to balance three columns */
}
@media (max-width: 479px) {
  .footer__links { grid-template-columns: minmax(0, 1fr); grid-template-rows: none; grid-auto-flow: row; }
}
@media (max-width: 767px) {
  .form-grid { grid-template-columns: minmax(0, 1fr); }
  .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stat:nth-child(3) { border-left: 0; }
  .stat:nth-child(n+3) { border-top: 1px solid var(--rule); }
  .callouts { grid-template-columns: minmax(0, 1fr); }
  .related__list { grid-template-columns: minmax(0, 1fr); }
  .faq__answer { padding-right: 0; }
  .hero__phrases { grid-template-columns: minmax(0, 1fr); }
  .hero__phrases li { grid-template-columns: 6px minmax(0, 1fr); align-items: center; gap: .85rem; padding: .8rem 0; }
  .hero__phrases li + li { border-left: 0; padding-left: 0; border-top: 1px solid var(--rule-dark); }
}
@media (max-width: 600px) {
  .cards-9 { grid-template-columns: minmax(0, 1fr); }
  .cards-9 > li:last-child:nth-child(odd) { grid-column: auto; }
  .steps { grid-template-columns: minmax(0, 1fr); grid-auto-rows: auto; }
  .pricing { grid-template-columns: minmax(0, 1fr); }
  .badge-slot--round { width: 100%; min-height: 0; border-radius: 0; flex-direction: row; text-align: left; justify-content: flex-start; }
  .services__head { flex-direction: column; align-items: stretch; }
  .hero .cta-row .btn { width: 100%; justify-content: space-between; }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: 1ms !important; animation-duration: 1ms !important; animation-iteration-count: 1 !important; scroll-behavior: auto !important; }
  .plane, .hero__fore, .svc-card { transform: none !important; }
  .reveal-slot--filled, .hero__geo, .frameset, .brand--pop img, .promo2__img { animation: none !important; transform: none !important; }
  .review:hover .review__photo { transform: none !important; }
  .brand--pop:hover img, .brand--pop:focus-visible img, .footer__plaque:hover, .footer__plaque:focus-visible,
  .btn:hover, .btn:focus-visible, .btn:active, .btn .icon, .phone .icon, .step:hover, .step:focus-visible,
  .review:hover, .icon-btn:hover, .icon-btn:active, .dlg__close:hover, .menu-toggle:active, .promo:hover .device,
  .frame:hover .slot__stage, .video-thumb:hover .slot__stage, .svc-card .slot__stage, .svc-card__icon, .svc-card__go,
  .footer__links a .icon, .related__list a .icon, .side-item--link .icon { transform: none !important; }
  .video-thumb .video-thumb__play { transform: translate(-50%, -50%) !important; }
  .footer__links a .icon { opacity: 1; }
  .motion [data-reveal] { opacity: 1; transform: none; }
}

/* ---------- Print ---------- */
@media print {
  .site-header, .action-bar, .dlg, .plane { display: none !important; }
  .hero, .surface-ink, .surface-green, .site-footer { background: #fff !important; color: #000 !important; }
}
