/* intro v26 — Dieter Rams node: hex grid, bottom band, blurred ghost image, serif, typewriter */

/* Hexagon-ish grid (minimal, colour from Tailwind text-*, lines via currentColor) */
.intro-node__hex {
    background-image:
        repeating-linear-gradient(60deg, currentColor 0 1px, transparent 1px 26px),
        repeating-linear-gradient(-60deg, currentColor 0 1px, transparent 1px 26px);
    opacity: 0.1;
}

.intro-node__band { height: 10rem; opacity: 0.7; }

/* Blurred background photo behind the spotlight node */
.intro-node__ghost { height: 14rem; }
.intro-node__img {
    object-fit: cover;
    filter: blur(10px);
    opacity: 0.35;
    transform: scale(1.08);
}

/* Serif heading */
.intro-node__serif {
    font-family: ui-serif, Georgia, "Times New Roman", serif;
}

/* Org-chart stem connector */
.intro-node__stem {
    width: 1px;
    height: 2rem;
}

/* Typewriter caret */
.intro-node__type .is-typing {
    border-right: 2px solid currentColor;
    animation: intro-node-caret 800ms step-end infinite;
}
@keyframes intro-node-caret {
    50% { border-color: transparent; }
}

@media (prefers-reduced-motion: reduce) {
    .intro-node__type .is-typing { animation: none; }
}

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

[data-accordion-toggle] {
    list-style: none;
}
[data-accordion-toggle]::-webkit-details-marker {
    display: none;
}

.services-accordion__chevron {
    transition: transform 200ms ease;
}
[data-accordion-item][open] .services-accordion__chevron {
    transform: rotate(180deg);
}

.header-ui__box-10 {
    width: 2.5rem;
    height: 2.5rem;
    min-width: 2.5rem;
    min-height: 2.5rem;
    flex-shrink: 0;
}

