.school-site { --glow-gold: #fab518; --glow-coral: #a64b00; }
.title-line { display: block; }
.school-site .chapter-copy h1 em, .school-site .wonder-copy h1 em { color: #a64b00; }
.school-site .chapter-grid { grid-template-columns: 1.5fr 1fr; gap: 48px; padding-block: 58px 55px; }
.school-site .chapter-art { max-width: 415px; isolation: isolate; }
.school-site .chapter-paper { background: #ffdfaf; box-shadow: 16px 24px 0 #0a31470a, 0 25px 65px #0a314722; border-color: #fffaf3; }
.school-site .page-equipes .chapter-paper, .page-equipes .chapter-paper { background: #d7edf7; }
.page-contact .chapter-paper { background: #ffdfaf; }
.page-inscription .chapter-paper { background: #d7edf7; }
.chapter-art .live-illustration { display: block; width: 100%; height: auto; overflow: visible; }
.chapter-paper .live-illustration { margin-bottom: 2px; }
.school-site .chapter-art::before { display: none; }
.school-site .chapter-art { --scene-scroll: 0px; --scene-turn: 0deg; }
.kinetic-scene { perspective: 950px; }
.scene-decoration { position: absolute; inset: -18px; pointer-events: none; z-index: -1; }
.scene-aura { position: absolute; inset: 8% -5% 3% -8%; border-radius: 44% 56% 63% 37% / 46% 45% 55% 54%; background: #ffdfaf; transform: rotate(-14deg); }
.page-equipes .scene-aura { background: #b5ddef; }
.page-contact .scene-aura { background: #ffdfaf; }
.page-inscription .scene-aura { background: #b5ddef; }
.page-actualites .scene-aura { background: #fab518; }
.home-page .scene-aura { background: #ffdfaf; inset: 8% 0 5%; }
.scene-ring { position: absolute; inset: -1% -8% 1% -10%; border: 1px dashed #a64b0085; border-radius: 50%; transform: rotate(-25deg); }
.scene-orbit-dot { position: absolute; width: 18px; height: 18px; border-radius: 50%; background: #a64b00; top: 21%; left: -6%; box-shadow: 0 0 0 8px #a64b0012; }
.scene-petal { position: absolute; width: 30px; height: 54px; border-radius: 100% 0 100% 0; background: #f1840f; right: -4%; top: 7%; rotate: 25deg; }
.school-site .chapter-paper::after { content: ''; position: absolute; inset: 0; background: linear-gradient(115deg, transparent 30%, #fff9 48%, transparent 62%); background-size: 300% 100%; background-position: 150% 0; pointer-events: none; opacity: 0; }
.chapter-paper { transition: transform .32s ease-out, box-shadow .32s; will-change: auto; }
.kinetic-scene.pointer-active .chapter-paper { box-shadow: 20px 32px 0 #0a314708, 0 36px 75px #0a314732; }
.kinetic-scene.pointer-active .chapter-paper::after { opacity: .4; background-position: var(--shine-x, 50%) 0; }
.school-site .chapter-bottom { padding-block: 20px; }
.school-site .chapter-bottom > span { font-size: 15px; }
.school-site .hero-bottom { justify-content: flex-start; }


.values-ribbon { position: relative; overflow: hidden; background: #0a3147; color: #fffaf3; padding: 12px 0; border-block: 1px solid #0a3147; }
.values-ribbon::before, .values-ribbon::after { content: ''; position: absolute; left: 0; right: 0; height: 1px; background: #fff6e72e; }
.values-ribbon::before { top: 5px; }
.values-ribbon::after { bottom: 5px; }
.ribbon-track { display: flex; width: max-content; align-items: center; gap: 30px; transform: translate3d(var(--ribbon-x, 0px), 0, 0); margin-left: -30px; }
.ribbon-track > span { font-size: clamp(22px, 2.4vw, 32px); font-weight: 500; letter-spacing: -.045em; line-height: 1.1; white-space: nowrap; }
.ribbon-track > span:nth-of-type(2n) { font-family: Georgia, serif; font-style: italic; color: #ffd179; font-weight: 400; }
.ribbon-track > .ribbon-leaf { display: block; flex: 0 0 15px; width: 15px; height: 23px; background: currentColor; color: #ffd179; border-radius: 100% 0 100% 0; rotate: 20deg; }


.school-site [data-tilt]:not(.kinetic-scene) { position: relative; transition: transform .28s ease-out, box-shadow .28s, border-color .28s; }
.school-site [data-tilt]:is(.life-card, .team-block, .download, .card)::after { content: ''; position: absolute; inset: 0; pointer-events: none; border-radius: inherit; opacity: 0; background: radial-gradient(circle at var(--shine-x, 50%) var(--shine-y, 20%), #fff9, transparent 65%); transition: opacity .3s; }
.school-site [data-tilt].pointer-active::after { opacity: .6; }
.school-site .pill, .school-site .btn { position: relative; overflow: hidden; transition: background .22s, color .22s, transform .22s, box-shadow .22s; }
.school-site .pill::after, .school-site .btn::after { content: ''; position: absolute; width: 40%; height: 180%; top: -40%; left: -60%; background: linear-gradient(90deg, transparent, #fff5, transparent); transform: skewX(-20deg); pointer-events: none; }
.school-site .pill-primary:hover, .school-site .btn:not(.btn-outline):hover { background: #fab518; border-color: #fab518; color: #0a3147; box-shadow: 0 7px 0 #0a314716; transform: translateY(-4px); }
.school-site .pill:hover::after, .school-site .btn:hover::after { animation: button-sheen .65s ease-out; }
.school-site .text-link span, .school-site .card-arrow { transition: transform .25s cubic-bezier(.2,.7,.2,1.4); }
.school-site .text-link:hover span, .school-site .life-card:hover .card-arrow { transform: translate(5px,-5px) rotate(5deg); }
.school-site.page-scrolled .site-header { box-shadow: 0 6px 30px #0a31470d; }

@media (prefers-reduced-motion: no-preference) {
  .school-site.effects-ready .title-line { animation: title-arrive .95s cubic-bezier(.16,1,.3,1) backwards; }
  .school-site.effects-ready .title-line:nth-child(2) { animation-delay: .16s; }
  .school-site.effects-ready .title-line:nth-child(3) { animation-delay: .3s; }
  .school-site.effects-ready .chapter-intro, .school-site.effects-ready .wonder-description { animation: copy-arrive .85s .3s both; }
  .school-site.effects-ready .chapter-actions, .school-site.effects-ready .wonder-actions { animation: copy-arrive .85s .45s backwards; }
  .school-site.effects-ready .chapter-paper { animation: paper-arrive 1.35s .15s cubic-bezier(.16,1,.3,1) backwards; transform: translateY(var(--scene-scroll, 0px)) rotate(calc(6deg + var(--scene-turn, 0deg))) rotateX(var(--tilt-x, 0deg)) rotateY(var(--tilt-y, 0deg)); }
  .school-site.effects-ready .scene-aura { animation: aura-arrive 1.6s cubic-bezier(.16,1,.3,1) backwards; }
  .school-site.effects-ready .scene-ring { animation: ring-arrive 3.8s cubic-bezier(.2,.5,.2,1) backwards; }
  .school-site.effects-ready .scene-petal, .school-site.effects-ready .scene-orbit-dot { animation: decoration-settle .9s cubic-bezier(.16,1,.3,1) both; }
  .school-site.effects-ready .live-illustration .ink-path { animation: ink-draw 2.4s .3s ease both; }
  .school-site.effects-ready .live-illustration > circle { transform-box: fill-box; transform-origin: center; animation: illustration-pop 1.3s .5s cubic-bezier(.2,1.6,.3,1) backwards; }
  .school-site.effects-ready .live-illustration > circle:nth-of-type(2) { animation-delay: .7s; }
  .school-site.effects-ready .live-illustration > circle:nth-of-type(3) { animation-delay: .9s; }
  .school-site.effects-ready .artwork-button { animation: home-paper-arrive 1.35s .2s cubic-bezier(.16,1,.3,1) backwards; }
  .school-site.effects-ready .floating-label { animation: copy-arrive .9s .6s backwards; }
  .school-site.effects-ready [data-reveal] { opacity: 0; transform: perspective(900px) translateY(55px) rotateX(5deg) scale(.97); transition: opacity .75s var(--reveal-delay,0ms), transform .9s cubic-bezier(.16,1,.3,1) var(--reveal-delay,0ms); }
  .school-site.effects-ready [data-reveal].is-visible { opacity: 1; transform: none; }
  .school-site.effects-ready [data-tilt]:not(.kinetic-scene).pointer-active { transform: perspective(950px) translateY(-9px) rotateX(var(--tilt-x,0deg)) rotateY(var(--tilt-y,0deg)); box-shadow: 0 22px 40px #0a314720; transition-delay: 0ms; }
  .school-site.effects-ready .kinetic-scene.pointer-active .artwork-button { transform: translate3d(var(--px),calc(var(--py) + var(--scroll)),0) rotate(-5deg) rotateX(var(--tilt-x,0deg)) rotateY(var(--tilt-y,0deg)); }
  .school-site.effects-ready .history-chapter[open] .history-timeline, .school-site.effects-ready .faq-list details[open] p { animation: detail-arrive .5s cubic-bezier(.16,1,.3,1); }
  .school-site.effects-ready .journey-panel:not([hidden]) { animation: detail-arrive .65s cubic-bezier(.16,1,.3,1); }
  .school-site.effects-ready .preparation-list input:checked + span { animation: completed-pop .4s ease-out; }
}
@keyframes title-arrive { from { opacity: 0; transform: translate3d(0,65px,0) rotate(2deg); clip-path: inset(0 0 100% 0); } to { opacity: 1; transform: none; clip-path: inset(-20% -5% -35% -5%); } }
@keyframes copy-arrive { from { opacity: 0; translate: 0 24px; } to { opacity: 1; translate: 0 0; } }
@keyframes paper-arrive { from { opacity: 0; transform: translate3d(45px,100px,0) rotate(20deg) rotateY(-20deg) scale(.76); } to { opacity: 1; transform: translateY(0) rotate(6deg); } }
@keyframes home-paper-arrive { from { opacity: 0; translate: 35px 90px; scale: .82; rotate: 13deg; } to { opacity: 1; translate: 0 0; scale: 1; rotate: 0deg; } }
@keyframes aura-arrive { from { opacity: 0; scale: .35; rotate: -50deg; } to { opacity: 1; scale: 1; rotate: 0deg; } }
@keyframes ring-arrive { from { opacity: 0; rotate: -110deg; scale: .8; } to { opacity: 1; rotate: 0deg; scale: 1; } }
@keyframes decoration-settle { from { scale: .92; translate: 0 12px; } to { scale: 1; translate: 0 0; } }
@keyframes ink-draw { from { stroke-dasharray: 1; stroke-dashoffset: 1; } to { stroke-dasharray: 1; stroke-dashoffset: 0; } }
@keyframes illustration-pop { from { scale: .1; opacity: 0; translate: 0 20px; } to { scale: 1; opacity: 1; translate: 0 0; } }
@keyframes button-sheen { from { left: -60%; } to { left: 140%; } }
@keyframes detail-arrive { from { opacity: .15; translate: 0 25px; } to { opacity: 1; translate: 0 0; } }
@keyframes completed-pop { 50% { translate: 6px 0; } }

.school-site.effects-suspended *, .school-site.scene-inactive .kinetic-scene * { animation-play-state: paused !important; }
@media (max-width: 1100px) {
  .school-site .chapter-grid { gap: 38px; grid-template-columns: 1.35fr 1fr; }
  .school-site .chapter-copy h1 { font-size: 54px; }
}
@media (max-width: 980px) {
  .school-site .chapter-grid { grid-template-columns: 1.35fr .85fr; gap: 35px; padding-block: 45px; }
  .school-site .chapter-copy h1 { font-size: 46px; }
  .scene-petal { width: 22px; height: 40px; }
  .ribbon-track { gap: 26px; }
  .values-ribbon { padding-block: 12px; }
}
@media (max-width: 680px) {
  .school-site .chapter-grid { grid-template-columns: 1fr; gap: 46px; padding-block: 34px 38px; }
  .school-site .chapter-copy h1 { font-size: clamp(38px,9.5vw,58px); }
  .school-site .chapter-art { max-width: 255px; }
  .chapter-paper .live-illustration { max-height: 205px; }
  .scene-decoration { inset: -9px; }
  .school-site .chapter-bottom > span { font-size: 13px; max-width: none; }
  .values-ribbon { padding: 10px 0; }
  .ribbon-track { gap: 22px; }
  .ribbon-track > span { font-size: 22px; }
  .ribbon-track > .ribbon-leaf { flex-basis: 12px; width: 12px; height: 18px; }
  .home-page .scene-petal { right: 5%; }
}
@media (prefers-reduced-motion: reduce) {
  .school-site .title-line, .school-site .chapter-intro, .school-site .wonder-description,
  .school-site.effects-ready [data-reveal] { opacity: 1 !important; transform: none !important; clip-path: none !important; }
  .ribbon-track { transform: none; }
}
@media print {
  .school-site.effects-ready [data-reveal] { opacity: 1; transform: none; }
}
@media (prefers-reduced-motion: no-preference) {
  .school-site.effects-ready .art-dialog[open] { animation: dialog-arrive .4s cubic-bezier(.16,1,.3,1); }
  .school-site.effects-ready .art-dialog[open]::backdrop { animation: backdrop-arrive .3s; }
  .school-site.effects-ready .preparation-grid:has(progress[value='4']) .preparation-list {
    background: #fff6e7;
    animation: checklist-celebrate .9s ease-out;
  }
}
@keyframes dialog-arrive { from { opacity: 0; translate: 0 35px; scale: .91; } to { opacity: 1; translate: 0 0; scale: 1; } }
@keyframes backdrop-arrive { from { opacity: 0; } to { opacity: 1; } }
@keyframes checklist-celebrate { 0% { box-shadow: 0 0 0 0 #f1840f85; } 65% { box-shadow: 0 0 0 18px #f1840f00; } 100% { box-shadow: 0 0 0 0 #f1840f00; } }


.home-page .journey-art { position: relative; width: min(100%,400px); height: 270px; flex: 0 0 270px; display: grid; place-items: center; z-index: 1; }
.home-page .journey-art > :is(svg, img) { width: 100%; height: 100%; margin: 0; object-fit: contain; }
.home-page .journey-art .book-stack { margin: 0; }
.home-page .journey-canvas { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; opacity: 0; }
.home-page .journey-art.webgl-ready > :not(canvas) { visibility: hidden; }
.home-page .journey-art.webgl-ready .journey-canvas { opacity: 1; }
.home-page .journey-visual::before { content: ''; position: absolute; width: 285px; height: 285px; border: 1px solid #fffaf366; border-radius: 50%; background: radial-gradient(circle,#fffaf346,transparent 68%); pointer-events: none; }
.home-page .journey-visual::after { content: ''; position: absolute; width: 350px; height: 210px; border: 1px dashed #0a314738; border-radius: 50%; rotate: -28deg; pointer-events: none; }
.home-page .visual-word, .home-page .visual-note { z-index: 2; }


.school-site .content-scene { --content-progress: .5; --content-shift: 0px; --content-turn: 0deg; }
.school-site .day-timeline { position: relative; }
.school-site .day-timeline::after { content: ''; position: absolute; top: -1px; left: 0; right: 0; height: 4px; background: #a64b00; transform: scaleX(var(--content-progress,1)); transform-origin: left; pointer-events: none; }
.school-site .invitation-inner { position: relative; isolation: isolate; }
.school-site .invitation-inner::before, .school-site .invitation-inner::after { content: ''; position: absolute; z-index: -1; pointer-events: none; border: 1px solid #fff6e73b; border-radius: 50%; width: 310px; height: 310px; top: 24%; left: -200px; }
.school-site .invitation-inner::after { left: auto; right: -180px; width: 240px; height: 240px; top: 10%; border-style: dashed; }
@media (prefers-reduced-motion: no-preference) {
  .school-site .content-scene .day-icon { rotate: var(--content-turn); transition: scale .4s, background .4s; }
  .school-site .day-timeline details:hover .day-icon, .school-site .day-timeline details[open] .day-icon { scale: 1.2; background: #fab518; }
  .school-site .day-timeline.content-in-view .day-icon { animation: day-icon-hello 1.4s cubic-bezier(.16,1,.3,1) both; }
  .school-site .day-timeline details:nth-child(2) .day-icon { animation-delay: .15s; }
  .school-site .day-timeline details:nth-child(3) .day-icon { animation-delay: .3s; }
  .school-site .day-timeline details:nth-child(4) .day-icon { animation-delay: .45s; }
  .school-site .community-drawing .drawn-hearts { translate: 0 var(--content-shift); rotate: var(--content-turn); }
  .school-site .community-drawing.content-in-view .drawn-hearts > span { animation: heart-celebrate 1s ease-in-out 3; display: inline-block; }
  .school-site .history-art.content-in-view path { animation: history-underline 1.5s cubic-bezier(.16,1,.3,1) both; }
  .school-site .history-art strong { translate: 0 var(--content-shift); rotate: calc(var(--content-turn) * -.3); }
  .school-site .life-picture.content-scene img { translate: 0 var(--content-shift); scale: 1.08; }
  .school-site .image-frame.content-scene { translate: 0 var(--content-shift); rotate: calc(var(--content-turn) * .3); }
  .school-site .invitation-inner .invitation-leaf { rotate: var(--content-turn); }
  .school-site .invitation-inner.content-in-view .invitation-leaf { animation: invitation-bloom 1.5s cubic-bezier(.16,1,.3,1); }
  .school-site .invitation-inner::before { translate: 0 var(--content-shift); scale: calc(.85 + var(--content-progress) * .3); }
  .school-site .invitation-inner::after { translate: 0 calc(var(--content-shift) * -2); rotate: calc(var(--content-turn) * 3); }
  .school-site .quote-band.content-in-view::before { animation: invitation-bloom 1.5s cubic-bezier(.16,1,.3,1); transform-origin: 20px 50%; }
  .school-site .content-scene:not(.content-in-view) *, .school-site .content-scene:not(.content-in-view)::before { animation-play-state: paused; }
}
@keyframes day-icon-hello { 0% { opacity: 0; transform: translateY(25px) rotate(-80deg) scale(.4); } 65% { opacity: 1; transform: translateY(-10px) rotate(15deg) scale(1.2); } 100% { opacity: 1; transform: none; } }
@keyframes heart-celebrate { 0%,100% { transform: scale(1) rotate(-8deg); } 45% { transform: scale(1.35) rotate(12deg); } }
@keyframes history-underline { from { stroke-dasharray: 1; stroke-dashoffset: 1; } to { stroke-dasharray: 1; stroke-dashoffset: 0; } }
@keyframes invitation-bloom { from { opacity: 0; transform: rotate(-150deg) scale(.2); } to { opacity: 1; transform: rotate(0) scale(1); } }
@media (max-width:680px) {
  .home-page .journey-art { height: 192px; flex-basis: 192px; width: min(100%,300px); }
  .home-page .journey-visual::before { width: 215px; height: 215px; }
  .home-page .journey-visual::after { width: 260px; height: 175px; }
  .home-page .journey-visual { min-height: 310px; height: 310px; }
  .school-site .invitation-inner::before { width: 180px; height: 180px; left: -150px; }
  .school-site .invitation-inner::after { width: 150px; height: 150px; right: -130px; }
}
@media (prefers-reduced-motion: reduce) {
  .school-site .day-timeline::after { transform: none; }
  .home-page .journey-canvas { display: none; }
  .home-page .journey-art.webgl-ready > :not(canvas) { visibility: visible; }
}
@media print {
  .home-page .journey-canvas { display: none; }
  .home-page .journey-art.webgl-ready > :not(canvas) { visibility: visible; }
}
.home-page #grandir { scroll-margin-top: 115px; }
.school-site .day-icon { width: 54px; height: 54px; display: grid; place-items: center; border-radius: 50%; }
@media (max-width:680px) { .school-site .day-icon { width: 44px; height: 44px; } }
.home-page .wonder-copy h1 { font-size: clamp(62px,7.7vw,108px); line-height: 1.02; }
.home-page .wonder-description { max-width: 550px; font-size: 19px; line-height: 1.65; }
.home-page .floating-label { max-width: 210px; font: italic 25px/1.3 Georgia,serif; padding: 22px 28px; }
.home-page .facts-inner strong { font-size: clamp(25px,3vw,40px); }
.home-page .facts-inner > div:first-child strong { font-family: Georgia,serif; font-style: italic; }
.home-page .intro-grid h2, .home-page .home-section-head h2 { max-width: 660px; font-size: clamp(34px,3.8vw,52px); }
.home-page .intro-copy .action-row { display: flex; flex-wrap: wrap; gap: 16px 26px; }
.home-page .original-values { background: #eaf5fb; }
.original-values-grid { display: grid; grid-template-columns: repeat(5,minmax(0,1fr)); gap: 26px; }
.home-page .original-values-grid .feature { background: none; border: 0; border-top: 1px solid #0a314740; border-radius: 0; padding: 22px 0 0; box-shadow: none; }
.original-values-grid h3 { font: italic 26px/1.25 Georgia,serif; margin: 14px 0; }
.original-values-grid p { font-size: 14px; line-height: 1.85; }
.value-symbol { display: inline-grid; place-items: center; width: 46px; height: 46px; font-size: 32px; color: #a64b00; }
.home-page .journey-visual .visual-word { font-size: clamp(29px,3vw,42px); }
.home-page .journey-copy .team-roster { list-style: none; padding: 0; margin: 25px 0; }
.home-page .journey-copy .team-roster li { display: flex; gap: 20px; justify-content: space-between; padding: 9px 0; border-bottom: 1px solid #0a314720; }
.home-page .journey-copy .team-roster li::before { display: none; }
.home-page .journey-copy .team-roster strong { font-weight: 600; }
.home-page .day-timeline { grid-template-columns: repeat(3,minmax(0,1fr)); gap: 30px; }
.day-original-copy { margin-top: 22px; font-size: 14px; line-height: 1.8; }
.home-page .day-original-copy .schedule-row { padding: 9px 0; gap: 15px; }
.home-page .day-original-copy strong { font-size: 14px; white-space: nowrap; }
.home-page .community-drawing > span { font-size: 29px; }
.home-page .history-art em { max-width: 230px; margin-inline: auto; font-size: 17px; line-height: 1.4; }
.home-page .original-community { background: #eaf5fb; }
.home-page .original-community .split { gap: 70px; align-items: center; }
.home-page .original-community .image-frame { background: #fffaf3; padding: 12px; border-radius: 4px; rotate: -3deg; box-shadow: 0 15px 35px #0a31471c; }
.home-page .original-community h2 { font-size: clamp(34px,3.7vw,48px); line-height: 1.15; letter-spacing: -.04em; margin: 18px 0 25px; }
.home-page .original-community .section-lead { font-size: 16px; line-height: 1.9; }
.home-page .original-community .action-row { display: flex; flex-wrap: wrap; gap: 25px; margin-top: 25px; }
.school-site .chapter-copy h1 { font-size: clamp(40px,4.3vw,62px); }
.school-site .chapter-copy h1 .title-line { display: inline; }

.school-site:is(.page-decouvrir, .page-inscription, .page-contact) .chapter-copy h1 .title-line { display: inline-block; max-width: 100%; vertical-align: top; }
.school-site .chapter-grid { padding-bottom: 55px; }
.school-site .chapter-paper > span { max-width: 90%; margin-inline: auto; }
.school-site .step-check { display: flex; gap: 10px; align-items: flex-start; cursor: pointer; }
.school-site .step-check input { accent-color: #0a3147; width: 20px; height: 20px; flex-shrink: 0; margin-top: 2px; }
.school-site .feature:has(.step-check input:checked) { background: #eaf5fb; }
.original-step-tools { display: flex; align-items: center; flex-wrap: wrap; gap: 16px; margin-top: 25px; }
.original-step-tools p { margin: 0; }
.original-step-tools .checklist-controls { display: flex; align-items: center; gap: 16px; }
.original-step-tools .reset-checklist { padding: 8px 0; min-height: 40px; line-height: 1.4; }
.page-inscription .step-contact-link { margin-top: 16px; font-size: 13px; }
.original-step-tools progress { accent-color: #0a3147; width: 150px; }
.school-site .welcome-bar > span:last-child { display: flex; flex-wrap: wrap; gap: 10px; }
@media(prefers-reduced-motion:no-preference) {
  .original-values-grid .feature.is-visible .value-symbol { animation: invitation-bloom 1.3s cubic-bezier(.16,1,.3,1); }
  .original-values-grid .feature:hover .value-symbol { rotate: 25deg; scale: 1.2; transition: rotate .35s,scale .35s; }
  .day-timeline details[open] .day-original-copy { animation: detail-arrive .5s ease; }
}
@media(max-width:1100px) {
  .original-values-grid { grid-template-columns: repeat(3,minmax(0,1fr)); }
  .home-page .wonder-copy h1 { font-size: 74px; }
  .home-page .original-community .split { gap: 35px; }
}
@media(max-width:980px) {
  .home-page .day-timeline { gap: 24px; }
  .home-page .day-original-copy .schedule-row { align-items: flex-start; flex-direction: column; gap: 2px; }
  .school-site .chapter-copy h1 { font-size: 43px; }
}
@media(max-width:680px) {
  .home-page .wonder-copy h1 { font-size: clamp(57px,12vw,78px); }
  .home-page .wonder-description { font-size: 16px; line-height: 1.7; }
  .home-page .floating-label { max-width: 170px; font-size: 20px; padding: 16px 20px; }
  .home-page .facts-inner strong { font-size: 28px; }
  .original-values-grid { grid-template-columns: 1fr; gap: 22px; }
  .home-page .original-values-grid .feature { display: grid; grid-template-columns: 46px minmax(0, 1fr); grid-template-areas: "symbol title" ". description"; gap: 8px 18px; min-height: 0; }

  .home-page .original-values-grid .feature::before { display: none; }
  .original-values-grid .value-symbol { grid-area: symbol; }
  .original-values-grid h3 { grid-area: title; min-width: 0; align-self: center; margin: 0; }
  .original-values-grid p { grid-area: description; min-width: 0; margin: 0; }
  .home-page .day-timeline { grid-template-columns: 1fr; gap: 15px; }
  .home-page .day-original-copy .schedule-row { flex-direction: row; }
  .home-page .day-timeline summary strong { min-height: 0; font-size: 17px; }
  .home-page .day-timeline .day-icon { margin-bottom: 18px; }
  .home-page .original-community .split { display: flex; flex-direction: column-reverse; }
  .home-page .original-community .image-frame { max-width: 400px; width: calc(100% - 20px); }
  .school-site .chapter-copy h1 { font-size: clamp(36px,8.5vw,50px); }
  .school-site .welcome-bar > span:last-child { display: none; }
  .school-site .welcome-bar > span:first-child { display: block; }
  .original-step-tools { gap: 12px; }
}
:root {
  --brand-ink: #0a3147;
  --brand-orange: #f1840f;
  --brand-orange-ink: #a64b00;
  --brand-sky: #8ecae6;
  --brand-yellow: #fab518;
  --brand-paper: #fffaf3;
  --brand-warm: #fff0db;
  --brand-cool: #eaf5fb;
}
.school-site {
  --forest: var(--brand-ink);
  --ink: var(--brand-ink);
  --navy: var(--brand-ink);
  --blue: var(--brand-ink);
  --sky: var(--brand-sky);
  --sky-soft: var(--brand-cool);
  --leaf: var(--brand-orange);
  --leaf-soft: var(--brand-warm);
  --yellow: var(--brand-yellow);
  --ochre: var(--brand-yellow);
  --ochre-action: var(--brand-orange);
  --ochre-action-hover: #ffad4a;
  --terracotta: var(--brand-orange-ink);
  --cream: var(--brand-paper);
  --paper: var(--brand-paper);
  --mist: var(--brand-cool);
  --muted: #476575;
  --muted-home: #476575;
  --line: #0a314726;
  --shadow: 0 18px 48px #0a31471f;
  background: var(--brand-paper);
  color: var(--brand-ink);
}
.school-site .welcome-bar { background: var(--brand-ink); }
.school-site .nav .nav-cta,
.school-site .pill-primary,
.school-site .pill-yellow,
.school-site .btn:not(.btn-outline):not(.btn-light),
.school-site .map-action {
  background: var(--brand-orange);
  border-color: var(--brand-orange);
  color: var(--brand-ink);
}
.school-site .nav .nav-cta:hover,
.school-site .pill-primary:hover,
.school-site .pill-yellow:hover,
.school-site .btn:not(.btn-outline):not(.btn-light):hover,
.school-site .map-action:hover { background: #ffad4a; border-color: #ffad4a; color: var(--brand-ink); }
.school-site .btn-outline { color: var(--brand-ink); border-color: var(--brand-ink); }
.school-site .btn-outline:hover { background: var(--brand-ink); color: white; }
.school-site .nav > a[aria-current], .school-site .nav-main[aria-current] { text-decoration-color: var(--brand-orange); }
.school-site .chapter-copy h1 em, .school-site .wonder-copy h1 em,
.school-site .home-section h2 em, .school-site .section h2 em { color: var(--brand-orange-ink); }
.school-site .underlined path { stroke: var(--brand-orange); }
.school-site .values-ribbon { background: var(--brand-orange); border-color: var(--brand-orange); color: var(--brand-ink); }
.school-site .ribbon-track > span:nth-of-type(2n) { color: var(--brand-ink); }
.school-site .ribbon-track > i { color: var(--brand-ink); }
.school-site .values-ribbon::before, .school-site .values-ribbon::after { background: #0a314730; }
.school-site .scene-petal, .school-site .scene-orbit-dot { background: var(--brand-orange); }
.school-site .scene-orbit-dot { box-shadow: 0 0 0 8px #f1840f1a; }
.school-site .original-values { background: var(--brand-warm); }
.school-site .journey-section { background: var(--brand-cool); }
.school-site .journey-tabs [aria-selected='true'] { border-color: var(--brand-orange); }
.school-site .visual-sprout { background: #ffdfaf; }
.school-site .visual-books { background: #c6e6f4; }
.school-site .visual-kite { background: #ffe9ae; }
.school-site .book-stack span { color: var(--brand-ink); }
.school-site .book-stack span:nth-child(1) { background: var(--brand-yellow); }
.school-site .book-stack span:nth-child(2) { background: var(--brand-orange); }
.school-site .book-stack span:nth-child(3) { background: var(--brand-paper); }
.school-site .day-timeline::after { background: var(--brand-orange); }
.school-site .value-symbol, .school-site .day-icon { color: var(--brand-orange-ink); }
.school-site .community-drawing { background: #d7edf7; }
.school-site .drawn-hearts, .school-site .drawn-hearts span { color: var(--brand-orange-ink); }
.school-site .history-art { background: #ffdfaf; }
.school-site .history-art strong { color: var(--brand-ink); }
.school-site .history-art path { stroke: var(--brand-orange-ink); }
.school-site .invitation-section, .school-site .quote-band { background: var(--brand-ink); color: var(--brand-paper); }
.school-site .invitation-leaf, .school-site .quote-band::before { color: var(--brand-orange); }
.school-site .invitation-section h2 em { color: var(--brand-yellow); }
.school-site .invitation-section .eyebrow, .school-site .invitation-section p:not(.eyebrow),
.school-site .invitation-phone { color: #eaf5fb; }
.school-site .footer { background: var(--brand-cool); }
.school-site .schedule-table th { background: #d7edf7; color: var(--brand-ink); }
.school-site input[type='checkbox'], .school-site progress { accent-color: var(--brand-orange-ink); }
.school-site .step-check:has(input:checked) { color: var(--brand-ink); }
.school-site .journey-tabs button[aria-selected='true']::after { background: var(--brand-orange); }


.school-site .brand-group { min-width: 0; gap: 14px; flex-shrink: 0; }
.school-site .header-ec-logo { display: block; width: 124px; height: auto; padding-left: 14px; border-left: 1px solid #0a314724; mix-blend-mode: multiply; }
@media (max-width: 1100px) and (min-width: 981px) {
  .school-site .brand-group { gap: 10px; }
  .school-site .brand img { width: 134px; }
  .school-site .header-ec-logo { width: 104px; padding-left: 10px; }
}
@media (max-width: 680px) {
  .school-site .header-inner { gap: 12px; }
  .school-site .brand-group { gap: 9px; }
  .school-site .header-ec-logo { width: 108px; padding-left: 9px; }
}
@media (max-width: 360px) {
  .school-site .brand img { width: 110px; }
  .school-site .header-ec-logo { width: 92px; }
}
.logo-motion { position: relative; display: inline-block; flex-shrink: 0; line-height: 0; vertical-align: middle; }
.logo-motion > img:not(.school-logo-motion) { display: block; }
.logo-motion > .school-logo-motion { position: absolute; inset: 0; display: block; width: 100%; height: 100%; pointer-events: none; mix-blend-mode: multiply; }

.logo-motion > .school-logo-motion:not(.logo-motion-active) { visibility: hidden; }
.logo-motion:has(.logo-motion-active) > img:not(.school-logo-motion) { opacity: 0; }
@media (max-width: 980px), (hover: none), (pointer: coarse) {
  .logo-motion { display: contents; }
  .logo-motion > .school-logo-motion { display: none; }
  .logo-motion:has(.logo-motion-active) > img:not(.school-logo-motion) { opacity: 1; }
}
@media (prefers-reduced-motion: reduce) {
  .logo-motion > .school-logo-motion { display: none; }
  .logo-motion:has(.logo-motion-active) > img:not(.school-logo-motion) { opacity: 1; }
}
@media print {
  .logo-motion > .school-logo-motion { display: none; }
  .logo-motion:has(.logo-motion-active) > img:not(.school-logo-motion) { opacity: 1; }
}
.consent-panel[hidden], .consent-settings[hidden] { display: none; }
.consent-panel { position: fixed; z-index: 1000; bottom: 20px; left: 50%; transform: translateX(-50%); width: min(940px, calc(100% - 32px)); padding: 22px 26px; border: 1px solid #0a314726; border-radius: 16px; background: #fffaf3; color: #0a3147; box-shadow: 0 12px 60px #0a314733; display: flex; align-items: center; gap: 28px; max-height: calc(100dvh - 32px); overflow: auto; }
.consent-copy { flex: 1; min-width: 0; }
.consent-panel h2 { margin: 0 0 7px; font: 650 18px/1.35 Manrope, sans-serif; }
.consent-panel p { margin: 0; font-size: 13px; line-height: 1.65; }
.consent-panel a { color: inherit; text-underline-offset: 3px; }
.consent-actions { display: flex; gap: 10px; flex-shrink: 0; }
.consent-choice { appearance: none; border: 1px solid #476575; border-radius: 24px; padding: 12px 18px; min-height: 44px; background: transparent; color: #0a3147; font: 600 13px/1.3 Manrope, sans-serif; cursor: pointer; }
.consent-choice:hover { background: #eaf5fb; }
.consent-choice[data-consent='granted'] { background: #f1840f; border-color: #f1840f; }
.consent-choice[data-consent='granted']:hover { background: #ffad4a; border-color: #ffad4a; }
.consent-settings { appearance: none; padding: 0; border: 0; color: inherit; background: transparent; font: inherit; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.school-site .footer-legal-links { align-items: baseline; }
.school-site .footer-legal-links :is(a, .consent-settings) { font-family: inherit; font-size: inherit; font-weight: 400; line-height: inherit; letter-spacing: inherit; color: #476575; text-decoration: none; text-align: start; }
.consent-choice:focus-visible, .consent-settings:focus-visible, .consent-panel a:focus-visible { outline: 3px solid #f1840f; outline-offset: 4px; }
.consent-state { font-weight: 650; }
@media (max-width: 680px) {
  .consent-panel { bottom: 12px; width: calc(100% - 24px); padding: 20px; display: block; }
  .consent-actions { margin-top: 16px; display: grid; grid-template-columns: 1fr 1fr; }
}
.flash-info[hidden] { display: none; }
.flash-info { padding-top: 22px; }
.flash-info-inner { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 26px; padding: 20px 24px; border: 1px solid #f1840f45; border-left: 4px solid #f1840f; border-radius: 8px 22px 22px 8px; background: #fff2de; color: #0a3147; }
.flash-info-heading { display: flex; align-items: center; gap: 10px; margin: 0; font: 650 12px/1.4 Manrope, sans-serif; letter-spacing: .09em; text-transform: uppercase; white-space: nowrap; }
.flash-info-heading svg { width: 34px; height: 34px; padding: 7px; border-radius: 50%; background: #f1840f; color: #0a3147; flex-shrink: 0; }
.flash-info-slides { display: grid; min-width: 0; }
.flash-info-slide { grid-area: 1 / 1; align-self: center; min-width: 0; visibility: hidden; opacity: 0; pointer-events: none; }
.flash-info-slide.is-active { visibility: visible; opacity: 1; pointer-events: auto; }
.flash-info-slide h3 { margin: 0 0 4px; font: 650 18px/1.35 Manrope, sans-serif; letter-spacing: -.02em; }
.flash-info-slide p { margin: 0; color: #405969; font-size: 13px; line-height: 1.6; }
.flash-info-link { display: inline-block; margin-top: 7px; font-size: 12px; line-height: 1.5; font-weight: 700; text-underline-offset: 4px; }
.flash-info-controls { display: flex; align-items: center; gap: 5px; }
.flash-info-controls[hidden] { display: none; }
html:not(.js) .flash-info-controls { display: none; }
.flash-info-controls button { display: grid; place-items: center; width: 36px; height: 36px; padding: 0; border: 1px solid #0a314726; border-radius: 50%; background: transparent; color: #0a3147; cursor: pointer; }
.flash-info-controls button:hover { background: #fffaf3; border-color: #0a3147; }
.flash-info-controls button:focus-visible, .flash-info-link:focus-visible { outline: 2px solid #0a3147; outline-offset: 4px; }
.flash-info-controls svg { width: 16px; height: 16px; }
.flash-info-count { min-width: 38px; text-align: center; font-size: 12px; font-variant-numeric: tabular-nums; }
.flash-info-status { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
@media (prefers-reduced-motion: no-preference) {
  .flash-info-slide.is-active { animation: flash-info-arrive .4s ease both; }
  @keyframes flash-info-arrive { from { opacity: 0; transform: translateY(5px); } to { opacity: 1; transform: translateY(0); } }
}
@media (max-width: 760px) {
  .flash-info { padding-top: 14px; }
  .flash-info-inner { grid-template-columns: minmax(0, 1fr) auto; gap: 15px 10px; padding: 16px; }
  .flash-info-heading { font-size: 10px; gap: 8px; }
  .flash-info-heading svg { width: 28px; height: 28px; padding: 5px; }
  .flash-info-controls { grid-column: 2; grid-row: 1; gap: 3px; }
  .flash-info-controls button { width: 32px; height: 32px; }
  .flash-info-count { min-width: 30px; font-size: 11px; }
  .flash-info-slides { grid-column: 1 / -1; grid-row: 2; }
  .flash-info-slide h3 { font-size: 17px; }
}
