/* ==========================================================================
   Options round 3: trust ("A place parents can trust") and the closing CTA,
   plus the footer options from round 2 below. Everything is scoped to classes
   that only exist inside options 1 to 3 (.trust-o, .cta-o), so "Current" is
   untouched. Colours are the site's own tokens; the drawings are inline SVG
   from inc/illustrations-trust.php.
   ========================================================================== */

/* ------------------------------------------------------------------ TRUST */
.trust-o.safety-band { border-radius: 0; padding-block: clamp(32px, 4vw, 52px); background: transparent; }
.trust-o.safety-band::before, .trust-o.safety-band::after { display: none; }
.trust-o .trust-o__head { max-width: 60ch; margin-bottom: clamp(18px, 2.4vw, 28px); }
.trust-o .trust-o__head h2 { font-size: var(--o-fs-h2, 1.7rem); margin: 0 0 6px; color: var(--ink); line-height: 1.18; }
.trust-o .trust-o__head p { margin: 0; color: var(--ink-soft); opacity: 1; font-size: .98rem; }
.trust-o h3 { margin: 0; font-size: 1.02rem; color: var(--ink); }
.trust-o p { margin: 0; }
.tr-art { display: block; width: 100%; height: auto; }

.trust-chips { list-style: none; margin: 8px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.trust-chips li { padding: 3px 10px; border-radius: 999px; background: #fff; color: #2B4A48; border: 1px solid var(--accent-sage); font-size: .76rem; font-weight: 600; line-height: 1.4; }

/* 1: one big classroom scene, promises pinned to it ----------------------- */
.trust-o--scene.safety-band { background: var(--accent-sage); }
.trust-scene { display: grid; gap: 18px; grid-template-columns: 1fr; align-items: center; }
.trust-scene__fig { margin: 0; order: -1; }
.trust-notes { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; }
.trust-note { display: flex; gap: 12px; align-items: flex-start; }
.trust-note__n { flex: none; width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; background: var(--sage-deep); color: #fff; font: 800 .86rem/1 var(--font-head); }
.trust-note p { font-size: .9rem; color: var(--ink-soft); margin-top: 3px; line-height: 1.5; }
@media (min-width: 640px) and (max-width: 899.98px) { .trust-notes { grid-template-columns: 1fr 1fr; } }
@media (min-width: 900px) {
  .trust-scene { grid-template-columns: minmax(0, .9fr) minmax(0, 1.75fr) minmax(0, .9fr); gap: 26px; }
  .trust-scene__fig { order: 0; }
  .trust-notes { gap: 26px; }
}

/* 2: a row of illustrated promise cards ----------------------------------- */
.trust-o--cards.safety-band { background: var(--accent-yellow); }
.trust-o--day.safety-band { background: var(--surface); position: relative; }
.trust-cards { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; grid-template-columns: 1fr; }
@media (min-width: 560px) { .trust-cards { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1040px) { .trust-cards { grid-template-columns: repeat(4, 1fr); gap: 18px; } }
.trust-card { display: flex; flex-direction: column; background: #fff; border-radius: var(--r-xl); overflow: hidden; border-top: 4px solid var(--brand); box-shadow: var(--shadow-sm); transition: transform .25s var(--ease), box-shadow .25s var(--ease); }
.trust-card:nth-child(2) { border-top-color: var(--accent-sun); }
.trust-card:nth-child(3) { border-top-color: var(--sage-deep); }
.trust-card:nth-child(4) { border-top-color: var(--accent-sage); }
.trust-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.trust-card__art { padding: 14px 16px 6px; display: grid; place-items: center; background: var(--sage-tint); }
.trust-card--gold .trust-card__art { background: var(--gold-tint); }
.trust-card--clay .trust-card__art { background: var(--canvas-2); }
.trust-card__art .tr-art { max-height: 190px; }
.trust-card__txt { padding: 16px 18px 18px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.trust-card__txt p { font-size: .9rem; color: var(--ink-soft); line-height: 1.5; flex: 1; }
.trust-card__fact { align-self: flex-start; margin-top: 6px; padding: 4px 11px; border-radius: 999px; background: var(--sage-tint); color: #2B4A48; font-size: .78rem; font-weight: 700; font-family: var(--font-head); }
@media (prefers-reduced-motion: reduce) { .trust-card { transition: none; } .trust-card:hover { transform: none; } }

/* 3: a day in the life: arrive, learn, go home ---------------------------- */
.trust-day { list-style: none; margin: 0; padding: 0; display: grid; gap: 26px; grid-template-columns: 1fr; position: relative; }
.trust-day::before { content: ""; position: absolute; left: 14px; top: 14px; bottom: 14px; border-left: 2px dashed var(--accent-sage); }
.day { position: relative; padding-left: 50px; }
.day__node { position: absolute; left: 0; top: 0; width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: var(--brand); color: #fff; font: 800 .9rem/1 var(--font-head); z-index: 1; box-shadow: 0 0 0 5px var(--surface); }
.day__art { max-width: 270px; margin-bottom: 4px; }
.day h3 { font: 800 1.25rem/1.2 var(--font-head); margin-bottom: 8px; margin: 8px 0; }
.day__facts { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.day__facts li { padding-left: 12px; border-left: 3px solid var(--accent-sage); }
.day__facts b { display: block; font: 700 .98rem/1.3 var(--font-head); color: var(--ink); }
.day__facts span { display: block; font-size: .88rem; color: var(--ink-soft); line-height: 1.5; margin-top: 2px; }
@media (min-width: 900px) {
  .trust-day { grid-template-columns: 1fr 1.1fr 1fr; gap: 32px; }
  .trust-day::before { left: 15px; right: 15px; top: 14px; bottom: auto; border-left: 0; border-top: 2px dashed var(--accent-sage); }
  .day { padding-left: 0; padding-top: 44px; }
  .day__art { max-width: 300px; }
}

/* -------------------------------------------------------------------- CTA */
.cta-o { text-align: left; background: var(--accent-yellow); }
.cta-o--doors { background: var(--accent-sage); }
.cta-o--window { background: var(--accent-sun); }
.cta-o h2, .cta-o h3, .cta-o p { margin: 0; }
.cta-o h2 { font-size: clamp(1.45rem, 2.2vw, 1.85rem); line-height: 1.18; color: var(--ink); }
.cta-o .cta-o__copy > p { margin-top: 8px; color: var(--ink); max-width: 52ch; }
.cta-o__actions { display: flex; flex-wrap: wrap; gap: 10px 12px; align-items: center; margin-top: 18px; }
.cta-o .btn--ghost { background: #fff; color: var(--ink); border: 0; box-shadow: none; }
.cta-o .btn--ghost:hover { background: var(--canvas-2); color: var(--ink); }
.cta-o__notes { list-style: none; margin: 16px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px 18px; }
.cta-o__notes li { display: inline-flex; align-items: flex-start; gap: 7px; font-size: .86rem; color: var(--ink); line-height: 1.4; max-width: 34ch; }
.cta-o__notes svg { width: 14px; height: 14px; margin-top: 2px; color: var(--ink); flex: none; }
@media (max-width: 639.98px) { .cta-o__actions .btn { width: 100%; justify-content: center; } }

/* 1: crane over the hills */
.cta-o--hills { padding: clamp(28px, 4vw, 48px) 0 0; overflow: hidden; }
.cta-hills__sky { display: grid; grid-template-columns: 1fr; gap: 8px; align-items: center; padding-bottom: 6px; }
.cta-hills__flight { width: min(300px, 80%); height: auto; justify-self: center; order: -1; }
.cta-hills__land { display: block; width: 100%; height: clamp(54px, 8vw, 110px); margin-top: 0; }
@media (min-width: 820px) {
  .cta-hills__sky { grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 32px; }
  .cta-hills__flight { order: 0; width: min(420px, 100%); justify-self: end; margin-bottom: -10px; }
}

/* 2: two doors */
.cta-o--doors { padding-block: clamp(28px, 4vw, 48px); }
.cta-o--doors .cta-o__title { text-align: center; }
.cta-doors { display: grid; grid-template-columns: 1fr; gap: 16px; margin: 22px auto 0; max-width: 780px; }
@media (min-width: 700px) { .cta-doors { grid-template-columns: 1fr 1fr; gap: 22px; align-items: stretch; } }
.cta-doors--sf .cta-door--schools { order: -1; }
.cta-door { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 8px; padding: 28px 24px 24px; border-radius: 150px 150px var(--r-xl) var(--r-xl); }
.cta-door__art { width: 72px; height: 72px; padding: 13px; box-sizing: border-box; border-radius: 50%; background: #fff; flex: none; margin-bottom: 4px; }
.cta-door h3 { font: 800 1.2rem/1.2 var(--font-head); }
.cta-door p { font-size: .92rem; line-height: 1.5; flex: 1; max-width: 30ch; }
.cta-door .btn { margin-top: 8px; }
.cta-door small { font-size: .8rem; line-height: 1.4; max-width: 30ch; }
.cta-door--parents { background: var(--brand); color: #fff; }
.cta-door--parents h3 { color: #fff; }
.cta-door--parents p, .cta-door--parents small { color: #fff; }
.cta-door--parents .btn--primary { --btn-bg: var(--canvas-2); --btn-fg: var(--ink); background: var(--canvas-2); color: var(--ink); box-shadow: none; }
.cta-door--parents .btn--primary:hover { background: #fff; color: var(--ink); }

.cta-door--schools { background: var(--surface); color: var(--ink); }
.cta-door--schools p { color: var(--ink-soft); }
.cta-door--schools .btn--secondary { --btn-bg: var(--brand); --btn-fg: #fff; background: var(--brand); color: #fff; border: 0; }
.cta-doors__alt { text-align: center; margin-top: 14px !important; font-size: .92rem; }
.cta-doors__alt a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 22px; border-radius: 999px; background: var(--surface); color: var(--ink); font: 700 .92rem var(--font-head); text-decoration: none; }

/* 3: a window on the lesson */
.cta-o--window { position: relative; padding-block: clamp(30px, 4vw, 52px); overflow: hidden; }
.cta-win { position: relative; display: grid; grid-template-columns: 1fr; gap: 26px; align-items: center; }
.cta-seats { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 12px; margin-top: 18px; }
.cta-seats__dots { display: inline-flex; gap: 5px; }
.cta-seats__dots i { width: 10px; height: 10px; border-radius: 50%; background: var(--ink); display: block; }
.cta-seats__t { font-size: .86rem; color: var(--ink); font-weight: 600; }
.cta-win__view { position: relative; justify-self: center; width: min(100%, 340px); }
.cta-win__arch { height: 280px; border-radius: 170px 170px var(--r-xl) var(--r-xl); overflow: hidden; background: var(--sage-tint); display: grid; place-items: center; box-shadow: var(--shadow-md); border: 4px solid var(--surface); }
.cta-win__arch img { width: 100%; height: 100%; object-fit: cover; display: block; }
.cta-win__arch svg { width: 88%; height: auto; }
.cta-win__crane { position: absolute; top: -14px; right: 6%; width: 64px; height: auto; transform: rotate(10deg); }
@media (min-width: 820px) {
  .cta-win { grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: 48px; }
  .cta-win__view { justify-self: end; }
  .cta-win__arch { height: 300px; }
}

/* ----------------------------------------------------------------- FOOTER */
.site-footer--terra, .site-footer--sage, .site-footer--cream {
  --f-bg: var(--brand);
  --f-text: #fff;
  --f-head: #fff;
  --f-line: rgba(255, 255, 255, .22);
  --f-hover: var(--accent-yellow);
  --f-field: rgba(255, 255, 255, .12);
  --f-field-line: rgba(255, 255, 255, .45);
  --f-field-text: #fff;
  --f-soc-bg: rgba(255, 255, 255, .16);
  --f-soc-fg: #fff;
  --f-btn-bg: var(--accent-sun);
  --f-btn-fg: var(--ink);
  background: var(--f-bg);
  color: var(--f-text);
  font-size: 14px;
  line-height: 1.5;
  padding-block: 18px 6px;
  overflow: visible;
}
.site-footer--sage { --f-bg: var(--sage-deep); --f-btn-fg: var(--ink); }
.site-footer--cream {
  --f-bg: var(--canvas);
  --f-text: var(--ink-soft);
  --f-head: var(--ink);
  --f-line: var(--line);
  --f-hover: var(--brand-dark);
  --f-field: #fff;
  --f-field-line: #cfc6b2;
  --f-field-text: var(--ink);
  --f-soc-bg: #fff;
  --f-soc-fg: var(--brand-dark);
  --f-btn-bg: var(--brand);
  --f-btn-fg: #fff;
  border-top: 1px solid var(--line);
}
.site-footer--terra::before { opacity: .22; }
.site-footer--sage::before, .site-footer--cream::before { display: none; }
.site-footer--terra .brand__logo--footer, .site-footer--sage .brand__logo--footer, .site-footer--cream .brand__logo--footer { filter: none; }

.site-footer--terra > .wrap, .site-footer--sage > .wrap, .site-footer--cream > .wrap {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
}
.site-footer--terra .footer__grid, .site-footer--sage .footer__grid, .site-footer--cream .footer__grid { display: contents; }

/* Newsletter: one row. */
.site-footer--terra .footer__newsletter, .site-footer--sage .footer__newsletter, .site-footer--cream .footer__newsletter {
  display: grid; grid-template-columns: 1fr; gap: 6px 24px; align-items: center;
  padding: 0 0 12px; margin: 0; background: none; border: 0; border-bottom: 1px solid var(--f-line); border-radius: 0; box-shadow: none;
}
.site-footer--terra .footer__newsletter h3, .site-footer--sage .footer__newsletter h3, .site-footer--cream .footer__newsletter h3 {
  margin: 0; font-size: 1.05rem; line-height: 1.3; color: var(--f-head);
}
.site-footer--terra .footer__newsletter-form, .site-footer--sage .footer__newsletter-form, .site-footer--cream .footer__newsletter-form {
  display: flex; flex-wrap: nowrap; gap: 8px; margin: 0;
}
.site-footer--terra .footer__newsletter-form input, .site-footer--sage .footer__newsletter-form input, .site-footer--cream .footer__newsletter-form input {
  flex: 1 1 auto; min-width: 0; height: 42px; padding: 0 16px; border-radius: 999px;
  background: var(--f-field); border: 1px solid var(--f-field-line); color: var(--f-field-text);
  font-size: 14px; box-shadow: none;
}
.site-footer--terra .footer__newsletter-form input::placeholder, .site-footer--sage .footer__newsletter-form input::placeholder { color: rgba(255, 255, 255, .78); }
.site-footer--cream .footer__newsletter-form input::placeholder { color: var(--muted); }
.site-footer--terra .footer__newsletter-form .btn, .site-footer--sage .footer__newsletter-form .btn, .site-footer--cream .footer__newsletter-form .btn {
  --btn-bg: var(--f-btn-bg); --btn-fg: var(--f-btn-fg);
  min-height: 42px; padding: 0 20px; font-size: 14px; box-shadow: none; white-space: nowrap; flex: none;
}
.site-footer--cream .footer__newsletter-form .btn:hover { background: var(--brand-dark); }
.site-footer--terra .footer__newsletter-form .btn:hover { background: var(--canvas-2); }
.site-footer--sage .footer__newsletter-form .btn:hover { background: var(--canvas-2); }
.site-footer--terra .footer__newsletter-note, .site-footer--sage .footer__newsletter-note, .site-footer--cream .footer__newsletter-note,
.site-footer--terra .footer__newsletter-done, .site-footer--sage .footer__newsletter-done, .site-footer--cream .footer__newsletter-done,
.site-footer--terra .footer__newsletter-error, .site-footer--sage .footer__newsletter-error, .site-footer--cream .footer__newsletter-error {
  margin: 0; font-size: .8rem; color: var(--f-text); opacity: .85;
}

/* Brand, menus, contact. */
.site-footer--terra .footer__brand p, .site-footer--sage .footer__brand p, .site-footer--cream .footer__brand p {
  color: var(--f-text); font-size: .86rem; line-height: 1.45; margin: 6px 0 8px; max-width: 36ch;
}
.site-footer--terra .footer__brand .brand__logo, .site-footer--sage .footer__brand .brand__logo, .site-footer--cream .footer__brand .brand__logo { height: 34px; }
.site-footer--terra .footer__brand .brand, .site-footer--sage .footer__brand .brand, .site-footer--cream .footer__brand .brand { margin: 0; }
.site-footer--terra .footer__socials, .site-footer--sage .footer__socials, .site-footer--cream .footer__socials { gap: 8px; }
.site-footer--terra .footer__socials a, .site-footer--sage .footer__socials a, .site-footer--cream .footer__socials a {
  width: 34px; height: 34px; border-radius: var(--r-sm); background: var(--f-soc-bg); color: var(--f-soc-fg);
}
.site-footer--terra .footer__socials a svg, .site-footer--sage .footer__socials a svg, .site-footer--cream .footer__socials a svg { width: 17px; height: 17px; }
.site-footer--terra .footer__socials a:hover, .site-footer--sage .footer__socials a:hover, .site-footer--cream .footer__socials a:hover { transform: none; background: var(--f-head); color: var(--f-bg); }
.site-footer--cream .footer__socials a:hover { background: var(--brand); color: #fff; }

.site-footer--terra .footer__col h4, .site-footer--sage .footer__col h4, .site-footer--cream .footer__col h4 {
  margin: 0 0 8px; font-size: .95rem; letter-spacing: 0; text-transform: none; color: var(--f-head); font-weight: 800;
}
.site-footer--terra .footer__col ul, .site-footer--sage .footer__col ul, .site-footer--cream .footer__col ul { gap: 0 18px; margin: 0; padding: 0; list-style: none; }
.site-footer--terra .footer__col li, .site-footer--sage .footer__col li, .site-footer--cream .footer__col li,
.site-footer--terra .footer__col a, .site-footer--sage .footer__col a, .site-footer--cream .footer__col a { color: var(--f-text); font-size: .88rem; line-height: 1.5; }
.site-footer--terra .footer__col a, .site-footer--sage .footer__col a, .site-footer--cream .footer__col a { min-height: 28px; }
.site-footer--terra .footer__col a:hover, .site-footer--sage .footer__col a:hover, .site-footer--cream .footer__col a:hover { color: var(--f-hover); text-decoration: underline; }
.site-footer--terra .footer__col:nth-child(-n+3) ul, .site-footer--sage .footer__col:nth-child(-n+3) ul, .site-footer--cream .footer__col:nth-child(-n+3) ul { grid-template-columns: 1fr 1fr; }

/* Bottom bar. */
.site-footer--terra .footer__bottom, .site-footer--sage .footer__bottom, .site-footer--cream .footer__bottom {
  padding-top: 6px; border-top: 1px solid var(--f-line); font-size: .8rem; color: var(--f-text); gap: 4px 18px;
}
.site-footer--terra .footer__bottom p, .site-footer--sage .footer__bottom p, .site-footer--cream .footer__bottom p { margin: 0; }
.site-footer--terra .footer__legal a, .site-footer--sage .footer__legal a, .site-footer--cream .footer__legal a { min-height: 26px; color: var(--f-text); }
.site-footer--terra .footer__legal a:hover, .site-footer--sage .footer__legal a:hover, .site-footer--cream .footer__legal a:hover { color: var(--f-hover); }

@media (min-width: 900px) {
  .site-footer--terra > .wrap, .site-footer--sage > .wrap, .site-footer--cream > .wrap {
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 1.25fr) minmax(0, 1.5fr) minmax(0, 1fr);
    column-gap: 36px; row-gap: 0;
  }
  .site-footer--terra .footer__newsletter, .site-footer--sage .footer__newsletter, .site-footer--cream .footer__newsletter {
    grid-column: 1 / -1; grid-template-columns: minmax(0, 1fr) minmax(0, 480px); margin-bottom: 14px;
  }
  .site-footer--terra .footer__newsletter h3, .site-footer--sage .footer__newsletter h3, .site-footer--cream .footer__newsletter h3 { grid-column: 1; grid-row: 1; }
  .site-footer--terra .footer__newsletter-form, .site-footer--sage .footer__newsletter-form, .site-footer--cream .footer__newsletter-form { grid-column: 2; grid-row: 1 / span 2; }
  .site-footer--terra .footer__newsletter-note, .site-footer--sage .footer__newsletter-note, .site-footer--cream .footer__newsletter-note { grid-column: 1; grid-row: 2; }
  .site-footer--terra .footer__bottom, .site-footer--sage .footer__bottom, .site-footer--cream .footer__bottom { grid-column: 1 / -1; margin-top: 10px; }
}
@media (min-width: 640px) and (max-width: 899.98px) {
  .site-footer--terra > .wrap, .site-footer--sage > .wrap, .site-footer--cream > .wrap { grid-template-columns: 1fr 1fr; column-gap: 28px; }
  .site-footer--terra .footer__newsletter, .site-footer--sage .footer__newsletter, .site-footer--cream .footer__newsletter,
  .site-footer--terra .footer__bottom, .site-footer--sage .footer__bottom, .site-footer--cream .footer__bottom { grid-column: 1 / -1; }
}
@media (max-width: 639.98px) {
  .site-footer--terra .footer__newsletter-form, .site-footer--sage .footer__newsletter-form, .site-footer--cream .footer__newsletter-form { flex-wrap: wrap; }
  .site-footer--terra .footer__newsletter-form input, .site-footer--sage .footer__newsletter-form input, .site-footer--cream .footer__newsletter-form input { flex: 1 1 100%; }
}

/* ------------------------------------------------------------------------
   CTA on pages that print their own closing block (single-mm_class.php, same
   .cta-strip markup, owned elsewhere): styled by CSS only, so the program page
   closes with the same structure. Option 2 (two routes) needs its own markup,
   so there the program page takes the calm card.
   ------------------------------------------------------------------------ */
html[data-o-cta] .cta-strip:not(.cta-o) { padding-block: clamp(24px, 3vw, 40px); text-align: left; background: none; }
html[data-o-cta] .cta-strip:not(.cta-o) > .wrap { max-width: var(--wrap); padding-inline: var(--gutter); }
html[data-o-cta] .cta-strip:not(.cta-o) .cta-strip__box { border: 0; border-radius: var(--r-lg); padding: 20px clamp(20px, 3vw, 32px); box-shadow: var(--shadow-sm); }
html[data-o-cta] .cta-strip:not(.cta-o) .cta-strip__box::before,
html[data-o-cta] .cta-strip:not(.cta-o) .cta-strip__box::after,
html[data-o-cta] .cta-strip:not(.cta-o) .cta-strip__bg { display: none; }
html[data-o-cta] .cta-strip:not(.cta-o) .cta-strip__inner { max-width: none; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 4px 28px; align-items: center; }
html[data-o-cta] .cta-strip:not(.cta-o) h2 { margin: 0; font-size: 1.3rem; line-height: 1.2; grid-column: 1; }
html[data-o-cta] .cta-strip:not(.cta-o) p { margin: 0; font-size: .95rem; grid-column: 1; max-width: none; }
html[data-o-cta] .cta-strip:not(.cta-o) .cta-strip__actions { margin: 0; justify-content: flex-start; flex-direction: row; max-width: none; grid-column: 2; grid-row: 1 / span 2; }
@media (max-width: 700px) { html[data-o-cta] .cta-strip:not(.cta-o) .cta-strip__inner { grid-template-columns: 1fr; } html[data-o-cta] .cta-strip:not(.cta-o) .cta-strip__actions { grid-column: 1; grid-row: auto; margin-top: 10px; } }
html[data-o-cta="1"] .cta-strip:not(.cta-o) .cta-strip__box { background: var(--brand); }
html[data-o-cta="1"] .cta-strip:not(.cta-o) h2 { color: #fff; }
html[data-o-cta="1"] .cta-strip:not(.cta-o) p { color: #fff; }
html[data-o-cta="1"] .cta-strip:not(.cta-o) .btn--primary { --btn-bg: var(--accent-sun); --btn-fg: var(--ink); background: var(--accent-sun); color: var(--ink); box-shadow: none; }
html[data-o-cta="1"] .cta-strip:not(.cta-o) .btn--primary:hover { background: var(--canvas-2); color: var(--ink); }
html[data-o-cta="2"] .cta-strip:not(.cta-o) .cta-strip__box { background: var(--accent-yellow); border: 0; border-radius: var(--r-xl); box-shadow: var(--shadow-sm); }
html[data-o-cta="3"] .cta-strip:not(.cta-o) .cta-strip__box { background: var(--accent-sage); border: 0; border-radius: var(--r-xl); box-shadow: var(--shadow-sm); }
html[data-o-cta="2"] .cta-strip:not(.cta-o) h2,
html[data-o-cta="3"] .cta-strip:not(.cta-o) h2 { color: var(--ink); }
html[data-o-cta="2"] .cta-strip:not(.cta-o) p,
html[data-o-cta="3"] .cta-strip:not(.cta-o) p { color: var(--ink); }
html[data-o-cta="2"] .cta-strip:not(.cta-o) .btn:not(.btn--primary),
html[data-o-cta="3"] .cta-strip:not(.cta-o) .btn:not(.btn--primary) { --btn-fg: var(--ink); border: 0; background: #fff; color: var(--ink); }

/* ==========================================================================
   SLEEK PASS (round 5): trust and CTA. Smaller scenes, tighter bands.
   ========================================================================== */
html[data-o-calm] .trust-o.safety-band { padding-block: var(--band); }
html[data-o-calm] .trust-o .trust-o__head { margin-bottom: clamp(14px, 1.8vw, 20px); }
html[data-o-calm] .trust-o .trust-o__head h2 { font-size: clamp(1.35rem, 1.9vw, 1.7rem); }
html[data-o-calm] .trust-o h3 { font-size: 1rem; }
html[data-o-calm] .trust-scene { gap: 14px; }
html[data-o-calm] .trust-scene__fig .tr-art { max-height: 230px; width: auto; margin-inline: auto; }
html[data-o-calm] .trust-notes { gap: 12px; }
@media (min-width: 900px) { html[data-o-calm] .trust-notes { gap: 16px; } html[data-o-calm] .trust-scene { gap: 20px; } }
html[data-o-calm] .trust-cards { gap: 12px; }
html[data-o-calm] .trust-card__art { padding: 8px 12px 4px; }
html[data-o-calm] .trust-card__art .tr-art { max-height: 110px; width: auto; }
html[data-o-calm] .trust-card__txt { padding: 12px 16px 14px; gap: 4px; }
html[data-o-calm] .trust-card__fact { margin-top: 4px; }
html[data-o-calm] .trust-day { gap: 20px; }
html[data-o-calm] .day { padding-left: 44px; }
html[data-o-calm] .day__art { max-width: 190px; margin-bottom: 2px; }
html[data-o-calm] .day h3 { font-size: 1.05rem; margin: 6px 0; }
html[data-o-calm] .day__facts { gap: 8px; }
@media (min-width: 900px) {
  html[data-o-calm] .trust-day { gap: 24px; }
  html[data-o-calm] .day { padding-left: 0; padding-top: 36px; }
  html[data-o-calm] .day__art { max-width: 200px; }
}
/* CTA */
html[data-o-calm] .cta-o h2 { font-size: clamp(1.35rem, 1.9vw, 1.7rem); }
html[data-o-calm] .cta-o__actions { margin-top: 14px; }
html[data-o-calm] .cta-o__notes { margin-top: 12px; }
html[data-o-calm] .cta-o--hills { padding: clamp(24px, 2.8vw, 36px) 0 0; }
html[data-o-calm] .cta-hills__land { height: clamp(36px, 4.4vw, 60px); }
html[data-o-calm] .cta-hills__flight { width: min(220px, 70%); }
@media (min-width: 820px) {
  html[data-o-calm] .cta-hills__flight { width: min(300px, 100%); }
}
html[data-o-calm] .cta-o--doors { padding-block: var(--band); }
html[data-o-calm] .cta-doors { margin-top: 16px; gap: 14px; }
html[data-o-calm] .cta-door { padding: 18px 20px 18px; gap: 6px; border-radius: 120px 120px var(--r-xl) var(--r-xl); }
html[data-o-calm] .cta-door__art { width: 52px; height: 52px; padding: 10px; margin-bottom: 0; }
html[data-o-calm] .cta-door h3 { font-size: 1.05rem; }
html[data-o-calm] .cta-door .btn { margin-top: 4px; }
html[data-o-calm] .cta-doors__alt { margin-top: 12px !important; }
html[data-o-calm] .cta-o--window { padding-block: var(--band); }
html[data-o-calm] .cta-win { gap: 18px; }
html[data-o-calm] .cta-win__view { width: min(100%, 280px); }
html[data-o-calm] .cta-win__arch { height: 190px; border-radius: 140px 140px var(--r-lg) var(--r-lg); }
html[data-o-calm] .cta-win__crane { width: 48px; top: -10px; }
html[data-o-calm] .cta-seats { margin-top: 12px; }
@media (min-width: 820px) {
  html[data-o-calm] .cta-win { gap: 32px; }
  html[data-o-calm] .cta-win__arch { height: 200px; }
}

/* ==========================================================================
   BRAND PASS: stripe bar, solid CTAs, palette grounds.
   ========================================================================== */
.mm-stripe { display: flex; height: 6px; width: 100%; pointer-events: none; }
.mm-stripe i { flex: 1 1 0; display: block; }
.mm-stripe i:nth-child(1) { background: var(--brand); }
.mm-stripe i:nth-child(2) { background: var(--accent-sun); }
.mm-stripe i:nth-child(3) { background: var(--accent-sage); }
.site-footer > .mm-stripe { position: absolute; left: 0; right: 0; top: -6px; }
.trust-o--day > .mm-stripe { position: absolute; left: 0; right: 0; top: 0; }
.cta-o .btn, .cta-door .btn { min-height: 44px; }
/* Window on the lesson sits on amber: the primary is a cream fill with ink text. */
.cta-o--window .btn--primary { --btn-bg: var(--canvas-2); --btn-fg: var(--ink); background: var(--canvas-2); color: var(--ink); box-shadow: none; }
.cta-o--window .btn--primary:hover { background: #fff; color: var(--ink); }
.cta-o--window .cta-o__notes svg, .cta-o--window .cta-o__notes li { color: var(--ink); }
.trust-o--scene .trust-note p, .trust-o--scene .trust-o__head p { color: var(--ink); }
.trust-o--cards .trust-o__head p { color: var(--ink); }
.trust-chips li, .trust-card__fact { color: var(--ink); }
.trust-card__fact { background: var(--sage-tint); }

/* ---- home-programs (markup in blocks/sections/classes/grouped.php; base rules in 20-programs.css) ---- */
.hp.section--tint { background: var(--accent-yellow); }
.hp--2.section--tint { background: var(--accent-sage); }
.hp { --st: var(--canvas-2); }
.gp-s--0 { --st: var(--canvas-2); }
.hp .section-title { color: var(--ink); }
.hp .section-sub { color: var(--ink); }
.hp .section-more .btn { --btn-bg: var(--brand); --btn-fg: #fff; background: var(--brand); color: #fff; border: 0; min-height: 44px; box-shadow: var(--shadow-sm); }
.hp .section-more .btn:hover { background: var(--brand-dark); color: #fff; }
.hp .gp__path { stroke: var(--sage-deep); }
.hp .gp__leader { stroke: var(--sage-deep); }
.hp .gp__tick[data-n]::after { color: var(--ink); }
.hp .hs__card, .hp .gp-stop__link { border-top: 4px solid var(--sc); }
.hp .hs__more { color: var(--brand-dark); min-height: 44px; }
.hp .gp__flag small, .hp .hl__ages { color: var(--ink); }
.hp .hl__count, .hp .hs__facts, .hp .gp-stop__m, .hp .hl__name small, .hp .hs__m { color: var(--ink-soft); }

html[data-o-cta="1"] .cta-strip:not(.cta-o) .cta-strip__actions .btn--primary { --btn-bg: var(--accent-sun); --btn-fg: var(--ink); background: var(--accent-sun); color: var(--ink); }
html[data-o-cta="1"] .cta-strip:not(.cta-o) .cta-strip__actions .btn:not(.btn--primary) { --btn-fg: var(--ink); background: var(--canvas-2); color: var(--ink); border: 0; }
html[data-o-cta="2"] .cta-strip:not(.cta-o) .cta-strip__actions .btn:not(.btn--primary),
html[data-o-cta="3"] .cta-strip:not(.cta-o) .cta-strip__actions .btn:not(.btn--primary) { background: #fff; color: var(--ink); border: 0; }
.cta-o--window .cta-o__copy .cf-req, .cta-o--window .req { color: var(--ink); }
html[data-o-cta="1"] .cta-strip:not(.cta-o) .cta-strip__box { background: var(--brand); }
html[data-o-cta="1"] .cta-strip:not(.cta-o) .cta-strip__box * { text-shadow: none; }

/* ==========================================================================
   POLISH PASS (round 6): trust, CTA, footer, home programs.
   ========================================================================== */
/* Stripe bar: framed by two cream rules, so every third reads on any ground
   (the terracotta third on a terracotta footer, the grey third on grey). */
.site-footer > .mm-stripe, .trust-o--day > .mm-stripe {
  top: 0; height: 12px; box-sizing: border-box;
  border-block: 3px solid var(--canvas-2);
}
.site-footer--terra, .site-footer--sage, .site-footer--cream { position: relative; padding-top: 30px; }
.site-footer--cream > .mm-stripe { border-color: var(--surface); }

/* Trust 1: the scene large on the left, the four promises in one column beside it. */
@media (min-width: 900px) {
  html[data-o-calm] .trust-scene {
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
    grid-template-areas: "fig l" "fig r"; column-gap: clamp(28px, 4vw, 56px); row-gap: 18px; align-content: center;
  }
  html[data-o-calm] .trust-scene__fig { grid-area: fig; align-self: center; }
  html[data-o-calm] .trust-scene__fig .tr-art { max-height: 330px; width: 100%; }
  html[data-o-calm] .trust-notes--l { grid-area: l; align-self: end; }
  html[data-o-calm] .trust-notes--r { grid-area: r; align-self: start; }
}
.trust-chips { gap: 6px 6px; }
.trust-chips li { border-radius: 999px; white-space: nowrap; }
/* Trust 2: a two-line fact reads as a tag, not a stretched pill. */
.trust-card__fact { border-radius: var(--r-sm); line-height: 1.35; }

/* CTA, Current: body and reassurance text in solid white (AA on terracotta),
   the alternative a solid deep-terracotta button instead of an outline. */
html[data-o-calm]:not([data-o-cta]) .cta-strip:not(.cta-o) .cta-strip__copy p,
html[data-o-calm]:not([data-o-cta]) .cta-strip:not(.cta-o) .cta-strip__points li,
html[data-o-calm]:not([data-o-cta]) .cta-strip:not(.cta-o) .cta-strip__rail li { color: #fff; opacity: 1; }
html[data-o-calm]:not([data-o-cta]) .cta-strip:not(.cta-o) .cta-strip__points svg { color: #fff; opacity: 1; }
html[data-o-calm]:not([data-o-cta]) .cta-strip:not(.cta-o) .btn--ghost { background: var(--brand-darker); border-color: var(--brand-darker); color: #fff; }
html[data-o-calm]:not([data-o-cta]) .cta-strip:not(.cta-o) .btn--ghost:hover { background: var(--ink); border-color: var(--ink); color: #fff; }

/* CTA 2: both doors put their button on the same line, the note above it. */
.cta-door h3 { order: 1; }
.cta-door p { order: 2; flex: 0 1 auto; }
.cta-door small { order: 3; }
.cta-door .btn { order: 4; margin-top: auto !important; }
.cta-door > .btn { align-self: center; }
.cta-door small + .btn, .cta-door p + .btn { margin-top: auto; }
.cta-door { justify-content: flex-start; }
.cta-door p { margin-bottom: 6px; }
.cta-door--schools .cta-door__art { background: var(--gold-tint); }
/* CTA 3 on amber: the primary is solid terracotta (white text), the alternative white. */
.cta-o--window .btn--primary { --btn-bg: var(--brand-dark); --btn-fg: #fff; background: var(--brand-dark); color: #fff; }
.cta-o--window .btn--primary:hover { background: var(--brand-darker); color: #fff; }

/* Footer: solid white notes, 44px form, contact details one per line. */
.site-footer--terra .footer__newsletter-note, .site-footer--sage .footer__newsletter-note { opacity: 1; color: #fff; }
.site-footer--cream .footer__newsletter-note { opacity: 1; }
.site-footer--terra .footer__newsletter-form input, .site-footer--sage .footer__newsletter-form input, .site-footer--cream .footer__newsletter-form input,
.site-footer--terra .footer__newsletter-form .btn, .site-footer--sage .footer__newsletter-form .btn, .site-footer--cream .footer__newsletter-form .btn { min-height: 44px; height: 44px; }
html[data-o-calm] :is(.site-footer--terra, .site-footer--sage, .site-footer--cream) .footer__col:last-child ul { display: grid; grid-template-columns: 1fr; gap: 2px; }
.site-footer--terra .footer__col:last-child a, .site-footer--sage .footer__col:last-child a, .site-footer--cream .footer__col:last-child a { white-space: nowrap; }

/* Home programs. */
.hp .gp__tick[data-n="2"]::after { visibility: hidden; }
.hp .hs__more {
  display: inline-flex; align-items: center; gap: 6px; align-self: flex-start; width: fit-content;
  padding: 0 18px; border-radius: 999px; background: var(--canvas-2); color: var(--ink);
  font-weight: 700; text-decoration: none;
}
.hp .hs__more:hover { background: var(--accent-yellow); color: var(--ink); }
/* Current: the age tabs and the line under the heading at full white on terracotta. */
html[data-o-calm] #classes .section-sub { color: #fff; opacity: 1; }
html[data-o-calm] #classes .age-tabs__list { background: rgba(0, 0, 0, .14); }
html[data-o-calm] #classes .age-tabs__tab:not([aria-selected="true"]) { background: none; color: #fff; }
html[data-o-calm] #classes .age-tabs__tab small { opacity: 1; }
html[data-o-calm] #classes .section-head .section-sub { color: #fff !important; }
html[data-o-calm] #classes .age-tabs__tab:not([aria-selected="true"]) small { color: #fff; }
html[data-o-calm]:not([data-o-footer]) .site-footer .footer__newsletter-note { color: #fff; opacity: 1; }
