@font-face {
  font-family: "Paytone One";
  src: url("fonts/paytone.woff2") format("woff2");
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: "Figtree";
  src: url("fonts/figtree.woff2") format("woff2");
  font-weight: 300 900;
  font-display: swap;
}

:root {
  /* brandbook colours (Bilimbo Arculati Kézikönyv 2009), with white, tints and a dark green shade */
  --p115: #fbd936;   /* yellow: the amorphous blob */
  --p144: #f08a12;   /* orange: the name, every action */
  --p376: #86be3a;   /* green: preferred background */
  --p369: #5fa82e;
  --p362: #3e9a35;
  --forest: #1d4721; /* dark shade of the greens, for text */
  --forest-2: #2f6a2c;
  --forest-ink: #143518; /* deepest shade, for text on orange */
  --tint: #f2f8e4;   /* light 376 tint, as on the brandbook panels */
  --tint-2: #e2efc8;
  --white: #ffffff;

  --display: "Paytone One", "Figtree", system-ui, sans-serif;
  --text: "Figtree", system-ui, -apple-system, "Segoe UI", sans-serif;

  --gutter: clamp(20px, 5vw, 88px);
  --sec-y: clamp(80px, 9vw, 136px);
  --max: 1240px;
  --ease: cubic-bezier(.16, 1, .3, 1);
  --shadow: 0 2px 4px rgba(29, 71, 33, .08), 0 18px 36px -18px rgba(29, 71, 33, .38);
  --shadow-lg: 0 4px 8px rgba(29, 71, 33, .08), 0 34px 60px -28px rgba(29, 71, 33, .5);

  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { overflow-x: hidden; scroll-behavior: smooth; scroll-padding-top: 88px; -webkit-text-size-adjust: 100%; }
@supports (overflow: clip) { html { overflow-x: clip; } }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .door-leaf, .door-tag { transition: none; } }

