.intro-animated-gradient__root {
    padding-top: clamp(4rem, 12vw, 10rem);
    padding-bottom: clamp(4rem, 12vw, 10rem);
    min-height: min(32rem, 85vh);
}

@keyframes intro-animated-gradient-spin {
    to {
        transform: rotate(360deg);
    }
}

.intro-animated-gradient__spin--left,
.intro-animated-gradient__spin--right {
    width: 85%;
    height: 85%;
    top: 7.5%;
    animation-name: intro-animated-gradient-spin;
    animation-timing-function: linear;
    animation-iteration-count: infinite;
    transform-origin: 50% 50%;
}

.intro-animated-gradient__spin--left {
    left: -18%;
    animation-duration: 48s;
}

.intro-animated-gradient__spin--right {
    right: -18%;
    animation-duration: 60s;
    animation-direction: reverse;
}

.intro-animated-gradient__area {
    max-width: 48rem;
}


.copy-document__body-stack-gap {
    gap: 4rem;
}

.content-flow-gap {
    gap: 4rem;
}

.content-grid-gap {
    gap: 2rem;
}

.content-prose-measure {
    max-width: 48rem;
    margin-left: auto;
    margin-right: auto;
    width: 100%;
}

.content-article-frame {
    max-width: 56rem;
    margin-left: auto;
    margin-right: auto;
    width: 100%;
}

.content-cta__lift { transition: transform 150ms ease; }
.content-cta__lift:hover { transform: translateY(-2px); }

.content-col-grow {
    flex: 1 1 0%;
    min-width: 0;
}

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

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

/* tenet-orbit — layout, sizes, shapes and motion only (colours live in the template) */

.tenet-orbit__eyebrow,
.tenet-orbit__micro {
    letter-spacing: 0.2em;
}

.tenet-orbit__statement,
.tenet-orbit__figure {
    letter-spacing: -0.03em;
}

.tenet-orbit__micro {
    font-size: 0.75rem;
    line-height: 1rem;
}

.tenet-orbit__card,
.tenet-orbit__photo {
    min-height: 20rem;
}

.tenet-orbit__img {
    position: absolute;
    inset: 0;
    object-fit: cover;
}

.tenet-orbit__tick {
    width: 0.375rem;
    height: 0.375rem;
}

/* abstract orbit chart — decorative only */
.tenet-orbit__viz {
    width: 100%;
    max-width: 15rem;
    aspect-ratio: 1 / 1;
}

.tenet-orbit__ring,
.tenet-orbit__track {
    position: absolute;
}

.tenet-orbit__ring--outer,
.tenet-orbit__track--outer { inset: 2%; }

.tenet-orbit__ring--mid,
.tenet-orbit__track--mid { inset: 18%; }

.tenet-orbit__ring--inner,
.tenet-orbit__track--inner { inset: 33%; }

.tenet-orbit__track--outer { animation: tenet-orbit-spin 14s linear infinite; }
.tenet-orbit__track--mid { animation: tenet-orbit-spin 9s linear -3s infinite reverse; }
.tenet-orbit__track--inner { animation: tenet-orbit-spin 5.5s linear -3.6s infinite; }

.tenet-orbit__satellite {
    position: absolute;
    top: 0;
    left: 50%;
    width: 0.625rem;
    height: 0.625rem;
    margin: -0.3125rem 0 0 -0.3125rem;
}

.tenet-orbit__satellite--lg {
    width: 0.875rem;
    height: 0.875rem;
    margin: -0.4375rem 0 0 -0.4375rem;
}

.tenet-orbit__satellite--sm {
    width: 0.5rem;
    height: 0.5rem;
    margin: -0.25rem 0 0 -0.25rem;
}

.tenet-orbit__core {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 1.75rem;
    height: 1.75rem;
    margin: -0.875rem 0 0 -0.875rem;
    animation: tenet-orbit-breathe 3.6s ease-in-out infinite;
}

@keyframes tenet-orbit-spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

@keyframes tenet-orbit-breathe {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.2); }
}

@media (prefers-reduced-motion: reduce) {
    .tenet-orbit__track,
    .tenet-orbit__core {
        animation: none;
    }
}

@media (min-width: 1024px) {
    .tenet-orbit__card,
    .tenet-orbit__photo {
        min-height: 24rem;
    }

    .tenet-orbit__viz {
        max-width: 18rem;
    }
}

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

/* content companion — hairline width for BS decor */
.content-companion__hair {
    width: 3rem;
}

/* numeric index column width on small screens */
.content-companion__index {
    min-width: 0;
}

.content-companion__index-digit {
    font-variant-numeric: tabular-nums;
}

/* gallery v17 — diagonal cascade ribbon.
   Geometry shared by both CSS frameworks (Bootstrap has no clip-path / aspect utilities). */
.gallery-cascade__section {
    padding-top: 6rem;
    padding-bottom: 6rem;
}

.mxw-2xl {
    max-width: 42rem !important;
}

.gallery-cascade__head {
    margin-bottom: 4rem;
}

.gallery-cascade__title {
    font-size: 1.875rem;
    margin-bottom: 0.75rem;
}

.gallery-cascade__lead {
    font-size: 1.125rem;
}

.gallery-cascade__row {
    flex-direction: column;
    gap: 1.5rem;
}

.gallery-cascade__col {
    min-width: 0;
}

.gallery-cascade__img {
    transition: transform 500ms ease;
}

/* hover zoom — `:where()` keeps specificity at 0-1-0 so Tailwind's hover:scale-110 wins there */
:where(.gallery-cascade__img):hover {
    transform: scale(1.1);
}

@media (min-width: 640px) {
    .gallery-cascade__row {
        flex-direction: row;
        gap: 0;
    }
}

@media (min-width: 768px) {
    .gallery-cascade__title {
        font-size: 2.25rem;
    }
}

/* gallery v17 — diagonal cascade ribbon (clip-path + staggered offsets have no BS analog) */
.gallery-cascade__media {
    aspect-ratio: 3 / 4;
    transition: clip-path 300ms ease;
}

@media (min-width: 640px) {
    [data-cascade-pos] {
        transition: transform 300ms ease;
    }

    [data-cascade-pos="0"] {
        transform: translateY(0);
    }

    [data-cascade-pos="0"] .gallery-cascade__media {
        clip-path: polygon(0 0, 100% 0, 100% 88%, 0 100%);
    }

    [data-cascade-pos="1"] {
        transform: translateY(1.75rem);
    }

    [data-cascade-pos="1"] .gallery-cascade__media {
        clip-path: polygon(0 12%, 100% 0, 100% 100%, 0 88%);
    }

    [data-cascade-pos="2"] {
        transform: translateY(-1.25rem);
    }

    [data-cascade-pos="2"] .gallery-cascade__media {
        clip-path: polygon(0 0, 100% 12%, 100% 88%, 0 100%);
    }

    [data-cascade-pos="3"] {
        transform: translateY(2.25rem);
    }

    [data-cascade-pos="3"] .gallery-cascade__media {
        clip-path: polygon(0 12%, 100% 0, 100% 100%, 0 88%);
    }

    [data-cascade-pos]:hover {
        transform: translateY(0);
    }

    [data-cascade-pos]:hover .gallery-cascade__media {
        clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
    }
}


.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;
    }
}

.content-margin-notes__aside {
    align-self: start;
}

@media (min-width: 992px) {
    .content-margin-notes__aside {
        position: sticky;
        top: 2rem;
    }
}

