.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; }

.values-card-strip__item {
    max-width: 24rem;
}

.values-card-strip__thumb {
    width: 5rem;
    height: 5rem;
}

.values-card-strip__panel {
    max-width: 48rem;
}

/* whyus v19 — fluid clamp() heading (Tailwind has no bare clamp() utility) */
.whyus-glitch-stack__heading {
    font-size: clamp(1.75rem, 1.3rem + 1.8vw, 3rem);
    font-weight: 900;
    line-height: 1.1;
}

/* Geometry shared by both CSS frameworks (Bootstrap has no utilities for it) */
.mxw-3xl {
    max-width: 48rem !important;
}

.whyus-glitch-stack__head,
.whyus-glitch-stack__media {
    margin: 0 0 2.5rem;
}

.whyus-glitch-stack__media-img {
    height: 16rem;
}

.whyus-glitch-stack__card--offset {
    margin-top: 2.5rem;
}

.whyus-glitch-stack__card-title {
    font-size: 1.125rem;
}

/* sticky reading-progress bar — JS sets --wpg-progress (0..1), CSS turns it into a scaleX */
.whyus-glitch-stack__progress {
    height: 0.25rem;
    overflow: hidden;
}

.whyus-glitch-stack__progress-fill {
    transform: scaleX(var(--wpg-progress, 0));
    transform-origin: left center;
    will-change: transform;
}

/* responsive art-direction crop for the section hero image (BS has no object-fit util) */
.whyus-glitch-stack__media-img {
    object-fit: cover;
    object-position: center;
}

@media (min-width: 768px) {
    .whyus-glitch-stack__media-img {
        height: 20rem;
        object-position: center 35%;
    }
}

/* scale-up-on-load reveal, staggered per card by JS (IntersectionObserver adds is-visible) */
.whyus-glitch-stack__reveal {
    opacity: 0;
    transform: scale(0.92);
    transition: opacity 550ms ease, transform 550ms ease;
}

.whyus-glitch-stack__reveal.is-visible {
    opacity: 1;
    transform: scale(1);
}

/* cursor-follow spotlight — currentColor keeps this file color-free, opacity/lightness only */
.whyus-glitch-stack__card {
    isolation: isolate;
}

.whyus-glitch-stack__card::after {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at var(--mx, 50%) var(--my, 50%), currentColor, transparent 60%);
    opacity: 0;
    transition: opacity 200ms ease;
    pointer-events: none;
}

.whyus-glitch-stack__card:hover::after {
    opacity: 0.05;
}

/* cross-hatch corner marks — repeating-linear-gradient on currentColor, no hardcoded color */
.whyus-glitch-stack__hatch {
    width: 1.5rem;
    height: 1.5rem;
    pointer-events: none;
}

.whyus-glitch-stack__hatch::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: repeating-linear-gradient(45deg, currentColor 0 1px, transparent 1px 4px);
    opacity: 0.6;
}

.whyus-glitch-stack__hatch--tl {
    top: 0;
    inset-inline-start: 0;
    clip-path: polygon(0 0, 100% 0, 0 100%);
}

.whyus-glitch-stack__hatch--br {
    bottom: 0;
    inset-inline-end: 0;
    clip-path: polygon(100% 100%, 100% 0, 0 100%);
}

/* native details marker rotates open/closed instead of the UA default triangle */
.whyus-glitch-stack__summary {
    list-style: none;
    cursor: pointer;
}

.whyus-glitch-stack__summary::-webkit-details-marker {
    display: none;
}

.whyus-glitch-stack__chevron {
    transition: transform 200ms ease;
}

details[open] > .whyus-glitch-stack__summary .whyus-glitch-stack__chevron {
    transform: rotate(45deg);
}

/* team v27 — alternating rows + morphing decor shapes */
.team-zigzag__scene {
  overflow: hidden;
}

.team-zigzag__morph {
  border-radius: 40% 60% 55% 45% / 50% 40% 60% 50%;
  transform-origin: center center;
  animation: team-zigzag-morph 11s ease-in-out infinite;
}

