:root {
  color-scheme:light;
  --paper:#fcfbf8;
  --ink:#252a23;
  --muted:#575b4f;
  --forest:#254a38;
  --line:#dedfd6;
  --surface:#fffefa;
  --body:"Inter","Segoe UI",Arial,sans-serif;
  font:100%/1.55 var(--body);
  color:var(--ink);background:var(--paper);scroll-behavior:smooth;
}
*{box-sizing:border-box}
body{margin:0}
a{color:inherit;text-decoration:none}
button,input,textarea,select{font:inherit}
button,summary{cursor:pointer}
a,button,summary{touch-action:manipulation}
:focus-visible{outline:3px solid #397051;outline-offset:4px}
img{display:block;max-width:100%}
.shell{width:min(1240px,calc(100% - clamp(48px,10.3vw,164px)));margin-inline:auto}
.icon{display:inline-block;vertical-align:middle;flex:none}
.site-head{border-bottom:1px solid var(--line);background:var(--paper);position:relative;z-index:5}
.head-inner,.head-end,.desktop-nav,.head-phone,.login,.foot,.btn,.row,.hero-actions,.place,.section-title,.section-note,.program-top,.district,.branch-acts,.text-link{display:flex;align-items:center}
.head-inner{min-height:81px;gap:clamp(16px,3.1vw,50px)}
.brand{display:inline-block;flex:none;width:165px}
.brand img{width:100%;height:auto}
.desktop-nav{gap:clamp(14px,2vw,34px);margin:auto}
.desktop-nav a,.head-phone,.login{font-size:.91rem;font-weight:570;white-space:nowrap}
.desktop-nav a:hover,.head-phone:hover,.plain-link:hover,.foot a:hover{color:var(--forest)}
.head-end{gap:clamp(12px,1.9vw,30px)}
.head-phone,.login{gap:8px}
.head-phone{font-variant-numeric:tabular-nums}
.login{border:1px solid #d4ded1;border-radius:9px;padding:10px 14px;color:#204331}
.login:hover{background:#edf2ea;border-color:#b1bfae}
.mobile-menu{display:none;position:relative}
.skip{position:fixed;z-index:30;left:12px;top:-100px;background:white;color:var(--forest);padding:10px}
.skip:focus{top:12px}
.hero{display:grid;grid-template-columns:1fr 1.07fr;align-items:center;gap:clamp(30px,5vw,75px);padding-block:clamp(44px,4.2vw,69px) clamp(55px,5.25vw,85px)}
.place{display:inline-flex;gap:6px;color:#2d5941;background:#e7eee5;padding:4px 11px 5px;border-radius:999px;font-size:.84rem;font-weight:600;margin-bottom:19px}
h1,h2,h3,p{margin:0}
.hero h1{font-size:clamp(3.15rem,5.45vw,5.55rem);line-height:.989;font-weight:650;letter-spacing:-.062em}
.hero h1 em{color:var(--forest);font:italic 1.075em/.97 Georgia,"Times New Roman",serif;letter-spacing:-.06em;margin-left:-.01em}
.hero-copy>p{max-width:30rem;font-size:clamp(1rem,1.29vw,1.16rem);line-height:1.55;color:var(--muted);margin:22px 0 26px}
.hero-actions,.row,.branch-acts{gap:12px;flex-wrap:wrap}
.btn{width:fit-content;display:inline-flex;justify-content:center;gap:9px;border:1px solid var(--forest);background:var(--forest);color:white;border-radius:9px;min-height:48px;padding:10px 19px;font-weight:620;font-size:.95rem;line-height:1.3;text-align:center;cursor:pointer;transition:background .15s,border-color .15s,transform .15s}
.btn:hover{background:#173a2a;border-color:#173a2a}
.btn:active{transform:translateY(1px)}
.btn.secondary{color:var(--ink);background:transparent;border-color:#cfd8cd}
.btn.secondary:hover{background:#edf1e9;border-color:#b5c1b3}
.hero-art{aspect-ratio:1.265;min-width:0;overflow:hidden;border-radius:26px;background:#e6ebe3}
.hero-art img{width:100%;height:100%;object-fit:cover}
h2{font-size:clamp(2rem,3.25vw,3.1rem);font-weight:630;letter-spacing:-.055em;line-height:1.1}
h3{font-size:1.45rem;font-weight:650;letter-spacing:-.035em;line-height:1.2}
.programs,.locations{padding:clamp(46px,5vw,76px) 0;background:#f1f0eb;border-block:1px solid #e4e1dc}
.section-title{justify-content:space-between;gap:24px;align-items:baseline;margin-bottom:28px}
.section-note{gap:6px;color:var(--muted);font-size:.91rem}
.program-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:18px}
.program{position:relative;display:flex;flex-direction:column;padding:clamp(20px,2.1vw,31px);border-radius:16px;border:1px solid var(--outline);background:var(--card)}
.blue{--card:#e5eee5;--outline:#cad9cc;--mark:#305541;--tile:#d0e0d3}
.lilac{--card:#eee4d9;--outline:#ddcebf;--mark:#694b35;--tile:#e4d3c0}
.butter{--card:#f3ead7;--outline:#e8dfb9;--mark:#6b5035;--tile:#ead9bb}
.mint{--card:#e1ede4;--outline:#d0ded5;--mark:#3f6a58;--tile:#cbded0}
.program-top{justify-content:space-between;gap:12px;margin-bottom:24px}
.math-mark,.resource-icon{display:grid;place-items:center;flex:none;width:55px;height:55px;background:var(--tile);color:var(--mark);border-radius:13px}
.math-mark{font:italic 1.85rem/1 Georgia,serif;letter-spacing:-.08em}
.mint .math-mark{font-style:normal;font-size:2.1rem}
.class-label{font-size:.84rem;font-weight:580;color:var(--mark)}
.program p{margin:12px 0 22px;color:#4b464b;line-height:1.5}
.program-link{display:flex;align-items:center;justify-content:space-between;gap:12px;border-top:1px solid var(--outline);padding-top:13px;margin-top:auto;color:var(--mark);font-weight:600;font-size:.9rem}
.program-link span{font-size:1.24rem;font-weight:400}
.program-link:hover{text-decoration:underline}
.about{display:grid;grid-template-columns:.85fr 1fr;gap:clamp(32px,8vw,140px);padding-block:clamp(58px,7vw,105px)}
.kicker{font-size:.82rem;font-weight:680;color:var(--forest);letter-spacing:.065em;text-transform:uppercase;margin:0 0 14px}
.about h2{font-size:clamp(2.4rem,4.5vw,4.3rem);line-height:1.02}
.about-copy p{font-size:1.08rem;line-height:1.62;color:var(--muted);margin-bottom:16px}
.about-copy p:first-child{color:var(--ink);font-size:1.19rem}
.text-link,.plain-link{color:var(--forest);font-weight:620}
.text-link{gap:8px;width:fit-content;margin-top:22px}
.text-link:hover,.plain-link:hover{text-decoration:underline}
.locations{background:#edf1e9;border-color:#dbe2d6}
.branch-grid,.tiles{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px}
.branch-card{background:#fffefa;border:1px solid #d8ded3;border-radius:16px;padding:clamp(23px,2.6vw,38px)}
.district{color:var(--forest);gap:6px;font-size:.9rem;margin-bottom:15px}
.branch-card h3{font-size:clamp(1.52rem,2.15vw,2rem)}
.entry{margin:8px 0 12px}
.address-extra{font-size:.94rem;color:var(--muted)}
.branch-acts{border-top:1px solid var(--line);margin-top:20px;padding-top:18px;gap:18px}
.btn.small{min-height:41px;font-size:.87rem;padding:8px 13px}
.plain-link{font-size:.89rem}
.resource{padding-block:clamp(42px,5.5vw,80px);display:flex;align-items:center;gap:24px}
.resource-icon{background:#e2ebe0;color:var(--forest)}
.resource h2{font-size:clamp(1.45rem,2.25vw,2.15rem)}
.resource p,.empty-library p{margin:7px 0 0;color:var(--muted)}
.resource>.btn{margin-left:auto;flex:none}
footer{border-top:1px solid var(--line)}
.foot{gap:22px;min-height:103px;padding-block:15px;font-size:.88rem;color:var(--muted)}
.foot .brand{width:117px}
.foot>a:last-child{margin-left:auto;color:var(--ink);white-space:nowrap}
.subpage{min-height:68vh;padding:clamp(30px,4.6vw,75px) 0 clamp(55px,6.2vw,96px)}
.subpage>.shell{max-width:950px}
.subpage h1{font-size:clamp(2.35rem,4.55vw,4.1rem);font-weight:650;letter-spacing:-.055em;line-height:1.05;overflow-wrap:anywhere;margin:0 0 20px}
.subpage h2{font-size:clamp(1.35rem,2.2vw,2rem);margin:0 0 12px}
.subpage h3{margin:0 0 9px;font-size:1.2rem}
.back{display:block;width:fit-content;color:var(--muted);font-size:.9rem;text-decoration:underline;text-underline-offset:3px;margin-bottom:27px}
.lead{font-size:1.13rem;color:var(--muted);max-width:51rem;margin-bottom:25px}
.panel,.notice{padding:clamp(19px,2.4vw,33px);background:var(--surface);border:1px solid var(--line);border-radius:16px;margin:16px 0;overflow-wrap:anywhere}
.panel>p,.stack>p{margin:7px 0 13px}
.empty-library{display:flex;gap:20px;align-items:center}
.empty-library h2{margin:0}
.stack{display:grid;gap:16px}
.stack>.panel{margin:0}
.form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}
.form-grid>.full,.field.full{grid-column:1/-1}
.field{display:grid;align-content:start;gap:6px;min-width:0;font-weight:600}
label{font-size:.96rem}
input:not([type=checkbox]):not([type=hidden]),select,textarea{max-width:100%;width:100%;padding:10px 12px;border:1px solid #b7beb2;border-radius:7px;min-height:45px;color:var(--ink);background:white;font-weight:400}
input[type=checkbox]{width:17px;height:17px;accent-color:var(--forest);vertical-align:middle}
textarea{resize:vertical}
.notice{background:#edf2eb;border-color:#d4e0d2}
.muted,small{color:var(--muted)}
.badge{display:inline-block;background:#e2ebe0;color:#254a38;padding:3px 9px;border-radius:999px;font-size:.83rem;font-weight:600}
.panel a:not(.btn),.notice a:not(.btn),.subpage p a:not(.btn),.subpage li a:not(.btn){color:var(--forest);text-decoration:underline;text-underline-offset:3px}
.subpage details>summary{color:var(--forest);font-weight:600}
.subpage pre,.subpage code{white-space:pre-wrap;overflow-wrap:anywhere}
.subpage table{width:100%;border-collapse:collapse}
.teacher-card{margin:0}
.teacher-head{display:flex;gap:18px;align-items:center}
.teacher-head p,.teacher-card>.muted{color:var(--muted)}
.teacher-photo{object-fit:cover;border-radius:12px}
.slot-list{list-style:none;padding:0;margin:16px 0 0}
.slot-line{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:15px 0;border-top:1px solid var(--line)}
.slot-line p{margin:3px 0}
.slot-line .btn{white-space:nowrap}
.slot-line time{font-weight:650}
.check{display:flex;gap:9px;align-items:baseline;font-size:.92rem}
.check input{flex:none}
@media(max-width:580px){.slot-line{align-items:flex-start;flex-direction:column;gap:9px}}
.subpage td,.subpage th{text-align:left;vertical-align:top;border-bottom:1px solid var(--line);padding:10px}
@media(max-width:1130px){.program-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.head-phone span{display:none}.head-phone{width:36px;height:40px;justify-content:center}.head-end{gap:12px}.desktop-nav{gap:24px}.hero{gap:32px}.hero-actions{gap:9px}.hero-actions .btn{padding-inline:14px}.section-note{font-size:.86rem}}
@media(max-width:850px){.shell{width:calc(100% - 48px)}.head-inner{min-height:70px}.brand{width:131px}.head-end{margin-left:auto}.desktop-nav{display:none}.head-phone span{display:inline}.head-phone{width:auto}.mobile-menu{display:block}.mobile-menu summary{list-style:none;display:grid;place-items:center;padding:8px;border-radius:7px}.mobile-menu summary::-webkit-details-marker{display:none}.mobile-menu nav{position:absolute;right:0;top:49px;background:var(--surface);border:1px solid var(--line);min-width:210px;padding:7px;border-radius:12px;box-shadow:0 8px 22px #24332818}.mobile-menu nav a{display:block;padding:10px 14px;border-radius:5px}.mobile-menu nav a:hover{background:#edf2eb}.hero{grid-template-columns:1.02fr 1fr;gap:24px}.hero h1{font-size:clamp(2.9rem,6.25vw,3.7rem)}.hero-copy>p{margin:16px 0 20px}.hero-art{aspect-ratio:.99}.hero-actions .btn{min-height:43px;font-size:.85rem}.program-grid{gap:12px}.section-note{display:none}.program{padding:20px 17px}.program h3{font-size:1.23rem}.program-top{margin-bottom:20px}.math-mark{width:43px;height:43px;border-radius:10px;font-size:1.48rem}.class-label{font-size:.78rem}.about{grid-template-columns:.8fr 1fr;gap:30px}.resource{gap:15px}}
@media(max-width:650px){.shell{width:calc(100% - 36px)}.head-inner{min-height:65px;gap:7px}.brand{width:120px}.head-end{gap:7px}.head-phone span{display:none}.head-phone{width:28px}.login{padding:8px 10px;font-size:.81rem;gap:5px}.mobile-menu summary{padding:5px}.hero{grid-template-columns:1fr;padding:29px 0 34px;gap:26px}.place{margin-bottom:13px}.hero h1{font-size:clamp(3.05rem,10.8vw,4.2rem);line-height:.96}.hero-copy>p{max-width:32rem;font-size:1rem}.hero-actions .btn{min-height:45px;font-size:.9rem}.hero-art{aspect-ratio:1.45;border-radius:18px}.hero-art img{object-position:center 56%}.programs,.locations{padding:36px 0}.section-title{margin-bottom:20px}.program-grid,.branch-grid,.tiles{grid-template-columns:1fr}.program{padding:22px}.program-top{margin-bottom:15px}.program h3{font-size:1.5rem}.program p{margin:9px 0 16px}.program-grid{gap:14px}.about{grid-template-columns:1fr;gap:22px;padding-block:43px}.about h2 br{display:none}.about-copy p{font-size:1rem}.about-copy p:first-child{font-size:1.1rem}.resource{display:grid;grid-template-columns:auto 1fr;gap:15px}.resource>.btn{grid-column:2;margin-left:0}.foot{flex-wrap:wrap;gap:12px}.foot .brand{display:none}.foot>a:last-child{margin-left:auto}.form-grid{grid-template-columns:1fr}.empty-library{align-items:start;flex-direction:column}.subpage table{display:block;overflow-x:auto}.subpage .row{align-items:flex-start}.hero-actions{gap:8px}}
@media(max-width:360px){.shell{width:calc(100% - 26px)}.head-phone{display:none}.hero-actions .btn{padding-inline:11px;font-size:.83rem}.foot>a:last-child{margin-left:0}}
@media(prefers-reduced-motion:reduce){:root{scroll-behavior:auto}*,*::before,*::after{transition:none!important;animation:none!important}}

.center-section{padding-block:clamp(36px,5vw,72px);border-top:1px solid var(--line)}
.center-section h2{font-size:clamp(1.85rem,3.8vw,3rem);line-height:1.1;margin:0 0 1.4rem}
.lesson-details,.center-gallery,.center-reviews{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:clamp(16px,3vw,36px)}
.lesson-details article{padding:clamp(18px,3vw,32px);border-radius:16px;background:#edf2ec}
.lesson-details article+article{background:#f3ebe1}
.lesson-details h3{margin:0 0 .7em;font-size:1.35rem}.lesson-details p{margin:0 0 1rem}
.lesson-details p,.center-reviews blockquote,.center-gallery figcaption{overflow-wrap:anywhere}
.contact-links{display:flex;gap:14px 28px;flex-wrap:wrap;margin-top:22px}.contact-links a{text-decoration:underline;text-underline-offset:4px;overflow-wrap:anywhere}
.center-gallery figure,.center-reviews figure{margin:0}.center-gallery img{width:100%;height:auto;max-height:460px;object-fit:contain;border-radius:14px}.center-gallery figcaption,.center-reviews figcaption{margin-top:.65rem}
.center-reviews blockquote{margin:0;font-size:1.12rem}
@media(max-width:650px){.lesson-details,.center-gallery,.center-reviews{grid-template-columns:1fr}.contact-links{flex-direction:column;align-items:flex-start}}
@media (max-width:650px) {
  :root { scrollbar-width:none }
  :root::-webkit-scrollbar { display:none }
  .shell { width:auto; margin-inline:18px }
  .branch-grid,.program-grid,.lesson-details { grid-template-columns:minmax(0,1fr) }
  .branch-card { min-width:0 }
}
.contact-links .contact-card{display:inline-flex;align-items:center;gap:12px;max-width:100%;padding:10px 18px 10px 12px;background:#fffefa;color:var(--ink);border:1px solid #c9d5c9;border-radius:12px;text-decoration:none}
.contact-card-icon{display:grid;place-items:center;flex:none;width:36px;height:36px;border-radius:50%;background:#edf2eb;color:var(--forest)}
.contact-card-label{display:block;font-size:.875rem;color:var(--muted)}
.contact-card strong{font-size:1.0625rem}
.contact-links .contact-card:hover{border-color:var(--forest);background:#f5f8f3}
@media(max-width:650px){.contact-links .contact-card{align-self:stretch}}

.price-intro {max-width:62ch;margin:1rem 0 1.5rem;color:var(--muted)}
.price-card h4 {margin:1.5rem 0 .4rem;color:#654a37;font-size:1rem}
.price-card .price-role {margin:0 0 .4rem;color:var(--forest);font-weight:650}
.price-rows {margin:0}
.price-rows div {display:flex;justify-content:space-between;gap:12px;border-bottom:1px solid #c0c8ba;padding:8px 0}
.price-rows dd {margin:0;font-weight:650;white-space:nowrap}
.teacher-profile img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 4;
  object-fit: contain;
  background: var(--surface);
  border-radius: 10px;
  margin-bottom: 18px;
}
.teacher-profile img[src="/assets/alexandra-shemet.jpg"] {
  width: 88.8889%;
  aspect-ratio: auto;
  margin-inline: auto;
}
.teacher-directory,.teacher-links {margin-top:24px}
.center-gallery img {aspect-ratio:4/3;object-fit:cover;object-position:center}

.team {
  padding-bottom: clamp(43px, 7vw, 96px);
}
.team-photos {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(14px, 3vw, 32px);
  margin-bottom: 22px;
}
.team-photos img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 5 / 4;
  object-fit: cover;
  object-position: center 38%;
  border-radius: 16px;
}
.team-video {
  display: grid;
  justify-items: center;
  gap: 20px;
}
.team-video video {
  display: block;
  width: min(100%, 300px);
  height: auto;
  aspect-ratio: 9 / 16;
  background: var(--ink);
  border-radius: 16px;
}
@media (max-width: 650px) {
  .team-photos {
    grid-template-columns: minmax(0, 1fr);
  }
}

.teacher-preference:has(select):not(:has(option[value="other"]:checked)) .teacher-preference-other {
  display: none;
}
