/* =========================================================================
   Skonis World School — site stylesheet
   Structure: 1 tokens · 2 base · 3 layout · 4 components · 5 sections
              6 pages · 7 motion · 8 responsive
   ========================================================================= */

/* 1. TOKENS ------------------------------------------------------------- */
:root {
  /* Brand (measured from the crest) */
  --maroon: #84173e;
  --maroon-deep: #7a0a36;
  --wine: #4a0b24;
  --rose: #c4577a;
  --rose-mist: #f3d6df;
  --blush: #f7e6ec;
  --ivory: #fbf6f1;
  --champagne: #ead7a6;
  --gold: #c9a13b;
  --gold-ink: #7d5e12;
  --navy: #273456;
  --night: #1c0a12;
  --night-2: #2e0c1c;

  /* Text */
  --ink: #2a1b21;
  --ink-soft: #5b4750;
  --ink-mute: #7a6770;
  --on-dark: #f6ecef;
  --on-dark-soft: #d8c4cc;

  /* Houses */
  --newton: #b3263a;
  --raman: #2e7d5b;
  --einstein: #2f4f8f;
  --kalam: #d9a21b;

  /* Surfaces & lines */
  --surface: rgba(255, 255, 255, 0.72);
  --surface-solid: #fffdfb;
  --shell: rgba(132, 23, 62, 0.05);
  --line: rgba(132, 23, 62, 0.13);
  --line-strong: rgba(132, 23, 62, 0.24);

  /* Gradients */
  --g-signature: linear-gradient(135deg, #4a0b24 0%, #84173e 52%, #c4577a 100%);
  --g-signature-drift: linear-gradient(120deg, #4a0b24, #84173e, #b24068, #84173e, #4a0b24);
  --g-crest: linear-gradient(120deg, #7a0a36 0%, #a8354f 40%, #c9a13b 82%, #ead7a6 100%);
  --g-gold: linear-gradient(120deg, #c9a13b 0%, #ead7a6 50%, #d4b057 100%);
  --g-night: linear-gradient(160deg, #3a0e22 0%, #1c0a12 58%, #110508 100%);
  --g-soft: linear-gradient(160deg, rgba(255, 255, 255, 0.8) 0%, rgba(247, 230, 236, 0.75) 100%);
  --g-text: linear-gradient(100deg, #5a0d2c 0%, #84173e 40%, #c4577a 100%);

  /* Type */
  --f-name: "Lucida Calligraphy", "Apple Chancery", cursive; /* name is outlined SVG; this is only for stray text */
  --f-head: "Cormorant Garamond", "Iowan Old Style", "Palatino Linotype", Georgia, serif;
  --f-body: "Figtree", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --fs-hero: clamp(2.6rem, 6vw, 4.8rem);
  --fs-h1: clamp(2.5rem, 5.2vw, 4.25rem);
  --fs-h2: clamp(2.15rem, 4.2vw, 3.4rem);
  --fs-h3: clamp(1.5rem, 2.2vw, 1.85rem);
  --fs-lead: clamp(1.08rem, 1.4vw, 1.22rem);
  --fs-body: 1.0625rem;
  --fs-small: 0.9rem;
  --fs-micro: 0.78rem;

  /* Space & shape */
  --gutter: clamp(16px, 4vw, 40px);
  --section: clamp(76px, 10vw, 140px);
  --max: 1240px;
  --r-xl: 30px;
  --r-lg: 22px;
  --r-md: 16px;
  --r-sm: 12px;
  --header-h: 76px;

  /* Shadows (tinted to maroon, never black) */
  --shadow-soft: 0 1px 2px rgba(74, 11, 36, 0.05), 0 12px 32px -12px rgba(74, 11, 36, 0.16);
  --shadow-lift: 0 2px 4px rgba(74, 11, 36, 0.06), 0 28px 60px -22px rgba(74, 11, 36, 0.32);

  /* Motion */
  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
  --ease-in-out: cubic-bezier(0.77, 0, 0.175, 1);
  --ease-drawer: cubic-bezier(0.32, 0.72, 0, 1);

  color-scheme: light;
}

/* 2. BASE --------------------------------------------------------------- */
*,
*::before,
*::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  -webkit-tap-highlight-color: transparent;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 24px);
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--f-body);
  font-size: var(--fs-body);
  line-height: 1.7;
  color: var(--ink);
  background: var(--ivory);
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
html { overflow-x: clip; }

/* Grid children may shrink below their content width (tables and rails scroll inside) */
.disclosure > *, .results > *, .split > *, .form-grid > *, .notices > *, .voices > *, .vmf > *, .accred > *, .footer__grid > *, .houses > *, .leaders__pair > * { min-width: 0; }

/* The page ground: a fixed, slow gradient field (blush, champagne, rose mist) */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  background:
    radial-gradient(60vmax 45vmax at 0% 0%, rgba(243, 204, 219, 0.75) 0%, transparent 62%),
    radial-gradient(50vmax 40vmax at 100% 8%, rgba(240, 222, 184, 0.7) 0%, transparent 60%),
    radial-gradient(55vmax 45vmax at 85% 100%, rgba(238, 196, 211, 0.6) 0%, transparent 62%),
    radial-gradient(45vmax 40vmax at 8% 92%, rgba(246, 231, 205, 0.65) 0%, transparent 60%),
    linear-gradient(180deg, #fbf4f2 0%, #f9eef0 48%, #fbf4ec 100%);
}

[hidden] { display: none !important; }
img, video, svg { display: block; max-width: 100%; }
img, video { height: auto; }

a { color: inherit; text-decoration-color: rgba(132, 23, 62, 0.35); text-underline-offset: 3px; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; }
h1, h2, h3, h4 {
  font-family: var(--f-head);
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: -0.01em;
  margin: 0;
  text-wrap: balance;
  color: var(--ink);
}
h2 { font-size: var(--fs-h2); }
h3 { font-size: var(--fs-h3); line-height: 1.15; }
strong { font-weight: 600; }

button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }

:focus-visible {
  outline: 2px solid var(--maroon);
  outline-offset: 3px;
  border-radius: 6px;
}

::selection { background: rgba(196, 87, 122, 0.25); }

.sr-only {
  position: absolute !important;
  width: 1px; height: 1px;
  overflow: hidden; clip: rect(0 0 0 0);
  white-space: nowrap;
}

.skip-link {
  position: fixed;
  left: 16px; top: 12px;
  z-index: 200;
  padding: 10px 18px;
  border-radius: 999px;
  background: var(--night);
  color: #fff;
  font-weight: 600;
  transform: translateY(-160%);
  transition: transform 200ms var(--ease-out);
}
.skip-link:focus { transform: none; }

.icon { width: 1.25em; height: 1.25em; fill: currentColor; flex: none; }

/* Placeholder tag: every [ADD …] / [CONFIRM …] the school still needs to fill */
.ph {
  display: inline-block;
  font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  font-size: 0.78em;
  font-weight: 600;
  line-height: 1.35;
  letter-spacing: 0;
  padding: 0.1em 0.45em;
  border-radius: 6px;
  color: #6a4b00;
  background: #fff1c7;
  border: 1px dashed #d7a531;
  vertical-align: 0.08em;
  white-space: normal;
  overflow-wrap: anywhere;
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
  -webkit-text-fill-color: #6a4b00;
}

/* 3. LAYOUT -------------------------------------------------------------- */
.container { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--gutter); }
.container--narrow { max-width: 880px; }
.section { padding-block: var(--section); position: relative; }
.section--tight { padding-block: clamp(56px, 7vw, 96px); }
.section--panel {
  background: var(--g-soft);
  border-block: 1px solid rgba(255, 255, 255, 0.7);
}

.section-head { display: grid; gap: 18px; max-width: 760px; margin-bottom: clamp(40px, 5vw, 64px); }
.section-head--center { margin-inline: auto; text-align: center; justify-items: center; }
.section-head p { color: var(--ink-soft); font-size: var(--fs-lead); max-width: 62ch; }

.kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  width: max-content;
  padding: 6px 14px;
  border-radius: 999px;
  font-size: var(--fs-micro);
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--maroon);
  background: rgba(255, 255, 255, 0.6);
  border: 1px solid var(--line);
}
.kicker--dark { color: var(--champagne); background: rgba(255, 255, 255, 0.06); border-color: rgba(234, 215, 166, 0.25); }

.lead { font-size: var(--fs-lead); color: var(--ink-soft); }
.prose { display: grid; gap: 1.05em; max-width: 68ch; color: var(--ink-soft); }
.prose strong { color: var(--ink); }

/* 4. COMPONENTS ---------------------------------------------------------- */

/* Heading highlighter: fills with the brand gradient and draws a gold rule when it scrolls in */
.hl {
  background-image: linear-gradient(100deg, #5a0d2c 0%, #84173e 22%, #c4577a 42%, var(--ink) 50%, var(--ink) 100%);
  background-size: 210% 100%;
  background-position: 100% 0;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  padding-bottom: 0.12em;
  transition: background-position 1400ms var(--ease-out);
}
.hl.is-in, .no-js .hl { background-position: 0% 0; }
.hl-rule {
  display: block;
  width: 72px;
  height: 3px;
  border-radius: 3px;
  background: var(--g-crest);
  transform-origin: left center;
  transform: scaleX(0);
  transition: transform 900ms var(--ease-out) 250ms;
}
.section-head--center .hl-rule { transform-origin: center; }
.hl.is-in + .hl-rule, .is-in .hl-rule, .no-js .hl-rule { transform: scaleX(1); }
.on-dark .hl {
  background-image: linear-gradient(100deg, #ead7a6 0%, #f3c9d6 40%, #ffffff 50%, #ffffff 100%);
}

.gradient-text {
  background: var(--g-text);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Buttons (pill, with a nested icon circle) */
.btn {
  --btn-bg: var(--g-signature-drift);
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-height: 52px;
  padding: 7px 8px 7px 24px;
  border: 0;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.98rem;
  letter-spacing: 0.01em;
  text-decoration: none;
  white-space: nowrap;
  color: #fff;
  background: var(--btn-bg);
  background-size: 300% 100%;
  box-shadow: 0 10px 26px -12px rgba(132, 23, 62, 0.65), inset 0 1px 0 rgba(255, 255, 255, 0.18);
  transition: transform 160ms var(--ease-out), box-shadow 260ms var(--ease-out);
  touch-action: manipulation;
  user-select: none;
  -webkit-user-select: none;
  animation: gradient-drift 9s ease-in-out infinite;
}
.btn__icon {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.16);
  transition: transform 260ms var(--ease-out);
}
.btn__icon .icon { width: 18px; height: 18px; }
.btn:active { transform: scale(0.97); }
.btn--gold {
  --btn-bg: linear-gradient(120deg, #c9a13b, #ead7a6, #d6b35c, #ead7a6, #c9a13b);
  color: var(--night);
  box-shadow: 0 10px 26px -14px rgba(125, 94, 18, 0.7), inset 0 1px 0 rgba(255, 255, 255, 0.5);
}
.btn--gold .btn__icon { background: rgba(28, 10, 18, 0.1); }
.btn--glass {
  --btn-bg: rgba(255, 255, 255, 0.12);
  color: #fff;
  animation: none;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.35);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: none;
}
.btn--outline {
  animation: none;
  background: rgba(255, 255, 255, 0.55);
  color: var(--maroon);
  border: 1px solid var(--line-strong);
  box-shadow: none;
}
.btn--outline .btn__icon { background: var(--blush); }
.btn--sm { min-height: 42px; padding: 5px 6px 5px 18px; font-size: 0.92rem; }
.btn--sm .btn__icon { width: 32px; height: 32px; }
.btn[aria-disabled="true"] { opacity: 0.6; pointer-events: none; }

@media (hover: hover) and (pointer: fine) {
  .btn:hover { box-shadow: 0 16px 36px -14px rgba(132, 23, 62, 0.7), inset 0 1px 0 rgba(255, 255, 255, 0.2); }
  .btn:hover .btn__icon { transform: translate(2px, -1px) scale(1.06); }
  .btn--outline:hover { background: #fff; }
}

.link-arrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-weight: 600; color: var(--maroon); text-decoration: none;
}
.link-arrow .icon { transition: transform 220ms var(--ease-out); }
@media (hover: hover) and (pointer: fine) { .link-arrow:hover .icon { transform: translateX(4px); } }

/* Double-bezel card: a soft shell holding an inner core */
.bezel {
  padding: 7px;
  border-radius: var(--r-xl);
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.75), rgba(132, 23, 62, 0.06));
  border: 1px solid rgba(132, 23, 62, 0.1);
  box-shadow: var(--shadow-soft);
}
.bezel__core {
  height: 100%;
  border-radius: calc(var(--r-xl) - 7px);
  background: var(--surface-solid);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9);
  overflow: hidden;
}

