/* intro v29 — Rolls-Royce thread: circle-expand reveal, half-ring, chat alignment, dual-layer parallax */

.intro-thread { min-height: 88vh; }

/* Clip-path circle expand from centre on load */
.intro-thread__reveal {
    animation: intro-thread-expand 900ms ease forwards;
}
@keyframes intro-thread-expand {
    from { clip-path: circle(0% at 50% 50%); }
    to   { clip-path: circle(150% at 50% 50%); }
}

/* Half-ring at the boundary (fixed size — no BS w-N/h-N utility) */
.intro-thread__half {
    width: 16rem;
    height: 8rem;
    opacity: 0.7;
    filter: blur(2px);
}
.intro-thread__sun { width: 6rem; height: 6rem; }
.intro-thread [data-msg] { max-width: 28rem; }

/* Dual-layer parallax offset (set by JS via custom props) */
.intro-thread__island [data-layer] {
    transition: transform 200ms ease-out;
    transform: translate(var(--px, 0), var(--py, 0));
}

/* Chat thread alternate alignment + retro corner tails */
.intro-thread [data-msg] { border-bottom-left-radius: 0.25rem; }
.intro-thread [data-msg]:nth-child(even) {
    margin-left: auto;
    border-bottom-left-radius: 1rem;
    border-bottom-right-radius: 0.25rem;
}

@media (prefers-reduced-motion: reduce) {
    .intro-thread__reveal { animation: none; }
    .intro-thread__island [data-layer] { transition: none; }
}

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

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

.header-ui__box-11 {
    width: 2.75rem;
    height: 2.75rem;
    min-width: 2.75rem;
    min-height: 2.75rem;
    flex-shrink: 0;
}

[data-split-row]:last-child .services-split__body {
    padding-bottom: 0;
}

/* process film — card image fit */
.process-film__img-wrap {
    aspect-ratio: 4 / 5;
    overflow: hidden;
}

.process-film__img {
    object-fit: cover;
    width: 100%;
    height: 100%;
}

/* process film — full-section animated primary blur */
.process-film__blur {
    position: absolute;
    border-radius: 50%;
    filter: blur(120px);
}

.process-film__blur--a {
    width: 75%;
    height: 85%;
    top: -25%;
    left: -20%;
    animation: process-film-blur-drift-a 10s ease-in-out infinite;
}

.process-film__blur--b {
    width: 70%;
    height: 80%;
    top: 0;
    right: -25%;
    animation: process-film-blur-drift-b 12s ease-in-out infinite;
}

.process-film__blur--c {
    width: 80%;
    height: 90%;
    bottom: -30%;
    left: 5%;
    animation: process-film-blur-drift-c 14s ease-in-out infinite;
}

.process-film__blur--d {
    width: 65%;
    height: 75%;
    top: 25%;
    left: 25%;
    animation: process-film-blur-drift-d 11s ease-in-out infinite;
}

.process-film__blur--delay {
    animation-delay: 2.5s;
}

@keyframes process-film-blur-drift-a {
    0%,
    100% {
        transform: translate(0, 0) scale(1);
        opacity: 0.75;
    }

    50% {
        transform: translate(8%, 6%) scale(1.08);
        opacity: 1;
    }
}

@keyframes process-film-blur-drift-b {
    0%,
    100% {
        transform: translate(0, 0) scale(1);
        opacity: 0.7;
    }

    50% {
        transform: translate(-6%, 8%) scale(1.06);
        opacity: 0.95;
    }
}

@keyframes process-film-blur-drift-c {
    0%,
    100% {
        transform: translate(0, 0) scale(1);
        opacity: 0.65;
    }

    50% {
        transform: translate(5%, -6%) scale(1.1);
        opacity: 0.9;
    }
}

@keyframes process-film-blur-drift-d {
    0%,
    100% {
        transform: translate(0, 0) scale(1);
        opacity: 0.6;
    }

    50% {
        transform: translate(-4%, 5%) scale(1.07);
        opacity: 0.85;
    }
}

@media (prefers-reduced-motion: reduce) {
    .process-film__blur {
        animation: none;
    }
}

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

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

.mxw-3xl {
    max-width: 48rem !important;
}

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

.whyus-tundra__steps,
.whyus-tundra__kicker {
    font-size: 0.75rem;
    letter-spacing: 0.05em;
}

.whyus-tundra__title {
    font-size: 1.875rem;
    letter-spacing: 0.05em;
}

.whyus-tundra__lead {
    font-size: 1rem;
}

.whyus-tundra__feature {
    padding: 1.5rem;
    margin-bottom: 2.5rem;
}

.whyus-tundra__feature-text {
    font-size: 1.25rem;
}

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

.whyus-tundra__card {
    transition: box-shadow 150ms ease;
}

/* hover ring — `:where()` keeps specificity at 0-1-0 so Tailwind's hover:ring-2 wins there */
:where(.whyus-tundra__card):hover {
    box-shadow: 0 0 0 2px var(--bs-primary-border-subtle);
}

