/* ==========================================================================
   Mountain West Planning — shared stylesheet
   ========================================================================== */

:root {
  /* Brand palette — use only these */
  --ivory: #F7F5F0;
  --mist: #DCE4EA;
  --navy: #1F2F3F;
  --copper: #B5764A;
  --copper-light: #C98A5E;

  /* Neutral tints derived from navy */
  --ink: var(--navy);
  --ink-soft: #46535F;          /* secondary text (AA on ivory + mist) */
  --ink-muted: #5B6773;         /* captions, meta */
  --navy-deep: #18252F;         /* primary button hover */
  --line: rgba(31, 47, 63, 0.14);
  --line-strong: rgba(31, 47, 63, 0.28);
  --surface: #FBFAF7;           /* card surface: ivory lifted toward white */
  --on-navy: var(--ivory);
  --on-navy-soft: rgba(247, 245, 240, 0.74);
  --on-navy-line: rgba(247, 245, 240, 0.16);

  --font-serif: "Libre Baskerville", Georgia, "Times New Roman", serif;
  --font-sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --container: 1180px;
  --gutter: 24px;
  --radius: 2px;
  --header-h: 76px;
  --section-y: clamp(64px, 9vw, 112px);
  --ease: cubic-bezier(.2, .7, .2, 1);
}

/* ---------- Reset / base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--ivory);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 1.0625rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg, iframe { max-width: 100%; display: block; }
h1, h2, h3, h4 {
  font-family: var(--font-serif);
  font-weight: 400;
  line-height: 1.2;
  margin: 0 0 .6em;
  letter-spacing: -0.005em;
}
h1 { font-size: clamp(2.1rem, 4.6vw, 3.4rem); line-height: 1.12; }
h2 { font-size: clamp(1.65rem, 3vw, 2.35rem); }
h3 { font-size: 1.25rem; line-height: 1.35; }
p { margin: 0 0 1em; }
ul, ol { margin: 0 0 1em; padding-left: 1.2em; }
li + li { margin-top: .35em; }
a { color: inherit; text-decoration-color: var(--copper); text-underline-offset: 3px; text-decoration-thickness: 1px; }
a:hover { text-decoration-thickness: 2px; }
strong { font-weight: 600; }
:focus-visible { outline: 2px solid var(--copper); outline-offset: 3px; }
::selection { background: var(--mist); }
[id] { scroll-margin-top: calc(var(--header-h) + 16px); }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); }
.container--narrow { max-width: 780px; }
.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; left: 16px; top: -60px; z-index: 200;
  background: var(--navy); color: var(--ivory); padding: 10px 16px; text-decoration: none;
}
.skip-link:focus { top: 12px; }

/* Visible marker for content Will must supply */
.placeholder {
  background: rgba(181, 118, 74, 0.12);
  border-bottom: 1px dashed var(--copper);
  padding: 0 .25em;
  font-style: normal;
}
.section--navy .placeholder, .site-footer .placeholder { background: rgba(201, 138, 94, 0.18); border-color: var(--copper-light); }

/* ---------- Type helpers ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  font-family: var(--font-sans); font-size: .75rem; font-weight: 600;
  letter-spacing: .18em; text-transform: uppercase; color: var(--ink-soft);
  margin: 0 0 18px;
}
.eyebrow::before { content: ""; width: 28px; height: 1px; background: var(--copper); }
.section--navy .eyebrow { color: var(--on-navy-soft); }
.section--navy .eyebrow::before { background: var(--copper-light); }
.lede { font-size: clamp(1.1rem, 1.6vw, 1.25rem); color: var(--ink-soft); max-width: 40em; }
.muted { color: var(--ink-muted); }
.small { font-size: .875rem; }
.rule { width: 48px; height: 2px; background: var(--copper); border: 0; margin: 0 0 24px; }
.section-head { max-width: 720px; margin-bottom: clamp(36px, 5vw, 56px); }
.section-head--center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head--center .eyebrow { justify-content: center; }
.section-head p:last-child { margin-bottom: 0; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-family: var(--font-sans); font-size: .9375rem; font-weight: 600; line-height: 1.2;
  padding: 14px 24px; border-radius: var(--radius); border: 1px solid transparent;
  text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: background-color .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease), box-shadow .2s var(--ease);
}
.btn--primary { background: var(--navy); color: var(--ivory); }
.btn--primary:hover { background: var(--navy-deep); box-shadow: inset 0 -2px 0 var(--copper); }
.btn--ghost { background: transparent; color: var(--navy); border-color: var(--line-strong); }
.btn--ghost:hover { border-color: var(--copper); color: var(--navy); }
.btn--light { background: var(--ivory); color: var(--navy); }
.btn--light:hover { background: #fff; box-shadow: inset 0 -2px 0 var(--copper); }
.btn--outline-light { background: transparent; color: var(--ivory); border-color: var(--on-navy-line); }
.btn--outline-light:hover { border-color: var(--copper-light); }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }
.text-link {
  display: inline-flex; align-items: center; gap: 6px;
  font-weight: 600; font-size: .9375rem; text-decoration: none; color: var(--navy);
  border-bottom: 1px solid var(--copper); padding-bottom: 2px;
}
.text-link:hover { color: var(--copper); }
.text-link .arrow { transition: transform .2s var(--ease); }
.text-link:hover .arrow { transform: translateX(3px); }

/* ---------- Brand lockup ---------- */
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; color: var(--navy); flex-shrink: 0; }
.brand__mark { width: 40px; height: 40px; }
.brand__text { display: flex; flex-direction: column; line-height: 1; }
.brand__name { font-family: var(--font-serif); font-size: 1.2rem; letter-spacing: -0.01em; white-space: nowrap; }
.brand__sub { font-family: var(--font-sans); font-size: .625rem; font-weight: 600; letter-spacing: .3em; color: var(--copper); margin-top: 6px; text-transform: uppercase; }
.brand--reversed { color: var(--ivory); }
.brand--reversed .brand__sub { color: var(--copper-light); }

