/* AUDIT FINAL: shared intervention layout and two-case result slides. */
.proc__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; margin-top: 26px; }
.proc__actions .btn { margin: 0; font-size: 12px; padding: 13px 18px; white-space: normal; text-align: center; }
.proc__actions .btn--ghost { border: 1px solid #62564e; background: transparent; color: #231e1a; }
.benefits-carousel__arrows { display: flex; justify-content: center; gap: 4px; margin-top: -4px; }
.benefits-carousel__arrows button { width: 36px; height: 36px; border: 1px solid #89745f; border-radius: 50%; background: transparent; color: #514439; font: 26px/1 Georgia, serif; cursor: pointer; }
.benefits-carousel__arrows button:disabled { opacity: .3; cursor: default; }
.benefits-carousel__arrows button:focus-visible { outline: 2px solid #9c713c; outline-offset: 3px; }
.results.results--paged { padding: 64px 28px 48px; background: #0c0c0b; color: #f5dfd7; }
.results--paged .results__head { max-width: 720px; margin: 0 auto 48px; text-align: center; padding: 0; }
.results--paged .results__head h2 { max-width: 23ch; margin: 0 auto 18px; font-size: clamp(30px, 3.5vw, 48px); line-height: 1.08; }
.results--paged .results__head > p:not(.eyebrow) { max-width: 48ch; margin: auto; font-size: 14px; line-height: 1.5; }
.case-gallery { max-width: 1060px; margin: auto; display: grid; grid-template-columns: 44px minmax(0, 1fr) 44px; gap: 24px; align-items: center; }
.case-gallery__slides { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; min-width: 0; align-items: stretch; }
.case-card { min-width: 0; margin: 0; padding: 10px 10px 14px; border: 1px solid #ccb6a34d; border-radius: 9px; background: #111110; }
.case-card[hidden], .case-gallery__arrow[hidden] { display: none; }
.case-card { display: flex; flex-direction: column; }
.case-media { width: 100%; aspect-ratio: 2; flex: none; display: grid; place-items: center; overflow: hidden; background: #171513; border: 1px solid #d4bcaa; border-radius: 6px; }
.case-media .case-compare { border: 0; border-radius: 0; max-width: 100%; max-height: 100%; }
.case-media .case-compare:not(.case-compare--ready) { height: 100%; }
.case-media .case-compare__fallback { width: 100%; height: 100%; object-fit: contain; }
.case-card figcaption { min-height: 54px; }
.results--all .case-gallery { display: block; max-width: 1060px; }
.results--all .case-gallery__slides { row-gap: 28px; }
.results--all .case-gallery__arrow, .results--all .case-gallery__dots { display: none; }
.case-compare { position: relative; overflow: hidden; width: 100%; background: #171513; border: 1px solid #d4bcaa; border-radius: 6px; }
.case-compare__fallback { display: block; width: 100%; height: auto; }
.case-compare--ready .case-compare__fallback { position: absolute; inset: 0; opacity: 0; }
.case-compare__layers, .case-compare__layer { position: absolute; inset: 0; }
.case-compare__layer { inset: auto; overflow: hidden; background-color: #171513; }
.case-compare__photo { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); width: var(--photo-width); height: var(--photo-height); background-repeat: no-repeat; background-size: 200% 100%; }
.case-compare__layer--before .case-compare__photo { background-position: left center; }
.case-compare__layer--after .case-compare__photo { background-position: right center; }
.case-compare__chip { position: absolute; z-index: 3; top: 8px; left: 8px; padding: 4px 8px; border-radius: 20px; background: #fae9e1; color: #181412; font-size: 10px; line-height: 1; pointer-events: none; }
.case-compare__chip--after { left: auto; right: 8px; }
.case-compare__handle { position: absolute; z-index: 3; top: 50%; left: var(--split, 50%); transform: translate(-50%, -50%); display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; color: #29201c; background: #fff9f6; font: 15px/1 Georgia, serif; pointer-events: none; }
.case-compare--ready::after { content: ''; position: absolute; z-index: 2; top: 0; bottom: 0; left: var(--split, 50%); width: 2px; transform: translateX(-50%); background: #fff9f6; pointer-events: none; }
.case-compare input[type=range] { position: absolute; z-index: 4; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: ew-resize; touch-action: pan-y; }
.case-compare[data-source-axis="y"] .case-compare__handle { left: 50%; top: var(--split); }
.case-compare[data-source-axis="y"].case-compare--ready::after { left: 0; right: 0; top: var(--split); bottom: auto; width: 100%; height: 2px; transform: translateY(-50%); }
.case-compare[data-source-axis="y"] .case-compare__chip--after { top: auto; bottom: 8px; }
.case-compare[data-source-axis="y"] input[type=range] { writing-mode: vertical-lr; direction: ltr; cursor: ns-resize; touch-action: none; }
.case-compare:focus-within { outline: 2px solid #eacdb0; outline-offset: 3px; }
.case-card figcaption { padding: 9px 1px 0; }
.case-card__title { display: block; font-family: 'Instrument Serif', Georgia, serif; font-style: italic; font-size: 21px; line-height: 1.15; }
.case-card__sub { display: block; margin-top: 4px; font-size: 11px; line-height: 1.4; color: #d0c2b9; }
.case-gallery__arrow { width: 44px; height: 44px; padding: 0; border: 2px solid #eddbd1; border-radius: 50%; background: transparent; color: #eddbd1; font: 40px/32px Georgia, serif; cursor: pointer; }
.case-gallery__arrow:hover { background: #eddbd11c; }
.case-gallery__dots { display: flex; flex-wrap: wrap; justify-content: center; margin: 18px auto 22px; gap: 8px; }
.case-gallery__dots button { position: relative; width: 40px; height: 28px; border: 0; padding: 0; background: transparent; cursor: pointer; }
.case-gallery__dots button::after { content: ''; position: absolute; left: 0; right: 0; top: 12px; height: 4px; border-radius: 4px; background: #514a45; }
.case-gallery__dots button[aria-current=true]::after { background: #eddbd1; }
.case-gallery__dots button:focus-visible, .case-gallery__arrow:focus-visible { outline: 2px solid #eddbd1; outline-offset: 4px; }
.results--paged .case-gallery__more { display: flex; width: fit-content; margin: auto; border-color: #cfbcb0; color: #eddbd1; font-size: 12px; }
.results--paged .results__note { max-width: 70ch; text-align: center; margin: 24px auto 0; font-size: 12px; color: #d0c2b9; }
@media (max-width: 640px) {
  .proc__actions { align-items: stretch; }
  .proc__actions .btn { width: 100%; justify-content: center; }
  .results.results--paged { padding: 48px 18px 36px; }
  .results--paged .results__head { margin-bottom: 28px; }
  .case-gallery { grid-template-columns: 44px minmax(0, 1fr) 44px; gap: 12px; }
  .case-gallery__slides { grid-template-columns: minmax(0, 1fr); gap: 16px; grid-column: 1 / -1; grid-row: 1; }
  .case-gallery__arrow { width: 44px; height: 44px; font-size: 32px; line-height: 26px; grid-row: 2; }
  .case-gallery__prev { grid-column: 1; }
  .case-gallery__next { grid-column: 3; }
  .case-card { padding: 6px 6px 12px; }
  .case-card__title { font-size: 19px; }
}
/* Benefits: the separator follows the real composite seam, never a assumed 50%. */
.benefits-carousel .benefits__visual[data-source-axis="x"]::after {
  inset: 0 auto 0 var(--source-seam); width: 2px; height: auto; transform: translateX(-50%);
}
.benefits-carousel .benefits__visual[data-source-axis="y"]::after {
  inset: var(--source-seam) 0 auto; width: auto; height: 2px; transform: translateY(-50%);
}
.benefits-carousel .benefits__visual[data-source-axis="y"] .benefits__tag--after { top: auto; bottom: 7px; }
.benefits-carousel .benefits__visual[data-source-axis="none"]::after { display: none; }
@media (min-width: 641px) and (max-width: 900px) {
  .case-gallery, .case-gallery__slides { gap: 12px; }
}
.site-information { max-width: 940px; margin: auto; padding: 144px 24px 80px; }
.site-information h1 { font-size: clamp(32px, 5vw, 54px); line-height: 1.12; margin: 16px 0 36px; }
.site-information__content { max-width: 74ch; overflow-wrap: anywhere; font-size: 16px; line-height: 1.75; }
.site-information__content h2 { font-size: 25px; margin: 32px 0 12px; }
.site-information__content p, .site-information__content ul { margin-bottom: 20px; }
.site-information__content a { text-decoration: underline; text-underline-offset: 3px; }
.site-information > .btn { margin-top: 28px; }
