.case-gallery .case-notes-inner {
  grid-template-columns: minmax(0, 1.1fr) minmax(0, .8fr);
  align-items: center;
  gap: clamp(2.5rem, 8vw, 9rem);
}
.case-gallery .case-intro { min-width: 0; }
.case-gallery:not([data-enhanced]) .case-intro { align-self: start; }
.case-gallery .case-intro h2 { max-width: 9em; margin: 0 0 1.2rem; }
.case-gallery .case-intro h2 em { display: block; }
.case-gallery .case-choices {
  display: grid;
  max-width: 32rem;
  margin-top: clamp(1.4rem, 3vw, 2.8rem);
  border-bottom: 1px solid #745c58;
}
.case-gallery .case-choice {
  position: relative;
  display: grid;
  gap: .24rem;
  min-height: 54px;
  padding: .85rem 1rem .95rem 0;
  border-top: 1px solid #745c58;
  color: #f4e7de;
  text-decoration: none;
}
.case-gallery .case-choice-type { color: #dbc5b8; font: 500 .74rem/1.35 var(--sans,Arial,sans-serif); }
.case-gallery .case-choice-name { font: 400 clamp(1.35rem, 2vw, 2.05rem)/1.12 var(--serif,Georgia,serif); letter-spacing: -.035em; }
.case-gallery .case-choice[aria-selected="true"] { padding-left: 1rem; background: #38282a; }
.case-gallery .case-choice[aria-selected="true"]::before {
  content: ""; position: absolute; inset: 0 auto 0 0; width: 2px; background: #e6b59c;
}
.case-gallery .case-choice:hover .case-choice-name { color: #efbfa4; }
.case-gallery .case-more, .case-gallery .case-origin {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  width: fit-content;
  color: #f5e5dc;
  font: 500 .84rem/1.4 var(--sans,Arial,sans-serif);
  text-decoration: underline;
  text-decoration-color: #ae9087;
  text-underline-offset: .28em;
}
.case-gallery .case-more { margin-top: .75rem; }
.case-gallery .case-origin { color: #dfc3b7; font-size: .76rem; }
.case-gallery .case-more:hover, .case-gallery .case-origin:hover { color: #fff; text-decoration-color: currentColor; }
.case-gallery :is(.case-more,.case-origin,.case-choice):focus-visible { outline: 2px solid #f4c2aa; outline-offset: 3px; }
.case-gallery .case-stage { display: grid; justify-items: center; gap: 2.2rem; min-width: 0; }
.case-gallery .case-panel { width: min(100%, 21.25rem); margin: 0; scroll-margin-top: 5.5rem; }
.case-gallery .case-panel[hidden] { display: none; }
.case-gallery .case-film {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 9 / 16;
  object-fit: contain;
  border: 0;
  background: #160f10;
  color-scheme: dark;
}
.case-gallery .case-description { margin: .75rem 0 0; color: #ecded6; font: 400 .87rem/1.55 var(--sans,Arial,sans-serif); }
html[data-motion="on"] .case-gallery[data-enhanced] .case-panel:not([hidden]) { animation: case-gallery-in .36s ease-out; }
@keyframes case-gallery-in { from { opacity: .65; transform: translateY(4px); } to { opacity: 1; transform: none; } }
@media (max-width: 700px) {
  .case-gallery .case-notes-inner { grid-template-columns: 1fr; gap: 1.35rem; }
  .case-gallery .case-intro h2 { max-width: 100%; }
  .case-gallery .case-intro h2 em { display: inline; }
  .case-gallery .case-choices { grid-template-columns: repeat(2,minmax(0,1fr)); max-width: none; gap: 7px; border: 0; margin-top: 1.35rem; }
  .case-gallery .case-choice, .case-gallery .case-choice[aria-selected="true"] {
    align-content: center; padding: .65rem .7rem; min-height: 4.4rem; border: 1px solid #745c58;
  }
  .case-gallery .case-choice[aria-selected="true"] { border-color: #d8a38d; }
  .case-gallery .case-choice[aria-selected="true"]::before { display: none; }
  .case-gallery .case-choice-type { font-size: .66rem; }
  .case-gallery .case-choice-name { font-size: clamp(1.05rem, 4.6vw, 1.4rem); }
  .case-gallery .case-more { margin-top: .2rem; }
  .case-gallery .case-panel { width: min(100%, 19rem); }
}

.case-gallery .case-panel-photo { width: min(100%, 28rem); }
.case-gallery .case-comparison { display: block; width: 100%; height: auto; object-fit: contain; }
.case-gallery .case-panel-photo .case-description { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: .2rem .65rem; }
.case-gallery .case-description strong { font-weight: 500; }
.case-gallery .case-description time { color: #d8c1b3; font-size: .76rem; white-space: nowrap; }
@media (max-width: 700px) {
  .case-gallery .case-panel-photo { width: min(100%, 24rem); }
}
