/* Kalaniketan LokVignan Kendra, Vyara–Tapi
   Colours come from the centre itself: the seal's blue, the pale distemper
   blue of its rooms, the green chalkboards in its seminar halls and the
   marigold of its printed event banners. */

:root {
  --ink: #0f2340;
  --ink-2: #1b3358;
  --ink-deep: #0a1a31;
  --blue: #0060b1;
  --blue-d: #004a8a;
  --wall: #e6f0f6;
  --wall-d: #c9deeb;
  --board: #1e3b34;
  --board-2: #274a41;
  --chalk: #e9efe9;
  --chalk-y: #f6d57e;
  --marigold: #f2a900;
  --paper: #ffffff;
  --paper-2: #f4f7f9;
  --text: #18222f;
  --muted: #536276;
  --line: #d6dfe7;
  --line-2: #e8eef3;
  --ok: #1f6f43;
  --err: #b42318;

  --f-display: 'Anek Gujarati', 'Noto Sans Gujarati', 'Segoe UI', system-ui, sans-serif;
  --f-body: 'Mukta Vaani', 'Noto Sans Gujarati', 'Segoe UI', system-ui, sans-serif;

  --wrap: 1200px;
  --gutter: clamp(16px, 4vw, 40px);
  --nav-h: 58px;
  --ease: cubic-bezier(.2, .7, .2, 1);
  --print-shadow: 0 1px 1px rgba(15, 35, 64, .12), 0 8px 22px -8px rgba(15, 35, 64, .38);

  color-scheme: light;
}

