/* ═══════════════════════════════════════════════════════════════
   Summer Academy Primary — "Sunshine Storybook"
   warm paper · sun / sky / tomato / grass brand · Dutch-inspired joy
   (design language adapted from the Roots & Wings storybook mockup)
   ═══════════════════════════════════════════════════════════════ */

:root {
  --paper: #fffdf6;
  --paper-tint: #fff4d9;
  --paper-blue: #eaf4fb;
  --ink: #1f2f4d;
  --ink-soft: #566587;

  --sun: #ffc21f;
  --sun-deep: #f6a70d;
  --sun-soft: #ffe6a3;
  --sky: #1f8fd6;
  --sky-deep: #1670ac;
  --sky-soft: #bfe2f6;
  --tomato: #ef4a34;
  --grass: #3fa96a;

  --font-display: "Fraunces", Georgia, serif;
  --font-body: "Figtree", system-ui, sans-serif;
  --font-hand: "Caveat", cursive;

  --radius: 22px;
  --shadow: 0 16px 44px -20px rgba(31, 47, 77, 0.4);
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--paper);
  overflow-x: hidden;
}

img { display: block; max-width: 100%; }
a { color: inherit; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }

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

.container { width: min(1160px, 100% - 3rem); margin-inline: auto; }
.section { padding-block: clamp(4.5rem, 9vw, 7.5rem); position: relative; }
.section--tinted { background: var(--paper-tint); }
.section--sky { background: var(--paper-blue); }
.section--ink { background: var(--ink); color: var(--paper); }

/* ── Type ────────────────────────────────────────────── */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8125rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--sky-deep);
  margin-bottom: 1rem;
}
.eyebrow__sun { width: 18px; height: 18px; }
.eyebrow--light { color: var(--sun); }
.eyebrow--ink { color: var(--ink); }

.section__title {
  font-family: var(--font-display);
  font-variation-settings: "SOFT" 100, "opsz" 100;
  font-weight: 560;
  font-size: clamp(2rem, 4.2vw, 3.2rem);
  line-height: 1.12;
  letter-spacing: -0.01em;
  margin-bottom: 1.25rem;
  text-wrap: balance;
}
.section__title em { font-style: italic; color: var(--sky); }
.section__title--center { text-align: center; margin-bottom: 3rem; }
.section__title--light { color: var(--paper); }
.section__title--light em { color: var(--sun); }
.section__lead { max-width: 48ch; color: var(--ink-soft); margin-bottom: 2.5rem; }
.section__lead--center { margin-inline: auto; text-align: center; }

.hand {
  font-family: var(--font-hand);
  font-size: 1.35rem;
  font-weight: 600;
  color: var(--tomato);
  transform: rotate(-2deg);
}

.squiggle { position: relative; white-space: nowrap; }
.squiggle::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -0.12em;
  height: 0.32em;
  background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 12" preserveAspectRatio="none"><path d="M0 8 Q 12 2 25 8 T 50 8 T 75 8 T 100 8" fill="none" stroke="%23ffc21f" stroke-width="5" stroke-linecap="round"/></svg>') repeat-x;
  background-size: 90px 100%;
  z-index: -1;
}

