/* Becoming Institute for Sexual Health: site styles
   Palette from the brief, adjusted where needed for contrast:
   - terracotta #B86B4B is decorative only; text uses --terracotta-text (5.4:1 on cream)
   - all body text pairs meet WCAG AA */

:root {
  --cream: #FAF6F0;
  --cream-2: #F4ECE2;
  --lavender: #EEE7F1;
  --lavender-2: #E3D7E8;
  --plum: #573B60;
  --plum-dark: #432C4A;
  --plum-soft: #8A6F93;
  --terracotta: #B86B4B;
  --terracotta-text: #9A4F31;
  --peach: #F3DDD0;
  --charcoal: #302A2E;
  --muted: #5B5157;
  --line: #DCCFD9;
  --white: #FFFFFF;

  --serif: "Lora", Georgia, "Times New Roman", serif;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --script: "Dancing Script", "Brush Script MT", cursive;

  --radius: 22px;
  --radius-lg: 40px;
  --shadow: 0 18px 40px -24px rgba(67, 44, 74, .35);
  --gutter: clamp(16px, 4vw, 40px);
  --section: clamp(44px, 6vw, 76px);
  --max: 1180px;
  --header-h: 101px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 112px; }
body {
  margin: 0;
  background: var(--cream);
  color: var(--charcoal);
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.65;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
img { height: auto; }

h1, h2, h3, h4, .h4 {
  font-family: var(--serif);
  font-weight: 500;
  line-height: 1.2;
  color: var(--plum-dark);
  margin: 0 0 .6em;
  text-wrap: balance;
}
h1 { font-size: clamp(2.1rem, 1.4rem + 3vw, 3.5rem); letter-spacing: -.01em; }
h2 { font-size: clamp(1.7rem, 1.25rem + 1.8vw, 2.5rem); }
h3 { font-size: clamp(1.2rem, 1.1rem + .4vw, 1.4rem); }
h4, .h4 { font-size: 1.15rem; }
p { margin: 0 0 1em; }
.lead { font-size: clamp(1.1rem, 1rem + .4vw, 1.25rem); color: var(--charcoal); }
.small { font-size: .875rem; color: var(--muted); }
.dim-credit { max-width: 46rem; margin-top: clamp(28px, 4vw, 44px); }
.note { color: var(--muted); font-size: .975rem; }
.center { text-align: center; }

a { color: var(--plum); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--plum-dark); text-decoration-thickness: 2px; }

:focus-visible {
  outline: 3px solid var(--terracotta-text);
  outline-offset: 3px;
  border-radius: 6px;
}

.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; left: 12px; top: -100px; z-index: 100;
  background: var(--plum); color: var(--white); padding: 10px 16px; border-radius: 10px;
}
.skip-link:focus { top: 12px; color: var(--white); }
main:focus { outline: none; }

.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.narrow { max-width: 780px; }

/* ---------- Eyebrows, script accents, status ---------- */
.eyebrow {
  font-family: var(--sans);
  font-size: .8rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase;
  color: var(--terracotta-text); margin: 0 0 .5rem;
}
.eyebrow.script {
  font-family: var(--script); font-weight: 600; text-transform: none; letter-spacing: 0;
  font-size: clamp(1.5rem, 1.3rem + .6vw, 1.85rem); line-height: 1.1;
}
.status {
  display: inline-flex; align-items: center; gap: .55rem;
  font-size: .85rem; font-weight: 600; letter-spacing: .04em;
  color: var(--plum-dark); background: var(--peach);
  padding: .35rem .85rem; border-radius: 999px; margin: 0 0 1rem;
}
.status-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--terracotta-text); }

