/* ==========================================================================
   HIMATEK-ITB — Editorial Institutional Site
   Palette locked from official badge logo (cyan / gold / Ganesha red)
   Type: Fraunces (display) · Inter (body/UI) · JetBrains Mono (labels/numbers)
   ========================================================================== */

/* ---------- Design tokens ---------- */
:root {
  /* Brand */
  --blue:        #008CD7;   /* badge ring blue        */
  --blue-bright: #00A2EA;   /* badge field blue       */
  --blue-ink:    #075B8C;   /* AA text on paper       */
  --gold:        #FFD300;   /* ChE monogram gold      */
  --red:         #E4002B;   /* Ganesha red            */

  /* Neutrals — warm editorial paper + near-black ink */
  --ink:      #111318;
  --ink-soft: #3a3f4a;
  --ink-mute: #5c626b;
  --paper:    #F4F3EE;
  --paper-2:  #EAE8DF;
  --line:     #D9D6CB;
  --white:    #ffffff;

  /* Dark surfaces (cyan-tinted deep navy) */
  --navy:      #0B141C;
  --navy-2:    #0F1D28;
  --navy-line: #223541;
  --on-navy:   #EDF1F3;
  --on-navy-mute: #9fb2be;

  /* Typography — headlines: Raleway · sub/labels: Fredoka · body: DM Sans */
  --font-display: "Raleway", system-ui, -apple-system, sans-serif;
  --font-body:    "DM Sans", system-ui, -apple-system, sans-serif;
  --font-mono:    "Fredoka", system-ui, -apple-system, sans-serif;

  /* Rhythm */
  --wrap: 1240px;
  --gutter: clamp(20px, 5vw, 72px);
  --section-y: clamp(72px, 11vw, 168px);

  --ease: cubic-bezier(.22,.61,.36,1);
}

/* ---------- Reset ---------- */
*,*::before,*::after { box-sizing: border-box; }
* { margin: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  font-family: var(--font-body);
  background: var(--paper);
  color: var(--ink);
  line-height: 1.6;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg, picture, video { display: block; max-width: 100%; height: auto; }
/* Let <picture> not create its own box, so a child <img> sizes against the real container
   (fixes hero/banner images that use height:100%). */
picture { display: contents; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; background: none; border: none; }
ul { list-style: none; padding: 0; }

/* Accessibility helpers */
.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 200;
  background: var(--ink); color: var(--white);
  padding: 12px 18px; border-radius: 8px; font-weight: 600;
  transition: top .2s var(--ease);
}
.skip-link:focus { top: 12px; }
:focus-visible {
  outline: 3px solid var(--blue-bright);
  outline-offset: 3px;
  border-radius: 2px;
}
.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;
}

/* ---------- Layout primitives ---------- */
.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: var(--section-y); }
.eyebrow {
  font-family: var(--font-mono);
  font-size: .72rem;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--blue-ink);
  display: inline-flex;
  align-items: center;
  gap: .7em;
  font-weight: 500;
}
.eyebrow::before {
  content: "";
  width: 26px; height: 2px; background: var(--red);
  display: inline-block;
}
.eyebrow--light { color: var(--gold); }
.eyebrow--light::before { background: var(--gold); }

h1,h2,h3,h4 { font-family: var(--font-display); font-weight: 400; line-height: 1.04; letter-spacing: -.01em; }
.display { font-size: clamp(2.6rem, 7vw, 6rem); font-weight: 300; }
.h2 { font-size: clamp(2rem, 4.6vw, 3.6rem); font-weight: 300; }
.h3 { font-size: clamp(1.35rem, 2.4vw, 1.9rem); }
.lead { font-size: clamp(1.05rem, 1.6vw, 1.28rem); color: var(--ink-soft); max-width: 60ch; }
.muted { color: var(--ink-mute); }
p { max-width: 68ch; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; gap: .6em;
  padding: 15px 26px; border-radius: 100px;
  font-weight: 600; font-size: .95rem; letter-spacing: .01em;
  transition: transform .3s var(--ease), background .3s var(--ease), color .3s var(--ease), border-color .3s var(--ease);
  min-height: 48px;
}
.btn svg { width: 18px; height: 18px; transition: transform .3s var(--ease); }
.btn:hover svg { transform: translate(3px,-3px); }
.btn--primary { background: var(--ink); color: var(--paper); }
.btn--primary:hover { background: var(--blue-ink); }
.btn--gold { background: var(--gold); color: var(--ink); }
.btn--gold:hover { background: #ffdd3d; transform: translateY(-2px); }
.btn--ghost { border: 1.5px solid currentColor; color: var(--ink); }
.btn--ghost:hover { background: var(--ink); color: var(--paper); }
.btn--ondark { border: 1.5px solid rgba(255,255,255,.35); color: var(--on-navy); }
.btn--ondark:hover { background: var(--white); color: var(--ink); border-color: var(--white); }

/* ---------- Header ---------- */
.header {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  display: flex; align-items: center;
  height: 76px;
  transition: background .4s var(--ease), box-shadow .4s var(--ease), color .4s var(--ease);
  color: var(--white);
}
.header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 24px; position: relative; z-index: 1; }
.header::before {
  content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background: linear-gradient(180deg, rgba(11,20,28,.5), rgba(11,20,28,0));
  transition: opacity .4s var(--ease);
}
.header.scrolled::before { opacity: 0; }
.header.scrolled {
  background: rgba(244,243,238,.86);
  backdrop-filter: saturate(1.4) blur(14px);
  -webkit-backdrop-filter: saturate(1.4) blur(14px);
  color: var(--ink);
  box-shadow: 0 1px 0 var(--line);
}
.brand { display: flex; align-items: center; gap: 12px; font-weight: 700; }
.brand img { width: 40px; height: 40px; object-fit: contain; }
.brand__name { display: flex; flex-direction: column; line-height: 1; }
.brand__name b { font-size: 1rem; letter-spacing: .02em; }
.brand__name span { font-family: var(--font-mono); font-size: .58rem; letter-spacing: .2em; opacity: .8; margin-top: 3px; }

