/* =====================================================================
   ClearMind Capital — Design System
   Tokens ported from the design handoff (README "Design tokens").
   Navy #032C52 · Cream #FFFEF4 · Comfort Green #9ACF9B · Montserrat.
   ===================================================================== */

:root {
  /* Brand base (exact values from the ClearMind Capital design system) */
  --navy-900: #021d37;
  --navy-800: #022642;
  --navy: #032C52;          /* primary */
  --navy-700: #043a68;      /* lighter navy step (per token set) */
  --navy-600: #0a4a80;
  --navy-500: #16619e;
  --cream: #FFFEF4;
  --white: #FFFFFF;
  --green: #9ACF9B;         /* Comfort Green accent */
  --green-600: #7bbd7d;     /* accent hover on dark surfaces */
  --green-100: #e7f2e7;
  /* Accessible dark green for green TEXT/links on cream (brand README's #2f6b39).
     Keeps eyebrows, links and tags readable — light green fails contrast on cream. */
  --green-text: #2f6b39;

  /* Warm, navy-derived neutrals (oklch tint off navy hue ~255) */
  --stone-50:  oklch(0.985 0.004 255);
  --stone-100: oklch(0.960 0.006 255);
  --stone-200: oklch(0.918 0.008 255);
  --stone-300: oklch(0.855 0.010 255);
  --stone-400: oklch(0.720 0.012 255);
  --stone-500: oklch(0.600 0.014 255);
  --stone-600: oklch(0.480 0.016 255);
  --stone-700: oklch(0.380 0.018 255);

  /* Semantic text/surface */
  --text-body: var(--stone-700);
  --text-muted: var(--stone-500);
  --text-on-navy: var(--cream);
  --text-on-navy-muted: rgba(255, 254, 244, 0.66);

  --border-subtle: var(--stone-200);
  --border-default: var(--stone-300);
  --border-on-navy: rgba(255, 254, 244, 0.18);
  --border-accent: var(--green);

  /* Radius */
  --radius-sm: 2px;
  --radius-md: 4px;
  --radius-lg: 8px;
  --radius-pill: 999px;

  /* Shadow (exact) */
  --shadow-card: 0 1px 2px rgba(3, 44, 82, 0.04), 0 4px 16px rgba(3, 44, 82, 0.06);
  --shadow-raised: 0 8px 32px rgba(3, 44, 82, 0.10);

  /* Type */
  --font-display: "Montserrat", system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  --font-body: "Montserrat", system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  --tracking-eyebrow: 0.16em;
  --tracking-button: 0.04em;
  --tracking-heading: -0.01em;
  --tracking-display: -0.02em;

  /* Motion */
  --ease-standard: cubic-bezier(0.4, 0, 0.2, 1);
  --dur-fast: 150ms;
  --dur-base: 200ms;
  --dur-slow: 240ms;

  /* Layout */
  --container: 1180px;
}

/* Smooth cross-document page transitions (progressive enhancement — supported
   browsers cross-fade between pages; others navigate normally). */
@view-transition { navigation: auto; }
::view-transition-old(root), ::view-transition-new(root) { animation-duration: 260ms; }
@media (prefers-reduced-motion: reduce) {
  ::view-transition-old(root), ::view-transition-new(root) { animation: none; }
}

/* ---------- Reset / base ---------- */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--cream);
  color: var(--text-body);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg { display: block; max-width: 100%; }
a { color: var(--navy); text-decoration: none; transition: color 200ms var(--ease-standard); }
a:hover { color: var(--green-text); }
h1, h2, h3 { font-family: var(--font-display); text-wrap: balance; }
:focus-visible { outline: 2px solid var(--green-600); outline-offset: 3px; border-radius: 2px; }
.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 100;
  background: var(--navy); color: var(--cream); padding: 12px 18px; border-radius: var(--radius-md);
  font-family: var(--font-display); font-weight: 600;
}
.skip-link:focus { left: 12px; top: 12px; color: var(--cream); }

.container { max-width: var(--container); margin: 0 auto; padding: 0 clamp(22px, 5vw, 32px); width: 100%; }
.eyebrow {
  font-family: var(--font-display); font-weight: 600; font-size: 12px;
  letter-spacing: var(--tracking-eyebrow); text-transform: uppercase; margin: 0 0 16px;
}
.eyebrow.on-cream { color: var(--green-text); }
.eyebrow.on-navy { color: var(--green); }
.section { padding: clamp(60px, 8vw, 96px) 0; }
/* Overlap adjacent full-bleed sections by 1px so the page background never shows
   through as a hairline seam between them (the faint line between navy sections). */
main > section + section { margin-top: -1px; }
.bg-cream { background: var(--cream); }
.bg-navy { background: var(--navy); }
.bg-white { background: var(--white); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-display); font-weight: 600; font-size: 16px;
  letter-spacing: var(--tracking-button); padding: 15px 26px; border-radius: var(--radius-md);
  cursor: pointer; border: 1px solid transparent; line-height: 1;
  transition: background 220ms var(--ease-standard), color 220ms var(--ease-standard), border-color 220ms var(--ease-standard), box-shadow 200ms var(--ease-standard);
}
.btn svg { width: 18px; height: 18px; }
.btn-primary { background: var(--navy); color: var(--cream); }
.btn-primary:hover { background: var(--navy-800); color: var(--cream); }
.btn-cream { background: var(--cream); color: var(--navy); }
.btn-cream:hover { background: var(--green); color: var(--navy); }
.btn-ghost-navy { background: transparent; color: var(--cream); border-color: var(--border-on-navy); }
.btn-ghost-navy:hover { background: var(--cream); color: var(--navy); border-color: var(--cream); }
.btn-outline-navy { background: transparent; color: var(--cream); border-color: var(--border-on-navy); }
.btn-outline-navy:hover { border-color: var(--cream); color: var(--cream); }
.btn-green { background: var(--green); color: var(--navy); }
.btn-green:hover { background: var(--green-text); color: var(--cream); }

