/* ════════════════════════════════════════════════════════════════
   HGM — Luxury Theme Overlay  (luxury-theme.css)
   ────────────────────────────────────────────────────────────────
   LOAD ORDER: last stylesheet in <head>, AFTER
     /assets/before-the-fold.css → /assets/after-the-fold.css →
     /assets/hgm-overhaul.css → /assets/hgm-premiere.css
   (conversion agents: insert the <link> immediately after the
   hgm-premiere.css <link> on every page.)

   WHAT THIS FILE DOES
   (a) Luxury design tokens: fallbacks on :root, mapped onto the
       existing theme variables (--gold, --night, --paper, --ink …) so
       every luxury component recolors under all five body[data-theme]
       values. New concept tokens (--paper-warm, --paper-dim,
       --champagne, --line-warm) are defined here.
   (b) Sans typography site-wide: Manrope display (700-800),
       Manrope body, DM Mono labels; readable floors (mono 11px+,
       body copy 15px+).
   (c) Square corners globally — the ONLY round elements left are the
       theme-switcher pill + its dots and .lux-live-dot (status dot).
   (d) Luxury component styles: header + mega menu + mobile nav,
       announce bar, footer + sticky CTA, buttons, cards, proof
       strips, status chips, FAQ, eyebrows/headings, tables, pricing
       tiers, hero variants, local-proof and tool-run blocks.
   (e) ZERO purple, ZERO decorative color gradients. The only
       gradient() usage is faint hairline grid texture
       (repeating-linear-gradient hairlines) — explicitly allowed.
   (f) Per-theme refinements scoped to body[data-theme="…"] —
       documented with before/after values in §1.

   WHAT THIS FILE DOES NOT DO
   - Never touches body content, URLs, JSON-LD, consent markup.
   - Never fights hgm-overhaul.js (menu/motion) or site.js (consent,
     a11y widget, .reveal, .faq-section, cookie bar). See luxury.js
     header comment for the division of labor.
   - The a11y widget sets data-theme="light|dark" on <html>; the
     brand pill sets data-theme="midnight|…" on <body>. Different
     elements → no selector collision. html[data-theme="dark"]
     remaps in hgm-overhaul.css keep working; §2 extends the dark
     remap to the new luxury tokens.
   ════════════════════════════════════════════════════════════════ */

/* ═══════════ §0 · Luxury tokens (fallbacks on :root) ═══════════ */
/* Existing theme variables (--gold, --night, --paper, --ink, --line,
   --muted, --mono, --sans, --ease) are reused as-is; the five
   body[data-theme] blocks in §1 refine the accent palettes. */
:root {
  --display: 'Manrope', 'Helvetica Neue', Arial, system-ui, sans-serif; /* sans-only display voice */
  --paper-warm: #fbfbf9;   /* warm paper, cards on light */
  --paper-dim: #ece5d3;    /* recessed warm surface */
  --champagne: #f0e6cc;    /* pale gold wash */
  --line-warm: #e7ddc6;    /* warm hairline */
  --line: #e7ddc6;         /* luxury refinement: was #e2e2dd (cool gray) */
  --gold-bright: #d8bc82;  /* repairs :root self-reference in hgm-premiere */
  --gold-hover: #d8bc82;
  --ease: cubic-bezier(.22, 1, .36, 1);
  --lux-pad: clamp(72px, 8vw, 120px);
  --on-night: #f6f2e9;   /* fixed light text for dark brand surfaces (--night never changes with reading mode) */
  --lux-wrap: 1280px;
  /* square-corner system: pill/dots keep their own radius */
  --radius: 0;
  --radius-sm: 0;
  --radius-card: 0;
  --radius-lg: 0;
  /* --radius-pill intentionally untouched (theme-switcher pill stays round) */
}

/* ═══════════ §1 · The five-theme set (phase 3, 2026-10-01) ═══════════
   Replaces the Midnight/Cobalt/Iris/Emerald set. Same specificity as
   hgm-premiere.css (body[data-theme]) — this file loads later, so these
   values win. 'light' (Light SaaS) is the default; stored values from
   the old set fall back to it (see THEME_VALUES in luxury.js).
   Contrast: body text ≥ 4.5:1 on every theme and circadian variant
   (verified 2026-10-01 — accent-text tokens --gold-deep/--gold-text
   included). Sans-only throughout. */

/* — 1 · Light SaaS (default) — clean light product UI: white and very
   light neutrals, one restrained SaaS-blue accent, crisp hairlines. */
