/* intro v25 — Sagmeister ticket: corner patch, spiral binding, ticket perforation, square thumb */

/* Corner accent patch → triangle */
.intro-tkt__patch {
    width: 10rem;
    height: 10rem;
    clip-path: polygon(0 0, 100% 0, 0 100%);
    opacity: 0.9;
}
.intro-tkt__spiral { height: 1rem; }
.intro-tkt__body { min-width: 0; }
.intro-tkt__close { width: 2rem; height: 2rem; }

/* Torn notebook spiral binding holes (colour from Tailwind text-*, holes via mask) */
.intro-tkt__spiral {
    -webkit-mask: radial-gradient(circle 5px at center, black 98%, transparent 100%) 0 0 / 30px 100%;
    mask: radial-gradient(circle 5px at center, black 98%, transparent 100%) 0 0 / 30px 100%;
    background: currentColor;
    opacity: 0.5;
}

/* Square cropped thumbnail */
.intro-tkt__thumb {
    width: 6rem;
    height: 6rem;
    object-fit: cover;
}

/* Ticket stub perforation (currentColor from the card text) */
.intro-tkt__ticket { transition: box-shadow 240ms ease; }
.intro-tkt__ticket::after {
    content: "";
    position: absolute;
    top: 0.75rem;
    bottom: 0.75rem;
    left: 7.5rem;
    border-left: 2px dashed currentColor;
    opacity: 0.25;
    pointer-events: none;
}
@media (max-width: 575.98px) {
    .intro-tkt__ticket::after { display: none; }
}

.gallery-flush-cards__card {
    transition: transform 0.3s ease;
}
.gallery-flush-cards__card:hover {
    transform: scale(1.05);
}
.gallery-flush-cards__img {
    height: 16rem;
}

.mosaic-varied-quote__portrait {
    width: 4rem;
    height: 4rem;
}

.stats-ladder__title { letter-spacing: -0.02em; }
.stats-ladder__medal { width: 5.5rem; height: 5.5rem; flex-shrink: 0; }
.stats-ladder__rank { opacity: 0; transform: scale(.94); transition: opacity 600ms ease, transform 700ms cubic-bezier(.34, 1.56, .64, 1); }
.stats-ladder.is-visible .stats-ladder__rank { opacity: 1; transform: none; }

.stats-ladder__row { transition: transform 900ms cubic-bezier(.65, 0, .35, 1); will-change: transform; }
.stats-ladder__track { height: .75rem; }
.stats-ladder__fill { width: 0; height: 100%; transition: width 1500ms cubic-bezier(.2, .8, .2, 1); }

@media (prefers-reduced-motion: reduce) {
    .stats-ladder__rank { opacity: 1; transform: none; transition: none; }
    .stats-ladder__row, .stats-ladder__fill { transition: none; }
}

/* wpg-hidden: utility classes are renamed in production builds, so hidden states must not rely on .hidden / .d-none alone */
.stats-ladder[hidden], .stats-ladder [hidden], .stats-ladder .hidden.d-none { display: none !important; }

