@font-face {
  font-family: "Nasinnia Sans";
  src: url("./assets/nasinnia-sans-400.woff2") format("woff2");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: "Nasinnia Sans";
  src: url("./assets/nasinnia-sans-700.woff2") format("woff2");
  font-style: normal;
  font-weight: 600 900;
  font-display: swap;
}

@font-face {
  font-family: "Nasinnia Display";
  src: url("./assets/nasinnia-display-400.woff2") format("woff2");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: "Nasinnia Display";
  src: url("./assets/nasinnia-display-500.woff2") format("woff2");
  font-style: normal;
  font-weight: 500 800;
  font-display: swap;
}

:root {
  --olive-950: #17210f;
  --olive-900: #223219;
  --olive-800: #2f4322;
  --olive-700: #435833;
  --olive-500: #75835f;
  --milk: #fffaf0;
  --milk-2: #f8f0df;
  --paper: #fffdf7;
  --sand: #d6a85c;
  --sand-soft: #ead8af;
  --terracotta: #9d493b;
  --burgundy: #743129;
  --ink: #26301f;
  --muted: #6f6b5e;
  --line: rgba(117, 91, 48, 0.24);
  --line-strong: rgba(47, 67, 34, 0.28);
  --shadow: 0 28px 70px rgba(47, 67, 34, 0.12);
  --radius: 8px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-soft: cubic-bezier(0.16, 1, 0.3, 1);
  color-scheme: light;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 104px;
  background: var(--milk);
  overflow-x: clip;
}

body {
  margin: 0;
  min-width: 320px;
  background:
    linear-gradient(rgba(47, 67, 34, 0.034) 1px, transparent 1px),
    linear-gradient(90deg, rgba(47, 67, 34, 0.034) 1px, transparent 1px),
    radial-gradient(circle at 78% 16%, rgba(214, 168, 92, 0.18), transparent 28rem),
    linear-gradient(180deg, #fffaf1 0%, #f9f0df 62%, #fffaf1 100%);
  background-size: 48px 48px, 48px 48px, auto, auto;
  color: var(--ink);
  font-family: "Nasinnia Sans", system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.55;
  overflow-x: clip;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background-image:
    radial-gradient(circle at 20% 18%, rgba(255, 255, 255, 0.72), transparent 20rem),
    radial-gradient(circle at 92% 74%, rgba(214, 168, 92, 0.12), transparent 24rem);
}

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

a:focus-visible,
button:focus-visible {
  outline: 3px solid rgba(214, 168, 92, 0.96);
  outline-offset: 4px;
}

img,
svg {
  display: block;
}

img {
  max-width: 100%;
}

button,
input,
select,
textarea {
  font: inherit;
}

button {
  cursor: pointer;
}

[hidden] {
  display: none !important;
}

.skip-link {
  position: fixed;
  z-index: 200;
  top: 1rem;
  left: 1rem;
  transform: translateY(-160%);
  border-radius: var(--radius);
  background: var(--olive-900);
  color: var(--paper);
  padding: 0.75rem 1rem;
  font-weight: 800;
  transition: transform 180ms var(--ease-soft);
}

.skip-link:focus {
  transform: translateY(0);
}

.page-progress {
  position: fixed;
  z-index: 60;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: rgba(214, 168, 92, 0.18);
}

.page-progress span {
  display: block;
  width: calc(var(--scroll, 0) * 100%);
  height: 100%;
  background: var(--olive-800);
  transform-origin: left center;
}

.site-header {
  position: fixed;
  z-index: 80;
  top: 20px;
  left: 50%;
  width: min(1260px, calc(100% - 32px));
  transform: translateX(-50%);
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 1.4rem;
  min-height: 64px;
  padding: 0.62rem 0.72rem 0.62rem 0.9rem;
  border: 1px solid rgba(117, 91, 48, 0.16);
  border-radius: var(--radius);
  background: rgba(255, 250, 240, 0.82);
  box-shadow: 0 16px 46px rgba(34, 50, 25, 0.1);
  backdrop-filter: blur(18px);
}

.brand-lockup {
  display: inline-flex;
  align-items: center;
  gap: 0.72rem;
  min-width: 0;
  color: var(--olive-900);
  font-weight: 800;
  letter-spacing: 0.24em;
}

.brand-lockup img {
  width: 38px;
  height: 38px;
  border: 1px solid rgba(214, 168, 92, 0.42);
  border-radius: var(--radius);
  background: rgba(255, 253, 247, 0.82);
  padding: 0.28rem;
}

.desktop-nav {
  justify-self: center;
  display: flex;
  align-items: center;
  gap: clamp(0.9rem, 1.6vw, 1.65rem);
  color: rgba(38, 48, 31, 0.74);
  font-size: 0.86rem;
  font-weight: 700;
}

.desktop-nav a {
  position: relative;
  white-space: nowrap;
  transition: color 180ms var(--ease-soft);
}

.desktop-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -0.34rem;
  height: 1px;
  transform: scaleX(0);
  transform-origin: left;
  background: var(--sand);
  transition: transform 240ms var(--ease);
}

.desktop-nav a:hover,
.desktop-nav a:focus-visible {
  color: var(--olive-900);
}

.desktop-nav a:hover::after,
.desktop-nav a:focus-visible::after {
  transform: scaleX(1);
}

.header-cta,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.62rem;
  min-height: 46px;
  border-radius: 999px;
  border: 1px solid transparent;
  padding: 0.78rem 1.28rem;
  font-size: 0.92rem;
  font-weight: 850;
  line-height: 1.1;
  transition:
    transform 220ms var(--ease),
    background 220ms var(--ease),
    color 220ms var(--ease),
    border-color 220ms var(--ease),
    box-shadow 220ms var(--ease);
}

