/* ══════════════════════════════════════════════════════
   WIN AGENCY — TESTIMONIALS PAGE
   Professional Authority Orbital Hero + existing sections
   ══════════════════════════════════════════════════════ */

/* ══════════════════════════════════════════════════════
   1. ORBITAL HERO — SECTION WRAPPER
   ══════════════════════════════════════════════════════ */
.testi-orbit-hero {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    background: #f8fafc;
    overflow: hidden;
    overflow-x: hidden;
    font-family: 'Inter', sans-serif;
    padding-block: 0;
    box-sizing: border-box;
    width: 100%;
}

/* ── Background: very subtle blobs + dot grid ── */
.orbit-hero__bg {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 0;
}

.ohb-blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(90px);
}

.ohb-blob--a {
    width: clamp(300px, 35vw, 500px);
    height: clamp(300px, 35vw, 500px);
    background: radial-gradient(circle, rgba(99, 102, 241, 0.12) 0%, transparent 70%);
    top: -8%;
    right: 0;
    z-index: -1;
}

.ohb-blob--b {
    width: clamp(200px, 22vw, 340px);
    height: clamp(200px, 22vw, 340px);
    background: radial-gradient(circle, rgba(56, 189, 248, 0.1) 0%, transparent 70%);
    bottom: 0;
    left: 5%;
    z-index: -1;
}

.ohb-grid {
    position: absolute;
    inset: 0;
    background-image:
        radial-gradient(circle, rgba(99, 102, 241, 0.06) 1px, transparent 1px);
    background-size: 36px 36px;
}

/* ══════════════════════════════════════════════════════
   2. SPLIT-SCREEN GRID
   ══════════════════════════════════════════════════════ */
.orbit-hero__grid {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    height: 100%;
    padding-top: var(--nav-h);
    gap: clamp(2rem, 5vw, 5rem);
    width: 100%;
}

/* ══════════════════════════════════════════════════════
   3. LEFT CONTENT
   ══════════════════════════════════════════════════════ */
.orbit-hero__content {
    display: flex;
    flex-direction: column;
    gap: 1.4rem;
    /* Precise horizontal translation to optimize whitespace gap with tracking cards */
    margin-left: clamp(1.5rem, 3vw, 3.5rem);
}

/* Status pill */
.orbit-status-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.4rem 1rem;
    background: rgba(99, 102, 241, 0.08);
    border: 1px solid rgba(99, 102, 241, 0.22);
    border-radius: 100px;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: #6366f1;
    margin-bottom: 0;
    width: fit-content;
    /* GSAP: start invisible */
    opacity: 0;
    transform: translateY(16px);
}

.orbit-status-dot {
    display: block;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #6366f1;
    animation: ohStatusPulse 2s ease-in-out infinite;
    flex-shrink: 0;
}

@keyframes ohStatusPulse {

    0%,
    100% {
        opacity: 1;
        box-shadow: 0 0 0 0 rgba(99, 102, 241, 0.4);
    }

    50% {
        opacity: 0.6;
        box-shadow: 0 0 0 5px rgba(99, 102, 241, 0);
    }
}

/* Main headline */
.orbit-hero__headline {
    font-family: 'Inter', sans-serif;
    font-size: clamp(2.6rem, 5vw, 4.4rem);
    font-weight: 900;
    line-height: 1.08;
    letter-spacing: -0.04em;
    color: #0f172a;
    margin: 0;
    /* GSAP: start invisible */
    opacity: 0;
    transform: translateY(30px);
}

.orbit-hero__accent {
    color: #6366f1;
}

/* Sub-copy */
.orbit-hero__sub {
    font-size: clamp(0.92rem, 1.2vw, 1.05rem);
    color: #64748b;
    line-height: 1.78;
    max-width: 420px;
    padding-bottom: 2.5rem;
    margin: 0;
    /* GSAP: start invisible */
    opacity: 0;
    transform: translateY(20px);
}

/* CTA buttons */
.orbit-hero__btns {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 0;
    flex-wrap: wrap;
    /* GSAP: start invisible */
    opacity: 0;
    transform: translateY(20px);
}

.orbit-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.85rem 1.8rem;
    border-radius: 100px;
    font-size: 0.9rem;
    font-weight: 700;
    letter-spacing: 0.01em;
    text-decoration: none;
    transition: transform 0.22s ease, box-shadow 0.22s ease, background 0.22s;
    cursor: pointer;
    white-space: nowrap;
}

.orbit-btn--primary {
    background: linear-gradient(135deg, #6366f1 0%, #818cf8 100%);
    color: #ffffff;
    box-shadow: 0 8px 24px rgba(99, 102, 241, 0.35);
    border: none;
}

.orbit-btn--primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 14px 36px rgba(99, 102, 241, 0.45);
}

.orbit-btn--ghost {
    background: #ffffff;
    color: #1e293b;
    border: 1.5px solid #e2e8f0;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.orbit-btn--ghost:hover {
    background: #f1f5f9;
    transform: translateY(-2px);
    border-color: #cbd5e1;
}

.orbit-play-icon {
    font-size: 0.7rem;
    color: #6366f1;
}

/* Stat row */
.orbit-hero__stats {
    display: flex;
    align-items: center;
    gap: 2rem;
    margin-bottom: 0;
    flex-wrap: wrap;
    /* GSAP: start invisible */
    opacity: 0;
    transform: translateY(16px);
}

.ohstat {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
}

.ohstat__num {
    font-size: 1.55rem;
    font-weight: 900;
    color: #0f172a;
    letter-spacing: -0.04em;
    line-height: 1;
}

.ohstat__label {
    font-size: 0.7rem;
    font-weight: 500;
    color: #94a3b8;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.ohstat-sep {
    width: 1px;
    height: 36px;
    background: #e2e8f0;
    flex-shrink: 0;
}

/* Vertical SCROLL cue — bottom-right */
.about-scroll-cue {
    position: absolute;
    right: clamp(1.5rem, 3vw, 3rem);
    bottom: 2.5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    z-index: 20;
}

.about-scroll-text {
    font-size: 0.62rem;
    font-weight: 700;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: #94a3b8;
    writing-mode: vertical-rl;
}

