/* Montessori MŠ Pampeliška Plzeň — static V1 */
:root {
  --color-green-950: #173820;
  --color-green-900: #1f472b;
  --color-green-700: #3f6645;
  --color-green-500: #7f9d59;
  --color-yellow-600: #eeb51b;
  --color-yellow-500: #f6c533;
  --color-yellow-400: #ffd65a;
  --color-cream-50: #fffdf8;
  --color-cream-100: #fbf7ed;
  --color-ivory-50: #fffaf0;
  --color-sage-50: #f3f7ef;
  --color-sage-100: #eaf1e4;
  --color-peach-50: #fdf4ee;
  --color-rose-100: #f7dfd8;
  --color-sand-50: #f8f0e7;
  --color-text: #243029;
  --color-muted: #667067;
  --color-border: #dfe6dc;
  --color-white: #fff;
  --shadow-soft: 0 18px 55px rgb(31 71 43 / 0.09);
  --shadow-editorial: 0 28px 75px rgb(23 56 32 / 0.14);
  --shadow-button: 0 9px 22px rgb(31 71 43 / 0.12);
  --radius-sm: 0.75rem;
  --radius-md: 1.25rem;
  --radius-lg: 2rem;
  --radius-xl: 3rem;
  --content-width: 78rem;
  --header-height: 5.75rem;
  --font-body: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-display: "Iowan Old Style", "Baskerville", "Palatino Linotype", Georgia, serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  color-scheme: light;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-height) + 1rem);
}

