:root {
  --navy: #0b1728;
  --navy-soft: #102139;
  --ink: #122033;
  --cream: #f4f1e9;
  --paper: #faf9f5;
  --white: #fff;
  --orange: #ff6b35;
  --orange-light: #ff8a5f;
  --muted: #667181;
  --line: rgba(17, 33, 52, 0.14);
  --font-head: "Manrope", sans-serif;
  --font-body: "DM Sans", sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: var(--font-body); color: var(--ink); background: var(--paper); line-height: 1.65; }
body.menu-open { overflow: hidden; }
img { display: block; width: 100%; }
a { color: inherit; text-decoration: none; }
.container { width: min(1180px, calc(100% - 48px)); margin-inline: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); }
.skip-link { position: fixed; top: -50px; left: 20px; z-index: 100; background: var(--orange); color: #fff; padding: 10px 18px; border-radius: 8px; }
.skip-link:focus { top: 20px; }

.site-header { position: fixed; inset: 0 0 auto; z-index: 50; color: #fff; border-bottom: 1px solid rgba(255,255,255,.1); transition: background .3s; }
.site-header.scrolled { background: rgba(11,23,40,.94); backdrop-filter: blur(16px); }
.nav { height: 78px; display: flex; align-items: center; justify-content: space-between; }
.brand { display: flex; align-items: center; gap: 12px; font: 800 14px/1 var(--font-head); letter-spacing: .16em; }
.brand-mark { display: grid; place-items: center; width: 36px; height: 36px; border: 1px solid rgba(255,255,255,.35); border-radius: 50%; color: var(--orange-light); letter-spacing: -.06em; }
.nav-links { display: flex; align-items: center; gap: 32px; font-size: 14px; }
.nav-links > a:not(.nav-cta) { color: #c7d0dc; transition: color .2s; }
.nav-links > a:hover { color: #fff; }
.nav-cta { padding: 10px 18px; border: 1px solid rgba(255,255,255,.3); border-radius: 100px; font-weight: 600; }
.nav-toggle { display: none; border: 0; background: none; padding: 8px; }
.nav-toggle > span:not(.sr-only) { display: block; width: 23px; height: 2px; margin: 5px; background: #fff; transition: .25s; }

.hero { min-height: 790px; position: relative; overflow: hidden; color: #fff; background: var(--navy); padding-top: 78px; }
.hero::after { content: ""; position: absolute; inset: auto 0 0; height: 1px; background: rgba(255,255,255,.1); }
.hero-glow { position: absolute; width: 520px; height: 520px; left: 15%; top: 25%; background: radial-gradient(circle, rgba(255,107,53,.14), transparent 68%); }
.hero-grid { min-height: 710px; display: grid; grid-template-columns: 1.04fr .96fr; align-items: center; gap: 70px; }
.hero-copy { position: relative; z-index: 2; padding: 70px 0 60px; }
.kicker { display: flex; align-items: center; gap: 10px; color: #d1d8e1; text-transform: uppercase; font: 700 12px/1.2 var(--font-head); letter-spacing: .18em; margin-bottom: 26px; }
.kicker span { width: 28px; height: 2px; background: var(--orange); }
.kicker.dark { color: var(--muted); }
h1, h2, h3 { font-family: var(--font-head); }
h1 { max-width: 720px; font-size: clamp(48px, 5.5vw, 78px); line-height: 1.05; letter-spacing: -.055em; margin-bottom: 28px; }
h1 em { color: var(--orange-light); font-style: normal; }
.hero-lede { max-width: 610px; color: #b6c1cf; font-size: 18px; line-height: 1.75; }
.hero-actions { display: flex; gap: 14px; margin-top: 36px; }
.button { display: inline-flex; justify-content: center; align-items: center; gap: 16px; min-height: 52px; padding: 0 22px; border-radius: 5px; font-weight: 700; transition: transform .2s, background .2s; }
.button:hover { transform: translateY(-2px); }
.button-primary { color: #fff; background: var(--orange); }
.button-primary:hover { background: #ff7a49; }
.button-ghost { border: 1px solid rgba(255,255,255,.25); color: #e4e8ed; }
.hero-meta { display: flex; gap: 54px; margin-top: 54px; }
.hero-meta div { display: flex; flex-direction: column; gap: 2px; }
.hero-meta strong { font: 700 14px var(--font-head); }
.hero-meta span { color: #8997a9; font-size: 12px; }
.portrait-wrap { position: relative; align-self: end; max-width: 510px; justify-self: end; z-index: 2; }
.portrait-frame { height: 625px; overflow: hidden; border-radius: 240px 240px 0 0; background: var(--navy-soft); }
.portrait-frame img { height: 100%; object-fit: cover; object-position: 50% 30%; filter: saturate(.86) contrast(1.03); }
.degree-badge { position: absolute; left: -62px; bottom: 72px; display: flex; gap: 13px; align-items: center; padding: 14px 18px 14px 14px; color: var(--ink); background: rgba(255,255,255,.96); box-shadow: 0 18px 55px rgba(0,0,0,.22); }
.badge-icon { display: grid; place-items: center; width: 45px; height: 45px; color: #fff; background: var(--orange); font: 800 11px var(--font-head); border-radius: 50%; }
.degree-badge div { display: flex; flex-direction: column; }
.degree-badge strong { font: 700 13px var(--font-head); }
.degree-badge small { color: var(--muted); font-size: 11px; }
.portrait-label { position: absolute; right: -70px; top: 48%; color: #8997a9; font: 600 10px var(--font-head); letter-spacing: .2em; text-transform: uppercase; transform: rotate(90deg); }

.metrics { color: #fff; background: var(--navy-soft); }
.metrics-grid { display: grid; grid-template-columns: repeat(4,1fr); }
.metrics-grid > div { padding: 30px 34px; border-right: 1px solid rgba(255,255,255,.1); }
.metrics-grid > div:first-child { border-left: 1px solid rgba(255,255,255,.1); }
.metrics strong { display: block; color: var(--orange-light); font: 800 30px var(--font-head); letter-spacing: -.04em; }
.metrics strong span { font-size: 14px; color: #9eabbc; letter-spacing: 0; }
.metrics p { color: #aeb8c5; font-size: 13px; }
.section { padding: 120px 0; }
.about { background: var(--cream); }
.about-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: 100px; }
.section-intro h2, .section-title-row h2, .expertise h2 { font-size: clamp(36px, 4vw, 54px); line-height: 1.12; letter-spacing: -.045em; }
.about-copy .lead { color: var(--ink); font: 600 clamp(22px,2.4vw,30px)/1.45 var(--font-head); margin-bottom: 26px; }
.about-copy > p:not(.lead) { max-width: 690px; color: var(--muted); font-size: 17px; }
.focus-list { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 35px; }
.focus-list span { border: 1px solid var(--line); padding: 8px 13px; border-radius: 100px; font-size: 13px; font-weight: 600; }

.research { color: #fff; background: var(--navy); }
.section-title-row { display: flex; justify-content: space-between; align-items: flex-end; gap: 40px; margin-bottom: 55px; }
.section-note { max-width: 370px; color: #9da9b8; }
.featured-paper { display: grid; grid-template-columns: 80px 1fr 50px; gap: 26px; align-items: start; padding: 38px 0; border-block: 1px solid rgba(255,255,255,.14); }
.paper-number { color: var(--orange-light); font: 700 14px var(--font-head); }
.paper-tags { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 18px; }
.paper-tags span { padding: 5px 9px; border: 1px solid rgba(255,255,255,.2); border-radius: 100px; color: #b8c1cd; font-size: 10px; text-transform: uppercase; letter-spacing: .08em; }
.featured-paper h3 { max-width: 920px; font-size: clamp(25px,3vw,39px); line-height: 1.3; letter-spacing: -.03em; }
.featured-paper p { color: #8e9bac; margin-top: 13px; }
.featured-paper > a { display: grid; place-items: center; width: 46px; height: 46px; border: 1px solid rgba(255,255,255,.25); border-radius: 50%; font-size: 20px; transition: .2s; }
.featured-paper > a:hover { border-color: var(--orange); background: var(--orange); }
.paper-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; margin-top: 50px; background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.12); }
.paper-card { min-height: 360px; display: flex; flex-direction: column; padding: 38px; background: var(--navy); }
.paper-index { color: var(--orange-light); font: 700 11px var(--font-head); letter-spacing: .12em; text-transform: uppercase; }
.paper-card h3 { font-size: 23px; line-height: 1.4; margin: 30px 0 13px; }
.paper-card p { color: #8f9cac; font-size: 14px; }
.paper-card div { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 28px; }
.paper-card div span { color: #aab4c1; padding: 4px 8px; border-radius: 3px; background: rgba(255,255,255,.06); font-size: 11px; }
.paper-card a { color: #fff; margin-top: auto; padding-top: 30px; font-size: 13px; font-weight: 700; }
.publication-group { margin-top: 74px; }
.publication-heading { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding-bottom: 20px; border-bottom: 1px solid rgba(255,255,255,.22); }
.publication-heading > div { display: flex; align-items: center; gap: 18px; }
.publication-heading span { color: var(--orange-light); font: 700 12px var(--font-head); }
.publication-heading h3 { font-size: clamp(24px,3vw,34px); letter-spacing: -.035em; }
.publication-heading > strong { color: #96a4b5; font: 600 12px var(--font-head); text-transform: uppercase; letter-spacing: .12em; }
.publication-list { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: rgba(255,255,255,.12); border-bottom: 1px solid rgba(255,255,255,.12); }
.publication-list article { min-height: 290px; display: flex; flex-direction: column; padding: 34px; background: var(--navy); }
.publication-list h4 { font: 700 19px/1.45 var(--font-head); letter-spacing: -.018em; margin: 18px 0 13px; }
.publication-list p { color: #8f9cac; font-size: 13px; }
.publication-list .authors { color: #b7c0cc; margin-bottom: 8px; }
.publication-list .authors strong { color: #fff; }
.publication-list article > a { width: fit-content; color: var(--orange-light); margin-top: auto; padding-top: 24px; font-size: 12px; font-weight: 700; }
.publication-meta { display: flex; gap: 8px; flex-wrap: wrap; }
.publication-meta span { padding: 5px 8px; border-radius: 3px; color: #aeb8c5; background: rgba(255,255,255,.06); font: 700 9px var(--font-head); letter-spacing: .08em; text-transform: uppercase; }
.publication-meta .award-tag { color: #fff; background: var(--orange); }
.publication-list .companion-title { border-top: 1px solid rgba(255,255,255,.12); margin-top: 24px; padding-top: 24px; }

.experience { background: var(--paper); }
.experience-intro { margin-bottom: 55px; }
.timeline { border-top: 1px solid var(--line); }
.timeline article { position: relative; display: grid; grid-template-columns: .25fr 190px 1fr; gap: 42px; align-items: center; padding: 30px 0; border-bottom: 1px solid var(--line); }
.timeline-year { color: var(--orange); font: 700 13px var(--font-head); letter-spacing: .06em; }
.timeline-image { width: 190px; height: 118px; object-fit: cover; border-radius: 4px; filter: saturate(.82); }
.timeline-type { color: var(--muted); font-size: 12px; text-transform: uppercase; letter-spacing: .1em; }
.timeline-copy h3 { margin: 7px 0 9px; font-size: 24px; }
.timeline-link { transition: color .2s; }
.timeline-link:hover, .timeline-link:focus-visible { color: var(--orange); }
.timeline-copy > p:last-child { max-width: 700px; color: var(--muted); }
.timeline-dot { position: absolute; left: calc(25% - 21px); top: 50%; width: 8px; height: 8px; background: var(--orange); border-radius: 50%; transform: translateY(-50%); }
.expertise { display: grid; grid-template-columns: .8fr 1.2fr; gap: 90px; margin-top: 120px; padding: 70px; color: #fff; background: var(--navy-soft); }
.skill-groups > div { padding: 0 0 25px; margin-bottom: 25px; border-bottom: 1px solid rgba(255,255,255,.12); }
.skill-groups > div:last-child { margin: 0; padding: 0; border: 0; }
.skill-groups h3 { color: var(--orange-light); font-size: 14px; margin-bottom: 8px; }
.skill-groups p { color: #aeb8c6; }

.gallery { display: grid; grid-template-columns: 1fr 1fr 1fr; min-height: 610px; color: #fff; background: var(--navy); }
.gallery-copy { display: flex; flex-direction: column; justify-content: center; padding: 70px max(40px,6vw); }
.gallery-copy h2 { font-size: clamp(32px,3.5vw,48px); line-height: 1.17; letter-spacing: -.04em; margin-bottom: 26px; }
.gallery-copy > p:last-child { color: #9da9b8; }
.gallery figure { overflow: hidden; }
.gallery figure img { height: 100%; object-fit: cover; filter: saturate(.82); transition: transform .7s; }
.gallery figure:first-of-type img { object-position: 50% 40%; }
.gallery figure:last-of-type img { object-position: 52% 28%; }
.gallery figure:hover img { transform: scale(1.025); }
.contact { color: #fff; background: var(--orange); }
.contact-grid { display: grid; grid-template-columns: 1.2fr .8fr; align-items: end; gap: 60px; }
.contact .kicker { color: #fff; }
.contact .kicker span { background: var(--navy); }
.contact h2 { font-size: clamp(38px,4.2vw,58px); line-height: 1.14; letter-spacing: -.045em; }
.contact-actions { display: grid; }
.contact-actions a { display: flex; justify-content: space-between; gap: 15px; padding: 22px 0; border-bottom: 1px solid rgba(255,255,255,.38); font-weight: 700; }
.contact-actions a:first-child { border-top: 1px solid rgba(255,255,255,.38); }
footer { color: #9ea9b7; background: var(--navy); }
.footer-grid { min-height: 96px; display: grid; grid-template-columns: 1fr 1fr 1fr; align-items: center; font-size: 12px; }
.footer-grid p:nth-child(2) { text-align: center; }
.footer-grid a { text-align: right; color: #fff; }
.footer-socials { display: flex; justify-content: center; gap: 18px; }
.footer-socials a { color: #9ea9b7; transition: color .2s; }
.footer-socials a:hover, .footer-socials a:focus-visible { color: var(--orange-light); }
.photo-credits { padding: 0 0 24px; color: #6f7d8f; font-size: 9px; text-align: center; }
.photo-credits a { color: #8f9cad; text-decoration: underline; text-underline-offset: 2px; }

@media (max-width: 960px) {
  .nav-links { gap: 19px; }
  .hero-grid { grid-template-columns: 1fr .82fr; gap: 35px; }
  .portrait-frame { height: 550px; }
  .portrait-label { display: none; }
  .degree-badge { left: -30px; }
  .about-grid, .expertise { gap: 50px; }
  .gallery { grid-template-columns: 1fr 1fr; }
  .gallery-copy { grid-column: 1 / -1; min-height: 400px; }
  .gallery figure { height: 600px; }
}

@media (max-width: 760px) {
  .container { width: min(100% - 32px, 1180px); }
  .site-header { background: rgba(11,23,40,.95); }
  .nav-toggle { display: block; z-index: 2; }
  .nav-links { position: fixed; inset: 0; display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 28px; font: 700 24px var(--font-head); background: var(--navy); transform: translateX(100%); transition: transform .3s; }
  .nav-links.open { transform: translateX(0); }
  .nav-toggle[aria-expanded="true"] > span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] > span:nth-child(2) { opacity: 0; }
  .nav-toggle[aria-expanded="true"] > span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .nav-cta { font-size: 15px; }
  .hero { min-height: 0; }
  .hero-grid { display: flex; flex-direction: column; min-height: 0; gap: 20px; }
  .hero-copy { padding: 74px 0 30px; }
  h1 { font-size: clamp(45px, 14vw, 66px); }
  .hero-lede { font-size: 16px; }
  .hero-actions { align-items: stretch; flex-direction: column; }
  .hero-meta { gap: 32px; margin-top: 38px; }
  .portrait-wrap { width: 100%; align-self: center; max-width: 470px; }
  .portrait-frame { height: 560px; border-radius: 220px 220px 0 0; }
  .degree-badge { left: 12px; bottom: 24px; }
  .metrics-grid { grid-template-columns: 1fr 1fr; }
  .metrics-grid > div { padding: 24px 16px; border-bottom: 1px solid rgba(255,255,255,.1); }
  .section { padding: 85px 0; }
  .about-grid, .expertise, .contact-grid { grid-template-columns: 1fr; gap: 45px; }
  .section-title-row { align-items: flex-start; flex-direction: column; }
  .featured-paper { grid-template-columns: 38px 1fr; }
  .featured-paper > a { grid-column: 2; }
  .paper-grid { grid-template-columns: 1fr; }
  .publication-list { grid-template-columns: 1fr; }
  .publication-list article { min-height: 0; }
  .publication-heading { align-items: flex-start; }
  .timeline article { grid-template-columns: 1fr; gap: 12px; padding: 30px 0 30px 25px; }
  .timeline-image { width: 100%; height: 210px; }
  .timeline-dot { left: 0; top: 47px; transform: none; }
  .expertise { margin-top: 80px; padding: 40px 28px; }
  .gallery figure { height: 450px; }
  .contact-actions a { font-size: 14px; overflow-wrap: anywhere; }
  .footer-grid { grid-template-columns: 1fr; gap: 8px; padding: 28px 0; }
  .footer-grid p:nth-child(2), .footer-grid a { text-align: left; }
  .footer-socials { justify-content: flex-start; }
}

@media (max-width: 480px) {
  .hero-meta { justify-content: space-between; gap: 12px; }
  .portrait-frame { height: 475px; }
  .metrics strong { font-size: 25px; }
  .metrics p { font-size: 11px; }
  .gallery { grid-template-columns: 1fr; }
  .gallery-copy { grid-column: auto; padding: 70px 24px; }
  .gallery figure { height: 500px; }
}

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