/* ==========================================================================
   Concordia Floors — Design System
   Palette derived from the Concordia wood-grain monogram (walnut → oak).
   ========================================================================== */

/* ---------- 1. Tokens ---------- */
:root {
  /* Brand — walnut/oak ramp pulled from the logo */
  --walnut-900: #241710;
  --walnut-800: #33210f;
  --walnut-700: #4d3218;
  --walnut-600: #6b4423;
  --walnut-500: #8a5a2e;
  --oak-500:    #a8703f;
  --oak-400:    #c08a52;
  --oak-300:    #d8ac79;
  --oak-200:    #ecd3b4;

  /* Neutrals — warm, so photography sits naturally on them */
  --cream-50:  #fbf8f4;
  --sand-100:  #f5eee5;
  --sand-200:  #ece2d5;
  --sand-300:  #dccfbe;

  --ink:       #1a1512;
  --ink-soft:  #453b33;
  --muted:     #736659;   /* 5.3:1 on cream */
  --muted-2:   #7b6e60;   /* 4.7:1 on cream — de-emphasised labels, still AA */

  /* Oak reads beautifully but only clears 3.9:1 as text. This darker step is
     the one used for accent *text* (eyebrows, link hovers); the lighter oaks
     stay for fills, icons and dark-background text. */
  --accent-text: #8f5d2f; /* 5.3:1 on cream, 4.8:1 on sand */

  /* Pacific-NW accent, used sparingly for confirmations + eyebrows */
  --moss-700: #2f4038;
  --moss-600: #3e5148;
  --moss-400: #7d9a89;

  --danger: #9b2c2c;

  --line:        color-mix(in srgb, var(--walnut-900) 12%, transparent);
  --line-strong: color-mix(in srgb, var(--walnut-900) 22%, transparent);
  --line-dark:   rgba(255, 255, 255, 0.14);

  /* Surfaces */
  --bg:         var(--cream-50);
  --surface:    #ffffff;
  --surface-2:  var(--sand-100);
  --surface-dk: var(--walnut-900);

  /* Type */
  --font-display: "Fraunces", "Iowan Old Style", Georgia, "Times New Roman", serif;
  --font-sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;

  --fs-eyebrow: 0.75rem;
  --fs-xs:   clamp(0.78rem, 0.76rem + 0.10vw, 0.84rem);
  --fs-sm:   clamp(0.875rem, 0.85rem + 0.12vw, 0.94rem);
  --fs-base: clamp(1rem, 0.97rem + 0.16vw, 1.075rem);
  --fs-lg:   clamp(1.09rem, 1.03rem + 0.30vw, 1.25rem);
  --fs-xl:   clamp(1.3rem, 1.19rem + 0.54vw, 1.6rem);
  --fs-h3:   clamp(1.45rem, 1.28rem + 0.82vw, 2rem);
  --fs-h2:   clamp(1.95rem, 1.55rem + 1.9vw, 3.1rem);
  --fs-h1:   clamp(2.5rem, 1.75rem + 3.4vw, 4.6rem);

  /* Space — 4px base */
  --s-1: 0.25rem;  --s-2: 0.5rem;   --s-3: 0.75rem;  --s-4: 1rem;
  --s-5: 1.25rem;  --s-6: 1.5rem;   --s-8: 2rem;     --s-10: 2.5rem;
  --s-12: 3rem;    --s-16: 4rem;    --s-20: 5rem;    --s-24: 6rem;
  --s-section: clamp(3.5rem, 2rem + 6vw, 7rem);

  /* Shape */
  --r-sm: 6px;  --r-md: 10px;  --r-lg: 16px;  --r-xl: 24px;  --r-pill: 999px;

  --shadow-xs: 0 1px 2px rgba(36, 23, 16, 0.06);
  --shadow-sm: 0 2px 8px rgba(36, 23, 16, 0.07);
  --shadow-md: 0 8px 24px -8px rgba(36, 23, 16, 0.16), 0 2px 6px rgba(36, 23, 16, 0.05);
  --shadow-lg: 0 24px 60px -20px rgba(36, 23, 16, 0.30), 0 4px 12px rgba(36, 23, 16, 0.06);

  --container: 1200px;
  --container-wide: 1380px;
  --container-prose: 44rem;

  --header-h: 94px;
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
}

@media (max-width: 860px) { :root { --header-h: 78px; } }
@media (max-width: 400px) { :root { --header-h: 68px; } }

/* ---------- 2. Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: var(--fs-base);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-feature-settings: "kern" 1, "liga" 1, "cv11" 1;
  overflow-x: hidden;
}
body.is-locked { overflow: hidden; }

/* Class-level `display` rules (.btn, .pcard, .card) outrank the UA stylesheet's
   [hidden] rule, so JS toggling `el.hidden` would silently do nothing. */
[hidden] { display: none !important; }

img, picture, svg, video { display: block; max-width: 100%; height: auto; }
button, input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3, h4, h5 { margin: 0; font-weight: 600; line-height: 1.12; letter-spacing: -0.02em; }
p, ul, ol, dl, figure, table { margin: 0; }
ul, ol { padding: 0; list-style: none; }
a { color: inherit; text-decoration: none; }
hr { border: 0; border-top: 1px solid var(--line); margin: var(--s-8) 0; }
:where(h1, h2, h3, .display) { font-family: var(--font-display); font-variation-settings: "SOFT" 0, "WONK" 0; }

::selection { background: var(--oak-300); color: var(--walnut-900); }

:focus-visible {
  outline: 2px solid var(--walnut-600);
  outline-offset: 3px;
  border-radius: var(--r-sm);
}
.section--dark :focus-visible, .site-footer :focus-visible { outline-color: var(--oak-300); }

.skip-link {
  position: absolute; left: var(--s-4); top: -100px; z-index: 999;
  background: var(--walnut-700); color: #fff;
  padding: var(--s-3) var(--s-5); border-radius: var(--r-md); font-weight: 600;
  transition: top .18s var(--ease);
}
.skip-link:focus { top: var(--s-4); }
.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;
}

/* ---------- 3. Layout primitives ---------- */
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: clamp(1.15rem, 4vw, 2.5rem); }
.container--wide  { max-width: var(--container-wide); }
.container--prose { max-width: var(--container-prose); }

.section { padding-block: var(--s-section); position: relative; }
.section--tight { padding-block: clamp(2.5rem, 1.5rem + 4vw, 4.5rem); }
.section--flush-top { padding-top: 0; }
.section--flush-bottom { padding-bottom: 0; }
.section--sand  { background: var(--surface-2); }
.section--paper { background: var(--surface); }

