.intro-bg-overlay__media {
    min-height: 100%;
}

.intro-bg-overlay__img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.intro-bg-overlay__scrim {
    pointer-events: none;
}

.intro-bg-overlay__content-box {
    max-width: 48rem;
}

.intro-bg-overlay__decor-top {
    width: 6rem;
    height: 6rem;
    top: 5rem;
    left: 2.5rem;
}

.intro-bg-overlay__decor-bottom {
    width: 8rem;
    height: 8rem;
    bottom: 5rem;
    right: 2.5rem;
}

.intro-bg-overlay__decor-mid {
    width: 4rem;
    height: 4rem;
    top: 33%;
    right: 25%;
}

.intro-bg-overlay__img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.intro-bg-overlay__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}


.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);
}

/* Geometry shared by both CSS frameworks (Bootstrap has no utilities for it) */
.whyus-letterpress {
    padding-top: 4rem;
    padding-bottom: 4rem;
}

.mxw-4xl {
    max-width: 56rem !important;
}

.whyus-letterpress__wrap {
    padding-inline: 1rem;
}

.whyus-letterpress__head {
    margin-bottom: 2.5rem;
}

.whyus-morse {
    gap: 0.375rem;
}

.whyus-letterpress__flourish-line {
    width: 10rem;
    height: 0.75rem;
}

.whyus-letterpress__intro {
    margin-inline: 1rem;
    font-size: 1rem;
}

.whyus-letterpress__table {
    border-collapse: collapse;
}

.whyus-letterpress__cell {
    padding: 1rem;
}

.whyus-letterpress__cell--head {
    font-size: 0.875rem;
    letter-spacing: 0.025em;
}

.whyus-letterpress__cell--us {
    --bs-bg-opacity: 0.6;
}

.whyus-letterpress__grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 1.5rem;
    margin-top: 3rem;
}

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

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

/* hover ring — `:where()` keeps specificity at 0-1-0 so Tailwind's hover:ring-2 wins there */
.whyus-highlight-card {
    transition: box-shadow 150ms ease;
}

:where(.whyus-highlight-card):hover {
    box-shadow: 0 0 0 2px var(--bs-primary-border-subtle);
}

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

    .whyus-letterpress__wrap {
        padding-inline: 2.5rem;
    }

    .whyus-letterpress__head {
        margin-bottom: 3.5rem;
    }

    .whyus-letterpress__intro {
        margin-inline: 6rem;
        font-size: 1.125rem;
    }

    .whyus-letterpress__cell {
        padding: 1rem 1.5rem;
    }

    .whyus-letterpress__cell--head {
        font-size: 1rem;
    }

    .whyus-letterpress__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 2rem;
        margin-top: 4rem;
    }

    .whyus-letterpress__card-desc {
        font-size: 1rem;
    }
}

@media (min-width: 1024px) {
    .whyus-letterpress__grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

/* v26 — morse-code ornament: fixed dot/dash sizing outside the Tailwind spacing scale */
.whyus-morse__mark {
    display: inline-block;
    flex-shrink: 0;
    --bs-bg-opacity: 0.5;
}

.whyus-morse__mark--dot {
    width: 0.375rem;
    height: 0.375rem;
}

.whyus-morse__mark--dash {
    width: 1.5rem;
    height: 0.3125rem;
}

/* v26 — Art Nouveau corner flourish: placement, size and subtle organic rotation */
.whyus-flourish {
    top: -1.5rem;
    inset-inline-start: -1.5rem;
    width: 6rem;
    height: 6rem;
    transform: rotate(-6deg);
    --bs-text-opacity: 0.35;
}

/* v26 — letterpress heading: tightened, print-like leading (color/weight handled by utility classes) */
.whyus-letterpress__heading {
    font-size: 1.875rem;
    line-height: 1.15;
    letter-spacing: 0.01em;
}

@media (min-width: 768px) {
    .whyus-letterpress__heading {
        font-size: 3rem;
    }
}

/* v26 — spring/bounce entrance, plays once on load */
@keyframes whyus-spring-in {
    0% {
        opacity: 0;
        transform: translateY(28px) scale(0.96);
    }
    60% {
        opacity: 1;
        transform: translateY(-6px) scale(1.015);
    }
    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.whyus-spring-in {
    animation: whyus-spring-in 900ms cubic-bezier(0.34, 1.56, 0.64, 1) both;
}

.whyus-spring-in--delay {
    animation-delay: 160ms;
}

.whyus-highlight-card {
    animation: whyus-spring-in 700ms cubic-bezier(0.34, 1.56, 0.64, 1) both;
}

.whyus-highlight-card:nth-child(1) { animation-delay: 0.1s; }
.whyus-highlight-card:nth-child(2) { animation-delay: 0.2s; }
.whyus-highlight-card:nth-child(3) { animation-delay: 0.3s; }

/* v26 — ripple-from-cursor effect on comparison cells (color applied via Tailwind class in script.js) */
.whyus-ripple {
    position: absolute;
    left: 0;
    top: 0;
    width: 14px;
    height: 14px;
    border-radius: 9999px;
    pointer-events: none;
    transform: translate(-50%, -50%) scale(0);
    animation: whyus-ripple 600ms ease-out forwards;
}

@keyframes whyus-ripple {
    0% {
        transform: translate(-50%, -50%) scale(0);
        opacity: 0.6;
    }
    100% {
        transform: translate(-50%, -50%) scale(9);
        opacity: 0;
    }
}

@media (prefers-reduced-motion: reduce) {
    .whyus-spring-in,
    .whyus-ripple,
    .whyus-highlight-card {
        animation: none;
    }
}

/* v27 pill reveal — button transition (active colors via TW/BS classes in blade + JS) */
.perks-pill-reveal__pill {
    cursor: pointer;
    font: inherit;
    appearance: none;
    -webkit-appearance: none;
    transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.portfolio-flex__min {
    min-width: 0;
}

/* Card hover: scale */
.portfolio-item-hover {
    transition: transform 0.3s ease;
}
.portfolio-item-hover:hover {
    transform: scale(1.05);
}

/* Overlay: hidden by default, fades in when card is hovered */
.portfolio-overlay-hover {
    opacity: 0;
    transition: opacity 0.3s ease;
}
.portfolio-item-hover:hover .portfolio-overlay-hover {
    opacity: 0.9;
}


.prompt-beacon__section {
    padding-top: 6rem;
    padding-bottom: 6rem;
}

.prompt-beacon__appeal--shift:hover { transform: scale(1.05); transition: transform .2s ease; }

.prompt-beacon__sheet--haze { backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px); }

