/* ============================================================
   LAUNCHPAD LABS: Fall 2026 cohort pages (directory + labs)
   (design system shared with the research-site redesign)
   ============================================================ */
:root {
  --ink: #172033;
  --body: #465163;
  --muted: #717b8c;
  --navy: #17395d;
  --navy-2: #0f2945;
  --blue: #426f9b;
  --gold: #b47a35;
  --paper: #ffffff;
  --wash: #f6f8fb;
  --warm: #fbf7ef;
  --line: #e3e8ef;
  --line-strong: #cbd5e1;
  --shadow: 0 20px 50px -34px rgba(23, 32, 51, 0.34);
  --shadow-sm: 0 8px 24px -20px rgba(23, 32, 51, 0.28);
  --radius: 10px;
  --display: "Lora", Georgia, "Times New Roman", serif;
  --sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --maxw: 1160px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--sans);
  background: var(--paper);
  color: var(--body);
  font-size: 1rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
body.modal-open { overflow: hidden; }
::selection { background: rgba(66, 111, 155, 0.18); color: var(--ink); }
img { display: block; max-width: 100%; }
button { font: inherit; cursor: pointer; border: none; background: none; }
a { text-decoration: none; color: inherit; }

.container { width: min(var(--maxw), 92vw); margin-inline: auto; }

:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; border-radius: 4px; }

h1, h2, h3, h4 {
  color: var(--ink);
  font-family: var(--display);
  font-weight: 600;
  line-height: 1.12;
  letter-spacing: -0.01em;
}

.eyebrow {
  margin-bottom: 0.7rem;
  color: var(--gold);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}