.whyus-tundra__card-title {
    font-size: 1rem;
    letter-spacing: 0.025em;
}

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

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

    .whyus-tundra__head,
    .whyus-tundra__feature {
        margin-bottom: 3.5rem;
    }

    .whyus-tundra__title {
        font-size: 2.25rem;
    }

    .whyus-tundra__lead,
    .whyus-tundra__card-title {
        font-size: 1.125rem;
    }

    .whyus-tundra__feature {
        padding: 2rem;
    }

    .whyus-tundra__feature-text {
        font-size: 1.5rem;
    }

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

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

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

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

/* whyus v25 — tundra split-diagonal decor + benefit card grid */

/* Diagonal divider line — skewed accent spanning corner to corner */
.whyus-tundra__divider {
    top: 38%;
    left: -10%;
    width: 120%;
    height: 2px;
    transform: rotate(-7deg);
    transform-origin: center;
}

/* Tundra semicircles — sparse organic accents at the section edges */
.whyus-tundra__semicircle {
    border-radius: 999px;
    overflow: hidden;
}

.whyus-tundra__semicircle--left {
    top: -3rem;
    left: -4rem;
    width: 10rem;
    height: 10rem;
}

.whyus-tundra__semicircle--right {
    top: 15%;
    right: -5rem;
    width: 8rem;
    height: 8rem;
}

.whyus-tundra__semicircle--bottom {
    bottom: -6rem;
    left: 20%;
    width: 14rem;
    height: 14rem;
}

/* Frosted-glass CTA accent — blur, padding and hover lift for both frameworks */
.whyus-tundra__glass {
    padding: 0.75rem 1.5rem;
    letter-spacing: 0.05em;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    --bs-bg-opacity: 0.3;
    transition: transform 150ms ease;
}

:where(.whyus-tundra__glass):hover {
    transform: scale(1.05);
}

/* Benefit cards — staggered entrance */
.whyus-tundra__card {
    animation: whyus-tundra-card-in 0.55s ease both;
}

.whyus-tundra__card:nth-child(1) { animation-delay: 0.05s; }
.whyus-tundra__card:nth-child(2) { animation-delay: 0.1s; }
.whyus-tundra__card:nth-child(3) { animation-delay: 0.15s; }
.whyus-tundra__card:nth-child(4) { animation-delay: 0.2s; }
.whyus-tundra__card:nth-child(5) { animation-delay: 0.25s; }
.whyus-tundra__card:nth-child(6) { animation-delay: 0.3s; }