/* ---------- Header / nav ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 254, 244, 0.94); border-bottom: 1px solid var(--border-subtle);
  backdrop-filter: saturate(1.1) blur(6px);
  transition: background-color 280ms var(--ease-standard), border-color 280ms var(--ease-standard);
}
.site-header.on-navy { background: var(--navy); border-bottom-color: var(--border-on-navy); }
.nav-inner {
  max-width: var(--container); margin: 0 auto; padding: 16px clamp(20px, 4vw, 32px);
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
}
.nav-logo img { height: 44px; width: auto; }
.on-navy .nav-logo img.logo-sub { height: 52px; }
.nav-links { display: flex; align-items: center; gap: 30px; }
.nav-links a {
  font-family: var(--font-display); font-weight: 600; font-size: 14px; color: var(--navy);
}
.on-navy .nav-links a { color: var(--cream); }
.nav-links a:hover, .nav-links a.active { color: var(--green-text); }
.on-navy .nav-links a:hover, .on-navy .nav-links a.active { color: var(--green); }
.nav-cta { background: var(--navy); color: var(--cream) !important; padding: 11px 20px; border-radius: var(--radius-md); }
.nav-cta:hover { background: var(--navy-800); }
.on-navy .nav-cta { background: var(--cream); color: var(--navy) !important; }
.on-navy .nav-cta:hover { background: var(--green); }
.burger { display: none; background: none; border: none; cursor: pointer; padding: 6px; color: var(--navy); }
.on-navy .burger { color: var(--cream); }
.mobile-menu { overflow: hidden; max-height: 0; opacity: 0; visibility: hidden; background: inherit; border-top: 1px solid transparent;
  transition: max-height 260ms var(--ease-standard), opacity 200ms var(--ease-standard), visibility 0s linear 260ms, border-color 260ms var(--ease-standard); }
.on-navy .mobile-menu { border-top-color: transparent; }
.mobile-menu.open { max-height: 460px; opacity: 1; visibility: visible; border-top-color: var(--border-subtle);
  transition: max-height 280ms var(--ease-standard), opacity 220ms var(--ease-standard), border-color 0s; }
.on-navy .mobile-menu.open { border-top-color: var(--border-on-navy); }
.mobile-menu a { transition: color 200ms var(--ease-standard), padding-left 200ms var(--ease-standard); }
.mobile-menu a:hover { padding-left: 10px; }
.mobile-menu .col { display: flex; flex-direction: column; padding: 8px 20px 20px; }
.mobile-menu a {
  font-family: var(--font-display); font-weight: 600; font-size: 16px; color: var(--navy);
  padding: 14px 4px; border-bottom: 1px solid var(--border-subtle);
}
.on-navy .mobile-menu a { color: var(--cream); border-bottom-color: var(--border-on-navy); }
.mobile-menu .nav-cta { text-align: center; margin-top: 16px; padding: 14px; }

/* ---------- Hero ---------- */
.hero { position: relative; display: flex; align-items: center; overflow: hidden; background: var(--navy); }
.hero-tall { min-height: 620px; min-height: 88svh; }
.hero-media { position: absolute; inset: 0; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; }
.hero-overlay { position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(180deg, rgba(3,44,82,0.56) 0%, rgba(3,44,82,0.72) 60%, rgba(3,44,82,0.82) 100%); }
.hero-inner { position: relative; max-width: var(--container); margin: 0 auto; padding: clamp(72px, 10vw, 96px) clamp(20px, 4vw, 32px) clamp(48px, 7vw, 64px); width: 100%; }
.hero h1 {
  font-weight: 800; font-size: clamp(44px, 6.2vw, 90px); line-height: 1.02; letter-spacing: -0.02em;
  color: var(--cream); margin: 0; max-width: 14ch;
}
.hero .lead { font-size: clamp(17px, 1.6vw, 21px); line-height: 1.6; color: var(--text-on-navy); max-width: 50ch; margin: 26px 0 0; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 18px; margin-top: 34px; }
.hero-textlink { display: inline-flex; align-items: center; align-self: center; font-family: var(--font-display); font-weight: 600; font-size: 15px; color: var(--cream); text-decoration: underline; text-underline-offset: 4px; opacity: 0.92; }
.hero-textlink:hover { color: var(--green); opacity: 1; }
.trust-row {
  display: flex; flex-wrap: wrap; align-items: center; gap: 18px; margin-top: 52px; padding-top: 26px;
  border-top: 1px solid var(--border-on-navy); max-width: 640px;
}
.trust-row span.pill {
  font-family: var(--font-display); font-weight: 600; font-size: 13px; letter-spacing: var(--tracking-eyebrow);
  text-transform: uppercase; color: var(--cream); opacity: 0.9;
}
.trust-row .divider { width: 1px; height: 13px; background: rgba(255,254,244,0.35); }

/* Cream sub-page hero */
.hero-cream { background: var(--cream); padding: 100px 0 84px; }
.hero-cream h1 { font-weight: 800; font-size: clamp(38px, 5.4vw, 78px); line-height: 1.03; letter-spacing: -0.02em; color: var(--navy); margin: 0; max-width: 18ch; }
.hero-cream .lead { font-size: clamp(18px, 1.7vw, 22px); line-height: 1.6; color: var(--text-body); max-width: 58ch; margin: 28px 0 0; }

/* ---------- Headings ---------- */
.h2 { font-weight: 700; font-size: clamp(30px, 4vw, 48px); line-height: 1.08; letter-spacing: -0.015em; margin: 0; }
.h2.on-cream { color: var(--navy); }
.h2.on-navy { color: var(--cream); }
.section-head { max-width: 64ch; margin-bottom: 48px; }

/* ---------- Cards / grids ---------- */
.grid { display: grid; gap: 24px; }
.grid-2 { grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.grid-4 { grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); }

