/* Existing brand, quieter composition. Native CSS; no component framework.
   DESIGN_VARIANCE: 5; MOTION_INTENSITY: 3; VISUAL_DENSITY: 2.
   Cream, Georgia and the full-width brown strip are explicit brand choices.
   Content panels use 24px corners; photos use larger arches; controls use 6px corners.
   Layers: slide imagery -1, content 1, carousel controls 2, skip link 3. */
:root{--cream:#f5f1e8;--brown:#352318;--orange:#ff742f;--line:#d9d0c3;--muted:#6b5b50;--serif:Georgia,'Times New Roman',serif;--sans:Arial,Helvetica,sans-serif;--gutter:clamp(22px,5vw,64px)}
*{box-sizing:border-box}html{scroll-behavior:smooth;scroll-padding-top:28px}body{margin:0;background:var(--cream);color:var(--brown);font:15px/1.7 var(--sans)}[hidden]{display:none!important}h1,h2,h3,p{margin:0}h1,h2,h3{font-family:var(--serif);font-weight:500;line-height:1.12;letter-spacing:-1px}h1,h2{font-size:clamp(34px,3.6vw,49px)}h3{font-size:27px;letter-spacing:-.5px}a{color:inherit;text-decoration:none}button,input,textarea{font:inherit}button,a,input,textarea,summary{-webkit-tap-highlight-color:transparent}button,a{touch-action:manipulation}button{cursor:pointer}a:focus-visible,button:focus-visible,summary:focus-visible,input:focus-visible,textarea:focus-visible{outline:3px solid #12629a;outline-offset:5px}img{display:block;max-width:100%}.wrap{max-width:1168px;width:calc(100% - var(--gutter)*2);margin-inline:auto}.button{display:inline-flex;align-items:center;justify-content:center;min-height:48px;padding:13px 23px;border:0;border-radius:6px;font-size:13px;font-weight:700;line-height:1.4;white-space:nowrap;transition:background .15s}.button:hover{background:#f16825}.button:active{transform:translateY(1px)}.orange{background:var(--orange);color:var(--brown)}.outline{background:transparent;border:1px solid #9d8e80}.outline:hover,.cream:hover{background:#e8dfd0}.cream{background:var(--cream);color:var(--brown)}.small{min-height:40px;padding:10px 18px}.text-link{font-size:13px;font-weight:700;text-decoration:underline;text-underline-offset:5px;display:inline-block;line-height:1.6}.text-link:hover{text-decoration-thickness:2px}
.site-header{height:72px;display:flex;align-items:center;justify-content:space-between;gap:25px}.wordmark{font:700 27px/1.2 var(--serif);letter-spacing:-1.2px;white-space:nowrap}.wordmark span{color:var(--orange)}.site-header nav{display:flex;align-items:center;gap:27px}.site-header nav>a{font-size:12px;font-weight:600;white-space:nowrap}.menu-toggle{display:none;border:1px solid var(--line);background:transparent;padding:8px 13px;border-radius:6px}.hero{position:relative;width:100%;isolation:isolate}.slides,.slide{height:clamp(500px,calc(100svh - 168px),650px)}.slide{position:relative;isolation:isolate;overflow:hidden}.hero-copy{position:relative;z-index:1}.hero h1,.hero h2{font-size:clamp(40px,4.4vw,61px);letter-spacing:-2px;line-height:1.08}.hero em{font-style:normal;color:#9c4f31}.hero-description{font-size:15px;line-height:1.7;max-width:440px;margin:23px 0 27px;color:var(--muted)}.overhead-image{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:center;z-index:-1}.overhead-slide:after{content:'';position:absolute;inset:0;z-index:0;background:linear-gradient(90deg,transparent 5%,#f5f1e8df 34%,#f5f1e8f5 50%,#f5f1e8df 66%,transparent 95%);pointer-events:none}.overhead-slide{display:grid;place-items:center;padding:25px var(--gutter) 65px}.overhead-slide .hero-copy{text-align:center;max-width:630px}.overhead-slide .hero-description{max-width:380px;margin:24px auto 28px}.hero-actions{display:flex}.overhead-slide .hero-actions{justify-content:center}.teacher-slide{display:grid;grid-template-columns:1.1fr 1fr;align-items:center;gap:50px;padding-inline:max(var(--gutter),calc((100% - 1168px)/2));padding-bottom:0}.teacher-slide h2{font-size:clamp(39px,4vw,55px)}.teacher-visual{position:relative;isolation:isolate;height:88%;max-height:520px;align-self:end}.teacher-backdrop{position:absolute;inset:18% 0 0;background:#9ccc85;border-radius:180px 180px 0 0;z-index:-1}.andrew-slide .teacher-backdrop{background:#f6d62b;border-radius:110px 24px 110px 24px}.teacher-visual img{width:100%;height:100%;object-fit:contain;object-position:center bottom}.carousel-controls{position:absolute;bottom:10px;left:max(var(--gutter),calc((100% - 1168px)/2));transform:none;display:flex;align-items:center;gap:5px;z-index:2}.carousel-controls button{border:0;background:transparent;color:var(--brown);min-width:38px;min-height:44px;padding:0 10px}.slide-dots{display:flex}.slide-dots button{display:grid;place-items:center}.slide-dots button:before{content:'';display:block;width:6px;height:6px;border-radius:50%;background:#9b8a76}.slide-dots button[aria-current=true]:before{background:var(--brown);width:19px;border-radius:4px}
.benefits{width:100%;background:var(--brown);color:var(--cream);display:grid;grid-template-columns:repeat(3,1fr);padding:28px max(var(--gutter),calc((100% - 1168px)/2));gap:40px}.benefits h2{font-size:22px;letter-spacing:-.4px}.benefits p{font-size:12px;color:#ded4ca;margin-top:7px}.section{padding-block:88px}.section-intro{max-width:720px;margin-bottom:42px}.section-intro>p{font-size:15px;color:var(--muted);margin-top:22px;max-width:650px}.section h2{font-size:clamp(32px,3.6vw,46px)}.pathways-section{background:#eee8da}.centred-heading{text-align:left;max-width:650px;margin-bottom:42px}.centred-heading>p{margin-top:21px;color:var(--muted);font-size:14px}.pathways{display:grid;grid-template-columns:1fr 1fr;gap:24px}.pathway{border:0;padding:34px;background:#ffdfbd;border-radius:24px}.pathway.advanced{background:#f6d62b}.pathway .age-range{font-size:13px;color:var(--muted);margin:-5px 0 18px}.pathway h3{font-size:30px;margin-bottom:16px}.pathway>p{font-size:14px;color:var(--brown);max-width:470px}.checklist{padding-left:18px;margin:23px 0;font-size:13px}.checklist li{margin-block:7px}.pathway .takeaway{margin-bottom:22px;font-size:13px}.section-footnote{font-size:12px;color:var(--muted);max-width:660px;margin-top:32px}.teacher-programmes{margin-top:45px;display:grid;gap:18px}.teacher-programme{display:grid;grid-template-columns:1fr 1.5fr auto;gap:35px;align-items:start;background:#dcebd8;padding:30px;border-radius:24px;scroll-margin-top:35px}.creative-programme{background:#d8ebf2}.teacher-programme h3{font-size:29px;color:#145832}.creative-programme h3{color:#245c75}.teacher-programme p{font-size:14px;color:var(--muted)}.teacher-programme .text-link{white-space:nowrap}.project-layout{display:grid;grid-template-columns:1.2fr 1fr;gap:70px;align-items:stretch}.project-photo{width:100%;height:100%;min-height:410px;object-fit:cover;border-radius:24px 90px 24px 24px}.project-grid{display:grid;gap:35px}.project h3{font-size:27px;margin-bottom:12px}.project>p{font-size:14px;color:var(--muted)}.portfolio-note{margin-bottom:85px;padding:35px;background:#e1ead8;border-radius:24px}.portfolio-note h2{font-size:31px}.portfolio-note>p{font-size:14px;color:var(--muted);max-width:700px;margin-top:18px}.journey-section{background:#f5dfb1}.journey{display:grid;grid-template-columns:repeat(4,1fr);gap:35px;list-style:none;padding:0;margin:0}.journey h3{font-size:26px;margin-bottom:14px;color:#794222}.journey p{font-size:13px;color:var(--muted)}.audience-grid{display:grid;grid-template-columns:1fr 1fr;gap:24px}.audience-grid article{padding:34px;border:0;border-radius:24px;background:#f6d62b}.audience-grid .audience-family{background:#ff8b57}.audience-grid h3{font-size:34px;margin-bottom:20px}.audience-grid p{font-size:14px;color:var(--brown);max-width:440px;margin-bottom:25px}.audience-grid .button{padding:13px 23px;min-height:48px;background:var(--cream);text-decoration:none;border-radius:6px}.audience-grid .button:hover{background:#e8dfd0}.faq-section{border-top:1px solid var(--line);display:grid;grid-template-columns:.8fr 1.2fr;gap:80px}.faqs details{border-bottom:1px solid var(--line)}summary{cursor:pointer;padding:19px 28px 19px 0;font-size:14px;font-weight:600;position:relative;list-style:none}summary::-webkit-details-marker{display:none}summary:after{content:'+';position:absolute;right:0;font-weight:400;font-size:20px;top:14px}details[open] summary:after{content:'−'}.faqs details p{font-size:14px;color:var(--muted);padding:0 25px 20px 0}.contact-section{background:#dcebd8;padding:75px 0}.contact-grid{display:grid;grid-template-columns:1fr 1fr;gap:100px}.contact-grid h2{font-size:45px;margin-bottom:25px}.contact-grid>div>p{font-size:14px;color:var(--muted);max-width:420px}.contact-email{display:inline-block;margin-top:28px;font-size:13px;text-decoration:underline;text-underline-offset:5px}form{padding:0}form h3{font-size:27px;margin-bottom:20px}.form-row{display:grid;grid-template-columns:1fr 1fr;gap:16px}label{font-size:12px;font-weight:600;display:block;margin:15px 0 7px}label span{font-weight:400}input,textarea{width:100%;border:1px solid #a39685;border-radius:6px;background:#fcf9f3;color:var(--brown);padding:12px;font-size:14px}textarea{resize:vertical}input::placeholder,textarea::placeholder{color:#736354;opacity:1}form .button{margin-top:18px}.form-note{font-size:11px;line-height:1.7;color:var(--muted);margin-top:17px}footer{display:flex;align-items:center;justify-content:space-between;padding-block:37px;gap:25px}footer p{font-size:11px;color:var(--muted);margin-top:7px}.footer-small{text-align:right}.footer-small p,.footer-small a{font-size:10px}.footer-small a{display:inline-block;margin-top:9px;text-decoration:underline}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.skip-link{position:absolute;top:-100px;left:15px;z-index:3;background:var(--brown);color:var(--cream);padding:12px}.skip-link:focus{top:10px}
@media(max-width:1023px){nav{gap:18px}.wordmark{font-size:24px}.teacher-slide{gap:30px}.teacher-slide h2{font-size:40px}.teacher-visual{height:80%}.teacher-programme{grid-template-columns:1fr 1.5fr}.teacher-programme .button{grid-column:2;justify-self:start}.project-layout{gap:45px}.contact-grid,.faq-section{gap:45px}.benefits{gap:28px}.benefits h2{font-size:20px}.journey{grid-template-columns:1fr 1fr;gap:36px}}
@media(max-width:767px){.site-header{height:auto;min-height:64px;padding-block:14px;flex-wrap:wrap;gap:10px}.menu-toggle:not([hidden]){display:block}.wordmark{font-size:25px}.site-header nav{width:100%;display:flex;flex-wrap:wrap;padding-block:10px;gap:15px}.js .site-header nav:not(.open){display:none}.js .site-header nav.open{display:flex;flex-direction:column;align-items:stretch;gap:0}.js .site-header nav.open a{padding:12px 0}.js .site-header nav.open .button{align-self:flex-start;padding:10px 18px;margin-top:8px}.slides,.slide{height:clamp(540px,calc(100svh - 64px),680px)}.hero h1,.hero h2{font-size:clamp(34px,7vw,45px);letter-spacing:-1.3px}.hero-description{font-size:14px;margin-top:19px;margin-bottom:23px;line-height:1.6}.hero .button{min-height:46px;padding:12px 20px}.overhead-slide{display:block;padding:34px 25px 0}.overhead-slide .hero-copy{max-width:400px;margin:auto}.overhead-slide .hero-description{max-width:285px;margin:18px auto 23px}.overhead-image{inset:auto 0 48px;height:auto;width:100%;max-height:53%;object-fit:contain}.overhead-slide:after{background:linear-gradient(180deg,var(--cream) 0%,var(--cream) 37%,transparent 63%)}.teacher-slide{display:block;padding:30px 25px 0}.teacher-slide .hero-copy{max-width:400px;margin:auto;text-align:center}.teacher-slide .hero-description{max-width:310px;margin:18px auto 23px}.teacher-slide .hero-actions{justify-content:center}.teacher-visual{position:absolute;width:66%;max-width:280px;height:45%;max-height:310px;right:50%;transform:translateX(50%);bottom:0}.teacher-backdrop{border-radius:130px 130px 0 0}.carousel-controls{bottom:3px}.benefits{grid-template-columns:1fr;padding:28px var(--gutter);gap:23px}.benefits h2{font-size:23px}.benefits p{font-size:12px;margin-top:5px}.section{padding-block:58px}.section h2{font-size:35px}.section-intro{margin-bottom:30px}.section-intro>p{font-size:14px;margin-top:18px}.centred-heading{margin-bottom:30px}.pathways{grid-template-columns:1fr;gap:20px}.pathway{padding:28px}.pathway h3{font-size:29px}.teacher-programmes{margin-top:42px;gap:30px}.teacher-programme{grid-template-columns:1fr;gap:15px;padding:27px}.teacher-programme .button{grid-column:auto}.project-layout{grid-template-columns:1fr;gap:30px}.project-photo{min-height:0;height:260px}.project-grid{gap:30px}.portfolio-note{grid-template-columns:1fr;gap:18px;padding:27px;margin-bottom:55px}.portfolio-note h2{font-size:30px}.journey{grid-template-columns:1fr 1fr;gap:30px 25px}.journey h3{font-size:24px}.audience-grid{grid-template-columns:1fr;gap:20px}.audience-grid article{padding:28px}.audience-grid h3{font-size:29px}.faq-section{grid-template-columns:1fr;gap:25px}.contact-section{padding-block:55px}.contact-grid{grid-template-columns:1fr;gap:35px}.contact-grid h2{font-size:37px}.form-row{grid-template-columns:1fr;gap:0}footer{flex-direction:column;align-items:flex-start;gap:20px;padding-block:30px}.footer-small{text-align:left}}
@media(max-width:370px){.teacher-slide h2{font-size:32px}.hero-description{font-size:13px}.journey{grid-template-columns:1fr}.teacher-visual{height:42%}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*,*:before,*:after{transition:none!important;animation:none!important}}

/* Restore the original learning cards and their illustrative marks, as requested. */
#about .section-intro{display:grid;grid-template-columns:1.2fr 1fr;gap:70px;align-items:center;max-width:none}
#about .section-intro>p{max-width:430px;margin:0}
#about .section-intro em{font-style:normal;color:#9c4f31}
.learning-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px}
.learning-card{position:relative;isolation:isolate;overflow:hidden;height:500px;padding:30px;border-radius:0 36px 0 36px}
.card-orange{background:#ff873e}.card-green{background:#18834b;color:#fff9ed}.card-blue{background:#439bc4}
.card-stage{font-size:10px;letter-spacing:1.6px;position:relative;z-index:1}
.learning-card h3{font-size:43px;line-height:1.06;letter-spacing:-1.3px;max-width:230px;margin:45px 0 24px;position:relative;z-index:1}
.learning-card p{font-size:13px;line-height:1.75;max-width:160px;position:relative;z-index:1}
.learning-card img{position:absolute;bottom:0;right:0;width:58%;height:280px;object-fit:contain;object-position:center bottom;z-index:0}
.card-green img{right:-14px;width:69%;height:270px}
.card-doodle{position:absolute;right:28px;top:60px;font:90px/1 var(--serif);color:#8d451e;transform:rotate(16deg);opacity:.75}
.code-doodle{color:#b8ddb5;right:18px;top:65px;font-size:70px;letter-spacing:5px;transform:rotate(14deg)}
.arrow-doodle{right:22px;color:#245c75;top:62px;font-size:100px;transform:rotate(9deg)}
.benefit-item{display:flex;align-items:flex-start;gap:16px}
.benefit-icon{flex-shrink:0;width:40px;height:44px;border-radius:4px 13px 4px 4px;display:grid;place-items:center;font-size:26px;color:var(--brown);line-height:1}
.orange-icon{background:#ff7550}.yellow-icon{background:#f6d62b}.green-icon{background:#90bc58}
.pathway{position:relative;isolation:isolate}.pathway-doodle{position:absolute;right:27px;top:66px;font-size:42px;line-height:1;color:#9d5734;opacity:.5;z-index:-1}
.pathway .checklist{list-style:none;padding-left:0}.checklist li{position:relative;padding-left:24px}.checklist li:before{content:'✓';position:absolute;left:0;color:#145832;font-weight:bold}
.teacher-programme .button{justify-self:start;align-self:center}
.audience-grid article{position:relative;isolation:isolate;overflow:hidden}
.audience-grid h3,.audience-grid p,.audience-grid a{position:relative;z-index:1}
.panel-doodle{position:absolute;right:13px;top:12px;font:110px/1 var(--serif);color:#a05a25;opacity:.35;transform:rotate(-12deg);z-index:0}
@media(min-width:768px) and (max-width:1023px){.learning-grid{gap:16px}.learning-card{padding:24px;height:485px}.learning-card h3{font-size:35px;max-width:175px}.learning-card p{font-size:12px;max-width:138px}.learning-card img{height:225px;width:60%}.card-green img{height:220px;width:75%;right:-17px}.card-doodle{font-size:65px;right:10px;top:51px}.code-doodle{font-size:50px;right:8px}.arrow-doodle{font-size:76px}#about .section-intro{gap:40px}}
@media(max-width:767px){#about .section-intro{display:block}#about .section-intro>p{margin-top:22px;max-width:100%}.learning-grid{grid-template-columns:1fr;gap:20px}.learning-card{height:420px;padding:28px}.learning-card h3{font-size:42px;margin-top:36px;margin-bottom:22px}.learning-card p{max-width:48%;font-size:13px}.learning-card img{height:260px;width:52%}.card-green img{height:250px;width:63%;right:-10px}.card-doodle{font-size:78px;top:53px;right:25px}.code-doodle{font-size:63px;right:20px}.arrow-doodle{font-size:90px}.teacher-slide .teacher-visual{right:0;transform:none;width:58%;max-width:290px;bottom:0}.teacher-slide .teacher-backdrop{border-radius:110px 0 0 0}.andrew-slide .teacher-backdrop{border-radius:65px 0 0 0}.carousel-controls{left:var(--gutter);bottom:12px;gap:0}.carousel-controls button{min-width:26px;padding-inline:5px}.benefits h2{font-size:22px}.benefit-item{gap:17px}}
@media(max-width:370px){.learning-card{height:435px;padding:24px}.learning-card h3{font-size:37px}.learning-card p{font-size:12px;max-width:47%}.learning-card img{height:235px;width:53%}.card-green img{height:220px;width:65%;right:-12px}.card-doodle{right:20px;font-size:70px}.code-doodle{font-size:55px;right:15px}.arrow-doodle{font-size:80px}.teacher-slide .teacher-visual{height:43%}}

/* Project inspiration: generous imagery, with live copy as the slide selectors. */
.teacher-visual{overflow:hidden}
.andrew-slide .teacher-visual img{position:absolute;width:120%;max-width:none;height:auto;aspect-ratio:1020/789;object-fit:cover;object-position:center top;left:50%;bottom:0;transform:translateX(-50%)}
.project-layout{gap:55px;align-items:center}
.project-showcase{min-width:0;position:relative}
.project-images{position:relative;aspect-ratio:4/3;overflow:hidden;border-radius:24px 90px 24px 24px;background:#e8dfd0}
.project-image{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;opacity:0;visibility:hidden;transition:opacity .65s ease,visibility .65s}
.project-image.is-active{opacity:1;visibility:visible}
.project-controls{display:flex;align-items:center;justify-content:space-between;margin-top:13px;color:var(--muted);font-size:12px}
.project-count{font-variant-numeric:tabular-nums;letter-spacing:2px}
.project-grid{gap:27px}
.project{padding-left:20px;border-left:2px solid var(--line);transition:border-color .25s}
.project:has([aria-current=true]){border-color:var(--orange)}
.project h3{margin-bottom:10px}
.project h3 button{font:inherit;letter-spacing:inherit;text-align:left;color:inherit;padding:0;border:0;background:none;line-height:1.2}
.js .project h3 button:hover{color:#9c4f31}
.project h3 button[aria-current=true]{color:#9c4f31}
.journey{gap:24px}
.journey img{width:100%;height:auto;aspect-ratio:4/3;object-fit:cover;border-radius:14px 35px 14px 14px;margin-bottom:23px}
@media(min-width:768px) and (max-width:1023px){.project-layout{gap:30px;grid-template-columns:1fr 1fr}.project h3{font-size:25px}.project-grid{gap:22px}}
@media(max-width:767px){.project-layout{gap:30px}.project-images{border-radius:18px 60px 18px 18px}.project-grid{gap:25px}.project h3{font-size:28px}.journey{gap:32px 22px}.journey img{margin-bottom:18px}}

/* Mobile heroes share one centred composition, with portraits anchored to the strip. */
@media(max-width:767px){
 .hero{--mobile-hero-height:clamp(600px,calc(100svh - 64px),680px)}
 .slides,.slide{height:var(--mobile-hero-height)}
 .overhead-slide{display:grid;place-items:center;padding:30px 22px 50px}
 .overhead-image{inset:auto;left:50%;top:50%;width:var(--mobile-hero-height);height:100vw;max-width:none;max-height:none;object-fit:cover;object-position:center;transform:translate(-50%,-50%) rotate(90deg)}
 .overhead-slide:after{background:radial-gradient(ellipse at center,#f5f1e8f5 5%,#f5f1e8de 37%,#f5f1e822 78%)}
 .overhead-slide .hero-copy{width:100%;max-width:400px}
 .teacher-slide .teacher-visual{right:50%;transform:translateX(50%);width:96%;max-width:430px;height:56%;max-height:none;bottom:0}
 .teacher-slide .teacher-visual img{object-fit:cover;object-position:center top}
 .andrew-slide .teacher-visual img{height:100%;aspect-ratio:auto}
 .teacher-slide .teacher-backdrop{inset:12% 0 0;border-radius:130px 130px 0 0}
 .carousel-controls{background:#f5f1e8e8;border-radius:16px;padding-inline:4px}
}

/* Keep the school and family enquiry actions aligned across equal-height cards. */
.audience-grid article{display:flex;flex-direction:column;align-items:flex-start}
.audience-grid .button{margin-top:auto}

/* Small, layered gestures. Content remains visible without JavaScript. */
.site-header .brand-mark{display:inline-block;width:.42em;height:.42em;margin-left:.06em;background:var(--orange);border-radius:50%;font-size:inherit;vertical-align:.02em;color:transparent;clip-path:polygon(50% 0%,85% 15%,100% 50%,85% 85%,50% 100%,15% 85%,0% 50%,15% 15%)}
@media(prefers-reduced-motion:no-preference){
 body{animation:page-arrive .65s ease-out both}
 .slide:not([hidden]) .hero-copy>h1,.slide:not([hidden]) .hero-copy>h2{animation:copy-arrive .7s cubic-bezier(.2,.65,.3,1) both}
 .slide:not([hidden]) .hero-description{animation:copy-arrive .7s .09s cubic-bezier(.2,.65,.3,1) both}
 .slide:not([hidden]) .hero-actions{animation:copy-arrive .7s .18s cubic-bezier(.2,.65,.3,1) both}
 .slide:not([hidden]) .teacher-backdrop{animation:colour-arrive .85s cubic-bezier(.2,.65,.3,1) both}
 .slide:not([hidden]) .teacher-visual img{animation:portrait-arrive .85s .1s cubic-bezier(.2,.65,.3,1) both}
 .overhead-image{translate:0 var(--photo-drift,0px);scale:1.12}
 .hero-copy{translate:0 var(--copy-drift,0px)}
 .teacher-backdrop{scale:var(--colour-grow,1);transform-origin:center bottom}
 .teacher-visual img{scale:var(--portrait-grow,1);transform-origin:center bottom}
 .site-header .brand-mark{animation:brand-morph 4.5s .5s ease-in-out both}
 .site-header .wordmark:hover .brand-mark,.site-header .wordmark:focus-visible .brand-mark{animation:brand-play 2.4s ease-in-out both}
 .button{transition:background-color .2s,scale .2s,box-shadow .2s}
 .button:active{transform:none;scale:.96}
 .learning-card img,.card-doodle,.panel-doodle,.benefit-icon{transition:translate .45s ease,rotate .45s ease,scale .45s ease}
 .project-image{transition:opacity .65s ease,visibility .65s,scale 1.1s ease;scale:1.035}
 .project-image.is-active{scale:1}
 @media(hover:hover){
  .learning-card:hover img{translate:0 -7px}
  .learning-card:hover .card-doodle{rotate:8deg;scale:1.08}
  .audience-grid article:hover .panel-doodle{rotate:10deg;translate:3px -3px}
  .benefit-item:hover .benefit-icon{rotate:-8deg}
  .button:hover{box-shadow:0 5px 14px #35231814}
 }
}
@keyframes page-arrive{from{opacity:.35}to{opacity:1}}
@keyframes copy-arrive{from{opacity:0;transform:translateY(12px)}to{opacity:1;transform:translateY(0)}}
@keyframes colour-arrive{from{opacity:.25;transform:scale(.9)}to{opacity:1;transform:scale(1)}}
@keyframes portrait-arrive{from{opacity:0;translate:0 14px}to{opacity:1;translate:0 0}}
/* Matching polygon points let the dot turn into a spark and an arrow, then settle. */
@keyframes brand-morph{
 0%,15%,100%{border-radius:50%;rotate:0deg;scale:1;clip-path:polygon(50% 0%,85% 15%,100% 50%,85% 85%,50% 100%,15% 85%,0% 50%,15% 15%)}
 35%,48%{border-radius:0;rotate:90deg;scale:1.8;clip-path:polygon(50% 0%,62% 38%,100% 50%,62% 62%,50% 100%,38% 62%,0% 50%,38% 38%)}
 65%,80%{border-radius:0;rotate:0deg;scale:1.65;clip-path:polygon(22% 0%,100% 0%,100% 78%,75% 78%,75% 43%,18% 100%,0% 82%,57% 25%)}
}
@keyframes brand-play{
 0%,100%{border-radius:50%;rotate:0deg;scale:1}
 40%,65%{border-radius:0;rotate:180deg;scale:1.7;clip-path:polygon(50% 0%,62% 38%,100% 50%,62% 62%,50% 100%,38% 62%,0% 50%,38% 38%)}
}

/* RoboTrail keeps the original game artwork in a full-width, parent-facing feature. */
.robotrail-banner{background:#f6d62b}
.robotrail-inner{display:grid;grid-template-columns:minmax(0,.9fr) minmax(0,1.1fr);align-items:center;gap:clamp(35px,6vw,90px);padding-block:56px}
.robotrail-art{width:min(100%,350px);height:auto;justify-self:center;transform:rotate(-5deg)}
.robotrail-copy h2{font-size:clamp(36px,4vw,53px);line-height:1.12;letter-spacing:-1.4px}
.robotrail-copy h2 em{font-style:normal;color:var(--brown)}
.robotrail-copy p{max-width:430px;margin:24px 0 28px;font-size:16px;line-height:1.7}
.robotrail-copy .button{min-height:50px;padding-inline:27px}
@media(max-width:767px){
 .robotrail-inner{grid-template-columns:1fr;gap:32px;padding-block:42px 48px;text-align:center}
 .robotrail-art{width:min(72vw,260px)}
 .robotrail-copy h2{font-size:clamp(33px,7.8vw,43px);letter-spacing:-1px}
 .robotrail-copy p{margin:21px auto 25px;font-size:15px;max-width:370px}
}

/* The extra Blog link uses the compact navigation on tablet too. */
@media(max-width:1023px){
 .site-header{height:auto;min-height:64px;padding-block:14px;flex-wrap:wrap;gap:10px}
 .menu-toggle:not([hidden]){display:block}
 .site-header nav{width:100%;display:flex;flex-wrap:wrap;padding-block:10px;gap:15px}
 .js .site-header nav:not(.open){display:none}
 .js .site-header nav.open{display:flex;flex-direction:column;align-items:stretch;gap:0}
 .js .site-header nav.open a{padding:12px 0}
 .js .site-header nav.open .button{align-self:flex-start;padding:10px 18px;margin-top:8px}
}
