/* ============================================================
   LET'S BE READY — REDESIGN DEMOS (fd-*)
   One shared system implementing the three Paper boards:
   .fd-demo1  banded hero · triptych · bento · quote band · split
              programs · team
   .fd-demo2  banded hero · reality table · bare stat row · map
              band · quote band · program cards
   .fd-demo3  split hero · centered statement · bento · split
              programs
   styles.css still serves the shared nav, mobile menu, and footer.
   ============================================================ */

:root {
  --fd-ink: #101B33;
  --fd-soft: #3D4C68;
  --fd-blue: #146BF6;
  --fd-blue-dark: #0F52BF;
  --fd-yellow: #FFE500;
  --fd-paper: #FFFFFF;
  --fd-tint: #EDF3FE;
  --fd-stone: #F4F4F1;
  --fd-navy: #101B33;
  --fd-hairline: rgba(16, 27, 51, 0.14);
  --fd-ease: cubic-bezier(0.2, 0.8, 0.2, 1);
}

body[class*="fd-demo"],
body.fd-home {
  background: var(--fd-paper);
  color: var(--fd-ink);
}

/* Shared chrome adjustments */
body[class*="fd-demo"] .nav__cta {
  background: var(--fd-yellow);
  color: var(--fd-ink);
}
body[class*="fd-demo"] .footer {
  background: var(--fd-navy);
}

/* ---------- Primitives ---------- */

.fd-container {
  max-width: 1140px;
  margin: 0 auto;
  padding-inline: clamp(1.25rem, 4vw, 2.5rem);
}

.fd-kicker {
  display: block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--fd-soft);
  margin-bottom: 1rem;
}
.fd-kicker--center {
  text-align: center;
}

.fd-h2 {
  font-size: clamp(2rem, 3.6vw, 2.75rem);
  font-weight: 550;
  letter-spacing: -0.03em;
  line-height: 1.15;
  margin: 0;
  color: var(--fd-ink);
  text-wrap: balance;
}

.fd-textlink {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--fd-blue);
  text-decoration: none;
}
.fd-textlink span {
  transition: transform 0.18s var(--fd-ease);
}
.fd-textlink:hover span {
  transform: translateX(3px);
}

.fd-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}
.fd-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 46px;
  padding: 0 1.5rem;
  border-radius: 999px;
  font-size: 0.95rem;
  font-weight: 700;
  text-decoration: none;
  transition: transform 0.18s var(--fd-ease), box-shadow 0.18s var(--fd-ease),
    background-color 0.18s var(--fd-ease), border-color 0.18s var(--fd-ease);
}
.fd-btn--yellow {
  background: var(--fd-yellow);
  color: var(--fd-ink);
}
.fd-btn--yellow:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 24px -10px rgba(0, 0, 0, 0.4);
}
.fd-btn--blue {
  background: var(--fd-blue);
  color: #fff;
}
.fd-btn--blue:hover {
  background: var(--fd-blue-dark);
  transform: translateY(-1px);
}
.fd-btn--outline-white {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.5);
  color: #fff;
}
.fd-btn--outline-white:hover {
  border-color: rgba(255, 255, 255, 0.9);
  transform: translateY(-1px);
}

.fd-section-head {
  margin-bottom: clamp(2.75rem, 5vw, 3.5rem);
}
.fd-section-head--center {
  text-align: center;
}
.fd-section-head--center .fd-kicker {
  text-align: center;
}

/* ---------- Banded hero (demos 1 + 2) ---------- */

.fd-hero {
  padding-top: calc(var(--nav-height) + clamp(3.5rem, 7vw, 5.5rem));
  background: var(--fd-blue);
}
.fd-hero__copy {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding-bottom: clamp(2.75rem, 5vw, 3.75rem);
}
.fd-hero__kicker {
  display: block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.78);
  margin-bottom: 1.25rem;
}
.fd-hero__headline {
  font-size: clamp(2.6rem, 5.4vw, 4.4rem);
  font-weight: 550;
  letter-spacing: -0.035em;
  line-height: 1.1;
  color: #fff;
  margin: 0 0 1.4rem;
  text-wrap: balance;
}
.fd-hero__sub {
  font-size: clamp(1.05rem, 1.5vw, 1.2rem);
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.9);
  max-width: 44ch;
  margin: 0 0 1.9rem;
}
.fd-hero__straddle {
  display: flex;
  justify-content: center;
  padding: 0 clamp(1.25rem, 8vw, 10.5rem);
  background: linear-gradient(
    180deg,
    var(--fd-blue) 0%,
    var(--fd-blue) 50%,
    var(--fd-paper) 50%,
    var(--fd-paper) 100%
  );
}
.fd-hero__straddle > img,
.fd-hero__straddle .fd-carousel--hero {
  display: block;
  width: 100%;
  max-width: 1100px;
  aspect-ratio: 21 / 10;
}
.fd-hero__straddle > img {
  object-fit: cover;
  object-position: center 30%;
}
/* Programs header: the same crossfade as the Garden row, in the straddle box. */
.fd-hero__straddle .fd-carousel--hero {
  position: relative;
  overflow: hidden;
  background: var(--fd-stone);
}
.fd-hero__straddle .fd-carousel--hero .fd-carousel__slide {
  object-position: center 30%;
}
.fd-trust {
  text-align: center;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--fd-soft);
  padding: 2.75rem 1.25rem 3.25rem;
  margin: 0;
  max-width: none;
  background: var(--fd-paper);
}

/* ---------- Split hero (demo 3) ---------- */