/* Scroll progress bar */
.progress {
  position: fixed;
  inset: 0 0 auto 0;
  height: 3px;
  z-index: 120;
  pointer-events: none;
}
.progress span {
  display: block;
  height: 100%;
  background: linear-gradient(90deg, #7a0a36, #c4577a 55%, #c9a13b);
  transform-origin: 0 50%;
  transform: scaleX(var(--p, 0));
}
@supports (animation-timeline: scroll()) {
  .progress span { animation: progress-grow linear both; animation-timeline: scroll(root); }
}
@keyframes progress-grow { from { transform: scaleX(0); } to { transform: scaleX(1); } }

/* Header */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  padding: 10px clamp(10px, 2vw, 22px) 0;
  padding-top: calc(10px + env(safe-area-inset-top, 0px));
  pointer-events: none;
}
.site-header__bar {
  pointer-events: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  max-width: 1320px;
  height: var(--header-h);
  margin-inline: auto;
  padding: 0 12px 0 16px;
  border-radius: 22px;
  border: 1px solid transparent;
  transition: background-color 400ms var(--ease-out), border-color 400ms var(--ease-out), box-shadow 400ms var(--ease-out), height 300ms var(--ease-out);
}
.site-header.is-solid .site-header__bar {
  height: 66px;
  background: linear-gradient(120deg, rgba(255, 250, 247, 0.9), rgba(248, 230, 237, 0.88));
  border-color: rgba(132, 23, 62, 0.1);
  box-shadow: 0 14px 40px -20px rgba(74, 11, 36, 0.35);
  backdrop-filter: blur(16px) saturate(140%);
  -webkit-backdrop-filter: blur(16px) saturate(140%);
}
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: #fff; min-width: 0; }
.brand__crest { width: 50px; height: 50px; filter: drop-shadow(0 4px 10px rgba(0, 0, 0, 0.25)); }
.brand__wordmark { width: clamp(150px, 16vw, 200px); height: auto; color: #fff; transition: color 300ms var(--ease-out); }
.site-header.is-solid .brand__wordmark,
.site-header--light .brand__wordmark { color: var(--maroon); }
.site-header.is-solid .brand__crest { filter: none; }

.nav ul { display: flex; align-items: center; gap: 2px; list-style: none; }
.nav a {
  position: relative;
  display: block;
  padding: 10px 13px;
  border-radius: 999px;
  font-size: 0.93rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.92);
  text-decoration: none;
  white-space: nowrap;
  transition: color 200ms ease, background-color 200ms ease;
}
.nav a::after {
  content: "";
  position: absolute;
  left: 14px; right: 14px; bottom: 5px;
  height: 2px;
  border-radius: 2px;
  background: var(--g-crest);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 300ms var(--ease-out);
}
.nav a[aria-current="page"]::after { transform: scaleX(1); }
.site-header.is-solid .nav a,
.site-header--light .nav a { color: var(--ink); }
.nav a[aria-current="page"] { font-weight: 600; }
.nav .nav__cta {
  margin-left: 8px;
  padding: 10px 18px;
  color: #fff !important;
  background: var(--g-signature-drift);
  background-size: 300% 100%;
  animation: gradient-drift 9s ease-in-out infinite;
  box-shadow: 0 8px 20px -10px rgba(132, 23, 62, 0.7);
}
.nav .nav__cta::after { display: none; }
@media (hover: hover) and (pointer: fine) {
  .nav a:not(.nav__cta):hover::after { transform: scaleX(1); }
  .nav a:not(.nav__cta):hover { background: rgba(255, 255, 255, 0.12); }
  .site-header.is-solid .nav a:not(.nav__cta):hover,
  .site-header--light .nav a:not(.nav__cta):hover { background: rgba(132, 23, 62, 0.06); }
}

