:root {
  --ink: #0a1724;
  --muted: #526273;
  --paper: #f4f7f9;
  --surface: #ffffff;
  --night: #07121f;
  --night-soft: #0d1b2a;
  --night-card: #102334;
  --line: rgba(10, 23, 36, 0.13);
  --line-light: rgba(255, 255, 255, 0.12);
  --blue: #2f73ff;
  --cyan: #3de1d1;
  --lime: #b9f45d;
  --radius: 22px;
  --shadow: 0 24px 70px rgba(5, 19, 35, 0.15);
  --shell: min(1180px, calc(100vw - 48px));
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "DM Sans", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
body.menu-open { overflow: hidden; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { font-family: "Space Grotesk", sans-serif; line-height: 1.05; letter-spacing: -0.035em; }
button, input, textarea { font: inherit; }
::selection { color: var(--night); background: var(--lime); }

.shell { width: var(--shell); margin-inline: auto; }
.section { position: relative; padding: 130px 0; }
.section-dark { color: #eaf2f8; background: var(--night); }
.section-soft { background: #e9eef2; }
.section-grid {
  background-image: linear-gradient(rgba(10, 23, 36, 0.035) 1px, transparent 1px), linear-gradient(90deg, rgba(10, 23, 36, 0.035) 1px, transparent 1px);
  background-size: 58px 58px;
}
.section-dark.section-grid { background-image: linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px); }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.skip-link { position: fixed; top: 10px; left: 10px; z-index: 999; padding: 10px 16px; color: white; background: var(--blue); border-radius: 8px; transform: translateY(-160%); }
.skip-link:focus { transform: none; }

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  height: 82px;
  display: flex;
  align-items: center;
  color: #eef7ff;
  border-bottom: 1px solid transparent;
  transition: background .25s ease, border-color .25s ease, height .25s ease;
}
.site-header.scrolled { height: 70px; background: rgba(7, 18, 31, .9); border-color: var(--line-light); backdrop-filter: blur(18px); }
.nav-wrap { display: flex; align-items: center; justify-content: space-between; gap: 30px; }
.brand { display: inline-flex; align-items: center; gap: 12px; font-family: "Space Grotesk", sans-serif; font-weight: 700; font-size: .94rem; letter-spacing: -.02em; }
.brand-mark { display: grid; place-items: center; width: 38px; aspect-ratio: 1; border: 1px solid rgba(255,255,255,.32); border-radius: 12px; color: var(--night); background: var(--lime); font-size: 1.12rem; }
.brand-mark i { display: block; line-height: 1; }
.site-nav { display: flex; align-items: center; gap: 30px; font-size: .88rem; font-weight: 600; }
.site-nav > a { color: rgba(238,247,255,.72); transition: color .2s ease; }
.site-nav > a:hover, .site-nav > a.active { color: white; }
.site-nav .nav-cta { padding: 10px 17px; color: var(--night); background: var(--lime); border-radius: 999px; }
.menu-button { display: none; color: white; background: none; border: 0; font-size: 1.8rem; cursor: pointer; }

.hero { position: relative; min-height: 100vh; padding: 150px 0 44px; color: #f3f8fc; background-color: var(--night); overflow: hidden; }
.hero-glow { position: absolute; border-radius: 50%; filter: blur(2px); pointer-events: none; }
.hero-glow-one { width: 640px; height: 640px; top: -230px; right: -130px; background: radial-gradient(circle, rgba(47,115,255,.26), transparent 67%); }
.hero-glow-two { width: 500px; height: 500px; left: -240px; bottom: -170px; background: radial-gradient(circle, rgba(61,225,209,.13), transparent 68%); }
.hero-layout { position: relative; z-index: 2; display: grid; grid-template-columns: 1.04fr .76fr; gap: clamp(70px, 9vw, 140px); align-items: center; }
.eyebrow { display: flex; align-items: center; gap: 11px; margin-bottom: 22px; color: var(--blue); font-size: .76rem; font-weight: 700; letter-spacing: .15em; text-transform: uppercase; }
.eyebrow span { width: 32px; height: 2px; background: currentColor; }
.hero .eyebrow, .section-dark .eyebrow, .contact-card .eyebrow { color: var(--lime); }
.hero h1 { max-width: 780px; margin-bottom: 28px; font-size: clamp(4rem, 7vw, 7.2rem); font-weight: 600; letter-spacing: -.07em; }
.hero h1 em { color: var(--cyan); font-style: normal; }
.hero-lead { max-width: 650px; color: rgba(238,247,255,.68); font-size: clamp(1.05rem, 1.6vw, 1.28rem); line-height: 1.65; }
.hero-actions, .contact-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 12px; min-height: 52px; padding: 0 22px; border: 1px solid transparent; border-radius: 999px; font-size: .9rem; font-weight: 700; transition: transform .2s ease, background .2s ease, border-color .2s ease; }
.button:hover { transform: translateY(-2px); }
.button-primary { color: var(--night); background: var(--lime); }
.button-ghost { color: white; border-color: rgba(255,255,255,.24); background: rgba(255,255,255,.04); }
.button-ghost:hover { border-color: rgba(255,255,255,.55); background: rgba(255,255,255,.08); }
.signal-row { display: flex; flex-wrap: wrap; gap: 22px; margin-top: 36px; color: rgba(238,247,255,.56); font-size: .86rem; }
.signal-row i { margin-right: 6px; color: var(--cyan); }
.hero-visual { position: relative; justify-self: end; width: min(410px, 100%); padding: 18px; }
.portrait-frame { position: relative; height: min(590px, 65vh); min-height: 440px; overflow: hidden; border: 1px solid rgba(255,255,255,.17); border-radius: 180px 180px 22px 22px; background: #13273b; box-shadow: var(--shadow); }
.portrait-frame::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 42%, rgba(4,14,25,.28) 78%, rgba(4,14,25,.82)); }
.portrait-frame img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 22%; filter: saturate(.9) contrast(1.04); }
.portrait-label { position: absolute; z-index: 2; left: 50%; bottom: 25px; transform: translateX(-50%); width: max-content; padding: 8px 13px; color: var(--night); background: var(--cyan); border-radius: 999px; font-size: .72rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.portrait-scan { position: absolute; z-index: 3; inset: 0; background: repeating-linear-gradient(180deg, transparent 0 7px, rgba(255,255,255,.025) 8px); pointer-events: none; }
.floating-card { position: absolute; z-index: 4; display: grid; min-width: 210px; padding: 15px 18px; border: 1px solid rgba(255,255,255,.16); border-radius: 15px; background: rgba(8, 22, 36, .8); box-shadow: 0 14px 30px rgba(0,0,0,.2); backdrop-filter: blur(12px); }
.floating-card small { color: rgba(255,255,255,.48); font-size: .7rem; text-transform: uppercase; letter-spacing: .1em; }
.floating-card strong { font-size: .87rem; }
.floating-card-top { top: 82px; left: -90px; }
.floating-card-bottom { right: 8px; bottom: 75px; }
.proof-strip { position: relative; z-index: 3; display: grid; grid-template-columns: repeat(4, 1fr); margin-top: 84px; border-top: 1px solid var(--line-light); border-bottom: 1px solid var(--line-light); }
.proof-strip article { display: flex; gap: 14px; padding: 24px 22px; border-right: 1px solid var(--line-light); }
.proof-strip article:last-child { border: 0; }
.proof-strip > article > span { color: var(--cyan); font-family: "Space Grotesk"; font-size: .72rem; }
.proof-strip div { display: grid; gap: 2px; }
.proof-strip strong { font-size: .84rem; }
.proof-strip small { color: rgba(238,247,255,.45); font-size: .73rem; }

.split-layout, .workflow-layout, .research-layout, .credentials-layout { display: grid; grid-template-columns: .72fr 1.28fr; gap: clamp(70px, 10vw, 150px); }
.section-intro h2, .section-heading h2 { margin: 0; font-size: clamp(2.7rem, 4.8vw, 5.1rem); font-weight: 600; }
.section-intro > p:last-child { max-width: 480px; color: var(--muted); }
.prose { max-width: 720px; }
.prose p { color: var(--muted); font-size: 1.02rem; }
.prose .lead-paragraph { color: var(--ink); font-size: clamp(1.25rem, 2vw, 1.65rem); line-height: 1.55; }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 40px; margin-bottom: 65px; }
.section-heading > p { max-width: 420px; margin-bottom: 4px; color: rgba(234,242,248,.58); }
.section:not(.section-dark) .section-heading > p { color: var(--muted); }

