﻿/* ═══════════════════════════════════════════════════════════
   RIAF — Structural Redesign v3
   Editorial split layouts · Tabbed domains · Dark/light sections
   ═══════════════════════════════════════════════════════════ */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&family=Manrope:wght@400;500;600;700;800;900&display=swap');

/* ══ DESIGN TOKENS ══ */
:root {
  --brand:        #1e3a8a;
  --brand-light:  #3b5bd6;
  --brand-deep:   #0a1540;
  --brand-hero:   #05091e;
  --teal:         #0d9488;
  --teal-light:   #2dd4bf;
  --coral:        #e86e38;
  --gold:         #f59e0b;
  --violet:       #7c3aed;
  --rose:         #e11d6a;

  --bg:           #eef2fc;
  --surface:      #ffffff;
  --surface-2:    #f3f7ff;
  --surface-3:    #e8effd;

  --ink:          #0b1636;
  --muted:        #4a5a7a;
  --faint:        #8fa4c8;

  --line:         rgba(30, 58, 138, 0.11);
  --line-strong:  rgba(30, 58, 138, 0.20);

  --shadow-sm:    0 4px 20px rgba(15, 28, 63, 0.10);
  --shadow-md:    0 12px 40px rgba(15, 28, 63, 0.14);
  --shadow-lg:    0 24px 64px rgba(15, 28, 63, 0.20);
  --shadow-xl:    0 40px 90px rgba(15, 28, 63, 0.26);

  --r-sm:  8px;
  --r-md:  14px;
  --r-lg:  22px;
  --r-xl:  32px;
  --r-2xl: 48px;

  --nav-h: 78px;

  --font-sans:    'Inter', system-ui, -apple-system, sans-serif;
  --font-display: 'Manrope', 'Inter', sans-serif;
}

/* ══ RESET ══ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; overflow-x: hidden; -webkit-text-size-adjust: 100%; scroll-padding-top: var(--nav-h); }
body {
  font-family: var(--font-sans);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; }
button, input, select, textarea { font: inherit; }
ul, ol { list-style: none; }
::-webkit-scrollbar { width: 5px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--brand); border-radius: 99px; }
::-webkit-scrollbar-thumb:hover { background: var(--brand-light); }
::selection { background: rgba(30,58,138,0.14); color: var(--brand-deep); }

/* ══ LAYOUT ══ */
.shell { width: min(1200px, 94vw); margin-inline: auto; }
main { overflow-x: hidden;overflow-y: hidden; }


/* ══ TYPOGRAPHY ══ */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  line-height: 1.12;
  letter-spacing: -0.025em;
  color: var(--ink);
}
h1 { font-size: clamp(2.8rem, 6vw, 5rem); font-weight: 900; }
h2 { font-size: clamp(1.9rem, 3.5vw, 3.2rem); font-weight: 800; }
h3 { font-size: 1.22rem; font-weight: 700; }
h4 { font-size: 1.05rem; font-weight: 700; }
p  { line-height: 1.78; color: var(--muted); }

/* Section kicker */
.section-kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: linear-gradient(135deg, rgba(30,58,138,0.09), rgba(59,91,214,0.05));
  border: 1.5px solid rgba(30,58,138,0.18);
  border-radius: 99px;
  padding: 0.4rem 1.1rem;
  font-size: 0.69rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--brand);
  margin-bottom: 1rem;
}
.section-kicker:empty { display: none; }
.section-kicker::before {
  content: '';
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--brand-light);
  flex-shrink: 0;
}
.kicker-light {
  background: rgba(255,255,255,0.12);
  border-color: rgba(255,255,255,0.25);
  color: rgba(255,255,255,0.9);
}
.kicker-light::before { background: rgba(255,255,255,0.7); }

/* Section intro block */
.section-intro { max-width: 680px; margin-bottom: 3.5rem; }
.section-intro h2 { color: var(--ink); margin-bottom: 0.75rem; }
.section-intro p { color: var(--muted); font-size: 1.08rem; }
.section-intro.centered { text-align: center; margin-inline: auto; }