/* ---------- Buttons and links ---------- */
.actions { display: flex; flex-wrap: wrap; gap: .75rem 1rem; align-items: center; margin: 1.5rem 0 0; }
.actions.center { justify-content: center; }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  min-height: 48px; padding: .8rem 1.6rem; border-radius: 999px;
  font-family: var(--sans); font-weight: 600; font-size: 1rem; line-height: 1.2;
  text-decoration: none; border: 2px solid transparent; cursor: pointer;
  /* Start gradients at the outer edge so they don't repeat under the transparent border. */
  background-origin: border-box;
  transition: background-color .2s ease, color .2s ease, box-shadow .2s ease, transform .2s ease;
}
.btn-primary {
  /* Plum to darkened terracotta: white text stays at or above 4.8:1 across the gradient. */
  background-color: var(--plum);
  background-image: linear-gradient(100deg, var(--plum) 0%, #74425F 55%, #9C5236 100%);
  color: var(--white); box-shadow: var(--shadow);
}
.btn-primary:hover { background-image: linear-gradient(100deg, var(--plum-dark) 0%, #643652 55%, #87452C 100%); color: var(--white); transform: translateY(-1px); }
.btn-ghost { background: rgba(255, 255, 255, .08); color: var(--white); border-color: rgba(255, 255, 255, .85); }
.btn-ghost:hover { background: var(--white); color: var(--plum-dark); }
.btn-secondary { background: transparent; color: var(--plum); border-color: var(--plum); }
.btn-secondary:hover { background: var(--plum); color: var(--white); }
.btn-light { background: var(--cream); color: var(--plum-dark); }
.btn-light:hover { background: var(--white); color: var(--plum-dark); }
.text-link {
  display: inline-flex; align-items: center; gap: .4rem; font-weight: 600;
  color: var(--plum); text-decoration: none; border-bottom: 1px solid currentColor; padding-bottom: 2px;
}
.text-link .icon { width: 18px; height: 18px; transition: transform .2s ease; }
.text-link:hover .icon { transform: translateX(3px); }
.icon { width: 20px; height: 20px; flex: none; }

/* ---------- Announcement + header ---------- */
body::before { content: ""; display: block; height: 4px; background: linear-gradient(90deg, var(--plum) 0%, #8A5A86 50%, var(--terracotta) 100%); }
.announce { background: var(--plum-dark); color: var(--cream); font-size: .9rem; }
.announce-inner { position: relative; padding-top: .55rem; padding-bottom: .55rem; text-align: center; }
.announce-portal { position: absolute; right: var(--gutter); top: 50%; transform: translateY(-50%); margin: 0 !important; font-weight: 500 !important; color: var(--peach) !important; text-decoration: none; }
.announce-portal:hover { text-decoration: underline; }
@media (max-width: 1100px) { .announce-portal { display: none; } }
.announce p { margin: 0; }
.announce a { color: var(--white); font-weight: 600; margin-left: .35rem; }
.announce a:hover { color: var(--peach); }

.site-header {
  position: sticky; top: 0; z-index: 50;
  background: var(--cream);
  border-bottom: 1px solid rgba(220, 207, 217, .7);
}
.site-header .container { max-width: 1380px; }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: var(--header-h); padding-top: 8px; padding-bottom: 8px; }
/* Approved transparent logo exports (brand/bold-package): full color on light
   backgrounds, the official white versions on dark ones.
   .logo-crop shows the artwork plus a small margin; the image file is untouched.
   --H is the height of the full exported canvas. */
.brand { display: inline-flex; align-items: center; text-decoration: none; flex: none; border-radius: 8px; }
.logo-crop { display: block; overflow: hidden; flex: none; width: calc(var(--H) * var(--cw)); height: calc(var(--H) * var(--ch)); }
.logo-crop img { display: block; max-width: none; height: var(--H); width: calc(var(--H) * var(--iw));
  margin: calc(var(--H) * var(--ct) * -1) 0 0 calc(var(--H) * var(--cl) * -1); }
.logo-h { --H: 78px; --iw: 3.606; --cl: .047; --ct: .155; --cw: 3.446; --ch: .807; }
.logo-v { --H: 260px; --iw: 1.5; --cl: .228; --ct: .118; --cw: 1.053; --ch: .748; }
.brand-footer { padding: 4px 0; }
.brand-header .logo-white { display: none; }
.header-brand { display: flex; flex-direction: column; align-items: flex-start; flex: 0 1 auto; min-width: 0; }
.parent-line { margin: 6px 0 0; padding-left: 4px; font-size: .68rem; line-height: 1.3; letter-spacing: .02em; color: var(--muted); }
.parent-line a { color: inherit; font-weight: 600; text-decoration: underline; text-decoration-color: var(--line); text-underline-offset: 3px; }
.parent-line a:hover { color: var(--plum); text-decoration-color: currentColor; }
.js .header-overlay .site-header:not(.is-scrolled):not(.menu-open) .parent-line { color: rgba(255, 255, 255, .88); }
.js .header-overlay .site-header:not(.is-scrolled):not(.menu-open) .parent-line a { text-decoration-color: rgba(255, 255, 255, .5); }

/* Homepage: the header sits over the hero photo (white logo and links) until the page
   scrolls or the mobile menu opens, then becomes solid cream with the full-color logo. */
.header-overlay .site-header { transition: background-color .25s ease, border-color .25s ease; }
.js .header-overlay .site-header:not(.is-scrolled):not(.menu-open) { background: transparent; border-bottom-color: transparent; }
.js .header-overlay .site-header:not(.is-scrolled):not(.menu-open) .brand-header .logo-color { display: none; }
.js .header-overlay .site-header:not(.is-scrolled):not(.menu-open) .brand-header .logo-white { display: block; }
.js .header-overlay .site-header:not(.is-scrolled):not(.menu-open) .menu-toggle { color: var(--white); border-color: rgba(255, 255, 255, .85); }
@media (min-width: 1321px) {
  .js .header-overlay .site-header:not(.is-scrolled):not(.menu-open) .site-nav ul a { color: var(--white); }
  .js .header-overlay .site-header:not(.is-scrolled):not(.menu-open) .site-nav ul a:hover { background: rgba(255, 255, 255, .14); color: var(--white); }
  .js .header-overlay .site-header:not(.is-scrolled):not(.menu-open) .site-nav ul a[aria-current="page"] { box-shadow: inset 0 -2px 0 var(--peach); }
}
.header-overlay .home-hero { margin-top: calc((var(--header-h) + 1px) * -1); padding-top: calc(var(--header-h) + 56px); }
.header-overlay .home-hero.has-photo::after {
  background:
    linear-gradient(180deg, rgba(40, 26, 46, .6) 0%, rgba(40, 26, 46, 0) 24%),
    linear-gradient(180deg, rgba(238, 231, 241, 0) 62%, rgba(238, 231, 241, .85) 90%, var(--lavender) 100%),
    linear-gradient(90deg, rgba(40, 26, 46, .82) 0%, rgba(40, 26, 46, .55) 42%, rgba(40, 26, 46, .08) 72%);
}
.brand-footer .logo-v { --H: 270px; }
.invite-logo { display: flex; justify-content: center; margin-bottom: 1.5rem; }
.invite-logo .logo-v { --H: 330px; }
.about-logo, .contact-logo { margin: 0 0 1.25rem -6px; }
.contact-logo { --H: 220px; }

.site-nav { display: flex; align-items: center; gap: 1.25rem; }
.site-nav ul { list-style: none; display: flex; gap: .25rem; margin: 0; padding: 0; }
.site-nav ul a {
  display: block; padding: .5rem .5rem; white-space: nowrap; border-radius: 10px;
  color: var(--charcoal); text-decoration: none; font-size: .95rem; font-weight: 500;
}
.site-nav ul a:hover { color: var(--plum); background: var(--lavender); }
.site-nav ul a[aria-current="page"] { color: var(--plum); box-shadow: inset 0 -2px 0 var(--terracotta); border-radius: 10px 10px 0 0; }
.nav-cta { min-height: 44px; padding: .6rem 1.25rem; white-space: nowrap; }

.menu-toggle {
  display: none; align-items: center; gap: .4rem;
  min-height: 44px; padding: .5rem .9rem; border-radius: 999px;
  border: 1.5px solid var(--plum); background: transparent; color: var(--plum);
  font: 600 .95rem var(--sans); cursor: pointer;
}
.menu-toggle .menu-close { display: none; }
.menu-toggle[aria-expanded="true"] .menu-open { display: none; }
.menu-toggle[aria-expanded="true"] .menu-close { display: inline; }

@media (max-width: 1320px) {
  .menu-toggle { display: inline-flex; }
  .site-nav {
    display: none; position: absolute; left: 0; right: 0; top: 100%;
    flex-direction: column; align-items: stretch; gap: 1rem;
    background: var(--cream); padding: 1rem var(--gutter) 1.5rem;
    border-bottom: 1px solid var(--line); box-shadow: 0 20px 30px -20px rgba(48, 42, 46, .25);
    max-height: calc(100vh - 120px); overflow-y: auto;
  }
  .js .site-nav.is-open { display: flex; }
  .no-js .site-nav, html:not(.js) .site-nav { display: flex; position: static; box-shadow: none; padding: 0 0 1rem; }
  .site-nav ul { flex-direction: column; }
  .site-nav ul a { padding: .8rem .75rem; font-size: 1.05rem; }
  .site-nav ul a[aria-current="page"] { box-shadow: inset 3px 0 0 var(--terracotta); border-radius: 0 10px 10px 0; background: var(--lavender); }
  .nav-cta { align-self: flex-start; }
  html:not(.js) .header-inner { flex-wrap: wrap; }
  html:not(.js) .menu-toggle { display: none; }
}

/* ---------- Waves ---------- */
.wave { position: absolute; left: 0; width: 100%; height: clamp(28px, 4vw, 60px); pointer-events: none; }
.wave-bottom { bottom: -1px; transform: scaleY(-1); }
.wave-top { top: -1px; transform: scaleY(-1); }
.w-hero path { fill: var(--cream); }
.w-plum path { fill: var(--cream); }
.w-footer path { fill: var(--cream); }

/* ---------- Heroes ---------- */
.page-hero {
  position: relative;
  background:
    radial-gradient(1200px 500px at 85% 0%, rgba(243, 221, 208, .55), transparent 60%),
    linear-gradient(180deg, var(--lavender) 0%, #F4EEF2 60%, var(--cream) 100%);
  padding: clamp(36px, 5vw, 72px) 0 clamp(56px, 7vw, 96px);
}
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.hero-copy { max-width: 640px; }

/* ---------- Homepage hero (full-width, photo-ready) ---------- */
.home-hero {
  position: relative; overflow: hidden; color: var(--white);
  min-height: clamp(560px, 80vh, 780px);
  display: flex; align-items: center;
  padding: 56px 0 clamp(150px, 16vw, 210px);
  background: linear-gradient(115deg, #2F1F35 0%, #4A3152 38%, #6D5077 70%, #9A7A92 100%);
}
.hero-bg { position: absolute; inset: 0; }
.hero-bg > svg, .hero-bg > img { width: 100%; height: 100%; object-fit: cover; object-position: 70% center; }
.home-hero::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background:
    linear-gradient(180deg, rgba(238, 231, 241, 0) 62%, rgba(238, 231, 241, .85) 90%, var(--lavender) 100%),
    linear-gradient(90deg, rgba(40, 26, 46, .55) 0%, rgba(40, 26, 46, .2) 45%, rgba(40, 26, 46, 0) 70%);
}
.home-hero.has-photo::after {
  background:
    linear-gradient(180deg, rgba(238, 231, 241, 0) 62%, rgba(238, 231, 241, .85) 90%, var(--lavender) 100%),
    linear-gradient(90deg, rgba(40, 26, 46, .82) 0%, rgba(40, 26, 46, .55) 42%, rgba(40, 26, 46, .08) 72%);
}
.hero-inner { position: relative; z-index: 1; }
.home-hero .hero-copy { max-width: 640px; }
.hero-identifier {
  font-size: .82rem; font-weight: 600; letter-spacing: .2em; text-transform: uppercase;
  color: var(--peach); margin: 0 0 1rem;
}
.hero-title { color: var(--white); font-weight: 400; margin-bottom: 1.25rem; text-shadow: 0 2px 24px rgba(30, 18, 34, .35); }
.ht-1 { display: block; font-size: clamp(1.5rem, 1.1rem + 1.6vw, 2.3rem); letter-spacing: .01em; margin-bottom: .35rem; }
.ht-2 { display: block; font-size: clamp(2.3rem, 1.3rem + 3.8vw, 4.3rem); line-height: 1.08; text-transform: uppercase; letter-spacing: .03em; }
.ht-script { font-family: var(--script); font-weight: 600; text-transform: none; letter-spacing: 0; color: var(--peach); font-size: 1.2em; line-height: .9; }
.home-hero .lead { color: #F6EEF5; max-width: 560px; text-shadow: 0 1px 12px rgba(30, 18, 34, .35); }

.support-strip { background: linear-gradient(180deg, var(--lavender) 0%, var(--cream) 100%); padding: clamp(20px, 3vw, 36px) 0 clamp(40px, 5vw, 64px); margin-top: -1px; }
.strip-grid { display: grid; grid-template-columns: 1fr 1.35fr; gap: clamp(24px, 4vw, 64px); align-items: center; }
.strip-sub { margin: .6rem 0 0; color: var(--terracotta-text); font-weight: 600; font-size: .95rem; }
.strip-text { font-family: var(--serif); font-size: clamp(1.2rem, 1.05rem + .6vw, 1.5rem); line-height: 1.45; color: var(--charcoal); margin: 0; }
.support-for { display: flex; flex-direction: column; align-items: flex-start; gap: .6rem; }
.sf-label { align-self: flex-start; font-size: .85rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--charcoal); margin: 0; border-bottom: 1.5px solid var(--charcoal); padding-bottom: 2px; }
.support-for ul { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: .5rem 1.4rem; }
.support-for a { display: inline-flex; align-items: center; gap: .5rem; text-decoration: none; color: var(--terracotta-text); font-family: var(--script); font-weight: 600; font-size: clamp(1.4rem, 1.15rem + .7vw, 1.75rem); line-height: 1.2; padding: .2rem .25rem; border-radius: 10px; white-space: nowrap; }
.support-for a:hover { color: var(--plum); }
.support-for a:hover span { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 5px; }
.mini-art { width: 46px; height: 36px; color: var(--plum); flex: none; }
.mini-art .mini-accent { stroke: var(--terracotta); }

/* ---------- Figures (photo or illustration) ---------- */
.figure { position: relative; }
.figure-frame { overflow: hidden; background: var(--lavender); box-shadow: var(--shadow); }
.figure-frame > svg, .figure-frame > img { width: 100%; height: 100%; object-fit: cover; }
.figure-blob .figure-frame { border-radius: 46% 54% 40% 60% / 52% 44% 56% 48%; aspect-ratio: 1 / 1; }
.figure-arch .figure-frame { border-radius: 240px 240px var(--radius-lg) var(--radius-lg); aspect-ratio: 4 / 4.4; max-width: 460px; margin-left: auto; }
.figure-inset {
  position: absolute; left: -4%; bottom: -2%; width: 38%; aspect-ratio: 1; border-radius: 50%;
  overflow: hidden; border: 6px solid var(--cream); box-shadow: var(--shadow); background: var(--lavender);
}
.figure-inset > svg, .figure-inset > img { width: 100%; height: 100%; object-fit: cover; }
.figure-arch { max-width: 460px; margin-left: auto; }
/* Wide variant for landscape photos with people at both edges (e.g. Couples). */
.figure-wide { max-width: 560px; margin-left: auto; width: 100%; }
.figure-wide .figure-frame { aspect-ratio: 3 / 2; border-radius: 50% 50% var(--radius-lg) var(--radius-lg) / 34% 34% var(--radius-lg) var(--radius-lg); }
.figure-wide .figure-inset { width: 30%; left: -8%; bottom: -8%; }
.figure-arch .figure-inset { left: -14%; bottom: 6%; }

/* Illustration color classes */
.art .ln { stroke: var(--plum); }
.art .lt { stroke: var(--terracotta); }
.art .lf { fill: var(--lavender-2); }
.art .lp { fill: var(--peach); }
.art .ls { fill: #D9C8DF; }
.art .lc { fill: var(--cream); }
.art [fill="none"] { fill: none; }

/* ---------- Sections ---------- */
.section { position: relative; padding: var(--section) 0; }
.tone-lavender { background: var(--lavender); }
.tone-cream { background: var(--cream-2); }
.section-head { max-width: 720px; margin: 0 auto clamp(32px, 4vw, 48px); }
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 72px); align-items: start; }

.soft-list { list-style: none; padding: 0; margin: 0 0 1em; }
.soft-list li { position: relative; padding: .55rem 0 .55rem 2rem; border-bottom: 1px solid var(--line); }
.soft-list li:last-child { border-bottom: 0; }
.soft-list li::before {
  content: ""; position: absolute; left: 0; top: 1.05rem; width: 14px; height: 14px; border-radius: 50%;
  background: var(--peach); box-shadow: inset 0 0 0 3px var(--cream), 0 0 0 1.5px var(--terracotta);
}
.tone-lavender .soft-list li::before { box-shadow: inset 0 0 0 3px var(--lavender), 0 0 0 1.5px var(--terracotta); }
.plain-list { padding-left: 1.2rem; margin: 0; }
.plain-list li { margin: .3rem 0; }

.card { background: var(--white); border-radius: var(--radius); padding: clamp(24px, 3vw, 40px); box-shadow: var(--shadow); }
.card-quiet { background: var(--lavender); box-shadow: none; }
.callout {
  background: var(--white); border-left: 4px solid var(--terracotta); border-radius: 0 var(--radius) var(--radius) 0;
  padding: 1.1rem 1.4rem; font-family: var(--serif); font-size: 1.12rem; color: var(--plum-dark);
}

/* ---------- Pathway cards ---------- */
.path-grid { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(20px, 2.5vw, 32px); }
.path-card {
  position: relative; display: flex; flex-direction: column;
  background: var(--white); border-radius: var(--radius-lg) var(--radius-lg) var(--radius) var(--radius);
  overflow: hidden; box-shadow: var(--shadow); transition: transform .25s ease, box-shadow .25s ease;
}
.path-card:hover { transform: translateY(-4px); box-shadow: 0 26px 50px -28px rgba(67, 44, 74, .5); }
.path-card:focus-within { outline: 3px solid var(--terracotta-text); outline-offset: 4px; }
.path-art { aspect-ratio: 16 / 10; overflow: hidden; border-radius: 0 0 50% 50% / 0 0 18% 18%; }
.path-art svg, .path-art img { width: 100%; height: 100%; object-fit: cover; display: block; }
.path-body { padding: 1.5rem 1.6rem 1.8rem; display: flex; flex-direction: column; flex: 1; }
.path-label { font-family: var(--script); font-weight: 600; font-size: clamp(1.55rem, 1.35rem + .6vw, 1.9rem); line-height: 1.15; color: var(--terracotta-text); margin-bottom: .6rem; }
.path-body p:not(.path-label) { color: var(--muted); }
.path-body .btn { margin-top: auto; align-self: flex-start; }
.btn-sm { min-height: 44px; padding: .6rem 1.25rem; font-size: .95rem; }
.stretched::after { content: ""; position: absolute; inset: 0; }
.stretched:focus-visible { outline: none; }

/* ---------- Intensive feature ---------- */
.intensive-feature {
  background: radial-gradient(800px 400px at 10% 100%, rgba(184, 107, 75, .35), transparent 60%), var(--plum);
  color: var(--cream); padding: calc(var(--section) + 30px) 0;
}
.intensive-feature h2, .intensive-feature h3 { color: var(--white); }
.intensive-feature .lead { color: #F3ECF4; }
.intensive-feature .eyebrow.script { color: var(--peach); }
.intensive-feature .status { background: rgba(255, 255, 255, .14); color: var(--white); }
.intensive-feature .status-dot { background: var(--peach); }
.intensive-feature .text-link { color: var(--white); }
.intensive-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(28px, 5vw, 72px); align-items: center; }
.intensive-art { border-radius: 50%; overflow: hidden; aspect-ratio: 1; max-width: 380px; border: 8px solid rgba(255, 255, 255, .12); }
.intensive-art svg, .intensive-art img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* ---------- Model overview (home) ---------- */
.fits-intro { max-width: 46rem; margin-bottom: clamp(28px, 4vw, 44px); }
.model-grid, .model-apply, .fits-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(28px, 5vw, 72px); align-items: center; }
.part-list { list-style: none; padding: 0; margin: 1.5rem 0; display: grid; gap: .9rem; }
.part-chip { display: grid; grid-template-columns: auto 1fr; column-gap: 1rem; align-items: start; background: var(--white); border-radius: var(--radius); padding: 1rem 1.25rem; box-shadow: var(--shadow); }
.part-chip > *:not(.part-num) { grid-column: 2; }
.part-chip h3 { margin: 0 0 .15rem; font-size: 1.2rem; }
.part-chip p { margin: 0; }
.part-name { font-size: .95rem; color: var(--muted); }
.part-q { font-family: var(--serif); font-style: italic; color: var(--terracotta-text); }
.part-sum { font-size: .95rem; color: var(--muted); margin-top: .35rem !important; }
/* Home model overview: three connected steps, joined by arrows. */
.part-flow { gap: 1.6rem; }
.part-flow .part-chip { position: relative; }
.part-flow .part-chip + .part-chip::before {
  content: "↓"; position: absolute; top: -1.45rem; left: 2.15rem; font-size: 1.1rem; line-height: 1;
  color: var(--terracotta); font-weight: 600;
}
.part-num {
  grid-row: span 3; width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center;
  background: var(--lavender); color: var(--plum-dark); font-family: var(--serif); font-weight: 600;
}

.model-diagram { margin: 0; background: var(--cream-2); border-radius: 18px; padding: clamp(24px, 4vw, 44px) clamp(8px, 2vw, 24px); }
.mf-parts { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); }
.mf-part { position: relative; padding: 1.4rem clamp(6px, 1.2vw, 14px) 0; text-align: center; }
.mf-part::before { content: ""; position: absolute; top: 0; left: clamp(6px, 1.2vw, 14px); right: clamp(6px, 1.2vw, 14px); border-top: 2px solid var(--plum); }
.mf-work::before { border-color: var(--terracotta); }
.mf-k { display: block; margin: 0; font: 500 .75rem/1.3 var(--sans); letter-spacing: .12em; text-transform: uppercase; color: var(--plum); }
.mf-work .mf-k { color: var(--terracotta-text); }
.mf-n { display: block; margin: 1.6rem 0 0; font: 400 clamp(1.05rem, .9rem + .7vw, 1.4rem)/1.3 var(--serif); color: var(--plum-dark); text-wrap: balance; }
.mf-join { display: block; width: 100%; height: 64px; margin-top: 1.6rem; overflow: visible; }
.mf-join path { fill: none; stroke: var(--plum-soft); stroke-opacity: .6; stroke-width: 1; vector-effect: non-scaling-stroke; }
.mf-together { display: block; text-align: center; margin-top: 1.4rem; }
.mf-together .mf-n { margin-top: .6rem; font-size: clamp(1.3rem, 1rem + 1.2vw, 1.9rem); max-width: 14em; margin-inline: auto; }
.model-diagram.compact .mf-n { font-size: clamp(1rem, .9rem + .4vw, 1.2rem); }
.model-diagram.compact .mf-together .mf-n { font-size: clamp(1.2rem, 1rem + .7vw, 1.5rem); }
.mf-n a { color: inherit; text-decoration: none; }
.mf-n a:hover { text-decoration: underline; text-underline-offset: 3px; }
.mf-d { margin: .6rem 0 0; font-size: .95rem; color: var(--muted); }
@media (max-width: 640px) {
  .model-diagram.full .mf-parts { grid-template-columns: 1fr; gap: 1.6rem; }
  .model-diagram.full .mf-part { padding-top: 1rem; }
  .model-diagram.full .mf-n { margin-top: .6rem; }
  .model-diagram.full .mf-join { display: none; }
  .model-diagram.full .mf-together::before { content: ""; display: block; width: 1px; height: 40px; margin: 1.6rem auto 1.2rem; background: var(--plum-soft); opacity: .6; }
}

/* ---------- About teaser ---------- */
.about-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(28px, 5vw, 72px); align-items: center; }
.about-grid .figure-arch .figure-frame { margin-left: 0; }
.about-card { background: var(--white); border-radius: var(--radius-lg); padding: clamp(28px, 4vw, 52px); box-shadow: var(--shadow); }

/* ---------- Invitation ---------- */
.invitation { background: linear-gradient(180deg, var(--cream) 0%, var(--lavender) 100%); }
.invitation h2 { font-size: clamp(1.8rem, 1.2rem + 2.4vw, 2.9rem); }

/* ---------- Model points (audience pages) ---------- */
.mp-list { list-style: none; padding: 0; margin: 1.25rem 0 1.5rem; display: grid; gap: 1rem; }
.mp-item { display: grid; grid-template-columns: auto 1fr; gap: 1rem; background: var(--white); border-radius: var(--radius); padding: 1.1rem 1.3rem; box-shadow: var(--shadow); }
.mp-item h3, .mp-item h4 { font-size: 1.15rem; margin-bottom: .5rem; }
.mp-item p { margin: 0; color: var(--muted); }
.mp-num { width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; background: var(--lavender); color: var(--plum-dark); font-family: var(--serif); font-weight: 600; }

/* ---------- Model page ---------- */
.on-page { margin-top: 1.75rem; }
.on-page-label { font-size: .8rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-bottom: .5rem; }
.on-page ul { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: .5rem; }
.on-page a { display: inline-block; padding: .45rem .9rem; border-radius: 999px; background: var(--white); text-decoration: none; font-weight: 500; font-size: .95rem; border: 1px solid var(--line); }
.on-page a:hover { border-color: var(--plum); }

.part-kicker { font-size: .8rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--terracotta-text); margin-bottom: .6rem; }

