/* 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; }
}

.services-bento__serif,
[data-serif] {
    font-family: Georgia, "Times New Roman", Times, serif;
}

.services-bento__body {
    min-width: 0;
}

.services-bento__corner {
    position: absolute;
    top: -0.5rem;
    right: 1.5rem;
    width: 1rem;
    height: 1rem;
    border: 2px solid currentColor;
    transform: rotate(45deg);
    pointer-events: none;
}

.services-bento__chevron {
    transition: transform 200ms ease;
}
.services-bento__toggle[aria-expanded="true"] .services-bento__chevron {
    transform: rotate(180deg);
}

/* v21 editorial — vertical sidebar title */
.perks-editorial-aside__sidebar {
    width: 3rem;
    flex-shrink: 0;
}

.perks-editorial-aside__title-wrap {
    position: sticky;
    top: 6rem;
    height: calc(100vh - 8rem);
    max-height: 32rem;
}

.perks-editorial-aside__h2 {
    writing-mode: vertical-rl;
    text-orientation: mixed;
    transform: rotate(180deg);
    white-space: nowrap;
}

.perks-editorial-aside__rule {
    min-height: 2rem;
    flex: 1 1 auto;
    width: 1px;
}

/* numbered item — prevent selection */
.perks-editorial-aside__num {
    user-select: none;
    -webkit-user-select: none;
    min-width: 3.5rem;
}

/* mobile: stack layout, show h2 horizontally */
@media (max-width: 767px) {
    .perks-editorial-aside__sidebar {
        width: 100%;
    }

    .perks-editorial-aside__title-wrap {
        position: static;
        height: auto;
        flex-direction: row !important;
        align-items: center;
        justify-content: flex-start;
    }

    .perks-editorial-aside__h2 {
        writing-mode: horizontal-tb;
        transform: none;
        white-space: normal;
    }

    .perks-editorial-aside__rule {
        display: none;
    }
}