.expertise-grid { display: grid; grid-template-columns: repeat(2, 1fr); border-top: 1px solid var(--line-light); border-left: 1px solid var(--line-light); }
.expertise-card { position: relative; min-height: 390px; padding: 46px; border-right: 1px solid var(--line-light); border-bottom: 1px solid var(--line-light); transition: background .25s ease; }
.expertise-card:hover { background: var(--night-card); }
.expertise-card > i { color: var(--cyan); font-size: 2.3rem; }
.expertise-card > span { position: absolute; top: 46px; right: 46px; color: rgba(255,255,255,.3); font-family: "Space Grotesk"; font-size: .8rem; }
.expertise-card h3 { margin: 75px 0 14px; font-size: 2rem; }
.expertise-card p { max-width: 480px; color: rgba(234,242,248,.58); }
.expertise-card ul { display: flex; flex-wrap: wrap; gap: 8px; padding: 0; margin: 24px 0 0; list-style: none; }
.expertise-card li { padding: 7px 11px; border: 1px solid var(--line-light); border-radius: 999px; color: rgba(234,242,248,.76); font-size: .74rem; }

.sticky-intro { align-self: start; position: sticky; top: 120px; }
.identity-links { display: flex; flex-wrap: wrap; gap: 10px 18px; margin-top: 26px; }
.identity-links a { display: inline-flex; align-items: center; gap: 6px; padding-bottom: 3px; color: var(--blue); border-bottom: 1px solid rgba(37,99,235,.25); font-size: .82rem; font-weight: 700; }
.identity-links a:hover { border-color: var(--blue); }
.workflow-list { margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.workflow-list li { display: grid; grid-template-columns: 70px 1fr; gap: 26px; padding: 33px 0; border-bottom: 1px solid var(--line); }
.workflow-list li > span { color: var(--blue); font-family: "Space Grotesk"; font-size: .78rem; font-weight: 700; }
.workflow-list h3 { margin-bottom: 8px; font-size: 1.55rem; }
.workflow-list p { margin: 0; color: var(--muted); }

.timeline { border-top: 1px solid var(--line-light); }
.timeline-item { display: grid; grid-template-columns: .42fr 1fr; gap: 80px; padding: 60px 0; border-bottom: 1px solid var(--line-light); }
.timeline-meta { display: flex; flex-direction: column; gap: 12px; }
.timeline-meta span { width: max-content; padding: 5px 10px; color: var(--cyan); border: 1px solid rgba(61,225,209,.35); border-radius: 999px; font-size: .67rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.timeline-meta strong { max-width: 270px; font-family: "Space Grotesk"; font-size: 1.05rem; }
.role-kicker { margin-bottom: 12px; color: var(--lime); font-size: .78rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.timeline-body h3 { max-width: 720px; margin-bottom: 26px; font-size: clamp(1.8rem, 3vw, 3rem); }
.timeline-body ul { max-width: 790px; padding: 0; margin: 0; list-style: none; }
.timeline-body li { position: relative; padding: 8px 0 8px 24px; color: rgba(234,242,248,.62); }
.timeline-body li::before { content: ""; position: absolute; top: 19px; left: 0; width: 8px; height: 8px; border: 2px solid var(--cyan); border-radius: 50%; }

.text-link { flex-shrink: 0; padding-bottom: 3px; border-bottom: 1px solid var(--ink); font-weight: 700; }
.project-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.project-card { position: relative; min-height: 325px; padding: 34px; overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease; }
.project-card:hover { transform: translateY(-5px); border-color: rgba(47,115,255,.5); box-shadow: var(--shadow); }
.project-feature { color: white; background: linear-gradient(145deg, #123a70, #0c1e32 68%); border: 0; }
.project-feature::after { content: ""; position: absolute; width: 250px; height: 250px; right: -95px; bottom: -120px; border: 44px solid rgba(61,225,209,.12); border-radius: 50%; }
.project-number { color: var(--blue); font-family: "Space Grotesk"; font-size: .78rem; font-weight: 700; }
.project-feature .project-number { color: var(--cyan); }
.project-tags { display: flex; flex-wrap: wrap; gap: 7px; margin: 25px 0 45px; }
.project-tags span { padding: 5px 9px; border: 1px solid var(--line); border-radius: 999px; color: var(--muted); font-size: .7rem; }
.project-feature .project-tags span { color: rgba(255,255,255,.68); border-color: var(--line-light); }
.project-card h3 { max-width: 520px; margin-bottom: 14px; font-size: clamp(1.6rem, 2.3vw, 2.3rem); }
.project-card p { max-width: 530px; margin: 0; color: var(--muted); }
.project-feature p { color: rgba(255,255,255,.57); }
.project-card > i { position: absolute; right: 32px; top: 32px; font-size: 1.15rem; }

.credential-groups { display: grid; gap: 60px; }
.credential-group { border-top: 1px solid var(--line); }
.group-label { padding: 14px 0; color: var(--blue); font-size: .72rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; border-bottom: 1px solid var(--line); }
.credential-group article { display: grid; grid-template-columns: 140px 1fr; gap: 30px; padding: 30px 0; border-bottom: 1px solid var(--line); }
.credential-group article > span { color: var(--muted); font-size: .78rem; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; }
.credential-group h3 { margin-bottom: 7px; font-size: 1.35rem; }
.credential-group p { margin: 0; color: var(--muted); }
.credential-group a { display: inline-block; margin-top: 12px; color: var(--blue); font-size: .8rem; font-weight: 700; }

.publication-list { border-top: 1px solid var(--line); }
.publication { display: grid; grid-template-columns: 60px 1fr 24px; gap: 24px; align-items: start; padding: 27px 0; border-bottom: 1px solid var(--line); transition: padding-left .2s ease; }
.publication:hover { padding-left: 8px; }
.publication > span { color: var(--blue); font-family: "Space Grotesk"; font-size: .75rem; font-weight: 700; }
.publication h3 { margin-bottom: 8px; font-size: 1.25rem; line-height: 1.28; letter-spacing: -.02em; }
.publication p { margin: 0; color: var(--muted); font-size: .8rem; }
.publication > i { color: var(--blue); }
.publication-writing { background: linear-gradient(90deg, rgba(37,99,235,.06), transparent 72%); }
.more-publications { border-bottom: 1px solid var(--line); }
.more-publications summary { display: flex; justify-content: space-between; align-items: center; padding: 25px 0; color: var(--blue); font-weight: 700; cursor: pointer; list-style: none; }
.more-publications summary::-webkit-details-marker { display: none; }
.more-publications[open] summary i { transform: rotate(45deg); }
.more-publications summary i { transition: transform .2s ease; }
.more-publications > div { display: grid; padding-bottom: 18px; }
.more-publications > div a { display: flex; justify-content: space-between; gap: 20px; padding: 13px 0; color: var(--muted); border-top: 1px dashed var(--line); font-size: .88rem; }

.contact-section { padding: 30px 0 100px; background-color: var(--paper); }
.contact-card { position: relative; overflow: hidden; padding: clamp(48px, 8vw, 95px); color: white; background: linear-gradient(135deg, #123d75 0%, #07121f 72%); border-radius: 30px; box-shadow: var(--shadow); }
.contact-card::after { content: ""; position: absolute; width: 460px; height: 460px; right: -140px; bottom: -250px; border: 80px solid rgba(185,244,93,.1); border-radius: 50%; }
.contact-card h2 { position: relative; z-index: 2; max-width: 770px; margin-bottom: 20px; font-size: clamp(3rem, 6vw, 6.4rem); }
.contact-card > p:not(.eyebrow) { position: relative; z-index: 2; max-width: 670px; color: rgba(255,255,255,.62); font-size: 1.08rem; }
.contact-actions { position: relative; z-index: 2; }
.button-light { color: var(--night); background: white; }
.button-outline-light { color: white; border-color: rgba(255,255,255,.25); }
.button-outline-light:hover { border-color: rgba(255,255,255,.6); }
.contact-footer { position: relative; z-index: 2; display: flex; justify-content: space-between; gap: 20px; margin-top: 80px; padding-top: 22px; color: rgba(255,255,255,.52); border-top: 1px solid rgba(255,255,255,.14); font-size: .84rem; }
.contact-footer div { display: flex; flex-wrap: wrap; gap: 12px 22px; }
.contact-footer a:hover { color: white; }
.site-footer { color: var(--muted); background: var(--paper); }
.site-footer .shell { display: flex; justify-content: space-between; gap: 20px; padding: 0 0 35px; font-size: .79rem; }
.site-footer p { margin: 0; }

.reveal { opacity: 0; transform: translateY(22px); transition: opacity .75s ease, transform .75s ease; }
.reveal.in-view { opacity: 1; transform: none; }
.reveal-delay { transition-delay: .12s; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .reveal { opacity: 1; transform: none; transition: none; } * { animation-duration: .01ms !important; transition-duration: .01ms !important; } }

@media (max-width: 1000px) {
  :root { --shell: min(100% - 36px, 900px); }
  .site-nav { gap: 20px; }
  .hero-layout { grid-template-columns: 1fr .72fr; gap: 42px; }
  .hero h1 { font-size: clamp(3.7rem, 8vw, 6rem); }
  .floating-card { display: none; }
  .proof-strip { grid-template-columns: repeat(2, 1fr); }
  .proof-strip article:nth-child(2) { border-right: 0; }
  .proof-strip article:nth-child(-n+2) { border-bottom: 1px solid var(--line-light); }
  .split-layout, .workflow-layout, .research-layout, .credentials-layout { grid-template-columns: 1fr; gap: 55px; }
  .sticky-intro { position: static; }
}

@media (max-width: 760px) {
  :root { --shell: min(100% - 28px, 640px); }
  .section { padding: 92px 0; }
  .site-header { height: 68px; background: rgba(7,18,31,.88); border-bottom-color: var(--line-light); backdrop-filter: blur(16px); }
  .brand { font-size: .82rem; }
  .brand-mark { width: 34px; }
  .menu-button { display: block; }
  .site-nav { position: absolute; z-index: 110; top: 68px; left: 0; width: 100vw; height: calc(100vh - 68px); display: flex; flex-direction: column; align-items: stretch; gap: 0; padding: 26px 20px; background: #07121f; transform: translateX(100%); transition: transform .25s ease; }
  .site-nav.open { transform: none; }
  .site-nav > a { padding: 18px 10px; border-bottom: 1px solid var(--line-light); font-size: 1.05rem; }
  .site-nav .nav-cta { margin-top: 18px; color: var(--night); text-align: center; border: 0; }
  .hero { min-height: auto; padding: 120px 0 32px; }
  .hero-layout { grid-template-columns: 1fr; }
  .hero-copy { order: 2; }
  .hero-visual { order: 1; justify-self: center; width: min(330px, 90vw); }
  .portrait-frame { height: 430px; min-height: 0; border-radius: 130px 130px 20px 20px; }
  .hero h1 { font-size: clamp(3.5rem, 16vw, 5.5rem); }
  .hero-lead { font-size: 1rem; }
  .hero-actions .button { width: 100%; }
  .proof-strip { grid-template-columns: 1fr; margin-top: 55px; }
  .proof-strip article { border-right: 0; border-bottom: 1px solid var(--line-light); }
  .proof-strip article:last-child { border-bottom: 0; }
  .section-heading { align-items: start; flex-direction: column; margin-bottom: 45px; }
  .section-intro h2, .section-heading h2 { font-size: clamp(2.45rem, 12vw, 4rem); }
  .expertise-grid, .project-grid { grid-template-columns: 1fr; }
  .expertise-card { min-height: 0; padding: 34px 26px; }
  .expertise-card > span { top: 34px; right: 26px; }
  .expertise-card h3 { margin-top: 48px; }
  .workflow-list li { grid-template-columns: 44px 1fr; gap: 16px; }
  .timeline-item { grid-template-columns: 1fr; gap: 28px; padding: 46px 0; }
  .timeline-body h3 { font-size: 2rem; }
  .project-card { min-height: 300px; padding: 28px; }
  .credential-group article { grid-template-columns: 1fr; gap: 8px; }
  .publication { grid-template-columns: 48px 1fr 18px; gap: 12px; }
  .publication h3 { font-size: 1.05rem; }
  .contact-section { padding-bottom: 75px; }
  .contact-card { padding: 46px 25px; border-radius: 22px; }
  .contact-card h2 { font-size: clamp(2.8rem, 14vw, 4.4rem); }
  .contact-actions .button { width: 100%; }
  .contact-footer { flex-direction: column; margin-top: 55px; }
  .site-footer .shell { flex-direction: column; }
}

@media (max-width: 400px) {
  .brand > span:last-child { display: none; }
  .hero h1 { font-size: 3.2rem; }
  .signal-row { flex-direction: column; gap: 8px; }
}