.header-cta,
.button-primary {
  background: var(--olive-800);
  color: var(--paper);
  box-shadow: 0 18px 34px rgba(47, 67, 34, 0.18);
}

.button-secondary {
  background: rgba(255, 253, 247, 0.72);
  color: var(--olive-900);
  border-color: rgba(47, 67, 34, 0.55);
}

.button-terracotta {
  background: var(--terracotta);
  color: var(--paper);
  box-shadow: 0 18px 34px rgba(116, 49, 41, 0.16);
}

.button svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}

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

.button-primary:hover,
.header-cta:hover {
  background: var(--olive-900);
  box-shadow: 0 24px 42px rgba(47, 67, 34, 0.22);
}

.button-secondary:hover {
  border-color: var(--olive-900);
  background: var(--paper);
}

.button-terracotta:hover {
  background: var(--burgundy);
}

.menu-button {
  display: none;
  justify-self: end;
  width: 52px;
  height: 52px;
  border: 1px solid rgba(117, 91, 48, 0.24);
  border-radius: var(--radius);
  background: rgba(255, 253, 247, 0.78);
  color: var(--olive-800);
}

.menu-button span {
  display: block;
  width: 24px;
  height: 2px;
  margin: 6px auto;
  border-radius: 999px;
  background: currentColor;
  transition: transform 220ms var(--ease), opacity 220ms var(--ease);
}

.menu-button[aria-expanded="true"] span:first-child {
  transform: translateY(4px) rotate(45deg);
}

.menu-button[aria-expanded="true"] span:last-child {
  transform: translateY(-4px) rotate(-45deg);
}

.mobile-menu {
  position: fixed;
  z-index: 70;
  top: 92px;
  left: 50%;
  width: min(390px, calc(100% - 32px));
  transform: translateX(-50%);
  border: 1px solid rgba(117, 91, 48, 0.18);
  border-radius: var(--radius);
  background: rgba(255, 250, 240, 0.95);
  box-shadow: var(--shadow);
  padding: 0.65rem;
  backdrop-filter: blur(18px);
}

.mobile-menu a {
  display: block;
  border-radius: var(--radius);
  padding: 0.9rem;
  color: var(--olive-900);
  font-weight: 800;
}

.mobile-menu a:hover,
.mobile-menu a:focus-visible {
  background: rgba(214, 168, 92, 0.14);
}

.hero {
  position: relative;
  isolation: isolate;
  display: grid;
  grid-template-columns: minmax(0, 0.98fr) minmax(420px, 0.9fr);
  align-items: center;
  gap: clamp(1rem, 4vw, 4.5rem);
  min-height: 92svh;
  padding: clamp(7rem, 9vw, 9rem) max(7vw, 2rem) clamp(3.5rem, 7vw, 6rem);
  border-bottom: 1px solid var(--line);
  overflow: clip;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 8rem 0 auto 48%;
  z-index: -1;
  width: min(58vw, 820px);
  height: min(58vw, 820px);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(214, 168, 92, 0.2), rgba(214, 168, 92, 0) 64%);
}

.hero-copy {
  position: relative;
  max-width: 720px;
  padding-left: clamp(0rem, 4vw, 2.7rem);
  transform: translateY(-8vh);
}

.hero-mark {
  width: clamp(58px, 8vw, 84px);
  margin-bottom: clamp(1.6rem, 3vw, 2.4rem);
}

.hero h1 {
  margin: 0;
  color: var(--olive-800);
  font-family: "Nasinnia Display", Georgia, serif;
  font-size: clamp(4.6rem, 8vw, 7.6rem);
  font-weight: 600;
  letter-spacing: 0.12em;
  line-height: 0.74;
  text-wrap: balance;
}

.hero-rule {
  position: relative;
  width: min(520px, 80vw);
  height: 1px;
  margin: clamp(1.35rem, 2vw, 1.8rem) 0 clamp(1rem, 1.8vw, 1.5rem);
  background: var(--sand);
}

.hero-rule span {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 44px;
  height: 44px;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background:
    linear-gradient(var(--sand), var(--sand)) center / 2px 32px no-repeat,
    radial-gradient(circle, var(--sand) 3px, transparent 4px);
}

.hero-copy p {
  max-width: 620px;
  margin: 0;
  color: var(--olive-950);
  font-family: "Nasinnia Display", Georgia, serif;
  font-size: clamp(2.35rem, 4.2vw, 4.25rem);
  font-weight: 600;
  line-height: 1.02;
  text-wrap: balance;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: clamp(1.6rem, 3vw, 2.3rem);
}

.hero-collage {
  position: relative;
  min-height: clamp(420px, 46vw, 670px);
  transform: translateY(-8vh);
  transform-style: preserve-3d;
}

.hero-photo,
.hero-shape,
.hero-leaf-line {
  position: absolute;
  will-change: transform;
  transform: translate3d(var(--tx, 0px), var(--ty, 0px), 0);
}

.hero-photo {
  overflow: hidden;
  border: 1px solid rgba(255, 253, 247, 0.75);
  box-shadow: 0 28px 80px rgba(47, 67, 34, 0.18);
}

.hero-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-photo-seed img {
  object-position: 22% center;
}

.hero-photo-main {
  top: 3%;
  right: 7%;
  width: min(520px, 78%);
  aspect-ratio: 1.72;
  border-radius: 48% 48% 14% 14%;
  --depth: 16px;
  --depth-y: 12px;
}

.hero-photo-seed {
  right: 0;
  bottom: 9%;
  z-index: 3;
  width: min(330px, 48%);
  aspect-ratio: 1;
  border-radius: 50%;
  --depth: -22px;
  --depth-y: -16px;
}

