/* Lovely Little Preparatory School & Day-Care — "Safe hands, happy days" (warm retro 70s)
   Palette (pinned): cream #FBF3E4, ink brown #3B2A1E, mustard #D9A23A, burnt orange #B85A26, olive #6F7F33.
   Derived tints only: cream-2 #F3E2C2, cream-3 #FFFAF1, ink-2 #5E4A3A, orange-deep #9E4A1C (small text on cream, 5.5:1),
   on-dark #E9CFA0. Layout grid: Bootstrap 5.3.3 grid (critical rules inlined in <head>). */

@font-face {
  font-family: "Outfit Fallback";
  src: local("Arial");
  size-adjust: 100%;
  ascent-override: 100%;
  descent-override: 26%;
}
@font-face {
  font-family: "DynaPuff Fallback";
  src: local("Arial Rounded MT Bold"), local("Arial");
  size-adjust: 108%;
  ascent-override: 92%;
  descent-override: 24%;
}

:root {
  --cream: #FBF3E4;
  --cream-2: #F3E2C2;
  --cream-3: #FFFAF1;
  --ink: #3B2A1E;
  --ink-2: #5E4A3A;
  --mustard: #D9A23A;
  --orange: #B85A26;
  --orange-deep: #9E4A1C;
  --olive: #6F7F33;
  --on-dark: #E9CFA0;
  --display: "DynaPuff", "DynaPuff Fallback", system-ui, sans-serif;
  --body: "Outfit", "Outfit Fallback", system-ui, sans-serif;
  --r-pill: 999px;
  --r-lg: 28px;
  --r-md: 18px;
  --line: 2px solid var(--ink);
  --ease: cubic-bezier(.16, 1, .3, 1);
  --header-h: 84px;
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-padding-top: calc(var(--header-h) + 16px); -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font: 400 1.0625rem/1.6 var(--body);
  font-variant-numeric: lining-nums;
  scrollbar-color: var(--orange) var(--cream-2);
}
main { display: block; overflow-x: clip; }
img { max-width: 100%; height: auto; display: block; }
::selection { background: var(--mustard); color: var(--ink); }
input, select, textarea, button { font: inherit; color: inherit; caret-color: var(--orange); }
a { color: var(--orange-deep); text-decoration-thickness: 2px; text-underline-offset: .18em; }
a:hover { color: var(--ink); }
:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; border-radius: 6px; }
.on-dark :focus-visible, .band-dark :focus-visible, .site-footer :focus-visible { outline-color: var(--mustard); }
p { margin: 0 0 1em; text-wrap: pretty; }
h1, h2, h3 { font-family: var(--display); font-weight: 600; line-height: 1.12; margin: 0 0 .5em; letter-spacing: -.01em; text-wrap: balance; }
h1 { font-size: clamp(2.35rem, 1.6rem + 3.6vw, 4.4rem); }
h2 { font-size: clamp(1.85rem, 1.4rem + 1.9vw, 2.9rem); }
h3 { font-size: clamp(1.25rem, 1.1rem + .6vw, 1.55rem); font-weight: 500; }
.lead { font-size: clamp(1.1rem, 1rem + .4vw, 1.3rem); color: var(--ink-2); max-width: 36em; }
.hi { font-family: var(--body); font-weight: 500; color: var(--orange-deep); font-size: 1.15rem; }
.measure { max-width: 40em; }
.small { font-size: .95rem; }
.muted { color: var(--ink-2); }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.skip {
  position: absolute; left: 16px; top: -100px; z-index: 100;
  background: var(--ink); color: var(--cream); padding: 12px 18px; border-radius: var(--r-pill); font-weight: 600;
}
.skip:focus { top: 12px; color: var(--cream); }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55em;
  min-height: 50px; padding: .7em 1.35em; border-radius: var(--r-pill);
  border: var(--line); background: var(--cream-3); color: var(--ink);
  font-weight: 600; font-size: 1.02rem; line-height: 1.15; text-decoration: none; cursor: pointer;
  transition: transform .25s var(--ease), background-color .2s;
}
.btn:hover { color: var(--ink); background: var(--cream-2); transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn-sun { background: var(--mustard); }
.btn-sun:hover { background: #E3B252; }
.btn-ink { background: var(--ink); color: var(--cream); }
.btn-ink:hover { background: var(--ink-2); color: var(--cream); }
.btn svg { width: 1.15em; height: 1.15em; flex: none; }
.btn[disabled] { opacity: .65; cursor: progress; transform: none; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 1.5rem 0 0; }
.textlink { font-weight: 600; }

/* icons: one stroke family */
.ico { width: 1.15em; height: 1.15em; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex: none; }

/* ---------- 70s stripes motif ---------- */
.stripes { display: grid; gap: 5px; }
.stripes span { display: block; height: 7px; border-radius: var(--r-pill); }
.stripes span:nth-child(1) { background: var(--orange); }
.stripes span:nth-child(2) { background: var(--mustard); }
.stripes span:nth-child(3) { background: var(--olive); }
.stripe-rule { width: min(220px, 50%); margin: 0 0 1.4rem; }

/* ---------- header ---------- */
.site-header { position: sticky; top: 0; z-index: 50; padding: 12px 0 0; }
.site-header::before { content: ""; position: absolute; inset: 0 0 -6px; background: var(--cream); z-index: -1; }
.bar {
  display: flex; align-items: center; gap: 16px;
  min-height: 64px; padding: 8px 10px 8px 14px;
  background: var(--cream-3); border: var(--line); border-radius: var(--r-pill);
}
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); margin-right: auto; min-width: 0; }
.brand img { width: 40px; height: 40px; }
.brand b { display: block; font-family: var(--display); font-weight: 600; font-size: 1.22rem; line-height: 1; }
.brand small { display: block; font-size: .78rem; color: var(--ink-2); margin-top: 3px; white-space: nowrap; }
.nav { display: none; }
.nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 2px; }
.nav a {
  display: inline-flex; align-items: center; gap: 6px; min-height: 44px; padding: 0 12px;
  border-radius: var(--r-pill); color: var(--ink); text-decoration: none; font-weight: 500;
}
.nav a:hover { background: var(--cream-2); }
.nav a .sun { width: 18px; height: 18px; display: none; }
.nav a[aria-current="page"] { font-weight: 600; }
.nav a[aria-current="page"] .sun { display: block; }
.bar-call { display: none; font-weight: 600; color: var(--ink); text-decoration: none; align-items: center; gap: 6px; min-height: 44px; padding: 0 8px; }
.bar .btn { min-height: 46px; padding: .55em 1.1em; }
.menu-btn { background: var(--ink); color: var(--cream); }
.menu-btn:hover { background: var(--ink-2); color: var(--cream); }
.icon-btn { width: 46px; min-height: 46px; padding: 0; }
@media (min-width: 1100px) {
  .nav { display: block; }
  .bar-call { display: inline-flex; }
  .menu-btn, .icon-btn { display: none; }
}
@media (max-width: 420px) {
  .brand small { display: none; }
  .bar .enq-sm { display: none; }
}