.nav { display: flex; align-items: center; gap: 6px; }
.nav a {
  padding: 10px 14px; font-size: .9rem; font-weight: 500; border-radius: 8px;
  position: relative;
  transition: opacity .2s var(--ease);
}
.nav a::after {
  content: ""; position: absolute; left: 14px; right: 14px; bottom: 6px; height: 1.5px;
  background: currentColor; transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease);
}
.nav a:hover::after { transform: scaleX(1); }
.nav__cta { margin-left: 10px; }
.header .btn--nav {
  padding: 11px 20px; min-height: 44px; border: 1.5px solid currentColor; border-radius: 100px; font-size: .88rem;
}
.header.scrolled .btn--nav:hover { background: var(--ink); color: var(--paper); }
.header:not(.scrolled) .btn--nav:hover { background: var(--white); color: var(--ink); }

.burger { display: none; width: 44px; height: 44px; align-items: center; justify-content: center; }
.burger span { width: 24px; height: 2px; background: currentColor; position: relative; transition: .3s var(--ease); }
.burger span::before, .burger span::after { content:""; position:absolute; left:0; width:24px; height:2px; background:currentColor; transition:.3s var(--ease); }
.burger span::before { top:-7px; } .burger span::after { top:7px; }
body.menu-open .burger span { background: transparent; }
body.menu-open .burger span::before { top:0; transform: rotate(45deg); }
body.menu-open .burger span::after { top:0; transform: rotate(-45deg); }

/* Mobile menu */
.mobile-menu {
  position: fixed; inset: 0; z-index: 90;
  background: var(--navy); color: var(--on-navy);
  padding: 100px var(--gutter) 40px;
  display: flex; flex-direction: column; gap: 6px;
  transform: translateY(-100%); transition: transform .5s var(--ease);
  overflow-y: auto;
}
body.menu-open .mobile-menu { transform: translateY(0); }
.mobile-menu a { font-family: var(--font-display); font-size: 2rem; font-weight: 300; padding: 12px 0; border-bottom: 1px solid var(--navy-line); }
.mobile-menu a span { font-family: var(--font-mono); font-size: .7rem; color: var(--gold); margin-right: 14px; }

/* ---------- Hero ---------- */
.hero { position: relative; min-height: 100vh; min-height: 100svh; display: flex; align-items: flex-end; color: var(--white); overflow: hidden; }
.hero__bg { position: absolute; inset: 0; z-index: -2; }
.hero__bg img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1) contrast(1.05); transform: scale(1.06); }
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(180deg, rgba(11,20,28,.55) 0%, rgba(11,20,28,.15) 30%, rgba(11,20,28,.7) 78%, rgba(11,20,28,.95) 100%),
    linear-gradient(90deg, rgba(11,20,28,.6), transparent 60%);
}
.hero__inner { padding-block: clamp(40px, 12vh, 130px); width: 100%; }
.hero h1 { max-width: 16ch; margin-top: 22px; text-shadow: 0 2px 30px rgba(0,0,0,.3); font-weight: 700; }
.hero h1 em { font-style: italic; color: var(--gold); }
.hero__row { display: flex; flex-wrap: wrap; gap: 40px; align-items: flex-end; justify-content: space-between; margin-top: 34px; }
.hero__lead { max-width: 46ch; color: rgba(255,255,255,.85); font-size: clamp(1rem,1.4vw,1.18rem); }
.hero__cta { display: flex; gap: 14px; flex-wrap: wrap; }
.hero__scroll { position: absolute; left: var(--gutter); bottom: 26px; font-family: var(--font-mono); font-size: .68rem; letter-spacing: .2em; text-transform: uppercase; display: flex; align-items: center; gap: 10px; opacity: .8; }
.hero__scroll .line { width: 40px; height: 1px; background: currentColor; position: relative; overflow: hidden; }
.hero__scroll .line::after { content:""; position:absolute; inset:0; background: var(--gold); animation: scrollLine 2.4s var(--ease) infinite; }
@keyframes scrollLine { 0%{transform:translateX(-100%)} 60%,100%{transform:translateX(100%)} }
@media (prefers-reduced-motion: reduce){ .hero__scroll .line::after{ animation:none } .hero__bg img{ transform:none } }

/* Marquee ticker */
.ticker { background: var(--ink); color: var(--paper); padding: 16px 0; overflow: hidden; white-space: nowrap; }
.ticker__track { display: inline-flex; gap: 46px; align-items: center; animation: marquee 90s linear infinite; }
.ticker__track span { font-family: var(--font-mono); font-size: .82rem; letter-spacing: .16em; text-transform: uppercase; display:inline-flex; align-items:center; gap:46px; }
.ticker__track span::after { content:"◆"; color: var(--gold); font-size:.6rem; }
@keyframes marquee { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce){ .ticker__track{ animation:none } }

/* ---------- About / Who we are ---------- */
.split { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(32px, 6vw, 88px); align-items: center; }
.split--reverse .split__media { order: -1; }
.about__body p + p { margin-top: 1.1em; }
.about__body { margin-top: 26px; }
.figure { position: relative; }
.figure img { width: 100%; aspect-ratio: 4/5; object-fit: cover; }
.figure--bw img { filter: grayscale(1) contrast(1.04); transition: filter .6s var(--ease); }
.figure--bw:hover img { filter: grayscale(0) contrast(1); }
.figure__tag {
  position: absolute; left: 0; bottom: 0; background: var(--ink); color: var(--paper);
  font-family: var(--font-mono); font-size: .68rem; letter-spacing: .12em; text-transform: uppercase;
  padding: 10px 16px;
}
.figure__tag b { color: var(--gold); }

/* Stat band */
.stats { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.stats__grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 1px; background: var(--line); }
.stat { padding: clamp(28px,4vw,52px) clamp(16px,2vw,32px); background: var(--paper); }
.stat small { display: block; font-family: var(--font-mono); font-size: .66rem; letter-spacing: .04em; color: var(--ink-mute); opacity: .85; margin-top: 6px; }
.stat b { font-family: var(--font-display); font-weight: 300; font-size: clamp(2.4rem,5vw,4rem); display: block; line-height: 1; }
.stat b i { font-style: normal; color: var(--red); }
.stat span { font-family: var(--font-mono); font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-mute); margin-top: 12px; display: block; }

/* ---------- Divisi / Program (numbered like ECI) ---------- */
.section--dark { background: var(--navy); color: var(--on-navy); }
.section--dark .lead { color: var(--on-navy-mute); }
.section--dark p { color: var(--on-navy-mute); }
.section-head { display: grid; grid-template-columns: 1fr; gap: 20px; max-width: 62ch; }
.section-head--split { max-width: none; grid-template-columns: auto 1fr; align-items: end; gap: clamp(24px,5vw,80px); }
.section-head--split .lead { justify-self: end; text-align: left; }

