:root {
  color-scheme: light;
  --paper: #ffffff;
  --ink: #332d29;
  --muted: #6d6056;
  --link: #98462f;
  --line: #e5e8eb;
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; scroll-padding-top: 24px; }
body {
  margin: 0;
  background: radial-gradient(ellipse 900px 600px at 90% 0%, rgba(168, 207, 235, 0.45) 0%, rgba(212, 231, 246, 0.18) 38%, transparent 72%), var(--paper);
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.7;
}
a { color: var(--link); text-underline-offset: 4px; }
a:hover { text-decoration-thickness: 2px; }
a:focus-visible { outline: 3px solid var(--link); outline-offset: 5px; border-radius: 2px; }
.site-header, main, footer { width: min(960px, calc(100% - 64px)); margin-inline: auto; }
.site-header { display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 28px 0; border-bottom: 1px solid var(--line); }
.wordmark { color: var(--ink); font-weight: 650; text-decoration: none; border-bottom: 2px solid #e6a061; padding-bottom: 2px; }
nav { display: flex; gap: 26px; font-size: 14px; }
nav a { color: var(--muted); text-decoration: none; }
nav a:hover { color: var(--link); text-decoration: underline; }
.skip-link { position: absolute; left: 20px; top: -100px; padding: 8px 16px; background: white; z-index: 1; }
.skip-link:focus { top: 12px; }
.intro { display: grid; grid-template-columns: 235px 1fr; gap: 54px; align-items: start; padding: 70px 0 66px; }
.portrait { width: 100%; height: 294px; object-fit: cover; object-position: center 39%; border-radius: 3px; margin-top: 6px; }
.eyebrow { font-size: 11px; letter-spacing: 1.5px; text-transform: uppercase; color: var(--muted); margin: 0 0 13px; }
h1, h2, .intro-lead { font-family: Georgia, "Times New Roman", serif; font-weight: 400; }
h1 { font-size: clamp(38px, 6vw, 52px); letter-spacing: -1.8px; line-height: 1.08; margin: 0 0 19px; }
.intro-lead { font-size: 26px; line-height: 1.28; margin: 0 0 22px; color: var(--link); }
.intro p:not(.eyebrow):not(.intro-lead) { color: var(--muted); margin: 0 0 15px; font-size: 15px; }
.links { display: flex; flex-wrap: wrap; gap: 24px; margin-top: 24px; font-size: 14px; }
.links a { text-decoration: none; border-bottom: 1px solid var(--line); }
.links a:hover { border-color: var(--link); }
.section { padding: 45px 0 22px; border-top: 1px solid var(--line); }
.work-tabs { display: flex; align-items: baseline; gap: 40px; padding: 45px 0 12px; border-top: 1px solid var(--line); overflow-x: auto; }
.work-tab { flex: 0 0 auto; padding: 0 0 8px; margin: 0; border: 0; border-bottom: 1px solid transparent; background: none; font-family: Georgia, "Times New Roman", serif; font-size: 34px; font-weight: 400; line-height: 1.2; letter-spacing: -.8px; color: var(--muted); cursor: pointer; text-align: left; }
.work-tab[aria-selected="true"] { color: var(--ink); border-bottom-color: var(--line); }
.work-tab:hover { color: var(--ink); }
.work-tab:focus-visible { outline: 2px solid var(--link); outline-offset: -2px; }
.tabs-enabled .work-panel { padding-top: 12px; border-top: 0; }
.work-panel:focus-visible { outline: 2px solid var(--link); outline-offset: 4px; }
.section-heading { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; }
h2 { font-size: 34px; letter-spacing: -.8px; line-height: 1.2; margin: 0 0 16px; }
.section-note { font-size: 12px; color: var(--muted); }
.section-description { color: var(--muted); max-width: 720px; font-size: 15px; margin: 0 0 34px; }
.research-thread { margin: 0 0 38px; }
.research-thread > h3 { font-size: 24px; line-height: 1.35; font-weight: 600; letter-spacing: -.4px; color: var(--ink); margin: 30px 0 8px; padding-bottom: 15px; border-bottom: 1px solid var(--line); }
.paper { padding: 17px 0 21px; max-width: 870px; }
.paper + .paper { border-top: 1px solid var(--line); }
.paper-date { font-size: 12px; color: var(--muted); margin: 0 0 7px; }
.paper h4 { margin: 0 0 12px; font-size: 16px; line-height: 1.5; font-weight: 600; letter-spacing: -.1px; }
.paper h4 a { color: var(--ink); text-decoration: none; }
.paper h4 a:hover { color: var(--link); text-decoration: underline; }
.paper-findings { font-size: 14px; font-weight: 400; color: var(--ink); margin: 0; }
.paper-method { margin: 14px 0 0; padding-left: 15px; }
.paper-method h5 { font-size: 11px; line-height: 1.5; font-weight: 600; letter-spacing: .6px; text-transform: uppercase; color: var(--muted); margin: 0 0 4px; }
.paper-method p { font-size: 12px; line-height: 1.65; color: var(--muted); margin: 0; }
.paper-links { display: flex; gap: 22px; font-size: 13px; margin: 10px 0 0; }
.project h3 { font-size: 25px; letter-spacing: -.5px; line-height: 1.35; margin: 6px 0 14px; }
.project > p:not(.paper-date) { color: var(--muted); font-size: 15px; }
.project-metrics { display: grid; grid-template-columns: repeat(3, 1fr); margin: 28px 0; padding: 24px 0; border-block: 1px solid var(--line); }
.project-metrics div { padding: 0 22px; }
.project-metrics div:first-child { padding-left: 0; }
.project-metrics div + div { border-left: 1px solid var(--line); }
.project-metrics dt { font-family: Georgia, "Times New Roman", serif; font-size: 30px; line-height: 1.3; }
.project-metrics dd { margin: 9px 0 0; font-size: 12px; color: var(--muted); line-height: 1.6; }
.project-metrics dd span { color: var(--link); }
.architecture { margin: 28px 0 12px; }
.architecture img { display: block; width: 100%; height: auto; border: 1px solid var(--line); border-radius: 5px; background: white; }
figcaption { font-size: 12px; color: var(--muted); margin-top: 10px; }
.project > .project-note { font-size: 12px !important; max-width: 760px; margin-bottom: 30px; }
.contact { padding-bottom: 48px; }
.contact p { color: var(--muted); font-size: 15px; }
.contact-emails { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; margin-top: 25px; }
.email-card { display: flex; flex-direction: column; gap: 9px; padding: 22px 24px; background: white; border: 1px solid var(--line); border-radius: 6px; text-decoration: none; }
.email-card:hover { border-color: var(--link); background: #f8fbfd; }
.email-label { color: var(--muted); font-size: 11px; letter-spacing: 1px; text-transform: uppercase; }
.contact-email { font-size: 20px; font-family: Georgia, "Times New Roman", serif; overflow-wrap: anywhere; }
footer { display: flex; justify-content: space-between; gap: 18px; padding: 23px 0 35px; border-top: 1px solid var(--line); font-size: 11px; color: var(--muted); }
@media (max-width: 680px) {
  .site-header, main, footer { width: calc(100% - 40px); }
  .site-header { padding: 22px 0; }
  nav { gap: 14px; font-size: 12px; }
  .intro { grid-template-columns: 1fr; gap: 28px; padding: 35px 0 40px; }
  .portrait { width: 180px; height: 218px; }
  .section-heading { flex-direction: column; gap: 0; margin-bottom: 18px; }
  h2 { font-size: 29px; margin-bottom: 7px; }
  .section { padding-top: 30px; }
  .work-tabs { gap: 24px; padding-top: 30px; }
  .work-tab { font-size: 29px; }
  .research-thread > h3 { font-size: 21px; }
  .paper h4 { font-size: 15px; }
  .project-metrics dt { font-size: 23px; }
  .project-metrics div { padding: 0 12px; }
  .project-metrics dd { font-size: 11px; }
  .contact-emails { grid-template-columns: 1fr; }
  footer { flex-direction: column; gap: 4px; }
}
@media (max-width: 380px) {
  .site-header { align-items: start; flex-direction: column; gap: 10px; }
  .project-metrics { grid-template-columns: 1fr; gap: 16px; }
  .project-metrics div { padding: 0; }
  .project-metrics div + div { border-left: 0; padding-top: 16px; border-top: 1px solid var(--line); }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
@media print {
  .site-header, .skip-link { display: none; }
  .work-tabs { display: none; }
  .work-panel[hidden] { display: block !important; }
  .panel-heading[hidden] { display: flex !important; }
  body { background: white; font-size: 11pt; }
  main, footer { width: 100%; }
  .intro { padding: 0 0 24px; }
  .portrait { width: 160px; height: 195px; }
  .section { padding-top: 24px; }
  .paper, .project-metrics { break-inside: avoid; }
}
