:root {
  --navy: #0f2748;
  --navy-700: #1b3a6b;
  --blue: #2a5c9c;
  --blue-600: #346dbe;
  --cyan: #51aee5;
  --cyan-100: #e6f3fb;
  --ink: #16202c;
  --body: #3c4a5a;
  --muted: #64748b;
  --line: #e2e8f0;
  --bg: #ffffff;
  --bg-soft: #f6f9fc;
  --radius: 14px;
  --shadow: 0 1px 2px rgba(15, 39, 72, .06), 0 8px 24px rgba(15, 39, 72, .06);
  --shadow-lg: 0 12px 40px rgba(15, 39, 72, .12);
  --max: 1160px;
  --font: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font);
  font-weight: 450;
  font-size: 17px;
  line-height: 1.65;
  color: var(--body);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  font-feature-settings: "kern", "cv11";
}

h1, h2, h3, h4 {
  color: var(--ink);
  font-weight: 750;
  letter-spacing: -.02em;
  line-height: 1.18;
  text-wrap: balance;
  margin: 0 0 .6em;
}

h1 { font-size: clamp(2.1rem, 4.4vw, 3.3rem); }
h2 { font-size: clamp(1.6rem, 2.8vw, 2.2rem); }
h3 { font-size: 1.2rem; }

p { margin: 0 0 1.1em; }

a { color: var(--blue); text-decoration: none; }
a:hover { color: var(--navy-700); text-decoration: underline; }

img { max-width: 100%; height: auto; display: block; }

:focus-visible {
  outline: 3px solid var(--cyan);
  outline-offset: 2px;
  border-radius: 6px;
}

.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 24px; }

.skip {
  position: absolute; left: -9999px; top: 0; background: var(--navy); color: #fff;
  padding: 12px 18px; z-index: 100;
}
.skip:focus { left: 12px; top: 12px; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, .92);
  backdrop-filter: saturate(160%) blur(10px);
  border-bottom: 1px solid var(--line);
}
.nav {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  min-height: 74px;
}
.brand { display: flex; flex: none; align-items: center; gap: 12px; font-weight: 800; color: var(--navy); letter-spacing: -.02em; }
.brand:hover { text-decoration: none; }
.brand .mark { width: auto; height: 46px; flex: none; }
.brand .wordmark { display: flex; flex-direction: column; line-height: 1.05; }
.brand .wordmark b { font-size: 1.12rem; }
.brand .wordmark span { white-space: nowrap; font-size: .68rem; font-weight: 650; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }

.nav-links { display: flex; align-items: center; gap: 4px; }
.nav-links a {
  white-space: nowrap;
  padding: 9px 9px; border-radius: 9px; font-size: .9rem; font-weight: 600; color: var(--body);
}
.nav-links a:hover { background: var(--cyan-100); color: var(--navy-700); text-decoration: none; }
.nav-links a[aria-current="page"] { color: var(--navy); background: var(--cyan-100); }

