/* Canopy Early Learning — homepage styles
   Direction: modern, minimal, high end. Canopy's own motifs:
   - the layered canopy domes from the logo tree (section edges)
   - a nature-journal voice: handwritten Square Peg notes with drawn arrows
   - growth as layout: rooms get taller from The Nest to The Treetops
   Every colour, font, space and radius comes from tokens.css.
   Contrast rules (canopy-README.md):
   - bark or forest for text on light surfaces
   - off-white for text on forest
   - blush-clay only ever carries bark text
   - eucalyptus and willow are decorative fills, never text */

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

html { scroll-behavior: smooth; }

body { margin: 0; overflow-x: hidden; -webkit-font-smoothing: antialiased; }

img { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3, p { margin: 0; }

:focus-visible { outline: 2px solid var(--bark); outline-offset: 3px; border-radius: var(--radius-sm); }
.on-forest :focus-visible { outline-color: var(--off-white); }

.container { width: min(1240px, 100% - 2 * var(--space-4)); margin-inline: auto; }
@media (min-width: 768px) { .container { width: min(1240px, 100% - 2 * var(--space-7)); } }

.section { position: relative; padding-block: clamp(72px, 8vw, 120px); }

.skip-link {
  position: absolute; left: var(--space-4); top: -100px; z-index: 100;
  padding: var(--space-3) var(--space-4); background: var(--forest); color: var(--off-white);
  border-radius: var(--radius-sm);
}
.skip-link:focus { top: var(--space-4); }

/* ---------- Type ---------- */

/* Lighter Quicksand with tight tracking reads refined rather than rounded */
.headline {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: clamp(34px, 4.4vw, 62px);
  line-height: 1.06;
  letter-spacing: -0.04em;
  color: var(--forest);
  text-wrap: balance;
}

.eyebrow { color: var(--forest); margin-bottom: var(--space-5); }
.on-forest .eyebrow { color: var(--off-white); }

.on-forest .headline { color: var(--off-white); }

.body-copy { max-width: 34em; }
.body-copy p + p { margin-top: var(--space-4); }

/* Handwritten field note with a drawn arrow — the playful layer */
.note {
  position: absolute;
  font-family: var(--font-heading);
  font-size: clamp(28px, 2.6vw, 38px);
  line-height: 1;
  white-space: nowrap;
  pointer-events: none;
}

.note svg {
  position: absolute;
  width: 64px; height: 56px;
  fill: none; stroke: currentColor; stroke-width: 1.6;
  stroke-linecap: round; stroke-linejoin: round;
}

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: var(--space-2);
  min-height: 50px; padding: var(--space-3) var(--space-6);
  border-radius: var(--radius-pill); border: 1px solid transparent;
  font-family: var(--font-body); font-size: 15px; font-weight: 600;
  text-decoration: none; white-space: nowrap;
  transition: background-color 0.25s ease, color 0.25s ease, border-color 0.25s ease;
}

.btn svg { width: 18px; height: 18px; transition: transform 0.25s ease; }
.btn:hover svg { transform: translateX(3px); }

.btn--forest { background: var(--forest); color: var(--off-white); }
.btn--forest:hover { background: var(--bark); }

/* blush-clay carries bark text only */
.btn--clay { background: var(--blush-clay); color: var(--bark); }
.btn--clay:hover { background: var(--off-white); }

.btn--text {
  color: var(--off-white); padding-inline: var(--space-2);
  text-decoration: underline; text-underline-offset: 6px; text-decoration-thickness: 1px;
}
.btn--text:hover { text-decoration-thickness: 2px; }

.btn-row { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-4); margin-top: var(--space-6); }

/* ---------- Header ---------- */

/* Transparent over the hero photo, then a solid off-white bar once you scroll */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 40;
  background: transparent;
  color: var(--off-white);
  transition: background-color 0.35s ease, box-shadow 0.35s ease, color 0.35s ease;
}

.site-header.is-scrolled {
  background: var(--off-white);
  color: var(--bark);
  box-shadow: 0 1px 0 var(--stone);
}