.card-choose { display: block; border-radius: var(--radius-lg); padding: 36px; transition: box-shadow 180ms var(--ease-standard), background 200ms var(--ease-standard); }
.card-choose.on-white { background: var(--white); border: 1px solid var(--border-subtle); box-shadow: var(--shadow-card); }
.card-choose.on-white:hover { box-shadow: var(--shadow-raised); }
.card-choose.on-navy { background: var(--navy); border: 1px solid var(--navy); }
.card-choose.on-navy:hover { background: var(--navy-800); }
.card-icon { width: 52px; height: 52px; border-radius: var(--radius-md); display: flex; align-items: center; justify-content: center; margin-bottom: 22px; }
.card-icon.green { background: var(--green-100); color: var(--green-text); }
.card-icon.on-navy { background: rgba(154,207,155,0.16); color: var(--green); }
.card-choose h3 { font-weight: 700; font-size: 26px; margin: 0 0 12px; }
.card-choose.on-white h3 { color: var(--navy); }
.card-choose.on-navy h3 { color: var(--cream); }
.card-choose p { font-size: 16px; line-height: 1.6; margin: 0 0 24px; }
.card-choose.on-white p { color: var(--text-body); }
.card-choose.on-navy p { color: var(--text-on-navy); opacity: 0.9; }
.card-link { display: inline-flex; align-items: center; gap: 10px; font-family: var(--font-display); font-weight: 600; font-size: 15px; white-space: nowrap; }
.card-link svg { width: 18px; height: 18px; flex-shrink: 0; transition: transform 220ms var(--ease-standard); }
.card-choose:hover .card-link svg { transform: translateX(5px); }
.card-choose.on-white .card-link { color: var(--navy); }
.card-choose.on-navy .card-link { color: var(--green); }

/* scenario / service cards on navy */
.card-navy { background: rgba(255,254,244,0.05); border: 1px solid var(--border-on-navy); border-radius: var(--radius-lg); padding: 32px; }
.card-navy h3 { font-weight: 700; font-size: 20px; color: var(--cream); margin: 0 0 12px; }
.card-navy p { font-size: 15px; line-height: 1.6; color: var(--text-on-navy-muted); margin: 0; }
.card-navy .quote { font-family: var(--font-display); font-weight: 600; font-size: 19px; line-height: 1.4; color: var(--cream); margin: 0 0 14px; }

/* process steps */
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 1px; background: var(--border-on-navy); border: 1px solid var(--border-on-navy); border-radius: var(--radius-lg); overflow: hidden; }
.step { background: var(--navy); padding: 34px 30px; }
.step .num { font-family: var(--font-display); font-weight: 800; font-size: 15px; color: var(--green); margin-bottom: 18px; }
.step h3 { font-weight: 700; font-size: 19px; color: var(--cream); margin: 0 0 10px; }
.step p { font-size: 15px; line-height: 1.6; color: var(--text-on-navy-muted); margin: 0; }

/* fit list */
.fit-item { display: flex; align-items: flex-start; gap: 14px; padding: 18px 0; border-top: 1px solid var(--border-on-navy); }
.fit-item svg { flex-shrink: 0; margin-top: 2px; width: 21px; height: 21px; }
.fit-item span { font-size: 17px; line-height: 1.5; color: var(--cream); }

/* ---------- Team ---------- */
.headshot-wrap { display: block; }
.headshot-frame { position: relative; width: 100%; aspect-ratio: 4/5; border-radius: var(--radius-lg); overflow: hidden; background: var(--stone-100); }
.headshot { width: 100%; height: 100%; object-fit: cover; object-position: center 14%; filter: grayscale(1) contrast(1.03); transition: filter 260ms var(--ease-standard); }
.headshot-wrap:hover .headshot { filter: grayscale(0) contrast(1); }
.team-grid a { display: flex; flex-direction: column; gap: 14px; }
.team-name { font-family: var(--font-display); font-weight: 700; font-size: 18px; color: var(--navy); }
.team-role { font-size: 13px; color: var(--text-muted); margin-top: 3px; }
.team-creds { font-style: italic; font-size: 12px; color: var(--green-text); margin-top: 3px; }

/* bios */
.bio-row { display: grid; grid-template-columns: minmax(280px, 420px) 1fr; gap: 56px; align-items: start; }
.bio-row + .bio-row { margin-top: 56px; padding-top: 56px; border-top: 1px solid var(--border-default); }
.bio-frame { width: 100%; aspect-ratio: 4/5; border-radius: var(--radius-lg); overflow: hidden; background: var(--stone-100); box-shadow: var(--shadow-card); }
.bio-frame img { width: 100%; height: 100%; object-fit: cover; object-position: center 12%; filter: grayscale(1) contrast(1.03); transition: filter 260ms var(--ease-standard); }
.bio-frame:hover img { filter: grayscale(0) contrast(1); }
.bio h2 { font-weight: 800; font-size: clamp(32px, 3.6vw, 48px); line-height: 1.05; letter-spacing: -0.02em; color: var(--navy); margin: 0; }
.bio .creds { font-style: italic; font-size: 17px; color: var(--green-text); margin-top: 8px; }
.bio .designations { font-family: var(--font-display); font-weight: 600; font-size: 13.5px; letter-spacing: 0.05em; color: var(--navy); margin-top: 8px; }

/* official designation logos (real CFP/IWA marks) — shown when image files exist */
.cred-logos { display: flex; flex-wrap: wrap; align-items: center; gap: 18px 24px; margin-top: 20px; }
.cred-logo { height: 54px; width: auto; }