.nav-links a.nav-cta { margin-left: 8px; color: #fff; }
.nav-links a.nav-cta:hover { background: var(--navy-700); color: #fff; }

.nav-toggle {
  display: none; border: 1px solid var(--line); background: #fff; border-radius: 10px;
  padding: 9px 12px; font-weight: 650; color: var(--navy); cursor: pointer;
}

@media (max-width: 1140px) {
  .nav-toggle { display: block; }
  .nav-links {
    display: none; position: absolute; top: 74px; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 2px;
    background: #fff; border-bottom: 1px solid var(--line); padding: 12px 18px 20px;
    box-shadow: var(--shadow);
  }
  .nav-links.open { display: flex; }
}

/* Buttons */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 12px 20px; border-radius: 10px; font-weight: 700; font-size: .95rem;
  transition: background-color .15s ease, color .15s ease, border-color .15s ease;
}
.btn:hover { text-decoration: none; }
.btn-primary { background: var(--blue); color: #fff; }
.btn-primary:hover { background: var(--navy-700); color: #fff; }
.btn-secondary { border: 1px solid var(--line); background: #fff; color: var(--navy); }
.btn-secondary:hover { border-color: var(--blue); color: var(--blue); }
.btn-ghost { border: 1px solid rgba(255,255,255,.35); color: #fff; }
.btn-ghost:hover { background: rgba(255,255,255,.12); color: #fff; }

/* Hero */
.hero {
  background:
    radial-gradient(1100px 460px at 12% -12%, rgba(81, 174, 229, .34), transparent 62%),
    linear-gradient(140deg, var(--navy) 0%, var(--navy-700) 52%, var(--blue) 100%);
  color: #fff;
  padding: 84px 0 92px;
}
.hero h1 { color: #fff; max-width: 22ch; font-size: clamp(1.9rem, 3.7vw, 2.9rem); text-wrap: balance; }
.hero p.lede { font-size: 1.16rem; color: rgba(255,255,255,.86); max-width: 62ch; }
.hero-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 48px; align-items: center; }
.hero-logo { background: #fff; border: 1px solid rgba(255,255,255,.5); border-radius: 20px; padding: 30px; box-shadow: 0 18px 50px rgba(6, 20, 40, .28); }
.eyebrow {
  display: inline-block; font-size: .78rem; font-weight: 750; letter-spacing: .14em;
  text-transform: uppercase; color: var(--cyan); margin-bottom: 14px;
}
.hero .eyebrow { color: #9fd6f4; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }

.page-hero {
  background: linear-gradient(140deg, var(--navy) 0%, var(--navy-700) 100%);
  color: #fff; padding: 62px 0 66px;
}
.page-hero h1 { color: #fff; margin-bottom: .35em; }
.page-hero p { color: rgba(255,255,255,.85); max-width: 68ch; margin: 0; }

/* Sections */
section { padding: 76px 0; }
.section-soft { background: var(--bg-soft); }
.section-head { max-width: 70ch; margin-bottom: 40px; }
.section-head p { color: var(--muted); margin-bottom: 0; }

.grid { display: grid; gap: 22px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 900px) {
  .grid-3, .grid-2, .hero-grid { grid-template-columns: 1fr; }
  .hero { padding: 60px 0 66px; }
  section { padding: 56px 0; }
}

.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px; box-shadow: var(--shadow); transition: box-shadow .2s ease, transform .2s ease;
}
.card:hover { box-shadow: var(--shadow-lg); transform: translateY(-2px); }
.card h3 { margin-bottom: .45em; }
.card p:last-child { margin-bottom: 0; }
.card .icon {
  width: 42px; height: 42px; border-radius: 11px; display: grid; place-items: center;
  background: var(--cyan-100); color: var(--blue); margin-bottom: 16px;
}

.stat { text-align: left; }
.stat b { display: block; font-size: 2.1rem; color: var(--navy); letter-spacing: -.03em; line-height: 1.1; }
.stat span { color: var(--muted); font-size: .95rem; font-weight: 600; }

.values { display: flex; flex-wrap: wrap; gap: 10px; padding: 0; margin: 0; list-style: none; }
.values li {
  border: 1px solid var(--line); background: #fff; border-radius: 999px;
  padding: 8px 16px; font-size: .9rem; font-weight: 650; color: var(--navy-700);
}

.prose { max-width: 74ch; }
.prose h2 { margin-top: 1.8em; }
.prose h2:first-child { margin-top: 0; }
.prose ul { padding-left: 1.15em; }
.prose li { margin-bottom: .5em; }

.person { display: grid; grid-template-columns: 132px 1fr; gap: 24px; align-items: start; }
.person img { width: 132px; height: 132px; object-fit: cover; border-radius: 14px; background: var(--cyan-100); }
.person .role { color: var(--blue); font-weight: 700; font-size: .92rem; margin: -.4em 0 .8em; }
@media (max-width: 620px) { .person { grid-template-columns: 1fr; } }
.people { display: grid; gap: 44px; }
.people .person + .person { padding-top: 44px; border-top: 1px solid var(--line); }

.alumni-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.alum {
  display: grid; grid-template-columns: 72px 1fr; gap: 16px; align-items: start;
  background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 20px;
}
.alum img { width: 72px; height: 72px; object-fit: cover; border-radius: 50%; background: var(--cyan-100); }
.alum h3 { font-size: 1.02rem; margin-bottom: .35em; }
.alum p { font-size: .92rem; color: var(--body); margin: 0; }
@media (max-width: 1000px) { .alumni-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .alumni-grid { grid-template-columns: 1fr; } }
.cta-band .btn + .btn { margin-left: 10px; }

.pub-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 16px; }
.pub-list li {
  border-left: 3px solid var(--cyan); background: var(--bg-soft);
  border-radius: 0 10px 10px 0; padding: 16px 20px; font-size: .98rem;
}
.pub-list .authors b { color: var(--ink); }
.pub-list .venue { font-style: italic; }

.note { font-size: .9rem; color: var(--muted); }
.section-foot { margin: 28px 0 0; }

/* Step chains (through-line, development ladder) */
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; counter-reset: step; }
.steps-6 { grid-template-columns: repeat(6, 1fr); }
.steps-5 { grid-template-columns: repeat(5, 1fr); }
.steps li {
  position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 22px 18px 20px; box-shadow: var(--shadow);
}
.steps li::before {
  counter-increment: step; content: counter(step);
  display: grid; place-items: center; width: 34px; height: 34px; border-radius: 10px;
  background: var(--cyan-100); color: var(--blue); font-weight: 800; font-size: .95rem; margin-bottom: 14px;
}
.steps li + li::after {
  content: ""; position: absolute; top: 50%; left: -14px; width: 14px; height: 2px;
  background: var(--cyan); transform: translateY(-50%);
}
.steps .tag { display: block; font-size: .72rem; font-weight: 750; letter-spacing: .12em; text-transform: uppercase; color: var(--cyan); margin-bottom: 4px; }
.steps h3 { font-size: 1rem; margin-bottom: .4em; }
.steps h3:last-child { margin-bottom: 0; }
.steps p { font-size: .88rem; color: var(--body); margin: 0; }
@media (max-width: 1000px) {
  .steps-6, .steps-5 { grid-template-columns: repeat(3, 1fr); }
  .steps li:nth-child(3n+1)::after { display: none; }
}
@media (max-width: 620px) {
  .steps-6, .steps-5 { grid-template-columns: 1fr; }
  .steps li::after { display: none; }
}

/* Pull quote */
.pullquote {
  border-left: 4px solid var(--cyan); background: var(--cyan-100); border-radius: 0 var(--radius) var(--radius) 0;
  padding: 22px 28px; margin: 28px 0; font-size: 1.15rem; line-height: 1.5; color: var(--navy); font-weight: 600;
}
.pullquote p { margin: 0; }
.pullquote cite { display: block; margin-top: 10px; font-size: .86rem; font-weight: 500; font-style: normal; color: var(--muted); }

/* Lists inside cards */
.card ul { margin: 0; padding-left: 1.15em; }
.card li { margin-bottom: .5em; }
.card li:last-child { margin-bottom: 0; }

/* Simple data table */
.table { width: 100%; border-collapse: collapse; font-size: .95rem; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.table th, .table td { text-align: left; padding: 14px 18px; border-bottom: 1px solid var(--line); vertical-align: top; }
.table th { background: var(--bg-soft); color: var(--navy); font-weight: 700; font-size: .84rem; letter-spacing: .06em; text-transform: uppercase; }
.table tr:last-child td { border-bottom: 0; }
.table-wrap { overflow-x: auto; }

.cta-band {
  background: linear-gradient(120deg, var(--navy) 0%, var(--blue) 100%);
  color: #fff; border-radius: 20px; padding: 46px; text-align: center;
}
.cta-band h2 { color: #fff; }
.cta-band p { color: rgba(255,255,255,.85); max-width: 60ch; margin: 0 auto 24px; }

/* Footer */
.site-footer { background: var(--navy); color: rgba(255,255,255,.72); padding: 56px 0 30px; font-size: .94rem; }
.site-footer h4 { color: #fff; font-size: .82rem; letter-spacing: .12em; text-transform: uppercase; margin-bottom: 14px; }
.site-footer a { color: rgba(255,255,255,.78); }
.site-footer a:hover { color: #fff; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 32px; }
.footer-grid ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.footer-bottom {
  margin-top: 40px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.14);
  font-size: .84rem; color: rgba(255,255,255,.6);
}
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr 1fr; } }

@media (prefers-reduced-motion: reduce) {
  * { transition-duration: .001ms !important; animation-duration: .001ms !important; scroll-behavior: auto !important; }
}

/* Contact form */
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-status { padding: 12px 14px; border-radius: 9px; font-weight: 500; }
.form-status.ok { background: var(--cyan-100); color: var(--navy); }
.form-status.err { background: #fdecec; color: #8a1f1f; }
.btn[disabled] { opacity: .6; cursor: default; }
