:root {
  --green: #964e43;
  --deep: #773d34;
  --ink: #352c27;
  --muted: #685f57;
  --paper: #fffbf3;
  --cream: #f0e6d8;
  --line: #ddd0c0;
  --serif: "PT Serif", Georgia, serif;
  --sans: "PT Sans", Arial, sans-serif;
  --gutter: clamp(24px, 5vw, 80px);
  --section: 110px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scrollbar-color: var(--green) var(--cream);
}
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 17px/1.55 var(--sans);
  -webkit-font-smoothing: antialiased;
}
h1,
h2,
h3,
p,
figure {
  margin: 0;
}
h1,
h2,
h3 {
  font-family: var(--serif);
  font-weight: 400;
  letter-spacing: -0.035em;
  text-wrap: balance;
}
h2 {
  font-size: clamp(34px, 3.6vw, 54px);
  line-height: 1.12;
}
h3 {
  font-size: 25px;
  line-height: 1.25;
}
a {
  color: inherit;
  text-decoration: none;
}
button,
input {
  font: inherit;
  color: inherit;
}
button {
  cursor: pointer;
}
button {
  border: 0;
  background: none;
}
a,
button,
input,
summary {
  -webkit-tap-highlight-color: transparent;
}
img {
  display: block;
  width: 100%;
  height: auto;
}
svg {
  display: block;
  stroke: currentColor;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}
