:root {
  --navy-950: #020914;
  --navy-900: #061326;
  --navy-850: #091b31;
  --navy-800: #0b2340;
  --blue-600: #0878f9;
  --blue-500: #1aa7ff;
  --cyan-400: #17d7e8;
  --ink: #101828;
  --muted: #5e6b7d;
  --line: #dce4ef;
  --surface: #ffffff;
  --surface-alt: #f5f8fc;
  --radius: 18px;
  --shadow: 0 18px 50px rgba(4, 24, 50, .12);
  --container: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--surface);
  line-height: 1.6;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
.container { width: min(calc(100% - 40px), var(--container)); margin-inline: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; }
.skip-link { position: fixed; left: 12px; top: -60px; z-index: 1000; padding: 10px 14px; background: white; color: black; border-radius: 8px; }
.skip-link:focus { top: 12px; }

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  background: rgba(3, 12, 25, .78);
  border-bottom: 1px solid rgba(255,255,255,.08);
  backdrop-filter: blur(16px);
}
.nav-wrap { min-height: 78px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; min-width: 0; }
.brand-mark {
  display: grid; place-items: center; width: 48px; height: 48px;
  border-radius: 14px; font-size: 22px; font-weight: 850; letter-spacing: -.05em;
  color: white; background: linear-gradient(145deg, var(--blue-600), var(--cyan-400));
  box-shadow: 0 10px 30px rgba(8, 120, 249, .28);
}
.brand-copy { display: flex; flex-direction: column; line-height: 1.2; color: white; }
.brand-copy strong { font-size: 15px; }
.brand-copy small { color: #65d9ff; margin-top: 5px; font-size: 11px; }
.site-nav { display: flex; align-items: center; gap: 28px; }
.site-nav a { color: #e9f2ff; text-decoration: none; font-size: 14px; font-weight: 650; }
.site-nav a:hover, .site-nav a:focus-visible { color: var(--cyan-400); }
.menu-button { display: none; border: 0; background: transparent; padding: 8px; }
.menu-button span:not(.sr-only) { display: block; width: 24px; height: 2px; background: white; margin: 5px 0; }

.hero {
  position: relative; overflow: hidden; color: white;
  background: radial-gradient(circle at 80% 35%, rgba(10, 127, 247, .35), transparent 30%), linear-gradient(135deg, var(--navy-950), var(--navy-850));
  padding: 145px 0 70px;
}
.hero::after {
  content: ""; position: absolute; inset: auto -10% -40% 45%; height: 90%;
  background: radial-gradient(circle, rgba(23, 215, 232, .15), transparent 62%); pointer-events: none;
}
.hero-grid-pattern {
  position: absolute; inset: 0; opacity: .12;
  background-image: linear-gradient(rgba(255,255,255,.1) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.1) 1px, transparent 1px);
  background-size: 54px 54px;
  mask-image: linear-gradient(to left, black, transparent 70%);
}
.hero-grid { position: relative; z-index: 2; display: grid; grid-template-columns: 1.15fr .85fr; align-items: center; gap: 64px; }
.eyebrow, .section-kicker { text-transform: uppercase; letter-spacing: .14em; font-weight: 800; font-size: 12px; color: var(--cyan-400); margin: 0 0 16px; }
.hero h1 { margin: 0; font-size: clamp(44px, 6vw, 76px); line-height: 1.03; letter-spacing: -.045em; max-width: 760px; }
.hero h1 span { color: #82dcff; }
.hero-lead { color: #c9d7e9; font-size: 19px; max-width: 690px; margin: 24px 0 30px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 20px; border-radius: 10px; font-weight: 750; text-decoration: none; transition: transform .2s ease, box-shadow .2s ease, background .2s ease; }
.button:hover { transform: translateY(-2px); }
.button-primary { background: linear-gradient(135deg, var(--blue-600), #0751d7); color: white; box-shadow: 0 12px 28px rgba(8, 120, 249, .28); }
.button-secondary { border: 1px solid rgba(255,255,255,.5); color: white; background: rgba(255,255,255,.04); }
.hero-links { display: flex; gap: 22px; margin-top: 28px; }
.hero-links a { color: #d9e8fa; text-decoration: none; border-bottom: 1px solid transparent; }
.hero-links a:hover { color: white; border-color: var(--cyan-400); }

.portrait-panel { position: relative; border-radius: 32px; overflow: hidden; box-shadow: 0 30px 80px rgba(0,0,0,.35); border: 1px solid rgba(255,255,255,.12); min-height: 520px; }
.portrait-panel img { width: 100%; height: 100%; min-height: 520px; object-fit: cover; object-position: center 26%; filter: contrast(1.03) saturate(.94); }
.portrait-panel::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(2,9,20,.88), transparent 42%); }
.portrait-glow { position: absolute; inset: 20% 12% auto; height: 45%; background: radial-gradient(circle, rgba(30,174,255,.42), transparent 65%); z-index: 1; pointer-events: none; }
.portrait-caption { position: absolute; z-index: 3; left: 26px; right: 26px; bottom: 22px; display: flex; flex-direction: column; }
.portrait-caption strong { font-size: 20px; }
.portrait-caption span { color: #c6d5e7; font-size: 14px; }

.section { padding: 92px 0; }
.section-light { background: white; }
.section-tint { background: var(--surface-alt); }
.split-layout, .section-heading, .publications-layout, .quote-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 80px; align-items: start; }
.section h2 { margin: 0; font-size: clamp(32px, 4vw, 52px); line-height: 1.08; letter-spacing: -.035em; }
.prose p, .section-heading > p, .section-intro { color: var(--muted); font-size: 17px; margin-top: 0; }
.metrics-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 56px; }
.metrics-grid article { padding: 25px; border: 1px solid var(--line); border-radius: var(--radius); background: #fbfdff; }
.metrics-grid strong { display: block; color: var(--navy-800); font-size: 20px; margin-bottom: 8px; }
.metrics-grid span { color: var(--muted); font-size: 14px; }
.section-heading { margin-bottom: 42px; align-items: end; }
.text-link { color: #075cc8; font-weight: 750; text-decoration: none; }
.text-link:hover { text-decoration: underline; }
.expertise-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.feature-card { border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; box-shadow: 0 8px 28px rgba(6, 35, 64, .06); }
.feature-icon { display: grid; place-items: center; width: 50px; height: 50px; border-radius: 14px; color: white; background: linear-gradient(145deg, var(--blue-600), var(--cyan-400)); font-size: 24px; }
.feature-card h3 { margin: 22px 0 10px; font-size: 20px; }
.feature-card p { margin: 0; color: var(--muted); font-size: 15px; }

.project-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.project-card { min-height: 290px; display: flex; flex-direction: column; padding: 24px; border-radius: var(--radius); background: white; border: 1px solid var(--line); box-shadow: 0 10px 30px rgba(3, 24, 50, .06); transition: transform .2s ease, box-shadow .2s ease; }
.project-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.project-featured { color: white; background: linear-gradient(145deg, var(--navy-850), #0d3d6b); border-color: transparent; }
.project-featured p { color: #d1dfef !important; }
.project-featured a { color: #79e8ff !important; }
.project-top { display: flex; justify-content: space-between; gap: 12px; align-items: center; }
.project-symbol { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; color: white; background: linear-gradient(145deg, var(--blue-600), var(--cyan-400)); font-weight: 850; font-size: 20px; }
.tag { color: #22557e; background: #eaf4ff; border-radius: 99px; padding: 5px 9px; font-size: 11px; font-weight: 750; }
.project-card h3 { margin: 22px 0 10px; font-size: 20px; }
.project-card p { color: var(--muted); margin: 0 0 22px; font-size: 14px; }
.project-card a { margin-top: auto; color: #075cc8; font-weight: 750; text-decoration: none; font-size: 14px; }

.publication-list { display: grid; gap: 0; border-top: 1px solid var(--line); }
.publication-list article { padding: 22px 0; border-bottom: 1px solid var(--line); }
.publication-list span { color: #0871ca; font-weight: 750; font-size: 12px; text-transform: uppercase; letter-spacing: .06em; }
.publication-list h3 { margin: 8px 0 0; font-size: 18px; line-height: 1.35; }
.publication-list .text-link { margin-top: 22px; }
.quote-section { color: white; background: linear-gradient(135deg, var(--navy-950), var(--navy-800)); }
.quote-grid { align-items: center; }
blockquote { margin: 0; font-size: clamp(28px, 3.5vw, 46px); line-height: 1.25; font-weight: 650; letter-spacing: -.025em; }
.quote-grid p:not(.section-kicker) { color: #c7d5e7; font-size: 17px; }

.site-footer { color: #d4e1f1; background: #020914; padding: 58px 0 24px; }
.footer-grid { display: grid; grid-template-columns: 1.6fr repeat(3, 1fr); gap: 36px; }
.footer-grid h2 { color: white; font-size: 14px; margin: 0 0 14px; }
.footer-grid a, .footer-grid span { display: block; color: #9eb2c9; text-decoration: none; margin: 7px 0; font-size: 14px; }
.footer-grid a:hover { color: white; }
.footer-bottom { display: flex; justify-content: space-between; border-top: 1px solid rgba(255,255,255,.1); margin-top: 42px; padding-top: 22px; color: #8499b2; font-size: 13px; }
.footer-bottom a { color: #b8c8db; text-decoration: none; }
.footer-brand .brand-copy small { color: #7fb5d8; }

@media (max-width: 1000px) {
  .hero-grid, .split-layout, .section-heading, .publications-layout, .quote-grid { grid-template-columns: 1fr; gap: 36px; }
  .hero-grid { max-width: 780px; }
  .portrait-panel { min-height: 440px; }
  .portrait-panel img { min-height: 440px; }
  .metrics-grid, .expertise-grid, .project-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 760px) {
  .site-header { position: absolute; }
  .brand-copy small { display: none; }
  .menu-button { display: block; }
  .site-nav { display: none; position: absolute; top: 72px; left: 20px; right: 20px; padding: 18px; border-radius: 14px; background: #071426; box-shadow: var(--shadow); flex-direction: column; align-items: stretch; gap: 0; }
  .site-nav.is-open { display: flex; }
  .site-nav a { padding: 12px; }
  .hero { padding-top: 120px; }
  .hero h1 { font-size: 46px; }
  .hero-lead { font-size: 17px; }
  .portrait-panel { min-height: 400px; }
  .portrait-panel img { min-height: 400px; }
  .section { padding: 70px 0; }
  .metrics-grid, .expertise-grid, .project-grid, .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; gap: 8px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}
