:root {
  --paper: #faf9f6;
  --ink: #202321;
  --muted: #545951;
  --blue: #354da5;
  --rule: #d7d8d0;
  --serif: "Baskervville", "Baskerville", Georgia, serif;
  --sans: "DM Sans", "Segoe UI", Arial, sans-serif;
  --mono: "IBM Plex Mono", Consolas, monospace;
}
* { box-sizing: border-box; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--sans); }
.frame { width: min(1100px, 88%); margin-inline: auto; }
a { color: inherit; text-underline-offset: 4px; }
a:focus-visible { outline: 2px solid var(--blue); outline-offset: 5px; }
a:hover { color: var(--blue); }
.skip { position: absolute; top: -6rem; left: 1rem; padding: .8rem; background: white; z-index: 2; }
.skip:focus { top: .5rem; }
.site-header, nav, .brand, .email, footer, figcaption { display: flex; align-items: center; }
.site-header, footer, figcaption { justify-content: space-between; }
.site-header { min-height: 80px; border-bottom: 1px solid var(--rule); gap: 20px; }
.brand { gap: 12px; font: 600 16px var(--sans); }
.brand, nav a, .email, h3 a, footer a { text-decoration: none; }
.monogram { display: grid; place-items: center; width: 35px; height: 35px; color: white; background: var(--blue); font: italic 26px/1 var(--serif); letter-spacing: -2px; padding-right: 3px; border-radius: 4px; }
nav { gap: clamp(16px, 3vw, 36px); font-size: 14px; }
nav a, footer a { padding-block: 8px; }
nav a:hover, footer a:hover, h3 a:hover { text-decoration: underline; }
.intro { display: grid; grid-template-columns: 1.25fr 1fr; align-items: center; gap: 6%; padding: clamp(56px, 6vw, 88px) 0; }
.eyebrow, .meta, figcaption, .date { font-family: var(--mono); }
.eyebrow, .meta { text-transform: uppercase; font-size: 12px; letter-spacing: .1em; color: var(--blue); }
.eyebrow { display: flex; align-items: center; gap: 12px; margin: 0 0 18px; }
.eyebrow::before { content: ""; width: 28px; height: 2px; background: currentColor; }
h1, h2, h3, p, figure { margin: 0; }
h1, h2, h3 { font-family: var(--serif); font-weight: 400; }
h1 { font-size: clamp(62px, 6.35vw, 94px); letter-spacing: -.065em; line-height: 1.08; }
.bio { max-width: 550px; margin: 21px 0 25px; color: var(--muted); font-size: clamp(16px, 1.45vw, 19px); line-height: 1.62; }
.bio strong, .authors strong { color: var(--ink); font-weight: 600; }
.email { width: fit-content; gap: 11px; padding: 10px 16px; border: 1px solid #c8cfe1; border-radius: 5px; color: var(--blue); font-weight: 600; font-size: 14px; background: #f1f3f9; }
.email:hover { background: #e6eafa; }
.envelope { position: relative; display: inline-block; width: 16px; height: 12px; border: 1.5px solid currentColor; border-radius: 2px; overflow: hidden; }
.envelope::after { position: absolute; content: ""; width: 10px; height: 10px; border: solid currentColor; border-width: 0 1.5px 1.5px 0; transform: rotate(45deg); top: -6px; left: 1.5px; }
.specimen { justify-self: end; width: min(100%, 420px); }
.plot { position: relative; display: grid; place-items: center; aspect-ratio: 1.66; background-color: #edf0f6; background-image: linear-gradient(#7585ab18 1px, transparent 1px), linear-gradient(90deg, #7585ab18 1px, transparent 1px); background-size: 21px 21px; }
.plot img { width: 100%; height: 100%; position: absolute; object-fit: contain; }
.corner { position: absolute; width: 10px; height: 10px; border: solid #8792af; }
.tl { top: 0; left: 0; border-width: 1px 0 0 1px; }
.tr { top: 0; right: 0; border-width: 1px 1px 0 0; }
.bl { bottom: 0; left: 0; border-width: 0 0 1px 1px; }
.br { bottom: 0; right: 0; border-width: 0 1px 1px 0; }
figcaption { padding-top: 10px; font-size: 11px; letter-spacing: .025em; color: var(--muted); }
.section { border-top: 1px solid #93978e; padding-top: 30px; scroll-margin-top: 20px; }
h2 { font-size: clamp(35px, 3.3vw, 48px); line-height: 1.15; letter-spacing: -.047em; margin-bottom: 24px; }
.paper { display: grid; grid-template-columns: minmax(160px, 24%) 1fr; align-items: center; gap: clamp(22px, 3.2vw, 50px); padding: 24px 0; border-top: 1px solid var(--rule); }
.preview { aspect-ratio: 1.95; overflow: hidden; border: 1px solid #d7d9d2; border-radius: 5px; background: #f1f1eb; }
.preview img { width: 100%; height: 100%; object-fit: cover; display: block; }
.model { padding: 6px; background-color: #efefe9; }
.model img { object-fit: contain; mix-blend-mode: multiply; }
.meta { margin-bottom: 7px; font-size: 11px; }
.paper h3 { font-size: clamp(27px, 2.4vw, 35px); letter-spacing: -.04em; line-height: 1.1; }
.out { font: 18px var(--sans); color: var(--blue); margin-left: 8px; vertical-align: .25em; }
.subtitle { font-size: 16px; line-height: 1.42; margin: 7px 0 10px; }
.authors, .degree p { font-size: 14px; line-height: 1.6; color: var(--muted); }
.education { margin-top: 40px; }
.degree { display: grid; grid-template-columns: minmax(160px, 24%) 1fr; gap: clamp(22px, 3.2vw, 50px); border-top: 1px solid var(--rule); padding: 22px 0; }
.degree .date { font-size: 13px; padding-top: 6px; color: var(--blue); }
.degree h3 { font-size: 26px; letter-spacing: -.035em; margin-bottom: 5px; }
footer { margin-top: 48px; border-top: 1px solid var(--rule); padding: 20px 0 28px; font-size: 13px; color: var(--muted); }
@media (max-width: 760px) {
  .intro { grid-template-columns: 1fr; gap: 34px; padding-block: 46px; }
  .specimen { justify-self: start; width: 100%; }
  .plot { aspect-ratio: auto; height: clamp(185px, 39vw, 265px); }
  h1 { font-size: clamp(55px, 10.5vw, 78px); }
  .paper, .degree { grid-template-columns: 27% 1fr; gap: 20px; }
  .preview { aspect-ratio: 1.3; }
}
@media (max-width: 530px) {
  .site-header { min-height: 66px; gap: 10px; }
  .brand { font-size: 0; }
  nav { gap: 16px; font-size: 13px; }
  .paper { grid-template-columns: 1fr; gap: 16px; }
  .preview { aspect-ratio: 2.65; }
  .degree { grid-template-columns: 1fr; gap: 8px; }
  .section { padding-top: 24px; }
  h2 { margin-bottom: 19px; }
}
