/* Kids Zone Play School: "Find your zone" (theme-park map). Bootstrap 5.3.3 grid only; everything else is here. */
:root {
  --paper: #F7F7F2;
  --ink: #1C1C28;
  --ink-2: #3B3B4C;
  --red: #D64A2B;
  --red-ink: #BD3D1E; /* the pinned red, deepened for text and for fills that carry small white text (AA) */
  --green: #3E8E41;
  --green-ink: #2C6B2F;
  --purple: #6C4AB6;
  --orange: #F29E1F;
  --post: #2A2A38;
  --line: #D9D6C8;
  --grass: #EEF2E4;
  --white: #FFFFFF;
  --r: 8px;
  --shadow: 0 10px 28px rgba(28, 28, 40, .14);
  --display: "Righteous", "Trebuchet MS", system-ui, sans-serif;
  --body: "Nunito", "Segoe UI", system-ui, sans-serif;
  --ease: cubic-bezier(.16, 1, .3, 1);
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 96px; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 1.0625rem/1.65 var(--body); }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--red-ink); text-decoration-thickness: 2px; text-underline-offset: 3px; }
a:not([class]):hover, .sp-ask:hover { color: #8F2E16; }
::selection { background: var(--orange); color: var(--ink); }
:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; border-radius: 4px; }
.site-foot :focus-visible, .sheet :focus-visible { outline-color: var(--orange); }
h1, h2, h3 { font-family: var(--display); font-weight: 400; line-height: 1.15; margin: 0 0 .5em; text-wrap: balance; }
h3 { font-size: 1.35rem; }
p { margin: 0 0 1em; }
.sr { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--ink); color: var(--white); padding: 10px 16px; border-radius: var(--r); font-weight: 800; }
.skip:focus { top: 12px; color: var(--white); }
.ic { width: 1.25em; height: 1.25em; flex: none; }
.quiet { color: var(--ink-2); }
html { scrollbar-color: var(--ink-2) var(--paper); }

/* ---------- zone colour helpers ---------- */
.z-red { --z: var(--red-ink); --zt: var(--white); }
.z-green { --z: var(--green-ink); --zt: var(--white); }
.z-greenink { --z: var(--green-ink); --zt: var(--white); }
.z-purple { --z: var(--purple); --zt: var(--white); }
.z-orange { --z: var(--orange); --zt: var(--ink); }
.z-ink { --z: var(--ink); --zt: var(--white); }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; gap: .55em; min-height: 48px; padding: .7em 1.2em; border-radius: var(--r);
  font: 800 1rem/1.2 var(--body); text-decoration: none; border: 2px solid transparent; cursor: pointer;
  transition: transform .2s var(--ease), background-color .2s, color .2s; }