/* ── Buttons ─────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.8rem 1.6rem;
  border-radius: 999px;
  font-weight: 800;
  font-size: 0.95rem;
  text-decoration: none;
  transition: transform 0.35s var(--ease-out), box-shadow 0.35s var(--ease-out), background 0.25s;
  will-change: transform;
}
.btn--lg { padding: 1rem 2rem; font-size: 1.05rem; }
.btn--sky { background: var(--sky); color: #fff; box-shadow: 0 12px 26px -12px rgba(31, 143, 214, 0.7); }
.btn--sky:hover { transform: translateY(-3px) rotate(-1deg); box-shadow: 0 18px 32px -12px rgba(31, 143, 214, 0.75); }
.btn--sun { background: var(--sun); color: var(--ink); box-shadow: 0 12px 26px -12px rgba(246, 167, 13, 0.75); }
.btn--sun:hover { transform: translateY(-3px) rotate(1deg); }
.btn--ghost { border: 2px solid var(--ink); color: var(--ink); }
.btn--ghost:hover { transform: translateY(-3px) rotate(1deg); background: var(--ink); color: var(--paper); }
.btn--ink { background: var(--ink); color: var(--sun); }
.btn--ink:hover { transform: translateY(-3px) rotate(-1deg); }
.btn--ghost-ink { border: 2px solid var(--ink); color: var(--ink); }
.btn--ghost-ink:hover { transform: translateY(-3px); background: rgba(31,47,77,.08); }

/* ── Preloader (sun rising) ──────────────────────────── */
.preloader {
  position: fixed; inset: 0; z-index: 100;
  display: grid; place-items: center;
  background: var(--paper);
  transition: opacity 0.6s ease, visibility 0.6s;
}
.preloader.done { opacity: 0; visibility: hidden; }
.preloader__inner { text-align: center; }
.preloader__sun { width: 92px; height: 92px; margin-inline: auto; overflow: visible; }
.sun-core { transform-origin: 46px 46px; transform: scale(0); animation: sun-pop 0.7s 0.1s var(--ease-out) forwards; }
.sun-ray { transform-origin: 46px 46px; opacity: 0; animation: ray-in 0.5s var(--ease-out) forwards; }
@keyframes sun-pop { to { transform: scale(1); } }
@keyframes ray-in { to { opacity: 1; } }
.preloader__word {
  margin-top: 0.9rem;
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 600;
  animation: fade-up 0.7s 0.9s both var(--ease-out);
}
.preloader__word span { color: var(--sky); font-style: italic; }
@keyframes fade-up { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }

/* ── Nav ─────────────────────────────────────────────── */
.nav {
  position: fixed;
  top: 14px; left: 0; right: 0;
  z-index: 50;
  transition: transform 0.4s var(--ease-out);
}
.nav.hidden { transform: translateY(-140%); }
.nav__inner {
  width: min(1160px, 100% - 2rem);
  margin-inline: auto;
  display: flex;
  align-items: center;
  gap: 1.5rem;
  padding: 0.5rem 0.7rem 0.5rem 0.9rem;
  border-radius: 999px;
  background: rgba(255, 253, 246, 0.85);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(31, 47, 77, 0.08);
  box-shadow: 0 12px 34px -20px rgba(31, 47, 77, 0.4);
}
.nav__brand { display: flex; align-items: center; gap: 0.6rem; text-decoration: none; }
.nav__logo { width: 44px; height: 44px; border-radius: 50%; }
.nav__name { font-family: var(--font-display); font-weight: 640; font-size: 1.1rem; line-height: 1; }
.nav__name em { color: var(--sky); font-style: normal; }
.nav__name small { display: block; font-family: var(--font-body); font-weight: 700; font-size: 0.62rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--ink-soft); margin-top: 3px; }
.nav__links { display: flex; gap: 1.5rem; margin-left: auto; }
.nav__links a {
  text-decoration: none;
  font-weight: 700;
  font-size: 0.92rem;
  color: var(--ink-soft);
  position: relative;
  transition: color 0.2s;
}
.nav__links a::after {
  content: "";
  position: absolute; left: 0; bottom: -4px;
  width: 100%; height: 2.5px;
  border-radius: 2px;
  background: var(--sun);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s var(--ease-out);
}
.nav__links a:hover { color: var(--ink); }
.nav__links a:hover::after { transform: scaleX(1); }
.nav__burger { display: none; flex-direction: column; gap: 5px; padding: 0.6rem; }
.nav__burger span { width: 22px; height: 2.5px; border-radius: 2px; background: var(--ink); transition: transform .3s var(--ease-out), opacity .3s; }
.nav__burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.nav__burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav__burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

