:root {
  --ink: #061b33;
  --navy: #082844;
  --blue: #0b4f8a;
  --electric: #2388e8;
  --ice: #dff2ff;
  --paper: #f8fbff;
  --white: #ffffff;
  --muted: #5b6b7d;
  --line: #c9deef;
  --shadow: 0 22px 60px rgba(4, 28, 54, 0.14);
  --radius: 24px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.68;
}
a { color: inherit; }
img { max-width: 100%; display: block; }
button, a { -webkit-tap-highlight-color: transparent; }

.skip-link {
  position: fixed; left: 1rem; top: -4rem; z-index: 100;
  padding: .7rem 1rem; border-radius: 999px; background: var(--white); color: var(--ink);
}
.skip-link:focus { top: 1rem; }

.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(6, 27, 51, .94);
  color: white;
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(255,255,255,.12);
}
.nav-wrap {
  width: min(1180px, calc(100% - 2rem));
  min-height: 76px; margin: 0 auto; display: flex; align-items: center; gap: 1.5rem;
}
.brand { display: inline-flex; align-items: center; gap: .75rem; text-decoration: none; flex: 0 0 auto; }
.brand-mark {
  width: 42px; height: 42px; display: grid; place-items: center;
  border: 1px solid rgba(255,255,255,.38); border-radius: 50%;
  background: linear-gradient(145deg, var(--electric), #0e3b6c);
  font-size: .82rem; font-weight: 850; letter-spacing: .08em;
}
.brand-text { display: grid; line-height: 1.05; }
.brand-text strong { font-size: .95rem; letter-spacing: .05em; }
.brand-text span { color: #9ed3ff; font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; margin-top: .26rem; }
.menu-toggle {
  display: none; margin-left: auto; color: white; background: transparent;
  border: 1px solid rgba(255,255,255,.35); border-radius: 999px; padding: .5rem .85rem; font: inherit;
}
.primary-nav { margin-left: auto; }
.primary-nav ul { list-style: none; display: flex; align-items: center; gap: .1rem; padding: 0; margin: 0; }
.primary-nav a {
  position: relative; display: block; padding: .65rem .58rem; text-decoration: none;
  color: #d9ebfb; font-size: .78rem; font-weight: 700; letter-spacing: .055em; text-transform: uppercase;
  white-space: nowrap;
}
.primary-nav a::after { content: ""; position: absolute; left: .55rem; right: .55rem; bottom: .25rem; height: 2px; border-radius: 2px; background: #5eb5ff; transform: scaleX(0); transition: .2s ease; }
.primary-nav a:hover::after, .primary-nav a:focus-visible::after, .primary-nav a.active::after { transform: scaleX(1); }
.primary-nav a.active { color: white; }

main { min-height: calc(100vh - 190px); }
.shell { width: min(1120px, calc(100% - 2.4rem)); margin: 0 auto; }
.page-hero { position: relative; overflow: hidden; padding: clamp(4.4rem, 10vw, 8rem) 0 4rem; background: linear-gradient(135deg, #061b33 0%, #0b355b 60%, #0b4f8a 100%); color: white; }
.page-hero::before, .page-hero::after {
  content: ""; position: absolute; border: 1px solid rgba(126, 200, 255, .24); border-radius: 50%; pointer-events: none;
}
.page-hero::before { width: 460px; height: 460px; right: -110px; top: -210px; }
.page-hero::after { width: 260px; height: 260px; right: 115px; top: -120px; }
.eyebrow { margin: 0 0 .85rem; color: #75c2ff; font-size: .8rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; }
h1, h2, h3 { margin: 0; font-family: Georgia, "Times New Roman", serif; line-height: 1.1; }
h1 { max-width: 860px; font-size: clamp(3rem, 8vw, 6.7rem); letter-spacing: -.055em; }
.page-hero h1 { font-size: clamp(2.8rem, 7vw, 5.5rem); }
.hero-lead { max-width: 690px; margin: 1.1rem 0 0; color: #d7e9f8; font-size: clamp(1.05rem, 2vw, 1.28rem); }
.content { padding: clamp(3.5rem, 7vw, 6.5rem) 0; }
.section-heading { display: flex; gap: 1.1rem; align-items: center; margin-bottom: 2rem; }
.section-heading .number { color: var(--electric); font-weight: 900; font-size: .8rem; letter-spacing: .12em; }
.section-heading h2 { font-size: clamp(2rem, 4.5vw, 3.7rem); letter-spacing: -.035em; }
.section-heading::after { content: ""; height: 1px; flex: 1; background: var(--line); }

.home-hero { min-height: calc(100vh - 76px); display: grid; align-items: center; position: relative; overflow: hidden; background: linear-gradient(125deg, #061b33 0%, #0a2f52 62%, #0e568f 100%); color: white; }
.home-hero::before { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 77% 32%, rgba(80,181,255,.24), transparent 25%), linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px); background-size: auto, 52px 52px, 52px 52px; mask-image: linear-gradient(to left, black, transparent 74%); }
.home-grid { position: relative; width: min(1180px, calc(100% - 2.4rem)); margin: 0 auto; display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(2rem, 6vw, 6rem); align-items: center; padding: 4.5rem 0; }
.home-copy h1 { font-size: clamp(4rem, 9vw, 7.8rem); }
.home-copy .topic { margin: .9rem 0 0; color: #8dccff; font-size: clamp(1.05rem, 2.4vw, 1.45rem); font-weight: 760; letter-spacing: .13em; text-transform: uppercase; }
.quote { max-width: 680px; margin: 2rem 0 0; padding-left: 1.2rem; border-left: 2px solid #60b9ff; color: #e7f4ff; font-family: Georgia, "Times New Roman", serif; font-size: clamp(1.1rem, 2vw, 1.35rem); }
.quote cite { display: block; margin-top: .6rem; color: #91cfff; font-family: Inter, sans-serif; font-size: .78rem; font-style: normal; font-weight: 800; letter-spacing: .11em; text-transform: uppercase; }
.portrait-frame { position: relative; width: min(420px, 84vw); justify-self: end; }
.portrait-frame::before { content: ""; position: absolute; inset: -18px 18px 18px -18px; border: 1px solid rgba(133,202,255,.45); border-radius: 54% 46% 48% 52% / 42% 45% 55% 58%; transform: rotate(-4deg); }
.portrait-frame img { aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 34%; border-radius: 52% 48% 46% 54% / 40% 42% 58% 60%; box-shadow: 0 35px 90px rgba(0,0,0,.38); filter: saturate(.95) contrast(1.02); }
.micro-note { position: absolute; right: -1rem; bottom: 2rem; max-width: 185px; padding: .8rem 1rem; border-radius: 14px; background: rgba(6,27,51,.82); border: 1px solid rgba(255,255,255,.22); color: #cfeaff; font-size: .78rem; line-height: 1.45; backdrop-filter: blur(10px); }

.grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 1.5rem; }
.profile-grid { display: grid; grid-template-columns: .72fr 1.28fr; gap: clamp(2rem, 6vw, 5rem); align-items: start; }
.profile-photo { border-radius: 28px; box-shadow: var(--shadow); aspect-ratio: 4/5; object-fit: cover; object-position: 50% 28%; }
.prose { max-width: 780px; color: #26394c; }
.prose p { margin: 0 0 1.25rem; }
.mission { margin: 2.2rem 0; padding: 1.6rem 1.8rem; border-left: 4px solid var(--electric); border-radius: 0 18px 18px 0; background: #eaf6ff; }
.mission strong { display: block; color: var(--blue); margin-bottom: .55rem; letter-spacing: .08em; text-transform: uppercase; font-size: .78rem; }
.contact-list { list-style: none; padding: 0; margin: 1.4rem 0 0; display: grid; gap: .7rem; }
.contact-list li { display: flex; gap: .75rem; align-items: baseline; }
.contact-list span { color: var(--blue); font-weight: 800; min-width: 78px; }

.card { padding: 1.7rem; border: 1px solid var(--line); border-radius: var(--radius); background: white; box-shadow: 0 12px 40px rgba(5,45,80,.06); }
.card h3 { font-size: 1.55rem; margin-bottom: .65rem; }
.card p { margin: 0; color: var(--muted); }
.label { display: inline-block; margin-bottom: 1rem; color: var(--blue); font-size: .72rem; font-weight: 900; letter-spacing: .13em; text-transform: uppercase; }
.button-row { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 1.5rem; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: .55rem; min-height: 46px; padding: .72rem 1.05rem; border: 1px solid var(--blue); border-radius: 999px; color: white; background: var(--blue); text-decoration: none; font-weight: 800; font-size: .9rem; transition: transform .18s ease, box-shadow .18s ease, background .18s ease; }
.button:hover, .button:focus-visible { transform: translateY(-2px); box-shadow: 0 9px 24px rgba(11,79,138,.22); }
.button.secondary { color: var(--blue); background: white; }
.button.light { color: var(--ink); background: white; border-color: white; }
.coming-soon { min-height: 260px; display: grid; place-content: center; text-align: center; border: 1px dashed #89b6d8; background: linear-gradient(145deg, #edf8ff, white); }
.coming-soon .orb { width: 64px; height: 64px; margin: 0 auto 1rem; border: 1px solid #75b8e8; border-radius: 50%; background: radial-gradient(circle at 35% 35%, #9bd7ff 0 5%, #2c8ed9 6% 16%, transparent 17%), radial-gradient(circle at 68% 64%, #44a7ee 0 7%, transparent 8%), #e3f4ff; box-shadow: inset 0 0 0 12px rgba(35,136,232,.08); }
.coming-soon h3 { font-size: 1.8rem; }

.resume-layout { display: grid; grid-template-columns: .34fr .66fr; gap: 2rem; align-items: start; }
.resume-summary { position: sticky; top: 105px; }
.resume-viewer { width: 100%; min-height: 980px; border: 1px solid var(--line); border-radius: 20px; background: white; box-shadow: var(--shadow); }

.program-panel { padding: clamp(2rem, 5vw, 4rem); border-radius: 32px; background: linear-gradient(145deg, #082844, #0b4f8a); color: white; box-shadow: var(--shadow); }
.program-panel p { color: #dceeff; }
.program-panel p:last-child { margin-bottom: 0; }
.program-facts { display: grid; grid-template-columns: repeat(3,1fr); gap: 1px; margin-top: 2rem; border: 1px solid rgba(255,255,255,.17); border-radius: 18px; overflow: hidden; background: rgba(255,255,255,.17); }
.program-facts div { padding: 1.25rem; background: rgba(4,25,47,.64); }
.program-facts strong { display: block; color: #7cc7ff; font-size: 1.5rem; font-family: Georgia, serif; }
.program-facts span { color: #dbeeff; font-size: .85rem; }

.research-grid { display: grid; gap: 1.4rem; }
.research-card { display: grid; grid-template-columns: 100px 1fr auto; gap: 1.5rem; align-items: center; padding: 1.5rem; border: 1px solid var(--line); border-radius: 22px; background: white; }
.research-number { display: grid; place-items: center; width: 78px; height: 78px; border-radius: 20px; background: var(--ink); color: #80caff; font-family: Georgia, serif; font-size: 2rem; }
.research-card h3 { font-size: 1.45rem; margin-bottom: .35rem; }
.research-card p { margin: 0; color: var(--muted); }
.research-type-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 1rem; margin-top: 2.4rem; }
.type-card { min-height: 150px; padding: 1.2rem; border-radius: 18px; background: #eaf6ff; border: 1px solid #c4e2f7; }
.type-card strong { display: block; margin-bottom: .45rem; }
.type-card span { color: var(--muted); font-size: .9rem; }

.blog-list { display: grid; gap: 1.5rem; }
.blog-entry { display: grid; grid-template-columns: 170px 1fr; gap: clamp(1.5rem,5vw,4rem); padding: 2.2rem 0; border-top: 1px solid var(--line); }
.blog-entry:first-child { border-top: 0; padding-top: 0; }
.blog-meta { color: var(--blue); font-weight: 850; letter-spacing: .06em; text-transform: uppercase; font-size: .8rem; }
.blog-entry h2 { font-size: clamp(1.8rem,4vw,2.7rem); margin-bottom: 1rem; }
.blog-entry p { color: #33485c; margin: 0; }

.project-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 1.5rem; }
.project-panel { min-height: 360px; padding: 2rem; border-radius: 28px; border: 1px solid var(--line); background: white; position: relative; overflow: hidden; }
.project-panel::after { content: ""; position: absolute; width: 180px; height: 180px; border: 1px solid #b8d9f0; border-radius: 50%; right: -68px; bottom: -76px; box-shadow: 0 0 0 28px rgba(35,136,232,.05), 0 0 0 56px rgba(35,136,232,.035); }
.project-panel h2 { font-size: 2.3rem; margin-bottom: 1rem; }
.project-panel p { max-width: 440px; color: var(--muted); }

.article-wrap { width: min(870px, calc(100% - 2.4rem)); margin: 0 auto; }
.article-header { padding: 4.5rem 0 2.5rem; border-bottom: 1px solid var(--line); }
.article-header h1 { color: var(--ink); font-size: clamp(2.7rem,6vw,5rem); }
.article-meta { display: flex; flex-wrap: wrap; gap: .6rem 1.3rem; margin-top: 1.2rem; color: var(--muted); }
.article-body { padding: 3rem 0 6rem; }
.article-body h2 { margin: 2.8rem 0 1rem; font-size: 2rem; }
.article-body h3 { margin: 2.3rem 0 .75rem; font-size: 1.5rem; color: var(--blue); }
.article-body p { margin: 0 0 1.2rem; color: #2b4053; }
.citation { padding: 1rem 1.2rem; margin: 1.2rem 0; border-left: 3px solid var(--electric); background: #edf7ff; color: #263e52; }
.key { display: flex; flex-wrap: wrap; gap: .45rem; margin-top: 1.3rem; }
.key span { padding: .25rem .55rem; border-radius: 999px; background: #e5f4ff; color: var(--blue); font-size: .75rem; font-weight: 760; }

.site-footer { color: #c7def1; background: #061b33; }
.footer-wrap { width: min(1120px, calc(100% - 2.4rem)); margin: 0 auto; display: flex; gap: 1.5rem; justify-content: space-between; align-items: center; padding: 2rem 0; }
.footer-wrap p { margin: 0; font-size: .86rem; }
.footer-wrap a { color: white; text-decoration-thickness: 1px; text-underline-offset: 3px; }

@media (max-width: 980px) {
  .menu-toggle { display: inline-flex; }
  .primary-nav { position: absolute; left: 1rem; right: 1rem; top: calc(100% + .5rem); display: none; padding: .75rem; border-radius: 18px; background: #082844; box-shadow: var(--shadow); }
  .primary-nav.open { display: block; }
  .primary-nav ul { display: grid; grid-template-columns: repeat(2,1fr); }
  .primary-nav a { padding: .75rem; }
  .home-grid { grid-template-columns: 1fr; padding: 5rem 0; }
  .portrait-frame { justify-self: start; width: min(340px, 82vw); }
  .micro-note { right: -2rem; }
  .profile-grid, .resume-layout { grid-template-columns: 1fr; }
  .resume-summary { position: static; }
  .resume-viewer { min-height: 780px; }
  .research-card { grid-template-columns: 82px 1fr; }
  .research-card .button { grid-column: 2; justify-self: start; }
}

@media (max-width: 700px) {
  .brand-text { display: none; }
  .nav-wrap { min-height: 66px; }
  .home-hero { min-height: calc(100vh - 66px); }
  .home-grid { width: min(100% - 1.5rem, 1180px); }
  .home-copy h1 { font-size: clamp(3.6rem, 19vw, 5.4rem); }
  .grid-2, .project-grid, .research-type-grid, .program-facts { grid-template-columns: 1fr; }
  .program-facts { gap: 1px; }
  .research-card { grid-template-columns: 1fr; }
  .research-card .button { grid-column: auto; }
  .blog-entry { grid-template-columns: 1fr; gap: .7rem; }
  .resume-viewer { min-height: 620px; }
  .footer-wrap { align-items: flex-start; flex-direction: column; }
}

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