.section--dark {
  background: var(--surface-dk);
  color: var(--sand-200);
  --line: var(--line-dark);
  --muted: #a99a8b;
  --muted-2: #a99a8b;
  --ink: #fff;
  --ink-soft: var(--sand-200);
  --surface: rgba(255, 255, 255, 0.055);
}
.section--dark h1, .section--dark h2, .section--dark h3 { color: #fff; }

/* Fine wood-grain texture — keeps big flat areas from feeling empty */
.section--dark::before,
.grain::before {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .5;
  background-image:
    repeating-linear-gradient(90deg, rgba(255,255,255,.022) 0 1px, transparent 1px 3px),
    radial-gradient(120% 80% at 50% 0%, rgba(168,112,63,.16), transparent 60%);
}
.section--dark > *, .grain > * { position: relative; z-index: 1; }

.stack > * + *   { margin-top: var(--s-4); }
.stack-lg > * + * { margin-top: var(--s-8); }

.grid { display: grid; gap: var(--s-6); }
.grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.grid--auto { grid-template-columns: repeat(auto-fill, minmax(min(260px, 100%), 1fr)); }
.grid--auto-sm { grid-template-columns: repeat(auto-fill, minmax(min(200px, 100%), 1fr)); }
@media (max-width: 980px) { .grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } .grid--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 700px)  { .grid--2, .grid--3, .grid--4 { grid-template-columns: 1fr; } }

.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(2rem, 5vw, 5rem); align-items: center; }
.split--sidebar { grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); align-items: start; }
.split--media-first > .split__media { order: -1; }
@media (max-width: 900px) { .split, .split--sidebar { grid-template-columns: 1fr; } .split--media-first > .split__media { order: 0; } }

.center { text-align: center; }
.measure { max-width: 62ch; }
.measure-narrow { max-width: 52ch; }
.center .measure, .center .measure-narrow { margin-inline: auto; }

/* ---------- 4. Type helpers ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: var(--s-2);
  font-family: var(--font-sans); font-size: var(--fs-eyebrow); font-weight: 600;
  letter-spacing: .16em; text-transform: uppercase; color: var(--accent-text);
  margin: 0 0 var(--s-4);
}
.eyebrow::before { content: ""; width: 22px; height: 1px; background: currentColor; opacity: .7; }
.eyebrow--center { justify-content: center; }
.section--dark .eyebrow { color: var(--oak-300); }

.h1, h1 { font-size: var(--fs-h1); letter-spacing: -0.035em; line-height: 1.02; }
.h2, h2 { font-size: var(--fs-h2); letter-spacing: -0.028em; line-height: 1.07; }
.h3, h3 { font-size: var(--fs-h3); letter-spacing: -0.02em; line-height: 1.18; }
.h4 { font-family: var(--font-sans); font-size: var(--fs-lg); font-weight: 650; letter-spacing: -0.011em; line-height: 1.3; }

.lede { font-size: var(--fs-lg); color: var(--ink-soft); line-height: 1.6; }
.muted { color: var(--muted); }
.small { font-size: var(--fs-sm); }
.xs { font-size: var(--fs-xs); }
.strong { font-weight: 650; }
.balance { text-wrap: balance; }
.pretty { text-wrap: pretty; }

.link-underline {
  color: var(--walnut-600); font-weight: 550;
  background-image: linear-gradient(currentColor, currentColor);
  background-size: 100% 1px; background-repeat: no-repeat; background-position: 0 100%;
  transition: color .18s var(--ease), background-size .25s var(--ease);
  padding-bottom: 1px;
}
.link-underline:hover { color: var(--accent-text); }
.section--dark .link-underline, .site-footer .link-underline { color: var(--oak-300); }

.link-arrow {
  display: inline-flex; align-items: center; gap: var(--s-2);
  font-weight: 600; font-size: var(--fs-sm); color: var(--walnut-600);
  letter-spacing: -0.005em;
}
.link-arrow svg { transition: transform .25s var(--ease-out); flex: none; }
.link-arrow:hover svg { transform: translateX(4px); }
.section--dark .link-arrow { color: var(--oak-300); }

/* ---------- 5. Buttons — one base, uniform metrics everywhere ---------- */
.btn {
  --btn-h: 50px;
  --btn-px: 1.55rem;
  --btn-bg: var(--walnut-700);
  --btn-fg: #fff;
  --btn-bd: var(--walnut-700);
  --btn-bg-hover: var(--walnut-600);
  --btn-bd-hover: var(--walnut-600);

  display: inline-flex; align-items: center; justify-content: center; gap: 0.55em;
  min-height: var(--btn-h);
  padding: 0 var(--btn-px);
  border: 1px solid var(--btn-bd);
  border-radius: var(--r-pill);
  background: var(--btn-bg);
  color: var(--btn-fg);
  font-family: var(--font-sans);
  font-size: 0.95rem; font-weight: 600; letter-spacing: -0.005em; line-height: 1;
  text-align: center; white-space: nowrap; cursor: pointer;
  transition: background-color .2s var(--ease), border-color .2s var(--ease),
              transform .2s var(--ease), box-shadow .2s var(--ease), color .2s var(--ease);
  box-shadow: var(--shadow-xs);
  -webkit-appearance: none; appearance: none;
}
.btn:hover { background: var(--btn-bg-hover); border-color: var(--btn-bd-hover); transform: translateY(-1px); box-shadow: var(--shadow-md); }
.btn:active { transform: translateY(0); box-shadow: var(--shadow-xs); }
.btn:disabled, .btn[aria-disabled="true"] { opacity: .55; cursor: not-allowed; transform: none; box-shadow: none; }
.btn svg { flex: none; }

.btn--accent  { --btn-bg: var(--oak-500); --btn-bd: var(--oak-500); --btn-bg-hover: var(--walnut-500); --btn-bd-hover: var(--walnut-500); }
.btn--ghost   { --btn-bg: transparent; --btn-fg: var(--walnut-700); --btn-bd: var(--line-strong);
                --btn-bg-hover: color-mix(in srgb, var(--walnut-700) 6%, transparent); --btn-bd-hover: var(--walnut-600); box-shadow: none; }
