/* =====================================================================================
   DBCK section styles — homepage sections and components shared with interior pages
   ===================================================================================== */

/* ---------------------------------------------------------------------------- hero */
.hero {
  position: relative; isolation: isolate; overflow: hidden;
  min-height: 100svh; display: flex; flex-direction: column; justify-content: center;
  padding-top: calc(var(--header-stack) + var(--topbar-h) + 2rem); padding-bottom: 7rem;
  background:
    radial-gradient(70% 80% at 85% 5%, rgba(140, 42, 53, .16), transparent 62%),
    radial-gradient(60% 60% at 5% 95%, rgba(168, 132, 63, .16), transparent 60%),
    linear-gradient(180deg, var(--paper) 0%, var(--cream) 60%, #F3E7DA 100%);
  color: var(--on-dark);
}
.hero__photo { position: absolute; inset: 0; z-index: -3; }
.hero__photo img { width: 100%; height: 100%; object-fit: cover; opacity: .16; filter: saturate(.6) sepia(.2); mix-blend-mode: multiply; }
.hero__canvas { position: absolute; inset: 0; z-index: -2; opacity: 0; transition: opacity 1.6s ease; }
.hero--3d-ready .hero__canvas { opacity: 1; }
.hero__canvas canvas { display: block; width: 100% !important; height: 100% !important; }
.hero__veil {   /* keeps the headline legible without hiding the hills */
  position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background:
    linear-gradient(90deg, rgba(251, 246, 238, .82) 0%, rgba(251, 246, 238, .45) 42%, rgba(251, 246, 238, 0) 70%),
    linear-gradient(0deg, rgba(247, 240, 230, .9) 0%, transparent 20%);
}
.hero__grain {   /* subtle film grain for depth */
  position: absolute; inset: -50%; z-index: -1; pointer-events: none; opacity: .035;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  animation: grain 1.2s steps(6) infinite;
}
@keyframes grain { 0%,100% { transform: translate(0,0); } 20% { transform: translate(-3%,2%); } 40% { transform: translate(2%,-3%); } 60% { transform: translate(-2%,-1%); } 80% { transform: translate(3%,3%); } }
.no-webgl .hero__canvas { display: none; }

.hero__inner { display: grid; gap: var(--sp-7); align-items: end; }
@media (min-width: 1100px) { .hero__inner { grid-template-columns: minmax(0, 1fr) 340px; } }
.hero__content { max-width: 860px; }
.hero__eyebrow {
  display: flex; align-items: center; gap: .9rem; margin-bottom: var(--sp-5);
  font-size: var(--fs-xs); font-weight: 700; letter-spacing: .22em; text-transform: uppercase; color: var(--gold-bright);
}
.hero__eyebrow-line { width: 3rem; height: 1px; background: var(--gold); }
.hero__title {
  margin: 0; font-size: clamp(3.1rem, 1.6rem + 6.6vw, 8.4rem); line-height: .95; font-weight: 600;
  letter-spacing: -.02em; color: var(--maroon-ink);
  text-shadow: 0 18px 50px rgba(90, 21, 32, .10);
}
.hero__title em { display: block; font-style: italic; font-weight: 500; color: var(--gold-bright); }
/* Gold sheen is painted per word: background-clip:text does not reach into split inline-blocks. */
.hero__title em .split-inner,
.no-split .hero__title em {
  background: linear-gradient(100deg, #7A5C22 0%, #A8843F 35%, #C9A55E 55%, var(--maroon) 80%, #7A5C22 100%);
  background-size: 200% 100%;
  -webkit-background-clip: text; background-clip: text; color: transparent;
  animation: gold-sheen 7s ease-in-out infinite;
  padding-right: .06em;   /* italic overhang */
}
@keyframes gold-sheen { 0%, 100% { background-position: 0% 50%; } 50% { background-position: 100% 50%; } }
.hero__lead { max-width: 56ch; margin: var(--sp-6) 0 0; font-size: var(--fs-md); color: var(--on-dark-soft); }
.hero__actions { display: flex; flex-wrap: wrap; gap: var(--sp-4); margin-top: var(--sp-7); }

.hero__notice {
  display: flex; flex-direction: column; gap: .6rem; padding: var(--sp-5) var(--sp-5) var(--sp-6);
  border-radius: var(--radius-lg); color: var(--on-dark); text-decoration: none;
}
.hero__notice:hover { color: var(--on-dark); }
.hero .glass {
  background: linear-gradient(150deg, rgba(255, 252, 247, .88), rgba(251, 241, 236, .72));
  border: 1px solid rgba(168, 132, 63, .35);
  box-shadow: 0 30px 70px rgba(90, 21, 32, .14), inset 0 1px 0 #fff;
}
.hero__notice-label { display: inline-flex; align-items: center; gap: .55rem; font-size: .68rem; font-weight: 800; letter-spacing: .18em; text-transform: uppercase; color: var(--gold-bright); }
.hero__notice-title { font-family: var(--font-display); font-size: 1.55rem; line-height: 1.2; font-weight: 600; }
.hero__notice-meta { font-size: var(--fs-xs); color: var(--on-dark-soft); }
.hero__notice .link-arrow { color: var(--gold-bright); margin-top: .4rem; }
.pulse-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--gold-bright); box-shadow: 0 0 0 0 rgba(140, 42, 53, .45); animation: pulse 2s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 12px rgba(140, 42, 53, 0); } 100% { box-shadow: 0 0 0 0 rgba(140, 42, 53, 0); } }
@media (max-width: 1099px) { .hero__notice { max-width: 420px; } }

.hero__motto {
  position: absolute; right: var(--gutter); top: 50%; margin: 0;
  writing-mode: vertical-rl; transform: translateY(-50%) rotate(180deg);
  font-family: var(--font-display); font-style: italic; font-size: 1.05rem; letter-spacing: .3em; color: rgba(140, 42, 53, .45);
}
@media (max-width: 1099px) { .hero__motto { display: none; } }
.hero__scroll {
  position: absolute; left: 50%; bottom: 1.6rem; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: .6rem;
  font-size: .62rem; font-weight: 800; letter-spacing: .3em; text-transform: uppercase; color: var(--on-dark-soft); text-decoration: none;
}
.hero__scroll-line { position: relative; width: 1px; height: 54px; overflow: hidden; background: rgba(90, 21, 32, .15); }
.hero__scroll-line::after { content: ""; position: absolute; left: 0; top: -40%; width: 100%; height: 40%; background: var(--gold); animation: scroll-line 2.2s var(--ease-in-out) infinite; }
@keyframes scroll-line { to { top: 100%; } }