body[data-theme="light"] {
  --ink: #0e1526; --paper: #ffffff; --muted: #4d5a6e;
  --line: #e4e9f1;
  --gold: #2f52e0; --gold-rgb: 47, 82, 224;
  --gold-deep: #1e40af; --gold-text: #1e40af;
  --gold-bright: #8ea1f5; --gold-hover: #2444c4;
  --night: #0b1220; --night-elev: #111a2e; --night-soft: #1a2438;
  --on-night: #f6f8fc;
  --paper-warm: #f7f9fc; --paper-dim: #edf1f7; --champagne: #e9eefb;
  --line-warm: #e4e9f1;
}
body[data-theme="light"] ::selection { background: #1e40af; color: #ffffff; }

/* — 2 · Dark Noir Enterprise — deep near-black, one refined champagne
   accent, high-contrast text. */
body[data-theme="noir"] {
  --ink: #f3f5f8; --paper: #08090d; --muted: #a3adbb;
  --line: #23262e;
  --gold: #d3ac6f; --gold-rgb: 211, 172, 111;
  --gold-deep: #e6c88f; --gold-text: #ecd3a1;
  --gold-bright: #f0dcae; --gold-hover: #ddb878;
  --night: #040507; --night-elev: #0a0c11; --night-soft: #12151c;
  --on-night: #f6f2e9;
  --paper-warm: #0e1016; --paper-dim: #05060a; --champagne: #1d1a13;
  --line-warm: #23262e;
}

/* — 3 · Agentic Chameleon Circadian — shifts its palette subtly with
   the time of day. Base tokens = day; the three [data-circadian]
   overrides below re-tint them. luxury.js sets data-circadian on <body>
   (morning 5–11, day 11–17, evening 17–22, night otherwise) and
   re-checks every 5 minutes. The shift is a gentle 1.2s body fade —
   smooth, never jarring — and collapses to instant under the §22
   reduced-motion guards. */
body[data-theme="chameleon"] {
  --ink: #0f141b; --paper: #f7f9fb; --muted: #4c5a68;
  --line: #e2e8ee;
  --gold: #0e7a70; --gold-rgb: 14, 122, 112;
  --gold-deep: #0b5f59; --gold-text: #0b5f59;
  --gold-bright: #5fb3a8; --gold-hover: #0d6b62;
  --night: #0b1220; --night-elev: #111a2e; --night-soft: #1a2438;
  --on-night: #f6f8fc;
  --paper-warm: #eef2f5; --paper-dim: #e3e9ee; --champagne: #e6edf2;
  --line-warm: #e2e8ee;
  transition: background-color 1.2s ease, color 1.2s ease;
}
body[data-theme="chameleon"] ::selection { background: var(--ink); color: var(--paper); }
body[data-theme="chameleon"][data-circadian="morning"] {
  --ink: #1f1b14; --paper: #faf7f1; --muted: #5c5546; --line: #e8e0d2;
  --gold: #a86e1f; --gold-rgb: 168, 110, 31;
  --gold-deep: #8a5a16; --gold-text: #8a5a16;
  --gold-bright: #d3a45c; --gold-hover: #96631a;
  --paper-warm: #f3eee2; --paper-dim: #eae2d0; --champagne: #f1e8d2;
  --line-warm: #e8e0d2;
}
body[data-theme="chameleon"][data-circadian="evening"] {
  --ink: #f3ede1; --paper: #191410; --muted: #b3a88f; --line: #2e2820;
  --gold: #d9a45b; --gold-rgb: 217, 164, 91;
  --gold-deep: #e7bd7c; --gold-text: #eec78c;
  --gold-bright: #f2d9a8; --gold-hover: #e2ae63;
  --night: #0d0a07; --night-elev: #141009; --night-soft: #1e1810;
  --on-night: #f6f1e6;
  --paper-warm: #201a13; --paper-dim: #120e0a; --champagne: #241c11;
  --line-warm: #2e2820;
}
body[data-theme="chameleon"][data-circadian="night"] {
  --ink: #e9eef6; --paper: #0a0e15; --muted: #9fadc0; --line: #1d2531;
  --gold: #8fb8e8; --gold-rgb: 143, 184, 232;
  --gold-deep: #b3cdf0; --gold-text: #c2d6f2;
  --gold-bright: #d4e4f9; --gold-hover: #9dc0e9;
  --night: #05070c; --night-elev: #0a0e16; --night-soft: #121826;
  --on-night: #eef3fa;
  --paper-warm: #0e141d; --paper-dim: #060a10; --champagne: #131a26;
  --line-warm: #1d2531;
}
/* (day 11–17 = the base tokens above; no override needed) */

/* — 4 · News Mono Luxury — monochrome editorial: black/white/grays
   only, mono accents, newspaper-grade restraint. The accent tokens
   ARE the ink scale — no color anywhere on this theme. */
body[data-theme="news"] {
  --ink: #141414; --paper: #fdfdfc; --muted: #545454;
  --line: #dcdcd8;
  --gold: #141414; --gold-rgb: 20, 20, 20;
  --gold-deep: #2b2b2b; --gold-text: #1f1f1f;
  --gold-bright: #6e6e6e; --gold-hover: #000000;
  --night: #0c0c0c; --night-elev: #141414; --night-soft: #1f1f1f;
  --on-night: #fafafa;
  --paper-warm: #f4f4f2; --paper-dim: #ececea; --champagne: #efefec;
  --line-warm: #dcdcd8;
}
body[data-theme="news"] ::selection { background: #141414; color: #fdfdfc; }

/* — 5 · Agentic Energy Live — neomorphic circadian theme on a dark
   base: soft dual-shadow extruded/embossed surfaces that feel tactile.
   The random color-inversion "living" events are driven by luxury.js
   (localStorage 'hgm-energy-events') and are FULLY disabled under
   prefers-reduced-motion and the a11y reduce-motion toggle — the theme
   then renders as a static neomorphic circadian theme. */
body[data-theme="energy"] {
  --ink: #eaedf4; --paper: #14161d; --muted: #9aa4b5;
  --line: #262b37;
  --gold: #5fdca8; --gold-rgb: 95, 220, 168;
  --gold-deep: #8ff0c6; --gold-text: #a5f4cd;
  --gold-bright: #b8f7d4; --gold-hover: #6fe3b4;
  --night: #0a0b10; --night-elev: #101219; --night-soft: #171a23;
  --on-night: #f2f6f1;
  --paper-warm: #1a1d26; --paper-dim: #0e1015; --champagne: #1e2430;
  --line-warm: #262b37;
  --neu-out: 7px 7px 18px rgba(0,0,0,.55), -5px -5px 14px rgba(255,255,255,.05);
  --neu-in: inset 6px 6px 14px rgba(0,0,0,.5), inset -4px -4px 10px rgba(255,255,255,.04);
  --shadow-card: var(--neu-out);
  --shadow-elevated: 10px 10px 28px rgba(0,0,0,.6), -7px -7px 20px rgba(255,255,255,.06);
}
/* neomorphic surfaces: cards extrude, wells/inputs emboss */
body[data-theme="energy"] .lux-card,
body[data-theme="energy"] .service-card,
body[data-theme="energy"] .assessment-card,
body[data-theme="energy"] .lux-tier,
body[data-theme="energy"] .offer-card,
body[data-theme="energy"] .bento-tile,
body[data-theme="energy"] .beta-card {
  background: var(--paper-warm);
  border-color: transparent;
  box-shadow: var(--neu-out);
}
body[data-theme="energy"] input,
body[data-theme="energy"] select,
body[data-theme="energy"] textarea {
  background: var(--paper);
  border-color: transparent;
  box-shadow: var(--neu-in);
}
body[data-theme="energy"] .btn,
body[data-theme="energy"] .dark-cta,
body[data-theme="energy"] .light-cta {
  box-shadow: 4px 4px 12px rgba(0,0,0,.5), -3px -3px 9px rgba(255,255,255,.05);
  border-color: transparent;
}
body[data-theme="energy"] .btn:active,
body[data-theme="energy"] .dark-cta:active,
body[data-theme="energy"] .light-cta:active {
  box-shadow: var(--neu-in);
}
/* the floating pill itself goes neomorphic under Energy */
body[data-theme="energy"] .theme-switcher {
  background: rgba(20, 22, 29, .94);
  border-color: transparent;
  box-shadow: 6px 6px 16px rgba(0,0,0,.6), -4px -4px 12px rgba(255,255,255,.05);
}

/* --- living-event cursor pulse (theme 5 only) ---
   A small radial color-inversion lens that appears under the cursor,
   drifts briefly, and fades out. Purely decorative: pointer-events
   none, z-index 60 (below all chrome — pill 999, drawer 70 — so it
   never covers controls), aria-hidden. JS never creates these under
   reduced motion; the guards below are the CSS backstop. */
.energy-pulse {
  position: fixed; left: 0; top: 0; z-index: 60;
  width: 64px; height: 64px; margin: -32px 0 0 -32px;
  border-radius: 50%; pointer-events: none; opacity: 0;
  -webkit-backdrop-filter: invert(.92) hue-rotate(160deg);
  backdrop-filter: invert(.92) hue-rotate(160deg);
  -webkit-mask-image: radial-gradient(circle, rgba(0,0,0,1) 0%, rgba(0,0,0,1) 42%, rgba(0,0,0,0) 68%);
  mask-image: radial-gradient(circle, rgba(0,0,0,1) 0%, rgba(0,0,0,1) 42%, rgba(0,0,0,0) 68%);
  transition: opacity 1.4s ease;
  will-change: opacity, transform;
}
.energy-pulse.on { opacity: .8; }
@media (prefers-reduced-motion: reduce) {
  .energy-pulse { display: none !important; }
}
html.a11y-reduce-motion .energy-pulse { display: none !important; }

/* --- "Restore theme memory" recovery affordance (theme 5) ---
   Injected into the pill's expanded state by luxury.js, only when the
   live event cache is missing/empty but a backup exists. It hides with
   the rest of the pill's children when idle; dismissible, never nags. */
.theme-restore-wrap {
  flex: 1 1 100%; display: flex; gap: 8px;
  align-items: center; justify-content: center;
  margin-top: 2px;
}
.theme-restore {
  display: inline-flex; align-items: center;
  justify-content: center; gap: 10px; min-height: 44px;
  padding: 8px 14px; white-space: nowrap;
  font-family: var(--mono); font-size: 11px; letter-spacing: .04em;
  color: var(--gold-text); background: transparent;
  border: 1px solid var(--line); border-radius: 999px; cursor: pointer;
}
.theme-restore:hover { border-color: var(--gold-deep); color: var(--gold-deep); }
.theme-restore-x { flex: 0 0 auto; padding: 8px 12px; }

/* ═══════════ §2 · a11y dark-mode interplay ═══════════
   site.js sets data-theme="light|dark" on <html> (reading theme),
   independent of the brand themes on <body>. hgm-overhaul.css already
   remaps --ink/--paper/--line/--muted/--gold-deep under
   html[data-theme="dark"]; here we extend the dark remap to the NEW
   luxury tokens so luxury components stay coherent in dark reading
   mode. Brand body[data-theme] values keep winning for --gold etc.
   on descendants (body is the nearer ancestor) — unchanged behavior. */
html[data-theme="dark"] {
  --paper-warm: #141a17;
  --paper-dim: #101513;
  --champagne: #242019;
  --line: #303833;
  --line-warm: #303833;
  --gold-text: #d8bc82;   /* eyebrows / mono labels stay legible on dark paper */
}
/* News Mono Luxury stays monochrome even in dark reading mode: the
   global --gold-text remap above would inject gold, so it is
   overridden back to the gray scale (black/white/grays only). */
html[data-theme="dark"] body[data-theme="news"] {
  --gold-text: #e8e8e8;
  --gold-deep: #d5d5d5;
  --gold-bright: #9a9a9a;
  --paper-warm: #161616;
  --paper-dim: #101010;
  --champagne: #1c1c1c;
  --line: #2e2e2e;
  --line-warm: #2e2e2e;
}

/* ═══════════ §3 · Editorial typography (site-wide) ═══════════ */
/* Display → Manrope (sans-only). Scoped to main so header/footer
   chrome keeps its own voice. */
main h1, main h2 {
  font-family: var(--display);
  letter-spacing: -.015em;
  line-height: 1.05;
  text-wrap: balance;
}
main h1 { font-weight: 800; }
main h2 { font-weight: 700; }
main h1 { font-size: clamp(44px, 5.6vw, 88px); }
main h2 { font-size: clamp(32px, 4vw, 60px); }
main h1 em, main h2 em {
  font-style: italic;
  font-weight: 700;
  color: var(--gold-deep);
}
/* Mid-level headlines → sans (600) for clear hierarchy below display */
.lux-card h3, .service-card h3, .assessment-card h3,
.lux-tier h3, .process-step h3, .lux-faq summary {
  font-family: var(--display);
  font-weight: 600;
  letter-spacing: -.01em;
  line-height: 1.18;
  text-wrap: balance;
}
.lux-card h3, .service-card h3 { font-size: clamp(22px, 2.2vw, 28px); }

/* Body copy floor: 15px+ inside main (excludes fine print / meta /
   labels / legal microcopy which keep their authored sizes). */
main :where(p, li):where(
  :not([class*="fine"]):not([class*="note"]):not([class*="meta"]):not([class*="label"]):not([class*="caption"]):not([class*="crumb"])
) {
  font-size: max(15px, 1em);
}
main .lux-lede {
  font-size: clamp(17px, 1.8vw, 21px);
  line-height: 1.65;
  color: var(--muted);
  max-width: 62ch;
}

/* Mono labels: 11px+ desktop, uppercase, letterspaced (luxury voice). */
.lux-eyebrow, .eyebrow, .section-kicker {
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--gold-text);
}
/* Kicker hairline (solid 1px — no gradient) */
.lux-eyebrow {
  display: flex; align-items: center; gap: 16px;
  margin: 0 0 24px;
}
.lux-eyebrow::after {
  content: ""; height: 1px; width: 52px; flex: none;
  background: var(--gold);
  opacity: .55;
}

/* ═══════════ §4 · Square corners ═══════════
   --radius* vars are 0 on :root (§0). Explicit square rules for
   legacy classes that hardcode a radius. The ONLY round elements:
   .theme-switcher (pill), its buttons/dots, and .lux-live-dot. */
.btn, .dark-cta, .light-cta, .hero-cta, .product-cta, .booking-button,
.quick-action-btn, .cookie-bar button, .a11y-tab, .a11y-panel,
.lux-card, .service-card, .assessment-card, .offer-card, .bento-tile,
.lux-tier, .faq-section details, .lux-faq details,
input, textarea, select, .menu-button, .topbar {
  border-radius: 0 !important;
}
/* Live-status dot stays round (sole exception besides the theme pill) */
.lux-live-dot {
  width: 8px; height: 8px; border-radius: 50%; flex: none;
  background: var(--gold);
  box-shadow: 0 0 0 3px rgba(var(--gold-rgb), .18);
}
/* Theme pill roundness is authored in hgm-premiere.css and untouched. */

/* ═══════════ §5 · Header, mega menu, mobile nav, announce ═══════════ */
.announce {
  position: fixed; inset: 0 0 auto 0; z-index: 60;
  min-height: 38px;
  display: flex; align-items: center; justify-content: center; gap: 12px;
  padding: 8px 48px;
  background: var(--night); color: var(--on-night);
  font-family: var(--mono); font-size: 11px; letter-spacing: .12em;
  text-transform: uppercase;
  border-bottom: 1px solid rgba(var(--gold-rgb), .35);
  transition: transform .3s var(--ease);
}
.announce a { color: var(--gold); border-bottom: 1px solid var(--gold); }
.announce-close {
  position: absolute; right: 12px; top: 50%; transform: translateY(-50%);
  background: none; border: 0; color: var(--on-night); font-size: 18px;
  line-height: 1; padding: 6px; cursor: pointer; opacity: .7;
}
.announce-close:hover { opacity: 1; color: var(--gold); }
body.announce-off .announce { transform: translateY(-110%); }

.site-head {
  position: fixed; inset: 38px 0 auto 0; z-index: 50;
  background: var(--paper);
  background: color-mix(in srgb, var(--paper) 88%, transparent);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s var(--ease), inset .3s var(--ease);
}
body.announce-off .site-head { top: 0; }
.site-head.scrolled { border-bottom-color: var(--line); }
.head-in {
  max-width: var(--lux-wrap); margin: 0 auto;
  padding: 0 clamp(20px, 4vw, 48px);
  height: 72px;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
}
.wordmark {
  font-family: var(--display); font-size: 21px; font-weight: 700;
  letter-spacing: .02em; color: var(--ink); white-space: nowrap;
}
.wordmark span { color: var(--gold-deep); font-style: italic; }
/* Specificity repair: hgm-overhaul's `body .wordmark` (0,1,1) outranks the
   luxury `.wordmark` (0,1,0), which hid the brand name light-on-light and
   shrank it to 12px mono. Re-assert the luxury header wordmark. */
.site-head .wordmark {
  font-family: var(--display); font-size: 21px; font-weight: 700;
  letter-spacing: .02em; color: var(--ink); white-space: nowrap;
}
.site-head .wordmark span { color: var(--gold-deep); font-style: italic; }
.nav { display: flex; align-items: center; gap: 34px; }
.nav a, .nav-btn {
  border: 0; padding: 6px 0; background: transparent;
  color: var(--ink);
  font-family: var(--mono); font-size: 11px; font-weight: 500;
  letter-spacing: .15em; text-transform: uppercase;
  cursor: pointer; position: relative;
  transition: color .2s var(--ease);
}
.nav a:hover, .nav-btn:hover { color: var(--gold-deep); }
.nav a::after, .nav-btn::after {
  content: ""; position: absolute; left: 0; right: 100%; bottom: 0; height: 1px;
  background: var(--gold-deep); transition: right .28s var(--ease);
}
.nav a:hover::after, .nav-btn:hover::after,
.nav a.is-active::after, .nav-btn.is-active::after { right: 0; }
.nav a.is-active, .nav-btn.is-active { color: var(--gold-deep); }
.nav-btn .caret { font-size: 11px; margin-left: 4px; }
.head-cta { display: flex; align-items: center; gap: 14px; }
.burger {
  display: none; background: none; border: 1px solid var(--line);
  color: var(--ink); padding: 9px 11px; cursor: pointer;
}

/* Mega menu panel */
.mega {
  position: fixed; left: 0; right: 0; top: 110px; z-index: 48;
  background: var(--paper-warm);
  border-top: 2px solid var(--gold-deep);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 30px 60px rgba(0, 0, 0, .12);
  opacity: 0; visibility: hidden; transform: translateY(-10px);
  transition: opacity .32s var(--ease), transform .32s var(--ease), visibility .32s;
}
body.announce-off .mega { top: 72px; }
.mega.open { opacity: 1; visibility: visible; transform: none; }
.mega-in { max-width: var(--lux-wrap); margin: 0 auto; padding: 38px clamp(20px, 4vw, 48px) 42px; }
.mega-kicker { display: flex; align-items: center; justify-content: space-between; margin-bottom: 28px; }
.mega-kicker .eyebrow { margin: 0; }
.mega-close {
  background: none; border: 0; cursor: pointer;
  font-family: var(--mono); font-size: 11px; letter-spacing: .15em;
  text-transform: uppercase; color: var(--muted);
}
.mega-close:hover { color: var(--ink); }
.mega-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 36px; }
.mega-grid.cols-5 { grid-template-columns: repeat(5, 1fr); gap: 28px; }
.mega-col h4 { font-family: var(--display); font-size: 20px; font-weight: 600; margin: 0 0 4px; color: var(--ink); }
.m-sub {
  font-family: var(--mono); font-size: 11px; letter-spacing: .16em;
  text-transform: uppercase; color: var(--gold-text); margin: 0 0 14px;
}
.mega-col .m-desc { font-size: 14px; line-height: 1.6; color: var(--muted); margin: 0 0 12px; }
.mega-col a {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 14px; color: var(--ink); padding: 5px 0;
  border-bottom: 1px solid transparent;
}
.mega-col a:hover { color: var(--gold-deep); border-bottom-color: var(--gold-deep); }
.mega-col a span { color: var(--gold-deep); }
.mega-foot {
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  margin-top: 32px; padding-top: 22px; border-top: 1px solid var(--line);
}
.mega-foot .fine { font-family: var(--mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.text-link {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--mono); font-size: 11px; font-weight: 500;
  letter-spacing: .15em; text-transform: uppercase;
  color: var(--gold-deep); border-bottom: 1px solid rgba(var(--gold-rgb), .5);
  padding-bottom: 5px;
}
.text-link:hover { color: var(--ink); border-bottom-color: var(--ink); }

/* Mobile drawer */
.mobile-nav {
  position: fixed; inset: 0 0 0 auto; z-index: 70;
  width: min(380px, 92vw); height: 100dvh; overflow-y: auto;
  background: var(--paper-warm); color: var(--ink);
  padding: 88px 32px 40px;
  transform: translateX(102%); transition: transform .38s var(--ease);
  border-left: 1px solid var(--line);
}
.mobile-nav.open { transform: none; }
.mobile-nav .m-group { border-bottom: 1px solid var(--line); }
.mobile-nav .m-group summary {
  list-style: none; cursor: pointer; padding: 16px 0;
  font-family: var(--mono); font-size: 12px; letter-spacing: .15em;
  text-transform: uppercase; display: flex; justify-content: space-between;
}
.mobile-nav .m-group summary::-webkit-details-marker { display: none; }
.mobile-nav .m-links { padding: 0 0 16px; }
.mobile-nav .m-links p {
  font-family: var(--mono); font-size: 11px; letter-spacing: .16em;
  text-transform: uppercase; color: var(--gold-text); margin: 14px 0 6px;
}
.mobile-nav .m-links a, .mobile-nav > a {
  display: block; padding: 9px 0; font-size: 15px; color: var(--ink);
}
.mobile-nav a:hover { color: var(--gold-deep); }

/* Fixed header offset for page content (concept homepage accounts
   for it itself; every other main gets the offset). */
body:not(.home) main { padding-top: 110px; }
body:not(.home).announce-off main { padding-top: 72px; }

@media (max-width: 960px) {
  .nav, .head-cta .btn { display: none; }
  .burger { display: inline-flex; }
  .mega-grid, .mega-grid.cols-5 { grid-template-columns: repeat(2, 1fr); }
}

/* ═══════════ §6 · Footer + sticky CTA ═══════════ */
/* Premium pass: the bar never appears on load. It becomes eligible only
   after the hero has scrolled out of view, tucks away while the reader
   scrolls down, returns on scroll-up, and stays clear of the final
   CTA / footer. Dismissal persists for the session. */
.sticky-cta {
  position: fixed; left: 18px; right: 18px; bottom: 18px; z-index: 65;
  max-width: 860px; margin: 0 auto;
  display: flex; align-items: center; justify-content: center; flex-wrap: wrap;
  row-gap: 8px; column-gap: 18px;
  padding: 11px 56px 11px 26px;
  background: var(--night); color: var(--on-night);
  border: 1px solid rgba(var(--gold-rgb), .28);
  box-shadow: 0 24px 64px rgba(0, 0, 0, .35);
  transform: translateY(160%); opacity: 0; visibility: hidden;
  transition: transform .55s cubic-bezier(.22,1,.36,1), opacity .4s ease, visibility 0s linear .55s;
  font-family: var(--mono); font-size: 11px; letter-spacing: .12em;
  text-transform: uppercase;
}
@supports ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .sticky-cta {
    background: color-mix(in srgb, var(--night) 88%, transparent);
    -webkit-backdrop-filter: blur(14px);
    backdrop-filter: blur(14px);
  }
}
.sticky-cta.show {
  transform: none; opacity: 1; visibility: visible;
  transition: transform .55s cubic-bezier(.22,1,.36,1), opacity .4s ease, visibility 0s;
}
.sticky-cta .btn { padding: 12px 22px; font-size: 11px; }
.s-close {
  position: absolute; right: 8px; top: 50%; transform: translateY(-50%);
  background: none; border: 0; color: var(--on-night); opacity: .45;
  font-size: 16px; line-height: 1; padding: 12px; cursor: pointer;
  transition: opacity .25s ease;
}
.s-close:hover { opacity: .95; color: var(--gold); }
/* Keep the theme pill clear of the sticky bar */
body:has(.sticky-cta.show) .theme-switcher { bottom: 92px; }

