/* =========================================================
   Fortune Akuma Portfolio — Exact mirror of Vercel design
   Fonts: Montserrat (display) · Poppins (heading) · Century Gothic (body)
   ========================================================= */

/* ─── Design Tokens — Brand Color System ─────────────────── */
    html, body {
    overflow-x: hidden;
    }
:root {
  /* Primary — Academic Navy */
  --navy:           #0A1628;
  --navy-dark:      #060e1c;
  --navy-light:     #112240;
  --navy-muted:     #1E3352;

  /* Surfaces / Neutrals */
  --bg:             #FFFFFF;
  --surface:        #F8FAFC;
  --surface-alt:    #F1F5F9;
  --border:         #E2E8F0;
  --border-subtle:  #F0F4F8;
  --border-form:    #CBD5E1;

  /* Text */
  --text-primary:   #0F172A;
  --text-secondary: #64748B;
  --text-muted:     #64748B;
  --text-navy:      #8DA4BE;
  --text-navy-dim:  #64748B;

  /* Secondary — Research Blue (sole interface accent) */
  --blue:           #2563EB;
  --blue-hover:     #1D4ED8;
  --blue-soft:      #EFF6FF;
  --blue-light:     #93C5FD;

  /* Legacy aliases → Research Blue (neutralizes teal accents) */
  --teal:           #2563EB;
  --amber:          #2563EB;

  /* Accent — Academic Gold (featured / awards ONLY) */
  --gold:           #D4A853;

  /* Status */
  --success:        #16A34A;
  --warning:        #D4A853;
  --error:          #DC2626;

  /* Fonts — exactly matching the Vercel version */
  --font-heading:   'Poppins', 'Segoe UI', Arial, sans-serif;
  --font-display:   'Montserrat', 'Segoe UI', Arial, sans-serif;
  --font-body:      'Century Gothic', CenturyGothic, 'AppleGothic', 'Trebuchet MS', 'Calibri', Poppins, sans-serif;

  /* Radii */
  --radius-ui:   12px;
  --radius-card: 16px;
  --radius-btn:  10px;
  --radius-xl:   24px;

  /* Shadows */
  --shadow-soft:       0 2px 8px rgba(0,0,0,.06);
  --shadow-card:       0 4px 20px rgba(0,0,0,.07);
  --shadow-card-hover: 0 12px 32px rgba(0,0,0,.14);
  --shadow-glow-blue:  0 0 24px rgba(37,99,235,.12);
  --shadow-navy:       0 20px 60px rgba(10,22,40,.35);
}

/* ─── Bootstrap container override — align with nav/hero/footer (1280px) ── */
/* max-width without !important so inline style="max-width:…" can still override (e.g. blog-post narrow column) */
.container, .container-sm, .container-md,
.container-lg, .container-xl, .container-xxl {
  max-width: 1280px;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}
@media (min-width: 576px)  { .container-sm, .container  { max-width: 1280px; } }
@media (min-width: 768px)  { .container-md, .container-sm, .container { max-width: 1280px; } }
@media (min-width: 992px)  { .container-lg, .container-md, .container-sm, .container { max-width: 1280px; } }
@media (min-width: 1200px) { .container-xl, .container-lg, .container-md, .container-sm, .container { max-width: 1280px; } }
@media (min-width: 1400px) { .container-xxl, .container-xl, .container-lg, .container-md, .container-sm, .container { max-width: 1280px; } }

/* ─── Base ─────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text-primary);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
::selection { background: rgba(37,99,235,.2); }
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: rgba(37,99,235,.3); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: rgba(37,99,235,.5); }

/* ─── Keyframes ──────────────────────────────────────────── */
@keyframes gradient-shift {
  0%, 100% { background-position: 0% 50%; }
  50%       { background-position: 100% 50%; }
}
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-10px); }
}
@keyframes fade-up {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%       { opacity: .5; transform: scale(.8); }
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%       { opacity: .4; transform: scale(.75); }
}

/* ─── Back-to-top button ─────────────────────────────────── */
.back-to-top {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 44px; height: 44px;
  border-radius: 12px;
  background: var(--navy);
  border: 1px solid rgba(255,255,255,.1);
  color: rgba(255,255,255,.8);
  display: flex; align-items: center; justify-content: center;
  font-size: .875rem;
  cursor: pointer;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity .3s, transform .3s, background .2s;
  z-index: 900;
  box-shadow: 0 4px 16px rgba(0,0,0,.25);
  backdrop-filter: blur(8px);
}
.back-to-top.visible { opacity: 1; transform: translateY(0); }
.back-to-top:hover { background: var(--blue); color: #fff; }

/* ─── Reading progress bar ──────────────────────────────── */
.reading-progress {
  position: fixed;
  top: 64px; left: 0;
  height: 2px;
  width: 0%;
  background: var(--blue);
  z-index: 999;
  transition: width .1s;
}

/* ─── Typography utilities ───────────────────────────────── */
.font-display  { font-family: var(--font-display); }
.font-heading  { font-family: var(--font-heading); }
.font-body     { font-family: var(--font-body); }

/* Brand emphasis text — solid Research Blue (no gradients) */
.gradient-text {
  background: none;
  -webkit-background-clip: unset;
  background-clip: unset;
  -webkit-text-fill-color: unset;
  color: var(--blue);
  animation: none;
}

/* Stats / gold emphasis → solid white on dark, blue on light contexts */
.gradient-text-gold {
  background: none;
  -webkit-background-clip: unset;
  background-clip: unset;
  -webkit-text-fill-color: unset;
  color: #fff;
}

/* ─── Glass ──────────────────────────────────────────────── */
.glass {
  background: rgba(255,255,255,.08);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255,255,255,.12);
}
.glass-dark {
  background: rgba(10,22,40,.75);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255,255,255,.08);
}

/* ─── Dot grid ───────────────────────────────────────────── */
.dot-grid {
  background-image: radial-gradient(rgba(255,255,255,.1) 1px, transparent 1px);
  background-size: 28px 28px;
}

/* ═══════════════════════════════════════════════════════════
   NAVBAR — white on non-home pages, transparent on home hero
   ═══════════════════════════════════════════════════════════ */
.site-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: 64px;
  display: flex;
  align-items: center;
  transition: background .3s, border-color .3s, box-shadow .3s;
  background: var(--navy);
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.page-inner {
  padding-top: 64px;
}

/* Home: transparent over navy hero until scroll */
.site-nav.nav-dark {
  background: transparent;
  border-bottom: 1px solid transparent;
}

/* Scrolled / light alias — stay Academic Navy (unified brand chrome) */
.site-nav.scrolled,
.site-nav.nav-light {
  background: rgba(10,22,40,.96);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255,255,255,.08);
  box-shadow: 0 4px 24px rgba(0,0,0,.25);
}
.site-nav.nav-light:not(.scrolled) {
  background: var(--navy);
}

.nav-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