body {
  margin: 0;
  background: var(--white);
  color: var(--forest);
  font-family: var(--text);
  font-size: clamp(17px, .9vw + 10px, 19px);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
::selection { background: var(--p115); color: var(--forest); }
:focus-visible { outline: 3px solid var(--p144); outline-offset: 3px; border-radius: 6px; }
html { scrollbar-color: var(--p369) var(--tint); }

h1, h2, h3 { font-family: var(--display); font-weight: 400; line-height: 1.1; letter-spacing: -.01em; margin: 0; text-wrap: balance; }
p { margin: 0; text-wrap: pretty; }
.defs { position: absolute; width: 0; height: 0; overflow: hidden; }
.skip { position: absolute; left: 16px; top: -60px; z-index: 100; background: var(--p115); padding: 10px 16px; font-weight: 700; border-radius: 8px; text-decoration: none; }
.skip:focus { top: 16px; }

/* ---------- actions ---------- */

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55em;
  min-height: 52px; padding: .75em 1.4em;
  border-radius: 999px;
  background: var(--p144); color: var(--forest-ink);
  font-weight: 800; font-size: 1em; text-decoration: none; white-space: nowrap;
  box-shadow: 0 2px 0 rgba(29, 71, 33, .18), 0 12px 22px -12px rgba(200, 100, 0, .7);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), background-color .2s;
}
.btn svg { width: 1.15em; height: 1.15em; flex: none; }
.btn:hover { transform: translateY(-2px); background: #f59a2e; box-shadow: 0 2px 0 rgba(29, 71, 33, .18), 0 18px 26px -12px rgba(200, 100, 0, .75); }
.btn:active { transform: translateY(0) scale(.98); }
.btn-sm { min-height: 44px; padding: .5em 1.1em; font-size: .92em; }
.btn-ghost { color: var(--forest); background: var(--white); box-shadow: inset 0 0 0 2.5px var(--p369); }
.btn-ghost:hover { background: var(--tint); box-shadow: inset 0 0 0 2.5px var(--p362); }

.link { display: inline-flex; align-items: center; gap: .4em; font-weight: 700; text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: .22em; text-decoration-color: var(--p376); transition: gap .3s var(--ease), text-decoration-color .2s; }
.link svg { width: 1.1em; height: 1.1em; }
.link:hover { gap: .65em; text-decoration-color: var(--p144); }

/* ---------- header ---------- */

.top {
  position: sticky; top: 0; z-index: 30;
  display: flex; align-items: center; gap: clamp(16px, 3vw, 40px);
  padding: 10px var(--gutter);
  background: rgba(255, 255, 255, .94);
  backdrop-filter: saturate(1.4) blur(10px);
  box-shadow: 0 1px 0 var(--tint-2);
}
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.brand-mano { width: 52px; height: auto; }
.brand-word { width: clamp(150px, 14vw, 196px); }
.nav { display: flex; gap: clamp(14px, 2vw, 30px); margin-left: auto; font-weight: 700; font-size: .95em; }
.nav a { text-decoration: none; padding: 8px 2px; background: linear-gradient(var(--p376), var(--p376)) 0 100% / 0 3px no-repeat; transition: background-size .35s var(--ease); }
.nav a:hover { background-size: 100% 3px; }
@media (max-width: 960px) {
  .nav { display: none; }
  .top > .btn { margin-left: auto; }
  .brand-mano { width: 42px; }
}

/* ---------- moss edges: the forest floor between sections ---------- */

.moss { position: absolute; left: 0; width: 100%; height: clamp(40px, 5vw, 72px); pointer-events: none; }
.moss-top { top: 1px; translate: 0 -100%; fill: var(--paper, var(--white)); }
.moss-top.moss-layer { fill: var(--p376); top: -12px; transform: scaleX(-1); }
.sec.tint .moss-top.moss-layer, .visit .moss-top.moss-layer { fill: var(--p369); }
.sec { position: relative; padding: var(--sec-y) var(--gutter); background: var(--paper, var(--white)); }
.sec.tint { --paper: var(--tint); }
.sec-head { max-width: 760px; margin: 0 auto clamp(40px, 5vw, 72px); text-align: center; }
.sec-head h2 { font-size: clamp(34px, 4vw, 60px); color: var(--forest); }
.sec-head p { margin-top: .7em; font-size: 1.08em; color: var(--forest-2); }
.sec-head.row { max-width: var(--max); display: flex; align-items: end; justify-content: space-between; gap: 24px; text-align: left; }

/* ---------- hero: a storybook window into the gnome forest ---------- */

.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr);
  gap: clamp(24px, 4vw, 64px);
  align-items: center;
  padding: clamp(28px, 3.6vw, 52px) var(--gutter) clamp(120px, 11vw, 170px);
  background:
    radial-gradient(55% 60% at 80% 35%, rgba(251, 217, 54, .28), transparent 70%),
    linear-gradient(180deg, var(--white) 0%, var(--tint) 100%);
  overflow: hidden;
}
.hero h1 { font-size: clamp(40px, 4.8vw, 78px); line-height: 1.04; }
.blob { position: relative; display: inline-block; z-index: 0; }
.blob::before {
  content: ""; position: absolute; z-index: -1;
  inset: -.06em -.22em -.1em -.2em;
  background: var(--p115);
  border-radius: 46% 54% 42% 58% / 58% 46% 54% 42%;
  rotate: -3deg;
}
.lead { margin-top: 1em; font-size: clamp(18px, 1.3vw, 21px); line-height: 1.5; max-width: 34em; color: var(--forest-2); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: clamp(24px, 2.4vw, 34px); }
.proof { list-style: none; margin: clamp(24px, 2.4vw, 32px) 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px 22px; font-weight: 700; font-size: .93em; }
.proof li { display: flex; align-items: center; gap: .5em; }
.proof li::before { content: ""; width: 14px; height: 14px; border-radius: 50%; background: var(--p376); box-shadow: inset 0 0 0 4px var(--p115); flex: none; }

