/* Дополнительные переменные и элементы палитры «Кирпичный + лён», не входящие в styles.css */
:root {
  --secondary: #82463c;
  --tint: #ecddd1;
  --warm-tint: #f0e2d4;
}
.brand-emblem {
  display: block;
  flex-shrink: 0;
  overflow: hidden;
  width: 66px;
  height: 60px;
  background: url("../images/logo-emblem.png") left center / auto 100%
    no-repeat;
}
.brand-caption {
  color: var(--ink);
}
.today,
.photo-caption,
.contact,
.news-art-exams {
  background: var(--secondary);
  color: #fff;
}
.teacher-monogram,
.news-art-science {
  background: var(--tint);
  color: var(--secondary);
}
.news-art-memory {
  background: var(--warm-tint);
  color: var(--green);
}
.contact-grid > div > p {
  color: #fff;
}
.contact address > div > span {
  color: rgba(255, 255, 255, 0.62);
}
.world-card h3 {
  border-color: var(--line);
}
.hero-actions .cream {
  background: var(--green);
  color: white;
}
.hero-actions .cream:hover {
  background: var(--deep);
}
.hero-shade {
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.58), rgba(0, 0, 0, 0.1) 60%),
    linear-gradient(0deg, rgba(0, 0, 0, 0.34), transparent 60%);
}
.gallery-item span {
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.76));
}
:focus-visible {
  outline: 3px solid var(--green);
  outline-offset: 4px;
}
.hero :focus-visible,
.contact :focus-visible {
  outline-color: #fff;
}
html[data-a11y="contrast"] {
  --green: #000;
  --deep: #000;
  --secondary: #000;
  --ink: #000;
  --muted: #222;
  --paper: #fff;
  --cream: #fff;
  --line: #555;
  --tint: #eee;
  --warm-tint: #eee;
}
html[data-a11y="contrast"] .news-art-memory {
  color: #000;
}
@media (max-width: 650px) {
  .brand-emblem {
    width: 46.2px;
    height: 42px;
    background-size: auto 100%;
  }
  .header .brand-caption {
    max-width: 145px;
  }
  .hero-shade {
    background: linear-gradient(
      0deg,
      rgba(0, 0, 0, 0.88),
      rgba(0, 0, 0, 0.48) 42%,
      rgba(0, 0, 0, 0.02) 80%
    );
  }
}
@media (max-width: 360px) {
  .header .brand-emblem {
    width: 36.3px;
    height: 33px;
    background-size: auto 100%;
  }
  .header .brand-caption {
    max-width: 125px;
  }
}
.news-art-memory {
  color: var(--deep);
}