/* Logo */
.site-logo {
  display: flex;
  align-items: center;
  gap: .5rem;
  text-decoration: none;
  flex-shrink: 0;
}
.logo-badge {
  width: 32px; height: 32px;
  border-radius: 8px;
  background: var(--blue);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  box-shadow: var(--shadow-soft);
  transition: box-shadow .2s;
}
.logo-badge:hover { box-shadow: 0 4px 12px rgba(37,99,235,.3); }
.logo-badge span {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: .6875rem;
  color: #fff;
  letter-spacing: -.01em;
}
.logo-text {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: .9375rem;
  letter-spacing: -.02em;
  transition: color .2s;
}
.nav-dark .logo-text { color: #fff; }
.nav-light .logo-text { color: #fff; }
.logo-accent { color: var(--blue); }
.nav-dark .logo-accent, .nav-light .logo-accent { color: var(--blue-light); }

/* Nav links */
.nav-links {
  display: flex;
  align-items: center;
  gap: 2px;
  list-style: none;
  margin: 0; padding: 0;
}
.nav-links a {
  position: relative;
  display: block;
  padding: .5rem .875rem;
  font-family: var(--font-heading);
  font-size: .8125rem;
  font-weight: 600;
  border-radius: 8px;
  text-decoration: none;
  transition: color .15s, background .15s;
}

/* Nav links — white text, Research Blue active/hover */
.nav-light .nav-links a,
.nav-dark .nav-links a {
  color: rgba(255,255,255,.65);
}
.nav-light .nav-links a:hover,
.nav-dark .nav-links a:hover {
  color: var(--blue-light);
  background: rgba(37,99,235,.12);
}
.nav-light .nav-links a.active,
.nav-dark .nav-links a.active {
  color: #fff;
}
.nav-light .nav-links a.active::after,
.nav-dark .nav-links a.active::after {
  content: '';
  position: absolute;
  bottom: 4px; left: .875rem; right: .875rem;
  height: 2px;
  border-radius: 999px;
  background: var(--blue);
}

/* CTA button */
.nav-cta {
  font-family: var(--font-heading);
  font-size: .8125rem;
  font-weight: 600;
  padding: .5rem 1rem;
  border-radius: var(--radius-btn);
  text-decoration: none;
  transition: all .2s;
  white-space: nowrap;
}
.nav-light .nav-cta,
.nav-dark .nav-cta {
  background: var(--blue);
  color: #fff;
  border: 1px solid transparent;
  box-shadow: none;
}
.nav-light .nav-cta:hover,
.nav-dark .nav-cta:hover {
  background: var(--blue-hover);
  color: #fff;
}

/* Mobile nav toggle */
.nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  background: none;
  border: 2px solid rgba(255,255,255,.25);
  cursor: pointer;
  padding: .3rem .45rem;
  border-radius: 8px;
  transition: background .2s, border-color .2s;
  line-height: 1;
}
.nav-toggle:hover { background: rgba(255,255,255,.08); }
.nav-dark .nav-toggle { border-color: rgba(255,255,255,.25); }
.nav-dark .nav-toggle:hover { background: rgba(255,255,255,.08); }
.nav-toggle-icon {
  font-size: 1.6rem;
  color: #fff;
  line-height: 1;
  display: block;
}
.nav-dark .nav-toggle-icon { color: #fff; }

/* Mobile menu */
.mobile-menu {
  display: none;
  position: fixed;
  top: 64px; left: 0; right: 0;
  background: #fff;
  border-bottom: 1px solid var(--border);
  z-index: 999;
  padding: 1rem;
  box-shadow: var(--shadow-card);
}
.mobile-menu.open { display: block; }
.mobile-menu a {
  display: block;
  padding: .75rem 1rem;
  font-family: var(--font-heading);
  font-size: .9rem;
  font-weight: 600;
  color: var(--text-secondary);
  text-decoration: none;
  border-radius: 8px;
  transition: color .15s, background .15s;
}
.mobile-menu a:hover, .mobile-menu a.active {
  color: var(--blue);
  background: var(--surface);
}

/* ═══════════════════════════════════════════════════════════
   HERO v2 — Modern redesign
   ═══════════════════════════════════════════════════════════ */
.hv2 {
  position: relative;
  min-height: 100svh; min-height: 100vh;
  background: var(--navy);
  overflow: hidden;
  display: flex;
  align-items: center;
}
/* Dot-grid texture */
.hv2::before {
  content: '';
  position: absolute; inset: 0;
  background-image: radial-gradient(rgba(255,255,255,.07) 1px, transparent 1px);
  background-size: 28px 28px;
  pointer-events: none;
}
/* Top accent line */
.hv2::after {
  content: '';
  position: absolute; inset-x: 0; top: 0; height: 2px;
  background: linear-gradient(90deg, transparent 0%, rgba(37,99,235,.35) 50%, transparent 100%);
  pointer-events: none;
}

/* Atmospheric orbs */
.hv2__orb {
  position: absolute; border-radius: 50%;
  filter: blur(130px); pointer-events: none;
}
.hv2__orb--1 {
  width: 700px; height: 700px; top: -20%; left: -10%;
  background: rgba(37,99,235,.13);
}
.hv2__orb--2 {
  width: 500px; height: 500px; bottom: -15%; right: 28%;
  background: rgba(37,99,235,.08);
}
.hv2__orb--3 {
  width: 350px; height: 350px; top: 20%; right: 5%;
  background: rgba(212,168,83,.07);
}
@keyframes hv2-orb1 {
  0%,100%{ transform:translate(0,0) scale(1) }
  40%    { transform:translate(40px,-30px) scale(1.1) }
  70%    { transform:translate(-20px,20px) scale(.95) }
}
@keyframes hv2-orb2 {
  0%,100%{ transform:translate(0,0) scale(1) }
  50%    { transform:translate(-30px,-20px) scale(1.08) }
}
@keyframes hv2-orb3 {
  0%,100%{ transform:translate(0,0) scale(1); opacity:.07 }
  50%    { transform:translate(20px,30px) scale(1.15); opacity:.13 }
}

/* ── Photo panel ─────────────────────────────────────────── */
.hv2__photo-panel {
  position: absolute; top: 0; bottom: 0;
  /* Right gap = same as content's left gap — calc mirrors the container centering + padding */
  right: calc(max(0px, (100vw - 1280px) / 2) + 1.5rem);
  width: 44%;
  pointer-events: none; user-select: none;
  overflow: hidden;
  border-radius: 0;
}
.hv2__photo-panel img {
  width: 100%; height: 100%;
  object-fit: cover; object-position: top center;
  display: block;
  transform: scale(1.02);
  filter: drop-shadow(-20px 0 40px rgba(37,99,235,.25))
          drop-shadow(0 20px 40px rgba(0,0,0,.35));
}
.hv2__fade { position: absolute; pointer-events: none; }
.hv2__fade--left {
  inset-block: 0; left: 0; width: 55%;
  background: linear-gradient(90deg,
    #0A1628 0%,
    rgba(10,22,40,.92) 30%,
    rgba(10,22,40,.6) 65%,
    transparent 100%);
}
.hv2__fade--right {
  inset-block: 0; right: 0; width: 38%;
  background: linear-gradient(270deg,
    #0A1628 0%,
    rgba(10,22,40,.88) 22%,
    rgba(10,22,40,.5) 55%,
    transparent 100%);
}
.hv2__fade--bottom {
  inset-inline: 0; bottom: 0; height: 50%;
  background: linear-gradient(to top,
    #0A1628 0%,
    rgba(10,22,40,.85) 30%,
    rgba(10,22,40,.4) 65%,
    transparent 100%);
}
.hv2__fade--top {
  inset-inline: 0; top: 0; height: 6rem;
  background: linear-gradient(to bottom, rgba(10,22,40,.6), transparent);
}

/* ── Floating card: CURRENTLY ───────────────────────────── */
.hv2__fcard {
  position: absolute;
  background: rgba(10,22,40,.78);
  backdrop-filter: blur(24px) saturate(1.4);
  -webkit-backdrop-filter: blur(24px) saturate(1.4);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 18px;
  box-shadow: 0 24px 60px rgba(0,0,0,.5), inset 0 1px 0 rgba(255,255,255,.07);
  animation: hv2-fadein .7s ease 1s both;
}
.hv2__fcard--pos {
  bottom: 7rem; right: 2.5rem;
  padding: 1.125rem 1.375rem;
  min-width: 210px;
  /* float + glow start after fadein finishes (1s delay + 0.7s duration = 1.7s) */
  animation:
    hv2-fadein        .7s  ease        1s    both,
    hv2-card-float    4.5s ease-in-out 1.7s  infinite,
    hv2-card-glow     3.5s ease-in-out 1.7s  infinite;
}
.hv2__fcard-eyebrow {
  font-family: var(--font-heading);
  font-size: .5625rem; font-weight: 700;
  color: #60a5fa; text-transform: uppercase; letter-spacing: .22em;
  margin-bottom: .4rem;
}
.hv2__fcard-title {
  font-family: var(--font-heading);
  font-weight: 700; font-size: .8125rem; color: #fff; line-height: 1.35;
}
.hv2__fcard-inst {
  font-family: var(--font-heading);
  font-size: .6875rem; color: rgba(255,255,255,.42); margin-bottom: .125rem;
}
.hv2__fcard-sep {
  height: 1px;
  background: rgba(255,255,255,.1);
  margin: .65rem 0;
}
@keyframes hv2-fadein {
  from { opacity: 0; transform: translateY(14px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes hv2-card-float {
  0%, 100% { transform: translateY(0px); }
  50%       { transform: translateY(-9px); }
}
@keyframes hv2-card-glow {
  0%, 100% {
    box-shadow:
      0 24px 60px rgba(0,0,0,.5),
      inset 0 1px 0 rgba(255,255,255,.07);
    border-color: rgba(255,255,255,.12);
  }
  50% {
    box-shadow:
      0 24px 60px rgba(0,0,0,.5),
      inset 0 1px 0 rgba(255,255,255,.1);
    border-color: rgba(37,99,235,.35);
  }
}

/* ── Floating badges (hidden — cleaner look) ─────────────── */
.hv2__fbadge {
  position: absolute;
  display: none; /* hidden for cleaner design */
  align-items: center; gap: .75rem;
  background: rgba(255,255,255,.07);
  backdrop-filter: blur(18px) saturate(1.3);
  -webkit-backdrop-filter: blur(18px) saturate(1.3);
  border: 1px solid rgba(255,255,255,.13);
  border-radius: 14px;
  padding: .75rem 1.1rem;
  box-shadow: 0 10px 28px rgba(0,0,0,.3), inset 0 1px 0 rgba(255,255,255,.06);
}
.hv2__fbadge--papers {
  top: 22%; right: 5%;
  animation: hv2-float1 5s ease-in-out infinite;
}
.hv2__fbadge--ieee {
  top: 40%; right: 2.5%;
  animation: hv2-float2 5.5s ease-in-out 1.3s infinite;
}
@keyframes hv2-float1 {
  0%,100%{ transform:translateY(0) }
  50%    { transform:translateY(-9px) }
}
@keyframes hv2-float2 {
  0%,100%{ transform:translateY(0) }
  50%    { transform:translateY(-11px) }
}
.hv2__fbadge-icon { font-size: 1.375rem; line-height: 1; flex-shrink: 0; }
.hv2__fbadge-num {
  font-family: var(--font-display);
  font-weight: 900; font-size: .9375rem; color: #fff; line-height: 1.2;
}
.hv2__fbadge-lbl {
  font-family: var(--font-heading);
  font-size: .5625rem; color: rgba(255,255,255,.5);
  text-transform: uppercase; letter-spacing: .08em;
}

/* ── Mobile photo strip ─────────────────────────────────── */
.hv2__mobile-photo {
  display: none;
  position: relative;          /* in-flow on mobile */
  height: 320px; z-index: 0;
  overflow: hidden;
}
.hv2__mobile-photo img {
  width: 100%; height: 100%;
  object-fit: cover; object-position: top center;
  opacity: .72;
  filter: drop-shadow(0 0 28px rgba(37,99,235,.25));
}
.hv2__mobile-fade {
  position: absolute; inset: 0;
  background: linear-gradient(to bottom, #0A1628 0%, rgba(10,22,40,0) 30%, rgba(10,22,40,0) 70%, #0A1628 100%);
}

/* Mobile stats strip (hidden on desktop — two-class selector beats .hv2__stats { display:flex }) */
.hv2__stats.hv2__stats--mobile { display: none; }

/* Mobile floating card — hidden by default, overridden in responsive block */
.hv2__fcard--mobile { display: none; }

/* ── Content wrapper ─────────────────────────────────────── */
.hv2__content {
  position: relative; z-index: 2;
  width: 100%; max-width: 1280px;
  margin: 0 auto;
  padding: 6rem 1.5rem 6rem;
}
.hv2__content-inner { max-width: 54%; }

/* Available badge */
.hv2__avail {
  display: inline-flex; align-items: center; gap: .5rem;
  background: rgba(22,163,74,.1);
  border: 1px solid rgba(22,163,74,.25);
  color: #4ade80;
  font-family: var(--font-heading); font-size: .6875rem; font-weight: 700;
  letter-spacing: .1em; text-transform: uppercase;
  padding: .3rem .9rem; border-radius: 999px;
  margin-bottom: 1.5rem;
}
.hv2__pulse {
  display: inline-block;
  width: 7px; height: 7px; border-radius: 50%; flex-shrink: 0;
  background: #4ade80;
  animation: hv2-pulse 2.2s ease-in-out infinite;
}
@keyframes hv2-pulse {
  0%   { box-shadow: 0 0 0 0 rgba(74,222,128,.6); }
  70%  { box-shadow: 0 0 0 8px rgba(74,222,128,0); }
  100% { box-shadow: 0 0 0 0 rgba(74,222,128,0); }
}

/* Eyebrow */
.hv2__eyebrow {
  display: flex; align-items: center; gap: .75rem;
  font-family: var(--font-heading); font-size: .6875rem; font-weight: 700;
  color: var(--blue-light); text-transform: uppercase; letter-spacing: .2em;
  margin-bottom: 1.25rem;
}
.hv2__ey-rule {
  display: block; flex-shrink: 0;
  width: 2.5rem; height: 1px;
  background: var(--blue);
}

/* Name */
.hv2__name {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(2.8rem, 4.5vw, 4.5rem);
  color: #fff;
  line-height: 1.02;
  letter-spacing: -.03em;
  margin-bottom: 1.25rem;
}
.hv2__name-grad {
  background: none;
  -webkit-background-clip: unset;
  -webkit-text-fill-color: unset;
  background-clip: unset;
  color: var(--blue);
  animation: none;
}
@keyframes hv2-grad-shift {
  0%   { background-position: 0% center }
  50%  { background-position: 100% center }
  100% { background-position: 0% center }
}

/* Subtitle */
.hv2__sub {
  font-family: var(--font-body);
  font-size: .9375rem; color: #8da4be;
  line-height: 1.8; max-width: 480px;
  margin-bottom: 1.75rem;
}
.hv2__sub strong { color: #c4d4e8; font-weight: 600; }

/* Role tags */
.hv2__tags {
  display: flex; flex-wrap: wrap; gap: .5rem;
  margin-bottom: 2rem;
}
.hv2__tag {
  font-family: var(--font-heading); font-size: .6875rem; font-weight: 600;
  padding: .3rem .8rem; border-radius: 999px; border: 1px solid;
  backdrop-filter: blur(4px);
  transition: transform .15s, box-shadow .15s;
}
.hv2__tag:hover { transform: translateY(-2px); box-shadow: 0 4px 14px rgba(0,0,0,.25); }
.hv2__tag--blue,
.hv2__tag--teal,
.hv2__tag--amber,
.hv2__tag--violet,
.hv2__tag--pink {
  background: rgba(37,99,235,.14);
  color: #bfdbfe;
  border-color: rgba(96,165,250,.28);
}

/* CTA buttons */
.hv2__ctas {
  display: flex; flex-wrap: wrap; gap: .875rem;
  margin-bottom: 2.75rem;
}
.hv2__btn-primary {
  display: inline-flex; align-items: center; gap: .5rem;
  background: #2563EB;
  color: #fff; text-decoration: none;
  font-family: var(--font-heading); font-weight: 600; font-size: .875rem;
  padding: .875rem 1.75rem; border-radius: 10px;
  box-shadow: 0 0 0 rgba(37,99,235,0);
  transition: background .2s, box-shadow .2s, transform .2s;
}
.hv2__btn-primary:hover {
  color: #fff; text-decoration: none;
  background: var(--blue-hover);
  transform: translateY(-1px);
  box-shadow: 0 8px 24px rgba(37,99,235,.25);
}
.hv2__btn-ghost {
  display: inline-flex; align-items: center;
  color: #e2e8f0; text-decoration: none;
  font-family: var(--font-heading); font-weight: 600; font-size: .875rem;
  padding: .875rem 1.75rem; border-radius: 10px;
  border: 1px solid rgba(255,255,255,.2);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  transition: border-color .2s, background .2s, transform .2s;
}
.hv2__btn-ghost:hover {
  color: #fff; text-decoration: none;
  border-color: rgba(255,255,255,.35);
  background: rgba(255,255,255,.1);
  transform: translateY(-2px);
}

/* Stats row */
.hv2__stats {
  display: flex; flex-wrap: wrap; gap: .375rem 2rem;
  padding-top: 2rem;
  position: relative;
}
.hv2__stats::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: rgba(255,255,255,.1);
}
.hv2__stat { display: flex; flex-direction: column; gap: .15rem; }
.hv2__stat-val {
  font-family: var(--font-display);
  font-weight: 900; font-size: 1.7rem; line-height: 1;
  background: none;
  -webkit-background-clip: unset; -webkit-text-fill-color: unset; background-clip: unset;
  color: #fff;
}
.hv2__stat-lbl {
  font-family: var(--font-heading);
  font-size: .6875rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: .1em;
  color: #64748b;
}

/* Scroll indicator */
.hv2__scroll-cue {
  position: absolute; bottom: 1.75rem; left: 50%; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: .4rem;
  z-index: 3; pointer-events: none;
}
.hv2__scroll-bar {
  width: 1.5px; height: 3.5rem;
  background: rgba(255,255,255,.1); border-radius: 999px; overflow: hidden;
}
.hv2__scroll-pip {
  width: 100%; height: 40%;
  background: var(--blue);
  border-radius: 999px;
  animation: hv2-scroll 2.2s ease-in-out infinite;
}
@keyframes hv2-scroll {
  0%   { transform:translateY(-100%); opacity:0 }
  15%  { opacity:1 }
  85%  { opacity:1 }
  100% { transform:translateY(350%); opacity:0 }
}
.hv2__scroll-txt {
  font-family: var(--font-heading);
  font-size: .5rem; font-weight: 700;
  color: rgba(255,255,255,.2); letter-spacing: .22em; text-transform: uppercase;
}

/* ═══════════════════════════════════════════════════════════
   DARK HERO SECTIONS (inner pages)
   ═══════════════════════════════════════════════════════════ */
.hero-dark {
  background: var(--navy);
  position: relative;
  overflow: hidden;
  padding: 4rem 0 3rem;
}
.hero-dark::before {
  content: '';
  position: absolute; inset: 0;
  background-image: radial-gradient(rgba(255,255,255,.08) 1px, transparent 1px);
  background-size: 28px 28px;
  opacity: .4;
  pointer-events: none;
}
.hero-dark .glow-r {
  position: absolute; top: 0; right: 0;
  width: 500px; height: 500px;
  background: rgba(37,99,235,.1);
  border-radius: 50%; filter: blur(120px);
  pointer-events: none;
}
.hero-dark .line-top {
  position: absolute; top: 0; inset-x: 0; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(37,99,235,.4), transparent);
}
.hero-dark .line-bottom {
  position: absolute; bottom: 0; inset-x: 0; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.08), transparent);
}

.page-eyebrow {
  display: flex;
  align-items: center;
  gap: .75rem;
  margin-bottom: 1rem;
}
.eyebrow-rule {
  height: 1px; width: 2rem;
  background: var(--blue);
  flex-shrink: 0;
}
.eyebrow-text {
  font-family: var(--font-heading);
  font-size: .6875rem;
  font-weight: 700;
  color: var(--blue-light);
  text-transform: uppercase;
  letter-spacing: .22em;
}

.page-h1 {
  font-family: var(--font-display);
  font-weight: 900;
  color: #fff;
  font-size: clamp(2rem, 4vw, 3rem);
  margin-bottom: .75rem;
  line-height: 1.08;
}
.page-hero-sub {
  color: #8da4be;
  font-size: .97rem;
  line-height: 1.75;
  max-width: 600px;
}

/* ═══════════════════════════════════════════════════════════
   STAT PILLS (hero)
   ═══════════════════════════════════════════════════════════ */
.stat-pill {
  background: rgba(255,255,255,.05);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 12px;
  padding: .75rem 1.25rem;
  text-align: center;
  min-width: 100px;
}
.stat-pill .val {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 1.25rem;
  color: #fff;
  line-height: 1.1;
  display: block;
}
.stat-pill .lbl {
  font-family: var(--font-heading);
  font-size: .625rem;
  font-weight: 600;
  color: #8da4be;
  text-transform: uppercase;
  letter-spacing: .1em;
  margin-top: .2rem;
  display: block;
}

/* ═══════════════════════════════════════════════════════════
   BUTTONS
   ═══════════════════════════════════════════════════════════ */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .75rem 1.75rem;
  border-radius: var(--radius-btn);
  background: var(--blue);
  color: #fff;
  font-family: var(--font-heading);
  font-size: .875rem;
  font-weight: 600;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: background .2s, box-shadow .2s, transform .15s;
  box-shadow: none;
}
.btn-primary:hover {
  background: var(--blue-hover);
  color: #fff;
  transform: translateY(-1px);
}
.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .75rem 1.75rem;
  border-radius: var(--radius-btn);
  background: transparent;
  color: #fff;
  font-family: var(--font-heading);
  font-size: .875rem;
  font-weight: 600;
  text-decoration: none;
  border: 1px solid rgba(255,255,255,.2);
  cursor: pointer;
  transition: background .2s;
  backdrop-filter: blur(4px);
}
.btn-outline:hover {
  background: rgba(255,255,255,.1);
  color: #fff;
}
.btn-outline-navy,
.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .625rem 1.25rem;
  border-radius: var(--radius-btn);
  background: transparent;
  color: var(--blue);
  font-family: var(--font-heading);
  font-size: .8125rem;
  font-weight: 600;
  text-decoration: none;
  border: 1.5px solid var(--blue);
  cursor: pointer;
  transition: all .2s;
}
.btn-outline-navy:hover,
.btn-secondary:hover {
  background: var(--blue);
  color: #fff;
}