.hero-stage { position: relative; padding: 0 0 clamp(40px, 5vw, 80px) clamp(70px, 10vw, 170px); }
.window {
  position: relative;
  aspect-ratio: 4 / 3.3;
  border-radius: 64px 84px 70px 96px / 78px 66px 96px 76px;
  padding: clamp(10px, 1.1vw, 16px);
  background: var(--p376);
  box-shadow: var(--shadow-lg);
}
.forest { position: relative; width: 100%; height: 100%; overflow: hidden; border-radius: 52px 70px 58px 82px / 64px 54px 84px 64px; background: var(--forest-2); isolation: isolate; }
.slide { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity 2.4s ease; }
.slide.is-on { opacity: 1; }
.forest::after { content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none; background: radial-gradient(120% 90% at 50% 35%, transparent 55%, rgba(29, 71, 33, .4)); }
.rays {
  position: absolute; inset: -20% -10% 0; z-index: 1; pointer-events: none; mix-blend-mode: screen; opacity: .5;
  background:
    linear-gradient(105deg, transparent 38%, rgba(251, 217, 54, .55) 42%, transparent 47%),
    linear-gradient(112deg, transparent 52%, rgba(255, 255, 255, .45) 55%, transparent 59%),
    linear-gradient(100deg, transparent 64%, rgba(251, 217, 54, .4) 67%, transparent 72%);
  filter: blur(6px);
}
.fireflies { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; z-index: 2; }
.forest-note {
  position: absolute; right: 18%; bottom: 6%; z-index: 3; white-space: nowrap;
  font-size: .78em; font-weight: 700; color: var(--white);
  padding: 4px 12px; border-radius: 999px; background: rgba(20, 53, 24, .78);
}
.flower { position: absolute; z-index: 4; width: clamp(56px, 6vw, 96px); filter: drop-shadow(0 6px 8px rgba(29, 71, 33, .3)); }
.f-tl { left: clamp(46px, 8.6vw, 146px); top: -26px; }
.f-tr { right: 16%; top: -30px; width: clamp(40px, 4.2vw, 66px); }
.f-br { right: -22px; bottom: clamp(20px, 3.6vw, 56px); }

.hero-mano {
  position: absolute; z-index: 5;
  left: 0; bottom: 0;
  width: clamp(200px, 25vw, 400px);
  filter: drop-shadow(0 8px 6px rgba(29, 71, 33, .22)) drop-shadow(0 34px 36px rgba(29, 71, 33, .42));
  transform-origin: 50% 100%;
}
.bubble {
  position: absolute; z-index: 6;
  left: clamp(150px, 18vw, 300px); top: 6%;
  margin: 0; width: max-content; max-width: 250px;
  padding: 16px 20px 14px;
  background: var(--white);
  border-radius: 26px 26px 26px 6px;
  box-shadow: var(--shadow);
}
.bubble p { font-family: var(--display); font-size: clamp(17px, 1.3vw, 21px); line-height: 1.2; color: var(--forest); }
.bubble footer { margin-top: 6px; font-size: .8em; font-weight: 700; color: var(--forest-2); }

.hero .moss { bottom: -1px; }
.moss-back { fill: var(--p376); height: clamp(64px, 7vw, 108px); bottom: 12px !important; }
.moss-front { fill: var(--tint); height: clamp(44px, 4.8vw, 74px); transform: scaleX(-1); }

@media (max-width: 960px) {
  .hero { grid-template-columns: 1fr; padding-top: 20px; }
  .hero-stage { order: -1; padding: 0 0 clamp(30px, 8vw, 60px) clamp(60px, 18vw, 140px); }
  .hero-mano { width: clamp(140px, 34vw, 260px); }
  .bubble { left: auto; right: 4%; top: auto; bottom: -6px; max-width: 220px; }
  .f-tl { left: clamp(40px, 14vw, 120px); }
}
@media (max-width: 560px) {
  .hero h1 { font-size: 38px; }
  .hero-actions .btn { width: 100%; }
  .proof { gap: 8px 16px; font-size: .88em; }
  .bubble { display: none; }
  .forest-note { display: none; }
}

