/* ============================================================================
   css/advisors.css — /advisors and /advisors/hub (membership P0-9, 26 Nov 2026)
   ----------------------------------------------------------------------------
   Sections from lib/advisor-sections.js. Tokens only from css/tokens.css, plus
   one surface, --adv-white, so a section can step out of the paper.

   REVISION 3 (Duncan's round-3 review, 26 Nov): every section is a band you
   can see begin and end. The rhythm, top to bottom:
     photo (hero) · raised trust cards · WHITE (how it works, in a contained
     stage) · PAPER (Saint Lucia) · INK (Free vs PRO) · PAPER with a white card
     (go further) · photo (pricing) · WHITE (questions) · photo (the
     Collective and its form) · footer, ruled off in gold.
   Showcase sections centre their heading (how it works, Saint Lucia); sections
   that pair a heading with content beside it keep it left.

   SHAPE RULE: buttons keep the site's 2px; inputs 4px; frames, photographs
   and plan cards 8px; the large containers (stage, table card, paths card,
   form card, trust cards) 14px.

   THE ONE MOTION MOMENT is the gold journey line in "How it works"
   (js/advisors.js). Reduced motion keeps every still.
   ========================================================================== */

:root { --adv-white: #FFFFFF; }   /* Duncan asked for a white band to break the paper; the one pure value here */

.adv-wrap {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

/* ── Bands ──────────────────────────────────────────────────────────────── */
.adv-band--white { background: var(--adv-white); color: var(--ivory-ink); }
.adv-band--paper { background: var(--paper); color: var(--ivory-ink); }
.adv-band--ink   { background: var(--ink); color: var(--paper); }

/* ── Headings ───────────────────────────────────────────────────────────── */
.adv-head { max-width: 46rem; margin-bottom: clamp(2.5rem, 5vw, 4rem); }
.adv-head h2 { margin-bottom: 0.4em; }
.adv-head--center { margin-inline: auto; text-align: center; }
.adv-head--center .adv-lead { margin-inline: auto; }
.adv-lead {
  font-family: var(--serif);
  font-size: var(--fs-lead);
  line-height: 1.5;
  color: var(--muted);
  max-width: 38rem;
  text-wrap: balance;
}
.adv-head--light h2 { color: var(--paper); }
.adv-head--light h2 em { color: var(--gold); }
.adv-head--light .adv-lead { color: rgba(251, 248, 241, .82); }
.adv-head--wide { max-width: none; }
.adv-head--wide .adv-lead { max-width: none; }

.adv-textlink {
  font-family: var(--sans);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--gold-deep);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.3em;
  transition: color .2s var(--ease-out-quint);
}
.adv-textlink:hover { color: var(--ink); }
.adv-textlink--light { color: var(--gold); }
.adv-textlink--light:hover { color: var(--paper); }

.adv-note { font-size: 0.92rem; color: var(--muted); }

.adv-coming {
  display: inline-block;
  vertical-align: 0.1em;
  font-family: var(--sans);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  line-height: 1.5;
  color: var(--gold-deep);
  background: rgba(217, 160, 60, .12);
  border-radius: 2px;
  padding: 0.05rem 0.45rem;
  white-space: nowrap;
}

.hub-icon { width: 1em; height: 1em; flex: none; }

/* ── Full-bleed backgrounds ─────────────────────────────────────────────── */
.adv-bg { position: absolute; inset: 0; z-index: -1; overflow: hidden; }
.adv-bg picture { display: block; width: 100%; height: 100%; }
.adv-bg img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* ── Product frames ─────────────────────────────────────────────────────── */
.adv-frame {
  position: relative;
  border-radius: 8px;
  overflow: hidden;
  background: #fff;
  box-shadow:
    0 1px 2px rgba(18, 48, 47, .08),
    0 28px 64px -28px rgba(18, 48, 47, .42);
}
.adv-frame img { display: block; width: 100%; height: auto; }
.adv-frame--dark { box-shadow: 0 30px 70px -30px rgba(0, 0, 0, .6); }
.adv-frame:has(> .adv-slot) { background: none; box-shadow: none; overflow: visible; }
.adv-slot {
  aspect-ratio: 16 / 10;
  display: grid;
  place-items: center;
  padding: 2rem;
  text-align: center;
  background: var(--paper-2);
  border: 1px dashed var(--muted);
  border-radius: 8px;
  font-size: 0.95rem;
}

.adv-aside-photo { margin: 0; border-radius: 8px; overflow: hidden; }
.adv-aside-photo picture { display: block; width: 100%; height: 100%; }
.adv-aside-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* ══════════════════════════════════════════════════════════════════════════
   HERO
   ══════════════════════════════════════════════════════════════════════════ */
.adv-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: var(--ink);
  color: var(--paper);
  min-height: min(86vh, 60rem);
  display: flex;
  align-items: center;
  padding-top: clamp(4rem, 7vw, 6rem);
  padding-bottom: clamp(4rem, 7vw, 6rem);
}
.adv-hero > .adv-wrap { position: relative; }
.adv-hero .adv-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(18, 48, 47, .9) 0%, rgba(18, 48, 47, .74) 36%, rgba(18, 48, 47, .3) 64%, rgba(18, 48, 47, .18) 100%),
    linear-gradient(0deg, rgba(18, 48, 47, .55) 0%, rgba(18, 48, 47, 0) 32%);
}
.adv-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
}
.adv-hero h1 {
  font-size: clamp(2.6rem, 4.1vw, 4.6rem);
  line-height: 1.06;
  letter-spacing: -0.015em;
  color: var(--paper);
  margin-bottom: 0.45em;
}
.adv-hero h1 em { color: var(--gold); padding-bottom: 0.06em; }
.adv-hero-lead {
  font-family: var(--serif);
  font-size: clamp(1.1rem, 1.35vw, 1.35rem);
  line-height: 1.55;
  color: rgba(251, 248, 241, .88);
  max-width: 34rem;
  margin-bottom: 2.25rem;
}
.adv-hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.75rem; }
.adv-hero-visual { margin: 0; }
.adv-hero-shot {
  box-shadow: 0 40px 90px -30px rgba(0, 0, 0, .65), 0 2px 6px rgba(0, 0, 0, .2);
  outline: 1px solid rgba(251, 248, 241, .18);
}

