:root {
  color: #161616;
  background: #fff;
  font-family: 'Zodiak', Georgia, serif;
  font-weight: 400;
  font-synthesis: none;
  -webkit-font-smoothing: antialiased;
}

* { box-sizing: border-box; }
body { margin: 0; }
::selection { background: #dce5dd; }
a { color: inherit; text-decoration: none; text-underline-offset: .18em; text-decoration-thickness: 1px; }
a:hover { text-decoration: underline; }
a:focus-visible { outline: 2px solid #7489ae; outline-offset: 5px; }
h1, h2, p, figure { margin: 0; }
h1, h2 { font-weight: 400; }

.navigation {
  margin: 20px clamp(20px, 3.4vw, 65px) 0;
  min-height: 36px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  font-size: 12px;
}

.story {
  width: min(1100px, 82%);
  margin: clamp(76px, 9vw, 140px) auto 120px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}
.work-index {
  position: relative;
  isolation: isolate;
  min-height: calc(100svh - 56px);
  display: grid;
  align-items: center;
  padding: 48px 8vw 104px;
}
.project-menu {
  position: relative;
  z-index: 1;
  width: fit-content;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 30px;
  max-width: 100%;
  font-size: clamp(20px, 2.2vw, 30px);
  line-height: 1.5;
  letter-spacing: -.025em;
}
@media (max-width: 700px) {
  .work-index { padding-inline: 24px; }
  .project-menu { gap: 26px; }
}
.meta { color: #666; font-size: 13px; line-height: 1.7; }

.story-header { max-width: 890px; }
.story-header h1 {
  font-size: clamp(38px, 4.7vw, 68px);
  line-height: 1.12;
  letter-spacing: -.05em;
  text-wrap: balance;
}
.story-header .meta { margin-top: 30px; }
.prose { max-width: 700px; font-size: 17px; line-height: 1.85; }
.introduction { margin-top: 60px; }
.prose p + p { margin-top: 22px; }
.story section { margin-top: 64px; }
.story section h2 {
  margin-bottom: 22px;
  font-size: 28px;
  line-height: 1.3;
  letter-spacing: -.035em;
}
.product-example { margin: 48px 0 64px; }
.product-example a { display: block; }
.product-example img { display: block; width: 100%; height: auto; }
.product-example figcaption {
  margin-top: 16px;
  max-width: 700px;
  color: #666;
  font-size: 12px;
  line-height: 1.7;
}
.results { padding-left: 1.2em; margin: 0 0 24px; }
.prose p + .results { margin-top: 22px; }
.results li { padding-left: .3em; }
.results li + li { margin-top: 12px; }
.story-footer { margin-top: 80px; font-size: 13px; }
.story-centered .story-header { margin-inline: auto; text-align: center; }
.story-centered .prose, .story-centered .story-footer { max-width: 700px; margin-inline: auto; }
.story-centered .prose { font-size: 19px; }
.story-centered .prose a { text-decoration: underline; }
.story-image { max-width: 900px; margin: 44px auto 0; }
.story-image img {
  display: block;
  width: 100%;
  height: auto;
  /* Let the page's fine dots show through the illustration's light areas. */
  mix-blend-mode: multiply;
}

@media (max-width: 600px) {
  .story { width: auto; margin: 68px 24px 80px; }
  .prose { font-size: 16px; line-height: 1.8; }
  .story-centered .prose { font-size: 18px; }
  .introduction { margin-top: 40px; }
  .story section { margin-top: 44px; }
  .product-example { margin: 36px -8px 44px; }
  .product-example figcaption { margin-inline: 8px; }
}

.story-header h1 .title-company { font-size: .82em; }

/* Reserve the first viewport for the project title and opening artwork. */
.story.story-with-opening { margin-top: 0; }
.story-opening {
  height: calc(100svh - 56px);
  height: calc(100dvh - 56px);
  min-height: 280px;
  padding: clamp(24px, 7vh, 96px) 0 32px;
  display: grid;
  grid-template-rows: auto minmax(0, 1fr);
  gap: clamp(20px, 4vh, 44px);
}
.story-opening .story-header { width: 100%; }
.story-opening > :is(.story-image, .watstreet-hero) {
  width: 100%; max-width: 900px; height: 100%; min-height: 0;
  margin: 0 auto; aspect-ratio: auto;
  display: flex; align-items: center; justify-content: center;
}
.story-opening > :is(.story-image, .watstreet-hero) img {
  width: 100%; height: 100%; max-height: 472.5px; object-fit: contain;
}
.story-opening .watstreet-hero img { max-width: 472.5px; }
@media (max-height: 500px) {
  .story-opening { padding-top: 16px; padding-bottom: 16px; gap: 16px; }
  .story-opening .story-header h1 { font-size: clamp(24px, 7vh, 38px); }
}