/* --------------------------------------------------------------------------- stats */
.stats.section--maroon { position: relative; padding-block: clamp(3rem, 2rem + 4vw, 5.5rem); color: var(--ink);
  background: radial-gradient(60% 120% at 50% 0%, rgba(168, 132, 63, .10), transparent 60%), linear-gradient(180deg, #F3E7DA, var(--paper));
  border-block: var(--hairline); }
.stats .glass { background: var(--paper); border: 1px solid var(--cream-line); box-shadow: var(--shadow); -webkit-backdrop-filter: none; backdrop-filter: none; }
.stats__grid { display: grid; gap: var(--sp-4); grid-template-columns: repeat(auto-fit, minmax(min(100%, 170px), 1fr)); perspective: 1200px; }
@media (max-width: 575px) {
  .stats__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--sp-3); }
  .stat { padding: var(--sp-4); }
  .stat__icon { width: 34px; height: 34px; }
  .stat__label { font-size: .64rem; letter-spacing: .08em; }
}
/* Each card is a size container, so its number scales to the card and never spills out. */
.stat {
  container-type: inline-size; min-width: 0;
  display: flex; flex-direction: column; gap: .35rem; padding: var(--sp-5); border-radius: var(--radius-lg); text-align: left;
}
.stat__icon { width: 42px; height: 42px; display: grid; place-items: center; margin-bottom: var(--sp-2); border-radius: 50%; border: 1px solid rgba(168, 132, 63, .45); background: var(--maroon-tint); color: var(--maroon); }
.stat__icon .icon { width: 20px; height: 20px; }
.stat__value { font-family: var(--font-display); font-size: clamp(1.6rem, 22cqi, 3.2rem); font-weight: 600; line-height: 1.05; letter-spacing: -.01em; white-space: nowrap; color: var(--maroon); font-variant-numeric: tabular-nums; }
.stat__label { font-size: var(--fs-xs); font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--on-dark-soft); }

/* ------------------------------------------------------------------ values marquee */
/* Two crossed 3D ribbons: ivory band behind (reverse), burgundy band in front */
.values-ribbons {
  position: relative; isolation: isolate; overflow: clip;
  padding-block: clamp(3.5rem, 2.5rem + 3vw, 5.5rem);
  background: radial-gradient(60% 100% at 50% 50%, rgba(168, 132, 63, .10), transparent 70%), var(--cream);
  perspective: 1400px;
}
.values-ribbon { position: relative; width: 106%; margin-left: -3%; overflow: hidden; transform-style: preserve-3d; }
.values-ribbon .marquee__track { align-items: center; }
.values-ribbon--back {
  z-index: 0; transform: rotate(-3.2deg) rotateX(14deg) translateY(10px);
  padding-block: .85rem; background: var(--paper);
  border-block: 1px solid rgba(168, 132, 63, .45);
  box-shadow: 0 10px 30px rgba(90, 21, 32, .06);
}
.values-ribbon--back .marquee__track { gap: var(--sp-5); padding-right: var(--sp-5); }
.values-ribbon__caps { font-size: .8rem; font-weight: 800; letter-spacing: .32em; text-transform: uppercase; white-space: nowrap; color: var(--gold-ink); }
.values-ribbon__dot { width: 5px; height: 5px; border-radius: 50%; background: var(--maroon); opacity: .6; flex: none; }
.values-ribbon--front {
  z-index: 1; margin-top: -.4rem; transform: rotate(1.8deg) rotateX(-8deg);
  padding-block: clamp(1rem, .7rem + 1vw, 1.6rem);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, .10), transparent 45%),
    linear-gradient(100deg, var(--maroon-deep), var(--maroon) 30%, var(--maroon-soft) 50%, var(--maroon) 70%, var(--maroon-deep));
  border-block: 1px solid #C9A55E;
  box-shadow: 0 24px 50px rgba(90, 21, 32, .22), inset 0 1px 0 rgba(255, 240, 220, .25), inset 0 -1px 0 rgba(58, 12, 19, .35);
}
.values-ribbon--front::before, .values-ribbon--front::after {   /* fine inner gold rules */
  content: ""; position: absolute; left: 0; right: 0; height: 1px; background: rgba(201, 165, 94, .45); pointer-events: none;
}
.values-ribbon--front::before { top: 6px; } .values-ribbon--front::after { bottom: 6px; }
.values-ribbon--front .marquee__track { gap: clamp(1.5rem, 1rem + 1.5vw, 2.75rem); padding-right: clamp(1.5rem, 1rem + 1.5vw, 2.75rem); }
.values-ribbon__word {
  font-family: var(--font-display); font-size: clamp(1.9rem, 1.3rem + 2.2vw, 3.4rem); font-weight: 600; font-style: italic;
  line-height: 1.15; white-space: nowrap; color: var(--ivory);
  text-shadow: 0 2px 12px rgba(58, 12, 19, .35);
}
.values-ribbon__star {
  display: grid; place-items: center; flex: none; width: 2.6rem; height: 2.6rem; border-radius: 50%;
  border: 1px solid rgba(201, 165, 94, .7); color: #E6CD94;
  background: radial-gradient(circle at 35% 30%, rgba(230, 205, 148, .25), transparent 65%);
  animation: star-turn 9s linear infinite;
}
.values-ribbon__star .icon { width: 16px; height: 16px; fill: currentColor; }
@keyframes star-turn { to { transform: rotateY(360deg); } }
@media (max-width: 575px) {
  .values-ribbon--back { transform: rotate(-3deg) translateY(14px); }
  .values-ribbon--front { transform: rotate(2deg); }
  .values-ribbon__star { width: 2rem; height: 2rem; }
}
.motion-reduced .values-ribbon__star { animation: none; }

