/* Spring Valley Public School — "Grow with the seasons"
   Layered valley, mapped like a survey sheet. Tokens first, then the Bootstrap grid rules we use
   (repeated so nothing shifts while bootstrap-grid.min.css loads), then components. */

:root {
  --mist: #F3F8F1;
  --paper: #FFFFFF;
  --ink: #183028;
  --ink-soft: #4D6359;
  --pine-deep: #24543A;
  --green: #3E8E2F;
  --green-ink: #2E7424;
  --leaf: #6DBE45;
  --hill-1: #D7EBCD;
  --hill-2: #B3D99C;
  --hill-3: #7FC55A;
  --blossom: #E46FA1;
  --blossom-soft: #F49AC2;
  --blossom-ink: #B23C73;
  --sky: #9AD0EC;
  --sky-soft: #DDF0F9;
  --line: rgba(24, 48, 40, .14);
  --line-strong: rgba(24, 48, 40, .28);
  --display: "Fraunces", Georgia, "Times New Roman", serif;
  --body: "Schibsted Grotesk", "Atkinson Hyperlegible", system-ui, -apple-system, "Segoe UI", sans-serif;
  --bar-h: 76px;
  --r-s: 10px;
  --r-m: 18px;
  --r-l: 32px;
  --shadow: 0 10px 30px -12px rgba(24, 48, 40, .28), 0 2px 6px -2px rgba(24, 48, 40, .12);
  --sec: clamp(56px, 7.5vw, 104px);
  --ease: cubic-bezier(.16, 1, .3, 1);
}

