@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Manrope:wght@400;500;600;700;800&display=swap');

:root {
  color-scheme: dark;
  --ink: #f8f2ff;
  --muted: #c2b5d1;
  --dim: #9384a5;
  --night: #12091e;
  --plum: #1b102a;
  --plum-soft: #211432;
  --stroke: rgba(209, 187, 235, 0.14);
  --violet: #a264ff;
  --violet-bright: #be88ff;
  --violet-deep: #7b3ee2;
  --max-width: 1180px;
  font-family: 'DM Sans', 'Avenir Next', Avenir, sans-serif;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 94px; }
body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(ellipse at 84% 3%, rgba(95, 45, 147, 0.14), transparent 34rem),
    var(--night);
  font-size: 16px;
  line-height: 1.65;
}
img { display: block; width: 100%; }
a { color: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
a:focus-visible, button:focus-visible { outline: 3px solid var(--violet-bright); outline-offset: 4px; }
::selection { color: #160b21; background: #cba4ff; }

.skip-link {
  position: absolute; z-index: 20; top: 10px; left: 10px;
  padding: 10px 14px; border-radius: 10px; color: #170c24; background: var(--violet-bright);
  transform: translateY(-160%);
}
.skip-link:focus { transform: translateY(0); }
.section-wrap { width: min(calc(100% - 56px), var(--max-width)); margin-inline: auto; }

.site-header {
  position: sticky; top: 0; z-index: 10;
  border-bottom: 1px solid var(--stroke);
  background: rgba(18, 9, 30, 0.9);
  backdrop-filter: blur(18px);
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between; gap: 28px;
  width: min(calc(100% - 56px), 1320px); min-height: 82px; margin-inline: auto;
}
.brand { display: flex; align-items: center; flex: 0 0 auto; width: 175px; }
.brand img { height: auto; object-fit: contain; }
.site-nav { display: flex; align-items: center; gap: clamp(20px, 3vw, 42px); }
.site-nav > a:not(.nav-cta), .footer-bottom nav a {
  color: var(--muted); text-decoration: none; font-size: 14px; font-weight: 600; transition: color .2s ease;
}
.site-nav > a:not(.nav-cta):hover, .footer-bottom nav a:hover { color: #fff; }
.nav-cta {
  display: inline-flex; align-items: center; gap: 13px; padding: 12px 18px; border: 1px solid rgba(205, 164, 255, .38);
  border-radius: 999px; color: #f7eeff; text-decoration: none; font-size: 14px; font-weight: 700;
  transition: background .2s ease, border-color .2s ease, transform .2s ease;
}
.nav-cta:hover { border-color: var(--violet-bright); background: rgba(162, 100, 255, .16); transform: translateY(-1px); }
.nav-cta span, .button span { font-size: 17px; line-height: 1; }
.menu-toggle { display: none; }

.hero {
  position: relative; display: grid; grid-template-columns: 1.04fr .96fr; align-items: center; column-gap: clamp(44px, 7vw, 92px); row-gap: 30px;
  padding-block: clamp(72px, 10vw, 126px) clamp(80px, 11vw, 144px);
}
.hero-copy { position: relative; z-index: 1; max-width: 630px; }
.eyebrow {
  margin: 0 0 16px; color: #c698ff; font-size: 12px; font-weight: 700; letter-spacing: .14em; line-height: 1.3; text-transform: uppercase;
}
.eyebrow-dot { display: inline-block; width: 8px; height: 8px; margin: 0 8px 1px 0; border-radius: 50%; background: var(--violet-bright); box-shadow: 0 0 15px rgba(190,136,255,.75); }
h1, h2, h3, p, figure { margin-top: 0; }
h1, h2, h3 { font-family: 'Manrope', 'Avenir Next', Avenir, sans-serif; }
h1 { max-width: 720px; margin-bottom: 22px; font-size: clamp(42px, 6.1vw, 72px); font-weight: 800; letter-spacing: -.055em; line-height: 1.06; }
h1 span, h2 span { color: var(--violet-bright); }
.hero-lede { max-width: 575px; margin-bottom: 30px; color: var(--muted); font-size: clamp(16px, 1.6vw, 19px); line-height: 1.75; }
.format-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; max-width: 575px; margin: 0 0 30px; padding: 0; list-style: none; }
.format-card { display: flex; align-items: flex-start; gap: 12px; padding: 14px 16px; border: 1px solid var(--stroke); border-radius: 16px; background: linear-gradient(145deg, rgba(38,23,55,.78), rgba(26,15,40,.82)); }
.format-icon { display: grid; place-items: center; flex: 0 0 auto; width: 34px; height: 34px; border-radius: 50%; color: #1a0d27; background: linear-gradient(105deg, #a265ff, #c28bff); font-size: 17px; font-weight: 700; line-height: 1; }
.format-type { margin: 0 0 2px; color: #c79bfa; font-size: 11px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.format-detail { margin: 0; color: var(--muted); font-size: 13px; line-height: 1.5; }
.hero-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 12px; }
.button {
  display: inline-flex; align-items: center; justify-content: center; gap: 15px; min-height: 52px; padding: 0 22px;
  border-radius: 999px; font-size: 14px; font-weight: 700; text-decoration: none; transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}
.button:hover { transform: translateY(-2px); }
.button-primary { color: #1a0d27; background: linear-gradient(105deg, #a265ff, #c28bff); box-shadow: 0 9px 28px rgba(125, 61, 223, .23); }
.button-primary:hover { box-shadow: 0 13px 34px rgba(144, 77, 240, .35); }
.button-quiet { color: #e8daf5; border: 1px solid var(--stroke); background: rgba(255,255,255,.015); }
.button-quiet:hover { background: rgba(255,255,255,.06); }

.hero-visual { position: relative; width: min(100%, 490px); justify-self: end; padding: 18px 18px 18px 0; }
.photo-frame { position: relative; margin: 0; overflow: hidden; border: 1px solid rgba(255,255,255,.13); border-radius: 26px; background: #28153d; box-shadow: 0 25px 80px rgba(3, 0, 10, .4); }
.hero-photo { aspect-ratio: .82; }
.hero-photo img { height: 100%; object-fit: cover; object-position: 50% 44%; }
.hero-orbit { position: absolute; z-index: -1; border: 1px solid rgba(176, 111, 255, .24); border-radius: 50%; }
.hero-orbit-one { top: -9%; right: -7%; width: 86%; aspect-ratio: 1; }
.hero-orbit-two { top: 2%; right: -15%; width: 105%; aspect-ratio: 1; border-color: rgba(176, 111, 255, .11); }

.subjects { padding-block: 10px clamp(92px, 11vw, 142px); }
.section-heading { max-width: 650px; margin: 0 auto 44px; text-align: center; }
.section-heading h2, .about-copy h2, .contact-panel h2 { margin-bottom: 17px; font-size: clamp(32px, 4.1vw, 48px); font-weight: 800; letter-spacing: -.045em; line-height: 1.13; }
.section-heading > p:last-child { max-width: 590px; margin: 0 auto; color: var(--muted); }
.subject-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.subject-card {
  position: relative; min-height: 275px; padding: 27px 25px 30px; border: 1px solid var(--stroke); border-radius: 20px;
  background: linear-gradient(145deg, rgba(38,23,55,.78), rgba(26,15,40,.8)); transition: transform .2s ease, border-color .2s ease;
}
.subject-card:hover { transform: translateY(-4px); border-color: rgba(190,136,255,.43); }
.subject-card-featured { background: radial-gradient(circle at 92% 0%, rgba(157, 93, 234, .18), transparent 60%), linear-gradient(145deg, #251437, #1b102a); }
.subject-card-math { grid-column: 1 / -1; display: grid; grid-template-columns: .72fr 1.28fr; align-items: center; gap: clamp(28px, 5vw, 66px); }
.subject-intro { max-width: 310px; }
.subject-summary { margin: 0; color: var(--muted); font-size: 14px; line-height: 1.7; }
.math-course-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.subject-icon { display: grid; width: 47px; height: 47px; margin-bottom: 22px; place-items: center; border: 1px solid rgba(197,151,255,.25); border-radius: 14px; color: #d1a6ff; background: rgba(162,100,255,.1); }
.icon-math span { font-family: Georgia, serif; font-size: 25px; }
.icon-science span { font-size: 30px; }
.icon-code span { font-family: ui-monospace, monospace; font-size: 16px; font-weight: 700; }
.card-kicker { margin-bottom: 8px; color: #a995bc; font-size: 10px; font-weight: 700; letter-spacing: .11em; text-transform: uppercase; }
.subject-card h3 { margin-bottom: 13px; font-size: 21px; font-weight: 700; letter-spacing: -.025em; }
.subject-card > p:not(.card-kicker):not(.course-level) { max-width: 290px; margin-bottom: 0; color: var(--muted); font-size: 14px; line-height: 1.7; }
.course-group + .course-group { margin-top: 17px; padding-top: 15px; border-top: 1px solid var(--stroke); }
.math-course-grid .course-group + .course-group { margin-top: 0; padding-top: 0; border-top: 0; }
.course-level { margin: 0 0 10px; color: #c79bfa; font-size: 10px; font-weight: 700; letter-spacing: .12em; line-height: 1.3; text-transform: uppercase; }
.course-list { display: grid; gap: 9px; margin: 0; padding: 0; list-style: none; }
.course-list li { position: relative; padding-left: 14px; color: var(--muted); font-size: 14px; line-height: 1.55; }
.course-list li::before { position: absolute; top: .62em; left: 0; width: 5px; height: 5px; border-radius: 50%; background: #b87eff; content: ''; }
.subjects-note { margin: 22px auto 0; color: var(--dim); text-align: center; font-size: 13px; }
.subjects-note a { color: #d6b4ff; text-decoration: underline; text-decoration-color: rgba(214,180,255,.45); text-underline-offset: 3px; }
.subjects-note a:hover { color: #fff; }
.section-cta { display: flex; justify-content: center; margin-top: 28px; }
.section-cta .button { min-width: 148px; }

.about { display: grid; grid-template-columns: .92fr 1.08fr; align-items: center; column-gap: clamp(55px, 9vw, 120px); row-gap: 30px; padding-block: 0 clamp(100px, 12vw, 160px); }
.about .section-cta { grid-column: 1 / -1; }
.about-visual { position: relative; width: min(100%, 440px); padding: 18px 0 25px 18px; }
.about-backdrop { position: absolute; inset: 0 13% 8% -4%; border-radius: 30px; background: linear-gradient(145deg, rgba(143,76,217,.28), rgba(63,30,89,.28)); transform: rotate(-4deg); }
.about-photo { aspect-ratio: .86; }
.about-photo img { height: 100%; object-fit: cover; object-position: 50% 34%; }
.about-sticker { position: absolute; right: -28px; bottom: 3px; display: flex; align-items: center; gap: 10px; padding: 13px 16px; border: 1px solid rgba(236,218,255,.2); border-radius: 999px; background: #28163b; color: #f5ebff; font-size: 13px; font-weight: 700; box-shadow: 0 12px 32px rgba(0,0,0,.25); }
.sticker-star { color: #c993ff; font-size: 17px; }
.about-copy { max-width: 590px; }
.about-copy h2 { max-width: 550px; }
.about-copy > p:not(.eyebrow) { margin-bottom: 16px; color: var(--muted); font-size: 15px; line-height: 1.82; }
.about-principle { display: flex; gap: 14px; margin-top: 25px; padding: 17px 19px; border-left: 2px solid var(--violet); border-radius: 0 14px 14px 0; background: rgba(165,104,255,.09); }
.principle-mark { padding-top: 2px; color: #bd8aff; font-size: 20px; }
.about-principle p { margin: 0; color: #d1c2dc; font-size: 13px; line-height: 1.65; }
.about-principle strong { color: #fff; font-size: 14px; }

.education { padding-bottom: clamp(92px, 11vw, 140px); }
.education-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.education-card { position: relative; min-height: 196px; padding: 24px; overflow: hidden; border: 1px solid var(--stroke); border-radius: 18px; background: linear-gradient(145deg, rgba(38,23,55,.72), rgba(26,15,40,.82)); }
.education-number { position: absolute; top: 18px; right: 20px; color: rgba(203,169,237,.45); font-family: 'Manrope', sans-serif; font-size: 12px; font-weight: 800; }
.education-label { margin: 0 0 14px; color: #c79bfa; font-size: 10px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.education-card h3 { margin: 0 0 8px; font-size: clamp(19px, 2.1vw, 24px); font-weight: 800; letter-spacing: -.04em; line-height: 1.2; }
.education-card > p:last-child { margin: 0; color: var(--muted); font-size: 14px; line-height: 1.6; }

.lessons { border-block: 1px solid var(--stroke); background: linear-gradient(110deg, rgba(35,20,52,.65), rgba(24,13,37,.7)); }
.lessons-inner { padding-block: clamp(77px, 9vw, 110px) clamp(84px, 10vw, 125px); }
.lessons-heading { margin-bottom: 47px; }
.lesson-layout { display: grid; grid-template-columns: 1fr .82fr; align-items: center; gap: clamp(42px, 8vw, 104px); }
.lesson-steps { display: grid; gap: 0; }
.lesson-step { display: grid; grid-template-columns: 54px 1fr; gap: 15px; padding: 22px 0; border-bottom: 1px solid var(--stroke); }
.lesson-step:first-child { padding-top: 0; }
.lesson-step:last-child { border-bottom: 0; }
.step-number { color: #b77cff; font-family: 'Manrope', sans-serif; font-size: 12px; font-weight: 800; letter-spacing: .08em; }
.lesson-step h3 { margin-bottom: 6px; font-size: 17px; font-weight: 700; letter-spacing: -.015em; }
.lesson-step p { max-width: 480px; margin: 0; color: var(--muted); font-size: 14px; line-height: 1.7; }
.lesson-photo { aspect-ratio: .82; }
.lesson-photo img { height: 100%; object-fit: cover; object-position: 54% 36%; }
.lesson-photo figcaption { position: absolute; right: 14px; bottom: 14px; left: 14px; display: flex; align-items: center; gap: 9px; padding: 11px 14px; border: 1px solid rgba(255,255,255,.12); border-radius: 12px; color: #f8f1ff; background: rgba(20,10,31,.78); backdrop-filter: blur(10px); font-size: 12px; }
.online-dot { width: 8px; height: 8px; border-radius: 50%; background: #b98aff; box-shadow: 0 0 12px rgba(185,138,255,.75); }

.online-learning { border-block: 1px solid var(--stroke); background: linear-gradient(110deg, rgba(35,20,52,.65), rgba(24,13,37,.7)); }
.online-learning-inner { padding-block: clamp(76px, 9vw, 112px); }
.online-learning .section-heading { margin-bottom: 36px; }
.learning-gallery { display: grid; grid-template-columns: minmax(0, 1fr); max-width: 960px; margin-inline: auto; }
.learning-card { overflow: hidden; border: 1px solid var(--stroke); border-radius: 18px; background: linear-gradient(145deg, rgba(38,23,55,.8), rgba(26,15,40,.85)); }
.learning-card figure { aspect-ratio: 1.97 / 1; margin: 0; overflow: hidden; background: #f4f2f6; }
.learning-card img { width: 100%; height: 100%; object-fit: contain; }
.learning-card-copy { padding: 16px 18px 18px; }
.learning-topic { margin: 0 0 4px; color: #c79bfa; font-size: 10px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.learning-card h3 { margin: 0; font-size: 16px; font-weight: 700; letter-spacing: -.02em; }

.pricing { padding-block: clamp(74px, 9vw, 112px); }
.pricing .section-heading { margin-bottom: 35px; }
.pricing-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; max-width: 850px; margin-inline: auto; }
.pricing-card { padding: 26px 28px; border: 1px solid var(--stroke); border-radius: 20px; background: linear-gradient(145deg, rgba(38,23,55,.78), rgba(26,15,40,.82)); }
.pricing-type { margin: 0 0 12px; color: #c79bfa; font-size: 11px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.pricing-amount { display: flex; align-items: baseline; gap: 2px; margin: 0 0 10px; font-family: 'Manrope', 'Avenir Next', Avenir, sans-serif; font-size: clamp(40px, 5vw, 56px); font-weight: 800; letter-spacing: -.055em; line-height: 1; }
.pricing-amount .currency { color: var(--violet-bright); font-size: .66em; }
.pricing-unit { margin-left: 8px; color: var(--dim); font-family: 'DM Sans', 'Avenir Next', Avenir, sans-serif; font-size: 13px; font-weight: 500; letter-spacing: 0; }
.pricing-detail { margin: 0; color: var(--muted); font-size: 14px; line-height: 1.65; }
.included-panel { max-width: 850px; margin: 18px auto 0; padding: 22px 26px; border: 1px solid var(--stroke); border-radius: 18px; background: rgba(38,23,55,.48); }
.included-panel h3 { margin: 0 0 14px; font-size: 17px; font-weight: 700; }
.included-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px 24px; margin: 0; padding: 0; list-style: none; }
.included-list li { position: relative; padding-left: 21px; color: var(--muted); font-size: 13px; line-height: 1.65; }
.included-list li::before { position: absolute; top: 0; left: 0; color: #c79bfa; font-weight: 700; content: '✓'; }
.pricing-note { margin: 18px 0 0; color: var(--muted); text-align: center; font-size: 14px; }

.faq { padding-block: clamp(74px, 9vw, 112px); }
.faq .section-heading { margin-bottom: 34px; }
.faq-list { max-width: 900px; margin-inline: auto; border-top: 1px solid var(--stroke); }
.faq-item { border-bottom: 1px solid var(--stroke); }
.faq-item summary { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 17px 18px; color: var(--ink); font-size: 15px; font-weight: 700; line-height: 1.5; cursor: pointer; list-style: none; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { flex: 0 0 auto; color: #c79bfa; font-size: 21px; font-weight: 500; line-height: 1; content: '+'; }
.faq-item[open] summary::after { content: '−'; }
.faq-item summary:focus-visible { outline: 3px solid var(--violet-bright); outline-offset: 3px; }
.faq-answer { padding: 0 56px 17px 18px; color: var(--muted); font-size: 14px; line-height: 1.75; }
.faq-answer p { margin: 0; }
.faq-answer a { color: #d6b4ff; text-underline-offset: 3px; }

.booking { padding-block: clamp(78px, 10vw, 124px); }
.booking-panel { display: grid; grid-template-columns: .82fr 1.18fr; align-items: center; gap: clamp(32px, 7vw, 84px); }
.booking-copy { max-width: 430px; }
.booking-copy h2 { margin: 0 0 16px; font-family: 'Manrope', 'Avenir Next', Avenir, sans-serif; font-size: clamp(34px, 4vw, 48px); font-weight: 800; letter-spacing: -.045em; line-height: 1.13; }
.booking-copy h2 span { color: var(--violet-bright); }
.booking-copy > p:not(.eyebrow) { margin: 0 0 24px; color: var(--muted); font-size: 15px; line-height: 1.75; }
.booking-embed { min-width: 0; min-height: 600px; overflow: hidden; border: 1px solid var(--stroke); border-radius: 22px; background: #fff; box-shadow: 0 20px 55px rgba(3, 0, 10, .26); }
.booking-embed iframe { display: block; width: 100%; height: 600px; border: 0; background: #fff; }

.contact { padding-block: clamp(36px, 4vw, 52px); }
.contact-panel {
  position: relative; overflow: hidden; padding: 30px 24px; border: 1px solid rgba(207,171,255,.24); border-radius: 20px;
  background: radial-gradient(ellipse at 50% 0%, rgba(136,74,207,.35), transparent 58%), linear-gradient(130deg, #28153a, #1e1030 68%); text-align: center;
}
.contact-panel .eyebrow, .contact-panel h2, .contact-panel > p { position: relative; z-index: 1; }
.contact-panel .eyebrow { margin-bottom: 9px; }
.contact-panel h2 { max-width: 700px; margin: 0 auto 9px; font-size: clamp(26px, 3vw, 35px); }
.contact-intro { max-width: 510px; margin: 0 auto 13px; color: var(--muted); }
.contact-button { position: relative; z-index: 1; }
.contact-links { position: relative; z-index: 1; display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 9px; margin-top: 13px; }
.contact-links a { padding: 9px 14px; border: 1px solid rgba(219,194,244,.14); border-radius: 999px; color: #d3c2e2; text-decoration: none; font-size: 13px; transition: border-color .2s ease, color .2s ease; }
.contact-links a:hover { border-color: rgba(205,157,255,.55); color: #fff; }
.contact .section-cta { margin-top: 15px; }
.contact-spark { position: absolute; color: rgba(193,139,255,.55); }
.contact-spark-one { top: 15px; left: 8%; font-size: 23px; }
.contact-spark-two { right: 9%; bottom: 15px; font-size: 20px; }

.site-footer { border-top: 1px solid var(--stroke); background: rgba(11,5,18,.38); }
.footer-inner { width: min(calc(100% - 56px), var(--max-width)); margin-inline: auto; padding-block: 26px 20px; }
.footer-brand { display: block; width: 175px; }
.footer-brand img { height: auto; object-fit: contain; }
.footer-inner > p { margin: 4px 0 23px; color: var(--dim); font-size: 12px; }
.footer-bottom { display: flex; align-items: center; justify-content: space-between; gap: 18px; padding-top: 17px; border-top: 1px solid var(--stroke); color: var(--dim); font-size: 12px; }
.footer-bottom nav { display: flex; gap: 22px; }
.footer-bottom nav a { font-size: 12px; }

@media (max-width: 900px) {
  .header-inner { min-height: 74px; }
  .brand { width: 155px; }
  .site-nav { gap: 18px; }
  .site-nav > a:not(.nav-cta) { font-size: 12px; }
  .nav-cta { gap: 7px; padding: 10px 13px; font-size: 12px; }
  .hero { grid-template-columns: 1fr .82fr; column-gap: 28px; }
  h1 { font-size: clamp(40px, 6vw, 59px); }
  .about { gap: 55px; }
}

@media (max-width: 760px) {
  html { scroll-padding-top: 74px; }
  .section-wrap, .footer-inner { width: min(calc(100% - 40px), var(--max-width)); }
  .header-inner { width: calc(100% - 36px); min-height: 70px; }
  .brand { width: 132px; }
  .menu-toggle {
    display: flex; align-items: center; gap: 12px; padding: 10px 0 10px 12px; border: 0; color: var(--ink); background: transparent;
    font: inherit; font-size: 13px; font-weight: 700; cursor: pointer;
  }
  .menu-icon { display: grid; gap: 5px; width: 22px; }
  .menu-icon i { display: block; height: 2px; border-radius: 3px; background: #e7d8f6; transition: transform .2s ease; }
  .menu-toggle[aria-expanded="true"] .menu-icon i:first-child { transform: translateY(3.5px) rotate(45deg); }
  .menu-toggle[aria-expanded="true"] .menu-icon i:last-child { transform: translateY(-3.5px) rotate(-45deg); }
  .site-nav {
    position: absolute; top: 100%; right: 0; left: 0; display: none; align-items: stretch; gap: 0; padding: 8px 20px 18px;
    border-bottom: 1px solid var(--stroke); background: rgba(18,9,30,.98); box-shadow: 0 20px 30px rgba(0,0,0,.22);
  }
  .site-nav.is-open { display: flex; flex-direction: column; }
  .site-nav > a:not(.nav-cta) { padding: 13px 4px; border-bottom: 1px solid var(--stroke); color: #e0d3ed; font-size: 14px; }
  .site-nav .nav-cta { justify-content: center; margin-top: 14px; padding: 12px 18px; font-size: 14px; }
  .hero { grid-template-columns: 1fr; gap: 34px; padding-block: 62px 83px; }
  .hero-copy { max-width: 580px; }
  .eyebrow { font-size: 10px; }
  h1 { font-size: clamp(43px, 11vw, 62px); }
  .hero-lede { max-width: 520px; font-size: 16px; }
  .format-list { grid-template-columns: 1fr; }
  .hero-visual { width: min(88%, 430px); justify-self: center; padding-right: 8px; }
  .hero-photo { aspect-ratio: .88; }
  .subjects { padding-bottom: 93px; }
  .section-heading { margin-bottom: 30px; text-align: left; }
  .section-heading h2, .about-copy h2, .contact-panel h2 { font-size: clamp(31px, 8vw, 42px); }
  .section-heading > p:last-child { margin-inline: 0; }
  .subject-grid { grid-template-columns: 1fr; gap: 11px; }
  .subject-card-math { grid-column: auto; grid-template-columns: 1fr; gap: 24px; }
  .math-course-grid { grid-template-columns: 1fr; gap: 17px; }
  .math-course-grid .course-group + .course-group { margin-top: 0; padding-top: 15px; border-top: 1px solid var(--stroke); }
  .subject-card { min-height: auto; padding: 22px; }
  .subject-icon { width: 42px; height: 42px; margin-bottom: 16px; }
  .about { grid-template-columns: 1fr; gap: 48px; padding-bottom: 92px; }
  .about-visual { width: min(88%, 410px); justify-self: center; }
  .about-photo { aspect-ratio: .95; }
  .about-photo img { object-position: 50% 31%; }
  .about-sticker { right: -20px; }
  .about-copy > p:not(.eyebrow) { font-size: 14px; }
  .education { padding-bottom: 92px; }
  .education-grid { grid-template-columns: 1fr; gap: 10px; }
  .education-card { min-height: 0; padding: 21px; }
  .lessons-inner { padding-block: 75px 84px; }
  .lesson-layout { grid-template-columns: 1fr; gap: 28px; }
  .lesson-step { grid-template-columns: 38px 1fr; padding: 19px 0; }
  .lesson-photo { width: min(100%, 410px); aspect-ratio: 1 / .94; justify-self: center; }
  .lesson-photo img { object-position: 52% 38%; }
  .online-learning-inner { padding-block: 68px; }
  .online-learning .section-heading { margin-bottom: 25px; }
  .learning-gallery { grid-template-columns: 1fr; }
  .learning-card-copy { padding: 14px 16px 16px; }
  .pricing { padding-block: 68px; }
  .pricing .section-heading { margin-bottom: 25px; }
  .pricing-grid { grid-template-columns: 1fr; gap: 10px; }
  .pricing-card { padding: 22px; }
  .included-panel { padding: 19px 20px; }
  .included-list { grid-template-columns: 1fr; gap: 9px; }
  .faq { padding-block: 68px; }
  .faq .section-heading { margin-bottom: 24px; }
  .faq-item summary { padding: 15px 14px; font-size: 14px; }
  .faq-answer { padding: 0 14px 15px; }
  .booking { padding-block: 76px; }
  .booking-panel { grid-template-columns: 1fr; gap: 30px; }
  .booking-embed { min-height: 600px; border-radius: 18px; }
  .booking-embed iframe { height: 600px; }
  .contact { padding-block: 34px; }
  .contact-panel { padding: 25px 18px; border-radius: 18px; text-align: left; }
  .contact-panel h2 { margin-inline: 0; font-size: clamp(25px, 7vw, 31px); }
  .contact-intro { margin-inline: 0; }
  .contact .section-cta { justify-content: flex-start; margin-top: 12px; }
  .contact-button { width: auto; }
  .contact-links { align-items: flex-start; justify-content: flex-start; gap: 8px; }
  .contact-links a { padding: 8px 11px; font-size: 12px; }
  .contact-spark-one { left: auto; right: 20px; top: 20px; font-size: 21px; }
  .contact-spark-two { right: 20px; bottom: 20px; }
  .footer-inner { padding-block: 18px 18px; }
  .footer-bottom { align-items: flex-start; flex-direction: column; gap: 11px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
}
