@font-face {
  font-family: "Instrument Sans";
  font-weight: 400 700;
  font-display: swap;
  src: url(assets/fonts/instrument-sans.woff2) format("woff2");
}
@font-face {
  font-family: "Instrument Serif";
  font-display: swap;
  src: url(assets/fonts/instrument-serif.woff2) format("woff2");
}
@font-face {
  font-family: "Instrument Serif";
  font-style: italic;
  font-display: swap;
  src: url(assets/fonts/instrument-serif-italic.woff2) format("woff2");
}
/* Cross-fade between pages; elements sharing a view-transition-name morph. */
@view-transition {
  navigation: auto;
}
::view-transition-group(*) {
  animation-duration: 0.45s;
  animation-timing-function: cubic-bezier(0.22, 0.61, 0.36, 1);
}
/* The card thumbnail and the case-study cover are different crops of the
   same screen. Trim both snapshots to the moving box, anchored at the top,
   so the image grows smoothly instead of stretching or spilling over. */
::view-transition-image-pair(*) {
  overflow: hidden;
}
::view-transition-old(*),
::view-transition-new(*) {
  height: 100%;
  object-fit: cover;
  object-position: top center;
}
:root {
  --paper: #f6f4ee;
  --ink: #242a27;
  --muted: #58605b;
  --line: #cecfc4;
  --accent: #355a47;
  --wash: #e7ebe2;
  --serif: "Instrument Serif", Georgia, serif;
  --sans: "Instrument Sans", "Segoe UI", system-ui, sans-serif;
}
* {
  box-sizing: border-box;
}
html {
  /* Jumps to a card (e.g. returning from a case study) are instant, so the
     page doesn't visibly scroll past other projects. */
  scroll-behavior: auto;
  scroll-padding-top: 28px;
}
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
a {
  color: inherit;
  text-decoration-thickness: 1px;
  text-underline-offset: 5px;
}
a,
button {
  -webkit-tap-highlight-color: transparent;
}
a:focus-visible,
button:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 6px;
}
button {
  font: inherit;
  color: inherit;
  cursor: pointer;
}
img {
  display: block;
  max-width: 100%;
}
h1,
h2,
h3,
p,
figure {
  margin: 0;
}
h1,
h2,
h3 {
  font-weight: 400;
}
p + p {
  margin-top: 20px;
}
h1,
h2 {
  font-family: var(--serif);
  letter-spacing: -0.02em;
}
h3 {
  letter-spacing: -0.028em;
}
.wrap {
  width: min(1280px, calc(100% - 112px));
  margin-inline: auto;
}
.site-header {
  height: 125px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
}
.wordmark {
  font-size: 23px;
  font-weight: 600;
  letter-spacing: -0.02em;
  text-decoration: none;
  line-height: 1.25;
}
.wordmark span {
  display: block;
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0.01em;
  margin-top: 6px;
  color: var(--muted);
}
.site-header nav {
  display: flex;
  gap: 36px;
  font-size: 14px;
}
.site-header nav a {
  text-decoration: none;
  padding-block: 10px;
}
.site-header nav a:hover {
  text-decoration: underline;
}
.site-header nav {
  align-items: center;
}
.site-header nav a[aria-current="page"] {
  text-decoration: underline;
}
/* Outlined pill button. */
.pill {
  display: inline-block;
  padding: 8px 18px;
  text-decoration: none;
  border: 1px solid var(--pill, var(--ink));
  border-radius: 999px;
  color: var(--ink);
  transition:
    background 0.2s ease,
    color 0.2s ease;
}
.pill:hover {
  background: var(--ink);
  color: var(--paper);
  text-decoration: none;
}
.eyebrow {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  line-height: 1.6;
}
.hero {
  padding-top: 68px;
  padding-bottom: 72px;
}
.hero h1 {
  font-size: clamp(60px, 6.6vw, 98px);
  line-height: 1.06;
  margin: 33px 0 40px;
}
.text-link {
  display: inline-flex;
  align-items: center;
  gap: 30px;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  border-bottom: 1px solid var(--ink);
  padding: 10px 0 6px;
  color: var(--ink);
}
.text-link span[aria-hidden] {
  transition: transform 0.2s ease;
}
.text-link:hover span[aria-hidden] {
  transform: translate(3px, -2px);
}
.project {
  display: grid;
  grid-template-columns: 0.92fr 1.3fr;
  gap: 64px;
  padding: 45px 0 68px;
  border-bottom: 1px solid var(--line);
  align-items: center;
}
.project + .project {
  padding-top: 68px;
}
.project h3 {
  font-family: var(--serif);
  font-size: clamp(30px, 3.1vw, 43px);
  line-height: 1.17;
  margin: 22px 0;
}
.project h3 a {
  text-decoration: none;
}
.project h3 a:hover {
  color: var(--accent);
}
.about {
  display: grid;
  grid-template-columns: 0.92fr 1.3fr;
  gap: 64px;
  padding-block: 105px;
}
.about h2 {
  font-size: 48px;
  line-height: 1.1;
  margin-top: 25px;
}
footer {
  border-top: 1px solid var(--ink);
}
.footer-top {
  padding: 65px 0 60px;
}
.footer-top h2 {
  font-size: clamp(35px, 4vw, 55px);
  line-height: 1.12;
  margin-top: 24px;
}
.footer-top > p:not(.eyebrow) {
  max-width: 490px;
  font-size: 15px;
  color: var(--muted);
  margin-top: 22px;
}
.footer-top > .text-link {
  margin-top: 22px;
}
.footer-bottom {
  border-top: 1px solid var(--line);
  padding: 25px 0 35px;
  display: flex;
  justify-content: space-between;
  gap: 24px;
  font-size: 10px;
  color: var(--muted);
}
.footer-bottom a {
  white-space: nowrap;
}
.case-hero {
  padding-top: 36px;
}
.back-link {
  font-size: 12px;
  text-decoration: none;
  display: inline-block;
  padding-block: 10px;
  margin-bottom: 42px;
}
.case-hero h1 {
  font-size: clamp(44px, 5.7vw, 76px);
  max-width: 1050px;
  line-height: 1.07;
  margin-top: 26px;
}
.case-subtitle {
  font-size: 22px;
  max-width: 760px;
  color: var(--muted);
  margin-top: 26px;
}
.case-meta {
  display: grid;
  grid-template-columns: 1.15fr 1.15fr 0.7fr;
  gap: 32px;
  border-top: 1px solid var(--line);
  padding: 26px 0;
  margin: 45px 0 0;
}
.case-meta dt {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.13em;
  margin-bottom: 9px;
  color: var(--muted);
}
.case-meta dd {
  font-size: 14px;
  margin: 0;
  line-height: 1.6;
}
.case-outcome {
  padding: 26px 0 34px;
  display: grid;
  grid-template-columns: 1fr 1.7fr;
  gap: 48px;
  border-top: 1px solid var(--line);
  align-items: center;
}
.case-outcome strong {
  font-family: var(--serif);
  font-size: 36px;
  font-weight: 400;
  letter-spacing: -0.02em;
}
.case-outcome p {
  font-size: 13px;
  max-width: 510px;
  color: var(--muted);
}
.case-cover {
  margin-top: 15px;
}
.evidence {
  margin-block: 32px;
}
.image-button {
  display: block;
  position: relative;
  padding: 0;
  border: 0;
  background: #e6e7df;
  width: 100%;
  overflow: hidden;
  text-align: left;
}
.image-button img {
  width: 100%;
  height: auto;
}
.image-button:hover .zoom-label {
  background: var(--ink);
  color: var(--paper);
}
.zoom-label {
  position: absolute;
  right: 16px;
  bottom: 16px;
  background: var(--paper);
  color: var(--ink);
  padding: 8px 12px;
  font: 12px var(--sans);
  border: 1px solid var(--line);
  transition:
    background 0.2s,
    color 0.2s;
}
.evidence figcaption {
  font-size: 11px;
  color: var(--muted);
  margin-top: 12px;
  line-height: 1.6;
}
.case-cover .evidence {
  margin: 0;
}
.case-cover .image-button {
  padding: 42px 50px;
  background: #e4e8dd;
  max-height: 620px;
}
.story-layout {
  display: grid;
  grid-template-columns: 240px minmax(0, 760px);
  gap: 100px;
  justify-content: space-between;
  padding-top: 72px;
  padding-bottom: 70px;
}
.story-layout aside nav {
  position: sticky;
  top: 40px;
}
.story-layout aside .eyebrow {
  margin-bottom: 16px;
  color: var(--muted);
}
.story-layout aside a {
  display: block;
  font-size: 12px;
  text-decoration: none;
  padding: 9px 0;
  color: var(--muted);
}
.story-layout aside a:hover,
.story-layout aside a[aria-current] {
  color: var(--accent);
  text-decoration: underline;
}
.story-section {
  padding: 0 0 55px;
  margin-bottom: 45px;
  border-bottom: 1px solid var(--line);
  scroll-margin-top: 40px;
}
.story-section:last-child {
  border: 0;
  margin-bottom: 0;
  padding-bottom: 0;
}
.story-section > .eyebrow {
  color: var(--accent);
  margin-bottom: 22px;
}
.story-section h2 {
  font-size: 42px;
  line-height: 1.15;
  max-width: 650px;
  margin-bottom: 25px;
}
.story-section p {
  font-size: 17px;
  line-height: 1.8;
}
.story-section strong {
  font-weight: 600;
}
.story-section h3 {
  font-size: 23px;
  margin: 28px 0 15px;
}
.story-section .figure-note {
  font-size: 12px;
  color: var(--muted);
  line-height: 1.7;
}
.audience-pair {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  margin-bottom: 25px;
}
.audience-pair h3 {
  margin-top: 0;
  font-size: 20px;
}
.audience-pair p {
  font-size: 15px;
}
.decision {
  background: var(--wash);
  padding: 35px;
  margin: 30px 0;
}
.decision p {
  font: 30px/1.3 var(--serif);
  margin-top: 8px;
}
.decision small {
  font-size: 12px;
  display: block;
  margin-top: 12px;
}
.decision-arrow {
  font-size: 27px;
  display: block;
  margin: 15px 0;
}
.study-results {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 25px;
  margin: 30px 0;
  padding: 30px 0;
  border-block: 1px solid var(--line);
}
.study-results strong {
  display: block;
  font: 50px/1.1 var(--serif);
  letter-spacing: -0.02em;
}
.study-results span {
  display: block;
  font-size: 13px;
  color: var(--muted);
  margin-top: 15px;
}
.flow-explainer {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  padding: 28px 0;
  margin-top: 20px;
  border-block: 1px solid var(--line);
}
.flow-explainer span {
  font-size: 11px;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.flow-explainer strong {
  font-size: 16px;
  display: block;
  margin: 10px 0;
}
.flow-explainer p {
  font-size: 13px;
}
.next-project {
  border-top: 1px solid var(--line);
  padding: 35px 0 75px;
}
.next-project > a {
  display: flex;
  justify-content: space-between;
  gap: 30px;
  font: 36px/1.2 var(--serif);
  text-decoration: none;
  max-width: 900px;
  margin-top: 20px;
}
.next-project > a:hover {
  color: var(--accent);
}
.skip {
  position: fixed;
  top: 10px;
  left: 15px;
  background: var(--ink);
  color: var(--paper);
  padding: 12px;
  z-index: 10;
  transform: translateY(-150%);
}
.skip:focus {
  transform: none;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
dialog {
  width: min(1420px, 96vw);
  max-height: 94dvh;
  padding: 0;
  border: 1px solid var(--line);
  background: var(--paper);
  color: var(--ink);
}
dialog::backdrop {
  background: rgb(20 27 23 / 0.8);
}
.dialog-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 15px 22px;
  border-bottom: 1px solid var(--line);
}
.dialog-head p {
  font-size: 12px;
  max-width: 85%;
}
.dialog-head button {
  border: 0;
  background: transparent;
  white-space: nowrap;
  min-height: 44px;
}
.dialog-scroll {
  overflow: auto;
  max-height: calc(94dvh - 85px);
  padding: 25px;
}
.dialog-scroll img {
  max-width: none;
  width: 100%;
  min-width: 800px;
}
.image-open {
  overflow: hidden;
}
@media (min-width: 1600px) {
  .hero {
    padding-top: 84px;
  }
  .hero h1 {
    margin-block: 40px 48px;
  }
}
@media (max-width: 1100px) {
  .wrap {
    width: calc(100% - 64px);
  }
  .project {
    gap: 35px;
    grid-template-columns: 1fr 1.1fr;
  }
  .story-layout {
    grid-template-columns: 185px minmax(0, 1fr);
    gap: 40px;
  }

  .about {
    gap: 40px;
  }
  .story-section h2 {
    font-size: 35px;
  }
}
@media (max-width: 760px) {
  body {
    font-size: 16px;
  }
  .wrap {
    width: calc(100% - 40px);
  }
  .site-header {
    height: 99px;
  }
  .wordmark {
    font-size: 20px;
  }
  .wordmark span {
    font-size: 10px;
  }
  .site-header nav {
    gap: 15px;
    font-size: 12px;
  }
  .site-header nav a:last-child {
    display: inline-block;
  }
  .hero {
    padding-top: 42px;
    padding-bottom: 45px;
  }
  .hero h1 {
    font-size: clamp(43px, 9.7vw, 70px);
    line-height: 1.08;
    margin: 25px 0 26px;
  }
  .project {
    grid-template-columns: 1fr;
    gap: 27px;
    padding: 18px 0 42px;
  }
  .project + .project {
    padding-top: 38px;
  }
  .project h3 {
    font-size: 34px;
    max-width: 540px;
    margin: 17px 0;
  }

  .about {
    grid-template-columns: 1fr;
    gap: 25px;
  }
  .about {
    padding-block: 55px;
    gap: 30px;
  }
  .about h2 {
    font-size: 38px;
    margin-top: 19px;
  }
  .footer-top {
    padding-block: 42px;
  }
  .footer-top h2 {
    font-size: 36px;
  }
  .footer-bottom {
    flex-wrap: wrap;
    gap: 17px;
  }
  .footer-bottom > span:first-child {
    width: 100%;
  }
  .footer-bottom > a {
    margin-left: auto;
  }
  .case-hero {
    padding-top: 19px;
  }
  .back-link {
    margin-bottom: 28px;
  }
  .case-hero h1 {
    font-size: 43px;
    margin-top: 21px;
  }
  .case-subtitle {
    font-size: 18px;
  }
  .case-meta {
    grid-template-columns: 1fr 1fr;
    gap: 23px;
    margin-top: 30px;
    padding-block: 22px;
  }
  .case-meta dd {
    font-size: 12px;
  }
  .case-meta dt {
    font-size: 9px;
  }
  .case-outcome {
    grid-template-columns: 1fr;
    gap: 9px;
    padding-block: 22px;
  }
  .case-outcome strong {
    font-size: 33px;
  }
  .case-outcome p {
    font-size: 12px;
  }
  .case-cover .image-button {
    padding: 20px;
    max-height: 330px;
  }
  .evidence figcaption {
    font-size: 10px;
  }
  .zoom-label {
    font-size: 10px;
    bottom: 9px;
    right: 9px;
  }
  .story-layout {
    display: block;
    padding-top: 30px;
    padding-bottom: 40px;
  }
  .story-layout aside {
    margin-bottom: 38px;
    border-block: 1px solid var(--line);
    padding: 17px 0;
  }
  .story-layout aside nav {
    position: static;
    display: flex;
    flex-wrap: wrap;
    gap: 6px 20px;
  }
  .story-layout aside .eyebrow {
    width: 100%;
    margin-bottom: 4px;
    font-size: 9px;
  }
  .story-layout aside a {
    font-size: 11px;
    padding-block: 6px;
  }
  .story-section {
    padding-bottom: 35px;
    margin-bottom: 33px;
  }
  .story-section h2 {
    font-size: 34px;
    margin-bottom: 20px;
  }
  .story-section p {
    font-size: 16px;
    line-height: 1.8;
  }
  .story-section > .eyebrow {
    font-size: 10px;
    margin-bottom: 18px;
  }
  .audience-pair {
    gap: 25px;
    grid-template-columns: 1fr;
  }
  .audience-pair h3 {
    margin-bottom: 8px;
  }
  .audience-pair p {
    font-size: 15px;
  }
  .decision {
    padding: 25px;
  }
  .decision p {
    font-size: 26px;
  }
  .study-results strong {
    font-size: 41px;
  }
  .study-results span {
    font-size: 12px;
  }
  .flow-explainer {
    grid-template-columns: 1fr;
    gap: 23px;
  }
  .flow-explainer > div {
    display: grid;
    grid-template-columns: 85px 1fr;
    gap: 5px 15px;
  }
  .flow-explainer strong {
    margin: 0;
  }
  .flow-explainer p {
    grid-column: 2;
    font-size: 13px;
  }
  .next-project {
    padding: 30px 0 45px;
  }
  .next-project > a {
    font-size: 29px;
  }
  .dialog-head {
    padding: 10px 15px;
  }
  .dialog-head p {
    font-size: 10px;
  }
  .dialog-scroll {
    padding: 12px;
  }
  .text-link {
    min-height: 44px;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
  ::view-transition-group(*),
  ::view-transition-old(*),
  ::view-transition-new(*) {
    animation: none !important;
  }
}
@media print {
  .site-header,
  footer,
  aside,
  .next-project,
  .zoom-label,
  .back-link {
    display: none;
  }
  .wrap {
    width: 100%;
  }
  .story-layout {
    display: block;
  }
  .project {
    break-inside: avoid;
  }
  body {
    background: white;
    color: black;
  }
  .story-section {
    break-inside: avoid;
  }
  a {
    text-decoration: none;
  }
}

/* Added for the expanded case studies */
.case-cover .mint-cover .image-button {
  background: #e9e7f4;
  max-height: none;
}
.case-cover .mint-cover img {
  max-height: 560px;
  object-fit: contain;
}

.case-cover figure:has(.case-panel) figcaption {
  margin-top: 12px;
}
.study-results.three {
  grid-template-columns: repeat(3, 1fr);
}
.study-results.three strong {
  font-size: 40px;
}
.flow-explainer.four {
  grid-template-columns: repeat(4, 1fr);
}
.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 24px;
}
.chips span {
  border: 1px solid var(--line);
  padding: 6px 14px;
  font-size: 12px;
  letter-spacing: 0.08em;
  background: var(--wash);
}
.story-section ul {
  margin: 18px 0 0;
  padding-left: 20px;
  font-size: 17px;
  line-height: 1.8;
}
.story-section li + li {
  margin-top: 6px;
}
@media (max-width: 1100px) {
  .flow-explainer.four {
    grid-template-columns: repeat(2, 1fr);
  }
  .study-results.three strong {
    font-size: 34px;
  }
}
@media (max-width: 760px) {
  .case-cover .mint-cover .image-button {
    max-height: none;
    padding: 20px;
  }
  .study-results.three {
    grid-template-columns: 1fr;
  }
  .flow-explainer.four {
    grid-template-columns: 1fr;
  }
  .story-section ul {
    font-size: 16px;
  }
}
.case-cover .shot-cover .image-button {
  padding: 0;
  height: 560px;
  background: #e6e7df;
}
.case-cover .shot-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
}
.evidence.narrow {
  max-width: 420px;
}
.pair {
  display: block;
}
.pair.two {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}
@media (max-width: 760px) {
  .pair.two {
    grid-template-columns: 1fr;
    gap: 0;
  }
}
@media (max-width: 760px) {
  .case-cover .shot-cover .image-button {
    height: 340px;
    padding: 0;
  }
}
.case-cover .shot-cover.auto .image-button {
  height: auto;
}
.case-cover .shot-cover.auto img {
  height: auto;
}
@media (max-width: 760px) {
  .case-cover .shot-cover.auto .image-button {
    height: auto;
  }
}
