/* ==========================================================================
   Haramaya University Model School — public website design system
   Palette drawn from the Haramaya University emblem: highland blue, sun gold,
   highland green and ember red, set on a warm ivory "paper".
   ========================================================================== */

:root {
  /* Brand */
  --ink:        #0b1a2c;
  --navy-900:   #0d2442;
  --navy:       #123a6b;
  --navy-600:   #1d4d86;
  --green:      #1f5a3a;
  --green-600:  #2d7a50;
  --gold:       #d9a521;
  --gold-600:   #b7870f;
  --gold-soft:  #f2d58a;
  --gold-text:  #7d5c08;   /* gold for small text on light surfaces (WCAG AA) */
  --ember:      #b23a2e;

  /* Surfaces */
  --paper:      #f7f4ed;
  --paper-2:    #eee8db;
  --white:      #ffffff;
  --line:       rgba(11, 26, 44, .12);
  --line-strong:rgba(11, 26, 44, .22);
  --line-inv:   rgba(255, 255, 255, .16);

  /* Text */
  --text:       #142132;
  --muted:      #4e5b6b;
  --muted-2:    #5f6977;
  --text-inv:   #f4f1ea;
  --muted-inv:  rgba(244, 241, 234, .72);

  /* Type */
  --font-display: 'Fraunces', 'Iowan Old Style', 'Palatino Linotype', Georgia, serif;
  --font-body:    'Manrope', 'Segoe UI', system-ui, -apple-system, sans-serif;

  --fs-xs:   .78rem;
  --fs-sm:   .9rem;
  --fs-base: 1.0625rem;
  --fs-lg:   1.2rem;
  --fs-xl:   clamp(1.35rem, 1.1rem + .9vw, 1.7rem);
  --fs-2xl:  clamp(1.8rem, 1.3rem + 2vw, 2.7rem);
  --fs-3xl:  clamp(2.3rem, 1.5rem + 3.4vw, 4rem);
  --fs-hero: clamp(2.9rem, 1.6rem + 6vw, 6.4rem);

  /* Space & shape */
  --gutter:   clamp(1rem, .6rem + 2vw, 2.5rem);
  --section:  clamp(4.5rem, 3rem + 6vw, 9rem);
  --maxw:     1280px;
  --radius:   4px;
  --radius-lg:10px;
  --shadow:   0 1px 2px rgba(11,26,44,.06), 0 12px 32px -12px rgba(11,26,44,.22);
  --shadow-lg:0 30px 60px -24px rgba(11,26,44,.45);
  --ease:     cubic-bezier(.2, .7, .2, 1);
  --header-h: 76px;
}

/* ── Reset ─────────────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 1rem); }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
  font-family: var(--font-body);
  font-size: var(--fs-base);
  line-height: 1.7;
  color: var(--text);
  background: var(--paper);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, picture, svg, video { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
ul[class], ol[class] { list-style: none; padding: 0; }
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 500; line-height: 1.1; letter-spacing: -.01em; color: var(--ink); font-optical-sizing: auto; }
p { text-wrap: pretty; }
h1, h2, h3 { text-wrap: balance; }
::selection { background: var(--gold-soft); color: var(--ink); }

:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; border-radius: 2px; }
.skip-link {
  position: absolute; left: 1rem; top: -100px; z-index: 1000;
  background: var(--ink); color: var(--white); padding: .75rem 1.1rem; border-radius: var(--radius);
  font-weight: 700; text-decoration: none;
}
.skip-link:focus { top: 1rem; }
.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* Cross-document page transitions (progressive enhancement) */
@view-transition { navigation: auto; }
@media (prefers-reduced-motion: reduce) { @view-transition { navigation: none; } }

/* ── Layout primitives ─────────────────────────────────────────────────── */
.container { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }
.container--narrow { max-width: 880px; }
.section { padding-block: var(--section); position: relative; }
.section--tight { padding-block: calc(var(--section) * .6); }
.section--white { background: var(--white); }
.section--sand { background: var(--paper-2); }
.section--ink { background: var(--ink); color: var(--text-inv); }
.section--ink h2, .section--ink h3 { color: var(--white); }
.section--navy { background: var(--navy-900); color: var(--text-inv); }
.section--navy h2, .section--navy h3 { color: var(--white); }

.eyebrow {
  display: inline-flex; align-items: center; gap: .75rem;
  font-family: var(--font-body); font-size: var(--fs-xs); font-weight: 700;
  letter-spacing: .16em; text-transform: uppercase; color: var(--gold-text);
  margin-bottom: 1.1rem;
}
.eyebrow::before { content: ''; width: 28px; height: 2px; background: currentColor; }
.section--ink .eyebrow, .section--navy .eyebrow, .on-dark .eyebrow { color: var(--gold); }
.eyebrow--plain::before { display: none; }

.display { font-size: var(--fs-3xl); font-weight: 400; }
.display em, .h2 em, .page-hero h1 em { font-style: italic; color: var(--navy-600); }
.section--ink .display em, .section--navy .display em, .on-dark em { color: var(--gold-soft); }
.h2 { font-size: var(--fs-2xl); font-weight: 400; }
.h3 { font-size: var(--fs-xl); font-weight: 500; }
.lead { font-size: var(--fs-lg); color: var(--muted); max-width: 62ch; }
.section--ink .lead, .section--navy .lead { color: var(--muted-inv); }
.muted { color: var(--muted); }
.pre-line { white-space: pre-line; }

.section-head { display: grid; gap: 1.25rem; margin-bottom: clamp(2.5rem, 2rem + 2vw, 4rem); }
.section-head--split { grid-template-columns: 1fr; align-items: end; }
@media (min-width: 900px) { .section-head--split { grid-template-columns: 1.1fr .9fr; gap: 3rem; } }
.section-head--center { text-align: center; justify-items: center; }
.section-head--center .eyebrow::after { content: ''; width: 28px; height: 2px; background: currentColor; }

.rule { height: 1px; background: var(--line); border: 0; }

/* ── Buttons & links ───────────────────────────────────────────────────── */
.btn {
  --btn-bg: var(--navy); --btn-fg: var(--white); --btn-bd: var(--navy);
  display: inline-flex; align-items: center; justify-content: center; gap: .6rem;
  min-height: 48px; padding: .8rem 1.5rem;
  background: var(--btn-bg); color: var(--btn-fg); border: 1.5px solid var(--btn-bd);
  border-radius: var(--radius); font-weight: 700; font-size: .95rem; letter-spacing: .01em;
  text-decoration: none; line-height: 1.2;
  transition: background .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease), transform .25s var(--ease);
}
.btn svg { width: 18px; height: 18px; transition: transform .3s var(--ease); flex-shrink: 0; }
.btn:hover svg { transform: translateX(3px); }
.btn:hover { --btn-bg: var(--navy-600); --btn-bd: var(--navy-600); }
.btn:active { transform: translateY(1px); }
.btn--gold { --btn-bg: var(--gold); --btn-fg: var(--ink); --btn-bd: var(--gold); }
.btn--gold:hover { --btn-bg: var(--gold-soft); --btn-bd: var(--gold-soft); }
.btn--ghost { --btn-bg: transparent; --btn-fg: var(--ink); --btn-bd: var(--line-strong); }
.btn--ghost:hover { --btn-bg: var(--ink); --btn-fg: var(--white); --btn-bd: var(--ink); }
.btn--ghost-light { --btn-bg: transparent; --btn-fg: var(--white); --btn-bd: rgba(255,255,255,.55); }
.btn--ghost-light:hover { --btn-bg: var(--white); --btn-fg: var(--ink); --btn-bd: var(--white); }
.btn[disabled] { opacity: .6; pointer-events: none; }

