/* Singapore Public Pre School: "Every shape, every colour" (kaleidoscope + prism). Bootstrap 5.3.3 grid only. */
:root {
  --ground: #F7F6FB;
  --ink: #1E1B2E;
  --mag: #E0368C;
  --cyan: #19A7CE;
  --lime: #9BCB3B;
  --sun: #FFC83D;
  --vio: #6C4AD6;
  /* text-safe darks of the pinned hues (AA on the ground) */
  --mag-ink: #B0175F;
  --cyan-ink: #0A6A86;
  --lime-ink: #476A10;
  --vio-dark: #5636BE;
  --muted: #4E4A63;
  --line: #8A86A0;
  --paper: #FFFFFF;
  --hatch: #E6E4EF;
  --display: "Bowlby One", "Arial Rounded MT Bold", system-ui, sans-serif;
  --body: "DM Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --r: 10px;
  --r-lg: 18px;
  --shadow: 0 10px 24px -12px rgba(30, 27, 46, .35);
}

/* one hue per page / item: --h fill, --hf readable fill, --ht text on --hf, --hk ink-safe text on ground */
.f-mag, .s-mag, .fc-mag, .hx-mag, .tp-mag, .hex-mag, .spec-mag, .band-mag, .hue-mag { --h: var(--mag); --hf: var(--mag-ink); --ht: #fff; --hk: var(--mag-ink); }
.f-cyan, .s-cyan, .fc-cyan, .hx-cyan, .tp-cyan, .hex-cyan, .spec-cyan, .band-cyan, .hue-cyan, .r-cyan { --h: var(--cyan); --hf: var(--cyan); --ht: var(--ink); --hk: var(--cyan-ink); }
.f-vio, .s-vio, .fc-vio, .hx-vio, .tp-vio, .hex-vio, .spec-vio, .band-vio, .hue-vio, .r-vio { --h: var(--vio); --hf: var(--vio); --ht: #fff; --hk: var(--vio); }
.f-lime, .s-lime, .fc-lime, .hx-lime, .tp-lime, .hex-lime, .spec-lime, .band-lime, .hue-lime, .r-lime { --h: var(--lime); --hf: var(--lime); --ht: var(--ink); --hk: var(--lime-ink); }
.f-sun, .s-sun, .fc-sun, .hx-sun, .tp-sun, .hex-sun, .spec-sun, .band-sun, .hue-sun { --h: var(--sun); --hf: var(--sun); --ht: var(--ink); --hk: var(--ink); }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 96px; }
body {
  margin: 0;
  background: var(--ground);
  color: var(--ink);
  font: 400 1.03rem/1.62 var(--body);
  font-optical-sizing: auto;
  caret-color: var(--vio);
  scrollbar-color: var(--vio) var(--hatch);
}
::selection { background: var(--sun); color: var(--ink); }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--vio-dark); text-underline-offset: .18em; text-decoration-thickness: .08em; }
a:hover { color: var(--ink); }
:focus-visible { outline: 3px solid var(--vio); outline-offset: 3px; border-radius: 4px; }
h1, h2, h3 { font-family: var(--display); font-weight: 400; line-height: 1.08; margin: 0 0 .6em; text-wrap: balance; letter-spacing: 0; }
h1 { font-size: clamp(2.3rem, 3.6vw + 1.2rem, 4.3rem); }
h2 { font-size: clamp(1.6rem, 1.6vw + 1rem, 2.35rem); margin-top: 0; }
h3 { font-size: 1.3rem; line-height: 1.2; }
p { margin: 0 0 1em; }
.lead { font-size: 1.16rem; max-width: 60ch; }
.muted { color: var(--muted); }
.small { font-size: .9rem; }
.vh { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.ic { width: 1.2em; height: 1.2em; flex: none; }
[hidden] { display: none !important; }

.skip { position: absolute; left: 1rem; top: -4rem; z-index: 200; background: var(--ink); color: #fff; padding: .7rem 1rem; border-radius: var(--r); }
.skip:focus, .skip:hover { top: 1rem; color: #fff; }
.skip:hover { top: -4rem; }
.skip:focus:hover { top: 1rem; }

/* ------------------------------------------------------------ buttons */
.btn {
  display: inline-flex; align-items: center; gap: .55rem; min-height: 48px;
  padding: .75rem 1.25rem; border-radius: var(--r); border: 2px solid transparent;
  font: 700 1rem/1.2 var(--body); text-decoration: none; cursor: pointer;
  transition: background-color .2s ease, transform .2s ease, box-shadow .2s ease;
}
.btn:hover { transform: translateY(-1px); box-shadow: var(--shadow); }
.btn:active { transform: translateY(0); box-shadow: none; }
.btn-vio { background: var(--vio); color: #fff; }
.btn-vio:hover { background: var(--vio-dark); color: #fff; }
.btn-sun { background: var(--sun); color: var(--ink); border-color: var(--ink); }
.btn-sun:hover { background: #FFB914; color: var(--ink); }
.btn-line { background: var(--paper); color: var(--ink); border-color: var(--ink); }
.btn-line:hover { background: var(--ground); color: var(--ink); }
.btn[disabled] { opacity: .6; cursor: progress; transform: none; box-shadow: none; }
.btn-row { display: flex; flex-wrap: wrap; gap: .7rem; }

/* ------------------------------------------------------------ header: mirrored-triangle facets */
.hdr { position: sticky; top: 0; z-index: 50; background: var(--paper); }
.hdr-row { display: flex; align-items: center; gap: 1rem; min-height: 76px; }
.brand { display: flex; align-items: center; gap: .65rem; text-decoration: none; color: var(--ink); flex: none; }
.brand img { width: 48px; height: 48px; }
.brand-t { display: flex; flex-direction: column; line-height: 1.1; }
.brand-n { font-family: var(--display); font-size: 1.06rem; }
.brand-s { font-size: .8rem; font-weight: 700; color: var(--muted); }
.facets { display: none; margin-left: auto; }
.facets ul { display: flex; list-style: none; margin: 0; padding: 0; }
.facets li + li { margin-left: -14px; }
.facet {
  display: block; padding: .78rem 1.65rem; text-decoration: none; color: var(--ink); font-weight: 700; font-size: .96rem;
  background: color-mix(in srgb, var(--h) 20%, #fff);
  clip-path: polygon(0 0, 100% 0, calc(100% - 16px) 100%, 16px 100%);
  transition: background-color .2s ease;
}
.facets li:nth-child(even) .facet { clip-path: polygon(16px 0, calc(100% - 16px) 0, 100% 100%, 0 100%); }
.facet:hover { background: color-mix(in srgb, var(--h) 45%, #fff); color: var(--ink); }
.facet[aria-current="page"] { background: var(--hf); color: var(--ht); }
.facet:focus-visible { outline: none; }
.facet:focus-visible span { outline: 3px solid var(--ink); outline-offset: 3px; border-radius: 3px; }
.hdr-call {
  display: none; align-items: center; gap: .4rem; flex: none; padding: .6rem .9rem; border-radius: var(--r);
  border: 2px solid var(--ink); color: var(--ink); font-weight: 700; text-decoration: none;
}
.hdr-call:hover { background: var(--sun); color: var(--ink); }
.menu-btn {
  margin-left: auto; display: inline-flex; align-items: center; gap: .45rem; min-height: 46px; padding: .55rem 1rem;
  border: 2px solid var(--ink); border-radius: var(--r); background: var(--sun); color: var(--ink);
  font: 700 1rem var(--body); cursor: pointer;
}
.tri-band {
  height: 12px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='12' viewBox='0 0 120 12'%3E%3Cpath fill='%23E0368C' d='M0 12L12 0L24 12Z'/%3E%3Cpath fill='%2319A7CE' d='M24 12L36 0L48 12Z'/%3E%3Cpath fill='%239BCB3B' d='M48 12L60 0L72 12Z'/%3E%3Cpath fill='%23FFC83D' d='M72 12L84 0L96 12Z'/%3E%3Cpath fill='%236C4AD6' d='M96 12L108 0L120 12Z'/%3E%3Cpath fill='%236C4AD6' d='M-12 0L0 12L12 0Z'/%3E%3Cpath fill='%23FFC83D' d='M12 0L24 12L36 0Z'/%3E%3Cpath fill='%23E0368C' d='M36 0L48 12L60 0Z'/%3E%3Cpath fill='%2319A7CE' d='M60 0L72 12L84 0Z'/%3E%3Cpath fill='%239BCB3B' d='M84 0L96 12L108 0Z'/%3E%3Cpath fill='%236C4AD6' d='M108 0L120 12L132 0Z'/%3E%3C/svg%3E") repeat-x;
  background-size: 120px 12px;
}
@media (min-width: 576px) { .hdr-call { display: inline-flex; } }
@media (min-width: 992px) {
  .facets { display: block; }
  .menu-btn { display: none; }
  .hdr-call { margin-left: .4rem; }
  .hdr-call span { display: none; }
}
@media (min-width: 1200px) { .hdr-call span { display: inline; } }
@media (min-width: 992px) and (max-width: 1199.98px) { .facet { padding: .74rem 1.3rem; font-size: .92rem; } .brand-s { display: none; } }

/* ------------------------------------------------------------ phone sheet: turns like a kaleidoscope */
.sheet { position: fixed; inset: 0; z-index: 100; background: var(--ground); overflow: auto; }
.sheet.open { animation: turn-in .55s cubic-bezier(.16, 1, .3, 1) both; }
.sheet.open .sheet-scope .mandala { animation: scope-in .7s cubic-bezier(.16, 1, .3, 1) both; }
@keyframes turn-in { from { clip-path: circle(0 at calc(100% - 48px) 38px); } to { clip-path: circle(150% at calc(100% - 48px) 38px); } }
@keyframes scope-in { from { transform: rotate(-120deg) scale(.6); } to { transform: none; } }
.sheet-scope { position: absolute; right: -38vw; bottom: -30vw; width: 100vw; max-width: 560px; pointer-events: none; }
.sheet-in { position: relative; padding: 1rem 1.25rem 2rem; max-width: 560px; }
.sheet-top { display: flex; align-items: center; justify-content: space-between; min-height: 60px; }
.sheet-t { font-family: var(--display); font-size: 1.3rem; }
.sheet-close { display: inline-flex; align-items: center; gap: .4rem; min-height: 46px; padding: .5rem .9rem; border: 2px solid var(--ink); border-radius: var(--r); background: var(--paper); font: 700 1rem var(--body); color: var(--ink); cursor: pointer; }
.sheet-list { list-style: none; margin: 1rem 0 1.5rem; padding: 0; }
.sheet-a { display: flex; align-items: center; gap: .8rem; padding: .55rem 0; font-family: var(--display); font-size: 1.6rem; color: var(--ink); text-decoration: none; }
.sheet-a::before { content: ""; width: 22px; height: 20px; flex: none; background: var(--h); clip-path: polygon(50% 0, 100% 100%, 0 100%); }
.sheet-a[aria-current="page"] { text-decoration: underline; text-decoration-color: var(--h); text-decoration-thickness: .14em; }
.sheet-acts { display: flex; flex-direction: column; gap: .7rem; max-width: 340px; }
body.menu-open { overflow: hidden; }

/* ------------------------------------------------------------ prism rule */
.prism-rule { display: flex; height: 8px; }
.prism-rule span { flex: 1; }
.prism-rule span:nth-child(1) { background: var(--mag); }
.prism-rule span:nth-child(2) { background: var(--sun); }
.prism-rule span:nth-child(3) { background: var(--lime); }
.prism-rule span:nth-child(4) { background: var(--cyan); }
.prism-rule span:nth-child(5) { background: var(--vio); }

/* ------------------------------------------------------------ hero */
.hero { padding: 2.4rem 0 3.2rem; overflow: hidden; }
.hero h1 { font-size: clamp(2.5rem, 4.6vw + 1.1rem, 4.6rem); margin-bottom: .35em; }
.hero-hi { font-weight: 700; color: var(--mag-ink); font-size: 1.1rem; }
.hero-acts { display: flex; flex-wrap: wrap; gap: .7rem; margin: 1.4rem 0 1.2rem; }
.hero-facts { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: .5rem 1.4rem; }
.hero-facts li { display: flex; align-items: center; gap: .45rem; font-size: .96rem; }
.hero-facts .ic { color: var(--mag-ink); }
.scope { position: relative; width: min(100%, 560px); margin: 0 auto; aspect-ratio: 1; }
.scope .mandala { width: 100%; height: 100%; filter: drop-shadow(0 18px 30px rgba(108, 74, 214, .22)); }
.lens { position: absolute; left: 28%; top: 28%; width: 44%; height: 44%; border-radius: 50%; overflow: hidden; }
.lens img { width: 100%; height: 100%; object-fit: cover; }
.mandala .ring { transform-box: view-box; transform-origin: 0 0; }
.scope .ring-a { animation: spin 140s linear infinite; }
.scope .ring-b { animation: spin 200s linear infinite reverse; }
@keyframes spin { to { transform: rotate(360deg); } }
.photo-note { text-align: center; font-size: .82rem; color: var(--muted); margin: .6rem 0 0; }
@media (max-width: 991.98px) { .scope { width: min(100%, 400px); } .hero { padding-top: 1.6rem; } }

/* ------------------------------------------------------------ sections */
.sec { padding: clamp(3rem, 6vw, 5.5rem) 0; }
.sec.tint { background: var(--paper); }
.sec-lead { color: var(--muted); max-width: 62ch; margin-bottom: 1.6rem; }
.more { margin-top: 1.2rem; font-weight: 700; }

/* facts as facets: lit = verified, ghost = waiting for the school (seven-segment raise) */
.fcs { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: .7rem; }
.fc {
  display: flex; flex-direction: column; justify-content: center; min-height: 72px; padding: .7rem 2rem;
  clip-path: polygon(16px 0, calc(100% - 16px) 0, 100% 50%, calc(100% - 16px) 100%, 16px 100%, 0 50%);
  line-height: 1.3;
}
.fc-k { font-weight: 700; font-size: .98rem; }
.fc-v { font-size: .9rem; }
.fc-lit { background: color-mix(in srgb, var(--h) 32%, #fff); }
.fc-ghost { background: repeating-linear-gradient(-45deg, var(--hatch) 0 7px, var(--ground) 7px 14px); color: var(--muted); }
.fc-ghost .fc-k { color: var(--ink); }

/* placeholders */
.tbc { border: 2px dashed var(--line); border-radius: var(--r); background: var(--paper); padding: .9rem 1.1rem; color: var(--muted); max-width: 62ch; margin-bottom: 1.6rem; }
.tbc-k { font-weight: 700; color: var(--vio-dark); }
.sample-tag { display: inline-block; border: 2px solid var(--vio); color: var(--vio-dark); border-radius: 999px; padding: .15rem .8rem; font-size: .85rem; font-weight: 700; margin-bottom: 1rem; }

/* ------------------------------------------------------------ shapes we learn: honeycomb tabs */
.comb { display: grid; grid-template-columns: repeat(7, 1fr); column-gap: 6px; max-width: 560px; }
.hx { grid-column: span 2; border: 0; padding: 0; background: none; cursor: pointer; position: relative; color: var(--ink); }
.hx:nth-child(1) { grid-column: 1 / span 2; }
.hx:nth-child(2) { grid-column: 3 / span 2; }
.hx:nth-child(3) { grid-column: 5 / span 2; }
.hx:nth-child(4) { grid-column: 2 / span 2; margin-top: -9%; }
.hx:nth-child(5) { grid-column: 4 / span 2; margin-top: -9%; }
.hx:nth-child(6) { grid-column: 6 / span 2; margin-top: -9%; }
.hx-cell {
  display: block; aspect-ratio: 1 / 1.1547; padding: 6px; background: var(--hatch);
  clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%);
  transition: background-color .2s ease;
}
.hx-cell img { width: 100%; height: 100%; object-fit: cover; clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%); filter: saturate(.8); transition: filter .2s ease; }
.hx-t {
  position: absolute; left: 50%; bottom: 22%; transform: translateX(-50%); white-space: nowrap;
  background: var(--paper); border: 2px solid var(--ink); border-radius: 999px; padding: .1rem .6rem; font-weight: 700; font-size: .85rem;
}
.hx:hover .hx-cell { background: color-mix(in srgb, var(--h) 60%, #fff); }
.hx[aria-selected="true"] .hx-cell { background: var(--h); }
.hx[aria-selected="true"] .hx-cell img { filter: none; }
.hx[aria-selected="true"] .hx-t { background: var(--hf); color: var(--ht); border-color: var(--hf); }
.hx:focus-visible { outline: none; }
.hx:focus-visible .hx-t { outline: 3px solid var(--vio); outline-offset: 2px; }
.tp { background: var(--paper); border-radius: var(--r-lg); padding: 1.8rem 1.8rem 1.4rem; box-shadow: var(--shadow); }
.tp-h::before { content: ""; display: inline-block; width: 28px; height: 24px; margin-right: .6rem; background: var(--h); clip-path: polygon(50% 0, 100% 100%, 0 100%); vertical-align: -2px; }
.tp-h { font-size: 1.7rem; }
.tp-hi { font-family: var(--body); font-weight: 700; font-size: 1.05rem; color: var(--hk); margin-left: .4rem; }
.tp-notice { background: color-mix(in srgb, var(--h) 16%, #fff); border-radius: var(--r); padding: .8rem 1rem; }
.tp-k { font-weight: 700; }
.tp-alt { font-size: .85rem; color: var(--muted); margin: 0; }
@media (max-width: 575.98px) { .hx-t { font-size: .72rem; padding: 0 .4rem; bottom: 20%; } }

/* ------------------------------------------------------------ colour-wheel sample day */
.day { background: var(--paper); }
.wheel-wrap { position: relative; max-width: 400px; margin: 0 auto; }
.wheel { width: 100%; height: auto; overflow: visible; }
.seg { cursor: pointer; transform-box: view-box; transform-origin: 0 0; transition: transform .3s cubic-bezier(.16, 1, .3, 1); }
.seg text { font: 400 20px var(--display); text-anchor: middle; fill: var(--ink); pointer-events: none; }
.seg:nth-child(5n+1) text, .seg:nth-child(5) text { fill: #fff; }
.seg.on { transform: scale(1.07); }
.seg.on .seg-p { stroke: var(--ink); stroke-width: 4; }
.wheel-c { position: absolute; left: 50%; top: 50%; width: 38%; transform: translate(-50%, -50%); margin: 0; text-align: center; display: flex; flex-direction: column; align-items: center; line-height: 1.15; }
.wheel-n { font-family: var(--display); font-size: 1.8rem; }
.wheel-t { font-weight: 700; font-size: .9rem; }
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: .45rem; }
.step {
  width: 100%; display: grid; grid-template-columns: 26px 1fr; column-gap: .8rem; text-align: left; padding: .65rem .9rem;
  border: 2px solid transparent; border-radius: var(--r); background: var(--ground); color: var(--ink); font: inherit; cursor: pointer;
}
.step::before { content: ""; grid-row: span 2; width: 22px; height: 20px; margin-top: .2rem; background: var(--h); clip-path: polygon(50% 0, 100% 100%, 0 100%); }
.step-t { font-weight: 700; }
.step-d { color: var(--muted); font-size: .94rem; }
.step:hover { border-color: var(--line); }
.step[aria-pressed="true"] { border-color: var(--ink); background: color-mix(in srgb, var(--h) 18%, #fff); }

/* ------------------------------------------------------------ voices + prism-fold FAQ */
.voice { margin: 0 0 1rem; background: var(--paper); border-radius: var(--r-lg); padding: 1.6rem; box-shadow: var(--shadow); }
.voice-stars { display: flex; gap: .2rem; color: var(--ink); margin-bottom: .6rem; }
.voice-stars .ic { fill: var(--sun); width: 1.4rem; height: 1.4rem; }
.voice blockquote { margin: 0 0 .8rem; }
.voice blockquote p { font-size: 1.45rem; font-weight: 500; line-height: 1.35; margin: 0; }
.voice figcaption { font-size: .92rem; }
.voice-meta { font-size: .94rem; color: var(--muted); max-width: 48ch; }
.folds { border-bottom: 2px solid var(--ink); }
.fold { border-top: 2px solid var(--ink); }
.fold summary { list-style: none; display: flex; align-items: center; gap: .9rem; padding: 1rem .2rem; cursor: pointer; font-weight: 700; font-size: 1.06rem; }
.fold summary::-webkit-details-marker { display: none; }
.fold-prism { width: 26px; height: 23px; flex: none; background: var(--ink); clip-path: polygon(50% 0, 100% 100%, 0 100%); transition: transform .35s cubic-bezier(.16, 1, .3, 1), background-color .2s; }
.fold summary:hover .fold-prism { background: var(--vio); }
.fold[open] .fold-prism { transform: rotate(90deg); background: var(--vio); }
.fold-a { position: relative; padding: .2rem .2rem 1.1rem 2.9rem; }
.fold-a::before { content: ""; position: absolute; left: .55rem; top: 0; bottom: 1rem; width: 6px; background: linear-gradient(var(--mag) 0 20%, var(--sun) 20% 40%, var(--lime) 40% 60%, var(--cyan) 60% 80%, var(--vio) 80%); }
.fold[open] .fold-a { animation: unfold .45s cubic-bezier(.16, 1, .3, 1) both; }
@keyframes unfold { from { clip-path: inset(0 0 100% 0); opacity: 0; } to { clip-path: inset(0 0 0 0); opacity: 1; } }
.fold-a p { margin: 0; max-width: 62ch; }

/* ------------------------------------------------------------ enquiry */
.join { background: color-mix(in srgb, var(--vio) 10%, var(--ground)); }
.enq { display: grid; gap: 1.5rem; }
@media (min-width: 992px) { .enq { grid-template-columns: 2fr 1fr; align-items: start; } }
.enq-main { background: var(--paper); border-radius: var(--r-lg); padding: clamp(1.3rem, 3vw, 2.2rem); border: 2px solid var(--ink); box-shadow: var(--shadow); }
.enq-sub { color: var(--muted); }
.enq-side { background: var(--ink); color: #EDEBF5; border-radius: var(--r-lg); padding: 1.6rem; }
.side-h { font-family: var(--display); font-size: 1.25rem; color: var(--sun); }
.side-list { padding-left: 1.2rem; }
.side-list li { margin-bottom: .5rem; }
.side-call a { color: var(--sun); font-weight: 700; }
.side-call a:focus-visible, .foot a:focus-visible, .act-bar a:focus-visible { outline-color: var(--sun); }
.field label { display: block; font-weight: 700; margin-bottom: .3rem; }
.opt { font-weight: 400; color: var(--muted); }
.field input, .field select, .field textarea {
  width: 100%; min-height: 48px; padding: .65rem .8rem; border: 2px solid var(--line); border-radius: var(--r);
  background: var(--paper); color: var(--ink); font: inherit;
}
.field input::placeholder, .field textarea::placeholder { color: #67637C; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--vio); box-shadow: 0 0 0 3px color-mix(in srgb, var(--vio) 30%, transparent); }
.field [aria-invalid="true"] { border-color: var(--mag-ink); }
.hint { font-size: .85rem; color: var(--muted); margin: .3rem 0 0; }
.err { font-size: .9rem; color: var(--mag-ink); font-weight: 700; margin: .3rem 0 0; }
.hp { position: absolute; left: -9999px; }
.form-summary { border: 2px solid var(--mag-ink); border-radius: var(--r); padding: .8rem 1rem; margin-bottom: 1rem; color: var(--mag-ink); font-weight: 700; }
.form-foot { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem; margin-top: 1.4rem; }
.form-foot p { margin: 0; }
.form-ok, .form-fail { margin: 1rem 0 0; padding: .9rem 1rem; border-radius: var(--r); }
.form-ok { display: flex; gap: .6rem; background: color-mix(in srgb, var(--lime) 28%, #fff); }
.form-fail { background: color-mix(in srgb, var(--mag) 14%, #fff); color: var(--mag-ink); font-weight: 700; }

/* ------------------------------------------------------------ inner bands */
.band { padding: 2.6rem 0 2.8rem; background: color-mix(in srgb, var(--h) 16%, var(--ground)); }
.band .lead { margin-bottom: .6rem; }
.band-hi { font-weight: 700; color: var(--hk); }
.band-vio .band-hi, .band-vio .crumbs { color: var(--vio-dark); }
.crumbs { display: flex; gap: .5rem; font-size: .9rem; margin-bottom: .8rem; }
.crumbs a { color: var(--ink); }
.band-aside { display: flex; justify-content: center; }
.mini-scope { width: 190px; height: 190px; }
@media (max-width: 991.98px) { .band-aside { display: none; } }
.prose { max-width: 66ch; }

.hex-photo { margin: 0; }
.hex-photo img { width: 100%; aspect-ratio: 1 / 1.1547; object-fit: cover; clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%); }
.hex-photo { background: none; position: relative; }
.hex-photo::before { content: ""; position: absolute; inset: -10px; z-index: -1; background: var(--h); clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%); }
.hex-photo figcaption { font-size: .82rem; color: var(--muted); text-align: center; margin-top: 2rem; }
.hex-photo { max-width: 400px; margin-inline: auto; isolation: isolate; }

/* classes: a spectrum fanning out */
.spectrum { list-style: none; margin: 0 0 2rem; padding: 0; display: grid; gap: 8px; }
.spec { display: grid; gap: .1rem 1.4rem; padding: 1rem 1.4rem; background: var(--hf); color: var(--ht); clip-path: polygon(0 0, 100% 0, calc(100% - 22px) 100%, 0 100%); }
@media (min-width: 768px) {
  .spec { grid-template-columns: 1.3fr 1fr 1fr; align-items: center; }
  .spec:nth-child(2) { margin-left: 4%; }
  .spec:nth-child(3) { margin-left: 8%; }
  .spec:nth-child(4) { margin-left: 12%; }
}
.spec-t { font-family: var(--display); font-size: 1.2rem; }
.spec-s { font-size: .9rem; font-weight: 700; }

/* admissions */
.adm-steps { list-style: none; margin: 0 0 2rem; padding: 0; display: grid; gap: 1.4rem; }
@media (min-width: 768px) { .adm-steps { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1200px) { .adm-steps { grid-template-columns: repeat(4, 1fr); } }
.adm-step h3 { margin: .8rem 0 .4rem; }
.adm-n { display: grid; place-items: end center; width: 64px; height: 56px; padding-bottom: 4px; background: var(--vio); color: #fff; font-family: var(--display); font-size: 1.4rem; clip-path: polygon(50% 0, 100% 100%, 0 100%); }
.adm-step:nth-child(2) .adm-n { background: var(--mag-ink); }
.adm-step:nth-child(3) .adm-n { background: var(--cyan); color: var(--ink); }
.adm-step:nth-child(4) .adm-n { background: var(--lime); color: var(--ink); }
.docs { list-style: none; padding: 0; margin: 0; }
.docs li { display: flex; gap: .7rem; align-items: center; padding: .55rem 0; border-bottom: 1px solid var(--hatch); }
.docs li::before { content: ""; width: 16px; height: 14px; flex: none; background: var(--vio); clip-path: polygon(50% 0, 100% 100%, 0 100%); }

/* campus */
.gallery { list-style: none; margin: 0; padding: 0; display: grid; gap: 1rem; grid-template-columns: 1fr; }
@media (min-width: 768px) { .gallery { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 992px) { .gallery { grid-template-columns: repeat(4, 1fr); } }
.g-btn { position: relative; display: block; width: 100%; padding: 0; border: 0; background: none; cursor: zoom-in; border-radius: 14px; }
.g-btn img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 14px; }
.g-zoom { position: absolute; right: .6rem; bottom: .6rem; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--paper); color: var(--ink); }
.lightbox { border: 0; padding: 0; background: var(--ink); color: #fff; border-radius: var(--r-lg); max-width: min(960px, 94vw); width: 100%; }
.lightbox::backdrop { background: rgba(30, 27, 46, .8); }
.lightbox figure { margin: 0; }
.lightbox img { width: 100%; max-height: 74vh; object-fit: contain; background: #000; }
.lightbox figcaption { padding: .8rem 1rem 0; font-size: .92rem; }
.lb-ctrl { display: flex; gap: .5rem; padding: .8rem 1rem 1rem; }
.lb-ctrl button { display: inline-flex; align-items: center; gap: .4rem; min-height: 44px; min-width: 44px; justify-content: center; padding: .4rem .8rem; border: 2px solid #fff; border-radius: var(--r); background: transparent; color: #fff; font: 700 1rem var(--body); cursor: pointer; }
.lb-close { margin-left: auto; }
.lb-ctrl button:focus-visible { outline-color: var(--sun); }
.notices { list-style: none; margin: 0; padding: 0; display: grid; gap: 1rem; }
@media (min-width: 768px) { .notices { grid-template-columns: repeat(3, 1fr); } }
.notice { background: var(--paper); border-radius: var(--r-lg); padding: 1.3rem; box-shadow: var(--shadow); }

/* contact */
.reach { list-style: none; margin: 0 0 2rem; padding: 0; display: grid; gap: .7rem; }
.reach-a { display: flex; align-items: center; gap: 1rem; padding: .9rem 1.1rem; background: var(--paper); border-radius: var(--r); color: var(--ink); text-decoration: none; box-shadow: var(--shadow); }
.reach-a .ic { box-sizing: content-box; padding: .55rem; border-radius: 50%; background: color-mix(in srgb, var(--h) 35%, #fff); }
.reach-a span { display: flex; flex-direction: column; }
.reach-a .ic { width: 1.6rem; height: 1.6rem; }
.reach-a:hover { background: color-mix(in srgb, var(--h) 16%, #fff); color: var(--ink); }
.map-card { border-radius: var(--r-lg); background: var(--paper); padding: 1.4rem; box-shadow: var(--shadow); }
.map-card iframe { width: 100%; height: 380px; border: 0; border-radius: var(--r); display: block; margin-top: 1rem; }
.map-addr { display: flex; gap: .7rem; }
.map-addr .ic { width: 1.6rem; height: 1.6rem; color: var(--mag-ink); }
.nf { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: .7rem; }

/* ------------------------------------------------------------ footer + phone bar */
.foot { background: var(--ink); color: #E3E0EE; padding: 0 0 2rem; }
.foot-rule { margin-bottom: 3rem; }
.foot a { color: #fff; }
.foot a:hover, .act-bar a:hover, .side-call a:hover { color: var(--sun); }
.foot-logo { width: 250px; height: auto; }
.foot-note { font-size: .82rem; color: #C9C5DA; margin: .5rem 0 1.2rem; }
.foot-line { display: flex; gap: .6rem; align-items: flex-start; }
.foot-line .ic { color: var(--sun); margin-top: .2rem; }
.foot-h { font-size: 1.6rem; color: var(--sun); }
.foot-links { list-style: none; padding: 0; margin: 0; columns: 2; }
.foot-links li { margin-bottom: .45rem; }
.foot-small { font-size: .9rem; color: #C9C5DA; }
.foot-base { border-top: 1px solid #3A3650; margin-top: 2rem; padding-top: 1.2rem; font-size: .85rem; color: #C9C5DA; }
.act-bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; display: grid; grid-template-columns: repeat(3, 1fr); background: var(--ink); border-top: 4px solid var(--sun); }
.act-bar a { display: flex; flex-direction: column; align-items: center; gap: .1rem; padding: .5rem 0 .55rem; color: #fff; text-decoration: none; font-size: .82rem; font-weight: 700; }
.act-bar a + a { border-left: 1px solid #3A3650; }
@media (max-width: 991.98px) { body { padding-bottom: 66px; } }
@media (min-width: 992px) { .act-bar { display: none; } }

/* ------------------------------------------------------------ reduced motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .sheet.open { animation: fade-in .2s linear both !important; }
}
@keyframes fade-in { from { opacity: 0; } to { opacity: 1; } }

/* sample-day wheel: one copy above the list on phones, one beside it on desktop */
.wheel-sm { max-width: 300px; margin: 0 auto 1.4rem; }
.wheel-col { display: none; }
@media (min-width: 992px) { .wheel-sm { display: none; } .wheel-col { display: block; } }
@media (max-width: 575.98px) {
  .fcs { display: grid; grid-template-columns: 1fr 1fr; }
  .fc-lit:nth-child(2) { grid-column: 1 / -1; }
  .fc { padding: .6rem 1.5rem; }
  .fc-v { font-size: .84rem; }
}
@media (max-width: 419.98px) {
  .hdr-row { gap: .5rem; }
  .brand { gap: .45rem; }
  .brand img { width: 40px; height: 40px; }
  .brand-n { font-size: .95rem; }
  .brand-s { font-size: .72rem; }
  .menu-btn { padding: .5rem .7rem; }
  .hx-t { white-space: normal; text-align: center; line-height: 1.1; max-width: 92%; width: max-content; }
}