/* ═══════════════════════════════════════════════════════════
   SECTION WRAPPERS
   ═══════════════════════════════════════════════════════════ */
.section-white  { background: #fff;           padding: 4rem 0; }
.section-surface { background: var(--surface); padding: 4rem 0; }

/* ═══════════════════════════════════════════════════════════
   HOMEPAGE FEATURED VIDEO
   ═══════════════════════════════════════════════════════════ */
.home-video {
  position: relative;
  padding: 5rem 0;
  background:
    radial-gradient(ellipse 70% 60% at 100% 0%, rgba(37,99,235,.08), transparent 55%),
    radial-gradient(ellipse 50% 50% at 0% 100%, rgba(10,22,40,.04), transparent 50%),
    #fff;
  overflow: hidden;
}
.home-video__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr);
  gap: 3rem;
  align-items: center;
}
.home-video__eyebrow {
  font-family: var(--font-heading);
  font-size: .6875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .2em;
  color: var(--blue);
  margin: 0;
}
.home-video__lead {
  color: var(--text-secondary);
  font-size: .97rem;
  line-height: 1.75;
  margin: 0 0 1.5rem;
  max-width: 34rem;
}
.home-video__points {
  list-style: none;
  padding: 0;
  margin: 0 0 1.75rem;
  display: flex;
  flex-direction: column;
  gap: .7rem;
}
.home-video__points li {
  display: flex;
  align-items: center;
  gap: .65rem;
  font-size: .875rem;
  font-weight: 500;
  color: var(--text-primary);
}
.home-video__points i {
  color: var(--blue);
  font-size: 1.05rem;
}
.home-video__cta {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
}
.home-video__stage { position: relative; }
.home-video__frame {
  position: relative;
  border-radius: 18px;
  overflow: hidden;
  background: #0A1628;
  aspect-ratio: 16 / 9;
  box-shadow:
    0 24px 60px rgba(10, 22, 40, .18),
    0 0 0 1px rgba(37, 99, 235, .12);
  transform: translateZ(0);
  transition: transform .35s ease, box-shadow .35s ease;
}
.home-video__frame:hover {
  transform: translateY(-4px);
  box-shadow:
    0 32px 70px rgba(10, 22, 40, .22),
    0 0 0 1px rgba(37, 99, 235, .2);
}
.home-video__badge {
  position: absolute;
  top: 1rem;
  left: 1rem;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  padding: .35rem .7rem;
  border-radius: 999px;
  background: rgba(10, 22, 40, .72);
  backdrop-filter: blur(8px);
  color: #fff;
  font-family: var(--font-heading);
  font-size: .6875rem;
  font-weight: 700;
  letter-spacing: .04em;
  pointer-events: none;
}
.home-video__badge i { color: #FF6B6B; font-size: .9rem; }
.home-video__facade {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  padding: 0;
  border: 0;
  background: #0A1628;
  cursor: pointer;
  text-decoration: none;
}
.home-video__poster {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .55s ease, filter .35s ease;
  filter: brightness(.82) saturate(1.05);
}
.home-video__frame:hover .home-video__poster {
  transform: scale(1.04);
  filter: brightness(.9) saturate(1.08);
}
.home-video__play {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 2;
  width: 4.25rem;
  height: 4.25rem;
  margin: -2.125rem 0 0 -2.125rem;
  border-radius: 50%;
  background: var(--blue);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.75rem;
  box-shadow: 0 12px 30px rgba(37, 99, 235, .45);
  transition: transform .25s ease, background .2s ease, box-shadow .25s ease;
}
.home-video__play i { margin-left: .12rem; }
.home-video__frame:hover .home-video__play {
  transform: scale(1.08);
  background: #1D4ED8;
  box-shadow: 0 16px 36px rgba(37, 99, 235, .55);
}
.home-video__glow {
  position: absolute;
  inset: auto 18% 0;
  height: 45%;
  background: radial-gradient(ellipse at center, rgba(37,99,235,.35), transparent 70%);
  pointer-events: none;
  z-index: 1;
}
.home-video__frame.is-playing .home-video__facade,
.home-video__frame.is-playing .home-video__badge,
.home-video__frame.is-playing .home-video__glow { display: none; }
.home-video__frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

@media (max-width: 991.98px) {
  .home-video { padding: 3.5rem 0; }
  .home-video__grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .home-video__copy { text-align: center; }
  .home-video__lead { margin-left: auto; margin-right: auto; }
  .home-video__points { align-items: center; }
  .home-video__points li { justify-content: center; }
  .home-video__copy .section-divider { justify-content: center; }
}

@media (max-width: 575.98px) {
  .home-video__play { width: 3.5rem; height: 3.5rem; margin: -1.75rem 0 0 -1.75rem; font-size: 1.4rem; }
}

.section-head {
  margin-bottom: 3rem;
}
.section-eyebrow-label {
  font-family: var(--font-heading);
  font-size: .6875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .2em;
  margin-bottom: .5rem;
  display: block;
}
.section-h2 {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(1.5rem, 3vw, 2rem);
  color: var(--text-primary);
  margin: 0;
}
.section-h2-sub {
  font-size: .9rem;
  color: var(--text-secondary);
  margin-top: .5rem;
}

/* Section rule divider */
.section-rule {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: .75rem;
}
.section-rule-line {
  height: 3px;
  width: 2.5rem;
  border-radius: 999px;
  background: var(--blue);
  flex-shrink: 0;
}

/* ═══════════════════════════════════════════════════════════
   CARDS
   ═══════════════════════════════════════════════════════════ */
.card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  padding: 1.5rem;
  box-shadow: var(--shadow-card);
  transition: transform .25s, box-shadow .25s, border-color .25s;
  display: flex;
  flex-direction: column;
  height: 100%;
}
.card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-card-hover);
}
.card-icon {
  width: 48px; height: 48px;
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.25rem;
  margin-bottom: 1rem;
  flex-shrink: 0;
}

