@import url("https://fonts.googleapis.com/css2?family=DM+Mono:wght@400;500&family=Manrope:wght@400;500;600&family=Newsreader:opsz,wght@6..72,400;6..72,500&display=swap");

:root {
  --paper: #f3f0e8;
  --paper-deep: #e8e4d9;
  --ink: #161815;
  --muted: #686a63;
  --line: rgba(22, 24, 21, 0.16);
  --accent: #ef5b3f;
  --moss: #173f35;
  --acid: #d8ff72;
  --serif: "Newsreader", Georgia, serif;
  --sans: "Manrope", Arial, sans-serif;
  --mono: "DM Mono", monospace;
  --shell: min(1240px, calc(100vw - 64px));
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--paper); font-family: var(--sans); line-height: 1.5; }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; }
.shell { width: var(--shell); margin-inline: auto; }
.skip-link { position: fixed; top: 8px; left: 8px; z-index: 1000; padding: 10px 16px; background: var(--ink); color: white; transform: translateY(-150%); }
.skip-link:focus { transform: translateY(0); }

.site-header { position: fixed; z-index: 100; top: 0; left: 0; right: 0; height: 76px; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; padding: 0 32px; border-bottom: 1px solid transparent; transition: background .25s, border-color .25s, height .25s; }
.site-header.is-scrolled { height: 64px; background: rgba(243, 240, 232, .92); backdrop-filter: blur(16px); border-color: var(--line); }
.brand { display: flex; align-items: center; gap: 12px; justify-self: start; font-size: 13px; font-weight: 600; letter-spacing: -.02em; }
.brand-mark { width: 34px; aspect-ratio: 1; display: grid; place-items: center; border-radius: 50%; background: var(--ink); color: var(--paper); font-family: var(--serif); font-size: 15px; }
.main-nav { display: flex; gap: 34px; font-size: 13px; }
.main-nav a { position: relative; }
.main-nav a::after { content: ""; position: absolute; left: 0; right: 100%; bottom: -5px; height: 1px; background: currentColor; transition: right .2s; }
.main-nav a:hover::after { right: 0; }
.search-trigger { justify-self: end; display: flex; align-items: center; gap: 12px; border: 0; background: none; cursor: pointer; color: var(--ink); font-size: 13px; }
kbd { padding: 4px 7px; border: 1px solid var(--line); border-radius: 4px; font-family: var(--mono); font-size: 10px; }

.hero { min-height: 100vh; display: grid; grid-template-columns: 1.45fr .75fr; grid-template-rows: 1fr auto; column-gap: 7vw; padding-top: 150px; padding-bottom: 38px; }
.hero-copy { align-self: center; padding-bottom: 32px; }
.eyebrow, .section-index, .card-kicker { font-family: var(--mono); font-size: 11px; text-transform: uppercase; letter-spacing: .08em; }
.eyebrow { display: flex; align-items: center; gap: 10px; color: var(--muted); }
.status-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 4px rgba(239, 91, 63, .14); }
h1, h2 { font-family: var(--serif); font-weight: 400; letter-spacing: -.05em; line-height: .95; margin: 0; }
h1 { max-width: 900px; margin-top: 28px; font-size: clamp(64px, 7.4vw, 116px); }
h1 em, h2 em { color: var(--accent); font-weight: 400; }
.hero-intro { max-width: 690px; margin: 34px 0 0; font-size: clamp(16px, 1.5vw, 21px); line-height: 1.6; color: var(--muted); }
.hero-actions { display: flex; align-items: center; gap: 30px; margin-top: 38px; }
.button { display: inline-flex; align-items: center; gap: 40px; padding: 15px 18px; font-size: 13px; border: 1px solid var(--ink); transition: transform .2s, background .2s; }
.button:hover { transform: translateY(-2px); }
.button-dark { background: var(--ink); color: var(--paper); }
.text-link { font-size: 13px; border-bottom: 1px solid var(--ink); padding-bottom: 3px; }
.text-link span { color: var(--accent); }