.btn:active { transform: translateY(1px); }
.btn-red { background: var(--red-ink); color: var(--white); }
.btn-red:hover { background: #9E3218; color: var(--white); }
.btn-ink { background: var(--ink); color: var(--white); }
.btn-ink:hover { background: var(--post); color: var(--white); }
.btn-line { background: var(--white); color: var(--ink); border-color: var(--ink); }
.btn-line:hover { background: var(--ink); color: var(--white); }
.btn-line-light { color: var(--white); border-color: var(--white); background: transparent; }
.btn[disabled] { opacity: .65; cursor: progress; }
.acts { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 1.25rem; }

/* ---------- park signs (the world's main device) ---------- */
.sign { display: inline-block; background: var(--z); color: var(--zt); padding: .38em 1.5em .38em .7em; border-radius: 6px 0 0 6px;
  clip-path: polygon(0 0, calc(100% - .8em) 0, 100% 50%, calc(100% - .8em) 100%, 0 100%); }
.sec-head { margin: 0 0 1.75rem; }
.sec-head .sign { font-size: clamp(1.5rem, 1.1rem + 1.6vw, 2.2rem); margin: 0 0 .5rem; }
.sec-sub { max-width: 62ch; color: var(--ink-2); margin: .25rem 0 0; }
.h2-plain { font-size: clamp(1.5rem, 1.1rem + 1.4vw, 2.1rem); }
section { padding: clamp(3rem, 2rem + 4vw, 5.5rem) 0; }
.src-note { font-size: .92rem; color: var(--ink-2); margin-top: 1rem; max-width: 70ch; }
.stock { font-size: .88rem; color: var(--ink-2); margin: .75rem 0 2rem; }
.small-stock { margin: .5rem 0 0; text-align: right; }
.tbc { border: 2px dashed #8C8A7C; border-radius: var(--r); padding: 1rem 1.15rem; background: rgba(255, 255, 255, .6); color: var(--ink-2); margin: 0 0 1rem; }
.tbc-k { display: block; font-weight: 800; color: var(--ink); margin-bottom: .2rem; }
.ticks { list-style: none; padding: 0; margin: 0 0 1rem; }
.ticks li { display: flex; gap: .6em; align-items: flex-start; padding: .3em 0; }
.ticks .ic { color: var(--green-ink); margin-top: .2em; }
.framed { margin: 0; background: var(--white); padding: 10px; border: 3px solid var(--ink); border-radius: 12px; box-shadow: var(--shadow); }
.framed img { border-radius: 4px; width: 100%; }
.framed figcaption { font-size: .82rem; color: var(--ink-2); padding: .5rem .2rem 0; }
.more { margin-top: 2rem; }

/* ---------- header with signposts ---------- */
.site-head { position: sticky; top: 0; z-index: 40; background: rgba(247, 247, 242, .96); border-bottom: 3px solid var(--ink); }
@supports (backdrop-filter: blur(6px)) { .site-head { background: rgba(247, 247, 242, .88); backdrop-filter: blur(8px); } }
.head-row { display: flex; align-items: center; gap: 12px; min-height: 72px; }
.brand { flex: none; display: block; padding: 6px 0; }
.brand img { width: 196px; height: auto; }
.signposts { display: none; margin-left: auto; }
.signposts ul { display: flex; gap: 6px; list-style: none; margin: 0; padding: 0 0 0 14px; position: relative; }
.signposts ul::before { content: ""; position: absolute; left: 0; top: 50%; width: 6px; height: 46px; transform: translateY(-50%); background: var(--post); border-radius: 3px; }
.post { display: inline-flex; align-items: center; min-height: 40px; padding: 0 1.3em 0 .75em; background: var(--z); color: var(--zt);
  font: 400 1rem/1 var(--display); text-decoration: none; border-radius: 5px 0 0 5px;
  clip-path: polygon(0 0, calc(100% - 12px) 0, 100% 50%, calc(100% - 12px) 100%, 0 100%);
  transition: transform .25s var(--ease), filter .2s; }
.post:hover { transform: translateX(3px); color: var(--zt); filter: brightness(1.08); }
.post[aria-current="page"] { box-shadow: inset 0 -5px 0 rgba(255, 255, 255, .55); }
.post[aria-current="page"] span::before { content: ""; display: inline-block; width: .55em; height: .55em; margin-right: .45em; border-radius: 50%; background: currentColor; vertical-align: .08em; }
.head-call { margin-left: auto; display: inline-flex; align-items: center; gap: .4em; min-height: 44px; padding: 0 .9em; border: 2px solid var(--ink); border-radius: var(--r);
  color: var(--ink); text-decoration: none; font-weight: 800; background: var(--white); }
.head-call:hover { background: var(--ink); color: var(--white); }
.hc-num { display: none; }
.map-btn { display: inline-flex; align-items: center; gap: .45em; min-height: 44px; padding: 0 .9em; border: 0; border-radius: var(--r);
  background: var(--ink); color: var(--white); font: 400 1rem/1 var(--display); cursor: pointer; }
@media (min-width: 576px) { .hc-num { display: inline; } .hc-short { display: none; } .brand img { width: 236px; } }
@media (min-width: 1200px) {
  .signposts { display: block; }
  .head-call { margin-left: 8px; }
  .map-btn { display: none; }
}

/* ---------- phone "park map" sheet ---------- */
.sheet-scrim { position: fixed; inset: 0; background: rgba(28, 28, 40, .5); z-index: 60; opacity: 0; transition: opacity .3s; }
.sheet-scrim.open { opacity: 1; }
.sheet { position: fixed; z-index: 61; inset: 0 0 0 auto; width: min(420px, 100%); background: var(--grass); overflow-y: auto;
  padding: 18px 20px 28px; transform: translateX(100%); transition: transform .4s var(--ease);
  background-image: radial-gradient(circle at 1px 1px, rgba(28, 28, 40, .12) 1.2px, transparent 0); background-size: 22px 22px; border-left: 3px solid var(--ink); }
.sheet.open { transform: none; }
.sheet-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; }
.sheet-title { font: 400 1.6rem/1 var(--display); margin: 0; }
.sheet-close { display: inline-flex; align-items: center; gap: .4em; min-height: 44px; padding: 0 .9em; border: 2px solid var(--ink); border-radius: var(--r); background: var(--white); color: var(--ink); font: 800 1rem var(--body); cursor: pointer; }
.sheet-links { list-style: none; margin: 0 0 18px; padding: 0 0 0 16px; display: grid; gap: 10px; position: relative; }
.sheet-links::before { content: ""; position: absolute; left: 0; top: -6px; bottom: -6px; width: 6px; background: var(--post); border-radius: 3px; }
.sheet-link { display: flex; align-items: center; gap: .7em; min-height: 54px; padding: 0 2em 0 .8em; background: var(--z); color: var(--zt); text-decoration: none;
  font: 400 1.3rem/1 var(--display); border-radius: 6px 0 0 6px; clip-path: polygon(0 0, calc(100% - 16px) 0, 100% 50%, calc(100% - 16px) 100%, 0 100%); }
.sheet-link:hover { color: var(--zt); }
.sl-pin { display: inline-grid; place-items: center; width: 1.7em; height: 1.7em; border-radius: 50%; background: var(--white); color: var(--ink); font: 800 .8rem var(--body); }
.sheet-link[aria-current="page"] { box-shadow: inset 6px 0 0 var(--white); }
.sheet-acts { display: grid; gap: 10px; }
.sheet-acts .btn { justify-content: center; }
body.sheet-open { overflow: hidden; }
@media (prefers-reduced-motion: reduce) { .sheet, .sheet-scrim { transition: none; } }

/* ---------- hero: cartouche + park map ---------- */
.hero { padding: clamp(1.5rem, 1rem + 2vw, 3rem) 0 clamp(2.5rem, 2rem + 3vw, 4.5rem); }
.cartouche h1 { margin: 0 0 .6rem; }
.h1-big { display: block; font-size: clamp(2.35rem, 1.6rem + 3.4vw, 4rem); line-height: 1.02; letter-spacing: -.01em; }
.h1-small { display: block; font-family: var(--body); font-weight: 800; font-size: clamp(1.05rem, .95rem + .5vw, 1.3rem); line-height: 1.35; margin-top: .55rem; color: var(--ink-2); }
.hero-hi { font-size: 1.05rem; margin: 0 0 1rem; color: var(--ink-2); }
.class-tags { list-style: none; padding: 0; margin: 0 0 .4rem; display: flex; flex-wrap: wrap; gap: 6px; }
.class-tags li { background: var(--z); color: var(--zt); font: 800 .92rem/1 var(--body); padding: .5em .75em; border-radius: 5px; }
.hero-src { font-size: .9rem; color: var(--ink-2); margin: .3rem 0 .9rem; }
.rating { display: inline-flex; align-items: center; gap: .45em; flex-wrap: wrap; text-decoration: none; color: var(--ink); background: var(--white);
  border: 2px solid var(--ink); border-radius: 999px; padding: .35em .9em .35em .6em; font-size: .95rem; }
.rating b { font: 400 1.25rem/1 var(--display); }
.rating .star { color: var(--orange); fill: var(--orange); }
.rating:hover { color: var(--ink); background: #FFF6E4; }

.park { position: relative; aspect-ratio: 720 / 560; width: 100%; }
.park-svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.billboard { position: absolute; left: 50%; top: 13%; width: 45%; transform: translateX(-50%); }
.bb-frame { position: relative; z-index: 1; background: var(--white); border: 4px solid var(--ink); border-radius: 10px; padding: 6px; box-shadow: var(--shadow); }
.bb-frame img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; border-radius: 4px; }
.bb-leg { position: absolute; top: 100%; width: 4.5%; height: 22%; background: var(--post); border-radius: 0 0 3px 3px; }
.bb-leg.l { left: 22%; } .bb-leg.r { right: 22%; }
.zone-tag { position: absolute; transform: translateY(-50%); display: inline-flex; align-items: center; gap: .45em; min-height: 44px;
  padding: 0 1.35em 0 .45em; background: var(--z); color: var(--zt); text-decoration: none; font: 400 clamp(.95rem, .8rem + .6vw, 1.25rem)/1 var(--display);
  border-radius: 6px 0 0 6px; clip-path: polygon(0 0, calc(100% - 12px) 0, 100% 50%, calc(100% - 12px) 100%, 0 100%);
  transition: transform .25s var(--ease); }
.zone-tag[style*="right"] { padding: 0 .45em 0 1.35em; flex-direction: row-reverse; border-radius: 0 6px 6px 0;
  clip-path: polygon(12px 0, 100% 0, 100% 100%, 12px 100%, 0 50%); }
.zone-tag:hover { color: var(--zt); transform: translateY(-50%) scale(1.04); }
.pin { display: inline-grid; place-items: center; width: 1.75em; height: 1.75em; border-radius: 50%; background: var(--white); color: var(--ink); font: 800 .8rem/1 var(--body); flex: none; }
.gate { position: absolute; left: 50%; bottom: 1.2%; transform: translateX(-50%); display: inline-flex; align-items: center; gap: .5em; white-space: nowrap;
  min-height: 34px; padding: 0 .8em; background: var(--ink); color: var(--white); font: 800 clamp(.72rem, .62rem + .35vw, .9rem)/1 var(--body); border-radius: 999px; text-decoration: none; }
.gate:hover { color: var(--white); background: var(--red-ink); }
.you { width: .8em; height: .8em; border-radius: 50%; background: var(--red); box-shadow: 0 0 0 3px var(--white); }
@media (prefers-reduced-motion: no-preference) {
  .you { animation: ping 1.6s var(--ease) 1s 2 both; }
  @keyframes ping { 0% { box-shadow: 0 0 0 3px var(--white), 0 0 0 3px rgba(214, 74, 43, .6); } 70%, 100% { box-shadow: 0 0 0 3px var(--white), 0 0 0 14px rgba(214, 74, 43, 0); } }
  .billboard { animation: rise .9s var(--ease) both; }
  @keyframes rise { from { transform: translate(-50%, 14px); opacity: .001; } to { transform: translateX(-50%); opacity: 1; } }
}
@media (max-width: 575.98px) {
  .zone-tag { padding: 0 1.1em 0 .3em; min-height: 40px; }
  .zone-tag[style*="right"] { padding: 0 .3em 0 1.1em; }
  .billboard { width: 50%; top: 14%; }
}

/* ---------- zone explorer ---------- */
.zx { background: var(--white); border-top: 3px solid var(--ink); border-bottom: 3px solid var(--ink); }
.zx-board { display: grid; gap: 18px; }
.zx-tabs { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; }
.zx-tab { display: flex; align-items: center; gap: .6em; min-height: 56px; padding: 0 1em; background: var(--paper); color: var(--ink);
  border: 3px solid var(--z); border-radius: var(--r); font: 400 1.2rem/1 var(--display); cursor: pointer; text-align: left; transition: background-color .2s, color .2s; }
.zx-tab .pin { background: var(--z); color: var(--zt); }
.zx-tab[aria-selected="true"] { background: var(--z); color: var(--zt); }
.zx-tab[aria-selected="true"] .pin { background: var(--white); color: var(--ink); }
.zx-panel { display: grid; gap: 20px; align-items: center; padding: 18px; border-radius: 12px; background: var(--paper); border: 3px solid var(--z); }
.zx-panel[hidden] { display: none; }
.z-red-panel { --z: var(--red-ink); } .z-green-panel { --z: var(--green); } .z-purple-panel { --z: var(--purple); } .z-orange-panel { --z: var(--orange); }
.zx-photo img { width: 100%; border-radius: 8px; aspect-ratio: 4 / 3; object-fit: cover; }
.zx-text h3 { font-size: 1.6rem; }
@media (min-width: 768px) { .zx-tabs { grid-template-columns: repeat(4, 1fr); } }
@media (min-width: 992px) {
  .zx-board { grid-template-columns: 260px 1fr; align-items: start; }
  .zx-tabs { grid-template-columns: 1fr; }
  .zx-panel { grid-template-columns: 1fr 1fr; padding: 24px; }
}

/* ---------- class signpost ---------- */
.signpost { position: relative; padding: 8px 0; }
.sp-post { position: absolute; left: 22px; top: 0; bottom: 0; width: 10px; background: var(--post); border-radius: 5px; }
.sp-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; }
.sp-item { position: relative; display: grid; gap: 8px; padding-left: 48px; }
.sp-board { position: relative; display: inline-flex; align-items: baseline; flex-wrap: wrap; gap: .2em .8em; justify-self: start; background: var(--z); color: var(--zt);
  padding: .6em 1.9em .6em .9em; border-radius: 6px 0 0 6px; clip-path: polygon(0 0, calc(100% - 16px) 0, 100% 50%, calc(100% - 16px) 100%, 0 100%); }