.site-header .container {
  display: flex; align-items: center; justify-content: space-between;
  gap: var(--space-6); min-height: 112px;
  transition: min-height 0.35s ease;
}
.site-header.is-scrolled .container { min-height: 92px; }

.site-header .logo { position: relative; display: block; }
.site-header .logo img { width: 180px; height: auto; transition: opacity 0.35s ease, width 0.35s ease; }
.site-header .logo .logo-dark { position: absolute; inset: 0; opacity: 0; }
.site-header.is-scrolled .logo img { width: 140px; }
.site-header.is-scrolled .logo .logo-light { opacity: 0; }
.site-header.is-scrolled .logo .logo-dark { opacity: 1; }

.nav { display: flex; align-items: center; gap: var(--space-7); }
.nav ul { display: flex; gap: var(--space-6); list-style: none; margin: 0; padding: 0; }

.nav ul a { position: relative; text-decoration: none; font-weight: 600; font-size: 15px; color: inherit; }
.nav ul a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -4px; height: 1px;
  background: currentColor; transform: scaleX(0); transform-origin: left; transition: transform 0.3s ease;
}
.nav ul a:hover::after { transform: scaleX(1); }

.nav .btn { min-height: 44px; padding-inline: var(--space-5); }

/* over the photo: clay with bark text; once solid: forest with off-white text */
.btn--nav { background: var(--blush-clay); color: var(--bark); }
.btn--nav:hover { background: var(--off-white); }
.is-scrolled .btn--nav { background: var(--forest); color: var(--off-white); }
.is-scrolled .btn--nav:hover { background: var(--bark); }

.site-header :focus-visible { outline-color: currentColor; }

.menu-toggle {
  display: none; width: 44px; height: 44px; border-radius: var(--radius-pill);
  border: 1px solid currentColor; background: transparent; color: inherit;
  align-items: center; justify-content: center; cursor: pointer;
}
.menu-toggle svg { width: 20px; height: 20px; }

/* keep anchored sections clear of the fixed bar */
main section[id] { scroll-margin-top: 92px; }

@media (max-width: 1140px) {
  .nav ul { display: none; }
  .menu-toggle { display: inline-flex; }
  .nav { gap: var(--space-3); }
  .site-header .container { min-height: 96px; }
  .site-header.is-scrolled .container { min-height: 76px; }
  .site-header .logo img { width: 156px; }
  .site-header.is-scrolled .logo img { width: 136px; }
}
@media (max-width: 440px) { .nav .btn { display: none; } }

.mobile-menu {
  position: fixed; inset: 0; z-index: 60; background: var(--forest); color: var(--off-white);
  padding: var(--space-5) var(--space-4) var(--space-7);
  display: flex; flex-direction: column; gap: var(--space-7);
  opacity: 0; visibility: hidden; transition: opacity 0.3s ease, visibility 0.3s;
}
.mobile-menu.is-open { opacity: 1; visibility: visible; }
.mobile-menu .top { display: flex; justify-content: space-between; align-items: center; }
.mobile-menu .top img { width: 156px; }
.mobile-menu .menu-toggle { display: inline-flex; border-color: var(--off-white); color: var(--off-white); }
.mobile-menu ul { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--space-5); }
.mobile-menu ul a { font-size: 32px; font-weight: 500; letter-spacing: -0.02em; text-decoration: none; }
.mobile-menu .btn { align-self: flex-start; }

/* ---------- Canopy edge ---------- */

/* Layered domes, taken from the rounded canopy of the logo tree */
.canopy-edge {
  position: absolute; left: 0; right: 0;
  width: 100%; height: clamp(56px, 8vw, 120px);
  pointer-events: none;
}
.canopy-edge .back { fill: var(--willow); }
.canopy-edge .front { fill: var(--off-white); }
.canopy-edge--bottom { bottom: -1px; }
.canopy-edge--stone .front { fill: var(--stone); }
.canopy-edge--top { top: -1px; transform: scaleY(-1); }

/* ---------- Hero ---------- */

.hero {
  position: relative;
  color: var(--off-white);
  background: var(--forest);
  overflow: hidden;
  isolation: isolate;
  min-height: clamp(680px, 100svh, 980px);
  display: flex;
  align-items: flex-end;
}

