/* =============================================================
   Bamboo Law Group — shared stylesheet
   Looks are switched with data-look="…" on <html>.
   ============================================================= */

:root {
  --bg: #f6f5ef;
  --surface: #ffffff;
  --ink: #14261c;
  --muted: #5b6b62;
  --line: #dfe3dc;
  --primary: #1f5f43;
  --primary-ink: #ffffff;
  --accent: #c9a35a;
  --accent-ink: #14261c;
  --dark: #0f2e26;
  --dark-ink: #ffffff;
  --font-display: 'Fraunces', Georgia, serif;
  --font-body: 'Nunito Sans', system-ui, sans-serif;
  --radius: 10px;
  --radius-pill: 999px;
  --shadow: 0 14px 40px rgba(20, 38, 28, 0.14);
  --max: 1200px;
}

html[data-look="navy"] {
  --bg: #f4f6fa; --surface: #ffffff; --ink: #0b1a33; --muted: #4b5a73; --line: #d9dfea;
  --primary: #0b1a33; --primary-ink: #ffffff; --accent: #e6c26a; --accent-ink: #0b1a33;
  --dark: #081328; --dark-ink: #ffffff;
  --font-display: 'Merriweather', Georgia, serif; --font-body: 'Open Sans', system-ui, sans-serif;
  --radius: 6px;
}
html[data-look="amber"] {
  --bg: #16181c; --surface: #1f2228; --ink: #f4f6f2; --muted: #a8b0a6; --line: #2e323a;
  --primary: #ff8a2a; --primary-ink: #1a0d02; --accent: #ffb347; --accent-ink: #1a0d02;
  --dark: #0d0e11; --dark-ink: #ffffff;
  --font-display: 'Space Grotesk', system-ui, sans-serif; --font-body: 'IBM Plex Sans', system-ui, sans-serif;
  --radius: 12px;
  --shadow: 0 14px 40px rgba(0,0,0,0.45);
}
html[data-look="clean"] {
  --bg: #ffffff; --surface: #f4f7fb; --ink: #0f172a; --muted: #475569; --line: #dbe3f0;
  --primary: #1d4ed8; --primary-ink: #ffffff; --accent: #16a34a; --accent-ink: #ffffff;
  --dark: #0f172a; --dark-ink: #ffffff;
  --font-display: 'DM Serif Display', Georgia, serif; --font-body: 'DM Sans', system-ui, sans-serif;
  --radius: 12px;
}
html[data-look="luxe"] {
  --bg: #0c0a08; --surface: #16130e; --ink: #f5efe3; --muted: #b3aa98; --line: #2a251c;
  --primary: #d4a017; --primary-ink: #1a1300; --accent: #fff3c4; --accent-ink: #1a1300;
  --dark: #060503; --dark-ink: #ffffff;
  --font-display: 'Cinzel', Georgia, serif; --font-body: 'Raleway', system-ui, sans-serif;
  --radius: 2px;
  --shadow: 0 14px 40px rgba(0,0,0,0.6);
}
html[data-look="terracotta"] {
  --bg: #fbf7f0; --surface: #ffffff; --ink: #2b2118; --muted: #6b5b4e; --line: #e9dfd2;
  --primary: #b5462b; --primary-ink: #ffffff; --accent: #e8b04b; --accent-ink: #2b2118;
  --dark: #2b2118; --dark-ink: #ffffff;
  --font-display: 'Playfair Display', Georgia, serif; --font-body: 'Lato', system-ui, sans-serif;
  --radius: 8px;
}

/* ---------- reset & base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--font-body); color: var(--ink); background: var(--bg); line-height: 1.6; font-size: 17px; }
img { max-width: 100%; display: block; }
a { color: var(--primary); }
h1, h2, h3, h4 { font-family: var(--font-display); line-height: 1.12; margin: 0 0 0.5em; letter-spacing: -0.01em; }
h1 { font-size: clamp(2.2rem, 5vw, 4.2rem); }
h2 { font-size: clamp(1.8rem, 3.4vw, 2.7rem); }
h3 { font-size: 1.35rem; }
p { margin: 0 0 1em; }
.container { width: min(var(--max), calc(100% - 40px)); margin-inline: auto; }
.eyebrow { display: inline-block; font-size: 0.78rem; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--primary); margin-bottom: 14px; }
html[data-look="amber"] .eyebrow, html[data-look="luxe"] .eyebrow { color: var(--accent); }
.lead { font-size: 1.15rem; color: var(--muted); max-width: 62ch; }
.center { text-align: center; }
.center .lead { margin-inline: auto; }
.section { padding: clamp(64px, 8vw, 110px) 0; }
.section-alt { background: var(--surface); }
.section-dark { background: var(--dark); color: var(--dark-ink); }
.section-dark .lead, .section-dark .muted { color: rgba(255,255,255,0.78); }
.section-dark h2, .section-dark h3 { color: #fff; }
.grid { display: grid; gap: 28px; }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 900px) { .grid-3, .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; } }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 15px 26px; border-radius: var(--radius); font-weight: 700; font-size: 1rem; text-decoration: none; border: 2px solid transparent; cursor: pointer; transition: transform .15s ease, box-shadow .15s ease, background .15s ease; font-family: var(--font-body); line-height: 1.2; }
.btn:hover { transform: translateY(-2px); box-shadow: 0 10px 24px rgba(0,0,0,0.18); }
.btn svg { width: 18px; height: 18px; flex: none; }
.btn-primary { background: var(--primary); color: var(--primary-ink); }
.btn-accent { background: var(--accent); color: var(--accent-ink); }
.btn-outline { background: transparent; color: var(--ink); border-color: currentColor; }
.btn-outline-light { background: rgba(0,0,0,0.25); color: #fff; border-color: rgba(255,255,255,0.7); backdrop-filter: blur(4px); }
.btn-pill { border-radius: var(--radius-pill); }
.btn-lg { padding: 18px 34px; font-size: 1.08rem; }
.btn-block { width: 100%; }

/* ---------- header (shared) ---------- */
.site-header { position: sticky; top: 0; z-index: 50; transition: box-shadow .2s, background .2s; }
.site-header.is-stuck { box-shadow: 0 6px 24px rgba(0,0,0,0.12); }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: inherit; }
.brand-mark { width: 42px; height: 42px; border-radius: 10px; display: grid; place-items: center; background: var(--primary); color: var(--primary-ink); flex: none; }
.brand-mark svg { width: 24px; height: 24px; }
.brand-name { font-family: var(--font-display); font-weight: 700; font-size: 1.25rem; line-height: 1; letter-spacing: 0.01em; white-space: nowrap; }
@media (max-width: 420px) { .brand-name { font-size: 1.05rem; } .brand-sub { display: none; } }
.brand-sub { display: block; font-size: 0.68rem; letter-spacing: 0.18em; text-transform: uppercase; opacity: 0.75; margin-top: 4px; font-family: var(--font-body); font-weight: 700; }
.nav-links { display: flex; align-items: center; gap: 4px; list-style: none; margin: 0; padding: 0; }
.nav-links a { display: block; padding: 10px 12px; font-size: 0.92rem; font-weight: 700; text-decoration: none; color: inherit; border-radius: 6px; white-space: nowrap; opacity: 0.9; }
.nav-links a:hover { background: rgba(127,127,127,0.12); opacity: 1; }
.nav-phone { display: inline-flex; align-items: center; gap: 8px; font-weight: 800; text-decoration: none; color: inherit; white-space: nowrap; }
.nav-phone svg { width: 18px; height: 18px; }
.nav-phone small { display: block; font-size: 0.68rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; opacity: 0.7; }
.nav-cta { padding: 12px 20px; font-size: 0.92rem; }
.nav-toggle { display: none; background: none; border: 0; color: inherit; cursor: pointer; padding: 8px; }
.nav-toggle svg { width: 28px; height: 28px; }
.utility-bar { background: var(--dark); color: var(--dark-ink); font-size: 0.85rem; }
.utility-bar .container { display: flex; justify-content: space-between; align-items: center; min-height: 38px; gap: 16px; }
.utility-bar a { color: inherit; text-decoration: none; font-weight: 700; }
.utility-bar .u-left, .utility-bar .u-right { display: flex; gap: 20px; align-items: center; }

/* H1 classic */
.hdr-classic .nav-row { background: var(--surface); }
.hdr-classic .nav-row .container { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 84px; }
.hdr-classic .nav-right { display: flex; align-items: center; gap: 22px; }
html[data-look="amber"] .hdr-classic .nav-row, html[data-look="luxe"] .hdr-classic .nav-row { background: var(--surface); }