/* "As featured in" — publication logos */
.press { margin-top: 28px; padding-top: 22px; border-top: 1px solid var(--border-default); }
.press-label { font-family: var(--font-display); font-weight: 600; font-size: 11px; letter-spacing: var(--tracking-eyebrow); text-transform: uppercase; color: var(--green-text); margin-bottom: 16px; }
.press-list { display: flex; flex-wrap: wrap; gap: 18px 30px; align-items: center; }
.press-item { display: inline-flex; align-items: center; }
.press-item img { height: 30px; width: auto; filter: grayscale(1); opacity: 0.72; transition: filter 220ms var(--ease-standard), opacity 220ms var(--ease-standard); }
.press-item:hover img { filter: grayscale(0); opacity: 1; }
.bio p { font-size: 18px; line-height: 1.7; color: var(--text-body); margin: 18px 0 0; }
.bio p:first-of-type { margin-top: 26px; }
.contact-row { display: flex; flex-wrap: wrap; align-items: center; gap: 20px 28px; margin-top: 32px; padding-top: 24px; border-top: 1px solid var(--border-default); }
.contact-row.tight { padding-top: 0; border-top: none; margin-top: 26px; }
.contact-link { display: inline-flex; align-items: center; gap: 8px; font-family: var(--font-display); font-weight: 600; font-size: 14px; color: var(--navy); }
.contact-link svg { width: 17px; height: 17px; }

/* founder note */
.founder { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: 64px; align-items: center; }
.founder-photo { position: relative; width: 100%; max-width: 340px; aspect-ratio: 4/5; border-radius: var(--radius-lg); overflow: hidden; background: rgba(255,254,244,0.06); }
.founder-photo img { width: 100%; height: 100%; object-fit: cover; object-position: center 18%; }
.founder-photo .grad { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(3,44,82,0) 55%, rgba(3,44,82,0.42) 100%); }
.founder h2 { font-weight: 700; font-size: clamp(28px, 3.4vw, 44px); line-height: 1.12; letter-spacing: -0.015em; color: var(--cream); margin: 0 0 24px; }
.founder .body-lg { font-size: 19px; line-height: 1.65; color: var(--text-on-navy); margin: 0 0 18px; }
.founder .body-muted { font-size: 18px; line-height: 1.65; color: var(--text-on-navy-muted); margin: 0; }
.founder-name { font-family: var(--font-display); font-weight: 700; font-size: 20px; color: var(--cream); }
.founder-cred { font-style: italic; font-size: 13px; color: var(--green); margin-top: 4px; }
.founder-title { font-size: 13px; color: var(--text-on-navy-muted); margin-top: 4px; }

/* ---------- FAQ ---------- */
.faq { border-top: 1px solid var(--border-default); }
.faq details { border-bottom: 1px solid var(--border-default); }
.faq summary { list-style: none; width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 24px 4px; cursor: pointer; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .q { font-family: var(--font-display); font-weight: 600; font-size: 18px; color: var(--navy); }
.faq summary .sign { font-family: var(--font-display); font-weight: 400; font-size: 26px; line-height: 1; color: var(--green-text); flex-shrink: 0; transition: transform 200ms var(--ease-standard); }
.faq details[open] summary .sign { transform: rotate(45deg); }
.faq .answer { font-size: 16px; line-height: 1.65; color: var(--text-body); margin: 0; padding: 0 4px 28px; max-width: 64ch; }

/* ---------- CTA box ---------- */
.cta-box { background: var(--navy); border-radius: var(--radius-lg); padding: 64px 48px; text-align: center; scroll-margin-top: 92px; }
.cta-box h2 { font-weight: 700; font-size: clamp(28px, 3.6vw, 44px); line-height: 1.1; letter-spacing: -0.015em; color: var(--cream); margin: 0 auto; max-width: 22ch; }
.cta-box p { font-size: 18px; line-height: 1.65; color: var(--text-on-navy-muted); margin: 18px auto 0; max-width: 48ch; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; margin-top: 36px; }

/* reach-out form */
.reach { max-width: 520px; margin: 32px auto 0; scroll-margin-top: 96px; }
.reach-divider { display: flex; align-items: center; gap: 16px; margin-bottom: 22px; }
.reach-divider .line { flex: 1; height: 1px; background: var(--border-on-navy); }
.reach-divider span { font-size: 13px; color: var(--text-on-navy-muted); white-space: nowrap; }
.reach form { display: flex; flex-wrap: wrap; gap: 16px; align-items: flex-end; justify-content: center; }
.reach input[type=text], .reach input[type=email] {
  flex: 1; min-width: 140px; background: transparent; border: none; border-bottom: 1px solid rgba(255,254,244,0.35);
  color: var(--cream); font-family: var(--font-body); font-size: 15px; padding: 8px 2px;
}
.reach input::placeholder { color: rgba(255,254,244,0.55); }
.reach input:focus { outline: none; border-bottom-color: var(--green); }
.reach .consent { display: flex; align-items: center; justify-content: center; gap: 8px; font-size: 12px; color: var(--text-on-navy-muted); margin-top: 18px; }
.reach .consent input { width: 15px; height: 15px; accent-color: var(--green); }
.reach .success { font-family: var(--font-display); font-weight: 600; font-size: 16px; color: var(--green); margin: 14px 0 0; text-align: center; }
.reach .cf-turnstile { flex-basis: 100%; display: flex; justify-content: center; margin-top: 6px; }
.reach .reach-status { font-size: 13px; color: var(--text-on-navy-muted); margin: 12px 0 0; text-align: center; min-height: 1em; }
.reach input.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }

/* teaser band */
.teaser { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 28px; }
.teaser h2 { font-weight: 700; font-size: clamp(26px, 3vw, 38px); line-height: 1.1; color: var(--cream); margin: 0 0 12px; }
.teaser p { font-size: 17px; line-height: 1.6; color: var(--text-on-navy-muted); margin: 0; }