body {
  margin: 0;
  min-width: 20rem;
  overflow-x: hidden;
  color: var(--color-text);
  background: var(--color-cream-50);
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.68;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

main {
  overflow: clip;
}

img,
svg {
  display: block;
  max-width: 100%;
}

img {
  height: auto;
}

a {
  color: var(--color-green-900);
  text-underline-offset: 0.2em;
}

a:hover {
  text-decoration-thickness: 0.13em;
}

button,
input,
textarea,
select {
  font: inherit;
}

button {
  color: inherit;
}

:focus-visible {
  outline: 3px solid var(--color-green-900);
  outline-offset: 4px;
}

::selection {
  color: var(--color-green-950);
  background: var(--color-yellow-400);
}

.skip-link {
  position: fixed;
  z-index: 1000;
  top: 0.75rem;
  left: 0.75rem;
  padding: 0.65rem 1rem;
  border-radius: 99rem;
  color: var(--color-white);
  background: var(--color-green-900);
  font-weight: 750;
  transform: translateY(-180%);
  transition: transform 160ms ease;
}

.skip-link:focus {
  transform: translateY(0);
}

.container {
  width: min(100% - 2rem, var(--content-width));
  margin-inline: auto;
}

.narrow {
  width: min(100% - 2rem, 48rem);
  margin-inline: auto;
}

.flow > * {
  margin-block: 0;
}

.flow > * + * {
  margin-top: var(--flow-space, 1rem);
}

.eyebrow {
  margin: 0 0 0.7rem;
  color: var(--color-green-700);
  font-size: 0.78rem;
  font-weight: 820;
  letter-spacing: 0.15em;
  line-height: 1.35;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  margin-block: 0;
  color: var(--color-green-950);
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: -0.045em;
  line-height: 1.02;
  text-wrap: balance;
}

h1 {
  font-size: clamp(3rem, 10vw, 6.7rem);
}

h2 {
  font-size: clamp(2.35rem, 8vw, 4.4rem);
}

h3 {
  font-size: clamp(1.28rem, 4vw, 1.65rem);
}

p {
  margin-block: 0;
}

.lead {
  color: #415048;
  font-size: clamp(1.05rem, 2.2vw, 1.24rem);
  line-height: 1.65;
}

.section {
  position: relative;
  padding-block: clamp(5rem, 11vw, 8.75rem);
}

.section--tight {
  padding-block: clamp(3rem, 7vw, 5rem);
}

.section--sage {
  background: var(--color-sage-50);
}

.section--cream {
  background: var(--color-cream-100);
}

.section--peach {
  background: var(--color-peach-50);
}

.home-difference {
  padding-block: clamp(4.75rem, 9vw, 7.5rem) clamp(5.25rem, 10vw, 8rem);
}

.home-school {
  padding-block: clamp(5.25rem, 9vw, 7.5rem);
  border-radius: 7vw 0 7vw 0 / 3.5vw 0 3.5vw 0;
}

.home-prep {
  padding-block: clamp(5.25rem, 10vw, 8rem);
}

.home-principles {
  padding-block: clamp(5rem, 9vw, 7.5rem);
  background:
    radial-gradient(circle at 8% 12%, rgb(246 197 51 / 0.09), transparent 16rem),
    var(--color-cream-100);
}

.home-story {
  padding-block: clamp(5.25rem, 9vw, 7.75rem);
  background: radial-gradient(circle at 94% 12%, rgb(127 157 89 / 0.08), transparent 18rem);
}

.home-story .section-heading {
  margin-bottom: clamp(1.85rem, 4vw, 2.75rem);
}

.home-montessori {
  padding-block: clamp(5.25rem, 9vw, 7.75rem);
}

.home-school .split,
.home-prep .split,
.home-montessori .split {
  gap: clamp(2.75rem, 7vw, 6rem);
}

.section-heading {
  max-width: 49rem;
  margin-bottom: clamp(2rem, 5vw, 3.25rem);
}

.section-heading::before {
  display: block;
  width: 3.75rem;
  height: 0.22rem;
  margin-bottom: 1.15rem;
  border-radius: 99rem;
  background: var(--color-yellow-500);
  content: "";
}

.section-heading--center {
  margin-inline: auto;
  text-align: center;
}

.section-heading--center::before {
  margin-inline: auto;
}

.section-heading p:not(.eyebrow) {
  max-width: 42rem;
  margin-top: 1rem;
  color: var(--color-muted);
  font-size: 1.08rem;
}

.section-heading--center p:not(.eyebrow) {
  margin-inline: auto;
}

.site-header {
  position: relative;
  z-index: 100;
  min-height: var(--header-height);
  border-bottom: 1px solid rgb(31 71 43 / 0.08);
  background: rgb(255 253 248 / 0.96);
  transition: border-color 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.site-header.is-scrolled {
  border-bottom-color: rgb(31 71 43 / 0.12);
  background: rgb(255 253 248 / 0.94);
  box-shadow: 0 12px 35px rgb(23 56 32 / 0.08);
}

@supports (backdrop-filter: blur(12px)) {
  .site-header {
    position: sticky;
    top: 0;
    background: rgb(255 253 248 / 0.88);
    backdrop-filter: blur(14px);
  }
}

.header-inner {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  min-height: var(--header-height);
  padding-block: 0.55rem;
  gap: 1rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  text-decoration: none;
}

.brand-logo {
  width: auto;
  height: clamp(3rem, 14vw, 3.35rem);
  object-fit: contain;
}

.site-footer .brand-logo {
  width: min(14.5rem, 100%);
  height: auto;
}

.nav-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3rem;
  height: 3rem;
  padding: 0;
  border: 1px solid var(--color-border);
  border-radius: 50%;
  background: var(--color-white);
  cursor: pointer;
}

.no-js .nav-toggle { display: none; }
.no-js .site-header { position: relative; }

.nav-toggle-icon,
.nav-toggle-icon::before,
.nav-toggle-icon::after {
  display: block;
  width: 1.3rem;
  height: 2px;
  border-radius: 2px;
  background: var(--color-green-900);
  transition: transform 180ms ease, opacity 180ms ease;
}

.nav-toggle-icon {
  position: relative;
}

.nav-toggle-icon::before,
.nav-toggle-icon::after {
  position: absolute;
  left: 0;
  content: "";
}

.nav-toggle-icon::before { top: -0.42rem; }
.nav-toggle-icon::after { top: 0.42rem; }

.nav-toggle[aria-expanded="true"] .nav-toggle-icon { background: transparent; }
.nav-toggle[aria-expanded="true"] .nav-toggle-icon::before { top: 0; transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle-icon::after { top: 0; transform: rotate(-45deg); }

.site-nav {
  grid-column: 1 / -1;
}

.js .site-nav {
  display: none;
}

.js .site-nav[data-open="true"] {
  display: block;
}

.nav-list {
  display: grid;
  margin: 0;
  padding: 0 0 1rem;
  list-style: none;
}

.nav-link {
  display: block;
  padding: 0.72rem 0.3rem;
  color: var(--color-green-950);
  font-size: 1rem;
  font-size: 0.96rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  text-decoration: none;
}

.nav-link[aria-current] {
  color: var(--color-green-700);
  text-decoration: underline;
  text-decoration-color: var(--color-yellow-500);
  text-decoration-thickness: 0.22rem;
  text-underline-offset: 0.45rem;
}

.button.header-cta {
  display: none;
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3.15rem;
  padding: 0.76rem 1.35rem;
  border: 2px solid transparent;
  border-radius: 99rem;
  color: var(--color-green-950);
  font-weight: 780;
  line-height: 1.25;
  text-align: center;
  text-decoration: none;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease, border-color 180ms ease;
}

.button:hover {
  text-decoration: none;
  transform: translateY(-3px);
}

.button--primary {
  border-color: var(--color-yellow-500);
  background: var(--color-yellow-500);
  box-shadow: var(--shadow-button);
}

.button--primary:hover {
  border-color: var(--color-yellow-400);
  background: var(--color-yellow-400);
  box-shadow: 0 14px 30px rgb(31 71 43 / 0.18);
}

.button--secondary {
  border-color: var(--color-green-700);
  background: rgb(255 255 255 / 0.75);
}

.button--secondary:hover {
  background: var(--color-white);
}

.button--small {
  min-height: 2.85rem;
  padding: 0.58rem 1.1rem;
  font-size: 0.9rem;
}

.button svg,
.contact-link svg,
.mobile-contact-bar svg {
  flex: 0 0 auto;
  width: 1.2em;
  height: 1.2em;
  margin-right: 0.55rem;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}

.hero {
  position: relative;
  isolation: isolate;
  min-height: min(53rem, calc(100vh - var(--header-height)));
  padding-block: clamp(3.5rem, 8vw, 7.5rem) clamp(7rem, 13vw, 10rem);
  overflow: hidden;
  background:
    radial-gradient(circle at 8% 86%, rgb(246 197 51 / 0.13), transparent 17rem),
    linear-gradient(132deg, var(--color-cream-50) 0 58%, var(--color-sage-50) 100%);
  border-radius: 0 0 8vw 3vw / 0 0 4vw 2vw;
}

.hero::after {
  position: absolute;
  z-index: -1;
  right: -8rem;
  bottom: -13rem;
  width: 32rem;
  height: 32rem;
  border: 1px solid rgb(63 102 69 / 0.12);
  border-radius: 50%;
  content: "";
}

.hero-grid {
  display: grid;
  align-items: center;
  gap: clamp(3rem, 7vw, 6.5rem);
}

.hero-copy {
  position: relative;
  z-index: 2;
}

.hero h1 {
  max-width: 10ch;
}

.hero-highlight {
  position: relative;
  z-index: 0;
  display: inline-block;
}

.hero-highlight::after {
  position: absolute;
  z-index: -1;
  right: -0.08em;
  bottom: 0.04em;
  left: -0.03em;
  height: 0.18em;
  border-radius: 50%;
  background: var(--color-yellow-400);
  content: "";
  opacity: 0.72;
  transform: rotate(-1.5deg);
}

.hero .lead {
  max-width: 34rem;
  margin-top: 1.6rem;
}

.hero-support {
  max-width: 43ch;
  margin-top: 1rem;
  color: var(--color-muted);
  font-size: 0.95rem;
  line-height: 1.65;
  text-wrap: pretty;
}

.hero .button-row {
  margin-top: 1.65rem;
}

.hero-note {
  display: inline-flex;
  align-items: center;
  margin-top: 1.8rem;
  color: var(--color-green-700);
  font-size: 0.94rem;
  font-weight: 720;
}

.hero-note::before {
  width: 2.5rem;
  height: 1px;
  margin-right: 0.7rem;
  background: var(--color-green-500);
  content: "";
}

.hero-visual {
  position: relative;
}

.hero-image-wrap {
  position: relative;
  border: 0.65rem solid var(--color-white);
  border-radius: 44% 56% 48% 52% / 35% 42% 58% 65%;
  overflow: hidden;
  box-shadow: var(--shadow-editorial);
  transform: rotate(1.4deg);
}

.hero-image-wrap img {
  width: 100%;
  aspect-ratio: 4 / 3.6;
  object-fit: cover;
  object-position: center center;
  transition: transform 700ms cubic-bezier(0.2, 0.7, 0.2, 1);
}

.hero-flower {
  position: absolute;
  right: 0.5rem;
  bottom: -2.3rem;
  width: clamp(6.5rem, 17vw, 10.5rem);
  filter: drop-shadow(0 12px 20px rgb(23 56 32 / 0.12));
  transform: rotate(7deg);
}

/* The source mark contains stray fragments at its right edge below the flower. */
.hero-flower,
.page-hero-brand,
.organic-card::after,
.visit-cta::before {
  clip-path: polygon(0 0, 100% 0, 100% 41%, 94% 43%, 94% 100%, 0 100%);
}

.hero-seeds {
  position: absolute;
  top: -2.75rem;
  left: 1rem;
  width: clamp(8rem, 13vw, 10.5rem);
  height: auto;
  pointer-events: none;
}

.values {
  position: relative;
  z-index: 3;
  margin-top: clamp(-4.2rem, -7vw, -5.8rem);
}

.values-intro {
  max-width: 36rem;
  margin: 0 auto 1.5rem;
  padding-inline: 1rem;
  color: var(--color-green-700);
  font-family: var(--font-display);
  font-size: clamp(1.05rem, 2.2vw, 1.2rem);
  font-weight: 400;
  line-height: 1.5;
  text-align: center;
  text-wrap: balance;
}

.value-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.25rem 1rem;
  margin: 0;
  padding: clamp(0.75rem, 2.5vw, 1.75rem);
  border: 1px solid rgb(31 71 43 / 0.08);
  border-radius: 1.4rem 2.6rem 1.7rem 2.2rem;
  background: var(--color-white);
  box-shadow: var(--shadow-soft);
  list-style: none;
}

.value-item {
  flex: 0 1 calc((100% - 1rem) / 2);
  min-width: 0;
  padding: 0.5rem 0.25rem;
  text-align: center;
}

.value-illustration {
  display: block;
  width: min(100%, 12.5rem);
  margin: 0 auto 0.8rem;
}

/* Preserve the supplied illustrations, including their soft white edges. */
.value-illustration img {
  display: block;
  width: 100%;
  height: auto;
}

.value-item strong {
  display: block;
  max-width: 21ch;
  margin-inline: auto;
  color: var(--color-green-950);
  font-size: 0.9rem;
  font-weight: 650;
  line-height: 1.5;
  text-wrap: balance;
}

.split {
  display: grid;
  align-items: center;
  gap: clamp(2.75rem, 8vw, 7rem);
}

.split-copy {
  --flow-space: 1.15rem;
}

.split-copy .button-row {
  margin-top: 1.65rem;
}

.organic-card {
  position: relative;
  padding: clamp(1.5rem, 5vw, 2.5rem);
  border: 1px solid rgb(31 71 43 / 0.08);
  border-radius: 3.4rem 1.25rem 4.2rem 1.8rem;
  background: var(--color-white);
  box-shadow: var(--shadow-soft);
}

.organic-card::after {
  position: absolute;
  right: -1.2rem;
  bottom: -1.8rem;
  width: 7rem;
  height: 8.2rem;
  background: url("../img/brand/znacka-pampeliska.webp") center / contain no-repeat;
  content: "";
  opacity: 0.09;
  pointer-events: none;
  transform: rotate(10deg);
}

.organic-card--statement {
  padding-bottom: 5.5rem;
}

.organic-card--statement::after {
  right: 0.25rem;
  bottom: -3.25rem;
  width: 6.75rem;
  height: 7.85rem;
  opacity: 0.38;
  transform: rotate(8deg);
}

.quote-message {
  color: var(--color-green-900);
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 4.5vw, 2.55rem);
  font-weight: 700;
  line-height: 1.2;
}