/* ── Hero ────────────────────────────────────────────── */
.hero {
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-top: 7rem;
  padding-bottom: 3rem;
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(50rem 32rem at 84% -12%, rgba(255, 194, 31, 0.3), transparent 60%),
    radial-gradient(42rem 26rem at -12% 108%, rgba(31, 143, 214, 0.16), transparent 60%),
    var(--paper);
}
.hero__grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 3rem;
  align-items: center;
}
.hero__title {
  font-family: var(--font-display);
  font-variation-settings: "SOFT" 100, "opsz" 144;
  font-weight: 620;
  font-size: clamp(2.9rem, 7vw, 5.3rem);
  line-height: 1.02;
  letter-spacing: -0.015em;
  margin-bottom: 1.4rem;
}
.hero__title .line { display: block; }
.hero__title .line--sky { color: var(--sky); font-style: italic; font-variation-settings: "SOFT" 100, "opsz" 144, "WONK" 1; }
.hero__title .word {
  display: inline-block;
  opacity: 0;
  transform: translateY(0.6em) rotate(2deg);
  animation: word-in 0.8s var(--ease-out) forwards;
  animation-delay: calc(var(--i) * 90ms + 1.05s);
}
@keyframes word-in { to { opacity: 1; transform: none; } }
.hero__sub { max-width: 45ch; color: var(--ink-soft); font-size: 1.15rem; margin-bottom: 2rem; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 0.9rem; margin-bottom: 2rem; }
.hero__award {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.9rem;
  color: var(--ink-soft);
  background: #fff;
  border: 1.5px dashed var(--sun-deep);
  padding: 0.5rem 1rem;
  border-radius: 999px;
}
.hero__award strong { color: var(--ink); }

.hero__collage { position: relative; height: clamp(420px, 46vw, 560px); }
.collage__card {
  position: absolute;
  border-radius: var(--radius);
  background: #fff;
  padding: 10px 10px 14px;
  box-shadow: var(--shadow);
  transition: transform 0.5s var(--ease-out);
}
.collage__card img {
  border-radius: calc(var(--radius) - 8px);
  object-fit: cover;
  width: 100%; height: 100%;
}
.collage__card figcaption { text-align: center; padding-top: 6px; font-size: 1.2rem; }
.collage__card--a { width: 54%; height: 62%; top: 0; left: 3%; rotate: -4deg; z-index: 2; }
.collage__card--b { width: 44%; height: 54%; top: 26%; right: 0; rotate: 3.5deg; z-index: 3; }
.collage__card--c { width: 40%; height: 42%; bottom: 0; left: 12%; rotate: 2deg; z-index: 1; }
.collage__card:hover { transform: translateY(-8px) rotate(0deg) scale(1.02); z-index: 5; }
.collage__chip {
  position: absolute;
  top: 57%; left: -4%;
  z-index: 4;
  background: var(--sun);
  border-radius: 18px;
  padding: 0.8rem 1.1rem;
  text-align: center;
  rotate: -6deg;
  box-shadow: var(--shadow);
  animation: bob 5s ease-in-out infinite;
}
.collage__chip strong { display: block; font-family: var(--font-display); font-size: 2rem; font-weight: 700; line-height: 1; color: var(--ink); }
.collage__chip span { font-size: 0.78rem; font-weight: 800; color: var(--ink); }
@keyframes bob { 0%, 100% { translate: 0 0; } 50% { translate: 0 -10px; } }

.hero__doodles { position: absolute; inset: 0; pointer-events: none; }
.doodle { position: absolute; will-change: transform; }
.doodle--sun { width: clamp(60px, 7vw, 96px); top: 11%; right: 6%; animation: spin 40s linear infinite; }
.doodle--kite { width: clamp(56px, 6vw, 84px); top: 20%; left: 40%; animation: bob 6s ease-in-out infinite; }
.doodle--star { width: clamp(36px, 4vw, 56px); bottom: 17%; left: 4%; animation: bob 7s 1s ease-in-out infinite; }
.doodle--plane { width: clamp(80px, 9vw, 130px); bottom: 9%; right: 22%; opacity: .85; }
@keyframes spin { to { transform: rotate(360deg); } }

.hero__scrollcue {
  position: absolute;
  bottom: 1.6rem; left: 50%;
  translate: -50% 0;
  width: 26px; height: 42px;
  border: 2.5px solid var(--ink-soft);
  border-radius: 14px;
  opacity: 0.5;
}
.hero__scrollcue span {
  position: absolute;
  top: 7px; left: 50%;
  width: 4px; height: 8px;
  translate: -50% 0;
  border-radius: 4px;
  background: var(--ink-soft);
  animation: cue 1.8s ease-in-out infinite;
}
@keyframes cue { 0% { transform: translateY(0); opacity: 1; } 70% { transform: translateY(14px); opacity: 0; } 100% { opacity: 0; } }

