.cs-page {
  margin: 0;
  background: var(--paper, #090909);
  color: var(--ink, #f3f3f0);
  font-family: Inter, "Helvetica Neue", Arial, sans-serif;
  line-height: 1.55;
}

.cs-page *, .cs-page *::before, .cs-page *::after { box-sizing: border-box; }
.cs-page :where(h1, h2, p, figure) { margin: 0; }
.cs-page a { color: inherit; text-decoration: none; }
.cs-page img { display: block; max-width: 100%; height: auto; }
.cs-page :focus-visible { outline: 2px solid #fff; outline-offset: 4px; }
.cs-shell { width: min(calc(100% - clamp(2rem, 9vw, 10rem)), 92.5rem); margin-inline: auto; }
.cs-nav {
  position: sticky;
  top: 0;
  z-index: 5;
  background: var(--paper, #090909);
  border-bottom: 1px solid var(--rule, #292929);
}
.cs-nav .cs-shell, .cs-footer .cs-shell {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 4.25rem;
  gap: 1rem;
}
.cs-brand { font: 750 1.8rem/1 Inter, Arial, sans-serif; letter-spacing: -.09em; }
.cs-nav nav { display: flex; gap: clamp(.6rem, 3vw, 3rem); }
.cs-nav a, .cs-footer a, .cs-textlink { display: inline-flex; align-items: center; min-height: 2.75rem; }
.cs-nav nav a, .cs-footer a, .cs-textlink { font-size: .9375rem; }
.cs-nav nav a:hover, .cs-footer a:hover { text-decoration: underline; text-underline-offset: .3em; }
.cs-skip {
  position: fixed;
  top: .5rem;
  left: 1rem;
  z-index: 8;
  padding: .5rem 1rem;
  color: #090909 !important;
  background: #fff;
  transform: translateY(-150%);
}
.cs-skip:focus { transform: translateY(0); }
.cs-lead { padding: clamp(3.5rem, 8vw, 8.5rem) 0 clamp(2rem, 4.8vw, 4.8rem); }
.cs-kicker {
  display: block;
  color: var(--muted, #a3a3a3);
  font: 550 .875rem/1.5 Inter, Arial, sans-serif;
  letter-spacing: .055em;
  text-transform: uppercase;
}
.cs-lead h1 {
  max-width: 100%;
  margin: .12em 0 .21em -.045em;
  font-size: clamp(2.2rem, 11.8vw, 11.8rem);
  font-weight: 610;
  line-height: 1.02;
  letter-spacing: -.08em;
  overflow-wrap: anywhere;
  animation: case-title .45s ease-out both;
}
.cs-lead .cs-long { font-size: clamp(1.85rem, 8.5vw, 8.5rem); letter-spacing: -.067em; }
.cs-summary { max-width: 45ch; color: #ccc; font-size: clamp(1.125rem, 1.85vw, 1.75rem); line-height: 1.36; }
.cs-hero { border: 1px solid var(--rule, #292929); background: #141414; }
.cs-hero a { display: block; cursor: zoom-in; }
.cs-hero img { width: 100%; color: var(--ink, #f3f3f0); }
.cs-notes {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 2rem clamp(2rem, 8vw, 9rem);
  margin: clamp(3.8rem, 7vw, 7rem) 0;
}
.cs-note { border-top: 1px solid var(--rule, #292929); padding: 1.15rem 0 .3rem; }
.cs-note h2, .cs-gallery-head h2 {
  margin-bottom: .75rem;
  font-size: clamp(1.45rem, 2.6vw, 2.5rem);
  font-weight: 540;
  line-height: 1.15;
  letter-spacing: -.05em;
}
.cs-note p, .cs-detail p { max-width: 54ch; color: #bcbcbc; font-size: clamp(1rem, 1.17vw, 1.125rem); }
.cs-gallery-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: .5rem 1.25rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--rule, #292929);
}
.cs-gallery-head h2 { margin: 0; }
.cs-page .cs-textlink { text-decoration: underline; text-underline-offset: .3em; }
.cs-detail {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(0, .9fr);
  gap: clamp(1.3rem, 4vw, 4.5rem);
  align-items: center;
  padding-block: clamp(1.2rem, 3vw, 3.5rem);
}
.cs-detail img { width: 100%; background: #141414; }
.cs-detail figcaption p { margin-top: .8rem; color: #e0e0dd; font-size: clamp(1.1rem, 1.85vw, 1.75rem); line-height: 1.32; }
.cs-outcome {
  display: grid;
  grid-template-columns: 1fr 2.3fr;
  gap: 1.3rem;
  margin-block: clamp(3rem, 7vw, 7rem);
  padding-top: clamp(1.25rem, 2.3vw, 2.3rem);
  border-top: 1px solid var(--rule, #292929);
}
.cs-outcome p { max-width: 36ch; font-size: clamp(1.4rem, 3.1vw, 3rem); letter-spacing: -.04em; line-height: 1.19; }
.cs-next { border-block: 1px solid var(--rule, #292929); }
.cs-next a {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1.5rem;
  padding-block: clamp(1.5rem, 4vw, 4rem);
}
.cs-next strong {
  display: block;
  margin-top: .25em;
  font-size: clamp(1.65rem, 5.3vw, 5.2rem);
  line-height: 1;
  font-weight: 570;
  letter-spacing: -.07em;
  overflow-wrap: anywhere;
}
.cs-next img { width: min(27%, 17rem); filter: grayscale(1); transition: filter .2s ease; }
.cs-next a:hover strong { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: .12em; }
.cs-next a:hover img, .cs-next a:focus-visible img { filter: none; }
.cs-footer { color: var(--muted, #a3a3a3); }
@keyframes case-title {
  from { transform: translateY(.09em); opacity: .45; }
  to { transform: none; opacity: 1; }
}
@media (max-width: 44rem) {
  .cs-notes, .cs-detail, .cs-outcome { grid-template-columns: minmax(0, 1fr); }
  .cs-notes { gap: 1.6rem; }
  .cs-detail figcaption p { margin-top: .4rem; }
  .cs-next img { width: min(24%, 6rem); }
}
@media (prefers-reduced-motion: reduce) {
  .cs-lead h1 { animation: none; }
  .cs-next img { transition: none; }
}