.hero-shape-sand {
  top: 0;
  right: 2%;
  width: min(300px, 42%);
  aspect-ratio: 1;
  border-radius: 50%;
  background: rgba(214, 168, 92, 0.24);
  --depth: -10px;
  --depth-y: -8px;
}

.hero-shape-olive {
  right: 5%;
  bottom: 4%;
  width: min(260px, 36%);
  aspect-ratio: 0.72;
  border-radius: 60% 12% 60% 12%;
  background: rgba(67, 88, 51, 0.72);
  --depth: 12px;
  --depth-y: 9px;
}

.hero-leaf-line {
  right: -2%;
  top: 20%;
  width: min(220px, 32%);
  color: rgba(214, 168, 92, 0.82);
  --depth: 18px;
  --depth-y: 10px;
}

.hero-leaf-line svg,
.line-leaves,
.age-leaves {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.4;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.scroll-cue {
  position: absolute;
  left: 50%;
  bottom: 2rem;
  display: grid;
  width: 34px;
  height: 34px;
  transform: translateX(-50%);
  place-items: center;
  color: var(--olive-500);
}

.scroll-cue span {
  width: 18px;
  height: 18px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg);
  animation: cue 1.7s var(--ease) infinite;
}

@keyframes cue {
  0%, 100% { transform: translateY(-3px) rotate(45deg); opacity: 0.55; }
  50% { transform: translateY(5px) rotate(45deg); opacity: 1; }
}

.story-scroll {
  position: relative;
  height: 440svh;
  background: var(--olive-950);
  color: var(--paper);
  scroll-margin-top: 0;
}

.story-stage {
  position: sticky;
  top: 0;
  width: 100%;
  height: 100svh;
  overflow: hidden;
  background: #1e2817;
  isolation: isolate;
}

