/* =================================================================
   Rapid Digital Conversion — clinical theme
   Navy · gold · near-black · ivory. Clean, dependency-free.
   ================================================================= */

/* ---------- Design tokens ---------- */
:root {
  /* brand:start — the site's main color. Change these values to recolor the whole site. */
  --brand-950: #070d1a;   /* footer, near-black */
  --brand-900: #0b1528;
  --brand-800: #101d38;
  --brand-700: #172a4f;
  --brand:     #1b3260;
  --brand-400: #5e749e;
  --brand-300: #9fb0cf;
  --brand-100: #e6ecf5;
  --brand-50:  #f3f6fb;
  --brand-rgb:      27,50,96;   /* --brand as r,g,b (tints, focus rings) */
  --brand-deep-rgb: 16,29,56;   /* --brand-800 as r,g,b (shadows) */
  --brand-soft-rgb: 94,116,158;   /* --brand-400 as r,g,b (glows) */
  /* brand:end */

  /* Gold */
  --gold:        #c19a44;
  --gold-bright: #ddb45c;
  --gold-700:    #8a6a22;   /* accessible gold text on light */
  --gold-soft:   #f4ead3;

  /* Neutrals */
  --ink:    #0f1624;
  --text:   #1d2433;
  --muted:  #626b7a;
  --ivory:  #fbfaf7;
  --linen:  #f4f1eb;
  --white:  #ffffff;
  --line:   #e4e7ed;
  --line-dark: rgba(255,255,255,.12);

  /* Type */
  --font-serif: "Fraunces", "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --font-sans:  "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;

  /* Shape + depth */
  --container: 1200px;
  --radius-sm: 12px;
  --radius:    18px;
  --radius-lg: 28px;
  --shadow-sm: 0 1px 2px rgba(var(--brand-deep-rgb),.05), 0 4px 16px rgba(var(--brand-deep-rgb),.05);
  --shadow:    0 16px 38px -18px rgba(var(--brand-deep-rgb),.24);
  --shadow-lg: 0 36px 72px -30px rgba(var(--brand-deep-rgb),.42);

  --header-h: 80px;
  --ease: cubic-bezier(.22,.61,.36,1);
}

/* ---------- Reset / base ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  font-family: var(--font-sans);
  font-size: 1.0625rem;
  line-height: 1.72;
  color: var(--text);
  background: var(--ivory);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg, video { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; padding: 0; }
button { font: inherit; cursor: pointer; border: none; background: none; color: inherit; }
input, textarea, select { font: inherit; color: inherit; }

::selection { background: rgba(var(--brand-rgb),.16); color: var(--ink); }
img::selection { background: transparent; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 6px; }

.skip-link {
  position: absolute; left: 1rem; top: -60px; z-index: 200;
  background: var(--brand); color: #fff; font-weight: 600;
  padding: .6rem 1rem; border-radius: 8px; transition: top .2s;
}
.skip-link:focus { top: 1rem; }

/* ---------- Typography ---------- */
h1, h2, h3, h4 {
  font-family: var(--font-serif);
  font-weight: 500;
  line-height: 1.1;
  letter-spacing: -.005em;
  color: var(--ink);
  font-variation-settings: "opsz" 60;
}
h1 { font-size: clamp(2.5rem, 5.2vw, 4.2rem); line-height: 1.05; }
h2 { font-size: clamp(1.95rem, 3.5vw, 2.9rem); }
h3 { font-size: clamp(1.25rem, 1.8vw, 1.5rem); line-height: 1.25; font-variation-settings: "opsz" 36; }
h4 { font-size: 1.05rem; line-height: 1.35; }
h1 em, h2 em { font-style: italic; color: var(--brand); font-weight: 400; }
.on-dark h1 em, .on-dark h2 em { color: var(--gold-bright); }
strong, b { font-weight: 600; }
.lead { font-size: clamp(1.08rem, 1.4vw, 1.24rem); line-height: 1.7; color: var(--muted); }

.eyebrow {
  display: inline-flex; align-items: center; gap: .7rem;
  font-family: var(--font-sans); font-size: .76rem; font-weight: 600;
  letter-spacing: .2em; text-transform: uppercase; color: var(--gold-700);
}
.eyebrow::before { content: ""; width: 28px; height: 1px; background: currentColor; opacity: .7; }
.text-center .eyebrow::after { content: ""; width: 28px; height: 1px; background: currentColor; opacity: .7; }
.on-dark .eyebrow { color: var(--gold-bright); }

