/* ── Reset & Base ─────────────────────────────────────────── */
:root{
  --bg:#fafaf7;
  --fg:#1a2740;
  --muted:#5a6478;
  --muted-fg:#5a6478;
  --primary:#16325c;
  --primary-fg:#1a2740;
  --accent:#f07a1f;
  --accent-2:#f5a142;
  --card:#ffffff;
  --section-alt:linear-gradient(180deg,#fff,#f4efe6);
  --footer-bg:#0e1c36;
  --border:rgba(20,30,60,.08);
  --hero-overlay:rgba(10,18,40,.55);
  --glass-bg:rgba(255,255,255,.55);
  --glass-border:rgba(255,255,255,.4);
  --shadow-lg:0 20px 60px -20px rgba(20,40,80,.25);
  --shadow-glass:0 10px 40px -10px rgba(20,40,80,.18), inset 0 1px 0 rgba(255,255,255,.6);
  --radius:16px;
  --ease:cubic-bezier(.22,1,.36,1);
}

:root[data-theme="dark"]{
  --bg:#0b1220;
  --fg:#e8ecf5;
  --muted:#8a93a8;
  --muted-fg:#8a93a8;
  --primary:#e8ecf5;
  --primary-fg:#e8ecf5;
  --accent:#ff8a3d;
  --accent-2:#ffb066;
  --card:#131c30;
  --section-alt:linear-gradient(180deg,#0b1220,#0e1730);
  --footer-bg:#060b18;
  --border:rgba(255,255,255,.08);
  --glass-bg:rgba(20,30,55,.5);
  --glass-border:rgba(255,255,255,.08);
  --shadow-lg:0 20px 60px -20px rgba(0,0,0,.6);
  --shadow-glass:0 10px 40px -10px rgba(0,0,0,.5), inset 0 1px 0 rgba(255,255,255,.08);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background: var(--bg);
  color: var(--fg);
  line-height: 1.6;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }

/* ============== LIQUID GLASS NAV ============== */
.nav {
  max-width: 1152px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 16px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--nav-bg);
  position: relative;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 25px 50px -12px rgba(0,0,0,.4);
}
@media (min-width: 768px) { .nav { padding: 12px 24px; } }

/* liquid sheen */
.nav::before{
  content:"";position:absolute;inset:0;border-radius:inherit;pointer-events:none;
  background:linear-gradient(120deg,transparent 30%,rgba(255,255,255,.45) 50%,transparent 70%);
  background-size:200% 100%;
  animation:sheen 9s linear infinite;
  mix-blend-mode:overlay;opacity:.6;
}
@keyframes sheen{0%{background-position:200% 0}100%{background-position:-200% 0}}



/* Brand */
.brand {
  display: flex; align-items: center; gap: 12px;
  text-decoration: none; color: var(--text);
  transition: opacity .2s;
}
.brand:hover { opacity: .9; }
.brand__logo {
  height: 120px; width: 120px; object-fit: contain;
  border-radius: 999px;
}
@media (min-width: 768px) {
  .brand__logo { height: 120px; width: 120px; }
}
.brand__text { font-weight: 700; line-height: 1.1; }
.accent { color: var(--accent); }
.brand__text--desktop { display: none; font-size: 16px; }
.brand__text--mobile  { display: flex; flex-direction: column; font-size: 14px; }
.brand__text--mobile .line { display: block; }
@media (min-width: 768px) {
  .brand__text--desktop { display: block; }
  .brand__text--mobile  { display: none; }
}

/* Desktop nav */
.nav__list {
  display: none;
  list-style: none; margin: 0; padding: 0;
  gap: 4px; align-items: center;
}
@media (min-width: 1024px) { .nav__list { display: flex; } }

.nav__item { position: relative; }
.nav__link {
  display: inline-flex; align-items: center; gap: 4px;
  padding: 8px 12px;
  border: 0; background: transparent;
  font: inherit; font-size: 14px; font-weight: 500;
  color: var(--text-muted); cursor: pointer;
  border-radius: 9999px;
  text-decoration: none;
  transition: color .2s;
}
.nav__link:hover { color: var(--text); }
.chev {
  width: 16px; height: 16px;
  fill: none; stroke: currentColor; stroke-width: 2;
  stroke-linecap: round; stroke-linejoin: round;
  transition: transform .25s ease;
}
.has-sub:hover .chev,
.m-item.open .chev { transform: rotate(180deg); }



/* Submenu */
.submenu {
  position: absolute;
  top: 100%; left: 50%;
  transform: translate(-50%, 8px) scale(.96);
  margin-top: 12px;
  list-style: none; padding: 8px;
  width: 224px;
  background: var(--sub-bg);
  border: 1px solid var(--border);
  border-radius: 16px;
  box-shadow: 0 20px 40px rgba(0,0,0,.35);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  opacity: 0;
  pointer-events: none;
  transition: opacity .2s ease, transform .2s ease;
  z-index: 60;
}
.has-sub:hover .submenu,
.has-sub:focus-within .submenu {
  opacity: 1;
  pointer-events: auto;
  transform: translate(-50%, 0) scale(1);
}
.submenu li { opacity: 0; transform: translateX(-8px); transition: opacity .25s ease, transform .25s ease; }
.has-sub:hover .submenu li { opacity: 1; transform: translateX(0); }
.submenu li:nth-child(1) { transition-delay: .04s; }
.submenu li:nth-child(2) { transition-delay: .08s; }
.submenu li:nth-child(3) { transition-delay: .12s; }
.submenu li:nth-child(4) { transition-delay: .16s; }
.submenu a {
  display: block; padding: 8px 12px; font-size: 14px;
  color: var(--text-muted); text-decoration: none;
  border-radius: 8px;
  transition: background .15s, color .15s;
}
.submenu a:hover { background: var(--chip); color: var(--accent); }

/* Actions */
.nav__actions { display: flex; align-items: center; gap: 8px; }
.icon-btn {
  display: grid; place-items: center;
  height: 40px; width: 40px;
  border: 0; background: var(--chip);
  color: var(--text);
  border-radius: 9999px; cursor: pointer;
  backdrop-filter: blur(12px);
  transition: background .2s;
}
.icon-btn:hover { background: var(--chip-hover); }
.icon { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; transition: opacity .2s, transform .25s; }

/* Theme icon visibility */
.icon-sun  { display: none; }
.icon-moon { display: block; }
[data-theme="light"] .icon-sun  { display: block; }
[data-theme="light"] .icon-moon { display: none; }

/* Burger */
.burger { display: grid; }
@media (min-width: 1024px) { .burger { display: none; } }
.icon-x { display: none; }
.mobile-open .icon-menu { display: none; }
.mobile-open .icon-x    { display: block; }

/* Mobile menu */
.mobile-menu {
  max-width: 1152px;
  margin: 8px auto 0;
  border-radius: 24px;
  border: 1px solid var(--border);
  background: var(--sub-bg);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  overflow: hidden;
  max-height: 0;
  opacity: 0;
  transform: translateY(-10px);
  transition: max-height .3s ease, opacity .25s ease, transform .25s ease, padding .3s ease;
}
.mobile-menu.open {
  max-height: 600px;
  opacity: 1;
  transform: translateY(0);
}
.mobile-menu__inner { padding: 16px; }
@media (min-width: 1024px) { .mobile-menu, #burger { display: none; } }

.m-item { border-radius: 12px; }
.m-link {
  display: flex; align-items: center; justify-content: space-between;
  width: 100%; padding: 12px;
  border: 0; background: transparent;
  font: inherit; font-size: 14px; font-weight: 500;
  color: var(--text-muted); text-decoration: none;
  border-radius: 8px; cursor: pointer;
}
.m-link:hover { background: var(--chip); }
.m-sub {
  list-style: none; padding: 0 0 0 16px; margin: 0;
  max-height: 0; overflow: hidden;
  transition: max-height .3s ease;
}
.m-item.open .m-sub { max-height: 240px; }
.m-sub a {
  display: block; padding: 8px 12px; font-size: 14px;
  color: var(--text-muted); text-decoration: none;
  border-radius: 8px;
  transition: background .15s, color .15s;
}
.m-sub a:hover { background: var(--chip); color: var(--accent); }

/* ============== RESPONSIVE ============== */
@media (max-width:960px){
  .nav__menu,.nav__cta{display:none}
  .nav__burger{display:flex}
  .nav__inner{border-radius:22px}
}
@media (max-width:600px){
  .section{padding:4rem 0}
  .hero__content{padding-top:6rem}
}

/* ============== FOOTER ============== */
.footer{background:var(--footer-bg);color:#fff;padding:5rem 0 2rem}
.footer__top{text-align:center;margin-bottom:4rem}
.footer__top h2{margin-bottom:1.5rem}

.footer__grid{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(200px,1fr));
  gap:2.5rem;
  padding:3rem 0;
  border-top:1px solid rgba(255,255,255,.08);
  border-bottom:1px solid rgba(255,255,255,.08);
}
.footer__col h3{
  font-size:1.25rem;color:#fff;margin-bottom:.75rem;
}
.footer__col h3 span{color:var(--accent)}
.footer__col h4{
  font-size:.85rem;text-transform:uppercase;letter-spacing:.15em;
  color:var(--accent-2);margin-bottom:1.1rem;font-weight:600;
}
.footer__brand p{color:rgba(255,255,255,.65);font-size:.95rem;line-height:1.6;max-width:28ch}
.footer__col ul{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:.6rem}
.footer__col ul a{
  color:rgba(255,255,255,.7);font-size:.92rem;
  transition:color .25s var(--ease),padding-left .25s var(--ease);
}
.footer__col ul a:hover{color:var(--accent);padding-left:.3rem}
.footer__times li{
  display:flex;flex-direction:column;gap:.15rem;
  color:rgba(255,255,255,.7);font-size:.9rem;
}
.footer__times li strong{color:#fff;font-weight:600;font-size:.92rem}
.footer__contact li{color:rgba(255,255,255,.75);font-size:.92rem;line-height:1.5}
.footer__contact a{color:rgba(255,255,255,.75)}
.footer__contact a:hover{color:var(--accent)}

.footer__small{margin-top:2rem;color:rgba(255,255,255,.5);font-size:.85rem;text-align:center}


/* ============== THEME TOGGLE ============== */
.theme-toggle{
  width:38px;height:38px;border-radius:999px;border:0;cursor:pointer;
  display:inline-flex;align-items:center;justify-content:center;
  background:rgba(255,255,255,.5);color:var(--primary);
  border:1px solid var(--glass-border);
  transition:transform .5s var(--ease),background .3s var(--ease),color .3s var(--ease);
  position:relative;overflow:hidden;
}
:root[data-theme="dark"] .theme-toggle{background:rgba(255,255,255,.06)}
.theme-toggle:hover{transform:rotate(20deg) scale(1.08)}
.theme-toggle svg{width:18px;height:18px;position:absolute;transition:transform .5s var(--ease),opacity .35s var(--ease)}
.theme-toggle .icon-moon{opacity:0;transform:rotate(-90deg) scale(.5)}
.theme-toggle .icon-sun{opacity:1;transform:rotate(0) scale(1)}
:root[data-theme="dark"] .theme-toggle .icon-sun{opacity:0;transform:rotate(90deg) scale(.5)}
:root[data-theme="dark"] .theme-toggle .icon-moon{opacity:1;transform:rotate(0) scale(1)}
.footer h2{margin-bottom:1.5rem}
.footer__small{margin-top:3rem;color:var(--muted-fg);font-size:.85rem}

/* ============== REVEAL ============== */
.reveal{opacity:0;transform:translateY(40px);transition:opacity .9s var(--ease),transform .9s var(--ease)}
.reveal.is-visible{opacity:1;transform:translateY(0)}

/* ============== RESPONSIVE ============== */
@media (max-width:960px){
  .nav__menu,.nav__cta{display:none}
  .nav__burger{display:flex}
  .nav__inner{border-radius:22px}
}
@media (max-width:600px){
  .section{padding:4rem 0}
  .hero__content{padding-top:6rem}
}

/* ── Reveal animation ──────────────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ── Layout helpers ────────────────────────────────────────── */
.container { max-width: 1152px; margin: 0 auto; padding: 0 1rem; }
.section { padding-bottom: 6rem; }

/* ── Hero ──────────────────────────────────────────────────── */

.hero {
  position: relative;
  padding: 9rem 0 5rem;
  text-align: center;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.hero .blob1,
.hero .blob2 {
  position: absolute;
  border-radius: 9999px;
  filter: blur(80px);
  pointer-events: none;
}
.hero .blob1 { top: -8rem; left: -5rem; width: 24rem; height: 24rem; background: hsl(25 95% 53% / 0.18); }
.hero .blob2 { top: 5rem; right: 0; width: 20rem; height: 20rem; background: hsl(222 47% 31% / 0.13); }
.hero .eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.3em;
  color: var(--muted-fg);
  margin-bottom: 1.5rem;
}
.hero .eyebrow .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--accent); }
.hero h1 {
  font-size: clamp(2.5rem, 6vw, 4.25rem);
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1.08;
  margin-bottom: 1.5rem;
  color: var(--fg);
}
.hero h1 span { color: var(--accent); }
.hero .lead { max-width: 640px; margin: 0 auto; font-size: 1.1rem; color: var(--muted-fg); }

/* ── Featured Card ─────────────────────────────────────────── */
.featured {
  max-width: 1152px;
  margin: 0 auto;
  padding: 0 1rem 6rem;
}
.featured-card {
  border-radius: 2rem;
  overflow: hidden;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  color: var(--primary-fg);
  padding: 3rem;
  box-shadow: var(--shadow-elegant);
  display: grid;
  gap: 2.5rem;
  align-items: center;
  position: relative;
}
@media (min-width: 768px) { .featured-card { grid-template-columns: 1fr 1fr; padding: 4rem; } }
.featured-card .img-wrap {
  border-radius: 1rem;
  overflow: hidden;
  aspect-ratio: 4/5;
  box-shadow: 0 20px 60px -15px rgba(0,0,0,0.4);
}
.featured-card .img-wrap img { width: 100%; height: 100%; object-fit: cover; }
.featured-card .label {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.3em;
  font-weight: 700;
  opacity: 0.85;
  margin-bottom: 0.75rem;
}
.featured-card h2 {
  font-size: clamp(2rem, 4vw, 3.5rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.08;
  margin-bottom: 1.25rem;
}
.featured-card p { opacity: 0.88; line-height: 1.7; margin-bottom: 0.5rem; }
.btn-light {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 1rem;
  background: var(--bg);
  color: var(--fg);
  padding: 0.75rem 1.5rem;
  border-radius: 9999px;
  font-weight: 600;
  font-size: 0.9rem;
  box-shadow: var(--shadow-warm);
  transition: transform 0.25s;
}
.btn-light:hover { transform: translateY(-2px) scale(1.03); }

/* ── Section header ────────────────────────────────────────── */
.section-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 1rem;
  margin-bottom: 3rem;
}
.section-header .label { font-size: 0.7rem; text-transform: uppercase; letter-spacing: 0.3em; color: var(--accent); font-weight: 700; margin-bottom: 0.5rem; }
.section-header h2 { font-size: clamp(2rem, 4vw, 3rem); font-weight: 800; letter-spacing: -0.02em; }
.section-header .subtitle { max-width: 520px; color: var(--muted-fg); margin: 0 auto; }

/* ── Leader cards grid ─────────────────────────────────────── */
.leaders-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}
@media (min-width: 640px) { .leaders-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .leaders-grid { grid-template-columns: repeat(4, 1fr); } }