/* Выразительность в существующей палитре: кирпичный, лён, антиква. */
.eyebrow { display: block; margin-bottom: 22px; font: 700 12px/1.4 var(--sans); letter-spacing: .12em; text-transform: uppercase; color: var(--green); }
h2 em, .hero h1 em { font-weight: 400; }
.home-page .hero { margin: 14px 14px 0; border-radius: 24px; min-height: 720px; height: min(820px, 92svh); }
.home-page .hero-copy { left: calc(var(--gutter) - 14px); bottom: 62px; }
.home-page .hero-eyebrow { color: var(--paper); margin-bottom: 24px; }
.home-page .hero-shade { background: linear-gradient(90deg, rgba(34,24,21,.86), rgba(34,24,21,.45) 47%, rgba(34,24,21,.06) 78%), linear-gradient(0deg, rgba(34,24,21,.46), transparent 60%); }
.home-page .hero h1 { font-size: clamp(64px, 6.7vw, 100px); }
.home-page .today { width: 264px; right: 32px; bottom: 32px; padding: 19px; border: 1px solid #fffbf338; }
.home-page .today-heading { font-size: 23px; }
.home-page .today img { height: 150px; }
.school-ribbon { display: flex; align-items: center; justify-content: space-between; gap: 22px; padding-block: 27px; border-bottom: 1px solid var(--line); font-size: 14px; }
.school-ribbon > span { display: flex; gap: 12px; align-items: center; }
.school-ribbon > span::before { content: ''; width: 5px; height: 5px; background: var(--green); border-radius: 50%; }
.school-ribbon a { color: var(--green); }
.home-page .world { padding-block: 76px 90px; gap: 25px; }
.home-page .world-intro { padding-top: 12px; padding-right: 18px; }
.home-page .world-card { background: var(--cream); padding: 12px 12px 25px; border-radius: 14px; }
.home-page .world-card:nth-child(3) { background: var(--tint); }
.home-page .world-card .image-frame { border-radius: 8px; }
.home-page .world-card img { height: 200px; }
.home-page .world-card h3 { margin: 20px 10px 0; border: 0; }
.world-description { margin: 4px 10px 0; font-size: 15px; line-height: 1.5; color: var(--muted); }
.growth-section { padding-block: 80px; background: var(--secondary); color: var(--paper); overflow: hidden; }
.growth-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 9%; align-items: center; }
.growth-section .eyebrow { color: var(--paper); opacity: .8; }
.growth-copy h2 { font-size: clamp(50px, 5.4vw, 78px); line-height: 1.05; }
.growth-copy h2 em { color: var(--cream); }
.growth-copy > p { max-width: 390px; margin: 28px 0; font-size: 18px; }
.growth-copy .text-link { border-bottom: 1px solid #fffbf380; padding-bottom: 9px; gap: 40px; }
.growth-story { padding-top: 30px; }
.growth-story figure { transform: rotate(3deg); padding: 13px 13px 0; background: var(--cream); color: var(--ink); }
.growth-story img { aspect-ratio: 1.25; object-fit: cover; }
.growth-story figcaption { padding: 17px 8px; font: 17px var(--serif); }
.growth-note { display: flex; align-items: center; gap: 24px; margin: 32px 20px 0; }
.growth-note > span { font: italic 96px/1 var(--serif); color: var(--cream); }
.growth-note p { font: 23px/1.35 var(--serif); }
.growth-section :focus-visible { outline-color: var(--paper); }
.home-page .about { gap: 7%; }
.home-page .about-picture img { border-radius: 180px 180px 12px 12px; }
.home-page .photo-caption { left: 24px; right: -24px; bottom: 25px; border-radius: 12px; padding: 25px 30px; }
.home-page .approach-title { color: var(--green); font-weight: 700; }
.home-page .team-section { background: var(--cream); }
.home-page .teacher { background: var(--paper); padding: 26px 22px; border-radius: 12px; border-top: 3px solid var(--green); }
.home-page .teacher-initials { width: 72px; height: 82px; aspect-ratio: auto; border-radius: 40px 40px 8px 8px; font: 27px var(--serif); margin-bottom: 26px; }
.home-page .teacher-tenure { margin-top: auto; padding-top: 24px; }
.home-page .teacher p { margin-bottom: 10px; }
.home-page .team-grid { gap: 18px; }
.home-page .news-art { border-radius: 12px; }
.home-page .news-card { padding-bottom: 25px; border-bottom: 1px solid var(--line); }
.home-page .gallery-section { background: var(--ink); color: var(--paper); }
.home-page .gallery-section .eyebrow, .home-page .gallery-section .section-heading p { color: var(--cream); }
.home-page .gallery-item { border-radius: 10px; }
.home-page .gallery-section :focus-visible { outline-color: var(--paper); }
.home-page .kindergarten { padding-bottom: 70px; }
.home-page .kindergarten > img { border-radius: 120px 12px 12px 12px; }
.visit-section { display: grid; grid-template-columns: 1fr 1fr; gap: 9%; border-top: 1px solid var(--line); }
.visit-intro h2 { font-size: clamp(36px, 3.8vw, 55px); }
.visit-intro h2 em { color: var(--green); }
.visit-intro p { max-width: 390px; margin: 24px 0; color: var(--muted); }
.visit-questions details { border-bottom: 1px solid var(--line); padding: 25px 0; }
.visit-questions details:first-child { border-top: 1px solid var(--line); }
.visit-questions summary { display: flex; align-items: center; gap: 17px; cursor: pointer; font: 23px/1.3 var(--serif); list-style: none; }
.visit-questions summary::-webkit-details-marker { display: none; }
.visit-questions summary > span { font: 14px var(--sans); color: var(--green); }
.visit-questions summary::after { content: '+'; margin-left: auto; color: var(--green); }
.visit-questions details[open] summary::after { content: '−'; }
.visit-questions details p { padding: 20px 25px 0 35px; color: var(--muted); }
.visit-questions details a { color: var(--green); text-decoration: underline; }
.home-page .contact { margin: 0 14px; border-radius: 24px; }
.contact address > div > span { color: var(--cream); }
/* Общие акценты внутренних страниц. */
/* Монограмма педагога (инициалы в арочной плашке) — базовый вид для любой
   страницы; .home-page переопределяет лишь мелкие отступы под свою сетку. */
.teacher-initials {
  width: 72px;
  height: 82px;
  aspect-ratio: auto;
  border-radius: 40px 40px 8px 8px;
  background: var(--tint);
  color: var(--secondary);
  display: grid;
  place-items: center;
  font: 27px var(--serif);
  margin-bottom: 22px;
}
.staff-card .teacher-initials {
  width: 100%;
  height: auto;
  aspect-ratio: 3/4;
  margin-bottom: 0;
}
.leader-mark {
  font: 34px var(--serif);
  border-radius: 40px 40px 10px 10px;
}
.page-header h1 { color: var(--deep); }
.page-header:not(.tint) { border-bottom: 1px solid var(--line); }
.page-header.split .image-frame { border-radius: 100px 12px 12px 12px; }
.page-header.tint { background: var(--tint); }
.crumbs { font-size: 13px; }
@media (max-width: 1100px) {
  .school-ribbon { flex-wrap: wrap; }
  .school-ribbon > span:nth-child(3) { display: none; }
  .home-page .world { grid-template-columns: repeat(3, 1fr); }
  .home-page .world-intro { grid-column: 1 / -1; display: grid; grid-template-columns: 1fr 1fr; gap: 0 35px; }
  .home-page .world-intro .eyebrow { grid-column: 1 / -1; }
  .home-page .world-intro p { margin-top: 0; max-width: 100%; }
  .home-page .team-grid { grid-template-columns: repeat(2, 1fr); }
  .home-page .today { width: 230px; }
  .home-page .hero-copy { max-width: 66%; }
  .growth-grid { gap: 6%; }
}
@media (max-width: 650px) {
  .home-page .hero { margin: 0; border-radius: 0 0 22px 22px; min-height: 690px; height: 92svh; max-height: 820px; }
  .home-page .hero-copy { left: var(--gutter); right: var(--gutter); bottom: 42px; max-width: none; }
  .home-page .hero h1 { font-size: clamp(43px, 10.5vw, 68px); }
  .home-page .hero-eyebrow { font-size: 10px; margin-bottom: 18px; }
  .home-page .hero-shade { background: linear-gradient(0deg, rgba(34,24,21,.94), rgba(34,24,21,.45) 65%, rgba(34,24,21,.12)); }
  .school-ribbon { font-size: 12px; gap: 12px; padding-block: 22px; }
  .school-ribbon > span:nth-child(2) { display: none; }
  .home-page .world { grid-template-columns: 1fr; padding-block: 46px 55px; gap: 16px; }
  .home-page .world-intro { display: block; padding: 0 0 12px; }
  .home-page .world-intro p { margin-top: 18px; }
  .home-page .world-card { display: grid; grid-template-columns: 105px 1fr; gap: 0 14px; padding: 12px; align-items: center; }
  .home-page .world-card .image-frame { grid-row: span 2; }
  .home-page .world-card img { height: 130px; }
  .home-page .world-card h3 { margin: 0; font-size: 23px; padding: 0; }
  .home-page .world-description { margin: 6px 0 0; font-size: 14px; }
  .growth-section { padding-block: 55px; }
  .growth-grid, .visit-section { grid-template-columns: 1fr; gap: 35px; }
  .growth-copy h2 { font-size: 53px; }
  .growth-story { padding: 0 9px; }
  .growth-note { margin-inline: 0; gap: 18px; }
  .growth-note p { font-size: 21px; }
  .home-page .photo-caption { left: 12px; right: -8px; padding: 20px; }
  .home-page .about-picture img { border-radius: 140px 140px 12px 12px; }
  .home-page .team-grid { grid-template-columns: 1fr; }
  .home-page .teacher { display: grid; grid-template-columns: 64px 1fr; gap: 0 18px; padding: 23px 18px; }
  .home-page .teacher-initials { grid-row: span 3; width: 64px; height: 76px; margin: 0; }
  .home-page .teacher h3 { font-size: 21px; }
  .home-page .teacher p { min-height: 0; }
  .home-page .teacher-tenure { padding-top: 5px; }
  .visit-questions summary { font-size: 21px; }
  .home-page .contact { margin-inline: 8px; border-radius: 18px; }
  .home-page .contact .container { padding-inline: 22px; }
}
@media (prefers-reduced-motion: reduce) { .growth-story figure { transform: none; } }
html[data-a11y="contrast"] .growth-section, html[data-a11y="contrast"] .home-page .gallery-section { background: #000; color: #fff; }
html[data-a11y="contrast"] .growth-story figure { transform: none; }
@media (min-width: 651px) and (max-width: 900px) {
  .home-page .today { display: none; }
  .home-page .hero-copy { max-width: 85%; }
}
@media (max-width: 650px) {
  .contact-grid > * { min-width: 0; }
  .contact h2 { font-size: clamp(34px, 9vw, 46px); overflow-wrap: break-word; }
}

/* Внутренние страницы: единая палитра, разные композиции. */
.inner-page .page-header { padding-bottom: 60px; margin-bottom: 48px; border-bottom: 0; position: relative; }
.inner-page .page-header::after { content: ''; position: absolute; height: 1px; background: var(--line); bottom: 0; left: var(--gutter); right: var(--gutter); }
.inner-page .page-header h1 { max-width: 1000px; line-height: 1.08; }
.inner-page h1 em { font-weight: 400; }
.inner-page .page-header .eyebrow { margin: 28px 0 18px; }
.inner-page .page-header.split { align-items: center; gap: 7%; }
.inner-page .page-header.split .image-frame { padding: 12px; background: var(--cream); border-radius: 160px 160px 14px 14px; }
.inner-page .page-header.split .image-frame img { height: 390px; border-radius: 150px 150px 8px 8px; }
.inner-page .page-header .lead { max-width: 580px; }
.inner-page .contact { margin: 0 14px; border-radius: 22px; padding-block: 70px; }
.inner-page .contact h2 { font-size: clamp(36px, 4.3vw, 62px); }
.visit-aside { border-left: 1px solid #fffbf34d; padding-left: 50px; align-self: center; }
.visit-aside .eyebrow { color: var(--cream); }
.visit-aside h3 { font-size: 34px; }
.visit-aside p { margin: 22px 0; max-width: 350px; }
.visit-aside > a { display: inline-block; font-size: 22px; border-bottom: 1px solid #fffbf380; padding-bottom: 7px; }
.inner-page .contact :focus-visible { outline-color: var(--paper); }
/* О школе: принципы как заметки на полях, руководство как отдельная встреча. */
.principles-section { display: grid; grid-template-columns: .85fr 1.15fr; column-gap: 8%; padding-top: 20px; }
.principles-section .section-heading { grid-row: span 3; align-self: start; }
.principles-section .disclosure { padding-inline: 24px; background: var(--cream); border-radius: 12px; border: 0; margin-bottom: 12px; }
.principles-section .disclosure[open] { background: var(--tint); }
.principles-section .disclosure-body { padding-left: 0; }
.leadership-section { display: grid; grid-template-columns: .85fr 1.15fr; gap: 8%; align-items: center; }
.leadership-section .section-heading { margin: 0; }
.leadership-section .leader { background: var(--secondary); color: var(--paper); padding: 36px; }
.leadership-section .leader .role { color: var(--cream); }
.leadership-section .leader p:last-child { color: var(--paper); }
.inner-page .team-grid { gap: 20px; }
.inner-page .teacher { padding: 26px 22px; border: 1px solid var(--line); border-top: 3px solid var(--green); border-radius: 12px; background: var(--paper); min-width: 0; }
.inner-page .teacher h3 { font-size: 22px; overflow-wrap: anywhere; }
.inner-page .teacher-tenure { margin-top: auto; padding-top: 22px; }
.inner-page .teacher p { margin-bottom: 10px; }
.director-section { padding-top: 0; padding-bottom: 70px; }
.director-letter { max-width: none; padding: 44px 60px; grid-template-columns: 120px 1fr; gap: 50px; background: var(--secondary); color: var(--paper); }
.director-letter .leader-mark { height: 140px; font-size: 42px; }
.director-letter .eyebrow, .director-letter .role { color: var(--cream); }
.director-letter blockquote { max-width: 800px; font-size: clamp(24px, 2.5vw, 34px) !important; }
.inner-page .stagefilter { padding: 14px; border-radius: 14px; background: var(--cream); }
.inner-page .stagefilter button { min-height: 44px; }
/* Детский сад: игровая типографика вместо повторной школьной фотографии. */
.preschool-feature { align-items: start; padding-top: 20px; }
.preschool-feature .feature-list { list-style: none; padding: 0; grid-template-columns: 1fr 1fr; gap: 16px; }
.preschool-feature .feature-list li { padding: 22px; background: var(--cream); border-radius: 12px; }
.preschool-feature .feature-list li::before { display: none; }
.preschool-feature .feature-list strong { color: var(--deep); font: 23px/1.2 var(--serif); margin-bottom: 12px; }
.preschool-note { padding: 50px 42px; border-radius: 160px 160px 16px 16px; background: var(--secondary); color: var(--paper); text-align: center; }
.preschool-note .eyebrow { color: var(--cream); margin-top: 45px; }
.preschool-note h2 { font-size: clamp(40px, 4vw, 62px); line-height: 1.12; }
.preschool-note p { margin: 28px auto; max-width: 320px; }
.preschool-note .text-link { font-size: 15px; text-decoration: underline; text-underline-offset: 6px; }
.preschool-note :focus-visible { outline-color: var(--paper); }
/* Новости: один главный материал, далее спокойная лента. */
.news-page:not(.news-detail) .news-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 36px; }
.news-page .news-card { padding: 24px; border-radius: 16px; background: var(--cream); }
.news-page .news-art { border-radius: 10px; }
.news-page .news-featured { grid-column: 1 / -1; display: grid; grid-template-columns: 1.1fr 1fr; column-gap: 40px; background: var(--secondary); color: var(--paper); padding: 32px; }
.news-page .news-featured > a:first-child { grid-row: span 4; }
.news-page .news-featured .news-art { height: 100%; min-height: 300px; background: var(--cream); color: var(--deep); }
.news-page .news-featured h3 { font-size: clamp(30px, 3.5vw, 48px); }
.news-page .news-featured time, .news-page .news-featured p { color: var(--cream); }
.news-page .news-featured .text-link { align-self: end; }
.news-page .news-featured :focus-visible { outline-color: var(--paper); }
.news-detail .page-header { padding-bottom: 48px !important; background: var(--cream); margin-bottom: 0; }
.news-detail .article { max-width: 860px; }
.news-detail .article .body { max-width: 700px; margin-inline: auto; font-size: 20px; }
.news-detail .article .body > p:first-child { font: 26px/1.5 var(--serif); color: var(--deep); }
.news-detail .article .meta { padding-bottom: 16px; border-bottom: 1px solid var(--line); }
/* Галерея: большой первый кадр и два меньших рядом. */
.gallery-page .album-grid { grid-template-columns: 1.35fr 1fr; gap: 30px; }
.gallery-page .album-card { padding: 14px 14px 22px; background: var(--cream); border-radius: 14px; }
.gallery-page .album-card:first-child { grid-row: span 2; background: var(--secondary); color: var(--paper); }
.gallery-page .album-card:first-child .image-frame img { height: 560px; }
.gallery-page .album-card:first-child .album-meta { color: var(--cream); }
.gallery-page .album-card:first-child h3 { font-size: 32px; }
.gallery-page .album-card:not(:first-child) .image-frame img { height: 220px; }
.gallery-page .album-card h3, .gallery-page .album-meta { margin-inline: 8px; }
.gallery-page .album-card:first-child:focus-visible { outline-offset: 6px; }
.album-page .photo-grid { grid-template-columns: 1fr 1fr; }
.album-page .photo-grid .gallery-item:first-child { grid-column: 1 / -1; }
.album-page .photo-grid .gallery-item:first-child img { height: 580px; }
.album-page .photo-grid .gallery-item::after { content: '↗'; position: absolute; right: 18px; bottom: 18px; width: 42px; height: 42px; display: grid; place-items: center; background: var(--paper); color: var(--deep); border-radius: 50%; font-size: 22px; }
/* Контакты: адрес читается сразу, карта открывается по явной ссылке. */
.contacts-page .contact-info-grid { margin-top: 0; padding: 0; border: 0; gap: 18px; }
.contacts-page .contact-info-grid > div { padding: 28px; background: var(--cream); border-radius: 14px; min-width: 0; }
.contacts-page .contact-info-grid a { overflow-wrap: anywhere; }
.contacts-page .form-grid { align-items: start; gap: 40px; }
.address-panel { padding: 36px; background: var(--secondary); color: var(--paper); border-radius: 14px; position: relative; overflow: hidden; }
.address-panel .eyebrow { color: var(--cream); }
.address-number { display: block; font: 150px/1 var(--serif); color: var(--cream); margin-bottom: 20px; }
.address-panel h3 { font-size: 36px; }
.address-panel p { margin: 16px 0 28px; }
.address-panel :focus-visible { outline-color: var(--paper); }
.contacts-page form { padding: 28px; border: 1px solid var(--line); border-radius: 14px; background: var(--cream); }
.form-preview { border: 0; padding: 0; margin: 0; min-width: 0; }
.form-preview input, .form-preview textarea, .form-preview button { cursor: not-allowed; }
.form-preview button { opacity: .55; }
.contacts-page #formNote { border-top: 1px solid var(--line); padding-top: 18px; font-size: 15px; }
.contacts-page #formNote a { display: block; margin-top: 8px; }
/* Сведения: справочная информация в отдельном спокойном оформлении. */
.sveden-page .page-header { background: var(--cream); padding-bottom: 44px !important; }
.sveden-page .page-header h1 { font-size: clamp(30px, 3.5vw, 52px) !important; overflow-wrap: anywhere; }
.sveden-page .sved-overview { gap: 12px; }
.sveden-page .sved-overview a { grid-template-columns: 44px minmax(0, 1fr) 20px; background: var(--paper); border: 1px solid var(--line); padding: 25px; }
.sveden-page .sved-overview a::after { content: '↗'; color: var(--green); }
.sveden-page .sved-overview a:hover { background: var(--cream); border-color: var(--green); }
.sveden-page .sved-overview h3 { font: 20px/1.3 var(--serif); }
.sveden-page .sved-overview .num { font: 14px var(--sans); }
.sveden-page .sved-layout { gap: 36px; grid-template-columns: 280px minmax(0, 1fr); }
.sveden-page .sved-nav { background: var(--cream); padding: 10px; gap: 3px; max-height: calc(100svh - 150px); overflow-y: auto; }
.sveden-page .sved-nav a { border-radius: 7px; background: transparent; }
.sveden-page .sved-nav a[aria-current] { background: var(--green); }
.sveden-page .sved-nav a:hover { background: var(--tint); color: var(--ink); }
.sveden-page .sved-section { padding: 28px; margin-bottom: 24px; background: var(--paper); border: 1px solid var(--line); border-radius: 14px; }
.sveden-page .sved-section h2 { color: var(--deep); }
.sveden-page .sved-facts > div { background: var(--cream); min-width: 0; }
.sveden-page .sved-facts dd { overflow-wrap: anywhere; }
.sveden-page .doc-list .doc-name { min-width: 0; flex-wrap: wrap; }
.sveden-page .notice { border-left: 3px solid var(--green); }
@media (max-width: 1000px) {
  .inner-page .team-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .inner-page .page-header.split .image-frame img { height: 300px; }
  .principles-section, .leadership-section { grid-template-columns: 1fr; }
  .principles-section .section-heading { grid-row: auto; }
  .leadership-section { gap: 30px; }
  .sveden-page .sved-layout { grid-template-columns: 1fr; }
  .sveden-page .sved-nav { position: static; max-height: none; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .preschool-feature { gap: 35px; }
  .preschool-feature .feature-list { grid-template-columns: 1fr; }
  .preschool-note { padding: 34px 22px; }
}
@media (max-width: 650px) {
  .inner-page .page-header { padding-bottom: 34px; margin-bottom: 32px; }
  .inner-page .page-header h1 { font-size: clamp(34px, 9vw, 48px); overflow-wrap: anywhere; }
  .inner-page .page-header.split .image-frame { margin-top: 10px; border-radius: 100px 100px 12px 12px; }
  .inner-page .page-header.split .image-frame img { height: 280px; border-radius: 90px 90px 8px 8px; }
  .inner-page .contact { margin-inline: 8px; padding-block: 44px; }
  .inner-page .contact h2 { font-size: 36px; overflow-wrap: anywhere; }
  .visit-aside { padding: 28px 0 0; border-left: 0; border-top: 1px solid #fffbf34d; }
  .visit-aside h3 { font-size: 28px; }
  .inner-page .team-grid { grid-template-columns: 1fr; }
  .inner-page .teacher { display: grid; grid-template-columns: 64px minmax(0, 1fr); gap: 0 18px; padding: 22px 18px; }
  .inner-page .teacher .teacher-initials { grid-row: span 3; width: 64px; height: 76px; margin: 0; }
  .inner-page .teacher h3 { font-size: 21px; }
  .inner-page .teacher-tenure { padding-top: 8px; }
  .inner-page .teacher p { min-height: 0; }
  .director-letter, .leadership-section .leader { grid-template-columns: 72px minmax(0, 1fr); gap: 20px; padding: 24px; }
  .director-letter .leader-mark { height: 90px; font-size: 28px; }
  .director-letter blockquote { font-size: 23px !important; }
  .preschool-feature { grid-template-columns: 1fr; }
  .preschool-note { padding: 40px 28px; }
  .preschool-note .eyebrow { margin-top: 25px; }
  .news-page:not(.news-detail) .news-grid { grid-template-columns: 1fr; gap: 22px; }
  .news-page .news-featured { display: block; padding: 20px; }
  .news-page .news-featured .news-art { min-height: 230px; }
  .news-detail .article .body { font-size: 18px; }
  .news-detail .article .body > p:first-child { font-size: 23px; }
  .gallery-page .album-grid, .album-page .photo-grid { grid-template-columns: 1fr; }
  .gallery-page .album-card:first-child { grid-row: auto; }
  .gallery-page .album-card:first-child .image-frame img { height: 310px; }
  .gallery-page .album-card:first-child h3 { font-size: 27px; }
  .album-page .photo-grid .gallery-item:first-child img { height: 330px; }
  .contacts-page .contact-info-grid { grid-template-columns: 1fr; }
  .contacts-page form, .address-panel { padding: 24px; }
  .address-panel h3 { font-size: 30px; }
  .address-panel .button { padding-inline: 16px; font-size: 15px; }
  .sveden-page .sved-overview { grid-template-columns: 1fr; }
  .sveden-page .sved-overview a { grid-template-columns: 28px minmax(0, 1fr) 18px; padding: 20px 16px; gap: 10px; }
  .sveden-page .sved-section { padding: 20px 16px; }
  .sveden-page .sved-nav { grid-template-columns: 1fr; }
  .sveden-page .sved-facts { grid-template-columns: 1fr; }
  .sveden-page .doc-list .doc-type { white-space: normal; flex-shrink: 1; }
}
html[data-a11y="contrast"] .inner-page .page-header { border-bottom: 1px solid #000; }
html[data-a11y="contrast"] .inner-page .teacher, html[data-a11y="contrast"] .inner-page .sved-section { border-color: #000; }
/* Узкие экраны: содержимое не расширяет колонки сеток. */
.inner-page .news-card { min-width: 0; }
.inner-page .news-art svg { max-width: 100%; }
.sveden-page .sved-layout > *, .sveden-page .sved-section { min-width: 0; }
.sveden-page .sved-section { overflow-wrap: anywhere; }
.contacts-page textarea { font-family: var(--sans); }
@media (max-width: 1000px) {
  .sveden-page .sved-layout { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 650px) {
  .news-page:not(.news-detail) .news-grid { grid-template-columns: minmax(0, 1fr); }
  .sveden-page .staff-row summary { flex-wrap: wrap; }
  .sveden-page .doc-list a { flex-wrap: wrap; }
}
@media (max-width: 650px) {
  .director-letter { grid-template-columns: minmax(0, 1fr); }
  .director-letter .leader-mark { width: 72px; }
}
