/* Spleng School & Kindergarten
   Colours come from the admissions banner and the painted school building.
   Change a token here and it updates across the whole site. */
:root {
  --brown-900: #3a2415;
  --brown: #5a3a22;
  --brown-500: #7a5a42;
  --gold: #e0b382;
  --gold-soft: #f5e6d3;
  --cream: #fbf8f3;
  --sand: #f3eadc;
  --sky: #6dbbea;
  --sky-soft: #dcEffb;
  --pink: #e6508c;
  --green: #5db13a;
  --orange: #f0801f;
  --blue: #1f5fbf;
  --whatsapp: #128c4f;
  --line: #e6dac6;

  --font-head: "Barlow Condensed", "Arial Narrow", Arial, sans-serif;
  --font-body: "Figtree", system-ui, -apple-system, "Segoe UI", sans-serif;

  --wrap: 1180px;
  --gutter: 16px;
  --section: clamp(3.5rem, 8vw, 6.5rem);
  --radius: 6px;
  --header-h: 68px;
}

@media (min-width: 768px) { :root { --gutter: 32px; } }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
  margin: 0;
  background: var(--cream);
  color: var(--brown-900);
  font: 400 1.0625rem/1.65 var(--font-body);
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; height: auto; }
a { color: var(--brown); text-underline-offset: 3px; }
a:hover { color: var(--brown-900); }
ul, ol { margin: 0; padding: 0; list-style: none; }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 2px; border-radius: 2px; }

h1, h2, h3 {
  margin: 0 0 .4em;
  font-family: var(--font-head);
  font-weight: 700;
  line-height: 1.02;
  letter-spacing: -.005em;
  text-wrap: balance;
}
h1 { font-size: clamp(3rem, 8.4vw, 5.75rem); }
h2 { font-size: clamp(2.25rem, 5vw, 3.5rem); }
h3 { font-size: 1.75rem; line-height: 1.1; }