.quote-message::before {
  display: block;
  margin-bottom: 0.45rem;
  color: var(--color-yellow-600);
  font-size: 3.5rem;
  line-height: 0.7;
  content: "“";
}

.photo-frame {
  position: relative;
  border: 0.42rem solid var(--color-white);
  border-radius: 3.2rem 1.25rem 3.8rem 1.7rem;
  overflow: hidden;
  background: var(--color-sage-100);
  box-shadow: var(--shadow-editorial);
}

.photo-frame img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  object-position: center center;
  transition: transform 650ms cubic-bezier(0.2, 0.7, 0.2, 1);
}

.photo-frame--wide img {
  aspect-ratio: 16 / 9;
}

.photo-frame img.photo-position-lower {
  object-position: center 62%;
}

.photo-frame--portrait {
  width: min(100%, 32rem);
  justify-self: center;
}

.photo-frame--portrait img {
  aspect-ratio: 4 / 5;
}

.photo-caption {
  position: absolute;
  right: 1rem;
  bottom: 1rem;
  max-width: 15rem;
  padding: 0.6rem 0.9rem;
  border-radius: 1rem;
  color: var(--color-green-950);
  background: rgb(255 253 248 / 0.92);
  font-size: 0.8rem;
  font-weight: 700;
  line-height: 1.35;
}

