/* ==========================================================================
   Implementation Science in Mental Health — shared stylesheet (design v2)
   ========================================================================== */

:root {
  /* Palette */
  --cream: #f4ebe0;          /* hero & footer background */
  --cream-card: #f6eee4;     /* cards on white sections */
  --cream-card-alt: #f3e8db; /* cards on purple sections */
  --white: #ffffff;
  --wine: #7a2d54;           /* primary purple/magenta band & buttons */
  --wine-dark: #6a2147;      /* serif display page titles */
  --wine-mid: #8a3a63;       /* card sub-headings */
  --ink: #1c1c1c;            /* body text + section headings */
  --ink-soft: #2c2c2c;
  --line: #d9c9bb;           /* hairline dividers on cream */
  --line-soft: rgba(122, 45, 84, 0.25);
  --card-border: rgba(122, 45, 84, 0.45);

  /* Type — per IS style guide */
  --serif: "Source Serif 4", Georgia, "Times New Roman", serif;  /* IS Body / H1 / H2 */
  --sans: "Public Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; /* IS H3 / Callout / UI / Label */

  /* Layout */
  --maxw: 1440px;   /* inner container matched to the wide container for consistency */
  --gutter: 40px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--serif);   /* IS Body — Source Serif 4 400, 20px / 135% */
  color: var(--ink);
  background: var(--white);
  font-size: 20px;
  line-height: 1.35;
  letter-spacing: 0;
  -webkit-font-smoothing: antialiased;
  font-optical-sizing: none;   /* designer preference — disable opsz axis */
}

/* ============ IS style-guide text tokens (exact px, responsive via clamp) ===== */
.is-h1 { font-family: var(--serif); font-weight: 400; font-size: clamp(44px, 7.5vw, 96px); line-height: 1.0; letter-spacing: -0.035em; }
.is-h2 { font-family: var(--serif); font-weight: 400; font-size: clamp(32px, 4.2vw, 48px); line-height: 1.05; letter-spacing: -0.02em; }
.is-h3 { font-family: var(--sans);  font-weight: 600; font-size: clamp(24px, 2.8vw, 32px); line-height: 1.0;  letter-spacing: -0.02em; }
.is-callout { font-family: var(--sans); font-weight: 300; font-size: clamp(22px, 2.6vw, 32px); line-height: 1.2; letter-spacing: -0.02em; }
.is-body { font-family: var(--serif); font-weight: 400; font-size: 20px; line-height: 1.35; }
.is-ui   { font-family: var(--sans); font-weight: 400; font-size: 20px; line-height: 1.05; }
.is-ui-bold { font-family: var(--sans); font-weight: 600; font-size: 20px; line-height: 1.05; }
.is-label { font-family: var(--sans); font-weight: 600; font-size: 16px; line-height: 1.2; letter-spacing: 0.04em; text-transform: uppercase; }

img { max-width: 100%; display: block; }

a { color: inherit; text-decoration: none; }

