/* =========================================================
   Samartha School — demo design system
   Palette taken from the crest: royal blue, maroon, green,
   orange quarters; gold ribbon; red motto lettering.
   ========================================================= */

:root {
  /* crest colours */
  --navy: #0f1c5c;
  --blue: #1a2da8;
  --maroon: #6b0f14;
  --green: #2f6b2a;
  --orange: #e8780f;
  --gold: #c39125;
  --gold-soft: #f2cf5b;
  --red: #b5161b;

  /* neutrals */
  --bg: #f6f4ee;
  --surface: #ffffff;
  --surface-2: #efece3;
  --line: #d9d4c6;
  --ink: #1c2133;
  --muted: #555b6e;

  --font-display: "Outfit", system-ui, sans-serif;
  --font-body: "Geologica", system-ui, sans-serif;
  --font-serif: "Fraunces", Georgia, serif;

  --wrap: 1320px;
  --gutter: clamp(16px, 4vw, 48px);
  --radius: 18px;
  --header-h: 88px;
  --header-h-top: 128px;
  --crest-h: 72px;
  --crest-h-top: 112px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
  /* a long link or word typed in the admin wraps instead of pushing the page sideways */
  overflow-wrap: anywhere;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
p { margin: 0 0 1em; }
h1, h2, h3, h4 { margin: 0; line-height: 1.08; color: var(--navy); text-wrap: balance; }
button { font: inherit; cursor: pointer; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; border-radius: 4px; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: 16px; top: -60px; z-index: 200; background: var(--navy); color: #fff; padding: 10px 16px; border-radius: 8px; text-decoration: none; }
.skip-link:focus { top: 12px; }

/* ---------- type helpers ---------- */
.eyebrow {
  display: inline-block;
  font: 700 13px/1 var(--font-body);
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--maroon);
  margin-bottom: 18px;
}
.display {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(2.2rem, 4.4vw, 3.9rem);
  letter-spacing: -.01em;
}
.lede { font-size: clamp(1.1rem, 1.6vw, 1.3rem); color: var(--muted); max-width: 62ch; }
.mark { background: linear-gradient(transparent 62%, var(--gold-soft) 62%, var(--gold-soft) 92%, transparent 92%); padding: 0 .1em; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 26px;
  border-radius: 999px;
  border: 2px solid var(--navy);
  font: 700 14px/1 var(--font-body);
  letter-spacing: .08em; text-transform: uppercase;
  text-decoration: none;
  transition: background-color .2s var(--ease), color .2s var(--ease), transform .2s var(--ease);
}
.btn:active { transform: scale(.97); }
.btn--solid { background: var(--navy); color: #fff; }
.btn--solid:hover { background: var(--blue); border-color: var(--blue); }
.btn--ghost { background: transparent; color: var(--navy); }
.btn--ghost:hover { background: var(--navy); color: #fff; }
.btn--gold { background: var(--gold-soft); border-color: var(--gold-soft); color: var(--navy); }
.btn--gold:hover { background: #fff; border-color: #fff; }
.btn svg { width: 16px; height: 16px; }
.text-link {
  font-weight: 700; color: var(--navy); text-decoration: none;
  background: linear-gradient(var(--gold), var(--gold)) 0 100% / 100% 2px no-repeat;
  padding-bottom: 2px; transition: background-size .25s var(--ease);
}
.text-link:hover { background-size: 0 2px; background-position: 100% 100%; }

/* =========================================================
   Utility bar (above the header)
   ========================================================= */
.utility {
  background: var(--navy); color: #dfe3f5;
  font-size: 13px;
}
.utility .wrap { display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 38px; }
.utility a { color: #fff; text-decoration: none; }
.utility a:hover { color: var(--gold-soft); }
.utility__address { display: inline-flex; align-items: center; gap: 8px; min-width: 0; }
.utility__address svg { width: 15px; height: 15px; flex: none; color: var(--gold-soft); }
.utility__address > span:first-of-type { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.utility__right { display: flex; align-items: center; gap: 22px; }
.utility__contact { display: flex; gap: 22px; }
.utility__contact > a > span, .utility__phone > span { opacity: .7; margin-right: 6px; }
.utility__phone { white-space: nowrap; }
.utility__social { display: flex; align-items: center; gap: 6px; padding-left: 18px; border-left: 1px solid rgba(255, 255, 255, .18); }
.utility__social a { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: rgba(255, 255, 255, .1); transition: background-color .2s, color .2s, transform .2s var(--ease); }
.utility__social a:hover { background: var(--gold-soft); color: var(--navy); transform: translateY(-1px); }
.utility__social svg { width: 14px; height: 14px; }
@media (max-width: 1100px) { .utility__contact > a:last-child { display: none; } }
@media (max-width: 760px) { .utility__contact { display: none; } .utility__social { padding-left: 0; border-left: 0; } }
@media (max-width: 520px) { .utility__address-extra { display: none; } }
@media (max-width: 400px) { .utility .wrap { gap: 10px; } .utility__address { font-size: 12px; } }

/* =========================================================
   Header — split nav with centred crest (Shady Side pattern)
   ========================================================= */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: var(--bg);
  border-bottom: 1px solid transparent;
  transition: box-shadow .25s var(--ease), border-color .25s var(--ease);
}
.site-header.is-scrolled { border-color: var(--line); box-shadow: 0 6px 24px -18px rgba(15, 28, 92, .45); }
.nav {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  height: var(--header-h);
  max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter);
  transition: height .35s var(--ease);
}
/* At the top of the page the bar is taller and the crest larger; both shrink once scrolled. */
.site-header:not(.is-scrolled) .nav { height: var(--header-h-top); }
.nav__group { display: flex; align-items: center; gap: clamp(18px, 3vw, 54px); list-style: none; margin: 0; padding: 0; }
.nav__group--left { justify-content: flex-start; }
.nav__group--right { justify-content: flex-start; padding-left: clamp(16px, 3vw, 64px); }
.nav__link {
  position: relative;
  display: inline-block;
  padding: 10px 0;
  font: 700 13.5px/1 var(--font-body);
  letter-spacing: .05em; text-transform: uppercase;
  color: var(--navy); text-decoration: none; white-space: nowrap;
}
/* the thick highlighter underline */
.nav__link::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 4px; height: 5px;
  background: var(--gold-soft);
  transform: scaleX(0); transform-origin: left;
  transition: transform .3s var(--ease);
  z-index: -1;
}
.nav__item:hover > .nav__link::after,
.nav__item.is-open > .nav__link::after,
.nav__link[aria-current="true"]::after { transform: scaleX(1); }

.nav__crest { display: flex; justify-content: center; text-decoration: none; }
.nav__crest img { height: var(--crest-h); width: auto; transition: height .35s var(--ease), transform .3s var(--ease); }
.site-header:not(.is-scrolled) .nav__crest img { height: var(--crest-h-top); }
@media (max-width: 1240px) and (min-width: 1081px) { :root { --header-h-top: 112px; --crest-h-top: 90px; } }
.nav__crest:hover img { transform: scale(1.04); }

.nav__right { display: flex; align-items: center; gap: clamp(16px, 2vw, 32px); min-width: 0; }
.nav__tools { display: flex; align-items: center; gap: 18px; margin-left: auto; }
.icon-btn {
  display: inline-grid; place-items: center;
  width: 38px; height: 38px; border-radius: 50%;
  border: 0; background: transparent; color: var(--navy);
}
.icon-btn:hover { background: var(--surface-2); }
.icon-btn svg { width: 18px; height: 18px; }

/* hover sub-link strip */
.subnav-flyout {
  position: absolute; left: 0; right: 0; top: 100%;
  background: var(--surface);
  border-top: 1px solid var(--line);
  opacity: 0; visibility: hidden; transform: translateY(-4px);
  transition: opacity .2s, transform .25s var(--ease), visibility .2s;
}
.subnav-flyout.is-open { opacity: 1; visibility: visible; transform: none; }
.subnav-flyout ul { display: flex; justify-content: center; flex-wrap: wrap; gap: 6px 30px; list-style: none; margin: 0; padding: 22px var(--gutter); }
.subnav-flyout a { font-size: 15px; color: var(--ink); text-decoration: none; padding: 4px 0; border-bottom: 1px solid transparent; }
.subnav-flyout a:hover, .subnav-flyout a[aria-current="page"] { color: var(--navy); border-color: var(--navy); }

/* page blur while the strip is open */
.page-veil {
  position: fixed; inset: 0; z-index: 90;
  background: rgba(246, 244, 238, .35);
  -webkit-backdrop-filter: blur(7px); backdrop-filter: blur(7px);
  opacity: 0; visibility: hidden; transition: opacity .25s, visibility .25s;
}
.page-veil.is-on { opacity: 1; visibility: visible; }

/* persistent section sub-nav on inner pages */
.section-nav { background: var(--bg); border-bottom: 1px solid var(--line); }
.section-nav ul { display: flex; justify-content: center; flex-wrap: wrap; gap: 4px 28px; list-style: none; margin: 0; padding: 16px var(--gutter); }
.section-nav a { font-size: 14.5px; color: var(--muted); text-decoration: none; padding: 4px 0; border-bottom: 1px solid transparent; }
.section-nav a:hover { color: var(--navy); }
.section-nav a[aria-current="page"] { color: var(--navy); border-color: var(--navy); }

/* mobile header */
.nav__burger { display: none; }
@media (max-width: 1080px) {
  :root { --header-h: 74px; --header-h-top: 92px; --crest-h: 52px; --crest-h-top: clamp(48px, 15vw, 70px); }
  .nav { position: relative; grid-template-columns: auto 1fr auto; }
  .nav__group { display: none; }
  /* Crest sits centred at the top of the page and glides to the left once scrolled. */
  .nav__crest {
    position: absolute; z-index: 1; top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    transition: left .45s var(--ease), transform .45s var(--ease);
  }
  .site-header.is-scrolled .nav__crest { left: var(--gutter); transform: translate(0, -50%); }
  .nav__right { grid-column: 1 / -1; justify-content: flex-end; }
  .nav__tools { gap: 4px; }

  .nav__tools { grid-column: 3; }
  .nav__burger { display: inline-grid; }
  .subnav-flyout { display: none; }
  .section-nav ul { justify-content: flex-start; flex-wrap: nowrap; overflow-x: auto; gap: 22px; scrollbar-width: none; }
  .section-nav li { flex: none; }
}

/* mobile drawer */
.drawer {
  position: fixed; inset: 0; z-index: 150;
  background: var(--bg);
  display: flex; flex-direction: column;
  transform: translateX(100%); visibility: hidden;
  transition: transform .35s var(--ease), visibility .35s;
}
.drawer.is-open { transform: none; visibility: visible; }
.drawer__top { display: flex; justify-content: space-between; align-items: center; padding: 12px var(--gutter); border-bottom: 1px solid var(--line); }
.drawer__top img { height: 48px; width: auto; }
.drawer__body { flex: 1; min-height: 0; overflow-y: auto; overscroll-behavior: contain; padding: 8px var(--gutter) 40px; }
.drawer details { border-bottom: 1px solid var(--line); }
.drawer summary, .drawer__solo {
  display: flex; justify-content: space-between; align-items: center;
  padding: 18px 0; list-style: none; cursor: pointer;
  font: 700 18px/1.2 var(--font-display); color: var(--navy); text-decoration: none; text-transform: uppercase; letter-spacing: .02em;
}
.drawer summary::-webkit-details-marker { display: none; }
.drawer summary svg { width: 18px; height: 18px; transition: transform .2s; }
.drawer details[open] summary svg { transform: rotate(45deg); }
.drawer__solo { border-bottom: 1px solid var(--line); }
.drawer ul { list-style: none; margin: 0 0 14px; padding: 0; }
.drawer li a { display: block; padding: 9px 0 9px 14px; border-left: 2px solid var(--line); text-decoration: none; color: var(--ink); }
.drawer li a[aria-current="page"] { border-color: var(--gold); color: var(--navy); font-weight: 600; }

/* search overlay */
.search {
  position: fixed; inset: 0; z-index: 160;
  background: rgba(246, 244, 238, .96);
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
  display: flex; justify-content: center; align-items: flex-start;
  padding: 12vh var(--gutter) 40px;
  opacity: 0; visibility: hidden; transition: opacity .2s, visibility .2s;
}
.search.is-open { opacity: 1; visibility: visible; }
.search__panel { width: 100%; max-width: 760px; }
.search__close { position: absolute; top: 18px; right: 18px; }
.search label { font: 700 13px/1 var(--font-body); letter-spacing: .14em; text-transform: uppercase; color: var(--maroon); }
.search input {
  width: 100%; margin: 14px 0 26px; padding: 10px 0;
  border: 0; border-bottom: 3px solid var(--navy); background: transparent;
  font: 700 clamp(1.6rem, 4vw, 2.6rem)/1.2 var(--font-display); color: var(--navy);
}
.search input:focus { outline: none; border-color: var(--gold); }
.search__results { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; max-height: 50vh; overflow: auto; }
.search__results a { display: flex; justify-content: space-between; gap: 16px; padding: 14px 16px; border-radius: 10px; text-decoration: none; color: var(--navy); font-weight: 600; }
.search__results a:hover, .search__results a:focus { background: var(--surface); }
.search__results small { color: var(--muted); font-weight: 400; }

/* =========================================================
   Image / video placeholders (demo only)
   ========================================================= */
.ph {
  --tint: var(--blue);
  position: relative; overflow: hidden;
  display: grid; place-items: center;
  min-height: 220px;
  border-radius: var(--radius);
  background:
    repeating-linear-gradient(135deg, color-mix(in srgb, var(--tint) 7%, transparent) 0 14px, transparent 14px 28px),
    linear-gradient(160deg, color-mix(in srgb, var(--tint) 16%, #fff), color-mix(in srgb, var(--tint) 30%, #fff));
  color: color-mix(in srgb, var(--tint) 70%, #000);
}
.ph__label {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 10px 16px; border-radius: 999px;
  background: rgba(255, 255, 255, .82);
  font: 600 13px/1 var(--font-body); letter-spacing: .06em; text-transform: uppercase;
}
.ph__label svg { width: 18px; height: 18px; }
.ph--maroon { --tint: var(--maroon); }
.ph--green { --tint: var(--green); }
.ph--orange { --tint: var(--orange); }
.ph--gold { --tint: var(--gold); }
/* the notched top edge used on Shady Side's hero media */
.ph--notch { border-radius: 0 var(--radius) var(--radius) var(--radius); }
.notched { position: relative; }
.notched::before {
  content: ""; position: absolute; z-index: 1; top: 0; left: 0;
  width: 52%; height: 28px; background: var(--bg);
  border-bottom-right-radius: 22px;
}

/* =========================================================
   Home — hero
   ========================================================= */
.hero { position: relative; padding: clamp(28px, 4vw, 56px) 0 0; overflow: hidden; }
.hero__heading { margin: 0 0 clamp(20px, 3vw, 40px); text-align: center; }

/* School name: small but unmissable — crest-gradient letters between gold rules
   that end in a diamond quartered like the shield. */
.hero__name { display: flex; align-items: center; justify-content: center; gap: clamp(12px, 2vw, 26px); margin-bottom: clamp(14px, 2vw, 24px); }
.hero__name-text {
  position: relative;
  font: 900 clamp(1.5rem, 3.4vw, 2.6rem)/1 var(--font-display);
  --ls: .28em; letter-spacing: var(--ls); margin-right: calc(-1 * var(--ls)); /* keep the spaced word optically centred */
  text-transform: uppercase; white-space: nowrap;
  animation: nameSettle 1.1s var(--ease) both;
}
/* Letter pairs in the crest's colours, as in the school's logo lettering. */
.hero__sa { color: var(--blue); }
.hero__ma { color: var(--maroon); }
.hero__rt { color: var(--green); }
.hero__ha {
  color: #e39a12;
  background: linear-gradient(180deg, #f2bf1d 0%, #e8900f 100%);
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
.hero__rule { position: relative; display: block; width: clamp(36px, 8vw, 110px); height: 2px; background: linear-gradient(90deg, transparent, var(--gold)); animation: ruleGrow 1.1s var(--ease) both; transform-origin: right; }
.hero__rule--end { background: linear-gradient(270deg, transparent, var(--gold)); }
.hero__rule--end i { right: auto; left: -5px; }
.hero__rule i {
  position: absolute; right: -5px; top: 50%; width: 10px; height: 10px; margin-top: -5px;
  transform: rotate(45deg); border-radius: 1px;
  background: conic-gradient(var(--maroon) 0 25%, var(--orange) 0 50%, var(--green) 0 75%, var(--blue) 0);
  box-shadow: 0 0 0 2px var(--bg), 0 0 0 3px color-mix(in srgb, var(--gold) 70%, transparent);
}
@keyframes nameSettle { from { opacity: 0; letter-spacing: calc(var(--ls) * 2); } to { opacity: 1; letter-spacing: var(--ls); } }
@keyframes ruleGrow { from { opacity: 0; width: 0; } }

/* Motto in the crest's colours: royal blue, ribbon gold, shield maroon. */
.hero__title {
  display: block;
  font-family: var(--font-display); font-weight: 900;
  font-size: clamp(3rem, 9vw, 8rem);
  line-height: .9; letter-spacing: -.02em; text-transform: uppercase;
  color: var(--navy);
}
/* Rotating motto: both phrases share one grid cell, so the space never changes size.
   The long phrase is scaled down to roughly the same width as "Wisdom & Virtue". */
.hero__rotator { display: grid; justify-items: center; align-items: center; }
.hero__phrase {
  grid-area: 1 / 1; white-space: nowrap;
  opacity: 0; transform: translateY(.18em); filter: blur(6px);
  transition: opacity .8s var(--ease), transform .8s var(--ease), filter .8s var(--ease);
}
.hero__phrase.is-active { opacity: 1; transform: none; filter: none; }
.hero__phrase.is-leaving { opacity: 0; transform: translateY(-.14em); filter: blur(6px); }
.hero__phrase--long { font-size: .478em; letter-spacing: -.01em; line-height: 1; }
@media (max-width: 760px) { .hero__phrase { white-space: normal; text-align: center; } .hero__phrase--long { white-space: nowrap; } }
/* Phones: the motto wraps onto two lines, so the long phrase splits too, one half per line */
@media (max-width: 477px) {
  .hero__phrase--long { font-size: .47em; line-height: 1.06; white-space: normal; }
  .hero__phrase--long > span { display: block; white-space: nowrap; }
}
@media (prefers-reduced-motion: reduce) { .hero__phrase { transition: opacity .3s; transform: none !important; filter: none !important; } }
.hero__w1 { color: var(--blue); }
.hero__w2 { color: var(--maroon); }
.hero__title em {
  font-style: normal; color: var(--gold);
  background: linear-gradient(180deg, #e6bb4f 0%, var(--gold) 55%, #9c7116 100%);
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
@media (prefers-reduced-motion: reduce) { .hero__name-text, .hero__rule { animation: none; } }
@media (max-width: 420px) { .hero__name-text { --ls: .22em; } .hero__rule { width: 26px; } }
.hero__media { position: relative; z-index: 2; }
.hero__media .ph { min-height: clamp(300px, 52vw, 640px); }
.hero__band { position: absolute; left: 0; right: 0; bottom: 0; height: 34%; background: var(--surface); z-index: 0; }
.hero__lines { position: absolute; z-index: 1; width: clamp(140px, 18vw, 260px); color: var(--gold-soft); pointer-events: none; }
.hero__lines--l { left: -30px; top: 18%; }
.hero__lines--r { right: -30px; top: 42%; transform: scaleX(-1); }
/* Static "CBSE School" seal pinned to the photo's top-right corner. */
.hero__seal {
  position: absolute; z-index: 3;
  top: clamp(-30px, -2vw, -18px); right: calc(var(--gutter) - clamp(12px, 2.4vw, 36px));
  width: clamp(104px, 11vw, 156px);
  transform: rotate(-8deg);
  filter: drop-shadow(0 18px 22px rgba(15, 28, 92, .32));
  pointer-events: none;
}
.seal svg { display: block; width: 100%; height: auto; overflow: visible; }
.seal__shape { fill: var(--maroon); }
.seal__line { fill: none; stroke: var(--gold-soft); stroke-width: .9; }
.seal__ring { font: 700 5.6px var(--font-body); letter-spacing: .9px; fill: var(--gold-soft); text-anchor: middle; }
.seal__star { font-size: 6px; fill: var(--gold-soft); text-anchor: middle; }
.seal__center { font: 900 16.5px var(--font-display); letter-spacing: .5px; fill: #fff; text-anchor: middle; }
.seal__sub { font: 800 6.6px var(--font-display); letter-spacing: 2px; fill: var(--gold-soft); text-anchor: middle; }
@media (max-width: 700px) { .hero__seal { top: -4px; right: calc(var(--gutter) - 8px); width: 92px; } }

/* rotating scalloped badge (header hero + footer) */
.badge { position: relative; display: block; width: 150px; height: 150px; text-decoration: none; }
.badge__shape { position: absolute; inset: 0; color: var(--navy); }
.badge__text { position: absolute; inset: 0; animation: spin 22s linear infinite; }
.badge__text text { font: 600 11.5px var(--font-body); letter-spacing: .22em; text-transform: uppercase; fill: var(--gold-soft); }
.badge__icon { position: absolute; inset: 0; display: grid; place-items: center; color: var(--gold-soft); transition: transform .3s var(--ease); }
.badge__icon svg { width: 34px; height: 34px; }
.badge:hover .badge__icon { transform: rotate(-45deg) scale(1.1); }
@keyframes spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .badge__text { animation: none; } html { scroll-behavior: auto; } }

/* =========================================================
   Generic sections
   ========================================================= */
.section { padding: clamp(64px, 9vw, 128px) 0; }
.section--white { background: var(--surface); }
.section--navy { background: var(--navy); color: #e6e9f7; }
.section--navy h2, .section--navy h3 { color: #fff; }
.section--navy .eyebrow { color: var(--gold-soft); }
.section__head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap; margin-bottom: clamp(32px, 4vw, 56px); }
.section__head .display { max-width: 18ch; }

/* ---------- The Samartha Experience: pillars around the crest ---------- */
.experience { --orbit: clamp(340px, 34vw, 480px); overflow: hidden; }
.experience__head { max-width: 760px; margin: 0 auto clamp(40px, 5vw, 64px); text-align: center; }
.experience__head .display { margin-bottom: 16px; }
.experience__head .lede { margin: 0 auto; }

.exp { display: grid; grid-template-columns: minmax(0, 1fr) var(--orbit) minmax(0, 1fr); gap: clamp(20px, 3vw, 48px); align-items: center; }
.exp__list { list-style: none; margin: 0; padding: 0; height: var(--orbit); display: grid; align-content: space-between; }
.exp__list--left li:nth-child(2), .exp__list--right li:nth-child(2) { transform: translateX(var(--nudge, 0)); }
.exp__list--left { --nudge: calc(var(--orbit) * -0.05); }
.exp__list--right { --nudge: calc(var(--orbit) * 0.05); }

.exp__item {
  position: relative; display: grid; gap: 6px; width: 100%;
  padding: 16px 20px; border: 1px solid transparent; border-radius: 16px;
  background: transparent; color: inherit; font: inherit; cursor: pointer;
  transition: background-color .25s var(--ease), border-color .25s, box-shadow .25s var(--ease), transform .25s var(--ease);
}
.exp__list--left .exp__item { text-align: right; justify-items: end; }
.exp__list--right .exp__item { text-align: left; justify-items: start; }
.exp__item::after { content: ""; position: absolute; top: 16px; bottom: 16px; width: 4px; border-radius: 4px; background: var(--c); transform: scaleY(0); transition: transform .3s var(--ease); }
.exp__list--left .exp__item::after { right: -1px; }
.exp__list--right .exp__item::after { left: -1px; }
.exp__item:hover, .exp__item.is-active { background: var(--surface); border-color: color-mix(in srgb, var(--c) 30%, var(--line)); box-shadow: 0 18px 36px -28px rgba(15, 28, 92, .55); }
.exp__item.is-active::after { transform: scaleY(1); }
.exp__item:active { transform: scale(.98); }
.exp__mini { display: none; }
.exp__title { font: 700 clamp(1.15rem, 1.6vw, 1.4rem)/1.2 var(--font-display); color: var(--navy); }
.exp__item.is-active .exp__title { color: color-mix(in srgb, var(--c) 70%, var(--navy)); }
.exp__text { font-size: 15.5px; line-height: 1.55; color: var(--muted); max-width: 34ch; }

.exp__orbit { position: relative; width: var(--orbit); height: var(--orbit); }
.exp__ring { position: absolute; inset: 8%; border: 2px solid color-mix(in srgb, var(--gold) 70%, #fff); border-radius: 50%; animation: spin 30s linear infinite; }
.exp__spark { position: absolute; top: -6px; left: 50%; width: 10px; height: 10px; margin-left: -5px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 0 5px color-mix(in srgb, var(--gold-soft) 45%, transparent); }
.exp__node {
  position: absolute; left: 50%; top: 50%; z-index: 2;
  width: clamp(54px, 5vw, 68px); height: clamp(54px, 5vw, 68px);
  margin: calc(clamp(54px, 5vw, 68px) / -2) 0 0 calc(clamp(54px, 5vw, 68px) / -2);
  display: grid; place-items: center; border-radius: 50%;
  background: color-mix(in srgb, var(--c) 15%, #fff); color: var(--c);
  box-shadow: 0 0 0 6px var(--bg);
  transform: rotate(var(--a)) translate(calc(var(--orbit) * .42)) rotate(calc(-1 * var(--a)));
  cursor: pointer;
  transition: transform .35s var(--ease), background-color .25s, color .25s;
}
.exp__node svg { width: 42%; height: 42%; }
.exp__node.is-active { background: var(--c); color: #fff; transform: rotate(var(--a)) translate(calc(var(--orbit) * .42)) rotate(calc(-1 * var(--a))) scale(1.16); }

.exp__core {
  --c: var(--gold-soft);
  position: absolute; inset: 18%; z-index: 1;
  display: grid; place-items: center; padding: 15%;
  border-radius: 50%; background: var(--navy); color: #fff; text-align: center;
  box-shadow: 0 0 0 0 color-mix(in srgb, var(--c) 35%, transparent), 0 30px 60px -24px rgba(15, 28, 92, .6);
  transition: box-shadow .4s var(--ease);
}
.exp__core.is-showing { box-shadow: 0 0 0 10px color-mix(in srgb, var(--c) 28%, transparent), 0 30px 60px -24px rgba(15, 28, 92, .6); }
.exp__face { display: grid; justify-items: center; gap: 8px; animation: fadeUp .4s var(--ease); }
.exp__face--intro img { width: 58%; height: auto; }
.exp__name { margin: 0; font: 800 clamp(1rem, 1.5vw, 1.3rem)/1.15 var(--font-display); letter-spacing: .04em; text-transform: uppercase; }
.exp__bar { width: 54px; height: 4px; border-radius: 4px; background: var(--gold-soft); }
.exp__orbit { container-type: size; }
.exp__detail-title { margin: 0; font: 800 clamp(.95rem, 4.4cqw, 1.3rem)/1.2 var(--font-display); }
.exp__detail-title::after { content: ""; display: block; width: 40px; height: 3px; margin: 10px auto 0; border-radius: 3px; background: var(--c); }
.exp__detail-text { margin: 0; font-size: clamp(12px, 3.1cqw, 14.5px); line-height: 1.5; color: #d9def5; }
.exp__link { font: 700 12px/1 var(--font-body); letter-spacing: .1em; text-transform: uppercase; color: var(--gold-soft); text-decoration: none; border-bottom: 1.5px solid currentColor; padding-bottom: 3px; }
.exp__link:hover { color: #fff; }

@media (max-width: 1180px) {
  .experience { --orbit: min(440px, calc(100vw - 2 * var(--gutter))); }
  .exp { grid-template-columns: 1fr 1fr; grid-template-areas: "orbit orbit" "left right"; row-gap: 32px; }
  .exp__orbit { grid-area: orbit; justify-self: center; }
  .exp__list--left { grid-area: left; }
  .exp__list--right { grid-area: right; }
  .exp__list { height: auto; gap: 10px; align-content: start; }
  .exp__list li:nth-child(2) { transform: none !important; }
  .exp__list .exp__item { text-align: left; justify-items: start; grid-template-columns: 44px 1fr; column-gap: 14px; align-items: start; }
  .exp__list .exp__item::after { left: -1px; right: auto; }
  .exp__mini { display: grid; place-items: center; grid-row: 1 / 3; width: 44px; height: 44px; border-radius: 50%; background: color-mix(in srgb, var(--c) 15%, #fff); color: var(--c); }
  .exp__mini svg { width: 20px; height: 20px; }
  .exp__item.is-active .exp__mini { background: var(--c); color: #fff; }
  .exp__text { max-width: none; }
}
@media (max-width: 640px) {
  .exp { grid-template-columns: minmax(0, 1fr); grid-template-areas: "orbit" "left" "right"; row-gap: 10px; }
  .exp__orbit { margin-bottom: 22px; }
  .exp__core { inset: 19%; padding: 10%; }
  .exp__detail-text { display: none; }
  .exp__item { padding: 14px 16px; }
}
@media (prefers-reduced-motion: reduce) { .exp__ring { animation: none; } .exp__face { animation: none; } }

/* welcome photo collage */
.welcome__media { position: relative; margin: 0; min-height: clamp(400px, 40vw, 560px); align-self: center; }
.welcome__media::before {
  content: ""; position: absolute; top: -18px; right: -18px; width: 46%; aspect-ratio: 1;
  border: 2px dashed color-mix(in srgb, var(--gold) 65%, #fff); border-radius: 50%;
}
.welcome__photo { position: absolute; inset: 0 16% 16% 0; min-height: 0; border-radius: 24px; }
.welcome__photo--small { inset: auto 0 0 auto; width: 50%; height: 46%; border-radius: 20px; box-shadow: 0 0 0 8px var(--surface), 0 24px 48px -28px rgba(15, 28, 92, .5); }
.welcome__badge {
  position: absolute; left: 6%; bottom: 6%; z-index: 2;
  display: flex; align-items: center; gap: 14px;
  padding: 12px 18px 12px 12px; border-radius: 16px;
  background: var(--navy); color: #fff; box-shadow: 0 24px 40px -24px rgba(15, 28, 92, .7);
}
.welcome__badge img { width: 64px; height: auto; }
.welcome__badge b { display: block; font: 700 1rem/1.2 var(--font-display); }
.welcome__badge small { color: var(--gold-soft); font-size: 13px; letter-spacing: .02em; }
@media (max-width: 900px) { .welcome__media { min-height: 380px; } .welcome__media::before { right: 0; top: -12px; } }
@media (max-width: 480px) { .welcome__media { min-height: 320px; } .welcome__badge { left: 0; bottom: 4%; } .welcome__badge img { width: 52px; } }

/* welcome + facts */
.welcome { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(32px, 6vw, 96px); align-items: start; }
.welcome__body p { font-size: 18px; color: #343a4f; }
.welcome__motto {
  margin-top: 28px; padding: 22px 26px; border-left: 5px solid var(--gold);
  background: var(--bg); border-radius: 0 12px 12px 0;
  font: 500 italic clamp(1.15rem, 1.8vw, 1.4rem)/1.4 var(--font-serif); color: var(--navy);
}
.facts { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.fact { padding: 26px 22px; border-radius: 16px; background: var(--bg); border-top: 5px solid var(--c, var(--blue)); }
.fact b { display: block; font: 800 clamp(1.8rem, 3vw, 2.5rem)/1 var(--font-display); color: var(--navy); margin-bottom: 8px; font-variant-numeric: tabular-nums; }
.fact span { font-size: 14.5px; color: var(--muted); line-height: 1.4; display: block; }
@media (max-width: 900px) { .welcome { grid-template-columns: 1fr; } }

/* news & events */
.news { display: grid; grid-template-columns: 2fr 1fr; gap: clamp(24px, 3vw, 40px); }
.news__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.post { display: flex; flex-direction: column; background: var(--surface); border-radius: var(--radius); overflow: hidden; text-decoration: none; border: 1px solid var(--line); transition: transform .25s var(--ease), box-shadow .25s var(--ease); }
.post:hover { transform: translateY(-4px); box-shadow: 0 22px 40px -28px rgba(15, 28, 92, .55); }
.post .ph { border-radius: 0; min-height: 190px; }
.post__body { padding: 20px 22px 24px; }
.post__meta { font: 600 12px/1 var(--font-body); letter-spacing: .1em; text-transform: uppercase; color: var(--maroon); margin-bottom: 10px; }
.post h3 { font: 700 1.3rem/1.25 var(--font-display); }
.events { background: var(--navy); color: #e6e9f7; border-radius: var(--radius); padding: 28px; }
.events h3 { color: #fff; font: 700 1.4rem/1.2 var(--font-display); margin-bottom: 18px; }
.event { display: grid; grid-template-columns: 64px 1fr; gap: 16px; padding: 16px 0; border-top: 1px solid rgba(255, 255, 255, .14); }
.event__date { text-align: center; background: var(--gold-soft); color: var(--navy); border-radius: 10px; padding: 8px 0; font: 800 22px/1 var(--font-display); }
.event__date small { display: block; font: 700 11px/1.4 var(--font-body); letter-spacing: .1em; text-transform: uppercase; }
.event b { color: #fff; display: block; line-height: 1.35; }
.event span { font-size: 14px; opacity: .75; }
@media (max-width: 960px) { .news { grid-template-columns: 1fr; } }
@media (max-width: 620px) { .news__grid { grid-template-columns: 1fr; } }

/* "we believe ... so ..." statements */
.story { display: grid; gap: clamp(56px, 8vw, 110px); }
.story__item { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 72px); align-items: center; }
.story__item:nth-child(even) .story__text { order: 2; }
.story__we { font: 800 clamp(1.7rem, 3.2vw, 2.7rem)/1.12 var(--font-display); color: var(--navy); margin-bottom: 18px; }
.story__so { font: 400 italic clamp(1.3rem, 2.2vw, 1.8rem)/1.3 var(--font-serif); color: var(--maroon); }
.story__item .ph { min-height: clamp(240px, 30vw, 380px); }
@media (max-width: 820px) { .story__item { grid-template-columns: 1fr; } .story__item:nth-child(even) .story__text { order: 0; } }

/* stage flip cards */
.stages { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.stage { perspective: 1400px; min-height: 440px; }
.stage__inner { position: relative; height: 100%; min-height: inherit; transform-style: preserve-3d; transition: transform .7s var(--ease); }
.stage.is-flipped .stage__inner { transform: rotateY(180deg); }
.stage__face {
  position: absolute; inset: 0; border-radius: var(--radius); padding: 30px;
  display: flex; flex-direction: column;
  backface-visibility: hidden; -webkit-backface-visibility: hidden;
}
.stage__front { background: var(--c); color: #fff; }
.stage__front .ph { --tint: #fff; flex: 1; min-height: 0; margin: 22px 0; background: rgba(255, 255, 255, .12); color: #fff; }
.stage__front .ph__label { background: rgba(0, 0, 0, .18); }
.stage__word { font: 900 clamp(2.4rem, 4vw, 3.4rem)/1 var(--font-display); text-transform: uppercase; letter-spacing: -.01em; }
.stage__grades { font: 600 13px/1 var(--font-body); letter-spacing: .14em; text-transform: uppercase; opacity: .85; margin-top: 10px; }
.stage__name { font: 700 1.15rem/1.2 var(--font-display); text-transform: uppercase; }
.stage__back { background: var(--surface); border: 2px solid var(--c); transform: rotateY(180deg); }
.stage__back h3 { font: 800 1.5rem/1.15 var(--font-display); color: var(--c); margin-bottom: 14px; text-transform: uppercase; }
.stage__back p { color: #343a4f; }
.stage__toggle {
  margin-top: auto; align-self: flex-start;
  display: inline-flex; align-items: center; gap: 10px;
  border: 0; background: none; padding: 0; color: inherit;
  font: 700 13px/1 var(--font-body); letter-spacing: .1em; text-transform: uppercase;
}
.stage__toggle i { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; border: 2px solid currentColor; font-style: normal; font-size: 20px; transition: transform .3s var(--ease); }
.stage__toggle:hover i { transform: rotate(90deg); }
.stage__back .stage__toggle { color: var(--c); }
@media (max-width: 960px) { .stages { grid-template-columns: 1fr; } .stage { min-height: 400px; } }

/* houses */
.houses { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.house { position: relative; padding: 30px 26px 28px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); overflow: hidden; }
.house::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 8px; background: var(--c); }
.house__mark { width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; background: color-mix(in srgb, var(--c) 12%, #fff); color: var(--c); margin-bottom: 18px; }
.house__mark svg { width: 26px; height: 26px; }
.house h3 { font: 800 1.7rem/1 var(--font-display); text-transform: uppercase; color: var(--c); }
.house small { display: block; margin: 6px 0 12px; font: 600 12px/1 var(--font-body); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.house p { margin: 0; font-size: 15.5px; color: #3e4458; }
@media (max-width: 960px) { .houses { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .houses { grid-template-columns: 1fr; } }

/* "Room for every talent": numbered programme list + crest-coloured feature panel */
.tx {
  --panel-h: 520px;
  display: grid; grid-template-columns: minmax(300px, 400px) minmax(0, 1fr);
  grid-template-rows: repeat(5, auto) 1fr;
  column-gap: clamp(24px, 4vw, 56px);
}
.tx__item { display: contents; }

/* the list */
.tx__tab {
  grid-column: 1; grid-row: var(--r);
  position: relative; display: grid; grid-template-columns: 52px minmax(0, 1fr) 24px; align-items: center; gap: 14px;
  width: 100%; padding: 20px 6px 20px 0; border: 0; border-bottom: 1px solid rgba(255, 255, 255, .12);
  background: none; color: rgba(255, 255, 255, .62); text-align: left; cursor: pointer;
  transition: color .25s;
}
.tx__item:first-child .tx__tab { border-top: 1px solid rgba(255, 255, 255, .12); }
.tx__num { font: 900 1.9rem/1 var(--font-display); letter-spacing: -.02em; color: rgba(255, 255, 255, .22); font-variant-numeric: tabular-nums; transition: color .25s; }
.tx__label b { display: block; font: 700 clamp(1.05rem, 1.4vw, 1.2rem)/1.25 var(--font-display); color: inherit; }
.tx__label small { display: block; margin-top: 4px; font-size: 13px; line-height: 1.4; color: rgba(255, 255, 255, .45); }
.tx__arrow { color: var(--gold-soft); opacity: 0; transform: translateX(-6px); transition: opacity .25s, transform .25s var(--ease); }
.tx__arrow svg { width: 20px; height: 20px; }
.tx__progress { position: absolute; left: 0; bottom: -1px; height: 2px; width: 100%; background: var(--gold-soft); transform: scaleX(0); transform-origin: left; }
.tx__tab:hover { color: #fff; }
.tx__tab:hover .tx__num { color: rgba(255, 255, 255, .45); }
.tx__item.is-active .tx__tab { color: #fff; }
.tx__item.is-active .tx__num { color: var(--gold-soft); }
.tx__item.is-active .tx__label small { color: rgba(255, 255, 255, .7); }
.tx__item.is-active .tx__arrow { opacity: 1; transform: none; }
.tx__item.is-active .tx__progress { transform: scaleX(1); }
.tx.is-auto .tx__item.is-active .tx__progress { animation: txProgress var(--tx-dur, 7s) linear both; }
@keyframes txProgress { from { transform: scaleX(0); } to { transform: scaleX(1); } }

/* the feature panel */
.tx__panel {
  grid-column: 2; grid-row: 1 / -1; align-self: stretch;
  position: relative; overflow: hidden; isolation: isolate;
  min-height: var(--panel-h);
  display: flex; flex-direction: column; justify-content: flex-end; gap: 14px;
  padding: clamp(28px, 4vw, 52px);
  border-radius: 28px;
  background:
    radial-gradient(110% 85% at 100% 0%, color-mix(in srgb, var(--c) 85%, transparent) 0%, transparent 62%),
    linear-gradient(160deg, color-mix(in srgb, var(--c) 62%, var(--navy)) 0%, color-mix(in srgb, var(--c) 22%, var(--navy)) 100%);
  border: 1px solid color-mix(in srgb, var(--c) 45%, transparent);
  box-shadow: 0 40px 80px -40px rgba(0, 0, 0, .55);
  color: #fff;
  opacity: 0; visibility: hidden; transform: translateY(14px);
  transition: opacity .45s var(--ease), transform .45s var(--ease), visibility .45s;
}
.tx__item.is-active .tx__panel { opacity: 1; visibility: visible; transform: none; }
/* soft rings echoing the crest seal */
.tx__panel::before, .tx__panel::after {
  content: ""; position: absolute; z-index: -1; border-radius: 50%;
  border: 1.5px solid rgba(255, 255, 255, .12);
}
.tx__panel::before { width: 520px; height: 520px; right: -170px; top: -190px; }
.tx__panel::after { width: 360px; height: 360px; right: -90px; top: -110px; border-color: rgba(242, 207, 91, .2); }
.tx__watermark { position: absolute; z-index: -1; right: clamp(16px, 4vw, 48px); top: clamp(16px, 3vw, 40px); width: clamp(140px, 16vw, 220px); color: rgba(255, 255, 255, .14); }
.tx__watermark svg { width: 100%; height: auto; stroke-width: 1.2; }
.tx__kicker { margin: 0; font: 700 12.5px/1.2 var(--font-body); letter-spacing: .16em; text-transform: uppercase; color: var(--gold-soft); }
.tx__title { margin: 0; color: #fff; font: 900 clamp(2rem, 4vw, 3.3rem)/1.02 var(--font-display); letter-spacing: -.02em; max-width: 16ch; text-wrap: balance; }
.tx__text { margin: 0 0 10px; max-width: 46ch; font-size: clamp(1rem, 1.3vw, 1.15rem); line-height: 1.6; color: rgba(255, 255, 255, .86); }

.tx__tiles { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(120px, 1fr)); gap: 12px; }
.tx__tiles li {
  display: flex; flex-direction: column; align-items: flex-start; justify-content: space-between; gap: 18px;
  min-height: 112px; padding: 16px; border-radius: 16px;
  background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .16);
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
  font: 700 1.02rem/1.2 var(--font-display); color: #fff;
  transition: background-color .25s, transform .25s var(--ease);
}
.tx__tiles li:hover { background: rgba(255, 255, 255, .16); transform: translateY(-3px); }
.tx__tiles i, .tx__points i { display: grid; place-items: center; flex: none; width: 40px; height: 40px; border-radius: 12px; background: var(--gold-soft); color: var(--navy); font-style: normal; }
.tx__tiles svg, .tx__points svg { width: 21px; height: 21px; }
.tx__points { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 12px; }
.tx__points li {
  display: flex; align-items: center; gap: 12px;
  padding: 14px 16px; border-radius: 16px;
  background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .16);
  font-weight: 600; font-size: 15.5px; line-height: 1.3; color: #fff;
}

/* phones and small tablets: an accordion, each panel opens under its programme */
@media (max-width: 900px) {
  .tx { display: block; }
  .tx__item { display: block; }
  .tx__tab { padding: 18px 4px 18px 0; }
  .tx__arrow { opacity: 1; transform: rotate(90deg); transition: transform .3s var(--ease); }
  .tx__item.is-active .tx__arrow { transform: rotate(-90deg); }
  .tx__progress { display: none; }
  .tx__panel { display: none; min-height: 0; margin: 14px 0 18px; padding: 26px 22px; border-radius: 22px; opacity: 1; visibility: visible; transform: none; }
  .tx__item.is-active .tx__panel { display: flex; animation: fadeUp .4s var(--ease); }
  .tx__watermark { width: 120px; }
  .tx__panel::before { width: 320px; height: 320px; right: -140px; top: -150px; }
  .tx__panel::after { width: 220px; height: 220px; right: -80px; top: -90px; }
}
@media (max-width: 420px) { .tx__tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); } .tx__tiles li { min-height: 96px; } }
@media (prefers-reduced-motion: reduce) {
  .tx__panel, .tx__arrow, .tx__tiles li { transition: none; }
  .tx.is-auto .tx__item.is-active .tx__progress { animation: none; }
}

/* activity tiles */
.activities { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 14px; }
.activity { display: flex; align-items: center; gap: 14px; padding: 18px; border-radius: 14px; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .14); color: #fff; font-weight: 600; }
.activity i { display: grid; place-items: center; flex: none; width: 42px; height: 42px; border-radius: 12px; background: var(--gold-soft); color: var(--navy); font-style: normal; }
.activity i svg { width: 22px; height: 22px; }

/* testimonials */
.quotes { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(32px, 6vw, 96px); align-items: center; }
.quotes__slide { display: none; }
.quotes__slide.is-active { display: block; animation: fadeUp .5s var(--ease); }
.quotes blockquote { margin: 0; font: 400 clamp(1.25rem, 2.1vw, 1.7rem)/1.45 var(--font-serif); color: var(--navy); }
.quotes blockquote::before { content: "\201C"; display: block; font: 900 5rem/0.6 var(--font-serif); color: var(--gold); margin-bottom: 12px; }
.quotes cite { display: block; margin-top: 22px; font: 700 14px/1.3 var(--font-body); letter-spacing: .1em; text-transform: uppercase; font-style: normal; color: var(--maroon); }
.quotes__ctrl { display: flex; align-items: center; gap: 18px; margin-top: 30px; }
.quotes__count { font: 700 15px/1 var(--font-body); font-variant-numeric: tabular-nums; color: var(--navy); }
.round-btn { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; border: 2px solid var(--navy); background: transparent; color: var(--navy); transition: background-color .2s, color .2s; }
.round-btn:hover { background: var(--navy); color: #fff; }
.round-btn svg { width: 18px; height: 18px; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
@media (max-width: 860px) { .quotes { grid-template-columns: 1fr; } }

/* leadership messages */
.leaders { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.leader { display: grid; grid-template-columns: 150px 1fr; gap: 24px; padding: 26px; background: var(--surface); border-radius: var(--radius); border: 1px solid var(--line); }
.leader .ph { min-height: 170px; border-radius: 14px; }
.leader h3 { font: 800 1.45rem/1.15 var(--font-display); margin: 4px 0 10px; }
.leader p { color: #3e4458; font-size: 16px; }
@media (max-width: 960px) { .leaders { grid-template-columns: 1fr; } }
@media (max-width: 520px) { .leader { grid-template-columns: 1fr; } }

/* admissions CTA band */
.cta { position: relative; overflow: hidden; border-radius: 28px; background: var(--maroon); color: #fbe9e0; padding: clamp(36px, 6vw, 80px); display: grid; grid-template-columns: 1.3fr 1fr; gap: 32px; align-items: center; }
.cta h2 { color: #fff; font: 900 clamp(2rem, 4.6vw, 3.8rem)/1 var(--font-display); text-transform: uppercase; margin-bottom: 16px; }
.cta p { max-width: 52ch; opacity: .9; }
.cta__actions { display: flex; flex-wrap: wrap; gap: 12px; justify-content: flex-end; }
.cta .btn--ghost { color: #fff; border-color: rgba(255, 255, 255, .6); }
.cta .btn--ghost:hover { background: #fff; color: var(--maroon); border-color: #fff; }
.cta__quarters { position: absolute; right: -60px; top: -60px; width: 220px; height: 220px; opacity: .18; display: grid; grid-template-columns: 1fr 1fr; border-radius: 50%; overflow: hidden; transform: rotate(18deg); }
.cta__quarters span:nth-child(1) { background: var(--blue); }
.cta__quarters span:nth-child(2) { background: #fff; }
.cta__quarters span:nth-child(3) { background: var(--green); }
.cta__quarters span:nth-child(4) { background: var(--orange); }
@media (max-width: 860px) { .cta { grid-template-columns: 1fr; } .cta__actions { justify-content: flex-start; } }

/* =========================================================
   Inner pages
   ========================================================= */
.page-hero { padding: clamp(36px, 5vw, 64px) 0 0; }
.page-hero h1 {
  font: 800 clamp(2.6rem, 6.4vw, 5.4rem)/1 var(--font-display);
  letter-spacing: -.02em; color: var(--navy);
  margin-bottom: clamp(18px, 2.5vw, 32px);
}
.page-hero__intro { max-width: 60ch; font-size: clamp(1.1rem, 1.6vw, 1.3rem); color: var(--muted); margin-bottom: clamp(26px, 3vw, 40px); }
.page-hero .ph { min-height: clamp(220px, 34vw, 460px); }
.page-hero--plain { padding-bottom: clamp(16px, 2vw, 24px); border-bottom: 1px solid var(--line); }

.prose-grid { display: grid; grid-template-columns: 260px 1fr; gap: clamp(32px, 6vw, 96px); }
.prose-grid__aside { position: sticky; top: calc(var(--header-h) + 70px); align-self: start; }
.prose-grid__aside .eyebrow { margin-bottom: 10px; }
.prose-grid__aside p { color: var(--muted); font-size: 15px; }
@media (max-width: 900px) { .prose-grid { grid-template-columns: 1fr; } .prose-grid__aside { position: static; } }

.prose { max-width: 72ch; }
.prose p { font-size: 18px; color: #2e3447; }
.prose h2 { font: 800 clamp(1.6rem, 2.6vw, 2.2rem)/1.15 var(--font-display); margin: 1.6em 0 .6em; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { font: 700 1.25rem/1.3 var(--font-display); margin: 1.4em 0 .5em; }
.prose blockquote { margin: 1.6em 0; padding: 4px 0 4px 24px; border-left: 4px solid var(--gold); font: 500 italic 1.35rem/1.45 var(--font-serif); color: var(--navy); }
.prose ul { padding-left: 1.2em; }
.prose li { margin-bottom: .5em; }
.prose li::marker { color: var(--gold); }

.signature { margin-top: 36px; padding-top: 22px; border-top: 1px solid var(--line); display: flex; align-items: center; gap: 18px; }
.signature .ph { width: 72px; height: 72px; min-height: 0; border-radius: 50%; }
.signature b { display: block; color: var(--navy); font-size: 18px; }
.signature span { color: var(--muted); font-size: 14px; }

/* numbered rules */
.rules { counter-reset: rule; list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.rules li { counter-increment: rule; display: grid; grid-template-columns: 52px 1fr; gap: 16px; align-items: start; padding: 18px 20px; background: var(--surface); border: 1px solid var(--line); border-radius: 14px; font-size: 16.5px; }
.rules li::before { content: counter(rule, decimal-leading-zero); font: 800 1.35rem/1.2 var(--font-display); color: var(--gold); font-variant-numeric: tabular-nums; }

/* cards + feature grids */
.card-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 18px; }
.card { padding: 26px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); }
.card h3 { font: 700 1.25rem/1.25 var(--font-display); margin-bottom: 8px; }
.card p { margin: 0; color: #3e4458; font-size: 16px; }
.card__icon { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; background: color-mix(in srgb, var(--c, var(--blue)) 12%, #fff); color: var(--c, var(--blue)); margin-bottom: 16px; }
.card__icon svg { width: 24px; height: 24px; }

.steps { list-style: none; counter-reset: step; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.steps li { counter-increment: step; position: relative; padding: 70px 26px 26px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); }
.steps li::before { content: counter(step); position: absolute; top: 22px; left: 26px; width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; background: var(--navy); color: var(--gold-soft); font: 800 16px/1 var(--font-display); }
.steps b { display: block; color: var(--navy); font-size: 18px; margin-bottom: 6px; }
.steps span { color: #3e4458; font-size: 15.5px; }
@media (max-width: 860px) { .steps { grid-template-columns: 1fr; } }

.note { padding: 18px 22px; border-radius: 14px; background: color-mix(in srgb, var(--gold-soft) 30%, #fff); border: 1px solid color-mix(in srgb, var(--gold) 40%, #fff); color: #4a3a0e; font-size: 15.5px; }

/* document table */
.doc-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.doc-list li { display: grid; grid-template-columns: 56px 1fr auto; gap: 16px; align-items: center; padding: 16px 6px; border-bottom: 1px solid var(--line); }
.doc-list__no { font: 800 1.1rem/1 var(--font-display); color: var(--gold); font-variant-numeric: tabular-nums; }
.doc-list__name { font-weight: 600; color: var(--navy); }
.doc-list__name small { display: block; font-weight: 400; color: var(--muted); font-size: 13.5px; }
a.dl { display: inline-flex; align-items: center; gap: 8px; padding: 9px 16px; border-radius: 999px; border: 1.5px solid var(--navy); color: var(--navy); text-decoration: none; font: 700 12.5px/1 var(--font-body); letter-spacing: .08em; text-transform: uppercase; white-space: nowrap; }
a.dl:hover { background: var(--navy); color: #fff; }
a.dl svg { width: 14px; height: 14px; }
@media (max-width: 560px) { .doc-list li { grid-template-columns: 40px 1fr; } .doc-list a.dl { grid-column: 2; justify-self: start; } }

/* forms */
.form { display: grid; gap: 22px; }
.form fieldset { border: 0; padding: 0; margin: 0; display: grid; gap: 18px; }
.form legend { font: 800 1.3rem/1.2 var(--font-display); color: var(--navy); margin-bottom: 16px; padding-bottom: 10px; border-bottom: 2px solid var(--gold-soft); width: 100%; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form__row--3 { grid-template-columns: 1fr 1fr 1fr; }
@media (max-width: 640px) { .form__row, .form__row--3 { grid-template-columns: 1fr; } }
.field { display: grid; gap: 7px; }
.field label { font: 600 14px/1.2 var(--font-body); color: var(--navy); }
.field label .req { color: var(--red); }
.field input, .field select, .field textarea {
  width: 100%; padding: 13px 14px;
  font: 400 16px/1.4 var(--font-body); color: var(--ink);
  background: var(--surface); border: 1.5px solid var(--line); border-radius: 10px;
  transition: border-color .2s, box-shadow .2s;
}
.field textarea { min-height: 140px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--navy); box-shadow: 0 0 0 4px color-mix(in srgb, var(--blue) 14%, transparent); }
.form__panel { background: var(--surface); border: 1px solid var(--line); border-radius: 22px; padding: clamp(22px, 4vw, 44px); }
.form__ok { display: none; padding: 16px 18px; border-radius: 12px; background: color-mix(in srgb, var(--green) 12%, #fff); color: var(--green); font-weight: 600; }
.form__ok.is-on { display: block; }
.form__ok--warn { background: color-mix(in srgb, var(--maroon) 9%, #fff); color: var(--maroon); }
.form__ok a { color: inherit; }

/* a photo from the admin, filling its placeholder box */
.ph > .ph__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
/* several admin photos cross-fading in one box (home hero, About hero) */
.ph--slides > .ph__img { opacity: 0; transition: opacity 1.2s var(--ease); }
.ph--slides > .ph__img.is-active { opacity: 1; }
.ph__toggle { position: absolute; right: 16px; bottom: 16px; z-index: 2; width: 42px; height: 42px; background: rgba(255, 255, 255, .88); border-color: transparent; }
.ph__toggle svg { width: 16px; height: 16px; }
@media (prefers-reduced-motion: reduce) { .ph--slides > .ph__img { transition: none; } }

/* academic calendar (Academics page) */
.cal { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 340px), 1fr)); gap: 14px; }
.cal li { display: grid; grid-template-columns: 64px minmax(0, 1fr); gap: 16px; padding: 18px; border-radius: 14px; background: var(--bg); border-left: 5px solid var(--c, var(--blue)); }
.cal__date { align-self: start; text-align: center; background: var(--navy); color: var(--gold-soft); border-radius: 10px; padding: 8px 0; font: 800 22px/1 var(--font-display); }
.cal__date small { display: block; font: 700 11px/1.4 var(--font-body); letter-spacing: .1em; text-transform: uppercase; }
.cal__kind { display: block; margin-bottom: 4px; font: 700 11.5px/1.2 var(--font-body); letter-spacing: .1em; text-transform: uppercase; color: var(--c, var(--blue)); }
.cal b { display: block; color: var(--navy); line-height: 1.35; }
.cal__when { display: block; font-size: 14px; color: var(--muted); }
.cal p { margin: 6px 0 0; font-size: 15px; color: #3e4458; }

/* a single blog post (blog.html?post=…) */
.article { max-width: 860px; }
.article .post__meta { margin: 28px 0 12px; }
.article__title { font: 800 clamp(1.8rem, 3.6vw, 3rem)/1.1 var(--font-display); margin-bottom: clamp(22px, 3vw, 34px); overflow-wrap: anywhere; }
.article__photo { min-height: clamp(220px, 40vw, 480px); margin-bottom: clamp(26px, 3vw, 40px); }

/* contact */
.contact-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: clamp(28px, 5vw, 72px); }
.contact-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.contact-list li { display: grid; grid-template-columns: 48px 1fr; gap: 16px; padding: 20px; background: var(--surface); border-radius: 16px; border: 1px solid var(--line); }
.contact-list i { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 12px; background: var(--navy); color: var(--gold-soft); font-style: normal; }
.contact-list i svg { width: 22px; height: 22px; }
.contact-list b { display: block; color: var(--navy); margin-bottom: 2px; }
.contact-list a { color: var(--ink); }
.map { margin: 14px 0 0; overflow: hidden; border-radius: var(--radius); border: 1px solid var(--line); background: var(--surface); }
.map__frame { display: block; width: 100%; height: clamp(260px, 32vw, 340px); border: 0; background: var(--surface-2); }
.map__bar { display: flex; align-items: center; justify-content: space-between; gap: 14px; flex-wrap: wrap; padding: 14px 16px; border-top: 1px solid var(--line); }
.map__bar b { display: block; color: var(--navy); }
.map__bar span { font-size: 14.5px; color: var(--muted); line-height: 1.4; }
.map__bar .btn { padding: 11px 20px; font-size: 12.5px; }
@media (max-width: 900px) { .contact-grid { grid-template-columns: minmax(0, 1fr); } .contact-list a, .contact-list div { overflow-wrap: anywhere; } }

/* gallery */
.filters { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 28px; }
.chip { padding: 10px 18px; border-radius: 999px; border: 1.5px solid var(--line); background: var(--surface); color: var(--navy); font: 600 14px/1 var(--font-body); transition: background-color .2s, color .2s, border-color .2s; }
.chip:hover { border-color: var(--navy); }
.chip.is-active { background: var(--navy); border-color: var(--navy); color: #fff; }
.gallery { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 200px; gap: 14px; }
.gallery .ph { min-height: 0; height: 100%; }
.gallery .ph.is-tall { grid-row: span 2; }
.gallery .ph.is-wide { grid-column: span 2; }
[hidden] { display: none !important; }
@media (max-width: 900px) { .gallery { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .gallery { grid-template-columns: 1fr; } .gallery .ph.is-wide { grid-column: auto; } }

/* TC lookup */
.lookup { display: grid; grid-template-columns: 1fr 1fr auto; gap: 14px; align-items: end; }
@media (max-width: 760px) { .lookup { grid-template-columns: 1fr; } }

/* related links (navy tiles with gold text — Shady Side pattern) */
.related { padding: clamp(56px, 7vw, 96px) 0 0; }
.related__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 18px; }
.related a {
  display: flex; align-items: center; justify-content: center; text-align: center;
  min-height: 74px; padding: 14px 20px;
  background: var(--navy); color: var(--gold-soft); text-decoration: none;
  font: 700 clamp(1.05rem, 1.5vw, 1.3rem)/1.2 var(--font-display);
  transition: background-color .25s var(--ease), transform .25s var(--ease);
}
.related a:hover { background: var(--blue); transform: translateY(-3px); }

/* =========================================================
   Mandatory Public Disclosure
   ========================================================= */
.disc-facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; margin-bottom: 28px; }
.disc-facts > div { background: var(--surface); padding: 20px 24px; }
.disc-facts small { display: block; font: 600 12px/1.2 var(--font-body); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin-bottom: 6px; }
.disc-facts b { font: 700 1.15rem/1.3 var(--font-display); color: var(--navy); overflow-wrap: anywhere; }
.disc-facts a { text-decoration: none; }
@media (max-width: 760px) { .disc-facts { grid-template-columns: 1fr; } }

/* the five main headings, each a dropdown */
.disc-toolbar { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-bottom: 14px; }
.disc-toolbar > span { font: 600 12.5px/1 var(--font-body); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.disc-toolbar button { border: 0; padding: 0 0 2px; background-color: transparent; cursor: pointer; font-size: 15px; }
.disc-accordion { display: grid; gap: 14px; }
.disc-acc {
  position: relative; overflow: hidden;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  scroll-margin-top: calc(var(--header-h) + 20px);
  transition: border-color .2s, box-shadow .25s var(--ease);
}
.disc-acc::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 6px; background: var(--c); }
.disc-acc:hover, .disc-acc[open] { border-color: color-mix(in srgb, var(--c) 45%, var(--line)); }
.disc-acc[open] { box-shadow: 0 22px 44px -34px rgba(15, 28, 92, .5); }
.disc-acc summary {
  display: grid; grid-template-columns: 52px minmax(0, 1fr) auto 42px; align-items: center; gap: 18px;
  padding: 22px 24px 22px 30px; cursor: pointer; list-style: none;
  transition: background-color .2s;
}
.disc-acc summary::-webkit-details-marker { display: none; }
.disc-acc summary:hover { background: #fbfaf6; }
.disc-acc[open] summary { border-bottom: 1px solid var(--line); }
.disc-acc__letter {
  display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%;
  background: var(--navy); color: var(--gold-soft);
  box-shadow: inset 0 0 0 2px var(--navy), inset 0 0 0 3.5px color-mix(in srgb, var(--gold-soft) 55%, transparent);
  font: 600 1.15rem/1 var(--font-serif); letter-spacing: .04em; font-variant-numeric: lining-nums;
}
.disc-acc__title { display: grid; gap: 4px; }
.disc-acc__name { font: 800 clamp(1.2rem, 2vw, 1.5rem)/1.2 var(--font-display); color: var(--navy); }
.disc-acc__title small { font-size: 15px; line-height: 1.45; color: var(--muted); }
.disc-acc__count { padding: 7px 14px; border-radius: 999px; background: var(--surface-2); color: var(--navy); font: 600 12px/1 var(--font-body); letter-spacing: .06em; text-transform: uppercase; white-space: nowrap; font-variant-numeric: tabular-nums; }
.disc-acc__icon { position: relative; width: 42px; height: 42px; border-radius: 50%; border: 2px solid var(--navy); color: var(--navy); transition: background-color .2s, color .2s; }
.disc-acc__icon::before, .disc-acc__icon::after { content: ""; position: absolute; left: 50%; top: 50%; width: 16px; height: 2px; margin: -1px 0 0 -8px; background: currentColor; border-radius: 2px; transition: transform .3s var(--ease); }
.disc-acc__icon::after { transform: rotate(90deg); }
.disc-acc[open] .disc-acc__icon { background: var(--navy); color: #fff; }
.disc-acc[open] .disc-acc__icon::after { transform: rotate(0deg); }
.disc-acc__body { padding: clamp(18px, 3vw, 30px) clamp(16px, 3vw, 30px) 6px clamp(22px, 3vw, 36px); }
.disc-acc[open] .disc-acc__body { animation: fadeUp .35s var(--ease); }
@media (max-width: 640px) {
  .disc-acc summary { grid-template-columns: 40px minmax(0, 1fr) 36px; gap: 14px; padding: 18px 16px 18px 22px; }
  .disc-acc__letter { width: 42px; height: 42px; font-size: .95rem; }
  .disc-acc__icon { width: 36px; height: 36px; }
  .disc-acc__count { display: none; }
  .disc-acc__body { padding: 12px 10px 2px 16px; }
  .disc-acc__body .disc-docs li { padding: 16px 14px; }
}
@media (prefers-reduced-motion: reduce) { .disc-acc[open] .disc-acc__body { animation: none; } }

/* information tables */
.disc-table { width: 100%; border-collapse: separate; border-spacing: 0; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; margin-bottom: 28px; }
.disc-table caption { text-align: left; font: 800 1.35rem/1.2 var(--font-display); color: var(--navy); padding: 0 0 14px; }
.disc-table th, .disc-table td { text-align: left; vertical-align: top; padding: 16px 20px; border-top: 1px solid var(--line); font-size: 16px; line-height: 1.5; }
.disc-table thead th { border-top: 0; background: var(--navy); color: #fff; font: 700 12px/1.2 var(--font-body); letter-spacing: .12em; text-transform: uppercase; }
.disc-table thead th:first-child { width: 84px; white-space: nowrap; }
.disc-table tbody th { font-weight: 600; color: var(--navy); width: 42%; }
.disc-table td:first-child { width: 72px; font: 800 1rem/1.5 var(--font-display); color: var(--gold); font-variant-numeric: tabular-nums; }
.disc-table tbody tr:nth-child(even) { background: #fbfaf6; }
.disc-table a { color: var(--navy); font-weight: 600; }
@media (max-width: 640px) {
  .disc-table thead { display: none; }
  .disc-table tr { display: grid; grid-template-columns: 44px 1fr; padding: 14px 16px; border-top: 1px solid var(--line); }
  .disc-table th, .disc-table td { border: 0; padding: 2px 0; width: auto !important; }
  .disc-table td:last-child { grid-column: 2; }
}

/* numbered particulars with their files */
.disc-docs { list-style: none; counter-reset: disc; margin: 0 0 28px; padding: 0; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.disc-docs li { counter-increment: disc; display: grid; grid-template-columns: 56px minmax(0, 1fr) minmax(0, 36%); gap: 8px 18px; align-items: center; padding: 18px 20px; border-top: 1px solid var(--line); }
.disc-docs li:first-child { border-top: 0; }
.disc-docs li:nth-child(even) { background: #fbfaf6; }
.disc-docs__no::before { content: counter(disc, decimal-leading-zero); font: 800 1.1rem/1 var(--font-display); color: var(--gold); font-variant-numeric: tabular-nums; }
.disc-docs__name { font-weight: 600; color: var(--navy); line-height: 1.45; }
.disc-docs__files { display: flex; flex-direction: column; align-items: flex-end; gap: 8px; }
.disc-docs__files a.dl { white-space: normal; text-align: left; line-height: 1.25; }
@media (max-width: 760px) {
  .disc-docs li { grid-template-columns: 40px 1fr; }
  .disc-docs__files { grid-column: 2; align-items: flex-start; }
}
.disc-subhead { font: 800 1.35rem/1.2 var(--font-display); margin: 8px 0 14px; }

.pill { display: inline-flex; align-items: center; padding: 7px 14px; border-radius: 999px; background: var(--surface-2); color: var(--muted); font: 600 12px/1 var(--font-body); letter-spacing: .06em; text-transform: uppercase; white-space: nowrap; }

.disc-attach { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 12px; padding: 18px 20px; border-radius: 14px; background: color-mix(in srgb, var(--gold-soft) 22%, #fff); border: 1px solid color-mix(in srgb, var(--gold) 35%, #fff); margin-bottom: 28px; }
.disc-attach > span { font-weight: 600; color: var(--navy); margin-right: auto; }

.disc-saras { display: grid; grid-template-columns: 72px 1fr; gap: 24px; padding: clamp(24px, 4vw, 40px); background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); margin-bottom: 28px; }
.disc-saras__icon { display: grid; place-items: center; width: 72px; height: 72px; border-radius: 18px; background: var(--navy); color: var(--gold-soft); }
.disc-saras__icon svg { width: 34px; height: 34px; }
.disc-saras h3 { font: 800 1.5rem/1.2 var(--font-display); margin-bottom: 10px; }
.disc-saras p { color: #3e4458; }
.disc-saras__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 18px; }
@media (max-width: 560px) { .disc-saras { grid-template-columns: 1fr; } }

/* =========================================================
   "Latest news" ticker — slim band under the main menu
   ========================================================= */
.ticker { background: var(--surface); border-bottom: 1px solid var(--line); }
.ticker[hidden] { display: none; }
.ticker__inner { display: flex; align-items: center; gap: 14px; height: 50px; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.ticker__label {
  flex: none; display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 14px 8px 12px; border-radius: 999px;
  background: var(--maroon); color: #fff;
  font: 700 11.5px/1 var(--font-body); letter-spacing: .14em; text-transform: uppercase;
}
.ticker__dot { width: 8px; height: 8px; border-radius: 50%; background: var(--gold-soft); box-shadow: 0 0 0 3px rgba(242, 207, 91, .28); }
.ticker__label-short { display: none; }
.ticker__viewport {
  flex: 1; min-width: 0; overflow: hidden;
  -webkit-mask-image: linear-gradient(to right, transparent 0, #000 28px, #000 calc(100% - 48px), transparent 100%);
  mask-image: linear-gradient(to right, transparent 0, #000 28px, #000 calc(100% - 48px), transparent 100%);
}
.ticker__track { display: flex; width: max-content; margin: 0; padding: 0 0 0 20px; list-style: none; animation: ticker var(--ticker-dur, 30s) linear infinite; }
@keyframes ticker { to { transform: translateX(-50%); } }
.ticker:hover .ticker__track, .ticker:focus-within .ticker__track, .ticker.is-paused .ticker__track { animation-play-state: paused; }
.ticker__item { display: inline-flex; align-items: center; gap: 10px; white-space: nowrap; font-size: 15px; line-height: 1; }
.ticker__day {
  padding: 5px 10px; border-radius: 999px;
  background: color-mix(in srgb, var(--gold-soft) 45%, #fff); color: var(--navy);
  font: 700 11.5px/1 var(--font-body); letter-spacing: .06em; text-transform: uppercase;
}
.ticker__day.is-today { background: var(--navy); color: var(--gold-soft); }
.ticker__title { font-weight: 600; color: var(--navy); }
.ticker__bell { display: inline-grid; place-items: center; width: 24px; height: 24px; margin-right: -4px; border-radius: 50%; background: color-mix(in srgb, var(--maroon) 10%, #fff); color: var(--maroon); }
.ticker__bell svg { width: 13px; height: 13px; }
.ticker__meta { color: var(--muted); font-size: 14px; }
.ticker__sep { width: 7px; height: 7px; margin: 0 26px; transform: rotate(45deg); border-radius: 1px; background: conic-gradient(var(--maroon) 0 25%, var(--orange) 0 50%, var(--green) 0 75%, var(--blue) 0); }
.ticker__toggle {
  flex: none; display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%;
  border: 1px solid var(--line); background: var(--surface); color: var(--navy); cursor: pointer;
  transition: background-color .2s, border-color .2s;
}
.ticker__toggle:hover { border-color: var(--navy); background: var(--bg); }
.ticker__toggle svg { width: 13px; height: 13px; }
/* reduced motion: a still row that can be scrolled sideways */
.ticker.is-static .ticker__viewport { overflow-x: auto; scrollbar-width: thin; -webkit-mask-image: none; mask-image: none; }
.ticker.is-static .ticker__track { animation: none; padding-left: 0; }
@media (max-width: 640px) {
  .ticker__inner { height: 46px; gap: 10px; }
  .ticker__label { padding: 7px 11px 7px 10px; letter-spacing: .1em; }
  .ticker__label-long { display: none; }
  .ticker__label-short { display: inline; }
  .ticker__item { font-size: 14.5px; }
  .ticker__meta { font-size: 13.5px; }
  .ticker__sep { margin: 0 20px; }
  .ticker__toggle { width: 30px; height: 30px; }
}

/* =========================================================
   Gallery — photos first
   ========================================================= */
.gx-head { padding: clamp(32px, 4vw, 56px) 0 clamp(20px, 2.5vw, 32px); }
.gx-head .eyebrow { margin-bottom: 8px; }
.gx-head__row { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px 32px; flex-wrap: wrap; }
.gx-head h1 { font: 800 clamp(2.6rem, 6.4vw, 5.4rem)/1 var(--font-display); letter-spacing: -.02em; color: var(--navy); margin: 0; }
.gx-head__lede { margin: 0 0 6px; max-width: 44ch; color: var(--muted); font-size: clamp(1rem, 1.4vw, 1.15rem); }

/* category colours, matching the crest */
.gx-feature, .gx-item, .lb__cap { --c: var(--gold); }
[data-cat="events"] { --c: var(--orange); }
[data-cat="sports"] { --c: var(--green); }
[data-cat="classroom"] { --c: var(--blue); }
[data-cat="campus"] { --c: var(--maroon); }
.gx-tag {
  display: inline-flex; align-items: center; gap: 6px; align-self: flex-start;
  padding: 6px 12px; border-radius: 999px;
  background: rgba(255, 255, 255, .92); color: var(--navy);
  font: 700 11px/1 var(--font-body); letter-spacing: .12em; text-transform: uppercase;
}
.gx-tag::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--c); }

/* featured photo */
.gx-feature { position: relative; margin: 0 0 clamp(20px, 3vw, 32px); border-radius: 28px; overflow: hidden; background: var(--surface-2); }
.gx-feature[hidden] { display: none; }
.gx-feature__media { min-height: 0; aspect-ratio: 21 / 9; border-radius: 0; }
.gx-feature__media .ph__img { transition: transform 1.2s var(--ease); }
.gx-feature:hover .gx-feature__media .ph__img { transform: scale(1.03); }
.gx-feature__cap {
  position: absolute; inset: auto 0 0 0; z-index: 1;
  display: flex; flex-direction: column; gap: 12px;
  padding: clamp(60px, 10vw, 140px) clamp(20px, 4vw, 48px) clamp(20px, 3.5vw, 40px);
  background: linear-gradient(to top, rgba(15, 28, 92, .88) 0%, rgba(15, 28, 92, .45) 55%, transparent 100%);
  color: #fff;
}
.gx-feature__cap b { font: 900 clamp(1.6rem, 3.6vw, 3rem)/1.05 var(--font-display); letter-spacing: -.01em; max-width: 20ch; text-wrap: balance; }
.gx-feature__open { align-self: flex-start; margin-top: 4px; }
@media (max-width: 640px) { .gx-feature { border-radius: 20px; } .gx-feature__media { aspect-ratio: 4 / 3; } }

/* filter bar stays under the header while scrolling */
.gx-bar {
  position: sticky; top: calc(var(--header-h) - 1px); z-index: 20;
  display: flex; align-items: center; justify-content: space-between; gap: 12px 20px; flex-wrap: wrap;
  margin: 0 calc(-1 * var(--gutter)) clamp(18px, 2.4vw, 26px); padding: 12px var(--gutter);
  background: rgba(246, 244, 238, .9); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
}
.gx-filters { display: flex; gap: 8px; flex-wrap: wrap; }
.gx-filters .chip { display: inline-flex; align-items: center; gap: 8px; }
.gx-filters .chip[hidden] { display: none; }
.chip__count { min-width: 22px; padding: 3px 7px; border-radius: 999px; background: var(--surface-2); color: var(--navy); font-size: 11.5px; font-weight: 700; text-align: center; }
.chip__count:empty { display: none; }
.chip.is-active .chip__count { background: rgba(255, 255, 255, .2); color: #fff; }
.gx-bar__total { margin: 0; font-size: 14px; color: var(--muted); }
@media (max-width: 640px) {
  .gx-filters { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin-right: calc(-1 * var(--gutter)); padding-right: var(--gutter); }
  .gx-filters .chip { flex: none; }
  .gx-bar__total { display: none; }
}

/* masonry grid: photos keep their real shape */
.gx-grid { columns: 3 300px; column-gap: 16px; }
.gx-item { position: relative; break-inside: avoid; margin: 0 0 16px; border-radius: 18px; overflow: hidden; background: var(--surface-2); }
.gx-item[hidden] { display: none; }
.gx-item > .ph { min-height: 0; aspect-ratio: var(--ar, 4 / 3); border-radius: 0; }
.gx-item__btn { display: block; width: 100%; padding: 0; border: 0; background: none; cursor: zoom-in; text-align: left; }
.gx-item__btn img { display: block; width: 100%; height: auto; transition: transform .6s var(--ease); }
.gx-item__over {
  position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: flex-end; gap: 8px;
  padding: 16px; color: #fff;
  background: linear-gradient(to top, rgba(15, 28, 92, .82) 0%, rgba(15, 28, 92, .2) 45%, transparent 70%);
  opacity: 0; transition: opacity .3s var(--ease);
}
.gx-item__over b { font: 700 1.05rem/1.25 var(--font-display); }
.gx-item__zoom {
  position: absolute; top: 12px; right: 12px; display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%;
  background: rgba(255, 255, 255, .92); color: var(--navy); transform: scale(.85); transition: transform .3s var(--ease);
}
.gx-item__zoom svg { width: 18px; height: 18px; }
.gx-item__btn:hover img, .gx-item__btn:focus-visible img { transform: scale(1.04); }
.gx-item__btn:hover .gx-item__over, .gx-item__btn:focus-visible .gx-item__over { opacity: 1; }
.gx-item__btn:hover .gx-item__zoom { transform: scale(1); }
.gx-item__btn:focus-visible { outline: 3px solid var(--gold); outline-offset: -3px; }
@media (hover: none) { .gx-item__over { opacity: 1; background: linear-gradient(to top, rgba(15, 28, 92, .75) 0%, transparent 45%); } .gx-item__zoom { display: none; } }
.gx-empty { padding: 48px 16px; text-align: center; color: var(--muted); }

.gx-more {
  display: flex; align-items: center; justify-content: space-between; gap: 18px 32px; flex-wrap: wrap;
  margin-top: clamp(32px, 5vw, 56px); padding: clamp(24px, 4vw, 40px);
  border-radius: 24px; background: var(--navy); color: #fff;
}
.gx-more .eyebrow { color: var(--gold-soft); margin-bottom: 8px; }
.gx-more__title { margin: 0; max-width: 32ch; font: 800 clamp(1.3rem, 2.4vw, 1.9rem)/1.2 var(--font-display); }
.gx-more__links { display: flex; gap: 10px; flex-wrap: wrap; }
.gx-more .btn--ghost { color: #fff; border-color: rgba(255, 255, 255, .5); }
.gx-more .btn--ghost:hover { background: #fff; color: var(--navy); border-color: #fff; }

/* full-screen photo viewer */
.lb {
  position: fixed; inset: 0; z-index: 200;
  display: grid; grid-template-columns: 72px minmax(0, 1fr) 72px; grid-template-rows: 64px minmax(0, 1fr) auto; align-items: center;
  background: rgba(9, 15, 48, .94); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  color: #fff; opacity: 0; transition: opacity .25s;
}
.lb[hidden] { display: none; }
.lb.is-open { opacity: 1; }
.lb__fig { grid-column: 2; grid-row: 2; margin: 0; height: 100%; display: grid; place-items: center; min-height: 0; }
.lb__img { max-width: 100%; max-height: calc(100vh - 170px); max-height: calc(100dvh - 170px); object-fit: contain; border-radius: 12px; box-shadow: 0 30px 80px -30px rgba(0, 0, 0, .7); }
.lb__cap { grid-column: 1 / -1; grid-row: 3; display: flex; align-items: center; justify-content: center; gap: 14px; flex-wrap: wrap; padding: 16px 20px 24px; text-align: center; }
.lb__cap b { font: 700 1.1rem/1.3 var(--font-display); }
.lb__count { font-size: 13.5px; color: rgba(255, 255, 255, .65); font-variant-numeric: tabular-nums; }
.lb__btn {
  display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; justify-self: center;
  border: 1px solid rgba(255, 255, 255, .25); background: rgba(255, 255, 255, .08); color: #fff; cursor: pointer;
  transition: background-color .2s, color .2s;
}
.lb__btn:hover { background: var(--gold-soft); color: var(--navy); }
.lb__btn svg { width: 22px; height: 22px; }
.lb__prev { grid-column: 1; grid-row: 2; }
.lb__next { grid-column: 3; grid-row: 2; }
.lb__close { grid-column: 3; grid-row: 1; width: 46px; height: 46px; font-size: 26px; line-height: 1; }
@media (max-width: 640px) {
  .lb { grid-template-columns: 0 minmax(0, 1fr) 0; grid-template-rows: 60px minmax(0, 1fr) auto auto; }
  .lb__fig { padding: 0 8px; }
  .lb__img { max-height: calc(100vh - 230px); max-height: calc(100dvh - 230px); }
  .lb__prev, .lb__next { grid-row: 4; width: 48px; height: 48px; margin-bottom: 18px; }
  .lb__prev { grid-column: 2; justify-self: start; margin-left: 24px; }
  .lb__next { grid-column: 2; justify-self: end; margin-right: 24px; }
  .lb__close { grid-column: 2; justify-self: end; margin-right: 12px; }
  .lb__cap { padding-bottom: 8px; }
}
@media (prefers-reduced-motion: reduce) { .gx-item__btn img, .gx-feature__media .ph__img { transition: none; } }

/* =========================================================
   Thought for the Day — translucent bar floating at the bottom
   ========================================================= */
.thought {
  position: fixed; z-index: 80; left: 50%; bottom: 16px;
  width: min(940px, calc(100% - 24px));
  display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 14px;
  padding: 12px 12px 12px 16px; border-radius: 18px;
  background: rgba(15, 28, 92, .66);
  -webkit-backdrop-filter: blur(14px) saturate(140%); backdrop-filter: blur(14px) saturate(140%);
  border: 1px solid rgba(255, 255, 255, .18);
  box-shadow: 0 18px 40px -18px rgba(15, 28, 92, .55);
  color: #fff;
  transform: translate(-50%, calc(100% + 24px)); opacity: 0;
  transition: transform .55s var(--ease), opacity .4s;
}
.thought.is-in { transform: translate(-50%, 0); opacity: 1; }
.thought__mark {
  display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%;
  background: rgba(242, 207, 91, .16); color: var(--gold-soft);
  font: 700 30px/1 var(--font-serif); padding-top: 12px;
}
.thought__body { min-width: 0; }
.thought__label { display: block; margin-bottom: 3px; font: 700 10.5px/1.2 var(--font-body); letter-spacing: .16em; text-transform: uppercase; color: var(--gold-soft); }
.thought__text { margin: 0; font-size: 15.5px; line-height: 1.45; }
.thought__quote { font: italic 500 16px/1.45 var(--font-serif); color: #fff; quotes: none; }
.thought__by { margin-left: 8px; font-size: 13px; font-weight: 600; color: var(--gold-soft); white-space: nowrap; }
.thought__by small { font-size: 12px; font-weight: 400; color: rgba(255, 255, 255, .6); }
.thought__close {
  display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%;
  border: 0; background: rgba(255, 255, 255, .1); color: #fff; font-size: 22px; line-height: 1;
  transition: background-color .2s;
}
.thought__close:hover { background: rgba(255, 255, 255, .22); }
@media (max-width: 640px) {
  .thought { bottom: 10px; width: calc(100% - 16px); gap: 10px; padding: 10px 8px 10px 12px; border-radius: 16px; }
  .thought__mark { display: none; }
  .thought__quote { font-size: 14.5px; }
  .thought__by { display: block; margin: 4px 0 0; white-space: normal; font-size: 12.5px; }
}
@media (prefers-reduced-motion: reduce) { .thought { transition: opacity .2s; } }

/* =========================================================
   Footer — centred crest, badge + four colour-keyed columns
   ========================================================= */
.site-footer { background: var(--bg); padding: clamp(48px, 6vw, 80px) 0 0; }
.footer__crest { display: flex; justify-content: center; margin-bottom: 30px; }
.footer__crest img { width: clamp(200px, 22vw, 280px); height: auto; }
.footer__main { display: grid; grid-template-columns: 170px repeat(4, 1fr); align-items: stretch; padding-bottom: 30px; border-bottom: 2px solid #b9b4a5; }
.footer__badge { display: flex; align-items: center; }
.footer__col { padding: 6px clamp(14px, 1.8vw, 28px); border-left: 1px solid #b9b4a5; }
.footer__col:nth-child(2) { border-left: 0; }
.footer__col h3 {
  display: inline;
  font: 700 clamp(1.05rem, 1.4vw, 1.25rem)/1.4 var(--font-serif);
  color: var(--navy);
  background: linear-gradient(var(--c), var(--c)) 0 100% / 100% 4px no-repeat;
  padding-bottom: 1px;
}
.footer__col small { display: block; margin: 10px 0 18px; font: 700 12px/1 var(--font-body); letter-spacing: .08em; text-transform: uppercase; color: var(--navy); }
.footer__col p { margin: 0 0 14px; font-size: 14.5px; line-height: 1.55; color: #3e4458; }
.footer__col a { color: var(--navy); font-weight: 700; text-decoration: none; font-size: 14.5px; font-variant-numeric: tabular-nums; }
.footer__col a:hover { text-decoration: underline; text-decoration-color: var(--c); text-decoration-thickness: 2px; text-underline-offset: 4px; }
.footer__bar { display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; padding: 22px 0; }
.footer__links { display: flex; flex-wrap: wrap; gap: 8px 26px; list-style: none; margin: 0; padding: 0; }
.footer__links a { font: 500 12px/1 var(--font-body); letter-spacing: .08em; text-transform: uppercase; color: var(--ink); text-decoration: none; }
.footer__links a:hover { color: var(--maroon); }
.footer__social { display: flex; gap: 6px; }
.footer__social a { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; color: var(--navy); }
.footer__social a:hover { background: var(--surface-2); }
.footer__social svg { width: 18px; height: 18px; }
.footer__legal { border-top: 1px solid var(--line); padding: 16px 0 26px; font-size: 13px; color: var(--muted); display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
@media (max-width: 1080px) {
  .footer__main { grid-template-columns: 1fr 1fr; row-gap: 30px; }
  .footer__badge { grid-column: 1 / -1; justify-content: center; }
  .footer__col { border-left: 0; padding: 0; }
}
@media (max-width: 560px) { .footer__main { grid-template-columns: 1fr; } }

/* ---------- loading screen ----------
   The crest, the name in its four quarter colours and the motto, over a bar that
   sweeps through the same colours. Shown once per visit (see the inline script in
   each page's <head>); site.js fades it out when the page is ready. */
.loader {
  position: fixed; inset: 0; z-index: 1000;
  display: grid; place-items: center; align-content: center; gap: clamp(14px, 2.4vh, 22px);
  padding: 24px; background: var(--bg); text-align: center;
  transition: opacity .5s var(--ease), visibility .5s;
  /* if the script never runs, don't keep the page hidden */
  animation: loaderGiveUp .5s 8s forwards;
}
.loader::before { /* soft gold glow behind the crest */
  content: ""; position: absolute; left: 50%; top: 50%; width: min(70vmin, 560px); aspect-ratio: 1;
  transform: translate(-50%, -62%); border-radius: 50%;
  background: radial-gradient(closest-side, color-mix(in srgb, var(--gold-soft) 38%, transparent), transparent);
  pointer-events: none;
}
.no-loader .loader, .loader.is-done { opacity: 0; visibility: hidden; pointer-events: none; }
.no-loader .loader { display: none; }
.loader__crest { position: relative; width: clamp(170px, 30vmin, 250px); height: auto; animation: loaderBreathe 2.4s var(--ease) infinite; }
.loader__name {
  position: relative; display: block;
  font: 900 clamp(1.25rem, 3.2vw, 1.9rem)/1 var(--font-display);
  --ls: .3em; letter-spacing: var(--ls); margin-right: calc(-1 * var(--ls));
  text-transform: uppercase; white-space: nowrap;
}
.loader__motto { position: relative; display: block; margin-top: -6px; font: italic 500 clamp(.95rem, 1.6vw, 1.1rem)/1.2 var(--font-serif); color: var(--red); }
.loader__bar {
  position: relative; width: clamp(140px, 30vw, 220px); height: 4px; margin-top: 6px;
  border-radius: 999px; overflow: hidden; background: var(--surface-2);
}
.loader__bar::after {
  content: ""; position: absolute; inset: 0; width: 45%; border-radius: inherit;
  background: linear-gradient(90deg, var(--blue) 0 25%, var(--maroon) 25% 50%, var(--green) 50% 75%, var(--orange) 75%);
  animation: loaderSweep 1.25s var(--ease) infinite;
}
@keyframes loaderSweep { from { transform: translateX(-100%); } to { transform: translateX(225%); } }
@keyframes loaderBreathe { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.045); } }
@keyframes loaderGiveUp { to { opacity: 0; visibility: hidden; pointer-events: none; } }
@media (prefers-reduced-motion: reduce) {
  .loader__crest { animation: none; }
  .loader__bar::after { animation-duration: 2.5s; }
}

/* ---------- page not found (404.html) ----------
   A calm two-column page: the message and ways back on the left, the main
   destinations on the right. The 404 sits over a rule in the crest's four colours. */
.lost { padding: clamp(44px, 7vw, 96px) 0 clamp(56px, 8vw, 110px); }
.lost__grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: clamp(32px, 6vw, 88px); align-items: center; }
.lost__code {
  position: relative; display: inline-block; margin: 0 0 clamp(22px, 3vw, 30px); padding-bottom: 14px;
  font: 800 clamp(4.2rem, 9vw, 6.8rem)/.9 var(--font-display); letter-spacing: -.02em; color: var(--navy);
}
.lost__code::after { /* blue · maroon · green · orange, as in the shield */
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 5px; border-radius: 999px;
  background: linear-gradient(90deg, var(--blue) 0 25%, var(--maroon) 25% 50%, var(--green) 50% 75%, var(--orange) 75%);
}
.lost__main .eyebrow { display: block; }
.lost h1 { margin: 0 0 16px; font: 800 clamp(2rem, 4.2vw, 3.1rem)/1.08 var(--font-display); letter-spacing: -.01em; color: var(--navy); }
.lost__text { max-width: 52ch; margin-bottom: clamp(24px, 3vw, 32px); color: var(--muted); font-size: clamp(1.02rem, 1.4vw, 1.15rem); }
.lost__text code { padding: 2px 8px; border-radius: 6px; background: var(--surface-2); color: var(--ink); font-size: .9em; overflow-wrap: anywhere; }
.lost__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: clamp(26px, 3.4vw, 36px); }
.lost__help { max-width: 52ch; margin: 0; padding-top: 18px; border-top: 1px solid var(--line); color: var(--muted); font-size: .95rem; }
.lost__help a { white-space: nowrap; color: var(--navy); font-weight: 600; text-decoration-color: var(--gold); text-underline-offset: 3px; }
.lost__panel { padding: clamp(22px, 3vw, 32px); border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); box-shadow: 0 18px 40px -28px rgba(15, 28, 92, .35); }
.lost__panel h2 { margin: 0 0 12px; font: 700 clamp(1.15rem, 1.8vw, 1.35rem)/1.2 var(--font-display); color: var(--navy); }
.lost__panel ul { margin: 0; padding: 0; list-style: none; }
.lost__panel li + li { border-top: 1px solid var(--surface-2); }
.lost__panel a { display: flex; align-items: center; gap: 14px; padding: 13px 8px; border-radius: 12px; color: var(--ink); text-decoration: none; transition: background-color .2s var(--ease); }
.lost__panel a::after { content: "→"; margin-left: auto; padding-left: 8px; color: var(--gold); transition: transform .2s var(--ease); }
.lost__panel a:hover { background: var(--bg); }
.lost__panel a:hover::after { transform: translateX(3px); }
.lost__icon { flex: none; display: grid; place-items: center; width: 42px; height: 42px; border-radius: 12px; color: var(--c); background: color-mix(in srgb, var(--c) 10%, #fff); }
.lost__icon svg { width: 20px; height: 20px; }
.lost__label b { display: block; color: var(--navy); font-weight: 650; line-height: 1.3; }
.lost__label small { display: block; color: var(--muted); font-size: .88rem; line-height: 1.4; }
@media (max-width: 900px) {
  .lost__grid { grid-template-columns: minmax(0, 1fr); }
}
.is-loading body { overflow: hidden; }