.hero-visual { align-self: center; min-width: 0; }
.orbital-card { position: relative; aspect-ratio: 1; display: grid; place-items: center; border-radius: 50%; background: var(--moss); overflow: hidden; color: white; }
.orbital-card::before { content: ""; position: absolute; inset: 8%; border: 1px dashed rgba(255,255,255,.2); border-radius: 50%; }
.profile-monogram { position: relative; z-index: 2; width: 34%; aspect-ratio: 1; display: grid; place-items: center; border-radius: 50%; color: var(--ink); background: var(--acid); font-family: var(--serif); font-size: clamp(44px, 5vw, 72px); letter-spacing: -.08em; }
.orbit { position: absolute; width: 72%; height: 30%; border: 1px solid rgba(255,255,255,.4); border-radius: 50%; transform: rotate(24deg); }
.orbit-two { transform: rotate(-56deg); }
.orbit-label { position: absolute; z-index: 3; padding: 6px 9px; border: 1px solid rgba(255,255,255,.26); background: rgba(23,63,53,.75); backdrop-filter: blur(5px); font-family: var(--mono); font-size: 9px; text-transform: uppercase; letter-spacing: .08em; }
.label-vision { left: 8%; top: 44%; }.label-language { right: 9%; top: 28%; }.label-systems { right: 12%; bottom: 19%; }
.hero-note { display: flex; justify-content: space-between; gap: 20px; margin-top: 20px; padding-top: 14px; border-top: 1px solid var(--line); }
.hero-note span { font-family: var(--mono); font-size: 10px; color: var(--muted); text-transform: uppercase; }
.hero-note strong { max-width: 230px; font-family: var(--serif); font-size: 18px; font-weight: 400; line-height: 1.2; }
.hero-metrics { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); }
.hero-metrics div { display: flex; align-items: flex-end; gap: 18px; padding: 23px 0 0; }
.hero-metrics div + div { border-left: 1px solid var(--line); padding-left: 28px; }
.hero-metrics strong { font-family: var(--serif); font-size: 46px; line-height: .8; font-weight: 400; letter-spacing: -.05em; }
.hero-metrics .unit { font-size: 22px; color: var(--accent); }
.hero-metrics span:not(.unit) { font-size: 10px; line-height: 1.4; color: var(--muted); text-transform: uppercase; letter-spacing: .04em; }

.section { padding-block: 140px; }
.section-heading { display: grid; grid-template-columns: .75fr 1.25fr; margin-bottom: 72px; }
.section-heading .section-index { color: var(--accent); }
.section-heading h2 { max-width: 800px; font-size: clamp(52px, 6vw, 88px); }
.section-heading > p:last-child { max-width: 470px; align-self: end; margin: 0; color: var(--muted); font-size: 15px; line-height: 1.7; }
.heading-inline { grid-template-columns: 1fr 1fr; align-items: end; }
.heading-inline > div .section-index { margin-bottom: 25px; }