.eyebrow--light { color: #dfb36d; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 46px;
  padding: 0.85rem 1.45rem;
  border: 1px solid transparent;
  border-radius: var(--radius);
  font: inherit;
  font-size: 0.93rem;
  font-weight: 700;
  line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
  text-align: center;
  transition: transform 0.18s ease, background 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn--solid { background: var(--navy); color: #fff; box-shadow: var(--shadow-sm); }
.btn--solid:hover { background: var(--navy-2); box-shadow: var(--shadow); }
.btn--whatsapp { background: #25d366; color: #fff; box-shadow: 0 8px 20px -8px rgba(37, 211, 102, 0.6); }
.btn--whatsapp:hover { background: #1fbe5b; }
.btn--whatsapp svg { width: 1.3em; height: 1.3em; flex-shrink: 0; }
.btn--ghost { background: #fff; color: var(--navy); border-color: var(--line-strong); }
.btn--ghost:hover { border-color: var(--navy); }
.btn--paper { background: #fff; color: var(--navy); box-shadow: var(--shadow-sm); }
.btn--paper:hover { background: var(--warm); }
.btn--small { min-height: 38px; padding: 0.55rem 1rem; font-size: 0.85rem; }

/* ---------- Navigation (slim) ---------- */
.nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.92);
  border-bottom: 1px solid rgba(227, 232, 239, 0.75);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}
.nav.is-scrolled { box-shadow: 0 12px 32px -30px rgba(23, 32, 51, 0.55); }
.nav__inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 0.8rem;
  height: 62px;
}
.nav__brand {
  display: inline-flex; align-items: center; gap: 0.5rem;
  color: var(--ink); font-weight: 700;
  white-space: nowrap;
}
.nav__mark { display: inline-flex; color: var(--blue); }
.nav__logo { height: 32px; width: auto; }
.footer__logo {
  height: 28px; width: auto;
  background: #fff;
  border-radius: 50%;
  padding: 2px;
}
.nav__back {
  margin-left: auto;
  color: var(--navy);
  font-size: 0.86rem;
  font-weight: 600;
  white-space: nowrap;
}
.nav__back:hover { text-decoration: underline; }

/* ---------- Page head (directory) ---------- */
.page-head {
  padding: calc(62px + 2.6rem) 0 2.2rem;
  border-bottom: 1px solid var(--line);
  background:
    radial-gradient(60% 90% at 90% 0%, rgba(66, 111, 155, 0.1), transparent 60%),
    linear-gradient(180deg, #fff 0%, #f7f9fc 100%);
}
.page-head h1 {
  font-size: clamp(1.9rem, 4vw, 2.7rem);
  margin-bottom: 0.7rem;
}
.page-head__sub {
  max-width: 62ch;
  color: var(--body);
  font-size: 0.98rem;
}
.page-head__facts {
  display: flex; flex-wrap: wrap; gap: 0.45rem;
  margin-top: 1.15rem;
}
.fact {
  display: inline-flex; align-items: center;
  padding: 0.32rem 0.75rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  color: var(--ink);
  font-size: 0.78rem;
  font-weight: 600;
  box-shadow: var(--shadow-sm);
}
.fact b { color: var(--navy); font-weight: 700; margin-right: 0.28rem; }

/* ---------- Sections ---------- */
.section { padding: clamp(2.6rem, 5vw, 4rem) 0; scroll-margin-top: 70px; }
.section--mist { background: var(--wash); }
.section__head { margin-bottom: 1.8rem; }
.section__head h2 { font-size: clamp(1.5rem, 3vw, 2rem); margin-bottom: 0.45rem; }
.section__sub { color: var(--body); font-size: 0.95rem; max-width: 62ch; }

/* ---------- How-to ribbon (wayfinding) ---------- */
.howto {
  display: flex;
  align-items: stretch;
  gap: 0.8rem;
  margin-bottom: 1.6rem;
  padding: 1rem 1.2rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow-sm);
}
.howto__step {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  flex: 1;
  font-size: 0.86rem;
  color: var(--ink);
  line-height: 1.4;
}
.howto__step b { color: var(--navy); }
.howto__num {
  display: grid;
  place-items: center;
  flex-shrink: 0;
  width: 1.9rem;
  height: 1.9rem;
  border-radius: 50%;
  background: var(--navy);
  color: #fff;
  font-size: 0.82rem;
  font-weight: 700;
}
.howto__sep {
  align-self: center;
  color: var(--gold);
  font-weight: 700;
  flex-shrink: 0;
}
@media (max-width: 860px) {
  .howto { flex-direction: column; gap: 0.75rem; padding: 1rem 1.1rem; }
  .howto__sep { display: none; }
}

/* ---------- Lab cards (the front door) ---------- */
.labs { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.3rem; }
.lab-card {
  --acc-a: var(--navy);
  --acc-b: var(--blue);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  padding: 1.7rem 1.6rem 1rem;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #fff;
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}
.lab-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 4px;
  background: linear-gradient(90deg, var(--acc-a), var(--acc-b));
}
.lab-card::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(130% 90% at 100% 0%, color-mix(in srgb, var(--acc-b) 9%, transparent), transparent 55%);
}
.lab-card:hover {
  transform: translateY(-4px);
  border-color: color-mix(in srgb, var(--acc-b) 45%, var(--line));
  box-shadow: 0 24px 54px -30px color-mix(in srgb, var(--acc-a) 55%, rgba(23, 32, 51, 0.4));
}
.lab-card > * { position: relative; z-index: 1; }

.accent-ai   { --acc-a: #46609c; --acc-b: #7d94c8; }   /* slate indigo */
.accent-med  { --acc-a: #3f7568; --acc-b: #74a493; }   /* muted teal */
.accent-neuro{ --acc-a: #715a90; --acc-b: #a189bd; }   /* dusty plum */
.accent-phys { --acc-a: #38678f; --acc-b: #6f9cbd; }   /* steel blue */
.accent-clim { --acc-a: #5f7a48; --acc-b: #8fa873; }   /* moss */
.accent-law  { --acc-a: #a87a3a; --acc-b: #cfa468; }   /* gold */
.accent-pharm{ --acc-a: #96525f; --acc-b: #c2848f; }   /* dusty rose */
.accent-bioe { --acc-a: #46707f; --acc-b: #7fa3b0; }   /* slate cyan */
.accent-canc { --acc-a: #8a4f74; --acc-b: #b385a4; }   /* muted wine */

.lab-card__top { display: flex; align-items: center; gap: 0.9rem; margin-bottom: 0.7rem; }
.lab-card__icon {
  display: grid; place-items: center;
  width: 48px; height: 48px; flex-shrink: 0;
  border-radius: 12px;
  color: #fff;
  background: linear-gradient(135deg, var(--acc-a), var(--acc-b));
  box-shadow: 0 10px 24px -12px color-mix(in srgb, var(--acc-a) 70%, transparent);
}
.lab-card__icon svg { width: 25px; height: 25px; }
.lab-card__name { font-size: clamp(1.25rem, 2vw, 1.5rem); line-height: 1.15; }
.lab-card__count {
  display: inline-block;
  margin-top: 0.25rem;
  color: color-mix(in srgb, var(--acc-a) 80%, var(--ink));
  font-size: 0.7rem; font-weight: 700;
  letter-spacing: 0.1em; text-transform: uppercase;
}
.lab-card__tag { color: var(--body); font-size: 0.9rem; line-height: 1.6; }

.face-stack { display: flex; align-items: center; }
.face-stack img {
  width: 46px; height: 46px;
  border-radius: 50%;
  object-fit: cover;
  border: 2.5px solid #fff;
  outline: 2px solid color-mix(in srgb, var(--acc-b) 55%, var(--line));
  box-shadow: var(--shadow-sm);
}
.face-stack img + img { margin-left: -12px; }

.lab-card__mentors {
  display: flex; flex-wrap: wrap;
  gap: 1.1rem 1.4rem;
  margin-top: 1.1rem;
  padding-top: 1.25rem;
  border-top: 1px dashed var(--line);
}
.lab-card__mentor {
  flex: 1 1 92px;
  display: flex; flex-direction: column; align-items: center;
  text-align: center; gap: 0.5rem;
}
.lab-card__pfp {
  width: 84px; height: 84px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid #fff;
  outline: 2px solid color-mix(in srgb, var(--acc-b) 55%, var(--line));
  box-shadow: var(--shadow-sm);
}
.lab-card__mname { color: var(--ink); font-size: 0.9rem; font-weight: 600; line-height: 1.2; }
.lab-card__muni { color: var(--muted); font-size: 0.76rem; font-weight: 600; letter-spacing: 0.02em; }
.lab-card__cta {
  margin-top: 0.95rem;
  color: color-mix(in srgb, var(--acc-a) 85%, var(--ink));
  font-size: 0.9rem; font-weight: 700;
}
.lab-card__cta::after { content: " →"; }
.lab-card:hover .lab-card__cta { text-decoration: underline; }

@media (max-width: 860px) { .labs { grid-template-columns: 1fr; } }

/* ---------- Lab (group) page ---------- */
.lab-hero {
  --acc-a: var(--navy); --acc-b: var(--blue);
  position: relative;
  overflow: hidden;
  padding: calc(62px + 2.6rem) 0 2.3rem;
  border-bottom: 1px solid var(--line);
  background:
    radial-gradient(80% 100% at 95% 0%, color-mix(in srgb, var(--acc-b) 10%, transparent), transparent 58%),
    linear-gradient(180deg, #fff 0%, #f7f9fc 100%);
}
.lab-hero::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 4px;
  background: linear-gradient(90deg, var(--acc-a), var(--acc-b));
}
.lab-hero__top { display: flex; align-items: center; gap: 1.1rem; margin-bottom: 0.8rem; }
.lab-hero__icon {
  display: grid; place-items: center;
  width: 58px; height: 58px; flex-shrink: 0;
  border-radius: 14px;
  color: #fff;
  background: linear-gradient(135deg, var(--acc-a), var(--acc-b));
  box-shadow: 0 12px 28px -14px color-mix(in srgb, var(--acc-a) 70%, transparent);
}
.lab-hero__icon svg { width: 30px; height: 30px; }
.lab-hero h1 { font-size: clamp(1.8rem, 4vw, 2.6rem); }
.lab-hero__tag { max-width: 62ch; color: var(--body); font-size: 0.97rem; }
.lab-hero__faces { display: flex; align-items: center; gap: 0.9rem; margin-top: 1.2rem; }
.lab-hero__faces .face-stack img { width: 54px; height: 54px; }
.lab-hero__who { color: var(--ink); font-size: 0.9rem; font-weight: 600; line-height: 1.35; }
.lab-hero__who small { display: block; color: var(--muted); font-size: 0.78rem; font-weight: 500; }

.inst-cards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.1rem; }
.inst-card {
  --acc-a: var(--navy); --acc-b: var(--blue);
  position: relative;
  overflow: hidden;
  display: flex; flex-direction: column; align-items: flex-start;
  padding: 1.45rem 1.4rem 1.2rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow-sm);
  transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}
.inst-card:hover { transform: translateY(-3px); border-color: var(--line-strong); box-shadow: var(--shadow); }
.inst-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 3px;
  background: linear-gradient(90deg, var(--acc-a), var(--acc-b));
}
.inst-card__top { display: flex; align-items: center; gap: 0.9rem; margin-bottom: 0.75rem; }
.inst-card__avatar {
  width: 62px; height: 62px; flex-shrink: 0;
  border-radius: 50%;
  object-fit: cover;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
}
.inst-card__uni {
  display: inline-flex;
  margin-bottom: 0.25rem;
  padding: 0.16rem 0.55rem; border-radius: 999px;
  background: #f4ece0; color: var(--gold);
  font-size: 0.64rem; font-weight: 700;
  letter-spacing: 0.08em; text-transform: uppercase;
}
.inst-card__name { font-size: 1.1rem; }
.inst-card__role { color: var(--navy); font-size: 0.78rem; font-weight: 600; margin-bottom: 0.5rem; }
.inst-card__blurb { color: var(--body); font-size: 0.85rem; line-height: 1.55; margin-bottom: 0.85rem; }
.inst-card__more { margin-top: auto; color: var(--navy); font-size: 0.85rem; font-weight: 700; }
.inst-card__more::after { content: " →"; color: var(--gold); }
.inst-card:hover .inst-card__more { text-decoration: underline; }
@media (max-width: 720px) { .inst-cards { grid-template-columns: 1fr; } }

.md-project__by, .md-past-by { color: var(--muted); font-weight: 500; text-transform: none; letter-spacing: 0; }

/* compact program strip (lab + mentor pages) */
.strip { margin-top: 2.4rem; padding: 1.6rem 1.5rem; border: 1px solid var(--line); border-radius: 14px; background: var(--wash); }
.strip .program-grid { gap: 1.3rem; }
.strip .price-card { padding: 1.4rem 1.3rem; box-shadow: var(--shadow-sm); }
.strip .program-list { gap: 0.55rem; }
.strip .program-list li { font-size: 0.88rem; }

/* ---------- Mentor directory ---------- */
.mentors { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.1rem; }
.mentor {
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 1.4rem 1.4rem 1.25rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow-sm);
  cursor: pointer;
  text-align: left;
  transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}
.mentor:hover { transform: translateY(-3px); border-color: var(--line-strong); box-shadow: var(--shadow); }
.mentor::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 3px;
  background: var(--navy);
}
.mentor__top { display: flex; align-items: center; gap: 0.9rem; margin-bottom: 0.8rem; }
.mentor__avatar {
  width: 58px; height: 58px;
  border-radius: 50%;
  object-fit: cover;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  flex-shrink: 0;
}
.mentor__uni {
  display: inline-flex; align-items: center;
  margin-bottom: 0.3rem;
  padding: 0.16rem 0.55rem; border-radius: 999px;
  background: #f4ece0; color: var(--gold);
  font-size: 0.64rem; font-weight: 700;
  letter-spacing: 0.08em; text-transform: uppercase;
}
.mentor__name { font-size: 1.12rem; }
.mentor__phd { color: var(--navy); font-size: 0.78rem; font-weight: 600; margin-bottom: 0.55rem; }
.mentor__detail { color: var(--body); font-size: 0.85rem; line-height: 1.55; margin-bottom: 0.8rem; }
.mentor__more { margin-top: auto; color: var(--navy); font-size: 0.84rem; font-weight: 700; }
.mentor__more::after { content: " →"; color: var(--gold); }
.mentor:hover .mentor__more { text-decoration: underline; }
.mentors__note { margin-top: 1.4rem; color: var(--muted); font-size: 0.84rem; }

@media (max-width: 920px) { .mentors { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .mentors { grid-template-columns: 1fr; } }

/* ---------- Program & pricing (condensed) ---------- */
.program-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(280px, 0.85fr);
  gap: 1.6rem;
  align-items: start;
}
.program-list { list-style: none; display: grid; gap: 0.75rem; }
.program-list li {
  position: relative;
  padding-left: 1.5rem;
  color: var(--ink);
  font-size: 0.93rem;
  line-height: 1.6;
}
.program-list li::before {
  content: "";
  position: absolute; left: 2px; top: 0.52em;
  width: 7px; height: 7px; border-radius: 2px;
  background: var(--gold);
}
.program-list b { color: var(--navy); }

.price-card {
  position: relative;
  overflow: hidden;
  padding: 1.8rem 1.7rem;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
  box-shadow: var(--shadow);
  text-align: center;
}
.price-card::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 3px; background: var(--navy); }
.price-card__amount {
  font-family: var(--display);
  font-size: clamp(2.4rem, 5vw, 3rem);
  font-weight: 600;
  color: var(--navy);
  line-height: 1;
}
.price-card__amount small { font-size: 0.36em; font-weight: 600; color: var(--muted); }
.price-card__cta-h { font-family: var(--display); font-size: 1.4rem; font-weight: 600; color: var(--navy); line-height: 1.2; }
.price-card__per { margin: 0.4rem 0 1.2rem; color: var(--muted); font-size: 0.86rem; font-weight: 500; }
.price-card .btn { width: 100%; }
.price-card__note { margin-top: 0.85rem; color: var(--muted); font-size: 0.8rem; line-height: 1.55; }

@media (max-width: 860px) {
  .program-grid { grid-template-columns: 1fr; }
}

/* ---------- Webinars (compact) ---------- */
.webinars { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.1rem; }
.webinar {
  display: flex; flex-direction: column; gap: 0.85rem;
  padding: 1.2rem;
  border: 1px solid var(--line); border-radius: var(--radius);
  background: #fff; box-shadow: var(--shadow-sm);
}
.webinar__head { display: flex; align-items: center; gap: 0.75rem; }
.webinar__head .face-stack img { width: 40px; height: 40px; border-width: 2px; }
.webinar__avatar {
  width: 42px; height: 42px; border-radius: 50%;
  object-fit: cover; border: 1px solid var(--line);
  flex-shrink: 0;
}
.webinar__name { font-family: var(--display); font-weight: 600; font-size: 0.98rem; color: var(--ink); line-height: 1.2; }
.webinar__lab { color: var(--muted); font-size: 0.76rem; }
.webinar__slot {
  margin-top: auto;
  padding: 0.8rem 0.7rem;
  border: 1.5px dashed rgba(66, 111, 155, 0.4);
  border-radius: var(--radius);
  background: var(--wash);
  text-align: center;
  color: var(--blue);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}
.webinar__frame { position: relative; width: 100%; aspect-ratio: 16/9; border-radius: var(--radius); overflow: hidden; margin-top: auto; }
.webinar__frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.webinar__frame video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; background: #000; border: 0; }
.webinar__watch { width: 100%; margin-top: auto; }
@media (max-width: 920px) { .webinars { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .webinars { grid-template-columns: 1fr; } }

/* ---------- Lab page ---------- */
.lab-head {
  padding: calc(62px + 2.4rem) 0 2.2rem;
  border-bottom: 1px solid var(--line);
  background:
    radial-gradient(60% 90% at 90% 0%, rgba(66, 111, 155, 0.1), transparent 60%),
    linear-gradient(180deg, #fff 0%, #f7f9fc 100%);
}
.lab-head__grid {
  display: flex;
  align-items: center;
  gap: 1.8rem;
}
.lab-head__avatar {
  width: 116px; height: 116px;
  border-radius: 50%;
  object-fit: cover;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  flex-shrink: 0;
}
.lab-head h1 {
  font-size: clamp(1.7rem, 3.6vw, 2.4rem);
  margin: 0.35rem 0 0.3rem;
}
.lab-head__uni {
  display: inline-flex; align-items: center;
  padding: 0.2rem 0.6rem; border-radius: 999px;
  background: #f4ece0; color: var(--gold);
  font-size: 0.66rem; font-weight: 700;
  letter-spacing: 0.08em; text-transform: uppercase;
}
.lab-head__role { color: var(--navy); font-size: 0.88rem; font-weight: 600; }
.lab-head__blurb {
  max-width: 60ch;
  margin-top: 0.6rem;
  color: var(--body);
  font-size: 0.94rem;
}
@media (max-width: 640px) {
  .lab-head__grid { flex-direction: column; align-items: flex-start; gap: 1rem; }
  .lab-head__avatar { width: 92px; height: 92px; }
}

.lab-main { padding: calc(62px + clamp(1.6rem, 3vw, 2.4rem)) 0 clamp(2.4rem, 5vw, 3.6rem); }
.lab-main .container { max-width: 860px; }

/* Slim page lede (replaces the old fat hero on lab + mentor pages) */
.lab-lede { margin-bottom: 2.2rem; }
.lab-lede .eyebrow { margin-bottom: 0.55rem; }
.lab-lede .eyebrow a { color: inherit; text-decoration: underline; }
.lab-lede__title {
  font-size: clamp(1.7rem, 3.6vw, 2.45rem); line-height: 1.12;
  background: linear-gradient(90deg, var(--acc-a, var(--navy)), color-mix(in srgb, var(--acc-b, var(--blue)) 85%, var(--ink)));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.lab-lede__role { margin-top: 0.55rem; color: var(--muted); font-size: 0.92rem; font-weight: 600; }

/* How It Works — numbered steps */
.how-steps { list-style: none; counter-reset: hw; display: grid; gap: 0.85rem; margin-top: 1.15rem; }
.how-steps li {
  position: relative; counter-increment: hw;
  padding-left: 2.7rem; min-height: 1.9rem;
  color: var(--body); font-size: 0.94rem; line-height: 1.7;
}
.how-steps li::before {
  content: counter(hw);
  position: absolute; left: 0; top: 0;
  width: 1.85rem; height: 1.85rem; display: grid; place-items: center;
  border-radius: 50%; background: var(--navy); color: #fff;
  font-size: 0.82rem; font-weight: 700;
}
.how-steps b { color: var(--ink); font-weight: 700; }
.program-list--full { grid-template-columns: 1fr; }

/* How to Get Started — vertical enrollment timeline (mobile-first) */
.timeline { list-style: none; display: grid; margin-top: 1.25rem; }
.timeline__step {
  position: relative;
  display: grid; grid-template-columns: 2rem 1fr; gap: 0.9rem;
  padding-bottom: 1.6rem;
}
.timeline__step:last-child { padding-bottom: 0; }
.timeline__step:not(:last-child)::before {
  content: "";
  position: absolute; left: 1rem; top: 2.15rem; bottom: -0.1rem;
  width: 2px; transform: translateX(-50%);
  background: color-mix(in srgb, var(--acc-b, var(--blue)) 45%, var(--line));
}
.timeline__num {
  position: relative; z-index: 1;
  width: 2rem; height: 2rem; display: grid; place-items: center;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--acc-a, var(--navy)), var(--acc-b, var(--blue)));
  color: #fff; font-size: 0.85rem; font-weight: 700;
  box-shadow: 0 6px 16px -9px color-mix(in srgb, var(--acc-a, var(--navy)) 75%, transparent);
}
.timeline__body { padding-top: 0.12rem; min-width: 0; }
.timeline__title { font-size: 1rem; line-height: 1.3; color: var(--ink); margin-bottom: 0.2rem; }
.timeline__desc { color: var(--body); font-size: 0.9rem; line-height: 1.6; }

.md-sec { margin-top: 2rem; }
.md-sec:first-child { margin-top: 0; }

/* Primary CTA callout — the main action on the page, so give it a bordered card */
#get-started {
  position: relative;
  overflow: hidden;
  margin-top: 2.4rem;
  padding: 1.65rem 1.8rem 1.75rem;
  background: var(--warm);
  border: 1px solid var(--line-strong);
  border-radius: 16px;
  box-shadow: var(--shadow-sm);
}
#get-started::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 4px;
  background: linear-gradient(180deg, var(--navy), var(--blue));
}
#get-started .md-sec-title { color: var(--gold); }
#get-started.md-sec:first-child { margin-top: 0; }
@media (max-width: 560px) {
  #get-started { padding: 1.35rem 1.25rem 1.45rem; }
}
.md-sec-title {
  margin-bottom: 0.8rem;
  color: var(--gold);
  font-size: 0.7rem; font-weight: 700;
  letter-spacing: 0.15em; text-transform: uppercase;
}
.md-bio { color: var(--body); font-size: 0.94rem; line-height: 1.72; }
.md-list { list-style: none; display: grid; gap: 0.55rem; }
.md-list li {
  position: relative;
  padding-left: 1.4rem;
  color: var(--ink);
  font-size: 0.9rem;
  line-height: 1.58;
}
.md-list li::before {
  content: "";
  position: absolute; left: 2px; top: 0.5em;
  width: 7px; height: 7px; border-radius: 2px;
  background: var(--gold);
}

.md-projects { display: grid; grid-template-columns: 1fr 1fr; gap: 0.8rem; }
.md-project {
  padding: 1.05rem 1.1rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--wash);
}
.md-project h5 { font-family: var(--sans); font-size: 0.92rem; font-weight: 700; color: var(--ink); margin-bottom: 0.32rem; }
.md-project p { font-size: 0.84rem; color: var(--body); line-height: 1.58; }
@media (max-width: 640px) { .md-projects { grid-template-columns: 1fr; } }

.md-past {
  padding: 1.15rem 1.25rem;
  border: 1px solid #e7dcc9;
  border-radius: var(--radius);
  background: var(--warm);
}
.md-past + .md-past { margin-top: 0.8rem; }
.md-past-student {
  margin-bottom: 0.32rem;
  color: var(--gold);
  font-size: 0.66rem; font-weight: 700;
  letter-spacing: 0.1em; text-transform: uppercase;
}
.md-past h5 { font-family: var(--display); font-size: 1.02rem; font-weight: 600; color: var(--ink); margin-bottom: 0.38rem; }
.md-past p { font-size: 0.87rem; color: var(--body); line-height: 1.64; }
.md-past-note { margin-top: 0.85rem; color: var(--muted); font-size: 0.82rem; }

/* Research-paper "abstract" card */
.paper-card {
  position: relative;
  overflow: hidden;
  margin-top: 1rem;
  padding: 1.7rem 1.8rem 1.8rem;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #fff;
  box-shadow: var(--shadow-sm);
}
.paper-card::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 4px;
  background: linear-gradient(180deg, var(--navy), var(--blue));
}
.paper-card__num {
  font-family: ui-monospace, "SF Mono", Menlo, monospace;
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 0.55rem;
}
.paper-card__title {
  font-family: var(--display);
  font-size: clamp(1.2rem, 2.3vw, 1.55rem);
  font-weight: 700;
  line-height: 1.26;
  color: var(--ink);
  margin-bottom: 1rem;
}
.paper-card__abstract { color: var(--body); font-size: 0.95rem; line-height: 1.75; }
.paper-card__label {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--blue);
  margin-right: 0.5rem;
}
.paper-card__meta {
  margin-top: 1.45rem;
  padding-top: 1.15rem;
  border-top: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
}
.paper-card__meta-row {
  display: flex;
  gap: 0.9rem;
  align-items: baseline;
}
.paper-card__meta-key {
  flex: none;
  width: 76px;
  font-family: ui-monospace, "SF Mono", Menlo, monospace;
  font-size: 0.63rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  padding-top: 0.16rem;
}
.paper-card__meta-val {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}
.paper-card__pill {
  display: inline-block;
  font-family: ui-monospace, "SF Mono", Menlo, monospace;
  font-size: 0.72rem;
  line-height: 1.55;
  color: var(--ink);
  background: var(--wash);
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 0.12rem 0.52rem;
}
@media (max-width: 560px) {
  .paper-card__meta-row { flex-direction: column; gap: 0.35rem; }
  .paper-card__meta-key { padding-top: 0; }
}

