/* GENERATED by scripts/build-legacy-css.mjs. Edit the source sheets, not this file. */
/* SBZ Real Estate - self-hosted Latin and Latin-ext webfonts. */

/* Instrument Serif italic - latin-ext */
@font-face {
  font-family: 'Instrument Serif';
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url('/fonts/InstrumentSerif-Italic-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* Instrument Serif italic - latin */
@font-face {
  font-family: 'Instrument Serif';
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url('/fonts/InstrumentSerif-Italic-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* Instrument Serif regular - latin-ext */
@font-face {
  font-family: 'Instrument Serif';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('/fonts/InstrumentSerif-Regular-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* Instrument Serif regular - latin */
@font-face {
  font-family: 'Instrument Serif';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('/fonts/InstrumentSerif-Regular-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* Satoshi variable - Latin and Latin-ext */
@font-face {
  font-family: 'Satoshi';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url('/fonts/Satoshi-Variable.woff2') format('woff2');
  unicode-range: U+0000-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1EFF, U+2000-206F, U+20A0-20C0, U+2113, U+2122, U+2191, U+2193, U+2212, U+2215, U+2C60-2C7F, U+A720-A7FF, U+FEFF, U+FFFD;
}

@font-face {
  font-family: 'Satoshi';
  font-style: italic;
  font-weight: 100 900;
  font-display: swap;
  src: url('/fonts/Satoshi-VariableItalic.woff2') format('woff2');
  unicode-range: U+0000-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1EFF, U+2000-206F, U+20A0-20C0, U+2113, U+2122, U+2191, U+2193, U+2212, U+2215, U+2C60-2C7F, U+A720-A7FF, U+FEFF, U+FFFD;
}

/* Spline Sans Mono variable - latin-ext */
@font-face {
  font-family: 'Spline Sans Mono';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url('/fonts/SplineSansMono-Variable-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* Spline Sans Mono variable - latin */
@font-face {
  font-family: 'Spline Sans Mono';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url('/fonts/SplineSansMono-Variable-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* Source Sans 3 is used inside the RealScout web components. */
@font-face {
  font-family: 'Source Sans 3';
  font-style: italic;
  font-weight: 100 900;
  font-display: swap;
  src: url('/fonts/SourceSans3-VariableItalic-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: 'Source Sans 3';
  font-style: italic;
  font-weight: 100 900;
  font-display: swap;
  src: url('/fonts/SourceSans3-VariableItalic-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: 'Source Sans 3';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url('/fonts/SourceSans3-Variable-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: 'Source Sans 3';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url('/fonts/SourceSans3-Variable-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@layer legacy {
/* ============================================================
   SBZ Real Estate — Color Tokens
   ------------------------------------------------------------
   Warm, sophisticated, editorial. A warm-neutral base (paper →
   ink) with ONE refined accent: CLAY (a desert terracotta drawn
   from Antelope Valley golden-hour light). A deep PINE is kept as
   a sparing "trust" secondary (financing / success).

   Accent decision (AA verified, white text on fill):
   - Clay  #A8512B  → 5.3:1  ✓  CHOSEN — warm, premium, on-brand
   - Pine  #2E4F44  → 8.0:1  ✓  secondary / trust
   - Ochre #8A6A2E  → 5.1:1  ✓  alt (felt closer to "gold realtor")
   ============================================================ */

:root {
  /* ---- Warm neutral ramp (paper → ink) ---- */
  --warm-50:  #FAF6F0;   /* page / paper           */
  --warm-100: #F3EBE0;   /* sunken surface         */
  --warm-150: #ECE2D5;
  --warm-200: #E3D6C5;   /* hairline / soft border */
  --warm-300: #D2C1AC;   /* border on tint         */
  --warm-400: #B0A08D;   /* disabled / faint       */
  --warm-500: #8A7C6C;   /* muted text on paper    */
  --warm-600: #6A5E51;   /* secondary text         */
  --warm-700: #4C433A;   /* body on paper          */
  --warm-800: #322B25;   /* strong text            */
  --warm-900: #211B16;   /* ink / near-black       */
  --pure-white: #FFFFFF;
  --card-white: #FFFDFA;  /* very slightly warm white for cards */

  /* ---- Clay (primary accent) ---- */
  --clay-50:  #F7ECE4;
  --clay-100: #EFD8C8;
  --clay-200: #E2BBA1;
  --clay-300: #CE906B;
  --clay-400: #BB6E44;
  --clay-500: #A8512B;   /* base accent            */
  --clay-600: #8F4423;   /* hover / strong         */
  --clay-700: #71341A;   /* pressed / on-dark text */

  /* ---- Pine (secondary / trust) ---- */
  --pine-100: #DDE7E1;
  --pine-300: #7FA192;
  --pine-500: #3D6457;
  --pine-600: #2E4F44;
  --pine-700: #213A32;

  /* ---- Status (warm-tuned) ---- */
  --positive: #2E4F44;
  --positive-tint: #DDE7E1;
  --critical: #9E3326;
  --critical-tint: #F4DCD7;

  /* ============================================================
     SEMANTIC ALIASES — author against these, not the raw ramp.
     ============================================================ */

  /* Surfaces */
  --surface-page:    var(--warm-50);
  --surface-card:    var(--card-white);
  --surface-sunken:  var(--warm-100);
  --surface-tint:    var(--clay-50);    /* accent wash panels */
  --surface-ink:     var(--warm-900);   /* dark feature sections */
  --surface-ink-2:   var(--warm-800);

  /* Text on light */
  --text-strong:  var(--warm-900);
  --text-body:    var(--warm-700);
  --text-muted:   var(--warm-600);
  --text-faint:   var(--warm-500);

  /* Text on dark (ink sections) */
  --text-on-ink:        #F4ECE2;
  --text-on-ink-muted:  #C3B6A6;
  --text-on-ink-faint:  #8C8073;

  /* Accent */
  --accent:         var(--clay-500);
  --accent-strong:  var(--clay-600);
  --accent-press:   var(--clay-700);
  --accent-tint:    var(--clay-50);
  --accent-on-dark: var(--clay-300);   /* clay legible on ink */

  /* Lines & rings */
  --border:        var(--warm-200);
  --border-strong: var(--warm-300);
  --border-ink:    rgba(244, 236, 226, 0.16);
  --focus-ring:    color-mix(in oklab, var(--clay-500) 55%, transparent);

  /* Links */
  --link:        var(--clay-600);
  --link-hover:  var(--clay-700);
}

/* ============================================================
   SBZ Real Estate — Typography Tokens
   ------------------------------------------------------------
   Pairing (locked):
   - Display : Instrument Serif    (editorial serif, high contrast)
   - Body/UI : Satoshi             (warm geometric sans)
   - Data    : Spline Sans Mono    (eyebrows, stats, labels)

   Scale is fluid (clamp) and MOBILE-FIRST — values resolve toward
   the lower bound on phones, the upper bound on desktop.
   ============================================================ */

:root {
  /* ---- Families ---- */
  --font-display: 'Instrument Serif', Georgia, 'Times New Roman', serif;
  --font-sans:    'Satoshi', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-body:    var(--font-sans);
  --font-mono:    'Spline Sans Mono', ui-monospace, 'SFMono-Regular', Menlo, monospace;

  /* ---- Weights ---- */
  --fw-regular: 400;   /* @kind font */
  --fw-medium:  500;   /* @kind font */
  --fw-semibold: 600;  /* @kind font */
  --fw-bold:    700;   /* @kind font */

  /* ---- Fluid display scale (serif) ---- */
  --display-2xl: var(--display-lg);                              /* @kind font */
  --display-xl:  clamp(2.35rem, calc(1.6rem + 3.7vw), 4.5rem);   /* @kind font */
  --display-lg:  clamp(3.25rem, 1.5rem + 8vw, 7.5rem);           /* hero display */
  --display-h2:  clamp(2.5rem, 1.4rem + 4.5vw, 4.25rem);         /* section heading */
  --display-md:  clamp(1.65rem, calc(1.35rem + 1.5vw), 2.4rem);  /* @kind font */
  --display-sm:  clamp(1.4rem, calc(1.25rem + 0.8vw), 1.85rem);  /* @kind font */

  /* ---- Body / UI scale (sans) ---- */
  --text-xs:  0.75rem;    /* @kind font */
  --text-sm:  0.875rem;   /* @kind font */
  --text-base: 1.0625rem;  /* 17px default body */
  --text-md:  var(--text-base); /* @kind font */
  --text-lg:  clamp(1.125rem, calc(1.05rem + 0.35vw), 1.3125rem); /* @kind font */
  --text-xl:  1.3125rem;  /* 21px lead / intro */
  --text-lead: 1.3125rem; /* 21px lead / intro */

  /* ---- Eyebrow / mono label ---- */
  --eyebrow-size: 0.78rem;       /* @kind font */
  --eyebrow-tracking: 0.18em;    /* @kind font */

  /* ---- Line heights ---- */
  --leading-tight:  0.98;   /* top-end display   @kind other */
  --leading-snug:   1.18;   /* @kind other */
  --leading-normal: 1.5;    /* UI body           @kind other */
  --leading-relaxed: 1.7;   /* long-form article @kind other */

  /* ---- Letter spacing ---- */
  --tracking-tight: -0.005em;  /* large serif @kind font */
  --tracking-snug:  0;         /* @kind font */
  --tracking-normal: 0;        /* @kind font */
  --tracking-wide:  0.04em;    /* @kind font */
  --tracking-eyebrow: 0.18em;  /* uppercase mono @kind font */
  --measure-body: 64ch;
}

html {
  font-synthesis: none;
  font-optical-sizing: auto;
}

/* ============================================================
   SBZ Real Estate — Spacing, Radii, Shadows, Layout, Motion
   ------------------------------------------------------------
   8px base rhythm. Generous editorial whitespace. Soft, warm
   shadows (never hard/black). Restrained radii — premium, not
   bubbly. Calm motion: short fades + small translate, ease-out.
   ============================================================ */

:root {
  /* ---- Spacing (8px rhythm + a couple of half steps) ---- */
  --space-0: 0;
  --space-1: 0.25rem;   /* 4  */
  --space-2: 0.5rem;    /* 8  */
  --space-3: 0.75rem;   /* 12 */
  --space-4: 1rem;      /* 16 */
  --space-5: 1.5rem;    /* 24 */
  --space-6: 2rem;      /* 32 */
  --space-7: 3rem;      /* 48 */
  --space-8: 4rem;      /* 64 */
  --space-9: 6rem;      /* 96 */
  --space-10: 8rem;     /* 128 */

  /* Section vertical padding (fluid, mobile-first) */
  --section-y: clamp(3.5rem, 2.5rem + 5vw, 7.5rem);          /* @kind spacing */
  --section-y-tight: clamp(2.5rem, 2rem + 3vw, 4.5rem);      /* @kind spacing */

  /* ---- Container widths ---- */
  --container:      1200px;  /* default site gutter container @kind spacing */
  --container-wide: 1360px;  /* hero / full-bleed framing     @kind spacing */
  --container-prose: 64ch;   /* article reading measure       @kind spacing */
  --gutter: clamp(1.25rem, 0.8rem + 2.2vw, 2.5rem);          /* @kind spacing */

  /* ---- Radii (restrained) ---- */
  --radius-xs: 4px;
  --radius-sm: 8px;
  --radius-md: 12px;   /* default card / input          */
  --radius-lg: 18px;   /* feature cards                 */
  --radius-xl: 26px;   /* large media frames            */
  --radius-pill: 999px;
  --radius-circle: 50%;

  /* ---- Borders ---- */
  --border-width: 1px;            /* @kind spacing */
  --border-width-strong: 1.5px;   /* @kind spacing */

  /* ---- Shadows (warm, soft — tinted with ink, never pure black) ---- */
  --shadow-xs: 0 1px 2px rgba(33, 27, 22, 0.06);
  --shadow-sm: 0 2px 8px rgba(33, 27, 22, 0.06), 0 1px 2px rgba(33, 27, 22, 0.05);
  --shadow-md: 0 8px 24px -8px rgba(33, 27, 22, 0.16), 0 2px 6px rgba(33, 27, 22, 0.06);
  --shadow-lg: 0 24px 60px -22px rgba(33, 27, 22, 0.30), 0 4px 12px rgba(33, 27, 22, 0.07);
  --shadow-ring: 0 0 0 1px var(--border);

  /* ---- Focus ---- */
  --focus-width: 3px;     /* @kind spacing */
  --focus-offset: 2px;    /* @kind spacing */

  /* ---- Motion ---- */
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);       /* @kind other */
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);    /* @kind other */
  --dur-fast: 140ms;    /* @kind other */
  --dur-base: 220ms;    /* @kind other */
  --dur-slow: 420ms;    /* @kind other */

  /* ---- Z-index ---- */
  --z-header: 100;       /* @kind other */
  --z-sticky-cta: 90;    /* @kind other */
  --z-overlay: 200;      /* @kind other */
  --z-dialog: 300;       /* @kind other */
  --z-toast: 400;        /* @kind other */
}

/* ============================================================
   SBZ Real Estate — Marketing site stylesheet
   Built on the design-system tokens (/styles.css).
   Premium / editorial. Light theme. Mobile-first.
   ============================================================ */



/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  font-size: var(--text-md);
  line-height: var(--leading-normal);
  color: var(--text-body);
  background: var(--surface-page);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg, video { display: block; max-width: 100%; }
button, input, select, textarea { font: inherit; color: inherit; }
a { color: inherit; text-decoration: none; }
ul, ol { padding: 0; list-style: none; }
:focus-visible { outline: var(--focus-width) solid var(--focus-ring); outline-offset: var(--focus-offset); border-radius: 2px; }

/* ---------- Layout ---------- */
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.container-wide { width: 100%; max-width: var(--container-wide); margin-inline: auto; padding-inline: var(--gutter); }
.prose-wrap { width: 100%; max-width: var(--container-prose); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: var(--section-y); }
.section--tight { padding-block: var(--section-y-tight); }
.section--ink { background: radial-gradient(120% 90% at 86% -12%, rgba(206,144,107,0.12), transparent 52%), var(--surface-ink); color: var(--text-on-ink); }
.section--sunken { background: var(--surface-sunken); }
.section--tint { background: linear-gradient(180deg, color-mix(in oklab, var(--clay-50) 55%, var(--warm-50)), var(--clay-50)); }
.divider { height: 1px; background: var(--border); border: 0; }

/* ---------- Typography ---------- */
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: var(--fw-regular); color: var(--text-strong); line-height: var(--leading-tight); letter-spacing: var(--tracking-tight); text-wrap: balance; }
.display-2xl { font-size: var(--display-2xl); font-weight: var(--fw-regular); }
.display-xl  { font-size: var(--display-xl); }
.display-lg  { font-size: var(--display-h2); }
.display-md  { font-size: var(--display-md); }
.display-sm  { font-size: var(--display-sm); line-height: var(--leading-snug); }

/* Elevation — editorial scale: oversized page headlines against fine detail text */
h1.display-2xl { font-size: clamp(3.1rem, 1.9rem + 6vw, 6.9rem); line-height: 0.96; letter-spacing: -0.03em; }
h1.display-xl  { font-size: clamp(2.7rem, 1.7rem + 4.4vw, 5.4rem); line-height: 1; }
.serif { font-family: var(--font-display); }
.italic { font-style: italic; }

p { text-wrap: pretty; }
.lead { font-size: var(--text-xl); line-height: var(--leading-snug); color: var(--text-muted); font-weight: var(--fw-regular); }
.body-lg { font-size: var(--text-lg); }
.muted { color: var(--text-muted); }
.faint { color: var(--text-faint); }
.on-ink-muted { color: var(--text-on-ink-muted); }

/* Eyebrow — mono, tracked, with a clay tick */
.eyebrow {
  display: inline-flex; align-items: center; gap: var(--space-3);
  font-family: var(--font-mono); font-size: var(--eyebrow-size);
  letter-spacing: var(--tracking-eyebrow); text-transform: uppercase;
  color: var(--accent-strong); font-weight: var(--fw-medium);
}
.eyebrow::before { content: ""; width: 26px; height: 1.5px; background: var(--accent); display: inline-block; }
.eyebrow--center::after { content: ""; width: 26px; height: 1.5px; background: var(--accent); display: inline-block; }
.eyebrow--bare::before { display: none; }
.section--ink .eyebrow { color: var(--accent-on-dark); }
.section--ink .eyebrow::before, .section--ink .eyebrow::after { background: var(--accent-on-dark); }

/* Section heading block */
.section-head { max-width: 56ch; margin-bottom: var(--space-7); }
.section-head .lead { margin-top: var(--space-4); }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head h2 { margin-top: var(--space-4); }

/* ---------- Buttons ---------- */
.btn {
  --btn-bg: var(--accent); --btn-fg: #fff; --btn-bd: transparent;
  display: inline-flex; align-items: center; justify-content: center; gap: var(--space-2);
  font-family: var(--font-body); font-weight: var(--fw-semibold); font-size: var(--text-base);
  line-height: 1; letter-spacing: 0.005em;
  padding: 0.95rem 1.5rem; border-radius: var(--radius-sm);
  background: var(--btn-bg); color: var(--btn-fg);
  border: var(--border-width-strong) solid var(--btn-bd);
  cursor: pointer; transition: transform var(--dur-fast) var(--ease-out), background var(--dur-base) var(--ease-out), box-shadow var(--dur-base) var(--ease-out); white-space: nowrap;
  position: relative; overflow: hidden;
}
/* One quiet sheen sweep on hover — filled buttons only */
.btn::before { content: ""; position: absolute; top: 0; bottom: 0; left: 0; width: 55%; background: linear-gradient(105deg, transparent 18%, rgba(255,255,255,0.22) 50%, transparent 82%); transform: translateX(-160%) skewX(-16deg); transition: transform 0.85s var(--ease-out); pointer-events: none; }
.btn:hover::before { transform: translateX(300%) skewX(-16deg); }
.btn--ghost::before, .btn--on-ink::before { display: none; }
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0) scale(0.985); }
.btn--primary { --btn-bg: var(--accent); --btn-fg:#fff; box-shadow: var(--shadow-sm); }
.btn--primary:hover { --btn-bg: var(--accent-strong); box-shadow: var(--shadow-md); }
.btn--primary:active { --btn-bg: var(--accent-press); }
.btn--dark { --btn-bg: var(--warm-900); --btn-fg: var(--text-on-ink); box-shadow: var(--shadow-sm); }
.btn--dark:hover { --btn-bg: var(--warm-800); box-shadow: var(--shadow-md); }
.btn--ghost { --btn-bg: transparent; --btn-fg: var(--text-strong); --btn-bd: var(--border-strong); }
.btn--ghost:hover { --btn-bg: var(--warm-100); --btn-bd: var(--warm-400); }
.btn--on-ink { --btn-bg: transparent; --btn-fg: var(--text-on-ink); --btn-bd: var(--border-ink); }
.btn--on-ink:hover { --btn-bg: rgba(244,236,226,0.08); }
.btn--lg { padding: 1.15rem 1.9rem; font-size: var(--text-lg); border-radius: var(--radius-md); }
.btn--sm { padding: 0.6rem 1rem; font-size: var(--text-sm); }
.btn--block { width: 100%; }
.btn .arrow { transition: transform var(--dur-base) var(--ease-out); }
.btn:hover .arrow { transform: translateX(3px); }

/* Text / inline arrow link */
.link-arrow {
  display: inline-flex; align-items: center; gap: var(--space-2);
  font-weight: var(--fw-semibold); color: var(--accent-strong);
  border-bottom: 1.5px solid transparent; padding-bottom: 2px; width: fit-content;
  transition: border-color var(--dur-base) var(--ease-out), gap var(--dur-base) var(--ease-out);
}
.link-arrow:hover { border-color: var(--accent); gap: var(--space-3); }
.link-arrow .arrow { transition: transform var(--dur-base) var(--ease-out); }
.link-arrow:hover .arrow { transform: translateX(2px); }
.section--ink .link-arrow { color: var(--accent-on-dark); }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: var(--z-header);
  background: color-mix(in oklab, var(--surface-page) 88%, transparent);
  backdrop-filter: saturate(1.2) blur(12px);
  border-bottom: 1px solid var(--border);
  transition: box-shadow 0.45s var(--ease-out), background 0.45s var(--ease-out);
}
.site-header.is-scrolled { background: color-mix(in oklab, var(--surface-page) 96%, transparent); box-shadow: 0 14px 36px -22px rgba(33,27,22,0.4); }
.site-header__inner { display: flex; align-items: center; justify-content: space-between; gap: var(--space-5); height: 82px; }
.brand { display: inline-flex; align-items: center; gap: var(--space-4); }
.brand img { height: 64px; width: auto; }
.brand__logo { height: 64px; width: auto; display: block; }
@media (max-width: 640px) { .brand__logo, .brand img { height: 52px; } .site-header__inner { height: 74px; } }
.brand__tag { font-family: var(--font-mono); font-size: 0.58rem; letter-spacing: 0.24em; text-transform: uppercase; color: var(--text-faint); border-left: 1px solid var(--border-strong); padding-left: 14px; white-space: nowrap; display: none; }
@media (min-width: 640px) { .brand__tag { display: block; } }
.footer-logo { height: 72px; width: auto; filter: invert(1) brightness(0.95); opacity: 0.95; }
.brand__txt { display: flex; flex-direction: column; line-height: 1; }
.brand__name { font-family: var(--font-display); font-size: 1.35rem; font-weight: var(--fw-regular); letter-spacing: 0.06em; color: var(--text-strong); }
.brand__sub { font-family: var(--font-mono); font-size: 0.58rem; letter-spacing: 0.24em; text-transform: uppercase; color: var(--text-faint); margin-top: 3px; white-space: nowrap; }
.nav { display: none; align-items: center; gap: var(--space-6); }
.nav a { font-size: var(--text-sm); font-weight: var(--fw-medium); color: var(--text-body); letter-spacing: 0.01em; transition: color var(--dur-base) var(--ease-out); position: relative; padding-block: 4px; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--text-strong); }
.nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: -2px; height: 1.5px; background: var(--accent); transform: scaleX(0); transform-origin: left center; transition: transform 0.4s var(--ease-out); }
.nav a:hover::after, .nav a[aria-current="page"]::after { transform: scaleX(1); }
.header-cta { display: none; align-items: center; gap: var(--space-3); }
.menu-toggle { display: inline-flex; align-items: center; gap: var(--space-2); border: 1.5px solid var(--border-strong); background: transparent; border-radius: var(--radius-sm); padding: 0.55rem 0.8rem; font-size: var(--text-sm); font-weight: var(--fw-semibold); cursor: pointer; }

@media (min-width: 600px) { .header-cta { display: flex; } }
@media (min-width: 1280px) {
  .nav { display: flex; }
  .menu-toggle { display: none; }
  .site-header__inner { height: 84px; }
}

/* Private-client cards keep long audience names readable on narrow screens. */
.private-client-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); gap: var(--space-4); }
.private-client-grid > *, .page-sections--private-client .grid-2 > * { min-width: 0; }
.private-client-services { padding-left: 1.25rem; font-size: var(--text-lg); }
.private-client-services li + li { margin-top: var(--space-4); }

/* ---------- Sticky mobile CTA bar ---------- */
.sticky-cta {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: var(--z-sticky-cta);
  display: grid; grid-template-columns: 1.3fr 1fr; gap: var(--space-3);
  padding: var(--space-3) var(--gutter) calc(var(--space-3) + env(safe-area-inset-bottom));
  background: color-mix(in oklab, var(--surface-page) 92%, transparent);
  backdrop-filter: blur(12px); border-top: 1px solid var(--border);
  box-shadow: 0 -8px 24px -16px rgba(33,27,22,0.4);
}
.sticky-cta .btn { padding-block: 0.85rem; }
@media (min-width: 1280px) { .sticky-cta { display: none; } }
body { padding-bottom: 88px; }
@media (min-width: 1280px) { body { padding-bottom: 0; } }

/* ---------- SBZRE-FORMS-1: lead capture + California service map ---------- */
.lead-walkthrough-section { scroll-margin-top: 96px; background: var(--surface-sunken); }
.lead-walkthrough {
  width: 100%; max-width: 1060px; min-width: 0; margin-inline: auto;
  background: var(--surface-card); border: 1px solid var(--border); border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg); overflow: hidden;
}
.lead-walkthrough__topline {
  display: flex; align-items: center; justify-content: space-between; gap: var(--space-5);
  padding: var(--space-4) clamp(1rem, 3vw, var(--space-6)); border-bottom: 1px solid var(--border);
  background: color-mix(in oklab, var(--surface-card) 76%, var(--warm-100));
}
.lead-walkthrough__topline > p { color: var(--text-muted); font-size: var(--text-sm); }
.lead-progress { display: flex; align-items: center; gap: var(--space-3); min-width: min(100%, 330px); }
.lead-progress__track { width: clamp(110px, 18vw, 210px); height: 3px; overflow: hidden; background: var(--warm-200); }
.lead-progress__fill { display: block; width: 100%; height: 100%; background: var(--accent); transform: scaleX(.2); transform-origin: left; transition: transform .4s var(--ease-out); }
.lead-progress__label { font-family: var(--font-mono); font-size: var(--text-xs); letter-spacing: .06em; color: var(--text-muted); white-space: nowrap; }
.lead-walkthrough__body { position: relative; min-height: 610px; padding: clamp(1.35rem, 4vw, 4rem); }
.lead-step, .lead-done { width: 100%; max-width: 860px; margin-inline: auto; }
.lead-step[hidden], .lead-done[hidden], .lead-intent-fields[hidden] { display: none !important; }
.lead-step > h2, .lead-done > h2 { margin-top: var(--space-4); max-width: 18ch; }
.lead-step__intro { max-width: 58ch; margin-top: var(--space-4); color: var(--text-muted); font-size: var(--text-lg); }
.lead-back { display: block; width: fit-content; margin-bottom: var(--space-5); padding: .3rem 0; border: 0; background: transparent; color: var(--text-muted); font-weight: var(--fw-semibold); cursor: pointer; }
.lead-back:hover { color: var(--accent-strong); }
.lead-choices { display: grid; grid-template-columns: 1fr; gap: var(--space-3); margin-top: var(--space-6); }
.lead-choice { min-width: 0; min-height: 104px; display: flex; align-items: center; justify-content: space-between; gap: var(--space-4); padding: var(--space-5); text-align: left; border: 1.5px solid var(--border-strong); border-radius: var(--radius-md); background: var(--surface-card); color: var(--text-strong); cursor: pointer; transition: transform var(--dur-fast) var(--ease-out), border-color var(--dur-base) var(--ease-out), background var(--dur-base) var(--ease-out), box-shadow var(--dur-base) var(--ease-out); }
.lead-choice:hover { transform: translateY(-2px); border-color: var(--clay-300); box-shadow: var(--shadow-sm); }
.lead-choice:active { transform: scale(.985); }
.lead-choice[data-selected="true"] { border-color: var(--accent); background: var(--accent-tint); box-shadow: 0 0 0 1px var(--accent); }
.lead-choice > span:first-child { display: grid; gap: .25rem; min-width: 0; }
.lead-choice strong { font-family: var(--font-display); font-size: var(--display-sm); font-weight: var(--fw-regular); line-height: 1.1; }
.lead-choice small { color: var(--text-muted); font-size: var(--text-sm); }
.lead-choice > span:last-child { color: var(--accent-strong); font-size: 1.25rem; }
.lead-fields { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--space-5); margin-top: var(--space-6); }
.lead-fields label { display: grid; min-width: 0; gap: var(--space-2); color: var(--text-strong); font-weight: var(--fw-semibold); }
.lead-fields label > span { font-size: var(--text-sm); }
.lead-fields label small { color: var(--text-muted); font-weight: var(--fw-regular); }
.lead-fields input, .lead-fields select, .lead-fields textarea { width: 100%; min-width: 0; border: 1.5px solid var(--border-strong); border-radius: var(--radius-sm); background: var(--surface-card); color: var(--text-strong); padding: .95rem 1rem; line-height: 1.35; transition: border-color var(--dur-fast) var(--ease-out), box-shadow var(--dur-fast) var(--ease-out); }
.lead-fields textarea { resize: vertical; min-height: 116px; }
.lead-fields input::placeholder, .lead-fields textarea::placeholder { color: var(--warm-600); opacity: 1; }
.lead-fields input:focus, .lead-fields select:focus, .lead-fields textarea:focus { outline: 0; border-color: var(--accent); box-shadow: 0 0 0 3px var(--focus-ring); }
.lead-fields--single { max-width: 560px; }
.lead-intent-fields { margin-top: var(--space-6); padding-top: var(--space-5); border-top: 1px solid var(--border); }
.lead-intent-fields h3 { font-size: var(--display-sm); }
.lead-intent-fields .lead-fields { margin-top: var(--space-4); }
.lead-inline-choices { min-width: 0; border: 0; padding: 0; }
.lead-inline-choices legend { margin-bottom: var(--space-2); color: var(--text-strong); font-size: var(--text-sm); font-weight: var(--fw-semibold); }
.lead-inline-choices > div { display: flex; flex-wrap: wrap; gap: var(--space-2); }
.lead-inline-choices button { flex: 1 1 auto; min-height: 50px; padding: .7rem .85rem; border: 1.5px solid var(--border-strong); border-radius: var(--radius-sm); background: var(--surface-card); cursor: pointer; font-size: var(--text-sm); font-weight: var(--fw-semibold); }
.lead-inline-choices button:hover, .lead-inline-choices button[data-selected="true"] { border-color: var(--accent); background: var(--accent-tint); color: var(--accent-press); }
.lead-next { margin-top: var(--space-6); }
.lead-next:disabled { cursor: wait; opacity: .72; }
.lead-consent { max-width: 70ch; margin-top: var(--space-4); color: var(--text-muted); font-size: var(--text-xs); }
.lead-error { max-width: 860px; margin: var(--space-5) auto 0; padding: .8rem 1rem; border-left: 3px solid var(--critical); background: var(--critical-tint); color: var(--critical); font-weight: var(--fw-semibold); }
.lead-done { min-height: 420px; display: flex; flex-direction: column; justify-content: center; align-items: flex-start; }
.lead-done > p:not(.eyebrow) { max-width: 58ch; margin-top: var(--space-4); color: var(--text-muted); font-size: var(--text-lg); }
.lead-done .btn-row { margin-top: var(--space-6); }
.lead-done__mark { display: grid; place-items: center; width: 52px; height: 52px; margin-bottom: var(--space-5); border-radius: 50%; background: var(--positive-tint); color: var(--positive); font-size: 1.4rem; font-weight: var(--fw-bold); }
.lead-honeypot { position: fixed !important; left: -10000px !important; top: auto !important; width: 1px !important; height: 1px !important; overflow: hidden !important; }
.lead-compact-section { background: var(--surface-sunken); }
.lead-compact { display: grid; grid-template-columns: minmax(0, 1fr); align-items: center; gap: var(--space-6); padding: clamp(1.4rem, 4vw, 2.6rem); border: 1px solid var(--border); border-radius: var(--radius-lg); background: var(--surface-card); box-shadow: var(--shadow-sm); }
.lead-compact h2, .lead-compact h3 { margin-top: var(--space-3); }
.lead-compact h2 { font-size: var(--display-md); }
.lead-compact > div > p:last-child, .lead-compact--side > p { max-width: 56ch; margin-top: var(--space-3); color: var(--text-muted); }
.lead-compact > .btn { width: fit-content; }
.lead-compact--side { align-self: center; padding: clamp(1.5rem, 3vw, 2.4rem); }
.service-area-section { background: var(--surface-sunken); }
.service-area-layout { display: grid; grid-template-columns: minmax(0, 1fr); gap: clamp(2rem, 5vw, 5rem); align-items: center; }
.service-area-layout > div > h2 { margin-top: var(--space-4); }
.service-area-layout > div > .lead { max-width: 54ch; margin-top: var(--space-4); }
.service-map { max-width: 720px; margin-top: var(--space-6); padding: clamp(.75rem, 2vw, 1.25rem); border: 1px solid var(--border); border-radius: var(--radius-lg); background: var(--surface-card); box-shadow: var(--shadow-sm); }
.service-map svg { width: 100%; height: auto; max-height: 680px; overflow: visible; }
.service-map figcaption { padding-top: var(--space-3); border-top: 1px solid var(--border); color: var(--text-faint); font-family: var(--font-mono); font-size: var(--text-xs); letter-spacing: .08em; text-transform: uppercase; }
.service-map__state { fill: var(--warm-100); }
.service-map__outline { fill: none; stroke: var(--warm-700); stroke-width: 2.4; vector-effect: non-scaling-stroke; }
.service-map__region { opacity: .88; }
.service-map__region--av { fill: var(--pine-300); }
.service-map__region--la { fill: var(--clay-300); }
.service-map__region--oc { fill: var(--clay-100); }
.service-map__region-labels { fill: var(--text-strong); font-family: var(--font-mono); font-size: 10px; font-weight: var(--fw-semibold); letter-spacing: .04em; text-transform: uppercase; }
.service-map__community path { fill: none; stroke: var(--warm-400); stroke-width: 1; stroke-dasharray: 2 3; vector-effect: non-scaling-stroke; }
.service-map__community circle { fill: var(--accent); stroke: var(--surface-card); stroke-width: 2; vector-effect: non-scaling-stroke; }
.service-map__community text { fill: var(--text-strong); font-family: var(--font-body); font-size: 15px; font-weight: var(--fw-semibold); }
@media (min-width: 700px) { .lead-choices--two { grid-template-columns: repeat(2, minmax(0, 1fr)); } .lead-fields--two { grid-template-columns: repeat(2, minmax(0, 1fr)); } .lead-compact:not(.lead-compact--side) { grid-template-columns: minmax(0, 1fr) auto; } }
@media (min-width: 860px) { .lead-choices--three { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 940px) { .service-area-layout { grid-template-columns: minmax(0, 1.35fr) minmax(280px, .65fr); } }
@media (max-width: 699px) { .lead-walkthrough__topline { align-items: flex-start; flex-direction: column; } .lead-walkthrough__topline > p { display: none; } .lead-progress { justify-content: space-between; width: 100%; min-width: 0; } .lead-progress__track { flex: 1; width: auto; } .lead-walkthrough__body { min-height: 620px; } .lead-step > h2 { font-size: clamp(2rem, 10vw, 2.8rem); } .lead-choice { min-height: 88px; padding: var(--space-4); } .lead-choice strong { font-size: 1.45rem; } .lead-next, .lead-compact > .btn { width: 100%; } .service-map { margin-inline: calc(var(--gutter) * -.3); } .service-map__region-labels { display: none; } }
@media (prefers-reduced-motion: no-preference) { .lead-step:not([hidden]), .lead-done:not([hidden]) { animation: lead-step-in .34s var(--ease-out) both; } @keyframes lead-step-in { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } } }

/* ---------- Photo placeholder ---------- */
.photo {
  position: relative; overflow: hidden; border-radius: var(--radius-lg);
  background:
    radial-gradient(120% 80% at 70% 18%, rgba(255,238,205,0.85), transparent 55%),
    linear-gradient(157deg, #E9CDA4 0%, #D49A63 38%, #9C6038 68%, #5F4330 100%);
  color: #fff; isolation: isolate;
}
.photo::after { /* fine grain + vignette */
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(140% 120% at 50% 30%, transparent 55%, rgba(40,28,18,0.4) 100%),
    repeating-linear-gradient(45deg, rgba(255,255,255,0.04) 0 1px, transparent 1px 3px);
  mix-blend-mode: overlay;
}
.photo__tag {
  position: absolute; top: var(--space-4); left: var(--space-4); z-index: 2;
  font-family: var(--font-mono); font-size: 0.62rem; letter-spacing: 0.2em; text-transform: uppercase;
  background: rgba(33,27,22,0.55); color: #fff; padding: 5px 10px; border-radius: var(--radius-pill);
  backdrop-filter: blur(4px);
}
.photo__cap {
  position: absolute; left: var(--space-5); right: var(--space-5); bottom: var(--space-5); z-index: 2;
  font-family: var(--font-mono); font-size: 0.7rem; letter-spacing: 0.06em; color: rgba(255,255,255,0.92);
  text-shadow: 0 1px 8px rgba(40,28,18,0.5);
}
.photo--cool { background: linear-gradient(157deg, #CBB89E 0%, #9A8C7C 45%, #6B6258 75%, #41382F 100%); }
.photo--portrait { aspect-ratio: 4/5; }
.photo--wide { aspect-ratio: 16/9; }
.photo--hero { aspect-ratio: auto; }
.photo--square { aspect-ratio: 1/1; }

/* ---------- EMBED SLOT (RealScout drop-in) ---------- */
.embed-slot {
  position: relative; border: 1.5px dashed var(--border-strong); border-radius: var(--radius-lg);
  background:
    repeating-linear-gradient(135deg, transparent 0 14px, color-mix(in oklab, var(--warm-200) 26%, transparent) 14px 15px),
    var(--surface-card);
  display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center;
  padding: var(--space-8) var(--space-6); gap: var(--space-3); color: var(--text-muted);
}
.embed-slot__badge {
  display: inline-flex; align-items: center; gap: var(--space-2);
  font-family: var(--font-mono); font-size: 0.7rem; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--accent-strong); background: var(--accent-tint); border: 1px solid var(--clay-200);
  padding: 6px 12px; border-radius: var(--radius-pill);
}
.embed-slot__label { font-family: var(--font-display); font-size: var(--display-sm); color: var(--text-strong); }
.embed-slot__hint { font-family: var(--font-mono); font-size: var(--text-xs); letter-spacing: 0.04em; color: var(--text-faint); }
.embed-slot--full { min-height: 460px; }
.embed-slot--card { min-height: 300px; padding: var(--space-6) var(--space-5); }
.embed-slot--valuation { min-height: 520px; }
.embed-slot--inline { min-height: 240px; padding: var(--space-6); border-radius: var(--radius-md); }

/* ---------- Cards ---------- */
.card { background: var(--surface-card); border: 1px solid var(--border); border-radius: var(--radius-lg); box-shadow: var(--shadow-sm); }
.card--pad { padding: var(--space-6); }

/* Pathway cards (audience router) */
.pathways { display: grid; gap: var(--space-4); grid-template-columns: 1fr; }
@media (min-width: 560px) { .pathways { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1080px) { .pathways { grid-template-columns: repeat(4, 1fr); } }
@media (min-width: 1080px) { .pathways:has(> :nth-child(2):last-child) { grid-template-columns: repeat(2, minmax(0, 460px)); justify-content: center; gap: var(--space-5); } }
.pathway {
  display: flex; flex-direction: column; background: var(--surface-card);
  border: 1px solid var(--border); border-radius: var(--radius-lg); overflow: hidden;
  box-shadow: var(--shadow-sm); transition: transform var(--dur-base) var(--ease-out), box-shadow var(--dur-base) var(--ease-out), border-color var(--dur-base) var(--ease-out);
}
.pathway:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: var(--border-strong); }
.pathway .photo { border-radius: 0; aspect-ratio: 5/4; transition: transform 0.9s var(--ease-out); }
.pathway:hover .photo { transform: scale(1.05); }
.pathway__body { padding: var(--space-5); display: flex; flex-direction: column; gap: var(--space-3); flex: 1; }
.pathway__num { font-family: var(--font-mono); font-size: var(--text-xs); letter-spacing: 0.16em; color: var(--accent-strong); }
.pathway h3 { font-size: var(--display-sm); }
.pathway p { font-size: var(--text-sm); color: var(--text-muted); flex: 1; }

/* ---------- Stats ---------- */
.stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--space-5) var(--space-4); }
@media (min-width: 760px) { .stats { grid-template-columns: repeat(4, 1fr); } }
.stat__num { font-family: var(--font-display); font-size: clamp(2.6rem, 1.5rem + 3.6vw, 4.4rem); font-weight: var(--fw-regular); color: var(--text-strong); line-height: 1; letter-spacing: var(--tracking-tight); font-variant-numeric: lining-nums tabular-nums; }
.section--ink .stat__num { color: var(--text-on-ink); }
.stat__num .accent { color: var(--accent); }
.stat__label { font-family: var(--font-mono); font-size: var(--text-xs); letter-spacing: 0.12em; text-transform: uppercase; color: var(--text-faint); margin-top: var(--space-3); }
.section--ink .stat__label { color: var(--text-on-ink-faint); }

/* ---------- Reviews strip ---------- */
.stars { display: inline-flex; gap: 3px; color: var(--accent); font-size: 1rem; letter-spacing: 1px; }
.review-strip { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-5); }
.review-chip { display: inline-flex; align-items: center; gap: var(--space-3); font-size: var(--text-sm); }
.review-chip strong { color: var(--text-strong); font-weight: var(--fw-semibold); }

/* ---------- Testimonials ---------- */
.testimonials { display: grid; gap: var(--space-4); grid-template-columns: 1fr; }
@media (min-width: 720px) { .testimonials { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1080px) { .testimonials--3 { grid-template-columns: repeat(3, 1fr); } }
.testimonial { background: var(--surface-card); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: var(--space-6); box-shadow: var(--shadow-sm); display: flex; flex-direction: column; gap: var(--space-4); }
.testimonial__quote { font-family: var(--font-display); font-size: var(--display-sm); font-weight: var(--fw-regular); line-height: var(--leading-snug); color: var(--text-strong); letter-spacing: var(--tracking-snug); }
.testimonial__quote::before { content: "\201C"; color: var(--accent); }
.testimonial__by { display: flex; align-items: center; gap: var(--space-3); margin-top: auto; }
.avatar { width: 44px; height: 44px; border-radius: 50%; flex: none; }
.avatar.photo { border-radius: 50%; }
.testimonial__name { font-weight: var(--fw-semibold); color: var(--text-strong); font-size: var(--text-sm); }
.testimonial__meta { font-size: var(--text-xs); color: var(--text-faint); font-family: var(--font-mono); letter-spacing: 0.04em; }

/* ---------- FAQ ---------- */
.faq { border-top: 1px solid var(--border); }
.faq details { border-bottom: 1px solid var(--border); }
.faq summary { display: flex; align-items: center; justify-content: space-between; gap: var(--space-4); cursor: pointer; list-style: none; padding: var(--space-5) 0; font-family: var(--font-display); font-size: var(--display-sm); color: var(--text-strong); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .pm { flex: none; width: 26px; height: 26px; border: 1.5px solid var(--border-strong); border-radius: 50%; display: grid; place-items: center; transition: transform var(--dur-base) var(--ease-out), background var(--dur-base); font-size: 1rem; color: var(--accent-strong); }
.faq details[open] summary .pm { transform: rotate(45deg); background: var(--accent-tint); }
.faq__a { padding: 0 0 var(--space-5); color: var(--text-muted); font-size: var(--text-md); max-width: 64ch; }

/* ---------- Steps (marketing plan / journey) ---------- */
.steps { display: grid; gap: var(--space-5); counter-reset: step; }
.step { display: grid; grid-template-columns: auto 1fr; gap: var(--space-5); align-items: start; padding-bottom: var(--space-5); border-bottom: 1px solid var(--border); }
.step:last-child { border-bottom: 0; }
.step__num { counter-increment: step; font-family: var(--font-display); font-size: var(--display-md); color: var(--accent); line-height: 1; min-width: 2.2ch; }
.step__num::before { content: counter(step, decimal-leading-zero); }
.step h3 { font-size: var(--display-sm); margin-bottom: var(--space-2); }
.step p { color: var(--text-muted); font-size: var(--text-md); max-width: 60ch; }

/* ---------- Blog / editorial cards (text-first) ---------- */
.post-grid { display: grid; gap: var(--space-5); grid-template-columns: 1fr; }
@media (min-width: 680px) { .post-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1040px) { .post-grid--3 { grid-template-columns: repeat(3, 1fr); } }
.post-card { display: flex; flex-direction: column; gap: var(--space-4); padding: var(--space-6); background: var(--surface-card); border: 1px solid var(--border); border-radius: var(--radius-lg); box-shadow: var(--shadow-xs); transition: box-shadow var(--dur-base) var(--ease-out), transform var(--dur-base) var(--ease-out); height: 100%; }
.post-card:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); }
.post-card__meta { display: flex; align-items: center; gap: var(--space-3); font-family: var(--font-mono); font-size: var(--text-xs); letter-spacing: 0.06em; color: var(--text-faint); text-transform: uppercase; }
.post-card h3 { font-size: var(--display-md); line-height: var(--leading-snug); }
.post-card p { color: var(--text-muted); font-size: var(--text-md); flex: 1; }
.dot { width: 3px; height: 3px; border-radius: 50%; background: var(--warm-400); }

/* Chips / tags / badges */
.chip { display: inline-flex; align-items: center; gap: 6px; font-family: var(--font-mono); font-size: var(--text-xs); letter-spacing: 0.08em; text-transform: uppercase; color: var(--accent-strong); background: var(--accent-tint); border: 1px solid var(--clay-200); padding: 5px 11px; border-radius: var(--radius-pill); }
.chip--neutral { color: var(--text-muted); background: var(--surface-sunken); border-color: var(--border); }
.chip-row { display: flex; flex-wrap: wrap; gap: var(--space-2); }
.badge { display: inline-flex; align-items: center; gap: 6px; font-size: var(--text-xs); font-weight: var(--fw-semibold); padding: 4px 10px; border-radius: var(--radius-sm); }
.badge--trust { background: var(--pine-100); color: var(--pine-700); }
.badge--accent { background: var(--accent-tint); color: var(--accent-press); }

/* ---------- Forms ---------- */
.field { display: flex; flex-direction: column; gap: var(--space-2); }
.field label { font-size: var(--text-sm); font-weight: var(--fw-semibold); color: var(--text-strong); }
.input, .textarea, .select {
  width: 100%; background: var(--surface-card); border: 1.5px solid var(--border-strong);
  border-radius: var(--radius-sm); padding: 0.85rem 1rem; font-size: var(--text-base); color: var(--text-strong);
  transition: border-color var(--dur-base) var(--ease-out), box-shadow var(--dur-base) var(--ease-out);
}
.input::placeholder, .textarea::placeholder { color: var(--text-faint); }
.input:focus, .textarea:focus, .select:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px var(--focus-ring); }
.textarea { min-height: 130px; resize: vertical; }

/* ---------- Footer ---------- */
.site-footer { background: var(--surface-ink); color: var(--text-on-ink-muted); padding-block: var(--space-8) var(--space-6); }
.footer-grid { display: grid; gap: var(--space-7); grid-template-columns: 1fr; }
@media (min-width: 720px) { .footer-grid { grid-template-columns: 1.4fr 1fr 1fr; } }
.site-footer .brand__name { color: var(--text-on-ink); }
.footer-col h4 { font-family: var(--font-mono); font-weight: var(--fw-medium); font-size: 0.72rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--text-on-ink-faint); margin-bottom: var(--space-4); }
.footer-col a { display: block; font-size: var(--text-sm); color: var(--text-on-ink-muted); padding-block: 6px; transition: color var(--dur-base); }
.footer-col a:hover { color: var(--text-on-ink); }
.footer-legal { margin-top: var(--space-8); padding-top: var(--space-5); border-top: 1px solid var(--border-ink); display: flex; flex-wrap: wrap; gap: var(--space-4) var(--space-6); align-items: center; font-size: var(--text-xs); color: var(--text-on-ink-faint); line-height: var(--leading-normal); }
.eho { display: inline-flex; align-items: center; gap: var(--space-3); }
.eho__mark { width: 38px; height: 38px; border: 1.5px solid var(--text-on-ink-faint); border-radius: 4px; display: grid; place-items: center; flex: none; }
.eho__mark svg { width: 22px; height: 22px; }
.dre { font-family: var(--font-mono); letter-spacing: 0.04em; }

/* ---------- Hero (cinematic, full-bleed video) ---------- */
.hero { position: relative; isolation: isolate; }

.hero--cinematic {
  min-height: min(90vh, 880px);
  display: flex; align-items: flex-end;
  padding: clamp(5rem, 11vh, 8rem) 0 clamp(2.2rem, 5vh, 3.4rem);
  overflow: hidden;
  color: var(--text-on-ink);
  background: #16100a;
}
/* The container the section's own ::before atmosphere is meaningless on a dark hero */
.hero--cinematic::before { display: none; }

/* Full-bleed background stack: fallback gradient → video → scrim */
.hero__bg { position: absolute; inset: 0; z-index: 0; overflow: hidden; }
html.js .hero__bg { transform: translate3d(0, var(--plx, 0px), 0); }
.hero__bg-fallback, .hero__video {
  position: absolute; left: -4%; top: -8%; width: 108%; height: 118%;
  object-fit: cover;
}
.hero__bg-fallback {
  z-index: 0;
  /* Dusk over the city — deep warm sky, glowing horizon, city-light haze */
  background:
    radial-gradient(58% 40% at 68% 86%, rgba(255,176,96,0.60), transparent 60%),
    radial-gradient(46% 30% at 20% 94%, rgba(255,110,64,0.42), transparent 64%),
    linear-gradient(195deg, #1b1430 0%, #3a2440 28%, #7c3f33 56%, #c06a35 80%, #f4b258 100%);
  background-blend-mode: screen, screen, normal;
  animation: sbz-kenburns 24s var(--ease-in-out) infinite alternate;
  transform-origin: 64% 78%;
}
.hero__video { z-index: 1; opacity: 0; transition: opacity 1.2s var(--ease-out); }
.hero__video.is-ready { opacity: 1; }
.hero__scrim {
  position: absolute; inset: 0; z-index: 2; pointer-events: none;
  background:
    linear-gradient(7deg, rgba(18,12,7,0.90) 4%, rgba(18,12,7,0.55) 30%, rgba(18,12,7,0.12) 56%, rgba(18,12,7,0) 76%),
    linear-gradient(90deg, rgba(18,12,7,0.62) 0%, rgba(18,12,7,0.18) 42%, transparent 66%),
    radial-gradient(130% 100% at 50% 0%, transparent 58%, rgba(18,12,7,0.5) 100%);
}
@keyframes sbz-kenburns {
  from { transform: scale(1.04) translate3d(0, 0, 0); }
  to   { transform: scale(1.16) translate3d(-1.5%, -1.2%, 0); }
}

/* Content sits in the lower third, anchored left */
.hero__inner { position: relative; z-index: 3; width: 100%; }
.hero__content { max-width: 46ch; }
.hero__content.stack-5 > * + * { margin-top: var(--space-4); }
.hero--cinematic h1.display-2xl {
  color: #fff; max-width: 13ch;
  font-size: clamp(2.5rem, 1.6rem + 3.4vw, 4.4rem); line-height: 1.0;
  text-shadow: 0 2px 34px rgba(10,6,3,0.5);
}
.hero--cinematic .lead { color: rgba(247,239,230,0.92); font-size: var(--text-lg); max-width: 42ch; }
.hero__eyebrow { color: var(--clay-200); }
.hero--cinematic .review-strip { color: rgba(247,239,230,0.9); }
.hero--cinematic .review-chip strong { color: #fff; }
.hero--cinematic .review-chip.dre { color: rgba(247,239,230,0.62); }
.hero--cinematic .stars { color: var(--clay-200); }

/* Glass secondary CTA — premium frosted treatment on the video */
.btn--glass {
  --btn-bg: rgba(255,255,255,0.10); --btn-fg: #fff; --btn-bd: rgba(247,239,230,0.45);
  backdrop-filter: blur(8px) saturate(1.2);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.18);
}
.btn--glass::before { display: none; }
.btn--glass:hover { --btn-bg: rgba(255,255,255,0.18); --btn-bd: rgba(247,239,230,0.7); }
/* Primary CTA gets a warm glow so it reads as THE action on the dark hero */
.hero--cinematic .btn--primary { box-shadow: 0 14px 40px -12px rgba(206,108,53,0.7), var(--shadow-md); }
.hero--cinematic .btn--primary:hover { box-shadow: 0 18px 52px -12px rgba(206,108,53,0.85), var(--shadow-lg); }

/* Scroll cue */
.hero__scroll {
  position: absolute; left: 50%; bottom: clamp(1rem, 3vh, 2rem); z-index: 3;
  transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 10px;
  font-family: var(--font-mono); font-size: 0.6rem; letter-spacing: 0.28em; text-transform: uppercase;
  color: rgba(247,239,230,0.7); pointer-events: none;
}
.hero__scroll-line { width: 1px; height: 42px; background: linear-gradient(rgba(247,239,230,0.7), transparent); position: relative; overflow: hidden; }
@media (prefers-reduced-motion: no-preference) {
  .hero__scroll-line::after {
    content: ""; position: absolute; left: 0; top: -42px; width: 1px; height: 42px;
    background: linear-gradient(var(--clay-200), transparent);
    animation: sbz-scrollcue 2.1s var(--ease-in-out) infinite;
  }
}
@keyframes sbz-scrollcue { 0% { transform: translateY(0); } 60%,100% { transform: translateY(84px); } }
@media (max-width: 760px) { .hero__scroll { display: none; } }

/* Signature moment: golden-hour light drifting across the hero media —
   the dusk the clay accent is drawn from (also the no-video fallback) */
.photo--hero::before {
  content: ""; position: absolute; inset: -45% -35%; z-index: 1; pointer-events: none;
  background: radial-gradient(42% 36% at 32% 34%, rgba(255,226,170,0.55), transparent 70%);
  mix-blend-mode: overlay;
  animation: sbz-goldenhour 26s var(--ease-in-out) infinite alternate;
}
@keyframes sbz-goldenhour {
  from { transform: translate3d(-8%, -6%, 0) scale(1); }
  to   { transform: translate3d(11%, 9%, 0) scale(1.18); }
}
@media (prefers-reduced-motion: reduce) {
  .photo--hero::before, .hero__bg-fallback { animation: none; }
}

/* CMS-editable hint outline (dev aid; toggle .show-cms on body) */
[data-cms] { position: relative; }
body.show-cms [data-cms] { outline: 1.5px dashed var(--clay-300); outline-offset: 4px; }
body.show-cms [data-cms]::after { content: "cms: " attr(data-cms); position: absolute; top: -10px; left: 0; font-family: var(--font-mono); font-size: 9px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--accent-strong); background: var(--surface-page); padding: 1px 5px; border-radius: 3px; z-index: 5; }

/* Utilities */
.stack { display: flex; flex-direction: column; }
.stack-3 > * + * { margin-top: var(--space-3); }
.stack-4 > * + * { margin-top: var(--space-4); }
.stack-5 > * + * { margin-top: var(--space-5); }
.stack-6 > * + * { margin-top: var(--space-6); }
.btn-row { display: flex; flex-wrap: wrap; gap: var(--space-3); }
.grid-2 { display: grid; gap: var(--space-6); grid-template-columns: 1fr; }
@media (min-width: 900px) { .grid-2 { grid-template-columns: 1fr 1fr; align-items: center; } }
.grid-2--media { gap: clamp(2rem, 1rem + 4vw, 5rem); }
.text-center { text-align: center; }
.mt-4 { margin-top: var(--space-4); } .mt-5 { margin-top: var(--space-5); } .mt-6 { margin-top: var(--space-6); } .mt-7 { margin-top: var(--space-7); }
.center-x { margin-inline: auto; }
.maxw-prose { max-width: 60ch; }

/* ---------- Mobile menu ---------- */
.mobile-menu { display: none; border-top: 1px solid var(--border); background: var(--surface-page); padding: var(--space-4) 0 var(--space-6); }
.mobile-menu.open { display: block; }
.mobile-menu .container-wide { display: flex; flex-direction: column; gap: var(--space-1); }
.mobile-menu a.m-link { font-family: var(--font-display); font-size: var(--display-sm); color: var(--text-strong); padding: var(--space-3) 0; border-bottom: 1px solid var(--border); }
.mobile-menu .m-ctas { display: grid; gap: var(--space-3); margin-top: var(--space-5); }
@media (min-width: 1280px) { .mobile-menu { display: none !important; } }

/* ---------- Author byline (E-E-A-T) ---------- */
.byline { display: flex; gap: var(--space-4); align-items: center; padding: var(--space-5) 0; border-block: 1px solid var(--border); }
.byline .avatar { width: 56px; height: 56px; }
.byline__name { font-family: var(--font-display); font-size: var(--display-sm); color: var(--text-strong); }
.byline__role { font-size: var(--text-sm); color: var(--text-muted); }
.byline__creds { display: flex; flex-wrap: wrap; gap: var(--space-2); margin-top: var(--space-2); }

/* ---------- Trust / credential grid ---------- */
.trust-grid { display: grid; gap: var(--space-4); grid-template-columns: 1fr; }
@media (min-width: 620px) { .trust-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1000px) { .trust-grid--4 { grid-template-columns: repeat(4, 1fr); } }
@media (min-width: 1000px) { .trust-grid:has(> :nth-child(3):last-child) { grid-template-columns: repeat(3, 1fr); } }
.trust-item { display: flex; gap: var(--space-4); align-items: flex-start; padding: var(--space-5); background: var(--surface-card); border: 1px solid var(--border); border-radius: var(--radius-md); }
.trust-item__ic { flex: none; width: 42px; height: 42px; border-radius: var(--radius-sm); background: var(--accent-tint); color: var(--accent-strong); display: grid; place-items: center; }
.trust-item__ic svg { width: 22px; height: 22px; }
.trust-item h4 { font-family: var(--font-body); font-size: var(--text-base); font-weight: var(--fw-semibold); color: var(--text-strong); letter-spacing: 0; }
.trust-item p { font-size: var(--text-sm); color: var(--text-muted); margin-top: 4px; }

/* ---------- Article prose ---------- */
.article { font-size: var(--text-lg); line-height: var(--leading-relaxed); color: var(--text-body); }
.article > * + * { margin-top: var(--space-5); }
.article h2 { font-size: var(--display-md); margin-top: var(--space-7); }
.article h3 { font-size: var(--display-sm); margin-top: var(--space-6); }
.article p { text-wrap: pretty; }
.article a { color: var(--link); border-bottom: 1px solid var(--clay-200); }
.article a:hover { color: var(--link-hover); border-color: var(--accent); }
.article blockquote { font-family: var(--font-display); font-size: var(--display-md); line-height: var(--leading-snug); color: var(--text-strong); border-left: 2px solid var(--accent); padding-left: var(--space-5); margin-block: var(--space-7); font-style: italic; }
.article ul { padding-left: 1.2em; list-style: disc; color: var(--text-body); }
.article ul li { margin-top: var(--space-2); padding-left: var(--space-2); }
.article ul li::marker { color: var(--accent); }
.article strong { color: var(--text-strong); font-weight: var(--fw-semibold); }
.drop-cap::first-letter { font-family: var(--font-display); font-size: 3.4em; line-height: 0.8; float: left; padding: 0.05em 0.12em 0 0; color: var(--accent-strong); font-weight: var(--fw-regular); }

/* ---------- Map placeholder ---------- */
.map-slot { position: relative; border-radius: var(--radius-lg); overflow: hidden; min-height: 320px; background:
  linear-gradient(0deg, rgba(33,27,22,0.04), rgba(33,27,22,0.04)),
  repeating-linear-gradient(0deg, var(--warm-100) 0 39px, var(--warm-200) 39px 40px),
  repeating-linear-gradient(90deg, var(--warm-100) 0 39px, var(--warm-200) 39px 40px);
  border: 1px solid var(--border); display: grid; place-items: center; }
.map-slot__pin { display: inline-flex; flex-direction: column; align-items: center; gap: var(--space-2); }
.map-slot__dot { width: 16px; height: 16px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 6px color-mix(in oklab, var(--accent) 22%, transparent), var(--shadow-md); }
.map-slot__label { font-family: var(--font-mono); font-size: var(--text-xs); letter-spacing: 0.08em; text-transform: uppercase; color: var(--text-muted); background: var(--surface-card); padding: 5px 12px; border-radius: var(--radius-pill); border: 1px solid var(--border); }

/* ---------- Contact methods ---------- */
.contact-methods { display: grid; gap: var(--space-4); grid-template-columns: 1fr; }
@media (min-width: 720px) { .contact-methods { grid-template-columns: repeat(3, 1fr); } }
.contact-method { display: flex; flex-direction: column; gap: var(--space-3); padding: var(--space-6); background: var(--surface-card); border: 1px solid var(--border); border-radius: var(--radius-lg); box-shadow: var(--shadow-xs); transition: box-shadow var(--dur-base), transform var(--dur-base); }
.contact-method:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); }
.contact-method__ic { width: 46px; height: 46px; border-radius: 50%; background: var(--accent-tint); color: var(--accent-strong); display: grid; place-items: center; }
.contact-method__ic svg { width: 22px; height: 22px; }
.contact-method h3 { font-family: var(--font-body); font-size: var(--text-base); font-weight: var(--fw-semibold); color: var(--text-strong); letter-spacing: 0; }
.contact-method .big { font-family: var(--font-display); font-size: var(--display-sm); color: var(--text-strong); }

