/* process film — card image fit */
.process-film__img-wrap {
    aspect-ratio: 4 / 5;
    overflow: hidden;
}

.process-film__img {
    object-fit: cover;
    width: 100%;
    height: 100%;
}

/* process film — full-section animated primary blur */
.process-film__blur {
    position: absolute;
    border-radius: 50%;
    filter: blur(120px);
}

.process-film__blur--a {
    width: 75%;
    height: 85%;
    top: -25%;
    left: -20%;
    animation: process-film-blur-drift-a 10s ease-in-out infinite;
}

.process-film__blur--b {
    width: 70%;
    height: 80%;
    top: 0;
    right: -25%;
    animation: process-film-blur-drift-b 12s ease-in-out infinite;
}

.process-film__blur--c {
    width: 80%;
    height: 90%;
    bottom: -30%;
    left: 5%;
    animation: process-film-blur-drift-c 14s ease-in-out infinite;
}

.process-film__blur--d {
    width: 65%;
    height: 75%;
    top: 25%;
    left: 25%;
    animation: process-film-blur-drift-d 11s ease-in-out infinite;
}

.process-film__blur--delay {
    animation-delay: 2.5s;
}

@keyframes process-film-blur-drift-a {
    0%,
    100% {
        transform: translate(0, 0) scale(1);
        opacity: 0.75;
    }

    50% {
        transform: translate(8%, 6%) scale(1.08);
        opacity: 1;
    }
}

@keyframes process-film-blur-drift-b {
    0%,
    100% {
        transform: translate(0, 0) scale(1);
        opacity: 0.7;
    }

    50% {
        transform: translate(-6%, 8%) scale(1.06);
        opacity: 0.95;
    }
}

@keyframes process-film-blur-drift-c {
    0%,
    100% {
        transform: translate(0, 0) scale(1);
        opacity: 0.65;
    }

    50% {
        transform: translate(5%, -6%) scale(1.1);
        opacity: 0.9;
    }
}

@keyframes process-film-blur-drift-d {
    0%,
    100% {
        transform: translate(0, 0) scale(1);
        opacity: 0.6;
    }

    50% {
        transform: translate(-4%, 5%) scale(1.07);
        opacity: 0.85;
    }
}

@media (prefers-reduced-motion: reduce) {
    .process-film__blur {
        animation: none;
    }
}

.maxim-hud__grid {
    background-image:
        linear-gradient(currentColor 1px, transparent 1px),
        linear-gradient(90deg, currentColor 1px, transparent 1px);
    background-size: 40px 40px;
}

.maxim-hud__bracket {
    width: 1.5rem;
    height: 1.5rem;
}

.maxim-hud__icon-box {
    width: 3rem;
    height: 3rem;
}

/* quote v19 — weirdcore single focus: progress bar, sunburst, pulsing rings, annotation panel */

.quote-weirdcore__progress-fill {
    transform-origin: left center;
    transform: scaleX(0);
    transition: transform 120ms linear;
}

.quote-weirdcore__lead {
    font-variant: small-caps;
    letter-spacing: 0.04em;
}

.quote-weirdcore__stage {
    min-height: 18rem;
}

