/* ═══════════════════════════════════════════════════════════════
   Builder Halo — DESIGN-SYSTEM TOKENS (from Claude Design project
   8cf5c611 · ui_kits/website). This is the canonical foundation:
   colors → typography → spacing → motion → base reset → responsive.
   Do not drift from these values. ═══════════════════════════════ */

/* ── SELF-HOSTED BRAND TYPE ─────────────────────────────────── */
@font-face {
  font-family: 'Playfair Display';
  font-style: normal;
  font-weight: 500 700;
  font-display: optional;
  src: url('./assets/fonts/playfair-display-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: 'DM Sans';
  font-style: normal;
  font-weight: 400 600;
  font-display: optional;
  src: url('./assets/fonts/dm-sans-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: 'DM Mono';
  font-style: normal;
  font-weight: 400;
  font-display: optional;
  src: url('./assets/fonts/dm-mono-400-latin.woff2') format('woff2');
}
@font-face {
  font-family: 'DM Mono';
  font-style: normal;
  font-weight: 500;
  font-display: optional;
  src: url('./assets/fonts/dm-mono-500-latin.woff2') format('woff2');
}

/* ── COLORS ─────────────────────────────────────────────────── */
:root {
  --canvas: #FAF7F2;            /* Parchment — page ground */
  --limestone: #EDE5D8;         /* Limestone — card/section/inset */

  --ink: #231F18;              /* Warm Charcoal — text & dark grounds */
  --ink-soft: rgba(35, 31, 24, 0.72);
  --dusk-slate: #58666C;
  --ink-mute: #58666C;
  --ink-faint: rgba(88, 102, 108, 0.55);

  --rule: rgba(88, 102, 108, 0.18);
  --rule-strong: rgba(88, 102, 108, 0.42);

  --brass: #B8893B;
  --brass-deep: #9A6F27;
  --brass-label: #8C6420;       /* Brass dark enough for AA (4.5:1) small text on light */
  --brass-on-light: #805720;    /* Brass for TEXT on light grounds; clears WCAG AA (~5.6:1 canvas, ~5.0:1 limestone) */
  --golden-hour: #F4C76A;
  --halo-core: #FFE9B0;
  --accent: #B8893B;
  --accent-soft: rgba(184, 137, 59, 0.12);
  --accent-glow: rgba(244, 199, 106, 0.42);

  --on-ink: #FAF7F2;
  --on-ink-soft: rgba(250, 247, 242, 0.82);
  --on-ink-mute: rgba(250, 247, 242, 0.76);

  --sand: var(--limestone);
  --serif-warm: var(--golden-hour);

  --surface-page: var(--canvas);
  --surface-card: var(--limestone);
  --surface-inset: var(--limestone);
  --surface-ink: var(--ink);
  --text-display: var(--ink);
  --text-body: var(--ink-soft);
  --text-muted: var(--ink-mute);
  --text-on-ink: var(--on-ink);
  --border-hairline: var(--rule);
  --border-strong: var(--rule-strong);
  --focus-ring: rgba(244, 199, 106, 0.55);
  --selection-bg: var(--brass);
  --selection-fg: var(--canvas);
}

/* ── TYPOGRAPHY ─────────────────────────────────────────────── */
:root {
  --font-display: 'Playfair Display', Georgia, 'Times New Roman', serif;
  --font-body: 'DM Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-mono: 'DM Mono', 'SFMono-Regular', 'Courier New', monospace;
  --display: var(--font-display);
  --body: var(--font-body);
  --mono: var(--font-mono);

  --fw-regular: 400;
  --fw-medium: 500;
  --fw-semibold: 600;
  --fw-bold: 700;

  --t-hero: clamp(56px, 10.5vw, 156px);
  --t-display: clamp(40px, 7vw, 112px);
  --t-h1: clamp(34px, 5vw, 64px);
  --t-h2: clamp(28px, 4.2vw, 56px);
  --t-h3: clamp(22px, 2.6vw, 32px);

  --t-lede: clamp(15.5px, 1.2vw, 18px);
  --t-body: 16px;
  --t-body-sm: 14px;

  --t-label: 11px;
  --t-label-sm: 10.5px;

  --lh-tight: 0.94;
  --lh-display: 1.04;
  --lh-heading: 1.14;
  --lh-body: 1.6;
  --lh-snug: 1.5;

  --tr-label: 0.2em;
  --tr-label-tight: 0.18em;
  --tr-normal: 0;
}

/* ── SPACING / LAYOUT / RADIUS / SHADOW ─────────────────────── */
:root {
  --space-1: 4px;  --space-2: 8px;  --space-3: 12px; --space-4: 16px;
  --space-5: 24px; --space-6: 32px; --space-7: 48px; --space-8: 64px;
  --space-9: 96px; --space-10: 128px;

  --gutter: clamp(20px, 5vw, 64px);
  --gutter-lg: clamp(28px, 8vw, 120px);
  --section-y: clamp(96px, 16vh, 200px);
  --section-y-sm: clamp(80px, 12vh, 140px);

  --max: 1320px;
  --max-text: 720px;
  --measure: 58ch;

  /* Breakpoints (hard-code these px in @media): sm 520 / md 720 / lg 880 / xl 1180 */
  --bp-sm: 520px; --bp-md: 720px; --bp-lg: 880px; --bp-xl: 1180px;
  --tap-min: 44px;

  --r-xs: 4px; --r-sm: 6px; --r-md: 10px; --r-lg: 16px; --r-pill: 999px;

  --shadow-sm: 0 1px 2px rgba(35, 31, 27, 0.06);
  --shadow-md: 0 14px 34px rgba(35, 31, 27, 0.10);
  --shadow-cta: 0 14px 36px rgba(184, 137, 59, 0.28);
  --shadow-lift: 0 14px 34px rgba(0, 0, 0, 0.18);
  --ring-focus: 0 0 0 3px var(--focus-ring);

  --border: 1px solid var(--rule);
  --border-strong-line: 1px solid var(--rule-strong);
}

/* ── MOTION ─────────────────────────────────────────────────── */
:root {
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-soft: cubic-bezier(0.32, 0.72, 0, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);

  --dur-fast: 0.2s; --dur-base: 0.3s; --dur-slow: 0.6s; --dur-reveal: 0.9s;
  --stagger: 70ms;

  --t-hover: 0.25s var(--ease-out);
  --t-press: transform 0.08s ease-out;
  --reveal-from-y: 14px;
}
@media (prefers-reduced-motion: no-preference) { :root { --press-scale: 0.97; } }
@media (prefers-reduced-motion: reduce) {
  :root {
    --dur-fast: 0.001s; --dur-base: 0.001s; --dur-slow: 0.001s;
    --dur-reveal: 0.001s; --stagger: 0ms; --press-scale: 1;
  }
}

/* ── BASE / RESET ───────────────────────────────────────────── */
* { box-sizing: border-box; }
*::selection { background: var(--selection-bg); color: var(--selection-fg); }
html, body { margin: 0; padding: 0; overflow-x: clip; }
html {
  -webkit-text-size-adjust: 100%; text-size-adjust: 100%;
  scroll-behavior: smooth; scroll-padding-top: 80px;
  -webkit-tap-highlight-color: rgba(184, 137, 59, 0.18);
}
body {
  background: var(--canvas); color: var(--ink);
  font-family: var(--font-body); font-size: var(--t-body);
  line-height: var(--lh-body); font-weight: var(--fw-regular);
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility; text-wrap: pretty;
}
@media (max-width: 720px) { body { font-size: 17px; line-height: 1.62; } }

img, svg, video { max-width: 100%; display: block; }
button, input, textarea, select { font: inherit; color: inherit; }
a { color: inherit; text-decoration: none; }
button { background: none; border: none; padding: 0; cursor: pointer; }
h1, h2, h3 { text-wrap: balance; }

/* NO ITALICS, EVER — emphasis is brass colour on upright serif. */
em, i, cite, var, address, dfn, blockquote { font-style: normal; }

:where(a, button, input, textarea, select, [tabindex]):focus-visible {
  outline: 2px solid var(--brass); outline-offset: 3px; border-radius: var(--r-xs);
}

[data-reveal] {
  opacity: 0; transform: translateY(var(--reveal-from-y));
  transition: opacity var(--dur-reveal) var(--ease-out), transform var(--dur-reveal) var(--ease-out);
  will-change: opacity, transform;
}
[data-reveal].is-revealed { opacity: 1; transform: none; will-change: auto; }
@media (prefers-reduced-motion: reduce) {
  html, .bhk-scroll { scroll-behavior: auto; }
  [data-reveal] { opacity: 1 !important; transform: none !important; }
}

.bh-visually-hidden, .visually-hidden {
  position: absolute; width: 1px; height: 1px; margin: -1px;
  border: 0; padding: 0; clip: rect(0 0 0 0); overflow: hidden;
}

/* ── RESPONSIVE LAYOUT PRIMITIVES (mobile-first) ────────────── */
.bh-container { width: 100%; margin-inline: auto; padding-inline: var(--gutter); max-width: var(--max); }
.bh-container--text { max-width: var(--max-text); }
.bh-section { padding-block: var(--section-y); }
.bh-section--sm { padding-block: var(--section-y-sm); }
.bh-stack { display: grid; gap: var(--stack-gap, var(--space-5)); }
.bh-stack--tight { gap: var(--space-3); }
.bh-stack--loose { gap: var(--space-7); }
.bh-cluster { display: flex; flex-wrap: wrap; gap: var(--cluster-gap, var(--space-3)); align-items: center; }
.bh-grid { display: grid; gap: var(--grid-gap, var(--space-5)); grid-template-columns: repeat(auto-fit, minmax(min(100%, var(--col-min, 260px)), 1fr)); }
.bh-cols-2, .bh-cols-3, .bh-cols-4 { display: grid; gap: var(--grid-gap, var(--space-5)); grid-template-columns: 1fr; }
@media (min-width: 520px) { .bh-cols-2--early { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 880px) {
  .bh-cols-2 { grid-template-columns: repeat(2, 1fr); }
  .bh-cols-3 { grid-template-columns: repeat(3, 1fr); }
  .bh-cols-4 { grid-template-columns: repeat(4, 1fr); }
}
@media (min-width: 1180px) { .bh-cols-4--wide { grid-template-columns: repeat(4, 1fr); } }
.bh-split { display: grid; gap: var(--space-6); grid-template-columns: 1fr; align-items: center; }
@media (min-width: 880px) { .bh-split { grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 88px); } }
.bh-only-mobile { display: revert; }
.bh-only-desktop { display: none; }
@media (min-width: 880px) { .bh-only-mobile { display: none; } .bh-only-desktop { display: revert; } }
.bh-tap { min-height: var(--tap-min); min-width: var(--tap-min); display: inline-flex; align-items: center; justify-content: center; }
.bh-rail {
  display: grid; grid-auto-flow: column; grid-auto-columns: min(78vw, 320px);
  gap: var(--space-4); overflow-x: auto; scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch; scrollbar-width: none; padding-inline: var(--gutter);
}
.bh-rail::-webkit-scrollbar { display: none; }
.bh-rail > * { scroll-snap-align: start; }
.bh-safe-x { padding-left: max(var(--gutter), env(safe-area-inset-left)); padding-right: max(var(--gutter), env(safe-area-inset-right)); }
.bh-safe-bottom { padding-bottom: max(var(--space-4), env(safe-area-inset-bottom)); }
@media (max-width: 720px) { input, select, textarea { font-size: max(16px, 1em); } }
/* ═══════════════════════════════════════════════════════════════
   Builder Halo — Component CSS (bh-* classes).
   Button / Input / Tabs / MediaCard / PhaseCard are VERBATIM from the
   design system's self-injecting components. Eyebrow / SectionHeading /
   MetricStat / Pill are authored to match the system specimens.
   ═══════════════════════════════════════════════════════════════ */

/* ── Button ─────────────────────────────────────────────────── */
.bh-btn{
  display:inline-flex;align-items:center;justify-content:center;gap:10px;
  font-family:var(--font-body);font-weight:var(--fw-medium);
  border-radius:var(--r-pill);border:1px solid transparent;
  white-space:nowrap;cursor:pointer;text-decoration:none;
  transition:transform var(--dur-base) var(--ease-out),
             background var(--dur-base) var(--ease-out),
             color var(--dur-base) var(--ease-out),
             border-color var(--dur-base) var(--ease-out),
             box-shadow .4s var(--ease-out);
  will-change:transform;
}
.bh-btn svg{transition:transform var(--dur-base) var(--ease-out);flex:0 0 auto;}
.bh-btn:hover svg{transform:translateX(3px);}
.bh-btn:active{transform:scale(var(--press-scale,.97));transition:transform .08s ease-out;}
.bh-btn[disabled],.bh-btn[aria-disabled="true"]{opacity:.42;pointer-events:none;}
.bh-btn:focus-visible{outline:none;box-shadow:var(--ring-focus);}
.bh-btn--sm{padding:9px 16px;font-size:13px;min-height:38px;}
.bh-btn--md{padding:13px 22px;font-size:14.5px;min-height:46px;}
.bh-btn--lg{padding:16px 28px;font-size:16px;min-height:54px;}
.bh-btn--primary{background:var(--brass);color:var(--on-ink);
  box-shadow:0 1px 0 rgba(255,255,255,.18) inset, 0 8px 24px rgba(184,137,59,0);}
.bh-btn--primary:hover{background:var(--ink);
  box-shadow:0 1px 0 rgba(255,255,255,.05) inset, var(--shadow-cta);}
.bh-btn--primary:focus-visible{box-shadow:var(--ring-focus), var(--shadow-cta);}
.bh-btn--ghost{background:transparent;color:inherit;border-color:currentColor;opacity:.85;}
.bh-btn--ghost:hover{opacity:1;transform:translateY(-1px);}
.bh-btn--ink{background:var(--ink);color:var(--on-ink);}
.bh-btn--ink:hover{background:var(--brass);}
.bh-btn--on-dark.bh-btn--primary{background:var(--on-ink);color:var(--ink);}
.bh-btn--on-dark.bh-btn--primary:hover{background:var(--brass);color:var(--on-ink);}
.bh-btn--on-dark.bh-btn--ghost{color:var(--on-ink);border-color:rgba(250,247,242,.32);}
.bh-btn--on-dark.bh-btn--ghost:hover{border-color:var(--on-ink);}
/* Brand gradient — golden-hour → brass. The signature Builder Halo CTA. */
.bh-btn--brand{background:linear-gradient(103deg, var(--golden-hour) 0%, var(--brass) 52%, var(--brass-deep) 100%);
  color:var(--ink);border:none;font-weight:600;
  box-shadow:0 1px 0 rgba(255,255,255,.4) inset, var(--shadow-cta);}
.bh-btn--brand:hover{transform:translateY(-2px);
  box-shadow:0 1px 0 rgba(255,255,255,.5) inset, 0 18px 44px rgba(184,137,59,.4);}
.bh-btn--brand:focus-visible{box-shadow:var(--ring-focus), var(--shadow-cta);}
.bh-btn--brand svg{transition:transform .28s var(--ease-out);}
.bh-btn--brand:hover svg{transform:translateX(2px);}
/* Button arrow markup (inline in HTML):
   <svg class="bh-btn__arrow" width="14" height="14" viewBox="0 0 14 14" aria-hidden="true">
     <path d="M1 7h12M8 2l5 5-5 5" fill="none" stroke="currentColor" stroke-width="1.5"
       stroke-linecap="round" stroke-linejoin="round"/></svg>  */

/* ── Input ──────────────────────────────────────────────────── */
.bh-field{display:grid;gap:8px;}
.bh-field__label{font-family:var(--font-mono);font-size:var(--t-label);
  letter-spacing:var(--tr-label);text-transform:uppercase;color:var(--ink-mute);}
.bh-input{width:100%;font-family:var(--font-body);font-size:16px;line-height:1.4;
  color:var(--ink);background:var(--canvas);border:1px solid var(--rule-strong);outline:none;
  transition:border-color var(--dur-base) var(--ease-out),background var(--dur-base) var(--ease-out),box-shadow var(--dur-base) var(--ease-out);}
.bh-input::placeholder{color:var(--ink-mute);opacity:.85;}
.bh-input:hover{border-color:var(--ink-mute);}
.bh-input:focus{border-color:var(--brass);}
.bh-input:focus-visible{box-shadow:var(--ring-focus);}
.bh-input--pill{padding:15px 20px;border-radius:var(--r-pill);}
.bh-input--line{padding:12px 2px;border-width:0 0 1px 0;border-radius:0;background:transparent;}
.bh-input--line:focus{box-shadow:none;}
textarea.bh-input{resize:vertical;min-height:120px;border-radius:var(--r-md);padding:14px 18px;}
.bh-input--on-dark{color:var(--on-ink);background:rgba(250,247,242,.14);border-color:rgba(250,247,242,.34);
  backdrop-filter:blur(14px) saturate(1.1);-webkit-backdrop-filter:blur(14px) saturate(1.1);}
.bh-input--on-dark::placeholder{color:rgba(250,247,242,.72);}
.bh-input--on-dark:hover{border-color:rgba(250,247,242,.5);background:rgba(250,247,242,.18);}
.bh-input--on-dark:focus{border-color:var(--accent-glow);background:rgba(250,247,242,.18);}
.bh-input--on-dark.bh-input--line{background:transparent;}
.bh-field--invalid .bh-input{border-color:#A8442E;}
.bh-field__error{font-family:var(--font-mono);font-size:11px;letter-spacing:.04em;color:#A8442E;}

/* ── Tabs ───────────────────────────────────────────────────── */
.bh-tabs{display:grid;gap:clamp(20px,4vw,48px);align-items:start;}
.bh-tabs--vertical{grid-template-columns:minmax(220px,.4fr) minmax(0,1fr);}
.bh-tabs--horizontal{grid-template-columns:1fr;}
.bh-tabs__list{display:grid;gap:8px;}
.bh-tabs--horizontal .bh-tabs__list{grid-auto-flow:column;grid-auto-columns:max-content;overflow-x:auto;scrollbar-width:none;}
.bh-tabs--horizontal .bh-tabs__list::-webkit-scrollbar{display:none;}
@media (max-width:720px){
  .bh-tabs--vertical{grid-template-columns:1fr;}
  .bh-tabs--vertical .bh-tabs__list{grid-auto-flow:column;grid-auto-columns:max-content;overflow-x:auto;scrollbar-width:none;-webkit-overflow-scrolling:touch;padding-bottom:4px;}
  .bh-tabs--vertical .bh-tabs__list::-webkit-scrollbar{display:none;}
  .bh-tabs--vertical .bh-tab{white-space:nowrap;}
}
.bh-tab{width:100%;min-height:52px;padding:14px 16px;text-align:left;
  border:1px solid var(--rule-strong);border-radius:var(--r-sm);
  background:rgba(250,247,242,.48);color:var(--ink-soft);
  font-family:var(--font-body);font-size:14px;line-height:1.3;
  transition:background var(--dur-base) var(--ease-out),border-color var(--dur-base) var(--ease-out),color var(--dur-base) var(--ease-out);}
.bh-tab:hover{background:rgba(250,247,242,.82);color:var(--ink);}
.bh-tab[aria-selected="true"]{background:var(--ink);border-color:var(--ink);color:var(--on-ink);}
.bh-tabs--horizontal .bh-tab{white-space:nowrap;}
.bh-tabs__panel{min-height:240px;padding:clamp(28px,4vw,48px);
  border:1px solid var(--rule-strong);border-radius:var(--r-sm);background:var(--canvas);
  display:grid;align-content:center;gap:16px;}

/* ── MediaCard ──────────────────────────────────────────────── */
.bh-media{position:relative;display:block;overflow:hidden;border-radius:var(--r-md);
  background:var(--ink);isolation:isolate;aspect-ratio:5/6;color:var(--on-ink);}
.bh-media__img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;display:block;
  filter:saturate(1.04) contrast(1.02);transition:transform var(--dur-reveal) var(--ease-out);}
.bh-media:hover .bh-media__img{transform:scale(1.03);}
.bh-media__veil{position:absolute;inset:auto 0 0;height:62%;z-index:1;pointer-events:none;
  background:linear-gradient(180deg,transparent 0%,rgba(27,24,22,.1) 22%,rgba(27,24,22,.82) 100%);}
.bh-media__copy{position:absolute;left:clamp(20px,3vw,32px);right:clamp(20px,3vw,32px);
  bottom:clamp(20px,4vh,36px);z-index:2;display:grid;gap:10px;text-shadow:0 1px 8px rgba(27,24,22,.5);}
.bh-media__kicker{font-family:var(--font-mono);font-size:var(--t-label);letter-spacing:var(--tr-label);
  text-transform:uppercase;color:var(--golden-hour);}
.bh-media__title{margin:0;max-width:24ch;font-family:var(--font-display);font-weight:var(--fw-medium);
  font-size:clamp(22px,2.4vw,32px);line-height:1.06;letter-spacing:0;}
.bh-media--wide{aspect-ratio:16/10;}
.bh-media--tall{aspect-ratio:4/5;}

/* ── PhaseCard ──────────────────────────────────────────────── */
.bh-phase{display:flex;flex-direction:column;gap:10px;padding:28px 28px 32px;min-height:300px;
  border:1px solid var(--rule);border-radius:var(--r-md);background:transparent;
  transition:border-color var(--dur-slow) var(--ease-out),background var(--dur-slow) var(--ease-out),transform var(--dur-slow) var(--ease-out);}
.bh-phase:hover{border-color:var(--ink);background:var(--surface-card);}
.bh-phase__num{font-family:var(--font-mono);font-size:var(--t-label);letter-spacing:var(--tr-label);text-transform:uppercase;color:var(--ink-mute);}
.bh-phase__eyebrow{margin:6px 0 -4px;font-family:var(--font-mono);font-size:10.5px;letter-spacing:var(--tr-label-tight);text-transform:uppercase;color:var(--brass-deep);}
.bh-phase__name{margin:0;font-family:var(--font-display);font-weight:var(--fw-medium);font-size:22px;line-height:1.14;letter-spacing:0;color:var(--ink);}
.bh-phase__note{margin:0;font-family:var(--font-body);font-size:14px;line-height:1.55;color:var(--ink-soft);}
.bh-phase__spacer{flex:1;}
.bh-phase--terminal{background:var(--ink);border-color:var(--ink);}
.bh-phase--terminal:hover{background:var(--ink);}
.bh-phase--terminal .bh-phase__num{color:var(--accent-glow);}
.bh-phase--terminal .bh-phase__eyebrow{color:var(--accent-glow);}
.bh-phase--terminal .bh-phase__name{color:var(--on-ink);}
.bh-phase--terminal .bh-phase__note{color:var(--on-ink-soft);}

/* ── Eyebrow (authored to match specimen) ───────────────────── */
.bh-eyebrow{display:inline-flex;align-items:center;gap:10px;margin:0;
  font-family:var(--font-mono);font-size:var(--t-label);letter-spacing:var(--tr-label);
  text-transform:uppercase;color:var(--ink-mute);}
.bh-eyebrow__i{color:var(--brass-on-light);}
.bh-eyebrow .bhk-rule,.bh-eyebrow__rule{display:inline-block;width:24px;height:1px;background:currentColor;opacity:.5;}

/* ── SectionHeading (index · eyebrow · title · lede) ────────── */
.bh-heading{display:grid;gap:18px;max-width:var(--max-text);}
.bh-heading__title{margin:0;font-family:var(--font-display);font-weight:var(--fw-medium);
  font-size:var(--t-h2);line-height:var(--lh-heading);color:var(--ink);}
.bh-heading__title em{font-style:normal;color:var(--brass-on-light);}
.bh-heading__lede{margin:0;color:var(--ink-soft);font-size:var(--t-lede);line-height:1.62;max-width:56ch;}

/* ── MetricStat (value over label, on a top hairline) ───────── */
.bh-metric{display:grid;gap:8px;padding-top:22px;border-top:1px solid var(--rule);}
.bh-metric__value{font-family:var(--font-display);font-weight:var(--fw-medium);
  font-size:clamp(34px,4.4vw,56px);line-height:1;color:var(--ink);}
.bh-metric__label{font-family:var(--font-mono);font-size:var(--t-label);letter-spacing:var(--tr-label-tight);
  text-transform:uppercase;color:var(--ink-mute);line-height:1.5;}

/* ── Pill (small capsule: label + value; tones) ─────────────── */
.bh-pill{display:inline-flex;align-items:center;gap:8px;padding:8px 14px;border-radius:var(--r-pill);
  border:1px solid var(--rule-strong);font-family:var(--font-mono);font-size:var(--t-label-sm);
  letter-spacing:var(--tr-label-tight);text-transform:uppercase;color:var(--ink-soft);}
/* The label is a unit ("Trusted by") — never let it break across two lines
   when the pill is narrow, as it is on phones. */
.bh-pill__label{color:var(--brass-on-light);white-space:nowrap;}
.bh-pill--soft{background:var(--accent-soft);border-color:transparent;}
.bh-pill--solid{background:var(--ink);border-color:var(--ink);color:var(--on-ink);}
.bh-pill--on-dark{border-color:rgba(244,199,106,.4);color:var(--on-ink-soft);}
.bh-pill--on-dark .bh-pill__label{color:var(--golden-hour);}
/* ═══════════════════════════════════════════════════════════════
   Builder Halo — Website UI kit styles (VERBATIM from design project).
   Section composition for the marketing site. Uses bhk-* classes.
   IMPORTANT for the production port: the live site scrolls on the
   document/body, NOT on a .bhk-scroll element — so the production
   build must drop .bhk-scroll and apply nav scroll-state / parallax
   against window scroll instead of an inner scroll container.
   ═══════════════════════════════════════════════════════════════ */

.bhk-app { height: 100%; }
.bhk-scroll {
  height: 100vh; overflow-y: auto; overflow-x: hidden;
  scroll-behavior: smooth; background: var(--canvas);
  scrollbar-width: thin; scrollbar-color: var(--rule-strong) transparent;
}

.bhk-reveal { opacity: 0; transform: translateY(16px);
  transition: opacity .9s var(--ease-out), transform .9s var(--ease-out); }
.bhk-reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .bhk-reveal { opacity: 1 !important; transform: none !important; } }

.bhk-halo { width: 100%; display: block; }
@media (prefers-reduced-motion: reduce) { .bhk-halo__sweep { display: none; } }

.bhk-rule { display: inline-block; width: 28px; height: 1px; background: currentColor; opacity: .45; }

/* ── Nav ──────────────────────────────────────────────────────── */
.bhk-nav {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between;
  padding: max(16px, env(safe-area-inset-top)) clamp(20px, 4vw, 56px) 16px; color: var(--on-ink);
  background: linear-gradient(180deg, rgba(27,24,22,.42), rgba(27,24,22,.06) 70%, transparent);
  border-bottom: 1px solid transparent;
  transition: background .3s var(--ease-out), color .3s var(--ease-out), border-color .3s var(--ease-out), padding .3s var(--ease-out);
}
.bhk-nav.is-scrolled {
  background: rgba(250,247,242,.94); backdrop-filter: blur(20px) saturate(1.06);
  -webkit-backdrop-filter: blur(20px) saturate(1.06);
  color: var(--ink); border-bottom-color: rgba(184,137,59,.16); padding-top: max(13px, env(safe-area-inset-top)); padding-bottom: 13px;
}
.bhk-nav__brand {
  /* Lifted from the Brand Brain's visual/components/brand/BrandLockup.html. */
  --bh-lockup-h: 30px;
  display: inline-flex;
  align-items: flex-start;
  min-height: 44px;
  gap: 5px;
  line-height: 0;
}
.bhk-nav__mark {
  display: block;
  height: var(--bh-lockup-h);
  width: auto;
  max-width: none;
  flex-shrink: 0;
  /* Safe optical crop: removes only dead frame, with a measured guard beyond the halo sweep. */
  clip-path: inset(0 5.2453% 0 0);
  margin-right: calc(var(--bh-lockup-h) * -0.0625);
  filter: brightness(0) invert(1);
  transition: filter .3s var(--ease-out);
}
.bhk-nav.is-scrolled .bhk-nav__mark { filter: none; }
.bhk-nav__word {
  display: block;
  height: var(--bh-lockup-h);
  width: auto;
  flex-shrink: 0;
  transform: translateY(calc(var(--bh-lockup-h) * 0.0567));
  filter: brightness(0) invert(1);
  transition: filter .3s var(--ease-out);
}
.bhk-nav.is-scrolled .bhk-nav__word { filter: none; }
.bhk-nav__links { display: flex; align-items: center; gap: clamp(20px, 2.4vw, 36px); font-size: 14px; font-weight: 500; }
.bhk-nav__links a { color: inherit; opacity: .82; min-height: 44px; display: inline-flex; align-items: center; transition: opacity .2s var(--ease-out); }
.bhk-nav__links a:hover { opacity: 1; }
.bhk-nav__cta {
  display: inline-flex; align-items: center; gap: 8px; padding: 11px 22px; border-radius: var(--r-pill);
  font-weight: 600; white-space: nowrap; background: var(--on-ink); color: var(--ink) !important; opacity: 1 !important;
  box-shadow: var(--shadow-lift); transition: background .25s var(--ease-out), color .25s var(--ease-out), transform .25s var(--ease-out);
}
.bhk-nav.is-scrolled .bhk-nav__cta { background: var(--ink); color: var(--canvas) !important; box-shadow: none; }
.bhk-nav__cta:hover { background: var(--brass) !important; color: var(--on-ink) !important; transform: translateY(-1px); }

.bhk-nav__burger { display: none; width: 44px; height: 44px; border-radius: 50%; position: relative;
  border: 1px solid currentColor; opacity: .9; }
.bhk-nav__burger span, .bhk-nav__burger span::before, .bhk-nav__burger span::after {
  content: ''; position: absolute; left: 50%; width: 17px; height: 1.5px; background: currentColor; transform: translateX(-50%); }
.bhk-nav__burger span { top: 50%; transform: translate(-50%, -50%); }
.bhk-nav__burger span::before { top: -5px; } .bhk-nav__burger span::after { top: 5px; }
.bhk-nav__drawer { display: none; }

@media (max-width: 860px) {
  .bhk-nav__links { display: none; }
  .bhk-nav__burger { display: inline-flex; }
  .bhk-nav__drawer {
    position: fixed; inset: var(--bhk-nav-h, 64px) 0 0 0; display: flex; flex-direction: column; gap: 4px;
    max-height: calc(100dvh - var(--bhk-nav-h, 64px)); overflow-y: auto; overscroll-behavior: contain;
    padding: 20px max(clamp(20px, 4vw, 56px), env(safe-area-inset-right)) 28px max(clamp(20px, 4vw, 56px), env(safe-area-inset-left));
    background: rgba(27,24,22,.96);
    backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px); z-index: 49;
  }
  .bhk-nav__drawer a { color: var(--on-ink); font-family: var(--font-display); font-size: 26px; padding: 12px 0; border-bottom: 1px solid rgba(250,247,242,.1); }
  .bhk-nav__drawer-cta { font-family: var(--font-body) !important; font-size: 16px !important; color: var(--golden-hour) !important; border-bottom: none !important; margin-top: 10px; }
}

/* ── Hero ─────────────────────────────────────────────────────── */
.bhk-hero { position: relative; min-height: 100vh; min-height: 100svh; display: grid; align-items: end;
  padding: 0 clamp(20px, 5vw, 64px) clamp(56px, 11vh, 104px); overflow: hidden; isolation: isolate; color: var(--on-ink); }
.bhk-hero__media { position: absolute; inset: 0; z-index: -2; }
.bhk-hero__media img { width: 100%; height: 100%; object-fit: cover; object-position: center 40%; transform: scale(1.04); }
.bhk-hero__veil { position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(27,24,22,.5) 0%, rgba(27,24,22,.06) 22%, rgba(27,24,22,.18) 55%, rgba(27,24,22,.8) 100%),
    radial-gradient(100% 80% at 8% 80%, rgba(27,24,22,.7), transparent 60%); }