::selection {
  background: var(--green);
  color: var(--paper);
}
:focus-visible {
  outline: 3px solid #b5883e;
  outline-offset: 5px;
}
a:hover {
  text-decoration: underline;
  text-underline-offset: 5px;
}
button:active,
.button:active {
  transform: translateY(1px);
}
[hidden] {
  display: none !important;
}
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}
.container {
  max-width: 1600px;
  padding-inline: var(--gutter);
  margin-inline: auto;
}
.section {
  padding-block: var(--section);
}
section[id] {
  scroll-margin-top: 30px;
}
.arrow {
  width: 23px;
  height: 23px;
  flex-shrink: 0;
}
.text-link {
  display: inline-flex;
  align-items: center;
  gap: 20px;
  font-size: 16px;
}
.text-link:hover .arrow {
  transform: translateX(4px);
}
.arrow {
  transition: transform 0.25s var(--ease);
}
.button {
  display: inline-flex;
  gap: 25px;
  align-items: center;
  justify-content: center;
  padding: 17px 26px;
  border-radius: 15px;
  font-size: 16px;
  line-height: 1.35;
  min-height: 54px;
  transition:
    background 0.2s,
    transform 0.2s;
}
.button:hover {
  text-decoration: none;
}
.button.green {
  background: var(--green);
  color: var(--paper);
}
.button.green:hover {
  background: var(--deep);
}
.button.cream {
  background: var(--cream);
  color: var(--ink);
}
.button.cream:hover {
  background: white;
}
.skip {
  position: fixed;
  top: -100px;
  z-index: 100;
  background: white;
  padding: 16px;
}
.skip:focus {
  top: 10px;
}
.header {
  position: fixed;
  z-index: 10;
  top: 25px;
  left: 3.2%;
  right: 3.2%;
  display: flex;
  align-items: center;
  gap: 28px;
  background: var(--paper);
  border-radius: 60px;
  padding: 13px 22px 13px 30px;
  min-height: 80px;
  box-shadow: 0 10px 30px rgba(53, 44, 39, 0.1);
}
body:has(.hero) .header {
  box-shadow: none;
}
.brand {
  display: flex;
  align-items: center;
  gap: 17px;
  flex-shrink: 0;
  color: var(--green);
}
.brand:hover {
  text-decoration: none;
}
.brand-mark {
  width: 47px;
  height: 52px;
  stroke-width: 2.6;
}
.brand-name {
  display: block;
  font: 30px/1.15 var(--serif);
  letter-spacing: 0.065em;
}
.brand-caption {
  display: block;
  font-size: 9px;
  letter-spacing: 0.19em;
  font-weight: 700;
  margin-top: 4px;
}
.desktop-nav {
  display: flex;
  justify-content: center;
  gap: 25px;
  margin-left: auto;
  font-size: 15px;
  white-space: nowrap;
}
.header-tools {
  display: flex;
  gap: 17px;
  align-items: center;
  margin-left: auto;
}
.icon-button {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
}
.icon-button svg {
  width: 24px;
  height: 24px;
}
.header-cta {
  font-size: 14px;
  padding: 16px 21px;
  gap: 18px;
}
.menu-button {
  display: none;
}
.mobile-nav,
.search-panel {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  background: var(--paper);
  padding: 25px;
  border-radius: 18px;
  box-shadow: 0 14px 40px #00000026;
}
.mobile-nav {
  left: 0;
}
.mobile-nav a {
  display: block;
  padding: 10px;
}
.search-panel {
  width: min(440px, 100%);
}
.search-panel label {
  display: block;
  font-family: var(--serif);
  font-size: 26px;
  margin-bottom: 12px;
}
.search-panel input {
  padding: 12px;
  width: 100%;
  border: 1px solid var(--line);
  background: white;
  border-radius: 6px;
}
.search-panel ul {
  list-style: none;
  padding: 0;
  margin: 10px 0 0;
}
.search-panel a {
  display: block;
  padding: 9px 0;
}
.hero {
  position: relative;
  min-height: 740px;
  height: min(850px, 90svh);
  color: white;
  background: var(--deep);
  isolation: isolate;
  overflow: hidden;
}
.hero-photo {
  position: absolute;
  inset: 0;
  height: 100%;
  object-fit: cover;
  object-position: center 44%;
  z-index: -3;
  animation: hero-settle 1.5s var(--ease);
}
.hero-shade {
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    linear-gradient(
      90deg,
      rgba(8, 25, 14, 0.58),
      rgba(8, 25, 14, 0.13) 55%,
      rgba(8, 25, 14, 0.08)
    ),
    linear-gradient(0deg, rgba(8, 25, 14, 0.38), transparent 58%);
}
.hero-copy {
  position: absolute;
  left: var(--gutter);
  bottom: 75px;
  max-width: 770px;
}
.hero h1 {
  font-size: clamp(68px, 7vw, 108px);
  line-height: 0.98;
  letter-spacing: -0.04em;
  text-wrap: initial;
}
.hero-copy p {
  max-width: 455px;
  font-size: 19px;
  line-height: 1.45;
  margin-top: 27px;
  text-shadow: 0 1px 6px #1a0f0c;
}
.hero-actions {
  display: flex;
  align-items: center;
  gap: 28px;
  margin-top: 26px;
}
.hero-secondary {
  font-size: 16px;
  text-decoration: underline;
  text-underline-offset: 5px;
}
.today {
  position: absolute;
  bottom: 44px;
  right: 2.6%;
  width: 290px;
  background: var(--green);
  border-radius: 14px;
  padding: 20px;
  color: white;
  transition: transform 0.25s var(--ease);
}
.today:hover {
  transform: translateY(-5px);
  text-decoration: none;
}
.today-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font: 25px var(--serif);
  letter-spacing: -0.03em;
  margin-bottom: 17px;
}
.circle {
  display: grid;
  place-items: center;
  border: 1px solid #ffffff80;
  border-radius: 50%;
  width: 35px;
  height: 35px;
}
.circle .arrow {
  width: 20px;
}
.today img {
  height: 177px;
  object-fit: cover;
  border-radius: 5px;
}
.today p {
  font: 16px/1.4 var(--serif);
  margin-top: 14px;
}
.world {
  display: grid;
  grid-template-columns: 1.35fr 1fr 1fr 1fr;
  gap: 32px;
  padding-top: 38px;
  padding-bottom: 55px;
}
.world h2 {
  font-size: clamp(29px, 2.8vw, 43px);
}
.world-intro p {
  max-width: 310px;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.45;
  margin-top: 18px;
}
.image-frame {
  overflow: hidden;
}
.world-card img {
  height: 162px;
  object-fit: cover;
  transition: transform 0.6s var(--ease);
}
.world-card:last-child img {
  object-position: 70% 45%;
}
.world-card:hover {
  text-decoration: none;
}
.world-card:hover img {
  transform: scale(1.045);
}
.world-card h3 {
  font-size: 23px;
  letter-spacing: -0.04em;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 15px;
  padding-bottom: 10px;
  border-bottom: 1px solid #8d9e92;
  gap: 10px;
}
.world-card h3 .arrow {
  width: 21px;
}
.about {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 9%;
  align-items: center;
  padding-top: 80px;
}
.about-picture {
  position: relative;
}
.about-picture img {
  height: 570px;
  object-fit: cover;
  object-position: 39% center;
}
.photo-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 23px;
  background: var(--green);
  color: white;
  font: 18px/1.4 var(--serif);
}
.about-copy h2 {
  margin-bottom: 29px;
}
.about-copy .lead {
  font-size: 21px;
  margin-bottom: 16px;
}
.about-copy > p:not(.lead) {
  color: var(--muted);
}
.approach {
  margin: 30px 0;
}
.approach-item {
  border-bottom: 1px solid var(--line);
  padding: 16px 0;
}
.approach-title {
  font-size: 18px;
  margin-bottom: 10px;
}
.approach-item p:last-child {
  font-size: 16px;
  color: var(--muted);
  padding-right: 25px;
}
.section-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 35px;
  margin-bottom: 42px;
}
.section-heading p {
  margin-top: 17px;
  color: var(--muted);
  font-size: 18px;
}
.section-heading > .text-link {
  flex-shrink: 0;
  padding-bottom: 5px;
}
.team-section {
  background: var(--cream);
}
.team-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
}
.teacher {
  display: flex;
  flex-direction: column;
}
.teacher-photo {
  width: 72%;
  aspect-ratio: 3/4;
  border-radius: 10px;
  background: var(--tint);
  color: var(--green);
  display: grid;
  place-items: center;
  margin-bottom: 22px;
  object-fit: cover;
}
.teacher-photo svg {
  width: 34%;
  height: 34%;
  stroke-width: 1.3;
}
.teacher h3 {
  font-size: 22px;
  line-height: 1.3;
  letter-spacing: -0.02em;
}
.teacher p {
  font-size: 16px;
  line-height: 1.55;
  color: var(--muted);
  margin-top: 10px;
  min-height: 3.1em;
}
.teacher-tenure {
  display: block;
  margin-top: 12px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--green);
  white-space: nowrap;
}
.small-note {
  font-size: 13px;
  color: var(--muted);
  margin-top: 20px;
}
.news-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 35px;
}
.news-card {
  display: block;
}
.news-card:hover,
.album-card:hover,
.teacher:hover {
  text-decoration: none;
}
.news-art {
  height: 225px;
  background: var(--cream);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  overflow: hidden;
  position: relative;
}
.news-art > span:last-child {
  font-size: 15px;
}
.news-art-science {
  background: #e2e8dc;
  color: var(--green);
}
.news-art svg {
  height: 170px;
  width: 270px;
  stroke-width: 2;
}
.news-art-memory {
  background: #efe6d6;
  color: #6b452b;
}
.news-art-exams {
  background: var(--green);
  color: var(--cream);
}
.art-date {
  font: 64px/1.1 var(--serif);
  margin-bottom: 18px;
}
.news-card time {
  display: block;
  font-size: 14px;
  color: var(--muted);
  margin-top: 22px;
}
.news-card h3 {
  margin-top: 10px;
  font-size: 26px;
  line-height: 1.2;
}
.news-card p {
  margin-top: 13px;
  font-size: 16px;
  color: var(--muted);
}
.news-card .text-link {
  margin-top: 22px;
}
.gallery-section {
  background: var(--cream);
  padding-top: 80px;
  padding-bottom: 80px;
}
.gallery-grid {
  display: grid;
  grid-template-columns: 1.35fr 1fr;
  grid-template-rows: 240px 240px;
  gap: 22px;
}
.gallery-item {
  position: relative;
  padding: 0;
  text-align: left;
  overflow: hidden;
  background: var(--green);
  color: white;
}
.gallery-large {
  grid-row: span 2;
}
.gallery-item img {
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease);
}
.gallery-item:hover img {
  transform: scale(1.035);
}
.gallery-large img {
  object-position: 61% center;
}
.gallery-item span {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 40px 24px 20px;
  background: linear-gradient(transparent, #092b23cc);
  font: 24px var(--serif);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
}
.kindergarten {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 9%;
}
.kindergarten p {
  max-width: 440px;
  margin: 24px 0 30px;
  font-size: 19px;
  color: var(--muted);
}
.kindergarten img {
  height: 340px;
  object-fit: cover;
}
.kindergarten h2 {
  max-width: 450px;
}
.contact {
  background: var(--green);
  color: var(--paper);
}
.contact-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 9%;
}
.contact h2 {
  font-size: clamp(48px, 5.6vw, 84px);
}
.contact p {
  font-size: 19px;
  line-height: 1.5;
}
.contact-grid > div > p {
  margin: 27px 0 32px;
  color: #e1e8dd;
}
.contact address {
  font-style: normal;
  display: grid;
  gap: 27px;
}
.contact address > div > span {
  display: block;
  color: #ccd9cb;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 10px;
}
.contact address a {
  display: block;
  width: fit-content;
}
.contact address .text-link {
  display: inline-flex;
  margin-top: 13px;
  font-size: 15px;
}
.contact-phone {
  font: 31px var(--serif);
  margin-bottom: 7px;
}
.footer {
  padding-top: 45px;
  padding-bottom: 30px;
}
.footer-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  padding-bottom: 35px;
}
.footer-top nav {
  display: flex;
  gap: 30px;
  font-size: 16px;
}
.footer-bottom {
  border-top: 1px solid var(--line);
  padding-top: 25px;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  font-size: 13px;
  color: var(--muted);
}
.footer-bottom button {
  padding: 0;
  text-align: left;
}
.credits {
  font-size: 12px;
  color: var(--muted);
  margin-top: 23px;
}
.credits a {
  text-decoration: underline;
}
.up {
  transform: rotate(-90deg);
}
dialog {
  width: min(1000px, 94vw);
  max-height: 93svh;
  border: 0;
  padding: 15px;
  background: var(--paper);
  color: var(--ink);
  border-radius: 12px;
}
dialog::backdrop {
  background: #241512dd;
}
dialog img {
  max-height: 73svh;
  object-fit: contain;
}
dialog p {
  margin-top: 12px;
  font-size: 16px;
}
.dialog-close {
  display: block;
  margin: 0 0 12px auto;
  min-height: 40px;
  text-decoration: underline;
}
.revealed {
  animation: arrive 0.7s var(--ease) both;
}
@keyframes arrive {
  from {
    opacity: 0.5;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
@keyframes hero-settle {
  from {
    transform: scale(1.035);
  }
  to {
    transform: scale(1);
  }
}
@media (min-width: 1600px) {
  .hero-copy {
    left: max(var(--gutter), calc((100vw - 1440px) / 2));
  }
}
@media (max-width: 1250px) {
  .header {
    gap: 20px;
    padding-left: 23px;
  }
  .desktop-nav {
    gap: 16px;
    font-size: 14px;
  }
  .header-cta {
    display: none;
  }
  .header-tools {
    margin-left: 0;
  }
  .hero h1 {
    font-size: 88px;
  }
  .hero-copy {
    max-width: 650px;
  }
  .today {
    width: 260px;
  }
  .today-heading {
    font-size: 23px;
  }
  .world {
    gap: 24px;
  }
  .world h2 {
    font-size: 34px;
  }
  .world-card h3 {
    font-size: 20px;
  }
  .teacher h3 {
    font-size: 24px;
  }
  .hero-secondary {
    display: none;
  }
}
@media (max-width: 900px) {
  :root {
    --gutter: 32px;
    --section: 75px;
  }
  .header {
    left: 24px;
    right: 24px;
    top: 20px;
  }
  .brand-name {
    font-size: 26px;
  }
  .brand-mark {
    width: 40px;
    height: 45px;
  }
  .brand-caption {
    font-size: 8px;
  }
  .desktop-nav {
    display: none;
  }
  .header-tools {
    margin-left: auto;
  }
  .menu-button {
    display: block;
    font-size: 15px;
    padding: 10px;
  }
  .hero {
    min-height: 790px;
    height: 90svh;
  }
  .hero-copy {
    bottom: 100px;
  }
  .hero h1 {
    font-size: 79px;
  }
  .hero-photo {
    object-position: 58% center;
  }
  .hero-copy p {
    max-width: 390px;
    font-size: 18px;
  }
  .today {
    width: 225px;
    bottom: 52px;
    right: 24px;
    padding: 16px;
  }
  .today-heading {
    font-size: 20px;
  }
  .today img {
    height: 145px;
  }
  .today p {
    font-size: 14px;
  }
  .hero-copy {
    max-width: 490px;
  }
  .hero-shade {
    background:
      linear-gradient(90deg, #08190ec9, #08190e00),
      linear-gradient(0deg, #08190e80, transparent);
  }
  .world {
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
    padding-top: 33px;
  }
  .world-intro {
    grid-column: 1/-1;
    display: flex;
    justify-content: space-between;
    gap: 35px;
    align-items: center;
  }
  .world-intro p {
    max-width: 300px;
    margin: 0;
  }
  .world-card img {
    height: 150px;
  }
  .world-card h3 {
    font-size: 20px;
  }
  .about {
    gap: 6%;
    padding-top: 40px;
  }
  .about-picture img {
    height: 570px;
  }
  .about h2 {
    font-size: 37px;
  }
  .photo-caption {
    font-size: 16px;
    padding: 20px;
  }
  .team-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
  }
  .teacher h3 {
    font-size: 21px;
  }
  .news-grid {
    gap: 22px;
  }
  .news-card h3 {
    font-size: 23px;
  }
  .news-art {
    height: 185px;
  }
  .news-art > span:last-child {
    font-size: 12px;
  }
  .art-date {
    font-size: 50px;
  }
  .news-art svg {
    height: 140px;
  }
  .gallery-grid {
    grid-template-rows: 200px 200px;
  }
  .gallery-item span {
    font-size: 21px;
    padding: 35px 18px 17px;
  }
  .kindergarten {
    gap: 6%;
  }
  .kindergarten h2 {
    font-size: 38px;
  }
  .footer-top nav {
    gap: 15px;
  }
  .footer-top > .text-link {
    display: none;
  }
  .footer-bottom {
    flex-wrap: wrap;
  }
  .contact-phone {
    font-size: 27px;
  }
}
@media (max-width: 650px) {
  :root {
    --gutter: 22px;
    --section: 62px;
  }
  body {
    font-size: 16px;
  }
  .header {
    top: 14px;
    left: 14px;
    right: 14px;
    min-height: 68px;
    padding: 10px 15px;
    border-radius: 40px;
    gap: 8px;
  }
  .brand {
    gap: 9px;
  }
  .brand-mark {
    width: 33px;
    height: 39px;
  }
  .brand-name {
    font-size: 23px;
  }
  .brand-caption {
    font-size: 6.5px;
    letter-spacing: 0.14em;
  }
  .header-tools {
    gap: 2px;
  }
  .icon-button {
    width: 36px;
  }
  .icon-button svg {
    width: 21px;
  }
  .menu-button {
    font-size: 13px;
    padding: 8px;
  }
  .hero {
    height: auto;
    min-height: 760px;
  }
  .hero-photo {
    height: 760px;
    object-position: 57% center;
  }
  .hero-shade {
    background: linear-gradient(
      0deg,
      #09291eed 0%,
      #09291e99 37%,
      #09291e0a 80%
    );
  }
  .hero-copy {
    left: 22px;
    right: 22px;
    bottom: 79px;
    max-width: none;
  }
  .hero h1 {
    font-size: clamp(42px, 11.3vw, 69px);
    line-height: 1.02;
    letter-spacing: -0.04em;
  }
  .hero-copy p {
    font-size: 17px;
    line-height: 1.5;
    margin-top: 23px;
    max-width: 360px;
  }
  .hero-actions {
    margin-top: 25px;
  }
  .hero-actions .button {
    font-size: 15px;
    padding: 16px 21px;
    gap: 22px;
  }
  .today {
    display: none;
  }
  .world {
    grid-template-columns: 1fr;
    gap: 26px;
    padding-block: 36px 12px;
  }
  .world-intro {
    display: block;
  }
  .world h2 {
    font-size: 37px;
  }
  .world-intro p {
    margin-top: 18px;
    max-width: 340px;
  }
  .world-card {
    display: grid;
    grid-template-columns: 118px 1fr;
    align-items: center;
    gap: 20px;
  }
  .world-card img {
    height: 92px;
  }
  .world-card h3 {
    font-size: 23px;
    margin: 0;
    padding-bottom: 14px;
  }
  .world-card:last-child h3 {
    font-size: 22px;
  }
  .about {
    grid-template-columns: 1fr;
    gap: 32px;
    padding-top: 60px;
  }
  .about-picture img {
    height: 350px;
  }
  .photo-caption {
    font-size: 16px;
    padding: 17px;
  }
  .about h2 {
    font-size: 39px;
  }
  .about-copy .lead {
    font-size: 20px;
  }
  .about-copy h2 {
    margin-bottom: 22px;
  }
  .approach-title {
    font-size: 17px;
  }
  .section-heading {
    align-items: flex-start;
    gap: 20px;
    flex-direction: column;
    margin-bottom: 30px;
  }
  .section-heading h2 {
    font-size: 36px;
  }
  .section-heading p {
    font-size: 17px;
    margin-top: 14px;
  }
  .section-heading > .text-link {
    font-size: 15px;
  }
  .team-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .teacher-photo {
    max-width: 180px;
  }
  .teacher h3 {
    font-size: 23px;
  }
  .teacher p {
    font-size: 15px;
    margin-top: 8px;
  }
  .small-note {
    font-size: 12px;
  }
  .news-grid {
    grid-template-columns: 1fr;
    gap: 38px;
  }
  .news-art {
    height: 220px;
  }
  .news-art svg {
    height: 160px;
  }
  .news-art > span:last-child {
    font-size: 15px;
  }
  .art-date {
    font-size: 64px;
  }
  .news-card h3 {
    font-size: 26px;
  }
  .news-card time {
    margin-top: 18px;
  }
  .news-card .text-link {
    margin-top: 17px;
  }
  .gallery-grid {
    grid-template-columns: 1fr;
    grid-template-rows: 330px 230px 230px;
    gap: 16px;
  }
  .gallery-large {
    grid-row: auto;
  }
  .gallery-item span {
    font-size: 23px;
  }
  .kindergarten {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .kindergarten h2 {
    font-size: 38px;
  }
  .kindergarten p {
    font-size: 18px;
    margin-top: 20px;
  }
  .kindergarten img {
    height: 270px;
  }
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 45px;
  }
  .contact h2 {
    font-size: 54px;
  }
  .contact p {
    font-size: 18px;
  }
  .contact address {
    gap: 25px;
  }
  .contact-phone {
    font-size: 30px;
  }
  .footer-top {
    align-items: flex-start;
    flex-direction: column;
    gap: 25px;
    padding-bottom: 25px;
  }
  .footer-top nav {
    flex-wrap: wrap;
    gap: 23px;
    font-size: 15px;
  }
  .footer-bottom {
    flex-direction: column;
    gap: 15px;
    padding-top: 25px;
  }
  .footer {
    padding-top: 35px;
  }
  .credits {
    font-size: 12px;
  }
  .search-panel {
    left: 0;
    width: auto;
  }
  .search-panel input {
    font-size: 16px;
  }
  .text-link {
    gap: 15px;
  }
}
[data-a11y="contrast"] {
  --green: #000;
  --deep: #000;
  --ink: #000;
  --muted: #222;
  --paper: #fff;
  --cream: #fff;
  --line: #555;
  font-size: 18px;
}
[data-a11y="contrast"] body {
  font-size: 20px;
}
[data-a11y="contrast"] .hero-photo,
[data-a11y="contrast"] .hero-shade {
  display: none;
}
[data-a11y="contrast"] .hero {
  background: #000;
}
[data-a11y="contrast"] .hero-copy p {
  font-size: 21px;
}
[data-a11y="contrast"] a {
  text-decoration: underline;
}
[data-a11y="contrast"] img {
  filter: grayscale(1);
}
[data-a11y="contrast"] .small-note,
[data-a11y="contrast"] .credits,
[data-a11y="contrast"] .footer-bottom {
  font-size: 16px;
}
[data-a11y="contrast"] .contact {
  background: #000;
}
[data-a11y="contrast"] .teacher-photo {
  background: #eee;
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}

.brand-caption {
  font-size: 11px;
  letter-spacing: 0.025em;
  line-height: 1.3;
  max-width: 195px;
}
.credits,
.small-note {
  font-size: 13px;
}
@media (max-width: 650px) {
  .brand-caption {
    font-size: 11px;
    max-width: 150px;
    line-height: 1.1;
  }
  .header .brand-name {
    font-size: 22px;
  }
  .header .brand {
    gap: 7px;
  }
  .header .brand-mark {
    width: 29px;
  }
  .header .icon-button {
    width: 30px;
  }
  .header .menu-button {
    padding: 8px 5px;
  }
}
@media (max-width: 360px) {
  .header .brand-name {
    font-size: 19px;
  }
  .header .brand-caption {
    max-width: 130px;
  }
  .header .brand-mark {
    width: 25px;
  }
  .header .menu-button {
    font-size: 12px;
  }
  .hero-actions .button {
    width: 100%;
    padding-inline: 16px;
    gap: 12px;
    font-size: 14px;
  }
  .world-card {
    grid-template-columns: 95px 1fr;
    gap: 16px;
  }
  .world-card h3,
  .world-card:last-child h3 {
    font-size: 20px;
  }
  .contact-phone {
    font-size: 27px;
  }
}

@media (max-width: 360px) {
  .contact h2 {
    font-size: 44px;
  }
  .contact-grid > * {
    min-width: 0;
  }
}

/* ===== Внутренние страницы: общие блоки ===== */
.crumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 9px;
  font-size: 13px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 24px;
}
.crumbs a:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}
.crumbs span {
  opacity: 0.55;
}
.crumbs [aria-current] {
  color: var(--ink);
}
.page-header {
  padding-top: clamp(150px, 17vw, 200px);
  padding-bottom: 56px;
}
.page-header.sved-header {
  padding-bottom: 40px;
}
.page-header + .sved-layout {
  padding-top: 0;
}
.page-header h1 {
  max-width: 820px;
  font-size: clamp(40px, 4.6vw, 66px);
}
.page-header .lead {
  margin-top: 22px;
  max-width: 640px;
  font-size: 19px;
  line-height: 1.5;
  color: var(--muted);
}
.page-header.split {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 60px;
  align-items: end;
}
.page-header.split .image-frame {
  border-radius: 14px;
  overflow: hidden;
}
.page-header.split .image-frame img {
  height: 300px;
  object-fit: cover;
}
.page-header.tint {
  background: var(--cream);
  padding-bottom: 70px;
  margin-bottom: 0;
}
.page-header.tint .container {
  padding-top: 0;
}

/* Руководство */
.leaders {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
  margin-top: 10px;
}
.leader {
  display: grid;
  grid-template-columns: 104px 1fr;
  gap: 22px;
  padding: 26px;
  background: var(--cream);
  border-radius: 14px;
}
.leader-mark {
  width: 100%;
  aspect-ratio: 1;
  border-radius: 10px;
  background: var(--tint);
  color: var(--secondary);
  display: grid;
  place-items: center;
}
.leader-mark svg {
  width: 40%;
  height: 40%;
  stroke-width: 1.3;
}
.leader h3 {
  font-size: 20px;
  line-height: 1.3;
}
.leader .role {
  display: block;
  margin-top: 7px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--green);
}
.leader--compact {
  max-width: 600px;
}
.leader-facts {
  display: grid;
  gap: 10px;
}
.leader-facts dt {
  font-size: 12px;
  color: var(--muted);
  text-transform: uppercase;
}
.leader-facts dd[itemprop="fio"] {
  font-family: var(--serif);
  font-size: 19px;
}
.leader p:last-child {
  margin-top: 12px;
  font-size: 15px;
  line-height: 1.5;
  color: var(--muted);
}