/* ---------- Layout ---------- */
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: clamp(1rem, 4vw, 2rem); }
.container--narrow { max-width: 900px; }
.section { padding-block: clamp(4.5rem, 9vw, 7.5rem); }
.section--tight { padding-block: clamp(3rem, 6vw, 4.5rem); }
.bg-ivory  { background: var(--ivory); }
.bg-linen  { background: var(--linen); }
.bg-white  { background: var(--white); }
.bg-brand { background: linear-gradient(160deg, var(--brand-800), var(--brand-900)); color: #fff; position: relative; overflow: hidden; isolation: isolate; }
.bg-brand::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: radial-gradient(45% 60% at 88% 0%, rgba(221,180,92,.16), transparent 70%),
              radial-gradient(40% 60% at 0% 100%, rgba(var(--brand-soft-rgb),.22), transparent 70%);
}
.on-dark h1, .on-dark h2, .on-dark h3, .on-dark h4 { color: #fff; }
.on-dark p, .on-dark .lead { color: rgba(255,255,255,.74); }
.text-center { text-align: center; }

.section-head { max-width: 740px; margin-bottom: clamp(2.4rem, 4.5vw, 3.6rem); }
.section-head h2 { margin-top: 1rem; }
.section-head p { margin-top: 1.1rem; color: var(--muted); font-size: 1.1rem; }
.on-dark .section-head p { color: rgba(255,255,255,.7); }
.section-head.text-center { margin-inline: auto; }
.section-head.text-center .eyebrow { justify-content: center; }
.section-head--split { max-width: none; display: flex; align-items: end; justify-content: space-between; gap: 2rem; flex-wrap: wrap; }
.section-head--split > div { max-width: 640px; }
.section-head--split > p { max-width: 440px; margin-top: 0; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  padding: .9rem 1.6rem; border-radius: 999px; border: 1px solid transparent;
  font-family: var(--font-sans); font-weight: 600; font-size: .96rem; letter-spacing: .01em; line-height: 1.2;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), background .25s, color .25s, border-color .25s;
  white-space: nowrap;
}
.btn svg { width: 1.05em; height: 1.05em; transition: transform .3s var(--ease); }
.btn:hover svg { transform: translateX(3px); }
.btn:hover { transform: translateY(-2px); }
.btn--lg { padding: 1.02rem 2rem; font-size: 1rem; }
.btn--block { width: 100%; }

