/* intro — ledger rail: photo-left stack with bar chart */
.intro-ledger__eyebrow {
    letter-spacing: 0.12em;
}

.intro-ledger__title {
    letter-spacing: -0.03em;
}

.intro-ledger__mark {
    height: 0.2em;
    margin-top: 0.15em;
}

.intro-ledger__stack {
    padding-left: 0.75rem;
}

.intro-ledger__avatar {
    width: 2.75rem;
    height: 2.75rem;
    margin-left: -0.7rem;
    line-height: 1;
}

.intro-ledger__rule {
    height: 0;
    border-top-style: solid !important;
}

.intro-ledger__photo {
    min-height: 22rem;
}

.intro-ledger__photo-img {
    object-fit: cover;
}

.intro-ledger__card {
    padding: 1.25rem;
}

.intro-ledger__caption {
    font-size: 0.75rem;
    line-height: 1rem;
}

.intro-ledger__bars {
    height: 5.5rem;
}

.intro-ledger__bar {
    transform-origin: center bottom;
    animation: intro-ledger-bar 3.6s ease-in-out infinite;
}

.intro-ledger__bar--b1 { height: 45%; }
.intro-ledger__bar--b2 { animation-delay: 0.2s; height: 55%; }
.intro-ledger__bar--b3 { animation-delay: 0.4s; height: 85%; }
.intro-ledger__bar--b4 { animation-delay: 0.6s; height: 40%; }
.intro-ledger__bar--b5 { animation-delay: 0.8s; height: 70%; }

@keyframes intro-ledger-bar {
    0%, 100% {
        transform: scaleY(0.55);
        opacity: 0.55;
    }
    50% {
        transform: scaleY(1);
        opacity: 1;
    }
}

@media (min-width: 1024px) {
    .intro-ledger__photo {
        min-height: 36rem;
    }
}

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

/* short stat captions sit in narrow columns on phones: long words break instead of spilling over */
.intro-ledger__caption { min-width: 0; overflow-wrap: anywhere; }

/* cash-loop — two-card bento: gradient dashboard card + oval stage with ticker band and photo */
.cash-loop__eyebrow {
    letter-spacing: 0.12em;
}

.cash-loop__heading {
    letter-spacing: -0.02em;
}

.cash-loop__micro {
    font-size: 0.75rem;
    line-height: 1.3;
}

/* Left gradient card */
.cash-loop__panel {
    min-height: 0;
}

.cash-loop__glow {
    width: 18rem;
    height: 18rem;
    transform: translate(35%, 35%);
    filter: blur(10px);
}

.cash-loop__frost {
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
}

.cash-loop__list {
    margin: 0;
    padding: 0;
    list-style: none;
}

.cash-loop__track {
    height: 0.25rem;
}

.cash-loop__fill {
    width: 0;
    animation: cash-loop-fill 1.8s ease forwards;
}

.cash-loop__fill--1 { --cash-loop-end: 84%; animation-delay: 0.15s; }
.cash-loop__fill--2 { --cash-loop-end: 52%; animation-delay: 0.4s; }
.cash-loop__fill--3 { --cash-loop-end: 68%; animation-delay: 0.65s; }

@keyframes cash-loop-fill {
    from { width: 0; }
    to { width: var(--cash-loop-end); }
}

/* Right oval stage */
.cash-loop__stage {
    min-height: 9rem;
}

.cash-loop__band {
    left: -3rem;
    right: -3rem;
    transform: translateY(-50%);
}

.cash-loop__marquee {
    width: max-content;
    animation: cash-loop-marquee 28s linear infinite;
}

@keyframes cash-loop-marquee {
    from {
        transform: translateX(0);
    }
    to {
        transform: translateX(-50%);
    }
}

.cash-loop__photo {
    width: 11rem;
    aspect-ratio: 1 / 1;
}

.cash-loop__img {
    object-fit: cover;
}

.cash-loop__chip {
    transform: translate(-40%, 18%);
    min-width: 8rem;
}

.cash-loop__desc {
    max-width: 28rem;
}