/* Раскрывающиеся блоки: подход школы, полный список сотрудников */
.disclosure {
  border-top: 1px solid var(--line);
}
.disclosure summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 22px;
  padding: 24px 0;
  border-bottom: 1px solid var(--line);
}
.disclosure summary::-webkit-details-marker {
  display: none;
}
.disclosure + .disclosure {
  border-top: 0;
}
.disclosure summary .plus {
  position: relative;
  width: 30px;
  height: 30px;
  flex-shrink: 0;
  border: 1px solid var(--line);
  border-radius: 50%;
  transition: transform 0.25s var(--ease);
}
.disclosure summary .plus::before,
.disclosure summary .plus::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  background: var(--green);
  transform: translate(-50%, -50%);
}
.disclosure summary .plus::before {
  width: 13px;
  height: 1.5px;
}
.disclosure summary .plus::after {
  width: 1.5px;
  height: 13px;
}
.disclosure[open] summary .plus {
  transform: rotate(45deg);
}
.disclosure summary h3 {
  font-size: 21px;
}
.disclosure-body {
  padding: 2px 0 30px;
  max-width: 740px;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.6;
}
.staff-list {
  display: grid;
  gap: 1px;
  background: var(--line);
  margin: 4px 0 30px;
  border-radius: 10px;
  overflow: hidden;
}
.staff-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 18px 22px;
  font-size: 16px;
  background: var(--paper);
  transition: background 0.15s;
}
.staff-row:hover {
  background: var(--cream);
}
.staff-row .name {
  font-family: var(--serif);
  font-size: 19px;
}
.staff-row .name .role {
  display: block;
  margin-top: 4px;
  font-family: var(--sans);
  font-size: 13px;
  color: var(--muted);
}
.staff-row .tenure {
  font-family: var(--sans);
  font-size: 13px;
  color: var(--muted);
  white-space: nowrap;
}

