@font-face {
  font-family: Unbounded;
  src: url("assets/fonts/unbounded-600.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
* { box-sizing: border-box; }
html { color-scheme: dark; }
html.theme-light { color-scheme: light; }
.case-page, .case-page h1, .case-page h2, .case-page p { margin: 0; }
.case-page {
  --paper: #000;
  --ink: #fff;
  --rule: rgb(255 255 255 / 25%);
  color: var(--ink);
  background: var(--paper);
  font: 400 1rem/1.6 Inter, system-ui, sans-serif;
}
.theme-light .case-page { --paper: #fff; --ink: #000; --rule: rgb(0 0 0 / 25%); }
.case-wrap { width: min(100% - 2.5rem, 68rem); margin-inline: auto; }
.case-nav, .case-bottom { display: flex; align-items: center; flex-wrap: wrap; gap: 1rem 2rem; }
.case-nav { justify-content: space-between; min-height: 4rem; border-bottom: 1px solid var(--rule); }
.case-page a { color: inherit; text-underline-offset: .22em; }
.case-nav a, .case-bottom a { padding-block: .65rem; }
.case-page a:focus-visible { outline: 2px solid var(--ink); outline-offset: 4px; }
.case-nav a:first-child { font-weight: 600; }
.case-nav a:last-child, .case-bottom a:last-child { text-decoration: underline; }
.case-intro { padding-block: clamp(2.5rem, 7vw, 6rem); }
.case-page h1, .case-page h2 { font: 600 1.4rem/1.29 Unbounded, system-ui, sans-serif; color: var(--ink); }
.case-page h1 { font-size: clamp(1.65rem, 4.6vw, 3.8rem); line-height: 1.15; max-width: 22ch; }
.case-page h1 span { display: block; }
.case-page h1::before { content: ""; display: block; width: 3rem; height: .36rem; background: #9b1b30; margin-bottom: 1rem; }
.case-page .case-intro p { max-width: 42rem; margin: 1.3rem 0 1.6rem; font-size: clamp(1rem, 1.7vw, 1.2rem); }
.case-page .case-action { display: inline-flex; align-items: center; gap: 1rem; padding: .75rem 1.2rem; background: #9b1b30; color: #fff; font-weight: 600; text-decoration: none; }
.case-action:hover { text-decoration: underline; }
.case-row { display: grid; grid-template-columns: minmax(0,.83fr) minmax(0,1.17fr); gap: 1.2rem 3.5rem; border-top: 1px solid var(--rule); padding-block: clamp(1.75rem, 4vw, 3.5rem); }
.case-row h2 { max-width: 19ch; font-size: clamp(1.22rem, 2.3vw, 1.8rem); }
.case-row p + p { margin-top: .85rem; }
.case-row figure { margin: 1.5rem 0 0; max-width: 22rem; }
.case-row figure a { display: block; width: fit-content; }
.case-row figure img { display: block; width: min(100%, 19rem); height: auto; }
.case-row figcaption { margin-top: .55rem; font-size: .875rem; }
.case-bottom { padding-block: 2.25rem 3rem; border-top: 1px solid var(--rule); }
@media (max-width: 43rem) { .case-row { grid-template-columns: minmax(0,1fr); } }