/* --------------------------------------------------------------------------- about */
.about__grid { display: grid; gap: var(--sp-8); align-items: center; }
@media (min-width: 992px) { .about__grid { grid-template-columns: 1fr 1.05fr; } }
.about__visual { position: relative; min-height: 520px; perspective: 1400px; }
.about__stage { position: relative; height: 100%; min-height: 520px; transform-style: preserve-3d; }
.plate {
  container-type: inline-size;   /* numbers below scale to the plate width */
  position: absolute; display: flex; flex-direction: column; gap: .3rem; padding: var(--sp-5) var(--sp-6);
  border-radius: var(--radius-lg); box-shadow: var(--shadow-lg);
}
.plate__kicker { font-size: .68rem; font-weight: 800; letter-spacing: .2em; text-transform: uppercase; }
.plate__big { font-family: var(--font-display); font-size: clamp(1.8rem, 26cqi, 4.6rem); font-weight: 600; line-height: 1.05; letter-spacing: -.01em; }
.plate__note { font-size: var(--fs-sm); }
.plate__big { white-space: nowrap; }
.plate--year { z-index: 1; left: 0; top: 2%; width: 60%; background: linear-gradient(150deg, var(--maroon), var(--maroon-deep)); color: var(--on-dark); }
.plate--year .plate__kicker, .plate--year .plate__big { color: var(--gold); }
.plate--year .plate__note { color: var(--on-dark-soft); }
.plate--campus { z-index: 3; right: 0; top: 30%; width: 54%; background: var(--paper); border: 1px solid var(--cream-line); }
.plate--campus .plate__big { font-size: clamp(1.6rem, 15cqi, 3.2rem); }
.plate--campus .plate__kicker { color: var(--gold-ink); }
.plate--campus .plate__big { color: var(--maroon); }
.plate--campus .plate__note { color: var(--ink-soft); }
.plate--grade { z-index: 2; left: 4%; bottom: 0; width: 50%; background: linear-gradient(150deg, var(--gold-bright), var(--gold) 60%, var(--gold-deep)); color: var(--maroon-ink); }
.plate--grade .plate__kicker, .plate--grade .plate__note { color: var(--maroon-deep); }
.about__orbit { position: absolute; inset: 8% 6%; z-index: -1; pointer-events: none; }
.about__orbit span { position: absolute; inset: 0; border: 1px solid rgba(168, 132, 63, .35); border-radius: 50%; animation: orbit 30s linear infinite; }
.about__orbit span + span { inset: 12%; border-style: dashed; animation-duration: 45s; animation-direction: reverse; }
@keyframes orbit { to { transform: rotate(360deg); } }
.about__prose { max-width: 60ch; }
@media (max-width: 575px) {
  .about__visual, .about__stage { min-height: 380px; }
  .plate { padding: var(--sp-4) var(--sp-5); }
}

/* -------------------------------------------------------------------------- vision */
.vision { overflow: clip; }
.vision__grid { display: grid; gap: var(--sp-8); }
@media (min-width: 992px) { .vision__grid { grid-template-columns: 1fr 1fr; align-items: start; } }
.vision__sticky { position: sticky; top: calc(var(--header-h-compact) + var(--navrow-h) + 3rem); }
.vision__quote {
  position: relative; margin: var(--sp-5) 0 var(--sp-6); padding: 0;
  font-family: var(--font-display); font-size: clamp(1.6rem, 1.2rem + 1.4vw, 2.4rem); line-height: 1.35; font-style: italic; color: var(--cream);
}
.vision__quote-mark { position: absolute; left: -.1em; top: -.55em; font-size: 5em; line-height: 1; color: rgba(168, 132, 63, .25); font-style: normal; }
.vision__missions-title { font-size: var(--fs-h4); margin-bottom: var(--sp-5); }
.mission-stack { list-style: none; margin: 0; padding: 0; perspective: 1200px; }
.mission-stack > li { margin: 0; }
.mission-card {
  position: sticky; top: calc(var(--header-h-compact) + var(--navrow-h) + 3rem + var(--i) * 18px);
  display: grid; grid-template-columns: auto 1fr; gap: var(--sp-5); align-items: start;
  min-height: 170px; margin-bottom: var(--sp-6) !important; padding: var(--sp-6);
  border-radius: var(--radius-lg); background-color: rgba(58, 12, 19, .22);
}
.mission-card__no { font-family: var(--font-display); font-size: 3.4rem; font-weight: 700; line-height: .9; color: var(--gold); }
.mission-card p { margin: 0; font-size: var(--fs-md); color: var(--cream); }

.values { margin-top: var(--sp-9); }
.values__title { text-align: center; margin-bottom: var(--sp-7); }
.values__grid { display: grid; gap: var(--sp-5); grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); perspective: 1200px; }
.value-card { padding: var(--sp-6); border-radius: var(--radius-lg); }
.value-card__icon { display: grid; place-items: center; width: 64px; height: 64px; margin-bottom: var(--sp-5); border-radius: 50%; background: linear-gradient(140deg, var(--gold-bright), var(--gold-deep)); color: var(--maroon-ink); box-shadow: 0 10px 30px rgba(90, 21, 32, .2); }
.value-card__icon .icon { width: 28px; height: 28px; }
.value-card h4 { color: var(--gold); font-size: 1.6rem; }
.value-card p { margin: 0; color: var(--on-dark-soft); font-size: var(--fs-sm); }

/* ------------------------------------------- box-framed portraits (message & staff pages) */
.portrait-orbit { position: relative; width: min(420px, 72vw); aspect-ratio: 4 / 5; margin-inline: auto; perspective: 900px; transform-style: preserve-3d; }
@keyframes ring-spin-a { from { transform: rotateX(68deg) rotateZ(0); } to { transform: rotateX(68deg) rotateZ(360deg); } }
@keyframes ring-spin-b { from { transform: rotateY(64deg) rotateZ(0); } to { transform: rotateY(64deg) rotateZ(-360deg); } }
.portrait-orbit__photo {
  position: absolute; inset: 6%; border-radius: 6px; overflow: hidden;
  background: radial-gradient(circle at 30% 25%, var(--maroon-soft), var(--maroon-deep));
  box-shadow: 0 0 0 6px var(--cream), 0 0 0 7px var(--gold), var(--shadow-lg);
  display: grid; place-items: center;
}
.portrait-orbit__photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 22%; }
.portrait-orbit::before {   /* offset gold hairline behind the box portrait */
  content: ""; position: absolute; inset: 2% 0 10% 12%; border: 1px solid var(--gold); border-radius: 6px; transform: translate(10px, 10px);
}
.portrait-orbit__initials { font-family: var(--font-display); font-size: clamp(4rem, 3rem + 4vw, 6.5rem); font-weight: 600; color: var(--gold); }