/* ── Marquee ─────────────────────────────────────────── */
.marquee {
  overflow: hidden;
  background: var(--sky);
  color: var(--paper);
  padding-block: 0.9rem;
  rotate: -1deg;
  scale: 1.02 1;
  position: relative;
  z-index: 2;
}
.marquee__track {
  display: flex;
  align-items: center;
  gap: 2.2rem;
  width: max-content;
  animation: marquee 32s linear infinite;
}
.marquee__track span {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.15rem;
  white-space: nowrap;
}
.marquee__track i { font-style: normal; color: var(--sun); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ── About ───────────────────────────────────────────── */
.about__grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(2rem, 6vw, 5rem);
  align-items: center;
}
.about__photos { position: relative; min-height: 480px; }
.polaroid {
  position: absolute;
  background: #fff;
  padding: 12px 12px 16px;
  border-radius: 14px;
  box-shadow: var(--shadow);
  transition: transform .5s var(--ease-out);
}
.polaroid img { border-radius: 8px; object-fit: cover; width: 100%; height: 100%; }
.polaroid figcaption { text-align: center; padding-top: 8px; }
.polaroid--1 { width: 74%; height: 62%; top: 0; left: 0; rotate: -3deg; }
.polaroid--2 { width: 60%; height: 50%; bottom: 0; right: 0; rotate: 4deg; z-index: 2; }
.polaroid:hover { transform: scale(1.03) rotate(0); z-index: 3; }

.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  list-style: none;
  margin-top: 2.2rem;
  padding-top: 1.8rem;
  border-top: 1.5px dashed rgba(31, 143, 214, 0.4);
}
.stats strong {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(1.7rem, 2.6vw, 2.4rem);
  font-weight: 640;
  color: var(--sky);
  line-height: 1.1;
}
.stats span { font-size: 0.85rem; color: var(--ink-soft); font-weight: 700; }

/* ── The Summer Way (two cards) ──────────────────────── */
.way__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.6rem; }
.way__card {
  border-radius: var(--radius);
  padding: 2.4rem;
  position: relative;
  overflow: hidden;
  transition: transform .5s var(--ease-out), box-shadow .5s var(--ease-out);
}
.way__card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.way__card--freedom { background: var(--paper-blue); border: 1.5px solid rgba(31, 143, 214, .25); }
.way__card--skills { background: #fff4ec; border: 1.5px solid rgba(239, 74, 52, .2); }
.way__icon { width: 56px; height: 56px; margin-bottom: 1.2rem; }
.way__card h3 { font-family: var(--font-display); font-size: 1.5rem; font-weight: 620; margin-bottom: 0.7rem; }
.way__card p { color: var(--ink-soft); margin-bottom: 1.2rem; }
.way__card ul { list-style: none; display: grid; gap: 0.5rem; }
.way__card li { display: flex; align-items: center; gap: 0.6rem; font-weight: 700; font-size: 0.98rem; }
.way__card--freedom li::before { content: "☀️"; }
.way__card--skills li::before { content: "✏️"; }

/* ── Years (pinned horizontal scroll) ────────────────── */
.pinwrap { position: relative; padding-block: clamp(4.5rem, 9vw, 7.5rem); }
.pin { display: block; }
.pin__head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 2rem;
  margin-bottom: 2rem;
}
.pin__hint { rotate: 2deg; white-space: nowrap; }
.pin__viewport { overflow-x: auto; width: 100%; scrollbar-width: none; }
.pin__viewport::-webkit-scrollbar { display: none; }
.pin__track {
  display: flex;
  align-items: stretch;
  gap: 1.4rem;
  width: max-content;
  padding: 1rem max(calc((100vw - 1160px) / 2), 1.5rem) 1.5rem;
  position: relative;
}
.pin__rail { display: none; }
.pin__progress { display: none; }