.fd-shero {
  display: flex;
  min-height: 660px;
  margin-top: var(--nav-height);
}
.fd-shero__panel {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  width: 44.5%;
  flex-shrink: 0;
  padding: clamp(2.5rem, 5vw, 4.5rem) clamp(2rem, 5vw, 4.5rem) clamp(2.5rem, 5vw, 4.5rem) clamp(1.5rem, 7vw, 6.25rem);
  background: var(--fd-blue);
}
.fd-shero__panel .fd-hero__kicker {
  margin-bottom: 1.1rem;
}
.fd-shero__headline {
  font-size: clamp(2.4rem, 4.2vw, 3.75rem);
  font-weight: 600;
  letter-spacing: -0.035em;
  line-height: 1.08;
  color: #fff;
  margin: 0 0 1.25rem;
}
.fd-shero__sub {
  font-size: clamp(1rem, 1.3vw, 1.1rem);
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.9);
  margin: 0 0 1.75rem;
  max-width: 38ch;
}
.fd-shero__media {
  flex-grow: 1;
  min-height: 100%;
}
.fd-shero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
  display: block;
}

/* ---------- Centered statement (+ optional triptych) ---------- */

.fd-statement-sec {
  padding-block: clamp(5rem, 9vw, 6.5rem) clamp(3.5rem, 7vw, 4.5rem);
  background: var(--fd-paper);
}
.fd-statement {
  font-size: clamp(1.7rem, 2.9vw, 2.4rem);
  font-weight: 500;
  letter-spacing: -0.025em;
  line-height: 1.42;
  margin: 0 auto;
  max-width: 30ch;
  text-align: center;
  color: var(--fd-ink);
  text-wrap: balance;
}
.fd-statement em {
  font-style: normal;
  font-weight: 700;
  color: var(--fd-blue);
}
.fd-statement-sec .fd-textlink {
  display: flex;
  justify-content: center;
  margin-top: 1.5rem;
}
.fd-triptych {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: clamp(2.75rem, 5vw, 3.5rem);
}
.fd-triptych img {
  width: 100%;
  aspect-ratio: 4 / 3.2;
  object-fit: cover;
  display: block;
}

/* ---------- Reality split table (demo 2) ---------- */

.fd-reality {
  background: var(--fd-tint);
  padding-block: clamp(4.5rem, 8vw, 6rem);
}
.fd-reality__split {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: clamp(2.5rem, 6vw, 6rem);
  align-items: center;
}
.fd-reality .fd-statement {
  text-align: left;
  margin: 0 0 1.5rem;
  max-width: none;
  line-height: 1.44;
}
.fd-fact {
  display: grid;
  grid-template-columns: 7.5rem minmax(0, 1fr);
  gap: 1.25rem;
  align-items: baseline;
  border-top: 1px solid rgba(16, 27, 51, 0.18);
  padding-block: 1.5rem;
}
.fd-fact:last-child {
  border-bottom: 1px solid rgba(16, 27, 51, 0.18);
}
.fd-fact strong {
  font-size: 1.3rem;
  font-weight: 650;
  letter-spacing: -0.015em;
  color: var(--fd-ink);
}
.fd-fact p {
  font-size: 0.98rem;
  line-height: 1.7;
  color: var(--fd-soft);
  margin: 0;
  max-width: none;
}

/* ---------- Bare stat row (demo 2) ---------- */

.fd-proof {
  padding-block: clamp(5rem, 9vw, 6.5rem);
  background: var(--fd-paper);
}
.fd-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem 0;
  margin-top: clamp(2.75rem, 5vw, 3.5rem);
}
.fd-stats__item {
  border-left: 1px solid var(--fd-hairline);
  padding-inline: 1.75rem;
}
.fd-stats__item:first-child {
  border-left: none;
  padding-left: 0;
}
.fd-stats__number {
  font-size: clamp(2.8rem, 4.4vw, 4rem);
  font-weight: 300;
  letter-spacing: -0.03em;
  line-height: 1;
  font-variant-numeric: tabular-nums;
  color: var(--fd-blue);
  margin-bottom: 0.9rem;
  white-space: nowrap;
}
.fd-stats__label {
  font-size: 0.92rem;
  font-weight: 700;
  line-height: 1.5;
  color: var(--fd-ink);
  margin-bottom: 0.45rem;
}
.fd-stats__item p {
  font-size: 0.875rem;
  line-height: 1.6;
  color: var(--fd-soft);
  margin: 0;
}

/* ---------- Bento (demos 1 + 3) ---------- */