@media (max-width: 860px) {
  .bhk-hero__veil {
    background:
      linear-gradient(90deg, rgba(27,24,22,.42) 0%, rgba(27,24,22,.34) 72%, rgba(27,24,22,.22) 100%),
      linear-gradient(180deg, rgba(27,24,22,.62) 0%, rgba(27,24,22,.2) 24%, rgba(27,24,22,.4) 58%, rgba(27,24,22,.86) 100%),
      radial-gradient(110% 86% at 0% 72%, rgba(27,24,22,.68), rgba(27,24,22,.14) 66%, transparent 84%);
  }
  .bhk-hero__lede { color: rgba(250,247,242,.96); }
}
.bhk-hero__inner { position: relative; z-index: 1; max-width: 920px; display: grid; gap: 22px; }
.bhk-hero [data-reveal] { opacity: 1; transform: none; transition: none; will-change: auto; }
.bhk-hero__title { margin: 0; font-family: var(--font-display); font-weight: 500;
  font-size: clamp(40px, 7vw, 100px); line-height: .96; letter-spacing: -.01em; color: var(--on-ink); text-wrap: balance; }
.bhk-hero__title span { display: block; }
.bhk-hero__em em { font-style: normal; color: var(--golden-hour); }
.bhk-hero__lede { margin: 0; max-width: 540px; color: rgba(250,247,242,.86);
  font-size: clamp(15.5px, 1.25vw, 18px); line-height: 1.55; }
