:root {
  color-scheme: light;
  --navy: #101b2d;
  --navy-deep: #0b1423;
  --ink: #15243a;
  --muted: #4d6076;
  --line: #d9e2ea;
  --paper: #f4f7fa;
  --white: #fff;
  --sky: #b9e9fc;
  --soft: #b9c9db;
  --mono: "IBM Plex Mono", ui-monospace, monospace;
  --sans: Geist, system-ui, sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; color: var(--ink); background: var(--paper); font: 400 1rem/1.6 var(--sans); }
h1, h2, h3, p, dl, dd { margin: 0; }
a { color: inherit; }
button, summary { cursor: pointer; }
:focus-visible { outline: 3px solid #1683b7; outline-offset: 5px; }
.wrap { width: min(1120px, calc(100% - 80px)); margin-inline: auto; }
.skip { position: absolute; z-index: 5; top: 0; left: 1rem; padding: .55rem 1rem; background: var(--white); transform: translateY(-150%); }
.skip:focus { transform: translateY(0); }
.top { background: var(--navy-deep); color: var(--white); border-bottom: 1px solid #293a50; }
.top-inner { display: flex; gap: 2rem; min-height: 72px; align-items: center; }
.brand { display: inline-flex; align-items: center; gap: .7rem; margin-right: auto; text-decoration: none; font-weight: 700; white-space: nowrap; }
.monogram { display: grid; place-items: center; width: 35px; height: 35px; border: 1px solid #577087; border-radius: 7px; color: var(--sky); font: 600 .85rem var(--mono); }
nav { display: flex; align-items: center; gap: 1.8rem; }
nav a { text-decoration: none; font-size: .89rem; color: #d3dfea; }
nav a:hover, .footer a:hover { text-decoration: underline; text-underline-offset: .24em; }
.languages { display: flex; align-items: center; gap: .2rem; padding: .18rem; border: 1px solid #44566c; border-radius: 7px; }
.languages button { min-width: 34px; min-height: 30px; background: transparent; color: var(--soft); border: 0; border-radius: 4px; font: 600 .74rem var(--mono); }
.languages button[aria-pressed="true"] { background: var(--sky); color: var(--navy); }
.hero { color: var(--white); background: radial-gradient(ellipse at 83% 36%, #1a3652, transparent 66%), var(--navy); border-bottom: 4px solid var(--sky); }
.hero-grid { display: grid; grid-template-columns: 1.35fr 1fr; gap: clamp(30px, 7vw, 100px); align-items: center; padding-block: clamp(60px, 8vw, 108px); }
.eyebrow, .project-type, .date, .focus-header { font: 600 .75rem/1.5 var(--mono); letter-spacing: .10em; }
.eyebrow { color: #286181; }
.hero .eyebrow, .contact .eyebrow { color: var(--sky); }
.dot { display: inline-block; width: 7px; height: 7px; margin: 0 .65rem .08rem 0; border-radius: 50%; background: var(--sky); }
h1 { font-size: clamp(4rem, 8vw, 7rem); line-height: .99; letter-spacing: -.079em; font-weight: 800; margin-top: .8rem; }
h1 span { color: var(--sky); }
.role { margin-top: .55rem; font-size: clamp(1.65rem, 3.7vw, 2.8rem); line-height: 1.15; font-weight: 600; letter-spacing: -.055em; color: #d6e7f4; }
.pitch { max-width: 34rem; margin-top: 1.25rem; color: #cfdeed; font-size: clamp(1rem, 1.6vw, 1.22rem); }
.actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.7rem; }
.button { display: inline-flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 48px; padding: .7rem 1rem; border-radius: 7px; border: 1px solid transparent; font-weight: 700; line-height: 1.3; text-decoration: none; }
.button span:last-child { flex-shrink: 0; }
.primary { color: var(--navy); background: var(--sky); }
.primary:hover { background: #def5ff; }
.secondary { color: var(--white); border-color: #67829c; }
.secondary:hover { background: #213a53; }
.location-note { margin-top: 1rem; color: var(--soft); font-size: .85rem; }
.focus { padding: 1.25rem 1.4rem .55rem; background: #132239; border: 1px solid #40566d; border-radius: 13px; box-shadow: 0 22px 50px #060e1d44; }
.focus-header { color: var(--soft); padding-bottom: .75rem; }
.focus-line { display: flex; align-items: center; gap: 1rem; padding-block: 1.12rem; border-top: 1px solid #354961; }
.focus-icon { flex: 0 0 42px; min-height: 42px; display: grid; place-items: center; background: #203a53; border-radius: 7px; color: var(--sky); font: 600 .9rem var(--mono); }
.focus h2 { font-size: 1.03rem; line-height: 1.3; font-weight: 650; }
.focus p { color: var(--soft); font-size: .88rem; }
.section, .history { padding-block: clamp(54px, 7vw, 88px); }
.section-head { margin-bottom: 1.65rem; }
.section-head h2, .contact h2 { font-size: clamp(2.25rem, 5vw, 3.8rem); line-height: 1.08; letter-spacing: -.065em; margin-top: .25rem; }
.projects { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; align-items: start; }
.project { display: flex; flex-direction: column; align-self: stretch; border: 1px solid var(--line); border-radius: 12px; padding: clamp(1.2rem, 3vw, 1.9rem); background: var(--white); }
.project-type, .date { color: #286181; }
.project h3, .timeline h3 { font-size: clamp(1.35rem, 2.6vw, 1.8rem); line-height: 1.15; letter-spacing: -.035em; margin: .5rem 0 .55rem; }
.project p:not(.project-type), .timeline p:not(.date):not(.job) { color: var(--muted); }
.tags { display: flex; flex-wrap: wrap; list-style: none; gap: .45rem; margin: auto 0 0; padding: 1rem 0; }
.tags li { padding: .22rem .52rem; border-radius: 4px; color: #2e4d67; background: #ecf2f7; font: 500 .73rem/1.45 var(--mono); }
.project details { border-top: 1px solid var(--line); padding-top: .85rem; }
.project summary { color: #235474; font-weight: 700; font-size: .92rem; }
.project summary:hover span { text-decoration: underline; text-underline-offset: .22em; }
.project details p { margin-top: .6rem; font-size: .94rem; }
.academic { grid-column: 1 / -1; display: grid; grid-template-columns: 1.5fr 1fr; gap: 1.6rem; align-items: start; background: #e9f2f8; }
.academic .tags { padding-bottom: 0; }
.academic .tags li { background: #fff; }
.publication { align-self: center; padding-left: 1.4rem; border-left: 1px solid #c3d6e5; }
.publication-venue { margin-top: .75rem; font-size: .9rem; }
.publication-link { display: inline-block; margin-top: .25rem; color: #235474; font-weight: 700; text-underline-offset: .22em; }
.history { background: var(--white); border-block: 1px solid var(--line); }
.history-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: clamp(28px, 8vw, 100px); align-items: start; }
.timeline { border-left: 1px solid #b7cbdc; list-style: none; margin: 0; padding: 0; }
.timeline li { position: relative; padding: 0 0 1.6rem 1.25rem; }
.timeline li:last-child { padding-bottom: 0; }
.timeline li::before { content: ""; position: absolute; top: .22rem; left: -5px; width: 9px; height: 9px; border-radius: 50%; background: #286181; }
.timeline h3 { margin-bottom: .25rem; }
.job { font-weight: 650; margin-bottom: .22rem; }
.credentials { margin-top: .3rem; padding: 1.45rem; border: 1px solid var(--line); border-radius: 12px; background: var(--paper); }
.credentials h3 { font-size: 1.15rem; }
.credentials ul { margin: 0 0 1.1rem; padding: 0; list-style: none; }
.credentials li { display: grid; padding-block: .65rem; border-bottom: 1px solid var(--line); }
.credentials li span, .credentials dd { color: var(--muted); font-size: .88rem; }
.credentials dl div { display: flex; justify-content: space-between; gap: .8rem; align-items: baseline; margin-top: .35rem; }
.contact { background: var(--navy); color: var(--white); }
.contact-inner { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; padding-block: clamp(45px, 6vw, 72px); }
.contact-actions { display: grid; gap: .65rem; max-width: 100%; }
.contact p:not(.eyebrow) { margin-top: .65rem; color: #d3e1ef; }
footer { color: var(--soft); background: var(--navy-deep); border-top: 1px solid #293a50; }
.footer { display: flex; justify-content: space-between; gap: 1rem; padding-block: 1.05rem; font-size: .83rem; }
.footer a { text-decoration: none; }
@media (max-width: 800px) {
  .wrap { width: min(100% - 44px, 1120px); }
  .hero-grid { grid-template-columns: 1fr; gap: 2rem; }
  .focus { max-width: 540px; }
  .history-grid { gap: 1.5rem; }
}
@media (max-width: 640px) {
  .wrap { width: calc(100% - 34px); }
  .top-inner { gap: .4rem; flex-wrap: wrap; padding-block: .65rem; }
  nav { order: 3; width: 100%; gap: 1.1rem; }
  nav a { padding-block: .3rem; }
  .projects, .academic, .history-grid { grid-template-columns: 1fr; }
  .academic { gap: 1rem; }
  .publication { padding: .85rem 0 0; border-left: 0; border-top: 1px solid #c3d6e5; }
  .contact-inner { flex-direction: column; align-items: flex-start; }
  h1 { font-size: clamp(3.25rem, 13vw, 4.75rem); }
}