.btn--ghost:hover { box-shadow: var(--shadow-sm); }
.btn--light   { --btn-bg: #fff; --btn-fg: var(--walnut-800); --btn-bd: #fff; --btn-bg-hover: var(--sand-100); --btn-bd-hover: var(--sand-100); }
.btn--outline-light { --btn-bg: transparent; --btn-fg: #fff; --btn-bd: rgba(255,255,255,.42);
                --btn-bg-hover: rgba(255,255,255,.12); --btn-bd-hover: rgba(255,255,255,.7); box-shadow: none; }

.btn--lg { --btn-h: 58px; --btn-px: 2rem; font-size: 1.02rem; }
.btn--sm { --btn-h: 40px; --btn-px: 1.15rem; font-size: 0.875rem; }
.btn--block { display: flex; width: 100%; }

.btn-row { display: flex; flex-wrap: wrap; gap: var(--s-3); align-items: center; }
.btn-row--center { justify-content: center; }
/* Pins side-by-side CTAs to a common width so they read as a matched pair
   rather than two buttons that happen to sit next to each other. */
.btn-row--equal > .btn { min-width: 15.5rem; }
@media (max-width: 560px) { .btn-row--equal > .btn { min-width: 0; } }
@media (max-width: 460px) {
  .btn-row { flex-direction: column; align-items: stretch; }
  .btn-row .btn { width: 100%; }
}

/* ---------- 6. Header / navigation ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: color-mix(in srgb, var(--cream-50) 88%, transparent);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .25s var(--ease), background-color .25s var(--ease), box-shadow .25s var(--ease);
}
.site-header.is-stuck { border-bottom-color: var(--line); box-shadow: var(--shadow-sm); }

.nav {
  height: var(--header-h);
  display: flex; align-items: center; gap: var(--s-6);
}
/* Logo runs 50% larger than the original lockup; --header-h is sized to match. */
.brand { display: inline-flex; align-items: center; gap: 0.72rem; flex: none; margin-right: auto; }
.brand__mark { width: 57px; height: 57px; flex: none; }
.brand__word { height: 25.5px; width: auto; }   /* 17px x 1.5 */
@media (max-width: 860px) { .brand__mark { width: 48px; height: 48px; } .brand__word { height: 21px; } }
@media (max-width: 400px) { .brand__mark { width: 42px; height: 42px; } .brand__word { height: 18px; } }

.nav__list { display: flex; align-items: center; gap: var(--s-1); }
.nav__link {
  display: inline-flex; align-items: center; gap: 0.3rem;
  padding: 0.55rem 0.8rem; border-radius: var(--r-md);
  font-size: 0.925rem; font-weight: 550; color: var(--ink-soft);
  transition: color .18s var(--ease), background-color .18s var(--ease);
  white-space: nowrap;
}
.nav__link:hover { color: var(--walnut-700); background: color-mix(in srgb, var(--walnut-700) 6%, transparent); }
.nav__link[aria-current="page"] { color: var(--walnut-700); font-weight: 650; }
.nav__link .chev { transition: transform .22s var(--ease); }
.nav__item--has-menu:hover .chev, .nav__item--has-menu:focus-within .chev { transform: rotate(180deg); }

.nav__actions { display: flex; align-items: center; gap: var(--s-3); flex: none; }
.nav__phone { font-size: 0.925rem; font-weight: 600; color: var(--walnut-700); white-space: nowrap; display: inline-flex; align-items: center; gap: .4rem; }
.nav__phone:hover { color: var(--oak-500); }

/* Desktop mega-menu */
.nav__item { position: relative; }
.megamenu {
  /* Anchored to the trigger's left edge, not centred on it — centring pushed the
     880px panel off the left of the viewport under the first nav item. */
  position: absolute; top: calc(100% + 10px); left: 0; transform: translateY(-6px);
  width: min(880px, calc(100vw - 2.5rem));
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--r-lg); box-shadow: var(--shadow-lg);
  padding: var(--s-6);
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--s-6) var(--s-8);
  opacity: 0; visibility: hidden; pointer-events: none;
  transition: opacity .2s var(--ease), transform .24s var(--ease-out), visibility .2s;
}
.nav__item--has-menu:hover > .megamenu,
.nav__item--has-menu:focus-within > .megamenu {
  opacity: 1; visibility: visible; pointer-events: auto; transform: translateY(0);
}
.megamenu::before { content: ""; position: absolute; top: -12px; left: 0; right: 0; height: 12px; }
.megamenu__title {
  font-family: var(--font-sans); font-size: var(--fs-eyebrow); font-weight: 700;
  letter-spacing: .13em; text-transform: uppercase; color: var(--muted-2);
  margin-bottom: var(--s-3); padding-bottom: var(--s-2); border-bottom: 1px solid var(--line);
}
.megamenu__link {
  display: block; padding: 0.34rem 0; font-size: 0.9rem; color: var(--ink-soft);
  transition: color .16s var(--ease), transform .16s var(--ease);
}
.megamenu__link:hover { color: var(--walnut-700); transform: translateX(3px); }
.megamenu__link strong { display: block; font-weight: 600; color: var(--ink); }
.megamenu__cta {
  grid-column: 1 / -1; margin-top: var(--s-2); padding-top: var(--s-5);
  border-top: 1px solid var(--line); display: flex; align-items: center;
  justify-content: space-between; gap: var(--s-4); flex-wrap: wrap;
}

.nav__toggle {
  display: none; width: 44px; height: 44px; align-items: center; justify-content: center;
  background: transparent; border: 1px solid var(--line-strong); border-radius: var(--r-md); cursor: pointer;
}
.nav__toggle span { display: block; width: 18px; height: 1.5px; background: var(--ink); position: relative; transition: background .2s var(--ease); }
.nav__toggle span::before, .nav__toggle span::after {
  content: ""; position: absolute; left: 0; width: 18px; height: 1.5px; background: var(--ink);
  transition: transform .26s var(--ease-out), top .2s var(--ease);
}
.nav__toggle span::before { top: -6px; } .nav__toggle span::after { top: 6px; }
.nav__toggle[aria-expanded="true"] span { background: transparent; }
.nav__toggle[aria-expanded="true"] span::before { top: 0; transform: rotate(45deg); }
.nav__toggle[aria-expanded="true"] span::after  { top: 0; transform: rotate(-45deg); }

@media (max-width: 1080px) {
  .nav__toggle { display: inline-flex; }
  .nav__desktop { display: none; }
  .nav__actions .nav__phone { display: none; }
}
@media (max-width: 560px) { .nav__actions .btn { display: none; } }

/* Mobile drawer */
.mobile-nav {
  position: fixed; inset: var(--header-h) 0 0; z-index: 99;
  background: var(--cream-50);
  overflow-y: auto; overscroll-behavior: contain;
  padding: var(--s-6) 0 var(--s-16);
  opacity: 0; visibility: hidden; transform: translateY(-8px);
  transition: opacity .22s var(--ease), transform .28s var(--ease-out), visibility .22s;
}
.mobile-nav.is-open { opacity: 1; visibility: visible; transform: translateY(0); }
.mobile-nav__link {
  display: flex; align-items: center; justify-content: space-between;
  padding: var(--s-4) 0; border-bottom: 1px solid var(--line);
  font-family: var(--font-display); font-size: 1.3rem; font-weight: 550; letter-spacing: -0.02em;
}
.mobile-nav details > summary {
  display: flex; align-items: center; justify-content: space-between;
  padding: var(--s-4) 0; border-bottom: 1px solid var(--line); cursor: pointer; list-style: none;
  font-family: var(--font-display); font-size: 1.3rem; font-weight: 550; letter-spacing: -0.02em;
}
.mobile-nav details > summary::-webkit-details-marker { display: none; }
.mobile-nav details > summary .chev { transition: transform .22s var(--ease); }
.mobile-nav details[open] > summary .chev { transform: rotate(180deg); }
.mobile-nav__sub { padding: var(--s-3) 0 var(--s-4) var(--s-4); border-bottom: 1px solid var(--line); }
.mobile-nav__sub a { display: block; padding: 0.42rem 0; color: var(--ink-soft); font-size: 0.98rem; }
.mobile-nav__sub a:hover { color: var(--walnut-700); }
.mobile-nav__footer { margin-top: var(--s-8); display: grid; gap: var(--s-3); }

