:root {
  --blue: #00afef;
  --blue-dark: #007fae;
  --green: #00a959;
  --pink: #ec268f;
  --orange: #f58633;
  --red: #ed3136;
  --yellow: #ffdc58;
  --ink: #373234;
  --muted: #696366;
  --paper: #fffaf5;
  --white: #ffffff;
  --soft: #f3eee8;
  --line: #e2dbd4;
  --max: 1240px;
}

* {
  box-sizing: border-box;
}

[hidden] {
  display: none !important;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 105px;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "Avenir Next", Avenir, "Segoe UI", Arial, sans-serif;
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

body.menu-open {
  overflow: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  color: inherit;
  font: inherit;
}

img {
  display: block;
  max-width: 100%;
}

.shell {
  width: min(var(--max), calc(100% - 80px));
  margin-inline: auto;
}

.skip-link {
  position: fixed;
  top: -100px;
  left: 16px;
  z-index: 100;
  border-radius: 0 0 10px 10px;
  background: var(--ink);
  color: var(--white);
  padding: 12px 16px;
}

.skip-link:focus {
  top: 0;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  border-top: 5px solid var(--blue);
  border-bottom: 1px solid rgba(55, 50, 52, 0.1);
  background: rgba(255, 250, 245, 0.96);
  backdrop-filter: blur(14px);
}

.nav-row {
  min-height: 94px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
}

.brand {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
  gap: 12px;
  font-size: 15px;
  font-weight: 800;
  letter-spacing: 0.025em;
  line-height: 1.15;
  text-transform: uppercase;
}

.brand img {
  width: 74px;
  height: 74px;
  object-fit: contain;
}

.brand small {
  display: block;
  margin-top: 5px;
  font-size: 12px;
  font-weight: 650;
  letter-spacing: 0.25em;
}

nav {
  display: flex;
  align-items: center;
  gap: 22px;
  font-size: 15px;
  font-weight: 650;
}

nav a {
  padding: 12px 0;
  white-space: nowrap;
}

nav a:not(.nav-cta):hover {
  color: var(--pink);
}

.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  border-radius: 999px;
  background: var(--orange);
  color: var(--ink);
  padding: 11px 18px;
}

.nav-cta:hover {
  background: var(--yellow);
}

.menu-toggle {
  display: none;
  align-items: center;
  gap: 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: transparent;
  padding: 9px 13px;
}

.hero {
  min-height: 680px;
  display: grid;
  grid-template-columns: 1.04fr 0.96fr;
  align-items: center;
  gap: 70px;
  padding-block: 66px 72px;
}

.kicker {
  margin: 0 0 24px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 750;
  letter-spacing: 0.15em;
  line-height: 1.5;
}

.hero .kicker {
  display: flex;
  align-items: center;
  gap: 11px;
}

.hero .kicker span {
  width: 30px;
  height: 4px;
  border-radius: 10px;
  background: var(--pink);
}

h1,
h2,
.quote-band blockquote {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 400;
  letter-spacing: -0.045em;
  line-height: 1.04;
}

h1 {
  max-width: 650px;
  font-size: clamp(48px, 4.7vw, 68px);
}

h1 em,
h2 em {
  color: var(--pink);
  font-weight: 400;
}

h2 {
  font-size: clamp(35px, 3.35vw, 50px);
}

.hero-lead {
  max-width: 570px;
  margin: 28px 0 30px;
  color: var(--muted);
  font-size: 19px;
  line-height: 1.75;
}

.hero-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 25px;
}

