/* ==========================================================================
   TISS design system — prototype
   Tokens → base → layout → components → templates → utilities → modes
   ========================================================================== */

@font-face {
  font-family: "Source Serif";
  src: url("../fonts/source-serif-4-latin-opsz-normal.e9192c2fe0a3.woff2") format("woff2");
  font-weight: 200 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Source Serif";
  src: url("../fonts/source-serif-4-latin-opsz-italic.66c33f6b248f.woff2") format("woff2");
  font-weight: 200 900;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: "Inter";
  src: url("../fonts/inter-latin-opsz-normal.4b73e2ff3024.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Noto Serif Devanagari";
  src: url("../fonts/noto-serif-devanagari-devanagari-400-normal.27bd296904df.woff2") format("woff2");
  font-weight: 400;
  font-display: swap;
  unicode-range: U+0900-097F, U+1CD0-1CF9, U+200C-200D, U+20A8, U+20B9, U+25CC, U+A830-A839, U+A8E0-A8FF;
}

:root {
  /* Brand — sampled from the TISS banyan logo (#13562b) */
  --green-950: #072615;
  --green-900: #0b3a1d;
  --green-800: #0f4a25;
  --green-700: #13562b;
  --green-600: #1c6b3a;
  --green-500: #2f8650;
  --green-200: #c9dccf;
  --green-100: #e4eee7;
  --green-50: #f1f6f2;
  --marigold: #d9a63a;
  --marigold-soft: #f6ead0;

  --ink: #18201b;
  --ink-2: #47504a;
  --ink-3: #6b736e;
  --paper: #faf8f3;
  --white: #ffffff;
  --line: #e2ded4;
  --line-2: #cfcabd;

  --bg: var(--white);
  --surface: var(--paper);
  --text: var(--ink);
  --muted: var(--ink-2);
  --link: var(--green-700);
  --link-hover: var(--green-900);
  --focus: #1a5fb4;

  --serif: "Source Serif", "Noto Serif Devanagari", Georgia, "Times New Roman", serif;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --deva: "Noto Serif Devanagari", var(--serif);

  --fs-xs: 0.78rem;
  --fs-sm: 0.875rem;
  --fs-base: 1.0625rem;
  --fs-md: 1.25rem;
  --fs-lg: clamp(1.4rem, 1.1rem + 1vw, 1.75rem);
  --fs-xl: clamp(1.8rem, 1.3rem + 1.8vw, 2.6rem);
  --fs-2xl: clamp(2.3rem, 1.5rem + 3vw, 3.75rem);
  --fs-hero: clamp(2.5rem, 1.4rem + 4.2vw, 4.75rem);

  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-5: 1.5rem;
  --space-6: 2rem;
  --space-7: 3rem;
  --space-8: 4.5rem;
  --space-9: 6.5rem;

  --radius: 4px;
  --radius-lg: 10px;
  --shadow: 0 1px 2px rgba(10, 30, 18, 0.06), 0 8px 24px rgba(10, 30, 18, 0.08);
  --container: 1280px;
  --gutter: clamp(1rem, 0.5rem + 2vw, 2rem);
  --header-h: 84px;
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
}

/* ------------------------------------------------------------------ Base */

*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 1rem);
}
html[data-textsize="sm"] { font-size: 93.75%; }
html[data-textsize="lg"] { font-size: 112.5%; }
html[data-textsize="xl"] { font-size: 125%; }

body {
  margin: 0;
  font-family: var(--sans);
  font-size: var(--fs-base);
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  font-optical-sizing: auto;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img,
svg,
video {
  max-width: 100%;
  height: auto;
  display: block;
}
h1, h2, h3, h4 {
  font-family: var(--serif);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.01em;
  margin: 0 0 var(--space-4);
  color: var(--text);
  text-wrap: balance;
}
h1 { font-size: var(--fs-2xl); font-weight: 600; }
h2 { font-size: var(--fs-xl); }
h3 { font-size: var(--fs-lg); }
h4 { font-size: var(--fs-md); }
p { margin: 0 0 var(--space-4); text-wrap: pretty; }
a {
  color: var(--link);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
}
a:hover { color: var(--link-hover); text-decoration-thickness: 2px; }
:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 2px;
  border-radius: 2px;
}
hr { border: 0; border-top: 1px solid var(--line); margin: var(--space-7) 0; }
::selection { background: var(--green-200); color: var(--green-950); }

.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;
}
.skip-link {
  position: absolute;
  left: var(--space-4);
  top: -100px;
  z-index: 1000;
  background: var(--marigold);
  color: var(--green-950);
  padding: var(--space-3) var(--space-5);
  font-weight: 600;
  border-radius: var(--radius);
}
.skip-link:focus { top: var(--space-3); }

/* ------------------------------------------------------------------ Layout */

.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.container--narrow { max-width: 860px; }
.section { padding-block: var(--space-8); }
.section--tight { padding-block: var(--space-7); }
.section--paper { background: var(--surface); }
.section--green { background: var(--green-900); color: #e9f1eb; }
.section--green h2,
.section--green h3 { color: #fff; }
.section--rule { border-top: 1px solid var(--line); }

.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: var(--space-5);
  margin-bottom: var(--space-6);
  flex-wrap: wrap;
}
.section-head h2 { margin: 0; }
.section-head p { margin: var(--space-2) 0 0; color: var(--muted); max-width: 60ch; }

.grid { display: grid; gap: var(--space-6); }
.grid--2 { grid-template-columns: repeat(auto-fill, minmax(min(100%, 420px), 1fr)); }
.grid--3 { grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); }
.grid--4 { grid-template-columns: repeat(auto-fill, minmax(min(100%, 240px), 1fr)); }

.with-sidebar {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: var(--space-7);
}
@media (min-width: 960px) {
  .with-sidebar { grid-template-columns: 260px minmax(0, 1fr); }
  .with-sidebar--right { grid-template-columns: minmax(0, 1fr) 340px; }
}

/* ------------------------------------------------------------------ Utility bar (GIGW) */

.utility {
  background: var(--green-950);
  color: #cfe0d4;
  font-size: var(--fs-xs);
}
.utility .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--space-4);
  min-height: 36px;
  flex-wrap: wrap;
}
.utility a,
.utility button {
  color: #e6f0e9;
  text-decoration: none;
  background: none;
  border: 0;
  font: inherit;
  cursor: pointer;
  padding: 6px 4px;
}
.utility a:hover,
.utility button:hover { color: #fff; text-decoration: underline; }
.utility__group { display: flex; align-items: center; gap: var(--space-3); flex-wrap: wrap; }
.utility__sep { width: 1px; height: 14px; background: rgba(255, 255, 255, 0.25); }
.textsize button { min-width: 26px; font-weight: 600; border-radius: 3px; }
.textsize button[aria-pressed="true"] { background: rgba(255, 255, 255, 0.16); }
.utility .lang { font-family: var(--deva); font-size: 0.85rem; }
@media (max-width: 720px) {
  .utility__group--links { display: none; }
}

/* ------------------------------------------------------------------ Site alert */

.site-alert {
  background: var(--marigold-soft);
  color: var(--ink);
  font-size: var(--fs-sm);
  border-bottom: 1px solid #ead7aa;
}
.site-alert .container { padding-block: var(--space-2); display: flex; gap: var(--space-3); align-items: center; }
.site-alert strong { color: #7a4f00; text-transform: uppercase; letter-spacing: 0.06em; font-size: var(--fs-xs); }

/* ------------------------------------------------------------------ Header */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: saturate(1.4) blur(8px);
  border-bottom: 1px solid var(--line);
  transition: box-shadow 0.2s var(--ease);
}
.site-header.is-scrolled { box-shadow: 0 6px 20px rgba(10, 30, 18, 0.08); }
.site-header__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-5);
  min-height: var(--header-h);
  transition: min-height 0.2s var(--ease);
}
.site-header.is-scrolled .site-header__bar { min-height: 68px; }

.brand {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  text-decoration: none;
  color: var(--ink);
  min-width: 0;
}
.brand:hover { color: var(--ink); text-decoration: none; }
.brand__mark { width: 54px; height: 54px; flex: none; transition: width 0.2s, height 0.2s; }
.site-header.is-scrolled .brand__mark { width: 44px; height: 44px; }
.brand__text { display: flex; flex-direction: column; line-height: 1.1; min-width: 0; }
.brand__name {
  font-family: var(--serif);
  font-weight: 600;
  font-size: clamp(1.02rem, 0.85rem + 0.6vw, 1.32rem);
  letter-spacing: -0.005em;
  color: var(--green-900);
}
.brand__tag {
  white-space: nowrap;
  font-size: var(--fs-xs);
  color: var(--ink-3);
  letter-spacing: 0.02em;
  margin-top: 3px;
}
.brand__tag .deva { font-family: var(--deva); }

.primary-nav { display: none; }
@media (min-width: 1180px) {
  .primary-nav { display: block; }
}
.primary-nav__list { list-style: none; margin: 0; padding: 0; display: flex; gap: 2px; }
.primary-nav__item { position: static; }
.primary-nav__link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 10px 10px;
  font-size: 0.93rem;
  font-weight: 500;
  white-space: nowrap;
  color: var(--ink);
  text-decoration: none;
  border: 0;
  background: none;
  cursor: pointer;
  border-radius: var(--radius);
  font-family: var(--sans);
  position: relative;
}
.primary-nav__link::after {
  content: "";
  position: absolute;
  left: 12px; right: 12px; bottom: 4px;
  height: 2px;
  background: var(--green-700);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s var(--ease);
}
.primary-nav__link:hover,
.primary-nav__link[aria-expanded="true"],
.primary-nav__link[aria-current="page"] { color: var(--green-800); text-decoration: none; }
.primary-nav__link:hover::after,
.primary-nav__link[aria-expanded="true"]::after,
.primary-nav__link[aria-current="page"]::after { transform: scaleX(1); }
.primary-nav__link svg { width: 12px; height: 12px; transition: transform 0.2s; }
.primary-nav__link[aria-expanded="true"] svg { transform: rotate(180deg); }