.sp-name { font-size: 1.4rem; margin: 0; }
.sp-age { margin: 0; font-weight: 800; font-size: .95rem; }
.sp-note p { margin: 0 0 .3rem; max-width: 52ch; }
.sp-ask { font-weight: 800; }
@media (min-width: 992px) {
  .sp-post { left: 50%; transform: translateX(-50%); }
  .sp-item { grid-template-columns: 1fr 1fr; padding-left: 0; align-items: center; column-gap: 40px; }
  .sp-item.sp-r .sp-board { grid-column: 2; grid-row: 1; justify-self: start; margin-left: -6px; }
  .sp-item.sp-r .sp-note { grid-column: 1; grid-row: 1; text-align: right; justify-self: end; }
  .sp-item.sp-l .sp-board { grid-column: 1; justify-self: end; margin-right: -6px; padding: .6em .9em .6em 1.9em; border-radius: 0 6px 6px 0;
    clip-path: polygon(16px 0, 100% 0, 100% 100%, 16px 100%, 0 50%); }
  .sp-item.sp-l .sp-note { grid-column: 2; }
}

/* ---------- parents' voices (park notice board) ---------- */
.voices { background: var(--grass); }
.noticeboard { display: grid; gap: 18px; background: #C9A877; border: 4px solid var(--post); border-radius: 12px; padding: 22px;
  background-image: radial-gradient(rgba(42, 42, 56, .12) 1px, transparent 1.5px); background-size: 9px 9px; }