/* bottom sheet menu (phones) */
.sheet-scrim { position: fixed; inset: 0; background: rgba(59, 42, 30, .45); z-index: 80; opacity: 0; transition: opacity .3s; }
.sheet {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 90;
  max-height: 92vh; overflow-y: auto;
  background: var(--cream); border-top: var(--line); border-radius: 30px 30px 0 0;
  padding: 14px 20px calc(24px + env(safe-area-inset-bottom));
  transform: translateY(105%); transition: transform .42s var(--ease);
}
.sheet[hidden], .sheet-scrim[hidden] { display: none; }
.sheet.open { transform: none; }
.sheet-scrim.open { opacity: 1; }
.sheet .stripes { width: 72px; margin: 0 auto 14px; gap: 3px; }
.sheet .stripes span { height: 4px; }
.sheet-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 4px; }
.sheet-head p { margin: 0; font-family: var(--display); font-size: 1.2rem; }
.sheet ul { list-style: none; margin: 0 0 18px; padding: 0; }
.sheet li a {
  display: flex; align-items: center; gap: 12px; min-height: 56px; padding: 0 6px;
  font-family: var(--display); font-size: 1.5rem; color: var(--ink); text-decoration: none;
  border-bottom: 1px solid var(--cream-2);
}
.sheet li a .sun { width: 24px; height: 24px; visibility: hidden; }
.sheet li a[aria-current="page"] .sun { visibility: visible; }
.sheet .actions { margin-top: 0; }
.sheet .actions .btn { flex: 1 1 140px; }
@media (prefers-reduced-motion: reduce) { .sheet { transition: none; } .sheet-scrim { transition: none; } }