.about-scroll-line {
    width: 1.5px;
    height: 52px;
    background: linear-gradient(to bottom, #94a3b8, transparent);
    border-radius: 2px;
    animation: aboutScrollPulse 2.2s ease-in-out infinite;
}

@keyframes aboutScrollPulse {
    0%, 100% { opacity: 0.4; transform: scaleY(1); }
    50% { opacity: 1; transform: scaleY(1.18); }
}

@media (max-width: 768px) {
    .about-scroll-cue {
        display: none;
    }
}

/* ══════════════════════════════════════════════════════
   4. RIGHT — ORBITAL STAGE
   ══════════════════════════════════════════════════════ */
/*
   The stage is a FIXED 520×400 box that matches the SVG viewBox and
   offset-path coordinates exactly. CSS scale() makes it responsive.
*/
.orbit-hero__stage {
    position: relative;
    width: 520px;
    height: 400px;
    flex-shrink: 0;
    margin: 0 auto;
    /* GSAP: start invisible */
    opacity: 0;
    transform: scale(0.92);
    transform-origin: center center;
}

/* ── Subtle scale-down on 1025–1100px only (PC range, safe) ── */
@media (max-width: 1100px) and (min-width: 1025px) {
    .orbit-hero__stage {
        transform: scale(0.85) translateX(2%);
    }

    .orbit-hero__stage.gsap-done {
        transform: scale(0.85) translateX(2%);
    }
}

/* ══════════════════════════════════════════════════════
   MOBILE STAGE CENTERING, PATH-LOCK & ICON SCALING (≤ 1024px)
   ──────────────────────────────────────────────────────
   Strategy:
   • The stage is a fixed 520×400 canvas so offset-path
     coords (in px) are always correct at every scale.
   • stage-wrap is a flex-centred container with
     margin: 0 auto to enforce viewport-center alignment.
   • transform-origin is ALWAYS center center so scale()
     never shifts the visual centre of the stage.
   • Badge is pinned at left:260px / top:200px matching
     the SVG cx/cy — the EXACT mathematical centre.
   • Nodes are scaled DOWN 30% (inner:28px, mid:25px,
     outer:31px) so they remain delicate and do NOT
     overlap the central badge on small screens.
   • offset-path path() coords are unchanged — nodes
     still follow their precise elliptical paths.
   • No translateZ(0) override on .onode — that would
     break offset-path compositing on mobile.
   ══════════════════════════════════════════════════════ */
@media (max-width: 1024px) {

    /* ── Full-width centering shell ── */
    .orbit-hero__stage-wrap {
        display: flex;
        justify-content: center;
        align-items: center;
        width: 100%;
        /* updated per sub-breakpoint below */
        height: 340px;
        overflow: hidden;
        position: relative;
        max-width: 100%;
        margin-left: auto;
        margin-right: auto;
        /* mathematical horizontal centering within grid column */
    }

    /* ── Stage: preserve native 520×400px coordinate system.
       GSAP applies scale(N) via transform; transform-origin center
       ensures the visual midpoint never drifts. ── */
    .orbit-hero__stage {
        width: 520px !important;
        height: 400px !important;
        margin: 0 !important;
        transform-origin: center center !important;
        flex-shrink: 0;
    }

    /* ── Badge: mathematically centred within the 520×400 stage.
       SVG ellipses share cx=260, cy=200. We pin exactly there. ── */
    .orbit-central-badge {
        left: 260px !important;
        top: 200px !important;
        transform: translate(-50%, -50%) !important;
        -webkit-backface-visibility: hidden;
        backface-visibility: hidden;
    }

    /* ── ICON SIZE REDUCTION: 30% smaller on all mobile ──
       Base sizes on desktop: inner=40px, mid=36px, outer=44px.
       After ×0.70:            inner=28px, mid=25px, outer=31px.
       offset-path paths are unchanged — icons still stay on
       their elliptical trajectories; only their visual footprint
       shrinks so they look delicate and avoid badge overlap. ── */
    .onode {
        width: 28px !important;
        height: 28px !important;
        border-radius: 7px !important;
        will-change: offset-distance;
        -webkit-backface-visibility: hidden;
        backface-visibility: hidden;
        /* Do NOT add translateZ(0) — it breaks offset-path on mobile */
    }

    .onode--mid {
        width: 25px !important;
        height: 25px !important;
        border-radius: 6px !important;
    }

    .onode--outer {
        width: 31px !important;
        height: 31px !important;
        border-radius: 8px !important;
    }

    /* ── Stack hero layout on all sub-1024 screens ── */
    .orbit-hero__grid {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .orbit-hero__content {
        align-items: center;
        margin-left: 0;
        padding-inline: clamp(1rem, 4vw, 2rem);
        box-sizing: border-box;
    }

    .orbit-hero__sub {
        max-width: 520px;
        text-align: center;
    }

    .orbit-hero__btns {
        justify-content: center;
    }

    .orbit-hero__stats {
        justify-content: center;
    }
}

/* ── Tablet (769–1024px): wrap height = 400 × 0.765 ── */
@media (max-width: 1024px) and (min-width: 769px) {
    .orbit-hero__stage-wrap {
        height: 306px;
    }
}

/* ── Mobile landscape / small tablet (481–768px) ── */
@media (max-width: 768px) {

    /* clip-path clips even GPU-promoted compositing layers — unlike
       overflow:hidden which GSAP's layer promotion can bypass. */
    .testi-orbit-hero {
        clip-path: inset(0);
        overflow: hidden;
    }

    .orbit-hero__stage-wrap {
        height: 280px;
        /* 400 × 0.70 */
        overflow: hidden;
        width: 100%;
        max-width: 100vw;
    }

    .orbit-hero__grid {
        overflow: hidden;
        max-width: 100%;
        grid-template-columns: 1fr;
    }

    .orbit-hero__headline {
        font-size: clamp(1.9rem, 7vw, 2.8rem);
        max-width: 100%;
        width: 100%;
        word-break: break-word;
        overflow-wrap: break-word;
    }

    .orbit-hero__sub {
        max-width: 90vw;
        font-size: clamp(0.88rem, 3vw, 1rem);
        word-break: break-word;
    }

    .orbit-hero__btns {
        margin-bottom: 2.5rem;
        flex-direction: column;
        align-items: center;
        width: 100%;
    }

    .orbit-btn {
        width: 100%;
        max-width: 320px;
        justify-content: center;
    }

    .orbit-hero__stats {
        gap: 1rem;
        justify-content: center;
        flex-wrap: wrap;
        width: 100%;
    }

    .ohstat-sep {
        display: none;
    }
}

/* ── Mobile portrait (≤ 480px) ──
   IMPORTANT: We do NOT scale the stage-wrap here.
   GSAP already sets scale(0.55) on the #ohStage element.
   Scaling the WRAP as well would double-shrink the animation
   AND break the badge-centering math GSAP calculates at load.
   The stage-wrap height is reduced to match the GSAP scale. */
@media (max-width: 480px) {

    .orbit-hero__stage-wrap {
        height: 220px;
        /* matches 400 × 0.55 GSAP targetScale visual height */
    }

    .orbit-hero__headline {
        font-size: clamp(1.7rem, 8vw, 2.2rem);
        line-height: 1.12;
    }

    .orbit-hero__btns {
        flex-direction: column;
        align-items: center;
        text-align: center;
        margin-bottom: 3rem;
    }

    .orbit-status-pill {
        font-size: 0.65rem;
    }
}

/* ── Very small phones (≤ 360px) ── */
@media (max-width: 360px) {
    .orbit-hero__stage-wrap {
        height: 188px;
        /* matches 400 × 0.47 GSAP targetScale visual height */
    }

    .orbit-hero__headline {
        font-size: clamp(1.6rem, 9vw, 2.2rem);
    }
}

/* ── SVG orbit rings ── */
.orbit-rings-svg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    overflow: visible;
}

/* ── SVG orbit ring strokes ── */
.oring {
    fill: none;
    stroke-width: 1.5;
    stroke-dasharray: 7 5;
}

.oring--inner {
    stroke: rgba(99, 102, 241, 0.28);
}

.oring--mid {
    stroke: rgba(99, 102, 241, 0.18);
}

.oring--outer {
    stroke: rgba(99, 102, 241, 0.13);
}

/* ══════════════════════════════════════════════════════
   CSS MOTION PATH — offset-path: path()
   ──────────────────────────────────────────────────────
   Stage is 520×400. Ellipse centres at (260,200).

   SVG arc formula for a full ellipse:
     M (cx+rx) cy  A rx ry 0 1 1 (cx-rx) cy
                   A rx ry 0 1 1 (cx+rx) cy

   Inner  (rx=145, ry=88):
     M 405,200 A 145,88  0 1 1 115,200 A 145,88  0 1 1 405,200

   Mid    (rx=190, ry=115):
     M 450,200 A 190,115 0 1 1 70,200  A 190,115 0 1 1 450,200

   Outer  (rx=240, ry=146):
     M 500,200 A 240,146 0 1 1 20,200  A 240,146 0 1 1 500,200
   ══════════════════════════════════════════════════════ */

/* ── Shared node styles ── */
.onode {
    position: absolute;
    /* needed for offset-path positioning */
    top: 0;
    left: 0;
    /* offset-path positions from top-left of stage */
    width: 40px;
    height: 40px;
    background: #ffffff;
    border: 2.5px solid #6366f1;
    border-radius: 10px;
    box-shadow:
        0 0 0 6px rgba(99, 102, 241, 0.07),
        0 6px 24px rgba(99, 102, 241, 0.22),
        0 2px 6px rgba(0, 0, 0, 0.08);
    /* Center the node ON the path */
    offset-anchor: center center;
    offset-rotate: 0deg;
    /* keep squares upright */
    /* subtle glass inner highlight */
    background-image: linear-gradient(135deg, rgba(255, 255, 255, 1) 0%, rgba(240, 242, 255, 0.85) 100%);
    pointer-events: none;
    /* GPU compositing hints for smooth animation everywhere */
    will-change: offset-distance;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    animation: traceOrbit 10s linear infinite;
}

/* Tiny indigo fill chip inside every node */
.onode::after {
    content: '';
    position: absolute;
    inset: 28%;
    border-radius: 4px;
    background: rgba(99, 102, 241, 0.22);
}

@keyframes traceOrbit {
    from {
        offset-distance: 0%;
    }

    to {
        offset-distance: 100%;
    }
}

/* ── Inner ring nodes ── */
.onode--inner {
    offset-path: path('M 405,200 A 145,88 0 1 1 115,200 A 145,88 0 1 1 405,200');
    animation-duration: 9s;
}

/* 180° start offset: delay = half the period */
.onode--i1 {
    animation-delay: 0s;
}

.onode--i2 {
    animation-delay: -4.5s;
}

/* ── Mid ring nodes ── */
.onode--mid {
    offset-path: path('M 450,200 A 190,115 0 1 1 70,200 A 190,115 0 1 1 450,200');
    animation-duration: 13s;
    animation-direction: reverse;
    /* counter-clockwise */
    width: 36px;
    height: 36px;
}

.onode--m1 {
    animation-delay: 0s;
}

.onode--m2 {
    animation-delay: -6.5s;
}

/* ── Outer ring nodes ── */
.onode--outer {
    offset-path: path('M 500,200 A 240,146 0 1 1 20,200 A 240,146 0 1 1 500,200');
    animation-duration: 17s;
    width: 44px;
    height: 44px;
    border-radius: 12px;
}

.onode--o1 {
    animation-delay: 0s;
}

.onode--o2 {
    animation-delay: -8.5s;
}

/* ── Floating node squares ── */
/*
  We animate nodes along elliptical paths using CSS custom property
  tweening via @keyframes, since offset-path: ellipse() has limited
  support. We calculate (x, y) positions on each ellipse manually
  and animate between them with a step-like cubic-bezier approach.
*/

.orbit-node {
    position: absolute;
    width: 0;
    height: 0;
    /* Center of the stage as anchor */
    left: 50%;
    top: 50%;
    pointer-events: none;
}

.on__inner {
    width: clamp(30px, 4.5vw, 44px);
    height: clamp(30px, 4.5vw, 44px);
    background: rgba(255, 255, 255, 0.9);
    border: 2px solid rgba(99, 102, 241, 0.5);
    border-radius: clamp(6px, 1vw, 10px);
    box-shadow:
        0 4px 20px rgba(99, 102, 241, 0.18),
        0 1px 4px rgba(0, 0, 0, 0.06),
        inset 0 1px 0 rgba(255, 255, 255, 0.9);
    /* offset so node center is at (0,0) relative to parent */
    transform: translate(-50%, -50%);
    -webkit-backdrop-filter: blur(8px);
    backdrop-filter: blur(8px);
    position: relative;
}

/* Tiny indigo dot inside each node for the "profile avatar" look */
.on__inner::after {
    content: '';
    position: absolute;
    inset: 25%;
    border-radius: 3px;
    background: rgba(99, 102, 241, 0.18);
}

/*
  INNER ring (rx=145, ry=88 in SVG, but our stage is % relative).
  In a 540×420 viewport that's rx≈145/270 ≈ 53.7% of half-width = 54%,
  ry≈88/210 ≈ 42% of half-height = 42%.
  Nodes travel: (cos θ × rx, sin θ × ry) from centre.
*/

/* Node A — inner ring, slow CW */
.on--a {
    animation: orbitInnerA 10s linear infinite;
}

@keyframes orbitInnerA {
    0% {
        transform: translate(calc(145px * 1.0), calc(88px * 0.0));
    }

    25% {
        transform: translate(calc(145px * 0.0), calc(88px * 1.0));
    }

    50% {
        transform: translate(calc(145px * -1.0), calc(88px * 0.0));
    }

    75% {
        transform: translate(calc(145px * 0.0), calc(88px * -1.0));
    }

    100% {
        transform: translate(calc(145px * 1.0), calc(88px * 0.0));
    }
}

/* Node B — inner ring, CW, offset 120° */
.on--b {
    animation: orbitInnerB 10s linear infinite;
}

@keyframes orbitInnerB {
    0% {
        transform: translate(calc(145px * -0.5), calc(88px * 0.866));
    }

    25% {
        transform: translate(calc(145px * 0.866), calc(88px * 0.5));
    }

    50% {
        transform: translate(calc(145px * 0.5), calc(88px * -0.866));
    }

    75% {
        transform: translate(calc(145px * -0.866), calc(88px * -0.5));
    }

    100% {
        transform: translate(calc(145px * -0.5), calc(88px * 0.866));
    }
}

/* Node C — inner ring, CW, offset 240° */
.on--c {
    animation: orbitInnerC 10s linear infinite;
}

@keyframes orbitInnerC {
    0% {
        transform: translate(calc(145px * -0.5), calc(88px * -0.866));
    }

    25% {
        transform: translate(calc(145px * -0.866), calc(88px * 0.5));
    }

    50% {
        transform: translate(calc(145px * 0.5), calc(88px * 0.866));
    }

    75% {
        transform: translate(calc(145px * 0.866), calc(88px * -0.5));
    }

    100% {
        transform: translate(calc(145px * -0.5), calc(88px * -0.866));
    }
}

/* Node D — outer ring, slow CCW */
.on--d {
    animation: orbitOuterD 16s linear infinite reverse;
}

@keyframes orbitOuterD {
    0% {
        transform: translate(calc(230px * 1.0), calc(140px * 0.0));
    }

    25% {
        transform: translate(calc(230px * 0.0), calc(140px * 1.0));
    }

    50% {
        transform: translate(calc(230px * -1.0), calc(140px * 0.0));
    }

    75% {
        transform: translate(calc(230px * 0.0), calc(140px * -1.0));
    }

    100% {
        transform: translate(calc(230px * 1.0), calc(140px * 0.0));
    }
}

/* Node E — outer ring, CCW, offset 120° */
.on--e {
    animation: orbitOuterE 16s linear infinite reverse;
}

@keyframes orbitOuterE {
    0% {
        transform: translate(calc(230px * -0.5), calc(140px * 0.866));
    }

    25% {
        transform: translate(calc(230px * 0.866), calc(140px * 0.5));
    }

    50% {
        transform: translate(calc(230px * 0.5), calc(140px * -0.866));
    }

    75% {
        transform: translate(calc(230px * -0.866), calc(140px * -0.5));
    }

    100% {
        transform: translate(calc(230px * -0.5), calc(140px * 0.866));
    }
}

/* Node F — outer ring, CCW, offset 240° */
.on--f {
    animation: orbitOuterF 16s linear infinite reverse;
}

@keyframes orbitOuterF {
    0% {
        transform: translate(calc(230px * -0.5), calc(140px * -0.866));
    }

    25% {
        transform: translate(calc(230px * -0.866), calc(140px * 0.5));
    }

    50% {
        transform: translate(calc(230px * 0.5), calc(140px * 0.866));
    }

    75% {
        transform: translate(calc(230px * 0.866), calc(140px * -0.5));
    }

    100% {
        transform: translate(calc(230px * -0.5), calc(140px * -0.866));
    }
}

/* ── Central floating badge ── */
.orbit-central-badge {
    position: absolute;
    left: 260px;
    /* = exact SVG ellipse cx (260px) for all three rings */
    top: 200px;
    /* = cy of the SVG ellipses */
    transform: translate(-50%, -50%);
    z-index: 10;

    width: 148px;
    height: 148px;
    border-radius: 50%;

    background: #ffffff;
    border: 1px solid rgba(99, 102, 241, 0.16);
    box-shadow:
        0 0 0 16px rgba(99, 102, 241, 0.05),
        0 0 0 32px rgba(99, 102, 241, 0.025),
        0 20px 60px rgba(99, 102, 241, 0.15),
        0 4px 16px rgba(0, 0, 0, 0.07);

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.2rem;

    /* CSS float animation runs; GSAP pops in on load */
    animation: ohBadgeFloat 4s ease-in-out infinite;
    /* GSAP: start invisible */
    opacity: 0;
    transform: translate(-50%, -50%) scale(0.8);
}

@keyframes ohBadgeFloat {

    0%,
    100% {
        transform: translate(-50%, calc(-50% - 5px));
    }

    50% {
        transform: translate(-50%, calc(-50% + 5px));
    }
}

.ocb__num {
    font-family: 'Inter', sans-serif;
    font-size: 2rem;
    font-weight: 900;
    color: #6366f1;
    letter-spacing: -0.04em;
    line-height: 1;
}

.ocb__label {
    font-size: 0.72rem;
    font-weight: 600;
    color: #94a3b8;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

/* ══════════════════════════════════════════════════════
   5. RESPONSIVE — Orbital Hero
   ══════════════════════════════════════════════════════ */

/* ── Stage: ensure no stray constraints at ≤860px ── */
@media (max-width: 860px) {
    .orbit-hero__stage {
        max-width: none !important;
        aspect-ratio: unset !important;
    }
}


/* ══════════════════════════════════════════════════════
   6. ORIGINAL PAGE SECTIONS (preserved)
   ══════════════════════════════════════════════════════ */



/* ══════════════════════════════════════════════════════
   2. REFRACTIVE BLOB BACKGROUND
   ══════════════════════════════════════════════════════ */
.refractive-bg {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 0;
}

/* Shared blob base */
.rblob {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.32;
    will-change: transform;
}

/* Blob 1 — sky blue, top-right */
.rblob--1 {
    width: clamp(380px, 45vw, 620px);
    height: clamp(380px, 45vw, 620px);
    background: radial-gradient(circle at 40% 40%, #38bdf8, #0ea5e9 60%, transparent 80%);
    top: -15%;
    right: -10%;
}

/* Blob 2 — lavender, bottom-left */
.rblob--2 {
    width: clamp(300px, 38vw, 520px);
    height: clamp(300px, 38vw, 520px);
    background: radial-gradient(circle at 60% 60%, #a5b4fc, #818cf8 60%, transparent 80%);
    bottom: -18%;
    left: -8%;
}

/* Blob 3 — cyan accent, centre-left */
.rblob--3 {
    width: clamp(180px, 22vw, 300px);
    height: clamp(180px, 22vw, 300px);
    background: radial-gradient(circle at 50% 50%, #67e8f9, #22d3ee 60%, transparent 80%);
    top: 38%;
    left: 22%;
    opacity: 0.22;
}

/* Fine dot-grid overlay for texture */
.rblob-grid {
    position: absolute;
    inset: 0;
    background-image:
        radial-gradient(circle, rgba(14, 165, 233, 0.07) 1px, transparent 1px);
    background-size: 32px 32px;
    pointer-events: none;
}

/* ══════════════════════════════════════════════════════
   3. HERO CONTENT STACK
   ══════════════════════════════════════════════════════ */
.testi-hero__stack {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 0;
    /* controlled by individual margins */
}

/* ── Eyebrow ── */
.testi-eyebrow-wrap {
    overflow: hidden;
    margin-bottom: 1.75rem;
    /* initial GSAP state */
    opacity: 0;
    transform: translateY(20px);
}

.testi-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: #0ea5e9;
    background: rgba(14, 165, 233, 0.07);
    border: 1px solid rgba(14, 165, 233, 0.2);
    padding: 0.4rem 1.1rem;
    border-radius: 100px;
    margin: 0;
}

.eyebrow-dot {
    display: block;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #38bdf8;
    animation: eyebrowBlink 2s ease-in-out infinite;
}

@keyframes eyebrowBlink {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.15;
    }
}

/* ── Masked headline ── */
.testi-headline {
    font-family: 'Inter', sans-serif;
    font-size: clamp(3.2rem, 9vw, 8rem);
    font-weight: 900;
    line-height: 1.0;
    letter-spacing: -0.04em;
    color: #0f172a;
    margin: 0 0 1.6rem;
}

/* Each line-wrap hides overflow so text slides up from below */
.line-wrap {
    display: block;
    overflow: hidden;
    /* small breathing room between lines */
    padding-bottom: 0.06em;
}

.tline {
    display: inline-block;
    /* GSAP starting state set in JS */
    transform: translateY(110%);
}

/* "Our Clients" — serif italic blue */
.tline-accent {
    font-family: 'Playfair Display', serif;
    font-style: italic;
    font-weight: 700;
    color: #38bdf8;
}

/* ── Magnetic node ── */
.magnetic-node {
    display: inline-block;
    width: 14px;
    height: 14px;
    background: linear-gradient(135deg, #38bdf8, #0ea5e9);
    border-radius: 50%;
    margin-left: 14px;
    vertical-align: middle;
    position: relative;
    box-shadow: 0 0 0 4px rgba(56, 189, 248, 0.15);
    will-change: transform;
    transition: box-shadow 0.3s ease;
}

.magnetic-node::after {
    content: '';
    position: absolute;
    inset: -4px;
    border-radius: 50%;
    background: rgba(56, 189, 248, 0.12);
    animation: nodeRing 2.4s ease-in-out infinite;
}

@keyframes nodeRing {

    0%,
    100% {
        transform: scale(1);
        opacity: 0.6;
    }

    50% {
        transform: scale(1.8);
        opacity: 0;
    }
}

/* Mobile — pulse + shimmer animation (no mouse events) */
@media (max-width: 768px) {
    .magnetic-node {
        animation: mobilePulse 2.2s ease-in-out infinite;
    }

    .magnetic-node::after {
        display: none;
    }
}

@keyframes mobilePulse {

    0%,
    100% {
        transform: scale(1);
        box-shadow: 0 0 0 4px rgba(56, 189, 248, 0.15);
    }

    50% {
        transform: scale(1.7);
        box-shadow: 0 0 22px rgba(56, 189, 248, 0.45);
    }
}

/* ── Sub-lead ── */
.testi-sub-wrap {
    overflow: hidden;
    /* GSAP initial state */
    opacity: 0;
    transform: translateY(28px);
}

.testi-sub {
    font-size: clamp(0.9rem, 1.4vw, 1.05rem);
    color: #64748b;
    line-height: 1.75;
    max-width: 480px;
    margin: 0 auto 2.8rem;
}

.testi-sub strong {
    color: #0f172a;
    font-weight: 800;
}

/* ── Floating micro-stats strip ── */
.testi-stats {
    display: inline-flex;
    align-items: center;
    gap: 2rem;
    padding: 1.2rem 2.4rem;
    background: rgba(255, 255, 255, 0.72);
    -webkit-backdrop-filter: blur(20px);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(14, 165, 233, 0.16);
    border-radius: 20px;
    box-shadow:
        0 8px 32px rgba(99, 102, 241, 0.08),
        0 2px 8px rgba(0, 0, 0, 0.04);
    /* GSAP initial state */
    opacity: 0;
    transform: translateY(24px);
}

.tstat {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.1rem;
}

.tstat__num {
    font-size: 1.5rem;
    font-weight: 900;
    color: #0f172a;
    letter-spacing: -0.04em;
    line-height: 1;
}

.tstat__label {
    font-size: 0.62rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #94a3b8;
}

.tstat__stars {
    font-size: 0.6rem;
    color: #f59e0b;
    letter-spacing: 2px;
}

.tstat-sep {
    width: 1px;
    height: 44px;
    background: rgba(14, 165, 233, 0.15);
    flex-shrink: 0;
}

/* ══════════════════════════════════════════════════════
   4. SCROLL CUE
   ══════════════════════════════════════════════════════ */
.testi-scroll-cue {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.45rem;
    opacity: 0;
    /* animated in by JS */
    z-index: 5;
}

.testi-scroll-text {
    font-size: 0.58rem;
    font-weight: 700;
    letter-spacing: 0.24em;
    color: #94a3b8;
}

.testi-scroll-line {
    display: block;
    width: 1.5px;
    height: 44px;
    background: linear-gradient(to bottom, #38bdf8, transparent);
    border-radius: 2px;
    animation: scrollDrop 2s ease-in-out infinite;
}

@keyframes scrollDrop {

    0%,
    100% {
        transform: scaleY(1);
        opacity: 0.5;
    }

    50% {
        transform: scaleY(1.3);
        opacity: 1;
    }
}

/* ══════════════════════════════════════════════════════
   5. RESPONSIVE TWEAKS — Hero
   ══════════════════════════════════════════════════════ */
@media (max-width: 640px) {
    .testi-stats {
        gap: 1.2rem;
        padding: 1rem 1.4rem;
        flex-wrap: wrap;
        justify-content: center;
    }

    .tstat-sep {
        display: none;
    }

    .testi-scroll-cue {
        display: none;
    }
}

/* ══════════════════════════════════════════════════════
   6. ORIGINAL PAGE SECTIONS (preserved)
   ══════════════════════════════════════════════════════ */

/* ══════════════════════════════════════════════════════
   RATING BAR — Animated Masterpiece Stat Strip
   ══════════════════════════════════════════════════════ */

/* Section wrapper: clean white, ample vertical breathing */
.rating-bar {
    background: #f8fafc;
    padding-block: 3rem 3.5rem;
    position: relative;
    overflow: hidden;
}

/* Subtle dot-grid ambiance matching the hero */
.rating-bar::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: radial-gradient(circle, rgba(99,102,241,0.05) 1px, transparent 1px);
    background-size: 32px 32px;
    pointer-events: none;
}

/* ── The glass card — initial state managed by GSAP ── */
.rating-inner {
    display: flex;
    align-items: center;
    gap: clamp(1.5rem, 3vw, 3rem);
    padding: clamp(1.75rem, 3vw, 2.5rem) clamp(2rem, 5vw, 3.5rem);
    flex-wrap: nowrap;             /* single-row on desktop   */
    justify-content: center;
    /* Glassmorphism card */
    background: rgba(255, 255, 255, 0.85);
    -webkit-backdrop-filter: blur(24px) saturate(1.4);
    backdrop-filter: blur(24px) saturate(1.4);
    border: 1.5px solid rgba(255, 255, 255, 0.75);
    border-radius: 28px;
    box-shadow:
        0 20px 50px rgba(0, 0, 0, 0.05),
        0 4px 16px rgba(99,102,241,0.06),
        inset 0 1px 0 rgba(255,255,255,0.95);
    /* 3D tilt — needed for rotateX/Y to render in 3D space */
    transform-style: preserve-3d;
    will-change: transform, box-shadow;
    position: relative;
    z-index: 1;
}

/* Inner highlight shimmer line at the top edge */
.rating-inner::before {
    content: '';
    position: absolute;
    top: 0; left: 10%; right: 10%;
    height: 1.5px;
    background: linear-gradient(90deg,
        transparent 0%,
        rgba(99,102,241,0.35) 30%,
        rgba(56,189,248,0.35) 70%,
        transparent 100%);
    border-radius: 2px;
    pointer-events: none;
}

/* ── Rating Score (4.9 block) ── */
.rating-score {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.2rem;
    flex-shrink: 0;
}

.score-num {
    font-family: 'Inter', sans-serif;
    font-size: clamp(3rem, 5vw, 4rem);
    font-weight: 900;
    letter-spacing: -0.05em;
    color: #0a0a20;
    line-height: 1;
    font-variant-numeric: tabular-nums;  /* prevents layout shift during count-up */
    display: block;
}

.stars {
    font-size: 0.95rem;
    color: #F59E0B;
    letter-spacing: 3px;
    text-shadow: 0 0 8px rgba(245,158,11,0.35);
    margin-block: 2px;
}

.rating-score p,
.rating-stat p {
    font-family: 'Inter', sans-serif;
    font-size: 0.7rem;
    font-weight: 700;
    color: #94a3b8;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    margin: 0;
}

/* ── Vertical divider — grows from centre via GSAP scaleY ── */
.rating-divider {
    width: 1px;
    height: 64px;
    background: linear-gradient(
        to bottom,
        transparent 0%,
        rgba(99,102,241,0.22) 20%,
        rgba(56,189,248,0.22) 80%,
        transparent 100%
    );
    flex-shrink: 0;
    /* GSAP manages scaleY; transform-origin set by JS */
    will-change: transform;
}

/* ── Stat blocks (120+, 98%, 100%) ── */
.rating-stat {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.15rem;
    flex-shrink: 0;
}

.rating-stat span {
    font-family: 'Inter', sans-serif;
    font-size: clamp(2.4rem, 4vw, 3.5rem);
    font-weight: 900;
    color: #6366f1;                /* indigo accent for non-rating numbers */
    letter-spacing: -0.04em;
    line-height: 1;
    font-variant-numeric: tabular-nums;
    display: block;
}

/* ── Mobile: stack to a 2×2 grid ── */
@media (max-width: 640px) {
    .rating-inner {
        flex-wrap: wrap;
        gap: 1.5rem 2rem;
        border-radius: 20px;
        padding: 1.5rem;
        justify-content: center;
    }

    .rating-divider {
        display: none;             /* clean on mobile — no dividers */
    }

    .rating-score,
    .rating-stat {
        min-width: 40%;            /* 2-up grid effect */
    }

    .score-num {
        font-size: 2.8rem;
    }

    .rating-stat span {
        font-size: 2.2rem;
        color: #6366f1;
    }
}


/* Testimonials Grid — 4 columns */
.testimonials-section {
    background: var(--off-white);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.25rem;
}

/* Cards */
.tcard {
    padding: 2rem;
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    position: relative;
    overflow: hidden;
    transition: transform 0.35s var(--ease-out), box-shadow 0.35s;
}

.tcard:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1), 0 8px 24px rgba(0, 0, 0, 0.05);
}

.tcard.featured {
    grid-column: span 2;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.07) 0%, rgba(255, 255, 255, 0.65) 100%);
    border-color: rgba(99, 102, 241, 0.2);
}