/* ---------- 7. Hero ---------- */
.hero { position: relative; background: var(--walnut-900); color: #fff; overflow: hidden; isolation: isolate; }
.hero__media { position: absolute; inset: 0; z-index: -2; }

/* Crossfading slides. Only the active one is opaque; a very slow scale keeps the
   still photography from feeling static without reading as motion. */
.hero__slide { position: absolute; inset: 0; opacity: 0; transition: opacity 1.1s var(--ease); }
.hero__slide img { width: 100%; height: 100%; object-fit: cover; object-position: center 60%; transform: scale(1.045); }
.hero__slide.is-active { opacity: 1; }
.hero__slide.is-active img { animation: heroDrift 11s var(--ease-out) forwards; }
@keyframes heroDrift { from { transform: scale(1.045); } to { transform: scale(1.10); } }

/* Heavy enough on the left for headline contrast, light enough on the right
   that the flooring — the actual product — still reads. */
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(100deg, rgba(24,15,10,.94) 0%, rgba(24,15,10,.80) 40%, rgba(24,15,10,.42) 70%, rgba(24,15,10,.24) 100%),
    linear-gradient(to top, rgba(24,15,10,.72), transparent 46%),
    radial-gradient(130% 95% at 76% 45%, transparent 48%, rgba(24,15,10,.28) 100%);
}
.hero__inner { padding-block: clamp(3.5rem, 2rem + 9vw, 6.5rem) clamp(4rem, 2.5rem + 6vw, 6rem); max-width: 46rem; }
.hero h1 { color: #fff; }
.hero h1 em { font-style: italic; color: var(--oak-300); font-variation-settings: "SOFT" 0, "WONK" 1; }
.hero__lede { font-size: var(--fs-lg); color: rgba(255,255,255,.84); margin-top: var(--s-5); max-width: 34rem; }
.hero .eyebrow { color: var(--oak-300); }
.hero .btn-row { margin-top: var(--s-8); }

/* Carousel controls */
.hero__controls { display: flex; align-items: center; gap: var(--s-4); margin-top: clamp(2rem, 4vw, 3rem); }
.hero__arrow {
  width: 46px; height: 46px; flex: none; display: grid; place-items: center;
  border-radius: 50%; border: 1px solid rgba(255,255,255,.34);
  background: rgba(255,255,255,.08); color: #fff; cursor: pointer;
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  transition: background-color .2s var(--ease), border-color .2s var(--ease), transform .2s var(--ease);
}
.hero__arrow:hover { background: rgba(255,255,255,.2); border-color: rgba(255,255,255,.65); transform: translateY(-1px); }
.hero__arrow:active { transform: translateY(0); }
.hero__dots { display: flex; align-items: center; gap: 7px; }
.hero__dot {
  width: 8px; height: 8px; padding: 0; border: 0; border-radius: var(--r-pill);
  background: rgba(255,255,255,.38); cursor: pointer;
  transition: width .35s var(--ease-out), background-color .3s var(--ease);
}
.hero__dot:hover { background: rgba(255,255,255,.65); }
.hero__dot.is-active { width: 30px; background: #fff; }
.hero__count { font-size: var(--fs-xs); color: rgba(255,255,255,.62); letter-spacing: .12em; font-variant-numeric: tabular-nums; margin-left: auto; }
@media (max-width: 560px) { .hero__count { display: none; } }

/* ---------- Stat band ---------- */
/* Floats over the seam between the hero and the page so the numbers read as a
   headline claim rather than a caption tucked under the photo. */
.statband { position: relative; z-index: 3; margin-top: -3.75rem; }
.statband__grid {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px; background: color-mix(in srgb, var(--walnut-900) 11%, transparent);
  border: 1px solid rgba(255,255,255,.55);
  border-radius: var(--r-xl); overflow: hidden;
  box-shadow: var(--shadow-lg);
  -webkit-backdrop-filter: blur(18px) saturate(180%); backdrop-filter: blur(18px) saturate(180%);
}
/* The <li> is the grid item and stretches to the tallest row; the <a> inside
   has to be told to fill it, or a short cell leaves a gap that shows the
   hairline background through the bottom of the panel. */
.statband__grid > li { display: flex; }
.statband__item {
  flex: 1;
  background: rgba(255,255,255,.93);
  padding: clamp(1.4rem, 2.4vw, 2.1rem) clamp(1.1rem, 2.2vw, 1.9rem);
  display: flex; flex-direction: column; align-items: flex-start; gap: 0.3rem;
  transition: background-color .25s var(--ease);
}
a.statband__item:hover { background: #fff; }
a.statband__item:hover .statband__n { color: var(--walnut-600); }
a.statband__item:hover .statband__icon { transform: translateY(-2px); }
.statband__icon {
  color: var(--accent-text); margin-bottom: var(--s-3);
  transition: transform .3s var(--ease-out);
}
.statband__n {
  font-family: var(--font-display); font-weight: 600;
  font-size: clamp(1.85rem, 1.3rem + 1.9vw, 2.7rem);
  letter-spacing: -0.04em; line-height: 1; color: var(--walnut-800);
  transition: color .2s var(--ease);
}
.statband__l {
  font-size: var(--fs-xs); font-weight: 600; color: var(--muted);
  letter-spacing: .1em; text-transform: uppercase; line-height: 1.35;
}
@media (max-width: 860px) {
  .statband { margin-top: -2.5rem; }
  .statband__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 560px) {
  .statband__item { padding: var(--s-5) var(--s-4); }
  .statband__icon { margin-bottom: var(--s-2); }
}
/* Only collapse to a single column when two genuinely will not fit. */
@media (max-width: 330px) { .statband__grid { grid-template-columns: 1fr; } }

/* Page header for interior pages */
.pagehead { background: var(--walnut-900); color: #fff; position: relative; overflow: hidden; }
.pagehead::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(120% 100% at 78% 0%, rgba(168,112,63,.34), transparent 62%);
}
.pagehead__inner { position: relative; padding-block: clamp(3rem, 2rem + 6vw, 5.5rem); max-width: 50rem; }
.pagehead h1 { color: #fff; }
.pagehead .lede { color: rgba(255,255,255,.78); margin-top: var(--s-4); }

.breadcrumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 0.45rem; font-size: var(--fs-xs); color: var(--muted); margin-bottom: var(--s-5); }
.breadcrumbs a { color: inherit; }
.breadcrumbs a:hover { color: var(--walnut-600); text-decoration: underline; }
.breadcrumbs li { display: inline-flex; align-items: center; gap: 0.45rem; }
.breadcrumbs li + li::before { content: "/"; opacity: .45; }
.pagehead .breadcrumbs { color: rgba(255,255,255,.62); }
.pagehead .breadcrumbs a:hover { color: var(--oak-300); }
.breadcrumbs [aria-current="page"] { color: var(--ink); font-weight: 550; }
.pagehead .breadcrumbs [aria-current="page"] { color: #fff; }

/* ---------- 8. Cards ---------- */
.card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: var(--s-6); box-shadow: var(--shadow-xs);
  transition: box-shadow .25s var(--ease), transform .25s var(--ease-out), border-color .25s var(--ease);
  display: flex; flex-direction: column;
}
.card--pad-lg { padding: clamp(1.5rem, 1rem + 2vw, 2.5rem); }
.card--link:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: var(--line-strong); }
.card__icon {
  width: 46px; height: 46px; border-radius: var(--r-md); flex: none;
  display: grid; place-items: center; margin-bottom: var(--s-5);
  background: color-mix(in srgb, var(--oak-500) 13%, transparent); color: var(--walnut-600);
}
.section--dark .card { background: rgba(255,255,255,.05); border-color: var(--line-dark); box-shadow: none; }
.section--dark .card__icon { background: rgba(216,172,121,.16); color: var(--oak-300); }
.card > h3, .card > .h4 { margin-bottom: var(--s-2); }
/* In a multi-column row, reserve two lines for the title so body copy starts on
   the same baseline whether the heading wraps or not. */
.grid--3 > .card > .h4,
.grid--4 > .card > .h4 { min-height: 2.6em; }
@media (max-width: 700px) { .grid--3 > .card > .h4, .grid--4 > .card > .h4 { min-height: 0; } }
.card > p { color: var(--muted); font-size: var(--fs-sm); }
.card__foot { margin-top: auto; padding-top: var(--s-5); }

/* Audience / feature card with number */
.numcard { position: relative; padding-top: var(--s-8); }
.numcard__n {
  position: absolute; top: var(--s-5); right: var(--s-6);
  font-family: var(--font-display); font-size: 2.6rem; line-height: 1;
  color: color-mix(in srgb, var(--oak-500) 22%, transparent); font-weight: 600;
}

/* ---------- 9. Product cards & grid ---------- */
.pcard {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg);
  overflow: hidden; display: flex; flex-direction: column;
  transition: transform .28s var(--ease-out), box-shadow .28s var(--ease), border-color .2s var(--ease);
}
.pcard:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: var(--line-strong); }
.pcard__media { position: relative; aspect-ratio: 4 / 3; background: var(--sand-200); overflow: hidden; }
.pcard__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .55s var(--ease-out); }
.pcard:hover .pcard__media img { transform: scale(1.05); }
.pcard__tag {
  position: absolute; left: var(--s-3); top: var(--s-3);
  background: rgba(26,17,11,.78); backdrop-filter: blur(6px);
  color: #fff; font-size: 0.68rem; font-weight: 600; letter-spacing: .09em; text-transform: uppercase;
  padding: 0.32rem 0.6rem; border-radius: var(--r-pill);
}
.pcard__body { padding: var(--s-5); display: flex; flex-direction: column; flex: 1; gap: var(--s-2); }
.pcard__name { font-family: var(--font-display); font-size: 1.22rem; font-weight: 600; letter-spacing: -0.02em; line-height: 1.2; }
.pcard__meta { font-size: var(--fs-xs); color: var(--muted); display: flex; flex-wrap: wrap; gap: 0.35rem 0.75rem; }
.pcard__meta span { display: inline-flex; align-items: center; gap: 0.3rem; }
.pcard__foot {
  margin-top: auto; padding-top: var(--s-4);
  display: flex; align-items: center; justify-content: space-between; gap: var(--s-3);
}
.pcard__dots { display: flex; align-items: center; gap: 3px; }
.pcard__dots img { width: 20px; height: 20px; border-radius: 50%; border: 1.5px solid var(--surface); box-shadow: 0 0 0 1px var(--line); object-fit: cover; margin-left: -6px; }
.pcard__dots img:first-child { margin-left: 0; }
.pcard__dots span { font-size: var(--fs-xs); color: var(--muted); margin-left: var(--s-2); }

