@font-face {
  font-family: "Instrument Serif";
  src: url("../fonts/instrument-serif-normal.woff2") format("woff2");
  font-display: swap;
}
@font-face {
  font-family: "Instrument Serif";
  font-style: italic;
  src: url("../fonts/instrument-serif-italic.woff2") format("woff2");
  font-display: swap;
}
@font-face {
  font-family: "DM Sans";
  src: url("../fonts/dm-sans-normal.woff2") format("woff2");
  font-weight: 100 1000;
  font-display: swap;
}
@font-face {
  font-family: "IBM Plex Mono";
  src: url("../fonts/ibm-plex-mono-normal.woff2") format("woff2");
  font-display: swap;
}
:root {
  --ground: #f3f2ee;
  --paper: #fffcf4;
  --ink: #20231e;
  --muted: #585c55;
  --rule: #c6c6ba;
  --blue: #223fc2;
  --display: "Instrument Serif", Georgia, serif;
  --body: "DM Sans", Arial, sans-serif;
  --mono: "IBM Plex Mono", monospace;
  color: var(--ink);
  background: var(--ground);
  font-family: var(--body);
  font-synthesis: none;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
}
a {
  color: inherit;
  text-decoration: none;
}
a:focus-visible,
summary:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 4px;
}
.skip {
  position: absolute;
  left: 1rem;
  top: -5rem;
  padding: 0.8rem 1.1rem;
  background: var(--paper);
  z-index: 3;
}
.skip:focus {
  top: 1rem;
}
.bar,
main,
footer {
  width: min(1140px, calc(100% - 6rem));
  margin: 0 auto;
}
.bar,
footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1.25rem;
}
.bar {
  padding: 1.35rem 0;
  border-bottom: 1px solid var(--rule);
}
.brand {
  font: 400 2.05rem/0.95 var(--display);
  letter-spacing: -0.045em;
  white-space: nowrap;
}
.brand span {
  color: var(--blue);
}
.bar nav,
footer div {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.35rem;
}
.bar nav a,
footer div a {
  font-size: 0.84rem;
}
.bar nav a:hover,
footer div a:hover,
.text-link:hover,
.years a:hover {
  color: var(--blue);
  text-decoration: underline;
  text-underline-offset: 0.2em;
}
.back {
  padding: 0.55rem 0.9rem;
  border: 1px solid var(--rule);
  border-radius: 3px;
}
.intro {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(220px, 32%);
  align-items: center;
  gap: 3.4rem;
  padding: 4.4rem clamp(0px, 3vw, 52px) 4.4rem 0;
}
.eyebrow,
.meta,
.years span,
.dates,
.intro-photo figcaption,
.gallery figcaption,
.projects a > span {
  font-family: var(--mono);
}
.eyebrow,
.meta,
.years span,
.projects a > span {
  font-size: 0.68rem;
  line-height: 1.4;
  letter-spacing: 0.075em;
}
.eyebrow,
.years span {
  color: var(--blue);
  margin: 0 0 0.75rem;
}
h1,
h2,
h3,
p,
figure {
  margin: 0;
}
h1,
h2,
h3,
.projects strong {
  font-family: var(--display);
  font-weight: 400;
}
h1 {
  font-size: clamp(5.05rem, 8.8vw, 8.4rem);
  letter-spacing: -0.065em;
  line-height: 0.99;
}
h1 em {
  color: var(--blue);
}
.subtitle {
  max-width: 32rem;
  font-size: clamp(1rem, 1.6vw, 1.23rem);
  color: var(--muted);
  line-height: 1.52;
  margin: 1.15rem 0;
}
.text-link {
  display: inline-flex;
  gap: 0.65rem;
  align-items: center;
  border-bottom: 1px solid var(--blue);
  color: var(--blue);
  font-size: 0.89rem;
  padding-bottom: 0.22rem;
}
.intro-photo {
  width: 100%;
  max-width: 280px;
  background: var(--paper);
  padding: 10px 10px 12px;
  box-shadow: 0 7px 16px -7px #48453762;
  transform: rotate(2deg);
  justify-self: end;
}
.intro-photo a {
  display: block;
}
.intro-photo img {
  display: block;
  width: 100%;
  height: clamp(160px, 16.5vw, 215px);
  object-fit: cover;
  object-position: center 38%;
}
.intro-photo figcaption {
  padding: 9px 2px 0;
  font-size: 0.64rem;
  letter-spacing: 0.02em;
  color: var(--muted);
}
.section {
  border-top: 1px solid var(--rule);
  padding: 2.4rem 0 2.8rem;
  scroll-margin-top: 1rem;
}
.section-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.5rem;
}
.section-head .eyebrow {
  margin-bottom: 0.25rem;
}
.section h2 {
  font-size: clamp(2.8rem, 5vw, 4.1rem);
  letter-spacing: -0.045em;
  line-height: 1;
}
.meta {
  color: var(--muted);
}
.index-body {
  display: grid;
  grid-template-columns: minmax(90px, 0.18fr) minmax(0, 1fr);
  gap: 2.5rem;
}
.years {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.25rem;
}
.years span {
  color: var(--muted);
  margin: 0 0 0.3rem;
}
.years a {
  font-size: 0.93rem;
  line-height: 1.65;
}
.year-group {
  display: grid;
  grid-template-columns: 3.9rem minmax(0, 1fr);
  gap: 0.7rem;
  scroll-margin: 1rem;
}
.year-group + .year-group {
  margin-top: 1.2rem;
}
.year-group h3 {
  font-size: 2rem;
  letter-spacing: -0.045em;
  color: var(--blue);
  line-height: 1.1;
}
.entries {
  border-top: 1px solid var(--rule);
}
details {
  border-bottom: 1px solid var(--rule);
}
summary {
  list-style: none;
  cursor: pointer;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1.1fr) 7.2rem 12px;
  align-items: center;
  gap: 1rem;
  padding: 0.9rem 0.1rem;
}
summary::-webkit-details-marker {
  display: none;
}
.org {
  font-size: 0.96rem;
  font-weight: 630;
  line-height: 1.25;
}
.role {
  font-size: 0.83rem;
  color: var(--muted);
  line-height: 1.35;
}
.dates {
  font-size: 0.65rem;
  line-height: 1.4;
  color: var(--muted);
}
.plus {
  width: 12px;
  height: 12px;
  background:
    linear-gradient(var(--blue), var(--blue)) center/10px 1px no-repeat,
    linear-gradient(var(--blue), var(--blue)) center/1px 10px no-repeat;
}
details[open] .plus {
  background-size:
    10px 1px,
    0 0;
}
summary:hover .org,
details[open] .org {
  color: var(--blue);
}
.note {
  max-width: 42rem;
  margin: -0.12rem 1rem 0.85rem 0.1rem;
  font-size: 0.93rem;
  line-height: 1.55;
}
.note a {
  display: inline-block;
  color: var(--blue);
  margin-top: 0.4rem;
  text-decoration: underline;
  text-underline-offset: 0.2em;
}
.projects {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border: 1px solid var(--rule);
}
.projects a {
  position: relative;
  padding: 1.1rem 2rem 1.2rem 1.1rem;
  background: var(--paper);
}
.projects a + a {
  border-left: 1px solid var(--rule);
}
.projects a > span {
  display: block;
  white-space: normal;
  color: var(--muted);
  font-size: 0.6rem;
}
.projects strong {
  display: block;
  font-size: 1.75rem;
  line-height: 1.1;
  margin-top: 0.6rem;
}
.projects i {
  position: absolute;
  right: 0.8rem;
  bottom: 1.2rem;
  color: var(--blue);
  font-style: normal;
}
.projects a:hover strong {
  color: var(--blue);
}
.gallery {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  column-gap: 1.4rem;
  row-gap: 1.75rem;
}
.gallery a {
  display: block;
  background: #e6e3d9;
  overflow: hidden;
}
.gallery img {
  width: 100%;
  height: auto;
  aspect-ratio: 4/3;
  object-fit: cover;
  object-position: center 42%;
  display: block;
}
.gallery figure:nth-child(7) img,
.gallery figure:nth-child(8) img {
  object-fit: contain;
}
.gallery figcaption {
  font-size: 0.71rem;
  margin-top: 0.55rem;
  color: var(--muted);
}
footer {
  border-top: 1px solid var(--rule);
  padding: 1.8rem 0 2.4rem;
}
@media (max-width: 860px) {
  .bar,
  main,
  footer {
    width: calc(100% - 3rem);
  }
  .index-body {
    grid-template-columns: 1fr;
    gap: 1.3rem;
  }
  .years {
    flex-direction: row;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.8rem;
  }
  .years span {
    margin: 0;
  }
  .year-group {
    grid-template-columns: 3.5rem minmax(0, 1fr);
  }
  summary {
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr) 5.5rem 12px;
    gap: 0.7rem;
  }
}
@media (max-width: 620px) {
  .bar,
  main,
  footer {
    width: calc(100% - 2rem);
  }
  .bar {
    padding: 1rem 0;
  }
  .bar nav {
    gap: 0.65rem;
  }
  .bar nav a {
    font-size: 0.78rem;
  }
  .bar nav a:first-child {
    display: none;
  }
  .back {
    padding: 0.45rem 0.55rem;
  }
  .intro {
    grid-template-columns: 1fr;
    gap: 1.8rem;
    padding: 2.5rem 0;
  }
  h1 {
    font-size: clamp(4.55rem, 15.2vw, 6rem);
  }
  .intro-photo {
    justify-self: start;
    max-width: 255px;
    transform: rotate(-1.25deg);
    margin-left: 3px;
  }
  .intro-photo img {
    height: 145px;
  }
  .section {
    padding: 1.8rem 0 2.1rem;
  }
  .year-group {
    display: block;
  }
  .year-group h3 {
    margin: 0 0 0.45rem;
  }
  summary {
    grid-template-columns: minmax(0, 1fr) 6.1rem 12px;
    column-gap: 0.45rem;
    row-gap: 0.22rem;
    padding: 0.72rem 0.1rem;
    align-items: start;
  }
  .org {
    grid-column: 1;
    grid-row: 1;
  }
  .role {
    grid-column: 1;
    grid-row: 2;
  }
  .dates {
    grid-row: 1 / span 2;
    grid-column: 2;
    align-self: center;
  }
  .plus {
    grid-row: 1 / span 2;
    grid-column: 3;
    align-self: center;
  }
  .projects {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .projects a:nth-child(odd) {
    border-left: 0;
  }
  .projects a:nth-child(n + 3) {
    border-top: 1px solid var(--rule);
  }
  .gallery {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem 0.75rem;
  }
  footer {
    align-items: flex-start;
    flex-direction: column;
  }
  footer div {
    gap: 0.65rem 1rem;
  }
}
@media (max-width: 350px) {
  .bar nav a[href="#gallery"] {
    display: none;
  }
  summary {
    grid-template-columns: minmax(0, 1fr) 4.8rem 11px;
  }
}
@media print {
  :root {
    color: #000;
    background: white;
  }
  .bar nav,
  .years,
  .skip,
  .back,
  .text-link,
  .projects i {
    display: none;
  }
  .bar,
  main,
  footer {
    width: 100%;
  }
  .intro {
    padding: 1rem 0;
  }
  .intro-photo {
    max-width: 135px;
  }
  .intro-photo img {
    height: 70px;
  }
  .section {
    padding: 1rem 0;
  }
  .index-body {
    display: block;
  }
  details,
  .gallery figure {
    break-inside: avoid;
  }
  .gallery a {
    background: transparent;
  }
  .gallery img {
    max-height: 7rem;
    object-fit: contain;
  }
  .note {
    font-size: 0.8rem;
  }
}