.hero-bg {
  position: absolute; inset: 0; z-index: -2;
  width: 100%; height: 100%;
  object-fit: cover; object-position: 68% 60%;
  transform: scale(1.05);
  animation: settle 3s ease forwards;
}
@keyframes settle { to { transform: scale(1); } }

/* flat tint, no gradient */
.hero::after {
  content: ""; position: absolute; left: 0; right: 0; top: 0; height: 220px; z-index: -1;
  background: linear-gradient(color-mix(in srgb, var(--bark) 45%, transparent), transparent);
  pointer-events: none;
}

.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: color-mix(in srgb, var(--bark) 42%, transparent);
}

.hero-inner {
  position: relative;
  padding-top: 220px;
  padding-bottom: clamp(104px, 11vw, 168px);
  display: grid;
  grid-template-columns: minmax(0, 780px);
  gap: var(--space-5);
  align-items: end;
}

.hero h1 {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: clamp(48px, 6.6vw, 100px);
  line-height: 0.98;
  letter-spacing: -0.045em;
}

.hero .body-copy { font-size: 17px; max-width: 26em; }

.hero .note--hero { right: 13%; top: 17%; transform: rotate(-4deg); }
.hero .note--hero svg { left: -58px; top: 26px; transform: rotate(-10deg); }

@media (max-width: 900px) {
  .hero { min-height: 0; }
  .hero-bg { object-position: 70% 50%; }
  .hero::before { background: color-mix(in srgb, var(--bark) 52%, transparent); }
  .hero-inner { grid-template-columns: 1fr; gap: var(--space-5); padding-top: 280px; }
  .hero .note--hero { right: var(--space-4); top: 128px; }
  .hero .note--hero svg { left: -40px; top: 34px; width: 48px; }
}

/* ---------- Intro: pinned text, drifting photos ---------- */

/* The section is tall; the copy stays pinned in the middle of the screen
   while photos scroll past on both sides at their own speeds. */
.intro {
  position: relative;
  height: 200vh;
  isolation: isolate;
  overflow: clip;
}

.intro-pin {
  position: sticky; top: 0;
  height: 100vh;
  display: grid; place-items: center;
  padding-inline: var(--space-4);
}

.intro-copy { max-width: 620px; text-align: center; }
.intro-copy .eyebrow { margin-bottom: var(--space-5); }
.intro-copy .headline { font-size: clamp(34px, 4.2vw, 60px); margin-bottom: var(--space-6); }
.intro-copy .body-copy { margin-inline: auto; max-width: 32em; }

.intro-words .w { opacity: 0.16; transition: opacity 0.2s linear; }

.intro-promise { margin-top: var(--space-6); color: var(--forest); }
.intro-promise span { color: var(--blush-clay); margin-inline: var(--space-2); }

.intro-photos { position: absolute; inset: 0; z-index: -1; pointer-events: none; }

.drift { position: absolute; margin: 0; overflow: hidden; will-change: transform; }
.drift img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.18); will-change: transform; }

/* Canopy shapes: arches, circles and soft rectangles, kept clear of the centre column */
/* evenly staggered down both sides so every screen of the scroll has photos.
   --o is each photo's distance from the page edge; the max-width below uses it
   so no photo can ever reach the 620px text column. */
