 .leaflet-pane, .leaflet-tile, .leaflet-marker-icon, .leaflet-marker-shadow, .leaflet-tile-container, .leaflet-pane > svg, .leaflet-pane > canvas, .leaflet-zoom-box, .leaflet-image-layer, .leaflet-layer { position: absolute; left: 0; top: 0; } .leaflet-container { overflow: hidden; } .leaflet-tile, .leaflet-marker-icon, .leaflet-marker-shadow { -webkit-user-select: none; -moz-user-select: none; user-select: none; -webkit-user-drag: none} .leaflet-tile::selection { background: transparent; } .leaflet-safari .leaflet-tile { image-rendering: -webkit-optimize-contrast; } .leaflet-safari .leaflet-tile-container { width: 1600px; height: 1600px; -webkit-transform-origin: 0 0; } .leaflet-marker-icon, .leaflet-marker-shadow { display: block; } .leaflet-container .leaflet-overlay-pane svg { max-width: none !important; max-height: none !important; } .leaflet-container .leaflet-marker-pane img, .leaflet-container .leaflet-shadow-pane img, .leaflet-container .leaflet-tile-pane img, .leaflet-container img.leaflet-image-layer, .leaflet-container .leaflet-tile { max-width: none !important; max-height: none !important; width: auto; padding: 0; } .leaflet-container img.leaflet-tile { mix-blend-mode: plus-lighter; } .leaflet-container.leaflet-touch-zoom { -ms-touch-action: pan-x pan-y; touch-action: pan-x pan-y; } .leaflet-container.leaflet-touch-drag { -ms-touch-action: pinch-zoom; touch-action: none; touch-action: pinch-zoom; } .leaflet-container.leaflet-touch-drag.leaflet-touch-zoom { -ms-touch-action: none; touch-action: none; } .leaflet-container { -webkit-tap-highlight-color: transparent; } .leaflet-container a { -webkit-tap-highlight-color: rgba(51, 181, 229, 0.4); } .leaflet-tile { filter: inherit; visibility: hidden; } .leaflet-tile-loaded { visibility: inherit; } .leaflet-zoom-box { width: 0; height: 0; -moz-box-sizing: border-box; box-sizing: border-box; z-index: 800; } .leaflet-overlay-pane svg { -moz-user-select: none} .leaflet-pane { z-index: 400; } .leaflet-tile-pane { z-index: 200; } .leaflet-overlay-pane { z-index: 400; } .leaflet-shadow-pane { z-index: 500; } .leaflet-marker-pane { z-index: 600; } .leaflet-tooltip-pane { z-index: 650; } .leaflet-popup-pane { z-index: 700; } .leaflet-map-pane canvas { z-index: 100; } .leaflet-map-pane svg { z-index: 200; } .leaflet-vml-shape { width: 1px; height: 1px; } .leaflet-control { position: relative; z-index: 800; pointer-events: visiblePainted; pointer-events: auto; } .leaflet-top, .leaflet-bottom { position: absolute; z-index: 1000; pointer-events: none; } .leaflet-top { top: 0; } .leaflet-right { right: 0; } .leaflet-bottom { bottom: 0; } .leaflet-left { left: 0; } .leaflet-control { float: left; clear: both; } .leaflet-right .leaflet-control { float: right; } .leaflet-top .leaflet-control { margin-top: 10px; } .leaflet-bottom .leaflet-control { margin-bottom: 10px; } .leaflet-left .leaflet-control { margin-left: 10px; } .leaflet-right .leaflet-control { margin-right: 10px; } .leaflet-fade-anim .leaflet-popup { opacity: 0; -webkit-transition: opacity 0.2s linear; -moz-transition: opacity 0.2s linear; transition: opacity 0.2s linear; } .leaflet-fade-anim .leaflet-map-pane .leaflet-popup { opacity: 1; } .leaflet-zoom-animated { -webkit-transform-origin: 0 0; -ms-transform-origin: 0 0; transform-origin: 0 0; } svg.leaflet-zoom-animated { will-change: transform; } .leaflet-zoom-anim .leaflet-zoom-animated { -webkit-transition: -webkit-transform 0.25s cubic-bezier(0,0,0.25,1); -moz-transition: -moz-transform 0.25s cubic-bezier(0,0,0.25,1); transition: transform 0.25s cubic-bezier(0,0,0.25,1); } .leaflet-zoom-anim .leaflet-tile, .leaflet-pan-anim .leaflet-tile { -webkit-transition: none; -moz-transition: none; transition: none; } .leaflet-zoom-anim .leaflet-zoom-hide { visibility: hidden; } .leaflet-interactive { cursor: pointer; } .leaflet-grab { cursor: -webkit-grab; cursor: -moz-grab; cursor: grab; } .leaflet-crosshair, .leaflet-crosshair .leaflet-interactive { cursor: crosshair; } .leaflet-popup-pane, .leaflet-control { cursor: auto; } .leaflet-dragging .leaflet-grab, .leaflet-dragging .leaflet-grab .leaflet-interactive, .leaflet-dragging .leaflet-marker-draggable { cursor: move; cursor: -webkit-grabbing; cursor: -moz-grabbing; cursor: grabbing; } .leaflet-marker-icon, .leaflet-marker-shadow, .leaflet-image-layer, .leaflet-pane > svg path, .leaflet-tile-container { pointer-events: none; } .leaflet-marker-icon.leaflet-interactive, .leaflet-image-layer.leaflet-interactive, .leaflet-pane > svg path.leaflet-interactive, svg.leaflet-image-layer.leaflet-interactive path { pointer-events: visiblePainted; pointer-events: auto; } .leaflet-container { background: #ddd; outline-offset: 1px; } .leaflet-container a { color: #0078A8; } .leaflet-zoom-box { border: 2px dotted #38f; background: rgba(255,255,255,0.5); } .leaflet-container { font-family: "Helvetica Neue", Arial, Helvetica, sans-serif; font-size: 12px; font-size: 0.75rem; line-height: 1.5; } .leaflet-bar { box-shadow: 0 1px 5px rgba(0,0,0,0.65); border-radius: 4px; } .leaflet-bar a { background-color: #fff; border-bottom: 1px solid #ccc; width: 26px; height: 26px; line-height: 26px; display: block; text-align: center; text-decoration: none; color: black; } .leaflet-bar a, .leaflet-control-layers-toggle { background-position: 50% 50%; background-repeat: no-repeat; display: block; } .leaflet-bar a:hover, .leaflet-bar a:focus { background-color: #f4f4f4; } .leaflet-bar a:first-child { border-top-left-radius: 4px; border-top-right-radius: 4px; } .leaflet-bar a:last-child { border-bottom-left-radius: 4px; border-bottom-right-radius: 4px; border-bottom: none; } .leaflet-bar a.leaflet-disabled { cursor: default; background-color: #f4f4f4; color: #bbb; } .leaflet-touch .leaflet-bar a { width: 30px; height: 30px; line-height: 30px; } .leaflet-touch .leaflet-bar a:first-child { border-top-left-radius: 2px; border-top-right-radius: 2px; } .leaflet-touch .leaflet-bar a:last-child { border-bottom-left-radius: 2px; border-bottom-right-radius: 2px; } .leaflet-control-zoom-in, .leaflet-control-zoom-out { font: bold 18px 'Lucida Console', Monaco, monospace; text-indent: 1px; } .leaflet-touch .leaflet-control-zoom-in, .leaflet-touch .leaflet-control-zoom-out { font-size: 22px; } .leaflet-control-layers { box-shadow: 0 1px 5px rgba(0,0,0,0.4); background: #fff; border-radius: 5px; } .leaflet-touch .leaflet-control-layers-toggle { width: 44px; height: 44px; } .leaflet-control-layers .leaflet-control-layers-list, .leaflet-control-layers-expanded .leaflet-control-layers-toggle { display: none; } .leaflet-control-layers-expanded .leaflet-control-layers-list { display: block; position: relative; } .leaflet-control-layers-expanded { padding: 6px 10px 6px 6px; color: #333; background: #fff; } .leaflet-control-layers-scrollbar { overflow-y: scroll; overflow-x: hidden; padding-right: 5px; } .leaflet-control-layers-selector { margin-top: 2px; position: relative; top: 1px; } .leaflet-control-layers label { display: block; font-size: 13px; font-size: 1.08333em; } .leaflet-control-layers-separator { height: 0; border-top: 1px solid #ddd; margin: 5px -10px 5px -6px; } .leaflet-container .leaflet-control-attribution { background: #fff; background: rgba(255, 255, 255, 0.8); margin: 0; } .leaflet-control-attribution, .leaflet-control-scale-line { padding: 0 5px; color: #333; line-height: 1.4; } .leaflet-control-attribution a { text-decoration: none; } .leaflet-control-attribution a:hover, .leaflet-control-attribution a:focus { text-decoration: underline; } .leaflet-attribution-flag { display: inline !important; vertical-align: baseline !important; width: 1em; height: 0.6669em; } .leaflet-left .leaflet-control-scale { margin-left: 5px; } .leaflet-bottom .leaflet-control-scale { margin-bottom: 5px; } .leaflet-control-scale-line { border: 2px solid #777; border-top: none; line-height: 1.1; padding: 2px 5px 1px; white-space: nowrap; -moz-box-sizing: border-box; box-sizing: border-box; background: rgba(255, 255, 255, 0.8); text-shadow: 1px 1px #fff; } .leaflet-control-scale-line:not(:first-child) { border-top: 2px solid #777; border-bottom: none; margin-top: -2px; } .leaflet-control-scale-line:not(:first-child):not(:last-child) { border-bottom: 2px solid #777; } .leaflet-touch .leaflet-control-attribution, .leaflet-touch .leaflet-control-layers, .leaflet-touch .leaflet-bar { box-shadow: none; } .leaflet-touch .leaflet-control-layers, .leaflet-touch .leaflet-bar { border: 2px solid rgba(0,0,0,0.2); background-clip: padding-box} .leaflet-popup { position: absolute; text-align: center; margin-bottom: 20px; } .leaflet-popup-content-wrapper { padding: 1px; text-align: left; border-radius: 12px; } .leaflet-popup-content { margin: 13px 24px 13px 20px; line-height: 1.3; font-size: 13px; font-size: 1.08333em; min-height: 1px; } .leaflet-popup-content p { margin: 17px 0; margin: 1.3em 0; } .leaflet-popup-tip-container { width: 40px; height: 20px; position: absolute; left: 50%; margin-top: -1px; margin-left: -20px; overflow: hidden; pointer-events: none; } .leaflet-popup-tip { width: 17px; height: 17px; padding: 1px; margin: -10px auto 0; pointer-events: auto; -webkit-transform: rotate(45deg); -moz-transform: rotate(45deg); -ms-transform: rotate(45deg); transform: rotate(45deg); } .leaflet-popup-content-wrapper, .leaflet-popup-tip { background: white; color: #333; box-shadow: 0 3px 14px rgba(0,0,0,0.4); } .leaflet-container a.leaflet-popup-close-button { position: absolute; top: 0; right: 0; border: none; text-align: center; width: 24px; height: 24px; font: 16px/24px Tahoma, Verdana, sans-serif; color: #757575; text-decoration: none; background: transparent; } .leaflet-container a.leaflet-popup-close-button:hover, .leaflet-container a.leaflet-popup-close-button:focus { color: #585858; } .leaflet-popup-scrolled { overflow: auto; } .leaflet-oldie .leaflet-popup-content-wrapper { -ms-zoom: 1; } .leaflet-oldie .leaflet-popup-tip { width: 24px; margin: 0 auto; -ms-filter: "progid:DXImageTransform.Microsoft.Matrix(M11=0.70710678, M12=0.70710678, M21=-0.70710678, M22=0.70710678)"; filter: progid:DXImageTransform.Microsoft.Matrix(M11=0.70710678, M12=0.70710678, M21=-0.70710678, M22=0.70710678); } .leaflet-oldie .leaflet-control-zoom, .leaflet-oldie .leaflet-control-layers, .leaflet-oldie .leaflet-popup-content-wrapper, .leaflet-oldie .leaflet-popup-tip { border: 1px solid #999; } .leaflet-div-icon { background: #fff; border: 1px solid #666; } .leaflet-tooltip { position: absolute; padding: 6px; background-color: #fff; border: 1px solid #fff; border-radius: 3px; color: #222; white-space: nowrap; -webkit-user-select: none; -moz-user-select: none; -ms-user-select: none; user-select: none; pointer-events: none; box-shadow: 0 1px 3px rgba(0,0,0,0.4)} .leaflet-tooltip.leaflet-interactive { cursor: pointer; pointer-events: auto; } .leaflet-tooltip-top:before, .leaflet-tooltip-bottom:before, .leaflet-tooltip-left:before, .leaflet-tooltip-right:before { position: absolute; pointer-events: none; border: 6px solid transparent; background: transparent; content: ""; } .leaflet-tooltip-bottom { margin-top: 6px; } .leaflet-tooltip-top { margin-top: -6px; } .leaflet-tooltip-bottom:before, .leaflet-tooltip-top:before { left: 50%; margin-left: -6px; } .leaflet-tooltip-top:before { bottom: 0; margin-bottom: -12px; border-top-color: #fff; } .leaflet-tooltip-bottom:before { top: 0; margin-top: -12px; margin-left: -6px; border-bottom-color: #fff; } .leaflet-tooltip-left { margin-left: -6px; } .leaflet-tooltip-right { margin-left: 6px; } .leaflet-tooltip-left:before, .leaflet-tooltip-right:before { top: 50%; margin-top: -6px; } .leaflet-tooltip-left:before { right: 0; margin-right: -12px; border-left-color: #fff; } .leaflet-tooltip-right:before { left: 0; margin-left: -12px; border-right-color: #fff; } @media print { .leaflet-control { -webkit-print-color-adjust: exact; print-color-adjust: exact; } } 
/* Concept 02 · "Prospectus in colour"
   Layout: an editorial school prospectus. Oversized grotesque headlines, asymmetric photography, and a colour index
   (cobalt for learning, lemon for welcome, sage for the campus, lilac for the arts) carried on pale light surfaces.
   Palettes considered: cobalt + ivory + sky; forest + sage + cream; plum + lavender + pearl; royal blue + pale lemon.
   Chosen: cobalt (anchored to the emblem's blue) as primary, with pale lemon and sage as accent families, lilac and
   blush only as category tints. Light only, by brief: no dark sections anywhere. */
:root {
  /* surfaces: the emblem's three colours as pale tints (blue, orange, green) */
  --paper: #ffffff;
  --pearl: #f5f9fc;
  --sky: #e8f3fb;
  --sky-2: #d3e8f6;
  --lemon: #fdf0de;
  --lemon-2: #f6b25a;
  --sage: #e3f3ec;
  --sage-2: #c6e5d6;
  --lilac: #e6f3f6;
  --blush: #fbe4d0;
  /* inks: a deep blue-navy taken from the emblem's blue */
  --ink: #10253a;
  --ink-2: #44586b;
  --ink-3: #5a6e82;
  --line: #d9e4ee;
  --line-2: #bccddc;
  --cobalt: #1a78b5;
  --cobalt-press: #135f94;
  --cobalt-ink: #135f94;
  --forest: #2a7c5c;
  --marigold-ink: #9a560a;
  --plum: #176a82;
  --rose-ink: #9a560a;
  --brand-blue: #1f82c2;
  --brand-orange: #e0912f;
  --brand-green: #38a078;
  --on-cobalt: #ffffff;
  --ok: #1d6b45;
  --ok-tint: #e3f3ea;
  --err: #b42318;
  --err-tint: #fdecea;
  --focus: #1a78b5;
  --glass: rgba(255, 255, 255, 0.72);
  --glass-solid: #ffffff;
  /* type */
  /* type: the same families as Concept 01, the Apple system faces (§15: default to the platform font) */
  --display: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI Variable Display", "Segoe UI", system-ui, "Noto Sans", "Noto Sans Devanagari", "Nirmala UI", Roboto, sans-serif;
  --text: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI Variable Text", "Segoe UI", system-ui, "Noto Sans", "Noto Sans Devanagari", "Nirmala UI", Roboto, sans-serif;
  --serif: "New York", "Iowan Old Style", "Palatino Linotype", Georgia, "Noto Serif Devanagari", serif;
  --mono: var(--text);
  /* space, radius, depth */
  --gutter: max(16px, env(safe-area-inset-left, 0px));
  --gutter-r: max(16px, env(safe-area-inset-right, 0px));
  --maxw: 1320px;
  --r-s: 10px;
  --r-m: 16px;
  --r-l: 22px;
  --r-xl: 30px;
  --sh-1: 0 1px 2px rgba(16, 37, 58, .06), 0 2px 8px rgba(16, 37, 58, .05);
  --sh-2: 0 10px 30px -12px rgba(16, 37, 58, .22), 0 2px 6px rgba(16, 37, 58, .06);
  --sh-3: 0 30px 70px -28px rgba(16, 37, 58, .38), 0 8px 18px -8px rgba(16, 37, 58, .14);
  /* motion: springs written as linear() curves (critically damped default; ζ 0.8 only after a gesture) */
  --spring: linear(0, 0.1465, 0.3895, 0.5993, 0.75, 0.8493, 0.9113, 0.9487, 0.9707, 0.9835, 0.9908, 0.9949, 0.9972, 0.9985, 0.9992, 0.9995, 0.9998, 0.9999, 0.9999, 1, 1);
  --spring-bounce: linear(0, 0.1263, 0.3663, 0.5982, 0.7763, 0.8945, 0.9637, 0.9985, 1.0124, 1.0151, 1.0129, 1.0092, 1.0057, 1.0032, 1.0014, 1.0005, 1, 0.9998, 0.9998, 0.9998, 0.9999, 0.9999, 1, 1, 1);
  --t-spring: 900ms;
  --t-press: 100ms;
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(84px + env(safe-area-inset-top, 0px)); }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 1.0625rem/1.6 var(--text); font-optical-sizing: auto; font-feature-settings: "kern"; -webkit-font-smoothing: antialiased; overflow-x: hidden; overflow-x: clip}
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 60; background: var(--paper); }
img { max-width: 100%; display: block; }
a { color: var(--cobalt-ink); text-underline-offset: 3px; text-decoration-thickness: 1px; }
a:hover { text-decoration-thickness: 2px; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; border-radius: 6px; }
.sr { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap}
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; padding: 10px 16px; border-radius: 999px; background: var(--cobalt); color: #fff; font-weight: 600; transition: top 200ms; }
.skip:focus { top: calc(12px + env(safe-area-inset-top, 0px)); }

.wrap { width: 100%; max-width: calc(var(--maxw) + 64px); margin-inline: auto; padding-left: max(var(--gutter), 4vw); padding-right: max(var(--gutter-r), 4vw); }
@media (min-width: 87.5em) { .wrap { padding-left: 32px; padding-right: 32px; } }

/* ---------- Type scale: tracking tightens and leading closes as size grows (§15) ---------- */
.d-xxl { font: 760 clamp(3.4rem, 1.2rem + 10vw, 10.5rem)/0.86 var(--display); letter-spacing: -0.045em; margin: 0; text-wrap: balance; }
.d-xl { font: 720 clamp(2.5rem, 1.4rem + 4.6vw, 5.5rem)/0.95 var(--display); letter-spacing: -0.035em; margin: 0; text-wrap: balance; }
.d-l { font: 680 clamp(2rem, 1.3rem + 2.8vw, 3.75rem)/1 var(--display); letter-spacing: -0.028em; margin: 0; text-wrap: balance; }
.d-m { font: 650 clamp(1.5rem, 1.15rem + 1.3vw, 2.25rem)/1.08 var(--display); letter-spacing: -0.018em; margin: 0; text-wrap: balance; }
.d-s { font: 650 clamp(1.2rem, 1.08rem + .5vw, 1.45rem)/1.2 var(--display); letter-spacing: -0.01em; margin: 0; text-wrap: balance; }
.lede { font-size: clamp(1.125rem, 1.04rem + .4vw, 1.35rem); line-height: 1.5; color: var(--ink-2); max-width: 36em; margin: 0; text-wrap: pretty; }
.kicker { display: inline-flex; align-items: center; gap: 10px; margin: 0; font: 500 0.78rem/1.2 var(--mono); letter-spacing: 0.06em; text-transform: uppercase; color: var(--ink-2); }
.kicker::before { content: ""; width: 10px; height: 10px; border-radius: 3px; background: var(--chip, var(--cobalt)); transform: rotate(45deg); flex: none; }
.muted { color: var(--ink-3); }
p { margin: 0; }
.prose { display: grid; gap: 1em; max-width: 62ch; }