.leader-card {
  border-radius: 1.5rem;
  overflow: hidden;
  background: var(--card);
  border: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  text-align: center;
  transition: transform 0.45s ease, box-shadow 0.45s ease;
}
.leader-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-elegant); }
.leader-card .thumb {
  position: relative;
  aspect-ratio: 4/5;
  overflow: hidden;
}
.leader-card .thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.7s; }
.leader-card:hover .thumb img { transform: scale(1.08); }
.leader-card .thumb .overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.7) 0%, transparent 55%);
}
.leader-card .thumb .info {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 1.25rem;
  text-align: center;
  color: var(--primary-fg);
}
.leader-card .thumb .info .role { font-size: 0.65rem; text-transform: uppercase; letter-spacing: 0.2em; opacity: 0.8; }
.leader-card .thumb .info h3 { font-size: 1.15rem; font-weight: 700; margin-top: 0.25rem; }
.leader-card .body { padding: 1.25rem; flex: 1; display: flex; flex-direction: column; gap: 0.75rem; }
.leader-card .body .bio { font-size: 0.85rem; color: var(--muted-fg); flex: 1; }
.leader-card .body .email-link { display: inline-flex; align-items: center; justify-content: center; gap: 0.4rem; font-size: 0.85rem; font-weight: 600; color: var(--accent); transition: gap 0.3s; }
.leader-card .body .email-link:hover { gap: 0.7rem; }