.md-webinar {
  padding: 1.3rem;
  border: 1.5px dashed rgba(66, 111, 155, 0.4);
  border-radius: var(--radius);
  background: var(--wash);
  text-align: center;
  color: var(--body);
  font-size: 0.9rem;
}
.md-webinar b { color: var(--ink); font-family: var(--display); font-weight: 600; }
.md-webinar-frame { position: relative; width: 100%; aspect-ratio: 16/9; border-radius: var(--radius); overflow: hidden; }
.md-webinar-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.md-webinar-video { width: 100%; border-radius: var(--radius); overflow: hidden; background: #000; box-shadow: var(--shadow-sm); }
.md-webinar-video video { display: block; width: 100%; height: auto; }

/* ---------- CTA band ---------- */
.apply {
  position: relative;
  overflow: hidden;
  padding: clamp(3rem, 6vw, 4.5rem) 0;
  text-align: center;
  color: #fff;
  background:
    radial-gradient(58% 92% at 82% 0%, rgba(180, 122, 53, 0.24), transparent 62%),
    linear-gradient(145deg, var(--navy) 0%, var(--navy-2) 100%);
}
.apply::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.055) 1px, transparent 1px);
  background-size: 34px 34px;
  mask-image: radial-gradient(circle at 50% 35%, #000, transparent 72%);
  -webkit-mask-image: radial-gradient(circle at 50% 35%, #000, transparent 72%);
}
.apply__inner { position: relative; max-width: 640px; margin-inline: auto; }
.apply h2 { margin: 0.4rem 0 0.8rem; color: #fff; font-size: clamp(1.6rem, 3.5vw, 2.3rem); }
.apply p { margin-bottom: 1.6rem; color: rgba(255, 255, 255, 0.82); font-size: 0.95rem; }
.apply__alt { margin-top: 1.1rem; margin-bottom: 0; color: rgba(255, 255, 255, 0.66); font-size: 0.86rem; }
.apply__alt a { color: #dfb36d; font-weight: 600; }

/* ---------- Footer (slim) ---------- */
.footer {
  padding: 1.6rem 0;
  background: #0d2137;
  color: rgba(255, 255, 255, 0.6);
}
.footer__inner {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
  gap: 0.6rem;
  font-size: 0.8rem;
}
.footer__brand { display: inline-flex; align-items: center; gap: 0.45rem; color: #fff; font-weight: 700; font-size: 0.9rem; }
.footer__brand .nav__mark { color: rgba(255, 255, 255, 0.85); }
.footer a:hover { color: #fff; }

/* ---------- Sticky mobile CTA ---------- */
.sticky-cta {
  position: fixed;
  inset: auto 0 0 0;
  z-index: 90;
  display: none;
  padding: 0.7rem 4vw calc(0.7rem + env(safe-area-inset-bottom));
  background: rgba(255, 255, 255, 0.94);
  border-top: 1px solid var(--line);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}
.sticky-cta .btn { width: 100%; }
@media (max-width: 700px) {
  .sticky-cta { display: block; }
  body { padding-bottom: 76px; }
  body.modal-open .sticky-cta { display: none; }
  .nav__inner > .btn { display: none; }
}

/* ---------- Booking prompt (soft webinar gate) ---------- */
.prompt-backdrop {
  position: fixed; inset: 0; z-index: 300;
  background: rgba(15, 41, 69, 0.6);
  backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px);
  display: none; align-items: center; justify-content: center; padding: 20px;
}
.prompt-backdrop.open { display: flex; }
.prompt-panel {
  position: relative;
  overflow: hidden;
  width: 100%; max-width: 440px;
  padding: 2.2rem 1.9rem 1.7rem;
  border-radius: 14px;
  background: #fff;
  box-shadow: var(--shadow);
  text-align: center;
  animation: modalIn 0.25s ease;
}
.prompt-panel::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 3px; background: var(--navy); }
@keyframes modalIn {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: none; }
}
.prompt-icon {
  display: grid; place-items: center;
  width: 54px; height: 54px;
  margin: 0 auto 1rem;
  border: 1px solid #e4d5c0; border-radius: 50%;
  background: #fffaf2; color: var(--gold);
}
.prompt-icon svg { width: 25px; height: 25px; }
.prompt-panel h3 { font-size: 1.32rem; margin-bottom: 0.55rem; }
.prompt-panel > p { color: var(--body); font-size: 0.9rem; line-height: 1.6; margin-bottom: 1.1rem; }
.prompt-panel .plan-msg-label { color: var(--muted); font-size: 0.78rem; font-weight: 600; margin: 0 0 0.45rem; text-align: left; }
.plan-msg {
  margin: 0 0 1.1rem;
  padding: 0.8rem 0.95rem;
  border-radius: 12px;
  background: var(--wash);
  border: 1px solid var(--line);
  color: var(--ink);
  font-size: 0.88rem;
  line-height: 1.55;
  text-align: left;
}
.prompt-btns { display: flex; flex-direction: column; gap: 0.6rem; }
.prompt-btns .btn { width: 100%; }
.prompt-skip {
  margin-top: 0.9rem;
  color: var(--muted);
  font-size: 0.8rem;
  text-decoration: underline;
  cursor: pointer;
}
.prompt-skip:hover { color: var(--ink); }
.prompt-fallback {
  display: none;
  margin-top: 1.1rem;
  padding: 0.95rem 1.05rem;
  border: 1px solid #e7dcc9;
  border-radius: var(--radius);
  background: var(--warm);
  color: var(--ink);
  font-size: 0.86rem;
  line-height: 1.6;
}
.prompt-fallback.show { display: block; }
.prompt-fallback a { color: var(--navy); font-weight: 700; }

/* ---------- Motion ---------- */
.reveal { opacity: 0; transform: translateY(14px); transition: opacity 0.55s ease, transform 0.55s ease; }
.reveal.is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .btn:hover, .mentor:hover { transform: none; }
}