/* Publication card */
.pub-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  padding: 1.5rem;
  box-shadow: var(--shadow-card);
  transition: transform .25s, box-shadow .25s, border-color .25s;
}
.pub-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-card-hover);
  border-color: rgba(37,99,235,.25);
}

/* Blog card */
.blog-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-card);
  transition: transform .25s, box-shadow .25s;
  display: flex;
  flex-direction: column;
  height: 100%;
  overflow: hidden;
}
.blog-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-card-hover);
}
.blog-card-body {
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

/* ═══════════════════════════════════════════════════════════
   BADGES / TAGS
   ═══════════════════════════════════════════════════════════ */
.pub-badge {
  display: inline-block;
  font-family: var(--font-heading);
  font-size: .625rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .06em;
  padding: .2rem .5rem;
  border-radius: 6px;
  color: #fff;
}
.pub-badge--journal      { background: var(--blue); }
.pub-badge--conference   { background: var(--navy); }
.pub-badge--book_chapter { background: var(--navy-muted); }
.pub-badge--report       { background: var(--surface-alt); color: var(--text-primary); }
.pub-badge--preprint     { background: var(--text-secondary); }
.pub-badge--featured     { background: var(--gold); color: #0A1628; }

.tag {
  display: inline-block;
  font-family: var(--font-heading);
  font-size: .6875rem;
  font-weight: 600;
  padding: .25rem .625rem;
  border-radius: 999px;
  border: 1px solid;
}
.tag-blue,
.tag-teal,
.tag-violet,
.tag-amber,
.tag-rose,
.tag-cyan {
  background: var(--blue-soft);
  color: var(--blue-hover);
  border-color: #BFDBFE;
}
.tag-slate  { background: var(--surface-alt); color: var(--text-secondary); border-color: var(--border); }
.tag-dark   { background: rgba(255,255,255,.08); color: #8da4be; border-color: rgba(255,255,255,.12); }
.tag-featured { background: rgba(212,168,83,.12); color: #B45309; border-color: rgba(212,168,83,.35); }

/* ═══════════════════════════════════════════════════════════
   TABLE
   ═══════════════════════════════════════════════════════════ */
.table-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  overflow: hidden;
  box-shadow: var(--shadow-card);
}
.table-card table { margin: 0; }
.table-card thead th {
  background: var(--surface);
  font-family: var(--font-heading);
  font-size: .625rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .12em;
  color: var(--text-muted);
  border-bottom: 1px solid var(--border);
  padding: 1rem 1.25rem;
}
.table-card tbody td {
  padding: .875rem 1.25rem;
  vertical-align: middle;
  border-bottom: 1px solid #F1F5F9;
  color: var(--text-secondary);
  font-size: .8125rem;
}
.table-card tbody tr:last-child td { border-bottom: none; }
.table-card tbody tr:hover { background: var(--surface); }

/* ═══════════════════════════════════════════════════════════
   CTA DARK SECTION
   ═══════════════════════════════════════════════════════════ */
.cta-dark {
  background: var(--navy);
  position: relative;
  overflow: hidden;
  padding: 5rem 0;
}
.cta-dark::before {
  content: '';
  position: absolute; inset: 0;
  background-image: radial-gradient(rgba(255,255,255,.07) 1px, transparent 1px);
  background-size: 28px 28px;
  opacity: .3;
  pointer-events: none;
}
.available-badge {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .4rem 1rem;
  border-radius: 999px;
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.1);
  font-family: var(--font-heading);
  font-size: .6875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .15em;
  color: var(--blue-light);
  margin-bottom: 1.5rem;
}
.available-badge .pulse {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--blue);
  animation: pulse-dot 2s infinite;
}

/* ═══════════════════════════════════════════════════════════
   PROCESS STEPS
   ═══════════════════════════════════════════════════════════ */
.step-wrap {
  position: relative;
  text-align: center;
}
.step-icon {
  width: 56px; height: 56px;
  border-radius: 14px;
  background: var(--navy);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.375rem;
  margin: 0 auto 1rem;
  position: relative;
  box-shadow: 0 4px 16px rgba(0,0,0,.2);
}
.step-num {
  position: absolute;
  top: -8px; right: -8px;
  width: 20px; height: 20px;
  border-radius: 50%;
  background: var(--blue);
  color: #fff;
  font-family: var(--font-heading);
  font-size: .5rem;
  font-weight: 700;
  display: flex; align-items: center; justify-content: center;
}
.step-connector {
  display: none;
  position: absolute;
  top: 28px; left: calc(50% + 36px);
  width: calc(100% - 72px); height: 1px;
  background: var(--border);
}

/* ═══════════════════════════════════════════════════════════
   CONTACT FORM
   ═══════════════════════════════════════════════════════════ */
.form-label {
  display: block;
  font-family: var(--font-heading);
  font-size: .8125rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: .375rem;
}
.form-input {
  width: 100%;
  padding: .75rem 1rem;
  border: 1.5px solid var(--border-form);
  border-radius: var(--radius-ui);
  font-family: var(--font-body);
  font-size: .9rem;
  color: var(--text-primary);
  background: #fff;
  transition: border-color .2s, box-shadow .2s;
  outline: none;
}
.form-input:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(37,99,235,.1);
}
.form-input::placeholder { color: var(--text-muted); }
textarea.form-input { resize: vertical; min-height: 140px; }