/* ---------- Buttons: feedback on press, instantly (§1) ---------- */
.btn { --bg: var(--cobalt); --fg: var(--on-cobalt); position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; padding: 0 22px; border: 0; border-radius: 999px; background: var(--bg); color: var(--fg); font: 600 1rem/1 var(--text); letter-spacing: 0.005em; text-decoration: none; white-space: nowrap; transition: transform 500ms var(--spring), background-color 200ms, box-shadow 300ms; -webkit-tap-highlight-color: transparent; }
.btn:hover { text-decoration: none; box-shadow: 0 10px 24px -12px color-mix(in srgb, var(--bg) 80%, transparent)}
.btn:active { transform: scale(0.97); transition: transform var(--t-press) ease-out; }
.btn .i { width: 18px; height: 18px; flex: none; transition: transform 500ms var(--spring); }
.btn:hover .i--go { transform: translateX(3px); }
.btn--primary:hover { --bg: var(--cobalt-press); }
.btn--lemon { --bg: var(--lemon-2); --fg: var(--ink); }
.btn--lemon:hover { --bg: #f09f3a; }
.btn--ghost { --bg: transparent; --fg: var(--ink); box-shadow: inset 0 0 0 1.5px var(--line-2); }
.btn--ghost:hover { --bg: var(--paper); box-shadow: inset 0 0 0 1.5px var(--ink); }
.btn--soft { --bg: var(--sky); --fg: var(--cobalt-ink); }
.btn--soft:hover { --bg: var(--sky-2); }
.btn--sm { min-height: 40px; padding: 0 16px; font-size: 0.9375rem; }
.btn--lg { min-height: 56px; padding: 0 28px; font-size: 1.0625rem; }
.link-arrow { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; color: var(--cobalt-ink); text-decoration: none; }
.link-arrow .i { width: 18px; height: 18px; transition: transform 500ms var(--spring); }
.link-arrow:hover .i { transform: translateX(4px); }
.i { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex: none; }

/* ---------- Header: a translucent layer content scrolls under (§12) ---------- */
.hdr { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 50; }
.hdr__bar { position: relative; background: var(--glass); -webkit-backdrop-filter: blur(20px) saturate(180%); backdrop-filter: blur(20px) saturate(180%); }
.hdr__bar::after { content: ""; position: absolute; inset: auto 0 -14px; height: 14px; pointer-events: none; background: linear-gradient(to bottom, rgba(255,255,255,.7), rgba(255,255,255,0)); opacity: 0; transition: opacity 300ms; }
.hdr[data-scrolled="true"] .hdr__bar::after { opacity: 1; }
.hdr__in { display: flex; align-items: center; gap: 20px; min-height: 76px; }
.brand { display: flex; align-items: center; gap: 12px; color: var(--ink); text-decoration: none; min-width: 0; margin-right: auto; }
.brand img { width: 46px; height: 46px; border-radius: 50%; box-shadow: 0 0 0 1px var(--line); background: #fff; }
.brand__t { display: grid; line-height: 1.1; min-width: 0; }
.brand__t b { font: 700 1.06rem/1.1 var(--display); letter-spacing: -0.01em; white-space: nowrap; }
.brand__t span { font: 500 0.75rem/1.3 var(--mono); letter-spacing: 0.04em; color: var(--ink-3); white-space: nowrap; }
.nav { display: none; }
.nav ul { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: 2px; }
.nav a, .nav__dd > button { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; padding: 0 13px; border: 0; border-radius: 999px; background: transparent; color: var(--ink); font: 550 0.9375rem/1 var(--text); text-decoration: none; transition: background-color 200ms; }
.nav a:hover, .nav__dd > button:hover, .nav__dd[data-open="true"] > button { background: var(--sky); }
.nav a[aria-current="true"] { color: var(--cobalt-ink); background: var(--sky); }
.nav__dd { position: relative; }
.nav__dd > button .i { width: 16px; height: 16px; transition: transform 400ms var(--spring); }
.nav__dd[data-open="true"] > button .i { transform: rotate(180deg); }
.dd { position: absolute; top: calc(100% + 10px); right: -8px; width: 320px; padding: 8px; border-radius: 22px; background: var(--glass-solid); box-shadow: var(--sh-3), 0 0 0 1px var(--line); transform-origin: 85% -10px; opacity: 0; scale: 0.94; filter: blur(6px); visibility: hidden; transition: opacity 220ms ease, scale 520ms var(--spring), filter 300ms ease, visibility 0s 520ms; }
.nav__dd[data-open="true"] .dd { opacity: 1; scale: 1; filter: none; visibility: visible; transition: opacity 220ms ease, scale 520ms var(--spring), filter 300ms ease; }
.dd a { display: grid; grid-template-columns: 40px 1fr; gap: 2px 12px; align-items: center; min-height: 0; padding: 10px 12px; border-radius: 14px; height: auto; white-space: normal}
.dd a .dd__ic { grid-row: span 2; width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: var(--chip-bg, var(--sky)); color: var(--chip-ink, var(--cobalt-ink)); }
.dd a b { font: 600 0.95rem/1.25 var(--text); }
.dd a small { font-size: 0.82rem; color: var(--ink-3); line-height: 1.3; }
.hdr__cta { display: none; }
.menu-btn { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 16px 0 14px; border: 0; border-radius: 999px; background: var(--ink); color: #fff; font: 600 0.95rem/1 var(--text); transition: transform 500ms var(--spring); }
.menu-btn:active { transform: scale(0.96); transition-duration: var(--t-press); }
.menu-btn .bars { position: relative; width: 16px; height: 10px; }
.menu-btn .bars::before, .menu-btn .bars::after { content: ""; position: absolute; left: 0; right: 0; height: 2px; border-radius: 2px; background: currentColor; transition: transform 500ms var(--spring), top 500ms var(--spring); }
.menu-btn .bars::before { top: 0; }
.menu-btn .bars::after { top: 8px; }
.menu-btn[aria-expanded="true"] .bars::before { top: 4px; transform: rotate(45deg); }
.menu-btn[aria-expanded="true"] .bars::after { top: 4px; transform: rotate(-45deg); }
@media (min-width: 80em) {
  .nav { display: block; }
  .menu-btn { display: none; }
  .hdr__cta { display: inline-flex; }
}
@media (max-width: 26.25em) { .brand__t span { display: none; } .brand img { width: 40px; height: 40px; } .menu-btn .lbl { display: none; } .menu-btn { padding: 0 14px; } }

/* Mobile sheet: grows out of the Menu button and returns into it (§7) */
.sheet { position: fixed; inset: calc(env(safe-area-inset-top, 0px) + 10px) max(10px, env(safe-area-inset-right, 0px)) auto max(10px, env(safe-area-inset-left, 0px)); z-index: 70; max-height: calc(100vh - 20px - env(safe-area-inset-top, 0px) - env(safe-area-inset-bottom, 0px)); max-height: calc(100dvh - 20px - env(safe-area-inset-top, 0px) - env(safe-area-inset-bottom, 0px)); overflow: auto; overscroll-behavior: contain; padding: 14px; border-radius: 28px; background: var(--glass-solid); box-shadow: var(--sh-3), 0 0 0 1px var(--line); transform-origin: calc(100% - 50px) 30px; opacity: 0; scale: 0.92; filter: blur(8px); visibility: hidden; transition: opacity 220ms ease, scale 600ms var(--spring), filter 320ms ease, visibility 0s 600ms}
.sheet[data-open="true"] { opacity: 1; scale: 1; filter: none; visibility: visible; transition: opacity 220ms ease, scale 600ms var(--spring), filter 320ms ease; }
.scrim { position: fixed; inset: 0; z-index: 65; background: rgba(233, 239, 254, .66); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); opacity: 0; visibility: hidden; transition: opacity 300ms ease, visibility 0s 300ms; }
.scrim[data-open="true"] { opacity: 1; visibility: visible; transition: opacity 300ms ease; }
.sheet__top { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 4px 4px 12px; }
.sheet__close { width: 44px; height: 44px; display: grid; place-items: center; border: 0; border-radius: 50%; background: var(--pearl); }
.sheet nav ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.sheet nav a { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; padding: 12px 14px; border-radius: 16px; color: var(--ink); text-decoration: none; font: 650 1.6rem/1.1 var(--display); letter-spacing: -0.02em; }
.sheet nav a small { font: 500 0.75rem/1 var(--mono); color: var(--ink-3); letter-spacing: .04em; }
.sheet nav a:active, .sheet nav a:hover { background: var(--sky); }
.sheet__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 12px}
.sheet__grid a { display: grid; gap: 4px; padding: 14px; border-radius: 18px; text-decoration: none; color: var(--ink); background: var(--tone, var(--pearl)); font-weight: 600; font-size: 0.95rem; line-height: 1.25; }
.sheet__grid a small { font-weight: 400; color: var(--ink-2); font-size: 0.8rem; }
.sheet .btn { width: 100%; margin-top: 12px; }
html.lock { overflow: hidden; }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; overflow: clip; background: linear-gradient(180deg, var(--sky) 0%, var(--pearl) 62%, var(--paper) 100%); padding-block: clamp(28px, 4vw, 56px) clamp(40px, 6vw, 88px)}
.hero__grid { display: grid; gap: clamp(28px, 4vw, 48px); align-items: end; }
.hero__copy { position: relative; z-index: 2; display: grid; gap: 22px; min-width: 0; }
.hero__ticket { justify-self: start; display: inline-flex; align-items: stretch; border-radius: 16px; background: var(--paper); box-shadow: var(--sh-1), 0 0 0 1px var(--line); text-decoration: none; color: var(--ink); overflow: hidden; transition: transform 500ms var(--spring), box-shadow 300ms; max-width: 100%; }
.hero__ticket:hover { transform: translateY(-2px); box-shadow: var(--sh-2), 0 0 0 1px var(--line); text-decoration: none; }
.hero__ticket:active { transform: scale(.98); transition-duration: var(--t-press); }
.hero__ticket .stub { display: grid; place-items: center; padding: 8px 14px; background: var(--lemon-2); font: 600 0.75rem/1.15 var(--mono); letter-spacing: .05em; text-transform: uppercase; text-align: center; border-right: 2px dashed rgba(16,37,58,.25); }
.hero__ticket .body { display: flex; align-items: center; gap: 10px; padding: 10px 14px; font-size: 0.93rem; line-height: 1.3; min-width: 0; }
.hero__ticket .body b { font-weight: 650; }
.hero__ticket .i { width: 18px; height: 18px; color: var(--cobalt); }
.hero__title { color: var(--ink); }
.hero__title .ln { display: block; overflow: hidden; overflow: clip; padding-bottom: 0.06em; margin-bottom: -0.06em}
.hero__title .ln > span { display: inline-block; }
.hero__title .ln--blue { color: var(--cobalt); }
.hero__title .dot { color: var(--lemon-2); -webkit-text-stroke: 0.02em var(--ink); paint-order: stroke fill; }
.hero__lead { max-width: 30em; }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 12px; }
.hero__facts { display: flex; flex-wrap: wrap; gap: 8px 22px; margin: 4px 0 0; padding: 0; list-style: none; font: 500 0.8rem/1.3 var(--mono); letter-spacing: .03em; color: var(--ink-2); }
.hero__facts li { display: inline-flex; align-items: center; gap: 8px; }
.hero__facts li::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--c, var(--cobalt)); }

/* the photo stack: flick the top photograph away (§2–§6) */
.stack { position: relative; z-index: 1; width: min(100%, 520px); justify-self: center; display: grid; gap: 14px; }
.stack__deck { position: relative; aspect-ratio: 4 / 4.6; touch-action: pan-y; user-select: none; -webkit-user-select: none}
.stack__card { position: absolute; inset: 0; margin: 0; border-radius: var(--r-xl); overflow: hidden; background: var(--sky-2); box-shadow: var(--sh-3), 0 0 0 1px rgba(255,255,255,.6) inset; will-change: transform; transform-origin: 50% 85%; cursor: grab; }
.stack__card:active { cursor: grabbing; }
.stack__card img { width: 100%; height: 100%; object-fit: cover; object-position: var(--pos, 50% 40%); pointer-events: none; -webkit-user-drag: none; }
.stack__card figcaption { position: absolute; left: 14px; bottom: 14px; right: 14px; display: flex; justify-content: space-between; gap: 10px; align-items: end; pointer-events: none; }
.stack__card figcaption span { padding: 7px 12px; border-radius: 999px; background: rgba(255,255,255,.86); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); font: 600 0.8rem/1.2 var(--text); color: var(--ink); }
.stack__bar { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.stack__hint { flex: 1; min-width: 0; font: 500 0.78rem/1.4 var(--mono); letter-spacing: .03em; color: var(--ink-3); }
.stack__btns { flex: none; }
.stack__btns { display: flex; gap: 8px; }
.round { width: 48px; height: 48px; display: grid; place-items: center; border: 0; border-radius: 50%; background: var(--paper); color: var(--ink); box-shadow: var(--sh-1), 0 0 0 1px var(--line); transition: transform 500ms var(--spring), background 200ms; }
.round:hover { background: var(--sky); }
.round:active { transform: scale(.92); transition-duration: var(--t-press); }
.round[disabled] { opacity: .4; cursor: default; }
.badge-spin { position: absolute; z-index: 3; top: -26px; right: -14px; width: 118px; height: 118px; border-radius: 50%; background: var(--lemon-2); color: var(--ink); display: grid; place-items: center; box-shadow: var(--sh-2); pointer-events: none; }
.badge-spin svg { position: absolute; inset: 0; width: 100%; height: 100%; animation: spin 26s linear infinite; }
.badge-spin text { font: 600 11px var(--mono); letter-spacing: 0; fill: var(--ink); text-transform: uppercase; }
.badge-spin b { font: 760 1.45rem/1 var(--display); letter-spacing: -0.02em; }
@keyframes spin { to { transform: rotate(360deg); } }
.hero__shape { position: absolute; z-index: 0; border-radius: 50%; pointer-events: none; }
.hero__shape--a { width: 46vw; max-width: 640px; aspect-ratio: 1; right: -12vw; top: -16vw; background: radial-gradient(closest-side, rgba(255, 233, 122, .55), rgba(255, 233, 122, 0)); }
.hero__shape--b { width: 34vw; max-width: 460px; aspect-ratio: 1; left: -10vw; bottom: -14vw; background: radial-gradient(closest-side, rgba(207, 225, 203, .7), rgba(207, 225, 203, 0)); }
@media (min-width: 60em) {
  .hero__grid { grid-template-columns: minmax(0, 1.35fr) minmax(360px, 0.9fr); align-items: center; }
  .stack { justify-self: end; }
  .hero__copy { padding-block: 24px; }
}
@media (max-width: 59.99875em) { .badge-spin { width: 96px; height: 96px; top: -18px; right: 0; } .badge-spin b { font-size: 1.15rem; } }

/* entrance: the headline rises line by line, photographs materialise (blur + scale together, §12) */
.js .hero__title .ln > span { animation: lineUp 1100ms var(--spring) both; animation-delay: calc(var(--n) * 90ms + 120ms); }
.js .hero__copy > :not(.hero__title) { animation: softIn 900ms var(--spring) both; animation-delay: calc(var(--n, 4) * 90ms + 260ms); }
.js .stack__deck { animation: materialise 1200ms var(--spring) both 280ms; }
@keyframes lineUp { from { transform: translateY(105%); } }
@keyframes softIn { from { opacity: 0; transform: translateY(14px); } }
@keyframes materialise { from { opacity: 0; transform: scale(.94); filter: blur(14px); } }

/* ---------- Sections ---------- */
.sec { position: relative; padding-block: clamp(64px, 9vw, 136px); }
.sec--pearl { background: var(--pearl); }
.sec--sky { background: var(--sky); }
.sec--lemon { background: var(--lemon); }
.sec--sage { background: var(--sage); }
.sec--lilac { background: var(--lilac); }
.sec__head { display: grid; gap: 18px; margin-bottom: clamp(32px, 5vw, 64px); max-width: 980px; }
.sec__head--split { max-width: none; }
@media (min-width: 56.25em) { .sec__head--split { grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); align-items: end; gap: 48px; } .sec__head--split .lede { justify-self: end; } }
.curve-top { position: absolute; left: 0; right: 0; top: -1px; height: 48px; pointer-events: none; }

/* reveal: elements below the first screen glide up a little as they arrive; the page is complete without JS */
.rv { transition: transform 1000ms var(--spring), opacity 700ms ease; }
.js .rv[data-pre] { transform: translateY(28px); opacity: 0.001; }

/* ---------- About ---------- */
.about { display: grid; gap: clamp(32px, 5vw, 72px); }
@media (min-width: 60em) { .about { grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); align-items: start; } }
.about__photo { position: relative; margin: 0; }
.about__photo img { width: 100%; aspect-ratio: 4 / 3.1; object-fit: cover; border-radius: var(--r-xl) var(--r-xl) var(--r-xl) 6px; }
.about__photo figcaption { margin-top: 10px; font: 500 0.78rem/1.4 var(--mono); color: var(--ink-3); letter-spacing: .02em; }
.about__stamp { position: absolute; left: -10px; top: -18px; padding: 10px 14px; border-radius: 14px; background: var(--paper); box-shadow: var(--sh-2); display: grid; line-height: 1.1; rotate: -4deg; }
.about__stamp b { font: 760 2.1rem/1 var(--display); color: var(--cobalt); letter-spacing: -0.03em; }
.about__stamp span { font: 500 0.75rem/1.3 var(--mono); letter-spacing: .05em; text-transform: uppercase; color: var(--ink-2); }
.about__body { display: grid; gap: 28px; }
.aim { margin: 0; padding: 0; font: 600 clamp(1.45rem, 1.1rem + 1.4vw, 2.3rem)/1.18 var(--display); letter-spacing: -0.02em; color: var(--ink); text-wrap: balance; }
.aim mark { background: linear-gradient(transparent 58%, var(--lemon-2) 58%, var(--lemon-2) 92%, transparent 92%); color: inherit; padding: 0 .05em; }
.aim + figcaption { margin-top: 10px; font: 500 0.8rem/1.4 var(--mono); color: var(--ink-3); }
.about__facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0; border-top: 1px solid var(--line)}
.about__facts div { padding: 16px 16px 16px 0; border-bottom: 1px solid var(--line); }
.about__facts div:nth-child(odd) { border-right: 1px solid var(--line); }
.about__facts div:nth-child(even) { padding-left: 16px; }
.about__facts dt { font: 500 0.75rem/1.3 var(--mono); letter-spacing: .05em; text-transform: uppercase; color: var(--ink-3); }
.about__facts dd { margin: 4px 0 0; font: 620 1.05rem/1.3 var(--text); }

/* timeline: a draggable, snapping track of the school's real dates */
.tl { margin-top: clamp(48px, 7vw, 96px); }
.tl__head { display: flex; align-items: end; justify-content: space-between; gap: 16px; margin-bottom: 20px; }
.tl__track { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(260px, 1fr); gap: 0; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; overscroll-behavior-x: contain; border-top: 2px solid var(--ink)}
.tl__track::-webkit-scrollbar { display: none; }
.tl__item { scroll-snap-align: start; position: relative; padding: 28px 28px 8px 0; display: grid; gap: 10px; align-content: start; }
.tl__item::before { content: ""; position: absolute; top: -8px; left: 0; width: 14px; height: 14px; border-radius: 50%; background: var(--paper); box-shadow: inset 0 0 0 3px var(--c, var(--cobalt)); }
.tl__yr { font: 760 clamp(2.6rem, 1.8rem + 2.6vw, 4.2rem)/0.9 var(--display); letter-spacing: -0.04em; color: var(--c, var(--cobalt)); font-variant-numeric: tabular-nums; }
.tl__date { font: 500 0.78rem/1.3 var(--mono); color: var(--ink-3); letter-spacing: .03em; }
.tl__item p { color: var(--ink-2); max-width: 30ch; font-size: 1rem; }
.tl__item h3 { margin: 0; font: 650 1.15rem/1.25 var(--text); }

/* ---------- Values (lemon) ---------- */
.values { list-style: none; margin: 0; padding: 0; border-top: 1px solid rgba(16,37,58,.18); }
.values li { position: relative; display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 4px 24px; align-items: baseline; padding: clamp(14px, 2vw, 22px) 0; border-bottom: 1px solid rgba(16,37,58,.18); overflow: hidden}
.values li::before { content: ""; position: absolute; inset: 0; background: var(--paper); transform: scaleY(0); transform-origin: 50% 100%; transition: transform 600ms var(--spring); z-index: 0; border-radius: 0; }
.values li > * { position: relative; z-index: 1; }
.values li:hover::before { transform: scaleY(1); }
.values .v-name { grid-column: 2; font: 720 clamp(2.1rem, 1.2rem + 4.2vw, 5.4rem)/0.95 var(--display); letter-spacing: -0.04em; transition: transform 600ms var(--spring), color 300ms; }
.values li:hover .v-name { transform: translateX(10px); color: var(--cobalt); }
.values .v-mark { grid-column: 1; grid-row: 1; width: clamp(14px, 1.6vw, 22px); aspect-ratio: 1; border-radius: 50%; background: var(--ink); align-self: center; transition: background 300ms, scale 600ms var(--spring); }
.values li:hover .v-mark { background: var(--cobalt); scale: 1.4; }
.values .v-note { grid-column: 2; color: var(--ink-2); font-size: 1rem; max-width: 52ch; }
.motto-row { display: flex; flex-wrap: wrap; gap: 16px 40px; align-items: center; justify-content: space-between; margin-top: 36px; }
.motto-row p { font: 500 0.82rem/1.4 var(--mono); letter-spacing: .03em; color: var(--ink-2); max-width: 52ch; }

/* ---------- Academics: four stages as expanding rows ---------- */
.stages { display: grid; gap: 10px; }
.stage { --tone: var(--paper); border-radius: var(--r-l); background: var(--tone); box-shadow: 0 0 0 1px var(--line); overflow: hidden; transition: box-shadow 300ms; }
.stage[data-open="true"] { box-shadow: var(--sh-2), 0 0 0 1px var(--line); }
.stage__btn { width: 100%; display: grid; grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "no plus" "name plus"; gap: 6px 18px; align-items: center; padding: clamp(18px, 2.4vw, 28px) clamp(18px, 3vw, 36px); border: 0; background: none; text-align: left}
.stage__btn:active .stage__plus { transform: scale(.9); transition-duration: var(--t-press); }
.stage__no { font: 500 0.8rem/1 var(--mono); color: var(--ink-3); letter-spacing: .04em; font-variant-numeric: tabular-nums; }
.stage__name { display: grid; gap: 4px; min-width: 0; }
.stage__name b { font: 720 clamp(1.6rem, 1.1rem + 2.2vw, 3rem)/1 var(--display); letter-spacing: -0.03em; }
.stage__name small { font-size: 0.95rem; color: var(--ink-2); }
.stage__plus { width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; background: var(--sky); color: var(--cobalt-ink); transition: transform 600ms var(--spring), background 300ms; }
.stage[data-open="true"] .stage__plus { transform: rotate(45deg); background: var(--cobalt); color: #fff; }
.stage__panel { display: grid; grid-template-rows: 0fr; transition: grid-template-rows 700ms var(--spring); }
.stage[data-open="true"] .stage__panel { grid-template-rows: 1fr}
.stage__inner { overflow: hidden; min-height: 0; }
.stage__content { display: grid; gap: 24px; padding: 0 clamp(18px, 3vw, 36px) clamp(22px, 3vw, 36px); }
@media (min-width: 53.75em) { .stage__content { grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 40px; align-items: start} }
.stage__content .prose { color: var(--ink-2); }
.stage__facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(120px, 1fr)); gap: 10px}
.stat { padding: 16px; border-radius: 18px; background: var(--paper); box-shadow: 0 0 0 1px var(--line); }
.stat b { display: block; font: 740 clamp(1.8rem, 1.4rem + 1.4vw, 2.6rem)/1 var(--display); letter-spacing: -0.03em; color: var(--cobalt); font-variant-numeric: tabular-nums; }
.stat span { display: block; margin-top: 6px; font: 500 0.75rem/1.35 var(--mono); letter-spacing: .03em; text-transform: uppercase; color: var(--ink-3); }
.tags { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; margin: 0; padding: 0; }
.tags li { padding: 7px 12px; border-radius: 999px; background: var(--paper); box-shadow: 0 0 0 1px var(--line); font-size: 0.9rem; font-weight: 550; }
.note { font: 500 0.78rem/1.45 var(--mono); color: var(--ink-3); letter-spacing: .01em; }

/* ---------- Why families choose: an editorial mosaic, every tile a different shape ---------- */
.why { display: grid; gap: 14px; grid-template-columns: repeat(6, minmax(0, 1fr))}
.why > * { grid-column: span 6; }
.wt { position: relative; border-radius: var(--r-l); padding: clamp(22px, 2.6vw, 34px); background: var(--tone, var(--pearl)); display: grid; gap: 12px; align-content: start; overflow: hidden; min-height: 220px; transition: transform 600ms var(--spring); }
.wt:hover { transform: translateY(-4px); }
.wt h3 { margin: 0; font: 680 clamp(1.3rem, 1.1rem + .8vw, 1.8rem)/1.1 var(--display); letter-spacing: -0.02em; }
.wt p { color: var(--ink-2); max-width: 40ch; font-size: 1rem; }
.wt .big { font: 780 clamp(3.4rem, 2rem + 5vw, 6.6rem)/0.85 var(--display); letter-spacing: -0.05em; color: var(--ink-c, var(--cobalt)); }
.wt--photo { padding: 0; min-height: 320px; }
.wt--photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.wt--photo .cap { position: absolute; left: 16px; right: 16px; bottom: 16px; padding: 14px 16px; border-radius: 18px; background: rgba(255,255,255,.88); -webkit-backdrop-filter: blur(16px) saturate(160%); backdrop-filter: blur(16px) saturate(160%); display: grid; gap: 4px; }
.wt--photo .cap b { font: 650 1.05rem/1.25 var(--text); }
.wt--photo .cap span { font-size: 0.9rem; color: var(--ink-2); }
.wt .lab { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; margin: 4px 0 0; padding: 0; }
.wt .lab li { padding: 6px 11px; border-radius: 999px; background: rgba(255,255,255,.75); font-size: 0.86rem; font-weight: 600; }
@media (min-width: 45em) { .why .w-a { grid-column: span 3; } .why .w-b { grid-column: span 3; } .why .w-c { grid-column: span 2; } .why .w-d { grid-column: span 4; } .why .w-e { grid-column: span 3; } .why .w-f { grid-column: span 3; } }
@media (min-width: 68.75em) { .why .w-a { grid-column: span 2; grid-row: span 2; } .why .w-b { grid-column: span 2; } .why .w-c { grid-column: span 2; } .why .w-d { grid-column: span 4; } .why .w-e { grid-column: span 3; } .why .w-f { grid-column: span 3; } }

/* ---------- Campus (sage) ---------- */
.campus-hero { position: relative; margin: 0 0 clamp(28px, 4vw, 48px); border-radius: var(--r-xl); overflow: hidden; background: var(--sage-2); }
.campus-hero img { width: 100%; aspect-ratio: 16 / 7; min-height: 260px; object-fit: cover; object-position: 50% 30%; transform: scale(var(--s, 1.06)); transition: transform 200ms linear; will-change: transform; }
.campus-hero figcaption { position: absolute; left: 16px; bottom: 16px; padding: 8px 14px; border-radius: 999px; background: rgba(255,255,255,.9); font: 500 0.78rem/1.3 var(--mono); color: var(--ink); }
.fac { display: grid; gap: 14px; }
@media (min-width: 56.25em) { .fac { grid-template-columns: 1.25fr 1fr 1fr} }
.fac__card { border-radius: var(--r-l); background: var(--paper); padding: clamp(22px, 2.6vw, 32px); display: grid; gap: 14px; align-content: start; box-shadow: 0 0 0 1px rgba(42,124,92,.12); }
.fac__card h3 { margin: 0; font: 680 1.5rem/1.1 var(--display); letter-spacing: -0.02em; }
.fac__card .big { font: 780 clamp(3rem, 2.2rem + 3vw, 5rem)/.85 var(--display); letter-spacing: -0.05em; color: var(--forest); }
.labs { list-style: none; margin: 0; padding: 0; display: grid; }
.labs li { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line); font: 650 clamp(1.15rem, 1rem + .6vw, 1.5rem)/1.2 var(--display); letter-spacing: -0.01em; }
.labs li:last-child { border-bottom: 0; }
.labs li span { font: 500 0.75rem/1 var(--mono); color: var(--ink-3); letter-spacing: .04em; }