/* H2 centered */
.hdr-centered { background: var(--surface); }
.hdr-centered .top-row .container { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; min-height: 96px; gap: 20px; }
.hdr-centered .top-row .brand { justify-self: center; text-align: center; flex-direction: column; gap: 6px; }
.hdr-centered .top-row .nav-phone { justify-self: start; }
.hdr-centered .top-row .nav-cta { justify-self: end; }
.hdr-centered .links-row { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.hdr-centered .links-row .container { display: flex; justify-content: center; }
.hdr-centered .links-row .nav-links a { padding: 14px 16px; font-size: 0.86rem; letter-spacing: 0.06em; text-transform: uppercase; }

/* H3 transparent overlay */
.hdr-overlay { position: fixed; left: 0; right: 0; top: 0; background: transparent; color: #fff; }
.hdr-overlay .container { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 84px; }
.hdr-overlay .nav-right { display: flex; align-items: center; gap: 22px; }
.hdr-overlay .brand-mark { background: rgba(255,255,255,0.14); color: #fff; }
.hdr-overlay.is-stuck { background: var(--dark); }
.hdr-overlay .nav-links a:hover { background: rgba(255,255,255,0.14); }
body.has-overlay-header .hero { padding-top: 84px; }

/* H4 dark bar with big phone */
.hdr-dark { background: var(--dark); color: var(--dark-ink); }
.hdr-dark .container { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 92px; }
.hdr-dark .brand-mark { background: var(--accent); color: var(--accent-ink); }
.hdr-dark .nav-right { display: flex; align-items: center; gap: 24px; }
.hdr-dark .nav-phone { font-size: 1.35rem; font-family: var(--font-display); }
.hdr-dark .nav-phone svg { color: var(--accent); width: 22px; height: 22px; }
.hdr-dark .nav-links a:hover { background: rgba(255,255,255,0.12); }
.hdr-dark .nav-cta { background: var(--accent); color: var(--accent-ink); }

/* H5 boxed / floating */
.hdr-boxed { background: transparent; padding: 18px 0 0; position: absolute; left: 0; right: 0; top: 0; z-index: 50; }
.hdr-boxed .box { background: var(--surface); border-radius: 16px; box-shadow: var(--shadow); display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 10px 10px 10px 0; overflow: hidden; }
.hdr-boxed .brand { background: var(--primary); color: var(--primary-ink); padding: 16px 22px; align-self: stretch; border-radius: 0; }
.hdr-boxed .brand-mark { background: rgba(255,255,255,0.18); color: #fff; }
.hdr-boxed .nav-right { display: flex; align-items: center; gap: 18px; }
.hdr-boxed.is-stuck { position: fixed; padding-top: 10px; }
body.has-boxed-header .hero { padding-top: 120px; }
@media (max-width: 1100px) { .hdr-boxed .brand { padding: 12px 16px; } }

/* mobile nav */
@media (max-width: 1080px) {
  .nav-links { display: none; position: absolute; left: 0; right: 0; top: 100%; flex-direction: column; align-items: stretch; background: var(--surface); color: var(--ink); padding: 12px 20px 20px; box-shadow: 0 20px 40px rgba(0,0,0,0.2); gap: 0; }
  .nav-links.is-open { display: flex; }
  .nav-links a { padding: 14px 8px; border-bottom: 1px solid var(--line); border-radius: 0; font-size: 1rem; }
  .nav-links li:last-child a { border-bottom: 0; }
  .nav-toggle { display: inline-flex; }
  .nav-right .nav-phone small, .nav-right .nav-cta { display: none; }
  .hdr-centered .top-row .container { grid-template-columns: 1fr auto; min-height: 72px; }
  .hdr-centered .top-row .brand { flex-direction: row; text-align: left; justify-self: start; order: -1; }
  .hdr-centered .top-row .nav-phone { justify-self: end; }
  .hdr-centered .top-row .nav-phone small { display: none; }
  .hdr-centered .top-row .nav-cta { display: none; }
  .hdr-centered .links-row { position: relative; }
  .hdr-centered .links-row .container { justify-content: flex-end; }
  .hdr-classic .nav-row, .hdr-overlay, .hdr-dark, .hdr-boxed .box { position: relative; }
  .hdr-overlay { position: fixed; }
  .hdr-overlay .nav-links { top: 84px; }
  .hdr-boxed .nav-links { top: calc(100% + 8px); border-radius: 12px; }
  .utility-bar .u-left span:not(:first-child) { display: none; }
  .utility-bar .u-right { display: none; }
  .hdr-dark .nav-phone { font-size: 1rem; }
}

/* ---------- hero (shared) ---------- */
.hero { position: relative; overflow: hidden; color: #fff; isolation: isolate; }
.hero-bg { position: absolute; inset: 0; z-index: -2; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; }
.hero-bg.kenburns img { animation: kenburns 24s ease-in-out infinite alternate; }
@keyframes kenburns { from { transform: scale(1) translate(0,0); } to { transform: scale(1.12) translate(-2%, -1.5%); } }
.hero-overlay { position: absolute; inset: 0; z-index: -1; }
.hero-badge { display: inline-flex; align-items: center; gap: 8px; padding: 7px 14px; border-radius: var(--radius-pill); border: 1px solid rgba(255,255,255,0.45); background: rgba(0,0,0,0.25); font-size: 0.8rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; margin-bottom: 20px; backdrop-filter: blur(4px); }
.hero-badge .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 4px rgba(255,255,255,0.15); }
.hero h1 { color: #fff; text-shadow: 0 2px 20px rgba(0,0,0,0.35); }
.hero h1 .hl { color: var(--accent); }
.hero .hero-sub { font-size: clamp(1.05rem, 1.6vw, 1.3rem); color: rgba(255,255,255,0.9); max-width: 60ch; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 28px; }
.hero-proof { display: flex; flex-wrap: wrap; gap: 22px; margin-top: 30px; font-size: 0.92rem; font-weight: 700; color: rgba(255,255,255,0.85); }
.hero-proof span { display: inline-flex; align-items: center; gap: 8px; }
.hero-proof svg { width: 16px; height: 16px; color: var(--accent); }

/* A: full-bleed left text (optional card right) */
.hero-a .hero-inner { min-height: clamp(560px, 78vh, 820px); display: grid; align-items: center; grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr); gap: 48px; padding: 80px 0; }
.hero-a.no-card .hero-inner { grid-template-columns: minmax(0, 1fr); max-width: 760px; }
.hero-a .hero-overlay { background: linear-gradient(90deg, rgba(0,0,0,0.82) 0%, rgba(0,0,0,0.6) 45%, rgba(0,0,0,0.2) 100%); }
html[data-look="forest"] .hero-a .hero-overlay { background: linear-gradient(90deg, rgba(15,46,38,0.92) 0%, rgba(15,46,38,0.7) 45%, rgba(15,46,38,0.2) 100%); }
html[data-look="navy"] .hero-a .hero-overlay { background: linear-gradient(90deg, rgba(8,19,40,0.94) 0%, rgba(8,19,40,0.72) 45%, rgba(8,19,40,0.25) 100%); }

/* B: split solid + photo */
.hero-b { color: var(--dark-ink); background: var(--dark); }
.hero-b .hero-inner { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); min-height: clamp(560px, 78vh, 800px); }
.hero-b .hero-text { padding: clamp(60px, 8vw, 110px) clamp(24px, 6vw, 80px) clamp(60px, 8vw, 110px) 0; display: flex; flex-direction: column; justify-content: center; }
.hero-b .hero-media { position: relative; }
.hero-b .hero-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-b .hero-media::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, var(--dark) 0%, transparent 28%); z-index: 1; }
.hero-b .split-wrap { display: grid; grid-template-columns: minmax(0, var(--max)) ; }
.hero-b .hero-media .media-badge { position: absolute; left: 32px; bottom: 32px; z-index: 2; background: rgba(0,0,0,0.7); border: 1px solid var(--accent); color: #fff; padding: 14px 18px; border-radius: var(--radius); backdrop-filter: blur(6px); }
.hero-b .media-badge strong { display: block; font-family: var(--font-display); font-size: 1.6rem; color: var(--accent); line-height: 1; }
.hero-b .media-badge span { font-size: 0.78rem; letter-spacing: 0.1em; text-transform: uppercase; opacity: 0.85; }

/* C: centered */
.hero-c .hero-inner { min-height: clamp(600px, 82vh, 860px); display: flex; flex-direction: column; justify-content: center; align-items: center; text-align: center; padding: 100px 0 80px; }
.hero-c .hero-overlay { background: linear-gradient(180deg, rgba(0,0,0,0.45) 0%, rgba(0,0,0,0.55) 55%, rgba(0,0,0,0.85) 100%); }
.hero-c .hero-sub { margin-inline: auto; }
.hero-c .hero-actions, .hero-c .hero-proof { justify-content: center; }
.hero-c .hero-form-inline { margin-top: 30px; }

/* D: photo left / form right */
.hero-d .hero-inner { min-height: clamp(560px, 80vh, 840px); display: grid; grid-template-columns: minmax(0, 1fr) minmax(320px, 440px); gap: 56px; align-items: center; padding: 80px 0; }
.hero-d .hero-overlay { background: linear-gradient(90deg, rgba(0,0,0,0.78) 0%, rgba(0,0,0,0.5) 55%, rgba(0,0,0,0.55) 100%); }

/* E: Ken Burns + typed */
.hero-e .hero-inner { min-height: clamp(600px, 84vh, 880px); display: grid; align-items: end; padding: 120px 0 72px; }
.hero-e .hero-overlay { background: linear-gradient(180deg, rgba(0,0,0,0.3) 0%, rgba(0,0,0,0.35) 40%, rgba(0,0,0,0.9) 100%); }
.hero-e .typed-wrap { display: inline-block; min-width: 6ch; color: var(--accent); border-right: 3px solid var(--accent); padding-right: 6px; animation: caret 0.9s steps(1) infinite; }
@keyframes caret { 50% { border-color: transparent; } }
.hero-e .hero-bottom { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr); gap: 40px; align-items: end; }
@media (max-width: 900px) { .hero-e .hero-bottom { grid-template-columns: 1fr; } }

/* F: light framed */
.hero-f { color: var(--ink); background: var(--bg); }
.hero-f h1 { color: var(--ink); text-shadow: none; }
.hero-f .hero-sub { color: var(--muted); }
.hero-f .hero-proof { color: var(--muted); }
.hero-f .hero-inner { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr); gap: 56px; align-items: center; padding: clamp(60px, 8vw, 100px) 0; min-height: 72vh; }
.hero-f .frame { position: relative; aspect-ratio: 4 / 4.6; }
.hero-f .frame img { width: 100%; height: 100%; object-fit: cover; border-radius: 24px 120px 24px 24px; box-shadow: var(--shadow); }
.hero-f .frame::before { content: ""; position: absolute; inset: -18px -18px auto auto; width: 60%; height: 60%; border: 3px solid var(--accent); border-radius: 16px 100px 16px 16px; z-index: -1; }
.hero-f .chip { position: absolute; background: var(--surface); color: var(--ink); border-radius: 14px; padding: 12px 16px; box-shadow: var(--shadow); display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 0.92rem; animation: drift 5s ease-in-out infinite; }
.hero-f .chip svg { width: 20px; height: 20px; color: var(--accent); }
.hero-f .chip.c1 { left: -30px; top: 40px; }
.hero-f .chip.c2 { right: -20px; top: 42%; animation-delay: 1.4s; }
.hero-f .chip.c3 { left: 10px; bottom: 30px; animation-delay: 2.6s; }
@keyframes drift { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
.hero-f .btn-outline-light { background: transparent; color: var(--ink); border-color: var(--ink); backdrop-filter: none; }
.hero-f .hero-badge { border-color: var(--line); background: var(--surface); color: var(--primary); }
html[data-look="amber"] .hero-f, html[data-look="luxe"] .hero-f { background: var(--bg); }

@media (max-width: 900px) {
  .hero-a .hero-inner, .hero-d .hero-inner, .hero-f .hero-inner { grid-template-columns: 1fr; }
  .hero-b .hero-inner { grid-template-columns: 1fr; }
  .hero-b .hero-media { min-height: 320px; }
  .hero-b .hero-media::before { background: linear-gradient(180deg, var(--dark) 0%, transparent 30%); }
  .hero-b .hero-text { padding-right: 0; }
  .hero-f .frame { max-width: 520px; margin-inline: auto; }
  .hero-f .chip.c1 { left: 0; } .hero-f .chip.c2 { right: 0; }
}

/* ---------- forms ---------- */
.form-card { background: var(--surface); color: var(--ink); border-radius: 18px; padding: 28px; box-shadow: var(--shadow); }
.form-card h3 { margin-bottom: 4px; }
.form-card .form-note { font-size: 0.85rem; color: var(--muted); margin-bottom: 18px; }
.field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 14px; }
.field label { font-size: 0.82rem; font-weight: 700; letter-spacing: 0.04em; }
.field input, .field select, .field textarea { font: inherit; padding: 13px 14px; border: 1.5px solid var(--line); border-radius: 8px; background: #fff; color: #111; width: 100%; }
html[data-look="amber"] .field input, html[data-look="amber"] .field select, html[data-look="amber"] .field textarea,
html[data-look="luxe"] .field input, html[data-look="luxe"] .field select, html[data-look="luxe"] .field textarea { background: #0f1114; color: #fff; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 2px solid var(--primary); outline-offset: 1px; border-color: var(--primary); }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
@media (max-width: 520px) { .field-row { grid-template-columns: 1fr; } }
.form-fine { font-size: 0.75rem; color: var(--muted); margin-top: 12px; }
.form-success { display: none; padding: 18px; border-radius: 10px; background: rgba(22,163,74,0.12); border: 1px solid rgba(22,163,74,0.4); font-weight: 600; }
form.is-done .form-success { display: block; }
form.is-done .form-body { display: none; }

/* inline short form (in hero) */
.hero-form-inline { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 28px; padding: 10px; background: rgba(255,255,255,0.12); border: 1px solid rgba(255,255,255,0.3); border-radius: 14px; backdrop-filter: blur(8px); max-width: 760px; }
.hero-form-inline input { flex: 1 1 180px; font: inherit; padding: 14px 16px; border: 0; border-radius: 8px; min-width: 0; }
.hero-form-inline .btn { flex: 0 0 auto; }
.hero-c .hero-form-inline { margin-inline: auto; }
.hero-form-inline .form-success { flex-basis: 100%; color: #fff; background: rgba(22,163,74,0.35); }

/* quiz */
.quiz { }
.quiz-progress { display: flex; gap: 6px; margin-bottom: 18px; }
.quiz-progress span { flex: 1; height: 5px; border-radius: 3px; background: var(--line); }
.quiz-progress span.done { background: var(--primary); }
.quiz-step { display: none; }
.quiz-step.is-active { display: block; }
.quiz-step h4 { font-family: var(--font-body); font-size: 1.05rem; margin-bottom: 12px; }
.choice { display: grid; gap: 8px; margin-bottom: 14px; }
.choice button { text-align: left; font: inherit; padding: 13px 14px; border-radius: 8px; border: 1.5px solid var(--line); background: transparent; color: inherit; cursor: pointer; font-weight: 600; }
.choice button:hover, .choice button.is-selected { border-color: var(--primary); background: rgba(127,127,127,0.08); }
.quiz-result { display: none; padding: 16px; border-radius: 10px; background: rgba(127,127,127,0.1); margin-bottom: 14px; }
.quiz-result.is-visible { display: block; }
.quiz-result strong { display: block; font-size: 1.1rem; margin-bottom: 4px; color: var(--primary); }
html[data-look="amber"] .quiz-result strong, html[data-look="luxe"] .quiz-result strong { color: var(--accent); }

/* sticky bar + modal */
.sticky-bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; background: var(--dark); color: var(--dark-ink); box-shadow: 0 -8px 30px rgba(0,0,0,0.25); transform: translateY(110%); transition: transform .3s ease; }
.sticky-bar.is-visible { transform: translateY(0); }
.sticky-bar .container { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 68px; }
.sticky-bar .sb-text { font-weight: 700; }
.sticky-bar .sb-text small { display: block; font-weight: 400; opacity: 0.75; font-size: 0.82rem; }
.sticky-bar .sb-actions { display: flex; gap: 10px; }
@media (max-width: 640px) { .sticky-bar .sb-text { display: none; } .sticky-bar .sb-actions { width: 100%; } .sticky-bar .sb-actions .btn { flex: 1; padding: 12px; font-size: 0.9rem; } }
.modal { position: fixed; inset: 0; z-index: 100; display: none; align-items: center; justify-content: center; padding: 20px; background: rgba(0,0,0,0.65); }
.modal.is-open { display: flex; }
.modal .form-card { width: min(520px, 100%); position: relative; max-height: 92vh; overflow: auto; }
.modal-close { position: absolute; right: 14px; top: 14px; background: none; border: 0; font-size: 26px; cursor: pointer; color: inherit; line-height: 1; }

/* ---------- trust strip ---------- */
.trust { background: var(--surface); border-bottom: 1px solid var(--line); }
.trust .container { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.trust .t-item { display: flex; align-items: center; gap: 14px; padding: 22px 18px; border-right: 1px solid var(--line); }
.trust .t-item:last-child { border-right: 0; }
.trust svg { width: 30px; height: 30px; color: var(--primary); flex: none; }
html[data-look="amber"] .trust svg, html[data-look="luxe"] .trust svg { color: var(--accent); }
.trust strong { display: block; font-size: 0.95rem; }
.trust span { font-size: 0.82rem; color: var(--muted); }
@media (max-width: 900px) { .trust .container { grid-template-columns: 1fr 1fr; } .trust .t-item:nth-child(2) { border-right: 0; } .trust .t-item:nth-child(-n+2) { border-bottom: 1px solid var(--line); } }
@media (max-width: 520px) { .trust .container { grid-template-columns: 1fr; } .trust .t-item { border-right: 0; border-bottom: 1px solid var(--line); } }

/* ---------- cards ---------- */
.card { background: var(--surface); border: 1px solid var(--line); border-radius: 18px; padding: 30px; box-shadow: 0 2px 10px rgba(0,0,0,0.04); }
.card .icon { width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; background: var(--primary); color: var(--primary-ink); margin-bottom: 18px; }
.card .icon svg { width: 26px; height: 26px; }
html[data-look="amber"] .card .icon, html[data-look="luxe"] .card .icon { background: var(--accent); color: var(--accent-ink); }
.card ul { padding-left: 18px; margin: 12px 0 0; color: var(--muted); }
.card li { margin-bottom: 6px; }
.card.featured { border: 2px solid var(--primary); position: relative; }
.card.featured .tag { position: absolute; top: -14px; left: 24px; background: var(--primary); color: var(--primary-ink); font-size: 0.72rem; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase; padding: 6px 12px; border-radius: 999px; }
html[data-look="amber"] .card.featured, html[data-look="luxe"] .card.featured { border-color: var(--accent); }
html[data-look="amber"] .card.featured .tag, html[data-look="luxe"] .card.featured .tag { background: var(--accent); color: var(--accent-ink); }
.price { font-family: var(--font-display); font-size: 2.4rem; line-height: 1; margin: 10px 0 4px; }
.price small { font-family: var(--font-body); font-size: 0.9rem; color: var(--muted); }

/* compare (which chapter) */
.compare { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px; }
@media (max-width: 800px) { .compare { grid-template-columns: 1fr; } }
.compare .card h3 { display: flex; align-items: center; gap: 12px; font-size: 1.6rem; }
.compare .chip-num { width: 48px; height: 48px; border-radius: 12px; display: grid; place-items: center; background: var(--primary); color: var(--primary-ink); font-family: var(--font-display); font-size: 1.1rem; }
html[data-look="amber"] .compare .chip-num, html[data-look="luxe"] .compare .chip-num { background: var(--accent); color: var(--accent-ink); }
.compare .best { font-size: 0.85rem; font-weight: 700; color: var(--primary); margin-bottom: 12px; }
html[data-look="amber"] .compare .best, html[data-look="luxe"] .compare .best { color: var(--accent); }
.check-list { list-style: none; padding: 0; margin: 14px 0 0; }
.check-list li { display: flex; gap: 10px; align-items: flex-start; margin-bottom: 10px; }
.check-list svg { width: 20px; height: 20px; flex: none; color: var(--primary); margin-top: 3px; }
html[data-look="amber"] .check-list svg, html[data-look="luxe"] .check-list svg { color: var(--accent); }
.section-dark .check-list svg { color: var(--accent); }

/* keep grid */
.keep-item { display: flex; gap: 16px; align-items: flex-start; padding: 22px; border-radius: 14px; background: var(--surface); border: 1px solid var(--line); }
.keep-item svg { width: 30px; height: 30px; flex: none; color: var(--primary); }
html[data-look="amber"] .keep-item svg, html[data-look="luxe"] .keep-item svg { color: var(--accent); }
.keep-item strong { display: block; margin-bottom: 4px; }
.keep-item span { color: var(--muted); font-size: 0.95rem; }

/* stats */
.stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; text-align: center; }
@media (max-width: 800px) { .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.stat strong { display: block; font-family: var(--font-display); font-size: clamp(2.2rem, 4vw, 3.2rem); line-height: 1; color: var(--accent); }
.stat span { font-size: 0.85rem; letter-spacing: 0.08em; text-transform: uppercase; opacity: 0.8; }

/* emergencies */
.emergency-band { background: linear-gradient(135deg, var(--dark), #000); color: #fff; border-radius: 24px; padding: clamp(32px, 5vw, 60px); display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr); gap: 40px; align-items: center; border: 1px solid rgba(255,255,255,0.1); }
@media (max-width: 900px) { .emergency-band { grid-template-columns: 1fr; } }
.emergency-band h2 { color: #fff; }
.emergency-band .pulse { display: inline-flex; align-items: center; gap: 10px; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase; font-size: 0.8rem; color: #ff6b6b; margin-bottom: 14px; }
.emergency-band .pulse i { width: 10px; height: 10px; border-radius: 50%; background: #ff3b3b; box-shadow: 0 0 0 0 rgba(255,59,59,0.7); animation: pulse 1.6s infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(255,59,59,0.7);} 70% { box-shadow: 0 0 0 12px rgba(255,59,59,0);} 100% { box-shadow: 0 0 0 0 rgba(255,59,59,0);} }
.emergency-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.emergency-list li { padding: 14px 16px; border-radius: 10px; background: rgba(255,255,255,0.07); border: 1px solid rgba(255,255,255,0.12); display: flex; gap: 12px; align-items: center; font-weight: 600; }
.emergency-list svg { width: 22px; height: 22px; color: #ff6b6b; flex: none; }

/* attorney */
.attorney { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: 56px; align-items: center; }
@media (max-width: 900px) { .attorney { grid-template-columns: 1fr; } }
.attorney .photo { position: relative; }
.attorney .photo img { border-radius: 20px; aspect-ratio: 4 / 5; object-fit: cover; width: 100%; box-shadow: var(--shadow); }
.attorney .photo .plate { position: absolute; left: 20px; bottom: 20px; background: var(--surface); color: var(--ink); padding: 14px 18px; border-radius: 12px; box-shadow: var(--shadow); }
.attorney .photo .plate strong { display: block; font-family: var(--font-display); font-size: 1.1rem; }
.attorney .photo .plate span { font-size: 0.8rem; color: var(--muted); }
.attorney blockquote { margin: 20px 0; padding-left: 18px; border-left: 3px solid var(--accent); font-family: var(--font-display); font-size: 1.25rem; font-style: italic; }

/* process */
.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; counter-reset: step; }
@media (max-width: 800px) { .steps { grid-template-columns: 1fr; } }
.step { position: relative; padding: 30px 26px 26px; border-radius: 18px; background: var(--surface); border: 1px solid var(--line); }
.step::before { counter-increment: step; content: counter(step, decimal-leading-zero); font-family: var(--font-display); font-size: 2.4rem; color: var(--accent); line-height: 1; display: block; margin-bottom: 12px; }

/* faq */
.faq { max-width: 820px; margin-inline: auto; }
.faq details { border-bottom: 1px solid var(--line); padding: 6px 0; }
.faq summary { cursor: pointer; font-weight: 700; font-size: 1.05rem; padding: 16px 40px 16px 0; list-style: none; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 4px; top: 12px; font-size: 1.6rem; color: var(--primary); font-weight: 400; }
html[data-look="amber"] .faq summary::after, html[data-look="luxe"] .faq summary::after { color: var(--accent); }
.faq details[open] summary::after { content: "–"; }
.faq details p { color: var(--muted); padding-bottom: 14px; margin: 0; }

/* cta band */
.cta-band { background: var(--primary); color: var(--primary-ink); }
.cta-band .container { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); gap: 40px; align-items: center; padding-block: clamp(56px, 7vw, 90px); }
@media (max-width: 900px) { .cta-band .container { grid-template-columns: 1fr; } }
.cta-band h2 { color: inherit; }
.cta-band .lead { color: inherit; opacity: 0.9; }
.cta-band .phone-big { font-family: var(--font-display); font-size: clamp(1.8rem, 3vw, 2.4rem); text-decoration: none; color: inherit; display: inline-flex; align-items: center; gap: 12px; margin-top: 8px; }
.cta-band .phone-big svg { width: 30px; height: 30px; }
html[data-look="amber"] .cta-band, html[data-look="luxe"] .cta-band { background: var(--surface); color: var(--ink); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }

/* footer */
.site-footer { background: var(--dark); color: rgba(255,255,255,0.8); padding: 60px 0 30px; font-size: 0.92rem; }
.site-footer .grid { grid-template-columns: 1.4fr 1fr 1fr 1.2fr; }
@media (max-width: 900px) { .site-footer .grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .site-footer .grid { grid-template-columns: 1fr; } }
.site-footer h4 { color: #fff; font-size: 1rem; margin-bottom: 12px; font-family: var(--font-body); letter-spacing: 0.08em; text-transform: uppercase; }
.site-footer a { color: inherit; text-decoration: none; }
.site-footer a:hover { color: #fff; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: 8px; }
.site-footer .brand-mark { background: var(--accent); color: var(--accent-ink); }
.site-footer .brand-name { color: #fff; }
.site-footer .legal { border-top: 1px solid rgba(255,255,255,0.12); margin-top: 40px; padding-top: 24px; font-size: 0.78rem; opacity: 0.7; line-height: 1.6; }

/* reveal animation */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s ease, transform .7s ease; }
.reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } .hero-bg.kenburns img { animation: none; } }

/* template picker banner (demo only) */
.demo-bar { position: fixed; left: 16px; bottom: 16px; z-index: 70; background: #111; color: #fff; padding: 10px 14px; border-radius: 10px; font-size: 0.78rem; box-shadow: 0 10px 30px rgba(0,0,0,0.35); display: flex; gap: 12px; align-items: center; opacity: 0.92; }
.demo-bar a { color: #ffd166; font-weight: 700; text-decoration: none; }
.demo-bar b { color: #ffd166; }
body.has-sticky .demo-bar { bottom: 84px; }
@media (max-width: 640px) { .demo-bar { display: none; } }

/* compact headers on phones */
@media (max-width: 640px) {
  .brand-sub { display: none; }
  .brand-name { font-size: 1.1rem; }
  .nav-phone span { display: none; }
  .nav-phone { padding: 10px; border-radius: 50%; background: rgba(127,127,127,0.15); }
  .nav-phone svg { width: 20px; height: 20px; }
  .nav-right { gap: 8px; }
  .hdr-classic .nav-row .container, .hdr-overlay .container, .hdr-dark .container { min-height: 66px; }
  .hdr-boxed .brand { padding: 10px 12px; }
  .hdr-boxed .box { padding: 6px 6px 6px 0; }
  .hdr-centered .top-row .container { min-height: 62px; }
  .hdr-centered .links-row .container { min-height: 44px; }
}
@media (max-width: 640px) { .hdr-boxed .brand-name { font-size: 1rem; } .hdr-boxed .nav-right { padding-right: 2px; } }

/* =============================================================
   Ported canvas heroes (layouts g–r)
   ============================================================= */
.metal { background: linear-gradient(100deg, var(--accent) 0%, #fff 22%, var(--accent) 42%, #fffbe8 58%, var(--accent) 78%, #fff 100%); background-size: 250% auto; -webkit-background-clip: text; background-clip: text; color: transparent; animation: metalshine 6s linear infinite; }
@keyframes metalshine { 0% { background-position: 200% center; } 100% { background-position: -200% center; } }
@keyframes twinkle { 0%,100% { opacity: 0; transform: scale(.3) rotate(0); } 50% { opacity: 1; transform: scale(1) rotate(45deg); } }
.star { position: absolute; animation: twinkle 2.8s ease-in-out infinite; pointer-events: none; }
.star svg { width: 100%; height: 100%; display: block; }
@keyframes floaty { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }
.dark-hero { background: var(--dark); color: #fff; }
.dark-hero h1 { color: #fff; }
.hero .cta-tagline { border-top: 1px solid rgba(255,255,255,.18); background: rgba(0,0,0,.35); text-align: center; padding: 18px 20px; font-family: var(--font-display); font-size: 1.25rem; letter-spacing: .08em; }
.hero .cta-tagline em { color: var(--accent); font-style: normal; }
.nameplate { display: inline-flex; flex-direction: column; align-items: center; gap: 4px; padding: 14px 40px; background: linear-gradient(180deg, rgba(0,0,0,.55), rgba(0,0,0,.85)); border: 1px solid var(--accent); box-shadow: 0 0 0 5px rgba(0,0,0,.55), 0 0 30px rgba(0,0,0,.4); }
.nameplate .np-name { font-family: 'Great Vibes', cursive; font-size: 2.3rem; line-height: 1; }
.nameplate .np-role { font-size: .72rem; font-weight: 700; letter-spacing: .3em; text-transform: uppercase; color: #fff; }

/* g — debt to zero */
.hero-g { background: var(--dark); color: #fff; }
.hero-g .hero-grid-bg { position: absolute; inset: 0; z-index: -1; background-image: linear-gradient(color-mix(in srgb, var(--accent) 12%, transparent) 1px, transparent 1px), linear-gradient(90deg, color-mix(in srgb, var(--accent) 12%, transparent) 1px, transparent 1px); background-size: 64px 64px; animation: gridmove 6s linear infinite; }
@keyframes gridmove { from { background-position: 0 0; } to { background-position: 0 64px; } }
.hero-g .glow { position: absolute; right: -140px; top: -140px; width: 720px; height: 720px; border-radius: 50%; background: radial-gradient(circle, color-mix(in srgb, var(--accent) 28%, transparent) 0%, transparent 62%); z-index: -1; }
.hero-g .hero-inner { min-height: clamp(560px, 78vh, 820px); display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 56px; align-items: center; padding: 80px 0; }
.hero-g .counter-card { background: rgba(255,255,255,.05); border: 1px solid color-mix(in srgb, var(--accent) 35%, transparent); border-radius: 20px; padding: 32px; display: flex; flex-direction: column; gap: 16px; }
.hero-g .counter-card .cc-head { display: flex; justify-content: space-between; align-items: baseline; font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; opacity: .7; }
.hero-g .counter-card .cc-pill { font-size: .72rem; padding: 4px 10px; border-radius: 999px; background: color-mix(in srgb, var(--accent) 20%, transparent); color: var(--accent); font-weight: 700; letter-spacing: .06em; }
.hero-g .counter-card .cc-num { font-family: var(--font-display); font-size: clamp(3rem, 5.5vw, 4.6rem); font-weight: 700; line-height: 1; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.hero-g .bars { display: flex; align-items: flex-end; gap: 12px; height: 180px; }
.hero-g .bars span { flex: 1; border-radius: 8px 8px 4px 4px; background: linear-gradient(180deg, #ff6b6b, rgba(255,107,107,.3)); transform-origin: bottom; animation: barshrink 5s cubic-bezier(.6,0,.2,1) infinite alternate; }
.hero-g .bars span:nth-child(2) { background: linear-gradient(180deg, #ff8a5b, rgba(255,138,91,.3)); animation-delay: .3s; }
.hero-g .bars span:nth-child(3) { background: linear-gradient(180deg, #ffc65b, rgba(255,198,91,.3)); animation-delay: .6s; }
.hero-g .bars span:nth-child(4) { animation-delay: .9s; } .hero-g .bars span:nth-child(5) { animation-delay: 1.2s; background: linear-gradient(180deg, #ff8a5b, rgba(255,138,91,.3)); }
@keyframes barshrink { 0% { transform: scaleY(1); } 100% { transform: scaleY(.06); } }
.hero-g .bar-labels { display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; font-size: .72rem; text-align: center; opacity: .6; }
@media (max-width: 900px) { .hero-g .hero-inner { grid-template-columns: 1fr; } }

/* h — tear up the bills */
.hero-h { background: var(--bg); color: var(--ink); }
.hero-h h1 { color: var(--ink); text-shadow: none; font-family: 'Anton', var(--font-display); font-weight: 400; text-transform: uppercase; font-size: clamp(2.8rem, 6.4vw, 5.6rem); line-height: .96; letter-spacing: .01em; }
.hero-h h1 .hl { color: var(--primary); }
.hero-h .hero-sub { color: var(--muted); } .hero-h .hero-proof { color: var(--muted); }
.hero-h .btn-outline-light { background: transparent; color: var(--ink); border-color: var(--ink); backdrop-filter: none; }
.hero-h .blob { position: absolute; left: -180px; bottom: -260px; width: 620px; height: 620px; border-radius: 50%; background: color-mix(in srgb, var(--primary) 18%, transparent); z-index: -1; }
.hero-h .ring { position: absolute; right: 220px; top: -120px; width: 360px; height: 360px; border-radius: 50%; border: 28px solid var(--ink); opacity: .9; z-index: -1; }
.hero-h .hero-inner { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 60px; align-items: center; padding: clamp(60px, 8vw, 100px) 0; min-height: 70vh; }
.hero-h .bills { position: relative; height: 560px; }
.hero-h .bill { position: absolute; width: 300px; padding: 22px 24px; background: #fff; color: #14110f; border: 3px solid var(--ink); box-shadow: 8px 8px 0 var(--ink); display: flex; flex-direction: column; gap: 8px; animation: floaty 5s ease-in-out infinite; }
.hero-h .bill small { font-size: .72rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: #6b625c; }
.hero-h .bill .amt { position: relative; font-family: 'Anton', sans-serif; font-size: 2.4rem; line-height: 1; display: inline-block; }
.hero-h .bill .amt::after { content: ""; position: absolute; left: 0; top: 48%; height: 6px; width: 100%; background: var(--primary); animation: strike 1.4s cubic-bezier(.7,0,.3,1) both; }
@keyframes strike { from { width: 0; } to { width: 100%; } }
.hero-h .bill.b1 { left: 20px; top: 40px; transform: rotate(-8deg); } .hero-h .bill.b2 { left: 190px; top: 210px; transform: rotate(6deg); animation-delay: .8s; } .hero-h .bill.b3 { left: 40px; top: 380px; transform: rotate(-3deg); animation-delay: 1.6s; }
.hero-h .stamp { position: absolute; right: 0; top: 150px; width: 150px; height: 150px; border-radius: 50%; background: var(--ink); color: var(--bg); display: flex; align-items: center; justify-content: center; text-align: center; font-family: 'Anton', sans-serif; font-size: 1.3rem; line-height: 1.1; transform: rotate(10deg); }
.hero-h .hero-badge { border-color: var(--ink); background: var(--ink); color: var(--bg); }
@media (max-width: 900px) { .hero-h .hero-inner { grid-template-columns: 1fr; } .hero-h .bills { height: 520px; max-width: 480px; margin-inline: auto; } .hero-h .ring { display: none; } }

/* i — emergency */
.hero-i { background: #0d0d0f; color: #fff; }
.hero-i .tape { position: absolute; left: 0; right: 0; height: 14px; background: repeating-linear-gradient(135deg, #ffcc00 0 20px, #0d0d0f 20px 40px); animation: tape 2s linear infinite; z-index: 1; }
.hero-i .tape.top { top: 0; } .hero-i .tape.bottom { bottom: 0; }
@keyframes tape { from { background-position: 0 0; } to { background-position: 80px 0; } }
.hero-i .hero-inner { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: 40px; align-items: center; min-height: clamp(560px, 80vh, 820px); padding: 90px 0; }
.hero-i h1 { font-family: 'Oswald', var(--font-display); text-transform: uppercase; font-size: clamp(2.6rem, 5.6vw, 5rem); line-height: 1; }
.hero-i h1 .hl { color: #ff3b3b; }
.hero-i .hero-badge { background: #ff3b3b; color: #0d0d0f; border-color: #ff3b3b; }
.hero-i .hero-badge .dot { background: #0d0d0f; box-shadow: none; }
.hero-i .btn-accent { background: #ff3b3b; color: #0d0d0f; }
.hero-i .clock { position: relative; display: flex; align-items: center; justify-content: center; height: 480px; }
.hero-i .ringp { position: absolute; width: 340px; height: 340px; border-radius: 50%; border: 3px solid rgba(255,59,59,.8); animation: ringp 2.2s ease-out infinite; }
.hero-i .ringp:nth-child(2) { animation-delay: .75s; } .hero-i .ringp:nth-child(3) { animation-delay: 1.5s; }
@keyframes ringp { 0% { transform: scale(1); opacity: .9; } 100% { transform: scale(1.9); opacity: 0; } }
.hero-i .clock svg { width: 340px; height: 340px; position: relative; }
.hero-i .hand { transform-origin: 50% 50%; animation: tick 12s linear infinite; }
@keyframes tick { to { transform: rotate(360deg); } }
.hero-i .stopped { position: absolute; padding: 12px 22px; background: #ff3b3b; color: #0d0d0f; font-family: 'Oswald', sans-serif; font-weight: 700; font-size: 2rem; letter-spacing: .1em; transform: rotate(-12deg); border: 4px solid #0d0d0f; box-shadow: 0 0 0 4px #ff3b3b; }
@media (max-width: 900px) { .hero-i .hero-inner { grid-template-columns: 1fr; } .hero-i .clock { height: 400px; } }

/* j — shield + chips (light) */
.hero-j { background: var(--bg); color: var(--ink); }
.hero-j h1 { color: var(--ink); text-shadow: none; } .hero-j .hero-sub, .hero-j .hero-proof { color: var(--muted); }
.hero-j .btn-outline-light { background: var(--surface); color: var(--ink); border-color: var(--line); backdrop-filter: none; }
.hero-j .dots { position: absolute; inset: 0; z-index: -1; background-image: radial-gradient(color-mix(in srgb, var(--primary) 18%, transparent) 1.5px, transparent 1.5px); background-size: 28px 28px; }
.hero-j .wedge { position: absolute; right: 0; top: 0; width: 46%; height: 100%; background: color-mix(in srgb, var(--primary) 10%, var(--surface)); clip-path: polygon(18% 0, 100% 0, 100% 100%, 0 100%); z-index: -1; }
.hero-j .hero-inner { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: 60px; align-items: center; padding: clamp(60px, 8vw, 100px) 0; min-height: 70vh; }
.hero-j .hero-badge { border-color: var(--line); background: var(--surface); color: var(--primary); }
.hero-j .shield-wrap { position: relative; height: 520px; }
.hero-j .shield-wrap svg.shield { position: absolute; left: 50%; top: 50%; width: 380px; height: 380px; transform: translate(-50%, -50%); }
.hero-j .shield-wrap .check { stroke-dasharray: 60; animation: draw 1.2s ease-out .4s both; }
@keyframes draw { from { stroke-dashoffset: 60; } to { stroke-dashoffset: 0; } }
.hero-j .chip { position: absolute; background: var(--surface); color: var(--ink); border-radius: 14px; padding: 12px 16px; box-shadow: var(--shadow); display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: .92rem; animation: floaty 4.5s ease-in-out infinite; }
.hero-j .chip svg { width: 18px; height: 18px; color: var(--accent); }
.hero-j .chip.c1 { left: 0; top: 30px; } .hero-j .chip.c2 { right: 0; top: 44%; animation-delay: 1.2s; } .hero-j .chip.c3 { left: 20px; bottom: 30px; animation-delay: 2.4s; }
@media (max-width: 900px) { .hero-j .hero-inner { grid-template-columns: 1fr; } .hero-j .wedge { display: none; } .hero-j .shield-wrap { height: 440px; } }

/* k — meet the attorney */
.hero-k { background: var(--surface); color: var(--ink); }
.hero-k h1 { color: var(--ink); text-shadow: none; font-size: clamp(2rem, 4.2vw, 3.6rem); } .hero-k .hero-sub, .hero-k .hero-proof { color: var(--muted); }
.hero-k h1 .hl { color: var(--primary); font-style: italic; }
.hero-k .btn-outline-light { background: transparent; color: var(--ink); border-color: var(--line); backdrop-filter: none; }
.hero-k .hero-inner { display: grid; grid-template-columns: minmax(0, 13fr) minmax(0, 11fr); gap: 50px; align-items: center; padding: clamp(50px, 6vw, 90px) 0; min-height: 70vh; }
.hero-k .hero-badge { border-color: var(--line); background: var(--bg); color: var(--primary); }
.hero-k .portrait { position: relative; height: 620px; }
.hero-k .portrait::before { content: ""; position: absolute; inset: 24px 24px 24px 24px; border: 1px solid var(--primary); opacity: .35; }
.hero-k .portrait img { position: absolute; left: 50%; top: 0; transform: translateX(-50%); width: 82%; height: 100%; object-fit: cover; object-position: center top; }
.hero-k .plate { position: absolute; left: 0; bottom: 50px; background: var(--surface); color: var(--ink); padding: 14px 18px; border-radius: 8px; box-shadow: var(--shadow); }
.hero-k .plate strong { display: block; font-family: var(--font-display); font-size: 1.15rem; }
.hero-k .plate span { font-size: .8rem; color: var(--muted); }
.hero-k .stats-row { display: flex; gap: 36px; margin-top: 24px; padding-top: 22px; border-top: 1px solid var(--line); }
.hero-k .stats-row strong { display: block; font-family: var(--font-display); font-size: 1.8rem; color: var(--ink); line-height: 1; }
.hero-k .stats-row span { font-size: .8rem; color: var(--muted); }
@media (max-width: 900px) { .hero-k .hero-inner { grid-template-columns: 1fr; } .hero-k .portrait { height: 480px; } }

/* l — centered bottom + stats */
.hero-l .hero-overlay { background: linear-gradient(180deg, rgba(0,0,0,.35) 0%, rgba(0,0,0,.5) 55%, rgba(0,0,0,.92) 100%); }
.hero-l .hero-inner { min-height: clamp(620px, 84vh, 880px); display: flex; flex-direction: column; justify-content: flex-end; align-items: center; text-align: center; gap: 20px; padding: 110px 0 70px; }
.hero-l .hero-sub { margin-inline: auto; } .hero-l .hero-actions, .hero-l .hero-proof { justify-content: center; } .hero-l .hero-form-inline { margin-inline: auto; }
.hero-l .stat-row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); width: min(860px, 100%); border-top: 1px solid rgba(255,255,255,.25); padding-top: 22px; margin-top: 16px; }
.hero-l .stat-row strong { display: block; font-family: var(--font-display); font-size: 2rem; color: var(--accent); line-height: 1; }
.hero-l .stat-row span { font-size: .78rem; letter-spacing: .1em; text-transform: uppercase; opacity: .75; }

/* m — split with quote */
.hero-m { color: #fff; background: var(--dark); }
.hero-m .hero-inner { display: grid; grid-template-columns: minmax(0, 11fr) minmax(0, 9fr); min-height: clamp(560px, 80vh, 820px); }
.hero-m .hero-text { padding: clamp(60px, 8vw, 100px) clamp(24px, 5vw, 70px) clamp(60px, 8vw, 100px) 0; display: flex; flex-direction: column; justify-content: center; }
.hero-m .quote { margin-top: 22px; padding: 18px 22px; border-left: 3px solid var(--accent); background: rgba(255,255,255,.05); max-width: 540px; }
.hero-m .quote p { margin: 0 0 6px; font-family: var(--font-display); font-style: italic; font-size: 1.05rem; line-height: 1.5; }
.hero-m .quote span { font-size: .78rem; letter-spacing: .08em; text-transform: uppercase; opacity: .6; }
.hero-m .hero-media { position: relative; }
.hero-m .hero-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-m .hero-media::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, var(--dark) 0%, transparent 30%); z-index: 1; }
.hero-m .media-badge { position: absolute; left: 50px; bottom: 50px; z-index: 2; background: rgba(0,0,0,.75); border: 1px solid var(--accent); padding: 16px 20px; border-radius: 10px; }
.hero-m .media-badge strong { display: block; font-family: var(--font-display); font-size: 2rem; color: var(--accent); line-height: 1; }
.hero-m .media-badge span { font-size: .78rem; letter-spacing: .1em; text-transform: uppercase; opacity: .85; }
@media (max-width: 900px) { .hero-m .hero-inner { grid-template-columns: 1fr; } .hero-m .hero-media { min-height: 340px; } .hero-m .hero-media::before { background: linear-gradient(180deg, var(--dark), transparent 30%); } .hero-m .hero-text { padding-right: 0; } }

/* n — light overlay */
.hero-n { color: var(--ink); }
.hero-n h1 { color: var(--ink); text-shadow: none; } .hero-n .hero-sub, .hero-n .hero-proof { color: var(--muted); }
.hero-n .hero-overlay { background: linear-gradient(90deg, color-mix(in srgb, var(--bg) 98%, transparent) 0%, color-mix(in srgb, var(--bg) 94%, transparent) 40%, color-mix(in srgb, var(--bg) 55%, transparent) 65%, transparent 100%); }
.hero-n .hero-inner { min-height: clamp(560px, 78vh, 820px); display: flex; flex-direction: column; justify-content: center; gap: 4px; padding: 90px 0; max-width: 700px; }
.hero-n .hero-badge { border-color: var(--line); background: var(--surface); color: var(--primary); }
.hero-n .btn-accent { border-radius: 999px; background: var(--primary); color: var(--primary-ink); }
.hero-n .btn-outline-light { background: transparent; color: var(--ink); border: 0; border-bottom: 2px solid var(--primary); border-radius: 0; backdrop-filter: none; padding-inline: 6px; }
.hero-n .hero-form-inline { background: var(--surface); border-color: var(--line); }
@media (max-width: 900px) { .hero-n .hero-overlay { background: color-mix(in srgb, var(--bg) 90%, transparent); } }

/* o/p/q — luxe family */
.hero-lux { background: var(--dark); color: #fff; }
.hero-lux .hero-overlay { background: linear-gradient(180deg, rgba(0,0,0,.72) 0%, rgba(0,0,0,.55) 45%, rgba(0,0,0,.95) 100%); }
.hero-lux .glow-r { position: absolute; inset: 0; z-index: -1; background: radial-gradient(ellipse at 72% 45%, color-mix(in srgb, var(--accent) 35%, transparent) 0%, transparent 45%); }
.hero-lux .hero-inner { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 40px; align-items: center; min-height: clamp(600px, 82vh, 860px); padding: 100px 0 40px; }
.hero-lux .welcome { font-family: 'Great Vibes', cursive; font-size: 2.6rem; color: var(--accent); line-height: 1; display: block; margin-bottom: 8px; }
.hero-lux h1.brand-big { font-family: 'Cinzel Decorative', var(--font-display); font-weight: 900; font-size: clamp(2.4rem, 5.4vw, 4.8rem); line-height: .98; letter-spacing: .02em; text-shadow: none; }
.hero-lux .mission { font-family: 'Cinzel', var(--font-display); font-weight: 700; font-size: clamp(1.2rem, 2vw, 1.8rem); line-height: 1.3; letter-spacing: .08em; margin: 12px 0 14px; }
.hero-lux .hero-sub { font-size: 1rem; }
.hero-lux .btn { border-radius: 4px; }
.hero-lux .object { position: relative; height: 560px; }
.hero-lux .object .cluster { position: absolute; left: 50%; top: 40px; transform: translateX(-50%); width: min(640px, 100%); display: flex; flex-direction: column; align-items: center; animation: floaty 6s ease-in-out infinite; }
.hero-lux .object .script { font-family: 'Great Vibes', cursive; font-size: clamp(4.5rem, 9vw, 8.5rem); line-height: .9; margin-top: -10px; white-space: nowrap; filter: drop-shadow(0 6px 0 rgba(0,0,0,.6)) drop-shadow(0 18px 30px rgba(0,0,0,.7)); }
.hero-lux .object .spaced { margin-top: 14px; padding: 8px 26px; border-top: 1px solid color-mix(in srgb, var(--accent) 60%, transparent); border-bottom: 1px solid color-mix(in srgb, var(--accent) 60%, transparent); font-family: 'Cinzel', serif; font-size: 1.2rem; font-weight: 600; letter-spacing: .5em; color: var(--accent); text-shadow: 0 0 18px color-mix(in srgb, var(--accent) 80%, transparent); white-space: nowrap; }
.hero-lux .object svg.obj { width: 220px; height: 170px; filter: drop-shadow(0 0 24px color-mix(in srgb, var(--accent) 55%, transparent)) drop-shadow(0 12px 16px rgba(0,0,0,.6)); }
.hero-lux .plate-row { text-align: center; padding: 10px 0 30px; }
.hero-lux .glowline { position: absolute; left: 0; right: 0; bottom: 118px; height: 2px; background: linear-gradient(90deg, transparent, var(--accent) 30%, #fff 50%, var(--accent) 70%, transparent); box-shadow: 0 0 24px 4px color-mix(in srgb, var(--accent) 70%, transparent); opacity: .7; }
@media (max-width: 900px) { .hero-lux .hero-inner { grid-template-columns: 1fr; padding-top: 80px; } .hero-lux .object { height: 420px; } .hero-lux .object .script { font-size: 4.2rem; } .hero-lux .glowline { display: none; } }
/* p — gavel */
.hero-p .object { display: flex; align-items: center; justify-content: center; }
.hero-p .ringg { position: absolute; width: 360px; height: 360px; border-radius: 50%; border: 2px solid color-mix(in srgb, var(--accent) 70%, transparent); animation: ringg 3.2s ease-out infinite; }
.hero-p .ringg:nth-child(2) { animation-delay: 1.6s; }
@keyframes ringg { 0% { transform: scale(.6); opacity: .8; } 100% { transform: scale(1.6); opacity: 0; } }
.hero-p svg.gavel { width: 440px; height: 420px; position: relative; filter: drop-shadow(0 20px 30px rgba(0,0,0,.8)) drop-shadow(0 0 30px color-mix(in srgb, var(--accent) 45%, transparent)); }
.hero-p .swing { transform-origin: 82% 30%; animation: swing 3.2s ease-in-out infinite; }
@keyframes swing { 0%,100% { transform: rotate(-6deg); } 50% { transform: rotate(6deg); } }
.hero-p .dust { position: absolute; width: 5px; height: 5px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 10px 2px color-mix(in srgb, var(--accent) 90%, transparent); animation: dust 5s ease-out infinite; }
@keyframes dust { 0% { transform: translateY(0) scale(1); opacity: 0; } 15% { opacity: 1; } 100% { transform: translateY(-160px) scale(.2); opacity: 0; } }
/* q — seal */
.hero-q .hero-inner { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); }
.hero-q .object { display: flex; align-items: center; justify-content: center; order: -1; }
.hero-q .seal-wrap { position: relative; width: 460px; height: 460px; display: flex; align-items: center; justify-content: center; animation: floaty 6s ease-in-out infinite; }
.hero-q .orbit { position: absolute; inset: 0; width: 100%; height: 100%; animation: orbit 24s linear infinite; }
@keyframes orbit { to { transform: rotate(360deg); } }
.hero-q svg.seal { width: 380px; height: 380px; position: relative; filter: drop-shadow(0 24px 34px rgba(0,0,0,.75)) drop-shadow(0 0 28px color-mix(in srgb, var(--accent) 50%, transparent)); }
.hero-q h1.brand-big { font-family: 'Playfair Display', var(--font-display); font-weight: 900; }
.hero-q .btn { border-radius: 999px; }
@media (max-width: 900px) { .hero-q .object { order: 0; } .hero-q .seal-wrap { width: 340px; height: 340px; } .hero-q svg.seal { width: 300px; height: 300px; } }

/* r — chrome & neon */
.hero-r { background: #05030c; color: #fff; }
.hero-r .floor { position: absolute; left: -200px; right: -200px; bottom: 60px; height: 560px; z-index: -1; background-image: linear-gradient(color-mix(in srgb, var(--accent) 12%, transparent) 1px, transparent 1px), linear-gradient(90deg, color-mix(in srgb, var(--accent) 12%, transparent) 1px, transparent 1px); background-size: 80px 80px; transform: perspective(600px) rotateX(60deg); transform-origin: 50% 100%; animation: floorm 4s linear infinite; }
@keyframes floorm { from { background-position: 0 0; } to { background-position: 0 80px; } }
.hero-r .orb { position: absolute; border-radius: 50%; filter: blur(10px); z-index: -1; }
.hero-r .orb.a { left: 50%; top: 120px; width: 560px; height: 560px; background: radial-gradient(circle, color-mix(in srgb, var(--primary) 55%, transparent), transparent 65%); animation: orbA 14s ease-in-out infinite; }
.hero-r .orb.b { left: 68%; top: 300px; width: 520px; height: 520px; background: radial-gradient(circle, color-mix(in srgb, var(--accent) 50%, transparent), transparent 65%); animation: orbB 17s ease-in-out infinite; }
.hero-r .orb.c { left: -160px; top: 380px; width: 480px; height: 480px; background: radial-gradient(circle, rgba(140,90,255,.4), transparent 65%); animation: orbC 11s ease-in-out infinite; }
@keyframes orbA { 50% { transform: translate(120px,-60px) scale(1.15); } } @keyframes orbB { 50% { transform: translate(-140px,80px) scale(1.2); } } @keyframes orbC { 50% { transform: translate(60px,90px); } }
.hero-r .hero-inner { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 40px; align-items: center; min-height: clamp(600px, 82vh, 860px); padding: 100px 0 60px; }
.hero-r .chrome { background: linear-gradient(180deg, #fff 0%, #d9e4f2 30%, #5d6b82 48%, #fff 52%, #9fb0c8 70%, #fff 100%); -webkit-background-clip: text; background-clip: text; color: transparent; filter: drop-shadow(0 4px 0 #1a2130) drop-shadow(0 14px 24px rgba(0,0,0,.8)); }
.hero-r h1 { font-family: 'Syncopate', var(--font-display); font-size: clamp(2.2rem, 5vw, 4.4rem); line-height: .98; text-transform: uppercase; text-shadow: none; }
.hero-r .neon-kicker { font-family: 'Great Vibes', cursive; font-size: 2.4rem; color: #fff; text-shadow: 0 0 8px var(--primary), 0 0 22px var(--primary), 0 0 48px var(--primary); display: block; margin-bottom: 10px; animation: flick 6s linear infinite; }
@keyframes flick { 0%,18%,22%,25%,53%,57%,100% { opacity: 1; } 20%,24%,55% { opacity: .6; } }
.hero-r .btn-accent { background: var(--primary); color: var(--primary-ink); box-shadow: 0 0 30px color-mix(in srgb, var(--primary) 60%, transparent); }
.hero-r .btn-outline-light { border-color: var(--accent); color: var(--accent); box-shadow: inset 0 0 18px color-mix(in srgb, var(--accent) 20%, transparent); }
.hero-r .object { display: flex; align-items: center; justify-content: center; height: 520px; }
.hero-r svg.shield-r { width: 480px; height: 480px; filter: drop-shadow(0 0 30px color-mix(in srgb, var(--accent) 50%, transparent)) drop-shadow(0 30px 40px rgba(0,0,0,.8)); }
@media (max-width: 900px) { .hero-r .hero-inner { grid-template-columns: 1fr; } .hero-r .object { height: 400px; } .hero-r svg.shield-r { width: 360px; height: 360px; } }
.hero-r h1 { font-size: clamp(1.8rem, 3.9vw, 3.4rem); overflow-wrap: anywhere; }
.hero-lux .object .script { white-space: normal; text-align: center; font-size: clamp(3.2rem, 6.6vw, 6.4rem); max-width: 100%; }
.hero-lux .object .cluster { left: 0; transform: none; width: 100%; }
.hero-lux .object .script { font-size: clamp(2.8rem, 5vw, 4.8rem); }
.hero-lux .object .spaced { font-size: 1rem; letter-spacing: .4em; padding: 8px 18px; }

/* photo treatment for illustration layouts (g,h,i,j,r): html[data-backdrop] = none | dim | full */
.hero-bg.backdrop { z-index: -3; }
.backdrop-overlay { z-index: -2; }
html[data-backdrop="none"] .hero-bg.backdrop, html[data-backdrop="none"] .backdrop-overlay { display: none; }
html[data-backdrop="dim"] .hero-bg.backdrop img { filter: blur(6px) saturate(.55); opacity: .22; transform: scale(1.06); }
html[data-backdrop="dim"] .hero-g .hero-grid-bg, html[data-backdrop="dim"] .hero-r .floor { opacity: .7; }
html[data-backdrop="dim"] .hero-h .hero-bg.backdrop img, html[data-backdrop="dim"] .hero-j .hero-bg.backdrop img { opacity: .18; }
html[data-backdrop="full"] .hero-bg.backdrop img { filter: none; opacity: 1; }
html[data-backdrop="full"] .backdrop-overlay { background: linear-gradient(90deg, rgba(0,0,0,.86) 0%, rgba(0,0,0,.7) 50%, rgba(0,0,0,.45) 100%); }
html[data-backdrop="full"] .hero-h, html[data-backdrop="full"] .hero-j { color: #fff; }
html[data-backdrop="full"] .hero-h h1, html[data-backdrop="full"] .hero-j h1 { color: #fff; }
html[data-backdrop="full"] .hero-h .hero-sub, html[data-backdrop="full"] .hero-j .hero-sub, html[data-backdrop="full"] .hero-h .hero-proof, html[data-backdrop="full"] .hero-j .hero-proof { color: rgba(255,255,255,.88); }
html[data-backdrop="full"] .hero-h .btn-outline-light, html[data-backdrop="full"] .hero-j .btn-outline-light { color: #fff; border-color: rgba(255,255,255,.7); background: rgba(0,0,0,.3); }
html[data-backdrop="full"] .hero-h .blob, html[data-backdrop="full"] .hero-h .ring, html[data-backdrop="full"] .hero-j .wedge, html[data-backdrop="full"] .hero-j .dots, html[data-backdrop="full"] .hero-g .hero-grid-bg { display: none; }
html[data-backdrop="full"] .hero-h .hero-badge { background: rgba(0,0,0,.35); color: #fff; border-color: rgba(255,255,255,.45); }
html[data-backdrop="full"] .hero-j .hero-badge { background: rgba(0,0,0,.35); color: #fff; border-color: rgba(255,255,255,.45); }
html[data-backdrop="full"] .hero-j .chip { background: rgba(0,0,0,.7); color: #fff; }