/* ---------- sections ---------- */
.section { padding: clamp(64px, 5vw + 40px, 120px) 0; }
.section-tight { padding: clamp(40px, 3vw + 24px, 72px) 0; }
.band-2 { background: var(--cream-2); }
.band-dark { background: var(--ink); color: var(--cream); }
.band-dark .lead, .band-dark .muted { color: var(--on-dark); }
.band-dark a { color: var(--mustard); }
.band-dark a:hover { color: var(--cream); }
.sec-head { margin-bottom: clamp(28px, 3vw, 48px); }
.sec-head p { max-width: 38em; }

/* rainbow edge between sections */
.rainbow-edge { height: 30px; background:
  linear-gradient(var(--orange) 0 0) 0 0 / 100% 8px no-repeat,
  linear-gradient(var(--mustard) 0 0) 0 11px / 100% 8px no-repeat,
  linear-gradient(var(--olive) 0 0) 0 22px / 100% 8px no-repeat; }

/* ---------- placeholder notes (unverified) ---------- */
.ph {
  border: 2px dashed var(--ink-2); border-radius: var(--r-md); padding: 16px 18px;
  background: var(--cream-3); color: var(--ink-2);
}
.ph strong { color: var(--ink); }
.ph .tag { display: inline-block; font-size: .85rem; font-weight: 600; color: var(--orange-deep); margin-bottom: 4px; }
.band-dark .ph { background: transparent; border-color: var(--on-dark); color: var(--on-dark); }
.band-dark .ph strong { color: var(--cream); }
.band-dark .ph .tag { color: var(--mustard); }
.src { font-size: .88rem; color: var(--ink-2); }
.band-dark .src { color: var(--on-dark); }

/* ---------- hero (home) ---------- */
.hero { padding: clamp(28px, 4vw, 64px) 0 clamp(56px, 6vw, 96px); }
.hero h1 { margin-bottom: .3em; }
.hero .hi { margin-bottom: .9em; }
.hero-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 18px; margin-top: 22px; font-size: .98rem; color: var(--ink-2); }
.stars { display: inline-flex; gap: 2px; color: var(--orange); vertical-align: -2px; }
.stars svg { width: 18px; height: 18px; fill: currentColor; }
.band-dark .stars { color: var(--mustard); }

.arch-wrap { position: relative; max-width: 480px; margin: 0 auto; }
.arch-sun {
  position: absolute; width: 34%; aspect-ratio: 1; border-radius: 50%; background: var(--mustard);
  right: -6%; top: 2%; z-index: 0;
}
.arch {
  position: relative; z-index: 1; aspect-ratio: 4 / 5; width: 100%;
  border-radius: 50% 50% 0 0 / 40% 40% 0 0;
}
.arch > i {
  position: absolute; display: block; border-radius: inherit; inset: 0;
  transform-origin: 50% 100%;
}
.arch > i:nth-child(1) { background: var(--orange); }
.arch > i:nth-child(2) { background: var(--cream); inset: 16px 16px 0; }
.arch > i:nth-child(3) { background: var(--mustard); inset: 24px 24px 0; }
.arch > i:nth-child(4) { background: var(--cream); inset: 40px 40px 0; }
.arch > i:nth-child(5) { background: var(--olive); inset: 48px 48px 0; }
.arch > i:nth-child(6) { background: var(--cream); inset: 64px 64px 0; }
.arch picture, .arch .arch-photo {
  position: absolute; inset: 72px 72px 0; border-radius: inherit; overflow: hidden; display: block;
}
.arch img { width: 100%; height: 100%; object-fit: cover; }
.arch-sill { position: relative; z-index: 2; height: 14px; background: var(--ink); border-radius: var(--r-pill); margin: 0 -14px; }
.arch-caption { font-size: .85rem; color: var(--ink-2); margin: 12px 0 0; text-align: center; }
@media (max-width: 575.98px) {
  .arch > i:nth-child(2) { inset: 11px 11px 0; }
  .arch > i:nth-child(3) { inset: 17px 17px 0; }
  .arch > i:nth-child(4) { inset: 28px 28px 0; }
  .arch > i:nth-child(5) { inset: 34px 34px 0; }
  .arch > i:nth-child(6) { inset: 45px 45px 0; }
  .arch picture, .arch .arch-photo { inset: 51px 51px 0; }
}
@media (prefers-reduced-motion: no-preference) {
  .js .arch > i, .js .arch picture { animation: rise .9s var(--ease) both; }
  .js .arch > i:nth-child(2) { animation-delay: .06s; }
  .js .arch > i:nth-child(3) { animation-delay: .12s; }
  .js .arch > i:nth-child(4) { animation-delay: .18s; }
  .js .arch > i:nth-child(5) { animation-delay: .24s; }
  .js .arch > i:nth-child(6) { animation-delay: .3s; }
  .js .arch picture { animation-delay: .36s; }
  .js .arch-sun { animation: sunup 1.4s var(--ease) .3s both; }
}
@keyframes rise { from { transform: scaleY(.0001); } to { transform: none; } }
@keyframes sunup { from { transform: translateY(40%); } to { transform: none; } }