/* ══════════════════════════════════════════════════════════════════════════
   THE DESKTOP WINDOW — a real screenshot, framed as the application it is
   ══════════════════════════════════════════════════════════════════════════ */
.adv-window {
  border-radius: 12px;
  overflow: hidden;
  background: #F3F1EC;
  box-shadow: 0 50px 100px -40px rgba(0, 0, 0, .7), 0 2px 8px rgba(0, 0, 0, .25);
  outline: 1px solid rgba(251, 248, 241, .25);
}
.adv-window-bar {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 1rem;
  height: 2.6rem;
  padding: 0 1rem;
  background: linear-gradient(180deg, #F6F4EF, #ECE9E2);
  border-bottom: 1px solid rgba(28, 43, 41, .12);
}
.adv-window-bar::after { content: ''; width: 3.4rem; }   /* balances the dots so the address centres */
.adv-window-dots { display: flex; gap: 0.45rem; }
.adv-window-dots i { width: 0.72rem; height: 0.72rem; border-radius: 50%; background: rgba(28, 43, 41, .2); }
.adv-window-url {
  justify-self: center;
  min-width: 0;
  max-width: 26rem;
  width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  text-align: center;
  font-family: var(--sans);
  font-size: 0.78rem;
  color: var(--muted);
  background: rgba(255, 255, 255, .8);
  border-radius: 6px;
  padding: 0.3rem 0.8rem;
}
.adv-window-body { position: relative; }
.adv-window-body img { display: block; width: 100%; height: auto; }

/* ══════════════════════════════════════════════════════════════════════════
/* ══════════════════════════════════════════════════════════════════════════
   HOW IT WORKS — one contained stage on white
   ══════════════════════════════════════════════════════════════════════════ */
.adv-route { padding-top: clamp(4rem, 8vw, 7rem); }
.adv-stage {
  background: var(--paper);
  border: 1px solid var(--hairline-l);
  border-radius: 14px;
  padding: clamp(1.5rem, 3.5vw, 3.5rem);
}
.adv-route-line {
  display: none;               /* shown only once js/advisors.js runs */
  position: relative;
  grid-template-columns: repeat(var(--steps), minmax(0, 1fr));
  max-width: 56rem;
  margin: 0 auto clamp(2rem, 4vw, 3.5rem);
}
.adv-route.is-tabbed .adv-route-line { display: grid; }
.adv-route-line::before,
.adv-route-line::after {
  content: '';
  position: absolute;
  top: 17px;
  left: calc(50% / var(--steps));
  right: calc(50% / var(--steps));
  height: 1px;
  background: var(--hairline-l);
}
.adv-route-line::after {
  height: 2px;
  top: 16.5px;
  background: var(--gold);
  transform-origin: left center;
  transform: scaleX(var(--progress, 0));
  transition: transform .7s var(--ease-out-expo);
}
.adv-station {
  position: relative;
  z-index: 1;
  display: grid;
  justify-items: center;
  gap: 0.7rem;
  padding: 0 0.5rem 0.25rem;
  background: none;
  border: 0;
  cursor: pointer;
  color: var(--muted);
  font: inherit;
}
.adv-station-dot {
  display: grid;
  place-items: center;
  width: 35px;
  height: 35px;
  border-radius: 50%;
  background: var(--paper);
  border: 1.5px solid var(--muted);
  font-family: var(--sans);
  font-size: 0.85rem;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  transition: background-color .3s var(--ease-out-quint), border-color .3s var(--ease-out-quint), color .3s var(--ease-out-quint);
}
.adv-station-name {
  font-family: var(--serif-display);
  font-size: clamp(1.15rem, 1.5vw, 1.5rem);
  line-height: 1.1;
  transition: color .3s var(--ease-out-quint);
}
.adv-station:hover .adv-station-name { color: var(--ivory-ink); }
.adv-station.is-passed .adv-station-dot { border-color: var(--gold); background: var(--gold); color: var(--ink); }
.adv-station[aria-selected="true"] .adv-station-dot { border-color: var(--ink); background: var(--ink); color: var(--gold); }
.adv-station[aria-selected="true"] .adv-station-name { color: var(--ink); }

.adv-route-panels { display: grid; gap: clamp(3rem, 6vw, 5rem); }
.adv-route.is-tabbed .adv-route-panels { gap: 0; }
.adv-route-panel {
  display: grid;
  grid-template-columns: minmax(0, 4fr) minmax(0, 8fr);
  gap: clamp(2rem, 4vw, 4rem);
  align-items: center;
  transition: opacity .45s var(--ease-out-expo), transform .45s var(--ease-out-expo);
}
.adv-route.is-tabbed .adv-route-panel { grid-area: 1 / 1; }
.adv-route.is-tabbed .adv-route-panel[hidden] { display: grid !important; visibility: hidden; opacity: 0; pointer-events: none; transform: translateY(8px); }
.adv-route-copy h3 { font-size: clamp(1.8rem, 2.6vw, 2.5rem); margin-bottom: 0.5em; }
.adv-route-copy p { font-size: 1.05rem; line-height: 1.7; max-width: 34rem; }
.adv-route-shot { margin: 0; }

/* ══════════════════════════════════════════════════════════════════════════
   BENTO OF REAL SCREENS
   ══════════════════════════════════════════════════════════════════════════ */
.adv-bento-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: clamp(1rem, 1.6vw, 1.5rem);
}
.adv-cell {
  background: var(--adv-white);
  border-radius: 14px;
  padding: clamp(1rem, 1.6vw, 1.5rem);
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  min-width: 0;
  box-shadow: 0 1px 2px rgba(18, 48, 47, .06), 0 18px 40px -28px rgba(18, 48, 47, .3);
}
.adv-cell--wide { grid-column: span 8; }
.adv-cell--std  { grid-column: span 4; }
.adv-cell .adv-frame { box-shadow: 0 1px 2px rgba(18,48,47,.08), 0 14px 34px -20px rgba(18,48,47,.35); }
.adv-cell--wide .adv-frame { aspect-ratio: 16 / 8; }
.adv-cell--wide .adv-frame img { height: 100%; object-fit: cover; object-position: top center; }
.adv-cell-copy { padding: 0 0.25rem 0.25rem; }
.adv-cell h3 { font-size: clamp(1.3rem, 1.7vw, 1.6rem); margin-bottom: 0.35em; }
.adv-cell p { font-size: 0.98rem; line-height: 1.6; color: var(--muted); }
.adv-cell .adv-textlink { display: inline-block; margin-top: 0.9rem; }

