/*
Theme Name:   OnlyLaws Divi Child
Theme URI:    https://onlylaws.co/
Description:  Divi child theme for OnlyLaws.co in the original black and antique-gold design, including the Leak Scorecard. Built by YAH Digital Marketing.
Author:       YAH Digital Marketing
Author URI:   https://yahdm.com/
Template:     Divi
Version:      3.8.2
Text Domain:  onlylaws
*/

/* OnlyLaws design system: Cormorant Garamond + Montserrat, ink #080806, gold #B8966E.
   Generated by build_php.py from src/site.css + src/pages.css, plus the WordPress layer at the end. */

/* ==================================================================
   OnlyLaws.co — homepage
   Layout concept: a law-firm operating manual set as an editorial
   ledger. Full-bleed hero in low office light, then hairline-ruled
   registers on a 12-column grid; one gold number (the Lift Dial)
   carries the page.
   Tokens: OnlyLaws design system (confirmed palette + Cormorant
   Garamond / Montserrat). Single-theme by choice: the brand is dark.
   ================================================================== */
:root {
  /* colour — DS confirmed values + derived surfaces */
  --ink: #080806;          /* page ground (DS footer black) */
  --ink-header: #0D0D0D;   /* header (DS) */
  --surface: #12110E;      /* raised band */
  --panel: #17150F;        /* panel */
  --warm: #1A1710;         /* warm card (DS .card.warm) */
  --gold: #B8966E;         /* the one accent (DS antique gold) */
  --gold-hi: #C8A67E;      /* gold hover */
  --bronze: #A18360;       /* italic emphasis (DS) */
  --sand: #C9C2B9;         /* secondary ink (DS active nav) */
  --paper: #F8F6F2;        /* primary ink */
  --muted: #A9A49B;        /* body on dark */
  --subtle: #8E897F;       /* captions, 5.7:1 on ink */
  --line: #26211B;         /* hairline (DS) */
  --line-warm: #372F25;    /* warm hairline (DS) */
  --field: #FBFAF8;        /* form field surface (DS) */
  --field-ink: #211B16;
  --field-line: #BBB7B1;
  --on-gold: #14110C;
  --quote: #DED1C0;        /* editorial quote ink */
  --warm-line: #2B2519;    /* hairline on warm panel */
  --label-ink: #DDD4C7;    /* form labels (DS) */
  --ghost: #15130F;        /* footer wordmark */
  --ghost-hi: #211C15;
  --tick: #795E41;         /* ticker separators (DS) */
  --placeholder: #7A736B;
  --caret: #6B635A;

  /* type */
  --display: 'Cormorant Garamond', Georgia, 'Times New Roman', serif;
  --sans: 'Montserrat', 'Helvetica Neue', Arial, sans-serif;
  --step--2: 0.6875rem;                          /* 11px labels */
  --step--1: clamp(0.78rem, 0.76rem + 0.1vw, 0.84rem);
  --step-0: clamp(0.94rem, 0.9rem + 0.18vw, 1.03rem);
  --step-1: clamp(1.15rem, 1.02rem + 0.55vw, 1.45rem);
  --step-2: clamp(1.65rem, 1.3rem + 1.4vw, 2.5rem);
  --step-3: clamp(2.6rem, 1.7rem + 3.6vw, 5.2rem);
  --step-4: clamp(3.6rem, 1.2rem + 8.6vw, 10rem);  /* hero */
  --step-5: clamp(3.4rem, 0.6rem + 12vw, 13.5rem); /* the Lift Dial */

  /* space + layout */
  --gutter: clamp(16px, 4vw, 56px);
  --col-gap: clamp(12px, 2vw, 32px);
  --band: clamp(80px, 9vw, 136px);
  --header-h: 72px;
  --radius: 0px;
  --ease: cubic-bezier(.2, .7, .1, 1);
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box }
html { scroll-padding-top: calc(var(--header-h) + 16px); -webkit-text-size-adjust: 100% }
body {
  margin: 0; background: var(--ink); color: var(--paper);
  font-family: var(--sans); font-size: var(--step-0); line-height: 1.75;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 60; background: var(--ink-header) }
::selection { background: var(--gold); color: var(--on-gold) }
a { color: inherit; text-decoration: none }
img, svg, canvas { max-width: 100%; display: block }
h1, h2, h3, h4, p, ul, ol, dl, dd, figure, blockquote { margin: 0 }
ul, ol { padding: 0; list-style: none }
h1, h2, h3, h4 { font-family: var(--display); font-weight: 400; line-height: 1.02; text-wrap: balance; letter-spacing: -0.01em }
em, .em { font-style: italic; color: var(--gold) }
button, input, select, textarea { font: inherit; color: inherit }
:focus-visible { outline: 1px solid var(--gold); outline-offset: 4px }
.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 }

/* Lenis */
html.lenis, html.lenis body { height: auto }
.lenis.lenis-smooth { scroll-behavior: auto !important }
.lenis.lenis-smooth [data-lenis-prevent] { overscroll-behavior: contain }
.lenis.lenis-stopped { overflow: hidden }

/* ---------- layout primitives ---------- */
.wrap {
  width: 100%; max-width: 1440px; margin-inline: auto;
  padding-left: max(var(--gutter), env(safe-area-inset-left, 0px));
  padding-right: max(var(--gutter), env(safe-area-inset-right, 0px));
}
.g12 { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--col-gap) }
.g12 > * { min-width: 0 }
.band { padding-block: var(--band); border-top: 1px solid var(--line); position: relative }

/* ---------- type roles ---------- */
.eyebrow {
  display: flex; align-items: center; gap: 12px;
  font: 600 var(--step--2)/1.6 var(--sans); letter-spacing: .24em; text-transform: uppercase; color: var(--bronze);
}
.eyebrow::before { content: ""; width: 40px; height: 1px; background: var(--gold); flex: none }
.label { font: 600 var(--step--2)/1.6 var(--sans); letter-spacing: .18em; text-transform: uppercase; color: var(--subtle) }
.h2, .h3 { font-family: var(--display); font-weight: 400; text-wrap: balance }
.h2 { font-size: var(--step-3); line-height: .98; letter-spacing: -0.02em; margin-top: 22px }
.h3 { font-size: var(--step-2); line-height: 1.05 }
.lede { font-size: var(--step-1); line-height: 1.6; color: var(--sand); max-width: 34em }
.body { color: var(--muted); max-width: 62ch }
.body + .body { margin-top: 1.1em }
.num { font-variant-numeric: lining-nums tabular-nums }

/* ---------- buttons (DS: square, gold, 1px tracking) ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 13px 24px; border: 1px solid transparent; border-radius: var(--radius);
  background: var(--gold); color: var(--on-gold);
  font: 600 0.75rem/1.3 var(--sans); letter-spacing: .12em; text-transform: uppercase; text-align: center;
  cursor: pointer; transition: background .2s, color .2s, border-color .2s, transform .2s var(--ease);
}
.btn:hover { background: var(--gold-hi); transform: translateY(-1px) }
.btn:disabled { opacity: .45; cursor: not-allowed; transform: none }
.btn--ghost { background: transparent; border-color: var(--line-warm); color: var(--paper) }
.btn--ghost:hover { background: transparent; border-color: var(--gold); color: var(--gold) }
.btn--outline { background: transparent; border: 1px solid var(--gold); color: var(--gold); font-weight: 500; letter-spacing: .1em }
.btn--outline:hover { background: var(--gold); color: var(--on-gold) }
.link {
  display: inline-flex; align-items: center; gap: 10px; color: var(--gold);
  font: 600 0.72rem/1.4 var(--sans); letter-spacing: .14em; text-transform: uppercase;
  background: linear-gradient(var(--gold), var(--gold)) 0 100% / 0 1px no-repeat; padding-bottom: 4px;
  transition: background-size .35s var(--ease), color .2s;
}
.link:hover { background-size: 100% 1px; color: var(--gold-hi) }
.arrow { display: inline-block; transition: transform .3s var(--ease) }
a:hover .arrow, button:hover .arrow { transform: translateX(4px) }

/* ==================================================================
   HEADER (→ includes/nav.php)
   ================================================================== */
.site-header {
  position: sticky; top: env(safe-area-inset-top, 0px); z-index: 50; height: var(--header-h);
  background: rgba(13, 13, 13, .97); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.site-header .wrap { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px }
.brand { font: 600 1.06rem/1 var(--sans); letter-spacing: -0.02em; color: var(--paper); white-space: nowrap }
.brand b { font-weight: 600; color: var(--gold) }
.brand i { font-style: normal; font-weight: 400 }
.nav { display: flex; align-items: center; gap: clamp(16px, 2vw, 30px) }
.nav a.nav-link {
  font: 600 0.7rem/1 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: rgba(248, 246, 242, .62);
  padding: 8px 0; position: relative; transition: color .2s;
}
.nav a.nav-link::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--gold); transform: scaleX(0); transform-origin: left; transition: transform .35s var(--ease) }
.nav a.nav-link:hover { color: var(--paper) }
.nav a.nav-link:hover::after { transform: scaleX(1) }
.header-cta { min-height: 40px; padding: 10px 18px; font-size: 0.7rem }
.menu-btn { display: none; align-items: center; gap: 10px; min-height: 44px; padding: 8px 0 8px 12px; background: none; border: 0; color: var(--paper); font: 600 0.7rem/1 var(--sans); letter-spacing: .16em; text-transform: uppercase; cursor: pointer }
.menu-btn .bars { width: 22px; height: 9px; position: relative }
.menu-btn .bars::before, .menu-btn .bars::after { content: ""; position: absolute; left: 0; right: 0; height: 1px; background: currentColor; transition: transform .3s var(--ease) }
.menu-btn .bars::before { top: 0 } .menu-btn .bars::after { bottom: 0 }
.menu-btn[aria-expanded="true"] .bars::before { transform: translateY(4px) rotate(45deg) }
.menu-btn[aria-expanded="true"] .bars::after { transform: translateY(-4px) rotate(-45deg) }
.mobile-nav { position: fixed; top: calc(var(--header-h) + env(safe-area-inset-top, 0px)); left: 0; right: 0; bottom: 0; z-index: 49; background: var(--ink-header); border-top: 1px solid var(--line); overflow-y: auto; padding-block: 24px 40px }
.mobile-nav ul { display: grid }
.mobile-nav li a { display: flex; justify-content: space-between; align-items: baseline; padding: 18px 0; border-bottom: 1px solid var(--line); font: 400 2rem/1.1 var(--display); color: var(--paper) }
.mobile-nav li a span { font: 600 var(--step--2)/1 var(--sans); letter-spacing: .18em; color: var(--subtle) }
.mobile-nav .btn { margin-top: 28px; width: 100% }
.mobile-nav .mn-meta { margin-top: 24px; color: var(--subtle); font-size: var(--step--1) }

/* ==================================================================
   HERO — laocoon-hero composition over the Gnomon gradient
   ================================================================== */
.hero {
  position: relative; isolation: isolate; overflow: hidden;
  min-height: clamp(660px, calc(94svh - var(--header-h)), 1000px);
  display: flex; flex-direction: column; justify-content: space-between; gap: 48px;
  background: radial-gradient(ellipse 70% 60% at 82% 18%, rgba(184, 150, 110, .22), transparent 60%), var(--ink);
}
.hero-canvas { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -3; opacity: 0; transition: opacity 1.6s ease }
.hero-canvas.on { opacity: 1 }
.hero-scrim { position: absolute; inset: 0; z-index: -2; pointer-events: none;
  background:
    linear-gradient(0deg, rgba(8, 8, 6, .94) 0%, rgba(8, 8, 6, .62) 34%, rgba(8, 8, 6, 0) 66%),
    linear-gradient(90deg, rgba(8, 8, 6, .55) 0%, rgba(8, 8, 6, 0) 55%);
}
.hero-guides { position: absolute; inset: 0; z-index: -1; pointer-events: none }
.hero-guides .wrap { height: 100% }
.hero-guides .g12 { height: 100% }
.hero-guides span { grid-column: span 2; border-left: 1px solid rgba(201, 194, 185, .07); position: relative }
.hero-guides span::before { content: ""; position: absolute; top: 28px; left: -2px; width: 3px; height: 3px; background: var(--gold); opacity: .55 }
.hero-guides span:first-child { border-left-color: transparent }
.hero-guides span:first-child::before { display: none }
.hero-top { padding-top: clamp(24px, 3vw, 44px) }
.hero-top .eyebrow { grid-column: 1 / span 7; align-self: start }
.hero-ledger { grid-column: 9 / -1; padding: 4px 18px; background: rgba(10, 9, 7, .62); border: 1px solid var(--line-warm); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px) }
.hero-ledger div { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding: 11px 0; border-bottom: 1px solid var(--line) }
.hero-ledger div:last-child { border-bottom: 0 }
.hero-ledger dt { font: 600 var(--step--2)/1.4 var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--muted) }
.hero-ledger dd { font: 400 1.35rem/1 var(--display); color: var(--paper); white-space: nowrap }
.hero-main { padding-bottom: clamp(32px, 4.5vw, 64px) }
.hero h1 { grid-column: 1 / -1; font-size: var(--step-4); line-height: .88; letter-spacing: -0.03em; margin-bottom: clamp(28px, 3.4vw, 52px) }
.hero h1 .ln { display: block; padding-bottom: .1em; margin-bottom: -.1em }
.hero h1 .ln:last-child { color: var(--gold); font-style: italic; padding-left: .08em }
.hero-foot { grid-column: 1 / -1; border-top: 1px solid var(--line-warm); padding-top: 24px; row-gap: 24px }
.hero-foot .intro { grid-column: 1 / span 4; color: var(--sand); font-size: var(--step-0) }
.hero-foot blockquote { grid-column: 5 / span 4; font: italic 400 clamp(1.3rem, 1rem + 0.8vw, 1.7rem)/1.28 var(--display); color: var(--quote); border-left: 1px solid var(--line-warm); padding-left: 20px }
.hero-actions { grid-column: 9 / -1; display: flex; flex-direction: column; align-items: stretch; gap: 10px }
.hero-actions .appt { margin-top: 6px; color: var(--subtle); font-size: var(--step--1); text-align: center }

