html{scroll-behavior:smooth}section[id]{scroll-margin-top:100px}.review-summary{margin-top:2rem;background:#fffcf7;border:1px solid #e8d9c6;border-radius:24px;padding:28px}.review-summary h2,.review-section h2{font-family:var(--font-display,Fredoka,sans-serif);font-size:clamp(1.8rem,3vw,2.6rem);line-height:1.2;color:#1c2b4a;margin:0 0 24px}.review-section{padding:64px 0}.review-section:nth-of-type(even){background:#faf5ed}.review-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px;margin:24px 0}.review-four{grid-template-columns:repeat(2,minmax(0,1fr))}.review-grid article{border:1px solid #e8d9c6;border-radius:20px;padding:24px;background:#fff}.review-grid h3{font-size:1.2rem;color:#1c2b4a;font-weight:800;margin-bottom:12px}.review-grid p,.review-intro{color:#5f6e88;line-height:1.75}.review-intro{max-width:800px;font-size:1.1rem}.review-note{color:#5f6e88;font-size:.9rem}.review-rate-note{padding:16px 20px;background:#fdf2d0;color:#1c2b4a;font-weight:700}.review-grid .btn{margin-top:18px}.review-policy,.review-social{padding-top:24px;padding-bottom:24px;border-top:1px solid #ffffff26}.review-policy h2{font-weight:800;margin-bottom:14px}.review-policy nav,.review-social{display:flex;flex-wrap:wrap;gap:18px}.review-social a,.review-policy a{text-decoration:underline;text-underline-offset:4px}.review-gallery{position:relative;overflow:hidden;border-radius:20px}.review-gallery img{width:100%;height:100%;object-fit:cover}.review-gallery button{position:absolute;bottom:12px;border-radius:50%;background:white;color:#1c2b4a;width:42px;height:42px;font-size:22px}.review-gallery button:first-of-type{left:12px}.review-gallery button:last-of-type{right:12px}.review-hero-video{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;z-index:-2}.review-video-active{isolation:isolate;min-height:75vh}.review-video-active:after{content:"";position:absolute;inset:0;background:linear-gradient(90deg,rgba(255,252,247,.96),rgba(255,252,247,.78),rgba(255,252,247,.25));z-index:-1}.review-video-active>div:first-child{display:none}@media(max-width:767px){.review-grid,.review-four{grid-template-columns:1fr}.review-section{padding:44px 0}.review-summary{padding:20px}.review-video-active:after{background:rgba(255,252,247,.85)}}@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}}.review-gallery-layer{position:absolute;inset:0;background:#fffcf7;z-index:2}.review-gallery{position:relative}.review-gallery-layer img{width:100%;height:100%;object-fit:cover}
/* Compact editorial strip: existing copy, original four-marker presentation. */
.review-summary{padding:28px 30px;background:#fffcf7;border:1px solid #e8d9c6;border-radius:24px}
.review-summary h2{font-family:var(--font-body,"Nunito Sans",sans-serif);font-size:11px;font-weight:800;letter-spacing:.12em;text-transform:uppercase;color:#5f6e88;line-height:1.6;margin:0 0 20px}
.review-summary .review-four{grid-template-columns:repeat(4,minmax(0,1fr));gap:24px;margin:0}
.review-summary .review-grid article{position:relative;border:0;border-radius:0;padding:0 0 0 16px;background:transparent}
.review-summary .review-grid article:before{content:"";position:absolute;left:0;top:3px;width:4px;height:28px;border-radius:5px;background:var(--marker-colour)}
.review-summary .review-grid h3{font-family:var(--font-display,Fredoka,sans-serif);font-size:14px;line-height:1.4;font-weight:600;color:#1c2b4a;margin:0 0 7px}
.review-summary .review-grid p{font-size:12px;line-height:1.75;margin:0;color:#5f6e88}
@media(max-width:1023px){.review-summary .review-four{grid-template-columns:repeat(2,minmax(0,1fr));gap:24px}}
@media(max-width:575px){.review-summary{padding:24px 20px}.review-summary .review-four{grid-template-columns:1fr;gap:22px}.review-summary .review-grid h3{font-size:15px}.review-summary .review-grid p{font-size:13px}}

/* Hero facts: one shared horizontal row on tablet and desktop. */
#home .hero-facts{display:grid;grid-template-columns:1fr .95fr 1.15fr;column-gap:12px;row-gap:16px;align-items:start}
#home .hero-facts>li{min-width:0;gap:8px;align-items:flex-start}
#home .hero-facts>li>span:first-child{flex-shrink:0;width:30px;height:30px}
#home .hero-facts>li>span:last-child{min-width:0}
#home .hero-facts .text-sm{font-size:clamp(11px,.85vw,13px);line-height:1.5}
#home .hero-facts .text-xs{font-size:clamp(10px,.75vw,12px);line-height:1.5}
/* Give the wrapping heading one stable, left-aligned underline. */
#zones .zones-title-accent{display:block;position:relative;padding-bottom:18px}
#zones .zones-title-accent>.zones-title-doodle{left:0;right:auto;bottom:0;width:min(250px,85%);height:14px;margin:0;transform:none}
#groups .review-grid article{display:flex;flex-direction:column;align-items:flex-start}
#groups .review-grid article p{margin-bottom:18px}
#groups .review-grid article .btn{margin-top:auto;font-size:13px}
@media(max-width:599px){#home .hero-facts{grid-template-columns:1fr;gap:14px}#home .hero-facts .text-sm{font-size:14px}#home .hero-facts .text-xs{font-size:12px}}

.client-photo-gallery .review-gallery-layer{background:#f6efe7}.client-photo-gallery .review-gallery-layer img{object-fit:contain}.client-photo-gallery button{z-index:3;box-shadow:0 2px 10px #1c2b4a22}.client-photo-gallery button:focus-visible{outline:3px solid #f14c31;outline-offset:3px}

/* V5: consistent section rhythm and full-frame gallery photography. */
.client-photo-gallery .review-gallery-layer img{display:block;width:100%;height:100%;object-fit:cover;object-position:50% 38%}
.home-content-section{padding-block:80px}
.home-content-section .section-title{font-size:clamp(30px,3.1vw,42px);line-height:1.2;letter-spacing:-.015em;margin-top:16px;margin-bottom:0}
.home-content-section .section-title+p{margin-top:16px;margin-bottom:0;line-height:1.75}
.home-content-section .review-intro{font-size:16px;line-height:1.75}
.home-content-section .review-grid{gap:24px;margin-top:32px;margin-bottom:0}
.home-content-section .review-grid h3{font-size:20px;line-height:1.35;margin-top:0;margin-bottom:12px}
.home-content-section .review-grid article p{line-height:1.75}
#family .review-summary .review-grid{gap:24px;margin:0}
#family .review-summary .review-grid h3{font-size:14px;line-height:1.4;margin:0 0 7px}
#family .review-summary .review-grid p{font-size:12px;line-height:1.75}
#activities .programme-card{display:flex;flex-direction:column;height:100%;transform:none}
#activities .programme-card>figure{width:100%;aspect-ratio:4 / 3!important;border-radius:0;flex-shrink:0;margin:0}
#activities .programme-body{display:flex;flex:1;flex-direction:column;align-items:flex-start;padding:24px}
#activities .programme-body h3{font-size:22px;line-height:1.3;margin:0}
#activities .programme-body>p:first-of-type{flex:1;margin:12px 0 24px;line-height:1.75}
#activities .programme-body>p:nth-of-type(2){margin:0;line-height:1.5}
#activities .programme-body>.chip{margin-top:16px}
#activities .programme-card .review-gallery-layer{border-radius:0}
.client-photo-gallery button{bottom:16px;width:40px;height:40px}
@media(max-width:1023px){.home-content-section{padding-block:64px}}
@media(max-width:599px){.home-content-section{padding-block:48px}.home-content-section .section-title{font-size:30px;line-height:1.22}.home-content-section .review-grid{margin-top:24px;gap:20px}#activities .programme-body{padding:22px}#family .review-summary .review-grid p{font-size:13px}}

/* V6: offer-section spacing and bottom-centred photo framing. */
#groups .review-grid{margin-top:32px;margin-bottom:0;gap:24px;align-items:stretch}
#groups .review-grid article{padding:28px;display:flex;flex-direction:column;align-items:flex-start}
#groups .review-grid article h3{margin:0 0 12px;line-height:1.35}
#groups .review-grid article p{margin:0 0 24px;line-height:1.75}
#groups .review-grid article .btn{margin-top:auto}
#groups .review-note{margin:24px 0 0;padding:0;font-size:13px;line-height:1.7;color:#5f6e88}
.client-photo-gallery .review-gallery-layer img{object-fit:cover;object-position:center bottom}
@media(max-width:599px){#groups .review-grid{margin-top:24px;gap:20px}#groups .review-grid article{padding:24px}#groups .review-note{margin-top:20px}}

/* V7 demo photographs: fill frame, preserve rounded geometry and bottom-centre crop. */
.demo-photo-frame{position:relative;isolation:isolate}.demo-fill-image{position:absolute;inset:0;display:block;width:100%;height:100%;object-fit:cover;object-position:center bottom}
.demo-frame-content{position:absolute;inset:0;display:block}.demo-photo-label{position:absolute;right:12px;bottom:12px;z-index:3;color:#fff;background:rgba(28,43,74,.78);border-radius:30px;padding:4px 10px;font-size:10px;font-weight:700;line-height:1.5}
[data-demo-focus="guide"]>.demo-fill-image{object-position:82% center}
/* Retain the passport-note spacing adjustment supplied separately after V6. */
#passport .review-note{margin:24px 0 0;padding:0;font-size:13px;line-height:1.7}@media(max-width:599px){#passport .review-note{margin-top:20px}}

/* V8 - Parents section ("Pick the version of the visit") background photos.
   Text always sits on solid navy; the photo shows beside it on wide screens,
   behind a dark tint on collapsed/medium panels, and as a top banner on phones. */
.ph-panel{isolation:isolate}
.ph-panel>.ph-bg{position:absolute;inset:0;z-index:0;overflow:hidden;pointer-events:none}
.ph-panel>.ph-bg img{position:absolute;inset:0;display:block;width:100%;height:100%;object-fit:cover}
.ph-panel>.ph-bg::after{content:"";position:absolute;inset:0;background:rgba(28,43,74,.74);transition:background .5s ease}
.ph-panel>button{z-index:2}
.ph-panel>.ph-content{position:relative;z-index:1}
.ph-panel:not(.is-open):hover>.ph-bg::after{background:rgba(28,43,74,.62)}
/* Phones: photo banner on top, content below it on plain navy */
@media (max-width:767px){
  .ph-panel.is-open>.ph-bg{bottom:auto;height:13rem;-webkit-mask-image:linear-gradient(180deg,#000 45%,transparent 100%);mask-image:linear-gradient(180deg,#000 45%,transparent 100%)}
  .ph-panel.is-open>.ph-bg::after{background:linear-gradient(180deg,rgba(28,43,74,.1) 0%,rgba(28,43,74,.25) 100%)}
  .ph-panel.is-open>.ph-content{padding-top:11.5rem}
}
/* Tablet / small laptop: the open card is too narrow for a side photo, so use a deep tint */
@media (min-width:768px) and (max-width:1099px){
  .ph-panel.is-open>.ph-bg::after{background:linear-gradient(90deg,rgba(28,43,74,.93) 0%,rgba(28,43,74,.86) 70%,rgba(28,43,74,.7) 100%)}
}
/* Wide screens: photo occupies the right side and fades into the navy behind the text */
@media (min-width:1100px){
  .ph-panel>.ph-bg{transition:left .5s cubic-bezier(.22,1,.36,1)}
  .ph-panel.is-open>.ph-bg{left:max(44%,470px);-webkit-mask-image:linear-gradient(90deg,transparent 0,rgba(0,0,0,.45) 110px,#000 240px);mask-image:linear-gradient(90deg,transparent 0,rgba(0,0,0,.45) 110px,#000 240px)}
  .ph-panel.is-open>.ph-bg::after{background:linear-gradient(90deg,rgba(28,43,74,.55) 0,rgba(28,43,74,0) 300px)}
}
@media (prefers-reduced-motion:reduce){.ph-panel>.ph-bg,.ph-panel>.ph-bg::after{transition:none}}

/* V12 - Scroll-reveal fix. The theme's "slide from right/left" and "scale" reveal rules were more specific than the
   finished state, so those blocks stayed 28px off (or at 94% size) after appearing. On phones this pushed the map card,
   price table and enquiry form off the right edge. This makes every reveal finish exactly in place. */
[data-reveal][data-reveal].is-in{transform:none}
