/* ============================================================================
   AESTHETIC BROKERS — Design Direction Concept
   Brand-PRESERVING elevation (not a redesign).
   Tokens sampled from the LIVE site (aestheticbrokers.com) — see DESIGN-DIRECTION.md.
   Fonts match the live site: Genos (display), Barlow Condensed (alt/labels), Lato (body).
   ============================================================================ */

/* ---- Fonts (match live site; loaded via Google Fonts CDN) ---- */
/* Genos = display headings (live --heading-font-family), Barlow Condensed = labels/eyebrows
   (live --alt-font-family), Lato = body (live --body-font-family). */

:root {
  /* === PRESERVED BRAND TOKENS (exact hex from live site) === */
  --ab-charcoal:      #112337; /* deepest brand navy-charcoal — live --gf dark, most frequent dark */
  --ab-charcoal-2:    #0c1a29; /* derived deeper shade for layering (within brand family) */
  --ab-black:         #000000; /* live --color-black / --color-header */
  --ab-ink:           #2a3139; /* live --color-heading */
  --ab-body:          #313131; /* live --color-body */
  --ab-teal:          #4cbfa9; /* live --color-primary (THE brand accent) */
  --ab-teal-bright:   #4dbfaa; /* high-frequency live variant */
  --ab-teal-light:    #69c9b7; /* live --color-primary-light */
  --ab-teal-glow:     #7cf6df; /* live bright mint highlight */
  --ab-teal-dark:     #399d8b; /* live --color-primary-dark / link-dark */
  --ab-teal-deep:     #038a7a; /* live deep teal */
  --ab-teal-deepest:  #01655a; /* live --button-background-hover */
  --ab-white:         #ffffff; /* live --color-white */
  --ab-offwhite:      #f6f8fa; /* live --color-alt */
  --ab-grey-100:      #f5f5f5; /* live light-grey section bg */
  --ab-grey-200:      #ebebeb;
  --ab-grey-300:      #c6cace; /* live --color-secondary */
  --ab-grey-500:      #686e77; /* live muted slate */
  --ab-slate:         #585e6a; /* live --gf-color-in-ctrl-dark */

  /* === SEMANTIC ROLES === */
  --bg:               var(--ab-charcoal);
  --bg-deep:          var(--ab-charcoal-2);
  --bg-light:         var(--ab-white);
  --bg-grey:          var(--ab-grey-100);
  --text-on-dark:     var(--ab-white);
  --text-muted-dark:  #aebac8; /* readable muted on charcoal (AA on --ab-charcoal) */
  --text-on-light:    var(--ab-ink);
  --text-muted-light: #586472;
  --accent:           var(--ab-teal-deepest);
  --accent-bright:    var(--ab-teal-glow);
  --hairline-dark:    rgba(124, 246, 223, 0.16); /* teal hairlines on dark */
  --hairline-light:   rgba(17, 35, 55, 0.10);

  /* === TYPE === */
  --font-display: 'Genos', 'Barlow Condensed', system-ui, sans-serif; /* live heading font */
  --font-alt:     'Barlow Condensed', system-ui, sans-serif;          /* live alt/label font */
  --font-body:    'Lato', system-ui, -apple-system, sans-serif;       /* live body font */
  --font-num:     'Barlow Condensed', 'Lato', system-ui, sans-serif;  /* tabular data figures */

  /* === SCALE / SPACE === */
  --container: 1240px;
  --gutter: clamp(20px, 4vw, 64px);
  --radius: 4px;        /* deal-desk = restrained, near-square corners */
  --radius-lg: 8px;
  --shadow-1: 0 2px 8px rgba(0,0,0,.18);
  --shadow-2: 0 18px 50px rgba(0,0,0,.35);
  --shadow-teal: 0 10px 30px rgba(76,191,169,.22);

  /* === MOTION === */
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-out: cubic-bezier(0.22, 0.61, 0.36, 1);
  --dur: 0.55s;
  --dur-fast: 0.28s;
}

/* ---------------------------------------------------------------- Reset */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.62;
  color: var(--text-on-light);
  background: var(--bg-light);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg, video { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }
h1,h2,h3,h4 { margin: 0 0 .5em; font-weight: 600; line-height: 1.04; letter-spacing: -0.01em; }
p { margin: 0 0 1em; }

/* ---------------------------------------------------------------- Layout */
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: clamp(56px, 8vw, 110px); position: relative; }
.section--dark  { background: var(--bg); color: var(--text-on-dark); }
.section--deep  { background: var(--bg-deep); color: var(--text-on-dark); }
.section--grey  { background: var(--bg-grey); color: var(--text-on-light); }
.section--light { background: var(--bg-light); color: var(--text-on-light); }

/* Eyebrow label — Barlow Condensed, tracked, teal (deal-desk system tag) */
.eyebrow {
  font-family: var(--font-alt);
  text-transform: uppercase;
  letter-spacing: 0.28em;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--accent);
  display: inline-flex;
  align-items: center;
  gap: 0.6em;
  margin: 0 0 1.1rem;
}
.eyebrow::before {
  content: "";
  width: 26px; height: 1px; background: var(--accent); display: inline-block;
}
.section--dark .eyebrow, .section--deep .eyebrow { color: var(--accent-bright); }
.section--dark .eyebrow::before, .section--deep .eyebrow::before { background: var(--accent-bright); }

/* Display headings — Genos (live heading font), large & editorial */
.h-display {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(2.4rem, 6vw, 4.6rem);
  line-height: 0.98;
  letter-spacing: -0.005em;
}
.h-display em { font-style: italic; color: var(--accent); font-weight: 500; }
.section--dark .h-display em, .section--deep .h-display em, .hero .h-display em { color: var(--accent-bright); }
.h-section {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(1.9rem, 3.8vw, 3.1rem);
  line-height: 1.02;
}
.h-section--upper { text-transform: uppercase; letter-spacing: 0.02em; }
.lede { font-size: clamp(1.05rem, 1.6vw, 1.28rem); color: var(--text-muted-light); max-width: 62ch; }
.section--dark .lede, .section--deep .lede { color: var(--text-muted-dark); }

/* ---------------------------------------------------------------- Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55em;
  font-family: var(--font-alt);
  text-transform: uppercase; letter-spacing: 0.10em; font-weight: 600;
  font-size: 0.95rem;
  padding: 0.95em 1.7em;
  border-radius: var(--radius);
  border: 1px solid transparent;
  transition: transform var(--dur-fast) var(--ease), background var(--dur-fast) var(--ease), box-shadow var(--dur-fast) var(--ease), color var(--dur-fast) var(--ease);
  will-change: transform;
}
.btn--primary {
  background: linear-gradient(135deg, var(--ab-teal) 0%, var(--ab-teal-dark) 100%);
  color: #05201b; box-shadow: var(--shadow-teal);
}
.btn--primary:hover { transform: translateY(-2px); box-shadow: 0 14px 38px rgba(76,191,169,.34); }
.btn--ghost { background: transparent; color: var(--ab-white); border-color: rgba(255,255,255,.32); }
.btn--ghost:hover { border-color: var(--accent-bright); color: var(--accent-bright); transform: translateY(-2px); }
.btn--ghost-dark { background: transparent; color: var(--ab-ink); border-color: var(--hairline-light); }
.btn--ghost-dark:hover { border-color: var(--accent); color: var(--accent-dark, var(--ab-teal-dark)); transform: translateY(-2px); }
.btn--sm { padding: 0.6em 1.1em; font-size: 0.82rem; }
/* Solid navy button, for use on light/grey panels. */
.btn--dark { background: var(--ab-charcoal); color: var(--ab-white); box-shadow: var(--shadow-1); }
.btn--dark:hover { background: var(--ab-charcoal-2); transform: translateY(-2px); box-shadow: var(--shadow-2); }

