.intro-bg-overlay__media {
    min-height: 100%;
}

.intro-bg-overlay__img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.intro-bg-overlay__scrim {
    pointer-events: none;
}

.intro-bg-overlay__content-box {
    max-width: 48rem;
}

.intro-bg-overlay__decor-top {
    width: 6rem;
    height: 6rem;
    top: 5rem;
    left: 2.5rem;
}

.intro-bg-overlay__decor-bottom {
    width: 8rem;
    height: 8rem;
    bottom: 5rem;
    right: 2.5rem;
}

.intro-bg-overlay__decor-mid {
    width: 4rem;
    height: 4rem;
    top: 33%;
    right: 25%;
}

.intro-bg-overlay__img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.intro-bg-overlay__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}



.passage-chapter__visual--glow:hover { transform: scale(1.05); transition: transform .2s ease; }

.passage-chapter__prompt--glow:hover { transform: scale(1.05); transition: transform .2s ease; }

.content-heading-gap {
    margin-bottom: 2rem;
}

.content-img-compact {
    display: block;
    width: 100%;
    height: 12rem;
    min-height: 12rem;
    flex-shrink: 0;
    object-fit: cover;
}
@media (min-width: 768px) {
    .content-img-compact {
        height: 14rem;
        min-height: 14rem;
    }
}

.gist-cta-hover {
    transition: background-color 0.2s ease;
}

.gist-cta-hover:hover {
    background-color: rgba(var(--bs-primary-rgb), 0.1);
}

.gist-paper {
    border-radius: 2px;
}

.gist-sq-8  { width: 2rem;   height: 2rem;   flex-shrink: 0; }
.gist-sq-10 { width: 2.5rem; height: 2.5rem; flex-shrink: 0; }
.gist-sq-12 { width: 3rem;   height: 3rem;   flex-shrink: 0; }
.gist-sq-16 { width: 4rem;   height: 4rem;   flex-shrink: 0; }
.gist-sq-20 { width: 5rem;   height: 5rem;   flex-shrink: 0; }

.gist-corner {
    width: 1.75rem;
    height: 1.75rem;
    border-color: var(--bs-primary) !important;
}

.gist-corner--top-start {
    border-top: 2px solid var(--bs-primary);
    border-left: 2px solid var(--bs-primary);
}

.gist-corner--top-end {
    border-top: 2px solid var(--bs-primary);
    border-right: 2px solid var(--bs-primary);
}

.gist-corner--bottom-start {
    border-bottom: 2px solid var(--bs-primary);
    border-left: 2px solid var(--bs-primary);
}

.gist-corner--bottom-end {
    border-bottom: 2px solid var(--bs-primary);
    border-right: 2px solid var(--bs-primary);
}

.gist-paper-lines {
    background-image: repeating-linear-gradient(
        0deg,
        transparent,
        transparent 11px,
        rgba(255, 255, 255, 0.4) 11px,
        rgba(255, 255, 255, 0.4) 12px
    );
}

.gist-meta-header {
    font-size: 0.6rem;
    letter-spacing: 0.25em;
}

.gist-field-label {
    font-size: 0.6rem;
    letter-spacing: 0.15em;
    min-width: 7.5rem;
}

.gist-note-radius {
    border-radius: 0 6px 6px 0;
}

.gist-note-rule {
    border-bottom: 4px solid var(--bs-primary);
}

.gist-divider-rule {
    height: 0.5rem;
    background-color: rgba(var(--bs-primary-rgb), 0.06);
    border-top: 2px solid rgba(var(--bs-primary-rgb), 0.35);
    border-bottom: 2px solid rgba(var(--bs-primary-rgb), 0.35);
}

.gist-seal-text {
    font-size: 0.5rem;
    letter-spacing: 0.05em;
}

.gist-footer-meta {
    font-size: 0.55rem;
    letter-spacing: 0.1em;
}

.gist-dot {
    width: 0.25rem;
    height: 0.25rem;
}

.content-quote-panel__slash {
    transform: rotate(45deg);
}

.content-rail__side {
    flex-shrink: 0;
}

@media (min-width: 1024px) {
    .content-rail__side {
        width: 8rem;
    }

    .content-rail__vertical {
        writing-mode: vertical-rl;
        text-orientation: mixed;
    }
}

/* content stack rows — animated icon tiles (TW w-20 h-20 has no BS util) */
.content-stack-rows__icon-tile {
    width: 5rem;
    height: 5rem;
}

.content-stack-rows__icon-pulse {
    animation: content-stack-rows-pulse 3.5s ease-in-out infinite;
}

.content-stack-rows__icon-tile {
    animation: content-stack-rows-float 6s ease-in-out infinite;
}

.content-stack-rows__icon-glyph {
    animation: content-stack-rows-tilt 5s ease-in-out infinite;
    transform-origin: center;
}

.content-stack-rows__icon-slot--0 .content-stack-rows__icon-pulse {
    animation-delay: 0s;
}

.content-stack-rows__icon-slot--0 .content-stack-rows__icon-tile {
    animation-delay: 0s;
}

.content-stack-rows__icon-slot--0 .content-stack-rows__icon-glyph {
    animation-delay: 0.2s;
}

.content-stack-rows__icon-slot--1 .content-stack-rows__icon-pulse {
    animation-delay: 0.8s;
}

.content-stack-rows__icon-slot--1 .content-stack-rows__icon-tile {
    animation-delay: 0.8s;
}

.content-stack-rows__icon-slot--1 .content-stack-rows__icon-glyph {
    animation-delay: 1s;
}

.content-stack-rows__icon-slot--2 .content-stack-rows__icon-pulse {
    animation-delay: 1.6s;
}

.content-stack-rows__icon-slot--2 .content-stack-rows__icon-tile {
    animation-delay: 1.6s;
}

.content-stack-rows__icon-slot--2 .content-stack-rows__icon-glyph {
    animation-delay: 1.8s;
}

@keyframes content-stack-rows-float {
    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-0.35rem);
    }
}

@keyframes content-stack-rows-pulse {
    0%,
    100% {
        transform: scale(1);
        opacity: 0.55;
    }

    50% {
        transform: scale(1.14);
        opacity: 0.2;
    }
}

@keyframes content-stack-rows-tilt {
    0%,
    100% {
        transform: rotate(0deg) scale(1);
    }

    50% {
        transform: rotate(-6deg) scale(1.06);
    }
}

@media (prefers-reduced-motion: reduce) {
    .content-stack-rows__icon-pulse,
    .content-stack-rows__icon-tile,
    .content-stack-rows__icon-glyph {
        animation: none;
    }
}

.content-img-ratio {
    display: block;
    width: 100%;
    height: 100%;
    min-width: 0;
    object-fit: cover;
    flex-shrink: 0;
}

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

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

.content-heading-gap {
    margin-bottom: 2rem;
}

.content-focus-checklist__button {
    appearance: none;
    -webkit-appearance: none;
    font: inherit;
    cursor: pointer;
    outline-offset: 0.2rem;
    transition: transform 180ms ease;
}

.content-focus-checklist__button:hover {
    transform: translateY(-0.125rem);
}

.content-focus-checklist__button.is-active {
    transform: translateX(0.25rem);
}