.button {
  min-height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  border-radius: 999px;
  padding: 13px 21px;
  font-size: 16px;
  font-weight: 700;
  transition: transform 180ms ease, background-color 180ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button-blue {
  background: var(--blue);
  color: #153742;
}

.button-blue:hover {
  background: #31c1f3;
}

.button-white {
  background: var(--white);
  color: var(--ink);
}

.button-white:hover {
  background: var(--yellow);
}

.text-link {
  border-bottom: 1px solid #aca4a0;
  padding: 5px 0;
  font-size: 16px;
  font-weight: 650;
}

.text-link:hover {
  color: var(--pink);
  border-color: var(--pink);
}

.hero-quote {
  margin: 36px 0 0;
  color: var(--muted);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(24px, 2.2vw, 30px);
  font-style: italic;
  line-height: 1.3;
}

.hero-visual {
  min-height: 540px;
  position: relative;
  margin: 0;
}

.hero-visual > img {
  width: calc(100% - 28px);
  height: 520px;
  position: absolute;
  right: 0;
  bottom: 0;
  z-index: 2;
  border-radius: 46% 54% 28px 28px;
  object-fit: cover;
  object-position: 58% center;
  box-shadow: 0 25px 65px rgba(50, 41, 38, 0.15);
}

.hero-visual figcaption {
  min-width: 330px;
  min-height: 55px;
  position: absolute;
  right: 22px;
  bottom: 20px;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
  color: var(--ink);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hero-visual figcaption span + span::before {
  content: "";
  width: 5px;
  height: 5px;
  display: inline-block;
  margin-right: 14px;
  border-radius: 50%;
  background: var(--pink);
  vertical-align: middle;
}

.hero-shape {
  position: absolute;
  z-index: 1;
  border-radius: 50%;
}

.hero-shape-pink {
  width: 132px;
  height: 132px;
  top: 2px;
  right: 10px;
  background: var(--pink);
}

.hero-shape-orange {
  width: 92px;
  height: 92px;
  left: 0;
  bottom: 68px;
  background: var(--orange);
}

.value-ribbon {
  border-block: 1px solid var(--line);
  background: var(--white);
}

.value-ribbon .shell {
  min-height: 92px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  font-size: 16px;
  font-weight: 700;
}

.value-ribbon span {
  display: flex;
  align-items: center;
  gap: 12px;
}

.dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
}

.dot-pink { background: var(--pink); }
.dot-orange { background: var(--orange); }
.dot-green { background: var(--green); }
.dot-blue { background: var(--blue); }

.section {
  padding-block: 112px;
}

.section-heading {
  max-width: 820px;
  margin-bottom: 58px;
}

.section-heading .kicker {
  margin-bottom: 20px;
}

.heading-split {
  max-width: none;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  align-items: end;
  gap: 105px;
}

.heading-split > p {
  max-width: 430px;
  margin: 0 0 5px;
  color: var(--muted);
}

.about-grid {
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  align-items: start;
  gap: 80px;
}

.about-image {
  min-height: 590px;
  position: relative;
}

.about-image::before {
  content: "";
  width: 74%;
  height: 58%;
  position: absolute;
  left: -18px;
  bottom: -18px;
  border-radius: 8px 8px 8px 120px;
  background: var(--yellow);
}

.about-image img {
  width: 100%;
  height: 570px;
  position: relative;
  border-radius: 8px 90px 8px 8px;
  object-fit: cover;
}

.image-label {
  position: absolute;
  right: -18px;
  bottom: 36px;
  border-radius: 999px;
  background: var(--green);
  color: var(--white);
  padding: 12px 18px;
  font-size: 14px;
  font-weight: 750;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.about-copy > p {
  color: var(--muted);
  margin: 0 0 22px;
}

.about-copy .large-copy {
  color: var(--ink);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 25px;
  line-height: 1.5;
}

.mini-values {
  margin-top: 35px;
  border-top: 1px solid var(--line);
}

.mini-values article {
  display: grid;
  grid-template-columns: 44px 118px 1fr;
  align-items: baseline;
  gap: 14px;
  border-bottom: 1px solid var(--line);
  padding: 18px 0;
}

.mini-values article > span {
  color: var(--pink);
  font-size: 12px;
  font-weight: 800;
}

.mini-values h3,
.mini-values p {
  margin: 0;
}

.mini-values h3 {
  font-size: 16px;
}

.mini-values p {
  color: var(--muted);
  font-size: 14px;
}

.maria-section {
  min-height: 610px;
  position: relative;
  overflow: hidden;
  background: var(--blue);
  color: #153742;
  padding-block: 100px;
}

.maria-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 105px;
}

.kicker-light {
  color: rgba(21, 55, 66, 0.72);
}

.maria-section h2 {
  max-width: 540px;
}

.maria-section h2 em {
  color: var(--white);
}

.maria-lead {
  max-width: 540px;
  margin: 28px 0 0;
  font-size: 19px;
  line-height: 1.75;
}

.maria-story {
  border-left: 1px solid rgba(21, 55, 66, 0.23);
  padding-left: 55px;
}

.maria-story > p {
  margin: 0 0 21px;
}

.maria-facts {
  display: grid;
  gap: 0;
  margin-top: 32px;
  border-top: 1px solid rgba(21, 55, 66, 0.23);
}

.maria-facts span {
  display: grid;
  grid-template-columns: 104px 1fr;
  gap: 15px;
  border-bottom: 1px solid rgba(21, 55, 66, 0.23);
  padding: 15px 0;
  font-size: 16px;
}

.maria-facts b {
  font-size: 16px;
}

.orbit {
  position: absolute;
  border-radius: 50%;
}

.orbit-one {
  width: 220px;
  height: 220px;
  right: -65px;
  top: -85px;
  background: var(--orange);
}

.orbit-two {
  width: 135px;
  height: 135px;
  left: -52px;
  bottom: -48px;
  background: var(--pink);
}

.method-layout {
  display: grid;
  grid-template-columns: 0.66fr 1.34fr;
  align-items: start;
  gap: 68px;
}

.method-intro {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 23px;
}

.method-intro p {
  margin: 0;
}

.button-outline {
  border: 1px solid var(--ink);
  background: transparent;
  color: var(--ink);
}

.button-outline:hover {
  background: var(--ink);
  color: var(--white);
}

.method-photo {
  position: sticky;
  top: 130px;
  margin: 0;
}

.method-photo img {
  width: 100%;
  height: 620px;
  border-radius: 120px 8px 8px 8px;
  object-fit: cover;
  object-position: center 45%;
}

.method-photo figcaption {
  max-width: 340px;
  margin: 17px 0 0;
  color: var(--muted);
  font-size: 15px;
}

.principles {
  border-top: 1px solid var(--line);
}

.principles details {
  border-bottom: 1px solid var(--line);
}

.principles summary {
  min-height: 82px;
  display: grid;
  grid-template-columns: 1fr 22px;
  align-items: center;
  gap: 12px;
  cursor: pointer;
  list-style: none;
  font-size: 18px;
  font-weight: 650;
}

.principles summary::-webkit-details-marker {
  display: none;
}

.principles summary i {
  width: 20px;
  height: 20px;
  position: relative;
}

.principles summary i::before,
.principles summary i::after {
  content: "";
  width: 16px;
  height: 2px;
  position: absolute;
  left: 2px;
  top: 9px;
  border-radius: 2px;
  background: var(--ink);
}

.principles summary i::after {
  transform: rotate(90deg);
}

.principles details[open] summary i::after {
  transform: rotate(0);
}

.principles details > p {
  max-width: none;
  margin: -2px 44px 30px 0;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.75;
}

.method-detail-section {
  background: var(--soft);
}

.method-detail-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px 72px 8px 8px;
  background: var(--line);
}

.method-detail-card {
  min-height: 300px;
  background: var(--white);
  padding: 34px 38px 38px;
}

.method-detail-card h3 {
  margin: 0 0 15px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(24px, 2vw, 30px);
  line-height: 1.08;
}

.method-detail-card p {
  max-width: 600px;
  margin: 0;
  color: var(--muted);
  font-size: 16px;
}

.method-detail-featured {
  background: var(--yellow);
}

.method-gallery {
  display: grid;
  grid-template-columns: 0.8fr 1.1fr 1.1fr;
  gap: 18px;
  margin-top: 34px;
}

.method-gallery figure {
  min-height: 340px;
  position: relative;
  overflow: hidden;
  margin: 0;
  border-radius: 8px 46px 8px 8px;
}

.method-gallery img {
  width: 100%;
  height: 100%;
  position: absolute;
  object-fit: cover;
}

.method-gallery figure:first-child img {
  object-position: center 33%;
}

.method-gallery figure::after {
  content: "";
  position: absolute;
  inset: 48% 0 0;
  background: linear-gradient(transparent, rgba(21, 55, 66, 0.72));
}

.method-gallery figcaption {
  position: absolute;
  left: 21px;
  bottom: 17px;
  z-index: 1;
  color: var(--white);
  font-size: 16px;
  font-weight: 700;
}

.lithuania-section {
  overflow: hidden;
  position: relative;
  background: var(--orange);
  color: var(--ink);
}

.lithuania-section::after {
  content: "";
  width: 280px;
  height: 280px;
  position: absolute;
  right: -115px;
  top: 130px;
  border-radius: 50%;
  background: var(--blue);
  opacity: 0.42;
}

.lithuania-section .section {
  position: relative;
  z-index: 1;
}

.lithuania-section .heading-split > p {
  color: rgba(55, 50, 52, 0.8);
}

.history-heading {
  max-width: 900px;
}

.history-story {
  max-width: 960px;
  border-left: 4px solid var(--ink);
  padding-left: clamp(24px, 4vw, 54px);
}

.history-story p {
  margin: 0 0 22px;
  color: rgba(55, 50, 52, 0.88);
  font-size: clamp(18px, 1.7vw, 21px);
  line-height: 1.72;
}

.history-story p:first-child {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(21px, 2.2vw, 28px);
  line-height: 1.52;
}

.history-story p:last-child {
  margin-bottom: 0;
}

.lithuania-layout {
  display: grid;
  grid-template-columns: 0.78fr 1.22fr;
  gap: 78px;
  align-items: start;
}

