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

.ethos-mosaic__eyebrow {
    letter-spacing: 0.2em;
}

.ethos-mosaic__statement,
.ethos-mosaic__figure {
    letter-spacing: -0.03em;
}

.ethos-mosaic__micro {
    font-size: 0.75rem;
    line-height: 1rem;
}

.ethos-mosaic__photo {
    aspect-ratio: 16 / 9;
}

.ethos-mosaic__img {
    position: absolute;
    inset: 0;
    object-fit: cover;
}

.ethos-mosaic__card {
    min-height: 13rem;
}

.ethos-mosaic__dot {
    width: 0.375rem;
    height: 0.375rem;
}

.ethos-mosaic__rule {
    border-top-style: dashed;
}

/* abstract looping donut — decorative only */
.ethos-mosaic__ring {
    max-width: 9rem;
    overflow: visible;
}

.ethos-mosaic__arc {
    transform: rotate(-90deg);
    transform-box: fill-box;
    transform-origin: center;
    stroke-dasharray: 100;
    stroke-dashoffset: 100;
    animation: ethos-mosaic-sweep 5s ease-in-out infinite;
}

.ethos-mosaic__orbit {
    transform-box: fill-box;
    transform-origin: center;
    animation: ethos-mosaic-spin 14s linear infinite;
}

.ethos-mosaic__core {
    transform-box: fill-box;
    transform-origin: center;
    animation: ethos-mosaic-beat 5s ease-in-out infinite;
}

@keyframes ethos-mosaic-sweep {
    0% { stroke-dashoffset: 100; opacity: 1; }
    60% { stroke-dashoffset: 22; opacity: 1; }
    82% { stroke-dashoffset: 22; opacity: 1; }
    95% { stroke-dashoffset: 22; opacity: 0; }
    100% { stroke-dashoffset: 100; opacity: 0; }
}

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

@keyframes ethos-mosaic-beat {
    0%, 55% { transform: scale(1); }
    65% { transform: scale(1.6); }
    80%, 100% { transform: scale(1); }
}

@media (prefers-reduced-motion: reduce) {
    .ethos-mosaic__arc,
    .ethos-mosaic__orbit,
    .ethos-mosaic__core {
        animation: none;
    }

    .ethos-mosaic__arc { stroke-dashoffset: 22; }
}

@media (min-width: 768px) {
    .ethos-mosaic__card {
        min-height: 17rem;
    }

    .ethos-mosaic__ring {
        max-width: 11rem;
    }
}

.neon-circuit-timeline__circuit-bg {
    background-image:
        repeating-linear-gradient(0deg, transparent, transparent 39px, currentColor 39px, currentColor 40px),
        repeating-linear-gradient(90deg, transparent, transparent 39px, currentColor 39px, currentColor 40px);
}

@keyframes neon-circuit-timeline__glow-pulse {
    0%, 100% { box-shadow: 0 0 4px 2px currentColor, 0 0 12px 4px currentColor; opacity: 1; }
    50% { box-shadow: 0 0 8px 4px currentColor, 0 0 24px 8px currentColor; opacity: 0.7; }
}

.neon-circuit-timeline__node-glow {
    animation: neon-circuit-timeline__glow-pulse 2.5s ease-in-out infinite;
}

@keyframes neon-circuit-timeline__ring-expand {
    0%, 100% { transform: scale(1); opacity: 0.4; }
    50% { transform: scale(1.4); opacity: 0; }
}

.neon-circuit-timeline__ring {
    animation: neon-circuit-timeline__ring-expand 2.5s ease-in-out infinite;
}

.neon-circuit-timeline__decor-left {
    top: 50%;
    left: 25%;
    transform: translateY(-50%);
    width: 16rem;
    height: 16rem;
}

.neon-circuit-timeline__decor-right {
    top: 50%;
    right: 25%;
    transform: translateY(-50%);
    width: 16rem;
    height: 16rem;
}

.neon-circuit-timeline__accent-line {
    height: 5rem;
    width: 1px;
}

.neon-circuit-timeline__node-wrap {
    z-index: 10;
}

.neon-circuit-timeline__node {
    width: 1rem;
    height: 1rem;
}

.neon-circuit-timeline__ring-size {
    width: 2rem;
    height: 2rem;
}

.neon-circuit-timeline__card-width {
    max-width: 11rem;
}

@media (min-width: 768px) {
    .neon-circuit-timeline__item--upper .neon-circuit-timeline__box,
    .neon-circuit-timeline__accent-line--first {
        order: -1;
    }

    .neon-circuit-timeline__item--lower .neon-circuit-timeline__box,
    .neon-circuit-timeline__accent-line--last {
        order: 1;
    }
}

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

.timeline-emblem {
    width: 5rem;
    height: 5rem;
}

.timeline-spark {
    width: 0.75rem;
    height: 0.75rem;
}

.timeline-cloud-left {
    width: 16rem;
    height: 16rem;
}

.timeline-cloud-right {
    width: 20rem;
    height: 20rem;
    animation-delay: 1s;
}

.timeline-cloud-center {
    width: 24rem;
    height: 24rem;
    animation-delay: 2s;
}

.timeline-outline-square {
    width: 5rem;
    height: 5rem;
    animation-duration: 3s;
}

.timeline-outline-orb {
    width: 4rem;
    height: 4rem;
    animation-duration: 4s;
    animation-delay: 1s;
}

.timeline-halo-start {
    width: 8rem;
    height: 8rem;
    animation-duration: 20s;
}

.timeline-halo-end {
    width: 10rem;
    height: 10rem;
    animation-duration: 25s;
    animation-direction: reverse;
}

.timeline-spark-side {
    animation-delay: 0.5s;
}

.timeline-spark-center {
    animation-delay: 1s;
}

.timeline-cloud-left,
.timeline-cloud-right,
.timeline-cloud-center {
    animation-name: timeline-cloud__pulse;
    animation-timing-function: ease-in-out;
    animation-iteration-count: infinite;
}

.timeline-outline-square,
.timeline-outline-orb {
    animation-name: timeline-outline__bounce;
    animation-timing-function: ease-in-out;
    animation-iteration-count: infinite;
}

.timeline-halo-start,
.timeline-halo-end {
    animation-name: timeline-halo__spin;
    animation-timing-function: linear;
    animation-iteration-count: infinite;
}

.timeline-spark-top,
.timeline-spark-side,
.timeline-spark-center {
    animation-name: timeline-spark__ping;
    animation-timing-function: cubic-bezier(0, 0, 0.2, 1);
    animation-iteration-count: infinite;
}

@keyframes timeline-cloud__pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

@keyframes timeline-outline__bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-25%); }
}

@keyframes timeline-halo__spin {
    to { transform: rotate(360deg); }
}

@keyframes timeline-spark__ping {
    0% { transform: scale(1); opacity: 1; }
    75%, 100% { transform: scale(2); opacity: 0; }
}