/* ---------- two houses as fairy doors ---------- */

.houses { max-width: var(--max); margin: 0 auto; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(24px, 3.5vw, 56px); }
.house { display: grid; grid-template-columns: minmax(200px, 1fr) minmax(0, 1fr); gap: clamp(20px, 2.4vw, 36px); align-items: center; background: var(--white); border-radius: 36px; padding: clamp(20px, 2.2vw, 32px); box-shadow: var(--shadow); }
.door {
  position: relative; aspect-ratio: 3 / 4.4;
  border-radius: 999px 999px 18px 18px;
  overflow: hidden;
  perspective: 1000px;
  background: var(--forest);
  cursor: pointer;
}
.door::after { content: ""; position: absolute; inset: 0; z-index: 3; border-radius: inherit; box-shadow: inset 0 0 0 8px var(--door); pointer-events: none; }
.door-sun { --door: var(--p115); --leaf: var(--p144); }
.door-green { --door: var(--p369); --leaf: var(--p376); }
.door-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
/* the painted door leaf: hinged on the left, it swings inward to show the house behind it */
.door-leaf {
  position: absolute; inset: 0; z-index: 2;
  border-radius: inherit;
  background: var(--leaf);
  box-shadow: inset 0 0 0 8px var(--door), inset 0 -40px 60px -30px rgba(29, 71, 33, .35);
  transform-origin: 0 50%;
  transform: rotateY(0deg);
  transition: transform 1.6s var(--ease), filter 1.6s var(--ease);
  backface-visibility: hidden;
}
.door-pane { position: absolute; left: 50%; top: 14%; width: 40%; aspect-ratio: 1; translate: -50% 0; border-radius: 50% 50% 10px 10px; background: rgba(255, 255, 255, .6); box-shadow: inset 0 0 0 5px var(--door); }
.door-flower { position: absolute; left: 50%; top: 56%; width: 34%; translate: -50% 0; }
.door-knob { position: absolute; right: 12%; top: 50%; width: 11%; aspect-ratio: 1; border-radius: 50%; background: var(--white); box-shadow: inset 0 0 0 4px var(--door), 0 2px 3px rgba(29, 71, 33, .35); }
.door-tag { position: absolute; left: 50%; bottom: 8%; z-index: 4; translate: -50% 0; padding: 4px 12px; border-radius: 999px; background: var(--white); font-family: var(--display); font-size: .8em; color: var(--forest); white-space: nowrap; opacity: 0; transition: opacity .6s var(--ease) .5s; }
.door.open .door-leaf { transform: rotateY(-72deg); filter: brightness(.9); }
.door.open .door-tag { opacity: 1; }
.house:hover .door.open .door-leaf, .door.open:focus-visible .door-leaf { transform: rotateY(-88deg); }
.house h3 { font-size: clamp(26px, 2.2vw, 36px); }
.house-kind { margin-top: .4em; color: var(--forest-2); font-size: .95em; }
.chips { list-style: none; margin: 16px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.chips li { padding: 6px 12px; border-radius: 999px; background: var(--tint); font-weight: 700; font-size: .84em; }
.house-actions { margin-top: 20px; display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; }
@media (max-width: 1080px) { .houses { grid-template-columns: 1fr; max-width: 720px; } }
@media (max-width: 520px) { .house { grid-template-columns: 1fr; } .door { aspect-ratio: 4 / 3.4; border-radius: 180px 180px 18px 18px; } }

/* ---------- what makes Bilimbo ---------- */

.why { list-style: none; margin: 0 auto; padding: 0; max-width: var(--max); display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(36px, 4vw, 56px) clamp(28px, 4vw, 64px); }
.why li { text-align: center; }
.why-icon {
  display: grid; place-items: center; margin: 0 auto 18px;
  width: 104px; height: 96px;
  background: var(--p115);
  border-radius: 46% 54% 42% 58% / 58% 46% 54% 42%;
  color: var(--forest);
  transition: border-radius 1.2s var(--ease), rotate 1.2s var(--ease);
}
.why li:nth-child(even) .why-icon { background: var(--tint-2); border-radius: 58% 42% 55% 45% / 45% 55% 45% 55%; }
.why li:hover .why-icon { border-radius: 54% 46% 58% 42% / 42% 58% 46% 54%; rotate: -4deg; }
.why-icon svg { width: 42px; height: 42px; stroke-width: 1.8; }
.why h3 { font-size: clamp(21px, 1.6vw, 26px); }
.why p { margin-top: .5em; color: var(--forest-2); max-width: 24em; margin-inline: auto; }
.free {
  position: relative;
  max-width: 900px; margin: clamp(56px, 6vw, 88px) auto 0;
  display: flex; gap: 22px; align-items: center;
  padding: clamp(22px, 2.4vw, 32px) clamp(24px, 3vw, 40px);
  background: var(--p115);
  border-radius: 40px 56px 44px 60px / 48px 40px 56px 44px;
  box-shadow: var(--shadow);
}
.free-peek { position: absolute; right: 28px; top: -66px; width: 60px; rotate: 6deg; filter: drop-shadow(0 6px 6px rgba(29, 71, 33, .25)); }
.free-icon { flex: none; display: grid; place-items: center; width: 64px; height: 64px; border-radius: 50%; background: var(--white); }
.free-icon svg { width: 34px; height: 34px; }
.free p { font-size: 1.05em; }
@media (max-width: 860px) { .why { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .why { grid-template-columns: 1fr; } .free { flex-direction: column; text-align: center; } }

/* ---------- Montessori ---------- */

.montessori { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(40px, 6vw, 96px); align-items: center; }
.montessori > :not(.moss) { max-width: 620px; }
.montessori .hollow { justify-self: end; }
.hollow {
  margin: 0; width: 100%;
  aspect-ratio: 1.1;
  border-radius: 48% 52% 44% 56% / 52% 46% 54% 48%;
  overflow: hidden;
  box-shadow: 0 0 0 14px var(--white), 0 0 0 22px var(--p376), var(--shadow-lg);
}
.hollow img { width: 100%; height: 100%; object-fit: cover; }
.monte-text h2 { font-size: clamp(32px, 3.4vw, 52px); margin-bottom: .5em; }
.monte-text p + p { margin-top: 1em; }
.monte-text .btn { margin-top: 28px; white-space: normal; text-align: left; }
@media (max-width: 860px) { .montessori { grid-template-columns: 1fr; } .montessori .hollow { justify-self: center; max-width: 460px; } }

/* ---------- a day along the forest path ---------- */

.peek { max-width: 1080px; margin: 0 auto clamp(56px, 6vw, 96px); display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: clamp(32px, 5vw, 80px); align-items: center; }
.peek-text h2 { font-size: clamp(36px, 4.4vw, 66px); }
.peek-text p { margin-top: .7em; font-size: 1.1em; color: var(--forest-2); max-width: 30em; }
.keyhole {
  position: relative; justify-self: center;
  width: min(100%, 380px); aspect-ratio: 3 / 3.8;
  border-radius: 999px 999px 26px 26px;
  box-shadow: 0 0 0 12px var(--p369), 0 0 0 20px var(--white), var(--shadow-lg);
  background: var(--forest) url("media/manoerdo-poster.jpg") center / cover;
}
.peek-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; border-radius: inherit; }
.keyhole .flower { right: -30px; top: 8%; left: auto; }
@media (max-width: 860px) { .peek { margin-bottom: 150px; }
  .peek { grid-template-columns: 1fr; text-align: center; } .peek-text p { margin-inline: auto; } .keyhole { width: min(80%, 320px); } }


.path-wrap { position: relative; max-width: 1080px; margin: 0 auto; }
.path { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; pointer-events: none; }
.path-line { fill: none; stroke: var(--p376); stroke-width: 7; stroke-linecap: round; stroke-dasharray: 1 20; }
.walker {
  position: absolute; left: 0; top: 0; z-index: 3;
  width: 62px; height: auto;
  filter: drop-shadow(0 8px 6px rgba(29, 71, 33, .3));
  pointer-events: none;
  will-change: transform;
}
.stops { list-style: none; margin: 0; padding: 0; position: relative; z-index: 2; display: grid; gap: clamp(40px, 5vw, 76px); }
.stop { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: clamp(20px, 3vw, 44px); align-items: center; width: min(100%, 620px); }
.stop:nth-child(even) { margin-left: auto; grid-template-columns: minmax(0, 1fr) auto; text-align: right; }
.stop:nth-child(even) .medal { order: 2; }
.medal {
  margin: 0; width: clamp(140px, 15vw, 200px); aspect-ratio: 1;
  border-radius: 50%; overflow: hidden;
  box-shadow: 0 0 0 8px var(--white), 0 0 0 14px var(--p115), var(--shadow);
}
.stop:nth-child(3n+2) .medal { box-shadow: 0 0 0 8px var(--white), 0 0 0 14px var(--p376), var(--shadow); }
.stop:nth-child(3n) .medal { box-shadow: 0 0 0 8px var(--white), 0 0 0 14px var(--p144), var(--shadow); }
.medal img { width: 100%; height: 100%; object-fit: cover; }
.stop-text { background: var(--white); padding: 18px 22px; border-radius: 26px; box-shadow: var(--shadow); }
.stop-text h3 { font-size: clamp(20px, 1.6vw, 25px); }
.stop-text p { margin-top: .35em; color: var(--forest-2); }
@media (max-width: 720px) {
  .stop, .stop:nth-child(even) { grid-template-columns: auto minmax(0, 1fr); text-align: left; margin-left: 0; }
  .stop:nth-child(even) .medal { order: 0; }
  .medal, .stop:nth-child(n) .medal { width: 104px; box-shadow: 0 0 0 6px var(--white), 0 0 0 10px var(--p115), var(--shadow); }
  .stop-text { padding: 14px 16px; }
  .walker { width: 44px; }
}

/* ---------- gallery ---------- */

.gal-nav { display: flex; gap: 10px; }
.round { display: grid; place-items: center; width: 52px; height: 52px; border: 0; border-radius: 50%; background: var(--white); color: var(--forest); box-shadow: var(--shadow); cursor: pointer; transition: transform .3s var(--ease), background-color .2s; }
.round svg { width: 22px; height: 22px; }
.round.prev svg { rotate: 180deg; }
.round:hover { background: var(--p115); transform: translateY(-2px); }
.gallery {
  list-style: none; margin: 0 calc(var(--gutter) * -1); padding: 8px var(--gutter) 28px;
  display: flex; gap: 18px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: var(--gutter);
  scrollbar-width: thin;
}
.gallery li { flex: none; height: clamp(240px, 28vw, 380px); aspect-ratio: 4 / 3; scroll-snap-align: start; border-radius: 28px; overflow: hidden; box-shadow: var(--shadow); background: var(--tint-2); }
.gallery li.tall { aspect-ratio: 3 / 4; }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: scale .8s var(--ease); }
.gallery li:hover img { scale: 1.04; }
@media (max-width: 600px) { .sec-head.row { flex-direction: column; align-items: start; } }