.lithuania-lead {
  padding-top: 12px;
}

.lithuania-year {
  color: var(--white);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(68px, 8.5vw, 116px);
  letter-spacing: -0.07em;
  line-height: 0.8;
}

.lithuania-lead h3 {
  max-width: 480px;
  margin: 42px 0 20px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(26px, 2.6vw, 35px);
  line-height: 1.08;
}

.lithuania-lead p,
.lithuania-timeline p {
  color: rgba(55, 50, 52, 0.82);
}

.lithuania-timeline {
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid rgba(55, 50, 52, 0.25);
}

.lithuania-timeline li {
  display: grid;
  grid-template-columns: 95px 1fr;
  gap: 25px;
  border-bottom: 1px solid rgba(55, 50, 52, 0.25);
  padding: 27px 0 30px;
}

.lithuania-timeline li > span {
  color: var(--ink);
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.lithuania-timeline h3 {
  margin: 0 0 9px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 23px;
}

.lithuania-timeline p {
  margin: 0;
}

.pioneers-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-top: 70px;
}

.pioneer-card {
  min-height: 410px;
  border-radius: 8px 72px 8px 8px;
  padding: 36px 38px 40px;
}

.pioneer-card-blue {
  background: rgba(255, 255, 255, 0.92);
}

.pioneer-card-green {
  background: var(--green);
  color: #153742;
}

.pioneer-role {
  margin: 0 0 38px;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.pioneer-card-blue .pioneer-role {
  color: var(--blue-dark);
}

.pioneer-card-green .pioneer-role {
  color: rgba(21, 55, 66, 0.75);
}

.pioneer-heading {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 24px;
}

.pioneer-heading h3 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(29px, 3vw, 40px);
  font-weight: 400;
  letter-spacing: -0.035em;
  line-height: 1.08;
}

.pioneer-heading span {
  flex-shrink: 0;
  font-size: 14px;
  font-weight: 750;
}

.pioneer-card > p:not(.pioneer-role) {
  margin: 0 0 16px;
}

.pioneer-card-blue > p:not(.pioneer-role) {
  color: var(--muted);
}

.pioneer-card > p:last-child {
  margin-bottom: 0;
}

.history-facts {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 20px;
}

.history-facts article {
  min-height: 270px;
  border: 1px solid rgba(55, 50, 52, 0.24);
  border-radius: 8px 46px 8px 8px;
  padding: 26px 27px 30px;
  background: rgba(255, 220, 88, 0.48);
}

.history-facts span {
  color: rgba(55, 50, 52, 0.58);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.12em;
}

.history-facts h3 {
  margin: 42px 0 12px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 23px;
  line-height: 1.12;
}

.history-facts p {
  margin: 0;
  color: rgba(55, 50, 52, 0.82);
  font-size: 16px;
}

.source-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  margin-top: 60px;
  border-top: 1px solid rgba(55, 50, 52, 0.25);
  padding-top: 20px;
}

.source-links > span {
  margin-right: 10px;
  color: rgba(55, 50, 52, 0.72);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.source-links a {
  border: 1px solid rgba(55, 50, 52, 0.42);
  border-radius: 999px;
  padding: 8px 13px;
  color: var(--ink);
  font-size: 14px;
  text-decoration: none;
}

.source-links a:hover {
  border-color: var(--ink);
  background: var(--yellow);
  color: var(--ink);
}

.notable-section {
  background: var(--white);
}

.notable-group + .notable-group {
  margin-top: 56px;
}

.notable-group-title {
  margin: 0 0 24px;
  border-top: 2px solid var(--orange);
  padding-top: 22px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.4rem, 2.2vw, 1.75rem);
  line-height: 1.3;
  font-weight: 400;
}

.notable-group .notable-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: start;
  gap: 24px;
}

.notable-group .notable-grid-single {
  grid-template-columns: minmax(0, 760px);
}

.notable-card {
  min-width: 0;
  border: 1px solid var(--line);
  border-top: 4px solid var(--green);
  border-radius: 8px 36px 8px 8px;
  padding: 26px;
  background: var(--paper);
}

.notable-card-heading {
  display: grid;
  grid-template-columns: 136px minmax(0, 1fr);
  gap: 24px;
  align-items: center;
}

.notable-card-heading img {
  width: 136px;
  height: 170px;
  object-fit: contain;
  border-radius: 4px;
}

.notable-card h4 {
  margin: 0 0 12px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.5rem;
  line-height: 1.25;
  font-weight: 400;
  overflow-wrap: anywhere;
}

.notable-role {
  margin: 0;
  color: #27613f;
  font-size: 0.9375rem;
  line-height: 1.45;
}

.notable-bio {
  margin: 24px 0;
  font-size: 1.0625rem;
  line-height: 1.65;
}

.notable-sources {
  border-top: 1px solid var(--line);
  padding-top: 15px;
  color: var(--muted);
  font-size: 0.875rem;
  line-height: 1.55;
  overflow-wrap: anywhere;
}

.notable-sources summary {
  width: fit-content;
  cursor: pointer;
  color: var(--ink);
  font-size: 0.9375rem;
  font-weight: 600;
}

.notable-sources summary:focus-visible,
.notable-sources a:focus-visible {
  outline: 2px solid var(--blue-dark);
  outline-offset: 5px;
}

.notable-sources ul {
  margin: 16px 0;
  padding-left: 20px;
}

.notable-sources li + li {
  margin-top: 8px;
}

.notable-sources a {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.notable-sources a:hover {
  color: var(--blue-dark);
}

.notable-photo-note {
  margin-bottom: 0;
}

.notable-sources .visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

@media (max-width: 1000px) {
  .notable-card-heading {
    grid-template-columns: 104px minmax(0, 1fr);
    gap: 18px;
  }

  .notable-card-heading img {
    width: 104px;
    height: 130px;
  }
}

@media (max-width: 760px) {
  .notable-group .notable-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .notable-card {
    padding: 22px;
  }
}

@media (max-width: 360px) {
  .notable-card-heading {
    grid-template-columns: minmax(0, 1fr);
  }
}

.notable-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.notable-placeholder {
  min-height: 330px;
  position: relative;
  border: 1px dashed rgba(21, 55, 66, 0.36);
  border-radius: 8px 56px 8px 8px;
  padding: 27px 28px;
  background: linear-gradient(145deg, rgba(245, 240, 232, 0.42), rgba(255, 255, 255, 0.92));
}

.notable-plus {
  width: 58px;
  height: 58px;
  position: absolute;
  top: 24px;
  right: 24px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--soft);
  color: var(--blue);
  font-size: 31px;
  font-weight: 300;
}