.fd-bento-sec {
  padding-block: clamp(5rem, 9vw, 6.5rem);
  background: var(--fd-paper);
}
.fd-bento {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.fd-bento__row {
  display: flex;
  gap: 16px;
}
.fd-bento__map {
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  min-width: 0;
  background: var(--fd-stone);
  overflow: hidden;
}
.fd-bento__map-head {
  padding: 28px 32px 20px;
}
.fd-bento__map-head .fd-kicker {
  margin-bottom: 0.4rem;
}
.fd-bento__map-head strong {
  font-size: 1.65rem;
  font-weight: 550;
  letter-spacing: -0.02em;
  color: var(--fd-ink);
}
.fd-bento__map-head p {
  font-size: 0.9rem;
  line-height: 1.6;
  color: var(--fd-soft);
  margin: 0.5rem 0 0;
  max-width: 56ch;
  text-wrap: pretty;
}
.fd-bento__map #classroomMap {
  height: 380px;
  width: 100%;
  flex-grow: 1;
}
.fd-bento__col {
  display: flex;
  flex-direction: column;
  gap: 16px;
  width: 324px;
  flex-shrink: 0;
}
.fd-bento__stat {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  padding: 34px 36px;
  flex-grow: 1;
  background: var(--fd-tint);
}
.fd-bento__stat--navy {
  background: var(--fd-navy);
}
.fd-bento__stat--stone {
  background: var(--fd-stone);
}
.fd-bento__number {
  font-size: 3.4rem;
  font-weight: 300;
  letter-spacing: -0.03em;
  line-height: 1;
  color: var(--fd-blue);
}
.fd-bento__stat--navy .fd-bento__number {
  color: var(--fd-yellow);
}
.fd-bento__stat--stone .fd-bento__number {
  color: var(--fd-ink);
}
.fd-bento__stat strong {
  font-size: 0.95rem;
  font-weight: 600;
  line-height: 1.5;
  color: var(--fd-ink);
}
.fd-bento__stat--navy strong {
  color: #fff;
}
.fd-bento__stat p {
  font-size: 0.82rem;
  line-height: 1.6;
  color: var(--fd-soft);
  margin: 0;
}
.fd-bento__stat--navy p {
  color: rgba(255, 255, 255, 0.78);
}
.fd-bento__photo {
  width: 300px;
  flex-shrink: 0;
  object-fit: cover;
  display: block;
}
.fd-bento__wide {
  flex-grow: 1;
  min-width: 0;
}
.fd-bento__wide .fd-bento__stat {
  height: 100%;
}

/* ---------- Map band (demo 2) ---------- */

.fd-mapband {
  background: var(--fd-stone);
  padding-block: clamp(4.5rem, 8vw, 6rem);
}
.fd-mapband__split {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: clamp(2rem, 5vw, 4rem);
  align-items: end;
  margin-bottom: clamp(2.25rem, 5vw, 3rem);
}
.fd-mapband__split h2 {
  font-size: clamp(2rem, 3.6vw, 2.75rem);
  font-weight: 550;
  letter-spacing: -0.03em;
  line-height: 1.12;
  color: var(--fd-ink);
  margin: 0;
}
.fd-mapband__aside p {
  font-size: 1rem;
  line-height: 1.7;
  color: var(--fd-soft);
  margin: 0 0 0.9rem;
  max-width: none;
}
.fd-mapband__stats {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  font-size: 0.92rem;
  color: var(--fd-soft);
}
.fd-mapband__stats strong {
  color: var(--fd-ink);
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}
.fd-mapband #classroomMap {
  height: 500px;
  width: 100%;
}

/* ---------- Quote over photo (demos 1 + 2) ---------- */

.fd-quoteband {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 480px;
  overflow: hidden;
  text-align: center;
}
.fd-quoteband > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.fd-quoteband::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(16, 27, 51, 0.72);
}
.fd-quoteband__copy {
  position: relative;
  z-index: 1;
  max-width: 820px;
  padding: 5rem clamp(1.25rem, 4vw, 2.5rem);
}
.fd-quoteband .fd-kicker {
  color: rgba(255, 255, 255, 0.85);
  text-align: center;
}
.fd-quoteband p {
  font-size: clamp(1.3rem, 2.2vw, 1.65rem);
  font-weight: 500;
  line-height: 1.65;
  color: #fff;
  margin: 0;
  max-width: none;
  text-wrap: balance;
}

/* ---------- Programs: split rows (demos 1 + 3) ---------- */

.fd-programs {
  padding-block: clamp(5rem, 9vw, 6.5rem);
  background: var(--fd-paper);
}
.fd-prow {
  display: flex;
  width: 100%;
}
.fd-prow + .fd-prow {
  margin-top: clamp(2.5rem, 5vw, 4rem);
}
.fd-prow > img {
  width: 54.5%;
  flex-shrink: 0;
  aspect-ratio: 62 / 40;
  object-fit: cover;
  display: block;
}
.fd-prow__panel {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  gap: 0.6rem;
  flex-grow: 1;
  min-width: 0;
  background: var(--fd-stone);
  padding: 2.5rem clamp(2rem, 4.5vw, 4rem);
}
.fd-prow__panel h3 {
  font-size: clamp(1.6rem, 2.4vw, 2.1rem);
  font-weight: 550;
  letter-spacing: -0.02em;
  color: var(--fd-ink);
  margin: 0;
}
.fd-prow__panel p {
  font-size: 1.05rem;
  line-height: 1.7;
  color: var(--fd-soft);
  margin: 0 0 0.5rem;
  max-width: none;
}

/* ---------- Programs: cards (demo 2) ---------- */

.fd-pcards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: clamp(2.25rem, 5vw, 3rem);
}
.fd-pcard {
  display: flex;
  flex-direction: column;
  background: var(--fd-stone);
  overflow: hidden;
  text-decoration: none;
  color: var(--fd-ink);
}
.fd-pcard__body {
  padding: 2.5rem 2.5rem 2.1rem;
}
.fd-pcard h3 {
  font-size: 1.5rem;
  font-weight: 600;
  letter-spacing: -0.015em;
  margin: 0 0 0.35rem;
  color: var(--fd-ink);
}
.fd-pcard__body p {
  font-size: 1rem;
  line-height: 1.65;
  color: var(--fd-soft);
  margin: 0 0 1rem;
  max-width: none;
}
.fd-pcard figure {
  margin: 0;
  margin-top: auto;
}
.fd-pcard img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  display: block;
  transition: transform 0.4s var(--fd-ease);
}
.fd-pcard:hover img {
  transform: scale(1.02);
}

