:root
{
    --paper: #f7fafc; --ink: #0e2a3b; --accent: #1b6699; --surface: #dcebf5; --muted: #4e6676; --line: rgba(14,42,59,.18);
}
*
{
    box-sizing: border-box;
}
html
{
    scroll-behavior: smooth; scroll-padding-top: 110px;
}
body
{
    margin: 0; background: var(--paper); color: var(--ink); font-family: Arial, Helvetica, sans-serif; font-size: 18px; line-height: 1.6;
}
body.menu-open
{
    overflow: hidden;
}
button, input, select
{
    font: inherit; color: inherit;
}
button, a
{
    -webkit-tap-highlight-color: transparent;
}
button
{
    cursor: pointer;
}
button:focus-visible, a:focus-visible, input:focus-visible, select:focus-visible
{
    outline: 3px solid #d27b12; outline-offset: 5px;
}
a
{
    color: inherit; text-underline-offset: 5px;
}
img, svg
{
    display: block; max-width: 100%;
}
h1, h2, h3, p, figure, blockquote
{
    margin: 0;
}
h1, h2, h3
{
    line-height: 1; letter-spacing: -.035em;
}
h2
{
    font-size: clamp(36px, 4.6vw, 64px);
}
h3
{
    font-size: 34px;
}
p + p
{
    margin-top: 14px;
}
.wrap
{
    width: min(1280px, calc(100% - 96px)); margin-inline: auto;
}
.section
{
    padding-block: 100px;
}
.eyebrow
{
    font-size: 14px; font-weight: 700; text-transform: uppercase; letter-spacing: .12em; margin-bottom: 20px; line-height: 1.6;
}
.small, figcaption, .concept-note
{
    font-size: 14px; line-height: 1.6; color: var(--muted);
}
.pill
{
    display: inline-flex; align-items: center; justify-content: center; border: 0; border-radius: 999px; padding: 17px 30px; background: var(--accent); color: white; font-size: 16px; font-weight: 700; line-height: 1.4; text-decoration: none; transition: background .2s;
}
.pill:hover
{
    background: var(--ink); color: white;
}
.white
{
    background: white; color: var(--ink);
}
.white:hover
{
    background: var(--surface); color: var(--ink);
}
.text-button, .footer-links button
{
    border: 0; border-radius: 0; padding: 0 0 3px; border-bottom: 2px solid var(--accent); color: var(--accent); background: transparent; font-size: 16px; font-weight: 700; text-align: left;
}
.text-link
{
    color: var(--accent); font-weight: 700; font-size: 16px;
}
.skip
{
    position: fixed; top: -100px; left: 20px; padding: 12px; background: white; z-index: 20;
}
.skip:focus
{
    top: 10px;
}
header
{
    position: fixed; top: 0; width: 100%; z-index: 5; min-height: 98px; display: flex; align-items: center; justify-content: space-between; gap: 25px; padding: 18px 48px; color: white; background: rgba(14,42,59,.76); transition: background .2s, color .2s;
}
header.scrolled
{
    background: var(--paper); color: var(--ink); border-bottom: 1px solid var(--line);
}
.logo
{
    font-size: 31px; font-weight: 900; line-height: 1; text-decoration: none; letter-spacing: -.05em; white-space: nowrap;
}
.logo span
{
    display: block; font-size: 14px; letter-spacing: 0; margin-top: 8px; font-weight: 400;
}
nav
{
    display: flex; gap: 25px; font-size: 16px;
}
nav a
{
    text-decoration: none;
}
nav a:hover
{
    text-decoration: underline;
}
.nav-book
{
    color: var(--ink); background: white;
}
.scrolled .nav-book
{
    color: white; background: var(--accent);
}
#menu-button, .floating-book
{
    display: none;
}
.hero
{
    position: relative; min-height: 830px; overflow: hidden; color: white; display: flex; align-items: flex-end;
}
.hero-photo
{
    position: absolute; width: 100%; height: 100%; object-fit: cover; object-position: center 45%; animation: settle 1.6s ease-out both;
}
.hero-copy
{
    position: relative; width: 100%; margin-top: 330px; padding: 28px 0 38px; background: rgba(14,42,59,.76);
}
h1
{
    font-size: clamp(56px, 8.7vw, 148px); font-weight: 900; line-height: .92; animation: rise .7s both;
}
.hero-bottom
{
    display: flex; gap: 36px; align-items: end; justify-content: space-between; margin-top: 25px;
}
.hero-bottom > p
{
    max-width: 510px;
}
.actions
{
    display: flex; align-items: center; gap: 25px; flex-shrink: 0; font-size: 16px; font-weight: 700;
}
.promise
{
    display: grid; grid-template-columns: repeat(3, 1fr); gap: 35px; padding-block: 65px 25px;
}
.promise h2
{
    font-size: clamp(45px, 5vw, 72px); font-weight: 900; margin-bottom: 17px;
}
.concept-note
{
    grid-column: 1 / -1; margin: 10px 0 0; padding-top: 20px; border-top: 1px solid var(--line);
}
.section-title
{
    display: flex; align-items: end; justify-content: space-between; gap: 40px; margin-bottom: 55px;
}
.section-title > p
{
    color: var(--muted); font-size: 16px;
}
.lesson
{
    display: grid; grid-template-columns: 1.1fr 1fr; gap: 70px; align-items: center; margin-bottom: 80px;
}
.lesson:last-child
{
    margin-bottom: 0;
}
.lesson.reverse figure
{
    order: 2;
}
.lesson figure img
{
    border-radius: 20px; width: 100%; aspect-ratio: 3 / 2; height: auto; object-fit: cover;
}
.kids-photo img
{
    object-position: 70% center;
}
.lesson .private-photo
{
    object-position: 30% center;
}
figcaption
{
    margin-top: 12px;
}
.lesson-copy > p:not(.eyebrow)
{
    margin-top: 22px;
}
.lesson-copy h3
{
    font-size: clamp(34px, 3.5vw, 48px);
}
.lesson-detail
{
    font-size: 16px; color: var(--muted);
}
.lesson-detail strong
{
    display: block; font-size: 26px; font-variant-numeric: tabular-nums; color: var(--ink); margin-top: 6px;
}
.lesson-copy ul
{
    list-style: none; padding: 0; margin: 22px 0; font-size: 16px;
}
.lesson-copy li::before
{
    content: "✓"; margin-right: 10px; color: var(--accent); font-weight: 700;
}
#levels
{
    padding-top: 0;
}
.level-panel
{
    background: var(--surface); border-radius: 20px; padding: 60px; display: grid; grid-template-columns: 1fr 1.3fr; gap: 30px 60px;
}
.level-panel > div:first-child > p:not(.eyebrow)
{
    margin-block: 25px;
}
.level
{
    display: flex; width: 100%; align-items: center; gap: 17px; padding: 22px 0; background: transparent; border: 0; border-bottom: 1px solid var(--line); text-align: left;
}
.level:first-child
{
    padding-top: 0;
}
.level > span:nth-child(2)
{
    flex: 1;
}
.level strong
{
    display: block; font-size: 22px; margin-bottom: 6px; line-height: 1.2;
}
.level span span
{
    display: block; font-size: 16px; line-height: 1.6;
}
.piste
{
    width: 34px; height: 34px; display: grid; place-items: center; flex-shrink: 0; border-radius: 50%; color: white; font-size: 14px; font-weight: 700;
}
.green { background: #17763f; }
.blue { background: #1f5fbf; }
.red { background: #c8202f; }
.black { background: #111; border-radius: 4px; }
.level-mark
{
    font-size: 25px; color: var(--accent);
}
.level[aria-pressed="true"]
{
    border-bottom: 3px solid var(--accent);
}
.level-status
{
    grid-column: 1 / -1; font-size: 16px; font-weight: 700; padding-top: 10px; color: var(--accent);
}
.people
{
    display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; margin-bottom: 26px;
}
.people svg
{
    width: 100%; border-radius: 20px; background: var(--surface); margin-bottom: 25px;
}
.people h3
{
    font-size: 29px;
}
.person-meta
{
    font-size: 16px; color: var(--muted); margin-block: 10px 18px;
}
blockquote
{
    font-size: 18px; min-height: 115px;
}
.people .text-button
{
    margin-top: 20px; font-size: 14px;
}
.day-section
{
    background: white;
}
.day-grid
{
    display: grid; grid-template-columns: 1fr 1fr; gap: 100px;
}
.day-grid img
{
    margin-top: 35px; width: 100%; aspect-ratio: 8 / 5; height: auto; object-fit: cover; border-radius: 20px;
}
.day-grid .small
{
    margin-top: 12px;
}
.timeline
{
    list-style: none; margin: 10px 0 0; padding: 0 0 0 30px; border-left: 1px solid var(--accent);
}
.timeline li
{
    position: relative; padding-bottom: 42px;
}
.timeline li:last-child
{
    padding-bottom: 0;
}
.timeline li::before
{
    content: ""; position: absolute; left: -39px; top: 11px; width: 17px; height: 17px; border: 2px solid var(--accent); border-radius: 50%; background: white; transition: background .6s;
}
.timeline.visible li::before
{
    background: var(--accent);
}
.timeline li:nth-child(2)::before { transition-delay: .15s; }
.timeline li:nth-child(3)::before { transition-delay: .3s; }
.timeline li:nth-child(4)::before { transition-delay: .45s; }
time
{
    display: block; font-size: 29px; font-weight: 700; margin-bottom: 8px; color: var(--accent); font-variant-numeric: tabular-nums;
}
.price-panel
{
    border-radius: 20px; background: var(--surface); padding: 60px;
}
.price-grid
{
    display: grid; grid-template-columns: 1.6fr 1fr; gap: 60px;
}
table
{
    width: 100%; border-collapse: collapse; align-self: start; font-size: 16px;
}
th, td
{
    text-align: left; padding: 20px 10px 20px 0; border-bottom: 1px solid var(--line); vertical-align: top;
}
thead
{
    font-size: 14px; color: var(--muted);
}
td:last-child
{
    font-weight: 700; font-size: 24px; font-variant-numeric: tabular-nums;
}
.price-grid aside h3
{
    font-size: 26px; margin-bottom: 20px;
}
.price-grid aside > p
{
    font-size: 16px;
}
.price-grid aside > .small
{
    font-size: 14px; margin-block: 18px;
}
.book-block
{
    padding: 100px 0; color: white; background: var(--accent);
}
.book-block h2
{
    font-size: clamp(44px, 6.7vw, 88px);
}
.book-block p:not(.eyebrow)
{
    max-width: 620px; margin-top: 28px;
}
.book-block .pill
{
    margin-top: 30px;
}
.book-block .small
{
    color: white;
}
footer
{
    padding-block: 70px 45px;
}
.footer-top
{
    display: flex; justify-content: space-between; gap: 40px; padding-bottom: 35px;
}
address
{
    font-size: 16px; font-style: normal;
}
.footer-links
{
    display: flex; gap: 25px; padding-block: 25px; border-top: 1px solid var(--line);
}
.footer-links button
{
    font-size: 14px; font-weight: 400;
}
.photo-credit
{
    margin-top: 20px;
}
dialog
{
    width: min(660px, calc(100% - 32px)); max-height: calc(100dvh - 40px); border: 0; border-radius: 20px; padding: 40px; color: var(--ink); background: var(--paper); overflow-y: auto;
}
dialog::backdrop
{
    background: rgba(14,42,59,.72);
}
dialog h2
{
    font-size: 40px; margin: 30px 0 20px;
}
dialog > p, #info-body
{
    font-size: 16px;
}
.close
{
    float: right; border: 0; border-radius: 999px; padding: 8px 14px; font-size: 14px; background: var(--surface);
}
dialog > .eyebrow
{
    padding-top: 10px;
}
form
{
    margin-top: 25px;
}
label
{
    display: block; font-size: 14px; font-weight: 700; margin-bottom: 18px;
}
input, select
{
    display: block; width: 100%; min-width: 0; margin-top: 7px; padding: 12px; border: 1px solid var(--muted); border-radius: 12px; background: white; font-size: 16px;
}
.form-pair
{
    display: grid; grid-template-columns: 1fr 1fr; gap: 18px;
}
#planner-hint
{
    margin-block: 14px 22px;
}
#planner-status
{
    font-size: 16px; font-weight: 700; margin-top: 22px;
}
#summary
{
    margin-top: 20px; border-radius: 16px; background: var(--surface); padding: 25px;
}
#summary h3
{
    font-size: 26px; margin-bottom: 15px;
}
#summary-copy
{
    font-size: 16px; white-space: pre-line; margin-bottom: 20px;
}
#summary .small, #summary .text-link
{
    display: block; margin-top: 18px;
}
[hidden]
{
    display: none !important;
}
.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;
}
@keyframes settle
{
    from { transform: scale(1.04); }
    to { transform: scale(1); }
}
@keyframes rise
{
    from { transform: translateY(24px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}
@media (min-width: 768px) and (prefers-reduced-motion: no-preference)
{
    .reveal { opacity: 0; transform: translateX(-32px); transition: opacity .7s, transform .7s; }
    .reverse.reveal { transform: translateX(32px); }
    .reveal.visible { opacity: 1; transform: none; }
}
@media (max-width: 1100px)
{
    header { padding-inline: 30px; gap: 15px; }
    nav { gap: 15px; font-size: 14px; }
    .logo span { display: none; }
    .hero-bottom { align-items: start; }
    .actions { flex-direction: column; align-items: start; gap: 18px; }
    .lesson { gap: 40px; }
    .level-panel, .price-panel { padding: 40px; }
    .level-panel { gap: 30px; }
    .price-grid { grid-template-columns: 1.5fr 1fr; gap: 30px; }
    .day-grid { gap: 55px; }
}
@media (max-width: 767px)
{
    html { scroll-padding-top: 90px; }
    body { font-size: 18px; }
    .wrap { width: calc(100% - 40px); }
    .section { padding-block: 65px; }
    header { padding: 18px 20px; min-height: 80px; }
    .logo { font-size: 29px; }
    .nav-book { display: none; }
    #menu-button { display: block; border: 0; border-radius: 999px; background: white; color: var(--ink); padding: 9px 18px; font-size: 16px; z-index: 7; }
    header.menu-active { color: var(--ink); background: var(--surface); }
    nav { display: none; }
    nav.open { position: fixed; inset: 80px 0 0; background: var(--surface); display: flex; flex-direction: column; gap: 16px; padding: 32px 25px 100px; overflow-y: auto; font-size: 32px; font-weight: 700; color: var(--ink); }
    .hero { min-height: 760px; }
    .hero-photo { object-position: 52% center; }
    .hero-copy { margin-top: 285px; padding: 27px 0 38px; }
    h1 { font-size: 56px; line-height: .95; }
    .hero-bottom { display: block; margin-top: 22px; }
    .hero-bottom p { font-size: 16px; }
    .actions { margin-top: 25px; flex-direction: column; align-items: stretch; gap: 18px; }
    .actions a { text-align: center; }
    .promise { grid-template-columns: 1fr; gap: 32px; padding-block: 50px 0; }
    .promise > div { display: grid; grid-template-columns: 110px 1fr; gap: 20px; align-items: start; }
    .promise h2 { font-size: 38px; padding-top: 4px; }
    .promise p { font-size: 16px; }
    .promise .concept-note { font-size: 14px; }
    .section-title { display: block; margin-bottom: 35px; }
    .section-title > p { margin-top: 25px; }
    .lesson { grid-template-columns: 1fr; gap: 26px; margin-bottom: 60px; }
    .lesson.reverse figure { order: 0; }
    .lesson-copy h3 { font-size: 36px; }
    .lesson-copy .eyebrow { margin-bottom: 16px; }
    .lesson-copy .pill { width: 100%; }
    .level-panel { display: block; padding: 28px 22px; }
    .level { gap: 12px; padding-block: 22px; }
    .level:first-child { padding-top: 22px; }
    .level strong { font-size: 21px; }
    .level span span { font-size: 14px; }
    .level-mark { font-size: 22px; }
    .level-status { margin-top: 25px; }
    .people { grid-template-columns: 1fr; gap: 45px; }
    .people svg { max-height: 420px; }
    blockquote { min-height: 0; }
    .people h3 { font-size: 30px; }
    .day-grid { grid-template-columns: 1fr; gap: 45px; }
    .timeline { margin-left: 10px; }
    .price-panel { padding: 30px 22px; }
    .price-grid { grid-template-columns: 1fr; gap: 35px; }
    thead { display: none; }
    table, tbody, tr, th, td { display: block; width: 100%; }
    tr { position: relative; padding: 17px 65px 17px 0; border-bottom: 1px solid var(--line); }
    th, td { padding: 0; border: 0; }
    td:last-child { position: absolute; right: 0; top: 19px; width: auto; }
    td:nth-child(2) { font-size: 14px; color: var(--muted); margin-top: 5px; }
    .book-block { padding-block: 70px; }
    .book-block h2 { font-size: 48px; }
    .footer-top { display: block; }
    address { margin-top: 30px; }
    .footer-links { flex-wrap: wrap; gap: 20px; }
    footer { padding-block: 50px calc(110px + env(safe-area-inset-bottom)); }
    .floating-book { display: flex; position: fixed; bottom: calc(15px + env(safe-area-inset-bottom)); left: 50%; transform: translateX(-50%); z-index: 4; background: white; color: var(--ink); border: 2px solid var(--ink); min-width: 180px; }
    dialog { padding: 25px 22px; max-height: calc(100dvh - 26px); }
    dialog h2 { font-size: 34px; clear: both; padding-top: 15px; }
    .form-pair { gap: 12px; }
    #summary { padding: 20px; }
}
@media (prefers-reduced-motion: reduce)
{
    html { scroll-behavior: auto; }
    *, *::before, *::after { animation: none !important; transition: none !important; }
}