.project-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 16px; }
.project-card { position: relative; min-height: 480px; display: flex; flex-direction: column; justify-content: space-between; overflow: hidden; padding: 26px; background: var(--paper-deep); border: 1px solid var(--line); }
.project-card:nth-child(2) { background: var(--moss); color: white; }
.project-card:nth-child(3), .project-card:nth-child(4) { min-height: 390px; }
.project-topline { display: flex; justify-content: space-between; font-family: var(--mono); text-transform: uppercase; font-size: 10px; letter-spacing: .05em; opacity: .72; }
.project-number { position: absolute; top: 13%; right: 4%; color: rgba(22,24,21,.06); font-family: var(--serif); font-size: 210px; line-height: 1; letter-spacing: -.1em; }
.project-card:nth-child(2) .project-number { color: rgba(255,255,255,.07); }
.project-body { position: relative; z-index: 2; }
.project-body h3, .more-projects h3 { margin: 0 0 15px; font-family: var(--serif); font-size: clamp(34px, 4vw, 60px); font-weight: 400; letter-spacing: -.04em; line-height: 1; }
.project-body > p { max-width: 550px; margin: 0 0 24px; color: var(--muted); font-size: 14px; line-height: 1.65; }
.project-card:nth-child(2) .project-body > p { color: rgba(255,255,255,.68); }
.impact { display: flex; align-items: center; gap: 18px; width: fit-content; margin: 28px 0; padding: 12px 15px 10px 0; border-top: 1px solid currentColor; border-bottom: 1px solid currentColor; }
.impact strong { font-family: var(--serif); font-size: 45px; font-weight: 400; letter-spacing: -.05em; }
.impact span { max-width: 190px; font-size: 10px; text-transform: uppercase; letter-spacing: .04em; }
.tag-list { display: flex; flex-wrap: wrap; gap: 7px; margin: 0; padding: 0; list-style: none; }
.tag-list li { padding: 7px 10px; border: 1px solid currentColor; border-radius: 100px; font-family: var(--mono); font-size: 9px; text-transform: uppercase; opacity: .8; }
.project-signal { height: 80px; display: flex; align-items: end; gap: 5px; margin: 26px 0; }
.project-signal i { width: 11px; height: 35%; background: var(--accent); animation: pulse 2.2s ease-in-out infinite alternate; }
.project-signal i:nth-child(2n) { height: 75%; animation-delay: -.7s; }.project-signal i:nth-child(3n) { height: 48%; animation-delay: -1.4s; }
@keyframes pulse { to { height: 90%; } }
.more-projects { margin-top: 16px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.more-projects summary { display: flex; justify-content: space-between; padding: 22px 0; cursor: pointer; font-size: 13px; list-style: none; }
.more-projects summary::-webkit-details-marker { display: none; }
.more-projects summary span { font-size: 20px; transition: transform .2s; }.more-projects[open] summary span { transform: rotate(45deg); }
.more-projects-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; padding-bottom: 16px; }
.more-projects-grid article { padding: 24px; background: rgba(255,255,255,.3); }
.more-projects-grid span { font-family: var(--mono); font-size: 10px; color: var(--accent); }
.more-projects-grid h3 { margin-top: 35px; font-size: 30px; }
.more-projects-grid p { color: var(--muted); font-size: 13px; line-height: 1.6; }

.research-section { background: var(--ink); color: var(--paper); }
.research-section .section-heading > p:last-child { color: rgba(243,240,232,.58); }
.publication-toolbar { display: flex; justify-content: space-between; align-items: center; margin-bottom: 16px; padding-bottom: 22px; border-bottom: 1px solid rgba(255,255,255,.16); }
.filter-group { display: flex; gap: 9px; }
.filter-button { padding: 8px 12px; border: 1px solid rgba(255,255,255,.22); border-radius: 100px; background: transparent; color: inherit; cursor: pointer; font-family: var(--mono); font-size: 10px; text-transform: uppercase; }
.filter-button span { margin-left: 4px; opacity: .5; }.filter-button.is-active { background: var(--acid); border-color: var(--acid); color: var(--ink); }
.publication-toolbar > p { font-family: var(--mono); font-size: 10px; text-transform: uppercase; opacity: .55; }
.publication { display: grid; grid-template-columns: 90px 1fr auto; gap: 28px; align-items: start; padding: 31px 0; border-bottom: 1px solid rgba(255,255,255,.14); transition: opacity .2s; }
.publication[hidden] { display: none; }
.pub-year, .pub-venue { font-family: var(--mono); font-size: 10px; letter-spacing: .04em; text-transform: uppercase; }
.pub-year { color: var(--accent); }.pub-venue { margin: 0 0 10px; opacity: .55; }
.publication h3 { max-width: 900px; margin: 0; font-family: var(--serif); font-size: clamp(22px, 2.5vw, 34px); line-height: 1.15; font-weight: 400; letter-spacing: -.025em; }
.pub-authors { margin: 12px 0 0; font-size: 11px; opacity: .6; }.pub-authors strong { color: var(--acid); font-weight: 500; }
.publication > a, .no-link { padding-top: 26px; font-family: var(--mono); font-size: 10px; text-transform: uppercase; white-space: nowrap; }
.publication > a:hover { color: var(--acid); }
.no-link { opacity: .35; }