/* ---------- Team strip (demo 1) ---------- */

.fd-team {
  padding-block: 0 clamp(5rem, 9vw, 6.5rem);
  background: var(--fd-paper);
}
.fd-team__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.fd-team__card img {
  width: 100%;
  aspect-ratio: 1 / 1.1;
  object-fit: cover;
  display: block;
  margin-bottom: 0.9rem;
}
.fd-team__card strong {
  display: block;
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--fd-ink);
  margin-bottom: 0.15rem;
}
.fd-team__card span {
  font-size: 0.85rem;
  color: var(--fd-soft);
}

/* ---------- Cost band ---------- */

.fd-cost {
  background: var(--fd-stone);
  padding-block: clamp(4.25rem, 8vw, 5.5rem);
}
.fd-cost__split {
  display: flex;
  align-items: center;
  gap: clamp(3rem, 7vw, 5.5rem);
}
.fd-cost__figure {
  font-size: clamp(4rem, 8vw, 6.25rem);
  font-weight: 300;
  letter-spacing: -0.045em;
  line-height: 1;
  font-variant-numeric: tabular-nums;
  color: var(--fd-ink);
}
.fd-cost__unit {
  margin-top: 0.75rem;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--fd-soft);
}
.fd-cost__body {
  max-width: 560px;
}
.fd-cost__lead {
  font-size: 1.35rem;
  font-weight: 500;
  line-height: 1.6;
  letter-spacing: -0.01em;
  color: var(--fd-ink);
  margin: 0 0 0.9rem;
  max-width: none;
}
.fd-cost__body > p {
  font-size: 1rem;
  line-height: 1.7;
  color: var(--fd-soft);
  margin: 0 0 1.4rem;
  max-width: none;
}

/* ---------- Instagram grid ---------- */

.fd-ig {
  padding-block: clamp(5rem, 9vw, 6.5rem);
  background: var(--fd-paper);
}
.fd-ig__head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 2rem;
  margin-bottom: clamp(2.25rem, 5vw, 3rem);
}
.fd-ig__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.fd-ig__tile {
  display: block;
  aspect-ratio: 1 / 1;
  overflow: hidden;
}
.fd-ig__tile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s var(--fd-ease);
}
.fd-ig__tile:hover img {
  transform: scale(1.03);
}

/* ---------- Ask band ---------- */

.fd-ask {
  background: var(--fd-blue);
  padding-block: clamp(5rem, 9vw, 6.5rem);
  text-align: center;
}
.fd-ask h2 {
  font-size: clamp(2.1rem, 4vw, 3rem);
  font-weight: 550;
  letter-spacing: -0.03em;
  line-height: 1.12;
  color: #fff;
  margin: 0 0 1.1rem;
  text-wrap: balance;
}
.fd-ask p {
  font-size: 1.05rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.9);
  max-width: 46ch;
  margin: 0 auto 2rem;
}
.fd-ask__trust {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.6rem;
  margin-top: 1.9rem;
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.8);
}

/* ---------- Stay updated band: the signup's own section under the ask ---------- */
.fd-stay {
  background: var(--fd-paper);
  padding-block: clamp(4rem, 7vw, 5.5rem);
  text-align: center;
}
.fd-stay__inner {
  max-width: 560px;
  margin-inline: auto;
}
.fd-stay .fd-h2 {
  margin-top: 0.9rem;
  text-wrap: balance;
}
.fd-stay__sub {
  margin: 0.9rem auto 0;
  max-width: none;
  text-wrap: balance;
  font-size: 1.05rem;
  line-height: 1.7;
  color: var(--fd-soft);
}
.fd-stay__form {
  position: relative;
  display: flex;
  gap: 10px;
  margin-top: 1.75rem;
}
.fd-stay__form input[type="email"] {
  flex: 1;
  min-width: 0;
  height: 48px;
  padding: 0 1.3rem;
  border: 1px solid var(--fd-hairline);
  border-radius: 999px;
  background: #fff;
  font: inherit;
  font-size: 1rem;
  color: var(--fd-ink);
  outline: none;
  transition: border-color 0.18s var(--fd-ease), box-shadow 0.18s var(--fd-ease);
}
.fd-stay__form input[type="email"]::placeholder {
  color: var(--fd-soft);
}
.fd-stay__form input[type="email"]:focus {
  border-color: var(--fd-blue);
  box-shadow: 0 0 0 3px rgba(31, 111, 235, 0.15);
}
.fd-stay__form button {
  flex-shrink: 0;
  height: 48px;
  padding: 0 1.75rem;
  border: 0;
  cursor: pointer;
  font: inherit;
  font-size: 0.95rem;
  font-weight: 700;
}
.fd-stay__form button:disabled {
  opacity: 0.7;
  cursor: not-allowed;
}
.fd-stay__msg {
  margin: 0.9rem 0 0;
  min-height: 1.2em;
  font-size: 0.85rem;
  color: var(--fd-soft);
}
.fd-stay__msg--success {
  color: var(--fd-blue);
}
.fd-stay__msg--error {
  color: #c0392b;
}
@media (max-width: 640px) {
  .fd-stay__form {
    flex-direction: column;
  }
  .fd-stay__form input[type="email"] {
    flex: none;
    width: 100%;
  }
  .fd-stay__form button {
    width: 100%;
  }
}

/* ---------- Responsive ---------- */

@media (max-width: 1080px) {
  .fd-bento__col {
    width: 280px;
  }
  .fd-bento__photo {
    width: 240px;
  }
}