/* Пагинация */
.pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-top: 60px;
}
.pagination a,
.pagination span {
  display: grid;
  place-items: center;
  min-width: 44px;
  height: 44px;
  border-radius: 10px;
  font-size: 15px;
}
.pagination a:hover {
  background: var(--cream);
  text-decoration: none;
}
.pagination [aria-current] {
  background: var(--green);
  color: var(--paper);
}
.pagination .pagination-arrow {
  width: 44px;
}
.pagination .pagination-arrow svg {
  width: 19px;
  height: 19px;
}

/* Статья новости */
.article {
  max-width: 760px;
}
.article .meta {
  display: flex;
  gap: 16px;
  align-items: center;
  font-size: 14px;
  color: var(--muted);
  margin-bottom: 18px;
}
.article .cover {
  border-radius: 14px;
  overflow: hidden;
  margin-bottom: 40px;
}
.article .cover img {
  height: 420px;
  object-fit: cover;
}
.article .body {
  font-size: 18px;
  line-height: 1.7;
  display: grid;
  gap: 22px;
}
.article .body h2 {
  font-size: 28px;
  margin-top: 10px;
}
.article-share {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-top: 50px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
}

/* Альбомы галереи */
.album-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
.album-card .image-frame {
  border-radius: 10px;
  overflow: hidden;
}
.album-card .image-frame img {
  height: 230px;
  object-fit: cover;
  transition: transform 0.6s var(--ease);
}
.album-card:hover .image-frame img {
  transform: scale(1.045);
}
.album-card h3 {
  margin-top: 18px;
  font-size: 22px;
  display: flex;
  justify-content: space-between;
  gap: 12px;
}
.album-card .album-meta {
  display: block;
  margin-top: 8px;
  font-size: 14px;
  color: var(--muted);
}
.photo-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.photo-grid .gallery-item {
  border-radius: 10px;
}
.photo-grid img {
  height: 260px;
  object-fit: cover;
}