.btn--gold { background: linear-gradient(135deg, var(--gold-bright), var(--gold)); color: #2c1d0e; }
.btn--gold:hover { box-shadow: 0 16px 30px -12px rgba(193,154,68,.7); }
.btn--brand { background: var(--brand); color: #fff; }
.btn--brand:hover { background: var(--brand-700); box-shadow: 0 16px 30px -14px rgba(var(--brand-rgb),.6); }
.btn--outline { background: transparent; color: var(--ink); border-color: rgba(var(--brand-rgb),.28); }
.btn--outline:hover { background: var(--brand); color: #fff; border-color: var(--brand); }
.btn--ghost-light { background: transparent; color: #fff; border-color: rgba(255,255,255,.4); }
.btn--ghost-light:hover { background: #fff; color: var(--brand-800); border-color: #fff; }

.text-link { display: inline-flex; align-items: center; gap: .45rem; font-weight: 600; color: var(--brand); }
.text-link svg { width: 1.05em; height: 1.05em; transition: transform .3s var(--ease); }
.text-link:hover svg { transform: translateX(4px); }
.on-dark .text-link { color: var(--gold-bright); }

/* ---------- Brand lockup ---------- */
.brand { display: inline-flex; align-items: center; gap: .75rem; flex-shrink: 0; color: var(--brand); }
.brand__mark { width: 42px; height: 42px; flex-shrink: 0; }
.brand__mark .arch { stroke: currentColor; }
.brand__mark .dot { fill: var(--gold); stroke: var(--brand-bg, var(--white)); }
.brand__type { display: flex; flex-direction: column; line-height: 1; }
.brand__name { font-family: var(--font-serif); font-weight: 600; font-size: 1.2rem; letter-spacing: -.01em; color: var(--ink); font-variation-settings: "opsz" 36; }
.brand__sub { margin-top: .34rem; font-family: var(--font-sans); font-weight: 600; font-size: .62rem; letter-spacing: .36em; text-transform: uppercase; color: var(--gold-700); }
.site-footer .brand { color: #fff; --brand-bg: var(--brand-950); }
.site-footer .brand__name { color: #fff; }
.site-footer .brand__sub { color: var(--gold-bright); }
.brand__logo { display: block; height: 56px; width: auto; max-width: 240px; object-fit: contain; object-position: left center; }
.site-footer .brand__logo { height: 72px; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,.9);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
          backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid var(--line);
  transition: box-shadow .3s, background .3s;
}
.site-header.is-scrolled { background: rgba(255,255,255,.95); box-shadow: 0 8px 28px -20px rgba(var(--brand-deep-rgb),.45); }
.nav { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; height: var(--header-h); }

.nav-menu { display: flex; align-items: center; gap: .2rem; }
.nav-menu > li { position: relative; }
.nav-link {
  display: inline-flex; align-items: center; gap: .35rem;
  padding: .55rem .9rem; border-radius: 999px;
  font-size: .95rem; font-weight: 500; color: var(--text);
  transition: color .2s, background .2s;
}
.nav-link:hover { color: var(--brand); background: var(--brand-50); }
.nav-link[aria-current="page"], .nav-link.is-active { color: var(--brand); font-weight: 600; }
.nav-link .chev { width: 14px; height: 14px; opacity: .6; transition: transform .3s var(--ease); }
.has-dropdown:hover .chev, .has-dropdown.open .chev { transform: rotate(180deg); }

.dropdown {
  position: absolute; top: calc(100% + 14px); left: 50%;
  width: 340px; padding: .55rem;
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  opacity: 0; visibility: hidden; pointer-events: none;
  transform: translateX(-50%) translateY(8px);
  transition: opacity .22s var(--ease), transform .22s var(--ease), visibility .22s;
}
.dropdown::before { content: ""; position: absolute; left: 0; right: 0; top: -16px; height: 18px; }
.has-dropdown:hover .dropdown, .has-dropdown.open .dropdown, .has-dropdown:focus-within .dropdown {
  opacity: 1; visibility: visible; pointer-events: auto; transform: translateX(-50%) translateY(0);
}
.dropdown a { display: grid; grid-template-columns: 36px 1fr; gap: .8rem; align-items: start; padding: .75rem .8rem; border-radius: 12px; transition: background .2s; }
.dropdown a:hover, .dropdown a[aria-current="page"] { background: var(--brand-50); }
.dropdown .dd-num {
  width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center;
  font-family: var(--font-serif); font-size: .95rem; color: var(--gold-700);
  background: var(--gold-soft);
}
.dropdown .dd-title { display: block; font-weight: 600; font-size: .95rem; color: var(--ink); line-height: 1.3; }
.dropdown small { display: block; margin-top: .15rem; color: var(--muted); font-size: .8rem; line-height: 1.35; }

.nav-cta { display: flex; align-items: center; gap: .6rem; flex-shrink: 0; }
.nav-cta .btn { padding: .72rem 1.3rem; font-size: .92rem; }
.nav-toggle { display: none; position: relative; width: 44px; height: 44px; border-radius: 12px; border: 1px solid var(--line); }
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after {
  content: ""; position: absolute; left: 12px; width: 18px; height: 2px; border-radius: 2px;
  background: var(--ink); transition: transform .3s var(--ease), background .2s;
}
.nav-toggle span { top: 20px; }
.nav-toggle span::before { top: -6px; }
.nav-toggle span::after { top: 6px; }
.nav-toggle.is-active span { background: transparent; }
.nav-toggle.is-active span::before { transform: translateY(6px) rotate(45deg); }
.nav-toggle.is-active span::after { transform: translateY(-6px) rotate(-45deg); }

/* ---------- Home hero ---------- */
.hero { position: relative; overflow: hidden; background: var(--ivory); isolation: isolate; }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(55% 60% at 90% 10%, rgba(193,154,68,.13), transparent 62%),
    radial-gradient(45% 60% at 4% 96%, rgba(var(--brand-rgb),.09), transparent 62%);
}
.hero__grid {
  display: grid; grid-template-columns: 1.08fr .92fr; gap: clamp(2.5rem, 5vw, 4.5rem); align-items: center;
  padding-block: clamp(3.5rem, 7vw, 6rem) clamp(4rem, 8vw, 6.5rem);
}
.hero h1 { margin-top: 1.4rem; }
.hero .lead { margin-top: 1.5rem; max-width: 44ch; }
.hero__actions { margin-top: 2.3rem; display: flex; flex-wrap: wrap; gap: .8rem; }
.hero__meta { margin-top: 2.8rem; display: flex; align-items: center; gap: 1.4rem; }
.hero__meta strong { display: block; font-family: var(--font-serif); font-weight: 500; font-size: 1.85rem; line-height: 1; color: var(--brand); }
.hero__meta span { display: block; margin-top: .4rem; font-size: .82rem; color: var(--muted); max-width: 16ch; line-height: 1.4; }
.hero__meta .divider { width: 1px; height: 44px; background: var(--line); }

.hero__media { position: relative; max-width: 500px; margin-left: auto; margin-right: 44px; width: calc(100% - 44px); }
.hero__portrait {
  position: relative; z-index: 2; overflow: hidden; aspect-ratio: 4 / 4.6;
  border-radius: 260px 260px var(--radius-lg) var(--radius-lg);
  background: var(--white); box-shadow: var(--shadow-lg);
}
.hero__portrait img { width: 100%; height: 100%; object-fit: cover; object-position: center top; }
.hero__ring {
  position: absolute; z-index: 1; top: -18px; right: -18px; width: 82%; aspect-ratio: 1;
  border: 1.5px solid var(--gold); border-radius: 260px 260px 40px 40px; opacity: .6;
}
.float-card {
  position: absolute; z-index: 3; display: flex; align-items: center; gap: .8rem;
  padding: .85rem 1.1rem; border-radius: 16px;
  background: var(--white); border: 1px solid var(--line); box-shadow: var(--shadow);
}
.float-card .dot { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; flex-shrink: 0; background: var(--brand-100); color: var(--brand); }
.float-card .dot svg { width: 20px; height: 20px; }
.float-card .dot--gold { background: var(--gold-soft); color: var(--gold-700); }
.float-card strong { display: block; font-family: var(--font-serif); font-weight: 600; font-size: 1rem; line-height: 1.15; color: var(--ink); }
.float-card small { display: block; margin-top: .15rem; font-size: .74rem; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.float-card--a { left: -34px; bottom: 40px; }
.float-card--b { right: -60px; top: 4%; }

/* ---------- Trust strip ---------- */
.trust { background: var(--white); border-block: 1px solid var(--line); }
.trust__inner { display: grid; grid-template-columns: auto 1fr; align-items: center; gap: clamp(1.5rem, 4vw, 3.5rem); padding-block: 2.1rem; }
.trust__label { font-size: .74rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); max-width: 20ch; line-height: 1.55; }
.trust__logos { display: flex; align-items: center; justify-content: space-between; gap: clamp(.8rem, 2vw, 1.8rem); flex-wrap: wrap; }
.trust__logos img { height: 50px; width: auto; filter: grayscale(1) contrast(1.1); opacity: .62; mix-blend-mode: multiply; transition: opacity .3s, filter .3s; }
.trust__logos img:hover { opacity: 1; filter: grayscale(0); }

/* ---------- Split sections + media ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2.5rem, 6vw, 5.5rem); align-items: center; }
.split--wide-text { grid-template-columns: .85fr 1.15fr; }
.split--rev > :first-child { order: 2; }
.media-frame { position: relative; z-index: 1; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg); background: var(--linen); }
.media-frame img { width: 100%; height: 100%; object-fit: cover; }
.media-frame--tall { aspect-ratio: 4 / 4.6; }
.media-frame--square { aspect-ratio: 1 / 1; }
.media-frame--wide { aspect-ratio: 16 / 10; }
.framed { position: relative; }
.framed::before {
  content: ""; position: absolute; z-index: 0; right: -20px; bottom: -20px; width: 62%; height: 62%;
  border: 1.5px solid var(--gold); border-radius: var(--radius-lg); opacity: .55;
}
.media-tag {
  position: absolute; left: 14px; bottom: 14px; z-index: 2;
  font-size: .7rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase;
  color: var(--brand); background: rgba(255,255,255,.9);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  padding: .45rem .75rem; border-radius: 999px;
}
.prose p { margin-bottom: 1.15rem; color: var(--muted); }
.prose p:last-child { margin-bottom: 0; }
.prose strong { color: var(--ink); }
.on-dark .prose p { color: rgba(255,255,255,.74); }
.on-dark .prose strong { color: #fff; }

/* ---------- Icon tiles, pillars, features ---------- */
.icon-tile {
  width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; flex-shrink: 0;
  background: var(--brand-100); color: var(--brand);
  font-family: var(--font-serif); font-size: 1.15rem; font-weight: 500;
}
.icon-tile svg { width: 23px; height: 23px; }
.on-dark .icon-tile, .feature--dark .icon-tile { background: rgba(221,180,92,.14); color: var(--gold-bright); }

.pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.3rem; margin-top: clamp(3rem, 6vw, 4.5rem); }
.pillar {
  padding: 2rem 1.8rem; border-radius: var(--radius); background: var(--white);
  border: 1px solid var(--line); box-shadow: var(--shadow-sm);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}
.pillar:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.pillar__k { display: block; margin-top: 1.3rem; font-size: .72rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--gold-700); }
.pillar h3 { margin-top: .5rem; }
.pillar p { margin-top: .6rem; color: var(--muted); font-size: .98rem; }

.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.3rem; }
.feature {
  padding: 2rem 1.8rem; border-radius: var(--radius); background: var(--white);
  border: 1px solid var(--line); box-shadow: var(--shadow-sm);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}
.feature:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.feature .icon-tile { margin-bottom: 1.3rem; }
.feature h3 { font-size: 1.28rem; }
.feature p { margin-top: .55rem; color: var(--muted); font-size: .97rem; }
.feature--dark { background: linear-gradient(160deg, var(--brand), var(--brand-800)); border-color: transparent; }
.feature--dark h3 { color: #fff; }
.feature--dark p { color: rgba(255,255,255,.76); }

/* ---------- Protocol steps ---------- */
.protocol { position: relative; display: grid; grid-template-columns: repeat(5, 1fr); gap: 1.1rem; }
.protocol::before {
  content: ""; position: absolute; left: 10%; right: 10%; top: 30px; height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold) 12%, var(--gold) 88%, transparent); opacity: .55;
}
.protocol__step { position: relative; text-align: center; padding: 0 .4rem; }
.protocol__num {
  position: relative; z-index: 1; width: 60px; height: 60px; margin: 0 auto 1.4rem; border-radius: 50%;
  display: grid; place-items: center; background: var(--white); border: 1.5px solid var(--gold);
  font-family: var(--font-serif); font-size: 1.3rem; color: var(--brand);
  box-shadow: 0 0 0 8px var(--linen);
}
.protocol__step h3 { font-size: 1.3rem; }
.protocol__step p { margin-top: .5rem; font-size: .94rem; color: var(--muted); line-height: 1.6; }

/* ---------- Course cards ---------- */
.course-feature {
  display: grid; grid-template-columns: 1.15fr .85fr; overflow: hidden; margin-bottom: 1.3rem;
  border-radius: var(--radius-lg); background: linear-gradient(160deg, var(--brand), var(--brand-800)); color: #fff;
  box-shadow: var(--shadow-lg); transition: transform .4s var(--ease);
}
.course-feature:hover { transform: translateY(-4px); }
.course-feature__media { position: relative; min-height: 380px; overflow: hidden; }
.course-feature__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--ease); }
.course-feature:hover .course-feature__media img { transform: scale(1.04); }
.course-feature__body { padding: clamp(1.8rem, 4vw, 3rem); display: flex; flex-direction: column; }
.course-feature__body h3 { margin-top: 1rem; font-size: clamp(1.7rem, 2.6vw, 2.2rem); color: #fff; line-height: 1.12; }
.course-feature__body p { margin-top: .9rem; color: rgba(255,255,255,.76); }
.course-feature__meta { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 1.4rem; }
.course-feature__foot { margin-top: auto; padding-top: 1.8rem; display: flex; gap: .8rem; flex-wrap: wrap; }

.cards-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.3rem; }
.course-card {
  position: relative; display: flex; flex-direction: column; overflow: hidden;
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow-sm);
  transition: transform .4s var(--ease), box-shadow .4s var(--ease);
}
.course-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.course-card__media { position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: var(--linen); }
.course-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.course-card:hover .course-card__media img { transform: scale(1.05); }
.course-card__body { padding: 1.5rem 1.6rem 1.7rem; display: flex; flex-direction: column; flex: 1; }
.course-card__kicker { font-size: .72rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--gold-700); }
.course-card__body h3 { margin-top: .55rem; }
.course-card__body p { margin-top: .55rem; color: var(--muted); font-size: .96rem; }
.course-card__foot { margin-top: auto; padding-top: 1.3rem; }
.course-card__link::after { content: ""; position: absolute; inset: 0; }