/* ---------- Student life (lilac): a film strip you can drag ---------- */
.strip { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(250px, 30%); gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding-bottom: 6px; cursor: grab; overscroll-behavior-x: contain; }
.strip::-webkit-scrollbar { display: none; }
.strip.dragging { cursor: grabbing; scroll-snap-type: none; }
.strip.dragging * { pointer-events: none; }
@media (max-width: 45em) { .strip { grid-auto-columns: 78%; } }
.frame { scroll-snap-align: start; margin: 0; display: grid; gap: 12px; }
.frame__img { position: relative; border-radius: var(--r-l); overflow: hidden; aspect-ratio: 4 / 5; background: var(--paper); }
.frame__img img { width: 100%; height: 100%; object-fit: cover; object-position: var(--pos, 50% 40%); transition: transform 900ms var(--spring); }
.frame:hover .frame__img img { transform: scale(1.04); }
.frame figcaption { display: grid; gap: 4px; }
.frame figcaption b { font: 680 1.3rem/1.15 var(--display); letter-spacing: -0.015em; }
.frame figcaption span { color: var(--ink-2); font-size: 0.97rem; }
.frame--text { align-content: end; border-radius: var(--r-l); background: var(--paper); padding: 26px; box-shadow: 0 0 0 1px rgba(23,106,130,.12); }
.frame--text h3 { margin: 0 0 6px; font: 680 1.5rem/1.1 var(--display); letter-spacing: -0.02em; }
.frame--text ul { margin: 8px 0 0; padding-left: 1.1em; color: var(--ink-2); display: grid; gap: 8px; font-size: 0.98rem; }
.strip-ctl { display: flex; gap: 8px; }
.cloud { display: flex; flex-wrap: wrap; gap: 10px; margin-top: clamp(28px, 4vw, 44px); list-style: none; padding: 0; }
.cloud li { padding: 10px 18px; border-radius: 999px; background: var(--paper); font: 650 clamp(1rem, .9rem + .4vw, 1.25rem)/1.1 var(--display); box-shadow: 0 0 0 1px rgba(23,106,130,.14); transition: background 250ms, color 250ms, transform 500ms var(--spring); }
.cloud li:hover { background: var(--plum); color: #fff; transform: translateY(-2px) rotate(-1.5deg); }

/* ---------- Gallery: an editorial archive ---------- */
.g-bar { position: sticky; top: calc(76px + env(safe-area-inset-top, 0px)); z-index: 5; display: flex; align-items: center; justify-content: space-between; gap: 14px; flex-wrap: wrap; margin-bottom: 22px; padding: 10px 0; background: linear-gradient(var(--paper) 70%, rgba(255,255,255,0)); }
.chips { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; padding: 2px; margin: -2px; max-width: 100%; }
.chips::-webkit-scrollbar { display: none; }
.chip { --c: var(--ink); --cb: var(--pearl); display: inline-flex; align-items: center; gap: 8px; min-height: 42px; padding: 0 16px 0 12px; border: 0; border-radius: 999px; background: var(--cb); color: var(--ink); font: 600 0.92rem/1 var(--text); white-space: nowrap; box-shadow: inset 0 0 0 1px var(--line); transition: background 250ms, color 250ms, box-shadow 250ms, transform 500ms var(--spring); }
.chip::before { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--c); transition: background 250ms; }
.chip small { font: 500 0.75rem/1 var(--mono); color: var(--ink-3); }
.chip:hover { box-shadow: inset 0 0 0 1.5px var(--c); }
.chip:active { transform: scale(.95); transition-duration: var(--t-press); }
.chip[aria-pressed="true"] { background: var(--c); color: #fff; box-shadow: none; }
.chip[aria-pressed="true"]::before { background: #fff; }
.chip[aria-pressed="true"] small { color: rgba(255,255,255,.8); }
.g-count { font: 500 0.8rem/1.3 var(--mono); color: var(--ink-3); letter-spacing: .03em; }
.archive { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: 8px; grid-auto-flow: dense; gap: 0 14px}
@media (min-width: 45em) { .archive { grid-template-columns: repeat(3, minmax(0, 1fr))} }
@media (min-width: 68.75em) { .archive { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0 18px} }
.ph { position: relative; margin: 0 0 14px; padding: 0; border: 0; background: none; text-align: left; display: grid; gap: 10px; align-content: start; grid-row: span var(--rows, 30); cursor: zoom-in; }
.ph[hidden] { display: none !important; }
.ph--feature { grid-column: span 2; }
.ph__img { position: relative; overflow: hidden; border-radius: var(--r-m); background: var(--tone, var(--sky)); aspect-ratio: var(--ar); }
.ph__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 900ms var(--spring), opacity 600ms ease; }
.ph__img img.loading { opacity: 0; }
.ph:hover .ph__img img { transform: scale(1.045); }
.ph__img::after { content: ""; position: absolute; inset: 0; border-radius: inherit; box-shadow: inset 0 0 0 1px rgba(16,37,58,.08); pointer-events: none; }
.ph__flag { position: absolute; top: 10px; left: 10px; padding: 5px 10px; border-radius: 999px; background: rgba(255,255,255,.92); font: 600 0.75rem/1.2 var(--mono); letter-spacing: .04em; text-transform: uppercase; color: var(--ink); }
.ph { min-width: 0; }
.ph__meta { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 4px 10px; min-width: 0; }
.ph__meta b { min-width: 0; }
.ph__meta b { font: 620 1rem/1.3 var(--text); color: var(--ink); }
.ph__meta span { flex: none; display: inline-flex; align-items: center; gap: 6px; font: 500 0.75rem/1 var(--mono); letter-spacing: .04em; text-transform: uppercase; color: var(--ink-3); }
.ph__meta span::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--c); }
.ph:focus-visible { outline: none; }
.ph:focus-visible .ph__img { outline: 3px solid var(--focus); outline-offset: 3px; }
.g-note { margin-top: 18px; }

/* lightbox: light, translucent, swipeable (§3–§9), dims to focus (§12) */
.lb { position: fixed; inset: 0; z-index: 90; display: grid; grid-template-rows: auto minmax(0, 1fr) auto; background: rgba(246, 247, 252, .9); -webkit-backdrop-filter: blur(24px) saturate(150%); backdrop-filter: blur(24px) saturate(150%); opacity: 0; visibility: hidden; transition: opacity 260ms ease, visibility 0s 260ms; padding: env(safe-area-inset-top, 0px) env(safe-area-inset-right, 0px) env(safe-area-inset-bottom, 0px) env(safe-area-inset-left, 0px)}
.lb[data-open="true"] { opacity: 1; visibility: visible; transition: opacity 260ms ease; }
.lb__top, .lb__foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px max(16px, 3vw); }
.lb__count { font: 500 0.85rem/1 var(--mono); color: var(--ink-2); letter-spacing: .04em; font-variant-numeric: tabular-nums; }
.lb__view { position: relative; overflow: hidden; touch-action: pan-y; }
.lb__track { position: absolute; inset: 0; display: flex; will-change: transform; }
.lb__slide { flex: 0 0 100%; display: grid; place-items: center; padding: 8px max(16px, 6vw); }
.lb__slide img { max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; border-radius: var(--r-m); box-shadow: var(--sh-3); -webkit-user-select: none; user-select: none; -webkit-user-drag: none; background: var(--sky)}
.lb__nav { position: absolute; top: 50%; translate: 0 -50%; z-index: 2; }
.lb__nav--prev { left: max(10px, 2vw); }
.lb__nav--next { right: max(10px, 2vw); }
@media (pointer: coarse) { .lb__nav { display: none; } }
.lb__cap { display: grid; gap: 4px; min-width: 0; max-width: 70ch; }
.lb__cap b { font: 650 1.1rem/1.3 var(--display); }
.lb__cap span { font-size: 0.95rem; color: var(--ink-2); }
.lb__tag { flex: none; display: inline-flex; align-items: center; gap: 8px; padding: 8px 12px; border-radius: 999px; background: var(--paper); box-shadow: 0 0 0 1px var(--line); font: 600 0.78rem/1 var(--mono); letter-spacing: .03em; text-transform: uppercase; }
.lb__tag::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--c); }
.lb__dots { display: flex; gap: 6px; flex-wrap: wrap; justify-content: center; }
.lb__dots i { width: 6px; height: 6px; border-radius: 50%; background: var(--line-2); transition: background 200ms, width 400ms var(--spring); }
.lb__dots i.on { width: 20px; border-radius: 3px; background: var(--cobalt); }
@media (max-width: 40em) { .lb__foot { flex-direction: column; align-items: flex-start; } .lb__dots { display: none; } }

