/* home.css (owner H): the two homepages. Concept A (h-, Korowa-led) and Concept B (b-, Quaker devices). Tokens: tokens.css. Numbers: research/DNA.md. */
.h-head { display: grid; gap: var(--s-15); justify-items: center; text-align: center; max-width: 44rem; margin: 0 auto var(--s-4); }
.h-head .eyebrow { justify-content: center; }
.h-head--left { justify-items: start; text-align: left; max-width: none; margin: 0 0 var(--s-5); }
.h-head--left .lead { max-width: 40rem; }
.h-head--next { margin-bottom: var(--s-3); }
.h-head__l { max-width: 36rem; }
.center { text-align: center; }

/* ---------------------------------------------------------------- A1 hero (DNA 7.1: first words at h1 size, the accent word huge on its own line) */
.h-hero { position: relative; background: var(--black); color: var(--on-dark); overflow: hidden; --em: var(--orange); }
.h-hero__bg, .h-hero__shade { position: absolute; inset: 0; }
.h-hero__bg picture, .h-hero__bg img { width: 100%; height: 100%; object-fit: cover; object-position: 62% 50%; }
/* the hero photo stays still (IMA's post: "not interested in unnecessary animations"; the gate also sampled it mid-zoom). The photo has the girl at the
   left, under the headline, so from 767px it is mirrored (no lettering in the frame) and the visible window shows the lawn on the left, text side. */
@media (min-width: 1024px) { .h-hero__bg img { transform: scaleX(-1); object-position: 100% 50%; } }
/* tablet portrait: no mirror (the girl would leave the narrow window); the photo keeps her in view and ALL the text sits low, under the faces, like on a phone */
@media (min-width: 767px) and (max-width: 1023px) {
  .h-hero__bg img { object-position: 12% 50%; }
  .h-hero__shade { background: linear-gradient(0deg, rgba(0, 0, 0, .88), rgba(0, 0, 0, .7) 55%, rgba(0, 0, 0, .35) 75%, rgba(0, 0, 0, .1)); }
  .h-hero__in { justify-content: flex-end; }
  .h-hero__sub { margin-top: var(--s-3); }
}
.h-hero__shade { background: linear-gradient(90deg, rgba(0, 0, 0, .76), rgba(0, 0, 0, .5) 42%, rgba(0, 0, 0, 0) 72%), linear-gradient(0deg, rgba(0, 0, 0, .55), rgba(0, 0, 0, 0) 42%), linear-gradient(180deg, rgba(0, 0, 0, .4), rgba(0, 0, 0, 0) 26%); }
.h-hero .inner { position: relative; }
.h-hero__in { display: flex; flex-direction: column; min-height: max(100svh, 40rem); padding-top: calc(var(--head-h) + var(--s-6)); padding-bottom: var(--s-6); }
.h-hero__t { display: block; font-weight: 600; line-height: 1; color: var(--on-dark); font-size: var(--step-5); text-wrap: balance; }
.h-hero__n { display: block; max-width: 11em; }
.h-hero__a { display: block; font-style: italic; font-weight: 500; color: var(--orange); font-size: min(10.4vw, 19svh, 13.5rem); line-height: .95; letter-spacing: -.012em; margin-top: -.06em; padding-left: 5vw; white-space: nowrap; }
.h-hero__sub { margin-top: auto; display: grid; gap: var(--s-15); justify-items: start; max-width: 34rem; padding-top: var(--s-3); }
.h-hero__l { color: var(--on-dark); }
.h-hero__act { display: flex; flex-wrap: wrap; gap: var(--s-1); }
.h-hero__s { color: var(--on-dark-2); font-size: var(--step--1); }
/* the concept chip: fixed bottom left from 1024px (the hero's last line clears it by 2rem); below that it sits in this slot as a static row (critic device 3) */
.cs-slot { display: none; }
@media (min-width: 1024px) { .h-hero__in { padding-bottom: max(var(--s-6), 6.5rem); } }
@media (max-width: 1023px) { .cs-slot { display: block; } .cs-slot:empty { display: none; } }
@media (max-width: 766px) {
  .h-hero__shade { background: linear-gradient(0deg, rgba(0, 0, 0, .88), rgba(0, 0, 0, .7) 55%, rgba(0, 0, 0, .35) 75%, rgba(0, 0, 0, .1)); }
  .h-hero__t { font-size: var(--step-4); }
  .h-hero__a { font-size: 16.4vw; padding-left: 0; }
  .h-hero__act .btn { flex: 1 1 100%; }
  .h-hero__in { padding-top: calc(var(--head-h) + var(--s-4)); padding-bottom: var(--s-4); justify-content: flex-end; }   /* all the text sits low, under the faces */
  .h-hero__sub { margin-top: var(--s-3); }
}