.chip {
  display: inline-flex; align-items: center; gap: .45rem; line-height: 1.2;
  font-size: .84rem; font-weight: 500; padding: .48rem .9rem; border-radius: 999px;
  background: var(--white); border: 1px solid var(--line); color: var(--text);
}
.chip svg { width: 15px; height: 15px; color: var(--gold-700); }
.on-dark .chip { background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.16); color: rgba(255,255,255,.9); }
.on-dark .chip svg { color: var(--gold-bright); }
.chip-row { display: flex; flex-wrap: wrap; gap: .55rem; }

/* ---------- Research ---------- */
.research-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.3rem; }
.paper-card {
  display: flex; flex-direction: column; gap: 1rem; padding: 1.8rem; border-radius: var(--radius);
  background: var(--white); border: 1px solid var(--line); box-shadow: var(--shadow-sm);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s;
}
.paper-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--brand-100); }
.paper-card__top { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.journal {
  display: inline-flex; align-items: center; font-size: .7rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase;
  color: var(--brand); background: var(--brand-100); padding: .34rem .7rem; border-radius: 999px;
}
.year { font-family: var(--font-serif); font-size: .95rem; color: var(--gold-700); }
.paper-card h3 { font-size: 1.15rem; line-height: 1.35; }
.paper-card p { color: var(--muted); font-size: .94rem; }
.paper-card .text-link { margin-top: auto; font-size: .93rem; }

.pub-list { display: grid; gap: 1rem; }
.pub-item {
  display: grid; grid-template-columns: 56px 1fr auto; gap: 1.4rem; align-items: start;
  padding: 1.7rem 1.8rem; border-radius: var(--radius); background: var(--white);
  border: 1px solid var(--line); box-shadow: var(--shadow-sm);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s;
}
.pub-item:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: var(--brand-100); }
.pub-no { font-family: var(--font-serif); font-size: 1.6rem; line-height: 1; color: var(--gold); }
.pub-item h3 { font-size: 1.18rem; line-height: 1.35; }
.pub-meta { display: flex; flex-wrap: wrap; gap: .7rem; align-items: center; margin-top: .8rem; }
.pub-desc { margin-top: .7rem; color: var(--muted); font-size: .95rem; }
.pub-arrow {
  width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; flex-shrink: 0;
  border: 1px solid var(--line); color: var(--brand); transition: background .25s, color .25s, border-color .25s, transform .3s var(--ease);
}
.pub-arrow svg { width: 18px; height: 18px; }
.pub-item:hover .pub-arrow { background: var(--brand); color: #fff; border-color: var(--brand); transform: rotate(-45deg); }

/* ---------- Founder ---------- */
.founder__photo { position: relative; }
.founder__card {
  position: absolute; z-index: 3; right: -22px; bottom: 30px; max-width: 260px;
  padding: 1rem 1.2rem; border-radius: 16px; background: var(--white); border: 1px solid var(--line); box-shadow: var(--shadow);
}
.founder__card strong { display: block; font-family: var(--font-serif); font-weight: 600; font-size: 1.05rem; color: var(--ink); }
.founder__card span { display: block; margin-top: .2rem; font-size: .74rem; letter-spacing: .12em; text-transform: uppercase; color: var(--gold-700); }
.creds { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 1.6rem; }
.cred { font-size: .84rem; font-weight: 600; color: var(--brand); background: var(--brand-100); border-radius: 999px; padding: .45rem .95rem; }
.on-dark .cred { background: rgba(255,255,255,.08); color: rgba(255,255,255,.9); }
.signature { font-family: var(--font-serif); font-style: italic; font-size: 1.3rem; color: var(--brand); }
.on-dark .signature { color: var(--gold-bright); }
.signature-quote {
  margin-top: 2rem; padding: 1.4rem 1.6rem; border-left: 2px solid var(--gold);
  background: var(--white); border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  font-family: var(--font-serif); font-style: italic; font-size: 1.2rem; line-height: 1.5; color: var(--ink);
}
.signature-quote cite { display: block; margin-top: .6rem; font-family: var(--font-sans); font-style: normal; font-size: .76rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }

/* ---------- Stats ---------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; text-align: center; }
.stat strong { display: block; font-family: var(--font-serif); font-weight: 500; font-size: clamp(2.2rem, 4vw, 3.2rem); line-height: 1; color: var(--gold-bright); }
.stat span { display: block; margin-top: .6rem; color: rgba(255,255,255,.72); font-size: .92rem; letter-spacing: .02em; }
.stats--spaced { margin-top: clamp(3rem, 6vw, 4.5rem); padding-top: clamp(2.5rem, 5vw, 3.5rem); border-top: 1px solid var(--line-dark); }

/* ---------- Quote ---------- */
.quote { max-width: 880px; margin-inline: auto; text-align: center; }
.quote__mark { width: 46px; height: 46px; margin: 0 auto 1.3rem; color: var(--gold); opacity: .8; }
.quote blockquote { font-family: var(--font-serif); font-style: italic; font-weight: 400; font-size: clamp(1.5rem, 2.8vw, 2.25rem); line-height: 1.38; color: var(--ink); }
.quote cite { display: block; margin-top: 1.5rem; font-style: normal; font-size: .8rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.on-dark .quote blockquote { color: #fff; }
.on-dark .quote cite { color: rgba(255,255,255,.6); }

/* ---------- CTA band ---------- */
.cta-band {
  position: relative; overflow: hidden; isolation: isolate; border-radius: var(--radius-lg);
  background: linear-gradient(135deg, var(--brand-800), var(--brand) 62%, var(--brand-700));
  color: #fff; padding: clamp(2.5rem, 6vw, 4.5rem);
}
.cta-band::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(50% 80% at 88% 8%, rgba(221,180,92,.26), transparent 62%); }
.cta-band__inner { display: grid; grid-template-columns: 1.3fr auto; gap: 2.5rem; align-items: center; }
.cta-band h2 { color: #fff; max-width: 20ch; }
.cta-band p { margin-top: 1rem; color: rgba(255,255,255,.78); max-width: 52ch; }
.btn-row { display: flex; flex-wrap: wrap; gap: .8rem; }
.cta-band .btn-row { flex-direction: column; align-items: stretch; min-width: 240px; }

/* ---------- Inner page hero ---------- */
.page-hero { position: relative; overflow: hidden; isolation: isolate; background: linear-gradient(180deg, var(--linen), var(--ivory)); border-bottom: 1px solid var(--line); }
.page-hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: radial-gradient(45% 70% at 92% 0%, rgba(193,154,68,.12), transparent 65%),
              radial-gradient(40% 70% at 0% 100%, rgba(var(--brand-rgb),.08), transparent 65%);
}
.page-hero__grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; padding-block: clamp(3rem, 7vw, 5.5rem); }
.page-hero__grid--solo { grid-template-columns: 1fr; max-width: 880px; }
.page-hero h1 { margin-top: 1.2rem; font-size: clamp(2.3rem, 4.6vw, 3.8rem); }
.page-hero .lead { margin-top: 1.3rem; max-width: 56ch; }
.page-hero .chip-row { margin-top: 1.8rem; }
.page-hero .btn-row { margin-top: 2rem; }
.page-hero__media { position: relative; }
.page-hero__media .media-frame { aspect-ratio: 5 / 4.3; }
.breadcrumb { display: flex; flex-wrap: wrap; gap: .5rem; align-items: center; font-size: .82rem; color: var(--muted); margin-bottom: 1.4rem; }
.breadcrumb a:hover { color: var(--brand); }
.breadcrumb span[aria-hidden] { opacity: .5; }

/* ---------- Checklist, info, days ---------- */
.checklist { display: grid; gap: 1.1rem; }
.checklist li { display: grid; grid-template-columns: 28px 1fr; gap: .9rem; align-items: start; }
.tick { width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; margin-top: .15rem; background: var(--brand-100); color: var(--brand); }
.tick svg { width: 14px; height: 14px; }
.checklist b { display: block; color: var(--ink); font-weight: 600; }
.checklist p { color: var(--muted); font-size: .97rem; margin-top: .15rem; }
.on-dark .tick { background: rgba(221,180,92,.16); color: var(--gold-bright); }
.on-dark .checklist b { color: #fff; }
.on-dark .checklist p { color: rgba(255,255,255,.7); }

.info-card { padding: 1.7rem; border-radius: var(--radius); background: var(--white); border: 1px solid var(--line); box-shadow: var(--shadow-sm); height: 100%; }
.info-card h3 { display: flex; align-items: center; gap: .6rem; font-size: 1.15rem; margin-bottom: .7rem; }
.info-card h3 svg { width: 20px; height: 20px; color: var(--gold); flex-shrink: 0; }
.info-card p, .info-card li { color: var(--muted); font-size: .95rem; }
.info-card ul { display: grid; gap: .3rem; }

.day-panel { padding: clamp(1.6rem, 3vw, 2.3rem); border-radius: var(--radius-lg); background: var(--white); border: 1px solid var(--line); box-shadow: var(--shadow-sm); }
.day-head { display: flex; align-items: center; gap: 1rem; margin-bottom: 1.5rem; padding-bottom: 1.2rem; border-bottom: 1px solid var(--line); }
.day-head .num {
  width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; flex-shrink: 0;
  background: var(--brand); color: #fff; font-family: var(--font-serif); font-size: 1.1rem;
}
.day-head small { display: block; font-size: .72rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--gold-700); }
.day-head h3 { font-size: 1.35rem; margin-top: .15rem; }

.agenda li { display: grid; grid-template-columns: 110px 1fr; gap: 1.1rem; padding: 1rem 0; border-bottom: 1px solid var(--line); }
.agenda li:first-child { padding-top: 0; }
.agenda li:last-child { border-bottom: 0; padding-bottom: 0; }
.agenda time { font-weight: 600; font-size: .86rem; color: var(--brand); padding-top: .1rem; }
.agenda time span { display: block; font-weight: 400; color: var(--muted); }
.agenda time span::before { content: "to "; }
.agenda h4 { font-family: var(--font-sans); font-weight: 600; font-size: 1rem; letter-spacing: 0; }
.agenda p { margin-top: .2rem; color: var(--muted); font-size: .93rem; line-height: 1.55; }
.agenda li.is-break h4 { color: var(--muted); font-weight: 500; font-style: italic; }
.agenda li.is-break time { color: var(--muted); }

.enroll-card {
  position: sticky; top: calc(var(--header-h) + 24px); padding: 2.1rem; border-radius: var(--radius-lg);
  background: linear-gradient(160deg, var(--brand), var(--brand-800)); color: #fff; box-shadow: var(--shadow-lg);
  overflow: hidden; isolation: isolate;
}
.enroll-card::after { content: ""; position: absolute; z-index: -1; width: 320px; height: 320px; right: -130px; top: -150px; background: radial-gradient(circle, rgba(221,180,92,.28), transparent 65%); }
.enroll-card h3 { margin-top: .9rem; font-size: 1.75rem; color: #fff; }
.enroll-card > p { margin-top: .6rem; color: rgba(255,255,255,.74); font-size: .95rem; }
.detail-list { margin-top: 1.4rem; }
.detail-row { display: flex; justify-content: space-between; gap: 1rem; padding: .8rem 0; border-bottom: 1px solid var(--line-dark); font-size: .94rem; }
.detail-row:last-child { border-bottom: 0; }
.detail-row span:first-child { color: rgba(255,255,255,.6); }
.detail-row span:last-child { font-weight: 600; text-align: right; }
.enroll-card .btn { margin-top: 1.5rem; }
.enroll-card .fine { margin-top: .9rem; text-align: center; color: rgba(255,255,255,.6); font-size: .84rem; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(2rem, 5vw, 4rem); align-items: start; }
.contact-info { display: grid; gap: .9rem; margin-top: 2rem; }
.contact-line { display: grid; grid-template-columns: 50px 1fr; gap: 1rem; align-items: center; padding: 1rem 1.1rem; border-radius: var(--radius); background: var(--white); border: 1px solid var(--line); }
.contact-line .ci { width: 50px; height: 50px; border-radius: 50%; display: grid; place-items: center; background: var(--brand-100); color: var(--brand); }
.contact-line .ci svg { width: 21px; height: 21px; }
.contact-line span { display: block; font-size: .72rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.contact-line a, .contact-line p { display: block; margin-top: .1rem; font-weight: 600; color: var(--ink); font-size: 1rem; line-height: 1.45; }
.contact-line a:hover { color: var(--brand); }

.form-card { padding: clamp(1.6rem, 4vw, 2.6rem); border-radius: var(--radius-lg); background: var(--white); border: 1px solid var(--line); box-shadow: var(--shadow); }
.form-card h2 { font-size: clamp(1.6rem, 2.4vw, 2rem); }
.form-card > p { margin-top: .5rem; color: var(--muted); margin-bottom: 1.6rem; }
.field { margin-bottom: 1.05rem; }
.field label { display: block; margin-bottom: .45rem; font-size: .86rem; font-weight: 600; color: var(--ink); }
.field input, .field textarea, .field select {
  width: 100%; padding: .85rem 1rem; border-radius: 12px; border: 1px solid var(--line);
  background: var(--ivory); transition: border-color .2s, box-shadow .2s, background .2s;
}
.field input:focus, .field textarea:focus, .field select:focus {
  outline: none; background: #fff; border-color: var(--brand-300); box-shadow: 0 0 0 4px rgba(var(--brand-rgb),.08);
}
.field textarea { min-height: 140px; resize: vertical; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form-note { margin-top: 1rem; padding: .9rem 1rem; border-radius: 12px; background: #eef7ee; color: #256029; font-size: .92rem; }
.form-note a { font-weight: 600; text-decoration: underline; }
.map-frame { border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shadow); }
.map-frame iframe { display: block; width: 100%; height: 420px; border: 0; }

/* ---------- Footer ---------- */
.site-footer { background: var(--brand-950); color: rgba(255,255,255,.7); padding-top: clamp(3.5rem, 7vw, 5.5rem); }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.3fr; gap: 2.5rem; padding-bottom: 3.2rem; }
.footer-brand p { margin-top: 1.2rem; max-width: 34ch; font-size: .94rem; color: rgba(255,255,255,.58); }
.footer-col h4 { font-family: var(--font-sans); font-size: .76rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--gold-bright); margin-bottom: 1.1rem; }
.footer-col ul { display: grid; gap: .65rem; }
.footer-col a, .footer-col li { font-size: .95rem; color: rgba(255,255,255,.72); transition: color .2s; }
.footer-col a:hover { color: #fff; }
.footer-contact li { display: flex; gap: .65rem; align-items: flex-start; }
.footer-contact svg { width: 17px; height: 17px; color: var(--gold-bright); flex-shrink: 0; margin-top: .3rem; }
.footer-social { display: flex; gap: .6rem; margin-top: 1.5rem; }
.footer-social a { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; border: 1px solid rgba(255,255,255,.16); color: rgba(255,255,255,.85); transition: background .2s, color .2s, border-color .2s, transform .25s var(--ease); }
.footer-social a:hover { background: var(--gold); border-color: var(--gold); color: var(--brand-950); transform: translateY(-2px); }
.footer-social svg { width: 18px; height: 18px; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; padding-block: 1.6rem; border-top: 1px solid rgba(255,255,255,.1); font-size: .86rem; color: rgba(255,255,255,.48); }

/* ---------- Reveal on scroll (only when JS is running) ---------- */
.js .reveal { opacity: 0; transform: translateY(22px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.js .reveal.is-visible { opacity: 1; transform: none; }
.js .reveal.d1 { transition-delay: .08s; }
.js .reveal.d2 { transition-delay: .16s; }
.js .reveal.d3 { transition-delay: .24s; }
.js .reveal.d4 { transition-delay: .32s; }
@media (prefers-reduced-motion: reduce) { .js .reveal { opacity: 1; transform: none; transition: none; } }

/* ---------- Utilities ---------- */
.mt-1 { margin-top: .6rem; } .mt-2 { margin-top: 1.2rem; } .mt-3 { margin-top: 2rem; } .mt-4 { margin-top: 3rem; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1.2rem, 3vw, 2rem); }
.grid-2--start { align-items: start; }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .hero__grid { grid-template-columns: 1fr; }
  .hero__media { order: -1; max-width: 440px; width: 100%; margin-inline: auto; padding-inline: 24px; }
  .float-card--a { left: 0; }
  .float-card--b { right: 0; top: -16px; }
  .hero__ring { right: 6px; }
  .protocol { grid-template-columns: repeat(3, 1fr); row-gap: 2.5rem; }
  .protocol::before { display: none; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
  .stats { grid-template-columns: repeat(2, 1fr); row-gap: 2.2rem; }
  .research-grid, .cards-3 { grid-template-columns: repeat(2, 1fr); }
  .research-grid > :last-child:nth-child(odd), .cards-3 > :last-child:nth-child(odd) { grid-column: 1 / -1; }
  .trust__inner { grid-template-columns: 1fr; text-align: center; }
  .trust__label { max-width: none; }
  .trust__logos { justify-content: center; }
}
@media (max-width: 900px) {
  :root { --header-h: 70px; }
  .brand__logo { height: 50px; }
  .nav-cta .btn { display: none; }
  .nav-toggle { display: block; }
  .nav-menu {
    position: fixed; top: var(--header-h); left: 0; right: 0; z-index: 99;
    flex-direction: column; align-items: stretch; gap: 0;
    padding: .8rem clamp(1rem, 4vw, 2rem) 1.6rem;
    max-height: calc(100vh - var(--header-h)); overflow-y: auto;
    background: var(--white); border-bottom: 1px solid var(--line); box-shadow: var(--shadow-lg);
    opacity: 0; visibility: hidden; transform: translateY(-10px);
    transition: opacity .25s, transform .25s var(--ease), visibility .25s;
  }
  .nav-menu.is-open { opacity: 1; visibility: visible; transform: none; }
  .nav-menu > li { border-bottom: 1px solid var(--line); }
  .nav-menu > li:last-child { border-bottom: 0; }
  .nav-link { width: 100%; justify-content: space-between; padding: .95rem .2rem; border-radius: 0; font-size: 1.05rem; }
  .nav-link:hover { background: transparent; }
  .nav-menu .nav-mobile-cta { padding-top: 1.2rem; }
  .nav-menu .nav-mobile-cta .btn { width: 100%; }
  .dropdown {
    position: static; width: auto; padding: 0 0 .6rem; transform: none;
    background: transparent; border: 0; box-shadow: none;
    opacity: 1; visibility: visible; pointer-events: auto;
    max-height: 0; overflow: hidden; transition: max-height .35s var(--ease);
  }
  .dropdown::before { display: none; }
  .has-dropdown:hover .dropdown { transform: none; }
  .has-dropdown.open .dropdown { max-height: 520px; transform: none; }
  .has-dropdown:not(.open):focus-within .dropdown { max-height: 0; }
  .split, .split--wide-text, .contact-grid { grid-template-columns: 1fr; }
  .split--rev > :first-child { order: 0; }
  .page-hero__grid { grid-template-columns: 1fr; }
  .page-hero__media { max-width: 540px; }
  .course-feature { grid-template-columns: 1fr; }
  .course-feature__media { min-height: 260px; }
  .pillars, .feature-grid { grid-template-columns: 1fr 1fr; }
  .pillars > :last-child:nth-child(odd), .feature-grid > :last-child:nth-child(odd) { grid-column: 1 / -1; }
  .cta-band__inner { grid-template-columns: 1fr; }
  .cta-band .btn-row { flex-direction: row; min-width: 0; }
  .enroll-card { position: static; }
  .founder__card { right: 12px; }
  .framed::before { right: -10px; bottom: -10px; }
}
@media (min-width: 901px) { .nav-menu .nav-mobile-cta { display: none; } }
@media (max-width: 720px) {
  .hero__meta { gap: 1.1rem; flex-wrap: wrap; }
  .hero__meta .divider { display: none; }
  .protocol { grid-template-columns: 1fr; row-gap: 0; }
  .protocol__step { display: grid; grid-template-columns: 60px 1fr; column-gap: 1.1rem; text-align: left; padding: 0 0 1.8rem; }
  .protocol__step::before { content: ""; position: absolute; left: 30px; top: 60px; bottom: 0; width: 1px; background: var(--gold); opacity: .45; }
  .protocol__step:last-child::before { display: none; }
  .protocol__step:last-child { padding-bottom: 0; }
  .protocol__num { grid-row: span 2; margin: 0; }
  .protocol__step > :not(.protocol__num) { grid-column: 2; }
  .research-grid, .cards-3, .pillars, .feature-grid, .grid-2 { grid-template-columns: 1fr; }
  .research-grid > :last-child:nth-child(odd), .cards-3 > :last-child:nth-child(odd),
  .pillars > :last-child:nth-child(odd), .feature-grid > :last-child:nth-child(odd) { grid-column: auto; }
  .form-row { grid-template-columns: 1fr; }
  .pub-item { grid-template-columns: 1fr; gap: .6rem; }
  .pub-arrow { display: none; }
  .agenda li { grid-template-columns: 1fr; gap: .25rem; }
  .agenda time span { display: inline; }
  .agenda time span::before { content: " – "; }
  .footer-grid { grid-template-columns: 1fr; }
  .stats { grid-template-columns: 1fr 1fr; }
  .float-card { padding: .65rem .8rem; }
  .float-card .dot { width: 32px; height: 32px; }
  .founder__card { position: static; margin-top: 1rem; max-width: none; }
  .map-frame iframe { height: 320px; }
}
@media (max-width: 420px) {
  .brand__name { font-size: 1.08rem; }
  .brand__logo { height: 46px; }
  .cta-band .btn-row { flex-direction: column; }
  .float-card small { display: none; }
}
