@keyframes driftLeftRight {
    0% { transform: translateX(-15%); }
    50% { transform: translateX(15%); }
    100% { transform: translateX(-15%); }
}

@keyframes driftRightLeft {
    0% { transform: translateX(15%); }
    50% { transform: translateX(-15%); }
    100% { transform: translateX(15%); }
}

.intro-drift-strip-a {
    width: 33%;
    height: 6rem;
    animation: driftLeftRight 14s ease-in-out infinite;
}

.intro-drift-strip-b {
    width: 50%;
    height: 4rem;
    animation: driftRightLeft 18s ease-in-out infinite;
}

.intro-drift-strip-c {
    width: 25%;
    height: 5rem;
    animation: driftLeftRight 12s ease-in-out infinite;
    animation-delay: 3s;
}

.intro-drift-container {
    max-width: 80rem;
}

.intro-drift-textbox {
    max-width: 48rem;
}

.about-chapters__frame { aspect-ratio: 4 / 3; clip-path: inset(0 0 0 0 round 1.5rem); }
.about-chapters__img { object-fit: cover; transform: scale(1.12); transition: transform 1400ms cubic-bezier(.2, .8, .2, 1); }

.about-chapters__chip { bottom: -1.75rem !important; transform: translateY(1.5rem) scale(.92); opacity: 0; transition: transform 700ms cubic-bezier(.2, .8, .2, 1) 450ms, opacity 500ms ease 450ms; max-width: calc(100% - 2rem); }
.about-chapters__chip--right { right: -1rem !important; left: auto !important; }
.about-chapters__chip--left { left: -1rem !important; right: auto !important; }
@media (max-width: 1023.98px) {
    .about-chapters__chip--right, .about-chapters__chip--left { right: 1rem !important; left: auto !important; }
}
.about-chapters__viz { width: 4.5rem; height: 3.5rem; }
.about-chapters__viz svg { display: block; width: 100%; height: 100%; overflow: visible; }
.about-chapters__caption { font-size: .875rem; line-height: 1.25rem; max-width: 10rem; }

.about-chapters__copy { opacity: 0; transform: translateY(2rem); transition: opacity 800ms ease 150ms, transform 800ms cubic-bezier(.2, .8, .2, 1) 150ms; }
.about-chapters__num { width: 2rem; height: 2rem; }
.about-chapters__kicker { letter-spacing: .08em; }
.about-chapters__link i { transition: transform 250ms ease; }
.about-chapters__link:hover i { transform: translateX(.25rem); }

.about-chapters__row .about-chapters__frame { clip-path: inset(12% 12% 12% 12% round 1.5rem); transition: clip-path 1200ms cubic-bezier(.2, .8, .2, 1); }
.about-chapters__row.is-visible .about-chapters__frame { clip-path: inset(0 0 0 0 round 1.5rem); }
.about-chapters__row.is-visible .about-chapters__img { transform: scale(1); }
.about-chapters__row.is-visible .about-chapters__chip { transform: none; opacity: 1; }
.about-chapters__row.is-visible .about-chapters__copy { opacity: 1; transform: none; }

.about-chapters__ring { transition: stroke-dashoffset 1400ms cubic-bezier(.2, .8, .2, 1) 700ms; }
.about-chapters__spark { stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset 1400ms cubic-bezier(.2, .8, .2, 1) 700ms; }
.about-chapters__fade { opacity: 0; transition: opacity 600ms ease 1400ms; }
.about-chapters__col { transform-box: fill-box; transform-origin: 50% 100%; transform: scaleY(0); transition: transform 800ms cubic-bezier(.2, .8, .2, 1); }
.about-chapters__needle { transform-origin: 36px 44px; transform: rotate(-90deg); transition: transform 1400ms cubic-bezier(.3, 1.4, .4, 1) 700ms; }
.about-chapters__viz.is-drawn .about-chapters__spark { stroke-dashoffset: 0; }
.about-chapters__viz.is-drawn .about-chapters__fade { opacity: 1; }
.about-chapters__viz.is-drawn .about-chapters__col { transform: none; }

@media (prefers-reduced-motion: reduce) {
    .about-chapters__img, .about-chapters__chip, .about-chapters__copy, .about-chapters__row .about-chapters__frame,
    .about-chapters__ring, .about-chapters__spark, .about-chapters__fade, .about-chapters__col, .about-chapters__needle { transition: none; }
    .about-chapters__chip, .about-chapters__copy { opacity: 1; transform: none; }
    .about-chapters__row .about-chapters__frame { clip-path: inset(0 0 0 0 round 1.5rem); }
}

/* wpg-hidden: utility classes are renamed in production builds, so hidden states must not rely on .hidden / .d-none alone */
.about-chapters[hidden], .about-chapters [hidden], .about-chapters .hidden.d-none { display: none !important; }

.dashboard-metrics-timeline__grid-lines {
    background-image:
        repeating-linear-gradient(0deg, transparent, transparent 39px, currentColor 39px, currentColor 40px),
        repeating-linear-gradient(90deg, transparent, transparent 79px, currentColor 79px, currentColor 80px);
}

@keyframes dashboard-metrics-timeline__pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(1.5); }
}

.dashboard-metrics-timeline__pulse {
    width: 0.5rem;
    height: 0.5rem;
    animation: dashboard-metrics-timeline__pulse 2s ease infinite;
}

.dashboard-metrics-timeline__watermark {
    font-size: clamp(60px, 12vw, 140px);
    opacity: 0.03;
}

.dashboard-metrics-timeline__icon {
    width: 2rem;
    height: 2rem;
}

.dashboard-metrics-timeline__metric {
    font-size: 2rem;
}

.dashboard-metrics-timeline__bar {
    height: 4px;
}

.dashboard-metrics-timeline__progress {
    height: 4px;
    width: var(--dashboard-metrics-timeline__width, 0%);
}

.dashboard-metrics-timeline__index-dot {
    width: 6px;
    height: 6px;
}

@keyframes dashboard-metrics-timeline__count {
    from { opacity: 0; }
    to { opacity: 1; }
}

.dashboard-metrics-timeline__line {
    height: 1px;
}

/* Bootstrap branch: explicit grid + gap (row gutters often collapse with overflow / theme resets) */
.dashboard-metrics-timeline__bs-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 2rem;
}

@media (min-width: 768px) {
    .dashboard-metrics-timeline__bs-row {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (min-width: 1024px) {
    .dashboard-metrics-timeline__bs-row {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 2.25rem;
    }
}

.dashboard-metrics-timeline__min-shrink {
  min-width: 0;
}

/* Grid + gap: @sem may obfuscate Tailwind grid/gap */
.badge-tower-grid {
    display: grid;
    width: 100%;
    gap: 2rem;
    grid-template-columns: minmax(0, 1fr);
}

@media (min-width: 1024px) {
    .badge-tower-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

/* Badge anchor: stable vertical offset (bs had top-0; tw -top-8 was too low vs 5rem circle) */
.philosophy-v3-badge-decor {
    top: -4.25rem;
}

.philosophy-large-badge {
    width: 5rem;
    height: 5rem;
}

.philosophy-bg__img {
    object-fit: cover;
}

/* Values v24 - luxury manifesto hairline rule and vertical rhythm (layout only, no colors) */

.values-manifesto__rule {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    width: 1px;
    background: currentColor;
    opacity: 0.15;
}

.crew-card-snapshot__cover {
    width: 100%;
    height: 16rem;
}

.crew-card-snapshot__min-shrink {
  min-width: 0;
}