.feature-list {
  display: grid;
  gap: 0.9rem;
  margin: 1.6rem 0 0;
  padding: 0;
  list-style: none;
}

.feature-list li {
  position: relative;
  padding-left: 2rem;
}

.feature-list li::before {
  position: absolute;
  top: 0.36rem;
  left: 0;
  width: 1.25rem;
  height: 1.25rem;
  border: 0.35rem solid var(--color-yellow-500);
  border-radius: 50% 45% 53% 47%;
  content: "";
}

.card-grid {
  display: grid;
  gap: 1rem;
}

.info-card {
  padding: clamp(1.35rem, 4vw, 2rem);
  border: 1px solid rgb(31 71 43 / 0.08);
  border-radius: 1.2rem 2.2rem 1.4rem 2.4rem;
  background: var(--color-white);
}

.info-card:nth-child(3n + 2) { background: var(--color-sage-50); }
.info-card:nth-child(3n) { background: var(--color-peach-50); }

.card-grid--four .info-card:nth-child(1) { background: var(--color-ivory-50); }
.card-grid--four .info-card:nth-child(2) { background: var(--color-sage-50); }
.card-grid--four .info-card:nth-child(3) { background: var(--color-peach-50); }
.card-grid--four .info-card:nth-child(4) { background: var(--color-sand-50); }

.info-card-number {
  display: inline-grid;
  width: 2.6rem;
  height: 2.6rem;
  margin-bottom: 1rem;
  border-radius: 50%;
  color: var(--color-green-950);
  background: var(--color-yellow-400);
  font-size: 0.9rem;
  font-weight: 820;
  place-items: center;
}

.info-card p {
  margin-top: 0.72rem;
  color: var(--color-muted);
}

.photo-story-grid {
  display: grid;
  gap: 1rem;
}

.story-card {
  position: relative;
  min-height: 18rem;
  border: 0.35rem solid var(--color-white);
  border-radius: 2.7rem 1rem 3.2rem 1.35rem;
  overflow: hidden;
  background: var(--color-sage-100);
  box-shadow: var(--shadow-soft);
}

.story-card img {
  width: 100%;
  height: 100%;
  min-height: 18rem;
  object-fit: cover;
  object-position: center center;
  transition: transform 650ms cubic-bezier(0.2, 0.7, 0.2, 1);
}

.story-card-copy {
  position: absolute;
  right: 0.9rem;
  bottom: 0.9rem;
  left: 0.9rem;
  padding: 0.85rem 1rem;
  border-radius: 1rem;
  color: var(--color-green-950);
  background: rgb(255 253 248 / 0.94);
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 760;
  text-align: center;
}

.steps {
  display: grid;
  gap: 1rem;
  margin: 0;
  padding: 0;
  counter-reset: steps;
  list-style: none;
}

.steps--contact .step {
  border-color: rgb(225 188 64 / 0.18);
  background: #fffbef;
}

.steps--contact .step:nth-child(2) {
  border-color: rgb(127 157 89 / 0.16);
  background: #f4f7ef;
}

.steps--contact .step:nth-child(3) {
  border-color: rgb(215 157 119 / 0.16);
  background: #fdf5ef;
}

.steps--contact .step::before {
  background: #f6dc83;
  font-weight: 700;
}

.steps--contact .step:nth-child(2)::before {
  background: #dfe9d5;
}

.steps--contact .step:nth-child(3)::before {
  background: #f2dac9;
}

.step {
  position: relative;
  padding: 1.5rem 1.35rem 1.5rem 4.7rem;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  background: var(--color-white);
  counter-increment: steps;
}

.step::before {
  position: absolute;
  top: 1.35rem;
  left: 1.25rem;
  display: grid;
  width: 2.6rem;
  height: 2.6rem;
  border-radius: 50%;
  color: var(--color-green-950);
  background: var(--color-yellow-400);
  content: counter(steps);
  font-weight: 820;
  place-items: center;
}