@media (min-width: 768px) {
    .cash-loop__photo {
        width: 13rem;
        aspect-ratio: 21 / 20;
    }

    .cash-loop__chip {
        transform: translate(-75%, 20%);
    }

    .cash-loop__band {
        left: -7rem;
        right: -7rem;
    }

    .cash-loop__oval.cash-loop__oval {
        border-radius: 50% !important;
        min-height: 22rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    .cash-loop__marquee,
    .cash-loop__fill {
        animation: none;
    }

    .cash-loop__fill--1 { width: 84%; }
    .cash-loop__fill--2 { width: 52%; }
    .cash-loop__fill--3 { width: 68%; }
}

.report-ruled__img {
    object-fit: cover;
    min-height: 18rem;
}

.report-ruled__line {
    border-top-style: double;
    border-top-width: 3px;
}

/* steps — relay grid: hairline frame with corner nodes */
.relay-grid__eyebrow {
    letter-spacing: 0.12em;
}

.relay-grid__title {
    letter-spacing: -0.02em;
}

/* node dots sit centred on each 1px corner; colour comes from the Tailwind/BS text class on the node layer */
.relay-grid__nodes::before,
.relay-grid__nodes::after,
.relay-grid__nodes-bottom::before,
.relay-grid__nodes-bottom::after {
    content: "";
    position: absolute;
    width: 0.5rem;
    height: 0.5rem;
    border-radius: 9999px;
    background-color: currentColor;
}

.relay-grid__nodes::before {
    top: -4.5px;
    left: -4.5px;
}

.relay-grid__nodes::after {
    top: -4.5px;
    right: -4.5px;
}

.relay-grid__nodes-bottom::before {
    bottom: -4.5px;
    left: -4.5px;
}

.relay-grid__nodes-bottom::after {
    bottom: -4.5px;
    right: -4.5px;
}

.relay-grid__icon {
    width: 3.5rem;
    height: 3.5rem;
}

.relay-grid__text {
    max-width: 22rem;
}

/* our-philosophy — creed bento: board with word cards + pulsing bars */
.creed-bento__eyebrow {
    letter-spacing: 0.14em;
}

.creed-bento__heading {
    letter-spacing: -0.03em;
}

.creed-bento__board {
    padding: 1.25rem;
}

.creed-bento__cloud {
    filter: blur(36px);
    width: 14rem;
    height: 10rem;
}

.creed-bento__cloud--a {
    transform: translate(-15%, -25%);
}

.creed-bento__cloud--b {
    width: 18rem;
    height: 12rem;
    transform: translate(65%, 90%);
}

.creed-bento__tile {
    padding: 1.15rem;
}

.creed-bento__caption {
    font-size: 0.75rem;
    line-height: 1rem;
}

.creed-bento__avatar {
    width: 2rem;
    height: 2rem;
    font-size: 0.75rem;
}

.creed-bento__bars {
    height: 5.5rem;
}

.creed-bento__bar {
    transform-origin: center bottom;
    animation: creed-bento-bar 3.6s ease-in-out infinite;
}

.creed-bento__bar--h1 { height: 45%; }
.creed-bento__bar--h2 { animation-delay: 0.2s; height: 70%; }
.creed-bento__bar--h3 { animation-delay: 0.4s; height: 55%; }
.creed-bento__bar--h4 { animation-delay: 0.6s; height: 85%; }

.creed-bento__tick {
    width: 1.1rem;
    height: 1.1rem;
    font-size: 0.55rem;
}

.creed-bento__pill {
    font-size: 0.65rem;
    line-height: 1;
}

@keyframes creed-bento-bar {
    0%, 100% { transform: scaleY(0.55); opacity: 0.55; }
    50% { transform: scaleY(1); opacity: 1; }
}

@media (min-width: 1024px) {
    .creed-bento__board {
        padding: 1.75rem;
    }
}

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

/* advantages — trust dashboard: layout, sizes and transforms only (no colors) */
.trust-dashboard__eyebrow {
    font-size: 0.875rem;
    letter-spacing: 0.2em;
}

.trust-dashboard__heading {
    letter-spacing: -0.025em;
}

.trust-dashboard__toggle {
    appearance: none;
    -webkit-appearance: none;
    font: inherit;
    cursor: pointer;
    outline-offset: -2px;
}

.trust-dashboard__num {
    min-width: 2rem;
}

.trust-dashboard__plus {
    transition: transform 200ms ease;
}

.trust-dashboard__item.is-open .trust-dashboard__plus {
    transform: rotate(45deg);
}

.trust-dashboard__panel {
    padding-left: 3.25rem;
}

.trust-dashboard__cloud {
    filter: blur(2.5rem);
    pointer-events: none;
}

.trust-dashboard__cloud--a { width: 16rem; height: 9rem; transform: translate(-4rem, -2rem); }
.trust-dashboard__cloud--b { width: 20rem; height: 11rem; transform: translate(60%, 160%); }

.trust-dashboard__heatmap {
    display: grid;
    grid-template-columns: repeat(7, minmax(0, 1fr));
    gap: 0.25rem;
}

.trust-dashboard__heat {
    aspect-ratio: 1.5 / 1;
    animation: trust-heat-pulse 2.8s ease-in-out infinite;
    will-change: opacity, transform;
}

.trust-dashboard__heat:nth-child(7n + 1) { animation-delay: 0s; }
.trust-dashboard__heat:nth-child(7n + 2) { animation-delay: 0.2s; }
.trust-dashboard__heat:nth-child(7n + 3) { animation-delay: 0.4s; }
.trust-dashboard__heat:nth-child(7n + 4) { animation-delay: 0.6s; }
.trust-dashboard__heat:nth-child(7n + 5) { animation-delay: 0.8s; }
.trust-dashboard__heat:nth-child(7n + 6) { animation-delay: 1s; }
.trust-dashboard__heat:nth-child(7n + 7) { animation-delay: 1.2s; }

@keyframes trust-heat-pulse {
    0%, 100% {
        opacity: 0.55;
        transform: scale(0.94);
    }
    50% {
        opacity: 1;
        transform: scale(1);
    }
}

.trust-dashboard__tiny {
    font-size: 0.6875rem;
    line-height: 1rem;
}

.trust-dashboard__icon {
    width: 2rem;
    height: 2rem;
    font-size: 0.75rem;
}

.trust-dashboard__insight-body {
    min-width: 0;
}

.trust-dashboard__chart {
    height: 8.5rem;
    overflow: visible;
}

.trust-dashboard__chart-fill {
    animation: trust-chart-fill 3.6s ease-in-out infinite;
    transform-origin: center bottom;
}

.trust-dashboard__chart-line {
    stroke-dasharray: 520;
    stroke-dashoffset: 0;
    animation: trust-chart-draw 4.8s ease-in-out infinite;
}

.trust-dashboard__chart-guide {
    animation: trust-chart-guide 4.8s ease-in-out infinite;
}

.trust-dashboard__chart-mark,
.trust-dashboard__chart-dot {
    animation: trust-chart-mark 4.8s ease-in-out infinite;
}

@keyframes trust-chart-fill {
    0%, 100% {
        opacity: 0.7;
        transform: scaleY(0.92);
    }
    50% {
        opacity: 1;
        transform: scaleY(1);
    }
}

@keyframes trust-chart-draw {
    0% {
        stroke-dashoffset: 520;
        opacity: 0.35;
    }
    35% {
        stroke-dashoffset: 0;
        opacity: 1;
    }
    70%, 100% {
        stroke-dashoffset: 0;
        opacity: 1;
    }
}

@keyframes trust-chart-guide {
    0%, 20% { opacity: 0; }
    45%, 100% { opacity: 1; }
}

@keyframes trust-chart-mark {
    0%, 30% {
        opacity: 0;
        transform: translateY(6px);
    }
    45%, 100% {
        opacity: 1;
        transform: translateY(0);
    }
}

.trust-dashboard__heatmap > span {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

@media (prefers-reduced-motion: reduce) {
    .trust-dashboard__heat,
    .trust-dashboard__chart-fill,
    .trust-dashboard__chart-line,
    .trust-dashboard__chart-guide,
    .trust-dashboard__chart-mark,
    .trust-dashboard__chart-dot {
        animation: none;
        opacity: 1;
        transform: none;
        stroke-dashoffset: 0;
    }
}

/* utility classes are renamed in production builds, so closed panels rely on the hidden attribute */
.trust-dashboard__panel[hidden] { display: none !important; }

/* month labels under the heatmap: one line each, trimmed if long, so neighbours never collide */
.trust-dashboard__heatmap.trust-dashboard__tiny > span { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* testimonials — client chorus: twin marquee rows */
.client-chorus__eyebrow {
    letter-spacing: 0.12em;
}

.client-chorus__title {
    letter-spacing: -0.02em;
}

.client-chorus__row {
    width: 100%;
}

.client-chorus__track {
    width: max-content;
    animation: client-chorus-left 70s linear infinite;
    will-change: transform;
}

.client-chorus__track--right {
    animation-name: client-chorus-right;
}

.client-chorus__row:hover .client-chorus__track,
.client-chorus__row:focus-within .client-chorus__track {
    animation-play-state: paused;
}

/* gap + trailing padding are equal so the -50% loop is seamless */
.client-chorus__list {
    gap: 1.5rem;
    padding-right: 1.5rem;
}

.client-chorus__card {
    width: 19rem;
    min-height: 17rem;
}

.client-chorus__person {
    min-width: 0;
}

.client-chorus__person-body {
    min-width: 0;
}

.client-chorus__avatar {
    width: 4rem;
    height: 4rem;
    object-fit: cover;
}

@media (min-width: 768px) {
    .client-chorus__card {
        width: 34rem;
        min-height: 20rem;
    }

    .client-chorus__avatar {
        width: 6rem;
        height: 6rem;
    }
}

@keyframes client-chorus-left {
    from { transform: translateX(0); }
    to { transform: translateX(-50%); }
}

@keyframes client-chorus-right {
    from { transform: translateX(-50%); }
    to { transform: translateX(0); }
}

@media (prefers-reduced-motion: reduce) {
    .client-chorus__track {
        animation: none;
        transform: none;
    }

    .client-chorus__row {
        overflow-x: auto;
    }
}