/* ---------------------------------------------------------------- A2 statement (black band, one italic phrase) */
.h-state { width: min(90%, 120rem); margin-inline: auto; display: grid; gap: var(--s-2); }
.h-state__t { font-size: var(--step-6); line-height: 1.2; font-weight: 600; color: var(--on-dark); text-wrap: balance; max-width: 22em; }
.h-state__t em { font-style: italic; font-weight: 500; color: var(--orange); }
.h-state__c { color: var(--on-dark-2); font-size: var(--step--1); max-width: 34rem; }
@media (max-width: 990px) { .h-state__t { font-size: var(--step-5); } }
@media (max-width: 478px) { .h-state__t { font-size: var(--step-4); } .h-state { width: 100%; } }

/* ---------------------------------------------------------------- A3 stage picker (DNA 7.3): equal panels, a linen info block opens at the top, the others dim */
.h-stage__list { display: flex; height: clamp(30rem, 70svh, 42rem); overflow: clip; border-radius: var(--r-l) var(--r-l) 0 0; background: var(--linen); }
.h-stage__i { flex: 1 1 0; min-width: 0; }
.h-stage__a { display: flex; flex-direction: column; height: 100%; text-decoration: none; color: var(--ink); position: relative; }
.h-stage__info { display: grid; grid-template-rows: 0fr; background: var(--linen); transition: grid-template-rows .5s var(--ease-ui); }
.h-stage__clip { overflow: hidden; min-height: 0; }
.h-stage__pad { padding: var(--s-15) var(--s-25) var(--s-15); display: grid; gap: 6px; }
.h-stage__age { font-style: italic; font-weight: 500; color: var(--orange-ink); font-size: var(--step-2); line-height: 1.2; }
.h-stage__age--long { font-size: var(--step-0); line-height: 1.3; }   /* the Adults label names both adult classes in full (W5) */
.h-stage__line { font-weight: 600; font-size: var(--step-0); line-height: 1.35; color: var(--ink); }
.h-stage__text { display: none; font-size: var(--step-0); line-height: 1.5; }
.h-stage__go { display: flex; align-items: center; gap: 8px; font-weight: 700; font-size: var(--step--1); letter-spacing: .04em; text-transform: uppercase; color: var(--ink); margin-top: 4px; }
.h-stage__go span { text-decoration: underline; text-decoration-color: var(--orange); text-decoration-thickness: 2px; text-underline-offset: 5px; }
.h-stage__ph { position: relative; flex: 1 1 0; min-height: 0; overflow: hidden; background: #4a463f; }
.h-stage__ph picture, .h-stage__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: var(--pos, 50% 50%); }
.h-stage__grad { position: absolute; inset: 0 0 auto 0; height: 55%; background: linear-gradient(180deg, rgba(17, 17, 17, .5), rgba(17, 17, 17, 0)); pointer-events: none; }
.h-stage__dim { position: absolute; inset: 0; background: #111; opacity: 0; transition: opacity .4s ease; pointer-events: none; }
.h-stage__t { position: absolute; top: var(--s-3); left: 0; right: 0; text-align: center; color: #fff; font-size: var(--step-4); line-height: 1.2; font-weight: 600; padding-inline: 8px; }
.h-stage__a:focus-visible { outline-offset: -6px; box-shadow: none; }
.h-stage__i:focus-within .h-stage__info, .h-stage__i.is-open .h-stage__info { grid-template-rows: 1fr; }
@media (hover: hover) and (min-width: 767px) {
  .h-stage__a:hover .h-stage__info { grid-template-rows: 1fr; }
  .h-stage__list:has(.h-stage__a:hover) .h-stage__a:not(:hover) .h-stage__dim { opacity: .4; }
}
.h-stage__list:has(.h-stage__a:focus-visible) .h-stage__a:not(:focus-visible) .h-stage__dim, .h-stage__list:has(.is-open) .h-stage__i:not(.is-open) .h-stage__dim { opacity: .4; }
@media (max-width: 766px) {
  .h-stage__list { flex-direction: column; height: auto; gap: var(--s-3); overflow: visible; background: none; border-radius: 0; }
  .h-stage__a { height: auto; border-radius: var(--r-l) var(--r-l) 0 0; overflow: clip; background: var(--linen); }
  .h-stage__info { grid-template-rows: 1fr; }
  .h-stage__pad { padding: var(--s-2) var(--s-15); }
  .h-stage__line { display: none; }
  .h-stage__text { display: block; }
  .h-stage__ph { flex: none; aspect-ratio: 4 / 3; }
  .h-stage__t { top: var(--s-15); }
}

/* ---------------------------------------------------------------- A4 Rishi's words */
.h-voice { display: grid; grid-template-columns: minmax(0, 220px) minmax(0, 1fr); gap: var(--s-4); align-items: center; max-width: 64rem; margin-inline: auto; }
.h-voice__ph { border-radius: var(--r-tiny); overflow: hidden; aspect-ratio: 451 / 304; background: var(--linen); }
.h-voice__img, .h-voice__ph picture { width: 100%; height: 100%; object-fit: cover; }
.h-voice__b { display: grid; gap: var(--s-15); justify-items: start; }
.h-voice__q { font-size: var(--step-3); line-height: 1.35; font-weight: 600; color: var(--ink); text-wrap: balance; }
.h-voice__q p::before { content: "\201C"; color: var(--orange-display); } .h-voice__q p::after { content: "\201D"; color: var(--orange-display); }
.h-voice__by { display: grid; gap: 2px; font-size: var(--step-1); }
.h-voice__by strong { font-weight: 600; color: var(--ink); } .h-voice__by span { font-size: var(--step-0); color: var(--grey); }
@media (max-width: 766px) { .h-voice { grid-template-columns: 1fr; gap: var(--s-2); } .h-voice__ph { max-width: 220px; } }

/* ---------------------------------------------------------------- A5 numbers on a calm static dot field */
.h-numsec { position: relative; overflow: hidden; }
.h-dots { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.h-dots--m { display: none; }
.h-num { position: relative; }
.h-num__head { display: grid; gap: var(--s-15); margin-bottom: var(--s-6); }
.h-num__list { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--s-4); align-items: start; }   /* one baseline: no per-item offsets (audit 9) */
.h-num__n { font-family: var(--font-num); font-style: italic; font-weight: 600; font-size: clamp(4.2rem, 8.6vw, 9.5rem); line-height: 1; color: var(--ink); letter-spacing: -.01em; }
.h-num__l { margin-top: var(--s-1); padding-top: var(--s-1); border-top: 1px solid var(--rule); font-size: var(--step-0); max-width: 16rem; color: var(--body); }
@media (max-width: 990px) { .h-num__list { grid-template-columns: 1fr 1fr; gap: var(--s-4) var(--s-3); } }
@media (max-width: 520px) { .h-dots--d { display: none; } .h-dots--m { display: block; } .h-num__list { grid-template-columns: 1fr; } }

/* ---------------------------------------------------------------- A6 what your child gains (Korowa's alternating square-photo rows) */
.h-gains__rows { display: grid; gap: var(--s-5); }
.h-gain { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s-2); align-items: center; }
.h-gain__ph { aspect-ratio: 1; border-radius: var(--r-tiny); overflow: hidden; background: var(--linen); }
.h-gain__img, .h-gain__ph picture { width: 100%; height: 100%; object-fit: cover; object-position: var(--pos, 50% 50%); }
.h-gain--flip .h-gain__ph { order: 2; }
.h-gain__tx { position: relative; display: grid; gap: var(--s-15); justify-items: start; padding-inline: var(--s-3); }
.h-gain__tx > * { position: relative; z-index: 1; }
.h-gain__tx .h-gain__n { position: absolute; z-index: 0; left: var(--s-2); top: -.98em; font-family: var(--font-num); font-style: italic; font-weight: 600; font-size: clamp(8rem, 15vw, 15rem); line-height: 1; color: #fcdcc3; pointer-events: none; }
.h-gain__n::before { content: attr(data-n); }
.h-gain__h { margin-top: var(--s-1); }
.h-gain__tx .lead { max-width: 34rem; }
@media (max-width: 766px) { .h-gain { grid-template-columns: 1fr; } .h-gain--flip .h-gain__ph { order: 0; } .h-gain__tx { padding-inline: 0; } .h-gain__tx .h-gain__n { font-size: 9rem; left: 0; top: -.35em; } .h-gains__rows { gap: var(--s-4); } }

/* ---------------------------------------------------------------- A7 this week's classes (day tabs) */
.h-cls { display: grid; grid-template-columns: 5fr 7fr; gap: var(--s-5); align-items: start; }
.h-cls__intro { display: grid; gap: var(--s-15); justify-items: start; position: sticky; top: calc(var(--head-h) + var(--s-2)); }
.h-tabs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.h-tab { display: grid; gap: 2px; align-content: center; justify-items: start; min-height: 64px; padding: 10px var(--s-1); text-align: left; background: transparent; border: 1px solid var(--rule); border-radius: var(--r-tiny); cursor: pointer; color: var(--ink); transition: background-color .3s, color .3s, border-color .3s; }
.h-tab:hover { background: rgba(22, 24, 29, .06); }
.h-tab__d { font-size: var(--step-0); font-weight: 700; line-height: 1.2; }
.h-tab__v { font-size: var(--step--1); color: var(--grey); line-height: 1.3; }
.h-tab[aria-selected="true"] { background: var(--black); border-color: var(--black); color: var(--on-dark); }
.h-tab[aria-selected="true"] .h-tab__v { color: var(--on-dark-2); }
.h-pans { margin-top: var(--s-2); }
.h-pan__v { margin-bottom: var(--s-1); }
.h-pan .trows { border-top: 1px solid var(--rule); }
@media (min-width: 767px) { .h-pan .trow:not(:has(.trow__day)) { grid-template-columns: 1.3fr .9fr 1.2fr auto; } }
@media (max-width: 990px) { .h-cls { grid-template-columns: 1fr; gap: var(--s-3); } .h-cls__intro { position: static; } }
@media (max-width: 520px) { .h-tabs { grid-template-columns: 1fr 1fr; } }

/* ---------------------------------------------------------------- A8 instructors */
/* R2 and W1: one photo-led feature (Rishi Patel, his real portrait at the Korowa info-row square); the two instructors without a photo are ONE quiet
   line below it ("Also teaching: ..."), not cards */
.h-team { display: grid; gap: var(--s-3); max-width: 62rem; margin-inline: auto; }
.h-tf__a { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: var(--s-4); align-items: center; text-decoration: none; color: inherit; }
.h-tf__ph { aspect-ratio: 1; border-radius: var(--r-s); overflow: hidden; background: var(--linen); position: relative; }
.h-tm__img, .h-tf__ph picture { width: 100%; height: 100%; object-fit: cover; object-position: 50% 20%; transition: transform .8s var(--ease-out); }
.h-tf__a:hover .h-tm__img { transform: scale(1.03); }
.h-tm__b { display: grid; gap: 6px; align-content: center; justify-items: start; }
.h-tm__n { font-size: var(--step-4); line-height: 1.1; }
.h-tm__r { font-weight: 600; color: var(--grey); font-size: var(--step-1); } .h-tm__x { font-size: var(--step-0); color: var(--body); }
.h-also { margin: 0; text-align: center; font-size: var(--step-0); line-height: 1.5; color: var(--grey); text-wrap: balance; }
.h-also__l { font-weight: 700; color: var(--ink); }
.h-also__p { white-space: normal; } .h-also__p strong { font-weight: 600; color: var(--ink); }
.h-tm__go, .h-bl__go { display: flex; align-items: center; gap: 8px; margin-top: var(--s-05); font-weight: 700; font-size: var(--step--1); letter-spacing: .04em; text-transform: uppercase; color: var(--ink); min-height: 44px; }
.h-tm__go span, .h-bl__go span { text-decoration: underline; text-decoration-color: var(--orange); text-decoration-thickness: 2px; text-underline-offset: 5px; }
.h-team__cta, .h-blog__cta { margin-top: var(--s-4); }
@media (max-width: 899px) {
  .h-team { gap: var(--s-2); }
  .h-tf__a { grid-template-columns: 1fr; gap: var(--s-15); }
  .h-tf__ph { max-width: 26rem; }
  .h-also { text-align: left; }
}

/* ---------------------------------------------------------------- A9 from the blog (their two videos) */
.h-blog { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s-3); max-width: 64rem; margin-inline: auto; }
.h-bl__a { display: block; height: 100%; text-decoration: none; color: inherit; background: var(--paper); border: 1px solid rgba(200, 195, 187, .5); border-radius: var(--r-s); padding: var(--s-1); box-shadow: var(--shadow-card); }
.h-bl__ph { position: relative; aspect-ratio: 16 / 9; border-radius: var(--r-tiny); overflow: hidden; background: #cfc8ba; }
.h-bl__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center; transition: transform .8s var(--ease-out); }
.h-bl__a:hover .h-bl__img { transform: scale(1.03); }
.h-bl__play { position: absolute; right: var(--s-1); bottom: var(--s-1); width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; background: var(--orange); color: var(--black); padding-left: 3px; }
.h-bl__b { display: grid; gap: 8px; padding: var(--s-15) var(--s-05) var(--s-05); }
.h-bl__m { font-size: var(--step--1); color: var(--grey); }
.h-bl__t { font-size: var(--step-2); line-height: 1.3; }
@media (max-width: 766px) { .h-blog { grid-template-columns: 1fr; } }

/* ---------------------------------------------------------------- A10 where next */
.h-next { display: grid; grid-template-columns: 1fr 1fr; gap: 8px var(--s-1); }
.h-nx__a { position: relative; display: block; aspect-ratio: 2 / 1; border-radius: var(--r-s); overflow: hidden; color: #fff; text-decoration: none; background: #3a3731; }
.h-nx__a picture, .h-nx__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: var(--pos, 50% 50%); transition: transform .8s var(--ease-out); }
.h-nx__a:hover .h-nx__img { transform: scale(1.06); }
.h-nx__shade { position: absolute; inset: 0; background: linear-gradient(0deg, rgba(0, 0, 0, .78), rgba(0, 0, 0, .35) 45%, rgba(0, 0, 0, 0) 75%); }
.h-nx__b { position: absolute; inset: auto 0 0 0; display: grid; gap: 6px; padding: var(--s-15); }
.h-nx__t { font-size: var(--step-4); line-height: 1.15; font-weight: 600; }
.h-nx__l { font-size: var(--step-0); color: rgba(255, 255, 255, .9); }
.h-nx__go { display: flex; align-items: center; gap: 8px; font-weight: 700; font-size: var(--step--1); letter-spacing: .04em; text-transform: uppercase; margin-top: 4px; }
@media (max-width: 766px) { .h-next { grid-template-columns: 1fr; gap: var(--s-1); } .h-nx__a { aspect-ratio: 4 / 3; } }

/* ================================================================ CONCEPT B (Quaker devices) ================================================================ */
.b-hero { background: var(--paper); padding-block: var(--s-3) var(--s-5); }
.b-hero__in { display: grid; grid-template-columns: 7fr 5fr; gap: var(--s-4); align-items: stretch; min-height: calc(100svh - var(--head-h) - var(--s-5) - var(--s-3)); }
.b-hero__c { display: flex; flex-direction: column; justify-content: flex-end; gap: var(--s-3); }
.b-hero__t { display: grid; font-weight: 600; font-size: clamp(2.6rem, 6.7vw, 8rem); line-height: .98; letter-spacing: -.025em; color: var(--ink); text-wrap: nowrap; }
.b-hero__ln { display: block; } .b-hero__a { font-style: italic; font-weight: 500; color: var(--orange-display); }
.b-hero__sub { display: grid; gap: var(--s-15); justify-items: start; max-width: 34rem; }
.b-hero__act { display: flex; flex-wrap: wrap; gap: var(--s-1); }
.b-hero__ph { position: relative; min-height: 24rem; border-radius: var(--r-l) var(--r-s) var(--r-s) var(--r-s); overflow: hidden; background: #cfc8ba; }
.b-hero__ph picture, .b-hero__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 40%; }
@media (max-width: 899px) { .b-hero__in { grid-template-columns: 1fr; min-height: 0; gap: var(--s-3); } .b-hero__t { font-size: 11.4vw; } .b-hero__ph { min-height: 0; aspect-ratio: 4 / 3; } .b-hero__act .btn { flex: 1 1 100%; } }
/* the fixed concept chip (from 1024px) sits 72px up from the viewport bottom: the buttons end 2rem above that */
@media (min-width: 1024px) { .b-hero { padding-bottom: calc(var(--s-5) + 2rem); } .b-hero__in { min-height: calc(100svh - var(--head-h) - var(--s-5) - 2rem - var(--s-3)); } }

/* the big word with small photos set into and between its letters (HeroHome device): photos 13vw by 18vw, drifting inward on scroll */
.b-word { background: var(--linen); padding-block: var(--s-5) var(--s-7); overflow: hidden; }
.b-word__stage { position: relative; padding-block: 15vw; }
.b-word__w, .b-progs__w { display: block; margin: 0; font-weight: 600; letter-spacing: -.035em; line-height: .8; white-space: nowrap; color: var(--ink); font-size: 17vw; }
.b-word__w span, .b-progs__w span { display: inline-block; }
.b-word__p { position: absolute; left: var(--l); top: var(--t); width: 13vw; aspect-ratio: 13 / 18; border-radius: var(--r-tiny); overflow: hidden; background: #cfc8ba; will-change: transform; z-index: 2; }
.b-word__p picture, .b-word__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: var(--pos, 50% 50%); }
.b-word__tx { max-width: 34rem; margin-left: auto; margin-top: var(--s-5); }
/* on a phone the photos sit above and below the word, never over its letters (the word has to stay readable at 390px) */
@media (max-width: 766px) {
  .b-word__stage { padding-block: 36vw; }
  .b-word__p { width: 20vw; }
  .b-word__p4 { top: 64% !important; } .b-word__p5 { top: 63% !important; }
  .b-word__tx { margin-left: 0; margin-top: 14vw; }
}

/* stacked rounded panels: each rises over the one before it with a big soft top (Quaker's caps) */
.b-pns { background: var(--linen); }
.b-pn { position: relative; z-index: var(--z); margin-top: calc(var(--r-l) * -1); padding: var(--s-6) 0 calc(var(--s-6) + var(--r-l)); border-radius: var(--r-l) var(--r-l) 0 0; display: flex; align-items: center; }
.b-pn .inner { width: 100%; display: flex; } .b-pn .wrap { flex: 1; }
.b-pn:first-child { margin-top: 0; }
.b-pn--paper { background: var(--paper); } .b-pn--tint { background: var(--tint); } .b-pn--grey { background: #e7e1d8; } .b-pn--black { background: var(--black); color: var(--on-dark); --em: var(--orange); }
.b-pn--black .d2 { color: var(--on-dark); } .b-pn--black .lead { color: var(--on-dark-2); }
/* critic device 6 (Quaker's two-column panel): the numeral, heading, line and button are ONE block centred against ONE photo, no dead space above the heading;
   the photo side alternates from panel to panel */
.b-pn__in { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: var(--s-5); align-items: center; }
.b-pn--flip .b-pn__in { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); }
.b-pn--flip .b-pn__tx { order: 2; }
.b-pn__tx { display: grid; gap: var(--s-2); justify-items: start; align-content: center; }
.b-pn__tx .d2 { font-size: var(--step-7); line-height: 1.08; max-width: 9em; }
.b-pn__tx .lead { max-width: 30rem; }
.b-pn__n { font-family: var(--font-num); font-style: italic; font-weight: 600; font-size: var(--step-3); color: var(--orange-ink); }
.b-pn--black .b-pn__n { color: var(--orange); }
.b-pn__ph { position: relative; width: 100%; max-width: 30rem; aspect-ratio: 1; justify-self: end; border-radius: var(--r-s); overflow: hidden; background: #cfc8ba; }
.b-pn--flip .b-pn__ph { justify-self: start; }
/* their own small photo (the Rishi high-five, 320 x 480 native): never wider than its native 320 px, at any width */
.b-pn__ph.b-pn__ph--native, .b-pn--flip .b-pn__ph.b-pn__ph--native { max-width: 320px; aspect-ratio: 2 / 3; justify-self: center; }
.b-pn__ph picture, .b-pn__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: var(--pos, 50% 50%); }
@media (max-width: 1099px) { .b-pn__tx .d2 { font-size: var(--step-6); } }
@media (max-width: 899px) {
  .b-pn { padding: var(--s-5) 0 calc(var(--s-5) + var(--r-l)); }
  .b-pn__in, .b-pn--flip .b-pn__in { grid-template-columns: 1fr; gap: var(--s-3); }
  .b-pn--flip .b-pn__tx { order: 0; }
  .b-pn__ph, .b-pn--flip .b-pn__ph { max-width: none; aspect-ratio: 4 / 3; justify-self: stretch; }
  .b-pn__ph.b-pn__ph--native, .b-pn--flip .b-pn__ph.b-pn__ph--native { max-width: 320px; aspect-ratio: 2 / 3; justify-self: start; }   /* one column: left, under the heading block */
}
.b-progs { position: relative; z-index: 6; margin-top: calc(var(--r-l) * -1); background: var(--paper); border-radius: var(--r-l) var(--r-l) 0 0; padding-block: var(--s-6) var(--s-6); }
.b-progs__w { margin-bottom: var(--s-4); }
.b-pgs { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--s-1); }
.b-pg__a { display: flex; flex-direction: column; gap: var(--s-1); height: 100%; padding: var(--s-15); border-radius: 16px; text-decoration: none; color: var(--ink); transition: transform .4s var(--ease-out); }
.b-pg__a:hover { transform: translateY(-4px); }
.b-pg--tint .b-pg__a { background: var(--tint); } .b-pg--linen .b-pg__a { background: var(--linen); } .b-pg--grey .b-pg__a { background: #e7e1d8; } .b-pg--black .b-pg__a { background: var(--black); color: var(--on-dark); }
.b-pg__top { display: flex; justify-content: space-between; align-items: flex-start; gap: 10px; }
.b-pg__lb { font-size: var(--step--1); font-weight: 600; opacity: .8; }
.b-pg__t { font-size: var(--step-4); line-height: 1.1; color: inherit; margin-top: 4px; }
.b-pg__pill { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; padding: 0 16px 0 20px; border-radius: 100px; background: var(--black); color: var(--on-dark); font-size: var(--step--1); font-weight: 700; flex: none; }
.b-pg--black .b-pg__pill { background: var(--orange); color: var(--black); }
.b-pg__l { font-size: var(--step-0); }
.b-pg__ph { position: relative; margin-top: auto; aspect-ratio: 4 / 5; border-radius: var(--r-s); overflow: hidden; background: #cfc8ba; }
.b-pg__ph picture, .b-pg__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: var(--pos, 50% 50%); transition: transform .8s var(--ease-out); }
.b-pg__a:hover .b-pg__img { transform: scale(1.04); }
@media (max-width: 1100px) { .b-pgs { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) { .b-pgs { grid-template-columns: 1fr; } }
.b-facts__h { text-align: center; margin-bottom: var(--s-4); }
/* three facts (audit 10): the shared .facts row is four columns, so this row sets its own */
.b-facts .facts { grid-template-columns: repeat(3, 1fr); }
.b-facts .facts__i, .b-facts .facts__i + .facts__i, .b-facts .facts__i:nth-child(n) { padding: var(--s-2) var(--s-2) var(--s-2) 0; border-top: 0; border-left: 0; }
.b-facts .facts__i + .facts__i { padding-left: var(--s-2); border-left: 1px solid var(--rule-soft); }
.b-facts .facts__k { font-size: var(--step-4); font-weight: 600; line-height: 1.1; }
@media (max-width: 700px) {
  .b-facts .facts { grid-template-columns: 1fr; }
  .b-facts .facts__i + .facts__i { padding-left: 0; border-left: 0; border-top: 1px solid var(--rule-soft); }
}
.b-fit { background: var(--paper); padding-block: var(--s-3) var(--s-6); }
.b-fit__p { display: grid; grid-template-columns: minmax(0, 487px) minmax(0, 1fr); background: var(--black); color: var(--on-dark); border-radius: var(--r-l) var(--r-s) var(--r-s) var(--r-s); overflow: hidden; --em: var(--orange); }
.b-fit__ph { position: relative; aspect-ratio: 487 / 526; background: #3a3731; }     /* their own photo: 487 px wide at most (its native width), never stretched */
.b-fit__ph picture, .b-fit__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 40%; }
.b-fit__b { display: grid; gap: var(--s-2); align-content: center; justify-items: start; padding: var(--s-5) var(--s-4); }
.b-fit__b .d2 { color: var(--on-dark); } .b-fit__b .lead { color: var(--on-dark); }
.b-fit__q { display: grid; gap: var(--s-1); font-size: var(--step-2); line-height: 1.4; font-weight: 600; color: var(--on-dark); max-width: 34rem; }
.b-fit__q footer { font-size: var(--step-0); font-weight: 400; color: var(--on-dark-2); }
@media (max-width: 899px) {
  .b-fit__p { grid-template-columns: 1fr; }
  .b-fit__ph { width: min(487px, calc(100% - var(--s-4))); margin: var(--s-2) auto 0; border-radius: var(--r-s); overflow: hidden; }
  .b-fit__b { padding: var(--s-3) var(--s-2); }
}
.b-st__h { margin-bottom: var(--s-4); }
.b-st__cols { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--rule); }
.b-st__c { padding: var(--s-15) var(--s-15) var(--s-15) 0; display: grid; gap: 4px; align-content: start; }
.b-st__c + .b-st__c { padding-left: var(--s-15); border-left: 1px solid var(--rule-soft); }
.b-st__d { font-size: var(--step-3); font-weight: 600; color: var(--ink); line-height: 1.2; } .b-st__v { font-size: var(--step--1); color: var(--grey); margin-bottom: var(--s-1); }
.b-st__l li { display: flex; justify-content: space-between; gap: 12px; padding-block: 10px; border-top: 1px solid var(--rule-soft); font-size: var(--step-0); } .b-st__l b { color: var(--ink); white-space: nowrap; }
.b-st__cta { margin-top: var(--s-3); }
@media (max-width: 990px) { .b-st__cols { grid-template-columns: 1fr 1fr; } .b-st__c:nth-child(odd) { padding-left: 0; border-left: 0; } .b-st__c:nth-child(n+3) { border-top: 1px solid var(--rule-soft); } }
@media (max-width: 520px) { .b-st__cols { grid-template-columns: 1fr; } .b-st__c + .b-st__c { padding-left: 0; border-left: 0; border-top: 1px solid var(--rule-soft); } }

/* planner 16 Nov: the dot field as percent-positioned spans (centred on their point, inside a 3 to 97 percent range) */
.h-dots { overflow: hidden; }
.h-dot { position: absolute; border-radius: 50%; transform: translate(-50%, -50%); }
