/* 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; }

.ledger-bridge__eyebrow {
    letter-spacing: 0.12em;
}

.ledger-bridge__heading {
    letter-spacing: -0.02em;
}

.ledger-bridge__micro {
    font-size: 0.75rem;
    line-height: 1.3;
}

.ledger-bridge__glow {
    width: 14rem;
    height: 14rem;
    transform: translate(-30%, -30%);
    filter: blur(12px);
}

.ledger-bridge__frost {
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

.ledger-bridge__list {
    margin: 0;
    padding: 0;
    list-style: none;
}

.ledger-bridge__track {
    height: 0.25rem;
}

.ledger-bridge__fill {
    width: 0;
    animation: ledger-bridge-fill 1.8s ease forwards;
}

.ledger-bridge__fill--1 { --ledger-bridge-end: 84%; animation-delay: 0.15s; }
.ledger-bridge__fill--2 { --ledger-bridge-end: 52%; animation-delay: 0.4s; }
.ledger-bridge__fill--3 { --ledger-bridge-end: 68%; animation-delay: 0.65s; }

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

.ledger-bridge__stage {
    min-height: 8rem;
}

.ledger-bridge__band {
    transform: translateY(-50%);
}

.ledger-bridge__marquee {
    width: max-content;
    animation: ledger-bridge-marquee 26s linear infinite;
}

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

.ledger-bridge__photo {
    width: 12rem;
    aspect-ratio: 4 / 3;
}

.ledger-bridge__img {
    object-fit: cover;
}

.ledger-bridge__chip {
    transform: translate(25%, -15%);
    min-width: 7.5rem;
}

@media (min-width: 768px) {
    .ledger-bridge__photo {
        width: 16rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    .ledger-bridge__marquee,
    .ledger-bridge__fill {
        animation: none;
    }

    .ledger-bridge__fill--1 { width: 84%; }
    .ledger-bridge__fill--2 { width: 52%; }
    .ledger-bridge__fill--3 { width: 68%; }
}

/* planning-split — layout, sizes, glass effect only (colours live in the template) */

.planning-split__photo {
    min-height: 26rem;
}

.planning-split__img {
    position: absolute;
    inset: 0;
    object-fit: cover;
}

.planning-split__glass {
    z-index: 2;
    -webkit-backdrop-filter: blur(14px);
    backdrop-filter: blur(14px);
}

.planning-split__micro {
    font-size: 0.75rem;
    line-height: 1rem;
}

.planning-split__wide {
    letter-spacing: 0.14em;
}

.planning-split__bars {
    height: 3.5rem;
}

.planning-split__bar {
    width: 0.85rem;
}

.planning-split__bar--b1 { height: 45%; }
.planning-split__bar--b2 { height: 65%; }
.planning-split__bar--b3 { height: 80%; }
.planning-split__bar--b4 { height: 100%; }

.planning-split__figure-wrap {
    min-width: 0;
}

.planning-split__title {
    letter-spacing: -0.03em;
    max-width: 22ch;
}

.planning-split__panel {
    min-height: 24rem;
}

@media (min-width: 768px) {
    .planning-split__glass {
        max-width: 26rem;
    }
}

@media (min-width: 1024px) {
    .planning-split__photo,
    .planning-split__panel {
        min-height: 38rem;
    }
}

/* 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 — vault rail: layout, sizes and transforms only (no colors) */
.vault-rail__eyebrow {
    font-size: 0.875rem;
    letter-spacing: 0.2em;
}

.vault-rail__heading {
    letter-spacing: -0.03em;
}

.vault-rail__sticky {
    position: sticky;
    top: 1.25rem;
}

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

.vault-rail__num {
    min-width: 1.75rem;
    font-variant-numeric: tabular-nums;
}

.vault-rail__plus {
    transition: transform 200ms ease;
}

.vault-rail__item.is-open .vault-rail__plus {
    transform: rotate(45deg);
}

.vault-rail__panel {
    padding-left: 2.75rem;
}

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

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

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

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

.vault-rail__tiny {
    font-size: 0.6875rem;
    line-height: 1rem;
}

.vault-rail__icon {
    width: 2rem;
    height: 2rem;
    font-size: 0.75rem;
}

.vault-rail__insight-body {
    min-width: 0;
}

.vault-rail__chart {
    height: 9.5rem;
    overflow: visible;
}

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

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

.vault-rail__chart-guide {
    animation: vault-chart-guide 4.8s ease-in-out infinite;
}

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

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

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

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

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

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

@media (prefers-reduced-motion: reduce) {
    .vault-rail__heat,
    .vault-rail__chart-fill,
    .vault-rail__chart-line,
    .vault-rail__chart-guide,
    .vault-rail__chart-mark,
    .vault-rail__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 */
.vault-rail__panel[hidden] { display: none !important; }

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

/* testimonials — strip pass: single horizontal filmstrip marquee */
.strip-pass__eyebrow {
    letter-spacing: 0.14em;
}

.strip-pass__title {
    letter-spacing: -0.02em;
}

.strip-pass__row {
    width: 100%;
}

.strip-pass__track {
    width: max-content;
    animation: strip-pass-left 65s linear infinite;
    will-change: transform;
}

.strip-pass__row:hover .strip-pass__track,
.strip-pass__row:focus-within .strip-pass__track {
    animation-play-state: paused;
}

.strip-pass__list {
    gap: 1rem;
    padding-right: 1rem;
}

.strip-pass__card {
    width: 22rem;
    min-height: 15rem;
}

.strip-pass__avatar {
    width: 2.75rem;
    height: 2.75rem;
    object-fit: cover;
}

.strip-pass__rating {
    font-variant-numeric: tabular-nums;
}

@media (min-width: 768px) {
    .strip-pass__card {
        width: 28rem;
        min-height: 16rem;
    }
}

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

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

    .strip-pass__row {
        overflow-x: auto;
    }
}