.journey-layout { display: grid; grid-template-columns: 1.35fr .65fr; gap: 8vw; align-items: start; }
.timeline-item { display: grid; grid-template-columns: 110px 1fr; gap: 20px; padding: 29px 0; border-top: 1px solid var(--line); }
.timeline-item time, .education-card span, .recognition-grid time { font-family: var(--mono); font-size: 10px; color: var(--accent); }
.timeline-item h3 { margin: 4px 0 12px; font-family: var(--serif); font-size: 30px; font-weight: 400; letter-spacing: -.03em; }
.timeline-item div > p:first-child { margin: 0; font-size: 10px; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); }
.timeline-item div > p:last-child { max-width: 650px; margin: 0; color: var(--muted); font-size: 13px; line-height: 1.7; }
.education-card { position: sticky; top: 100px; padding: 28px; background: var(--accent); color: var(--ink); }
.education-card .card-kicker { margin: 0 0 50px; }
.education-card article { padding: 24px 0; border-top: 1px solid rgba(22,24,21,.28); }
.education-card span { color: inherit; opacity: .65; }.education-card h3 { margin: 8px 0 2px; font-family: var(--serif); font-size: 26px; font-weight: 400; line-height: 1; }
.education-card p { margin: 6px 0; font-size: 11px; }.education-card small { display: block; margin-top: 13px; opacity: .7; line-height: 1.5; }

.capabilities-section { background: var(--moss); color: white; }
.capabilities-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 8vw; }
.capabilities-grid .section-heading { display: block; margin: 0; }.capabilities-grid .section-index { color: var(--acid); margin-bottom: 30px; }
.capabilities-grid h2 { font-size: clamp(48px, 5.5vw, 76px); }
.capability-list article { display: grid; grid-template-columns: 55px 1fr; gap: 18px; padding: 30px 0; border-top: 1px solid rgba(255,255,255,.18); }
.capability-list article > span { font-family: var(--mono); font-size: 10px; color: var(--acid); }
.capability-list h3 { margin: 0 0 12px; font-family: var(--serif); font-size: 27px; font-weight: 400; }.capability-list p { margin: 0; color: rgba(255,255,255,.6); font-size: 13px; line-height: 1.7; }