.team-zigzag__morph--a {
  animation-duration: 9s;
}

.team-zigzag__morph--b {
  animation-duration: 12s;
  animation-delay: 1.5s;
}

.team-zigzag__morph--c {
  animation-duration: 10s;
  animation-delay: 3s;
}

.team-zigzag__morph--d {
  animation-duration: 13s;
  animation-delay: 0.5s;
}

.team-zigzag__morph--e {
  animation-duration: 14s;
  animation-delay: 2s;
}

@keyframes team-zigzag-morph {
  0%,
  100% {
    border-radius: 40% 60% 55% 45% / 50% 40% 60% 50%;
    transform: scale(1) rotate(0deg);
  }
  33% {
    border-radius: 65% 35% 45% 55% / 42% 58% 38% 62%;
    transform: scale(1.06) rotate(4deg);
  }
  66% {
    border-radius: 52% 48% 62% 38% / 58% 42% 55% 45%;
    transform: scale(0.94) rotate(-3deg);
  }
}

/* Ambient layer — spin, float, pulse (distinct from morph blobs) */
.team-zigzag__ambient {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.team-zigzag__orbit {
  transform-origin: center center;
  animation: team-zigzag-orbit-spin 22s linear infinite;
}

.team-zigzag__orbit--rev {
  animation-direction: reverse;
  animation-duration: 30s;
}

.team-zigzag__orbit--lg {
  width: 11rem;
  height: 11rem;
  animation-duration: 26s;
}

.team-zigzag__orbit--sm {
  width: 7rem;
  height: 7rem;
}

.team-zigzag__spark {
  animation: team-zigzag-spark-float 5.5s ease-in-out infinite;
}

.team-zigzag__spark--b {
  animation-delay: 0.8s;
  animation-duration: 4.5s;
}

.team-zigzag__spark--c {
  animation-delay: 1.6s;
  animation-duration: 6s;
}

.team-zigzag__prism {
  width: 2.5rem;
  height: 2.5rem;
  transform-origin: center center;
  animation: team-zigzag-prism-pulse 7s ease-in-out infinite;
}

.team-zigzag__sweep {
  transform-origin: center center;
  width: 8rem;
  height: 2px;
  animation: team-zigzag-sweep-drift 9s ease-in-out infinite;
}

.team-zigzag__sweep--alt {
  width: 6rem;
  animation-delay: 2s;
  animation-duration: 11s;
}

@keyframes team-zigzag-orbit-spin {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

@keyframes team-zigzag-spark-float {
  0%,
  100% {
    transform: translateY(0) scale(1);
    opacity: 0.45;
  }
  50% {
    transform: translateY(-0.75rem) scale(1.35);
    opacity: 1;
  }
}

@keyframes team-zigzag-prism-pulse {
  0%,
  100% {
    transform: rotate(45deg) scale(1);
    opacity: 0.4;
  }
  50% {
    transform: rotate(52deg) scale(1.2);
    opacity: 0.85;
  }
}

@keyframes team-zigzag-sweep-drift {
  0%,
  100% {
    transform: rotate(-14deg) translateX(-0.5rem) scaleX(0.8);
    opacity: 0.2;
  }
  50% {
    transform: rotate(6deg) translateX(0.75rem) scaleX(1.15);
    opacity: 0.65;
  }
}

@media (prefers-reduced-motion: reduce) {
  .team-zigzag__morph,
  .team-zigzag__orbit,
  .team-zigzag__spark,
  .team-zigzag__prism,
  .team-zigzag__sweep {
    animation: none;
  }
}

.team-zigzag__portrait {
  width: 5.5rem;
  height: 5.5rem;
}

.team-zigzag__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

.team-zigzag__min-shrink {
  min-width: 0;
}

/* cta split screen — full-height cover image */
.cta-split-screen__grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  min-height: 100vh;
}

@media (min-width: 1024px) {
  .cta-split-screen__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 1023px) {
  .cta-split-screen__grid {
    min-height: auto;
  }
}

.cta-split-screen__cover {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