.step p {
  margin-top: 0.4rem;
  color: var(--color-muted);
}

.faq-list {
  display: grid;
  gap: 0.8rem;
}

.faq-list details {
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  background: var(--color-white);
}

.faq-list summary {
  position: relative;
  padding: 1.2rem 3.5rem 1.2rem 1.25rem;
  color: var(--color-green-950);
  font-weight: 760;
  cursor: pointer;
}

.faq-list summary::after {
  position: absolute;
  top: 50%;
  right: 1.3rem;
  color: var(--color-green-700);
  content: "+";
  font-size: 1.5rem;
  transform: translateY(-50%);
}

.faq-list details[open] summary::after { content: "−"; }

.faq-answer {
  padding: 0 1.25rem 1.3rem;
  color: var(--color-muted);
}

.visit-cta {
  position: relative;
  overflow: hidden;
  padding-block: clamp(5rem, 10vw, 7.5rem);
  background:
    radial-gradient(circle at 95% 115%, rgb(246 197 51 / 0.38), transparent 19rem),
    linear-gradient(108deg, var(--color-sage-100), var(--color-sage-50));
  border-radius: 9vw 0 0 0 / 4vw 0 0 0;
}

.visit-cta::before {
  position: absolute;
  bottom: -1.6rem;
  left: -0.85rem;
  width: clamp(6.5rem, 9vw, 8.5rem);
  height: clamp(7.5rem, 11vw, 10rem);
  background: url("../img/brand/znacka-pampeliska.webp") center / contain no-repeat;
  content: "";
  opacity: 0.1;
  transform: rotate(-10deg);
}

.visit-inner {
  position: relative;
  z-index: 1;
  display: grid;
  align-items: center;
  gap: 1.75rem;
}

.visit-inner .lead {
  margin-top: 0.85rem;
}

.contact-card {
  display: grid;
  gap: 1rem;
  padding: clamp(1.4rem, 5vw, 2.5rem);
  border-radius: var(--radius-lg);
  background: var(--color-green-900);
  box-shadow: var(--shadow-soft);
}

.contact-card,
.contact-card h2,
.contact-card h3,
.contact-card a {
  color: var(--color-white);
}

.contact-card p {
  color: rgb(255 255 255 / 0.78);
}

.contact-links {
  display: grid;
  gap: 0.75rem;
  margin-top: 1rem;
}

.contact-link {
  display: flex;
  align-items: center;
  min-height: 3.2rem;
  padding: 0.75rem 1rem;
  border: 1px solid rgb(255 255 255 / 0.24);
  border-radius: var(--radius-sm);
  background: rgb(255 255 255 / 0.08);
  font-weight: 720;
  text-decoration: none;
}

.contact-link:hover {
  background: rgb(255 255 255 / 0.14);
  text-decoration: none;
}

.contact-link:focus-visible { outline-color: var(--color-yellow-400); }

.page-hero {
  position: relative;
  padding-block: clamp(3rem, 8vw, 6.5rem);
  overflow: hidden;
  background:
    linear-gradient(104deg, var(--color-cream-100) 0 68%, var(--color-sage-50) 100%);
  border-radius: 0 0 7vw 0 / 0 0 3.5vw 0;
}

.page-hero-layout {
  display: grid;
  align-items: center;
  gap: clamp(2rem, 7vw, 5rem);
}

.page-hero-inner {
  position: relative;
  z-index: 1;
  max-width: 50rem;
  padding-left: clamp(1rem, 3vw, 2.2rem);
}

.page-hero-inner::before {
  position: absolute;
  top: 0.25rem;
  bottom: 0.2rem;
  left: 0;
  width: 0.22rem;
  border-radius: 99rem;
  background: var(--color-yellow-500);
  content: "";
}

.page-hero h1 {
  max-width: 14ch;
  font-size: clamp(2.55rem, 10.5vw, 4rem);
}

.page-hero .lead {
  max-width: 44rem;
  margin-top: 1.25rem;
}

.page-hero .button-row {
  margin-top: 1.75rem;
}

.page-hero-visual {
  position: relative;
  z-index: 1;
  width: min(100%, 32rem);
  justify-self: center;
}

.page-hero-visual::before {
  position: absolute;
  z-index: -1;
  inset: 8% -4% -5% 9%;
  border-radius: 42% 58% 44% 56% / 56% 42% 58% 44%;
  background: rgb(234 241 228 / 0.82);
  content: "";
  transform: rotate(-2deg);
}

.page-hero-image-wrap {
  border: 0.45rem solid var(--color-white);
  border-radius: 38% 62% 42% 58% / 48% 39% 61% 52%;
  overflow: hidden;
  box-shadow: var(--shadow-editorial);
  transform: rotate(0.7deg);
}

.page-hero-image-wrap img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  object-position: center;
  transition: transform 700ms cubic-bezier(0.2, 0.7, 0.2, 1);
}

.page-hero-visual--contact .page-hero-image-wrap img {
  object-position: 35% center;
}

.page-hero-visual--brand {
  display: grid;
  min-height: 17rem;
  place-items: center;
}

.page-hero-visual--brand::before {
  inset: 4% 5% 1%;
  background: rgb(255 255 255 / 0.62);
  border: 1px solid rgb(63 102 69 / 0.1);
  box-shadow: var(--shadow-soft);
}