.link-arrow {
  display: inline-flex; align-items: center; gap: .5rem; font-weight: 700; font-size: .95rem;
  color: var(--navy); text-decoration: none; border-bottom: 1.5px solid transparent; padding-bottom: 2px;
  transition: border-color .25s var(--ease), gap .25s var(--ease);
}
.link-arrow:hover { border-color: currentColor; gap: .75rem; }
.link-arrow svg { width: 16px; height: 16px; }
.on-dark .link-arrow, .section--ink .link-arrow, .section--navy .link-arrow { color: var(--gold-soft); }

/* ── Header / navigation ───────────────────────────────────────────────── */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 100; height: var(--header-h);
  color: var(--white);
  transition: background .35s var(--ease), color .35s var(--ease), box-shadow .35s var(--ease), transform .35s var(--ease);
}
.site-header::before {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(to bottom, rgba(6,14,26,.55), rgba(6,14,26,0));
  transition: opacity .35s var(--ease);
}
.site-header.is-solid { background: rgba(247, 244, 237, .94); color: var(--ink); box-shadow: 0 1px 0 var(--line); backdrop-filter: saturate(1.4) blur(12px); -webkit-backdrop-filter: saturate(1.4) blur(12px); }
.site-header.is-solid::before { opacity: 0; }
.site-header.is-hidden { transform: translateY(-100%); }
.header-inner { position: relative; height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; }
.brand { display: flex; align-items: center; gap: .8rem; text-decoration: none; min-width: 0; }
.brand img { width: 46px; height: 46px; border-radius: 50%; object-fit: cover; flex-shrink: 0; box-shadow: 0 0 0 2px rgba(255,255,255,.85); background: var(--white); }
.site-header.is-solid .brand img { box-shadow: 0 0 0 1px var(--line); }
.brand-text { display: grid; line-height: 1.15; }
.brand-text strong { font-family: var(--font-display); font-weight: 500; font-size: 1.12rem; letter-spacing: 0; }
.brand-text span { font-size: .68rem; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; opacity: .8; }

.nav-list { display: none; align-items: center; gap: .25rem; }
.nav-list a {
  position: relative; display: inline-block; padding: .6rem .8rem; font-size: .92rem; font-weight: 600;
  text-decoration: none; opacity: .92;
}
.nav-list a::after {
  content: ''; position: absolute; left: .8rem; right: .8rem; bottom: .3rem; height: 2px;
  background: var(--gold); transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease);
}
.nav-list a:hover::after, .nav-list a[aria-current="page"]::after { transform: scaleX(1); }
.nav-list a[aria-current="page"] { opacity: 1; }
.nav-cta { display: none; }
@media (min-width: 1040px) {
  .nav-list { display: flex; }
  .nav-cta { display: inline-flex; min-height: 42px; padding: .55rem 1.1rem; }
  .menu-toggle { display: none !important; }
}
.site-header:not(.is-solid) .nav-cta { --btn-bg: transparent; --btn-fg: var(--white); --btn-bd: rgba(255,255,255,.6); }
.site-header:not(.is-solid) .nav-cta:hover { --btn-bg: var(--white); --btn-fg: var(--ink); --btn-bd: var(--white); }

.menu-toggle {
  display: inline-flex; align-items: center; gap: .6rem; padding: .55rem .2rem .55rem .7rem; min-height: 44px;
  background: none; border: 0; color: inherit; font-weight: 700; font-size: .85rem; letter-spacing: .12em; text-transform: uppercase;
  position: relative; z-index: 2;
}
.menu-toggle .bars { width: 26px; height: 14px; position: relative; }
.menu-toggle .bars span { position: absolute; left: 0; width: 100%; height: 2px; background: currentColor; transition: transform .35s var(--ease), top .35s var(--ease), opacity .2s; }
.menu-toggle .bars span:nth-child(1) { top: 0; }
.menu-toggle .bars span:nth-child(2) { top: 6px; }
.menu-toggle .bars span:nth-child(3) { top: 12px; }
.menu-open .menu-toggle .bars span:nth-child(1) { top: 6px; transform: rotate(45deg); }
.menu-open .menu-toggle .bars span:nth-child(2) { opacity: 0; }
.menu-open .menu-toggle .bars span:nth-child(3) { top: 6px; transform: rotate(-45deg); }

.mobile-menu {
  position: fixed; inset: 0; z-index: 99; background: var(--ink); color: var(--white);
  display: flex; flex-direction: column; padding: calc(var(--header-h) + 1.5rem) var(--gutter) 2rem;
  overflow-y: auto; visibility: hidden; opacity: 0;
  clip-path: inset(0 0 100% 0);
  transition: clip-path .55s var(--ease), opacity .3s var(--ease), visibility 0s linear .55s;
}
.menu-open .mobile-menu { visibility: visible; opacity: 1; clip-path: inset(0 0 0 0); transition: clip-path .55s var(--ease), opacity .3s var(--ease); }
.menu-open .site-header { color: var(--white); background: transparent; box-shadow: none; backdrop-filter: none; }
.menu-open .site-header::before { opacity: 0; }
.mobile-menu ol { list-style: none; padding: 0; counter-reset: m; }
.mobile-menu li { border-bottom: 1px solid var(--line-inv); counter-increment: m; }
.mobile-menu li a {
  display: flex; align-items: baseline; gap: 1rem; padding: .9rem 0;
  font-family: var(--font-display); font-size: clamp(1.9rem, 7vw, 2.6rem); line-height: 1.15; text-decoration: none;
}
.mobile-menu li a::before { content: '0' counter(m); font-family: var(--font-body); font-size: .75rem; font-weight: 700; color: var(--gold); letter-spacing: .1em; }
.mobile-menu li a[aria-current="page"] { color: var(--gold-soft); }
.mobile-menu-foot { margin-top: auto; padding-top: 2rem; color: var(--muted-inv); font-size: .92rem; display: grid; gap: .35rem; }
.mobile-menu-foot a { text-decoration: none; }
body.menu-open { overflow: hidden; }
@media (min-width: 1040px) { .mobile-menu { display: none; } }

/* Pages without a dark hero start with a solid header */
.header-solid-start .site-header { background: rgba(247, 244, 237, .94); color: var(--ink); box-shadow: 0 1px 0 var(--line); }
.header-solid-start .site-header::before { opacity: 0; }

