/* Interior layouts extend the home page's colors, spacing and typography. */
.visually-hidden{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
.breadcrumbs{display:flex;align-items:center;flex-wrap:wrap;gap:8px 12px;padding:12px var(--space);font-size:13px;color:var(--muted)}
.breadcrumbs a{padding:6px 0;text-decoration:underline;text-underline-offset:3px}
.breadcrumbs a::after{content:' /';display:inline-block;margin-left:12px;text-decoration:none}
.page-hero{padding-top:clamp(44px,6vw,100px);padding-bottom:clamp(48px,7vw,110px)}
.page-hero-photo{display:grid;grid-template-columns:minmax(0,1.12fr) minmax(0,.88fr);gap:clamp(25px,5vw,90px);align-items:start}
.page-kicker{font-size:14px;color:var(--muted);margin-bottom:17px}
.page-hero h1{font-size:clamp(58px,8vw,116px);line-height:.91;overflow-wrap:break-word}
.page-hero-photo h1{font-size:clamp(52px,6.6vw,102px)}
.page-hero .page-prose,.page-lead{margin-top:26px}
.page-hero address{font-style:normal}
.page-hero>img{width:100%;height:auto;max-height:570px;aspect-ratio:5/4;object-fit:cover;object-position:center 40%;background:var(--quiet)}
.page-hero .text-link,.page-hero .button,.inner-section>.button{margin:18px 22px 0 0}
.page-lead{font-size:clamp(18px,2vw,23px);line-height:1.4}
.inner-section{padding-top:clamp(45px,6vw,90px);padding-bottom:clamp(45px,6vw,90px)}
.inner-section>h2{margin-bottom:30px;overflow-wrap:break-word}
.inner-section .page-prose+.page-prose{margin-top:12px}
.page-prose{overflow-wrap:anywhere}
.page-prose p+p{margin-top:1em}
.page-prose a{text-decoration:underline;text-underline-offset:3px}
.page-prose strong{font-weight:650}
.inner-tinted{background:var(--quiet)}
.inner-dark{background:var(--ink);color:var(--paper)}
.page-invitation .button{flex:none;background:var(--ink);color:var(--paper)}
.page-split{display:grid;grid-template-columns:1fr 1fr;gap:40px 7%}
.page-split h3{margin-bottom:18px}
.page-split details{max-width:560px;padding:13px 18px;margin-top:18px;background:var(--quiet)}
.page-gallery{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px;align-items:start}
.page-gallery img,.page-gallery video{display:block;width:100%;height:auto;aspect-ratio:4/3;object-fit:cover;background:var(--quiet)}
.page-gallery video{object-fit:contain;background:var(--ink)}
.page-gallery a{display:block}
.page-gallery .text-link{display:flex;gap:8px;overflow-wrap:anywhere}
.about-link{gap:8px;text-decoration:none}
.video-links{grid-template-columns:repeat(auto-fit,minmax(min(100%,145px),240px));gap:clamp(12px,2vw,24px)}
.video-links button{padding:0;position:relative;display:grid;place-items:center;aspect-ratio:9/16;background:var(--ink)}
.video-links img{width:100%;height:100%;aspect-ratio:9/16;object-fit:cover}
.video-play{position:absolute;display:grid;place-items:center;width:44px;height:44px;border-radius:50%;background:var(--paper);color:var(--ink)}
.inner-teachers article:nth-child(n){padding-top:0}
.inner-teachers .teacher-photo img{height:auto;aspect-ratio:4/5}
.inner-teachers .page-prose p{max-width:64ch}
.inner-teachers article>.text-link{margin-top:12px}
.inner-page .prices{padding-top:20px}
.plan-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px}
.plan-grid+.page-prose{margin-top:28px}
.plan-card{background:var(--paper);display:flex;flex-direction:column;gap:13px;padding:24px;min-width:0}
.plan-card h3{font-size:clamp(34px,4vw,58px)}
.plan-card label,.schedule-filters label{display:grid;gap:7px;font-size:14px}
.plan-card select,.schedule-filters select{background:var(--white);border:0;border-radius:0;min-height:49px;padding:8px 12px;width:100%}
.plan-card output,.plan-rate{font:600 clamp(42px,5vw,64px)/1 var(--display)}
.plan-card details{border-top:1px solid var(--quiet);padding-top:10px}
.plan-card summary{min-height:44px;padding-top:8px}
.plan-card table{width:100%;text-align:left;font-size:15px}
.plan-card :is(th,td){padding:6px 3px;border-bottom:1px solid var(--quiet)}
.plan-card td{text-align:right}
.plan-card>.text-link{margin-top:auto}
.rent-prices{grid-template-columns:repeat(2,minmax(0,1fr))}
.page-questions{max-width:860px}
.page-questions .page-prose{padding-bottom:23px}
.page-questions .page-prose p{padding-bottom:0}
.legal-copy{padding-top:12px}
.legal-copy h2{max-width:860px;font-size:clamp(34px,5vw,62px)}
.legal-copy .page-prose{max-width:860px}
.legal-copy .page-prose p{max-width:none}
.crm-frame{display:block;width:100%;border:0;min-height:600px;background:var(--white)}
.widget-fallback{margin-bottom:12px}
.schedule-filters{display:grid;grid-template-columns:minmax(0,1.5fr) minmax(0,1fr) auto;gap:16px;align-items:end;margin-bottom:24px}
.schedule-filters .button{min-height:49px}
.schedule-list{display:grid;gap:8px;list-style:none;padding:0}
.schedule-list li{background:var(--paper);display:grid;grid-template-columns:minmax(150px,1fr) minmax(0,2fr);gap:8px 25px;padding:17px 20px}
.schedule-list span{display:block}
.schedule-list small{color:var(--muted)}
.schedule-list b{font-size:20px}
.schedule-state{margin:14px 0}
.catalog-pages{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px 24px}
.catalog-pages a{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:2px 12px;padding:18px 22px;background:var(--paper);align-items:center}
.catalog-pages a>span:first-child{font:550 35px/.98 var(--display);overflow-wrap:break-word}
.catalog-pages a>span:last-child{grid-column:2;grid-row:1/3;font-size:24px}
.catalog-pages small{grid-column:1;color:var(--muted)}
.catalog-more .catalog-pages a{background:var(--quiet)}
#page-gallery-viewer{width:min(calc(100% - 32px),1120px);max-width:none;padding:40px 18px 18px}
#page-gallery-viewer img{margin:auto;max-height:calc(100dvh - 108px);object-fit:contain}
.inner-page .footer-bottom{flex-wrap:wrap}
.inner-page [aria-current=page]{text-decoration:underline;text-underline-offset:4px}
@media(hover:hover) and (pointer:fine){.catalog-pages a:hover{background:var(--white)}}
@media(max-width:1000px){.inner-page .header nav{gap:14px}.plan-card{padding:18px}}
@media(max-width:850px){
 .page-hero-photo{gap:25px}.page-gallery{grid-template-columns:repeat(2,minmax(0,1fr))}
 .plan-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
 .inner-page .header nav,.inner-page .header .account{display:none}
 .inner-page .menu-toggle{display:flex;align-items:center;gap:10px;margin-left:auto;padding:10px 0;background:transparent;font-size:14px;min-height:44px}
 .inner-page .menu-toggle span{font-size:25px;line-height:1}
}
@media(max-width:600px){
 .page-hero-photo,.page-split,.plan-grid,.catalog-pages{grid-template-columns:1fr}
 .page-hero h1,.page-hero-photo h1{font-size:clamp(46px,12vw,70px)}
 .page-hero>img{aspect-ratio:4/3}
 .page-gallery{gap:12px}
 .page-invitation{align-items:flex-start}
 .schedule-filters{grid-template-columns:1fr}
 .schedule-filters .button{justify-self:start}
 .schedule-list li{grid-template-columns:1fr;padding:14px}
}