/* Детский сад / внутренние двухколоночные блоки */
.split-feature {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 9%;
  align-items: center;
}
.split-feature .image-frame img {
  height: 480px;
  object-fit: cover;
  border-radius: 14px;
}
.split-feature .lead {
  font-size: 20px;
  margin: 18px 0 22px;
  color: var(--muted);
}
.feature-list {
  display: grid;
  gap: 24px;
  margin: 10px 0 34px;
}
.feature-list li {
  padding-left: 30px;
  position: relative;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.5;
}
.feature-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 9px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--green);
}
.feature-list strong {
  display: block;
  color: var(--ink);
  font-family: var(--serif);
  font-size: 18px;
  font-weight: 400;
  margin-bottom: 4px;
}

/* Форма обратной связи */
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}
.field {
  display: block;
  margin-bottom: 20px;
}
.field span {
  display: block;
  font-size: 14px;
  color: var(--muted);
  margin-bottom: 8px;
}
.field input,
.field textarea {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--paper);
  font-size: 16px;
}
.field textarea {
  resize: vertical;
  min-height: 130px;
}
.field input:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--green);
  box-shadow: 0 0 0 3px var(--tint);
}
.consent {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  font-size: 14px;
  color: var(--muted);
  margin: 22px 0 26px;
}
.consent input {
  margin-top: 4px;
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  accent-color: var(--green);
}
.map-frame {
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid var(--line);
  aspect-ratio: 4/3;
}
.map-frame iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}
.contact-info-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  padding: 34px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  margin: 50px 0;
}
.contact-info-grid > div > span {
  display: block;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--green);
  margin-bottom: 10px;
}