footer.site {
  background: var(--night); color: rgba(245, 241, 232, .62);
  border-top: 1px solid rgba(var(--gold-rgb), .18);
  padding: 72px 0 36px; margin-top: var(--lux-pad);
}
footer.site .wrap { max-width: var(--lux-wrap); margin: 0 auto; padding: 0 clamp(20px, 4vw, 48px); }
.foot-grid {
  display: grid; grid-template-columns: 1.4fr 2fr; gap: 48px;
  padding-bottom: 44px;
}
.foot-brand .wordmark { color: var(--on-night); }
.foot-tag { font-size: 14px; margin: 16px 0 0; max-width: 34ch; }
.foot-cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.foot-cols h5, .footer-heading {
  font-family: var(--mono); font-size: 11px; font-weight: 500;
  letter-spacing: .18em; text-transform: uppercase;
  color: var(--gold); margin: 0 0 16px;
}
.foot-cols a {
  display: block; padding: 6px 0; font-size: 14px;
  color: rgba(245, 241, 232, .62);
}
.foot-cols a:hover { color: var(--gold); }
.foot-legal, .legal {
  display: flex; flex-wrap: wrap; gap: 8px 28px;
  padding-top: 26px; border-top: 1px solid rgba(255, 255, 255, .1);
  font-family: var(--mono); font-size: 11px; letter-spacing: .12em;
  text-transform: uppercase; color: rgba(245, 241, 232, .42);
}
.foot-legal a:hover { color: var(--gold); }
@media (max-width: 860px) {
  .foot-grid { grid-template-columns: 1fr; }
  .foot-cols { grid-template-columns: repeat(2, 1fr); }
}