.mega {
  position: absolute;
  left: 0; right: 0;
  top: 100%;
  background: var(--white);
  border-top: 1px solid var(--line);
  box-shadow: 0 24px 40px rgba(10, 30, 18, 0.12);
  padding-block: var(--space-6) var(--space-7);
  display: none;
}
.mega.is-open { display: block; animation: mega-in 0.18s var(--ease); }
@keyframes mega-in { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }
.mega__inner { display: grid; grid-template-columns: 320px 1fr; gap: var(--space-7); }
.mega__intro h2 { font-size: var(--fs-lg); margin-bottom: var(--space-3); }
.mega__intro p { color: var(--muted); font-size: var(--fs-sm); }
.mega__links {
  list-style: none; margin: 0; padding: 0;
  columns: 2; column-gap: var(--space-6);
}
.mega__links li { break-inside: avoid; border-bottom: 1px solid var(--line); }
.mega__links a {
  display: flex; justify-content: space-between; align-items: center;
  padding: 12px 0;
  text-decoration: none;
  color: var(--ink);
  font-weight: 500;
}
.mega__links a:hover { color: var(--green-700); }
.mega__links a::after { content: "→"; color: var(--green-600); opacity: 0; transform: translateX(-6px); transition: 0.2s var(--ease); }
.mega__links a:hover::after { opacity: 1; transform: none; }

.header-actions { display: flex; align-items: center; gap: var(--space-2); }
.icon-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 44px; min-width: 44px; padding: 0 12px;
  border: 1px solid var(--line-2);
  background: var(--white);
  color: var(--ink);
  border-radius: 999px;
  cursor: pointer;
  font: 500 0.9rem var(--sans);
}
.icon-btn:hover { border-color: var(--green-700); color: var(--green-800); }
.icon-btn svg { width: 18px; height: 18px; }
.icon-btn--menu { display: inline-flex; }
@media (min-width: 1180px) { .icon-btn--menu { display: none; } }
@media (min-width: 1180px) and (max-width: 1360px) { .brand__tag { display: none; } .brand__name { font-size: 1.05rem; max-width: 15ch; } }
@media (max-width: 560px) { .icon-btn .label { display: none; } .brand__tag { display: none; } }

/* Mobile drawer */
.drawer {
  position: fixed; inset: 0; z-index: 90;
  background: rgba(7, 38, 21, 0.45);
  display: none;
}
.drawer.is-open { display: block; }
.drawer__panel {
  position: absolute; right: 0; top: 0; bottom: 0;
  width: min(420px, 92vw);
  background: var(--white);
  overflow-y: auto;
  padding: var(--space-5);
  animation: drawer-in 0.22s var(--ease);
}
@keyframes drawer-in { from { transform: translateX(30px); opacity: 0; } to { transform: none; opacity: 1; } }
.drawer__top { display: flex; justify-content: space-between; align-items: center; margin-bottom: var(--space-5); }
.drawer details { border-bottom: 1px solid var(--line); }
.drawer summary, .drawer__link {
  display: flex; justify-content: space-between; align-items: center;
  padding: 14px 0; font-weight: 600; font-size: 1.05rem; cursor: pointer; list-style: none;
  color: var(--ink); text-decoration: none;
}
.drawer summary::-webkit-details-marker { display: none; }
.drawer summary::after { content: "+"; font-size: 1.4rem; color: var(--green-700); }
.drawer details[open] summary::after { content: "–"; }
.drawer ul { list-style: none; margin: 0 0 var(--space-4); padding: 0; }
.drawer ul a { display: block; padding: 8px 0 8px var(--space-4); color: var(--ink-2); text-decoration: none; border-left: 2px solid var(--line); }
.drawer ul a:hover { color: var(--green-700); border-color: var(--green-700); }