/* Filter bar */
.filterbar {
  display: flex; flex-wrap: wrap; gap: var(--s-3); align-items: center;
  padding: var(--s-4) 0; border-bottom: 1px solid var(--line); margin-bottom: var(--s-8);
}
.chip {
  display: inline-flex; align-items: center; gap: 0.4rem; min-height: 38px;
  padding: 0 0.95rem; border-radius: var(--r-pill);
  border: 1px solid var(--line-strong); background: transparent;
  font-size: 0.875rem; font-weight: 550; color: var(--ink-soft); cursor: pointer;
  transition: all .18s var(--ease); white-space: nowrap;
}
.chip:hover { border-color: var(--walnut-600); color: var(--walnut-700); }
.chip[aria-pressed="true"] { background: var(--walnut-700); border-color: var(--walnut-700); color: #fff; }
.chip__count { font-size: 0.75rem; opacity: .65; font-variant-numeric: tabular-nums; }
.filterbar__search { margin-left: auto; position: relative; min-width: min(260px, 100%); }
.filterbar__search input { padding-left: 2.4rem; }
.filterbar__search svg { position: absolute; left: 0.85rem; top: 50%; transform: translateY(-50%); color: var(--muted-2); pointer-events: none; }
@media (max-width: 700px) { .filterbar__search { margin-left: 0; width: 100%; } }
.filter-empty { padding: var(--s-16) 0; text-align: center; color: var(--muted); }

/* ---------- 10. Swatches ---------- */
.swatches { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(150px, 45%), 1fr)); gap: var(--s-4); }
.swatch { display: block; text-align: left; background: none; border: 0; padding: 0; cursor: zoom-in; }
.swatch__img {
  display: block; aspect-ratio: 1; width: 100%; border-radius: var(--r-md); overflow: hidden;
  border: 1px solid var(--line); background: var(--sand-200);
  transition: transform .3s var(--ease-out), box-shadow .3s var(--ease), border-color .2s var(--ease);
}
.swatch__img img { width: 100%; height: 100%; object-fit: cover; }
.swatch:hover .swatch__img { transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: var(--oak-400); }
.swatch__name { display: block; margin-top: var(--s-2); font-size: var(--fs-sm); font-weight: 550; letter-spacing: -0.005em; }

/* Spec table */
.spectable { width: 100%; border-collapse: collapse; }
.spectable th, .spectable td { text-align: left; padding: 0.85rem 0; border-bottom: 1px solid var(--line); vertical-align: top; }
.spectable th { font-size: var(--fs-sm); font-weight: 550; color: var(--muted); width: 46%; }
.spectable td { font-size: var(--fs-sm); font-weight: 600; }
.spectable tr:last-child th, .spectable tr:last-child td { border-bottom: 0; }

/* Lightbox */
.lightbox {
  position: fixed; inset: 0; z-index: 200; display: grid; place-items: center;
  background: rgba(20, 13, 8, .9); backdrop-filter: blur(8px);
  padding: var(--s-6); opacity: 0; visibility: hidden; transition: opacity .22s var(--ease), visibility .22s;
}
.lightbox.is-open { opacity: 1; visibility: visible; }
.lightbox figure { margin: 0; max-width: min(620px, 92vw); text-align: center; }
.lightbox img { width: 100%; border-radius: var(--r-lg); box-shadow: var(--shadow-lg); }
.lightbox figcaption { color: #fff; margin-top: var(--s-4); font-family: var(--font-display); font-size: 1.25rem; }
.lightbox__close {
  position: absolute; top: var(--s-5); right: var(--s-5); width: 44px; height: 44px;
  border-radius: 50%; border: 1px solid rgba(255,255,255,.3); background: rgba(255,255,255,.08);
  color: #fff; cursor: pointer; display: grid; place-items: center; transition: background .18s var(--ease);
}
.lightbox__close:hover { background: rgba(255,255,255,.2); }

/* ---------- 11. Forms ---------- */
.field { display: block; margin-bottom: var(--s-5); }
.field__label { display: block; font-size: var(--fs-sm); font-weight: 600; margin-bottom: var(--s-2); letter-spacing: -0.005em; }
.field__hint { display: block; font-size: var(--fs-xs); color: var(--muted); margin-top: var(--s-2); }
.req { color: var(--danger); font-weight: 600; }
.opt { color: var(--muted-2); font-weight: 450; }

.input, .select, .textarea {
  width: 100%; min-height: 50px; padding: 0.72rem 0.95rem;
  background: var(--surface); color: var(--ink);
  border: 1px solid var(--line-strong); border-radius: var(--r-md);
  font-size: 1rem; line-height: 1.45;
  transition: border-color .18s var(--ease), box-shadow .18s var(--ease), background-color .18s var(--ease);
  -webkit-appearance: none; appearance: none;
}
.textarea { min-height: 130px; resize: vertical; padding-top: 0.8rem; }
.input::placeholder, .textarea::placeholder { color: var(--muted-2); }
.input:hover, .select:hover, .textarea:hover { border-color: var(--muted-2); }
.input:focus, .select:focus, .textarea:focus {
  outline: none; border-color: var(--walnut-600);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--walnut-600) 16%, transparent);
}
.select {
  padding-right: 2.6rem; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%23736659' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 1rem center;
}
.input[aria-invalid="true"], .select[aria-invalid="true"], .textarea[aria-invalid="true"] { border-color: var(--danger); }
.input[aria-invalid="true"]:focus { box-shadow: 0 0 0 3px color-mix(in srgb, var(--danger) 16%, transparent); }
.field__error { display: none; color: var(--danger); font-size: var(--fs-xs); font-weight: 550; margin-top: var(--s-2); }
.field__error.is-visible { display: block; }