/* ═══════════ §7 · Buttons ═══════════ */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 16px 30px; white-space: nowrap; cursor: pointer;
  font-family: var(--mono); font-size: 12px; font-weight: 500;
  letter-spacing: .12em; text-transform: uppercase;
  border: 1px solid transparent; border-radius: 0;
  transition: transform .25s var(--ease), background .25s var(--ease),
              color .25s var(--ease), border-color .25s var(--ease),
              box-shadow .25s var(--ease);
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--ink); color: var(--paper); }
.btn-primary:hover { box-shadow: 0 12px 28px rgba(0, 0, 0, .22); }
.btn-accent, .btn-gold { background: var(--gold); color: var(--night); }
.btn-accent:hover, .btn-gold:hover { background: var(--gold-bright); }
.btn-ghost { background: transparent; border-color: var(--line); color: var(--ink); }
.btn-ghost:hover { border-color: var(--gold-deep); color: var(--gold-deep); }
.btn-sm { padding: 12px 22px; font-size: 11px; }
.btn-lg { padding: 19px 38px; font-size: 13px; }
/* On dark surfaces */
.on-dark .btn-primary, .lux-dark .btn-primary { background: var(--on-night); color: var(--night); }
.on-dark .btn-ghost, .lux-dark .btn-ghost { border-color: rgba(255,255,255,.25); color: var(--on-night); }

/* ═══════════ §8 · Sections, eyebrows, headings ═══════════ */
.lux-section { padding: var(--lux-pad) 0; }
.lux-section--tight { padding: calc(var(--lux-pad) * .6) 0; }
.lux-wrap { max-width: var(--lux-wrap); margin: 0 auto; padding: 0 clamp(20px, 4vw, 48px); }
.lux-head { max-width: 880px; margin-bottom: clamp(40px, 5vw, 72px); }
.lux-head--center { margin-left: auto; margin-right: auto; text-align: center; }
.lux-head--center .lux-eyebrow { justify-content: center; }
/* Faint hairline grid texture (allowed: linear-gradient hairlines only) */
.lux-grid-bg {
  background-image:
    repeating-linear-gradient(0deg, rgba(var(--gold-rgb), .05) 0 1px, transparent 1px 72px),
    repeating-linear-gradient(90deg, rgba(var(--gold-rgb), .05) 0 1px, transparent 1px 72px);
}
.lux-dark { background: var(--night); color: var(--on-night); }
.lux-dark h1, .lux-dark h2, .lux-dark h3 { color: var(--on-night); }
.lux-dark h1 em, .lux-dark h2 em { color: var(--gold); }
.lux-dark .lux-lede { color: rgba(245, 241, 232, .66); }
.lux-dark .lux-eyebrow { color: var(--gold); }

/* ═══════════ §9 · Cards, proof strips, status chips ═══════════ */
.lux-card, .service-card, .assessment-card {
  background: var(--paper-warm);
  border: 1px solid var(--line);
  border-radius: 0;
  padding: clamp(26px, 3vw, 38px);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease),
              border-color .35s var(--ease);
}
.lux-card:hover, .service-card:hover {
  transform: translateY(-4px);
  border-color: rgba(var(--gold-rgb), .55);
  box-shadow: 0 24px 56px rgba(0, 0, 0, .1);
}
.lux-card p, .service-card p { color: var(--muted); font-size: 15px; line-height: 1.65; }
.lux-card-grid {
  display: grid; gap: 24px;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}
html[data-theme="dark"] .lux-card,
html[data-theme="dark"] .service-card { background: var(--paper-warm); border-color: var(--line); }

/* Proof strip — solid hairlines (no gradient border-image) */
.lux-proof, .proof-strip {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 34px 0;
}
.lux-proof__row {
  display: flex; flex-wrap: wrap; gap: 20px 56px;
  align-items: baseline; justify-content: space-between;
}
.lux-proof__item { display: flex; flex-direction: column; gap: 6px; }
.lux-proof__item strong {
  font-family: var(--display); font-weight: 700; font-size: 30px;
  color: var(--ink); line-height: 1;
}
.lux-proof__item span {
  font-family: var(--mono); font-size: 11px; letter-spacing: .16em;
  text-transform: uppercase; color: var(--muted);
}

/* Status chips — honest product states */
.lux-status, .status {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--mono); font-size: 11px; font-weight: 500;
  letter-spacing: .16em; text-transform: uppercase;
  border: 1px solid var(--line); color: var(--muted);
  padding: 7px 12px; border-radius: 0; background: transparent;
}
.lux-status.is-live, .status.is-live { border-color: rgba(var(--gold-rgb), .6); color: var(--gold-text); }
.lux-status.is-beta { border-color: var(--gold-deep); color: var(--gold-deep); }
.lux-status.is-roadmap { border-style: dashed; }

/* ═══════════ §10 · FAQ ═══════════
   .lux-faq = new luxury component (button rows). .faq-section =
   legacy pages using native <details> — site.js owns their
   one-open-at-a-time behavior; here we only restyle. */
.lux-faq details, .faq-section details {
  border-bottom: 1px solid var(--line);
  border-radius: 0;
}
.lux-faq details:first-of-type, .faq-section details:first-of-type { border-top: 1px solid var(--line); }
.lux-faq summary, .faq-section summary {
  list-style: none; cursor: pointer;
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  padding: 22px 4px;
  font-family: var(--display); font-size: 21px; font-weight: 600; color: var(--ink);
}
.lux-faq summary::-webkit-details-marker, .faq-section summary::-webkit-details-marker { display: none; }
.lux-faq summary::after, .faq-section summary::after {
  content: "+"; flex: none;
  font-family: var(--mono); font-size: 18px; color: var(--gold-deep);
  transition: transform .25s var(--ease);
}
.lux-faq details[open] summary::after, .faq-section details[open] summary::after { transform: rotate(45deg); }
.lux-faq details > div, .faq-section details > :not(summary) { padding: 0 4px 26px; color: var(--muted); max-width: 72ch; }

/* ═══════════ §11 · Tables + pricing tiers ═══════════ */
.lux-table { width: 100%; border-collapse: collapse; font-size: 15px; }
.lux-table th {
  font-family: var(--mono); font-size: 11px; font-weight: 500;
  letter-spacing: .16em; text-transform: uppercase; color: var(--muted);
  text-align: left; padding: 14px 16px; border-bottom: 2px solid var(--gold-deep);
}
.lux-table td { padding: 16px; border-bottom: 1px solid var(--line); vertical-align: top; }
.lux-table tr:hover td { background: rgba(var(--gold-rgb), .06); }
.lux-table .num { font-family: var(--display); font-size: 19px; font-weight: 600; }

.lux-tiers {
  display: grid; gap: 24px;
  grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
  align-items: stretch;
}
.lux-tier {
  background: var(--paper-warm); border: 1px solid var(--line);
  padding: clamp(28px, 3vw, 40px);
  display: flex; flex-direction: column; gap: 18px; border-radius: 0;
}
.lux-tier.is-featured { border: 2px solid var(--gold-deep); position: relative; }
.lux-tier__flag {
  position: absolute; top: -13px; left: 28px;
  background: var(--gold-deep); color: #1a1408;
  font-family: var(--mono); font-size: 11px; letter-spacing: .16em;
  text-transform: uppercase; padding: 6px 12px;
}
.lux-tier h3 { font-size: 26px; margin: 0; }
.lux-price { font-family: var(--display); font-size: 46px; font-weight: 700; line-height: 1; }
.lux-price small { font-family: var(--mono); font-size: 11px; letter-spacing: .1em; color: var(--muted); }
.lux-tier ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.lux-tier li { display: flex; gap: 10px; font-size: 14.5px; color: var(--muted); }
.lux-tier li::before { content: "—"; color: var(--gold-deep); flex: none; }
.lux-tier .btn { margin-top: auto; }

/* ═══════════ §12 · Hero variants, local-proof, tool-run ═══════════ */
.lux-hero {
  background: var(--night); color: var(--on-night);
  padding: calc(var(--lux-pad) + 40px) 0 var(--lux-pad);
  position: relative; overflow: hidden;
}
.lux-hero h1 { color: var(--on-night); }
.lux-hero h1 em { color: var(--gold); }
.lux-hero .lux-lede { color: rgba(245, 241, 232, .68); }
.lux-hero .lux-eyebrow { color: var(--gold); }
.lux-hero--light { background: var(--paper); color: var(--ink); }
.lux-hero--light h1 { color: var(--ink); }
.lux-hero--light h1 em { color: var(--gold-deep); }
/* Compact subpage hero */
.lux-page-hero { padding: calc(var(--lux-pad) * .7) 0 calc(var(--lux-pad) * .55); }
.lux-page-hero h1 { font-size: clamp(38px, 4.6vw, 68px); }

