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

.precept-dashboard__topo {
    background-image: repeating-radial-gradient(circle at 20% 30%, currentColor 0, transparent 2px, transparent 40px);
}

.precept-dashboard__grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

@media (min-width: 640px) {
    .precept-dashboard__grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .precept-dashboard__grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

.bench-simple-grid__portrait {
    width: 8rem;
    height: 8rem;
}

.bench-simple-grid__min-shrink {
  min-width: 0;
}

.dual-axis-node-timeline__dot {
    width: 1.5rem;
    height: 1.5rem;
}

.dual-axis-node-timeline__connector {
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 4rem;
}

