/* Scene "cards" · Card controls (Figma Homepage 14567:23370, card 14567:23374, pills 14567:23373).
   All positions in 798×854 artboard coordinates (the pills group is 980×653 at -91,100 in the frame). */

/* the green metal card (Figma 14484:4383, card.webp rendered at 3×): 470×296.825 at (164, 279.4) */
[data-scene="cards"] .cd-card { position: absolute; left: 164px; top: 279.4px; width: 470px; height: 296.825px;
  transform-origin: 50% 60%; will-change: transform, opacity, filter; }
[data-scene="cards"] .cd-card__clip { position: absolute; inset: 0; overflow: hidden; border-radius: 15px; isolation: isolate; }
[data-scene="cards"] .cd-card__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }

/* reflections, all clipped to the card's rounded shape:
   lit   = the card image again, plus-lighter, seen through a moving diagonal band: the metal (wordmark, chip, brushed
           surface) catches the light as the band passes
   sheen = a broad, soft highlight that drifts slowly across the surface (keeps the card alive)
   sweep = a narrow bright band of light, once, as the card settles */
[data-scene="cards"] .cd-card__lit { position: absolute; inset: 0; mix-blend-mode: soft-light; opacity: .55;   /* tuned for the light green metal */
  --lx: 130%;
  -webkit-mask-image: linear-gradient(110deg, transparent 0%, transparent 44%, #000 50%, transparent 56%, transparent 100%);
          mask-image: linear-gradient(110deg, transparent 0%, transparent 44%, #000 50%, transparent 56%, transparent 100%);
  -webkit-mask-size: 300% 100%; mask-size: 300% 100%;
  -webkit-mask-repeat: no-repeat; mask-repeat: no-repeat;
  -webkit-mask-position: var(--lx) 0; mask-position: var(--lx) 0; }
[data-scene="cards"] .cd-card__lit img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
[data-scene="cards"] .cd-card__sheen { position: absolute; left: -60%; top: -40%; width: 120%; height: 180%;
  background: radial-gradient(closest-side, rgba(255, 255, 255, .06), rgba(255, 255, 255, .02) 55%, rgba(255, 255, 255, 0));
  mix-blend-mode: screen; pointer-events: none; }
[data-scene="cards"] .cd-card__sweep { position: absolute; inset: -20% -60%;
  background: linear-gradient(105deg, transparent 44%, rgba(255, 255, 255, .06) 47%, rgba(255, 255, 255, .32) 50%, rgba(255, 255, 255, .06) 53%, transparent 56%);
  mix-blend-mode: screen; pointer-events: none; }
/* a thin light edge on the top rim, as on polished metal */
[data-scene="cards"] .cd-card__rim { position: absolute; inset: 0; border-radius: 15px; pointer-events: none;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .35), inset 0 0 0 1px rgba(255, 255, 255, .08); }

/* the rule pills (Figma "Tag": white, 1px #d1d5db, radius 13, padding 12/20/12/16, gap 12, 22px icon, 19px Medium) */
[data-scene="cards"] .cd-tag { position: absolute; display: flex; align-items: center; gap: 12px;
  padding: 12px 20px 12px 16px; background: #fff; border: 1px solid #d1d5db; border-radius: 13px;
  font-size: 19px; font-weight: 500; line-height: normal; color: #041818; white-space: nowrap;
  will-change: transform, opacity, filter; }
[data-scene="cards"] .cd-tag img { width: 22px; height: 22px; flex: none; }