/* Local proof (location pages): call card + GBP + testimonial */
.lux-local {
  display: grid; grid-template-columns: 1fr 1fr; gap: 24px;
}
.lux-local__call {
  background: var(--night); color: var(--on-night);
  padding: clamp(28px, 3vw, 40px);
  display: flex; flex-direction: column; gap: 14px; justify-content: center;
}
.lux-local__call a[href^="tel:"] {
  font-family: var(--display); font-size: clamp(28px, 3vw, 40px); font-weight: 700; color: var(--gold);
}
.lux-local__quote {
  background: var(--paper-warm); border: 1px solid var(--line);
  padding: clamp(28px, 3vw, 40px);
}
.lux-local__quote blockquote {
  font-family: var(--display); font-style: italic; font-size: 21px;
  line-height: 1.55; margin: 0 0 16px;
}
@media (max-width: 860px) { .lux-local { grid-template-columns: 1fr; } }

/* Tool-run block (tool pages): dark panel, run CTA + free-tier upsell */
.lux-toolrun {
  background: var(--night); color: var(--on-night);
  padding: clamp(36px, 5vw, 64px);
  display: grid; grid-template-columns: 1.4fr 1fr; gap: 40px; align-items: center;
  border-top: 2px solid var(--gold-deep);
}
.lux-toolrun h2 { color: var(--on-night); font-size: clamp(28px, 3.4vw, 44px); }
.lux-toolrun h2 em { color: var(--gold); }
.lux-toolrun p { color: rgba(245, 241, 232, .66); }
.lux-toolrun__actions { display: grid; gap: 14px; }
@media (max-width: 860px) { .lux-toolrun { grid-template-columns: 1fr; } }

/* Final CTA band */
.lux-final {
  background: var(--night); color: var(--on-night);
  text-align: center; padding: var(--lux-pad) 0;
}
.lux-final h2 { color: var(--on-night); }
.lux-final h2 em { color: var(--gold); }
.lux-final .lux-lede { margin-left: auto; margin-right: auto; color: rgba(245, 241, 232, .66); }
.lux-final__ctas { display: flex; flex-wrap: wrap; gap: 16px; justify-content: center; margin-top: 36px; }

/* ═══════════ §13 · Luxury enforcement ═══════════
   Neutralize decorative color gradients from earlier layers so the
   luxury direction (solid color, hairlines, texture) holds under all
   four themes. Film grain (::after SVG noise) is texture — kept. */
.home .hero-copy h1 em, .home main h2 em {
  background: none;
  -webkit-background-clip: border-box; background-clip: border-box;
  color: var(--gold-deep);
}
/* Ambient aura → removed (decorative color gradient).
   The faint hairline grid texture (.lux-grid-bg, §8) is the
   luxury-approved texture replacement. */
body.home::before { background: none; }
body.home main.lux-grid-bg, body.home .lux-grid-bg { /* texture hook for converters */ }

/* ═══════════ §14 · Consent + a11y chrome coherence ═══════════
   Behavior untouched (site.js owns it); square corners + mono voice
   so the bars match the luxury chrome. */
.cookie-bar { border-radius: 0; }
.cookie-bar button { border-radius: 0; }
.a11y-tab { border-radius: 0; }
.a11y-panel { border-radius: 0; border: 1px solid var(--line); }
.a11y-panel .footer-heading { color: var(--gold-text); }

/* ═══════════ §15 · Reduced motion ═══════════ */
@media (prefers-reduced-motion: reduce) {
  .mega, .mobile-nav, .sticky-cta, .announce,
  .lux-card, .service-card, .btn {
    transition: none;
  }
}

/* ═══════════ §17 · Premium UI (concept authority) ═══════════
   Ported from hgm-luxury-homepage-concept-2026-09-30.html's premium
   upgrades, rewritten onto luxury theme variables (--gold,
   --gold-deep, --gold-text, --line, --paper-warm, --paper, --ink,
   --expo) so all four body[data-theme] values inherit. Concept class
   names kept verbatim (.tick, .tick-track, .tick-item, .progress,
   .to-top, .eyebrow pill); keyframes renamed to lux-tick to avoid
   collisions. Square corners everywhere: the ONLY round elements
   remain the theme-switcher pill + dots and .lux-live-dot (§4). No
   decorative gradients, no purple. JS behaviors live in luxury.js. */
:root {
  --expo: cubic-bezier(.16, 1, .3, 1);   /* reveal / choreography easing */
  --line-dark: rgba(255, 255, 255, .14); /* hairline on dark surfaces */
}

/* — screen-reader-only (restated for the partial's standalone safety;
   also defined in earlier stylesheet layers) — */
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}

/* — motion system: expo reveals —
   (specificity body .lux-reveal beats the staged §16 homepage block's
   --ease timing, which loads after this section) */
body .lux-reveal {
  transition: opacity .9s var(--expo), transform .9s var(--expo);
}

/* — announcement ticker (marquee) —
   .tick-track carries the item set TWICE and loops to
   translate3d(-50%, 0, 0); pause-on-hover via .announce:hover.
   The duplicated track uses classes only (aria-hidden="true") —
   never duplicated IDs; the sr-only summary describes the ticker. */
.announce { overflow: hidden; }
.tick {
  flex: 1; overflow: hidden; height: 100%;
  display: flex; align-items: center; position: relative;
}
.tick-track {
  display: flex; white-space: nowrap;
  animation: lux-tick 32s linear infinite; will-change: transform;
}
.announce:hover .tick-track { animation-play-state: paused; }
@keyframes lux-tick {
  from { transform: translate3d(0, 0, 0); }
  to   { transform: translate3d(-50%, 0, 0); }
}
.tick-item { display: inline-flex; align-items: center; padding-right: 64px; }
.tick-item .sq {
  width: 5px; height: 5px; background: var(--gold);
  margin-right: 14px; flex: none;
}

/* — nav choreography: header condenses 72px → 60px on scroll with
   expo easing; mono numbers (01–05) reveal on hover above the label — */
.head-in { transition: height .45s var(--expo); }
.site-head.scrolled .head-in { height: 60px; }
.nav a {
  display: inline-flex; flex-direction: column; align-items: flex-start;
  gap: 2px; padding: 4px 0;
}
.nav-btn {
  display: inline-flex; flex-direction: column; align-items: flex-start; gap: 2px;
}
.nav-btn .lbl { display: inline-flex; align-items: center; gap: 6px; }
.nav a .n, .nav-btn .n {
  display: block; font-family: var(--mono); font-size: 11px;
  letter-spacing: .16em; color: var(--gold-text);
  opacity: 0; transform: translateY(4px);
  transition: opacity .25s var(--ease), transform .25s var(--ease);
}
.nav a:hover .n, .nav-btn:hover .n { opacity: 1; transform: none; }

/* — scroll progress: 2px solid gold bar at viewport top —
   (element injected by luxury.js; transform driven in the same rAF
   scroll tick as the nav condense) */
.progress {
  position: fixed; top: 0; left: 0; right: 0; height: 2px;
  background: var(--gold-deep); z-index: 70;
  transform-origin: 0 50%; transform: scaleX(0);
}

/* — to-top: square 48px button, appears after 1.4 viewports scrolled
   (JS-injected; smooth scroll to top). Bottom offset clears the
   bottom-right theme pill; lifted again when the sticky CTA shows. */
.to-top {
  position: fixed; right: 24px; bottom: 84px; width: 48px; height: 48px; z-index: 65;
  background: var(--paper-warm); border: 1px solid var(--line);
  color: var(--gold-text); font-size: 18px; cursor: pointer;
  display: grid; place-items: center; border-radius: 0;
  opacity: 0; transform: translateY(16px); pointer-events: none;
  transition: opacity .4s var(--expo), transform .4s var(--expo),
              border-color .25s, color .25s;
}
.to-top.show { opacity: 1; transform: none; pointer-events: auto; }
.to-top:hover { border-color: var(--gold-deep); color: var(--ink); transform: translateY(-3px); }
body:has(.sticky-cta.show) .to-top { bottom: 158px; }

/* — eyebrow pills (bordered), with dark-section variants —
   No per-page class edits needed: dark contexts are covered
   contextually; .on-dark stays available as an explicit escape hatch. */
.eyebrow {
  display: inline-block; padding: 8px 16px;
  border: 1px solid var(--line); background: var(--paper-warm);
}
.eyebrow.on-dark,
.lux-dark .eyebrow, .lux-final .eyebrow, .lux-hero .eyebrow,
.lux-toolrun .eyebrow, .lux-local__call .eyebrow, footer.site .eyebrow {
  border-color: var(--line-dark); background: transparent; color: var(--gold);
}

/* — reduced motion: marquee static, choreography instant —
   (count-up renders final values and magnetic pull is skipped in
   luxury.js; to-top scrolls instantly via JS) */
@media (prefers-reduced-motion: reduce) {
  .tick-track { animation: none; }
  .head-in, .to-top, .nav a .n, .nav-btn .n { transition: none; }
}
@media (max-width: 960px) {
  .announce { font-size: 11px; letter-spacing: .08em; }
}

/* ═══════════ §16 · Homepage sections (concept authority) ═══════════
   Extracted from hgm-luxury-homepage-concept-2026-09-30.html's <style>
   block and rewritten onto luxury theme variables (no decorative
   gradients, no purple). Used ONLY by index.html. The faint hairline
   grid texture comes from .lux-grid-bg (§8) — the only approved
   gradient usage. */