/* ---------- Community cards ---------- */
.community-grid { display: grid; gap: var(--space-5); grid-template-columns: 1fr; }
@media (min-width: 640px) { .community-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1040px) { .community-grid { grid-template-columns: repeat(3, 1fr); } }
.community { display: flex; flex-direction: column; background: var(--surface-card); border: 1px solid var(--border); border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-sm); transition: transform var(--dur-base) var(--ease-out), box-shadow var(--dur-base) var(--ease-out); }
.community:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.community .photo { border-radius: 0; aspect-ratio: 3/2; transition: transform 0.9s var(--ease-out); }
.community:hover .photo { transform: scale(1.05); }
.community__body { padding: var(--space-5); display: flex; flex-direction: column; gap: var(--space-3); flex: 1; }
.community__stat { display: flex; gap: var(--space-5); padding-top: var(--space-3); border-top: 1px solid var(--border); font-size: var(--text-xs); font-family: var(--font-mono); color: var(--text-faint); text-transform: uppercase; letter-spacing: 0.06em; }
.community__stat b { display: block; font-family: var(--font-display); font-size: 1.5rem; color: var(--text-strong); text-transform: none; letter-spacing: 0; margin-bottom: 2px; }
.community h3 { font-size: var(--display-sm); }

/* ============================================================
   ELEVATION — scroll-driven motion system (see HANDOFF "Motion")
   Visible-at-rest is the base state. Hidden styles apply ONLY when
   JS is live (html.js, set before first paint) AND the user allows
   motion. No-JS, print, PDF, and reduced-motion always see content.
   site.js adds .is-in via IntersectionObserver and writes --plx
   from a passive rAF parallax loop (desktop only).
   ============================================================ */