.bhk-hero__actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 4px; }
.bhk-hero__pill { margin-top: 6px; }

/* ── Manifesto: one clean, readable scale ─────────────────────── */
.bhk-manifesto { background: var(--ink); color: var(--on-ink); padding: clamp(56px, 9vh, 104px) clamp(24px, 6vw, 64px); }
.bhk-manifesto__inner { max-width: 760px; margin: 0 auto; text-align: center; }
.bhk-manifesto__eyebrow { margin: 0 0 18px; font-family: var(--font-mono); font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--golden-hour); }
.bhk-manifesto__lead { margin: 0 auto; max-width: 18em; font-family: var(--font-display); font-weight: 500;
  font-size: clamp(27px, 3.6vw, 40px); line-height: 1.18; letter-spacing: -0.015em; color: var(--on-ink); text-wrap: balance; }
.bhk-manifesto__lead em { font-style: normal; color: var(--golden-hour); }
.bhk-manifesto__body { margin: clamp(18px, 2.6vh, 26px) auto 0; max-width: 56ch;
  font-family: var(--font-body); font-size: clamp(16px, 1.5vw, 18.5px); line-height: 1.62; color: var(--on-ink-soft); text-wrap: pretty; }
.bhk-manifesto__body em { font-style: normal; color: var(--golden-hour); }

/* ── Insight ──────────────────────────────────────────────────── */
.bhk-insight { padding: clamp(96px, 16vh, 200px) clamp(20px, 5vw, 64px); max-width: 1160px; margin: 0 auto; display: grid; gap: clamp(40px, 6vh, 64px); }
.bhk-insight__grid { display: grid; gap: clamp(40px, 6vw, 72px); align-items: end; }
@media (min-width: 900px) { .bhk-insight__grid { grid-template-columns: 1.1fr 1fr; } }
.bhk-insight__quote { margin: 0; font-family: var(--font-display); font-weight: 500; font-size: clamp(28px, 4.2vw, 54px); line-height: 1.14; color: var(--ink); max-width: 24ch; }
.bhk-insight__quote em { font-style: normal; color: var(--brass-on-light); }
.bhk-insight__meta { display: grid; gap: 24px; max-width: 560px; }
.bhk-insight__meta p { margin: 0; color: var(--ink-soft); font-size: 16px; line-height: 1.65; }
.bhk-insight__attr { display: flex; align-items: center; gap: 14px; font-family: var(--font-mono); font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: var(--ink-mute); }
.bhk-insight__cta { width: fit-content; margin-top: clamp(4px, 1vh, 10px); }

/* ── Proof row ────────────────────────────────────────────────── */
.bhk-proof { padding: clamp(72px, 11vh, 130px) clamp(20px, 5vw, 64px); border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); }
.bhk-proof__row { list-style: none; padding: 0; margin: 0 auto; max-width: var(--max); display: grid; grid-template-columns: repeat(4, 1fr); gap: 0 28px; }
@media (max-width: 860px) { .bhk-proof__row { grid-template-columns: 1fr 1fr; gap: 0 24px; } }
@media (max-width: 520px) { .bhk-proof__row { grid-template-columns: 1fr; } }