.story-poster,
.story-poster img,
.story-stage video,
.story-scrim {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.story-poster {
  z-index: 1;
  opacity: 1;
  transition: opacity 280ms ease;
}

.story-poster img,
.story-stage video {
  object-fit: cover;
}

.story-stage video {
  z-index: 2;
  opacity: 0;
}

.story-scroll.has-video .story-stage video {
  opacity: 1;
}

.story-scroll.has-video .story-poster {
  opacity: 0;
}

.story-scrim {
  z-index: 3;
  background:
    linear-gradient(90deg, rgba(15, 21, 11, 0.86) 0%, rgba(15, 21, 11, 0.48) 38%, rgba(15, 21, 11, 0.08) 67%, rgba(15, 21, 11, 0.42) 100%),
    linear-gradient(0deg, rgba(15, 21, 11, 0.62), transparent 42%, rgba(15, 21, 11, 0.24));
}

.story-copy {
  position: absolute;
  z-index: 5;
  left: max(7vw, 2rem);
  width: min(680px, calc(100% - 8rem));
  opacity: 0;
  transform: translate3d(0, calc((1 - var(--story-copy-opacity, 0)) * 22px), 0);
  transition: opacity 80ms linear;
  pointer-events: none;
}

.story-copy-intro {
  top: 23%;
  opacity: 1;
}

.story-copy-community {
  top: 53%;
  left: auto;
  right: max(8vw, 3rem);
  text-align: right;
}

.story-copy-team {
  top: 22%;
}

.story-copy-place {
  top: 58%;
  left: auto;
  right: max(8vw, 3rem);
  text-align: right;
}

.story-copy span {
  display: block;
  margin-bottom: 0.75rem;
  color: #f0c77d;
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.story-copy h2,
.story-copy p {
  margin: 0;
  text-wrap: balance;
  text-shadow: 0 2px 28px rgba(0, 0, 0, 0.32);
}

.story-copy h2 {
  max-width: 720px;
  font-family: "Nasinnia Display", Georgia, serif;
  font-size: clamp(3.4rem, 6.8vw, 7.3rem);
  font-weight: 500;
  line-height: 0.94;
}

.story-copy p {
  max-width: 600px;
  font-family: "Nasinnia Display", Georgia, serif;
  font-size: clamp(2.45rem, 4.7vw, 5.25rem);
  font-weight: 500;
  line-height: 0.98;
}

.story-copy-community p,
.story-copy-place p {
  margin-left: auto;
}

.story-growth {
  position: absolute;
  z-index: 5;
  right: clamp(1rem, 4vw, 4rem);
  bottom: 2rem;
  width: clamp(48px, 7vw, 92px);
  height: min(62vh, 520px);
  overflow: visible;
  fill: rgba(240, 199, 125, 0.2);
  stroke: #f0c77d;
  stroke-width: 3;
  stroke-linecap: round;
  stroke-linejoin: round;
  filter: drop-shadow(0 8px 20px rgba(0, 0, 0, 0.18));
}

.story-stem {
  fill: none;
  stroke-dasharray: 1;
  stroke-dashoffset: calc(1 - var(--story-progress, 0));
}

.story-leaf,
.story-growth circle {
  transform-box: fill-box;
  transform-origin: center;
  opacity: 0;
  transform: scale(0.45);
  transition: opacity 200ms ease, transform 320ms var(--ease);
}

.story-scroll[data-leaf-one="true"] .story-leaf-one,
.story-scroll[data-leaf-two="true"] .story-leaf-two,
.story-scroll[data-leaf-three="true"] .story-leaf-three,
.story-scroll[data-flower="true"] .story-growth circle {
  opacity: 1;
  transform: scale(1);
}

.story-scroll-note {
  position: absolute;
  z-index: 5;
  left: max(7vw, 2rem);
  bottom: 2rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: rgba(255, 253, 247, 0.78);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.story-scroll-note span {
  position: relative;
  width: 54px;
  height: 1px;
  background: currentColor;
}

.story-scroll-note span::after {
  content: "";
  position: absolute;
  right: 0;
  top: -3px;
  width: 7px;
  height: 7px;
  border-right: 1px solid currentColor;
  border-bottom: 1px solid currentColor;
  transform: rotate(45deg);
}

.content-board {
  display: grid;
  grid-template-columns: minmax(260px, 0.92fr) minmax(320px, 1.18fr) minmax(260px, 0.9fr);
  width: 100%;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.board-cell {
  position: relative;
  min-height: 270px;
  padding: clamp(1.35rem, 3.2vw, 2.55rem);
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: rgba(255, 250, 240, 0.5);
  overflow: hidden;
  scroll-margin-top: 104px;
}

.board-cell:nth-child(3n),
.contacts-cell {
  border-right: 0;
}

.section-heading {
  position: relative;
  z-index: 1;
  margin-left: clamp(2rem, 4vw, 3.4rem);
}

.section-heading h2 {
  margin: 0;
  color: var(--olive-950);
  font-family: "Nasinnia Display", Georgia, serif;
  font-size: clamp(2rem, 3vw, 3.25rem);
  font-weight: 600;
  line-height: 0.95;
}

.section-heading span {
  display: block;
  width: 38px;
  height: 2px;
  margin-top: 0.72rem;
  background: var(--sand);
}

.about-cell p {
  position: relative;
  z-index: 1;
  max-width: 490px;
  margin: 2.1rem 0 0 clamp(2rem, 4vw, 3.4rem);
  color: var(--ink);
  font-size: clamp(1rem, 1.15vw, 1.12rem);
  font-weight: 600;
  line-height: 1.78;
}

.line-leaves {
  position: absolute;
  right: 1rem;
  bottom: -0.5rem;
  width: min(190px, 46%);
  color: rgba(214, 168, 92, 0.62);
}

.activities-cell {
  min-height: 330px;
}

.activity-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.25rem 2rem;
  margin: 2rem 0 0 clamp(2rem, 4vw, 3.4rem);
}

.activity-list div {
  display: grid;
  grid-template-columns: 32px 1fr;
  align-items: start;
  gap: 0.85rem;
}

.activity-list svg {
  width: 28px;
  height: 28px;
  color: var(--sand);
  fill: none;
  stroke: currentColor;
  stroke-width: 1.55;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform 260ms var(--ease), color 260ms var(--ease);
}

.activity-list div:hover svg {
  color: var(--terracotta);
  transform: translateY(-3px) rotate(-4deg);
}

.activity-list p {
  margin: 0;
  color: var(--ink);
  font-weight: 750;
  line-height: 1.32;
}

.age-cell {
  min-height: 330px;
}

.age-number {
  position: relative;
  z-index: 1;
  margin: clamp(1.4rem, 3vw, 2.4rem) 0 0 clamp(2rem, 4vw, 3.4rem);
  color: var(--olive-800);
}

.age-number strong {
  display: block;
  font-family: "Nasinnia Display", Georgia, serif;
  font-size: clamp(6rem, 11vw, 10.5rem);
  font-weight: 600;
  line-height: 0.78;
}

.age-number span {
  display: block;
  margin-top: 1rem;
  color: var(--olive-900);
  font-family: "Nasinnia Display", Georgia, serif;
  font-size: clamp(2.1rem, 3vw, 3.5rem);
  font-weight: 600;
  line-height: 1;
}

.age-leaves {
  position: absolute;
  right: 1rem;
  bottom: 0;
  width: min(180px, 44%);
  color: rgba(214, 168, 92, 0.52);
}

.teacher-cell {
  min-height: 250px;
}

.teacher-layout {
  display: grid;
  grid-template-columns: 132px 1fr;
  align-items: center;
  gap: 1.25rem;
  margin: 2rem 0 0 clamp(2rem, 4vw, 3.4rem);
}

.teacher-layout img {
  width: 132px;
  aspect-ratio: 1;
  border: 1px solid rgba(214, 168, 92, 0.55);
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 18px 40px rgba(47, 67, 34, 0.16);
}

.teacher-layout h3 {
  margin: 0;
  color: var(--olive-950);
  font-family: "Nasinnia Display", Georgia, serif;
  font-size: clamp(2rem, 3vw, 3.35rem);
  font-weight: 600;
  line-height: 0.95;
}

.teacher-layout p {
  max-width: 260px;
  margin: 0.65rem 0 0;
  color: var(--muted);
  font-weight: 700;
  line-height: 1.38;
}

.teacher-layout .teacher-quote {
  max-width: 340px;
  margin-top: 0.82rem;
  border-left: 2px solid var(--sand);
  padding-left: 0.9rem;
  color: var(--ink);
  font-size: 0.92rem;
  font-weight: 650;
  line-height: 1.52;
}

.teacher-layout em {
  display: block;
  margin-top: 0.8rem;
  color: var(--sand);
  font-family: "Nasinnia Display", Georgia, serif;
  font-size: 1.9rem;
  font-style: italic;
}

.team-list {
  display: grid;
  gap: 0.75rem;
  margin: 1.15rem 0 0 clamp(2rem, 4vw, 3.4rem);
}

.team-list div {
  display: grid;
  grid-template-columns: minmax(90px, 0.3fr) 1fr;
  gap: 1rem;
  border-top: 1px solid rgba(214, 168, 92, 0.34);
  padding-top: 0.75rem;
}

.team-list strong {
  color: var(--olive-900);
  font-family: "Nasinnia Display", Georgia, serif;
  font-size: 1.45rem;
  line-height: 1;
}

.team-list span {
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 700;
  line-height: 1.45;
}

.event-cell {
  grid-column: span 1;
  min-height: 250px;
}

.event-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(1.2rem, 2vw, 2rem);
  margin: 1.8rem 0 0 clamp(2rem, 4vw, 3.4rem);
}

.event-main strong {
  display: block;
  color: var(--olive-800);
  font-family: "Nasinnia Display", Georgia, serif;
  font-size: clamp(2.9rem, 5vw, 5.2rem);
  font-weight: 600;
  line-height: 0.88;
}

.event-main > span {
  display: block;
  margin-top: 0.55rem;
  color: var(--terracotta);
  font-size: clamp(1.5rem, 2.2vw, 2.2rem);
  font-weight: 850;
}

.event-main p {
  margin: 1.4rem 0 1.5rem;
  color: var(--muted);
  font-weight: 700;
}

.event-main b {
  color: var(--ink);
}

.program {
  border-top: 1px solid var(--line);
  padding-top: 0.75rem;
}

.accordion {
  border-bottom: 1px solid rgba(214, 168, 92, 0.26);
}

.accordion button {
  display: grid;
  grid-template-columns: 1fr 24px;
  align-items: center;
  width: 100%;
  min-height: 48px;
  border: 0;
  background: transparent;
  color: var(--olive-900);
  padding: 0;
  text-align: left;
  font-size: 0.92rem;
  font-weight: 850;
}

.accordion button span {
  position: relative;
  width: 22px;
  height: 22px;
}

.accordion button span::before,
.accordion button span::after {
  content: "";
  position: absolute;
  inset: 50% auto auto 50%;
  width: 14px;
  height: 2px;
  transform: translate(-50%, -50%);
  background: var(--sand);
}

.accordion button span::after {
  transform: translate(-50%, -50%) rotate(90deg);
  transition: transform 220ms var(--ease);
}

.accordion button[aria-expanded="true"] span::after {
  transform: translate(-50%, -50%) rotate(0deg);
}

.accordion-content {
  overflow: hidden;
}

.accordion-content p {
  margin: 0 0 1rem;
  color: var(--muted);
  font-size: 0.94rem;
  font-weight: 650;
  line-height: 1.55;
}

.terms-cell {
  grid-column: span 2;
  min-height: 390px;
}

.terms-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(200px, 280px);
  gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
  margin: 2rem 0 0 clamp(2rem, 4vw, 3.4rem);
}

.terms-layout > div > p {
  max-width: 740px;
  margin: 0;
  color: var(--ink);
  font-size: clamp(1rem, 1.3vw, 1.16rem);
  font-weight: 650;
  line-height: 1.75;
}

.terms-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem 1.4rem;
  margin-top: 1.6rem;
}