/* ---------- services (home) ---------- */
.offer { list-style: none; margin: 0; padding: 0; border-top: var(--line); }
.offer li { border-bottom: var(--line); padding: 26px 0; }
.offer .row { align-items: center; }
.offer-name { display: flex; align-items: center; gap: 14px; margin: 0; }
.offer-name .dot { width: 22px; height: 22px; border-radius: 50%; flex: none; }
.offer li:nth-child(1) .dot { background: var(--orange); }
.offer li:nth-child(2) .dot { background: var(--mustard); }
.offer li:nth-child(3) .dot { background: var(--olive); }
.offer p { margin: 0; }
.offer-img { border-radius: 120px 120px 14px 14px; overflow: hidden; aspect-ratio: 4 / 3; }
.offer-img img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- day timeline (signature) ---------- */
.day { --tint: var(--cream); background: var(--tint); transition: background-color .6s var(--ease); }
.day-sky { position: relative; height: 120px; margin: 0 auto 8px; max-width: 760px; }
.day-sky svg { width: 100%; height: 100%; overflow: visible; }
.day-sky .arc { fill: none; stroke: var(--ink); stroke-width: 2; stroke-dasharray: 2 9; stroke-linecap: round; }
.day-sun { position: absolute; width: 38px; height: 38px; margin: -19px 0 0 -19px; left: 0; top: 100%; transition: left .6s var(--ease), top .6s var(--ease); }
.day-sun svg { width: 100%; height: 100%; }
.day-steps { display: flex; gap: 8px; overflow-x: auto; padding: 4px 4px 12px; margin: 0 -4px 22px; scroll-snap-type: x proximity; scrollbar-width: thin; }
.day-steps button {
  flex: none; scroll-snap-align: start; min-height: 46px; padding: 0 16px; border-radius: var(--r-pill);
  border: var(--line); background: var(--cream-3); font-weight: 600; cursor: pointer; white-space: nowrap;
}
.day-steps button[aria-selected="true"] { background: var(--ink); color: var(--cream); }
.day-panel { display: grid; gap: 24px; align-items: center; }
.day-panel[hidden] { display: none; }
.day-cols { display: grid; grid-template-columns: 9.5em 1fr; gap: 6px 22px; border-top: var(--line); padding-top: 18px; }
.day-cols dt { font-weight: 600; color: var(--ink-2); }
.day-cols dd { margin: 0; }
.day-cols h3 { margin: 0; }
.day-photo { border-radius: var(--r-lg); overflow: hidden; aspect-ratio: 3 / 2; border: var(--line); }
.day-photo img { width: 100%; height: 100%; object-fit: cover; }
.day-note { margin-top: 26px; }
@media (min-width: 768px) { .day-panel { grid-template-columns: 1.1fr 1fr; gap: 40px; } }
@media (max-width: 575.98px) { .day-cols { grid-template-columns: 1fr; } .day-cols dt { margin-top: 6px; } }
.no-js .day-panel[hidden] { display: grid; margin-bottom: 32px; }
@media (prefers-reduced-motion: reduce) { .day, .day-sun { transition: none; } }

