@font-face {
  font-family: "Nunito";
  src: url("./assets/fonts/Nunito-variable.ttf") format("truetype");
  font-style: normal;
  font-weight: 200 900;
  font-display: swap;
}

@font-face {
  font-family: "Neucha";
  src: url("./assets/fonts/Neucha.ttf") format("truetype");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

:root {
  --navy: #213b56;
  --navy-deep: #172f48;
  --ink: #23384d;
  --paper: #fffdf8;
  --cream: #f5efe4;
  --gold: #f3c66d;
  --red: #a63132;
  --blue: #7da7d1;
  --line: #d8d5cd;
  color: var(--ink);
  font-family: "Nunito", sans-serif;
  font-synthesis: none;
}

* { box-sizing: border-box; }
html { scroll-behavior: auto; }
body { margin: 0; background: var(--navy); min-width: 0; }
button, input { font: inherit; }
a { color: inherit; text-decoration: none; }
img, svg { display: block; max-width: 100%; }
h1, h2, h3, p { margin: 0; }

:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 4px;
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -70px;
  z-index: 20;
  padding: 10px 16px;
  background: var(--paper);
  color: var(--ink);
  border-radius: 8px;
}
.skip-link:focus { top: 12px; }
.wrap { width: min(100% - 72px, 1340px); margin-inline: auto; }