/* ---------- Header / nav ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: var(--ivory);
  border-bottom: 1px solid transparent;
  transition: border-color .25s var(--ease);
}
.site-header.is-scrolled { border-bottom-color: var(--line); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: var(--header-h); }

.nav-list { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: 2px; }
.nav-list li { margin: 0; }
.nav-link {
  display: inline-flex; align-items: center; gap: 6px;
  font-family: var(--font-sans); font-size: .875rem; font-weight: 500; color: var(--navy);
  text-decoration: none; padding: 10px 11px; background: none; border: 0; cursor: pointer;
  position: relative; white-space: nowrap;
}
.nav-link::after {
  content: ""; position: absolute; left: 11px; right: 11px; bottom: 4px; height: 1px;
  background: var(--copper); transform: scaleX(0); transform-origin: left; transition: transform .25s var(--ease);
}
.nav-link:hover::after, .nav-link[aria-current="page"]::after, .nav-toggle.is-current::after { transform: scaleX(1); }
.nav-link[aria-current="page"], .nav-toggle.is-current { font-weight: 600; }
.caret { width: 10px; height: 10px; transition: transform .2s var(--ease); flex-shrink: 0; }
.nav-group.is-open > .nav-toggle .caret { transform: rotate(180deg); }

.nav-group { position: relative; }
.nav-group--cta { margin-left: 12px; }
.nav-cta { padding: 12px 18px; font-size: .875rem; }
.nav-cta.is-current { box-shadow: inset 0 -2px 0 var(--copper); }

.dropdown {
  list-style: none; margin: 0; padding: 8px 0;
  position: absolute; top: calc(100% + 6px); left: 0; min-width: 230px;
  background: var(--surface); border: 1px solid var(--line);
  box-shadow: 0 14px 30px -18px rgba(31, 47, 63, .35);
  display: none;
}
.dropdown::before { content: ""; position: absolute; left: 0; right: 0; top: -8px; height: 8px; } /* hover bridge */
.dropdown--right { left: auto; right: 0; }
.dropdown li { margin: 0; }
.dropdown a {
  display: block; padding: 10px 18px; font-size: .875rem; color: var(--navy); text-decoration: none;
  border-left: 2px solid transparent;
}
.dropdown a:hover, .dropdown a:focus-visible { background: rgba(220, 228, 234, .55); border-left-color: var(--copper); outline: none; }
.dropdown a[aria-current="page"] { font-weight: 600; border-left-color: var(--copper); }
.nav-group.is-open > .dropdown { display: block; }
html:not(.js) .nav-group:hover > .dropdown,
html:not(.js) .nav-group:focus-within > .dropdown { display: block; }

.nav-burger {
  display: none; align-items: center; gap: 10px;
  background: none; border: 1px solid var(--line-strong); border-radius: var(--radius);
  padding: 10px 14px; font: 600 .8125rem/1 var(--font-sans); color: var(--navy); cursor: pointer;
  letter-spacing: .08em; text-transform: uppercase;
}
.nav-burger__bars, .nav-burger__bars::before, .nav-burger__bars::after {
  display: block; width: 18px; height: 1.5px; background: var(--navy); position: relative; transition: transform .2s var(--ease), background-color .2s;
}
.nav-burger__bars::before, .nav-burger__bars::after { content: ""; position: absolute; left: 0; }
.nav-burger__bars::before { top: -6px; }
.nav-burger__bars::after { top: 6px; }
.site-header.is-nav-open .nav-burger__bars { background: transparent; }
.site-header.is-nav-open .nav-burger__bars::before { transform: translateY(6px) rotate(45deg); }
.site-header.is-nav-open .nav-burger__bars::after { transform: translateY(-6px) rotate(-45deg); }

@media (max-width: 1179px) {
  .nav-burger { display: inline-flex; }
  .site-nav {
    display: none;
    position: absolute; left: 0; right: 0; top: 100%;
    background: var(--ivory); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
    max-height: calc(100vh - var(--header-h)); max-height: calc(100dvh - var(--header-h)); overflow-y: auto;
    padding: 8px var(--gutter) 28px;
  }
  html:not(.js) .site-nav { display: block; position: static; border: 0; }
  html:not(.js) .header-inner { flex-wrap: wrap; }
  html:not(.js) .nav-burger { display: none; }
  .site-header.is-nav-open .site-nav { display: block; }
  .nav-list { flex-direction: column; align-items: stretch; gap: 0; max-width: 640px; margin: 0 auto; }
  .nav-list > li { border-bottom: 1px solid var(--line); }
  .nav-link { width: 100%; justify-content: space-between; font-size: 1rem; padding: 16px 0; }
  .nav-link::after { left: 0; right: auto; width: 24px; bottom: 10px; }
  .nav-group--cta { margin: 20px 0 0; border-bottom: 0 !important; }
  .nav-cta { width: 100%; justify-content: space-between; padding: 16px 18px; font-size: 1rem; }
  .nav-cta::after { display: none; }
  .dropdown, .dropdown--right {
    position: static; box-shadow: none; border: 0; background: transparent; min-width: 0; padding: 0 0 12px 12px;
  }
  .nav-group--cta .dropdown { padding-top: 8px; }
  .dropdown a { padding: 12px 14px; font-size: .9375rem; }
  body.nav-locked { overflow: hidden; }
}
@media (max-width: 420px) {
  .brand__mark { width: 34px; height: 34px; }
  .brand__name { font-size: 1.05rem; }
  .nav-burger__label { display: none; }
}

/* ---------- Sections ---------- */
.section { padding: var(--section-y) 0; }
.section--mist { background: var(--mist); }
.section--navy { background: var(--navy); color: var(--on-navy); }
.section--navy .lede, .section--navy p { color: var(--on-navy-soft); }
.section--navy h2, .section--navy h3 { color: var(--ivory); }
.section--tight { padding: clamp(44px, 6vw, 72px) 0; }
.section + .section:not(.section--mist):not(.section--navy):not(.section--flush) { border-top: 1px solid var(--line); }

/* ---------- Hero ---------- */
.hero { padding: clamp(64px, 10vw, 128px) 0 clamp(56px, 8vw, 104px); border-bottom: 1px solid var(--line); }
.hero__grid { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: clamp(40px, 6vw, 88px); align-items: end; }
.hero h1 { max-width: 14em; }
.hero h1 em { font-style: normal; color: var(--navy); }
.hero .lede { margin-bottom: 32px; }
/* Home hero with background video */
.hero--video {
  position: relative; isolation: isolate; overflow: hidden;
  min-height: 88vh; display: flex; align-items: center;
  border-bottom: 0; color: var(--ivory);
  /* Shows instantly (and stays, under reduced motion) before the video paints */
  background: var(--navy) url("../assets/video/hero-poster.jpg") center / cover no-repeat;
}
.hero--video > .container { position: relative; z-index: 2; }
.hero__video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0; pointer-events: none; }
.hero__overlay {
  position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(180deg, rgba(31, 47, 63, .70) 0%, rgba(31, 47, 63, .45) 48%, rgba(31, 47, 63, .80) 100%);
}
.hero--video h1, .hero--video .lede, .hero--video .eyebrow { color: var(--ivory); }
.hero--video .eyebrow::before { background: var(--copper-light); }
.hero--video h1, .hero--video .lede { text-shadow: 0 1px 18px rgba(31, 47, 63, .35); }
.hero--video h1 em { color: var(--copper-light); }
.hero--video :focus-visible { outline-color: var(--ivory); }
/* Home hero: one centered column (eyebrow, h1, intro, buttons, trust line).
   Balanced top/bottom padding so the block sits in the middle of the video. */
