/* intro v16 — Metropolis reel: film-perforation strips, image cover, load stagger, radius morph */

/* Film-perforation edge strips: colour comes from Tailwind bg-* on the element; mask punches holes */
.intro-reel__perf {
    -webkit-mask: radial-gradient(circle at center, transparent 0 0.28rem, black 0.3rem) center / 1.5rem 2.2rem;
    mask: radial-gradient(circle at center, transparent 0 0.28rem, black 0.3rem) center / 1.5rem 2.2rem;
    z-index: 1;
}

/* Background image fills the band, keeps aspect via object-fit (no BS utility) */
.intro-reel__row {
    min-height: 18rem;
    transition: border-radius 320ms ease;
    opacity: 0;
    animation: intro-reel-rise 520ms ease forwards;
}
.intro-reel__img {
    object-fit: cover;
    object-position: center;
}

/* Border-radius morph on hover */
.intro-reel__row:hover {
    border-radius: 2.25rem 0.5rem 2.25rem 0.5rem;
}

/* Stagger children — 80ms delay each on load */
.intro-reel__row:nth-child(1) { animation-delay: 0ms; }
.intro-reel__row:nth-child(2) { animation-delay: 80ms; }
.intro-reel__row:nth-child(3) { animation-delay: 160ms; }
.intro-reel__row:nth-child(4) { animation-delay: 240ms; }
.intro-reel__row:nth-child(5) { animation-delay: 320ms; }
.intro-reel__row:nth-child(6) { animation-delay: 400ms; }

@keyframes intro-reel-rise {
    from { opacity: 0; transform: translateY(1.5rem); }
    to   { opacity: 1; transform: translateY(0); }
}

@media (prefers-reduced-motion: reduce) {
    .intro-reel__row { animation: none; opacity: 1; }
}

/* process spread — dotted column grid, editorial headline, fluted image band */
.process-spread__root {
    padding-top: 4rem;
    padding-bottom: 4rem;
}

.process-spread__dots {
    background-image: radial-gradient(circle, currentColor 0.75px, transparent 0.75px);
    background-size: 4.5rem 100%;
    opacity: 0.12;
}

.process-spread__headline {
    letter-spacing: -0.03em;
}

.process-spread__hero {
    position: relative;
    min-height: 18rem;
    padding: 1.5rem;
}

.process-spread__orb {
    position: absolute;
    left: 0;
    top: 50%;
    z-index: 0;
    transform: translate(-50%, -50%);
}

.process-spread__orb-scene {
    position: relative;
    width: 20rem;
    height: 20rem;
}

.process-spread__orb-ring {
    position: absolute;
    border-style: solid;
    border-color: currentColor;
}

.process-spread__orb-ring--outer {
    inset: 0;
    border-width: 1px;
    opacity: 0.35;
    animation: process-spread-spin 14s linear infinite;
}

.process-spread__orb-ring--inner {
    top: 17.5%;
    left: 17.5%;
    width: 65%;
    height: 65%;
    border-width: 2px;
    opacity: 0.55;
    animation: process-spread-spin 9s linear infinite reverse;
}

.process-spread__orb-core {
    position: absolute;
    top: 50%;
    left: 50%;
    z-index: 1;
    width: 20%;
    height: 20%;
    margin-top: -10%;
    margin-left: -10%;
    animation: process-spread-pulse 2.8s ease-in-out infinite;
}

@keyframes process-spread-spin {
    to {
        transform: rotate(360deg);
    }
}

@keyframes process-spread-pulse {
    0%,
    100% {
        transform: scale(1);
        opacity: 0.85;
    }

    50% {
        transform: scale(1.18);
        opacity: 1;
    }
}

@media (min-width: 768px) {
    .process-spread__root {
        padding-top: 5rem;
        padding-bottom: 5rem;
    }

    .process-spread__hero {
        min-height: 22rem;
        padding: 2rem;
    }

    .process-spread__orb-scene {
        width: 26rem;
        height: 26rem;
    }
}

@media (min-width: 992px) {
    .process-spread__root {
        padding-top: 6rem;
        padding-bottom: 6rem;
    }

    .process-spread__hero {
        min-height: 28rem;
        padding: 2.5rem;
    }

    .process-spread__orb-scene {
        width: 33rem;
        height: 33rem;
    }
}

.process-spread__step-num {
    min-width: 1.75rem;
    font-variant-numeric: tabular-nums;
}

.process-spread__media {
    width: 100%;
    margin-inline-start: 0;
    aspect-ratio: 4 / 3;
    min-height: 18rem;
}

@media (min-width: 992px) {
    .process-spread__media {
        aspect-ratio: auto;
        min-height: 100%;
        height: 100%;
    }
}

.process-spread__img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.process-spread__flute {
    width: 46%;
    pointer-events: none;
    opacity: 0.55;
    mix-blend-mode: overlay;
    background-image: repeating-linear-gradient(
        90deg,
        currentColor 0,
        currentColor 1px,
        transparent 1px,
        transparent 13px
    );
    backdrop-filter: blur(1px) saturate(1.15);
    -webkit-backdrop-filter: blur(1px) saturate(1.15);
    mask-image: linear-gradient(90deg, black 0%, black 72%, transparent 100%);
    -webkit-mask-image: linear-gradient(90deg, black 0%, black 72%, transparent 100%);
}

@media (max-width: 991px) {
    .process-spread__media {
        aspect-ratio: 16 / 10;
    }

    .process-spread__flute {
        width: 42%;
    }
}

