/* Alter Engineers — collection visualizer overrides
   Mirrors folder-preview.css — same fp-card__* class names, same AE card
   style. Kept separate so collection cards look correct on pages that don't
   also load folder-preview (e.g. a future standalone collection-only page).

   SCOPED TO .collection-visualizer ON PURPOSE (2026-07-28).
   lib/visualizers/collection/styles.css declares `.collection-visualizer
   .fp-card__title` (specificity 0,2,0). A bare `.fp-card__title` here is
   (0,1,0) and loses on specificity no matter how late this file loads — which
   is exactly how AE's orange label silently reverted to the shared grey
   headline after the 2026-07-27 self-sufficiency rescope. Matching the scope
   makes both rules (0,2,0), so load order decides, and theme overrides load
   after lib. Do not "simplify" this back to a bare class. */

.collection-visualizer .fp-card__title {
  color: var(--color-orange);
  font-size: 0.8rem;
  letter-spacing: 0.06em;
}

/* Upstream leaves `.fp-card__subtitle` unscoped, so a bare selector would still
   win here. Scoped anyway to match the rule above and to stay correct if
   upstream scopes it later — same failure mode, one less silent revert. */
.collection-visualizer .fp-card__subtitle {
  font-size: clamp(1rem, 2vw, 1.2rem);
  font-weight: 700;
  color: var(--text-color);
}

/* A card without a photo: mint panel with the purple AE mark (Leon,
   2026-11-03), instead of the shared lavender gradient. The mark is the official
   vector (04_Marketing/Logo/Logo Mark/svg), so it stays sharp at any size; it is
   sized to the panel's height. When the page's shape has its own identity icon
   (an <img> inside the placeholder), that icon shows and the mark stays off —
   :empty is what keeps the two from stacking. The More Projects carousel uses
   the same treatment (main.css → .articles__image--placeholder). */
.collection-visualizer .fp-card__image-wrap--placeholder {
  background: color-mix(in srgb, var(--color-mint) 55%, var(--card-bg));
}
.collection-visualizer .fp-card__image-wrap--placeholder:empty {
  background-image: url("/assets/images/ae-logo-mark-purple.svg");
  background-repeat: no-repeat;
  background-position: center;
  background-size: auto 40%;
}