.d-a { --o: 4vw; left: var(--o);  top: 0;   width: min(clamp(200px, 19vw, 270px), 27vh); aspect-ratio: 3 / 4; border-radius: var(--radius-md); }
.d-b { --o: 3vw; right: var(--o); top: 12%; width: min(clamp(230px, 23vw, 330px), 44vh); aspect-ratio: 4 / 3; border-radius: var(--radius-md); }
.d-c { --o: 9vw; left: var(--o);  top: 25%; width: min(clamp(140px, 13vw, 190px), 30vh); aspect-ratio: 1; border-radius: var(--radius-pill); }
.d-d { --o: 6vw; right: var(--o); top: 37%; width: min(clamp(190px, 18vw, 260px), 27vh); aspect-ratio: 3 / 4; border-radius: var(--radius-md); }
.d-e { --o: 2vw; left: var(--o);  top: 50%; width: min(clamp(230px, 23vw, 330px), 44vh); aspect-ratio: 4 / 3; border-radius: var(--radius-md); }
.d-f { --o: 4vw; right: var(--o); top: 62%; width: min(clamp(150px, 14vw, 200px), 28vh); aspect-ratio: 1; border-radius: var(--radius-pill); }
.d-g { --o: 6vw; left: var(--o);  top: 75%; width: min(clamp(200px, 19vw, 280px), 26vh); aspect-ratio: 4 / 5; border-radius: var(--radius-md); }
.d-h { --o: 3vw; right: var(--o); top: 84%; width: min(clamp(220px, 22vw, 320px), 40vh); aspect-ratio: 4 / 3; border-radius: var(--radius-md); }

/* photos never reach into the centre column */
.drift { max-width: calc((100vw - 660px) / 2 - var(--o, 0px)); }

/* Smaller screens: no pinning, the photos become a simple grid under the copy */
@media (max-width: 1100px) {
  .intro { height: auto; display: flex; flex-direction: column-reverse; padding-block: clamp(88px, 11vw, 152px); }
  .intro-pin { position: static; height: auto; padding: 0 var(--space-4) var(--space-7); }
  .intro-photos {
    position: static; z-index: auto;
    display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-3);
    width: min(1240px, 100% - 2 * var(--space-4)); margin-inline: auto;
  }
  .drift { position: static; width: auto !important; max-width: none; transform: none !important; }
  .drift img { transform: none !important; }
  .d-a, .d-d { aspect-ratio: 3 / 4; }
  .d-b, .d-e { aspect-ratio: 1; }
  .d-c, .d-f, .d-g, .d-h { display: none; }
  .intro-words .w { opacity: 1; }
}

@media (prefers-reduced-motion: reduce) {
  .intro-words .w { opacity: 1 !important; }
}

/* ---------- Rooms: growth ---------- */

.rooms { background: var(--stone); }

.rooms-head {
  display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-7);
  align-items: end; margin-bottom: var(--space-8);
}

.growth {
  position: relative;
  list-style: none; margin: 0; padding: 0;
  display: grid; grid-template-columns: repeat(4, 1fr); grid-template-rows: auto auto;
  column-gap: var(--space-5);
}

/* photos share one baseline, captions start on one line */
.stage { display: grid; grid-row: span 2; grid-template-rows: subgrid; }
.stage .photo { align-self: end; }

.stage .photo {
  border-radius: 999px 999px var(--radius-sm) var(--radius-sm);
  overflow: hidden;
  height: var(--h);
  transform-origin: bottom;
}
.stage .photo img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.8s ease; }
.stage:hover .photo img { transform: scale(1.05); }

/* The Nest is smallest, The Treetops tallest */
.stage:nth-child(1) { --h: 260px; }
.stage:nth-child(2) { --h: 330px; }
.stage:nth-child(3) { --h: 400px; }
.stage:nth-child(4) { --h: 470px; }

.stage .photo.reveal { transform: scaleY(0.6); opacity: 0; transition: transform 1.1s cubic-bezier(.2, .8, .2, 1), opacity 0.8s ease; }
.stage .photo.reveal.is-in { transform: none; opacity: 1; }

.ground { grid-column: 1 / -1; height: 1px; background: var(--bark); margin-top: var(--space-5); }

.stage-body { padding-top: var(--space-5); align-self: start; }
.stage-body .top { display: flex; align-items: center; justify-content: space-between; margin-bottom: var(--space-3); }
.stage-body .top img { height: 32px; width: auto; }
.stage-body .text-label { color: var(--forest); }
.stage-body h3 { font-size: 28px; font-weight: 400; letter-spacing: -0.03em; letter-spacing: -0.02em; color: var(--forest); margin-bottom: var(--space-1); }
.stage-body .tagline { font-weight: 700; margin-bottom: var(--space-2); }
.stage-body p:last-child { font-size: 15px; }