@property --rise { syntax: "<length>"; inherits: false; initial-value: 0px; }
@property --plx  { syntax: "<length>"; inherits: false; initial-value: 0px; }

[data-reveal] { opacity: 1; transform: none; }

@media (prefers-reduced-motion: no-preference) {
  html.js [data-reveal] {
    opacity: 0; --rise: 34px;
    transform: translate3d(0, calc(var(--rise) + var(--plx, 0px)), 0);
    transition: opacity 0.9s var(--ease-out), --rise 0.9s var(--ease-out);
  }
  html.js [data-reveal].is-in { opacity: 1; --rise: 0px; }
  html.js [data-reveal][data-delay="1"] { transition-delay: 0.12s; }
  html.js [data-reveal][data-delay="2"] { transition-delay: 0.24s; }
  html.js [data-reveal][data-delay="3"] { transition-delay: 0.36s; }
}
/* Mobile: shorter, faster — a phone never waits for choreography */
@media (prefers-reduced-motion: no-preference) and (max-width: 760px) {
  html.js [data-reveal] { --rise: 16px; transition-duration: 0.55s; }
  html.js [data-reveal][data-delay="1"] { transition-delay: 0.06s; }
  html.js [data-reveal][data-delay="2"] { transition-delay: 0.12s; }
  html.js [data-reveal][data-delay="3"] { transition-delay: 0.18s; }
}
@media print {
  [data-reveal] { opacity: 1 !important; transform: none !important; }
}
/* Reduced motion: collapse every animation/transition to an instant */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
}

