/* Phase 3A: only the English homepage and its existing root alias load this file. */
.home-en .section { padding-block: var(--space-7); }
.home-en .ecosystem { padding-bottom: 55px; }
.home-en .ecosystem .section-heading { max-width: 800px; }
.home-en .ecosystem-grid { margin-top: 35px; }
.home-en .experience { padding: 28px; }
.home-en .experience-top { margin-bottom: 22px; }
.home-en .experience p { min-height: 70px; }
.home-en .experience .text-link { margin-top: 20px; }
.home-en .home-real-learning { display: grid; grid-template-columns: 1.15fr 1fr; align-items: center; gap: 70px; padding-top: 40px; }
.home-learning-frame { position: relative; margin: 0; min-width: 0; padding: 12px 12px 0; background: var(--mint); border-radius: 30px; transform: rotate(-2deg); }
.home-learning-frame img { display: block; width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; border-radius: 22px; }
.home-learning-frame figcaption { display: flex; align-items: center; justify-content: space-between; gap: 12px; color: var(--teal); padding: 16px 12px; font-size: .8rem; font-weight: 650; }
.home-learning-frame figcaption > span { font-size: 28px; line-height: 1; }
.home-photo-spark { position: absolute; top: -24px; right: 22px; font-size: 56px; line-height: 1; color: var(--coral-dark); }
.home-learning-copy .section-heading h2 { font-size: clamp(2.1rem, 3.2vw, 3.4rem); }
.home-learning-details { margin: 25px 0; display: grid; gap: 18px; }
.home-learning-details > div { padding-left: 17px; border-left: 3px solid var(--mint); }
.home-learning-details dt { font-weight: 700; font-size: .9rem; margin-bottom: 4px; }
.home-learning-details dd { margin: 0; color: var(--muted); font-size: .85rem; }
.home-en .home-lessons .lesson-card > p { min-height: 70px; }
.home-format-footer { border-top: 1px solid var(--line); padding-top: 22px; display: flex; align-items: center; justify-content: space-between; gap: 25px; }
.home-format-footer .content-note { margin: 0; max-width: 650px; }
.home-format-footer .text-link { flex-shrink: 0; font-size: .85rem; }
.home-starting-point { background: #f1efe6; }
.home-start-heading { display: grid; grid-template-columns: 1.5fr 1fr; align-items: center; gap: 95px; }
.home-readiness-note { padding: 10px 0 10px 30px; border-left: 1px solid #c7bdb0; }
.home-readiness-note > .icon { color: var(--coral-dark); width: 30px; height: 30px; margin-bottom: 14px; }
.home-readiness-note h3 { font-size: 1.3rem; letter-spacing: -.025em; margin-bottom: 12px; }
.home-readiness-note p { font-size: .88rem; color: var(--muted); margin-bottom: 18px; }
.home-readiness-note .text-link { font-size: .8rem; }
.home-level-path { display: grid; grid-template-columns: repeat(5, 1fr); gap: 24px; list-style: none; padding: 0; margin: 50px 0 0; }
.home-level-path li { min-width: 0; position: relative; padding-top: 23px; border-top: 1px solid #b7ada1; }
.home-level-path li::before { content: ''; position: absolute; width: 9px; height: 9px; background: var(--teal); border: 2px solid #f1efe6; border-radius: 50%; top: -5px; left: 0; }
.home-level-code { display: inline-flex; align-items: center; min-height: 44px; padding: 6px 15px; border-radius: 12px; background: var(--peach); font-size: 1.2rem; font-weight: 750; letter-spacing: -.025em; white-space: nowrap; }
.home-level-path li:nth-child(2) .home-level-code { background: var(--mint); }
.home-level-path li:nth-child(3) .home-level-code { background: var(--lavender); }
.home-level-path li:nth-child(4) .home-level-code { background: var(--yellow); }
.home-level-path li:nth-child(5) .home-level-code { background: #dceef3; }
.home-age { margin: 16px 0 7px; font-size: .7rem; font-weight: 650; color: var(--teal); }
.home-level-path h3 { font-size: 1rem; letter-spacing: -.015em; line-height: 1.4; margin-bottom: 9px; }
.home-level-path li > p:last-child { font-size: .78rem; line-height: 1.65; color: var(--muted); }
.home-starting-point .content-note { margin-top: 30px; max-width: 760px; }
.home-tutor-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.home-tutor { min-width: 0; }
.home-tutor-portrait { position: relative; padding: 8px 8px 0; background: var(--mint); border-radius: 28px 28px 8px 8px; overflow: hidden; }
.home-tutor:nth-child(2) .home-tutor-portrait { background: var(--lavender); }
.home-tutor:nth-child(3) .home-tutor-portrait { background: var(--peach); }
.home-tutor:nth-child(4) .home-tutor-portrait { background: var(--yellow); }
.home-tutor-portrait img { display: block; width: 100%; height: auto; aspect-ratio: 1; object-fit: cover; border-radius: 20px 20px 0 0; }
.home-tutor-portrait > span { position: absolute; right: 13px; top: 13px; color: var(--ink); }
.home-tutor-portrait > span .icon { width: 20px; height: 20px; }
.home-tutor h3 { font-size: 1.15rem; letter-spacing: -.02em; margin: 17px 0 3px; }
.home-tutor p { font-size: .8rem; color: var(--teal); }
.home-approval-note { margin-top: 25px; }
.home-app { background: #eae5f3; }
.home-en .home-app .app-section { padding-bottom: 30px; }
.home-app-connection { padding-bottom: 55px; }
.home-app-flow { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin: 0; padding: 23px 0 0; border-top: 1px solid #c7b6d6; list-style: none; }
.home-app-flow li { display: flex; align-items: center; gap: 11px; min-width: 0; font-size: .75rem; font-weight: 650; }
.home-flow-number { font-size: .6rem; color: #5c466e; }
.home-flow-arrow { font-size: 22px; font-weight: 400; color: #6e5a80; margin-left: 18px; }
.home-parent-stories { background: var(--peach); }
.home-parent-layout { display: grid; grid-template-columns: 1fr 1.08fr; align-items: center; gap: 100px; }
.home-parent-points { padding: 0; list-style: none; margin: 25px 0; display: grid; gap: 12px; }
.home-parent-points li { display: flex; align-items: center; gap: 10px; font-size: .85rem; }
.home-parent-points .icon { width: 16px; height: 16px; color: var(--teal); flex-shrink: 0; }
.home-parent-quote { position: relative; margin: 0; border-block: 1px solid #caa992; padding: 28px 0; }
.home-quote-mark { display: block; color: var(--teal); font-size: 80px; font-weight: 700; line-height: .9; height: 58px; }
.home-parent-quote blockquote { margin: 0 0 25px; }
.home-parent-quote blockquote p { font-size: clamp(1.35rem, 2.1vw, 1.85rem); line-height: 1.55; letter-spacing: -.025em; color: var(--ink); max-width: 500px; }
.home-parent-quote figcaption strong { display: block; font-size: .9rem; }
.home-parent-quote figcaption small { display: block; font-size: .65rem; margin-top: 5px; max-width: calc(100% - 60px); }
.home-story-heart { position: absolute; bottom: 30px; right: 0; color: var(--coral-dark); transform: rotate(12deg); }
.home-story-heart .icon { width: 38px; height: 38px; }
.home-action-heading { display: flex; justify-content: space-between; align-items: center; gap: 40px; margin-bottom: 40px; }
.home-action-heading .section-heading { max-width: 750px; }
.home-action-doodle { color: var(--teal); font-size: 1.1rem; font-style: italic; transform: rotate(-6deg); white-space: nowrap; }
.home-action-collage { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 24px; align-items: start; }
.home-action-image { min-width: 0; margin: 0; }
.home-action-image-0 { padding-top: 0; }
.home-action-image-1 { padding-top: 40px; }
.home-action-image-2 { padding-top: 16px; }
.home-action-image img { width: 100%; height: auto; aspect-ratio: 576 / 600; object-fit: cover; display: block; border-radius: 24px; border: 8px solid var(--mint); }
.home-action-image-1 img { border-color: var(--lavender); }
.home-action-image-2 img { border-color: var(--peach); }
.home-action-image figcaption { display: flex; gap: 12px; align-items: center; margin-top: 14px; font-size: .82rem; font-weight: 600; }
.home-moment-number { font-size: .6rem; border: 1px solid var(--line); border-radius: 50%; min-width: 26px; min-height: 26px; display: grid; place-items: center; }
.home-video-link { grid-column: 2 / 4; display: flex; position: relative; align-items: center; gap: 24px; padding: 28px; border-radius: 20px; background: var(--ink); color: var(--paper); margin-top: -4px; min-height: 135px; }
.home-video-link:hover { background: #463550; }
.home-video-link:focus-visible { outline-color: var(--yellow); outline-offset: 4px; }
.home-video-link .eyebrow { color: #d4c0f7; margin-bottom: 9px; font-size: .6rem; }
.home-video-link h3 { font-size: 1.2rem; margin-bottom: 5px; }
.home-video-link p:not(.eyebrow) { font-size: .78rem; color: #e4d9ec; }
.home-video-link small { font-size: .65rem; color: #d1c5d9; display: block; margin-top: 12px; }
.home-video-play { display: grid; place-items: center; min-width: 56px; height: 56px; background: var(--yellow); color: var(--ink); border-radius: 50%; }
.home-video-play .icon { width: 24px; height: 24px; }
.home-video-arrow { font-size: 26px; margin-left: auto; padding-left: 6px; }
.home-notebook { background: #f1f2e8; }
.home-notebook-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; }
.home-notebook-article { min-width: 0; padding-top: 24px; border-top: 1px solid #b7baac; }
.home-notebook-icon { display: grid; place-items: center; height: 46px; width: 46px; border-radius: 15px; color: var(--teal); background: var(--mint); margin-bottom: 25px; }
.home-notebook-article:nth-child(2) .home-notebook-icon { background: var(--lavender); }
.home-notebook-article:nth-child(3) .home-notebook-icon { background: var(--peach); }
.home-notebook-article .eyebrow { font-size: .6rem; color: #5c6551; margin-bottom: 13px; }
.home-notebook-article h3 { font-size: 1.55rem; letter-spacing: -.025em; line-height: 1.25; margin-bottom: 15px; }
.home-notebook-article > p:last-child { font-size: .88rem; color: var(--muted); }
@media (max-width: 1024px) {
  .home-en .home-real-learning { gap: 40px; }
  .home-start-heading { gap: 45px; }
  .home-level-path { gap: 18px; }
  .home-level-path h3 { font-size: .9rem; }
  .home-tutor-grid { gap: 20px; }
  .home-parent-layout { gap: 45px; }
  .home-app-flow { gap: 12px; }
  .home-app-flow li { gap: 6px; font-size: .65rem; }
  .home-flow-arrow { margin-left: 3px; }
  .home-action-collage { gap: 18px; }
  .home-notebook-grid { gap: 30px; }
}
@media (max-width: 850px) {
  .home-en .home-real-learning { grid-template-columns: 1fr; gap: 40px; }
  .home-learning-frame { max-width: 650px; width: 100%; }
  .home-learning-copy .section-heading { max-width: 650px; }
  .home-learning-details { grid-template-columns: 1fr 1fr; gap: 25px; }
  .home-start-heading { grid-template-columns: 1.25fr 1fr; gap: 30px; }
  .home-level-path { grid-template-columns: repeat(3, 1fr); gap: 28px 24px; }
  .home-level-path h3 { font-size: 1rem; }
  .home-tutor h3 { font-size: .95rem; }
  .home-app-flow { flex-wrap: wrap; justify-content: flex-start; gap: 14px 24px; }
  .home-app-flow li { font-size: .75rem; }
  .home-flow-arrow { margin-left: 10px; }
  .home-parent-layout { grid-template-columns: 1fr 1fr; gap: 35px; }
  .home-action-doodle { display: none; }
  .home-action-collage { gap: 18px; }
  .home-video-link { grid-column: 1 / 4; }
  .home-notebook-grid { gap: 25px; }
  .home-notebook-article h3 { font-size: 1.3rem; }
}
@media (max-width: 640px) {
  .home-en .ecosystem { padding-block: 48px 35px; }
  .home-en .ecosystem-grid { gap: 0; margin-top: 25px; }
  .home-en .experience { padding: 22px; border-radius: 0; }
  .home-en .experience:first-child { border-radius: 20px 20px 0 0; }
  .home-en .experience:last-child { border-radius: 0 0 20px 20px; }
  .home-en .experience-top { margin-bottom: 10px; }
  .home-en .experience-icon { width: 30px; height: 30px; }
  .home-en .experience-icon .icon { width: 17px; height: 17px; }
  .home-en .experience h3 { font-size: 1.35rem; }
  .home-en .experience p { font-size: .83rem; min-height: 0; }
  .home-en .experience .text-link { margin-top: 10px; font-size: .75rem; }
  .home-en .home-real-learning { padding-top: 30px; gap: 30px; }
  .home-learning-frame { padding: 8px 8px 0; border-radius: 22px; transform: none; }
  .home-learning-frame img { border-radius: 16px; }
  .home-learning-frame figcaption { padding: 12px 7px; font-size: .7rem; }
  .home-photo-spark { font-size: 36px; top: -15px; right: 20px; }
  .home-learning-copy .section-heading h2 { font-size: 2.2rem; }
  .home-learning-details { gap: 20px; margin-block: 23px; }
  .home-learning-details dt { font-size: .8rem; }
  .home-learning-details dd { font-size: .78rem; }
  .home-en .home-lessons .lesson-card > p { min-height: 0; }
  .home-en .home-lessons .lesson-symbol { grid-row: 1 / 4; }
  .home-format-footer { flex-direction: column; align-items: flex-start; gap: 14px; padding-top: 20px; }
  .home-format-footer .text-link { font-size: .78rem; }
  .home-start-heading { grid-template-columns: 1fr; gap: 25px; }
  .home-readiness-note { padding: 0 0 0 20px; }
  .home-readiness-note > .icon { display: none; }
  .home-readiness-note h3 { font-size: 1.2rem; margin-bottom: 8px; }
  .home-readiness-note p { font-size: .82rem; }
  .home-level-path { grid-template-columns: 1fr 1fr; gap: 24px; margin-top: 35px; }
  .home-level-path li { padding-top: 16px; }
  .home-level-path li:first-child { grid-column: 1 / 3; display: grid; grid-template-columns: 84px 1fr; gap: 5px 18px; }
  .home-level-path li:first-child .home-level-code { grid-row: 1 / 4; align-self: start; justify-content: center; padding-inline: 8px; }
  .home-level-path li:first-child .home-age { margin: 0; }
  .home-level-path li:first-child h3 { margin: 0; }
  .home-level-path li:first-child p:last-child { grid-column: 2; }
  .home-level-path h3 { font-size: .9rem; margin-bottom: 7px; }
  .home-level-path li > p:last-child { font-size: .75rem; }
  .home-level-code { font-size: 1.1rem; min-height: 40px; }
  .home-age { margin-top: 12px; }
  .home-starting-point .content-note { font-size: .65rem; }
  .home-tutor-grid { grid-template-columns: 1fr 1fr; gap: 28px 14px; }
  .home-tutor-portrait { border-radius: 20px 20px 7px 7px; }
  .home-tutor-portrait > span { right: 10px; top: 10px; }
  .home-tutor-portrait > span .icon { width: 15px; height: 15px; }
  .home-tutor h3 { font-size: .95rem; margin-top: 12px; overflow-wrap: anywhere; }
  .home-tutor p { font-size: .72rem; }
  .home-en .home-app .app-section { padding-bottom: 20px; }
  .home-app-connection { padding-bottom: 35px; }
  .home-app-flow { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; align-items: start; padding-top: 20px; }
  .home-app-flow li { align-items: flex-start; font-size: .7rem; }
  .home-app-flow li:last-child { grid-column: 1 / 3; }
  .home-flow-number { padding-top: 1px; }
  .home-flow-arrow { display: none; }
  .home-parent-layout { grid-template-columns: 1fr; gap: 30px; }
  .home-parent-points { gap: 10px; margin-block: 23px; }
  .home-parent-points li { font-size: .8rem; }
  .home-parent-quote { padding-block: 22px; }
  .home-parent-quote blockquote p { font-size: 1.45rem; }
  .home-quote-mark { font-size: 64px; height: 45px; }
  .home-action-heading { margin-bottom: 30px; }
  .home-action-collage { grid-template-columns: 1fr 1fr; gap: 20px 14px; }
  .home-action-image-0 { grid-column: 1 / 3; width: 85%; }
  .home-action-image-0 img { aspect-ratio: 4 / 3; object-position: center 55%; }
  .home-action-image-1 { padding-top: 0; }
  .home-action-image-2 { padding-top: 22px; }
  .home-action-image img { border-radius: 18px; border-width: 6px; }
  .home-action-image figcaption { font-size: .7rem; align-items: flex-start; gap: 7px; margin-top: 10px; }
  .home-moment-number { min-width: 20px; min-height: 20px; font-size: .5rem; }
  .home-video-link { grid-column: 1 / 3; gap: 14px; padding: 20px; margin-top: 5px; }
  .home-video-play { min-width: 40px; height: 40px; }
  .home-video-link h3 { font-size: 1rem; }
  .home-video-link p:not(.eyebrow) { font-size: .74rem; }
  .home-video-link small { font-size: .58rem; }
  .home-video-link .eyebrow { font-size: .5rem; }
  .home-video-arrow { display: none; }
  .home-notebook-grid { grid-template-columns: 1fr; gap: 26px; }
  .home-notebook-article { display: grid; grid-template-columns: 42px 1fr; gap: 9px 18px; padding-top: 22px; }
  .home-notebook-icon { width: 42px; height: 42px; grid-row: 1 / 4; margin: 0; }
  .home-notebook-article .eyebrow { margin: 0; font-size: .55rem; }
  .home-notebook-article h3 { font-size: 1.35rem; margin: 0; }
  .home-notebook-article > p:last-child { font-size: .82rem; }
}