.part-head { max-width: 760px; margin-bottom: clamp(24px, 3vw, 40px); }
.part-question { font-family: var(--serif); font-style: italic; font-size: clamp(1.15rem, 1rem + .6vw, 1.45rem); color: var(--plum); margin: 0; }

.task-list { margin: .75rem 0 0; padding-left: 1.75rem; }
.task-list li { padding: .3rem 0; border-bottom: 1px dashed var(--line); font-size: .97rem; }
.task-list li:last-child { border-bottom: 0; }
.task-list li::marker { color: var(--terracotta-text); font-weight: 600; }

.disclosure { border-top: 1px solid var(--line); margin-top: .75rem; }
.disclosure summary {
  display: flex; align-items: center; justify-content: space-between; gap: .75rem;
  cursor: pointer; list-style: none; padding: .75rem 0; font-weight: 600; color: var(--plum);
  min-height: 44px;
}
.disclosure summary::-webkit-details-marker { display: none; }
.disclosure summary .chevron { transition: transform .2s ease; }
.disclosure[open] summary .chevron { transform: rotate(180deg); }
.pr-scope { margin: 2rem 0 0; max-width: 46rem; }
.disclosure-body { padding-bottom: 1rem; }
.model-more { margin-top: clamp(24px, 3vw, 36px); background: var(--white); border: 0; border-radius: var(--radius); padding: .4rem 1.4rem; box-shadow: var(--shadow); }
.tl-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem 1.75rem; align-items: start; }
.tl-h { font-size: 1.05rem; margin: .5rem 0 0; }
.dim-defs { margin: 0; max-width: 52rem; }
.dim-defs dt { font-family: var(--serif); font-weight: 600; color: var(--plum-dark); margin-top: .9rem; }
.dim-defs dd { margin: .2rem 0 0; color: var(--muted); }
@media (max-width: 1080px) { .tl-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .tl-grid { grid-template-columns: 1fr; } }

