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

[data-accordion-icon].is-open {
    transform: rotate(45deg);
}

.gradient-spine-timeline__line {
    width: 2px;
    left: 50%;
    transform: translateX(-50%);
}

.gradient-spine-timeline__events > * + * {
    margin-top: 2rem;
}

.gradient-spine-timeline__dot {
    top: 2rem;
    left: 50%;
    transform: translateX(-50%);
}

.gradient-spine-timeline__dot-ring {
    width: 1.5rem;
    height: 1.5rem;
}

.gradient-spine-timeline__dot-inner {
    width: 0.375rem;
    height: 0.375rem;
}

.gradient-spine-timeline__dot-mobile {
    width: 1.5rem;
    height: 1.5rem;
}

.gradient-spine-timeline__icon {
    width: 3rem;
    height: 3rem;
}

@media (min-width: 1024px) {
    .gradient-spine-timeline__col--reverse {
        margin-right: 0;
        margin-left: auto;
        padding-right: 0;
        padding-left: 3rem;
    }
}

@media (min-width: 992px) {
    .gradient-spine-timeline__col--reverse {
        margin-inline-start: auto;
        margin-inline-end: 0;
        padding-inline-end: 0;
        padding-inline-start: 1.5rem;
    }
}

/* values v26 - full-bleed alternating panels */
.values-editorial__panel {
    opacity: 1;
    transform: translateY(0);
}

.values-editorial__panel.is-revealed {
    animation: values-editorial-reveal 700ms ease-out both;
}

.values-editorial__corner-shape {
    clip-path: polygon(100% 0, 100% 100%, 0 0);
}

@keyframes values-editorial-reveal {
    from {
        opacity: 0.4;
        transform: translateY(24px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (prefers-reduced-motion: reduce) {
    .values-editorial__panel.is-revealed {
        animation: none;
    }
}

/* team v19 — masonry with corner dots */
.team-masonry__media {
  height: 16rem;
}

.team-masonry__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.team-masonry__card-accent {
  width: 0.25rem;
  z-index: 1;
}

.team-masonry__decor {
  position: absolute;
  width: 120px;
  height: 120px;
  border-radius: 50%;
  opacity: 0.08;
  pointer-events: none;
}

.team-masonry__decor--top-left {
  top: -40px;
  left: -40px;
  background-color: currentColor;
}

.team-masonry__decor--bottom-right {
  bottom: -40px;
  right: -40px;
  background-color: currentColor;
}

@media (max-width: 768px) {
  .team-masonry__decor {
    width: 80px;
    height: 80px;
  }
}