.night {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  background:
    radial-gradient(circle at 78% 8%, rgba(96, 151, 195, .15), transparent 28%),
    radial-gradient(circle at 13% 81%, rgba(61, 122, 169, .14), transparent 32%),
    var(--navy);
  color: white;
}
.night::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  opacity: .35;
  background-image: radial-gradient(#8fb8db 1px, transparent 1.4px);
  background-size: 78px 86px;
  background-position: 20px 20px;
  mask-image: linear-gradient(to bottom, #000, transparent 90%);
}
.sky-drawing {
  position: absolute;
  inset: 0 0 auto;
  height: 700px;
  z-index: -1;
  pointer-events: none;
}
.sky-drawing svg { width: 100%; height: 100%; }
.orbit-lines { fill: none; stroke: #638db4; stroke-width: 2.5; opacity: .28; }
.orbit-dots { fill: #75a5e3; opacity: .85; }
.sky-stars { fill: #90b8e7; opacity: .8; }

.site-header {
  position: relative;
  display: flex;
  align-items: center;
  gap: 28px;
  min-height: 103px;
  z-index: 5;
}
.brand { display: flex; align-items: center; gap: 13px; flex: none; }
.brand-symbol { color: var(--gold); font-size: 40px; line-height: 1; }
.brand-words { display: grid; line-height: 1.05; }
.brand-words strong { font-family: "Neucha", cursive; font-size: 32px; font-weight: 400; }
.brand-words small { margin-top: 3px; font-size: 12px; font-weight: 700; letter-spacing: .03em; }
.desktop-nav { display: flex; justify-content: center; align-items: center; flex: 1; gap: clamp(16px, 2.2vw, 32px); }
.desktop-nav a, .site-footer nav a { font-size: 15px; font-weight: 800; white-space: nowrap; }
.desktop-nav a:hover, .site-footer nav a:hover { text-decoration: underline; text-underline-offset: 6px; }
.header-cta {
  border: 1.5px solid rgba(255,255,255,.8);
  border-radius: 100px;
  padding: 12px 17px;
  font-size: 14px;
  font-weight: 800;
  white-space: nowrap;
}
.header-cta:hover { background: rgba(255,255,255,.12); }
.mobile-nav { display: none; }

.hero {
  display: grid;
  grid-template-columns: minmax(355px, .88fr) minmax(0, 1.12fr);
  align-items: center;
  min-height: 565px;
  gap: clamp(20px, 4vw, 70px);
  padding-bottom: 82px;
}
.hero-visual { position: relative; height: 480px; align-self: end; }
.lighthouse { position: absolute; z-index: 2; bottom: -4px; left: 4%; width: min(75%, 300px); height: 480px; object-fit: contain; object-position: bottom; }
.light-beam {
  position: absolute;
  top: 85px;
  left: 165px;
  width: min(28vw, 350px);
  height: 235px;
  opacity: .82;
  transform: rotate(-8deg);
  transform-origin: 0 50%;
  clip-path: polygon(0 41%, 100% 0, 100% 100%, 0 59%);
  background: linear-gradient(90deg, #f6cb74, #d9a851);
  pointer-events: none;
}
.light-beam::after {
  content: "";
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(130deg, transparent 0 24px, rgba(255,255,255,.13) 25px 26px);
}
.hero-content { position: relative; z-index: 3; padding: 25px 0 50px; }
.hero-location { color: #f3d396; font-size: 16px; font-weight: 900; letter-spacing: .03em; }
.hero h1 { font-family: "Neucha", cursive; font-size: clamp(90px, 9vw, 138px); font-weight: 400; line-height: .98; letter-spacing: -.035em; margin: 7px 0 20px; }
.hero-idea { max-width: 620px; font-family: "Neucha", cursive; font-size: clamp(35px, 3.25vw, 53px); line-height: 1.08; }
.hero-meaning { max-width: 500px; margin-top: 21px; font-size: 19px; font-weight: 600; line-height: 1.52; color: #e8f0f7; }
.hero-links { display: flex; align-items: center; flex-wrap: wrap; gap: 22px 30px; margin-top: 38px; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 16px; min-height: 56px; padding: 12px 23px; border-radius: 100px; font-size: 16px; font-weight: 900; text-align: center; line-height: 1.25; }
.button-gold { background: var(--gold); color: var(--navy-deep); box-shadow: 0 7px 0 rgba(14,30,47,.3); }
.button-gold:hover { background: #ffda8e; }
.button span { font-size: 21px; line-height: 1; }
.text-link { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; font-weight: 900; border-bottom: 2px solid currentColor; }
.text-link-light { color: white; }
.sea-edge { height: 44px; position: relative; z-index: 3; background: var(--red); }
.sea-edge svg { width: 100%; height: 65px; transform: translateY(-21px); }

.paper {
  position: relative;
  z-index: 4;
  width: min(100% - 66px, 1360px);
  margin: -18px auto 0;
  background: var(--paper);
  border-radius: 75px 8px 6px 6px / 34px 8px 6px 6px;
  box-shadow: 22px 28px 0 rgba(10,27,43,.18), 0 12px 45px rgba(11,28,45,.2);
  overflow: hidden;
}
.paper::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  opacity: .3;
  pointer-events: none;
  background-image: radial-gradient(#cebb9b .4px, transparent .6px);
  background-size: 7px 7px;
}
.paper-holes { position: absolute; display: flex; gap: 45px; top: 22px; right: 15%; }
.paper-holes span { width: 24px; height: 24px; border-radius: 50%; background: var(--navy); box-shadow: inset 3px 3px 2px rgba(0,0,0,.24); }
.paper-content { width: min(100% - 140px, 1100px); margin-inline: auto; padding-top: 95px; }
.section { position: relative; padding: 85px 0; border-top: 1px solid var(--line); scroll-margin-top: 20px; }
.section:first-child { border-top: 0; padding-top: 45px; }
.section h2 { font-family: "Neucha", cursive; font-size: clamp(47px, 4.3vw, 65px); font-weight: 400; line-height: 1.08; letter-spacing: -.015em; }
.statement { font-size: clamp(27px, 2.5vw, 38px); font-weight: 800; line-height: 1.23; max-width: 640px; }
.supporting { font-size: 19px; line-height: 1.5; font-weight: 600; max-width: 570px; }

.about { display: grid; grid-template-columns: 1.15fr .85fr; align-items: center; gap: 55px; min-height: 465px; }
.about h2 { margin-bottom: 22px; }
.about .supporting { margin-top: 22px; }
.material-study { position: relative; height: 310px; }
.material-card { position: absolute; width: 180px; height: 204px; border-radius: 11px 18px 10px 19px; box-shadow: 7px 12px 0 rgba(28,45,57,.1), 0 11px 26px rgba(25,40,52,.11); }
.material-card-a { left: 9%; top: 7%; transform: rotate(-11deg); background: #e9bd63; }
.material-card-b { left: 38%; top: 18%; transform: rotate(11deg); background: #abc4ab; }
.material-card-c { left: 25%; top: 33%; transform: rotate(-2deg); background: #ebe0c9; border: 1px solid #d1c3a7; }
.material-circle { display: block; width: 92px; height: 92px; border-radius: 50%; border: 14px solid #bd664a; margin: 55px auto; box-shadow: 3px 5px 0 rgba(0,0,0,.13); }
.material-ruler { display: block; width: 120px; height: 25px; transform: rotate(-30deg); margin: 88px auto; background: repeating-linear-gradient(90deg, #8d6944 0 2px, transparent 2px 13px), #d6a976; border: 2px solid #9e7143; }
.material-star { position: absolute; top: 45px; left: 64px; color: #6283b1; font-size: 72px; }

.section-topline { display: flex; justify-content: space-between; align-items: center; margin-bottom: 35px; }
.line-star { color: #e5b35c; font-size: 47px; }
.program-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 25px; }
.program-card { min-height: 280px; position: relative; padding: 30px 33px; overflow: hidden; border-radius: 16px 26px 14px 27px; box-shadow: 6px 8px 0 rgba(25,48,70,.11); display: flex; align-items: flex-end; }
.math-card { background: #e8dec4; }
.language-card { background: #c7d8d6; }
.program-card h3 { position: relative; z-index: 2; font-family: "Neucha", cursive; font-size: clamp(34px, 3.1vw, 47px); font-weight: 400; line-height: 1; }
.program-illustration { position: absolute; inset: 0; }
.math-illustration span { position: absolute; display: block; }
.math-illustration span:nth-child(1) { width: 124px; height: 124px; border: 20px solid #c06c51; border-radius: 50%; right: 47px; top: 20px; transform: rotate(18deg); }
.math-illustration span:nth-child(2) { width: 82px; height: 82px; border: 15px solid #e6b85e; border-radius: 50%; right: 160px; top: 100px; }
.math-illustration span:nth-child(3) { width: 150px; height: 5px; background: #8299a2; right: 25px; top: 150px; transform: rotate(-25deg); }
.language-illustration span { position: absolute; display: grid; place-items: center; width: 98px; height: 110px; top: 25px; right: 55px; color: #314c65; background: #f3e4bb; border-radius: 7px 12px 9px 16px; transform: rotate(11deg); font-family: "Neucha", cursive; font-size: 66px; box-shadow: 5px 8px 0 rgba(27,52,66,.15); }
.language-illustration span:last-child { right: 146px; top: 80px; background: #df997c; transform: rotate(-13deg); font-size: 57px; }

.teachers-heading { display: flex; align-items: center; gap: 40px; margin-bottom: 35px; }
.paint-stroke { height: 13px; flex: 1; max-width: 280px; background: #a9bbad; transform: rotate(-2deg); clip-path: polygon(0 19%, 100% 0, 96% 100%, 0 84%); }
.teacher-layout { display: grid; grid-template-columns: 1fr 1.1fr; gap: 42px; align-items: center; min-height: 250px; }
.teacher-image-space { position: relative; height: 255px; background: #e6e4da; border: 12px solid #fff; box-shadow: 5px 8px 0 #cfc8ba, 0 4px 24px rgba(0,0,0,.12); transform: rotate(-2deg); }
.teacher-image-space::after { content: ""; position: absolute; inset: 18px; border: 1px solid #c5c0b6; }
.photo-corner { position: absolute; z-index: 2; top: -20px; left: 42%; width: 80px; height: 30px; background: rgba(216,177,106,.74); transform: rotate(5deg); }
.teacher-text-space { min-height: 190px; display: grid; align-content: center; gap: 25px; }
.teacher-text-space span { display: block; height: 3px; width: 100%; background: #d9d7d0; }
.teacher-text-space span:nth-child(2) { width: 82%; }
.teacher-text-space span:nth-child(3) { width: 65%; }

.learning-layout { display: grid; grid-template-columns: 1fr .8fr; align-items: center; gap: 50px; min-height: 340px; }
.learning h2 { max-width: 600px; }
.statement-small { margin-top: 25px; font-size: clamp(25px, 2.3vw, 34px); }
.learning-visual { height: 300px; display: grid; place-items: center; }
.learning-sheet { position: relative; width: min(84%, 310px); height: 245px; background: #e9e1d1; box-shadow: 11px 12px 0 #c7bdad, 18px 20px 0 rgba(40,53,57,.12); transform: rotate(7deg); }
.learning-sheet::before { content: ""; position: absolute; inset: 20px; border: 2px solid #c8bcaa; }
.sheet-tab { position: absolute; display: block; right: -31px; width: 34px; height: 31px; border-radius: 0 8px 8px 0; }
.sheet-tab.yellow { top: 19px; background: #eac362; }
.sheet-tab.violet { top: 54px; background: #b4a4c9; }
.sheet-tab.orange { top: 89px; background: #df966d; }
.sheet-tab.green { top: 124px; background: #a1b594; }
.sheet-tab.blue { top: 159px; background: #82a7c7; }
.sheet-tab.red { top: 194px; background: #ba6460; }

.admission { border-top: 0; padding-block: 55px; }
.admission-inner { display: flex; align-items: center; justify-content: space-between; min-height: 225px; padding: 35px 48px; background: var(--red); color: white; border-radius: 23px 10px 24px 10px; box-shadow: 8px 11px 0 #e5d5bc; }
.admission h2 { margin-bottom: 15px; }
.admission p { font-size: clamp(23px, 2.3vw, 31px); font-weight: 800; }
.admission-mark { width: 120px; height: 120px; display: grid; place-items: center; flex: none; border: 2px solid rgba(255,255,255,.7); border-radius: 50%; margin-right: 25px; }
.admission-mark span { font-size: 68px; line-height: 1; color: #f2cf86; }

.contacts { padding-bottom: 115px; }
.contacts-copy { display: flex; align-items: baseline; justify-content: space-between; margin-bottom: 35px; }
.contacts-copy p { font-size: 20px; font-weight: 800; }
.contacts-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 38px; }
.contact-fields { display: grid; align-content: center; gap: 14px; }
.contact-fields > div { display: grid; grid-template-columns: 130px 1fr; align-items: center; min-height: 54px; border-bottom: 1px solid #c8c7c3; font-size: 19px; }
.contact-fields strong { font-weight: 900; }
.empty-value { min-height: 22px; }
.location-space { min-height: 255px; position: relative; overflow: hidden; background: #d7dfda; border: 9px solid #e9e3d7; border-radius: 13px; }
.location-space::before, .location-space::after { content: ""; position: absolute; width: 140%; height: 22px; left: -15%; top: 45%; transform: rotate(-20deg); background: #edf0eb; }
.location-space::after { top: 60%; transform: rotate(33deg); }
.location-dot { position: absolute; z-index: 2; top: 48%; left: 52%; width: 23px; height: 23px; border-radius: 50%; background: var(--red); box-shadow: 0 0 0 9px rgba(166,49,50,.22); }
.paper-red-edge { height: 40px; background: var(--red); position: relative; }
.paper-red-edge::after { content: ""; position: absolute; bottom: 0; left: 0; right: 0; height: 15px; background: var(--navy); clip-path: polygon(0 100%, 3% 0, 6% 100%, 9% 0, 12% 100%, 15% 0, 18% 100%, 21% 0, 24% 100%, 27% 0, 30% 100%, 33% 0, 36% 100%, 39% 0, 42% 100%, 45% 0, 48% 100%, 51% 0, 54% 100%, 57% 0, 60% 100%, 63% 0, 66% 100%, 69% 0, 72% 100%, 75% 0, 78% 100%, 81% 0, 84% 100%, 87% 0, 90% 100%, 93% 0, 96% 100%, 100% 0); }

.site-footer { padding: 58px 0 65px; color: white; background: var(--navy); }
.footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.footer-brand { font-family: "Neucha", cursive; font-size: 40px; }
.site-footer nav { display: flex; flex-wrap: wrap; gap: 14px 25px; }
.site-footer span { font-size: 15px; font-weight: 800; white-space: nowrap; }

@media (min-width: 1700px) and (min-height: 900px) {
  .wrap { max-width: 1560px; }
  .site-header { min-height: 125px; }
  .desktop-nav a { font-size: 18px; }
  .header-cta { font-size: 17px; padding: 14px 21px; }
  .hero { min-height: 650px; grid-template-columns: .85fr 1.15fr; }
  .hero-visual { height: 550px; }
  .lighthouse { height: 550px; width: 350px; }
  .hero h1 { font-size: 158px; }
  .hero-idea { font-size: 59px; }
  .hero-meaning { font-size: 22px; }
  .paper { max-width: 1530px; }
  .paper-content { max-width: 1240px; }
  .section h2 { font-size: 70px; }
  .button { min-height: 64px; font-size: 19px; }
}

@media (max-width: 1190px) {
  .wrap { width: min(100% - 52px, 1100px); }
  .site-header { gap: 16px; }
  .desktop-nav { gap: 15px; }
  .desktop-nav a { font-size: 13px; }
  .header-cta { font-size: 12px; padding-inline: 12px; }
  .hero { grid-template-columns: .8fr 1.2fr; min-height: 545px; }
  .hero-visual { height: 460px; }
  .lighthouse { width: 280px; }
  .light-beam { width: min(18vw, 210px); }
  .hero h1 { font-size: 100px; }
  .hero-idea { font-size: 40px; }
  .paper-content { width: min(100% - 90px, 1000px); }
}

@media (max-width: 1100px) {
  .desktop-nav, .header-cta { display: none; }
  .site-header { justify-content: space-between; min-height: 88px; }
  .mobile-nav { display: block; position: relative; }
  .mobile-nav summary { display: grid; place-content: center; gap: 6px; width: 52px; height: 52px; border: 1.5px solid white; border-radius: 12px; cursor: pointer; list-style: none; }
  .mobile-nav summary::-webkit-details-marker { display: none; }
  .mobile-nav summary span { display: block; width: 23px; height: 2px; border-radius: 3px; background: white; }
  .mobile-nav nav { position: absolute; z-index: 10; right: 0; top: 62px; width: min(300px, calc(100vw - 42px)); display: grid; gap: 2px; padding: 12px; border-radius: 15px; background: var(--paper); color: var(--navy); box-shadow: 0 15px 30px rgba(0,0,0,.24); }
  .mobile-nav nav a { padding: 12px 15px; font-size: 17px; font-weight: 850; border-radius: 8px; }
  .mobile-nav nav a:hover { background: #f2e9d9; }
  .hero { grid-template-columns: .7fr 1.3fr; gap: 12px; min-height: 500px; padding-bottom: 65px; }
  .hero-visual { height: 405px; }
  .lighthouse { height: 410px; width: 235px; }
  .light-beam { left: 130px; top: 65px; width: min(17vw, 145px); height: 160px; }
  .hero h1 { font-size: 88px; }
  .hero-idea { font-size: 37px; }
  .hero-meaning { font-size: 17px; }
  .paper-content { width: min(100% - 74px, 800px); }
  .section { padding-block: 70px; }
  .about { gap: 20px; }
  .material-card { scale: .85; }
  .material-card-a { left: 0; }
  .material-card-b { left: 24%; }
  .material-card-c { left: 12%; }
  .footer-inner { align-items: flex-start; flex-wrap: wrap; }
}

@media (max-width: 700px) {
  .wrap { width: calc(100% - 34px); }
  .brand-symbol { font-size: 34px; }
  .brand-words strong { font-size: 27px; }
  .brand-words small { font-size: 11px; }
  .hero { display: flex; flex-direction: column; align-items: stretch; min-height: 0; gap: 0; padding-bottom: 73px; }
  .hero-visual { height: 275px; order: 2; align-self: stretch; overflow: visible; }
  .lighthouse { bottom: -18px; left: max(0px, calc(50% - 145px)); width: 245px; height: 300px; }
  .light-beam { left: 48%; top: 20px; width: 58vw; height: 140px; transform: rotate(-7deg); }
  .hero-content { order: 1; padding: 22px 0 0; }
  .hero-location { font-size: 14px; }
  .hero h1 { font-size: clamp(80px, 18vw, 118px); margin-bottom: 9px; }
  .hero-idea { max-width: 530px; font-size: clamp(34px, 8vw, 52px); }
  .hero-meaning { max-width: 450px; margin-top: 15px; font-size: 17px; }
  .hero-links { margin-top: 26px; gap: 12px 24px; }
  .button { font-size: 15px; min-height: 54px; }
  .paper { width: calc(100% - 24px); border-radius: 38px 7px 5px 5px / 26px 7px 5px 5px; }
  .paper-holes { gap: 18px; top: 16px; right: 13%; }
  .paper-holes span { width: 15px; height: 15px; }
  .paper-content { width: calc(100% - 44px); padding-top: 52px; }
  .section, .section:first-child { padding-block: 54px; }
  .section h2 { font-size: clamp(42px, 11vw, 59px); }
  .statement { font-size: clamp(25px, 6.5vw, 34px); }
  .supporting { font-size: 17px; }
  .about, .learning-layout, .teacher-layout, .contacts-layout { display: flex; flex-direction: column; align-items: stretch; gap: 25px; }
  .about { min-height: auto; }
  .about h2 { margin-bottom: 16px; }
  .about .supporting { margin-top: 17px; }
  .material-study { height: 225px; width: min(100%, 350px); margin: 0 auto; }
  .material-card { scale: .65; transform-origin: top left; }
  .material-card-a { left: 10%; top: 0; }
  .material-card-b { left: 44%; top: 12%; }
  .material-card-c { left: 28%; top: 38%; }
  .section-topline { margin-bottom: 23px; }
  .program-grid { grid-template-columns: 1fr; gap: 18px; }
  .program-card { min-height: 215px; padding: 24px; }
  .program-card h3 { font-size: 38px; }
  .teachers-heading { gap: 20px; margin-bottom: 24px; }
  .teacher-layout { min-height: 0; }
  .teacher-image-space { height: 210px; width: min(100% - 12px, 360px); margin-inline: auto; }
  .teacher-text-space { min-height: 75px; gap: 15px; }
  .learning-layout { min-height: 0; }
  .learning-visual { height: 250px; }
  .learning-sheet { height: 198px; width: min(74%, 265px); }
  .sheet-tab.yellow { top: 7px; } .sheet-tab.violet { top: 38px; } .sheet-tab.orange { top: 69px; } .sheet-tab.green { top: 100px; } .sheet-tab.blue { top: 131px; } .sheet-tab.red { top: 162px; }
  .admission { padding-block: 40px; }
  .admission-inner { min-height: 210px; padding: 25px; }
  .admission-mark { width: 75px; height: 75px; margin: 0; }
  .admission-mark span { font-size: 47px; }
  .contacts { padding-bottom: 70px; }
  .contacts-layout { gap: 22px; }
  .location-space { min-height: 205px; }
  .site-footer { padding: 43px 0 50px; }
  .footer-inner { flex-direction: column; gap: 18px; }
  .site-footer nav { gap: 12px 21px; }
}

@media (max-width: 420px) {
  .hero { padding-bottom: 63px; }
  .hero-visual { height: 240px; }
  .lighthouse { left: 2%; width: 215px; height: 270px; }
  .light-beam { left: 42%; width: 64vw; }
  .hero-links { align-items: flex-start; flex-direction: column; }
  .button { width: 100%; max-width: 360px; }
  .paper-content { width: calc(100% - 34px); }
  .material-study { height: 205px; }
  .admission-inner { min-height: 190px; }
  .admission-mark { display: none; }
  .contact-fields > div { grid-template-columns: 105px 1fr; font-size: 17px; }
}

/* Расширяемый каркас главной: отдельные маршруты и место показа программы. */
.section-link {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-height: 48px;
  margin-top: 25px;
  border-bottom: 2px solid var(--red);
  font-size: 18px;
  font-weight: 900;
  line-height: 1.2;
}
.section-link:hover { color: var(--red); }
.section-link span { font-size: 22px; line-height: 1; }

.program-overview-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 30px;
  margin-bottom: 33px;
}
.program-overview-head .section-link { margin-top: 0; flex: none; }
.program-presentation {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 365px;
  overflow: hidden;
  border-radius: 21px 9px 22px 10px;
  background:
    radial-gradient(circle at 19% 23%, rgba(129,169,208,.5) 0 4px, transparent 5px),
    radial-gradient(circle at 81% 71%, rgba(129,169,208,.5) 0 6px, transparent 7px),
    #29445f;
  box-shadow: 7px 10px 0 #ddd4c3;
}
.program-presentation::before,
.program-presentation::after {
  content: "";
  position: absolute;
  width: 72%;
  height: 210px;
  border: 2px solid rgba(151,187,216,.25);
  border-radius: 50%;
  transform: rotate(-13deg);
}
.program-presentation::after { width: 54%; height: 330px; transform: rotate(24deg); }
.presentation-track {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: flex-end;
  justify-content: space-around;
  padding-bottom: 40px;
}
.presentation-track span { width: 18px; height: 18px; border-radius: 50%; background: #83aee1; box-shadow: 0 0 0 9px rgba(131,174,225,.14); }
.presentation-track span:nth-child(2) { align-self: flex-start; margin-top: 38px; width: 12px; height: 12px; }
.presentation-sheet {
  position: relative;
  z-index: 1;
  width: min(42%, 340px);
  height: 255px;
  transform: rotate(-5deg);
  background: var(--paper);
  border-radius: 5px 18px 6px 8px;
  box-shadow: 11px 15px 0 rgba(12,27,42,.26);
}
.presentation-sheet::before { content: "✦"; position: absolute; top: 60px; left: 50%; transform: translateX(-50%); color: #7ba6ce; font-size: 76px; }
.presentation-sheet::after { content: ""; position: absolute; inset: 18px; border: 1px solid #dedbd3; }
.presentation-sheet .sheet-tab { z-index: -1; }
.presentation-sheet .sheet-tab.yellow { top: 18px; }
.presentation-sheet .sheet-tab.violet { top: 55px; }
.presentation-sheet .sheet-tab.orange { top: 92px; }
.presentation-sheet .sheet-tab.green { top: 129px; }
.presentation-sheet .sheet-tab.blue { top: 166px; }
.presentation-sheet .sheet-tab.red { top: 203px; }

.program-card { color: var(--ink); }
.program-card:hover { box-shadow: 9px 11px 0 rgba(25,48,70,.17); }
.card-arrow { position: absolute; right: 27px; bottom: 24px; z-index: 2; font-size: 27px; line-height: 1; }
.teacher-entry { display: flex; align-items: center; justify-content: center; }
.teacher-entry .section-link { margin-top: 0; }
.learning-copy .section-link { margin-top: 35px; }
.admission-copy a { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; border-bottom: 2px solid white; font-size: 24px; font-weight: 900; }
.admission-copy a:hover { color: #ffe1a0; }

.documents { display: grid; grid-template-columns: 1fr .9fr; align-items: center; gap: 55px; min-height: 345px; }
.documents-folder { position: relative; width: min(85%, 345px); height: 210px; margin: auto; transform: rotate(5deg); background: #e8d9b7; border-radius: 8px 12px 13px 11px; box-shadow: 7px 10px 0 #d0c2a4; }
.documents-folder::before { content: ""; position: absolute; width: 120px; height: 24px; left: 0; top: -17px; background: #e8d9b7; border-radius: 8px 10px 0 0; }
.documents-folder::after { content: ""; position: absolute; inset: 30px 26px; border: 2px solid #bca981; border-radius: 2px; }
.documents-folder span { position: absolute; top: 42px; left: 44%; color: var(--red); font-size: 74px; }
.documents-folder span::after { content: "✦"; }

.contacts { padding-bottom: 95px; }
.contacts-layout { display: flex; align-items: center; justify-content: space-between; min-height: 120px; }
.contacts-layout .section-link { margin-top: 0; }
.contact-mark { color: var(--blue); font-size: 86px; line-height: 1; padding-right: 12%; }

.footer-inner { display: grid; grid-template-columns: 1.2fr repeat(3, 1fr); align-items: start; gap: 48px; }
.footer-identity { display: grid; align-content: start; gap: 16px; }
.footer-identity span { font-size: 15px; font-weight: 800; }
.site-footer nav { display: grid; justify-content: start; gap: 13px; }
.site-footer nav strong { color: var(--gold); font-size: 16px; }
.site-footer nav a { white-space: normal; line-height: 1.25; }

@media (max-width: 930px) {
  .footer-inner { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 35px; }
  .footer-identity { grid-column: 1 / -1; }
}

@media (max-width: 700px) {
  .section-link { margin-top: 18px; font-size: 17px; }
  .program-overview-head { display: block; margin-bottom: 22px; }
  .program-overview-head .section-link { margin-top: 16px; }
  .program-presentation { min-height: 260px; }
  .presentation-sheet { width: 55%; height: 180px; }
  .presentation-sheet::before { top: 36px; font-size: 58px; }
  .presentation-sheet .sheet-tab { width: 25px; height: 22px; right: -22px; }
  .presentation-sheet .sheet-tab.yellow { top: 8px; }
  .presentation-sheet .sheet-tab.violet { top: 35px; }
  .presentation-sheet .sheet-tab.orange { top: 62px; }
  .presentation-sheet .sheet-tab.green { top: 89px; }
  .presentation-sheet .sheet-tab.blue { top: 116px; }
  .presentation-sheet .sheet-tab.red { top: 143px; }
  .teacher-entry { min-height: 65px; justify-content: flex-start; }
  .teacher-entry .section-link { margin-top: 0; }
  .admission-copy a { font-size: 21px; }
  .documents { display: flex; flex-direction: column; align-items: stretch; min-height: 0; gap: 38px; }
  .documents-folder { width: 75%; height: 170px; }
  .documents-folder span { top: 26px; font-size: 57px; }
  .contacts { padding-bottom: 65px; }
  .contacts-layout { flex-direction: row; align-items: center; min-height: 70px; }
  .contact-mark { font-size: 56px; padding-right: 0; }
  .footer-inner { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 30px 22px; }
  .footer-identity { grid-column: 1 / -1; }
}

@media (max-width: 420px) {
  .program-presentation { min-height: 225px; }
  .presentation-sheet { width: 60%; height: 150px; }
  .presentation-sheet::before { top: 27px; font-size: 48px; }
  .presentation-sheet .sheet-tab { height: 18px; right: -20px; width: 22px; }
  .presentation-sheet .sheet-tab.yellow { top: 5px; }
  .presentation-sheet .sheet-tab.violet { top: 28px; }
  .presentation-sheet .sheet-tab.orange { top: 51px; }
  .presentation-sheet .sheet-tab.green { top: 74px; }
  .presentation-sheet .sheet-tab.blue { top: 97px; }
  .presentation-sheet .sheet-tab.red { top: 120px; }
  .footer-inner { grid-template-columns: 1fr; }
  .footer-identity { grid-column: auto; }
  .site-footer nav { gap: 9px; }
}