/* Reveal on scroll (paired with luxury.js `.lux-reveal` + `.in`) */
.lux-reveal {
  opacity: 0; transform: translateY(28px);
  transition: opacity .8s var(--ease), transform .8s var(--ease);
}
.lux-reveal.in { opacity: 1; transform: none; }

/* Homepage hero: clears the fixed announce + site-head chrome */
body.home .lux-hero--home { padding-top: calc(var(--lux-pad) + 112px); }
body.home.announce-off .lux-hero--home { padding-top: calc(var(--lux-pad) + 72px); }

.home-hero-grid {
  display: grid; grid-template-columns: 1.05fr .95fr;
  gap: clamp(40px, 6vw, 90px); align-items: center;
}
.home-kicker { display: flex; align-items: center; gap: 14px; margin-bottom: 26px; }
.hero-ctas { display: flex; gap: 16px; margin-top: 36px; flex-wrap: wrap; }
.home-proof {
  display: flex; gap: 36px; margin-top: 54px; padding-top: 30px;
  border-top: 1px solid rgba(var(--gold-rgb), .25); flex-wrap: wrap;
}
.hp-item {
  display: flex; align-items: center; gap: 10px;
  font-size: 14px; font-weight: 600; color: var(--on-night); white-space: nowrap;
}
.hp-item i { font-style: normal; color: var(--gold); font-weight: 800; font-size: 15px; }

.home-hero-art {
  position: relative; min-height: 480px;
  border: 1px solid var(--line); background: var(--paper-warm);
}
.home-hero-art > img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
}
.art-tag {
  position: absolute; left: 24px; bottom: 20px; z-index: 2;
  color: #fff; font-family: var(--mono); font-size: 11px;
  letter-spacing: .2em; text-transform: uppercase;
  background: rgba(7, 10, 19, .55); padding: 8px 14px;
}
.art-card {
  position: absolute; background: var(--paper-warm);
  border: 1px solid var(--line); padding: 18px 22px;
  box-shadow: 0 24px 60px rgba(7, 10, 19, .10);
}
.art-card.a1 { top: 8%; right: 4%; }
.art-card.a2 { bottom: 10%; left: 2%; }
.art-card .mono {
  font-family: var(--mono); font-size: 11px; letter-spacing: .16em;
  text-transform: uppercase; color: var(--gold-text); margin: 0 0 6px;
}
.art-card strong { font-size: 22px; letter-spacing: -.02em; color: var(--ink); }
.art-card small { color: var(--muted); font-size: 14px; }

/* Section header row (products / series) */
.prod-head {
  display: flex; align-items: flex-end; justify-content: space-between;
  gap: 30px; margin-bottom: clamp(40px, 5vw, 60px); flex-wrap: wrap;
}
.prod-head .lux-lede { margin: 0; max-width: 38ch; }

/* Product carousel (driven by luxury.js; markup from concept) */
.carousel {
  position: relative; border: 1px solid var(--line);
  background: var(--paper-warm); overflow: hidden;
  box-shadow: 0 30px 80px rgba(7, 10, 19, .08);
}
.car-viewport { overflow: hidden; }
.car-track { display: flex; transition: transform .7s var(--ease); }
.slide { flex: 0 0 100%; display: grid; grid-template-columns: 1fr 1fr; min-height: 520px; }
.slide-copy {
  padding: clamp(36px, 5vw, 72px);
  display: flex; flex-direction: column; justify-content: center;
}
.slide-copy h3 {
  font-family: var(--display); font-size: clamp(36px, 3.8vw, 54px);
  font-weight: 700; line-height: 1.05; color: var(--ink);
}
.slide-copy .tag { color: var(--muted); font-size: 16.5px; margin: 16px 0 30px; max-width: 44ch; }
.feats { display: flex; flex-direction: column; border-top: 1px solid var(--line); }
.feat {
  border: 0; border-bottom: 1px solid var(--line); background: none;
  text-align: left; padding: 18px 4px; cursor: pointer;
  display: grid; grid-template-columns: 1fr auto; gap: 6px 18px;
  align-items: center; font-family: var(--sans); width: 100%; color: var(--ink);
}
.feat b { font-size: 16px; font-weight: 700; }
.feat .plus { font-size: 20px; color: var(--gold-deep); font-weight: 400; transition: transform .3s var(--ease); }
.feat small {
  grid-column: 1 / -1; color: var(--muted); font-size: 14.5px;
  max-height: 0; overflow: hidden; opacity: 0; margin: 0;
  transition: max-height .45s var(--ease), opacity .35s, margin .3s;
}
.feat.open small { max-height: 140px; opacity: 1; margin-top: 2px; }
.feat.open .plus { transform: rotate(45deg); }
.slide-ctas { display: flex; gap: 14px; margin-top: 34px; align-items: center; flex-wrap: wrap; }
.slide-art { position: relative; background: var(--night); overflow: hidden; min-height: 420px; }
.slide-art img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.slide-art .art-tag { left: 32px; bottom: 28px; }
.slide-type { display: flex; align-items: center; justify-content: center; }
.type-panel { padding: 48px; color: var(--on-night); }
.type-panel .mono-k {
  font-family: var(--mono); font-size: 11px; letter-spacing: .2em;
  text-transform: uppercase; color: var(--gold); margin: 0 0 20px;
}
.type-big {
  font-family: var(--display); font-size: clamp(44px, 5vw, 72px);
  line-height: 1.02; font-weight: 800; margin: 0 0 24px; color: var(--on-night);
}
.type-big em { font-style: italic; color: var(--gold); }
.car-ui {
  display: flex; align-items: center; justify-content: space-between;
  padding: 22px clamp(24px, 4vw, 48px); border-top: 1px solid var(--line);
  background: var(--paper); gap: 16px; flex-wrap: wrap;
}
.car-tabs { display: flex; gap: 8px; }
.car-tab {
  border: 1px solid var(--line); background: none; padding: 10px 20px;
  font-family: var(--sans); font-size: 13.5px; font-weight: 700;
  cursor: pointer; color: var(--muted); transition: all .3s;
}
.car-tab.active { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.car-count { font-family: var(--mono); font-size: 11px; letter-spacing: .16em; color: var(--muted); white-space: nowrap; }
.car-progress { height: 2px; background: var(--line); overflow: hidden; flex: 1; max-width: 220px; min-width: 80px; }
.car-progress i { display: block; height: 100%; width: 0; background: var(--gold); }
.car-nav { display: flex; gap: 10px; align-items: center; }
.car-arrow {
  width: 46px; height: 46px; border: 1px solid var(--line);
  background: var(--paper-warm); cursor: pointer; font-size: 18px;
  color: var(--ink); transition: all .3s; display: grid; place-items: center;
}
.car-arrow:hover { background: var(--ink); color: var(--paper); border-color: var(--ink); }

/* Graph Series grid */
.g5-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: clamp(40px, 5vw, 56px); }
.g5-card {
  background: var(--paper-warm); border: 1px solid var(--line);
  padding: clamp(26px, 3vw, 32px); display: flex; flex-direction: column;
  transition: transform .35s var(--ease), box-shadow .35s, border-color .35s;
}
.g5-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 24px 60px rgba(7, 10, 19, .10);
  border-color: rgba(var(--gold-rgb), .55);
}
.g5-card--dim { background: var(--paper-dim); }
.g5-top { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 22px; }
.g5-num { font-family: var(--mono); font-size: 11px; letter-spacing: .18em; color: var(--gold-text); text-transform: uppercase; }
.g5-card h3 { font-family: var(--display); font-weight: 600; font-size: 26px; margin: 0 0 10px; color: var(--ink); }
.g5-card > p { font-size: 14.5px; color: var(--muted); margin: 0 0 18px; }
.g5-meta { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 22px; }
.g5-meta span {
  font-family: var(--mono); font-size: 11px; letter-spacing: .08em;
  text-transform: uppercase; color: var(--muted);
  background: var(--paper-dim); border: 1px solid var(--line); padding: 5px 10px;
}
.g5-card .card-links { margin-top: auto; display: flex; align-items: center; flex-wrap: wrap; gap: 6px 14px; }
.g5-card .fine { margin: 12px 0 0; font-size: 14px; color: var(--muted); }

/* Pull quotes */
.quotes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: clamp(40px, 5vw, 56px); }
.quote {
  border: 1px solid var(--line); padding: 34px; background: var(--paper-warm);
  display: flex; flex-direction: column; gap: 18px; position: relative;
  transition: transform .35s var(--ease), box-shadow .35s, border-color .35s;
}
.quote:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 60px rgba(7, 10, 19, .10);
  border-color: rgba(var(--gold-rgb), .55);
}
.quote::before {
  content: "\201C"; position: absolute; top: 6px; right: 22px;
  font-family: var(--display); font-size: 72px; line-height: 1;
  color: var(--gold); opacity: .35; pointer-events: none;
}
.stars { color: var(--gold-deep); letter-spacing: .2em; font-size: 14px; }
.quote p { font-family: var(--display); font-weight: 500; font-size: 20px; line-height: 1.5; flex: 1; color: var(--ink); }
.quote footer { font-size: 14px; color: var(--muted); }
.quote footer strong { color: var(--ink); display: block; font-size: 14.5px; }

/* Fine print + final CTA fine line */
.fine { font-size: 14px; color: var(--muted); }
.lux-final .fine { margin-top: 26px; font-size: 14px; color: rgba(245, 241, 232, .66); }