/* ── Home hero ─────────────────────────────────────────────────────────── */
.hero {
  position: relative; min-height: 100vh; min-height: 100svh; display: flex; align-items: flex-end;
  color: var(--white); overflow: hidden; background: var(--ink); isolation: isolate;
}
.hero-media { position: absolute; inset: 0; z-index: -2; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 40%; transform: scale(1.08); animation: heroZoom 14s var(--ease) forwards; }
@keyframes heroZoom { to { transform: scale(1); } }
.hero::after {
  content: ''; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(180deg, rgba(6,14,26,.35) 0%, rgba(6,14,26,.05) 30%, rgba(6,14,26,.35) 55%, rgba(6,14,26,.92) 100%),
    linear-gradient(90deg, rgba(6,14,26,.55) 0%, rgba(6,14,26,0) 60%);
}
.hero-inner { width: 100%; padding-block: calc(var(--header-h) + 3rem) clamp(2.5rem, 2rem + 3vw, 4.5rem); }
.hero-kicker { display: flex; flex-wrap: wrap; align-items: center; gap: .6rem 1.1rem; font-size: var(--fs-xs); font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--gold-soft); margin-bottom: 1.5rem; }
.hero-kicker span + span::before { content: ''; display: inline-block; width: 5px; height: 5px; border-radius: 50%; background: var(--gold); margin-right: 1.1rem; vertical-align: middle; }
.hero h1 { color: var(--white); font-size: var(--fs-hero); font-weight: 400; line-height: .98; letter-spacing: -.025em; max-width: 13ch; }
.hero h1 .accent { font-style: italic; color: var(--gold-soft); }
.hero-sub { font-size: clamp(1.05rem, 1rem + .4vw, 1.3rem); color: rgba(255,255,255,.86); max-width: 52ch; margin-top: 1.5rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 2.25rem; }
.hero-foot {
  display: grid; grid-template-columns: 1fr; gap: 1.25rem; margin-top: clamp(2.5rem, 2rem + 3vw, 4.5rem);
  padding-top: 1.5rem; border-top: 1px solid rgba(255,255,255,.22);
}
.hero-facts { display: flex; flex-wrap: wrap; gap: 1.25rem 2.5rem; }
.hero-fact { display: grid; }
.hero-fact b { font-family: var(--font-display); font-weight: 400; font-size: clamp(1.6rem, 1.3rem + 1vw, 2.2rem); line-height: 1.1; color: var(--white); font-variant-numeric: tabular-nums; }
.hero-fact span { font-size: var(--fs-xs); font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: rgba(255,255,255,.7); }
.scroll-cue { display: none; align-items: center; gap: .75rem; color: rgba(255,255,255,.75); font-size: var(--fs-xs); font-weight: 700; letter-spacing: .18em; text-transform: uppercase; text-decoration: none; justify-self: end; align-self: end; }
.scroll-cue i { width: 1px; height: 42px; background: rgba(255,255,255,.3); position: relative; overflow: hidden; }
.scroll-cue i::after { content: ''; position: absolute; left: 0; top: -40%; width: 100%; height: 40%; background: var(--gold); animation: cue 2.2s var(--ease) infinite; }
@keyframes cue { to { top: 110%; } }
@media (min-width: 760px) { .hero-foot { grid-template-columns: 1fr auto; } .scroll-cue { display: inline-flex; } }

/* Hero entrance */
.hero [data-enter] { opacity: 0; transform: translateY(24px); animation: enter 1s var(--ease) forwards; }
.hero [data-enter="2"] { animation-delay: .12s; }
.hero [data-enter="3"] { animation-delay: .24s; }
.hero [data-enter="4"] { animation-delay: .36s; }
.hero [data-enter="5"] { animation-delay: .5s; }
@keyframes enter { to { opacity: 1; transform: none; } }

/* ── Inner page hero ───────────────────────────────────────────────────── */
.page-hero {
  position: relative; min-height: clamp(420px, 62vh, 640px); display: flex; align-items: flex-end;
  background: var(--ink); color: var(--white); overflow: hidden; isolation: isolate;
}
.page-hero-media { position: absolute; inset: 0; z-index: -2; }
.page-hero-media img { width: 100%; height: 100%; object-fit: cover; animation: heroZoom 14s var(--ease) forwards; transform: scale(1.06); }
.page-hero::after { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(6,14,26,.45) 0%, rgba(6,14,26,.2) 40%, rgba(6,14,26,.9) 100%); }
.page-hero .container { padding-block: calc(var(--header-h) + 3rem) clamp(2.5rem, 2rem + 2vw, 3.75rem); }
.page-hero h1 { color: var(--white); font-size: var(--fs-3xl); font-weight: 400; max-width: 18ch; }
.page-hero h1 em { color: var(--gold-soft); }
.page-hero p { color: rgba(255,255,255,.84); font-size: var(--fs-lg); max-width: 56ch; margin-top: 1rem; }
.breadcrumb { display: flex; flex-wrap: wrap; gap: .5rem; font-size: var(--fs-xs); font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--gold-soft); margin-bottom: 1.25rem; padding: 0; list-style: none; }
.breadcrumb li + li::before { content: '/'; margin-right: .5rem; color: rgba(255,255,255,.45); }
.breadcrumb a { color: rgba(255,255,255,.8); text-decoration: none; }
.breadcrumb a:hover { color: var(--white); }
.page-hero--compact { min-height: clamp(300px, 40vh, 420px); }

/* Sub-navigation (in-page anchors) */
.subnav { position: sticky; top: var(--header-h); z-index: 50; background: rgba(247,244,237,.96); border-bottom: 1px solid var(--line); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); transition: top .35s var(--ease); }
.header-hidden .subnav { top: 0; }
.subnav ul { display: flex; gap: .25rem; overflow-x: auto; scrollbar-width: none; padding: 0; margin: 0; list-style: none; }
.subnav ul::-webkit-scrollbar { display: none; }
.subnav a { display: block; white-space: nowrap; padding: 1rem .9rem; font-size: .88rem; font-weight: 600; color: var(--muted); text-decoration: none; border-bottom: 2px solid transparent; }
.subnav a:hover, .subnav a.is-active { color: var(--ink); border-color: var(--gold); }

/* ── Reveal on scroll ──────────────────────────────────────────────────── */
.js [data-reveal] { opacity: 0; transform: translateY(28px); transition: opacity .9s var(--ease), transform .9s var(--ease); transition-delay: var(--d, 0s); }
.js [data-reveal].is-in { opacity: 1; transform: none; }
.js [data-reveal="fade"] { transform: none; }
.js [data-reveal="clip"] { transform: none; clip-path: inset(0 0 100% 0); transition: clip-path 1.1s var(--ease), opacity .6s var(--ease); transition-delay: var(--d, 0s); }
.js [data-reveal="clip"].is-in { clip-path: inset(0 0 0 0); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; transition-delay: 0s !important; }
  .js [data-reveal] { opacity: 1; transform: none; clip-path: none; }
  .hero-media img, .page-hero-media img { transform: none; }
}