.page-hero-brand {
  width: min(63%, 16rem);
  filter: drop-shadow(0 16px 26px rgb(23 56 32 / 0.12));
  transform: rotate(3deg);
}

.breadcrumb {
  margin-bottom: 1.1rem;
  color: var(--color-muted);
  font-size: 0.88rem;
}

.breadcrumb a {
  color: var(--color-green-700);
}

.comparison-grid {
  display: grid;
  gap: 1rem;
}

.comparison-card {
  padding: clamp(1.4rem, 4vw, 2.1rem);
  border-radius: var(--radius-md);
  background: var(--color-sage-50);
}

.comparison-card:nth-child(even) { background: var(--color-peach-50); }

.comparison-card p {
  margin-top: 0.75rem;
  color: var(--color-muted);
}

.address {
  margin: 0;
  font-style: normal;
}

.map-card {
  display: grid;
  min-height: 22rem;
  padding: clamp(1.5rem, 5vw, 3rem);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  background:
    linear-gradient(32deg, transparent 46%, rgb(127 157 89 / 0.15) 47% 52%, transparent 53%),
    linear-gradient(132deg, transparent 35%, rgb(246 197 51 / 0.18) 36% 41%, transparent 42%),
    var(--color-sage-50);
  place-items: center;
  text-align: center;
}

.map-pin {
  display: grid;
  width: 4rem;
  height: 4rem;
  margin: 0 auto 1rem;
  border-radius: 50% 50% 50% 0;
  color: var(--color-green-950);
  background: var(--color-yellow-500);
  font-size: 1.4rem;
  font-weight: 850;
  place-items: center;
  transform: rotate(-45deg);
}

.map-pin span { transform: rotate(45deg); }

.site-footer {
  padding: 4.5rem 0 calc(6rem + env(safe-area-inset-bottom));
  border-top: 1px solid var(--color-border);
  background:
    radial-gradient(circle at 8% 100%, rgb(246 197 51 / 0.12), transparent 16rem),
    var(--color-cream-50);
}

.footer-grid {
  display: grid;
  gap: 2rem;
}

.footer-brand p {
  max-width: 27rem;
  margin-top: 1rem;
  color: var(--color-muted);
  font-size: 0.9rem;
}

.footer-title {
  display: block;
  margin-bottom: 0.8rem;
  color: var(--color-green-950);
  font-size: 0.85rem;
  font-weight: 820;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.footer-links {
  display: grid;
  gap: 0.48rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer-links a {
  color: var(--color-text);
  text-decoration: none;
}

.footer-links a:hover { text-decoration: underline; }

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  margin-top: 2.5rem;
  padding-top: 1.3rem;
  border-top: 1px solid var(--color-border);
  gap: 0.75rem 1.5rem;
  color: var(--color-muted);
  font-size: 0.78rem;
}

.mobile-contact-bar {
  position: fixed;
  z-index: 90;
  right: 0;
  bottom: 0;
  left: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  padding: 0.6rem max(0.75rem, env(safe-area-inset-right)) calc(0.6rem + env(safe-area-inset-bottom)) max(0.75rem, env(safe-area-inset-left));
  border-top: 1px solid rgb(31 71 43 / 0.12);
  background: rgb(255 253 248 / 0.92);
  backdrop-filter: blur(14px);
  box-shadow: 0 -8px 30px rgb(31 71 43 / 0.1);
  gap: 0.55rem;
}

.mobile-contact-bar a {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 2.9rem;
  border: 2px solid var(--color-green-700);
  border-radius: 99rem;
  font-size: 0.86rem;
  font-weight: 780;
  line-height: 1;
  text-decoration: none;
}

.mobile-contact-bar a:first-child {
  border-color: var(--color-yellow-500);
  background: var(--color-yellow-500);
}

/* Montessori examples sit beside the principle they explain; keep the full activity visible. */
.montessori-example {
  width: min(100%, 40rem);
  margin: 0;
  justify-self: center;
}

.montessori-example .photo-frame img { object-fit: contain; }
.montessori-example-caption { padding: 1.5rem 0.5rem 0; }
.montessori-example-caption h3 { line-height: 1.2; }
.montessori-example-caption p { margin-top: 0.65rem; }
.montessori-sensory { margin-bottom: clamp(2.5rem, 6vw, 4.5rem); }
.montessori-sensory h3 { font-size: clamp(1.75rem, 3.5vw, 2.6rem); line-height: 1.15; }

/* School activities use the same soft surfaces and spacing as the existing cards. */
.school-day-intro { margin-bottom: clamp(2.5rem, 6vw, 4.5rem); }
.school-day-intro .section-heading { margin-bottom: 0; }

.activity-grid {
  display: grid;
  gap: 1.5rem;
}

.activity-card {
  overflow: hidden;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  background: var(--color-white);
}

.activity-card > img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: contain;
}

.activity-card-copy { padding: 1.5rem; }
.activity-card h3 { line-height: 1.2; }
.activity-card p { margin-top: 0.75rem; }
.activity-more { margin-top: 2.5rem; }
.activity-more h3 { line-height: 1.3; }
.activity-more ul {
  display: grid;
  gap: 0.75rem 2.5rem;
  margin-block: 1.25rem 1.5rem;
  padding-left: 1.25rem;
}
.activity-more li::marker { color: var(--color-green-700); }
.activity-more > p { max-width: 65ch; }