.tcard__quote-icon {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    font-size: 4rem;
    font-family: var(--font-serif);
    font-weight: 900;
    color: var(--accent-mist);
    line-height: 1;
    pointer-events: none;
    transition: color 0.3s;
}

.tcard:hover .tcard__quote-icon {
    color: var(--accent-glow);
}

.tcard blockquote {
    font-size: 0.9rem;
    line-height: 1.8;
    color: var(--dark-grey);
    position: relative;
    z-index: 1;
    flex: 1;
}

.tcard.featured blockquote {
    font-size: 1rem;
}

.tcard__footer {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding-top: 1rem;
    border-top: 1px solid var(--border-subtle);
}

.tcard__avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--accent), var(--accent-dark));
    color: #fff;
    display: grid;
    place-items: center;
    font-size: 0.8rem;
    font-weight: 800;
    flex-shrink: 0;
}

.tcard__author {
    flex: 1;
}

.tcard__name {
    font-size: 0.875rem;
    font-weight: 700;
    font-style: normal;
    color: var(--charcoal);
    display: block;
}

.tcard__author p {
    font-size: 0.75rem;
    color: var(--mid-grey);
    margin-top: 0.1rem;
}

.tcard__stars {
    font-size: 0.75rem;
    color: #F59E0B;
    letter-spacing: 1px;
}