.pinwrap.pinned { padding-block: 0; }
.pinwrap.pinned .pin {
  position: sticky;
  top: 0;
  height: 100vh;
  min-height: 640px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  overflow: hidden;
  padding-block: 2.5rem;
}
.pinwrap.pinned .pin__viewport { overflow: hidden; }
.pinwrap.pinned .pin__track { will-change: transform; padding-bottom: 0; }
.pinwrap.pinned .pin__rail {
  display: block;
  position: absolute;
  top: 50%; left: 0; right: 0;
  height: 3px;
  background: repeating-linear-gradient(to right, var(--sun) 0 10px, transparent 10px 20px);
  z-index: 0;
}
.pinwrap.pinned .pin__progress {
  display: block;
  width: min(1160px, 100% - 3rem);
  margin: 1.8rem auto 0;
  height: 6px;
  border-radius: 6px;
  background: rgba(31, 143, 214, 0.15);
  overflow: hidden;
}
.pinwrap.pinned .pin__progress span { display: block; height: 100%; width: 0; border-radius: 6px; background: var(--sky); }

.year {
  flex: 0 0 clamp(250px, 27vw, 320px);
  background: #fff;
  border-radius: var(--radius);
  padding: 2rem 1.8rem;
  border-top: 8px solid var(--accent);
  box-shadow: 0 10px 30px -18px rgba(31, 47, 77, 0.4);
  transition: transform 0.45s var(--ease-out), box-shadow .45s var(--ease-out);
  position: relative;
  z-index: 1;
  overflow: hidden;
}
.year:hover { transform: translateY(-10px) rotate(-1deg); box-shadow: var(--shadow); }
.year__step {
  position: absolute;
  right: 0.8rem; bottom: -0.7rem;
  font-family: var(--font-display);
  font-size: 3.6rem;
  font-weight: 700;
  color: var(--accent);
  opacity: 0.16;
  line-height: 1;
}
.year--cta {
  border-top-color: var(--sun);
  background: var(--ink);
  color: var(--paper);
  display: flex; flex-direction: column; justify-content: center; gap: 1rem;
}
.year--cta h3 { color: var(--paper); }
.year--cta p { color: rgba(255, 253, 246, 0.82); }
.year--cta .btn { align-self: flex-start; }
.year__age {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: color-mix(in srgb, var(--accent) 20%, white);
  color: var(--ink);
  border-radius: 999px;
  padding: 0.3rem 0.8rem;
  margin-bottom: 1.1rem;
}
.year h3 { font-family: var(--font-display); font-size: 1.7rem; font-weight: 640; }
.year__tag { font-family: var(--font-hand); font-size: 1.3rem; color: var(--tomato); margin-bottom: 0.7rem; }
.year p:last-of-type { color: var(--ink-soft); font-size: 0.98rem; }

/* ── Curriculum flashcards ───────────────────────────── */
.cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.1rem; }
.card { perspective: 900px; height: 168px; border-radius: 18px; text-align: left; position: relative; }
.card__face {
  position: absolute; inset: 0;
  display: flex; flex-direction: column; justify-content: flex-end; gap: 0.4rem;
  padding: 1.1rem 1.2rem;
  border-radius: 18px;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  transition: transform 0.7s var(--ease-out);
}
.card__front {
  background: #fff;
  border: 1.5px solid rgba(31, 47, 77, 0.1);
  border-bottom: 5px solid var(--accent);
  font-family: var(--font-display);
  font-size: 1.16rem;
  font-weight: 620;
  box-shadow: 0 6px 18px -12px rgba(31, 47, 77, 0.3);
}
.card__front i { font-style: normal; font-size: 1.9rem; margin-bottom: auto; }
.card__back {
  background: var(--accent);
  color: #fff;
  font-size: 0.92rem;
  line-height: 1.45;
  justify-content: center;
  transform: rotateY(180deg);
}
.card:hover .card__front, .card.flipped .card__front, .card:focus-visible .card__front { transform: rotateY(180deg); }
.card:hover .card__back, .card.flipped .card__back, .card:focus-visible .card__back { transform: rotateY(360deg); }