/* ============================================================
   ELEVATION — signature flourishes (homepage choreography + polish)
   All hidden/animated states gated on html.js + motion-allowed, so
   the static fallback (no-JS, print, reduced-motion) is complete.
   ============================================================ */

/* ---- Scroll progress hairline (created by site.js) ---- */
.scroll-progress {
  position: fixed; top: 0; left: 0; right: 0; height: 2px; z-index: calc(var(--z-header) + 2);
  transform: scaleX(0); transform-origin: left center; pointer-events: none;
  background: linear-gradient(90deg, var(--accent), var(--clay-300) 70%, var(--clay-200));
  box-shadow: 0 1px 6px -1px color-mix(in oklab, var(--accent) 50%, transparent);
  will-change: transform;
}

@media (prefers-reduced-motion: no-preference) {
  /* ---- Cinematic hero load-in: each line lifts in sequence ---- */
  html.js .hero [data-hero] {
    opacity: 0; animation: sbz-hero-rise 0.95s var(--ease-out) both;
  }
  html.js .hero [data-hero="1"] { animation-delay: 0.10s; }
  html.js .hero [data-hero="2"] { animation-delay: 0.20s; }
  html.js .hero [data-hero="3"] { animation-delay: 0.46s; }
  html.js .hero [data-hero="4"] { animation-delay: 0.60s; }
  html.js .hero [data-hero="5"] { animation-delay: 0.74s; }
  /* The headline gets a taller, masked rise — the marquee moment */
  html.js .hero h1[data-hero] {
    animation-name: sbz-hero-headline; animation-duration: 1.15s; animation-delay: 0.18s;
  }
  /* Hero media: a slow gallery curtain wipe, then the golden-hour drift */
  html.js .hero__media--reveal {
    animation: sbz-hero-curtain 1.25s var(--ease-out) 0.12s both;
  }

  /* ---- Eyebrow tick draws itself as its section enters ---- */
  html.js [data-reveal] .eyebrow::before,
  html.js [data-reveal] .eyebrow::after,
  html.js [data-reveal].eyebrow::before,
  html.js [data-reveal].eyebrow::after {
    transform: scaleX(0); transform-origin: left center;
    transition: transform 0.7s var(--ease-out) 0.15s;
  }
  html.js [data-reveal].is-in .eyebrow::before,
  html.js [data-reveal].is-in .eyebrow::after,
  html.js [data-reveal].is-in.eyebrow::before,
  html.js [data-reveal].is-in.eyebrow::after { transform: scaleX(1); }
}