.wrap { width: min(100% - 2 * var(--gutter), var(--wrap)); margin-inline: auto; }
.section { padding-block: var(--section); }
.section--sand { background: var(--sand); }
.section--sky { background: var(--sky-soft); }
.eyebrow {
  margin: 0 0 .75rem;
  font: 600 .9375rem/1.3 var(--font-body);
  color: var(--brown-500);
}
.lead { font-size: clamp(1.125rem, 2vw, 1.3125rem); line-height: 1.55; max-width: 38em; }
.feature__sub, .card .card__sub { margin-bottom: .6rem; font-weight: 600; color: var(--brown-500); }
.checklist + .btn, .checklist + .btn-row { margin-top: 1.25rem; }
.section__head { max-width: 44rem; margin-bottom: clamp(2rem, 4vw, 3.25rem); }
.skip {
  position: absolute; left: 8px; top: -60px; z-index: 100;
  padding: .6rem 1rem; background: var(--brown-900); color: #fff; border-radius: var(--radius);
}
.skip:focus { top: 8px; color: #fff; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  min-height: 50px; padding: .6rem 1.35rem;
  border: 2px solid transparent; border-radius: var(--radius);
  font: 600 1.0625rem/1.2 var(--font-body);
  text-decoration: none; cursor: pointer;
  transition: background-color .15s, color .15s, border-color .15s, transform .15s;
}
.btn:active { transform: translateY(1px); }
.btn svg { width: 20px; height: 20px; flex: none; fill: currentColor; }
.btn--gold { background: var(--gold); color: var(--brown-900); }
.btn--gold:hover { background: #ebc69c; color: var(--brown-900); }
.btn--whatsapp { background: var(--whatsapp); color: #fff; }
.btn--whatsapp:hover { background: #0e7a44; color: #fff; }
.btn--line { border-color: var(--brown); color: var(--brown-900); background: transparent; }
.btn--line:hover { background: var(--brown); color: #fff; }
.btn--light { border-color: rgba(255,255,255,.65); color: #fff; background: transparent; }
.btn--light:hover { background: #fff; color: var(--brown-900); }
.btn-row { display: flex; flex-wrap: wrap; gap: .75rem; }

/* Pencil row, echoing the building */
.pencils { height: 40px; background: url(../img/pencils.svg) center bottom / 196px 40px repeat-x; }

/* Header */
.header { position: sticky; top: 0; z-index: 50; background: var(--cream); border-bottom: 1px solid var(--line); }
.header__bar { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: var(--header-h); }
.brand { display: flex; align-items: center; gap: .65rem; text-decoration: none; color: var(--brown-900); }
.brand__logo { width: 54px; height: 54px; flex: none; }
.footer .brand__logo { width: 76px; height: 76px; }
.brand__text { display: flex; flex-direction: column; line-height: 1; }
.brand__text strong { font: 700 1.5rem/1 var(--font-head); }
.brand__text small { font-size: .75rem; font-weight: 500; color: var(--brown-500); margin-top: 2px; }

.menu-toggle {
  display: inline-flex; align-items: center; gap: .5rem; min-height: 44px; padding: 0 .85rem;
  background: none; border: 1.5px solid var(--brown); border-radius: var(--radius);
  font: 600 1rem var(--font-body); color: var(--brown-900); cursor: pointer;
}
.nav { display: none; padding-bottom: 1rem; }
.nav.is-open { display: block; }
.nav a {
  display: block; padding: .8rem .25rem; border-bottom: 1px solid var(--line);
  font-weight: 500; text-decoration: none; color: var(--brown-900);
}
.nav a[aria-current="page"] { font-weight: 700; }
.nav a.btn { display: flex; margin-top: 1rem; width: 100%; border-bottom: 0; }

@media (max-width: 1099px) {
  .header__bar { flex-wrap: wrap; }
  .nav { flex-basis: 100%; }
  .no-js .nav { display: block; }
  .no-js .menu-toggle { display: none; }
}
@media (min-width: 1100px) {
  .menu-toggle { display: none; }
  .nav, .nav.is-open { display: flex; align-items: center; gap: 1.5rem; padding: 0; }
  .nav a { padding: .4rem 0; border: 0; border-bottom: 3px solid transparent; font-size: 1rem; }
  .nav a:hover { border-bottom-color: var(--gold); }
  .nav a[aria-current="page"] { border-bottom-color: var(--gold); }
  .nav a.btn { display: inline-flex; margin: 0 0 0 .25rem; width: auto; padding: .5rem 1.1rem; min-height: 44px; border: 2px solid transparent; }
  .nav a.btn:hover { border-color: transparent; }
}

/* Home hero */
.hero { padding-top: clamp(2rem, 5vw, 4rem); overflow: hidden; }
.hero__grid { display: grid; gap: 2.5rem; padding-bottom: clamp(2.5rem, 5vw, 4rem); }
.hero__copy .lead { margin-bottom: 1.75rem; }
.hero__mosaic {
  display: grid; gap: 10px;
  grid-template-columns: repeat(6, 1fr);
  grid-template-rows: auto auto;
}
.hero__mosaic img { width: 100%; height: 100%; object-fit: cover; border-radius: var(--radius); }
.hero__mosaic .m1 { grid-column: 1 / -1; aspect-ratio: 4 / 3; }
.hero__mosaic .m2 { grid-column: 1 / -1; height: 190px; object-position: 50% 58%; }
@media (min-width: 560px) { .hero__mosaic .m2 { height: 240px; } }
@media (min-width: 980px) {
  .hero__grid { grid-template-columns: minmax(0, 1.02fr) minmax(0, 1fr); align-items: center; gap: 4rem; }
}

/* Facts */
.facts { background: var(--brown-900); color: #fff; }
.facts dl { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.5rem 1rem; margin: 0; padding-block: 1.75rem; }
.facts dt { font-size: .875rem; color: var(--gold); font-weight: 600; }
.facts dd { margin: .15rem 0 0; font: 600 1.5rem/1.1 var(--font-head); }
@media (min-width: 768px) { .facts dl { grid-template-columns: repeat(4, 1fr); } .facts dd { font-size: 1.75rem; } }

/* Stair of school levels */
.stairs { display: grid; gap: 2.25rem; }
.step img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius); }
.step__tag { display: block; margin-top: 1rem; font-weight: 600; font-size: .9375rem; color: var(--brown-500); }
.step h3 { margin: .1rem 0 .35rem; font-size: 2.1rem; }
.step { border-top: 6px solid var(--gold); padding-top: 12px; }
.step:nth-child(2) { border-top-color: var(--pink); }
.step:nth-child(3) { border-top-color: var(--blue); }
.step:nth-child(4) { border-top-color: var(--green); }
@media (min-width: 768px) { .stairs { grid-template-columns: repeat(2, 1fr); gap: 2.25rem 1.5rem; } }
@media (min-width: 1000px) {
  .stairs { grid-template-columns: repeat(4, 1fr); align-items: start; }
  .step:nth-child(1) { margin-top: 8.25rem; }
  .step:nth-child(2) { margin-top: 5.5rem; }
  .step:nth-child(3) { margin-top: 2.75rem; }
}

/* Photo beside text */
.feature { display: grid; gap: 1.75rem; align-items: center; }
.feature + .feature { margin-top: clamp(3rem, 7vw, 5.5rem); }
.feature h2, .feature h3 { font-size: clamp(2.1rem, 4.4vw, 3.1rem); }
.frame { position: relative; margin: 0 10px 10px 0; }
.frame::before {
  content: ""; position: absolute; inset: 10px -10px -10px 10px;
  background: var(--accent, var(--gold)); border-radius: var(--radius);
}
.frame img { position: relative; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius); }
@media (min-width: 860px) {
  .feature { grid-template-columns: 1fr 1fr; gap: 4rem; }
  .feature--flip .frame { order: 2; }
}

/* Wall slogans */
.wall { display: grid; gap: 1.75rem; }
.wall__photo img { width: 100%; aspect-ratio: 16 / 8.4; object-fit: cover; object-position: 50% 38%; border-radius: var(--radius); }
.wall__text { display: grid; gap: 1rem 4rem; }
.wall__text blockquote { margin: 0; font: 700 clamp(2.5rem, 6.5vw, 4.5rem)/1 var(--font-head); }
@media (min-width: 860px) { .wall__text { grid-template-columns: 1fr 1fr; align-items: end; } }

/* Photo strip */
.strip { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.strip a { position: relative; display: block; overflow: hidden; border-radius: var(--radius); color: #fff; text-decoration: none; }
.strip img { width: 100%; aspect-ratio: 1; object-fit: cover; transition: transform .35s ease; }
.strip a:hover img { transform: scale(1.04); }
.strip span {
  position: absolute; inset: auto 0 0 0; padding: 2.5rem .85rem .7rem;
  background: linear-gradient(transparent, rgba(30,18,10,.82));
  font: 600 1.375rem/1.05 var(--font-head);
}
@media (min-width: 768px) { .strip { grid-template-columns: repeat(4, 1fr); } }

/* Dark bands */
.band { background: var(--brown); color: #fff; }
.band h2 { color: #fff; }
.band a:not(.btn) { color: var(--gold); }
.band__grid { display: grid; gap: 1.5rem 4rem; }
.band .eyebrow { color: var(--gold); }
@media (min-width: 860px) { .band__grid { grid-template-columns: 1.15fr 1fr; align-items: center; } }

/* Interior page header */
.page-head { background: var(--sky-soft); }
.page-head__inner { padding-block: clamp(2.5rem, 7vw, 5rem) clamp(1.75rem, 4vw, 3rem); }
.page-head h1 { font-size: clamp(2.9rem, 7.4vw, 5rem); }

/* Motto and vision */
.creed { display: grid; gap: 2.25rem 4rem; margin-bottom: clamp(2.5rem, 5vw, 4rem); }
.creed__motto { display: grid; gap: 1.25rem; }
.creed__crest { width: 136px; height: 136px; }
.creed__motto h2 { margin-bottom: .2rem; font-size: clamp(3.5rem, 8vw, 4.75rem); }
.creed__vision h2 { margin-bottom: 0; font-size: clamp(2rem, 3.6vw, 2.75rem); line-height: 1.08; }
@media (min-width: 620px) {
  .creed__motto { grid-template-columns: auto 1fr; align-items: center; gap: 1.75rem; }
  .creed__crest { width: 160px; height: 160px; }
}
@media (min-width: 1100px) {
  .creed { grid-template-columns: 1.2fr 1fr; align-items: center; }
  .creed__motto h2 { font-size: 4.25rem; }
}

/* Numbered lists and detail rows */
.pillars { display: grid; gap: 1.75rem; counter-reset: p; }
.pillars li { counter-increment: p; border-top: 2px solid var(--brown-900); padding-top: .85rem; }
.pillars li::before { content: counter(p, decimal-leading-zero); font: 700 1.125rem var(--font-head); color: var(--brown-500); }
.pillars h3 { margin: .15rem 0 .35rem; }
@media (min-width: 768px) { .pillars { grid-template-columns: repeat(3, 1fr); gap: 2.5rem; } }

.level { display: grid; gap: 1.5rem; padding-block: 2.25rem; border-top: 2px solid var(--brown-900); }
.level:last-child { padding-bottom: 0; }
.level h2 { margin-bottom: .1rem; }
.level__meta { font-weight: 600; color: var(--brown-500); margin-bottom: .85rem; }
.level img { width: 100%; aspect-ratio: 16 / 11; object-fit: cover; border-radius: var(--radius); }
@media (min-width: 860px) { .level { grid-template-columns: 1fr 1fr; gap: 4rem; align-items: start; } }

.steps { display: grid; gap: 1.5rem; counter-reset: s; }
.steps li { position: relative; counter-increment: s; padding-left: 3.75rem; min-height: 2.75rem; }
.steps li::before {
  content: counter(s); position: absolute; left: 0; top: 0;
  display: grid; place-items: center; width: 2.75rem; height: 2.75rem; border-radius: 6px;
  background: var(--gold); font: 700 1.5rem/1 var(--font-head);
}
.steps h3 { margin: .1rem 0 .2rem; font-size: 1.5rem; }
@media (min-width: 860px) { .steps { grid-template-columns: repeat(3, 1fr); gap: 2.5rem; } }

.faq details { border-top: 1px solid var(--brown-500); }
.faq details:last-child { border-bottom: 1px solid var(--brown-500); }
.faq summary {
  display: flex; justify-content: space-between; gap: 1rem; align-items: center;
  padding: 1rem 0; font-weight: 600; cursor: pointer; list-style: none;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font: 700 1.75rem/1 var(--font-head); }
.faq details[open] summary::after { content: "\2212"; }
.faq details p { padding-bottom: 1.1rem; max-width: 42em; }

/* Clubs and facilities */
.clubs { display: flex; flex-wrap: wrap; gap: .6rem; }
.clubs li {
  padding: .45rem 1.1rem; border-radius: var(--radius);
  font: 700 clamp(1.5rem, 3.4vw, 2.25rem)/1.15 var(--font-head);
  background: var(--c, var(--gold)); color: var(--t, var(--brown-900));
}
.facilities { display: grid; gap: 0 3rem; }
.facilities li { padding: 1rem 0; border-top: 1px solid var(--brown-500); }
.facilities strong { display: block; font: 700 1.5rem/1.15 var(--font-head); }
@media (min-width: 768px) { .facilities { grid-template-columns: 1fr 1fr; } }

/* Gallery */
.gallery { columns: 2 150px; column-gap: 10px; }
.gallery a { display: block; margin-bottom: 10px; break-inside: avoid; overflow: hidden; border-radius: var(--radius); cursor: zoom-in; }
.gallery img { width: 100%; transition: transform .35s ease; }
.gallery a:hover img { transform: scale(1.03); }
@media (min-width: 768px) { .gallery { columns: 3; } }

.lightbox {
  width: 100vw; height: 100dvh; max-width: none; max-height: none; margin: 0; padding: 0; border: 0;
  background: rgba(24,14,8,.95); color: #fff;
}
.lightbox[open] { display: grid; grid-template-rows: 1fr auto; }
.lightbox__stage { position: relative; display: grid; place-items: center; min-height: 0; padding: 56px 12px 8px; }
.lightbox__stage img { max-width: 100%; max-height: 100%; object-fit: contain; border-radius: 4px; }
.lightbox p { margin: 0; padding: .75rem 16px 1.25rem; text-align: center; }
.lightbox button {
  position: absolute; display: grid; place-items: center; width: 48px; height: 48px;
  background: rgba(255,255,255,.14); color: #fff; border: 0; border-radius: 6px; font-size: 1.6rem; line-height: 1; cursor: pointer;
}
.lightbox button:hover { background: rgba(255,255,255,.28); }
.lightbox__close { top: 6px; right: 12px; }
.lightbox__prev { left: 12px; top: 50%; translate: 0 -50%; }
.lightbox__next { right: 12px; top: 50%; translate: 0 -50%; }

/* Contact and form */
.contact { display: grid; gap: 3rem; align-items: start; }
@media (min-width: 900px) { .contact { grid-template-columns: 1fr 1.1fr; gap: 4.5rem; } }
.contact-list li { padding: 1rem 0; border-top: 1px solid var(--brown-500); }
.contact-list span { display: block; font-size: .9375rem; font-weight: 600; color: var(--brown-500); }
.contact-list a, .contact-list b { font: 700 1.625rem/1.2 var(--font-head); color: var(--brown-900); text-decoration-thickness: 1px; }
.contact-list p { margin: .1rem 0 0; }
.hours { display: grid; grid-template-columns: auto 1fr; gap: .1rem 1.5rem; margin: .3rem 0 0; }
.hours dt { font-weight: 600; } .hours dd { margin: 0; }

.form { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(1.25rem, 3vw, 2.25rem); }
.form h2 { font-size: clamp(2rem, 4vw, 2.75rem); }
.field { margin-bottom: 1.1rem; }
.field label { display: block; margin-bottom: .3rem; font-weight: 600; font-size: 1rem; }
.field input, .field select, .field textarea {
  width: 100%; min-height: 50px; padding: .65rem .8rem;
  border: 1.5px solid var(--brown-500); border-radius: var(--radius);
  background: #fff; color: var(--brown-900); font: inherit;
}
.field textarea { min-height: 120px; resize: vertical; }
.field-row { display: grid; gap: 0 1rem; }
@media (min-width: 560px) { .field-row { grid-template-columns: 1fr 1fr; } }
.form__note { margin: .9rem 0 0; font-size: .9375rem; color: var(--brown-500); }
.form__status { margin: .9rem 0 0; font-weight: 600; color: var(--whatsapp); }
.form__status:empty { display: none; }

.map { display: block; width: 100%; height: clamp(300px, 45vw, 440px); border: 0; border-radius: var(--radius); background: var(--sand); }

/* Long-form text */
.prose { max-width: 44rem; margin-inline: 0; }
@media (min-width: 900px) { .prose { margin-inline: max(var(--gutter), calc((100% - var(--wrap)) / 2)) auto; } }
.prose h2 { margin: 2.25rem 0 .5rem; font-size: 2rem; }
.prose h2:first-child { margin-top: 0; }
.prose ul { list-style: disc; padding-left: 1.25rem; margin-bottom: 1em; }
.prose li { margin-bottom: .5rem; }
.prose__date { margin-top: 2.25rem; font-size: .9375rem; color: var(--brown-500); }

/* Footer */
.footer { background: var(--brown-900); color: #efe5d6; font-size: 1rem; }
.footer__grid { display: grid; gap: 2.25rem; padding-block: 3.25rem 2.25rem; }
.footer .brand, .footer .brand__text small { color: #fff; }
.footer a { color: #efe5d6; }
.footer a:hover { color: var(--gold); }
.footer h2 { font: 600 .9375rem/1.3 var(--font-body); color: var(--gold); margin-bottom: .6rem; }
.footer li { margin-bottom: .35rem; }
.footer__tag { margin: .9rem 0 0; max-width: 22em; }
.footer__base { padding-block: 1.1rem 5.5rem; border-top: 1px solid rgba(255,255,255,.16); font-size: .9375rem; }
@media (min-width: 768px) {
  .footer__grid { grid-template-columns: 1.5fr 1fr 1.3fr; }
  .footer__base { padding-bottom: 1.1rem; }
}

/* Floating WhatsApp button */
.wa-float {
  position: fixed; right: 16px; bottom: 16px; z-index: 40;
  display: grid; place-items: center; width: 58px; height: 58px; border-radius: 50%;
  background: var(--whatsapp); color: #fff; box-shadow: 0 6px 18px rgba(30,18,10,.32);
}
.wa-float:hover { background: #0e7a44; color: #fff; }
.wa-float svg { width: 30px; height: 30px; fill: currentColor; }

/* Reveal on scroll. Only applies when JS is running. */
.js .reveal { opacity: 0; transform: translateY(14px); transition: opacity .55s ease, transform .55s ease; }
.js .reveal.is-in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
  .js .reveal { opacity: 1; transform: none; }
}
@media print { .header, .wa-float, .pencils { display: none; } }

/* ===== Added Nov 2026: content from docs/ideas.md ===== */

/* Full-width photo hero with a gentle crossfade */
.hero-full { position: relative; display: grid; align-items: end; min-height: clamp(540px, 84vh, 780px); color: #fff; overflow: hidden; background: var(--brown-900); }
.hero-full__slides img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity 1.4s ease; }
.hero-full__slides img.is-active { opacity: 1; }
.hero-full::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(30,18,10,.92) 0%, rgba(30,18,10,.62) 48%, rgba(30,18,10,.18) 85%); pointer-events: none; }
.hero-full__copy { position: relative; z-index: 1; padding-block: 7rem clamp(3.5rem, 7vw, 5rem); }
.hero-full h1 { color: #fff; max-width: 14ch; font-size: clamp(2.75rem, 7.2vw, 5.5rem); text-transform: uppercase; }
.hero-full .lead { max-width: 36em; margin-bottom: 1.75rem; color: #f6ede1; }
.hero-full .eyebrow { color: #ffe4c2; font-weight: 700; }
.hero-full__copy { text-shadow: 0 1px 12px rgba(20,10,4,.55); }
.hero-full__copy .btn { text-shadow: none; }
.hero-full__dots { position: absolute; z-index: 2; right: var(--gutter); bottom: 1rem; display: flex; gap: 2px; }
.hero-full__dots button { width: 32px; height: 32px; padding: 0; border: 0; background: none; cursor: pointer; }
.hero-full__dots button::before { content: ""; display: block; width: 10px; height: 10px; margin: auto; border-radius: 50%; background: rgba(255,255,255,.5); }
.hero-full__dots button[aria-current="true"]::before { background: var(--gold); }
.no-js .hero-full__dots { display: none; }

/* Vision, mission, motto */
.creed-cards { display: grid; gap: 1.25rem; }
.creed-card { background: #fff; border: 1px solid var(--line); border-top: 6px solid var(--c, var(--gold)); border-radius: var(--radius); padding: 1.5rem 1.4rem 1.6rem; }
.creed-card h3 { font-size: 1.5rem; color: var(--brown-500); margin-bottom: .5rem; }
.creed-card p { margin: 0; }
.creed-card--motto p { font: 700 clamp(2.4rem, 5vw, 3.25rem)/1 var(--font-head); color: var(--brown-900); }
@media (min-width: 860px) { .creed-cards { grid-template-columns: 1fr 1.35fr .9fr; } }

.closing-line { margin: 2.25rem 0 0; padding-top: 1.25rem; border-top: 2px solid var(--brown-900); font: 700 clamp(1.75rem, 3.6vw, 2.5rem)/1.05 var(--font-head); text-transform: uppercase; }

/* Director's welcome */
.welcome { display: grid; gap: 2rem; align-items: start; }
.welcome__crest { width: 120px; height: 120px; }
.welcome blockquote { margin: 0; }
.welcome blockquote p { font-size: 1.125rem; max-width: 40em; }
.welcome__sign { margin-top: 1.25rem; font-weight: 600; }
.welcome__sign span { display: block; font-weight: 400; color: var(--gold); }
@media (min-width: 860px) { .welcome { grid-template-columns: auto 1fr; gap: 3.5rem; } .welcome__crest { width: 170px; height: 170px; } }

/* Image cards (learning pillars, 3 by 2) */
.cards { display: grid; gap: 1.5rem; counter-reset: card; }
.card { counter-increment: card; display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.card img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.card__body { flex: 1; padding: 1.1rem 1.25rem 1.4rem; border-top: 5px solid var(--c, var(--gold)); }
.card__body::before { content: counter(card, decimal-leading-zero); display: block; font: 700 1.05rem var(--font-head); color: var(--brown-500); }
.card h3 { margin: .1rem 0 .4rem; font-size: 1.7rem; }
.card p { margin: 0; font-size: 1rem; }
@media (min-width: 640px) { .cards { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .cards { grid-template-columns: repeat(3, 1fr); } }

/* Small activity cards */
.activities { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.activity { position: relative; overflow: hidden; border-radius: var(--radius); background: var(--brown-900); color: #fff; }
.activity img { width: 100%; aspect-ratio: 1; object-fit: cover; transition: transform .35s ease; }
.activity:hover img { transform: scale(1.04); }
.activity div { position: absolute; inset: auto 0 0 0; padding: 3rem .85rem .8rem; background: linear-gradient(transparent, rgba(30,18,10,.92)); }
.activity h3 { margin: 0; font-size: clamp(1.35rem, 2.6vw, 1.65rem); color: #fff; }
.activity p { margin: .1rem 0 0; font-size: .875rem; line-height: 1.35; color: #f1e6d6; }
.activity--more { display: flex; flex-direction: column; justify-content: flex-end; padding: 1rem; aspect-ratio: 1; background: var(--gold); color: var(--brown-900); text-decoration: none; }
.activity--more:hover { background: #ebc69c; color: var(--brown-900); }
.activity--more strong { font: 700 clamp(1.4rem, 2.6vw, 1.75rem)/1.05 var(--font-head); }
.activity--more span { margin-top: .35rem; font-size: .9375rem; }
@media (min-width: 768px) { .activities { grid-template-columns: repeat(4, 1fr); } }

/* Learning environment photo grid */
.env { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.env a { position: relative; display: block; overflow: hidden; border-radius: var(--radius); color: #fff; text-decoration: none; cursor: zoom-in; }
.env img { width: 100%; height: 100%; aspect-ratio: 4 / 3; object-fit: cover; transition: transform .35s ease; }
.env a:hover img { transform: scale(1.03); }
.env span { position: absolute; inset: auto 0 0 0; padding: 2.5rem .9rem .75rem; background: linear-gradient(transparent, rgba(30,18,10,.85)); font: 600 1.375rem/1.05 var(--font-head); }
.env a:first-child { grid-column: 1 / -1; }
@media (min-width: 860px) {
  .env { grid-template-columns: repeat(4, 1fr); grid-auto-rows: 210px; }
  .env img { aspect-ratio: auto; }
  .env a:first-child { grid-column: span 2; grid-row: span 2; }
}

/* Parents' corner */
.quick { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.quick a { display: flex; flex-direction: column; justify-content: flex-end; gap: .2rem; min-height: 120px; padding: 1rem 1.1rem; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); border-left: 6px solid var(--c, var(--gold)); text-decoration: none; color: var(--brown-900); }
.quick a:hover { border-color: var(--brown-500); border-left-color: var(--c, var(--gold)); color: var(--brown-900); }
.quick strong { font: 700 1.5rem/1.05 var(--font-head); }
.quick span { font-size: .9375rem; color: var(--brown-500); }
@media (min-width: 900px) { .quick { grid-template-columns: repeat(4, 1fr); } }

.news { display: grid; gap: 2rem; }
.news article { padding-top: 1.25rem; border-top: 2px solid var(--brown-900); }
.news img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; border-radius: var(--radius); margin-bottom: 1rem; }
.news .tag { display: block; font-size: .9375rem; font-weight: 600; color: var(--brown-500); }
.news h3 { margin: .2rem 0 .4rem; font-size: 1.85rem; }
.news article > a { display: block; margin-top: .35rem; font-weight: 600; }
@media (min-width: 860px) { .news { grid-template-columns: repeat(3, 1fr); } }

.table-scroll { overflow-x: auto; }
.terms { width: 100%; min-width: 520px; border-collapse: collapse; background: #fff; border: 1px solid var(--line); }
.terms th, .terms td { padding: .9rem 1rem; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; }
.terms thead th { background: var(--brown-900); color: #fff; font-weight: 600; font-size: .9375rem; }
.terms tbody th { font: 700 1.4rem/1.1 var(--font-head); white-space: nowrap; }
.terms td { color: var(--brown-500); }
.table-note { margin-top: .9rem; font-size: .9375rem; color: var(--brown-500); }

.docs li { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .75rem 1.5rem; padding: 1rem 0; border-top: 1px solid var(--brown-500); }
.docs li:last-child { border-bottom: 1px solid var(--brown-500); }
.docs strong { display: block; font: 700 1.5rem/1.1 var(--font-head); }
.docs span { font-size: .9375rem; color: var(--brown-500); }
.docs .btn { min-height: 44px; padding: .45rem 1rem; font-size: 1rem; }

.checklist li { position: relative; padding: .6rem 0 .6rem 2rem; border-top: 1px solid var(--line); }
.checklist li::before { content: ""; position: absolute; left: .2rem; top: 1.05rem; width: .85rem; height: .45rem; border: solid var(--green); border-width: 0 0 3px 3px; transform: rotate(-45deg); }

.split { display: grid; gap: 2.5rem; }
@media (min-width: 900px) { .split { grid-template-columns: 1fr 1fr; gap: 4.5rem; } }

@media (prefers-reduced-motion: reduce) { .hero-full__slides img { transition: none; } }