/* ── Activities (ink section) ────────────────────────── */
.acts { display: grid; grid-template-columns: repeat(6, 1fr); gap: 1.2rem; margin-top: 2.6rem; }
.act {
  grid-column: span 2;
  display: flex; flex-direction: column;
  border-radius: var(--radius);
  overflow: hidden;
  background: #2a3c5f;
  text-decoration: none;
  transition: transform 0.45s var(--ease-out), box-shadow .45s var(--ease-out);
}
.act:nth-child(4) { grid-column: 2 / span 2; }
.act:hover { transform: translateY(-8px); box-shadow: 0 22px 44px -20px rgba(0, 0, 0, 0.55); }
.act img { height: 210px; width: 100%; object-fit: cover; transition: transform 0.6s var(--ease-out); }
.act:hover img { transform: scale(1.06); }
.act__body { padding: 1.3rem 1.4rem 1.5rem; }
.act h3 { font-family: var(--font-display); font-size: 1.35rem; font-weight: 620; color: var(--sun); margin-bottom: 0.35rem; }
.act p { font-size: 0.92rem; color: rgba(255, 253, 246, 0.78); margin-bottom: 0.8rem; }
.act__go { font-weight: 800; font-size: 0.9rem; color: var(--paper); opacity: 0.85; }
.act:hover .act__go { color: var(--sun); }

/* ── Day timeline ────────────────────────────────────── */
.day__grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: clamp(2.5rem, 6vw, 5rem); align-items: center; }
.timeline { list-style: none; margin-top: 2rem; position: relative; }
.timeline::before {
  content: "";
  position: absolute;
  left: 74px; top: 10px; bottom: 10px;
  width: 2.5px;
  background: repeating-linear-gradient(to bottom, var(--sky-soft) 0 8px, transparent 8px 16px);
}
.timeline li { display: grid; grid-template-columns: 60px 1fr; gap: 2rem; padding-block: 0.9rem; position: relative; }
.timeline li::before {
  content: "";
  position: absolute;
  left: 68.5px; top: 1.55rem;
  width: 13px; height: 13px;
  border-radius: 50%;
  background: var(--sun);
  border: 3px solid var(--paper);
  box-shadow: 0 0 0 2.5px var(--sky);
}
.timeline time { font-family: var(--font-display); font-weight: 640; font-size: 1.1rem; color: var(--sky); text-align: right; padding-right: 0.5rem; }
.timeline h3 { font-size: 1.08rem; font-weight: 800; }
.timeline p { color: var(--ink-soft); font-size: 0.95rem; }
.day__photo {
  position: relative;
  border-radius: var(--radius);
  background: #fff;
  padding: 12px 12px 18px;
  box-shadow: var(--shadow);
  rotate: 2deg;
}
.day__photo img { border-radius: calc(var(--radius) - 8px); width: 100%; height: 520px; object-fit: cover; }
.day__photo figcaption { text-align: center; padding-top: 10px; font-size: 1.4rem; }

/* ── Why bento ───────────────────────────────────────── */
.bento { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2rem; margin-top: 2.6rem; }
.bento__cell {
  border-radius: var(--radius);
  background: #fff;
  border: 1.5px solid rgba(31, 47, 77, 0.08);
  box-shadow: 0 10px 26px -18px rgba(31, 47, 77, 0.35);
  overflow: hidden;
  display: flex; flex-direction: column;
  transition: transform 0.45s var(--ease-out);
}
.bento__cell:hover { transform: translateY(-6px); }
.bento__cell img { width: 100%; height: 210px; object-fit: cover; transition: transform 0.6s var(--ease-out); }
.bento__cell:hover img { transform: scale(1.05); }
.bento__label { padding: 1.4rem 1.8rem 1.8rem; }
.bento__label h3 { font-family: var(--font-display); font-size: 1.3rem; font-weight: 620; margin-bottom: 0.3rem; display: flex; align-items: center; gap: 0.55rem; }
.bento__label p { color: var(--ink-soft); font-size: 0.95rem; }
.bento__badge {
  display: grid; place-items: center;
  width: 34px; height: 34px; flex: none;
  font-size: 1.05rem;
  border-radius: 50%;
  background: var(--paper-tint);
  border: 1.5px solid var(--sun);
}
.bento__langs { display: flex; gap: 0.5rem; flex-wrap: wrap; margin-bottom: 0.4rem; }
.bento__langs span {
  font-weight: 800; font-size: 0.85rem;
  padding: 0.25rem 0.75rem; border-radius: 999px;
  background: var(--paper-blue); border: 1.5px solid var(--sky-soft);
}