html[data-size="sm"] { font-size: 93.75%; }
html[data-size="lg"] { font-size: 112.5%; }

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--nav-h) + 16px); }
body {
  margin: 0;
  background: var(--paper);
  color: var(--text);
  font-family: var(--f-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
h1, h2, h3, h4, p, ul, ol, dl, dd, figure, blockquote { margin: 0; }
ul, ol { padding: 0; list-style: none; }
a { color: var(--blue); text-decoration-thickness: 1px; text-underline-offset: .18em; }
a:hover { color: var(--blue-d); }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
abbr[title] { text-decoration: none; }
address { font-style: normal; }
[lang="gu"] { font-feature-settings: normal; }
:focus-visible { outline: 3px solid var(--marigold); outline-offset: 3px; border-radius: 3px; }
main:focus { outline: none; }
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.icon { width: 1.25em; height: 1.25em; flex: none; }
.wrap { width: 100%; max-width: calc(var(--wrap) + var(--gutter) * 2); margin-inline: auto; padding-inline: var(--gutter); }

.skip {
  position: absolute; left: 16px; top: 8px; z-index: 100;
  background: var(--marigold); color: var(--ink); padding: 10px 16px; border-radius: 6px;
  font-weight: 700; text-decoration: none; transform: translateY(-160%); transition: transform .2s;
}
.skip:focus { transform: none; }

/* ---------- Display type ---------- */
.hero__title, .phead__title, .shead__title, .welcome__title, .board__title, .album__title,
.gal__title, .theme__title, .prog__title, .director__name, .ncsc__title, .reach__title,
.timeline__title, .person__name, .brand__name, .prose h2, .aims-doc__title, .team-group__title,
.year__day, .win h3, .ccard__title, .contact-side__title, .board__sub {
  font-family: var(--f-display);
  font-weight: 700;
  font-stretch: 86%;
  line-height: 1.1;
  letter-spacing: -.005em;
  color: var(--ink);
  text-wrap: balance;
}

/* ---------- Government bar ---------- */
.govbar { background: var(--ink-deep); color: #c9d6e6; font-size: .875rem; }
.govbar__in { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 40px; }
.govbar__text { line-height: 1.35; padding-block: 6px; }
.govbar__tools { display: flex; align-items: center; gap: 12px; flex: none; }
.govbar__label { color: #9fb2c9; }
.seg { display: inline-flex; border: 1px solid rgba(255, 255, 255, .22); border-radius: 6px; overflow: hidden; }
.seg__btn {
  background: transparent; border: 0; color: #e3ebf5; min-width: 34px; height: 28px; padding: 0 8px;
  font-family: var(--f-display); font-weight: 600; line-height: 1;
}
.seg__btn + .seg__btn { border-left: 1px solid rgba(255, 255, 255, .22); }
.seg__btn[data-size="sm"] { font-size: .8rem; }
.seg__btn[data-size="lg"] { font-size: 1.1rem; }
.seg__btn sup { font-size: .7em; }
.seg__btn[aria-pressed="true"] { background: #e3ebf5; color: var(--ink); }
.govbar__contrast {
  display: inline-flex; align-items: center; gap: 6px; height: 28px; padding: 0 10px;
  background: transparent; border: 1px solid rgba(255, 255, 255, .22); border-radius: 6px; color: #e3ebf5;
}
.govbar__contrast[aria-pressed="true"] { background: #e3ebf5; color: var(--ink); }
.govbar__contrast .icon { width: 1em; height: 1em; }

/* ---------- Masthead ---------- */
.masthead { background: var(--paper); }
.masthead__in { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding-block: 14px; }
.brand { display: flex; align-items: center; gap: 16px; text-decoration: none; color: var(--ink); min-width: 0; }
.brand__seal { width: 66px; height: auto; flex: none; }
.brand__text { display: grid; gap: 1px; min-width: 0; }
.brand__name { font-size: clamp(1.3rem, 1rem + 1.2vw, 1.75rem); line-height: 1.05; }
.brand__gu { font-family: var(--f-display); font-weight: 600; font-size: clamp(1rem, .9rem + .4vw, 1.2rem); color: #c8262c; line-height: 1.3; }
.brand__role { font-size: .875rem; color: var(--muted); line-height: 1.3; }
.masthead__gujcost { flex: none; }
.masthead__gujcost img { height: 58px; width: auto; }

/* ---------- Main navigation ---------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, .96);
  border-top: 1px solid var(--line-2); border-bottom: 1px solid var(--line);
  backdrop-filter: saturate(1.4) blur(8px);
  transition: box-shadow .3s;
}
.nav.is-stuck { box-shadow: 0 6px 20px -12px rgba(15, 35, 64, .35); }
.nav__in { display: flex; align-items: center; gap: 8px; min-height: var(--nav-h); }
.nav__mini { width: 0; overflow: hidden; flex: none; transition: width .35s var(--ease), margin .35s var(--ease); }
.nav__mini img { width: 34px; height: auto; }
.nav.is-stuck .nav__mini { width: 34px; margin-right: 10px; }
.nav__list { display: flex; align-items: stretch; flex: 1; min-width: 0; }
.nav__item { position: relative; display: flex; }
.nav__link {
  position: relative; display: inline-flex; align-items: center; gap: 4px;
  padding: 0 13px; min-height: var(--nav-h);
  color: var(--ink); font-weight: 600; font-size: 1rem; text-decoration: none; white-space: nowrap;
  background: none; border: 0;
}
.nav__link::after {
  content: ""; position: absolute; left: 13px; right: 13px; bottom: -1px; height: 3px;
  background: var(--marigold); border-radius: 3px 3px 0 0;
  transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease);
}
.nav__link:hover { color: var(--blue); }
.nav__link:hover::after { transform: scaleX(.4); }
.nav__link[aria-current="page"]::after, .nav__link.is-current::after { transform: scaleX(1); }
.nav__chev { width: 1rem; height: 1rem; transition: transform .25s; }
.nav__toggle[aria-expanded="true"] .nav__chev { transform: rotate(180deg); }
.nav__sub {
  position: absolute; top: calc(100% + 1px); left: 0; min-width: 220px; padding: 8px;
  background: var(--paper); border: 1px solid var(--line); border-radius: 0 0 10px 10px;
  box-shadow: 0 18px 40px -18px rgba(15, 35, 64, .45);
  opacity: 0; visibility: hidden; transform: translateY(-6px);
  transition: opacity .2s, transform .2s var(--ease), visibility 0s .2s;
}
.nav__toggle[aria-expanded="true"] + .nav__sub { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
.nav__sub a { display: block; padding: 9px 12px; border-radius: 6px; color: var(--ink); text-decoration: none; font-weight: 500; }
.nav__sub a:hover { background: var(--wall); color: var(--blue-d); }
.nav__sub a[aria-current="page"] { background: var(--wall); box-shadow: inset 3px 0 0 var(--marigold); }
.nav__ncsc {
  display: inline-flex; align-items: center; gap: 8px; margin-left: auto; flex: none;
  padding: 8px 14px; border-radius: 6px; background: var(--marigold); color: var(--ink);
  font-weight: 700; font-size: .95rem; text-decoration: none; line-height: 1.15;
  transition: background .2s, transform .2s;
}
.nav__ncsc:hover { background: #ffbe1f; color: var(--ink); transform: translateY(-1px); }
.nav__burger .i-close, .nav__burger[aria-expanded="true"] .i-menu { display: none; }
.nav__burger[aria-expanded="true"] .i-close { display: block; }
.nav__burger {
  display: none; align-items: center; gap: 8px; height: 42px; padding: 0 14px;
  background: var(--ink); color: #fff; border: 0; border-radius: 6px; font-weight: 600;
}

/* ---------- Buttons and links ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 0 22px; border-radius: 6px; border: 1.5px solid transparent;
  font-weight: 600; font-size: 1rem; line-height: 1.2; text-decoration: none;
  transition: background .2s, color .2s, border-color .2s, transform .2s var(--ease);
}
.btn:active { transform: translateY(1px); }
.btn--primary { background: var(--blue); color: #fff; }
.btn--primary:hover { background: var(--blue-d); color: #fff; }
.btn--light { background: #fff; color: var(--ink); }
.btn--light:hover { background: var(--marigold); color: var(--ink); }
.btn--ghost-light { color: #fff; border-color: rgba(255, 255, 255, .55); }
.btn--ghost-light:hover { background: rgba(255, 255, 255, .12); color: #fff; border-color: #fff; }
.btn--quiet { background: var(--wall); color: var(--ink); }
.btn--quiet:hover { background: var(--wall-d); color: var(--ink); }

.tlink { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; text-decoration: none; color: var(--blue); }
.tlink span { text-decoration: underline; text-decoration-color: rgba(0, 96, 177, .35); text-underline-offset: .22em; }
.tlink .icon { width: 1.1em; height: 1.1em; transition: transform .25s var(--ease); }
.tlink:hover .icon { transform: translateX(4px); }
.tlink:hover span { text-decoration-color: currentColor; }

/* ---------- Images ---------- */
.ph { position: relative; display: block; overflow: hidden; background: var(--wall); isolation: isolate; }
.ph::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: var(--lqip) center / cover no-repeat; filter: blur(14px); transform: scale(1.15);
}
.ph img { width: 100%; height: 100%; object-fit: cover; object-position: var(--pos, 50% 50%); }
.js .ph img { opacity: 0; transition: opacity .7s ease; }
.js .ph img.is-loaded { opacity: 1; }

.zoom { position: relative; display: block; border-radius: 6px; overflow: hidden; cursor: zoom-in; color: inherit; }
.zoom .ph img { transition: opacity .7s ease, transform .8s var(--ease); }
.zoom:hover .ph img { transform: scale(1.035); }
.zoom__hint {
  position: absolute; top: 10px; right: 10px; display: grid; place-items: center;
  width: 36px; height: 36px; border-radius: 50%; background: rgba(255, 255, 255, .92); color: var(--ink);
  opacity: 0; transform: scale(.85); transition: opacity .25s, transform .25s var(--ease);
}
.zoom__hint .icon { width: 18px; height: 18px; }
.zoom:hover .zoom__hint, .zoom:focus-visible .zoom__hint { opacity: 1; transform: none; }

.figure figcaption, .strip__item figcaption, .mosaic__item figcaption, .masonry__item figcaption,
.seminars__item figcaption, .docs__item figcaption {
  margin-top: 10px; font-size: .9rem; line-height: 1.5; color: var(--muted);
}
.figure { margin-top: 28px; }
.figure--tight { margin-top: 20px; }

/* ---------- Hero ---------- */
.hero {
  position: relative; isolation: isolate; overflow: hidden;
  height: clamp(580px, calc(100svh - 196px), 780px); background: var(--ink-deep); color: #fff;
}
.hero__slides, .hero__slide { position: absolute; inset: 0; }
.hero__slide { opacity: 0; transition: opacity 1.4s ease; }
.hero__slide.is-active { opacity: 1; z-index: 1; }
.hero__ph { height: 100%; aspect-ratio: auto !important; }
.hero__ph img { transform-origin: 60% 50%; }
.hero__slide.is-active .hero__ph img { animation: drift 10s linear both; }
@keyframes drift { from { transform: scale(1.02); } to { transform: scale(1.1) translateX(-1.5%); } }
.hero__scrim {
  position: absolute; inset: 0; z-index: 2; pointer-events: none;
  background:
    linear-gradient(90deg, rgba(8, 20, 40, .9) 0%, rgba(8, 20, 40, .7) 34%, rgba(8, 20, 40, .2) 62%, rgba(8, 20, 40, 0) 80%),
    linear-gradient(0deg, rgba(8, 20, 40, .85) 0%, rgba(8, 20, 40, 0) 42%);
}
.hero__in {
  position: relative; z-index: 3; height: 100%;
  display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr); align-items: end; gap: 40px;
  padding-block: 48px 44px;
}
.hero__copy { max-width: 680px; padding-bottom: 8px; }
.hero__motto {
  display: inline-flex; align-items: center; gap: 12px; margin-bottom: 18px;
  font-family: var(--f-display); font-weight: 700; font-size: 1.3rem; color: var(--marigold);
}
.hero__motto::before { content: ""; width: 36px; height: 2px; background: currentColor; }
.hero__title {
  color: #fff; font-size: clamp(2.5rem, 1.35rem + 4.1vw, 4.75rem);
  font-weight: 750; font-stretch: 78%; line-height: 1.0; letter-spacing: -.012em;
}
.hero__line { display: block; }
.hero__lead { margin-top: 22px; max-width: 54ch; font-size: 1.15rem; line-height: 1.55; color: #dbe5f1; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.hero__now {
  justify-self: end; width: min(100%, 400px);
  padding: 18px 20px 16px; border-left: 3px solid var(--marigold);
  background: rgba(8, 20, 40, .55); backdrop-filter: blur(10px);
  border-radius: 0 8px 8px 0;
}
.hero__album { display: grid; gap: 2px; color: #fff; text-decoration: none; }
.hero__album-t { font-family: var(--f-display); font-weight: 700; font-stretch: 88%; font-size: 1.25rem; line-height: 1.15; }
.hero__album-d { font-size: .875rem; color: var(--chalk-y); }
.hero__album:hover .hero__album-t { text-decoration: underline; text-underline-offset: .2em; }
.hero__cap {
  margin-top: 8px; font-size: .95rem; line-height: 1.5; color: #d2dceb;
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; min-height: 4.5em;
}
.hero__now.is-swapping .hero__album, .hero__now.is-swapping .hero__cap { opacity: 0; transform: translateY(6px); }
.hero__album, .hero__cap { transition: opacity .35s ease, transform .35s var(--ease); }
.hero__ctrl { display: flex; align-items: center; gap: 6px; margin-top: 14px; }
.hero__btn {
  display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%;
  background: rgba(255, 255, 255, .12); border: 1px solid rgba(255, 255, 255, .25); color: #fff;
  transition: background .2s;
}
.hero__btn:hover { background: rgba(255, 255, 255, .25); }
.hero__btn .icon { width: 18px; height: 18px; }
.hero__btn .i-play { display: none; }
.hero.is-paused .hero__btn .i-play { display: block; }
.hero.is-paused .hero__btn .i-pause { display: none; }
.hero__dots { display: flex; gap: 6px; margin-left: 10px; flex: 1; }
.hero__dots li { flex: 1; }
.hero__dots button { display: block; width: 100%; padding: 10px 0; background: none; border: 0; }
.hero__dots span { display: block; height: 3px; border-radius: 2px; background: rgba(255, 255, 255, .28); overflow: hidden; position: relative; }
.hero__dots span::after {
  content: ""; position: absolute; inset: 0; background: var(--marigold);
  transform: scaleX(0); transform-origin: left;
}
.hero__dots [aria-current="true"] span::after { animation: fill var(--slide-ms, 7000ms) linear forwards; }
.hero.is-paused .hero__dots [aria-current="true"] span::after { animation-play-state: paused; }
.hero__dots .is-seen span::after { transform: scaleX(1); }
@keyframes fill { to { transform: scaleX(1); } }

/* Page-load sequence: the one orchestrated entrance */
.js .hero__motto, .js .hero__line, .js .hero__lead, .js .hero__actions, .js .hero__now {
  animation: rise .9s var(--ease) both;
}
.js .hero__line:nth-child(1) { animation-delay: .15s; }
.js .hero__line:nth-child(2) { animation-delay: .25s; }
.js .hero__line:nth-child(3) { animation-delay: .35s; }
.js .hero__lead { animation-delay: .5s; }
.js .hero__actions { animation-delay: .6s; }
.js .hero__now { animation-delay: .75s; }
@keyframes rise { from { opacity: 0; transform: translateY(22px); } }

/* ---------- Sections ---------- */
.section { padding-block: clamp(56px, 7vw, 104px); }
.section--tight { padding-block: clamp(28px, 4vw, 52px); }
.section--wall { background: var(--wall); }
.section--paper2 { background: var(--paper-2); }

.shead { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px 32px; flex-wrap: wrap; margin-bottom: clamp(28px, 3.5vw, 44px); }
.shead__text { max-width: 720px; }
.shead__title { font-size: clamp(1.875rem, 1.45rem + 1.4vw, 2.5rem); }
.shead__gu { margin-top: 6px; font-family: var(--f-display); font-weight: 600; font-size: 1.15rem; color: var(--blue); line-height: 1.35; }
.shead__lead { margin-top: 14px; color: var(--muted); max-width: 62ch; }
.shead > .tlink { margin-bottom: 4px; }

/* ---------- Welcome + credential ---------- */
.welcome__grid { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 88px); align-items: start; }
.welcome__title { font-size: clamp(2rem, 1.4rem + 2vw, 3rem); }
.welcome__gu { display: block; margin-top: 8px; font-family: var(--f-display); font-weight: 600; font-size: 1.2rem; color: var(--blue); }
.welcome__lead { margin-top: 24px; font-size: clamp(1.12rem, 1rem + .5vw, 1.3rem); line-height: 1.55; color: var(--ink); }
.welcome__text p + p { margin-top: 16px; }
.welcome__text p:not(.welcome__lead) { max-width: 64ch; color: #2c3a4c; }
.welcome__links { display: flex; flex-wrap: wrap; gap: 12px 28px; margin-top: 24px !important; }

.cred {
  position: relative; isolation: isolate; overflow: hidden;
  padding: 28px; border-radius: 12px; background: #fff;
  border: 1px solid var(--line);
  box-shadow: inset 0 0 0 7px #fff, inset 0 0 0 8px var(--wall-d), 0 24px 48px -32px rgba(15, 35, 64, .45);
}
.cred::before {
  content: ""; position: absolute; z-index: -1; width: 460px; height: 460px; right: -170px; top: -150px;
  background: url(../img/brand/guilloche.svg) center / contain no-repeat; opacity: .22;
}
.cred__top { display: flex; align-items: center; gap: 16px; padding-bottom: 18px; border-bottom: 1px dashed var(--wall-d); }
.cred__seal { width: 64px; height: auto; flex: none; }
.cred__kind { font-family: var(--f-display); font-weight: 700; font-stretch: 88%; font-size: 1.25rem; line-height: 1.15; color: var(--ink); }
.cred__body { margin-top: 4px; font-size: .9rem; color: var(--muted); line-height: 1.4; }
.cred__list { display: grid; gap: 12px; margin-top: 18px; }
.cred__list div { display: grid; grid-template-columns: 92px 1fr; gap: 12px; }
.cred__list dt { font-size: .875rem; color: var(--muted); font-weight: 600; padding-top: 1px; }
.cred__list dd { font-size: 1rem; line-height: 1.45; color: var(--ink); }
.cred__reg { font-weight: 700; color: var(--blue-d) !important; font-variant-numeric: tabular-nums; letter-spacing: .01em; word-break: break-word; }

/* ---------- Aim themes ---------- */
.themes { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 20px; }
.theme { display: flex; flex-direction: column; padding: 26px 24px 22px; background: #fff; border-radius: 12px; border: 1px solid var(--wall-d); }
.theme__icon { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; background: var(--wall); color: var(--blue); margin-bottom: 16px; }
.theme__icon .icon { width: 24px; height: 24px; }
.theme__title { font-size: 1.4rem; }
.theme__gu { margin-top: 2px; font-family: var(--f-display); font-weight: 600; color: var(--blue); font-size: 1rem; }
.theme__aims { display: grid; gap: 10px; margin: 16px 0 18px; font-size: .97rem; line-height: 1.5; color: #2c3a4c; }
.theme__aims li { display: grid; grid-template-columns: 26px 1fr; gap: 10px; }
.theme__n {
  display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%;
  background: var(--ink); color: #fff; font-family: var(--f-display); font-weight: 700; font-size: .78rem; margin-top: 1px;
}
.theme__more { margin-top: auto; font-weight: 600; font-size: .95rem; }

/* ---------- Albums: stacks of prints ---------- */
.albums { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 44px 36px; }
.album { display: block; color: inherit; text-decoration: none; border-radius: 8px; }
.album__stack { position: relative; display: block; aspect-ratio: 4 / 3; margin: 12px 16px 26px; }
.album__print {
  position: absolute; inset: 0; padding: 7px; background: #fff; border-radius: 3px;
  box-shadow: var(--print-shadow);
  transition: transform .55s var(--ease), box-shadow .55s var(--ease);
}
.album__print .ph { height: 100%; aspect-ratio: auto !important; border-radius: 1px; }
.album__print--0 { z-index: 3; }
.album__print--1 { z-index: 2; transform: rotate(-3.5deg) translate(-6px, 5px); }
.album__print--2 { z-index: 1; transform: rotate(4deg) translate(8px, 6px); }
.album:hover .album__print--0, .album:focus-visible .album__print--0 { transform: translateY(-8px) rotate(-.6deg); box-shadow: 0 2px 2px rgba(15, 35, 64, .1), 0 22px 36px -14px rgba(15, 35, 64, .5); }
.album:hover .album__print--1, .album:focus-visible .album__print--1 { transform: rotate(-9deg) translate(-30px, 2px); }
.album:hover .album__print--2, .album:focus-visible .album__print--2 { transform: rotate(10deg) translate(32px, 4px); }
.album__body { display: grid; gap: 2px; padding-inline: 4px; }
.album__title { font-size: 1.35rem; transition: color .2s; }
.album:hover .album__title { color: var(--blue); }
.album__gu { font-family: var(--f-display); font-weight: 600; color: var(--blue); font-size: 1rem; margin-bottom: 6px; }
.album__meta { display: inline-flex; align-items: center; gap: 8px; font-size: .92rem; color: var(--muted); line-height: 1.5; }
.album__meta .icon { width: 1.05em; height: 1.05em; color: var(--blue); }
.albums--index { gap: 36px 32px; }

/* ---------- Chalkboard: record of work ---------- */
.board {
  position: relative; isolation: isolate; color: var(--chalk);
  background:
    radial-gradient(120% 80% at 10% 0%, rgba(255, 255, 255, .06), transparent 60%),
    radial-gradient(90% 70% at 100% 100%, rgba(0, 0, 0, .25), transparent 60%),
    var(--board);
}
.board::before {
  content: ""; position: absolute; inset: 0; z-index: -1; opacity: .5; pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 .07 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
.board a { color: #fff; }
.board .tlink { color: var(--chalk-y); }
.board .tlink span { text-decoration-color: rgba(246, 213, 126, .45); }
.board__grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(32px, 6vw, 96px); }
.board__intro { align-self: start; position: sticky; top: calc(var(--nav-h) + 32px); }
.board__intro p { margin-top: 18px; max-width: 46ch; color: #cfdcd4; }
.board__title { color: #fff; font-size: clamp(2rem, 1.4rem + 2vw, 3rem); }
.board__gu { display: block; margin-top: 6px; font-family: var(--f-display); font-weight: 600; font-size: 1.2rem; color: var(--chalk-y); }
.board__head { max-width: 720px; margin-bottom: 40px; }
.board__head p { margin-top: 14px; color: #cfdcd4; }
.board__sub {
  margin: clamp(56px, 7vw, 88px) 0 24px; padding-top: 28px; border-top: 1px solid rgba(233, 239, 233, .18);
  color: #fff; font-size: 1.5rem;
}

/* Timeline (light by default, chalk on the board) */
.timeline { --rail: var(--wall-d); --fill: var(--blue); --date: var(--blue-d); --t-text: #2c3a4c; --t-title: var(--ink); position: relative; display: grid; gap: 0; }
.board .timeline { --rail: rgba(233, 239, 233, .2); --fill: var(--marigold); --date: var(--chalk-y); --t-text: #cfdcd4; --t-title: #fff; }
.timeline__rail { position: absolute; left: 118px; top: 10px; bottom: 10px; width: 2px; background: var(--rail); border-radius: 2px; }
.timeline__fill { position: absolute; inset: 0; background: var(--fill); transform-origin: top; transform: scaleY(var(--p, 0)); border-radius: 2px; }
.timeline__item { position: relative; display: grid; grid-template-columns: 96px 1fr; gap: 44px; padding-bottom: 36px; }
.timeline__item:last-child { padding-bottom: 0; }
.timeline__item::before {
  content: ""; position: absolute; left: 112px; top: 7px; width: 14px; height: 14px; border-radius: 50%;
  background: var(--paper); border: 2px solid var(--fill);
}
.board .timeline__item::before { background: var(--board); }
.timeline__date { font-family: var(--f-display); font-weight: 700; font-stretch: 90%; font-size: 1.05rem; color: var(--date); text-align: right; line-height: 1.5; }
.timeline__title { font-size: 1.35rem; color: var(--t-title); }
.timeline__body p { margin-top: 6px; color: var(--t-text); max-width: 60ch; }
.timeline__link { display: inline-flex; align-items: center; gap: 8px; margin-top: 10px; font-weight: 600; font-size: .95rem; text-decoration: none; }
.timeline__link span { text-decoration: underline; text-underline-offset: .2em; text-decoration-color: rgba(127, 127, 127, .4); }
.timeline__link .icon { width: 1.1em; height: 1.1em; }
.timeline__link + .timeline__link { margin-left: 18px; }

/* Figures */
.figures { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 36px 40px; }
@media (max-width: 900px) { .figures { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .figures { grid-template-columns: 1fr; } }
.figures__item { padding-top: 18px; border-top: 1px solid rgba(233, 239, 233, .22); }
.figures__n { display: flex; align-items: baseline; gap: 10px; font-family: var(--f-display); font-weight: 750; font-stretch: 78%; font-size: clamp(3rem, 2.3rem + 2.4vw, 4.25rem); line-height: 1; color: #fff; font-variant-numeric: tabular-nums; }
.figures__of { font-size: 1.25rem; font-weight: 600; font-stretch: 90%; color: var(--chalk-y); }
.figures__text { margin-top: 10px; color: #d6e1da; line-height: 1.5; }
.figures__src { margin-top: 10px; font-size: .85rem; }
.figures__src a { color: #b9c9bf; }
.figures__src a:hover { color: #fff; }

/* ---------- Press clippings ---------- */
.press-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 40px 32px; align-items: start; }
.press__clip {
  padding: 10px; background: #fbfaf6; border-radius: 2px; box-shadow: var(--print-shadow);
  transform: rotate(-1.2deg); transition: transform .45s var(--ease);
}
.press:nth-child(2n) .press__clip { transform: rotate(1deg); }
.press:hover .press__clip, .press__clip:focus-within { transform: none; }
.press__clip .zoom { border-radius: 1px; }
.press__body { margin-top: 22px; }
.press__gu { font-family: var(--f-display); font-weight: 700; font-size: 1.2rem; line-height: 1.35; color: var(--ink); }
.press__en { margin-top: 8px; font-weight: 600; color: var(--blue-d); line-height: 1.45; }
.press__first { margin-top: 10px; color: var(--muted); font-size: .97rem; }
.press-list { display: grid; gap: clamp(48px, 6vw, 80px); }
.press--full { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(28px, 5vw, 64px); align-items: start; }
.press--full .press__body { margin-top: 0; }
.press--full .press__gu { font-size: 1.5rem; }
.press--full .press__en { font-size: 1.1rem; }
.press__points { display: grid; gap: 12px; margin-top: 20px; }
.press__points li { position: relative; padding-left: 22px; color: #2c3a4c; }
.press__points li::before { content: ""; position: absolute; left: 0; top: .62em; width: 9px; height: 9px; border-radius: 2px; background: var(--marigold); transform: rotate(45deg); }

/* ---------- People ---------- */
.people { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
@media (max-width: 900px) { .people { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .people { grid-template-columns: 1fr; } }
.person { display: flex; align-items: center; gap: 16px; padding: 16px 18px; background: #fff; border: 1px solid var(--line); border-radius: 12px; }
.person__mono, .person__photo { flex: none; width: 58px; height: 58px; border-radius: 50%; overflow: hidden; }
.person__mono { display: grid; place-items: center; background: var(--wall); color: var(--blue-d); font-family: var(--f-display); font-weight: 700; font-size: 1.2rem; letter-spacing: .02em; }
.person--lead .person__mono { background: var(--ink); color: #fff; }
.person__photo .ph { width: 100%; height: 100%; }
.person__text { display: grid; min-width: 0; }
.person__role { font-size: .85rem; font-weight: 600; color: var(--blue); line-height: 1.3; }
.person__name { font-size: 1.25rem; }
.person__qual { font-size: .9rem; color: var(--muted); line-height: 1.4; }
.team-group + .team-group { margin-top: 40px; }
.team-group__title { font-size: 1.3rem; margin-bottom: 16px; padding-bottom: 10px; border-bottom: 1px solid var(--line); }

/* Director */
.director { display: grid; grid-template-columns: minmax(220px, 320px) minmax(0, 1fr); gap: clamp(28px, 5vw, 64px); align-items: start; }
.director__photo .zoom { box-shadow: var(--print-shadow); border-radius: 4px; }
.director__name { font-size: clamp(1.8rem, 1.4rem + 1.4vw, 2.5rem); }
.director__gu { display: block; margin-top: 4px; font-family: var(--f-display); font-weight: 600; font-size: 1.2rem; color: var(--blue); }
.director__role { margin-top: 10px; font-weight: 600; color: var(--ink); }
.director__text > p:not(.director__role) { margin-top: 14px; max-width: 62ch; color: #2c3a4c; }
.roles { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 0 32px; margin-top: 22px; }
.roles li { display: grid; padding: 12px 0; border-top: 1px solid var(--wall-d); }
.roles__en { font-weight: 600; color: var(--ink); line-height: 1.4; }
.roles__gu { font-size: .92rem; color: var(--muted); line-height: 1.5; }

/* ---------- NCSC guidebook ---------- */
.ncsc { padding-block: clamp(56px, 7vw, 96px); background: linear-gradient(180deg, var(--wall), #f2f7fa); border-top: 1px solid var(--wall-d); }
.ncsc__in { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: clamp(32px, 6vw, 80px); align-items: start; }
.ncsc__cover { display: block; transform: rotate(-2.5deg); box-shadow: 0 2px 2px rgba(15, 35, 64, .12), 0 28px 44px -18px rgba(15, 35, 64, .55); transition: transform .5s var(--ease); border-radius: 2px; overflow: hidden; }
.ncsc__cover:hover { transform: rotate(0) translateY(-6px); }
.ncsc__title { font-size: clamp(1.875rem, 1.45rem + 1.4vw, 2.5rem); }
.ncsc__lead { margin-top: 14px; max-width: 62ch; color: #2c3a4c; }
.ncsc__theme {
  margin-top: 18px; padding: 4px 0 4px 18px; border-left: 4px solid var(--marigold);
  font-family: var(--f-display); font-weight: 700; font-stretch: 88%; font-size: clamp(1.4rem, 1.1rem + 1vw, 1.9rem); line-height: 1.2; color: var(--blue-d);
}
.ncsc__subs { margin-top: 22px; display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 10px 28px; list-style: upper-roman; padding-left: 1.6em; }
.ncsc__subs li { padding-left: 6px; color: var(--ink); }
.ncsc__subs li::marker { font-family: var(--f-display); font-weight: 700; color: var(--blue); }
.ncsc__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.ncsc__note { margin-top: 16px; font-size: .875rem; color: var(--muted); max-width: 70ch; }

/* ---------- Contact band ---------- */
.reach { background: var(--ink); color: #dbe5f1; padding-block: clamp(56px, 7vw, 96px); position: relative; overflow: hidden; isolation: isolate; }
.reach::before {
  content: ""; position: absolute; z-index: -1; width: 720px; height: 720px; left: -260px; bottom: -380px;
  background: url(../img/brand/guilloche.svg) center / contain no-repeat; opacity: .35;
}
.reach__in { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 96px); align-items: center; }
.reach__title { color: #fff; font-size: clamp(1.875rem, 1.45rem + 1.4vw, 2.5rem); }
.reach__text p { margin-top: 14px; max-width: 48ch; }
.reach__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.reach__list { display: grid; }
.reach__list a { display: flex; align-items: center; gap: 16px; padding: 16px 4px; border-bottom: 1px solid rgba(255, 255, 255, .14); color: #fff; text-decoration: none; font-size: 1.15rem; font-weight: 600; transition: padding .3s var(--ease), color .2s; }
.reach__list li:first-child a { border-top: 1px solid rgba(255, 255, 255, .14); }
.reach__list a:hover { padding-left: 12px; color: var(--marigold); }
.reach__list .icon { width: 22px; height: 22px; color: var(--marigold); }
.reach__list a > span { display: grid; line-height: 1.3; }
.reach__k { font-size: .82rem; font-weight: 500; color: #9fb2c9; }

/* ---------- Footer ---------- */
.footer { background: var(--ink-deep); color: #b9c8da; font-size: .95rem; }
.footer a { color: #e3ebf5; text-decoration: none; }
.footer a:hover { color: var(--marigold); text-decoration: underline; }
.footer__grid { display: grid; grid-template-columns: minmax(0, 1.6fr) repeat(2, minmax(0, .8fr)) minmax(0, 1.2fr); gap: 40px; padding-block: 64px 48px; }
.footer__wordmark { width: 100%; max-width: 330px; height: auto; padding: 12px 14px; background: #fff; border-radius: 8px; }
.footer__brand p { margin-top: 16px; max-width: 46ch; line-height: 1.55; }
.footer__reg { font-size: .85rem; color: #8ea3bb; }
.footer__gujcost { display: inline-block; margin-top: 20px; padding: 10px 14px; background: #fff; border-radius: 8px; }
.footer__gujcost img { height: 46px; width: auto; }
.footer__h { font-family: var(--f-display); font-weight: 700; font-size: 1.05rem; color: #fff; margin-bottom: 14px; }
.footer__links { display: grid; gap: 8px; }
.footer__links--icons a { display: inline-flex; align-items: center; gap: 10px; }
.footer__links--icons .icon { width: 1.05em; height: 1.05em; color: var(--marigold); }
.footer__contact address { margin-bottom: 14px; line-height: 1.55; }
.footer__base { border-top: 1px solid rgba(255, 255, 255, .1); font-size: .85rem; color: #8ea3bb; }
.footer__base-in { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; padding-block: 18px; }
.footer__sep { margin-inline: 6px; opacity: .5; }

/* ---------- Inner page head ---------- */
.phead { position: relative; overflow: hidden; isolation: isolate; background: var(--ink); color: #dbe5f1; padding-block: 36px clamp(48px, 6vw, 72px); }
.phead__rosette {
  position: absolute; z-index: -1; right: -140px; top: 50%; width: 620px; height: 620px; transform: translateY(-50%);
  background: url(../img/brand/guilloche.svg) center / contain no-repeat; opacity: .5;
  animation: turn 120s linear infinite;
}
@keyframes turn { to { transform: translateY(-50%) rotate(360deg); } }
.crumbs ol { display: flex; flex-wrap: wrap; gap: 4px; font-size: .875rem; color: #9fb2c9; }
.crumbs li { display: inline-flex; align-items: center; gap: 4px; }
.crumbs li + li::before { content: "/"; opacity: .5; margin-right: 2px; }
.crumbs a { color: #c9d6e6; }
.crumbs a:hover { color: #fff; }
.crumbs [aria-current] { color: #fff; }
.phead__row { display: flex; align-items: flex-end; justify-content: space-between; gap: 32px; margin-top: 28px; }
.phead__text { max-width: 760px; }
.phead__title { color: #fff; font-size: clamp(2.4rem, 1.6rem + 3vw, 4rem); font-weight: 750; font-stretch: 80%; line-height: 1.02; }
.phead__gu { margin-top: 10px; font-family: var(--f-display); font-weight: 600; font-size: 1.3rem; color: var(--marigold); }
.phead__lead { margin-top: 18px; font-size: 1.15rem; line-height: 1.55; max-width: 60ch; }

/* ---------- Layout helpers ---------- */
.split { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 80px); align-items: start; }
.split--even { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
.prose h2 { font-size: clamp(1.75rem, 1.4rem + 1.2vw, 2.25rem); margin-bottom: 18px; }
.prose p { max-width: 68ch; color: #2c3a4c; }
.prose p + p { margin-top: 16px; }

.strip { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 18px; }
.mosaic { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }

.seminars { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.seminars__item--big { grid-column: span 2; grid-row: span 2; }
.tag {
  display: inline-flex; align-items: center; gap: 5px; margin-right: 8px; padding: 1px 8px 1px 6px;
  border-radius: 999px; background: var(--ink); color: #fff; font-size: .78rem; font-weight: 600; vertical-align: 1px;
}
.tag .icon { width: 12px; height: 12px; color: var(--marigold); }

.programmes { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.prog { padding: 30px 30px 26px; border: 1px solid var(--line); border-radius: 14px; background: #fff; }
.prog__icon { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 12px; background: var(--ink); color: var(--marigold); margin-bottom: 18px; }
.prog__icon .icon { width: 26px; height: 26px; }
.prog__title { font-size: 1.55rem; }
.prog__gu { display: block; margin: 2px 0 12px; font-family: var(--f-display); font-weight: 600; color: var(--blue); }
.prog > p { color: #2c3a4c; }
.prog__list { display: grid; gap: 8px; margin-top: 16px; }
.prog__list li { display: flex; gap: 10px; align-items: flex-start; line-height: 1.45; }
.prog__list .icon { color: var(--ok); margin-top: 2px; width: 1.15em; height: 1.15em; }
.prog__link { display: inline-flex; align-items: center; gap: 8px; margin-top: 20px; font-weight: 600; }

.year { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 8px 28px; }
.year__item { padding: 18px 0 22px; border-top: 3px solid var(--wall-d); }
.year__when { font-family: var(--f-display); font-weight: 700; font-size: 1.1rem; color: var(--blue); }
.year__when--none { color: var(--muted); font-weight: 600; }
.year__day { font-size: 1.25rem; margin-top: 2px; }
.year__what { margin-top: 6px; font-size: .97rem; color: var(--muted); line-height: 1.5; }

.table { width: 100%; border-collapse: collapse; font-size: 1rem; }
.table th, .table td { padding: 13px 14px; text-align: left; border-bottom: 1px solid var(--line); }
.table thead th { font-size: .875rem; color: var(--muted); font-weight: 600; border-bottom: 2px solid var(--ink); }
.table tbody tr:hover { background: var(--paper-2); }
.table tfoot th, .table tfoot td { font-weight: 700; border-bottom: 0; color: var(--ink); }
.table .num { text-align: right; font-variant-numeric: tabular-nums; width: 90px; }
.note { display: flex; gap: 8px; align-items: flex-start; margin-top: 16px; font-size: .9rem; color: var(--muted); }
.note .icon { margin-top: 3px; color: var(--blue); }

.wins { display: grid; gap: 14px; }
.win { display: flex; gap: 18px; padding: 22px; border-radius: 12px; background: var(--paper-2); border: 1px solid var(--line-2); }
.win > .icon { width: 30px; height: 30px; color: var(--blue); margin-top: 2px; }
.win h3 { font-size: 1.3rem; }
.win p { margin-top: 6px; color: #2c3a4c; }

/* ---------- Aims page ---------- */
.aims-layout { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: clamp(32px, 6vw, 72px); align-items: start; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 0 14px;
  border: 1px solid var(--line); border-radius: 999px; background: #fff; color: var(--ink);
  font-weight: 600; font-size: .95rem; white-space: nowrap; transition: background .2s, color .2s, border-color .2s;
}
.chip:hover { border-color: var(--blue); color: var(--blue); }
.chip[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: #fff; }
.chip__n { display: inline-grid; place-items: center; min-width: 24px; height: 22px; padding: 0 6px; border-radius: 999px; background: var(--wall); color: var(--ink); font-size: .78rem; }
.chip[aria-pressed="true"] .chip__n { background: rgba(255, 255, 255, .18); color: #fff; }
.aims { margin-top: 28px; border-top: 2px solid var(--ink); }
.aim { display: grid; grid-template-columns: 64px minmax(0, 1fr); gap: 8px; padding: 24px 0; border-bottom: 1px solid var(--line); }
.aim[hidden] { display: none; }
.aim:target { background: linear-gradient(90deg, var(--wall), transparent); }
.aim__n { font-family: var(--f-display); font-weight: 750; font-stretch: 80%; font-size: 2.4rem; line-height: 1; color: var(--blue); font-variant-numeric: tabular-nums; }
.aim__gu { font-size: 1.2rem; line-height: 1.65; color: var(--ink); font-weight: 500; }
.aim__en { margin-top: 6px; color: var(--muted); }
.aim__tag { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 8px; margin-top: 10px; font-size: .85rem; font-weight: 600; color: var(--blue); }
.aim__tag .icon { width: 1.1em; height: 1.1em; }
.aim__note { padding: 1px 10px; border-radius: 999px; background: #fff4d6; color: #7a5300; font-weight: 600; }
.aims-doc { position: sticky; top: calc(var(--nav-h) + 24px); padding: 24px; background: var(--paper-2); border: 1px solid var(--line); border-radius: 12px; }
.aims-doc__title { font-size: 1.35rem; }
.aims-doc > p { margin-top: 8px; font-size: .95rem; color: var(--muted); }
.aims-doc__pages { display: grid; gap: 12px; margin-top: 18px; }
.aims-doc__page { box-shadow: var(--print-shadow); border-radius: 2px; }

/* ---------- Gallery page ---------- */
.galbar { position: sticky; top: var(--nav-h); z-index: 40; background: rgba(255, 255, 255, .95); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); border-top: 1px solid var(--line); }
.chips--scroll {
  flex-wrap: nowrap; overflow-x: auto; padding-block: 10px; scrollbar-width: none; scroll-snap-type: x proximity;
  -webkit-mask-image: linear-gradient(90deg, #000 calc(100% - 48px), transparent);
  mask-image: linear-gradient(90deg, #000 calc(100% - 48px), transparent);
  padding-right: 48px;
}
.chips--scroll::-webkit-scrollbar { display: none; }
.chips--scroll .chip { scroll-snap-align: start; }
.gal-list { display: grid; }
.gal { padding-block: clamp(36px, 5vw, 64px); border-top: 1px solid var(--line); }
.gal:first-child { border-top: 0; padding-top: 12px; }
.gal[hidden] { display: none; }
.gal__head { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 8px 32px; align-items: end; margin-bottom: 28px; }
.gal__title { font-size: clamp(1.7rem, 1.35rem + 1.2vw, 2.3rem); }
.gal__gu { display: block; margin-top: 4px; font-family: var(--f-display); font-weight: 600; font-size: 1.1rem; color: var(--blue); }
.gal__meta { display: flex; flex-wrap: wrap; gap: 6px 20px; font-size: .92rem; color: var(--muted); }
.gal__meta div { display: inline-flex; align-items: center; gap: 6px; }
.gal__meta .icon { width: 1.05em; height: 1.05em; color: var(--blue); }
.gal__summary { grid-column: 1 / -1; margin-top: 8px; max-width: 72ch; color: #2c3a4c; }
.masonry { columns: 3 280px; column-gap: 20px; }
.masonry--wide { columns: 2 420px; }
.masonry__item { break-inside: avoid; margin-bottom: 24px; }

.docs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; align-items: start; }
.docs__item .zoom { box-shadow: var(--print-shadow); border-radius: 2px; }

/* ---------- Contact and forms ---------- */
.contact-grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(32px, 6vw, 80px); align-items: start; }
.contact-grid--form-first { grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr); }
.cards-contact { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.contact-side .cards-contact { grid-template-columns: 1fr; margin-top: 20px; }
.contact-side__title { font-size: 1.6rem; }
.contact-side > p { margin-top: 8px; color: var(--muted); }
.ccard { padding: 20px; border: 1px solid var(--line); border-radius: 12px; background: #fff; }
.ccard__title { display: flex; align-items: center; gap: 10px; font-size: 1.15rem; margin-bottom: 10px; }
.ccard__title .icon { color: var(--blue); }
.ccard ul { display: grid; gap: 6px; }
.ccard li { display: flex; flex-wrap: wrap; gap: 4px 10px; align-items: baseline; }
.ccard__k { font-size: .85rem; color: var(--muted); min-width: 52px; }
.ccard a { font-weight: 600; word-break: break-word; }
.ccard address { line-height: 1.55; color: #2c3a4c; }

.form-panel { padding: clamp(24px, 4vw, 40px); background: var(--paper-2); border: 1px solid var(--line); border-radius: 14px; }
.form-panel .shead { margin-bottom: 24px; }
.form__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 20px; }
.field { display: grid; gap: 6px; align-content: start; }
.field--wide { grid-column: 1 / -1; }
.field label { font-weight: 600; color: var(--ink); font-size: .97rem; }
.field__req, .field__opt { font-weight: 500; font-size: .8rem; color: var(--muted); margin-left: 4px; }
.field__hint { font-size: .85rem; color: var(--muted); margin-top: -4px; }
.field input, .field textarea, .field select {
  width: 100%; min-height: 48px; padding: 10px 14px; border: 1.5px solid #b6c4d2; border-radius: 8px;
  background: #fff; font-size: 1.05rem; transition: border-color .2s, box-shadow .2s;
}
.field textarea { resize: vertical; min-height: 160px; line-height: 1.55; }
.field input:hover, .field textarea:hover, .field select:hover { border-color: #8aa0b6; }
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 4px rgba(242, 169, 0, .4); }
.field [aria-invalid="true"] { border-color: var(--err); }
.field__error { font-size: .875rem; color: var(--err); font-weight: 600; }
.form__note { display: flex; gap: 10px; align-items: flex-start; margin: 20px 0; font-size: .9rem; color: var(--muted); }
.form__note .icon { margin-top: 3px; color: var(--blue); }
.form__status { margin-top: 16px; padding: 14px 16px; border-radius: 8px; background: #e7f4ec; color: var(--ok); font-weight: 600; border: 1px solid #b9dcc6; }
.form__status.is-error { background: #fdecea; color: var(--err); border-color: #f3c0ba; }

.map { position: relative; height: clamp(320px, 45vw, 460px); background: var(--wall); }
.map iframe { width: 100%; height: 100%; border: 0; display: block; filter: saturate(.85); }
.map__link { position: absolute; left: var(--gutter); bottom: 24px; box-shadow: 0 10px 24px -12px rgba(15, 35, 64, .6); }

.lost { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- Lightbox ---------- */
.lightbox {
  width: 100vw; height: 100dvh; max-width: none; max-height: none; margin: 0; padding: 0; border: 0;
  background: rgba(6, 14, 28, .96); color: #fff;
  display: none; grid-template-rows: minmax(0, 1fr) auto;
}
.lightbox[open] { display: grid; }
.lightbox::backdrop { background: transparent; }
.lightbox.is-opening { animation: lbfade .3s ease both; }
.lightbox.is-closing { animation: lbfade .25s ease reverse both; }
@keyframes lbfade { from { background: rgba(6, 14, 28, 0); } }
.lightbox__stage { position: relative; display: grid; place-items: center; padding: 64px clamp(12px, 7vw, 96px) 8px; min-height: 0; }
.lightbox__figure { display: grid; place-items: center; width: 100%; height: 100%; min-height: 0; }
.lightbox__img { max-width: 100%; max-height: calc(100dvh - 190px); width: auto; height: auto; object-fit: contain; border-radius: 3px; box-shadow: 0 30px 80px -20px rgba(0, 0, 0, .7); background: #0d1a2e; }
.lightbox__img.is-swap { animation: swap .4s var(--ease) both; }
@keyframes swap { from { opacity: 0; transform: translateX(var(--dir, 0)) scale(.985); } }
.lightbox__btn, .lightbox__close {
  position: absolute; display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%;
  background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .2); color: #fff; transition: background .2s;
}
.lightbox__btn:hover, .lightbox__close:hover { background: rgba(255, 255, 255, .22); }
.lightbox__btn .icon, .lightbox__close .icon { width: 24px; height: 24px; }
.lightbox__prev { left: clamp(8px, 2vw, 24px); top: 50%; transform: translateY(-50%); }
.lightbox__next { right: clamp(8px, 2vw, 24px); top: 50%; transform: translateY(-50%); }
.lightbox__close { top: 14px; right: 14px; }
.lightbox__bar { display: grid; grid-template-columns: minmax(0, 1fr) auto auto; gap: 8px 24px; align-items: center; padding: 14px clamp(16px, 4vw, 40px) 22px; }
.lightbox__title { font-family: var(--f-display); font-weight: 700; color: var(--chalk-y); font-size: 1.05rem; }
.lightbox__caption { color: #d5dee9; max-width: 80ch; line-height: 1.5; }
.lightbox__count { font-variant-numeric: tabular-nums; color: #9fb2c9; font-size: .95rem; }
.lightbox__open { display: inline-flex; align-items: center; gap: 6px; color: #fff; font-size: .9rem; }
.lightbox__open .icon { width: 1em; height: 1em; }
.lightbox[data-single] .lightbox__btn { display: none; }
.lightbox__ghost { position: fixed; z-index: 1000; object-fit: cover; border-radius: 6px; pointer-events: none; }

/* ---------- Scroll reveals ---------- */
.js [data-reveal] { opacity: 0; transform: translateY(18px); transition: opacity .8s var(--ease), transform .8s var(--ease); transition-delay: calc(var(--i, 0) * 80ms); }
.js [data-reveal].is-in { opacity: 1; transform: none; }

/* ---------- High contrast ---------- */
html[data-contrast="high"] {
  --text: #000; --muted: #1e2a38; --line: #5d6b7a; --line-2: #5d6b7a; --wall-d: #5d6b7a;
  --blue: #003b7a; --blue-d: #002a57; --wall: #fff; --paper-2: #fff;
}
html[data-contrast="high"] body { color: #000; }
html[data-contrast="high"] a { text-decoration: underline; }
html[data-contrast="high"] .tlink span { text-decoration-color: currentColor; }
html[data-contrast="high"] .hero__scrim { background: rgba(0, 0, 0, .78); }
html[data-contrast="high"] .board { background: #000; }
html[data-contrast="high"] .board::before { display: none; }
html[data-contrast="high"] .theme, html[data-contrast="high"] .person, html[data-contrast="high"] .prog,
html[data-contrast="high"] .ccard, html[data-contrast="high"] .cred { border: 2px solid #000; }
html[data-contrast="high"] .phead, html[data-contrast="high"] .reach { background: #000; }
html[data-contrast="high"] .phead__rosette, html[data-contrast="high"] .reach::before { display: none; }

/* ---------- Responsive ---------- */
@media (min-width: 1000px) and (max-width: 1200px) {
  .nav__link { padding: 0 10px; font-size: .97rem; }
  .nav__link::after { left: 10px; right: 10px; }
  .nav__ncsc-sub { display: none; }
}

@media (max-width: 999px) {
  .nav__burger { display: inline-flex; }
  .nav__in { flex-wrap: wrap; gap: 10px; padding-block: 8px; }
  .nav__mini { display: none; }
  .nav__list {
    order: 3; flex-basis: 100%; display: none; flex-direction: column; padding: 6px 0 12px;
    border-top: 1px solid var(--line); max-height: calc(100dvh - 140px); overflow-y: auto;
  }
  .nav.is-open .nav__list { display: flex; }
  .nav__item { flex-direction: column; }
  .nav__link { min-height: 48px; padding: 0 6px; justify-content: space-between; width: 100%; }
  .nav__link::after { left: 0; right: auto; width: 4px; top: 10px; bottom: 10px; height: auto; transform: scaleY(0); border-radius: 0 3px 3px 0; }
  .nav__link[aria-current="page"]::after, .nav__link.is-current::after { transform: scaleY(1); }
  .nav__link:hover::after { transform: scaleY(0); }
  .nav__sub { position: static; display: none; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: 0; padding: 0 0 8px 12px; min-width: 0; }
  .nav__toggle[aria-expanded="true"] + .nav__sub { display: block; }
  .nav__ncsc { margin-left: auto; }
}

@media (max-width: 980px) {
  .hero { height: auto; min-height: 640px; }
  .hero__in { grid-template-columns: 1fr; align-content: end; min-height: 640px; gap: 28px; padding-top: 120px; }
  .hero__now { justify-self: stretch; width: 100%; }
  .hero__scrim { background: linear-gradient(0deg, rgba(8, 20, 40, .94) 0%, rgba(8, 20, 40, .75) 55%, rgba(8, 20, 40, .25) 100%); }
  .welcome__grid, .board__grid, .split, .split--even, .reach__in, .contact-grid, .contact-grid--form-first,
  .aims-layout, .press--full, .ncsc__in, .director { grid-template-columns: 1fr; }
  .board__intro, .aims-doc { position: static; }
  .ncsc__in { gap: 32px; }
  .ncsc__cover { width: 200px; }
  .director__photo { max-width: 320px; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .footer__brand { grid-column: 1 / -1; }
  .strip { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: minmax(240px, 72%); overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 8px; }
  .strip__item { scroll-snap-align: start; }
  .seminars { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .docs { grid-template-columns: 1fr; max-width: 640px; }
  .programmes { grid-template-columns: 1fr; }
  .gal__head { grid-template-columns: 1fr; }
}

@media (max-width: 720px) {
  .govbar__text { display: none; }
  .govbar__in { justify-content: flex-end; }
  .masthead__gujcost { display: none; }
  .brand__seal { width: 52px; }
  .mosaic { grid-template-columns: 1fr 1fr; }
  .form__grid, .cards-contact { grid-template-columns: 1fr; }
  .timeline__rail { left: 6px; }
  .timeline__item { grid-template-columns: 1fr; gap: 4px; padding-left: 34px; }
  .timeline__item::before { left: 0; }
  .timeline__date { text-align: left; }
  .footer__grid { grid-template-columns: 1fr; }
  .aim { grid-template-columns: 48px minmax(0, 1fr); }
  .aim__n { font-size: 1.9rem; }
}

@media (max-width: 480px) {
  .govbar__label { display: none; }
  .govbar__contrast span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .nav__ncsc-sub { display: none; }
  .brand__role { display: none; }
  .hero__actions .btn { flex: 1 1 100%; }
  .seminars { grid-template-columns: 1fr; }
  .seminars__item--big { grid-column: auto; grid-row: auto; }
  .lightbox__stage { padding-inline: 8px; }
  .lightbox__btn { top: auto; bottom: 8px; transform: none; width: 44px; height: 44px; }
  .lightbox__bar { grid-template-columns: 1fr auto; }
  .lightbox__open { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .js [data-reveal] { opacity: 1; transform: none; }
  .hero__slide.is-active .hero__ph img { animation: none; }
}

@media print {
  .govbar, .nav, .hero__ctrl, .hero__actions, .lightbox, .map, .skip, .reach__actions, .galbar, .zoom__hint { display: none !important; }
  .hero { height: auto; min-height: 0; color: #000; background: none; }
  .hero__slide:not(.is-active), .hero__scrim { display: none; }
  .hero__slide { position: static; }
  .hero__in { display: block; padding: 0; }
  .hero__title, .hero__lead, .phead__title, .phead__lead, .board__title { color: #000 !important; }
  .phead, .board, .reach, .footer { background: none !important; color: #000 !important; }
  .js [data-reveal], .js .ph img { opacity: 1 !important; transform: none !important; }
  a { color: #000; }
}

/* Press previews: whole clipping visible in a uniform box */
.press:not(.press--full) .ph { background: #fbfaf6; }
.press:not(.press--full) .ph::before { display: none; }
.press:not(.press--full) .ph img { object-fit: contain; }

/* Gallery index: four across, the banner collages span two */
@media (min-width: 1100px) { .albums--index { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 40px 28px; } }
@media (min-width: 700px) and (max-width: 1099px) { .albums--index { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 700px) { .albums--index .album--wide { grid-column: span 2; } }
.album--wide .album__stack { aspect-ratio: 8 / 3; }
.albums--index .album__title { font-size: 1.25rem; }
.gal { scroll-margin-top: 48px; } /* + html scroll-padding = nav + filter bar */