.dim-group-h { font-size: clamp(1.2rem, 1.05rem + .5vw, 1.5rem); display: flex; flex-wrap: wrap; align-items: baseline; gap: .25rem .75rem; padding-bottom: .75rem; border-bottom: 1px solid var(--line); margin-bottom: 1.25rem; }
.dim-grid { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(16px, 2vw, 24px); }
.dim-card { position: relative; background: var(--white); border-radius: var(--radius-lg) var(--radius) var(--radius) var(--radius); padding: 1.5rem 1.5rem 1.4rem; box-shadow: var(--shadow); }
.dim-num {
  display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%;
  background: var(--lavender); color: var(--plum-dark); font-family: var(--serif); font-size: 1.15rem; font-weight: 600; margin-bottom: .75rem;
}
.dim-card h3 { font-size: 1.3rem; margin-bottom: .6rem; }
.dim-summary { font-size: 1.02rem; }

.principle-cycle { margin: 0; }
.principle-cycle svg { display: block; width: 100%; max-width: 460px; margin: 0 auto; height: auto; }
.principle-cycle figcaption { max-width: 460px; margin: 1rem auto 0; font-size: .9rem; color: var(--muted); }
.pc-arc { fill: none; stroke: var(--terracotta); stroke-width: 2; }
.pc-return { stroke-dasharray: 6 5; }
.pc-arrowhead { fill: var(--terracotta); }
.pc-node { fill: var(--white); stroke: var(--plum); stroke-width: 1.75; }
.pc-labels text { font: 500 19px var(--serif); fill: var(--plum-dark); }
.pc-center { font: italic 20px var(--serif); fill: var(--muted); }