/* ---------- Clarity Corner ---------- */
.clarity-hero { display: grid; grid-template-columns: 1fr 1.05fr; gap: 56px; align-items: center; }
.clarity-hero h1 { font-weight: 800; font-size: clamp(40px, 5.4vw, 72px); line-height: 1.02; letter-spacing: -0.02em; color: var(--cream); margin: 0; }
.clarity-hero .lead { font-size: 19px; line-height: 1.65; color: var(--text-on-navy-muted); margin: 22px 0 0; max-width: 44ch; border-left: 2px solid var(--green); padding-left: 20px; }
.featured-card { display: block; background: rgba(255,254,244,0.05); border: 1px solid var(--border-on-navy); border-radius: var(--radius-lg); overflow: hidden; }
.featured-card .thumb { aspect-ratio: 16/9; background: rgba(255,254,244,0.06); overflow: hidden; }
.featured-card .thumb img { width: 100%; height: 100%; object-fit: cover; }
.featured-card .body { padding: 28px; }
.tag { display: inline-block; font-family: var(--font-display); font-weight: 600; font-size: 11px; letter-spacing: var(--tracking-eyebrow); text-transform: uppercase; color: var(--green-text); background: var(--green-100); padding: 5px 10px; border-radius: var(--radius-sm); margin-bottom: 16px; }
.featured-card h2 { font-weight: 700; font-size: 24px; line-height: 1.25; color: var(--cream); margin: 0 0 10px; }
.featured-card p { font-size: 15px; line-height: 1.6; color: var(--text-on-navy-muted); margin: 0; }

.post-card { display: flex; flex-direction: column; background: var(--white); border: 1px solid var(--border-subtle); border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-card); transition: box-shadow 180ms var(--ease-standard), transform 180ms var(--ease-standard); }
.post-card:hover { box-shadow: var(--shadow-raised); transform: translateY(-3px); }
.post-card .thumb { position: relative; aspect-ratio: 16/9; background: var(--stone-100); overflow: hidden; }
.card-play { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); width: 52px; height: 52px; border-radius: 50%; background: rgba(3, 44, 82, 0.72); display: flex; align-items: center; justify-content: center; }