/* ── Journey (horizontal PhaseCard rail) ──────────────────────── */
.bhk-journey { padding: clamp(96px, 16vh, 170px) 0 clamp(72px, 11vh, 130px); border-top: 1px solid var(--rule); overflow: hidden; }
.bhk-journey__head { max-width: var(--max); margin: 0 auto clamp(40px, 6vh, 72px); padding: 0 clamp(20px, 5vw, 64px); display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; }
.bhk-journey__ctrl { display: flex; gap: 8px; flex: 0 0 auto; }
.bhk-journey__ctrl button { width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--rule-strong); color: var(--ink); font-size: 16px; transition: background .25s var(--ease-out), color .25s var(--ease-out), border-color .25s var(--ease-out), opacity .25s; }
.bhk-journey__ctrl button:hover { background: var(--ink); color: var(--canvas); border-color: var(--ink); }
.bhk-journey__ctrl button[disabled] { opacity: .25; cursor: default; }
.bhk-journey__track { overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding: 0 clamp(20px, 5vw, 64px) 8px; }
.bhk-journey__track::-webkit-scrollbar { display: none; }
.bhk-journey__rail { list-style: none; padding: 0; margin: 0; display: grid; grid-auto-flow: column; grid-auto-columns: minmax(300px, 340px); gap: 16px; }
.bhk-journey__rail > li { scroll-snap-align: start; display: grid; }
.bhk-journey__progress { max-width: var(--max); margin: 28px auto 0; padding: 0 clamp(20px, 5vw, 64px); }
.bhk-journey__progress span { display: block; height: 2px; background: var(--brass); transition: width .2s var(--ease-out); }
@media (max-width: 720px) {
  .bhk-journey__ctrl, .bhk-journey__progress { display: none; }
  .bhk-journey__head { flex-direction: column; align-items: flex-start; }
  .bhk-journey__track { scroll-snap-type: none; }
  .bhk-journey__rail { grid-auto-flow: row; grid-auto-columns: auto; grid-template-columns: 1fr; }
}

/* ── Personas ─────────────────────────────────────────────────── */
.bhk-personas { padding: clamp(96px, 16vh, 180px) clamp(20px, 5vw, 64px) clamp(80px, 12vh, 140px); background: var(--surface-card); border-top: 1px solid var(--rule); }
.bhk-personas__head { max-width: var(--max); margin: 0 auto clamp(40px, 6vh, 72px); display: grid; grid-template-columns: minmax(0, 1.18fr) minmax(0, .82fr); gap: clamp(32px, 5vw, 76px); align-items: center; }
.bhk-personas__intro { min-width: 0; }
/* A native app on a homeowner's phone, branded to the builder (Paul's note). PNG carries its own silhouette, so a drop-shadow filter hugs the device instead of a boxy shadow. */
.bhk-personas__phone { margin: 0; justify-self: center; }
.bhk-personas__phone img { display: block; width: min(304px, 76vw); height: auto; filter: drop-shadow(0 34px 60px rgba(35, 31, 27, .42)) drop-shadow(0 10px 22px rgba(35, 31, 27, .26)); }
@media (max-width: 720px) {
  .bhk-personas__head { grid-template-columns: 1fr; gap: clamp(30px, 7vw, 44px); justify-items: start; }
  .bhk-personas__phone { justify-self: center; margin-top: 4px; }
}
.bhk-personas .bh-tabs { max-width: var(--max); margin: 0 auto; }
.bhk-persona__k { margin: 0 0 6px; font-family: var(--font-mono); font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: var(--brass-label); }
.bhk-persona__h { margin: 0 0 14px; font-family: var(--font-display); font-weight: 500; font-size: clamp(30px, 3.6vw, 48px); line-height: 1.04; color: var(--ink); max-width: 16ch; }
.bhk-persona__p { margin: 0 0 22px; color: var(--ink-soft); font-size: clamp(15.5px, 1.1vw, 17.5px); line-height: 1.62; max-width: 56ch; }

/* ── Close (conversion form on charcoal+photo) ────────────────── */
.bhk-close { position: relative; min-height: 86vh; min-height: 86svh; display: grid; align-items: end; padding: clamp(110px, 16vh, 190px) clamp(20px, 5vw, 64px) clamp(72px, 11vh, 130px); background: var(--ink); color: var(--on-ink); overflow: hidden; isolation: isolate; }
.bhk-close__media { position: absolute; inset: 0; z-index: 0; }
.bhk-close__media img { width: 100%; height: 100%; object-fit: cover; object-position: center 42%; }
.bhk-close__veil { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(35,31,27,.7) 0%, rgba(35,31,27,.38) 26%, rgba(35,31,27,.28) 52%, rgba(35,31,27,.82) 100%), radial-gradient(70% 60% at 78% 78%, rgba(184,137,59,.24), transparent 62%); }
.bhk-close__inner { position: relative; z-index: 2; max-width: 880px; display: grid; gap: 18px; }
.bhk-close__eyebrow { margin: 0; font-family: var(--font-mono); font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: var(--golden-hour); }
.bhk-close__title { margin: 0; font-family: var(--font-display); font-weight: 500; font-size: clamp(38px, 6vw, 88px); line-height: 1; }
.bhk-close__title em { font-style: normal; color: var(--golden-hour); }
.bhk-close__lede { margin: 0; color: rgba(250,247,242,.82); font-size: clamp(15.5px, 1.2vw, 18px); max-width: 56ch; line-height: 1.6; }
.bhk-close__cta { margin-top: 22px; }
.bhk-close__form { display: grid; grid-template-columns: 1.4fr 1fr auto; gap: 8px; margin-top: 14px; max-width: 720px; }
.bhk-close__success { margin: 14px 0 0; font-family: var(--font-display); font-style: normal; font-size: clamp(20px, 2.4vw, 30px); color: var(--golden-hour); max-width: 30ch; }
@media (max-width: 720px) { .bhk-close__form { grid-template-columns: 1fr; } }

/* ── Footer ───────────────────────────────────────────────────── */
.bhk-footer { background: var(--ink); color: var(--on-ink-soft); padding: clamp(56px, 9vh, 96px) clamp(20px, 5vw, 64px); display: grid; gap: 18px; border-top: 1px solid rgba(244,199,106,.16); }
.bhk-footer__brand {
  /* Same lockup geometry as the masthead, scaled with one height variable. */
  --bh-lockup-h: 34px;
  display: inline-flex;
  align-items: flex-start;
  gap: 5px;
  line-height: 0;
}
.bhk-footer__brand img:first-child {
  display: block;
  height: var(--bh-lockup-h);
  width: auto;
  max-width: none;
  flex-shrink: 0;
  clip-path: inset(0 5.2453% 0 0);
  margin-right: calc(var(--bh-lockup-h) * -0.0625);
}
.bhk-footer__word {
  display: block;
  height: var(--bh-lockup-h);
  width: auto;
  flex-shrink: 0;
  transform: translateY(calc(var(--bh-lockup-h) * 0.0567));
  filter: brightness(0) invert(1);
  opacity: .92;
}
.bhk-footer__tag { margin: 0; max-width: 52ch; font-size: 15px; line-height: 1.6; color: var(--on-ink-soft); }
.bhk-footer__legal { margin: 0; font-family: var(--font-mono); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--on-ink-mute); }

/* ═══════════════════════════════════════════════════════════════
   Builder Halo — site-specific: Lens, page chrome, drawer toggle,
   phone frame. Authored on top of the design-system foundation.
   ═══════════════════════════════════════════════════════════════ */

/* ── Lens (3 community types → builder value) ──────────────────── */
.bhk-lens { padding: clamp(96px,16vh,180px) clamp(20px,5vw,64px); }
.bhk-lens__head { max-width: var(--max); margin: 0 auto clamp(40px,6vh,72px); }
.bhk-lens__grid { max-width: var(--max); margin: 0 auto; display: grid; gap: clamp(18px,2.4vw,26px); grid-template-columns: 1fr; }
@media (min-width: 880px) { .bhk-lens__grid { grid-template-columns: repeat(3, 1fr); } }
.bhk-lens__resolve { max-width: var(--max); margin: clamp(32px,5vh,56px) auto 0; font-family: var(--font-display); font-weight: 500; font-size: clamp(20px,2.4vw,30px); line-height: 1.2; color: var(--ink); max-width: 30ch; }
.bhk-lens__resolve em { font-style: normal; color: var(--brass-on-light); }

/* ── Section heading wrapper used across sections ─────────────── */
.bhk-shead { display: grid; gap: 16px; max-width: var(--max-text); }
.bhk-shead .bh-eyebrow { margin-bottom: 2px; }
.bhk-shead__title { margin: 0; font-family: var(--font-display); font-weight: 500; font-size: var(--t-h2); line-height: var(--lh-heading); color: var(--ink); }
.bhk-shead__title em { font-style: normal; color: var(--brass-on-light); }
.bhk-shead__lede { margin: 0; color: var(--ink-soft); font-size: var(--t-lede); line-height: 1.62; max-width: 58ch; }

/* ── Skip link ────────────────────────────────────────────────── */
.bhk-skip { position: fixed; top: 8px; left: 8px; z-index: 100; transform: translateY(-150%); background: var(--ink); color: var(--on-ink); padding: 10px 16px; border-radius: var(--r-sm); transition: transform .2s var(--ease-out); }
.bhk-skip:focus { transform: none; }

/* ── Scroll progress ─────────────────────────────────────────── */
.bhk-progress { position: fixed; top: 0; left: 0; height: 2px; width: 0; background: var(--brass); z-index: 60; transition: width .1s linear; }

/* ── Mobile drawer: closed = removed from layout & tab order ───── */
@media (max-width: 860px) {
  .bhk-nav__drawer { display: none; }
  body.nav-open .bhk-nav__drawer { display: flex; }
  body.nav-open { overflow: hidden; }
  /* A backdrop-filter makes the nav the containing block for its fixed-position
     children, which collapses the drawer to the header's own height once the
     page is scrolled. Swap the blur for a solid ground while the drawer is open
     so the drawer measures against the viewport again. */
  body.nav-open .bhk-nav.is-scrolled {
    backdrop-filter: none; -webkit-backdrop-filter: none; background: var(--canvas);
  }
}
.bhk-nav__burger.is-open span { background: transparent; }
/* Keep the translateX(-50%) that centers the bar, or the X drifts off-center. */
.bhk-nav__burger.is-open span::before { top: 0; transform: translateX(-50%) rotate(45deg); }
.bhk-nav__burger.is-open span::after { top: 0; transform: translateX(-50%) rotate(-45deg); }

/* ── Hero parallax hook: reserve a safe overscan only where motion runs. ── */
@media (min-width: 861px) and (hover: hover) and (pointer: fine) {
  .bhk-hero__media { inset: -7% 0; will-change: transform; }
}