.tcard__service-tag {
    display: inline-flex;
    align-self: flex-start;
    padding: 0.25rem 0.7rem;
    background: var(--accent-mist);
    border: 1px solid var(--accent-glow);
    border-radius: 100px;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--accent);
}

/* ── Spacing bridge after brands-section removal ──
   Keeps the grid → CTA transition airy without a gap. */
.testimonials-section {
    padding-bottom: 5rem;
}

.cta-banner {
    padding-top: 5rem;
}

@media (max-width: 1100px) {
    .testimonials-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .tcard.featured {
        grid-column: span 2;
    }
}

@media (max-width: 768px) {
    .testimonials-grid {
        grid-template-columns: 1fr;
    }

    .tcard.featured {
        grid-column: span 1;
    }

    /* ── Stats Container — Mobile Optimization ── */

    /* 1. Section breathing room */
    .rating-bar {
        padding-block: 3rem;
    }

    /* 2. Stack items vertically & center */
    .rating-inner {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 0;
        /* gaps controlled by stat items & dividers */
        padding: 2.5rem 1.5rem;
    }

    /* 3. Individual stat items */
    .rating-score,
    .rating-stat {
        width: 100%;
        display: flex;
        flex-direction: column;
        align-items: center;
        padding: 1.25rem 0;
        /* vertical breathing room per item */
        gap: 0.35rem;
    }

    /* 4. Typography scaling */
    .score-num {
        font-size: 2.6rem;
        line-height: 1.1;
    }

    .rating-stat span {
        font-size: 2rem;
    }

    .rating-score p,
    .rating-stat p {
        font-size: 0.82rem;
        margin-top: 0.2rem;
    }

    .stars {
        font-size: 1rem;
        letter-spacing: 3px;
    }

    /* 5. Dividers → horizontal centered separators */
    .rating-divider {
        width: 60px;
        /* controlled, compact width */
        height: 2px;
        background-color: #e2e8f0;
        /* light contrast for white theme */
        margin: 0 auto;
        /* centres the line */
        display: block;
        float: none;
        /* remove any PC-side floating */
        flex-shrink: 0;
    }
}