@media (min-width: 38rem) {
  .activity-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .activity-card:last-child {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: center;
  }
  .activity-more ul { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (min-width: 65rem) {
  .activity-grid { grid-template-columns: repeat(6, minmax(0, 1fr)); }
  .activity-card { grid-column: span 2; }
  .activity-card:nth-child(4) { grid-column: 2 / span 2; }
  .activity-card:last-child { display: block; grid-column: 4 / span 2; }
}

/* Parent advice: static cards and a comfortable reading measure. */
.tips-section { padding-bottom: 0; }
.tip-card {
  display: grid;
  overflow: hidden;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  background: var(--color-white);
}
.tip-card-visual { display: grid; place-items: center; background: var(--color-sage-50); }
.tip-card-visual img { width: min(100%, 22rem); }
.tip-card-visual--photo { overflow: hidden; }
.tip-card-visual--photo img { width: 100%; max-width: none; aspect-ratio: 16 / 10; object-fit: cover; }
.tip-card-copy { padding: clamp(1.5rem, 4vw, 3rem); }
.tip-card-copy h3 { font-size: clamp(1.7rem, 3vw, 2.65rem); line-height: 1.18; }
.tip-card-copy h3 a { color: inherit; text-decoration: none; }
.tip-card-copy h3 a:hover { text-decoration: underline; text-decoration-thickness: 1px; }
.tip-card-copy > p:not(.eyebrow) { max-width: 48ch; margin-block: 1rem 1.5rem; }
.reading-hero { padding-block: clamp(2rem, 5vw, 4.5rem); background: var(--color-cream-100); }
.reading-hero-grid { display: grid; align-items: center; gap: clamp(2rem, 4vw, 4rem); }
.reading-hero h1 { max-width: 21ch; font-size: clamp(2.45rem, 4.5vw, 4rem); line-height: 1.1; text-wrap: balance; }
.reading-hero .lead { max-width: 48ch; margin-top: 1.4rem; }
.reading-hero-figure { margin: 0; }
.reading-hero-figure img { width: 100%; border: 1px solid rgb(31 71 43 / .08); border-radius: 1.5rem 3rem 1.75rem 2.5rem; box-shadow: var(--shadow-soft); }
.reading-hero-figure figcaption { margin-top: .65rem; color: var(--color-green-700); font-size: .85rem; }
.reading-body { width: min(100% - 2rem, 44rem); margin-inline: auto; padding-block: clamp(2.5rem, 6vw, 5rem); }
.reading-body section + section, .reading-body aside + section { margin-top: 3rem; }
.reading-body h2 { max-width: 25ch; font-size: clamp(1.8rem, 3vw, 2.35rem); line-height: 1.2; }
.reading-body p { margin-block: 1rem 0; }
.reading-note { margin: 2rem 0; padding: 1.25rem 1.5rem; border-left: 3px solid var(--color-yellow-500); background: var(--color-cream-100); border-radius: 0 1rem 1rem 0; }
.reading-note h3 { margin-bottom: .45rem; color: var(--color-green-900); font-family: var(--font-body); font-size: 1rem; }
.reading-note p { margin: 0; }
.reading-note--attention { border-left-color: #dc9d21; background: #fff8e4; }
.reading-figure { margin: 2rem 0 0; }
.reading-figure img { width: 100%; border-radius: 1.5rem; }
.reading-figure figcaption { margin-top: .65rem; color: var(--color-muted); font-size: .85rem; line-height: 1.5; }
.reading-figure--attention img { border: 1px solid rgb(220 157 33 / .2); }
.sitting-options { display: grid; gap: 1rem; margin-block: 1.5rem; }
.sitting-options figure { margin: 0; padding: 1rem 1rem 1.5rem; border-radius: 1.5rem; background: var(--color-sage-50); text-align: center; }
.sitting-options figure:nth-child(2) { background: var(--color-peach-50); }
.sitting-options figure:nth-child(3) { background: #fff8e4; }
.sitting-options img { width: min(100%, 17rem); margin-inline: auto; }
.sitting-options figcaption strong, .sitting-options figcaption span { display: block; }
.sitting-options figcaption strong { color: var(--color-green-900); }
.sitting-options figcaption span { margin-top: .25rem; font-size: .85rem; color: var(--color-muted); }
.sitting-options--photos figure { padding: .5rem .5rem 1rem; }
.sitting-options--photos img { width: 100%; border-radius: 1.15rem; aspect-ratio: 4 / 3; object-fit: cover; }
.sitting-options--photos figcaption { padding-inline: .35rem; }
.reading-footer { margin-top: 2.5rem; padding-top: 1rem; border-top: 1px solid var(--color-border); }
.reading-footer p { color: var(--color-muted); font-size: .85rem; }
.reading-footer .text-link { display: inline-flex; margin-top: 1.5rem; }
@media (min-width: 38rem) {
  .tip-card { grid-template-columns: minmax(14rem, .85fr) minmax(0, 1.4fr); }
  .tip-card-visual--photo img { height: 100%; aspect-ratio: auto; }
  .sitting-options { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .sitting-options--three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (min-width: 46rem) {
  .reading-hero-grid { grid-template-columns: minmax(0, 1.15fr) minmax(20rem, .85fr); }
}

@media (hover: hover) {
  .hero-image-wrap:hover img,
  .page-hero-image-wrap:hover img,
  .photo-frame:hover img,
  .story-card:hover img {
    transform: scale(1.02);
  }
}

@media (prefers-reduced-motion: no-preference) {
  .js [data-reveal] {
    opacity: 0;
    transform: translateY(1.5rem);
    transition: opacity 650ms ease, transform 650ms cubic-bezier(0.2, 0.7, 0.2, 1);
  }

  .js [data-reveal].is-visible {
    opacity: 1;
    transform: none;
  }
}

.error-page {
  display: grid;
  min-height: 100vh;
  padding: 2rem 0;
  background: var(--color-cream-100);
  place-items: center;
}

.error-card {
  max-width: 42rem;
  text-align: center;
}

.error-code {
  color: var(--color-yellow-600);
  font-family: var(--font-display);
  font-size: clamp(5rem, 25vw, 10rem);
  font-weight: 850;
  letter-spacing: -0.08em;
  line-height: 0.75;
}

.error-card h1 {
  margin-top: 1.5rem;
  font-size: clamp(2rem, 8vw, 3.7rem);
}

.error-card .lead {
  margin: 1rem auto 1.5rem;
}

@media (min-width: 38rem) {
  .container { width: min(100% - 3rem, var(--content-width)); }
  .narrow { width: min(100% - 3rem, 48rem); }

  .brand-logo { height: 3.65rem; }

  .value-item { flex-basis: calc((100% - 2rem) / 3); }
  .card-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .photo-story-grid { grid-template-columns: repeat(12, minmax(0, 1fr)); }
  .story-card:nth-child(1) { grid-column: span 7; }
  .story-card:nth-child(2) { grid-column: span 5; margin-top: 3rem; }
  .story-card:nth-child(3) { grid-column: 3 / span 8; margin-top: 0.5rem; }
  .comparison-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .visit-inner { grid-template-columns: 1.25fr auto; }
  .visit-inner .button-row { justify-content: flex-end; }
  .footer-grid { grid-template-columns: 1.5fr 1fr 1fr; }
}

@media (min-width: 46rem) and (max-width: 54.99rem) {
  .hero {
    min-height: 46rem;
    padding-block: 4.75rem 7rem;
  }

  .hero-grid {
    grid-template-columns: minmax(0, 0.88fr) minmax(0, 1.12fr);
    gap: 2.5rem;
  }

  .hero h1 {
    font-size: clamp(4rem, 8.2vw, 4.5rem);
  }

  .hero .lead {
    font-size: 1.02rem;
    line-height: 1.55;
  }

  .hero-visual {
    margin-right: -4rem;
  }

  .hero-flower {
    right: 4.25rem;
  }
}

@media (min-width: 55rem) {
  :root { --header-height: 6.9rem; }

  .header-inner {
    grid-template-columns: auto 1fr auto;
    gap: clamp(1.25rem, 2vw, 2.4rem);
  }

  .brand-logo {
    width: auto;
    height: clamp(4rem, 6vw, 4.55rem);
  }
  .nav-toggle { display: none; }

  .site-nav,
  .js .site-nav {
    display: block;
    grid-column: auto;
  }

  .nav-list {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    padding: 0;
    gap: clamp(0.28rem, 0.8vw, 1rem);
  }

  .nav-link {
    padding: 0.8rem 0.16rem;
    font-size: clamp(0.79rem, 0.9vw, 0.92rem);
  }

  .button.header-cta { display: inline-flex; }

  .page-hero h1 {
    max-width: 15.5ch;
    font-size: clamp(4.5rem, 6vw, 5.25rem);
  }

  .page-hero-layout {
    grid-template-columns: minmax(0, 1.48fr) minmax(17rem, 0.92fr);
    gap: clamp(3rem, 5vw, 5.5rem);
  }

  .page-hero-inner {
    max-width: none;
  }

  .page-hero-visual {
    width: 100%;
  }

  .hero-grid { grid-template-columns: minmax(0, 0.82fr) minmax(28rem, 1.18fr); }
  .hero-copy { padding-top: 1.5rem; }
  .hero-flower { right: clamp(2.5rem, 6vw, 5.5rem); }
  .hero-visual { margin-right: -7vw; }
  .hero-image-wrap { margin-left: -1.5rem; }
  .split { grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr); }
  .split--reverse .split-copy { order: 2; }
  .split--reverse .split-media { order: 1; }
  .card-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .card-grid--four { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .steps { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .step { padding: 4.8rem 1.5rem 1.6rem; }
  .step::before { top: 1.4rem; left: 1.5rem; }
  .site-footer { padding-bottom: 3.5rem; }
  .mobile-contact-bar { display: none; }
}

@media (min-width: 55rem) and (max-width: 71.99rem) {
  .hero-grid {
    grid-template-columns: minmax(0, 0.9fr) minmax(27rem, 1.1fr);
    gap: 3rem;
  }

  .hero h1 {
    font-size: clamp(4.5rem, 8vw, 5.25rem);
  }

  .hero-visual {
    margin-right: -4vw;
  }

  .hero-image-wrap {
    margin-left: 0;
  }
}

@media (min-width: 76rem) {
  .hero-visual { margin-right: -4rem; }
  .hero-image-wrap { margin-left: -3rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}

@media print {
  .site-header,
  .mobile-contact-bar,
  .button-row { display: none; }
  body { color: #000; background: #fff; }
  .js [data-reveal] { opacity: 1; transform: none; }
  .section { padding-block: 2rem; }
}

@media (min-width: 65rem) {
  .value-item { flex-basis: calc((100% - 4rem) / 5); }
}