.growth-wrap { position: relative; }
.note--rooms { color: var(--forest); right: -1%; top: -64px; transform: rotate(-5deg); }
.note--rooms svg { left: -62px; top: 22px; }

@media (max-width: 1000px) {
  .rooms-head { grid-template-columns: 1fr; }
  .growth { grid-template-columns: repeat(2, 1fr); grid-template-rows: none; row-gap: var(--space-7); }
  .stage { grid-row: auto; grid-template-rows: auto auto; }
  .stage:nth-child(1) { --h: 240px; }
  .stage:nth-child(2) { --h: 290px; }
  .stage:nth-child(3) { --h: 240px; }
  .stage:nth-child(4) { --h: 290px; }
  .ground { display: none; }
  .note--rooms { display: none; }
}

@media (max-width: 520px) {
  .growth { grid-template-columns: 1fr; }
  .stage:nth-child(n) { --h: 300px; }
}

/* ---------- Our story: wide photo with an overlapping card ---------- */

.story { background: var(--stone); padding-block: clamp(72px, 8vw, 120px); }

.story-photo {
  margin: 0;
  aspect-ratio: 21 / 9;
  border-radius: var(--radius-md);
  overflow: hidden;
}
.story-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 55%; transition: transform 1.2s ease; }
.story-photo:hover img { transform: scale(1.03); }

/* the card rides up over the bottom of the photo; facts and whakataukī sit beside it */
.story-lower {
  display: grid;
  grid-template-columns: 1fr 1.35fr;
  gap: clamp(var(--space-6), 5vw, 80px);
  align-items: end;
}

.story-card {
  position: relative;
  margin-top: clamp(-220px, -14vw, -120px);
  background: var(--off-white);
  border-radius: var(--radius-md);
  padding: clamp(var(--space-6), 4vw, 56px);
}
.story-card .headline { margin-bottom: var(--space-5); max-width: 13em; }

.story-side { padding-bottom: var(--space-2); }

.story-facts { list-style: none; margin: var(--space-6) 0 0; padding: 0; }
.story-facts li { border-top: 1px solid color-mix(in srgb, var(--bark) 18%, transparent); padding-top: var(--space-4); }
.story-facts strong {
  display: block; font-size: clamp(48px, 5vw, 72px); font-weight: 300;
  letter-spacing: -0.04em; line-height: 1; color: var(--forest); margin-bottom: var(--space-2);
}

.story-quote {
  margin: var(--space-6) 0 0; padding: var(--space-5) 0 0;
  border-top: 1px solid color-mix(in srgb, var(--bark) 18%, transparent);
}
.story-quote p:first-child { font-weight: 600; color: var(--forest); margin-bottom: var(--space-2); }
.story-quote p:last-child { font-family: var(--font-heading); font-size: 28px; line-height: 1.15; color: var(--forest); }

@media (max-width: 900px) {
  .story-photo { aspect-ratio: 4 / 3; }
  .story-lower { grid-template-columns: 1fr; }
  .story-card { margin-top: -64px; margin-inline: var(--space-3); order: -1; }
}

/* ---------- Starting + FAQ ---------- */

.starting-head { max-width: 680px; margin-bottom: var(--space-7); }

.steps {
  list-style: none; margin: 0 0 var(--space-8); padding: 0;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-5);
}

.steps li { background: var(--stone); border-radius: var(--radius-md); padding: var(--space-6); }

.steps .n {
  display: grid; place-items: center;
  width: 44px; height: 44px; border-radius: var(--radius-pill);
  background: var(--forest); color: var(--off-white);
  font-weight: 600; margin-bottom: var(--space-6);
}

.steps h3 { font-size: 24px; font-weight: 400; letter-spacing: -0.03em; color: var(--forest); margin-bottom: var(--space-2); }
.steps p { font-size: 15px; }

@media (max-width: 900px) { .steps { grid-template-columns: 1fr; } }


.faq details { border-top: 1px solid var(--stone); }
.faq details:last-child { border-bottom: 1px solid var(--stone); }

