@font-face {
  font-family: "Instrument Sans";
  src: url("type/instrument-sans.woff2") format("woff2");
  font-weight: 400 700;
  font-style: normal;
  font-display: swap;
}
:root {
  font-family: "Instrument Sans", sans-serif;
  font-size: 100%;
  font-weight: 400;
  --ink: #20211f;
  --quiet: #626460;
  --accent: #373a34;
  --margin: clamp(20px, 5vw, 92px);
  color: var(--ink);
  background: #fff;
  -webkit-text-size-adjust: 100%;
}
*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; line-height: 1.42; -webkit-font-smoothing: antialiased; }
h1, h2, h3, figure, p, ul { margin: 0; }
h1, h2, h3 { font-weight: 540; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; }
img { display: block; }
a, button { -webkit-tap-highlight-color: transparent; }
a:focus-visible, button:focus-visible { outline: 2px solid #565853; outline-offset: 4px; }
.sr-only, .skip:not(:focus) { clip-path: inset(50%); overflow: hidden; position: absolute; width: 1px; height: 1px; white-space: nowrap; }
.skip:focus { position: fixed; top: 10px; left: 10px; background: white; padding: 12px 16px; z-index: 10; }
.shell { width: calc(100% - 2 * var(--margin)); max-width: 1640px; margin-inline: auto; }
.masthead { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding-block: clamp(23px, 3.15vw, 47px) clamp(23px, 2.8vw, 42px); }
.identity { display: inline-flex; align-items: center; gap: 12px; white-space: nowrap; font-size: 1.875rem; font-weight: 550; line-height: 1.12; letter-spacing: -.047em; }
.identity-portrait { width: 46px; height: 46px; flex: none; border-radius: 50%; overflow: hidden; }
.identity-portrait img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.56); transform-origin: 42% 66%; }
.masthead nav { display: flex; align-items: baseline; gap: clamp(20px, 2.8vw, 44px); font-size: 1.125rem; line-height: 1.3; letter-spacing: -.02em; }
.masthead nav span { color: var(--ink); font-weight: 550; }
.masthead nav a { color: var(--quiet); transition: color .16s ease; }
.masthead nav a, .masthead nav span { padding-block: 9px; }
.project-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); column-gap: clamp(16px, 3vw, 55px); row-gap: clamp(36px, 4vw, 65px); align-items: start; }
.home { padding-bottom: clamp(48px, 6vw, 92px); }
.project-card { min-width: 0; }
.project-card a { display: block; }
.cover { width: 100%; aspect-ratio: 3 / 2; overflow: hidden; background: #f3f3f1; }
.cover img { width: 100%; height: 100%; object-fit: cover; transition: transform 320ms cubic-bezier(.2,.65,.35,1); }
.legend { padding-top: 12px; }
.legend h2 { font-size: 1.25rem; font-weight: 550; line-height: 1.28; letter-spacing: -.026em; text-wrap: pretty; }
.legend p { margin-top: 2px; font-size: 1.125rem; font-weight: 400; line-height: 1.35; letter-spacing: -.013em; color: var(--quiet); text-wrap: pretty; }
.reader-heading { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 46px; margin-bottom: 6px; }
.reader-heading h1 { font-size: 1.25rem; font-weight: 510; letter-spacing: -.024em; line-height: 1.25; max-width: 60ch; }
.reader-heading .reader-controls { flex-shrink: 0; gap: 0; margin: 0; }
.reader-heading [data-page-status] { min-width: 4ch; text-align: center; }
.reader { --reader-reserve: clamp(150px, 11.3vw, 183px); }
.reader-track { margin-inline: auto; }
.reader-track .sheet { padding-inline: clamp(2px, 1.3vw, 23px); }
.reader-heading button svg { display: block; }
.folio { padding-bottom: 12px; }
.resume { max-width: 1250px; padding-block: clamp(8px, 1.3vw, 23px) clamp(65px, 7vw, 105px); }
.cv-section { display: grid; grid-template-columns: minmax(180px, .74fr) minmax(0,2fr); gap: clamp(28px, 5vw, 88px); margin-top: clamp(42px, 5vw, 72px); }
.cv-section h2 { font-size: 1.375rem; letter-spacing: -.03em; line-height: 1.25; font-weight: 540; }
.cv-section ul { list-style: none; padding: 0; display: grid; gap: 25px; }
.cv-section li { display: grid; grid-template-columns: minmax(0,1fr) auto; gap: 8px clamp(20px, 3vw, 46px); align-items: baseline; }
.entry-body { min-width: 0; }
.entry-body h3 { font-size: 1.125rem; line-height: 1.32; font-weight: 550; letter-spacing: -.013em; text-wrap: pretty; }
.entry-body p, .date { font-size: 1rem; line-height: 1.5; color: var(--quiet); font-weight: 400; }
.entry-body p { margin-top: 3px; }
.date { font-variant-numeric: tabular-nums; white-space: nowrap; }
.publication-venue { text-wrap: pretty; }
@media (hover: hover) {
  .masthead nav a:hover { color: var(--ink); }
  .project-card a:hover .cover img { transform: scale(1.017); }
}
@media (max-width: 768px) {
  .masthead { padding-block: 20px 25px; }
  .identity { font-size: 1.5rem; gap: 9px; }
  .identity-portrait { width: 38px; height: 38px; }
  .masthead nav { gap: 21px; }
  .project-grid { grid-template-columns: minmax(0,1fr); row-gap: 35px; }
  .legend { padding-top: 10px; }
  .reader { --reader-reserve: 134px; }
  .reader-heading { gap: 9px; }
  .reader-heading h1 { font-size: 1.125rem; }
  .cv-section { grid-template-columns: minmax(0,1fr); gap: 19px; }
}
@media (max-width: 570px) {
  .cv-section li { grid-template-columns: minmax(0,1fr); gap: 3px; }
  .masthead nav { gap: 16px; }
  .reader-heading { align-items: start; }
  .reader-heading h1 { padding-block: 10px; }
  .reader-heading .reader-controls { margin-right: -7px; }
}
@view-transition { navigation: auto; }
@media (max-width: 365px) {
  .masthead { gap: 9px; }
  .identity { font-size: 1.25rem; gap: 7px; }
  .identity-portrait { width: 32px; height: 32px; }
  .masthead nav { gap: 11px; font-size: 1rem; }
}
::view-transition-old(root) { animation-duration: 115ms; }
::view-transition-new(root) { animation-duration: 155ms; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after, ::view-transition-old(root), ::view-transition-new(root) {
    scroll-behavior: auto !important; animation: none !important; transition: none !important;
  }
}