.notable-placeholder p {
  margin: 125px 0 8px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 750;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.notable-placeholder h3 {
  margin: 0 0 18px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 26px;
}

.notable-placeholder small {
  color: var(--muted);
  font-size: 15px;
}

.development {
  background: var(--soft);
}

.stage-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.stage {
  min-height: 430px;
  position: relative;
  overflow: hidden;
  border-radius: 8px 60px 8px 8px;
  background: var(--white);
  padding: 30px 26px;
}

.stage::after {
  content: "";
  width: 88px;
  height: 88px;
  position: absolute;
  right: -30px;
  bottom: -30px;
  border-radius: 50%;
  background: var(--accent);
}

.stage-age {
  color: var(--accent);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 52px;
  letter-spacing: -0.06em;
  line-height: 1;
}

.stage-type {
  margin: 18px 0 35px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.stage h3 {
  margin: 0 0 18px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 22px;
  font-weight: 400;
  line-height: 1.25;
}

.stage > p:last-of-type {
  color: var(--muted);
  font-size: 16px;
}

.stage-green { --accent: var(--green); }
.stage-blue { --accent: var(--blue); }
.stage-pink { --accent: var(--pink); }
.stage-orange { --accent: var(--orange); }

.quote-band {
  overflow: hidden;
  background: var(--pink);
  color: var(--white);
  padding-block: 83px;
}

.quote-band .shell {
  position: relative;
  text-align: center;
}

.quote-mark {
  position: absolute;
  left: 0;
  top: -90px;
  color: rgba(255, 255, 255, 0.2);
  font-family: Georgia, serif;
  font-size: 240px;
  line-height: 1;
}

.quote-band blockquote {
  max-width: 970px;
  position: relative;
  margin-inline: auto;
  font-size: clamp(30px, 3vw, 42px);
  line-height: 1.18;
}

.quote-band p {
  margin: 28px 0 0;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.gallery-heading {
  margin-bottom: 48px;
}

.gallery {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  grid-auto-rows: 190px;
  gap: 16px;
}

.gallery figure {
  position: relative;
  overflow: hidden;
  margin: 0;
  border-radius: 7px;
}

.gallery img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 500ms ease;
}

.gallery figure:hover img {
  transform: scale(1.035);
}

.gallery figure::after {
  content: "";
  position: absolute;
  inset: 45% 0 0;
  background: linear-gradient(transparent, rgba(24, 20, 22, 0.7));
}

.gallery figcaption {
  position: absolute;
  left: 20px;
  bottom: 15px;
  z-index: 2;
  color: var(--white);
  font-size: 15px;
  font-weight: 700;
}

.gallery-a { grid-column: span 7; grid-row: span 2; }
.gallery-b { grid-column: span 5; }
.gallery-c { grid-column: span 5; }
.gallery-d { grid-column: span 4; }
.gallery-e { grid-column: span 4; }
.gallery-f { grid-column: span 4; }

.team-section {
  background: var(--yellow);
  padding-block: 105px;
}

.team-grid {
  display: grid;
  grid-template-columns: 0.93fr 1.07fr;
  gap: 100px;
}

.team-intro > p:not(.kicker) {
  max-width: 530px;
  margin: 28px 0 34px;
}

.teacher-names {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
}

.teacher-names span {
  border: 1px solid rgba(55, 50, 52, 0.3);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.28);
  padding: 7px 13px;
  font-size: 15px;
  font-weight: 650;
}

.teacher-story {
  position: relative;
  overflow: hidden;
  border-radius: 8px 80px 8px 8px;
  background: var(--white);
  padding: 42px 45px;
}

.teacher-story .kicker {
  position: relative;
  color: var(--pink);
}

.teacher-story > p:not(.kicker) {
  position: relative;
  margin: 0 0 18px;
  color: var(--muted);
}

.teacher-story .teacher-belief {
  margin-top: 29px !important;
  border-left: 3px solid var(--pink);
  color: var(--ink) !important;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 20px;
  line-height: 1.45;
  padding-left: 20px;
}

.teacher-initial {
  position: absolute;
  right: 12px;
  top: -55px;
  color: rgba(0, 175, 239, 0.09);
  font-family: Georgia, serif;
  font-size: 300px;
  line-height: 1;
}

.contact-section {
  min-height: 670px;
  position: relative;
  overflow: hidden;
  background: var(--green);
  color: #153742;
  padding-block: 100px;
}

.contact-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 110px;
}

.contact-copy .kicker {
  color: rgba(21, 55, 66, 0.74);
}

.contact-copy h2 em {
  color: var(--white);
}

.contact-copy > p:not(.kicker) {
  max-width: 500px;
  margin: 27px 0 32px;
  color: rgba(21, 55, 66, 0.82);
}

.contact-details {
  font-style: normal;
}

.contact-details > div {
  border-bottom: 1px solid rgba(21, 55, 66, 0.28);
  padding: 21px 0;
}

.contact-details > div:first-child {
  padding-top: 0;
}

.contact-details span {
  display: block;
  margin-bottom: 8px;
  color: rgba(21, 55, 66, 0.72);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.contact-details a:not(.map-link) {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  font-size: 22px;
  line-height: 1.35;
}

.contact-details a:hover {
  color: var(--white);
}

.contact-details b {
  font-weight: 400;
}

.contact-details p {
  margin: 0 0 10px;
  color: rgba(21, 55, 66, 0.88);
  font-size: 18px;
}

.map-link {
  border-bottom: 1px solid currentColor;
  font-size: 15px;
  font-weight: 700;
  padding-bottom: 3px;
}

.contact-bubble {
  position: absolute;
  border-radius: 50%;
}

.bubble-one {
  width: 210px;
  height: 210px;
  left: -80px;
  bottom: -85px;
  background: var(--blue);
}

.bubble-two {
  width: 105px;
  height: 105px;
  right: 6%;
  top: -45px;
  background: var(--orange);
}

footer {
  background: var(--paper);
}

.footer-main {
  min-height: 132px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 26px;
}

.footer-main > p {
  color: var(--muted);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 18px;
}

.footer-main > a:last-child {
  font-size: 15px;
  font-weight: 700;
}

.footer-brand img {
  width: 82px;
  height: 82px;
}

.footer-bottom {
  min-height: 58px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  border-top: 1px solid var(--line);
  padding-block: 11px;
  color: var(--muted);
  font-size: 14px;
}

.ai-badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  border: 1px solid rgba(21, 55, 66, 0.12);
  border-radius: 999px;
  background: var(--yellow);
  color: var(--ink);
  padding: 7px 11px;
  font-size: 12px;
  font-weight: 750;
  line-height: 1.2;
}

.ai-badge i {
  color: var(--pink);
  font-size: 15px;
  font-style: normal;
}

.school-feature-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
  margin-top: 76px;
}

.school-feature-grid article {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px 48px 8px 8px;
  background: var(--white);
  padding: 31px 32px;
}

.school-feature-grid article::after {
  content: "";
  width: 78px;
  height: 78px;
  position: absolute;
  right: -32px;
  bottom: -34px;
  border-radius: 50%;
  background: var(--accent);
}