/* Сведения об образовательной организации */
.sved-layout {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 60px;
  align-items: start;
}
.sved-nav {
  position: sticky;
  top: 125px;
  display: grid;
  gap: 2px;
  background: var(--line);
  border-radius: 12px;
  overflow: hidden;
}
.sved-nav a {
  display: flex;
  gap: 12px;
  background: var(--paper);
  padding: 13px 16px;
  font-size: 14px;
  line-height: 1.35;
}
.sved-nav a:hover {
  background: var(--cream);
  text-decoration: none;
}
.sved-nav a[aria-current] {
  background: var(--green);
  color: var(--paper);
}
.sved-nav a span:first-child {
  flex-shrink: 0;
  color: var(--muted);
  font-size: 13px;
}
.sved-nav a[aria-current] span:first-child {
  color: #ffffffa8;
}
.sved-overview {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}
.sved-overview a {
  display: grid;
  grid-template-columns: 50px 1fr auto;
  align-items: center;
  gap: 16px;
  padding: 22px;
  background: var(--cream);
  border-radius: 12px;
}
.sved-overview a:hover {
  background: var(--tint);
  text-decoration: none;
}
.sved-overview .num {
  font-family: var(--serif);
  font-size: 26px;
  color: var(--green);
}
.sved-overview h3 {
  font-size: 17px;
  line-height: 1.3;
}
.sved-section {
  padding-bottom: 54px;
  margin-bottom: 54px;
  border-bottom: 1px solid var(--line);
}
.sved-section:last-child {
  border-bottom: 0;
}
.sved-section h2 {
  font-size: 28px;
  margin-bottom: 18px;
}
.sved-section > p {
  color: var(--muted);
  font-size: 16px;
  line-height: 1.6;
  max-width: 680px;
}
.sved-facts {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--line);
  border-radius: 10px;
  overflow: hidden;
  margin-top: 20px;
}
.sved-facts > div {
  background: var(--paper);
  padding: 18px 20px;
}
.sved-facts dt {
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 6px;
}
.sved-facts dd {
  margin: 0;
  font-size: 16px;
}
.span-all {
  grid-column: 1 / -1;
}
.doc-list {
  display: grid;
  gap: 1px;
  background: var(--line);
  border-radius: 10px;
  overflow: hidden;
  margin-top: 18px;
  list-style: none;
  padding: 0;
}
.doc-list a {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  background: var(--paper);
  padding: 16px 20px;
  font-size: 15px;
  min-width: 170px;
}
.doc-list a:hover {
  background: var(--cream);
  text-decoration: none;
}
.doc-list .doc-icon {
  flex-shrink: 0;
  width: 34px;
  height: 34px;
  border-radius: 7px;
  background: var(--tint);
  color: var(--secondary);
  display: grid;
  place-items: center;
}
.doc-list .doc-icon svg {
  width: 17px;
  height: 17px;
}
.doc-list .doc-name {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  padding: 16px 20px;
}
.doc-list .doc-type {
  flex-shrink: 0;
  font-size: 13px;
  color: var(--muted);
}
/* ---------- Страница результатов поиска ---------- */
.search-form {
  display: flex;
  gap: 14px;
  max-width: 560px;
  margin-top: 28px;
}
.search-form input {
  flex: 1;
  padding: 16px 20px;
  font: inherit;
  font-size: 16px;
  color: var(--ink);
  background: white;
  border: 1px solid var(--line);
  border-radius: 10px;
}
.search-results {
  display: grid;
  gap: 0;
  list-style: none;
  padding: 0;
  margin-top: 36px;
}
.search-result {
  padding: 26px 0;
  border-top: 1px solid var(--line);
}
.search-result:first-child {
  border-top: 0;
  padding-top: 0;
}
.search-result-category {
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--green);
  margin-bottom: 8px;
}
.search-result-title {
  font-family: var(--serif);
  font-size: 22px;
}
a.search-result-title:hover {
  color: var(--green);
}
.search-result-desc {
  margin-top: 8px;
  font-size: 15px;
  color: var(--muted);
  max-width: 46em;
}
.search-empty {
  margin-top: 36px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--cream);
  color: var(--muted);
  max-width: 46em;
}