/* ---------- peace of mind checklist (signature) ---------- */
.pom { display: grid; gap: 28px; }
@media (min-width: 992px) { .pom { grid-template-columns: repeat(2, 1fr); gap: 32px 56px; } }
.pom fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }
.pom legend { font-family: var(--display); font-size: 1.35rem; font-weight: 500; margin-bottom: 10px; padding: 0; }
.check { display: flex; gap: 14px; align-items: flex-start; padding: 12px 4px; border-bottom: 1px solid rgba(233, 207, 160, .35); cursor: pointer; min-height: 48px; }
.check input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.check .box { flex: none; width: 28px; height: 28px; border-radius: 9px; border: 2px solid var(--on-dark); display: grid; place-items: center; margin-top: 1px; }
.check .box svg { width: 18px; height: 18px; stroke: var(--ink); stroke-width: 3; fill: none; opacity: 0; }
.check input:checked + .box { background: var(--mustard); border-color: var(--mustard); }
.check input:checked + .box svg { opacity: 1; }
.check input:focus-visible + .box { outline: 3px solid var(--mustard); outline-offset: 3px; }
.pom-bar { display: flex; flex-wrap: wrap; gap: 12px 16px; align-items: center; margin-top: 32px; }
.pom-count { font-family: var(--display); font-size: 1.3rem; margin-right: auto; }
.band-dark .btn { border-color: var(--cream); }
.band-dark .btn:not(.btn-sun) { background: transparent; color: var(--cream); }
.band-dark .btn:not(.btn-sun):hover { background: var(--ink-2); }

/* ---------- pick-up card (signature) ---------- */
.pass {
  position: relative; background: var(--cream-3); border: var(--line); border-radius: var(--r-lg);
  padding: 46px clamp(20px, 3vw, 36px) 28px; max-width: 560px;
}
.pass::before { /* punched slot */
  content: ""; position: absolute; top: 16px; left: 50%; width: 64px; height: 12px; margin-left: -32px;
  border-radius: var(--r-pill); background: var(--cream); border: var(--line);
}
.lanyard { width: 36px; height: 54px; margin: 0 auto -6px; position: relative; z-index: 1; background:
  linear-gradient(90deg, var(--orange) 0 33.3%, var(--mustard) 0 66.6%, var(--olive) 0); border-radius: 0 0 6px 6px; }
.pass h3 { margin-bottom: 14px; }
.pass dl { margin: 0; display: grid; grid-template-columns: 8.5em 1fr; gap: 12px 18px; }
.pass dt { font-weight: 600; color: var(--ink-2); }
.pass dd { margin: 0; }
.pass .actions { margin-top: 22px; }
@media (max-width: 575.98px) { .pass dl { grid-template-columns: 1fr; gap: 2px; } .pass dd { margin-bottom: 10px; } }

/* ---------- reviews ---------- */
.voices { list-style: none; margin: 0; padding: 0; display: grid; gap: 34px; }
@media (min-width: 992px) { .voices { grid-template-columns: 1.3fr 1fr 1fr; gap: 48px; } }
.voices blockquote { margin: 0; }
.voices q { quotes: "\201C" "\201D"; font-size: 1.2rem; line-height: 1.5; display: block; }
.voices li:first-child q { font-family: var(--display); font-size: clamp(1.4rem, 1.2rem + .8vw, 1.9rem); line-height: 1.3; font-weight: 500; }
.voices figcaption, .voices cite { display: block; margin-top: 14px; font-style: normal; color: var(--on-dark); font-size: .95rem; }
.rating-big { display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; margin-bottom: 36px; }
.rating-big b { font-family: var(--display); font-size: 3.4rem; font-weight: 600; line-height: 1; color: var(--mustard); }

