/* Section-level visual support. Content and navigation remain native HTML. */
body .apc-section-composition{display:grid;grid-template-columns:minmax(0,1.35fr) minmax(0,1fr);gap:clamp(24px,4vw,56px);align-items:center}
body .apc-section-copy,body .apc-section-visual{min-width:0}
body .apc-section-visual{display:flex;justify-content:center;align-items:center}
body .apc-section-photo{display:block;width:100%;height:auto;aspect-ratio:3/2;object-fit:cover;border-radius:20px;box-shadow:0 18px 30px -24px #07373499}
body .apc-section-portrait{display:block;width:min(100%,224px);height:auto;border-radius:24px}
body .apc-section-emblem{display:inline-flex;align-items:center;justify-content:center;flex:0 0 auto;width:72px;height:72px;border-radius:20px;background:linear-gradient(145deg,#209889,#075c54);color:#fff8e8;box-shadow:inset 0 1px 0 #ffffff60,0 8px 16px -12px #073734aa;margin:0 0 16px}
body .apc-section-emblem svg{display:block;width:48px;height:48px}
body .apc-emblem-sage{background:linear-gradient(145deg,#bedaba,#79a48a);color:#073734}
body .apc-emblem-coral{background:linear-gradient(145deg,#f6c49f,#df9271);color:#073734}
body .apc-section-visual>.apc-section-emblem{width:132px;height:132px;border-radius:32px;margin:0}
body .apc-section-visual>.apc-section-emblem svg{width:88px;height:88px}
body .learning-note{padding:clamp(24px,4vw,48px)!important}
body .learning-note .apc-section-copy>h2{max-width:20ch}
body .learning-note .apc-section-photo{aspect-ratio:1/1;max-width:380px}
body .parent-closing .apc-section-copy{text-align:left}
body .parent-closing .audience-actions{justify-content:flex-start}
body .route-actions>.apc-section-photo{max-width:340px;justify-self:center}
body .apc-quote-visual>.apc-section-photo{float:right;width:30%;margin:0 0 24px 40px}
body .apc-quote-visual::after{content:"";display:block;clear:both}
body .apc-section-emblem+.number{margin-left:12px}
body .school-share-overview>.apc-section-emblem{margin:0}
body .minimal-closing .audience-actions{align-items:stretch}
body .minimal-closing .audience-actions>a{display:flex;flex:1 1 0;flex-direction:column;align-items:flex-start;min-width:0;gap:12px}
body .apc-link-visual{display:block;width:100%;height:auto;aspect-ratio:2/1;object-fit:cover;border-radius:14px}
body .apc-duration-visual{width:100%;padding:28px;background:#e8f0e8;border:1px solid #c9daca;border-radius:24px;text-align:center;color:#073734}
body .apc-duration-visual strong{display:block;font-size:48px;line-height:1.2}
body .apc-duration-visual>span:last-child{display:block;font-size:14px}
body .credential>.apc-section-emblem{float:left;width:48px;height:48px;border-radius:14px;margin:0 16px 8px 0}
body .credential>.apc-section-emblem svg{width:32px;height:32px}
body .work-step>.apc-section-emblem{display:flex}
body #story .apc-section-photo{max-width:480px;margin:24px 0}
body .next-sequence .apc-section-emblem{display:flex;width:56px;height:56px;margin-top:16px}
body .next-sequence .apc-section-emblem svg{width:38px;height:38px}
@media(max-width:760px){
body .apc-section-composition{grid-template-columns:minmax(0,1fr);gap:24px}
body .apc-section-visual>.apc-section-photo{max-height:300px}
body .apc-quote-visual>.apc-section-photo{float:none;width:100%;max-width:360px;margin:0 0 24px}
body .minimal-closing .audience-actions{flex-direction:column}
body .minimal-closing .audience-actions>a{width:100%}
body .school-share-overview{flex-wrap:wrap}
body .apc-section-visual>.apc-section-emblem{width:96px;height:96px}
body .apc-section-visual>.apc-section-emblem svg{width:64px;height:64px}
}
@media(forced-colors:active){body .apc-section-emblem{border:1px solid CanvasText;color:CanvasText;background:Canvas;box-shadow:none}}

body .final-card>.apc-section-photo{float:right;width:32%;max-width:340px;margin:0 0 24px 32px}body .final-card::after{content:"";display:block;clear:both}body .apc-article-emblem{width:52px;height:52px;border-radius:15px;margin:0 0 14px}body .apc-article-emblem svg{width:36px;height:36px}@media(max-width:760px){body .final-card>.apc-section-photo{float:none;width:100%;margin:0 0 24px}}

/* Keep blog text and grid children within narrow screens, including long links. */
body.apc-blog-page main{overflow-wrap:anywhere}body.apc-blog-page .blog-feature{grid-template-columns:minmax(0,220px) minmax(0,1fr)}body.apc-blog-page .blog-feature>div,body.apc-blog-page .audience-author p{min-width:0}@media(max-width:760px){body.apc-blog-page .blog-feature{grid-template-columns:minmax(0,1fr)}}

body.apc-free-tool-page .free-final-card.apc-section-composition{width:100%;max-width:1080px!important;text-align:left}body.apc-free-tool-page .free-final-card .apc-section-copy{text-align:left}body.apc-free-tool-page .free-final-card h2{font-size:clamp(28px,3.2vw,42px)!important;line-height:1.15!important}

/* This standalone page does not inherit the legacy body reset. */
body.apc-blog-page{margin:0}



/* 2026-09-24 approved visual cleanup: testimonial + blog card organisation. */
body .apc-quote-visual{
  display:grid;
  grid-template-columns:minmax(0,1.42fr) minmax(320px,.78fr);
  grid-template-areas:
    "eyebrow photo"
    "quote photo"
    "cite photo";
  column-gap:clamp(34px,5vw,72px);
  row-gap:18px;
  align-items:center;
  padding:clamp(32px,4.8vw,64px);
  border:1px solid rgba(7,55,52,.12);
  border-radius:30px;
  background:#fffdf9;
  overflow:hidden;
}
body .apc-quote-visual>.eyebrow{grid-area:eyebrow;margin:0;align-self:end}
body .apc-quote-visual>blockquote{
  grid-area:quote;
  max-width:20ch;
  margin:0;
  font-size:clamp(2rem,3.25vw,3.55rem);
  line-height:1.1;
  letter-spacing:-.025em;
}
body .apc-quote-visual>cite{
  grid-area:cite;
  display:flex;
  align-items:center;
  gap:16px;
  margin:8px 0 0;
  font-style:normal;
  font-weight:700;
}
body .apc-quote-visual>cite::before{
  content:"";
  width:44px;
  height:2px;
  flex:0 0 44px;
  background:#e8997a;
}
body .apc-quote-visual>.apc-section-photo{
  grid-area:photo;
  float:none;
  width:100%;
  height:auto;
  max-height:420px;
  aspect-ratio:4/3;
  margin:0;
  object-fit:cover;
  object-position:center;
  border-radius:24px;
  box-shadow:0 20px 44px -30px rgba(7,55,52,.55);
}
body .apc-quote-visual::after{content:none;display:none}

body.apc-blog-page .audience-grid{align-items:stretch}
body.apc-blog-page .audience-card{
  display:flex;
  flex-direction:column;
  height:100%;
  min-height:0;
  padding:20px;
  border:1px solid rgba(7,55,52,.12);
  border-radius:20px;
  background:#fffdf9;
}
body.apc-blog-page .guide-card-visual{
  width:100%;
  max-height:none;
  aspect-ratio:16/10;
  object-fit:cover;
  border-radius:14px;
  margin:0 0 18px;
}
body.apc-blog-page .audience-card h3{
  margin:0 0 12px;
  font-size:clamp(1.28rem,1.7vw,1.55rem);
  line-height:1.22;
}
body.apc-blog-page .audience-card h3 a{
  color:#0f766e;
  text-decoration-thickness:1px;
  text-underline-offset:4px;
}
body.apc-blog-page .audience-card p{
  margin:0;
  font-size:.98rem;
  line-height:1.65;
  color:#2d3d3a;
}
@media(max-width:800px){
  body .apc-quote-visual{
    grid-template-columns:1fr;
    grid-template-areas:
      "eyebrow"
      "photo"
      "quote"
      "cite";
    row-gap:20px;
    padding:24px;
  }
  body .apc-quote-visual>blockquote{
    max-width:none;
    font-size:clamp(1.8rem,7vw,2.6rem);
  }
  body .apc-quote-visual>.apc-section-photo{
    max-height:none;
    aspect-ratio:16/10;
  }
}
@media(max-width:520px){
  body .apc-quote-visual{padding:20px;border-radius:22px}
  body.apc-blog-page .audience-card{padding:16px;border-radius:18px}
  body.apc-blog-page .guide-card-visual{margin-bottom:16px}
}

/* Homepage examples and parent story. */
body.apc-home-page .hero-visual .hero-approach{top:auto;bottom:clamp(14px,2vw,24px)}
body.apc-home-page .home-shift{display:grid;grid-template-columns:minmax(0,.8fr) minmax(0,1.2fr);gap:clamp(28px,5vw,64px);align-items:center}
body.apc-home-page .home-shift-copy h2{max-width:16ch}
body.apc-home-page .home-shift-copy p{max-width:48ch;line-height:1.65}
body.apc-home-page .home-shift-note{font-size:.88rem;color:#5b6b68}
body.apc-home-page .home-shift-figure{margin:0}
body.apc-home-page .home-shift-figure img{display:block;width:100%;height:auto;aspect-ratio:16/9;object-fit:cover;border-radius:24px}
body.apc-home-page .home-shift-figure figcaption{display:grid;grid-template-columns:1fr 1fr;gap:16px;margin-top:12px;color:#073734;font-size:.9rem;font-weight:700}
@media(max-width:800px){body.apc-home-page .home-shift{grid-template-columns:1fr}body.apc-home-page .hero-visual .hero-approach{position:relative;bottom:auto;right:auto;width:100%;margin-top:12px}}

body.apc-home-page .apc-quote-visual{grid-template-columns:minmax(0,1.15fr) minmax(340px,.85fr);gap:clamp(28px,4vw,52px)}
body.apc-home-page .apc-quote-visual>blockquote{max-width:31ch;font-size:clamp(1.65rem,2.25vw,2.25rem);line-height:1.2}
@media(max-width:800px){body.apc-home-page .apc-quote-visual{grid-template-columns:1fr;gap:18px}body.apc-home-page .apc-quote-visual>blockquote{max-width:none;font-size:clamp(1.7rem,6.5vw,2.2rem)}}

body.apc-home-page #start .route-actions>.apc-section-photo{aspect-ratio:3/2;object-fit:cover;object-position:center;max-width:340px}

/* Keep the booking invitation useful even when the third-party calendar is unavailable. */
body.apc-home-page .apc-booking-panel{display:grid;grid-template-columns:minmax(0,1.25fr) minmax(270px,.75fr);gap:clamp(30px,5vw,70px);align-items:center;background:#fffdf9;border:1px solid #dbe7e4;border-radius:28px;padding:clamp(28px,5vw,58px);box-shadow:0 20px 54px -42px #0737347a}
body.apc-home-page .apc-booking-intro{margin:0}
body.apc-home-page .apc-booking-intro h2{max-width:14ch}
body.apc-home-page .apc-booking-intro>p{max-width:58ch}
body.apc-home-page .apc-booking-boundary{color:#45625e;font-size:.92rem}
body.apc-home-page .apc-booking-actions{display:flex;flex-wrap:wrap;gap:12px;margin-top:26px}
body.apc-home-page .apc-booking-actions .button{font:inherit;cursor:pointer;text-align:center}
body.apc-home-page .apc-booking-guide{background:#f2f7f5;border-radius:22px;padding:clamp(24px,3vw,36px)}
body.apc-home-page .apc-booking-guide ol{list-style:none;counter-reset:booking;margin:0;padding:0}
body.apc-home-page .apc-booking-guide li{counter-increment:booking;display:grid;grid-template-columns:36px 1fr;gap:0 12px;padding:16px 0;border-bottom:1px solid #d6e5e1}
body.apc-home-page .apc-booking-guide li:last-child{border-bottom:0;padding-bottom:0}
body.apc-home-page .apc-booking-guide li::before{content:counter(booking);grid-row:span 2;display:grid;place-items:center;width:32px;height:32px;border-radius:50%;background:#dff8f4;color:#073734;font-weight:700}
body.apc-home-page .apc-booking-guide span{color:#45625e;font-size:.9rem}
body.apc-home-page [data-cal-inline]{margin-top:24px}
body.apc-home-page [data-cal-inline][hidden]{display:none!important}
@media(max-width:800px){body.apc-home-page .apc-booking-panel{grid-template-columns:1fr}body.apc-home-page .apc-booking-actions .button{width:100%}}

/* Put the process explanation beside its heading and keep the cards close below. */
body.apc-home-page #how-apc-helps .section-head{display:grid;grid-template-columns:minmax(0,.95fr) minmax(0,1.05fr);gap:0 clamp(24px,4vw,54px);align-items:center;max-width:980px!important;margin:0 auto 22px!important;text-align:left}
body.apc-home-page #how-apc-helps .section-head>.eyebrow{grid-column:1;align-self:end}
body.apc-home-page #how-apc-helps .section-head h2{grid-column:1;max-width:20ch;margin-bottom:0;text-wrap:balance}
body.apc-home-page #how-apc-helps .section-head>p:last-child{grid-column:2;grid-row:1 / span 2;max-width:50ch;margin:0;align-self:center;text-wrap:pretty}
/* The booking title belongs with its explanation, alongside the next-step guide. */
body.apc-home-page .apc-booking-panel{grid-template-columns:minmax(0,1.15fr) minmax(290px,.85fr);gap:clamp(28px,4vw,52px);align-items:center}
body.apc-home-page .apc-booking-intro h2{max-width:20ch;font-size:clamp(2.25rem,3vw,3rem);line-height:1.1;text-wrap:balance}
body.apc-home-page .apc-booking-actions{margin-top:20px}
@media(max-width:800px){body.apc-home-page #how-apc-helps .section-head{display:block;max-width:100%!important;margin-bottom:16px!important}body.apc-home-page #how-apc-helps .section-head h2{margin-bottom:10px}body.apc-home-page .apc-booking-panel{grid-template-columns:1fr}body.apc-home-page .apc-booking-intro h2{font-size:clamp(2rem,8vw,2.7rem)}}
/* These two sections do not need a full viewport of empty space. */
body.apc-tier-a.apc-home-page main > #how-apc-helps,
body.apc-tier-a.apc-home-page main > #book-first-step{min-height:0;align-items:initial;padding-block:clamp(44px,5vw,68px)!important}
@media(max-width:800px){body.apc-tier-a.apc-home-page main > #how-apc-helps,body.apc-tier-a.apc-home-page main > #book-first-step{padding-block:36px!important}}
/* Show support options directly after the shorter process section. */
body.apc-tier-a.apc-home-page main > #support-options{min-height:0;align-items:initial;padding-block:clamp(44px,5vw,68px)!important}
@media(max-width:800px){body.apc-tier-a.apc-home-page main > #support-options{padding-block:36px!important}}

/* Make the promise in the home headline easy to spot. */
body.apc-home-page .hero-copy .home-hero-emphasis{
  color:#0b655d;
  background:linear-gradient(transparent 68%,rgba(232,153,122,.48) 68%,rgba(232,153,122,.48) 94%,transparent 94%);
  -webkit-box-decoration-break:clone;
  box-decoration-break:clone;
}

/* Keep the parent's full account while giving its card a shorter footprint. */
body.apc-tier-a.apc-home-page main > #parent-story{
  min-height:0;
  align-items:initial;
  padding-block:clamp(38px,4.5vw,60px)!important;
}
body.apc-home-page #parent-story .apc-quote-visual{
  grid-template-columns:minmax(0,1.3fr) minmax(290px,.7fr);
  gap:clamp(20px,3vw,40px);
  padding:clamp(26px,3.5vw,46px);
}
body.apc-home-page #parent-story .apc-quote-visual>blockquote{
  max-width:37ch;
  font-size:clamp(1.5rem,1.9vw,1.85rem);
  line-height:1.23;
}
body.apc-home-page #parent-story .apc-quote-visual>.apc-section-photo{max-height:350px}

/* About follows the same content-led rhythm as the home sections. */
body.apc-tier-a.apc-about-page main > .section{
  min-height:0;
  align-items:initial;
  padding-block:clamp(42px,5vw,68px)!important;
}
body.apc-tier-a.apc-about-page main > .hero{min-height:0;padding-block:0!important}
body.apc-about-page .hero-grid{
  min-height:0!important;
  padding-block:clamp(38px,4.5vw,58px)!important;
}
body.apc-about-page #how-i-work .work-panel{padding:clamp(28px,4vw,48px)!important}
body.apc-about-page #how-i-work .work-steps{
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:clamp(12px,1.6vw,20px);
  align-items:stretch;
  margin-top:24px;
}
body.apc-about-page #how-i-work .work-step{
  display:flex;
  flex-direction:column;
  align-items:flex-start;
  gap:8px;
  padding:20px!important;
  line-height:1.5;
}
body.apc-about-page #how-i-work .work-step>.apc-section-emblem{margin-bottom:2px}

/* Lead with the parent's own words, and preserve the complete account on demand. */
body.apc-home-page #parent-story .apc-quote-visual{
  grid-template-areas:"eyebrow photo" "quote photo" "full photo" "cite photo";
  align-items:start;
  row-gap:12px;
}
body.apc-home-page #parent-story .apc-quote-visual>blockquote{max-width:35ch}
body.apc-home-page #parent-story .home-testimonial-full{grid-area:full;max-width:55ch;font-family:'DM Sans',sans-serif;color:#314d49}
body.apc-home-page #parent-story .home-testimonial-full summary{width:fit-content;min-height:44px;display:flex;align-items:center;cursor:pointer;color:#0a655e;font-size:.92rem;font-weight:700;text-decoration:underline;text-underline-offset:3px}
body.apc-home-page #parent-story .home-testimonial-full p{margin:6px 0 0;font-size:.94rem;line-height:1.65}
body.apc-home-page #parent-story .apc-quote-visual>cite{margin:0}
/* Optional compact row for one or two additional approved parent accounts. */
body.apc-home-page #parent-story .home-testimonial-more{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;margin-top:18px}
body.apc-home-page #parent-story .home-testimonial-small{margin:0;padding:clamp(22px,3vw,32px);border:1px solid rgba(7,55,52,.12);border-radius:22px;background:#fffdf9}
body.apc-home-page #parent-story .home-testimonial-small blockquote{margin:0 0 18px;font-family:'DM Serif Display',serif;font-size:clamp(1.25rem,1.7vw,1.6rem);line-height:1.3;color:#073734}
body.apc-home-page #parent-story .home-testimonial-small figcaption{font-size:.88rem;font-weight:700;color:#314d49}

/* Let the real-life photographs carry the Resources and Schools introductions. */
body.apc-resources-page .resource-visual picture{border-radius:24px}
body.apc-resources-page .resource-visual img{aspect-ratio:3/2;object-position:center}
body.apc-resources-page .resource-image-note{position:absolute;right:12px;bottom:12px;padding:5px 9px;border-radius:8px;background:#fffdf9eb;color:#253532;font-size:.72rem}

/* Keep long choices and forms legible without adding full-screen gaps. */
body.apc-parent-minimal #support{padding-block:clamp(36px,4vw,52px)}
body.apc-parent-minimal #support .support-material-image{aspect-ratio:16/9}
body.apc-minimal-page #learning-options{padding-bottom:clamp(28px,4vw,52px)}
body.programmes-page #interest{padding-block:clamp(38px,4vw,52px)}
@media(min-width:761px){body.programmes-page #interest .interest-intro{position:sticky;top:100px;align-self:start}}
/* A closed interest list has an email route, so do not display an unusable form. */
body.programmes-page #interest:has(#interest-fields:disabled){grid-template-columns:1fr}
body.programmes-page #interest:has(#interest-fields:disabled) #programme-form,
body.programmes-page #interest:has(#interest-fields:disabled) .interest-open-only{display:none}
body.programmes-page #interest:has(#interest-fields:disabled) .interest-intro{position:static}

@media(max-width:800px){
  body.apc-tier-a.apc-home-page main > #parent-story,
  body.apc-tier-a.apc-about-page main > .section{padding-block:36px!important}
  body.apc-home-page #parent-story .apc-quote-visual{grid-template-columns:1fr;gap:16px;padding:24px}
  body.apc-home-page #parent-story .apc-quote-visual>blockquote{font-size:clamp(1.4rem,5vw,1.85rem)}
  body.apc-home-page #parent-story .apc-quote-visual{grid-template-areas:"eyebrow" "photo" "quote" "full" "cite"}
  body.apc-home-page #parent-story .home-testimonial-more{grid-template-columns:1fr}
  body.apc-about-page #how-i-work .work-steps{grid-template-columns:1fr}
  body.apc-about-page #how-i-work .work-step{padding:16px!important}
}