.faq summary {
  list-style: none; cursor: pointer;
  display: flex; justify-content: space-between; align-items: center; gap: var(--space-5);
  padding: var(--space-5) 0;
  font-size: 20px; font-weight: 500; letter-spacing: -0.02em; color: var(--forest);
}
.faq summary::-webkit-details-marker { display: none; }

.faq summary::after {
  content: "+"; flex: none;
  width: 36px; height: 36px; border-radius: var(--radius-pill); border: 1px solid var(--forest);
  display: grid; place-items: center; font-size: 20px; font-weight: 400;
  transition: transform 0.3s ease, background-color 0.3s ease, color 0.3s ease;
}
.faq details[open] summary::after { transform: rotate(45deg); background: var(--forest); color: var(--off-white); }

.faq details p { padding: 0 var(--space-8) var(--space-5) 0; max-width: 44em; }

/* ---------- Values: split background ---------- */

/* Photo fills the left half edge to edge; the values sit on the right */
.values-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 100vh;
  background: var(--off-white);
}

.values-photo { position: relative; margin: 0; overflow: hidden; }
.values-photo img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; object-position: 30% 50%;
}

.note--values { color: var(--off-white); left: 8%; bottom: 10%; transform: rotate(-4deg); }
.note--values svg { right: -62px; top: -40px; transform: scale(-1, -1); }

.values-content {
  padding: clamp(80px, 9vw, 136px) clamp(var(--space-5), 6vw, 104px);
  max-width: 720px;
  align-self: center;
}

.values-content .headline { margin-bottom: var(--space-5); max-width: 10em; }

.values-list { list-style: none; margin: var(--space-7) 0 0; padding: 0; border-top: 1px solid var(--stone); }

.value {
  display: grid; grid-template-columns: 56px 1fr; gap: var(--space-5);
  align-items: center; padding: var(--space-4) 0;
  border-bottom: 1px solid var(--stone);
}
.value img { width: 56px; height: 56px; object-fit: contain; transition: transform 0.5s cubic-bezier(.2, .8, .2, 1); }
.value:hover img { transform: rotate(-12deg); }
.value .text-label { display: block; color: var(--forest); margin-bottom: var(--space-1); }
.value p { font-size: 15px; }

@media (max-width: 900px) {
  .values-split { grid-template-columns: 1fr; min-height: 0; }
  .values-photo { height: 70vh; min-height: 380px; }
  .values-content { max-width: none; }
}

/* ---------- Learning: list with a photo that follows ---------- */

.learning { padding-top: 0; }
.learning-head { max-width: 680px; margin-bottom: var(--space-7); }

.learning-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(var(--space-7), 6vw, 96px); align-items: start; }

.learning-frame {
  position: sticky; top: 136px;
  aspect-ratio: 4 / 4.6;
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--stone);
}

.learning-frame > * {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover;
  opacity: 0; transform: scale(1.04);
  transition: opacity 0.6s ease, transform 1.2s ease;
}
.learning-frame > .is-active { opacity: 1; transform: none; }

.frame-panel { background: var(--willow); display: grid; place-items: center; }
.frame-panel { gap: var(--space-4); align-content: center; }
.frame-panel img { width: 34%; }
.frame-panel p { color: var(--bark); }

.learning .body-copy { margin-bottom: var(--space-6); }

.exp-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--stone); }

.exp {
  display: grid; grid-template-columns: 48px 1fr; gap: var(--space-4);
  padding: var(--space-5) 0; border-bottom: 1px solid var(--stone);
  cursor: pointer; outline-offset: 6px;
}

.exp .num { font-weight: 600; font-size: 14px; color: var(--forest); padding-top: 6px; }
.exp h3 { font-size: 24px; font-weight: 400; letter-spacing: -0.03em; color: var(--forest); margin-bottom: var(--space-1); transition: transform 0.35s ease; }
.exp p { font-size: 15px; }
.exp h3 { opacity: 0.72; transition: opacity 0.35s ease, transform 0.35s ease; }
.exp.is-active h3 { opacity: 1; }
.exp.is-active h3 { transform: translateX(6px); }

@media (max-width: 900px) {
  .learning-grid { grid-template-columns: 1fr; }
  .learning-frame { position: relative; top: 0; aspect-ratio: 4 / 3; }
}