.hero--video { padding-block: clamp(72px, 9vw, 120px); }
.hero--video .hero__grid { display: block; text-align: center; }
.hero--video .eyebrow { display: flex; justify-content: center; }
.hero--video .eyebrow::after { content: ""; width: 28px; height: 1px; background: var(--copper-light); }
.hero--video h1 { margin-inline: auto; }
.hero--video .btn-row { justify-content: center; }
/* Intro: three paragraphs read as one message (14px apart), 32px above the buttons.
   Color and text-shadow still come from .hero--video .lede. */
.hero--video .hero__lede { max-width: 50rem; margin-inline: auto; }
.hero--video .hero__lede .lede { margin: 0 0 14px; max-width: none; font-size: clamp(1.05rem, 1.4vw, 1.1875rem); }
.hero--video .hero__lede .lede:last-child { margin-bottom: 32px; }
/* Readability: a soft, edgeless spotlight behind the text block (above the navy
   overlay, below the content; also covers the poster under reduced motion), plus
   medium-weight full-ivory intro text and a crisper layered shadow. */
.hero--video .hero__overlay::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(ellipse 62% 58% at 50% 56%, rgba(31, 47, 63, .55) 0%, rgba(31, 47, 63, .35) 45%, rgba(31, 47, 63, 0) 75%);
}
@media (max-width: 767px) {
  .hero--video .hero__overlay::after {
    background: radial-gradient(ellipse 90% 70% at 50% 56%, rgba(31, 47, 63, .55) 0%, rgba(31, 47, 63, .35) 45%, rgba(31, 47, 63, 0) 75%);
  }
}
.hero--video .hero__lede .lede { font-weight: 500; color: #F7F5F0; }
.hero--video .hero__lede .lede,
.hero--video .eyebrow,
.hero--video .hero__trust { text-shadow: 0 1px 2px rgba(15, 23, 32, .6), 0 2px 14px rgba(15, 23, 32, .35); }
/* Slim trust line under the buttons */
.hero--video .hero__trust {
  margin: 28px 0 0; font-family: var(--font-sans); font-size: .8125rem; font-weight: 500;
  letter-spacing: .14em; text-transform: uppercase; color: var(--on-navy-soft);
  text-shadow: 0 1px 18px rgba(31, 47, 63, .35);
}
.hero--video .hero__trust > span { white-space: nowrap; }
.hero--video .hero__trust .hero__trust-sep { color: var(--copper-light); margin: 0 .6em; }
@media (max-width: 599px) {
  .hero--video .hero__trust { display: flex; flex-direction: column; align-items: center; gap: 6px; }
  .hero--video .hero__trust .hero__trust-sep { display: none; }
}
.btn--outline-ivory { background: transparent; color: var(--ivory); border-color: rgba(247, 245, 240, .75); }
.btn--outline-ivory:hover { background: rgba(247, 245, 240, .1); border-color: var(--ivory); box-shadow: inset 0 -2px 0 var(--copper-light); }
@media (max-width: 860px) {
  .hero--video { min-height: 75vh; }
}
@media (prefers-reduced-motion: reduce) {
  .hero__video { display: none; }
}

.hero--page { padding: clamp(56px, 8vw, 104px) 0 clamp(44px, 6vw, 72px); }
.hero--page h1 { max-width: 18em; }
.hero--page h1 em { color: var(--copper); } /* copper on light page heroes; video hero keeps copper-light */
@media (max-width: 599px) { .hero--page h1 .br-desktop { display: none; } } /* let the em wrap naturally on phones */

/* Split page hero: text + photo (reusable on any topic page via .hero--split) */
.hero__split { display: grid; grid-template-columns: minmax(0, 1fr); gap: 40px; }
.hero--split h1 .br-desktop { display: none; } /* narrower column: let the headline wrap naturally */
.hero__media img {
  display: block; width: 100%; height: auto;
  aspect-ratio: 16 / 10; object-fit: cover; object-position: center;
  border-radius: var(--radius); background: var(--mist);
}
@media (min-width: 960px) {
  .hero__split { grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); column-gap: clamp(40px, 5vw, 80px); align-items: center; }
  .hero--split h1 { font-size: clamp(2.1rem, 3.4vw, 2.85rem); }
  /* 15% (not 30%): at 4:5, 30% cuts the ukulele player in half; 15% keeps her, the girl, and the man in frame */
  .hero__media img { aspect-ratio: 4 / 5; object-position: 15% 50%; }
}
/* Term Insurance hero photo: shorter copy, so a 4:3 landscape crop (not the shared 4:5)
   keeps the photo close to the text height. 80% keeps all four people and their
   reflections in frame (open water on the left cropped out). */
@media (min-width: 960px) {
  .hero__media--term img { aspect-ratio: 4 / 3; object-position: 80% 50%; }
}
/* Disability Insurance hero photo: short copy, so 4:3 landscape (not the shared 4:5).
   50% 45% keeps all three people fully in frame. */
@media (min-width: 960px) {
  .hero__media--disability img { aspect-ratio: 4 / 3; object-position: 50% 45%; }
}
/* Retirement Planning hero photo: short copy, so 4:3 landscape (not the shared 4:5).
   50% 50% keeps the whole family in frame, girl on shoulders through both grandparents. */
@media (min-width: 960px) {
  .hero__media--retirement img { aspect-ratio: 4 / 3; object-position: 50% 50%; }
}
/* Cash Flow Banking hero photo: 7:8 (slightly shorter than the shared 4:5) so the
   photo top sits level with the breadcrumb instead of leaving dead space above it.
   15% keeps the ukulele player, the girl, and the man in frame. */
@media (min-width: 960px) {
  .hero__media--cfb img { aspect-ratio: 7 / 8; object-position: 15% 50%; }
}
.breadcrumb { font-size: .8125rem; color: var(--ink-muted); margin-bottom: 20px; }
.breadcrumb a { color: var(--ink-soft); }
@media (max-width: 860px) {
  .hero__grid { grid-template-columns: 1fr; align-items: start; }
}

/* ---------- Problem strip ---------- */
.strip { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); gap: clamp(32px, 6vw, 80px); align-items: start; }
.strip h2 { margin-bottom: 0; }
.strip p { font-size: 1.125rem; color: var(--ink-soft); }
.strip p:last-child { margin-bottom: 0; }
@media (max-width: 760px) { .strip { grid-template-columns: 1fr; } }