/* ticker — DS gold strip */
.ticker { background: var(--gold); color: var(--on-gold); overflow: hidden; border-block: 1px solid var(--gold) }
.ticker-track { display: flex; width: max-content; animation: tick 70s linear infinite }
.ticker ul { display: flex; flex: none }
.ticker li { display: flex; align-items: center; gap: 28px; padding: 15px 0 15px 28px; font: 700 0.68rem/1 var(--sans); letter-spacing: .2em; text-transform: uppercase; white-space: nowrap }
.ticker li::after { content: ""; width: 4px; height: 4px; background: var(--tick); transform: rotate(45deg) }
.ticker:hover .ticker-track { animation-play-state: paused }
@keyframes tick { to { transform: translateX(-50%) } }

/* ==================================================================
   LIFT DIAL — signature
   ================================================================== */
.lift { border-top: 0 }
.lift-head { row-gap: 40px; align-items: end }
.lift-head .copy { grid-column: 1 / span 6 }
.lift-head .copy .body { margin-top: 26px }
.leaks { grid-column: 8 / -1 }
.leaks li { display: grid; grid-template-columns: 7.5rem 1fr; gap: 18px; align-items: baseline; padding: 16px 0; border-top: 1px solid var(--line) }
.leaks li:last-child { border-bottom: 1px solid var(--line) }
.leaks strong { font: 400 1.9rem/1 var(--display); color: var(--paper); white-space: nowrap }
.leaks span { color: var(--muted); font-size: var(--step--1); line-height: 1.6 }
.dial { margin-top: clamp(56px, 7vw, 104px); border-top: 1px solid var(--line-warm); padding-top: 28px }
.dial-q { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 8px 24px; color: var(--sand) }
.dial-q label { font: 600 var(--step--2)/1.5 var(--sans); letter-spacing: .18em; text-transform: uppercase; color: var(--subtle) }
.dial-q .rev { font: 400 var(--step-2)/1 var(--display); color: var(--paper) }
.dial-out { display: block; margin-top: 10px; font: 400 var(--step-5)/.86 var(--display); letter-spacing: -0.035em; color: var(--gold); white-space: nowrap; font-variant-numeric: lining-nums tabular-nums }
.dial-out .dash { color: var(--subtle); font-style: italic; padding-inline: .06em }
.range { position: relative; margin-top: clamp(24px, 3vw, 40px) }
.range input { -webkit-appearance: none; appearance: none; width: 100%; height: 44px; margin: 0; background: transparent; cursor: pointer }
.range input::-webkit-slider-runnable-track { height: 1px; background: linear-gradient(90deg, var(--gold) var(--p, 18%), var(--line-warm) var(--p, 18%)) }
.range input::-moz-range-track { height: 1px; background: var(--line-warm) }
.range input::-moz-range-progress { height: 1px; background: var(--gold) }
.range input::-webkit-slider-thumb { -webkit-appearance: none; width: 18px; height: 18px; margin-top: -9px; border-radius: 0; background: var(--gold); border: 4px solid var(--ink); outline: 1px solid var(--gold); transform: rotate(45deg) }
.range input::-moz-range-thumb { width: 12px; height: 12px; border-radius: 0; background: var(--gold); border: 3px solid var(--ink); outline: 1px solid var(--gold); transform: rotate(45deg) }
.range input:focus-visible { outline: none }
.range input:focus-visible::-webkit-slider-thumb { outline: 2px solid var(--paper) }
.range-ticks { display: flex; justify-content: space-between; margin-top: 4px; font: 600 var(--step--2)/1 var(--sans); letter-spacing: .12em; color: var(--subtle) }
.dial-note { margin-top: 26px; display: flex; flex-wrap: wrap; gap: 16px 40px; justify-content: space-between; align-items: center }
.dial-note p { color: var(--subtle); font-size: var(--step--1); max-width: 70ch }

/* ==================================================================
   WHY — statement left, ruled list right
   ================================================================== */
.why .g12 { row-gap: 48px }
.why .copy { grid-column: 1 / span 5 }
.why .copy .lede { margin-top: 28px }
.slices { grid-column: 7 / -1 }
.slice { display: grid; grid-template-columns: minmax(0, 10rem) minmax(0, 1fr) auto; gap: 8px 24px; align-items: baseline; padding: 24px 0; border-top: 1px solid var(--line) }
.slice h3 { font-size: 1.6rem; line-height: 1.1 }
.slice p { color: var(--muted); font-size: var(--step--1); line-height: 1.7 }
.owns { font: 600 var(--step--2)/1 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--subtle); border: 1px solid var(--line-warm); padding: 7px 9px; white-space: nowrap }
.slice--us { border-top: 1px solid var(--gold); border-bottom: 1px solid var(--line) }
.slice--us h3 { color: var(--gold); font-style: italic }
.slice--us p { color: var(--sand) }
.slice--us .owns { color: var(--on-gold); background: var(--gold); border-color: var(--gold) }

/* ==================================================================
   SERVICES — masthead over figure-indexed rail
   ================================================================== */
.svc-head { row-gap: 32px; align-items: end; margin-bottom: clamp(48px, 6vw, 88px) }
.svc-head .copy { grid-column: 1 / span 7 }
.svc-head .copy .lede { margin-top: 26px }
.model { grid-column: 9 / -1; border-top: 1px solid var(--line-warm) }
.model div { padding: 13px 0; border-bottom: 1px solid var(--line) }
.model dt { font: 600 var(--step--2)/1.5 var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--bronze) }
.model dd { color: var(--muted); font-size: var(--step--1); margin-top: 3px }
.rail { border-bottom: 1px solid var(--line) }
.svc { position: relative; padding-block: clamp(32px, 3.6vw, 52px); border-top: 1px solid var(--line); row-gap: 20px }
.svc::before { content: ""; position: absolute; left: 0; top: -1px; height: 1px; width: 100%; background: var(--gold); transform: scaleX(0); transform-origin: left; transition: transform .7s var(--ease) }
.svc:hover::before, .svc:focus-within::before { transform: scaleX(1) }
.svc-fig { grid-column: 1 / span 3 }
.svc-fig strong { display: block; font: 400 clamp(2.6rem, 1.6rem + 3vw, 4.6rem)/.9 var(--display); letter-spacing: -0.03em; color: var(--paper); white-space: nowrap }
.svc-fig span { display: block; margin-top: 12px; max-width: 16em; color: var(--subtle); font-size: var(--step--1); line-height: 1.55 }
.svc-main { grid-column: 4 / span 4 }
.svc-main .label { color: var(--bronze) }
.svc-main h3 { font-size: var(--step-2); margin-top: 8px }
.svc-main p { margin-top: 14px; color: var(--muted) }
.svc-list { grid-column: 8 / span 4; padding-top: 6px }
.svc-list li { position: relative; padding: 9px 0 9px 22px; border-bottom: 1px solid var(--line); color: var(--sand); font-size: var(--step--1); line-height: 1.6 }
.svc-list li:last-child { border-bottom: 0 }
.svc-list li::before { content: ""; position: absolute; left: 0; top: 1.15em; width: 10px; height: 1px; background: var(--gold) }
.svc-go { grid-column: 12; justify-self: end; align-self: start; padding-top: 10px }
.svc-go a { display: grid; place-items: center; width: 48px; height: 48px; border: 1px solid var(--line-warm); color: var(--gold); transition: border-color .2s, background .2s, color .2s }
.svc-go a:hover { background: var(--gold); border-color: var(--gold); color: var(--on-gold) }

/* ==================================================================
   AUDIT — ruled index lattice
   ================================================================== */
.audit { background: var(--surface) }
.audit-head { row-gap: 28px; align-items: end; margin-bottom: clamp(48px, 6vw, 80px) }
.audit-head .copy { grid-column: 1 / span 7 }
.audit-head .side { grid-column: 9 / -1 }
.audit-head .side .body { color: var(--sand) }
.lattice { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); column-gap: var(--col-gap) }
.cell { display: grid; grid-template-columns: 2.6rem 1fr; align-content: start; gap: 4px 12px; padding: 26px 0 32px; border-top: 1px solid var(--line-warm) }
.cell .ix { font: 600 var(--step--2)/1.9 var(--sans); letter-spacing: .1em; color: var(--gold); font-variant-numeric: tabular-nums }
.cell h3 { font-size: 1.55rem; line-height: 1.12 }
.cell p { grid-column: 2; color: var(--muted); font-size: var(--step--1); line-height: 1.65; margin-top: 6px }
.receive { margin-top: clamp(48px, 6vw, 80px); padding-top: 32px; border-top: 1px solid var(--gold); row-gap: 28px }
.receive .label { grid-column: 1 / span 3; color: var(--bronze) }
.receive ul { grid-column: 4 / -1; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: var(--col-gap) }
.receive li { padding: 13px 0 13px 26px; border-bottom: 1px solid var(--line); color: var(--sand); position: relative; font-size: var(--step--1); line-height: 1.6 }
.receive li::before { content: "✓"; position: absolute; left: 0; top: 12px; color: var(--gold) }
.audit-cta { grid-column: 4 / -1; display: flex; flex-wrap: wrap; align-items: center; gap: 16px 32px; margin-top: 16px }
.audit-cta p { color: var(--subtle); font-size: var(--step--1) }

/* ==================================================================
   PATH — 5-step engagement, pinned horizontal rail on desktop
   ================================================================== */
.path { overflow: hidden }
.path-head { row-gap: 24px; align-items: end }
.path-head .copy { grid-column: 1 / span 7 }
.path-head p { grid-column: 9 / -1; color: var(--muted) }
.path-viewport { margin-top: clamp(48px, 6vw, 80px) }
.path-track { display: grid; gap: 0; position: relative }
.path-line { display: none }
.step { position: relative; padding: 28px 0 32px 32px; border-left: 1px solid var(--line-warm) }
.step::before { content: ""; position: absolute; left: -5px; top: 34px; width: 9px; height: 9px; background: var(--ink); border: 1px solid var(--gold); transform: rotate(45deg) }
.step .ix { font: 400 4.2rem/.8 var(--display); color: transparent; -webkit-text-stroke: 1px rgba(184, 150, 110, .5); letter-spacing: -0.02em }
.step .when { display: inline-block; margin-top: 18px; font: 600 var(--step--2)/1 var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--gold); border: 1px solid var(--line-warm); padding: 7px 9px }
.step h3 { font-size: 2rem; margin-top: 16px }
.step p { margin-top: 12px; color: var(--muted); max-width: 34ch }
.step--end { border-left-color: transparent }
.step--end::before { display: none }
.step--end .h3 { font-size: clamp(2rem, 1.4rem + 1.6vw, 3rem) }
.step--end .btn { margin-top: 24px }
/* rail mode (added by JS when pinning is active) */
.path.path--rail { padding-block: clamp(40px, 6vh, 80px) }
.path--rail .path-viewport { margin-top: clamp(28px, 4vh, 48px) }
.path--rail .path-track { display: flex; width: max-content; padding-right: 12vw }
.path--rail .path-line { display: block; position: absolute; left: 0; right: 0; top: 38px; height: 1px; background: var(--line-warm) }
.path--rail .path-line i { position: absolute; inset: 0; background: var(--gold); transform-origin: left; transform: scaleX(0) }
.path--rail .step { width: clamp(300px, 30vw, 440px); flex: none; border-left: 0; padding: 72px 48px 0 0 }
.path--rail .step::before { left: 0; top: 34px }
.path--rail .step .ix { margin-top: 0 }

/* ==================================================================
   SERVE — sticky heading beside ruled practice rows
   ================================================================== */
.serve .g12 { row-gap: 40px; align-items: start }
.serve .copy { grid-column: 1 / span 4; position: sticky; top: calc(var(--header-h) + 48px) }
.serve .copy .body { margin-top: 24px }
.areas { grid-column: 6 / -1 }
.area { padding: 32px 0 36px; border-top: 1px solid var(--line) }
.area:last-child { border-bottom: 1px solid var(--line) }
.area-top { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 6px 20px }
.area h3 { font-size: clamp(2rem, 1.5rem + 1.6vw, 3rem) }
.area .tag { font: 600 var(--step--2)/1.5 var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--sand) }
.area dl { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px var(--col-gap); margin-top: 20px }
.area dt { font: 600 var(--step--2)/1.5 var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--bronze) }
.area dd { margin-top: 6px; color: var(--muted); font-size: var(--step--1); line-height: 1.7 }

/* ==================================================================
   AI TRANSFORMER — inset panel with agent console
   ================================================================== */
.ai-panel { background: var(--warm); border: 1px solid var(--warm-line); padding: clamp(28px, 4.5vw, 72px); row-gap: 48px }
.ai-panel .copy { grid-column: 1 / span 6 }
.ai-panel .copy .body { margin-top: 24px; color: var(--sand) }
.tasks { margin-top: 28px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 24px }
.tasks li { padding: 10px 0; border-top: 1px solid var(--warm-line); color: var(--muted); font-size: var(--step--1) }
.console { grid-column: 8 / -1; border-top: 1px solid var(--line-warm); align-self: start }
.agent { padding: 22px 0 24px; border-bottom: 1px solid var(--warm-line) }
.agent .label { color: var(--gold) }
.verbs { display: flex; flex-wrap: wrap; gap: 4px 14px; margin-top: 8px; font: italic 400 clamp(1.5rem, 1.1rem + 1vw, 2.1rem)/1.1 var(--display); color: rgba(248, 246, 242, .5) }
.verbs span { animation: verb 6.4s var(--ease) infinite; animation-delay: calc(var(--i) * .55s + var(--row) * .9s) }
@keyframes verb { 0%, 22% { color: rgba(248, 246, 242, .5) } 8%, 14% { color: var(--paper) } }
.ai-foot { grid-column: 1 / -1; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 32px; border-top: 1px solid var(--line-warm); padding-top: 22px }
.ai-foot p { color: var(--subtle); font-size: var(--step--1) }
.ai-foot strong { color: var(--sand); font-weight: 500 }

/* ==================================================================
   QUALIFY — ledger of who we take on
   ================================================================== */