/* Clarity section headers + View all */
.clarity-head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-bottom: 30px; }
.clarity-section + .clarity-section { padding-top: 0; }
.clarity-h2 { font-family: var(--font-display); font-weight: 700; font-size: clamp(24px, 3vw, 34px); color: var(--navy); margin: 0; }
.section-viewall { font-family: var(--font-display); font-weight: 600; font-size: 14px; color: var(--green-text); white-space: nowrap; }
.section-viewall:hover { color: var(--navy); }
.post-card .thumb img { width: 100%; height: 100%; object-fit: cover; }
.post-card .body { padding: 26px; }
.post-card .thumb img { transition: transform 450ms var(--ease-standard); }
.post-card:hover .thumb img { transform: scale(1.06); }
.post-card .kind { font-family: var(--font-display); font-weight: 600; font-size: 11px; letter-spacing: var(--tracking-eyebrow); text-transform: uppercase; color: var(--green-text); margin-bottom: 12px; }
.post-card h3 { font-weight: 700; font-size: 19px; line-height: 1.3; color: var(--navy); margin: 0 0 8px; }
.post-card p { font-size: 14px; line-height: 1.6; color: var(--text-muted); margin: 0; }
.card-excerpt { display: -webkit-box; -webkit-line-clamp: 3; line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.featured-card p { display: -webkit-box; -webkit-line-clamp: 3; line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }

.shorts-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 36px; }
.shorts-label { display: flex; align-items: center; gap: 10px; }
.shorts-label span { font-family: var(--font-display); font-weight: 600; font-size: 12px; letter-spacing: var(--tracking-eyebrow); text-transform: uppercase; color: var(--green); }
.shorts-nav { display: flex; gap: 10px; flex-shrink: 0; }
.shorts-arrow { display: flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 50%; background: rgba(255,254,244,0.08); border: 1px solid var(--border-on-navy); color: var(--cream); cursor: pointer; transition: background .18s ease, transform .18s ease; }
.shorts-arrow:hover { background: rgba(255,254,244,0.16); }
.shorts-arrow:active { transform: scale(.94); }
.shorts-arrow svg { width: 20px; height: 20px; }
.shorts-arrow[disabled] { opacity: .35; cursor: default; }
.shorts-carousel { overflow: hidden; margin: 0 -4px; }
.shorts-track { display: flex; flex-wrap: nowrap; gap: 22px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; padding: 4px; scrollbar-width: none; -ms-overflow-style: none; }
.shorts-track::-webkit-scrollbar { display: none; }
.shorts-track > .short-card { flex: 0 0 auto; width: 22%; min-width: 210px; max-width: 240px; scroll-snap-align: start; }
@media (max-width: 1100px) { .shorts-track > .short-card { width: 30%; } }
@media (max-width: 780px)  { .shorts-track > .short-card { width: 44%; min-width: 180px; } }
@media (max-width: 520px)  { .shorts-track > .short-card { width: 66%; min-width: 0; max-width: none; } }
.thumb-ph { width: 100%; height: 100%; background: linear-gradient(135deg, #06223f, #0a3a63); display: flex; align-items: center; justify-content: center; }
.thumb-ph img { width: 46%; max-width: 150px; height: auto; opacity: 0.26; }
.short-play { display: block; width: 100%; padding: 0; border: 0; background: none; cursor: pointer; }
.short-card .frame { position: relative; display: block; aspect-ratio: 9/16; border-radius: var(--radius-lg); overflow: hidden; background: rgba(255,254,244,0.06); border: 1px solid var(--border-on-navy); }
.short-card .frame img, .short-card .frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; border: 0; }
.short-card .play { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; pointer-events: none; }
.short-card .play span { width: 52px; height: 52px; border-radius: 50%; background: rgba(255,254,244,0.9); display: flex; align-items: center; justify-content: center; }
.short-card .title { font-family: var(--font-display); font-weight: 600; font-size: 16px; color: var(--cream); margin-top: 14px; }

/* ---------- Article (Clarity post) ---------- */
.article { max-width: 760px; margin: 0 auto; padding: 0 32px; }
.article-header { padding: 72px 0 40px; }
.article-header .tag { color: var(--green-text); }
.article h1 { font-weight: 800; font-size: clamp(32px, 4.4vw, 56px); line-height: 1.06; letter-spacing: -0.02em; color: var(--navy); margin: 12px 0 0; }
.article-meta { display: flex; flex-wrap: wrap; gap: 8px 18px; margin-top: 22px; font-size: 14px; color: var(--text-muted); font-family: var(--font-display); font-weight: 600; }
.article-lead { font-size: 20px; line-height: 1.65; font-style: italic; color: var(--text-muted); margin: 24px 0 0; padding: 4px 0 4px 20px; border-left: 3px solid var(--green); }
.article-back-top { display: inline-flex; align-items: center; gap: 8px; font-family: var(--font-display); font-weight: 600; font-size: 14px; color: var(--green-text); margin: 40px 0 24px; }
.article-back-top svg { width: 18px; height: 18px; }
.article-cover { display: block; width: 100%; height: auto; max-height: 560px; object-fit: cover; border-radius: var(--radius-lg); margin: 36px 0 32px; }
.article-body { padding-bottom: 72px; font-size: 18px; line-height: 1.75; color: var(--text-body); }
.article-body figure { margin: 28px 0; }
.article-body figcaption { font-size: 13px; color: var(--text-muted); text-align: center; margin-top: 8px; }
.article-body h2 { font-weight: 700; font-size: clamp(24px, 3vw, 34px); color: var(--navy); margin: 44px 0 14px; letter-spacing: -0.01em; }
.article-body h3 { font-weight: 700; font-size: 22px; color: var(--navy); margin: 32px 0 10px; }
.article-body p { margin: 0 0 20px; }
.article-body ul, .article-body ol { margin: 0 0 20px; padding-left: 22px; }
.article-body li { margin: 0 0 10px; }
.article-body a { color: var(--green-text); text-decoration: underline; text-underline-offset: 2px; }
.article-body blockquote { margin: 28px 0; padding: 6px 0 6px 22px; border-left: 3px solid var(--green); color: var(--text-body); font-style: italic; }
.article-body img { border-radius: var(--radius-lg); margin: 28px 0; }
.video-embed { position: relative; aspect-ratio: 16/9; border-radius: var(--radius-lg); overflow: hidden; background: var(--stone-100); margin: 28px 0; }
.video-embed iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video-embed.vertical { aspect-ratio: 9/16; max-width: 360px; margin: 28px auto; }

/* Author sign-off at the end of a post */
.post-sign { display: flex; align-items: center; gap: 16px; margin: 44px 0 8px; padding: 22px 24px; background: var(--stone-50); border: 1px solid var(--border-subtle); border-radius: var(--radius-lg); }
.sign-photo { width: 84px; height: 84px; border-radius: 50%; object-fit: cover; object-position: center 12%; flex-shrink: 0; border: 2px solid #fff; box-shadow: 0 0 0 1px var(--border-subtle), 0 3px 10px rgba(3,44,82,.12); }
.sign-by { font-family: var(--font-display); font-weight: 600; font-size: 11px; letter-spacing: var(--tracking-eyebrow); text-transform: uppercase; color: var(--green-text); }
.sign-name { font-family: var(--font-display); font-weight: 700; font-size: 17px; color: var(--navy); margin-top: 2px; }
.sign-creds { font-family: var(--font-body); font-style: italic; font-size: 13px; color: var(--green-text); margin-top: 1px; }
.sign-title { font-size: 14px; color: var(--text-muted); margin-top: 1px; }
.article-back { display: inline-flex; align-items: center; gap: 8px; font-family: var(--font-display); font-weight: 600; font-size: 14px; margin-top: 8px; }
.post-disclosure { margin: 28px 0 8px; padding-top: 20px; border-top: 1px solid var(--border-subtle); }
.post-disclosure p { font-size: 12px; line-height: 1.6; color: var(--text-muted); margin: 0 0 10px; }
.post-disclosure p:last-child { margin-bottom: 0; }

/* ---------- Legal pages ---------- */
.legal { max-width: 820px; margin: 0 auto; padding: 0 32px; }
.legal-header { padding: 72px 0 32px; }
.legal-header h1 { font-weight: 800; font-size: clamp(32px, 4.4vw, 52px); line-height: 1.06; letter-spacing: -0.02em; color: var(--navy); margin: 0; }
.legal-header .updated { font-size: 14px; color: var(--text-muted); margin-top: 14px; font-family: var(--font-display); font-weight: 600; }
.legal-body { padding-bottom: 80px; font-size: 17px; line-height: 1.7; color: var(--text-body); }
.legal-body h2 { font-weight: 700; font-size: 24px; color: var(--navy); margin: 40px 0 12px; }
.legal-body h3 { font-weight: 700; font-size: 19px; color: var(--navy); margin: 26px 0 8px; }
.legal-body p, .legal-body li { margin: 0 0 14px; }
.legal-body ul { padding-left: 22px; }
.legal-body a { color: var(--green-text); text-decoration: underline; }
.notice { background: #fff9e6; border: 1px solid #f0dca0; border-radius: var(--radius-md); padding: 18px 20px; margin: 0 0 28px; font-size: 15px; line-height: 1.6; color: #6b5710; }
.legal-lead { font-size: 19px; line-height: 1.6; color: var(--text-muted); margin: 0 0 8px; }
.legal-updated { font-family: var(--font-display); font-weight: 600; font-size: 13px; color: var(--text-muted); margin: 0 0 20px; }
.legal-body table { width: 100%; border-collapse: collapse; margin: 8px 0 24px; font-size: 15px; }
.legal-body th, .legal-body td { text-align: left; padding: 12px 14px; border-bottom: 1px solid var(--border-default); vertical-align: top; }
.legal-body thead th { font-family: var(--font-display); font-weight: 700; color: var(--navy); border-bottom: 2px solid var(--border-default); }
.legal-body td:first-child { font-family: var(--font-display); font-weight: 600; color: var(--navy); white-space: nowrap; }

/* Form ADV cards */
.adv-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin: 18px 0 8px; }
.adv-card { display: flex; gap: 16px; align-items: flex-start; padding: 22px; border: 1px solid var(--border-default); border-radius: var(--radius-lg); background: var(--white); box-shadow: var(--shadow-card); transition: box-shadow 180ms var(--ease-standard), transform 180ms var(--ease-standard); }
.adv-card:hover { box-shadow: var(--shadow-raised); transform: translateY(-2px); }
.adv-icon { flex-shrink: 0; width: 44px; height: 44px; border-radius: var(--radius-md); background: var(--stone-100); display: flex; align-items: center; justify-content: center; color: var(--navy); }
.adv-icon svg { width: 22px; height: 22px; }
.adv-title { font-family: var(--font-display); font-weight: 700; font-size: 16px; color: var(--navy); display: inline-flex; align-items: center; gap: 6px; }
.adv-title .ext { width: 14px; height: 14px; color: var(--text-muted); }
.adv-card p { font-size: 14px; line-height: 1.55; color: var(--text-muted); margin: 6px 0 0; }

/* Registration block */
.reg-block { background: var(--stone-50); border: 1px solid var(--border-subtle); border-radius: var(--radius-lg); padding: 22px 24px; margin: 12px 0 8px; display: flex; flex-direction: column; gap: 18px; }
.reg-item { display: flex; gap: 14px; align-items: flex-start; }
.reg-ic { flex-shrink: 0; color: var(--green-text); }
.reg-ic svg { width: 22px; height: 22px; }
.reg-item strong { font-family: var(--font-display); font-size: 16px; color: var(--navy); }
.reg-item p { margin: 3px 0 0; font-size: 15px; color: var(--text-body); }

/* Cookie consent banner */
.cookie-banner { position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 250; max-width: 640px; margin: 0 auto; background: var(--navy); color: var(--cream); border: 1px solid var(--border-on-navy); border-radius: var(--radius-lg); box-shadow: var(--shadow-raised); padding: 18px 20px; display: none; align-items: center; gap: 16px 20px; flex-wrap: wrap; }
.cookie-banner.show { display: flex; animation: schedIn 260ms var(--ease-standard); }
.cookie-banner p { margin: 0; font-size: 14px; line-height: 1.55; flex: 1; min-width: 220px; color: var(--text-on-navy); }
.cookie-banner a { color: var(--green); text-decoration: underline; text-underline-offset: 2px; }
.cookie-banner .cookie-actions { display: flex; gap: 10px; flex-shrink: 0; }
.cookie-banner .btn { padding: 10px 18px; font-size: 14px; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy); padding: 80px 0 40px; }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 44px; padding-bottom: 44px; }
.foot-logo { height: 58px; width: auto; margin-bottom: 22px; }
.foot-tagline { font-family: var(--font-display); font-weight: 600; font-size: 17px; line-height: 1.4; color: var(--cream); max-width: 32ch; margin: 0; }
.foot-tagline em { font-family: var(--font-body); font-style: italic; font-weight: 400; color: var(--green); }
.foot-creds { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
.foot-creds span { font-family: var(--font-display); font-weight: 600; font-size: 12px; color: var(--cream); border: 1px solid var(--border-on-navy); border-radius: var(--radius-sm); padding: 7px 12px; }
.foot-col h3 { font-family: var(--font-display); font-weight: 600; font-size: 11px; letter-spacing: var(--tracking-eyebrow); text-transform: uppercase; color: var(--green); margin: 0 0 18px; }
.foot-col .links { display: flex; flex-direction: column; gap: 12px; }
.foot-col .links a { font-size: 15px; color: var(--text-on-navy); }
.foot-col .links a:hover { color: var(--green); }
.socials { display: flex; align-items: center; gap: 10px; margin-top: 18px; }
.socials a { width: 38px; height: 38px; border-radius: var(--radius-md); border: 1px solid var(--border-on-navy); display: flex; align-items: center; justify-content: center; color: var(--cream); transition: background 180ms var(--ease-standard), color 180ms var(--ease-standard); }
.socials a:hover { background: var(--green); color: var(--navy); }
.socials svg { width: 16px; height: 16px; }
.foot-band { border-top: 1px solid var(--border-on-navy); border-bottom: 1px solid var(--border-on-navy); padding: 32px 0; }
.foot-band p { font-family: var(--font-display); font-weight: 700; font-size: clamp(20px, 2.4vw, 30px); line-height: 1.2; color: var(--cream); margin: 0; }
.foot-band em { color: var(--green); font-style: normal; }
.foot-disclosures { padding: 28px 0 8px; }
.foot-disclosures summary { display: inline-flex; align-items: center; gap: 8px; cursor: pointer; font-family: var(--font-display); font-weight: 600; font-size: 11px; letter-spacing: var(--tracking-eyebrow); text-transform: uppercase; color: var(--text-on-navy-muted); list-style: none; }
.foot-disclosures summary::-webkit-details-marker { display: none; }
.foot-disclosures .text { margin-top: 18px; font-size: 13px; line-height: 1.75; color: var(--text-on-navy-muted); max-width: none; }
.foot-disclosures .text p { margin: 0 0 12px; }
.foot-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; margin-top: 24px; }
.foot-bottom p { font-size: 12px; color: var(--text-on-navy-muted); margin: 0; }