/* ---------- Cards ---------- */
.card-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.card {
  background: var(--surface); padding: 32px 28px 30px;
  border-right: 1px solid var(--line); border-bottom: 1px solid var(--line);
  display: flex; flex-direction: column; position: relative;
  transition: background-color .2s var(--ease);
}
.card::before { content: ""; position: absolute; left: 28px; top: 0; width: 32px; height: 2px; background: var(--copper); }
.card__num { font-family: var(--font-serif); font-size: .875rem; color: var(--ink-muted); margin-bottom: 28px; }
.card h3 { margin-bottom: 12px; }
.card p { color: var(--ink-soft); font-size: .975rem; flex-grow: 1; }
.card:hover { background: #fff; }
.card .text-link::after { content: ""; position: absolute; inset: 0; } /* whole card clickable */
@media (max-width: 1024px) { .card-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .card-grid { grid-template-columns: 1fr; } }

/* ---------- Who we work with ---------- */
/* ---------- Copper offset frame (shared) ----------
   Wrap an image in .offset-frame: a 1px copper line sits behind it, offset down/right.
   Add .offset-frame--left to offset down/left instead. Hidden under 600px.
   The margin reserves room for the offset so it never causes overflow. */
.offset-frame { position: relative; isolation: isolate; --frame-offset: 10px; --frame-dir: 1; }
.offset-frame::before {
  content: ""; position: absolute; inset: 0; z-index: -1; display: none;
  border: 1px solid var(--copper); border-radius: var(--radius);
  transform: translate(calc(var(--frame-offset) * var(--frame-dir)), var(--frame-offset));
}
.offset-frame--left { --frame-dir: -1; }
@media (min-width: 600px) {
  .offset-frame::before { display: block; }
  .offset-frame { margin: 0 var(--frame-offset) var(--frame-offset) 0; }
  .offset-frame--left { margin: 0 0 var(--frame-offset) var(--frame-offset); }
}
@media (min-width: 960px) { .offset-frame { --frame-offset: 16px; } }

/* Mobile-first: heading → photo → items (1 column) */
.who-layout { display: grid; grid-template-columns: minmax(0, 1fr); gap: 32px; }
.who-layout__head { margin-bottom: 0; }
.who-layout__media img {
  /* 30% (not 60%): at 4:3, 60% clips the boy's face on the left; 30% keeps him and the girl on the right */
  width: 100%; height: auto; aspect-ratio: 16 / 10; object-fit: cover; object-position: 30% center;
  border-radius: var(--radius); background: var(--mist);
}
.who-list { display: grid; grid-template-columns: minmax(0, 1fr); gap: 24px; }
.who { border-top: 1px solid var(--line-strong); padding-top: 22px; }
.who h3 { font-size: 1.125rem; margin-bottom: 8px; }
.who p { color: var(--ink-soft); font-size: .95rem; margin: 0; }

/* Tablet: offset frame on (10px), items 2×2. Margin keeps the frame inside the container. */
@media (min-width: 600px) {
  .who-list { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px clamp(24px, 4vw, 40px); }
}

/* Desktop: text left (~5/12), photo right (~7/12), left column centered against the photo */
@media (min-width: 960px) {
  .who-layout {
    grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
    grid-template-rows: 1fr auto auto 1fr;
    grid-template-areas: ". media" "head media" "items media" ". media";
    column-gap: clamp(40px, 5vw, 80px); row-gap: 0;
    align-items: start;
  }
  .who-layout__head { grid-area: head; margin-bottom: 28px; }
  .who-layout__media { grid-area: media; align-self: center; }
  .who-layout__media img { aspect-ratio: 4 / 3; }
  .who-list { grid-area: items; grid-template-columns: minmax(0, 1fr); gap: 20px; }
  .who { padding-top: 16px; }
  .who h3 { margin-bottom: 4px; }
}

/* ---------- Steps ---------- */
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(24px, 3vw, 40px); counter-reset: step; }
.steps > li { margin: 0; counter-increment: step; position: relative; padding-top: 64px; }
.steps > li::before {
  content: counter(step, decimal-leading-zero);
  position: absolute; top: 0; left: 0; font-family: var(--font-serif); font-size: 2rem; color: var(--navy); line-height: 1;
}
.steps > li::after { content: ""; position: absolute; top: 15px; left: 64px; right: 0; height: 1px; background: var(--line-strong); }
.steps .step__meta { font-size: .75rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-muted); margin-bottom: 8px; }
.steps h3 { margin-bottom: 10px; }
.steps p { color: var(--ink-soft); font-size: .975rem; margin: 0; }
.section--navy .steps > li::before { color: var(--copper-light); }
.section--navy .steps > li::after { background: var(--on-navy-line); }
@media (max-width: 820px) { .steps { grid-template-columns: 1fr; } }

/* ---------- About ---------- */
.about { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(36px, 6vw, 88px); align-items: center; }
.about__media .img-slot { border-radius: var(--radius); }
.about__media .img-slot > img { object-position: 50% 55%; }
.about__body p { color: var(--ink-soft); }
.about__facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin: 32px 0 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.about__facts > div { padding: 20px 20px 20px 0; }
.about__facts > div + div { padding-left: 20px; border-left: 1px solid var(--line); }
.about__facts dt { font-family: var(--font-serif); font-size: 1.4rem; line-height: 1.25; color: var(--navy); }
.about__facts dd { margin: 6px 0 0; font-size: .8125rem; line-height: 1.5; color: var(--ink-muted); }
.about__mark { display: flex; justify-content: center; border-top: 1px solid var(--line); padding-top: 24px; margin-top: 32px; }
.about__mark img { width: 52px; height: 52px; flex-shrink: 0; }
@media (max-width: 820px) {
  .about { grid-template-columns: 1fr; }
  .about__media { max-width: 420px; }
  .about__facts { grid-template-columns: 1fr; }
  .about__facts > div, .about__facts > div + div { padding: 16px 0; border-left: 0; }
  .about__facts > div + div { border-top: 1px solid var(--line); }
}

/* ---------- Image slots (graceful placeholder if file is missing) ---------- */
.img-slot { position: relative; overflow: hidden; background: var(--mist); border: 1px solid var(--line); }
.img-slot--portrait { aspect-ratio: 4 / 5; }
.img-slot--cover { aspect-ratio: 3 / 4; }
.img-slot > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 1; }
.img-slot.is-missing > img { display: none; }
.img-slot__ph {
  position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 14px; padding: 24px; text-align: center; color: var(--ink-soft); font-size: .8125rem;
}
.img-slot__ph img { width: 56px; height: 56px; opacity: .55; }
.img-slot__ph .placeholder { font-size: .8125rem; }
/* Guide cover placeholder: looks like a book cover */
.img-slot--cover .img-slot__ph {
  background: var(--navy); color: var(--on-navy-soft); justify-content: space-between; align-items: flex-start; text-align: left; padding: 28px 26px;
}
.cover__kicker { font-size: .625rem; font-weight: 600; letter-spacing: .26em; text-transform: uppercase; color: var(--copper-light); }
.cover__title { font-family: var(--font-serif); font-size: 1.4rem; line-height: 1.25; color: var(--ivory); }
.cover__title::after { content: ""; display: block; width: 36px; height: 2px; background: var(--copper-light); margin-top: 16px; }
.cover__foot { display: flex; align-items: center; gap: 10px; font-size: .6875rem; letter-spacing: .14em; text-transform: uppercase; }
.cover__foot img { width: 26px !important; height: 26px !important; opacity: 1 !important; }