.pr-grid { list-style: none; padding: 0; margin: clamp(28px, 4vw, 44px) 0 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; }
.pr-card { background: var(--white); border-radius: var(--radius); padding: 1.4rem; box-shadow: var(--shadow); position: relative; }
.pr-card h3 { margin-bottom: .6rem; }
.two-col + .dim-grid { margin-top: clamp(28px, 4vw, 44px); }
.pr-q { font-family: var(--serif); font-style: italic; color: var(--plum); margin: 0; }
.pr-note { margin: .8rem 0 0; padding-top: .75rem; border-top: 1px solid var(--line); font-size: .9rem; color: var(--muted); }
.therapy-list { list-style: none; padding: 0; margin: clamp(20px, 3vw, 32px) 0 clamp(32px, 4vw, 48px); display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(16px, 2vw, 28px); }
.therapy-list li { border-top: 3px solid var(--plum-soft); padding-top: 1rem; }
.therapy-list h3 { font-size: 1.2rem; margin-bottom: .55rem; }
.therapy-list p { margin: 0; }
@media (max-width: 900px) { .therapy-list { grid-template-columns: 1fr; } }


.framework-note { max-width: 780px; margin: 0 auto; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.4rem 1.6rem; background: var(--cream); }
.framework-note h2 { margin-bottom: .7rem; }
.framework-note p:last-child { margin-bottom: 0; }

/* ---------- About ---------- */
.commit-grid { list-style: none; padding: 0; margin: 2rem 0 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; }
.commit { background: var(--white); border-radius: var(--radius-lg) var(--radius-lg) var(--radius) var(--radius); padding: 1.5rem; box-shadow: var(--shadow); text-align: center; }
.commit p { margin: 0; color: var(--muted); }


/* ---------- Our Team (modeled on the reference's "Meet Your Support Team") ---------- */
.team-showcase {
  position: relative; padding: clamp(40px, 5vw, 72px) 0 clamp(88px, 10vw, 140px);
  background:
    linear-gradient(180deg, var(--cream) 0%, var(--cream) 42%, rgba(250, 246, 240, .55) 72%, rgba(238, 231, 241, .35) 100%),
    url("images/photos/intensive.jpg") center bottom / cover no-repeat;
}
.team-head { max-width: 720px; margin: 0 auto clamp(28px, 4vw, 48px); }
.team-head h1 { font-size: clamp(2rem, 1.4rem + 2.4vw, 3rem); }
.team-layout { display: grid; grid-template-columns: minmax(250px, 320px) 1fr; gap: clamp(24px, 4vw, 48px); align-items: start; }
.team-nav {
  padding: 10px;
  background: rgba(255, 255, 255, .78); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  border-radius: var(--radius); box-shadow: var(--shadow);
}
.team-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.member-tab {
  display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 14px;
  text-decoration: none; color: var(--charcoal); transition: background-color .2s ease;
}
.member-tab:hover { background: var(--lavender); color: var(--charcoal); }
.member-tab[aria-selected="true"] { background: linear-gradient(90deg, var(--lavender) 0%, var(--peach) 100%); box-shadow: inset 3px 0 0 var(--plum); }
.member-avatar { width: 48px; height: 48px; border-radius: 50%; overflow: hidden; flex: none; background: var(--lavender); }
.member-avatar > * { width: 100%; height: 100%; object-fit: cover; object-position: center 20%; display: block; }
.member-text { display: flex; flex-direction: column; min-width: 0; flex: 1; }
.member-name { font-family: var(--serif); font-size: 1.05rem; color: var(--plum-dark); line-height: 1.25; }
.member-creds { font-size: .78rem; color: var(--muted); letter-spacing: .04em; }
.office-filter {
  display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; gap: 4px; margin: 0 0 10px; padding: 4px;
  background: var(--lavender); border-radius: 14px;
}
.office-filter[hidden] { display: none; }
.office-filter-btn {
  font: inherit; font-size: .9rem; font-weight: 600; cursor: pointer; min-height: 40px; padding: .4rem .6rem;
  border: 0; border-radius: 10px; background: transparent; color: var(--plum-dark);
}
.office-filter-btn:hover { background: rgba(255, 255, 255, .6); }
.office-filter-btn[aria-pressed="true"] { background: #fff; color: var(--plum); box-shadow: 0 1px 4px rgba(67, 44, 74, .18); }
.office-filter-btn:focus-visible { outline: 3px solid var(--terracotta-text); outline-offset: 2px; }
.team-list li[hidden] { display: none; }
.loc-team-h { margin: 1rem 0 .6rem; }
.loc-team { list-style: none; padding: 0; margin: 0 0 1rem; display: grid; gap: .3rem; }
.team-group { padding: 14px 12px 4px; font-size: .75rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--terracotta-text); }
.member-availability { padding: .7rem .95rem; border-radius: 14px; background: var(--peach); color: var(--charcoal); font-size: .95rem; margin-bottom: 1rem; }
.member-availability p { margin: 0; }
.avail-label, .member-avail, .finder-avail { font-family: var(--sans); font-weight: 600; font-size: .8rem; letter-spacing: .02em; color: var(--terracotta-text); }
.avail-label { margin-bottom: .35rem !important; }
.member-avail { display: block; margin-top: .1rem; }
.finder-avail { margin: .15rem 0 0; }
.team-availability { max-width: 40rem; margin: .6rem auto 0; color: var(--muted); font-size: .95rem; }
.waitlist-banner { margin: 0 0 1.25rem; padding: 1rem 1.2rem; border-radius: var(--radius); background: var(--lavender); color: var(--plum-dark); }
.waitlist-banner h3 { margin: 0 0 .3rem; font-size: 1.1rem; }
.waitlist-banner p { margin: 0; }
.waitlist-banner[hidden] { display: none; }
.member-scope { padding: .7rem .95rem; border-radius: 14px; background: var(--lavender); color: var(--plum-dark); font-size: .95rem; }
.member-tab .chevron { transform: rotate(-90deg); color: var(--plum-soft); width: 18px; height: 18px; }

.team-panels { display: grid; gap: 32px; }
.member-panel {
  display: grid; grid-template-columns: minmax(200px, 300px) 1fr; gap: clamp(20px, 3vw, 40px); align-items: start;
  background: rgba(255, 255, 255, .7); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  border-radius: var(--radius-lg); padding: clamp(18px, 2.5vw, 28px); box-shadow: var(--shadow);
}
.member-panel[hidden] { display: none; }
.member-panel:focus-visible { outline: 3px solid var(--terracotta-text); outline-offset: 4px; }
.member-photo {
  aspect-ratio: 4 / 5; overflow: hidden; border-radius: 150px 28px 28px 28px;
  background: linear-gradient(160deg, var(--lavender-2), var(--peach)); padding: 6px;
}
.member-photo > * { width: 100%; height: 100%; object-fit: cover; display: block; border-radius: 144px 22px 22px 22px; }
.member-h { font-size: clamp(1.6rem, 1.2rem + 1.2vw, 2.2rem); margin-bottom: .45rem; }
.member-cred-line { font-size: .82rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--terracotta-text); margin-bottom: .45rem; }
.member-role { color: var(--muted); font-style: italic; font-family: var(--serif); }
.member-spec-h { font-size: 1.1rem; margin: 1.25rem 0 .5rem; }
.chips { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.chip { border: 1.5px solid var(--terracotta); color: var(--terracotta-text); border-radius: 999px; padding: .25rem .8rem; font-size: .85rem; background: rgba(255, 255, 255, .6); }

/* ---------- Couples Intensive page ---------- */
.ci-facts { display: flex; flex-wrap: wrap; gap: .9rem 2rem; margin: 1.5rem 0 0; padding: 1.1rem 1.3rem; background: rgba(255, 255, 255, .7); border: 1px solid var(--line); border-radius: 18px; }
.ci-facts dt { font-size: .75rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--terracotta-text); margin-bottom: .2rem; }
.ci-facts dd { margin: 0; font-family: var(--serif); font-size: 1.08rem; line-height: 1.4; color: var(--plum-dark); }
.ci-facts dd span { display: block; white-space: nowrap; }
.ci-facts dd small { display: block; font-family: var(--sans); font-size: .85rem; color: var(--muted); }
.ci-facts-lg { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.25rem 2rem; background: var(--cream); border: 0; padding: 1.4rem 1.5rem; }
.ci-facts-lg dd { font-size: 1.2rem; }
.ci-facts-stack { display: grid; grid-template-columns: 1fr; background: var(--cream); border: 0; }
.ci-review-note { font-size: .92rem; color: var(--muted); margin: .9rem 0 0; }
.next-step .ci-review-note { margin-top: 1rem; }

