.case-explore { display: flex; align-items: center; justify-content: space-between; gap: 32px; padding-top: 36px; padding-bottom: 48px; border-top: 1px solid #ffffff18; }
.case-explore h2 { margin: 8px 0 12px; font-size: clamp(24px, 3vw, 36px); }
.case-explore p:not(.eyebrow), .case-explore small { color: #9da5ab; line-height: 1.8; }
.case-explore small { display: block; margin-top: 8px; font-size: 12px; }
.case-explore-actions { display: flex; flex-wrap: wrap; gap: 12px; flex-shrink: 0; }
.case-explore-actions .ghost-btn { gap: 24px; }
.case-viewer { width: min(1240px, calc(100% - 40px)); max-width: none; max-height: calc(100dvh - 40px); padding: 0; color: #e8ecee; background: #101416; border: 1px solid #ffffff24; border-radius: 20px; box-shadow: 0 32px 120px #000a; overflow: auto; }
.case-viewer::backdrop { background: #030609cf; backdrop-filter: blur(14px); }
.case-viewer-header { display: flex; justify-content: space-between; align-items: center; padding: 22px 28px; border-bottom: 1px solid #ffffff14; }
.case-viewer-header .eyebrow { font-size: 10px; letter-spacing: .2em; color: #a8b4bb; margin: 0 0 8px; }
.case-viewer-header h2 { font-size: 23px; margin: 0; }
.case-viewer-close { width: 44px; height: 44px; border: 1px solid #ffffff26; border-radius: 50%; color: inherit; background: #ffffff06; font-size: 28px; cursor: pointer; }
.case-viewer-layout { display: grid; grid-template-columns: minmax(0, 1fr) 280px; height: min(650px, calc(100dvh - 150px)); }
.case-viewer-stage { position: relative; display: grid; place-items: center; margin: 0; min-height: 0; touch-action: pan-y; background: radial-gradient(ellipse at 50% 40%, #293339, #111619 70%); overflow: hidden; }
.case-gallery-image { position: absolute; top: 28px; left: 76px; width: calc(100% - 152px); height: calc(100% - 84px); object-fit: contain; transition: opacity .25s ease; user-select: none; -webkit-user-drag: none; }
.case-viewer-stage.is-loading .case-gallery-image { opacity: .35; }
.case-gallery-nav { position: absolute; top: 50%; translate: 0 -50%; width: 46px; height: 46px; border: 1px solid #ffffff26; border-radius: 50%; color: #e8ecee; background: #101416b8; font-size: 28px; line-height: 1; cursor: pointer; z-index: 2; }
.case-gallery-nav.is-prev { left: 18px; }.case-gallery-nav.is-next { right: 18px; }
.case-gallery-caption { position: absolute; left: 24px; right: 24px; bottom: 18px; display: flex; justify-content: space-between; gap: 16px; font-size: 13px; color: #c7d0d5; pointer-events: none; }
.case-gallery-caption span:last-child { color: #88969e; font-variant-numeric: tabular-nums; letter-spacing: .08em; }
.case-gallery-thumbs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.case-gallery-thumbs button { aspect-ratio: 4 / 3; padding: 0; border: 1px solid #ffffff20; border-radius: 8px; background: #1b2226; overflow: hidden; cursor: pointer; opacity: .6; transition: opacity .2s ease, border-color .2s ease; }
.case-gallery-thumbs button[aria-current="true"] { border-color: #bce9de; opacity: 1; }
.case-gallery-thumbs button:hover { opacity: 1; }
.case-gallery-thumbs img { width: 100%; height: 100%; object-fit: cover; display: block; }
.case-viewer-message { position: absolute; inset: auto 20px 50px; text-align: center; z-index: 2; }
.case-viewer-message p { padding: 10px; border-radius: 8px; background: #101416df; font-size: 14px; }
.case-viewer-panel { padding: 26px 24px; border-left: 1px solid #ffffff14; overflow: auto; }
.case-viewer-panel .eyebrow { color: #7f8c94; font-size: 10px; letter-spacing: .17em; margin: 0 0 14px; }
.case-viewer-finishes { display: flex; gap: 8px; margin-bottom: 28px; }
.case-viewer-finishes button { border: 1px solid #ffffff20; border-radius: 8px; background: #ffffff04; color: #c7d0d5; padding: 10px 12px; font: inherit; font-size: 13px; cursor: pointer; }
.case-viewer-finishes button { display: flex; align-items: center; gap: 9px; flex: 1; }
.case-viewer-finishes button[aria-pressed="true"] { border-color: #bce9de; background: #bce9de0b; color: #fff; }
.case-viewer-finishes i { width: 15px; height: 15px; border-radius: 50%; border: 1px solid #ffffff40; }
.finish-onyx { background: #23272a; }.finish-ivory { background: #eee9e0; }
.case-viewer-note { font-size: 10px; color: #829099; line-height: 1.8; margin-top: 20px; }
.case-viewer button:focus-visible { outline: 2px solid #bce9de; outline-offset: 3px; }
.case-viewer button:hover { border-color: #bce9de; }
@media (max-width: 760px) {
  .case-explore { flex-direction: column; align-items: flex-start; gap: 20px; }
  .case-viewer { width: calc(100% - 16px); max-height: calc(100dvh - 16px); border-radius: 14px; }
  .case-viewer-header { padding: 16px; }.case-viewer-header h2 { font-size: 19px; }
  .case-viewer-layout { grid-template-columns: 1fr; height: auto; }
  .case-viewer-stage { min-height: 0; height: clamp(300px, 48dvh, 460px); }
  .case-gallery-image { top: 12px; left: 12px; width: calc(100% - 24px); height: calc(100% - 72px); }
  .case-gallery-nav { width: 40px; height: 40px; top: auto; bottom: 8px; translate: none; }
  .case-gallery-caption { left: 64px; right: 64px; bottom: 18px; flex-direction: column; align-items: center; gap: 2px; text-align: center; font-size: 12px; }
  .case-gallery-thumbs { grid-template-columns: repeat(5, 1fr); }
  .case-viewer-panel { border-left: 0; border-top: 1px solid #ffffff14; padding: 20px; }
}