/* ── Media helpers ─────────────────────────────────────────────────────── */
.frame { position: relative; overflow: hidden; background: var(--paper-2); }
.frame img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.frame--4x5 { aspect-ratio: 4 / 5; }
.frame--3x2 { aspect-ratio: 3 / 2; }
.frame--4x3 { aspect-ratio: 4 / 3; }
.frame--16x9 { aspect-ratio: 16 / 9; }
.frame--1x1 { aspect-ratio: 1; }
.frame--tall { aspect-ratio: 3 / 4; }
.img-caption { font-size: var(--fs-xs); color: var(--muted-2); margin-top: .7rem; letter-spacing: .02em; }
.skeleton { background: linear-gradient(100deg, var(--paper-2) 30%, #f6f1e6 50%, var(--paper-2) 70%); background-size: 300% 100%; animation: shimmer 1.6s linear infinite; border-radius: var(--radius); }
@keyframes shimmer { to { background-position: -150% 0; } }
.empty-state { padding: 2.5rem 1.5rem; text-align: center; color: var(--muted); border: 1px dashed var(--line-strong); border-radius: var(--radius-lg); }
.section--ink .empty-state, .section--navy .empty-state { color: var(--muted-inv); border-color: var(--line-inv); }

/* ── Home: introduction ────────────────────────────────────────────────── */
.intro-grid { display: grid; gap: clamp(2.5rem, 2rem + 3vw, 5rem); align-items: start; }
@media (min-width: 960px) { .intro-grid { grid-template-columns: 1.05fr .95fr; } }
.intro-year {
  font-family: var(--font-display); font-weight: 300; font-size: clamp(5rem, 3rem + 10vw, 11rem); line-height: .85; letter-spacing: -.04em;
  color: transparent; -webkit-text-stroke: 1.5px var(--navy); margin-bottom: 1.5rem;
}
.intro-year small { display: block; -webkit-text-stroke: 0; color: var(--gold-text); font-family: var(--font-body); font-size: var(--fs-xs); font-weight: 700; letter-spacing: .18em; text-transform: uppercase; margin-top: 1rem; line-height: 1.4; }
.intro-lead { font-family: var(--font-display); font-size: var(--fs-xl); line-height: 1.45; color: var(--ink); font-weight: 400; }
.intro-body { margin-top: 1.5rem; color: var(--muted); }
.intro-points { display: grid; gap: 0; margin-top: 2.25rem; border-top: 1px solid var(--line); }
.intro-points li { display: grid; grid-template-columns: 2.5rem 1fr; gap: 1rem; padding: 1.1rem 0; border-bottom: 1px solid var(--line); }
.intro-points .n { font-size: var(--fs-xs); font-weight: 800; color: var(--gold-text); letter-spacing: .1em; padding-top: .3rem; }
.intro-points strong { display: block; font-family: var(--font-display); font-weight: 500; font-size: 1.15rem; color: var(--ink); }
.intro-points p { color: var(--muted); font-size: .97rem; }
.intro-media { position: relative; }
.intro-media .frame--main { aspect-ratio: 4 / 5; border-radius: var(--radius); }
.intro-media .frame--inset { position: absolute; width: 46%; aspect-ratio: 1; left: -8%; bottom: -8%; border: 8px solid var(--paper); border-radius: var(--radius); box-shadow: var(--shadow); display: none; }
@media (min-width: 960px) { .intro-media .frame--inset { display: block; } }
.intro-stamp {
  position: absolute; right: -14px; top: 28px; width: 116px; height: 116px; border-radius: 50%;
  background: var(--paper); box-shadow: var(--shadow); display: grid; place-items: center; padding: 10px;
}
.intro-stamp img { width: 100%; height: 100%; object-fit: contain; }
@media (max-width: 600px) { .intro-stamp { width: 84px; height: 84px; right: 10px; top: 10px; } }

/* ── Home: programs ────────────────────────────────────────────────────── */
.program-rail { display: grid; gap: 1.25rem; grid-template-columns: 1fr; }
@media (min-width: 640px) { .program-rail { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .program-rail { grid-template-columns: repeat(4, 1fr); } }
.program-card { position: relative; display: flex; flex-direction: column; text-decoration: none; color: inherit; background: var(--white); border-radius: var(--radius); overflow: hidden; box-shadow: 0 0 0 1px var(--line); transition: box-shadow .4s var(--ease), transform .4s var(--ease); }
.program-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-4px); }
.program-card:hover .frame img { transform: scale(1.06); }
.program-card .frame { aspect-ratio: 4 / 3; }
.program-card-body { padding: 1.4rem 1.4rem 1.6rem; display: flex; flex-direction: column; gap: .6rem; flex: 1; }
.program-num { font-size: var(--fs-xs); font-weight: 800; letter-spacing: .14em; color: var(--gold-text); }
.program-card h3 { font-size: 1.45rem; }
.program-card p { color: var(--muted); font-size: .95rem; }
.lang-tags { display: flex; flex-wrap: wrap; gap: .4rem; margin-top: auto; padding-top: .6rem; }
.lang-tag { font-size: .72rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; padding: .3rem .6rem; border-radius: 999px; background: rgba(31,90,58,.1); color: var(--green); }

/* ── Home: statistics ──────────────────────────────────────────────────── */
.stats-grid { display: grid; gap: clamp(2.5rem, 2rem + 3vw, 5rem); }
@media (min-width: 960px) { .stats-grid { grid-template-columns: .9fr 1.1fr; align-items: start; } }
.stat-heroes { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem 1.5rem; margin-top: 2.5rem; }
.stat-hero b { display: block; font-family: var(--font-display); font-weight: 300; font-size: clamp(3rem, 2rem + 4vw, 5.5rem); line-height: 1; color: var(--white); letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.stat-hero span { display: block; margin-top: .6rem; font-size: var(--fs-xs); font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--gold); }
.stat-note { margin-top: 2rem; font-size: .85rem; color: var(--muted-inv); }
.dist-panels { display: grid; gap: 2.5rem; }
.dist-panel h3 { font-family: var(--font-body); font-size: var(--fs-xs); font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--muted-inv); margin-bottom: 1.25rem; display: flex; justify-content: space-between; gap: 1rem; }
.dist-panel h3 span { color: var(--white); }
/* Horizontal bar list: single series, thin marks, rounded data-end, values as text */
.bar-list { display: grid; gap: 1rem; padding: 0; margin: 0; list-style: none; }
.bar-row { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: .35rem 1rem; align-items: baseline; }
.bar-label { font-size: .95rem; color: var(--text-inv); }
.bar-value { font-weight: 700; font-variant-numeric: tabular-nums; color: var(--white); }
.bar-value small { font-weight: 500; color: var(--muted-inv); margin-left: .35rem; }
.bar-track { grid-column: 1 / -1; height: 8px; background: rgba(255,255,255,.08); position: relative; }
.bar-fill { position: absolute; inset: 0 auto 0 0; width: 0; background: var(--gold); border-radius: 0 4px 4px 0; transition: width 1.4s var(--ease); }
.section--paper .bar-label, .on-light .bar-label { color: var(--text); }
.on-light .bar-value { color: var(--ink); }
.on-light .bar-value small { color: var(--muted); }
.on-light .bar-track { background: var(--paper-2); }
.on-light .bar-fill { background: var(--navy); }
.on-light .dist-panel h3 { color: var(--muted); }
.on-light .dist-panel h3 span { color: var(--ink); }

.on-light .stat-hero b { color: var(--ink); }
.on-light .stat-hero span { color: var(--gold-text); }
.on-light .bar-label { color: var(--text); }

/* ── Mosaic gallery ────────────────────────────────────────────────────── */
.mosaic { display: grid; gap: .75rem; grid-template-columns: repeat(2, 1fr); grid-auto-rows: 160px; grid-auto-flow: dense; }
@media (min-width: 760px) { .mosaic { grid-template-columns: repeat(4, 1fr); grid-auto-rows: 210px; gap: 1rem; } }
@media (min-width: 1200px) { .mosaic { grid-auto-rows: 240px; } }
.mosaic-item { position: relative; overflow: hidden; border-radius: var(--radius); background: var(--paper-2); padding: 0; border: 0; text-align: left; color: var(--white); cursor: zoom-in; }
.mosaic-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease), filter .6s var(--ease); }
.mosaic-item::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 45%, rgba(6,14,26,.82)); opacity: .9; transition: opacity .5s var(--ease); }
.mosaic-item figcaption, .mosaic-item .cap { position: absolute; left: 0; right: 0; bottom: 0; z-index: 1; padding: 1rem 1.1rem; font-size: .9rem; line-height: 1.45; font-weight: 500; transform: translateY(6px); transition: transform .5s var(--ease); }
.mosaic-item:hover img, .mosaic-item:focus-visible img { transform: scale(1.05); }
.mosaic-item:hover .cap { transform: none; }
.mosaic-item.span-2x2 { grid-column: span 2; grid-row: span 2; }
.mosaic-item.span-2 { grid-column: span 2; }
.mosaic-item.span-row2 { grid-row: span 2; }
.mosaic-item.span-full { grid-column: 1 / -1; }
@media (min-width: 760px) { .mosaic-item.at-right { grid-column: 3 / span 2; } }
.mosaic-item .cap { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 3; overflow: hidden; }
@media (max-width: 759px) { .mosaic-item:not(.span-2x2):not(.span-full) .cap { -webkit-line-clamp: 2; } }
@media (max-width: 759px) { .mosaic-item .cap { font-size: .8rem; padding: .7rem .8rem; } }