.qualify .g12 { row-gap: 48px; align-items: start }
.qualify .copy { grid-column: 1 / span 5 }
.qualify .copy .lede { margin-top: 26px }
.qualify blockquote cite { display: block; margin-top: 12px; font: 600 var(--step--2)/1.5 var(--sans); font-style: normal; letter-spacing: .16em; text-transform: uppercase; color: var(--subtle) }
.qualify blockquote { margin-top: 40px; font: italic 400 clamp(1.5rem, 1.1rem + 1vw, 2rem)/1.25 var(--display); color: var(--quote); border-left: 1px solid var(--line-warm); padding-left: 22px; max-width: 22em }
.criteria { grid-column: 7 / -1; display: grid; gap: 44px }
.criteria h3 { font: 600 var(--step--2)/1.5 var(--sans); letter-spacing: .18em; text-transform: uppercase; color: var(--gold); padding-bottom: 14px; border-bottom: 1px solid var(--line-warm) }
.criteria ul li { display: grid; grid-template-columns: 28px 1fr; padding: 14px 0; border-bottom: 1px solid var(--line); color: var(--sand) }
.criteria ul li b { color: var(--gold); font-weight: 500 }
.criteria .no h3 { color: var(--subtle) }
.criteria .no li { color: var(--muted) }
.criteria .no li b { color: var(--subtle) }
.criteria .btn { justify-self: start }

/* ==================================================================
   ABOUT BRAD
   ================================================================== */
.about .g12 { row-gap: 48px; align-items: start }
.portrait { grid-column: 1 / span 5 }
.plate { position: relative; aspect-ratio: 4 / 5; max-width: 100%; background: radial-gradient(ellipse 80% 70% at 70% 20%, rgba(184, 150, 110, .16), transparent 65%), var(--panel); border: 1px solid var(--line-warm); overflow: hidden; display: grid; place-items: end start; padding: 28px }
.plate .mono { position: absolute; right: .12em; top: .18em; font: italic 400 clamp(10rem, 6rem + 14vw, 22rem)/.8 var(--display); color: rgba(184, 150, 110, .12); letter-spacing: -0.06em }
.plate figcaption { position: relative; display: grid; gap: 4px }
.plate figcaption strong { font: 400 2rem/1 var(--display); color: var(--paper) }
.plate figcaption span { color: var(--subtle); font-size: var(--step--1) }
.about .copy { grid-column: 7 / -1 }
.about .copy .body { margin-top: 0 }
.about .copy .bio { margin-top: 28px; display: grid; gap: 1.1em }
.about blockquote { margin-top: 36px; padding-top: 24px; border-top: 1px solid var(--line-warm); font: italic 400 clamp(1.5rem, 1.1rem + 1vw, 2rem)/1.25 var(--display); color: var(--quote) }
.about blockquote cite { display: block; margin-top: 12px; font: 600 var(--step--2)/1.5 var(--sans); font-style: normal; letter-spacing: .16em; text-transform: uppercase; color: var(--subtle) }
.arc { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); column-gap: var(--col-gap); margin-top: clamp(16px, 3vw, 40px) }
.arc li { padding-top: 20px; border-top: 1px solid var(--line-warm); position: relative }
.arc li::before { content: ""; position: absolute; top: -4px; left: 0; width: 7px; height: 7px; background: var(--gold); transform: rotate(45deg) }
.arc .label { color: var(--bronze) }
.arc h3 { font-size: 1.4rem; line-height: 1.15; margin-top: 8px }
.arc p { margin-top: 8px; color: var(--muted); font-size: var(--step--1); line-height: 1.65 }

/* ==================================================================
   INSIGHTS (blog) — dropped-column two-up
   ================================================================== */
.ins-head { row-gap: 24px; align-items: end; margin-bottom: clamp(40px, 5vw, 72px) }
.ins-head .copy { grid-column: 1 / span 8 }
.ins-head .count { grid-column: 10 / -1; justify-self: end; text-align: right }
.ins-head .count .label { display: block; margin-top: 6px }
.ins-head .count strong { display: block; font: 400 4rem/.9 var(--display); color: var(--paper) }
.posts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: clamp(24px, 5vw, 96px); row-gap: clamp(48px, 5vw, 72px); padding-bottom: 120px }
.post:nth-child(even) { margin-top: 120px; margin-bottom: -120px }
.post a { display: block; padding-top: 22px; border-top: 1px solid var(--line-warm) }
.post .meta { display: flex; flex-wrap: wrap; gap: 6px 18px; font: 600 var(--step--2)/1.5 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--subtle) }
.post .meta .cat { color: var(--gold) }
.post h3 { font-size: clamp(1.8rem, 1.3rem + 1.4vw, 2.7rem); line-height: 1.04; margin-top: 18px; transition: color .25s }
.post p { margin-top: 16px; color: var(--muted); max-width: 52ch }
.post .link { margin-top: 22px }
.post a:hover h3 { color: var(--gold-hi) }
.post a:hover .link { background-size: 100% 1px }
.ins-all { margin-top: 24px; display: flex; justify-content: flex-end }

/* ==================================================================
   FAQ — 4|8 split, ruled accordion
   ================================================================== */
.faq .g12 { row-gap: 40px; align-items: start }
.faq .copy { grid-column: 1 / span 4; position: sticky; top: calc(var(--header-h) + 48px) }
.faq .copy .body { margin-top: 24px }
.faq .copy .link { margin-top: 22px }
.qa-list { grid-column: 6 / -1; border-bottom: 1px solid var(--line) }
.qa { border-top: 1px solid var(--line) }
.qa summary { list-style: none; display: grid; grid-template-columns: 1fr 28px; gap: 20px; align-items: center; padding: 22px 0; cursor: pointer; font: 400 clamp(1.35rem, 1.15rem + .6vw, 1.75rem)/1.2 var(--display); color: var(--paper); transition: color .2s }
.qa summary::-webkit-details-marker { display: none }
.qa summary:hover { color: var(--gold-hi) }
.qa summary i { position: relative; width: 28px; height: 28px; border: 1px solid var(--line-warm) }
.qa summary i::before, .qa summary i::after { content: ""; position: absolute; left: 50%; top: 50%; width: 10px; height: 1px; background: var(--gold); transform: translate(-50%, -50%); transition: transform .3s var(--ease) }
.qa summary i::after { transform: translate(-50%, -50%) rotate(90deg) }
.qa[open] summary i::after { transform: translate(-50%, -50%) rotate(0) }
.qa .ans { padding: 0 48px 26px 0; color: var(--muted); max-width: 70ch }
.qa .ans p + p { margin-top: .9em }

/* ==================================================================
   APPLY — invitation + pre-qualification form
   ================================================================== */
.apply { background: radial-gradient(ellipse 60% 70% at 85% 30%, rgba(113, 80, 48, .16), transparent 62%), var(--ink) }
.apply .g12 { row-gap: 48px; align-items: start }
.apply .copy { grid-column: 1 / span 6 }
.apply .copy .h2 { font-size: clamp(2.8rem, 1.6rem + 4.6vw, 6.4rem) }
.apply .copy .lede { margin-top: 28px }
.direct { margin-top: 40px; border-top: 1px solid var(--line-warm) }
.direct div { display: grid; grid-template-columns: 9rem 1fr; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--line); align-items: baseline }
.direct dt { font: 600 var(--step--2)/1.5 var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--subtle) }
.direct dd { color: var(--paper); font: 400 1.4rem/1.2 var(--display) }
.direct dd a:hover { color: var(--gold) }
.next { margin-top: 36px }
.next ol { margin-top: 14px; counter-reset: s; display: grid; gap: 10px }
.next li { counter-increment: s; display: grid; grid-template-columns: 2rem 1fr; color: var(--muted); font-size: var(--step--1) }
.next li::before { content: counter(s, decimal-leading-zero); color: var(--gold); font-weight: 600; font-variant-numeric: tabular-nums }
.form { grid-column: 8 / -1; background: var(--ink-header); border: 1px solid var(--line); padding: clamp(24px, 3vw, 40px) }
.form h3 { font-size: 2rem }
.form .note { margin-top: 6px; color: var(--subtle); font-size: var(--step--1) }
.fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin-top: 26px }
.fields .full { grid-column: 1 / -1 }
.fields label { display: block; margin-bottom: 6px; color: var(--label-ink); font-size: var(--step--1); font-weight: 500 }
.fields label b { color: var(--gold); font-weight: 500 }
.field { width: 100%; min-height: 46px; padding: 11px 13px; background: var(--field); border: 1px solid var(--field-line); border-radius: 0; color: var(--field-ink); font: 400 0.9rem/1.5 var(--sans); outline: 0; color-scheme: light }
.field::placeholder { color: var(--placeholder) }
.field:focus { border-color: var(--gold); box-shadow: 0 0 0 2px rgba(184, 150, 110, .35) }
select.field { appearance: none; -webkit-appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--caret) 50%), linear-gradient(135deg, var(--caret) 50%, transparent 50%); background-position: calc(100% - 18px) 50%, calc(100% - 13px) 50%; background-size: 5px 5px; background-repeat: no-repeat; padding-right: 34px }
textarea.field { min-height: 120px; resize: vertical }
.form .btn { width: 100%; margin-top: 20px }
.form-status { margin-top: 14px; color: var(--subtle); font-size: var(--step--1); min-height: 1.5em }
.form-status.ok { color: var(--gold) }

/* ==================================================================
   FOOTER (→ includes/footer.php)
   ================================================================== */
.site-footer { border-top: 1px solid var(--line); padding-top: clamp(64px, 7vw, 112px); overflow: hidden; background: var(--ink) }
.foot-cols { row-gap: 40px }
.foot-brand { grid-column: 1 / span 4 }
.foot-brand p { margin-top: 16px; font: italic 400 1.5rem/1.25 var(--display); color: var(--sand); max-width: 16em }
.foot-col { grid-column: span 2 }
.foot-col:last-child { grid-column: span 4 }
.foot-col h4 { font: 600 var(--step--2)/1.5 var(--sans); letter-spacing: .18em; text-transform: uppercase; color: var(--bronze) }
.foot-col ul { margin-top: 14px; display: grid; gap: 8px }
.foot-col a, .foot-col li { color: var(--muted); font-size: var(--step--1) }
.foot-col a:hover { color: var(--paper) }
.wordmark { margin-top: clamp(56px, 7vw, 104px); font: 600 clamp(4rem, 1rem + 15.5vw, 16.5rem)/.78 var(--sans); letter-spacing: -0.06em; color: var(--ghost); white-space: nowrap; user-select: none; text-align: center; padding-bottom: .1em }
.wordmark b { font-weight: 600; color: var(--ghost-hi) }
.foot-bar { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 24px; padding-block: 22px; border-top: 1px solid var(--line); color: var(--subtle); font-size: var(--step--2); letter-spacing: .08em }

/* ==================================================================
   RESPONSIVE
   ================================================================== */
@media (max-width: 1180px) {
  .nav .nav-link { display: none }
  .menu-btn { display: inline-flex }
  .hero-foot .intro { grid-column: 1 / span 6 }
  .hero-foot blockquote { grid-column: 7 / -1 }
  .hero-actions { grid-column: 1 / -1; flex-direction: row; flex-wrap: wrap; align-items: center }
  .hero-actions .appt { margin: 0 0 0 8px; text-align: left }
  .svc-fig { grid-column: 1 / span 4 }
  .svc-main { grid-column: 5 / span 8 }
  .svc-list { grid-column: 5 / span 7 }
  .svc-go { grid-column: 12; grid-row: 2 }
}
@media (max-width: 960px) {
  .hero-top .eyebrow, .hero-ledger { grid-column: 1 / -1 }
  .hero-ledger { margin-top: 24px; max-width: 420px }
  .hero-foot .intro, .hero-foot blockquote { grid-column: 1 / -1 }
  .lift-head .copy, .leaks, .why .copy, .slices, .svc-head .copy, .model, .audit-head .copy, .audit-head .side,
  .path-head .copy, .path-head p, .serve .copy, .areas, .ai-panel .copy, .console, .qualify .copy, .criteria,
  .portrait, .about .copy, .ins-head .copy, .ins-head .count, .faq .copy, .qa-list, .apply .copy, .form,
  .receive .label, .receive ul, .audit-cta { grid-column: 1 / -1 }
  .serve .copy, .faq .copy { position: static }
  .ins-head .count { justify-self: start; text-align: left }
  .portrait { max-width: 520px }
  .lattice { grid-template-columns: repeat(2, minmax(0, 1fr)) }
  .arc { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 32px }
  .foot-brand { grid-column: 1 / -1 }
  .foot-col, .foot-col:last-child { grid-column: span 6 }
}
@media (max-width: 720px) {
  .slice { grid-template-columns: 1fr auto }
  .slice p { grid-column: 1 / -1; grid-row: 2 }
  .svc-fig, .svc-main, .svc-list { grid-column: 1 / -1 }
  .svc-go { grid-column: 1 / -1; grid-row: auto; justify-self: start }
  .lattice, .receive ul, .tasks, .area dl, .posts, .fields { grid-template-columns: minmax(0, 1fr) }
  .post:nth-child(even) { margin: 0 }
  .hero-guides { display: none }
  .posts { padding-bottom: 0 }
  .arc { grid-template-columns: minmax(0, 1fr) }
  .leaks li { grid-template-columns: 6.2rem 1fr }
  .direct div { grid-template-columns: 1fr; gap: 4px }
  .qa .ans { padding-right: 0 }
  .hero-actions { flex-direction: column; align-items: stretch }
  .hero-actions .appt { margin: 0; text-align: left }
  .dial-out { white-space: normal }
}
@media (max-width: 420px) {
  .header-cta { display: none }
  .foot-col, .foot-col:last-child { grid-column: 1 / -1 }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important }
  .ticker-track { animation: none }
  .verbs span { animation: none; color: var(--sand) }
}

/* ==================================================================
   MULTI-PAGE ADDITIONS — Services, About, Reviews + home reviews block
   ================================================================== */

/* active page in the header */
.nav a.nav-link[aria-current="page"] { color: var(--paper) }
.nav a.nav-link[aria-current="page"]::after { transform: scaleX(1) }
.mobile-nav li a[aria-current="page"] { color: var(--gold) }

/* breadcrumb in sub-page heroes */
.crumbs { display: flex; flex-wrap: wrap; gap: 10px; font: 600 var(--step--2)/1.6 var(--sans); letter-spacing: .18em; text-transform: uppercase; color: var(--subtle) }
.crumbs a:hover { color: var(--paper) }
.crumbs span[aria-hidden] { color: var(--line-warm) }
.hero-top .crumbs-wrap { grid-column: 1 / span 7; display: grid; gap: 18px; align-content: start }