@media (max-width: 960px) {
  .fd-stats {
    grid-template-columns: 1fr 1fr;
  }
  .fd-stats__item:nth-child(3) {
    border-left: none;
    padding-left: 0;
  }
  .fd-reality__split,
  .fd-mapband__split {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .fd-shero {
    flex-direction: column;
    min-height: 0;
  }
  .fd-shero__panel {
    width: 100%;
    padding: 3rem 1.5rem;
  }
  .fd-shero__media {
    min-height: 46vh;
  }
  .fd-bento__row {
    flex-direction: column;
  }
  .fd-bento__col {
    width: 100%;
    flex-direction: row;
  }
  .fd-bento__photo {
    width: 100%;
    height: 260px;
  }
  .fd-prow {
    flex-direction: column;
  }
  .fd-prow > img {
    width: 100%;
  }
  .fd-prow--flip {
    flex-direction: column;
  }
  .fd-team__grid {
    grid-template-columns: 1fr 1fr;
  }
  .fd-cost__split {
    flex-direction: column;
    align-items: flex-start;
    gap: 1.75rem;
  }
}

@media (max-width: 640px) {
  .fd-stats {
    grid-template-columns: 1fr;
  }
  .fd-stats__item {
    border-left: none;
    padding-inline: 0;
    border-top: 1px solid var(--fd-hairline);
    padding-top: 1.5rem;
  }
  .fd-stats__item:first-child {
    border-top: none;
    padding-top: 0;
  }
  .fd-triptych,
  .fd-pcards,
  .fd-ig__grid {
    grid-template-columns: 1fr;
  }
  .fd-bento__col {
    flex-direction: column;
  }
  .fd-ig__head {
    flex-direction: column;
    align-items: flex-start;
  }
  .fd-actions {
    width: 100%;
  }
  .fd-actions .fd-btn {
    flex: 1;
    min-width: 0;
  }
  .fd-fact {
    grid-template-columns: 6rem minmax(0, 1fr);
    gap: 0.9rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .fd-btn,
  .fd-pcard img,
  .fd-ig__tile img,
  .fd-textlink span {
    transition: none;
  }
  .fd-btn:hover {
    transform: none;
  }
}

/* ---------- Photo hero (demo 3) ---------- */

.fd-phero {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: center;
  min-height: 640px;
  margin-top: var(--nav-height);
  overflow: hidden;
  text-align: center;
}
.fd-phero > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 25%;
}
.fd-phero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(16, 27, 51, 0.1) 0%,
    rgba(16, 27, 51, 0.4) 50%,
    rgba(16, 27, 51, 0.8) 100%
  );
}
.fd-phero__copy {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0 clamp(1.25rem, 4vw, 2.5rem) clamp(3rem, 6vw, 4rem);
  max-width: 900px;
}
.fd-phero .fd-hero__kicker {
  color: rgba(255, 255, 255, 0.85);
}
.fd-phero__headline {
  font-size: clamp(2.4rem, 4.6vw, 3.6rem);
  font-weight: 550;
  letter-spacing: -0.035em;
  line-height: 1.1;
  color: #fff;
  margin: 0 0 1.1rem;
  text-wrap: balance;
}
.fd-phero__sub {
  font-size: clamp(1rem, 1.4vw, 1.15rem);
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.92);
  margin: 0 0 1.6rem;
  max-width: 52ch;
}

/* ---------- What every classroom holds (demo 3) ---------- */

.fd-holds {
  padding-block: clamp(5rem, 9vw, 6.5rem);
  background: var(--fd-paper);
}
.fd-holds__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.fd-hold {
  background: var(--fd-stone);
  padding: 2.75rem 3rem;
}
.fd-hold__chip {
  display: block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--fd-soft);
  margin-bottom: 0.75rem;
}
.fd-hold h3 {
  font-size: 1.55rem;
  font-weight: 550;
  letter-spacing: -0.015em;
  color: var(--fd-ink);
  margin: 0 0 0.5rem;
}
.fd-hold p {
  font-size: 1rem;
  line-height: 1.7;
  color: var(--fd-soft);
  margin: 0;
  max-width: none;
}

@media (max-width: 720px) {
  .fd-holds__grid {
    grid-template-columns: 1fr;
  }
}

/* ============================================================
   THE REAL PAGES (fd-home) — additions on top of the demo system
   ============================================================ */

/* ---------- Bento: the narrow stat card ----------
   The demo set this column's width inline, which the phone layout could
   not override — the card kept its desktop width and the number wrapped
   into a tall ribbon. A class lets the breakpoints below win. */

.fd-bento__col--narrow {
  width: 34.5%;
}
.fd-bento__number--words {
  font-size: clamp(2.2rem, 2.6vw, 2.75rem);
  white-space: nowrap;
}

/* ---------- Our Team page ---------- */

.fd-pagehead {
  padding-top: calc(var(--nav-height) + clamp(3.5rem, 7vw, 5.5rem));
  padding-bottom: clamp(2.75rem, 5vw, 3.5rem);
  text-align: center;
}
.fd-pagehead .fd-kicker {
  text-align: center;
}
.fd-pagehead h1 {
  font-size: clamp(2.4rem, 5vw, 3.75rem);
  font-weight: 550;
  letter-spacing: -0.035em;
  line-height: 1.08;
  margin: 0 auto;
  max-width: 18ch;
  color: var(--fd-ink);
  text-wrap: balance;
}
.fd-pagehead h1 em {
  font-style: normal;
  color: var(--fd-blue);
}