.adv-cell--eclipse { background: var(--eclipse-midnight); color: var(--eclipse-sand); }
.adv-cell--eclipse h3 { color: var(--eclipse-sand); }
.adv-cell--eclipse p { color: rgba(232, 223, 210, .78); }
.adv-cell--eclipse .adv-textlink { color: var(--eclipse-copper-l); }
.adv-cell--eclipse .adv-textlink:hover { color: var(--eclipse-sand); }
.adv-bento-photo { border-radius: 6px; overflow: hidden; aspect-ratio: 16 / 9; }
.adv-cell--eclipse .adv-bento-photo { flex: 1; aspect-ratio: auto; min-height: 12rem; }
.adv-bento-photo picture { display: block; height: 100%; }
.adv-bento-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }

.adv-cell--fill {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  justify-content: flex-end;
  min-height: 24rem;
  color: var(--paper);
  background: var(--ink);
}
.adv-cell-fill { position: absolute; inset: 0; z-index: -1; }
.adv-cell-fill picture { display: block; width: 100%; height: 100%; }
.adv-cell-fill img { width: 100%; height: 100%; object-fit: cover; display: block; }
.adv-cell-fill::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(18, 48, 47, 0) 20%, rgba(18, 48, 47, .8) 58%, rgba(18, 48, 47, .95) 100%);
}
.adv-cell--fill h3 { color: var(--paper); font-size: clamp(1.6rem, 2.2vw, 2.2rem); }
.adv-cell--fill p { color: rgba(251, 248, 241, .88); font-family: var(--serif); font-size: 1.05rem; }