@media (max-width: 1024px) { .g5-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 960px) {
  .home-hero-grid { grid-template-columns: 1fr; }
  .home-hero-art { min-height: 360px; }
  .slide { grid-template-columns: 1fr; }
  .slide-art { min-height: 300px; order: -1; }
  .quotes { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .g5-grid { grid-template-columns: 1fr; }
  .home-proof { gap: 18px 28px; }
}
@media (prefers-reduced-motion: reduce) {
  .lux-reveal { opacity: 1; transform: none; transition: none; }
}

/* ═══════════ §20 · v3 interaction layer (ported from luxury concept 2026-09-30) ═══════════
   Cursor glow, card spotlight + restrained tilt, skip link, editorial section dividers.
   Motion guarded: fine pointers only; transitions die under prefers-reduced-motion. */

/* editorial hairline between sections */
section{position:relative}
section+section::before{content:"";position:absolute;top:0;left:0;right:0;height:1px;background:var(--line);z-index:2}

/* skip link (injected by luxury.js) */
.skip-link{position:fixed;top:10px;left:10px;z-index:2000;padding:12px 18px;background:var(--ink);color:var(--paper);
  font-family:var(--mono);font-size:11px;letter-spacing:.12em;text-transform:uppercase;text-decoration:none;
  transform:translateY(-230%);transition:transform .35s var(--expo)}
.skip-link:focus{transform:none}

/* cursor glow — theme-aware via --gold-rgb */
.cursor-glow{position:fixed;z-index:1;width:420px;height:420px;border-radius:50%;pointer-events:none;opacity:0;
  background:radial-gradient(circle,rgba(var(--gold-rgb),.10),rgba(var(--gold-rgb),.03) 40%,transparent 70%);
  transform:translate3d(-50%,-50%,0);transition:opacity .5s var(--ease);will-change:left,top}
body.pointer-on .cursor-glow{opacity:1}

/* card spotlight + restrained 3D tilt */
.lux-card,.g5-card{position:relative;--spot-x:50%;--spot-y:50%;--tilt-x:0deg;--tilt-y:0deg}
.lux-card::after,.g5-card::after{content:"";position:absolute;inset:0;pointer-events:none;opacity:0;
  background:radial-gradient(340px circle at var(--spot-x) var(--spot-y),rgba(var(--gold-rgb),.14),transparent 65%);
  transition:opacity .5s var(--ease)}
.lux-card:hover::after,.g5-card:hover::after{opacity:1}
.lux-card>*,.g5-card>*{position:relative;z-index:1}
@media(hover:hover) and (pointer:fine){
  .lux-card:hover{transform:perspective(900px) rotateX(var(--tilt-y,0deg)) rotateY(var(--tilt-x,0deg)) translateY(-4px)}
  .g5-card:hover{transform:perspective(900px) rotateX(var(--tilt-y,0deg)) rotateY(var(--tilt-x,0deg)) translateY(-5px)}
}
@media(hover:none),(pointer:coarse){.cursor-glow{display:none}}
@media (prefers-reduced-motion: reduce){
  .lux-card::after,.g5-card::after,.cursor-glow,.skip-link{transition:none}
}

/* ═══════════ §21 · Vertical rhythm (typography + spacing pass 2026-10-01) ═══════════
   Consistent prose spacing site-wide. Scoped to main so header/footer
   chrome is untouched. Specificity is deliberately low (type selectors):
   any page- or component-level rule still wins, so this only fills the
   gaps browsers leave to defaults — the source of "awkward" spacing. */

/* Section headings: reliable air between title and the copy that follows */
main h2 { margin-bottom: 22px; }
main h3 { margin-bottom: 14px; }

/* Body leading: comfortable 1.65 everywhere component styles don't say otherwise */
main p { line-height: 1.65; }

/* Plain prose lists (class-less only — custom components keep their own rhythm) */
main ul:not([class]), main ol:not([class]) { margin: 0 0 1.5em; padding-left: 1.3em; }
main ul:not([class]) li, main ol:not([class]) li { margin-bottom: .55em; line-height: 1.65; }
main ul:not([class]) li:last-child, main ol:not([class]) li:last-child { margin-bottom: 0; }

/* Card interiors: consistent title-to-copy gap (browser default h3 margins removed) */
.lux-card h3, .service-card h3, .assessment-card h3 { margin: 0 0 14px; }

/* Eyebrow → heading → lede stack: even steps down */
.lux-head .lux-eyebrow, .lux-head .eyebrow, .lux-head .section-kicker { margin-bottom: 20px; }
.lux-head h2 { margin-bottom: 16px; }
.lux-head .lux-lede { margin-bottom: 0; }

/* Anchored sections clear the sticky header instead of hiding beneath it */
main [id] { scroll-margin-top: 110px; }

/* ═══════════ §22 · Sans typographic scale + whitespace (sans conversion 2026-10-01) ═══════════
   Sans-only hierarchy, each step visually distinct:
     display h1  clamp(44px, 5.6vw, 88px) / 800 / -0.02em
     section h2  clamp(32px, 4vw, 60px)    / 700 / -0.015em
     card h3     clamp(22px, 2.2vw, 28px)  / 600 / -0.01em
     body        15px+ / 400 / 1.65 leading
     caption     11-13px mono, tracked
   Scoped to main; header/footer chrome untouched. Low specificity so
   component styles still win. */

/* Tighter tracking suits heavy sans display */
main h1 { letter-spacing: -.02em; margin-bottom: 28px; }
main h2 { margin-bottom: 26px; }

/* Comfortable measure for unclassed prose paragraphs (classed components keep theirs) */
main p:not([class]) { max-width: 70ch; }

/* Lede paragraphs get a touch more presence under heavy display heads */
main .lede { font-weight: 500; }

/* Even out stacked-section rhythm where sections sit back to back */
main section + section { margin-top: clamp(8px, 1.5vw, 20px); }

/* Definition-style rows and stat rows breathe a little more */
.lux-proof__row { row-gap: 28px; }

/* ═══════════ §22 · Widget idle behavior + motion & micro-interactions ═══
   Both floating widgets rest as slim, unobtrusive edge slivers after a few
   seconds without interaction, and expand on hover, focus, or tap. Every
   animation here honors prefers-reduced-motion AND the a11y widget's own
   reduce-motion toggle (html.a11y-reduce-motion): with either on, motion
   collapses to instant. */

/* --- idle collapse: theme pill tucks to a sliver at the right edge --- */
.theme-switcher {
  transition: translate .38s cubic-bezier(.22,1,.36,1), opacity .3s ease, bottom .3s ease;
}
.theme-switcher.is-idle:not(:hover):not(:focus-within):not(.kb-open) {
  translate: calc(100% - 16px) 0;
  opacity: .8;
}
.theme-switcher:hover,
.theme-switcher:focus-within,
.theme-switcher.kb-open { translate: 0 0; opacity: 1; }

/* --- idle collapse: a11y tab tucks to a sliver (both home + interior variants).
       Uses the independent `translate` property so existing transforms
       (vertical centering, mobile scale) are preserved. --- */
.a11y-tab {
  transition: translate .38s cubic-bezier(.22,1,.36,1), opacity .3s ease,
              background .25s var(--ease), padding .25s var(--ease);
}
.a11y-tab.is-idle:not(:hover):not(:focus-within) { translate: 58% 0; opacity: .75; }
.a11y-tab:hover, .a11y-tab:focus-within { translate: 0 0; opacity: 1; }

/* --- shortcuts hint inside the a11y panel --- */
.a11y-keys {
  font-family: var(--mono); font-size: 11px; font-weight: 400;
  letter-spacing: .04em; color: var(--muted); text-transform: none;
  text-align: right; line-height: 1.7;
}

/* --- page-load fade (runs only when JS adds html.lux-ready) --- */
@keyframes lux-page-in { from { opacity: 0; } to { opacity: 1; } }
html.lux-ready body { animation: lux-page-in .32s ease-out; }

/* --- smooth anchor scrolling (motion-safe only) --- */
@media (prefers-reduced-motion: no-preference) {
  html:not(.a11y-reduce-motion) { scroll-behavior: smooth; }
}

/* --- button micro-interactions: press state + consistent lift --- */
.btn:active { transform: translateY(0) scale(.985); }
.btn { will-change: transform; }

/* --- card hover polish: spotlight + tilt settle together --- */
.lux-card, .g5-card {
  transition: transform .3s cubic-bezier(.22,1,.36,1), box-shadow .3s ease,
              border-color .3s ease, --spot-x .18s ease-out, --spot-y .18s ease-out;
}

/* --- footer link micro-interaction: quiet underline sweep
   (primary nav already has its own ::after sweep — not duplicated here) --- */
.foot-cols a {
  background-image: linear-gradient(currentColor, currentColor);
  background-size: 0% 1px; background-repeat: no-repeat; background-position: left calc(100% - 1px);
  transition: background-size .28s cubic-bezier(.22,1,.36,1), color .2s ease;
}
.foot-cols a:hover { background-size: 100% 1px; }

/* --- theme switch polish: view-transition respects reduced motion --- */
@media (prefers-reduced-motion: reduce) {
  ::view-transition-old(root), ::view-transition-new(root) { animation: none; }
}

/* --- hard reduced-motion guards: OS setting OR the a11y toggle ---
   Motion collapses to instant; nothing animates against the user's choice. */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
    scroll-behavior: auto !important;
  }
}
html.a11y-reduce-motion *, html.a11y-reduce-motion *::before, html.a11y-reduce-motion *::after {
  animation: none !important;
  transition: none !important;
}
html.a11y-reduce-motion { scroll-behavior: auto !important; }
html.a11y-reduce-motion ::view-transition-old(root),
html.a11y-reduce-motion ::view-transition-new(root) { animation: none !important; }

/* ═══════════ §23 · Apple-clean refinement (2026-10-01) ═══════════
   1. Widgets retract into 44px circular icon buttons when idle
      (safe-area aware for notches / home indicators).
   2. Type re-proportioned to the section whitespace at every viewport.
   3. Apple-first responsive: desktop ≥1024 · tablet 768–1023 · phone <768.
   4. Apple-clean surfaces: disciplined radii, hairlines, soft diffuse
      shadows, quiet chrome. The global reduced-motion guards in §22
      (prefers-reduced-motion + html.a11y-reduce-motion) cover every
      transition below. */