/* ---------- Bootstrap 5.3.3 grid (subset, same values) ---------- */
.container{--bs-gutter-x:1.5rem;--bs-gutter-y:0;width:100%;padding-right:calc(var(--bs-gutter-x) * .5);padding-left:calc(var(--bs-gutter-x) * .5);margin-right:auto;margin-left:auto}
.row{--bs-gutter-x:1.5rem;--bs-gutter-y:0;display:flex;flex-wrap:wrap;margin-top:calc(-1 * var(--bs-gutter-y));margin-right:calc(-.5 * var(--bs-gutter-x));margin-left:calc(-.5 * var(--bs-gutter-x))}
.row>*{box-sizing:border-box;flex-shrink:0;width:100%;max-width:100%;padding-right:calc(var(--bs-gutter-x) * .5);padding-left:calc(var(--bs-gutter-x) * .5);margin-top:var(--bs-gutter-y)}
.col-12{flex:0 0 auto;width:100%}
.g-0,.gx-0{--bs-gutter-x:0}.g-0,.gy-0{--bs-gutter-y:0}
.g-3,.gx-3{--bs-gutter-x:1rem}.g-3,.gy-3{--bs-gutter-y:1rem}
.g-4,.gx-4{--bs-gutter-x:1.5rem}.g-4,.gy-4{--bs-gutter-y:1.5rem}
.align-items-start{align-items:flex-start!important}.align-items-end{align-items:flex-end!important}
.align-items-center{align-items:center!important}.align-items-stretch{align-items:stretch!important}
@media (min-width:576px){.container{max-width:540px}}
@media (min-width:768px){.container{max-width:720px}.col-md-5{flex:0 0 auto;width:41.66666667%}.col-md-6{flex:0 0 auto;width:50%}.col-md-7{flex:0 0 auto;width:58.33333333%}.order-md-1{order:1!important}.order-md-2{order:2!important}}
@media (min-width:992px){.container{max-width:960px}.col-lg-4{flex:0 0 auto;width:33.33333333%}.col-lg-5{flex:0 0 auto;width:41.66666667%}.col-lg-6{flex:0 0 auto;width:50%}.col-lg-7{flex:0 0 auto;width:58.33333333%}.col-lg-8{flex:0 0 auto;width:66.66666667%}.col-lg-9{flex:0 0 auto;width:75%}.g-lg-5,.gx-lg-5{--bs-gutter-x:3rem}.g-lg-5,.gy-lg-5{--bs-gutter-y:3rem}}
@media (min-width:1200px){.container{max-width:1140px}}
@media (min-width:1400px){.container{max-width:1320px}}
/* 16 px side gutter on phones */
@media (max-width:575.98px){.container{padding-left:16px;padding-right:16px}}

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--bar-h) + 16px); }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
  margin: 0; background: var(--mist); color: var(--ink);
  font-family: var(--body); font-size: 1.0625rem; line-height: 1.6;
  font-variant-numeric: lining-nums; overflow-x: clip;
}
img, svg { display: block; max-width: 100%; }
img { height: auto; }
h1, h2, h3 { font-family: var(--display); font-weight: 620; line-height: 1.14; margin: 0 0 .5em; font-optical-sizing: auto; text-wrap: balance; letter-spacing: -.01em; }
h1 { font-size: clamp(2.35rem, 1.5rem + 3.6vw, 4.4rem); letter-spacing: -.02em; }
h2 { font-size: clamp(1.8rem, 1.3rem + 1.9vw, 2.85rem); }
h3 { font-size: clamp(1.2rem, 1.1rem + .4vw, 1.45rem); font-weight: 600; }
p { margin: 0 0 1em; max-width: 68ch; }
a { color: var(--green-ink); text-underline-offset: .18em; text-decoration-thickness: 1px; }
a:hover { text-decoration-thickness: 2px; }
::selection { background: var(--blossom-soft); color: var(--ink); }
:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; border-radius: 4px; }
input, select, textarea, button { font: inherit; color: inherit; }
input, textarea { caret-color: var(--green-ink); }
html { scrollbar-color: var(--green) var(--hill-1); }
address { font-style: normal; }
.vh { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.lede { font-size: clamp(1.1rem, 1rem + .35vw, 1.25rem); color: var(--ink-soft); }
.small-muted { font-size: .95rem; color: var(--ink-soft); }
.h-quiet { font-size: clamp(1.3rem, 1.15rem + .5vw, 1.6rem); }
.hi-line, .hero-hi { font-size: 1.15rem; color: var(--blossom-ink); }
.icon { width: 1.2em; height: 1.2em; flex: none; }
.icon-xs { width: 1em; height: 1em; }

.skip { position: absolute; left: 16px; top: -60px; z-index: 100; background: var(--ink); color: var(--mist); padding: 10px 16px; border-radius: var(--r-s); }
.skip:focus { top: 12px; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  min-height: 48px; padding: .7em 1.3em; border-radius: 999px; border: 2px solid transparent;
  font-weight: 700; font-size: 1rem; line-height: 1.2; text-decoration: none; cursor: pointer;
  transition: background-color .2s var(--ease), transform .2s var(--ease), box-shadow .2s var(--ease), color .2s;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn-primary { background: var(--green-ink); color: #fff; box-shadow: 0 6px 16px -8px rgba(46, 116, 36, .7); }
.btn-primary:hover { background: #255F1D; }
.btn-ghost { background: var(--paper); color: var(--ink); border-color: var(--line-strong); }
.btn-ghost:hover { border-color: var(--ink); }
.btn-light { background: var(--leaf); color: var(--ink); }
.btn-light:hover { background: #82CC5C; }
.btn-outline-light { color: var(--mist); border-color: rgba(243, 248, 241, .6); }
.btn-outline-light:hover { border-color: var(--mist); }
.btn-sm { min-height: 42px; padding: .5em 1.1em; }
.btn[disabled] { opacity: .65; cursor: progress; transform: none; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; margin: 0 0 1em; }
.btn-row-end { justify-content: flex-start; }
@media (min-width: 992px) { .btn-row-end { justify-content: flex-end; } }
.text-link { font-weight: 700; }

/* ---------- tags & placeholders ---------- */
.tag { display: inline-flex; align-items: center; gap: .35em; font-size: .85rem; font-weight: 700; padding: .2em .65em; border-radius: 999px; line-height: 1.4; }
.tag-v { background: #E2F1DA; color: #1F5A18; }
.tag-l { background: transparent; color: var(--ink-soft); border: 1.5px dashed var(--line-strong); }
.tag-s { background: #FBE3EE; color: #8E2B59; }
.placeholder {
  border: 2px dashed var(--line-strong); border-radius: var(--r-m); padding: 18px 20px; margin: 0 0 1em;
  background: rgba(255, 255, 255, .6);
  color: var(--ink-soft); max-width: none;
}
.ph-tag { display: block; font-size: .8rem; font-weight: 700; color: var(--blossom-ink); margin-bottom: .25em; }
.ph-big { min-height: 160px; display: flex; flex-direction: column; justify-content: center; font-size: 1.1rem; }
.ph-inline { padding: 12px 16px; }

/* ---------- top bar ---------- */
.bar {
  position: fixed; inset: 0 0 auto; z-index: 50; height: var(--bar-h);
  background: transparent; transition: background-color .3s var(--ease), box-shadow .3s var(--ease), height .3s var(--ease);
}
.bar.is-solid { background: rgba(243, 248, 241, .97); box-shadow: 0 1px 0 var(--line), 0 8px 24px -18px rgba(24, 48, 40, .5); --bar-h: 66px; height: 66px; }
.bar-in { display: flex; align-items: center; gap: 24px; height: 100%; }
.brand { flex: none; display: block; }
.brand img { height: 44px; width: auto; }
.nav-main { margin-left: auto; display: none; }
.nav-main ul { display: flex; gap: 4px; list-style: none; margin: 0; padding: 0; }
.nav-main a {
  display: inline-flex; align-items: center; gap: 6px; padding: 10px 12px; border-radius: 999px;
  color: var(--ink); text-decoration: none; font-weight: 700; font-size: .98rem;
}
.nav-main a:hover { background: rgba(255, 255, 255, .7); }
.nav-main a[aria-current="page"] { background: rgba(255, 255, 255, .85); box-shadow: inset 0 0 0 1px var(--line); }
.nav-leaf { width: 16px; height: 16px; }
.bar-actions { display: flex; align-items: center; gap: 10px; margin-left: auto; }
.bar-call { display: none; align-items: center; gap: 6px; color: var(--ink); font-weight: 700; text-decoration: none; padding: 8px 6px; }
.bar-enquire { display: none; }
.menu-btn {
  display: inline-flex; align-items: center; gap: 8px; min-height: 46px; padding: 0 16px; border-radius: 999px;
  background: var(--ink); color: var(--mist); border: 0; font-weight: 700; cursor: pointer;
}
@media (min-width: 1100px) {
  .nav-main { display: block; }
  .bar-actions { margin-left: 8px; }
  .menu-btn { display: none; }
  .bar-enquire { display: inline-flex; }
}
@media (min-width: 1300px) { .bar-call { display: inline-flex; } }
@media (max-width: 380px) { .brand img { height: 38px; } }

/* phone sheet: drops from the top */
.sheet { position: fixed; inset: 0; z-index: 60; background: rgba(24, 48, 40, .35); }
.sheet[hidden] { display: none; }
.sheet-in {
  position: relative; background: var(--mist); max-width: none; padding-top: 14px; padding-bottom: 0;
  border-radius: 0 0 var(--r-l) var(--r-l); box-shadow: var(--shadow); overflow: hidden;
  transform: translateY(-100%); transition: transform .45s var(--ease);
}
.sheet.is-open .sheet-in { transform: none; }
.sheet-top { display: flex; align-items: center; justify-content: space-between; min-height: 52px; }
.sheet-close { display: inline-flex; align-items: center; gap: 6px; min-height: 46px; padding: 0 16px; border-radius: 999px; border: 2px solid var(--line-strong); background: var(--paper); font-weight: 700; cursor: pointer; }
.sheet-links { list-style: none; margin: 18px 0 8px; padding: 0; }
.sheet-links a { display: flex; align-items: center; gap: 10px; padding: 12px 4px; font-family: var(--display); font-size: 1.7rem; font-weight: 600; color: var(--ink); text-decoration: none; border-bottom: 1px solid var(--line); }
.sheet-links .nav-leaf { width: 22px; height: 22px; }
.sheet-actions { display: grid; gap: 10px; margin: 18px 0 8px; }
.sheet-hills { width: 100%; height: 70px; margin-top: 12px; }
@media (prefers-reduced-motion: reduce) { .sheet-in { transition: none; } }

/* ---------- hero: the valley ---------- */
.hero { position: relative; overflow: hidden; padding-top: calc(var(--bar-h) + 28px); min-height: min(100svh, 900px); display: flex; flex-direction: column; }
.hero-sky { position: absolute; inset: 0; background: radial-gradient(120% 70% at 78% 18%, #FFFFFF 0%, var(--sky-soft) 38%, #CBE7F5 100%); }
.hero-land { position: absolute; inset: auto 0 0 0; height: 62%; pointer-events: none; }
.hill-layer { position: absolute; left: 0; right: 0; bottom: 0; width: 100%; height: 100%; will-change: transform; }
.hill-layer.l4 { z-index: 3; height: 34%; pointer-events: none; }
.contour { fill: none; stroke: #183028; stroke-opacity: .1; stroke-width: 1.2; vector-effect: non-scaling-stroke; }
.sun {
  position: absolute; z-index: 1; top: calc(var(--bar-h) + 4px); right: 3%; width: clamp(110px, 13vw, 190px); aspect-ratio: 1; border-radius: 50%;
  background: radial-gradient(circle at 50% 50%, #F8BCD6 0 44%, rgba(244, 154, 194, .3) 45% 60%, rgba(244, 154, 194, 0) 61%);
}
.hero-in { position: relative; z-index: 2; flex: 1; display: flex; flex-direction: column; justify-content: center; padding-bottom: clamp(70px, 9vw, 120px); }
.hero-copy h1 { margin-bottom: .3em; max-width: 13ch; }
.hero-lede { font-size: clamp(1.1rem, 1rem + .4vw, 1.3rem); max-width: 34rem; }
.hero-small { font-size: .98rem; margin-bottom: 0; }
.hero-small a { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; }
.hero-window { position: relative; margin: 0; }
.hero-window img {
  width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 48% 48% var(--r-m) var(--r-m) / 30% 30% var(--r-m) var(--r-m);
  box-shadow: 0 30px 60px -30px rgba(24, 48, 40, .55); border: 6px solid var(--paper);
}
.window-hill { position: absolute; z-index: 3; left: -18%; bottom: -90px; width: 136%; max-width: none; height: 46%; -webkit-mask-image: linear-gradient(90deg, transparent, #000 11%, #000 89%, transparent); mask-image: linear-gradient(90deg, transparent, #000 11%, #000 89%, transparent); }
.hero-photo-note { display: block; margin-top: 6px; font-size: .82rem; color: var(--ink-soft); }
@media (min-width: 992px) { .hero-window { margin-bottom: calc(-1 * clamp(60px, 8vw, 120px)); } }
.hero-window figcaption { position: absolute; right: 14px; top: 14px; z-index: 4; font-size: .78rem; background: rgba(243, 248, 241, .92); padding: 3px 9px; border-radius: 999px; color: var(--ink-soft); }
@media (max-width: 991.98px) {
  .hero { min-height: 0; padding-top: calc(var(--bar-h) + 18px); }
  .hero-land { height: 48%; }
  .hero-window { max-width: 560px; margin: 8px auto 0; }
  .sun { top: auto; bottom: 34%; right: -36px; }
}
@media (max-width: 575.98px) {
  .hero-copy h1 { font-size: 2.4rem; }
  .hero-window img { border-width: 4px; }
  .hero-in { padding-bottom: 64px; }
}

/* ---------- facts legend (toposheet legend box) ---------- */
.facts { padding: var(--sec) 0; }
.legend { background: var(--paper); border: 1px solid var(--line-strong); border-radius: var(--r-s); padding: clamp(20px, 3vw, 36px); position: relative; box-shadow: var(--shadow); }
.legend::before { content: ""; position: absolute; inset: 6px; border: 1px solid var(--line); border-radius: 6px; pointer-events: none; }
.legend h2 { margin-bottom: .35em; }
.legend-key { display: flex; flex-wrap: wrap; gap: 8px 20px; font-size: .9rem; color: var(--ink-soft); margin-bottom: 18px; max-width: none; }
.legend-key > span { display: inline-flex; align-items: center; gap: 8px; }
.legend-list { list-style: none; margin: 0; padding: 0; }
.legend-list li { display: grid; grid-template-columns: 22px 1fr; gap: 4px 14px; padding: 12px 0; border-top: 1px solid var(--line); align-items: start; }
.lg-text { font-weight: 700; }
.lg-src { grid-column: 2; font-size: .9rem; color: var(--ink-soft); }
@media (min-width: 768px) { .legend-list li { grid-template-columns: 22px 1fr auto; } .lg-src { grid-column: 3; text-align: right; } }
.lg-sym { display: inline-block; width: 18px; height: 18px; margin-top: 3px; border-radius: 50%; flex: none; }
.lg-v { background: var(--green); box-shadow: inset 0 0 0 4px #CFE6C4; }
.lg-l { border: 2px dashed var(--ink-soft); }
.lg-u { background: #FBE3EE; border: 2px solid var(--blossom-ink); border-radius: 4px; }
.facts-aside { padding-top: 8px; }

/* ---------- river of stages ---------- */
.grow { padding: var(--sec) 0; background: linear-gradient(var(--mist), #EAF4E4); }
.river-wrap { position: relative; margin-top: 32px; }
.river-line { position: absolute; top: 0; bottom: 0; left: 6px; width: 64px; height: 100%; }
.river { list-style: none; margin: 0; padding: 0; position: relative; }
.stop { position: relative; display: grid; grid-template-columns: 72px 1fr; gap: 14px; padding: 18px 0 30px 48px; }
.stop-photo img { width: 72px; height: 72px; border-radius: 50%; object-fit: cover; border: 4px solid var(--paper); box-shadow: var(--shadow); }
.stop-text h3 { margin-bottom: .1em; }
.stop-classes { font-weight: 700; color: var(--green-ink); margin-bottom: .4em; }
.stop-text .tag { margin-bottom: .6em; }
.stop-age { font-size: .95rem; color: var(--ink-soft); }
.stop-age span { font-size: .85rem; }
.link-ask { font-weight: 700; }
.stop::before { content: ""; position: absolute; left: 26px; top: 42px; width: 22px; height: 22px; border-radius: 50%; background: var(--paper); border: 5px solid var(--green); }
@media (min-width: 992px) {
  .river-line { left: 50%; width: 200px; transform: translateX(-50%); }
  .stop { grid-template-columns: 1fr 1fr; padding: 10px 0 40px; gap: 0; }
  .stop::before { left: calc(50% - 13px); top: 90px; width: 26px; height: 26px; }
  .stop-photo img { width: 200px; height: 200px; }
  .stop-left .stop-photo { grid-column: 1; justify-self: end; padding-right: 110px; }
  .stop-left .stop-text { grid-column: 2; padding-left: 110px; }
  .stop-right .stop-photo { grid-column: 2; grid-row: 1; padding-left: 110px; }
  .stop-right .stop-text { grid-column: 1; grid-row: 1; padding-right: 110px; text-align: right; }
  .stop-right .stop-text p { margin-left: auto; }
}

/* ---------- seasons switcher ---------- */
.seasons { position: relative; padding: var(--sec) 0; overflow: hidden; --s-sky: #D6EEFA; --s-sun: #FCE3EE; --s-h1: #D7EBCD; --s-h2: #B3D99C; --s-h3: #7FC55A; --s-h4: #3E8E2F; }
.seasons[data-active="summer"] { --s-sky: #D6EEFA; --s-sun: #FFF6CF; --s-h1: #E4EFC9; --s-h2: #C9DFA0; --s-h3: #9CC96C; --s-h4: #5E9B3C; }
.seasons[data-active="monsoon"] { --s-sky: #C3D3DA; --s-sun: #E6EEF1; --s-h1: #A9CDA0; --s-h2: #6FAE5B; --s-h3: #3E8E2F; --s-h4: #24543A; }
.seasons[data-active="festive"] { --s-sky: #F8DCE8; --s-sun: #F49AC2; --s-h1: #CFE0B8; --s-h2: #A8C98A; --s-h3: #6E9F52; --s-h4: #3F6E35; }
.seasons[data-active="winter"] { --s-sky: #E9F1F3; --s-sun: #FFFFFF; --s-h1: #E1EBDD; --s-h2: #C8DDBF; --s-h3: #A6C99A; --s-h4: #6E9B67; }
.season-sky { position: absolute; inset: 0; z-index: 0; }
.season-land { width: 100%; height: 100%; }
.season-land rect, .season-land circle, .season-land path:not(.contour) { transition: fill .7s var(--ease); }
.seasons-in { position: relative; z-index: 1; }
.note-general { display: inline-flex; align-items: center; gap: 8px; background: rgba(255, 255, 255, .85); padding: 8px 14px; border-radius: 999px; font-weight: 700; font-size: .92rem; }
@media (min-width: 992px) { .seasons .col-lg-6:last-child { text-align: right; } }
.season-tabs { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin: 22px 0 18px; padding: 4px 0 8px; }
@media (min-width: 768px) { .season-tabs { grid-template-columns: repeat(4, 1fr); } }
.season-tabs button {
  text-align: left; cursor: pointer;
  background: rgba(255, 255, 255, .8); border: 2px solid transparent; border-radius: var(--r-m); padding: 12px 16px; min-height: 64px;
}
.season-tabs button:hover { background: #fff; }
.season-tabs button[aria-selected="true"] { background: var(--ink); color: var(--mist); box-shadow: var(--shadow); }
.season-tabs button[aria-selected="true"] .t-months { color: #CFE8C4; }
.t-name { display: block; font-family: var(--display); font-weight: 600; font-size: 1.2rem; line-height: 1.35; }
.t-months { display: block; font-size: .88rem; color: var(--ink-soft); }
.season-card { background: rgba(255, 255, 255, .94); border-radius: var(--r-l); padding: clamp(18px, 3vw, 32px); box-shadow: var(--shadow); }
.season-photo { margin: 0; }
.season-photo img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; border-radius: var(--r-m); }
.season-list { margin: 0; padding-left: 1.2em; }
.season-list li { margin-bottom: .55em; }
.season-list li::marker { color: var(--green); }
@media (prefers-reduced-motion: no-preference) {
  .season-panel:not([hidden]) { animation: seasonIn .5s var(--ease); }
  @keyframes seasonIn { from { opacity: .4; filter: blur(3px); } to { opacity: 1; filter: none; } }
}
@media (prefers-reduced-motion: reduce) { .season-land * { transition: none !important; } }

/* ---------- voices ---------- */
.voices { padding: var(--sec) 0; }
.rating-line { font-size: 1.1rem; }
.rating-line .star { display: inline-block; vertical-align: -3px; margin-right: 6px; }
.star { color: #C08A00; fill: #F2C23A; stroke: #A87400; }
.quote { margin: 0 0 22px; padding: clamp(20px, 3vw, 32px); background: var(--paper); border-radius: var(--r-l); box-shadow: var(--shadow); position: relative; }
.quote blockquote { margin: 0; }
.quote blockquote p { font-family: var(--display); font-size: clamp(1.3rem, 1.1rem + .9vw, 1.9rem); line-height: 1.35; font-weight: 560; max-width: 30ch; }
.quote figcaption { color: var(--ink-soft); font-size: .95rem; }
.q2 { margin-left: clamp(0px, 8vw, 96px); background: #E9F5E2; }

/* ---------- leadership, notices ---------- */
.lead-sec { padding: var(--sec) 0; background: var(--paper); }
.lead-about { background: #EAF4E4; }
.notices-sec { padding: var(--sec) 0; }
.notices { list-style: none; margin: 18px 0 0; padding: 0; display: grid; gap: 14px; }
@media (min-width: 768px) { .notices-sec .notices { grid-template-columns: repeat(3, 1fr); } }
.notices li { background: var(--paper); border-radius: var(--r-m); padding: 20px; border: 1px solid var(--line); position: relative; }
.notices li::before { content: ""; position: absolute; top: -7px; left: 22px; width: 14px; height: 14px; border-radius: 50%; background: var(--blossom); box-shadow: 0 2px 4px rgba(0, 0, 0, .2); }
.notices h3 { margin: .5em 0 .25em; font-size: 1.15rem; }
.notices p { margin: 0; color: var(--ink-soft); }

/* ---------- route card ---------- */
.visit { padding: 0 0 var(--sec); }
.route-card { background: var(--paper); border-radius: var(--r-l); overflow: hidden; box-shadow: var(--shadow); border: 1px solid var(--line); }
.route-map-col { background: #EAF4E4; }
.route-map { width: 100%; height: 300px; }
@media (min-width: 992px) { .route-map { height: 100%; min-height: 420px; } }
.rm-label { font: 700 17px var(--body); fill: var(--ink); paint-order: stroke; stroke: #EAF4E4; stroke-width: 4px; }
.rm-strong { font-family: var(--display); font-size: 24px; font-weight: 600; }
.rm-small { font: 400 13px var(--body); fill: var(--ink-soft); }
@media (max-width: 991.98px) { .rm-label { font-size: 22px; } .rm-strong { font-size: 28px; } .rm-small { display: none; } }
.route-info { padding: clamp(22px, 3.5vw, 44px); }
.route-info address { font-size: 1.1rem; margin-bottom: 1em; }
.route-dl { margin: 0 0 18px; }
.route-dl div { display: grid; grid-template-columns: 96px 1fr; gap: 10px; padding: 9px 0; border-top: 1px solid var(--line); }
.route-dl dt { font-weight: 700; color: var(--ink-soft); font-size: .92rem; }
.route-dl dd { margin: 0; }
@media (prefers-reduced-motion: no-preference) {
  .rm-pin circle:first-child { animation: pinPulse 2.8s var(--ease) infinite; transform-origin: center; transform-box: fill-box; }
  @keyframes pinPulse { 0%, 100% { transform: scale(.85); opacity: .9; } 50% { transform: scale(1.15); opacity: .4; } }
}

/* ---------- CTA band & footer ---------- */
.cta-band { background: var(--ink); color: var(--mist); padding: clamp(48px, 7vw, 84px) 0; }
.cta-band h2 { color: #fff; }
.cta-band p { color: #D7E6DD; margin: 0; }
.foot { background: var(--ink); color: #D7E6DD; position: relative; }
.foot-hills { display: block; width: 100%; height: 60px; background: transparent; margin-top: -1px; }
.foot-in { background: var(--ink); padding: 40px 0 28px; }
.foot a { color: #E9F5E2; }
.foot-logo { height: 52px; width: auto; margin-bottom: 12px; }
.foot-note { font-size: .85rem; color: #B9CDBF; }
.foot-hi { color: var(--blossom-soft); }
.foot-h { font-size: 1.2rem; color: #fff; }
.foot-links { list-style: none; margin: 0; padding: 0; columns: 2; }
.foot-links li { margin-bottom: 8px; }
.foot-small { font-size: .9rem; color: #B9CDBF; }
.foot-base { border-top: 1px solid rgba(243, 248, 241, .18); margin-top: 32px; padding-top: 18px; font-size: .88rem; color: #B9CDBF; }
.foot-base p { max-width: none; margin-bottom: .4em; }
main:has(> .cta-band:last-child) + .foot .foot-hills { display: none; }

/* ---------- inner page headers (each different) ---------- */
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; padding: 0; margin: 0 0 18px; font-size: .92rem; color: var(--ink-soft); }
.crumbs li + li::before { content: "/"; margin-right: 6px; color: var(--line-strong); }
/* About: contour survey */
.ph-contour { position: relative; overflow: hidden; padding: calc(var(--bar-h) + 40px) 0 clamp(56px, 7vw, 96px); background: #EAF4E4; }
.contour-bg { position: absolute; inset: 0; width: 100%; height: 100%; }
.contour-bg ellipse { fill: none; stroke: var(--green); stroke-opacity: .22; stroke-width: 1.2; }
.ph-contour .container { position: relative; }
.survey-box { background: var(--paper); border: 1px solid var(--line-strong); border-radius: var(--r-s); padding: 20px 22px; margin: 0; box-shadow: var(--shadow); }
.survey-box div { display: flex; justify-content: space-between; gap: 16px; padding: 8px 0; border-bottom: 1px dashed var(--line); }
.survey-box dt { color: var(--ink-soft); font-size: .95rem; }
.survey-box dd { margin: 0; font-weight: 700; text-align: right; }
.survey-src { display: flex; align-items: center; gap: 6px; font-size: .88rem; margin: 10px 0 0; color: var(--ink-soft); }
/* Academics: river strip */
.ph-river { padding: calc(var(--bar-h) + 40px) 0 0; background: linear-gradient(var(--sky-soft), var(--mist)); }
.river-strip { position: relative; margin-top: 28px; padding-bottom: 12px; }
.river-strip svg { position: absolute; left: 0; right: 0; top: 0; width: 100%; height: 80px; }
.ticks { list-style: none; margin: 0; padding: 18px 0 0; display: flex; gap: 8px; overflow-x: auto; position: relative; }
.ticks a { display: flex; flex-direction: column; align-items: center; gap: 10px; min-width: 120px; padding: 6px 8px 10px; text-decoration: none; color: var(--ink); font-weight: 700; text-align: center; border-radius: var(--r-s); }
.ticks a:hover { background: rgba(255, 255, 255, .7); }
.tick-dot { width: 20px; height: 20px; border-radius: 50%; background: var(--paper); border: 2px dashed var(--ink-soft); }
.tick-dot.tick-v { border: 5px solid var(--green); }
@media (min-width: 992px) { .ticks { justify-content: space-between; } }
.grow-acad { padding-top: 32px; background: var(--mist); }
/* Admissions: split with quick panel */
.ph-split { padding: calc(var(--bar-h) + 40px) 0 clamp(48px, 6vw, 80px); background: var(--paper); border-bottom: 1px solid var(--line); }
.quick-panel { background: var(--ink); color: var(--mist); border-radius: var(--r-l); padding: 24px; height: 100%; }
.quick-panel h2 { color: #fff; font-size: 1.5rem; }
.qp-row { display: flex; align-items: center; gap: 14px; padding: 14px 4px; color: var(--mist); text-decoration: none; border-top: 1px solid rgba(243, 248, 241, .16); }
.qp-row .icon { width: 28px; height: 28px; color: var(--leaf); }
.qp-row strong { display: block; color: #fff; }
.qp-row small { color: #C5D8CC; font-size: .88rem; }
.qp-row:hover strong { text-decoration: underline; }
/* Campus: panorama */
.ph-pano { padding: calc(var(--bar-h) + 40px) 0 0; background: var(--mist); }
.pano-plate { max-width: 720px; }
.pano { display: grid; grid-template-columns: 1fr; gap: 8px; margin-top: 18px; }
.pano img { width: 100%; height: 220px; object-fit: cover; }
.pano .pano-b, .pano .pano-c { display: none; }
@media (min-width: 768px) {
  .pano { grid-template-columns: 1.15fr 1fr 1fr; }
  .pano img { height: clamp(220px, 26vw, 360px); }
  .pano .pano-b, .pano .pano-c { display: block; }
  .pano .pano-a { border-radius: 0 var(--r-l) 0 0; }
  .pano .pano-c { border-radius: var(--r-l) 0 0 0; }
  .pano .pano-b { margin-top: 40px; height: calc(clamp(220px, 26vw, 360px) - 40px); border-radius: var(--r-l) var(--r-l) 0 0; }
}
/* Contact: map first */
.ph-map { padding: calc(var(--bar-h) + 32px) 0 clamp(40px, 5vw, 64px); background: linear-gradient(#EAF4E4, var(--mist)); }
.route-big .route-info h1 { font-size: clamp(2rem, 1.4rem + 2.2vw, 3rem); }
/* Plain pages */
.ph-plain { padding: calc(var(--bar-h) + 40px) 0 0; background: var(--sky-soft); }
.ph-plain h1 { font-size: clamp(2.1rem, 1.5rem + 2.4vw, 3.4rem); }
.plain-hills { width: 100%; height: 70px; margin-top: 18px; }

/* ---------- inner sections ---------- */
.story, .values-sec, .compare, .howto, .results, .steps-sec, .docs-sec, .faq-sec, .facilities, .gallery-sec, .activities, .contact-sec, .prose-sec { padding: var(--sec) 0; }
.tall-photo { margin: 0; }
.tall-photo img { width: 100%; border-radius: var(--r-l); aspect-ratio: 4 / 3; object-fit: cover; }
.tall-photo figcaption, .gallery-sec .small-muted { font-size: .85rem; color: var(--ink-soft); margin-top: 8px; }
.values-sec { background: var(--paper); }
.value-rows { list-style: none; padding: 0; margin: 24px 0 0; counter-reset: v; }
.value-rows li { display: grid; gap: 6px 32px; padding: 20px 0; border-top: 1px solid var(--line); }
@media (min-width: 768px) { .value-rows li { grid-template-columns: 220px 1fr; align-items: center; } }
.value-rows h3 { margin: 0; color: var(--green-ink); }
.value-rows .placeholder { margin: 0; }
.table-wrap { overflow-x: auto; background: var(--paper); border-radius: var(--r-m); border: 1px solid var(--line); margin-bottom: 12px; }
table { border-collapse: collapse; width: 100%; min-width: 520px; font-variant-numeric: tabular-nums; }
.docs-sec table { min-width: 0; }
th, td { text-align: left; padding: 14px 16px; border-bottom: 1px solid var(--line); vertical-align: top; }
thead th { background: #EAF4E4; font-size: .92rem; }
tbody tr:last-child th, tbody tr:last-child td { border-bottom: 0; }
.howto { background: var(--paper); }
.how-row { padding: 22px 0; }
.how-row img { width: 100%; border-radius: var(--r-l); aspect-ratio: 4 / 3; object-fit: cover; }
.results { background: #EAF4E4; }
.steps { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 18px; counter-reset: s; position: relative; }
@media (min-width: 992px) { .steps { grid-template-columns: repeat(4, 1fr); } .steps::before { content: ""; position: absolute; top: 26px; left: 6%; right: 6%; height: 0; border-top: 4px dotted var(--sky); } }
.steps li { position: relative; background: var(--paper); border-radius: var(--r-m); padding: 22px; border: 1px solid var(--line); }
.step-n { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; background: var(--green-ink); color: #fff; font-weight: 700; font-size: 1.3rem; margin: -6px 0 12px; position: relative; }
.docs-sec { background: var(--paper); }
.doc-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
@media (min-width: 768px) { .doc-list { grid-template-columns: 1fr 1fr; } }
.doc-list li { display: flex; gap: 10px; align-items: flex-start; padding: 12px 14px; background: var(--mist); border-radius: var(--r-s); }
.doc-list .icon { margin-top: 4px; color: var(--green-ink); }
.faq details { border-top: 1px solid var(--line); }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; list-style: none; padding: 18px 40px 18px 0; font-weight: 700; font-size: 1.08rem; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: 8px; top: 50%; width: 12px; height: 12px; border-right: 2.5px solid var(--green-ink); border-bottom: 2.5px solid var(--green-ink); transform: translateY(-70%) rotate(45deg); transition: transform .25s var(--ease); }
.faq details[open] summary::after { transform: translateY(-30%) rotate(-135deg); }
.faq details p { padding-bottom: 12px; }
.form-sec { padding: var(--sec) 0; background: #EAF4E4; }
.form-side { padding-top: 10px; }

/* ---------- form ---------- */
.enquiry { background: var(--paper); border-radius: var(--r-l); padding: clamp(22px, 3.5vw, 40px); box-shadow: var(--shadow); }
.enquiry h2 { font-size: clamp(1.6rem, 1.3rem + 1vw, 2.2rem); }
.form-intro { color: var(--ink-soft); }
.field label { display: block; font-weight: 700; margin-bottom: 6px; }
.opt { font-weight: 400; color: var(--ink-soft); }
.field input, .field select, .field textarea {
  width: 100%; min-height: 50px; padding: 12px 14px; border: 2px solid #8FA399; border-radius: var(--r-s); background: #FCFEFB;
  transition: border-color .2s, box-shadow .2s;
}
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--green-ink); box-shadow: 0 0 0 4px rgba(46, 116, 36, .18); }
.field input[aria-invalid="true"] { border-color: #B3261E; }
.hint { font-size: .88rem; color: var(--ink-soft); margin: 6px 0 0; }
.err { color: #B3261E; font-size: .92rem; font-weight: 700; margin: 6px 0 0; min-height: 0; }
.err:empty { display: none; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; }
.form-summary { border: 2px solid #B3261E; border-radius: var(--r-s); padding: 12px 16px; margin-bottom: 16px; background: #FDF0EF; }
.form-summary p { font-weight: 700; margin-bottom: .3em; }
.form-summary ul { margin: 0; padding-left: 1.2em; }
.form-summary a { color: #8C1D18; }
.form-foot { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; margin: 22px 0 12px; }
.form-status { margin: 0; font-weight: 700; }
.form-status.ok { color: var(--green-ink); }
.form-status.bad { color: #B3261E; }

/* ---------- facilities, gallery ---------- */
.fac-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
@media (min-width: 576px) { .fac-list { grid-template-columns: 1fr 1fr; } }
.fac-list li { border: 2px dashed var(--line-strong); border-radius: var(--r-m); padding: 16px 18px; min-height: 92px; background: rgba(255, 255, 255, .5); }
.fac-name { display: block; font-family: var(--display); font-size: 1.2rem; font-weight: 600; }
.fac-tbc { font-size: .88rem; color: var(--ink-soft); }
.gallery-sec { background: var(--paper); }
.gallery { list-style: none; padding: 0; margin: 20px 0 0; display: grid; gap: 12px; grid-template-columns: 1fr; }
@media (min-width: 576px) { .gallery { grid-template-columns: 1fr 1fr; } }
@media (min-width: 992px) { .gallery { grid-template-columns: 1.3fr 1fr 1fr; } .gallery li:first-child { grid-row: span 2; } }
.g-item { display: block; width: 100%; height: 100%; padding: 0; border: 0; background: none; cursor: zoom-in; border-radius: var(--r-m); overflow: hidden; }
.g-item img { width: 100%; height: 100%; aspect-ratio: 4 / 3; object-fit: cover; transition: transform .5s var(--ease); }
.g-item:hover img { transform: scale(1.03); }
.lightbox { border: 0; padding: 0; background: transparent; max-width: min(1000px, 94vw); width: 100%; overflow: visible; }
.lightbox::backdrop { background: rgba(24, 48, 40, .85); }
.lightbox img { width: 100%; height: auto; max-height: 78vh; object-fit: contain; border-radius: var(--r-m); background: var(--ink); }
.lb-cap { color: #fff; text-align: center; margin: 10px auto 0; }
.lb-btn { position: absolute; display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; border: 0; background: var(--mist); color: var(--ink); cursor: pointer; }
.lb-btn .icon { width: 24px; height: 24px; }
.lb-prev { left: 8px; top: 40%; } .lb-next { right: 8px; top: 40%; } .lb-close { right: 8px; top: -58px; }
.activities { background: var(--mist); }
.activities .notices { margin-top: 8px; }

/* ---------- contact ---------- */
.map-box { position: relative; border-radius: var(--r-m); background: var(--paper); border: 1px solid var(--line); padding: 18px; margin-bottom: 28px; }
.map-box iframe { width: 100%; height: 340px; border: 0; border-radius: var(--r-s); display: block; margin-bottom: 14px; }
.map-fallback { margin-top: 14px; }
.map-fallback p { margin-bottom: .4em; }

/* ---------- prose ---------- */
.prose { max-width: 72ch; }
.prose h2 { font-size: 1.6rem; margin-top: 1.4em; }

/* ---------- reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .hill-layer, .sun { transform: none !important; }
}

/* ---------- print ---------- */
@media print { .bar, .sheet, .foot-hills, .hero-land, .cta-band { display: none !important; } body { background: #fff; } }
.stop-nophoto { display: none; }
@media (max-width: 991.98px) { .grow-acad .stop { grid-template-columns: 1fr; } }