/* ---------- parents ---------- */

.quotes { max-width: var(--max); margin: 0 auto; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(20px, 3vw, 40px); align-items: start; }
.quote { margin: 0; position: relative; padding: clamp(26px, 2.6vw, 36px); background: var(--tint); border-radius: 40px 40px 40px 8px; }
.quote::after { content: ""; position: absolute; left: 0; bottom: -18px; width: 28px; height: 22px; background: inherit; clip-path: polygon(0 0, 100% 0, 0 100%); }
.quote.q-yellow { background: var(--p115); margin-top: 40px; }
.quote p { font-size: clamp(16px, 1.1vw, 18px); font-weight: 500; line-height: 1.6; }
.quote footer { margin-top: 14px; font-size: .88em; color: var(--forest-2); font-weight: 700; }
.more { text-align: center; margin-top: clamp(40px, 4vw, 56px); }
.programs { max-width: var(--max); margin: clamp(64px, 7vw, 104px) auto 0; padding-top: clamp(32px, 3vw, 44px); border-top: 3px dotted var(--p376); display: flex; flex-wrap: wrap; align-items: center; gap: 16px 28px; }
.programs h3 { font-size: clamp(20px, 1.6vw, 26px); margin-right: auto; }
.programs ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.programs a { display: inline-block; padding: 9px 16px; border-radius: 999px; background: var(--tint); text-decoration: none; font-size: .92em; transition: background-color .2s; }
.programs a:hover { background: var(--p115); }
@media (max-width: 900px) { .quotes { grid-template-columns: 1fr; max-width: 600px; } .quote.q-yellow { margin-top: 0; } }