.divisi { display: grid; grid-template-columns: repeat(4,1fr); border-top: 1px solid var(--navy-line); margin-top: clamp(40px,6vw,64px); }
.divisi__cell {
  padding: 32px 26px 40px; border-right: 1px solid var(--navy-line);
  position: relative; transition: background .35s var(--ease);
  display: flex; flex-direction: column; min-height: 320px;
}
.divisi__cell:last-child { border-right: 0; }
.divisi__cell:hover { background: var(--navy-2); }
.divisi__num { font-family: var(--font-mono); font-size: .8rem; color: var(--gold); letter-spacing: .1em; }
.divisi__cell h3 { margin-top: auto; color: var(--white); font-size: 1.35rem; padding-top: 40px; }
.divisi__cell p { font-size: .92rem; margin-top: 14px; }
.divisi__cell .arrow { margin-top: 22px; width: 34px; height: 34px; border: 1px solid var(--navy-line); border-radius: 100px; display: grid; place-items: center; color: var(--gold); transition: .3s var(--ease); }
.divisi__cell:hover .arrow { background: var(--gold); color: var(--ink); border-color: var(--gold); transform: rotate(-45deg); }

/* ---------- Governing bodies ---------- */
/* #bodies and #events are both dark & adjacent — collapse the doubled seam padding */
#bodies { padding-bottom: clamp(52px,7vw,96px); }
#events { padding-top: 0; }
.gov { display: grid; grid-template-columns: repeat(4,1fr); border-top: 1px solid var(--navy-line); margin-top: clamp(40px,6vw,64px); }
.gov__cell {
  padding: 34px 26px 40px; border-right: 1px solid var(--navy-line);
  display: flex; flex-direction: column; min-height: 360px;
  transition: background .35s var(--ease);
}
.gov__cell:last-child { border-right: 0; }
.gov__cell:hover { background: var(--navy-2); }
.gov__logo-box { height: clamp(120px, 13vw, 156px); display: flex; align-items: center; justify-content: center; margin-bottom: 28px; }
.gov__logo { max-height: 100%; max-width: 100%; width: auto; height: auto; object-fit: contain; }
.gov__cell h3 { color: var(--white); font-size: 1.16rem; margin: 0 0 12px; }
.gov__cell p { color: var(--on-navy-mute); font-size: .9rem; }

/* ---------- Journey / values ---------- */
.values { display: grid; grid-template-columns: repeat(3,1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); margin-top: 48px; }
.value { background: var(--paper); padding: clamp(26px,3vw,40px); }
.value .ic { width: 44px; height: 44px; color: var(--blue-ink); }
.value__img { aspect-ratio: 16/9; overflow: hidden; margin-bottom: 20px; background: var(--paper-2); }
.value__img img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1) contrast(1.03); }
.value__img--color img { filter: none; }
.value h3 { font-size: 1.3rem; margin: 20px 0 10px; }
.value p { font-size: .95rem; color: var(--ink-soft); }

