@font-face {
  font-family: Barlow;
  src: url("assets/Barlow-Regular.ttf") format("truetype");
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: Barlow;
  src: url("assets/Barlow-Bold.ttf") format("truetype");
  font-weight: 700;
  font-display: swap;
}
:root {
  color-scheme: light;
  --paper: #eff0ec;
  --ink: #141514;
  --red: #f04429;
  --rule: #969a94;
  --edge: clamp(1.15rem, 4.1vw, 5.5rem);
  --gutter: clamp(1.15rem, 2.5vw, 3rem);
  color: var(--ink);
  background: var(--paper);
  font: 100%/1.42 Barlow, Arial, sans-serif;
}
* { box-sizing: border-box; }
body, h1, h2, p { margin: 0; }
a { color: inherit; }
a:focus-visible { outline: 3px solid var(--ink); outline-offset: 5px; }
.skip {
  position: fixed;
  top: .6rem;
  left: .6rem;
  z-index: 2;
  padding: .65rem 1rem;
  color: white;
  background: var(--ink);
  transform: translateY(-160%);
}
.skip:focus { transform: none; }
.sheet { max-width: 110rem; margin: auto; padding-inline: var(--edge); }
.masthead {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1.5rem;
  min-height: clamp(5.9rem, 7.6vw, 8.1rem);
  border-bottom: 2px solid var(--ink);
}
.brand, .brand img { display: block; }
.brand img { width: clamp(6rem, 7.95vw, 9rem); height: auto; filter: brightness(0); }
nav { display: flex; flex-wrap: wrap; gap: .5rem clamp(1.2rem, 3vw, 3.6rem); }
nav a, .project-link { font-weight: 700; text-decoration-thickness: .09em; text-underline-offset: .25em; }
nav a { display: inline-flex; align-items: center; min-height: 2.75rem; text-decoration: none; }
nav a:hover, .project-link:hover { text-decoration: underline; }
.lead {
  display: grid;
  grid-template-columns: minmax(0, 1.44fr) minmax(0, 1fr);
  gap: var(--gutter);
  padding-block: var(--gutter);
}
.statement {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: flex-start;
  gap: clamp(1.9rem, 3.9vw, 5.2rem);
  padding-block: .4em .25em;
}
h1 {
  font-size: clamp(3.2rem, 8.25vw, 9.2rem);
  font-weight: 700;
  line-height: .85;
  letter-spacing: -.068em;
}
h1 span { display: block; }
.statement p {
  padding-left: .9rem;
  max-width: 26ch;
  border-left: .25rem solid var(--red);
  font-size: clamp(1.05rem, 1.55vw, 1.7rem);
  line-height: 1.25;
  letter-spacing: -.016em;
}
.initial { position: relative; overflow: hidden; background: var(--red); }
.initial svg { position: absolute; inset: 0; display: block; width: 100%; height: 100%; }
.project {
  display: grid;
  grid-template-columns: minmax(0, .85fr) minmax(0, 2.2fr) auto;
  align-items: baseline;
  gap: var(--gutter);
  padding-block: clamp(1.3rem, 2.5vw, 3.3rem);
  border-top: .35rem solid var(--ink);
  border-bottom: 1px solid var(--rule);
}
.project-label, .project-link { font-size: clamp(1rem, 1.22vw, 1.35rem); }
.project-label { font-weight: 700; }
.project-title h2 { font-size: clamp(2.1rem, 4.1vw, 5.2rem); letter-spacing: -.055em; line-height: 1; }
.project-title p { margin-top: .35rem; font-size: clamp(1rem, 1.4vw, 1.45rem); }
.project-link { justify-self: end; text-decoration: underline; }
.project-link:hover { text-decoration-thickness: .17em; }
footer { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: .65rem 2rem; padding-block: 1rem 1.5rem; font-size: .875rem; }
footer a { font-weight: 700; text-underline-offset: .22em; }
@media (max-width: 45rem) {
  .lead { grid-template-columns: minmax(0,1.5fr) minmax(0,1fr); gap: 1rem; }
  h1 { font-size: clamp(2.5rem, 8vw, 3.6rem); }
  .project { grid-template-columns: 1fr auto; row-gap: .65rem; }
  .project-label { grid-column: 1 / -1; }
}
@media (max-width: 32rem) {
  .masthead { min-height: 4.7rem; gap: .7rem; }
  .brand img { width: 5.25rem; }
  nav { gap: .8rem; font-size: .9375rem; }
  .lead { grid-template-columns: minmax(0, 1fr) 21%; gap: .6rem; }
  .statement { gap: 1.55rem; }
  h1 { font-size: clamp(2.6rem, 10.5vw, 3.45rem); }
  .initial svg { width: 205%; left: -63%; }
  .project { column-gap: .75rem; }
  .project-title h2 { font-size: clamp(1.85rem, 7.35vw, 2.2rem); }
}
@media (max-width: 26rem) {
  .project { grid-template-columns: 1fr; }
  .project-link { justify-self: start; }
}
@media (max-width: 22rem) {
  h1 { font-size: 2.5rem; }
}