.school-feature-grid article:nth-child(1) { --accent: var(--blue); }
.school-feature-grid article:nth-child(2) { --accent: var(--pink); }
.school-feature-grid article:nth-child(3) { --accent: var(--green); }
.school-feature-grid article:nth-child(4) { --accent: var(--orange); }

.school-feature-grid h3 {
  margin: 0 0 15px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 26px;
  font-weight: 400;
  line-height: 1.25;
}

.school-feature-grid p {
  margin: 0 0 12px;
  color: var(--muted);
  font-size: 16px;
}

.school-feature-grid p:last-child {
  margin-bottom: 0;
}

.identity-section {
  background: #edf8fc;
}

.direction-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 20px;
}

.direction-card {
  min-height: 340px;
  position: relative;
  overflow: hidden;
  border-radius: 8px 72px 8px 8px;
  padding: 38px 40px;
}

.direction-card::after {
  content: "";
  width: 150px;
  height: 150px;
  position: absolute;
  right: -58px;
  bottom: -58px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.35);
}

.mission-card {
  background: var(--pink);
  color: var(--white);
}

.vision-card {
  background: var(--blue);
  color: #153742;
}

.direction-card > span {
  display: inline-block;
  margin-bottom: 48px;
  border: 1px solid currentColor;
  border-radius: 999px;
  padding: 6px 12px;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.direction-card h3 {
  max-width: 590px;
  margin: 0 0 18px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(27px, 2.5vw, 36px);
  font-weight: 400;
  letter-spacing: -0.035em;
  line-height: 1.1;
}

.direction-card p {
  max-width: 610px;
  margin: 0;
  color: currentColor;
  font-size: 17px;
}

.values-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 30px;
  margin: 80px 0 30px;
  border-bottom: 1px solid rgba(55, 50, 52, 0.15);
  padding-bottom: 18px;
}

.values-heading .kicker,
.values-heading h3 {
  margin: 0;
}

.values-heading h3 {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 29px;
  font-weight: 400;
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.values-grid article {
  min-height: 230px;
  border-radius: 7px 8px 8px 8px;
  background: var(--white);
  padding: 29px 27px;
}

.value-icon {
  width: 34px;
  height: 34px;
  display: block;
  border-radius: 50% 50% 50% 8px;
}

.value-icon-pink { background: var(--pink); }
.value-icon-blue { background: var(--blue); }
.value-icon-orange { background: var(--orange); }
.value-icon-green { background: var(--green); }
.value-icon-red { background: var(--red); }

.values-grid h4 {
  margin: 24px 0 11px;
  font-size: 18px;
  line-height: 1.3;
}

.values-grid p {
  margin: 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.65;
}

.growing-section {
  background: var(--white);
}

.growing-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 48px;
  border-top: 1px solid var(--line);
}

nav a[aria-current="page"]:not(.nav-cta) {
  color: var(--blue-dark);
  text-decoration: underline;
  text-decoration-color: var(--pink);
  text-decoration-thickness: 3px;
  text-underline-offset: 8px;
}

.explore-section {
  background: var(--yellow);
}

.explore-section .heading-split > p {
  color: rgba(55, 50, 52, 0.8);
}

.explore-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.explore-card {
  min-height: 390px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  border-radius: 8px 72px 8px 8px;
  padding: 38px 40px;
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.explore-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 45px rgba(55, 50, 52, 0.13);
}

.explore-card-blue {
  background: var(--blue);
  color: #153742;
}

.explore-card-green {
  background: var(--green);
  color: #153742;
}

.explore-card > span,
.event-type-card > span {
  display: inline-block;
  margin-bottom: 46px;
  border: 1px solid currentColor;
  border-radius: 999px;
  padding: 6px 12px;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.explore-card h3 {
  max-width: 540px;
  margin: 0 0 17px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(28px, 2.5vw, 37px);
  font-weight: 400;
  letter-spacing: -0.035em;
  line-height: 1.08;
}

.explore-card p {
  max-width: 560px;
  margin: 0 0 28px;
  color: rgba(21, 55, 66, 0.84);
}

.explore-card b {
  margin-top: auto;
  font-size: 16px;
}

.page-hero {
  position: relative;
  overflow: hidden;
  padding-block: 70px 78px;
}

.page-hero-montessori {
  background: #edf8fc;
}

.page-hero-events {
  background: #fff0e4;
}

.page-hero-grid {
  display: grid;
  grid-template-columns: 1.03fr 0.97fr;
  align-items: center;
  gap: 76px;
}

.page-hero-copy > p:not(.kicker) {
  max-width: 620px;
  margin: 28px 0 31px;
  color: var(--muted);
  font-size: 19px;
  line-height: 1.75;
}

.page-hero-visual {
  height: 520px;
  margin: 0;
  overflow: hidden;
  border-radius: 110px 12px 110px 12px;
  background: var(--blue);
}

.page-hero-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 31%;
}

.page-hero-visual-wide img {
  object-position: center;
}

.section-jump-nav {
  position: sticky;
  top: 99px;
  z-index: 20;
  display: block;
  overflow-x: auto;
  border-bottom: 1px solid var(--line);
  background: rgba(255, 250, 245, 0.97);
  backdrop-filter: blur(12px);
}

.section-jump-nav .shell {
  display: flex;
  align-items: center;
  gap: 8px;
  padding-block: 12px;
}

.section-jump-nav a {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 8px 13px;
  font-size: 14px;
  font-weight: 700;
}

.section-jump-nav a:hover {
  border-color: var(--pink);
  color: var(--pink);
}

.pricing-section {
  background: #edf8fc;
}

.pricing-details {
  overflow: hidden;
  border: 1px solid rgba(21, 55, 66, 0.16);
  border-radius: 10px 54px 10px 10px;
  background: var(--white);
  box-shadow: 0 20px 55px rgba(21, 55, 66, 0.08);
}

.pricing-details summary {
  min-height: 94px;
  display: grid;
  grid-template-columns: 1fr 30px;
  align-items: center;
  gap: 24px;
  padding: 24px 34px;
  color: var(--ink);
  cursor: pointer;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(23px, 2.2vw, 31px);
  font-weight: 400;
  line-height: 1.15;
  list-style: none;
}

.pricing-details summary::-webkit-details-marker {
  display: none;
}

.pricing-details summary i {
  width: 30px;
  height: 30px;
  position: relative;
  display: block;
  border-radius: 50%;
  background: var(--orange);
}

.pricing-details summary i::before,
.pricing-details summary i::after {
  content: "";
  width: 14px;
  height: 2px;
  position: absolute;
  top: 14px;
  left: 8px;
  border-radius: 2px;
  background: var(--ink);
  transition: transform 180ms ease;
}

.pricing-details summary i::after {
  transform: rotate(90deg);
}

.pricing-details[open] summary i::after {
  transform: rotate(0);
}

