/* intro v23 — BAPE grunge wizard: film strip, giant numbers, clip-path wipe hover, height-expand step */

/* Full-width step photo — cinematic banner, object-fit has no BS utility */
.intro-grit__photo {
    width: 100%;
    aspect-ratio: 21 / 9;
    object-fit: cover;
}

/* Progress track height (no BS h-N utility) */
.intro-grit__track { height: 0.25rem; }

/* Clip-path reveal on hover: primary wipe grows from the corner */
.intro-grit__wipe {
    clip-path: circle(0% at 90% 10%);
    opacity: 0.12;
    transition: clip-path 420ms ease;
}
.intro-grit__card:hover .intro-grit__wipe {
    clip-path: circle(150% at 90% 10%);
}

/* Height-expand accordion-style step entrance */
.intro-grit__step {
    animation: intro-grit-expand 420ms ease;
    transform-origin: top;
}
@keyframes intro-grit-expand {
    from { opacity: 0; transform: scaleY(0.96) translateY(-0.5rem); }
    to   { opacity: 1; transform: scaleY(1) translateY(0); }
}

/* Progress bar transition */
.intro-grit__bar { transition: width 360ms ease; width: 0; }

/* Stepper dots — state via opacity, colour stays a Tailwind class */
.intro-grit__dot {
    width: 0.625rem;
    height: 0.625rem;
    opacity: 0.35;
    transition: opacity 200ms ease, transform 200ms ease;
}
.intro-grit__dot.is-active {
    opacity: 1;
    transform: scale(1.35);
}

@media (prefers-reduced-motion: reduce) {
    .intro-grit__step { animation: none; }
    .intro-grit__wipe { transition: none; }
}

.insight-orb-one {
    top: 0;
    right: 0;
    width: 24rem;
    height: 24rem;
    filter: blur(3rem);
}

.insight-orb-two {
    bottom: 0;
    left: 0;
    width: 20rem;
    height: 20rem;
    filter: blur(3rem);
}

.insight-orb-three {
    top: 50%;
    left: 50%;
    width: 18rem;
    height: 18rem;
    transform: translate(-50%, -50%);
    filter: blur(2rem);
}

.insight-block-one {
    top: 5rem;
    right: 2.5rem;
    width: 6rem;
    height: 6rem;
    transform: rotate(12deg);
}

.insight-block-two {
    top: 10rem;
    left: 2.5rem;
    width: 4rem;
    height: 4rem;
    transform: rotate(-12deg);
}

.insight-block-three {
    right: 5rem;
    bottom: 8rem;
    width: 5rem;
    height: 5rem;
    transform: rotate(45deg);
}

.insight-block-four {
    bottom: 5rem;
    left: 5rem;
    width: 7rem;
    height: 7rem;
    transform: rotate(-6deg);
}

.insight-block-five {
    top: 33.333333%;
    right: 25%;
    width: 3rem;
    height: 3rem;
    transform: rotate(12deg);
}

.insight-title-block-one {
    top: -1rem;
    left: -2rem;
    width: 2rem;
    height: 2rem;
    transform: rotate(12deg);
}

.insight-title-block-two {
    top: -0.5rem;
    right: -2.5rem;
    width: 1.5rem;
    height: 1.5rem;
    transform: rotate(-12deg);
}

.insight-title-block-three {
    bottom: -1rem;
    left: 25%;
    width: 2.5rem;
    height: 2.5rem;
    transform: rotate(45deg);
}

.insight-title-block-four {
    right: 25%;
    bottom: -0.5rem;
    width: 2rem;
    height: 2rem;
    transform: rotate(-6deg);
}

.insight-title-accent {
    bottom: 0;
    left: 50%;
    width: 8rem;
    height: 0.5rem;
    transform: translateX(-50%);
}

.insight-section-knot {
    top: 50%;
    left: -1.5rem;
    width: 1rem;
    height: 1rem;
    transform: translateY(-50%) rotate(12deg);
}

.insight-section-underline {
    bottom: -0.5rem;
    left: 0;
    width: 5rem;
    height: 0.375rem;
}

/* team v22 — grid with click-to-expand detail overlay */
.team-flipcard__card {
  cursor: pointer;
  height: 100%;
  min-height: 24rem;
}

.team-flipcard__card-face {
  position: relative;
  display: block;
  width: 100%;
  min-height: 24rem;
  height: 100%;
  overflow: hidden;
}

.team-flipcard__card-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 200ms ease;
  z-index: 0;
}

.team-flipcard__card:hover .team-flipcard__card-img {
  transform: scale(1.08);
}

.team-flipcard__card-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  transition: opacity 200ms ease;
}

.team-flipcard__card:hover .team-flipcard__card-overlay {
  opacity: 0.75;
}

.team-flipcard__label {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 2;
  padding: 1.5rem;
  transition: opacity 200ms ease;
  pointer-events: none;
}

.team-flipcard__card:hover .team-flipcard__label {
  opacity: 0;
}

.team-flipcard__detail {
  position: absolute;
  inset: 0;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 200ms ease;
}

.team-flipcard__detail.show {
  opacity: 1;
  pointer-events: auto;
}

.team-flipcard__detail-panel {
  width: 100%;
  max-height: 100%;
  overflow-y: auto;
}