/* ── Mobile thumb CTA ────────────────────────────────────────── */
/* ══ Schedule-a-demo modal ══ */
.bhk-modal { position: fixed; inset: 0; z-index: 90; display: flex; align-items: center; justify-content: center; padding: clamp(12px, 3vw, 32px); }
.bhk-modal[hidden] { display: none; }
.bhk-modal__backdrop { position: absolute; inset: 0; background: rgba(20,17,12,.62); backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px); opacity: 0; transition: opacity .32s var(--ease-out); }
.bhk-modal.is-open .bhk-modal__backdrop { opacity: 1; }
.bhk-modal__dialog { position: relative; width: min(560px, 100%); max-height: calc(100dvh - 24px); overflow-y: auto; overscroll-behavior: contain;
  background: linear-gradient(180deg, #2A251D 0%, var(--ink) 100%); color: var(--on-ink);
  border: 1px solid rgba(184,137,59,.22); border-radius: var(--r-lg);
  box-shadow: 0 40px 90px rgba(0,0,0,.55), 0 0 0 1px rgba(255,255,255,.02) inset;
  padding: clamp(24px, 4vw, 40px); padding-bottom: max(clamp(24px, 4vw, 40px), env(safe-area-inset-bottom)); transform: translateY(18px) scale(.98); opacity: 0; transition: transform .36s var(--ease-out), opacity .36s var(--ease-out); }
.bhk-modal.is-open .bhk-modal__dialog { transform: none; opacity: 1; }
.bhk-modal__x { position: absolute; top: 12px; right: 12px; width: 44px; height: 44px; display: grid; place-items: center; border: none; border-radius: var(--r-pill); background: rgba(250,247,242,.06); color: var(--on-ink-soft); cursor: pointer; transition: background .2s var(--ease-out), color .2s var(--ease-out); }
.bhk-modal__x:hover { background: rgba(250,247,242,.13); color: var(--on-ink); }
.bhk-modal__x:focus-visible { outline: 2px solid var(--golden-hour); outline-offset: 2px; }

.bhk-sched__head { margin-bottom: 22px; }
.bhk-sched__title { font-family: var(--font-display); font-weight: 600; font-size: clamp(26px, 4vw, 34px); line-height: 1.08; margin: 0; }
.bhk-sched__sub { margin: 8px 0 0; color: var(--on-ink-soft); font-size: 15px; }
.bhk-sched__body { display: grid; gap: 16px; }
.bhk-field__row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 520px) { .bhk-field__row { grid-template-columns: 1fr; } }
.bhk-field { display: flex; flex-direction: column; gap: 7px; }
.bhk-field__label { font-family: var(--font-mono); font-size: 11px; letter-spacing: .07em; text-transform: uppercase; color: var(--on-ink-soft); }
.bhk-field__label i { color: var(--golden-hour); font-style: normal; }
.bhk-field__opt { font-style: normal; color: var(--on-ink-mute); text-transform: none; letter-spacing: .02em; font-size: 10.5px; }
.bhk-field__input { width: 100%; padding: 12px 14px; border-radius: var(--r-md);
  background: rgba(250,247,242,.05); border: 1px solid rgba(250,247,242,.14); color: var(--on-ink);
  font-family: var(--font-body); font-size: max(16px, 1em); transition: border-color .2s var(--ease-out), background .2s var(--ease-out); resize: vertical; }
.bhk-field__input::placeholder { color: var(--on-ink-mute); }
.bhk-field__input:focus { outline: none; border-color: var(--brass); background: rgba(250,247,242,.08); }

.bhk-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.bhk-chip { padding: 9px 15px; min-height: 44px; display: inline-flex; align-items: center; border-radius: var(--r-pill); cursor: pointer;
  background: rgba(250,247,242,.05); border: 1px solid rgba(250,247,242,.16); color: var(--on-ink-soft);
  font-family: var(--font-body); font-size: 13.5px; transition: all .18s var(--ease-out); }
.bhk-chip:hover { border-color: rgba(244,199,106,.5); color: var(--on-ink); }
.bhk-chip.is-selected { background: var(--golden-hour); border-color: var(--golden-hour); color: var(--ink); font-weight: 600; }
.bhk-chip:focus-visible { outline: 2px solid var(--golden-hour); outline-offset: 2px; }

.bhk-sched__foot { margin-top: 24px; }
.bhk-sched__submit { width: 100%; justify-content: center; }
.bhk-sched__privacy { margin: 10px auto 0; max-width: 46ch; color: var(--on-ink-mute); font-size: 11px; line-height: 1.5; text-align: center; }
.bhk-sched__error { margin: 12px 0 0; font-family: var(--font-mono); font-size: 12px; letter-spacing: .03em; color: #F3C9B8; text-align: center; }

.bhk-sched__done { text-align: center; padding: 18px 8px 8px; }
.bhk-sched__done-mark { width: 64px; height: 64px; margin: 0 auto 18px; display: grid; place-items: center; border-radius: var(--r-pill); background: rgba(244,199,106,.14); color: var(--golden-hour); }
.bhk-sched__done-title { font-family: var(--font-display); font-weight: 600; font-size: clamp(24px, 3.4vw, 30px); margin: 0; }
.bhk-sched__done-text { margin: 10px auto 0; color: var(--on-ink-soft); max-width: 34ch; }

/* ── Reveal stagger (siblings get incremental delay via JS var) ── */
[data-reveal] { transition-delay: var(--reveal-delay, 0ms); }

/* ── Form error / success on the close form ──────────────────── */
.bhk-close__error { margin: 10px 0 0; font-family: var(--font-mono); font-size: 12px; letter-spacing: .04em; color: #F3C9B8; }
.bhk-close__form .bh-btn { white-space: nowrap; }
@media (max-width: 720px) { .bhk-close__form .bh-btn { width: 100%; } }

/* ── Pill-as-link in hero ────────────────────────────────────── */
a.bhk-hero__pilllink { display: inline-flex; min-height: 44px; align-items: center; }
a.bhk-hero__pilllink:hover .bh-pill { border-color: var(--golden-hour); }

/* ── Fixes from QA ───────────────────────────────────────────── */
/* The hidden attribute must win over component display (tabs panels,
   drawer, form messages all rely on it). */
[hidden] { display: none !important; }

/* Lens cards: a touch taller so the overlay copy breathes; wide on phones. */
.bhk-lens .bh-media { aspect-ratio: 16 / 10; }
@media (min-width: 880px) { .bhk-lens .bh-media { aspect-ratio: 4 / 5; } }
.bhk-lens .bh-media__title { font-size: clamp(19px, 1.9vw, 26px); }

/* ═══ Round 2 polish: hero halo, contrast ═══ */

/* ── Hero minimal halo thread ─────────────────────────────────── */
.bhk-hero__halo { position: absolute; left: 0; right: 0; bottom: 16%; width: 100%;
  height: clamp(120px, 24vh, 240px); z-index: 0; pointer-events: none; opacity: .6; }
@media (max-width: 720px) { .bhk-hero__halo { bottom: 22%; opacity: .5; } }
/* Drop the continuously-animated, blurred light sweep on mobile/touch — repainting a
   Gaussian-blurred stroke every frame is a real scroll-jank cost on phones. The static
   halo below stays for the brand glow. */
@media (max-width: 860px), (hover: none) and (pointer: coarse) {
  .bhk-hero__halo .bhk-halo__sweep { display: none; }
}
@media (prefers-reduced-motion: reduce) { .bhk-hero__halo .bhk-halo__sweep { display: none; } }

/* ── MediaCard: stronger bottom protection gradient for legibility ── */
.bh-media__veil { height: 82%; background: linear-gradient(180deg, transparent 0%,
  rgba(27,24,22,.12) 24%, rgba(27,24,22,.6) 60%, rgba(27,24,22,.92) 100%); }
.bh-media__kicker { text-shadow: 0 1px 6px rgba(27,24,22,.7); }

/* ═══ Home-types gallery — art-directed, swipe (mobile) / scroll+arrows (desktop) ═══ */
.bhk-types { padding: clamp(96px, 16vh, 180px) 0; }
.bhk-types__head { max-width: var(--max); margin: 0 auto clamp(36px, 5vh, 64px); padding: 0 clamp(20px, 5vw, 64px); }

.bhk-types__viewport { position: relative; }
.bhk-types__rail {
  list-style: none; margin: 0; display: flex; gap: clamp(14px, 1.6vw, 22px);
  overflow-x: auto; scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch;
  scrollbar-width: none; padding: 8px clamp(20px, 5vw, 64px);
  scroll-padding-left: clamp(20px, 5vw, 64px);
}
.bhk-types__rail::-webkit-scrollbar { display: none; }

.bhk-type {
  flex: 0 0 auto; position: relative; overflow: hidden; isolation: isolate;
  border-radius: var(--r-lg); scroll-snap-align: start; background: var(--ink);
  color: var(--on-ink); box-shadow: var(--shadow-md);
  width: min(86vw, 360px); aspect-ratio: 9 / 16;
}
@media (min-width: 880px) { .bhk-type { width: min(62vw, 760px); aspect-ratio: 16 / 9; } }

.bhk-type picture { position: absolute; inset: 0; z-index: 0; }
.bhk-type__img { width: 100%; height: 100%; object-fit: cover; display: block;
  filter: saturate(1.03) contrast(1.02); transition: transform .9s var(--ease-out); }
@media (hover: hover) { .bhk-type:hover .bhk-type__img { transform: scale(1.035); } }
.bhk-type__veil { position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: linear-gradient(180deg, rgba(27,24,22,.20) 0%, rgba(27,24,22,0) 30%, rgba(27,24,22,.5) 68%, rgba(27,24,22,.93) 100%); }
.bhk-type__idx { position: absolute; top: clamp(16px,2vw,22px); left: clamp(18px,2.4vw,26px); z-index: 2;
  font-family: var(--font-mono); font-size: 11px; letter-spacing: .22em; color: var(--on-ink-mute); }
.bhk-type__copy { position: absolute; inset: auto 0 0 0; z-index: 2; display: grid; gap: 10px;
  padding: clamp(22px, 2.6vw, 34px); }
.bhk-type__kicker { font-family: var(--font-mono); font-size: 11px; letter-spacing: .18em;
  text-transform: uppercase; color: var(--golden-hour); }
.bhk-type__title { margin: 0; font-family: var(--font-display); font-weight: 500;
  font-size: clamp(22px, 2.1vw, 30px); line-height: 1.1; max-width: 20ch;
  text-shadow: 0 1px 12px rgba(27,24,22,.55); }

/* Controls */
.bhk-types__nav { max-width: var(--max); margin: clamp(20px, 3vh, 32px) auto 0;
  padding: 0 clamp(20px, 5vw, 64px); display: flex; align-items: center; justify-content: space-between; gap: 18px; }
@media (max-width: 879px) { .bhk-types__nav { justify-content: center; } }
.bhk-types__progress { flex: 1; max-width: 340px; height: 2px; background: var(--rule); border-radius: 2px; overflow: hidden; }
.bhk-types__progress span { display: block; height: 100%; width: 0; background: var(--brass); transition: width .2s var(--ease-out); }
.bhk-types__arrows { display: flex; gap: 8px; flex: 0 0 auto; }
.bhk-types__arrows button { width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--rule-strong);
  color: var(--ink); font-size: 16px; transition: background .25s var(--ease-out), color .25s var(--ease-out), border-color .25s var(--ease-out), opacity .25s; }
.bhk-types__arrows button:hover { background: var(--ink); color: var(--canvas); border-color: var(--ink); }
.bhk-types__arrows button[disabled] { opacity: .25; cursor: default; }
.bhk-types__dots { display: flex; gap: 8px; }
.bhk-types__dots button { width: 8px; height: 8px; border-radius: 99px; background: var(--rule-strong);
  position: relative; transition: width .25s var(--ease-out), background .25s var(--ease-out); }
.bhk-types__dots button::before { content: ''; position: absolute; inset: -20px -7px; }
.bhk-types__dots button.is-on { width: 22px; background: var(--brass); }

.bhk-types__resolve { max-width: var(--max); margin: clamp(28px, 4vh, 46px) auto 0; padding: 0 clamp(20px, 5vw, 64px);
  font-family: var(--font-display); font-weight: 500; font-size: clamp(20px, 2.2vw, 30px); line-height: 1.2; color: var(--ink); }
.bhk-types__resolve em { font-style: normal; color: var(--brass-on-light); }

/* ── Home-types control visibility: dots on mobile, progress+arrows on desktop ── */
.bhk-types__progress { display: none; }
.bhk-types__arrows { display: none; }
.bhk-types__dots { display: flex; }
@media (min-width: 880px) {
  .bhk-types__progress { display: block; }
  .bhk-types__arrows { display: flex; }
  .bhk-types__dots { display: none; }
}
.bhk-type__idx { text-shadow: 0 1px 8px rgba(27,24,22,.6); }

/* ═══════════════════════════════════════════════════════════════
   BLOG — listing + post pages
   Convention: bhk-blog*, bhk-post*, bhk-prose*, bhk-blogcard*
   Claude publishing model: drop a .md in content/blog/ → npm run build:content
   ═══════════════════════════════════════════════════════════════ */

/* ── Shared nav solid override for blog/post pages ── */
.bhk-nav--solid { background: var(--canvas); border-bottom: 1px solid var(--rule); }
.bhk-nav--solid .bhk-nav__brand img.bhk-nav__mark,
.bhk-nav--solid .bhk-nav__brand img.bhk-nav__word { filter: none; }

/* ── Blog listing head ── */
.bhk-blog { max-width: var(--max); margin: 0 auto; padding: clamp(96px, 14vh, 160px) clamp(20px, 5vw, 64px) clamp(80px, 12vh, 140px); }
.bhk-blog__head { max-width: 680px; margin-bottom: clamp(48px, 7vh, 88px); }
.bhk-blog__title { font-family: var(--font-display); font-size: clamp(36px, 5vw, 62px); font-weight: 500; line-height: 1.08; letter-spacing: -0.02em; color: var(--ink); margin: 12px 0 20px; }
.bhk-blog__title em { font-style: normal; color: var(--brass-on-light); }
.bhk-blog__lede { font-size: clamp(16px, 1.4vw, 18px); line-height: 1.65; color: var(--ink-mute); max-width: 52ch; }

/* ── Blog card grid ── */
.bhk-blog__list { display: grid; gap: clamp(28px, 4vw, 48px); }
@media (min-width: 760px) { .bhk-blog__list { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1100px) { .bhk-blog__list { grid-template-columns: repeat(3, 1fr); } }

.bhk-blogcard { border-radius: var(--r-lg); overflow: hidden; background: var(--canvas); border: 1px solid var(--rule); transition: box-shadow .25s var(--ease-out), transform .25s var(--ease-out); }
@media (hover: hover) { .bhk-blogcard:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); } }
.bhk-blogcard__link { display: block; text-decoration: none; color: inherit; }
.bhk-blogcard__media { aspect-ratio: 16 / 9; overflow: hidden; }
.bhk-blogcard__media img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .6s var(--ease-out); }
@media (hover: hover) { .bhk-blogcard:hover .bhk-blogcard__media img { transform: scale(1.04); } }
.bhk-blogcard__body { padding: clamp(18px, 2.4vw, 28px); display: grid; gap: 10px; }
.bhk-blogcard__meta { font-family: var(--font-mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-mute); }
.bhk-blogcard__title { font-family: var(--font-display); font-size: clamp(18px, 1.6vw, 22px); font-weight: 500; line-height: 1.2; color: var(--ink); letter-spacing: -0.01em; }
.bhk-blogcard__excerpt { font-size: 14px; line-height: 1.6; color: var(--ink-mute); display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.bhk-blogcard__tags { display: flex; flex-wrap: wrap; gap: 6px; }

/* ── Tags ── */
.bhk-tag { display: inline-block; font-family: var(--font-mono); font-size: 10px; letter-spacing: .14em; text-transform: uppercase; color: var(--brass-on-light); border: 1px solid var(--brass-fade, rgba(184,137,59,.35)); border-radius: 99px; padding: 3px 10px; }

/* ── Post head ── */
.bhk-post { max-width: 720px; margin: 0 auto; padding: clamp(80px, 12vh, 140px) clamp(20px, 5vw, 48px) clamp(80px, 12vh, 140px); }
.bhk-post__back { display: inline-flex; align-items: center; min-height: 44px; gap: 6px; font-family: var(--font-mono); font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-mute); text-decoration: none; margin-bottom: 40px; transition: color .2s; }
.bhk-post__back:hover { color: var(--ink); }
.bhk-post__meta { font-family: var(--font-mono); font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-mute); margin-bottom: 16px; }
.bhk-post__title { font-family: var(--font-display); font-size: clamp(32px, 4.5vw, 54px); font-weight: 500; line-height: 1.08; letter-spacing: -0.02em; color: var(--ink); margin: 0 0 16px; }
.bhk-post__byline { font-family: var(--font-mono); font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-mute); }
.bhk-post__tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 20px; }