.pricing-content {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  border-top: 1px solid var(--line);
  padding: 32px 34px 38px;
}

.price-option {
  min-height: 185px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  border-radius: 8px 36px 8px 8px;
  background: #fff0e4;
  padding: 28px;
}

.price-option-year {
  background: #fff3b8;
}

.price-option > span {
  margin-bottom: 12px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.price-option strong {
  color: var(--ink);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(34px, 4vw, 50px);
  font-weight: 400;
  letter-spacing: -0.04em;
  line-height: 1;
}

.price-option strong small {
  font-family: Arial, Helvetica, sans-serif;
  font-size: 17px;
  font-weight: 600;
  letter-spacing: 0;
}

.price-option p {
  margin: 13px 0 0;
  color: var(--muted);
  font-size: 16px;
}

.pricing-note,
.pricing-content > .button {
  grid-column: 1 / -1;
}

.pricing-note {
  margin: 8px 0 2px;
  color: var(--muted);
}

.pricing-content > .button {
  justify-self: start;
}

.events-intro {
  background: var(--paper);
}

.event-entry {
  scroll-margin-top: 170px;
  margin-top: 58px;
  border: 1px solid var(--line);
  border-radius: 10px 74px 10px 10px;
  background: var(--white);
  padding: 46px;
  box-shadow: 0 24px 70px rgba(21, 55, 66, 0.08);
}

.event-entry-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 30px;
}

.event-date {
  margin: 0 0 12px;
  color: var(--blue-dark);
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.event-entry h3 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(35px, 4.4vw, 58px);
  font-weight: 400;
  letter-spacing: -0.05em;
  line-height: 1.02;
}

.event-label {
  flex: 0 0 auto;
  border-radius: 999px;
  background: var(--orange);
  color: #153742;
  padding: 10px 14px;
  font-size: 13px;
  font-weight: 800;
}

.event-label-green {
  background: var(--green);
  color: var(--white);
}

.event-lead {
  max-width: 960px;
  margin: 28px 0 38px;
  color: var(--muted);
  font-size: 19px;
  line-height: 1.75;
}

.event-spotlight {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(260px, 0.65fr);
  gap: 18px;
  align-items: stretch;
}

.event-lead-photo,
.event-gallery figure {
  position: relative;
  overflow: hidden;
  margin: 0;
  background: var(--soft);
}

.event-lead-photo {
  min-height: 590px;
  border-radius: 8px 54px 8px 8px;
}

.event-lead-photo-wide {
  min-height: clamp(470px, 55vw, 720px);
}

.event-lead-photo img {
  width: 100%;
  height: 100%;
  position: absolute;
  object-fit: cover;
  object-position: center;
}

.event-lead-photo::after,
.event-gallery figure::after {
  content: "";
  position: absolute;
  inset: 52% 0 0;
  pointer-events: none;
  background: linear-gradient(transparent, rgba(21, 55, 66, 0.76));
}

.event-lead-photo figcaption,
.event-gallery figcaption {
  position: absolute;
  left: 22px;
  right: 22px;
  bottom: 18px;
  z-index: 1;
  color: var(--white);
  font-size: 16px;
  font-weight: 750;
}

.event-video-card {
  overflow: hidden;
  border-radius: 8px 48px 8px 8px;
  background: #153742;
}

.event-video-card video {
  width: 100%;
  aspect-ratio: 9 / 16;
  display: block;
  max-height: 530px;
  background: #0e262e;
  object-fit: cover;
}

.event-video-card p {
  margin: 0;
  padding: 20px 22px 23px;
  color: rgba(255, 255, 255, 0.86);
  font-size: 15px;
}

.event-gallery {
  margin-top: 18px;
  columns: 3;
  column-gap: 18px;
}

.event-gallery figure {
  width: 100%;
  display: inline-block;
  break-inside: avoid;
  margin-bottom: 18px;
  border-radius: 8px 34px 8px 8px;
}

.event-gallery img {
  width: 100%;
  height: auto;
  display: block;
}

.event-entry + .event-entry {
  margin-top: 34px;
}

.event-entry + .events-types {
  margin-top: 48px;
}

.events-empty {
  display: grid;
  grid-template-columns: 90px 1fr;
  gap: 34px;
  align-items: center;
  border: 1px dashed rgba(55, 50, 52, 0.35);
  border-radius: 8px 64px 8px 8px;
  background: var(--white);
  padding: 42px 46px;
}

.events-empty-mark {
  width: 82px;
  height: 82px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--pink);
  color: var(--white);
  font-size: 44px;
  font-weight: 300;
}

.events-empty .kicker {
  margin-bottom: 12px;
}

.events-empty h3 {
  max-width: 850px;
  margin: 0 0 12px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(26px, 2.7vw, 38px);
  font-weight: 400;
  letter-spacing: -0.035em;
  line-height: 1.12;
}

.events-empty p:last-child {
  max-width: 820px;
  margin: 0;
  color: var(--muted);
}

.events-types {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 26px;
}

.event-type-card {
  min-height: 310px;
  border-radius: 8px 48px 8px 8px;
  padding: 30px 29px;
  color: #153742;
}

.event-type-orange { background: var(--orange); }
.event-type-green { background: var(--green); }
.event-type-blue { background: var(--blue); }

.event-type-card > span {
  margin-bottom: 38px;
}

.event-type-card h3 {
  margin: 0 0 15px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 27px;
  font-weight: 400;
  line-height: 1.14;
}

.event-type-card p {
  margin: 0;
  color: rgba(21, 55, 66, 0.82);
  font-size: 16px;
}

.events-photo-band {
  background: var(--blue);
  padding-block: 74px;
}

.events-photo-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr 0.85fr;
  gap: 18px;
}

.events-photo-grid figure {
  min-height: 370px;
  position: relative;
  overflow: hidden;
  margin: 0;
  border-radius: 8px 44px 8px 8px;
}

.events-photo-grid img {
  width: 100%;
  height: 100%;
  position: absolute;
  object-fit: cover;
}

.events-photo-grid figure::after {
  content: "";
  position: absolute;
  inset: 50% 0 0;
  background: linear-gradient(transparent, rgba(21, 55, 66, 0.72));
}

.events-photo-grid figcaption {
  position: absolute;
  left: 22px;
  bottom: 18px;
  z-index: 1;
  color: var(--white);
  font-size: 17px;
  font-weight: 700;
}

.page-cta {
  background: var(--green);
  color: #153742;
  padding-block: 82px;
}

.page-cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 48px;
}

.page-cta h2 {
  max-width: 700px;
}

.page-cta h2 em {
  color: var(--white);
}

.page-cta-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 24px;
}

.text-link-light {
  color: #153742;
}

.growing-list p {
  min-height: 95px;
  display: grid;
  grid-template-columns: 1fr;
  align-items: center;
  gap: 0;
  margin: 0;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 19px;
  line-height: 1.45;
}