/* ---------- 23a · theme pill → circular icon when idle ---------- */
.theme-switcher {
  right: calc(18px + env(safe-area-inset-right, 0px));
  bottom: calc(18px + env(safe-area-inset-bottom, 0px));
  max-width: 520px; max-height: 190px; overflow: hidden;
  flex-wrap: wrap; /* the "Restore theme memory" row wraps full-width */
  box-shadow: 0 12px 32px rgba(0,0,0,.22), 0 2px 8px rgba(0,0,0,.10);
  transition: max-width .45s cubic-bezier(.22,1,.36,1), max-height .45s cubic-bezier(.22,1,.36,1),
    border-radius .45s cubic-bezier(.22,1,.36,1), padding .3s ease, opacity .3s ease,
    background .25s ease, box-shadow .3s ease, bottom .3s ease;
}
.theme-switcher__icon {
  display: none; width: 44px; height: 44px; flex: none;
  align-items: center; justify-content: center; color: var(--gold);
}
/* Idle: the pill morphs into a 44px circular icon button. Children are
   removed from the tab order (display:none); the icon is decorative
   (aria-hidden) while the group's aria-label stays on the container. */
.theme-switcher.is-idle:not(:hover):not(:focus-within):not(.kb-open) {
  max-width: 44px; max-height: 44px; padding: 0; border-radius: 50%;
  justify-content: center; gap: 0; opacity: 1; translate: 0 0;
  box-shadow: 0 8px 24px rgba(0,0,0,.26), 0 2px 6px rgba(0,0,0,.10);
}
.theme-switcher.is-idle:not(:hover):not(:focus-within):not(.kb-open) > :not(.theme-switcher__icon) { display: none; }
.theme-switcher.is-idle:not(:hover):not(:focus-within):not(.kb-open) .theme-switcher__icon { display: inline-flex; }
body:has(.sticky-cta.show) .theme-switcher { bottom: calc(92px + env(safe-area-inset-bottom, 0px)); }

/* ---------- 23a · a11y tab → circular icon when idle ---------- */
.a11y-tab {
  max-width: 240px; max-height: 200px; overflow: hidden;
  box-shadow: 0 12px 32px rgba(0,0,0,.22), 0 2px 8px rgba(0,0,0,.10);
  transition: max-width .38s cubic-bezier(.22,1,.36,1), max-height .38s cubic-bezier(.22,1,.36,1),
    border-radius .38s cubic-bezier(.22,1,.36,1), padding .3s ease, opacity .3s ease,
    translate .38s cubic-bezier(.22,1,.36,1), background .25s ease, box-shadow .3s ease;
}
.a11y-tab__icon { display: inline-flex; align-items: center; justify-content: center; }
/* Idle: 44px circular icon button, floating clear of the edge and the
   home indicator. Text label leaves the tab order; aria-label persists. */
.a11y-tab.is-idle:not(:hover):not(:focus-within) {
  max-width: 44px; max-height: 44px; padding: 0;
  border-radius: 50% !important; border-width: 1px; writing-mode: horizontal-tb;
  display: inline-flex; align-items: center; justify-content: center; gap: 0;
  right: calc(14px + env(safe-area-inset-right, 0px));
  translate: 0 0; opacity: 1;
  box-shadow: 0 8px 24px rgba(0,0,0,.26), 0 2px 6px rgba(0,0,0,.10);
}
.a11y-tab.is-idle:not(:hover):not(:focus-within) > :not(.a11y-tab__icon) { display: none; }

/* ---------- 23b · type proportionate to spacing ---------- */
/* Even eyebrow → headline → lede rhythm so copy sits in its whitespace. */
.lux-head { margin-bottom: clamp(36px, 4.5vw, 64px); }
main h1 { margin-bottom: clamp(20px, 2.5vw, 32px); }
main h2 { margin-bottom: clamp(18px, 2.2vw, 28px); }

/* ---------- 23c · Apple-first responsive ---------- */
@media (max-width: 1023px) {
  :root { --lux-pad: clamp(60px, 7vw, 88px); }
  main h1 { font-size: clamp(40px, 6vw, 64px); }
  main h2 { font-size: clamp(30px, 4.6vw, 44px); }
}
@media (max-width: 767px) {
  :root { --lux-pad: clamp(48px, 12vw, 72px); }
  html { -webkit-text-size-adjust: 100%; }
  main h1 { font-size: clamp(34px, 10vw, 46px); }
  main h2 { font-size: clamp(27px, 7.4vw, 36px); }
  .lux-card h3, .service-card h3 { font-size: clamp(20px, 5.4vw, 24px); }
  main .lux-lede { font-size: clamp(16px, 4.4vw, 18px); }
  .lux-wrap { padding-left: 20px; padding-right: 20px; }
  .lux-table { display: block; overflow-x: auto; -webkit-overflow-scrolling: touch; }
  .a11y-panel { right: calc(12px + env(safe-area-inset-right, 0px)); }
}
/* 44px minimum touch targets on touch devices */
@media (pointer: coarse) {
  .theme-switcher:not(.is-idle) button { width: 44px; height: 44px; }
  .theme-switcher:not(.is-idle) button i { width: 18px; height: 18px; }
  .btn, .dark-cta, .light-cta, .hero-cta, .product-cta,
  .desktop-nav a, .desktop-nav .nav-btn { min-height: 44px; }
}
/* Overflow guards */
img, video, iframe { max-width: 100%; height: auto; }
/* Safe-area aware fixed chrome */
.sticky-cta {
  left: calc(12px + env(safe-area-inset-left, 0px));
  right: calc(12px + env(safe-area-inset-right, 0px));
  bottom: calc(12px + env(safe-area-inset-bottom, 0px));
  box-shadow: 0 16px 48px rgba(0,0,0,.20), 0 2px 8px rgba(0,0,0,.08);
}
.to-top {
  right: calc(16px + env(safe-area-inset-right, 0px));
  bottom: calc(84px + env(safe-area-inset-bottom, 0px));
  border-radius: 50%;
}
body:has(.sticky-cta.show) .to-top { bottom: calc(158px + env(safe-area-inset-bottom, 0px)); }

/* ---------- 23d · Apple-clean surfaces ---------- */
:root { --r-sm: 10px; --r-md: 14px; --r-lg: 18px; }
/* Disciplined radii: pills for CTAs, soft rounds for cards/panels/inputs.
   (Overrides the §4 square-corner rule per the Apple-clean direction.) */
.btn, .dark-cta, .light-cta, .hero-cta, .product-cta, .booking-button,
.quick-action-btn, .cookie-bar button, .a11y-panel,
input, textarea, select, .menu-button {
  border-radius: 12px !important;
}
.lux-card, .service-card, .assessment-card, .offer-card, .bento-tile,
.lux-tier, .faq-section details, .lux-faq details {
  border-radius: 18px !important;
}
/* No visual noise: film grain off, ambient aura stays */
body.home::after { display: none; }

/* ═══════════ §24 · Phase-2 quality pass (2026-10-01) ═══════════
   Mobile drawer close affordances (JS-injected by luxury.js — no per-page
   markup), 44px touch targets, and strengthened focus-visible rings.
   Motion: the scrim has no transition (instant show/hide); the drawer
   slide stays under the §15 + §22 reduced-motion guards. */

/* --- drawer scrim: tap-to-close layer behind the drawer --- */
.mnav-scrim {
  position: fixed; inset: 0; z-index: 69;
  background: rgba(5, 7, 14, .45);
  border: 0; padding: 0; margin: 0; cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}
.mnav-scrim[hidden] { display: none; }

/* --- drawer close button: 44px, top of the drawer, Apple-clean --- */
.mnav-close {
  position: absolute; top: 20px; right: 20px;
  width: 44px; height: 44px; padding: 0; flex: none;
  display: inline-flex; align-items: center; justify-content: center;
  background: transparent; border: 1px solid var(--line);
  color: var(--ink); font-size: 22px; line-height: 1; cursor: pointer;
  transition: color .2s var(--ease), border-color .2s var(--ease);
}
.mnav-close:hover { color: var(--gold-deep); border-color: var(--gold-deep); }

/* --- 44px touch targets (was: burger ~42px, announce-close ~30px,
   mega-close ~16px, drawer links ~33px) --- */
.burger { min-width: 44px; min-height: 44px; align-items: center; justify-content: center; }
.announce-close {
  right: 4px; width: 44px; height: 44px; padding: 0;
  display: inline-flex; align-items: center; justify-content: center;
}
.mega-close { min-height: 44px; display: inline-flex; align-items: center; padding: 0 6px; }
.mobile-nav .m-links a, .mobile-nav > a { min-height: 44px; display: flex; align-items: center; }

/* --- theme swatch buttons: 44px hit area whenever the pill is expanded
   (was: 24px on fine pointers). Pill max-width grows to fit five dots. --- */
.theme-switcher { max-width: 520px; }
.theme-switcher:not(.is-idle) button { width: 44px; height: 44px; }
.theme-switcher:not(.is-idle) button i { width: 18px; height: 18px; }

/* --- form controls: 44px minimum (text-like inputs, selects, textareas) --- */
input[type="text"], input[type="email"], input[type="url"], input[type="tel"],
input[type="number"], input[type="search"], input[type="password"],
select, textarea { min-height: 44px; }

/* --- strong visible focus rings, all themes ---
   Strengthens the 2px gold ring (weak on light paper) to 3px gold-deep,
   which holds ≥3:1 against both light paper and dark brand surfaces. */
a:focus-visible, button:focus-visible, input:focus-visible,
select:focus-visible, textarea:focus-visible, summary:focus-visible,
[tabindex]:not([tabindex="-1"]):focus-visible {
  outline: 3px solid var(--gold-deep);
  outline-offset: 3px;
  border-radius: 2px;
}
