.lianshan-case {
  --case-bg: #08090a;
  --case-bg-raised: #0c0d0f;
  --case-panel: #111214;
  --case-panel-soft: #151618;
  --case-line: #25272a;
  --case-line-soft: #1b1d1f;
  --case-text: #f0f0ee;
  --case-muted: #96999f;
  --case-dim: #686c73;
  --case-accent: #c59a61;
  --case-accent-bright: #e0bd8c;
  --case-accent-soft: rgb(197 154 97 / 12%);
  min-width: 320px;
  background: var(--case-bg);
  color: var(--case-text);
  font-family: "Inter About", Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.lianshan-case::selection {
  color: #17120d;
  background: var(--case-accent-bright);
}

.lianshan-case:has(.case-lightbox[open]) {
  overflow: hidden;
}

.case-shell {
  width: min(1280px, calc(100% - (2 * var(--page-padding))));
  margin-inline: auto;
}

.case-header {
  position: fixed;
  z-index: 50;
  top: 0;
  left: 0;
  display: flex;
  width: 100%;
  height: 72px;
  align-items: center;
  justify-content: space-between;
  padding: 0 var(--page-padding);
  border-bottom: 1px solid rgb(37 39 42 / 78%);
  background: rgb(8 9 10 / 86%);
  backdrop-filter: blur(20px);
}

.case-header__brand {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 8px;
  color: #fff;
  font-size: 18px;
  font-weight: 400;
}

.case-header__brand img {
  display: block;
  width: 45px;
  height: 36px;
}

.case-header__nav {
  display: flex;
  align-items: center;
  gap: 23px;
  color: #898d94;
  font-size: 12px;
  line-height: 16px;
}

.case-header__nav a {
  transition: color 180ms ease, background-color 180ms ease, transform 180ms ease;
}

.case-header__nav a:hover,
.case-header__nav a:focus-visible {
  color: #fff;
}

.case-header__nav .case-header__back {
  display: inline-flex;
  height: 34px;
  align-items: center;
  justify-content: center;
  margin-left: 5px;
  padding: 0 16px;
  border-radius: 999px;
  color: #111;
  background: #eee;
  font-weight: 600;
}

.case-header__nav .case-header__back:hover,
.case-header__nav .case-header__back:focus-visible {
  color: #08090a;
  background: #fff;
  transform: translateY(-1px);
}

.case-header__menu {
  display: none;
  width: 40px;
  height: 40px;
  padding: 0;
  border: 0;
  color: #fff;
  background: transparent;
}

.case-header__menu:focus {
  outline: 0;
}

.case-header__menu:focus-visible {
  outline: 1px solid #777b81;
  outline-offset: 2px;
}

.case-header__menu > span:not(.sr-only) {
  display: block;
  width: 20px;
  height: 1px;
  margin: 6px auto;
  background: currentColor;
  transition: transform 180ms ease;
}

.case-hero {
  position: relative;
  min-height: 1180px;
  padding: 72px 0 82px;
  overflow: hidden;
  background:
    radial-gradient(circle at 82% 19%, rgb(197 154 97 / 8%), transparent 27%),
    linear-gradient(180deg, #090a0b 0%, #08090a 72%);
}

.case-hero::before {
  position: absolute;
  top: 72px;
  right: max(var(--page-padding), calc((100vw - 1280px) / 2));
  width: 1px;
  height: 330px;
  background: linear-gradient(180deg, transparent, rgb(197 154 97 / 32%), transparent);
  content: "";
  pointer-events: none;
}

.case-breadcrumb {
  display: flex;
  align-items: center;
  gap: 7px;
  padding-top: 30px;
  color: #646970;
  font-size: 11px;
  line-height: 16px;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.case-breadcrumb a {
  transition: color 180ms ease;
}

.case-breadcrumb a:hover,
.case-breadcrumb a:focus-visible,
.case-breadcrumb [aria-current="page"] {
  color: #b5b8bd;
}

.case-hero__content {
  display: grid;
  margin-top: 78px;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 350px);
  gap: 92px;
  align-items: end;
}

.case-eyebrow,
.case-section__index {
  margin: 0;
  color: var(--case-accent);
  font-size: 11px;
  font-weight: 400;
  line-height: 16px;
  letter-spacing: .19em;
}

.case-hero h1 {
  max-width: 900px;
  margin: 28px 0 0;
  color: #eee;
  font-size: clamp(62px, 7.2vw, 104px);
  font-weight: 300;
  line-height: .98;
  letter-spacing: -.065em;
}

.case-hero__lead {
  max-width: 760px;
  margin: 38px 0 0;
  color: #91959b;
  font-size: 17px;
  font-weight: 300;
  line-height: 1.8;
}

.case-hero__meta {
  margin: 0;
  border-top: 1px solid var(--case-line);
}

.case-hero__meta div {
  display: grid;
  padding: 17px 0 18px;
  border-bottom: 1px solid var(--case-line);
  grid-template-columns: 90px 1fr;
  gap: 16px;
}

.case-hero__meta dt,
.case-hero__meta dd {
  margin: 0;
  font-size: 12px;
  line-height: 1.6;
}

.case-hero__meta dt {
  color: #666b72;
}

.case-hero__meta dd {
  color: #c9cbce;
}

.case-cover {
  position: relative;
  margin: 96px 0 0;
}

.case-cover::before {
  position: absolute;
  z-index: 0;
  inset: 12% 8% -5%;
  border-radius: 50%;
  background: rgb(197 154 97 / 10%);
  filter: blur(70px);
  content: "";
  pointer-events: none;
}

.case-screen {
  position: relative;
  z-index: 1;
  display: block;
  width: 100%;
  padding: 0;
  overflow: hidden;
  border: 1px solid #303236;
  border-radius: 18px;
  outline: 0;
  background: #101214;
  box-shadow: 0 30px 100px rgb(0 0 0 / 36%);
  cursor: zoom-in;
  transition: border-color 240ms ease, box-shadow 300ms ease, transform 300ms cubic-bezier(.2, .75, .25, 1);
  appearance: none;
}

.case-screen::before {
  position: absolute;
  z-index: 2;
  inset: 0;
  border-radius: inherit;
  box-shadow: inset 0 1px rgb(255 255 255 / 8%);
  content: "";
  pointer-events: none;
}

.case-screen::after {
  position: absolute;
  z-index: 3;
  right: 16px;
  bottom: 16px;
  width: 38px;
  height: 38px;
  border: 1px solid rgb(255 255 255 / 15%);
  border-radius: 50%;
  color: #eee;
  background: rgb(8 9 10 / 72%);
  box-shadow: 0 6px 20px rgb(0 0 0 / 25%);
  content: "+";
  font-size: 19px;
  font-weight: 300;
  line-height: 35px;
  opacity: 0;
  pointer-events: none;
  transform: translateY(5px);
  transition: opacity 200ms ease, transform 200ms ease;
  backdrop-filter: blur(10px);
}

.case-screen:hover,
.case-screen:focus-visible {
  border-color: #4d5055;
  box-shadow: 0 36px 110px rgb(0 0 0 / 46%);
  transform: translateY(-4px);
}

.case-screen:hover::after,
.case-screen:focus-visible::after {
  opacity: 1;
  transform: translateY(0);
}

.case-screen:focus-visible {
  outline: 1px solid var(--case-accent-bright);
  outline-offset: 4px;
}

.case-screen img {
  display: block;
  width: 100%;
  height: auto;
}

.case-screen--cover {
  border-color: #34363a;
  border-radius: 20px;
  background: transparent;
}

.case-cover figcaption,
.case-figure figcaption {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: space-between;
  gap: 32px;
  margin-top: 17px;
  color: #686d74;
  font-size: 10px;
  line-height: 1.6;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.case-cover figcaption strong,
.case-cover figcaption span,
.case-figure figcaption strong,
.case-figure figcaption span {
  display: block;
}

.case-cover figcaption strong,
.case-figure figcaption strong {
  flex: 0 0 auto;
  color: #b9bbbe;
  font-weight: 400;
}

.case-cover figcaption span,
.case-figure figcaption span {
  max-width: 580px;
  text-align: right;
}

.case-hero__scroll {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 42px;
  color: #4f5359;
  font-size: 9px;
  letter-spacing: .18em;
}

.case-hero__scroll span {
  position: relative;
  width: 38px;
  height: 1px;
  overflow: hidden;
  background: #2d3033;
}

.case-hero__scroll span::after {
  position: absolute;
  inset: 0;
  background: var(--case-accent);
  content: "";
  transform: translateX(-100%);
  animation: case-scroll-pulse 2.4s ease-in-out infinite;
}

@keyframes case-scroll-pulse {
  0%, 18% { transform: translateX(-100%); }
  58%, 100% { transform: translateX(100%); }
}

.case-section {
  position: relative;
  padding: 152px 0;
  border-top: 1px solid var(--case-line-soft);
  scroll-margin-top: 72px;
}

.case-section__header {
  display: grid;
  grid-template-columns: minmax(180px, .36fr) minmax(0, 1.64fr);
  gap: 72px;
}

.case-section__header h2,
.case-chapter__header h2,
.case-reflection__content h2,
.case-next h2 {
  margin: 0;
  color: #ececeb;
  font-size: clamp(43px, 5vw, 72px);
  font-weight: 300;
  line-height: 1.08;
  letter-spacing: -.05em;
  text-wrap: balance;
}

.case-overview {
  background:
    radial-gradient(circle at 8% 18%, rgb(197 154 97 / 5%), transparent 23%),
    #0b0c0d;
}

.case-overview__grid {
  display: grid;
  margin-top: 100px;
  grid-template-columns: minmax(280px, .63fr) minmax(0, 1.37fr);
  gap: 105px;
}

.case-overview__statement p {
  margin: 0;
  color: #a0a3a8;
  font-size: 18px;
  font-weight: 300;
  line-height: 1.84;
}

.case-overview__statement p + p {
  margin-top: 28px;
}

.case-overview__statement strong {
  color: #e1e2e2;
  font-weight: 400;
}

.case-challenges {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.case-challenges article {
  min-height: 282px;
  padding: 24px 22px 28px;
  border: 1px solid #292b2e;
  border-radius: 14px;
  background: linear-gradient(145deg, rgb(22 23 25 / 90%), rgb(13 14 16 / 95%));
}

.case-challenges article > span,
.case-decisions article > span {
  color: var(--case-accent);
  font-size: 10px;
  letter-spacing: .14em;
}

.case-challenges h3 {
  margin: 100px 0 0;
  color: #e8e8e8;
  font-size: 17px;
  font-weight: 400;
}

.case-challenges p {
  margin: 14px 0 0;
  color: #7e8288;
  font-size: 13px;
  line-height: 1.75;
}

.case-scope-strip {
  display: grid;
  margin-top: 112px;
  border-top: 1px solid #303235;
  border-bottom: 1px solid #303235;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.case-scope-strip div {
  min-height: 182px;
  padding: 25px 24px;
}

.case-scope-strip div + div {
  border-left: 1px solid #303235;
}

.case-scope-strip span,
.case-scope-strip strong,
.case-scope-strip small {
  display: block;
}

.case-scope-strip span {
  color: var(--case-accent);
  font-size: 10px;
  letter-spacing: .13em;
}

.case-scope-strip strong {
  margin-top: 54px;
  color: #e2e2e1;
  font-size: 16px;
  font-weight: 400;
}

.case-scope-strip small {
  margin-top: 10px;
  color: #73777d;
  font-size: 12px;
  line-height: 1.6;
}

.case-track--perception,
.case-track--training,
.case-system {
  background: var(--case-bg);
}

.case-track--diagnosis,
.case-reflection {
  background: #0b0c0d;
}

.case-track--diagnosis::before {
  position: absolute;
  top: 0;
  right: 0;
  width: 48%;
  height: 540px;
  background: radial-gradient(circle at 60% 20%, rgb(197 154 97 / 6%), transparent 66%);
  content: "";
  pointer-events: none;
}

.case-chapter__header {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.28fr) minmax(310px, .72fr);
  gap: 105px;
  align-items: end;
}

.case-chapter__header h2 {
  margin-top: 27px;
  font-size: clamp(43px, 4.75vw, 68px);
}

.case-chapter__header > p {
  max-width: 470px;
  margin: 0 0 4px;
  color: #91959b;
  font-size: 16px;
  font-weight: 300;
  line-height: 1.85;
}

.case-mobile-break {
  display: none;
}

.case-figure {
  min-width: 0;
  margin: 0;
}

.case-figure--wide {
  margin-top: 86px;
}

.case-decisions {
  display: grid;
  margin-top: 96px;
  border-top: 1px solid var(--case-line);
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.case-decisions article {
  min-height: 224px;
  padding: 26px 30px 0 0;
}

.case-decisions article + article {
  padding-left: 30px;
  border-left: 1px solid var(--case-line);
}

.case-decisions h3 {
  margin: 76px 0 0;
  color: #e6e7e7;
  font-size: 18px;
  font-weight: 400;
}

.case-decisions p {
  max-width: 330px;
  margin: 14px 0 0;
  color: #7d8187;
  font-size: 13px;
  line-height: 1.75;
}

.case-diagnosis__detail {
  display: grid;
  margin-top: 130px;
  grid-template-columns: minmax(280px, .43fr) minmax(0, 1.57fr);
  gap: 72px;
  align-items: start;
}

.case-sticky-copy {
  position: sticky;
  top: 112px;
  padding-top: 12px;
}

.case-sticky-copy > span,
.case-story-card__copy > span,
.case-batch__copy > span {
  color: var(--case-accent);
  font-size: 10px;
  letter-spacing: .17em;
}

.case-sticky-copy h3,
.case-story-card__copy h3,
.case-batch__copy h3 {
  margin: 23px 0 0;
  color: #e9e9e8;
  font-size: 30px;
  font-weight: 300;
  line-height: 1.34;
  letter-spacing: -.03em;
  text-wrap: balance;
}

.case-sticky-copy p,
.case-story-card__copy p,
.case-batch__copy p {
  margin: 25px 0 0;
  color: #858990;
  font-size: 14px;
  line-height: 1.84;
}

.case-sticky-copy ul {
  display: grid;
  gap: 14px;
  margin: 31px 0 0;
  padding: 24px 0 0;
  border-top: 1px solid var(--case-line);
  color: #b4b7ba;
  font-size: 12px;
  line-height: 1.6;
  list-style: none;
}

.case-sticky-copy li {
  position: relative;
  padding-left: 18px;
}

.case-sticky-copy li::before {
  position: absolute;
  top: .62em;
  left: 0;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--case-accent);
  content: "";
}

.case-principle {
  display: grid;
  margin-top: 118px;
  padding-top: 32px;
  border-top: 1px solid var(--case-line);
  grid-template-columns: 250px 1fr;
  gap: 54px;
}

.case-principle > span {
  color: var(--case-accent);
  font-size: 10px;
  letter-spacing: .18em;
}

.case-principle blockquote {
  max-width: 900px;
  margin: 0;
  color: #d8d9d9;
  font-size: clamp(27px, 3vw, 43px);
  font-weight: 300;
  line-height: 1.4;
  letter-spacing: -.03em;
}

.case-training__story {
  display: grid;
  gap: 88px;
  margin-top: 112px;
}

.case-story-card {
  display: grid;
  padding: 58px 0;
  border-top: 1px solid var(--case-line);
  grid-template-areas: "copy visual";
  grid-template-columns: minmax(290px, .42fr) minmax(0, 1.58fr);
  gap: 64px;
  align-items: center;
}

.case-story-card__copy {
  grid-area: copy;
}

.case-story-card .case-figure {
  grid-area: visual;
}

.case-story-card--reverse {
  grid-template-areas: "visual copy";
  grid-template-columns: minmax(0, 1.58fr) minmax(290px, .42fr);
}

.case-story-card__copy h3 {
  font-size: 27px;
}

.case-story-card__copy p {
  max-width: 330px;
}

.case-batch {
  display: grid;
  margin-top: 128px;
  padding-top: 62px;
  border-top: 1px solid var(--case-line);
  grid-template-columns: minmax(0, 1.55fr) minmax(290px, .45fr);
  gap: 76px;
  align-items: center;
}

.case-batch__copy h3 {
  font-size: 29px;
}

.case-system__grid {
  display: grid;
  margin-top: 94px;
  grid-template-columns: minmax(300px, .48fr) minmax(0, 1.52fr);
  gap: 70px;
  align-items: center;
}

.case-system__copy > p {
  margin: 0;
  color: #92969c;
  font-size: 16px;
  font-weight: 300;
  line-height: 1.85;
}

.case-system__metrics {
  display: grid;
  margin-top: 41px;
  border-top: 1px solid var(--case-line);
}

.case-system__metrics div {
  display: grid;
  padding: 17px 0;
  border-bottom: 1px solid var(--case-line);
  grid-template-columns: 105px 1fr;
  gap: 18px;
}

.case-system__metrics strong,
.case-system__metrics span {
  font-size: 12px;
  line-height: 1.6;
}

.case-system__metrics strong {
  color: #dcdddd;
  font-weight: 400;
}

.case-system__metrics span {
  color: #767b82;
}

.case-text-link {
  display: inline-flex;
  gap: 8px;
  margin-top: 35px;
  padding-bottom: 5px;
  border-bottom: 1px solid #4b4e53;
  color: #d9dadb;
  font-size: 13px;
  transition: color 180ms ease, border-color 180ms ease;
}

.case-text-link:hover,
.case-text-link:focus-visible {
  border-color: var(--case-accent-bright);
  color: var(--case-accent-bright);
}

.case-system__visual {
  margin: 0;
  overflow: hidden;
  border: 1px solid #292b2e;
  border-radius: 18px;
  background: #101214;
  box-shadow: 0 30px 90px rgb(0 0 0 / 28%);
}

.case-system__visual img {
  display: block;
  width: 100%;
  height: auto;
}

.case-reflection .case-shell {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(300px, .65fr);
  gap: 105px;
  align-items: end;
}

.case-reflection__content h2 {
  max-width: 850px;
  margin-top: 31px;
}

.case-reflection__content > p:last-child {
  max-width: 760px;
  margin: 42px 0 0;
  color: #92969b;
  font-size: 18px;
  font-weight: 300;
  line-height: 1.86;
}

.case-reflection__credits {
  padding: 29px;
  border: 1px solid #2b2d30;
  border-radius: 14px;
  background: linear-gradient(145deg, #121416, #0e1011);
}

.case-reflection__credits p,
.case-reflection__credits strong,
.case-reflection__credits span {
  display: block;
  margin: 0;
}

.case-reflection__credits p {
  color: var(--case-accent);
  font-size: 10px;
  letter-spacing: .16em;
}

.case-reflection__credits strong {
  margin-top: 52px;
  color: #e0e1e1;
  font-size: 18px;
  font-weight: 400;
  line-height: 1.55;
}

.case-reflection__credits span {
  margin-top: 15px;
  color: #7e8288;
  font-size: 13px;
  line-height: 1.75;
}

.case-next {
  padding: 132px 0 142px;
  border-top: 1px solid var(--case-line-soft);
  background:
    radial-gradient(circle at 76% 25%, rgb(197 154 97 / 9%), transparent 33%),
    var(--case-bg);
}

.case-next > .case-shell > p {
  margin: 0;
  color: var(--case-accent);
  font-size: 10px;
  letter-spacing: .18em;
}

.case-next h2 {
  max-width: 900px;
  margin-top: 28px;
  font-size: clamp(44px, 5vw, 72px);
}

.case-next__actions {
  display: grid;
  margin-top: 72px;
  border-top: 1px solid var(--case-line);
  border-bottom: 1px solid var(--case-line);
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.case-next__actions a {
  display: grid;
  min-height: 220px;
  padding: 28px 34px;
  transition: background-color 220ms ease;
}

.case-next__actions a + a {
  border-left: 1px solid var(--case-line);
}

.case-next__actions a:hover,
.case-next__actions a:focus-visible {
  background: #111315;
}

.case-next__actions span,
.case-next__actions strong,
.case-next__actions em {
  display: block;
}

.case-next__actions span {
  color: #686d73;
  font-size: 10px;
  letter-spacing: .14em;
}

.case-next__actions strong {
  align-self: end;
  margin-top: 60px;
  color: #e9e9e9;
  font-size: clamp(22px, 2vw, 30px);
  font-weight: 300;
}

.case-next__actions em {
  margin-top: 12px;
  color: #777c82;
  font-size: 12px;
  font-style: normal;
}

.case-footer {
  display: flex;
  min-height: 86px;
  align-items: center;
  justify-content: space-between;
  padding: 0 var(--page-padding);
  border-top: 1px solid var(--case-line-soft);
  color: #72767c;
  background: var(--case-bg);
  font-size: 12px;
}

.case-footer a {
  transition: color 180ms ease;
}

.case-footer a:hover,
.case-footer a:focus-visible {
  color: #fff;
}

.case-lightbox {
  width: 100vw;
  max-width: none;
  height: 100vh;
  max-height: none;
  margin: 0;
  padding: 42px;
  overflow: hidden;
  border: 0;
  color: #fff;
  background: rgb(3 4 5 / 95%);
}

.case-lightbox[open] {
  display: grid;
  place-items: center;
}

.case-lightbox::backdrop {
  background: rgb(0 0 0 / 72%);
  backdrop-filter: blur(10px);
}

.case-lightbox img {
  display: block;
  max-width: calc(100vw - 84px);
  max-height: calc(100vh - 84px);
  border: 1px solid #383b40;
  border-radius: 12px;
  box-shadow: 0 32px 120px rgb(0 0 0 / 64%);
  object-fit: contain;
}

.case-lightbox__close {
  position: fixed;
  z-index: 2;
  top: 20px;
  right: 20px;
  display: grid;
  width: 42px;
  height: 42px;
  padding: 0;
  border: 1px solid rgb(255 255 255 / 16%);
  border-radius: 50%;
  color: #fff;
  background: rgb(16 18 20 / 82%);
  cursor: pointer;
  font-size: 25px;
  font-weight: 300;
  line-height: 1;
  place-items: center;
  transition: background 180ms ease, transform 180ms ease;
}

.case-lightbox__close:hover,
.case-lightbox__close:focus-visible {
  background: #2b2d30;
  transform: scale(1.05);
}

[data-reveal] {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 700ms ease, transform 800ms cubic-bezier(.2, .75, .25, 1);
}

[data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 1180px) {
  .case-header__nav {
    gap: 17px;
  }

  .case-header__nav a:nth-child(-n + 2) {
    display: none;
  }

  .case-hero__content {
    grid-template-columns: minmax(0, 1fr) 300px;
    gap: 60px;
  }

  .case-overview__grid,
  .case-chapter__header,
  .case-reflection .case-shell {
    gap: 70px;
  }

  .case-overview__grid {
    grid-template-columns: minmax(250px, .52fr) minmax(0, 1.48fr);
  }

  .case-challenges {
    gap: 12px;
  }

  .case-challenges article {
    padding-inline: 18px;
  }

  .case-diagnosis__detail,
  .case-story-card,
  .case-batch,
  .case-system__grid {
    gap: 48px;
  }
}

@media (max-width: 940px) {
  .case-section {
    padding: 116px 0;
  }

  .case-hero {
    min-height: 0;
    padding-bottom: 94px;
  }

  .case-hero__content {
    grid-template-columns: minmax(0, 1fr) 265px;
    gap: 44px;
  }

  .case-section__header,
  .case-overview__grid,
  .case-chapter__header,
  .case-diagnosis__detail,
  .case-story-card,
  .case-story-card--reverse,
  .case-batch,
  .case-system__grid,
  .case-reflection .case-shell {
    grid-template-columns: minmax(0, 1fr);
  }

  .case-section__header,
  .case-overview__grid,
  .case-chapter__header,
  .case-diagnosis__detail,
  .case-system__grid,
  .case-reflection .case-shell {
    gap: 52px;
  }

  .case-section__header {
    gap: 30px;
  }

  .case-overview__statement,
  .case-chapter__header > p,
  .case-sticky-copy,
  .case-system__copy {
    max-width: 720px;
  }

  .case-scope-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .case-scope-strip div:nth-child(3) {
    border-top: 1px solid #303235;
    border-left: 0;
  }

  .case-scope-strip div:nth-child(4) {
    border-top: 1px solid #303235;
  }

  .case-sticky-copy {
    position: static;
  }

  .case-story-card,
  .case-story-card--reverse {
    grid-template-areas:
      "copy"
      "visual";
    grid-template-columns: minmax(0, 1fr);
    gap: 42px;
  }

  .case-story-card__copy p {
    max-width: 680px;
  }

  .case-batch {
    grid-template-areas:
      "copy"
      "visual";
    grid-template-columns: minmax(0, 1fr);
  }

  .case-batch__copy {
    max-width: 700px;
    grid-area: copy;
  }

  .case-batch .case-figure {
    grid-area: visual;
  }
}

@media (max-width: 720px) {
  .case-shell {
    width: calc(100% - 44px);
  }

  .case-header {
    height: 64px;
    padding: 0 22px;
  }

  .case-header__brand {
    font-size: 16px;
  }

  .case-header__brand img {
    width: 39px;
    height: auto;
  }

  .case-header__menu {
    position: relative;
    z-index: 2;
    display: block;
  }

  .case-header__menu[aria-expanded="true"] > span:first-child {
    transform: translateY(3.5px) rotate(45deg);
  }

  .case-header__menu[aria-expanded="true"] > span:nth-child(2) {
    transform: translateY(-3.5px) rotate(-45deg);
  }

  .case-header__nav {
    position: fixed;
    z-index: 1;
    inset: 64px 0 auto;
    display: none;
    padding: 18px 22px 24px;
    border-bottom: 1px solid var(--case-line-soft);
    background: rgb(8 9 10 / 98%);
    box-shadow: 0 20px 30px rgb(0 0 0 / 25%);
  }

  .case-header__nav.is-open {
    display: grid;
    gap: 0;
  }

  .case-header__nav a,
  .case-header__nav a:nth-child(-n + 2) {
    display: flex;
    min-height: 48px;
    align-items: center;
    border-bottom: 1px solid var(--case-line-soft);
  }

  .case-header__nav .case-header__back {
    display: flex;
    height: 42px;
    min-height: 42px;
    margin: 18px 0 0;
    border: 0;
  }

  .case-hero {
    padding-top: 64px;
  }

  .case-hero::before {
    display: none;
  }

  .case-breadcrumb {
    padding-top: 25px;
    overflow: hidden;
    white-space: nowrap;
  }

  .case-hero__content {
    margin-top: 54px;
    grid-template-columns: 1fr;
    gap: 46px;
  }

  .case-hero h1 {
    margin-top: 22px;
    font-size: clamp(51px, 15.2vw, 66px);
    line-height: 1.01;
  }

  .case-hero__lead {
    margin-top: 28px;
    font-size: 15px;
    line-height: 1.75;
  }

  .case-hero__meta div {
    grid-template-columns: 82px 1fr;
  }

  .case-cover {
    width: calc(100% + 22px);
    margin-top: 66px;
  }

  .case-screen,
  .case-screen--cover,
  .case-system__visual {
    border-radius: 12px;
  }

  .case-screen {
    overflow-x: auto;
    overscroll-behavior-inline: contain;
    scrollbar-color: #55595f #17191b;
    scrollbar-width: thin;
    touch-action: pan-x;
  }

  .case-screen img {
    width: 720px;
    max-width: none;
  }

  .case-screen::after {
    display: none;
  }

  .case-screen:hover,
  .case-screen:focus-visible {
    transform: none;
  }

  .case-cover figcaption,
  .case-figure figcaption {
    display: grid;
    gap: 6px;
  }

  .case-cover figcaption span,
  .case-figure figcaption span {
    text-align: left;
  }

  .case-hero__scroll {
    display: none;
  }

  .case-section {
    padding: 94px 0;
    scroll-margin-top: 64px;
  }

  .case-section__header h2,
  .case-chapter__header h2,
  .case-reflection__content h2,
  .case-next h2 {
    font-size: clamp(36px, 9.75vw, 48px);
  }

  .case-mobile-break {
    display: block;
  }

  .case-overview__grid,
  .case-chapter__header,
  .case-diagnosis__detail,
  .case-system__grid,
  .case-reflection .case-shell {
    margin-top: 57px;
    gap: 45px;
  }

  .case-challenges {
    grid-template-columns: 1fr;
  }

  .case-challenges article {
    min-height: 210px;
  }

  .case-challenges h3 {
    margin-top: 54px;
  }

  .case-scope-strip {
    margin-top: 74px;
    grid-template-columns: 1fr;
  }

  .case-scope-strip div {
    min-height: 148px;
  }

  .case-scope-strip div + div,
  .case-scope-strip div:nth-child(3) {
    border-top: 1px solid #303235;
    border-left: 0;
  }

  .case-scope-strip strong {
    margin-top: 31px;
  }

  .case-figure--wide {
    margin-top: 60px;
  }

  .case-decisions {
    margin-top: 72px;
    grid-template-columns: 1fr;
  }

  .case-decisions article {
    min-height: 180px;
    padding: 24px 0;
  }

  .case-decisions article + article {
    padding-left: 0;
    border-top: 1px solid var(--case-line);
    border-left: 0;
  }

  .case-decisions h3 {
    margin-top: 43px;
  }

  .case-diagnosis__detail {
    margin-top: 84px;
  }

  .case-principle {
    margin-top: 80px;
    grid-template-columns: 1fr;
    gap: 27px;
  }

  .case-principle blockquote {
    font-size: 27px;
  }

  .case-training__story {
    gap: 56px;
    margin-top: 76px;
  }

  .case-story-card {
    padding: 42px 0 0;
    gap: 38px;
  }

  .case-batch {
    margin-top: 88px;
    padding-top: 46px;
    gap: 42px;
  }

  .case-system__metrics div {
    grid-template-columns: 88px 1fr;
  }

  .case-system__visual {
    width: calc(100% + 22px);
    overflow-x: auto;
  }

  .case-system__visual img {
    width: 720px;
    max-width: none;
  }

  .case-reflection__content > p:last-child {
    margin-top: 31px;
    font-size: 16px;
  }

  .case-reflection__credits strong {
    margin-top: 40px;
  }

  .case-next {
    padding: 94px 0;
  }

  .case-next__actions {
    margin-top: 53px;
    grid-template-columns: 1fr;
  }

  .case-next__actions a {
    min-height: 184px;
    padding: 24px 0;
  }

  .case-next__actions a + a {
    border-top: 1px solid var(--case-line);
    border-left: 0;
  }

  .case-next__actions strong {
    margin-top: 44px;
  }

  .case-footer {
    min-height: 80px;
    padding: 0 22px;
  }

  .case-lightbox {
    padding: 18px;
  }

  .case-lightbox img {
    max-width: calc(100vw - 36px);
    max-height: calc(100vh - 36px);
    border-radius: 8px;
  }

  .case-lightbox__close {
    top: 12px;
    right: 12px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  [data-reveal] {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .case-screen,
  .case-header__nav a,
  .case-next__actions a,
  .case-hero__scroll span::after {
    transition: none;
    animation: none;
  }
}