.quote-weirdcore__rays {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.quote-weirdcore__ring {
    position: absolute;
    top: 50%;
    left: 50%;
    border-radius: 9999px;
    transform: translate(-50%, -50%);
    pointer-events: none;
}
.quote-weirdcore__ring--1 {
    width: 8rem;
    height: 8rem;
    animation: quoteWeirdcorePulse 3s ease-out infinite;
}
.quote-weirdcore__ring--2 {
    width: 11rem;
    height: 11rem;
    animation: quoteWeirdcorePulse 3s ease-out infinite 0.6s;
}
.quote-weirdcore__ring--3 {
    width: 14rem;
    height: 14rem;
    animation: quoteWeirdcorePulse 3s ease-out infinite 1.2s;
}
@keyframes quoteWeirdcorePulse {
    0% { transform: translate(-50%, -50%) scale(0.85); opacity: 0.7; }
    70% { opacity: 0.15; }
    100% { transform: translate(-50%, -50%) scale(1.15); opacity: 0; }
}

.quote-weirdcore__frame {
    width: min(100%, 22rem);
}
.quote-weirdcore__dot {
    width: 0.5rem;
    height: 0.5rem;
    flex: none;
}
.quote-weirdcore__panel-body {
    min-height: 14rem;
}
.quote-weirdcore__panel-grid {
    opacity: 0.55;
}
.quote-weirdcore__panel-mark {
    margin-top: 0.125rem;
}
.quote-weirdcore__panel-badge {
    letter-spacing: 0.08em;
}
/* hover + focus affordances (layout/outline via theme token) */
@media (hover: hover) {
    .quote-weirdcore-root [role="listitem"]:hover,
    .quote-weirdcore-root article:hover,
    .quote-weirdcore-root [class*="quote-weirdcore__card"]:hover,
    .quote-weirdcore-root .quote-weirdcore__book:hover,
    .quote-weirdcore-root .quote-weirdcore__step:hover,
    .quote-weirdcore-root .quote-weirdcore__index-card:hover,
    .quote-weirdcore-root .quote-weirdcore__pill:hover,
    .quote-weirdcore-root .quote-weirdcore__item:hover {
        transform: translateY(-0.125rem);
    }
}

.quote-weirdcore-root [role="listitem"],
.quote-weirdcore-root article,
.quote-weirdcore-root [class*="quote-weirdcore__card"],
.quote-weirdcore-root .quote-weirdcore__book,
.quote-weirdcore-root .quote-weirdcore__step,
.quote-weirdcore-root .quote-weirdcore__index-card,
.quote-weirdcore-root .quote-weirdcore__pill {
    transition: transform 200ms ease;
}

.quote-weirdcore-root a:focus-visible,
.quote-weirdcore-root button:focus-visible,
.quote-weirdcore-root [tabindex="0"]:focus-visible,
.quote-weirdcore-root input:focus-visible,
.quote-weirdcore-root summary:focus-visible,
.quote-weirdcore-root [role="slider"]:focus-visible {
    outline: 2px solid var(--bs-primary);
    outline-offset: 2px;
}

@media (hover: hover) {
    .quote-weirdcore-root button:hover,
    .quote-weirdcore-root a:hover,
    .quote-weirdcore-root summary:hover {
        opacity: 0.92;
    }
}

/* advantages — trust dashboard: layout, sizes and transforms only (no colors) */
.trust-dashboard__eyebrow {
    font-size: 0.875rem;
    letter-spacing: 0.2em;
}

.trust-dashboard__heading {
    letter-spacing: -0.025em;
}

.trust-dashboard__toggle {
    appearance: none;
    -webkit-appearance: none;
    font: inherit;
    cursor: pointer;
    outline-offset: -2px;
}

.trust-dashboard__num {
    min-width: 2rem;
}

.trust-dashboard__plus {
    transition: transform 200ms ease;
}

.trust-dashboard__item.is-open .trust-dashboard__plus {
    transform: rotate(45deg);
}

.trust-dashboard__panel {
    padding-left: 3.25rem;
}

.trust-dashboard__cloud {
    filter: blur(2.5rem);
    pointer-events: none;
}

.trust-dashboard__cloud--a { width: 16rem; height: 9rem; transform: translate(-4rem, -2rem); }
.trust-dashboard__cloud--b { width: 20rem; height: 11rem; transform: translate(60%, 160%); }

.trust-dashboard__heatmap {
    display: grid;
    grid-template-columns: repeat(7, minmax(0, 1fr));
    gap: 0.25rem;
}

.trust-dashboard__heat {
    aspect-ratio: 1.5 / 1;
    animation: trust-heat-pulse 2.8s ease-in-out infinite;
    will-change: opacity, transform;
}

.trust-dashboard__heat:nth-child(7n + 1) { animation-delay: 0s; }
.trust-dashboard__heat:nth-child(7n + 2) { animation-delay: 0.2s; }
.trust-dashboard__heat:nth-child(7n + 3) { animation-delay: 0.4s; }
.trust-dashboard__heat:nth-child(7n + 4) { animation-delay: 0.6s; }
.trust-dashboard__heat:nth-child(7n + 5) { animation-delay: 0.8s; }
.trust-dashboard__heat:nth-child(7n + 6) { animation-delay: 1s; }
.trust-dashboard__heat:nth-child(7n + 7) { animation-delay: 1.2s; }

@keyframes trust-heat-pulse {
    0%, 100% {
        opacity: 0.55;
        transform: scale(0.94);
    }
    50% {
        opacity: 1;
        transform: scale(1);
    }
}

.trust-dashboard__tiny {
    font-size: 0.6875rem;
    line-height: 1rem;
}

.trust-dashboard__icon {
    width: 2rem;
    height: 2rem;
    font-size: 0.75rem;
}

.trust-dashboard__insight-body {
    min-width: 0;
}

.trust-dashboard__chart {
    height: 8.5rem;
    overflow: visible;
}

.trust-dashboard__chart-fill {
    animation: trust-chart-fill 3.6s ease-in-out infinite;
    transform-origin: center bottom;
}

.trust-dashboard__chart-line {
    stroke-dasharray: 520;
    stroke-dashoffset: 0;
    animation: trust-chart-draw 4.8s ease-in-out infinite;
}

.trust-dashboard__chart-guide {
    animation: trust-chart-guide 4.8s ease-in-out infinite;
}

.trust-dashboard__chart-mark,
.trust-dashboard__chart-dot {
    animation: trust-chart-mark 4.8s ease-in-out infinite;
}

@keyframes trust-chart-fill {
    0%, 100% {
        opacity: 0.7;
        transform: scaleY(0.92);
    }
    50% {
        opacity: 1;
        transform: scaleY(1);
    }
}

@keyframes trust-chart-draw {
    0% {
        stroke-dashoffset: 520;
        opacity: 0.35;
    }
    35% {
        stroke-dashoffset: 0;
        opacity: 1;
    }
    70%, 100% {
        stroke-dashoffset: 0;
        opacity: 1;
    }
}

@keyframes trust-chart-guide {
    0%, 20% { opacity: 0; }
    45%, 100% { opacity: 1; }
}

@keyframes trust-chart-mark {
    0%, 30% {
        opacity: 0;
        transform: translateY(6px);
    }
    45%, 100% {
        opacity: 1;
        transform: translateY(0);
    }
}

.trust-dashboard__heatmap > span {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

@media (prefers-reduced-motion: reduce) {
    .trust-dashboard__heat,
    .trust-dashboard__chart-fill,
    .trust-dashboard__chart-line,
    .trust-dashboard__chart-guide,
    .trust-dashboard__chart-mark,
    .trust-dashboard__chart-dot {
        animation: none;
        opacity: 1;
        transform: none;
        stroke-dashoffset: 0;
    }
}

/* utility classes are renamed in production builds, so closed panels rely on the hidden attribute */
.trust-dashboard__panel[hidden] { display: none !important; }

/* month labels under the heatmap: one line each, trimmed if long, so neighbours never collide */
.trust-dashboard__heatmap.trust-dashboard__tiny > span { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

