/* ========== PAIRS4Me — components ========== */

/* brand background pattern: tiled eight-petal mark, low contrast (Brand Backgrounds, p.9) */
.pattern { position: relative; isolation: isolate; }
.pattern::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; opacity: 0.12;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='120' height='120' viewBox='0 0 120 120'><g fill='none' stroke='white' stroke-width='3' transform='translate(60 60)'><ellipse rx='8' ry='26' cy='-26'/><ellipse rx='8' ry='26' cy='-26' transform='rotate(45)'/><ellipse rx='8' ry='26' cy='-26' transform='rotate(90)'/><ellipse rx='8' ry='26' cy='-26' transform='rotate(135)'/><ellipse rx='8' ry='26' cy='-26' transform='rotate(180)'/><ellipse rx='8' ry='26' cy='-26' transform='rotate(225)'/><ellipse rx='8' ry='26' cy='-26' transform='rotate(270)'/><ellipse rx='8' ry='26' cy='-26' transform='rotate(315)'/></g></svg>");
  background-size: 120px 120px;
}
.pattern--dark::before { opacity: 0.032; background-size: 96px 96px; }
.pattern--light::before {
  opacity: 0.4;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='120' height='120' viewBox='0 0 120 120'><g fill='none' stroke='%23DCE1EE' stroke-width='3' transform='translate(60 60)'><ellipse rx='8' ry='26' cy='-26'/><ellipse rx='8' ry='26' cy='-26' transform='rotate(45)'/><ellipse rx='8' ry='26' cy='-26' transform='rotate(90)'/><ellipse rx='8' ry='26' cy='-26' transform='rotate(135)'/><ellipse rx='8' ry='26' cy='-26' transform='rotate(180)'/><ellipse rx='8' ry='26' cy='-26' transform='rotate(225)'/><ellipse rx='8' ry='26' cy='-26' transform='rotate(270)'/><ellipse rx='8' ry='26' cy='-26' transform='rotate(315)'/></g></svg>");
}
[data-theme="dark"] .pattern--light::before { opacity: 0.08; background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='120' height='120' viewBox='0 0 120 120'><g fill='none' stroke='white' stroke-width='3' transform='translate(60 60)'><ellipse rx='8' ry='26' cy='-26'/><ellipse rx='8' ry='26' cy='-26' transform='rotate(45)'/><ellipse rx='8' ry='26' cy='-26' transform='rotate(90)'/><ellipse rx='8' ry='26' cy='-26' transform='rotate(135)'/><ellipse rx='8' ry='26' cy='-26' transform='rotate(180)'/><ellipse rx='8' ry='26' cy='-26' transform='rotate(225)'/><ellipse rx='8' ry='26' cy='-26' transform='rotate(270)'/><ellipse rx='8' ry='26' cy='-26' transform='rotate(315)'/></g></svg>"); }

/* ---------- layout primitives ---------- */
.container { width: min(100% - 2 * var(--space-5), var(--container)); margin-inline: auto; }
.container--narrow { max-width: 50rem; }
.section { padding-block: clamp(var(--space-16), 7vw, var(--space-28, 7rem)); }
.section--tight { padding-block: clamp(var(--space-12), 5vw, var(--space-20)); }
.section--navy { background: var(--color-surface-navy); color: var(--color-text-inverse); }
.section--navy p, .section--navy li { color: rgba(251, 250, 247, 0.84); }
.section--navy h1, .section--navy h2, .section--navy h3 { color: #fff; }
.section--alt { background: var(--color-surface-2); }
.section--yellow { background: var(--sunrise-yellow); color: var(--pairs-navy); }
.section--yellow h2, .section--yellow h3, .section--yellow p { color: var(--pairs-navy); }

.kicker { display: inline-flex; align-items: center; gap: var(--space-3); font-size: var(--text-sm); font-weight: 700; color: var(--color-accent); margin-bottom: var(--space-4); }
.kicker::before { content: ""; width: 2rem; height: 3px; border-radius: 2px; background: var(--sunrise-yellow); }
.section--navy .kicker { color: #fff; }
.h1 { font-size: var(--text-2xl); font-weight: 800; color: var(--color-primary); }
.h2 { font-size: var(--text-xl); font-weight: 800; color: var(--color-primary); }
.h3 { font-size: var(--text-lg); font-weight: 700; color: var(--color-primary); }
.hl { color: var(--sunrise-yellow); }
.section--yellow .hl, .on-light .hl { color: var(--sky-blue); }
.light { font-weight: 300; }
.lede { font-size: var(--text-lg); font-weight: 300; line-height: 1.5; color: var(--color-text-muted); max-width: 58ch; }
.lede strong { font-weight: 700; color: var(--color-text); }
.measure { max-width: 64ch; }
.muted { color: var(--color-text-muted); }
.small { font-size: var(--text-sm); }
.section-head { display: grid; gap: var(--space-4); margin-bottom: clamp(var(--space-10), 5vw, var(--space-16)); }
.section-head--split { align-items: end; }
@media (min-width: 56rem) { .section-head--split { grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: var(--space-12); } }
.center { text-align: center; }
.center .kicker { justify-content: center; }
.center .lede { margin-inline: auto; }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: var(--space-2); padding: 0.9rem 1.4rem; border-radius: 999px; font-size: var(--text-sm); font-weight: 700; text-decoration: none; line-height: 1; transition: background 0.2s var(--ease), color 0.2s var(--ease), transform 0.2s var(--ease), border-color 0.2s var(--ease), box-shadow 0.2s var(--ease); white-space: nowrap; border: 1.5px solid transparent; max-width: 100%; }
@media (max-width: 40rem) { .btn { white-space: normal; text-align: center; line-height: 1.25; } }
.btn svg { width: 1em; height: 1em; flex: none; }
.btn:hover { transform: translateY(-1px); }
.btn--primary { background: var(--pairs-navy); color: #fff; }
.btn--primary:hover { background: #2B3C78; }
[data-theme="dark"] .btn--primary { background: #fff; color: var(--pairs-navy); }
.btn--yellow { background: var(--sunrise-yellow); color: var(--pairs-navy); }
.btn--yellow:hover { background: #F5C73A; box-shadow: 0 6px 18px rgba(239,186,28,0.35); }
.btn--ghost { border-color: currentColor; color: var(--color-primary); background: transparent; }
.btn--ghost:hover { background: var(--color-accent-soft); }
.btn--light { background: #fff; color: var(--pairs-navy); }
.btn--light:hover { background: #EEF2FB; }
.btn--outline-light { border-color: rgba(255,255,255,0.6); color: #fff; }
.btn--outline-light:hover { border-color: #fff; background: rgba(255,255,255,0.08); }
.btn--lg { padding: 1.05rem 1.7rem; font-size: var(--text-base); }
.btn-row { display: flex; flex-wrap: wrap; gap: var(--space-3); }

.textlink { display: inline-flex; align-items: center; gap: var(--space-2); font-weight: 700; font-size: var(--text-sm); color: var(--color-link); text-decoration: none; }
.textlink svg { width: 1em; height: 1em; transition: transform 0.2s var(--ease); }
.textlink:hover svg { transform: translateX(3px); }
.textlink:hover { text-decoration: underline; }
.section--navy .textlink { color: var(--sunrise-yellow); }

/* ---------- header ---------- */
.header { position: sticky; top: 0; z-index: 50; background: color-mix(in srgb, var(--color-bg) 90%, transparent); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-bottom: 1px solid transparent; transition: border-color 0.3s, box-shadow 0.3s; }
.header--scrolled { border-color: var(--color-divider); box-shadow: var(--shadow-sm); }
.header__inner { display: flex; align-items: center; justify-content: space-between; gap: var(--space-4); min-height: 4.75rem; }
.brand { display: inline-flex; align-items: center; gap: var(--space-3); text-decoration: none; color: var(--color-primary); flex: none; }
.brand img { height: 3.4rem; width: auto; max-width: none; }
.img-dark { display: none; }
[data-theme="dark"] .img-light { display: none; }
[data-theme="dark"] .img-dark { display: block; }
.nav { display: none; }
.nav ul { list-style: none; display: flex; gap: 0.125rem; }
.nav a { display: inline-block; padding: var(--space-2) 0.6rem; font-size: var(--text-sm); font-weight: 600; white-space: nowrap; color: var(--color-text); text-decoration: none; border-radius: var(--radius-sm); transition: background 0.2s; }
.nav a:hover { background: var(--color-accent-soft); color: var(--color-primary); }
.nav a[aria-current="page"] { color: var(--color-primary); box-shadow: inset 0 -3px 0 var(--sunrise-yellow); border-radius: 0; }
.header__actions { display: flex; align-items: center; gap: var(--space-2); }
.header__actions .btn { display: none; }
.icon-btn { display: inline-grid; place-items: center; width: 2.5rem; height: 2.5rem; border-radius: 50%; color: var(--color-text); transition: background 0.2s; }
.icon-btn:hover { background: var(--color-accent-soft); }
.icon-btn svg { width: 1.25rem; height: 1.25rem; }
.theme-toggle .icon-moon { display: none; }
[data-theme="dark"] .theme-toggle .icon-sun { display: none; }
[data-theme="dark"] .theme-toggle .icon-moon { display: block; }
.menu-btn .icon-close { display: none; }
.menu-btn[aria-expanded="true"] .icon-menu { display: none; }
.menu-btn[aria-expanded="true"] .icon-close { display: block; }
@media (min-width: 76rem) {
  .nav { display: block; }
  .menu-btn { display: none; }
  .header__actions .btn { display: inline-flex; }
}
.mobile-nav { display: grid; grid-template-rows: 0fr; transition: grid-template-rows 0.35s var(--ease); border-top: 1px solid transparent; }
.mobile-nav[data-open="true"] { grid-template-rows: 1fr; border-color: var(--color-divider); }
.mobile-nav > div { overflow: hidden; }
.mobile-nav ul { list-style: none; padding-block: var(--space-4); display: grid; }
.mobile-nav li a { display: block; padding: var(--space-3) 0; font-weight: 600; text-decoration: none; color: var(--color-text); border-bottom: 1px solid var(--color-divider); }
.mobile-nav li a[aria-current="page"] { color: var(--color-accent); }
.mobile-nav .btn-row { padding: var(--space-4) 0 var(--space-6); }
@media (min-width: 76rem) { .mobile-nav { display: none; } }

/* ---------- hero (home) ---------- */
.hero { position: relative; overflow: hidden; background: var(--color-surface-navy); color: #fff; }
.hero__grid > * { min-width: 0; }
.hero__grid { display: grid; gap: var(--space-10); padding-block: clamp(var(--space-16), 8vw, var(--space-24)); align-items: center; }
@media (min-width: 60rem) { .hero__grid { grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: var(--space-16); } }
.hero .kicker { color: #fff; }
.hero h1 { font-size: clamp(2.4rem, 1.2rem + 3vw, 3.9rem); font-weight: 800; color: #fff; line-height: 1.06; }
.hero h1 .light { font-weight: 300; }
.hero .lede { color: rgba(255,255,255,0.84); font-weight: 300; margin-top: var(--space-6); }
.hero .lede strong { color: #fff; }
.hero .btn-row { margin-top: var(--space-8); }
.hero__meta { display: flex; flex-wrap: wrap; gap: var(--space-5) var(--space-8); margin-top: var(--space-10); padding-top: var(--space-6); border-top: 1px solid rgba(255,255,255,0.15); }
.hero__meta div { display: grid; gap: 0.125rem; }
.hero__meta strong { font-size: var(--text-lg); font-weight: 800; color: var(--sunrise-yellow); line-height: 1; }
.hero__meta span { font-size: var(--text-xs); color: rgba(255,255,255,0.7); }
.hero__mosaic { display: grid; grid-template-columns: repeat(3, 1fr); grid-template-rows: repeat(4, 1fr); gap: 0.6rem; aspect-ratio: 3 / 4; max-width: 34rem; width: 100%; margin-inline: auto; }
.hero__mosaic > * { border-radius: var(--radius-md); overflow: hidden; min-height: 0; }
.hero__mosaic img { width: 100%; height: 100%; object-fit: cover; }
.hero__mosaic .tile { display: grid; place-items: center; color: #fff; text-align: center; }
.hero__mosaic .tile:not(:has(img)) { padding: var(--space-3); }
.hero__mosaic .tile svg { width: 42%; height: 42%; }
.hero__mosaic .tile--wide { grid-column: span 2; }
.hero__mosaic .tile--tall { grid-row: span 2; }
.hero__mosaic .tile--text { font-weight: 700; font-size: var(--text-sm); line-height: 1.3; }
.hero__mosaic .tile--text .light { font-weight: 300; display: block; }

/* page hero (inner pages) */
.page-hero { position: relative; overflow: hidden; background: var(--color-surface-navy); color: #fff; }
.page-hero__inner > * { min-width: 0; }
.page-hero__inner { display: grid; gap: var(--space-8); padding-block: clamp(var(--space-16), 7vw, var(--space-24)); align-items: center; }
@media (min-width: 60rem) { .page-hero__inner { grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); gap: var(--space-16); } }
.page-hero h1 { font-size: var(--text-2xl); font-weight: 800; color: #fff; }
.page-hero .kicker { color: #fff; }
.page-hero .lede { color: rgba(255,255,255,0.84); margin-top: var(--space-5); }
.page-hero .lede strong { color: #fff; }
.page-hero .btn-row { margin-top: var(--space-8); }
.page-hero__media { border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 4 / 3; box-shadow: var(--shadow-md); }
.page-hero__media img { width: 100%; height: 100%; object-fit: cover; }
.page-hero--photo .page-hero__inner { grid-template-columns: 1fr; }
.page-hero--photo { background: none; }
.page-hero--photo .page-hero__bg { position: absolute; inset: 0; z-index: -1; }
.page-hero--photo .page-hero__bg img { width: 100%; height: 100%; object-fit: cover; }
.page-hero--photo .page-hero__bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(33,46,92,0.94) 0%, rgba(33,46,92,0.78) 55%, rgba(33,46,92,0.45) 100%); }
.page-hero--photo .page-hero__copy { max-width: 42rem; }

/* ---------- statement ("The goal is bonding.") ---------- */
.statement { display: grid; gap: var(--space-8); align-items: center; }
.statement > * { min-width: 0; }
@media (min-width: 56rem) { .statement { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: var(--space-16); } }
.statement h2 { font-size: var(--text-2xl); font-weight: 300; line-height: 1.1; color: var(--color-primary); }
.statement h2 mark { background: var(--sunrise-yellow); color: var(--pairs-navy); font-weight: 800; padding: 0.05em 0.25em; border-radius: 0.1em; box-decoration-break: clone; -webkit-box-decoration-break: clone; }
.statement h2 mark.sky { background: var(--sky-blue); color: #fff; }
.statement h2 mark.leaf { background: var(--leaf-green); color: #fff; }
.statement h2 mark.coral { background: var(--coral); color: #fff; }
.statement__media { border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 4 / 3; box-shadow: var(--shadow-md); }
.statement__media img { width: 100%; height: 100%; object-fit: cover; }
.statement__quote { font-size: var(--text-base); color: var(--color-text-muted); margin-top: var(--space-6); font-weight: 300; }
.statement__quote strong { font-weight: 700; color: var(--color-text); }

/* ---------- cards ---------- */
.grid { display: grid; gap: var(--space-5); }
.grid > * { min-width: 0; }
.grid--2 { grid-template-columns: 1fr; }
.grid--3 { grid-template-columns: 1fr; }
.grid--4 { grid-template-columns: 1fr 1fr; }
@media (min-width: 40rem) { .grid--2, .grid--3 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 60rem) { .grid--3 { grid-template-columns: repeat(3, 1fr); } .grid--4 { grid-template-columns: repeat(4, 1fr); } }

.card { background: var(--color-surface); border: 1px solid var(--color-border); border-radius: var(--radius-lg); overflow: hidden; display: flex; flex-direction: column; transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease); }
a.card { text-decoration: none; color: inherit; }
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.card__media { aspect-ratio: 3 / 2; overflow: hidden; position: relative; }
.card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s var(--ease); }
.card:hover .card__media img { transform: scale(1.04); }
.card__body { padding: var(--space-6); display: grid; gap: var(--space-3); align-content: start; flex: 1; }
.card__body h3 { font-size: var(--text-lg); font-weight: 700; color: var(--color-primary); }
.card__body p { color: var(--color-text-muted); font-size: var(--text-sm); }
.card__body .textlink { margin-top: auto; padding-top: var(--space-2); }
.card--bar { border-top: 6px solid var(--card-color, var(--sunrise-yellow)); }
.card__tag { display: inline-block; font-size: var(--text-xs); font-weight: 700; color: var(--card-color, var(--color-accent)); }

/* icon tiles (brand icons, white on brand color) */
.tile-icon { width: 3.25rem; height: 3.25rem; border-radius: var(--radius-md); display: grid; place-items: center; background: var(--tile, var(--pairs-navy)); color: #fff; flex: none; }
.tile-icon svg { width: 1.6rem; height: 1.6rem; }

/* feature list (icon + text) */
.features { display: grid; gap: var(--space-6); }
@media (min-width: 40rem) { .features { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 60rem) { .features--3 { grid-template-columns: repeat(3, 1fr); } }
.feature { display: grid; grid-template-columns: auto 1fr; gap: var(--space-4); align-items: start; }
.feature h3 { font-size: var(--text-base); font-weight: 700; color: var(--color-primary); margin-bottom: var(--space-1); }
.feature p { font-size: var(--text-sm); color: var(--color-text-muted); }
.section--navy .feature p { color: rgba(255,255,255,0.78); }
.section--navy .feature h3 { color: #fff; }
.section--navy .tile-icon { background: rgba(255,255,255,0.1); color: var(--sunrise-yellow); }

/* audience paths */
.paths { display: grid; gap: var(--space-4); }
@media (min-width: 40rem) { .paths { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 64rem) { .paths { grid-template-columns: repeat(4, 1fr); } }
.path { position: relative; display: grid; align-content: end; min-height: 22rem; border-radius: var(--radius-lg); overflow: hidden; color: #fff; text-decoration: none; isolation: isolate; }
.path img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform 0.7s var(--ease); }
.path::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(33,46,92,0) 30%, rgba(33,46,92,0.92) 100%); }
.path:hover img { transform: scale(1.05); }
.path__body { padding: var(--space-6); display: grid; gap: var(--space-2); }
.path__label { font-size: var(--text-xs); font-weight: 700; color: var(--path-color, var(--sunrise-yellow)); }
.path h3 { font-size: var(--text-lg); font-weight: 800; color: #fff; }
.path p { font-size: var(--text-sm); color: rgba(255,255,255,0.85); }
.path .textlink { color: #fff; margin-top: var(--space-2); }

/* mosaic (visual universe) */
.mosaic { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.5rem; }
@media (min-width: 48rem) { .mosaic { grid-template-columns: repeat(6, 1fr); } }
.mosaic > * { aspect-ratio: 1; border-radius: var(--radius-sm); overflow: hidden; display: grid; place-items: center; color: #fff; text-align: center; }
.mosaic > *:not(:has(img)) { padding: var(--space-3); }
.mosaic img { width: 100%; height: 100%; object-fit: cover; }
.mosaic svg { width: 40%; height: 40%; }
.mosaic .word { font-weight: 700; font-size: clamp(0.75rem, 1.4vw, 1rem); line-height: 1.25; }
.mosaic .word .light { font-weight: 300; display: block; }

/* steps */
.steps { display: grid; gap: var(--space-4); counter-reset: step; }
.step { display: grid; grid-template-columns: auto 1fr; gap: var(--space-5); padding: var(--space-5) var(--space-6); background: var(--color-surface); border: 1px solid var(--color-border); border-radius: var(--radius-md); }
.step::before { counter-increment: step; content: counter(step); display: grid; place-items: center; width: 2.5rem; height: 2.5rem; border-radius: 50%; background: var(--sunrise-yellow); color: var(--pairs-navy); font-weight: 800; font-size: var(--text-sm); }
.step h3 { font-size: var(--text-base); font-weight: 700; color: var(--color-primary); }
.step p { font-size: var(--text-sm); color: var(--color-text-muted); margin-top: var(--space-1); }

/* cohorts */
.cohorts { display: grid; gap: var(--space-4); }
@media (min-width: 48rem) { .cohorts { grid-template-columns: repeat(3, 1fr); } }
.cohort { background: var(--color-surface); border: 1px solid var(--color-border); border-radius: var(--radius-lg); padding: var(--space-6); display: grid; gap: var(--space-2); }
.cohort__date { font-size: var(--text-xl); font-weight: 800; color: var(--color-primary); line-height: 1; }
.cohort__date small { display: block; font-size: var(--text-sm); font-weight: 600; color: var(--color-accent); margin-bottom: var(--space-2); }
.cohort p { font-size: var(--text-sm); color: var(--color-text-muted); }
.cohort .pill { justify-self: start; }
.pill { display: inline-block; padding: 0.3rem 0.7rem; border-radius: 999px; font-size: var(--text-xs); font-weight: 700; background: var(--color-accent-soft); color: var(--color-accent); }
.pill--yellow { background: var(--sunrise-yellow); color: var(--pairs-navy); }
.pill--green { background: #E6F3D6; color: var(--forest-green); }
.pill--past { background: var(--color-surface-2); color: var(--color-text-faint); }

/* pricing */
.plans { display: grid; gap: var(--space-5); }
@media (min-width: 56rem) { .plans { grid-template-columns: repeat(2, 1fr); } }
.plan { background: var(--color-surface); border: 1px solid var(--color-border); border-radius: var(--radius-lg); padding: var(--space-8); display: grid; gap: var(--space-4); align-content: start; }
.plan--featured { border-color: var(--pairs-navy); box-shadow: var(--shadow-md); }
.plan__price { font-size: var(--text-2xl); font-weight: 800; color: var(--color-primary); line-height: 1; }
.plan__price small { font-size: var(--text-sm); font-weight: 500; color: var(--color-text-muted); }
.plan ul { list-style: none; display: grid; gap: var(--space-2); }
.plan li { display: grid; grid-template-columns: auto 1fr; gap: var(--space-3); font-size: var(--text-sm); color: var(--color-text-muted); }
.plan li::before { content: ""; width: 1.1rem; height: 1.1rem; border-radius: 50%; background: var(--leaf-green) url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'><path d='M5 13l4 4L19 7'/></svg>") center / 60% no-repeat; margin-top: 0.2rem; }

/* people */
.people { display: grid; gap: var(--space-5); }
@media (min-width: 40rem) { .people { grid-template-columns: repeat(2, 1fr); } }
.person { display: grid; grid-template-columns: auto 1fr; gap: var(--space-4); align-items: center; padding: var(--space-5); background: var(--color-surface); border: 1px solid var(--color-border); border-radius: var(--radius-lg); }
.person__avatar { width: 3.5rem; height: 3.5rem; border-radius: 50%; display: grid; place-items: center; font-weight: 800; color: #fff; background: var(--avatar, var(--royal-blue)); font-size: var(--text-base); }
.person h3 { font-size: var(--text-base); font-weight: 700; color: var(--color-primary); }
.person p { font-size: var(--text-sm); color: var(--color-text-muted); }

/* testimonials */
.quotes { display: grid; gap: var(--space-5); }
@media (min-width: 56rem) { .quotes { grid-template-columns: repeat(3, 1fr); } }
.quote { background: var(--color-surface); border: 1px solid var(--color-border); border-radius: var(--radius-lg); padding: var(--space-8); display: grid; gap: var(--space-5); border-top: 6px solid var(--q, var(--sunrise-yellow)); }
.quote blockquote { margin: 0; font-size: var(--text-base); font-weight: 300; line-height: 1.55; color: var(--color-text); }
.quote blockquote strong { font-weight: 700; }
.quote cite { font-style: normal; font-size: var(--text-sm); font-weight: 700; color: var(--color-accent); }
.quote--big { grid-column: 1 / -1; }
.quote--big blockquote { font-size: var(--text-lg); max-width: 52rem; }

/* accordion */
.accordion { display: grid; gap: var(--space-3); }
.accordion details { background: var(--color-surface); border: 1px solid var(--color-border); border-radius: var(--radius-md); padding: 0 var(--space-6); }
.accordion summary { list-style: none; cursor: pointer; padding: var(--space-5) 0; display: flex; justify-content: space-between; align-items: center; gap: var(--space-4); font-weight: 700; color: var(--color-primary); }
.accordion summary::-webkit-details-marker { display: none; }
.accordion summary::after { content: ""; flex: none; width: 1.5rem; height: 1.5rem; border-radius: 50%; background: var(--sunrise-yellow) url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23212E5C' stroke-width='3' stroke-linecap='round'><path d='M12 5v14M5 12h14'/></svg>") center / 60% no-repeat; transition: transform 0.3s var(--ease); }
.accordion details[open] summary::after { transform: rotate(45deg); }
.accordion details > div { padding-bottom: var(--space-6); color: var(--color-text-muted); font-size: var(--text-sm); }
.accordion details > div p + p { margin-top: var(--space-3); }

/* callout */
.callout { display: grid; gap: var(--space-6); padding: clamp(var(--space-8), 4vw, var(--space-12)); border-radius: var(--radius-lg); background: var(--color-surface-navy); color: #fff; align-items: center; }
@media (min-width: 56rem) { .callout { grid-template-columns: minmax(0, 1fr) auto; } }
.callout h2, .callout h3 { color: #fff; font-size: var(--text-xl); font-weight: 800; }
.callout p { color: rgba(255,255,255,0.82); margin-top: var(--space-3); font-weight: 300; }
.callout p strong { color: #fff; font-weight: 700; }
.callout--yellow { background: var(--sunrise-yellow); color: var(--pairs-navy); }
.callout--yellow h2, .callout--yellow h3, .callout--yellow p, .callout--yellow p strong { color: var(--pairs-navy); }
.callout--sky { background: var(--sky-blue); }

/* forms */
.form { display: grid; gap: var(--space-4); }
.form__row { display: grid; gap: var(--space-4); }
@media (min-width: 40rem) { .form__row { grid-template-columns: 1fr 1fr; } }
.field { display: grid; gap: var(--space-2); }
.field label { font-size: var(--text-sm); font-weight: 700; color: var(--color-primary); }
.field label small { font-weight: 400; color: var(--color-text-faint); }
.field input, .field select, .field textarea { font: inherit; font-size: var(--text-sm); width: 100%; padding: 0.8rem 1rem; border: 1.5px solid var(--color-border); border-radius: var(--radius-sm); background: var(--color-surface); color: var(--color-text); }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--sky-blue); box-shadow: 0 0 0 3px rgba(44,168,224,0.2); }
.field textarea { min-height: 8rem; resize: vertical; }
.form__note { font-size: var(--text-xs); color: var(--color-text-faint); }
.form__result { display: none; padding: var(--space-5); border-radius: var(--radius-md); background: var(--color-accent-soft); color: var(--color-text); font-size: var(--text-sm); }
.form__result[data-show="true"] { display: grid; gap: var(--space-3); }
.form__result pre { white-space: pre-wrap; font: inherit; margin: 0; padding: var(--space-4); background: var(--color-surface); border-radius: var(--radius-sm); border: 1px solid var(--color-border); user-select: all; }
.form__result .btn-row { gap: var(--space-2); }

/* contact strip */
.contact-grid { display: grid; gap: var(--space-5); }
@media (min-width: 56rem) { .contact-grid { grid-template-columns: repeat(3, 1fr); } }
.contact-card { background: var(--color-surface); border: 1px solid var(--color-border); border-radius: var(--radius-lg); padding: var(--space-6); display: grid; gap: var(--space-3); align-content: start; }
.contact-card h3 { font-size: var(--text-sm); font-weight: 700; color: var(--color-accent); }
.contact-card a, .contact-card p { font-size: var(--text-base); font-weight: 600; color: var(--color-text); text-decoration: none; word-break: break-word; }
.contact-card a:hover { text-decoration: underline; }
.contact-card .small { font-weight: 400; color: var(--color-text-muted); }

/* books */
.books { display: grid; gap: var(--space-6); }
@media (min-width: 56rem) { .books { grid-template-columns: repeat(3, 1fr); } }
.book { display: grid; gap: var(--space-4); align-content: start; }
.book__cover { width: 9rem; aspect-ratio: 2 / 3; border-radius: 0.35rem; overflow: hidden; box-shadow: 0 10px 24px rgba(33,46,92,0.25); }
.book__cover--square { aspect-ratio: 1; }
.book__cover img { width: 100%; height: 100%; object-fit: cover; }
.book h3 { font-size: var(--text-lg); font-weight: 800; color: var(--color-primary); }
.book p { font-size: var(--text-sm); color: var(--color-text-muted); }
.section--navy .book h3 { color: #fff; }
.section--navy .book p { color: rgba(255,255,255,0.8); }
.cohort--soon { border-style: dashed; background: transparent; }
.cohort--soon .cohort__date { color: var(--color-text-muted); }

/* yodi */
.yodi { display: grid; gap: var(--space-10); align-items: center; }
@media (min-width: 56rem) { .yodi { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: var(--space-16); } }
.yodi > * { min-width: 0; }
.yodi__media img { width: 100%; max-width: 32rem; margin-inline: auto; }
.store-badges { display: flex; flex-wrap: wrap; gap: var(--space-3); }
.store-badge { display: inline-flex; align-items: center; gap: var(--space-3); padding: 0.6rem 1.1rem 0.6rem 0.9rem; border-radius: 0.6rem; background: #0F1526; color: #fff; text-decoration: none; border: 1px solid rgba(255,255,255,0.15); line-height: 1.1; }
.store-badge svg { width: 1.6rem; height: 1.6rem; }
.store-badge small { display: block; font-size: 0.62rem; font-weight: 500; opacity: 0.8; }
.store-badge strong { font-size: var(--text-sm); font-weight: 700; }
[data-theme="dark"] .store-badge { background: #fff; color: var(--pairs-navy); border-color: transparent; }

/* timeline */
.timeline { display: grid; gap: var(--space-6); position: relative; padding-left: var(--space-8); }
.timeline::before { content: ""; position: absolute; left: 0.45rem; top: 0.5rem; bottom: 0.5rem; width: 2px; background: var(--color-border); }
.timeline li { list-style: none; position: relative; }
.timeline li::before { content: ""; position: absolute; left: calc(-1 * var(--space-8) + 0.05rem); top: 0.35rem; width: 0.85rem; height: 0.85rem; border-radius: 50%; background: var(--sunrise-yellow); box-shadow: 0 0 0 3px var(--color-bg); }
.timeline strong { display: block; font-weight: 800; color: var(--color-primary); }
.timeline p { font-size: var(--text-sm); color: var(--color-text-muted); margin-top: var(--space-1); }

/* insight cards (research) */
.insights { display: grid; gap: var(--space-4); }
@media (min-width: 40rem) { .insights { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 60rem) { .insights { grid-template-columns: repeat(3, 1fr); } }
.insight { padding: var(--space-8) var(--space-6); border-radius: var(--radius-md); color: #fff; background: var(--c, var(--royal-blue)); font-size: var(--text-base); font-weight: 300; line-height: 1.45; display: grid; align-content: center; min-height: 11rem; text-align: center; }
.insight strong { font-weight: 800; }
.insight--yellow { color: var(--pairs-navy); }

/* stripe embed */
.donate-box { background: var(--color-surface); border: 1px solid var(--color-border); border-radius: var(--radius-lg); padding: var(--space-8); display: grid; gap: var(--space-5); justify-items: center; text-align: center; }
.tiers { display: grid; gap: var(--space-4); }
@media (min-width: 40rem) { .tiers { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 60rem) { .tiers { grid-template-columns: repeat(4, 1fr); } }
.tier { padding: var(--space-6); border-radius: var(--radius-md); background: var(--color-surface); border: 1px solid var(--color-border); display: grid; gap: var(--space-2); border-top: 6px solid var(--t, var(--sunrise-yellow)); }
.tier strong { font-size: var(--text-xl); font-weight: 800; color: var(--color-primary); }
.tier p { font-size: var(--text-sm); color: var(--color-text-muted); }

/* video */
.video { position: relative; aspect-ratio: 16 / 9; border-radius: var(--radius-lg); overflow: hidden; background: var(--pairs-navy); box-shadow: var(--shadow-md); }
.video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* footer */
.footer { background: var(--color-surface-navy-2); color: rgba(255,255,255,0.8); padding-block: var(--space-16) var(--space-8); }
.footer__grid { display: grid; gap: var(--space-10); }
@media (min-width: 56rem) { .footer__grid { grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: var(--space-12); } }
.footer h3 { font-size: var(--text-sm); font-weight: 700; color: #fff; margin-bottom: var(--space-4); }
.footer ul { list-style: none; display: grid; gap: var(--space-2); }
.footer a { color: rgba(255,255,255,0.8); text-decoration: none; font-size: var(--text-sm); }
.footer a:hover { color: #fff; text-decoration: underline; }
.footer p { font-size: var(--text-sm); }
.footer__brand img { height: 4rem; width: auto; margin-bottom: var(--space-4); }
.footer__bottom { margin-top: var(--space-12); padding-top: var(--space-6); border-top: 1px solid rgba(255,255,255,0.12); display: flex; flex-wrap: wrap; gap: var(--space-3) var(--space-6); justify-content: space-between; font-size: var(--text-xs); color: rgba(255,255,255,0.6); }
.footer__bottom a { font-size: inherit; }
.social { display: flex; gap: var(--space-2); margin-top: var(--space-4); }
.social a { display: grid; place-items: center; width: 2.25rem; height: 2.25rem; border-radius: 50%; background: rgba(255,255,255,0.08); }
.social a:hover { background: rgba(255,255,255,0.18); }
.social svg { width: 1.1rem; height: 1.1rem; fill: currentColor; }

/* reveal */
.reveal { opacity: 0; transform: translateY(14px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
.reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; } }

/* prose */
.prose { display: grid; gap: var(--space-4); font-size: var(--text-base); color: var(--color-text); }
.prose h2 { font-size: var(--text-xl); font-weight: 800; color: var(--color-primary); margin-top: var(--space-6); }
.prose h3 { font-size: var(--text-lg); font-weight: 700; color: var(--color-primary); margin-top: var(--space-4); }
.prose ul { padding-left: 1.2rem; display: grid; gap: var(--space-2); }
.prose li::marker { color: var(--sunrise-yellow); }
.prose p { font-weight: 300; }
.prose p strong, .prose li strong { font-weight: 700; }

/* 404 */
.notfound { min-height: 70vh; display: grid; place-items: center; text-align: center; padding-block: var(--space-16); }