/* sub-page hero: same ground, shorter frame */
.hero--page { min-height: clamp(560px, calc(80svh - var(--header-h)), 860px) }
.hero--page h1 { font-size: clamp(3.2rem, 1rem + 7.4vw, 8.8rem) }

/* section heads shared by the sub-pages */
.sec-head { row-gap: 28px; align-items: end; margin-bottom: clamp(44px, 5.5vw, 80px) }
.sec-head .copy { grid-column: 1 / span 7 }
.sec-head .side { grid-column: 9 / -1; color: var(--muted) }
.sec-head .side .body + .link { margin-top: 18px }

/* ---------- Services: sticky pillar sub-navigation ---------- */
.subnav { position: sticky; top: calc(var(--header-h) + env(safe-area-inset-top, 0px)); z-index: 40; background: rgba(13, 13, 13, .92); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-bottom: 1px solid var(--line) }
.subnav-scroll { overflow-x: auto; scrollbar-width: none }
.subnav-scroll::-webkit-scrollbar { display: none }
.subnav ul { display: flex; gap: clamp(20px, 3vw, 44px); width: max-content; min-width: 100% }
.subnav a { display: block; padding: 16px 0 15px; font: 600 0.68rem/1 var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--subtle); border-bottom: 1px solid transparent; white-space: nowrap; transition: color .2s, border-color .2s }
.subnav a:hover { color: var(--paper) }
.subnav a[aria-current] { color: var(--gold); border-bottom-color: var(--gold) }

/* comparison table */
.table-wrap { overflow-x: auto; border-top: 1px solid var(--line-warm) }
.compare { width: 100%; min-width: 760px; border-collapse: collapse; font-size: var(--step--1) }
.compare th, .compare td { padding: 16px 18px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; line-height: 1.55 }
.compare thead th { font: 600 var(--step--2)/1.4 var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--subtle); padding-top: 20px }
.compare tbody th { font: 400 1.25rem/1.25 var(--display); color: var(--paper); width: 24% }
.compare td { color: var(--muted) }
.compare .us { background: var(--warm); color: var(--sand) }
.compare thead .us { color: var(--gold); border-top: 1px solid var(--gold) }
.compare .yes { color: var(--gold); font-weight: 600 }
.compare .no { color: var(--subtle) }

/* pillar detail sections */
.pillar .g12 { row-gap: 40px; align-items: start }
.pillar-aside { grid-column: 1 / span 4; position: sticky; top: calc(var(--header-h) + 88px) }
.pillar-aside .fig { display: block; margin-top: 26px; font: 400 clamp(3.4rem, 2rem + 4vw, 6rem)/.86 var(--display); letter-spacing: -0.03em; color: var(--gold); white-space: nowrap }
.pillar-aside .fig-cap { margin-top: 12px; color: var(--subtle); font-size: var(--step--1); max-width: 18em }
.pillar-main { grid-column: 6 / -1; display: grid; gap: clamp(36px, 4vw, 56px) }
.blk > .label { color: var(--bronze); padding-bottom: 12px; border-bottom: 1px solid var(--line-warm) }
.blk > p { margin-top: 16px; color: var(--muted); max-width: 64ch }
.blk > p + p { margin-top: 1em }
.blk .svc-list { padding-top: 4px }
.kpis { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px }
.kpis li { padding: 8px 12px; border: 1px solid var(--line-warm); color: var(--sand); font-size: var(--step--1); line-height: 1.3 }
.targets { margin-top: 4px }
.targets div { display: grid; grid-template-columns: minmax(7rem, 9rem) 1fr; gap: 18px; align-items: baseline; padding: 14px 0; border-bottom: 1px solid var(--line) }
.targets dt { font: 400 1.8rem/1 var(--display); color: var(--paper); white-space: nowrap }
.targets dd { color: var(--muted); font-size: var(--step--1) }
.pillar--alt { background: var(--surface) }

/* fractional roles */
.roles { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: var(--col-gap); row-gap: 48px }
.role { border-top: 1px solid var(--gold); padding-top: 24px }
.role h3 { font-size: var(--step-2) }
.role > p { margin-top: 12px; color: var(--muted); max-width: 52ch }
.role ul { margin-top: 18px }

/* ---------- About ---------- */
.chapters { border-bottom: 1px solid var(--line) }
.chapter { padding-block: clamp(36px, 4.4vw, 64px); border-top: 1px solid var(--line); row-gap: 20px; align-items: start }
.chapter .ix { grid-column: 1 / span 2; font: italic 400 clamp(2.6rem, 1.8rem + 2vw, 4rem)/.9 var(--display); color: var(--bronze) }
.chapter-title { grid-column: 3 / span 4 }
.chapter-title .label { color: var(--subtle) }
.chapter-title h3 { margin-top: 10px; font-size: var(--step-2) }
.chapter-text { grid-column: 8 / -1; display: grid; gap: 1em; color: var(--muted) }
.chapter-text blockquote { margin-top: 8px; padding-left: 18px; border-left: 1px solid var(--gold); font: italic 400 clamp(1.3rem, 1.05rem + .7vw, 1.7rem)/1.3 var(--display); color: var(--quote) }
.creds .g12 { row-gap: 40px; align-items: start }
.creds .portrait { grid-column: 1 / span 5 }
.creds .ledger-col { grid-column: 7 / -1 }
.creds .ledger-col .ledger { margin-top: 32px }
.ledger { border-top: 1px solid var(--line-warm) }
.ledger div { display: grid; grid-template-columns: minmax(8rem, 12rem) 1fr; gap: 18px; padding: 16px 0; border-bottom: 1px solid var(--line); align-items: baseline }
.ledger dt { font: 600 var(--step--2)/1.5 var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--bronze) }
.ledger dd { color: var(--sand) }
.principles .g12 { row-gap: 40px; align-items: start }
.principles .copy { grid-column: 1 / span 5; position: sticky; top: calc(var(--header-h) + 48px) }
.principles .copy .lede { margin-top: 24px }
.rules { grid-column: 7 / -1; border-bottom: 1px solid var(--line) }
.rule { padding: 26px 0; border-top: 1px solid var(--line) }
.rule h3 { font-size: clamp(1.6rem, 1.3rem + .9vw, 2.2rem) }
.rule p { margin-top: 10px; color: var(--muted); max-width: 60ch }

/* ---------- Reviews ---------- */
.pending { display: inline-flex; align-items: center; gap: 8px; font: 600 var(--step--2)/1 var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--gold); border: 1px dashed var(--gold); padding: 7px 10px }
.pending::before { content: ""; width: 6px; height: 6px; background: var(--gold); transform: rotate(45deg) }
.slot-line { display: block; height: 1px; margin-top: 18px; background: repeating-linear-gradient(90deg, var(--line-warm) 0 6px, transparent 6px 12px) }
.voices .g12 { row-gap: 32px; align-items: start }
.voice-list { grid-column: 1 / span 4; border-top: 1px solid var(--line-warm) }
.voice-list button { width: 100%; display: grid; grid-template-columns: 2.4rem 1fr auto; gap: 12px; align-items: baseline; padding: 18px 0; background: none; border: 0; border-bottom: 1px solid var(--line); color: var(--muted); text-align: left; cursor: pointer; transition: color .2s }
.voice-list button .ix { font: 600 var(--step--2)/1 var(--sans); letter-spacing: .1em; color: var(--subtle) }
.voice-list button .who { font: 400 1.35rem/1.15 var(--display) }
.voice-list button .st { font: 600 0.62rem/1 var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--subtle) }
.voice-list button:hover { color: var(--paper) }
.voice-list button[aria-selected="true"] { color: var(--paper) }
.voice-list button[aria-selected="true"] .ix { color: var(--gold) }
.voice-panel { grid-column: 6 / -1; border: 1px dashed var(--line-warm); padding: clamp(24px, 3.6vw, 56px); display: grid; grid-template-columns: minmax(0, 1fr) clamp(120px, 14vw, 200px); gap: 28px 40px; align-items: start }
.voice-panel .quote-slot { grid-column: 1; font: italic 400 clamp(1.7rem, 1.2rem + 1.6vw, 2.8rem)/1.2 var(--display); color: var(--subtle) }
.voice-panel .frame { grid-column: 2; grid-row: 1 / span 2; aspect-ratio: 4 / 5; max-width: 100%; border: 1px dashed var(--line-warm); display: grid; place-items: center; color: var(--subtle); font: 600 var(--step--2)/1.4 var(--sans); letter-spacing: .14em; text-transform: uppercase; text-align: center; padding: 12px }
.voice-panel .fields-slot { grid-column: 1; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 24px; border-top: 1px solid var(--line-warm) }
.voice-panel .fields-slot div { padding: 12px 0; border-bottom: 1px solid var(--line) }
.voice-panel .fields-slot dt { font: 600 var(--step--2)/1.4 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--subtle) }
.voice-panel .fields-slot dd { margin-top: 4px; color: var(--sand); font-size: var(--step--1) }
.voice-panel .fields-slot dd.tbd { color: var(--subtle); font-style: italic }
.voice-panel .result-slot { grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: baseline; gap: 10px 24px; padding-top: 20px; border-top: 1px solid var(--line-warm) }
.voice-panel .result-slot .metric { font: 400 clamp(2rem, 1.4rem + 1.8vw, 3.2rem)/1 var(--display); color: var(--subtle); letter-spacing: -0.02em }
.voice-panel .result-slot p { color: var(--subtle); font-size: var(--step--1); max-width: 40ch }
.voice-panel .top { grid-column: 1 / -1; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; align-items: center }
.voice-panel .top .label { color: var(--bronze) }
.slots { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--col-gap) }
.slot { border: 1px dashed var(--line-warm); padding: 26px 24px 28px; display: grid; gap: 14px; align-content: start }
.slot .area-name { font: 400 1.6rem/1.1 var(--display); color: var(--paper) }
.slot p { color: var(--subtle); font-size: var(--step--1); font-style: italic }
.slot .slot-meta { color: var(--subtle); font: 600 var(--step--2)/1.5 var(--sans); letter-spacing: .14em; text-transform: uppercase }
.verify { border-top: 1px solid var(--line-warm) }
.verify li { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 16px; align-items: center; padding: 20px 0; border-bottom: 1px solid var(--line) }
.verify li strong { font: 400 1.6rem/1.1 var(--display); font-weight: 400 }
.verify li span.d { display: block; margin-top: 4px; color: var(--subtle); font-size: var(--step--1) }
.home-reviews .slots { margin-top: 0 }
.home-reviews .foot { margin-top: 28px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; align-items: center }
.home-reviews .foot p { color: var(--subtle); font-size: var(--step--1); max-width: 64ch }

.voice-panel .top { grid-row: 1 }
.voice-panel .quote-slot { grid-row: 2 }
.voice-panel .frame { grid-row: 2 / span 2 }
.voice-panel .fields-slot { grid-row: 3 }
.voice-panel .result-slot { grid-row: 4 }

@media (max-width: 960px) {
  .hero-top .crumbs-wrap, .sec-head .copy, .sec-head .side, .pillar-aside, .pillar-main, .chapter .ix, .chapter-title, .chapter-text,
  .creds .portrait, .creds .ledger-col, .principles .copy, .rules, .voice-list, .voice-panel { grid-column: 1 / -1 }
  .pillar-aside, .principles .copy { position: static }
  .slots { grid-template-columns: repeat(2, minmax(0, 1fr)) }
}
@media (max-width: 720px) {
  .roles, .slots { grid-template-columns: minmax(0, 1fr) }
  .voice-panel { grid-template-columns: minmax(0, 1fr) }
  .voice-panel .top, .voice-panel .quote-slot, .voice-panel .fields-slot, .voice-panel .result-slot { grid-row: auto }
  .voice-panel .frame { grid-column: 1; grid-row: auto; max-width: 160px }
  .voice-panel .fields-slot { grid-template-columns: minmax(0, 1fr) }
  .ledger div, .targets div { grid-template-columns: minmax(0, 1fr); gap: 4px }
}

.pillar-main .console { border-top: 0 }
.pillar-main .console .agent:first-child { padding-top: 6px }
.hero-foot blockquote cite { display: block; margin-top: 10px; font: 600 var(--step--2)/1.5 var(--sans); font-style: normal; letter-spacing: .16em; text-transform: uppercase; color: var(--subtle) }

.about .copy > .link { margin-top: 28px }
.slot .pending { justify-self: start }

/* ---------- Home services: image plates (GetLayers scenes rendered as stills, OnlyLaws tint) ---------- */
.plates { display: grid; gap: clamp(64px, 8vw, 128px) }
.plate-row { align-items: center; row-gap: 28px }
.plate-img { grid-column: 1 / span 7; position: relative; margin: 0; overflow: hidden; border: 1px solid var(--line); background: var(--ink) }
.plate-img img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 11; object-fit: cover; transition: transform 1.4s var(--ease) }
.plate-row:hover .plate-img img { transform: scale(1.035) }
.plate-img figcaption { position: absolute; left: 0; right: 0; bottom: 0; display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 18px; padding: 48px 28px 22px;
  background: linear-gradient(0deg, rgba(8, 8, 6, .92) 0%, rgba(8, 8, 6, .55) 55%, rgba(8, 8, 6, 0) 100%) }
.plate-img figcaption strong { font: 400 clamp(2.6rem, 1.6rem + 3vw, 4.6rem)/.9 var(--display); letter-spacing: -0.03em; color: var(--paper); white-space: nowrap }
.plate-img figcaption span { max-width: 18em; color: var(--sand); font-size: var(--step--1); line-height: 1.5 }
.plate-copy { grid-column: 9 / -1 }
.plate-copy .label { color: var(--bronze) }
.plate-copy h3 { font-size: var(--step-2); margin-top: 8px }
.plate-copy > p:not(.label) { margin-top: 14px; color: var(--muted) }
.plate-copy .svc-list { margin-top: 18px; padding-top: 0 }
.plate-copy .link { margin-top: 22px }
.plate-row--flip .plate-img { grid-column: 6 / -1; grid-row: 1 }
.plate-row--flip .plate-copy { grid-column: 1 / span 4; grid-row: 1 }
@media (max-width: 960px) {
  .plate-img, .plate-copy, .plate-row--flip .plate-img, .plate-row--flip .plate-copy { grid-column: 1 / -1; grid-row: auto }
}
@media (max-width: 540px) {
  .plate-img figcaption { padding: 36px 16px 14px }
  .plate-img figcaption span { display: none }
}

