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

.feature-card-surface {
    position: relative;
    isolation: isolate;
    background: transparent !important;
    border-color: transparent !important;
    box-shadow: none !important;
}

.feature-card-surface > * {
    position: relative;
    z-index: 1;
}

.feature-card-surface::before {
    content: "";
    position: absolute;
    inset: calc(var(--bs-gutter-y, 1rem) * 0.5) calc(var(--bs-gutter-x, 1.5rem) * 0.5);
    border-radius: inherit;
    background: var(--bs-body-bg);
    border: 1px solid var(--bs-border-color-translucent);
    box-shadow: var(--bs-box-shadow-sm);
    z-index: 0;
    transition: box-shadow 0.25s ease, transform 0.25s ease, border-color 0.25s ease;
}

.feature-card-surface:hover:before {
    box-shadow: var(--bs-box-shadow-lg);
    border-color: rgba(var(--bs-primary-rgb), 0.3);
}

/* -- Feature card hover -- */
.feat-card-hover {
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.feat-card-hover:hover {
    transform: translateY(-3px);
    box-shadow: 0 0.5rem 1.5rem rgba(0,0,0,.12) !important;
}

/* -- Icon box sizing -- */
.feat-icon-box {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    min-width: 2.5rem;
    min-height: 2.5rem;
}
.feat-icon-box--lg {
    width: 4rem;
    height: 4rem;
    border-radius: 0.75rem;
}
.feat-icon-box--xl {
    width: 5rem;
    height: 5rem;
    border-radius: 1rem;
}
.feat-icon-box--circle {
    border-radius: 50%;
}

/* -- Nav/filmstrip button hover -- */
.feat-btn-nav {
    transition: transform 0.15s ease, background-color 0.15s ease;
}
.feat-btn-nav:hover {
    transform: scale(1.1);
}

/* -- Table row hover -- */
.feat-table-row-hover {
    transition: background-color 0.15s ease;
}
.feat-table-row-hover:hover {
    background-color: var(--bs-primary-bg-subtle) !important;
}

/* -- Accordion item hover -- */
.feat-accordion-hover summary:hover {
    background-color: var(--bs-primary-bg-subtle);
    border-radius: 0.75rem;
}

/* -- DL item hover -- */
.feat-dl-item-hover {
    transition: background-color 0.15s ease;
    border-radius: 0.5rem;
    padding-left: 0.5rem;
    padding-right: 0.5rem;
}
.feat-dl-item-hover:hover {
    background-color: var(--bs-primary-bg-subtle);
}

/* -- Deck button hover -- */
.feat-deck-btn {
    transition: filter 0.2s ease, transform 0.15s ease;
}
.feat-deck-btn:hover {
    filter: brightness(1.1);
    transform: translateY(-1px);
}
/* Geometry shared by both CSS frameworks (Bootstrap has no grid-template / inset utilities) */
.whyus-editorial-mosaic__decor-ring {
    pointer-events: none;
}

.whyus-editorial-mosaic__grid {
    display: grid;
    grid-template-columns: repeat(12, minmax(0, 1fr));
    gap: 0.5rem;
}

.whyus-editorial-mosaic__head,
.whyus-editorial-mosaic__tile {
    grid-column: span 12 / span 12;
}

.whyus-editorial-mosaic__head {
    padding-top: 0.75rem;
    padding-bottom: 0.75rem;
}

.whyus-editorial-mosaic__decor-panel {
    grid-column: span 12 / span 12;
    min-height: 12rem;
}

.whyus-editorial-mosaic__title {
    font-size: 1.875rem;
    font-weight: 900;
}

.whyus-editorial-mosaic__tile {
    padding: 0.75rem;
}

.whyus-editorial-mosaic__tile--b,
.whyus-editorial-mosaic__tile--d {
    padding-top: 0.75rem;
    margin-top: 0.5rem;
}

.whyus-editorial-mosaic__tile-title {
    font-size: 1.125rem;
    transition: font-weight 150ms ease;
}

.whyus-editorial-mosaic__tile-title:hover {
    font-weight: 700;
}

.whyus-editorial-mosaic__ordinal {
    font-size: 0.75rem;
    letter-spacing: 0.025em;
}

/* decorative layers */
.whyus-editorial-mosaic__orb {
    top: -1.5rem;
    inset-inline-end: 1.5rem;
    width: 6rem;
    height: 6rem;
    opacity: 0.2;
}

.whyus-editorial-mosaic__rule {
    top: 33.333333%;
    inset-inline-start: 0;
    opacity: 0.4;
}

.whyus-editorial-mosaic__chevron {
    bottom: 4rem;
    inset-inline-start: 25%;
    width: 2.5rem;
    height: 2.5rem;
    transform: rotate(45deg);
    opacity: 0.3;
}

.whyus-editorial-mosaic__decor-ring--outer {
    inset: 1rem;
    opacity: 0.4;
}

.whyus-editorial-mosaic__decor-ring--inner {
    inset: 2.5rem;
    border-style: dashed;
    opacity: 0.3;
}

.whyus-editorial-mosaic__decor-diamond {
    top: 50%;
    inset-inline-start: 50%;
    width: 3.5rem;
    height: 3.5rem;
    opacity: 0.5;
}

.whyus-editorial-mosaic__decor-cross {
    opacity: 0.25;
    --bs-bg-opacity: 1;
}

.whyus-editorial-mosaic__decor-cross--h {
    top: 50%;
    inset-inline-start: 1.5rem;
    inset-inline-end: 1.5rem;
    height: 1px;
}

.whyus-editorial-mosaic__decor-cross--v {
    inset-inline-start: 50%;
    top: 1.5rem;
    bottom: 1.5rem;
    width: 1px;
}

.whyus-editorial-mosaic__decor-grid {
    opacity: 0.2;
}

/* bottom accent band */
.whyus-editorial-mosaic__band {
    margin-top: 2rem;
    padding-top: 2rem;
    padding-bottom: 2rem;
}

.whyus-editorial-mosaic__pattern-layer {
    gap: 0.75rem;
    opacity: 0.1;
}

.whyus-editorial-mosaic__pattern-word {
    font-size: 0.75rem;
    letter-spacing: 0.025em;
}

.whyus-editorial-mosaic__band-title {
    font-size: 1.5rem;
    font-weight: 900;
    letter-spacing: 0.025em;
}

@media (min-width: 768px) {
    .whyus-editorial-mosaic__head {
        grid-column: 1 / span 5;
        grid-row: 1;
    }

    .whyus-editorial-mosaic__decor-panel {
        grid-column: 7 / span 6;
        grid-row: 3 / span 2;
    }

    .whyus-editorial-mosaic__tile--a {
        grid-column: 6 / span 7;
        grid-row: 1;
    }

    .whyus-editorial-mosaic__tile--b {
        grid-column: 1 / span 6;
        grid-row: 2;
        margin-top: 0;
    }

    .whyus-editorial-mosaic__tile--c {
        grid-column: 7 / span 6;
        grid-row: 2;
    }

    .whyus-editorial-mosaic__tile--d {
        grid-column: 1 / span 6;
        grid-row: 3;
        margin-top: 0;
    }

    .whyus-editorial-mosaic__tile--e {
        grid-column: 1 / span 6;
        grid-row: 4;
    }

    .whyus-editorial-mosaic__title {
        font-size: 2.25rem;
    }

    .whyus-editorial-mosaic__band-title {
        font-size: 1.875rem;
    }
}

/* whyus editorial-mosaic — repeated-text decorative layer cycles a small hue-rotate amplitude only; no fixed colors are set here */
@keyframes whyus-editorial-mosaic-hue-cycle {
    0% { filter: hue-rotate(0deg); }
    50% { filter: hue-rotate(15deg); }
    100% { filter: hue-rotate(0deg); }
}

.whyus-editorial-mosaic__pattern-layer {
    animation: whyus-editorial-mosaic-hue-cycle 9s ease-in-out infinite;
    pointer-events: none;
}

/* geometric decor panel — grid texture + slow ring drift, colors from Tailwind text-* on nodes */
.whyus-editorial-mosaic__decor-panel {
    isolation: isolate;
}

.whyus-editorial-mosaic__decor-grid {
    background-image:
        linear-gradient(currentColor 1px, transparent 1px),
        linear-gradient(90deg, currentColor 1px, transparent 1px);
    background-size: 1.25rem 1.25rem;
}

.whyus-editorial-mosaic__decor-diamond {
    transform: translate(-50%, -50%) rotate(45deg);
}

.whyus-editorial-mosaic__decor-ring--outer {
    animation: whyus-editorial-mosaic-ring-drift 18s ease-in-out infinite;
}

.whyus-editorial-mosaic__decor-ring--inner {
    animation: whyus-editorial-mosaic-ring-drift 24s ease-in-out infinite reverse;
}

@keyframes whyus-editorial-mosaic-ring-drift {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.04); }
}