/* Simple photo grid (academics) */
.photo-grid { display: grid; gap: .75rem; grid-template-columns: repeat(2, 1fr); }
@media (min-width: 900px) { .photo-grid { grid-template-columns: repeat(3, 1fr); gap: 1rem; } }
.photo-grid .mosaic-item { aspect-ratio: 4 / 3; }
.photo-grid .mosaic-item.is-wide { grid-column: 1 / -1; aspect-ratio: 21 / 9; }
@media (max-width: 600px) { .photo-grid .mosaic-item.is-wide { aspect-ratio: 4 / 3; } }

/* Lightbox */
.lightbox { position: fixed; inset: 0; z-index: 500; background: rgba(6,12,22,.96); color: var(--white); display: none; grid-template-rows: 1fr auto; padding: clamp(1rem, 3vw, 2.5rem); }
.lightbox.is-open { display: grid; animation: lbIn .3s var(--ease); }
@keyframes lbIn { from { opacity: 0; } }
.lightbox figure { display: grid; place-items: center; min-height: 0; }
.lightbox img { max-width: 100%; max-height: calc(100vh - 9rem); max-height: calc(100svh - 9rem); object-fit: contain; border-radius: 2px; }
.lightbox-bar { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding-top: 1rem; }
.lightbox-caption { font-size: .95rem; color: rgba(255,255,255,.85); max-width: 70ch; }
.lightbox-count { font-size: var(--fs-xs); letter-spacing: .14em; color: var(--gold); font-weight: 700; white-space: nowrap; }
.lightbox-btn { width: 48px; height: 48px; border-radius: 50%; border: 1px solid rgba(255,255,255,.3); background: rgba(255,255,255,.04); color: var(--white); display: inline-grid; place-items: center; transition: background .2s; }
.lightbox-btn:hover { background: rgba(255,255,255,.14); }
.lightbox-btn svg { width: 20px; height: 20px; }
.lightbox-close { position: absolute; top: 1rem; right: 1rem; }
.lightbox-nav { display: flex; gap: .5rem; }

/* ── News ──────────────────────────────────────────────────────────────── */
.news-layout { display: grid; gap: 2rem; }
@media (min-width: 1000px) { .news-layout { grid-template-columns: 1.35fr 1fr; gap: 3rem; } }
.news-feature { display: grid; gap: 1.5rem; text-decoration: none; color: inherit; }
.news-feature .frame { aspect-ratio: 16 / 10; border-radius: var(--radius); }
.news-feature:hover .frame img { transform: scale(1.04); }
.news-feature h3 { font-size: var(--fs-2xl); font-weight: 400; }
.news-feature p { color: var(--muted); font-size: 1.02rem; }
.news-meta { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem 1rem; font-size: var(--fs-xs); font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--gold-text); }
.news-meta .tag { color: var(--navy); }
.news-list { display: grid; align-content: start; border-top: 1px solid var(--line); }
.news-item { display: grid; grid-template-columns: 1fr 112px; gap: 1.25rem; align-items: start; padding: 1.35rem 0; border-bottom: 1px solid var(--line); text-decoration: none; color: inherit; }
.news-item h3 { font-size: 1.2rem; margin-top: .4rem; line-height: 1.25; transition: color .25s; }
.news-item:hover h3 { color: var(--navy-600); }
.news-item .frame { aspect-ratio: 1; border-radius: var(--radius); }
.news-item--text { grid-template-columns: 1fr; }
.clamp-2 { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.clamp-3 { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }

.news-toolbar { display: flex; flex-wrap: wrap; gap: .75rem; align-items: center; justify-content: space-between; margin-bottom: 2.5rem; padding-bottom: 1.5rem; border-bottom: 1px solid var(--line); }
.news-filters { display: flex; flex-wrap: wrap; gap: .5rem; }
.chip { min-height: 40px; padding: .45rem 1rem; border-radius: 999px; border: 1px solid var(--line-strong); background: transparent; font-size: .88rem; font-weight: 600; color: var(--muted); transition: all .2s; }
.chip:hover { color: var(--ink); border-color: var(--ink); }
.chip[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: var(--white); }
.search-field { position: relative; flex: 1 1 260px; max-width: 380px; }
.search-field svg { position: absolute; left: .9rem; top: 50%; translate: 0 -50%; width: 18px; height: 18px; color: var(--muted-2); pointer-events: none; }
.search-field input { width: 100%; min-height: 46px; padding: .6rem 1rem .6rem 2.6rem; border: 1px solid var(--line-strong); border-radius: 999px; background: var(--white); font-size: .95rem; }
.search-field input:focus { outline: none; border-color: var(--navy); box-shadow: 0 0 0 3px rgba(18,58,107,.15); }

.news-grid { display: grid; gap: 2.5rem 1.75rem; grid-template-columns: 1fr; }
@media (min-width: 700px) { .news-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .news-grid { grid-template-columns: repeat(3, 1fr); } }
.news-card { display: flex; flex-direction: column; gap: 1rem; text-decoration: none; color: inherit; }
.news-card .frame { aspect-ratio: 3 / 2; border-radius: var(--radius); }
.news-card:hover .frame img { transform: scale(1.05); }
.news-card h3 { font-size: 1.35rem; line-height: 1.25; transition: color .25s; }
.news-card:hover h3 { color: var(--navy-600); }
.news-card p { color: var(--muted); font-size: .96rem; }
.news-card--text { padding: 1.75rem; background: var(--white); border-radius: var(--radius); box-shadow: 0 0 0 1px var(--line); border-top: 3px solid var(--gold); }
.news-lead { display: grid; gap: 2rem; margin-bottom: 4rem; text-decoration: none; color: inherit; }
@media (min-width: 960px) { .news-lead { grid-template-columns: 1.3fr 1fr; align-items: center; gap: 3.5rem; } }
.news-lead .frame { aspect-ratio: 16 / 10; border-radius: var(--radius); }
.news-lead:hover .frame img { transform: scale(1.04); }
.news-lead h2 { font-size: var(--fs-2xl); font-weight: 400; margin: .9rem 0 1rem; }
.news-lead p { color: var(--muted); font-size: 1.05rem; }
.results-note { font-size: .9rem; color: var(--muted); margin-bottom: 1.5rem; min-height: 1.5em; }

/* Article */
.article-head { padding-top: calc(var(--header-h) + clamp(2.5rem, 2rem + 3vw, 5rem)); padding-bottom: 2.5rem; }
.article-head h1 { font-size: var(--fs-3xl); font-weight: 400; margin: 1.1rem 0 0; max-width: 22ch; }
.article-back { display: inline-flex; align-items: center; gap: .5rem; font-size: .9rem; font-weight: 700; color: var(--muted); text-decoration: none; }
.article-back:hover { color: var(--ink); }
.article-back svg { width: 16px; height: 16px; }
.article-figure { margin-bottom: 3rem; }
.article-figure .frame { border-radius: var(--radius); max-height: 78vh; }
.article-figure img { cursor: zoom-in; }
.article-body { font-size: clamp(1.08rem, 1rem + .3vw, 1.22rem); line-height: 1.85; color: var(--text); max-width: 68ch; }
.article-body p + p { margin-top: 1.2em; }
.article-body p:first-child::first-letter { font-family: var(--font-display); float: left; font-size: 4.2em; line-height: .82; padding: .08em .12em 0 0; color: var(--navy); }
.article-foot { margin-top: 3rem; padding-top: 2rem; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; gap: 1rem; justify-content: space-between; align-items: center; }
.share-row { display: flex; gap: .5rem; align-items: center; font-size: .88rem; color: var(--muted); }

/* ── Director ──────────────────────────────────────────────────────────── */
.director { display: grid; gap: clamp(2.5rem, 2rem + 3vw, 5rem); align-items: center; }
@media (min-width: 960px) { .director { grid-template-columns: .8fr 1.2fr; } }
.director-portrait { position: relative; max-width: 460px; margin-right: 18px; margin-bottom: 18px; isolation: isolate; }
.director-portrait .frame { aspect-ratio: 4 / 5; border-radius: var(--radius); }
.director-portrait .frame img { object-position: 50% 30%; }
.director-portrait::before { content: ''; position: absolute; inset: 18px -18px -18px 18px; border: 1px solid var(--gold); border-radius: var(--radius); z-index: -1; }
.director-quote { position: relative; font-family: var(--font-display); font-weight: 300; font-size: clamp(1.25rem, 1.05rem + .8vw, 1.7rem); line-height: 1.55; color: var(--ink); }
.director-quote::before { content: '\201C'; display: block; height: .42em; margin: -.1em 0 0 -.04em; font-size: 4.5em; line-height: 1; color: var(--gold); font-weight: 400; pointer-events: none; }
.director-sign { margin-top: 2rem; display: flex; align-items: center; gap: 1rem; }
.director-sign::before { content: ''; width: 48px; height: 1px; background: var(--ink); }
.director-sign strong { display: block; font-family: var(--font-display); font-weight: 500; font-size: 1.25rem; color: var(--ink); }
.director-sign span { display: block; font-size: .9rem; color: var(--muted); }

/* ── CTA band ──────────────────────────────────────────────────────────── */
.cta-band { position: relative; color: var(--white); isolation: isolate; overflow: hidden; background: var(--ink); }
.cta-band-media { position: absolute; inset: 0; z-index: -2; }
.cta-band-media img { width: 100%; height: 100%; object-fit: cover; }
.cta-band::after { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(8,20,38,.94) 0%, rgba(8,20,38,.78) 50%, rgba(8,20,38,.45) 100%); }
.cta-band .container { padding-block: clamp(5rem, 4rem + 6vw, 9rem); }
.cta-band h2 { color: var(--white); font-size: var(--fs-3xl); font-weight: 400; max-width: 16ch; }
.cta-band h2 em { color: var(--gold-soft); }
.cta-band p { color: rgba(255,255,255,.82); font-size: var(--fs-lg); max-width: 52ch; margin-top: 1.25rem; }
.cta-actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 2.25rem; }

