@font-face { font-family: Manrope; src: url('../assets/fonts/manrope-400.woff2') format('woff2'); font-weight: 400; font-display: swap; }
@font-face { font-family: Manrope; src: url('../assets/fonts/manrope-600.woff2') format('woff2'); font-weight: 500 700; font-display: swap; }
@font-face { font-family: Manrope; src: url('../assets/fonts/manrope-800.woff2') format('woff2'); font-weight: 800 900; font-display: swap; }

/* Identity: deep blue, warm paper, a touch of school-notebook yellow. */
:root {
  --ink: #171c4b;
  --blue: #252781;
  --deep-blue: #181b5b;
  --electric: #295bcb;
  --sky: #c2e1f0;
  --yellow: #ffda72;
  --paper: #fffcf5;
  --white: #fff;
  --muted: #565c70;
  --line: #d8dae4;
  --lavender: #ebedf9;
  --font: Manrope, 'Segoe UI', sans-serif;
  --space-1: 8px;
  --space-2: 16px;
  --space-3: 24px;
  --space-4: 32px;
  --space-6: 48px;
  --section-space: clamp(76px, 8vw, 116px);
  --container: 1200px;
  --ease: cubic-bezier(.2, .7, .25, 1);
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 110px; }
body { margin: 0; color: var(--ink); background: var(--paper); font: 400 16px/1.75 var(--font); letter-spacing: -.015em; -webkit-font-smoothing: antialiased; }
body.dialog-open { overflow: hidden; }
img, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { border: 0; color: inherit; font: inherit; cursor: pointer; }
button, a, summary { -webkit-tap-highlight-color: transparent; touch-action: manipulation; }
figure, p, h1, h2, h3, h4 { margin: 0; }
h1, h2, h3, h4 { font-weight: 800; line-height: 1.14; text-wrap: balance; }
h1 { font-size: clamp(58px, 6.65vw, 94px); letter-spacing: -.073em; line-height: 1.035; }
h2 { font-size: clamp(36px, 4.05vw, 56px); letter-spacing: -.055em; }
h3 { font-size: 28px; letter-spacing: -.045em; }
h4 { font-size: 17px; letter-spacing: -.025em; }
::selection { color: var(--ink); background: var(--yellow); }
:focus-visible { outline: 3px solid var(--electric); outline-offset: 4px; border-radius: 3px; }
[hidden] { display: none !important; }
.container { width: min(var(--container), calc(100% - 96px)); margin-inline: auto; }
.section { padding-block: var(--section-space); }
.icon { width: 24px; height: 24px; flex-shrink: 0; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.icon-library { position: absolute; width: 0; height: 0; overflow: hidden; }
.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: fixed; z-index: 100; top: 12px; left: 12px; padding: 12px 20px; background: var(--yellow); transform: translateY(-180%); }
.skip-link:focus { transform: none; }
.button { display: inline-flex; justify-content: center; align-items: center; gap: 13px; min-height: 58px; padding: 17px 24px; border: 1px solid var(--blue); border-radius: 6px; background: var(--blue); color: white; box-shadow: 3px 4px 0 var(--yellow); font-size: 14px; font-weight: 800; line-height: 1.4; transition: background .2s, transform .2s var(--ease), box-shadow .2s; }
.button > .icon:last-child { width: 20px; margin-left: 8px; }
.button-small { min-height: 48px; padding: 13px 18px; font-size: 12px; }
.button-yellow { background: var(--yellow); color: var(--ink); border-color: var(--yellow); box-shadow: 4px 5px 0 var(--deep-blue); }
.text-link { display: inline-flex; align-items: center; gap: 13px; min-height: 44px; padding-block: 10px; color: var(--blue); font-size: 14px; font-weight: 800; line-height: 1.5; text-decoration-thickness: 1px; text-underline-offset: 5px; }
.text-link .icon, .text-link > span[aria-hidden] { flex-shrink: 0; transition: transform .2s var(--ease); }
.eyebrow { margin-bottom: 20px; color: var(--electric); font-size: 11px; letter-spacing: .15em; font-weight: 800; line-height: 1.6; }
.blue-text { color: var(--blue); }
.small-star { font-size: 25px; color: var(--electric); line-height: 1; }
.hand-underline { position: relative; display: inline-block; isolation: isolate; white-space: nowrap; color: var(--blue); }
.hand-underline::after { content: ''; position: absolute; z-index: -1; bottom: -.015em; left: 0; right: -.035em; height: .12em; background: var(--yellow); transform: rotate(-1.5deg); }
.section-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 40px; margin-bottom: 44px; }
.section-heading > p { max-width: 330px; color: var(--muted); font-size: 14px; }
.section-heading-aside { max-width: 330px; color: var(--muted); font-size: 14px; }
.section-heading-aside .text-link { margin-top: 7px; font-size: 13px; }

/* Navigation */
.site-header { position: sticky; top: 0; z-index: 20; border-bottom: 1px solid var(--line); background: var(--paper); }
.header-inner { display: flex; align-items: center; gap: 28px; min-height: 84px; }
.brand { display: flex; align-items: center; gap: 10px; flex-shrink: 0; line-height: 1; }
.brand img { border-radius: 50%; width: 46px; height: 46px; }
.brand-small { display: block; margin: 0 0 5px 1px; font-size: 9px; letter-spacing: .21em; font-weight: 800; }
.brand strong { display: block; font-size: 29px; letter-spacing: -.065em; }
.brand-dot { color: var(--electric); }
#site-navigation { display: flex; align-items: center; gap: clamp(15px, 1.8vw, 26px); margin-left: auto; }
#site-navigation a { position: relative; padding-block: 14px; font-size: 12px; font-weight: 600; white-space: nowrap; transition: color .2s; }
#site-navigation a::after { content: ''; position: absolute; left: 0; bottom: 7px; width: 100%; height: 2px; background: var(--electric); transform: scaleX(0); transform-origin: left; transition: transform .2s var(--ease); }
#site-navigation .nav-current { color: var(--electric); }
#site-navigation .nav-current::after { transform: scaleX(1); }
.menu-toggle { display: none; }