.note { position: relative; margin: 0; background: #FFFDF4; padding: 22px 20px 16px; border-radius: 4px; box-shadow: 0 6px 14px rgba(28, 28, 40, .18); }
.note::before { content: ""; position: absolute; top: -8px; left: 50%; width: 16px; height: 16px; margin-left: -8px; border-radius: 50%; background: var(--red); box-shadow: 0 2px 3px rgba(0, 0, 0, .3); }
.note.n1::before { background: var(--purple); } .note.n2::before { background: var(--green); }
.note blockquote { margin: .4rem 0 .6rem; font-size: 1.05rem; }
.note blockquote p { margin: 0; }
.note figcaption { font-weight: 800; font-size: .92rem; }
.stars { display: flex; gap: 2px; color: var(--orange); }
.stars .star { width: 1.1em; height: 1.1em; fill: var(--orange); }
@media (min-width: 768px) { .noticeboard { grid-template-columns: repeat(3, 1fr); padding: 28px; } .note.n0 { transform: rotate(-1deg); } .note.n2 { transform: rotate(1deg); } }

/* ---------- wristband pass ---------- */
.wristband { position: relative; display: flex; align-items: stretch; background: var(--orange); color: var(--ink); border-radius: 14px; overflow: hidden;
  border: 3px solid var(--ink); }
.wb-tab { flex: none; width: 44px; background: var(--ink); color: var(--orange); display: grid; place-items: center; }
.wb-tab span { writing-mode: vertical-rl; transform: rotate(180deg); font: 400 .95rem/1 var(--display); letter-spacing: .12em; }
.wb-segs { list-style: none; margin: 0; padding: 0; display: grid; flex: 1; }
.wb-seg { position: relative; padding: 18px 20px; border-bottom: 3px dashed rgba(28, 28, 40, .45); display: grid; grid-template-columns: auto 1fr; column-gap: 14px; align-items: center; }
.wb-seg:last-child { border-bottom: 0; }
.wb-seg h3 { margin: 0; font-size: 1.3rem; }
.wb-seg p { grid-column: 2; margin: .35rem 0 0; font-size: 1rem; }
.wb-num { grid-row: span 2; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--white); border: 3px solid var(--ink); font: 400 1.25rem/1 var(--display); }
.wb-clasp { flex: none; width: 30px; background: #D88A10; display: grid; align-content: center; justify-items: center; gap: 12px; border-left: 3px solid var(--ink); }
.wb-clasp span { width: 10px; height: 10px; border-radius: 50%; background: var(--paper); border: 2px solid var(--ink); }
@media (min-width: 768px) {
  .wb-segs { grid-template-columns: repeat(4, 1fr); }
  .wb-seg { border-bottom: 0; border-right: 3px dashed rgba(28, 28, 40, .45); grid-template-columns: 1fr; align-content: start; padding: 22px 20px; }
  .wb-seg:last-child { border-right: 0; }
  .wb-num { grid-row: auto; margin-bottom: 10px; }
  .wb-seg p { grid-column: 1; }
}

/* ---------- visit ---------- */
.route-card { background: var(--white); border: 3px solid var(--ink); border-radius: 12px; padding: 22px; }
.rc-line { display: flex; gap: .7em; align-items: flex-start; }
.rc-line .ic { color: var(--red-ink); margin-top: .2em; }
.map-card { position: relative; min-height: 340px; height: 100%; border: 3px solid var(--ink); border-radius: 12px; overflow: hidden; background: var(--grass);
  background-image: repeating-linear-gradient(0deg, transparent 0 38px, rgba(28, 28, 40, .07) 38px 40px), repeating-linear-gradient(90deg, transparent 0 38px, rgba(28, 28, 40, .07) 38px 40px); }
.map-fallback { position: absolute; inset: 0; display: grid; place-content: center; justify-items: center; text-align: center; padding: 20px; }
.mf-pin { margin: 0; color: var(--red); }
.mf-pin .ic { width: 3rem; height: 3rem; }
.mf-small { font-size: .88rem; color: var(--ink-2); margin-top: .7rem; }
.map-card iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.map-card.loaded .map-fallback { display: none; }

/* ---------- inner page boards ---------- */
.board { padding: clamp(2rem, 1.5rem + 2vw, 3.25rem) 0 clamp(1.75rem, 1.4rem + 1.5vw, 2.5rem); border-bottom: 3px solid var(--ink);
  background: var(--grass); background-image: radial-gradient(circle at 1px 1px, rgba(28, 28, 40, .1) 1.2px, transparent 0); background-size: 22px 22px; }
.board-sign { position: relative; display: inline-block; padding-left: 18px; }
.board-sign::before { content: ""; position: absolute; left: 0; top: -14px; bottom: -10px; width: 8px; background: var(--post); border-radius: 4px; }
.board h1.sign { font-size: clamp(2rem, 1.4rem + 2.8vw, 3.4rem); margin: 0; }
.board-sub { font-size: 1.15rem; max-width: 60ch; margin: 1.4rem 0 .4rem; }
.board-hi { color: var(--ink-2); margin: 0; }
.crumbs { display: flex; gap: .5em; font-size: .92rem; margin-bottom: 1rem; color: var(--ink-2); }
.crumbs a { color: var(--ink); }

/* ---------- about / facts ---------- */
.principal, .facts { padding-top: 0; }
.table-wrap { overflow-x: auto; border: 3px solid var(--ink); border-radius: 12px; background: var(--white); }
table { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; }
th, td { text-align: left; padding: .75rem .9rem; border-bottom: 1px solid var(--line); vertical-align: top; }
thead th { background: var(--ink); color: var(--white); font-family: var(--display); font-weight: 400; }
tbody tr:last-child th, tbody tr:last-child td { border-bottom: 0; }
.srcc { font-size: .9rem; color: var(--ink-2); }
.tbc-board { border: 2px dashed #8C8A7C; border-radius: 12px; padding: 20px 22px; background: rgba(255, 255, 255, .6); }
.tbc-board ul { margin: 0; padding-left: 1.2em; }

/* ---------- classes page ---------- */
.ways { background: var(--white); border-top: 3px solid var(--ink); border-bottom: 3px solid var(--ink); }
.photo-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.tilt-l { transform: rotate(-2deg); } .tilt-r { transform: rotate(2deg) translateY(18px); }
.ways-list { margin: 0; display: grid; gap: 14px; }
.ways-list div { border-left: 0; padding: 14px 16px; background: var(--paper); border-radius: var(--r); }
.ways-list dt { font: 400 1.2rem/1.2 var(--display); margin-bottom: .2rem; }
.ways-list dd { margin: 0; }

/* ---------- admissions ---------- */
.age-docs { padding-top: 0; }
.age-docs .framed { margin-top: 1.5rem; }
.faq { background: var(--white); border-top: 3px solid var(--ink); border-bottom: 3px solid var(--ink); }
.faq-list { display: grid; gap: 10px; max-width: 820px; }
.faq-item { border: 3px solid var(--ink); border-radius: var(--r); background: var(--paper); }
.faq-item summary { cursor: pointer; padding: 14px 18px; font-weight: 800; font-size: 1.08rem; list-style: none; display: flex; justify-content: space-between; gap: 1em; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; font: 400 1.4rem/1 var(--display); color: var(--purple); }
.faq-item[open] summary::after { content: "−"; }
.faq-item p { padding: 0 18px 16px; margin: 0; max-width: 70ch; }

/* ---------- enquiry form as a visitor pass ---------- */
.enquire { background: var(--grass); }
.pass { display: grid; background: var(--white); border: 3px solid var(--ink); border-radius: 16px; overflow: hidden; box-shadow: var(--shadow); }
.pass-stub { display: flex; align-items: center; gap: 14px; padding: 16px 20px; background: var(--ink); color: var(--white); }
.stub-txt { font: 400 1.2rem/1.15 var(--display); }
.pass-body { padding: 24px 20px; }
.pass-h { font-size: clamp(1.6rem, 1.2rem + 1.5vw, 2.3rem); }
.pass-lede { max-width: 60ch; }
@media (min-width: 992px) {
  .pass { grid-template-columns: 200px 1fr; }
  .pass-stub { flex-direction: column; justify-content: center; text-align: center; border-right: 3px dashed var(--paper); }
  .pass-body { padding: 34px 40px; }
}
.field label { display: block; font-weight: 800; margin-bottom: .3rem; }
.hint { font-weight: 400; color: var(--ink-2); font-size: .9rem; }
.field input, .field select, .field textarea { width: 100%; min-height: 48px; padding: .6rem .8rem; font: inherit; color: var(--ink); background: var(--paper);
  border: 2px solid #6E6C62; border-radius: var(--r); caret-color: var(--red); }
.field input::placeholder { color: #6A685E; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 3px solid var(--orange); outline-offset: 1px; border-color: var(--ink); }
.field [aria-invalid="true"] { border-color: var(--red); background: #FFF3EF; }
.err { color: #B23A1F; font-weight: 800; font-size: .92rem; margin: .3rem 0 0; }
.hint-line { font-size: .88rem; color: var(--ink-2); margin: .3rem 0 0; }
.hp { position: absolute; left: -9999px; }
.form-summary { border: 3px solid var(--red); border-radius: var(--r); padding: 12px 16px; margin-bottom: 14px; background: #FFF3EF; font-weight: 800; }
.form-summary ul { margin: .3rem 0 0; }
.form-foot { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; margin-top: 18px; }
.fine { font-size: .9rem; color: var(--ink-2); margin: 0; }
.form-ok, .form-fail { margin-top: 14px; padding: 12px 16px; border-radius: var(--r); font-weight: 800; }
.form-ok { background: #E6F2E6; border: 2px solid var(--green-ink); color: #1E4D21; display: flex; gap: .5em; align-items: center; }
.form-fail { background: #FFF3EF; border: 2px solid var(--red); }
.form-ok[hidden], .form-fail[hidden] { display: none; }

/* ---------- campus life ---------- */
.zg-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.zg { display: flex; gap: 16px; align-items: flex-start; padding: 18px; background: var(--white); border: 3px solid var(--z); border-radius: 12px; }
.zg .pin { width: 2.4em; height: 2.4em; font-size: 1rem; background: var(--z); color: var(--zt); }
.zg.z-orange-panel .pin { color: var(--ink); }
.zg.z-green-panel .pin { background: var(--green-ink); }
.zg h3 { margin-bottom: .3rem; }
.zg p { margin: 0; }
@media (min-width: 768px) { .zg-list { grid-template-columns: 1fr 1fr; } }
.club { padding-top: 0; }
.club-banner { background: var(--ink); color: var(--white); border-radius: 16px; padding: clamp(22px, 3vw, 36px); }
.club-banner .src-note { color: #D5D3E3; }
.club-tags { list-style: none; padding: 0; margin: 0 0 1rem; display: flex; flex-wrap: wrap; gap: 8px; }
.club-tags li { border: 2px solid var(--orange); color: var(--white); padding: .35em .75em; border-radius: 999px; font-weight: 700; font-size: .95rem; }
.safety { background: var(--white); border-top: 3px solid var(--ink); border-bottom: 3px solid var(--ink); }
.check-board { max-width: 860px; }
.checklist ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.ck { display: flex; gap: 12px; align-items: flex-start; padding: 12px 14px; border: 2px solid var(--line); border-radius: var(--r); background: var(--paper); cursor: pointer; }
.ck input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.ck-box { flex: none; display: grid; place-items: center; width: 28px; height: 28px; border: 3px solid var(--ink); border-radius: 6px; background: var(--white); color: transparent; }
.ck input:checked + .ck-box { background: var(--purple); border-color: var(--purple); color: var(--white); }
.ck input:focus-visible + .ck-box { outline: 3px solid var(--ink); outline-offset: 2px; }
.ck input:checked ~ .ck-t { color: var(--ink-2); }
.ck-count { font-weight: 800; margin: 14px 0 0; }
.expect { padding-bottom: 0; }
.g-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.g-btn { position: relative; display: block; width: 100%; padding: 8px 8px 0; border: 3px solid var(--ink); border-radius: 12px; background: var(--white); cursor: zoom-in; font: inherit; color: var(--ink); text-align: left; }
.g-btn img { border-radius: 6px; width: 100%; aspect-ratio: 4 / 5; object-fit: cover; transition: transform .35s var(--ease); }
.g-btn:hover img { transform: scale(1.02); }
.g-cap { display: block; padding: .55rem .1rem .6rem; font-weight: 800; font-size: .95rem; }
@media (min-width: 768px) { .g-grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1200px) { .g-grid { grid-template-columns: repeat(5, 1fr); } }
.lightbox { border: 3px solid var(--ink); border-radius: 14px; padding: 12px; max-width: min(560px, 94vw); background: var(--white); }
.lightbox::backdrop { background: rgba(28, 28, 40, .78); }
.lightbox figure { margin: 0; }
.lightbox img { max-height: 70vh; width: auto; margin: 0 auto; border-radius: 6px; }
.lightbox figcaption { padding: .6rem .2rem; font-size: .95rem; }
.lb-bar { display: flex; gap: 8px; justify-content: space-between; }
.lb-bar button { display: inline-flex; align-items: center; gap: .3em; min-height: 44px; padding: 0 .9em; border: 2px solid var(--ink); border-radius: var(--r); background: var(--white); color: var(--ink); font: 800 .95rem var(--body); cursor: pointer; }
.lb-bar button:hover { background: var(--ink); color: var(--white); }

/* ---------- contact ---------- */
.contact-quick { padding-bottom: 0; }
.big-sign { display: flex; align-items: center; gap: 14px; min-height: 84px; padding: 16px 22px; background: var(--z); color: var(--zt); text-decoration: none; border-radius: 12px; }
.big-sign .ic { width: 2rem; height: 2rem; }
.big-sign b { display: block; font: 400 1.35rem/1.1 var(--display); }
.big-sign span { font-weight: 800; font-size: 1.1rem; }
.big-sign:hover { color: var(--zt); filter: brightness(1.1); }

/* ---------- prose, 404 ---------- */
.prose h2 { margin-top: 1.4em; }
.lost { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }

/* ---------- footer ---------- */
.site-foot { background: var(--ink); color: #E9E7F2; padding: 3.5rem 0 1.5rem; border-top: 6px solid var(--orange); }
.site-foot a { color: var(--white); }
.site-foot a:hover { color: var(--orange); }
.foot-logo { width: 240px; height: auto; margin-bottom: .6rem; }
.foot-hi { margin: 0 0 .6rem; color: #D5D3E3; }
.site-foot address { font-style: normal; margin-bottom: .8rem; }
.foot-acts { display: flex; flex-wrap: wrap; gap: 8px 18px; font-weight: 800; }
.foot-h { font-size: 1.2rem; color: var(--white); }
.foot-links, .foot-key { list-style: none; padding: 0; margin: 0; display: grid; gap: .45rem; }
.foot-links a { display: inline-block; padding: .15rem 0; }
.foot-key li { display: flex; align-items: center; gap: .6em; }
.key-dot { width: 16px; height: 16px; border-radius: 50%; background: var(--z); border: 2px solid var(--white); }
.key-dot.z-green { background: var(--green); }
.foot-small { font-size: .9rem; color: #D5D3E3; margin-top: 1rem; }
.foot-base { border-top: 1px solid #44445A; margin-top: 2.5rem; padding-top: 1.2rem; font-size: .88rem; color: #C9C7D8; }
.foot-base p { margin: 0 0 .4rem; }

/* ---------- print ---------- */
@media print { .site-head, .sheet, .sheet-scrim, .site-foot, .acts { display: none !important; } body { background: #fff; } }

/* ---------- small-phone fixes ---------- */
@media (max-width: 575.98px) {
  .head-row { gap: 8px; }
  .brand img { width: 150px; }
  .head-call { padding: 0 .7em; }
  .map-btn { padding: 0 .75em; }
  .rating { border-radius: 12px; }
  .r-asof { display: block; font-size: .85rem; color: var(--ink-2); }
  .cartouche .acts, .route-card .acts { display: grid; grid-template-columns: 1fr 1fr; }
  .cartouche .acts .btn, .route-card .acts .btn { justify-content: center; padding: .7em .6em; }
  .cartouche .acts .btn-red { grid-column: 1 / -1; }
}
@media (max-width: 389.98px) { .hc-short { font-size: 0; } .hc-short .sr { font-size: 1rem; } .head-call { width: 44px; justify-content: center; } }
@media (max-width: 575.98px) {
  .cartouche .acts .btn, .route-card .acts .btn { white-space: nowrap; font-size: .95rem; gap: .4em; }
  .billboard { width: 42%; }
  .zone-tag { font-size: .88rem; gap: .3em; }
  .zone-tag .pin { width: 1.5em; height: 1.5em; font-size: .72rem; }
  .zone-tag[style*="left"] { margin-left: -4%; }
  .zone-tag[style*="right"] { margin-right: -4%; }
}