/* ── Post hero image ── */
.bhk-post__hero { margin: 36px 0 52px; border-radius: var(--r-lg); overflow: hidden; aspect-ratio: 16 / 9; }
.bhk-post__hero img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* ── Prose body — generated from markdown ── */
.bhk-prose { font-size: clamp(16px, 1.35vw, 18px); line-height: 1.75; color: var(--ink); }
.bhk-prose h2 { font-family: var(--font-display); font-size: clamp(24px, 2.4vw, 32px); font-weight: 500; line-height: 1.15; letter-spacing: -0.015em; color: var(--ink); margin: 2.4em 0 .7em; }
.bhk-prose h3 { font-family: var(--font-display); font-size: clamp(20px, 1.9vw, 26px); font-weight: 500; line-height: 1.2; color: var(--ink); margin: 2em 0 .6em; }
.bhk-prose p { margin: 0 0 1.4em; }
.bhk-prose a { color: var(--brass-on-light); text-underline-offset: 3px; }
.bhk-prose a:hover { text-decoration: none; }
.bhk-prose ul, .bhk-prose ol { margin: 0 0 1.4em 1.4em; }
.bhk-prose li { margin-bottom: .4em; }
.bhk-prose blockquote { border-left: 3px solid var(--brass); margin: 2em 0; padding: .8em 0 .8em 1.4em; font-family: var(--font-display); font-size: 1.1em; line-height: 1.4; color: var(--ink-mute); }
.bhk-prose hr { border: none; border-top: 1px solid var(--rule); margin: 2.4em 0; }
.bhk-prose strong { color: var(--ink); font-weight: 600; }
.bhk-prose code { font-family: var(--font-mono); font-size: .88em; background: var(--rule); padding: 2px 6px; border-radius: 4px; }
.bhk-prose pre { background: var(--ink); color: var(--on-ink); border-radius: var(--r-md); padding: 1.2em 1.4em; overflow-x: auto; margin: 1.6em 0; }
.bhk-prose pre code { background: none; padding: 0; color: inherit; }

/* ── Post prev/next nav ── */
.bhk-postnav { display: flex; gap: 16px; margin-top: 56px; padding-top: 32px; border-top: 1px solid var(--rule); }
.bhk-postnav__link { flex: 1; display: grid; gap: 6px; padding: 18px 20px; border: 1px solid var(--rule); border-radius: var(--r-md); text-decoration: none; color: inherit; transition: border-color .2s, background .2s; }
.bhk-postnav__link:hover { border-color: var(--brass); background: var(--canvas); }
.bhk-postnav__link--next { text-align: right; }
.bhk-postnav__dir { font-family: var(--font-mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--brass-on-light); }
.bhk-postnav__t { font-family: var(--font-display); font-size: 15px; line-height: 1.3; color: var(--ink); }

/* ── Post bottom CTA ── */
.bhk-post__cta { margin-top: 64px; padding: clamp(32px, 5vw, 56px); background: var(--ink); border-radius: var(--r-lg); display: grid; gap: 14px; text-align: center; }
.bhk-post__cta-eyebrow { font-family: var(--font-mono); font-size: 11px; letter-spacing: .18em; text-transform: uppercase; color: var(--on-ink-mute); }
.bhk-post__cta-title { font-family: var(--font-display); font-size: clamp(24px, 2.8vw, 36px); font-weight: 500; line-height: 1.12; color: var(--on-ink); margin: 0; }
.bhk-post__cta-title em { font-style: normal; color: var(--golden-hour); }
.bhk-post__cta .bh-btn { margin: 8px auto 0; }

/* ═══════════════════════════════════════════════════════════════
   PRODUCT SHOWCASE — app coverflow (Claude Design System)
   3D coverflow of the app with a halo light gliding behind the hero
   device. Autoplay + drag/swipe + keyboard. Lives on the dark ground.
   ═══════════════════════════════════════════════════════════════ */
.show {
  position: relative; width: 100%;
  background:
    radial-gradient(60% 50% at 22% 30%, rgba(244,199,106,.10), transparent 60%),
    radial-gradient(70% 60% at 90% 80%, rgba(184,137,59,.12), transparent 64%),
    var(--ink);
  color: var(--on-ink); overflow: hidden; isolation: isolate;
  display: grid; align-items: center;
}
.show__inner {
  width: 100%; max-width: 1280px; margin: 0 auto;
  padding: clamp(40px, 7vh, 88px) clamp(24px, 5vw, 72px);
  display: grid; grid-template-columns: minmax(0, 0.86fr) minmax(0, 1.14fr);
  gap: clamp(24px, 4vw, 64px); align-items: center;
}
.show__copy { display: grid; gap: 18px; align-content: center; max-width: 460px; }
.show__eyebrow {
  display: inline-flex; align-items: center; gap: 14px; margin: 0; white-space: nowrap;
  font-family: var(--font-mono); font-size: 11px; font-weight: 500;
  letter-spacing: .2em; text-transform: uppercase; color: var(--on-ink-mute);
}
.show__eyebrow .idx { color: var(--golden-hour); }
.show__eyebrow .rule { width: 26px; height: 1px; background: currentColor; opacity: .45; }
.show__headline { position: relative; min-height: 168px; }
.show__title {
  margin: 0; font-family: var(--font-display); font-weight: 500;
  font-size: clamp(30px, 3.8vw, 52px); line-height: 1.04; color: var(--on-ink); max-width: 18ch;
}
.show__title em { font-style: normal; color: var(--golden-hour); }
.show__lede {
  margin: 16px 0 0; font-family: var(--font-body); font-size: clamp(15px, 1.1vw, 17.5px);
  line-height: 1.6; color: var(--on-ink-soft); max-width: 42ch;
}
.show__swap { transition: opacity .45s var(--ease-out), transform .45s var(--ease-out); }
.show.is-swapping .show__swap { opacity: 0; transform: translateY(8px); }
.show__foot { display: flex; align-items: center; gap: 22px; margin-top: 6px; flex-wrap: wrap; }
.show__dots { display: flex; gap: 0; }
.show__dot {
  width: 44px; height: 44px; border-radius: 999px; background: transparent;
  cursor: pointer; padding: 0; border: 0; overflow: visible; position: relative;
  transition: background .3s var(--ease-out);
}
.show__dot::before { content: ''; position: absolute; left: 7px; right: 7px; top: 20px; height: 4px; border-radius: 999px; background: rgba(250,247,242,.22); }
.show__dot .fill { position: absolute; left: 7px; top: 20px; height: 4px; width: 0; background: var(--brass); border-radius: 999px; }
.show__dot[aria-selected="true"] .fill { width: 30px; transition: width .24s var(--ease-out); }
.show.is-paused .show__dot[aria-selected="true"] .fill { transition: none; }
.show__nav { display: flex; gap: 8px; margin-left: auto; }
.show__nav button {
  width: 44px; height: 44px; border-radius: 50%; border: 1px solid rgba(250,247,242,.26);
  color: var(--on-ink); font-size: 16px; cursor: pointer; background: transparent;
  display: grid; place-items: center;
  transition: background .25s var(--ease-out), border-color .25s var(--ease-out), transform .25s var(--ease-out);
}
.show__nav button:hover { background: rgba(250,247,242,.1); border-color: rgba(250,247,242,.5); }
.show__nav button:active { transform: scale(.94); }
.show__nav button:focus-visible { outline: 2px solid var(--golden-hour); outline-offset: 3px; }
.show__stage {
  position: relative; height: clamp(460px, 70vh, 631px);
  perspective: 1700px; perspective-origin: 50% 46%; touch-action: pan-y;
}
.show__halo {
  position: absolute; left: 50%; top: 50%; width: 142%; height: 50%;
  transform: translate(-50%, -54%); z-index: 0; pointer-events: none;
}
.show__halo svg { width: 100%; height: 100%; display: block; overflow: visible; }
.show__deck { position: absolute; inset: 0; transform-style: preserve-3d; display: grid; place-items: center; }
.show__phone {
  position: absolute; height: 100%; width: auto; cursor: pointer; margin: 0;
  transform-style: preserve-3d;
  transition: transform .72s var(--ease-out), opacity .72s var(--ease-out), filter .72s var(--ease-out);
  -webkit-user-select: none; user-select: none; -webkit-touch-callout: none;
}
.show__phone picture { display: block; height: 100%; }
.show__phone img { height: 100%; width: auto; display: block;
  filter: drop-shadow(0 34px 58px rgba(0,0,0,.52)); -webkit-user-drag: none;
  opacity: .92; transform: scale(.985);
  transition: opacity .72s var(--ease-out), transform .72s var(--ease-out); }