.text-link {
  color: var(--olive-900);
  font-size: 0.9rem;
  font-weight: 850;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.28em;
}

.registration-qr {
  display: grid;
  justify-items: center;
  gap: 0.85rem;
  border: 1px solid rgba(67, 88, 51, 0.22);
  border-radius: var(--radius);
  background: rgba(255, 253, 247, 0.82);
  padding: 1rem;
  box-shadow: 0 18px 42px rgba(47, 67, 34, 0.1);
  color: var(--olive-900);
  font-size: 0.78rem;
  font-weight: 850;
  text-align: center;
  transition: transform 180ms var(--ease), box-shadow 180ms var(--ease);
}

.registration-qr:hover,
.registration-qr:focus-visible {
  transform: translateY(-3px);
  box-shadow: 0 24px 52px rgba(47, 67, 34, 0.16);
}

.registration-qr img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: contain;
}

.partners-cell {
  min-height: 250px;
}

.partner-logos {
  display: grid;
  grid-template-columns: 1fr;
  align-items: center;
  gap: 1.35rem;
  margin: 2rem 0 0 clamp(2rem, 4vw, 3.4rem);
}

.partner-logo {
  display: grid;
  justify-items: center;
  gap: 0.75rem;
  min-width: 0;
  color: var(--olive-800);
}

.partner-logo img {
  width: 82px;
  height: 82px;
  object-fit: contain;
}

.partner-logo-toloka img {
  width: min(310px, 100%);
  height: auto;
  border-radius: var(--radius);
  object-fit: contain;
}