/* ══ BUTTONS ══ */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  padding: 0.85rem 2rem;
  border-radius: 99px;
  font-weight: 700; font-size: 0.93rem; letter-spacing: 0.01em;
  cursor: pointer; border: none;
  transition: all 0.3s cubic-bezier(0.4,0,0.2,1);
  white-space: nowrap; position: relative; overflow: hidden;
}
.btn span { display: inline-block; }
.btn-primary {
  background: linear-gradient(135deg, var(--brand-light), var(--brand));
  color: #fff;
  box-shadow: 0 8px 28px rgba(30,58,138,0.28);
}
.btn-primary:hover {
  background: linear-gradient(135deg, #4a6fe8, #1e3a8a);
  transform: translateY(-2px);
  box-shadow: 0 14px 40px rgba(30,58,138,0.38);
}
.btn-ghost {
  background: rgba(255,255,255,0.1);
  color: #fff;
  border: 1.5px solid rgba(255,255,255,0.28);
}
.btn-ghost:hover {
  background: rgba(255,255,255,0.18);
  transform: translateY(-2px);
  border-color: rgba(255,255,255,0.5);
}
.btn-white {
  background: #fff;
  color: var(--brand);
  box-shadow: 0 8px 24px rgba(0,0,0,0.15);
}
.btn-white:hover {
  background: var(--surface-2);
  transform: translateY(-2px);
  box-shadow: 0 14px 36px rgba(0,0,0,0.2);
}
.btn-text-link {
  display: inline-flex; align-items: center; gap: 0.4rem;
  font-weight: 700; color: var(--brand-light); font-size: 0.9rem;
  transition: gap 0.2s, color 0.2s; white-space: nowrap;
}
.btn-text-link:hover { gap: 0.8rem; color: var(--brand); }

/* ══ NAVIGATION ══ */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 900;
  height: var(--nav-h);
}
.site-header::before {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(90deg, #060d28 0%, #0e1e52 50%, #060d28 100%);
  border-bottom: 1px solid rgba(255,255,255,0.07);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transition: box-shadow 0.25s;
  will-change: transform, opacity;
  transform: translateZ(0);
}
.site-header.scrolled::before {
  box-shadow: 0 4px 32px rgba(0,0,0,0.4);
  background: linear-gradient(90deg, #080f30 0%, #112268 50%, #080f30 100%);
}
.nav-inner {
  position: relative; z-index: 1;
  display: flex; align-items: center; gap: 1.5rem;
  height: var(--nav-h);
}
.brandmark {
  display: flex; align-items: center; gap: 0.75rem;
  flex-shrink: 0;
}
.brand-logo {
  width: 120px; height: 52px;
  object-fit: contain; flex-shrink: 0;
}
.brand-name {
  font-family: var(--font-display); font-weight: 800;
  font-size: 0.73rem; line-height: 1.35;
  color: rgba(255,255,255,0.95);
  max-width: 140px;
}
.primary-nav {
  display: flex; align-items: center; gap: 0.15rem;
  margin-inline: auto;
}
.nav-link {
  position: relative;
  padding: 0.5rem 0.9rem;
  font-size: 0.87rem; font-weight: 600;
  color: rgba(255,255,255,0.78);
  border-radius: var(--r-sm);
  transition: color 0.2s, background 0.2s;
  white-space: nowrap;
}
.nav-link::after {
  content: '';
  position: absolute; left: 50%; bottom: 4px;
  width: 0; height: 2px;
  background: var(--teal-light);
  border-radius: 2px;
  transform: translateX(-50%);
  transition: width 0.3s;
}
.nav-link:hover, .nav-link.is-active { color: #fff; background: rgba(255,255,255,0.1); }
.nav-link:hover::after, .nav-link.is-active::after { width: 60%; }
.nav-right { display: flex; align-items: center; gap: 1rem; flex-shrink: 0; }
.nav-cta {
  padding: 0.55rem 1.3rem;
  background: var(--brand-light); color: #fff;
  border-radius: 99px;
  font-size: 0.85rem; font-weight: 700;
  transition: background 0.2s, transform 0.2s;
}
.nav-cta:hover { background: #4a6fe8; transform: translateY(-1px); }
.menu-toggle {
  display: none;
  flex-direction: column; gap: 5px;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: var(--r-sm);
  cursor: pointer; padding: 8px;
}
.menu-toggle span {
  display: block; width: 22px; height: 2px;
  background: #fff; border-radius: 99px;
  transition: all 0.3s;
}
.menu-toggle.menu-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-toggle.menu-open span:nth-child(2) { opacity: 0; }
.menu-toggle.menu-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ══ HERO ══ */
.hero {
  position: relative;
  min-height: 80svh;
  background: var(--brand-hero);
  overflow: hidden;
  display: flex; flex-direction: column;
}
.hero-mesh { position: absolute; inset: 0; pointer-events: none; will-change: transform, opacity; }
.mesh-orb {
  position: absolute; border-radius: 50%;
  filter: blur(40px); opacity: 0.55;
  will-change: transform, opacity;
}
.mesh-orb--1 {
  width: 70vw; height: 70vw;
  top: -20%; left: -10%;
  background: radial-gradient(circle, rgba(30,58,138,0.9) 0%, transparent 70%);
}
.mesh-orb--2 {
  width: 45vw; height: 45vw;
  bottom: -5%; right: -5%;
  background: radial-gradient(circle, rgba(13,148,136,0.55) 0%, transparent 70%);
}
.mesh-orb--3 {
  width: 28vw; height: 28vw;
  top: 15%; right: 28%;
  background: radial-gradient(circle, rgba(124,58,237,0.45) 0%, transparent 70%);
}
.mesh-grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.025) 1px, transparent 1px);
  background-size: 64px 64px;
}
.hero-layout {
  flex: 1;
  display: grid; grid-template-columns: 1fr 1fr;
  align-items: center; gap: 3rem;
  padding: calc(var(--nav-h) + 4rem) 4vw 4rem;
  width: min(1300px, 100%); margin-inline: auto;
  position: relative; z-index: 1;
}
.hero-left { max-width: 620px; }
.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 0.6rem;
  font-size: 0.74rem; font-weight: 700; letter-spacing: 0.14em;
  text-transform: uppercase; color: rgba(255,255,255,0.55);
  margin-bottom: 1.5rem;
}
.eyebrow-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--teal-light);
  box-shadow: 0 0 10px var(--teal-light);
  animation: dot-pulse 2s ease-in-out infinite;
  flex-shrink: 0;
}
@keyframes dot-pulse {
  0%,100% { box-shadow: 0 0 6px var(--teal-light); }
  50% { box-shadow: 0 0 20px var(--teal-light), 0 0 36px rgba(45,212,191,0.4); }
}
.hero h1 { color: #fff; margin-bottom: 1.5rem; }
.hero-accent {
  display: block;
  background: linear-gradient(135deg, #60a5fa 0%, #a78bfa 50%, #34d399 100%);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text; font-style: italic;
}
.hero-subtext { color: rgba(255,255,255,0.62); font-size: 1.1rem; margin-bottom: 2.5rem; line-height: 1.75; }
.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; }

/* Hero visual – orbital ring */
.hero-right { display: flex; align-items: center; justify-content: center; }
.hero-visual {
  position: relative;
  width: 440px; height: 440px;
  display: flex; align-items: center; justify-content: center;
  will-change: transform;
  transform: translateZ(0);
}
.hv-ring {
  position: absolute; border-radius: 50%;
  border: 1.5px solid rgba(255,255,255,0.08);
  will-change: transform;
}
.hv-ring--outer {
  width: 100%; height: 100%;
  animation: spin-cw 45s linear infinite;
}
.hv-ring--outer::after {
  content: '';
  position: absolute; top: -5px; left: 50%;
  width: 10px; height: 10px; border-radius: 50%;
  background: var(--brand-light);
  box-shadow: 0 0 18px var(--brand-light), 0 0 32px rgba(59,91,214,0.4);
}
.hv-ring--inner {
  width: 68%; height: 68%;
  border-color: rgba(255,255,255,0.05);
  animation: spin-cw 28s linear infinite reverse;
}
.hv-ring--inner::after {
  content: '';
  position: absolute; bottom: -5px; right: 8%;
  width: 10px; height: 10px; border-radius: 50%;
  background: var(--teal-light);
  box-shadow: 0 0 18px var(--teal-light);
}
@keyframes spin-cw { to { transform: rotate(360deg); } }
.hv-logo-wrap {
  position: absolute;
  width: 96px; height: 96px;
  background: rgba(255,255,255,0.07);
  border: 1.5px solid rgba(255,255,255,0.14);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
}
.hv-logo-wrap img { width: 64px; height: 64px; object-fit: contain; opacity: 0.9; }
.hv-stat {
  position: absolute;
  display: flex; flex-direction: column; align-items: center;
  background: rgba(255,255,255,0.07);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: var(--r-lg);
  padding: 1rem 1.4rem; text-align: center; color: #fff;
}
.hv-stat strong {
  font-family: var(--font-display); font-size: 2rem; font-weight: 900; line-height: 1;
}
.hv-stat sup { font-size: 1rem; }
.hv-stat span { font-size: 0.7rem; color: rgba(255,255,255,0.55); margin-top: 0.2rem; white-space: nowrap; }
.hv-stat--a { top: 5%; left: -2%; }
.hv-stat--b { bottom: 5%; right: -2%; }
.hv-stat--c { top: 50%; right: -8%; transform: translateY(-50%); }

.hero-scroll-cue {
  position: absolute; bottom: 2rem; left: 50%; transform: translateX(-50%); z-index: 2;
}
.hero-scroll-cue span {
  display: block; width: 24px; height: 40px;
  border: 2px solid rgba(255,255,255,0.28); border-radius: 12px;
  position: relative;
}
.hero-scroll-cue span::after {
  content: '';
  position: absolute; top: 6px; left: 50%; transform: translateX(-50%);
  width: 4px; height: 8px; background: rgba(255,255,255,0.6); border-radius: 2px;
  animation: scroll-cue 2s ease-in-out infinite;
}
@keyframes scroll-cue {
  0% { opacity: 1; transform: translateX(-50%) translateY(0); }
  80% { opacity: 0; transform: translateX(-50%) translateY(12px); }
  100% { opacity: 0; }
}

/* ══ TICKER ══ */
.ticker-wrap {
  background: var(--brand);
  overflow: hidden; padding: 0.8rem 0;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.ticker-track {
  display: flex; align-items: center; gap: 2.5rem;
  width: max-content;
  animation: ticker-scroll 32s linear infinite;
  white-space: nowrap;
}
.ticker-track span {
  font-size: 0.75rem; font-weight: 700; letter-spacing: 0.12em;
  text-transform: uppercase; color: rgba(255,255,255,0.72);
}
.tdot {
  width: 5px; height: 5px; border-radius: 50%;
  background: rgba(255,255,255,0.28); flex-shrink: 0;
}
@keyframes ticker-scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ══ ABOUT SECTION ══ */
.about-section { padding: 0 0 5.5rem; }
.about-stats-bar {
  background: var(--surface);
  border-bottom: 1px solid var(--line);
  display: flex; align-items: stretch; justify-content: center;
  flex-wrap: wrap;
}
.about-stat {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center; padding: 2.5rem 3.5rem;
  flex: 1; min-width: 180px;
}
.about-stat strong {
  font-family: var(--font-display);
  font-size: clamp(1.7rem, 3vw, 2.6rem); font-weight: 900;
  color: var(--brand); line-height: 1; margin-bottom: 0.35rem;
  display: block;
}
.about-stat sup { font-size: 1.2rem; }
.about-stat span { font-size: 0.78rem; color: var(--muted); font-weight: 500; line-height: 1.4; max-width: 130px; }
.about-stat-div { width: 1px; background: var(--line-strong); align-self: stretch; margin: 1rem 0; }
.about-body {
  display: grid; grid-template-columns: auto 1fr;
  gap: 5rem; align-items: start;
  padding-top: 4.5rem;
}
.about-label { padding-top: 0.4rem; }
.about-text h2 { color: var(--ink); margin-bottom: 0.9rem; }
.about-text p { font-size: 1.08rem; }

/* ══ RESEARCH DOMAINS — TABBED ══ */
.domains-section {
  padding: 6.5rem 0;
  position: relative;
  overflow: hidden;
  background: linear-gradient(165deg, #050c22 0%, #0a1a47 48%, #081a38 100%);
}
.domains-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 10% 8%, rgba(56, 189, 248, 0.14), transparent 38%),
    radial-gradient(circle at 92% 82%, rgba(16, 185, 129, 0.12), transparent 34%);
  pointer-events: none;
}
.domains-section .shell {
  position: relative;
  z-index: 1;
}
.domains-section .section-intro h2 { color: #fff; }
.domains-section .section-intro p { color: rgba(255,255,255,0.58); }
.domain-tab-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-bottom: 2.25rem;
  padding: 0.7rem;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.11);
  border-radius: 18px;
  backdrop-filter: blur(12px);
}
.dtab {
  padding: 0.62rem 1.25rem;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.16);
  border-radius: 12px;
  color: rgba(255,255,255,0.72);
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.01em;
  cursor: pointer;
  transition: transform 0.22s, background 0.22s, border-color 0.22s, color 0.22s, box-shadow 0.22s;
}
.dtab:hover {
  background: rgba(255,255,255,0.1);
  color: #fff;
  transform: translateY(-1px);
}
.dtab.is-active {
  background: linear-gradient(135deg, #4f8bff 0%, #3b5bd6 60%, #2743a9 100%);
  border-color: rgba(146, 180, 255, 0.85);
  color: #fff;
  box-shadow: 0 8px 24px rgba(59,91,214,0.4), inset 0 1px 0 rgba(255,255,255,0.26);
}
.domain-panels { position: relative; min-height: 280px; }
.domain-panel {
  display: none;
  grid-template-columns: 108px 1fr;
  gap: 2.4rem;
  align-items: start;
  background:
    linear-gradient(145deg, rgba(255,255,255,0.08), rgba(255,255,255,0.02));
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: 24px;
  padding: 2.5rem;
  box-shadow: 0 20px 42px rgba(0, 8, 30, 0.32);
  animation: dp-in 0.35s cubic-bezier(0.22,1,0.36,1);
}
.domain-panel.is-active { display: grid; }
@keyframes dp-in {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: translateY(0); }
}
.dp-icon {
  width: 82px;
  height: 82px;
  background: linear-gradient(145deg, rgba(255,255,255,0.1), rgba(255,255,255,0.04));
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: var(--r-lg);
  display: flex; align-items: center; justify-content: center;
  color: var(--c, rgba(255,255,255,0.8));
  transition: transform 0.25s, background 0.25s, border-color 0.25s, color 0.25s;
  flex-shrink: 0;
}
.dp-icon svg { width: 36px; height: 36px; }
.domain-panel:hover .dp-icon {
  background: var(--c, var(--brand-light));
  border-color: rgba(255,255,255,0.42);
  color: #fff;
  transform: translateY(-2px);
}
.dp-content h3 {
  color: #fff;
  font-size: clamp(1.35rem, 2.2vw, 1.72rem);
  margin-bottom: 0.9rem;
}
.dp-content p {
  color: rgba(255,255,255,0.78);
  line-height: 1.85;
  margin-bottom: 0;
  max-width: 72ch;
}
.dp-tags { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.dp-tags li {
  padding: 0.3rem 0.9rem;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 99px;
  font-size: 0.78rem; font-weight: 600;
  color: rgba(255,255,255,0.7);
}

/* ══ MISSION & VISION ══ */
.mv-section { padding: 0; }
.mv-split { display: grid; grid-template-columns: 1fr 1fr; align-items: stretch; }
.mv-half { display: flex; align-items: flex-start; padding: 7rem 6rem; }
.mv-mission { background: linear-gradient(145deg, #0c1644 0%, #1a3490 100%); }
.mv-vision { background: linear-gradient(145deg, #0e1e52 0%, #1e3a8a 100%); }
.mv-inner { max-width: 460px; width: 100%; }
.mv-half h2 { color: #fff; margin-bottom: 1rem; }
.mv-half p { color: rgba(255,255,255,0.65); margin-bottom: 1.75rem; }
.mv-list { display: flex; flex-direction: column; gap: 0.7rem; }
.mv-list li {
  display: flex; align-items: center; gap: 0.75rem;
  color: rgba(255,255,255,0.76); font-size: 0.93rem; font-weight: 500;
}
.mv-list li::before {
  content: '';
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--teal-light); flex-shrink: 0;
}

/* ══ DIRECTOR SECTION ══ */
.director-section {
  padding: 7.5rem 0;
  background: var(--surface);
}
.director-layout {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 6rem; align-items: center;
}
.director-text .section-kicker { margin-bottom: 1rem; }
.director-text h2 { color: var(--ink); margin-bottom: 2rem; }
.director-quote {
  border-left: 3px solid var(--brand-light);
  padding-left: 1.5rem; margin-bottom: 2rem;
  font-size: 1.1rem; color: var(--muted); line-height: 1.82; font-style: normal;
}
.director-sig { display: flex; flex-direction: column; gap: 0.2rem; }
.director-sig strong { font-weight: 800; color: var(--ink); font-size: 1rem; }
.director-sig span { font-size: 0.85rem; color: var(--brand-light); font-weight: 600; }
.director-portrait { display: flex; justify-content: center; }
.portrait-frame {
  position: relative;
  overflow: visible;
  width: min(360px, 100%);
  aspect-ratio: 3 / 4;
}
.portrait-frame img {
  width: 100%; height: 100%; object-fit: cover; object-position: center top;
  border-radius: var(--r-xl);
  box-shadow: var(--shadow-xl);
}
.portrait-badge {
  position: absolute; bottom: -1.5rem; right: -1.5rem;
  background: var(--brand); color: #fff;
  padding: 0.9rem 1.4rem;
  border-radius: var(--r-md);
  display: flex; align-items: center; gap: 0.6rem;
  font-size: 0.82rem; font-weight: 700;
  box-shadow: var(--shadow-md);
}
.portrait-badge svg { width: 18px; height: 18px; }

/* ══ RESEARCH LIBRARY ══ */
.research-section {
  padding: 7.5rem 0;
  background: var(--bg);
}
.section-head-row {
  display: flex; align-items: flex-end; justify-content: space-between;
  gap: 2rem; margin-bottom: 3rem; flex-wrap: wrap;
}
.section-head-row h2 { color: var(--ink); margin-bottom: 0; }
.research-grid {
  display: grid; grid-template-columns: 1.4fr 1fr;
  gap: 2rem; align-items: stretch;
}
.research-featured {
  background: linear-gradient(145deg, var(--brand-deep), #162f7a);
  border-radius: var(--r-xl); padding: 3rem;
  display: flex; flex-direction: column; gap: 1rem;
}
.rf-tag {
  display: inline-block;
  padding: 0.3rem 0.9rem;
  background: rgba(255,255,255,0.15);
  border-radius: 99px;
  font-size: 0.72rem; font-weight: 700;
  letter-spacing: 0.1em; text-transform: uppercase;
  color: rgba(255,255,255,0.85); align-self: flex-start;
}
.research-featured h3 { color: #fff; font-size: 1.5rem; line-height: 1.25; }
.research-featured p { color: rgba(255,255,255,0.65); }
.research-featured .btn-text-link { color: rgba(255,255,255,0.82); margin-top: auto; }
.research-featured .btn-text-link:hover { color: #fff; }
.research-list { display: flex; flex-direction: column; gap: 1rem; }
.rl-item {
  background: var(--surface);
  border: 1.5px solid var(--line);
  border-radius: var(--r-lg); padding: 1.75rem 2rem;
  display: flex; flex-direction: column; gap: 0.6rem;
  transition: box-shadow 0.25s, transform 0.25s, border-color 0.25s;
  flex: 1;
}
.rl-item:hover {
  box-shadow: var(--shadow-md); transform: translateY(-2px);
  border-color: rgba(30,58,138,0.28);
}
.rl-tag {
  display: inline-block;
  padding: 0.25rem 0.75rem;
  background: rgba(30,58,138,0.08);
  border-radius: 99px;
  font-size: 0.7rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.08em;
  color: var(--brand); align-self: flex-start;
}
.rl-item h4 { color: var(--ink); line-height: 1.4; }
.rl-link { font-size: 0.82rem; font-weight: 700; color: var(--brand-light); align-self: flex-start; }
.rl-link:hover { text-decoration: underline; }

/* ══ TEAM SECTION ══ */
.team-section { padding: 7.5rem 0; background: var(--surface-2); }
.team-section .section-intro.centered { text-align: center; margin-inline: auto; margin-bottom: 2.5rem; }
.team-block { margin-bottom: 4rem; }
.team-block:last-child { margin-bottom: 0; }
.team-block--hidden { display: none; }
.team-block-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 2rem;
}
.team-block-title {
  font-family: var(--font-display);
  font-size: 0.72rem; font-weight: 900;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--brand);
  padding-bottom: 1.25rem;
  border-bottom: 1.5px solid var(--line); margin-bottom: 2rem;
}
.team-block-header .team-block-title {
  margin-bottom: 0;
}
.team-row { display: flex; flex-wrap: wrap; gap: 1.5rem; justify-content: center; }
.team-row--grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.5rem;
  width: 100%;
  max-width: 1180px;
  margin-inline: auto;
}
.team-card {
  background: var(--surface);
  border: 1.5px solid var(--line);
  border-radius: var(--r-lg); padding: 2rem 1.5rem;
  display: flex; flex-direction: column; align-items: center;
  text-align: center; gap: 1rem;
  transition: box-shadow 0.25s, transform 0.25s, border-color 0.25s;
  flex: 1; min-width: 170px;
}
.team-card:hover {
  box-shadow: var(--shadow-md); transform: translateY(-5px);
  border-color: rgba(30,58,138,0.28);
}
.team-card--dynamic { justify-content: flex-start; }
.tc-avatar {
  width: 96px; height: 96px; border-radius: 50%; overflow: hidden;
  border: 3px solid var(--surface-3);
  box-shadow: 0 4px 16px rgba(15,28,63,0.12);
}
.tc-avatar img { width: 100%; height: 100%; object-fit: cover; }
.team-avatar--initials {
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-family: var(--font-display);
  font-size: 1.55rem;
  font-weight: 900;
  letter-spacing: 0.08em;
}
.tc-info h4 { color: var(--ink); font-size: 1rem; font-weight: 700; line-height: 1.3; }
.tc-role {
  display: inline-block;
  margin-top: 0.4rem;
  font-size: 0.75rem; font-weight: 700;
  letter-spacing: 0.05em; text-transform: uppercase;
  color: var(--brand-light);
  background: rgba(59,91,214,0.08);
  padding: 0.25rem 0.7rem; border-radius: 999px;
}
.tc-bio { font-size: 0.82rem; color: var(--muted); line-height: 1.5; margin-top: 0.5rem; }
.team-card--dynamic .tc-info {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}
.team-card--dynamic .tc-role {
  margin-top: 0;
}
.team-contact {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  font-size: 0.82rem;
  color: var(--muted);
}
.team-contact a {
  color: var(--brand-light);
  font-weight: 700;
  word-break: break-word;
}
.team-empty-state {
  grid-column: 1 / -1;
  text-align: center;
  padding: 2rem;
  background: var(--surface);
  border: 1.5px dashed var(--line-strong);
  border-radius: var(--r-lg);
  color: var(--muted);
}

.team-row--advisory { justify-content: flex-start; }
.advisory-card {
  width: min(100%, 980px);
  display: grid;
  grid-template-columns: 260px 1fr;
  align-items: stretch;
  gap: 0;
  text-align: left;
  padding: 0;
  border-radius: 26px;
  overflow: hidden;
  border: 1px solid rgba(30,58,138,0.16);
  box-shadow: 0 22px 50px rgba(13,25,59,0.12);
  background: #ffffff;
}
.advisory-media {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.9rem;
  padding: 1.6rem 1.2rem;
  background:
    radial-gradient(circle at 20% 25%, rgba(120,186,255,0.22), transparent 55%),
    linear-gradient(160deg, #0b1e56 0%, #1e3a8a 58%, #0e7490 100%);
  border-right: 1px solid rgba(255,255,255,0.12);
}
.advisory-avatar {
  width: 132px;
  height: 132px;
  border-width: 3px;
  border-color: rgba(255,255,255,0.8);
  box-shadow: 0 10px 26px rgba(2,10,34,0.42);
}
.advisory-name {
  font-size: 1.02rem;
  font-weight: 800;
  color: #ffffff;
  text-align: center;
  line-height: 1.35;
  letter-spacing: 0.01em;
}
.advisory-panel-label {
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.82);
  border: 1px solid rgba(255,255,255,0.28);
  border-radius: 999px;
  padding: 0.26rem 0.72rem;
}
.advisory-info {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.advisory-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0.55rem;
  padding: 1.55rem 1.8rem;
  background:
    linear-gradient(180deg, rgba(248,251,255,0.96), rgba(255,255,255,1));
}
.advisory-info .tc-role { margin-top: 0; }
.advisory-cred {
  display: inline-flex;
  align-items: center;
  margin-bottom: 0.2rem;
}
.advisory-detail {
  font-size: 1rem;
  color: var(--ink);
  font-weight: 700;
  line-height: 1.65;
  margin-top: 0;
  max-width: 62ch;
}
.advisory-info .tc-bio {
  margin-top: 0.35rem;
  font-size: 0.9rem;
  line-height: 1.72;
  max-width: 66ch;
}

/* ══ CONSULTANCY ══ */
.consultancy-section { padding: 7.5rem 0; background: var(--bg); }
.consultancy-layout {
  display: grid; grid-template-columns: 360px 1fr;
  gap: 7rem; align-items: start;
}
.consultancy-intro { position: sticky; top: calc(var(--nav-h) + 2rem); }
.consultancy-intro h2 { color: var(--ink); margin-bottom: 1rem; }
.consultancy-intro p { margin-bottom: 2rem; }
.consultancy-services { display: flex; flex-direction: column; }
.cs-item {
  display: grid; grid-template-columns: 52px 1fr;
  gap: 1.5rem; align-items: start;
  padding: 1.75rem 0;
  border-bottom: 1px solid var(--line);
  transition: padding-left 0.25s;
}
.cs-item:first-child { border-top: 1px solid var(--line); }
.cs-item:hover { padding-left: 0.75rem; }
.cs-num {
  font-family: var(--font-display); font-size: 0.75rem; font-weight: 900;
  color: var(--brand-light); letter-spacing: 0.06em; padding-top: 0.25rem;
}
.cs-item h4 { color: var(--ink); margin-bottom: 0.4rem; }
.cs-item p { font-size: 0.9rem; }

/* ══ IMPACT SECTION ══ */
.impact-section {
  padding: 7.5rem 0;
  background: linear-gradient(165deg, #060d28 0%, #0e1e52 100%);
}
.impact-header {
  display: flex; align-items: flex-end; justify-content: space-between;
  flex-wrap: wrap; gap: 2rem; margin-bottom: 3rem;
}
.impact-header h2 { color: #fff; }
.chip-filter { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.chip {
  padding: 0.45rem 1.1rem;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 99px; color: rgba(255,255,255,0.62);
  font-size: 0.8rem; font-weight: 700; cursor: pointer;
  transition: all 0.2s;
}
.chip:hover { background: rgba(255,255,255,0.14); color: #fff; }
.chip.is-active {
  background: var(--brand-light); border-color: var(--brand-light);
  color: #fff; box-shadow: 0 4px 18px rgba(59,91,214,0.45);
}
.impact-cards {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 1.5rem;
}
.impact-item {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--r-lg); padding: 2rem;
  transition: background 0.2s, transform 0.25s, box-shadow 0.25s;
}
.impact-item:hover {
  background: rgba(255,255,255,0.09);
  transform: translateY(-4px);
  box-shadow: 0 18px 50px rgba(0,0,0,0.3);
}
.ic-tag {
  display: inline-block;
  padding: 0.25rem 0.75rem;
  background: rgba(59,91,214,0.3);
  border-radius: 99px;
  font-size: 0.7rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: 0.08em; color: #93c5fd; margin-bottom: 0.9rem;
}
.impact-item[data-tag="security"] .ic-tag { background: rgba(239,68,68,0.25); color: #fca5a5; }
.impact-item[data-tag="inclusion"] .ic-tag { background: rgba(16,185,129,0.25); color: #6ee7b7; }
.impact-item h3 { color: #fff; font-size: 1rem; line-height: 1.55; font-weight: 600; }
.impact-item.is-hidden { display: none; }

/* ══ WORK WITH US ══ */
.work-section { padding: 7.5rem 0; background: var(--surface); }
.work-section .section-intro { text-align: center; margin-inline: auto; }
.work-grid {
  display: grid; grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}
.work-card {
  background: var(--bg);
  border: 1.5px solid var(--line);
  border-radius: var(--r-xl); padding: 2.5rem;
  display: flex; flex-direction: column; gap: 0.75rem;
  transition: box-shadow 0.3s, transform 0.3s, border-color 0.3s;
}
.work-card:hover {
  box-shadow: var(--shadow-lg); transform: translateY(-4px);
  border-color: rgba(30,58,138,0.3);
}
.wc-num {
  font-family: var(--font-display); font-size: 0.72rem; font-weight: 900;
  letter-spacing: 0.1em; color: var(--brand-light); margin-bottom: 0.25rem;
}
.work-card h3 { color: var(--ink); }
.work-card p { font-size: 0.93rem; }
.work-card ul { display: flex; flex-direction: column; gap: 0.5rem; margin-top: 0.5rem; }
.work-card ul li {
  display: flex; align-items: center; gap: 0.6rem;
  font-size: 0.85rem; color: var(--muted); font-weight: 500;
}
.work-card ul li::before {
  content: ''; width: 5px; height: 5px; border-radius: 50%;
  background: var(--brand-light); flex-shrink: 0;
}
.work-card--cta {
  grid-column: 1 / -1;
  background: linear-gradient(135deg, var(--brand-deep) 0%, #1a3a8a 100%);
  border-color: transparent;
  flex-direction: row; align-items: center; flex-wrap: wrap; gap: 2.5rem;
}
.work-card--cta:hover { border-color: transparent; }
.wcc-left { flex: 1; min-width: 240px; }
.wcc-left h3 { color: #fff; }
.wcc-left p { color: rgba(255,255,255,0.68); }
.wcc-right { display: flex; flex-direction: column; align-items: flex-start; gap: 1.25rem; }
.work-tags { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.work-tags span {
  padding: 0.3rem 0.9rem;
  background: rgba(255,255,255,0.12);
  border-radius: 99px; font-size: 0.78rem; font-weight: 700;
  color: rgba(255,255,255,0.8);
}

/* ══ CONTACT SECTION ══ */
.contact-section { padding: 0; }
.contact-split { display: grid; grid-template-columns: 1fr 1fr; min-height: 620px; }
.contact-info {
  background: linear-gradient(145deg, #060d28 0%, #0e1e52 100%);
  display: flex; align-items: center; padding: 6.5rem 5rem;
}
.contact-info-inner { max-width: 440px; }
.contact-info h2 { color: #fff; margin-bottom: 2.5rem; }
.ci-item {
  display: flex; align-items: flex-start; gap: 1.25rem; margin-bottom: 1.75rem;
}
.ci-icon {
  width: 44px; height: 44px; border-radius: 50%;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.14);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.ci-icon svg { width: 20px; height: 20px; stroke: rgba(255,255,255,0.7); }
.ci-item div strong {
  display: block;
  color: rgba(255,255,255,0.48); font-size: 0.7rem; font-weight: 700;
  letter-spacing: 0.12em; text-transform: uppercase; margin-bottom: 0.25rem;
}
.ci-item div span, .ci-item div a {
  color: rgba(255,255,255,0.85); font-size: 0.95rem; font-weight: 500;
}
.ci-item div a:hover { color: #fff; }
.contact-form-wrap {
  background: var(--surface);
  display: flex;
  flex-direction: column;
  align-items: stretch;
  justify-content: center;
  gap: 1.25rem;
  padding: 5rem 4rem;
}
.contact-form {
  width: 100%; max-width: 520px;
  margin: 0 auto;
  display: flex; flex-direction: column; gap: 1.25rem;
}
.contact-form h3 { color: var(--ink); margin-bottom: 0.25rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.contact-alert {
  width: 100%; max-width: 520px;
  margin: 0 auto;
  padding: 0.95rem 1rem;
  border-radius: 14px;
  font-size: 0.92rem;
  line-height: 1.55;
  box-sizing: border-box;
}
.contact-alert--success {
  background: rgba(16,185,129,0.12);
  color: #047857;
  border: 1px solid rgba(16,185,129,0.24);
}
.contact-alert--error {
  background: rgba(239,68,68,0.12);
  color: #b91c1c;
  border: 1px solid rgba(239,68,68,0.24);
}
.alert-success,
.alert-error {
  width: 100%;
  margin-bottom: 1.25rem;
  padding: 1rem 1.1rem;
  border-radius: 16px;
  line-height: 1.65;
}
.alert-success {
  background: rgba(16,185,129,0.12);
  color: #046c4e;
  border: 1px solid rgba(16,185,129,0.22);
}
.alert-error {
  background: rgba(239,68,68,0.12);
  color: #b91c1c;
  border: 1px solid rgba(239,68,68,0.22);
}
.careers-success strong,
.alert-success strong {
  display: block;
  font-size: 1rem;
  margin-bottom: 0.35rem;
}
.careers-success p,
.alert-success p,
.alert-error p {
  color: inherit;
  margin-top: 0.35rem;
}
.careers-success__note {
  font-size: 0.92rem;
  opacity: 0.92;
}
.contact-form label { display: flex; flex-direction: column; gap: 0.4rem; }
.contact-form label span {
  font-size: 0.78rem; font-weight: 700; color: var(--muted); letter-spacing: 0.04em;
}
.contact-form input, .contact-form textarea {
  width: 100%; padding: 0.82rem 1.1rem;
  background: var(--bg); border: 1.5px solid var(--line);
  border-radius: var(--r-md); color: var(--ink);
  transition: border-color 0.2s, box-shadow 0.2s;
}
.contact-form input:focus, .contact-form textarea:focus {
  outline: none; border-color: var(--brand-light);
  box-shadow: 0 0 0 3px rgba(59,91,214,0.12);
}
.contact-form textarea { resize: vertical; min-height: 130px; }

/* ══ FOOTER ══ */
.site-footer { background: #05091e; color: rgba(255,255,255,0.62); padding-top: 5rem; }
.footer-grid {
  display: grid; grid-template-columns: 1.8fr repeat(3, 1fr);
  gap: 3rem; padding-bottom: 4rem;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.footer-logo { width: 52px; height: 52px; object-fit: contain; margin-bottom: 1rem; }
.footer-about { font-size: 0.87rem; line-height: 1.72; max-width: 280px; }
.footer-title {
  font-family: var(--font-display); font-size: 0.72rem; font-weight: 900;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: rgba(255,255,255,0.36); margin-bottom: 1.25rem;
}
.footer-list { display: flex; flex-direction: column; gap: 0.7rem; }
.footer-list a { font-size: 0.87rem; color: rgba(255,255,255,0.58); transition: color 0.2s; }
.footer-list a:hover { color: #fff; }
.footer-contact-list { display: flex; flex-direction: column; gap: 0.9rem; }
.footer-contact-list li { display: flex; flex-direction: column; gap: 0.15rem; }
.footer-contact-list strong {
  font-size: 0.7rem; color: rgba(255,255,255,0.36); font-weight: 700;
  letter-spacing: 0.1em; text-transform: uppercase;
}
.footer-contact-list span, .footer-contact-list a { font-size: 0.87rem; color: rgba(255,255,255,0.62); }
.footer-contact-list a:hover { color: #fff; }
.footer-bottom { padding: 1.5rem 0; }
.footer-bottom-inner { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 1rem; }
.footer-bottom p { font-size: 0.8rem; color: rgba(255,255,255,0.35); }
.footer-social { display: flex; gap: 0.75rem; }
.social-link {
  width: 36px; height: 36px; border-radius: 50%;
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.1);
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,0.5);
  transition: background 0.2s, color 0.2s;
}
.social-link:hover { background: var(--brand-light); color: #fff; }
.social-link svg { width: 16px; height: 16px; }

/* ══ SCROLL REVEAL ══ */
body { overflow-x: hidden; }
[data-reveal] {
  opacity: 0; transform: translateY(44px);
  transition: opacity 0.75s cubic-bezier(0.22,1,0.36,1), transform 0.75s cubic-bezier(0.22,1,0.36,1);
}
[data-reveal].is-visible { opacity: 1; transform: translateY(0); }
[data-dir="left"]  { opacity: 0; transform: translateX(-62px) scale(0.97); transition: opacity 0.7s cubic-bezier(0.22,1,0.36,1), transform 0.7s cubic-bezier(0.22,1,0.36,1); }
[data-dir="right"] { opacity: 0; transform: translateX(62px) scale(0.97); transition: opacity 0.7s cubic-bezier(0.22,1,0.36,1), transform 0.7s cubic-bezier(0.22,1,0.36,1); }
[data-dir="up"]    { opacity: 0; transform: translateY(52px) scale(0.97); transition: opacity 0.7s cubic-bezier(0.22,1,0.36,1), transform 0.7s cubic-bezier(0.22,1,0.36,1); }
.is-visible [data-dir="left"],
.is-visible [data-dir="right"],
.is-visible [data-dir="up"] { opacity: 1; transform: none; }

/* Stagger delays */
.team-card, .work-card, .impact-item, .rl-item, .cs-item, .about-stat, .hv-stat {
  transition-delay: calc(var(--i, 0) * 0.08s);
}

/* ══ PAGE LOAD ══ */
body:not(.page-loaded) .hero-mesh * { animation-play-state: paused !important; }

/* ══ WORK-WITH-US PAGE ══ */

/* Generic section utility used on careers page */
.section { padding: 6rem 0; }
.section-alt { background: var(--surface-2); }

/* Btn-solid variant */
.btn-solid {
  display: inline-flex; align-items: center; justify-content: center;
  gap: 0.5rem;
  padding: 0.9rem 2.2rem;
  background: var(--brand); color: #fff;
  font-weight: 600; font-size: 1rem;
  border: none; border-radius: var(--r-md);
  cursor: pointer;
  transition: background 0.2s, box-shadow 0.2s;
}
.btn-solid:hover { background: var(--brand-light); box-shadow: var(--shadow-sm); }

/* Careers hero */
.careers-hero {
  background: var(--brand-deep);
  padding: calc(var(--nav-h) + 5rem) 0 5rem;
}
.careers-hero-content { text-align: center; }
.careers-hero-content h1 {
  color: #fff;
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 5vw, 3.8rem);
  font-weight: 800;
  margin-bottom: 1rem;
}
.careers-hero-content p {
  color: rgba(255,255,255,0.68);
  font-size: 1.15rem;
  max-width: 560px;
  margin-inline: auto;
}

/* Why join us */
.why-join { padding: 6rem 0; }
.benefits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
}
.benefit-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 2rem 1.75rem;
  box-shadow: var(--shadow-sm);
  transition: box-shadow 0.2s, transform 0.2s;
}
.benefit-card:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); }
.benefit-card h3 { font-size: 1.05rem; font-weight: 700; color: var(--ink); margin-bottom: 0.6rem; }
.benefit-card p { font-size: 0.9rem; color: var(--muted); line-height: 1.65; }

/* Open positions */
.open-positions { max-width: 800px; margin-inline: auto; }
.job-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 2.5rem;
  box-shadow: var(--shadow-sm);
}
.job-header {
  display: flex; align-items: flex-start;
  justify-content: space-between; gap: 1rem;
  margin-bottom: 0.75rem; flex-wrap: wrap;
}
.job-header h3 {
  font-size: 1.4rem; font-weight: 700;
  color: var(--ink); margin: 0;
}
.job-type {
  display: inline-block;
  background: var(--brand);
  color: #fff;
  font-size: 0.75rem; font-weight: 700;
  letter-spacing: 0.06em; text-transform: uppercase;
  padding: 0.3rem 0.85rem;
  border-radius: 999px;
  white-space: nowrap;
}
.job-meta {
  display: flex; gap: 1.25rem; flex-wrap: wrap;
  font-size: 0.9rem; color: var(--muted);
  margin-bottom: 1rem;
}
.job-location, .job-level, .job-deadline { display: flex; align-items: center; gap: 0.3rem; }
.job-content { margin-top: 1.25rem; }
.job-content h4 {
  font-size: 0.95rem; font-weight: 700;
  color: var(--brand); text-transform: uppercase;
  letter-spacing: 0.06em; margin: 1.25rem 0 0.5rem;
}
.job-content h4:first-child { margin-top: 0; }
.job-content p { color: var(--muted); font-size: 0.95rem; line-height: 1.7; }
.job-list {
  list-style: disc; padding-left: 1.4rem;
  color: var(--muted); font-size: 0.95rem;
  line-height: 1.75;
}
.job-list li { margin-bottom: 0.3rem; }
.apply-btn {
  display: inline-flex; align-items: center;
  margin-top: 2rem;
  padding: 0.85rem 2rem;
  background: var(--brand); color: #fff;
  font-weight: 600; font-size: 1rem;
  border: none; border-radius: var(--r-md);
  cursor: pointer;
  transition: background 0.2s, box-shadow 0.2s;
}
.apply-btn:hover { background: var(--brand-light); box-shadow: var(--shadow-sm); }

/* Application form */
.application-form-wrapper {
  max-width: 820px; margin-inline: auto;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  padding: 3rem 3.5rem;
  box-shadow: var(--shadow-md);
}
.form-header { margin-bottom: 2rem; }
.form-header h2 { color: var(--ink); margin-bottom: 0.4rem; }
.form-header p { color: var(--muted); font-size: 1rem; }

/* Form elements */
.careers-form { display: flex; flex-direction: column; gap: 1.25rem; }
.form-group { display: flex; flex-direction: column; gap: 0.4rem; }
.form-group label {
  font-size: 0.82rem; font-weight: 700;
  color: var(--muted); letter-spacing: 0.04em;
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%; padding: 0.82rem 1.1rem;
  background: var(--bg); border: 1.5px solid var(--line);
  border-radius: var(--r-md); color: var(--ink);
  font-size: 0.97rem; font-family: var(--font-sans);
  transition: border-color 0.2s, box-shadow 0.2s;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none; border-color: var(--brand-light);
  box-shadow: 0 0 0 3px rgba(59,91,214,0.12);
}
.form-group textarea { resize: vertical; min-height: 110px; }
.form-group.checkbox {
  flex-direction: row; align-items: flex-start; gap: 0.65rem;
}
.form-group.checkbox input[type="checkbox"] {
  width: auto; flex-shrink: 0; margin-top: 0.15rem;
  accent-color: var(--brand);
}
.form-group.checkbox label {
  font-size: 0.88rem; font-weight: 500;
  color: var(--muted); letter-spacing: 0;
}
.file-upload {
  display: flex; flex-direction: column; gap: 0.4rem;
}
.file-upload input[type="file"] {
  padding: 0.6rem 0.8rem;
  background: var(--bg); border: 1.5px dashed var(--line-strong);
  border-radius: var(--r-md); cursor: pointer;
  font-size: 0.9rem; color: var(--ink);
}
.file-help { font-size: 0.8rem; color: var(--faint); margin: 0; }
.form-note { font-size: 0.82rem; color: var(--faint); margin-top: 0.5rem; }

/* ══ RESPONSIVE ══ */
@media (max-width: 1100px) {
  .hero-layout { grid-template-columns: 1fr; }
  .hero-right { display: none; }
  .hero-left { max-width: 100%; }
  .about-body { grid-template-columns: 1fr; gap: 2rem; padding-top: 3.5rem; }
  .mv-split { grid-template-columns: 1fr; }
  .mv-half { padding: 4.5rem 5vw; }
  .director-layout { grid-template-columns: 1fr; gap: 3.5rem; }
  .director-portrait { order: -1; justify-content: flex-start; }
  .portrait-frame {
    width: min(340px, 100%);
    height: 390px;
  }
  .research-grid { grid-template-columns: 1fr; }
  .consultancy-layout { grid-template-columns: 1fr; gap: 3rem; }
  .consultancy-intro { position: static; }
  .contact-split { grid-template-columns: 1fr; }
  .contact-info { padding: 5rem 5vw; }
  .contact-form-wrap { padding: 4rem 5vw; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .work-grid { grid-template-columns: 1fr; }
  .team-row--grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 768px) {
  .nav-cta { display: none; }
  .primary-nav {
    position: fixed; inset: 0 0 0 auto;
    width: min(300px, 88vw);
    background: #05091e;
    flex-direction: column; justify-content: center;
    padding: 2rem;
    transform: translateX(102%);
    transition: transform 0.36s cubic-bezier(0.22,1,0.36,1);
    border-left: 1px solid rgba(255,255,255,0.08);
    gap: 0.25rem; z-index: 898;
  }
  .primary-nav.is-open { transform: translateX(0); }
  .nav-link { padding: 0.9rem 1.25rem; font-size: 1rem; border-radius: var(--r-md); }
  .menu-toggle { display: flex; }
  .hero-layout { padding: calc(var(--nav-h) + 2rem) 5vw 3rem; }
  .about-stats-bar { flex-direction: column; align-items: stretch; }
  .about-stat-div { height: 1px; width: auto; margin: 0; }
  .about-stat { padding: 1.5rem 2rem; }
  .domain-panel { grid-template-columns: 1fr; gap: 1.5rem; padding: 2rem; }
  .domain-tab-nav { overflow-x: auto; flex-wrap: nowrap; -webkit-overflow-scrolling: touch; }
  .dtab { white-space: nowrap; }
  .form-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .hero-actions { flex-direction: column; }
  .btn { justify-content: center; width: 100%; max-width: 280px; }
  .application-form-wrapper { padding: 2rem 1.5rem; }
  .job-card { padding: 1.75rem; }
  .benefits-grid { grid-template-columns: 1fr; }
  .team-row--grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .team-card { min-width: 0; }

  .team-row--advisory { justify-content: center; }
  .advisory-card {
    grid-template-columns: 1fr;
    text-align: left;
    gap: 0;
  }
  .advisory-media {
    border-right: 0;
    border-bottom: 1px solid rgba(255,255,255,0.16);
    padding: 1.4rem 1rem;
  }
  .advisory-avatar {
    width: 116px;
    height: 116px;
  }
  .advisory-content {
    padding: 1.25rem 1.2rem;
  }
  .advisory-info {
    align-items: flex-start;
  }
}

@media (max-width: 480px) {
  .team-row--grid { grid-template-columns: 1fr; }
  .mv-half { padding: 3.5rem 5vw; }
  .dp-icon { width: 60px; height: 60px; }
  .dp-icon svg { width: 28px; height: 28px; }
  .work-card--cta { flex-direction: column; }
  .wcc-right { align-items: flex-start; }
  .hero-layout { gap: 2rem; }
  h1 { font-size: clamp(2.2rem, 8vw, 2.8rem); }
  h2 { font-size: clamp(1.7rem, 6vw, 2.2rem); }
}

/* ═══ EVENTS PAGE STYLES ═══ */
.events-section {
  padding: 5rem 0;
  position: relative;
}

.featured-event {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  background: linear-gradient(135deg, var(--surface-2) 0%, var(--surface-3) 100%);
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  padding: 3.5rem;
  margin: 3rem 0;
  position: relative;
  overflow: hidden;
}

.featured-event-content {
  z-index: 2;
}

.featured-badge {
  display: inline-block;
  background: var(--brand);
  color: white;
  padding: 0.5rem 1rem;
  border-radius: 999px;
  font-size: 0.875rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.featured-event h3 {
  font-size: 2rem;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 1rem;
  line-height: 1.2;
}

.featured-description {
  font-size: 1.05rem;
  color: var(--muted);
  line-height: 1.6;
  margin-bottom: 2rem;
}

.featured-meta {
  display: flex;
  gap: 2rem;
  margin-bottom: 2rem;
  padding: 2rem 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.meta-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--ink);
  font-weight: 500;
}

.meta-item svg {
  width: 20px;
  height: 20px;
  stroke: var(--brand);
}

.featured-event-visual {
  position: relative;
  min-height: 520px;
  aspect-ratio: 3 / 4;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #03133d;
  border-radius: var(--r-lg);
  overflow: hidden;
}

.featured-event-image {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: var(--r-lg);
}

.fev-shape {
  position: absolute;
  border-radius: 50%;
  opacity: 0.15;
  filter: blur(40px);
}

.fev-shape--1 {
  width: 280px;
  height: 280px;
  background: var(--brand);
  top: -50px;
  right: -30px;
}

.fev-shape--2 {
  width: 200px;
  height: 200px;
  background: var(--teal-light);
  bottom: -40px;
  left: -40px;
}

.fev-icon {
  position: relative;
  z-index: 2;
  width: 120px;
  height: 120px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: white;
  border-radius: 50%;
  border: 2px solid var(--line);
  box-shadow: 0 20px 50px rgba(30, 58, 138, 0.1);
}

.fev-icon svg {
  width: 60px;
  height: 60px;
  stroke: var(--brand);
}

/* EVENTS GRID */
.events-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.event-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 2rem;
  transition: all 0.3s ease;
  overflow: hidden;
  position: relative;
}

.event-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--brand);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.event-card:hover {
  border-color: var(--brand);
  box-shadow: 0 12px 40px rgba(30, 58, 138, 0.12);
  transform: translateY(-4px);
}

.event-card:hover::before {
  opacity: 1;
}

.event-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 1.5rem;
}

.event-category {
  display: inline-block;
  background: var(--c, var(--brand));
  color: white;
  padding: 0.4rem 0.875rem;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.event-date-badge {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: var(--surface-2);
  border: 2px solid var(--line);
  border-radius: var(--r-md);
  padding: 0.75rem 1rem;
  min-width: 70px;
  text-align: center;
}

.date-month {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.date-day {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--brand);
  line-height: 1;
}

.event-body h3 {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 0.75rem;
  line-height: 1.3;
}

.event-body > p {
  font-size: 0.95rem;
  color: var(--muted);
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.event-meta {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--line);
}

.event-time,
.event-location {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9rem;
  color: var(--muted);
}

.event-time svg,
.event-location svg {
  width: 16px;
  height: 16px;
  stroke: var(--brand);
  flex-shrink: 0;
}

.btn-link {
  display: inline-block;
  color: var(--brand);
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  transition: all 0.3s ease;
  padding: 0.5rem 0;
}

.btn-link:hover {
  gap: 0.5rem;
  transform: translateX(4px);
}

/* PAST EVENTS SECTION */
.past-events-section {
  padding: 5rem 0;
  background: var(--surface-2);
}

.past-events-section.hidden {
  display: none;
}

.past-events-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.past-event-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  overflow: hidden;
  transition: all 0.3s ease;
}

.past-event-card:hover {
  border-color: var(--brand);
  box-shadow: 0 12px 40px rgba(30, 58, 138, 0.12);
}

.pec-header {
  background: linear-gradient(135deg, var(--brand) 0%, var(--brand-light) 100%);
  color: white;
  padding: 2rem;
  text-align: center;
}

.pec-date {
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.pec-body {
  padding: 2rem;
  display: flex;
  flex-direction: column;
}

.pec-body h3 {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 0.75rem;
  line-height: 1.3;
}

.pec-body p {
  font-size: 0.9rem;
  color: var(--muted);
  line-height: 1.6;
  margin-bottom: 1.5rem;
  flex-grow: 1;
}

.pec-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--line);
}

.event-badge {
  display: inline-block;
  background: var(--surface-2);
  color: var(--muted);
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.btn-link-small {
  color: var(--brand);
  font-weight: 600;
  font-size: 0.85rem;
  text-decoration: none;
  white-space: nowrap;
}

/* EVENT FORMATS */
.event-formats-section {
  padding: 5rem 0;
}

.formats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.format-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 2.5rem 2rem;
  text-align: center;
  transition: all 0.3s ease;
}

.format-card:hover {
  border-color: var(--brand);
  box-shadow: 0 12px 40px rgba(30, 58, 138, 0.12);
  transform: translateY(-4px);
}

.format-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--surface-2);
  border-radius: 50%;
  border: 2px solid var(--line);
  transition: all 0.3s ease;
}

.format-card:hover .format-icon {
  background: var(--brand);
  border-color: var(--brand);
}

.format-icon svg {
  width: 40px;
  height: 40px;
  stroke: var(--brand);
  transition: all 0.3s ease;
}

.format-card:hover .format-icon svg {
  stroke: white;
}

.format-card h3 {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 0.75rem;
}

.format-card p {
  font-size: 0.95rem;
  color: var(--muted);
  line-height: 1.6;
}

/* CTA SECTION */
.events-cta-section {
  padding: 5rem 0;
  background: linear-gradient(135deg, var(--brand) 0%, var(--brand-light) 100%);
}

.cta-content {
  text-align: center;
  max-width: 700px;
  margin: 0 auto;
}

.cta-content h2 {
  color: white;
  margin-bottom: 1rem;
  font-size: clamp(1.5rem, 6vw, 2.2rem);
}

.cta-content > p:first-of-type {
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.05rem;
  margin-bottom: 2rem;
  line-height: 1.6;
}

.event-signup-form {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
  background: white;
  padding: 0.5rem;
  border-radius: 999px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

.event-signup-form label {
  flex: 1;
  display: flex;
  align-items: center;
}

.event-signup-form input {
  width: 100%;
  border: none;
  background: transparent;
  padding: 1rem;
  font-size: 1rem;
  outline: none;
}

.event-signup-form input::placeholder {
  color: var(--faint);
}

.event-signup-form button {
  background: var(--brand);
  color: white;
  border: none;
  padding: 1rem 2rem;
  border-radius: 999px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  white-space: nowrap;
}

.event-signup-form button:hover {
  background: var(--brand-deep);
  transform: scale(1.02);
}

.form-note {
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.875rem;
}

/* RESPONSIVE */
@media (max-width: 768px) {
  .featured-event {
    grid-template-columns: 1fr;
    gap: 2.5rem;
    padding: 2.5rem 1.5rem;
  }
  
  .featured-event-visual {
    min-height: 420px;
  }
  
  .featured-event h3 {
    font-size: 1.5rem;
  }
  
  .featured-meta {
    flex-direction: column;
    gap: 1rem;
  }
  
  .events-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  
  .format-card {
    padding: 2rem 1.5rem;
  }
  
  .event-signup-form {
    flex-direction: column;
    border-radius: var(--r-lg);
  }
  
  .event-signup-form button {
    width: 100%;
    border-radius: var(--r-lg);
  }
}
