/* ==========================================================================
   Buy the Dip landing page
   Loads after skyrocket-2027.css, which carries the shared AllianceCorp system:
   tokens, fonts, .wrap, .btn, top bar, popup and footer. This file is the page.
   Direction: Jason's note (see .impeccable/surfaces/src-main-php.md).
   ========================================================================== */

::selection { background: var(--gold); color: var(--navy-950); }

/* Brand type only: Articulat CF (display) and Manrope (body), both declared in skyrocket-2027.css. */
/* No orphans: body copy wraps "pretty", buttons and headings balance (a script in buy-the-dip.js joins the last two
   words wherever the browser still leaves one alone). */
main p, main li, main summary, main figcaption, main dd, main td, .footer p, .bd-gap__when, .bd-gap__note { text-wrap: pretty; }
main th { text-wrap: balance; }
main h2, main h3, main h4, .btn { text-wrap: balance; }

/* ---------- Shared section type ---------- */
/* Section headings: Skyrocket Challenger .display--md scale (17 Nov), sentence case. */
.bd-h2 {
  font-family: var(--f-display);
  font-weight: 700;
  font-size: clamp(2.5rem, 1.6rem + 3.3vw, 4.5rem);
  line-height: 0.96;
  letter-spacing: -0.03em;
  color: var(--navy);
  text-wrap: balance;
}
/* Second line of a heading: brand blue on light backgrounds (no dark gold), gold on navy. */
.bd-accent { color: var(--blue-line); }
.bd-dark .bd-h2 { color: #fff; }
.bd-dark .bd-accent { color: var(--gold); }
/* Skyrocket .lede: 20px under the heading, same size and leading. */
.bd-lede { margin-top: 20px; max-width: 52ch; font-size: clamp(1.0625rem, 1rem + 0.3vw, 1.1875rem); line-height: 1.6; color: var(--body); text-wrap: pretty; }
.bd-source { margin-top: 18px; max-width: 72ch; font-size: 0.75rem; line-height: 1.55; color: var(--muted); }
.bd-section { padding-block: var(--section-y); }

/* Announcement bar: the Skyrocket Challenger bar (17 Nov). Sticky on tablet and desktop; hidden on phones, where the
   sticky CTA bar is the persistent ask. */
.topbar { position: sticky; top: 0; z-index: 40; }
.topbar__btn { gap: 20px; min-height: 58px; font-size: 0.9375rem; font-weight: 800; line-height: 1.3; letter-spacing: 0; }
.topbar__text { display: inline-flex; flex-wrap: nowrap; align-items: center; gap: 12px; }
.topbar__lead { letter-spacing: 0.01em; text-transform: uppercase; }
.topbar__cta { display: inline-flex; }
.topbar__pill { padding: 8px 13px 8px 17px; font-size: 0.75rem; letter-spacing: 0.01em; text-transform: uppercase; box-shadow: 0 2px 6px rgba(2, 23, 74, 0.25); }
.topbar__pill .topbar__arrow { width: 14px; height: 14px; }
@media (max-width: 767px) { .topbar { display: none; } }

/* ---------- 1. Hero: Jason's note ---------- */
.bd-hero {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  color: #fff;
  padding-block: 2rem 0;
  /* Skyrocket hero background: the top-right glow is what makes the navy pattern visible. */
  background-color: var(--navy-950);
  background-image:
    radial-gradient(54% 72% at 82% 18%, var(--glow) 0%, var(--glow-0) 100%),
    linear-gradient(172.76deg, #03267d 6.9%, #021d60 51.7%, #02174a 93.1%);
}

/* Skyrocket hero pattern: same position, size, flip and fade as the live Skyrocket page. */
.bd-hero__pattern { position: absolute; z-index: -1; top: 0; left: calc(50% + 87px); width: 730px; max-width: none; height: auto; opacity: 0.55; pointer-events: none; transform: scaleY(-1); -webkit-mask-image: linear-gradient(to bottom, #000 0%, rgba(0, 0, 0, 0.7) 45%, transparent 85%); mask-image: linear-gradient(to bottom, #000 0%, rgba(0, 0, 0, 0.7) 45%, transparent 85%); }
.bd-hero__grid { display: grid; grid-template-columns: minmax(0, 1fr); }
/* Skyrocket logo size and spacing (round 3): the logo, then 34px to the headline. */
.bd-hero__logo { width: clamp(150px, 110px + 7vw, 230px); margin-bottom: 34px; }
.bd-hero__logo img { width: 100%; height: auto; }

/* Skyrocket Challenger hero h1 scale. */
.bd-hero__title {
  font-family: var(--f-display);
  font-weight: 700;
  font-size: clamp(2.125rem, 1.35rem + 2.9vw, 3.75rem);
  line-height: 1.04;
  letter-spacing: -0.038em;
  text-wrap: balance;
}

/* Jason's signed line: the note's voice under the headline. */
.bd-note { margin-top: 16px; max-width: 32rem; }
.bd-note__quote p {
  font-size: clamp(1.0625rem, 1rem + 0.3vw, 1.25rem);
  line-height: 1.45;
  font-weight: 500;
  color: var(--on-dark);
  text-wrap: pretty;
}
.bd-note__mark {
  color: #fff;
  font-weight: 700;
  padding-bottom: 2px;
  background: linear-gradient(var(--gold), var(--gold)) no-repeat 0 100% / 100% 3px;
}
/* Signature moment: the underline under Jason's line draws once as the note scrolls in (class set by buy-the-dip.js). */
@media (prefers-reduced-motion: no-preference) {
  .js [data-note] .bd-note__mark { background-size: 0% 3px; transition: background-size 1.2s var(--ease-out) 0.2s; }
  .js [data-note].is-in .bd-note__mark { background-size: 100% 3px; }
}

/* Hero: three things the ebook answers, then Jason's byline (Kenn's pick at hero review, 16 Nov 2026). */
/* The line that introduces the bullets as the ebook's contents (round 6). */
.bd-inside__intro { margin-top: 24px; font-size: clamp(1rem, 0.95rem + 0.2vw, 1.125rem); font-weight: 700; line-height: 1.4; color: #fff; }
.bd-inside { display: grid; gap: 10px; margin-top: 12px; max-width: 32rem; }
.bd-byline { display: flex; align-items: center; gap: 10px; margin-top: 14px; font-size: 0.8125rem; line-height: 1.4; color: var(--on-dark-2); }
.bd-byline::before { content: ""; flex: none; width: 24px; height: 2px; background: var(--gold); }
.bd-byline strong { color: #fff; font-weight: 700; }
.bd-inside li { display: grid; grid-template-columns: 20px 1fr; gap: 10px; font-size: clamp(0.9375rem, 0.9rem + 0.2vw, 1.0625rem); line-height: 1.45; color: var(--on-dark); }
.bd-inside svg { width: 20px; height: 20px; margin-top: 2px; color: var(--gold); }

.bd-note__sign { display: flex; flex-direction: column; gap: 2px; margin-top: 14px; }
.bd-note__sign::before { content: ""; width: 28px; height: 2px; margin-bottom: 10px; background: var(--gold); }
.bd-note__name { font-family: var(--f-display); font-weight: 700; font-size: 1.0625rem; letter-spacing: -0.01em; color: #fff; }
.bd-note__role { font-size: 0.8125rem; color: var(--on-dark-2); }

/* Jason and the ebook. Phones: under all the hero content, as the Skyrocket book is; desktop: the right-hand column. */
/* Plain navy behind him (no aerial, Kenn 17 Nov): a soft blue glow is the only light source. */
.bd-hero__media { order: 3; position: relative; display: flex; justify-content: center; margin-top: clamp(1.5rem, 1rem + 3vw, 2.5rem); }
.bd-hero__media::before {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  width: 110%;
  height: 90%;
  transform: translateX(-50%);
  background: radial-gradient(closest-side, rgba(92, 136, 240, 0.5), rgba(92, 136, 240, 0));
  pointer-events: none;
}
/* The stage is Jason's photo; the ebook is placed in % of it, held in front of his clasped hands. */
.bd-hero__stage { position: relative; width: min(92vw, 440px); aspect-ratio: 1000 / 1193; }
.bd-hero__jason img {
  display: block;
  width: 100%;
  height: auto;
  -webkit-mask-image: linear-gradient(to top, transparent 0, #000 12%);
  mask-image: linear-gradient(to top, transparent 0, #000 12%);
}
.bd-hero__book { position: absolute; left: 31%; bottom: 3%; width: 34%; }
.bd-hero__book img { display: block; width: 100%; height: auto; filter: drop-shadow(0 22px 24px rgba(1, 10, 40, 0.6)); }
/* "Free" seal on the book (Skyrocket Challenger badge), sized to the book so it scales with Jason. The lettering
   spans about two-thirds of the circle on every seal. */
.bd-hero__book { container-type: inline-size; }
.bd-seal { position: absolute; top: -7%; right: -26%; display: grid; place-content: center; width: 52cqi; aspect-ratio: 1; border: 2px solid #fff; border-radius: 50%; background: linear-gradient(145deg, var(--gold-hi), var(--gold-deep)); color: var(--navy-950); font-size: 5.6cqi; font-weight: 800; line-height: 1.15; letter-spacing: 0.06em; text-align: center; text-transform: uppercase; box-shadow: 0 8px 18px rgba(0, 0, 0, 0.4); transform: rotate(10deg); }
.bd-seal b { font-family: var(--f-display); font-size: 2.6em; line-height: 1; letter-spacing: 0.01em; }

.bd-hero__action { order: 2; position: relative; z-index: 1; display: grid; justify-items: center; gap: 12px; margin-top: 30px; }
.bd-hero__cta { width: 100%; }
.bd-hero__action .bd-assure { margin-top: 4px; }
/* Phones: Skyrocket's mobile hero rhythm, 40px headline. */
@media (max-width: 767px) {
  .bd-hero__title { font-size: 2.5rem; }
  .bd-hero__action { margin-top: 28px; }
}
@media (max-width: 359px) { .bd-hero__title { font-size: 2.125rem; } }
/* Disclaimer under a rule, as on the Skyrocket hero. */
.bd-hero__fine { justify-self: stretch; margin-top: 30px; padding-top: 22px; border-top: 1px solid var(--line-dark); font-size: 0.75rem; line-height: 1.55; color: var(--on-dark-2); text-align: center; }

@media (min-width: 960px) {
  .bd-hero { padding-block: clamp(1.75rem, 1rem + 2.5vw, 3rem) 0; }
  .bd-hero__grid {
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
    grid-template-areas: "logo media" "copy media" "action media";
    grid-template-rows: auto auto 1fr;
    column-gap: clamp(2rem, 4vw, 4rem);
  }
  .bd-hero__logo { grid-area: logo; margin-bottom: clamp(2rem, 1rem + 3vw, 3.5rem); }
  .bd-hero__copy { grid-area: copy; }
  /* Jason runs the full height of the hero and bleeds past the right edge of the wrap. */
  .bd-hero__media { grid-area: media; align-self: end; justify-content: flex-end; margin-top: 0; }
  .bd-hero__stage { width: auto; height: clamp(560px, calc(100svh - 96px), 760px); margin-right: calc(var(--gutter) * -1 - 3vw); }
  .bd-hero__action { grid-area: action; justify-items: start; align-content: start; margin: 30px 0 clamp(2.5rem, 1.5rem + 3vw, 4rem); }
  .bd-hero__cta { width: auto; }
  .bd-hero__fine { text-align: left; }
  .bd-hero__action .bd-assure { justify-content: flex-start; }
}

/* ---------- Buttons: black shadows only (no gold glow on navy), kept tight so they never spill onto the line below ---------- */
.btn { box-shadow: 0 2px 3px rgba(0, 0, 0, 0.18), 0 8px 14px -6px rgba(0, 0, 0, 0.35); }
.btn:hover { box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2), 0 12px 18px -8px rgba(0, 0, 0, 0.45); }
.btn:active { box-shadow: 0 2px 3px rgba(0, 0, 0, 0.18); }
.btn--hero { box-shadow: 0 1px 0 rgba(255, 255, 255, 0.55) inset, 0 2px 4px rgba(0, 0, 0, 0.28), 0 10px 16px -8px rgba(0, 0, 0, 0.5); }
.btn--hero:hover { box-shadow: 0 1px 0 rgba(255, 255, 255, 0.6) inset, 0 4px 8px rgba(0, 0, 0, 0.3), 0 14px 20px -8px rgba(0, 0, 0, 0.55); }

/* ---------- Reassurance line under every CTA (Skyrocket Challenger) ---------- */
.bd-assure { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 4px 16px; margin-top: 14px; color: var(--muted); font-size: 0.8125rem; font-weight: 600; line-height: 1.4; letter-spacing: 0.01em; }
.bd-assure__rule { width: 1px; height: 12px; background: var(--line); }
.bd-assure__ok { display: inline-flex; align-items: center; gap: 5px; }
.bd-assure__ok svg { width: 15px; height: 15px; color: #15803d; }
.bd-dark .bd-assure, .bd-sticky .bd-assure { color: var(--on-dark); }
.bd-dark .bd-assure__rule, .bd-sticky .bd-assure__rule { background: rgba(195, 205, 233, 0.45); }
.bd-dark .bd-assure__ok svg, .bd-sticky .bd-assure__ok svg { color: #5fd3a5; }
@media (max-width: 359px) { .bd-assure { flex-direction: column; } .bd-assure__rule { display: none; } }
/* Mid-page CTAs: centred under the full-width button on phones, left-aligned with the button from 600px. */
.bd-history__foot .bd-assure { margin-top: -10px; }
.bd-final__action .bd-assure { margin-top: 0; }
@media (max-width: 599px) { .bd-history__foot { justify-items: stretch; } }
@media (min-width: 600px) { .bd-history__foot .bd-assure, .bd-buyers__pull .bd-assure, .bd-rules .bd-assure, .bd-inside-sec .bd-assure, .bd-cta .bd-assure { justify-content: flex-start; } }
/* In-section CTA block (replaces the old text links): the standard button and reassurance line; disclaimers follow it. */
.bd-cta { display: grid; justify-items: start; margin-top: clamp(2rem, 1.5rem + 2vw, 3rem); }
.bd-cta + .bd-source, .bd-assure + .bd-source, .bd-buyers__close + .bd-source { margin-top: 24px; }
.bd-buyers .bd-source { color: var(--on-dark-2); }
@media (max-width: 599px) { .bd-cta { justify-items: stretch; } .bd-cta .btn { width: 100%; } }

/* ---------- 3. Headlines vs reality ---------- */
.bd-noise { background: var(--soft); padding-block: var(--section-y); }
/* Condensed (client edits 20 Nov): no photo, tighter table. */
.bd-noise__head { display: grid; gap: 16px; }
.bd-noise__table { display: grid; gap: 10px; margin-top: clamp(1.75rem, 1.4rem + 1.4vw, 2.5rem); }
.bd-noise__col { display: none; }
.bd-noise__row { display: grid; border-radius: 14px; overflow: hidden; box-shadow: 0 1px 2px rgba(3, 38, 125, 0.06), 0 10px 24px -12px rgba(3, 38, 125, 0.18); }
.bd-noise__heard {
  padding: 16px 18px 14px;
  background: #fff;
  font-family: var(--f-display);
  font-weight: 600;
  font-size: clamp(1.1875rem, 1.05rem + 0.6vw, 1.5rem);
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: var(--ink);
  text-wrap: balance;
}
.bd-noise__fact { padding: 14px 18px 16px; background: var(--navy); color: var(--on-dark); font-size: 0.9375rem; line-height: 1.5; }
.bd-noise__fact b { color: #fff; font-weight: 800; }
.bd-noise__fact-lead { margin-bottom: 4px; font-family: var(--f-display); font-weight: 700; font-size: 1.0625rem; line-height: 1.25; color: #fff; }

@media (min-width: 960px) {
  /* Heading left, intro right, so the section opens in one band. */
  .bd-noise__intro { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); align-items: end; gap: clamp(2rem, 5vw, 5rem); }
  .bd-noise__intro .bd-lede { margin-top: 0; }
  .bd-noise__col {
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    padding-inline: 28px;
    font-size: 0.8125rem;
    font-weight: 700;
    color: var(--muted);
  }
  .bd-noise__row { grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); }
  .bd-noise__heard { display: flex; align-items: center; padding: 20px 28px; }
  .bd-noise__fact { padding: 18px 28px; font-size: 0.96875rem; }
}


/* ---------- 4. History: the drop vs the bounce ---------- */
.bd-history {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  padding-block: var(--section-y);
  color: var(--on-dark);
  background: linear-gradient(180deg, var(--navy-950) 0%, var(--navy) 100%);
}
.bd-history__photo {
  position: absolute;
  inset: auto 0 0 0;
  height: 55%;
  z-index: -1;
  opacity: 0.05;
  mix-blend-mode: luminosity;
  -webkit-mask-image: linear-gradient(to bottom, transparent 0%, #000 70%);
  mask-image: linear-gradient(to bottom, transparent 0%, #000 70%);
  pointer-events: none;
}
.bd-history__photo picture, .bd-history__photo img { display: block; width: 100%; height: 100%; object-fit: cover; }
.bd-history .bd-lede { color: var(--on-dark); }
.bd-history__grid { display: grid; gap: clamp(2rem, 1.5rem + 2vw, 3rem); }
.bd-history__sum { margin-top: 22px; max-width: 40ch; font-family: var(--f-display); font-weight: 500; font-size: clamp(1.25rem, 1.1rem + 0.7vw, 1.625rem); line-height: 1.3; letter-spacing: -0.015em; color: #fff; }
.bd-history__sum b { color: var(--gold); font-weight: 800; }
.bd-history__sum span { display: block; margin-top: 8px; color: var(--on-dark); font-size: 0.82em; }
.bd-history__note { margin-top: 18px; max-width: 46ch; font-size: 0.9375rem; line-height: 1.55; }
.bd-history__note b { color: #fff; }
.bd-history .bd-source { color: var(--on-dark-2); margin-top: 0; }
.bd-history__foot { display: grid; gap: 22px; justify-items: start; }
/* Phones and tablets: clear air above the chart so the bouncing ball never crosses the text above it. */
@media (max-width: 959px) { .bd-chart { margin-top: 72px; } }

/* The chart: each completed cycle's fall below the line, its 3-year rebound above, on one scale. */
.bd-chart { position: relative; --up-h: clamp(170px, 120px + 12vw, 260px); padding: clamp(20px, 3vw, 32px); border: 1px solid rgba(195, 205, 233, 0.16); border-radius: 18px; background: rgba(2, 23, 74, 0.55); }
.bd-chart__key { display: flex; flex-wrap: wrap; gap: 8px 20px; font-size: 0.8125rem; color: var(--on-dark); }
.bd-chart__k { display: inline-flex; align-items: center; gap: 8px; }
.bd-chart__k::before { content: ""; width: 12px; height: 12px; border-radius: 3px; }
.bd-chart__k--up::before { background: var(--gold); }
.bd-chart__k--down::before { background: #7f93c9; }
.bd-chart__cols {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  grid-template-rows: var(--up-h) calc(var(--up-h) * 0.34) auto;
  column-gap: clamp(10px, 2vw, 28px);
  margin-top: 26px;
  background: linear-gradient(rgba(195, 205, 233, 0.5), rgba(195, 205, 233, 0.5)) no-repeat 0 var(--up-h) / 100% 1px;
}
.bd-chart__col { display: contents; }
.bd-chart__bar { position: relative; justify-self: center; width: min(100%, 72px); transform-origin: bottom; }
.bd-chart__bar--up { grid-row: 1; align-self: end; height: calc(var(--up) * 86%); background: linear-gradient(180deg, var(--gold-hi), var(--gold-deep)); border-radius: 8px 8px 0 0; }
.bd-chart__bar--down { grid-row: 2; align-self: start; height: calc(var(--down) / 0.34 * 86%); background: #7f93c9; border-radius: 0 0 8px 8px; transform-origin: top; }
.bd-chart__val { position: absolute; left: 50%; transform: translateX(-50%); font-family: var(--f-display); font-weight: 700; font-size: clamp(0.875rem, 0.8rem + 0.4vw, 1.125rem); white-space: nowrap; }
.bd-chart__bar--up .bd-chart__val { bottom: calc(100% + 6px); color: #fff; }
.bd-chart__bar--down .bd-chart__val { top: calc(100% + 6px); color: var(--on-dark); }
.bd-chart__label { grid-row: 3; display: grid; justify-items: center; gap: 2px; margin-top: 36px; font-size: 0.75rem; color: var(--on-dark-2); text-align: center; }
.bd-chart__label b { font-size: 0.875rem; color: #fff; }
.bd-chart__col:nth-child(1) > * { grid-column: 1; }
.bd-chart__col:nth-child(2) > * { grid-column: 2; }
.bd-chart__col:nth-child(3) > * { grid-column: 3; }
.bd-chart__col:nth-child(4) > * { grid-column: 4; }

/* The bounce: a small gold ball drops onto the top edge of the chart box, bounces lower each time as it travels
   right, rolls off the edge and falls away. .bd-ball__x carries the sideways travel (its width is the box, so
   translateX % = % of the box); .bd-ball__dot carries the height, with ease-in falls and ease-out rises. */
.bd-ball { position: absolute; left: 0; right: 0; top: 0; height: 0; pointer-events: none; }
.bd-ball__x { position: absolute; left: 0; bottom: 0; width: 100%; }
.bd-ball__dot { position: absolute; left: 0; bottom: 0; width: 14px; height: 14px; border-radius: 50%; background: radial-gradient(circle at 35% 30%, var(--gold-hi), var(--gold-deep)); box-shadow: 0 3px 8px rgba(0, 0, 0, 0.35); opacity: 0; }
@media (prefers-reduced-motion: no-preference) {
  .bd-chart.is-bouncing .bd-ball__x { animation: bd-ball-x 2.2s linear both; }
  .bd-chart.is-bouncing .bd-ball__dot { animation: bd-ball-y 2.2s both; }
}
@keyframes bd-ball-x {
  0% { transform: translateX(8%); }
  80% { transform: translateX(94%); }
  87% { transform: translateX(100%); }
  100% { transform: translateX(105%); }
}
@keyframes bd-ball-y {
  0% { transform: translateY(-96px); opacity: 0; animation-timing-function: cubic-bezier(0.55, 0, 1, 0.45); }
  6% { opacity: 1; }
  20% { transform: translateY(0); animation-timing-function: cubic-bezier(0, 0.55, 0.45, 1); }
  33% { transform: translateY(-64px); animation-timing-function: cubic-bezier(0.55, 0, 1, 0.45); }
  46% { transform: translateY(0); animation-timing-function: cubic-bezier(0, 0.55, 0.45, 1); }
  56% { transform: translateY(-30px); animation-timing-function: cubic-bezier(0.55, 0, 1, 0.45); }
  66% { transform: translateY(0); animation-timing-function: cubic-bezier(0, 0.55, 0.45, 1); }
  72% { transform: translateY(-10px); animation-timing-function: cubic-bezier(0.55, 0, 1, 0.45); }
  78% { transform: translateY(0); }
  87% { transform: translateY(0); opacity: 1; animation-timing-function: cubic-bezier(0.55, 0, 1, 0.45); }
  100% { transform: translateY(240px); opacity: 0; }
}

/* Authored moment: bars grow from the baseline once, when the chart scrolls in (class set by buy-the-dip.js). */
@media (prefers-reduced-motion: no-preference) {
  .js .bd-chart .bd-chart__bar { transform: scaleY(0); transition: transform 0.9s var(--ease-out); }
  .js .bd-chart .bd-chart__val { opacity: 0; transition: opacity 0.4s ease 0.7s; }
  .js .bd-chart.is-in .bd-chart__bar { transform: none; }
  .js .bd-chart.is-in .bd-chart__val { opacity: 1; }
  .js .bd-chart.is-in .bd-chart__col:nth-child(2) .bd-chart__bar { transition-delay: 0.08s; }
  .js .bd-chart.is-in .bd-chart__col:nth-child(3) .bd-chart__bar { transition-delay: 0.16s; }
  .js .bd-chart.is-in .bd-chart__col:nth-child(4) .bd-chart__bar { transition-delay: 0.24s; }
}

@media (min-width: 960px) {
  .bd-history__grid { grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr); grid-template-areas: "copy chart" "foot chart"; align-items: center; column-gap: clamp(2.5rem, 5vw, 5rem); }
  .bd-history__copy { grid-area: copy; }
  .bd-chart { grid-area: chart; }
  .bd-history__foot { grid-area: foot; align-self: start; }
}

/* ---------- 5. Where we are now ---------- */
.bd-h3 { font-family: var(--f-display); font-weight: 700; font-size: clamp(1.375rem, 1.2rem + 0.8vw, 1.875rem); line-height: 1.12; letter-spacing: -0.02em; color: var(--navy); text-wrap: balance; }
.bd-now { background: #fff; padding-block: var(--section-y); }
.bd-now .bd-h2 { max-width: 18ch; }

/* Fall so far vs forecast: the track is the data, drawn to scale (6.7 of 14). */
/* Full width of the content column, and the fill grows to its value when it scrolls in. */
.bd-track { margin-top: clamp(2.5rem, 2rem + 2vw, 3.75rem); }
.bd-track__ends { display: flex; justify-content: space-between; font-size: 0.8125rem; font-weight: 700; color: var(--muted); }
.bd-track__bar { position: relative; display: flex; align-items: center; height: 56px; margin-top: 10px; border: 2px dashed rgba(125, 95, 12, 0.45); border-radius: 999px; background: #fbf6e6; }
.bd-track__fill { display: flex; align-items: center; justify-content: flex-end; overflow: hidden; width: var(--p); height: calc(100% + 4px); margin: -2px 0 -2px -2px; padding-inline: 16px; border-radius: 999px; background: var(--navy); color: #fff; font-size: clamp(0.8125rem, 0.78rem + 0.2vw, 0.9375rem); white-space: nowrap; }
.bd-track__fill b { font-weight: 800; }
@media (prefers-reduced-motion: no-preference) {
  .js .bd-track__fill { width: 0; min-width: 0; transition: width 1.3s var(--ease-out) 0.15s; }
  .js .bd-track__fill b { opacity: 0; transition: opacity 0.4s ease 1.1s; }
  .js .bd-track.is-in .bd-track__fill { width: var(--p); }
  .js .bd-track.is-in .bd-track__fill b { opacity: 1; }
}
.bd-track__goal { margin-left: auto; padding-inline: 18px; font-family: var(--f-display); font-weight: 700; font-size: 1.0625rem; color: var(--gold-ink); }
.bd-track__cap { margin-top: 10px; font-size: 0.8125rem; color: var(--muted); }
/* The message first, as a heading, then the detail. */
.bd-now__msg { margin-top: clamp(2rem, 1.6rem + 1.6vw, 2.75rem); max-width: 46rem; }
.bd-now__msg .bd-lede { margin-top: 10px; max-width: 60ch; }

.bd-market { display: grid; gap: 24px; margin-top: clamp(3rem, 2.4rem + 2.4vw, 4.5rem); }
.bd-market__photo { margin-inline: calc(var(--gutter) * -1); }
.bd-market__photo img { width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; }
.bd-market__intro { margin-top: 10px; max-width: 46ch; font-size: 1.0625rem; line-height: 1.55; }
.bd-market__list { display: grid; margin-top: 24px; border-top: 2px solid var(--navy); }
.bd-market__list li { display: grid; gap: 6px; padding-block: 18px 20px; border-bottom: 1px solid var(--line); font-size: 0.9375rem; line-height: 1.45; color: var(--body); }
/* Display-size figures: the number in navy, its unit smaller in brand blue, tabular so the count-up doesn't jitter. */
.bd-stat { display: flex; align-items: baseline; gap: 3px; font-family: var(--f-display); font-weight: 800; color: var(--navy); line-height: 0.9; letter-spacing: -0.04em; font-variant-numeric: tabular-nums; }
.bd-stat__num { font-size: clamp(3rem, 2.2rem + 3vw, 4.5rem); }
.bd-stat__unit { font-size: clamp(1.75rem, 1.4rem + 1.4vw, 2.5rem); font-weight: 700; letter-spacing: -0.02em; color: var(--blue-line); }
.bd-stat__unit--word { margin-left: 6px; }
.bd-stat__pre { margin-right: 6px; font-size: clamp(1rem, 0.9rem + 0.4vw, 1.25rem); font-weight: 700; letter-spacing: 0; color: var(--blue-line); }

.bd-shortage { margin-top: clamp(2.5rem, 2rem + 2vw, 3.5rem); max-width: 760px; }
.bd-shortage p { margin-top: 12px; font-size: 1.0625rem; line-height: 1.6; }
.bd-shortage b { color: var(--navy); font-weight: 800; }

@media (min-width: 960px) {
  .bd-market { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center; gap: clamp(2.5rem, 5vw, 5rem); }
  .bd-market__photo { margin-inline: 0; }
  .bd-market__photo img { border-radius: 16px; }
  .bd-market__list { grid-template-columns: 1fr 1fr; column-gap: 28px; }
}

/* ---------- 6. Three buyers ---------- */
.bd-buyers { padding-block: var(--section-y); color: var(--on-dark); background: linear-gradient(172.76deg, var(--navy) 6.9%, #021d60 51.7%, var(--navy-950) 93.1%); }
.bd-buyers .bd-lede { color: var(--on-dark); }
.bd-buyers .bd-lede b { color: #fff; }
.bd-buyers__top { display: grid; gap: clamp(2rem, 1.5rem + 2vw, 3rem); }
.bd-buyers__cta-wrap { margin-top: 28px; }
.bd-buyers__source { margin-top: clamp(2rem, 1.5rem + 2vw, 3rem); }

/* The gap, drawn (bolder pass, 17 Nov). Time runs left to right: March's price is the dashed level at the top-left,
   August's the solid level at the bottom-right, and the gold bracket at the right spans the drop between them,
   with the difference at full display size. */
.bd-gap { position: relative; }
.bd-gap__level { display: grid; gap: 4px; }
.bd-gap__level--then { padding-bottom: 14px; }
.bd-gap__level--now { padding-top: 14px; justify-items: end; text-align: right; }
.bd-gap__when { max-width: 30ch; font-size: 0.8125rem; font-weight: 700; line-height: 1.4; color: var(--on-dark-2); }
.bd-gap__price { font-family: var(--f-display); font-weight: 800; font-size: clamp(2rem, 1.6rem + 1.6vw, 2.75rem); line-height: 1; letter-spacing: -0.03em; color: #fff; font-variant-numeric: tabular-nums; }
.bd-gap__level--then .bd-gap__price { color: var(--on-dark); }
.bd-gap__span {
  position: relative;
  display: grid;
  grid-template-rows: 1fr;
  padding: clamp(1.5rem, 1rem + 2vw, 2.25rem) 56px clamp(1.5rem, 1rem + 2vw, 2.25rem) 0;
  border-top: 2px dashed rgba(195, 205, 233, 0.55);
  border-bottom: 2px solid #fff;
  text-align: right;
}
/* March's purchase point (left end of its level) and August's (right end, at the foot of the bracket). */
.bd-gap__span::before, .bd-gap__span::after { content: ""; position: absolute; width: 14px; height: 14px; border-radius: 50%; }
.bd-gap__span::before { top: -8px; left: 0; background: var(--on-dark); }
.bd-gap__span::after { bottom: -8px; right: 16px; background: #fff; box-shadow: 0 0 0 3px var(--gold); }
.bd-gap__num { display: block; font-family: var(--f-display); font-weight: 800; font-size: clamp(4.25rem, 2.6rem + 6vw, 6rem); line-height: 0.9; letter-spacing: -0.04em; color: var(--gold); font-variant-numeric: tabular-nums; }
.bd-gap__inner { display: grid; justify-items: end; min-height: 0; overflow: hidden; }
/* "$34,088 behind" reads as one phrase: "behind" sits under the figure in large white display type. */
.bd-gap__behind { margin-top: 2px; font-family: var(--f-display); font-weight: 800; font-size: clamp(1.75rem, 1.3rem + 2vw, 2.75rem); line-height: 1; letter-spacing: -0.03em; color: #fff; }
.bd-gap__note { margin-top: 10px; font-size: clamp(0.875rem, 0.84rem + 0.2vw, 1rem); font-weight: 600; line-height: 1.4; color: var(--on-dark); white-space: nowrap; }
.bd-gap__bracket { position: absolute; top: -1px; bottom: -1px; right: 22px; width: 2px; background: var(--gold); transform-origin: top; }
.bd-gap__bracket::before, .bd-gap__bracket::after { content: ""; position: absolute; left: -8px; width: 18px; height: 2px; background: var(--gold); }
.bd-gap__bracket::before { top: 0; }
.bd-gap__bracket::after { bottom: 0; }
/* The section's one authored moment: the gap opens. August's level starts on top of March's and drops away as the
   space between them grows from nothing to full height, the bracket stretching with it, while the figure counts up. */
@media (prefers-reduced-motion: no-preference) {
  .js .bd-gap .bd-gap__span { grid-template-rows: 0fr; padding-block: 0; transition: grid-template-rows 1.6s cubic-bezier(0.65, 0, 0.35, 1) 0.15s, padding 1.6s cubic-bezier(0.65, 0, 0.35, 1) 0.15s; }
  .js .bd-gap .bd-gap__span::after { opacity: 0; transition: opacity 0.4s ease 1.5s; }
  .js .bd-gap.is-in .bd-gap__span { grid-template-rows: 1fr; padding-block: clamp(1.5rem, 1rem + 2vw, 2.25rem); }
  .js .bd-gap.is-in .bd-gap__span::after { opacity: 1; }
}

/* The model as a finish line: every bar ends at the same ~$4.56M; the split shows what each buyer paid in (pale,
   to scale) and what growth added (gold). */
.bd-finish { margin-top: clamp(3.5rem, 2.5rem + 3vw, 5.5rem); padding-top: clamp(2rem, 1.6rem + 1.6vw, 2.75rem); border-top: 1px solid var(--line-dark); }
.bd-finish__key { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 20px; font-size: 0.8125rem; color: var(--on-dark); }
.bd-finish__k { display: inline-flex; align-items: center; gap: 8px; }
.bd-finish__k::before { content: ""; width: 12px; height: 12px; border-radius: 3px; }
.bd-finish__k--cap::before { background: #7f93c9; }
.bd-finish__k--grow::before { background: var(--gold); }
.bd-finish__line-label { font-weight: 700; color: #fff; }
.bd-finish__rows { display: grid; gap: 22px; margin-top: 24px; }
.bd-finish__row { display: grid; gap: 10px; }
.bd-finish__who { display: flex; align-items: baseline; gap: 10px; }
.bd-finish__who b { font-family: var(--f-display); font-weight: 800; font-size: 1.75rem; line-height: 1; color: #fff; }
.bd-finish__who span { font-size: 0.9375rem; font-weight: 700; color: var(--on-dark); }
.bd-finish__track { display: flex; height: 50px; overflow: hidden; border-radius: 10px; font-variant-numeric: tabular-nums; }
.bd-finish__cap { flex: none; display: flex; align-items: center; width: var(--w); padding-left: 14px; background: #7f93c9; color: var(--navy-950); font-family: var(--f-display); font-weight: 700; font-size: 1.0625rem; white-space: nowrap; }
.bd-finish__grow { flex: 1; display: flex; align-items: center; justify-content: flex-end; padding-right: 14px; background: linear-gradient(90deg, var(--gold-deep), var(--gold-hi)); color: var(--navy-950); font-weight: 800; font-size: 0.875rem; white-space: nowrap; }
.bd-finish__verdict { display: grid; gap: 2px; font-size: 0.9375rem; font-weight: 700; line-height: 1.35; }
.bd-finish__row.is-win-growth .bd-finish__verdict, .bd-finish__row.is-win-capital .bd-finish__verdict { color: var(--gold); }
.bd-finish__row.is-lose .bd-finish__verdict { color: #f3a9a0; }
.bd-finish__years { font-size: 0.75rem; font-weight: 600; color: var(--on-dark-2); }
.bd-finish .bd-source { color: var(--on-dark-2); }
@media (max-width: 759px) { .bd-finish__years { display: none; } }
@media (min-width: 760px) {
  .bd-finish__row { grid-template-columns: minmax(0, 13rem) minmax(0, 1fr) minmax(0, 15rem); align-items: center; column-gap: 24px; }
  .bd-finish__track { height: 56px; }
}

.bd-buyers__close { display: grid; gap: 28px; margin-top: clamp(3rem, 2.4rem + 2.4vw, 4.5rem); }
.bd-buyers__photo { margin-inline: calc(var(--gutter) * -1); }
.bd-buyers__photo img { width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; }
.bd-pull { font-family: var(--f-display); font-weight: 500; font-size: clamp(1.375rem, 1.15rem + 1vw, 2rem); line-height: 1.22; letter-spacing: -0.02em; color: var(--on-dark); text-wrap: balance; }
.bd-pull span { display: block; margin-top: 10px; color: #fff; font-weight: 700; }
.bd-buyers__cta { margin-top: 28px; }
@media (max-width: 599px) { .bd-buyers__cta, .bd-history__cta { width: 100%; } }

@media (min-width: 960px) {
  /* Heading column wide enough that "$34,088 difference." stays together at the full heading size (no orphan). */
  .bd-buyers__top { grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr); align-items: center; gap: clamp(2.5rem, 5vw, 5rem); }
  .bd-buyers__close { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center; gap: clamp(2.5rem, 5vw, 5rem); }
  .bd-buyers__photo { margin-inline: 0; }
  .bd-buyers__photo img { border-radius: 16px; }
}

/* ---------- 7. The new-build advantage ---------- */
.bd-newbuild { background: var(--soft); padding-block: var(--section-y); }
.bd-newbuild__top { display: grid; gap: 28px; }
.bd-newbuild__photo { margin-inline: calc(var(--gutter) * -1); }
.bd-newbuild__photo img { width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; }

/* The payoff first: weekly cost of the same property, side by side. */
.bd-weekly { margin-top: clamp(2.5rem, 2rem + 2vw, 3.5rem); }
.bd-weekly__intro { font-weight: 700; color: var(--ink); }
.bd-weekly__pair { display: grid; grid-template-columns: 1fr 1fr; margin-top: 14px; border-radius: 18px; overflow: hidden; box-shadow: 0 1px 2px rgba(3, 38, 125, 0.06), 0 14px 30px -14px rgba(3, 38, 125, 0.25); }
.bd-weekly__cell { display: grid; align-content: start; gap: 4px; padding: clamp(18px, 3vw, 32px); background: #fff; }
.bd-weekly__cell--new { background: var(--navy); color: var(--on-dark); }
.bd-weekly__label { font-size: 0.875rem; font-weight: 700; color: var(--muted); }
.bd-weekly__cell--new .bd-weekly__label { color: var(--on-dark); }
.bd-weekly__fig { font-family: var(--f-display); font-weight: 800; font-size: clamp(2.5rem, 1.8rem + 3.4vw, 4.5rem); line-height: 1; letter-spacing: -0.03em; color: var(--gold); }
.bd-weekly__fig--cost { color: #b4382a; }
.bd-weekly__sub { font-size: 0.875rem; line-height: 1.35; color: var(--body); }
.bd-weekly__cell--new .bd-weekly__sub { color: #fff; font-weight: 700; }

.bd-rules { margin-top: clamp(2.5rem, 2rem + 2vw, 3.75rem); }
.bd-rules__table { width: 100%; border-collapse: separate; border-spacing: 0; font-size: 0.9375rem; line-height: 1.45; background: #fff; border-radius: 16px; overflow: hidden; box-shadow: 0 1px 2px rgba(3, 38, 125, 0.06); }
.bd-rules__table th, .bd-rules__table td { padding: 16px 18px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); }
.bd-rules__table tbody tr:last-child > * { border-bottom: 0; }
.bd-rules__table thead th { font-family: var(--f-display); font-weight: 700; font-size: 1.0625rem; color: var(--navy); }
.bd-rules__table thead th span { display: block; font-family: var(--f-sans); font-weight: 600; font-size: 0.8125rem; color: var(--muted); }
.bd-rules__table tbody th { font-weight: 700; color: var(--ink); }
/* Each rule gets an icon and a heading-scale title (round 6). */
.bd-rules__table tbody th { font-family: var(--f-display); font-size: 1.125rem; line-height: 1.2; letter-spacing: -0.01em; color: var(--navy); }
.bd-rules__table tbody th > span:last-child { display: block; }
.bd-rules__ic { display: grid; place-items: center; flex: none; width: 40px; height: 40px; margin-bottom: 10px; border-radius: 10px; background: rgba(3, 38, 125, 0.08); color: var(--navy); }
.bd-rules__ic svg { width: 22px; height: 22px; }
.bd-rules__table .is-new { background: var(--navy); color: #fff; border-bottom-color: var(--line-dark); }
.bd-rules__table thead .is-new { color: var(--gold); }
.bd-rules__table thead .is-new span { color: var(--on-dark-2); }
.bd-rules__table td.is-new b { color: var(--gold); font-weight: 800; }
.bd-newbuild__cta { margin-top: 26px; }

@media (max-width: 759px) {
  /* Phones: each rule is its own card, the icon beside a heading-scale title, then the two answers side by side. */
  .bd-rules__table { display: block; background: none; border-radius: 0; overflow: visible; box-shadow: none; }
  .bd-rules__table tbody { display: grid; gap: 14px; }
  .bd-rules__table thead { display: none; }
  .bd-rules__table tr { display: grid; grid-template-columns: 1fr 1fr; overflow: hidden; border-radius: 16px; background: #fff; box-shadow: 0 1px 2px rgba(3, 38, 125, 0.06), 0 10px 24px -14px rgba(3, 38, 125, 0.2); }
  .bd-rules__table tbody tr:last-child > * { border-bottom: 0; }
  .bd-rules__table tbody th { grid-column: 1 / -1; display: flex; align-items: center; gap: 12px; padding: 18px 18px 14px; border: 0; font-size: 1.375rem; line-height: 1.15; letter-spacing: -0.02em; }
  .bd-rules__ic { width: 44px; height: 44px; margin-bottom: 0; }
  .bd-rules__ic svg { width: 24px; height: 24px; }
  .bd-rules__table td { border-bottom: 0; }
  .bd-rules__table td { padding: 10px 14px 14px; font-size: 0.875rem; }
  .bd-rules__table td::before { display: block; margin-bottom: 4px; font-size: 0.75rem; font-weight: 700; color: var(--muted); }
  .bd-rules__table td:first-of-type::before { content: "Established"; }
  .bd-rules__table td.is-new::before { content: "New build"; color: var(--gold); }
  .bd-newbuild__cta { width: 100%; }
}

@media (min-width: 960px) {
  .bd-newbuild__photo { margin-inline: 0; }
  .bd-newbuild__photo img { aspect-ratio: 4 / 3; border-radius: 16px; }
  /* Weekly cost: full content width on desktop, with roomier cells and bigger figures. */
  .bd-weekly__cell { padding: 40px 48px; gap: 8px; }
  .bd-weekly__label { font-size: 1rem; }
  .bd-weekly__fig { font-size: clamp(4.5rem, 2rem + 4vw, 6rem); }
  .bd-weekly__sub { font-size: 1rem; }
}
/* Tablet and desktop table: icon beside the rule's title, every cell centred vertically in its row. */
@media (min-width: 760px) {
  .bd-rules__table th, .bd-rules__table td { vertical-align: middle; padding: 20px 24px; }
  .bd-rules__table tbody th { display: flex; align-items: center; gap: 14px; }
  .bd-rules__ic { margin-bottom: 0; }
}
/* CTA left, example disclaimer right, side by side from tablet up. */
.bd-rules__foot { display: grid; gap: 18px; margin-top: 26px; }
.bd-rules__foot .bd-newbuild__cta { margin-top: 0; }
.bd-rules__foot .bd-source { margin-top: 0; }
@media (min-width: 760px) {
  .bd-rules__foot { grid-template-columns: auto minmax(0, 1fr); align-items: start; column-gap: clamp(2rem, 5vw, 4rem); }
  .bd-rules__foot .bd-source { max-width: 52ch; justify-self: end; padding-top: 12px; text-align: right; }
}
/* Side by side only from 1200px: below that the long heading needs the full width to end without an orphan. */
@media (min-width: 1200px) {
  .bd-newbuild__top { grid-template-columns: minmax(0, 1fr) minmax(0, 460px); align-items: center; gap: clamp(2.5rem, 5vw, 5rem); }
}

/* ---------- 8. What's inside (the offer) ---------- */
.bd-inside-sec {
  position: relative;
  overflow: hidden;
  padding-block: var(--section-y);
  color: var(--on-dark);
  background:
    radial-gradient(60% 50% at 22% 40%, rgba(30, 84, 214, 0.5) 0%, rgba(30, 84, 214, 0) 100%),
    linear-gradient(172.76deg, var(--navy-950) 0%, var(--navy) 100%);
}
/* Phones: extra air between the graphic (book and seal hang below it) and the heading. */
.bd-inside-sec__grid { display: grid; gap: 48px; }
/* The open spread (generated from two real pages) with the 3D cover standing in front of it. */
/* Phones: nudged right so the book-plus-spread group sits centred (the book hangs off the spread's left side). */
.bd-inside-sec__media { position: relative; width: min(100%, 420px); margin-inline: auto; transform: translateX(4%); container-type: inline-size; }
/* The fade now reaches transparent before the image's top and bottom edges, so its baked-in shadow has no hard cut. */
.bd-inside-sec__spread img { display: block; width: 100%; height: auto; -webkit-mask-image: radial-gradient(58% 50% at 50% 50%, #000 62%, transparent 100%); mask-image: radial-gradient(58% 50% at 50% 50%, #000 62%, transparent 100%); }
.bd-inside-sec__book { position: absolute; left: 6%; bottom: -4%; width: 30%; container-type: inline-size; }
.bd-inside-sec__book img { width: 100%; height: auto; filter: drop-shadow(0 24px 30px rgba(1, 10, 40, 0.65)); }
/* The FREE seal (as on the hero book), at the book's bottom-left corner. */
/* FREE seal, sized to the whole graphic. Phones: big, at the spread's bottom-right. Desktop: at the book's corner.
   The lettering spans just over half the circle, leaving inner padding. */
.bd-seal--inside { top: auto; right: 13%; bottom: 4%; width: 24cqi; font-size: 2.15cqi; border-width: 3px; transform: rotate(-10deg); }
.bd-toc { display: grid; margin-top: 22px; border-top: 1px solid var(--line-dark); }
.bd-toc li { padding-block: 13px; border-bottom: 1px solid var(--line-dark); font-size: 0.9375rem; line-height: 1.5; color: var(--on-dark); }
.bd-toc b { color: #fff; font-weight: 800; }
.bd-inside-sec__by { margin-top: 18px; }
.bd-inside-sec__cta { margin-top: 26px; }
@media (max-width: 599px) { .bd-inside-sec__cta { width: 100%; } }

@media (min-width: 960px) {
  /* Desktop (round 8): one centred column, the graphic on top, then the contents. */
  .bd-inside-sec__grid { grid-template-columns: minmax(0, 1fr); justify-items: center; gap: clamp(2.5rem, 1.5rem + 2vw, 3.5rem); }
  .bd-inside-sec__media { width: min(100%, 560px); margin-inline: 0 0; transform: none; }
  .bd-inside-sec__copy { width: min(100%, 760px); text-align: center; }
  .bd-inside-sec .bd-toc { text-align: left; }
  .bd-inside-sec .bd-byline, .bd-inside-sec .bd-assure { justify-content: center !important; }
  .bd-inside-sec__cta { margin-inline: auto; }
  /* The spread's own backdrop fades out completely before every edge, so its shadow never ends in a hard line. */
  .bd-inside-sec__spread img { -webkit-mask-image: radial-gradient(closest-side, #000 72%, transparent 100%); mask-image: radial-gradient(closest-side, #000 72%, transparent 100%); }
  .bd-seal--inside { right: auto; left: -5%; bottom: 0; width: 17cqi; font-size: 1.52cqi; }
  .bd-inside-sec__book { width: 34%; left: -2%; }
}

/* ---------- 9. Real strategies: one white card per client (round 7) ---------- */
.bd-clients { background: var(--soft); padding-block: var(--section-y); }
.bd-clients__top { display: grid; gap: 16px; }
.bd-ledger { display: grid; gap: 10px; margin-top: clamp(1.75rem, 1.4rem + 1.4vw, 2.5rem); }
.bd-ledger__row { display: grid; gap: 6px; padding: 16px 18px; border-radius: 14px; background: #fff; box-shadow: 0 1px 2px rgba(3, 38, 125, 0.06), 0 10px 24px -14px rgba(3, 38, 125, 0.2); }
.bd-ledger__who { display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 10px; }
.bd-ledger__who b { font-family: var(--f-display); font-weight: 700; font-size: 1.25rem; color: var(--navy); }
.bd-ledger__who span { font-size: 0.8125rem; font-weight: 700; color: var(--muted); }
.bd-ledger__how { font-size: 0.9375rem; line-height: 1.5; color: var(--body); }
/* The result: the figure on its own line with a green up-arrow, its caption underneath. */
.bd-ledger__result { display: grid; gap: 4px; margin-top: 6px; padding-top: 14px; border-top: 1px solid var(--line); }
.bd-ledger__fig { display: flex; align-items: center; gap: 6px; }
.bd-ledger__up { flex: none; width: clamp(26px, 22px + 0.8vw, 32px); height: clamp(26px, 22px + 0.8vw, 32px); color: #15803d; }
.bd-ledger__fig b { font-family: var(--f-display); font-weight: 800; font-size: clamp(2rem, 1.6rem + 1.4vw, 2.75rem); line-height: 1; letter-spacing: -0.03em; color: var(--navy); font-variant-numeric: tabular-nums; }
.bd-ledger__note { font-size: 0.875rem; font-weight: 600; color: var(--muted); }
@media (min-width: 960px) {
  .bd-clients__top { grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); align-items: end; gap: clamp(2rem, 5vw, 5rem); }
  .bd-clients__top .bd-lede { margin-top: 0; }
  .bd-ledger__row { grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.4fr) minmax(0, 1fr); align-items: center; column-gap: 32px; padding: 16px 28px; }
  .bd-ledger__who { flex-direction: column; gap: 2px; }
  .bd-ledger__result { margin-top: 0; padding: 0 0 0 28px; border-top: 0; border-left: 1px solid var(--line); }
}

/* ---------- 10. A note from Jason ---------- */
.bd-jason { background: #fff; padding-block: var(--section-y); }
.bd-jason__grid { display: grid; gap: 28px; }
.bd-jason__photo { margin-inline: calc(var(--gutter) * -1); }
.bd-jason__photo img { width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 30%; }
.bd-jason__note { margin-top: 0; max-width: 40rem; }
.bd-jason .bd-note__quote p { font-family: var(--f-display); font-weight: 500; font-size: clamp(1.375rem, 1.1rem + 1.2vw, 2.125rem); line-height: 1.3; letter-spacing: -0.015em; color: var(--ink); }
.bd-jason .bd-note__mark { color: var(--navy); }
.bd-jason .bd-note__name { color: var(--navy); font-size: 1.25rem; }
.bd-jason .bd-note__role { color: var(--muted); font-size: 0.875rem; }
.bd-jason .bd-note__sign { margin-top: 24px; }
@media (min-width: 960px) {
  .bd-jason__grid { grid-template-columns: minmax(0, 420px) minmax(0, 1fr); align-items: center; gap: clamp(3rem, 6vw, 6rem); }
  .bd-jason__photo { margin-inline: 0; }
  .bd-jason__photo img { aspect-ratio: 2 / 3; border-radius: 16px; }
}

/* ---------- 11. Client stories and reviews: the live Skyrocket .clients section, styled by skyrocket-2027.css ---------- */
.clients .cta-stack .bd-assure { margin-top: 0; }

/* Form popup: the ebook cover beside the title (Skyrocket Challenger modal header). */
.bd-popup-head { display: grid; grid-template-columns: 76px minmax(0, 1fr); align-items: center; gap: 18px; padding: 32px 56px 26px 28px; text-align: left; }
.bd-popup-head__cover img { width: 100%; height: auto; filter: drop-shadow(0 10px 14px rgba(0, 0, 0, 0.45)); transform: rotate(-4deg); }
.bd-popup-head .popup-header__title { font-size: clamp(1.375rem, 1.2rem + 0.8vw, 1.75rem); }
@media (max-width: 380px) { .bd-popup-head { grid-template-columns: 60px minmax(0, 1fr); gap: 14px; padding-inline: 20px 48px; } }

/* ---------- 12. FAQ: native details, ruled like the ledger ---------- */
.bd-faq { background: #fff; padding-block: var(--section-y); }
.bd-faq__grid { display: grid; gap: clamp(2rem, 1.6rem + 1.6vw, 3rem); }
.bd-faq__list { border-top: 2px solid var(--navy); }
.bd-faq__item { border-bottom: 1px solid var(--line); }
.bd-faq__q {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 44px;
  padding-block: 20px;
  font-family: var(--f-display);
  font-weight: 700;
  font-size: clamp(1.0625rem, 1rem + 0.35vw, 1.25rem);
  line-height: 1.3;
  letter-spacing: -0.01em;
  color: var(--navy);
  cursor: pointer;
  list-style: none;
}
.bd-faq__q::-webkit-details-marker { display: none; }
.bd-faq__q:hover { color: var(--ink); }
.bd-faq__q:focus-visible { outline: 2px solid var(--focus); outline-offset: 4px; border-radius: 4px; }
/* Plus that turns into a minus: a gold disc with two navy strokes. */
.bd-faq__icon { position: relative; flex: none; width: 28px; height: 28px; border-radius: 50%; background: var(--gold); }
.bd-faq__icon::before, .bd-faq__icon::after { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 2px; margin: -1px 0 0 -6px; background: var(--navy); transition: transform 0.3s var(--ease-out); }
.bd-faq__icon::after { transform: rotate(90deg); }
.bd-faq__item[open] .bd-faq__icon::after { transform: rotate(0deg); }
.bd-faq__a { max-width: 60ch; padding-bottom: 22px; padding-right: 48px; font-size: 1rem; line-height: 1.6; color: var(--body); text-wrap: pretty; }
@media (prefers-reduced-motion: reduce) { .bd-faq__icon::before, .bd-faq__icon::after { transition: none; } }
@media (min-width: 960px) {
  .bd-faq__grid { grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr); gap: clamp(2.5rem, 5vw, 5rem); align-items: start; }
  .bd-faq__head { position: sticky; top: 32px; }
}

/* ---------- 13. Final CTA: bookends the hero (same aerial, same ebook, same ask) ---------- */
.bd-final {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  padding-block: var(--section-y);
  color: var(--on-dark);
  /* The Skyrocket hero glow, centred behind the book (top on phones, right on desktop), so the pattern reads. */
  background-color: var(--navy-950);
  background-image:
    radial-gradient(70% 45% at 50% 18%, var(--glow) 0%, var(--glow-0) 100%),
    linear-gradient(172.76deg, #03267d 6.9%, #021d60 51.7%, #02174a 93.1%);
}
/* The pattern hangs from the top of the section (not flipped as in the hero: densest at the top, fading down) and
   sits behind the book: centred on phones, where the book leads, and over the book's column on desktop. */
.bd-final__pattern { left: 50%; transform: translateX(-50%); -webkit-mask-image: linear-gradient(to bottom, #000 0%, rgba(0, 0, 0, 0.7) 40%, transparent 75%); mask-image: linear-gradient(to bottom, #000 0%, rgba(0, 0, 0, 0.7) 40%, transparent 75%); }
@media (min-width: 960px) {
  .bd-final { background-image: radial-gradient(54% 72% at 76% 30%, var(--glow) 0%, var(--glow-0) 100%), linear-gradient(172.76deg, #03267d 6.9%, #021d60 51.7%, #02174a 93.1%); }
  .bd-final__pattern { left: auto; right: calc((100% - min(var(--wrap), 100% - 2 * var(--gutter))) / 2 - 60px); transform: none; }
}
.bd-final__grid { display: grid; justify-items: center; gap: 28px; text-align: center; }
/* The spinning WebGL ebook (ebook-3d.js). A 4:5 stage with a soft floor shadow; the static 3D image shows until
   the canvas is ready, and stays if WebGL is unavailable. */
.bd-book3d { position: relative; width: min(72vw, 300px); aspect-ratio: 4 / 5; }
.bd-book3d::after { content: ""; position: absolute; z-index: -1; left: 22%; right: 22%; bottom: 4%; height: 7%; border-radius: 50%; background: radial-gradient(closest-side, rgba(0, 6, 28, 0.55), rgba(0, 6, 28, 0)); }
.bd-book3d__fallback { position: absolute; inset: 6% 18%; display: grid; place-items: center; }
.bd-book3d__fallback img { width: 100%; height: auto; filter: drop-shadow(0 24px 30px rgba(1, 10, 40, 0.65)); }
.bd-book3d.is-3d .bd-book3d__fallback { visibility: hidden; }
.bd-book3d__canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
/* Big FREE seal over the 3D book's top-right corner (above the canvas), sized to the stage. */
.bd-book3d { container-type: inline-size; }
.bd-seal--book3d { z-index: 2; top: 6%; right: 4%; width: 32cqi; font-size: 3.5cqi; border-width: 3px; transform: rotate(10deg); }
/* Looping shine: a bright arc that travels round the seal's edge (a conic sweep masked to a thin ring). */
.bd-seal--shine { isolation: isolate; }
.bd-seal--shine::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  /* Runs just inside the white border, over the gold, so the bright arc reads against it. */
  background: conic-gradient(from 0deg, rgba(255, 255, 255, 0) 0deg, rgba(255, 255, 255, 0) 250deg, rgba(255, 255, 255, 0.35) 300deg, #fff 340deg, rgba(255, 255, 255, 0) 360deg);
  -webkit-mask: radial-gradient(farthest-side, transparent 87%, #000 89%);
  mask: radial-gradient(farthest-side, transparent 87%, #000 89%);
  pointer-events: none;
}
@media (prefers-reduced-motion: no-preference) {
  .bd-seal--shine::after { animation: bd-seal-shine 2.8s linear infinite; }
}
@keyframes bd-seal-shine { to { transform: rotate(360deg); } }
/* Skyrocket Challenger .final__title scale. */
.bd-final .bd-h2 { max-width: 20ch; margin-inline: auto; font-weight: 800; font-size: clamp(2.25rem, 1.35rem + 3.2vw, 4.25rem); line-height: 1.02; letter-spacing: -0.04em; }
.bd-final .bd-lede { margin-inline: auto; color: var(--on-dark); }
.bd-final__action { display: grid; justify-items: center; gap: 12px; margin-top: 28px; }
.bd-final__cta { width: 100%; }
@media (min-width: 600px) { .bd-final__cta { width: auto; } }
@media (min-width: 960px) {
  .bd-final__grid { grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr); align-items: center; justify-items: start; gap: clamp(3rem, 6vw, 6rem); text-align: left; }
  .bd-final__book { order: 2; justify-self: center; width: clamp(320px, 32vw, 440px); }
  .bd-final .bd-h2, .bd-final .bd-lede { margin-inline: 0; }
  .bd-final__action { justify-items: start; }
  .bd-final .bd-assure { justify-content: flex-start; }
}

/* ==========================================================================
   Thank-you page (thankyou.php). Reuses the hero's aerial fade, title and logo.
   ========================================================================== */
.ty-ready {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  padding-block: 20px clamp(3.5rem, 2.5rem + 4vw, 6rem);
  color: var(--on-dark);
  background:
    radial-gradient(60% 50% at 75% 60%, rgba(30, 84, 214, 0.5) 0%, rgba(30, 84, 214, 0) 100%),
    linear-gradient(172.76deg, var(--navy) 6.9%, #021d60 51.7%, var(--navy-950) 93.1%);
}
.ty-ready__grid { display: grid; gap: 28px; }
.ty-ready__logo { order: -2; margin-bottom: 8px; }
.ty-ready__copy { color: #fff; }
.ty-ready .bd-lede { color: var(--on-dark); }
.ty-ready__cta { width: 100%; margin-top: 28px; gap: 12px; }
.ty-ready__dl { width: 20px; height: 20px; flex: none; }
a.btn { text-decoration: none; }
/* Phone: the ebook sits small above the headline so the download button stays high. */
.ty-ready__book { order: -1; justify-self: start; width: min(30vw, 120px); margin-bottom: -8px; }
.ty-ready__book img { width: 100%; height: auto; filter: drop-shadow(0 24px 30px rgba(1, 10, 40, 0.65)); }
.ty-dev { margin-top: 10px; padding: 8px 12px; border: 1px dashed #f3a9a0; border-radius: 8px; font-size: 0.8125rem; color: #f3a9a0; }
.ty-dev code { font-size: 0.8125rem; color: #fff; }

.ty-next { background: #fff; padding-block: var(--section-y); }
.ty-next__grid { display: grid; gap: 28px; }
.ty-next__photo { margin-inline: calc(var(--gutter) * -1); }
.ty-next__photo img { width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; }
.ty-next__list { display: grid; margin-top: 20px; border-top: 2px solid var(--navy); }
.ty-next__list li { padding-block: 14px; border-bottom: 1px solid var(--line); font-size: 1rem; line-height: 1.55; color: var(--body); }
.ty-next__list b { color: var(--navy); font-weight: 800; }
.ty-next__cta { width: 100%; margin-top: 28px; }
.ty-next .ty-dev { border-color: #c0392b; color: #c0392b; }
.ty-next .ty-dev code { color: var(--ink); }
.ty-next__micro { margin-top: 12px; font-size: 0.875rem; font-weight: 600; color: var(--muted); }

.ty-follow { padding-block: 40px 48px; background: var(--soft); border-top: 1px solid var(--line); text-align: center; }
.ty-follow__title { font-family: var(--f-display); font-weight: 700; font-size: 1.0625rem; color: var(--navy); }
.ty-follow__list { display: flex; justify-content: center; gap: 14px; margin-top: 14px; }
.ty-follow__list a { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; border: 2px solid var(--navy); color: var(--navy); transition: background 0.2s, color 0.2s, transform 0.2s; }
.ty-follow__list a:hover, .ty-follow__list a:focus-visible { background: var(--navy); color: #fff; transform: translateY(-2px); }
.ty-follow__list svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.ty-follow__legal { max-width: 60ch; margin: 28px auto 0; font-size: 0.75rem; line-height: 1.7; color: var(--muted); }
.ty-follow__legal a { color: inherit; text-decoration: underline; }

@media (min-width: 600px) { .ty-ready__cta, .ty-next__cta { width: auto; } }
@media (min-width: 960px) {
  .ty-ready { padding-top: 28px; }
  .ty-ready__grid { grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr); grid-template-areas: "logo logo" "copy book"; align-items: center; column-gap: clamp(3rem, 6vw, 6rem); }
  .ty-ready__logo { grid-area: logo; width: 200px; margin-bottom: clamp(2.5rem, 4vw, 4rem); }
  .ty-ready__copy { grid-area: copy; }
  .ty-ready__book { order: 0; grid-area: book; justify-self: center; width: clamp(240px, 24vw, 300px); margin-bottom: 0; transform: rotate(4deg); }
  .ty-next__grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center; gap: clamp(3rem, 6vw, 6rem); }
  .ty-next__photo { margin-inline: 0; }
  .ty-next__photo img { aspect-ratio: 4 / 5; border-radius: 16px; object-position: 45% 50%; }
}

/* ---------- Sticky mobile CTA ---------- */
.bd-sticky {
  position: fixed;
  inset: auto 0 0 0;
  z-index: 60;
  padding: 10px var(--gutter) calc(10px + env(safe-area-inset-bottom));
  background: var(--navy-950);
  border-top: 1px solid rgba(232, 192, 76, 0.35);
  box-shadow: 0 -10px 24px rgba(1, 10, 40, 0.35);
  transform: translateY(110%);
  transition: transform 0.45s var(--ease-out);
}
.bd-sticky.is-visible { transform: none; }
.bd-sticky__btn { min-height: 54px; padding-block: 14px; }
.bd-sticky .bd-assure { margin-top: 8px; font-size: 0.75rem; }
@media (min-width: 960px) { .bd-sticky { display: none; } }
@media (prefers-reduced-motion: reduce) { .bd-sticky { transition: none; } }

/* Very small phones (under 375px): a step down in heading and stat-label size, as Skyrocket does, so long last words
   still pair up without orphans. Kept last so it wins over the section rules above. */
@media (max-width: 374px) { .bd-h2 { font-size: 2.25rem; } }

/* Phones: full-width big buttons need less side padding, so every CTA label fits on one line. */
@media (max-width: 599px) { .btn--lg { padding-inline: 20px; } }