/* ══════════════════════════════════════════════════════════════════════════
   FREE vs PRO — on ink, the table in a white card
   ══════════════════════════════════════════════════════════════════════════ */
.adv-features-top {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
  margin-bottom: clamp(3rem, 6vw, 5rem);
}
.adv-features-top .adv-head { margin-bottom: 0; }
.adv-features-shot { margin: 0; }

.adv-table-card {
  max-width: 64rem;
  margin-inline: auto;
  background: var(--adv-white);
  color: var(--ivory-ink);
  border-radius: 14px;
  padding: clamp(1rem, 2.5vw, 2.5rem);
  box-shadow: 0 40px 90px -40px rgba(0, 0, 0, .6);
}
.adv-table {
  width: 100%;
  border-collapse: collapse;
  font-family: var(--sans);
  font-variant-numeric: tabular-nums;
}
.adv-table thead th {
  vertical-align: bottom;
  text-align: left;
  padding: 0 1.25rem 1.5rem;
  border-bottom: 1px solid var(--ivory-ink);
}
.adv-th-feature { width: 40%; padding-left: 0 !important; }
.adv-th-title { font-family: var(--serif-display); font-size: clamp(1.5rem, 2.2vw, 2rem); font-weight: 400; color: var(--ink); }
.adv-th-plan { width: 30%; text-align: center !important; }
.adv-th-plan > span { display: block; }
.adv-th-name { font-size: 0.95rem; font-weight: 600; color: var(--ink); margin-bottom: 0.35rem; }
.adv-th-price { font-family: var(--serif-display); font-size: 2.2rem; font-weight: 400; line-height: 1.1; color: var(--ink); }
.adv-th-price small { font-family: var(--sans); font-size: 0.85rem; color: var(--muted); }
.adv-th-sub { font-size: 0.85rem; font-weight: 400; color: var(--muted); margin: 0.2rem 0 1rem; }
.adv-th-plan .btn { width: 100%; padding-inline: 0.75rem; font-size: 0.88rem; }
.adv-th-plan .btn--ghost { color: var(--ink); border-color: var(--ink); }
.adv-th-plan--pro { background: rgba(217, 160, 60, .1); border-radius: 10px 10px 0 0; padding-top: 1.25rem !important; }

.adv-group th {
  text-align: left;
  padding: 2rem 0 0.6rem;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  color: var(--gold-deep);
  border-bottom: 1px solid var(--hairline-l);
}
.adv-table th[scope="row"] {
  text-align: left;
  font-family: var(--serif);
  font-weight: 400;
  font-size: 1.02rem;
  padding: 0.9rem 1.25rem 0.9rem 0;
}
.adv-table td {
  text-align: center;
  padding: 0.9rem 1rem;
  font-size: 0.93rem;
  line-height: 1.4;
  vertical-align: middle;
}
.adv-table tbody tr:not(.adv-group) { border-bottom: 1px solid var(--hairline-l); }
.adv-table td[data-plan="pro"] { background: rgba(217, 160, 60, .06); }
.adv-table tr.is-diff td[data-plan="pro"]:not([data-status="coming"]) .adv-val { color: var(--ink); font-weight: 600; }
.adv-yes { display: inline-grid; place-items: center; color: var(--teal); font-size: 1.25rem; }
.adv-tick { stroke-width: 2.2; }
.adv-none { color: var(--muted); }

/* ══════════════════════════════════════════════════════════════════════════
   THE PROFESSIONAL PATHWAY — Briefing → Foundations → Immersion
   ══════════════════════════════════════════════════════════════════════════ */
