/* ==========================================================================
   Variant-only styles — Photo Grid + Horizontal Showcase
   (loaded only by equipment-variant-*.html, kept out of the main stylesheet)
   ========================================================================== */

.variant-banner {
  background: var(--surface); border-bottom: 1px solid var(--border-strong);
  padding: 14px 0; text-align: center; font-size: 0.82rem; letter-spacing: 0.04em; color: var(--text-muted);
}
.variant-banner a { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }
.variant-banner strong { color: var(--text); }

/* ---------- Horizontal Showcase ---------- */
.showcase-wrap { position: relative; }
.showcase {
  display: flex; overflow-x: auto; scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch;
  scrollbar-width: none; margin-top: var(--space-5);
}
.showcase::-webkit-scrollbar { display: none; }
.panel {
  position: relative; flex: 0 0 82vw; max-width: 920px; height: 62vh; min-height: 420px;
  scroll-snap-align: start; margin-right: var(--space-3); overflow: hidden; border: 1px solid var(--border);
  display: flex; align-items: flex-end;
}
.panel img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  filter: grayscale(0.4) contrast(1.1) brightness(0.68);
  transition: transform 1200ms var(--ease-out), filter 1200ms var(--ease-out);
}
.panel:hover img { transform: scale(1.045); filter: grayscale(0.15) contrast(1.08) brightness(0.78); }
.panel::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(0deg, rgba(0,0,0,0.85), transparent 65%), linear-gradient(155deg, rgba(var(--accent-rgb), 0.1), transparent 50%);
}
/* Panel text always sits on a photo + dark gradient overlay regardless of
   page theme, so it's hardcoded light here rather than using the (now dark,
   Ivory & Oxblood) --text/--text-muted tokens, which would be invisible. */
.panel__body { position: relative; z-index: 1; padding: var(--space-5); max-width: 60ch; }
.panel__num { font-family: var(--font-display); font-style: italic; color: var(--accent-2); font-size: 1.1rem; }
.panel__body h3 { font-size: 2rem; margin: 8px 0 10px; color: #F6F0E3; }
.panel__body p { color: #D9D0C0; margin-bottom: var(--space-3); }
.showcase-nav { display: flex; justify-content: flex-end; gap: 10px; margin-top: var(--space-3); }
.showcase-nav button {
  width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--border-strong); background: transparent;
  color: var(--text); display: flex; align-items: center; justify-content: center; transition: background 200ms, border-color 200ms;
}
.showcase-nav button:hover { background: var(--accent); border-color: var(--accent); color: #F6F0E3; }
.showcase-nav svg { width: 16px; height: 16px; }
