@font-face {
  font-family: "DM Sans";
  src: url("assets/dm-sans.woff") format("woff");
  font-style: normal;
  font-weight: 100 1000;
  font-display: swap;
}
:root {
  color-scheme: light;
  --paper: #eeefec;
  --ink: #242620;
  --muted: #5a5d55;
  --line: #92958d;
  --light-line: #c2c5bd;
  --gutter: clamp(1.25rem, 4.3vw, 5rem);
  font-family: "DM Sans", Arial, sans-serif;
  font-synthesis: none;
  background: var(--paper);
  color: var(--ink);
}
* { box-sizing: border-box; }
body { margin: 0; font-size: 1rem; line-height: 1.5; }
a { color: inherit; text-underline-offset: .18em; }
a:hover { text-decoration-thickness: .1em; }
a:focus-visible, button:focus-visible, summary:focus-visible {
  outline: 3px solid #356447; outline-offset: 4px;
}
img { display: block; max-width: 100%; height: auto; }
button { font: inherit; color: inherit; }
[hidden] { display: none !important; }
::selection { background: #d5eab1; color: #192414; }
.shell { width: min(calc(100% - 2 * var(--gutter)), 100rem); margin-inline: auto; }
.site-header {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  min-height: 5.1rem; border-bottom: 1px solid var(--ink);
}
.brand { display: inline-flex; align-items: center; gap: .63rem; font-size: 1.08rem; font-weight: 600; letter-spacing: -.035em; text-decoration: none; white-space: nowrap; }
.monogram { display: grid; place-items: center; width: 2.22rem; height: 2.22rem; padding: 0 .16rem .18rem 0; border-radius: 50%; color: var(--paper); background: var(--ink); font-size: 1.35rem; font-weight: 650; letter-spacing: -.11em; line-height: 1; }
nav { display: flex; align-items: center; gap: .25rem; }
nav a { text-decoration: none; font-size: .95rem; border-radius: 3rem; padding: .32rem .84rem; line-height: 1.35; }
nav a:hover { background: #dee1d9; }
nav [aria-current="page"] { color: var(--paper); background: var(--ink); }
.intro { padding: clamp(3.5rem, 6vw, 6.8rem) 0 clamp(3.6rem, 6.2vw, 7rem); }
.intro h1 {
  max-width: 30em; margin: 0; font-size: clamp(2.35rem, 4.15vw, 4.8rem);
  font-weight: 440; letter-spacing: -.057em; line-height: 1.33; text-wrap: pretty;
}
.inline-pill {
  display: inline-flex; align-items: center; gap: .17em; padding: 0 .25em .045em .07em;
  border: 1px solid currentColor; border-radius: 3em; color: inherit; text-decoration: none;
  line-height: .99; vertical-align: -.03em; white-space: nowrap;
}
.inline-pill img { width: .88em; height: .88em; border-radius: 50%; margin-top: .045em; object-fit: cover; }
.inline-pill:hover, .button-link:hover, .browse-more a:hover { background: var(--ink); color: var(--paper); }
.section-line {
  display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; padding: .8rem 0;
  border-top: 1px solid var(--ink); border-bottom: 1px solid var(--light-line);
}
.section-line h2, .section-line a { margin: 0; font-size: .94rem; font-weight: 500; letter-spacing: -.02em; }
.section-line a { font-weight: 400; color: var(--muted); }
.project, .working-paper, .case-section {
  display: grid; grid-template-columns: minmax(0, .84fr) minmax(0, 1.65fr); gap: clamp(2rem, 5vw, 6rem);
  padding: clamp(1.85rem, 3vw, 3.9rem) 0 clamp(2.8rem, 5vw, 5.8rem); border-bottom: 1px solid var(--line);
}
.project-copy { align-self: start; }
.eyebrow, .gallery-count, .timeline-date { font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace; font-size: .78rem; letter-spacing: .015em; color: var(--muted); }
.eyebrow { margin: .15rem 0 1.1rem; text-transform: uppercase; }
.eyebrow span { margin: 0 .2em; color: #767b70; }
.project h3, .working-paper h3 { margin: 0; font-size: clamp(2.3rem, 3.05vw, 3.8rem); font-weight: 460; letter-spacing: -.061em; line-height: 1.03; }
.project h3 a { text-decoration: none; }
.project h3 a:hover { text-decoration: underline; text-decoration-thickness: 1px; }
.project-desc, .working-paper p:not(.eyebrow), .case-section p, .profile-copy p, .timeline p {
  max-width: 54ch; font-size: 1.025rem; letter-spacing: -.012em; line-height: 1.52;
}
.project-desc { margin: 1.38rem 0 1.65rem; }
.project-meta { margin: 0 0 1.65rem; font-size: .9rem; }
.project-meta div { display: flex; column-gap: 1rem; }
.project-meta dt { min-width: 5.5em; color: var(--muted); }
.project-meta dd { margin: 0; }
.button-link, .profile-links a { display: inline-flex; align-items: center; min-height: 2.55rem; padding: .42rem 1rem; border: 1px solid var(--ink); border-radius: 3em; text-decoration: none; font-size: .99rem; }
.gallery { min-width: 0; position: relative; align-self: start; }
figure { margin: 0; }
.diptych, .gallery-sheet, .peening-art { display: grid; border-radius: 1rem; overflow: hidden; background: #dedfd9; }
.diptych { grid-template-columns: minmax(0, 1fr) minmax(0, 31%); gap: 3px; aspect-ratio: 1.93; background: var(--paper); }
.diptych a { display: block; overflow: hidden; }
.diptych img { width: 100%; height: 100%; object-fit: cover; }
.diptych a:last-child { background: white; }
.diptych a:last-child img { object-fit: contain; }
.gallery-sheet { aspect-ratio: 1.93; place-items: center; padding: .9rem; background: #e2e3de; }
.gallery-sheet img { width: 100%; height: 100%; min-height: 0; object-fit: contain; }
figcaption { font-size: .82rem; line-height: 1.5; letter-spacing: -.012em; color: var(--muted); margin-top: .7rem; }
.gallery figcaption { padding-right: 7.9rem; }
.gallery-tools { position: absolute; right: 0; top: 0; margin-top: calc(100% / 1.93 + .4rem); display: flex; align-items: center; justify-content: flex-end; gap: .3rem; }
.gallery-count { margin-right: .25rem; font-size: .8rem; white-space: nowrap; }
.gallery-tools button { display: grid; place-items: center; width: 1.95rem; height: 1.95rem; border-radius: 50%; border: 1px solid var(--line); background: transparent; cursor: pointer; }
.gallery-tools button span { font: 1.55rem/.7 Arial, sans-serif; transform: translateY(-.1rem); }
.gallery-tools button:hover { color: var(--paper); background: var(--ink); border-color: var(--ink); }
.credits { margin-top: .45rem; font-size: .8rem; line-height: 1.45; color: var(--muted); }
.credits summary { cursor: pointer; width: fit-content; }
.credits p { max-width: 80ch; }
.working-paper { align-items: center; padding-block: 2.8rem; }
.working-paper h3 { max-width: 17em; font-size: clamp(1.9rem, 2.4vw, 3.1rem); }
.working-paper p:not(.eyebrow) { margin: 0 0 .8rem; }
.text-link { display: inline-block; }
.peening-art { aspect-ratio: 1.93; place-items: center; padding: clamp(1rem, 3vw, 3.55rem); }
.peening-art img { max-height: 100%; object-fit: contain; min-height: 0; }
.browse-more { display: flex; flex-wrap: wrap; gap: .6rem; margin-block: 3.5rem 5rem; }
.browse-more a { font-size: clamp(1.45rem, 2.7vw, 2.8rem); line-height: 1.15; padding: .18em .49em .24em; border: 1px solid var(--ink); border-radius: 4rem; text-decoration: none; letter-spacing: -.05em; }
.site-footer { padding: 1.25rem 0 2.15rem; border-top: 1px solid var(--ink); display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 1rem; font-size: .91rem; }
.site-footer div { display: flex; flex-wrap: wrap; gap: .45rem 1.1rem; }
.inner-page { padding-block: clamp(3rem, 6vw, 6.5rem) 5rem; }
.page-title { font-size: clamp(3.2rem, 7.4vw, 7.5rem); line-height: .99; font-weight: 430; letter-spacing: -.075em; margin: 0 0 2rem; }
.profile-intro { margin: 2.5rem 0 4rem; display: grid; grid-template-columns: minmax(12rem, 22rem) minmax(0, 1fr); align-items: start; gap: clamp(1.5rem, 6vw, 6rem); }
.profile-portrait { width: 100%; max-width: 17rem; border-radius: 1rem; }
.profile-copy p:first-child, .case-intro { margin: 0 0 1.2rem; font-size: clamp(1.45rem, 2.4vw, 2.7rem); line-height: 1.22; letter-spacing: -.045em; max-width: 47ch; }
.profile-links { margin-top: 1.4rem; display: flex; gap: .4rem; flex-wrap: wrap; }
.profile-links a:hover { background: var(--ink); color: var(--paper); }
.inner-page section > h2, .case-section h2 { font-size: clamp(1.8rem, 3vw, 3.2rem); font-weight: 450; line-height: 1.1; letter-spacing: -.05em; }
.timeline { margin: 1.3rem 0 3rem; }
.timeline-row { display: grid; grid-template-columns: 1fr 2.3fr; gap: 1.2rem; padding: 1.5rem 0; border-top: 1px solid var(--line); }
.timeline-date { margin-top: .4rem; }
.timeline h3 { margin: 0; font-size: clamp(1.45rem, 2.2vw, 2.4rem); letter-spacing: -.04em; font-weight: 470; line-height: 1.2; }
.timeline p { margin: .6rem 0; }
.case-page .page-title { max-width: 14em; }
.case-page > .text-link { margin-bottom: 3rem; }
.case-section { border-top: 1px solid var(--line); border-bottom: none; }
.case-section h2 { margin: 0; }
.case-figure img { border-radius: .75rem; width: 100%; background: #fff; }
.case-section p:first-child { margin-top: 0; }
.skip-link { position: absolute; left: 1rem; top: -6rem; background: white; padding: .5rem; z-index: 2; }
.skip-link:focus { top: .4rem; }
@media (max-width: 52rem) {
  .project, .case-section { grid-template-columns: minmax(0, 1fr); gap: 1.5rem; }
  .project h3 { max-width: 20ch; }
  .project-desc { max-width: 62ch; margin-bottom: 1rem; }
  .project-meta { margin-bottom: 1.1rem; }
  .working-paper { grid-template-columns: 1fr 1fr; gap: 1.5rem; }
  .profile-intro { grid-template-columns: minmax(10rem, .75fr) 1.6fr; }
}
@media (max-width: 36rem) {
  .site-header { min-height: 4.45rem; gap: .45rem; }
  .brand { gap: .37rem; font-size: .91rem; }
  .monogram { width: 1.77rem; height: 1.77rem; font-size: 1.13rem; }
  nav { gap: .03rem; }
  nav a { font-size: .8rem; padding: .3rem .46rem; }
  .intro h1 { font-size: clamp(1.85rem, 7.55vw, 2.55rem); line-height: 1.42; }
  .intro { padding-block: 2.8rem 3.55rem; }
  .section-line { padding-block: .66rem; }
  .section-line h2, .section-line a { font-size: .88rem; }
  .working-paper, .profile-intro, .timeline-row { grid-template-columns: 1fr; gap: 1rem; }
  .profile-portrait { max-width: 10rem; }
  .timeline-row { gap: .45rem; }
  .eyebrow { margin-bottom: .7rem; }
  .gallery figcaption { padding-right: 0; margin-right: 0; }
  .gallery-tools { position: static; margin: .45rem 0 0; justify-content: flex-start; }
  .gallery-tools button { width: 2.4rem; height: 2.4rem; }
  .browse-more { margin-block: 2.5rem 3rem; }
}
@media (max-width: 22rem) {
  .site-header { flex-wrap: wrap; padding: .65rem 0; }
  .brand { flex-basis: 100%; }
}
.projects-nav { margin-block: 1.6rem 2.6rem; }
.projects-nav a { font-size: 1rem; letter-spacing: -.015em; padding: .55rem 1rem; }
#prototypes .case-section h3 { font-weight: 460; font-size: clamp(1.65rem, 2.5vw, 2.85rem); line-height: 1.1; letter-spacing: -.045em; margin: 0; }