/* ---------- Voices (reviews) ---------- */
.voices { display: grid; gap: clamp(28px, 4vw, 48px); }
@media (min-width: 62.5em) { .voices { grid-template-columns: minmax(300px, .72fr) minmax(0, 1.28fr); align-items: start; } }
.vsum { position: relative; border-radius: var(--r-xl); background: var(--paper); padding: clamp(24px, 3vw, 36px); display: grid; gap: 18px; box-shadow: var(--sh-1), 0 0 0 1px rgba(23,106,130,.1); }
.vsum__g { display: flex; align-items: center; gap: 12px; font: 600 0.95rem/1.2 var(--text); }
.vsum__g svg { width: 30px; height: 30px; }
.vsum__rating { display: flex; align-items: baseline; gap: 14px; flex-wrap: wrap; }
.vsum__rating b { font: 780 4.5rem/0.85 var(--display); letter-spacing: -0.05em; color: var(--line-2); }
.stars { display: inline-flex; gap: 3px; color: var(--line-2); }
.stars svg { width: 22px; height: 22px; fill: currentColor; stroke: none; }
.stars--on { color: #e0912f; }
.vsum__acts { display: grid; gap: 10px; }
.vsum__acts .btn { width: 100%; }
.vrail-wrap { min-width: 0; display: grid; gap: 16px; }
.vrail { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(280px, 46%); gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding: 4px; margin: -4px; overscroll-behavior-x: contain; }
.vrail::-webkit-scrollbar { display: none; }
@media (max-width: 45em) { .vrail { grid-auto-columns: 86%; } }
.vcard { scroll-snap-align: start; position: relative; display: grid; gap: 16px; align-content: start; padding: 26px; border-radius: var(--r-l); background: var(--paper); box-shadow: 0 0 0 1px rgba(23,106,130,.12); min-height: 300px; }
.vcard__q { font: 600 1.18rem/1.4 var(--display); letter-spacing: -0.005em; color: var(--ink); display: -webkit-box; -webkit-line-clamp: 6; -webkit-box-orient: vertical; overflow: hidden; }
.vcard__who { display: flex; align-items: center; gap: 12px; margin-top: auto; }
.vcard__av { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; background: var(--lilac); color: var(--plum); font: 700 0.95rem/1 var(--display); }
.vcard__who b { display: block; font-weight: 650; font-size: 0.98rem; }
.vcard__who small { display: block; color: var(--ink-3); font-size: 0.85rem; }
.vcard__flag { position: absolute; top: 18px; right: 18px; padding: 5px 10px; border-radius: 999px; background: var(--lemon); color: var(--marigold-ink); font: 600 0.75rem/1.1 var(--mono); letter-spacing: .05em; text-transform: uppercase; }
.vrail-ctl { display: flex; align-items: center; justify-content: space-between; gap: 12px; }

/* ---------- Notices ---------- */
.notices { list-style: none; margin: 0; padding: 0; border-top: 2px solid var(--ink); }
.notice { display: grid; gap: 10px 32px; padding: clamp(20px, 3vw, 32px) 0; border-bottom: 1px solid var(--line); }
@media (min-width: 53.75em) { .notice { grid-template-columns: 200px minmax(0, 1fr) auto; align-items: start} }
.notice__date { display: grid; gap: 6px; align-content: start; }
.notice__date time, .notice__date span:first-child { font: 500 0.82rem/1.3 var(--mono); letter-spacing: .03em; color: var(--ink-2); }
.notice__cat { justify-self: start; padding: 5px 10px; border-radius: 999px; background: var(--cb); color: var(--ci); font: 600 0.75rem/1.1 var(--mono); letter-spacing: .05em; text-transform: uppercase; }
.notice h3 { margin: 0 0 6px; font: 680 clamp(1.35rem, 1.1rem + 1vw, 2rem)/1.1 var(--display); letter-spacing: -0.02em; }
.notice p { color: var(--ink-2); max-width: 60ch; }
.notice__act { align-self: center; }

/* ---------- Admissions (lemon) ---------- */
.adm { display: grid; gap: clamp(28px, 4vw, 48px); }
@media (min-width: 62.5em) { .adm { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: start} }
.ticket { position: relative; border-radius: var(--r-xl); background: var(--paper); box-shadow: var(--sh-2); overflow: hidden; }
.ticket__top { padding: clamp(22px, 3vw, 32px); display: grid; gap: 12px; }
.ticket__top .d-m { color: var(--ink); }
.ticket__perf { position: relative; height: 0; border-top: 2px dashed var(--line-2); margin: 0 18px; }
.ticket__perf::before, .ticket__perf::after { content: ""; position: absolute; top: -14px; width: 28px; height: 28px; border-radius: 50%; background: var(--lemon); }
.ticket__perf::before { left: -32px; }
.ticket__perf::after { right: -32px; }
.ticket__rows { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 0; padding: 8px clamp(22px, 3vw, 32px) clamp(22px, 3vw, 32px)}
.ticket__rows div { padding: 14px 12px 0 0; }
.ticket__rows dt { font: 500 0.75rem/1.3 var(--mono); letter-spacing: .05em; text-transform: uppercase; color: var(--ink-3); }
.ticket__rows dd { margin: 4px 0 0; font-weight: 620; }
.steps { list-style: none; margin: 24px 0 0; padding: 0; display: grid; gap: 0; counter-reset: s; }
.steps li { counter-increment: s; display: grid; grid-template-columns: 56px minmax(0, 1fr); gap: 14px; padding: 18px 0; border-bottom: 1px solid rgba(16,37,58,.14)}
.steps li::before { content: counter(s); width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: var(--ink); color: var(--lemon-2); font: 720 1.15rem/1 var(--display); }
.steps b { display: block; font: 650 1.1rem/1.3 var(--text); }
.steps span { color: var(--ink-2); font-size: 0.98rem; }
.picker { margin-top: 28px; border-radius: var(--r-l); background: rgba(255,255,255,.7); padding: 18px; display: grid; gap: 14px; }
.picker__tabs { display: flex; gap: 6px; flex-wrap: wrap; }
.picker__tabs button { min-height: 40px; padding: 0 14px; border: 0; border-radius: 999px; background: var(--paper); box-shadow: inset 0 0 0 1px var(--line); font: 600 0.9rem/1 var(--text); transition: background 200ms, color 200ms, transform 500ms var(--spring); }
.picker__tabs button[aria-selected="true"] { background: var(--ink); color: #fff; box-shadow: none; }
.picker__tabs button:active { transform: scale(.95); transition-duration: var(--t-press); }
.picker__out { display: grid; gap: 10px; }
.picker__out h3 { margin: 0; font: 680 1.4rem/1.15 var(--display); letter-spacing: -0.015em; }
.picker__out p { color: var(--ink-2); }
.picker__out .row { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 4px; }
.checklist { margin-top: 18px; display: grid; gap: 8px; }
.check { display: grid; grid-template-columns: 28px minmax(0, 1fr); gap: 12px; align-items: start; padding: 12px 14px; border-radius: 16px; background: rgba(255,255,255,.7); cursor: pointer; transition: background 200ms}
.check:hover { background: var(--paper); }
.check input { appearance: none; width: 24px; height: 24px; margin: 0; border-radius: 8px; box-shadow: inset 0 0 0 2px var(--line-2); background: var(--paper); display: grid; place-items: center; transition: background 200ms, box-shadow 200ms, transform 400ms var(--spring); cursor: pointer; }
.check input::after { content: ""; width: 12px; height: 7px; border: solid #fff; border-width: 0 0 2.5px 2.5px; transform: rotate(-45deg) translate(1px, -1px) scale(0); transition: transform 400ms var(--spring-bounce); }
.check input:checked { background: var(--ok); box-shadow: none; }
.check input:checked::after { transform: rotate(-45deg) translate(1px, -1px) scale(1); }
.check input:active { transform: scale(.88); transition-duration: var(--t-press); }
.check span { font-size: 0.98rem; }
.check-status { font: 500 0.8rem/1.3 var(--mono); color: var(--ink-2); }
.faq { margin-top: 18px; border-top: 1px solid rgba(16,37,58,.14); }
.faq details { border-bottom: 1px solid rgba(16,37,58,.14); }
.faq summary { list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 56px; padding: 12px 0; cursor: pointer; font: 620 1.02rem/1.35 var(--text); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .i { transition: transform 500ms var(--spring); }
.faq details[open] summary .i { transform: rotate(45deg); }
.faq details > div { padding: 0 0 16px; color: var(--ink-2); max-width: 64ch; }

/* form */
.form-card { border-radius: var(--r-xl); background: var(--paper); box-shadow: var(--sh-2); padding: clamp(22px, 3vw, 36px); display: grid; gap: 18px; }
.form-card h3 { margin: 0; }
.fgrid { display: grid; gap: 14px; }
@media (min-width: 40em) { .fgrid { grid-template-columns: 1fr 1fr} .fgrid .full { grid-column: 1 / -1; } }
.field { display: grid; gap: 6px; min-width: 0; }
.field label { font: 600 0.92rem/1.3 var(--text); }
.field label small { font-weight: 400; color: var(--ink-3); }
.field input, .field select, .field textarea { width: 100%; min-height: 50px; padding: 12px 14px; border: 0; border-radius: 14px; background: var(--pearl); box-shadow: inset 0 0 0 1.5px var(--line); font-size: 1rem; transition: box-shadow 200ms, background 200ms; }
.field textarea { min-height: 110px; resize: vertical; }
.field select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='none' stroke='%23131a35' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M4 6l4 4 4-4'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; padding-right: 40px; }
.field input:hover, .field select:hover, .field textarea:hover { box-shadow: inset 0 0 0 1.5px var(--line-2); }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; background: var(--paper); box-shadow: inset 0 0 0 2px var(--cobalt), 0 0 0 4px rgba(26,120,181,.14); }
.field[data-state="error"] input, .field[data-state="error"] select, .field[data-state="error"] textarea { box-shadow: inset 0 0 0 2px var(--err); background: var(--err-tint); }
.field[data-state="ok"] input, .field[data-state="ok"] select { box-shadow: inset 0 0 0 1.5px rgba(29,107,69,.45); }
.field .msg { min-height: 0; font-size: 0.86rem; color: var(--err); display: flex; gap: 6px; align-items: center; }
.field .msg:empty { display: none; }
.field .hint { font-size: 0.82rem; color: var(--ink-3); }
.consent { display: grid; grid-template-columns: 28px minmax(0, 1fr); gap: 10px; align-items: start; font-size: 0.95rem; color: var(--ink-2)}
.consent input { appearance: none; width: 24px; height: 24px; margin: 2px 0 0; border-radius: 8px; box-shadow: inset 0 0 0 2px var(--line-2); display: grid; place-items: center; cursor: pointer; transition: background 200ms; }
.consent input::after { content: ""; width: 12px; height: 7px; border: solid #fff; border-width: 0 0 2.5px 2.5px; transform: rotate(-45deg) translate(1px, -1px) scale(0); transition: transform 400ms var(--spring-bounce); }
.consent input:checked { background: var(--cobalt); box-shadow: none; }
.consent input:checked::after { transform: rotate(-45deg) translate(1px, -1px) scale(1); }
.consent[data-state="error"] input { box-shadow: inset 0 0 0 2px var(--err); }
.form-alert { padding: 12px 14px; border-radius: 14px; background: var(--err-tint); color: var(--err); font-size: 0.95rem; }
.form-done { display: grid; gap: 14px; justify-items: start; padding: 8px 0; animation: softIn 700ms var(--spring) both; }
.form-done .tick { width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; background: var(--ok-tint); color: var(--ok); }
.form-done .tick svg { width: 28px; height: 28px; stroke-width: 2.4; stroke-dasharray: 30; stroke-dashoffset: 30; animation: draw 600ms ease-out 150ms forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
.summary { width: 100%; display: grid; gap: 0; border-radius: 16px; background: var(--pearl); padding: 6px 16px; }
.summary div { display: grid; grid-template-columns: 130px minmax(0, 1fr); gap: 10px; padding: 9px 0; border-bottom: 1px solid var(--line); font-size: 0.95rem}
.summary div:last-child { border-bottom: 0; }
.summary dt { color: var(--ink-3); }
.summary dd { margin: 0; font-weight: 600; overflow-wrap: anywhere; }

/* ---------- Parents' desk ---------- */
.desk { display: grid; gap: 14px; }
@media (min-width: 60em) { .desk { grid-template-columns: 1fr 1fr} }
.desk__col { border-radius: var(--r-l); background: var(--paper); padding: clamp(20px, 2.6vw, 30px); display: grid; gap: 14px; align-content: start; box-shadow: 0 0 0 1px var(--line); }
.desk__col h3 { margin: 0; }
.linkrow { list-style: none; margin: 0; padding: 0; display: grid; }
.linkrow a { display: grid; grid-template-columns: 40px minmax(0, 1fr) auto; gap: 14px; align-items: center; padding: 12px 8px; margin: 0 -8px; border-radius: 14px; color: var(--ink); text-decoration: none; transition: background 200ms}
.linkrow a:hover { background: var(--pearl); }
.linkrow a:active { transform: scale(.99); }
.linkrow .ic { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: var(--cb, var(--sky)); color: var(--ci, var(--cobalt-ink)); }
.linkrow b { display: block; font-weight: 620; font-size: 1rem; line-height: 1.3; }
.linkrow small { display: block; color: var(--ink-3); font-size: 0.85rem; }
.linkrow .i--ext { width: 18px; height: 18px; color: var(--ink-3); }
.docs { columns: 1; column-gap: 24px; }
@media (min-width: 35em) { .docs { columns: 2; } }
.docs a { break-inside: avoid; }
.kv { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 0 18px; border-top: 1px solid var(--line); margin: 0}
.kv div { padding: 12px 0; border-bottom: 1px solid var(--line); }
.kv dt { font: 500 0.75rem/1.3 var(--mono); letter-spacing: .05em; text-transform: uppercase; color: var(--ink-3); }
.kv dd { margin: 4px 0 0; font-weight: 600; }
.more { margin-top: 4px; }
.more summary { cursor: pointer; font-weight: 600; color: var(--cobalt-ink); padding: 8px 0; }

/* ---------- Contact ---------- */
.contact { display: grid; gap: clamp(28px, 4vw, 48px); }
@media (min-width: 62.5em) { .contact { grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); align-items: stretch} }
.addr { font: 650 clamp(1.4rem, 1.1rem + 1.2vw, 2.1rem)/1.2 var(--display); letter-spacing: -0.015em; margin: 0; font-style: normal; }
.lines { list-style: none; margin: 24px 0 0; padding: 0; border-top: 1px solid var(--line); }
.lines li { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 4px 12px; align-items: center; padding: 14px 0; border-bottom: 1px solid var(--line)}
.lines .k { grid-column: 1 / -1; font: 500 0.75rem/1.2 var(--mono); letter-spacing: .05em; text-transform: uppercase; color: var(--ink-3); }
.lines .v { font: 620 1.12rem/1.3 var(--text); font-variant-numeric: tabular-nums; overflow-wrap: anywhere; user-select: all; -webkit-user-select: all}
.lines .acts { display: flex; gap: 6px; }
.mini { min-height: 40px; padding: 0 14px; border: 0; border-radius: 999px; display: inline-flex; align-items: center; gap: 6px; background: var(--sky); color: var(--cobalt-ink); font: 600 0.88rem/1 var(--text); text-decoration: none; transition: background 200ms, transform 500ms var(--spring); }
.mini:hover { background: var(--sky-2); text-decoration: none; }
.mini:active { transform: scale(.95); transition-duration: var(--t-press); }
.mini .i { width: 16px; height: 16px; }
.mini[data-done="true"] { background: var(--ok-tint); color: var(--ok); }
.socials { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
.mapbox { position: relative; border-radius: var(--r-xl); overflow: hidden; background: #eef5fa; min-height: 420px; box-shadow: var(--sh-2), 0 0 0 1px var(--line); display: grid; grid-template-rows: minmax(0, 1fr) auto}
.map { position: relative; min-height: 340px; background: #eef5fa; z-index: 0; }
.map__fallback { position: absolute; inset: 0; display: grid; place-items: center; text-align: center; padding: 24px; color: var(--ink-2); background: repeating-linear-gradient(45deg, #eef5fa 0 14px, #e4eef6 14px 28px); }
.map[data-live="true"] .map__fallback { display: none; }
.mapbox__foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; padding: 16px 18px; background: var(--paper); border-top: 1px solid var(--line); }
.mapbox__foot p { font-size: 0.95rem; color: var(--ink-2); max-width: 44ch; }
.mapbox__foot .row { display: flex; gap: 8px; flex-wrap: wrap; }

/* ---------- Visit band + Footer (light) ---------- */
.visit { background: var(--lemon); padding-block: clamp(56px, 8vw, 110px); overflow: hidden; }
.visit__in { display: grid; gap: 24px; justify-items: start; }
.visit .d-xxl { color: var(--ink); }
.visit .d-xxl span { color: var(--cobalt); }
.ftr { background: var(--sky); padding-block: clamp(48px, 6vw, 80px) calc(28px + env(safe-area-inset-bottom, 0px)); color: var(--ink); }
.ftr__grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 36px}
@media (min-width: 56.25em) { .ftr__grid { grid-template-columns: 1.4fr 1fr 1fr 1.2fr} }
.ftr h2 { margin: 0 0 12px; font: 500 0.75rem/1.3 var(--mono); letter-spacing: .06em; text-transform: uppercase; color: var(--ink-2); }
.ftr ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: minmax(0, 1fr); gap: 8px}
.ftr li { overflow-wrap: anywhere; }
.ftr a { color: var(--ink); text-decoration: none; }
.ftr a:hover { color: var(--cobalt-ink); text-decoration: underline; }
.ftr__brand { display: grid; gap: 14px; align-content: start; }
.ftr__brand img { width: 64px; height: 64px; border-radius: 50%; background: #fff; box-shadow: 0 0 0 1px var(--line-2); }
.ftr__brand p { color: var(--ink-2); max-width: 36ch; }
.ftr__word { margin-top: clamp(40px, 6vw, 72px); font: 780 clamp(3rem, 1rem + 9.6vw, 10rem)/0.82 var(--display); letter-spacing: -0.055em; color: var(--sky-2); -webkit-text-stroke: 1.5px var(--cobalt); paint-order: stroke fill; white-space: nowrap; overflow: hidden; text-overflow: clip; -webkit-user-select: none; user-select: none}
.ftr__base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 24px; margin-top: 24px; padding-top: 18px; border-top: 1px solid var(--line-2); font-size: 0.86rem; color: var(--ink-2); }

/* toast */
.toast { position: fixed; left: 50%; bottom: calc(20px + env(safe-area-inset-bottom, 0px)); z-index: 95; translate: -50% 0; padding: 12px 18px; border-radius: 999px; background: var(--ink); color: #fff; font-weight: 600; font-size: 0.95rem; box-shadow: var(--sh-3); opacity: 0; scale: .9; transition: opacity 200ms, scale 500ms var(--spring); pointer-events: none; max-width: calc(100vw - 32px); }
.toast[data-on="true"] { opacity: 1; scale: 1; }

/* ---------- Leaflet (inlined core) + map styling ---------- */
.lpin { cursor: pointer; background: none; border: 0; }
.lpin__body { position: absolute; left: 0; top: 0; width: 56px; height: 56px; display: grid; place-items: center; border-radius: 50% 50% 50% 10px; transform: rotate(-45deg); background: var(--cobalt); box-shadow: 0 14px 24px -10px rgba(16,37,58,.6), 0 0 0 3px #fff; transition: transform 400ms var(--spring); }
.lpin__face { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: #fff; transform: rotate(45deg); }
.lpin__face img { width: 32px; height: 32px; border-radius: 50%; }
.lpin__pulse { position: absolute; left: 28px; top: 64px; width: 24px; height: 24px; margin: -12px 0 0 -12px; border-radius: 50%; background: rgba(246, 178, 90, .55); animation: pulse 2.6s ease-out infinite; }
.lpin__pulse--2 { animation-delay: 1.3s; background: rgba(26, 120, 181, .3); }
@keyframes pulse { from { transform: scale(.6); opacity: .9; } to { transform: scale(4); opacity: 0; } }
.lpin:hover .lpin__body { transform: rotate(-45deg) translate(3px, -3px) scale(1.06); }
.map[data-pin="in"] .lpin__body { animation: pinDrop 800ms var(--spring-bounce) both; }
.map[data-live="true"]:not([data-pin="in"]) .lpin__body { opacity: 0; }
@keyframes pinDrop { from { opacity: 0; translate: 0 -46px; } }
.ltip { padding: 6px 12px; border: 0; border-radius: 999px; background: #fff; color: var(--ink); font: 650 0.82rem/1.2 var(--text); box-shadow: 0 8px 20px -8px rgba(16,37,58,.5), 0 0 0 1px rgba(16,37,58,.08); white-space: nowrap; }
.ltip::before { display: none; }
.map .leaflet-tile-pane { filter: grayscale(.5) sepia(.15) hue-rotate(185deg) saturate(1.5) brightness(1.04) contrast(.96); }
.map .leaflet-bar { border: 0; border-radius: 14px; overflow: hidden; box-shadow: var(--sh-2); margin: 12px !important; }
.map .leaflet-bar a { display: grid; place-items: center; width: 44px; height: 44px; font: 500 1.4rem/1 var(--text); background: #fff; color: var(--ink); border: 0; border-bottom: 1px solid var(--line); text-decoration: none; }
.map .leaflet-bar a:last-child { border-bottom: 0; }
.map .leaflet-bar a:hover { background: var(--sky); }
.map .leaflet-bar a.leaflet-disabled { opacity: .45; }
.map .leaflet-control-attribution { padding: 2px 8px; border-radius: 10px 0 0 0; background: rgba(255,255,255,.88); color: var(--ink-2); font-size: 0.75rem; }
.map .leaflet-control-scale-line { background: rgba(255,255,255,.88); border-color: var(--ink-2); color: var(--ink); font-size: 0.75rem; }
.lpopw .leaflet-popup-content-wrapper { padding: 0; border-radius: 18px; background: #fff; color: var(--ink); box-shadow: var(--sh-3), 0 0 0 1px rgba(16,37,58,.06); }
.lpopw .leaflet-popup-content { margin: 0; width: auto !important; font: 400 0.9rem/1.45 var(--text); }
.lpopw .leaflet-popup-tip { background: #fff; box-shadow: none; }
.lpopw a.leaflet-popup-close-button { top: 8px; right: 8px; width: 28px; height: 28px; display: grid; place-items: center; border-radius: 50%; color: var(--ink-3); font: 400 20px/1 var(--text); }
.lpop { padding: 14px 16px; display: grid; gap: 10px; }
.lpop b { font: 650 1rem/1.25 var(--display); padding-right: 24px; }
.lpop .r { display: flex; gap: 8px; }
.lpop a { flex: 1; display: inline-grid; place-items: center; min-height: 40px; border-radius: 999px; font: 600 0.88rem/1 var(--text); text-decoration: none; background: var(--sky); color: var(--cobalt-ink) !important; }
.lpop a.go { background: var(--cobalt); color: #fff !important; }
.lring { animation: ring 3.6s ease-in-out infinite; }
@keyframes ring { 50% { fill-opacity: .3; } }
.maphint { position: absolute; inset: 0; z-index: 900; display: grid; place-items: center; padding: 24px; text-align: center; pointer-events: none; background: rgba(233,239,254,.82); color: var(--ink); font: 650 1rem/1.35 var(--text); opacity: 0; transition: opacity 250ms; }
.maphint.on { opacity: 1; }

/* ---------- Preferences (§14) ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 1ms !important; animation-iteration-count: 1 !important; animation-delay: 0ms !important; }
  .js .rv[data-pre] { transform: none; }
  .rv { transition: opacity 300ms ease; }
  .badge-spin svg, .lring, .lpin__pulse { animation: none !important; }
  .values li:hover .v-name, .wt:hover, .frame:hover .frame__img img, .ph:hover .ph__img img { transform: none; }
  .campus-hero img { transform: none !important; }
  .dd, .sheet { scale: 1 !important; filter: none !important; }
}
@media (prefers-reduced-transparency: reduce) {
  .hdr__bar, .sheet, .dd, .lb, .stack__card figcaption span, .wt--photo .cap { background: #fff; -webkit-backdrop-filter: none; backdrop-filter: none; }
  .lb { background: var(--pearl); }
}
@media (prefers-contrast: more) {
  :root { --ink-2: #1f3347; --ink-3: #33495e; --line: #7f93a6; }
  .chip, .stage, .vcard, .desk__col, .fac__card { box-shadow: inset 0 0 0 2px var(--ink); }
  .hdr__bar { background: #fff; }
}
@media (forced-colors: active) { .chip[aria-pressed="true"] { forced-color-adjust: none; } }

@media (max-width: 37.5em) { .hero .d-xxl { font-size: min(19vw, 5.6rem); } }

.stage__no { grid-area: no; } .stage__name { grid-area: name; } .stage__plus { grid-area: plus; }
@media (min-width: 47.5em) { .stage__btn { grid-template-columns: 190px minmax(0, 1fr) auto; grid-template-areas: "no name plus"; gap: 24px} }
.vsum__rating b { font: 650 1.35rem/1.2 var(--display); color: var(--ink-3); letter-spacing: -0.01em; }
.desk { align-items: start; }
.vcard__q { font-size: 1.06rem; }
.strip { grid-auto-columns: minmax(270px, 31%); }
.stack__deck { margin-top: 30px; }


/* =====================================================================
   Round 2: Concept 01's type families, and a calmer, more professional finish
   Tracking is set per size (§15): tighter as headlines grow, neutral for body, open for small capitals.
   ===================================================================== */
.d-xxl { font: 700 clamp(3rem, 1.3rem + 6.2vw, 7.25rem)/0.98 var(--display); letter-spacing: -0.042em; }
.d-xl { font: 700 clamp(2.15rem, 1.35rem + 3vw, 4rem)/1.04 var(--display); letter-spacing: -0.032em; }
.d-l { font: 700 clamp(1.85rem, 1.3rem + 1.9vw, 3rem)/1.08 var(--display); letter-spacing: -0.026em; }
.d-m { font: 650 clamp(1.35rem, 1.12rem + .8vw, 1.9rem)/1.18 var(--display); letter-spacing: -0.018em; }
.d-s { font: 650 clamp(1.15rem, 1.06rem + .35vw, 1.35rem)/1.25 var(--display); letter-spacing: -0.012em; }
.lede { color: var(--ink-2); font-size: clamp(1.08rem, 1.02rem + .3vw, 1.25rem); letter-spacing: -0.005em; }
.kicker { font: 600 0.75rem/1.2 var(--text); letter-spacing: 0.1em; color: var(--cobalt-ink); }
.kicker::before { width: 22px; height: 2px; border-radius: 2px; transform: none; background: var(--chip, var(--cobalt)); }
.serif-em { font-family: var(--serif); font-style: italic; font-weight: 400; letter-spacing: -0.02em; }

/* utility bar: contact details where parents look for them first */
.util { background: var(--pearl); border-bottom: 1px solid var(--line); font-size: 0.84rem; color: var(--ink-2); }
.util__in { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 38px; }
.util a { color: var(--ink-2); text-decoration: none; display: inline-flex; align-items: center; gap: 6px; min-height: 38px; }
.util a:hover { color: var(--cobalt-ink); text-decoration: underline; }
.util .i { width: 15px; height: 15px; }
.util__l, .util__r { display: flex; align-items: center; gap: 20px; min-width: 0; }
.util__soc { display: flex; gap: 2px; }
.util__soc a { width: 32px; justify-content: center; border-radius: 8px; }
.util__soc a:hover { background: var(--sky); }
@media (max-width: 56.25em) { .util__hide { display: none !important; } }
@media (max-width: 32.5em) { .util__l { display: none; } .util__in { justify-content: center; } }
.hdr__in { min-height: 72px; }
.brand__t b { font: 700 1.04rem/1.15 var(--display); letter-spacing: -0.015em; }
.brand__t span { font: 500 0.76rem/1.3 var(--text); letter-spacing: 0.01em; }
.nav a, .nav__dd > button { font: 500 0.94rem/1 var(--text); letter-spacing: -0.005em; }

/* hero */
.hero__title { letter-spacing: -0.045em; }
.hero__title .ln--blue { color: var(--cobalt); }
.hero__title .ln--blue > span { font-family: var(--serif); font-style: italic; font-weight: 400; letter-spacing: -0.03em; padding-right: .06em; }
.hero__ticket .stub { font: 700 0.75rem/1.2 var(--text); letter-spacing: .08em; }
.hero__facts { font: 500 0.86rem/1.3 var(--text); letter-spacing: 0; }
.stack__hint { font: 500 0.84rem/1.4 var(--text); letter-spacing: 0; }
.stack__card { border-radius: 26px; }

/* numerals: one treatment everywhere, aligned figures */
.tl__yr, .stat b, .wt .big, .fac__card .big, .about__stamp b { font-family: var(--display); font-weight: 700; letter-spacing: -0.045em; font-variant-numeric: tabular-nums lining-nums; }
.tl__yr { font-size: clamp(2.4rem, 1.8rem + 2vw, 3.6rem); line-height: 1; }
.wt .big { font-size: clamp(3rem, 2rem + 3.6vw, 5.2rem); line-height: .9; }
.fac__card .big { font-size: clamp(2.8rem, 2.1rem + 2.4vw, 4.4rem); line-height: .9; }
.tl__date, .stat span, .about__facts dt, .ticket__rows dt, .kv dt, .lines .k, .note, .ph__meta span, .lb__count, .lb__tag, .g-count, .check-status, .notice__date time, .notice__date span:first-child, .labs li span, .about__photo figcaption, .aim + figcaption, .campus-hero figcaption, .ph__flag, .vcard__flag, .notice__cat, .motto-row p, .chip small, .ftr h2 { font-family: var(--text); }
.tl__date, .about__facts dt, .ticket__rows dt, .kv dt, .lines .k, .stat span, .ftr h2 { font-size: 0.75rem; font-weight: 600; letter-spacing: 0.08em; }
.note, .motto-row p, .g-count, .check-status { font-size: 0.86rem; letter-spacing: 0; }

/* editorial serif moments: the school's aim, its values, its motto */
.aim { font: 400 clamp(1.45rem, 1.1rem + 1.25vw, 2.15rem)/1.3 var(--serif); letter-spacing: -0.012em; }
.aim mark { background: linear-gradient(transparent 62%, var(--lemon-2) 62%, var(--lemon-2) 92%, transparent 92%); }
.values .v-name { font: 400 clamp(2rem, 1.2rem + 3.4vw, 4.4rem)/1.05 var(--serif); letter-spacing: -0.025em; }
.values li:hover .v-name { font-style: italic; }
.values .v-mark { width: 12px; height: 12px; }
.ftr__word { font: italic 400 clamp(2.6rem, 1rem + 8vw, 8.5rem)/0.95 var(--serif); letter-spacing: -0.035em; color: #cfe4f3; -webkit-text-stroke: 0; }
.visit .d-xxl span { font-family: var(--serif); font-style: italic; font-weight: 400; letter-spacing: -0.03em; }

/* calmer surfaces and states */
.stage__name b { font-weight: 700; letter-spacing: -0.03em; font-size: clamp(1.45rem, 1.1rem + 1.6vw, 2.4rem); }
.stage__no { font-size: 0.78rem; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; }
.wt h3, .fac__card h3, .frame figcaption b, .frame--text h3, .notice h3, .picker__out h3, .lb__cap b, .vcard__q, .addr, .labs li, .cloud li, .lpop b { font-family: var(--display); }
.vcard__q { font-weight: 500; letter-spacing: -0.01em; }
.cloud li { font-weight: 600; font-size: 1rem; }
.cloud li:hover { transform: translateY(-2px); }
.wt:hover { transform: translateY(-3px); }
.wt { box-shadow: inset 0 0 0 1px rgba(16,37,58,.04); }
.labs li { font-weight: 600; font-size: clamp(1.05rem, 1rem + .4vw, 1.3rem); }
.ph__meta span { font-size: 0.75rem; font-weight: 600; letter-spacing: 0.06em; }
.chip { font-weight: 600; }
.voices { grid-template-columns: minmax(0, 1fr)}
@media (min-width: 62.5em) { .voices { grid-template-columns: minmax(300px, .72fr) minmax(0, 1.28fr); } }
.voices > * { min-width: 0; }
.btn { max-width: 100%; }
.vsum__acts .btn { white-space: normal; text-align: center; line-height: 1.2; padding-block: 10px; }

.addr { text-wrap: balance; max-width: 22ch; }

/* =====================================================================
   Round 3: a more composed, professional landing page
   ===================================================================== */
.hdr__ctas { display: none; align-items: center; gap: 8px; }
@media (min-width: 80em) { .hdr__ctas { display: flex; } .nav ul { gap: 0; } }
.dd--left { left: -8px; right: auto; transform-origin: 15% -10px; }
.anchor { display: block; height: 0; }

/* at a glance: one quiet strip of verified facts under the hero */
.glance { margin: clamp(36px, 5vw, 64px) 0 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border-radius: var(--r-l); background: var(--paper); box-shadow: var(--sh-1), 0 0 0 1px var(--line); overflow: hidden; position: relative; z-index: 2}
.glance div { padding: clamp(16px, 2vw, 24px) clamp(18px, 2.4vw, 30px); border-bottom: 1px solid var(--line); }
.glance div:nth-child(odd) { border-right: 1px solid var(--line); }
@media (min-width: 56.25em) { .glance { grid-template-columns: repeat(4, minmax(0, 1fr))} .glance div { border-bottom: 0; border-right: 1px solid var(--line); } .glance div:last-child { border-right: 0; } }
@media (max-width: 56.24875em) { .glance div:nth-last-child(-n+2) { border-bottom: 0; } }
.glance dt { font: 600 0.75rem/1.3 var(--text); letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-3); }
.glance dd { margin: 6px 0 0; font: 650 clamp(1rem, .95rem + .3vw, 1.2rem)/1.3 var(--display); letter-spacing: -0.012em; color: var(--ink); }

/* values: a calm grid of four cards, one idea each */
.vals { display: grid; gap: clamp(28px, 4vw, 56px); }
@media (min-width: 62.5em) { .vals { grid-template-columns: minmax(0, .85fr) minmax(0, 1.4fr); align-items: start; } .vals__head { position: sticky; top: 120px; } }
.vals__head { display: grid; gap: 18px; justify-items: start; }
.vals__grid { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
@media (min-width: 38.75em) { .vals__grid { grid-template-columns: repeat(2, minmax(0, 1fr))} }
.val { display: grid; gap: 12px; align-content: start; padding: clamp(22px, 2.6vw, 32px); border-radius: var(--r-l); background: var(--paper); box-shadow: 0 1px 2px rgba(16,37,58,.05), 0 0 0 1px rgba(16,37,58,.06); transition: transform 600ms var(--spring), box-shadow 400ms ease; }
.val:hover { transform: translateY(-4px); box-shadow: var(--sh-2), 0 0 0 1px rgba(16,37,58,.06); }
.val__ic { width: 52px; height: 52px; border-radius: 16px; display: grid; place-items: center; background: var(--vt); color: var(--vi); margin-bottom: 8px; transition: background 300ms, color 300ms, transform 600ms var(--spring); }
.val__ic .i { width: 26px; height: 26px; stroke-width: 1.7; }
.val:hover .val__ic { background: var(--vi); color: #fff; transform: scale(1.05); }
.val h3 { margin: 0; font: 650 clamp(1.2rem, 1.1rem + .45vw, 1.45rem)/1.2 var(--display); letter-spacing: -0.015em; }
.val p { color: var(--ink-2); font-size: 1rem; line-height: 1.55; }

/* closing call to action: a composed panel, not a slogan */
.visit { padding-block: clamp(56px, 7vw, 104px); }
.cta { display: grid; border-radius: var(--r-xl); background: var(--paper); box-shadow: var(--sh-2); overflow: hidden; }
@media (min-width: 56.25em) { .cta { grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr)} }
.cta__copy { display: grid; gap: 18px; align-content: center; justify-items: start; padding: clamp(28px, 4.5vw, 64px); }
.cta__btns { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 6px; }
.cta__tel { font-size: 0.95rem; color: var(--ink-2); }
.cta__tel b { color: var(--ink); font-variant-numeric: tabular-nums; user-select: all; -webkit-user-select: all}
.cta__img { margin: 0; min-height: 280px; position: relative; }
.cta__img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }

/* social links, rendered from the verified list */
.soc { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.soc a { display: inline-flex; align-items: center; justify-content: center; gap: 8px; text-decoration: none; color: var(--ink); transition: background 200ms, color 200ms, box-shadow 200ms, transform 500ms var(--spring); }
.soc a:active { transform: scale(.94); transition-duration: var(--t-press); }
.soc .i { width: 18px; height: 18px; }
.soc--strip { gap: 2px; }
.soc--strip a { width: 32px; height: 32px; border-radius: 8px; color: var(--ink-2); }
.soc--strip a:hover { background: var(--sky); color: var(--cobalt-ink); }
.soc--pill a { min-height: 42px; padding: 0 16px 0 13px; border-radius: 999px; background: var(--paper); box-shadow: inset 0 0 0 1.5px var(--line-2); font: 600 0.92rem/1 var(--text); }
.soc--pill a:hover { box-shadow: inset 0 0 0 1.5px var(--ink); transform: translateY(-2px); }
.soc--round a { width: 44px; height: 44px; border-radius: 50%; background: var(--paper); box-shadow: inset 0 0 0 1px var(--line-2); }
.soc--round a:hover { background: var(--cobalt); color: #fff; box-shadow: none; transform: translateY(-2px); }
.soc .t { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap}
.soc--pill .t { position: static; width: auto; height: auto; clip: auto; overflow: visible}
.socials { display: grid; gap: 10px; margin-top: 26px; }
.ftr__ctas { display: flex; flex-wrap: wrap; gap: 8px; }
.ftr__brand { gap: 16px; }
.ftr__word { font-size: clamp(2.2rem, 1rem + 5.4vw, 6rem); margin-top: clamp(36px, 5vw, 56px); color: #cfe4f3; }
.sheet__ctas { display: grid; grid-template-columns: 1fr 1.4fr; gap: 8px; margin-top: 12px}
.sheet__ctas .btn { margin-top: 0; width: 100%; padding-inline: 12px; }
.sheet__soc { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-top: 14px; padding: 12px 6px 4px; border-top: 1px solid var(--line); }

/* quick actions on phones and tablets: appears once the hero has scrolled away (§12 floating layer) */
.dock { position: fixed; z-index: 55; left: 50%; bottom: calc(14px + env(safe-area-inset-bottom, 0px)); display: flex; gap: 6px; padding: 6px; border-radius: 999px; background: rgba(255,255,255,.82); -webkit-backdrop-filter: blur(20px) saturate(180%); backdrop-filter: blur(20px) saturate(180%); box-shadow: var(--sh-3), 0 0 0 1px rgba(16,37,58,.08); translate: -50% calc(100% + 30px); opacity: 0; transition: translate 650ms var(--spring), opacity 250ms ease; max-width: calc(100vw - 24px); }
.dock[data-show="true"] { translate: -50% 0; opacity: 1; }
.dock__a { display: inline-flex; align-items: center; gap: 8px; min-height: 46px; padding: 0 18px; border-radius: 999px; color: var(--ink); font: 600 0.95rem/1 var(--text); text-decoration: none; white-space: nowrap; transition: background 200ms, transform 400ms var(--spring); }
.dock__a .i { width: 18px; height: 18px; }
.dock__a:active { transform: scale(.95); transition-duration: var(--t-press); }
.dock__a--go { background: var(--cobalt); color: #fff; }
@media (min-width: 80em) { .dock { display: none; } }
@media (prefers-reduced-transparency: reduce) { .dock { background: #fff; -webkit-backdrop-filter: none; backdrop-filter: none; } }
@media (prefers-reduced-motion: reduce) { .dock { transition: opacity 200ms ease; translate: -50% 0; } .val:hover, .val:hover .val__ic { transform: none; } }
.toast { bottom: calc(84px + env(safe-area-inset-bottom, 0px)); }
.ftr .soc { display: flex; grid-template-columns: none; }
/* admission enquiry: its own section, info beside the form */
.enq { display: grid; gap: clamp(28px, 4vw, 56px); }
@media (min-width: 62.5em) { .enq { grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); align-items: start} .enq__aside { position: sticky; top: 120px; } }
.enq__aside { display: grid; gap: 20px; justify-items: start; }
.enq__facts { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.enq__facts li { display: grid; grid-template-columns: 36px minmax(0, 1fr); gap: 12px; align-items: start; color: var(--ink-2); font-size: 1rem}
.enq__facts .i { width: 36px; height: 36px; padding: 8px; border-radius: 12px; background: var(--sky); color: var(--cobalt-ink); }
.enq__facts b { color: var(--ink); }
.enq__call { width: 100%; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 2px 12px; align-items: center; padding: 16px 18px; border-radius: var(--r-m); background: var(--lemon)}
.enq__call .k { grid-column: 1 / -1; font: 600 0.75rem/1.2 var(--text); letter-spacing: .08em; text-transform: uppercase; color: var(--marigold-ink); }
.enq__call .v { font: 650 1.3rem/1.3 var(--display); letter-spacing: -0.01em; font-variant-numeric: tabular-nums; user-select: all; -webkit-user-select: all}
.enq__call .acts { display: flex; gap: 6px; }
.enq__call .mini { background: #fff; }
#admission-enquiry .form-card { box-shadow: var(--sh-2), 0 0 0 1px var(--line); }
@media (max-width: 32.5em) { .enq__call { grid-template-columns: minmax(0, 1fr)} .enq__call .acts { margin-top: 8px; } }

/* =====================================================================
   Round 4: arch hero, mega menu, grouped mobile menu, tablet header
   ===================================================================== */
/* header controls */
.nav__b { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; padding: 0 14px; border: 0; border-radius: 999px; background: transparent; color: var(--ink); font: 500 0.94rem/1 var(--text); letter-spacing: -0.005em; transition: background-color 200ms, color 200ms; }
.nav__b .i { width: 16px; height: 16px; transition: transform 450ms var(--spring); }
.nav__b:hover, .nav__b[aria-expanded="true"] { background: var(--sky); }
.nav__b[aria-expanded="true"] .i { transform: rotate(180deg); }
.nav__b[data-current="true"], .nav a[data-current="true"] { color: var(--cobalt-ink); }
.nav__b[data-current="true"]::after, .nav a[data-current="true"]::after { content: ""; position: absolute; }
@media (min-width: 40em) and (max-width: 79.99875em) { .hdr__ctas { display: flex; } .hdr__find { display: none; } }
.hdr__prog { position: absolute; left: 0; right: 0; bottom: 0; height: 2px; pointer-events: none; z-index: 3; }
.hdr__prog span { display: block; height: 100%; background: linear-gradient(90deg, var(--cobalt), #e0912f); transform-origin: 0 50%; transform: scaleX(var(--p, 0)); }

/* mega menu: one surface that resizes as you move between sections (§3, §7) */
.mega { position: absolute; left: 0; right: 0; top: 100%; z-index: 2; pointer-events: none; }
.mega__bg { position: relative; height: var(--mh, 0px); overflow: hidden; background: rgba(255,255,255,.97); -webkit-backdrop-filter: blur(24px) saturate(180%); backdrop-filter: blur(24px) saturate(180%); box-shadow: 0 30px 60px -30px rgba(16,37,58,.35), 0 1px 0 var(--line) inset; border-radius: 0 0 28px 28px; opacity: 0; transition: height 560ms var(--spring), opacity 220ms ease; }
.mega[data-open="true"] { pointer-events: auto; }
.mega[data-open="true"] .mega__bg { opacity: 1; }
.mega__in { padding-block: 26px 30px; }
.mega__p { display: none; gap: 28px; align-items: start; }
.mega__p[data-active="true"] { display: grid; animation: megaIn 520ms var(--spring) both; }
.mega__p[data-dir="-1"][data-active="true"] { animation-name: megaInL; }
@keyframes megaIn { from { opacity: 0; transform: translateX(18px); } }
@keyframes megaInL { from { opacity: 0; transform: translateX(-18px); } }
#mega-school { grid-template-columns: 1fr 1fr minmax(0, 1.05fr)}
#mega-academics { grid-template-columns: minmax(0, 1.7fr) minmax(0, 1fr)}
#mega-admissions { grid-template-columns: 1fr 1fr minmax(0, .95fr)}
#mega-parents { grid-template-columns: 1fr 1fr minmax(0, .95fr)}
.mega__h { margin: 0 0 8px 12px; font: 600 0.75rem/1.2 var(--text); letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-3); }
.mega__col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.mm { display: grid; grid-template-columns: 40px minmax(0, 1fr); gap: 12px; align-items: center; padding: 10px 12px; border-radius: 14px; color: var(--ink); text-decoration: none; transition: background 200ms}
.mm:hover, .mm:focus-visible { background: var(--pearl); text-decoration: none; }
.mm__ic { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: var(--mi-bg, var(--sky)); color: var(--mi, var(--cobalt-ink)); transition: transform 500ms var(--spring); }
.mm:hover .mm__ic { transform: scale(1.06); }
.mm__ic .i { width: 19px; height: 19px; }
.mm__t { display: grid; gap: 2px; min-width: 0; }
.mm__t b { display: inline-flex; align-items: center; gap: 6px; font: 600 0.96rem/1.25 var(--text); }
.mm__t small { color: var(--ink-3); font-size: 0.84rem; line-height: 1.35; }
.mm__ext { width: 14px !important; height: 14px !important; color: var(--ink-3); }
.mega__feat { display: grid; border-radius: 22px; overflow: hidden; background: var(--sky); color: var(--ink); text-decoration: none; transition: transform 600ms var(--spring), box-shadow 300ms; }
.mega__feat:hover { transform: translateY(-3px); box-shadow: var(--sh-2); text-decoration: none; }
.mega__feat img { width: 100%; aspect-ratio: 16 / 7.5; object-fit: cover; object-position: 50% 30%; }
.mega__feat-b { display: grid; gap: 8px; padding: 16px 18px 18px; }
.mega__feat-b b { font: 650 1.05rem/1.35 var(--display); letter-spacing: -0.01em; }
.mega__stages { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px}
.mstage { display: grid; gap: 4px; align-content: start; padding: 18px 20px; border-radius: 20px; background: var(--st); color: var(--ink); text-decoration: none; transition: transform 600ms var(--spring), box-shadow 300ms; }
.mstage:hover { transform: translateY(-3px); box-shadow: var(--sh-2); text-decoration: none; }
.mstage span { font: 600 0.75rem/1.2 var(--text); letter-spacing: .08em; text-transform: uppercase; color: var(--ink-2); }
.mstage b { font: 700 1.45rem/1.15 var(--display); letter-spacing: -0.025em; }
.mstage small { color: var(--ink-2); font-size: 0.88rem; }
.mega__ticket, .mega__contact { display: grid; gap: 10px; align-content: start; justify-items: start; padding: 20px 22px; border-radius: 22px; background: var(--lemon); }
.mega__ticket b { font: 700 1.5rem/1.1 var(--display); letter-spacing: -0.025em; }
.mega__ticket p { font-size: 0.92rem; color: var(--ink-2); }
.mega__tel span { font-weight: 650; color: var(--ink); font-variant-numeric: tabular-nums; }
.mega__contact { background: var(--pearl); box-shadow: inset 0 0 0 1px var(--line); }
.mega__contact .mega__h { margin-left: 0; }
.mega__contact dl { margin: 0; display: grid; gap: 10px; }
.mega__contact dt { font: 600 0.75rem/1.2 var(--text); letter-spacing: .08em; text-transform: uppercase; color: var(--ink-3); }
.mega__contact dd { margin: 2px 0 0; font-weight: 600; font-variant-numeric: tabular-nums; user-select: all; -webkit-user-select: all; overflow-wrap: anywhere}
.mega-scrim { position: fixed; inset: 0; z-index: 45; background: rgba(233,239,254,.5); -webkit-backdrop-filter: blur(3px); backdrop-filter: blur(3px); opacity: 0; visibility: hidden; transition: opacity 260ms ease, visibility 0s 260ms; }
.mega-scrim[data-open="true"] { opacity: 1; visibility: visible; transition: opacity 260ms ease; }
@media (max-width: 79.99875em) { .mega, .mega-scrim { display: none; } }
@media (min-width: 80em) and (max-width: 85em) { #mega-school, #mega-admissions, #mega-parents { grid-template-columns: 1fr 1fr minmax(0, .9fr); gap: 20px} }

/* grouped mobile menu */
.sheet { width: auto; }
@media (min-width: 35em) { .sheet { left: auto; width: 440px; } }
.sg-nav { display: grid; gap: 2px; }
.sg { border-radius: 18px; transition: background 200ms; }
.sg[open] { background: var(--pearl); }
.sg summary { list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 56px; padding: 6px 14px; border-radius: 18px; cursor: pointer; font: 700 1.4rem/1.15 var(--display); letter-spacing: -0.025em; color: var(--ink); }
.sg summary::-webkit-details-marker { display: none; }
.sg summary .i { width: 20px; height: 20px; color: var(--ink-3); transition: transform 450ms var(--spring); }
.sg[open] summary .i { transform: rotate(180deg); }
.sg summary:active { background: var(--sky); }
.sg ul { list-style: none; margin: 0; padding: 0 8px 10px; display: grid; gap: 0; animation: softIn 450ms var(--spring) both; }
.sg ul a { display: flex; align-items: center; min-height: 46px; padding: 0 14px; border-radius: 12px; color: var(--ink-2); font: 500 1.05rem/1.2 var(--text); text-decoration: none; }
.sg ul a:hover, .sg ul a:active { background: var(--paper); color: var(--ink); }
.sg-link { display: flex; align-items: center; justify-content: space-between; min-height: 56px; padding: 6px 14px; border-radius: 18px; color: var(--ink); text-decoration: none; font: 700 1.4rem/1.15 var(--display); letter-spacing: -0.025em; }
.sg-link .i { width: 20px; height: 20px; color: var(--ink-3); }
.sg-link:active { background: var(--sky); }

/* hero: an arch-framed photo stage */
.hero { padding-block: clamp(24px, 4vw, 56px) clamp(40px, 5vw, 72px); }
.hero__grid { align-items: center; }
@media (min-width: 62.5em) { .hero__grid { grid-template-columns: minmax(0, 1.08fr) minmax(380px, .92fr); gap: clamp(32px, 4vw, 72px); } }
.hero__title { font-size: clamp(3.1rem, 1.6rem + 6vw, 7rem); }
.hero .d-xxl { line-height: .98; }
.paths { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(200px, 1fr); gap: 10px; margin-top: 8px; overflow-x: auto; scrollbar-width: none; padding: 4px; margin-inline: -4px; scroll-snap-type: x mandatory}
.paths::-webkit-scrollbar { display: none; }
.path { scroll-snap-align: start; display: flex; align-items: center; gap: 12px; padding: 12px 16px 12px 12px; border-radius: 18px; background: rgba(255,255,255,.85); box-shadow: 0 1px 2px rgba(16,37,58,.05), 0 0 0 1px var(--line); color: var(--ink); text-decoration: none; transition: transform 600ms var(--spring), box-shadow 300ms; }
.path:hover { transform: translateY(-3px); box-shadow: var(--sh-2), 0 0 0 1px var(--line); text-decoration: none; }
.path:active { transform: scale(.97); transition-duration: var(--t-press); }
.path__ic { flex: none; width: 42px; height: 42px; border-radius: 13px; display: grid; place-items: center; background: var(--pt); color: var(--pi); }
.path b { display: block; font: 650 0.98rem/1.25 var(--text); }
.path small { display: block; color: var(--ink-3); font-size: 0.82rem; }
@media (max-width: 37.5em) { .paths { grid-auto-columns: 78%; } }

.arch { position: relative; width: min(100%, 540px); justify-self: center; padding: 22px 8% 0; }
@media (min-width: 62.5em) { .arch { justify-self: end; padding: 26px 6% 0 9%; } }
.arch__lines { position: absolute; left: 0; right: 0; top: 0; width: 100%; height: auto; z-index: 0; fill: none; stroke: var(--cobalt); stroke-opacity: .16; stroke-width: 1.2; pointer-events: none; }
.arch__frame { position: relative; z-index: 1; aspect-ratio: 4 / 4.85; border-radius: 999px 999px 30px 30px; overflow: hidden; background: var(--sky-2); box-shadow: var(--sh-3), 0 0 0 6px rgba(255,255,255,.75); touch-action: pan-y; cursor: grab; user-select: none; -webkit-user-select: none; isolation: isolate}
.arch__frame:active { cursor: grabbing; }
.arch__frame:focus-visible { outline: 3px solid var(--focus); outline-offset: 6px; }
.arch__slide { position: absolute; inset: 0; margin: 0; opacity: 0; transition: opacity 900ms ease; will-change: opacity, transform; }
.arch__slide[data-active="true"] { opacity: 1; z-index: 1; }
.arch__slide img { width: 100%; height: 100%; object-fit: cover; object-position: var(--pos, 50% 40%); pointer-events: none; -webkit-user-drag: none; }
.arch__slide[data-active="true"] img { animation: kenburns 9s linear both; }
.arch[data-run="false"] .arch__slide img { animation-play-state: paused; }
@keyframes kenburns { from { transform: scale(1.1); } to { transform: scale(1.0); } }
.arch__slide figcaption { position: absolute; left: 50%; bottom: 16px; translate: -50% 0; padding: 7px 14px; border-radius: 999px; background: rgba(255,255,255,.9); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); font: 600 0.8rem/1.2 var(--text); color: var(--ink); white-space: nowrap; max-width: 86%; overflow: hidden; text-overflow: ellipsis; }
.arch__mini { position: absolute; z-index: 2; left: 0; bottom: 22%; width: 32%; aspect-ratio: 1; margin: 0; border-radius: 50%; overflow: hidden; box-shadow: var(--sh-3), 0 0 0 6px #fff; }
.arch__mini img { width: 100%; height: 100%; object-fit: cover; object-position: 55% 50%; }
.arch__chip { position: absolute; z-index: 3; display: flex; align-items: center; gap: 10px; border-radius: 18px; box-shadow: var(--sh-2); }
.arch__chip--a { top: 22%; right: 0; padding: 10px 14px 10px 12px; background: rgba(255,255,255,.9); -webkit-backdrop-filter: blur(16px) saturate(170%); backdrop-filter: blur(16px) saturate(170%); }
.arch__chip--a b { display: block; font: 650 0.92rem/1.2 var(--text); }
.arch__chip--a small { display: block; font-size: 0.78rem; color: var(--ink-3); }
.arch__dot { width: 10px; height: 10px; border-radius: 50%; background: #38a078; box-shadow: 0 0 0 4px rgba(56,160,120,.18); flex: none; }
.arch__chip--b { right: 4%; bottom: 30%; width: 104px; height: 104px; border-radius: 50%; flex-direction: column; justify-content: center; gap: 2px; background: var(--lemon-2); text-align: center; }
.arch__chip--b b { font: 700 2.1rem/1 var(--display); letter-spacing: -0.04em; }
.arch__chip--b span { font: 600 0.75rem/1.15 var(--text); letter-spacing: .04em; text-transform: uppercase; }
.arch__bar { position: relative; z-index: 2; display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 16px; }
.arch__cap { min-width: 0; font-size: 0.86rem; color: var(--ink-3); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.arch__ctl { display: flex; align-items: center; gap: 6px; flex: none; }
.arch__segs { display: flex; gap: 4px; margin-right: 6px; }
.arch__segs i { position: relative; width: 22px; height: 4px; border-radius: 2px; background: var(--line-2); overflow: hidden; cursor: pointer; }
.arch__segs i::after { content: ""; position: absolute; inset: 0; background: var(--cobalt); transform-origin: 0 50%; transform: scaleX(0); }
.arch__segs i.done::after { transform: scaleX(1); }
.arch__segs i.on::after { animation: seg var(--dur, 6s) linear forwards; }
.arch[data-run="false"] .arch__segs i.on::after { animation-play-state: paused; }
@keyframes seg { to { transform: scaleX(1); } }
.round--sm { width: 40px; height: 40px; }
.round--sm .i { width: 17px; height: 17px; }
.js .arch { animation: materialise 1200ms var(--spring) both 250ms; }
@media (max-width: 62.49875em) { .arch { margin-top: 8px; } }
@media (max-width: 35em) {
  .arch { padding: 16px 4% 0; }
  .arch__chip--a { top: 16%; right: -2%; padding: 8px 12px 8px 10px; }
  .arch__chip--a small { display: none; }
  .arch__chip--b { width: 78px; height: 78px; bottom: 28%; right: 0; }
  .arch__chip--b b { font-size: 1.6rem; }
  .arch__chip--b span { font-size: 0.56rem; }
  .arch__mini { width: 30%; left: -2%; box-shadow: var(--sh-2), 0 0 0 4px #fff; }
  .arch__segs i { width: 14px; }
  .arch__cap { display: none; }
  .arch__bar { justify-content: center; }
}
@media (prefers-reduced-motion: reduce) { .arch__slide { transition: opacity 300ms ease; } .arch__slide[data-active="true"] img { animation: none; } .arch__segs i.on::after { animation: none; transform: scaleX(1); } }

/* phone & tablet polish */
@media (max-width: 62.49875em) { .hero__copy { max-width: 680px; } }
@media (max-width: 37.5em) {
  .hero__ctas .btn { flex: 1 1 auto; }
  .hero__ticket .body { font-size: 0.88rem; }
  .sec { padding-block: 64px; }
  .sec__head { margin-bottom: 28px; }
  .glance { margin-top: 32px; }
}
@media (min-width: 37.5em) and (max-width: 62.49875em) { .why .w-a { grid-column: span 6; min-height: 360px; } }
.arch__cap { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap}
.arch__bar { justify-content: flex-end; }
@media (max-width: 35em) { .arch__bar { justify-content: center; } }

/* =====================================================================
   Round 5: milestone timeline, balanced admissions and parents' desk
   ===================================================================== */
/* how the school grew: a lit path that fills as you scroll (§1 continuous feedback) */
.tl2 { margin-top: clamp(56px, 8vw, 112px); display: grid; gap: clamp(28px, 3.5vw, 48px); padding: clamp(24px, 4vw, 52px); border-radius: var(--r-xl); background: radial-gradient(120% 140% at 0% 0%, #fff 0%, var(--sky) 55%, #e2e9ff 100%); box-shadow: inset 0 0 0 1px rgba(26,120,181,.08); overflow: hidden; position: relative; }
.tl2::after { content: ""; position: absolute; right: -120px; top: -120px; width: 360px; height: 360px; border-radius: 50%; background: radial-gradient(closest-side, rgba(246,178,90,.55), rgba(246,178,90,0)); pointer-events: none; }
@media (min-width: 68.75em) { .tl2 { grid-template-columns: minmax(230px, .62fr) minmax(0, 3fr); align-items: center; } }
.tl2__intro { display: grid; gap: 14px; align-content: start; position: relative; z-index: 1; }
.tl2__big { display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; margin: 0; }
.tl2__big span { font: 700 clamp(4.6rem, 3rem + 5vw, 7.5rem)/0.85 var(--display); letter-spacing: -0.06em; color: var(--cobalt); font-variant-numeric: tabular-nums; }
.tl2__big small { font: 600 0.95rem/1.25 var(--text); color: var(--ink); max-width: 7em; }
.tl2__lede { color: var(--ink-2); font-size: 1rem; max-width: 34ch; }
.tl2__span { display: flex; align-items: center; gap: 10px; font: 600 0.78rem/1 var(--text); letter-spacing: .06em; color: var(--ink-3); }
.tl2__span i { flex: 1; max-width: 120px; height: 2px; border-radius: 2px; background: linear-gradient(90deg, var(--cobalt), var(--plum)); }
.tl2__body { position: relative; min-width: 0; z-index: 1; }
.tl2__rail { position: absolute; background: rgba(26,120,181,.14); border-radius: 3px; overflow: hidden; }
.tl2__rail span { display: block; width: 100%; height: 100%; background: linear-gradient(90deg, var(--cobalt), #c9771c, var(--forest), var(--plum)); transform-origin: 0 0; }
.tl2__track { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; position: relative; }
.ms { position: relative; }
.ms__node { position: absolute; z-index: 2; width: 22px; height: 22px; border-radius: 50%; background: #fff; box-shadow: inset 0 0 0 3px var(--line-2), 0 2px 6px rgba(16,37,58,.12); transition: background 400ms ease, box-shadow 400ms ease, transform 600ms var(--spring-bounce); }
.ms.on .ms__node { background: var(--c); box-shadow: inset 0 0 0 4px #fff, 0 0 0 4px color-mix(in srgb, var(--c) 28%, transparent); transform: scale(1.12)}
.ms__card { display: grid; gap: 6px; align-content: start; height: 100%; padding: clamp(18px, 2vw, 24px); border-radius: 22px; background: #fff; box-shadow: 0 1px 2px rgba(16,37,58,.05), 0 0 0 1px rgba(16,37,58,.06); transition: transform 700ms var(--spring), box-shadow 400ms ease, opacity 500ms ease; }
.ms.on .ms__card { box-shadow: var(--sh-2), 0 0 0 1px rgba(16,37,58,.06); }
.ms:hover .ms__card { transform: translateY(-4px); }
.ms--now.on .ms__card { box-shadow: var(--sh-2), inset 0 0 0 2px color-mix(in srgb, var(--c) 45%, transparent)}
.ms__ic { width: 44px; height: 44px; border-radius: 13px; display: grid; place-items: center; background: var(--ct); color: var(--c); margin-bottom: 6px; }
.ms__ic .i { width: 21px; height: 21px; }
.ms__yr { font: 700 clamp(2rem, 1.6rem + 1.2vw, 2.6rem)/1 var(--display); letter-spacing: -0.045em; color: var(--c); font-variant-numeric: tabular-nums; }
.ms__date { font: 600 0.75rem/1.3 var(--text); letter-spacing: .08em; text-transform: uppercase; color: var(--ink-3); }
.ms h3 { margin: 6px 0 0; font: 650 1.08rem/1.3 var(--display); letter-spacing: -0.01em; }
.ms p { color: var(--ink-2); font-size: 0.95rem; line-height: 1.55; }
.js .tl2[data-live] .ms:not(.on) .ms__card { opacity: .5; transform: translateY(12px); }
/* wide: a horizontal path above four cards */
@media (min-width: 68.75em) {
  .tl2__track { grid-template-columns: repeat(4, minmax(0, 1fr)); padding-top: 46px}
  .tl2__rail { left: 11px; right: 11px; top: 10px; height: 4px; }
  .tl2__rail span { transform: scaleX(var(--p, 0)); }
  .ms__node { top: -46px; left: 0; }
}
/* narrow: a vertical path beside the cards */
@media (max-width: 68.74875em) {
  .tl2__track { padding-left: 40px; }
  .tl2__rail { left: 9px; top: 12px; bottom: 12px; width: 4px; }
  .tl2__rail span { transform: scaleY(var(--p, 0)); background: linear-gradient(180deg, var(--cobalt), #c9771c, var(--forest), var(--plum)); }
  .ms__node { left: -40px; top: 24px; }
}
@media (min-width: 40em) and (max-width: 68.74875em) { .ms__card { grid-template-columns: 44px auto 1fr; column-gap: 14px; align-items: center} .ms__ic { grid-row: span 2; margin: 0; } .ms__yr { grid-column: 2; } .ms__date { grid-column: 3; align-self: center; } .ms h3, .ms p { grid-column: 1 / -1; } }
@media (prefers-reduced-motion: reduce) { .js .tl2[data-live] .ms:not(.on) .ms__card { opacity: 1; transform: none; } .ms__node { transition: none; } }

/* admissions: two balanced rows */
.adm2 { display: grid; gap: clamp(18px, 2.4vw, 28px); }
.adm2__row { display: grid; gap: clamp(18px, 2.4vw, 28px); }
@media (min-width: 62.5em) { .adm2__row { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: stretch} .adm2__row--b { align-items: start; } }
.adm2 .picker { margin-top: 0; align-content: start; background: rgba(255,255,255,.72); padding: clamp(20px, 2.6vw, 30px); border-radius: var(--r-xl); box-shadow: inset 0 0 0 1px rgba(16,37,58,.06); }
.adm2 .picker h3 { margin: 0; }
.adm__steps, .adm2__side > * { background: rgba(255,255,255,.72); border-radius: var(--r-xl); padding: clamp(20px, 2.6vw, 30px); box-shadow: inset 0 0 0 1px rgba(16,37,58,.06); }
.adm__steps h3 { margin: 0 0 4px; }
.adm__steps .steps { margin-top: 6px; }
.adm__steps .steps li:last-child { border-bottom: 0; padding-bottom: 0; }
.adm2__side { display: grid; gap: clamp(18px, 2.4vw, 28px); }
.adm2__side .check { background: var(--paper); box-shadow: inset 0 0 0 1px rgba(16,37,58,.06); }
.adm2__side .faq { margin-top: 0; border-top: 0; }
.adm2__side .faq details:last-child { border-bottom: 0; }
.adm2 .ticket { height: 100%; display: grid; grid-template-rows: 1fr auto auto}

/* parents' desk: payments beside school information, documents across the full width */
.desk2 { display: grid; gap: 14px; }
@media (min-width: 60em) { .desk2 { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: stretch} .desk__docs { grid-column: 1 / -1; } }
.desk__docs-head { display: grid; gap: 6px; }
@media (min-width: 56.25em) { .desk__docs-head { grid-template-columns: auto minmax(0, 1fr); align-items: baseline; gap: 24px} .desk__docs-head p { justify-self: end; text-align: right; max-width: 52ch; } }
.desk__docs .docs { columns: auto; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(280px, 100%), 1fr)); gap: 2px 22px}
.desk2 .kv { margin-bottom: 4px; }
.desk2 .kv { grid-template-columns: repeat(2, minmax(0, 1fr))}
.desk2 .kv div:first-child { grid-column: 1 / -1; }

/* =====================================================================
   Round 6: full-bleed video hero under a light veil (stays light-themed)
   ===================================================================== */
.hv { position: relative; isolation: isolate; overflow: hidden; overflow: clip; background: var(--pearl); padding-block: 0 clamp(36px, 5vw, 64px)}
.hv__media { position: absolute; inset: 0; z-index: -1; overflow: hidden; background: #dcebf6; }
.hv__poster, .hv__video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: var(--hv-pos, 72% 50%); }
.hv__video { opacity: 0; transition: opacity 1.2s ease; transform: translate3d(0, var(--hv-y, 0px), 0) scale(1.04); }
.hv[data-playing="true"] .hv__video { opacity: 1; }
.hv__poster { transform: translate3d(0, var(--hv-y, 0px), 0) scale(1.04); }
/* the veil: bright where the words are, clear where the children are (§12: legibility over moving content) */
.hv__veil { position: absolute; inset: 0; background:
  linear-gradient(90deg, rgba(246,247,252,.97) 0%, rgba(246,247,252,.93) 26%, rgba(246,247,252,.62) 46%, rgba(246,247,252,.12) 66%, rgba(246,247,252,0) 80%),
  linear-gradient(180deg, rgba(246,247,252,.55) 0%, rgba(246,247,252,0) 18%, rgba(246,247,252,0) 78%, rgba(246,247,252,.9) 100%); }
.hv__in { position: relative; display: grid; min-height: clamp(600px, calc(100vh - 112px), 860px); min-height: clamp(600px, calc(100svh - 112px), 860px); align-content: center; padding-block: clamp(36px, 6vw, 72px) clamp(64px, 7vw, 96px)}
.hv__copy { max-width: 640px; }
.hv .hero__title { font-size: clamp(3.2rem, 1.6rem + 6vw, 7.4rem); }
.hv .hero__lead { color: var(--ink); opacity: .82; font-size: clamp(1.1rem, 1.02rem + .35vw, 1.3rem); max-width: 30em; }
.hv__ghost { --bg: rgba(255,255,255,.72); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); }
.hv .path { background: rgba(255,255,255,.78); -webkit-backdrop-filter: blur(14px) saturate(160%); backdrop-filter: blur(14px) saturate(160%); }
.hv .paths { max-width: 640px; }
.hv__ctl { position: absolute; right: max(var(--gutter-r), 4vw); bottom: clamp(70px, 7vw, 100px); display: flex; align-items: center; gap: 8px; }
@media (min-width: 87.5em) { .hv__ctl { right: 32px; } }
.hv__cap { padding: 8px 12px; border-radius: 999px; background: rgba(255,255,255,.82); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); font: 500 0.76rem/1.2 var(--text); color: var(--ink-2); }
.hv__btn { display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 0 14px 0 12px; border: 0; border-radius: 999px; background: rgba(255,255,255,.88); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); color: var(--ink); font: 600 0.86rem/1 var(--text); box-shadow: var(--sh-1); transition: transform 500ms var(--spring), background 200ms; }
.hv__btn:hover { background: #fff; }
.hv__btn:active { transform: scale(.95); transition-duration: var(--t-press); }
.hv__btn .i { width: 16px; height: 16px; }
.hv .glance { margin-top: calc(clamp(36px, 5vw, 64px) * -1); }
/* phones and portrait tablets: the film sits on top, the words rise out of a light wash below it */
@media (max-width: 62.49875em), (orientation: portrait) and (max-width: 68.75em) {
  .hv { --hv-pos: 68% 50%; }
  .hv__media { bottom: auto; height: min(78vw, 560px); }
  .hv__veil { background: linear-gradient(180deg, rgba(246,247,252,.25) 0%, rgba(246,247,252,0) 22%, rgba(246,247,252,0) 55%, rgba(246,247,252,.85) 86%, var(--pearl) 100%); }
  .hv__in { min-height: 0; align-content: start; padding-top: calc(min(78vw, 560px) - 64px); padding-bottom: 56px; }
  .hv__ctl { top: calc(min(78vw, 560px) - 120px); bottom: auto; right: 16px; }
  .hv .glance { margin-top: 0; }
}
@media (max-width: 35em) {
  .hv__in { padding-top: calc(78vw - 48px); }
  .hv__ctl { top: calc(78vw - 104px); }
  .hv__cap { font-size: 0.75rem; padding: 6px 10px; }
  .hv__btn span { display: none; }
  .hv__btn { width: 40px; padding: 0; justify-content: center; }
}
@media (prefers-reduced-transparency: reduce) { .hv__veil { background: linear-gradient(90deg, var(--pearl) 0 50%, rgba(246,247,252,.4) 70%, rgba(246,247,252,0)); } .hv .path, .hv__cap, .hv__btn { background: #fff; } }
@media (prefers-reduced-motion: reduce) { .hv__video, .hv__poster { transform: none; transition: opacity 300ms ease; } }
.js .hv__media { animation: hvIn 1600ms var(--spring) both; }
@keyframes hvIn { from { opacity: 0; transform: scale(1.03); } }
.path small { white-space: nowrap; } .path { min-width: 0; }

/* =====================================================================
   Round 7: parents' desk, rebuilt around tasks
   ===================================================================== */
.desk3 { display: grid; gap: 16px; }
@media (min-width: 62.5em) { .desk3 { grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); align-items: stretch} .dk--docs { grid-column: 1 / -1; } }
.dk { display: grid; gap: 18px; align-content: start; padding: clamp(20px, 2.6vw, 32px); border-radius: var(--r-xl); background: var(--paper); box-shadow: 0 1px 2px rgba(16,37,58,.04), 0 0 0 1px var(--line); min-width: 0; }
.dk__head { display: flex; align-items: center; gap: 14px; min-width: 0; }
.dk__head h3 { margin: 0; }
.dk__head p { font-size: 0.9rem; margin-top: 2px; }
.dk__ic { flex: none; width: 48px; height: 48px; border-radius: 15px; display: grid; place-items: center; background: var(--cb, var(--sky)); color: var(--ci, var(--cobalt-ink)); }
.dk__ic .i { width: 22px; height: 22px; }
/* fee tiles */
.paygrid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px}
@media (max-width: 22.49875em) { .paygrid { grid-template-columns: minmax(0, 1fr)} }
@media (max-width: 32.5em) { .paytile { padding: 14px; } .paytile b { font-size: 0.94rem; } .paytile small { font-size: 0.82rem; } .paytile .ic { width: 38px; height: 38px; } }
.paytile { position: relative; display: grid; gap: 4px; align-content: start; height: 100%; padding: 16px 16px 18px; border-radius: 20px; background: var(--pearl); color: var(--ink); text-decoration: none; box-shadow: inset 0 0 0 1px rgba(16,37,58,.05); transition: transform 600ms var(--spring), box-shadow 300ms, background 300ms; }
.paytile:hover { transform: translateY(-3px); background: #fff; box-shadow: var(--sh-2), inset 0 0 0 1px rgba(16,37,58,.06); text-decoration: none; }
.paytile:active { transform: scale(.98); transition-duration: var(--t-press); }
.paytile__top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 8px; }
.paytile .ic { width: 42px; height: 42px; border-radius: 13px; display: grid; place-items: center; background: var(--cb); color: var(--ci); }
.paytile .i--ext { width: 18px; height: 18px; color: var(--ink-3); transition: transform 500ms var(--spring), color 200ms; }
.paytile:hover .i--ext { transform: translate(2px, -2px); color: var(--cobalt); }
.paytile b { font: 650 1rem/1.3 var(--display); letter-spacing: -0.01em; }
.paytile small { color: var(--ink-2); font-size: 0.88rem; }
.paytile__via { justify-self: start; margin-top: 8px; padding: 4px 10px; border-radius: 999px; background: #fff; box-shadow: inset 0 0 0 1px var(--line); font: 600 0.75rem/1.2 var(--text); color: var(--ink-2); }
.dk--pay .more { margin-top: -4px; }
/* school details */
.facts { margin: 0; display: grid; gap: 0; border-top: 1px solid var(--line); }
.facts div { display: grid; grid-template-columns: 112px minmax(0, 1fr); gap: 12px; align-items: baseline; padding: 14px 0; border-bottom: 1px solid var(--line)}
.facts dt { font: 600 0.75rem/1.3 var(--text); letter-spacing: .08em; text-transform: uppercase; color: var(--ink-3); }
.facts dd { margin: 0; font: 600 1rem/1.4 var(--text); color: var(--ink); overflow-wrap: anywhere; }
.facts dd small { display: block; font-weight: 500; color: var(--ink-3); font-size: 0.86rem; }
.facts .num { font-variant-numeric: tabular-nums; letter-spacing: .02em; user-select: all; -webkit-user-select: all}
.dk__help { display: grid; gap: 4px; margin-top: auto; padding: 14px 16px; border-radius: 16px; background: var(--lemon); font-size: 0.92rem; color: var(--ink-2); }
.dk__help b { color: var(--ink); font-weight: 650; }
.dk__help .sel { font-weight: 600; color: var(--ink); user-select: all; -webkit-user-select: all; overflow-wrap: anywhere}
.dk--info { grid-template-rows: auto auto 1fr}
/* documents */
.docgrid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px}
@media (max-width: 68.74875em) { .docgrid { grid-template-columns: repeat(2, minmax(0, 1fr))} }
@media (max-width: 37.5em) { .docgrid { grid-template-columns: minmax(0, 1fr)} }
.doctile { display: grid; grid-template-columns: 44px minmax(0, 1fr) auto; gap: 14px; align-items: center; height: 100%; padding: 14px 16px 14px 14px; border-radius: 18px; background: var(--pearl); color: var(--ink); text-decoration: none; box-shadow: inset 0 0 0 1px rgba(16,37,58,.05); transition: transform 600ms var(--spring), box-shadow 300ms, background 300ms}
.doctile:hover { transform: translateY(-2px); background: #fff; box-shadow: var(--sh-2), inset 0 0 0 1px rgba(16,37,58,.06); text-decoration: none; }
.doctile .ic { width: 44px; height: 44px; border-radius: 13px; display: grid; place-items: center; background: var(--sage); color: var(--forest); }
.doctile__t { display: grid; gap: 2px; min-width: 0; }
.doctile__t b { font: 600 0.98rem/1.3 var(--text); }
.doctile__t small { color: var(--ink-3); font-size: 0.84rem; }
.doctile .i--ext { width: 18px; height: 18px; color: var(--ink-3); }
.docmore { border-top: 1px solid var(--line); padding-top: 6px; }
.docmore summary { list-style: none; display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 16px; border-radius: 999px; cursor: pointer; font: 600 0.95rem/1 var(--text); color: var(--cobalt-ink); transition: background 200ms; }
.docmore summary::-webkit-details-marker { display: none; }
.docmore summary:hover { background: var(--sky); }
.docmore summary .i { width: 18px; height: 18px; transition: transform 450ms var(--spring); }
.docmore[open] summary .i { transform: rotate(180deg); }
.doclist { list-style: none; margin: 8px 0 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 28px; animation: softIn 450ms var(--spring) both}
@media (max-width: 43.75em) { .doclist { grid-template-columns: minmax(0, 1fr)} }
.doclist a { display: grid; grid-template-columns: 20px minmax(0, 1fr) auto; gap: 12px; align-items: center; min-height: 48px; padding: 8px 4px; border-bottom: 1px solid var(--line); color: var(--ink); text-decoration: none; font-size: 0.96rem}
.doclist a:hover { color: var(--cobalt-ink); }
.doclist .i { width: 18px; height: 18px; color: var(--forest); }
.doclist .i--ext { color: var(--ink-3); width: 16px; height: 16px; }
@media (max-width: 37.5em) { .facts div { grid-template-columns: minmax(0, 1fr); gap: 4px} }

/* =====================================================================
   Round 8: top bar and video band for portrait tablets (Surface, iPad) and phones
   ===================================================================== */
.util a, .util__l, .util__r { white-space: nowrap; }
.util__soc .soc { flex-wrap: nowrap; }
.u-short { display: none; }
@media (max-width: 73.74875em) { .u-lg { display: none !important; } }
@media (max-width: 63.99875em) { .u-long { display: none; } .u-short { display: inline; } }
@media (max-width: 43.74875em) { .u-sm { display: none !important; } }
@media (max-width: 26.25em) { .u-md { display: none; } }
@media (max-width: 32.5em) { .util__l { display: none; } .util__in { justify-content: center; } }
.util__in { flex-wrap: nowrap; }

/* video band: proportionate on portrait screens, words begin within the first screen */
@media (max-width: 62.49875em), (orientation: portrait) and (max-width: 68.75em) {
  .hv { --hvh: clamp(260px, 50vw, 440px); --hv-pos: 66% 46%; }
  .hv__media { height: var(--hvh); }
  .hv__in { padding-top: calc(var(--hvh) - 52px); }
  .hv__ctl { top: calc(var(--hvh) - 108px); }
  .hv .hero__title { font-size: clamp(3rem, 1.2rem + 6.6vw, 5.4rem); }
  .hv__copy { gap: 18px; }
}
@media (min-width: 43.75em) and (max-width: 62.49875em), (min-width: 43.75em) and (orientation: portrait) and (max-width: 68.75em) {
  .hv__copy { max-width: 720px; }
  .hv .paths { grid-auto-columns: minmax(0, 1fr)}
}
@media (max-width: 35em) {
  .hv { --hvh: 64vw; }
  .hv__in { padding-top: calc(var(--hvh) - 36px); }
  .hv__ctl { top: calc(var(--hvh) - 92px); }
}
.nav__b, .nav a { white-space: nowrap; }
@media (min-width: 80em) and (max-width: 87.49875em) {
  .hdr__in { gap: 12px; }
  .nav__b, .nav a { padding: 0 10px; font-size: 0.9rem; }
  .hdr__ctas .btn--sm { padding: 0 14px; font-size: 0.88rem; }
  .brand__t b { font-size: 0.98rem; }
}
/* inline call and email links */
a.tel { color: var(--cobalt-ink); font-weight: 600; text-decoration: underline; text-decoration-color: rgba(26,120,181,.35); text-underline-offset: 3px; white-space: nowrap; }
a.tel:hover { text-decoration-color: currentColor; }
.lines .v a.tel, .enq__call .v a.tel, .mega__contact dd a.tel, .facts dd a.tel, .dk__help a.tel { color: inherit; text-decoration-color: rgba(16,37,58,.25); }
.ftr a.tel { color: var(--ink); font-weight: 500; }

/* =====================================================================
   Round 9 · LOGO COLOURS for the header, hero and About section (revertible: delete this block)
   Taken from the emblem: blue #1F82C2, sun-ray orange #DC923C, leaf green #38A078.
   Darker shades are used wherever text must stay readable on light surfaces.
   ===================================================================== */
:root { --logo-blue: #1f82c2; --logo-blue-deep: #135f94; --logo-orange: #e0912f; --logo-orange-soft: #f6b25a; --logo-orange-ink: #9a560a; --logo-green: #2f8f69; }
.hdr__prog span { background: linear-gradient(90deg, var(--logo-blue), var(--logo-orange)); }
.nav__b[aria-expanded="true"], .nav__b:hover { background: #e8f3fb; }

/* hero */
.hv .hv__veil { background:
  linear-gradient(90deg, rgba(243,249,253,.97) 0%, rgba(243,249,253,.93) 26%, rgba(243,249,253,.6) 46%, rgba(243,249,253,.1) 66%, rgba(243,249,253,0) 80%),
  linear-gradient(180deg, rgba(243,249,253,.55) 0%, rgba(243,249,253,0) 18%, rgba(243,249,253,0) 78%, rgba(243,249,253,.92) 100%); }
.hv { background: #f3f9fd; }
.hv .kicker::before, #about .kicker::before { background: var(--logo-orange); }
.hv .hero__title .ln--blue > span { color: var(--logo-blue); background: linear-gradient(90deg, var(--logo-orange), var(--logo-orange-soft)) no-repeat 0.04em 93% / 92% 0.075em; padding-bottom: 0.04em; }
.hv .hero__ticket .stub { background: var(--logo-orange-soft); color: #2a1a05; }
.hv .hero__ticket .i { color: var(--logo-orange); }
.hv .btn--primary { background: var(--cobalt); box-shadow: 0 12px 26px -14px rgba(31,130,194,.8); }
.hv .btn--primary:hover { background: var(--logo-blue-deep); }
.hv .path:nth-child(1) { --pt: #fdf0de; --pi: var(--logo-orange-ink); }
.hv .path:nth-child(2) { --pt: #e3f1fb; --pi: var(--logo-blue-deep); }
.hv .path:nth-child(3) { --pt: #e3f3ec; --pi: var(--logo-green); }
.hv .glance { box-shadow: var(--sh-1), 0 0 0 1px #d6e6f2; }
.hv .glance::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 3px; background: linear-gradient(90deg, var(--logo-blue) 0 58%, var(--logo-orange) 58% 100%); }
.hv .glance dt { color: var(--logo-orange-ink); }
.hv .glance dd { color: var(--logo-blue-deep); }
@media (max-width: 62.49875em), (orientation: portrait) and (max-width: 68.75em) {
  .hv .hv__veil { background: linear-gradient(180deg, rgba(243,249,253,.25) 0%, rgba(243,249,253,0) 22%, rgba(243,249,253,0) 55%, rgba(243,249,253,.88) 86%, #f3f9fd 100%); }
}

/* about */
#about { background: linear-gradient(180deg, #f3f9fd 0%, #ffffff 46%); }
#about .about__stamp b { color: var(--logo-orange); }
#about .about__stamp { box-shadow: var(--sh-2), inset 0 -3px 0 var(--logo-orange-soft); }
#about .aim mark { background: linear-gradient(transparent 60%, rgba(246,178,90,.55) 60%, rgba(246,178,90,.55) 92%, transparent 92%); }
#about .about__photo img { box-shadow: 0 24px 50px -28px rgba(19,95,148,.55); }
#about .about__facts { border-top-color: #cfe2f1; }
#about .about__facts div { border-color: #e1edf6; }
#about .about__facts dt { color: var(--logo-orange-ink); }
#about .tl2 { background: radial-gradient(120% 140% at 0% 0%, #ffffff 0%, #eaf4fb 55%, #dcecf8 100%); box-shadow: inset 0 0 0 1px rgba(31,130,194,.12); }
#about .tl2::after { background: radial-gradient(closest-side, rgba(246,178,90,.45), rgba(246,178,90,0)); }
#about .tl2__big span { color: var(--logo-blue); }
#about .tl2__span i { background: linear-gradient(90deg, var(--logo-blue), var(--logo-orange)); }
#about .tl2__rail { background: rgba(31,130,194,.14); }
#about .tl2__rail span { background: linear-gradient(90deg, var(--logo-blue), var(--logo-orange) 55%, var(--logo-green) 80%, var(--logo-orange)); }
@media (max-width: 68.74875em) { #about .tl2__rail span { background: linear-gradient(180deg, var(--logo-blue), var(--logo-orange) 55%, var(--logo-green) 80%, var(--logo-orange)); } }
#about .ms:nth-child(1) { --c: #1f82c2 !important; --ct: #e3f1fb !important; }
#about .ms:nth-child(2) { --c: #c9771c !important; --ct: #fdf0de !important; }
#about .ms:nth-child(3) { --c: #2a7c5c !important; --ct: #e3f3ec !important; }
#about .ms:nth-child(4) { --c: #135f94 !important; --ct: #e3f1fb !important; }

/* =====================================================================
   Round 10 · LOGO PALETTE, site-wide (revert: restore src.before-global-colours)
   Emblem colours: blue #1F82C2, sun-ray orange #E0912F, leaf green #38A078. Tokens above carry the palette;
   this block adds the details that make it feel designed rather than recoloured.
   ===================================================================== */
.kicker::before { background: var(--brand-orange); }
.sec--sky   { background: linear-gradient(180deg, #eaf4fb 0%, #f3f9fd 100%); }
.sec--lemon { background: linear-gradient(180deg, #fdf1e0 0%, #fff8ee 100%); }
.sec--sage  { background: linear-gradient(180deg, #e3f3ec 0%, #eef8f3 100%); }
.sec--lilac { background: linear-gradient(180deg, #e6f3f6 0%, #f1f8fa 100%); }
.sec--pearl { background: linear-gradient(180deg, #f5f9fc 0%, #ffffff 100%); }
.btn--primary { box-shadow: 0 12px 26px -16px rgba(26,120,181,.85); }
.btn--primary:hover { background: var(--cobalt-press); }
.btn--ghost:hover { box-shadow: inset 0 0 0 1.5px var(--brand-blue); }
.btn--lemon { --bg: var(--lemon-2); --fg: #2a1a05; }
.round:hover, .nav a:hover { background: var(--sky); }
.steps li::before { background: var(--cobalt); color: #fff; }
.stage[open] .stage__plus, .stage[data-open="true"] .stage__plus { background: var(--cobalt); }
.hdr__prog span { background: linear-gradient(90deg, var(--brand-blue), var(--brand-orange)); }
.ftr { background: linear-gradient(180deg, #e8f3fb 0%, #dcecf8 100%); border-top: 3px solid transparent; border-image: linear-gradient(90deg, var(--brand-blue) 0 55%, var(--brand-orange) 55% 80%, var(--brand-green) 80% 100%) 1; }
.ftr .btn--primary, .ftr .btn--primary:hover { color: #fff; }
.visit { background: linear-gradient(180deg, #fdf0de 0%, #fff6ea 100%); }
.visit .d-xxl span { color: var(--cobalt); }
.cta { box-shadow: var(--sh-2), 0 0 0 1px rgba(224,145,47,.18); }
.ticket__perf::before, .ticket__perf::after { background: var(--lemon); }
.vcard__flag { background: #fdf0de; color: var(--marigold-ink); }
.stars--on { color: var(--brand-orange); }
.lpin__body { background: var(--cobalt); }
.mapbox { background: #eef5fa; }
/* cards: a whisper of blue in the hairline and shadow, so white cards belong to the page */
.val, .wt, .fac__card, .vsum, .vcard, .stage, .cta, .doccard, .dk, .enq__form { --hair: rgba(31,130,194,.10); }
.val:hover, .stage:hover { box-shadow: var(--sh-2), 0 0 0 1px rgba(31,130,194,.22); }
.cloud li:hover { background: var(--cobalt); }
a.tel { text-decoration-color: rgba(26,120,181,.4); }
::selection { background: #f6d9ae; color: var(--ink); }
.ftr .ftr__word { color: #bfdaee; }
#about .about__stamp b { color: #c9771c; }
.notice__cat { --ci-fix: 1; }
.notice__cat[style*="forest"], .notice__cat { color: var(--ci); }
:root { --forest: #246d50; }


/* =====================================================================
   Round 11 · final audit fixes: touch targets, smallest text, 280px screens
   ===================================================================== */
/* a bigger invisible hit area for the small top-bar links, without changing the layout */
.util a, .util button { position: relative; }
.util a::after { content: ""; position: absolute; inset: -4px -4px; }
@media (pointer: coarse) {
  .link-arrow { min-height: 44px; }
  .footnote a, .ftr a { min-height: 44px; display: inline-flex; align-items: center; }
}
/* very narrow screens (foldables closed, 280 to 340px) */
@media (max-width: 21.25em) {
  .dock { max-width: calc(100vw - 12px); gap: 4px; padding: 5px; }
  .dock__a { padding: 0 12px; font-size: 0.875rem; gap: 6px; min-height: 44px; }
  .dock__a .i { display: none; }
  .ftr__word { font-size: clamp(1.7rem, 1rem + 5vw, 2.2rem); }
}


/* =====================================================================
   Round 12 · enlarged system text (phones set to 130 to 200 percent)
   Nothing changes at normal text size; these only let long text wrap
   instead of pushing the page wider than the screen.
   ===================================================================== */
@media (max-width: 47.5em) {
  .brand__t b, .brand__t span { white-space: normal; overflow-wrap: anywhere; }
  .brand__t b { font-size: clamp(0.92rem, 0.7rem + 1.4vw, 1.06rem); }
  .btn { white-space: normal; text-align: center; padding-block: 10px; }
  .notice, .notice > * { min-width: 0; }
  .notice h3, .notice p { overflow-wrap: anywhere; }
  .notice__act { justify-self: start; }
  .ph__meta b, .ph__meta span { min-width: 0; overflow-wrap: anywhere; }
  .ph__meta span { flex: 0 1 auto; }
  a.tel { white-space: normal; overflow-wrap: anywhere; }
  .linkrow a, .linkrow li, .contact, .contact > *, .adm2, .adm2 > * { min-width: 0; }
  .linkrow b, .linkrow small { overflow-wrap: anywhere; }
  dd, dt, .kv, .kv > * { min-width: 0; overflow-wrap: anywhere; }
  .dock { max-width: calc(100vw - 16px); }
  .dock__a { flex: 0 1 auto; min-width: 0; padding-inline: clamp(10px, 3.4vw, 18px); white-space: nowrap; }
}
@media (max-width: 47.5em) and (min-resolution: 1dppx) {
  .hv__copy, .hero__copy { min-width: 0; overflow-wrap: break-word; }
}
@media (max-width: 47.5em) {
  .sec__head, .sec__head > * { min-width: 0; }
  h1, h2, h3, .d-xl, .d-l { overflow-wrap: break-word; hyphens: auto; }
}
@media (max-width: 47.5em) {
  .sec__head > div { grid-template-columns: minmax(0, 1fr)}
  .util__soc, .util__soc .soc { flex-wrap: wrap; }
}
@media (max-width: 68.75em) {
  .util__in { flex-wrap: wrap; row-gap: 2px; }
}


/* =====================================================================
   Round 13 · multi-page site. Shared inner-page components and the new landing page
   ===================================================================== */
:root { --hdr-h: 76px; }
@view-transition { navigation: auto; }
::view-transition-old(root), ::view-transition-new(root) { animation-duration: 260ms; animation-timing-function: ease; }
@media (prefers-reduced-motion: reduce) { @view-transition { navigation: none; } }
.nav a[aria-current], .nav__b[data-current="true"] { color: var(--cobalt-ink); background: var(--sky); }
.sheet a[aria-current="page"], .mm[aria-current="page"] { background: var(--sky); }
.ftr a[aria-current="page"] { text-decoration: underline; text-decoration-thickness: 2px; }
.sec--tight { padding-block: clamp(40px, 6vw, 84px); }
html:has(.subnav) { scroll-padding-top: calc(var(--hdr-h, 76px) + 72px + env(safe-area-inset-top, 0px)); }

/* ---- landing: quick links in the hero are a tidy 2 x 2 grid ---- */
.hv .paths { display: grid; grid-auto-flow: row; grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-columns: auto; overflow: visible; scroll-snap-type: none; padding: 0; margin: 8px 0 0; max-width: 560px; gap: 10px}
.hv .path:nth-child(4) { --pt: #e6f3f6; --pi: var(--plum); }
.hv .path small { white-space: normal; }
@media (max-width: 37.5em) {
  .hv .paths { gap: 8px; max-width: none; }
  .hv .path { flex-direction: column; align-items: flex-start; gap: 8px; padding: 12px; }
  .hv .path b { font-size: 0.95rem; }
  .hv .path small { font-size: 0.8rem; }
}

/* ---- landing: admissions panel ---- */
.admband { display: grid; position: relative; overflow: hidden; border-radius: var(--r-xl); background: var(--paper); box-shadow: var(--sh-2), 0 0 0 1px rgba(224,145,47,.22); }
.admband::before { content: ""; position: absolute; inset: 0 0 auto; height: 5px; background: linear-gradient(90deg, var(--brand-blue) 0 58%, var(--brand-orange) 58% 100%); z-index: 1; }
.admband__copy { display: grid; gap: 18px; align-content: start; justify-items: start; padding: clamp(28px, 4.2vw, 56px); padding-top: clamp(32px, 4.6vw, 60px); }
.admband__btns { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 4px; }
.admband__facts { list-style: none; margin: 6px 0 0; padding: 0; display: grid; gap: 10px; font-size: 0.98rem; color: var(--ink-2); }
.admband__facts li { display: flex; gap: 10px; align-items: center; }
.admband__facts .i { color: #c9771c; width: 20px; height: 20px; }
.admband__facts b { color: var(--ink); font-weight: 650; }
.admband__steps { list-style: none; margin: 0; padding: clamp(24px, 3.6vw, 48px); display: grid; align-content: center; background: linear-gradient(180deg, #eef6fc, #e4f0fa); }
.admband__steps li { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 16px; padding: 18px 0; border-bottom: 1px dashed var(--line-2); align-items: start}
.admband__steps li:first-child { padding-top: 0; }
.admband__steps li:last-child { border-bottom: 0; padding-bottom: 0; }
.admband__steps .n { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: var(--cobalt); color: #fff; font: 700 1.15rem/1 var(--display); }
.admband__steps li:nth-child(2) .n { background: var(--brand-orange); color: #2a1a05; }
.admband__steps li:nth-child(3) .n { background: var(--forest); }
.admband__steps b { display: block; font: 650 1.15rem/1.25 var(--display); letter-spacing: -0.01em; }
.admband__steps div > span { display: block; color: var(--ink-2); font-size: 0.97rem; margin-top: 3px; }
@media (min-width: 60em) { .admband { grid-template-columns: 1.15fr 0.85fr; } }

/* ---- landing: the school in numbers ---- */
.numbers { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border-top: 1px solid var(--line)}
.numbers li { padding: 18px 16px 18px 0; border-bottom: 1px solid var(--line); min-width: 0; }
.numbers li:nth-child(odd) { border-right: 1px solid var(--line); }
.numbers li:nth-child(even) { padding-left: 18px; }
.numbers b { display: block; font: 760 clamp(2.2rem, 1.6rem + 2vw, 3.2rem)/1 var(--display); letter-spacing: -0.04em; color: var(--cobalt); font-variant-numeric: tabular-nums; }
.numbers li:nth-child(2) b { color: #c9771c; }
.numbers li:nth-child(3) b { color: var(--forest); }
.numbers li:nth-child(4) b { color: var(--plum); }
.numbers span { display: block; margin-top: 8px; font: 500 0.8rem/1.3 var(--mono); letter-spacing: 0.05em; text-transform: uppercase; color: var(--ink-3); }
.about__cta { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 22px; }

/* ---- landing: the four stages ---- */
.stagecards { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; grid-template-columns: minmax(0, 1fr)}
@media (min-width: 40em) { .stagecards { grid-template-columns: repeat(2, minmax(0, 1fr))} }
@media (min-width: 68.75em) { .stagecards { grid-template-columns: repeat(4, minmax(0, 1fr))} }
.sc { position: relative; display: flex; flex-direction: column; gap: 10px; height: 100%; padding: 26px 22px 22px; border-radius: var(--r-l); overflow: hidden; background: var(--paper); box-shadow: var(--sh-1), 0 0 0 1px var(--line); color: var(--ink); text-decoration: none; transition: transform 500ms var(--spring), box-shadow 300ms; }
.sc::before { content: ""; position: absolute; inset: 0 0 auto; height: 6px; background: linear-gradient(90deg, var(--sk), var(--st)); }
.sc:hover { transform: translateY(-4px); box-shadow: var(--sh-2), 0 0 0 1px var(--line); text-decoration: none; }
.sc:active { transform: scale(.985); transition-duration: var(--t-press); }
.sc__ic { width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; background: var(--st); color: var(--sk); }
.sc__no { font: 600 0.78rem/1.3 var(--mono); letter-spacing: 0.05em; text-transform: uppercase; color: var(--ink-3); }
.sc b { font: 700 1.65rem/1.1 var(--display); letter-spacing: -0.02em; }
.sc__t { color: var(--ink-2); font-size: 0.98rem; flex: 1; }
.sc__go { display: inline-flex; gap: 8px; align-items: center; font-weight: 600; color: var(--sk); margin-top: 6px; }
.sc__go .i { width: 18px; height: 18px; transition: transform 500ms var(--spring); }
.sc:hover .sc__go .i { transform: translateX(4px); }

/* ---- landing: student-life strip and its actions ---- */
a.frame--link { text-decoration: none; color: inherit; transition: transform 500ms var(--spring), box-shadow 300ms; }
a.frame--link:hover { transform: translateY(-3px); box-shadow: var(--sh-2), 0 0 0 1px rgba(23,106,130,.2); }
a.frame--link .link-arrow { margin-top: 10px; }
.lifeacts { display: flex; flex-wrap: wrap; gap: 12px; margin-top: clamp(24px, 3.5vw, 40px); }

/* ---- landing: Google reviews band ---- */
.gband { display: grid; gap: 18px; align-items: center; padding: clamp(22px, 3vw, 34px); border-radius: var(--r-xl); background: var(--paper); box-shadow: var(--sh-1), 0 0 0 1px var(--line); }
@media (min-width: 56.25em) { .gband { grid-template-columns: auto minmax(0, 1fr) auto; gap: 28px} }
.gband__ic { width: 56px; height: 56px; border-radius: 18px; display: grid; place-items: center; background: var(--lemon); color: #c9771c; }
.gband__ic .i { width: 28px; height: 28px; }
.gband__t { display: grid; gap: 4px; min-width: 0; }
.gband__btns { display: flex; flex-wrap: wrap; gap: 10px; }

/* ---- inner pages: header, breadcrumb, in-page navigation, related links ---- */
.phero { position: relative; overflow: hidden; overflow: clip; padding-block: clamp(26px, 3.6vw, 52px) clamp(40px, 6vw, 84px); background: linear-gradient(180deg, #eaf4fb 0%, #f6fafd 68%, var(--paper) 100%); isolation: isolate}
.phero::before { content: ""; position: absolute; z-index: -1; right: -8%; top: -30%; width: min(60vw, 640px); aspect-ratio: 1; border-radius: 50%; background: radial-gradient(closest-side, rgba(246,178,90,.28), rgba(246,178,90,0)); pointer-events: none; }
.phero::after { content: ""; position: absolute; z-index: -1; left: -10%; bottom: -40%; width: min(55vw, 560px); aspect-ratio: 1; border-radius: 50%; background: radial-gradient(closest-side, rgba(31,130,194,.16), rgba(31,130,194,0)); pointer-events: none; }
.phero[data-tone="lemon"] { background: linear-gradient(180deg, #fdf0de 0%, #fff8ee 68%, var(--paper) 100%); }
.phero[data-tone="sage"] { background: linear-gradient(180deg, #e3f3ec 0%, #f1f9f5 68%, var(--paper) 100%); }
.phero[data-tone="lilac"] { background: linear-gradient(180deg, #e3f2f5 0%, #f2f9fb 68%, var(--paper) 100%); }
.phero__in { display: grid; gap: clamp(28px, 4vw, 56px); align-items: center; }
.phero__copy { display: grid; gap: 18px; justify-items: start; min-width: 0; }
.phero__copy .kicker { --chip: var(--brand-orange); }
.phero__copy h1 { overflow-wrap: break-word; }
.phero__acts { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 4px; }
.phero__media { position: relative; margin: 0; min-width: 0; }
.phero__media img { width: 100%; aspect-ratio: 4 / 3.1; object-fit: cover; object-position: var(--pos, 50% 45%); border-radius: var(--r-xl) var(--r-xl) var(--r-xl) 8px; box-shadow: var(--sh-3); }
.phero__media figcaption { margin-top: 10px; font: 500 0.78rem/1.4 var(--mono); color: var(--ink-3); letter-spacing: .02em; }
.phero__card { padding: clamp(20px, 2.6vw, 30px); border-radius: var(--r-xl); background: rgba(255,255,255,.86); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); box-shadow: var(--sh-2), 0 0 0 1px var(--line); display: grid; gap: 14px; min-width: 0; }
@media (min-width: 60em) { .phero__in { grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr)} .phero--solo .phero__in { grid-template-columns: minmax(0, 1fr)} }
@media (prefers-reduced-transparency: reduce) { .phero__card { background: #fff; -webkit-backdrop-filter: none; backdrop-filter: none; } }

.crumbs { margin-bottom: 4px; }
.crumbs ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; align-items: center; gap: 2px 8px; font: 500 0.82rem/1.4 var(--mono); letter-spacing: .02em; color: var(--ink-3); }
.crumbs li { display: inline-flex; align-items: center; gap: 8px; }
.crumbs li + li::before { content: "/"; color: var(--line-2); }
.crumbs a { color: var(--ink-2); text-decoration: none; padding-block: 8px; }
.crumbs a:hover { color: var(--cobalt-ink); text-decoration: underline; }
.crumbs [aria-current] { color: var(--ink); font-weight: 600; }

.subnav-wrap { position: sticky; top: calc(var(--hdr-h, 76px) + env(safe-area-inset-top, 0px)); z-index: 40; pointer-events: none; }
.subnav { pointer-events: auto; display: flex; gap: 6px; align-items: center; margin: 0 auto; max-width: calc(var(--maxw) + 64px); padding: 8px max(var(--gutter-r), 4vw) 8px max(var(--gutter), 4vw); overflow-x: auto; scrollbar-width: none; background: rgba(255,255,255,.86); -webkit-backdrop-filter: blur(18px) saturate(170%); backdrop-filter: blur(18px) saturate(170%); border-bottom: 1px solid var(--line); transition: box-shadow 250ms; }
.subnav::-webkit-scrollbar { display: none; }
.subnav[data-stuck="true"] { box-shadow: 0 10px 24px -16px rgba(16,37,58,.35); }
.subnav-wrap::before { content: ""; position: absolute; inset: 0; z-index: -1; background: rgba(255,255,255,.86); -webkit-backdrop-filter: blur(18px); backdrop-filter: blur(18px); }
.subnav__t { flex: none; padding-right: 8px; font: 600 0.75rem/1 var(--mono); letter-spacing: .06em; text-transform: uppercase; color: var(--ink-3); }
.subnav a { flex: none; display: inline-flex; align-items: center; min-height: 40px; padding: 0 14px; border-radius: 999px; color: var(--ink-2); font: 600 0.9rem/1 var(--text); text-decoration: none; white-space: nowrap; transition: background-color 200ms, color 200ms; }
.subnav a:hover { background: var(--sky); color: var(--cobalt-ink); }
.subnav a[aria-current] { background: var(--cobalt); color: #fff; }
@media (min-width: 81.25em) { .subnav { padding-left: 32px; padding-right: 32px; } }

.related { display: grid; gap: 14px; grid-template-columns: minmax(0, 1fr)}
@media (min-width: 45em) { .related { grid-template-columns: repeat(3, minmax(0, 1fr))} }
.rel { display: grid; gap: 8px; align-content: start; padding: 22px; border-radius: var(--r-l); background: var(--paper); box-shadow: var(--sh-1), 0 0 0 1px var(--line); text-decoration: none; color: var(--ink); transition: transform 500ms var(--spring), box-shadow 300ms; }
.rel:hover { transform: translateY(-3px); box-shadow: var(--sh-2), 0 0 0 1px var(--line); text-decoration: none; }
.rel__ic { width: 44px; height: 44px; border-radius: 13px; display: grid; place-items: center; background: var(--rt, var(--sky)); color: var(--ri, var(--cobalt-ink)); }
.rel b { font: 680 1.25rem/1.2 var(--display); letter-spacing: -0.012em; }
.rel span.t { color: var(--ink-2); font-size: 0.96rem; }
.rel .link-arrow { margin-top: 4px; }
.rel:hover .link-arrow .i { transform: translateX(4px); }

/* ---- inner pages: shared layout pieces ---- */
.split { display: grid; gap: clamp(22px, 4vw, 48px); }
.split__a { display: grid; gap: 14px; align-content: start; }
.split__b { min-width: 0; }
@media (min-width: 60em) { .split { grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); align-items: start; } .split__a { position: sticky; top: calc(var(--hdr-h, 76px) + 96px); } }
.fact { padding: 18px 18px 16px; border-radius: var(--r-m); background: var(--paper); box-shadow: var(--sh-1), 0 0 0 1px var(--line); min-width: 0; }
.fact b { display: block; font: 740 clamp(1.9rem, 1.5rem + 1.4vw, 2.6rem)/1 var(--display); letter-spacing: -0.035em; color: var(--sk, var(--cobalt)); font-variant-numeric: tabular-nums; }
.fact span { display: block; margin-top: 8px; font: 500 0.78rem/1.3 var(--mono); letter-spacing: 0.05em; text-transform: uppercase; color: var(--ink-3); overflow-wrap: anywhere; }
.facts-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 12px}
.mini-facts { margin: 0; display: grid; }
.mini-facts div { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.mini-facts div:last-child { border-bottom: 0; padding-bottom: 0; }
.mini-facts div:first-child { padding-top: 0; }
.mini-facts dt { font: 500 0.78rem/1.4 var(--mono); letter-spacing: 0.05em; text-transform: uppercase; color: var(--ink-3); }
.mini-facts dd { margin: 0; font: 620 1rem/1.35 var(--text); text-align: right; }
.notebox { display: flex; gap: 14px; align-items: flex-start; padding: 18px 20px; border-radius: var(--r-l); background: var(--paper); box-shadow: var(--sh-1), 0 0 0 1px var(--line); }
.notebox > .i { width: 22px; height: 22px; margin-top: 2px; color: var(--cobalt); }
.notebox p { color: var(--ink-2); font-size: 0.98rem; }
.notebox b { color: var(--ink); }

/* about */
.vm { display: grid; gap: 14px; grid-template-columns: minmax(0, 1fr)}
@media (min-width: 53.75em) { .vm { grid-template-columns: repeat(3, minmax(0, 1fr))} }
.vm__c { position: relative; padding: clamp(24px, 3vw, 36px); border-radius: var(--r-xl); background: var(--vt, var(--paper)); box-shadow: var(--sh-1), 0 0 0 1px var(--line); display: grid; gap: 12px; align-content: start; }
.vm__ic { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; background: #e8f0fa; background: color-mix(in srgb, var(--vb, var(--cobalt)) 12%, #fff); color: var(--vk, var(--cobalt-ink))}
.vm__k { font: 600 0.78rem/1.2 var(--mono); letter-spacing: 0.07em; text-transform: uppercase; color: var(--vk, var(--ink-3)); }
.vm__q { font: 600 clamp(1.25rem, 1.05rem + 0.9vw, 1.7rem)/1.25 var(--display); letter-spacing: -0.015em; color: var(--ink); text-wrap: pretty; }
.vm__s { color: var(--ink-2); font-size: 0.95rem; }
.vm__c--motto { background: linear-gradient(160deg, #1a78b5 0%, #135f94 100%); color: #fff; box-shadow: var(--sh-2); }
.vm__c--motto .vm__ic { background: rgba(255,255,255,.18); color: #fff; }
.vm__c--motto .vm__k, .vm__c--motto .vm__s { color: #d6eaf8; }
.vm__c--motto .vm__q { color: #fff; font: 600 clamp(1.9rem, 1.4rem + 1.8vw, 2.7rem)/1.05 var(--serif); font-style: italic; font-weight: 400; letter-spacing: -0.02em; }
.legacy { display: grid; gap: 6px; margin-top: 28px; padding: 22px 24px; border-radius: var(--r-l); background: var(--lemon); box-shadow: 0 0 0 1px rgba(224,145,47,.28); }
.legacy__yrs { font: 760 1.9rem/1 var(--display); letter-spacing: -0.03em; color: #c9771c; }
.legacy b { font: 680 1.15rem/1.3 var(--display); }
.legacy span:last-child { color: var(--ink-2); font-size: 0.98rem; }
.trio { display: grid; gap: 14px; grid-template-columns: minmax(0, 1fr)}
@media (min-width: 53.75em) { .trio { grid-template-columns: repeat(3, minmax(0, 1fr))} }
.tcard { display: grid; gap: 10px; align-content: start; padding: clamp(22px, 2.6vw, 30px); border-radius: var(--r-l); background: var(--paper); box-shadow: var(--sh-1), 0 0 0 1px rgba(42,124,92,.18); }
.tcard h3 { margin: 0; font: 680 1.3rem/1.2 var(--display); letter-spacing: -0.012em; }
.tcard p { color: var(--ink-2); font-size: 0.98rem; }
.tcard__big { font: 760 3.2rem/1 var(--display); letter-spacing: -0.04em; color: var(--forest); }
.tcard__ic { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; background: var(--sage); color: var(--forest); }

/* academics */
.stg__in { display: grid; gap: clamp(22px, 4vw, 48px); }
@media (min-width: 60em) { .stg__in { grid-template-columns: minmax(0, 0.75fr) minmax(0, 1.25fr); align-items: start; } .stg__h { position: sticky; top: calc(var(--hdr-h, 76px) + 96px); } }
.stg__h { display: grid; gap: 12px; align-content: start; justify-items: start; }
.stg__ic { width: 56px; height: 56px; border-radius: 18px; display: grid; place-items: center; background: var(--paper); color: var(--sk); box-shadow: var(--sh-1), 0 0 0 1px var(--line); }
.stg__ic .i { width: 26px; height: 26px; }
.stg__no { font: 600 0.8rem/1.3 var(--mono); letter-spacing: 0.06em; text-transform: uppercase; color: var(--ink-2); }
.stg__tag { color: var(--ink-2); font-size: 1.05rem; max-width: 22em; }
.stg__b { display: grid; gap: 24px; min-width: 0; }
.stg .facts-row .fact b { color: var(--sk); }

/* admissions */
.docs-card { padding: clamp(22px, 3vw, 34px); border-radius: var(--r-xl); background: var(--paper); box-shadow: var(--sh-1), 0 0 0 1px var(--line); }
.faq2 { display: grid; gap: 0 clamp(24px, 4vw, 64px); grid-template-columns: minmax(0, 1fr)}
@media (min-width: 60em) { .faq2 { grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: start} .faq2 .faq + .faq { border-top-color: rgba(16,37,58,.14); } }
@media (max-width: 59.99875em) { .faq2 .faq + .faq { border-top: 0; } }
.sel { user-select: all; -webkit-user-select: all; font-weight: 600; color: var(--ink)}

/* campus */
.campus-duo { display: grid; gap: 14px; grid-template-columns: minmax(0, 1fr); margin-bottom: 18px}
@media (min-width: 40em) { .campus-duo { grid-template-columns: repeat(2, minmax(0, 1fr))} }
.campus-duo figure { margin: 0; display: grid; gap: 8px; }
.campus-duo img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--r-l); box-shadow: var(--sh-2); }
.campus-duo figcaption { font: 500 0.78rem/1.4 var(--mono); letter-spacing: .02em; color: var(--ink-3); }
.campus-facts { padding: 6px 22px; border-radius: var(--r-l); background: var(--paper); box-shadow: var(--sh-1), 0 0 0 1px var(--line); }
.campus-facts div { padding-block: 14px; }
.campus-facts div:first-child { padding-top: 14px; }
.campus-facts div:last-child { padding-bottom: 14px; }
.campus-facts dd { min-width: 0; overflow-wrap: anywhere; }
.labcards { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; grid-template-columns: minmax(0, 1fr)}
@media (min-width: 32.5em) { .labcards { grid-template-columns: repeat(2, minmax(0, 1fr))} }
@media (min-width: 56.25em) { .labcards { grid-template-columns: repeat(3, minmax(0, 1fr))} }
@media (min-width: 73.75em) { .labcards { grid-template-columns: repeat(5, minmax(0, 1fr))} }
.lab { display: grid; gap: 6px; align-content: start; padding: 22px 20px 24px; border-radius: var(--r-l); background: var(--paper); box-shadow: var(--sh-1), 0 0 0 1px rgba(42,124,92,.14); min-width: 0; transition: transform 600ms var(--spring), box-shadow 300ms; }
.lab:hover { transform: translateY(-4px); box-shadow: var(--sh-2), 0 0 0 1px rgba(42,124,92,.22); }
.lab__ic { width: 52px; height: 52px; border-radius: 16px; display: grid; place-items: center; background: var(--lt); color: var(--li); margin-bottom: 10px; }
.lab__ic .i { width: 26px; height: 26px; }
.lab__no { font: 600 0.78rem/1.3 var(--mono); letter-spacing: .06em; text-transform: uppercase; color: var(--ink-2); }
.lab b { font: 690 1.4rem/1.15 var(--display); letter-spacing: -0.018em; overflow-wrap: break-word; }
.libr { display: grid; gap: clamp(26px, 4vw, 56px); align-items: center; }
@media (min-width: 56.25em) { .libr { grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr)} }
.libr__copy { display: grid; gap: 16px; justify-items: start; min-width: 0; }
.libr__copy .mini-facts { width: 100%; }
.libr__open { display: inline-flex; align-items: center; gap: 10px; padding: 10px 16px; border-radius: 999px; background: var(--lemon); color: var(--ink); font: 600 0.95rem/1.3 var(--text); }
.libr__open .dot { flex: none; width: 10px; height: 10px; border-radius: 50%; background: var(--ink-3); }
.libr__open[data-state="open"] { background: #dff1e8; color: #17503a; }
.libr__open[data-state="open"] .dot { background: #2a8a5f; box-shadow: 0 0 0 4px rgba(42,138,95,.22); }
.libr__open[data-state="closed"] .dot { background: #c9771c; }
.libr__note { font-size: 0.9rem; margin-top: -6px; }
.libr__img, .sportimg { margin: 0; display: grid; gap: 10px; min-width: 0; }
.libr__img img, .sportimg img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; border-radius: var(--r-xl); box-shadow: var(--sh-2); }
.libr__img figcaption, .sportimg figcaption { font-size: 0.86rem; color: var(--ink-2); display: flex; gap: 8px; align-items: baseline; flex-wrap: wrap; }
.ill { display: inline-block; padding: 3px 9px; border-radius: 999px; background: var(--paper); box-shadow: 0 0 0 1px var(--line-2, var(--line)); font: 600 0.7rem/1.4 var(--mono); letter-spacing: .06em; text-transform: uppercase; color: var(--ink-2); }
.sportgrid { display: grid; gap: 14px; grid-template-columns: minmax(0, 1fr)}
@media (min-width: 56.25em) { .sportgrid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) minmax(0, 0.8fr); align-items: start} }
.sportlist { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.sportlist li { display: flex; gap: 14px; align-items: center; padding: 18px; border-radius: var(--r-l); background: var(--paper); box-shadow: var(--sh-1), 0 0 0 1px var(--line); }
.sportlist__ic { flex: none; width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; background: var(--lilac); color: #176a82; }
.sportlist b { display: block; font: 680 1.15rem/1.2 var(--display); }
.sportlist span:not(.sportlist__ic) { color: var(--ink-2); font-size: 0.94rem; }
.sportcamp { display: grid; gap: 14px; align-content: start; padding: clamp(22px, 2.6vw, 30px); border-radius: var(--r-l); background: var(--paper); box-shadow: var(--sh-1), 0 0 0 1px var(--line); }
@media (max-width: 56.24875em) { .sportimg img { aspect-ratio: 16 / 10; } }

/* wide page hero: copy above, a wide picture below */
.phero--wide .phero__in { grid-template-columns: minmax(0, 1fr)}
.phero--wide .phero__media img { aspect-ratio: 16 / 9; border-radius: var(--r-xl); }
@media (min-width: 47.5em) { .phero--wide .phero__media img { aspect-ratio: 16 / 6.4; } }
@media (min-width: 60em) { .phero--wide .phero__copy { max-width: 46rem; } .split__a { align-self: start; position: sticky; top: calc(var(--hdr-h, 76px) + 96px); } }
@media (min-width: 56.25em) {
  .sportgrid { grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr); grid-template-areas: "list img" "camp img"; align-items: stretch; }
  .sportlist { grid-area: list; } .sportcamp { grid-area: camp; } .sportimg { grid-area: img; align-content: start; }
  .sportimg img { aspect-ratio: 4 / 4.2; }
}

/* student life */
.artcards { list-style: none; margin: clamp(26px, 4vw, 44px) 0 0; padding: 0; display: grid; gap: 12px; grid-template-columns: minmax(0, 1fr)}
@media (min-width: 45em) { .artcards { grid-template-columns: repeat(3, minmax(0, 1fr))} }
.artcards li { display: grid; gap: 6px; align-content: start; padding: 22px 20px 24px; border-radius: var(--r-l); background: var(--paper); box-shadow: var(--sh-1), 0 0 0 1px var(--line); min-width: 0; }
.artcards b { font: 690 1.25rem/1.2 var(--display); letter-spacing: -0.015em; }
.artcards span:not(.lab__ic) { color: var(--ink-2); font-size: 0.97rem; }
.ladder { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; grid-template-columns: minmax(0, 1fr); counter-reset: lad}
@media (min-width: 37.5em) { .ladder { grid-template-columns: repeat(2, minmax(0, 1fr))} }
@media (min-width: 68.75em) { .ladder { grid-template-columns: repeat(4, minmax(0, 1fr))} }
.ladder li { display: grid; gap: 8px; align-content: start; padding: 24px 22px 26px; border-radius: var(--r-l); background: var(--paper); box-shadow: var(--sh-1), 0 0 0 1px rgba(23,106,130,.14); min-width: 0; position: relative; overflow: hidden; }
.ladder li::before { content: ""; position: absolute; inset: 0 0 auto; height: 6px; background: linear-gradient(90deg, #1a78b5, #2a8a5f); }
.ladder li:nth-child(2)::before { background: linear-gradient(90deg, #2a8a5f, #e0912f); }
.ladder li:nth-child(3)::before { background: linear-gradient(90deg, #e0912f, #a8451f); }
.ladder li:nth-child(4)::before { background: linear-gradient(90deg, #a8451f, #5b3a8a); }
.ladder__no { font: 700 0.85rem/1.3 var(--mono); letter-spacing: .05em; text-transform: uppercase; color: var(--cobalt-ink); }
.ladder b { font: 690 1.3rem/1.2 var(--display); letter-spacing: -0.016em; }
.ladder span:not(.ladder__no) { color: var(--ink-2); font-size: 0.97rem; }
.duo { display: grid; gap: 14px; grid-template-columns: minmax(0, 1fr)}
@media (min-width: 40em) { .duo { grid-template-columns: repeat(2, minmax(0, 1fr))} }
.duo__c { display: grid; gap: 8px; align-content: start; padding: clamp(22px, 2.6vw, 30px); border-radius: var(--r-l); background: var(--paper); box-shadow: var(--sh-1), 0 0 0 1px var(--line); }
.duo__c h3 { margin: 4px 0 0; font: 690 1.4rem/1.15 var(--display); letter-spacing: -0.018em; }
.duo__c p { color: var(--ink-2); }

/* gallery and notices */
.g-bar { top: calc(var(--hdr-h, 76px) + env(safe-area-inset-top, 0px)); }
.g-bar--static { position: static; background: none; padding-block: 0; margin-bottom: 8px; }
.sr-only { position: absolute !important; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0}

/* parents, contact, disclosure */
.quick { list-style: none; margin: 0; padding: 0; display: grid; }
.quick a { display: grid; grid-template-columns: 44px minmax(0, 1fr) auto; gap: 14px; align-items: center; padding: 12px 8px; margin: 0 -8px; border-radius: 14px; color: var(--ink); text-decoration: none; transition: background 200ms}
.quick a:hover { background: var(--pearl); text-decoration: none; }
.quick li + li a { border-top: 1px solid var(--line); border-radius: 0; }
.quick li:first-child a, .quick li:last-child a { border-radius: 14px; }
.quick .ic { width: 44px; height: 44px; border-radius: 13px; display: grid; place-items: center; background: var(--cb); color: var(--ci); }
.quick b { display: block; font: 640 1rem/1.3 var(--text); }
.quick small { display: block; color: var(--ink-3); font-size: 0.85rem; }
.quick .i--go, .quick .i--ext { width: 18px; height: 18px; color: var(--ink-3); }
.docsearch { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 18px; margin-bottom: 18px; }
.docsearch__f { position: relative; flex: 1 1 320px; max-width: 520px; display: block; }
.docsearch__f .i { position: absolute; left: 16px; top: 50%; width: 20px; height: 20px; transform: translateY(-50%); color: var(--ink-3); pointer-events: none; }
.docsearch input { width: 100%; min-height: 52px; padding: 0 18px 0 46px; border: 0; border-radius: 999px; background: var(--paper); box-shadow: inset 0 0 0 1.5px var(--line-2, rgba(16,37,58,.18)); font: 500 1rem/1.2 var(--text); color: var(--ink); }
.docsearch input:focus-visible { outline: 3px solid var(--cobalt); outline-offset: 2px; }
.docgrid li[hidden] { display: none !important; }

.sec--after { padding-top: clamp(14px, 2.2vw, 30px); }
@media (max-width: 35em) { .admband__btns .btn { flex: 1 1 100%; justify-content: center; } }

/* large text and unusual widths: fit-to-space rules */
.numbers li { container-type: inline-size; }
.numbers b { font-size: min(clamp(2.2rem, 1.6rem + 2vw, 3.2rem), 26cqi); }
html[data-util="1"] .u-lg { display: none !important; }
html[data-util="2"] .u-lg, html[data-util="2"] .util__soc, html[data-util="2"] .u-md { display: none !important; }
html[data-nav="compact"] .nav, html[data-nav="compact"] .hdr__cta { display: none !important; }
html[data-nav="compact"] .menu-btn { display: inline-flex !important; }
html[data-nav="compact"] .hdr__ctas { display: flex; }
html[data-nav="compact"] .hdr__find { display: none; }
@media (min-width: 56.25em) { .ftr__grid { grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1.2fr)} }
.ftr__grid > * { min-width: 0; }
.ftr a, .ftr address, .ftr p { overflow-wrap: anywhere; }
@media (min-width: 56.25em) and (max-width: 68.74875em) { .ftr__grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr)} }
a.tel[href^="mailto"], .ftr a.tel { white-space: normal; overflow-wrap: anywhere; }
.aim { overflow-wrap: anywhere; hyphens: auto; }
@media (max-width: 21.25em) { .numbers { grid-template-columns: minmax(0, 1fr)} .numbers li:nth-child(odd) { border-right: 0; } .numbers li:nth-child(even) { padding-left: 0; } }
.split { grid-template-columns: minmax(0, 1fr)}
@media (min-width: 60em) { .split { grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); } }
.split__a, .split__b, .stg__b, .libr__copy, .phero__copy { min-width: 0; }
.cloud li { max-width: 100%; overflow-wrap: anywhere; }
.soc--pill, .socials [data-social] > ul { flex-wrap: wrap; }
.soc--pill a { max-width: 100%; }
.doctile__t b, .doctile__t small, .doctile__t { overflow-wrap: anywhere; }
.sheet nav a { font-size: min(1.6rem, 8.5vw); }
.sg summary { font-size: min(1.4rem, 7.5vw); }
.sg ul a { font-size: min(1.05rem, 5.4vw); }
.sheet, .sheet * { max-width: 100%; }
.sheet nav a, .sg summary, .sg ul a { overflow-wrap: anywhere; }
.chips { min-width: 0; flex: 0 1 auto; }
.g-bar > * { min-width: 0; }
.split__b--grid { display: grid; gap: 16px; grid-template-columns: minmax(0, 1fr); align-content: start}
.split__a { grid-template-columns: minmax(0, 1fr)}
.d-xxl, .d-xl, .d-l, .d-m, .d-s, .lede { overflow-wrap: break-word; }
.ph__meta span { flex: 0 1 auto; min-width: 0; max-width: 100%; overflow-wrap: anywhere; }
.paytile, .rel, .lab, .artcards li, .ladder li, .duo__c, .sportcamp, .sportimg, .libr__img, .val { grid-template-columns: minmax(0, 1fr); overflow-wrap: break-word}
.sheet { overflow-x: hidden; }
.sheet__top .kicker, .sheet__top { min-width: 0; flex-wrap: wrap; }
.btn--lg { max-width: 100%; white-space: normal; text-align: center; }
.sportlist li > div { min-width: 0; overflow-wrap: anywhere; }
.soc--pill a, .soc--pill .t { white-space: normal; overflow-wrap: anywhere; }
.vm__q, .vm__c, .legacy, .tcard, .fact b, .stat b, .big { overflow-wrap: anywhere; }
.vsum { grid-template-columns: minmax(0, 1fr)}
.vsum__g { flex-wrap: wrap; min-width: 0; }
.vsum__g > * { min-width: 0; overflow-wrap: anywhere; }
@media (max-width: 59.99875em) { .stg__in { grid-template-columns: minmax(0, 1fr)} }
.stg__h { grid-template-columns: minmax(0, 1fr)}
.steps li > div { min-width: 0; overflow-wrap: anywhere; }
.addr { overflow-wrap: anywhere; }
.stg__h > *, .phero__copy > *, .libr__copy > *, .cta__copy > * { max-width: 100%; }

/* touch: every tap target at least 44 by 44 CSS px, without changing the desktop layout */
.vm__c--motto { background: linear-gradient(160deg, #146aa0 0%, #0f4f7c 100%); }
.vm__c--motto .vm__k, .vm__c--motto .vm__s { color: #e8f3fb; }
.util a::after { inset: -4px -6px; }
.crumbs a { position: relative; }
.crumbs a::after { content: ""; position: absolute; inset: -6px -5px; }
@media (pointer: coarse) {
  .brand { min-height: 44px; }
  .subnav a { min-height: 44px; display: inline-flex; align-items: center; }
  .chip, .btn--sm, .mini, .soc--pill a, .hv__btn, .more summary, .docmore summary, .sg ul a { min-height: 44px; }
  .mini { min-width: 44px; justify-content: center; }
  .hv__btn { min-width: 44px; }
  .more summary { display: flex; align-items: center; }
  .soc--strip a { min-width: 44px; min-height: 44px; }
}
.ill { font-size: 0.75rem; }
@media (pointer: coarse) { .picker__tabs button { min-height: 44px; } }
@media (pointer: coarse) {
  .consent { min-height: 44px; display: flex; align-items: center; }
  .ticket__rows a.tel, dd a.tel { display: inline-flex; align-items: center; min-height: 44px; }
}
@media (pointer: coarse) { .v a.tel { display: inline-flex; align-items: center; min-height: 44px; } }
/* an img's width and height attributes only reserve space; CSS aspect-ratio and object-fit decide the shape */
:where(img[width][height]) { height: auto; }
.mini-facts dt { white-space: nowrap; flex: none; }
.mini-facts dd { min-width: 0; overflow-wrap: anywhere; }

/* ---------- Your School additions: illustrative map and sample links ---------- */
.map .leaflet-container, .map.leaflet-container { background: #f3f6ea; }
.map .leaflet-image-layer { image-rendering: auto; }
.lpin__face img { border-radius: 50%; object-fit: cover; }
[data-sample] { cursor: pointer; }
/* responsive and compatibility pass: phone and email links in running text get a taller touch area */
a.tel, a[href="#"]:not([class]) { padding-block: 5px; }

.gr { --gr-r: var(--r-l); --gr-sum-bg: var(--paper); --gr-card-bg: var(--paper); --gr-ink: var(--ink); --gr-soft: var(--ink-3); --gr-line: var(--line); --gr-track: var(--line);
  --gr-star: var(--brand-orange); --gr-star-ink: var(--ink); --gr-off: var(--line-2); --gr-chip-bg: var(--sage); --gr-chip-ink: var(--forest);
  --gr-shadow: var(--sh-1); --gr-focus: var(--focus); }

/* ---------- Google reviews (sample): the summary card, the rating bars and the review cards ---------- */
.gr__defs { position: absolute; width: 0; height: 0; overflow: hidden; }
.gr { --gr-gap: clamp(1rem, 2.4vw, 1.5rem); display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--gr-gap); min-width: 0; text-align: left}
.gr *, .gr *::before, .gr *::after { box-sizing: border-box; }
.gr p, .gr ul { margin: 0; padding: 0; }
.gr ul { list-style: none; }
.gr__sum { display: grid; gap: 1rem; align-content: start; padding: clamp(1.1rem, 3vw, 1.6rem); border-radius: var(--gr-r); background: var(--gr-sum-bg); color: var(--gr-ink); border: 1px solid var(--gr-line); min-width: 0; }
.gr__src { display: flex; align-items: center; flex-wrap: wrap; gap: 0.55rem; font-weight: 650; font-size: 1.0625rem; line-height: 1.2; }
.gr__ico { display: inline-grid; place-items: center; width: 2rem; height: 2rem; border-radius: 50%; background: var(--gr-star); color: var(--gr-star-ink); }
.gr__ico svg { width: 1.1rem; height: 1.1rem; fill: currentColor; }
.gr__chip { display: inline-block; padding: 0.2rem 0.6rem; border-radius: 999px; font-size: 0.75rem; font-weight: 650; letter-spacing: 0.04em; text-transform: uppercase; background: var(--gr-chip-bg); color: var(--gr-chip-ink); }
.gr__score { display: flex; align-items: center; gap: 1rem; flex-wrap: wrap; }
.gr__num { font-size: clamp(3.25rem, 9vw, 4.25rem); line-height: 1; font-weight: 700; letter-spacing: -0.04em; font-variant-numeric: tabular-nums; }
.gr__stars { display: inline-flex; line-height: 1; font-size: 1.125rem; vertical-align: middle; }
.gr__s { width: 1.25em; height: 1.25em; fill: var(--gr-star); flex: none; }
.gr__s.is-off { fill: var(--gr-off); }
.gr__stars--avg { position: relative; display: inline-block; width: 6.25em; height: 1.25em; font-size: 1.5rem; font-size: min(1.5rem, 7vw); }
.gr__stars--avg .gr__off, .gr__stars--avg .gr__on { position: absolute; top: 0; left: 0; display: flex; height: 100%; }
.gr__stars--avg .gr__on { width: calc(var(--p) * 0.0625em); overflow: hidden; }
.gr__stars--avg .gr__on .gr__s, .gr__stars--avg .gr__off .gr__s { flex: none; }
.gr__count { margin-top: 0.35rem; font-size: 0.9375rem; color: var(--gr-soft); }
.gr__bars { display: grid; gap: 0.45rem; }
.gr__bar { display: grid; grid-template-columns: 1rem minmax(0, 1fr) 2.25rem; align-items: center; gap: 0.6rem; font-size: 0.875rem; font-variant-numeric: tabular-nums}
.gr__bar i { display: block; height: 0.5rem; border-radius: 999px; background: var(--gr-track); overflow: hidden; }
.gr__bar b { display: block; height: 100%; width: calc(var(--w) * 1%); min-width: 0; border-radius: 999px; background: var(--gr-star); }
.gr__bc { text-align: right; color: var(--gr-soft); }
.gr__sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap}
.gr__acts { display: flex; flex-wrap: wrap; gap: 0.6rem; }
.gr__main { display: grid; gap: 0.9rem; min-width: 0; }
/* phones: one row of cards you swipe through, with the next card peeking in */
.gr__scroll { overflow-x: auto; overflow-y: hidden; -webkit-overflow-scrolling: touch; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; scroll-padding-left: var(--gr-bleed, 0px); margin-inline: calc(-1 * var(--gr-bleed, 0px)); padding-inline: var(--gr-bleed, 0px); padding-bottom: 0.9rem; scrollbar-width: thin; }
.gr__scroll:focus-visible { outline: 3px solid var(--gr-focus); outline-offset: 2px; border-radius: 12px; }
.gr__list { display: grid; grid-auto-flow: column; grid-auto-columns: min(86%, 21.5rem); gap: 0.9rem; }
.gr__card { display: flex; min-width: 0; scroll-snap-align: start; }
.gr__a { display: grid; grid-template-rows: auto auto 1fr; gap: 0.75rem; width: 100%; min-width: 0; padding: clamp(1.05rem, 2.6vw, 1.35rem); border-radius: var(--gr-r); background: var(--gr-card-bg); color: var(--gr-ink); border: 1px solid var(--gr-line); box-shadow: var(--gr-shadow)}
.gr__who { display: flex; align-items: center; gap: 0.75rem; min-width: 0; }
.gr__av { display: grid; place-items: center; flex: none; width: 2.75rem; height: 2.75rem; border-radius: 50%; font-size: 0.9375rem; font-weight: 700; letter-spacing: 0.02em; background: var(--av-bg); color: var(--av-ink); }
.gr__name { font-weight: 650; font-size: 1rem; line-height: 1.25; overflow-wrap: anywhere; }
.gr__meta { font-size: 0.875rem; line-height: 1.3; color: var(--gr-soft); overflow-wrap: anywhere; }
.gr__row { display: flex; align-items: center; flex-wrap: wrap; gap: 0.35rem 0.7rem; }
.gr__row .gr__stars { font-size: 1rem; font-size: min(1rem, 4.4vw); }
.gr__when { font-size: 0.875rem; color: var(--gr-soft); }
.gr__text { font-size: 1rem; line-height: 1.55; overflow-wrap: anywhere; hyphens: auto; max-width: 62ch; }
.gr__note { font-size: 0.875rem; line-height: 1.5; color: var(--gr-soft); max-width: 64ch; }
@media (min-width: 40em) {
  .gr__scroll { overflow: visible; scroll-snap-type: none; margin-inline: 0; padding: 0; }
  .gr__scroll:focus-visible { outline: 0; }
  .gr__list { grid-auto-flow: row; grid-auto-columns: auto; grid-template-columns: repeat(auto-fit, minmax(min(100%, max(17rem, calc(50% - var(--gr-gap)))), 1fr)); gap: var(--gr-gap)}
  .gr__sum { grid-template-columns: auto minmax(0, 1fr); column-gap: clamp(1.5rem, 4vw, 3rem); align-items: center}
  .gr__src, .gr__acts { grid-column: 1 / -1; }
  .gr__acts { grid-row: 3; }
  .gr__score { grid-column: 1; grid-row: 2; }
  .gr__bars { grid-column: 2; grid-row: 2; }
}
@media (min-width: 75em) {
  .gr { grid-template-columns: minmax(17rem, 22rem) minmax(0, 1fr); align-items: start}
  .gr__sum { grid-template-columns: minmax(0, 1fr); align-items: start}
  .gr__score, .gr__bars, .gr__acts { grid-column: 1; grid-row: auto; }
}
@media (forced-colors: active) {
  .gr__a, .gr__sum { border: 1px solid CanvasText; }
  .gr__s { fill: CanvasText; } .gr__s.is-off { fill: GrayText; }
  .gr__bar b { background: CanvasText; } .gr__bar i { background: Canvas; border: 1px solid GrayText; }
}
@media print { .gr__scroll { overflow: visible; } .gr__list { grid-auto-flow: row; grid-template-columns: repeat(2, minmax(0, 1fr))} .gr__acts { display: none; } }