@media (min-width: 768px) {
    .steps-dual-panel__sticky-col {
        position: sticky;
        top: 2rem;
    }
}

.steps-dual-panel__badge-circle {
    width: 3rem;
    height: 3rem;
}

.steps-dual-panel__decor-dot {
    width: 0.5rem;
    height: 0.5rem;
}

/* Values v22 - Bauhaus asymmetric grid geometric accents (layout/shape only, no colors) */

/* Match TW container (~1280–1536px); default BS .container caps at 1140px */
.values-bauhaus__wrap {
    max-width: 96rem;
    width: 100%;
    margin-left: auto;
    margin-right: auto;
}

/* Shared shape sizing/position; hover scale+rotate is triggered by the parent card via
   the arbitrary-variant selector hover:[&_.values-bauhaus__shape]:scale-125 / :rotate-12
   authored in component.html tw:. Renaming this class requires updating that selector too. */
.values-bauhaus__shape {
    position: absolute;
    top: -1.5rem;
    right: -1.5rem;
    width: 6rem;
    height: 6rem;
    opacity: 0.16;
    pointer-events: none;
    transition: transform 300ms ease;
}

/* featured card - large ring */
.values-bauhaus__shape--00 {
    top: -2.5rem;
    right: -2.5rem;
    width: 10rem;
    height: 10rem;
    border-radius: 9999px;
    border: 0.75rem solid currentColor;
    background: transparent;
    opacity: 0.12;
}

/* circle */
.values-bauhaus__shape--01 {
    border-radius: 9999px;
    background: currentColor;
}

/* triangle */
.values-bauhaus__shape--02 {
    background: currentColor;
    clip-path: polygon(50% 0%, 0% 100%, 100% 100%);
}

/* square rotated */
.values-bauhaus__shape--03 {
    background: currentColor;
    transform: rotate(15deg);
}

/* half circle */
.values-bauhaus__shape--04 {
    border-radius: 9999px 9999px 0 0;
    background: currentColor;
}

/* diamond */
.values-bauhaus__shape--05 {
    background: currentColor;
    clip-path: polygon(50% 0%, 100% 50%, 50% 100%, 0% 50%);
}

/* quote v28 — cinema: rotating orbits, watermark, compare slider, text cards */

.quote-cinema__orbit {
    position: absolute;
    border-radius: 9999px;
    animation: quoteCinemaOrbit 60s linear infinite;
}
.quote-cinema__orbit--a {
    width: 28rem;
    height: 28rem;
    top: -8rem;
    left: -6rem;
}
.quote-cinema__orbit--b {
    width: 22rem;
    height: 22rem;
    bottom: -6rem;
    right: -4rem;
    animation-direction: reverse;
    animation-duration: 45s;
}
.quote-cinema__orbit--c {
    width: 16rem;
    height: 16rem;
    top: 35%;
    left: 55%;
    animation-duration: 75s;
}
@keyframes quoteCinemaOrbit {
    to { transform: rotate(360deg); }
}

.quote-cinema__watermark {
    opacity: 0.25;
}

.quote-cinema__compare {
    position: relative;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    border-radius: 1rem;
}
.quote-cinema__compare-img {
    object-fit: cover;
}
.quote-cinema__compare-clip {
    position: absolute;
    inset: 0;
    width: 50%;
    overflow: hidden;
}
.quote-cinema__handle {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    cursor: ew-resize;
    width: 2rem;
    height: 2rem;
}

.quote-cinema__rail {
    display: grid;
    grid-auto-flow: column;
    grid-template-rows: repeat(2, minmax(0, 1fr));
    gap: 0.35rem;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding-bottom: 0.25rem;
}
.quote-cinema__cell {
    scroll-snap-align: start;
    width: 11rem;
}

.quote-cinema__card {
    outline: 2px dashed currentColor;
    outline-offset: -4px;
}
.quote-cinema__texture {
    position: absolute;
    inset: 0;
    opacity: 0.08;
    background-image: radial-gradient(circle at 20% 20%, currentColor 0.5px, transparent 0.6px);
    background-size: 6px 6px;
    pointer-events: none;
}

.quote-cinema__photo {
    object-fit: cover;
    filter: grayscale(1);
    transition: filter 250ms ease;
}
.quote-cinema__card:hover .quote-cinema__photo,
.quote-cinema__card:focus-within .quote-cinema__photo {
    filter: grayscale(0);
}

.quote-cinema__card summary {
    cursor: pointer;
    list-style: none;
}
.quote-cinema__card summary::-webkit-details-marker {
    display: none;
}
/* hover + focus affordances (layout/outline via theme token) */
@media (hover: hover) {
    .quote-cinema-root [role="listitem"]:hover,
    .quote-cinema-root article:hover,
    .quote-cinema-root [class*="quote-cinema__card"]:hover,
    .quote-cinema-root .quote-cinema__book:hover,
    .quote-cinema-root .quote-cinema__step:hover,
    .quote-cinema-root .quote-cinema__index-card:hover,
    .quote-cinema-root .quote-cinema__pill:hover,
    .quote-cinema-root .quote-cinema__item:hover {
        transform: translateY(-0.125rem);
    }
}

.quote-cinema-root [role="listitem"],
.quote-cinema-root article,
.quote-cinema-root [class*="quote-cinema__card"],
.quote-cinema-root .quote-cinema__book,
.quote-cinema-root .quote-cinema__step,
.quote-cinema-root .quote-cinema__index-card,
.quote-cinema-root .quote-cinema__pill {
    transition: transform 200ms ease;
}

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

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