/* v15 - dashboard bento stat tiles: glass blur + bento span (no BS analog, no colors) */
.steps-dashboard-bento__tile {
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

@media (min-width: 768px) {
    .steps-dashboard-bento__tile--wide {
        grid-column: span 2 / span 2;
    }
}

/* whyus v18 — overlap-duo cardless benefits table, mountain motif, art-deco ornament */

/* ---------- overlap-duo illustration block ---------- */
.whyus-summit__media {
    aspect-ratio: 4 / 5;
    min-height: 20rem;
}

@media (min-width: 1024px) {
    .whyus-summit__media {
        aspect-ratio: 3 / 4;
    }
}

/* flat mountain-range silhouette clipped into the top edge of the illustration */
.whyus-summit__mountain {
    clip-path: polygon(
        0% 18%, 12% 9%, 22% 16%, 34% 4%, 46% 14%, 58% 6%,
        70% 15%, 82% 8%, 100% 17%, 100% 100%, 0% 100%
    );
}

.whyus-summit__caption {
    max-width: 80%;
}

/* ---------- bordered text/table panel ---------- */
.whyus-summit__border-frame {
    overflow: hidden;
    backdrop-filter: blur(12px);
}

/* animated shimmering border overlay — color comes from the Tailwind gradient
   classes in the template; this rule only animates position/opacity */
.whyus-summit__shimmer {
    background-size: 220% 100%;
    background-position: 0% 0%;
    animation: whyus-summit-shimmer 7s linear infinite;
    animation-delay: 0.6s;
}

@keyframes whyus-summit-shimmer {
    0% {
        background-position: 0% 0%;
        opacity: 0.2;
    }
    50% {
        background-position: 100% 0%;
        opacity: 0.4;
    }
    100% {
        background-position: 220% 0%;
        opacity: 0.2;
    }
}

/* content-first reveal: heading/subtitle/table animate immediately,
   decorative elements (fireflies, chevrons, sunburst) animate slightly after */
.whyus-summit__anim-content {
    animation: whyus-summit-fade-up 0.7s ease-out both;
}

@keyframes whyus-summit-fade-up {
    from {
        opacity: 0;
        transform: translateY(1rem);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ---------- art-deco geometric ornament ---------- */
.whyus-summit__sunburst {
    top: -4rem;
    right: -4rem;
    width: 22rem;
    height: 22rem;
    animation: whyus-summit-fade-up 1s ease-out both;
    animation-delay: 0.5s;
}

.whyus-summit__chevron {
    width: 3.5rem;
    height: 1.25rem;
    clip-path: polygon(0% 0%, 50% 100%, 100% 0%, 100% 40%, 50% 100%, 0% 40%);
    animation: whyus-summit-fade-up 1s ease-out both;
    animation-delay: 0.55s;
}

.whyus-summit__chevron--top {
    top: 1.5rem;
    left: 2rem;
}

.whyus-summit__chevron--bottom {
    bottom: 1.5rem;
    right: 2rem;
    transform: rotate(180deg);
}

/* ---------- fireflies: soft blinking, drifting dots ---------- */
.whyus-summit__fireflies {
    position: absolute;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
}

.whyus-summit__firefly {
    width: 0.5rem;
    height: 0.5rem;
    animation-name: whyus-summit-firefly;
    animation-timing-function: ease-in-out;
    animation-iteration-count: infinite;
    animation-delay: 0.8s;
}

.whyus-summit__firefly--1 { top: 12%; left: 8%; width: 0.375rem; height: 0.375rem; animation-duration: 5.5s; animation-delay: 0.8s; }
.whyus-summit__firefly--2 { top: 28%; left: 42%; width: 0.5rem; height: 0.5rem; animation-duration: 6.5s; animation-delay: 1.4s; }
.whyus-summit__firefly--3 { top: 62%; left: 18%; width: 0.3125rem; height: 0.3125rem; animation-duration: 7s; animation-delay: 1s; }
.whyus-summit__firefly--4 { top: 74%; left: 55%; width: 0.5rem; height: 0.5rem; animation-duration: 5.8s; animation-delay: 1.8s; }
.whyus-summit__firefly--5 { top: 20%; left: 82%; width: 0.375rem; height: 0.375rem; animation-duration: 6.2s; animation-delay: 1.2s; }
.whyus-summit__firefly--6 { top: 85%; left: 88%; width: 0.4375rem; height: 0.4375rem; animation-duration: 6.8s; animation-delay: 2s; }

@keyframes whyus-summit-firefly {
    0%, 100% {
        opacity: 0.15;
        transform: translate(0, 0);
    }
    35% {
        opacity: 0.85;
        transform: translate(0.4rem, -0.6rem);
    }
    65% {
        opacity: 0.4;
        transform: translate(-0.3rem, 0.3rem);
    }
}

/* ---------- checkbox-hack view toggle (CSS-only, no script.js) ---------- */
.whyus-summit__toggle-btn {
    opacity: 0.55;
    transition: opacity 200ms ease;
}

.whyus-summit__toggle-btn--list {
    opacity: 1;
}

.whyus-summit__toggle-input:checked ~ .whyus-summit__toggle .whyus-summit__toggle-btn--list {
    opacity: 0.55;
}

.whyus-summit__toggle-input:checked ~ .whyus-summit__toggle .whyus-summit__toggle-btn--grid {
    opacity: 1;
}

/* default (unchecked) = list-like single-column flow: the table renders as normal rows */

/* checked = grid-like compact 2-column arrangement */
.whyus-summit__toggle-input:checked ~ .whyus-summit__table thead {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
}

.whyus-summit__toggle-input:checked ~ .whyus-summit__table tbody {
    display: block;
    column-count: 2;
    column-gap: 2rem;
}

.whyus-summit__toggle-input:checked ~ .whyus-summit__table tr.whyus-summit__row {
    display: block;
    break-inside: avoid;
    margin-bottom: 1.5rem;
}

.whyus-summit__toggle-input:checked ~ .whyus-summit__table tr.whyus-summit__row td {
    display: block;
    width: 100%;
    padding-right: 0;
}

.whyus-summit__toggle-input:checked ~ .whyus-summit__table tfoot {
    column-span: all;
}

@media (max-width: 639px) {
    .whyus-summit__toggle-input:checked ~ .whyus-summit__table tbody {
        column-count: 1;
    }
}

.rail-three-quote-split__portrait {
    width: 4rem;
    height: 4rem;
}

.rail-three-quote-split__col {
    padding-bottom: 1.5rem;
}

.rail-three-quote-split__col:last-child {
    padding-bottom: 0;
}

@media (min-width: 768px) {
    .rail-three-quote-split__col {
        padding-bottom: 0;
    }
}