/* Mobile hero: shorter throw, quicker cadence */
@media (prefers-reduced-motion: no-preference) and (max-width: 760px) {
  html.js .hero [data-hero] { animation-duration: 0.6s; }
  html.js .hero [data-hero="1"] { animation-delay: 0.06s; }
  html.js .hero [data-hero="2"] { animation-delay: 0.14s; }
  html.js .hero [data-hero="3"] { animation-delay: 0.30s; }
  html.js .hero [data-hero="4"] { animation-delay: 0.40s; }
  html.js .hero [data-hero="5"] { animation-delay: 0.50s; }
  html.js .hero h1[data-hero] { animation-duration: 0.75s; }
  html.js .hero__media--reveal { animation-duration: 0.85s; }
}

@keyframes sbz-hero-rise {
  from { opacity: 0; transform: translate3d(0, 26px, 0); }
  to   { opacity: 1; transform: none; }
}
@keyframes sbz-hero-headline {
  from { opacity: 0; transform: translate3d(0, 0.42em, 0); clip-path: inset(-4% -6% 100% -6%); }
  to   { opacity: 1; transform: none;                       clip-path: inset(-18% -10% -28% -10%); }
}
@keyframes sbz-hero-curtain {
  from { opacity: 0; clip-path: inset(0 0 0 100%); }
  35%  { opacity: 1; }
  to   { opacity: 1; clip-path: inset(0 0 0 0); }
}

/* ---- Pathway cards: a light sweep crosses the image on hover ---- */
.pathway .photo::before {
  content: ""; position: absolute; inset: 0; z-index: 2; pointer-events: none;
  background: linear-gradient(105deg, transparent 38%, rgba(255,255,255,0.28) 50%, transparent 62%);
  transform: translateX(-130%); transition: transform 0.85s var(--ease-out);
}
.pathway:hover .photo::before { transform: translateX(130%); }
.pathway .link-arrow { transition: gap var(--dur-base) var(--ease-out), border-color var(--dur-base) var(--ease-out); }
.pathway:hover .link-arrow { gap: var(--space-3); border-color: var(--accent); }
.pathway:hover .link-arrow .arrow { transform: translateX(4px); }

/* ---- Journal cards: an accent rule draws across the top on hover ---- */
.post-card { position: relative; }
.post-card::after {
  content: ""; position: absolute; left: var(--space-6); right: var(--space-6); top: 0; height: 2px;
  background: linear-gradient(90deg, var(--accent), var(--clay-300));
  transform: scaleX(0); transform-origin: left center;
  transition: transform 0.5s var(--ease-out);
}
.post-card:hover::after { transform: scaleX(1); }

@media print {
  .scroll-progress { display: none !important; }
  [data-hero] { opacity: 1 !important; animation: none !important; }
}

/* Sticky section-heads are a desktop two-column pattern; on mobile the grid collapses
   to one column and a sticky head scrolls over the content below it (Tony 8/11, /sell FAQ). */
@media (max-width: 899px) { .grid-2 > .section-head[style*="sticky"] { position: static !important; } }

/* RealScout widgets — restyled to the SBZ palette (Tony sent embeds 8/11).
   Their generator's colors are overridden here; agent-encoded-id lives in the markup. */
realscout-home-value {
  --rs-hvw-background-color: #FFFDFA;
  --rs-hvw-title-color: #211B16;
  --rs-hvw-subtitle-color: rgba(50, 43, 37, 0.62);
  --rs-hvw-input-text-color: #322B25;
  --rs-hvw-primary-button-text-color: #FFFFFF;
  --rs-hvw-primary-button-color: #A8512B;
  --rs-hvw-secondary-button-text-color: #A8512B;
  --rs-hvw-secondary-button-color: #FFFDFA;
  --rs-hvw-widget-width: auto;
  display: block; width: 100%; min-height: 480px;
}
realscout-simple-search {
  --rs-ss-font-primary-color: #322B25;
  --rs-ss-searchbar-border-color: #E3D6C5;
  --rs-ss-box-shadow: 0 10px 15px -3px rgba(33, 27, 22, 0.08);
  --rs-ss-widget-width: 100% !important;
  display: block; width: 100%; min-height: 96px;
}
@media (max-width: 899px) { realscout-home-value { min-height: 560px; } }