/* ---------- forest ornaments mid-page ---------- */

.deco-flower { position: absolute; z-index: 0; width: clamp(56px, 6vw, 90px); pointer-events: none; filter: drop-shadow(0 6px 8px rgba(29, 71, 33, .2)); }
.d1 { left: 6%; top: 12%; }
.d2 { right: 7%; top: 30%; width: clamp(44px, 4.4vw, 70px); }
.d3 { left: 8%; bottom: 14%; }
.sec > :not(.moss):not(.deco-flower):not(.faq-mano) { position: relative; z-index: 1; }
.faq-mano { position: absolute; right: max(var(--gutter), calc(50% - 600px)); top: clamp(60px, 7vw, 110px); width: clamp(110px, 11vw, 170px); rotate: 6deg; filter: drop-shadow(0 18px 20px rgba(29, 71, 33, .3)); }
@media (max-width: 960px) { .faq-mano { display: none; } .deco-flower { width: 48px; } }

/* ---------- FAQ ---------- */

.faq { max-width: 820px; margin: 0 auto; display: grid; gap: 12px; }
.faq details { background: var(--white); border-radius: 24px; box-shadow: var(--shadow); }
.faq summary { list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 20px 24px; font-weight: 800; font-size: 1.05em; cursor: pointer; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary svg { width: 24px; height: 24px; flex: none; color: var(--p362); transition: rotate .35s var(--ease); }
.faq details[open] summary svg { rotate: 180deg; }
.faq details p { padding: 0 24px 22px; color: var(--forest-2); }

/* ---------- the invitation ---------- */

.visit {
  --paper: var(--p376);
  position: relative;
  padding: var(--sec-y) var(--gutter) clamp(72px, 8vw, 120px);
  background:
    radial-gradient(70% 80% at 80% 60%, rgba(251, 217, 54, .35), transparent 70%),
    var(--p376);
}
.visit .fireflies { z-index: 0; border-radius: 0; }
.visit-inner { position: relative; z-index: 1; max-width: var(--max); margin: 0 auto; display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, .6fr); gap: clamp(24px, 4vw, 64px); align-items: end; }
.visit h2 { font-size: clamp(38px, 4.6vw, 72px); }
.visit .lead { color: var(--forest); font-weight: 600; }
.visit-quote { max-width: 34em; margin: 22px 0 0; padding: 14px 20px; display: inline-block; background: var(--white); border-radius: 22px 22px 22px 6px; box-shadow: var(--shadow); }
.visit-quote p { font-weight: 700; }
.visit-quote footer { font-size: .82em; color: var(--forest-2); margin-top: 4px; }
.steps { list-style: none; counter-reset: s; margin: 28px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 12px 28px; }
.steps li { counter-increment: s; display: flex; align-items: center; gap: 10px; }
.steps li::before { content: counter(s); display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--p115); font-family: var(--display); }
.contacts { margin-top: clamp(32px, 3vw, 44px); display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.contact { background: var(--white); border-radius: 32px; padding: clamp(22px, 2.4vw, 32px); display: grid; gap: 12px; justify-items: start; box-shadow: var(--shadow-lg); }
.contact h3 { font-size: clamp(24px, 2vw, 32px); }
.contact p { font-size: .92em; color: var(--forest-2); }
.contact p a { font-weight: 700; color: var(--forest); text-underline-offset: .2em; }
.visit-mano { width: min(100%, 380px); justify-self: center; margin-bottom: -24px; filter: drop-shadow(0 30px 34px rgba(29, 71, 33, .45)); }
@media (max-width: 960px) {
  .visit-inner { grid-template-columns: 1fr; }
  .visit-mano { order: -1; width: 200px; margin: 0 auto -8px; }
  .contacts { grid-template-columns: 1fr; }
  .contact .btn { width: 100%; }
}

/* ---------- footer ---------- */

.foot { background: var(--forest); color: #eef6df; padding: clamp(56px, 6vw, 88px) var(--gutter) 40px; }
.foot-grid { max-width: var(--max); margin: 0 auto; display: grid; grid-template-columns: 1.3fr 1fr 1fr 1fr; gap: 40px; }
.foot-brand img { width: 220px; background: var(--white); padding: 14px 18px; border-radius: 20px; box-sizing: content-box; }
.foot-brand p { margin-top: 14px; font-size: .92em; }
.foot h2 { font-size: 20px; color: var(--p115); margin-bottom: 12px; }
.foot p { font-size: .92em; }
.foot p + p { margin-top: 10px; }
.foot a { text-underline-offset: .2em; text-decoration-color: rgba(238, 246, 223, .4); }
.foot a:hover { color: var(--p115); }
.social { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; font-size: .92em; }
.legal { max-width: var(--max); margin: 48px auto 0; font-size: .82em; opacity: .8; }
@media (max-width: 960px) { .foot-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .foot-grid { grid-template-columns: 1fr; } .foot { padding-bottom: 96px; } }

/* ---------- phone call bar ---------- */

.callbar { display: none; }
@media (max-width: 760px) {
  .callbar {
    position: fixed; left: 10px; right: 10px; bottom: 10px; z-index: 40;
    display: flex; align-items: center; gap: 8px;
    padding: 8px 8px 8px 16px;
    background: var(--white); border-radius: 999px; box-shadow: var(--shadow-lg);
    font-weight: 800; font-size: .9em;
    translate: 0 140%; transition: translate .5s var(--ease);
  }
  .callbar .btn { flex: 1; padding-inline: .7em; }
  .callbar.show { translate: 0 0; }
}

/* ---------- motion: alive, never in the way ---------- */

@media (prefers-reduced-motion: no-preference) {
  .hero-mano { animation: breathe 5.5s ease-in-out infinite; }
  .rays { animation: sway 14s ease-in-out infinite alternate; }
  .slide.is-on { animation: drift 14s ease-out both; }
  .deco-flower { animation: spin 50s linear infinite; }
  @keyframes drift { from { transform: scale(1.08) translate(1%, 1%); } to { transform: scale(1) translate(0, 0); } }
  @keyframes sway { from { transform: translateX(-3%) skewX(-2deg); opacity: .4; } to { transform: translateX(3%) skewX(2deg); opacity: .65; } }
  @keyframes breathe { 0%, 100% { transform: rotate(-1.5deg) scaleY(1); } 50% { transform: rotate(1deg) scaleY(1.015); } }
  .flower { animation: spin 40s linear infinite; }
  .f-tr { animation-duration: 28s; animation-direction: reverse; }
  @keyframes spin { to { rotate: 360deg; } }
  .bubble { animation: pop .9s var(--ease) .6s both; }
  @keyframes pop { from { opacity: 0; transform: translateY(10px) scale(.9); } to { opacity: 1; transform: none; } }
}