.ci-facts .fact-led { flex-basis: 100%; }
.ci-facts .fact-led dd { font-size: 1rem; }

.when h2 { margin-bottom: 1rem; }
.when fieldset { border: 0; padding: 0; margin: 0; min-width: 0; }
.when-list { grid-template-columns: repeat(3, 1fr); }
.choice-list.when-list label { flex-direction: column; align-items: flex-start; justify-content: center; gap: .15rem; background: var(--white); }
.choice-list.when-list label strong { font-family: var(--serif); font-weight: 500; font-size: 1.12rem; color: var(--plum-dark); }
.choice-list.when-list label span { font-size: .9rem; color: var(--muted); }
.when .actions { margin-top: 1.1rem; }

.video-frame { position: relative; aspect-ratio: 16 / 9; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); background: var(--plum-dark); margin-top: 1.5rem; }
.video-frame iframe, .video-frame video { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video-placeholder {
  position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .5rem;
  padding: 1.5rem; text-align: center; color: var(--plum-dark);
  background: radial-gradient(600px 300px at 80% 100%, rgba(243, 221, 208, .9), transparent 70%), linear-gradient(160deg, var(--white) 0%, var(--lavender-2) 100%);
  border: 2px dashed var(--plum-soft); border-radius: var(--radius);
}
.video-placeholder p { margin: 0; max-width: 420px; }
.video-placeholder strong { font-family: var(--serif); font-weight: 500; font-size: 1.35rem; }
.video-logo { --H: 150px; }
.video-frame.is-placeholder { aspect-ratio: auto; height: clamp(270px, 52vw, 420px); box-shadow: none; background: transparent; }
.transcript { background: var(--white); border-radius: var(--radius); padding: .2rem 1.25rem; margin-top: 1rem; border: 0; }

.ci-days { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(16px, 2.5vw, 28px); counter-reset: none; }
.ci-day { position: relative; background: var(--white); border-radius: var(--radius-lg) var(--radius-lg) var(--radius) var(--radius); padding: 1.6rem 1.6rem 1.8rem; box-shadow: var(--shadow); }
.ci-day::before { content: ""; position: absolute; left: 1.6rem; right: 1.6rem; top: 0; height: 4px; border-radius: 0 0 4px 4px; background: linear-gradient(90deg, var(--plum), var(--terracotta)); }
.ci-day-num { font-family: var(--script); font-weight: 600; font-size: 1.7rem; color: var(--terracotta-text); margin: 0 0 .5rem; }
.ci-day p:last-child { color: var(--muted); margin: 0; }
.ci-days-after { max-width: 760px; margin: 2rem auto 0; text-align: center; }

.ci-leaders { list-style: none; padding: 0; margin: clamp(24px, 3vw, 36px) 0 0; display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 4vw, 56px); }
.ci-leader-card p { margin: 0; }
.ci-leader-photo { max-width: 240px; margin-bottom: 1.2rem; }
.ci-leader-photo img { border-radius: 200px 200px var(--radius) var(--radius); box-shadow: var(--shadow); aspect-ratio: 4 / 5; object-fit: cover; width: 100%; }
.ci-leader-name { font-family: var(--serif); font-size: 1.25rem; color: var(--terracotta-text); margin-bottom: .6rem; }
.ci-leaders-note { max-width: 780px; margin-top: clamp(28px, 4vw, 44px); }

.ci-details h2 { margin-bottom: .6rem; }
.ci-steps { list-style: none; padding: 0; margin: 1.5rem 0 0; display: grid; gap: 1.25rem; }
.ci-steps li { display: grid; grid-template-columns: 44px 1fr; gap: 1rem; align-items: start; }
.ci-steps h3 { font-size: 1.15rem; margin: .45rem 0 .5rem; }
.ci-steps p { margin: 0; color: var(--muted); }
.ci-step-num {
  display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 50%;
  background: var(--white); color: var(--plum-dark); font-family: var(--serif); font-size: 1.2rem; box-shadow: inset 0 0 0 1.5px var(--terracotta);
}
.ci-faq .faq-item { margin-bottom: .75rem; }
.ci-faq-links { display: flex; flex-wrap: wrap; gap: 1rem 2rem; margin-top: 1.5rem; }

/* ---------- Couples Intensive application ---------- */
.apply-hero { padding-bottom: clamp(28px, 4vw, 48px); }
.thanks-hero { padding-bottom: clamp(56px, 8vw, 104px); }
.privacy-hero { padding-bottom: clamp(24px, 3vw, 40px); }
.privacy-hero + .section { padding-top: clamp(8px, 1.5vw, 16px); }
.thanks-hero p { max-width: 560px; margin-left: auto; margin-right: auto; }
.thanks-mark { display: flex; justify-content: center; margin-bottom: 1rem; color: var(--plum); }
.thanks-mark .icon-check { width: 64px; height: 64px; }
.thanks-hero .safety { margin-top: 2rem; }
.not-found-links { list-style: none; padding: 0; margin: 1.5rem auto 0; display: grid; gap: .75rem; justify-items: center; }
.apply-section-wrap { padding-top: clamp(16px, 3vw, 32px); }
.hush-card { padding: clamp(12px, 2.5vw, 28px); }
.hush-card iframe { width: 100%; display: block; border: 0; }
.apply-grid { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, .65fr); gap: clamp(24px, 4vw, 56px); align-items: start; }
.apply-aside { position: sticky; top: calc(var(--header-h) + 24px); background: var(--white); border-radius: var(--radius); padding: 1.5rem; box-shadow: var(--shadow); }
.apply-aside h2 { font-size: 1.25rem; }
.apply-aside .ci-facts { margin-top: .5rem; padding: 1rem; }
.apply-aside .text-link { margin-top: 1rem; }

.choice-list { list-style: none; padding: 0; margin: 0; display: grid; gap: .6rem; }
.choice-list li { position: relative; display: flex; }
.choice-list input { position: absolute; left: 1rem; top: 50%; width: 20px; height: 20px; margin: -10px 0 0; accent-color: var(--plum); }
.choice-list label {
  flex: 1; cursor: pointer; padding: .8rem 1rem .8rem 2.85rem; min-height: 48px; display: flex; align-items: center;
  background: var(--cream); border: 1.5px solid #B9A9B6; border-radius: 12px; transition: border-color .2s ease, background-color .2s ease;
}
.choice-list label:hover { border-color: var(--plum); }
.choice-list input:checked + label { background: var(--lavender); border-color: var(--plum-dark); box-shadow: inset 0 0 0 1px var(--plum-dark); }
.choice-list input:focus-visible + label { outline: 3px solid var(--terracotta-text); outline-offset: 2px; }


/* ---------- Intensive FAQ ---------- */
.faq-team { max-width: 760px; margin: 0 auto 2rem; color: var(--plum-dark); }
.faq-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem 2rem; align-items: start; }
.faq-group h3 { font-size: 1.2rem; margin-bottom: .75rem; }
.faq-item { background: var(--white); border: 0; border-radius: var(--radius); padding: .2rem 1.25rem; box-shadow: var(--shadow); margin: 0 0 .75rem; }
.faq-item summary { color: var(--plum-dark); font-family: var(--serif); font-weight: 500; font-size: 1.05rem; }
.section-tight { padding: 0 0 clamp(24px, 3vw, 40px); }