.adv-courses {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr) minmax(0, 1fr);
  gap: clamp(1rem, 1.8vw, 1.75rem);
  align-items: stretch;
  margin-top: 1.5rem;
}
.adv-course {
  display: flex;
  flex-direction: column;
  background: var(--adv-white);
  border-radius: 14px;
  box-shadow: 0 1px 2px rgba(18, 48, 47, .06), 0 30px 60px -36px rgba(18, 48, 47, .4);
  transition: transform .35s var(--ease-out-quint), box-shadow .35s var(--ease-out-quint);
}
.adv-course:hover { transform: translateY(-4px); box-shadow: 0 1px 2px rgba(18, 48, 47, .06), 0 40px 70px -36px rgba(18, 48, 47, .5); }
.adv-course-photo { position: relative; aspect-ratio: 4 / 3; }
.adv-course-photo picture { display: block; height: 100%; overflow: hidden; border-radius: 14px 14px 0 0; }
.adv-course-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.adv-course-step {
  position: absolute;
  left: 1.25rem;
  bottom: -1.3rem;
  display: grid;
  place-items: center;
  width: 2.6rem;
  height: 2.6rem;
  border-radius: 50%;
  background: var(--ink);
  color: var(--gold);
  font-family: var(--sans);
  font-weight: 600;
  border: 3px solid var(--adv-white);
}
.adv-course-body { display: flex; flex-direction: column; flex: 1; padding: 2.1rem clamp(1.25rem, 2vw, 2rem) clamp(1.5rem, 2vw, 2rem); }
.adv-course-label { font-family: var(--sans); font-size: 0.85rem; font-weight: 600; color: var(--gold-deep); margin-bottom: 0.4rem; }
.adv-course h3 { font-size: clamp(1.45rem, 1.9vw, 1.85rem); margin-bottom: 0.45em; }
.adv-course-text { font-family: var(--serif); font-size: 1.02rem; line-height: 1.55; color: var(--muted); }
.adv-course-points { list-style: none; margin: 0.5rem 0 1.75rem; padding: 0; display: grid; gap: 0.55rem; }
.adv-course-points li { display: grid; grid-template-columns: 1.1rem 1fr; gap: 0.55rem; font-size: 0.95rem; line-height: 1.4; }
.adv-course-points .adv-tick { color: var(--teal); margin-top: 0.12em; }
.adv-course .btn { margin-top: auto; width: 100%; }
.adv-course .btn--ghost { color: var(--ink); border-color: var(--ink); }
.adv-course .btn--ghost:hover { background: var(--ink); color: var(--paper); }

.adv-course--featured { background: var(--ink); color: var(--paper); transform: translateY(-1.25rem); }
.adv-course--featured:hover { transform: translateY(calc(-1.25rem - 4px)); }
.adv-course--featured h3 { color: var(--paper); }
.adv-course--featured .adv-course-text { color: rgba(251, 248, 241, .82); }
.adv-course--featured .adv-course-label { color: var(--gold); }
.adv-course--featured .adv-course-points .adv-tick { color: var(--gold); }
.adv-course--featured .adv-course-step { background: var(--gold); color: var(--ink); border-color: var(--ink); }

.adv-more-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(1rem, 1.8vw, 1.75rem); margin-top: clamp(2rem, 3.5vw, 3rem); }
.adv-more {
  display: grid;
  gap: 0.35rem;
  padding: 1.4rem 1.6rem;
  border-radius: 14px;
  border: 1px solid var(--hairline-l);
  color: inherit;
  text-decoration: none;
  transition: background-color .25s var(--ease-out-quint), border-color .25s var(--ease-out-quint);
}
a.adv-more:hover { background: var(--adv-white); border-color: transparent; }
.adv-more-title { font-family: var(--serif-display); font-size: 1.3rem; }
.adv-more-text { color: var(--muted); font-size: 0.95rem; }
.adv-more-go { display: inline-flex; align-items: center; gap: 0.35rem; margin-top: 0.4rem; font-family: var(--sans); font-weight: 600; font-size: 0.9rem; color: var(--gold-deep); }

/* ══════════════════════════════════════════════════════════════════════════
/* ══════════════════════════════════════════════════════════════════════════
   PRICING — over the island
   ══════════════════════════════════════════════════════════════════════════ */
