/* «Солнышко» — responsive visual system. Bootstrap 4 is loaded first. */
@font-face { font-family: 'Manrope'; font-style: normal; font-weight: 400; font-display: swap; src: url('../fonts/manrope-400.ttf') format('truetype'); }
@font-face { font-family: 'Manrope'; font-style: normal; font-weight: 500; font-display: swap; src: url('../fonts/manrope-500.ttf') format('truetype'); }
@font-face { font-family: 'Manrope'; font-style: normal; font-weight: 600; font-display: swap; src: url('../fonts/manrope-600.ttf') format('truetype'); }
@font-face { font-family: 'Manrope'; font-style: normal; font-weight: 700; font-display: swap; src: url('../fonts/manrope-700.ttf') format('truetype'); }
@font-face { font-family: 'Manrope'; font-style: normal; font-weight: 800; font-display: swap; src: url('../fonts/manrope-800.ttf') format('truetype'); }
:root {
  --paper: #fffdf6;
  --paper-warm: #f7f2e6;
  --ink: #252b28;
  --muted: #686d66;
  --orange: #f36b30;
  --orange-dark: #d94d19;
  --yellow: #ffcc47;
  --green: #38695a;
  --line: #e4e5d9;
  --font: 'Manrope', Arial, sans-serif;
  --radius: 24px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 115px; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
::selection { color: var(--ink); background: #ffe49a; }
a { color: inherit; text-decoration: none; transition: color .2s ease, background-color .2s ease, border-color .2s ease, transform .2s ease; }
a:hover { color: var(--orange-dark); text-decoration: none; }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible, [tabindex]:focus-visible {
  outline: 3px solid var(--green);
  outline-offset: 5px;
}
button, input, textarea, select { font: inherit; }
button { cursor: pointer; }
img { max-width: 100%; height: auto; }
svg { flex-shrink: 0; }
button svg, a svg { pointer-events: none; }
h1, h2, h3, h4, h5, h6 { color: var(--ink); font-weight: 750; letter-spacing: -.045em; line-height: 1.16; }
h1, h2, h3, p { margin-top: 0; }
strong { font-weight: 750; }
.container { max-width: 1240px; padding-left: 28px; padding-right: 28px; }
.text-orange { color: var(--orange); }
.text-green { color: var(--green); }
.text-muted { color: var(--muted) !important; }
.section { padding: 88px 0; }
.section-title { font-size: clamp(32px, 3.4vw, 44px); }
.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 2000;
  padding: 10px 18px;
  color: white;
  background: var(--green);
  transform: translateY(-180%);
}
.skip-link:focus { color: white; transform: translateY(0); }

/* Shared controls */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 53px;
  padding: 14px 24px;
  border: 1px solid transparent;
  border-radius: 11px;
  font-size: 14px;
  font-weight: 750;
  line-height: 1.5;
  text-align: center;
  letter-spacing: -.015em;
  box-shadow: none;
  gap: 12px;
  transition: color .2s ease, background-color .2s ease, border-color .2s ease, transform .2s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn svg { width: 19px; height: 19px; }
.btn-primary { color: white; background: var(--orange); border-color: var(--orange); }
.btn-primary:hover, .btn-primary:focus, .btn-primary:not(:disabled):not(.disabled):active { color: white; background: var(--orange-dark); border-color: var(--orange-dark); }
.btn-primary:focus, .btn-primary:not(:disabled):not(.disabled):active:focus { box-shadow: 0 0 0 4px rgba(243,107,48,.2); }
.btn-outline-dark { color: var(--ink); border-color: #c6c9bb; background: transparent; }
.btn-outline-dark:hover, .btn-outline-dark:focus, .btn-outline-dark:not(:disabled):not(.disabled):active { color: white; border-color: var(--ink); background: var(--ink); }
.btn-light { color: var(--ink); border-color: var(--paper); background: var(--paper); }
.btn-light:hover { color: var(--ink); border-color: #fff2d1; background: #fff2d1; }
.text-link { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); font-size: 14px; font-weight: 750; line-height: 1.5; }
.text-link svg { width: 18px; height: 18px; transition: transform .2s ease; }
.text-link:hover svg { transform: translateX(4px); }

/* Header */
.announcement { min-height: 37px; background: var(--green); color: #fffdf5; font-size: 11px; line-height: 1.5; }
.announcement > .container { min-height: 37px; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.announcement-location { display: inline-flex; align-items: center; gap: 7px; }
.announcement-location svg { width: 13px; height: 13px; }
.announcement-note { opacity: .84; }
.announcement a:hover { color: var(--yellow); }
.site-header { position: sticky; top: 0; z-index: 1030; background: rgba(255,253,246,.97); border-bottom: 1px solid var(--line); }
.header-main { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 92px; }
.brand { display: inline-flex; align-items: center; flex-shrink: 0; color: var(--ink); gap: 11px; }
.brand:hover { color: var(--ink); }
.brand-symbol { display: flex; align-items: center; justify-content: center; color: var(--orange); }
.brand-symbol, .brand-symbol svg { display: block; width: 48px; height: 48px; }
.brand-name { display: block; font-size: 25px; font-weight: 800; letter-spacing: -.055em; line-height: 1.1; }
.brand-dot { color: var(--orange); }
.brand-caption { display: block; margin-top: 4px; color: var(--muted); font-size: 9px; font-weight: 600; letter-spacing: .04em; line-height: 1.4; }
.desktop-nav { display: flex; align-items: center; justify-content: center; gap: 4px; margin-left: auto; }
.desktop-nav .nav-link { display: flex; align-items: center; gap: 5px; padding: 12px 9px; color: var(--ink); font-size: 12px; font-weight: 650; line-height: 1.5; white-space: nowrap; }
.desktop-nav .nav-link:hover, .desktop-nav .nav-link.is-active { color: var(--orange-dark); }
.nav-dropdown { position: relative; }
.nav-dropdown-toggle { padding: 12px 9px; border: 0; background: none; font-size: 12px; font-weight: 650; }
.nav-dropdown-toggle svg { width: 10px; height: 10px; margin-left: 3px; }
.nav-dropdown-menu {
  position: absolute;
  left: -12px;
  top: calc(100% - 2px);
  z-index: 1040;
  display: none;
  width: 267px;
  padding: 9px;
  border: 1px solid var(--line);
  border-radius: 15px;
  background: var(--paper);
  box-shadow: 0 16px 30px rgba(37,43,40,.09);
}
.nav-dropdown:hover .nav-dropdown-menu, .nav-dropdown:focus-within .nav-dropdown-menu, .nav-dropdown.is-open .nav-dropdown-menu { display: block; }
.nav-dropdown-menu[hidden] { display: none !important; }
.nav-dropdown-menu a { display: block; padding: 11px 13px; border-radius: 9px; font-size: 12px; line-height: 1.45; }
.nav-dropdown-menu a:hover { color: var(--green); background: var(--paper-warm); }
.header-contact { flex-shrink: 0; text-align: right; }
.phone-link { display: inline-block; color: var(--ink); font-size: 15px; font-weight: 800; letter-spacing: -.035em; line-height: 1.4; }
.contact-caption { display: block; margin-top: 2px; color: var(--muted); font-size: 10px; }
.header-signup { min-height: 41px; padding: 10px 16px; font-size: 11px; }
.menu-toggle { display: none; flex-shrink: 0; align-items: center; justify-content: center; width: 44px; height: 44px; padding: 11px; border: 1px solid var(--line); border-radius: 10px; color: var(--ink); background: transparent; }
.menu-toggle svg { display: block; width: 21px; height: 21px; }
.menu-toggle { flex-direction: column; gap: 4px; }
.menu-toggle > span { display: block; width: 19px; height: 1.5px; border-radius: 2px; background: currentColor; }
.mobile-nav { padding: 4px 0 22px; border-top: 1px solid var(--line); }
.mobile-nav > a, .mobile-nav .nav-link { display: block; padding: 12px 2px; border-bottom: 1px solid var(--line); font-size: 15px; font-weight: 650; }
.mobile-nav .mobile-subnav { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 0 20px; padding: 8px 0 10px; }
.mobile-nav .mobile-subnav a { padding: 8px 0; font-size: 12px; }
.mobile-nav .phone-link { margin-top: 18px; }

/* Home hero */
.hero { position: relative; padding-top: 56px; padding-bottom: 62px; overflow: hidden; }
.hero .row { align-items: center; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; margin-bottom: 22px; color: var(--green); font-size: 10px; font-weight: 800; letter-spacing: .115em; line-height: 1.5; text-transform: uppercase; }
.eyebrow-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--orange); }
.hero-title { max-width: 650px; margin-bottom: 25px; font-size: clamp(42px, 4.55vw, 60px); font-weight: 800; letter-spacing: -.058em; line-height: 1.07; }
.hero-title span { display: inline; }
.hero-description { max-width: 420px; margin-bottom: 27px; color: var(--muted); font-size: 14px; line-height: 1.8; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.hero-note { display: flex; align-items: center; gap: 8px; margin-top: 19px; margin-bottom: 0; color: var(--muted); font-size: 10px; line-height: 1.65; }
.hero-note svg { width: 15px; height: 15px; color: var(--green); }
.hero-visual { position: relative; max-width: 565px; margin: 6px 0 8px 22px; }
.hero-photo { position: relative; z-index: 1; overflow: hidden; height: 440px; border-radius: 26px 26px 85px 26px; background: #eee8d8; }
.hero-photo img { display: block; width: 100%; height: 100%; object-fit: cover; }
.hero-visual::before { position: absolute; z-index: 0; top: 26px; right: -15px; bottom: -15px; left: 25px; border: 1px solid #d4d7bc; border-radius: 26px 26px 85px 26px; content: ''; transform: rotate(3deg); }
.hello-sticker { position: absolute; z-index: 3; top: -16px; left: -23px; display: block; width: 128px; height: 69px; padding: 10px 5px; border: 3px solid var(--paper); border-radius: 16px; color: var(--ink); background: var(--yellow); font-size: 26px; font-weight: 800; text-align: center; letter-spacing: -.05em; line-height: 1; transform: rotate(-11deg); box-shadow: 0 4px 0 rgba(37,43,40,.06); }
.hello-sticker span { display: block; margin-top: 5px; font-size: 8px; font-weight: 600; letter-spacing: 0; line-height: 1.2; white-space: nowrap; }
.hero-caption { position: absolute; z-index: 3; bottom: 23px; left: -28px; max-width: 235px; padding: 15px 20px; border: 1px solid rgba(37,43,40,.08); border-radius: 14px; background: var(--paper); font-size: 12px; font-weight: 750; line-height: 1.5; box-shadow: 0 7px 18px rgba(37,43,40,.05); }
.hero-caption strong { display: block; font-size: 24px; line-height: 1.2; letter-spacing: -.06em; }
.hero-caption span { display: block; margin-top: 4px; color: var(--muted); font-size: 10px; font-weight: 500; }
.hero-caption .caption-dot { display: inline-block; width: 7px; height: 7px; margin: 0 6px 1px 0; border-radius: 50%; vertical-align: middle; background: var(--orange); }
.floating-sun { position: absolute; z-index: 2; right: -33px; top: -35px; width: 105px; height: 105px; color: var(--yellow); transform: rotate(12deg); }
.sun-orbit { position: absolute; top: -34px; right: -33px; width: 106px; height: 106px; }
.sun-orbit .floating-sun { position: static; width: 100%; height: 100%; }
.visual-dots { position: absolute; z-index: 2; right: -25px; bottom: 20px; color: var(--orange); font-size: 76px; line-height: 1; transform: rotate(10deg); }

/* Proof points */
.trust-strip { padding: 0; }
.trust-grid { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); padding: 28px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.trust-item { display: flex; align-items: center; gap: 13px; padding: 4px 21px; border-left: 1px solid var(--line); }
.trust-item:first-child { padding-left: 0; border-left: 0; }
.trust-item:last-child { padding-right: 0; }
.trust-icon { display: flex; align-items: center; justify-content: center; flex-shrink: 0; width: 35px; height: 39px; color: var(--green); }
.trust-icon svg { width: 32px; height: 32px; }
.trust-item strong { display: block; font-size: 13px; line-height: 1.4; letter-spacing: -.025em; }
.trust-item span { display: block; margin-top: 3px; color: var(--muted); font-size: 10px; line-height: 1.5; }

/* Courses */
.section-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 30px; margin-bottom: 32px; }
.section-kicker, .page-kicker { display: block; margin-bottom: 13px; color: var(--green); font-size: 10px; font-weight: 800; letter-spacing: .12em; line-height: 1.5; text-transform: uppercase; }
.section-heading h2 { max-width: 670px; margin-bottom: 0; font-size: clamp(30px, 3.15vw, 42px); }
.section-heading p { max-width: 490px; margin-top: 15px; margin-bottom: 0; color: var(--muted); font-size: 14px; }
.section-heading-actions { flex-shrink: 0; padding-bottom: 4px; }
.course-grid { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 17px; }
.course-card { position: relative; display: flex; min-width: 0; min-height: 297px; flex-direction: column; align-items: flex-start; padding: 24px; overflow: hidden; border: 1px solid transparent; border-radius: 19px; color: var(--ink); background: #fff0bb; }
.course-card:hover { color: var(--ink); transform: translateY(-6px); border-color: rgba(37,43,40,.15); }
.course-yellow { background: #fff0bb; }
.course-peach { background: #fce3d5; }
.course-green { background: #e4ecdd; }
.course-blue { background: #e3edef; }
.course-number { color: rgba(37,43,40,.45); font-size: 10px; font-weight: 700; line-height: 1.5; }
.course-age { position: absolute; top: 23px; right: 22px; padding: 4px 8px; border: 1px solid rgba(37,43,40,.17); border-radius: 20px; font-size: 9px; font-weight: 700; line-height: 1.5; }
.course-icon { display: flex; align-items: center; justify-content: center; width: 61px; height: 66px; margin: 21px 0 18px; color: var(--ink); }
.course-icon svg { max-width: 100%; max-height: 100%; }
.course-icon + .course-number { margin: 0 0 10px; color: #676b5a; font-size: 8px; letter-spacing: .025em; }
.course-card h3 { max-width: 190px; margin-bottom: 10px; font-size: 22px; font-weight: 800; letter-spacing: -.045em; line-height: 1.18; }
.course-card p { max-width: 180px; margin-bottom: 26px; color: #5a6056; font-size: 11px; line-height: 1.75; }
.card-arrow { position: absolute; right: 21px; bottom: 21px; display: flex; align-items: center; justify-content: center; width: 29px; height: 29px; border: 1px solid rgba(37,43,40,.28); border-radius: 50%; }
.card-arrow svg { width: 14px; height: 14px; }
.additional-programs { display: grid; grid-template-columns: 1.35fr 1.1fr .85fr 1fr; gap: 23px; margin-top: 23px; }
.additional-programs a { display: flex; align-items: center; justify-content: space-between; gap: 13px; padding: 11px 0 13px; border-bottom: 1px solid var(--line); font-size: 11px; font-weight: 700; line-height: 1.7; }
.additional-programs svg { width: 16px; height: 16px; color: var(--green); }

/* About and teaching */
.about-section { padding-top: 26px; }
.about-section .row { align-items: center; }
.about-visual { position: relative; margin-right: 44px; }
.about-visual > img { display: block; width: 100%; height: 350px; border-radius: 22px 78px 22px 22px; object-fit: cover; }
.photo-label { position: absolute; right: -20px; bottom: -17px; display: flex; align-items: center; gap: 13px; max-width: 250px; padding: 17px 21px; border: 1px solid var(--line); border-radius: 14px; background: var(--paper); font-size: 11px; font-weight: 700; line-height: 1.5; transform: rotate(-4deg); }
.photo-label svg { width: 34px; height: 34px; color: var(--orange); }
.about-copy h2 { max-width: 440px; margin-bottom: 22px; font-size: clamp(30px, 3.15vw, 42px); }
.about-copy .prose { color: var(--muted); font-size: 13px; line-height: 1.9; }
.about-copy > p { color: var(--muted); font-size: 13px; line-height: 1.9; }
.about-copy .text-link { margin-top: 9px; }
.school-facts { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 24px; margin: 28px 0 0; padding-top: 24px; border-top: 1px solid var(--line); }
.fact-number { display: block; color: var(--green); font-size: 29px; font-weight: 800; letter-spacing: -.06em; line-height: 1.2; }
.fact-label { display: block; max-width: 145px; margin-top: 7px; color: var(--muted); font-size: 10px; line-height: 1.65; }
.feature-list { display: grid; gap: 21px; margin: 24px 0 0; }
.feature-item { display: flex; align-items: flex-start; gap: 13px; }
.feature-item > svg { width: 23px; height: 23px; margin-top: 1px; color: var(--orange); }
.feature-item strong { display: block; margin-bottom: 5px; color: var(--ink); font-size: 13px; line-height: 1.6; }
.feature-item p { margin-bottom: 0; color: var(--muted); font-size: 12px; line-height: 1.8; }
.home-details { padding-top: 22px; }
.detail-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 24px; }
.detail-card { min-width: 0; padding: 27px 0 5px; border-top: 1px solid var(--line); }
.detail-card > svg { width: 30px; height: 30px; margin-bottom: 19px; color: var(--green); }
.detail-card h3 { margin-bottom: 14px; font-size: 24px; }
.detail-card p { margin-bottom: 19px; color: var(--muted); font-size: 12px; line-height: 1.85; }
.detail-card .text-link { font-size: 12px; }
.teacher-banner { position: relative; display: grid; grid-template-columns: 270px minmax(0,1fr); align-items: center; gap: 40px; padding: 28px 50px 28px 28px; overflow: hidden; border: 1px solid var(--line); border-radius: 22px; background: #f8f3e5; }
.teacher-sun { position: absolute; right: -36px; bottom: -39px; width: 145px; height: 145px; color: var(--yellow); transform: rotate(15deg); }
.teacher-photo, .teacher-copy { position: relative; z-index: 1; }
.teacher-photo { align-self: stretch; min-height: 200px; overflow: hidden; border-radius: 16px; }
.teacher-photo img { display: block; width: 100%; height: 100%; min-height: 200px; max-height: 250px; object-fit: cover; object-position: center 30%; }
.teacher-copy h2 { max-width: 460px; margin-bottom: 12px; font-size: 29px; }
.teacher-copy p { max-width: 460px; margin-bottom: 0; color: var(--muted); font-size: 12px; line-height: 1.85; }
.teacher-copy .text-link { margin-top: 21px; font-size: 12px; }
.teacher-actions { align-self: center; }
.teacher-actions .btn { padding: 12px 20px; font-size: 12px; }
.source-note { margin-top: 26px; margin-bottom: 0; padding-top: 17px; border-top: 1px solid var(--line); color: var(--muted); font-size: 10px; line-height: 1.8; }
.source-note a { color: var(--green); font-weight: 700; white-space: nowrap; }
.school-life { padding-top: 25px; }
.life-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 22px; }
.life-grid > a { min-width: 0; }
.life-grid img { display: block; width: 100%; height: 243px; border-radius: 18px; object-fit: cover; transition: transform .25s ease; }
.life-grid > a:hover img { transform: translateY(-4px); }
.life-grid > a > span { display: flex; align-items: center; justify-content: space-between; gap: 15px; margin-top: 15px; font-size: 12px; font-weight: 750; }
.life-grid span svg { width: 17px; height: 17px; color: var(--green); }
.visit-section { padding-bottom: 55px; }
.visit-panel { display: flex; align-items: center; justify-content: space-between; gap: 40px; padding: 35px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.visit-copy h2 { max-width: 680px; margin-bottom: 18px; font-size: 34px; }
.visit-copy p { max-width: 650px; margin-bottom: 0; color: var(--muted); font-size: 14px; line-height: 1.85; }
.visit-copy p.visit-address { margin-bottom: 9px; color: var(--green); font-size: 18px; font-weight: 750; letter-spacing: -.025em; }
.visit-actions { display: flex; flex-shrink: 0; flex-direction: column; align-items: flex-start; gap: 18px; }
.visit-actions .text-link { font-size: 13px; }

/* News */
.news-section { padding-top: 26px; }
.news-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 34px; }
.news-card { padding: 25px 0 4px; border-top: 1px solid var(--line); }
.news-date { display: inline-block; margin-bottom: 17px; color: var(--green); font-size: 10px; font-weight: 750; letter-spacing: .03em; }
.news-card h3 { max-width: 490px; margin-bottom: 13px; font-size: 24px; line-height: 1.3; }
.news-card p { max-width: 490px; margin-bottom: 18px; color: var(--muted); font-size: 12px; line-height: 1.9; }
.news-card .text-link { font-size: 12px; }
.news-card img { display: block; width: 100%; max-height: 290px; margin-bottom: 20px; border-radius: 16px; object-fit: cover; }

/* Enrollment call to action */
.cta-section { padding-top: 20px; padding-bottom: 84px; }
.cta-panel { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 35px; padding: 46px 53px; overflow: hidden; border-radius: 24px; color: var(--paper); background: var(--green); }
.cta-copy { position: relative; z-index: 1; }
.cta-copy h2 { max-width: 600px; margin-bottom: 15px; color: var(--paper); font-size: clamp(29px,3.1vw,42px); }
.cta-copy p { max-width: 530px; margin-bottom: 0; color: #d9e2d8; font-size: 12px; line-height: 1.8; }
.cta-actions { position: relative; z-index: 1; flex-shrink: 0; }
.cta-actions small { display: block; margin-top: 11px; color: #d9e2d8; font-size: 9px; text-align: center; }
.cta-actions .phone-link { display: block; margin-top: 15px; color: var(--paper); font-size: 18px; text-align: center; }
.cta-actions > span { display: block; margin-top: 3px; color: #d9e2d8; font-size: 9px; text-align: center; }
.cta-panel .section-kicker { color: #e0e8ca; }
.cta-panel > svg, .cta-panel .cta-sun { position: absolute; top: -55px; left: 48%; width: 200px; height: 200px; color: #739282; opacity: .28; transform: rotate(12deg); }

/* Inner page frame */
.page-heading { padding: 36px 0 42px; border-bottom: 1px solid var(--line); }
.breadcrumb-nav { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-bottom: 34px; color: #7c8076; font-size: 10px; line-height: 1.6; }
.breadcrumb-nav a { color: var(--muted); }
.breadcrumb-nav span[aria-current] { color: var(--ink); }
.breadcrumb-nav svg { width: 9px; height: 9px; }
.page-title { max-width: 940px; margin-bottom: 0; font-size: clamp(36px,4.5vw,58px); font-weight: 800; line-height: 1.12; overflow-wrap: anywhere; }
.page-intro { max-width: 760px; margin-top: 20px; margin-bottom: 0; color: var(--muted); font-size: 15px; line-height: 1.85; }
.page-layout { padding-top: 44px; padding-bottom: 82px; }
.page-layout aside { padding-right: 28px; }
.section-nav { position: sticky; top: 122px; padding: 22px; border: 1px solid var(--line); border-radius: 15px; background: #faf7ed; }
.section-nav-title { display: block; margin-bottom: 13px; color: var(--green); font-size: 10px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.section-nav a { display: block; padding: 11px 0; border-top: 1px solid var(--line); color: var(--muted); font-size: 12px; line-height: 1.6; }
.section-nav a:hover, .section-nav a.is-active { color: var(--orange-dark); }
.section-nav a.is-active { font-weight: 800; }
.section-nav a.sidebar-signup { margin-top: 11px; color: var(--green); font-weight: 800; }
.sidebar-signup svg { width: 16px; height: 16px; margin-left: 5px; vertical-align: middle; }
.article-surface { min-width: 0; }
.article-heading { margin-bottom: 27px; padding-bottom: 21px; border-bottom: 1px solid var(--line); font-size: 29px; }
.article-surface > .prose > :first-child { margin-top: 0; }
.prose { color: #50574f; font-size: 14px; line-height: 1.95; overflow-wrap: break-word; }
.prose h1 { margin: 36px 0 22px; font-size: 38px; }
.prose h2 { margin: 34px 0 18px; font-size: 30px; }
.prose h3 { margin: 29px 0 16px; font-size: 24px; }
.prose h4 { margin: 24px 0 14px; font-size: 20px; }
.prose h5, .prose h6 { margin: 22px 0 12px; font-size: 17px; }
.prose p { margin-bottom: 19px; }
.prose strong, .prose b { color: var(--ink); }
.prose a { color: var(--green); text-decoration: underline; text-decoration-color: #bdcbb8; text-underline-offset: 3px; }
.prose a:hover { color: var(--orange-dark); text-decoration-color: var(--orange-dark); }
.prose a[href^='tel:'], .prose a[href^='mailto:'] { overflow-wrap: anywhere; }
.prose ul, .prose ol { margin: 0 0 23px; padding-left: 22px; }
.prose li { padding-left: 4px; margin-bottom: 8px; }
.prose li::marker { color: var(--orange); }
.prose li > ul, .prose li > ol { margin-top: 9px; margin-bottom: 12px; }
.prose blockquote { margin: 26px 0; padding: 18px 24px; border-left: 3px solid var(--orange); border-radius: 0 12px 12px 0; color: var(--green); background: #f3efdf; font-size: 17px; font-weight: 600; }
.prose blockquote > :last-child { margin-bottom: 0; }
.prose hr { margin: 32px 0; border-color: var(--line); }
.prose img { max-width: 100% !important; height: auto !important; margin: 5px 0 19px; border-radius: 13px; }
.prose p > img:only-child { display: block; margin: 8px auto 24px; }
.prose img[align='left'] { float: left; margin-right: 22px; margin-bottom: 15px; }
.prose img[align='right'] { float: right; margin-left: 22px; margin-bottom: 15px; }
.prose::after { display: block; clear: both; content: ''; }
.prose figure { max-width: 100%; margin: 24px 0; }
.prose figure img { margin: 0; }
.prose figcaption { margin-top: 8px; color: var(--muted); font-size: 11px; }
.prose iframe, .prose video { display: block; max-width: 100%; border: 0; border-radius: 13px; }
.prose iframe[src*='youtube'], .prose iframe[src*='youtu.be'], .prose iframe[src*='vk.com/video'] { width: 100%; aspect-ratio: 16 / 9; height: auto; }
.prose pre { max-width: 100%; padding: 18px; overflow-x: auto; border: 1px solid var(--line); border-radius: 12px; background: #f6f1e5; font-size: 12px; }
.prose table { display: block; width: 100% !important; max-width: 100%; margin: 24px 0; overflow-x: auto; border-collapse: collapse; border: 1px solid var(--line); border-radius: 12px; background: #fffefa; font-size: 12px; -webkit-overflow-scrolling: touch; }
.prose table th, .prose table td { min-width: 100px; padding: 13px 15px; border: 1px solid var(--line); text-align: left; vertical-align: top; }
.prose table th { color: var(--ink); background: #f1eddf; font-weight: 750; }
.prose table tr:nth-child(even) td { background: #fbf8ef; }
.prose table p:last-child { margin-bottom: 0; }
.prose table img { min-width: 50px; margin-bottom: 0; }
.prose [style*='width'], .prose [width] { max-width: 100%; }
.prose > center, .prose > div { max-width: 100%; }
.prose .lead { color: var(--ink); font-size: 18px; line-height: 1.7; }
.prose .document-link { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; padding: 16px 19px; border: 1px solid var(--line); border-radius: 12px; text-decoration: none; }
.prose .document-link:hover { border-color: var(--green); }
.content-notice { display: block; margin-bottom: 25px; padding: 16px 19px; border: 1px solid #ebdfbe; border-radius: 12px; color: #746447; background: #fcf5e0; font-size: 11px; line-height: 1.9; }
.content-notice > svg { display: inline-block; width: 17px; height: 17px; margin: 0 7px 2px 0; color: var(--green); vertical-align: middle; }
.content-notice > a { color: var(--green); font-weight: 700; white-space: nowrap; }
.article-date { color: var(--green); font-size: 11px; font-weight: 700; }
.prose #group { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 20px; margin-top: 20px; }
.prose #group > div { padding: 20px; border: 1px solid var(--line); border-radius: 16px; text-align: center; }
.prose #group img { display: block; max-height: 180px; margin: 0 auto 16px; object-fit: contain; }

/* Gallery, contacts, sign-up */
.gallery-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 17px; margin: 28px 0; }
.gallery-item { position: relative; display: block; padding: 0; overflow: hidden; border: 0; border-radius: 15px; background: var(--paper-warm); cursor: zoom-in; }
.gallery-item img { display: block; width: 100%; height: 205px; margin: 0; border-radius: 0; object-fit: cover; transition: transform .35s ease; }
.gallery-item:hover img { transform: scale(1.045); }
.gallery-item::after { position: absolute; inset: 0; border: 1px solid rgba(37,43,40,.06); border-radius: inherit; pointer-events: none; content: ''; }
.gallery-caption { display: block; padding: 10px 13px; color: var(--muted); font-size: 10px; line-height: 1.5; }
.contact-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 17px; margin-bottom: 28px; }
.contact-card { min-width: 0; padding: 24px; border: 1px solid var(--line); border-radius: 16px; background: #faf7ed; overflow-wrap: anywhere; }
.contact-label { display: block; margin-bottom: 10px; color: var(--green); font-size: 10px; font-weight: 750; letter-spacing: .08em; text-transform: uppercase; }
.contact-card h3 { margin-bottom: 10px; font-size: 21px; }
.contact-card p { margin-bottom: 7px; color: var(--muted); font-size: 13px; }
.contact-card a { font-weight: 750; }
.contact-card svg { width: 25px; height: 25px; margin-bottom: 15px; color: var(--orange); }
.contact-card > strong { display: block; font-size: 20px; letter-spacing: -.03em; }
.contact-bottom { display: flex; flex-wrap: wrap; align-items: center; gap: 17px; margin-top: 28px; padding-top: 24px; border-top: 1px solid var(--line); }
.contact-bottom > p { display: flex; align-items: flex-start; gap: 9px; width: 100%; margin-bottom: 0; color: var(--muted); font-size: 12px; }
.contact-bottom > p svg { width: 17px; height: 17px; margin-top: 2px; color: var(--green); }
.contact-map { width: 100%; height: 390px; margin-top: 28px; overflow: hidden; border: 1px solid var(--line); border-radius: 19px; background: #e9ebdd; }
.contact-map iframe { display: block; width: 100%; height: 100%; border: 0; }
.signup-layout { display: block; padding-top: 44px; padding-bottom: 82px; }
.signup-layout > .row { align-items: flex-start; }
.signup-form { padding: 29px; border: 1px solid var(--line); border-radius: 20px; background: #fffefa; }
.signup-form h2 { margin-bottom: 12px; font-size: 27px; }
.signup-form > p { margin-bottom: 23px; color: var(--muted); font-size: 12px; }
.signup-aside { padding-right: 15px; padding-left: 15px; }
.signup-aside-card { padding: 27px; border-radius: 20px; background: #fff0bb; overflow-wrap: anywhere; }
.signup-sun { display: block; width: 60px; height: 60px; margin-bottom: 23px; color: var(--orange); transform: rotate(10deg); }
.signup-aside h2, .signup-aside h3 { margin-bottom: 15px; font-size: 26px; }
.signup-aside p { color: #62604b; font-size: 12px; line-height: 1.85; }
.signup-aside .phone-link { font-size: 20px; }
.signup-aside-card > a { display: block; margin-top: 10px; font-size: 14px; line-height: 1.7; }
.signup-aside-card > .contact-caption { margin-top: 15px; font-size: 12px; }
.signup-aside .prose { font-size: 12px; }
.form-trap { position: absolute !important; width: 1px; height: 1px; padding: 0; overflow: hidden; clip: rect(0,0,0,0); clip-path: inset(50%); white-space: nowrap; border: 0; pointer-events: none; }
.form-group { margin-bottom: 19px; }
.form-group label { margin-bottom: 7px; color: var(--ink); font-size: 12px; font-weight: 750; }
.form-control { min-height: 48px; padding: 11px 13px; border: 1px solid #d9ddcf; border-radius: 9px; color: var(--ink); background: var(--paper); font-size: 13px; line-height: 1.8; box-shadow: none; }
.form-control:focus { border-color: var(--green); color: var(--ink); background: var(--paper); box-shadow: 0 0 0 3px rgba(56,105,90,.1); }
.form-control::placeholder { color: #969b90; opacity: 1; }
select.form-control { padding-right: 28px; }
textarea.form-control { min-height: 125px; resize: vertical; }
.form-text { display: block; margin-top: 8px; color: var(--muted); font-size: 10px; line-height: 1.7; }
.form-check { padding-left: 23px; }
.form-check-input { margin-top: .35em; margin-left: -23px; accent-color: var(--green); }
.form-check-label { color: var(--muted); font-size: 10px; line-height: 1.7; }
.form-check-label a { color: var(--green); text-decoration: underline; }
.signup-form .btn { margin-top: 7px; }
.alert { padding: 17px 20px; border: 1px solid; border-radius: 12px; font-size: 13px; line-height: 1.8; }
.alert-success { color: #315e45; border-color: #c9dbc8; background: #edf5e9; }
.alert-danger { color: #873c2b; border-color: #eed1c5; background: #fff0e8; }
.alert-info { color: #386166; border-color: #c9dee0; background: #eef6f5; }
.alert-warning { color: #6f5a25; border-color: #ecddb5; background: #fff6dc; }
.not-found { padding: 100px 24px; text-align: center; }
.not-found > strong { display: block; color: var(--orange); font-size: clamp(90px,18vw,180px); font-weight: 800; letter-spacing: -.08em; line-height: 1; }
.not-found h1 { margin: 22px 0 18px; font-size: 34px; }
.not-found p { max-width: 480px; margin: 0 auto 25px; color: var(--muted); font-size: 14px; }
.not-found > svg { width: 100px; height: 100px; margin-bottom: 25px; color: var(--yellow); }

/* Footer */
.site-footer { padding-top: 49px; border-top: 1px solid var(--line); background: #f7f4e9; }
.footer-top { display: grid; grid-template-columns: minmax(210px,1.35fr) minmax(120px,.7fr) minmax(145px,.9fr) minmax(190px,1fr); gap: 35px; margin-left: 0; margin-right: 0; padding-bottom: 38px; }
.footer-top > div { width: auto; max-width: none; padding-left: 0; padding-right: 0; flex: none; }
.footer-brand { max-width: 275px; }
.footer-brand .brand-symbol, .footer-brand .brand-symbol svg { width: 42px; height: 42px; }
.footer-brand .brand-name { font-size: 24px; }
.footer-brand > p { max-width: 215px; margin-top: 18px; margin-bottom: 0; color: var(--muted); font-size: 10px; line-height: 1.9; }
.footer-nav h3, .footer-contact h3 { margin-bottom: 16px; color: var(--green); font-size: 10px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.footer-nav a { display: block; margin-bottom: 8px; color: var(--muted); font-size: 11px; }
.footer-nav a:hover { color: var(--orange-dark); }
.footer-contact { max-width: 255px; }
.footer-city { display: inline-flex; align-items: center; gap: 5px; margin-top: 13px; color: var(--green); font-size: 10px; }
.footer-city svg { width: 13px; height: 13px; }
.footer-contact .phone-link { margin-bottom: 9px; font-size: 19px; }
.footer-contact p, .footer-contact > a:not(.phone-link) { display: block; margin-bottom: 7px; color: var(--muted); font-size: 10px; line-height: 1.8; }
.footer-contact a:hover { color: var(--orange-dark); }
.footer-contact .text-link svg { width: 15px; height: 15px; margin-left: 4px; vertical-align: middle; }
.footer-socials { display: flex; gap: 9px; margin-top: 14px; }
.footer-socials a { display: inline-flex; align-items: center; justify-content: center; width: 31px; height: 31px; border: 1px solid #d4d9c8; border-radius: 50%; color: var(--green); }
.footer-socials svg { width: 15px; height: 15px; }
.footer-bottom { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 20px 0; border-top: 1px solid #dedfd1; color: var(--muted); font-size: 9px; line-height: 1.7; }
.footer-bottom p { margin-bottom: 0; }
.footer-bottom a { text-decoration: underline; text-decoration-color: #c1c4b5; text-underline-offset: 3px; }
.footer-bottom-links { display: flex; gap: 17px; }
.back-to-top { position: fixed; z-index: 1020; right: 22px; bottom: 22px; display: flex; align-items: center; justify-content: center; width: 42px; height: 42px; border: 1px solid var(--line); border-radius: 50%; color: var(--green); background: var(--paper); box-shadow: 0 3px 10px rgba(37,43,40,.07); }
.back-to-top svg { width: 17px; height: 17px; }
.back-to-top[hidden] { display: none; }

/* Accessible photo viewer */
.lightbox { position: fixed; z-index: 2000; inset: 0; display: none; align-items: center; justify-content: center; padding: 60px 75px 75px; color: white; background: rgba(18,26,21,.94); }
.lightbox.is-open { display: flex; }
body.lightbox-open { overflow: hidden; }
.lightbox-dialog { position: relative; display: flex; align-items: center; justify-content: center; max-width: 1280px; width: 100%; height: 100%; }
.lightbox-dialog img { display: block; max-width: 100%; max-height: 100%; border-radius: 8px; object-fit: contain; }
.lightbox-close, .lightbox-prev, .lightbox-next { position: absolute; z-index: 1; display: flex; align-items: center; justify-content: center; width: 44px; height: 44px; padding: 10px; border: 1px solid rgba(255,255,255,.3); border-radius: 50%; color: white; background: rgba(255,255,255,.05); }
.lightbox-close:hover, .lightbox-prev:hover, .lightbox-next:hover { color: var(--ink); background: var(--paper); }
.lightbox-close { top: 17px; right: 20px; }
.lightbox-close { font-size: 30px; font-weight: 400; line-height: 1; }
.lightbox-prev, .lightbox-next { padding-bottom: 13px; font-size: 35px; font-weight: 400; line-height: 1; }
.lightbox-prev { top: calc(50% - 22px); left: 18px; }
.lightbox-next { top: calc(50% - 22px); right: 18px; }
.lightbox-close svg, .lightbox-prev svg, .lightbox-next svg { width: 22px; height: 22px; }
.lightbox-caption { position: fixed; right: 75px; bottom: 21px; left: 75px; margin: 0; font-size: 12px; line-height: 1.6; text-align: center; }

/* Responsive layouts */
@media (min-width: 1200px) {
  .mobile-nav { display: none !important; }
}

@media (max-width: 1199.98px) {
  .container { max-width: 1056px; }
  .desktop-nav { display: none; }
  .header-main { min-height: 86px; gap: 22px; }
  .header-contact { margin-left: auto; }
  .menu-toggle { display: inline-flex; }
  .header-signup { margin-left: -7px; }
  .hero { padding-top: 55px; }
  .hero-title { font-size: 49px; }
  .hero-visual { margin-left: 9px; }
  .hero-photo { height: 400px; }
  .hero-actions .btn { padding: 13px 18px; font-size: 12px; }
  .course-card { padding: 21px; }
  .course-card h3 { font-size: 21px; }
  .course-age { right: 18px; font-size: 8px; }
  .teacher-banner { grid-template-columns: 230px minmax(0,1fr); gap: 28px; }
  .teacher-photo { grid-row: auto; }
  .teacher-actions { grid-column: 2; margin-top: -15px; }
  .teacher-copy h2 { font-size: 28px; }
  .section-nav { top: 112px; }
  .signup-layout { grid-template-columns: 1fr; }
}

@media (max-width: 991.98px) {
  html { scroll-padding-top: 105px; }
  .container { max-width: 792px; }
  .section { padding: 65px 0; }
  .hero { padding-top: 42px; padding-bottom: 48px; }
  .hero > .container > .row { row-gap: 42px; }
  .hero-title { max-width: 610px; font-size: 57px; }
  .hero-description { max-width: 510px; font-size: 15px; }
  .hero-actions .btn { padding: 14px 24px; font-size: 14px; }
  .hero-visual { width: calc(100% - 26px); max-width: none; margin: 0 10px 6px; }
  .hero-photo { height: 420px; border-radius: 24px 24px 80px 24px; }
  .hero-photo img { object-position: center 40%; }
  .hero-caption { bottom: 25px; left: -11px; }
  .hello-sticker { left: 20px; }
  .floating-sun { right: -20px; }
  .sun-orbit { right: -20px; }
  .trust-grid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 24px 0; padding: 27px 0; }
  .trust-item { padding: 0 28px; }
  .trust-item:nth-child(3) { border-left: 0; padding-left: 0; }
  .trust-item strong { font-size: 14px; }
  .trust-item span { font-size: 11px; }
  .course-grid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 19px; }
  .course-card { min-height: 294px; padding: 27px; }
  .course-card h3 { max-width: 250px; font-size: 25px; }
  .course-card p { max-width: 220px; font-size: 12px; }
  .course-age { top: 27px; right: 25px; font-size: 10px; }
  .course-number { font-size: 11px; }
  .course-icon { margin-top: 18px; margin-bottom: 18px; }
  .additional-programs { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 0 25px; margin-top: 17px; }
  .additional-programs a { padding-top: 15px; font-size: 12px; }
  .card-arrow { right: 25px; bottom: 25px; }
  .about-section { padding-top: 25px; }
  .about-section .row { row-gap: 50px; }
  .about-visual { margin-right: 20px; }
  .about-visual > img { height: 380px; }
  .about-copy h2 { max-width: 580px; font-size: 38px; }
  .about-copy .prose { font-size: 14px; }
  .school-facts { max-width: 580px; gap: 25px; margin-top: 27px; }
  .fact-number { font-size: 30px; }
  .fact-label { max-width: 160px; font-size: 11px; }
  .detail-grid { gap: 24px; }
  .detail-card h3 { font-size: 22px; }
  .teacher-banner { grid-template-columns: 215px minmax(0,1fr); gap: 23px; padding: 23px; }
  .teacher-copy h2 { font-size: 26px; }
  .life-grid { gap: 17px; }
  .life-grid img { height: 190px; }
  .life-grid > a > span { font-size: 11px; }
  .news-section { padding-top: 25px; }
  .news-grid { gap: 26px; }
  .news-card h3 { font-size: 22px; }
  .cta-section { padding-top: 14px; padding-bottom: 65px; }
  .cta-panel { padding: 35px; }
  .cta-copy h2 { font-size: 33px; }
  .cta-actions .btn { padding: 13px 20px; font-size: 12px; }
  .page-heading { padding-bottom: 35px; }
  .page-title { font-size: 48px; }
  .page-layout { padding-top: 29px; padding-bottom: 65px; }
  .page-layout aside { padding-right: 15px; }
  .section-nav { position: static; margin-bottom: 31px; padding: 19px 22px; }
  .section-nav-title { margin-bottom: 9px; }
  .section-nav a { display: inline-block; margin-right: 17px; padding: 8px 0; border-top: 0; font-size: 12px; }
  .article-heading { font-size: 28px; }
  .signup-layout { grid-template-columns: minmax(0,1fr) minmax(220px,.65fr); gap: 23px; }
  .signup-form { padding: 24px; }
  .signup-aside { margin-top: 25px; }
  .signup-aside-card { padding: 25px; }
  .footer-top { grid-template-columns: repeat(3,minmax(0,1fr)); gap: 30px; }
  .footer-brand { flex: 0 0 calc(50% - 15px); max-width: none; }
  .footer-brand { grid-column: 1 / -1; }
  .footer-brand > p { max-width: 250px; }
  .footer-nav { flex: 0 0 calc(25% - 20px); }
  .footer-contact { max-width: 100%; }
  .footer-bottom { align-items: flex-start; font-size: 9px; }
}

@media (max-width: 767.98px) {
  .container { max-width: 600px; padding-left: 22px; padding-right: 22px; }
  .section { padding: 52px 0; }
  .announcement { font-size: 10px; }
  .announcement > .container { min-height: 34px; }
  .announcement-note { display: none; }
  .header-main { min-height: 77px; gap: 15px; }
  .brand-symbol, .brand-symbol svg { width: 42px; height: 42px; }
  .brand-name { font-size: 23px; }
  .brand-caption { font-size: 8px; }
  .header-contact .phone-link { font-size: 13px; }
  .header-contact .contact-caption { font-size: 9px; }
  .menu-toggle { width: 41px; height: 41px; }
  .header-signup { display: none; }
  .hero { padding-top: 34px; padding-bottom: 39px; }
  .hero > .container > .row { row-gap: 39px; }
  .eyebrow { margin-bottom: 18px; font-size: 9px; letter-spacing: .09em; }
  .hero-title { max-width: 510px; margin-bottom: 21px; font-size: clamp(39px,7.4vw,50px); line-height: 1.1; }
  .hero-description { max-width: 460px; margin-bottom: 23px; font-size: 13px; line-height: 1.85; }
  .hero-actions { gap: 9px; }
  .hero-actions .btn { min-height: 49px; padding: 12px 19px; font-size: 12px; }
  .hero-note { margin-top: 17px; font-size: 9px; }
  .hero-photo { height: 335px; border-radius: 21px 21px 65px 21px; }
  .hero-visual::before { right: -11px; bottom: -10px; border-radius: 21px 21px 65px 21px; }
  .hello-sticker { top: -15px; left: 13px; width: 112px; height: 63px; padding-top: 9px; padding-bottom: 9px; font-size: 24px; }
  .hello-sticker span { font-size: 8px; }
  .floating-sun { top: -27px; right: -19px; width: 83px; height: 83px; }
  .sun-orbit { top: -27px; right: -19px; width: 83px; height: 83px; }
  .hero-caption { bottom: 18px; left: -8px; max-width: 218px; padding: 13px 17px; font-size: 11px; }
  .hero-caption strong { font-size: 22px; }
  .hero-caption span { font-size: 9px; }
  .visual-dots { right: -20px; bottom: 7px; }
  .trust-grid { gap: 22px 0; padding: 23px 0; }
  .trust-item { gap: 10px; padding-right: 6px; padding-left: 19px; }
  .trust-icon { width: 27px; }
  .trust-icon svg { width: 27px; height: 27px; }
  .trust-item strong { font-size: 12px; }
  .trust-item span { font-size: 9px; }
  .section-heading { align-items: flex-start; gap: 18px; margin-bottom: 26px; }
  .section-kicker, .page-kicker { margin-bottom: 11px; font-size: 9px; }
  .section-heading h2, .section-title { font-size: 32px; }
  .section-heading p { margin-top: 13px; font-size: 12px; }
  .section-heading-actions { align-self: flex-end; }
  .section-heading-actions .text-link { font-size: 11px; gap: 7px; }
  .course-grid { gap: 14px; }
  .course-card { min-height: 278px; padding: 21px; border-radius: 16px; }
  .course-card h3 { font-size: 22px; }
  .course-card p { font-size: 11px; }
  .course-age { top: 21px; right: 18px; font-size: 8px; }
  .course-icon { width: 54px; height: 58px; margin: 19px 0 17px; }
  .course-icon + .course-number { font-size: 7px; }
  .card-arrow { right: 17px; bottom: 17px; width: 26px; height: 26px; }
  .about-section { padding-top: 15px; }
  .about-section .row { row-gap: 40px; }
  .about-visual { margin-right: 14px; }
  .about-visual > img { height: 310px; border-radius: 20px 65px 20px 20px; }
  .photo-label { right: -14px; bottom: -13px; padding: 13px 17px; font-size: 10px; }
  .about-copy h2 { margin-bottom: 19px; font-size: 32px; }
  .about-copy .prose { font-size: 13px; }
  .about-copy > p { font-size: 13px; }
  .school-facts { gap: 20px; margin-top: 25px; padding-top: 22px; }
  .fact-number { font-size: 28px; }
  .fact-label { font-size: 10px; }
  .home-details { padding-top: 13px; }
  .detail-grid { grid-template-columns: 1fr; gap: 25px; }
  .detail-card { padding-top: 22px; }
  .detail-card h3 { font-size: 24px; }
  .teacher-banner { grid-template-columns: 170px minmax(0,1fr); gap: 21px; padding: 21px; border-radius: 20px; }
  .teacher-photo { min-height: 190px; }
  .teacher-photo img { min-height: 190px; }
  .teacher-copy h2 { font-size: 23px; }
  .teacher-copy p { font-size: 11px; }
  .teacher-actions { margin-top: -8px; }
  .teacher-actions .btn { min-height: 44px; padding: 11px 15px; font-size: 11px; }
  .teacher-sun { width: 100px; height: 100px; right: -25px; bottom: -25px; }
  .school-life { padding-top: 15px; }
  .life-grid { grid-template-columns: 1fr; gap: 27px; }
  .life-grid img { height: 310px; }
  .life-grid > a > span { margin-top: 13px; font-size: 13px; }
  .visit-section { padding-bottom: 40px; }
  .visit-panel { display: block; padding: 29px 0; }
  .visit-copy h2 { font-size: 30px; }
  .visit-actions { margin-top: 23px; }
  .news-section { padding-top: 15px; }
  .news-grid { grid-template-columns: 1fr; gap: 29px; }
  .news-card { padding-top: 21px; }
  .news-date { margin-bottom: 12px; font-size: 9px; }
  .news-card h3 { font-size: 23px; }
  .news-card p { font-size: 12px; }
  .cta-section { padding-top: 12px; padding-bottom: 52px; }
  .cta-panel { display: block; padding: 30px; border-radius: 20px; }
  .cta-copy h2 { max-width: 420px; font-size: 32px; }
  .cta-copy p { font-size: 12px; }
  .cta-actions { display: inline-block; margin-top: 23px; }
  .cta-actions .btn { min-height: 49px; padding: 12px 23px; font-size: 12px; }
  .cta-actions small { font-size: 9px; }
  .cta-panel > svg, .cta-panel .cta-sun { top: auto; bottom: -35px; left: auto; right: -28px; width: 170px; height: 170px; }
  .page-heading { padding-top: 25px; padding-bottom: 29px; }
  .breadcrumb-nav { margin-bottom: 26px; font-size: 9px; }
  .page-title { font-size: 39px; }
  .page-intro { margin-top: 17px; font-size: 13px; }
  .page-layout { padding-top: 25px; padding-bottom: 52px; }
  .section-nav { margin-bottom: 28px; padding: 16px 19px; }
  .section-nav a { margin-right: 15px; font-size: 11px; }
  .article-heading { margin-bottom: 23px; padding-bottom: 18px; font-size: 26px; }
  .prose { font-size: 13px; line-height: 1.9; }
  .prose h1 { font-size: 31px; }
  .prose h2 { margin-top: 28px; font-size: 27px; }
  .prose h3 { margin-top: 25px; font-size: 22px; }
  .prose h4 { font-size: 19px; }
  .prose .lead { font-size: 16px; }
  .prose table { font-size: 11px; }
  .prose table td, .prose table th { padding: 10px 12px; }
  .prose blockquote { padding: 15px 20px; font-size: 15px; }
  .gallery-grid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 13px; }
  .gallery-item img { height: 190px; }
  .contact-grid { gap: 13px; }
  .contact-card { padding: 21px; }
  .contact-card h3 { font-size: 19px; }
  .contact-card p { font-size: 12px; }
  .contact-map { height: 330px; }
  .signup-layout { grid-template-columns: 1fr; }
  .signup-aside { order: 2; }
  .site-footer { padding-top: 36px; }
  .footer-top { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 30px 20px; padding-bottom: 30px; }
  .footer-brand { flex-basis: 100%; }
  .footer-brand > p { max-width: 400px; margin-top: 14px; }
  .footer-nav { flex-basis: calc(50% - 15px); }
  .footer-contact { flex-basis: 100%; }
  .footer-contact { grid-column: 1 / -1; }
  .footer-contact h3 { margin-bottom: 10px; }
  .footer-bottom { display: block; padding: 18px 0; }
  .footer-bottom-links { margin-top: 9px; gap: 15px; }
  .back-to-top { right: 15px; bottom: 15px; width: 38px; height: 38px; }
  .lightbox { padding: 70px 15px 105px; }
  .lightbox-dialog img { border-radius: 5px; }
  .lightbox-close { right: 15px; top: 15px; }
  .lightbox-prev { top: auto; bottom: 24px; left: calc(50% - 54px); }
  .lightbox-next { top: auto; bottom: 24px; right: calc(50% - 54px); }
  .lightbox-caption { bottom: 78px; left: 22px; right: 22px; font-size: 10px; }
}

@media (max-width: 479.98px) {
  .container { padding-left: 20px; padding-right: 20px; }
  .announcement > .container { min-height: 31px; }
  .announcement { font-size: 9px; }
  .header-main { min-height: 73px; gap: 10px; }
  .brand { gap: 8px; }
  .brand-symbol, .brand-symbol svg { width: 38px; height: 38px; }
  .brand-name { font-size: 22px; }
  .brand-caption { max-width: 155px; font-size: 7px; letter-spacing: .02em; }
  .header-contact { display: none; }
  .menu-toggle { margin-left: auto; width: 39px; height: 39px; }
  .mobile-nav .mobile-subnav { grid-template-columns: 1fr; gap: 0; }
  .mobile-nav .mobile-subnav a { font-size: 12px; }
  .hero { padding-top: 29px; padding-bottom: 35px; }
  .hero > .container > .row { row-gap: 35px; }
  .eyebrow { max-width: 100%; gap: 7px; margin-bottom: 16px; font-size: 8px; letter-spacing: .075em; }
  .hero-title { margin-bottom: 20px; font-size: clamp(36px,10.4vw,46px); letter-spacing: -.06em; line-height: 1.1; }
  .hero-description { font-size: 12px; }
  .hero-actions { align-items: stretch; }
  .hero-actions .btn { min-height: 47px; padding: 12px 14px; font-size: 10px; gap: 7px; }
  .hero-actions .btn svg { width: 15px; height: 15px; }
  .hero-note { align-items: flex-start; font-size: 8px; }
  .hero-note svg { width: 13px; height: 13px; margin-top: 1px; }
  .hero-visual { width: calc(100% - 13px); margin-left: 4px; margin-right: 9px; }
  .hero-photo { height: 286px; border-radius: 19px 19px 57px 19px; }
  .hero-visual::before { left: 20px; top: 20px; right: -8px; bottom: -10px; border-radius: 19px 19px 57px 19px; }
  .hello-sticker { top: -14px; left: 12px; width: 106px; height: 58px; padding-top: 8px; padding-bottom: 8px; font-size: 23px; border-width: 2px; border-radius: 12px; }
  .hello-sticker span { font-size: 8px; }
  .floating-sun { width: 71px; height: 71px; right: -14px; top: -21px; }
  .sun-orbit { width: 71px; height: 71px; right: -14px; top: -21px; }
  .hero-caption { max-width: 195px; padding: 11px 14px; font-size: 10px; }
  .hero-caption strong { font-size: 20px; }
  .hero-caption span { font-size: 8px; }
  .visual-dots { right: -14px; width: 48px; }
  .trust-grid { gap: 22px 0; padding: 23px 0; }
  .trust-item { gap: 8px; padding-left: 13px; }
  .trust-icon { width: 24px; }
  .trust-icon svg { width: 24px; height: 24px; }
  .trust-item strong { font-size: 10px; }
  .trust-item span { margin-top: 3px; font-size: 8px; line-height: 1.5; }
  .section { padding: 43px 0; }
  .section-heading { display: block; margin-bottom: 24px; }
  .section-heading h2, .section-title { font-size: 30px; }
  .section-heading-actions { margin-top: 16px; padding-bottom: 0; }
  .section-heading-actions .text-link { font-size: 11px; }
  .course-grid { gap: 11px; }
  .course-card { min-height: 283px; padding: 17px 14px; border-radius: 15px; }
  .course-number { font-size: 9px; }
  .course-age { top: 17px; right: 12px; padding: 3px 6px; font-size: 7px; }
  .course-icon { width: 46px; height: 51px; margin-top: 22px; margin-bottom: 17px; }
  .course-icon + .course-number { min-height: 22px; margin-bottom: 8px; font-size: 6px; letter-spacing: 0; }
  .course-card h3 { margin-bottom: 10px; font-size: 19px; line-height: 1.2; letter-spacing: -.045em; }
  .course-card p { max-width: 140px; margin-bottom: 29px; font-size: 10px; line-height: 1.7; }
  .card-arrow { right: 13px; bottom: 14px; width: 24px; height: 24px; }
  .card-arrow svg { width: 12px; height: 12px; }
  .about-section { padding-top: 13px; }
  .about-visual { margin-right: 12px; }
  .about-visual > img { height: 255px; border-radius: 18px 55px 18px 18px; }
  .photo-label { right: -12px; bottom: -12px; gap: 9px; max-width: 215px; padding: 11px 14px; font-size: 9px; }
  .photo-label svg { width: 28px; height: 28px; }
  .about-copy h2 { font-size: 30px; }
  .about-copy .prose { font-size: 12px; }
  .about-copy > p { font-size: 12px; }
  .school-facts { gap: 14px; }
  .fact-number { font-size: 25px; }
  .fact-label { font-size: 9px; }
  .feature-list { gap: 19px; }
  .feature-item { gap: 11px; }
  .feature-item strong { font-size: 12px; }
  .feature-item p { font-size: 11px; }
  .home-details { padding-top: 10px; }
  .teacher-banner { grid-template-columns: 1fr; gap: 23px; padding: 19px; border-radius: 18px; }
  .teacher-photo { grid-row: auto; max-height: 245px; }
  .teacher-photo img { max-height: 245px; object-position: center 27%; }
  .teacher-copy h2 { font-size: 26px; }
  .teacher-copy p { font-size: 12px; }
  .teacher-actions { grid-column: auto; margin-top: -8px; }
  .teacher-actions .btn { font-size: 12px; }
  .school-life { padding-top: 13px; }
  .life-grid img { height: 245px; }
  .visit-section { padding-bottom: 32px; }
  .visit-copy h2 { font-size: 28px; }
  .visit-copy p.visit-address { font-size: 17px; }
  .news-section { padding-top: 13px; }
  .news-card h3 { font-size: 22px; }
  .cta-section { padding-top: 10px; padding-bottom: 43px; }
  .cta-panel { padding: 27px 23px; border-radius: 18px; }
  .cta-copy h2 { font-size: 29px; }
  .cta-copy p { font-size: 11px; }
  .page-heading { padding-top: 22px; padding-bottom: 26px; }
  .breadcrumb-nav { gap: 6px; margin-bottom: 23px; font-size: 8px; }
  .page-title { font-size: 34px; line-height: 1.15; }
  .page-intro { font-size: 12px; }
  .page-layout { padding-top: 22px; padding-bottom: 43px; }
  .section-nav { padding: 15px 17px; }
  .section-nav-title { font-size: 9px; }
  .section-nav a { margin-right: 13px; font-size: 10px; }
  .article-heading { font-size: 24px; }
  .prose { font-size: 12px; line-height: 1.9; }
  .prose h1 { font-size: 28px; }
  .prose h2 { font-size: 25px; }
  .prose h3 { font-size: 21px; }
  .prose h4 { font-size: 18px; }
  .prose img[align='left'], .prose img[align='right'] { float: none; display: block; margin-right: auto; margin-left: auto; }
  .prose table { margin: 20px 0; font-size: 10px; }
  .prose table th, .prose table td { min-width: 90px; padding: 9px 10px; }
  .prose blockquote { padding: 14px 17px; font-size: 14px; }
  .gallery-grid { gap: 10px; }
  .gallery-item { border-radius: 10px; }
  .gallery-item img { height: 145px; }
  .gallery-caption { padding: 8px 10px; font-size: 9px; }
  .contact-grid { grid-template-columns: 1fr; gap: 12px; }
  .contact-card { padding: 21px; border-radius: 14px; }
  .contact-card > strong { font-size: 20px; }
  .contact-map { height: 290px; border-radius: 15px; }
  .signup-form { padding: 22px 19px; border-radius: 16px; }
  .signup-form h2 { font-size: 25px; }
  .signup-form .btn { width: 100%; }
  .signup-aside-card { padding: 23px; border-radius: 16px; }
  .form-group label { font-size: 11px; }
  .form-control { font-size: 16px; }
  .footer-brand .brand-symbol, .footer-brand .brand-symbol svg { width: 39px; height: 39px; }
  .footer-brand .brand-name { font-size: 23px; }
  .footer-nav { flex-basis: calc(50% - 11px); }
  .footer-nav h3, .footer-contact h3 { margin-bottom: 13px; font-size: 9px; }
  .footer-nav a { font-size: 10px; }
  .footer-contact p, .footer-contact > a:not(.phone-link) { font-size: 10px; }
  .footer-bottom { font-size: 8px; }
  .footer-bottom-links { display: block; }
  .footer-bottom-links a { display: block; margin-top: 5px; }
  .not-found { padding: 70px 0; }
  .not-found h1 { font-size: 29px; }
}

/* Keep reading text comfortable at every viewport; only metadata is compact. */
.prose, .about-copy .prose, .signup-aside .prose { font-size: 15px; }
.hero-description, .about-copy > p, .feature-item p, .detail-card p,
.teacher-copy p, .news-card p, .cta-copy p, .signup-aside p,
.signup-form > p, .contact-card p, .section-heading p { font-size: 14px; }
.course-card p { font-size: 14px; line-height: 1.7; }
.feature-item strong { font-size: 14px; }
.trust-item strong { font-size: 13px; }
.trust-item span { font-size: 11px; line-height: 1.6; }
.fact-label, .form-group label, .form-text, .form-check-label { font-size: 12px; }
.section-nav a { font-size: 12px; }
.detail-card .text-link, .teacher-copy .text-link, .news-card .text-link,
.visit-actions .text-link, .additional-programs a { font-size: 13px; }
.content-notice, .source-note { font-size: 12px; }
.page-intro, .contact-bottom > p { font-size: 14px; }
.hero-note { font-size: 11px; }
.alert { font-size: 14px; }
.mobile-nav.collapse.show { max-height: calc(100vh - 90px); max-height: calc(100dvh - 90px); overflow-y: auto; overscroll-behavior: contain; }
.prose .gallery-item img { height: 205px !important; margin: 0; }
.prose .table-responsive > table { display: table; width: 100% !important; max-width: none; overflow: visible; }
.table-responsive:focus-visible { outline-offset: 2px; }

@media (max-width: 479.98px) {
  .hero-actions .btn { font-size: 12px; }
  .trust-item { align-items: flex-start; }
  .trust-item .trust-icon { margin-top: 2px; }
  .course-card { min-height: 335px; }
  .contact-card > strong { font-size: 19px; }
  .prose .gallery-item img { height: 155px !important; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .btn:hover, .course-card:hover, .gallery-item:hover img { transform: none; }
}

@media print {
  body { color: black; background: white; font-family: Arial,sans-serif; font-size: 11pt; }
  .announcement, .site-header, .site-footer, .section-nav, .back-to-top, .lightbox, .cta-section, .hero-actions, .teacher-actions { display: none !important; }
  .container { max-width: none; width: 100%; padding: 0; }
  .section, .page-layout, .page-heading { padding: 15px 0; }
  .page-layout main { max-width: 100%; flex: 0 0 100%; }
  .prose table { display: table; overflow: visible; }
  h1, h2, h3, img, tr { break-inside: avoid; }
  a { color: black; }
}