/* Communities index — city jump list filling the hero's right column (Tony 8/11) */
.comm-index-hero__inner { position: relative; }
.comm-index-list { position: absolute; right: clamp(1rem, 4vw, 4rem); bottom: clamp(5rem, 7vw, 6.5rem); }
.comm-index-list ul { list-style: none; margin: 0; padding: 0; columns: 2; column-gap: clamp(1.5rem, 3vw, 3.5rem); }
.comm-index-list li { break-inside: avoid; margin: 0 0 .55rem; }
.comm-index-list a { display: flex; align-items: baseline; gap: .6rem; text-decoration: none;
  font-family: var(--font-display); font-size: clamp(1.15rem, 1.4vw, 1.5rem);
  color: #322B25; border-bottom: 1px solid transparent; transition: color .2s ease; }
.comm-index-list a:hover { color: #A8512B; }
.comm-index__num { font-family: var(--font-mono, monospace); font-size: .65em; letter-spacing: .08em; color: #A8512B; }
html { scroll-behavior: smooth; }
.community-band { scroll-margin-top: 90px; }
@media (max-width: 899px) {
  .comm-index-list { position: static; transform: none; margin: 1.6rem 0 .5rem; }
  .comm-index-list ul { columns: 2; column-gap: 1.5rem; }
  .comm-index-list a { font-size: 1.05rem; }
}

/* Listing-alerts widget → framed card so it reads as a real form (Tony 8/12 screenshot note) */
.rs-alerts .container {
  background: #FFFDFA;
  border: 1.5px solid #E3D6C5;
  border-radius: 18px;
  padding: clamp(2rem, 2vw + 1rem, 3.25rem) clamp(1.25rem, 3vw, 3rem);
  box-shadow: 0 14px 40px -28px rgba(33, 27, 22, 0.35);
}
.rs-alerts realscout-simple-search { margin-top: 1.1rem; }
.rs-alerts .section-head { margin-bottom: 0.4rem; }

/* Address autocomplete (SBZ RE lead walkthrough).
   The list is positioned against the label, which is the nearest positioned ancestor,
   so the panel tracks the input on resize with no JS. */
.lead-fields label { position: relative; }
.lead-ac {
  position: absolute; z-index: 30; left: 0; right: 0; top: 100%;
  margin: .25rem 0 0; padding: .25rem; list-style: none; background: #fff;
  border: 1px solid rgba(2, 24, 145, .22); border-radius: 8px;
  box-shadow: 0 14px 34px -18px rgba(2, 24, 145, .45);
  max-height: 15rem; overflow-y: auto;
}
.lead-ac li { margin: 0; }
.lead-ac button {
  display: block; width: 100%; text-align: left; padding: .6rem .7rem;
  background: none; border: 0; border-radius: 6px; font: inherit; font-size: .95rem;
  color: inherit; cursor: pointer;
}
.lead-ac button:hover,
.lead-ac button:focus-visible { background: rgba(2, 24, 145, .08); outline: none; }
.lead-hint { display: block; margin-top: .35rem; opacity: .7; font-size: .8rem; }
.lead-inline-choices--wrap div { display: flex; flex-wrap: wrap; gap: .5rem; }
/* professions + private-client rework 2026-09-06 */
.private-client-grid .card p a { color: var(--accent-strong); text-decoration: underline; text-underline-offset: .2em; }
.private-client-services a { color: var(--accent-strong); text-decoration: underline; text-underline-offset: .2em; }

/* SBZ Real Estate - FF-DESIGN-1 elevation layer.
 * Loaded after site.css. Content and layout remain complete without this file;
 * motion stays gated by html.js and prefers-reduced-motion in site.css.
 */

/* Coordinated editorial scale. The wide-screen branch deliberately starts at
 * the old 1440px ceiling and continues to scale instead of flattening there. */
.page-sections h1.display-2xl {
  font-size: clamp(2.5rem, 1.6rem + 3.4vw, 4.4rem);
  line-height: 1;
}
.page-sections h1.display-xl {
  font-size: clamp(2.7rem, 1.7rem + 4.4vw, 5.4rem);
  line-height: 1;
}
.page-sections h2.display-lg {
  font-size: clamp(2rem, 1.5rem + 2.5vw, 3.25rem);
  line-height: 1.05;
}
.page-sections h2.display-md {
  font-size: clamp(1.65rem, 1.35rem + 1.5vw, 2.4rem);
  line-height: 1.08;
}
.page-sections .lead {
  font-size: clamp(1.25rem, 1.1rem + .7vw, 1.6rem);
}

@media (min-width: 1440px) {
  .page-sections h1.display-2xl,
  .page-sections h1.display-xl {
    font-size: clamp(4.4rem, calc(2.2rem + 2.45vw), 7rem);
  }
  .page-sections h2.display-lg {
    font-size: clamp(3.25rem, calc(.55rem + 3vw), 4.75rem);
  }
  .page-sections h2.display-md {
    font-size: clamp(2.4rem, calc(.65rem + 1.95vw), 3.5rem);
  }
  .page-sections--post .article h2 {
    font-size: clamp(2.4rem, calc(.65rem + 1.95vw), 3.5rem);
  }
  .page-sections .lead {
    font-size: clamp(1.6rem, calc(1rem + .67vw), 1.85rem);
  }
}

/* Shader hosts. Static gradients are also the no-WebGL fallback. */
.hero--shader,
.route-hero--shader {
  position: relative;
  isolation: isolate;
  overflow: hidden;
}

.hero-shader {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
  background:
    radial-gradient(72% 92% at 82% 16%, rgba(168, 81, 43, .7), transparent 68%),
    radial-gradient(78% 94% at 58% 105%, rgba(76, 67, 58, .5), transparent 72%),
    #faf6f0;
}

.hero-shader::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background:
    linear-gradient(102deg, rgba(250, 246, 240, .91) 0%, rgba(250, 246, 240, .82) 34%, rgba(250, 246, 240, .50) 65%, rgba(250, 246, 240, .28) 100%),
    radial-gradient(68% 96% at 16% 44%, rgba(255, 253, 250, .72), transparent 100%);
}

.hero-shader__renderer,
.hero-shader__canvas,
.hero-shader__static,
.hero-shader__canvas canvas {
  position: absolute !important;
  inset: 0;
  width: 100% !important;
  height: 100% !important;
}

.hero-shader__renderer { z-index: 1; }
.hero-shader__static--grain {
  background:
    radial-gradient(85% 100% at 78% 14%, rgba(168, 81, 43, .86), transparent 62%),
    radial-gradient(74% 86% at 52% 104%, rgba(76, 67, 58, .64), transparent 70%),
    linear-gradient(145deg, #faf6f0, #f1f4f7 52%, #7e3717);
}
.hero-shader__static--blobs {
  background:
    radial-gradient(circle at 78% 22%, #a8512b 0 18%, transparent 38%),
    radial-gradient(circle at 62% 92%, #4c433a 0 22%, transparent 44%),
    radial-gradient(circle at 96% 66%, #7e3717 0 16%, transparent 36%),
    #faf6f0;
}
.hero-shader__static--warp {
  background:
    radial-gradient(82% 96% at 88% 8%, rgba(168, 81, 43, .9), transparent 63%),
    radial-gradient(76% 94% at 58% 102%, rgba(76, 67, 58, .72), transparent 68%),
    radial-gradient(50% 72% at 100% 74%, rgba(126, 55, 23, .65), transparent 66%),
    #faf6f0;
}

@media (prefers-reduced-motion: reduce) {
  .hero-shader,
  .hero-shader * {
    animation: none !important;
    transition: none !important;
  }
}

/* Homepage: the grain shader replaces the legacy gradient/video fallback. */
.hero--shader {
  min-height: min(820px, calc(100svh - 74px));
  align-items: center;
  padding-block: clamp(4rem, 8vw, 7rem);
  color: var(--text-body);
  background: var(--surface-page);
  border-bottom: 1px solid color-mix(in oklab, var(--border) 72%, transparent);
}
.hero--shader .hero__bg { display: none; }
.hero--shader .hero__inner { z-index: 3; }
.hero--shader .hero__content { max-width: 48rem; }
.page-sections .hero--shader h1.display-2xl {
  max-width: 12ch;
  color: var(--text-strong);
  text-shadow: 0 1px 24px rgba(255, 253, 250, .6);
}
.hero--shader .lead { max-width: 40rem; color: var(--text-body); }
.hero--shader .hero__eyebrow { color: var(--accent-strong); }
.hero--shader .review-strip { color: var(--text-body); }
.hero--shader .review-chip strong { color: var(--text-strong); }
.hero--shader .review-chip.dre { color: var(--text-muted); }
.hero--shader .stars { color: var(--accent-strong); }
.hero--shader .btn--glass {
  --btn-bg: rgba(255, 253, 250, .68);
  --btn-fg: var(--text-strong);
  --btn-bd: rgba(76, 67, 58, .32);
  backdrop-filter: blur(12px) saturate(1.08);
  box-shadow: inset 0 1px rgba(255, 255, 255, .72);
}
.hero--shader .hero__scroll { display: none; }

/* Funnel and index heroes keep their original markup while becoming one
 * atmospheric surface. Placeholder media and EmbedSlots remain untouched. */
.route-hero--shader {
  min-height: clamp(560px, 57vw, 760px);
  display: flex;
  align-items: center;
  border-bottom: 1px solid color-mix(in oklab, var(--border) 72%, transparent);
}
.route-hero--shader > .container {
  position: relative;
  z-index: 3;
}
.route-hero--shader h1 { max-width: 12ch; }
.route-hero--shader .lead { max-width: 40rem; color: var(--text-body); }
.route-hero--shader .photo,
.route-hero--shader .embed-slot {
  background-color: rgba(255, 253, 250, .84);
  border-color: rgba(210, 193, 172, .82);
  box-shadow: 0 34px 78px -50px rgba(33, 27, 22, .58), inset 0 1px rgba(255, 255, 255, .72);
  backdrop-filter: blur(13px) saturate(1.04);
}
.route-hero--communities,
.route-hero--blog {
  min-height: clamp(560px, 50vw, 690px);
}
.route-hero--blog .section-head { max-width: 64ch !important; }
.route-hero--blog .chip-row { position: relative; z-index: 3; }

/* Section openers gain an editorial anchor without changing their content. */
.page-sections .section-head {
  max-width: 54rem;
  margin-bottom: clamp(2.5rem, 5vw, 4.5rem);
}
.page-sections .section-head .lead { max-width: 58ch; }
.page-sections .eyebrow:not(.eyebrow--bare)::before {
  width: 32px;
  height: 1px;
}

/* Approved photography inherits the existing card language and stays
 * subordinate to the section copy. Intrinsic ratios reserve every slot. */
.page-sections .sbz-photo {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
  border-color: color-mix(in oklab, var(--border) 82%, transparent);
  box-shadow: 0 24px 60px -46px rgba(33, 27, 22, .72), inset 0 1px rgba(255, 255, 255, .54);
}
.page-sections .sbz-photo--pathway { aspect-ratio: 5 / 4; }
.page-sections .sbz-photo--portrait { aspect-ratio: 4 / 5; }
.page-sections .sbz-photo--community { aspect-ratio: 3 / 2; }
.page-sections .sbz-avatar {
  display: block;
  object-fit: cover;
  border-radius: 50%;
  border: 1px solid color-mix(in oklab, var(--border-strong) 80%, transparent);
  box-shadow: 0 12px 28px -22px rgba(33, 27, 22, .78);
}
.page-sections--home .section--ink .sbz-photo {
  border: 1px solid rgba(244, 236, 226, .18);
  box-shadow: 0 30px 68px -48px rgba(0, 0, 0, .88), inset 0 1px rgba(255, 255, 255, .12);
}

/* Card treatments are mapped directly to the design-system surface roles. */
.page-sections .pathway,
.page-sections .community,
.page-sections .post-card,
.page-sections .contact-method,
.page-sections .testimonial,
.page-sections .card {
  border-color: color-mix(in oklab, var(--border) 82%, transparent);
  box-shadow: 0 18px 48px -42px rgba(33, 27, 22, .72), inset 0 1px rgba(255, 255, 255, .72);
}
.page-sections .pathway,
.page-sections .community {
  border-top: 3px solid color-mix(in oklab, var(--accent) 72%, var(--border));
  border-radius: var(--radius-sm) var(--radius-sm) var(--radius-xl) var(--radius-xl);
}
.page-sections .pathway:nth-child(even),
.page-sections .community:nth-child(even) {
  border-top-color: color-mix(in oklab, var(--pine-500) 68%, var(--border));
}
.page-sections .post-card,
.page-sections .contact-method,
.page-sections .testimonial {
  border-radius: var(--radius-sm) var(--radius-sm) var(--radius-lg) var(--radius-lg);
}
.page-sections .stats {
  gap: 0;
  border-block: 1px solid var(--border);
}
.page-sections .stats > div {
  padding: clamp(1.5rem, 3vw, 2.5rem);
  border-right: 1px solid var(--border);
}
.page-sections .stats > div:last-child { border-right: 0; }
.page-sections .stat__num { font-variant-numeric: lining-nums tabular-nums; }
.page-sections .testimonial {
  border: 0;
  border-top: 1px solid var(--border-strong);
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

/* EmbedSlot remains a visibly bounded placeholder. No simulated widget UI. */
.page-sections .embed-slot {
  border-width: 1.5px;
  box-shadow: inset 0 1px rgba(255, 255, 255, .78), 0 24px 60px -52px rgba(33, 27, 22, .58);
}

/* Ink CTA/authority sections retain the DS ink variant with a cut-paper edge. */
.page-sections .section--ink {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(72% 120% at 92% -12%, rgba(168, 81, 43, .28), transparent 64%),
    linear-gradient(112deg, #211b16 0 68%, #322b25 68% 100%);
}
.page-sections .section--ink::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: repeating-linear-gradient(90deg, transparent 0 79px, rgba(244, 236, 226, .025) 80px);
}
.page-sections .section--ink > .container { position: relative; z-index: 1; }

/* Elevate owns the entrance timing. Siblings stagger in 80ms desktop / 60ms
 * mobile, with hidden states still gated by the existing liveness class. */
@media (prefers-reduced-motion: no-preference) {
  html.js .page-sections [data-reveal] {
    --rise: 28px;
    transition-duration: .78s;
    transition-timing-function: var(--ease-out);
  }
  html.js .page-sections [data-reveal][data-delay="1"] { transition-delay: .08s; }
  html.js .page-sections [data-reveal][data-delay="2"] { transition-delay: .16s; }
  html.js .page-sections [data-reveal][data-delay="3"] { transition-delay: .24s; }

  /* Commissioned imagery settles into place without competing with the
   * existing rise choreography. Reduced-motion keeps the static end state. */
  html.js .page-sections img.sbz-photo[data-reveal],
  html.js .page-sections img.sbz-avatar[data-reveal] {
    transform: translate3d(0, var(--plx, 0px), 0) scale(1.03);
    transition: opacity .78s var(--ease-out), transform .9s var(--ease-out);
  }
  html.js .page-sections img.sbz-photo[data-reveal].is-in,
  html.js .page-sections img.sbz-avatar[data-reveal].is-in {
    transform: translate3d(0, var(--plx, 0px), 0) scale(1);
  }
  html.js .page-sections .pathway:not(.is-in) .sbz-photo,
  html.js .page-sections .community:not(.is-in) .sbz-photo { transform: scale(1.03); }
  html.js .page-sections .pathway.is-in .sbz-photo,
  html.js .page-sections .community.is-in .sbz-photo { transform: scale(1); }
  html.js .page-sections .pathway.is-in:hover .sbz-photo,
  html.js .page-sections .community.is-in:hover .sbz-photo { transform: scale(1.05); }

  .page-sections .pathway,
  .page-sections .community,
  .page-sections .post-card,
  .page-sections .contact-method,
  .page-sections .testimonial,
  .page-sections .card {
    transition: transform .3s var(--ease-out), box-shadow .3s var(--ease-out), border-color .3s var(--ease-out);
  }
  .page-sections .pathway:hover,
  .page-sections .community:hover,
  .page-sections .post-card:hover,
  .page-sections .contact-method:hover,
  .page-sections .testimonial:hover,
  .page-sections .card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
  }
}

@media (prefers-reduced-motion: no-preference) and (max-width: 760px) {
  html.js .page-sections [data-reveal] { --rise: 14px; transition-duration: .5s; }
  html.js .page-sections [data-reveal][data-delay="1"] { transition-delay: .06s; }
  html.js .page-sections [data-reveal][data-delay="2"] { transition-delay: .12s; }
  html.js .page-sections [data-reveal][data-delay="3"] { transition-delay: .18s; }
}

@media (max-width: 899px) {
  .hero--shader,
  .route-hero--shader {
    min-height: auto;
    padding-block: 4rem;
  }
  .hero-shader::after {
    background:
      linear-gradient(180deg, rgba(250, 246, 240, .80) 0%, rgba(250, 246, 240, .74) 55%, rgba(250, 246, 240, .67) 100%),
      radial-gradient(90% 70% at 10% 18%, rgba(255, 253, 250, .38), transparent 74%);
  }
  .route-hero--shader h1,
  .hero--shader h1 { max-width: 11ch; }
  .route-hero--shader .photo,
  .route-hero--shader .embed-slot { backdrop-filter: blur(9px); }
  .page-sections .stats { grid-template-columns: 1fr 1fr; }
  .page-sections .stats > div:nth-child(2) { border-right: 0; }
  .page-sections .stats > div:nth-child(-n+2) { border-bottom: 1px solid var(--border); }
}

@media (max-width: 560px) {
  .hero--shader { padding-block: 3.25rem 4rem; }
  .route-hero--shader { padding-block: 3.5rem; }
  .route-hero--blog { padding-bottom: 4rem; }
  .route-hero--shader .grid-2 { gap: 3rem; }
  .page-sections .stats { grid-template-columns: 1fr; }
  .page-sections .stats > div {
    border-right: 0;
    border-bottom: 1px solid var(--border);
  }
  .page-sections .stats > div:last-child { border-bottom: 0; }
}

@media print {
  .hero-shader { display: none !important; }
  .hero--shader,
  .route-hero--shader { background: var(--surface-page) !important; }
}

/* ============================================================
   SBZRE-SCALE-3: pinned luxury-retail poster choreography.
   The no-JS state is the complete settled composition. elevate.js
   writes phase variables from the existing passive rAF scrub loop.
   ============================================================ */

.moment {
  --moment-p: 1;
  --fill-p: 1;
  --photo-type-p: 0;
  --solid-type-p: 1;
  --veil-p: .12;
  --mid-p: 1;
  --settle-p: 1;
  --type-x: 0vw;
  --type-y: 0svh;
  position: relative;
  height: 320svh;
  min-height: 92rem;
  overflow: clip;
  background: var(--surface-ink);
}
.moment__stage {
  position: sticky;
  top: 0;
  height: 100vh;
  height: 100svh;
  overflow: hidden;
  display: flex;
  align-items: stretch;
  isolation: isolate;
  background: #17120f;
}
.moment__bg {
  position: absolute;
  inset: -7svh -2vw;
  z-index: 0;
  width: 104vw;
  height: calc(100% + 14svh);
  max-width: none;
  object-fit: cover;
  will-change: transform;
}
.moment--buy .moment__bg { object-position: 50% 62%; }
.moment--sell .moment__bg { object-position: 50% 54%; }
.moment__scrim,
.moment__photo-veil {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.moment__scrim { z-index: 1; }
.moment__photo-veil {
  z-index: 2;
  opacity: var(--veil-p);
  background: #110d0a;
  will-change: opacity;
}
.moment--buy .moment__scrim {
  background:
    linear-gradient(0deg, rgba(13, 9, 6, .91) 0%, rgba(13, 9, 6, .50) 36%, rgba(13, 9, 6, .09) 74%),
    linear-gradient(92deg, rgba(13, 9, 6, .52) 0%, rgba(13, 9, 6, .12) 58%, rgba(13, 9, 6, .28) 100%),
    radial-gradient(96% 72% at 18% 88%, rgba(20, 13, 8, .48), transparent 70%);
}
.moment--sell .moment__scrim {
  background:
    linear-gradient(0deg, rgba(12, 9, 7, .90) 0%, rgba(12, 9, 7, .43) 43%, rgba(12, 9, 7, .10) 76%),
    linear-gradient(270deg, rgba(12, 9, 7, .58) 0%, rgba(12, 9, 7, .08) 60%, rgba(12, 9, 7, .30) 100%),
    radial-gradient(88% 72% at 82% 80%, rgba(18, 12, 8, .50), transparent 72%);
}
.moment__mid {
  position: absolute;
  inset: 0;
  z-index: 3;
  overflow: hidden;
  pointer-events: none;
  opacity: calc(.2 + var(--mid-p) * .8);
  transform: translate3d(0, calc(5svh - var(--mid-p) * 8svh), 0);
  will-change: transform, opacity;
}
.moment__index {
  position: absolute;
  top: 4svh;
  color: rgba(255, 248, 239, .11);
  font-family: var(--font-display);
  font-size: clamp(17rem, 43vw, 40rem);
  font-weight: var(--fw-medium);
  line-height: .8;
  letter-spacing: -.09em;
  white-space: nowrap;
}
.moment--buy .moment__index { right: -3vw; }
.moment--sell .moment__index { left: -6vw; }
.moment__frame {
  position: absolute;
  inset: clamp(1.25rem, 4vw, 4rem);
  border: 1px solid rgba(255, 248, 239, .30);
  opacity: calc(.2 + var(--mid-p) * .8);
  transform: scale3d(calc(.94 + var(--mid-p) * .06), calc(.94 + var(--mid-p) * .06), 1);
  will-change: transform, opacity;
}
.moment--sell .moment__frame {
  inset: clamp(1.25rem, 4vw, 4rem) clamp(2rem, 8vw, 8rem);
  border-color: rgba(255, 248, 239, .38);
}
.moment__content.container-wide {
  position: relative;
  z-index: 4;
  width: 100%;
  height: 100%;
  max-width: none;
  padding: clamp(5rem, 10svh, 8rem) clamp(.75rem, 2.2vw, 2.5rem) clamp(3rem, 7svh, 6rem);
  display: flex;
  flex-direction: column;
  justify-content: center;
  transform: translate3d(var(--type-x), var(--type-y), 0);
  will-change: transform;
}
.moment__words {
  width: 100%;
  color: #fff8ef;
  font-size: clamp(76px, 20vw, 19rem);
  line-height: .69;
  letter-spacing: -.065em;
  font-weight: var(--fw-medium);
  text-shadow: 0 3px 40px rgba(8, 5, 3, .62), 0 1px 2px rgba(8, 5, 3, .56);
  text-wrap: nowrap;
  transform: scale3d(calc(.985 + var(--settle-p) * .015), 1, 1);
  transform-origin: center center;
  will-change: transform;
}
.moment--sell .moment__words {
  font-size: clamp(72.5px, 18.6vw, 17.5rem);
  line-height: .72;
}
.moment__line,
.moment__mask { display: block; }
.moment__line:first-child { text-align: left; }
.moment__line--indent { text-align: right; }
.moment__mask {
  overflow: hidden;
  padding-block: .12em .11em;
  margin-block: -.12em -.11em;
}
.moment__word {
  --word-p: 1;
  --word-x: 0vw;
  position: relative;
  display: inline-block;
  opacity: calc(.72 + var(--word-p) * .28);
  transform: translate3d(var(--word-x), calc((1 - var(--word-p)) * .24em), 0);
  will-change: transform, opacity;
}
.moment__word-base,
.moment__word-solid,
.moment__word-photo { display: block; }
.moment__word-base {
  color: rgba(255, 248, 239, .22);
  -webkit-text-stroke: 1px rgba(255, 248, 239, .92);
}
.moment__fill-window,
.moment__word-photo {
  position: absolute;
  inset: 0;
}
.moment__fill-window {
  overflow: hidden;
  opacity: var(--solid-type-p);
  transform: translate3d(calc((var(--fill-p) - 1) * 100%), 0, 0);
  will-change: transform, opacity;
}
.moment__word-solid {
  color: #fff8ef;
  transform: translate3d(calc((1 - var(--fill-p)) * 100%), 0, 0);
  will-change: transform;
}
.moment__word-photo {
  color: #fff8ef;
  opacity: var(--photo-type-p);
  text-shadow: 0 2px 1px rgba(255, 248, 239, .20), 0 10px 44px rgba(0, 0, 0, .72);
  will-change: opacity;
}
@supports ((-webkit-background-clip: text) or (background-clip: text)) {
  .moment__word-photo {
    color: transparent;
    -webkit-text-fill-color: transparent;
    background-image:
      linear-gradient(rgba(255, 255, 255, .10), rgba(255, 255, 255, .10)),
      var(--moment-photo);
    background-size: 100vw 116svh;
    background-repeat: no-repeat;
    -webkit-background-clip: text;
    background-clip: text;
    filter: saturate(1.28) brightness(1.34) contrast(1.12);
  }
  .moment--buy .moment__word-photo { background-position: 48% 63%; }
  .moment--sell .moment__word-photo { background-position: 52% 48%; }
}
.moment--buy .moment__line:first-child { padding-left: .01em; }
.moment--buy .moment__line--indent { padding-right: .045em; }
.moment--sell .moment__line:first-child { padding-left: 4vw; }
.moment--sell .moment__line--indent { padding-right: .035em; }
.moment__foot {
  display: grid;
  grid-template-columns: minmax(3rem, 16vw) minmax(0, 34rem);
  gap: clamp(1rem, 2vw, 2rem);
  align-items: center;
  margin-top: clamp(1.25rem, 3.5svh, 3rem);
}
.moment__rule {
  display: block;
  width: 100%;
  height: 1px;
  background: rgba(255, 248, 239, .72);
  transform: scaleX(calc(.12 + var(--settle-p) * .88));
  transform-origin: left center;
  will-change: transform, opacity;
}
.moment--sell .moment__rule {
  width: clamp(5rem, 22vw, 20rem);
  margin: clamp(1.5rem, 3svh, 3rem) 0 0 auto;
  transform-origin: right center;
}
.moment__sub {
  max-width: 34rem;
  color: rgba(255, 248, 239, .94);
  font-size: clamp(1rem, 1.35vw, 1.32rem);
  line-height: 1.4;
  letter-spacing: .015em;
  opacity: calc(.15 + var(--settle-p) * .85);
  transform: translate3d(0, calc((1 - var(--settle-p)) * 1.4rem), 0);
  text-shadow: 0 2px 18px rgba(8, 5, 3, .76);
  will-change: transform, opacity;
}

@media (prefers-reduced-motion: no-preference) {
  html.js .moment__bg {
    transform: translate3d(calc(var(--moment-p) * -1.4vw), calc(4.2svh - var(--moment-p) * 8.4svh), 0) scale(calc(1.015 + var(--moment-p) * .085));
  }
}

@media (max-width: 700px) {
  .moment {
    height: 270svh;
    min-height: 72rem;
  }
  .moment__content.container-wide {
    padding: max(5.25rem, 11svh) .5rem max(4.75rem, 9svh);
  }
  .moment--buy .moment__words {
    font-size: clamp(76px, 20vw, 5.5rem);
    line-height: .73;
  }
  .moment--sell .moment__words {
    font-size: clamp(72.5px, 18.6vw, 5.25rem);
    line-height: .76;
  }
  .moment--sell .moment__line:first-child { padding-left: .08em; }
  .moment__foot {
    grid-template-columns: 3rem minmax(0, 1fr);
    margin-top: 1.65rem;
    padding-inline: .5rem;
  }
  .moment__sub { max-width: 18rem; font-size: 1rem; }
  .moment__frame { inset: 1rem; }
  .moment--sell .moment__frame { inset: 1rem 1.4rem; }
  .moment__index { top: 10svh; font-size: clamp(14rem, 78vw, 21rem); }
  .moment--buy .moment__bg { object-position: 51% 58%; }
  .moment--sell .moment__bg { object-position: 50% 50%; }
  @supports ((-webkit-background-clip: text) or (background-clip: text)) {
    .moment__word-photo { background-size: 108vw 116svh; }
  }
}

/* ============================================================
   SBZRE-SCALE-3B: the home flow band extends the poster language.
   The complete no-JS state is solid and settled; elevate.js scrubs
   the same outline/fill/photo phases and differential layer motion.
   ============================================================ */
.flowband {
  --band-p: 1;
  --band-fill-p: 1;
  --band-photo-type-p: 0;
  --band-solid-type-p: 1;
  --band-title-x: 0vw;
  --band-title-y: 0svh;
  --band-track-y: 0svh;
  --band-bg-x: -1.6vw;
  --band-bg-y: -2.5svh;
  --band-photo-x: -7%;
  --band-tracking: -.02em;
  position: relative;
  height: 280vh;
  overflow: clip;
  background: var(--surface-ink);
}
.flowband__stage {
  position: sticky;
  top: 0;
  height: 100vh;
  height: 100dvh;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: center;
  isolation: isolate;
  background: var(--surface-ink);
}
.flowband__stage::before {
  content: "";
  position: absolute;
  inset: -12svh -8vw;
  z-index: 0;
  background:
    radial-gradient(72% 92% at 86% 10%, rgba(206, 144, 107, .22), transparent 60%),
    radial-gradient(60% 78% at 12% 92%, rgba(102, 73, 56, .20), transparent 68%),
    linear-gradient(112deg, #17120f 0%, var(--surface-ink) 54%, #1b1410 100%);
  transform: translate3d(var(--band-bg-x), var(--band-bg-y), 0) scale3d(1.05, 1.05, 1);
  will-change: transform;
}
.flowband__head {
  position: relative;
  z-index: 2;
  margin-bottom: clamp(-3.6rem, -3vw, -0.8rem);
  pointer-events: none;
  transform: translate3d(var(--band-title-x), var(--band-title-y), 0);
  will-change: transform;
}
.flowband__title {
  color: #fff8ef;
  font-size: clamp(56px, 11.5vw, 172px);
  line-height: .94;
  letter-spacing: var(--band-tracking);
  font-weight: var(--fw-medium);
  text-shadow: 0 2px 34px rgba(0, 0, 0, .58);
}
.flowband__title-layer {
  position: relative;
  display: block;
}
.flowband__title-base,
.flowband__title-solid,
.flowband__title-photo { display: block; }
.flowband__title-base {
  color: rgba(255, 248, 239, .18);
  -webkit-text-stroke: 1px rgba(255, 248, 239, .94);
}
.flowband__fill-window,
.flowband__title-photo {
  position: absolute;
  inset: 0;
}
.flowband__fill-window {
  overflow: hidden;
  opacity: var(--band-solid-type-p);
  transform: translate3d(calc((var(--band-fill-p) - 1) * 100%), 0, 0);
  will-change: transform, opacity;
}
.flowband__title-solid {
  color: #fff8ef;
  transform: translate3d(calc((1 - var(--band-fill-p)) * 100%), 0, 0);
  will-change: transform;
}
.flowband__title-photo {
  color: #fff8ef;
  opacity: var(--band-photo-type-p);
  text-shadow: 0 2px 1px rgba(255, 248, 239, .18), 0 12px 42px rgba(0, 0, 0, .78);
  will-change: opacity;
}
@supports ((-webkit-background-clip: text) or (background-clip: text)) {
  .flowband__title-photo {
    color: transparent;
    -webkit-text-fill-color: transparent;
    background-image:
      linear-gradient(rgba(255, 255, 255, .08), rgba(255, 255, 255, .08)),
      var(--flowband-photo);
    background-size: 108vw 78svh;
    background-position: calc(50% + var(--band-photo-x)) 52%;
    background-repeat: no-repeat;
    -webkit-background-clip: text;
    background-clip: text;
    filter: saturate(1.24) brightness(1.42) contrast(1.12);
  }
}
.flowband__track {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: flex-start;
  gap: clamp(.9rem, 1.8vw, 1.75rem);
  padding-inline: var(--gutter);
  padding-top: clamp(1rem, 2.5vh, 2rem);
  will-change: transform;
}
.flowband__track img {
  flex: none;
  height: clamp(260px, 56vh, 620px);
  width: auto;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(244, 236, 226, .14);
  box-shadow: 0 30px 68px -48px rgba(0, 0, 0, .85);
}
.flowband__track img:nth-child(even) {
  height: clamp(220px, 46vh, 520px);
  margin-top: clamp(1.2rem, 4vh, 3rem);
}

@media (max-width: 700px) {
  @supports ((-webkit-background-clip: text) or (background-clip: text)) {
    .flowband__title-photo { background-size: 190vw 72svh; }
  }
}

@media (min-width: 701px) {
  .flowband__head { top: clamp(1rem, 2.8vw, 2.5rem); }
}

/* ---- Home hero steps up a size class ---- */
.page-sections--home .hero--shader h1.display-2xl {
  font-size: clamp(3.1rem, 1.9rem + 5.8vw, 6.6rem);
  max-width: 13ch;
}
@media (min-width: 1440px) {
  .page-sections--home .hero--shader h1.display-2xl {
    font-size: clamp(6.6rem, calc(2rem + 3.6vw), 8rem);
  }
}

/* ---- Continuous scroll drift layered onto revealed content (desktop) ---- */
@media (prefers-reduced-motion: no-preference) {
  html.js .page-sections [data-reveal] {
    transform: translate3d(0, calc(var(--rise, 0px) + var(--plx, 0px) + var(--flow, 0px)), 0);
  }
}

/* ---- Reduced motion: moments and band go fully static, still composed ---- */
@media (prefers-reduced-motion: reduce) {
  .moment { height: auto; }
  .moment__stage {
    position: relative;
    height: auto;
    min-height: 100vh;
    min-height: 100svh;
  }
  .moment__bg { transform: none !important; }
  .moment__words { clip-path: none !important; transform: none !important; }
  .moment__word,
  .moment__sub,
  .moment__rule { opacity: 1 !important; transform: none !important; }
  .flowband {
    --band-fill-p: 1;
    --band-photo-type-p: 0;
    --band-solid-type-p: 1;
    --band-title-x: 0vw;
    --band-title-y: 0svh;
    --band-track-y: 0svh;
    --band-bg-x: 0vw;
    --band-bg-y: 0svh;
    --band-tracking: -.02em;
    height: auto;
  }
  .flowband__stage {
    position: relative;
    height: auto;
    padding-block: var(--section-y);
    overflow: visible;
  }
  .flowband__stage::before { transform: none !important; }
  .flowband__head { margin-bottom: clamp(1.5rem, 4vw, 3rem); }
  .flowband__track {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    align-items: stretch;
    transform: none !important;
  }
  .flowband__track img,
  .flowband__track img:nth-child(even) {
    width: 100%;
    height: auto;
    margin-top: 0;
    aspect-ratio: 3 / 2;
  }
}

@media (prefers-reduced-motion: reduce) and (max-width: 700px) {
  .flowband__track { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media print {
  .moment,
  .flowband { height: auto; }
  .moment__stage,
  .flowband__stage { position: relative; height: auto; }
}

/* ============================================================
   SBZRE-COMM-1 — editorial community reports.
   Full-bleed chapters replace the legacy equal-card directory;
   market figures are tabular, unboxed, and visually primary.
   ============================================================ */
.page-sections--communities,
.page-sections--community-palmdale,
.page-sections--community-lancaster,
.page-sections--community-quartz-hill,
.page-sections--community-santa-clarita {
  background: #f5efe6;
}

.comm-index-hero {
  min-height: calc(70dvh - 84px);
  padding-block: clamp(3.5rem, 6vw, 6rem) clamp(4rem, 8vw, 7rem);
  display: flex;
  align-items: flex-end;
  background:
    radial-gradient(80% 110% at 94% -10%, rgba(170, 97, 59, .13), transparent 62%),
    #f5efe6;
}
.comm-index-hero__inner { display: grid; gap: clamp(2.5rem, 5vw, 5rem); }
.comm-index-hero h1 {
  max-width: 9.5ch;
  font-size: clamp(4.2rem, 11.2vw, 10.5rem);
  line-height: .78;
  letter-spacing: -.055em;
  font-weight: var(--fw-medium);
}
.comm-index-hero h1 em { color: var(--accent-strong); font-weight: inherit; }
.comm-index-hero__foot {
  display: grid;
  grid-template-columns: minmax(0, 34rem) auto;
  justify-content: space-between;
  align-items: end;
  gap: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border-strong);
}
.comm-index-hero__foot p { font-size: clamp(1.15rem, 1.5vw, 1.45rem); line-height: 1.4; }
.comm-index-hero__foot span,
.community-band__period {
  font-family: var(--font-mono);
  font-size: .68rem;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.community-bands { background: var(--surface-ink); }
.community-band {
  position: relative;
  isolation: isolate;
  min-height: clamp(680px, 92dvh, 940px);
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  border-bottom: 1px solid rgba(244, 236, 226, .14);
}
.community-band > img {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  object-position: center;
  transform: scale(1.012);
  transition: transform 1.1s var(--ease-out), filter .6s var(--ease-out);
}
.community-band:nth-child(even) > img { object-position: 65% center; }
.community-band:hover > img { transform: scale(1.035); filter: saturate(1.04); }
.community-band__scrim {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(17, 13, 9, .86) 0%, rgba(17, 13, 9, .62) 42%, rgba(17, 13, 9, .16) 78%),
    linear-gradient(0deg, rgba(17, 13, 9, .76), transparent 56%);
}
.community-band:nth-child(even) .community-band__scrim {
  background:
    linear-gradient(-90deg, rgba(17, 13, 9, .86) 0%, rgba(17, 13, 9, .62) 42%, rgba(17, 13, 9, .16) 78%),
    linear-gradient(0deg, rgba(17, 13, 9, .76), transparent 56%);
}
.community-band__content {
  padding-block: clamp(4rem, 8vw, 7rem);
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(28rem, .8fr);
  grid-template-areas: "name stats" "link period";
  align-items: end;
  gap: 3rem clamp(4rem, 8vw, 9rem);
  color: var(--text-on-ink);
}
.community-band:nth-child(even) .community-band__content {
  grid-template-columns: minmax(28rem, .8fr) minmax(0, 1.2fr);
  grid-template-areas: "stats name" "period link";
  text-align: right;
}
.community-band__name { grid-area: name; }
.community-band__name span {
  display: block;
  margin-bottom: .8rem;
  font-family: var(--font-mono);
  font-size: .7rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: rgba(244, 236, 226, .72);
}
.community-band__name h2 {
  color: var(--text-on-ink);
  font-size: clamp(4.5rem, 9.5vw, 9.5rem);
  line-height: .76;
  letter-spacing: -.045em;
}
.community-band__stats {
  grid-area: stats;
  display: grid;
  gap: 1rem;
  border-top: 1px solid rgba(244, 236, 226, .36);
  padding-top: 1.5rem;
}
.community-band__stats > div { display: grid; grid-template-columns: 1fr auto; gap: 1rem; align-items: baseline; }
.community-band__stats dt {
  font-family: var(--font-mono);
  font-size: .67rem;
  letter-spacing: .07em;
  text-transform: uppercase;
  color: rgba(244, 236, 226, .65);
}
.community-band__stats dd {
  font-family: var(--font-display);
  font-size: clamp(2rem, 3.5vw, 3.6rem);
  line-height: .9;
  font-variant-numeric: lining-nums tabular-nums;
}
.community-band__link {
  grid-area: link;
  width: fit-content;
  padding-bottom: .3rem;
  border-bottom: 1px solid rgba(244, 236, 226, .65);
  font-weight: var(--fw-semibold);
  transition: border-color .25s ease, color .25s ease;
}
.community-band:nth-child(even) .community-band__link { justify-self: end; }
.community-band__link:hover { color: var(--accent-on-dark); border-color: var(--accent-on-dark); }
.community-band__period { grid-area: period; color: rgba(244, 236, 226, .58); text-align: right; }
.community-band:nth-child(even) .community-band__period { text-align: left; }

.community-hero {
  position: relative;
  isolation: isolate;
  min-height: min(900px, calc(92dvh - 84px));
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  background: var(--surface-ink);
}
.community-hero__image {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
}
.page-sections--community-santa-clarita .community-hero__image { object-position: center 58%; }
.community-hero__scrim {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(18deg, rgba(16, 12, 9, .92) 5%, rgba(16, 12, 9, .46) 48%, rgba(16, 12, 9, .08) 77%),
    linear-gradient(90deg, rgba(16, 12, 9, .38), transparent 64%);
}
.community-hero__inner { padding-block: clamp(4rem, 9vw, 8rem); color: var(--text-on-ink); }
.community-hero__back {
  display: block;
  width: fit-content;
  margin-bottom: clamp(4rem, 10vh, 8rem);
  padding-bottom: .2rem;
  border-bottom: 1px solid rgba(244, 236, 226, .56);
  font-size: var(--text-sm);
}
.community-hero .eyebrow { color: var(--accent-on-dark); }
.community-hero h1 {
  color: var(--text-on-ink);
  margin: .35rem 0 1.5rem;
  font-size: clamp(5rem, 15vw, 13rem);
  line-height: .72;
  letter-spacing: -.055em;
  text-shadow: 0 3px 44px rgba(0, 0, 0, .35);
}
.community-hero__inner > p:last-child {
  max-width: 42rem;
  font-size: clamp(1.15rem, 1.65vw, 1.5rem);
  line-height: 1.4;
  color: rgba(244, 236, 226, .88);
}

.market-report { padding-block: clamp(7rem, 13vw, 13rem); }
.market-report__head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  gap: 3rem;
  margin-bottom: clamp(4rem, 7vw, 7rem);
}
.market-report__head h2 {
  max-width: 10ch;
  margin-top: 1rem;
  font-size: clamp(3.4rem, 7vw, 7rem);
  line-height: .86;
  letter-spacing: -.045em;
}
.market-report__period { text-align: right; padding-bottom: .6rem; }
.market-report__period strong { display: block; font-family: var(--font-display); font-size: 2rem; color: var(--text-strong); }
.market-report__period span { font-family: var(--font-mono); font-size: .67rem; letter-spacing: .07em; text-transform: uppercase; color: var(--text-muted); }
.market-boundary-note {
  max-width: 54rem;
  margin: -2rem 0 4rem auto;
  padding-left: 1.25rem;
  border-left: 2px solid var(--accent);
  color: var(--text-muted);
}
.market-ledger {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  border-top: 1px solid var(--border-strong);
  margin-bottom: clamp(6rem, 10vw, 10rem);
}
.market-ledger > div {
  grid-column: span 3;
  min-width: 0;
  padding: 1.3rem 1.5rem 2.4rem 0;
  border-bottom: 1px solid var(--border);
}
.market-ledger > .market-ledger__primary {
  grid-column: span 6;
  padding-block: clamp(2rem, 4vw, 4rem);
}
.market-ledger dt {
  min-height: 2.5em;
  font-family: var(--font-mono);
  font-size: .68rem;
  letter-spacing: .075em;
  line-height: 1.35;
  text-transform: uppercase;
  color: var(--text-muted);
}
.market-ledger dd {
  margin-block: .55rem .4rem;
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 5vw, 5.2rem);
  line-height: .88;
  letter-spacing: -.035em;
  color: var(--text-strong);
  font-variant-numeric: lining-nums tabular-nums;
}
.market-ledger__primary dd { font-size: clamp(4.2rem, 8.5vw, 8.5rem); }
.market-ledger span { font-size: var(--text-xs); color: var(--text-muted); }

.market-charts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(2rem, 5vw, 5rem); }
.market-chart {
  min-width: 0;
  padding-block: 1.4rem 1rem;
  border-block: 1px solid var(--border-strong);
}
.market-chart--wide { grid-column: 1 / -1; margin-top: clamp(2rem, 4vw, 4rem); }
.market-chart__head { display: flex; justify-content: space-between; gap: 1.5rem; align-items: baseline; }
.market-chart figcaption { font-weight: var(--fw-semibold); color: var(--text-strong); }
.market-chart__head > span,
.market-chart__axis {
  font-family: var(--font-mono);
  font-size: .65rem;
  letter-spacing: .05em;
  text-transform: uppercase;
  color: var(--text-muted);
}
.market-sparkline { width: 100%; height: auto; margin-block: clamp(2rem, 5vw, 4rem) 1rem; overflow: visible; }
.market-sparkline__baseline { fill: none; stroke: var(--border); stroke-width: 1; vector-effect: non-scaling-stroke; }
.market-sparkline__line { fill: none; stroke: var(--accent-strong); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; vector-effect: non-scaling-stroke; }
.market-sparkline__point { fill: var(--accent-strong); stroke: #f5efe6; stroke-width: 3; vector-effect: non-scaling-stroke; }
.market-chart__axis { display: flex; justify-content: space-between; }

.living-here { padding-block: clamp(8rem, 16vw, 16rem); background: #ded4c7; }
.living-here__grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(4rem, 12vw, 12rem); align-items: start; }
.living-here h2 {
  max-width: 9ch;
  margin-top: 1.2rem;
  font-size: clamp(3.7rem, 7vw, 7.4rem);
  line-height: .86;
  letter-spacing: -.045em;
}
.living-here__copy { max-width: 42rem; padding-top: clamp(4rem, 10vw, 9rem); }
.living-here__copy p { font-size: clamp(1.15rem, 1.5vw, 1.4rem); line-height: 1.65; }
.living-here__copy p + p { margin-top: 2rem; }

.comm-outcome { padding-block: clamp(8rem, 15vw, 15rem); }
.comm-outcome__inner { display: grid; grid-template-columns: minmax(0, 1fr) minmax(20rem, .45fr); gap: 2rem clamp(4rem, 10vw, 10rem); align-items: end; }
.comm-outcome .eyebrow { grid-column: 1 / -1; }
.comm-outcome h2 {
  max-width: 12ch;
  color: var(--text-on-ink);
  font-size: clamp(3.8rem, 8vw, 8rem);
  line-height: .84;
  letter-spacing: -.045em;
}
.comm-outcome__inner > p:not(.eyebrow) { color: var(--text-on-ink-muted); font-size: var(--text-lg); }
.comm-outcome__links { grid-column: 2; display: flex; flex-wrap: wrap; gap: 1.5rem; }
.comm-outcome__links a { padding-bottom: .3rem; border-bottom: 1px solid var(--accent-on-dark); color: var(--text-on-ink); font-weight: var(--fw-semibold); }
.market-attribution { padding-block: 1.2rem; border-top: 1px solid var(--border); background: #f5efe6; color: var(--text-muted); font-family: var(--font-mono); font-size: .64rem; letter-spacing: .025em; }

@media (min-width: 900px) {
  .site-footer .footer-grid { grid-template-columns: 1.35fr .72fr .8fr .72fr; }
}

@media (max-width: 899px) {
  .comm-index-hero { min-height: auto; }
  .comm-index-hero__foot,
  .community-band__content,
  .community-band:nth-child(even) .community-band__content,
  .market-report__head,
  .living-here__grid,
  .comm-outcome__inner { grid-template-columns: 1fr; }
  .community-band__content,
  .community-band:nth-child(even) .community-band__content {
    grid-template-areas: "name" "stats" "link" "period";
    text-align: left;
  }
  .community-band:nth-child(even) .community-band__link { justify-self: start; }
  .community-band__period,
  .community-band:nth-child(even) .community-band__period,
  .market-report__period { text-align: left; }
  .community-band__content { gap: 2rem; }
  .market-report__head { align-items: start; }
  .market-ledger > div { grid-column: span 6; }
  .market-ledger > .market-ledger__primary { grid-column: span 6; }
  .living-here__copy { padding-top: 0; }
  .comm-outcome__links { grid-column: 1; }
}

@media (max-width: 600px) {
  .comm-index-hero { padding-block: 5rem 3.5rem; }
  .comm-index-hero h1 { font-size: clamp(3.7rem, 18vw, 5.2rem); line-height: .82; }
  .comm-index-hero__foot { gap: 1.5rem; }
  .community-band { min-height: 760px; }
  .community-band__scrim,
  .community-band:nth-child(even) .community-band__scrim {
    background: linear-gradient(0deg, rgba(17, 13, 9, .94) 0%, rgba(17, 13, 9, .62) 58%, rgba(17, 13, 9, .12) 100%);
  }
  .community-band__name h2 { font-size: clamp(4rem, 21vw, 6rem); line-height: .8; }
  .community-band__stats dd { font-size: 2.05rem; }
  .community-band__period { line-height: 1.5; }
  .community-hero { min-height: calc(88dvh - 74px); }
  .community-hero__back { margin-bottom: 28vh; }
  .community-hero h1 { font-size: clamp(4.2rem, 22vw, 6.4rem); line-height: .77; }
  .market-report { padding-block: 6rem; }
  .market-report__head h2 { font-size: clamp(3.25rem, 15vw, 4.7rem); }
  .market-boundary-note { margin: -1rem 0 3rem; }
  .market-ledger { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .market-ledger > div,
  .market-ledger > .market-ledger__primary { grid-column: span 1; padding-right: .75rem; }
  .market-ledger > .market-ledger__primary { grid-column: 1 / -1; }
  .market-ledger dd { font-size: clamp(2.45rem, 13vw, 3.5rem); }
  .market-ledger__primary dd { font-size: clamp(4rem, 20vw, 5.6rem); }
  .market-charts { grid-template-columns: 1fr; }
  .market-chart--wide { grid-column: 1; }
  .market-chart__head { align-items: flex-start; flex-direction: column; gap: .4rem; }
  .living-here { padding-block: 7rem; }
  .living-here h2 { font-size: clamp(3.4rem, 16vw, 4.9rem); }
  .comm-outcome { padding-block: 7rem; }
  .comm-outcome h2 { font-size: clamp(3.5rem, 16vw, 5rem); }
}

@media (prefers-reduced-motion: reduce) {
  .community-band > img,
  .community-band:hover > img { transform: none; transition: none; }
  .community-band__link { transition: none; }
}

/* ============================================================
   SBZRE hero market snapshot rail (Tony 8/20: "the hero's right
   side looks empty — give it some animation, and keep the pieces
   next to each other on mobile").

   Desktop: a glass card parked in the hero's empty right column,
   cycling the five areas named in the eyebrow. Mobile: the card
   drops under the CTAs full-width and the three metrics STAY in
   one 3-across row — they never stack.

   No-JS / reduced-motion: the first area renders settled and
   static. Cycling is added by elevate.js via .is-cycling only.
   ============================================================ */

.page-sections--home .hero--shader .hero__inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) clamp(20rem, 27vw, 25.5rem);
  gap: clamp(2rem, 4vw, 4.5rem);
  align-items: center;
}
.page-sections--home .hero--shader .hero__content { grid-column: 1; }

.hero-pulse {
  grid-column: 2;
  align-self: end;
  position: relative;
  z-index: 3;
  padding: clamp(1.25rem, 1.6vw, 1.75rem) clamp(1.25rem, 1.7vw, 1.85rem) clamp(1rem, 1.3vw, 1.35rem);
  border: 1px solid rgba(210, 193, 172, .82);
  border-radius: var(--radius-lg, 18px);
  background: rgba(255, 253, 250, .74);
  backdrop-filter: blur(14px) saturate(1.06);
  box-shadow: 0 34px 78px -50px rgba(33, 27, 22, .58), inset 0 1px rgba(255, 255, 255, .72);
}

.hero-pulse__head {
  display: flex;
  align-items: center;
  gap: .55rem;
  margin-bottom: clamp(.9rem, 1.2vw, 1.15rem);
}
.hero-pulse__label,
.hero-pulse__source {
  font-family: var(--font-mono, monospace);
  font-size: .66rem;
  letter-spacing: .075em;
  text-transform: uppercase;
  white-space: nowrap;
}
.hero-pulse__label { color: var(--accent-strong); }
.hero-pulse__source { margin-left: auto; color: var(--text-faint); letter-spacing: .05em; }

.hero-pulse__dot {
  width: 7px;
  height: 7px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 0 color-mix(in oklab, var(--accent) 55%, transparent);
}
html.js .hero-pulse__dot { animation: sbz-pulse-dot 2.6s var(--ease-out, ease-out) infinite; }

@keyframes sbz-pulse-dot {
  0%   { box-shadow: 0 0 0 0 color-mix(in oklab, var(--accent) 50%, transparent); opacity: 1; }
  60%  { box-shadow: 0 0 0 7px rgba(168, 81, 43, 0); opacity: .78; }
  100% { box-shadow: 0 0 0 0 rgba(168, 81, 43, 0); opacity: 1; }
}

/* Slides share one grid cell, so the card height never jumps mid-cycle. */
.hero-pulse__stage { display: grid; }
.hero-pulse__slide {
  grid-area: 1 / 1 / 2 / 2;
  margin: 0;
  opacity: 0;
  visibility: hidden;
}
.hero-pulse__slide:first-child { opacity: 1; visibility: visible; }
.hero-pulse.is-cycling .hero-pulse__slide:first-child { opacity: 0; visibility: hidden; }
.hero-pulse.is-cycling .hero-pulse__slide {
  transform: translateY(6px);
  filter: blur(2px);
  transition: opacity .55s var(--ease-out, ease-out), transform .55s var(--ease-out, ease-out),
    filter .55s var(--ease-out, ease-out), visibility 0s linear .55s;
}
.hero-pulse.is-cycling .hero-pulse__slide.is-active {
  opacity: 1;
  visibility: visible;
  transform: none;
  filter: none;
  transition-delay: 0s;
}

.hero-pulse__area {
  margin: 0 0 .55rem;
  font-family: var(--font-display);
  font-size: clamp(1.55rem, 1.9vw, 2.05rem);
  line-height: 1.05;
  color: var(--text-strong);
}
.hero-pulse.is-cycling .hero-pulse__slide.is-active .hero-pulse__area { animation: sbz-pulse-in .6s var(--ease-out, ease-out) both; }
.hero-pulse.is-cycling .hero-pulse__slide.is-active .hero-pulse__metrics > div { animation: sbz-pulse-in .6s var(--ease-out, ease-out) both; }
.hero-pulse.is-cycling .hero-pulse__slide.is-active .hero-pulse__metrics > div:nth-child(1) { animation-delay: .07s; }
.hero-pulse.is-cycling .hero-pulse__slide.is-active .hero-pulse__metrics > div:nth-child(2) { animation-delay: .14s; }
.hero-pulse.is-cycling .hero-pulse__slide.is-active .hero-pulse__metrics > div:nth-child(3) { animation-delay: .21s; }

@keyframes sbz-pulse-in {
  from { opacity: 0; transform: translateY(7px); }
  to   { opacity: 1; transform: none; }
}

/* The three metrics are a row at EVERY width — never a stack. */
.hero-pulse__metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(.6rem, 1.1vw, 1rem);
  margin: 0;
}
.hero-pulse__metrics > div {
  min-width: 0;
  padding-left: clamp(.6rem, .9vw, .85rem);
  border-left: 1px solid var(--border);
}
.hero-pulse__metrics > div:first-child { padding-left: 0; border-left: 0; }
.hero-pulse__metrics dt {
  font-family: var(--font-mono, monospace);
  font-size: .6rem;
  letter-spacing: .085em;
  text-transform: uppercase;
  color: var(--text-faint);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.hero-pulse__metrics dd {
  margin: .3rem 0 0;
  font-family: var(--font-mono, monospace);
  font-weight: 500;
  font-size: clamp(.86rem, 1.05vw, 1.02rem);
  letter-spacing: -.01em;
  color: var(--text-strong);
  white-space: nowrap;
}
.hero-pulse__delta.is-up { color: var(--pine-600); }
.hero-pulse__delta.is-down { color: var(--critical); }

/* Dwell indicator: the one piece of continuous motion. */
.hero-pulse__track {
  margin-top: clamp(.9rem, 1.2vw, 1.15rem);
  height: 1px;
  overflow: hidden;
  background: var(--border);
}
.hero-pulse__fill {
  display: block;
  height: 100%;
  width: 100%;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left center;
}
.hero-pulse.is-cycling .hero-pulse__fill { animation: sbz-pulse-fill var(--pulse-dwell, 5200ms) linear both; }

@keyframes sbz-pulse-fill {
  from { transform: scaleX(0); }
  to   { transform: scaleX(1); }
}

@media (max-width: 1023px) {
  .page-sections--home .hero--shader .hero__inner {
    grid-template-columns: minmax(0, 1fr);
    gap: clamp(1.75rem, 4vw, 2.5rem);
  }
  /* Belt and braces. The JS already skips the parallax when stacked, but a browser
     holding a cached elevate.js would re-apply the old translate and drive the CTAs
     into the market rail. A transform does not affect layout, so nothing can reserve
     space for it - the only safe answer at this width is no transform at all. */
  .page-sections--home .hero--shader .hero__content { transform: none !important; }
  .hero-pulse {
    grid-column: 1;
    align-self: stretch;
    max-width: 34rem;
  }
}

@media (max-width: 560px) {
  .hero-pulse {
    max-width: none;
    padding: 1.05rem 1rem .9rem;
    border-radius: 14px;
  }
  .hero-pulse__head { gap: .45rem; margin-bottom: .8rem; }
  .hero-pulse__label { font-size: .62rem; letter-spacing: .07em; }
  .hero-pulse__source { font-size: .58rem; letter-spacing: .03em; }
  .hero-pulse__area { font-size: 1.5rem; margin-bottom: .5rem; }
  .hero-pulse__metrics { gap: .55rem; }
  .hero-pulse__metrics > div { padding-left: .55rem; }
  .hero-pulse__metrics dt { font-size: .53rem; letter-spacing: .05em; }
  .hero-pulse__metrics dd { font-size: .84rem; margin-top: .25rem; }
  .hero-pulse__track { margin-top: .8rem; }
}

/* Very narrow phones: keep all three metrics on one line by trading size. */
@media (max-width: 380px) {
  .hero-pulse__metrics dd { font-size: .78rem; }
  .hero-pulse__metrics > div { padding-left: .45rem; }
}

@media (prefers-reduced-motion: reduce) {
  .hero-pulse__dot,
  .hero-pulse__fill,
  .hero-pulse__slide,
  .hero-pulse__area,
  .hero-pulse__metrics > div {
    animation: none !important;
    transition: none !important;
  }
  .hero-pulse__fill { transform: scaleX(1); opacity: .35; }
}

@media print {
  .hero-pulse__track { display: none; }
}

/* TYPO-1: Instrument Serif stays at its native 400 weight. */
.page-sections h1.display-2xl,
.page-sections h1.display-xl,
.page-sections .hero--shader h1.display-2xl,
.route-hero--shader h1 {
  font-size: var(--display-lg);
  font-weight: var(--fw-regular);
  line-height: var(--leading-tight);
  letter-spacing: var(--tracking-tight);
}

.page-sections h2.display-lg,
.page-sections .section-head h2.display-lg {
  font-size: var(--display-h2);
  font-weight: var(--fw-regular);
  line-height: var(--leading-tight);
  letter-spacing: var(--tracking-tight);
}

.page-sections .lead,
.hero--shader .lead,
.route-hero--shader .lead { font-size: var(--text-lead); }

.page-sections .section-head h2,
h2[data-anchor-line] { font-weight: var(--fw-regular); }

h1,
h2,
h3,
h4,
.brand__name,
.lead-choice strong,
.embed-slot__label,
.stat__num,
.testimonial__quote,
.faq summary,
.step__num,
.mobile-menu a.m-link,
.byline__name,
.article blockquote,
.drop-cap::first-letter,
.contact-method .big,
.community__stat b,
.comm-index-list a,
.moment__index,
.community-band__stats dd,
.market-report__period strong,
.market-ledger dd,
.hero-pulse__area { font-weight: var(--fw-regular); }

}