/* ---------- Prose blocks (topic pages) ---------- */
.split { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: clamp(32px, 6vw, 88px); align-items: start; }
.split__head h2 { margin-bottom: 0; }
.split__body > p { color: var(--ink-soft); font-size: 1.0625rem; }
.split__body > p:last-child { margin-bottom: 0; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } }

.check-list { list-style: none; padding: 0; margin: 0 0 1em; }
.check-list li { position: relative; padding-left: 28px; color: var(--ink-soft); }
.check-list li + li { margin-top: 12px; }
.check-list li::before { content: ""; position: absolute; left: 0; top: .72em; width: 14px; height: 1.5px; background: var(--copper); }
.check-list strong { color: var(--navy); }

/* Stacked split: single centered column (opt-in modifier; base .split untouched) */
.split--stacked { display: block; }
.split--stacked .split__head { text-align: center; margin-bottom: clamp(28px, 4vw, 48px); }
.split--stacked .split__head .eyebrow { justify-content: center; }
.split--stacked .split__head .eyebrow::after { content: ""; width: 28px; height: 1px; background: var(--copper); }
/* Body copy sits in a ~46rem column; the check-list breaks out to ~64rem.
   Constraining the children (not .split__body) lets the list widen without negative margins or overflow. */
.split--stacked .split__body > p { max-width: 46rem; margin-inline: auto; }
.split--stacked .check-list {
  max-width: 64rem; margin: clamp(28px, 4vw, 40px) auto 0;
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(20px, 3vw, 36px);
}
.split--stacked .check-list li { margin: 0; padding-top: 18px; border-top: 1px solid var(--line-strong); }
.split--stacked .check-list li + li { margin-top: 0; } /* beats the base li + li spacing so columns align */
.split--stacked .check-list li::before { top: calc(18px + .72em); }
@media (max-width: 859px) {
  .split--stacked .check-list { grid-template-columns: minmax(0, 1fr); max-width: 46rem; }
}
/* Alias row under the stacked header (separators hidden at line breaks by main.js) */
.split--stacked .alias-row { margin: 16px auto 0; max-width: 46rem; font-family: var(--font-sans); font-size: .8125rem; letter-spacing: .08em; line-height: 1.9; color: var(--ink-muted); }
.split--stacked .alias-row > span { white-space: nowrap; }
.split--stacked .alias-row .alias-row__sep { color: var(--copper); margin: 0 .35em; }
.split--stacked .alias-row .alias-row__sep.is-wrap { display: none; }
/* Pull quote: upright serif, centered, short copper rule above */
.split--stacked .pull-quote { max-width: 46rem; margin: clamp(28px, 4vw, 44px) auto; padding: 0; border: 0; text-align: center; }
.split--stacked .pull-quote::before { content: ""; display: block; width: 48px; height: 1px; background: var(--copper); margin: 0 auto 20px; }
.split--stacked .pull-quote p { margin: 0; font-family: var(--font-serif); font-style: normal; font-size: clamp(1.5rem, 2.6vw, 2rem); line-height: 1.3; color: var(--navy); }
/* Split with a photo under the h2 (Cash Flow Banking "Who it's for") */
.split--media .split__media { margin-top: clamp(24px, 3vw, 36px); }
.split--media .split__media img {
  display: block; width: 100%; height: auto;
  aspect-ratio: 4 / 3; object-fit: cover; object-position: 45% 40%;
  border-radius: var(--radius); background: var(--mist);
}
@media (min-width: 861px) {
  /* The head's children join the grid so the photo shares a row with the body:
     photo top lines up exactly with the fit-grid's top border at every width. */
  .split--media { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); row-gap: 0; }
  .split--media .split__head { display: contents; }
  .split--media .split__head > * { grid-column: 1; }
  .split--media .split__head h2 { margin-bottom: clamp(24px, 3vw, 36px); }
  .split--media .split__media { grid-row: 3; margin-top: 0; }
  .split--media .split__body { grid-column: 2; grid-row: 3; }
  /* Photo + body share row 3 and stretch to equal height. The wrapper's bottom
     margin (= frame offset) means the copper line's bottom lands on the row's
     bottom, which is also the callout's bottom (callout has no bottom margin). */
  .split--media { align-items: stretch; }
  .split--media .split__media { min-height: 300px; }
  /* Taller than 4:3 here, so shift right (63%) to keep the girl's face in frame */
  .split--media .split__media img { position: absolute; inset: 0; height: 100%; aspect-ratio: auto; object-position: 63% 40%; }
  .split--media .split__body > .callout:last-child { margin-bottom: 0; }
}
@media (max-width: 860px) {
  .split--media .split__media { max-width: 560px; }
}
/* Split with a photo filling the left column below the h2 (Disability "How it actually works").
   Desktop: the head is a flex column; the photo grows to fill down to the row's bottom, so the
   copper frame's bottom (wrapper bottom + its margin) lands on the callout's bottom. */
.split--fill .split__fill-media { margin-top: clamp(28px, 3vw, 40px); }
.split--fill .split__fill-media img {
  display: block; width: 100%; height: auto;
  aspect-ratio: 4 / 3; object-fit: cover; object-position: 50% 45%;
  border-radius: var(--radius); background: var(--mist);
}
@media (min-width: 861px) {
  .split--fill { align-items: stretch; }
  .split--fill .split__head { display: flex; flex-direction: column; }
  .split--fill .split__fill-media { flex: 1 1 auto; min-height: 320px; }
  /* 52%: both the advisor (green) and the man (blue) in frame once the photo is wide enough */
  .split--fill .split__fill-media img { position: absolute; inset: 0; height: 100%; aspect-ratio: auto; object-position: 52% 40%; }
  .split--fill .split__body > .callout:last-child { margin-bottom: 0; }
}
@media (min-width: 861px) and (max-width: 1179px) {
  /* Narrower desktop: the photo is too tall/narrow for both faces, so favor the advisor speaking */
  .split--fill .split__fill-media img { object-position: 40% 40%; }
}
@media (max-width: 860px) {
  .split--fill .split__fill-media { max-width: 560px; }
}
/* Term Insurance "How it actually works" photo (portrait, faces in the upper third).
   12% (not 22%): at the 4:3 tablet/mobile crop, 22% clips the top of the man's head.
   Needs .split--media to beat the shared rules. */
