/* Isolated Case Betta page. Geometry measured from the 390px Illustrator artboard. */
.betta .work-display { height: 104.606px; }
/* Center Case's ink: C left bearing 51.3472, e right bearing 32.4212 / 1000 UPM.
   Keep the shared alphabetic baseline alignment and natural rounded overshoot. */
.betta .work-display h1 { translate: -.009463003em 0; }
.betta .case-column { width: 73.9316%; margin-inline: auto; }
.betta .case-intro-mobile { background: var(--yellow); padding-top: 44.444px; padding-bottom: 36px; }
.betta .case-heading { text-align: center; }
.betta .case-heading h2 { font-size: 24px; font-weight: 800; line-height: 32px; border-bottom: .75px solid; }
.betta .case-subtitle { margin-top: 9.086px; padding-bottom: 8.5px; border-bottom: .75px solid; font: 400 14px/20px 'CS Matches', sans-serif; letter-spacing: .7px; }
.betta .case-subtitle > span { display: block; width: calc(100% + 10px); margin-left: -5px; }
.betta .case-tags { display: grid; gap: 6.16px; list-style: none; padding: 0; margin-top: 16.949px; }
.betta .case-tags li { display: grid; place-items: center; border: 0; box-shadow: inset 0 0 0 .75px var(--ink); border-radius: 7px; background: var(--gray-surface); padding: 6.2075px 8px; font-size: 15px; line-height: 20px; text-align: center; }
.betta .case-support { position: relative; overflow: hidden; border-radius: 10px; }
.betta .case-support img { display: block; position: absolute; max-width: none; object-fit: cover; }
.betta .case-facade { aspect-ratio: 288.335 / 328.332; margin-block: 36px 0; }
.betta .case-facade img { width: 173.6389%; height: 203.0779%; left: -42.8878%; top: -38.7267%; }
.betta .case-description { margin-top: 32px; font-size: 16px; line-height: 24px; font-weight: 200; }
.betta .case-description u { font-weight: 400; }
.betta .case-description strong { font-weight: 700; }
.betta .case-results-mobile { background: var(--gray-panel); }
/* The yellow/gray transition intersects 39.56% of the interior photograph. */
.betta .case-interior-band { position: relative; isolation: isolate; }
.betta .case-interior-band::before { content: ''; position: absolute; inset: 0 0 auto; height: 39.5624%; z-index: -1; background: var(--yellow); }
.betta .case-interior { aspect-ratio: 288.332 / 427.324; margin-block: 0; }
.betta .case-interior img { width: 120.3821%; height: 108.3019%; left: -10.1911%; top: -4.1512%; }
.betta .case-results-content { padding-top: 48.5px; padding-bottom: 54.982px; }
.betta .case-results-content h2 { border-block: .75px solid; padding-block: 12.543px; font: 400 24px/28px 'CS Matches', sans-serif; letter-spacing: 1.2px; text-align: center; }
.betta .results-list { list-style: none; padding: 0; margin: 30px 0 0; font-size: 18px; line-height: 30px; font-weight: 200; }
.betta .results-list li + li { margin-top: 30px; }
.betta .results-list strong { font-weight: 500; }
.betta .work-gallery { grid-template-columns: repeat(2,minmax(0,1fr)); }
.betta .media-tile { aspect-ratio: 9 / 16; }
/* Preserve legibility on small screens; let long headings and tags wrap naturally. */
@media (max-width: 359px) {
  .betta .case-column { width: calc(100% - 60px); }
}

/* Preserve the reference's editorial line groups, with natural wrapping on narrower screens. */
.betta .case-result-line { display: block; }

@media (max-width: 375px) {
  /* Absorb the removed leading at the outer edges, preserving the distance
     between the last title line and its divider. */
  .betta .case-heading h2 { line-height: 24px; padding-block: 4px; }
  .betta .case-subtitle { line-height: 17px; padding-top: 1.5px; padding-bottom: 10px; }
  .betta .case-subtitle-tail { display: block; }
}
