/* Per-section scaffolding: the grids, columns and stacking that give each
   band of the page its shape. Component skin lives in components.css. */

/* --- header --------------------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: var(--paper);
  transition: box-shadow var(--dur) var(--ease);
}
.site-header.is-stuck { box-shadow: 0 1px 22px rgba(102, 96, 90, 0.09); }
.site-header__inner {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: clamp(16px, 2vw, 40px);
  min-height: clamp(88px, 8.4vw, 120px);
}
.site-header__logo img { height: clamp(44px, 4.2vw, 60px); width: auto; }
.site-header__actions { display: flex; align-items: center; gap: clamp(12px, 1.4vw, 20px); }

/* --- hero ----------------------------------------------------------------- */
.hero__inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: clamp(24px, 3vw, 48px);
  padding-block: clamp(48px, 6vw, 86px) clamp(28px, 3.4vw, 48px);
}
.hero__copy { max-width: 640px; }
.hero__title { margin-block: clamp(2px, 0.4vw, 6px) clamp(18px, 1.7vw, 24px); }
.hero__text { max-width: 480px; }
.hero__cta { display: flex; flex-wrap: wrap; align-items: center; gap: clamp(16px, 2.2vw, 32px); margin-top: clamp(26px, 3vw, 44px); }
.hero__media { position: relative; justify-self: end; width: min(100%, 477px); margin-inline-end: clamp(0px, 3vw, 45px); }
/* the arch: a wide, shallow curve across the top two corners only */
.hero__media img { width: 100%; border-radius: 50% 50% 0 0 / 25% 25% 0 0; }
/* scroll cue: centred on the page, below the hero grid */
.hero__scroll { display: grid; place-items: center; padding-bottom: clamp(28px, 3.6vw, 52px); }

/* --- pillars strip -------------------------------------------------------- */
.pillars__inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(18px, 3.4vw, 56px);
  flex-wrap: wrap;
  padding-block: clamp(20px, 2.4vw, 34px) clamp(34px, 4vw, 56px);
  border-top: 1px solid var(--hairline);
  margin-top: clamp(20px, 2.4vw, 34px);
}

/* --- mission quote -------------------------------------------------------- */
.mission__inner {
  position: relative;
  max-width: 1000px;
  margin-inline: auto;
  text-align: center;
  padding-block: clamp(52px, 5.6vw, 80px);
}
.mission__quote-mark {
  position: absolute;
  top: clamp(78px, 8.2vw, 118px);
  left: 50%;
  translate: -50% 0;
  width: clamp(78px, 8vw, 116px);
  color: var(--sage-soft);
  opacity: 0.85;
  z-index: 0;
}
.mission__inner > *:not(.mission__quote-mark) { position: relative; z-index: 1; }
.mission__text { font-size: var(--fs-h5); line-height: 1.1; margin-top: clamp(18px, 2vw, 28px); }
.mission__sign { margin-top: clamp(16px, 1.8vw, 26px); }

/* --- service rows --------------------------------------------------------- */
.service__inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(24px, 4vw, 72px);
  padding-block: clamp(20px, 2.2vw, 34px);
}
.service__media { width: min(100%, 634px); }
/* the photo is capped by a half-circle on the side facing the copy */
.service__media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 0 38% 38% 0 / 0 50% 50% 0; }
.service--reverse .service__media { order: 2; justify-self: end; }
.service--reverse .service__media img { border-radius: 38% 0 0 38% / 50% 0 0 50%; }
.service__copy { max-width: 560px; }
.service--reverse .service__copy { justify-self: start; }
.service__title { margin-block: clamp(2px, 0.4vw, 6px) clamp(14px, 1.4vw, 20px); }
.service__text { max-width: 440px; font-size: var(--fs-small); }
.service__link { margin-top: clamp(18px, 2vw, 28px); }

/* --- centred call-to-action bands ---------------------------------------- */
.cta-band__inner {
  display: grid;
  justify-items: center;
  gap: clamp(14px, 1.6vw, 22px);
  text-align: center;
  padding-block: clamp(44px, 5vw, 72px);
}
.cta-band__title { max-width: 780px; }

/* --- about ---------------------------------------------------------------- */
.about__inner {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr);
  align-items: center;
  gap: clamp(28px, 4.4vw, 80px);
  padding-block: clamp(48px, 5.4vw, 78px);
}
/* arch: fully rounded top, flat base — the silhouette used for every portrait */
.about__media img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 18%; border-radius: 50% 50% 0 0 / 30% 30% 0 0; }
.about__copy { max-width: 560px; }
.about__title { font-size: var(--fs-h5); margin-bottom: clamp(12px, 1.2vw, 18px); }
.about__text + .about__text { margin-top: 1em; }
.about__cta { margin-top: clamp(22px, 2.4vw, 34px); }
.about__stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(20px, 3vw, 48px);
  margin-top: clamp(36px, 4.4vw, 64px);
  padding-top: clamp(28px, 3.2vw, 46px);
  border-top: 1px solid var(--hairline);
  grid-column: 1 / -1;
}
.about__stat p { max-width: 300px; }