.adv-pricing {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: var(--ink);
  padding-block: clamp(5.5rem, 10vw, 9rem);
}
.adv-pricing .adv-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(18, 48, 47, .86) 0%, rgba(18, 48, 47, .7) 45%, rgba(18, 48, 47, .88) 100%);
}
.adv-plans { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(1rem, 1.6vw, 1.5rem); align-items: stretch; }
.adv-plan {
  background: var(--adv-white);
  color: var(--ivory-ink);
  border-radius: 14px;
  padding: clamp(1.75rem, 2.6vw, 2.5rem);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  box-shadow: 0 30px 70px -36px rgba(0, 0, 0, .55);
}
.adv-plan h3 { font-family: var(--sans); font-size: 1rem; font-weight: 600; letter-spacing: 0.01em; margin-bottom: 1.25rem; }
.adv-price-block { min-height: 6.6rem; }
.adv-price { display: flex; align-items: baseline; gap: 0.6rem; margin-bottom: 0.4rem; }
.adv-price-big { font-family: var(--serif-display); font-size: clamp(2.8rem, 3.6vw, 3.8rem); line-height: 1; font-variant-numeric: tabular-nums lining-nums; }
.adv-price-word { font-size: clamp(2rem, 2.6vw, 2.7rem); }
.adv-price-per { font-size: 0.95rem; color: var(--muted); }
.adv-price-alt { font-size: 0.95rem; color: var(--muted); margin-bottom: 0.25rem; }
.adv-save { font-weight: 600; color: var(--gold); }
.adv-plan-sum { font-family: var(--serif); font-size: 1.1rem; line-height: 1.5; margin: 0.5rem 0 1.75rem; min-height: 3.3em; }
.adv-plan .btn { width: 100%; }
.adv-plan .btn--ghost { color: var(--ink); border-color: var(--ink); }
.adv-plan-note { margin: 0.75rem 0 0; font-size: 0.88rem; }
.adv-plan-list {
  list-style: none;
  margin: 1.75rem 0 0;
  padding: 1.5rem 0 0;
  border-top: 1px solid var(--hairline-l);
  display: grid;
  gap: 0.8rem;
  width: 100%;
}
.adv-plan-list li { display: grid; grid-template-columns: 1.1rem 1fr; gap: 0.6rem; align-items: start; font-size: 0.97rem; line-height: 1.45; }
.adv-plan-list .adv-tick { color: var(--teal); margin-top: 0.15em; font-size: 1.05rem; }
.adv-plan--pro { background: var(--ink); color: var(--paper); border: 1px solid rgba(217, 160, 60, .55); box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .7); }
.adv-plan--pro .adv-price-big { color: var(--gold); }
.adv-plan--pro .adv-price-per,
.adv-plan--pro .adv-price-alt,
.adv-plan--pro .adv-plan-note { color: var(--mist); }
.adv-plan--pro .adv-plan-list { border-top-color: var(--hairline-d); }
.adv-plan--pro .adv-plan-list li { font-size: 1.05rem; }
.adv-plan--pro .adv-plan-list .adv-tick { color: var(--gold); }

/* ══════════════════════════════════════════════════════════════════════════
   FAQ — on white
   ══════════════════════════════════════════════════════════════════════════ */
.adv-faq-grid { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: clamp(2rem, 6vw, 7rem); align-items: start; }
.adv-faq .adv-head { margin-bottom: 0; position: sticky; top: 7rem; }
.adv-faq-list { border-top: 1px solid var(--hairline-l); }
.adv-q { border-bottom: 1px solid var(--hairline-l); }
.adv-q summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  gap: 2rem;
  padding: 1.4rem 0;
  font-family: var(--serif);
  font-size: clamp(1.1rem, 1.3vw, 1.25rem);
  line-height: 1.4;
}
.adv-q summary::-webkit-details-marker { display: none; }
.adv-q summary::after { content: '+'; font-family: var(--sans); font-size: 1.4rem; line-height: 1; color: var(--gold-deep); transition: transform .3s var(--ease-out-quint); }
.adv-q[open] summary::after { transform: rotate(45deg); }
.adv-q summary:hover { color: var(--teal); }
.adv-a { padding: 0 0 1.6rem; max-width: 44rem; }
.adv-a p { font-size: 1rem; line-height: 1.7; color: var(--ivory-ink); }

/* The shared contact block (lib/components.js) is always sand; on these
   pages it is paper, between the white questions and the closing photograph. */
#talk.contact { background: var(--paper); }

/* ══════════════════════════════════════════════════════════════════════════
   CLOSING — the Founding Advisor Collective, its form, and a gold rule
   before the footer so the two dark bands never read as one
   ══════════════════════════════════════════════════════════════════════════ */
.adv-collective {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: var(--ink);
  color: var(--paper);
  padding-block: clamp(5.5rem, 10vw, 9rem);
}
.adv-collective .adv-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(18, 48, 47, .95) 0%, rgba(18, 48, 47, .82) 42%, rgba(18, 48, 47, .35) 100%);
}
.adv-collective-grid { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 6fr); gap: clamp(2rem, 6vw, 6rem); align-items: center; }
.adv-collective-mark { display: block; margin-bottom: 1.75rem; }
.adv-collective h2 { color: var(--paper); font-size: clamp(2.3rem, 3.6vw, 3.8rem); line-height: 1.08; max-width: 18ch; }
.adv-collective h2 em { color: var(--gold); }
.adv-collective-copy p { font-family: var(--serif); font-size: clamp(1.05rem, 1.2vw, 1.2rem); line-height: 1.65; color: rgba(251, 248, 241, .88); max-width: 36rem; }
.adv-collective .adv-collective-terms { font-family: var(--sans); font-size: 0.98rem; font-weight: 600; color: var(--gold); margin: 1.75rem 0 1rem; }
.adv-collective .adv-collective-note { font-family: var(--sans); font-size: 0.88rem; color: var(--mist); }