/* Core Values (About Us) — immersive full-bleed image cards */
#values .values { grid-template-columns: repeat(3,1fr); gap: clamp(16px,2vw,24px); background: none; border: 0; }
#values .value { position: relative; overflow: hidden; padding: clamp(26px,3vw,34px); min-height: clamp(390px,44vw,500px); display: flex; flex-direction: column; justify-content: flex-end; background: var(--navy-2); isolation: isolate; transition: transform .4s var(--ease); }
#values .value__img { position: absolute; inset: 0; z-index: -2; aspect-ratio: auto; margin: 0; overflow: hidden; background: none; }
#values .value__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
#values .value::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(11,20,28,.12) 0%, rgba(11,20,28,.5) 52%, rgba(11,20,28,.93) 100%); }
#values .value::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 3px; z-index: 1; background: var(--gold); transform: scaleX(0); transform-origin: left; transition: transform .45s var(--ease); }
#values .value:hover { transform: translateY(-4px); }
#values .value:hover::before { transform: scaleX(1); }
#values .value:hover .value__img img { transform: scale(1.06); }
#values .value h3 { color: #fff; font-family: var(--font-display); font-weight: 700; font-size: clamp(1.55rem,2.4vw,2.05rem); letter-spacing: -.01em; margin: 0 0 12px; }
#values .value h3::before { content: ""; display: block; width: 34px; height: 3px; background: var(--gold); margin-bottom: 16px; }
#values .value p { color: rgba(255,255,255,.92); font-size: 1rem; margin: 0; max-width: 34ch; }
@media (max-width: 860px) { #values .values { grid-template-columns: 1fr; } #values .value { min-height: clamp(340px,60vw,440px); } }

/* ---------- Leadership ---------- */
.leaders { display: grid; grid-template-columns: repeat(4,1fr); gap: clamp(14px,1.6vw,24px); margin-top: 52px; }
.leader { }
.leader__ph {
  aspect-ratio: 3/2; position: relative; overflow: hidden;
  background:
    radial-gradient(120% 120% at 50% 0%, var(--blue-bright), var(--blue) 45%, var(--blue-ink) 100%);
  display: grid; place-items: center;
}
.leader__ph.alt { background: radial-gradient(120% 120% at 50% 0%, #ffe14d, var(--gold) 55%, #d9a800 100%); }
.leader__ph.alt .leader__mono { color: rgba(0,0,0,.14); }
.leader__ph.red { background: radial-gradient(120% 120% at 50% 0%, #ff5470, var(--red) 55%, #a80020 100%); }
.leader__mono { font-family: var(--font-display); font-size: 4.5rem; color: rgba(255,255,255,.28); font-weight: 300; }
.leader__ph img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.leader h3 { font-family: var(--font-body); font-weight: 600; font-size: 1.02rem; margin-top: 16px; letter-spacing: 0; }
.leader span { font-family: var(--font-mono); font-size: .7rem; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-mute); margin-top: 5px; display: block; }

/* ---------- Prestasi ---------- */
.section--paper2 { background: var(--paper-2); }
.awards { display: grid; grid-template-columns: repeat(2,1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); margin-top: 48px; }
.award { background: var(--paper); padding: clamp(24px,3vw,40px); display: grid; grid-template-columns: auto 1fr; gap: 22px; align-items: start; }
.award__badge { width: 54px; height: 54px; border-radius: 100px; background: var(--ink); color: var(--gold); display: grid; place-items: center; font-family: var(--font-mono); font-weight: 500; }
.award h3 { font-family: var(--font-body); font-weight: 600; font-size: 1.1rem; letter-spacing: 0; }
.award p { font-size: .93rem; color: var(--ink-soft); margin-top: 6px; }
.award .tag { font-family: var(--font-mono); font-size: .66rem; letter-spacing: .1em; text-transform: uppercase; color: var(--blue-ink); margin-top: 12px; display: inline-block; }

/* ---------- Events ---------- */
.events { display: grid; grid-template-columns: repeat(3,1fr); gap: clamp(16px,2vw,28px); margin-top: 52px; }
.event { position: relative; overflow: hidden; background: var(--navy-2); color: var(--on-navy); border: 1px solid var(--navy-line); min-height: 400px; display: flex; flex-direction: column; justify-content: flex-end; padding: 28px; isolation: isolate; }
.event__bg { position: absolute; inset: 0; z-index: -2; }
.event__bg img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(.4) brightness(.5); transition: transform .8s var(--ease), filter .6s var(--ease); }
.event::before { content:""; position:absolute; inset:0; z-index:-1; background: linear-gradient(180deg, rgba(11,20,28,.1), rgba(11,20,28,.9)); }
.event:hover .event__bg img { transform: scale(1.07); filter: grayscale(0) brightness(.6); }
.event__logo { position: absolute; top: 24px; left: 24px; width: 56px; height: 56px; object-fit: contain; }
.event__kicker { font-family: var(--font-mono); font-size: .68rem; letter-spacing: .14em; text-transform: uppercase; color: var(--gold); }
.event h3 { color: var(--white); font-size: 1.7rem; margin: 10px 0 8px; }
.event p { color: var(--on-navy-mute); font-size: .92rem; }

/* ---------- Signature events (image cards) ---------- */
.sig { display: grid; grid-template-columns: repeat(3,1fr); gap: clamp(16px,1.8vw,22px); margin-top: clamp(44px,6vw,60px); }
.sig__card {
  position: relative; overflow: hidden;
  background: var(--navy-2); border: 1px solid var(--navy-line);
  display: flex; flex-direction: column;
  transition: transform .4s var(--ease), border-color .4s var(--ease);
}
.sig__card::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 3px; z-index: 2;
  background: var(--gold); transform: scaleX(0); transform-origin: left; transition: transform .45s var(--ease);
}
.sig__card:hover { transform: translateY(-4px); border-color: rgba(255,211,0,.45); }
.sig__card:hover::before { transform: scaleX(1); }
.sig__media { aspect-ratio: 16/10; overflow: hidden; background: #0e1a24; }
.sig__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); }
.sig__card:hover .sig__media img { transform: scale(1.05); }
.sig__body { padding: clamp(22px,2.4vw,30px) clamp(22px,2.2vw,28px) clamp(28px,3vw,34px); display: flex; flex-direction: column; flex: 1; }
.sig__tag { font-family: var(--font-mono); font-size: .66rem; letter-spacing: .14em; text-transform: uppercase; color: var(--gold); }
.sig__card h3 { color: var(--white); font-size: clamp(1.3rem,2vw,1.6rem); margin: 12px 0 12px; }
.sig__card p { color: var(--on-navy-mute); font-size: .9rem; }
.sig__card { cursor: pointer; }
.sig__more { margin-top: auto; padding-top: 18px; font-family: var(--font-mono); font-size: .7rem; letter-spacing: .1em; text-transform: uppercase; color: var(--gold); display: inline-flex; align-items: center; gap: 8px; }
.sig__more svg { width: 14px; height: 14px; transition: transform .3s var(--ease); }
.sig__card:hover .sig__more svg { transform: translateX(4px); }
.sig__detail { display: none; }

/* ---------- News ---------- */
.news { display: grid; grid-template-columns: repeat(3,1fr); gap: clamp(20px,2.4vw,34px); margin-top: 52px; }
.card { display: flex; flex-direction: column; }
.card__media { overflow: hidden; aspect-ratio: 3/2; }
.card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); }
.card:hover .card__media img { transform: scale(1.05); }
.card__meta { display: flex; gap: 14px; align-items: center; font-family: var(--font-mono); font-size: .68rem; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-mute); margin: 18px 0 8px; }
.card__meta .cat { color: var(--red); }
.card h3 { font-family: var(--font-display); font-weight: 400; font-size: 1.28rem; line-height: 1.2; }
.card:hover h3 { color: var(--blue-ink); }
.card p { font-size: .92rem; color: var(--ink-soft); margin-top: 10px; }
.card__link { margin-top: 14px; font-family: var(--font-mono); font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; color: var(--ink); display: inline-flex; gap: 8px; align-items: center; }
.card__link svg { width: 14px; height: 14px; transition: transform .3s var(--ease); }
.card:hover .card__link svg { transform: translateX(4px); }