.growing-list .growing-positive {
  color: var(--ink);
}

.growing-list .growing-final {
  grid-column: 1 / -1;
  min-height: 115px;
  border: 0;
  border-radius: 8px 50px 8px 8px;
  background: var(--yellow);
  padding: 18px 28px;
  font-size: 21px;
}

@media (max-width: 1120px) {
  .shell {
    width: min(var(--max), calc(100% - 56px));
  }

  nav {
    gap: 15px;
    font-size: 14px;
  }

  .hero,
  .about-grid,
  .maria-grid,
  .method-layout,
  .lithuania-layout,
  .team-grid,
  .contact-grid {
    gap: 50px;
  }

  .hero {
    min-height: 630px;
  }

  .stage {
    padding: 27px 21px;
  }
}

@media (max-width: 900px) {
  html {
    scroll-padding-top: 88px;
  }

  .nav-row {
    min-height: 82px;
    flex-wrap: wrap;
  }

  .brand img {
    width: 65px;
    height: 65px;
  }

  .menu-toggle {
    display: flex;
  }

  nav {
    width: 100%;
    max-height: 0;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    opacity: 0;
    transition: max-height 250ms ease, opacity 200ms ease, padding 200ms ease;
  }

  nav.open {
    max-height: calc(100vh - 85px);
    overflow-y: auto;
    opacity: 1;
    padding: 12px 0 24px;
  }

  nav a {
    border-top: 1px solid var(--line);
    padding: 13px 8px;
    font-size: 17px;
  }

  .nav-cta {
    justify-content: space-between;
    border: 0;
    border-radius: 0 0 16px 16px;
    padding: 14px 15px;
  }

  .hero {
    grid-template-columns: 1fr 0.87fr;
    gap: 32px;
    padding-block: 48px 58px;
  }

  h1 {
    font-size: 52px;
  }

  .hero-lead {
    font-size: 18px;
  }

  .hero-visual {
    min-height: 465px;
  }

  .hero-visual > img {
    height: 445px;
  }

  .hero-visual figcaption {
    min-width: 0;
    left: 18px;
    right: 18px;
    gap: 8px;
    font-size: 11px;
  }

  .hero-visual figcaption span + span::before {
    margin-right: 8px;
  }

  .value-ribbon .shell {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px 22px;
    padding-block: 18px;
  }

  .section {
    padding-block: 82px;
  }

  .heading-split {
    grid-template-columns: 1fr;
    align-items: start;
    gap: 24px;
  }

  .heading-split > p {
    max-width: 620px;
  }

  .about-grid,
  .maria-grid,
  .team-grid,
  .contact-grid {
    gap: 38px;
  }

  .about-image,
  .about-image img {
    min-height: 0;
    height: 470px;
  }

  .mini-values article {
    grid-template-columns: 36px 100px 1fr;
  }

  .maria-section {
    padding-block: 78px;
  }

  .maria-story {
    padding-left: 34px;
  }

  .method-layout {
    grid-template-columns: 0.7fr 1.3fr;
    gap: 35px;
  }

  .lithuania-layout {
    gap: 42px;
  }

  .notable-grid {
    grid-template-columns: 1fr 1fr;
  }

  .history-facts {
    grid-template-columns: 1fr 1fr;
  }

  .history-facts article:last-child {
    grid-column: 1 / -1;
    min-height: 220px;
  }

  .method-photo img {
    height: 540px;
  }

  .principles summary {
    font-size: 18px;
  }

  .method-gallery {
    grid-template-columns: 0.85fr 1.15fr;
  }

  .method-gallery figure:first-child {
    grid-row: span 2;
  }

  .stage-grid {
    grid-template-columns: 1fr 1fr;
  }

  .stage {
    min-height: 365px;
  }

  .gallery {
    grid-auto-rows: 160px;
  }

  .team-section,
  .contact-section {
    padding-block: 80px;
  }
}

@media (max-width: 680px) {
  .shell {
    width: calc(100% - 38px);
  }

  .brand {
    font-size: 13px;
  }

  .brand img {
    width: 59px;
    height: 59px;
  }

  .brand small {
    font-size: 10px;
  }

  .hero {
    min-height: 0;
    grid-template-columns: 1fr;
    gap: 36px;
    padding-block: 42px;
  }

  h1 {
    font-size: clamp(42px, 12vw, 52px);
  }

  h2 {
    font-size: clamp(32px, 9vw, 42px);
  }

  .hero-lead {
    margin-block: 24px;
  }

  .hero-quote {
    margin-top: 28px;
  }

  .hero-visual {
    min-height: 400px;
  }

  .hero-visual > img {
    width: calc(100% - 16px);
    height: 385px;
    border-radius: 42% 58% 20px 20px;
    object-position: 56% center;
  }

  .hero-shape-pink {
    width: 100px;
    height: 100px;
  }

  .hero-shape-orange {
    width: 70px;
    height: 70px;
  }

  .hero-visual figcaption {
    min-height: 48px;
    bottom: 13px;
  }

  .value-ribbon .shell {
    grid-template-columns: 1fr;
  }

  .section {
    padding-block: 68px;
  }

  .section-heading {
    margin-bottom: 38px;
  }

  .about-grid,
  .maria-grid,
  .method-layout,
  .lithuania-layout,
  .team-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .about-image,
  .about-image img {
    height: 360px;
  }

  .about-image::before {
    bottom: -12px;
  }

  .image-label {
    right: 12px;
    bottom: 20px;
  }

  .about-copy .large-copy {
    font-size: 22px;
  }

  .mini-values article {
    grid-template-columns: 32px 1fr;
    gap: 5px 12px;
  }

  .mini-values p {
    grid-column: 2;
  }

  .maria-grid {
    gap: 40px;
  }

  .maria-story {
    border-left: 0;
    border-top: 1px solid rgba(21, 55, 66, 0.23);
    padding: 30px 0 0;
  }

  .maria-facts span {
    grid-template-columns: 92px 1fr;
  }

  .method-photo {
    position: relative;
    top: auto;
  }

  .method-photo img {
    height: 430px;
  }

  .principles summary {
    grid-template-columns: 1fr 20px;
    min-height: 71px;
    font-size: 17px;
  }

  .principles details > p {
    margin: 0 20px 23px 0;
    font-size: 16px;
  }

  .method-detail-grid,
  .notable-grid,
  .pioneers-grid,
  .history-facts {
    grid-template-columns: 1fr;
  }

  .pioneer-card {
    min-height: 0;
    padding: 31px 27px 34px;
  }

  .pioneer-role {
    margin-bottom: 28px;
  }

  .pioneer-heading {
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
  }

  .history-facts article,
  .history-facts article:last-child {
    min-height: 0;
    grid-column: auto;
  }

  .history-facts h3 {
    margin-top: 28px;
  }

  .method-detail-card {
    min-height: 0;
    padding: 29px 25px 32px;
  }

  .method-detail-card h3 {
    margin-top: 0;
  }

  .method-gallery {
    grid-template-columns: 1fr;
  }

  .method-gallery figure,
  .method-gallery figure:first-child {
    min-height: 300px;
    grid-row: auto;
  }

  .lithuania-layout {
    grid-template-columns: 1fr;
    gap: 44px;
  }

  .lithuania-timeline li {
    grid-template-columns: 72px 1fr;
    gap: 16px;
  }

  .source-links {
    align-items: stretch;
    flex-direction: column;
  }

  .source-links > span {
    margin: 0 0 5px;
  }

  .stage-grid {
    grid-template-columns: 1fr;
  }

  .stage {
    min-height: 0;
    padding: 28px 25px 38px;
  }

  .stage-type {
    margin-bottom: 24px;
  }

  .quote-band {
    padding-block: 65px;
  }

  .gallery {
    grid-template-columns: 1fr 1fr;
    grid-auto-rows: 195px;
  }

  .gallery-a,
  .gallery-b,
  .gallery-c,
  .gallery-d,
  .gallery-e,
  .gallery-f {
    grid-column: span 1;
    grid-row: span 1;
  }

  .gallery-a,
  .gallery-f {
    grid-column: span 2;
  }

  .teacher-story {
    padding: 34px 27px;
  }

  .contact-section {
    min-height: 0;
  }

  .contact-details a:not(.map-link) {
    font-size: 20px;
    overflow-wrap: anywhere;
  }

  .footer-main {
    flex-wrap: wrap;
    gap: 10px 20px;
    padding-block: 24px;
  }

  .footer-main > p {
    width: 100%;
    order: 3;
    margin: 5px 0 0;
  }

  .footer-bottom {
    min-height: 80px;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 4px;
  }
}