/* ---------- Компонент для табличных отчётов в «Сведения об ОО» ---------- */
.sved-table {
  overflow-x: auto;
  margin-top: 20px;
}
.sved-table table {
  width: 100%;
  border-collapse: collapse;
  font-size: 15px;
}
.sved-table caption {
  text-align: left;
  margin-bottom: 10px;
}
.sved-table th {
  text-align: left;
  padding: 10px 12px;
  font-size: 12px;
  text-transform: uppercase;
  color: var(--muted);
}
.sved-table td {
  padding: 10px 12px;
}
.sved-table thead tr {
  border-bottom: 2px solid var(--green);
}
.sved-table tbody tr {
  border-bottom: 1px solid var(--line);
}
.sved-table tbody tr:last-child {
  border-bottom: 0;
}
.notice {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 20px 22px;
  background: var(--cream);
  border-radius: 12px;
  font-size: 15px;
  color: var(--muted);
  margin-bottom: 40px;
}
.notice strong {
  color: var(--ink);
}
@media (max-width: 1250px) {
  .album-grid {
    gap: 24px;
  }
  .form-grid {
    gap: 32px;
  }
  .sved-layout {
    grid-template-columns: 250px 1fr;
    gap: 40px;
  }
}
@media (max-width: 900px) {
  .page-header.split {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .page-header.split .image-frame img {
    height: 260px;
  }
  .leaders {
    grid-template-columns: 1fr;
  }
  .album-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .photo-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .split-feature,
  .form-grid,
  .contact-info-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }
  .split-feature .image-frame img {
    height: 360px;
  }
  .sved-layout {
    grid-template-columns: 1fr;
  }
  .sved-nav {
    position: static;
    grid-template-columns: repeat(2, 1fr);
    gap: 1px;
  }
  .sved-overview {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 650px) {
  .page-header {
    padding-top: 128px;
  }
  .page-header h1 {
    font-size: 36px;
  }
  .leader {
    grid-template-columns: 1fr;
  }
  .leader-mark {
    width: 90px;
  }
  .album-grid,
  .photo-grid {
    grid-template-columns: 1fr;
  }
  .staff-card {
    grid-template-columns: 1fr;
  }
  .staff-card .teacher-photo {
    width: 110px;
  }
  .sved-facts {
    grid-template-columns: 1fr;
  }
  .sved-nav {
    grid-template-columns: 1fr;
  }
  .contact-info-grid {
    border: 0;
    padding: 0;
    margin: 36px 0;
  }
  .article .cover img {
    height: 240px;
  }
  .article .body {
    font-size: 17px;
  }
  .stagefilter {
    gap: 8px;
  }
}

/* ===== Фильтр по ступеням обучения (страница «Руководство и учителя») ===== */
.stagefilter {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 10px 0 44px;
}
.stagefilter button {
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--muted);
  padding: 10px 18px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: var(--paper);
  transition:
    border-color 0.16s,
    color 0.16s,
    background 0.16s;
}
.stagefilter button:hover {
  border-color: var(--green);
  color: var(--ink);
}
.stagefilter button.is-active {
  background: var(--green);
  border-color: var(--green);
  color: var(--paper);
}
.team-grid [hidden] {
  display: none;
}
