/* v27 - folded paper corner (clip-path fold has no TW/BS utility) */
[data-fold-card] {
    clip-path: polygon(0 0, 100% 0, 100% 100%, 1.25rem 100%, 0 calc(100% - 1.25rem));
    transition: clip-path 200ms ease;
}

[data-fold-card]:hover {
    clip-path: polygon(0 0, 100% 0, 100% 100%, 0.5rem 100%, 0 calc(100% - 0.5rem));
}

/* process journal — layout, image crop, hover motion (no colors) */
.process-journal__photo {
    aspect-ratio: 1 / 1;
    object-fit: cover;
}
.process-journal__marker {
    width: 0.75rem;
    height: 0.75rem;
}
.process-journal__arrow {
    width: 2.75rem;
    height: 2.75rem;
    flex-shrink: 0;
    text-decoration: none;
    transition: transform 200ms ease;
}
.process-journal__pill {
    text-decoration: none;
    transition: transform 200ms ease;
}
.process-journal__arrow:hover,
.process-journal__pill:hover {
    transform: translateY(-1px);
}

.split-screen-halo {
    width: 600px;
    height: 600px;
}

.split-screen-halo-soft {
    width: 500px;
    height: 500px;
}

.split-screen-beam-main {
    width: 24rem;
    height: 1px;
}

.split-screen-beam-side {
    width: 20rem;
    height: 1px;
}

.split-screen-frame {
    width: 6rem;
    height: 6rem;
}

.split-screen-orb {
    width: 4rem;
    height: 4rem;
}

.split-screen-marker {
    width: 2rem;
    height: 2rem;
}

.split-screen-emblem {
    width: 5rem;
    min-width: 5rem;
    height: 5rem;
    min-height: 5rem;
    box-sizing: border-box;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

@media (min-width: 1024px) {
    .split-screen-principle--odd {
        margin-left: 2rem;
    }
}

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

/* FAQ v3 — JS visibility hook */
.answers-solver-solution-tucked {
    display: none;
}

.answers-solver__icon-circle {
    width: 2rem;
    height: 2rem;
}

.answers-solver__piece--shift:hover { transform: scale(1.05); transition: transform .2s ease; }

