@font-face {
  font-family: Bitter;
  font-style: normal;
  font-weight: 600 700;
  font-display: swap;
  src: url(/fonts/bitter-v42-latin.woff2) format("woff2");
}

html { color-scheme: light; }
body {
  margin: 0;
  background: #F6F7F5;
  color: #20241F;
  font: 1.0625rem/1.7 system-ui, -apple-system, "Segoe UI", Roboto, Ubuntu, sans-serif;
}

body > header, main, body > footer {
  max-width: 44rem;
  margin-inline: auto;
  padding-inline: 1.25rem;
}

a { color: #3F6C57; text-decoration-thickness: 1px; text-underline-offset: 0.15em; transition: color 140ms; }
a:hover { color: #2C5240; }
:focus-visible { outline: 2px solid #3F6C57; outline-offset: 2px; }

.mark, .tags, .spec, .meta, .back, .colo, code, figcaption, body > header nav {
  font-family: ui-monospace, "SF Mono", "Cascadia Code", Menlo, Consolas, monospace;
  font-variant-numeric: tabular-nums;
}

.skip {
  position: absolute;
  left: -70rem;
  top: 0.55rem;
  background: #F6F7F5;
  padding: 0.3rem 0.85rem;
}
.skip:focus { left: 0.55rem; }

body > header {
  padding-top: 1.9rem;
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.45rem 1.5rem;
}
.mark { font-weight: 600; color: inherit; text-decoration: none; }
.mark span { color: #3F6C57; }
body > header nav { display: flex; flex-wrap: wrap; gap: 1.35rem; font-size: 0.9rem; }
body > header nav a { color: inherit; text-decoration: none; }
body > header nav a:hover { color: #2C5240; }

h1 {
  font-family: Bitter, Georgia, serif;
  font-size: clamp(2.1rem, 5vw, 3rem);
  font-weight: 700;
  line-height: 1.15;
  margin: 0 0 1rem;
}
h2 {
  font-family: Bitter, Georgia, serif;
  font-size: 1.68rem;
  font-weight: 600;
  line-height: 1.25;
  margin: 0 0 1.3rem;
}
h3 {
  font-family: Bitter, Georgia, serif;
  font-size: 1.12rem;
  font-weight: 600;
  line-height: 1.35;
  margin: 0 0 0.3rem;
}

main > h1 { padding-top: clamp(2.4rem, 8vh, 5rem); margin-bottom: 0.7rem; }
.tags { font-size: 0.9rem; color: #6B7268; margin: 0 0 1.7rem; }
.lede { font-size: 1.14rem; margin: 0; }

#services, #work, #process, .reach {
  border-top: 1px solid #E7E9E4;
  margin-top: 2.8rem;
  padding-top: 2.4rem;
}

#services > div { display: grid; gap: 0.2rem 2.4rem; }
@media (min-width: 720px) {
  #services > div { grid-template-columns: 1fr 1fr; gap: 1.3rem 2.4rem; }
}
#services p { margin: 0.9rem 0; }
#services strong {
  display: block;
  font-family: Bitter, Georgia, serif;
  font-weight: 600;
  font-size: 1.1rem;
  line-height: 1.35;
  margin-bottom: 0.25rem;
}

#work article { margin: 2.1rem 0; }
#work article p { margin: 0.4rem 0 0; }
#work h3 a { color: inherit; }
#work h3 a:hover { color: #2C5240; }
.meta { font-size: 0.84rem; color: #6B7268; }

#process ol { margin: 0; padding-left: 1.35rem; }
#process li { margin: 1.15rem 0; padding-left: 0.35rem; }
#process li::marker { font-weight: 600; }

main > article { padding-top: clamp(2.2rem, 7vh, 4.2rem); }
article h2 { margin-top: 2.7rem; }

.spec {
  display: grid;
  grid-template-columns: max-content 1fr;
  column-gap: 1.2rem;
  background: #E7E9E4;
  border-top: 2px solid #20241F;
  border-bottom: 1px solid #20241F;
  padding: 0.5rem 1.2rem;
  margin: 1.8rem 0 2.3rem;
  font-size: 0.84rem;
  line-height: 1.6;
}
.spec dt { font-weight: 600; }
.spec dt, .spec dd { padding: 0.34rem 0; }
.spec dt:not(:first-of-type), .spec dd:not(:first-of-type) { border-top: 1px solid #F6F7F5; }
.spec dd { margin: 0; }

figure { margin: 2.3rem 0; }
figure svg { display: block; width: 100%; max-width: 29rem; height: auto; }
figcaption { color: #6B7268; font-size: 0.8rem; margin-top: 0.6rem; }

@media (prefers-reduced-motion: no-preference) {
  .mark span { animation: blink 0.6s 5; }
  @supports (animation-timeline: view()) {
    figure svg { view-timeline-name: --fig; }
    figure svg [pathLength] {
      stroke-dasharray: 1;
      animation: draw both;
      animation-timeline: --fig;
      animation-range: entry 5% cover 40%;
    }
    figure svg :is(path, rect, text):not([pathLength]) {
      animation: appear both;
      animation-timeline: --fig;
      animation-range: entry 20% cover 50%;
    }
  }
}
@keyframes blink { 0%, 49% { opacity: 1; } 50%, 100% { opacity: 0; } }
@keyframes draw { from { stroke-dashoffset: 1; } to { stroke-dashoffset: 0; } }
@keyframes appear { from { opacity: 0; } to { opacity: 1; } }

video {
  display: block;
  width: 100%;
  max-width: 36rem;
  aspect-ratio: 16 / 9;
  background: #E7E9E4;
  margin: 1.7rem 0;
}

.back { margin: 2.6rem 0 0; font-size: 0.88rem; }
.reach p { margin: 1.05rem 0 0; }

body > footer { margin-top: 3.2rem; padding-bottom: 2.9rem; color: #6B7268; font-size: 0.9rem; }
body > footer a { color: inherit; }
body > footer p { margin: 0; }
.colo { margin-top: 0.55rem; font-size: 0.78rem; }

@media print {
  body { background: #fff; color: #000; }
  .skip, body > header nav, video { display: none; }
  a { color: #000; }
  main a[href^="http"]::after { content: " (" attr(href) ")"; font-size: 0.85em; }
  .spec { background: none; }
}