/* ── Quote ───────────────────────────────────────────── */
.quote__inner { max-width: 800px; text-align: center; position: relative; margin-inline: auto; }
.quote__mark { width: 64px; margin-inline: auto; margin-bottom: 1rem; }
.quote blockquote p {
  font-family: var(--font-display);
  font-style: italic;
  font-variation-settings: "SOFT" 100;
  font-size: clamp(1.3rem, 2.4vw, 1.85rem);
  line-height: 1.45;
  margin-bottom: 1.4rem;
}
.quote cite { font-style: normal; font-weight: 800; color: var(--sky); }

/* ── Enrol CTA ───────────────────────────────────────── */
.enrol__panel {
  position: relative;
  background: var(--sun);
  border-radius: 34px;
  padding: clamp(2.5rem, 6vw, 4.5rem);
  text-align: center;
  overflow: hidden;
  box-shadow: 0 30px 60px -30px rgba(246, 167, 13, 0.6);
}
.enrol__rays { position: absolute; inset: 0; opacity: 0.16; pointer-events: none; }
.enrol__panel > * { position: relative; }
.enrol__panel h2 {
  font-family: var(--font-display);
  font-variation-settings: "SOFT" 100, "opsz" 144;
  font-size: clamp(2.4rem, 6vw, 4.4rem);
  font-weight: 640;
  line-height: 1.02;
  margin-block: 0.6rem 0.8rem;
  color: var(--ink);
}
.enrol__panel h2 em { font-style: italic; color: var(--tomato); }
.enrol__date { font-family: var(--font-hand); font-size: 1.6rem; color: var(--sky-deep); margin-bottom: 1.4rem; }
.enrol__perks {
  list-style: none;
  display: flex; flex-wrap: wrap; justify-content: center; gap: 0.8rem;
  margin-bottom: 2rem;
}
.enrol__perks li {
  background: rgba(255, 253, 246, 0.8);
  border: 1.5px solid rgba(31, 47, 77, 0.15);
  border-radius: 999px;
  padding: 0.55rem 1.2rem;
  font-size: 0.95rem;
  color: var(--ink);
}
.enrol__perks strong { color: var(--tomato); }
.enrol__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 1rem; }
.enrol__hand { margin-top: 1.6rem; font-size: 1.5rem; color: var(--ink); display: inline-block; }

/* ── Footer ──────────────────────────────────────────── */
.footer { background: var(--ink); color: var(--paper); padding-top: 4.5rem; }
.footer__grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1fr; gap: 2.5rem; padding-bottom: 3rem; }
.footer__brand img { width: 64px; height: 64px; border-radius: 14px; background: var(--paper); padding: 6px; }
.footer__name { font-family: var(--font-display); font-size: 1.3rem; font-weight: 620; margin-block: 1rem 0.5rem; }
.footer__legal { font-size: 0.82rem; color: rgba(255, 253, 246, 0.55); }
.footer__col h3 { font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.12em; color: var(--sun); margin-bottom: 0.9rem; }
.footer__col p, .footer__col address { font-style: normal; font-size: 0.98rem; color: rgba(255, 253, 246, 0.85); line-height: 1.7; }
.footer__col a { text-decoration: none; }
.footer__col a:hover { color: var(--sun); }
.footer__social { display: flex; gap: 0.8rem; margin-top: 1rem; }
.footer__social a {
  display: grid; place-items: center;
  width: 40px; height: 40px; border-radius: 50%;
  border: 1.5px solid rgba(255, 253, 246, 0.3);
  transition: background 0.25s, transform 0.35s var(--ease-out);
}
.footer__social a:hover { background: var(--sky); transform: translateY(-3px); }
.footer__social svg { width: 20px; height: 20px; }
.footer__mapwrap {
  display: grid; grid-template-columns: 0.85fr 1.15fr; gap: 2.5rem; align-items: center;
  padding: 2.6rem 0 3.4rem;
  border-top: 1px solid rgba(255, 253, 246, 0.14);
}
.footer__maplabel h3 { font-family: var(--font-display); font-size: 1.7rem; font-weight: 620; margin-block: 0.3rem 0.7rem; }
.footer__maplabel p { color: rgba(255, 253, 246, 0.75); font-size: 0.98rem; margin-bottom: 1.3rem; max-width: 40ch; }
.footer__mapframe {
  border-radius: var(--radius);
  overflow: hidden;
  border: 3px solid rgba(255, 253, 246, 0.14);
  box-shadow: var(--shadow);
  line-height: 0;
}
.footer__mapframe iframe { width: 100%; height: 320px; border: 0; display: block; filter: saturate(1.05); }
.footer__base {
  display: flex; justify-content: space-between; align-items: center; gap: 1rem; flex-wrap: wrap;
  padding-block: 1.4rem;
  border-top: 1px solid rgba(255, 253, 246, 0.14);
  font-size: 0.88rem;
  color: rgba(255, 253, 246, 0.6);
}
.footer__top { text-decoration: none; font-weight: 800; color: var(--sun); }