body:has(.adv-collective) .site-footer { border-top: 3px solid var(--gold); }

/* the form */
.adv-form-card {
  background: var(--adv-white);
  color: var(--ivory-ink);
  border-radius: 14px;
  padding: clamp(1.5rem, 3vw, 2.5rem);
  box-shadow: 0 40px 90px -36px rgba(0, 0, 0, .7);
}
.adv-form h3, .adv-form-done h3 { font-size: clamp(1.6rem, 2vw, 2rem); margin-bottom: 0.3em; }
.adv-form-lead { color: var(--muted); font-size: 0.98rem; margin-bottom: 1.5rem; }
.adv-fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem 1.1rem; }
.adv-field { display: grid; gap: 0.35rem; align-content: start; }
.adv-field--wide { grid-column: 1 / -1; }
.adv-field label { font-family: var(--sans); font-size: 0.86rem; font-weight: 600; color: var(--ink); }
.adv-opt { font-weight: 400; color: var(--muted); }
.adv-hint { margin: 0; font-size: 0.8rem; color: var(--muted); }
.adv-field input,
.adv-field textarea {
  width: 100%;
  font: inherit;
  font-family: var(--sans);
  font-size: 0.98rem;
  color: var(--ivory-ink);
  background: #fff;
  border: 1px solid rgba(28, 43, 41, .28);
  border-radius: 4px;
  padding: 0.65rem 0.75rem;
  transition: border-color .2s var(--ease-out-quint), box-shadow .2s var(--ease-out-quint);
}
.adv-field textarea { resize: vertical; min-height: 6rem; line-height: 1.5; }
.adv-field input:focus,
.adv-field textarea:focus { outline: none; border-color: var(--gold-deep); box-shadow: 0 0 0 3px rgba(217, 160, 60, .25); }
.adv-form [aria-invalid="true"] { border-color: var(--v-movement-ink); box-shadow: 0 0 0 3px rgba(131, 70, 53, .15); }
.adv-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.adv-consent { display: flex; gap: 0.6rem; align-items: flex-start; margin: 1.25rem 0 0; font-size: 0.92rem; cursor: pointer; }
.adv-consent input { margin-top: 0.2rem; accent-color: var(--ink); width: 1.05rem; height: 1.05rem; }
.adv-form-status { margin: 1rem 0 0; padding: 0.7rem 0.9rem; border-radius: 4px; background: rgba(131, 70, 53, .08); color: var(--v-movement-ink); font-size: 0.92rem; }
.adv-form-submit { width: 100%; margin-top: 1.25rem; }
.adv-form-submit[disabled] { opacity: .6; cursor: progress; }
.adv-form-after { margin: 0.9rem 0 0; font-size: 0.85rem; color: var(--muted); }