@media (max-width: 420px) {
  .hero-visual figcaption {
    display: none;
  }

  .gallery {
    grid-template-columns: 1fr;
  }

  .gallery-a,
  .gallery-b,
  .gallery-c,
  .gallery-d,
  .gallery-e,
  .gallery-f {
    grid-column: span 1;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition: none !important;
  }
}

@media (max-width: 900px) {
  .school-feature-grid,
  .direction-grid {
    grid-template-columns: 1fr 1fr;
  }

  .page-hero-grid {
    grid-template-columns: 1fr 0.82fr;
    gap: 40px;
  }

  .page-hero-visual {
    height: 440px;
  }

  .section-jump-nav {
    width: 100%;
    max-height: none;
    top: 87px;
    display: block;
    overflow-x: auto;
    flex-direction: initial;
    opacity: 1;
    padding: 0;
  }

  .section-jump-nav .shell {
    width: max-content;
    min-width: calc(100% - 56px);
    flex-direction: row;
    padding-block: 10px;
  }

  .section-jump-nav a {
    border: 1px solid var(--line);
    padding: 8px 13px;
    font-size: 14px;
  }

  .events-types {
    grid-template-columns: 1fr 1fr;
  }

  .event-entry {
    padding: 36px;
  }

  .event-spotlight {
    grid-template-columns: minmax(0, 1fr) minmax(240px, 0.62fr);
  }

  .event-lead-photo {
    min-height: 520px;
  }

  .event-gallery {
    columns: 2;
  }

  .events-types article:last-child {
    grid-column: 1 / -1;
  }

  .events-photo-grid {
    grid-template-columns: 1fr 1fr;
  }

  .events-photo-grid figure:first-child {
    grid-column: 1 / -1;
  }

  .page-cta-inner {
    align-items: flex-start;
    flex-direction: column;
  }

  .direction-card {
    min-height: 380px;
    padding: 34px 30px;
  }

  .values-grid {
    grid-template-columns: 1fr 1fr;
  }

  .growing-list {
    gap: 0 30px;
  }
}

@media (max-width: 680px) {
  .school-feature-grid,
  .direction-grid,
  .values-grid,
  .growing-list,
  .explore-grid,
  .page-hero-grid,
  .events-types,
  .events-photo-grid {
    grid-template-columns: 1fr;
  }

  .page-hero {
    padding-block: 48px 58px;
  }

  .page-hero-grid {
    gap: 36px;
  }

  .page-hero-visual {
    height: 390px;
    border-radius: 70px 10px 70px 10px;
  }

  .explore-card {
    min-height: 0;
    padding: 32px 27px 36px;
  }

  .explore-card > span {
    margin-bottom: 34px;
  }

  .events-empty {
    grid-template-columns: 1fr;
    gap: 24px;
    padding: 32px 27px;
  }

  .events-empty-mark {
    width: 68px;
    height: 68px;
    font-size: 38px;
  }

  .event-entry {
    margin-top: 42px;
    border-radius: 8px 42px 8px 8px;
    padding: 28px 22px 22px;
  }

  .event-entry-header {
    align-items: flex-start;
    flex-direction: column;
    gap: 20px;
  }

  .event-lead {
    margin-block: 24px 30px;
    font-size: 17px;
  }

  .event-spotlight {
    grid-template-columns: 1fr;
  }

  .event-lead-photo {
    min-height: 350px;
    border-radius: 8px 36px 8px 8px;
  }

  .event-video-card video {
    max-height: 620px;
  }

  .event-gallery {
    columns: 1;
  }

  .events-types article:last-child,
  .events-photo-grid figure:first-child {
    grid-column: auto;
  }

  .event-type-card {
    min-height: 0;
  }

  .events-photo-grid figure {
    min-height: 310px;
  }

  .page-cta {
    padding-block: 68px;
  }

  .page-cta-actions {
    align-items: flex-start;
    flex-direction: column;
  }

  .pricing-details {
    border-radius: 8px 36px 8px 8px;
  }

  .pricing-details summary {
    min-height: 82px;
    gap: 18px;
    padding: 21px 23px;
  }

  .pricing-content {
    grid-template-columns: 1fr;
    padding: 24px 23px 30px;
  }

  .pricing-note,
  .pricing-content > .button {
    grid-column: auto;
  }

  .price-option {
    min-height: 160px;
    padding: 25px 23px;
  }

  .school-feature-grid {
    margin-top: 50px;
  }

  .school-feature-grid article {
    padding: 27px 24px;
  }

  .direction-card {
    min-height: 0;
    padding: 31px 25px 38px;
  }

  .direction-card > span {
    margin-bottom: 35px;
  }

  .values-heading {
    align-items: flex-start;
    flex-direction: column;
    margin-top: 58px;
  }

  .values-grid article {
    min-height: 0;
  }

  .growing-list {
    gap: 0;
  }

  .growing-list p {
    min-height: 86px;
    grid-template-columns: 1fr;
    font-size: 17px;
  }

  .growing-list .growing-final {
    grid-column: auto;
    min-height: 0;
    margin-top: 18px;
    padding: 25px 22px;
    font-size: 20px;
  }
}