.announce {
  pointer-events: auto;
  max-width: 1320px;
  margin: 0 auto 8px;
  display: flex;
  justify-content: center;
  transition: opacity 250ms ease, transform 350ms var(--ease-out);
}
.announce a {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 7px 8px 7px 16px;
  border-radius: 999px;
  font-size: 0.86rem;
  color: #fff;
  text-decoration: none;
  background: rgba(28, 10, 18, 0.35);
  border: 1px solid rgba(234, 215, 166, 0.35);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
.announce strong { color: var(--champagne); letter-spacing: 0.02em; }
.announce__go { display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: var(--g-gold); color: var(--night); }
.announce__go .icon { width: 14px; height: 14px; }
.site-header.is-solid .announce { opacity: 0; transform: translateY(-12px); pointer-events: none; height: 0; margin: 0; }
.site-header--light .announce a { background: rgba(132, 23, 62, 0.85); }

/* Menu button: two lines that morph into an X */
.menu-btn {
  display: none;
  position: relative;
  width: 48px; height: 48px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  touch-action: manipulation;
}
.site-header.is-solid .menu-btn,
.site-header--light .menu-btn { color: var(--maroon); border-color: var(--line-strong); background: rgba(255, 255, 255, 0.6); }
.menu-btn span {
  position: absolute;
  left: 14px; right: 14px;
  height: 1.8px;
  border-radius: 2px;
  background: currentColor;
  transition: transform 320ms var(--ease-out), top 320ms var(--ease-out);
}
.menu-btn span:nth-child(1) { top: 19px; }
.menu-btn span:nth-child(2) { top: 27px; }
.menu-btn[aria-expanded="true"] span:nth-child(1) { top: 23px; transform: rotate(45deg); }
.menu-btn[aria-expanded="true"] span:nth-child(2) { top: 23px; transform: rotate(-45deg); }

.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 95;
  display: grid;
  align-content: start;
  padding: calc(var(--header-h) + 88px + env(safe-area-inset-top, 0px)) var(--gutter) calc(32px + env(safe-area-inset-bottom, 0px));
  background: linear-gradient(170deg, rgba(58, 14, 34, 0.97), rgba(28, 10, 18, 0.98));
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  overflow-y: auto;
  overscroll-behavior: contain;
  opacity: 0;
  visibility: hidden;
  transition: opacity 320ms var(--ease-out), visibility 0s linear 320ms;
}
.mobile-menu.is-open { opacity: 1; visibility: visible; transition: opacity 320ms var(--ease-out); }
.mobile-menu ul { list-style: none; display: grid; gap: 4px; }
.mobile-menu li { opacity: 0; transform: translateY(24px); transition: opacity 500ms var(--ease-out), transform 600ms var(--ease-out); transition-delay: calc(60ms + var(--i, 0) * 45ms); }
.mobile-menu.is-open li { opacity: 1; transform: none; }
.mobile-menu a.mobile-menu__link {
  display: flex; align-items: baseline; justify-content: space-between;
  padding: 12px 4px;
  font-family: var(--f-head);
  font-size: clamp(1.9rem, 7vw, 2.6rem);
  font-weight: 500;
  line-height: 1.1;
  color: var(--on-dark);
  text-decoration: none;
  border-bottom: 1px solid rgba(234, 215, 166, 0.12);
}
.mobile-menu a[aria-current="page"] { color: var(--champagne); }
.mobile-menu__quick { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.menu-open .site-header .brand__wordmark { color: #fff; }
.menu-open .site-header .site-header__bar { background: transparent; border-color: transparent; box-shadow: none; backdrop-filter: none; -webkit-backdrop-filter: none; }
.menu-open .site-header .menu-btn { color: #fff; border-color: rgba(255,255,255,.35); background: rgba(255,255,255,.08); }
.menu-open { overflow: hidden; }
.menu-open .announce { opacity: 0; pointer-events: none; }

/* Loader */
.loader {
  position: fixed;
  inset: 0;
  z-index: 300;
  display: grid;
  place-items: center;
  background: var(--g-night);
  transition: clip-path 900ms var(--ease-in-out), visibility 0s linear 900ms;
  clip-path: inset(0 0 0 0);
}
.loader.is-done { clip-path: inset(0 0 100% 0); visibility: hidden; }
.loader__inner { display: grid; justify-items: center; gap: 22px; }
.loader__crest { position: relative; width: 116px; height: 116px; display: grid; place-items: center; }
.loader__crest img { width: 92px; height: 92px; opacity: 0; transform: scale(0.92); animation: loader-in 900ms var(--ease-out) 100ms forwards; }
.loader__ring { position: absolute; inset: 0; transform: rotate(-90deg); }
.loader__ring circle { fill: none; stroke: url(#loader-grad); stroke-width: 2; stroke-dasharray: 346; stroke-dashoffset: 346; animation: loader-ring 1300ms var(--ease-out) 150ms forwards; }
.loader__wordmark { width: 230px; color: var(--champagne); opacity: 0; transform: translateY(10px); animation: loader-in 800ms var(--ease-out) 450ms forwards; }
@keyframes loader-in { to { opacity: 1; transform: none; } }
@keyframes loader-ring { to { stroke-dashoffset: 0; } }

/* Page hero (inner pages) */
.page-hero {
  position: relative;
  isolation: isolate;
  min-height: clamp(420px, 62svh, 640px);
  display: grid;
  align-items: end;
  padding-top: calc(var(--header-h) + 90px);
  padding-bottom: clamp(48px, 7vw, 88px);
  color: #fff;
  overflow: hidden;
}
.page-hero__media { position: absolute; inset: 0; z-index: -2; overflow: hidden; }
.page-hero__media img { width: 100%; height: 100%; object-fit: cover; animation: kenburns 18s var(--ease-out) both; }
.page-hero::before {
  content: "";
  position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(180deg, rgba(28, 10, 18, 0.55) 0%, rgba(28, 10, 18, 0.1) 35%, rgba(58, 14, 34, 0.55) 70%, rgba(28, 10, 18, 0.88) 100%),
    linear-gradient(90deg, rgba(132, 23, 62, 0.55) 0%, rgba(132, 23, 62, 0) 65%);
}
.page-hero h1 { color: #fff; font-size: var(--fs-h1); max-width: 16ch; }
.page-hero p { color: var(--on-dark-soft); font-size: var(--fs-lead); max-width: 56ch; margin-top: 16px; }
.crumbs { display: flex; gap: 10px; align-items: center; margin-bottom: 18px; font-size: var(--fs-small); color: var(--on-dark-soft); list-style: none; }
.crumbs a { color: var(--champagne); text-decoration: none; }
.crumbs li + li::before { content: "/"; margin-right: 10px; opacity: 0.5; }
@keyframes kenburns { from { transform: scale(1.02); } to { transform: scale(1.12); } }

/* Sticky in-page section nav with scrollspy */
.subnav {
  position: sticky;
  top: calc(66px + 18px + env(safe-area-inset-top, 0px));
  z-index: 40;
  margin-top: -28px;
  padding-inline: var(--gutter);
}
.subnav__inner {
  max-width: max-content;
  margin-inline: auto;
  display: flex;
  gap: 4px;
  padding: 6px;
  border-radius: 999px;
  background: rgba(255, 252, 250, 0.9);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-soft);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  overflow-x: auto;
  scrollbar-width: none;
}
.subnav__inner::-webkit-scrollbar { display: none; }
.subnav a {
  flex: none;
  padding: 8px 16px;
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--ink-soft);
  text-decoration: none;
  white-space: nowrap;
  transition: color 200ms ease, background-color 250ms var(--ease-out);
}
.subnav a.is-active { color: #fff; background: var(--g-signature); }
@media (hover: hover) and (pointer: fine) { .subnav a:not(.is-active):hover { color: var(--maroon); background: var(--blush); } }

/* Forms */
.form { display: grid; gap: 18px; }
.form__row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.field { display: grid; gap: 7px; }
.field label, .field legend { font-size: 0.92rem; font-weight: 600; color: var(--ink); }
.field .req { color: var(--maroon); }
.field input, .field select, .field textarea {
  width: 100%;
  min-height: 52px;
  padding: 13px 16px;
  font-size: 16px;
  border-radius: var(--r-sm);
  border: 1px solid rgba(90, 60, 72, 0.28);
  background: #fff;
  color: var(--ink);
  transition: border-color 200ms ease, box-shadow 200ms ease;
  appearance: none;
  -webkit-appearance: none;
}
.field select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 256 256'%3E%3Cpath fill='%2384173e' d='M212.24 100.24l-80 80a6 6 0 0 1-8.48 0l-80-80a6 6 0 0 1 8.48-8.48L128 167.51l75.76-75.75a6 6 0 0 1 8.48 8.48z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  background-size: 18px;
  padding-right: 44px;
}
.field textarea { min-height: 128px; resize: vertical; }
.field input::placeholder, .field textarea::placeholder { color: #8b7780; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--maroon);
  box-shadow: 0 0 0 4px rgba(132, 23, 62, 0.14);
}
.field [aria-invalid="true"] { border-color: #b3261e; box-shadow: 0 0 0 4px rgba(179, 38, 30, 0.1); }
.field__error { font-size: 0.86rem; color: #a3221b; min-height: 0; }
.field__hint { font-size: 0.85rem; color: var(--ink-mute); }
fieldset.field { border: 0; margin: 0; padding: 0; }
.choice { display: flex; flex-wrap: wrap; gap: 10px; }
.choice label {
  position: relative;
  display: inline-flex; align-items: center; gap: 8px;
  min-height: 44px; padding: 8px 18px;
  border-radius: 999px;
  border: 1px solid rgba(90, 60, 72, 0.28);
  background: #fff;
  font-weight: 500;
  cursor: pointer;
  user-select: none;
  -webkit-user-select: none;
  transition: background-color 200ms ease, border-color 200ms ease, color 200ms ease;
}
.choice input { position: absolute; opacity: 0; pointer-events: none; }
.choice label:has(input:checked) { background: var(--maroon); border-color: var(--maroon); color: #fff; }
.choice label:has(input:focus-visible) { outline: 2px solid var(--maroon); outline-offset: 3px; }
.hp { position: absolute; left: -9999px; }
.form__status { display: none; padding: 16px 18px; border-radius: var(--r-md); font-weight: 500; }
.form__status.is-visible { display: block; }
.form__status--ok { background: #e8f4ee; color: #1d5a3f; border: 1px solid #b8dcc8; }
.form__status--err { background: #fbeceb; color: #8a1f19; border: 1px solid #efc2bf; }
.form__note { font-size: 0.86rem; color: var(--ink-mute); }

/* Accordion (details) */
.accordion { display: grid; gap: 10px; }
.accordion details {
  border-radius: var(--r-md);
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid var(--line);
  overflow: hidden;
}
.accordion summary {
  display: flex; align-items: center; justify-content: space-between; gap: 18px;
  padding: 18px 22px;
  font-weight: 600;
  cursor: pointer;
  list-style: none;
  user-select: none;
  -webkit-user-select: none;
}
.accordion summary::-webkit-details-marker { display: none; }
.accordion summary .icon { color: var(--maroon); transition: transform 300ms var(--ease-out); }
.accordion details[open] summary .icon { transform: rotate(45deg); }
.accordion .accordion__body { padding: 0 22px 20px; color: var(--ink-soft); }

/* Tables (disclosure, eligibility) */
.table-wrap { overflow-x: auto; border-radius: var(--r-lg); border: 1px solid var(--line); background: rgba(255, 255, 255, 0.82); -webkit-overflow-scrolling: touch; }
.table { width: 100%; border-collapse: collapse; min-width: 560px; font-size: 0.97rem; }
.table th, .table td { text-align: left; vertical-align: top; padding: 14px 18px; }
.table thead th {
  font-size: var(--fs-micro); letter-spacing: 0.1em; text-transform: uppercase; font-weight: 600;
  color: var(--maroon); background: linear-gradient(120deg, rgba(247, 230, 236, 0.9), rgba(250, 240, 222, 0.9));
}
.table tbody tr + tr td, .table tbody tr + tr th { border-top: 1px solid var(--line); }
.table tbody th { font-weight: 600; color: var(--ink); width: 44%; }
.table td { color: var(--ink-soft); font-variant-numeric: tabular-nums; }
.table .num { width: 64px; color: var(--ink-mute); font-variant-numeric: tabular-nums; }

/* Floating actions */
.fab {
  position: fixed;
  right: calc(16px + env(safe-area-inset-right, 0px));
  bottom: calc(16px + env(safe-area-inset-bottom, 0px));
  z-index: 90;
  display: grid;
  gap: 10px;
}
.fab a, .fab button {
  display: grid; place-items: center;
  width: 54px; height: 54px;
  border-radius: 50%;
  border: 0;
  color: #fff;
  text-decoration: none;
  box-shadow: 0 12px 30px -10px rgba(28, 10, 18, 0.45);
  transition: transform 160ms var(--ease-out), opacity 300ms var(--ease-out);
  touch-action: manipulation;
}
.fab .icon { width: 26px; height: 26px; }
.fab__wa { background: linear-gradient(145deg, #2fd36b, #139a4a); }
.fab__call { background: var(--g-signature); }
.fab__top { background: rgba(255, 252, 250, 0.92); color: var(--maroon) !important; border: 1px solid var(--line) !important; opacity: 0; transform: translateY(12px); pointer-events: none; }
.fab__top.is-visible { opacity: 1; transform: none; pointer-events: auto; }
.fab a:active, .fab button:active { transform: scale(0.94); }
.fab__label {
  position: absolute; right: 64px; top: 50%;
  padding: 6px 12px; border-radius: 999px;
  background: var(--night); color: #fff; font-size: 0.82rem; font-weight: 500; white-space: nowrap;
  opacity: 0; transform: translate(6px, -50%); pointer-events: none;
  transition: opacity 180ms ease, transform 220ms var(--ease-out);
}
.fab > * { position: relative; }
@media (hover: hover) and (pointer: fine) {
  .fab a:hover .fab__label, .fab button:hover .fab__label { opacity: 1; transform: translate(0, -50%); }
}

/* Download / document card */
.doc-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 14px; }
.doc {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 14px 16px;
  align-items: start;
  padding: 18px 18px 16px;
  border-radius: var(--r-lg);
  background: rgba(255, 255, 255, 0.8);
  border: 1px solid var(--line);
  transition: transform 300ms var(--ease-out), box-shadow 300ms var(--ease-out);
}
.doc__icon { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 14px; background: var(--g-signature); color: #fff; }
.doc__icon .icon { width: 24px; height: 24px; }
.doc__title { font-weight: 600; line-height: 1.35; }
.doc__meta { font-size: 0.85rem; color: var(--ink-mute); margin-top: 2px; }
.doc__actions { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 8px; }
.doc__actions a {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 7px 14px; border-radius: 999px;
  font-size: 0.88rem; font-weight: 600; text-decoration: none;
  color: var(--maroon); background: var(--blush);
  transition: background-color 200ms ease, color 200ms ease;
}
.doc__actions a .icon { width: 16px; height: 16px; }
.doc--missing { background: repeating-linear-gradient(135deg, rgba(255, 241, 199, 0.5) 0 12px, rgba(255, 255, 255, 0.6) 12px 24px); }
.doc--missing .doc__icon { background: #e9d9a6; color: #6a4b00; }
@media (hover: hover) and (pointer: fine) {
  .doc:hover { transform: translateY(-3px); box-shadow: var(--shadow-soft); }
  .doc__actions a:hover { background: var(--maroon); color: #fff; }
}

.stat__num, .mini-stat b, .trust__num, .accred__fact b, .split__badge b, .timeline__dot, .notice__day, .hi-card__what { font-variant-numeric: lining-nums tabular-nums; }

/* 5. SECTIONS ------------------------------------------------------------ */

/* Hero */
.hero {
  position: relative;
  isolation: isolate;
  min-height: 100svh;
  display: grid;
  place-items: center;
  padding: calc(var(--header-h) + 80px) var(--gutter) 120px;
  color: #fff;
  text-align: center;
  overflow: hidden;
  background: var(--night);
}
.hero__media { position: absolute; inset: 0; z-index: -3; }
.hero__media video, .hero__media img { width: 100%; height: 100%; object-fit: cover; object-position: 55% 50%; }
.hero__overlay {
  position: absolute; inset: 0; z-index: -2;
  background: linear-gradient(125deg, rgba(74, 11, 36, 0.82), rgba(132, 23, 62, 0.45), rgba(196, 87, 122, 0.35), rgba(132, 23, 62, 0.55), rgba(74, 11, 36, 0.8));
  background-size: 300% 300%;
  animation: gradient-drift 16s ease-in-out infinite;
}
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: radial-gradient(90% 70% at 50% 45%, rgba(28, 10, 18, 0) 0%, rgba(28, 10, 18, 0.55) 100%), linear-gradient(180deg, rgba(28, 10, 18, 0.35) 0%, rgba(28, 10, 18, 0) 30%, rgba(28, 10, 18, 0) 70%, rgba(28, 10, 18, 0.6) 100%);
}
.hero__content { display: grid; justify-items: center; gap: 18px; max-width: 900px; }
.hero__crest { width: clamp(86px, 10vw, 118px); height: auto; filter: drop-shadow(0 12px 30px rgba(0, 0, 0, 0.35)); }
.hero h1 { margin: 4px 0 0; line-height: 0; }
.hero__wordmark { width: min(88vw, 760px); height: auto; color: #fff; filter: drop-shadow(0 4px 24px rgba(28, 10, 18, 0.45)); }
.hero__motto { font-family: var(--f-head); font-style: italic; font-weight: 500; font-size: clamp(1.35rem, 2.6vw, 2rem); color: var(--champagne); letter-spacing: 0.02em; }
.hero__sub { color: rgba(255, 255, 255, 0.86); font-size: var(--fs-lead); max-width: 46ch; }
.hero__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 14px; }
.hero__toggle {
  position: absolute; left: calc(var(--gutter) + env(safe-area-inset-left, 0px)); bottom: 64px;
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 14px 8px 10px; border-radius: 999px;
  font-size: 0.84rem; color: rgba(255, 255, 255, 0.85);
  background: rgba(28, 10, 18, 0.3); border: 1px solid rgba(255, 255, 255, 0.22);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
}
.hero__toggle .icon { width: 16px; height: 16px; }
.scroll-cue {
  position: absolute; left: 50%; bottom: 64px;
  display: grid; justify-items: center; gap: 10px;
  transform: translateX(-50%);
  color: rgba(255, 255, 255, 0.82); text-decoration: none;
  font-size: var(--fs-micro); letter-spacing: 0.2em; text-transform: uppercase;
}
.scroll-cue__track { position: relative; width: 26px; height: 42px; border-radius: 20px; border: 1.5px solid rgba(255, 255, 255, 0.6); }
.scroll-cue__track::after { content: ""; position: absolute; left: 50%; top: 8px; width: 4px; height: 8px; margin-left: -2px; border-radius: 4px; background: var(--champagne); animation: cue 1.8s var(--ease-out) infinite; }
@keyframes cue { 0% { transform: translateY(0); opacity: 0; } 25% { opacity: 1; } 80% { transform: translateY(16px); opacity: 0; } 100% { opacity: 0; } }

/* Vision, Mission, Focus (sticky split) */
.vmf { display: grid; grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr); gap: clamp(40px, 6vw, 96px); align-items: start; }
.vmf__aside { position: sticky; top: calc(var(--header-h) + 60px); display: grid; gap: 22px; }
.vmf__aside p { color: var(--ink-soft); font-size: var(--fs-lead); }
.vmf__crest { width: 180px; opacity: 0.1; margin-top: 12px; }
.vmf__list { display: grid; gap: 22px; }
.vmf-card .bezel__core { padding: clamp(26px, 3.4vw, 42px); display: grid; gap: 16px; position: relative; }
.vmf-card__head { display: flex; align-items: center; gap: 16px; }
.vmf-card__icon { display: grid; place-items: center; width: 56px; height: 56px; border-radius: 18px; background: var(--g-signature); color: #fff; flex: none; box-shadow: 0 10px 24px -12px rgba(132, 23, 62, 0.8); }
.vmf-card__icon .icon { width: 28px; height: 28px; }
.vmf-card h3 { font-size: clamp(1.7rem, 2.6vw, 2.15rem); }
.vmf-card p { color: var(--ink-soft); font-size: 1.08rem; }
.vmf-card ul { list-style: none; display: grid; gap: 12px; }
.vmf-card li { display: grid; grid-template-columns: 22px 1fr; gap: 12px; color: var(--ink-soft); }
.vmf-card li .icon { color: var(--gold); width: 22px; height: 22px; margin-top: 3px; }

/* The 3 D's */
.threed { background: var(--g-night); color: var(--on-dark); overflow: hidden; }
.threed::before {
  content: ""; position: absolute; inset: auto -10% -40% auto; width: 60vmax; height: 60vmax; border-radius: 50%;
  background: radial-gradient(circle, rgba(196, 87, 122, 0.22), transparent 62%); pointer-events: none;
}
.threed .section-head p { color: var(--on-dark-soft); }
.threed h2 { color: #fff; }
.threed__grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 18px; }
.dblock {
  position: relative;
  isolation: isolate;
  display: grid;
  align-content: space-between;
  gap: 28px;
  min-height: 440px;
  padding: clamp(26px, 3vw, 38px);
  border-radius: var(--r-xl);
  overflow: hidden;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.12);
  transition: transform 500ms var(--ease-out), box-shadow 500ms var(--ease-out);
}
.dblock::before { content: ""; position: absolute; inset: 0; z-index: -2; background: var(--dg); transition: transform 900ms var(--ease-out); }
.dblock::after { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(120% 80% at 100% 0%, rgba(255, 255, 255, 0.18), transparent 55%); }
.dblock--duty { grid-column: span 5; --dg: linear-gradient(160deg, #84173e 0%, #4a0b24 100%); }
.dblock--discipline { grid-column: span 4; margin-top: 56px; --dg: linear-gradient(160deg, #a8354f 0%, #5c1030 100%); }
.dblock--determination { grid-column: span 3; margin-top: 112px; --dg: linear-gradient(160deg, #c9a13b 0%, #8e3a3f 55%, #4a0b24 100%); }
.dblock__letter { font-family: var(--f-head); font-size: clamp(6rem, 11vw, 9rem); line-height: 0.8; font-weight: 600; color: rgba(255, 255, 255, 0.14); position: absolute; right: 18px; top: 10px; pointer-events: none; }
.dblock__icon { display: grid; place-items: center; width: 58px; height: 58px; border-radius: 50%; background: rgba(255, 255, 255, 0.12); border: 1px solid rgba(255, 255, 255, 0.25); }
.dblock__icon .icon { width: 28px; height: 28px; color: var(--champagne); }
.dblock h3 { font-size: clamp(2rem, 3vw, 2.6rem); color: #fff; }
.dblock p { color: rgba(255, 255, 255, 0.86); }
.dblock__more { display: grid; grid-template-rows: 0fr; transition: grid-template-rows 500ms var(--ease-out); }
.dblock__more > div { overflow: hidden; }
.dblock__more p { padding-top: 14px; font-size: 0.97rem; color: rgba(255, 255, 255, 0.78); }
.dblock.is-open .dblock__more { grid-template-rows: 1fr; }
.dblock__toggle {
  justify-self: start;
  display: inline-flex; align-items: center; gap: 8px;
  margin-top: 16px; padding: 8px 14px; border-radius: 999px;
  background: rgba(255, 255, 255, 0.1); border: 1px solid rgba(255, 255, 255, 0.28);
  color: #fff; font-size: 0.88rem; font-weight: 600;
  touch-action: manipulation;
}
.dblock__toggle .icon { width: 16px; height: 16px; transition: transform 300ms var(--ease-out); }
.dblock.is-open .dblock__toggle .icon { transform: rotate(45deg); }
@media (hover: hover) and (pointer: fine) {
  .dblock:hover { transform: translateY(-8px); box-shadow: 0 40px 70px -30px rgba(0, 0, 0, 0.7); }
  .dblock:hover::before { transform: scale(1.06); }
}

/* Why choose: stat bento */
.stats { background: var(--g-signature); color: #fff; overflow: hidden; }
.stats::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(50% 60% at 90% 10%, rgba(234, 215, 166, 0.22), transparent 70%), radial-gradient(40% 50% at 0% 100%, rgba(28, 10, 18, 0.35), transparent 70%);
  pointer-events: none;
}
.stats h2 { color: #fff; }
.stats .section-head p { color: rgba(255, 255, 255, 0.82); }
.stats__grid { position: relative; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 16px; }
.stat {
  position: relative;
  display: grid;
  align-content: space-between;
  gap: 18px;
  padding: clamp(22px, 2.6vw, 34px);
  border-radius: var(--r-xl);
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.14), rgba(255, 255, 255, 0.04));
  border: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.18);
}
.stat--big { grid-column: span 3; min-height: 280px; }
.stat--small { grid-column: span 2; }
.stat__top { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.stat__icon { display: grid; place-items: center; width: 50px; height: 50px; border-radius: 50%; background: rgba(255, 255, 255, 0.12); color: var(--champagne); }
.stat__icon .icon { width: 26px; height: 26px; }
.stat__num { font-family: var(--f-head); font-weight: 600; line-height: 0.9; font-size: clamp(3.4rem, 7vw, 6rem); letter-spacing: -0.02em; color: #fff; font-variant-numeric: tabular-nums; }
.stat--small .stat__num { font-size: clamp(2.6rem, 4.4vw, 3.6rem); }
.stat__num .unit { font-size: 0.45em; margin-left: 4px; color: var(--champagne); }
.stat__label { font-weight: 600; font-size: 1.08rem; color: #fff; }
.stat__why { color: rgba(255, 255, 255, 0.8); font-size: 0.97rem; max-width: 42ch; }

/* Campus life rail */
.rail-head { display: flex; align-items: end; justify-content: space-between; gap: 24px; flex-wrap: wrap; margin-bottom: 40px; }
.rail-head .section-head { margin-bottom: 0; }
.rail-controls { display: flex; gap: 10px; }
.rail-controls button {
  display: grid; place-items: center; width: 50px; height: 50px; border-radius: 50%;
  border: 1px solid var(--line-strong); background: rgba(255, 255, 255, 0.7); color: var(--maroon);
  transition: transform 160ms var(--ease-out), background-color 200ms ease;
  touch-action: manipulation;
}
.rail-controls button:active { transform: scale(0.94); }
@media (hover: hover) and (pointer: fine) { .rail-controls button:hover { background: #fff; } }
.rail {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: clamp(220px, 24vw, 290px);
  gap: 16px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-padding-inline: var(--gutter);
  padding: 4px var(--gutter) 20px;
  scrollbar-width: none;
  overscroll-behavior-x: contain;
}
.rail::-webkit-scrollbar { display: none; }
.facility {
  position: relative;
  scroll-snap-align: start;
  aspect-ratio: 9 / 16;
  max-width: 100%;
  border-radius: var(--r-lg);
  overflow: hidden;
  isolation: isolate;
  background: var(--night);
  box-shadow: var(--shadow-soft);
}
.facility video, .facility img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.facility::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(28, 10, 18, 0) 45%, rgba(28, 10, 18, 0.88) 100%); }
.facility__text { position: absolute; left: 18px; right: 18px; bottom: 18px; z-index: 1; color: #fff; display: grid; gap: 4px; }
.facility__text h3 { color: #fff; font-size: 1.55rem; }
.facility__text p { font-size: 0.9rem; color: rgba(255, 255, 255, 0.82); line-height: 1.45; }

/* Notice board */
.notices { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: clamp(28px, 5vw, 72px); align-items: center; }
.next-up { position: relative; border-radius: var(--r-xl); overflow: hidden; isolation: isolate; min-height: 380px; display: grid; align-content: end; padding: 28px; color: #fff; margin-top: 28px; }
.next-up img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.next-up::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(28, 10, 18, 0.05) 20%, rgba(74, 11, 36, 0.92) 100%); }
.next-up__label { font-size: var(--fs-micro); letter-spacing: 0.14em; text-transform: uppercase; color: var(--champagne); font-weight: 600; }
.next-up h3 { color: #fff; font-size: clamp(1.7rem, 2.6vw, 2.2rem); margin-top: 6px; }
.next-up p { color: rgba(255, 255, 255, 0.84); margin-top: 6px; }
.board .bezel__core { display: grid; grid-template-rows: auto 1fr auto; }
.board__head {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 18px 22px;
  background: var(--g-crest);
  background-size: 200% 100%;
  animation: gradient-drift 12s ease-in-out infinite;
  color: #fff;
}
.board__title { display: flex; align-items: center; gap: 12px; font-family: var(--f-head); font-size: 1.7rem; font-weight: 600; line-height: 1; text-shadow: 0 1px 12px rgba(74, 11, 36, 0.35); }
.board__title .icon { width: 28px; height: 28px; }
.board__pause {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 6px 12px; border-radius: 999px; border: 1px solid rgba(28, 10, 18, 0.2);
  background: rgba(255, 255, 255, 0.55); color: var(--night); font-size: 0.82rem; font-weight: 600;
  touch-action: manipulation;
}
.board__pause .icon { width: 14px; height: 14px; }
.board__viewport { position: relative; height: 430px; overflow: hidden; mask-image: linear-gradient(180deg, transparent 0, #000 36px, #000 calc(100% - 44px), transparent 100%); -webkit-mask-image: linear-gradient(180deg, transparent 0, #000 36px, #000 calc(100% - 44px), transparent 100%); }
.board__track { display: grid; animation: board-scroll var(--dur, 40s) linear infinite; }
.board:hover .board__track, .board:focus-within .board__track, .board.is-paused .board__track { animation-play-state: paused; }
@keyframes board-scroll { from { transform: translateY(0); } to { transform: translateY(-50%); } }
.notice { display: grid; grid-template-columns: 74px 1fr; gap: 16px; padding: 18px 22px; border-bottom: 1px solid var(--line); }
.notice__date { display: grid; justify-items: center; align-content: center; gap: 2px; height: 74px; border-radius: 16px; background: linear-gradient(160deg, var(--blush), #fbf1e0); border: 1px solid var(--line); text-align: center; }
.notice__day { font-family: var(--f-head); font-size: 2rem; font-weight: 600; line-height: 1; color: var(--maroon); }
.notice__mon { font-size: 0.72rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-soft); }
.notice__body h3 { font-family: var(--f-body); font-size: 1.02rem; font-weight: 600; line-height: 1.35; display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.notice__body p { font-size: 0.93rem; color: var(--ink-soft); line-height: 1.55; margin-top: 4px; }
.notice__when { font-size: 0.82rem; color: var(--ink-mute); margin-top: 6px; display: flex; align-items: center; gap: 6px; }
.notice__when .icon { width: 15px; height: 15px; }
.badge-new { display: inline-block; padding: 2px 8px; border-radius: 6px; font-size: 0.68rem; font-weight: 700; letter-spacing: 0.1em; color: #fff; background: var(--g-signature); animation: badge-glow 2.4s ease-in-out infinite; }
@keyframes badge-glow { 0%, 100% { box-shadow: 0 0 0 0 rgba(196, 87, 122, 0.45); } 50% { box-shadow: 0 0 0 6px rgba(196, 87, 122, 0); } }
.board__foot { padding: 14px 22px; font-size: 0.85rem; color: var(--ink-mute); border-top: 1px solid var(--line); background: rgba(247, 230, 236, 0.35); }

/* Student highlights marquee (moves left to right) */
.marquee { position: relative; overflow: hidden; padding-block: 8px 12px; mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); }
.marquee__track { display: flex; gap: 18px; width: max-content; animation: marquee-right var(--dur, 60s) linear infinite; }
.marquee:hover .marquee__track, .marquee:focus-within .marquee__track, .marquee.is-paused .marquee__track { animation-play-state: paused; }
@keyframes marquee-right { from { transform: translateX(-50%); } to { transform: translateX(0); } }
.hi-card { width: 320px; flex: none; }
.hi-card .bezel__core { display: grid; grid-template-rows: auto 1fr; }
.hi-card__media { position: relative; aspect-ratio: 16 / 11; overflow: hidden; background: var(--blush); }
.hi-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 700ms var(--ease-out); }
.hi-card__tag { position: absolute; left: 12px; top: 12px; display: inline-flex; align-items: center; gap: 6px; padding: 5px 10px; border-radius: 999px; font-size: 0.76rem; font-weight: 600; color: var(--night); background: var(--g-gold); }
.hi-card__tag .icon { width: 14px; height: 14px; }
.hi-card__body { padding: 18px 20px 20px; display: grid; gap: 6px; align-content: start; }
.hi-card__name { font-family: var(--f-head); font-size: 1.5rem; font-weight: 600; line-height: 1.1; color: var(--ink); }
.hi-card__what { font-weight: 600; color: var(--maroon); font-size: 0.95rem; line-height: 1.4; }
.hi-card__desc { color: var(--ink-soft); font-size: 0.92rem; line-height: 1.55; }
@media (hover: hover) and (pointer: fine) { .hi-card:hover .hi-card__media img { transform: scale(1.06); } }
.hi-portrait { display: grid; place-items: center; height: 100%; background: radial-gradient(80% 90% at 50% 20%, #fbefd9 0%, #f3d6df 60%, #e7b4c4 100%); }
.hi-portrait img { width: 136px; height: 136px; object-fit: cover; object-position: 50% 30%; border-radius: 50%; border: 4px solid #fff; box-shadow: 0 16px 34px -16px rgba(74, 11, 36, 0.55); }

/* Testimonials */
.voices { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: clamp(28px, 5vw, 80px); align-items: start; }
.tabs { display: inline-flex; gap: 4px; padding: 5px; border-radius: 999px; background: rgba(255, 255, 255, 0.7); border: 1px solid var(--line); }
.tabs button { padding: 9px 18px; border: 0; border-radius: 999px; background: transparent; font-weight: 600; color: var(--ink-soft); touch-action: manipulation; transition: background-color 250ms var(--ease-out), color 200ms ease; }
.tabs button[aria-selected="true"] { background: var(--g-signature); color: #fff; }
.slider .bezel__core { position: relative; padding: clamp(28px, 4vw, 52px); min-height: 360px; display: grid; }
.slider__quote-icon { position: absolute; right: 28px; top: 20px; width: 84px; height: 84px; color: rgba(132, 23, 62, 0.1); }
.slides { display: grid; }
.slide { grid-area: 1 / 1; display: grid; gap: 22px; align-content: start; opacity: 0; visibility: hidden; transform: translateY(10px); transition: opacity 500ms var(--ease-out), transform 600ms var(--ease-out), visibility 0s linear 500ms; }
.slide.is-active { opacity: 1; visibility: visible; transform: none; transition: opacity 500ms var(--ease-out) 120ms, transform 600ms var(--ease-out) 120ms; }
.slide blockquote { margin: 0; font-family: var(--f-head); font-size: clamp(1.45rem, 2.4vw, 2rem); font-weight: 500; line-height: 1.3; color: var(--ink); }
.slide blockquote.is-long { font-size: clamp(1.25rem, 1.9vw, 1.6rem); }
.stars { display: flex; gap: 2px; color: var(--gold); }
.stars .icon { width: 18px; height: 18px; }
.slide__who { display: flex; align-items: center; gap: 14px; }
.slide__avatar { display: grid; place-items: center; width: 50px; height: 50px; border-radius: 50%; background: var(--g-signature); color: #fff; font-family: var(--f-head); font-size: 1.4rem; font-weight: 600; flex: none; }
.slide__name { font-weight: 600; }
.slide__role { font-size: 0.9rem; color: var(--ink-mute); }
.slider__nav { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 26px; }
.dots { display: flex; gap: 8px; }
.dots button { width: 10px; height: 10px; padding: 0; border-radius: 999px; border: 0; background: var(--rose-mist); transition: width 300ms var(--ease-out), background-color 300ms ease; touch-action: manipulation; }
.dots button[aria-current="true"] { width: 28px; background: var(--maroon); }

/* CTA band */
.cta-band { position: relative; isolation: isolate; overflow: hidden; border-radius: clamp(24px, 3vw, 40px); padding: clamp(40px, 6vw, 80px); background: var(--g-signature); color: #fff; display: grid; grid-template-columns: minmax(0, 1.3fr) auto; gap: 32px; align-items: center; }
.cta-band::before { content: ""; position: absolute; right: -60px; top: -60px; width: 340px; height: 340px; z-index: -1; background: url("../img/brand/crest-512.png") center / contain no-repeat; opacity: 0.1; transform: rotate(-12deg); }
.cta-band h2 { color: #fff; font-size: clamp(2rem, 3.8vw, 3rem); }
.cta-band p { color: rgba(255, 255, 255, 0.84); margin-top: 12px; font-size: var(--fs-lead); }
.cta-band__actions { display: grid; gap: 12px; justify-items: stretch; }

/* Footer */
.site-footer { position: relative; isolation: isolate; overflow: hidden; margin-top: var(--section); padding: clamp(64px, 8vw, 100px) 0 calc(28px + env(safe-area-inset-bottom, 0px)); background: var(--g-night); color: var(--on-dark-soft); }
.site-footer::before { content: ""; position: absolute; right: -8vw; bottom: -10vw; width: 44vw; max-width: 620px; aspect-ratio: 1; z-index: -1; background: url("../img/brand/crest-512.png") center / contain no-repeat; opacity: 0.045; }
.footer__grid { display: grid; grid-template-columns: 1.3fr 0.8fr 1.1fr 1.3fr; gap: clamp(28px, 4vw, 56px); }
.footer__brand { display: grid; gap: 18px; align-content: start; }
.footer__brand-row { display: flex; align-items: center; gap: 14px; }
.footer__brand img { width: 64px; height: 64px; }
.footer__wordmark { width: 220px; color: var(--champagne); }
.footer__brand p { font-size: 0.95rem; }
.footer__title { font-family: var(--f-body); font-size: var(--fs-micro); letter-spacing: 0.16em; text-transform: uppercase; font-weight: 600; color: var(--champagne); margin-bottom: 16px; }
.footer__links { list-style: none; display: grid; gap: 8px; }
.footer__links a { color: var(--on-dark); text-decoration: none; font-size: 0.97rem; transition: color 200ms ease; }
.footer__contact { list-style: none; display: grid; gap: 14px; font-size: 0.95rem; }
.footer__contact li { display: grid; grid-template-columns: 22px 1fr; gap: 12px; }
.footer__contact .icon { color: var(--champagne); width: 20px; height: 20px; margin-top: 3px; }
.footer__contact a { color: var(--on-dark); text-decoration: none; }
.footer__map { border-radius: var(--r-lg); overflow: hidden; border: 1px solid rgba(234, 215, 166, 0.2); aspect-ratio: 4 / 3; max-width: 100%; background: #2a1520; position: relative; }
.footer__map iframe { width: 100%; height: 100%; border: 0; filter: saturate(0.85) contrast(1.02); }
.map-fallback { position: absolute; inset: 0; display: grid; place-items: center; align-content: center; gap: 10px; padding: 20px; text-align: center; color: var(--on-dark); font-size: 0.9rem; z-index: -1; }
.socials { display: flex; gap: 10px; margin-top: 4px; }
.socials a { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; color: var(--on-dark); border: 1px solid rgba(234, 215, 166, 0.25); transition: background-color 250ms ease, color 250ms ease, transform 160ms var(--ease-out); }
.socials a:active { transform: scale(0.94); }
.socials .icon { width: 22px; height: 22px; }
.footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; margin-top: 56px; padding-top: 24px; border-top: 1px solid rgba(234, 215, 166, 0.14); font-size: 0.86rem; }
@media (hover: hover) and (pointer: fine) {
  .footer__links a:hover, .footer__contact a:hover { color: var(--champagne); }
  .socials a:hover { background: var(--champagne); color: var(--night); }
}

/* 6. PAGES --------------------------------------------------------------- */

/* Split feature (text + media) */
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 88px); align-items: center; }
.split--reverse .split__media { order: -1; }
.split__media { position: relative; }
.split__media img { width: 100%; border-radius: var(--r-xl); aspect-ratio: 4 / 5; object-fit: cover; box-shadow: var(--shadow-lift); }
.split__media--wide img { aspect-ratio: 5 / 4; }
.split__badge { position: absolute; left: -18px; bottom: 28px; display: grid; gap: 2px; padding: 16px 20px; border-radius: 20px; background: var(--surface-solid); box-shadow: var(--shadow-lift); border: 1px solid var(--line); }
.split__badge b { font-family: var(--f-head); font-size: 2.3rem; line-height: 1; color: var(--maroon); }
.split__badge span { font-size: 0.86rem; color: var(--ink-soft); }
.mini-stats { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 28px; }
.mini-stat { display: grid; gap: 6px; padding: 22px 28px; border-radius: 22px; background: rgba(255, 255, 255, 0.8); border: 1px solid var(--line); min-width: 220px; box-shadow: var(--shadow-soft); }
.mini-stat b { font-family: var(--f-head); font-size: clamp(3rem, 5vw, 4.2rem); line-height: 1; font-weight: 600; padding-bottom: 0.06em; }
.mini-stat > span { font-size: 1.05rem; font-weight: 500; color: var(--ink-soft); }

/* Accreditation card */
.accred { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); gap: 18px; }
.accred__main .bezel__core { padding: clamp(28px, 4vw, 48px); display: grid; gap: 18px; background: var(--g-night); color: var(--on-dark-soft); }
.accred__main h2 { color: #fff; }
.accred__facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin-top: 8px; }
.accred__fact { padding: 16px 18px; border-radius: 18px; background: rgba(255, 255, 255, 0.06); border: 1px solid rgba(234, 215, 166, 0.2); }
.accred__fact span { display: block; font-size: 0.82rem; color: var(--on-dark-soft); }
.accred__fact b { display: block; font-family: var(--f-head); font-size: 2rem; line-height: 1.1; color: var(--champagne); font-variant-numeric: tabular-nums; }
.accred__side { display: grid; gap: 18px; }
.check-card { padding: 22px 24px; border-radius: var(--r-lg); background: rgba(255, 255, 255, 0.8); border: 1px solid var(--line); display: grid; grid-template-columns: 46px 1fr; gap: 16px; align-items: start; }
.check-card__icon { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 14px; background: var(--blush); color: var(--maroon); }
.check-card__icon .icon { width: 24px; height: 24px; }
.check-card h3 { font-family: var(--f-body); font-size: 1.05rem; font-weight: 600; line-height: 1.35; }
.check-card p { font-size: 0.95rem; color: var(--ink-soft); margin-top: 4px; }

.safety-grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 14px; margin-top: 36px; }
.safety-grid > :nth-child(1) { grid-column: span 5; }
.safety-grid > :nth-child(2) { grid-column: span 7; }
.safety-grid > :nth-child(3) { grid-column: span 4; }
.safety-grid > :nth-child(4) { grid-column: span 4; }
.safety-grid > :nth-child(5) { grid-column: span 4; }
.safety-photo { position: relative; border-radius: var(--r-lg); overflow: hidden; min-height: 240px; }
.safety-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.safety-photo figcaption { position: absolute; left: 14px; bottom: 14px; padding: 6px 12px; border-radius: 999px; font-size: 0.85rem; font-weight: 600; color: #fff; background: rgba(28, 10, 18, 0.6); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }

.counsellor-note { margin: 22px 0 0; display: grid; grid-template-columns: 64px minmax(0, 1fr); gap: 22px; align-items: start; padding: clamp(24px, 3.4vw, 40px); border-radius: var(--r-xl); background: linear-gradient(140deg, rgba(255, 255, 255, 0.92), rgba(247, 230, 236, 0.9) 60%, rgba(250, 240, 222, 0.9)); border: 1px solid var(--line); box-shadow: var(--shadow-soft); }
.counsellor-note__icon { display: grid; place-items: center; width: 64px; height: 64px; border-radius: 20px; background: var(--g-signature); color: #fff; box-shadow: 0 12px 26px -12px rgba(132, 23, 62, 0.7); }
.counsellor-note__icon .icon { width: 32px; height: 32px; }
.counsellor-note__label { font-size: var(--fs-micro); letter-spacing: 0.14em; text-transform: uppercase; font-weight: 600; color: var(--maroon); margin-bottom: 10px; }
.counsellor-note blockquote { margin: 0; font-family: var(--f-head); font-style: italic; font-weight: 500; font-size: clamp(1.3rem, 2.1vw, 1.7rem); line-height: 1.4; color: var(--ink); }
.counsellor-note figcaption { margin-top: 14px; font-weight: 600; color: var(--ink-soft); }
@media (max-width: 640px) { .counsellor-note { grid-template-columns: 1fr; gap: 14px; } }
/* Leadership */
.leaders { display: grid; gap: 22px; }
.leader .bezel__core { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); }
.leader__photo { position: relative; min-height: 420px; background: var(--g-signature); }
.leader__photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 20%; }
.leader__body { padding: clamp(26px, 4vw, 52px); display: grid; gap: 16px; align-content: center; }
.leader__role { font-size: var(--fs-micro); letter-spacing: 0.14em; text-transform: uppercase; color: var(--maroon); font-weight: 600; }
.leader__quote { font-family: var(--f-head); font-style: italic; font-size: clamp(1.4rem, 2.2vw, 1.8rem); line-height: 1.3; color: var(--ink); }
.leader__excerpt { color: var(--ink-soft); }
.leader__sign { display: grid; gap: 0; }
.leader__sign b { font-family: var(--f-head); font-size: 1.6rem; font-weight: 600; line-height: 1.2; }
.leader__sign span { font-size: 0.92rem; color: var(--ink-mute); }
.leader--flip .leader__photo { order: 2; }
.leaders__pair { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; }
.leader-slot .bezel__core { display: grid; grid-template-columns: 140px 1fr; gap: 22px; padding: 22px; align-items: center; }
.leader-slot__photo { aspect-ratio: 4 / 5; border-radius: 18px; display: grid; place-items: center; text-align: center; padding: 10px; background: repeating-linear-gradient(135deg, rgba(247, 230, 236, 0.9) 0 10px, rgba(255, 255, 255, 0.9) 10px 20px); border: 1px dashed var(--line-strong); }
.leader-slot h3 { font-size: 1.6rem; margin: 6px 0 8px; }

dialog.modal {
  width: min(760px, calc(100vw - 32px));
  max-height: min(86vh, 900px);
  padding: 0;
  border: 0;
  border-radius: var(--r-xl);
  background: var(--surface-solid);
  color: var(--ink);
  box-shadow: 0 40px 120px -30px rgba(28, 10, 18, 0.55);
  opacity: 0;
  transform: translateY(16px) scale(0.98);
  transition: opacity 300ms var(--ease-out), transform 400ms var(--ease-out), overlay 300ms allow-discrete, display 300ms allow-discrete;
}
dialog.modal[open] { opacity: 1; transform: none; }
@starting-style { dialog.modal[open] { opacity: 0; transform: translateY(16px) scale(0.98); } }
dialog.modal::backdrop { background: rgba(28, 10, 18, 0.55); backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px); }
.modal__inner { padding: clamp(26px, 4vw, 48px); display: grid; gap: 16px; overflow-y: auto; max-height: min(86vh, 900px); overscroll-behavior: contain; }
.modal__close { position: sticky; top: 0; justify-self: end; display: grid; place-items: center; width: 44px; height: 44px; margin: -10px -10px 0 0; border-radius: 50%; border: 1px solid var(--line); background: #fff; color: var(--maroon); touch-action: manipulation; }
.modal__inner p { color: var(--ink-soft); }

/* Meaning of Skonis: floating 3D crest */
.meaning { overflow: hidden; }
.meaning__grid { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: clamp(32px, 6vw, 96px); align-items: center; }
.meaning__word { font-family: var(--f-head); font-size: clamp(2.4rem, 4.6vw, 3.6rem); font-weight: 600; line-height: 1.1; color: var(--maroon); margin-bottom: 18px; }
.meaning__gloss { display: block; font-family: var(--f-body); font-size: 1rem; font-weight: 500; letter-spacing: 0.02em; color: var(--ink-mute); margin-top: 6px; }
.meaning .prose { font-size: 1.15rem; }
.crest3d { position: relative; display: grid; place-items: center; aspect-ratio: 1; max-width: 100%; width: min(460px, 100%); margin-inline: auto; perspective: 1400px; }
.crest3d__glow { position: absolute; inset: 8%; border-radius: 50%; background: radial-gradient(circle at 50% 45%, rgba(234, 215, 166, 0.75), rgba(243, 204, 219, 0.45) 45%, transparent 70%); filter: blur(6px); animation: crest-glow 6s ease-in-out infinite; }
.crest3d__float { position: relative; width: 78%; aspect-ratio: 1; transform-style: preserve-3d; animation: crest-float 6s ease-in-out infinite; }
.crest3d__spin { position: absolute; inset: 0; transform-style: preserve-3d; animation: crest-spin 16s linear infinite; }
.crest3d__face, .crest3d__edge { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; backface-visibility: hidden; -webkit-backface-visibility: hidden; filter: drop-shadow(0 18px 30px rgba(74, 11, 36, 0.25)); }
.crest3d__edge { backface-visibility: visible; -webkit-backface-visibility: visible; transform: translateZ(var(--z)); filter: brightness(0.62) saturate(1.1); }
.crest3d__face--back { transform: rotateY(180deg) translateZ(14px); }
.crest3d__shadow { position: absolute; left: 22%; right: 22%; bottom: 2%; height: 8%; border-radius: 50%; background: radial-gradient(closest-side, rgba(74, 11, 36, 0.28), transparent); animation: crest-shadow 6s ease-in-out infinite; }
@keyframes crest-spin { from { transform: rotateY(0deg); } to { transform: rotateY(-360deg); } }
@keyframes crest-float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-18px); } }
@keyframes crest-shadow { 0%, 100% { transform: scale(1); opacity: 1; } 50% { transform: scale(0.82); opacity: 0.6; } }
@keyframes crest-glow { 0%, 100% { opacity: 0.85; } 50% { opacity: 1; } }
.crest3d--compact { width: min(320px, 100%); margin: 8px 0 0; }
.leader-slot--solo { max-width: 760px; margin-inline: auto; width: 100%; }

/* Houses */
.houses { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.house {
  --hc: var(--newton);
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: grid;
  gap: 16px;
  align-content: start;
  padding: clamp(24px, 3vw, 36px);
  border-radius: var(--r-xl);
  background: #fff;
  border: 1px solid color-mix(in srgb, var(--hc) 25%, transparent);
  transition: transform 450ms var(--ease-out), box-shadow 450ms var(--ease-out);
}
.house::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 6px; background: linear-gradient(90deg, var(--hc), color-mix(in srgb, var(--hc) 45%, #ead7a6)); }
.house::after { content: ""; position: absolute; right: -80px; top: -80px; width: 260px; height: 260px; border-radius: 50%; z-index: -1; background: radial-gradient(circle, color-mix(in srgb, var(--hc) 16%, transparent), transparent 70%); }
.house--newton { --hc: var(--newton); }
.house--raman { --hc: var(--raman); }
.house--einstein { --hc: var(--einstein); }
.house--kalam { --hc: var(--kalam); }
.house__top { display: flex; align-items: center; gap: 22px; }
.house__portrait { position: relative; width: 104px; height: 104px; flex: none; }
.house__portrait img { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; object-position: 50% 30%; filter: grayscale(1) sepia(0.12) contrast(1.05); box-shadow: 0 0 0 4px #fff, 0 0 0 7px var(--hc), 0 18px 32px -14px var(--hc); transition: filter 500ms var(--ease-out), transform 500ms var(--ease-out); }
.house__badge { position: absolute; right: -8px; bottom: -4px; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; color: #fff; background: radial-gradient(circle at 30% 25%, color-mix(in srgb, var(--hc) 65%, #fff), var(--hc) 65%); border: 3px solid #fff; box-shadow: 0 6px 14px -6px var(--hc); }
.house__badge .icon { width: 20px; height: 20px; }
.house--kalam .house__badge { color: #3b2800; }
@media (hover: hover) and (pointer: fine) { .house:hover .house__portrait img { filter: none; transform: scale(1.03); } }
.house__color { font-size: var(--fs-micro); letter-spacing: 0.14em; text-transform: uppercase; font-weight: 700; color: color-mix(in srgb, var(--hc) 80%, #000); }
.house h3 { font-size: clamp(1.6rem, 2.4vw, 2rem); }
.house__motto { font-family: var(--f-head); font-style: italic; font-size: 1.25rem; color: var(--ink); line-height: 1.3; }
.house p { color: var(--ink-soft); font-size: 0.98rem; }
.house__nick { justify-self: start; padding: 5px 12px; border-radius: 999px; font-size: 0.85rem; font-weight: 600; color: color-mix(in srgb, var(--hc) 85%, #000); background: color-mix(in srgb, var(--hc) 12%, #fff); }
@media (hover: hover) and (pointer: fine) { .house:hover { transform: translateY(-6px); box-shadow: 0 30px 60px -30px color-mix(in srgb, var(--hc) 60%, transparent); } }

/* Information */
.disclosure { display: grid; gap: 44px; }
.disclosure h3 { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; font-size: clamp(1.5rem, 2.3vw, 1.9rem); }
.disclosure h3 .letter { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; font-family: var(--f-body); font-size: 1rem; font-weight: 700; color: #fff; background: var(--g-signature); flex: none; }
.results { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin-top: 16px; }
.results h4 { font-family: var(--f-body); font-size: 1rem; font-weight: 600; margin: 0 0 10px; }
.mi-chips { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.mi-chips span { padding: 8px 16px; border-radius: 999px; font-weight: 500; font-size: 0.95rem; background: rgba(255, 255, 255, 0.8); border: 1px solid var(--line); color: var(--maroon); }
.philosophy-line { margin: clamp(40px, 5vw, 64px) auto 0; max-width: 900px; text-align: center; display: grid; gap: 14px; justify-items: center; }
.philosophy-line figcaption { font-size: var(--fs-micro); letter-spacing: 0.16em; text-transform: uppercase; font-weight: 600; color: var(--gold-ink); }
.philosophy-line blockquote { margin: 0; font-family: var(--f-head); font-style: italic; font-weight: 500; font-size: clamp(1.8rem, 3.6vw, 2.8rem); line-height: 1.2; background: var(--g-text); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; padding-bottom: 0.1em; }
.quote-panel { position: relative; padding: clamp(28px, 4vw, 52px); border-radius: var(--r-xl); background: var(--g-signature); color: #fff; overflow: hidden; }
.quote-panel h3 { color: #fff; }
.quote-panel p { color: rgba(255, 255, 255, 0.86); margin-top: 14px; }

/* Gallery */
.filters { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin-bottom: 40px; }
.filters button { display: inline-flex; align-items: center; gap: 8px; padding: 10px 18px; border-radius: 999px; border: 1px solid var(--line-strong); background: rgba(255, 255, 255, 0.7); color: var(--ink); font-weight: 500; touch-action: manipulation; transition: background-color 250ms var(--ease-out), color 200ms ease, border-color 200ms ease, transform 160ms var(--ease-out); }
.filters button:active { transform: scale(0.97); }
.filters button[aria-pressed="true"] { background: var(--g-signature); color: #fff; border-color: transparent; }
.filters .count { font-size: 0.8rem; opacity: 0.7; font-variant-numeric: tabular-nums; }
.masonry { columns: 4 260px; column-gap: 14px; }
.tile { position: relative; display: block; width: 100%; margin: 0 0 14px; padding: 0; border: 0; border-radius: var(--r-md); overflow: hidden; background: var(--blush); break-inside: avoid; cursor: zoom-in; isolation: isolate; transition: opacity 400ms var(--ease-out), transform 400ms var(--ease-out); }
.tile img { width: 100%; height: auto; transition: transform 700ms var(--ease-out); }
.tile::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 55%, rgba(28, 10, 18, 0.75)); opacity: 0; transition: opacity 300ms ease; }
.tile__cap { position: absolute; left: 14px; right: 14px; bottom: 12px; z-index: 1; color: #fff; font-size: 0.9rem; font-weight: 500; text-align: left; opacity: 0; transform: translateY(6px); transition: opacity 300ms ease, transform 400ms var(--ease-out); }
.tile__play { position: absolute; left: 50%; top: 50%; z-index: 1; display: grid; place-items: center; width: 60px; height: 60px; margin: -30px 0 0 -30px; border-radius: 50%; color: var(--maroon); background: rgba(255, 255, 255, 0.9); box-shadow: 0 10px 30px -10px rgba(28, 10, 18, 0.5); }
.tile__play .icon { width: 26px; height: 26px; margin-left: 3px; }
.tile.is-hidden { display: none; }
@media (hover: hover) and (pointer: fine) {
  .tile:hover img { transform: scale(1.05); }
  .tile:hover::after, .tile:hover .tile__cap { opacity: 1; transform: none; }
}
@media (hover: none) { .tile::after, .tile__cap { opacity: 1; transform: none; } .tile__cap { font-size: 0.82rem; } }
.lightbox { width: 100vw; height: 100dvh; max-width: none; max-height: none; margin: 0; padding: 0; border: 0; background: rgba(18, 6, 11, 0.94); color: #fff; opacity: 0; transition: opacity 280ms var(--ease-out), overlay 280ms allow-discrete, display 280ms allow-discrete; overscroll-behavior: contain; }
.lightbox[open] { opacity: 1; }
@starting-style { .lightbox[open] { opacity: 0; } }
.lightbox::backdrop { background: transparent; }
.lightbox__stage { position: absolute; inset: 64px 72px 84px; display: grid; place-items: center; touch-action: pan-y; }
.lightbox__stage img, .lightbox__stage video { max-width: 100%; max-height: 100%; width: auto; height: auto; border-radius: 12px; box-shadow: 0 30px 80px -20px rgba(0, 0, 0, 0.7); }
.lightbox__stage .is-entering { animation: lb-in 380ms var(--ease-out); }
@keyframes lb-in { from { opacity: 0; transform: scale(0.97); } to { opacity: 1; transform: none; } }
.lightbox__btn { position: absolute; display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, 0.25); background: rgba(255, 255, 255, 0.08); color: #fff; touch-action: manipulation; transition: background-color 200ms ease, transform 160ms var(--ease-out); }
.lightbox__btn:active { transform: scale(0.94); }
.lightbox__close { right: calc(16px + env(safe-area-inset-right, 0px)); top: calc(12px + env(safe-area-inset-top, 0px)); }
.lightbox__prev { left: 12px; top: 50%; margin-top: -26px; }
.lightbox__next { right: 12px; top: 50%; margin-top: -26px; }
.lightbox__cap { position: absolute; left: 0; right: 0; bottom: calc(22px + env(safe-area-inset-bottom, 0px)); text-align: center; font-size: 0.95rem; color: rgba(255, 255, 255, 0.86); padding-inline: 20px; }
.lightbox__count { color: var(--champagne); margin-left: 10px; font-variant-numeric: tabular-nums; }
@media (hover: hover) and (pointer: fine) { .lightbox__btn:hover { background: rgba(255, 255, 255, 0.18); } }

/* Admission */
.trust { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: -64px; position: relative; z-index: 2; }
.trust__item { display: grid; grid-template-columns: auto 1fr; gap: 16px; align-items: center; padding: 22px 24px; border-radius: var(--r-lg); background: var(--surface-solid); border: 1px solid var(--line); box-shadow: var(--shadow-lift); }
.trust__icon { display: grid; place-items: center; width: 56px; height: 56px; border-radius: 18px; background: var(--g-signature); color: #fff; }
.trust__icon .icon { width: 28px; height: 28px; }
.trust__num { font-family: var(--f-head); font-size: 2.4rem; font-weight: 600; line-height: 1; color: var(--maroon); font-variant-numeric: tabular-nums; }
.trust__label { font-size: 0.93rem; color: var(--ink-soft); }

.timeline { position: relative; }
.timeline ol { display: grid; gap: 18px; list-style: none; padding-left: 0; }
.timeline::before { content: ""; position: absolute; left: 27px; top: 10px; bottom: 10px; width: 2px; background: var(--line); }
.timeline__fill { position: absolute; left: 27px; top: 10px; width: 2px; height: calc(100% - 20px); background: linear-gradient(180deg, var(--maroon), var(--gold)); transform-origin: top; transform: scaleY(var(--tl, 0)); }
.timeline li { position: relative; display: grid; grid-template-columns: 56px 1fr; gap: 20px; counter-increment: step; }
.timeline__dot { position: relative; z-index: 1; display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; background: #fff; border: 2px solid var(--line-strong); font-family: var(--f-head); font-size: 1.5rem; font-weight: 600; color: var(--maroon); transition: background-color 400ms ease, color 400ms ease, border-color 400ms ease; }
.timeline li.is-in .timeline__dot { background: var(--g-signature); color: #fff; border-color: transparent; }
.timeline__card { min-width: 0; padding: 20px 24px; border-radius: var(--r-lg); background: rgba(255, 255, 255, 0.82); border: 1px solid var(--line); }
.timeline__card h3 { font-family: var(--f-body); font-size: 1.12rem; font-weight: 600; display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.timeline__card p { color: var(--ink-soft); margin-top: 6px; font-size: 0.97rem; }

.form-shell .bezel__core { padding: clamp(24px, 4vw, 48px); }
.form-grid { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: clamp(28px, 5vw, 72px); align-items: start; }
.aside-sticky { position: sticky; top: calc(var(--header-h) + 80px); display: grid; gap: 20px; }

/* Contact */
.contact-cards { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; margin-top: -60px; position: relative; z-index: 2; }
.contact-card { display: grid; gap: 10px; align-content: start; padding: 22px; border-radius: var(--r-lg); background: var(--surface-solid); border: 1px solid var(--line); box-shadow: var(--shadow-lift); }
.contact-card__icon { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 14px; background: var(--g-signature); color: #fff; }
.contact-card__icon .icon { width: 24px; height: 24px; }
.contact-card h3 { font-family: var(--f-body); font-size: 1rem; font-weight: 600; }
.contact-card p, .contact-card a { color: var(--ink-soft); font-size: 0.97rem; text-decoration: none; line-height: 1.55; }
.contact-card a { display: block; color: var(--maroon); font-weight: 500; }
.map-large { border-radius: var(--r-xl); overflow: hidden; aspect-ratio: 16 / 9; max-width: 100%; border: 1px solid var(--line); box-shadow: var(--shadow-soft); background: var(--blush); position: relative; }
.map-large iframe { width: 100%; height: 100%; border: 0; }

/* Wonders (softer, playful) */
.theme-wonders { --r-xl: 36px; --r-lg: 28px; }
.theme-wonders .page-hero::before { background: linear-gradient(180deg, rgba(58, 14, 34, 0.35) 0%, rgba(196, 87, 122, 0.25) 45%, rgba(74, 11, 36, 0.85) 100%); }
.blob-bg { position: relative; }
.blob-bg::before, .blob-bg::after { content: ""; position: absolute; z-index: -1; border-radius: 42% 58% 63% 37% / 41% 44% 56% 59%; filter: blur(2px); pointer-events: none; }
.blob-bg::before { width: 340px; height: 340px; left: -120px; top: 40px; background: radial-gradient(circle at 30% 30%, rgba(243, 204, 219, 0.9), rgba(243, 204, 219, 0)); animation: blob 18s ease-in-out infinite; }
.blob-bg::after { width: 280px; height: 280px; right: -80px; bottom: 20px; background: radial-gradient(circle at 60% 40%, rgba(240, 222, 184, 0.95), rgba(240, 222, 184, 0)); animation: blob 22s ease-in-out infinite reverse; }
@keyframes blob { 0%, 100% { border-radius: 42% 58% 63% 37% / 41% 44% 56% 59%; transform: translate(0, 0) rotate(0); } 50% { border-radius: 58% 42% 38% 62% / 55% 38% 62% 45%; transform: translate(20px, -16px) rotate(10deg); } }
.special { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.special__item { display: grid; grid-template-columns: 60px 1fr; gap: 18px; padding: 24px; border-radius: var(--r-lg); background: #fff; border: 1px solid var(--line); transition: transform 400ms var(--ease-out); }
.special__item:nth-child(4n + 1) { background: linear-gradient(160deg, #fff, #fbe9ef); }
.special__item:nth-child(4n + 2) { background: linear-gradient(160deg, #fff, #fbf1dc); }
.special__item:nth-child(4n + 3) { background: linear-gradient(160deg, #fff, #eef1fa); }
.special__item:nth-child(4n + 4) { background: linear-gradient(160deg, #fff, #eaf5ee); }
.special__icon { display: grid; place-items: center; width: 60px; height: 60px; border-radius: 22px; background: var(--g-signature); color: #fff; transform: rotate(-6deg); }
.special__icon .icon { width: 30px; height: 30px; }
.special__item > div { min-width: 0; }
.special__item h3 { font-size: 1.5rem; }
.special__item p { color: var(--ink-soft); margin-top: 6px; font-size: 0.98rem; }
@media (hover: hover) and (pointer: fine) { .special__item:hover { transform: translateY(-4px) rotate(-0.4deg); } }
.groups { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.group-chip { display: grid; justify-items: center; gap: 14px; padding: 28px 18px; border-radius: var(--r-lg); background: #fff; border: 1px solid var(--line); text-align: center; }
.group-chip:nth-child(1) { background: linear-gradient(160deg, #fff, #fbe9ef); }
.group-chip:nth-child(2) { background: linear-gradient(160deg, #fff, #fbf1dc); }
.group-chip:nth-child(3) { background: linear-gradient(160deg, #fff, #eef1fa); }
.group-chip:nth-child(4) { background: linear-gradient(160deg, #fff, #eaf5ee); }
.group-chip h3 { font-size: 1.6rem; }
@media (max-width: 640px) { .groups { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.photo-grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); grid-auto-rows: clamp(150px, 15vw, 230px); gap: 14px; }
.photo-grid button { position: relative; padding: 0; border: 0; border-radius: var(--r-lg); overflow: hidden; background: var(--blush); cursor: zoom-in; }
.photo-grid img { width: 100%; height: 100%; object-fit: cover; transition: transform 700ms var(--ease-out); }
.photo-grid > :nth-child(1) { grid-column: span 3; grid-row: span 2; }
.photo-grid > :nth-child(2), .photo-grid > :nth-child(3) { grid-column: span 3; }
.photo-grid > :nth-child(n + 4) { grid-column: span 2; }
@media (hover: hover) and (pointer: fine) { .photo-grid button:hover img { transform: scale(1.05); } }

/* Utility states */
.notice-empty { padding: 40px 22px; text-align: center; color: var(--ink-soft); }
.center { text-align: center; }
.mt-l { margin-top: clamp(40px, 5vw, 64px); }

/* Simple status pages */
.status-page { min-height: 100svh; display: grid; place-items: center; text-align: center; padding: calc(var(--header-h) + 60px) var(--gutter) 60px; }
.status-page__inner { display: grid; justify-items: center; gap: 20px; max-width: 620px; }
.status-page img { width: 110px; }
.status-page h1 { font-size: var(--fs-h1); }
.status-page p { color: var(--ink-soft); font-size: var(--fs-lead); }

/* 7. MOTION -------------------------------------------------------------- */
@keyframes gradient-drift { 0%, 100% { background-position: 0% 50%; } 50% { background-position: 100% 50%; } }

.js [data-reveal] {
  opacity: 0;
  transform: translateY(28px);
  filter: blur(6px);
  transition: opacity 900ms var(--ease-out), transform 1000ms var(--ease-out), filter 900ms var(--ease-out);
  transition-delay: calc(var(--i, 0) * 80ms);
}
.js [data-reveal="left"] { transform: translateX(-36px); }
.js [data-reveal="right"] { transform: translateX(36px); }
.js [data-reveal="zoom"] { transform: scale(0.95); }
.js [data-reveal].is-in { opacity: 1; transform: none; filter: none; }

[data-parallax] { will-change: transform; }

/* Cross-document page transitions where the browser supports them */
@view-transition { navigation: auto; }
::view-transition-old(root) { animation: vt-out 260ms var(--ease-out) both; }
::view-transition-new(root) { animation: vt-in 420ms var(--ease-out) both; }
@keyframes vt-out { to { opacity: 0; transform: translateY(-8px); } }
@keyframes vt-in { from { opacity: 0; transform: translateY(12px); } }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; }
  .js [data-reveal] { transform: none; filter: none; transition: opacity 400ms ease; }
  .page-hero__media img { animation: none; }
  .board__track { animation: none; }
  .board__viewport { height: auto; max-height: 520px; overflow-y: auto; mask-image: none; -webkit-mask-image: none; }
  .board__track > [aria-hidden="true"] { display: none; }
  .marquee { overflow-x: auto; mask-image: none; -webkit-mask-image: none; }
  .marquee__track { animation: none; }
  .marquee__track > [aria-hidden="true"] { display: none; }
  .hl { transition: none; background-position: 0 0; }
  .hl-rule { transition: none; transform: scaleX(1); }
  ::view-transition-old(root), ::view-transition-new(root) { animation: none; }
  .loader { display: none; }
  .crest3d__spin { animation: none; transform: rotateY(-18deg); }
}

/* 8. RESPONSIVE ---------------------------------------------------------- */
@media (max-width: 1180px) {
  .nav { display: none; }
  .menu-btn { display: block; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 980px) {
  .js [data-reveal="left"], .js [data-reveal="right"] { transform: translateY(24px); }
  .vmf, .notices, .voices, .split, .form-grid, .accred, .meaning__grid { grid-template-columns: 1fr; }
  .crest3d { width: min(320px, 80%); }
  .crest3d--compact { width: min(240px, 70%); margin-inline: auto; }
  .vmf__aside, .aside-sticky { position: static; }
  .vmf__crest { display: none; }
  .split--reverse .split__media { order: 0; }
  .threed__grid { grid-template-columns: 1fr; }
  .dblock--duty, .dblock--discipline, .dblock--determination { grid-column: auto; margin-top: 0; min-height: 0; }
  .stats__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stat--big { grid-column: span 2; min-height: 0; }
  .stat--small { grid-column: span 1; }
  .stat--small:last-child { grid-column: span 2; }
  .cta-band { grid-template-columns: 1fr; }
  .leader .bezel__core { grid-template-columns: 1fr; }
  .leader--flip .leader__photo { order: 0; }
  .leader__photo { min-height: 0; aspect-ratio: 4 / 3.4; }
  .leaders__pair, .houses, .results, .special { grid-template-columns: 1fr; }
  .trust { grid-template-columns: 1fr; margin-top: -40px; }
  .contact-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); margin-top: -40px; }
  .safety-grid > * { grid-column: span 12 !important; }
  .split__badge { left: 14px; }
  .photo-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: 150px; }
  .photo-grid > * { grid-column: span 1 !important; grid-row: auto !important; }
  .photo-grid > :nth-child(1) { grid-column: span 2 !important; }
}

@media (max-width: 640px) {
  :root { --header-h: 64px; }
  .site-header__bar { padding: 0 8px 0 10px; border-radius: 18px; }
  .site-header.is-solid .site-header__bar { height: 60px; }
  .brand__crest { width: 40px; height: 40px; }
  .brand__wordmark { width: 150px; }
  .announce a { font-size: 0.8rem; }
  .form__row { grid-template-columns: 1fr; }
  .stats__grid { grid-template-columns: 1fr; }
  .stat--big, .stat--small, .stat--small:last-child { grid-column: auto; }
  .footer__grid { grid-template-columns: 1fr; }
  .contact-cards { grid-template-columns: 1fr; }
  .accred__facts { grid-template-columns: 1fr 1fr; }
  .hero { padding-bottom: 130px; }
  .hero__actions .btn { width: 100%; justify-content: space-between; }
  .hero__toggle { display: none; }
  .hi-card { width: 280px; }
  .fab a, .fab button { width: 48px; height: 48px; }
  .fab .icon { width: 23px; height: 23px; }
  .notice { grid-template-columns: 60px 1fr; padding: 16px; }
  .notice__date { height: 64px; }
  .board__viewport { height: 400px; }
  .leader-slot .bezel__core { grid-template-columns: 96px 1fr; }
  .lightbox__stage { inset: 64px 8px 90px; }
  .lightbox__prev, .lightbox__next { top: auto; bottom: calc(14px + env(safe-area-inset-bottom, 0px)); margin-top: 0; }
  .lightbox__cap { bottom: calc(80px + env(safe-area-inset-bottom, 0px)); }
  .table-note { font-size: 0.85rem; }
  .masonry { columns: 2 150px; column-gap: 10px; }
  .tile { margin-bottom: 10px; }
  .subnav { top: calc(60px + 14px + env(safe-area-inset-top, 0px)); }
}

@media print {
  .site-header, .fab, .loader, .progress, .subnav, .site-footer, .page-hero__media, .cta-band { display: none !important; }
  body::before { display: none; }
  .page-hero { min-height: 0; color: var(--ink); padding: 0 0 20px; }
  .page-hero h1 { color: var(--ink); }
  .js [data-reveal] { opacity: 1 !important; transform: none !important; filter: none !important; }
  .table-wrap { border: 0; }
}