/* ═══════════════════════════════════════════════════════════
   FOOTER — exact match: #060e1c, 4 columns
   ═══════════════════════════════════════════════════════════ */
.site-footer {
  background: var(--navy-dark);
  border-top: 1px solid rgba(255,255,255,.08);
  margin-top: auto;
}
.footer-accent-line {
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(37,99,235,.4), transparent);
}
.footer-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 3rem 1.5rem 4rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 2rem 3rem;
  margin-bottom: 2.5rem;
}
.footer-logo {
  display: flex;
  align-items: center;
  gap: .625rem;
  margin-bottom: 1.25rem;
  text-decoration: none;
}
.footer-logo-badge {
  width: 36px; height: 36px;
  border-radius: 10px;
  background: var(--blue);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.footer-logo-badge span {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: .75rem;
  color: #fff;
}
.footer-logo-name {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: .9375rem;
  color: #fff;
  line-height: 1.2;
}
.footer-logo-sub {
  font-family: var(--font-heading);
  font-size: .625rem;
  color: var(--text-navy);
}
.footer-bio {
  font-size: .875rem;
  color: var(--text-navy);
  line-height: 1.7;
  max-width: 380px;
  margin-bottom: 1.5rem;
}
.footer-socials {
  display: flex;
  flex-wrap: wrap;
  gap: .625rem;
}
.footer-social-link {
  width: 36px; height: 36px;
  border-radius: 8px;
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.08);
  display: flex; align-items: center; justify-content: center;
  color: var(--text-navy);
  text-decoration: none;
  transition: background .2s, border-color .2s, color .2s;
}
.footer-social-link:hover {
  background: rgba(37,99,235,.2);
  border-color: rgba(37,99,235,.3);
  color: #60A5FA;
}
.footer-social-link svg { width: 16px; height: 16px; }
.footer-col-head {
  font-family: var(--font-heading);
  font-size: .625rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .18em;
  color: var(--text-navy-dim);
  margin-bottom: 1.25rem;
}
.footer-links { list-style: none; padding: 0; margin: 0; }
.footer-links li { margin-bottom: .625rem; }
.footer-links a {
  font-size: .875rem;
  color: var(--text-navy);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: .5rem;
  transition: color .15s;
}
.footer-links a::before {
  content: '';
  width: 4px; height: 4px;
  border-radius: 50%;
  background: rgba(37,99,235,.3);
  flex-shrink: 0;
  transition: background .15s;
}
.footer-links a:hover { color: #60A5FA; }
.footer-links a:hover::before { background: var(--blue); }
.footer-affil-name {
  font-family: var(--font-heading);
  font-size: .875rem;
  color: var(--text-navy);
  margin-bottom: .1rem;
}
.footer-affil-sub {
  font-size: .625rem;
  color: var(--text-navy-dim);
  margin-bottom: .75rem;
}
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.05);
  padding-top: 2rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: .5rem;
}
.footer-copy {
  font-family: var(--font-heading);
  font-size: .75rem;
  color: var(--text-navy-dim);
}