.recognition-section .section-heading { grid-template-columns: .75fr 1.25fr; }
.recognition-grid { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.recognition-grid article { min-height: 190px; padding: 25px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.recognition-grid h3 { max-width: 280px; margin: 35px 0 7px; font-family: var(--serif); font-size: 25px; font-weight: 400; line-height: 1.1; }.recognition-grid p { margin: 0; color: var(--muted); font-size: 11px; }

.contact-section { padding: 140px 0 65px; background: var(--accent); }
.contact-inner .section-index { margin-bottom: 75px; }.contact-inner h2 { max-width: 1000px; font-size: clamp(64px, 8vw, 122px); }.contact-inner h2 em { color: var(--paper); }
.contact-inner > p:nth-of-type(2) { max-width: 530px; margin: 35px 0 60px; font-size: 15px; line-height: 1.7; }
.contact-email { display: flex; justify-content: space-between; align-items: center; padding: 20px 0; border-top: 1px solid var(--ink); border-bottom: 1px solid var(--ink); font-family: var(--serif); font-size: clamp(24px, 4vw, 50px); letter-spacing: -.03em; }
.contact-links { display: flex; gap: 26px; justify-content: flex-end; margin-top: 24px; font-family: var(--mono); font-size: 10px; text-transform: uppercase; }
.site-footer { padding: 22px 0; background: var(--ink); color: rgba(255,255,255,.55); font-family: var(--mono); font-size: 9px; text-transform: uppercase; }
.site-footer > div { display: flex; justify-content: space-between; }

.search-dialog { width: 100%; max-width: none; height: 100%; max-height: none; margin: 0; padding: 0; border: 0; background: rgba(22,24,21,.96); color: var(--paper); }
.search-dialog::backdrop { background: rgba(22,24,21,.75); }
.search-shell { width: min(820px, calc(100vw - 40px)); margin: 13vh auto 0; }
.search-field { display: grid; grid-template-columns: auto 1fr auto; gap: 16px; align-items: center; padding: 18px 0; border-bottom: 1px solid rgba(255,255,255,.35); }
.search-field > span { font-size: 26px; }.search-field input { width: 100%; border: 0; outline: 0; background: transparent; color: white; font-family: var(--serif); font-size: clamp(25px, 4vw, 45px); }
.search-field input::placeholder { color: rgba(255,255,255,.35); }.search-field button { border: 1px solid rgba(255,255,255,.25); background: transparent; color: white; font-family: var(--mono); font-size: 9px; padding: 6px 8px; cursor: pointer; }
.search-hint { font-family: var(--mono); font-size: 10px; opacity: .45; }.search-results { margin-top: 40px; max-height: 55vh; overflow: auto; }
.search-result { display: block; padding: 18px 0; border-top: 1px solid rgba(255,255,255,.13); }.search-result span { font-family: var(--mono); font-size: 9px; color: var(--acid); text-transform: uppercase; }.search-result strong { display: block; margin-top: 5px; font-family: var(--serif); font-size: 25px; font-weight: 400; }
.search-empty { opacity: .5; font-family: var(--serif); font-size: 25px; }

.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }.reveal.is-visible { opacity: 1; transform: translateY(0); }

@media (max-width: 900px) {
  :root { --shell: min(100% - 36px, 700px); }
  .site-header { height: 64px; grid-template-columns: 1fr auto; padding: 0 18px; }.brand-name, .main-nav { display: none; }
  .hero { min-height: auto; grid-template-columns: 1fr; padding-top: 120px; }.hero-visual { width: min(430px, 90%); margin: 70px auto 50px; }.hero-metrics { grid-column: 1; grid-template-columns: repeat(2, 1fr); gap: 0; }.hero-metrics div { min-height: 100px; padding: 20px 0; border-top: 1px solid var(--line); }.hero-metrics div + div { padding-left: 20px; }.hero-metrics div:nth-child(3) { border-left: 0; }
  .section { padding-block: 95px; }.section-heading, .heading-inline, .capabilities-grid { grid-template-columns: 1fr; gap: 25px; }.section-heading { margin-bottom: 45px; }.section-heading > p:last-child { align-self: start; }
  .project-grid { grid-template-columns: 1fr; }.project-card { min-height: 430px; }.more-projects-grid { grid-template-columns: 1fr; }
  .publication { grid-template-columns: 55px 1fr; gap: 15px; }.publication > a, .publication > .no-link { grid-column: 2; padding-top: 0; }.publication h3 { font-size: 24px; }
  .journey-layout { grid-template-columns: 1fr; gap: 55px; }.education-card { position: static; }
  .recognition-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 560px) {
  h1 { font-size: 55px; }.hero-actions { flex-direction: column; align-items: flex-start; }.hero-metrics strong { font-size: 34px; }.hero-metrics div { gap: 10px; }.hero-metrics div + div { padding-left: 12px; }
  .section-heading h2 { font-size: 48px; }.project-card { min-height: 390px; padding: 20px; }.project-number { font-size: 150px; }.impact { align-items: flex-start; flex-direction: column; }
  .publication-toolbar { align-items: flex-start; gap: 15px; flex-direction: column; }.filter-group { flex-wrap: wrap; }.publication { grid-template-columns: 1fr; }.pub-year, .publication > a, .publication > .no-link { grid-column: 1; }.publication > a, .publication > .no-link { padding-top: 0; }
  .timeline-item { grid-template-columns: 1fr; gap: 9px; }.recognition-grid { grid-template-columns: 1fr; }.contact-links { justify-content: flex-start; flex-wrap: wrap; }.site-footer > div { gap: 15px; flex-direction: column; }
}

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