.page-case { background: #fff; }
.page-case .nav [aria-current="page"] { border-color: var(--orange); font-weight: 750; }

.casehero { min-height: 480px; display: grid; grid-template-columns: minmax(460px, .9fr) minmax(0, 1.1fr); color: white; background: var(--navy-deep); overflow: hidden; }
.casehero__content { min-width: 0; display: flex; flex-direction: column; justify-content: center; padding: clamp(50px, 5vw, 78px) clamp(42px, 6vw, 96px); }
.casehero__back { min-height: 28px; width: max-content; display: inline-flex; align-items: center; margin-bottom: 30px; padding-block: 4px; color: rgba(255,255,255,.7); font-size: .78rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.casehero__back::before { content: "←"; margin-right: 9px; color: var(--orange); }
.casehero h1 { max-width: 650px; margin-top: 14px; font-size: clamp(3rem, 4.5vw, 4.75rem); }
.casehero__content > p:last-child { max-width: 650px; margin: 19px 0 0; color: rgba(255,255,255,.83); font-size: clamp(1.05rem, 1.35vw, 1.28rem); line-height: 1.5; }
.casehero__visual { position: relative; min-width: 0; }
.casehero__visual::before { content: ""; position: absolute; z-index: 1; inset: 0 auto 0 0; width: 28%; background: linear-gradient(90deg, var(--navy-deep), rgba(3,28,45,0)); }
.casehero__visual img { width: 100%; height: 100%; display: block; object-fit: cover; object-position: 49% center; }
.casehero--compact { min-height: 360px; }
.casehero--compact .casehero__content { padding-block: clamp(34px, 3.5vw, 50px); }
.casehero--compact .casehero__visual img { object-position: right center; }

.case-situation { padding: clamp(54px, 5.5vw, 78px) 0; }
.case-situation__layout { display: grid; grid-template-columns: minmax(280px, .62fr) minmax(0, 1.38fr); gap: clamp(46px, 7vw, 105px); }
.case-situation h2 { max-width: 490px; font-size: clamp(2.35rem, 3.5vw, 3.65rem); }
.case-situation__summary { min-width: 0; }
.situation-beats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 3px solid var(--orange); background: var(--soft); }
.situation-beats article { padding: 25px 24px 27px; }
.situation-beats article + article { border-left: 1px solid var(--line); }
.situation-beats span { display: block; margin-bottom: 10px; color: var(--orange); font-size: .75rem; font-weight: 800; letter-spacing: .11em; text-transform: uppercase; }
.situation-beats p { margin: 0; color: var(--ink); font-size: .98rem; line-height: 1.52; }
.situation-details { margin-top: 18px; border-bottom: 1px solid var(--line); }
.situation-details summary { cursor: pointer; padding: 12px 0 15px; color: var(--ink); font-size: .9rem; font-weight: 750; list-style: none; }
.situation-details summary::-webkit-details-marker { display: none; }
.situation-details summary::after { content: "+"; float: right; color: var(--orange); font-size: 1.3rem; font-weight: 500; }
.situation-details[open] summary::after { content: "–"; }
.case-situation__copy { max-width: 780px; }
.case-situation__copy { padding: 4px 0 12px; }
.case-situation__copy p { margin: 0 0 16px; color: var(--muted); font-size: 1rem; line-height: 1.62; }
.case-situation__copy p:first-child { color: var(--ink); font-weight: 620; }
.situation-moment { margin: 18px 0 0; padding: 19px 22px 21px; border-left: 3px solid var(--orange); background: #fff; box-shadow: inset 0 0 0 1px var(--line); }
.situation-moment > span { display: block; margin-bottom: 8px; color: var(--orange); font-size: .75rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.situation-moment blockquote { margin: 0; color: var(--ink); font-size: clamp(1.05rem, 1.4vw, 1.22rem); font-weight: 650; line-height: 1.5; }

.case-core { padding: 0 0 clamp(62px, 6vw, 88px); background: white; }
.case-core__grid { display: grid; grid-template-columns: minmax(0, .88fr) minmax(0, 1.12fr); align-items: stretch; }
.case-core article { padding: clamp(38px, 4.8vw, 68px); }
.case-importance { color: white; background: var(--navy); }
.case-importance h2 { max-width: 620px; color: white; font-size: clamp(2rem, 3vw, 3.1rem); }
.case-importance > p:not(.eyebrow) { color: rgba(255,255,255,.78); line-height: 1.62; }
.case-importance__conclusion { margin: 28px 0 0; padding: 22px 0 0; border-top: 1px solid rgba(255,255,255,.25); font-size: 1.08rem; font-weight: 700; }
.case-approach { position: relative; border-top: 4px solid var(--orange); background: var(--soft); }
.case-approach h2 { margin-top: 10px; font-size: clamp(2.7rem, 4.4vw, 4.65rem); }
.case-approach__subtitle { margin: 2px 0 25px; color: var(--ink); font-size: clamp(1.25rem, 1.7vw, 1.55rem); font-weight: 720; }
.case-approach__intro { margin: 0; color: var(--muted); }
.case-approach ul { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 25px; margin-bottom: 0; }
.case-approach li { color: var(--ink); font-weight: 620; }
.case-approach__result { margin-top: 34px; padding-top: 26px; border-top: 1px solid rgba(6,40,61,.18); }
.case-approach__result .eyebrow { margin-bottom: 12px; color: var(--muted); }
.case-approach__result h3 { margin: 0 0 10px; color: var(--ink); font-size: clamp(1.35rem, 1.9vw, 1.8rem); line-height: 1.25; }
.case-approach__result > p:last-child { margin: 0; color: var(--muted); font-size: 1.04rem; line-height: 1.58; }

.case-mid-cta { padding: 27px 0; color: white; background: var(--navy); }
.case-mid-cta__layout { display: grid; grid-template-columns: minmax(260px, .72fr) minmax(0, 1.28fr); gap: clamp(32px, 5vw, 76px); align-items: center; }
.case-mid-cta .eyebrow { margin-bottom: 8px; }
.case-mid-cta__copy { margin: 0; color: white; font-size: clamp(1.15rem, 1.65vw, 1.45rem); font-weight: 720; line-height: 1.35; }
.case-mid-cta__detail { max-width: 650px; margin: 10px 0 0; color: rgba(255,255,255,.75); font-size: .96rem; line-height: 1.5; }
.case-mid-cta .cta-pair { justify-content: flex-end; }
.case-mid-cta .button { margin-top: 0; }

.case-perspectives { padding: clamp(58px, 6vw, 88px) 0; background: var(--soft); }
.case-perspectives__header { max-width: 940px; margin-bottom: 34px; }
.case-perspectives__header h2 { font-size: clamp(2.35rem, 3.6vw, 3.65rem); }
.case-perspectives__header > p:last-child { max-width: 820px; margin: 17px 0 0; color: var(--muted); font-size: 1.05rem; line-height: 1.6; }
.case-perspectives__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); background: white; }
.perspective { position: relative; padding: clamp(30px, 3.8vw, 52px); border-top: 4px solid var(--navy); }
.perspective + .perspective { border-left: 1px solid var(--line); border-top-color: var(--orange); }
.perspective__code { position: absolute; top: 22px; right: 27px; color: rgba(6,40,61,.08); font-size: clamp(3.2rem, 6vw, 6rem); font-weight: 800; letter-spacing: -.08em; }
.perspective h3 { position: relative; margin: 0 0 22px; font-size: clamp(1.7rem, 2.3vw, 2.45rem); }
.perspective p { position: relative; margin: 0 0 18px; color: var(--muted); line-height: 1.6; }
.perspective ul, .case-approach ul { display: grid; gap: 11px; margin: 20px 0 27px; padding: 0; list-style: none; }
.perspective li, .case-approach li { position: relative; padding-left: 19px; color: var(--muted); line-height: 1.5; }
.perspective li::before, .case-approach li::before { content: ""; position: absolute; top: .66em; left: 0; width: 7px; height: 7px; background: var(--orange); }
.perspective__principle { display: grid; gap: 7px; margin-top: 30px; padding-top: 22px; border-top: 1px solid var(--line); }
.perspective__principle strong { color: var(--ink); }
.perspective__principle span { color: var(--muted); line-height: 1.55; }

.case-synthesis { padding: clamp(42px, 4.5vw, 62px) 0; color: white; background: var(--navy); }
.case-synthesis > .shell { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(320px, .9fr); gap: clamp(38px, 7vw, 96px); align-items: end; }
.case-synthesis > .shell > * { min-width: 0; }
.case-synthesis .eyebrow { grid-column: 1 / -1; margin-bottom: -17px; }
.case-synthesis h2 { max-width: 820px; font-size: clamp(2rem, 3.1vw, 3.15rem); }
.case-synthesis > .shell > p:last-child { max-width: 650px; margin: 0; color: rgba(255,255,255,.8); font-size: clamp(1.05rem, 1.4vw, 1.25rem); line-height: 1.55; }

.case-cta { padding: clamp(62px, 6.5vw, 96px) 0; color: var(--ink); background: white; border-top: 1px solid var(--line); }
.case-cta__layout { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: clamp(42px, 7vw, 100px); align-items: end; }
.case-cta .eyebrow { color: var(--muted); }
.case-cta h2 { max-width: 800px; }
.case-cta .case-cta__prompt { margin: 0; color: var(--ink); font-size: clamp(1.15rem, 1.65vw, 1.45rem); font-weight: 720; line-height: 1.35; }
.case-cta p:not(.eyebrow) { max-width: 760px; margin: 20px 0 0; color: var(--muted); font-size: 1.08rem; line-height: 1.6; }
.case-cta .cta-pair { flex-direction: column; align-items: stretch; min-width: 360px; }
.case-cta .button { margin-top: 0; }

.related-cases { padding: clamp(54px, 6vw, 84px) 0; background: var(--soft); border-top: 1px solid var(--line); }
.related-cases__header { display: flex; justify-content: space-between; gap: 28px; align-items: end; margin-bottom: 28px; }
.related-cases__header h2 { margin: 0; font-size: clamp(2rem, 3vw, 3.1rem); }
.related-cases__header > a { flex: 0 0 auto; color: var(--ink); font-weight: 750; text-decoration: underline; text-decoration-color: var(--orange); text-underline-offset: 5px; }
.related-cases__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.related-case { min-height: 100%; display: flex; flex-direction: column; padding: 26px; color: var(--ink); background: white; border-top: 4px solid var(--orange); box-shadow: 0 14px 32px rgba(6,40,61,.07); transition: transform .2s ease, box-shadow .2s ease; }
.related-case:hover, .related-case:focus-visible { transform: translateY(-3px); box-shadow: 0 18px 38px rgba(6,40,61,.11); }
.related-case span { margin-bottom: 14px; color: var(--muted); font-size: .75rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.related-case strong { font-size: clamp(1.1rem, 1.45vw, 1.35rem); line-height: 1.28; }

@media (max-width: 920px) {
  .casehero { grid-template-columns: 1fr; }
  .casehero__content { order: 2; padding-top: 48px; }
  .casehero__visual { min-height: 400px; }
  .casehero--compact .casehero__visual { min-height: 210px; }
  .casehero__visual::before { inset: auto 0 0; width: 100%; height: 38%; background: linear-gradient(180deg, rgba(3,28,45,0), var(--navy-deep)); }
  .case-situation__layout, .case-core__grid, .case-mid-cta__layout, .case-cta__layout { grid-template-columns: 1fr; }
  .case-situation__layout { gap: 38px; }
  .case-core { padding-bottom: 0; }
  .case-mid-cta .cta-pair { justify-content: flex-start; }
  .case-synthesis > .shell { grid-template-columns: 1fr; gap: 18px; }
  .case-synthesis .eyebrow { grid-column: auto; margin-bottom: 0; }
  .case-cta .cta-pair { min-width: 0; align-items: flex-start; }
  .related-cases__grid { grid-template-columns: 1fr; }
}

@media (max-width: 660px) {
  .casehero__visual { min-height: 310px; }
  .casehero--compact .casehero__visual { min-height: 150px; }
  .casehero__content { padding: 38px 22px 56px; }
  .casehero__back { margin-bottom: 32px; }
  .casehero h1 { width: 100%; max-width: 100%; font-size: clamp(2.05rem, 9.5vw, 3.35rem); hyphens: none; overflow-wrap: normal; word-break: normal; text-wrap: balance; }
  .case-situation, .case-perspectives, .case-cta { padding-block: 52px; }
  .situation-beats { grid-template-columns: 1fr; }
  .situation-beats article + article { border-top: 1px solid var(--line); border-left: 0; }
  .case-core article { padding: 36px 24px 40px; }
  .case-approach ul { grid-template-columns: 1fr; }
  .case-mid-cta { padding-block: 34px; }
  .case-mid-cta .cta-pair, .case-mid-cta .button { width: 100%; }
  .case-perspectives__grid { grid-template-columns: 1fr; }
  .perspective + .perspective { border-top: 4px solid var(--orange); border-left: 0; }
  .perspective { padding: 32px 24px; }
  .case-cta .cta-pair, .case-cta .button { width: 100%; }
  .case-synthesis h2 { font-size: clamp(1.55rem, 7.5vw, 2.2rem); line-height: 1.12; }
  .related-cases__header { display: grid; align-items: start; }
}
