.services-grid-dense__serif,
[data-serif] {
    font-family: Georgia, "Times New Roman", Times, serif;
}

.services-grid-dense__dots {
    background-image: radial-gradient(currentColor 1px, transparent 1px);
    background-size: 18px 18px;
    pointer-events: none;
}

.dark .services-grid-dense__dots,
[data-bs-theme="dark"] .services-grid-dense__dots {
    color: var(--bs-primary);
}

/* process journal — layout, image crop, hover motion (no colors) */
.process-journal__photo {
    aspect-ratio: 1 / 1;
    object-fit: cover;
}
.process-journal__marker {
    width: 0.75rem;
    height: 0.75rem;
}
.process-journal__arrow {
    width: 2.75rem;
    height: 2.75rem;
    flex-shrink: 0;
    text-decoration: none;
    transition: transform 200ms ease;
}
.process-journal__pill {
    text-decoration: none;
    transition: transform 200ms ease;
}
.process-journal__arrow:hover,
.process-journal__pill:hover {
    transform: translateY(-1px);
}

.features-minimal-dl__decor--pulse-1 {
    top: -6rem;
    right: 25%;
    animation: features-minimal-dl-pulse-kf 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

.features-minimal-dl__decor--spin {
    top: 33.333333%;
    right: 5rem;
    animation: features-minimal-dl-spin-kf 1s linear infinite;
}

.features-minimal-dl__decor--bounce {
    bottom: 33.333333%;
    left: 5rem;
    transform: rotate(-6deg);
    animation: features-minimal-dl-bounce-kf 1s infinite;
}

.features-minimal-dl__decor--pulse-2 {
    top: 50%;
    left: 33.333333%;
    transform: rotate(45deg);
    animation: features-minimal-dl-pulse-kf 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

.features-minimal-dl__item--hover:hover .features-minimal-dl__icon--lift {
    transform: scale(1.05);
}

@keyframes features-minimal-dl-pulse-kf {
    0%, 100% { opacity: 1; }
    50% { opacity: .5; }
}

@keyframes features-minimal-dl-spin-kf {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

@keyframes features-minimal-dl-bounce-kf {
    0%, 100% { transform: translateY(-25%) rotate(-6deg); animation-timing-function: cubic-bezier(0.8,0,1,1); }
    50% { transform: none; animation-timing-function: cubic-bezier(0,0,0.2,1); }
}

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

/* -- BS-mode decorative shapes — subtle, non-intrusive -- */
.features-decor__bs-blob {
    background-color: var(--bs-primary-bg-subtle);
    opacity: 0.35;
    filter: blur(48px);
}
.features-decor__bs-shape {
    opacity: 0.15;
}
.features-decor__bs-line {
    border-left: 1px solid var(--bs-primary-border-subtle);
    opacity: 0.18;
}
/* 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);
}