/* Home opening */
.hero { padding-top: clamp(42px, 5vw, 70px); overflow: clip; }
.hero-layout { display: grid; grid-template-columns: minmax(0, 1.12fr) minmax(0, .88fr); align-items: center; gap: clamp(40px, 6vw, 84px); padding-bottom: 64px; }
.hero-copy { padding-block: 8px; }
.hero-copy .eyebrow, .history-hero-copy .eyebrow { display: flex; align-items: center; gap: 10px; }
.hero-description { max-width: 475px; margin: 27px 0 17px; color: var(--muted); font-size: 16px; line-height: 1.85; }
.hero-modalities { display: flex; flex-wrap: wrap; align-items: center; gap: 0 20px; margin-bottom: 25px; }
.hero-modalities a { display: inline-flex; align-items: center; gap: 7px; min-height: 44px; font-size: 12px; font-weight: 800; }
.hero-modalities a + a { padding-left: 20px; border-left: 1px solid var(--line); }
.hero-modalities .icon { width: 19px; height: 19px; color: var(--electric); }
.hero-copy > .button { min-width: 278px; }
.hero-note { max-width: 400px; margin-top: 18px; color: var(--muted); font-size: 12px; }
.welcome-photos { position: relative; min-width: 0; width: 100%; max-width: 470px; justify-self: end; padding: 0 14px 43px 0; }
.welcome-main { position: relative; padding: 6px; border: 1px solid var(--ink); border-radius: 5px; background: var(--blue); transform: rotate(1.3deg); box-shadow: 10px 11px 0 var(--yellow); }
.welcome-main img { width: 100%; height: auto; aspect-ratio: 455 / 460; object-fit: cover; object-position: 55% center; border-radius: 2px; }
.welcome-sticker { position: absolute; right: -13px; bottom: 78px; padding: 15px 20px; background: var(--yellow); border: 1px solid var(--ink); border-radius: 3px; font-size: 16px; font-weight: 800; line-height: 1.25; transform: rotate(5deg); }
.welcome-sticker > span { position: absolute; top: -27px; right: -14px; color: var(--blue); font-size: 42px; transform: rotate(8deg); }
.welcome-caption { position: absolute; bottom: 0; left: 0; right: 0; font-size: 11px; letter-spacing: .06em; font-weight: 800; text-align: center; }
.award-strip { background: var(--yellow); border-block: 1px solid var(--ink); }
.award-inner { min-height: 78px; display: flex; align-items: center; gap: 24px; }
.award-inner > .icon { width: 31px; height: 31px; }
.award-inner p { padding-left: 24px; border-left: 1px solid #a58e4f; font-size: 15px; line-height: 1.6; }
.award-year { display: flex; align-items: center; gap: 30px; margin-left: auto; font-size: 32px; font-weight: 800; letter-spacing: -.055em; }
.award-year span { font-weight: 400; }

/* Courses by age */
.ages-section { background: #f5f6fc; }
.age-track { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 22px; }
.age-card { position: relative; min-width: 0; }
.age-card-link { display: block; position: relative; overflow: hidden; border: 1px solid #20357b; border-radius: 27px 27px 8px 8px; background: #084183; transition: box-shadow .25s, transform .25s var(--ease); }
.age-card-link img { width: 100%; height: auto; aspect-ratio: 941 / 1600; object-fit: cover; object-position: center top; transition: transform .4s var(--ease); }
.age-card-action { position: absolute; bottom: 0; inset-inline: 0; display: flex; justify-content: space-between; align-items: center; gap: 8px; min-height: 53px; padding: 13px 15px; color: white; background: var(--blue); font-size: 12px; font-weight: 800; }
.age-card-action .icon { width: 20px; height: 20px; transition: transform .2s; }
.age-card h3 { min-height: 2.5em; margin: 20px 0 10px; font-size: 23px; line-height: 1.25; letter-spacing: -.035em; text-wrap: pretty; }
.age-card > p { color: var(--muted); font-size: 14px; }
.age-swipe-cue { display: none; }
.age-navigation { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-top: 19px; }
.age-navigation > span { color: var(--muted); font-size: 12px; }
.age-navigation > div { display: flex; gap: 10px; }
.age-navigation button { display: grid; place-items: center; flex: 0 0 46px; width: 46px; height: 46px; padding: 0; border: 1px solid var(--blue); border-radius: 50%; color: var(--blue); background: transparent; transition: color .2s, background .2s; }
.age-navigation button .icon { display: block; width: 20px; height: 20px; }
.age-navigation button:first-child .icon { transform: rotate(180deg); }
.age-navigation button:disabled { opacity: .35; cursor: default; }
.ages-online { display: flex; align-items: center; gap: 18px; margin-top: 42px; padding-top: 25px; border-top: 1px solid #bfc7df; }
.ages-online > .icon { color: var(--electric); }
.ages-online p { font-size: 14px; }
.ages-online .text-link { margin-left: auto; }

/* The note and the real classroom moment */
.closer-section { padding-block: var(--section-space); background: var(--lavender); }
.closer-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); grid-template-areas: 'note copy' 'photo copy'; gap: 32px 90px; align-items: center; }
.closer-visual { display: contents; }
.teacher-note { grid-area: note; position: relative; padding: 35px 38px; background: var(--paper); border: 1px solid #a5abcb; border-radius: 3px; transform: rotate(-1deg); box-shadow: 6px 7px 0 #ced3eb; }
.teacher-note::before { content: ''; position: absolute; width: 90px; height: 22px; left: calc(50% - 45px); top: -11px; background: #ffda72d9; transform: rotate(4deg); }
.note-hello { display: block; margin-bottom: 20px; color: var(--blue); font-size: 15px; font-weight: 800; }
.teacher-note h2 { font-size: clamp(32px, 3.3vw, 44px); }
.teacher-note h2 span { color: var(--blue); }
.teacher-note > p { margin-top: 20px; color: var(--muted); font-size: 14px; }
.note-signature { display: block; margin-top: 22px; font-size: 12px; font-weight: 800; }
.classroom-moment { grid-area: photo; margin-inline: 14px 3px; border: 1px solid var(--ink); border-radius: 3px; overflow: hidden; background: var(--ink); transform: rotate(1deg); }
.classroom-moment img { width: 100%; height: 184px; object-fit: cover; object-position: center 37%; }
.classroom-moment figcaption { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 10px 15px; color: white; font-size: 10px; font-weight: 800; letter-spacing: .06em; }
.classroom-moment figcaption a { min-height: 35px; display: inline-flex; align-items: center; gap: 5px; color: var(--yellow); font-size: 12px; white-space: nowrap; letter-spacing: 0; }
.closer-copy { grid-area: copy; }
.closer-copy h3 { font-size: clamp(33px, 3.4vw, 45px); margin-bottom: 24px; }
.closer-copy > p:not(.eyebrow) { color: var(--muted); font-size: 16px; }
.closer-detail { display: flex; gap: 17px; margin-top: 25px; padding-top: 22px; border-top: 1px solid #bec4db; }
.closer-detail > span { display: grid; place-items: center; flex: 0 0 34px; height: 34px; color: var(--blue); border: 1px solid #bec4db; border-radius: 50%; font-size: 11px; font-weight: 800; line-height: 1; }
.closer-detail p { max-width: 380px; margin-top: 8px; color: var(--muted); font-size: 14px; }
.closer-copy > .text-link { margin-top: 25px; }
.closer-copy .history-link { display: flex; width: fit-content; margin-top: 4px; font-weight: 600; }

/* Native questions */
.questions-layout { display: grid; grid-template-columns: .88fr 1.12fr; gap: 90px; align-items: start; }
.questions-intro > p:not(.eyebrow) { max-width: 390px; margin: 25px 0 14px; color: var(--muted); font-size: 15px; }
.questions-list { border-top: 1px solid #abb3ca; }
.questions-list details { border-bottom: 1px solid #abb3ca; }
.questions-list summary { position: relative; padding: 27px 54px 27px 0; font-size: 16px; font-weight: 800; line-height: 1.65; list-style: none; cursor: pointer; }
.questions-list summary::-webkit-details-marker { display: none; }
.questions-list summary::after { content: ''; position: absolute; right: 0; top: 24px; width: 32px; height: 32px; border: 1px solid #cbd0e3; border-radius: 50%; color: var(--blue); background-image: linear-gradient(currentColor, currentColor), linear-gradient(currentColor, currentColor); background-position: center; background-size: 12px 2px, 2px 12px; background-repeat: no-repeat; }
.questions-list details[open] summary { color: var(--blue); padding-bottom: 15px; }
.questions-list details[open] summary::after { background-color: var(--yellow); background-image: linear-gradient(currentColor, currentColor); border-color: var(--yellow); }
.questions-list details > div { padding: 0 30px 22px 0; }
.questions-list details p { color: var(--muted); font-size: 15px; }
.questions-list .text-link { margin-top: 9px; font-size: 13px; }

/* In person and online */
.modalities-section { background: #eaf0f9; }
.modalities-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; }
.modality { display: flex; flex-direction: column; padding: 34px 36px 0; border: 1px solid #949dbb; border-radius: 7px; }
.modality-local { background: var(--paper); }
.modality-online { background: #c7e3f1; }
.modality-top { display: flex; align-items: center; gap: 12px; margin-bottom: 33px; color: var(--blue); font-size: 11px; font-weight: 800; letter-spacing: .1em; }
.modality-top .icon { width: 40px; height: 40px; padding: 8px; border: 1px solid #b1b9ce; border-radius: 50%; }
.modality h3 { font-size: clamp(35px, 3.5vw, 47px); margin-bottom: 23px; }
.modality > p { max-width: 385px; font-size: 15px; color: var(--muted); }
.modality > .modality-prompt { padding-left: 13px; margin-block: 18px 30px; border-left: 2px solid var(--electric); font-size: 13px; color: var(--ink); }
.modality-bottom { display: flex; align-items: center; justify-content: space-between; gap: 15px; margin-top: auto; padding-block: 20px; border-top: 1px solid #b9c1d2; font-size: 13px; font-weight: 800; }
.modality-bottom a { display: inline-flex; align-items: center; justify-content: center; gap: 12px; min-height: 46px; padding: 12px 16px; border-radius: 5px; background: var(--blue); color: white; font-size: 12px; line-height: 1.5; transition: background .2s, transform .2s; }
.modality-bottom .icon { width: 18px; height: 18px; }
.modality-helper { margin: 26px auto 0; color: var(--muted); font-size: 13px; text-align: center; }

/* Shared contact and footer */
.contact-section { position: relative; overflow: clip; padding-block: 85px 75px; background: var(--blue); color: white; text-align: center; }
.contact-section::before, .contact-section::after { content: ''; position: absolute; width: 220px; height: 220px; border: 1px solid #ffffff1c; border-radius: 50%; pointer-events: none; }
.contact-section::before { top: 70px; left: -120px; }
.contact-section::after { bottom: -80px; right: -90px; }
.contact-inner { position: relative; }
.contact-section .eyebrow { color: #c7d7ff; }
.contact-section h2 { position: relative; display: inline-block; font-size: clamp(48px, 6.3vw, 84px); line-height: 1.08; margin-bottom: 32px; }
.contact-section h2 > span:first-child { color: var(--yellow); }
.contact-star { position: absolute; top: 15px; right: -100px; color: var(--yellow); font-size: 78px; font-weight: 400; transform: rotate(12deg); }
.contact-section .button { display: flex; width: fit-content; margin-inline: auto; }
.contact-section :focus-visible, .journey-section :focus-visible { outline-color: var(--yellow); }
.message-intro { color: #d0d8ef; font-size: 12px; margin-top: 30px; }
.contact-message { max-width: 455px; margin: 7px auto 0; color: #e7eafb; font-size: 14px; line-height: 1.8; }
#contact-fallback { width: fit-content; max-width: 100%; margin: 27px auto 0; padding-top: 21px; border-top: 1px solid #6468a6; font-size: 12px; color: #d5ddf1; }
#contact-fallback .text-link { color: white; font-size: 13px; }
.site-footer { padding-block: 32px; border-top: 1px solid var(--line); }
.footer-inner { display: flex; align-items: center; gap: 35px; }
.footer-inner p { font-size: 13px; }
.footer-inner p span { color: var(--muted); font-size: 12px; }
.footer-inner > a:nth-last-child(2) { margin-left: auto; display: grid; place-items: center; width: 46px; height: 46px; border: 1px solid var(--line); border-radius: 50%; }
.back-top { min-height: 44px; display: inline-flex; align-items: center; font-size: 12px; font-weight: 800; }
.footer-pages { display: flex; flex-wrap: wrap; gap: 8px 28px; margin-top: 24px; padding-top: 17px; border-top: 1px solid var(--line); }
.footer-pages a { display: inline-flex; align-items: center; min-height: 44px; color: var(--muted); font-size: 13px; font-weight: 600; }
.footer-pages a:hover, .footer-pages a[aria-current="page"] { color: var(--blue); text-decoration: underline; text-underline-offset: 4px; }
.floating-whatsapp { position: fixed; z-index: 25; right: 24px; bottom: 24px; display: flex; align-items: center; justify-content: center; width: 56px; height: 56px; color: white; background: #14794f; border: 3px solid var(--paper); border-radius: 50%; box-shadow: 0 3px 12px #172a251a; transition: transform .2s; }
.floating-whatsapp .icon { width: 27px; height: 27px; }
.floating-whatsapp > span { position: absolute; right: 65px; padding: 8px 13px; border: 1px solid var(--line); border-radius: 5px; background: var(--paper); color: var(--ink); font-size: 12px; font-weight: 800; white-space: nowrap; pointer-events: none; opacity: 0; transform: translateX(5px); transition: opacity .2s, transform .2s; }
.floating-whatsapp:focus-visible > span { opacity: 1; transform: none; }

/* History: one portrait, one clear timeline */
.history-hero { padding-block: clamp(54px, 6vw, 88px); overflow: clip; background: var(--lavender); border-bottom: 1px solid #cad0e4; }
.history-hero-layout { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); align-items: center; gap: clamp(42px, 6vw, 88px); }
.history-hero-copy h1 { font-size: clamp(57px, 6.25vw, 86px); }
.history-hero-copy > p:not(.eyebrow) { max-width: 535px; margin: 27px 0 17px; color: var(--muted); font-size: 16px; }
.history-hero-single-photo { width: 100%; max-width: 460px; justify-self: end; padding: 7px 7px 0; border: 1px solid var(--ink); border-radius: 5px; background: var(--blue); color: white; box-shadow: 12px 13px 0 var(--yellow); transform: rotate(1.1deg); }
.history-hero-single-photo img { width: 100%; height: auto; aspect-ratio: 455 / 460; object-fit: cover; object-position: 52% center; border-radius: 2px; }
.history-hero-single-photo figcaption { padding: 18px; }
.history-hero-single-photo figcaption span { display: block; margin-bottom: 6px; color: #d8ddf3; font-size: 10px; font-weight: 600; letter-spacing: .08em; }
.history-hero-single-photo figcaption strong { color: var(--yellow); font-size: 13px; font-weight: 600; }
.history-intro-grid { display: grid; grid-template-columns: .95fr 1.05fr; gap: clamp(48px, 8vw, 116px); }
.history-intro h2 { font-size: clamp(37px, 4vw, 54px); }
.history-prose { padding-left: 35px; border-left: 2px solid var(--yellow); }
.history-prose p { margin-bottom: 21px; color: var(--muted); font-size: 16px; }
.history-prose p:last-child { margin-bottom: 0; }
.history-prose .history-lead { color: var(--ink); font-size: 23px; font-weight: 800; line-height: 1.5; letter-spacing: -.035em; }
.journey-section { padding-block: var(--section-space); color: white; background: var(--deep-blue); }
.journey-layout { display: grid; grid-template-columns: .72fr 1.28fr; align-items: start; gap: clamp(48px, 7vw, 95px); }
.journey-intro { position: sticky; top: 124px; }
.journey-intro .eyebrow { color: var(--yellow); }
.journey-intro h2 { font-size: clamp(38px, 4.3vw, 57px); }
.journey-intro > p:last-child { max-width: 365px; margin-top: 24px; color: #c9cce2; font-size: 15px; }
.journey-list { position: relative; padding-left: 29px; }
.journey-list::before { content: ''; position: absolute; left: 0; top: 12px; bottom: 25px; width: 1px; background: #585d96; }
.journey-item { position: relative; display: grid; grid-template-columns: 119px minmax(0, 1fr); gap: 24px; padding-block: 35px; border-bottom: 1px solid #454b83; }
.journey-item:first-child { padding-top: 0; }
.journey-item:last-child { border-bottom: 0; padding-bottom: 0; }
.journey-item::before { content: ''; position: absolute; left: -34px; top: 42px; width: 11px; height: 11px; border-radius: 50%; background: var(--yellow); box-shadow: 0 0 0 5px var(--deep-blue); }
.journey-item:first-child::before { top: 10px; }
.journey-date strong, .journey-date span { display: block; }
.journey-date strong { color: var(--yellow); font-size: 20px; line-height: 1.4; letter-spacing: -.035em; white-space: nowrap; }
.journey-date span { margin-top: 7px; color: #c9cce2; font-size: 10px; font-weight: 600; letter-spacing: .06em; }
.journey-item h3 { font-size: 29px; line-height: 1.23; }
.journey-item p { margin-top: 15px; color: #d0d4e7; font-size: 15px; }
.journey-item .text-link { margin-top: 12px; color: var(--yellow); font-size: 13px; }
.journey-item p strong { color: white; font-weight: 600; }
.journey-featured { margin-block: 24px 0; padding: 28px 25px; border: 0; border-radius: 5px; background: var(--yellow); color: var(--ink); }
.journey-featured::before { top: 40px; }
.journey-featured .journey-date strong, .journey-featured .journey-date span, .journey-featured .text-link { color: var(--blue); }
.journey-featured p { color: #48495b; }
.journey-featured p strong { color: var(--ink); }
.journey-featured :focus-visible { outline-color: var(--blue); }
.journey-icon { display: grid; place-items: center; width: 44px; height: 44px; margin-bottom: 20px; border-radius: 4px; color: var(--yellow); background: var(--blue); transform: rotate(-5deg); }
.journey-icon .icon { width: 23px; height: 23px; }
.history-values { background: #f4f5fb; }
.history-values-grid { display: grid; grid-template-columns: repeat(3, 1fr); border-block: 1px solid #c1c6d9; }
.history-values-grid article { padding: 33px 32px; }
.history-values-grid article:first-child { padding-left: 0; }
.history-values-grid article:last-child { padding-right: 0; }
.history-values-grid article + article { border-left: 1px solid #c1c6d9; }
.history-values-grid article > span { display: grid; place-items: center; width: 43px; height: 43px; margin-bottom: 35px; border: 1px solid #bdc5db; border-radius: 50%; color: var(--blue); font-size: 12px; font-weight: 800; }
.history-values-grid article:nth-child(2) > span { background: var(--yellow); border-color: var(--yellow); }
.history-values-grid h3 { font-size: 29px; margin-bottom: 16px; }
.history-values-grid p { max-width: 310px; color: var(--muted); font-size: 15px; }

/* A little more about each age, with native keyboard-accessible disclosure. */
.age-details { margin-top: 18px; border-top: 1px solid #c1c8df; }
.age-details summary { display: flex; justify-content: space-between; align-items: center; gap: 15px; min-height: 48px; padding-block: 12px; list-style: none; color: var(--blue); font-size: 13px; font-weight: 800; cursor: pointer; }
.age-details summary::-webkit-details-marker { display: none; }
.age-details summary > span { position: relative; flex: 0 0 28px; width: 28px; height: 28px; border: 1px solid #bac4dd; border-radius: 50%; font-size: 0; line-height: 0; transition: transform .2s; }
.age-details summary > span::before, .age-details summary > span::after { content: ''; position: absolute; top: 50%; left: 50%; background: currentColor; transform: translate(-50%, -50%); }
.age-details summary > span::before { width: 11px; height: 2px; }
.age-details summary > span::after { width: 2px; height: 11px; }
.age-details[open] summary > span { transform: rotate(45deg); background: var(--yellow); border-color: var(--yellow); }
.age-details > div { padding-block: 4px 15px; }
.age-details p { color: var(--muted); font-size: 14px; }
.age-details p + p { margin-top: 14px; }
.age-details .text-link { font-size: 12px; margin-top: 12px; }
.age-extra { margin-top: 17px; }
.age-extra h4 { margin-bottom: 7px; font-size: 14px; }

/* From first hello to a conversation about the course. */
.first-steps { border-bottom: 1px solid var(--line); }
.steps-layout { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(45px, 8vw, 116px); align-items: start; }
.steps-intro > p:not(.eyebrow) { max-width: 360px; margin-block: 26px 13px; color: var(--muted); font-size: 15px; }
.steps-list { list-style: none; margin: 0; padding: 0; }
.steps-list li { position: relative; display: grid; grid-template-columns: 45px 1fr; gap: 24px; padding-bottom: 33px; }
.steps-list li:last-child { padding-bottom: 0; }
.steps-list li:not(:last-child)::before { content: ''; position: absolute; left: 22px; top: 50px; bottom: 8px; width: 1px; background: #c5cbe0; }
.step-number { display: grid; place-items: center; width: 45px; height: 45px; border-radius: 50%; background: var(--blue); color: white; font-size: 13px; font-weight: 800; }
.steps-list li:nth-child(2) .step-number { background: var(--yellow); color: var(--ink); }
.steps-list h3 { margin: 7px 0 12px; font-size: 28px; }
.steps-list p { color: var(--muted); font-size: 15px; }
.steps-list .text-link { margin-top: 6px; font-size: 13px; }

/* Optional, editable content. Empty fields never become placeholder cards. */
[data-content] { white-space: pre-line; }
.course-facts { margin: 22px 0 0; }
.course-facts > div { padding: 12px 0; border-top: 1px solid #b9c1d2; }
.course-facts dt { color: var(--blue); font-size: 11px; font-weight: 800; letter-spacing: .04em; }
.course-facts dd { margin: 3px 0 0; color: var(--ink); font-size: 14px; }
.directions-link { margin-top: 4px; font-size: 13px; }
.presentation-section { color: white; background: var(--deep-blue); }
.presentation-layout { display: grid; grid-template-columns: .75fr 1.25fr; gap: 75px; align-items: center; }
.presentation-layout .eyebrow { color: var(--yellow); }
.presentation-layout h2 { font-size: clamp(44px, 5vw, 70px); }
.presentation-layout > div > p:last-child { max-width: 320px; margin-top: 23px; color: #d0d4e7; font-size: 15px; }
.presentation-media video { width: 100%; max-height: 550px; aspect-ratio: 16 / 10; object-fit: contain; background: #0b102d; border: 1px solid #5e6794; border-radius: 6px; }
.presentation-media summary { padding-block: 18px; color: var(--yellow); font-size: 13px; cursor: pointer; }
.presentation-media details > p { color: #d0d4e7; font-size: 14px; }
.presentation-section :focus-visible { outline-color: var(--yellow); }
.testimonials-section { background: #f5f6fc; }
.testimonials-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); gap: 26px; }
.testimonial { display: flex; flex-direction: column; padding: 30px; border-top: 3px solid var(--blue); background: var(--paper); }
.testimonial > span { height: 50px; color: var(--electric); font-size: 72px; font-weight: 800; line-height: 1; }
.testimonial blockquote { margin: 16px 0 27px; color: var(--ink); font-size: 18px; line-height: 1.7; }
.testimonial figcaption { margin-top: auto; padding-top: 17px; border-top: 1px solid var(--line); font-size: 14px; }
.testimonial figcaption p { margin-top: 5px; color: var(--muted); font-size: 13px; }
.history-chapters { background: var(--paper); }
.history-chapters h2 { max-width: 650px; }
.history-chapters-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 290px), 1fr)); gap: 40px; margin-top: 40px; }
.history-chapters-grid article { padding-top: 25px; border-top: 1px solid #b7bed4; }
.chapter-number { color: var(--electric); font-size: 12px; font-weight: 800; }
.history-chapters-grid h3 { margin-block: 18px 20px; font-size: 30px; }
.history-chapters-grid p { color: var(--muted); font-size: 15px; }

/* Dialog and motion */
dialog { width: min(510px, calc(100% - 32px)); max-height: calc(100dvh - 40px); padding: 40px; border: 1px solid var(--ink); border-radius: 9px; background: var(--paper); color: var(--ink); }
dialog::backdrop { background: #101534c7; }
.dialog-close { position: absolute; top: 8px; right: 8px; display: grid; place-items: center; width: 44px; height: 44px; background: transparent; font-size: 30px; }
.dialog-icon { width: 34px; height: 34px; color: var(--blue); margin-bottom: 24px; }
.contact-dialog .eyebrow { margin-bottom: 12px; }
.contact-dialog h2 { font-size: 34px; }
.contact-dialog > p:not(.eyebrow) { margin-block: 18px 22px; font-size: 14px; color: var(--muted); }
#dialog-contact-message { margin: 0 0 24px; padding: 18px; border-left: 3px solid var(--blue); background: var(--lavender); font-size: 14px; }
.contact-dialog .button { width: 100%; }
.copy-message { min-height: 44px; width: 100%; margin-top: 14px; background: transparent; font-size: 13px; text-decoration: underline; text-underline-offset: 4px; }
.contact-dialog .copy-status { min-height: 20px; margin-bottom: 0; color: var(--blue); }
[data-reveal] { transition: opacity .5s var(--ease), translate .5s var(--ease); }
.reveal-pending { opacity: 0; translate: 0 14px; }
@media (hover: hover) {
  .button:hover { background: var(--deep-blue); transform: translateY(-2px); box-shadow: 3px 6px 0 var(--yellow); }
  .button-yellow:hover { background: #ffe391; box-shadow: 4px 7px 0 var(--deep-blue); }
  .text-link:hover { text-decoration-line: underline; }
  .text-link:hover .icon:last-child, .text-link:hover > span[aria-hidden] { transform: translateX(3px); }
  #site-navigation a:hover { color: var(--electric); }
  #site-navigation a:hover::after { transform: scaleX(1); }
  .hero-modalities a:hover, .classroom-moment figcaption a:hover { text-decoration: underline; text-underline-offset: 4px; }
  .age-card-link:hover { transform: translateY(-4px); box-shadow: 0 8px 0 #25278112; }
  .age-card-link:hover img { transform: scale(1.025); }
  .age-card-link:hover .age-card-action .icon { transform: translateX(3px); }
  .age-navigation button:hover:not(:disabled) { color: white; background: var(--blue); }
  .questions-list summary:hover { color: var(--electric); }
  .modality-bottom a:hover { background: var(--deep-blue); transform: translateY(-2px); }
  .floating-whatsapp:hover { transform: translateY(-2px); }
  .floating-whatsapp:hover > span { opacity: 1; transform: none; }
}

/* Tablet: menu breakpoint matches initializeMenu(). */
@media (max-width: 1150px) {
  .container { width: calc(100% - 64px); }
  .header-inner { gap: 20px; }
  .brand strong { font-size: 26px; }
  .brand img { width: 42px; height: 42px; }
  #site-navigation { gap: 17px; }
  #site-navigation a { font-size: 11px; }
  .header-cta { padding-inline: 14px; }
  .header-cta > .icon:last-child { margin-left: 0; }
  .closer-layout, .questions-layout { column-gap: 52px; }
  .journey-layout { gap: 45px; }
  .journey-item { grid-template-columns: 1fr; gap: 15px; }
  .journey-date { display: flex; align-items: center; flex-wrap: wrap; gap: 7px 16px; }
  .journey-date span { margin-top: 0; }
}
@media (max-width: 1000px) {
  .header-inner { min-height: 78px; }
  .header-cta { margin-left: auto; }
  .menu-toggle { display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 6px; width: 44px; height: 44px; order: 3; border-radius: 4px; background: transparent; }
  .menu-toggle span { width: 22px; height: 2px; background: var(--ink); transition: transform .2s; }
  .menu-toggle[aria-expanded=true] span:first-child { transform: translateY(4px) rotate(45deg); }
  .menu-toggle[aria-expanded=true] span:last-child { transform: translateY(-4px) rotate(-45deg); }
  #site-navigation { display: none; position: absolute; top: 100%; left: 0; right: 0; padding: 18px 32px; margin: 0; border-bottom: 1px solid var(--line); background: var(--paper); }
  #site-navigation.is-open { display: flex; justify-content: center; gap: 26px; }
  #site-navigation a { font-size: 13px; }
  .hero-layout, .history-hero-layout { gap: 38px; }
  h1, .history-hero-copy h1 { font-size: clamp(48px, 6.6vw, 65px); }
  .hero-description, .history-hero-copy > p:not(.eyebrow) { font-size: 15px; }
  .hero-modalities { gap: 0 15px; }
  .hero-modalities a { font-size: 11px; }
  .hero-modalities a + a { padding-left: 0; border-left: 0; }
  .welcome-sticker { right: -7px; font-size: 13px; padding: 12px 15px; }
  .welcome-caption { font-size: 10px; }
  .award-inner { gap: 18px; }
  .award-inner p { font-size: 13px; }
  .age-track { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; overscroll-behavior-x: contain; scrollbar-width: none; padding: 8px 8px 14px; margin: -8px; }
  .age-track::-webkit-scrollbar { display: none; }
  .age-card { flex: 0 0 43%; scroll-snap-align: start; scroll-margin-left: 8px; }
  .age-swipe-cue { display: flex; justify-content: space-between; align-items: center; gap: 20px; margin-bottom: 16px; color: var(--blue); font-size: 10px; letter-spacing: .07em; font-weight: 800; }
  .age-swipe-cue strong { white-space: nowrap; font-size: 12px; font-variant-numeric: tabular-nums; }
  .age-swipe-cue span span { padding-left: 7px; font-size: 17px; }
  .ages-online { flex-wrap: wrap; gap: 8px 16px; }
  .ages-online .text-link { margin-left: 40px; }
  .closer-layout { column-gap: 40px; }
  .teacher-note { padding: 28px; }
  .teacher-note h2 { font-size: 34px; }
  .closer-copy h3 { font-size: 33px; }
  .classroom-moment figcaption { flex-wrap: wrap; gap: 0; }
  .modality { padding: 27px 27px 0; }
  .modality-bottom { flex-wrap: wrap; }
  .history-values-grid article { padding-inline: 25px; }
  .history-values-grid h3 { font-size: 26px; }
}

/* Mobile: readable text, usable controls, deliberate reading order. */
@media (max-width: 700px) {
  html { scroll-padding-top: 88px; }
  .container { width: calc(100% - 40px); }
  .header-inner { min-height: 72px; gap: 12px; }
  .brand { gap: 7px; }
  .brand img { width: 36px; height: 36px; }
  .brand strong { font-size: 23px; }
  .brand-small { font-size: 7px; }
  .header-cta { min-height: 44px; padding: 12px; font-size: 11px; }
  .header-cta .icon { display: none; }
  .menu-toggle { flex: 0 0 44px; margin-right: -7px; }
  #site-navigation.is-open { display: grid; grid-template-columns: 1fr 1fr; justify-content: start; gap: 3px 24px; padding: 18px 24px; }
  #site-navigation a { width: fit-content; font-size: 14px; }
  .hero { padding-top: 36px; }
  .hero-layout, .history-hero-layout { grid-template-columns: 1fr; gap: 38px; padding-bottom: 38px; }
  h1 { font-size: clamp(51px, 12vw, 75px); }
  .hero-copy { padding: 0; }
  .eyebrow { font-size: 10px; margin-bottom: 17px; letter-spacing: .13em; }
  .hero-description { font-size: 15px; margin-top: 23px; }
  .hero-modalities { margin-bottom: 20px; gap: 0 23px; }
  .hero-modalities a { font-size: 12px; }
  .hero-copy > .button { min-width: 0; width: fit-content; padding-inline: 23px; }
  .hero-note { font-size: 12px; max-width: 330px; }
  .welcome-photos { width: min(420px, calc(100% - 12px)); margin-inline: auto; padding-right: 10px; }
  .welcome-main img { aspect-ratio: 455 / 410; object-position: 55% center; }
  .welcome-sticker { right: -5px; bottom: 70px; font-size: 14px; }
  .welcome-caption { font-size: 10px; letter-spacing: .04em; }
  .award-inner { min-height: 90px; gap: 16px; padding-block: 18px; }
  .award-inner p { padding-left: 16px; font-size: 13px; }
  .award-year { display: none; }
  h2 { font-size: clamp(34px, 8.6vw, 44px); }
  .section-heading { flex-direction: column; align-items: flex-start; gap: 20px; margin-bottom: 32px; }
  .section-heading > p { font-size: 14px; }
  .age-card { flex-basis: 80%; }
  .age-card-link img { aspect-ratio: 941 / 1480; }
  .age-card-action { font-size: 13px; min-height: 55px; }
  .age-card h3 { font-size: 25px; }
  .age-card > p { font-size: 15px; }
  .age-details p { font-size: 15px; }
  .age-swipe-cue { font-size: 10px; line-height: 1.6; }
  .age-navigation > span { max-width: 180px; }
  .ages-online { align-items: flex-start; margin-top: 31px; }
  .ages-online > .icon { margin-top: 3px; }
  .ages-online p { max-width: calc(100% - 40px); }
  .ages-online p strong { display: block; }
  .ages-online .text-link { font-size: 13px; }
  .closer-layout { grid-template-columns: 1fr; grid-template-areas: 'note' 'copy' 'photo'; gap: 43px; }
  .teacher-note { margin-inline: 4px 7px; padding: 32px 28px; }
  .teacher-note h2 { font-size: clamp(34px, 8.8vw, 44px); }
  .teacher-note > p { font-size: 15px; }
  .closer-copy h3 { font-size: 34px; }
  .classroom-moment { margin-inline: 5px; }
  .classroom-moment img { height: 215px; }
  .classroom-moment figcaption { justify-content: space-between; }
  .questions-layout { grid-template-columns: 1fr; gap: 32px; }
  .steps-layout, .presentation-layout { grid-template-columns: 1fr; gap: 38px; }
  .steps-list li { gap: 19px; }
  .steps-list h3 { font-size: 27px; }
  .steps-intro > p:not(.eyebrow) { max-width: 440px; }
  .presentation-media video { aspect-ratio: 4 / 3; }
  .testimonial { padding: 25px; }
  .history-chapters-grid { gap: 25px; }
  .questions-list summary { font-size: 15px; padding-block: 24px; }
  .questions-list summary::after { top: 22px; }
  .questions-list details > div { padding-right: 5px; }
  .modalities-grid { grid-template-columns: 1fr; gap: 22px; }
  .modality { padding: 27px 25px 0; }
  .modality h3 { font-size: 39px; }
  .modality-top { font-size: 10px; }
  .modality-bottom { flex-wrap: nowrap; }
  .modality-bottom > span { font-size: 12px; }
  .modality-bottom a { font-size: 12px; padding-inline: 13px; }
  .modality-helper { font-size: 12px; }
  .contact-section { padding-block: 70px 63px; }
  .contact-section h2 { font-size: clamp(45px, 10.8vw, 66px); }
  .contact-star { display: none; }
  .contact-section .button { max-width: 100%; font-size: 13px; padding: 17px; gap: 9px; }
  .contact-section .button > .icon:last-child { display: none; }
  .contact-message { font-size: 13px; }
  .contact-section .eyebrow { max-width: 330px; margin-inline: auto; }
  #contact-fallback { font-size: 12px; }
  .footer-inner { display: grid; grid-template-columns: 1fr auto; gap: 18px 20px; }
  .footer-inner p { grid-row: 2; grid-column: 1 / -1; font-size: 13px; }
  .footer-inner p span { font-size: 12px; }
  .footer-inner > a:nth-last-child(2) { grid-row: 1; grid-column: 2; }
  .back-top { grid-row: 3; width: fit-content; }
  .floating-whatsapp { right: 15px; bottom: 15px; width: 54px; height: 54px; }
  .floating-whatsapp > span { display: none; }
  .history-hero { padding-block: 42px 58px; }
  .history-hero-layout { gap: 39px; padding-bottom: 0; }
  .history-hero-copy h1 { font-size: clamp(47px, 11.7vw, 71px); }
  .history-hero-copy > p:not(.eyebrow) { font-size: 15px; }
  .history-hero-single-photo { width: min(430px, calc(100% - 14px)); justify-self: center; box-shadow: 9px 10px 0 var(--yellow); }
  .history-hero-single-photo img { aspect-ratio: 455 / 410; }
  .history-hero-single-photo figcaption { padding: 16px 12px; }
  .history-hero-single-photo figcaption span { font-size: 9px; }
  .history-hero-single-photo figcaption strong { font-size: 12px; }
  .history-intro-grid { grid-template-columns: 1fr; gap: 32px; }
  .history-intro h2 { font-size: 38px; }
  .history-prose { padding-left: 23px; }
  .history-prose .history-lead { font-size: 21px; }
  .history-prose p { font-size: 15px; }
  .journey-layout { grid-template-columns: 1fr; gap: 43px; }
  .journey-intro { position: static; }
  .journey-intro h2 { font-size: 41px; }
  .journey-list { padding-left: 23px; }
  .journey-item { padding-block: 30px; }
  .journey-item::before { left: -28px; top: 40px; }
  .journey-item h3 { font-size: 29px; }
  .journey-featured { margin-top: 20px; padding: 25px 20px; }
  .journey-date strong { font-size: 20px; }
  .journey-date span { font-size: 10px; }
  .journey-item .text-link { font-size: 13px; }
  .history-values-grid { grid-template-columns: 1fr; }
  .history-values-grid article, .history-values-grid article:first-child, .history-values-grid article:last-child { padding: 27px 0; }
  .history-values-grid article + article { border-left: 0; border-top: 1px solid #c1c6d9; }
  .history-values-grid article > span { margin-bottom: 21px; }
  .history-values-grid h3 { font-size: 29px; }
  .history-values-grid p { max-width: 430px; }
  dialog { padding: 31px 25px; }
  .contact-dialog h2 { font-size: 30px; }
}
@media (max-width: 380px) {
  .container { width: calc(100% - 32px); }
  .header-inner { gap: 9px; }
  .brand img { display: none; }
  .header-cta { font-size: 11px; }
  .hero-modalities { gap: 0 16px; }
  .hero-modalities a { font-size: 11px; }
  .age-swipe-cue { font-size: 10px; gap: 12px; }
  .age-swipe-cue span span { padding-left: 2px; }
  .age-navigation > span { font-size: 11px; max-width: 148px; }
  .teacher-note { padding: 28px 23px; }
  .modality-bottom { flex-direction: column; align-items: stretch; gap: 12px; }
  .modality-bottom a { justify-content: space-between; }
  .journey-featured { padding-inline: 17px; }
  .journey-item h3 { font-size: 27px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal-pending { opacity: 1; translate: none; }
  .button:hover, .age-card-link:hover, .age-card-link:hover img, .floating-whatsapp:hover, .modality-bottom a:hover { transform: none; }
}
/* The approved promotional portraits have old age labels baked in.
   Crop that strip from the visible frame and render current labels as text. */
.course-photo { position: relative; overflow: hidden; aspect-ratio: 941 / 1370; }
.course-photo > img { display: block; width: 100%; max-width: none; height: auto; aspect-ratio: 941 / 1672; object-fit: fill; margin-top: -14%; }
.course-photo > .course-age-label { position: absolute; z-index: 1; inset: 0 0 auto; display: grid; place-items: center; min-height: 54px; padding: 12px 8px; background: var(--blue); color: white; font-size: clamp(12px, 1.15vw, 15px); line-height: 1.4; font-weight: 800; text-align: center; }
