:root {
  --bg: #fbfcfa;
  --surface: #ffffff;
  --ink: #111827;
  --muted: #6b7280;
  --line: #e5e7eb;
  --accent: #0f766e;
  --accent-2: #1d4ed8;
  --accent-soft: #ecfdf8;
  --accent-2-soft: #eff6ff;
  --shadow: 0 1px 0 rgba(17, 24, 39, 0.04), 0 18px 40px rgba(17, 24, 39, 0.05);
  --radius: 16px;
  --sans: "DM Sans", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --serif: "Fraunces", Georgia, "Times New Roman", serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--sans);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.65;
  font-size: 16.5px;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--accent-2); text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: 3px; }
.wrap { width: min(1200px, calc(100% - 48px)); margin: 0 auto; }
.skip {
  position: absolute; left: -999px; top: 0; background: var(--ink); color: #fff; padding: 8px 12px; z-index: 50;
}
.skip:focus { left: 12px; top: 12px; }

.top {
  position: sticky; top: 0; z-index: 30;
  backdrop-filter: blur(14px);
  background: rgba(251, 252, 250, 0.92);
  border-bottom: 1px solid var(--line);
}
.top-inner {
  display: flex; align-items: center; justify-content: space-between;
  min-height: 64px; gap: 16px;
}
.brand {
  display: flex; align-items: center; gap: 10px;
  color: var(--ink); font-weight: 700; letter-spacing: -0.02em;
}
.brand:hover { text-decoration: none; }
.brand-dot {
  width: 9px; height: 9px; border-radius: 999px;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
}
nav { display: flex; flex-wrap: wrap; gap: 4px; }
nav a {
  color: var(--muted); font-weight: 600; font-size: 0.9rem;
  padding: 8px 12px; border-radius: 999px;
}
nav a:hover { color: var(--ink); background: #fff; text-decoration: none; }
nav a.active { color: var(--accent); background: var(--accent-soft); }

.hero { padding: 64px 0 40px; }
.hero-grid {
  display: grid;
  grid-template-columns: 300px minmax(0, 1fr);
  gap: 44px;
  align-items: start;
}
.portrait-card {
  width: 300px;
  max-width: 100%;
  justify-self: start;
}
.portrait-frame {
  width: 300px;
  max-width: 100%;
  padding: 3px;
  border-radius: 20px;
  background: linear-gradient(145deg, #14b8a6, #3b82f6);
  box-shadow: var(--shadow);
  overflow: hidden;
  line-height: 0;
}
.portrait {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 17px;
  vertical-align: middle;
}
.profile-links {
  display: flex; flex-wrap: wrap; justify-content: space-between;
  align-items: center;
  width: 100%;
  gap: 8px 10px; margin-top: 14px;
  font-size: 0.86rem; font-weight: 700;
}
.profile-links a {
  color: var(--accent);
  text-decoration: underline;
  text-decoration-color: rgba(15, 118, 110, 0.35);
  text-underline-offset: 3px;
  text-decoration-thickness: 1px;
}
.profile-links a:hover {
  color: var(--accent-2);
  text-decoration-color: var(--accent-2);
  text-decoration-thickness: 1.5px;
}

.hero-copy {
  padding-left: 22px;
  border-left: 3px solid var(--accent);
}
.kicker {
  margin: 0 0 12px;
  color: var(--accent);
  font-size: 0.78rem; font-weight: 800;
  letter-spacing: 0.1em; text-transform: uppercase;
}
h1 {
  margin: 0 0 10px;
  font-family: var(--serif);
  font-size: clamp(2.35rem, 4.8vw, 3.25rem);
  line-height: 1.05; letter-spacing: -0.035em; font-weight: 650;
}
.role { margin: 0 0 18px; color: var(--muted); font-size: 1.08rem; font-weight: 600; }
.pitch {
  margin: 0 0 16px;
  max-width: 54ch;
  font-family: var(--serif);
  font-size: 1.18rem;
  line-height: 1.45;
  color: var(--ink);
  font-weight: 500;
}
.lead { margin: 0; max-width: 62ch; color: #374151; font-size: 1.02rem; }
.points {
  margin: 18px 0 0; padding: 0; list-style: none;
  display: grid; gap: 10px;
}
.points li {
  display: grid; grid-template-columns: 14px 1fr; gap: 12px;
  align-items: start; color: #374151; font-weight: 500;
}
.points li::before {
  content: ""; width: 8px; height: 8px; margin-top: 0.55em;
  border-radius: 999px; background: var(--accent);
}
.chip-row { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.chip {
  display: inline-flex; align-items: center;
  padding: 6px 11px; border-radius: 999px;
  font-size: 0.76rem; font-weight: 700;
  border: 1px solid transparent;
}
.chip.teal { background: var(--accent-soft); color: var(--accent); }
.chip.blue { background: var(--accent-2-soft); color: var(--accent-2); }
.chip.neutral { background: #f3f4f6; color: #374151; border-color: var(--line); }
.chip a { color: inherit; }
.chip a:hover { text-decoration: none; }
.actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; }
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 11px 16px; border-radius: 999px; font-weight: 700; font-size: 0.92rem;
  border: 1px solid transparent;
}
.btn.primary { background: var(--ink); color: #fff; }
.btn.primary:hover { filter: brightness(1.08); text-decoration: none; }
.btn.ghost { background: #fff; color: var(--ink); border-color: var(--line); }
.btn.ghost:hover { border-color: #9ca3af; text-decoration: none; }
.btn.teal { background: var(--accent); color: #fff; }
.btn.teal:hover { filter: brightness(1.05); text-decoration: none; }

section { padding: 52px 0; }
.band {
  background: #f4f7f6;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.section-head {
  display: flex; align-items: end; justify-content: space-between;
  gap: 16px; margin-bottom: 22px; flex-wrap: wrap;
}
h2 {
  margin: 0;
  font-family: var(--serif);
  font-size: 1.7rem; letter-spacing: -0.025em; font-weight: 650;
}
.section-note { margin: 0; color: var(--muted); font-weight: 500; }
.cards { display: grid; gap: 14px; }
.cards.three { grid-template-columns: repeat(3, 1fr); }
.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px;
  box-shadow: var(--shadow);
}
.card h3 { margin: 0 0 10px; font-size: 1.05rem; font-family: var(--serif); }
.card p { margin: 0; color: var(--muted); }
.card .label {
  display: inline-block; margin-bottom: 10px;
  font-size: 0.72rem; font-weight: 800; letter-spacing: 0.08em;
  text-transform: uppercase; color: var(--accent);
}
.card-lines {
  margin: 0; padding: 0; list-style: none; display: grid; gap: 5px; color: var(--muted);
}
.card-lines li { margin: 0; line-height: 1.45; }

.pubs { display: grid; gap: 12px; }
.pub {
  display: grid; grid-template-columns: 78px 1fr auto;
  gap: 16px; align-items: start;
  padding: 18px 20px; background: var(--surface);
  border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.pub-tag {
  display: inline-flex; justify-content: center; align-items: center;
  min-height: 32px; padding: 6px 8px; border-radius: 999px;
  background: var(--accent-2-soft); color: var(--accent-2);
  font-size: 0.72rem; font-weight: 800; letter-spacing: 0.04em;
  text-transform: uppercase; text-align: center;
}
.pub h3 {
  margin: 0 0 6px; font-family: var(--serif); font-size: 1.05rem;
  line-height: 1.35; font-weight: 650;
}
.pub .meta { margin: 0; color: var(--muted); font-size: 0.94rem; }
.pub .go { font-weight: 700; white-space: nowrap; align-self: center; }

.gallery { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 14px; }
.gallery .feature, .gallery .stack figure, .feature {
  margin: 0; overflow: hidden; border-radius: var(--radius);
  border: 1px solid var(--line); background: var(--surface); box-shadow: var(--shadow);
}
.gallery .feature img, .feature img {
  width: 100%; aspect-ratio: 4/5; object-fit: cover; object-position: center center;
}
.gallery .stack { display: grid; gap: 14px; }
.gallery .stack img { width: 100%; aspect-ratio: 16/10; object-fit: cover; object-position: center center; }
.wide-shot {
  margin-top: 14px; overflow: hidden; border-radius: var(--radius);
  border: 1px solid var(--line); background: var(--surface); box-shadow: var(--shadow);
}
.wide-shot img { width: 100%; aspect-ratio: 21/9; object-fit: cover; object-position: center center; }
figcaption { padding: 12px 14px 14px; color: var(--muted); font-size: 0.9rem; }
figcaption strong { display: block; color: var(--ink); margin-bottom: 2px; }

.timeline { list-style: none; margin: 0; padding: 0; }
.timeline li {
  display: grid; grid-template-columns: 120px 1fr; gap: 14px;
  padding: 14px 0; border-bottom: 1px solid var(--line);
}
.timeline li:last-child { border-bottom: 0; }
.timeline span { color: var(--muted); font-variant-numeric: tabular-nums; font-weight: 600; }
.muted { color: var(--muted); }
.cv-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 18px; }
.list-clean { margin: 0; padding-left: 1.1rem; color: #374151; }
.list-clean li { margin: 8px 0; }

.contact {
  display: grid; grid-template-columns: 1fr 1fr; gap: 18px; align-items: stretch;
}
.contact-card { padding: 22px; }
.contact-card h3 { margin: 0 0 8px; font-family: var(--serif); }
.contact-card p { margin: 0 0 8px; color: var(--muted); }

.collab { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
.page-hero { padding: 40px 0 8px; }
.page-hero p { max-width: 62ch; color: var(--muted); margin: 10px 0 0; }
.callout-panel {
  background: linear-gradient(135deg, var(--accent-soft), var(--accent-2-soft));
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px 24px;
  box-shadow: var(--shadow);
}
.callout-panel h3 { margin: 0 0 8px; font-family: var(--serif); font-size: 1.2rem; }
.callout-panel p { margin: 0; color: #374151; max-width: 70ch; }

.sym {
  font-family: "Times New Roman", Times, "STIX Two Text", "Cambria Math", serif;
  font-style: italic; font-weight: 400; font-size: 1.05em; line-height: 1;
}
.nobr { white-space: nowrap; }

footer {
  padding: 28px 0 40px; color: var(--muted); font-size: 0.9rem;
  border-top: 1px solid var(--line);
}
.foot { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; }

@media (max-width: 860px) {
  .wrap { width: min(100% - 32px, 1180px); }
  .hero-grid, .cards.three, .pub, .gallery, .cv-grid, .contact { grid-template-columns: 1fr; }
  .hero-copy { border-left: 0; padding-left: 0; }
  .hero-grid { justify-items: center; }
  .portrait-card, .portrait-frame { width: min(100%, 280px); }
  .portrait-card { margin-inline: auto; justify-self: center; }
  .pub .go { justify-self: start; }
  .timeline li { grid-template-columns: 1fr; gap: 4px; }
  .wide-shot img { aspect-ratio: 16/9; }
}

.card p.why {
  margin: 0 0 10px;
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 500;
}