/* ---------- schedule: book the consult (Calendly inline) ---------- */
.book .g12 { row-gap: 48px; align-items: start }
.book .copy { grid-column: 1 / span 5 }
.book .copy .lede { margin-top: 26px }
.book .book-label { margin: 44px 0 14px }
.book .ledger div { grid-template-columns: minmax(7rem, 10rem) 1fr }
.book .ledger dd { font-size: var(--step--1); line-height: 1.7 }
.book .prep { margin-top: 44px }
.cal { grid-column: 7 / -1; position: sticky; top: calc(var(--header-h) + 32px); border: 1px solid var(--line-warm); background: var(--ink-header) }
.cal .calendly-inline-widget { min-width: 320px; height: 760px }
.cal-empty { display: grid; gap: 18px; align-content: start; padding: clamp(28px, 4vw, 52px) }
.cal-empty .h3 { color: var(--paper) }
.cal-empty p:not(.eyebrow):not(.h3) { color: var(--muted) }
.cal-empty .btn { justify-self: start; margin-top: 8px }
@media (max-width: 960px) {
  .book .copy, .cal { grid-column: 1 / -1 }
  .cal { position: static }
}

/* ==================================================================
   WORDPRESS TEMPLATES — blog, article, archive, search, 404, page
   ================================================================== */
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0 }
.hero--post h1 { font-size: var(--step-3); line-height: .98; letter-spacing: -0.02em; max-width: 20ch }
.hero-foot--wide .intro { grid-column: 1 / span 7 }
.hero-foot--wide .hero-actions { grid-column: 9 / -1 }
.hero .byline { grid-column: 1 / span 7; color: var(--subtle); font-size: var(--step--1) }
.hero .byline b { color: var(--sand); font-weight: 500 }

/* category filter reuses .subnav */
.catnav a .n { margin-left: 8px; color: var(--muted); font-variant-numeric: tabular-nums }

/* listing */
.listing .ins-head .count strong { font-variant-numeric: lining-nums }
.listing .posts { padding-bottom: 140px }
.empty { display: grid; gap: 18px; max-width: 46rem }
.empty .lede { max-width: none }

/* pagination (the_posts_pagination) */
.pagination .nav-links { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 24px }
.pagination .page-numbers { min-width: 46px; height: 46px; display: inline-grid; place-items: center; padding: 0 16px; border: 1px solid var(--line-warm); font: 600 var(--step--2)/1 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); transition: color .2s, border-color .2s }
.pagination a.page-numbers:hover { color: var(--paper); border-color: var(--paper) }
.pagination .page-numbers.current { color: var(--gold); border-color: var(--gold) }
.pagination .dots { border-color: transparent }

/* search form */
.search-form { display: flex; max-width: 640px; margin-top: 28px }
.search-form .field { flex: 1; min-width: 0 }
.search-form .btn { flex: none; min-height: 46px }

/* article */
.feature { margin: 0 0 clamp(48px, 6vw, 88px); border: 1px solid var(--line); overflow: hidden; background: var(--ink-header) }
.feature img { width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover }
.article .g12 { align-items: start; row-gap: 48px }
.toc { grid-column: 1 / span 3; position: sticky; top: calc(var(--header-h) + 40px) }
.toc ol { margin-top: 16px; counter-reset: t; display: grid; gap: 12px }
.toc li { counter-increment: t; display: grid; grid-template-columns: 2rem 1fr; font-size: var(--step--1); line-height: 1.5 }
.toc li::before { content: counter(t, decimal-leading-zero); color: var(--gold); font-weight: 600; font-variant-numeric: tabular-nums }
.toc a { color: var(--muted); transition: color .2s }
.toc a:hover { color: var(--paper) }
.toc .share { margin-top: 32px; padding-top: 20px; border-top: 1px solid var(--line); display: grid; gap: 10px }
.prose { grid-column: 5 / span 7; font-size: clamp(1rem, .96rem + .2vw, 1.1rem); line-height: 1.85; color: var(--sand) }
.prose--solo { grid-column: 3 / span 8 }
.prose > * + * { margin-top: 1.3em }
.prose h2 { font: 400 var(--step-2)/1.08 var(--display); color: var(--paper); letter-spacing: -0.01em; margin-top: 2.2em; scroll-margin-top: calc(var(--header-h) + 32px) }
.prose h3 { font: 400 clamp(1.4rem, 1.2rem + .7vw, 1.9rem)/1.15 var(--display); color: var(--paper); margin-top: 1.9em }
.prose h4 { font: 600 var(--step--2)/1.6 var(--sans); letter-spacing: .18em; text-transform: uppercase; color: var(--bronze); margin-top: 2em }
.prose h2 + *, .prose h3 + *, .prose h4 + * { margin-top: .8em }
.prose a { color: var(--gold); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 4px }
.prose a:hover { color: var(--gold-hi) }
.prose strong, .prose b { color: var(--paper); font-weight: 600 }
.prose ul li, .prose ol li { position: relative; padding-left: 2rem }
.prose li + li { margin-top: .55em }
.prose ul li::before { content: ""; position: absolute; left: 0; top: .9em; width: 14px; height: 1px; background: var(--gold) }
.prose ol { counter-reset: p }
.prose ol li { counter-increment: p }
.prose ol li::before { content: counter(p, decimal-leading-zero); position: absolute; left: 0; color: var(--gold); font: 600 .85em/1.85 var(--sans); font-variant-numeric: tabular-nums }
.prose blockquote { border-left: 1px solid var(--gold); padding: 4px 0 4px 26px; font: italic 400 var(--step-1)/1.45 var(--display); color: var(--quote) }
.prose blockquote p + p { margin-top: .6em }
.prose blockquote cite { display: block; margin-top: 12px; font: 600 var(--step--2)/1.5 var(--sans); font-style: normal; letter-spacing: .16em; text-transform: uppercase; color: var(--subtle) }
.prose img { height: auto }
.prose figure { margin-top: 2em }
.prose figcaption { margin-top: 10px; color: var(--subtle); font-size: var(--step--1) }
.prose hr { border: 0; border-top: 1px solid var(--line-warm); margin-block: 2.4em }
.prose table { width: 100%; border-collapse: collapse; font-size: var(--step--1); line-height: 1.6 }
.prose th { text-align: left; font: 600 var(--step--2)/1.5 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--bronze); padding: 10px 12px 10px 0; border-bottom: 1px solid var(--line-warm) }
.prose td { padding: 12px 12px 12px 0; border-bottom: 1px solid var(--line); vertical-align: top }
.prose code { font: .9em/1.6 ui-monospace, SFMono-Regular, Menlo, monospace; background: var(--panel); padding: .1em .35em }
.prose .wp-block-table { overflow-x: auto }
.prose .alignwide, .prose .alignfull { margin-inline: 0 }
.author { margin-top: clamp(56px, 6vw, 88px); padding-top: 28px; border-top: 1px solid var(--line-warm); display: grid; grid-template-columns: 64px 1fr; gap: 6px 20px; align-items: start }
.author .av { grid-row: span 3; width: 64px; height: 64px; display: grid; place-items: center; border: 1px solid var(--line-warm); font: italic 400 1.6rem/1 var(--display); color: var(--gold) }
.author .label { color: var(--bronze) }
.author strong { font: 400 1.6rem/1.1 var(--display); color: var(--paper) }
.author p { color: var(--muted); font-size: var(--step--1); line-height: 1.7 }
.tags { margin-top: 28px; display: flex; flex-wrap: wrap; gap: 8px }
.tags a { font: 600 var(--step--2)/1 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); border: 1px solid var(--line-warm); padding: 9px 11px; transition: color .2s, border-color .2s }
.tags a:hover { color: var(--gold); border-color: var(--gold) }
.related .ins-head .copy { grid-column: 1 / -1 }

/* 404 */
.go { border-top: 1px solid var(--line-warm); margin-top: 40px }
.go a { display: grid; grid-template-columns: minmax(8rem, 14rem) 1fr auto; gap: 18px; align-items: baseline; padding: 20px 0; border-bottom: 1px solid var(--line); transition: color .2s }
.go a b { font: 400 var(--step-1)/1.2 var(--display); color: var(--paper) }
.go a span { color: var(--muted); font-size: var(--step--1) }
.go a i { font-style: normal; color: var(--gold) }
.go a:hover b { color: var(--gold-hi) }
.nf .copy { grid-column: 1 / span 8 }

/* Brad's portrait from the Media Library (About) */
.plate .portrait-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: none; opacity: 1 }
.plate:has(.portrait-img)::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(8, 8, 6, .72), transparent 32%) }
.plate:has(.portrait-img) figcaption { z-index: 1 }

/* ==================================================================
   INTAKE LEAK CHECK
   ================================================================== */
.check .g12 { align-items: start; row-gap: 48px }
.check .copy { grid-column: 1 / span 4; position: sticky; top: calc(var(--header-h) + 40px) }
.check .copy .lede { margin-top: 26px }
.check .copy .next { margin-top: 36px }
.check-panel { grid-column: 6 / -1; border: 1px solid var(--line-warm); background: var(--ink-header); padding: clamp(24px, 4vw, 56px) }
.zones { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 8px; margin-bottom: 36px }
.zones li { display: grid; gap: 10px; font: 600 var(--step--2)/1.3 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--subtle) }
.zones .bar { height: 3px; background: var(--line-warm); overflow: hidden }
.zones .bar i { display: block; height: 100%; width: 0; background: var(--gold); transition: width .5s var(--ease) }
.zones li.is-on { color: var(--paper) }
.q-step { border: 0; padding: 0; margin: 0; min-width: 0 }
.q-step + .q-step { margin-top: 48px }
.check-panel.is-live .q-step + .q-step { margin-top: 0 }
.q-count { display: block; margin-bottom: 14px }
.q-step legend { display: block; padding: 0; font: 400 var(--step-2)/1.08 var(--display); color: var(--paper); text-wrap: balance; margin-bottom: 26px; max-width: 24ch }
.opt { display: grid; grid-template-columns: 22px 1fr; gap: 16px; align-items: start; padding: 17px 20px; border: 1px solid var(--line-warm); color: var(--sand); cursor: pointer; transition: border-color .2s, background .2s, color .2s }
.opt + .opt { margin-top: 10px }
.opt:hover { border-color: var(--bronze) }
.opt input { appearance: none; -webkit-appearance: none; width: 18px; height: 18px; margin: 4px 0 0; border: 1px solid var(--muted); border-radius: 50%; background: transparent; cursor: pointer }
.opt input:checked { border-color: var(--gold); background: var(--gold); box-shadow: inset 0 0 0 4px var(--ink-header) }
.opt input:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px }
.opt:has(input:checked) { border-color: var(--gold); background: rgba(184, 150, 110, .07); color: var(--paper) }
.q-nav { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px }
.check-start .field { margin-top: 10px; max-width: 420px }
.check-start label { color: var(--label-ink); font-size: var(--step--1); font-weight: 500 }
.check-start label span { color: var(--subtle); font-weight: 400 }
.check-start .btn { margin-top: 26px }
.check-start .h3 { color: var(--paper); margin-bottom: 14px }
.check-start p.note { margin-top: 18px; color: var(--subtle); font-size: var(--step--1) }
.result .score { display: flex; align-items: baseline; gap: 14px; margin-top: 8px }
.result .score strong { font: 400 var(--step-5)/.86 var(--display); color: var(--gold); letter-spacing: -0.035em; font-variant-numeric: lining-nums }
.result .score span { font: 400 var(--step-2)/1 var(--display); color: var(--muted) }
.result .band-copy { margin-top: 22px; color: var(--sand); max-width: 46ch }
.zone-scores { margin-top: 36px; border-top: 1px solid var(--line-warm) }
.zone-scores li { display: grid; grid-template-columns: 8rem 1fr 3rem; gap: 16px; align-items: center; padding: 14px 0; border-bottom: 1px solid var(--line); font: 600 var(--step--2)/1.4 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--muted) }
.zone-scores .bar { height: 3px; background: var(--line-warm) }
.zone-scores .bar i { display: block; height: 100%; background: var(--gold) }
.zone-scores b { text-align: right; color: var(--paper); font-weight: 600; font-variant-numeric: tabular-nums }
.zone-scores li.is-leak { color: var(--paper) }
.zone-scores li.is-leak .bar i { background: var(--bronze) }
.fix { margin-top: 36px; padding: 26px 28px; border: 1px solid var(--gold); background: rgba(184, 150, 110, .05) }
.fix .h3 { color: var(--paper); margin-top: 12px }
.fix p { margin-top: 14px; color: var(--sand) }
.send { margin-top: 44px; padding-top: 32px; border-top: 1px solid var(--line-warm) }
.send .h3 { color: var(--paper) }
.send > p:not(.h3) { margin-top: 12px; color: var(--muted); font-size: var(--step--1) }
.send .btn { margin-top: 24px }
.check-done { margin-bottom: 32px; padding: 20px 22px; border: 1px solid var(--gold); color: var(--sand) }
.check-done.is-error { border-color: var(--line-warm) }
@media (max-width: 960px) {
  .toc, .prose, .prose--solo, .check .copy, .check-panel, .nf .copy { grid-column: 1 / -1 }
  .toc, .check .copy { position: static }
  .hero-foot--wide .intro, .hero-foot--wide .hero-actions, .hero .byline { grid-column: 1 / -1 }
}
@media (max-width: 720px) {
  .zones { gap: 5px }
  .zones li { font-size: .62rem; letter-spacing: .02em }
  .zone-scores li { grid-template-columns: 6.5rem 1fr 2.6rem }
  .go a { grid-template-columns: 1fr auto }
  .go a span { grid-column: 1 / -1; grid-row: 2 }
  .search-form { flex-direction: column }
}
.search-top { margin-bottom: clamp(40px, 5vw, 72px) }
.search-top .search-form { margin-top: 0 }
.hero--post h1 .ln:only-child { color: var(--paper); font-style: normal; padding-left: 0 }