.show__phone--active img { opacity: 1; transform: scale(1); filter: drop-shadow(0 34px 58px rgba(0,0,0,.52)) brightness(1.02); }
.show__glow {
  position: absolute; left: 50%; top: 50%; width: 70%; aspect-ratio: 1; border-radius: 50%;
  transform: translate(-50%,-50%); z-index: -1;
  background: radial-gradient(circle, rgba(244,199,106,.26), transparent 62%);
  opacity: 0; transition: opacity .72s var(--ease-out);
}
.show__phone--active .show__glow { opacity: 1; }
.show__hint {
  position: absolute; left: 0; right: 0; bottom: 14px; z-index: 3; text-align: center;
  font-family: var(--font-mono); font-size: 10px; letter-spacing: .2em; text-transform: uppercase;
  color: var(--on-ink-mute); pointer-events: none;
}
@media (max-width: 900px) {
  .show__inner { grid-template-columns: 1fr; gap: 12px; text-align: center; justify-items: center; padding-top: clamp(36px,6vh,64px); }
  .show__copy { max-width: 540px; justify-items: center; }
  .show__eyebrow, .show__title, .show__lede { text-align: center; }
  .show__title { max-width: 22ch; }
  .show__lede { max-width: 52ch; }
  .show__foot { justify-content: center; }
  .show__nav { margin-left: 0; }
  .show__stage { width: 100%; height: clamp(380px, calc(100vh - 360px), 631px);
    height: clamp(380px, calc(100svh - 360px), 631px); }
  .show__headline { min-height: 150px; }
}
@media (max-width: 560px) {
  .show__stage { height: clamp(320px, calc(100vh - 350px), 631px);
    height: clamp(320px, calc(100svh - 350px), 631px); perspective: 1100px; }
  .show__headline { min-height: 180px; }
  .show__hint { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .show__phone, .show__phone img { transition: none; }
  .show__halo .glide { display: none; }
  .show__dot .fill { transition: none !important; }
}

/* ═══════════════════════════════════════════════════════════════
   BUILDER BACKED — co-brand capstone (Partnership Halo lockup)
   ═══════════════════════════════════════════════════════════════ */
.bhk-backed {
  position: relative; overflow: hidden; isolation: isolate;
  padding: clamp(80px, 12vh, 140px) clamp(20px, 5vw, 64px);
  background:
    radial-gradient(50% 60% at 78% 42%, rgba(244,199,106,.12), transparent 64%),
    radial-gradient(60% 60% at 12% 80%, rgba(184,137,59,.10), transparent 62%),
    var(--ink);
  color: var(--on-ink);
}
.bhk-backed__inner {
  max-width: var(--max); margin: 0 auto;
  display: grid; grid-template-columns: minmax(0, 0.94fr) minmax(0, 1.06fr);
  gap: clamp(28px, 5vw, 72px); align-items: center;
}
.bhk-backed__copy { display: grid; gap: 18px; max-width: 460px; }
.bhk-backed__eyebrow {
  display: inline-flex; align-items: center; gap: 12px; margin: 0;
  font-family: var(--font-mono); font-size: 11px; font-weight: 500;
  letter-spacing: .2em; text-transform: uppercase; color: var(--on-ink-mute);
}
.bhk-backed__eyebrow .rule { width: 26px; height: 1px; background: currentColor; opacity: .45; }
.bhk-backed__eyebrow .idx { color: var(--golden-hour); }
.bhk-backed__title {
  margin: 0; font-family: var(--font-display); font-weight: 500;
  font-size: clamp(30px, 4vw, 52px); line-height: 1.05; color: var(--on-ink); max-width: 16ch;
}
.bhk-backed__title em { font-style: normal; color: var(--golden-hour); }
.bhk-backed__lede {
  margin: 0; font-family: var(--font-body); font-size: clamp(15px, 1.1vw, 17.5px);
  line-height: 1.62; color: var(--on-ink-soft); max-width: 46ch;
}
.bhk-backed__lede strong { color: var(--on-ink); font-weight: 600; }
/* Builder Backed CTA — Builder Halo brand gradient (golden-hour → brass) */
.bhk-backed__cta {
  display: inline-flex; align-items: center; gap: 10px; margin-top: 4px;
  padding: 15px 26px; border-radius: var(--r-pill);
  background: linear-gradient(103deg, var(--golden-hour) 0%, var(--brass) 52%, var(--brass-deep) 100%);
  color: var(--ink);
  font-family: var(--font-body); font-size: 15px; font-weight: 600; letter-spacing: .01em;
  text-decoration: none; width: fit-content;
  box-shadow: 0 1px 0 rgba(255,255,255,.4) inset, var(--shadow-cta);
  transition: transform .28s var(--ease-out), box-shadow .28s var(--ease-out);
}
.bhk-backed__cta svg { transition: transform .28s var(--ease-out); }
.bhk-backed__cta:hover { transform: translateY(-2px); box-shadow: 0 1px 0 rgba(255,255,255,.5) inset, 0 18px 44px rgba(184,137,59,.4); }
.bhk-backed__cta:hover svg { transform: translateX(3px); }
.bhk-backed__cta:focus-visible { outline: 2px solid var(--golden-hour); outline-offset: 3px; }
.bhk-orbit { position: relative; margin: 0; width: 100%; }
.bhk-orbit__stage { position: relative; width: 100%; }
.bhk-orbit svg { width: 100%; height: auto; display: block; overflow: visible; }
/* Logomarks overlaid as real <img> over the SVG ring — reliable on iOS Safari,
   unlike <foreignObject><img>. Positions match the old foreignObject coords:
   halo centered at x=245/700 (35%), backed at x=460/700 (65.7%), ring center y=190/400 (47.5%). */
.bhk-orbit__mark {
  position: absolute;
  top: 47.5%;
  height: auto;
  transform: translate(-50%, -50%);
}
.bhk-orbit__mark--halo { left: 35%; width: 10.57%; }
.bhk-orbit__mark--backed { left: 65.7%; width: 8.29%; filter: brightness(0) invert(1); }
.bhk-orbit__mark--partner-halo { left: 32.14%; width: 10%; }
.bhk-orbit__mark--fischer { left: 67.14%; width: 21.71%; }
.bhk-orbit__cap {
  margin: 4px 0 0; text-align: center;
  font-family: var(--font-mono); font-size: 11px; letter-spacing: .22em;
  text-transform: uppercase; color: var(--on-ink-mute);
}
.bhk-orbit__cap b { color: var(--golden-hour); font-weight: 500; }
@media (max-width: 880px) {
  .bhk-backed__inner { grid-template-columns: 1fr; gap: clamp(20px,5vh,40px); text-align: center; justify-items: center; }
  .bhk-backed__copy { max-width: 540px; justify-items: center; }
  .bhk-backed__title { max-width: 22ch; }
  .bhk-backed__lede { max-width: 52ch; }
  .bhk-orbit { max-width: 560px; order: -1; }
}
@media (prefers-reduced-motion: reduce) { .bhk-orbit .sweep { display: none; } }

/* ══════════════════════════════════════════════════════════════
   JOURNEY COMPOSER (#lens) — ported from Claude Design System
   guidelines/brand-journey-composer.html. Same platform, a journey
   shaped by each community. Uses existing brand tokens.
   ══════════════════════════════════════════════════════════════ */
.jx { position: relative; overflow: hidden; color: var(--on-ink);
  background:
    radial-gradient(55% 45% at 85% 8%, rgba(184,137,59,.10), transparent 60%),
    radial-gradient(60% 55% at 12% 95%, rgba(244,199,106,.07), transparent 62%),
    var(--ink); }
.jx__inner { max-width: 1240px; margin: 0 auto; padding: clamp(48px,8vh,92px) clamp(20px,5vw,64px); }

.jx__eyebrow { display: inline-flex; align-items: center; gap: 14px; margin: 0 0 18px;
  font-family: var(--font-mono); font-size: 11px; font-weight: 500; letter-spacing: .2em; text-transform: uppercase; color: var(--on-ink-mute); }
.jx__eyebrow .rule { width: 28px; height: 1px; background: currentColor; opacity: .5; }
.jx__title { margin: 0; font-family: var(--font-display); font-weight: 500; font-size: clamp(30px,4.4vw,56px); line-height: 1.05; max-width: 22ch; color: var(--on-ink); }
.jx__title em { font-style: normal; color: var(--golden-hour); }
.jx__lede { margin: 16px 0 0; font-size: clamp(15px,1.1vw,17.5px); line-height: 1.6; color: var(--on-ink-soft); max-width: 60ch; }

.jx__tabs { display: flex; flex-wrap: wrap; gap: 8px; margin: clamp(26px,4vh,40px) 0 0; }
.jx__tab { display: inline-flex; flex-direction: column; gap: 2px; padding: 9px 17px; border-radius: var(--r-pill);
  border: 1px solid rgba(250,247,242,.22); background: transparent; cursor: pointer; text-align: left; color: var(--on-ink);
  transition: background .3s var(--ease-out), border-color .3s var(--ease-out); }
.jx__tab .nm { font-family: var(--font-body); font-weight: 600; font-size: 13.5px; white-space: nowrap; }
.jx__tab .ty { font-family: var(--font-mono); font-size: 9px; letter-spacing: .14em; text-transform: uppercase; color: var(--on-ink-mute); }
.jx__tab:hover { border-color: rgba(250,247,242,.5); }
.jx__tab[aria-selected="true"] { background: var(--on-ink); border-color: var(--on-ink); color: var(--ink); }
.jx__tab[aria-selected="true"] .ty { color: var(--brass-label); }
.jx__tab:focus-visible { outline: 2px solid var(--golden-hour); outline-offset: 2px; }

.jx__stage { display: flex; flex-direction: column; gap: clamp(18px,2.6vw,30px); margin: clamp(22px,3.4vh,38px) 0 0; }

.jx__media { position: relative; border-radius: var(--r-lg); overflow: hidden; background: #14110e; height: clamp(280px,38vh,376px);
  box-shadow: 0 30px 70px rgba(0,0,0,.45); }
.jx__frame { position: absolute; inset: 0; opacity: 0; transition: opacity .9s var(--ease-out); }
.jx__frame.is-on { opacity: 1; }
.jx__frame img, .jx__img { width: 100%; height: 100%; object-fit: cover; display: block; transform: scale(1.06);
  transition: transform 7s linear; }
.jx__frame.is-on img { transform: scale(1); }
.jx__veil { position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: linear-gradient(180deg, rgba(20,17,14,.05) 0%, rgba(20,17,14,.12) 46%, rgba(20,17,14,.82) 100%); }
.jx__loc { position: absolute; left: clamp(20px,3vw,30px); bottom: clamp(20px,3vw,30px); right: 20px; z-index: 2; display: grid; gap: 7px; }
.jx__loc .k { display: inline-flex; align-items: center; gap: 9px; font-family: var(--font-mono); font-size: 10.5px; letter-spacing: .18em; text-transform: uppercase; color: var(--golden-hour); }
.jx__loc .k .pin { width: 5px; height: 5px; border-radius: 50%; background: var(--golden-hour); box-shadow: 0 0 0 3px rgba(244,199,106,.25); }
.jx__loc .nm { font-family: var(--font-display); font-weight: 500; font-size: clamp(26px,2.6vw,38px); line-height: 1.02; color: #fff; text-shadow: 0 2px 14px rgba(20,17,14,.5); }

.jx__journey { display: flex; flex-direction: column; }
.jx__ctx { display: flex; align-items: baseline; gap: 14px; margin: 0 0 18px; }
.jx__ctx .lbl { font-family: var(--font-mono); font-size: 10px; letter-spacing: .18em; text-transform: uppercase; color: var(--on-ink-mute); flex: 0 0 auto; }
.jx__ctx .line { margin: 0; font-family: var(--font-body); font-size: clamp(14.5px,1vw,16px); line-height: 1.55; color: var(--on-ink-soft); max-width: 64ch; transition: opacity .4s var(--ease-out); }
.jx__ctx.is-swapping .line { opacity: 0; }

.jx__steps { list-style: none; margin: 0; padding: 0; position: relative;
  display: flex; flex-direction: row; align-items: stretch; gap: clamp(8px,1.1vw,16px); }
.jx__steps::before { content: ''; position: absolute; left: 4px; right: 4px; top: 9px; height: 2px; z-index: 0;
  background: linear-gradient(90deg, rgba(184,137,59,.55) 0%, rgba(184,137,59,.5) 70%, rgba(184,137,59,.16) 100%); border-radius: 2px;
  transform-origin: left; transform: scaleX(var(--thread,1)); transition: transform .7s var(--ease-out); }
.jx__steps::after { content: ''; position: absolute; left: 4px; right: 4px; top: 8px; height: 4px; z-index: 0; border-radius: 4px;
  transform-origin: left; transform: scaleX(var(--thread,1)); transition: transform .7s var(--ease-out);
  background-image: linear-gradient(90deg, rgba(255,233,176,0) 0%, rgba(255,233,176,0) 40%, rgba(255,233,176,.45) 47%, #FFF6DD 50%, rgba(255,233,176,.45) 53%, rgba(255,233,176,0) 60%, rgba(255,233,176,0) 100%);
  background-size: 240% 100%; background-repeat: no-repeat; background-position: 210% 0;
  filter: drop-shadow(0 0 5px rgba(244,199,106,.7)); animation: jxGlide 3.6s linear infinite; pointer-events: none; }
@keyframes jxGlide { from { background-position: 210% 0; } to { background-position: -30% 0; } }

.jx__step { position: relative; flex: 1 1 0; min-width: 0; display: flex; flex-direction: column; gap: 9px; padding: 0;
  opacity: 1; transform: none; transition: opacity .5s var(--ease-out), transform .5s var(--ease-out); }
.jx__step.is-enter { opacity: 0; transform: translateY(18px); }
.jx__step.is-exit { opacity: 0; transform: translateY(-14px); }
.jx__node { position: relative; z-index: 1; width: 20px; height: 20px; border-radius: 50%; border: 2px solid var(--brass); background: var(--ink); display: grid; place-items: center; box-shadow: 0 0 0 0 rgba(244,199,106,0); }
.jx__node.is-done { background: var(--brass); }
.jx__node.is-done, .jx__node.is-last { animation: jxNodeGlow 3.6s linear infinite; animation-delay: var(--nd, 0s); }
@keyframes jxNodeGlow { 0%, 64%, 100% { box-shadow: 0 0 0 0 rgba(244,199,106,0); } 80% { box-shadow: 0 0 13px 2px rgba(244,199,106,.6); } }
.jx__node.is-done::after { content: ''; width: 5px; height: 8px; border: solid var(--ink); border-width: 0 2px 2px 0; transform: rotate(45deg) translate(-1px,-1px); }
.jx__node.is-last { border-color: var(--golden-hour); background: var(--golden-hour); box-shadow: 0 0 0 4px rgba(244,199,106,.16); }
.jx__node.is-last::before { content: ''; position: absolute; inset: -5px; border-radius: 50%; border: 1px solid rgba(244,199,106,.5); animation: jxRing 2.9s var(--ease-out) infinite; }
@keyframes jxRing { 0% { transform: scale(.7); opacity: .75; } 100% { transform: scale(1.9); opacity: 0; } }
.jx__sb { display: grid; gap: 4px; padding-right: 10px; }
.jx__sk { font-family: var(--font-mono); font-size: 9px; letter-spacing: .16em; text-transform: uppercase; color: var(--brass-deep); }
.jx__sn { font-family: var(--font-display); font-weight: 500; font-size: clamp(16px,1.25vw,20px); line-height: 1.1; color: var(--on-ink); text-wrap: balance; }
.jx__sr { font-size: 12.5px; line-height: 1.4; color: var(--on-ink-mute); }
.jx__last .jx__sk { color: var(--golden-hour); }

.jx__foot { display: flex; align-items: center; gap: 14px; margin-top: 10px; }
.jx__count { font-family: var(--font-mono); font-size: 10.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--on-ink-mute); transform-origin: left center; }
.jx__count.is-pulse { animation: jxCount .7s var(--ease-out); }
@keyframes jxCount { 0%{transform:scale(1)} 28%{transform:scale(1.14)} 100%{transform:scale(1)} }
.jx__count b { color: var(--golden-hour); font-weight: 500; }
.jx__nav { display: flex; gap: 8px; margin-left: auto; }
.jx__nav button { width: 44px; height: 44px; border-radius: 50%; border: 1px solid rgba(250,247,242,.24); color: var(--on-ink); background: transparent; cursor: pointer; display: grid; place-items: center; font-size: 15px;
  transition: background .25s var(--ease-out), border-color .25s var(--ease-out), transform .2s var(--ease-out); }
.jx__nav button:hover { background: rgba(250,247,242,.1); border-color: rgba(250,247,242,.5); }
.jx__nav button:active { transform: scale(.93); }
.jx__nav button:focus-visible { outline: 2px solid var(--golden-hour); outline-offset: 2px; }

.jx__resolve { margin: clamp(28px,4vh,44px) 0 0; font-family: var(--font-display); font-weight: 500; font-size: clamp(18px,1.7vw,24px); line-height: 1.35; color: var(--on-ink-soft); max-width: 40ch; }
.jx__resolve em { font-style: normal; color: var(--golden-hour); }

@media (max-width: 860px) {
  .jx__media { height: auto; aspect-ratio: 16/9; }
  .jx__ctx { display: block; }
  .jx__ctx .lbl { display: block; margin-bottom: 6px; }
  .jx__steps { flex-direction: column; align-items: stretch; gap: 18px; }
  .jx__steps::before { left: 9px; right: auto; top: 10px; bottom: 14px; width: 2px; height: auto;
    background: linear-gradient(180deg, rgba(184,137,59,.55), rgba(184,137,59,.16));
    transform-origin: top; transform: scaleY(var(--thread,1)); }
  .jx__steps::after { left: 8px; right: auto; top: 10px; bottom: 14px; width: 4px; height: auto;
    transform-origin: top; transform: scaleY(var(--thread,1));
    background-image: linear-gradient(180deg, rgba(255,233,176,0) 0%, rgba(255,233,176,0) 40%, rgba(255,233,176,.45) 47%, #FFF6DD 50%, rgba(255,233,176,.45) 53%, rgba(255,233,176,0) 60%, rgba(255,233,176,0) 100%);
    background-size: 100% 240%; background-position: 0 210%; animation: jxGlideV 3.6s linear infinite; }
  .jx__step { flex: none; display: grid; grid-template-columns: 20px 1fr; gap: 16px; align-items: start; }
  .jx__step.is-enter { transform: translateX(28px); }
  .jx__step.is-exit { transform: translateX(-18px); }
  .jx__sb { padding-right: 0; }
  .jx__sn { font-size: clamp(17px,2.4vw,20px); }
  .jx__sr { font-size: 13px; }
}
@media (max-width: 720px) {
  .jx__inner { padding-left: 18px; padding-right: 18px; }
  .jx__tabs { flex-wrap: nowrap; overflow-x: auto; scroll-snap-type: x proximity;
    -webkit-overflow-scrolling: touch; scrollbar-width: none; margin-left: -18px; margin-right: -18px; padding: 0 18px; }
  .jx__tabs::-webkit-scrollbar { display: none; }
  .jx__tab { flex: 0 0 auto; scroll-snap-align: start; }
  .jx__media { aspect-ratio: auto; height: clamp(240px,34vh,310px); }
  .jx__loc .nm { font-size: 26px; }
  .jx__nav button { width: 44px; height: 44px; }
  .jx__title { font-size: clamp(28px,8vw,38px); }
}
@keyframes jxGlideV { from { background-position: 0 210%; } to { background-position: 0 -30%; } }
@media (prefers-reduced-motion: reduce) {
  .jx__frame, .jx__frame img, .jx__step { transition: none; }
  .jx__frame img { transform: none; } /* don't leave the banner permanently zoomed under reduced-motion */
  .jx__step.is-enter, .jx__step.is-exit { opacity: 1; transform: none; }
  .jx__steps::before { transition: none; }
  .jx__steps::after, .jx__node.is-done, .jx__node.is-last, .jx__node.is-last::before { animation: none; }
  .jx__steps::after { opacity: .5; background-position: 0 0; }
}

/* ══════════════════════════════════════════════════════════════
   CURTAIN REVEAL — hero pins and lifts on scroll to uncover the
   #showcase held behind it. JS adds .is-active and drives --lift
   (0→1). Without JS / under reduced-motion the markup is plain
   stacked sections (hero, then showcase) — no pinning, no clip.
   ══════════════════════════════════════════════════════════════ */
.curtain.is-active { position: relative; height: 200vh; height: 200svh; }
.curtain.is-active .bhk-hero {
  position: sticky; top: 0; height: 100vh; height: 100svh; z-index: 2;
  transform: translateY(calc(var(--lift, 0) * -100%));
  will-change: transform;
  box-shadow: 0 30px 70px rgba(20, 17, 14, .55);
}
.curtain.is-active .curtain__reveal {
  position: sticky; top: 0; height: 100vh; height: 100svh; margin-top: -100vh; margin-top: -100svh;
  z-index: 1; overflow: hidden; display: grid; align-content: center;
}
/* Showcase fills the reveal window and stays completely still and full-bleed —
   only the hero lifts. (No scale/drift: that exposed the page bg at the edges.) */
.curtain.is-active .curtain__reveal .show {
  min-height: 100svh; height: auto; margin: 0;
}
/* Short viewports: top-anchor so the showcase title is protected and only the bottom hint can clip. */
@media (max-width: 720px) {
  .curtain.is-active .curtain__reveal { align-content: start; }
}
@media (prefers-reduced-motion: reduce) {
  .curtain.is-active { height: auto; }
  .curtain.is-active .bhk-hero { position: relative; height: auto; transform: none; box-shadow: none; }
  .curtain.is-active .curtain__reveal { position: static; height: auto; margin-top: 0; overflow: visible; }
  .curtain.is-active .curtain__reveal .show { transform: none; height: auto; }
}
/* Touch / mobile: a pinned sticky hero that lifts on scroll fights the browser's
   address-bar show/hide and inertial scrolling (visibly glitchy on iOS). Fall back
   to plain stacked sections — identical to the reduced-motion path — for smooth
   native scrolling. The premium curtain reveal stays a desktop, fine-pointer effect. */
@media (max-width: 860px), (hover: none) and (pointer: coarse) {
  .curtain.is-active { height: auto; }
  .curtain.is-active .bhk-hero { position: relative; height: auto; min-height: 100svh; transform: none; box-shadow: none; will-change: auto; }
  .curtain.is-active .curtain__reveal { position: static; height: auto; margin-top: 0; overflow: visible; }
  .curtain.is-active .curtain__reveal .show { transform: none; height: auto; }
}

/* ══════════════════════════════════════════════════════════════
   FILM GRAIN — barely-there tactile texture (felt, not seen).
   Inline SVG fractal noise, static & GPU-composited, no dependency.
   Sits above content (z45) but below the nav (z50) and modal (z90),
   so chrome stays crisp. Tune presence via --grain-opacity.
   ══════════════════════════════════════════════════════════════ */
:root { --grain-opacity: .10; }
.bh-grain {
  position: fixed; inset: 0; z-index: 45; pointer-events: none;
  /* Monochrome (saturate 0) fractal noise so it reads as clean grain, not color speckle. */
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='bhg'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.82' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23bhg)'/%3E%3C/svg%3E");
  background-size: 220px 220px;
  opacity: var(--grain-opacity);
  mix-blend-mode: normal;
}
@media (prefers-reduced-motion: reduce) { .bh-grain { /* static — nothing to reduce */ } }
@media (max-width: 860px), (hover: none) and (pointer: coarse) { .bh-grain { display: none; } }

/* ══════════════════════════════════════════════════════════════
   PRINT — plain black-on-white output. Strip decorative chrome,
   grain, veils, nav drawer/burger, and the schedule modal; let the
   curtain-pinned hero/showcase lay out as normal static flow.
   ══════════════════════════════════════════════════════════════ */
@media print {
  * { background: transparent !important; box-shadow: none !important; text-shadow: none !important; }
  html, body { background: #fff !important; color: #000 !important; }

  .bh-grain,
  .bhk-hero__veil, .bhk-hero__halo, .bhk-close__veil,
  .show__halo, .show__glow, .show__hint,
  .bhk-orbit, .jx__veil,
  .bhk-nav__burger, .bhk-nav__drawer,
  .bhk-modal {
    display: none !important;
  }

  .curtain { height: auto !important; position: static !important; }
  .curtain.is-active { height: auto !important; position: static !important; }
  .curtain.is-active .bhk-hero,
  .curtain.is-active .curtain__reveal,
  .curtain.is-active .curtain__reveal .show {
    position: static !important; height: auto !important; margin-top: 0 !important;
    transform: none !important; overflow: visible !important;
  }
}