/* ═══════════════════════════════════════════════════════════
   ADMIN PANEL
   ═══════════════════════════════════════════════════════════ */
.admin-sidebar {
  width: 240px;
  background: var(--navy);
  min-height: 100vh;
  position: fixed;
  top: 0; left: 0;
  z-index: 100;
  overflow-y: auto;
  border-right: 1px solid rgba(255,255,255,.06);
  flex-shrink: 0;
}
.admin-sidebar .sidebar-logo {
  padding: 1.25rem 1.5rem;
  border-bottom: 1px solid rgba(255,255,255,.06);
}
.admin-sidebar .sidebar-link {
  display: flex;
  align-items: center;
  gap: .75rem;
  padding: .625rem 1.5rem;
  color: rgba(255,255,255,.55);
  text-decoration: none;
  font-family: var(--font-heading);
  font-size: .8125rem;
  font-weight: 500;
  transition: color .2s, background .2s;
}
.admin-sidebar .sidebar-link:hover,
.admin-sidebar .sidebar-link.active {
  color: #fff;
  background: rgba(255,255,255,.07);
}
.admin-sidebar .sidebar-section {
  font-family: var(--font-heading);
  font-size: .5625rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .15em;
  color: rgba(255,255,255,.3);
  padding: .5rem 1.5rem;
  margin: .5rem 0 0;
}
.admin-main {
  margin-left: 240px;
  min-height: 100vh;
  background: #F1F5F9;
  flex: 1;
}
.admin-topbar {
  background: #fff;
  border-bottom: 1px solid var(--border);
  padding: .875rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.admin-content { padding: 2rem 1.5rem; }

/* ═══════════════════════════════════════════════════════════
   RESPONSIVE
   ═══════════════════════════════════════════════════════════ */
@media (max-width: 1023.98px) {
  /* hv2 hero — tablet/mobile: content → photo → stats stacked */
  .hv2 { flex-direction: column; justify-content: flex-start; align-items: stretch; padding-top: 4rem; }
  .hv2__photo-panel { display: none; }

  /* Flex order: content first, photo second, mobile stats third */
  .hv2__content      { order: 1; padding: 2rem 1.5rem 1.5rem; }
  .hv2__mobile-photo { order: 2; display: block; height: 600px; pointer-events: none; position: relative; }
  .hv2__stats--mobile { order: 3; }

  /* Show the floating card over the mobile photo */
  .hv2__fcard--mobile {
    display: block;
    bottom: 2rem; right: 1.25rem;
    min-width: 180px;
  }

  /* Desktop stats hidden on mobile */
  .hv2__stats--desk { display: none !important; }

  /* Mobile stats strip */
  .hv2__stats.hv2__stats--mobile {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
    padding: 1.75rem 1.5rem;
    background: var(--navy);
  }

  /* Name larger */
  .hv2__name { font-size: 2.75rem; }

  .hv2__content-inner { max-width: 100%; text-align: center; }
  .hv2__avail, .hv2__eyebrow, .hv2__tags, .hv2__ctas, .hv2__stats { justify-content: center; }
  .hv2__sub { margin-left: auto; margin-right: auto; }
  .hv2__scroll-cue { display: none; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 767.98px) {
  /* Show hamburger toggle — hide desktop nav links & CTA */
  .nav-links { display: none !important; }
  .nav-cta { display: none !important; }
  .nav-toggle { display: flex !important; }

  /* Hero adjustments for small screens */
  .hv2 { padding-top: 3rem; }
  .hv2__name { font-size: 2.75rem; }
  .hv2__mobile-photo { height: 560px; }
  .hv2__content { padding: 1.5rem 1.25rem 1.25rem; }
  .hv2__stats.hv2__stats--mobile { gap: 1.25rem; padding: 1.25rem 1rem; }

  /* Compact the card a touch on small phones */
  .hv2__fcard--mobile {
    bottom: 1.5rem; right: 1rem;
    min-width: 160px;
    padding: .875rem 1rem;
  }
  .hv2__fcard-title  { font-size: .75rem; }
  .hv2__fcard-inst   { font-size: .625rem; }

  /* Section spacing */
  .section-white, .section-surface, .cta-dark { padding: 2.5rem 0; }
  .hero-dark { padding: 2.5rem 0 2rem; }

  /* ── Center inner-page hero text on mobile ── */
  .hero-dark .container { text-align: center; }
  .hero-dark .page-eyebrow,
  .hero-dark .eyebrow-line { justify-content: center; }
  .hero-dark .page-hero-sub { margin-left: auto; margin-right: auto; }
  /* Stat pills row */
  .hero-dark .d-flex.flex-wrap { justify-content: center !important; }

  /* ── Center section-level heading rulers ── */
  .section-divider { justify-content: center; }

  /* Footer */
  .footer-grid { grid-template-columns: 1fr; }
  .hv2__photo-panel { border-radius: 0; right: 0; box-shadow: none; }
}

/* ── Admin panel — mobile / tablet (below lg = 991.98px) ─── */
@media (max-width: 991.98px) {

  /* Sidebar: hidden off-screen, slides in as a drawer */
  .admin-sidebar {
    position: fixed !important;
    top: 0; left: 0;
    width: 240px !important;
    height: 100% !important;
    min-height: 100% !important;
    transform: translateX(-100%);
    transition: transform .28s cubic-bezier(.4,0,.2,1);
    z-index: 1045;
    overflow-y: auto;
    overflow-x: hidden;
  }
  .admin-sidebar.open { transform: translateX(0); }

  /* Main content: no sidebar offset, full-width, allow shrink */
  .admin-main {
    margin-left: 0 !important;
    overflow-x: hidden;
    min-width: 0;       /* let flex child shrink below intrinsic content width */
    width: 100%;
  }

  /* Topbar: dark navy theme matching sidebar, room for hamburger */
  .admin-topbar {
    padding-left: 4.25rem !important;
    flex-wrap: nowrap !important;
    background: var(--navy) !important;
    border-bottom: 1px solid rgba(255,255,255,.08) !important;
    min-height: 56px;
  }
  /* Hide the welcome-date subtitle on mobile (saves space in topbar) */
  .admin-topbar > div > p { display: none !important; }
  /* Clip long page titles gracefully, white text on dark bg */
  .admin-topbar h1 {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    max-width: 50vw;
    color: rgba(255,255,255,.92) !important;
  }
  /* "Add New" / primary action buttons — ghost style for dark topbar */
  .admin-topbar .btn-primary-custom {
    background: rgba(37,99,235,.25) !important;
    color: #93C5FD !important;
    border: 1px solid rgba(37,99,235,.45) !important;
    box-shadow: none !important;
    padding: .375rem .75rem !important;
    font-size: .75rem !important;
  }
  /* "View Site" / quick-link buttons — ghost style for dark topbar */
  .admin-topbar .quick-link {
    background: rgba(255,255,255,.07) !important;
    color: rgba(255,255,255,.7) !important;
    border-color: rgba(255,255,255,.12) !important;
    padding: .375rem .75rem !important;
    font-size: .75rem !important;
  }
  /* Hamburger blends into navy topbar */
  .admin-mobile-toggle {
    background: rgba(255,255,255,.1) !important;
    box-shadow: none !important;
  }
  .admin-mobile-toggle:hover { background: rgba(255,255,255,.18) !important; }

  /* Tighter content padding on tablets */
  .admin-content { padding: 1.25rem 1rem !important; }

  /* Backdrop overlay */
  .admin-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,.48);
    z-index: 1044;
    backdrop-filter: blur(2px);
    display: none;
  }
  .admin-overlay.open { display: block; }

  /* Hamburger toggle button (fixed top-left) */
  .admin-mobile-toggle {
    display: flex !important;
    align-items: center;
    justify-content: center;
    position: fixed;
    top: .875rem;
    left: 1rem;
    width: 38px; height: 38px;
    background: var(--navy);
    border: none;
    border-radius: 8px;
    color: #fff;
    font-size: 1.25rem;
    cursor: pointer;
    z-index: 1035;
    box-shadow: 0 2px 8px rgba(0,0,0,.3);
  }

  /* Close ✕ inside sidebar */
  .admin-sidebar-close {
    display: flex !important;
    align-items: center;
    justify-content: center;
    position: absolute;
    top: .875rem; right: .875rem;
    width: 30px; height: 30px;
    background: rgba(255,255,255,.08);
    border: none;
    border-radius: 6px;
    color: rgba(255,255,255,.6);
    font-size: .9rem;
    cursor: pointer;
    transition: background .2s;
  }
  .admin-sidebar-close:hover { background: rgba(255,255,255,.16); color: #fff; }
}

/* Even tighter padding on phones */
@media (max-width: 479.98px) {
  .admin-content { padding: .875rem .625rem !important; }
  .admin-topbar {
    padding-left: 3.25rem !important;
    padding-right: .875rem !important;
  }
}

/* Desktop: hide mobile-only elements */
@media (min-width: 992px) {
  .admin-mobile-toggle { display: none !important; }
  .admin-overlay        { display: none !important; }
  .admin-sidebar-close  { display: none !important; }
}

@media (min-width: 1024px) and (max-width: 1279.98px) {
  .hv2__photo-panel { width: 45%; right: 1.5rem; } /* container fills full width here, so just padding */
  .hv2__content-inner { max-width: 52%; }
  .hv2__name { font-size: clamp(2.5rem, 4vw, 4rem); }
}

@media (min-width: 1024px) {
  .step-connector { display: block; }
}


/* ═══════════════════════════════════════════════════════════
   LEGACY / ALIAS CLASSES — backwards-compat for all pages
   ═══════════════════════════════════════════════════════════ */

/* ── Section backgrounds (old names) ── */
.section-muted  { background: var(--surface); padding: 4rem 0; }
.section-light  { background: #fff;           padding: 4rem 0; }

/* ── Gradient text alias ── */
.text-gradient {
  background: none;
  -webkit-background-clip: unset;
  background-clip: unset;
  -webkit-text-fill-color: unset;
  color: var(--blue);
  animation: none;
}

/* ── Section typography ── */
.section-title {
  font-family: var(--font-display);
  font-weight: 900;
  color: var(--text-primary);
  margin-bottom: 0;
  line-height: 1.08;
}
.section-eyebrow {
  font-family: var(--font-heading);
  font-size: .6875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .22em;
}

/* ── Section header layout ── */
.eyebrow-line {
  display: flex;
  align-items: center;
  gap: .75rem;
  margin-bottom: 1rem;
}
.section-divider {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: .75rem;
}
.divider-rule {
  height: 3px;
  width: 2.5rem;
  border-radius: 999px;
  background: var(--blue);
  flex-shrink: 0;
}

/* ── Inner-page hero decorations ── */
.hero-glow-right {
  position: absolute;
  top: 0; right: 0;
  width: 500px; height: 500px;
  background: rgba(37,99,235,.1);
  border-radius: 50%;
  filter: blur(120px);
  pointer-events: none;
}
.hero-line-top {
  position: absolute;
  top: 0; inset-x: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(37,99,235,.4), transparent);
  pointer-events: none;
}
.hero-line-bottom {
  position: absolute;
  bottom: 0; inset-x: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.08), transparent);
  pointer-events: none;
}