/* ---------- Visit ---------- */

.visit {
  position: relative;
  background: var(--forest);
  color: var(--off-white);
  padding-top: clamp(140px, 16vw, 220px);
  padding-bottom: clamp(88px, 10vw, 128px);
}

.visit-grid { display: grid; grid-template-columns: 0.9fr 1fr; gap: clamp(var(--space-7), 7vw, 112px); align-items: center; }

.visit-photo { margin: 0; aspect-ratio: 4 / 4.8; border-radius: var(--radius-md); overflow: hidden; }
.visit-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 38% 50%; }

.visit .headline { font-size: clamp(38px, 4.8vw, 68px); margin-bottom: var(--space-5); }

.facts {
  list-style: none; margin: var(--space-7) 0 0; padding: 0;
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 0 var(--space-5);
}
.facts li { padding: var(--space-4) 0; border-top: 1px solid color-mix(in srgb, var(--off-white) 25%, transparent); }
.facts .text-label { display: block; margin-bottom: var(--space-1); }
.facts strong { font-weight: 600; }

@media (max-width: 900px) {
  .visit-grid { grid-template-columns: 1fr; }
  .visit-photo { max-width: 460px; width: 100%; aspect-ratio: 1 / 1; }
}

/* ---------- Footer ---------- */

.site-footer { background: var(--forest); color: var(--off-white); padding-bottom: var(--space-6); }

.footer-top {
  display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: var(--space-7);
  padding-top: var(--space-7);
  border-top: 1px solid color-mix(in srgb, var(--off-white) 25%, transparent);
}

.footer-top .logo img { width: 220px; }
.footer-top .whakatauki { margin-top: var(--space-6); }
.footer-top .whakatauki p:first-child { font-weight: 600; }
.footer-top .whakatauki p:last-child { font-family: var(--font-heading); font-size: 30px; line-height: 1.1; margin-top: var(--space-1); }
.footer-top h3 { margin-bottom: var(--space-4); }
.footer-top ul { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--space-2); }
.footer-top a { text-decoration: none; }
.footer-top a:hover { text-decoration: underline; text-underline-offset: 4px; }

.footer-base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: var(--space-4); margin-top: var(--space-8); }

@media (max-width: 760px) { .footer-top { grid-template-columns: 1fr; } }

/* ---------- Reveal ---------- */

.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.9s ease, transform 0.9s ease; }
.reveal.is-in { opacity: 1; transform: none; }
.d1 { transition-delay: 0.12s; }
.d2 { transition-delay: 0.24s; }
.d3 { transition-delay: 0.36s; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition-duration: 0.01ms !important; transition-delay: 0s !important; }
  .reveal, .stage .photo.reveal { opacity: 1; transform: none; }
}

/* ---------- What's different on forest ---------- */

.learning.on-forest { background: var(--forest); color: var(--off-white); padding-top: clamp(72px, 8vw, 120px); }
.on-forest .exp-list { border-top-color: color-mix(in srgb, var(--off-white) 22%, transparent); }
.on-forest .exp { border-bottom-color: color-mix(in srgb, var(--off-white) 22%, transparent); }
.on-forest .exp .num, .on-forest .exp h3 { color: var(--off-white); }
.on-forest .learning-frame { background: color-mix(in srgb, var(--off-white) 10%, transparent); }

/* ---------- FAQ two columns ---------- */

.faq-wrap { display: grid; grid-template-columns: 0.8fr 1.4fr; gap: clamp(var(--space-7), 6vw, 96px); align-items: start; }
.faq-intro { position: sticky; top: 124px; }
.faq-heading { font-size: clamp(26px, 2.4vw, 34px); font-weight: 400; letter-spacing: -0.03em; color: var(--forest); margin-bottom: var(--space-3); }
.faq-intro p { margin-bottom: var(--space-5); max-width: 22em; }
.faq { max-width: none; }

@media (max-width: 900px) {
  .faq-wrap { grid-template-columns: 1fr; gap: var(--space-5); }
  .faq-intro { position: static; }
}