/* ------------------------------------------- leadership messages: signed "letters" */
.leaders {
  position: relative; isolation: isolate; overflow-x: clip;
  background:
    radial-gradient(60% 50% at 0% 20%, rgba(140, 42, 53, .07), transparent 70%),
    radial-gradient(50% 50% at 100% 80%, rgba(168, 132, 63, .10), transparent 70%),
    linear-gradient(180deg, var(--cream) 0%, var(--paper) 50%, var(--cream) 100%);
}
.leaders__glow {   /* faint watermark crest behind the section */
  position: absolute; z-index: -1; left: 50%; top: 9rem; width: min(900px, 90vw); aspect-ratio: 1; translate: -50% 0;
  border-radius: 50%; pointer-events: none;
  background: repeating-radial-gradient(circle, rgba(168, 132, 63, .07) 0 1px, transparent 1px 34px);
  mask-image: radial-gradient(circle, #000 30%, transparent 70%);
}
.leaders__head { margin-bottom: clamp(3rem, 2rem + 4vw, 5.5rem); }
.leaders__head .eyebrow { justify-content: center; }
.leaders__list { display: grid; gap: 0; }

.leaders__divider { display: flex; align-items: center; gap: var(--sp-4); max-width: 420px; margin: clamp(3.5rem, 2.5rem + 4vw, 6rem) auto; color: var(--gold); }
.leaders__divider span { flex: 1; height: 1px; background: linear-gradient(90deg, transparent, var(--gold), transparent); }
.leaders__divider .icon { width: 16px; height: 16px; fill: currentColor; }

.letter { display: grid; gap: clamp(2.5rem, 1.5rem + 4vw, 6rem); align-items: center; }
@media (min-width: 992px) {
  .letter { grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); }
  .letter--flip .letter__portrait { order: 2; }
}