/* Leak Check: original copy blocks */
.q-step.is-first [data-back] { visibility: hidden }
.result .score { flex-wrap: wrap }
.result .tier { align-self: center; margin-left: 10px; padding: 9px 12px 8px; border: 1px solid currentColor; font: 600 var(--step--2)/1 var(--sans); font-style: normal; letter-spacing: .2em; text-transform: uppercase }
.result .tier--leaking { color: var(--bronze) }
.result .tier--patchy { color: var(--sand) }
.result .tier--tight { color: var(--gold) }
.practice-note { margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--line-warm); color: var(--muted); font-size: var(--step--1) }
.next-step { margin-top: 36px }
.next-step p:not(.label) { margin-top: 12px; color: var(--sand); max-width: 52ch }
.next-step .btn { margin-top: 20px }
.copy-note { margin-top: 12px; min-height: 1.5em; color: var(--gold); font-size: var(--step--1) }
.notice { margin-top: 28px; padding-top: 20px; border-top: 1px solid var(--line); color: var(--subtle); font-size: var(--step--1); line-height: 1.7 }

/* ==================================================================
   LIGHT BANDS — paper ground, ink type. Every component re-reads the
   tokens, so the same markup flips without per-component rules.
   ================================================================== */
.band--light {
  --ink: #F4F0E8;
  --ink-header: #EEE8DD;
  --surface: #ECE5D9;
  --panel: #FFFFFF;
  --warm: #EDE5D7;
  --gold: #8A6A42;
  --gold-hi: #6F5432;
  --bronze: #8A6A42;
  --sand: #3A352E;
  --paper: #120F0A;
  --muted: #4E483F;
  --subtle: #6A645A;
  --line: #DDD4C6;
  --line-warm: #CBBFA9;
  --on-gold: #FBF8F2;
  --quote: #2A241C;
  --warm-line: #D9CFBF;
  --label-ink: #2A241C;
  --tick: #B8A07F;
  color-scheme: light;
  background-color: var(--ink);
  color: var(--paper);
}
.band--light.audit, .band--light.pillar--alt { background-color: var(--surface) }
.band--light ::selection { background: var(--gold); color: var(--on-gold) }
.band--light + .band:not(.band--light), .band:not(.band--light) + .band--light { border-top-color: transparent }

[hidden] { display: none !important }

/* ============ WordPress / Divi layer ============ */
:root { padding-top: env(safe-area-inset-top, 0px); padding-bottom: env(safe-area-inset-bottom, 0px) }

/* Defensive reset against Divi's global element rules (p/h padding, link blue, list bullets).
   :where() keeps it at element specificity, so every component rule above still wins. */
body.ol-page { margin: 0; background: var(--ink); color: var(--paper); font-family: var(--sans) }
:where(.ol-page) :where(h1, h2, h3, h4, h5, h6, p) { padding-bottom: 0 }
:where(.ol-page) :where(ul, ol) { padding: 0; list-style: none }
:where(.ol-page) :where(blockquote) { border: 0; padding: 0 }
:where(.ol-page) :where(a) { color: inherit }
:where(.ol-page) :where(input, select, textarea, button) { font-family: inherit }

/* Logged-in admin bar: keep the sticky header and menu below it. */
.admin-bar { --ol-ab: 32px }
@media (max-width: 782px) { .admin-bar { --ol-ab: 46px } }
@media (max-width: 600px) { .admin-bar { --ol-ab: 0px } }
.admin-bar .site-header { top: calc(env(safe-area-inset-top, 0px) + var(--ol-ab)) }
.admin-bar .mobile-nav { top: calc(var(--header-h) + env(safe-area-inset-top, 0px) + var(--ol-ab)) }
.admin-bar .subnav { top: calc(var(--header-h) + env(safe-area-inset-top, 0px) + var(--ol-ab)) }

/* Form honeypot (bots only). */
.ol-hp { position: absolute !important; left: -10000px !important; width: 1px; height: 1px; overflow: hidden }

/* Insights with no posts yet. */
.insights .ins-empty { margin-top: 40px }

/* Named Media Library images: page features, service pillars and article cards. */
.media-band { padding-top: clamp(28px,4vw,56px) }
.media-feature, .media-inline, .pillar-image { overflow: hidden; border: 1px solid var(--line-warm); background: var(--ink-header) }
.media-feature { margin: 0 }
.media-inline { margin: 40px 0 }
.pillar-image { margin: 0 0 32px }
.media-feature img, .media-inline img, .pillar-image img { display: block; width: 100%; height: auto; object-fit: cover }
.media-feature img, .media-inline img { aspect-ratio: 16 / 7 }
.pillar-image img { aspect-ratio: 3 / 2 }
.post-image { display: block; width: 100%; overflow: hidden; margin-bottom: 22px; aspect-ratio: 3 / 2; background: var(--ink-header); border: 1px solid var(--line-warm) }
.post-image img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease) }
.post a:hover .post-image img { transform: scale(1.025) }
.topic-posts { margin-top: 28px }
@media(max-width:720px) { .media-feature img, .media-inline img { aspect-ratio: 3 / 2 } }
@media(prefers-reduced-motion:reduce) { .post-image img { transition: none } .post a:hover .post-image img { transform: none } }


/* Explicit heading colors defeat Divi/Elementor global grey titles, including late CSS.
   Gold emphasis stays on its own child element; light bands have their own heading token. */