/* ══════════════════════════════════════════════════════
   GLASS TRANSACTION GALLERY — .testi-glass-section
   ══════════════════════════════════════════════════════ */

/* Outer section — full scroll runway */
.testi-glass-section {
    position: relative;
    height: 350vh;
    background: #ffffff;
    /* NO overflow:hidden here — it kills sticky positioning on child elements */
    overflow: clip;
    /* block-axis clip only, keeps sticky alive */
}

/* Sticky viewport — this is where perspective and clipping live */
.glass-viewport {
    position: sticky;
    top: 0;
    height: 100vh;
    width: 100%;
    overflow: hidden;
    perspective: 2000px;
    perspective-origin: 50% 40%;
}

/* Pinned section header */
.glass-header {
    position: absolute;
    top: clamp(2.5rem, 5vh, 4rem);
    left: clamp(1.5rem, 5vw, 5rem);
    z-index: 50;
    pointer-events: none;
}

.glass-header__tag {
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.24em;
    text-transform: uppercase;
    color: #6366f1;
    margin: 0 0 0.6rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.glass-header__tag::before {
    content: '';
    display: inline-block;
    width: 20px;
    height: 1.5px;
    background: #6366f1;
    border-radius: 2px;
}

.glass-header__title {
    font-family: 'Inter', sans-serif;
    font-size: clamp(2rem, 4.5vw, 3.8rem);
    font-weight: 900;
    letter-spacing: -0.04em;
    color: #0f172a;
    line-height: 1.05;
    margin: 0;
}

.glass-header__title em {
    font-family: 'Playfair Display', serif;
    font-style: italic;
    color: #6366f1;
}

/* Individual glass card wrapper */
.tgc {
    position: absolute;
    left: var(--gc-left, 10%);
    top: var(--gc-top, 50%);
    width: clamp(280px, 26vw, 360px);
    transform-style: preserve-3d;
    will-change: transform;
    z-index: 10;
}

/* Glass inner — the visual frosted card */
.tgc__inner {
    background: rgba(255, 255, 255, 0.52);
    -webkit-backdrop-filter: blur(18px) saturate(1.6);
    backdrop-filter: blur(18px) saturate(1.6);
    border: 1px solid rgba(255, 255, 255, 0.75);
    border-radius: 28px;
    padding: clamp(1.6rem, 3.5vw, 2.5rem);
    box-shadow:
        0 4px 6px rgba(0, 0, 0, 0.02),
        0 16px 40px rgba(14, 165, 233, 0.06),
        0 40px 100px rgba(99, 102, 241, 0.07),
        inset 0 1px 0 rgba(255, 255, 255, 0.9);
    display: flex;
    flex-direction: column;
    gap: 1.4rem;
    position: relative;
    overflow: hidden;
}

/* Frost shimmer highlight */
.tgc__inner::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg,
            rgba(255, 255, 255, 0.55) 0%,
            rgba(255, 255, 255, 0.0) 60%);
    border-radius: inherit;
    pointer-events: none;
    z-index: 0;
}