/* ---------- enquiry form (pick-up card styling) ---------- */
.form-card { background: var(--cream-3); border: var(--line); border-radius: var(--r-lg); padding: clamp(22px, 3vw, 40px); }
.form-card h2, .form-card h3 { margin-bottom: .3em; }
.field { margin-bottom: 18px; }
.field label { display: block; font-weight: 600; margin-bottom: 6px; }
.field .opt { font-weight: 400; color: var(--ink-2); }
.field input, .field select, .field textarea {
  width: 100%; min-height: 50px; padding: 12px 14px; border: var(--line); border-radius: 14px; background: #fff; color: var(--ink);
}
.field textarea { min-height: 110px; resize: vertical; }
.field input:focus-visible, .field select:focus-visible, .field textarea:focus-visible { outline: 3px solid var(--mustard); outline-offset: 1px; }
.field [aria-invalid="true"] { border-color: var(--orange-deep); background: #FFF4EC; }
.err { display: block; color: var(--orange-deep); font-weight: 600; font-size: .95rem; margin-top: 6px; }
.err:empty { display: none; }
.hint { display: block; color: var(--ink-2); font-size: .9rem; margin-top: 4px; }
.form-summary { border: 2px solid var(--orange-deep); border-radius: 14px; padding: 12px 16px; margin-bottom: 18px; background: #FFF4EC; }
.form-summary[hidden] { display: none; }
.form-status { border-radius: 16px; padding: 18px; margin-top: 18px; }
.form-status[hidden] { display: none; }
.form-status.ok { background: #EEF0DD; border: 2px solid var(--olive); }
.form-status.fail { background: #FFF4EC; border: 2px solid var(--orange-deep); }
.form-status h3 { font-size: 1.25rem; margin-bottom: .3em; }
.honey { position: absolute; left: -9999px; }
.form-foot { font-size: .9rem; color: var(--ink-2); margin: 14px 0 0; }

/* ---------- page heads: each inner page opens differently ---------- */
.ph-head { padding: clamp(28px, 4vw, 56px) 0 clamp(40px, 5vw, 72px); }
.crumbs { font-size: .92rem; margin-bottom: 14px; color: var(--ink-2); }
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; margin: 0; padding: 0; }
.crumbs li + li::before { content: "/"; margin-right: 6px; color: var(--ink-2); }
.band-dark .crumbs, .band-dark .crumbs li + li::before { color: var(--on-dark); }

/* About: sunburst behind a centred title */
.head-sunburst { position: relative; text-align: center; overflow: hidden; padding-bottom: 0; }
.head-sunburst .burst { position: relative; width: min(760px, 100%); aspect-ratio: 2 / 1; margin: 0 auto; border-radius: 760px 760px 0 0; overflow: hidden; background:
  repeating-conic-gradient(from -90deg at 50% 100%, var(--mustard) 0 7.5deg, var(--cream) 0 15deg); }
.head-sunburst .burst::after { content: ""; position: absolute; left: 50%; bottom: 0; width: 46%; aspect-ratio: 2 / 1; transform: translateX(-50%); background: var(--orange); border-radius: 400px 400px 0 0; }
.head-sunburst .title { position: relative; margin-top: -1px; padding: 28px 0 0; }
.head-sunburst .crumbs ol { justify-content: center; }
.head-sunburst .lead { margin-left: auto; margin-right: auto; }

/* Programmes: title left, three stripe pills right */
.head-pills { display: grid; gap: 12px; }
.head-pills a {
  display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 76px; padding: 0 28px;
  border-radius: var(--r-pill); color: var(--ink); text-decoration: none; font-family: var(--display); font-size: 1.6rem; border: var(--line);
}
.head-pills a:nth-child(1) { background: var(--orange); color: var(--cream); }
.head-pills a:nth-child(2) { background: var(--mustard); }
.head-pills a:nth-child(3) { background: var(--olive); color: var(--cream); }
.head-pills a:hover { transform: translateX(6px); }
.head-pills a span { font-family: var(--body); font-size: .95rem; font-weight: 500; }
@media (prefers-reduced-motion: no-preference) { .head-pills a { transition: transform .3s var(--ease); } }

/* Admissions: rainbow road of four stops */
.head-road h1 { max-width: 12em; }
.road { position: relative; margin-top: 36px; }
.road ol { list-style: none; margin: 0; padding: 0; display: grid; gap: 18px; counter-reset: s; }
@media (min-width: 768px) {
  .road ol { grid-template-columns: repeat(4, 1fr); gap: 20px; }
  .road::before { content: ""; position: absolute; left: 4%; right: 4%; top: 27px; height: 22px; background:
    linear-gradient(var(--orange) 0 0) 0 0 / 100% 6px no-repeat, linear-gradient(var(--mustard) 0 0) 0 8px / 100% 6px no-repeat, linear-gradient(var(--olive) 0 0) 0 16px / 100% 6px no-repeat; border-radius: 4px; }
}
.road li { position: relative; counter-increment: s; }
.road li::before { content: counter(s); display: grid; place-items: center; width: 76px; height: 76px; border-radius: 50%; background: var(--cream-3); border: var(--line); font-family: var(--display); font-size: 2rem; font-weight: 600; margin-bottom: 10px; position: relative; }
.road h2, .road h3 { margin-bottom: .2em; }
.road p { margin: 0; color: var(--ink-2); }

/* Campus life: arch window row */
.head-windows .wins { display: grid; grid-template-columns: 1fr 1.4fr 1fr; gap: 14px; align-items: end; }
.head-windows .win { border-radius: 200px 200px 0 0; overflow: hidden; border: var(--line); aspect-ratio: 3 / 4; background: var(--mustard); }
.head-windows .win:nth-child(1) { background: var(--orange); aspect-ratio: 3 / 5; }
.head-windows .win:nth-child(3) { background: var(--olive); aspect-ratio: 3 / 5; }
.head-windows .win img { width: 100%; height: 100%; object-fit: cover; }

/* Contact: dark split with big number */
.head-contact .bignum { font-family: var(--display); font-size: clamp(2.1rem, 1.4rem + 3vw, 3.6rem); font-weight: 600; color: var(--mustard); text-decoration: none; display: inline-block; margin: 6px 0 4px; }
.head-contact .bignum:hover { color: var(--cream); }

/* ---------- misc content ---------- */
.chips { list-style: none; display: flex; flex-wrap: wrap; gap: 10px; padding: 0; margin: 0; }
.chips li { border: var(--line); border-radius: var(--r-pill); padding: 8px 16px; background: var(--cream-3); font-weight: 500; }
.chips li b { color: var(--orange-deep); }
.facts { list-style: none; margin: 0; padding: 0; }
.facts li { display: grid; grid-template-columns: 1.5em 1fr; gap: 10px; padding: 12px 0; border-bottom: 1px solid var(--cream-2); }
.facts .mark { width: 22px; height: 22px; }
.facts .todo { color: var(--ink-2); }
.split-photo { border-radius: var(--r-lg); overflow: hidden; border: var(--line); }
.split-photo img { width: 100%; height: 100%; object-fit: cover; }
.prose h2 { margin-top: 1.4em; }
.prose h2:first-child { margin-top: 0; }
.prog { padding: clamp(40px, 4vw, 64px) 0; border-top: var(--line); }
.prog:first-of-type { border-top: 0; }
.prog-photo { border-radius: 160px 160px var(--r-md) var(--r-md); overflow: hidden; border: var(--line); aspect-ratio: 4 / 5; }
.prog-photo.wide { aspect-ratio: 3 / 2; border-radius: var(--r-lg); }
.prog-photo img { width: 100%; height: 100%; object-fit: cover; }
.age-table { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; }
.age-table th, .age-table td { text-align: left; padding: 12px 10px; border-bottom: 1px solid var(--cream-2); vertical-align: top; }
.age-table thead th { border-bottom: var(--line); font-family: var(--display); font-weight: 500; }
.docs { list-style: none; margin: 0; padding: 0; columns: 2 260px; column-gap: 40px; }
.docs li { break-inside: avoid; display: flex; gap: 10px; padding: 8px 0; }
.docs li svg { margin-top: 4px; color: var(--olive); }
.faq details { border-bottom: var(--line); }
.faq details:first-child { border-top: var(--line); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 16px; align-items: center; padding: 18px 2px; font-weight: 600; font-size: 1.1rem; min-height: 56px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .pm { flex: none; width: 30px; height: 30px; border-radius: 50%; border: var(--line); display: grid; place-items: center; transition: transform .25s var(--ease); }
.faq details[open] summary .pm { transform: rotate(45deg); background: var(--mustard); }
.faq .ans { padding: 0 2px 20px; max-width: 46em; }
.notice { border: var(--line); border-radius: var(--r-md); padding: 16px 18px; background: var(--cream-3); }
.notice .tag { font-weight: 600; color: var(--orange-deep); font-size: .9rem; }

/* gallery */
.gallery { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; list-style: none; margin: 0; padding: 0; }
@media (min-width: 768px) { .gallery { grid-template-columns: repeat(4, 1fr); } }
.gallery button { display: block; width: 100%; padding: 0; border: var(--line); border-radius: var(--r-md); overflow: hidden; cursor: zoom-in; background: var(--cream-2); aspect-ratio: 1; }
.gallery li:nth-child(odd) button { border-radius: 120px 120px var(--r-md) var(--r-md); }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.gallery button:hover img { transform: scale(1.04); }
.lightbox { border: 0; padding: 0; background: transparent; max-width: min(1000px, 94vw); width: 100%; }
.lightbox::backdrop { background: rgba(59, 42, 30, .85); }
.lb-inner { background: var(--cream); border-radius: var(--r-lg); padding: 14px; border: var(--line); }
.lb-inner img { width: 100%; max-height: 72vh; object-fit: contain; border-radius: 14px; background: var(--cream-2); }
.lb-bar { display: flex; gap: 10px; align-items: center; justify-content: space-between; flex-wrap: wrap; padding: 12px 4px 2px; }
.lb-bar p { margin: 0; font-size: .95rem; color: var(--ink-2); flex: 1 1 200px; }
.lb-bar .btn { min-height: 44px; padding: .4em 1em; }

/* map */
.map-box { border: var(--line); border-radius: var(--r-lg); overflow: hidden; background: var(--cream-3); }
.map-box iframe { display: block; width: 100%; height: 360px; border: 0; }
.map-fallback { padding: 22px; }

/* CTA band */
.cta { text-align: center; }
.cta h2 { max-width: 15em; margin-left: auto; margin-right: auto; }
.cta .actions { justify-content: center; }

/* ---------- footer ---------- */
.site-footer { background: var(--ink); color: var(--cream); padding: 0 0 32px; }
.site-footer .rainbow-edge { margin-bottom: 56px; }
.site-footer a { color: var(--cream); }
.site-footer a:hover { color: var(--mustard); }
.site-footer h2 { font-size: 1.3rem; font-weight: 500; color: var(--mustard); margin-bottom: .7em; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin-bottom: 4px; }
.site-footer li a { display: inline-flex; align-items: center; min-height: 40px; text-decoration: none; }
.site-footer address { font-style: normal; color: var(--on-dark); }
.site-footer .brand-foot { display: flex; gap: 12px; align-items: center; margin-bottom: 14px; }
.site-footer .brand-foot img { width: 52px; height: 52px; }
.site-footer .brand-foot b { font-family: var(--display); font-size: 1.4rem; font-weight: 600; }
.foot-note { border-top: 1px solid rgba(233, 207, 160, .3); margin-top: 40px; padding-top: 22px; font-size: .9rem; color: var(--on-dark); }
.foot-note p { margin-bottom: .5em; }

/* sticky phone action bar */
.dock { position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 40; display: flex; gap: 8px; padding: 8px; background: var(--ink); border-radius: var(--r-pill); }
.dock a { flex: 1; display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-height: 46px; border-radius: var(--r-pill); color: var(--cream); text-decoration: none; font-weight: 600; font-size: .95rem; }
.dock a.sun-fill { background: var(--mustard); color: var(--ink); }
body { padding-bottom: 82px; }
@media (min-width: 768px) { .dock { display: none; } body { padding-bottom: 0; } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-delay: 0s !important; transition-duration: .001ms !important; }
}
@media print {
  .site-header, .dock, .site-footer, .sheet { display: none !important; }
}

/* fixes after first look */
.band-dark .btn-sun, .band-dark .btn-sun:hover { color: var(--ink); }
.pass-wrap { max-width: 560px; }
@media (min-width: 992px) { .day-steps { justify-content: center; } .pass-wrap { margin-left: auto; } }
/* detector fixes */
.dock a:hover { color: var(--cream); background: var(--ink-2); }
.dock a.sun-fill:hover { color: var(--ink); background: #E3B252; }
.head-pills a:nth-child(1):hover, .head-pills a:nth-child(3):hover { color: var(--cream); }
.head-pills a:nth-child(2):hover { color: var(--ink); }
.pass .ph { border: 0; border-radius: 0; padding: 0 0 0 26px; background: none; position: relative; }
.pass .ph::before { content: ""; position: absolute; left: 0; top: 3px; width: 16px; height: 16px; border-radius: 50%; border: 2px dashed var(--ink-2); }
.prog p, .offer p { max-width: 34em; }
.h3 { font-size: clamp(1.25rem, 1.1rem + .6vw, 1.55rem); font-weight: 500; }
.voices figure { margin: 0; }
@media (max-width: 767.98px) { body { padding-bottom: 0; } .site-footer { padding-bottom: 110px; } }
@media (max-width: 767.98px) {
  .road li { display: grid; grid-template-columns: 58px 1fr; column-gap: 16px; align-items: start; }
  .road li::before { width: 56px; height: 56px; font-size: 1.5rem; grid-row: 1 / span 2; margin: 0; }
  .road li h2 { margin-top: 12px; }
}