/* ── Footer ────────────────────────────────────────────────────────────── */
.site-footer { background: var(--ink); color: var(--muted-inv); font-size: .95rem; }
.footer-top { display: grid; gap: 3rem; padding-block: clamp(4rem, 3rem + 4vw, 6rem) 3rem; }
@media (min-width: 760px) { .footer-top { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1100px) { .footer-top { grid-template-columns: 1.6fr 1fr 1fr 1.3fr; } }
.footer-brand { display: flex; align-items: center; gap: 1rem; margin-bottom: 1.25rem; text-decoration: none; color: var(--white); }
.footer-brand img { width: 64px; height: 64px; border-radius: 50%; background: var(--white); }
.footer-brand strong { font-family: var(--font-display); font-weight: 400; font-size: 1.35rem; line-height: 1.2; }
.footer-about { max-width: 46ch; line-height: 1.75; }
.footer-col h2 { font-family: var(--font-body); font-size: var(--fs-xs); font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--gold); margin-bottom: 1.25rem; }
.footer-links { display: grid; gap: .55rem; padding: 0; margin: 0; list-style: none; }
.footer-links a { text-decoration: none; transition: color .2s; }
.footer-links a:hover { color: var(--white); }
.footer-contact { display: grid; gap: 1rem; font-style: normal; }
.footer-contact div { display: grid; grid-template-columns: 20px 1fr; gap: .8rem; align-items: start; }
.footer-contact svg { width: 18px; height: 18px; margin-top: .25rem; color: var(--gold); }
.footer-contact a { text-decoration: none; word-break: break-word; }
.footer-contact a:hover { color: var(--white); }
.footer-bottom { border-top: 1px solid var(--line-inv); padding-block: 1.5rem; display: flex; flex-wrap: wrap; gap: .75rem 2rem; justify-content: space-between; font-size: .85rem; }
.footer-bottom a { text-decoration: none; }
.footer-bottom a:hover { color: var(--white); }

/* ── About ─────────────────────────────────────────────────────────────── */
.history-grid { display: grid; gap: clamp(2.5rem, 2rem + 3vw, 5rem); }
@media (min-width: 1000px) { .history-grid { grid-template-columns: 1fr 1.15fr; align-items: start; } .history-aside { position: sticky; top: calc(var(--header-h) + 5rem); } }
.history-aside .frame { aspect-ratio: 4 / 3; border-radius: var(--radius); }
.timeline { position: relative; padding: 0; margin: 0; list-style: none; }
.timeline::before { content: ''; position: absolute; left: 7px; top: .6rem; bottom: .6rem; width: 1px; background: var(--line-strong); }
.timeline li { position: relative; padding: 0 0 2.25rem 2.75rem; }
.timeline li:last-child { padding-bottom: 0; }
.timeline li::before { content: ''; position: absolute; left: 0; top: .5rem; width: 15px; height: 15px; border-radius: 50%; background: var(--paper); border: 2px solid var(--gold); }
.timeline li.is-key::before { background: var(--gold); }
.timeline .when { font-size: var(--fs-xs); font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--gold-text); }
.timeline .when.big { display: block; font-family: var(--font-display); font-weight: 300; font-size: clamp(2.6rem, 2rem + 2.5vw, 3.8rem); letter-spacing: -.02em; line-height: 1; color: var(--navy); margin: .2rem 0 .5rem; text-transform: none; }
.timeline p { font-size: 1.08rem; color: var(--text); margin-top: .35rem; }
.history-more { margin-top: 2.5rem; padding-top: 2rem; border-top: 1px solid var(--line); color: var(--muted); }
.history-more ul { margin-top: 1rem; padding-left: 1.2rem; display: grid; gap: .4rem; }
.history-more li::marker { color: var(--gold-text); }

.vm-panel { display: grid; min-height: clamp(520px, 80vh, 760px); position: relative; overflow: hidden; isolation: isolate; }
@media (min-width: 960px) { .vm-panel { grid-template-columns: 1fr 1fr; } .vm-panel--flip .vm-media { order: 2; } }
.vm-media { position: relative; min-height: 320px; overflow: hidden; }
.vm-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.vm-body { display: flex; flex-direction: column; justify-content: center; padding: clamp(3rem, 2rem + 5vw, 7rem) var(--gutter); }
.vm-body > * { max-width: 560px; }
.vm-word { font-family: var(--font-display); font-weight: 300; font-size: clamp(3.4rem, 2rem + 6vw, 7rem); line-height: .9; letter-spacing: -.035em; margin-bottom: 2rem; }
.vm-statement { font-family: var(--font-display); font-weight: 400; font-size: clamp(1.35rem, 1.1rem + 1vw, 2rem); line-height: 1.4; }
.vm-panel--vision { background: var(--navy-900); color: var(--white); }
.vm-panel--vision .vm-word { color: var(--gold-soft); font-style: italic; }
.vm-panel--vision .eyebrow { color: var(--gold); }
.vm-panel--vision .vm-statement { color: var(--white); }
.vm-panel--mission { background: var(--paper); }
.vm-panel--mission .vm-word { color: var(--navy); font-style: italic; }
.vm-panel--mission .vm-statement { color: var(--ink); }