/* ── Departments ───────────────────────────────────────────── */
.dept-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}
@media (min-width: 768px) { .dept-grid { grid-template-columns: repeat(2, 1fr); } }
.dept-card {
  border-radius: 1.5rem;
  overflow: hidden;
  background: var(--card);
  border: 1px solid var(--border);
  transition: transform 0.45s ease;
}
.dept-card:hover { transform: translateY(-4px); }
.dept-card .img { position: relative; aspect-ratio: 16/10; overflow: hidden; }
.dept-card .img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s; }
.dept-card:hover .img img { transform: scale(1.04); }
.dept-card .img .tag {
  position: absolute;
  top: 1rem;
  left: 1rem;
  padding: 0.3rem 0.75rem;
  border-radius: 9999px;
  background: var(--glass-bg);
  backdrop-filter: blur(12px);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--primary);
}
.dept-card .content { padding: 1.5rem 2rem; }
.dept-card .content h3 { font-size: 1.35rem; font-weight: 700; margin-bottom: 0.75rem; }
.dept-card .content p { color: var(--muted-fg); margin-bottom: 1.25rem; }
.dept-card .content .link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.85rem;
  font-weight: 600;
  border-bottom: 1px solid var(--border);
  padding-bottom: 2px;
  transition: gap 0.3s, color 0.3s;
}
.dept-card .content .link:hover { gap: 0.7rem; color: var(--accent); }

/* ── CTA ───────────────────────────────────────────────────── */
.cta-card {
  border-radius: 1.5rem;
  overflow: hidden;
  padding: 3rem;
  text-align: center;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  color: var(--primary-fg);
  box-shadow: var(--shadow-elegant);
}
@media (min-width: 768px) { .cta-card { padding: 4rem; } }
.cta-card h2 { font-size: clamp(1.75rem, 4vw, 3rem); font-weight: 800; margin-bottom: 1rem; }
.cta-card p { font-size: 1.1rem; opacity: 0.9; max-width: 640px; margin: 0 auto 2rem; }

/* ── Former heads tint ─────────────────────────────────────── */
.bg-tint { background: var(--secondary-bg); padding-top: 6rem; }