.field-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s-4); }
@media (max-width: 620px) { .field-row { grid-template-columns: 1fr; } }

/* Choice tiles (checkbox / radio grids) */
.choices { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(205px, 100%), 1fr)); gap: var(--s-3); }
.choice { position: relative; display: block; }
.choice input { position: absolute; opacity: 0; width: 0; height: 0; }
.choice__box {
  display: flex; align-items: center; gap: 0.65rem; min-height: 56px;
  padding: 0.75rem 1rem; border: 1px solid var(--line-strong); border-radius: var(--r-md);
  background: var(--surface); cursor: pointer; font-size: 0.94rem; font-weight: 550; line-height: 1.3;
  transition: border-color .18s var(--ease), background-color .18s var(--ease), box-shadow .18s var(--ease);
  height: 100%;
}
.choice__box::before {
  content: ""; width: 20px; height: 20px; flex: none; border-radius: 5px;
  border: 1.5px solid var(--muted-2); background: var(--surface);
  transition: all .18s var(--ease);
}
.choice input[type="radio"] + .choice__box::before { border-radius: 50%; }
.choice:hover .choice__box { border-color: var(--walnut-600); }
.choice input:checked + .choice__box {
  border-color: var(--walnut-700); background: color-mix(in srgb, var(--oak-500) 8%, var(--surface));
  box-shadow: 0 0 0 1px var(--walnut-700);
}
.choice input:checked + .choice__box::before {
  background: var(--walnut-700) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='13' height='13' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / 13px no-repeat;
  border-color: var(--walnut-700);
}
.choice input:focus-visible + .choice__box { outline: 2px solid var(--walnut-600); outline-offset: 2px; }

/* Consent block — the A2P disclosure */
.consent {
  border: 1px solid var(--line-strong); border-radius: var(--r-md);
  background: var(--surface-2); padding: var(--s-5);
}
.consent + .consent { margin-top: var(--s-4); }
.consent--required { border-left: 3px solid var(--walnut-600); }
.consent__row { display: flex; align-items: flex-start; gap: 0.75rem; }
.consent__row input[type="checkbox"] {
  flex: none; width: 20px; height: 20px; margin: 3px 0 0; accent-color: var(--walnut-700); cursor: pointer;
}
.consent__text { font-size: 0.875rem; line-height: 1.6; color: var(--ink-soft); }
.consent__text strong { color: var(--ink); font-weight: 650; }
.consent__text a { color: var(--walnut-600); text-decoration: underline; text-underline-offset: 2px; }
.consent__text a:hover { color: var(--accent-text); }

.form-legal {
  font-size: var(--fs-xs); color: var(--muted); line-height: 1.6;
  border-top: 1px solid var(--line); padding-top: var(--s-4); margin-top: var(--s-5);
}
.form-legal a { color: var(--walnut-600); text-decoration: underline; text-underline-offset: 2px; }

/* Multi-step */
.steps { display: flex; align-items: center; gap: var(--s-2); margin-bottom: var(--s-8); }
.steps__item { display: flex; align-items: center; gap: var(--s-2); flex: 1; min-width: 0; }
.steps__dot {
  width: 28px; height: 28px; flex: none; border-radius: 50%; display: grid; place-items: center;
  background: var(--sand-200); color: var(--muted); font-size: 0.8rem; font-weight: 700;
  transition: all .25s var(--ease);
}
.steps__label { font-size: var(--fs-xs); font-weight: 600; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.steps__item.is-active .steps__dot { background: var(--walnut-700); color: #fff; }
.steps__item.is-active .steps__label { color: var(--ink); }
.steps__item.is-done .steps__dot { background: var(--moss-600); color: #fff; }
.steps__bar { flex: 1; height: 1.5px; background: var(--sand-300); min-width: 12px; }
@media (max-width: 640px) { .steps__label { display: none; } .steps__item { flex: none; } }

.formstep { display: none; }
.formstep.is-active { display: block; animation: stepIn .32s var(--ease-out); }
@keyframes stepIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.form-nav { display: flex; gap: var(--s-3); align-items: center; justify-content: space-between; margin-top: var(--s-8); padding-top: var(--s-6); border-top: 1px solid var(--line); }
.form-nav .btn-row { margin-left: auto; }

/* Lives inside a .card, so it stays borderless — a bordered box here would
   read as a panel nested inside a panel. */
.form-success { display: none; text-align: center; padding: var(--s-8) 0 var(--s-4); }
.form-success.is-visible { display: block; animation: stepIn .35s var(--ease-out); }
.form-success__icon {
  width: 58px; height: 58px; margin: 0 auto var(--s-5); border-radius: 50%;
  background: var(--moss-600); color: #fff; display: grid; place-items: center;
}
.form-alert {
  display: none; margin-bottom: var(--s-5); padding: var(--s-4);
  border: 1px solid var(--danger); border-radius: var(--r-md);
  background: color-mix(in srgb, var(--danger) 8%, transparent);
  color: var(--danger); font-size: var(--fs-sm); font-weight: 550;
}
.form-alert.is-visible { display: block; }

/* ---------- 12. Misc components ---------- */
.pill {
  display: inline-flex; align-items: center; gap: 0.4rem;
  padding: 0.34rem 0.8rem; border-radius: var(--r-pill);
  background: color-mix(in srgb, var(--oak-500) 14%, transparent);
  color: var(--walnut-700); font-size: var(--fs-xs); font-weight: 600; letter-spacing: .01em;
}
.section--dark .pill { background: rgba(216,172,121,.18); color: var(--oak-200); }

.checklist { display: grid; gap: var(--s-3); }
.checklist li { display: flex; align-items: flex-start; gap: 0.7rem; font-size: var(--fs-sm); line-height: 1.55; }
.checklist svg { flex: none; margin-top: 3px; color: var(--moss-600); }
.section--dark .checklist svg { color: var(--moss-400); }

.stat-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(180px, 100%), 1fr)); gap: var(--s-6); }
.stat { border-left: 2px solid var(--oak-400); padding-left: var(--s-5); }
.stat__n { font-family: var(--font-display); font-size: clamp(2rem, 1.4rem + 2.2vw, 3rem); font-weight: 600; letter-spacing: -0.035em; line-height: 1; color: var(--walnut-700); }
.section--dark .stat__n { color: var(--oak-300); }
.stat__l { font-size: var(--fs-sm); color: var(--muted); margin-top: var(--s-2); }

