/* Nth Tap card artwork (used by /shop and the homepage gallery). Sizes are in cqw so cards scale. */
.ntc {
  position: relative; display: block; width: 100%; aspect-ratio: 85.6 / 54; border-radius: 4.6% / 7.3%; overflow: hidden;
  background: var(--bg); color: var(--solid); container-type: inline-size; isolation: isolate;
  font-family: Inter, system-ui, sans-serif; text-align: left;
  box-shadow: 0 34px 60px -28px rgba(0,0,0,.85), inset 0 0 0 1px rgba(255,255,255,.07);
}
.ntc.light { box-shadow: 0 34px 60px -28px rgba(0,0,0,.6), inset 0 0 0 1px rgba(0,0,0,.06); }
/* Soft sheen across the surface */
.ntc::after { content: ""; position: absolute; inset: 0; z-index: 5; pointer-events: none; background: linear-gradient(115deg, transparent 35%, rgba(255,255,255,.08) 48%, transparent 60%); }
.ntc.light::after { background: linear-gradient(115deg, transparent 35%, rgba(255,255,255,.55) 48%, transparent 60%); }
.ntc .fx { background: var(--foil); -webkit-background-clip: text; background-clip: text; color: transparent; }
.ntc .serif { font-family: 'Playfair Display', Georgia, serif; }
.ntc .script { font-family: 'Great Vibes', cursive; font-weight: 400; }
.ntc .disp { font-family: 'Unbounded', Inter, sans-serif; }
.ntc .sans { font-family: Inter, system-ui, sans-serif; }
.ntc .caps { text-transform: uppercase; letter-spacing: .26em; }
.ntc .ln { display: block; background: var(--foil); }
.ntc .a { position: absolute; }
.ntc .c { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 7cqw; }
.ntc .art { inset: 0; width: 100%; height: 100%; color: var(--solid); opacity: .7; pointer-events: none; }
.ntc .frame { color: var(--solid); }
.ntc .pill { padding: 1.2cqw 3cqw; border: .3cqw solid var(--solid); border-radius: 999px; }
.ntc .outline-letter { color: transparent; -webkit-text-stroke: .35cqw var(--solid); opacity: .55; }
.ntc .qrb { display: flex; flex-direction: column; align-items: center; }
.ntc .qr-frame { padding: 1.6cqw; border: .25cqw solid var(--solid); border-radius: 1.6cqw; line-height: 0; }
.ntc .qr { width: 21cqw; height: 21cqw; color: var(--solid); }
.ntc .nfc { width: 3.6cqw; height: 3.6cqw; color: var(--solid); }
.ntc .foil-block { background: var(--foil); }
.ntc .block-ink { background: var(--bg); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* "Nth Tap" wordmark, printed in the card's single foil colour (dark ink where it sits on a foil panel) */
.ntc .lg { display: block; flex: none; aspect-ratio: 988 / 285; background: var(--foil); -webkit-mask: url(/assets/nth-wordmark-mono.png) center / contain no-repeat; mask: url(/assets/nth-wordmark-mono.png) center / contain no-repeat; }
.ntc .foil-block .lg { background: var(--bg); }

/* Foil sheen: a slow band of light crosses the card now and then (hero and shop preview only) */
.ntc.shine::after { background: linear-gradient(110deg, transparent 38%, rgba(255,255,255,.16) 50%, transparent 62%) no-repeat; background-size: 260% 100%; animation: ntcSheen 7s ease-in-out infinite; }
.ntc.shine.light::after { background-image: linear-gradient(110deg, transparent 38%, rgba(255,255,255,.7) 50%, transparent 62%); }
@keyframes ntcSheen { 0%, 55% { background-position: 130% 0; } 100% { background-position: -30% 0; } }
@media (prefers-reduced-motion: reduce) { .ntc.shine::after { animation: none; } }
