/* intro v21 — Loewe fold: vertical heading, watercolor blob, sketch figure, load rise */

/* Rotated 90° vertical heading */
.intro-fold__vtitle {
    writing-mode: vertical-rl;
    white-space: nowrap;
    line-height: 1;
}
@media (max-width: 767.98px) {
    .intro-fold__vtitle { writing-mode: horizontal-tb; }
}

/* Wax-seal / watercolor blob */
.intro-fold__blob {
    width: 24rem;
    height: 24rem;
    filter: blur(56px);
    opacity: 0.4;
    border-radius: 42% 58% 63% 37% / 45% 38% 62% 55%;
}

/* Drop-cap lead (framework-agnostic ::first-letter, no TW variant dependency) */
.intro-fold__lead::first-letter {
    font-size: 3rem;
    font-weight: 900;
    float: left;
    line-height: 0.9;
    margin-right: 0.75rem;
}

/* Like button fixed size (no BS w-N/h-N utility) */
.intro-fold__like {
    width: 2.25rem;
    height: 2.25rem;
}

/* Hand-drawn sketch treatment on the figure */
.intro-fold [data-figure] { aspect-ratio: 16 / 9; }
.intro-fold__img {
    object-fit: cover;
    filter: grayscale(0.35) contrast(1.12) saturate(0.9);
}

/* Subtle scale-up on load (0.92 → 1) */
.intro-fold__rise {
    opacity: 0;
    transform: scale(0.92);
    animation: intro-fold-rise 620ms ease forwards;
}
@keyframes intro-fold-rise {
    to { opacity: 1; transform: scale(1); }
}

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

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

.services-bento__body {
    min-width: 0;
}

.services-bento__corner {
    position: absolute;
    top: -0.5rem;
    right: 1.5rem;
    width: 1rem;
    height: 1rem;
    border: 2px solid currentColor;
    transform: rotate(45deg);
    pointer-events: none;
}

.services-bento__chevron {
    transition: transform 200ms ease;
}
.services-bento__toggle[aria-expanded="true"] .services-bento__chevron {
    transform: rotate(180deg);
}

/* Geometry shared by both CSS frameworks (Bootstrap has no utilities for it) */
.whyus-mindmap__corners {
    display: contents;
}

.whyus-mindmap__wave {
    pointer-events: none;
}

.whyus-mindmap {
    padding-top: 4rem;
    padding-bottom: 4rem;
}

.mxw-6xl {
    max-width: 72rem !important;
}

.whyus-mindmap__wave--a {
    bottom: -1.5rem;
    inset-inline-start: 0;
    height: 10rem;
}

.whyus-mindmap__wave--b {
    top: 2.5rem;
    inset-inline-end: 0;
    width: 66.666667%;
    height: 8rem;
    --bs-text-opacity: 0.15;
}

.whyus-mindmap__wave--c {
    bottom: 0;
    inset-inline-start: 0;
    width: 50%;
    height: 6rem;
}

.whyus-mindmap__title {
    font-size: 1.25rem;
    margin-bottom: 2.5rem;
}

.whyus-mindmap__grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    column-gap: 2.5rem;
    row-gap: 3rem;
    align-items: start;
}

.whyus-mindmap__watermark {
    font-size: 6rem;
    font-weight: 900;
    letter-spacing: -0.025em;
    opacity: 0.05;
}

.whyus-mindmap__panel {
    position: relative;
    margin: 0;
    padding: 1.5rem;
}

.whyus-mindmap__dot {
    width: 0.5rem;
    height: 0.5rem;
}

.whyus-mindmap__chrome-text,
.whyus-mindmap__num {
    font-size: 0.75rem;
}

.whyus-mindmap__media {
    aspect-ratio: 16 / 9;
}

.whyus-mindmap__panel-title {
    font-size: 1.5rem;
}

.whyus-mindmap__cta {
    padding: 0.625rem 1.25rem;
    transition: transform 150ms ease;
}

/* hover — `:where()` keeps specificity at 0-1-0 so Tailwind's hover:scale-105 wins there */
:where(.whyus-mindmap__cta):hover {
    transform: scale(1.05);
}

.whyus-mindmap__branches {
    gap: 1.5rem;
}

.whyus-mindmap__branch {
    padding-inline-start: 1.25rem;
}

.whyus-mindmap__branch-title {
    font-size: 1rem;
}

.whyus-mindmap__branch-desc {
    font-size: 0.875rem;
}

.whyus-mindmap__corner {
    font-size: 1.125rem;
}

@media (min-width: 768px) {
    .whyus-mindmap {
        padding-top: 6rem;
        padding-bottom: 6rem;
    }

    .whyus-mindmap__title {
        font-size: 1.5rem;
        margin-bottom: 3.5rem;
    }

    .whyus-mindmap__grid {
        grid-template-columns: repeat(12, minmax(0, 1fr));
    }

    .whyus-mindmap__col--main {
        grid-column: span 7 / span 7;
    }

    .whyus-mindmap__col--side {
        grid-column: span 5 / span 5;
    }

    .whyus-mindmap__watermark {
        font-size: 8rem;
    }

    .whyus-mindmap__panel {
        position: sticky;
        top: 2rem;
        padding: 2rem;
    }

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

    .whyus-mindmap__branches {
        gap: 2rem;
    }

    .whyus-mindmap__branch {
        padding-inline-start: 1.5rem;
    }

    .whyus-mindmap__branch-title,
    .whyus-mindmap__branch-desc {
        font-size: 1rem;
    }

    .whyus-mindmap__branch-title {
        font-size: 1.125rem;
    }
}

/* whyus v28 — mind-map spotlight panel with open branch text blocks */

/* Spotlight panel — clip-path wipe reveal on load (single play, no BS analog) */
@keyframes whyusMindmapWipe {
    from {
        clip-path: inset(0 100% 0 0);
    }
    to {
        clip-path: inset(0 0 0 0);
    }
}

.whyus-mindmap__panel {
    animation: whyusMindmapWipe 900ms ease-out both;
}

/* Corner brackets — four marks pinned to the spotlight frame's corners */
.whyus-mindmap__corner {
    position: absolute;
    line-height: 1;
}

.whyus-mindmap__corner--tl {
    top: -0.5rem;
    left: -0.5rem;
}

.whyus-mindmap__corner--tr {
    top: -0.5rem;
    right: -0.5rem;
}

.whyus-mindmap__corner--bl {
    bottom: -0.5rem;
    left: -0.5rem;
}

.whyus-mindmap__corner--br {
    bottom: -0.5rem;
    right: -0.5rem;
}

.content-watermark__ghost {
    transform: translateX(-50%);
}