.partner-logo svg {
  width: 78px;
  height: 78px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.1;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.partner-logo span {
  font-family: "Nasinnia Display", Georgia, serif;
  font-size: clamp(1.55rem, 2vw, 2.15rem);
  font-weight: 700;
  letter-spacing: 0.26em;
  white-space: nowrap;
}

.contacts-cell {
  grid-column: 1 / -1;
  min-height: 430px;
}

.contact-grid {
  display: grid;
  grid-template-columns: minmax(260px, 0.7fr) minmax(420px, 1.3fr);
  align-items: start;
  gap: 1.2rem;
  margin: 1.8rem 0 0 clamp(2rem, 4vw, 3.4rem);
}

address {
  display: grid;
  gap: 0.48rem;
  color: var(--muted);
  font-style: normal;
  font-weight: 750;
}

address b {
  color: var(--olive-950);
  font-size: 1.05rem;
}

address a {
  width: fit-content;
  color: var(--olive-900);
  transition: color 180ms var(--ease);
}

address a:hover,
address a:focus-visible {
  color: var(--terracotta);
}

.mini-map {
  position: relative;
  display: block;
  width: min(330px, 100%);
  min-height: 168px;
  margin-top: 1.1rem;
  overflow: hidden;
  border: 1px solid rgba(67, 88, 51, 0.2);
  border-radius: var(--radius);
  background:
    linear-gradient(rgba(67, 88, 51, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(67, 88, 51, 0.05) 1px, transparent 1px),
    #fffdf7;
  background-size: 24px 24px, 24px 24px, auto;
  box-shadow: 0 18px 42px rgba(47, 67, 34, 0.08);
  color: var(--olive-900);
  isolation: isolate;
  transition: border-color 180ms var(--ease-soft), box-shadow 180ms var(--ease-soft), transform 180ms var(--ease-soft);
}

.mini-map:hover,
.mini-map:focus-visible {
  border-color: rgba(67, 88, 51, 0.42);
  box-shadow: 0 22px 50px rgba(47, 67, 34, 0.13);
  color: var(--olive-950);
  transform: translateY(-1px);
}

.mini-map-roads,
.mini-road,
.mini-map-pin,
.mini-map-label {
  position: absolute;
}

.mini-map-roads {
  inset: 0;
  background:
    linear-gradient(28deg, transparent 45%, rgba(214, 168, 92, 0.34) 46%, rgba(214, 168, 92, 0.34) 49%, transparent 50%),
    linear-gradient(148deg, transparent 36%, rgba(67, 88, 51, 0.16) 37%, rgba(67, 88, 51, 0.16) 40%, transparent 41%);
}

.mini-road {
  height: 10px;
  border-radius: 999px;
  background: rgba(67, 88, 51, 0.16);
}

.mini-road-a {
  left: -12%;
  top: 38%;
  width: 75%;
  transform: rotate(-12deg);
}

.mini-road-b {
  right: -10%;
  top: 48%;
  width: 70%;
  transform: rotate(18deg);
}

.mini-road-c {
  left: 18%;
  bottom: 25%;
  width: 76%;
  height: 8px;
  background: rgba(214, 168, 92, 0.28);
  transform: rotate(-34deg);
}

.mini-map-pin {
  z-index: 2;
  top: 40%;
  left: 54%;
  width: 44px;
  height: 44px;
  transform: translate(-50%, -50%);
  filter: drop-shadow(0 10px 14px rgba(116, 49, 41, 0.22));
}

.mini-map-pin svg {
  width: 100%;
  height: 100%;
  fill: var(--terracotta);
}

.mini-map-pin circle {
  fill: var(--paper);
}

.mini-map-label {
  z-index: 2;
  left: 0.78rem;
  right: 0.78rem;
  bottom: 0.78rem;
  display: grid;
  gap: 0.1rem;
  border: 1px solid rgba(255, 253, 247, 0.72);
  border-radius: var(--radius);
  background: rgba(255, 253, 247, 0.86);
  padding: 0.7rem 0.78rem;
  backdrop-filter: blur(10px);
}

.mini-map-label strong {
  color: var(--olive-950);
  font-size: 0.96rem;
  line-height: 1.1;
}

.mini-map-label small {
  color: rgba(38, 48, 31, 0.66);
  font-size: 0.78rem;
  font-weight: 800;
  line-height: 1.2;
}

.map-visual {
  overflow: hidden;
  border: 1px solid rgba(214, 168, 92, 0.32);
  border-radius: var(--radius);
  background: rgba(255, 253, 247, 0.72);
}

.map-visual img {
  width: 100%;
  aspect-ratio: 3.1;
  object-fit: cover;
  opacity: 0.78;
}

.closing {
  display: grid;
  place-items: center;
  min-height: 58svh;
  padding: clamp(4rem, 8vw, 8rem) 1.2rem;
  background:
    radial-gradient(circle at 50% 0%, rgba(214, 168, 92, 0.16), transparent 30rem),
    var(--olive-900);
  color: var(--paper);
  text-align: center;
}

.closing p {
  max-width: 1000px;
  margin: 0;
  font-family: "Nasinnia Display", Georgia, serif;
  font-size: clamp(4rem, 9vw, 9.5rem);
  font-weight: 600;
  line-height: 0.88;
  text-wrap: balance;
}

.closing .button {
  margin-top: 2.4rem;
  background: var(--sand);
  color: var(--olive-950);
  box-shadow: none;
}

.site-footer {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 1rem;
  align-items: center;
  padding: 1.3rem max(7vw, 1.2rem);
  background: var(--olive-950);
  color: rgba(255, 253, 247, 0.78);
  font-size: 0.9rem;
  font-weight: 700;
}

.site-footer p {
  margin: 0;
}

.footer-legal {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.72rem 1.05rem;
}

.site-footer a {
  color: rgba(255, 253, 247, 0.9);
  transition: color 180ms var(--ease-soft);
}

.site-footer a:hover,
.site-footer a:focus-visible,
.site-footer a[aria-current="page"] {
  color: var(--sand);
}

.cookie-banner {
  position: fixed;
  z-index: 120;
  right: 1rem;
  bottom: calc(1rem + env(safe-area-inset-bottom));
  width: min(620px, calc(100% - 2rem));
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 1rem;
  align-items: center;
  border: 1px solid rgba(214, 168, 92, 0.34);
  border-radius: var(--radius);
  background: rgba(255, 253, 247, 0.94);
  box-shadow: 0 24px 70px rgba(23, 33, 15, 0.2);
  padding: 0.95rem;
  color: var(--ink);
  backdrop-filter: blur(18px);
}

.cookie-banner p {
  margin: 0;
  color: rgba(38, 48, 31, 0.76);
  font-size: 0.86rem;
  line-height: 1.5;
}

.cookie-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.55rem;
  align-items: center;
}

.cookie-actions a {
  color: var(--olive-800);
  font-size: 0.84rem;
  font-weight: 850;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.24em;
}

.cookie-button {
  min-height: 42px;
  border: 1px solid var(--olive-800);
  border-radius: 999px;
  background: var(--olive-800);
  color: var(--paper);
  padding: 0.72rem 1rem;
  font-size: 0.84rem;
  font-weight: 850;
  transition: transform 180ms var(--ease-soft), background 180ms var(--ease-soft), color 180ms var(--ease-soft);
}

.cookie-button:hover {
  transform: translateY(-1px);
  background: var(--olive-950);
}

.cookie-button-ghost {
  background: transparent;
  color: var(--olive-800);
}

.cookie-button-ghost:hover {
  background: rgba(47, 67, 34, 0.08);
  color: var(--olive-950);
}

.legal-page {
  min-height: 100vh;
}

.legal-main {
  width: min(980px, calc(100% - 2rem));
  margin: 0 auto;
  padding: 10rem 0 5rem;
}

.legal-kicker {
  margin: 0 0 0.7rem;
  color: var(--terracotta);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.legal-main h1 {
  margin: 0 0 1.4rem;
  color: var(--olive-950);
  font-family: "Nasinnia Display", Georgia, serif;
  font-size: clamp(3.5rem, 8vw, 6.7rem);
  font-weight: 600;
  line-height: 0.92;
  overflow-wrap: anywhere;
}

.legal-notice {
  margin: 0 0 2rem;
  border: 1px solid rgba(157, 73, 59, 0.28);
  border-left: 4px solid var(--terracotta);
  border-radius: var(--radius);
  background: rgba(157, 73, 59, 0.07);
  padding: 1rem 1.1rem;
  color: rgba(38, 48, 31, 0.82);
  font-weight: 650;
}

.legal-section {
  border-top: 1px solid var(--line);
  padding: 1.65rem 0;
}

.legal-section h2 {
  margin: 0 0 0.72rem;
  color: var(--olive-900);
  font-family: "Nasinnia Display", Georgia, serif;
  font-size: clamp(1.9rem, 3.4vw, 2.65rem);
  font-weight: 600;
  line-height: 1;
}

.legal-section p {
  margin: 0;
  max-width: 78ch;
  color: rgba(38, 48, 31, 0.78);
  line-height: 1.75;
  overflow-wrap: anywhere;
}

.legal-section a {
  color: var(--olive-900);
  font-weight: 800;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.2em;
  overflow-wrap: anywhere;
}

.placeholder {
  color: var(--burgundy);
  font-weight: 850;
  overflow-wrap: anywhere;
}

.mobile-sticky-cta {
  position: fixed;
  z-index: 90;
  left: 1rem;
  right: 1rem;
  bottom: calc(1rem + env(safe-area-inset-bottom));
  display: none;
  justify-content: center;
  min-height: 54px;
  border-radius: 999px;
  background: var(--olive-800);
  color: var(--paper);
  padding: 1rem;
  font-weight: 900;
  box-shadow: 0 20px 46px rgba(34, 50, 25, 0.26);
  transform: translateY(140%);
  transition: transform 260ms var(--ease), opacity 260ms var(--ease);
  opacity: 0;
}

.mobile-sticky-cta.is-visible {
  transform: translateY(0);
  opacity: 1;
}

[data-reveal] {
  transform: translateY(28px);
  opacity: 0;
  transition: transform 820ms var(--ease), opacity 820ms var(--ease);
}

[data-reveal].is-visible {
  transform: translateY(0);
  opacity: 1;
}

.hero [data-reveal]:nth-child(2) { transition-delay: 80ms; }
.hero [data-reveal]:nth-child(3) { transition-delay: 150ms; }
.hero [data-reveal]:nth-child(4) { transition-delay: 220ms; }

@media (max-width: 1180px) {
  .desktop-nav {
    gap: 0.85rem;
    font-size: 0.8rem;
  }

  .hero {
    grid-template-columns: minmax(0, 1fr);
    padding-top: 8.5rem;
  }

  .hero-copy {
    max-width: none;
    padding-left: 0;
    text-align: center;
  }

  .hero-mark,
  .hero-rule {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-actions {
    justify-content: center;
  }

  .hero-collage {
    width: min(760px, 100%);
    min-height: 430px;
    justify-self: center;
  }

  .content-board {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .board-cell:nth-child(3n) {
    border-right: 1px solid var(--line);
  }

  .board-cell:nth-child(2n),
  .contacts-cell {
    border-right: 0;
  }

}

@media (max-width: 980px) {
  .site-header {
    grid-template-columns: auto auto;
    width: calc(100% - 28px);
  }

  .desktop-nav,
  .header-cta {
    display: none;
  }

  .menu-button {
    display: block;
  }

  .brand-lockup span {
    letter-spacing: 0.14em;
  }

  .content-board {
    grid-template-columns: 1fr;
  }

  .story-copy {
    left: 1.35rem;
    right: auto;
    width: calc(100% - 5.5rem);
    text-align: left;
  }

  .story-copy-community,
  .story-copy-place {
    text-align: left;
  }

  .story-copy-community p,
  .story-copy-place p {
    margin-left: 0;
  }

  .story-growth {
    right: 0.65rem;
  }

  .terms-cell {
    grid-column: auto;
  }

  .board-cell,
  .board-cell:nth-child(2n),
  .board-cell:nth-child(3n),
  .contacts-cell {
    border-right: 0;
  }

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

  .program {
    border-left: 0;
    border-top: 1px solid var(--line);
    padding: 1rem 0 0;
  }

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

  .mobile-sticky-cta {
    display: flex;
  }

  .site-footer {
    padding-bottom: calc(5.8rem + env(safe-area-inset-bottom));
  }

  .cookie-banner {
    left: 1rem;
    right: 1rem;
    bottom: calc(5.9rem + env(safe-area-inset-bottom));
    width: auto;
    grid-template-columns: 1fr;
  }

  .cookie-actions {
    justify-content: flex-start;
  }
}

@media (max-width: 680px) {
  body {
    background-size: 34px 34px, 34px 34px, auto, auto;
  }

  .site-header {
    top: 12px;
    min-height: 58px;
  }

  .brand-lockup span {
    display: none;
  }

  .brand-lockup img {
    width: 42px;
    height: 42px;
  }

  .menu-button {
    width: 48px;
    height: 48px;
  }

  .mobile-menu {
    top: 82px;
  }

  .hero {
    min-height: 92svh;
    padding: 6.1rem 1rem 2.2rem;
    gap: 0.7rem;
  }

  .hero-copy,
  .hero-collage {
    transform: none;
  }

  .hero-mark {
    width: 58px;
    margin-bottom: 0.85rem;
  }

  .hero h1 {
    font-size: clamp(3rem, 14vw, 4.2rem);
    letter-spacing: 0.12em;
    line-height: 0.86;
  }

  .hero-rule {
    width: min(300px, 88vw);
    margin-top: 1.1rem;
  }

  .hero-copy p {
    font-size: clamp(1.8rem, 8.4vw, 2.55rem);
    line-height: 0.98;
  }

  .hero-actions {
    display: grid;
    grid-template-columns: 1fr;
    width: min(320px, 100%);
    margin-left: auto;
    margin-right: auto;
  }

  .button {
    width: 100%;
    min-height: 50px;
  }

  .hero-collage {
    min-height: 190px;
  }

  .hero-photo-main {
    top: 4%;
    right: 12%;
    width: 73%;
  }

  .hero-photo-seed {
    right: 8%;
    bottom: 2%;
    width: 38%;
  }

  .hero-shape-sand {
    right: 0;
    width: 42%;
  }

  .hero-shape-olive,
  .hero-leaf-line {
    display: none;
  }

  .scroll-cue {
    bottom: 1rem;
  }

  .story-scroll {
    height: 410svh;
  }

  .story-copy {
    top: 16%;
  }

  .story-copy-community,
  .story-copy-place {
    top: 60%;
  }

  .story-copy h2 {
    font-size: clamp(2.8rem, 13vw, 4.2rem);
  }

  .story-copy p {
    font-size: clamp(2.1rem, 10vw, 3.35rem);
  }

  .story-scroll-note {
    left: 1.25rem;
  }

  .board-cell {
    min-height: auto;
    padding: 1.45rem 1rem 1.7rem;
  }

  .section-heading,
  .about-cell p,
  .activity-list,
  .age-number,
  .teacher-layout,
  .event-layout,
  .partner-logos,
  .contact-grid,
  .team-list,
  .terms-layout {
    margin-left: 0;
  }

  .section-heading h2 {
    font-size: clamp(2.4rem, 12vw, 3.4rem);
  }

  .about-cell p {
    font-size: 1rem;
    line-height: 1.68;
  }

  .activity-list {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .age-number strong {
    font-size: clamp(5.4rem, 28vw, 8.2rem);
  }

  .teacher-layout {
    grid-template-columns: 94px 1fr;
  }

  .teacher-layout img {
    width: 94px;
  }

  .teacher-layout h3 {
    font-size: clamp(2.15rem, 10vw, 3.1rem);
  }

  .team-list div {
    grid-template-columns: 1fr;
    gap: 0.35rem;
  }

  .terms-layout {
    grid-template-columns: 1fr;
  }

  .registration-qr {
    width: min(280px, 100%);
  }

  .event-main strong {
    font-size: clamp(3.3rem, 17vw, 4.8rem);
  }

  .partner-logos {
    grid-template-columns: 1fr;
  }

  .closing {
    min-height: 50svh;
    padding: 4rem 1rem;
  }

  .closing p {
    width: 100%;
    max-width: calc(100vw - 2rem);
    font-size: clamp(3.2rem, 18vw, 5rem);
    overflow-wrap: anywhere;
  }

  .closing .button {
    width: min(100%, 358px);
    max-width: calc(100vw - 2rem);
  }

  .site-footer {
    grid-template-columns: 1fr;
    align-items: start;
    gap: 0.95rem;
    padding-right: 1rem;
    padding-left: 1rem;
    padding-bottom: calc(7rem + env(safe-area-inset-bottom));
    line-height: 1.45;
  }

  .footer-legal {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    justify-content: stretch;
    gap: 0.72rem 0.9rem;
    width: 100%;
  }

  .site-footer a {
    display: block;
    min-height: 32px;
    line-height: 1.25;
    overflow-wrap: anywhere;
  }

  .legal-main {
    width: min(100% - 2rem, 760px);
    padding-top: 7.3rem;
  }

  .legal-main h1 {
    font-size: clamp(3rem, 15vw, 4.5rem);
  }

  .cookie-banner {
    padding: 0.88rem;
  }

  .cookie-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .cookie-actions a,
  .cookie-button {
    width: 100%;
    text-align: center;
  }

  .cookie-button {
    justify-content: center;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    scroll-behavior: auto !important;
    transition-duration: 0.001ms !important;
  }

  .hero-photo,
  .hero-shape,
  .hero-leaf-line {
    transform: none !important;
  }

  [data-reveal] {
    opacity: 1;
    transform: none;
  }

  .story-scroll {
    height: auto;
  }

  .story-stage {
    position: relative;
    display: grid;
    align-content: end;
    gap: 0.75rem;
    min-height: 100svh;
    height: auto;
    padding: 7rem max(7vw, 1.25rem) 2rem;
  }

  .story-stage video,
  .story-scroll-note,
  .story-growth {
    display: none;
  }

  .story-poster {
    opacity: 1 !important;
  }

  .story-copy,
  .story-copy-intro,
  .story-copy-community,
  .story-copy-team,
  .story-copy-place {
    position: relative;
    top: auto;
    left: auto;
    right: auto;
    width: min(720px, 100%);
    border: 1px solid rgba(255, 253, 247, 0.2);
    background: rgba(23, 33, 15, 0.78);
    padding: 1rem;
    opacity: 1 !important;
    transform: none !important;
    text-align: left;
    pointer-events: auto;
  }

  .story-copy h2,
  .story-copy p {
    margin: 0;
    font-size: clamp(1.5rem, 5vw, 2.4rem);
  }
}