body.ol-page { --ol-heading: #FFFFFF }
body.ol-page .band--light { --ol-heading: #120F0A }
body.ol-page :is(h1,h2,h3,h4,h5,h6) { color: var(--ol-heading) !important }
body.ol-page .slice--us h3, body.ol-page .criteria h3 { --ol-heading: var(--gold) }
body.ol-page .foot-col h4, body.ol-page .prose h4 { --ol-heading: var(--bronze) }
body.ol-page :is(h1,h2,h3,h4,h5,h6) > a { color: inherit }
body.ol-page :is(h1,h2,h3,h4,h5,h6) :is(em,.em) { color: var(--gold) }

/* Complete inner-page layouts. */
.inner-hero h1 { font-size: clamp(3rem, 1rem + 6.5vw, 7.6rem) }
.inner-hero .hero-foot .intro { grid-column: 1 / span 7; max-width: 58ch }
.inner-hero .hero-actions { grid-column: 9 / -1 }
.detail-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 0 32px; margin-top: 42px }
.detail-card { min-width: 0; border-top: 1px solid var(--line-warm); padding: 28px 0 36px }
.detail-card .ix { color: var(--gold); font: 600 .7rem/1.5 var(--sans); letter-spacing: .18em }
.detail-card h3 { margin-top: 16px; font-size: clamp(1.8rem,1.4rem + .8vw,2.6rem); line-height: 1.08 }
.detail-card p { margin-top: 16px; color: var(--muted); font-size: var(--step--1) }
.detail-card .label { margin-top: 20px; color: var(--bronze) }
.detail-grid--two { grid-template-columns: repeat(2,minmax(0,1fr)); column-gap: 56px }
.detail-card .svc-list { margin-top: 14px }
.detail-card .link { margin-top: 22px }
.page-callout { margin-top: 48px; padding: 28px 0; border-block: 1px solid var(--line-warm); display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px }
.page-callout p { color: var(--sand); max-width: 58ch }
.standards { margin-top: 40px; display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 0 56px; counter-reset: standard }
.standard { border-top: 1px solid var(--line-warm); padding: 28px 0 34px; counter-increment: standard }
.standard::before { content: counter(standard,decimal-leading-zero); display: block; color: var(--gold); font: 600 .7rem/1.4 var(--sans); margin-bottom: 18px }
.standard h3 { font-size: clamp(1.8rem,1.5rem + .6vw,2.5rem); line-height: 1.1 }
.standard p { margin-top: 14px; color: var(--muted) }
.application-layout { display: grid; grid-template-columns: minmax(0, .75fr) minmax(0,1.5fr); gap: clamp(28px,5vw,84px); align-items: start }
.application-copy { position: sticky; top: calc(var(--header-h) + 40px) }
.application-copy .body { margin-top: 24px }
.application-form fieldset { border: 0; border-top: 1px solid var(--line-warm); margin: 0 0 40px; padding: 28px 0 0; min-width: 0 }
.application-form legend { padding: 0 12px 0 0; font: 400 2rem/1.15 var(--display); color: var(--paper) }
.application-form .section-note { color: var(--muted); margin: 0 0 20px; font-size: var(--step--1) }
.application-form .field { min-width: 0 }
.application-form textarea { min-height: 120px }
.application-form .full { grid-column: 1 / -1 }
.checks { display: grid; gap: 10px }
.checks label, .consent { display: flex; gap: 12px; align-items: flex-start; font-size: var(--step--1); color: var(--sand); line-height: 1.65 }
.checks input, .consent input { width: 18px; height: 18px; flex: 0 0 18px; margin-top: 4px; accent-color: var(--gold) }
.consent { margin: 24px 0 }
.consent a { text-decoration: underline; text-underline-offset: 3px }
.application-form .btn { width: 100% }
.agent-cards .detail-card { padding-bottom: 42px }
.agent-cards .verbs { font-size: 1.3rem; color: var(--bronze) }
.tier { padding: 28px; border: 1px solid var(--line-warm) }
.tier--featured { background: var(--warm); border-top: 2px solid var(--gold) }
.tier h3 { min-height: 2.2em }
.tier .btn { margin-top: 24px }
.legal-nav { display: flex; flex-wrap: wrap; gap: 12px 24px; margin-top: 24px; font-size: var(--step--1); color: var(--gold) }
@media(min-width:1181px) and (max-width:1350px) { .nav .nav-link { display: none } .menu-btn { display: inline-flex } }
@media(max-width:960px) {
  .inner-hero .hero-foot .intro,.inner-hero .hero-actions { grid-column: 1 / -1 }
  .detail-grid { grid-template-columns: repeat(2,minmax(0,1fr)) }
  .application-layout { grid-template-columns: 1fr }
  .application-copy { position: static }
}
@media(max-width:600px) {
  .detail-grid,.detail-grid--two,.standards { grid-template-columns: 1fr }
  .application-form .fields { grid-template-columns: 1fr }
  .tier { padding: 24px 18px }
  .mobile-nav li a { font-size: 1.7rem; gap: 12px }
  .mobile-nav li a span { font-size: .6rem; text-align: right }
}

/* 3.3 — lighter page surfaces and a shorter, more visual homepage. */
body.ol-page main { background: #fff }
body.ol-page .band:not(.band--light) { background-color: var(--ink) }
.band--light {
  --ink: #FFFFFF; --ink-header: #F7F5F1; --surface: #F7F5F1;
  --panel: #FFFFFF; --warm: #F4F0E9; --paper: #181511;
  --gold: #846239; --gold-hi: #654A2A; --bronze: #846239;
  --sand: #454039; --muted: #585147; --subtle: #6C6459;
  --line: #E6E0D6; --line-warm: #D7CCBC; --warm-line: #DDD4C6;
  --on-gold: #FFFFFF; --quote: #3A3128; --label-ink: #302820;
  background-color: #FFFFFF;
}
.band--light.band--soft { --ink: #F6F3EE; --surface: #F6F3EE; background-color: #F6F3EE }
body.ol-page .band--light { --ol-heading: #181511 }
.band--light .btn--ghost { color: var(--paper); border-color: var(--line-warm) }
.band--light .btn--outline { color: var(--gold); border-color: var(--gold) }
.band--light .btn:hover { color: var(--on-gold) }
.band--light .plate:has(.portrait-img) { --paper: #FFFFFF; --subtle: #E3DDD3 }
body.ol-page .media-band { padding-bottom: clamp(28px,4vw,56px); background: #fff }
.media-band .media-feature { border-color: #D7CCBC }

/* Inner pages begin on white; the dark navigation remains a brand anchor. */
.hero.hero--light {
  min-height: 0; gap: clamp(36px,5vw,64px);
  background: linear-gradient(125deg,#fff 60%,#F4EFE6);
  color: var(--paper);
}
.hero--light .hero-canvas, .hero--light .hero-scrim, .hero--light .hero-guides { display: none }
.hero--light .hero-ledger { background: rgba(255,255,255,.8); border-color: var(--line-warm); backdrop-filter: none }
.hero--light .hero-ledger dd { color: var(--paper) }
.hero--light .hero-main { padding-bottom: clamp(40px,5vw,72px) }
.hero--light h1 { font-size: clamp(2.8rem,1.35rem + 5vw,6.5rem); line-height: .97; max-width: 18ch }
.hero--light .hero-foot .intro { color: var(--sand) }
.hero--light .hero-foot blockquote { color: var(--quote) }
.hero--light .hero-actions .appt { color: var(--subtle) }

/* 3.6 — editorial layouts and progressive motion. CSS remains external. */
body.ol-page main { background: var(--ink) }
body.ol-page .band.band--charcoal {
  --ink: #12110F; --ink-header: #171510; --surface: #1A1712;
  --panel: #191713; --line: #302A23; --line-warm: #44392C;
  background-color: var(--ink);
}
.hero.hero--dark {
  min-height: 0; gap: clamp(36px,5vw,64px);
  background: radial-gradient(ellipse at 85% 15%,rgba(184,150,110,.16),transparent 65%),#080806;
}
.hero--dark .hero-main { padding-bottom: clamp(40px,5vw,72px) }
.hero--dark h1 { font-size: clamp(2.8rem,1.35rem + 5vw,6.5rem); line-height: .97; max-width: 18ch }
.cal .calendly-inline-widget { min-width: 0; width: 100% }
.plate:has(.portrait-img) figcaption strong { color: #FFFFFF }
.plate:has(.portrait-img) figcaption span { color: #E3DDD3 }

/* Shared details: clearer reading rhythm and deliberate interaction. */
.qa summary { grid-template-columns: minmax(0,1fr) 32px; padding: 24px 0 }
.qa summary:has(.qa-index) { grid-template-columns: 28px minmax(0,1fr) 32px; gap: 16px }
.qa-index { align-self: start; padding-top: 5px; color: var(--bronze); font: 500 .65rem/1.6 var(--sans); font-variant-numeric: tabular-nums }
.qa summary i { width: 32px; height: 32px; border-radius: 50%; transition: background .25s, border-color .25s }
.qa[open] summary i { background: var(--warm); border-color: var(--gold) }
.qa .ans { line-height: 1.8; font-size: var(--step--1) }
.qa:has(.qa-index) .ans { padding-left: 44px }
.qa[open] .qa-question { color: var(--gold) }
.detail-card { transition: border-color .3s var(--ease), background-color .3s var(--ease) }
.detail-card:hover { border-color: var(--gold) }
.link > span, .btn > span { transition: transform .3s var(--ease) }
.link:hover > span, .btn:hover > span { transform: translateX(4px) }

/* Home: nine distinct compositions, with breathing room between them. */
.home-refresh { --home-space: clamp(68px,7.6vw,112px) }
.home-refresh .band { padding-block: var(--home-space) }
.home-refresh .h2 { font-size: clamp(2.65rem,1.4rem + 3.8vw,5.25rem); line-height: 1; letter-spacing: -.035em }
.home-refresh .eyebrow { letter-spacing: .18em }
.home-split { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: clamp(36px,6.5vw,96px); align-items: center }
.home-split > *, .home-problems-layout > * { min-width: 0 }
.home-split > .portrait { grid-column: auto }
.home-section-head { display: flex; justify-content: space-between; align-items: end; gap: 24px; margin-bottom: clamp(32px,4vw,56px) }
.home-section-head .h2 { margin-top: 18px; max-width: 20ch }
.home-section-head > .link { flex-shrink: 0; margin-bottom: 5px }

/* Opening: an oversized headline, a fine grid and a quiet executive ledger. */
.hero.hero--home { min-height: clamp(610px,85svh,840px); gap: 60px }
.hero--home .hero-top { display: flex; justify-content: space-between; align-items: center; gap: 20px; padding-top: clamp(30px,4vw,52px) }
.home-scroll-link { display: inline-flex; align-items: center; gap: 20px; color: var(--sand); font: 500 .66rem/1.5 var(--sans); text-transform: uppercase; letter-spacing: .13em }
.home-scroll-link span { display: grid; place-items: center; width: 34px; height: 34px; border: 1px solid var(--line-warm); border-radius: 50%; font-size: 1rem; transition: transform .3s var(--ease) }
.home-scroll-link:hover span { transform: translateY(3px) }
.home-hero-layout { display: grid; grid-template-columns: minmax(0,1fr) minmax(200px,.26fr); gap: clamp(32px,6vw,96px); align-items: end }
.hero--home h1 { font-size: clamp(4rem,2.35rem + 6.6vw,9.15rem); line-height: .9; margin-bottom: 30px; letter-spacing: -.035em }
.home-hero-copy .intro { max-width: 40ch; color: var(--sand); font-size: clamp(1rem,.9rem + .35vw,1.2rem); line-height: 1.7 }
.home-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 22px 30px; margin-top: 32px }
.home-actions .link { font-size: .72rem }
.home-proof { display: grid; gap: 0; padding-left: 28px; border-left: 1px solid var(--line-warm) }
.home-proof > div { display: flex; flex-direction: column; gap: 10px; padding-block: 20px; border-top: 1px solid var(--line) }
.home-proof > div:first-child { padding-top: 0; border-top: 0 }
.home-proof > div:last-child { padding-bottom: 0 }
.home-proof dd { order: -1; font: 400 clamp(2.5rem,1.8rem + 1.4vw,3.8rem)/1 var(--display); color: var(--gold) }
.home-proof dt { max-width: 22ch; color: var(--sand); font: 500 .63rem/1.6 var(--sans); letter-spacing: .08em; text-transform: uppercase }

/* Explanation: white editorial spread, with the five pillars connected below. */
.home-explainer .home-split { grid-template-columns: minmax(0,1.08fr) minmax(0,1fr); row-gap: 48px; align-items: start }
.home-explainer .h2 { margin-top: 20px; max-width: 19ch }
.home-explainer-copy { padding: 10px 0 0 clamp(0px,1.8vw,24px); border-left: 1px solid var(--line) }
.home-explainer-copy .lede { color: var(--paper); font: 400 clamp(1.65rem,1.3rem + .6vw,2.1rem)/1.25 var(--display) }
.home-explainer-copy .body { margin: 22px 0 26px; color: var(--muted); max-width: 48ch; font-size: var(--step--1) }
.home-connected { grid-column: 1 / -1; display: grid; grid-template-columns: minmax(190px,.7fr) minmax(0,2fr); align-items: center; gap: 28px; padding-top: 30px; border-top: 1px solid var(--line) }
.home-connected > .label { max-width: 24ch; color: var(--bronze); letter-spacing: .11em }
.home-connected ul { display: grid; grid-template-columns: repeat(5,minmax(0,1fr)) }
.home-connected li { display: flex; justify-content: center; align-items: center; gap: 10px; padding: 8px; font: 400 clamp(.95rem,.8rem + .25vw,1.15rem)/1.25 var(--display); color: var(--sand); border-left: 1px solid var(--line) }
.home-connected li::before { content: ''; width: 4px; height: 4px; background: var(--gold); border-radius: 50%; flex-shrink: 0 }

/* Problems: a numbered register in place of three identical boxed cards. */
.home-problems-layout { display: grid; grid-template-columns: minmax(0,.8fr) minmax(0,1.3fr); gap: clamp(40px,8vw,120px); align-items: start }
.home-problems .home-section-head { display: block; position: sticky; top: calc(var(--header-h) + 42px); margin-bottom: 0 }
.home-problems .home-section-head .h2 { max-width: 12ch; margin-bottom: 32px }
.home-problems .home-section-head > .link { font-size: .68rem; white-space: normal }
.home-problem-grid { display: grid }
.home-problem-card { display: grid; grid-template-columns: 54px minmax(0,1fr); gap: 24px; padding-block: 32px; border-top: 1px solid var(--line-warm) }
.home-problem-card:last-child { border-bottom: 1px solid var(--line-warm) }
.home-problem-index { padding-top: 4px; color: var(--gold); font: italic 400 2.8rem/1 var(--display) }
.home-problem-content > .label { color: var(--gold); font-size: .6rem }
.home-problem-card h3 { margin: 12px 0 14px; font-size: clamp(1.9rem,1.5rem + 1vw,2.7rem); line-height: 1.08 }
.home-problem-content > p { color: var(--muted); font-size: var(--step--1); max-width: 48ch }
.home-problem-solution { margin: 18px 0 22px; padding-left: 16px; border-left: 1px solid var(--line-warm) }
.home-problem-solution .label { margin-bottom: 6px; font-size: .56rem; color: var(--gold) }
.home-problem-solution p:not(.label) { color: var(--sand); font-size: var(--step--1); line-height: 1.7 }
.home-problem-content > .link { font-size: .67rem }

/* Services: two leading images and three supporting panels, all linked. */
.home-service-grid { display: grid; grid-template-columns: repeat(12,minmax(0,1fr)); gap: 38px 24px }
.home-service-card { grid-column: span 4; min-width: 0 }
.home-service-card:nth-child(-n+2) { grid-column: span 6 }
.home-service-card > a { display: block; height: 100% }
.home-service-media { position: relative; isolation: isolate; overflow: hidden; aspect-ratio: 3 / 2; background: radial-gradient(ellipse at 75% 25%,rgba(184,150,110,.18),transparent 60%),#1A1712; border: 1px solid var(--line-warm) }
.home-service-card:nth-child(-n+2) .home-service-media { aspect-ratio: 16 / 9 }
.home-service-image { margin: 0; height: 100%; width: 100% }
.home-service-image img { display: block; height: 100%; width: 100%; object-fit: cover; transition: transform .8s var(--ease) }
.home-service-media::after { content: ''; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(180deg,rgba(8,8,6,.12),transparent 50%,rgba(8,8,6,.35)) }
.home-service-index { position: absolute; z-index: 1; top: 20px; left: 20px; width: 38px; height: 38px; display: grid; place-items: center; border: 1px solid rgba(248,246,242,.45); color: #fff; background: rgba(8,8,6,.3); border-radius: 50%; font: 500 .65rem/1 var(--sans) }
.home-service-arrow { position: absolute; bottom: 18px; right: 20px; z-index: 1; color: #fff; font: 400 1.5rem/1 var(--sans); transition: transform .35s var(--ease) }
.home-service-copy { padding: 22px 0 24px; border-bottom: 1px solid var(--line-warm) }
.home-service-copy h3 { font-size: clamp(1.8rem,1.4rem + 1.1vw,2.7rem); line-height: 1.1; transition: color .3s }
.home-service-copy p { margin-top: 12px; max-width: 43ch; color: var(--muted); font-size: var(--step--1); line-height: 1.7 }
.home-service-card a:focus-visible { display: block; outline-offset: 7px }
.home-service-card a:hover .home-service-copy h3 { --ol-heading: var(--gold) }
.home-service-card a:hover .home-service-arrow { transform: translate(3px,-3px) }
@media(hover:hover) and (prefers-reduced-motion:no-preference) { .home-service-card a:hover img { transform: scale(1.045) } }

/* Audit: large image, inset frame and two typographic milestones. */
.home-audit .home-split { grid-template-columns: minmax(0,1.1fr) minmax(0,1fr) }
.home-audit-visual { grid-column: 1; grid-row: 1 }
.home-audit-copy { grid-column: 2; grid-row: 1 }
.home-audit-copy .h2 { margin-top: 20px }
.home-audit-copy > .body { margin-top: 24px; max-width: 42ch; color: var(--sand); font-size: var(--step--1) }
.home-audit-outcomes { display: grid; margin: 26px 0 32px; counter-reset: audit-outcome }
.home-audit-outcomes li { display: grid; grid-template-columns: 22px minmax(0,1fr); gap: 12px; padding: 13px 0; border-top: 1px solid var(--line-warm); color: var(--sand); font-size: var(--step--1); counter-increment: audit-outcome }
.home-audit-outcomes li::before { content: '0' counter(audit-outcome); color: var(--gold); font-size: .62rem; padding-top: 3px }
.home-audit-frame { position: relative; overflow: hidden; aspect-ratio: 5 / 4; background: #1B1813 }
.home-audit-frame::after { content: ''; position: absolute; inset: 16px; border: 1px solid rgba(248,246,242,.3); pointer-events: none }
.home-audit-image { margin: 0; height: 100%; width: 100%; overflow: hidden }
.home-audit-image img { width: 100%; height: 100%; object-fit: cover }
.home-audit-seal { position: absolute; z-index: 1; right: 32px; bottom: 32px; display: grid; padding: 12px 16px; background: #F6F3EE; color: #846239; font: italic 400 clamp(2.8rem,3vw,4rem)/1 var(--display); text-align: center }
.home-audit-seal > span { margin-top: 7px; color: #585147; font: 500 .5rem/1.3 var(--sans); letter-spacing: .12em; text-transform: uppercase }
.home-audit-facts { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 24px; margin-top: 26px }
.home-audit-facts > div { display: flex; flex-direction: column; gap: 9px; padding-left: 18px; border-left: 1px solid var(--line-warm) }
.home-audit-facts dd { order: -1; font: 400 clamp(3rem,2rem + 2vw,4.5rem)/1 var(--display); color: var(--gold) }
.home-audit-facts dt { color: var(--sand); font-size: .68rem; letter-spacing: .04em }
.home-refresh .home-audit .btn--outline:hover { color: var(--on-gold) }

/* AI: a dark feature image with a floating agent marker. */
.home-ai-copy .h2 { margin-top: 20px; max-width: 18ch }
.home-ai-copy .body { margin: 24px 0 28px; max-width: 42ch; color: var(--muted) }
.home-workflows { display: flex; flex-wrap: wrap; gap: 0; margin: 0 0 30px }
.home-workflows li { display: flex; gap: 12px; align-items: center; padding: 6px 16px 6px 0; font-size: .68rem; letter-spacing: .05em; color: var(--sand) }
.home-workflows li::before { content: ''; width: 4px; height: 4px; border-radius: 50%; background: var(--gold) }
.home-ai-visual { padding: 18px 18px 0 0; position: relative }
.home-ai-visual::before { content: ''; position: absolute; top: 0; right: 0; width: 70%; height: 70%; border-top: 1px solid var(--line-warm); border-right: 1px solid var(--line-warm); pointer-events: none }
.home-ai-frame { position: relative; aspect-ratio: 5 / 4; background: radial-gradient(ellipse at 70% 40%,rgba(184,150,110,.15),transparent 60%),#17150F; overflow: hidden }
.home-ai-image { height: 100%; width: 100%; margin: 0; overflow: hidden }
.home-ai-image img { width: 100%; height: 100%; object-fit: cover }
.home-ai-badge { position: absolute; bottom: 22px; left: 22px; z-index: 1; display: flex; align-items: center; gap: 16px; padding: 14px 18px; background: #0D0D0D; color: #C9C2B9; border: 1px solid #44392C; font: 500 .58rem/1.5 var(--sans); text-transform: uppercase; letter-spacing: .1em }
.home-ai-badge > span { color: #B8966E; font: 400 2.7rem/1 var(--display) }
.home-ai-visual > p { margin-top: 18px; color: var(--subtle); font-size: .68rem }

/* Founder: a larger color portrait balanced against the copy. */
.home-about .home-split { grid-template-columns: minmax(0,.9fr) minmax(0,1.1fr); gap: clamp(40px,8vw,120px) }
.home-founder-photo { position: relative; width: 100%; max-width: 440px; justify-self: center; padding: 14px 0 0 14px }
.home-founder-photo::before { content: ''; position: absolute; top: 0; left: 0; width: 64%; height: 64%; border-top: 1px solid var(--gold); border-left: 1px solid var(--gold); pointer-events: none }
.home-founder-photo .plate { padding: 26px; border: 0 }
.home-founder-photo .plate .portrait-img { filter: none; opacity: 1 }
.home-founder-caption { display: block; margin-top: 18px; color: var(--subtle); font-size: .65rem; letter-spacing: .04em }
.home-about-copy .h2 { margin-top: 20px; max-width: 16ch }
.home-about-copy .body { margin: 26px 0 30px; max-width: 45ch; color: var(--muted) }
.home-fit-link { display: block; width: fit-content; margin-top: 24px; color: var(--gold); font-size: var(--step--1) }
.home-fit-link:hover { text-decoration: underline; text-underline-offset: 4px }
.home-refresh .faq { border-top-color: #E6E0D6 }
.home-refresh .faq .copy .h2 { max-width: 12ch }

/* Shared closing invitation, without a lead form. */
.audit-booking { border-top-color: var(--line-warm); padding-block: clamp(64px,7vw,104px); overflow: hidden }
.audit-booking-layout { display: grid; grid-template-columns: minmax(0,1.4fr) minmax(240px,.6fr); gap: 30px 56px; align-items: center }
.audit-booking .h2 { max-width: 20ch; margin-top: 20px; font-size: clamp(2.65rem,1.5rem + 3vw,5rem); line-height: 1 }
.audit-booking .body { margin-top: 22px; color: var(--muted) }
.audit-booking-actions { display: grid; justify-items: end; gap: 18px; padding: 36px 0 36px 36px; border-left: 1px solid var(--line-warm) }
.audit-booking-actions .btn { min-width: 220px }
.audit-phone { color: var(--muted); font-size: var(--step--1) }
.audit-phone:hover { color: var(--gold) }

/* Tablet and mobile keep the same content in a natural vertical reading order. */
@media(max-width:1100px) {
  .home-problems-layout { grid-template-columns: minmax(0,.8fr) minmax(0,1.2fr); gap: 48px }
  .home-service-grid { grid-template-columns: repeat(2,minmax(0,1fr)) }
  .home-service-card, .home-service-card:nth-child(-n+2) { grid-column: auto }
  .home-service-card:last-child { grid-column: 1 / -1 }
  .home-service-card:last-child > a { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); gap: 24px; align-items: center }
  .home-service-card:last-child .home-service-copy { padding-block: 24px }
  .home-service-media, .home-service-card:nth-child(-n+2) .home-service-media { aspect-ratio: 3 / 2 }
  .home-connected { grid-template-columns: minmax(0,1fr); gap: 18px }
  .home-connected > .label { max-width: none }
  .home-connected li:first-child { border-left: 0; justify-content: start }
}
@media(max-width:960px) {
  .hero.hero--home { min-height: 0; gap: 48px }
  .home-hero-layout { grid-template-columns: minmax(0,1fr); gap: 40px }
  .home-proof { grid-template-columns: repeat(3,minmax(0,1fr)); gap: 24px; border-left: 0; border-top: 1px solid var(--line-warm); padding: 26px 0 0 }
  .home-proof > div, .home-proof > div:first-child { padding: 0; border-top: 0 }
  .home-proof > div + div { border-left: 1px solid var(--line-warm); padding-left: 24px }
  .home-split, .home-explainer .home-split, .home-audit .home-split { grid-template-columns: minmax(0,1fr) }
  .home-explainer .home-split { row-gap: 32px }
  .home-explainer-copy { padding: 0; border-left: 0 }
  .home-explainer-copy .body { max-width: 62ch }
  .home-problems-layout { grid-template-columns: minmax(0,1fr); gap: 32px }
  .home-problems .home-section-head { position: static; display: flex }
  .home-problems .home-section-head .h2 { max-width: 20ch; margin-bottom: 0 }
  .home-problem-card { grid-template-columns: 72px minmax(0,1fr); gap: 28px }
  .home-problem-index { font-size: 3.5rem }
  .home-problem-content { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,.9fr); gap: 0 32px }
  .home-problem-content > .label, .home-problem-content h3, .home-problem-content > p { grid-column: 1 }
  .home-problem-solution { grid-column: 2; grid-row: 1 / span 3; margin: 0 0 18px; padding: 6px 0 0 22px }
  .home-problem-content > .link { grid-column: 2; justify-self: start; align-self: start }
  .home-audit-copy, .home-audit-visual { grid-column: auto; grid-row: auto }
  .home-audit-frame { aspect-ratio: 16 / 10 }
  .home-audit-facts { max-width: 500px }
  .home-ai-frame { aspect-ratio: 16 / 10 }
  .home-about .home-split { grid-template-columns: minmax(200px,.8fr) minmax(0,1fr); gap: 36px }
  .audit-booking-layout { grid-template-columns: minmax(0,1fr) }
  .audit-booking-actions { justify-items: start; padding: 26px 0 0; border-left: 0; border-top: 1px solid var(--line-warm) }
}
@media(max-width:720px) {
  .home-refresh { --home-space: 64px }
  .hero--home .hero-top { align-items: start }
  .hero--home .hero-top .eyebrow { max-width: 25ch; font-size: .59rem; letter-spacing: .12em }
  .home-scroll-link { display: none }
  .hero--home h1 { font-size: clamp(3.5rem,12vw,5.5rem) }
  .home-actions { align-items: start; flex-direction: column; gap: 22px }
  .home-proof { gap: 14px }
  .home-proof > div + div { padding-left: 14px }
  .home-proof dd { font-size: 2.5rem }
  .home-proof dt { font-size: .54rem; letter-spacing: .02em }
  .home-section-head, .home-problems .home-section-head { align-items: start; flex-direction: column; gap: 24px }
  .home-refresh .h2 { font-size: clamp(2.65rem,9vw,3.8rem) }
  .home-connected ul { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 8px 0 }
  .home-connected li { justify-content: start; padding: 10px 12px; font-size: 1.15rem }
  .home-connected li:nth-child(odd) { border-left: 0; padding-left: 0 }
  .home-problem-card { grid-template-columns: 36px minmax(0,1fr); gap: 18px; padding-block: 28px }
  .home-problem-index { font-size: 2.4rem }
  .home-problem-content { display: block }
  .home-problem-solution { margin: 18px 0 22px; padding: 0 0 0 16px }
  .home-service-grid { grid-template-columns: minmax(0,1fr); gap: 30px }
  .home-service-card:last-child { grid-column: auto }
  .home-service-card:last-child > a { display: block }
  .home-service-copy, .home-service-card:last-child .home-service-copy { padding: 20px 0 24px }
  .home-service-copy h3 { font-size: 2.1rem }
  .home-service-index { top: 16px; left: 16px }
  .home-audit-seal { bottom: 26px; right: 26px; padding: 10px 12px; font-size: 2.6rem }
  .home-about .home-split { grid-template-columns: minmax(0,1fr) }
  .home-founder-photo { max-width: 380px; justify-self: start }
  .home-founder-photo .plate figcaption strong { font-size: 1.8rem }
  .home-ai-badge { bottom: 16px; left: 16px; padding: 10px 14px }
  .home-ai-badge > span { font-size: 2rem }
  .qa summary { grid-template-columns: minmax(0,1fr) 28px; padding: 20px 0; font-size: 1.35rem }
  .qa summary:has(.qa-index) { grid-template-columns: 20px minmax(0,1fr) 28px; gap: 10px }
  .qa summary i { width: 28px; height: 28px }
  .qa .ans { padding-right: 8px }
  .qa:has(.qa-index) .ans { padding-left: 30px }
  .qa-index { font-size: .56rem }
  .hero--dark h1, .hero--light h1 { max-width: none }
  .audit-booking-actions, .audit-booking-actions .btn { width: 100% }
}

/* Content is visible by default. Motion is added only by JavaScript, on entry. */
@media(prefers-reduced-motion:reduce) {
  .home-service-image img, .home-service-arrow, .home-scroll-link span,
  .home-service-copy h3, .link > span, .btn > span, .qa summary i, .detail-card { transition: none }
  .home-service-card a:hover img, .home-service-card a:hover .home-service-arrow,
  .home-scroll-link:hover span, .link:hover > span, .btn:hover > span { transform: none }
}

/* Direct contact and audit pricing use the original theme tokens. */
.site-header .nav { gap: clamp(12px, 1.3vw, 21px) }
.header-phone {
  display: inline-flex; min-height: 40px; align-items: center; color: var(--gold);
  white-space: nowrap; font: 600 .72rem/1.3 var(--sans); font-variant-numeric: tabular-nums;
}
.site-header .header-cta { white-space: nowrap }
.home-process { grid-column: 1 / -1 }
.home-process ol { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px 30px }
.home-process li { display: grid; align-content: start; gap: 6px; padding-top: 16px; border-top: 1px solid var(--line) }
.home-process strong { color: var(--paper); font: 400 clamp(1.3rem, 1rem + .5vw, 1.6rem)/1.2 var(--display) }
.home-process span { color: var(--muted); font-size: var(--step--1) }

.home-pricing, .audit-pricing { margin-top: clamp(48px, 7vw, 96px) }
.home-pricing > .h3, .audit-pricing > .h3 { margin-top: 18px }
.audit-options { margin-top: 26px; column-gap: 34px }
.audit-option { padding-block: 18px 0; border-top-color: var(--line) }
.audit-option .label { margin-top: 0; letter-spacing: .12em }
.audit-option h3 { margin-top: 8px; font: 400 clamp(1.55rem, 2.25vw, 2.2rem)/1.1 var(--display); overflow-wrap: anywhere }
.audit-option .audit-price { margin-top: 12px; color: var(--bronze); font: 400 clamp(1.65rem, 2.7vw, 2.45rem)/1.1 var(--display) }
.audit-price small { font: 500 var(--step--2)/1.3 var(--sans) }
.audit-option .audit-price--quote { font-size: clamp(1.35rem, 2.2vw, 1.8rem) }
.audit-option .svc-list { margin-top: 10px }
.home-audit-credit, .audit-pricing > .body { margin-top: 24px }
.home-scope { margin-top: 25px }
.home-scope .ans { display: grid; grid-template-columns: 1.1fr 1fr; gap: 24px 46px; max-width: 100%; padding-right: 0 }
.home-scope h3 { margin-bottom: 10px; font: 400 1.55rem/1.15 var(--display) }
.home-scope :is(ol, ul) { margin: 12px 0 16px; padding-inline-start: 1.25em; list-style: revert }
.home-scope li { margin-block: 4px }
.home-scope-aside { display: grid; gap: 15px; align-content: start }
.home-fit-copy { padding-left: 24px; border-left: 1px solid var(--line-warm) }
.home-fit .home-fit-link { margin-top: 16px }

/* Seven-question scorecard in the original check panel. */
.scorecard-panel :is(.check-start, .result) > .label { margin-bottom: 10px }
.score-facts {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 20px;
  margin-top: 22px; border-top: 1px solid var(--line);
}
.score-facts > div {
  min-width: 0; display: flex; flex-direction: column-reverse;
  justify-content: start; gap: 5px; border-bottom: 1px solid var(--line); padding: 12px 0;
}
.score-facts dt { color: var(--muted); font-size: var(--step--2); line-height: 1.45 }
.score-facts dd { color: var(--paper); font: 400 1.3rem/1.15 var(--display); overflow-wrap: anywhere }
.score-facts--result { grid-template-columns: repeat(3, minmax(0, 1fr)) }
.score-progress { display: grid; gap: 8px; color: var(--subtle); margin-bottom: 24px; font-size: var(--step--2) }
.score-progress progress { display: block; width: 100%; height: 5px; appearance: none; border: 0; background: var(--line); accent-color: var(--gold) }
.score-progress progress::-webkit-progress-bar { background: var(--line) }
.score-progress progress::-webkit-progress-value { background: var(--gold) }
.score-progress progress::-moz-progress-bar { background: var(--gold) }
.score-hint { color: var(--muted); margin-top: 10px }
.score-options { margin-top: 18px }
.score-choice {
  width: 100%; text-align: left; border-radius: 0; background: var(--panel); line-height: 1.45;
}
.score-choice::before {
  content: ""; width: 18px; height: 18px; margin-top: 3px; border: 1px solid var(--muted); border-radius: 50%;
}
.score-choice[aria-pressed="true"] { border-color: var(--gold); background: var(--warm); color: var(--paper) }
.score-choice[aria-pressed="true"]::before { background: var(--gold); border-color: var(--gold); box-shadow: inset 0 0 0 4px var(--warm) }
.score-fields .field { display: block; margin-top: 5px }
.score-fields label span { color: var(--subtle); font-weight: 400 }
.score-consents { margin-top: 18px }
.score-note, .score-error { margin-top: 12px; color: var(--subtle); font-size: var(--step--1) }
.score-note:empty { display: none }
.score-error { color: #8A3828 }
.scorecard-panel :is(.score-note, .score-calendar p) a { color: var(--bronze); text-decoration: underline; text-underline-offset: 3px }
.score-actions { align-items: center; justify-content: space-between }
.score-actions .link { min-height: 44px; border: 0; cursor: pointer; text-align: left }
.scorecard-panel .fix { margin-top: 24px }
.scorecard-panel .fix .h3 { margin-top: 0 }
.score-audits .audit-options { grid-template-columns: repeat(2, minmax(0,1fr)); gap: 0 16px }
.score-calendar { margin-top: 22px; padding-top: 18px; border-top: 1px solid var(--line-warm) }
.score-calendar p { margin-top: 12px }
.score-calendar-frame { margin-top: 12px }
.score-calendar-frame iframe { display: block; width: 100%; min-height: 710px; border: 1px solid var(--line-warm) }

@media (max-width: 800px) {
  .home-scope .ans { grid-template-columns: minmax(0, 1fr) }
  .home-fit-copy { padding-left: 0; border-left: 0 }
}
@media (max-width: 720px) {
  .home-process ol { grid-template-columns: minmax(0, 1fr) }
  .home-refresh .home-proof dd { font-size: clamp(1.62rem, 7.35vw, 2.5rem) }
  .scorecard-panel { padding-inline: clamp(16px, 4vw, 24px) }
  .score-facts--result { grid-template-columns: repeat(2, minmax(0,1fr)) }
  .score-audits .audit-option h3 { font-size: 1.4rem }
  .score-audits .audit-option .label { font-size: .61rem; letter-spacing: .06em }
  .score-audits .audit-option .audit-price--quote { font-size: 1.2rem }
  .score-audits .audit-option .svc-list li { padding-inline-start: 14px }
  .score-audits .audit-option .svc-list li::before { width: 6px }
}
@media (max-width: 420px) {
  .site-header .wrap { gap: 12px }
  .site-header .menu-btn { padding-left: 0 }
  .score-calendar-frame { margin-inline: -8px }
}
@media (max-width: 350px) {
  .header-phone { font-size: .63rem }
  .site-header .nav { gap: 8px }
}