/* ── Card base ── */
.card-base {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  padding: 1.5rem;
  box-shadow: var(--shadow-card);
  transition: transform .25s, box-shadow .25s;
}
.card-base:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-card-hover);
}

/* ── Tags / expertise ── */
.expertise-tag {
  display: inline-block;
  font-family: var(--font-heading);
  font-size: .6875rem;
  font-weight: 600;
  padding: .25rem .625rem;
  border-radius: 999px;
  border: 1px solid #BFDBFE;
  background: var(--blue-soft);
  color: var(--blue-hover);
}
.expertise-tag.tag-blue,
.expertise-tag.tag-teal,
.expertise-tag.tag-violet,
.expertise-tag.tag-amber,
.expertise-tag.tag-rose,
.expertise-tag.tag-cyan {
  background: var(--blue-soft);
  color: var(--blue-hover);
  border-color: #BFDBFE;
}
.expertise-tag.tag-featured,
.badge-featured {
  background: rgba(212,168,83,.12);
  color: #92400E;
  border-color: rgba(212,168,83,.4);
}

/* ── Blog category badge ── */
.blog-cat-badge {
  display: inline-block;
  font-family: var(--font-heading);
  font-size: .625rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .06em;
  padding: .2rem .625rem;
  border-radius: 999px;
  background: rgba(37,99,235,.08);
  color: var(--blue);
  border: 1px solid rgba(37,99,235,.18);
  margin-bottom: .375rem;
}

/* ── Publication card helpers ── */
.pub-year {
  font-family: var(--font-heading);
  font-size: .75rem;
  color: var(--text-muted);
}
.pub-title {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: .875rem;
  color: var(--text-primary);
  line-height: 1.55;
  margin-bottom: .5rem;
}
.pub-venue {
  font-family: var(--font-heading);
  font-size: .75rem;
  color: var(--text-secondary);
  font-style: italic;
}

/* ── Buttons (old names) ── */
.btn-primary-custom {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .625rem 1.375rem;
  border-radius: var(--radius-btn);
  background: var(--blue);
  color: #fff !important;
  font-family: var(--font-heading);
  font-size: .875rem;
  font-weight: 600;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: background .2s, transform .15s;
  box-shadow: none;
}
.btn-primary-custom:hover {
  background: var(--blue-hover);
  transform: translateY(-1px);
}
.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .75rem 1.75rem;
  border-radius: var(--radius-btn);
  background: transparent;
  color: #fff;
  font-family: var(--font-heading);
  font-size: .875rem;
  font-weight: 600;
  text-decoration: none;
  border: 1px solid rgba(255,255,255,.22);
  cursor: pointer;
  transition: background .2s;
  backdrop-filter: blur(4px);
}
.btn-ghost:hover {
  background: rgba(255,255,255,.1);
  color: #fff;
}