.figure { border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow-lg); background: var(--sand-200); }
.figure img { width: 100%; height: 100%; object-fit: cover; }
.figure--tall { aspect-ratio: 4 / 5; }
.figure--wide { aspect-ratio: 16 / 10; }
.figure--square { aspect-ratio: 1; }
figcaption.figure__cap { font-size: var(--fs-xs); color: var(--muted); margin-top: var(--s-3); }

.quote-block {
  border-left: 2px solid var(--oak-400); padding-left: clamp(1.25rem, 3vw, 2rem);
  font-family: var(--font-display); font-size: var(--fs-xl); line-height: 1.4; letter-spacing: -0.02em;
}
.quote-block cite { display: block; margin-top: var(--s-4); font-family: var(--font-sans); font-size: var(--fs-sm); font-style: normal; color: var(--muted); font-weight: 550; }

/* Accordion */
.acc { border-top: 1px solid var(--line); }
.acc__item { border-bottom: 1px solid var(--line); }
.acc__q {
  width: 100%; display: flex; align-items: center; justify-content: space-between; gap: var(--s-4);
  padding: var(--s-5) 0; background: none; border: 0; cursor: pointer; text-align: left;
  font-family: var(--font-sans); font-size: var(--fs-lg); font-weight: 600; letter-spacing: -0.012em; color: var(--ink);
  transition: color .18s var(--ease);
}
.acc__q:hover { color: var(--walnut-700); }
.acc__q .plus { flex: none; width: 22px; height: 22px; position: relative; }
.acc__q .plus::before, .acc__q .plus::after {
  content: ""; position: absolute; inset: 50% 0 auto; height: 1.5px; background: var(--walnut-600);
  transition: transform .28s var(--ease-out), opacity .2s var(--ease);
}
.acc__q .plus::after { transform: rotate(90deg); }
.acc__q[aria-expanded="true"] .plus::after { transform: rotate(0); opacity: 0; }
.acc__a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .32s var(--ease-out); }
.acc__a > div { overflow: hidden; }
.acc__item.is-open .acc__a { grid-template-rows: 1fr; }
.acc__a p { padding-bottom: var(--s-5); color: var(--muted); font-size: var(--fs-sm); line-height: 1.7; max-width: 68ch; }
.acc__a p + p { padding-top: 0; }

/* Area / city link grid */
.arealist { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(190px, 100%), 1fr)); gap: var(--s-2) var(--s-4); }
.arealist a, .arealist span {
  display: flex; align-items: center; gap: 0.5rem; padding: 0.55rem 0;
  font-size: var(--fs-sm); color: var(--ink-soft); border-bottom: 1px solid var(--line);
  transition: color .16s var(--ease), padding-left .16s var(--ease);
}
.arealist a:hover { color: var(--walnut-700); padding-left: 4px; }
.arealist svg { flex: none; color: var(--oak-400); }

/* Process / timeline */
.timeline { display: grid; gap: 0; counter-reset: step; }
.timeline__item { display: grid; grid-template-columns: 56px 1fr; gap: var(--s-5); padding-bottom: var(--s-8); position: relative; }
.timeline__item:last-child { padding-bottom: 0; }
.timeline__item::before {
  content: ""; position: absolute; left: 27px; top: 52px; bottom: 0; width: 1px; background: var(--line-strong);
}
.timeline__item:last-child::before { display: none; }
.timeline__n {
  width: 54px; height: 54px; border-radius: 50%; display: grid; place-items: center;
  border: 1px solid var(--line-strong); background: var(--surface);
  font-family: var(--font-display); font-size: 1.15rem; font-weight: 600; color: var(--walnut-600);
  position: relative; z-index: 1;
}
.section--dark .timeline__n { background: var(--walnut-800); color: var(--oak-300); }
.timeline__b h3 { margin-bottom: var(--s-2); font-size: var(--fs-xl); }
.timeline__b p { color: var(--muted); font-size: var(--fs-sm); max-width: 58ch; }
@media (max-width: 560px) { .timeline__item { grid-template-columns: 44px 1fr; gap: var(--s-4); } .timeline__n { width: 42px; height: 42px; font-size: 1rem; } .timeline__item::before { left: 21px; top: 48px; } }