/* ---------- Draft notes ---------- */
.draft-note {
  margin: 1.25rem 0; padding: .9rem 1.1rem; border-radius: 14px;
  background: repeating-linear-gradient(135deg, #FFF8E6, #FFF8E6 10px, #FDF1D6 10px, #FDF1D6 20px);
  border: 1.5px dashed #A8781F; color: #4A3A12; font-size: .93rem;
}
.draft-note p { margin: 0; }

/* ---------- Client portal ---------- */
.portal-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(16px, 2.5vw, 28px); }
.portal-card { display: flex; flex-direction: column; }
.portal-card h2 { font-size: clamp(1.3rem, 1.15rem + .6vw, 1.6rem); }
.portal-card .actions { margin-top: auto; padding-top: 1rem; }
.groups-grid { margin: 1.75rem 0 2.5rem; }
.groups-grid h3 { margin-bottom: .5rem; }
@media (max-width: 760px) { .portal-grid { grid-template-columns: 1fr; } }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1.3fr .7fr; gap: clamp(28px, 5vw, 64px); align-items: start; }
.form-card { background: var(--white); border-radius: var(--radius-lg); padding: clamp(24px, 4vw, 48px); box-shadow: var(--shadow); }
.contact-side h2 { font-size: 1.35rem; }
.contact-side h2:not(:first-child) { margin-top: 2rem; }
.safety { font-size: .92rem; color: var(--muted); }

