/* Minimal, responsive academic portfolio */
:root {
  --bg: #fff;
  --text: #20242a;
  --muted: #68717b;
  --line: #e5e8eb;
  --accent: #356c68;
  --soft: #f5f7f6;
  --width: 1040px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; }
body { margin: 0; color: var(--text); background: var(--bg); font: 16px/1.7 system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; }
a { color: inherit; text-decoration: none; }
a:hover { color: var(--accent); }
a:focus-visible, button:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; }
.header { position: sticky; top: 0; z-index: 20; height: 72px; max-width: var(--width); padding: 0 28px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; background: rgba(255,255,255,.96); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.brand { font-size: 1rem; font-weight: 650; letter-spacing: -.025em; }
nav { display: flex; gap: 25px; }
nav a { color: #505862; font-size: .85rem; }
.menu-button { display: none; border: 0; background: transparent; }
main { max-width: var(--width); padding: 0 28px; margin: 0 auto; }
.hero { position: relative; isolation: isolate; width: 100vw; max-width: none; min-height: 100vh; min-height: 100svh; height: 100vh; height: 100svh; display: flex; align-items: center; margin: 0 0 0 calc(50% - 50vw); padding: 70px max(8%, calc((100vw - 1040px) / 2 + 28px)); overflow: hidden; background: #17252b; color: #fff; }
.hero-video, .hero-overlay { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-video { z-index: -2; object-fit: cover; background: #17252b; }
.hero-overlay { z-index: -1; background: linear-gradient(90deg, rgba(9,18,22,.76), rgba(9,18,22,.28) 75%), linear-gradient(0deg, rgba(9,18,22,.3), transparent 60%); }
.hero-content { max-width: 680px; }
.eyebrow { color: #c6e0db; margin: 0 0 14px; font-size: .75rem; font-weight: 650; text-transform: uppercase; letter-spacing: .11em; }
h1 { font-size: clamp(3rem, 7vw, 5.4rem); line-height: 1.06; letter-spacing: -.065em; font-weight: 680; margin: 0 0 16px; }
.hero-subtitle { color: rgba(255,255,255,.85); font-size: clamp(.95rem, 2vw, 1.1rem); margin: 0; }
.hero-link { display: inline-block; margin-top: 28px; padding-bottom: 4px; border-bottom: 1px solid rgba(255,255,255,.55); font-size: .9rem; }
.hero-link span { padding-left: 8px; }
.video-note { position: absolute; right: 18px; bottom: 14px; color: rgba(255,255,255,.7); font-size: .68rem; }
.video-note code { color: #fff; }
.content-section { display: grid; grid-template-columns: 230px 1fr; gap: 44px; border-top: 1px solid var(--line); padding: 46px 0 52px; }
.section-title { display: flex; align-items: baseline; }
h2 { font-size: 1.25rem; line-height: 1.35; letter-spacing: -.025em; margin: 0; font-weight: 650; }
.section-content { min-width: 0; max-width: 720px; }
.section-content > p { margin: 0 0 17px; }
.prose { max-width: 690px; }
.about-layout { display: grid; grid-template-columns: minmax(150px, 210px) minmax(0, 1fr); align-items: start; gap: 28px; max-width: 850px; }
.about-photo-wrap { width: 100%; aspect-ratio: 4 / 5; overflow: hidden; background: var(--soft); }
.about-photo { display: block; width: 100%; height: 100%; object-fit: cover; }
.prose strong { font-weight: 650; }
.section-intro { color: var(--muted); font-size: .91rem; }
.research-item { display: flex; justify-content: space-between; gap: 20px; padding: 0 0 21px; margin: 0 0 21px; border-bottom: 1px solid var(--line); }
.research-item:last-child { margin-bottom: 0; border-bottom: 0; }
h3 { margin: 0 0 5px; font-size: 1rem; font-weight: 650; letter-spacing: -.015em; }
.research-item p, .timeline-detail p { color: var(--muted); margin: 0; font-size: .91rem; }
.publication { display: grid; grid-template-columns: 105px 1fr 20px; gap: 18px; padding: 21px 0; border-top: 1px solid var(--line); }
.pub-meta { font-size: .78rem; color: var(--accent); padding-top: 3px; }
.pub-body h3 { line-height: 1.5; }
.pub-body h3 a:hover { text-decoration: underline; text-underline-offset: 3px; }
.authors { font-size: .84rem; color: var(--muted); margin: 4px 0 0; }
.pub-note { color: #9b6b3f; }
.pub-arrow { color: var(--accent); }
.bibliography-links { display: flex; flex-wrap: wrap; gap: 22px; margin-top: 8px; }
.bibliography-links a, .plain-link { font-size: .86rem; font-weight: 600; color: var(--accent); }
.timeline { margin-top: 28px; position: relative; --date-col: 90px; --timeline-gap: 17px; padding: 2px 0; }
.timeline::before { content: ""; position: absolute; top: 9px; bottom: 9px; left: calc(var(--date-col) + var(--timeline-gap) + 7px); width: 2px; background: #d8e1df; transform: translateX(-50%); }
.timeline-entry { display: grid; grid-template-columns: var(--date-col) 18px minmax(0, 1fr); column-gap: var(--timeline-gap); position: relative; padding-bottom: 34px; }
.timeline-entry:last-child { padding-bottom: 0; }
.timeline-date { color: var(--muted); font-size: .78rem; padding-top: 1px; }
.timeline-marker { width: 14px; height: 14px; border: 2px solid var(--accent); border-radius: 50%; background: white; margin-top: 5px; position: relative; z-index: 1; }
.timeline-place { color: var(--accent) !important; font-size: .84rem !important; margin-bottom: 8px !important; }
.timeline-detail p:last-child { max-width: 560px; }
.email-link { display: inline-block; padding-bottom: 3px; color: var(--accent); border-bottom: 1px solid #b6cfcc; font-weight: 600; }
.social-links { display: flex; flex-wrap: wrap; gap: 20px; margin-top: 23px; }
.social-links a { font-size: .85rem; color: var(--muted); }
.social-links a:hover { color: var(--accent); }
.muted { color: var(--muted); }
footer { max-width: var(--width); padding: 20px 28px 28px; margin: 0 auto; display: flex; justify-content: space-between; gap: 20px; color: var(--muted); font-size: .78rem; border-top: 1px solid var(--line); }
@media (max-width: 700px) {
  .header { height: 66px; padding: 0 22px; }
  .menu-button { display: block; cursor: pointer; padding: 8px 0 8px 8px; }
  .menu-button span { display: block; width: 23px; height: 2px; background: var(--text); margin: 5px 0; }
  nav { display: none; position: absolute; top: 66px; left: 0; right: 0; z-index: 10; padding: 18px 22px 24px; background: white; border-bottom: 1px solid var(--line); flex-direction: column; gap: 13px; }
  nav.open { display: flex; }
  main { padding: 0 22px; }
  .hero { width: 100vw; min-height: 100vh; min-height: 100svh; height: 100vh; height: 100svh; margin: 0 0 0 calc(50% - 50vw); padding: 40px 7%; }
  .content-section { grid-template-columns: 1fr; gap: 20px; padding: 32px 0 37px; }
  .about-layout { grid-template-columns: minmax(110px, 34%) minmax(0, 1fr); gap: 18px; }
  .timeline { --date-col: 70px; --timeline-gap: 12px; }
  .publication { grid-template-columns: 1fr 20px; gap: 8px 16px; }
  .pub-meta { grid-column: 1 / -1; }
  .pub-arrow { grid-column: 2; grid-row: 2; }
  .timeline-entry { grid-template-columns: 70px 18px 1fr; column-gap: 12px; }
  footer { padding: 18px 22px 24px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