/* ── Admin form controls ── */
.form-label-custom {
  display: block;
  font-family: var(--font-heading);
  font-size: .8125rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: .375rem;
}
.form-control-custom {
  width: 100%;
  padding: .625rem .875rem;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-ui);
  font-family: var(--font-body);
  font-size: .875rem;
  color: var(--text-primary);
  background: #fff;
  transition: border-color .2s, box-shadow .2s;
  outline: none;
  -webkit-appearance: none;
  appearance: none;
}
.form-control-custom:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(37,99,235,.1);
}
.form-control-custom::placeholder { color: var(--text-muted); }
select.form-control-custom { cursor: pointer; }
textarea.form-control-custom { resize: vertical; min-height: 120px; }

/* ── Footer Bootstrap-Icons sizing & misc ── */
.footer-social-link i { font-size: .875rem; }
.footer-tag {
  display: inline-flex;
  align-items: center;
  gap: .375rem;
  font-family: var(--font-heading);
  font-size: .75rem;
  color: var(--text-navy);
}

/* ── Tag pill — hero expertise badges (dark sections) ── */
.tag-pill {
  display: inline-block;
  font-family: var(--font-heading);
  font-size: .6875rem;
  font-weight: 600;
  padding: .25rem .75rem;
  border-radius: 999px;
  background: rgba(255,255,255,.08);
  color: rgba(255,255,255,.75);
  border: 1px solid rgba(255,255,255,.14);
}

/* ── Filter pills (blog / publications category tabs) ── */
.filter-pill {
  display: inline-flex;
  align-items: center;
  gap: .375rem;
  padding: .5rem 1.125rem;
  border-radius: var(--radius-btn);
  font-family: var(--font-heading);
  font-size: .8125rem;
  font-weight: 600;
  text-decoration: none;
  border: 1.5px solid var(--border);
  background: #fff;
  color: var(--text-secondary);
  cursor: pointer;
  transition: border-color .15s, color .15s, background .15s, box-shadow .15s;
}
.filter-pill:hover { border-color: rgba(37,99,235,.3); color: var(--blue); background: #EFF6FF; }
.filter-pill.active {
  background: var(--blue);
  color: #fff !important;
  border-color: var(--blue);
  box-shadow: none;
}

/* ── Pagination ── */
.page-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 36px; height: 36px;
  padding: 0 .5rem;
  border-radius: 8px;
  font-family: var(--font-heading);
  font-size: .8125rem;
  font-weight: 600;
  color: var(--text-secondary);
  background: #fff;
  border: 1.5px solid var(--border);
  text-decoration: none;
  transition: border-color .15s, color .15s, background .15s;
}
.page-btn:hover { border-color: var(--blue); color: var(--blue); background: #EFF6FF; }
.page-btn.active {
  background: var(--blue);
  color: #fff !important;
  border-color: var(--blue);
  box-shadow: none;
}
.page-ellipsis {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px; height: 36px;
  color: var(--text-muted);
  font-size: .85rem;
}

/* ── Share buttons (blog cards + post) ── */
.share-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px; height: 26px;
  border-radius: 6px;
  font-size: .75rem;
  color: var(--text-muted);
  background: transparent;
  border: 1px solid var(--border);
  text-decoration: none;
  cursor: pointer;
  transition: all .15s;
  padding: 0;
  flex-shrink: 0;
}
.share-btn:hover {
  background: var(--surface-alt);
  border-color: rgba(37,99,235,.3);
  color: var(--blue);
}
.share-btn--x:hover     { color: #000; border-color: #000; background: #f5f5f5; }
.share-btn--li:hover    { color: #0A66C2; border-color: #0A66C2; background: #EBF5FF; }
.share-btn--fb:hover    { color: #1877F2; border-color: #1877F2; background: #EBF3FF; }
.share-btn--wa:hover    { color: #25D366; border-color: #25D366; background: #EDFFF5; }
.share-btn--copy:hover  { color: var(--blue); border-color: var(--blue); background: #EFF6FF; }

/* Post share bar (larger) */
.post-share-bar { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem; }
.post-share-btn {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .5rem .875rem;
  border-radius: 8px;
  font-family: var(--font-heading);
  font-size: .75rem;
  font-weight: 600;
  color: var(--text-secondary);
  border: 1.5px solid var(--border);
  text-decoration: none;
  cursor: pointer;
  transition: all .15s;
  background: #fff;
}
.post-share-btn:hover           { background: var(--surface-alt); }
.post-share-btn.btn-x:hover     { color: #000; border-color: #000; }
.post-share-btn.btn-li:hover    { color: #0A66C2; border-color: #0A66C2; background: #EBF5FF; }
.post-share-btn.btn-fb:hover    { color: #1877F2; border-color: #1877F2; background: #EBF3FF; }
.post-share-btn.btn-wa:hover    { color: #25D366; border-color: #25D366; background: #EDFFF5; }
.post-share-btn.btn-copy:hover  { color: var(--blue); border-color: var(--blue); background: #EFF6FF; }

/* ── Responsive: 4-col footer ── */
@media (max-width: 1023.98px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 767.98px) {
  .footer-grid { grid-template-columns: 1fr; }
}

/* ── Card thumbnail hover-zoom (homepage Selected Work + Blog cards) ── */
.cs-thumb, .blog-thumb {
  transition: transform .45s ease;
}
a:hover .cs-thumb,
a:hover .blog-thumb,
[onclick]:hover .cs-thumb {
  transform: scale(1.06);
}


/* ═══════════════════════════════════════════════════════════
   BRAND COLOR SYSTEM — FINAL OVERRIDES
   Enforces: Navy + Research Blue + Neutrals (+ Gold for featured only)
   ═══════════════════════════════════════════════════════════ */

/* Bootstrap warning/info utility leaks → Research Blue */
.hero-dark .text-warning,
.hero-dark .text-teal,
.hero-dark .text-info,
.hv2 .text-warning { color: var(--blue-light) !important; }
.section-muted .text-warning,
.section-light .text-warning,
.section-white .text-warning,
.section-surface .text-warning { color: var(--blue) !important; }

/* Neutralize rainbow Bootstrap badge leftovers */
.bg-teal-600, .bg-amber-600, .bg-purple-600, .bg-violet-600 {
  background: var(--blue) !important;
  color: #fff !important;
}

/* Soft decorative hero overlays only (allowed <5% feel via low alpha) — already low alpha */

/* Dark-section glass/service pills stay monochrome */
.glass { border-color: rgba(255,255,255,.12); }

/* Icon default color on light surfaces */
.bi.icon-brand { color: var(--navy); }
a .bi { color: inherit; }

/* Featured / award gold — explicit opt-in only */
.badge-featured,
.featured-badge,
.pub-badge--featured,
span.tag-featured {
  background: rgba(212,168,83,.14) !important;
  color: #92400E !important;
  border: 1px solid rgba(212,168,83,.4) !important;
}

/* Share buttons — unified navy/blue, not rainbow platform colors */
.share-btn,
.post-share-btn {
  background: var(--surface-alt) !important;
  color: var(--navy) !important;
  border: 1px solid var(--border) !important;
}
.share-btn:hover,
.post-share-btn:hover,
.share-btn--x:hover,
.share-btn--li:hover,
.share-btn--fb:hover,
.share-btn--wa:hover,
.share-btn--copy:hover,
.post-share-btn.btn-x:hover,
.post-share-btn.btn-li:hover,
.post-share-btn.btn-fb:hover,
.post-share-btn.btn-wa:hover,
.post-share-btn.btn-copy:hover {
  background: var(--blue-soft) !important;
  color: var(--blue) !important;
  border-color: #BFDBFE !important;
}

/* Focus ring consistency */
a:focus-visible,
button:focus-visible,
.form-input:focus,
.form-control-custom:focus {
  outline: 2px solid var(--blue);
  outline-offset: 2px;
}