/* ============================================================== HEADER
   Reclaims the dead space next to the logo with a deal-ticker + phone/CTA band. */
.site-header { position: sticky; top: 0; z-index: 60; }

/* Top utility band — the reclaimed real estate */
.ticker-band {
  background: var(--ab-charcoal-2);
  border-bottom: 1px solid var(--hairline-dark);
  color: var(--text-on-dark);
  font-size: 0.8rem;
}
.ticker-band__inner {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  height: 38px; overflow: hidden;
}
.ticker {
  display: flex; align-items: center; gap: 0.75rem; flex: 1; min-width: 0;
  font-family: var(--font-alt); letter-spacing: 0.05em;
}
.ticker__tag {
  flex: none; text-transform: uppercase; letter-spacing: 0.18em; font-size: 0.68rem;
  font-weight: 700; color: #05201b; background: var(--accent-bright);
  padding: 2px 8px; border-radius: 2px; position: relative; z-index: 2;
}
/* own clipped lane so the marquee never slides under the tag */
.ticker__lane {
  flex: 1; min-width: 0; overflow: hidden; position: relative;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 24px, #000 92%, transparent 100%);
          mask-image: linear-gradient(90deg, transparent 0, #000 24px, #000 92%, transparent 100%);
}
.ticker__track { display: flex; gap: 2.4rem; white-space: nowrap; width: max-content; }
.ticker__item { color: var(--text-muted-dark); }
.ticker__item b { color: var(--ab-white); font-weight: 700; }
.ticker__item .up { color: var(--accent-bright); font-weight: 700; }
@keyframes ticker { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.ticker-band__phone {
  flex: none; display: flex; align-items: center; gap: 1rem;
  font-family: var(--font-alt); letter-spacing: 0.04em;
}
.ticker-band__phone a { color: var(--accent-bright); font-weight: 700; }
.ticker-band__phone .sep { color: rgba(255,255,255,.25); }

/* Phone + social accounts share the right end of the utility band. */
.ticker-band__aside { flex: none; display: flex; align-items: center; gap: 1.1rem; }
.ticker-band__aside .ticker-band__phone::after {
  content: ""; width: 1px; height: 14px; background: rgba(255,255,255,.18); margin-left: 1.1rem;
}
.ticker-band__aside .ticker-band__phone:only-child::after { display: none; }
.header-social { display: flex; align-items: center; gap: 0.35rem; }
.header-social a {
  width: 26px; height: 26px; border-radius: 3px; display: grid; place-items: center;
  color: var(--text-muted-dark); transition: color var(--dur-fast), background-color var(--dur-fast);
}
.header-social a svg { width: 14px; height: 14px; }
.header-social a:hover, .header-social a:focus-visible { color: var(--accent-bright); background: rgba(255,255,255,.07); }

/* Main nav band */
.nav-band { background: var(--ab-charcoal); border-bottom: 1px solid var(--hairline-dark); }
.nav-band__inner {
  display: flex; align-items: center; gap: clamp(1rem, 3vw, 2.6rem);
  height: 78px;
}
.brand { flex: none; display: flex; align-items: center; }
.brand svg { height: 52px; width: auto; }
.nav { display: flex; align-items: center; gap: clamp(0.8rem, 2vw, 1.8rem); margin-left: auto; }
.nav__link {
  font-family: var(--font-alt); text-transform: uppercase; letter-spacing: 0.10em;
  font-size: 0.92rem; font-weight: 600; color: var(--text-on-dark);
  padding: 0.4em 0.2em; position: relative; white-space: nowrap;
  transition: color var(--dur-fast) var(--ease);
}
.nav__link:hover, .nav__link[aria-expanded="true"] { color: var(--accent-bright); }
.nav__link:focus-visible, .nav__search:focus-visible, .nav-toggle:focus-visible, .btn:focus-visible, .chip:focus-visible, .faq__q:focus-visible {
  outline: 2px solid var(--accent-bright);
  outline-offset: 3px;
}
.nav__item--has-mega { position: static; }
.nav__caret { display: inline-block; margin-left: 0.3em; font-size: 0.7em; opacity: .7; }
.nav__cta { margin-left: 0.4rem; white-space: nowrap; }
.nav__search {
  background: transparent; border: 1px solid var(--hairline-dark); color: var(--text-on-dark);
  width: 38px; height: 38px; border-radius: var(--radius); display: grid; place-items: center;
  transition: border-color var(--dur-fast);
}
.nav__search:hover { border-color: var(--accent-bright); }

/* Mega menu */
.mega {
  position: absolute; left: 0; right: 0; top: 100%;
  background: var(--ab-charcoal-2);
  border-top: 1px solid var(--accent);
  border-bottom: 1px solid var(--hairline-dark);
  box-shadow: var(--shadow-2);
  opacity: 0; visibility: hidden; transform: translateY(-8px);
  transition: opacity var(--dur-fast) var(--ease), transform var(--dur-fast) var(--ease), visibility var(--dur-fast);
  z-index: 70;
}
.nav__item--has-mega:hover .mega,
.nav__item--has-mega:focus-within .mega,
.nav__item--has-mega.is-open .mega { opacity: 1; visibility: visible; transform: translateY(0); }
.mega__inner { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 2.4rem; padding: 2.4rem var(--gutter); }
/* Each column is a stack of tiles, so the gap does the spacing. */
.mega__col { display: flex; flex-direction: column; gap: 0.55rem; align-content: start; }
.mega__col h4 {
  font-family: var(--font-alt); text-transform: uppercase; letter-spacing: 0.16em;
  font-size: 0.74rem; color: var(--accent-bright); margin-bottom: 0.3rem;
}
/* Bordered tiles rather than underlined rows — the whole card is the target. */
.mega__link {
  display: block; position: relative;
  color: var(--text-on-dark); font-size: 0.95rem; line-height: 1.3;
  padding: 0.72rem 1.65rem 0.72rem 0.85rem;
  background: rgba(255,255,255,.022);
  border: 1px solid rgba(255,255,255,.09);
  border-radius: 10px;
  transition: color var(--dur-fast) var(--ease), border-color var(--dur-fast) var(--ease),
              background var(--dur-fast) var(--ease), transform var(--dur-fast) var(--ease),
              box-shadow var(--dur-fast) var(--ease);
}
.mega__link:hover, .mega__link:focus-visible {
  color: var(--accent-bright);
  background: rgba(124,246,223,.06);
  border-color: rgba(124,246,223,.42);
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(0,0,0,.28);
}
/* Chevron slides in on hover; absolutely positioned so nothing reflows. */
.mega__link::after {
  content: "→"; position: absolute; right: 0.7rem; top: 0.72rem;
  color: var(--accent-bright); font-size: 0.9rem; line-height: 1.3;
  opacity: 0; transform: translateX(-5px);
  transition: opacity var(--dur-fast) var(--ease), transform var(--dur-fast) var(--ease);
}
.mega__link:hover::after, .mega__link:focus-visible::after { opacity: 1; transform: translateX(0); }
.mega__link span {
  display: block; margin-top: 0.18rem;
  font-size: 0.78rem; color: var(--text-muted-dark);
  letter-spacing: 0; text-transform: none; line-height: 1.4;
}
.mega__feature {
  background: linear-gradient(160deg, rgba(76,191,169,.14), rgba(17,35,55,0));
  border: 1px solid var(--hairline-dark); border-radius: var(--radius-lg); padding: 1.5rem;
  align-self: start; /* hug its copy instead of stretching to the tallest column */
}
.mega__feature .eyebrow { margin-bottom: .6rem; }
.mega__feature p { color: var(--text-muted-dark); font-size: 0.92rem; }
/* Keep a call-to-action and its trailing arrow together on one line. */
.mega__feature a, .mega__feature strong { white-space: nowrap; }

/* Mobile nav toggle */
.nav-toggle { display: none; }

/* ============================================================== HERO */
.hero { position: relative; overflow: hidden; background: var(--ab-charcoal); color: var(--text-on-dark); isolation: isolate; }
.hero__media {
  position: absolute; inset: 0; z-index: -2; overflow: hidden;
}
.hero__media img {
  width: 100%; height: 100%; object-fit: cover;
  transform: scale(1.06);
  will-change: transform;
}
.gform_validation_errors {
    padding: 0px !important;
    border: none !important;
    margin-bottom: 25px !important;
    background: none !important;
    outline: none !important;
}
@keyframes kenburns {
  from { transform: scale(1.06) translate3d(0,0,0); }
  to   { transform: scale(1.16) translate3d(-1.5%, -1.5%, 0); }
}
.hero__scrim {
  position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(90deg, rgba(12,26,41,.96) 0%, rgba(12,26,41,.82) 45%, rgba(12,26,41,.55) 100%),
    linear-gradient(0deg, rgba(12,26,41,.92), rgba(12,26,41,.25));
}
.hero__motion-tag {
  position: absolute; right: 18px; top: 18px; z-index: 2;
  font-family: var(--font-alt); font-size: 0.66rem; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--accent-bright); background: rgba(12,26,41,.6); border: 1px solid var(--hairline-dark);
  padding: 4px 10px; border-radius: 2px;
}
.hero__inner { position: relative; padding-block: clamp(72px, 12vw, 150px); max-width: 880px; }
.hero h1 { margin-bottom: 0.7rem; }
.hero__sub {
  font-family: var(--font-alt); text-transform: uppercase; letter-spacing: 0.22em;
  color: var(--accent-bright); font-size: clamp(0.95rem, 1.6vw, 1.2rem); font-weight: 600; margin-bottom: 1.6rem;
}
.hero__lede { font-size: clamp(1.05rem, 1.7vw, 1.35rem); color: var(--text-muted-dark); max-width: 58ch; margin-bottom: 2rem; }
.hero__cta-row { display: flex; flex-wrap: wrap; gap: 0.9rem; align-items: center; }
.hero__trust {
  display: flex; flex-wrap: wrap; gap: 1.6rem; margin-top: 2.6rem;
  padding-top: 1.6rem; border-top: 1px solid var(--hairline-dark);
}
.hero__trust div { line-height: 1.2; }
.hero__trust b { font-family: var(--font-num); font-size: 1.7rem; font-weight: 700; color: var(--ab-white); display: block; }
.hero__trust span { font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.12em; color: var(--text-muted-dark); }

/* ============================================================== VERTICALS GRID */
/* Two-column dark cards: icon + title + tier badge on one row, description always
   visible, ghost row number top-right, and an explicit "view specialist" link. */
.verticals__lede {
  font-family: var(--font-body); font-style: italic;
  font-size: clamp(1rem, 1.5vw, 1.14rem); line-height: 1.55;
  color: var(--text-muted-light); max-width: 56ch;
  border-left: 3px solid var(--ab-teal); padding-left: 1.1rem; margin: 1.2rem 0 0;
}
.verticals-grid {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: clamp(0.9rem, 1.6vw, 1.3rem);
}
.vcard {
  position: relative; overflow: hidden; isolation: isolate;
  background: var(--ab-charcoal-2); color: var(--ab-white);
  border: 1px solid transparent; border-radius: var(--radius-lg);
  padding: clamp(1.3rem, 2.2vw, 1.75rem);
  display: flex; flex-direction: column; gap: 0.55rem;
  transition: transform var(--dur-fast) var(--ease), border-color var(--dur-fast) var(--ease), box-shadow var(--dur-fast) var(--ease);
}
.vcard:hover { transform: translateY(-4px); border-color: rgba(124,246,223,.34); box-shadow: var(--shadow-2); }
/* Ghost row number, decorative only (aria-hidden in markup). */
.vcard__num {
  position: absolute; top: 0.35rem; right: 1rem; z-index: -1;
  font-family: var(--font-num); font-weight: 700; font-size: clamp(3.2rem, 5vw, 4.4rem);
  line-height: 1; color: rgba(255,255,255,.055); letter-spacing: -0.02em;
  transition: color var(--dur) var(--ease);
}
.vcard:hover .vcard__num { color: rgba(124,246,223,.11); }
.vcard__head { display: flex; align-items: center; flex-wrap: wrap; gap: 0.55rem; }
.vcard__icon { width: 26px; height: 26px; flex: none; opacity: .95; }
.vcard__icon img { width: 100%; height: 100%; object-fit: contain; }
.vcard h3 {
  font-family: var(--font-display); font-weight: 500; font-size: clamp(1.2rem, 1.8vw, 1.42rem);
  line-height: 1.05; margin: 0; color: var(--ab-white);
}
.vcard__tier {
  font-family: var(--font-alt); text-transform: uppercase; letter-spacing: 0.12em;
  font-size: 0.62rem; font-weight: 700; line-height: 1;
  padding: 0.42em 0.62em; border-radius: 3px;
  background: var(--ab-teal); color: #05201b; white-space: nowrap;
}
.vcard p { font-size: 0.88rem; line-height: 1.5; color: var(--text-muted-dark); margin: 0; }
.vcard__link {
  display: inline-flex; align-items: center; gap: 0.5em; margin-top: 0.35rem;
  font-size: 0.8rem; font-weight: 700; color: var(--accent-bright);
  transition: gap var(--dur-fast) var(--ease);
}
.vcard:hover .vcard__link { gap: 0.85em; }

/* ============================================================== TRACK-RECORD SPINE */
.spine { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(1.5rem, 4vw, 3.5rem); }
.spine__stat { text-align: left; position: relative; padding-left: 1.4rem; }
.spine__stat::before { content:""; position:absolute; left:0; top:.4rem; bottom:.4rem; width:3px; background: linear-gradient(var(--accent-bright), transparent); }
.spine__num {
  font-family: var(--font-num); font-weight: 700; line-height: 0.92;
  font-size: clamp(3rem, 8vw, 5.6rem); color: var(--ab-white);
  font-variant-numeric: tabular-nums; letter-spacing: -0.01em;
}
.spine__num .suffix { color: var(--accent-bright); }
.spine__label { font-family: var(--font-alt); text-transform: uppercase; letter-spacing: 0.14em; font-size: 0.9rem; color: var(--text-muted-dark); margin-top: 0.5rem; }
.spine__note { font-size: 0.76rem; color: var(--text-muted-dark); margin-top: 0.4rem; }

/* ============================================================== MULTIPLE METER */
.meter-wrap { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.meter {
  background: var(--ab-charcoal-2); border: 1px solid var(--hairline-dark);
  border-radius: var(--radius-lg); padding: clamp(1.6rem, 3vw, 2.6rem); box-shadow: var(--shadow-2);
}
.meter__row { margin-bottom: 1.8rem; }
.meter__row:last-child { margin-bottom: 0; }
.meter__head { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 0.6rem; }
.meter__name { font-family: var(--font-alt); text-transform: uppercase; letter-spacing: 0.1em; font-size: 0.82rem; color: var(--text-muted-dark); }
.meter__val { font-family: var(--font-num); font-weight: 700; font-size: 1.5rem; color: var(--ab-white); font-variant-numeric: tabular-nums; }
.meter__val--hi { color: var(--accent-bright); }
.meter__bar { height: 12px; background: rgba(255,255,255,.06); border-radius: 100px; overflow: hidden; }
.meter__fill { height: 100%; border-radius: 100px; width: 0; transition: width 1.4s var(--ease-out); }
.meter__fill--base { background: linear-gradient(90deg, var(--ab-slate), var(--ab-grey-500)); }
.meter__fill--hi { background: linear-gradient(90deg, var(--ab-teal-dark), var(--accent-bright)); box-shadow: 0 0 18px rgba(124,246,223,.4); }
.meter__caption { font-size: 0.78rem; color: var(--text-muted-dark); margin-top: 1.4rem; }

/* ============================================================== ESTIMATOR TEASER */
.estimator {
  background: linear-gradient(150deg, var(--ab-white), var(--ab-offwhite));
  border: 1px solid var(--hairline-light); border-radius: var(--radius-lg);
  box-shadow: var(--shadow-1); overflow: hidden;
}
.estimator__grid { display: grid; grid-template-columns: 1fr 1fr; }
.estimator__form { padding: clamp(1.6rem, 3vw, 2.8rem); border-right: 1px solid var(--hairline-light); display: flex; flex-direction: column; justify-content: space-between; }
.estimator__result { padding: clamp(1.6rem, 3vw, 2.8rem); background: var(--ab-charcoal); color: var(--text-on-dark); position: relative; }
.estimator__step { font-family: var(--font-alt); text-transform: uppercase; letter-spacing: 0.16em; font-size: 0.72rem; color: var(--accent); font-weight: 700; }
.field { margin-bottom: 1.3rem; }
.field > label { display: block; font-family: var(--font-alt); text-transform: uppercase; letter-spacing: 0.08em; font-size: 0.78rem; color: var(--text-muted-light); margin-bottom: 0.5rem; font-weight: 600; }
.chip-row { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.chip {
  border: 1px solid var(--hairline-light); background: var(--ab-white); color: var(--text-on-light);
  border-radius: 100px; padding: 0.45em 0.95em; font-size: 0.85rem; font-family: var(--font-body);
  transition: all var(--dur-fast) var(--ease);
}
.chip:hover { border-color: var(--accent); }
.chip[aria-checked="true"], .chip.is-active { background: var(--ab-teal); border-color: var(--ab-teal); color: #05201b; font-weight: 700; box-shadow: 0 0 0 3px rgba(76,191,169,.22), 0 6px 16px rgba(76,191,169,.28); }
.range-wrap { display: flex; align-items: center; gap: 1rem; }
input[type="range"] { flex: 1; accent-color: var(--ab-teal); height: 6px; }
.range-val { font-family: var(--font-num); font-weight: 700; font-size: 1.1rem; min-width: 5.5ch; text-align: right; color: var(--ab-ink); }
.estimator__range-out { font-family: var(--font-num); font-weight: 700; font-variant-numeric: tabular-nums; font-size: clamp(2rem, 5vw, 3.2rem); color: var(--accent-bright); line-height: 1; margin: 0.4rem 0 0.2rem; }
.estimator__multiple { color: var(--text-muted-dark); font-size: 0.92rem; margin-bottom: 1.2rem; }
.estimator__multiple b { color: var(--ab-white); font-family: var(--font-num); }
.estimator__levers { list-style: none; padding: 0; margin: 0 0 1.4rem; }
.estimator__levers li { font-size: 0.86rem; padding: 0.35em 0 0.35em 1.5em; position: relative; color: var(--text-muted-dark); }
.estimator__levers li::before { content: "↑"; position: absolute; left: 0; color: var(--accent-bright); font-weight: 700; }
.estimator__confidential { font-size: 0.74rem; color: var(--text-muted-dark); border-top: 1px solid var(--hairline-dark); padding-top: 1rem; margin-top: 1rem; display:flex; gap:.5rem; }

/* ============================================================== BRIEFING ROOM (founder) */
.briefing { background: var(--bg-deep); color: var(--text-on-dark); }
.briefing__grid { display: grid; grid-template-columns: 0.95fr 1.05fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.briefing__video { position: relative; border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--hairline-dark); box-shadow: var(--shadow-2); aspect-ratio: 4 / 5; background: var(--ab-charcoal-2); }
.briefing__video img { width: 100%; height: 100%; object-fit: cover; opacity: .94; }
.briefing__play {
  position: absolute; inset: 0; display: grid; place-items: center; z-index: 2;
}
.briefing__play button {
  width: 84px; height: 84px; border-radius: 50%; border: 1px solid rgba(255,255,255,.4);
  background: rgba(12,26,41,.5); color: var(--ab-white); backdrop-filter: blur(4px);
  display: grid; place-items: center; transition: transform var(--dur-fast) var(--ease), background var(--dur-fast);
}
.briefing__play button:hover { transform: scale(1.08); background: var(--accent); color: #05201b; }
.briefing__tag { position: absolute; left: 16px; bottom: 16px; z-index: 2; font-family: var(--font-alt); text-transform: uppercase; letter-spacing: .14em; font-size: .68rem; color: var(--accent-bright); background: rgba(12,26,41,.7); padding: 5px 10px; border-radius: 2px; }
.briefing__creds { list-style: none; padding: 0; margin: 1.6rem 0 0; display: grid; gap: 0.9rem; }
.briefing__creds li { display: flex; gap: 0.9rem; align-items: flex-start; font-size: 0.98rem; color: var(--text-muted-dark); }
.briefing__creds svg { flex: none; margin-top: 3px; color: var(--accent-bright); }
.briefing__creds b { color: var(--ab-white); font-weight: 700; }

/* ============================================================== TOMBSTONE BOARD */
.tomb-board { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; }
.tomb-board--pair { grid-template-columns: repeat(2, 1fr); }
.tomb {
  background: linear-gradient(160deg, var(--ab-charcoal-2), var(--ab-charcoal));
  border: 1px solid var(--hairline-dark); border-radius: var(--radius); padding: 1.4rem 1.2rem;
  position: relative; overflow: hidden;
}
.tomb::after { content:""; position:absolute; inset:0; background: repeating-linear-gradient(45deg, transparent, transparent 14px, rgba(124,246,223,.02) 14px, rgba(124,246,223,.02) 15px); pointer-events:none; }
.tomb__type { font-family: var(--font-alt); text-transform: uppercase; letter-spacing: 0.14em; font-size: 0.68rem; color: var(--accent-bright); font-weight: 700; }
.tomb__val { font-family: var(--font-num); font-weight: 700; font-size: 1.7rem; color: var(--ab-white); margin: 0.5rem 0 0.1rem; font-variant-numeric: tabular-nums; }
.tomb__redact { display: inline-block; height: 0.95em; border-radius: 2px; background: repeating-linear-gradient(90deg, #2a3a4d, #2a3a4d 6px, #1c2a3a 6px, #1c2a3a 12px); color: transparent; user-select: none; vertical-align: middle; }
.tomb__meta { font-size: 0.8rem; color: var(--text-muted-dark); margin-top: 0.7rem; line-height: 1.5; }
.tomb__meta .lbl { color: var(--text-muted-dark); }
.tomb__role { font-family: var(--font-alt); text-transform: uppercase; letter-spacing: 0.1em; font-size: 0.66rem; color: var(--accent-bright); border-top: 1px solid var(--hairline-dark); margin-top: 0.9rem; padding-top: 0.7rem; }

/* ============================================================== PROCESS */
/* Four steps is the common case, but a three-step row should fill the width
   rather than leave an empty fourth column. */
.process { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.2rem; counter-reset: step; }
.process:has(> .process__step:nth-child(3):last-child) { grid-template-columns: repeat(3, 1fr); }
.process:has(> .process__step:nth-child(2):last-child) { grid-template-columns: repeat(2, 1fr); }
.process__step { position: relative; padding-top: 2.4rem; }
.process__step::before {
  counter-increment: step; content: "0" counter(step);
  position: absolute; top: 0; left: 0; font-family: var(--font-num); font-weight: 700; font-size: 1.1rem;
  color: var(--accent); letter-spacing: 0.1em;
}
.process__step::after { content:""; position:absolute; top:0.55rem; left:2.6rem; right:0; height:1px; background: var(--hairline-light); }
.section--dark .process__step::after, .section--deep .process__step::after { background: var(--hairline-dark); }
.process__step:last-child::after { display:none; }
.process__step h3 { font-family: var(--font-display); font-weight: 500; font-size: 1.5rem; margin-bottom: 0.4rem; }
.process__step p { font-size: 0.92rem; color: var(--text-muted-light); margin: 0; }
.section--dark .process__step p, .section--deep .process__step p { color: var(--text-muted-dark); }

/* ============================================================== CLOSING CTA */
.closer { text-align: center; }
.closer .h-display { max-width: 16ch; margin-inline: auto; }
.closer__quizzes { display: flex; flex-wrap: wrap; gap: 1.2rem; justify-content: center; margin-top: 2.2rem; }
.quiz-card {
  flex: 1 1 300px; max-width: 380px; text-align: left;
  background: var(--ab-charcoal-2); border: 1px solid var(--hairline-dark); border-radius: var(--radius-lg);
  padding: 1.8rem; transition: transform var(--dur-fast) var(--ease), border-color var(--dur-fast);
}
.quiz-card:hover { transform: translateY(-4px); border-color: var(--accent); }
.quiz-card h3 { font-family: var(--font-display); font-weight: 500; font-size: 1.6rem; }
.quiz-card p { color: var(--text-muted-dark); font-size: 0.92rem; }

/* ============================================================== FOOTER */
.footer { background: var(--ab-charcoal-2); color: var(--text-on-dark); position: relative; overflow: hidden; }
.footer__banner { position: absolute; inset: 0; z-index: 0; opacity: 0.10; }
.footer__banner img { width: 100%; height: 100%; object-fit: cover; }
.footer__inner { position: relative; z-index: 1; }
.footer__top { display: grid; grid-template-columns: 1.3fr 1.5fr; gap: clamp(2rem, 5vw, 4.5rem); padding-block: clamp(48px, 7vw, 84px); align-items: start; }
.footer__brand-svg { height: 44px; width: auto; margin-bottom: 1.4rem; }
.footer__tag { font-family: var(--font-display); font-weight: 500; font-size: 1.6rem; color: var(--accent-bright); margin-bottom: 1.2rem; }
.footer__addr { font-size: 0.95rem; color: var(--text-muted-dark); line-height: 1.8; }
.footer__addr a { color: var(--accent-bright); }
.footer__addr .one-phone { font-family: var(--font-num); font-weight: 700; font-size: 1.15rem; color: var(--ab-white); }
.footer__social { display: flex; gap: 0.7rem; margin-top: 1.4rem; }
.footer__social a { width: 38px; height: 38px; border: 1px solid var(--hairline-dark); border-radius: var(--radius); display: grid; place-items: center; color: var(--text-on-dark); transition: all var(--dur-fast); }
.footer__social a:hover { border-color: var(--accent); color: var(--accent-bright); transform: translateY(-2px); }

/* The Connect block is a raised panel so the form reads as its own card and
   never looks like loose fields painted onto the footer background. */
.connect {
  background: linear-gradient(180deg, rgba(255,255,255,.055), rgba(255,255,255,.025));
  border: 1px solid var(--hairline-dark);
  border-radius: var(--radius-lg);
  padding: clamp(1.6rem, 3vw, 2.6rem);
  box-shadow: var(--shadow-2);
  position: relative;
  backdrop-filter: blur(2px);
}
/* Teal rule across the top edge — same signal as the section eyebrows. */
.connect::before {
  content: ""; position: absolute; inset: -1px auto auto -1px; width: calc(100% + 2px); height: 3px;
  background: linear-gradient(90deg, var(--ab-teal), var(--accent-bright));
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
}
.connect h3 { font-family: var(--font-display); font-weight: 500; font-size: clamp(1.8rem, 3vw, 2.6rem); color: var(--ab-white); margin-bottom: 0.4rem; }
.connect p { color: var(--text-muted-dark); margin-bottom: 1.4rem; }
.connect__form { display: grid; grid-template-columns: 1fr 1fr; gap: 0.9rem; }
.connect__form .full { grid-column: 1 / -1; }
.connect__form input, .connect__form textarea {
  width: 100%; background: rgba(4, 12, 22, .55); border: 1px solid var(--hairline-dark);
  border-radius: var(--radius); padding: 0.85em 1em; color: var(--ab-white); font-family: var(--font-body); font-size: 0.95rem;
  transition: border-color var(--dur-fast);
}
.connect__form input::placeholder, .connect__form textarea::placeholder { color: var(--text-muted-dark); }
.connect__form input:focus, .connect__form textarea:focus { border-color: var(--accent); }
.connect__form input:focus-visible, .connect__form textarea:focus-visible {
  outline: 2px solid var(--accent-bright);
  outline-offset: 3px;
}
.connect__form textarea { min-height: 92px; resize: vertical; }

.footer__columns { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2rem; padding-block: 2.4rem; border-top: 1px solid var(--hairline-dark); position: relative; z-index: 1; }
.footer__col h4 { font-family: var(--font-alt); text-transform: uppercase; letter-spacing: 0.16em; font-size: 0.74rem; color: var(--accent-bright); margin-bottom: 1rem; }
.footer__col a { display: block; color: var(--text-muted-dark); font-size: 0.92rem; padding: 0.3em 0; transition: color var(--dur-fast), padding-left var(--dur-fast); }
.footer__col a:hover { color: var(--accent-bright); padding-left: 5px; }
.footer__legal { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; padding-block: 1.6rem; border-top: 1px solid var(--hairline-dark); font-size: 0.8rem; color: var(--text-muted-dark); position: relative; z-index: 1; }

/* ============================================================== STICKY MOBILE CTA */
.sticky-cta {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 80; display: none;
  background: var(--ab-charcoal-2); border-top: 1px solid var(--accent);
  padding: 0.6rem var(--gutter); gap: 0.6rem; box-shadow: 0 -8px 24px rgba(0,0,0,.4);
  transition: transform .35s ease;
}
.sticky-cta.is-away { transform: translateY(130%); }
.sticky-cta .btn { flex: 1; padding-block: 0.85em; }
.sticky-cta__phone { flex: none; width: 50px; display: grid; place-items: center; border: 1px solid var(--hairline-dark); border-radius: var(--radius); color: var(--accent-bright); }

/* ============================================================== INTERNAL HERO (hub page) */
.ihero { position: relative; overflow: hidden; background: var(--ab-charcoal); color: var(--text-on-dark); isolation: isolate; }
.ihero__media { position: absolute; inset: 0; z-index: -2; }
.ihero__media img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.06); }
.ihero__scrim { position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(12,26,41,.97) 0%, rgba(12,26,41,.8) 50%, rgba(12,26,41,.55) 100%); }
.ihero__inner { padding-block: clamp(56px, 9vw, 110px); max-width: 760px; }
.ihero__crumbs { font-family: var(--font-alt); text-transform: uppercase; letter-spacing: 0.12em; font-size: 0.76rem; color: var(--text-muted-dark); margin-bottom: 1.2rem; }
.ihero__crumbs a { color: var(--accent-bright); }
.ihero h1 { font-family: var(--font-display); font-weight: 500; font-size: clamp(2.2rem, 5.2vw, 4rem); line-height: 1; margin-bottom: 0.8rem; }
.ihero h1 em { font-style: italic; color: var(--accent-bright); }
.ihero__lede { color: var(--text-muted-dark); font-size: clamp(1rem, 1.6vw, 1.25rem); max-width: 52ch; margin-bottom: 1.8rem; }

/* hub dashboard teaser */
.dash { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(1.5rem,4vw,3rem); align-items:center; }
.dash__table { width: 100%; border-collapse: collapse; background: var(--ab-white); border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-1); }
.dash__table caption { text-align: left; font-family: var(--font-alt); text-transform: uppercase; letter-spacing: 0.1em; font-size: 0.78rem; color: var(--text-muted-light); padding: 1rem 1.2rem 0.3rem; }
.dash__table th, .dash__table td { text-align: left; padding: 0.85em 1.2em; border-bottom: 1px solid var(--hairline-light); font-variant-numeric: tabular-nums; }
.dash__table thead th { font-family: var(--font-alt); text-transform: uppercase; letter-spacing: 0.08em; font-size: 0.74rem; color: var(--text-muted-light); background: var(--ab-grey-100); }
.dash__table td.num { font-family: var(--font-num); font-weight: 700; color: var(--ab-ink); }
.dash__table tr:last-child td { border-bottom: none; }
.dash__table .hi td { background: rgba(76,191,169,.08); }
.dash__note { font-size: 0.78rem; color: var(--text-muted-light); margin-top: 0.8rem; }

/* sub-topic cards */
.subtopics { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2rem; }
.subtopics--single { grid-template-columns: 1fr; }
.subcard { background: var(--ab-white); border: 1px solid var(--hairline-light); border-radius: var(--radius-lg); padding: 1.6rem; transition: transform var(--dur-fast) var(--ease), border-color var(--dur-fast), box-shadow var(--dur-fast); }
.subcard:hover { transform: translateY(-4px); border-color: var(--accent); box-shadow: var(--shadow-1); }
.subcard h3 { font-family: var(--font-display); font-weight: 500; font-size: 1.4rem; margin-bottom: 0.4rem; color:#000}
.subcard p { font-size: 0.9rem; color: var(--text-muted-light); margin: 0 0 0.8rem; }
.subcard a { font-family: var(--font-alt); text-transform: uppercase; letter-spacing: 0.08em; font-size: 0.8rem; color: var(--ab-teal-deepest); font-weight: 700; }

/* FAQ / "Straight Answers": centred head, side rail + numbered accordion */
.faq-head { max-width: 700px; margin: 0 auto clamp(2.2rem, 4vw, 3.4rem); }
.faq-layout { display: grid; grid-template-columns: 340px 1fr; gap: clamp(2rem, 5vw, 4rem); align-items: start; }
.faq-layout--solo { grid-template-columns: 1fr; max-width: 820px; margin-inline: auto; }

.faq-rail { position: sticky; top: 96px; }
.faq-rail__figure { margin: 0; aspect-ratio: 1 / 0.95; border-radius: var(--radius-lg); overflow: hidden; background: var(--ab-charcoal-2); }
.faq-rail__figure img { width: 100%; height: 100%; object-fit: cover; }
.faq-rail__note { font-size: 0.88rem; line-height: 1.6; color: var(--text-muted-light); margin: 1.1rem 0 1.3rem; }
.faq-rail__btn { width: 100%; background: var(--ab-charcoal); color: var(--accent-bright); }
.faq-rail__btn:hover { background: var(--ab-charcoal-2); color: var(--ab-white); transform: translateY(-2px); }

/* Base accordion — also used un-numbered by the Deal Dictionary section. */
.faq { max-width: 820px; margin-inline: auto; border-top: 1px solid var(--hairline-light); }
.faq__item { border-bottom: 1px solid var(--hairline-light); }
.faq__q {
  display: flex; align-items: flex-start; gap: 1rem; position: relative;
  width: 100%; text-align: left; background: none; border: none; padding: 1.15em 2.5em 1.15em 0;
  font-family: var(--font-display); font-weight: 500; font-size: clamp(1.05rem, 1.6vw, 1.25rem);
  line-height: 1.25; color: var(--ab-ink);
}
.faq__num { flex: none; min-width: 1.8em; padding-top: 0.42em; font-family: var(--font-num); font-weight: 700; font-size: 0.66em; letter-spacing: 0.08em; color: var(--text-muted-light); }
.faq__q-text { flex: 1; }
.faq__q::after { content: "+"; position: absolute; right: 0; top: 0.9em; font-family: var(--font-body); font-size: 1.4rem; line-height: 1; color: var(--text-muted-light); transition: color var(--dur-fast); }
.faq__q:hover::after { color: var(--accent); }
.faq__item.is-open .faq__q::after { content: "−"; color: var(--accent); }
.faq__a { max-height: 0; overflow: hidden; transition: max-height var(--dur) var(--ease); }
.faq__a[hidden] { display: none; }
.faq__item.is-open .faq__a { max-height: none; }
.faq__a p { padding-bottom: 1.4em; color: var(--text-muted-light); margin: 0; }

/* Numbered two-column variant: full width beside the rail, answers indented past
   the number column. Scoped to .faq-layout so the Dictionary keeps its own look. */
.faq-layout .faq { max-width: none; margin-inline: 0; }
.faq-layout .faq__a { padding-left: 2.6rem; }

/* conversion ring (always-on CTA strip) */
.ring { background: linear-gradient(135deg, var(--ab-teal) 0%, var(--ab-teal-dark) 100%); color: var(--ab-charcoal); }
.ring__inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.4rem; padding-block: clamp(28px, 4vw, 44px); }
.ring h3 { font-family: var(--font-display); font-weight: 500; font-size: clamp(1.5rem, 3vw, 2.2rem); color: var(--ab-charcoal); margin: 0; }
.ring p { color: var(--ab-charcoal); margin: 0.2rem 0 0; }
.ring .btn--primary { background: var(--ab-charcoal); color: var(--ab-white); box-shadow: 0 10px 30px rgba(0,0,0,.22); }
.ring .btn--primary:hover { background: var(--ab-white); color: var(--ab-charcoal); }

/* ============================================================== SCROLL REVEAL */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }
.reveal[data-delay="1"] { transition-delay: .08s; }
.reveal[data-delay="2"] { transition-delay: .16s; }
.reveal[data-delay="3"] { transition-delay: .24s; }
.reveal[data-delay="4"] { transition-delay: .32s; }

/* section intro block */
.s-head { max-width: 760px; margin-bottom: clamp(2rem, 4vw, 3.4rem); }
.s-head--center { margin-inline: auto; text-align: center; }

/* ============================================================== RESPONSIVE */
@media (max-width: 1080px) {
  .tomb-board { grid-template-columns: repeat(2, 1fr); }
  .process { grid-template-columns: repeat(2, 1fr); }
  .footer__columns { grid-template-columns: repeat(2, 1fr); }
  .mega__inner { grid-template-columns: 1fr 1fr; }
  .mega__feature { grid-column: 1 / -1; }
}
@media (max-width: 860px) {
  .nav {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    z-index: 80;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    margin-left: 0;
    padding: 0.8rem var(--gutter) 1rem;
    background: var(--ab-charcoal);
    border-top: 1px solid var(--hairline-dark);
    border-bottom: 1px solid var(--hairline-dark);
    box-shadow: var(--shadow-2);
  }
  .site-header.is-nav-open .nav { display: flex; }
  .nav__link, .nav__search, .nav__cta { width: 100%; }
  .nav__link { padding: 0.85em 0; border-bottom: 1px solid var(--hairline-dark); }
  .nav__item--has-mega .nav__link { display: flex; align-items: center; justify-content: space-between; }
  .nav__search { margin-top: 0.75rem; }
  .nav__cta { margin: 0.75rem 0 0; }
  .mega {
    display: none;
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    border: 0;
    border-bottom: 1px solid var(--hairline-dark);
    background: rgba(12,26,41,.62);
  }
  .nav__item--has-mega.is-open .mega { display: block; }
  .mega__inner { grid-template-columns: 1fr; gap: 1rem; padding: 0.7rem 0 1rem; }
  .mega__feature { grid-column: auto; }
  .nav-toggle { display: grid; place-items: center; margin-left: auto; width: 44px; height: 44px; background: transparent; border: 1px solid var(--hairline-dark); border-radius: var(--radius); color: #fff; }
  .ticker-band__phone .label-long { display: none; }
  .meter-wrap, .briefing__grid, .estimator__grid, .footer__top, .dash, .spine { grid-template-columns: 1fr; }
  .estimator__form { border-right: none; border-bottom: 1px solid var(--hairline-light); }
  .spine { gap: 2.2rem; }
  .faq-layout { grid-template-columns: 1fr; }
  .faq-rail { position: static; max-width: 420px; }
  .sticky-cta { display: flex; }
  .footer { padding-bottom: 70px; } /* clear sticky CTA */
  .subtopics { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .verticals-grid { grid-template-columns: 1fr; }
  .tomb-board, .process, .footer__columns { grid-template-columns: 1fr; }
  body { font-size: 16px; }
}

/* ============================================================== REDUCED MOTION */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; scroll-behavior: auto !important; }
  .hero__media img, .ihero__media img, .ticker__track { animation: none !important; }
  .reveal { opacity: 1 !important; transform: none !important; }
}

/* ============================================================== GATE-C A11Y/CONTRAST FIXES (2026-06-19) */
/* Disclaimer fine-print on dark/deep sections: --ab-slate #585e6a fails AA on charcoal.
   Lift only the dark-section inline-styled disclaimers to --text-muted-dark (8:1+). Light-section
   disclaimers (section--grey) keep --ab-slate, which passes ~6.3:1 on #f5f5f5. */
.section--dark p[style*="ab-slate"],
.section--deep p[style*="ab-slate"] { color: var(--text-muted-dark) !important; }

/* Conversion ring (revised 2026-07-28): the deep sea-green floor (#038a7a → #01655a) read as
   an off-brand green next to the mint accent used everywhere else. Now uses the brand primary
   (--ab-teal → --ab-teal-dark) with charcoal text, which clears AA at the darkest stop (4.8:1).
   See the base .ring rules above — no override needed here. */

/* Estimator "what lowers your number" list — honest downside, muted (not alarmist). */
.estimator__levers--down li::before { content: "↓"; color: var(--text-muted-dark); }
.estimator__levers--down li { color: var(--text-muted-dark); }
.estimator__lever-head { font-family: var(--font-alt); text-transform: uppercase; letter-spacing: .1em; font-size: .74rem; margin: .9rem 0 .5rem; color: var(--accent-bright); }
.estimator__lever-head--down { color: var(--text-muted-dark); }

/* Med-spa value-driver table: avoid mid-phrase wrapping on small screens. */
@media (max-width: 560px) {
  .dash__table th, .dash__table td { padding: 0.6em 0.65em; }
  .dash__table caption { padding: 0.8rem 0.7rem 0.3rem; }
}

/* NDA / confidentiality checkbox on the capture form (footer, dark bg). */
.connect__nda { display: flex; gap: 0.55rem; align-items: flex-start; font-size: 0.78rem; line-height: 1.45; color: var(--text-muted-dark); cursor: pointer; }
.connect__nda input { width: auto; flex: none; margin-top: 0.2rem; accent-color: var(--ab-teal); }

/* ===== Founder credibility strip (Wave B) ===== */
.founder-strip{display:grid;grid-template-columns:auto 1fr;gap:2.4rem;align-items:center;max-width:980px;margin:0 auto}
.founder-strip__photo{width:180px;height:180px;object-fit:cover;object-position:top center;border-radius:14px;border:1px solid #4cbfa9;flex-shrink:0}
.founder-strip__body h2{margin:.2rem 0 .9rem}
.founder-strip__body p{margin:0 0 1.3rem}
@media(max-width:680px){.founder-strip{grid-template-columns:1fr;gap:1.4rem}.founder-strip__photo{width:128px;height:128px}}

/* ===== Estimator deliverables gate (Wave C) ===== */
.est-deliverables{margin:1.3rem 0 1.1rem;text-align:left}
.est-deliverables__lead{font-weight:700;margin:0 0 .55rem}
.est-deliverables ul{list-style:none;padding:0;margin:0;display:grid;gap:.55rem}
.est-deliverables li{position:relative;padding-left:1.45rem;font-size:.95rem;line-height:1.45}
.est-deliverables li::before{content:"";position:absolute;left:0;top:.52rem;width:.58rem;height:.58rem;border-radius:50%;background:#4cbfa9}

/* ============================================================== WAVE 5: MOTION + INTERACTION LAYER */
/* Mobile sticky mini range chip: top-anchored (never conflicts with .sticky-cta at bottom).
   Layout/position rules stay unconditional so its default (hidden, translated off-screen)
   state holds even under reduced motion; only the transition easing lives in the gated block below. */
.mini-est-chip {
  position: fixed; left: 50%; top: 0; z-index: 55; transform: translate(-50%, -140%);
  display: flex; align-items: center; gap: .55rem; border: 1px solid var(--accent-bright);
  background: var(--ab-charcoal-2); color: var(--ab-white); border-radius: 100px;
  padding: .55rem 1.05rem; box-shadow: var(--shadow-2); font: inherit; cursor: pointer;
  pointer-events: none;
}
.mini-est-chip.is-shown { transform: translate(-50%, 14px); pointer-events: auto; }
.mini-est-chip__label { font-family: var(--font-alt); text-transform: uppercase; letter-spacing: .08em; font-size: .66rem; color: var(--text-muted-dark); }
.mini-est-chip__val { font-family: var(--font-num); font-weight: 700; font-size: .92rem; color: var(--accent-bright); font-variant-numeric: tabular-nums; }
.mini-est-chip svg { flex: none; color: var(--accent-bright); }
@media (min-width: 861px) { .mini-est-chip { display: none; } }

@media (prefers-reduced-motion: no-preference) {
  /* Ticker band: the marquee keyframe already existed but was never attached to the
     track, so it never actually scrolled. Wire it up, then let hover/focus pause it. */
  .ticker__track { animation: ticker 28s linear infinite; }
  .ticker-band:hover .ticker__track, .ticker-band:focus-within .ticker__track { animation-play-state: paused; }

  /* Chips: press-down + spring-back on click (hover/background/border stay on the base rule). */
  .chip { transition: background var(--dur-fast) var(--ease), border-color var(--dur-fast) var(--ease), color var(--dur-fast) var(--ease), box-shadow var(--dur-fast) var(--ease), transform .32s cubic-bezier(.34,1.56,.64,1); }
  .chip:active { transform: scale(.94); transition: transform .12s var(--ease); }

  /* Buttons: keep the existing hover lift, add a quick press state. */
  .btn:active { transform: scale(.97); transition: transform .15s var(--ease-out); }

  /* Estimator: teal glow on the result panel + a pulse on the range figure when recalc() updates.
     Inset shadow so the glow never gets clipped by .estimator's overflow:hidden. */
  @keyframes estGlow { 0% { box-shadow: inset 0 0 0 rgba(124,246,223,0); } 35% { box-shadow: inset 0 0 46px rgba(124,246,223,.28); } 100% { box-shadow: inset 0 0 0 rgba(124,246,223,0); } }
  .estimator__result.is-flash { animation: estGlow .7s var(--ease); }
  @keyframes rangePulse { 0% { transform: scale(1); } 40% { transform: scale(1.035); } 100% { transform: scale(1); } }
  .estimator__range-out.is-pulsing { animation: rangePulse .45s var(--ease-out); }

  .mini-est-chip { transition: transform .32s var(--ease); }
}

/* ============================================================== WAVE 5 L5: GRID BALANCE + FOUNDER-EARLY TAG */
/* Grid orphan fixes: pragmatic per-instance modifiers on .subtopics, scoped by min-width so the
   existing mobile 1-col breakpoint (max-width:860px) is untouched. */
@media (min-width: 861px) {
  .subtopics.grid--pair { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1080px) {
  .subtopics.grid--quad { grid-template-columns: repeat(4, 1fr); }
}
/* Tablet fallback (iPad landscape / small laptops): the base 3-col rule still applies here and
   reproduces the 3-3-2 orphan on an 8-card grid, so pair up into 4 rows of 2 in this band. */
@media (min-width: 861px) and (max-width: 1079px) {
  .subtopics.grid--quad { grid-template-columns: repeat(2, 1fr); }
}

/* Founder-early credibility strip — subtle Barlow Condensed label + thin teal rule, self-contained
   dark background so it reads correctly regardless of which section it sits next to. */
.founder-tag { background: var(--ab-charcoal-2); border-bottom: 1px solid var(--hairline-dark); }
.founder-tag__inner { display: flex; flex-wrap: wrap; align-items: center; gap: 0.7rem 0.9rem; padding-block: 0.75rem; }
.founder-tag__label {
  flex: none; font-family: var(--font-alt); text-transform: uppercase; letter-spacing: 0.16em;
  font-size: 0.7rem; font-weight: 700; color: var(--accent-bright);
}
.founder-tag__rule { flex: none; width: 26px; height: 1px; background: var(--accent-bright); display: inline-block; }
.founder-tag__inner p { margin: 0; font-size: 0.86rem; color: var(--text-muted-dark); }
.founder-tag__inner p strong { color: var(--ab-white); font-weight: 700; }
@media (max-width: 560px) {
  .founder-tag__label { display: none; }
  .founder-tag__rule { width: 20px; }
  .founder-tag__inner p { font-size: 0.8rem; }
}

/* === W5 image pack (2026-07-14): section bg layers + lead figures === */
.w5-rel { position:relative; overflow:hidden; }
.w5-rel > .container { position:relative; z-index:1; }
.w5-bg {
  position:absolute; inset:0; width:100%; height:100%;
  object-fit:cover; z-index:0; pointer-events:none;
}
.w5-figure { margin:0 auto 2.4rem; max-width:1060px; }
.w5-figure img {
  display:block; width:100%;
  /* fixed height (not max-height): reserves space before lazy-load, zero CLS */
  height:clamp(180px, 24vw, 340px);
  object-fit:cover; border-radius:14px;
}