.split--media .split__media--term-how img { object-position: 60% 12%; }

.fit-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0; border-top: 1px solid var(--line); }
.fit { padding: 22px 24px 22px 0; border-bottom: 1px solid var(--line); }
.fit:nth-child(odd) { border-right: 1px solid var(--line); }
.fit:nth-child(even) { padding-left: 24px; padding-right: 0; }
.fit h3 { font-size: 1.05rem; margin-bottom: 6px; }
.fit p { margin: 0; color: var(--ink-soft); font-size: .95rem; }
@media (max-width: 600px) {
  .fit-grid { grid-template-columns: 1fr; }
  .fit, .fit:nth-child(even) { padding: 20px 0; border-right: 0 !important; }
}
/* Fit grid as one centered band (Disability "Who it's for", under a stacked header).
   Desktop: 4 across; tablet: 2x2; mobile (<=600px): base single-column rules apply. */
.fit-grid--row { max-width: 72rem; margin-inline: auto; }
@media (min-width: 601px) {
  .fit-grid--row > .fit:nth-child(n) { padding: 24px; }
}
@media (min-width: 601px) and (max-width: 960px) {
  .fit-grid--row > .fit:nth-child(odd) { border-right: 1px solid var(--line); }
  .fit-grid--row > .fit:nth-child(even) { border-right: 0; }
}
@media (min-width: 961px) {
  .fit-grid--row { grid-template-columns: repeat(4, minmax(0, 1fr)); border-bottom: 1px solid var(--line); }
  .fit-grid--row > .fit:nth-child(n) { border-bottom: 0; border-right: 1px solid var(--line); }
  .fit-grid--row > .fit:last-child { border-right: 0; }
}

.how-list { list-style: none; margin: 0; padding: 0; counter-reset: how; }
.how-list > li { counter-increment: how; display: grid; grid-template-columns: 48px minmax(0, 1fr); gap: 16px; padding: 20px 0; border-top: 1px solid var(--line); margin: 0; }
.how-list > li:last-child { border-bottom: 1px solid var(--line); }
.how-list > li::before { content: counter(how); font-family: var(--font-serif); font-size: 1.35rem; color: var(--copper); line-height: 1.3; }
.how-list h3 { font-size: 1.05rem; margin-bottom: 4px; font-family: var(--font-sans); font-weight: 600; }
.how-list p { margin: 0; color: var(--ink-soft); font-size: .975rem; }

/* Timeline variant (Cash Flow Banking "How it actually works").
   Desktop: 4 centered columns, outlined number boxes, one copper line through
   the box centers. Below 900px: vertical timeline, boxes on the left. */
.how-list--timeline { --box: 64px; position: relative; max-width: 72rem; margin: clamp(8px, 2vw, 16px) auto 0; }
.how-list--timeline::before {
  content: ""; position: absolute; z-index: 0; pointer-events: none;
  left: 0; right: 0; top: calc(var(--box) / 2 - .5px); height: 1px;
  background: linear-gradient(to right, transparent, var(--copper) 10%, var(--copper) 90%, transparent);
}
.how-list--timeline > li,
.how-list--timeline > li:last-child { position: relative; z-index: 1; border: 0; padding: 0; margin: 0; }
.how-list--timeline > li::before {
  content: counter(how, decimal-leading-zero);
  display: flex; align-items: center; justify-content: center;
  box-sizing: border-box; width: var(--box); height: var(--box);
  border: 1px solid var(--copper); background: var(--ivory);
  font-family: var(--font-serif); font-size: 1.25rem; line-height: 1; color: var(--copper);
}
.how-list--timeline h3 { font-family: var(--font-serif); font-weight: 400; font-size: 1.3rem; line-height: 1.3; color: var(--navy); margin: 0 0 10px; }
.how-list--timeline p { font-size: .975rem; line-height: 1.7; }
.split--stacked .how-list--timeline + .callout { margin-top: clamp(40px, 5vw, 64px); }

@media (min-width: 900px) {
  .how-list--timeline { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(24px, 3vw, 48px); }
  .how-list--timeline > li { display: block; text-align: center; }
  .how-list--timeline > li::before { margin: 0 auto 28px; }
  .how-list--timeline p { max-width: 17rem; margin-inline: auto; }
}
@media (max-width: 899px) {
  .how-list--timeline { --box: 52px; max-width: 46rem; }
  .how-list--timeline::before {
    left: calc(var(--box) / 2 - .5px); right: auto; width: 1px; height: auto;
    top: -24px; bottom: 0;
    background: linear-gradient(to bottom, transparent, var(--copper) 48px, var(--copper) calc(100% - 72px), transparent);
  }
  .how-list--timeline > li { display: grid; grid-template-columns: var(--box) minmax(0, 1fr); gap: 20px; align-items: start; text-align: left; }
  .how-list--timeline > li + li { margin-top: 36px; }
  .how-list--timeline h3 { margin-top: 12px; margin-bottom: 6px; }
}

.callout {
  border-left: 2px solid var(--copper); background: var(--surface); padding: 18px 22px; margin: 24px 0 0;
  font-size: .9375rem; color: var(--ink-soft);
}
.callout strong { color: var(--navy); }
.section--mist .callout { background: rgba(247, 245, 240, .7); }

/* ---------- FAQ accordion ---------- */
.faq { border-top: 1px solid var(--line-strong); }
.faq__item { border-bottom: 1px solid var(--line-strong); }
.faq__item h3 { margin: 0; font-size: inherit; }
.faq__q {
  width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 20px;
  background: none; border: 0; padding: 22px 0; cursor: pointer; text-align: left;
  font-family: var(--font-serif); font-size: 1.125rem; line-height: 1.4; color: var(--navy);
}
.faq__q:hover { color: var(--copper); }
.faq__icon { position: relative; width: 14px; height: 14px; flex-shrink: 0; }
.faq__icon::before, .faq__icon::after { content: ""; position: absolute; left: 0; top: 6.25px; width: 14px; height: 1.5px; background: var(--copper); transition: transform .25s var(--ease); }
.faq__icon::after { transform: rotate(90deg); }
.faq__q[aria-expanded="true"] .faq__icon::after { transform: rotate(0deg); }
.faq__a { padding: 0 0 24px; max-width: 46em; color: var(--ink-soft); }
.faq__a p:last-child { margin-bottom: 0; }