/* Service badge */
.tgc__badge {
    display: inline-flex;
    align-self: flex-start;
    padding: 0.3rem 0.8rem;
    background: rgba(56, 189, 248, 0.1);
    border: 1px solid rgba(56, 189, 248, 0.28);
    border-radius: 100px;
    font-size: 0.64rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #0ea5e9;
    position: relative;
    z-index: 1;
}

/* Quote text */
.tgc__quote {
    font-family: 'Inter', sans-serif;
    font-size: clamp(0.88rem, 1.1vw, 1.05rem);
    line-height: 1.72;
    color: #1e293b;
    margin: 0;
    quotes: none;
    position: relative;
    z-index: 1;
}

.tgc__quote::before {
    content: '\201C';
    position: absolute;
    top: -0.5rem;
    left: -0.3rem;
    font-family: 'Playfair Display', serif;
    font-size: 3.5rem;
    line-height: 1;
    color: rgba(56, 189, 248, 0.13);
    pointer-events: none;
}

/* Author row */
.tgc__foot {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(226, 232, 240, 0.8);
    position: relative;
    z-index: 1;
}

.tgc__avatar {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: linear-gradient(135deg, #6366f1, #38bdf8);
    color: #fff;
    display: grid;
    place-items: center;
    font-size: 0.72rem;
    font-weight: 800;
    flex-shrink: 0;
    letter-spacing: 0.02em;
}

.tgc__meta {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0.1rem;
}

.tgc__meta strong {
    font-size: 0.82rem;
    font-weight: 800;
    color: #0f172a;
    display: block;
}

.tgc__meta span {
    font-size: 0.7rem;
    color: #64748b;
}

.tgc__stars {
    font-size: 0.65rem;
    color: #f59e0b;
    letter-spacing: 2px;
    flex-shrink: 0;
    align-self: flex-start;
}

/* ── Avatar colour variants — driven by CSS classes ── */
.tgc__avatar--amber {
    background: linear-gradient(135deg, #f59e0b, #ef4444);
}

.tgc__avatar--violet {
    background: linear-gradient(135deg, #8b5cf6, #6366f1);
}

.tgc__avatar--cyan {
    background: linear-gradient(135deg, #06b6d4, #0ea5e9);
}

.tgc__avatar--emerald {
    background: linear-gradient(135deg, #10b981, #06b6d4);
}

.tgc__avatar--pink {
    background: linear-gradient(135deg, #ec4899, #a855f7);
}

.tgc__avatar--orange {
    background: linear-gradient(135deg, #f97316, #eab308);
}

.tgc__avatar--sky {
    background: linear-gradient(135deg, #6366f1, #38bdf8);
}

/* ══════════════════════════════════════════════════════
   MOBILE — CSS-only stacked fallback (no GSAP sticky)
   ══════════════════════════════════════════════════════ */
@media (max-width: 768px) {
    .testi-glass-section {
        height: auto;
        perspective: none;
        padding: 3rem 1rem 4rem;
    }

    .glass-viewport {
        position: static;
        height: auto;
        display: flex;
        flex-direction: column;
        gap: 1.4rem;
        overflow: visible;
    }

    .glass-header {
        position: static;
        margin-bottom: 2rem;
    }

    .tgc {
        position: static;
        width: 100%;
        max-width: 400px;
        margin: 0 auto;
        transform: none !important;
        opacity: 1 !important;
    }
}

/* ══════════════════════════════════════════════════════
   MOBILE SCROLL-REVEAL — Section 3 (Glass Gallery)
   ──────────────────────────────────────────────────────
   IntersectionObserver in testimonials.js adds
   .mobile-animate-start when the section enters view.
   PC is completely unaffected — both rules are gated
   inside @media (max-width: 768px).
   ══════════════════════════════════════════════════════ */
@media (max-width: 768px) {

    /* ── Initial hidden state — section starts invisible on mobile ── */
    .testi-glass-section {
        opacity: 0;
        transform: translateY(30px);
        transition: opacity 0.8s ease-out, transform 0.8s ease-out;
    }

    /* ── Revealed state — added by IntersectionObserver via JS ── */
    .testi-glass-section.mobile-animate-start {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ══════════════════════════════════════════════════════
   SWIPE HINT — Mobile finger-swipe indicator
   Hidden on PC; slides in after section reveal on mobile
   ══════════════════════════════════════════════════════ */

/* PC: always hidden — zero impact on desktop layout */
.tgc-swipe-hint {
    display: none;
}

@media (max-width: 768px) {

    /* ── Swipe hint wrapper — shown on mobile only ── */
    .tgc-swipe-hint {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 0.5rem;
        margin-top: 2rem;
        padding: 0.75rem 1.5rem;
        background: rgba(99, 102, 241, 0.06);
        border: 1px solid rgba(99, 102, 241, 0.15);
        border-radius: 100px;
        width: fit-content;
        margin-inline: auto;

        /* Hidden until section is revealed by IntersectionObserver */
        opacity: 0;
        transform: translateY(10px);
        transition: opacity 0.5s ease-out 0.6s, transform 0.5s ease-out 0.6s;
        /* 0.6s delay so it appears after section fade-in completes */
        pointer-events: none;
    }

    /* Fades in once JS adds .mobile-animate-start to the parent section */
    .testi-glass-section.mobile-animate-start .tgc-swipe-hint {
        opacity: 1;
        transform: translateY(0);
    }

    /* ── Finger emoji — animated left-right swipe gesture ── */
    .tgc-swipe-hint__finger {
        font-size: 1.2rem;
        display: inline-block;
        animation: swipeFinger 1.6s ease-in-out infinite;
        transform-origin: bottom center;
    }

    /* ── Arrow → ── */
    .tgc-swipe-hint__arrow {
        font-size: 1rem;
        color: #6366f1;
        font-weight: 700;
        animation: swipeArrow 1.6s ease-in-out infinite;
    }

    /* ── "Swipe to explore" label ── */
    .tgc-swipe-hint__label {
        font-size: 0.72rem;
        font-weight: 700;
        letter-spacing: 0.1em;
        text-transform: uppercase;
        color: #6366f1;
        white-space: nowrap;
    }

    /* ── Finger swipe keyframe: rocks left → right ── */
    @keyframes swipeFinger {

        0%,
        100% {
            transform: translateX(0) rotate(-5deg);
        }

        40% {
            transform: translateX(8px) rotate(5deg);
        }

        60% {
            transform: translateX(8px) rotate(5deg);
        }
    }

    /* ── Arrow pulse: nudges right in sync with finger ── */
    @keyframes swipeArrow {

        0%,
        100% {
            transform: translateX(0);
            opacity: 0.5;
        }

        40% {
            transform: translateX(4px);
            opacity: 1;
        }

        60% {
            transform: translateX(4px);
            opacity: 1;
        }
    }
}

/* Accessibility: respect system preference for reduced motion */
@media (prefers-reduced-motion: reduce) {
    .testi-glass-section {
        transition: none;
    }

    .tgc-swipe-hint,
    .tgc-swipe-hint__finger,
    .tgc-swipe-hint__arrow {
        animation: none;
        transition: none;
    }
}


/* ══════════════════════════════════════════════════════
   LIVING TESTIMONIAL STACK (LTS)
   Right-side hero animation — replaces orbital rings
   ══════════════════════════════════════════════════════ */

/* ── Outer wrapper — same spatial area the orbit stage used ── */
.lts-wrap {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1.8rem;
    min-height: 440px;
    /* GSAP: start invisible, scale from below */
    opacity: 0;
    transform: translateY(28px);
}

/* ── Ambient decorative rings (background layer) ── */
.lts-ambient {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 0;
}

.lts-ambient__ring {
    position: absolute;
    border-radius: 50%;
    border: 1px solid rgba(99, 102, 241, 0.1);
    animation: ltsRingPulse 6s ease-in-out infinite;
}

.lts-ambient__ring--a {
    width: 340px;
    height: 340px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation-delay: 0s;
}

.lts-ambient__ring--b {
    width: 480px;
    height: 480px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border-color: rgba(99, 102, 241, 0.06);
    animation-delay: -3s;
}

@keyframes ltsRingPulse {
    0%, 100% { opacity: 0.5; transform: translate(-50%, -50%) scale(1); }
    50%       { opacity: 1;   transform: translate(-50%, -50%) scale(1.04); }
}

.lts-ambient__glow {
    position: absolute;
    width: 260px;
    height: 260px;
    border-radius: 50%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: radial-gradient(circle, rgba(99, 102, 241, 0.08) 0%, transparent 70%);
    filter: blur(30px);
    animation: ltsGlowBreathe 8s ease-in-out infinite;
}

@keyframes ltsGlowBreathe {
    0%, 100% { opacity: 0.6; transform: translate(-50%, -50%) scale(0.95); }
    50%       { opacity: 1;   transform: translate(-50%, -50%) scale(1.1); }
}

/* ── Card Stack — 3D perspective container ── */
.lts-stack {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 460px;
    /* perspective on the STACK drives the 3D depth illusion */
    perspective: 1000px;
    perspective-origin: 50% 40%;
    /* Height = active card + stacked offset */
    height: 280px;
}

/* ── Individual testimonial card ── */
.lts-card {
    position: absolute;
    inset: 0;
    border-radius: 20px;
    /* all cards fill the stack box */
    transition:
        transform 0.72s cubic-bezier(0.22, 1, 0.36, 1),
        opacity   0.72s cubic-bezier(0.22, 1, 0.36, 1),
        filter    0.72s cubic-bezier(0.22, 1, 0.36, 1),
        box-shadow 0.72s cubic-bezier(0.22, 1, 0.36, 1);
    will-change: transform, opacity, filter;
    cursor: default;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;

    /* ── Default / background cards ── */
    opacity: 0;
    transform: translateY(32px) scale(0.88) translateZ(-80px);
    filter: blur(2px) saturate(0.7);
    pointer-events: none;
}

/* ── Stacked depth layers (2nd, 3rd, 4th card behind active) ── */
.lts-card.lts-behind-1 {
    opacity: 0.55;
    transform: translateY(18px) scale(0.93) translateZ(-40px);
    filter: blur(1px) saturate(0.85);
    pointer-events: none;
}

.lts-card.lts-behind-2 {
    opacity: 0.3;
    transform: translateY(32px) scale(0.87) translateZ(-80px);
    filter: blur(2.5px) saturate(0.6);
    pointer-events: none;
}

.lts-card.lts-behind-3 {
    opacity: 0.15;
    transform: translateY(44px) scale(0.82) translateZ(-120px);
    filter: blur(4px) saturate(0.4);
    pointer-events: none;
}

/* ── ACTIVE card: front, sharp, no blur ── */
.lts-card.lts-active {
    opacity: 1;
    transform: translateY(0) scale(1) translateZ(0);
    filter: none;
    pointer-events: auto;
    z-index: 10;
    box-shadow:
        0 10px 40px rgba(0, 0, 0, 0.09),
        0 4px 12px rgba(0, 0, 0, 0.05),
        0 0 0 1px rgba(0, 0, 0, 0.04);
}

/* ── Exiting card: flies up and out ── */
.lts-card.lts-exiting {
    opacity: 0;
    transform: translateY(-48px) scale(0.95) translateZ(20px);
    filter: blur(1px);
    pointer-events: none;
    transition-duration: 0.55s;
}

/* ── Inner glassmorphism surface ── */
.lts-card__inner {
    height: 100%;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.82);
    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(0, 0, 0, 0.06);
    padding: clamp(1.4rem, 3.5vw, 2rem);
    display: flex;
    flex-direction: column;
    gap: 1rem;
    box-sizing: border-box;
    /* subtle top-left highlight */
    background-image: linear-gradient(
        135deg,
        rgba(255, 255, 255, 0.95) 0%,
        rgba(248, 250, 252, 0.8) 100%
    );
}

/* ── Large decorative quotation mark ── */
.lts-card__quote-icon {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 4rem;
    line-height: 0.6;
    color: rgba(99, 102, 241, 0.18);
    letter-spacing: -0.04em;
    -webkit-user-select: none;
    user-select: none;
    flex-shrink: 0;
}

/* ── Testimonial text ── */
.lts-card__text {
    font-size: clamp(0.88rem, 1.3vw, 0.98rem);
    color: #334155;
    line-height: 1.74;
    flex: 1;
    font-style: normal;
    margin: 0;
}

/* ── Author row ── */
.lts-card__author {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    flex-wrap: nowrap;
    margin-top: auto;
}

/* ── Avatar circle ── */
.lts-card__avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.72rem;
    font-weight: 800;
    color: #ffffff;
    flex-shrink: 0;
    letter-spacing: 0.02em;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.15);
}

/* ── Avatar colour variants ── */
.lts-avatar--indigo  { background: linear-gradient(135deg, #6366f1, #818cf8); }
.lts-avatar--sky     { background: linear-gradient(135deg, #0ea5e9, #38bdf8); }
.lts-avatar--emerald { background: linear-gradient(135deg, #10b981, #06b6d4); }
.lts-avatar--violet  { background: linear-gradient(135deg, #a855f7, #ec4899); }

/* ── Name + role ── */
.lts-card__meta {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
}

.lts-card__name {
    font-size: 0.88rem;
    font-weight: 700;
    color: #0f172a;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.lts-card__role {
    font-size: 0.72rem;
    font-weight: 500;
    color: #64748b;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* ── Stars ── */
.lts-card__stars {
    font-size: 0.78rem;
    color: #f59e0b;
    letter-spacing: 0.04em;
    flex-shrink: 0;
    margin-left: auto;
    align-self: flex-start;
    padding-top: 2px;
}

/* ── Dot navigation ── */
.lts-dots {
    position: relative;
    z-index: 3;
    display: flex;
    align-items: center;
    gap: 0.6rem;
}

.lts-dot {
    position: relative;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    border: none;
    background: rgba(99, 102, 241, 0.2);
    cursor: pointer;
    padding: 0;
    transition: width 0.35s cubic-bezier(0.22, 1, 0.36, 1),
                background 0.3s ease,
                transform 0.3s ease;
    outline: none;
    flex-shrink: 0;
}

.lts-dot::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 44px;
    height: 44px;
    transform: translate(-50%, -50%);
}

.lts-dot:hover {
    background: rgba(99, 102, 241, 0.4);
    transform: scale(1.25);
}

.lts-dot--active {
    width: 24px;
    border-radius: 4px;
    background: #6366f1;
}

/* ── Desktop hover 3D tilt on active card ── */
@media (hover: hover) {
    .lts-card.lts-active {
        transition:
            transform 0.72s cubic-bezier(0.22, 1, 0.36, 1),
            opacity   0.72s cubic-bezier(0.22, 1, 0.36, 1),
            filter    0.72s cubic-bezier(0.22, 1, 0.36, 1),
            box-shadow 0.4s ease;
    }
    /* JS handles the rotateX/Y tilt; card itself emits a subtle lift on hover */
    .lts-card.lts-active:hover {
        box-shadow:
            0 20px 60px rgba(0, 0, 0, 0.13),
            0 8px 24px rgba(0, 0, 0, 0.07),
            0 0 0 1px rgba(99, 102, 241, 0.08);
    }
}

/* ── Breathing / float animation (CSS) ── */
@keyframes ltsFloat {
    0%, 100% { transform: translateY(0)   scale(1)   translateZ(0); }
    50%       { transform: translateY(-6px) scale(1) translateZ(0); }
}

/* Applied via JS class after GSAP entrance completes */
.lts-card.lts-active.lts-floating {
    animation: ltsFloat 4s ease-in-out infinite;
}

/* ══════════════════════════════════════════════════════
   LTS — RESPONSIVE
   ══════════════════════════════════════════════════════ */

/* ── Tablet (769–1024px): stack wraps below left content ── */
@media (max-width: 1024px) {
    .lts-wrap {
        width: 100%;
        max-width: 500px;
        margin: 0 auto;
        min-height: 360px;
    }

    .lts-stack {
        max-width: 100%;
        height: 260px;
    }
}

/* ── Mobile (≤ 768px): simplified, no heavy 3D ── */
@media (max-width: 768px) {
    .lts-wrap {
        min-height: 300px;
        padding: 0 clamp(0.5rem, 3vw, 1rem);
        box-sizing: border-box;
        opacity: 1 !important;
        transform: none !important;
    }

    .lts-ambient__ring--b {
        display: none;
    }

    /* Card stack: 90% width, hard cap 360px, centred */
    .lts-stack {
        height: 250px;
        perspective: none;
        width: 90% !important;
        max-width: 360px !important;
        margin: 0 auto !important;
        box-sizing: border-box !important;
    }

    /* Flatten 3D depths */
    .lts-card.lts-behind-1 {
        transform: translateY(8px) scale(0.95);
        filter: blur(0.5px);
    }

    .lts-card.lts-behind-2 {
        transform: translateY(16px) scale(0.90);
        filter: none;
    }

    .lts-card.lts-behind-3 {
        transform: translateY(24px) scale(0.85);
        filter: none;
    }

    .lts-card.lts-active {
        transform: translateY(0) scale(1);
    }

    /* Reduced travel distance on exit — prevents edge bleed */
    .lts-card.lts-exiting {
        transform: translateY(-28px) scale(0.96);
    }

    /* Quote icon: 20% smaller than desktop (desktop=4rem → 3.2rem) */
    .lts-card__quote-icon {
        font-size: 2.4rem;
        line-height: 0.55;
    }

    /* Inner padding: compact flat value */
    .lts-card__inner {
        padding: 1.5rem !important;
        box-sizing: border-box !important;
    }

    /* Blockquote text: tight enough for long testimonials */
    .lts-card__text {
        font-size: clamp(0.78rem, 2.8vw, 0.88rem);
        line-height: 1.62;
        /* Clamp to 4 lines max, show ellipsis for very long content */
        display: -webkit-box;
        -webkit-line-clamp: 4;
        line-clamp: 4;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }

    /* Avatar: 20% smaller (desktop=44px → 35px) */
    .lts-card__avatar {
        width: 35px;
        height: 35px;
        font-size: 0.65rem;
    }

    /* Dot nav: centred with clear gap above */
    .lts-dots {
        justify-content: center !important;
        margin-top: 1.5rem !important;
    }

    /* Disable breathing float on mobile */
    .lts-card.lts-active.lts-floating {
        animation: none;
    }
}

/* ══ MOBILE FIX: HERO STACKING CONTEXT & ALIGNMENT (max-width: 767px) ══ */
@media (max-width: 767px) {
    /* Stacking + overflow lock — prevents h-scroll during card-swap */
    .testi-orbit-hero {
        position: relative;
        z-index: 20 !important;
        overflow: hidden !important;
        overflow-x: hidden !important;
        clip-path: none !important;
        padding-top: clamp(2rem, 6vw, 3rem) !important;
        padding-bottom: clamp(3rem, 10vw, 5rem) !important;
        width: 100vw !important;
        max-width: 100vw !important;
        box-sizing: border-box !important;
    }

    /* Push second section behind Hero */
    .rating-bar, .testi-glass-section {
        position: relative;
        z-index: 10 !important;
    }

    .rating-bar {
        margin-top: 0 !important;
    }

    /* Hero grid: centred vertical stack */
    .orbit-hero__grid {
        grid-template-columns: 1fr !important;
        text-align: center !important;
        height: auto !important;
        padding-top: var(--nav-h) !important;
        padding-inline: clamp(1.25rem, 5vw, 2rem) !important;
        row-gap: clamp(1.5rem, 5vw, 2.5rem) !important;
        box-sizing: border-box !important;
        width: 100% !important;
        max-width: 100% !important;
    }

    /* Headline — exact clamp per spec */
    .orbit-hero__headline {
        font-size: clamp(2rem, 8vw, 2.5rem) !important;
        word-break: break-word !important;
        overflow-wrap: break-word !important;
        width: 100% !important;
        max-width: 100% !important;
        margin-inline: auto !important;
    }

    /* Sub-copy — clamped with auto side guard */
    .orbit-hero__sub {
        font-size: clamp(0.875rem, 3vw, 1rem) !important;
        max-width: calc(100% - 40px) !important;
        word-break: break-word !important;
        padding-bottom: 0.5rem !important;
        margin-inline: auto !important;
    }

    /* Blob containment */
    .ohb-blob--a,
    .ohb-blob--b {
        max-width: 55vw !important;
        max-height: 55vw !important;
    }

    /* LTS wrap: centred, no stray transforms */
    .lts-wrap {
        width: clamp(280px, calc(100% - 40px), 460px) !important;
        max-width: calc(100vw - 40px) !important;
        max-height: 380px !important;
        margin: 0 auto !important;
        transform: none !important;
        transform-origin: center top !important;
        box-sizing: border-box !important;
        padding: 0 !important;
    }

    /* Card: 90% width, hard cap 360px, auto-centred */
    .lts-stack {
        width: 90% !important;
        max-width: 360px !important;
        margin: 0 auto !important;
        box-sizing: border-box !important;
    }

    .lts-card {
        width: 100% !important;
        left: 0 !important;
        right: 0 !important;
        margin: 0 auto !important;
        box-sizing: border-box !important;
    }

    /* Inner: exactly 1.5rem as specified */
    .lts-card__inner {
        padding: 1.5rem !important;
        margin: 0 auto;
        box-sizing: border-box !important;
    }

    /* Blockquote: clamped to avoid vertical overflow */
    .lts-card__text {
        font-size: clamp(0.78rem, 2.8vw, 0.88rem) !important;
        line-height: 1.62 !important;
        display: -webkit-box !important;
        -webkit-line-clamp: 4 !important;
        line-clamp: 4 !important;
        -webkit-box-orient: vertical !important;
        overflow: hidden !important;
    }

    /* Quote icon: 20% smaller (4rem → 3.2rem on desktop, here even tighter) */
    .lts-card__quote-icon {
        font-size: 2.4rem !important;
    }

    /* Avatar: 20% smaller (44px → 35px) */
    .lts-card__avatar {
        width: 35px !important;
        height: 35px !important;
        font-size: 0.65rem !important;
    }

    .lts-card.lts-active {
        z-index: 30 !important;
    }

    /* Dot nav: centred, 1.5rem gap above to avoid card overlap */
    .lts-dots {
        justify-content: center !important;
        margin-top: 1.5rem !important;
    }
}

/* ── iPhone SE / narrow phones (≤ 375px) ── */
@media (max-width: 375px) {
    /* Headline stays safe — clamp base already handles most cases */
    .orbit-hero__headline {
        font-size: clamp(2rem, 9vw, 2.4rem) !important;
    }

    .orbit-hero__sub {
        font-size: 0.84rem !important;
        max-width: calc(100% - 40px) !important;
    }

    .lts-wrap {
        width: calc(100% - 32px) !important;
    }

    .lts-card__inner {
        padding: 1.2rem !important;
    }

    .lts-card__text {
        font-size: 0.76rem !important;
    }
}

/* ── 360px — smallest Android, hard overflow guard ── */
@media (max-width: 360px) {
    .testi-orbit-hero {
        height: auto !important;
        min-height: 100svh !important;
    }

    .orbit-hero__grid {
        padding-inline: 1.25rem !important;
    }

    .orbit-hero__headline {
        font-size: clamp(2rem, 9.5vw, 2.3rem) !important;
        line-height: 1.1 !important;
    }

    .orbit-hero__sub {
        font-size: 0.8rem !important;
    }

    .lts-wrap {
        width: calc(100% - 28px) !important;
    }

    .lts-stack {
        height: 218px !important;
        max-width: 320px !important;
    }

    .lts-card__inner {
        padding: 1rem 0.9rem !important;
    }

    .lts-card__text {
        font-size: 0.74rem !important;
    }

    .lts-card__name {
        font-size: 0.8rem !important;
    }

    .lts-card__role {
        font-size: 0.64rem !important;
    }

    .orbit-status-pill {
        font-size: 0.6rem !important;
    }
}

/* ── 390px — iPhone 14 / Pixel 7 ── */
@media (min-width: 361px) and (max-width: 390px) {
    .orbit-hero__headline {
        font-size: clamp(2rem, 8.2vw, 2.4rem) !important;
    }

    .lts-wrap { width: calc(100% - 36px) !important; }
    .lts-stack { height: 236px !important; max-width: 340px !important; }
}

/* ── 414px — iPhone 8 Plus / 11 Pro Max ── */
@media (min-width: 391px) and (max-width: 414px) {
    .orbit-hero__headline {
        font-size: clamp(2rem, 7.8vw, 2.5rem) !important;
    }

    .lts-wrap { width: calc(100% - 36px) !important; }
    .lts-stack { height: 240px !important; max-width: 355px !important; }
}

/* ── 430px — iPhone 14 Plus / 15 Pro Max ── */
@media (min-width: 415px) and (max-width: 430px) {
    .orbit-hero__headline {
        font-size: clamp(2rem, 7.2vw, 2.5rem) !important;
    }

    .lts-wrap { width: calc(100% - 36px) !important; }
    .lts-stack { height: 244px !important; max-width: 360px !important; }
}

/* ── ≤ 480px: stack height + compact padding ── */
@media (max-width: 480px) {
    .lts-stack {
        height: 220px;
    }

    .lts-card__inner {
        padding: 1.2rem;
    }

    .lts-card__text {
        font-size: 0.85rem;
    }
}

/* ── Reduced motion ── */
@media (prefers-reduced-motion: reduce) {
    .lts-ambient__ring,
    .lts-ambient__glow {
        animation: none;
    }

    .lts-card,
    .lts-card.lts-active,
    .lts-card.lts-exiting {
        transition: opacity 0.4s ease;
    }

    .lts-card.lts-active.lts-floating {
        animation: none;
    }
}