/* ---------- Route-transition loader (spinning C) ---------- */
.route-loader { position: fixed; inset: 0; z-index: 300; display: flex; align-items: center; justify-content: center;
  background: rgba(3, 44, 82, 0.92); opacity: 0; visibility: hidden; transition: opacity 200ms var(--ease-standard); }
.route-loader.show { opacity: 1; visibility: visible; }
.route-loader .route-c { width: 68px; height: 68px; transform-origin: 50% 50%; animation: spinC 950ms linear infinite; will-change: transform; }
@keyframes spinC { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .route-loader .route-c { animation: none; } }

/* ---------- Scheduler modal ---------- */
.sched-modal { position: fixed; inset: 0; z-index: 200; display: flex; align-items: center; justify-content: center; padding: 24px; }
.sched-modal[hidden] { display: none; }
.sched-backdrop { position: absolute; inset: 0; background: rgba(2, 22, 42, 0.62); backdrop-filter: blur(3px); animation: cmcFade 200ms var(--ease-standard); }
.sched-panel {
  position: relative; width: 100%; max-width: 820px; height: min(88vh, 720px);
  background: var(--cream); border-radius: var(--radius-lg); overflow: hidden;
  display: flex; flex-direction: column; box-shadow: var(--shadow-raised);
  animation: schedIn 220ms var(--ease-standard);
}
@keyframes schedIn { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
.sched-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; background: var(--navy); padding: 16px 20px; }
.sched-title { font-family: var(--font-display); font-weight: 700; font-size: 16px; color: var(--cream); }
.sched-close { background: none; border: none; color: var(--cream); cursor: pointer; padding: 6px; border-radius: var(--radius-md); display: flex; transition: background 150ms var(--ease-standard); }
.sched-close:hover { background: rgba(255, 254, 244, 0.14); color: var(--cream); }
.sched-body { position: relative; flex: 1; background: var(--cream); }
.sched-iframe { width: 100%; height: 100%; border: 0; display: block; }
.sched-loading { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; font-family: var(--font-display); font-weight: 600; font-size: 14px; color: var(--text-muted); }
.sched-foot { padding: 12px 20px; font-size: 13px; color: var(--text-muted); border-top: 1px solid var(--border-subtle); text-align: center; }
.sched-foot a { color: var(--green-text); text-decoration: underline; }
@media (max-width: 600px) {
  .sched-modal { padding: 0; }
  .sched-panel { max-width: 100%; height: 100vh; border-radius: 0; }
}