/* the two steps */
.adv-step { border: 0; margin: 0; padding: 0; min-width: 0; }
.adv-step + .adv-step { margin-top: 2rem; }
.adv-form.is-stepped .adv-step + .adv-step { margin-top: 0; }
.adv-step-legend { padding: 0; margin-bottom: 1rem; font-family: var(--serif); font-size: 1.15rem; color: var(--ink); }
.adv-step-count { display: block; font-family: var(--sans); font-size: 0.78rem; font-weight: 600; color: var(--gold-deep); margin-bottom: 0.15rem; }
.adv-form.is-stepped .adv-step-legend { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.adv-progress { display: none; list-style: none; margin: 0 0 1.5rem; padding: 0; gap: 0.5rem; grid-template-columns: 1fr 1fr; }
.adv-form.is-stepped .adv-progress { display: grid; }
.adv-progress li {
  display: flex; align-items: center; gap: 0.6rem;
  padding-top: 0.7rem;
  border-top: 3px solid rgba(28, 43, 41, .12);
  font-family: var(--sans); font-size: 0.85rem; font-weight: 600; color: var(--muted);
  transition: border-color .3s var(--ease-out-quint), color .3s var(--ease-out-quint);
}
.adv-progress li span {
  display: grid; place-items: center; width: 1.5rem; height: 1.5rem; border-radius: 50%;
  background: rgba(28, 43, 41, .08); font-size: 0.75rem;
}
.adv-progress li.is-current { border-color: var(--gold); color: var(--ink); }
.adv-progress li.is-current span { background: var(--ink); color: var(--gold); }
.adv-progress li.is-done { border-color: var(--teal); color: var(--teal); }
.adv-progress li.is-done span { background: var(--teal); color: #fff; }
.adv-step-nav { display: flex; align-items: center; gap: 1rem; margin-top: 1.4rem; }
.adv-step-nav .btn { flex: 1; }
.adv-step-next { display: none; }
.adv-form.is-stepped .adv-step-next { display: inline-flex; }
.adv-step-back { display: none; background: none; border: 0; padding: 0.75rem 0.25rem; font-family: var(--sans); font-weight: 600; font-size: 0.92rem; color: var(--ink); cursor: pointer; text-decoration: underline; text-underline-offset: 0.3em; }
.adv-form.is-stepped .adv-step-back { display: inline-block; }
.adv-form .adv-consent { margin-top: 1.25rem; }

.adv-form-done p { color: var(--muted); margin-bottom: 1.5rem; }
.adv-form-done:focus { outline: none; }

/* ══════════════════════════════════════════════════════════════════════════
   RESPONSIVE
   ══════════════════════════════════════════════════════════════════════════ */
@media (max-width: 1100px) {
  .adv-courses { grid-template-columns: minmax(0, 1fr); max-width: 40rem; margin-inline: auto; }
  .adv-course--featured, .adv-course--featured:hover { transform: none; }
  .adv-cell--wide { grid-column: span 12; }
  .adv-cell--std  { grid-column: span 6; }
}

@media (max-width: 900px) {
  .adv-hero { min-height: 0; padding-bottom: 6rem; }
  .adv-hero .adv-bg::after { background: linear-gradient(180deg, rgba(18, 48, 47, .78) 0%, rgba(18, 48, 47, .88) 55%, rgba(18, 48, 47, .95) 100%); }
  .adv-hero-grid,
  .adv-route-panel,
  .adv-paths-grid,
  .adv-faq-grid,
  .adv-features-top,
  .adv-collective-grid { grid-template-columns: minmax(0, 1fr); }
  .adv-more-row { grid-template-columns: minmax(0, 1fr); }
  .adv-plans { grid-template-columns: minmax(0, 1fr); }
  .adv-plan--pro { order: -1; }
  .adv-plan-sum, .adv-price-block { min-height: 0; }
  .adv-faq .adv-head { position: static; }
  .adv-collective .adv-bg::after { background: rgba(18, 48, 47, .88); }

  /* the table: plan header stays, rows become a label over two cells */
  .adv-th-feature { display: none !important; }
  .adv-table, .adv-table thead, .adv-table tbody { display: block; width: 100%; }
  .adv-table thead tr { display: grid; grid-template-columns: 1fr 1fr; gap: 0.75rem; border-bottom: 1px solid var(--ivory-ink); padding-bottom: 1rem; }
  .adv-table thead th { display: block; width: auto; padding: 0.75rem; border-bottom: 0; }
  .adv-th-price { font-size: 1.8rem; }
  .adv-th-plan .btn { white-space: normal; line-height: 1.25; }
  .adv-th-plan--pro { border-radius: 10px; }
  .adv-table tbody tr:not(.adv-group) { display: grid; grid-template-columns: 1fr 1fr; gap: 0.25rem 0.75rem; padding: 0.75rem 0; }
  .adv-table tbody tr.adv-group { display: block; }
  .adv-table tr.adv-group th { display: block; }
  .adv-table th[scope="row"] { grid-column: 1 / -1; padding: 0; }
  .adv-table td { display: block; padding: 0.35rem 0.5rem; border-radius: 4px; }
  .adv-table-card { padding: 1rem; }
}

@media (max-width: 640px) {
  .adv-window-bar { height: 2rem; }
  .adv-window-url { font-size: 0.7rem; }
  .adv-cell--std { grid-column: span 12; }
  .adv-cell--wide .adv-frame { aspect-ratio: auto; }
  .adv-station { padding-inline: 0.15rem; }
  .adv-station-name { font-size: 0.95rem; }
  .adv-hero-actions .btn { width: 100%; }
  .adv-fields { grid-template-columns: minmax(0, 1fr); }
  .adv-stage { padding: 1rem; }
}

@media (prefers-reduced-motion: reduce) {
  .adv-route-line::after,
  .adv-route-panel,
  .adv-station-dot,
  .adv-course,
  .adv-q summary::after { transition: none; }
}

::selection { background: rgba(217, 160, 60, .35); color: inherit; }