/* ---------- Gallery (full colour) ---------- */
.gallery { columns: 3; column-gap: 14px; margin-top: 48px; }
.gallery figure { break-inside: avoid; margin-bottom: 14px; position: relative; overflow: hidden; cursor: pointer; background: var(--paper-2); }
.gallery img { width: 100%; transition: transform .7s var(--ease); }
.gallery figure:hover img { transform: scale(1.06); }
.gallery figure::after { content:"+"; position:absolute; right:14px; bottom:10px; color:#fff; font-size:1.6rem; opacity:0; transition:.3s var(--ease); text-shadow:0 2px 8px rgba(0,0,0,.5); }
.gallery figure:hover::after { opacity:1; }

/* News detail modal */
.modal { position: fixed; inset: 0; z-index: 300; display: flex; align-items: center; justify-content: center; padding: clamp(16px,5vw,48px); opacity: 0; visibility: hidden; transition: opacity .3s var(--ease), visibility .3s var(--ease); }
.modal.open { opacity: 1; visibility: visible; }
.modal__overlay { position: absolute; inset: 0; background: rgba(11,14,18,.72); -webkit-backdrop-filter: blur(3px); backdrop-filter: blur(3px); }
.modal__panel { position: relative; z-index: 1; background: var(--paper); width: 100%; max-width: 640px; max-height: 88vh; overflow: auto; box-shadow: 0 40px 100px rgba(0,0,0,.5); transform: translateY(14px) scale(.98); transition: transform .38s var(--ease); }
.modal.open .modal__panel { transform: none; }
.modal__media { aspect-ratio: 16/9; overflow: hidden; background: var(--paper-2); }
.modal__media img { width: 100%; height: 100%; object-fit: cover; }
.modal__body { padding: clamp(24px,4vw,40px); }
.modal__meta { display: flex; gap: 14px; align-items: center; font-family: var(--font-mono); font-size: .68rem; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-mute); margin-bottom: 12px; }
.modal__meta .cat { color: var(--red); }
.modal__panel h3 { font-family: var(--font-display); font-weight: 400; font-size: clamp(1.5rem,3.4vw,2.2rem); line-height: 1.15; letter-spacing: -.01em; }
.modal__content { margin-top: 18px; color: var(--ink-soft); font-size: 1rem; }
.modal__content p { margin: 0 0 1em; max-width: none; }
.modal__content p:last-child { margin-bottom: 0; }
.modal__close { position: absolute; top: 14px; right: 14px; z-index: 2; width: 44px; height: 44px; border-radius: 100px; background: rgba(255,255,255,.92); display: grid; place-items: center; font-size: 1.15rem; color: var(--ink); box-shadow: 0 2px 12px rgba(0,0,0,.22); transition: background .2s var(--ease); }
.modal__close:hover { background: #fff; }
.modal__panel--wide { max-width: 760px; }
.sigmodal__gallery { display: grid; grid-template-columns: repeat(3,1fr); gap: 5px; background: var(--paper-2); }
.sigmodal__gallery img { width: 100%; height: 100%; aspect-ratio: 4/3; object-fit: cover; display: block; }
@media (max-width: 560px){ .sigmodal__gallery { grid-template-columns: repeat(2,1fr); } }
@media (prefers-reduced-motion: reduce){ .modal, .modal__panel { transition: none; } }

/* Lightbox */
.lightbox { position: fixed; inset: 0; z-index: 300; background: rgba(11,14,18,.94); display: none; align-items: center; justify-content: center; padding: 4vw; }
.lightbox.open { display: flex; }
.lightbox img { max-width: 92vw; max-height: 88vh; width: auto; object-fit: contain; box-shadow: 0 30px 80px rgba(0,0,0,.5); }
.lightbox__close, .lightbox__nav button { position: absolute; color: #fff; width: 52px; height: 52px; display: grid; place-items: center; border: 1px solid rgba(255,255,255,.25); border-radius: 100px; }
.lightbox__close { top: 24px; right: 24px; font-size: 1.4rem; }
.lightbox__nav .prev { left: 24px; top: 50%; transform: translateY(-50%); }
.lightbox__nav .next { right: 24px; top: 50%; transform: translateY(-50%); }
.lightbox__close:hover, .lightbox__nav button:hover { background: rgba(255,255,255,.15); }

/* ---------- Contact ---------- */
.contact__grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(40px,6vw,90px); }
.contact__big { font-family: var(--font-display); font-weight: 300; font-size: clamp(2.2rem,5vw,4.2rem); line-height: 1.05; }
.contact__big a { color: var(--gold); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 8px; transition: color .3s var(--ease); }
.contact__big a:hover { color: var(--white); }
.contact__list { display: grid; gap: 2px; }
.contact__item { display: grid; grid-template-columns: auto 1fr auto; gap: 18px; align-items: center; padding: 22px 0; border-top: 1px solid var(--navy-line); }
.contact__item:last-child { border-bottom: 1px solid var(--navy-line); }
.contact__item .ic { width: 26px; height: 26px; color: var(--gold); }
.contact__item .lbl { font-family: var(--font-mono); font-size: .66rem; letter-spacing: .12em; text-transform: uppercase; color: var(--on-navy-mute); }
.contact__item .val { color: var(--white); font-size: 1.02rem; margin-top: 2px; }
.contact__item a.val:hover { color: var(--gold); }
.contact__item .go { color: var(--on-navy-mute); }

/* ---------- Contact form ---------- */
.cform { margin-top: 30px; display: grid; gap: 18px; }
.cform__hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.cform__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.cform__field { display: flex; flex-direction: column; gap: 7px; }
.cform label { font-family: var(--font-mono); font-size: .68rem; letter-spacing: .12em; text-transform: uppercase; color: var(--on-navy-mute); }
.cform input, .cform textarea {
  font: inherit; font-size: 1rem; color: var(--white);
  background: rgba(255,255,255,.05);
  border: 1.5px solid rgba(255,255,255,.16);
  border-radius: 10px; padding: 13px 15px; width: 100%;
  transition: border-color .2s var(--ease), background .2s var(--ease);
  min-height: 48px;
}
.cform textarea { resize: vertical; min-height: 130px; line-height: 1.55; }
.cform input::placeholder, .cform textarea::placeholder { color: rgba(255,255,255,.4); }
.cform input:focus, .cform textarea:focus { outline: none; border-color: var(--gold); background: rgba(255,255,255,.09); }
.cform input[aria-invalid="true"], .cform textarea[aria-invalid="true"] { border-color: #ff6b81; }
.cform__err { font-size: .8rem; color: #ff9aa8; min-height: 0; }
.cform__err:empty { display: none; }
.cform .btn--gold { justify-self: start; }
.cform__status { font-size: .92rem; margin-top: 2px; }
.cform__status:empty { display: none; }
.cform__status.is-ok { color: #7ee0a6; }
.cform__status.is-err { color: #ff9aa8; }
@media (max-width: 560px) {
  .cform__grid { grid-template-columns: 1fr; }
  .cform .btn--gold { justify-self: stretch; width: 100%; justify-content: center; }
}

/* ---------- Footer ---------- */
.footer { background: #070E14; color: var(--on-navy); padding-block: clamp(56px,7vw,96px) 40px; }
.footer__top { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 48px; padding-bottom: 56px; border-bottom: 1px solid var(--navy-line); }
.footer__brand { display: flex; gap: 16px; align-items: flex-start; }
.footer__brand img { width: 64px; height: 64px; object-fit: contain; }
.footer__brand p { color: var(--on-navy-mute); font-size: .92rem; margin-top: 10px; max-width: 34ch; }
.footer h4 { font-family: var(--font-mono); font-weight: 500; font-size: .72rem; letter-spacing: .16em; text-transform: uppercase; color: var(--gold); margin-bottom: 18px; }
.footer ul li { margin-bottom: 12px; }
.footer ul a { color: var(--on-navy-mute); font-size: .95rem; transition: color .2s var(--ease); }
.footer ul a:hover { color: var(--white); }
.footer__bottom { display: flex; flex-wrap: wrap; gap: 16px; justify-content: space-between; align-items: center; padding-top: 32px; }
.footer__bottom p { font-family: var(--font-mono); font-size: .72rem; letter-spacing: .06em; color: var(--on-navy-mute); }
.footer__social { display: flex; gap: 10px; }
.footer__social a { width: 44px; height: 44px; border: 1px solid var(--navy-line); border-radius: 100px; display: grid; place-items: center; color: var(--on-navy); transition: .3s var(--ease); }
.footer__social a:hover { background: var(--gold); color: var(--ink); border-color: var(--gold); }
.footer__social svg { width: 18px; height: 18px; }
.footer__legal { display: flex; gap: 22px; flex-wrap: wrap; }
.footer__legal a { font-family: var(--font-mono); font-size: .72rem; letter-spacing: .06em; text-transform: uppercase; color: var(--on-navy-mute); transition: color .2s var(--ease); }
.footer__legal a:hover { color: var(--gold); }

/* ---------- Legal pages (Privacy / Terms) ---------- */
.page-hero--short { min-height: 46vh; min-height: 46svh; }
.wrap.legal { max-width: 820px; }
.legal__meta { font-family: var(--font-mono); font-size: .74rem; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-mute); margin-bottom: 30px; }
.legal h2 { margin: 38px 0 10px; }
.legal p { margin-bottom: 1em; color: var(--ink-soft); }
.legal p a { color: var(--blue-ink); text-decoration: underline; text-underline-offset: 3px; }
.legal p a:hover { color: var(--red); }

/* ---------- 404 error page ---------- */
.errorpage { min-height: 68vh; min-height: 68svh; display: grid; place-items: center; text-align: center; }
.errorpage__inner { max-width: 620px; }
.errorpage__code { font-family: var(--font-display); font-weight: 800; font-size: clamp(5rem,20vw,10rem); line-height: 1; color: var(--blue-ink); letter-spacing: -.02em; }
.errorpage h1 { margin-top: 6px; }
.errorpage .lead { margin: 18px auto 0; }
.errorpage__cta { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; margin-top: 34px; }
@media (max-width: 560px) { .errorpage__cta .btn { flex: 1; justify-content: center; } }

/* ---------- Sub-page banner ---------- */
.page-hero { position: relative; min-height: 62vh; min-height: 62svh; display: flex; align-items: flex-end; color: var(--white); overflow: hidden; }
.page-hero__bg { position: absolute; inset: 0; z-index: -2; }
.page-hero__bg img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1) contrast(1.05); }
.page-hero::after { content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, rgba(11,20,28,.55), rgba(11,20,28,.4) 40%, rgba(11,20,28,.92)); }
.page-hero__inner { padding-block: clamp(40px, 10vh, 96px); width: 100%; }
.page-hero h1 { margin-top: 18px; max-width: 18ch; font-weight: 700; }
.page-hero__lead { color: rgba(255,255,255,.85); max-width: 54ch; margin-top: 22px; font-size: clamp(1rem,1.4vw,1.18rem); }
.crumb { font-family: var(--font-mono); font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; color: rgba(255,255,255,.7); }
.crumb a:hover { color: var(--gold); }
.crumb span { color: var(--gold); }

/* ---------- Leadership groups (page) ---------- */
.group-label { display: flex; align-items: center; gap: 16px; margin: clamp(40px,6vw,72px) 0 8px; }
.group-label h2 { font-size: clamp(1.5rem,3vw,2.2rem); font-weight: 300; }
.group-label .rule { flex: 1; height: 1px; background: var(--line); }
.leaders + .group-label { margin-top: clamp(52px,7vw,88px); }

/* ---------- Facilities ---------- */
.fac { display: grid; grid-template-columns: repeat(3,1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); margin-top: 40px; }
.fac__item { background: var(--paper); padding: clamp(26px,3vw,40px); display: flex; flex-direction: column; }
.fac__item .ic { width: 42px; height: 42px; color: var(--blue-ink); }
.fac__item h3 { font-family: var(--font-body); font-weight: 600; font-size: 1.08rem; letter-spacing: 0; margin: 20px 0 10px; }
.fac__item p { font-size: .93rem; color: var(--ink-soft); }
.fac__item .pill { margin-top: 16px; align-self: flex-start; font-family: var(--font-mono); font-size: .62rem; letter-spacing: .12em; text-transform: uppercase; color: var(--blue-ink); border: 1px solid var(--line); border-radius: 100px; padding: 5px 12px; }
.fac__item--link { cursor: pointer; text-decoration: none; transition: background .3s var(--ease); }
.fac__item--link:hover { background: var(--paper-2); }
.fac__item--link:hover h3 { color: var(--blue-ink); }
.fac__open { margin-top: auto; padding-top: 18px; font-family: var(--font-mono); font-size: .7rem; letter-spacing: .1em; text-transform: uppercase; color: var(--blue-ink); display: inline-flex; align-items: center; gap: 8px; }
.fac__open svg { width: 14px; height: 14px; transition: transform .3s var(--ease); }
.fac__item--link:hover .fac__open svg { transform: translateX(4px); }
.section--paper2 .fac__item { background: var(--paper-2); }
/* "And many more" card: full-width bottom row at 3 columns, normal cell at 1-2 columns */
.fac__more { align-items: center; justify-content: center; text-align: center; gap: 6px; grid-column: 1 / -1; }
.fac__more h3 { font-family: var(--font-display); font-weight: 300; font-size: clamp(1.5rem,3vw,2.1rem); color: var(--ink); margin: 0; }
.fac__more p { color: var(--ink-mute); font-size: .92rem; }
.fac__more .ic { color: var(--blue-ink); margin-bottom: 4px; }
@media (max-width: 1024px) { .fac__more { grid-column: auto; } }
.fac--dark .fac__more h3 { color: var(--white); }
.fac--dark .fac__more p { color: var(--on-navy-mute); }
.fac--dark .fac__more .ic { color: var(--gold); }
.fac--dark { background: var(--navy-line); border-color: var(--navy-line); }
.fac--dark .fac__item { background: var(--navy); }
.fac--dark .fac__item h3 { color: var(--white); }
.fac--dark .fac__item p { color: var(--on-navy-mute); }
.fac--dark .fac__item .ic { color: var(--gold); }
.fac--dark .fac__item .pill { color: var(--gold); border-color: var(--navy-line); }
.fac--dark .fac__open { color: var(--gold); }
.fac--dark .fac__item--link:hover { background: var(--navy-2); }
.fac--dark .fac__item--link:hover h3 { color: var(--gold); }

/* ---------- Vision & Mission ---------- */
.vm { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(32px,5vw,80px); margin-top: clamp(36px,4vw,52px); align-items: start; }
.vm__label { font-family: var(--font-mono); font-size: .72rem; letter-spacing: .16em; text-transform: uppercase; color: var(--blue-ink); }
.section--dark .vm__label { color: var(--gold); }
.vm__vision p { font-family: var(--font-display); font-weight: 300; font-size: clamp(1.5rem,2.6vw,2.1rem); line-height: 1.28; margin-top: 16px; max-width: none; }
.vm__vision strong { font-weight: 700; color: var(--ink); }
.mission-list { list-style: none; counter-reset: m; display: grid; gap: 18px; margin-top: 16px; padding: 0; }
.mission-list li { display: grid; grid-template-columns: auto 1fr; gap: 18px; padding-bottom: 18px; border-bottom: 1px solid var(--line); }
.mission-list li:last-child { border-bottom: 0; padding-bottom: 0; }
.mission-list li::before { counter-increment: m; content: counter(m,decimal-leading-zero); font-family: var(--font-mono); font-size: .82rem; color: var(--blue-ink); padding-top: 3px; }
.section--dark .mission-list li { border-bottom-color: var(--navy-line); }
.section--dark .mission-list li::before { color: var(--gold); }

/* ---------- Organogram ---------- */
/* leadership tier: 3 across (Member Rep · Executive Board · Senatorial), Semi-Autonomous below centre */
.org-top { display: grid; grid-template-columns: repeat(3,1fr); gap: clamp(14px,1.6vw,22px); margin-top: clamp(40px,5vw,52px); }
/* Executive Board: own row below the three councils, wider (biggest) and centred */
.org-top .leader--exec { grid-column: 1 / -1; justify-self: center; width: 66%; margin-top: clamp(8px,1vw,16px); }
.org-lead-label { display: flex; align-items: center; gap: 18px; margin: clamp(44px,6vw,72px) 0 0; }
.org-lead-label h3 { font-family: var(--font-display); font-weight: 700; font-size: clamp(1.7rem,3.2vw,2.5rem); letter-spacing: -.01em; }
.org-lead-label .rule { flex: 1; height: 1px; background: var(--line); }
/* department block */
.dept { margin-top: clamp(54px,6vw,78px); }
.dept__title { display: flex; align-items: center; gap: clamp(14px,2vw,22px); flex-wrap: wrap; }
.dept__title .num { display: none; }
.dept__title h3 { font-family: var(--font-display); font-weight: 700; font-size: clamp(1.95rem,4.4vw,3.1rem); letter-spacing: -.015em; line-height: 1.03; }
.dept__rule { height: 2px; background: linear-gradient(90deg, var(--gold) 0 64px, var(--line) 64px); margin: 20px 0 0; border-radius: 2px; }
/* department head — photo tied to the same grid as divisions, spanning 2 division columns
   (keeps a consistent ~2:1 size ratio to a division photo at every breakpoint) */
.dept__lead { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(14px,1.6vw,20px); align-items: center; margin-top: 18px; }
.dept__lead .ph { width: 100%; aspect-ratio: 3/2; border-radius: 10px; overflow: hidden; background: linear-gradient(140deg,#dfe6ec,#c6d1db); display: grid; place-items: center; color: #93a2b0; font-family: var(--font-display); font-weight: 300; font-size: 2.6rem; }
.dept__lead .ph img { width: 100%; height: 100%; object-fit: cover; }
.dept__lead > *:last-child { grid-column: auto; }
.dept__lead .role { font-family: var(--font-mono); font-size: .66rem; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-mute); }
.dept__lead .name { font-weight: 600; font-size: 1.15rem; margin-top: 4px; }
.dept__lead .dept__desc { grid-column: 1 / -1; font-size: .96rem; color: var(--ink-soft); margin-top: 6px; max-width: 82ch; }
.dept__title .num { display: none; }
@media (max-width: 1024px) { .dept__lead { grid-template-columns: repeat(2,1fr); } }
@media (max-width: 860px) {
  .dept__lead { grid-template-columns: 1fr; }
  .dept__lead .ph, .dept__lead > *:last-child { grid-column: auto; }
}

.org { display: grid; grid-template-columns: repeat(2,1fr); gap: clamp(14px,1.6vw,20px); margin-top: clamp(24px,3vw,32px); }
/* division card with photo + head/vice */
.org__card { padding: 0; overflow: hidden; display: flex; flex-direction: column; }
.org__photo { aspect-ratio: 3/2; overflow: hidden; background: linear-gradient(140deg,#dfe6ec,#c6d1db); display: grid; place-items: center; color: #93a2b0; font-family: var(--font-display); font-weight: 300; font-size: 2.2rem; }
.org__photo img { width: 100%; height: 100%; object-fit: cover; }
.org__body { padding: 18px 20px 22px; display: flex; flex-direction: column; flex: 1; }
.org__body h3 { font-family: var(--font-body); font-weight: 600; font-size: 1.02rem; letter-spacing: 0; margin: 0 0 12px; }
.org__leads { display: grid; gap: 5px; margin-bottom: 14px; }
.org__leads > div { display: grid; grid-template-columns: minmax(42px,auto) 1fr; gap: 10px; align-items: baseline; }
.org__leads .role { font-family: var(--font-mono); font-size: .58rem; letter-spacing: .08em; text-transform: uppercase; color: var(--blue-ink); }
.org__leads .name { font-size: .9rem; font-weight: 500; color: var(--ink); }
.org__body p { font-size: .86rem; color: var(--ink-soft); margin-top: auto; padding-top: 4px; }
@media (max-width: 860px) {
  .org-top { grid-template-columns: 1fr; }
  .org-top .leader--exec { width: 100%; }
}
.org__card { background: var(--paper); border: 1px solid var(--line); padding: clamp(22px,2.4vw,28px); transition: border-color .3s var(--ease), transform .3s var(--ease); }
.org__card:hover { border-color: var(--blue-ink); transform: translateY(-3px); }
.org__num { font-family: var(--font-mono); font-size: .74rem; color: var(--blue-ink); }
.org__card h3 { font-family: var(--font-body); font-weight: 600; font-size: 1.08rem; letter-spacing: 0; margin: 12px 0 8px; }
.org__card p { font-size: .9rem; color: var(--ink-soft); }

/* ---------- Meaning list (logo / jacket) ---------- */
.meaning { display: grid; gap: 0; margin: 0; }
.meaning > div { padding: 22px 0; border-top: 1px solid var(--line); }
.meaning > div:last-child { border-bottom: 1px solid var(--line); }
.meaning dt { font-family: var(--font-mono); font-size: .82rem; letter-spacing: .1em; text-transform: uppercase; color: var(--blue-ink); }
.meaning dd { margin: 10px 0 0; color: var(--ink-soft); font-size: 1.14rem; line-height: 1.5; }
.section--dark .meaning > div { border-top-color: var(--navy-line); }
.section--dark .meaning > div:last-child { border-bottom-color: var(--navy-line); }
.section--dark .meaning dt { color: var(--gold); }
.section--dark .meaning dd { color: var(--on-navy-mute); }

/* ---------- Foundational documents ---------- */
.docs { display: grid; grid-template-columns: repeat(3,1fr); gap: clamp(16px,2vw,22px); margin-top: clamp(40px,5vw,52px); }
.doc { display: flex; flex-direction: column; background: var(--paper); border: 1px solid var(--line); padding: clamp(26px,3vw,36px); }
.doc .ic { width: 40px; height: 40px; color: var(--blue-ink); }
.doc__img { aspect-ratio: 3/4; background: var(--white); border: 1px solid var(--line); overflow: hidden; display: grid; place-items: center; margin-bottom: 4px; }
.doc__img img { width: 100%; height: 100%; object-fit: contain; }
.doc h3 { font-family: var(--font-body); font-weight: 600; font-size: 1.2rem; letter-spacing: 0; margin: 20px 0 6px; }
.doc .full { font-family: var(--font-mono); font-size: .64rem; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-mute); }
.doc p { font-size: .96rem; color: var(--ink-soft); margin-top: 14px; }

/* ---------- Chairperson roster ---------- */
.roster { display: grid; grid-template-columns: repeat(auto-fill, minmax(158px,1fr)); gap: clamp(16px,1.8vw,24px); margin-top: clamp(40px,5vw,52px); }
.chair__photo { aspect-ratio: 3/4; overflow: hidden; background: linear-gradient(140deg,#dfe6ec,#c6d1db); display: grid; place-items: center; }
.chair__photo svg { width: 38%; height: auto; color: #a4b1bd; }
.chair__photo img { width: 100%; height: 100%; object-fit: cover; }
.chair__year { font-family: var(--font-mono); font-size: .72rem; color: var(--blue-ink); margin-top: 12px; letter-spacing: .02em; }
.chair__name { font-weight: 500; font-size: .92rem; margin-top: 4px; line-height: 1.3; }
.roster__note { margin-top: clamp(28px,4vw,40px); color: var(--ink-mute); font-size: .9rem; font-style: italic; }

/* Foundations: Purpose (tall) beside stacked Foundation + Nature */
#foundations .values { grid-template-columns: 1fr 1fr; }
#foundations .value:first-child { grid-row: span 2; }
@media (max-width: 860px) {
  #foundations .values { grid-template-columns: 1fr; }
  #foundations .value:first-child { grid-row: auto; }
}

/* ---------- Reveal animation baseline ---------- */
.reveal { opacity: 0; transform: translateY(28px); }
.is-visible .reveal, .reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce){ .reveal { opacity: 1 !important; transform: none !important; } }

/* ---------- Micro-interactions ---------- */
/* image hover zoom on people/photo cards */
.org__photo img, .leader__ph img, .chair__photo img, .dept__lead .ph img { transition: transform .6s var(--ease); }
.org__card:hover .org__photo img,
.leader:hover .leader__ph img,
.chair:hover .chair__photo img { transform: scale(1.05); }
/* tactile press on buttons */
.btn:active { transform: scale(.97); }
.btn--gold:active, .btn--gold:hover:active { transform: translateY(-2px) scale(.97); }
@media (prefers-reduced-motion: reduce){
  .org__photo img, .leader__ph img, .chair__photo img, .dept__lead .ph img { transition: none; }
  .org__card:hover .org__photo img, .leader:hover .leader__ph img, .chair:hover .chair__photo img { transform: none; }
  .btn:active, .btn--gold:active { transform: none; }
}

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1024px){
  .nav { display: none; }
  .burger { display: flex; }
  .header .btn--nav { display: none; }
  .divisi { grid-template-columns: repeat(2,1fr); }
  .divisi__cell:nth-child(2n) { border-right: 0; }
  .divisi__cell { border-bottom: 1px solid var(--navy-line); }
  .gov { grid-template-columns: repeat(2,1fr); }
  .gov__cell:nth-child(2n) { border-right: 0; }
  .gov__cell { border-bottom: 1px solid var(--navy-line); }
  .sig { grid-template-columns: repeat(2,1fr); }
  .leaders { grid-template-columns: repeat(2,1fr); }
  .fac { grid-template-columns: repeat(2,1fr); }
  .org { grid-template-columns: repeat(2,1fr); }
  .stats__grid { grid-template-columns: repeat(2,1fr); }
}
@media (max-width: 860px){
  .split { grid-template-columns: 1fr; }
  .split--reverse .split__media { order: 0; }
  .section-head--split { grid-template-columns: 1fr; }
  .values { grid-template-columns: 1fr; }
  .events { grid-template-columns: 1fr; }
  .news { grid-template-columns: 1fr; }
  .awards { grid-template-columns: 1fr; }
  .fac { grid-template-columns: 1fr; }
  .docs { grid-template-columns: 1fr; }
  .org { grid-template-columns: 1fr; }
  .vm { grid-template-columns: 1fr; }
  .contact__grid { grid-template-columns: 1fr; }
  .footer__top { grid-template-columns: 1fr; gap: 40px; }
  .gallery { columns: 2; }
}
@media (max-width: 560px){
  .divisi { grid-template-columns: 1fr; }
  .divisi__cell { border-right: 0; }
  .gov { grid-template-columns: 1fr; }
  .gov__cell { border-right: 0; }
  .sig { grid-template-columns: 1fr; }
  .leaders { grid-template-columns: 1fr 1fr; }
  .gallery { columns: 1; }
  .hero__row { flex-direction: column; align-items: flex-start; }
  .hero__cta { width: 100%; }
  .hero__cta .btn { flex: 1; justify-content: center; }
  .stats__grid { grid-template-columns: 1fr; }
}
@media (max-width: 480px){
  .display { font-size: clamp(1.95rem, 8.4vw, 2.7rem); }
  .contact__big { font-size: clamp(1.7rem, 8vw, 2.2rem); }
}
