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

/* anchor-creed — layout, sizes and motion only (colours live in the template) */

.anchor-creed__eyebrow {
    letter-spacing: 0.2em;
}

.anchor-creed__statement,
.anchor-creed__figure {
    letter-spacing: -0.03em;
}

.anchor-creed__micro {
    font-size: 0.875rem;
    line-height: 1.25rem;
}

.anchor-creed__caption {
    max-width: 34rem;
}

.anchor-creed__photo {
    aspect-ratio: 16 / 10;
}

.anchor-creed__img {
    position: absolute;
    inset: 0;
    object-fit: cover;
}

.anchor-creed__bullet {
    width: 0.375rem;
    height: 0.375rem;
}

/* stats row — dashed vertical dividers (colour from template border classes) */
.anchor-creed__stat {
    min-width: 0;
    overflow-wrap: anywhere;
}

.anchor-creed__stat:first-child {
    padding-left: 0;
}

.anchor-creed__stat + .anchor-creed__stat {
    border-left-width: 1px;
    border-left-style: dashed;
}

/* abstract dot-matrix — decorative diagonal wave */
.anchor-creed__matrix {
    display: grid;
    grid-template-columns: repeat(8, minmax(0, 1fr));
    row-gap: 1rem;
    column-gap: 0.5rem;
    justify-items: center;
    padding: 0.5rem 0;
}

.anchor-creed__dot {
    --anchor-creed-c: 0;
    --anchor-creed-r: 0;
    width: 0.875rem;
    height: 0.875rem;
    transform: scale(0.55);
    opacity: 0.35;
    animation: anchor-creed-wave 3.6s ease-in-out infinite;
    animation-delay: calc((var(--anchor-creed-c) + var(--anchor-creed-r)) * 0.14s);
}

.anchor-creed__dot--c2 { --anchor-creed-c: 1; }
.anchor-creed__dot--c3 { --anchor-creed-c: 2; }
.anchor-creed__dot--c4 { --anchor-creed-c: 3; }
.anchor-creed__dot--c5 { --anchor-creed-c: 4; }
.anchor-creed__dot--c6 { --anchor-creed-c: 5; }
.anchor-creed__dot--c7 { --anchor-creed-c: 6; }
.anchor-creed__dot--c8 { --anchor-creed-c: 7; }

.anchor-creed__dot--r2 { --anchor-creed-r: 1; }
.anchor-creed__dot--r3 { --anchor-creed-r: 2; }
.anchor-creed__dot--r4 { --anchor-creed-r: 3; }
.anchor-creed__dot--r5 { --anchor-creed-r: 4; }

@keyframes anchor-creed-wave {
    0%, 100% { transform: scale(0.55); opacity: 0.35; }
    25% { transform: scale(1.25); opacity: 1; }
    50% { transform: scale(0.8); opacity: 0.6; }
}

@media (prefers-reduced-motion: reduce) {
    .anchor-creed__dot {
        animation: none;
        transform: scale(0.85);
        opacity: 0.7;
    }
}

@media (min-width: 768px) {
    .anchor-creed__matrix {
        row-gap: 1.5rem;
    }

    .anchor-creed__dot {
        width: 1.125rem;
        height: 1.125rem;
    }
}

@media (min-width: 1024px) {
    .anchor-creed__pin {
        position: sticky;
        top: 6rem;
    }
}

.content-brief__float-square {
    width: 4rem;
    height: 4rem;
}

.content-brief__float-square--slow {
    animation: content-brief-float-slow 10s ease-in-out infinite;
}

.content-brief__float-square--fast {
    animation: content-brief-float-fast 7s ease-in-out infinite;
}

@keyframes content-brief-float-slow {
    0%,
    100% {
        transform: translateY(0) rotate(0deg);
    }

    50% {
        transform: translateY(-8px) rotate(6deg);
    }
}

@keyframes content-brief-float-fast {
    0%,
    100% {
        transform: translateY(0) rotate(0deg);
    }

    50% {
        transform: translateY(8px) rotate(-7deg);
    }
}

.masonry-grid__card--hover:hover {
    transform: scale(1.05);
}

.masonry-grid__media--xl { height: 20rem; }
.masonry-grid__media--lg { height: 16rem; }
.masonry-grid__media--md { height: 18rem; }
.masonry-grid__media--sm { height: 15rem; }

.masonry-grid__img--zoom {
    transition: transform 0.5s ease;
}
.masonry-grid__card:hover .masonry-grid__img--zoom {
    transform: scale(1.1);
}

.masonry-grid__overlay--fade {
    opacity: 0;
    transition: opacity 0.3s ease;
}
.masonry-grid__card:hover .masonry-grid__overlay--fade {
    opacity: 1;
}

.masonry-grid__badge--fade {
    opacity: 0;
    transition: opacity 0.3s ease;
}
.masonry-grid__card:hover .masonry-grid__badge--fade {
    opacity: 1;
}

.masonry-grid__panel--slide {
    transform: translateY(100%);
    transition: transform 0.3s ease;
}
.masonry-grid__card:hover .masonry-grid__panel--slide {
    transform: translateY(0);
}

.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-ledger__label {
    letter-spacing: 0.05em;
}