.fd-teampage .fd-team {
  padding-block: 0 clamp(4rem, 8vw, 5.5rem);
}
.fd-team__grid--page {
  gap: 24px 16px;
  align-items: start;
}
.fd-team__initials {
  width: 100%;
  aspect-ratio: 1 / 1.1;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--fd-tint);
  color: var(--fd-blue);
  font-size: 2.5rem;
  font-weight: 550;
  letter-spacing: 0.02em;
  margin-bottom: 0.9rem;
}
.fd-team__card p {
  font-size: 0.9rem;
  line-height: 1.65;
  color: var(--fd-soft);
  margin: 0.7rem 0 0;
}
.fd-team__note {
  max-width: 62ch;
  margin: clamp(2.5rem, 5vw, 3.5rem) auto 0;
  text-align: center;
  font-size: 0.95rem;
  line-height: 1.7;
  color: var(--fd-soft);
}

@media (max-width: 960px) {
  .fd-bento__col--narrow {
    width: 100%;
  }
}
@media (max-width: 560px) {
  .fd-team__grid {
    grid-template-columns: 1fr;
  }
}

/* ---------- About page (fd-about) ---------- */

.fd-pagehead__sub {
  margin: 1.1rem auto 0;
  max-width: 44ch;
  font-size: 1.05rem;
  line-height: 1.7;
  color: var(--fd-soft);
}
.fd-facts {
  padding-block: clamp(1.5rem, 3vw, 2.5rem) clamp(4.5rem, 8vw, 6rem);
  background: var(--fd-paper);
}
.fd-facts__inner {
  max-width: 760px;
}
.fd-facts .fd-fact strong {
  white-space: nowrap;
}
.fd-turn {
  background: var(--fd-stone);
  padding-block: clamp(4.5rem, 8vw, 6.5rem);
}
.fd-turn .fd-statement {
  max-width: 24ch;
  font-size: clamp(1.9rem, 3.4vw, 2.9rem);
}
.fd-model {
  padding-block: clamp(5rem, 9vw, 6.5rem);
  background: var(--fd-paper);
}
.fd-model--top { padding-top: 0; }
.fd-cost__lead--cap::first-letter {
  text-transform: uppercase;
}
.fd-money {
  padding-block: clamp(5rem, 9vw, 6.5rem);
  background: var(--fd-paper);
}
.fd-money__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 clamp(2.5rem, 6vw, 5rem);
}
.fd-money__item {
  border-top: 1px solid var(--fd-hairline);
  padding-block: 1.6rem 1.9rem;
}
.fd-money__item h3 {
  font-size: 1.15rem;
  font-weight: 650;
  letter-spacing: -0.015em;
  color: var(--fd-ink);
  margin: 0 0 0.45rem;
}
.fd-money__item p {
  font-size: 0.98rem;
  line-height: 1.7;
  color: var(--fd-soft);
  margin: 0;
  max-width: none;
}
.fd-fin {
  background: var(--fd-stone);
  padding-block: clamp(5rem, 9vw, 6.5rem);
}
.fd-fin__split {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(2.5rem, 6vw, 5.5rem);
  align-items: start;
}
.fd-fin__text p {
  font-size: 1.05rem;
  line-height: 1.7;
  color: var(--fd-soft);
  margin: 1rem 0 0;
  max-width: 46ch;
}
.fd-fin__contact a {
  color: var(--fd-blue);
  font-weight: 700;
  text-decoration: none;
}
.fd-fin__panel {
  background: var(--fd-paper);
  padding: clamp(1.5rem, 3vw, 2.25rem);
}
.fd-fin__chart {
  display: flex;
  align-items: center;
  gap: clamp(1.25rem, 3vw, 2.25rem);
}
.fd-fin__chart .pie-chart {
  flex-shrink: 0;
}
.fd-fin__chart .pie-chart__legend {
  flex-grow: 1;
  display: grid;
  gap: 0.35rem;
}
.fd-fin__chart .pie-chart__item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.88rem;
  color: var(--fd-soft);
}
.fd-fin__chart .pie-chart__item strong {
  margin-left: auto;
  color: var(--fd-ink);
  font-variant-numeric: tabular-nums;
}
.fd-fin__chart .pie-chart__dot {
  width: 9px;
  height: 9px;
  border-radius: 999px;
  flex-shrink: 0;
  display: inline-block;
}
.fd-fin__totals {
  margin-top: 1.5rem;
  border-top: 1px solid var(--fd-hairline);
  padding-top: 1rem;
  display: grid;
  gap: 0.5rem;
}
.fd-fin__totals div {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  font-size: 0.92rem;
  color: var(--fd-soft);
}
.fd-fin__totals strong {
  color: var(--fd-ink);
  font-variant-numeric: tabular-nums;
}