/* ── Reveal on scroll ────────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(34px);
  transition: opacity 0.9s var(--ease-out), transform 0.9s var(--ease-out);
  transition-delay: var(--d, 0s);
}
.reveal.in { opacity: 1; transform: none; }

/* ── Responsive ──────────────────────────────────────── */
@media (max-width: 1024px) {
  .hero__grid { grid-template-columns: 1fr; gap: 3.5rem; }
  .hero { padding-top: 8.5rem; min-height: 0; }
  .hero__collage { height: clamp(380px, 60vw, 520px); max-width: 620px; }
  .cards { grid-template-columns: repeat(3, 1fr); }
  .acts { grid-template-columns: repeat(2, 1fr); }
  .act, .act:nth-child(4) { grid-column: span 1; }
  .bento { grid-template-columns: repeat(2, 1fr); }
  .day__grid { grid-template-columns: 1fr; }
  .day__photo { max-width: 520px; }
  .day__photo img { height: 400px; }
  .about__grid { grid-template-columns: 1fr; }
  .about__photos { min-height: 420px; max-width: 560px; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 720px) {
  body { font-size: 1rem; }
  .nav__links {
    position: absolute;
    top: calc(100% + 10px); left: 0; right: 0;
    flex-direction: column; gap: 0;
    background: var(--paper);
    border-radius: 22px;
    border: 1px solid rgba(31, 47, 77, 0.08);
    box-shadow: var(--shadow);
    padding: 0.6rem;
    opacity: 0; visibility: hidden; transform: translateY(-8px);
    transition: opacity .3s var(--ease-out), transform .3s var(--ease-out), visibility .3s;
  }
  .nav__links.open { opacity: 1; visibility: visible; transform: none; }
  .nav__links a { padding: 0.8rem 1.2rem; border-radius: 14px; }
  .nav__links a:hover { background: var(--paper-tint); }
  .nav__links a::after { display: none; }
  .nav__cta { display: none; }
  .nav__burger { display: flex; margin-left: auto; }
  .way__grid { grid-template-columns: 1fr; }
  .cards { grid-template-columns: repeat(2, 1fr); }
  .card { height: 178px; }
  .acts { grid-template-columns: 1fr; }
  .stats { grid-template-columns: repeat(2, 1fr); gap: 1.4rem; }
  .timeline::before { left: 66px; }
  .timeline li { grid-template-columns: 52px 1fr; gap: 1.6rem; }
  .timeline li::before { left: 60.5px; }
  .bento { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr; gap: 2rem; }
  .footer__mapwrap { grid-template-columns: 1fr; gap: 1.6rem; }
  .footer__mapframe iframe { height: 260px; }
  .pin__head { flex-direction: column; align-items: flex-start; gap: 0.5rem; }
  .hero__scrollcue { display: none; }
}

/* ── Reduced motion ──────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; }
  .hero__title .word { opacity: 1; transform: none; }
  .marquee__track { animation: none; }
}

/* ═══════════ Enhancements: classier texture + motion ═══════════ */
.sa-progress{position:fixed;top:0;left:0;height:3px;width:100%;transform-origin:0 50%;transform:scaleX(var(--p,0));background:linear-gradient(90deg,var(--sun),var(--tomato),var(--sky));z-index:60;}
.sa-grain{position:fixed;inset:0;z-index:3;pointer-events:none;opacity:.045;mix-blend-mode:multiply;
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='2'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");}
.collage__card,.bento__cell,.polaroid{will-change:transform;}
.btn{will-change:transform;}
/* classier hero title: subtle tracking + optical polish */
.hero__title{font-optical-sizing:auto;}
.section__title em{font-optical-sizing:auto;}