@media(max-width:360px){.inner-page .menu-toggle{font-size:0;gap:0;min-width:36px;justify-content:center}}

.lesson-prices{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:clamp(14px,2vw,28px)}
.lesson-prices article{display:flex;flex-direction:column;justify-content:space-between;gap:20px;padding:clamp(22px,3vw,44px);background:var(--quiet)}
.lesson-prices .lesson-trial{background:var(--yellow)}
.lesson-prices h3{font-size:clamp(32px,4vw,54px);text-wrap:balance}
.lesson-prices .price{font:650 clamp(60px,8vw,108px)/.95 var(--display);margin:20px 0 14px}
.lesson-prices .price span{font-size:.6em}
.lesson-prices .text-link{align-self:flex-start;gap:8px;text-decoration:none}
@media(max-width:600px){.lesson-prices{grid-template-columns:1fr}}

.schedule-help{display:flex;flex-wrap:wrap;gap:12px 32px;margin-bottom:24px}
.schedule-help .text-link{gap:8px;text-decoration:none}
#school-video{width:min(calc(100% - 24px),420px);max-width:none;padding:40px 16px 14px}
#school-video iframe{display:block;margin:auto;width:100%;height:min(65dvh,660px);border:0;background:var(--ink)}

.crm-frame[data-crm="1"]{border-radius:12px}
.kids-direction .page-hero{align-items:center}
.kids-direction .page-prose{max-width:54ch}
.kids-direction .page-prose p{line-height:1.6}
.kids-actions{display:flex;align-items:center;flex-wrap:wrap;gap:14px 24px;margin-top:24px}
.kids-actions .button,.kids-actions .text-link{margin:0}
.kids-hero-video{display:block;width:min(100%,320px);height:auto;aspect-ratio:9/16;justify-self:center;background:var(--ink);border-radius:12px}
.kids-direction .inner-teachers{row-gap:36px}
#kids-direction-timetable{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,250px),1fr));gap:16px;margin-bottom:20px}
#kids-direction-timetable article{padding:24px;background:var(--paper)}
#kids-direction-timetable h3{margin-bottom:14px}
#kids-direction-timetable ul{list-style:none;padding:0;margin:0}
#kids-direction-timetable li{display:flex;flex-wrap:wrap;justify-content:space-between;gap:6px 12px;padding:8px 0;font-variant-numeric:tabular-nums}
@media(max-width:600px){.kids-direction .page-hero{gap:32px}.kids-hero-video{justify-self:start}}
.kids-direction .page-hero .page-kicker{margin-bottom:clamp(18px,2vw,32px)}
.kids-direction .page-hero .page-prose{margin-top:clamp(26px,3vw,48px)}
.kids-direction .page-prose p+p{margin-top:clamp(20px,2vw,32px)}
.kids-direction .kids-actions{margin-top:clamp(28px,3vw,48px)}
.kids-hero-video{pointer-events:none}

@media(min-width:900px){#kids-direction-timetable{width:min(50%,640px)}}
#kids-schedule>.text-link{gap:8px}

/* Use the same soft corners throughout the inner pages. */
.plan-card,.lesson-prices article,.schedule-list li,.catalog-pages a,
.page-split details,#kids-direction-timetable article{border-radius:var(--radius-card)}
.plan-card select,.schedule-filters select{border-radius:var(--radius-control)}
.page-hero>img,.page-gallery img,.page-gallery video,.kids-hero-video,
.crm-frame,.crm-frame[data-crm="1"],#school-video iframe{border-radius:var(--radius-media)}
.video-links button{border-radius:var(--radius-media);overflow:hidden}
.video-play{border-radius:50%}

/* Schedule follows the introduction without a redundant section heading. */
.schedule-booking{margin-top:clamp(28px,3vw,44px)}
.page-hero .schedule-help .text-link{margin:0;min-height:44px;display:inline-flex;align-items:center;gap:8px}

/* Match the personal account widget outline on the schedule page. */
.crm-frame[data-crm="1"]{box-sizing:border-box;border:1px solid #d9ded8;border-radius:12px}