@media (max-width: 960px) {
  .fd-fin__split {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 640px) {
  .fd-money__grid {
    grid-template-columns: 1fr;
  }
  .fd-fin__chart {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* ---------- Programs page (fd-programs) ---------- */

.fd-statement-sec--tight {
  padding-block: clamp(4rem, 7vw, 5.5rem);
}
.fd-statement__sub {
  margin: 1.25rem auto 0;
  max-width: 52ch;
  text-align: center;
  font-size: 1.05rem;
  line-height: 1.7;
  color: var(--fd-soft);
}
.fd-pillars {
  padding-block: 0 clamp(5rem, 9vw, 6.5rem);
  background: var(--fd-paper);
}
.fd-pillars__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 clamp(2.5rem, 6vw, 5rem);
}
.fd-pillar {
  border-top: 1px solid var(--fd-hairline);
  padding-block: 1.6rem 1.9rem;
}
.fd-pillar__n {
  display: block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  color: var(--fd-blue);
  margin-bottom: 0.6rem;
}
.fd-pillar h3 {
  font-size: 1.15rem;
  font-weight: 650;
  letter-spacing: -0.015em;
  color: var(--fd-ink);
  margin: 0 0 0.45rem;
}
.fd-pillar p {
  font-size: 0.98rem;
  line-height: 1.7;
  color: var(--fd-soft);
  margin: 0;
  max-width: none;
}
.fd-prow > .fd-prow__media {
  position: relative;
  width: 54.5%;
  flex-shrink: 0;
  aspect-ratio: 62 / 40;
  overflow: hidden;
  background: var(--fd-stone);
}
.fd-carousel__slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 0.8s var(--fd-ease);
}
.fd-carousel__slide.is-active {
  opacity: 1;
}
.fd-carousel__dots {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 12px;
  display: flex;
  justify-content: center;
  gap: 6px;
}
.fd-carousel__dot {
  width: 7px;
  height: 7px;
  border-radius: 999px;
  border: 0;
  padding: 0;
  background: rgba(255, 255, 255, 0.55);
  cursor: pointer;
}
.fd-carousel__dot.is-active {
  background: #fff;
}
.fd-carousel--single .fd-carousel__dots {
  display: none;
}
.fd-prow__panel .fd-kicker {
  margin-bottom: 0.2rem;
}
.fd-list {
  list-style: none;
  margin: 0.4rem 0 0;
  padding: 0;
  display: grid;
  gap: 0.55rem;
}
.fd-list li {
  position: relative;
  padding-left: 1.1rem;
  font-size: 0.95rem;
  line-height: 1.55;
  color: var(--fd-ink);
}
.fd-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.62em;
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: var(--fd-blue);
}
.fd-supp {
  background: var(--fd-tint);
  padding-block: clamp(5rem, 9vw, 6.5rem);
}
.fd-section-head__sub {
  margin: 1rem auto 0;
  max-width: 62ch;
  font-size: 1.05rem;
  line-height: 1.7;
  color: var(--fd-soft);
}
.fd-stats--3 {
  grid-template-columns: repeat(3, 1fr);
  max-width: 900px;
  margin-inline: auto;
}
.fd-supp .fd-stats__item p {
  font-size: 0.95rem;
}
.fd-supp__photos {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  max-width: 900px;
  margin: clamp(2.5rem, 5vw, 3.5rem) auto 0;
}
.fd-supp__photos--1 {
  grid-template-columns: 1fr;
  max-width: 600px;
}
.fd-supp__photos img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  display: block;
}
.fd-supp__note {
  margin: 2.5rem auto 0;
  max-width: 60ch;
  text-align: center;
  font-size: 0.9rem;
  font-style: italic;
  color: var(--fd-soft);
}
.fd-chapter {
  background: var(--fd-paper);
  padding-block: clamp(5rem, 9vw, 6.5rem) clamp(2.5rem, 5vw, 3.5rem);
  text-align: center;
}
.fd-chapter h2 {
  font-size: clamp(2.4rem, 5vw, 3.75rem);
  font-weight: 550;
  letter-spacing: -0.035em;
  line-height: 1.08;
  margin: 0 auto;
  max-width: 18ch;
  color: var(--fd-ink);
  text-wrap: balance;
}
.fd-chapter p {
  margin: 1.1rem auto 0;
  max-width: 48ch;
  font-size: 1.05rem;
  line-height: 1.7;
  color: var(--fd-soft);
}
.fd-nstats {
  background: var(--fd-paper);
  padding-block: 0 clamp(3rem, 6vw, 4.5rem);
}
.fd-nstats__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.fd-nstats .fd-bento__stat {
  padding: clamp(2rem, 4vw, 3rem);
}
.fd-nstats .fd-bento__number {
  font-size: clamp(3.4rem, 6vw, 5rem);
}
.fd-nstats .fd-bento__stat p {
  font-size: 1rem;
  max-width: 30ch;
}
.fd-quote {
  background: var(--fd-stone);
  padding-block: clamp(4.5rem, 8vw, 6.5rem);
  text-align: center;
}
.fd-quote blockquote {
  margin: 0 auto;
  max-width: 48ch;
}
.fd-quote p {
  font-size: clamp(1.5rem, 2.8vw, 2.2rem);
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.4;
  color: var(--fd-ink);
  margin: 0;
  max-width: none;
  text-wrap: balance;
}
.fd-quote cite {
  display: block;
  margin-top: 1.4rem;
  font-style: normal;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--fd-soft);
}

@media (max-width: 960px) {
  .fd-prow > .fd-prow__media {
    width: 100%;
  }
  .fd-stats--3 {
    grid-template-columns: 1fr;
    gap: 1.5rem 0;
  }
  .fd-stats--3 .fd-stats__item {
    border-left: none;
    padding-inline: 0;
    border-top: 1px solid var(--fd-hairline);
    padding-top: 1.5rem;
  }
  .fd-stats--3 .fd-stats__item:first-child {
    border-top: none;
    padding-top: 0;
  }
  .fd-nstats__grid {
    grid-template-columns: 1fr;
  }
  .fd-supp__photos {
    grid-template-columns: 1fr;
    max-width: 600px;
  }
}
@media (max-width: 640px) {
  .fd-pillars__grid {
    grid-template-columns: 1fr;
  }
}

/* ---------- Team page, grouped by role (fd-teampage) ---------- */