.framework { display: grid; gap: 1.25rem; }
@media (min-width: 960px) { .framework { grid-template-columns: repeat(3, 1fr); } }
.fw-col { display: grid; gap: 1.25rem; align-content: start; }
.fw-col-head { display: flex; align-items: center; gap: .75rem; font-size: var(--fs-xs); font-weight: 800; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); padding-bottom: .9rem; border-bottom: 2px solid var(--ink); }
.fw-col-head b { color: var(--gold-text); }
.fw-card { background: var(--white); padding: 1.6rem 1.6rem 1.75rem; border-radius: var(--radius); box-shadow: 0 0 0 1px var(--line); }
.fw-card h3 { font-size: 1.3rem; margin-bottom: .6rem; }
.fw-card p { color: var(--muted); }
.fw-card--accent { background: var(--navy-900); box-shadow: none; }
.fw-card--accent h3 { color: var(--gold-soft); }
.fw-card--accent p { color: var(--white); font-family: var(--font-display); font-size: 1.2rem; line-height: 1.5; }
.fw-arrow { display: none; }

.values-list { display: grid; padding: 0; margin: 0; list-style: none; border-top: 1px solid var(--line-inv); counter-reset: v; }
.values-list li { counter-increment: v; display: grid; grid-template-columns: 3.5rem 1fr; align-items: baseline; gap: 1rem; padding: 1.4rem 0; border-bottom: 1px solid var(--line-inv); transition: padding .4s var(--ease); }
.values-list li::before { content: counter(v, decimal-leading-zero); font-size: .85rem; font-weight: 800; color: var(--gold); letter-spacing: .1em; }
.values-list li span { font-family: var(--font-display); font-weight: 300; font-size: clamp(2rem, 1.4rem + 3vw, 4rem); line-height: 1.05; color: var(--white); letter-spacing: -.02em; transition: color .3s; }
.values-list li:hover { padding-left: .75rem; }
.values-list li:hover span { color: var(--gold-soft); font-style: italic; }

/* ── Academics ─────────────────────────────────────────────────────────── */
.program-index { display: grid; border-top: 1px solid var(--line); }
.program-index a { display: grid; grid-template-columns: 3rem 1fr auto; gap: 1rem 1.5rem; align-items: center; padding: 1.4rem 0; border-bottom: 1px solid var(--line); text-decoration: none; color: inherit; transition: padding .35s var(--ease), background .35s; }
.program-index a:hover { padding-inline: 1rem; background: var(--white); }
.program-index .n { font-size: var(--fs-xs); font-weight: 800; color: var(--gold-text); letter-spacing: .12em; }
.program-index h3 { font-size: clamp(1.4rem, 1.1rem + 1.2vw, 2.1rem); font-weight: 400; }
.program-index p { grid-column: 2; color: var(--muted); font-size: .95rem; margin-top: -.5rem; }
.program-index .lang-tags { grid-column: 3; grid-row: 1; padding: 0; justify-content: flex-end; }
@media (max-width: 700px) { .program-index a { grid-template-columns: 2.25rem 1fr; } .program-index .lang-tags { grid-column: 2; grid-row: auto; justify-content: flex-start; } }

.level { display: grid; gap: clamp(2rem, 1.5rem + 3vw, 4.5rem); align-items: start; }
@media (min-width: 1000px) { .level { grid-template-columns: .85fr 1.15fr; } .level-text { position: sticky; top: calc(var(--header-h) + 5rem); } }
.level-text h2 { font-size: var(--fs-2xl); font-weight: 400; margin-bottom: 1.25rem; }
.level-text p { color: var(--muted); }
.level-meta { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); margin-top: 2rem; border-radius: var(--radius); overflow: hidden; }
.level-meta div { background: var(--paper); padding: 1rem 1.1rem; }
.section--white .level-meta div { background: var(--white); }
.level-meta dt { font-size: .72rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--muted-2); }
.level-meta dd { margin: .2rem 0 0; font-family: var(--font-display); font-size: 1.15rem; color: var(--ink); }

.ladder { display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; margin-top: 2rem; }
.ladder > div { display: grid; grid-template-columns: 7.5rem 1fr; gap: 1rem; padding: 1.1rem 1.25rem; background: var(--white); align-items: baseline; }
.ladder b { font-family: var(--font-display); font-weight: 500; font-size: 1.25rem; color: var(--navy); }
.ladder span { color: var(--muted); font-size: .95rem; }
@media (max-width: 520px) { .ladder > div { grid-template-columns: 1fr; gap: .2rem; } }

.lang-table-wrap { position: relative; overflow-x: auto; border-radius: var(--radius); box-shadow: 0 0 0 1px var(--line); background: var(--white); }
.lang-table { width: 100%; border-collapse: collapse; min-width: 560px; }
.lang-table caption { text-align: left; padding: 1rem 1.25rem; font-size: .85rem; color: var(--muted); caption-side: bottom; border-top: 1px solid var(--line); }
.lang-table th, .lang-table td { padding: 1.1rem 1.25rem; text-align: left; border-bottom: 1px solid var(--line); }
.lang-table thead th { font-size: .75rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); background: var(--paper); }
.lang-table tbody th { font-family: var(--font-display); font-weight: 500; font-size: 1.1rem; color: var(--ink); }
.lang-table td { text-align: center; }
.lang-table thead th:not(:first-child) { text-align: center; }
.dot-yes { display: inline-grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--green); color: var(--white); }
.dot-yes svg { width: 16px; height: 16px; }
.dot-no { color: var(--line-strong); font-size: 1.2rem; }
.lang-cards { display: grid; gap: 1rem; margin-bottom: 2.5rem; }
@media (min-width: 760px) { .lang-cards { grid-template-columns: repeat(3, 1fr); } }
.lang-card { padding: 1.75rem; border-radius: var(--radius); background: var(--white); box-shadow: 0 0 0 1px var(--line); }
.lang-card .script { font-family: var(--font-display); font-size: 2.2rem; line-height: 1; color: var(--navy); margin-bottom: .9rem; font-style: italic; }
.lang-card h3 { font-family: var(--font-body); font-size: var(--fs-xs); font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--gold-text); margin-bottom: .5rem; }
.lang-card p { color: var(--muted); font-size: .95rem; }