/* Search overlay */
.search-overlay {
  position: fixed; inset: 0; z-index: 100;
  background: rgba(7, 38, 21, 0.96);
  color: #fff;
  display: none;
  overflow-y: auto;
}
.search-overlay.is-open { display: block; animation: mega-in 0.2s var(--ease); }
.search-overlay__inner { max-width: 900px; margin: 0 auto; padding: var(--space-8) var(--gutter); }
.search-overlay label { font-family: var(--serif); font-size: var(--fs-xl); display: block; margin-bottom: var(--space-5); }
.search-overlay__field { display: flex; border-bottom: 2px solid rgba(255, 255, 255, 0.6); }
.search-overlay__field input {
  flex: 1; background: transparent; border: 0; color: #fff;
  font: 400 clamp(1.4rem, 1rem + 2vw, 2.2rem) var(--serif);
  padding: var(--space-3) 0; min-width: 0;
}
.search-overlay__field input::placeholder { color: rgba(255, 255, 255, 0.55); }
.search-overlay__field input:focus { outline: none; }
.search-overlay__field button { background: none; border: 0; color: #fff; cursor: pointer; padding: 0 var(--space-3); }
.search-overlay__close { position: absolute; top: var(--space-5); right: var(--gutter); }
.search-overlay .chips { margin-top: var(--space-6); }
.search-overlay .chip { background: rgba(255, 255, 255, 0.08); color: #fff; border-color: rgba(255, 255, 255, 0.25); }
.search-overlay .chip:hover { background: #fff; color: var(--green-900); }

/* ------------------------------------------------------------------ Buttons, chips, kicker */

.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 22px;
  font: 600 0.95rem var(--sans);
  letter-spacing: 0.01em;
  border-radius: var(--radius);
  border: 2px solid var(--green-700);
  background: var(--green-700);
  color: #fff;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.2s, color 0.2s, border-color 0.2s, transform 0.2s;
}
.btn:hover { background: var(--green-900); border-color: var(--green-900); color: #fff; text-decoration: none; }
.btn .arrow { transition: transform 0.2s var(--ease); }
.btn:hover .arrow { transform: translateX(3px); }
.btn--outline { background: transparent; color: var(--green-800); }
.btn--outline:hover { background: var(--green-50); color: var(--green-900); }
.btn--light { background: #fff; border-color: #fff; color: var(--green-900); }
.btn--light:hover { background: var(--marigold); border-color: var(--marigold); color: var(--green-950); }
.btn--ghost-light { background: transparent; border-color: rgba(255, 255, 255, 0.85); color: #fff; }
.btn--ghost-light:hover { background: #fff; color: var(--green-900); }
.btn--sm { padding: 9px 14px; font-size: var(--fs-sm); }

.link-arrow {
  font-weight: 600; text-decoration: none; color: var(--green-700);
  display: inline-flex; gap: 8px; align-items: center; white-space: nowrap;
}
.link-arrow::after { content: "→"; transition: transform 0.2s var(--ease); }
.link-arrow:hover::after { transform: translateX(4px); }
.section--green .link-arrow { color: #fff; }

.kicker {
  display: inline-block;
  font: 600 var(--fs-xs) / 1.2 var(--sans);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--green-700);
  margin-bottom: var(--space-3);
}
.kicker--light { color: var(--marigold); }

.chips { display: flex; flex-wrap: wrap; gap: var(--space-2); }
.chip {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 7px 14px;
  border: 1px solid var(--line-2);
  border-radius: 999px;
  font-size: var(--fs-sm);
  color: var(--ink);
  text-decoration: none;
  background: var(--white);
  line-height: 1.2;
}
.chip:hover { border-color: var(--green-700); color: var(--green-800); }
.chip[aria-current="true"], .chip.is-active { background: var(--green-700); border-color: var(--green-700); color: #fff; }
.chip .count { font-size: var(--fs-xs); opacity: 0.7; }

.badge {
  display: inline-block;
  font: 600 0.7rem/1 var(--sans);
  letter-spacing: 0.06em; text-transform: uppercase;
  padding: 5px 8px; border-radius: 3px;
  background: var(--green-100); color: var(--green-800);
}
.badge--open { background: #dff3e5; color: #0d5a2a; }
.badge--upcoming { background: var(--marigold-soft); color: #6b4500; }
.badge--closed { background: #eceae4; color: #4d4a42; }
.badge--new { background: var(--marigold); color: var(--green-950); }

.tags { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; margin: 0; padding: 0; }
.tags li { font-size: var(--fs-xs); padding: 4px 10px; background: var(--green-50); color: var(--green-800); border-radius: 999px; }

/* ------------------------------------------------------------------ Hero (home) */

.hero {
  position: relative;
  min-height: min(82vh, 760px);
  display: flex;
  align-items: flex-end;
  color: #fff;
  background: var(--green-900);
  overflow: hidden;
  isolation: isolate;
}
.hero__media { position: absolute; inset: 0; z-index: -2; }
.hero__media img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.02); }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(90deg, rgba(7, 38, 21, 0.78) 0%, rgba(7, 38, 21, 0.45) 45%, rgba(7, 38, 21, 0) 75%),
    linear-gradient(0deg, rgba(7, 38, 21, 0.9) 0%, rgba(7, 38, 21, 0.35) 45%, rgba(7, 38, 21, 0.1) 80%);
}
.hero__content { padding-block: var(--space-9) var(--space-8); max-width: 900px; }
.hero h1 {
  color: #fff;
  font-size: var(--fs-hero);
  font-weight: 500;
  line-height: 1.04;
  letter-spacing: -0.02em;
  margin-bottom: var(--space-5);
}
.hero h1 em { font-style: italic; color: #f1dca8; font-weight: 400; }
.hero__text { font-size: clamp(1.05rem, 0.95rem + 0.4vw, 1.3rem); max-width: 60ch; color: #e3ede6; margin-bottom: var(--space-6); }
.hero__actions { display: flex; gap: var(--space-3); flex-wrap: wrap; }
.hero__credit { position: absolute; right: var(--gutter); bottom: var(--space-4); font-size: var(--fs-xs); color: rgba(255,255,255,0.7); }

/* Pathways ("I am a…") */
.pathways { background: var(--white); border-bottom: 1px solid var(--line); }
.pathways__list {
  list-style: none; margin: 0; padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 170px), 1fr));
}
.pathways__list a {
  display: flex; flex-direction: column; gap: 4px;
  padding: var(--space-5) var(--space-4);
  text-decoration: none; color: var(--ink);
  border-right: 1px solid var(--line);
  height: 100%;
  transition: background 0.2s;
}
.pathways__list li:last-child a { border-right: 0; }
.pathways__list a:hover { background: var(--green-50); }
.pathways__label { font-size: var(--fs-xs); text-transform: uppercase; letter-spacing: 0.1em; color: var(--ink-3); }
.pathways__title { font-family: var(--serif); font-size: 1.2rem; font-weight: 600; color: var(--green-900); display: flex; justify-content: space-between; gap: 6px; }
.pathways__title::after { content: "→"; color: var(--green-600); transition: transform 0.2s var(--ease); }
.pathways__list a:hover .pathways__title::after { transform: translateX(4px); }
@media (max-width: 720px) {
  .pathways__list { grid-template-columns: 1fr 1fr; }
  .pathways__list a { border-bottom: 1px solid var(--line); }
}

/* Programme finder */
.finder {
  background: var(--green-800);
  color: #fff;
  border-radius: var(--radius-lg);
  padding: clamp(1.5rem, 1rem + 2vw, 3rem);
  display: grid;
  gap: var(--space-6);
  grid-template-columns: minmax(0, 1fr);
  position: relative;
  overflow: hidden;
}
.finder::after {
  content: ""; position: absolute; right: -60px; top: -60px; width: 320px; height: 320px;
  background: url("../img/tiss-logo.be7758a80f66.png") center/contain no-repeat;
  opacity: 0.06; filter: grayscale(1) brightness(3);
  pointer-events: none;
}
@media (min-width: 960px) { .finder { grid-template-columns: 0.9fr 1.4fr; align-items: center; } }
.finder h2 { color: #fff; margin-bottom: var(--space-3); }
.finder p { color: #cfe0d4; margin: 0; }
.finder form { display: grid; gap: var(--space-3); grid-template-columns: 1fr; position: relative; z-index: 1; }
@media (min-width: 720px) { .finder form { grid-template-columns: 2fr 1fr 1fr auto; } }
.finder .chips { grid-column: 1 / -1; margin-top: var(--space-2); }
.finder .chip { background: transparent; color: #fff; border-color: rgba(255, 255, 255, 0.35); }
.finder .chip:hover { background: #fff; color: var(--green-900); }

/* ------------------------------------------------------------------ Forms */

.field { display: flex; flex-direction: column; gap: 6px; }
.field label, .field .label { font-size: var(--fs-sm); font-weight: 600; }
.input, .select {
  width: 100%;
  height: 50px;
  padding: 0 14px;
  font: 400 1rem var(--sans);
  color: var(--ink);
  background: #fff;
  border: 1px solid var(--line-2);
  border-radius: var(--radius);
  appearance: none;
}
.select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%2313562b' stroke-width='2' fill='none'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 38px;
}
.input:focus, .select:focus { border-color: var(--green-700); outline: 3px solid rgba(19, 86, 43, 0.25); outline-offset: 0; }
.finder .input, .finder .select { border-color: transparent; }

/* ------------------------------------------------------------------ Cards */

.card {
  display: flex; flex-direction: column;
  background: var(--white);
  position: relative;
  height: 100%;
}
.card__media {
  aspect-ratio: 3 / 2;
  overflow: hidden;
  background: var(--green-100);
  border-radius: var(--radius);
  margin-bottom: var(--space-4);
}
.card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s var(--ease); }
.card:hover .card__media img { transform: scale(1.04); }
.card__placeholder {
  width: 100%; height: 100%;
  display: grid; place-items: center;
  background:
    radial-gradient(circle at 30% 20%, rgba(255,255,255,0.12), transparent 50%),
    linear-gradient(135deg, var(--green-700), var(--green-900));
  color: rgba(255, 255, 255, 0.9);
  font: 600 2.4rem var(--serif);
}
.card__placeholder img { width: 34%; height: auto; opacity: 0.16; filter: grayscale(1) brightness(6); }

.card__media { position: relative; }
.card__title {
  font-family: var(--serif);
  font-size: 1.32rem;
  font-weight: 600;
  line-height: 1.22;
  margin: 0 0 var(--space-2);
}
.card__title a { color: var(--ink); text-decoration: none; }
.card__title a::after { content: ""; position: absolute; inset: 0; }
.card:hover .card__title a { color: var(--green-700); text-decoration: underline; text-decoration-thickness: 1px; }
.card__summary { color: var(--muted); font-size: 0.97rem; margin: 0; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.card__meta { font-size: var(--fs-sm); color: var(--ink-3); margin-top: var(--space-3); display: flex; gap: var(--space-3); flex-wrap: wrap; }
.card--boxed { border: 1px solid var(--line); border-radius: var(--radius-lg); padding: var(--space-5); transition: border-color 0.2s, box-shadow 0.2s; }
.card--boxed:hover { border-color: var(--green-600); box-shadow: var(--shadow); }
.card--boxed .card__media { margin: calc(var(--space-5) * -1) calc(var(--space-5) * -1) var(--space-4); border-radius: var(--radius-lg) var(--radius-lg) 0 0; }

/* Feature story layout (1 large + compact list) */
.stories { display: grid; gap: var(--space-7); grid-template-columns: minmax(0, 1fr); }
@media (min-width: 960px) { .stories { grid-template-columns: 1.35fr 1fr; } }
.story-lead .card__media { aspect-ratio: 16 / 10; }
.story-lead .card__title { font-size: var(--fs-xl); line-height: 1.12; }
.story-lead .card__summary { font-size: 1.08rem; -webkit-line-clamp: 4; }
.story-list { display: flex; flex-direction: column; }
.story-list .card { display: grid; grid-template-columns: 132px minmax(0, 1fr); column-gap: var(--space-5); align-content: start; padding-block: var(--space-4); border-bottom: 1px solid var(--line); height: auto; }
.story-list .card > * { grid-column: 2; }
.story-list .card > .card__media { grid-column: 1; grid-row: 1 / span 4; aspect-ratio: 1; margin: 0; }
.story-list .card .kicker { margin-bottom: 4px; }
.story-list .card__meta { margin-top: 6px; }
.story-list .card:first-child { padding-top: 0; }
.story-list .card__title { font-size: 1.12rem; }
.story-list .card__summary { -webkit-line-clamp: 2; font-size: var(--fs-sm); }

/* Person card */
.person-card { display: flex; gap: var(--space-4); align-items: flex-start; position: relative; padding: var(--space-4); border: 1px solid var(--line); border-radius: var(--radius-lg); background: #fff; height: 100%; transition: border-color 0.2s, box-shadow 0.2s; }
.person-card:hover { border-color: var(--green-600); box-shadow: var(--shadow); }
.avatar {
  flex: none; width: 76px; height: 76px; border-radius: 50%;
  overflow: hidden; background: var(--green-100);
  display: grid; place-items: center;
  font: 600 1.35rem var(--serif); color: var(--green-800);
}
.avatar img { width: 100%; height: 100%; object-fit: cover; }
.avatar--lg { width: 168px; height: 168px; font-size: 3rem; }
.person-card h3 { font-size: 1.12rem; margin: 0 0 4px; }
.person-card h3 a { color: var(--ink); text-decoration: none; }
.person-card h3 a::after { content: ""; position: absolute; inset: 0; }
.person-card:hover h3 a { color: var(--green-700); text-decoration: underline; }
.person-card p { margin: 0; font-size: var(--fs-sm); color: var(--muted); }
.person-card .tags { margin-top: var(--space-2); }

/* Programme row (directory) */
.prog-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.prog-row {
  display: grid; gap: var(--space-2) var(--space-5);
  grid-template-columns: minmax(0, 1fr);
  padding: var(--space-5) 0;
  border-bottom: 1px solid var(--line);
  position: relative;
}
@media (min-width: 800px) { .prog-row { grid-template-columns: 120px minmax(0, 1fr) 220px; align-items: start; } }
.prog-row__level { font: 600 var(--fs-xs) var(--sans); text-transform: uppercase; letter-spacing: 0.1em; color: var(--green-700); padding-top: 6px; }
.prog-row h3 { font-size: 1.3rem; margin: 0 0 6px; }
.prog-row h3 a { color: var(--ink); text-decoration: none; }
.prog-row h3 a::after { content: ""; position: absolute; inset: 0; }
.prog-row:hover h3 a { color: var(--green-700); text-decoration: underline; }
.prog-row p { margin: 0; color: var(--muted); font-size: 0.97rem; }
.prog-row__facts { font-size: var(--fs-sm); color: var(--ink-2); display: flex; flex-direction: column; gap: 4px; }
.prog-row__facts span { display: flex; gap: 6px; }
.prog-row:hover { background: linear-gradient(90deg, var(--green-50), transparent 70%); }

/* Filters / directory */
.directory-head { display: flex; justify-content: space-between; align-items: baseline; gap: var(--space-4); flex-wrap: wrap; margin-bottom: var(--space-4); }
.result-count { font-size: var(--fs-sm); color: var(--muted); }
.filters {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: var(--space-5);
  display: flex; flex-direction: column; gap: var(--space-5);
  align-self: start;
}
@media (min-width: 960px) { .filters { position: sticky; top: calc(var(--header-h) + 1rem); } }
.filters h2 { font-size: 1.1rem; font-family: var(--sans); font-weight: 700; margin: 0; }
.filters fieldset { border: 0; padding: 0; margin: 0; }
.filters legend { font-size: var(--fs-sm); font-weight: 600; margin-bottom: var(--space-2); }
.filters .check { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 6px 0; font-size: 0.95rem; cursor: pointer; }
.filters .check input { accent-color: var(--green-700); width: 18px; height: 18px; margin: 0 8px 0 0; }
.filters .check span:first-child { display: flex; align-items: center; }
.filters .check .count { color: var(--ink-3); font-size: var(--fs-xs); }
.filters__actions { display: flex; gap: var(--space-2); flex-wrap: wrap; }
.searchbar { display: flex; gap: var(--space-2); }
.searchbar .input { flex: 1; }
.az { display: flex; flex-wrap: wrap; gap: 2px; margin-bottom: var(--space-5); }
.az a { width: 34px; height: 34px; display: grid; place-items: center; border-radius: var(--radius); text-decoration: none; font-weight: 600; font-size: var(--fs-sm); color: var(--ink-2); }
.az a:hover { background: var(--green-50); color: var(--green-800); }
.az a[aria-current="true"] { background: var(--green-700); color: #fff; }
.empty { padding: var(--space-7); text-align: center; border: 1px dashed var(--line-2); border-radius: var(--radius-lg); color: var(--muted); }
.empty h3 { color: var(--ink); }

/* ------------------------------------------------------------------ Page header (inner pages) */

.page-header { background: var(--surface); border-bottom: 1px solid var(--line); padding-block: var(--space-6) var(--space-7); }
.page-header--green { background: var(--green-900); color: #dbe8df; border: 0; }
.page-header--green h1, .page-header--green .breadcrumb a, .page-header--green .breadcrumb { color: #fff; }
.page-header.page-header--green .lead { color: #d3e3d8; }
.page-header h1 { margin-bottom: var(--space-4); max-width: 22ch; }
.page-header .lead { font-size: clamp(1.1rem, 1rem + 0.4vw, 1.35rem); color: var(--ink-2); max-width: 62ch; margin: 0; font-family: var(--serif); line-height: 1.5; }
.page-header__grid { display: grid; gap: var(--space-6); grid-template-columns: minmax(0, 1fr); align-items: end; }
@media (min-width: 960px) { .page-header__grid--media { grid-template-columns: 1.1fr 0.9fr; } }
.page-header__media { border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 4 / 3; background: var(--green-100); }
.page-header__media img { width: 100%; height: 100%; object-fit: cover; }

.banner {
  position: relative; min-height: 420px; display: flex; align-items: flex-end; color: #fff;
  background: var(--green-900); isolation: isolate; overflow: hidden;
}
.banner img.banner__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.banner::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(7,38,21,0.7), rgba(7,38,21,0.2) 70%), linear-gradient(0deg, rgba(7,38,21,0.9), rgba(7,38,21,0.45) 60%, rgba(7,38,21,0.35)); }
.banner .container { padding-block: var(--space-8) var(--space-7); }
.banner h1 { color: #fff; max-width: 20ch; }
.banner .lead { color: #e1ece4; max-width: 60ch; font-family: var(--serif); font-size: var(--fs-md); margin: 0; }
.banner .breadcrumb, .banner .breadcrumb a { color: #fff; }

.breadcrumb { font-size: var(--fs-sm); margin-bottom: var(--space-5); color: var(--ink-3); }
.breadcrumb ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.breadcrumb li:not(:last-child)::after { content: "/"; margin-left: 6px; opacity: 0.5; }
.breadcrumb a { color: var(--ink-2); text-decoration: none; }
.breadcrumb a:hover { text-decoration: underline; }

/* Section nav (left) */
.section-nav { align-self: start; }
@media (min-width: 960px) { .section-nav { position: sticky; top: calc(var(--header-h) + 1rem); } }
.section-nav__title { font: 700 var(--fs-xs) var(--sans); text-transform: uppercase; letter-spacing: 0.12em; color: var(--ink-3); margin-bottom: var(--space-3); }
.section-nav ul { list-style: none; margin: 0; padding: 0; border-left: 2px solid var(--line); }
.section-nav a { display: block; padding: 8px 0 8px var(--space-4); margin-left: -2px; border-left: 2px solid transparent; color: var(--ink-2); text-decoration: none; font-size: 0.97rem; }
.section-nav a:hover { color: var(--green-700); border-color: var(--green-200); }
.section-nav a[aria-current="page"] { color: var(--green-800); border-color: var(--green-700); font-weight: 600; }

/* ------------------------------------------------------------------ Prose & stream blocks */

.prose { max-width: 72ch; font-size: 1.08rem; }
.prose > * + * { margin-top: var(--space-4); }
.prose h2 { margin-top: var(--space-7); font-size: var(--fs-lg); }
.prose h3 { margin-top: var(--space-6); font-size: 1.35rem; }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li { margin-bottom: 6px; }
.prose blockquote { margin: var(--space-6) 0; padding-left: var(--space-5); border-left: 3px solid var(--marigold); font-family: var(--serif); font-size: 1.3rem; color: var(--green-900); }
.block { margin-block: var(--space-6); }
.prose :is(.prog-list, .tags, .doc-list, .event-list, .notice-list, .results, .pub-list, .school-list, .chips) { padding-left: 0; }
.prose :is(.prog-list, .tags, .doc-list, .event-list, .notice-list, .results, .pub-list, .school-list) li { margin-bottom: 0; }
.prose .prog-row { grid-template-columns: minmax(0, 1fr); }
.prose .prog-row__facts { flex-direction: row; flex-wrap: wrap; gap: 4px 14px; }
.prose > section + section { margin-top: var(--space-7); }
.card--text { border: 1px solid var(--line); border-radius: var(--radius-lg); padding: var(--space-5); border-top: 4px solid var(--green-700); transition: border-color .2s, box-shadow .2s; }
.card--text:hover { box-shadow: var(--shadow); border-color: var(--green-600); }
.impact-list { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--space-6); grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); }
.impact-list li { border-top: 1px solid rgba(255,255,255,0.25); padding-top: var(--space-4); position: relative; }
.impact-list h3 { font-size: 1.3rem; margin: 0 0 var(--space-2); }
.impact-list h3 a { color: #fff; text-decoration: none; }
.impact-list h3 a::after { content: ""; position: absolute; inset: 0; }
.impact-list li:hover h3 a { color: #f1dca8; text-decoration: underline; }
.impact-list p { color: #c8dbcf; font-size: 0.97rem; margin: 0; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.block:first-child { margin-top: 0; }

.figure img { border-radius: var(--radius); width: 100%; }
.figure figcaption { font-size: var(--fs-sm); color: var(--ink-3); margin-top: var(--space-2); }

.pull-quote {
  margin: var(--space-7) 0;
  padding: var(--space-6) 0 var(--space-6) var(--space-6);
  border-left: 4px solid var(--marigold);
}
.pull-quote p { font-family: var(--serif); font-size: clamp(1.35rem, 1.1rem + 1vw, 1.9rem); line-height: 1.32; color: var(--green-900); margin: 0 0 var(--space-3); font-style: italic; }
.pull-quote cite { font-style: normal; font-size: var(--fs-sm); color: var(--ink-3); text-transform: uppercase; letter-spacing: 0.08em; }

.callout { background: var(--green-50); border: 1px solid var(--green-200); border-radius: var(--radius-lg); padding: var(--space-5) var(--space-6); display: flex; gap: var(--space-5); justify-content: space-between; align-items: center; flex-wrap: wrap; }
.callout h3 { margin: 0 0 4px; font-size: 1.3rem; }
.callout p { margin: 0; color: var(--ink-2); }

.accordion { border-top: 1px solid var(--line); }
.accordion details { border-bottom: 1px solid var(--line); }
.accordion summary {
  list-style: none; cursor: pointer;
  display: flex; justify-content: space-between; align-items: center; gap: var(--space-4);
  padding: var(--space-4) 0;
  font: 600 1.08rem var(--sans);
}
.accordion summary::-webkit-details-marker { display: none; }
.accordion summary::after {
  content: ""; flex: none; width: 28px; height: 28px; border-radius: 50%;
  border: 1px solid var(--line-2);
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath d='M6 1v10M1 6h10' stroke='%2313562b' stroke-width='1.8'/%3E%3C/svg%3E") center no-repeat;
  transition: transform 0.2s var(--ease);
}
.accordion details[open] summary::after { transform: rotate(45deg); background-color: var(--green-50); }
.accordion summary:hover { color: var(--green-700); }
.accordion__body { padding: 0 0 var(--space-5); color: var(--ink-2); max-width: 70ch; }

.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: var(--space-5); }
.stat { border-top: 2px solid var(--green-700); padding-top: var(--space-4); }
.stat__value { font: 500 clamp(2.4rem, 1.8rem + 2vw, 3.6rem)/1 var(--serif); color: var(--green-800); letter-spacing: -0.02em; }
.stat__label { font-size: var(--fs-sm); color: var(--muted); margin-top: var(--space-2); }
.section--green .stat { border-color: var(--marigold); }
.section--green .stat__value { color: #fff; }
.section--green .stat__label { color: #c8dbcf; }

.doc-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.doc-list li { border-bottom: 1px solid var(--line); }
.doc-list a {
  display: grid; grid-template-columns: auto 1fr auto; gap: var(--space-4); align-items: center;
  padding: var(--space-4) var(--space-2);
  text-decoration: none; color: var(--ink);
}
.doc-list a:hover { background: var(--green-50); }
.doc-list a:hover .doc-list__title { color: var(--green-700); text-decoration: underline; }
.doc-list__type { width: 46px; height: 54px; display: grid; place-items: end center; padding-bottom: 6px; border: 1px solid var(--line-2); border-radius: 3px 12px 3px 3px; font: 700 0.62rem var(--sans); color: var(--green-800); background: #fff; letter-spacing: 0.04em; }
.doc-list__title { font-weight: 500; }
.doc-list__meta { font-size: var(--fs-sm); color: var(--ink-3); white-space: nowrap; }

.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius-lg); }
.table-wrap table { width: 100%; border-collapse: collapse; font-size: 0.97rem; }
.table-wrap th, .table-wrap td { text-align: left; padding: 12px 16px; border-bottom: 1px solid var(--line); vertical-align: top; }
.table-wrap th { background: var(--surface); font-weight: 600; }
.table-wrap tr:last-child td { border-bottom: 0; }

/* Key facts aside */
.facts { border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; background: #fff; align-self: start; }
@media (min-width: 960px) { .facts { position: sticky; top: calc(var(--header-h) + 1rem); } }
.facts__head { background: var(--green-800); color: #fff; padding: var(--space-4) var(--space-5); }
.facts__head h2 { color: #fff; font-size: 1.15rem; margin: 0; font-family: var(--sans); font-weight: 700; }
.facts dl { margin: 0; padding: var(--space-2) var(--space-5); }
.facts dl div { padding: var(--space-3) 0; border-bottom: 1px solid var(--line); display: grid; grid-template-columns: 110px 1fr; gap: var(--space-3); }
.facts dl div:last-child { border-bottom: 0; }
.facts dt { font-size: var(--fs-sm); color: var(--ink-3); }
.facts dd { margin: 0; font-weight: 500; font-size: 0.97rem; }
.facts__cta { padding: var(--space-4) var(--space-5) var(--space-5); display: flex; flex-direction: column; gap: var(--space-2); }
.facts__cta .btn { justify-content: center; }

/* In-page tabs nav */
.page-tabs { position: sticky; top: var(--header-h); z-index: 20; background: #fff; border-bottom: 1px solid var(--line); }
.page-tabs ul { list-style: none; margin: 0; padding: 0; display: flex; gap: var(--space-5); overflow-x: auto; scrollbar-width: none; }
.page-tabs a { display: block; padding: var(--space-4) 0; white-space: nowrap; text-decoration: none; color: var(--ink-2); font-weight: 500; border-bottom: 3px solid transparent; }
.page-tabs a:hover, .page-tabs a.is-active { color: var(--green-800); border-color: var(--green-700); }

/* ------------------------------------------------------------------ Home specific */

.glance { display: grid; gap: var(--space-7); grid-template-columns: minmax(0, 1fr); align-items: start; }
@media (min-width: 960px) { .glance { grid-template-columns: 1fr 1.2fr; } }
.glance h2 { font-size: var(--fs-2xl); font-weight: 500; }
.glance p { font-size: 1.15rem; color: var(--ink-2); font-family: var(--serif); line-height: 1.55; }

.impact { position: relative; isolation: isolate; color: #fff; background: var(--green-950); overflow: hidden; }
.impact__bg { position: absolute; inset: 0; z-index: -2; }
.impact__bg img { width: 100%; height: 100%; object-fit: cover; opacity: 0.35; filter: saturate(0.7); }
.impact::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(7,38,21,0.97) 0%, rgba(7,38,21,0.85) 50%, rgba(7,38,21,0.6) 100%); }
.impact blockquote { margin: 0 0 var(--space-7); max-width: 52ch; }
.impact blockquote p { font: 400 clamp(1.35rem, 1rem + 1.4vw, 2.1rem)/1.3 var(--serif); color: #fff; margin: 0 0 var(--space-4); letter-spacing: -0.01em; }
.impact blockquote p::before { content: "“"; color: var(--marigold); }
.impact blockquote p::after { content: "”"; color: var(--marigold); }
.impact cite { font-style: normal; text-transform: uppercase; letter-spacing: 0.12em; font-size: var(--fs-xs); color: var(--marigold); }
.impact .card { background: transparent; }
.impact .card__title a { color: #fff; }
.impact .card:hover .card__title a { color: #f1dca8; }
.impact .card__summary { color: #c8dbcf; }
.impact .kicker { color: var(--marigold); }

.campus-grid { display: grid; gap: var(--space-4); grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); }
.campus-tile { position: relative; aspect-ratio: 3 / 4; border-radius: var(--radius-lg); overflow: hidden; color: #fff; display: flex; align-items: flex-end; isolation: isolate; background: var(--green-800); text-decoration: none; }
.campus-tile img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform 0.7s var(--ease); }
.campus-tile::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg, rgba(7,38,21,0.92), rgba(7,38,21,0.05) 60%); transition: background 0.3s; }
.campus-tile:hover img { transform: scale(1.05); }
.campus-tile:hover { color: #fff; }
.campus-tile__body { padding: var(--space-5); }
.campus-tile h3 { color: #fff; font-size: 1.7rem; margin: 0 0 4px; }
.campus-tile p { margin: 0; font-size: var(--fs-sm); color: #d6e5db; }
.campus-tile .link-arrow { color: #fff; margin-top: var(--space-3); font-size: var(--fs-sm); }

.school-list { columns: 3 260px; column-gap: var(--space-6); list-style: none; margin: 0; padding: 0; }
.school-list li { break-inside: avoid; border-bottom: 1px solid var(--line); }
.school-list a { display: flex; justify-content: space-between; gap: var(--space-3); padding: 13px 0; text-decoration: none; color: var(--ink); font-family: var(--serif); font-size: 1.08rem; }
.school-list a:hover { color: var(--green-700); }
.school-list a span { font: 400 var(--fs-xs) var(--sans); color: var(--ink-3); white-space: nowrap; padding-top: 4px; }

.split { display: grid; gap: var(--space-7); grid-template-columns: minmax(0, 1fr); }
@media (min-width: 960px) { .split { grid-template-columns: 1fr 1fr; } }

.event-list { list-style: none; margin: 0; padding: 0; }
.event { display: grid; grid-template-columns: 76px 1fr; gap: var(--space-4); padding: var(--space-4) 0; border-bottom: 1px solid var(--line); position: relative; }
.event:first-child { padding-top: 0; }
.datebox { border: 1px solid var(--green-700); border-radius: var(--radius); text-align: center; overflow: hidden; align-self: start; background: #fff; }
.datebox__m { display: block; background: var(--green-700); color: #fff; font: 700 0.7rem var(--sans); letter-spacing: 0.1em; text-transform: uppercase; padding: 4px 0; }
.datebox__d { display: block; font: 600 1.8rem/1.25 var(--serif); color: var(--green-900); }
.datebox__y { display: block; font-size: 0.68rem; color: var(--ink-3); padding-bottom: 4px; }
.event h3 { font-size: 1.1rem; margin: 0 0 4px; font-family: var(--sans); font-weight: 600; line-height: 1.35; }
.event h3 a { color: var(--ink); text-decoration: none; }
.event h3 a::after { content: ""; position: absolute; inset: 0; }
.event:hover h3 a { color: var(--green-700); text-decoration: underline; }
.event p { margin: 0; font-size: var(--fs-sm); color: var(--muted); }

.notice-list { list-style: none; margin: 0; padding: 0; }
.notice { padding: var(--space-4) 0; border-bottom: 1px solid var(--line); position: relative; }
.notice:first-child { padding-top: 0; }
.notice__meta { display: flex; gap: var(--space-2); align-items: center; font-size: var(--fs-xs); color: var(--ink-3); margin-bottom: 4px; text-transform: uppercase; letter-spacing: 0.06em; }
.notice a { color: var(--ink); text-decoration: none; font-weight: 500; line-height: 1.4; }
.notice a::after { content: ""; position: absolute; inset: 0; }
.notice:hover a { color: var(--green-700); text-decoration: underline; }

/* Person profile */
.profile-head { display: grid; gap: var(--space-6); grid-template-columns: minmax(0, 1fr); align-items: center; }
@media (min-width: 720px) { .profile-head { grid-template-columns: auto 1fr; } }
.profile-head h1 { margin-bottom: var(--space-2); }
.profile-head .designation { font-size: 1.15rem; color: var(--ink-2); margin: 0 0 var(--space-3); }
.ids { display: flex; gap: var(--space-3); flex-wrap: wrap; margin-top: var(--space-4); }
.ids a { display: inline-flex; align-items: center; gap: 8px; font-size: var(--fs-sm); font-weight: 600; text-decoration: none; border: 1px solid var(--line-2); border-radius: 999px; padding: 6px 12px; color: var(--ink); background: #fff; }
.ids a:hover { border-color: var(--green-700); color: var(--green-800); }
.ids .orcid-dot { width: 16px; height: 16px; border-radius: 50%; background: #a6ce39; color: #fff; display: grid; place-items: center; font: 700 9px var(--sans); }
.pub-list { list-style: none; margin: 0; padding: 0; }
.pub-list li { padding: var(--space-4) 0; border-bottom: 1px solid var(--line); }
.pub-list .pub-title { font-family: var(--serif); font-size: 1.1rem; font-weight: 600; }
.pub-list .pub-meta { font-size: var(--fs-sm); color: var(--ink-3); }

/* Pagination */
.pagination { display: flex; justify-content: center; gap: 6px; margin-top: var(--space-7); flex-wrap: wrap; }
.pagination a, .pagination span { min-width: 42px; height: 42px; display: grid; place-items: center; padding: 0 12px; border: 1px solid var(--line-2); border-radius: var(--radius); text-decoration: none; color: var(--ink); font-weight: 500; }
.pagination a:hover { border-color: var(--green-700); color: var(--green-800); }
.pagination [aria-current="page"] { background: var(--green-700); border-color: var(--green-700); color: #fff; }

/* Search results */
.results { list-style: none; margin: 0; padding: 0; }
.result { padding: var(--space-5) 0; border-bottom: 1px solid var(--line); position: relative; }
.result .kicker { margin-bottom: var(--space-2); }
.result h3 { font-size: 1.3rem; margin: 0 0 6px; }
.result h3 a { color: var(--ink); text-decoration: none; }
.result h3 a::after { content: ""; position: absolute; inset: 0; }
.result:hover h3 a { color: var(--green-700); text-decoration: underline; }
.result p { margin: 0; color: var(--muted); }
.result__url { font-size: var(--fs-xs); color: var(--green-700); margin-top: 6px; }

/* ------------------------------------------------------------------ Footer */

.site-footer { background: var(--green-950); color: #c6d8cc; font-size: 0.95rem; }
.site-footer a { color: #e7f0ea; text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.footer-top { display: grid; gap: var(--space-7); grid-template-columns: minmax(0, 1fr); padding-block: var(--space-8) var(--space-7); }
@media (min-width: 960px) { .footer-top { grid-template-columns: 1.3fr 2fr; } }
.footer-brand { display: flex; gap: var(--space-4); align-items: flex-start; }
.footer-brand img { width: 72px; height: 72px; background: #fff; border-radius: 50%; padding: 6px; flex: none; }
.footer-brand h2 { color: #fff; font-size: 1.4rem; margin: 0 0 var(--space-2); }
.footer-brand address { font-style: normal; line-height: 1.6; }
.footer-cols { display: grid; gap: var(--space-6); grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); }
.footer-cols h3 { color: #fff; font: 700 var(--fs-xs) var(--sans); letter-spacing: 0.12em; text-transform: uppercase; margin-bottom: var(--space-4); }
.footer-cols ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.footer-social { display: flex; gap: var(--space-2); margin-top: var(--space-5); }
.footer-social a { width: 40px; height: 40px; border-radius: 50%; border: 1px solid rgba(255,255,255,0.25); display: grid; place-items: center; }
.footer-social a:hover { background: #fff; color: var(--green-900); text-decoration: none; }
.footer-social svg { width: 18px; height: 18px; }
.footer-gigw { border-top: 1px solid rgba(255,255,255,0.12); padding-block: var(--space-5); }
.footer-gigw ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: var(--space-2) var(--space-5); font-size: var(--fs-sm); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.12); padding-block: var(--space-4); font-size: var(--fs-xs); display: flex; justify-content: space-between; gap: var(--space-4); flex-wrap: wrap; color: #9fb8a8; }

/* Back to top */
.to-top { position: fixed; right: 20px; bottom: 20px; z-index: 40; width: 46px; height: 46px; border-radius: 50%; background: var(--green-700); color: #fff; border: 0; display: grid; place-items: center; cursor: pointer; box-shadow: var(--shadow); opacity: 0; pointer-events: none; transition: opacity 0.2s, transform 0.2s; transform: translateY(8px); }
.to-top.is-visible { opacity: 1; pointer-events: auto; transform: none; }
.to-top:hover { background: var(--green-900); }

/* Demo ribbon (prototype only) */
.demo-ribbon { background: #fff7e0; border-bottom: 1px solid #f0dca0; font-size: var(--fs-xs); color: #5c4200; text-align: center; padding: 6px var(--gutter); }

/* ------------------------------------------------------------------ Utilities */

.mt-0 { margin-top: 0 !important; }
.mb-0 { margin-bottom: 0 !important; }
.mt-6 { margin-top: var(--space-6); }
.mt-7 { margin-top: var(--space-7); }
.muted { color: var(--muted); }
.serif { font-family: var(--serif); }
.center { text-align: center; }
.stack > * + * { margin-top: var(--space-5); }
.hide-mobile { display: none; }
@media (min-width: 720px) { .hide-mobile { display: initial; } }

/* ------------------------------------------------------------------ Modes */

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; scroll-behavior: auto !important; }
}

html[data-contrast="high"] {
  --bg: #000; --surface: #000; --text: #fff; --muted: #fff; --ink: #fff; --ink-2: #fff; --ink-3: #ffef5c;
  --line: #fff; --line-2: #fff; --link: #ffef5c; --link-hover: #fff; --white: #000; --paper: #000;
  --green-50: #111; --green-100: #111; --green-200: #333;
}
html[data-contrast="high"] body,
html[data-contrast="high"] .site-header,
html[data-contrast="high"] .mega,
html[data-contrast="high"] .drawer__panel,
html[data-contrast="high"] .card,
html[data-contrast="high"] .person-card,
html[data-contrast="high"] .facts,
html[data-contrast="high"] .datebox,
html[data-contrast="high"] .pathways,
html[data-contrast="high"] .page-tabs { background: #000 !important; color: #fff !important; }
html[data-contrast="high"] a,
html[data-contrast="high"] .card__title a,
html[data-contrast="high"] .brand__name,
html[data-contrast="high"] .pathways__title,
html[data-contrast="high"] .primary-nav__link { color: #ffef5c !important; }
html[data-contrast="high"] h1, html[data-contrast="high"] h2, html[data-contrast="high"] h3 { color: #fff !important; }
html[data-contrast="high"] .hero::before, html[data-contrast="high"] .banner::before, html[data-contrast="high"] .impact::before { background: rgba(0,0,0,0.85); }
html[data-contrast="high"] .btn { background: #ffef5c; color: #000; border-color: #ffef5c; }
html[data-contrast="high"] .input, html[data-contrast="high"] .select { background: #000; color: #fff; border-color: #fff; }
html[data-contrast="high"] .brand__mark { background: #fff; border-radius: 50%; }

@media print {
  .utility, .site-header, .site-footer, .to-top, .filters, .page-tabs, .demo-ribbon { display: none !important; }
  body { font-size: 11pt; }
  a { color: #000; }
}

/* ==========================================================================
   v2 — Editorial layer (Yale-inspired): offset features, boxed calls-to-action,
   serif navigation, mosaic explorer. Overrides earlier rules where needed.
   ========================================================================== */

:root { --header-h: 0px; --box: #f5f4ef; --box-line: #e4e1d6; --charcoal: #13201a; }

/* Labels: small caps + short rule (replaces kicker on v2 sections) */
.label {
  display: block;
  font: 600 0.72rem/1.3 var(--sans);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink);
  margin-bottom: var(--space-4);
}
.label::after { content: ""; display: block; width: 30px; height: 1px; background: currentColor; opacity: 0.45; margin-top: 12px; }
.label--light { color: #fff; }

/* Line buttons */
.btn-line {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 12px 18px;
  font: 600 0.74rem/1 var(--sans);
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--ink); background: #fff;
  border: 1px solid #cfccc2;
  text-decoration: none;
  transition: background .2s, color .2s, border-color .2s;
}
.btn-line::after { content: ""; border-left: 5px solid currentColor; border-top: 4px solid transparent; border-bottom: 4px solid transparent; transition: transform .2s var(--ease); }
.btn-line:hover { background: var(--green-800); border-color: var(--green-800); color: #fff; text-decoration: none; }
.btn-line:hover::after { transform: translateX(3px); }
.btn-line--ghost { background: transparent; }
.btn-line--light { background: transparent; color: #fff; border-color: rgba(255,255,255,.7); }
.btn-line--light:hover { background: #fff; color: var(--green-900); border-color: #fff; }
.btn-line--white { background: #fff; color: var(--green-900); border-color: #fff; }
.btn-line--white:hover { background: var(--marigold); border-color: var(--marigold); color: var(--green-950); }
.btn-line--sm { padding: 9px 13px; font-size: 0.68rem; }

.box-btn {
  display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 14px;
  border: 1px solid #cfccc2; background: #fff; color: var(--ink);
  font: 600 0.72rem var(--sans); letter-spacing: 0.14em; text-transform: uppercase; cursor: pointer;
}
.box-btn svg { width: 13px; height: 13px; }
.box-btn:hover { border-color: var(--green-700); color: var(--green-800); }
.box-btn--solid { background: var(--green-800); border-color: var(--green-800); color: #fff; height: 50px; padding: 0 22px; }
.box-btn--solid:hover { background: var(--green-950); color: #fff; }

/* Utility bar: quieter */
.utility { background: var(--box); color: var(--ink-2); border-bottom: 1px solid var(--box-line); }
.utility a, .utility button { color: var(--ink-2); }
.utility a:hover, .utility button:hover { color: var(--green-800); }
.utility__sep { background: var(--line-2); }
.textsize button[aria-pressed="true"] { background: var(--green-100); color: var(--green-900); }
.demo-ribbon { font-size: 0.7rem; padding: 4px var(--gutter); }

/* Header */
.site-header { position: relative; background: #fff; backdrop-filter: none; border-bottom: 0; }
.site-header.is-scrolled { box-shadow: none; }
.site-header__bar, .site-header.is-scrolled .site-header__bar { min-height: 132px; align-items: center; }
.brand { gap: var(--space-4); }
.brand__mark, .site-header.is-scrolled .brand__mark { width: 70px; height: 70px; }
.brand__name { font-size: clamp(1.25rem, 1rem + 0.8vw, 1.7rem); line-height: 1.05; font-weight: 500; color: var(--green-900); letter-spacing: -0.01em; }
.brand__tag { margin-top: 8px; font-size: 0.72rem; letter-spacing: 0.04em; }
.header-right { display: none; flex-direction: column; align-items: flex-end; gap: 18px; }
.header-top { display: flex; align-items: center; gap: var(--space-4); }
.quick-links { list-style: none; margin: 0 var(--space-3) 0 0; padding: 0; display: flex; gap: 6px; }
.quick-links li + li::before { content: "·"; color: var(--ink-3); margin-right: 6px; }
.quick-links a { font: 600 0.7rem var(--sans); letter-spacing: 0.14em; text-transform: uppercase; color: var(--green-700); text-decoration: none; }
.quick-links a:hover { color: var(--green-950); text-decoration: underline; }
.info-for { display: flex; align-items: stretch; height: 40px; }
.info-for select {
  appearance: none; border: 0; background: var(--green-800) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='8' height='5'%3E%3Cpath d='M0 0h8L4 5z' fill='%23fff'/%3E%3C/svg%3E") no-repeat right 12px center;
  color: #fff; font: 600 0.72rem var(--sans); letter-spacing: 0.14em; text-transform: uppercase;
  padding: 0 34px 0 16px; cursor: pointer; min-width: 168px;
}
.info-for button { border: 0; background: #4d5550; color: #fff; font: 700 0.7rem var(--sans); letter-spacing: 0.12em; text-transform: uppercase; padding: 0 14px; cursor: pointer; }
.info-for button:hover { background: var(--green-950); }
.info-for--light select { background-color: #ebe9e2; color: var(--ink); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='8' height='5'%3E%3Cpath d='M0 0h8L4 5z' fill='%2318201b'/%3E%3C/svg%3E"); min-width: 190px; height: 42px; }
.info-for--light button { background: var(--green-800); }
.primary-nav { display: none; }
.primary-nav__list { gap: var(--space-5); }
.primary-nav__link { font: 400 1.12rem var(--serif); padding: 4px 0; color: var(--green-900); letter-spacing: 0; }
.primary-nav__link::after { left: 0; right: 0; bottom: -4px; height: 1px; background: var(--green-700); }
@media (min-width: 1180px) {
  .header-right { display: flex; }
  .primary-nav { display: block; }
  .header-actions { display: none; }
}
@media (min-width: 1180px) and (max-width: 1360px) { .brand__tag { display: block; } .brand__name { max-width: none; font-size: 1.35rem; } .primary-nav__list { gap: var(--space-4); } .primary-nav__link { font-size: 1.02rem; } }
@media (max-width: 1179px) { .site-header__bar, .site-header.is-scrolled .site-header__bar { min-height: 86px; } .brand__mark, .site-header.is-scrolled .brand__mark { width: 52px; height: 52px; } }
.mega { border-top: 1px solid var(--box-line); }
.mega__links a { font-family: var(--serif); font-weight: 400; font-size: 1.05rem; }

/* Sticky offsets now that the header scrolls away */
.filters, .facts, .section-nav { top: 1.5rem; }
.page-tabs { top: 0; }

/* Feature: offset image with overlapping box */
.feature { position: relative; max-width: 1680px; margin: 0 auto; padding-bottom: var(--space-8); }
.feature__media { position: relative; margin-left: 22%; height: clamp(440px, 46vw, 660px); background: var(--green-900); overflow: hidden; }
.feature__media img { width: 100%; height: 100%; object-fit: cover; }
.feature__caption { position: absolute; right: 16px; bottom: 12px; font-size: 0.7rem; letter-spacing: 0.06em; color: rgba(255,255,255,.85); text-shadow: 0 1px 3px rgba(0,0,0,.6); }
.feature__box {
  position: absolute; top: 15%;
  left: max(var(--gutter), calc((100% - var(--container)) / 2 - 24px));
  width: min(470px, 40%);
  background: var(--box);
  padding: clamp(2rem, 1.4rem + 2vw, 3.6rem) clamp(1.6rem, 1rem + 2vw, 3.2rem);
  box-shadow: 0 30px 60px -30px rgba(10, 30, 18, 0.35);
}
.feature__box h1, .feature__box h2 { font-size: clamp(1.9rem, 1.3rem + 2vw, 3rem); font-weight: 400; line-height: 1.1; color: var(--green-900); margin-bottom: var(--space-4); }
.feature__box p { color: var(--ink-2); font-size: 1.04rem; margin-bottom: var(--space-5); }
.feature__actions { display: flex; flex-wrap: wrap; gap: var(--space-2); }
.feature--page .feature__media { height: clamp(320px, 32vw, 460px); }
.feature--page .feature__box { top: 50%; transform: translateY(-50%); }
.feature--page .feature__box h1 { font-size: clamp(2rem, 1.4rem + 2.2vw, 3.2rem); }
.feature--page .breadcrumb { margin-bottom: var(--space-4); }
.feature--page { padding-bottom: var(--space-7); }
@media (max-width: 900px) {
  .feature__media, .feature--page .feature__media { margin-left: 0; height: 300px; }
  .feature__box, .feature--page .feature__box { position: relative; top: auto; left: auto; transform: none; width: auto; margin: -70px var(--gutter) 0; }
}

/* Finder band */
.finder-band { border-block: 1px solid var(--box-line); background: #fff; }
.finder-band__inner { display: grid; gap: var(--space-5); grid-template-columns: minmax(0, 1fr); align-items: center; padding-block: var(--space-6); }
.finder-band h2 { margin: 0; font-weight: 400; color: var(--green-900); font-size: var(--fs-xl); }
.finder-band .label { margin-bottom: var(--space-3); }
.finder-band__form { display: grid; gap: var(--space-2); grid-template-columns: 1fr; }
.finder-band .input, .finder-band .select { border-radius: 0; border-color: #cfccc2; height: 50px; }
@media (min-width: 760px) { .finder-band__form { grid-template-columns: 2.2fr 1fr 1fr auto; } }
@media (min-width: 1100px) { .finder-band__inner { grid-template-columns: 300px 1fr; } }

/* News explore */
.news-explore__head { display: flex; justify-content: space-between; align-items: center; gap: var(--space-5); flex-wrap: wrap; margin-bottom: var(--space-6); }
.news-explore__head h2 { margin: 0; font-weight: 400; color: var(--green-900); }
.news-explore__head .info-for { align-items: center; height: auto; gap: 0; }
.news-explore__label { font: 600 0.7rem var(--sans); letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-3); margin-right: 14px; }
.news-explore__head .info-for select, .news-explore__head .info-for button { height: 42px; }
.news-explore__grid { display: grid; gap: var(--space-7); grid-template-columns: minmax(0, 1fr); }
@media (min-width: 960px) { .news-explore__grid { grid-template-columns: 1.05fr 1fr; gap: var(--space-8); } }
.news-lead__media { display: block; aspect-ratio: 16 / 10; margin-bottom: var(--space-5); }
.news-lead__media img, .news-lead__media .card__placeholder { width: 100%; height: 100%; object-fit: cover; }
.news-lead h3 { font-weight: 400; font-size: clamp(1.4rem, 1.1rem + 1vw, 1.85rem); line-height: 1.2; margin-bottom: var(--space-2); }
.news-lead h3 a, .news-list a { color: var(--ink); text-decoration: none; }
.news-lead h3 a:hover, .news-list a:hover { color: var(--green-700); text-decoration: underline; text-decoration-thickness: 1px; }
.news-lead time, .news-list time { display: block; font: italic 400 0.9rem var(--serif); color: var(--ink-3); }
.news-lead time::after, .news-list time::after { content: ""; display: block; width: 26px; height: 1px; background: var(--line-2); margin-top: 14px; }
.news-list { list-style: none; margin: 0; padding: 0; }
.news-list li { padding: 0 0 var(--space-5); }
.news-list a { display: block; font: 400 1.18rem/1.35 var(--serif); margin-bottom: 4px; }

/* Decorative offset frame — elegant image treatment */
.frame { position: relative; isolation: isolate; }
.frame::before { content: ""; position: absolute; inset: 18px -18px -18px 18px; border: 1px solid var(--green-200); z-index: -1; pointer-events: none; }
.frame > img, .frame > .card__placeholder { position: relative; }

/* Flex callout */
.callout-flex { position: relative; max-width: 1440px; margin: var(--space-8) auto; padding-inline: var(--gutter); }
.callout-flex__media { margin-left: 30%; aspect-ratio: 16 / 10; max-height: 600px; overflow: hidden; background: var(--green-100); }
.callout-flex__media img { width: 100%; height: 100%; object-fit: cover; }
.callout-flex__box { position: absolute; top: 6%; left: var(--gutter); width: min(430px, 36%); background: var(--box); padding: clamp(2rem, 1.4rem + 2vw, 3.4rem) clamp(1.5rem, 1rem + 2vw, 3rem); bottom: 6%; display: flex; flex-direction: column; justify-content: center; }
.callout-flex__box h2 { font-weight: 400; color: var(--green-900); font-size: clamp(1.6rem, 1.2rem + 1.4vw, 2.3rem); line-height: 1.15; }
.callout-flex__box p { color: var(--ink-2); margin-bottom: var(--space-5); }
.callout-flex__box .btn-line { align-self: flex-start; }
.callout-flex--reverse .callout-flex__media { margin-left: 0; margin-right: 30%; }
.callout-flex--reverse .callout-flex__box { left: auto; right: var(--gutter); }
@media (max-width: 900px) {
  .callout-flex__media, .callout-flex--reverse .callout-flex__media { margin: 0; }
  .callout-flex__box, .callout-flex--reverse .callout-flex__box { position: relative; inset: auto; width: auto; margin: -60px var(--space-4) 0; }
}

/* Glance band refinements */
.glance-band { background: var(--box); }
.glance h2 { font-weight: 400; color: var(--green-900); }
.glance .btn-line { margin-top: var(--space-3); }
.stat { border-top: 1px solid var(--green-700); }
.stat__value { font-weight: 400; color: var(--green-900); }

/* Explore mosaic */
.explore { padding-top: var(--space-8); }
.explore__head h2 { font-weight: 400; color: var(--green-900); margin-bottom: var(--space-6); }
.explore__head .label { color: var(--green-700); }
.explore__band { background: linear-gradient(180deg, #fff 0, #fff 90px, var(--green-950) 90px); padding-bottom: var(--space-8); }
.mosaic { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 250px; grid-auto-flow: dense; }
.mosaic__controls { background: var(--green-700); padding: var(--space-5); display: flex; flex-direction: column; justify-content: center; gap: var(--space-3); }
.mosaic__controls select { appearance: none; height: 52px; border: 0; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='8' height='5'%3E%3Cpath d='M0 0h8L4 5z' fill='%2313562b'/%3E%3C/svg%3E") no-repeat right 14px center; padding: 0 34px 0 16px; font: 700 0.72rem var(--sans); letter-spacing: 0.14em; text-transform: uppercase; color: var(--green-800); cursor: pointer; }
.mosaic__or { display: flex; align-items: center; gap: 10px; color: rgba(255,255,255,.75); font: italic 0.95rem var(--serif); }
.mosaic__or::before, .mosaic__or::after { content: ""; flex: 1; height: 1px; background: rgba(255,255,255,.3); }
.mosaic__shuffle { height: 50px; border: 1px solid rgba(255,255,255,.55); background: transparent; color: #fff; font: 700 0.72rem var(--sans); letter-spacing: 0.14em; text-transform: uppercase; display: inline-flex; align-items: center; justify-content: center; gap: 8px; cursor: pointer; }
.mosaic__shuffle:hover { background: #fff; color: var(--green-800); }
.tile { position: relative; overflow: hidden; isolation: isolate; color: #fff; display: flex; align-items: flex-end; background: var(--green-900); }
.tile > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -3; transition: transform .8s var(--ease), filter .4s; }
.tile::before { content: ""; position: absolute; inset: 0; z-index: -2; background: linear-gradient(0deg, rgba(6, 22, 13, .78) 0%, rgba(6, 22, 13, .2) 55%, rgba(6, 22, 13, .05) 100%); transition: opacity .3s; }
.tile:hover > img { transform: scale(1.06); }
.tile--l { grid-column: span 2; grid-row: span 2; }
.tile--w { grid-column: span 2; }
.tile__body { padding: var(--space-5); position: relative; width: 100%; }
.tile h3 { color: #fff; font: 400 1.5rem/1.15 var(--serif); margin: 0 0 6px; text-shadow: 0 1px 12px rgba(0,0,0,.35); }
.tile--l h3 { font-size: clamp(1.8rem, 1.3rem + 1.6vw, 2.8rem); }
.tile--l .tile__body { padding: clamp(1.5rem, 1rem + 2vw, 3rem); }
.tile--l p { color: rgba(255,255,255,.9); max-width: 46ch; margin-bottom: var(--space-5); }
.tile h3 a { color: inherit; text-decoration: none; }
.tile h3 a::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.tile__actions { display: flex; gap: var(--space-2); flex-wrap: wrap; position: relative; z-index: 2; }
.tile__cta { font: 600 0.68rem var(--sans); letter-spacing: 0.16em; text-transform: uppercase; color: rgba(255,255,255,.85); }
.tile:hover h3 a { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 0.2em; }
/* duotone tints */
.tile[class*="tone-"] > img { filter: grayscale(1) contrast(1.1) brightness(1.05); }
.tile[class*="tone-"]::after { content: ""; position: absolute; inset: 0; z-index: -2; mix-blend-mode: multiply; opacity: .92; }
.tone-forest::after { background: #1d6b3a; } .tone-forest.tile--solid { background: #1d6b3a; }
.tone-marigold::after { background: #c98a1d; } .tone-marigold.tile--solid { background: #a8721a; }
.tone-teal::after { background: #1f6a6e; } .tone-teal.tile--solid { background: #1f5f63; }
.tone-terracotta::after { background: #b5532d; } .tone-terracotta.tile--solid { background: #9c4a2b; }
.tile--solid::before { background: url("../img/tiss-logo.be7758a80f66.png") right -30px top -30px / 180px no-repeat; opacity: .08; filter: grayscale(1) brightness(6); }
.tile--solid:hover { filter: brightness(1.06); }
.tile.is-hidden { display: none; }
@media (max-width: 1000px) { .mosaic { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 210px; } }
@media (max-width: 560px) { .mosaic { grid-auto-rows: 170px; } .tile h3 { font-size: 1.15rem; } .tile--l { grid-row: span 2; } .mosaic__controls { grid-column: span 2; } }

/* Footer v2 */
.site-footer { background: var(--charcoal); color: #c9d4cc; }
.footer-main { display: grid; gap: var(--space-7); grid-template-columns: minmax(0, 1fr); padding-block: var(--space-8) var(--space-7); }
@media (min-width: 1000px) { .footer-main { grid-template-columns: 1fr 300px; align-items: start; } }
.footer-nav { display: grid; gap: var(--space-6); grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); }
.footer-label { font: 600 0.7rem var(--sans); letter-spacing: 0.16em; text-transform: uppercase; color: #9fcfae; margin: 0 0 var(--space-5); }
.footer-label::after { content: ""; display: block; width: 28px; height: 1px; background: currentColor; margin-top: 12px; opacity: .7; }
.footer-nav ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.footer-nav a { font: 400 1.05rem var(--serif); color: #eef3ef; }
.footer-address address { font-style: normal; line-height: 1.6; }
.footer-photo { position: relative; display: block; aspect-ratio: 1; overflow: hidden; }
.footer-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); }
.footer-photo:hover img { transform: scale(1.05); }
.footer-photo span { position: absolute; left: 0; right: 0; bottom: 0; padding: 40px 16px 16px; background: linear-gradient(0deg, rgba(0,0,0,.7), transparent); font: 600 0.7rem var(--sans); letter-spacing: 0.14em; text-transform: uppercase; color: #fff; text-align: center; }
.footer-wordmark { display: inline-flex; align-items: center; gap: 10px; }
.footer-wordmark img { background: #fff; border-radius: 50%; padding: 3px; }

/* Inner page v2 touches */
.page-header { background: var(--box); }
.page-header h1, .banner h1 { font-weight: 400; }
.card__title, .prog-row h3, .person-card h3 { font-weight: 500; }
.section-head h2 { font-weight: 400; color: var(--green-900); }

/* High contrast for v2 components */
html[data-contrast="high"] .feature__box, html[data-contrast="high"] .callout-flex__box, html[data-contrast="high"] .finder-band,
html[data-contrast="high"] .glance-band, html[data-contrast="high"] .utility, html[data-contrast="high"] .explore__band { background: #000 !important; color: #fff !important; }
html[data-contrast="high"] .btn-line, html[data-contrast="high"] .box-btn, html[data-contrast="high"] .info-for select { background: #000; color: #ffef5c; border-color: #ffef5c; }
html[data-contrast="high"] .quick-links a, html[data-contrast="high"] .news-list a, html[data-contrast="high"] .news-lead h3 a { color: #ffef5c !important; }

.datebox--tba .datebox__d { font-size: 1.15rem; line-height: 2.1; letter-spacing: .06em; }
/* Schools mosaic — colour-coded by campus */
.campus-legend { display: flex; flex-wrap: wrap; gap: var(--space-2); margin-bottom: var(--space-7); }
.chip--dot::before { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--dot, var(--green-600)); }
.dot-mumbai { --dot: #1d6b3a; } .dot-tuljapur { --dot: #a8721a; } .dot-hyderabad { --dot: #1f5f63; } .dot-guwahati { --dot: #9c4a2b; }
.chip--dot.is-active::before { background: #fff; }
.school-mosaic { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr)); grid-auto-rows: 210px; gap: 3px; }
.school-mosaic .tile { align-items: flex-end; }
.school-mosaic .tile h3 { font-size: 1.32rem; }
.tile__campus { display: block; font: 600 0.66rem var(--sans); letter-spacing: 0.16em; text-transform: uppercase; color: rgba(255,255,255,.78); margin-bottom: 10px; }
.tile--solid { transition: filter .2s, transform .2s; }
.school-mosaic .tile--solid:hover { transform: translateY(-3px); }
.tile--solid::after { display: none; }