.fd-tgroup {
  padding-block: 0 clamp(3.5rem, 7vw, 5rem);
  background: var(--fd-paper);
}
.fd-tgroup .fd-kicker {
  margin-bottom: 1.4rem;
  padding-bottom: 0.9rem;
  border-bottom: 1px solid var(--fd-hairline);
}
.fd-tgroup .fd-team__card span {
  /* the group kicker carries the role; the partial prints it under a name
     only when someone sits in a group under a different title */
  display: block;
  margin-top: -0.15rem;
  margin-bottom: 0.35rem;
  font-size: 0.85rem;
  color: var(--fd-soft);
}
.fd-team__body strong {
  margin-bottom: 0.35rem;
}
.fd-team__bio p {
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin-top: 0.35rem;
}
.fd-team__bio.is-open p {
  display: block;
  -webkit-line-clamp: unset;
}
.fd-team__more {
  margin-top: 0.5rem;
  padding: 0;
  border: 0;
  background: none;
  font: inherit;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--fd-blue);
  cursor: pointer;
}
.fd-team__more[hidden] {
  display: none;
}
/* The first group gets the spotlight: two big cards to a row, bios in full. */
.fd-tgroup--lead .fd-team__grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 32px 24px;
}
.fd-tgroup--lead .fd-team__card img,
.fd-tgroup--lead .fd-team__initials {
  aspect-ratio: 1 / 1;
  margin-bottom: 1.1rem;
}
.fd-tgroup--lead .fd-team__body strong {
  font-size: 1.5rem;
  letter-spacing: -0.02em;
}
.fd-tgroup--lead .fd-team__bio p {
  display: block;
  -webkit-line-clamp: unset;
  font-size: 1rem;
}
.fd-tgroup--lead .fd-team__more {
  display: none;
}
/* A spotlight of one: photo beside the words. */
.fd-tgroup--single .fd-team__grid {
  grid-template-columns: 1fr;
}
.fd-tgroup--single .fd-team__card {
  display: grid;
  grid-template-columns: minmax(0, 0.36fr) minmax(0, 0.64fr);
  gap: clamp(1.5rem, 4vw, 3.5rem);
  align-items: center;
}
.fd-tgroup--single .fd-team__card img,
.fd-tgroup--single .fd-team__initials {
  aspect-ratio: 1 / 1.1;
  margin-bottom: 0;
}
.fd-team__notewrap {
  background: var(--fd-paper);
  padding-bottom: clamp(4rem, 8vw, 5.5rem);
}
.fd-team__notewrap .fd-team__note {
  margin-top: 0;
}

@media (max-width: 640px) {
  .fd-tgroup--lead .fd-team__grid {
    grid-template-columns: 1fr;
  }
  .fd-tgroup--single .fd-team__card {
    grid-template-columns: 1fr;
  }
  .fd-tgroup--single .fd-team__card img,
  .fd-tgroup--single .fd-team__initials {
    margin-bottom: 0.9rem;
  }
}

/* ---------- Partners page (fd-partners) ---------- */

.fd-logos {
  background: var(--fd-paper);
  padding-block: clamp(1.5rem, 3vw, 2.5rem) clamp(5rem, 9vw, 6.5rem);
}
/* Logo strip that holds its shape at any count. Each cell draws a 1px ring
   around itself; cells sit 1px apart so the rings meet as single lines
   between cells and between rows. The strip's own top and bottom lines run
   full width, and its sides are clipped open. A short last row centers.
   The build sets --logo-cols so rows stay balanced (at most five to a row). */
.fd-logos__row {
  --logo-cols: 5;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1px;
  border-top: 1px solid var(--fd-hairline);
  border-bottom: 1px solid var(--fd-hairline);
  overflow: clip;
}
.fd-logos__item {
  --logo-cell: calc((100% - (var(--logo-cols) - 1) * 1px) / var(--logo-cols));
  flex: 1 1 calc(var(--logo-cell) - 0.5px);
  max-width: var(--logo-cell);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 1.1rem;
  padding: 2.5rem 1.25rem;
  box-shadow: 0 0 0 1px var(--fd-hairline);
}
.fd-logos__mark {
  height: 76px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.fd-logos__mark img {
  max-height: 76px;
  max-width: 150px;
  width: auto;
  height: auto;
  object-fit: contain;
  display: block;
}
.fd-logos__item strong {
  font-size: 0.95rem;
  font-weight: 600;
  line-height: 1.4;
  color: var(--fd-ink);
  max-width: 18ch;
}
.fd-logos__item p {
  font-size: 0.88rem;
  line-height: 1.6;
  color: var(--fd-soft);
  margin: 0;
  max-width: 26ch;
}
.fd-partners .fd-ask p {
  max-width: 52ch;
  margin-inline: auto;
}

@media (max-width: 960px) {
  .fd-logos__row { --logo-cols: 3 !important; }
}
@media (max-width: 640px) {
  .fd-logos__row { --logo-cols: 2 !important; }
}
@media (max-width: 480px) {
  .fd-logos__row { --logo-cols: 1 !important; }
}

/* ============ EDITOR FOCUS POINTS ============ */
/* When she drags the circle in the Studio's crop tool, the build writes --pos
   on that photo (and --pos-m where the slot changes shape on a phone). Her
   focus point outranks whatever framing the slot's own rule sets. */
img[style*="--pos"] {
  object-position: var(--pos) !important;
}
@media (max-width: 960px) {
  img[style*="--pos-m"] {
    object-position: var(--pos-m) !important;
  }
}
