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

/* Values v23 - horizontal scroll-snap carousel (layout/size only, no colors) */

.values-airbnb__track {
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    -ms-overflow-style: none;
    list-style: none;
}

.values-airbnb__track::-webkit-scrollbar {
    display: none;
}

.values-airbnb__nav-btn {
    width: 2.75rem;
    height: 2.75rem;
    padding: 0;
    flex-shrink: 0;
}

.values-airbnb__card {
    scroll-snap-align: start;
    flex: 0 0 18rem;
    width: 18rem;
    max-width: 18rem;
    list-style: none;
}

@media (min-width: 576px) {
    .values-airbnb__card {
        flex: 0 0 20rem;
        width: 20rem;
        max-width: 20rem;
    }
}

.values-airbnb__dot {
    width: 0.625rem;
    height: 0.625rem;
    padding: 0;
    flex-shrink: 0;
    transform: scale(1);
    transition: transform 200ms ease;
}

.values-airbnb__dot.is-active {
    transform: scale(1.6);
}

.classic-rail-timeline__line {
    width: 2px;
    left: 2rem;
}

@media (min-width: 768px) {
    .classic-rail-timeline__line {
        left: 50%;
        transform: translateX(-50%);
    }
}

.classic-rail-timeline__dot {
    width: 1rem;
    height: 1rem;
    left: 2rem;
    top: 50%;
    transform: translateY(-50%);
}

@media (min-width: 768px) {
    .classic-rail-timeline__dot {
        left: 50%;
        transform: translate(-50%, -50%);
    }
}

.classic-rail-timeline__content {
    margin-left: 5rem;
}

@media (min-width: 768px) {
    .classic-rail-timeline__content {
        margin-left: 0;
        width: 50%;
    }

    .classic-rail-timeline__content--start {
        padding-right: 2.5rem;
    }

    .classic-rail-timeline__content--end {
        padding-left: 2.5rem;
    }

    .classic-rail-timeline__row--reverse {
        flex-direction: row-reverse;
    }
}

.diagonal-zigzag-split__portrait {
    width: 8rem;
    height: 8rem;
}

.diagonal-zigzag-split__portrait--tilt-left {
    transform: rotate(-5deg);
}

.diagonal-zigzag-split__portrait--tilt-right {
    transform: rotate(5deg);
}

.diagonal-zigzag-split__portrait:hover {
    transform: rotate(0);
}

.diagonal-zigzag-split__beacon {
    width: 2rem;
    height: 2rem;
    bottom: -0.25rem;
    right: -0.25rem;
}

.diagonal-zigzag-split__beacon-dot {
    width: 0.75rem;
    height: 0.75rem;
}

.diagonal-zigzag-split__frame {
    width: 4rem;
    height: 4rem;
}

.diagonal-zigzag-split__frame--tl {
    top: 0;
    left: 0;
}

.diagonal-zigzag-split__frame--br {
    bottom: 0;
    right: 0;
}

.diagonal-zigzag-split__frame--rotate-45 {
    transform: rotate(45deg);
}

.diagonal-zigzag-split__frame--rotate-minus-45 {
    transform: rotate(-45deg);
}

.diagonal-zigzag-split__wash {
    width: 8rem;
}

.diagonal-zigzag-split__corner {
    width: 5rem;
    height: 5rem;
}

.diagonal-zigzag-split__min-shrink {
    min-width: 0;
}

@media (min-width: 768px) {
    .diagonal-zigzag-split__band--reverse {
        flex-direction: row-reverse;
    }

    .diagonal-zigzag-split__portrait {
        width: 10rem;
        height: 10rem;
    }
}