/* Category selector row */
.catstrip { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: var(--s-4); }
.catstrip a {
  position: relative; overflow: hidden;
  /* Outlined rather than filled, so these sit a level below the solid stat
     panel above them instead of competing with it. */
  background: transparent; border: 1px solid var(--line-strong); border-radius: var(--r-lg);
  padding: var(--s-6) var(--s-5) var(--s-5);
  display: flex; flex-direction: column; align-items: flex-start; gap: var(--s-3);
  transition: transform .25s var(--ease-out), box-shadow .25s var(--ease),
              border-color .2s var(--ease), background-color .25s var(--ease);
}
.catstrip a::after {
  content: ""; position: absolute; inset: auto 0 0 0; height: 3px;
  background: linear-gradient(90deg, var(--oak-500), var(--oak-300));
  transform: scaleX(0); transform-origin: left;
  transition: transform .4s var(--ease-out);
}
.catstrip a:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); background: var(--surface); border-color: transparent; }
.catstrip a:hover::after { transform: scaleX(1); }
.catstrip a:hover .catstrip__icon { color: var(--walnut-600); transform: translateY(-2px); }
.catstrip__icon {
  color: var(--accent-text); margin-bottom: var(--s-1);
  transition: color .25s var(--ease), transform .3s var(--ease-out);
}
.catstrip strong { font-family: var(--font-display); font-size: 1.12rem; font-weight: 600; letter-spacing: -0.02em; line-height: 1.2; }
.catstrip span { font-size: var(--fs-xs); color: var(--muted); letter-spacing: .04em; }
@media (max-width: 1080px) { .catstrip { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 760px)  { .catstrip { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 460px) {
  /* One per row would run to five tall tiles — go horizontal instead. */
  .catstrip { grid-template-columns: 1fr; gap: var(--s-3); }
  .catstrip a { flex-direction: row; align-items: center; gap: var(--s-4); padding: var(--s-4) var(--s-5); }
  .catstrip__icon { margin-bottom: 0; flex: none; }
  .catstrip strong { flex: 1; font-size: 1.05rem; }
  .catstrip span { flex: none; }
}

/* ---------- Mobile action bar ---------- */
/* The header CTA is dropped on narrow screens; this keeps quote + call
   permanently reachable, which is where the conversions actually come from. */
.mobile-cta {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 90;
  display: none; gap: var(--s-3);
  padding: var(--s-3) var(--s-4) calc(var(--s-3) + env(safe-area-inset-bottom, 0px));
  background: color-mix(in srgb, var(--cream-50) 92%, transparent);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-top: 1px solid var(--line);
}
.mobile-cta .btn { flex: 1; min-width: 0; }
.mobile-cta .btn--ghost { flex: 0 0 auto; padding-inline: 1.1rem; }
@media (max-width: 560px) {
  .mobile-cta { display: flex; }
  body { padding-bottom: 78px; }
  .mobile-nav { padding-bottom: 96px; }
}
@media print { .mobile-cta { display: none !important; } }

/* CTA band */
.ctaband { background: var(--walnut-800); color: #fff; position: relative; overflow: hidden; }
.ctaband::before { content: ""; position: absolute; inset: 0; background: radial-gradient(90% 130% at 82% 15%, rgba(192,138,82,.36), transparent 60%); }
.ctaband__inner { position: relative; padding-block: clamp(3rem, 2rem + 5vw, 5rem); display: grid; grid-template-columns: minmax(0,1.4fr) auto; gap: var(--s-8); align-items: center; }
.ctaband h2 { color: #fff; }
.ctaband p { color: rgba(255,255,255,.78); margin-top: var(--s-3); max-width: 46ch; }
@media (max-width: 860px) { .ctaband__inner { grid-template-columns: 1fr; } }

/* Legal / long-form prose */
.prose { max-width: var(--container-prose); }
.prose h2 { font-size: clamp(1.4rem, 1.2rem + 0.8vw, 1.85rem); margin-top: var(--s-12); margin-bottom: var(--s-4); scroll-margin-top: calc(var(--header-h) + 24px); }
.prose h3 { font-family: var(--font-sans); font-size: var(--fs-lg); font-weight: 650; letter-spacing: -0.012em; margin-top: var(--s-8); margin-bottom: var(--s-3); scroll-margin-top: calc(var(--header-h) + 24px); }
.prose > h2:first-child { margin-top: 0; }
.prose p, .prose li { color: var(--ink-soft); font-size: 0.975rem; line-height: 1.75; }
.prose p + p { margin-top: var(--s-4); }
.prose ul, .prose ol { margin: var(--s-4) 0; display: grid; gap: var(--s-2); padding-left: var(--s-5); }
.prose ul li { list-style: disc; } .prose ol li { list-style: decimal; }
.prose ul li::marker, .prose ol li::marker { color: var(--oak-400); }
.prose a { color: var(--walnut-600); text-decoration: underline; text-underline-offset: 2px; }
.prose a:hover { color: var(--accent-text); }
.prose strong { color: var(--ink); font-weight: 650; }
.prose table { width: 100%; border-collapse: collapse; margin: var(--s-5) 0; font-size: var(--fs-sm); }
.prose th, .prose td { text-align: left; padding: 0.7rem 0.9rem; border: 1px solid var(--line); }
.prose th { background: var(--surface-2); font-weight: 650; }

.callout {
  border: 1px solid var(--line-strong); border-left: 3px solid var(--walnut-600);
  background: var(--surface-2); border-radius: var(--r-md); padding: var(--s-5); margin: var(--s-6) 0;
}
.callout p { font-size: var(--fs-sm); margin: 0; }
.callout p + p { margin-top: var(--s-3); }
.callout__title { font-weight: 650; color: var(--ink); font-size: var(--fs-sm); margin-bottom: var(--s-2) !important; }

.toc { border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--surface); padding: var(--s-5); position: sticky; top: calc(var(--header-h) + 24px); }
.toc__title { font-size: var(--fs-eyebrow); font-weight: 700; letter-spacing: .13em; text-transform: uppercase; color: var(--muted-2); margin-bottom: var(--s-3); }
.toc a { display: block; padding: 0.3rem 0; font-size: 0.85rem; color: var(--muted); line-height: 1.4; }
.toc a:hover { color: var(--walnut-700); }
@media (max-width: 900px) { .toc { position: static; margin-bottom: var(--s-8); } }

.sms-example {
  font-family: ui-monospace, SFMono-Regular, "SF Mono", Menlo, monospace;
  font-size: 0.83rem; line-height: 1.6; background: var(--walnut-900); color: var(--sand-200);
  border-radius: var(--r-md); padding: var(--s-5); overflow-x: auto; white-space: pre-wrap;
  border: 1px solid var(--line-strong);
}

/* ---------- 13. Footer ---------- */
.site-footer { background: var(--walnut-900); color: var(--sand-300); padding-block: var(--s-16) var(--s-8); --line: var(--line-dark); --muted-2: #a99a8b; }
.site-footer a { color: var(--sand-300); }
.site-footer a:hover { color: #fff; }
.footer__top { display: grid; grid-template-columns: minmax(0, 1.5fr) repeat(3, minmax(0, 1fr)); gap: var(--s-10) var(--s-8); padding-bottom: var(--s-10); border-bottom: 1px solid var(--line-dark); }
@media (max-width: 980px) { .footer__top { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .footer__top { grid-template-columns: 1fr; gap: var(--s-8); } }
.footer__brand .brand { margin-bottom: var(--s-5); }
.footer__brand p { font-size: var(--fs-sm); color: var(--muted-2); max-width: 34ch; line-height: 1.65; }
.footer__title { font-size: var(--fs-eyebrow); font-weight: 700; letter-spacing: .13em; text-transform: uppercase; color: var(--oak-300); margin-bottom: var(--s-4); }
.footer__list { display: grid; gap: var(--s-2); }
.footer__list a { font-size: var(--fs-sm); transition: color .16s var(--ease), transform .16s var(--ease); display: inline-block; }
.footer__list a:hover { transform: translateX(3px); }
.footer__contact { display: grid; gap: var(--s-3); font-size: var(--fs-sm); }
.footer__contact div { display: flex; align-items: flex-start; gap: 0.6rem; }
.footer__contact svg { flex: none; margin-top: 3px; color: var(--oak-400); }
.footer__bottom {
  padding-top: var(--s-6); display: flex; flex-wrap: wrap; gap: var(--s-3) var(--s-5);
  align-items: center; justify-content: space-between; font-size: var(--fs-xs); color: var(--muted-2);
}
.footer__legal { display: flex; flex-wrap: wrap; gap: var(--s-2) var(--s-4); align-items: center; }
.footer__legal a { font-size: var(--fs-xs); }

/* Footer logo needs to read on dark walnut */
.site-footer .brand__word { filter: brightness(0) invert(1); opacity: .92; }

/* ---------- 14. Motion ---------- */
[data-reveal] { opacity: 0; transform: translateY(18px); transition: opacity .7s var(--ease-out), transform .7s var(--ease-out); }
[data-reveal].is-visible { opacity: 1; transform: none; }
[data-reveal-delay="1"] { transition-delay: .08s; }
[data-reveal-delay="2"] { transition-delay: .16s; }
[data-reveal-delay="3"] { transition-delay: .24s; }
[data-reveal-delay="4"] { transition-delay: .32s; }

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

/* ---------- 15. Print ---------- */
@media print {
  .site-header, .mobile-nav, .ctaband, .site-footer, .btn, .lightbox { display: none !important; }
  body { background: #fff; color: #000; font-size: 11pt; }
  .section { padding-block: 1rem; }
  a[href^="http"]::after { content: " (" attr(href) ")"; font-size: 9pt; color: #555; }
}