.container {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.wide { max-width: 1440px; }

/* -------------------------------------------------- Announcement bar (home only, below header) */
.announce {
  background: var(--wine);
  color: #fff;
  text-align: center;
  font-family: var(--serif);                /* IS Body Copy */
  font-weight: 400;
  font-size: 20px;
  line-height: 1.35;
  letter-spacing: 0;
  padding: 16px 20px;
}
.announce a { color: #fff; text-decoration: underline; }

/* -------------------------------------------------- Header / nav */
.site-header {
  background: #fff;
  position: sticky;
  top: 0;
  z-index: 50;
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 16px var(--gutter);
  max-width: 1440px;
  margin: 0 auto;
}
.brand { display: flex; align-items: center; }
.brand-logo { height: 44px; width: auto; display: block; }

.main-nav {
  display: flex;
  align-items: center;
  gap: 26px;
  font-family: var(--sans);     /* IS UI Text — Public Sans 400, 20px */
  font-weight: 400;
  font-size: clamp(16px, 1.3vw, 20px);
  line-height: 1.05;
  flex: 1;
  justify-content: center;
}
.main-nav > a, .nav-dd-toggle { color: var(--ink); padding: 4px 0; border-bottom: 2px solid transparent; }
.main-nav a:hover { color: var(--wine); }
.main-nav a.active { color: var(--wine); border-bottom-color: var(--wine); }

/* Dropdown */
.nav-dd { position: relative; }
.nav-dd-toggle { display: inline-flex; align-items: center; gap: 6px; cursor: pointer; }
.nav-dd-toggle .caret { font-size: 1.15em; line-height: 1; transition: transform .2s; }
.nav-dd:hover .nav-dd-toggle .caret, .nav-dd.open .nav-dd-toggle .caret { transform: rotate(180deg); }
.nav-dd-menu {
  position: absolute; top: 100%; left: 50%; transform: translateX(-50%) translateY(6px);
  background: #fff; border: 1px solid var(--line); border-radius: 6px;
  padding: 8px 0; min-width: 246px; box-shadow: 0 10px 28px rgba(0,0,0,.12);
  opacity: 0; visibility: hidden; transition: opacity .15s, transform .15s; z-index: 60;
}
.nav-dd:hover .nav-dd-menu, .nav-dd.open .nav-dd-menu { opacity: 1; visibility: visible; transform: translateX(-50%) translateY(2px); }
.nav-dd-menu a {
  display: block; white-space: nowrap; padding: 9px 22px; border: none;
  font-size: clamp(15px, 1.1vw, 17px); color: var(--ink);
}
.nav-dd-menu a:hover { background: var(--cream); color: var(--wine); }

.partner-logos { display: flex; align-items: center; gap: 14px; }
.partner-logos .plogo {
  height: 38px;
  width: auto;
  object-fit: contain;
  display: block;
}
.partner-logos .plogo-sep {
  width: 1px;
  align-self: stretch;
  background: #555;
}
.partner-logos.footer .plogo-sep { display: none; }

.nav-toggle { display: none; }
.nav-close { display: none; }

/* -------------------------------------------------- Buttons */
.btn {
  display: inline-block;
  font-family: var(--sans);          /* IS UI Text — Public Sans 400, 20px */
  font-weight: 400;
  font-size: clamp(16px, 1.3vw, 20px);
  line-height: 1.05;
  padding: 12px 26px;
  border-radius: 3px;
  cursor: pointer;
  border: 1px solid var(--wine);
  transition: background .15s, color .15s;
}
.btn-primary { background: var(--wine); color: #fff; }
.btn-primary:hover { background: var(--wine-dark); }
.btn-outline { background: transparent; color: var(--wine); }
.btn-outline:hover { background: var(--wine); color: #fff; }
.btn-white { background: #fff; color: var(--wine); border-color: #fff; }
.btn-white:hover { background: #f1ddec; }
.btn-ghost { background: transparent; color: #fff; border-color: #fff; }
.btn-ghost:hover { background: rgba(255,255,255,.15); }
.btn-row { display: flex; gap: 14px; flex-wrap: wrap; }

/* -------------------------------------------------- Sections */
section { position: relative; }
.sec { padding: 78px 0; }
.sec-tight { padding: 56px 0; }

.bg-cream { background: var(--cream); }
.bg-white { background: #fff; }
.bg-wine { background: var(--wine); color: #fff; }

/* IS H1 / H2 — Source Serif 4 400, tight tracking */
h1, h2 { font-family: var(--serif); font-weight: 400; margin: 0; }
h1 { color: var(--wine-dark); letter-spacing: -0.035em; line-height: 1.0; }
h2 { letter-spacing: -0.02em; line-height: 1.05; }
/* Section headings — IS H2 (48px) dark ink */
.section-title { font-family: var(--serif); font-size: clamp(32px, 4.2vw, 48px); font-weight: 400; letter-spacing: -0.02em; line-height: 1.05; margin-bottom: 40px; color: var(--ink); }
.bg-wine .section-title, .bg-wine h2 { color: #fff; }
/* IS H3 — Public Sans 600, 32px */
h3, .icard h3 { font-family: var(--sans); font-weight: 600; font-size: clamp(24px, 2.8vw, 32px); letter-spacing: -0.02em; line-height: 1.0; }

/* -------------------------------------------------- About-course hero */
.ac-hero-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 60px; align-items: center; padding: 64px 40px; }
.ac-hero-text h1 { font-size: clamp(44px, 7vw, 64px); line-height: 1.08; letter-spacing: -0.035em; margin-bottom: 24px; }
.ac-hero-text p { max-width: 480px; }
.ac-hero-photo { min-height: 340px; border-radius: 4px; }

/* -------------------------------------------------- Hero (page headers) */
.page-hero { background: var(--cream); text-align: center; padding: 70px 0 64px; }
.page-hero h1 { font-size: clamp(44px, 7.5vw, 96px); line-height: 1.0; font-weight: 400; letter-spacing: -0.035em; color: var(--wine-dark); }
.page-hero .lede {
  max-width: 640px; margin: 26px auto 0; font-size: 19px; color: var(--ink);
}

/* -------------------------------------------------- Home hero carousel */
.hero { background: var(--cream); position: relative; overflow: hidden; display: grid; }
/* all slides share one grid cell: hero height = tallest slide, no jump on change */
.hero-slide { grid-area: 1 / 1; visibility: hidden; min-height: 460px; display: grid; }
.hero-slide.active { visibility: visible; }
.hero-slide > .container.wide { display: grid; align-content: center; width: 100%; }

.hero-slide .container.wide { padding-top: 64px; padding-bottom: 64px; }
.hero-text-only { display: grid; grid-template-columns: 1.05fr 1fr; gap: 60px; align-items: center; }
/* IS H1 — 96px */
.hero-title { font-size: clamp(44px, 7.5vw, 96px); line-height: 1.0; font-weight: 400; letter-spacing: -0.035em; color: var(--wine-dark); }
/* IS Callout — Public Sans Light 300, 32px */
.hero-copy { font-family: var(--sans); font-weight: 300; font-size: clamp(20px, 2.4vw, 32px); line-height: 1.2; letter-spacing: -0.02em; color: var(--ink); border-left: 1px solid #9a8f83; padding-left: 44px; }
.hero-copy p { margin: 0 0 26px; }

/* slides 2 & 3 — photo bleeds to the left viewport edge */
/* photo ~65% of the banner, text panel ~35% */
.hero-media { display: grid; grid-template-columns: 65% 35%; gap: 0; align-items: stretch; min-height: 460px; }
.hero-media > * { min-width: 0; }   /* respect the ratio despite image intrinsic width */
.hero-media .photo { min-height: 460px; }
/* right padding keeps panel text inside the 1440 working area on wide screens */
.hero-media .panel { display: grid; align-items: center; padding: 40px max(48px, calc((100vw - 1440px) / 2 + 40px)) 40px 48px; }
.hero-media h2 { font-size: 28px; line-height: 1.15; margin-bottom: 16px; color: var(--ink); font-weight: 400; }
/* IS Body Copy — Source Serif 4 400, 20px / 135% */
.hero-media p { font-family: var(--serif); font-weight: 400; font-size: 20px; line-height: 1.35; letter-spacing: 0; color: var(--ink-soft); margin: 0; }

.hero-arrow {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 46px; height: 46px;
  border: 1px solid var(--line-soft);
  background: rgba(255,255,255,.45);
  color: var(--wine); font-size: 20px;
  display: grid; place-items: center; cursor: pointer; border-radius: 4px;
  z-index: 5;
}
.hero-arrow:hover { background: #fff; }
.hero-arrow.prev { left: 18px; }
.hero-arrow.next { right: 18px; }
.hero-dots { display: flex; gap: 9px; justify-content: center; padding: 8px 0 30px; }
.hero .hero-dots {
  position: absolute; left: 0; right: 0; bottom: 12px;
  padding: 0; z-index: 6;
  pointer-events: none;            /* let the full-width bar pass taps through to the arrows */
}
.hero .hero-dots button { pointer-events: auto; }
.hero-dots-shell {
  display: inline-flex; gap: 9px; padding: 8px 12px; border: 1px solid var(--line-soft); border-radius: 4px; background: rgba(255,255,255,.5);
}
.hero-dots button {
  width: 9px; height: 9px; border-radius: 50%; border: none;
  background: #cbb9aa; cursor: pointer; padding: 0;
}
.hero-dots button.active { background: var(--wine); }

/* -------------------------------------------------- Photo / placeholders */
.photo {
  background: linear-gradient(135deg, #e7d8c8, #d9c4b4);
  position: relative;
  display: grid; place-items: center;
  color: #8a6f5c; font-family: var(--sans); font-size: 13px; letter-spacing: .4px;
  text-align: center;
  overflow: hidden;
}
.photo span { opacity: .8; padding: 8px 14px; }
.photo img { width: 100%; height: 100%; object-fit: cover; }

/* -------------------------------------------------- Icon card grids */
.card-grid { display: grid; gap: 26px; }
.card-grid.cols-3 { grid-template-columns: repeat(3, 1fr); }

.icard {
  background: var(--cream-card);
  border-radius: 8px;
  padding: 30px 28px;
}
.icard .ic { margin-bottom: 20px; }
.icard .ic img { width: 40px; height: 40px; object-fit: contain; }
/* IS H3 — Public Sans 600, 32px */
.icard h3 {
  font-family: var(--sans);
  color: var(--wine-mid); font-size: clamp(24px, 2.8vw, 32px); margin-bottom: 14px; font-weight: 600; line-height: 1.0; letter-spacing: -0.02em;
}
/* IS Body — Source Serif 4 400, 20px / 135% */
.icard p { margin: 0; font-family: var(--serif); font-size: 20px; line-height: 1.35; color: var(--ink-soft); }

/* Course structure flow — outlined white cards */
.flow { display: grid; grid-template-columns: 1fr auto 1fr auto 1fr; align-items: stretch; gap: 0; }
.flow .arrow { display: grid; place-items: center; color: var(--wine); font-size: 24px; padding: 0 18px; }
.flow .icard { height: 100%; border: 1px solid var(--card-border); background: #fff; border-radius: 8px; }

.center-btn { text-align: center; margin-top: 44px; }

/* -------------------------------------------------- "For you if" columns (3) */
.foryou { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; }
/* IS Body Copy — Source Serif 4 400, 20px / 135% */
.foryou .col { padding: 0 28px; font-family: var(--serif); font-weight: 400; font-size: 20px; line-height: 1.35; letter-spacing: 0; color: #f3e3ee; }
.foryou .col + .col { border-left: 1px solid rgba(255,255,255,.35); }
.foryou .col:first-child { padding-left: 0; }

/* -------------------------------------------------- Audience pills */
.audience { display: grid; grid-template-columns: 1.1fr 1fr; gap: 50px; align-items: start; }
.audience .lead-copy { font-family: var(--serif); }
/* IS Body — Source Serif 4 400, 20px / 135% (kept light for the wine background) */
.audience .lead-copy p { color: #f1e2ec; font-family: var(--serif); font-weight: 400; font-size: 20px; line-height: 1.35; letter-spacing: 0; }
.audience .lead-copy p:first-child { font-size: 20px; }
.pill-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.pill {
  background: var(--cream-card-alt);
  color: var(--wine-dark);
  border-radius: 6px;
  padding: 20px 18px;
  font-family: var(--sans);
  font-weight: 600;
  font-size: 14px;
  line-height: 1.3;
  display: grid; align-items: center; justify-items: center; text-align: center;
  min-height: 78px;
}

/* -------------------------------------------------- Learning outcomes (stacked) */
.outcomes { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.outcome {
  background: var(--cream-card);
  border-radius: 8px;
  padding: 26px 24px;
}
.outcome .num {
  width: 36px; height: 36px; border-radius: 50%;
  border: 1.5px solid var(--wine); color: var(--wine);
  display: grid; place-items: center; font-family: var(--serif); font-size: 18px;
  margin-bottom: 18px;
}
/* IS Body — Source Serif 4 400, 20px / 135% */
.outcome p { margin: 0; font-family: var(--serif); font-weight: 400; font-size: 20px; line-height: 1.35; letter-spacing: 0; color: var(--ink-soft); }

/* -------------------------------------------------- Stat block (rules above & below) */
.stat-block { text-align: center; padding: 0; margin: 40px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
/* per style note: Public Sans, weight 250 */
.stat-block .big { font-family: var(--sans); font-size: clamp(44px, 6vw, 72px); color: var(--wine); font-weight: 250; line-height: 1.1; margin: 0; padding-top: 10px; }
.stat-block .cap { font-family: var(--sans); font-size: 16px; line-height: 1.3; color: var(--wine-mid); margin: 0; padding-bottom: 12px; }

.prose { max-width: 780px; margin: 0 auto; }
/* IS Body — 20px / 135%, paragraph spacing 22px */
.prose p { margin: 0 0 22px; font-family: var(--serif); font-size: 20px; line-height: 1.35; color: var(--ink-soft); }

/* -------------------------------------------------- Modules list */
.modules { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: 50px; align-items: start; }
.modules h1 { font-size: 56px; line-height: 1.1; color: var(--wine-dark); }
.mod-wrap { border-left: 1px solid #9a8f83; padding-left: 40px; }
.mod-wrap h2 { font-size: 30px; color: var(--ink); margin-bottom: 26px; }
.mod-item { margin-bottom: 22px; }
.mod-item .mlabel { font-family: var(--sans); font-weight: 700; font-size: 13px; color: var(--ink); }
/* IS Callout — Public Sans Light 300, 32px / 120% */
.mod-item .mtitle { font-family: var(--sans); font-weight: 300; font-size: clamp(20px, 2.4vw, 32px); line-height: 1.2; letter-spacing: -0.02em; color: var(--ink); margin-top: 4px; }

/* -------------------------------------------------- Tables */
.split { display: grid; grid-template-columns: 0.55fr 1.45fr; gap: 40px; align-items: start; }
.split h2 { font-size: 34px; color: var(--ink); }
.dtable { width: 100%; border-collapse: collapse; font-size: 15.5px; }
.dtable caption { text-align: left; font-family: var(--sans); font-weight: 600; font-size: 20px; margin-bottom: 18px; color: var(--ink); }
.dtable th { text-align: left; font-family: var(--sans); font-size: 14px; font-weight: 700; padding: 10px 12px 12px; border-bottom: 1px solid #555; }
/* All table cells — IS Body Copy (Source Serif 4 400, 20px / 135%) */
.dtable td, .dtable td ul li { padding-top: 0; font-family: var(--serif); font-weight: 400; font-size: 20px; line-height: 1.35; letter-spacing: 0; color: var(--ink-soft); }
.dtable td { padding: 15px 12px; border-bottom: 1px solid #555; vertical-align: top; }
.dtable ul { margin: 0; padding-left: 18px; }
.split-rule { border: none; border-top: 1px solid #999; margin: 54px 0; }

/* -------------------------------------------------- Fee cards */
.fee-head { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: 50px; align-items: start; }
.fee-head h1 { font-size: 58px; line-height: 1.05; }
/* IS Body — Source Serif 4 400, 20px / 135% */
.fee-head .note { font-family: var(--serif); font-weight: 400; font-size: 20px; line-height: 1.35; letter-spacing: 0; color: var(--ink-soft); margin-top: 26px; }
.fee-head .note b { font-family: var(--serif); }
.fee-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; }
.fee-card {
  border: 1px solid var(--card-border);
  border-radius: 12px;
  padding: 26px 28px;
  min-height: 185px;
  display: flex; flex-direction: column; justify-content: space-between;
}
/* IS Label — Public Sans 600, 16px, +0.04em tracking */
.fee-card .label { font-family: var(--sans); font-weight: 600; font-size: 16px; line-height: 1.2; letter-spacing: .04em; color: var(--wine); text-transform: uppercase; }
.fee-card .amt { font-size: 32px; text-align: right; color: var(--ink); line-height: 1.35; }

/* -------------------------------------------------- FAQ accordion */
.faq { max-width: 720px; margin: 0 auto; }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item:last-child { border-bottom: none; }
.faq-q {
  width: 100%; background: none; border: none; cursor: pointer;
  display: flex; justify-content: space-between; align-items: flex-start; gap: 20px;
  padding: 26px 0; text-align: left;
  font-family: var(--sans); font-size: 19px; color: var(--ink);
}
.faq-q .chev {
  flex: 0 0 auto; width: 30px; height: 30px; border: 1px solid var(--line-soft); border-radius: 4px;
  display: grid; place-items: center; color: var(--wine); transition: transform .2s; font-size: 13px;
}
.faq-item.open .faq-q .chev { transform: rotate(180deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .3s ease; }
.faq-item.open .faq-a { max-height: 600px; }
/* IS Body Copy — Source Serif 4 400, 20px / 135% */
.faq-a p { margin: 0 0 26px; font-family: var(--serif); font-weight: 400; font-size: 20px; line-height: 1.35; letter-spacing: 0; color: var(--ink-soft); }
.faq-rule { border: none; border-top: 1px solid #777; margin: 30px 0 0; }
.faq-contact { text-align: center; margin-top: 44px; font-size: 16px; color: var(--ink-soft); }
.faq-contact .email { font-family: var(--sans); font-size: 22px; color: var(--ink); margin-top: 6px; text-decoration: underline; display: inline-block; }

/* -------------------------------------------------- About Us (photo carousel + columns) */
.photo-carousel { position: relative; }
.photo-carousel .hero-slide { min-height: 0; display: none; visibility: visible; }
.photo-carousel .hero-slide.active { display: block; }
.pc-frame { max-width: 1180px; margin: 0 auto; padding: 0 var(--gutter); }
.pc-photo { position: relative; border-radius: 4px; overflow: hidden; }
/* show the full photo at its natural ratio — never crop */
.pc-photo img { width: 100%; height: auto; display: block; }
.pc-badge {
  position: absolute; left: 34px; bottom: 30px;
  background: var(--cream);
  color: var(--wine);
  font-family: var(--sans); font-weight: 600; font-size: 13px; letter-spacing: .04em;
  padding: 14px 26px; border-radius: 14px; text-transform: uppercase;
}

.about-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 0; }
.about-cols .col { padding-right: 56px; }
.about-cols .col + .col { border-left: 1px solid #555; padding-left: 56px; padding-right: 0; }
.about-cols h2 { font-size: 30px; line-height: 1.15; margin-bottom: 22px; color: var(--ink); font-weight: 400; }
/* IS Body Copy — Source Serif 4 400, 20px / 135% */
.about-cols p { font-family: var(--serif); font-weight: 400; font-size: 20px; line-height: 1.35; letter-spacing: 0; color: var(--ink-soft); margin: 0 0 20px; }
.about-cols .col-btn { margin-top: 30px; }

/* -------------------------------------------------- Team grid */
.team-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 26px; }
.team-card { display: block; color: inherit; }
.team-card .pic { background: var(--cream-card); border-radius: 8px; aspect-ratio: 1/1.18; margin-bottom: 16px; overflow: hidden; }
.team-card .pic img { width: 100%; height: 100%; object-fit: cover; object-position: center top; display: block; transition: transform .25s; }
.team-card:hover .pic img { transform: scale(1.03); }
.team-card .tname { font-family: var(--sans); font-size: 18px; font-weight: 600; color: var(--ink); }
.team-card:hover .tname { color: var(--wine); }
.team-card .trole { font-family: var(--sans); font-size: 12px; font-weight: 700; letter-spacing: .5px; color: var(--ink); text-transform: uppercase; margin-top: 4px; }

/* Faculty section */
.team-faculty { margin-top: 64px; border-top: 1px solid var(--line); padding-top: 40px; }
.team-faculty .section-title { margin-bottom: 12px; }
.team-faculty p { color: var(--ink-soft); margin: 0; }

/* -------------------------------------------------- Individual bio / profile page */
.profile { display: grid; grid-template-columns: 0.72fr 1.28fr; gap: 0; align-items: start; max-width: 1120px; margin: 0 auto; }
.profile .p-photo { border-radius: 4px; overflow: hidden; background: var(--cream-card); }
.profile .p-photo img { width: 100%; height: auto; display: block; }
.profile .p-body { border-left: 1px solid #9a8f83; padding-left: 56px; margin-left: 56px; }
.profile .p-name { font-family: var(--sans); font-weight: 700; font-size: clamp(28px, 3.4vw, 40px); color: var(--ink); line-height: 1.05; letter-spacing: -0.02em; margin: 0 0 14px; }
.profile .p-role { font-family: var(--sans); font-weight: 700; font-size: 18px; color: var(--ink); margin: 0 0 28px; }
.profile .p-body p { font-family: var(--serif); font-weight: 400; font-size: 20px; line-height: 1.4; color: var(--ink-soft); margin: 0 0 20px; }
.profile .p-back { margin-top: 34px; }
.profile .p-back a { font-family: var(--sans); font-size: 16px; color: var(--wine); }
.profile .p-back a:hover { text-decoration: underline; }
@media (max-width: 860px) {
  .profile { grid-template-columns: 1fr; gap: 30px; }
  .profile .p-photo { max-width: 340px; }
  .profile .p-body { border-left: none; padding-left: 0; margin-left: 0; }
}

/* -------------------------------------------------- CTA band */
.cta-band { background: var(--wine); color: #fff; text-align: center; padding: 70px 0; }
.cta-band h2 { color: #fff; font-size: clamp(32px, 4.2vw, 48px); line-height: 1.05; letter-spacing: -0.02em; max-width: 640px; margin: 0 auto 28px; font-weight: 400; }
.cta-band .btn-row { justify-content: center; }

/* -------------------------------------------------- Footer */
.site-footer { background: var(--cream); padding: 64px 0 70px; }
.footer-inner { display: grid; grid-template-columns: 1.5fr 0.85fr 0.85fr; gap: 0; }
.footer-about { padding-right: 50px; }
/* IS Body Copy — Source Serif 4 400, 20px / 135% */
.footer-about p.is-body { color: var(--ink); max-width: 520px; margin: 0; }
.partner-logos.footer { gap: 18px; margin-top: 30px; flex-wrap: wrap; }
.partner-logos.footer .plogo { height: 52px; }
.footer-col { border-left: 1px solid #555; padding-left: 34px; }
/* IS H3 — Public Sans 600, 32px */
.footer-col h4 { font-family: var(--sans); font-weight: 600; color: var(--wine); font-size: clamp(24px, 2.8vw, 32px); line-height: 1.0; letter-spacing: -0.02em; margin: 0 0 18px; }
.footer-col ul { list-style: none; margin: 0; padding: 0; }
.footer-col li { margin-bottom: 12px; }
/* IS UI Text Bold — Public Sans 600, 20px */
.footer-col a { font-family: var(--sans); font-weight: 600; font-size: clamp(16px, 1.3vw, 20px); line-height: 1.05; color: var(--ink); }
.footer-col a:hover { color: var(--wine); }

/* -------------------------------------------------- Responsive */
@media (max-width: 980px) {
  .main-nav { display: none; }
  /* full-screen white overlay menu */
  .main-nav.open {
    display: flex;
    position: fixed; inset: 0;
    background: #fff;
    z-index: 100;
    flex-direction: column;
    align-items: stretch;     /* full-width children */
    justify-content: center;
    text-align: center;       /* center all menu text on screen axis */
    gap: 26px;
    padding: 80px 24px;
    overflow-y: auto;
    font-size: 24px;
  }
  body.nav-open { overflow: hidden; }   /* lock background scroll while open */
  .main-nav.open > a, .main-nav.open .nav-dd-toggle { padding: 6px 0; border-bottom: none; }
  .nav-close {
    display: grid; place-items: center;
    position: absolute; top: 22px; right: 24px;
    width: 46px; height: 46px;
    border: 1px solid var(--line-soft); border-radius: 6px;
    background: none; color: var(--wine); font-size: 30px; line-height: 1; cursor: pointer;
  }
  /* dropdown expands inline within the overlay, full width + centered */
  .main-nav.open > a { width: 100%; text-align: center; }
  .nav-dd { position: static; display: flex; flex-direction: column; align-items: stretch; gap: 18px; width: 100%; }
  .nav-dd-toggle { justify-content: center; width: 100%; text-align: center; }
  .nav-dd-menu {
    position: static; transform: none; box-shadow: none; border: none; min-width: 0; width: 100%;
    background: transparent; padding: 0; opacity: 1; visibility: visible;
    display: none; text-align: center;
  }
  .nav-dd.open .nav-dd-menu { display: block; position: static; transform: none; }
  .nav-dd-menu a { display: block; width: 100%; font-size: 18px; padding: 8px 0; color: var(--ink-soft); text-align: center; white-space: normal; }
  .nav-toggle { display: grid; place-items: center; width: 42px; height: 42px; border: 1px solid var(--line-soft); background: none; border-radius: 5px; color: var(--wine); font-size: 20px; cursor: pointer; order: 2; }
  /* mobile header: logo + hamburger on row 1, partner logos on row 2 below the logo */
  .header-inner { flex-wrap: wrap; }
  .brand { order: 1; }
  .site-header .partner-logos { order: 3; width: 100%; justify-content: flex-start; margin-top: 12px; gap: 12px; }
  .site-header .partner-logos .plogo { height: 34px; }
  /* FAQ contact email: smaller on mobile so it doesn't run edge to edge */
  .faq-contact .email { font-size: 16px; word-break: break-word; }
  .card-grid.cols-3 { grid-template-columns: 1fr; }
  .flow { grid-template-columns: 1fr; }
  .flow .arrow { transform: rotate(90deg); padding: 12px 0; }
  .foryou { grid-template-columns: 1fr; gap: 24px; }
  .foryou .col { padding: 0; }
  .foryou .col + .col { border-left: none; }
  .outcomes { grid-template-columns: 1fr 1fr; }
  .team-grid { grid-template-columns: 1fr 1fr; }
  .hero-text-only, .audience, .modules, .split, .fee-head, .about-cols { grid-template-columns: 1fr; gap: 30px; }
  .hero-copy { border-left: none; padding-left: 0; }
  /* About-course hero: stack, centered title */
  .ac-hero-grid { grid-template-columns: 1fr; gap: 28px; padding: 40px var(--gutter); text-align: center; }
  .ac-hero-text h1 { text-align: center; }
  .ac-hero-text p { max-width: none; text-align: left; }
  .ac-hero-photo { min-height: 240px; }
  /* mobile: each slide takes its own height (no shared-cell centering gap) */
  .hero { display: block; }
  .hero-slide { grid-area: auto; visibility: visible; display: none; min-height: 0; }
  .hero-slide.active { display: block; }
  .hero-slide > .container.wide { align-content: start; padding-top: 36px; padding-bottom: 76px; }
  .hero-media { grid-template-columns: 1fr; min-height: 0; }
  .hero-media .panel { padding: 28px 40px 8px; }
  /* carousel arrows move to the bottom, flanking the dots */
  .hero .hero-arrow { top: auto; bottom: 14px; transform: none; width: 38px; height: 38px; font-size: 18px; }
  .hero .hero-arrow.prev { left: 24px; }
  .hero .hero-arrow.next { right: 24px; }
  .hero .hero-dots { bottom: 20px; }
  .mod-wrap { border-left: none; padding-left: 0; }
  .about-cols .col { padding-right: 0; }
  .about-cols .col + .col { border-left: none; padding-left: 0; border-top: 1px solid #777; padding-top: 30px; margin-top: 30px; }
  .fee-grid { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; gap: 36px; }
  .footer-col { border-left: none; padding-left: 0; }
  .hero-title { font-size: 46px; }
  .page-hero h1 { font-size: 42px; }
  .fee-head h1, .modules h1 { font-size: 44px; }
  .pc-badge { left: 16px; bottom: 14px; padding: 10px 16px; }
}

@media (max-width: 560px) {
  .pill-grid, .outcomes, .team-grid { grid-template-columns: 1fr; }
  .hero-title, .page-hero h1 { font-size: 36px; }
  .fee-card .amt { font-size: 26px; }
}