@keyframes whyus-tundra-card-in {
    from {
        opacity: 0;
        transform: translateY(0.5rem);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Choreographed entrance — heading, featured panel, CTA */
@keyframes whyusTundraEnter {
    from {
        opacity: 0;
        transform: translateY(0.75rem);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.whyus-tundra__enter {
    animation: whyusTundraEnter 600ms ease-out both;
}

.whyus-tundra__enter--1 {
    animation-delay: 0ms;
}

.whyus-tundra__enter--2 {
    animation-delay: 200ms;
}

.whyus-tundra__enter--3 {
    animation-delay: 400ms;
}

@media (prefers-reduced-motion: reduce) {
    .whyus-tundra__enter,
    .whyus-tundra__card {
        animation: none;
    }
}

/* quote v13 — sekiro swimlane index cards: tessellation, CRT flicker, smoke wisps */

/* geometric tessellation tile sizing */
.sekiro-swimlane__tessellation svg {
    width: 100%;
    height: 100%;
}

/* CRT scanline flicker loop — tint via currentColor on the element */
.sekiro-swimlane__scanlines {
    background-image: repeating-linear-gradient(
        to bottom,
        currentColor 0,
        currentColor 1px,
        transparent 1px,
        transparent 3px
    );
    background-size: 100% 3px;
    animation: sekiro-swimlane-scanline-flicker 2.4s steps(2, end) infinite;
}

@keyframes sekiro-swimlane-scanline-flicker {
    0%, 100% {
        opacity: .12;
    }
    50% {
        opacity: .28;
    }
}

/* smoke / mist wisps — layout + blur only */
.sekiro-swimlane__wisp {
    filter: blur(48px);
    animation: sekiro-swimlane-wisp-drift 14s ease-in-out infinite;
}

.sekiro-swimlane__wisp--a {
    top: 8%;
    left: -4%;
    width: 16rem;
    height: 10rem;
    animation-delay: 0s;
}

.sekiro-swimlane__wisp--b {
    top: 42%;
    right: -6%;
    width: 20rem;
    height: 12rem;
    animation-delay: 4.5s;
}

.sekiro-swimlane__wisp--c {
    bottom: 6%;
    left: 28%;
    width: 14rem;
    height: 9rem;
    animation-delay: 9s;
}

@keyframes sekiro-swimlane-wisp-drift {
    0%, 100% {
        transform: translate(0, 0) scale(1);
        opacity: .35;
    }
    50% {
        transform: translate(1.5rem, -0.75rem) scale(1.08);
        opacity: .65;
    }
}

/* typography axis: lowercase body copy */
.sekiro-swimlane__body {
    text-transform: lowercase;
}

/* pull-quote aside accent rail */
.sekiro-swimlane__pull-rail {
    width: 3px;
    min-height: 3rem;
}

/* lane focus toggle — JS-driven active state (TW + BS parity via theme tokens) */
.sekiro-swimlane__tab {
    appearance: none;
    -webkit-appearance: none;
    font: inherit;
    cursor: pointer;
    outline-offset: -2px;
    transition: border-color 180ms ease, color 180ms ease;
    background-color: transparent;
    border-style: solid;
}

.sekiro-swimlane__tab.is-active {
    border-color: var(--bs-primary);
    color: var(--bs-primary);
}

/* swimlane panel — flex/grid child must shrink below content width for overflow-x scroll */
.sekiro-swimlane__panel {
    min-width: 0;
}

/* swimlane row focus / dim states */
.sekiro-swimlane__lane {
    max-width: 100%;
    transition: opacity 220ms ease, transform 220ms ease;
}

.sekiro-swimlane__lane.is-dimmed {
    opacity: .42;
}

.sekiro-swimlane__lane.is-focused {
    opacity: 1;
    transform: translateY(-0.125rem);
}

/* index-card micro tile */
.sekiro-swimlane__index-card {
    width: 11.5rem;
    min-height: 9.5rem;
    flex-shrink: 0;
    scroll-snap-align: start;
    transition: transform 200ms ease, box-shadow 200ms ease;
}

.sekiro-swimlane__index-card:hover {
    transform: translateY(-0.25rem);
}

/* ruled index-card lines — currentColor only */
.sekiro-swimlane__index-card__rules {
    top: 2rem;
    background-image: repeating-linear-gradient(
        to bottom,
        transparent 0,
        transparent 0.85rem,
        currentColor 0.85rem,
        currentColor calc(0.85rem + 1px)
    );
    background-size: 100% 1.125rem;
    opacity: .08;
}

/* hole-punch marker */
.sekiro-swimlane__index-card__punch {
    width: 0.5rem;
    height: 0.5rem;
}

/* horizontal swimlane scroll snap */
.sekiro-swimlane__track {
    width: 100%;
    max-width: 100%;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
}

/* pull-quote clamp for aside width */
.sekiro-swimlane__pull-text {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 5;
    overflow: hidden;
}

/* card quote clamp */
.sekiro-swimlane__card-clamp {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 4;
    overflow: hidden;
}

@media (prefers-reduced-motion: reduce) {
    .sekiro-swimlane__scanlines,
    .sekiro-swimlane__wisp {
        animation: none;
    }

    .sekiro-swimlane__lane,
    .sekiro-swimlane__index-card {
        transition: none;
    }
}
/* hover + focus affordances (layout/outline via theme token) */
@media (hover: hover) {
    .sekiro-swimlane-root [role="listitem"]:hover,
    .sekiro-swimlane-root article:hover,
    .sekiro-swimlane-root [class*="sekiro-swimlane__card"]:hover,
    .sekiro-swimlane-root .sekiro-swimlane__book:hover,
    .sekiro-swimlane-root .sekiro-swimlane__step:hover,
    .sekiro-swimlane-root .sekiro-swimlane__index-card:hover,
    .sekiro-swimlane-root .sekiro-swimlane__pill:hover,
    .sekiro-swimlane-root .sekiro-swimlane__item:hover {
        transform: translateY(-0.125rem);
    }
}

.sekiro-swimlane-root [role="listitem"],
.sekiro-swimlane-root article,
.sekiro-swimlane-root [class*="sekiro-swimlane__card"],
.sekiro-swimlane-root .sekiro-swimlane__book,
.sekiro-swimlane-root .sekiro-swimlane__step,
.sekiro-swimlane-root .sekiro-swimlane__index-card,
.sekiro-swimlane-root .sekiro-swimlane__pill {
    transition: transform 200ms ease;
}

.sekiro-swimlane-root a:focus-visible,
.sekiro-swimlane-root button:focus-visible,
.sekiro-swimlane-root [tabindex="0"]:focus-visible,
.sekiro-swimlane-root input:focus-visible,
.sekiro-swimlane-root summary:focus-visible,
.sekiro-swimlane-root [role="slider"]:focus-visible {
    outline: 2px solid var(--bs-primary);
    outline-offset: 2px;
}

@media (hover: hover) {
    .sekiro-swimlane-root button:hover,
    .sekiro-swimlane-root a:hover,
    .sekiro-swimlane-root summary:hover {
        opacity: 0.92;
    }
}