@media (prefers-reduced-motion: reduce) {
    .whyus-editorial-mosaic__decor-ring--outer,
    .whyus-editorial-mosaic__decor-ring--inner {
        animation: none;
    }
}

/* tabular-figure fallback — Tailwind's tabular-nums utility is already applied in markup, this is a safety net */
.whyus-editorial-mosaic__numeral {
    font-variant-numeric: tabular-nums;
}

/* scale-up-on-scroll reveal, staggered per tile via a JS-set --delay custom property (see script.js) */
.whyus-editorial-mosaic__tile {
    opacity: 0;
    transform: scale(0.9);
    transition: opacity 500ms ease, transform 500ms ease;
    transition-delay: var(--delay, 0ms);
}

.whyus-editorial-mosaic__tile.is-visible {
    opacity: 1;
    transform: scale(1);
}

.brief-sq-10 { width: 2.5rem; height: 2.5rem; flex-shrink: 0; }

.brief-glass-card,
.brief-glass-panel,
.brief-glass-value {
    backdrop-filter: blur(0.75rem);
    box-shadow: 0 1rem 2rem rgba(15, 23, 42, 0.08);
}

.brief-glass-card {
    background-color: rgba(var(--bs-body-bg-rgb), 0.72);
}

.brief-glass-panel,
.brief-glass-value {
    background-color: rgba(var(--bs-body-bg-rgb), 0.56);
}

.brief-brand-line {
    width: 2.5rem;
    height: 0.125rem;
    background-color: rgba(var(--bs-primary-rgb), 0.45);
}

.brief-orb-one {
    top: -6rem;
    left: -6rem;
    width: 24rem;
    height: 24rem;
    filter: blur(3rem);
}

.brief-orb-two {
    right: -6rem;
    bottom: -6rem;
    width: 20rem;
    height: 20rem;
    filter: blur(3rem);
}

.brief-orb-three {
    top: 50%;
    right: 25%;
    width: 14rem;
    height: 14rem;
    filter: blur(3rem);
}

.brief-cta-hover {
    transition: transform 0.3s ease;
}

.brief-cta-hover:hover {
    transform: scale(1.05);
}

.brief-card-hover {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.brief-card-hover:hover {
    transform: translateY(-0.25rem);
    box-shadow: var(--bs-box-shadow-lg);
}

.brief-icon-hover {
    transition: transform 0.3s ease;
}

.brief-card-hover:hover .brief-icon-hover {
    transform: scale(1.1);
}

.brief-title-hover {
    transition: color 0.3s ease;
}

.brief-card-hover:hover .brief-title-hover {
    color: var(--bs-primary);
}