/* ---------- Utilities ---------- */
.mt-anchor { position: relative; top: -80px; display: block; height: 0; }
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 5vw, 64px); align-items: start; }
.pad-y { padding-top: clamp(56px, 7.5vw, 88px); padding-bottom: clamp(56px, 7.5vw, 88px); }

/* ---------- Responsive ---------- */
/* Laptop / small desktop */
@media (max-width: 1080px) {
  .nav-links { gap: 24px; }
  .founder { gap: clamp(36px, 4vw, 56px); }
}

/* Tablet / iPad (portrait & landscape) */
@media (max-width: 960px) {
  .bio-row { gap: 44px; }
  .footer .foot-grid, .foot-grid { grid-template-columns: 1.3fr 1fr 1fr; }
  .foot-grid > div:first-child { grid-column: 1 / -1; }
}

/* Collapse to single column + hamburger */
@media (max-width: 860px) {
  .nav-links { display: none; }
  .burger { display: inline-flex; }
  .founder, .two-col, .bio-row, .clarity-hero { grid-template-columns: 1fr !important; gap: 40px; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .foot-grid > div:first-child { grid-column: 1 / -1; }
  .hero h1 { max-width: 100%; }
  /* Center the founder photo + its caption so there's no dead space beside it */
  .founder > div:first-child { text-align: center; }
  .founder-photo { max-width: 360px; margin-left: auto; margin-right: auto; }
  .bio-frame { max-width: 460px; margin-left: auto; margin-right: auto; }
}

/* Phones */
@media (max-width: 600px) {
  .cta-box { padding: 44px 24px; }
  .card-choose { padding: 28px; }
  body { font-size: 16px; }
  .reach input[type=text], .reach input[type=email] { font-size: 16px; } /* prevents iOS zoom-on-focus */
  .reach form { flex-direction: column; align-items: stretch; }
  .reach .btn-green { width: 100%; justify-content: center; }
  .hero-actions .btn { width: 100%; justify-content: center; }
  .cta-actions .btn { width: 100%; justify-content: center; }
  .foot-grid { grid-template-columns: 1fr; gap: 36px; }
  .bio-row + .bio-row { margin-top: 40px; padding-top: 40px; }
  .cred-logo { height: 46px; }
  .adv-cards { grid-template-columns: 1fr; }
  .legal-body table, .legal-body thead, .legal-body tbody, .legal-body tr, .legal-body td, .legal-body th { display: block; }
  .legal-body thead { display: none; }
  .legal-body tr { border: 1px solid var(--border-default); border-radius: var(--radius-md); padding: 10px 12px; margin-bottom: 12px; }
  .legal-body td { border: none; padding: 4px 0; }
  .legal-body td:first-child { white-space: normal; }
}

/* Very small phones */
@media (max-width: 380px) {
  .trust-row { gap: 12px; }
  .foot-creds span { font-size: 11px; padding: 6px 10px; }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  * { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; scroll-behavior: auto !important; }
  .headshot { filter: none !important; }
}

/* page fade-in */
@keyframes cmcFade { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
main { animation: cmcFade 300ms var(--ease-standard); }

/* Scroll reveal — progressive enhancement only (content is always in the DOM).
   Only hides when JS is present AND the user hasn't asked for reduced motion. */
@media (prefers-reduced-motion: no-preference) {
  /* Opacity-only fade — no transform, so adjacent full-width sections never show a
     1px compositing seam (the faint line between the two navy sections). */
  .js main > section:nth-child(n+2) { opacity: 0; transition: opacity 620ms var(--ease-standard); }
  .js main > section.in { opacity: 1; }
}