/* ── Staff ─────────────────────────────────────────────────────────────── */
.staff-lead { display: grid; gap: 2.5rem; align-items: center; margin-bottom: clamp(3rem, 2rem + 3vw, 5rem); }
@media (min-width: 900px) { .staff-lead { grid-template-columns: .75fr 1.25fr; gap: 4rem; } }
.staff-lead .frame { aspect-ratio: 4 / 5; border-radius: var(--radius); max-width: 420px; }
.staff-lead .frame img { object-position: 50% 25%; }
.staff-lead h3 { font-size: var(--fs-2xl); font-weight: 400; }
.staff-lead .role { margin-top: .6rem; font-size: var(--fs-xs); font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--gold-text); }
.staff-grid { display: grid; gap: 2rem 1.25rem; grid-template-columns: repeat(2, minmax(0, 1fr)); padding: 0; margin: 0; list-style: none; }
@media (min-width: 700px) { .staff-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 1100px) { .staff-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 2.5rem 1.75rem; } }
.staff-card .frame { aspect-ratio: 4 / 5; border-radius: var(--radius); background: var(--paper-2); }
.staff-card .frame img { object-position: 50% 22%; filter: saturate(.92); transition: transform 1.2s var(--ease), filter .5s; }
.staff-card:hover .frame img { transform: scale(1.04); filter: saturate(1.05); }
.staff-card h3 { font-size: 1.15rem; margin-top: 1rem; line-height: 1.25; }
.staff-card p { font-size: .88rem; color: var(--muted); margin-top: .3rem; line-height: 1.45; }
/* Round profile photos (Unit Leaders, Department Heads). Directorates keep the 4:5 portrait. */
.staff-grid--round { gap: 2.5rem 1rem; }
@media (min-width: 700px) { .staff-grid--round { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (min-width: 1100px) { .staff-grid--round { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 3rem 1.5rem; } }
.staff-grid--round .staff-card { text-align: center; }
.staff-grid--round .staff-card .frame {
  aspect-ratio: 1; width: min(100%, 196px); margin-inline: auto; border-radius: 50%; isolation: isolate;
  box-shadow: 0 0 0 4px var(--paper), 0 0 0 5.5px var(--gold);
  transition: box-shadow .35s var(--ease);
}
.staff-grid--round .staff-card:hover .frame { box-shadow: 0 0 0 4px var(--paper), 0 0 0 5.5px var(--navy); }
.staff-grid--round .staff-card .frame img { object-position: 50% 28%; }
.staff-grid--round .staff-card h3 { margin-top: 1.25rem; }
.staff-grid--round .staff-initials { border-radius: 50%; font-size: 2.4rem; }
.staff-initials { position: absolute; inset: 0; display: grid; place-items: center; font-family: var(--font-display); font-size: 3rem; color: var(--navy); background: linear-gradient(160deg, var(--paper-2), #e2d9c5); }
.staff-tools { display: flex; flex-wrap: wrap; gap: .75rem; align-items: center; justify-content: space-between; margin-bottom: 2.5rem; }
.staff-group + .staff-group { margin-top: clamp(4rem, 3rem + 3vw, 6rem); }
.staff-group-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 1rem; padding-bottom: 1.25rem; margin-bottom: 2rem; border-bottom: 1px solid var(--line); }
.staff-group-head h2 { font-size: var(--fs-2xl); font-weight: 400; }
.staff-group-head p { color: var(--muted); max-width: 52ch; }
.count-pill { font-size: .78rem; font-weight: 700; padding: .25rem .65rem; border-radius: 999px; background: var(--paper-2); color: var(--muted); vertical-align: middle; margin-left: .5rem; font-family: var(--font-body); letter-spacing: 0; }

/* ── Contact ───────────────────────────────────────────────────────────── */
.contact-grid { display: grid; gap: clamp(2.5rem, 2rem + 3vw, 5rem); }
@media (min-width: 1000px) { .contact-grid { grid-template-columns: .85fr 1.15fr; align-items: start; } }
.contact-list { display: grid; padding: 0; margin: 0; list-style: none; border-top: 1px solid var(--line); }
.contact-list li { display: grid; grid-template-columns: 44px 1fr; gap: 1rem; padding: 1.4rem 0; border-bottom: 1px solid var(--line); }
.contact-ico { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: var(--navy-900); color: var(--gold); }
.contact-ico svg { width: 20px; height: 20px; }
.contact-list h3 { font-family: var(--font-body); font-size: var(--fs-xs); font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--muted-2); margin-bottom: .2rem; }
.contact-list p, .contact-list a { font-size: 1.08rem; color: var(--ink); text-decoration: none; word-break: break-word; }
.contact-list a:hover { color: var(--navy-600); text-decoration: underline; }
.map-frame { margin-top: 2rem; border-radius: var(--radius); overflow: hidden; aspect-ratio: 4 / 3; background: var(--paper-2); position: relative; box-shadow: 0 0 0 1px var(--line); }
.map-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.map-load { position: absolute; inset: 0; display: grid; place-content: center; justify-items: center; gap: .9rem; text-align: center; padding: 1.5rem; background: linear-gradient(160deg, var(--paper-2), #e4dccb); color: var(--muted); }
.map-load svg { width: 36px; height: 36px; color: var(--navy); }

.form-card { background: var(--white); border-radius: var(--radius-lg); padding: clamp(1.5rem, 1rem + 3vw, 3.25rem); box-shadow: var(--shadow); }
.form-card h2 { font-size: var(--fs-2xl); font-weight: 400; }
.form-card > p { color: var(--muted); margin-top: .6rem; }
.form { display: grid; gap: 1.25rem; margin-top: 2rem; }
.form-row { display: grid; gap: 1.25rem; }
@media (min-width: 640px) { .form-row { grid-template-columns: 1fr 1fr; } }
.field { display: grid; gap: .45rem; }
.field label { font-size: .85rem; font-weight: 700; color: var(--ink); }
.field label .req { color: var(--ember); }
.field input, .field textarea, .field select {
  width: 100%; min-height: 50px; padding: .75rem 1rem; border: 1.5px solid var(--line-strong); border-radius: var(--radius);
  background: var(--paper); font-size: 1rem; transition: border-color .2s, box-shadow .2s, background .2s;
}
.field textarea { min-height: 170px; resize: vertical; line-height: 1.6; }
.field input:hover, .field textarea:hover { border-color: rgba(11,26,44,.38); }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--navy); background: var(--white); box-shadow: 0 0 0 4px rgba(18,58,107,.14); }
.field[data-invalid] input, .field[data-invalid] textarea { border-color: var(--ember); background: #fdf6f5; }
.field-error { font-size: .84rem; color: var(--ember); font-weight: 600; min-height: 0; }
.field-hint { font-size: .8rem; color: var(--muted-2); display: flex; justify-content: space-between; gap: 1rem; }
.hp-field { position: absolute !important; left: -10000px !important; width: 1px; height: 1px; overflow: hidden; }
.form-status { display: none; gap: .9rem; align-items: flex-start; padding: 1rem 1.15rem; border-radius: var(--radius); font-size: .95rem; line-height: 1.55; }
.form-status.is-visible { display: flex; }
.form-status svg { width: 22px; height: 22px; flex-shrink: 0; margin-top: .1rem; }
.form-status--ok { background: rgba(31,90,58,.1); color: #164530; border: 1px solid rgba(31,90,58,.25); }
.form-status--err { background: rgba(178,58,46,.08); color: #8a2a20; border: 1px solid rgba(178,58,46,.25); }
.form-foot { display: flex; flex-wrap: wrap; gap: 1rem; align-items: center; justify-content: space-between; }
.form-foot small { color: var(--muted-2); font-size: .82rem; max-width: 40ch; }
.spinner { width: 18px; height: 18px; border-radius: 50%; border: 2px solid currentColor; border-right-color: transparent; animation: spin .7s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ── 404 ───────────────────────────────────────────────────────────────── */
.notfound { min-height: 100vh; min-height: 100svh; display: grid; place-items: center; text-align: center; padding: calc(var(--header-h) + 2rem) var(--gutter) 4rem; }
.notfound b { display: block; font-family: var(--font-display); font-weight: 300; font-size: clamp(6rem, 4rem + 12vw, 14rem); line-height: .9; color: transparent; -webkit-text-stroke: 1.5px var(--navy); }
.notfound h1 { font-size: var(--fs-2xl); font-weight: 400; margin: 1rem 0; }
.notfound p { color: var(--muted); margin-bottom: 2rem; }

/* ── Toast ─────────────────────────────────────────────────────────────── */
.notice-bar { background: #fff3d6; color: #6b4a00; text-align: center; padding: .6rem 1rem; font-size: .85rem; position: relative; z-index: 101; }

/* ── Utilities ─────────────────────────────────────────────────────────── */
.mt-1 { margin-top: 1rem; } .mt-2 { margin-top: 2rem; } .mt-3 { margin-top: 3rem; }
.center { text-align: center; }
.flex-between { display: flex; flex-wrap: wrap; gap: 1rem; align-items: end; justify-content: space-between; }
.hide-sm { display: none; }
@media (min-width: 760px) { .hide-sm { display: initial; } }

@media print {
  .site-header, .mobile-menu, .site-footer, .cta-band, .subnav, .scroll-cue, .lightbox { display: none !important; }
  .hero, .page-hero { min-height: 0; background: none; color: var(--ink); }
  .hero::after, .page-hero::after, .hero-media, .page-hero-media { display: none; }
  .hero h1, .page-hero h1, .page-hero p { color: var(--ink); }
  .js [data-reveal] { opacity: 1 !important; transform: none !important; clip-path: none !important; }
}