/* ---------- Get Started: Find your fit ---------- */
/* Keep the filter close to the hero: no full section gap between them (Kyle, 17 Oct 2026). */
.page-contact .page-hero { padding-bottom: clamp(40px, 5vw, 64px); }
.finder-section { padding-top: clamp(4px, 1vw, 12px); }
.finder-panel { max-width: 960px; margin: 0 auto; background: var(--white); border-radius: var(--radius-lg); padding: clamp(24px, 4vw, 52px); box-shadow: var(--shadow); }
.finder-panel > h2 { margin-bottom: 1.25rem; }
.finder-form { display: none; }
.js .finder-form { display: grid; gap: 1.75rem; }
.finder-q { border: 0; padding: 0; margin: 0; min-width: 0; }
.finder-q legend { font-weight: 600; color: var(--plum-dark); margin-bottom: .75rem; padding: 0; }
.finder-hint { font-weight: 400; font-style: italic; font-family: var(--serif); color: var(--muted); font-size: .92rem; margin-left: .35rem; }
.finder-options { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.finder-options.is-row { display: flex; flex-wrap: wrap; }
.finder-option { display: flex; align-items: center; gap: .7rem; min-height: 48px; padding: .7rem 1rem; border: 1.5px solid var(--line); border-radius: 14px; background: var(--cream); cursor: pointer; line-height: 1.35; transition: border-color .15s, background-color .15s; }
.finder-option:hover { border-color: var(--plum-soft); }
.finder-option input { accent-color: var(--plum); width: 18px; height: 18px; flex: none; margin: 0; }
.finder-option:has(input:checked) { border-color: var(--plum); background: var(--lavender); }
.finder-option:has(input:focus-visible) { outline: 3px solid var(--plum); outline-offset: 2px; }
.finder-privacy { display: flex; align-items: center; gap: .5rem; margin: 0; font-family: var(--serif); font-style: italic; font-size: .95rem; color: var(--muted); }
.finder-privacy .icon { width: 18px; height: 18px; flex: none; color: var(--plum); }
.finder-form .actions { margin-top: 0; }
.finder-form .btn[disabled] { opacity: .55; cursor: not-allowed; transform: none; }
.finder-noscript { color: var(--muted); }
.finder-results { scroll-margin-top: 120px; }
.js .finder-results { margin-top: 2.25rem; padding-top: 2rem; border-top: 1px solid var(--line); }
.finder-results[hidden], .finder-group[hidden], .finder-card[hidden], .finder-program[hidden], .finder-none[hidden] { display: none; }
.finder-group + .finder-group, .finder-none { margin-top: 2rem; }
.finder-feature { background: linear-gradient(120deg, var(--plum-dark) 0%, var(--plum) 100%); color: #F4ECF4; border-radius: var(--radius); padding: clamp(22px, 3vw, 34px); margin-bottom: 2rem; }
.finder-feature[hidden] { display: none; }
.finder-feature h3 { color: var(--white); font-size: clamp(1.4rem, 1.2rem + .8vw, 1.8rem); margin: .2rem 0 .6rem; }
.finder-feature p { margin: 0; }
.finder-feature-eyebrow { font-family: var(--script); font-weight: 600; font-size: 1.35rem; color: var(--peach); }
.finder-feature .actions { margin-top: 1.25rem; }
.finder-group h3, .finder-none h3 { font-size: 1.4rem; margin-bottom: .35rem; }
.finder-intro { color: var(--muted); margin-bottom: 1.25rem; }
.finder-cards { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.finder-card { display: grid; grid-template-columns: 84px 1fr; gap: 1rem; align-items: start; background: var(--cream); border-radius: var(--radius); padding: 1.2rem; }
.finder-photo { width: 84px; height: 84px; border-radius: 50%; overflow: hidden; background: var(--lavender); }
.finder-photo > * { width: 100%; height: 100%; object-fit: cover; display: block; }
.finder-card h4 { margin: 0; font-size: 1.15rem; }
.finder-creds { margin: .1rem 0 0; font-size: .9rem; color: var(--muted); }
.finder-role { margin: .1rem 0 .7rem; font-size: .9rem; color: var(--plum); }
.finder-fits .chip { font-size: .78rem; }
.finder-fits .chip[hidden] { display: none; }
.finder-links { display: flex; flex-wrap: wrap; gap: .4rem 1.2rem; margin: .9rem 0 0; font-weight: 600; font-size: .95rem; }
.finder-program-list { list-style: none; padding: 0; margin: 1rem 0 0; display: grid; gap: 10px; }
.finder-program a { display: grid; grid-template-columns: 1fr auto; column-gap: 1rem; align-items: center; padding: 1rem 1.2rem; border-radius: var(--radius); background: var(--lavender); color: var(--charcoal); text-decoration: none; }
.finder-program a:hover { background: var(--lavender-2); }
.finder-program strong { color: var(--plum-dark); }
.finder-program span { grid-column: 1; color: var(--muted); font-size: .95rem; }
.finder-program .icon { grid-column: 2; grid-row: 1 / span 2; width: 20px; height: 20px; color: var(--plum); }
.finder-none { background: var(--lavender); border-radius: var(--radius); padding: 1.4rem 1.5rem; }
.finder-call { margin: 2rem 0 0; color: var(--muted); }
@media (max-width: 760px) {
  .finder-options, .finder-cards { grid-template-columns: 1fr; }
  .finder-card { grid-template-columns: 64px 1fr; }
  .finder-photo { width: 64px; height: 64px; }
}

/* ---------- Next step ---------- */
.next-step h2 { font-size: clamp(1.7rem, 1.2rem + 2vw, 2.6rem); }

/* ---------- Call to action: band under page heroes, Call and Text chips ---------- */
.call-text { display: flex; flex-direction: column; align-items: center; gap: .65rem; margin-top: 1.5rem; }
.call-text-lead { margin: 0; font-family: var(--serif); font-style: italic; color: var(--muted); font-size: 1.05rem; }
.call-text-chips { display: flex; flex-wrap: wrap; justify-content: center; gap: .6rem; }
.chip-link {
  display: inline-flex; align-items: center; gap: .5rem; min-height: 44px; padding: .55rem 1.1rem;
  border-radius: 999px; border: 1px solid var(--line); background: var(--white);
  color: var(--plum-dark); font-weight: 600; font-size: .95rem; text-decoration: none;
  transition: border-color .2s ease, background-color .2s ease;
}
.chip-link:hover { border-color: var(--plum); background: var(--lavender); color: var(--plum-dark); }
.chip-link .icon { width: 18px; height: 18px; color: var(--terracotta-text); }

.cta-band { position: relative; z-index: 1; margin-top: clamp(-40px, -3vw, -16px); padding-bottom: clamp(8px, 2vw, 24px); }
.cta-band-inner {
  display: flex; align-items: center; justify-content: space-between; gap: 1.25rem 2.5rem; flex-wrap: wrap;
  background: var(--lavender); border: 1px solid var(--lavender-2); border-radius: var(--radius);
  padding: clamp(20px, 3vw, 32px) clamp(20px, 3.5vw, 44px);
}
.cta-band-copy { flex: 1 1 320px; }
.cta-band-copy h2 { font-size: clamp(1.3rem, 1.1rem + .8vw, 1.7rem); margin: 0 0 .6rem; }
.cta-band-copy p { margin: 0; color: var(--charcoal); }
.cta-band-actions { display: flex; flex-wrap: wrap; align-items: center; gap: .75rem; }
.cta-band-actions .call-text { margin: 0; }
.cta-band-actions .call-text-chips { justify-content: flex-start; }
.team-head .call-text { margin-top: 1rem; }
@media (max-width: 640px) {
  .cta-band-actions, .cta-band-actions .call-text-chips { width: 100%; }
  .cta-band-actions .btn, .cta-band-actions .chip-link { flex: 1 1 100%; justify-content: center; }
}

/* ---------- Footer ---------- */
.site-footer {
  position: relative; z-index: 1; background: var(--plum-dark); color: #EFE6F0;
  padding: calc(var(--section) * .9) 0 2rem; margin-top: -48px;
  border-radius: 60% 40% 0 0 / 48px 48px 0 0;
}
main > section:last-child { padding-bottom: calc(var(--section) + 48px); }
.site-footer a { color: var(--white); }
.site-footer a:hover { color: var(--peach); }
.footer-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 2rem; }
.footer-line { font-family: var(--serif); font-style: italic; margin-top: 1rem; max-width: 320px; }
.footer-h { font-family: var(--sans); color: var(--peach); font-size: .8rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; margin-bottom: .9rem; }
.footer-links { list-style: none; padding: 0; margin: 0; display: grid; gap: .45rem; }
.footer-links a { text-decoration: none; }
.footer-links a:hover { text-decoration: underline; }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, .18); margin-top: 2.5rem; padding-top: 1.5rem; }
.site-footer .safety, .site-footer .small { color: #DCCFDD; }
.site-footer .draft-note { color: #4A3A12; }

/* ---------- Reveal motion (enhancement only) ---------- */
@media (prefers-reduced-motion: no-preference) {
  .js .reveal { opacity: 0; transform: translateY(14px); transition: opacity .7s ease, transform .7s ease; }
  .js .reveal.is-visible { opacity: 1; transform: none; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .pr-grid { grid-template-columns: repeat(2, 1fr); }
  .commit-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 900px) {
  .hero-grid, .model-grid, .model-apply, .fits-grid, .about-grid, .intensive-grid, .two-col, .contact-grid { grid-template-columns: 1fr; }
  .figure-arch .figure-frame { max-width: 380px; margin: 0 auto; }
  .figure-arch { margin: 0 auto; max-width: 380px; }
  .figure-arch .figure-inset { left: -6%; }
  .figure-wide { margin: 0 auto; }
  .figure-wide .figure-inset { left: -2%; }
  .figure-blob { max-width: 440px; margin: 0 auto; width: 100%; }
  .path-grid { grid-template-columns: 1fr; max-width: 560px; margin: 0 auto; }
  .dim-grid { grid-template-columns: repeat(2, 1fr); }
  .team-layout { grid-template-columns: 1fr; }
  .faq-grid { grid-template-columns: 1fr; }
  .ci-days, .ci-leaders, .apply-grid, .when-list { grid-template-columns: 1fr; }
  .ci-leader-photo { max-width: 220px; }
  .apply-aside { position: static; order: -1; }
  .apply-aside .ci-facts-stack { grid-template-columns: 1fr 1fr; }
  .apply-aside .fact-format { display: none; }
  .apply-aside .ci-facts-stack > div:first-child { grid-column: 1 / -1; }
  .member-panel { grid-template-columns: 1fr; }
  .member-photo { max-width: 320px; }
  .intensive-art { max-width: 240px; margin: 0 auto; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid > div:first-child { grid-column: 1 / -1; }
}
@media (max-width: 900px) {
  .strip-grid { grid-template-columns: 1fr; }
  .home-hero { min-height: 0; padding-top: 48px; }
  .header-overlay .home-hero { padding-top: calc(var(--header-h) + 48px); }
  .home-hero::after {
    background:
      linear-gradient(180deg, rgba(238, 231, 241, 0) 70%, rgba(238, 231, 241, .85) 92%, var(--lavender) 100%),
      linear-gradient(180deg, rgba(40, 26, 46, .35) 0%, rgba(40, 26, 46, .55) 60%, rgba(40, 26, 46, .2) 100%);
  }
  .hero-bg > svg, .hero-bg > img { object-position: 75% center; }
  .home-hero.has-photo::after,
  .header-overlay .home-hero.has-photo::after {
    background:
      linear-gradient(180deg, rgba(238, 231, 241, 0) 72%, rgba(238, 231, 241, .85) 93%, var(--lavender) 100%),
      linear-gradient(180deg, rgba(40, 26, 46, .7) 0%, rgba(40, 26, 46, .6) 60%, rgba(40, 26, 46, .25) 100%);
  }
}
@media (max-width: 600px) {
  body { font-size: 1rem; }
  .home-hero:not(.has-photo) .hero-bg { opacity: .35; }
  :root { --header-h: 86px; }
  .logo-h { --H: 60px; }
  .brand-footer .logo-v { --H: 230px; }
  .invite-logo .logo-v { --H: 260px; }
  .logo-v.about-logo { --H: 220px; }
  .menu-label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .menu-toggle { padding: .5rem .7rem; }
  .pr-grid, .dim-grid, .commit-grid, .footer-grid { grid-template-columns: 1fr; }
  .actions .btn { width: 100%; }
  .ci-facts, .ci-facts-lg { grid-template-columns: 1fr; }
  .video-logo { --H: 110px; }
  .figure-arch .figure-frame { max-width: 300px; }
  .figure-inset { width: 34%; left: 0; }
  .announce { font-size: .85rem; }
}

/* Very narrow phones: let the parent-company line wrap under the logo. */
@media (max-width: 380px) {
  :root { --header-h: 99px; }
  .parent-line { max-width: 13.5rem; }
  .parent-line a { white-space: nowrap; }
}

/* About dropdown (About the Institute, Our Team, Locations). Opens on hover or
   keyboard focus on wide screens; listed inline in the mobile menu. */
.site-nav .has-sub { position: relative; }
.site-nav .has-sub.is-section > a { color: var(--plum); box-shadow: inset 0 -2px 0 var(--terracotta); border-radius: 10px 10px 0 0; }
.site-nav .subnav {
  display: none; position: absolute; top: 100%; left: 0; z-index: 20;
  flex-direction: column; gap: 0; min-width: 13rem; padding: .4rem;
  background: var(--cream); border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow);
}
.site-nav .has-sub:hover > .subnav, .site-nav .has-sub:focus-within > .subnav { display: flex; }
.site-nav .subnav a[aria-current="page"] { box-shadow: inset 3px 0 0 var(--terracotta); border-radius: 0 10px 10px 0; background: var(--lavender); }
@media (min-width: 1321px) {
  .js .header-overlay .site-header:not(.is-scrolled):not(.menu-open) .site-nav .subnav a { color: var(--charcoal); }
  .js .header-overlay .site-header:not(.is-scrolled):not(.menu-open) .site-nav .subnav a:hover { background: var(--lavender); color: var(--plum); }
}
@media (max-width: 1320px) {
  .site-nav .subnav { display: flex; position: static; min-width: 0; padding: 0; background: none; border: 0; box-shadow: none; }
  .site-nav .has-sub > a { display: none; }
  .site-nav .has-sub.is-section > a { box-shadow: none; }
}

/* Footer office addresses */
.footer-h-next { margin-top: 1.6rem; }
.footer-offices { display: grid; gap: 1rem; }
.footer-office { margin: 0; line-height: 1.5; }
.footer-office a { display: block; font-family: var(--serif); font-size: 1.05rem; text-decoration: none; margin-bottom: .1rem; }
.footer-office a:hover { text-decoration: underline; }
.footer-office span { display: block; color: #DCCFDD; }
/* Couples Intensive facts: the location links to the Locations page */
.ci-facts .fact-location dd > a { color: inherit; text-decoration: underline; text-decoration-color: var(--terracotta); text-underline-offset: 3px; }
.ci-facts .fact-location dd > a:hover { color: var(--plum); text-decoration-thickness: 2px; }
.footer-inquiry { margin-top: 1.4rem; }

/* Privacy Policy */
.privacy-body h2 { margin-top: 2.2rem; }
.privacy-body h2:first-child { margin-top: 0; }
.privacy-important { margin-bottom: 2.2rem; }
.privacy-important p { margin: 0; }

/* Couples Intensive: included / payment lists */
.ci-details h3 { margin-top: 1.8rem; }
.apply-before { margin-top: 1.6rem; }
.apply-before h2 { margin-top: 0; }