/* Box-framed portrait with layered frames (back blush panel, offset gold hairline, photo, seal) */
.arch-stack {
  position: relative; width: min(380px, 78vw); aspect-ratio: 4 / 5; margin-inline: auto;
  transform-style: preserve-3d;
}
.arch-stack__back, .arch-stack__line, .arch-stack__frame { position: absolute; inset: 0; border-radius: 6px; }
.arch-stack__back {
  inset: 7% -7% -6% 7%;
  background: linear-gradient(160deg, var(--maroon-tint), #EBD6CF 60%, #E2C9BF);
  box-shadow: inset 0 0 0 1px rgba(140, 42, 53, .12);
}
.letter--flip .arch-stack__back { inset: 7% 7% -6% -7%; }
.arch-stack__line { inset: -4% 4% 4% -4%; border: 1px solid var(--gold); transform: translateZ(10px); }
.letter--flip .arch-stack__line { inset: -4% -4% 4% 4%; }
.arch-stack__frame {
  overflow: hidden; display: grid; place-items: center;
  background: radial-gradient(120% 90% at 30% 15%, var(--maroon-soft), var(--maroon) 45%, var(--maroon-deep));
  box-shadow: 0 0 0 6px var(--paper), 0 0 0 7px rgba(168, 132, 63, .7), 0 34px 70px rgba(90, 21, 32, .22);
}
.arch-stack__frame img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 22%; transition: transform 1.2s var(--ease-out); }
.arch-stack:hover .arch-stack__frame img { transform: scale(1.04); }
.arch-stack__frame::after {   /* soft light from the top of the arch */
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(180deg, rgba(255, 246, 230, .14), transparent 30%, transparent 70%, rgba(58, 12, 19, .18));
}
.arch-stack__monogram { display: flex; flex-direction: column; align-items: center; gap: var(--sp-3); text-align: center; }
.arch-stack__monogram::before {   /* fine gold arch inside the burgundy frame */
  content: ""; position: absolute; inset: 6%; border: 1px solid rgba(230, 205, 148, .45); border-radius: 3px;
}
.arch-stack__initials { font-family: var(--font-display); font-size: clamp(5rem, 3.5rem + 5vw, 7.5rem); font-weight: 600; line-height: 1; color: #E6CD94; letter-spacing: .02em; }
.arch-stack__role { font-size: .72rem; font-weight: 800; letter-spacing: .32em; text-transform: uppercase; color: rgba(251, 246, 238, .8); }
.arch-stack__seal {
  position: absolute; z-index: 3; right: -10%; bottom: 7%; display: grid; place-items: center;
  transform: translateZ(90px);   /* always in front of the photo, even while tilting */
  width: clamp(72px, 6vw + 40px, 96px); aspect-ratio: 1; border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #F1DDA9, #C9A55E 45%, #8C6C2E 100%);
  box-shadow: 0 12px 30px rgba(90, 21, 32, .25), inset 0 0 0 4px rgba(255, 246, 225, .35), inset 0 0 0 6px rgba(117, 89, 31, .35);
  animation: leader-seal-sway 14s ease-in-out infinite;
}
.letter--flip .arch-stack__seal { right: auto; left: -10%; }
.arch-stack__seal span { font-family: var(--font-display); font-size: 1.6rem; font-weight: 700; color: var(--maroon-ink); }
.arch-stack__seal img { width: 88%; height: 88%; object-fit: contain; border-radius: 50%; }
@keyframes leader-seal-sway { 0%, 100% { rotate: -8deg; } 50% { rotate: 8deg; } }

/* Text side */
.letter__text { position: relative; max-width: 620px; }
.letter--flip .letter__text { justify-self: end; }
.letter__role {
  display: inline-flex; align-items: center; gap: .8rem; margin: 0 0 var(--sp-3);
  font-size: var(--fs-xs); font-weight: 800; letter-spacing: .22em; text-transform: uppercase; color: var(--gold-deep);
}
.letter__role::before { content: ""; width: 2.5rem; height: 1px; background: var(--gold); }
.letter__headline { margin: 0 0 var(--sp-5); font-size: clamp(2.2rem, 1.6rem + 2.2vw, 3.6rem); line-height: 1.05; color: var(--maroon-ink); }
.letter__quote { position: relative; margin: 0 0 var(--sp-6); padding: var(--sp-2) 0 0 clamp(2.5rem, 2rem + 2vw, 4rem); }
.letter__mark {
  position: absolute; left: -.08em; top: -.32em; font-family: var(--font-display); font-size: clamp(6rem, 5rem + 4vw, 9rem); line-height: 1;
  background: linear-gradient(160deg, #E6CD94, var(--gold) 50%, var(--gold-deep));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.letter__quote p { margin: 0; font-family: var(--font-display); font-style: italic; font-size: clamp(1.35rem, 1.1rem + .9vw, 1.85rem); line-height: 1.45; color: var(--ink-soft); }
.letter__sign { display: flex; flex-direction: column; gap: .15rem; margin-bottom: var(--sp-6); }
.letter__rule { width: 72px; height: 1px; margin-bottom: var(--sp-4); background: linear-gradient(90deg, var(--gold), transparent); }
.letter__signature { display: block; max-width: 180px; max-height: 70px; margin-bottom: var(--sp-2); object-fit: contain; object-position: left center; mix-blend-mode: multiply; }
.letter__name { font-family: var(--font-display); font-style: italic; font-weight: 600; font-size: clamp(1.6rem, 1.3rem + 1vw, 2.1rem); color: var(--maroon); }
.letter__title { font-size: .74rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--ink-muted); }

@media (max-width: 991px) {
  .letter__text, .letter--flip .letter__text { justify-self: center; text-align: left; }
  .arch-stack { width: min(320px, 74vw); }
}
.motion-reduced .arch-stack__seal { animation: none; }

/* ----------------------------------------------------------------------- programmes */
.programmes__head { display: flex; flex-wrap: wrap; gap: var(--sp-5); align-items: flex-end; justify-content: space-between; margin-bottom: var(--sp-7); }
.programmes__head .section-head { margin-bottom: 0; }
.chips { display: flex; flex-wrap: wrap; gap: var(--sp-2); }
.chip {
  min-height: 40px; padding: .45rem 1.05rem; border: 1px solid var(--cream-line); border-radius: 999px; background: var(--paper);
  font-size: var(--fs-xs); font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-soft);
  transition: background var(--dur-fast), color var(--dur-fast), border-color var(--dur-fast), transform var(--dur) var(--ease-out);
}
.chip:hover { border-color: var(--gold); color: var(--maroon); transform: translateY(-2px); }
.chip[aria-pressed="true"] { background: var(--maroon); border-color: var(--maroon); color: var(--on-dark); }
.section--maroon .chip { background: transparent; border-color: rgba(201, 165, 94, .35); color: var(--on-dark-soft); }

.prog-grid { display: grid; gap: var(--sp-5); grid-template-columns: repeat(auto-fill, minmax(min(100%, 270px), 1fr)); perspective: 1400px; }
/* Programme "prospectus" card: ivory paper, gold top rule, subject medallion, facts row */
.prog-card {
  position: relative; display: flex; flex-direction: column; gap: var(--sp-5); overflow: hidden; isolation: isolate;
  padding: var(--sp-6) var(--sp-6) var(--sp-5);
  background:
    radial-gradient(120% 70% at 100% 0%, rgba(168, 132, 63, .09), transparent 60%),
    linear-gradient(180deg, var(--paper), #FBF4EA);
  border: 1px solid var(--cream-line); border-radius: 14px;
  color: var(--ink); text-decoration: none; box-shadow: var(--shadow-sm);
  transition: box-shadow .5s var(--ease-out), border-color .5s, translate .5s var(--ease-out);
}
.prog-card::before {   /* gold rule that sweeps across the top on hover */
  content: ""; position: absolute; left: 0; right: 0; top: 0; height: 3px;
  background: linear-gradient(90deg, var(--maroon), var(--gold) 55%, #E6CD94);
  transform: scaleX(.18); transform-origin: 0 50%; transition: transform .7s var(--ease-out);
}
.prog-card::after {   /* burgundy wash rising from the bottom on hover */
  content: ""; position: absolute; inset: auto 0 0 0; height: 0; z-index: -1;
  background: linear-gradient(0deg, rgba(140, 42, 53, .07), transparent);
  transition: height .6s var(--ease-out);
}
.prog-card:hover { color: var(--ink); translate: 0 -6px; box-shadow: 0 30px 60px rgba(90, 21, 32, .14), 0 6px 16px rgba(90, 21, 32, .06); border-color: rgba(168, 132, 63, .55); }
.prog-card:hover::before { transform: scaleX(1); }
.prog-card:hover::after { height: 55%; }

.prog-card__photo { margin: calc(var(--sp-6) * -1) calc(var(--sp-6) * -1) 0; aspect-ratio: 16 / 9; overflow: hidden; }
.prog-card__photo img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease-out); }
.prog-card:hover .prog-card__photo img { transform: scale(1.06); }

.prog-card__top { display: flex; align-items: flex-start; justify-content: space-between; gap: var(--sp-4); }
.prog-card__medal {
  display: grid; place-items: center; width: 64px; height: 64px; border-radius: 50%; flex: none;
  background: radial-gradient(circle at 32% 28%, var(--maroon-soft), var(--maroon) 55%, var(--maroon-deep));
  color: #E6CD94;
  box-shadow: 0 0 0 4px var(--paper), 0 0 0 5px rgba(168, 132, 63, .6), 0 14px 28px rgba(90, 21, 32, .22);
  transition: transform .8s var(--ease-out);
}
.prog-card--science .prog-card__medal { background: radial-gradient(circle at 32% 28%, #A54A55, #7A2A33 55%, #5A1520); }
.prog-card--commerce .prog-card__medal { background: radial-gradient(circle at 32% 28%, #E6CD94, #C9A55E 50%, #8C6C2E); color: var(--maroon-ink); }
.prog-card__medal .icon { width: 28px; height: 28px; stroke-width: 1.5; }
.prog-card:hover .prog-card__medal { transform: translateZ(70px) rotateY(360deg); }
.prog-card__level {
  margin-top: .35rem; padding: .3rem .7rem; border-radius: 999px;
  border: 1px solid rgba(168, 132, 63, .45); background: rgba(255, 252, 247, .8);
  font-size: .62rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; color: var(--gold-ink);
}

.prog-card__body { display: flex; flex-direction: column; gap: .55rem; flex: 1; }
.prog-card__title { font-family: var(--font-display); font-size: clamp(1.6rem, 1.4rem + .5vw, 1.95rem); font-weight: 700; line-height: 1.1; color: var(--maroon-ink); transition: color .4s; }
.prog-card:hover .prog-card__title { color: var(--maroon); }
.prog-card__motto { font-family: var(--font-display); font-style: italic; font-size: 1.1rem; line-height: 1.35; color: var(--ink-soft); }
.prog-card__facts { display: flex; flex-wrap: wrap; align-items: center; gap: .4rem; margin-top: auto; padding-top: var(--sp-3); }
.prog-card__facts span {
  padding: .28rem .6rem; border-radius: 999px; border: 1px solid var(--cream-line); background: rgba(255, 252, 247, .7);
  font-size: .64rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-muted); white-space: nowrap;
}
.prog-card__facts span:first-child { border-color: rgba(168, 132, 63, .45); color: var(--gold-ink); }

.prog-card__go {
  display: flex; align-items: center; justify-content: space-between; gap: var(--sp-3);
  padding-top: var(--sp-4); border-top: 1px solid var(--cream-line);
  font-size: var(--fs-xs); font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--maroon);
}
.prog-card__arrow {
  display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%;
  border: 1px solid rgba(140, 42, 53, .3); color: var(--maroon);
  transition: background .4s, color .4s, border-color .4s, transform .4s var(--ease-out);
}
.prog-card__arrow .icon { width: 16px; height: 16px; }
.prog-card:hover .prog-card__arrow { background: var(--maroon); border-color: var(--maroon); color: var(--ivory); transform: translateX(4px); }
.motion-reduced .prog-card, .motion-reduced .prog-card__medal { transition: none; }

/* ---------------------------------------------------------------------- facilities */
.facilities { position: relative; overflow: hidden; background: radial-gradient(80% 60% at 100% 0%, rgba(168, 132, 63, .14), transparent 60%), linear-gradient(180deg, var(--maroon), var(--maroon-deep)); }
.facilities__frame { padding-block: clamp(4rem, 3rem + 4vw, 7rem); min-height: 100vh; display: flex; align-items: center; perspective: 1600px; }
.facilities__track { display: flex; gap: var(--sp-5); padding-inline: var(--gutter); transform-style: preserve-3d; will-change: transform; }
.facilities__intro { flex: 0 0 min(420px, 84vw); align-self: center; padding-right: var(--sp-6); }
.facilities__intro p { color: var(--on-dark-soft); }
.facilities__hint { display: flex; align-items: center; gap: .8rem; font-size: var(--fs-xs); font-weight: 700; letter-spacing: .16em; text-transform: uppercase; }
.facilities__hint span { width: 48px; height: 1px; background: var(--gold); position: relative; overflow: hidden; }
.facilities__hint span::after { content: ""; position: absolute; inset: 0; background: var(--gold-bright); animation: hint-slide 1.8s ease-in-out infinite; }
@keyframes hint-slide { from { transform: translateX(-100%); } to { transform: translateX(100%); } }
.facility-panel {
  position: relative; flex: 0 0 clamp(280px, 26vw, 380px); min-height: 440px; overflow: hidden;
  display: flex; flex-direction: column; justify-content: flex-end; gap: var(--sp-3); padding: var(--sp-6);
  border-radius: var(--radius-lg); color: var(--on-dark); text-decoration: none;
}
.facility-panel:hover { color: var(--on-dark); }
.facility-panel__img { position: absolute; inset: 0; z-index: -1; width: 100%; height: 100%; object-fit: cover; opacity: .35; }
.facility-panel__no { position: absolute; right: var(--sp-5); top: var(--sp-3); font-family: var(--font-display); font-size: 6rem; font-weight: 700; line-height: 1; color: transparent; -webkit-text-stroke: 1px rgba(201, 165, 94, .35); }
.facility-panel__icon { display: grid; place-items: center; width: 70px; height: 70px; margin-bottom: auto; border-radius: 50%; background: linear-gradient(140deg, var(--gold-bright), var(--gold-deep)); color: var(--maroon-ink); }
.facility-panel__icon .icon { width: 30px; height: 30px; }
.facility-panel__name { font-family: var(--font-display); font-size: 2rem; font-weight: 600; line-height: 1.1; color: var(--gold); }
.facility-panel__text { font-size: var(--fs-sm); color: var(--on-dark-soft); }
.facility-panel .link-arrow { color: var(--gold-bright); }
@media (max-width: 991px) {   /* native swipe on touch devices */
  .facilities__frame { min-height: 0; }
  .facilities__track { overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: var(--sp-4); scrollbar-width: thin; }
  .facility-panel, .facilities__intro { scroll-snap-align: start; }
  .facility-panel { min-height: 360px; }
}

/* ------------------------------------------------------------------------- notices */
.notices__grid { display: grid; gap: var(--sp-7); }
@media (min-width: 992px) { .notices__grid { grid-template-columns: .8fr 1.2fr; } }
.notices__bell { position: relative; width: 180px; height: 180px; margin-top: var(--sp-6); display: grid; place-items: center; }
.notices__bell-ring { position: absolute; inset: 0; border-radius: 50%; border: 1px solid var(--gold); animation: ring-spin-b 16s linear infinite; }
.notices__bell-icon { display: grid; place-items: center; width: 96px; height: 96px; border-radius: 50%; background: linear-gradient(140deg, var(--maroon), var(--maroon-deep)); color: var(--gold); box-shadow: var(--shadow-lg); }
.notices__bell-icon .icon { width: 40px; height: 40px; animation: bell 4s ease-in-out infinite; transform-origin: 50% 10%; }
@keyframes bell { 0%, 80%, 100% { transform: rotate(0); } 84% { transform: rotate(14deg); } 88% { transform: rotate(-12deg); } 92% { transform: rotate(8deg); } 96% { transform: rotate(-4deg); } }
@media (max-width: 991px) { .notices__bell { display: none; } }
.board { padding: var(--sp-6); background: var(--paper); border: var(--hairline); border-top: 4px solid var(--maroon); border-radius: var(--radius-lg); box-shadow: var(--shadow); }
.board__chips { margin-bottom: var(--sp-5); }
.board__list { border-top: 0; }

/* ---------------------------------------------------------------------------- news */
.news__grid { display: grid; gap: var(--sp-6); }
@media (min-width: 992px) { .news__grid { grid-template-columns: 1.3fr 1fr; } }
.news-feature { position: relative; display: flex; flex-direction: column; overflow: hidden; background: var(--paper); border: var(--hairline); border-radius: var(--radius-lg); color: var(--ink); text-decoration: none; box-shadow: var(--shadow); }
.news-feature:hover { color: var(--ink); }
.news-feature__media { aspect-ratio: 16 / 9; overflow: hidden; background: var(--maroon); }
.news-feature__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease-out); }
.news-feature:hover .news-feature__media img { transform: scale(1.06); }
.news-feature__art {
  display: grid; place-items: center; width: 100%; height: 100%;
  background: radial-gradient(90% 90% at 80% 10%, rgba(201, 165, 94, .3), transparent 60%), repeating-radial-gradient(circle at 20% 120%, rgba(201, 165, 94, .12) 0 1px, transparent 1px 22px), linear-gradient(150deg, var(--maroon), var(--maroon-deep));
}
.news-feature__art span { font-family: var(--font-display); font-style: italic; font-size: 9rem; line-height: 1; color: transparent; -webkit-text-stroke: 1.5px var(--gold-bright); }
.news-feature__body { display: flex; flex-direction: column; gap: var(--sp-3); padding: var(--sp-6); }
.news-feature__title { font-family: var(--font-display); font-size: clamp(1.6rem, 1.3rem + 1vw, 2.2rem); font-weight: 700; line-height: 1.15; color: var(--maroon); }
.news-feature__excerpt { color: var(--ink-soft); }
.news-list { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--sp-4); }
.news-list li { margin: 0; }
.news-list__item { display: flex; flex-direction: column; gap: .35rem; padding: var(--sp-5); background: var(--paper); border: var(--hairline); border-left: 3px solid var(--gold); border-radius: var(--radius); color: var(--ink); text-decoration: none; transition: transform var(--dur) var(--ease-out), box-shadow var(--dur); }
.news-list__item:hover { color: var(--ink); transform: translateX(6px); box-shadow: var(--shadow); }
.news-list__title { font-family: var(--font-display); font-size: 1.4rem; font-weight: 700; line-height: 1.2; color: var(--maroon); }
.news-list__excerpt { font-size: var(--fs-sm); color: var(--ink-soft); display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.events-mini { margin-top: var(--sp-6); }
.events-mini h3 { font-size: var(--fs-h4); }

/* ---------------------------------------------------------------------- excellence */
.excellence__grid { display: grid; gap: var(--sp-8); align-items: center; }
@media (min-width: 992px) { .excellence__grid { grid-template-columns: .8fr 1.2fr; } }
.seal-wrap { perspective: 1000px; display: grid; place-items: center; }
.seal { position: relative; width: min(320px, 70vw); aspect-ratio: 1; transform-style: preserve-3d; animation: seal-turn 14s ease-in-out infinite; }
@keyframes seal-turn { 0%, 100% { transform: rotateY(-18deg) rotateX(8deg); } 45% { transform: rotateY(18deg) rotateX(-6deg); } 50%, 95% { transform: rotateY(198deg) rotateX(-6deg); } }
.seal__face {
  position: absolute; inset: 0; display: grid; place-items: center; align-content: center; border-radius: 50%;
  backface-visibility: hidden;
  background: radial-gradient(circle at 35% 30%, #fff1c9, var(--gold-bright) 25%, var(--gold) 55%, var(--gold-deep) 100%);
  box-shadow: inset 0 0 0 10px rgba(122, 90, 30, .35), inset 0 0 0 12px rgba(255, 241, 201, .6), 0 30px 80px rgba(90, 21, 32, .22);
  color: var(--maroon-ink);
}
.seal__face--back { transform: rotateY(180deg); background: radial-gradient(circle at 35% 30%, var(--maroon-soft), var(--maroon) 50%, var(--maroon-deep)); color: var(--gold); box-shadow: inset 0 0 0 10px rgba(168, 132, 63, .4), 0 30px 80px rgba(90, 21, 32, .22); }
.seal__text { position: absolute; inset: 0; width: 100%; height: 100%; animation: orbit 40s linear infinite; }
.seal__text text { font-family: var(--font-body); font-size: 10.5px; font-weight: 800; letter-spacing: 2.4px; fill: var(--maroon-deep); }
.seal__label { font-size: .9rem; font-weight: 800; letter-spacing: .4em; padding-left: .4em; }
.seal__grade { font-family: var(--font-display); font-size: 5.5rem; font-weight: 700; line-height: 1; }
.pillars { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--sp-4); }
.pillar { display: flex; gap: var(--sp-5); align-items: center; margin: 0; padding: var(--sp-5); border-radius: var(--radius-lg); }
.pillar__icon { display: grid; place-items: center; width: 52px; height: 52px; flex: none; border-radius: 50%; border: 1px solid rgba(201, 165, 94, .5); color: var(--gold-bright); }
.pillar__icon .icon { width: 24px; height: 24px; }
.pillar__label { display: block; font-size: .68rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; color: var(--gold-bright); }
.pillar__value { display: block; font-family: var(--font-display); font-size: 1.4rem; line-height: 1.3; color: var(--cream); }

/* --------------------------------------------------------- achievements / gallery / alumni */
.achieve-grid { display: grid; gap: var(--sp-6); grid-template-columns: repeat(auto-fill, minmax(min(100%, 200px), 1fr)); perspective: 1200px; }
.achieve-card { position: relative; text-align: center; padding: var(--sp-5); background: var(--paper); border: var(--hairline); border-radius: var(--radius-lg); }
.achieve-card__rank { position: absolute; right: var(--sp-4); top: var(--sp-4); padding: .2rem .6rem; border-radius: 999px; background: var(--gold); color: var(--maroon-ink); font-size: .7rem; font-weight: 800; }
.gallery-mosaic { display: grid; gap: var(--sp-4); grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr)); grid-auto-rows: 220px; }
.gallery-mosaic__item { position: relative; overflow: hidden; border-radius: var(--radius-lg); }
.gallery-mosaic__item:nth-child(5n+1) { grid-row: span 2; }
.gallery-mosaic__item img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease-out); }
.gallery-mosaic__item:hover img { transform: scale(1.08); }
.gallery-mosaic__caption { position: absolute; inset: auto 0 0 0; display: flex; flex-direction: column; padding: var(--sp-5); background: linear-gradient(0deg, rgba(31, 3, 7, .85), transparent); color: var(--cream); font-size: var(--fs-sm); }
.gallery-mosaic__caption strong { font-family: var(--font-display); font-size: 1.4rem; color: var(--gold-bright); }
.alumni-track { display: grid; gap: var(--sp-5); grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); }
.alumni-card { margin: 0; padding: var(--sp-6); background: var(--paper); border: var(--hairline); border-radius: var(--radius-lg); }
.alumni-card blockquote { margin: 0 0 var(--sp-5); font-family: var(--font-display); font-style: italic; font-size: 1.35rem; line-height: 1.45; color: var(--maroon); }
.alumni-card figcaption { display: flex; gap: var(--sp-4); align-items: center; font-size: var(--fs-sm); }
.alumni-card figcaption > span:last-child { display: flex; flex-direction: column; color: var(--ink-muted); }
.alumni-card strong { color: var(--ink); }
.alumni-card--plain { padding: var(--sp-5) var(--sp-6); }
.alumni-card__batch { font-size: var(--fs-xs); font-weight: 600; color: var(--gold-ink, #75591F); }
.alumni-card__link { display: inline-flex; align-items: center; gap: .3rem; margin-top: .2rem; font-size: var(--fs-xs); font-weight: 700; color: var(--maroon); text-decoration: none; }
.alumni-card__link:hover { text-decoration: underline; }
.alumni-card__link .icon { width: 12px; height: 12px; }

/* --------------------------------------------------------------------------- links */
.links-band { padding-block: var(--section-y) calc(var(--section-y) * .8); background: var(--cream); overflow: hidden; }
.links-band__head { text-align: center; margin-bottom: var(--sp-6); }
.links-band__head .eyebrow::after { content: ""; width: 2.25rem; height: 1px; background: currentColor; opacity: .8; }
.links-marquee .marquee__track { gap: var(--sp-4); padding: var(--sp-3) var(--sp-4) var(--sp-3) 0; list-style: none; margin: 0; }
.links-marquee li { margin: 0; flex: none; }
.link-pill {
  display: flex; align-items: center; gap: var(--sp-4); padding: var(--sp-4) var(--sp-6) var(--sp-4) var(--sp-4);
  background: var(--paper); border: var(--hairline); border-radius: 999px; color: var(--ink); text-decoration: none;
  box-shadow: var(--shadow-sm); transition: transform var(--dur) var(--ease-out), border-color var(--dur), box-shadow var(--dur);
}
.link-pill:hover { color: var(--ink); transform: translateY(-4px); border-color: var(--gold); box-shadow: var(--shadow); }
.link-pill img { width: 48px; height: 48px; object-fit: contain; filter: grayscale(1); transition: filter var(--dur); }
.link-pill:hover img { filter: none; }
.link-pill__mark { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; background: var(--maroon); color: var(--gold); }
.link-pill > span:last-child { display: flex; flex-direction: column; white-space: nowrap; }
.link-pill strong { font-family: var(--font-display); font-size: 1.25rem; color: var(--maroon); }
.link-pill small { color: var(--ink-muted); font-size: var(--fs-xs); }
.motion-static .marquee__track, .motion-reduced .marquee__track { flex-wrap: wrap; width: auto; justify-content: center; }

/* ---------------------------------------------------------------------- CTA band */
.cta-band {
  position: relative; overflow: hidden; padding-block: clamp(5rem, 3rem + 7vw, 9rem); text-align: center;
  background: radial-gradient(70% 90% at 50% 120%, rgba(168, 132, 63, .35), transparent 60%), linear-gradient(160deg, var(--maroon), var(--maroon-deep) 70%);
  color: var(--on-dark);
}
.cta-band__inner { display: flex; flex-direction: column; align-items: center; }
.cta-band .eyebrow { color: var(--gold-bright); }
.cta-band .eyebrow::after { content: ""; width: 2.25rem; height: 1px; background: currentColor; opacity: .8; }
.cta-band__title { max-width: 16ch; font-size: clamp(2.8rem, 1.6rem + 5vw, 6.5rem); line-height: 1; color: var(--gold); }
.cta-band__motto { font-family: var(--font-display); font-size: var(--fs-h4); color: var(--on-dark-soft); }
.cta-band__motto em { color: var(--gold-bright); }
.cta-band__actions { justify-content: center; margin-top: var(--sp-5); }
.cta-band .link-arrow { color: var(--gold-bright); }

/* Display numbers: serif faces default to old-style figures — use lining figures */
.stat__value, .plate__big, .mission-card__no, .facility-panel__no, .seal__grade, .date-block__day {
  font-variant-numeric: lining-nums tabular-nums;
}

/* Section-head inside dark sections */
.section--maroon .section-head h2 { color: var(--gold); }

/* ------------------------------------------------- hero with a campus photograph */
/* Building on the right, ivory fade on the left for the headline; warmed to sit in the ivory/burgundy palette. */
.hero--photo .hero__photo { overflow: hidden; }
.hero--photo .hero__photo img {
  opacity: 1; mix-blend-mode: normal; object-position: 70% 55%;
  filter: sepia(.22) saturate(.88) contrast(1.02) brightness(1.03);
  transform-origin: 70% 60%; animation: hero-kenburns 28s ease-in-out infinite alternate;
}
@keyframes hero-kenburns { from { transform: scale(1.04) translate3d(0, 0, 0); } to { transform: scale(1.14) translate3d(-1.5%, -1%, 0); } }
.hero--photo .hero__veil {
  background:
    linear-gradient(90deg, rgba(251, 246, 238, .97) 0%, rgba(251, 246, 238, .9) 30%, rgba(251, 246, 238, .55) 52%, rgba(251, 246, 238, .08) 75%, rgba(251, 246, 238, 0) 100%),
    linear-gradient(180deg, rgba(251, 246, 238, .55) 0%, transparent 22%),
    linear-gradient(0deg, rgba(247, 240, 230, 1) 0%, rgba(247, 240, 230, .6) 12%, transparent 30%),
    linear-gradient(120deg, transparent 60%, rgba(140, 42, 53, .12) 100%);
}
.hero--photo.hero--3d-ready .hero__canvas { opacity: 1; }
.hero--photo .hero__veil { z-index: -2; }      /* objects float above the fade, not behind it */
.hero--photo .hero__canvas { z-index: -1; }
@media (max-width: 991px) {
  .hero--photo .hero__photo img { object-position: 62% 50%; }
  .hero--photo .hero__veil { background: linear-gradient(180deg, rgba(251, 246, 238, .84) 0%, rgba(251, 246, 238, .9) 45%, rgba(251, 246, 238, .78) 76%, rgba(251, 246, 238, .12) 100%); }
}
.motion-reduced .hero--photo .hero__photo img { animation: none; }

/* Round avatar used by the alumni cards */
.message-mini__avatar {
  display: grid; place-items: center; width: 64px; height: 64px; overflow: hidden; border-radius: 50%;
  background: linear-gradient(140deg, var(--maroon), var(--maroon-deep)); color: var(--gold-bright);
  font-family: var(--font-display); font-size: 1.5rem; font-weight: 700; box-shadow: 0 0 0 3px var(--paper), 0 0 0 4px var(--gold);
}
.message-mini__avatar img { width: 100%; height: 100%; object-fit: cover; }