/* ---------- Guide promo block ---------- */
.guide-promo { display: grid; grid-template-columns: minmax(0, 260px) minmax(0, 1fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.guide-promo .img-slot { max-width: 260px; box-shadow: 18px 18px 0 -1px var(--mist); }
.section--mist .guide-promo .img-slot { box-shadow: 18px 18px 0 -1px var(--ivory); }
.guide-promo h2 { margin-bottom: 14px; }
.guide-promo p { color: var(--ink-soft); }
@media (max-width: 680px) { .guide-promo { grid-template-columns: 1fr; } .guide-promo .img-slot { max-width: 200px; } }

/* ---------- CTA band ---------- */
.cta-band { display: grid; grid-template-columns: minmax(0, 1.3fr) auto; gap: 32px 56px; align-items: center; }
.cta-band h2 { margin-bottom: 10px; }
.cta-band p { margin: 0; max-width: 34em; }
.cta-band__links { display: flex; flex-wrap: wrap; gap: 10px 24px; margin-top: 28px; font-size: .875rem; }
.cta-band__links a { color: var(--on-navy-soft); text-decoration-color: var(--copper-light); }
.cta-band__links a:hover { color: var(--ivory); }
.cta-band .btn-row { justify-content: flex-end; }
@media (max-width: 820px) { .cta-band { grid-template-columns: 1fr; } .cta-band .btn-row { justify-content: flex-start; } }

.schedule-options { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; margin-top: 40px; border-top: 1px solid var(--on-navy-line); }
.schedule-options a {
  display: flex; justify-content: space-between; align-items: center; gap: 12px;
  padding: 20px 20px 20px 0; color: var(--ivory); text-decoration: none; font-weight: 500;
  border-bottom: 1px solid var(--on-navy-line);
}
.schedule-options a + a { padding-left: 20px; border-left: 1px solid var(--on-navy-line); }
.schedule-options a span { color: var(--copper-light); transition: transform .2s var(--ease); }
.schedule-options a:hover span { transform: translateX(4px); }
.schedule-options a:hover { color: #fff; }
@media (max-width: 900px) {
  .schedule-options { grid-template-columns: 1fr 1fr; }
  .schedule-options a, .schedule-options a + a { padding: 18px 16px 18px 0; border-left: 0; }
  .schedule-options a:nth-child(even) { padding-left: 16px; border-left: 1px solid var(--on-navy-line); }
}
@media (max-width: 520px) {
  .schedule-options { grid-template-columns: 1fr; }
  .schedule-options a:nth-child(even) { padding-left: 0; border-left: 0; }
}
/* Schedule options on a light (mist) section */
#schedule .cta-band p { max-width: 46rem; }
.section--mist .schedule-options { border-top-color: rgba(31, 47, 63, .18); }
.section--mist .schedule-options a { color: var(--navy); border-bottom-color: rgba(31, 47, 63, .18); }
.section--mist .schedule-options a + a { border-left-color: rgba(31, 47, 63, .18); }
.section--mist .schedule-options a span { color: var(--copper); }
.section--mist .schedule-options a:hover { color: var(--copper); }
.section--mist .schedule-options a:focus-visible { color: var(--navy); outline: 2px solid var(--copper); outline-offset: 2px; }
.section--mist .schedule-options a:focus-visible span { transform: translateX(4px); }
@media (max-width: 900px) {
  .section--mist .schedule-options a:nth-child(even) { border-left-color: rgba(31, 47, 63, .18); }
}

/* ---------- Embed slots (GHL calendars / forms, YouTube) ---------- */
.embed-slot {
  border: 1px dashed var(--line-strong); background: var(--surface);
  min-height: 420px; display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center; padding: 32px; gap: 10px;
}
.embed-slot--tall { min-height: 640px; }
.embed-slot__label { font-weight: 600; color: var(--navy); margin: 0; }
.embed-slot__note { font-size: .8125rem; color: var(--ink-muted); margin: 0; max-width: 32em; }
.embed-slot.is-live { border: 1px solid var(--line); padding: 0; display: block; min-height: 0; background: transparent; }
.embed-slot.is-live iframe { width: 100%; min-height: 680px; border: 0; }
/* Booking calendar on the schedule pages: GHL iframe injected by main.js.
   Reserved height + a quiet loading note so the page doesn't jump while it loads. */
.booking-embed {
  position: relative; min-height: 700px;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
}
.booking-embed::before {
  content: "Loading calendar\2026"; position: absolute; top: 56px; left: 0; right: 0;
  text-align: center; font-size: .875rem; color: var(--ink-muted);
}
.booking-embed.is-loaded::before { content: none; }
.booking-embed iframe { display: block; position: relative; width: 100%; } /* GHL sets the height */
.booking__fallback { margin: 14px 0 0; font-size: .8125rem; }
@media (max-width: 600px) {
  .booking-embed { min-height: 720px; }
}

/* ---------- Schedule pages: slim intro, calendar first ----------
   Shared by all four schedule-*.html pages. The calendar card sits on the right
   (left on narrow screens, first in the stack) so it's visible on arrival. */
.booking-intro { padding: 2rem 0 1.25rem; }
.booking-intro .breadcrumb { font-size: .75rem; margin-bottom: 10px; }
.booking-intro .eyebrow { margin-bottom: 10px; }
.booking-intro h1 { font-size: clamp(1.65rem, 1.1rem + 1.5vw, 2.25rem); line-height: 1.15; margin: 0 0 8px; }
.booking-intro__lede { max-width: 60ch; margin: 0; color: var(--ink-soft); }
.booking-section { padding: 0 0 clamp(56px, 8vw, 96px); }
.booking-layout {
  display: grid; grid-template-columns: minmax(0, 38fr) minmax(0, 62fr);
  gap: clamp(28px, 4vw, 56px); align-items: start;
}
.booking-card {
  grid-column: 2; grid-row: 1; min-width: 0;
  background: var(--surface); border: 1px solid var(--line); border-radius: 6px;
  padding: 12px;
}
.booking-card .booking-embed { border: 0; background: transparent; }
.booking-card .booking__fallback { margin: 10px 4px 2px; }
.booking-aside {
  grid-column: 1; grid-row: 1; min-width: 0;
  position: sticky; top: calc(var(--header-h) + 20px);
}
.booking-aside h2 { font-size: 1.25rem; margin: 0 0 14px; }
.booking-aside h2:not(:first-child) { margin-top: 32px; }
.booking-aside .check-list { margin: 0; }
.booking-aside .check-list li + li { margin-top: 10px; }
.booking-steps { list-style: none; margin: 0; padding: 0; }
.booking-steps li {
  display: grid; grid-template-columns: 2rem minmax(0, 1fr); gap: 0 10px;
  margin: 0; padding: 12px 0; border-top: 1px solid var(--line); color: var(--ink-soft);
}
.booking-steps li:last-child { border-bottom: 1px solid var(--line); }
.booking-steps__num { font-family: var(--font-serif); color: var(--copper); line-height: 1.6; }
.booking-steps strong { color: var(--navy); font-weight: 600; }
.booking-aside__note { margin: 20px 0 0; font-size: .9375rem; color: var(--ink-muted); }
.booking-aside__meta { margin: 14px 0 0; font-size: .8125rem; color: var(--ink-muted); }
@media (max-width: 900px) {
  .booking-intro { padding: 1.5rem 0 1rem; }
  .booking-layout { grid-template-columns: minmax(0, 1fr); }
  .booking-card, .booking-aside { grid-column: 1; grid-row: auto; }
  .booking-aside { position: static; }
}
@media (max-width: 600px) {
  .booking-intro { padding: 1.25rem 0 .875rem; }
  .booking-card { padding: 2px; }
  .booking-card .booking__fallback { margin: 10px 10px 10px; }
}

.video-frame { position: relative; aspect-ratio: 16 / 9; background: var(--navy); border: 1px solid var(--line); }
.video-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video-frame__facade { position: absolute; inset: 0; display: block; width: 100%; height: 100%; padding: 0; margin: 0; border: 0; background: var(--navy); cursor: pointer; overflow: hidden; }
.video-frame__facade--soon { cursor: default; }
.video-frame__poster { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.video-frame__facade::after { content: ""; position: absolute; inset: 0; background: rgba(31, 47, 63, .25); transition: background .25s var(--ease); }
.video-frame__play { position: absolute; z-index: 1; top: 50%; left: 50%; width: 88px; height: 88px; margin: -44px 0 0 -44px; border: 2px solid var(--copper-light); border-radius: 50%; background: rgba(31, 47, 63, .85); display: grid; place-items: center; transition: transform .25s var(--ease), border-color .25s var(--ease); }
.video-frame__play::before { content: ""; border-left: 22px solid var(--ivory); border-top: 13px solid transparent; border-bottom: 13px solid transparent; margin-left: 6px; }
.video-frame__label { position: absolute; z-index: 1; left: clamp(14px, 2.5vw, 22px); bottom: clamp(12px, 2.2vw, 20px); font-family: var(--font-sans); font-size: .8125rem; font-weight: 500; letter-spacing: .04em; color: var(--ivory); text-shadow: 0 1px 2px rgba(15, 23, 32, .6); }
.video-frame__facade:not(.video-frame__facade--soon):hover::after,
.video-frame__facade:focus-visible::after { background: rgba(31, 47, 63, .4); }
.video-frame__facade:hover .video-frame__play,
.video-frame__facade:focus-visible .video-frame__play { transform: scale(1.06); border-color: var(--ivory); }
.video-frame__noscript { margin: 14px 0 0; font-size: .875rem; }
.video-learn__title { margin-top: 56px; }
@media (prefers-reduced-motion: reduce) {
  .video-frame__facade::after, .video-frame__play { transition: none; }
}

/* ---------- Guides library ---------- */
.guide-row { display: grid; grid-template-columns: minmax(0, 300px) minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 4vw, 56px); padding: clamp(48px, 6vw, 72px) 0; border-top: 1px solid var(--line); align-items: start; }
.guide-row:last-child { border-bottom: 1px solid var(--line); }
.guide-row__cover { max-width: 300px; }
.guide-row__info h2 { font-size: clamp(1.4rem, 2.4vw, 1.75rem); }
.guide-row__info p { color: var(--ink-soft); }
.guide-row__form .embed-slot { min-height: 380px; }
.working-title { display: inline-block; font-size: .6875rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; margin-bottom: 12px; }
@media (max-width: 1024px) {
  .guide-row { grid-template-columns: minmax(0, 240px) minmax(0, 1fr); }
  .guide-row__form { grid-column: 1 / -1; }
}
@media (max-width: 640px) {
  .guide-row { grid-template-columns: 1fr; }
  .guide-row__cover { max-width: 220px; }
}

/* ---------- Schedule pages ---------- */

/* ---------- Legal / prose ---------- */
.prose h2 { font-size: 1.5rem; margin-top: 48px; }
.prose h2:first-child { margin-top: 0; }
.prose p, .prose li { color: var(--ink-soft); }
.draft-banner { border: 1px solid var(--copper); background: rgba(181, 118, 74, .08); padding: 14px 18px; font-weight: 600; font-size: .875rem; letter-spacing: .06em; margin-bottom: 40px; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy); color: var(--on-navy-soft); padding: clamp(56px, 8vw, 88px) 0 40px; font-size: .9375rem; }
.footer-top { display: grid; grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr)) minmax(0, 1.2fr); gap: 40px; padding-bottom: 48px; border-bottom: 1px solid var(--on-navy-line); }
.footer-brand .brand__mark { width: 44px; height: 44px; }
.footer-tagline { font-family: var(--font-serif); font-style: italic; color: var(--ivory); margin: 20px 0 0; font-size: 1.05rem; }
.footer-col h2 { font-family: var(--font-sans); font-size: .6875rem; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--copper-light); margin-bottom: 16px; }
.footer-col ul { list-style: none; padding: 0; margin: 0; }
.footer-col li + li { margin-top: 10px; }
.footer-col a { color: var(--on-navy-soft); text-decoration: none; }
.footer-col a:hover { color: var(--ivory); text-decoration: underline; text-decoration-color: var(--copper-light); }
.footer-col address { font-style: normal; line-height: 1.8; }
.footer-legal { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.6fr); gap: 40px; padding-top: 36px; font-size: .8125rem; line-height: 1.7; }
.footer-legal p { margin: 0 0 10px; }
.footer-legal strong { color: var(--ivory); font-weight: 600; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; margin-top: 36px; padding-top: 24px; border-top: 1px solid var(--on-navy-line); font-size: .8125rem; }
.footer-bottom a { color: var(--on-navy-soft); text-decoration-color: var(--copper-light); }
.footer-bottom a:hover { color: var(--ivory); }
@media (max-width: 1024px) {
  .footer-top { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .footer-brand, .footer-contact { grid-column: span 3; }
  .footer-contact { grid-column: span 3; }
}
@media (max-width: 760px) { .footer-legal { grid-template-columns: 1fr; gap: 16px; } }
@media (max-width: 560px) {
  .footer-top { grid-template-columns: 1fr 1fr; }
  .footer-brand, .footer-contact { grid-column: 1 / -1; }
}

/* ---------- Reveal on scroll (only when JS + motion allowed) ---------- */
html.reveal-ready .reveal { opacity: 0; transform: translateY(14px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
html.reveal-ready .reveal.is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}

@media (max-width: 560px) {
  :root { --gutter: 16px; --header-h: 68px; }
  .btn-row .btn { width: 100%; }
}