/* --- programs ------------------------------------------------------------- */
.programs-intro__inner {
  display: grid;
  justify-items: center;
  gap: clamp(10px, 1vw, 14px);
  text-align: center;
  padding-block: clamp(48px, 5.4vw, 76px) clamp(10px, 1vw, 14px);
}
.programs-intro__text { max-width: 480px; }
.programs__inner {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--col-gap);
  padding-block: clamp(28px, 3.2vw, 48px) clamp(40px, 4.6vw, 68px);
}

/* --- testimonial ---------------------------------------------------------- */
.testimonial__inner {
  display: grid;
  justify-items: center;
  gap: clamp(20px, 2.4vw, 34px);
  text-align: center;
  padding-block: clamp(52px, 5.8vw, 84px);
}
.testimonial__stars { width: clamp(96px, 8vw, 116px); }
.testimonial__quote { max-width: 720px; }
.testimonial__person { display: flex; align-items: center; gap: clamp(14px, 1.6vw, 22px); }
.testimonial__avatar { width: 88px; height: 88px; border-radius: 50%; object-fit: cover; }
.testimonial__person div { text-align: left; }

/* --- process -------------------------------------------------------------- */
.process__inner {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(14px, 1.5vw, 22px);
  padding-block: clamp(10px, 1vw, 14px) clamp(14px, 1.5vw, 22px);
}

/* --- newsletter banner ---------------------------------------------------- */
.newsletter { position: relative; overflow: hidden; background: linear-gradient(100deg, var(--blue-mist) 0%, var(--mist) 55%, var(--sage-soft) 100%); }
.newsletter__mark {
  position: absolute;
  right: clamp(-40px, -2vw, 0px);
  top: 50%;
  translate: 0 -50%;
  width: clamp(260px, 34vw, 480px);
  mix-blend-mode: multiply;
  opacity: 0.5;
  z-index: 0;
}
.newsletter__inner { position: relative; z-index: 1; padding-block: clamp(56px, 6.4vw, 94px); }
.newsletter__copy { max-width: 420px; }
.newsletter__title { font-size: var(--fs-h4); line-height: 1.2; }
.newsletter__cta { margin-top: clamp(22px, 2.6vw, 36px); }

/* --- FAQ ------------------------------------------------------------------ */
.faq-intro__inner {
  display: grid;
  justify-items: center;
  gap: clamp(4px, 0.6vw, 8px);
  text-align: center;
  padding-block: clamp(52px, 5.8vw, 84px) clamp(12px, 1.2vw, 18px);
}
.faq-intro__title { max-width: 560px; }
.faq__inner { max-width: 1000px; margin-inline: auto; padding-block: clamp(10px, 1vw, 16px) clamp(36px, 4vw, 58px); }

/* --- footer --------------------------------------------------------------- */
.site-footer { background: var(--paper); border-top: 1px solid var(--hairline); }
.site-footer__top {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.9fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(28px, 4vw, 64px);
  padding-block: clamp(44px, 5vw, 72px) clamp(28px, 3vw, 42px);
}
.site-footer__brand { display: grid; gap: clamp(14px, 1.6vw, 22px); justify-items: start; }
.site-footer__logo img { height: clamp(44px, 4.4vw, 62px); width: auto; }
.site-footer__media { justify-self: center; width: clamp(200px, 21vw, 300px); }
.site-footer__media img { width: 100%; aspect-ratio: 425 / 428; object-fit: cover; border-radius: 50% 50% 0 0 / 40% 40% 0 0; }
.site-footer__form { max-width: 380px; justify-self: end; width: 100%; }
.site-footer__form h4 { font-size: var(--fs-h5); }
.site-footer__bottom {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: center;
  gap: clamp(20px, 3vw, 40px);
  padding-bottom: clamp(28px, 3.4vw, 48px);
}
.site-footer__social { display: flex; align-items: center; gap: 12px; }
.site-footer__nav { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: clamp(16px, 2vw, 34px); }

/* --- responsive ----------------------------------------------------------- */
@media (max-width: 1024px) {
  .site-header__inner { grid-template-columns: auto auto; justify-content: space-between; min-height: 88px; }
  .hero__inner,
  .service__inner { grid-template-columns: minmax(0, 1fr); }
  .hero__media { justify-self: center; max-width: 560px; margin-inline-end: 0; }
  .service--reverse .service__media { order: -1; justify-self: center; max-width: 560px; }
  .about__inner { grid-template-columns: minmax(0, 1fr); }
  .about__media { justify-self: center; max-width: 460px; }
  .about__stats { grid-template-columns: minmax(0, 1fr); }
  .programs__inner { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .newsletter__mark { opacity: 0.28; }
  .site-footer__top,
  .site-footer__bottom { grid-template-columns: minmax(0, 1fr); justify-items: center; text-align: center; }
  .site-footer__brand { justify-items: center; }
  .site-footer__form { justify-self: center; }
  .site-footer__nav { justify-content: center; }
}

@media (max-width: 680px) {
  .hero__scroll { padding-bottom: clamp(20px, 5vw, 32px); }
  .pillars__inner { gap: 14px 24px; }
  .programs__inner,
  .process__inner { grid-template-columns: minmax(0, 1fr); }
  .testimonial__person { flex-direction: column; text-align: center; }
  .testimonial__person div { text-align: center; }
}
