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

.content-flow-gap {
    gap: 4rem;
}

.content-prose-measure {
    max-width: 48rem;
    margin-left: auto;
    margin-right: auto;
    width: 100%;
}

.content-body-frame {
    max-width: 64rem;
    margin-left: auto;
    margin-right: auto;
    width: 100%;
}

.content-medium-height {
    display: block;
    width: 100%;
    height: 18rem;
    min-height: 18rem;
    flex-shrink: 0;
    object-fit: cover;
}

/* image stagger — sm:translate-y-3 / sm:-translate-y-3 have no BS utility */
@media (min-width: 640px) {
    .content-stagger__img-up   { transform: translateY(0.75rem); }
    .content-stagger__img-down { transform: translateY(-0.75rem); }
}

/* dashed border — not a native BS utility */
.content-panel__dashed { border-style: dashed; }

/* decor line — fixed width to match w-16 */
.content-decor__line { width: 4rem; height: 0; display: block; }

/* CTA hover — transform/transition have no BS utility */
.content-cta__lift { transition: transform 150ms ease; }
.content-cta__lift:hover { transform: translateY(-2px); }

.faq-reader__tab, .faq-reader__step { appearance: none; -webkit-appearance: none; font: inherit; cursor: pointer; }
.faq-reader__tab { transition: background-color 250ms ease, border-color 250ms ease, box-shadow 250ms ease, transform 250ms ease; }
.faq-reader__tab:hover { transform: translateX(.25rem); }
.faq-reader__arrow { opacity: 0; transform: translateX(-.5rem); transition: opacity 250ms ease, transform 250ms ease; }
.faq-reader__tab.is-active .faq-reader__arrow { opacity: 1; transform: none; }
.faq-reader__q { min-width: 0; }

.faq-reader__seg { height: .375rem; }
.faq-reader__fill { width: 0; }
.faq-reader__step { width: 2.75rem; height: 2.75rem; }
.faq-reader__bulb { width: 2.25rem; height: 2.25rem; }

.faq-reader__stage { min-height: 16rem; }
@keyframes faq-reader-in { from { opacity: 0; transform: translateX(1.5rem); } to { opacity: 1; transform: none; } }
.faq-reader__panel.is-current { animation: faq-reader-in 500ms cubic-bezier(.2, .8, .2, 1) both; }

@media (min-width: 992px) {
    .faq-reader__stage { min-height: 20rem; }
}

@media (prefers-reduced-motion: reduce) {
    .faq-reader__tab, .faq-reader__arrow { transition: none; }
    .faq-reader__tab:hover { transform: none; }
    .faq-reader__panel.is-current { animation: none; }
}

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

/* Production builds compile the sem classes after the utility layer, so the toggled utilities cannot restyle the active tab; give it its own ring. */
.faq-reader__tab.is-active { outline: 2px solid; outline-offset: -2px; }

.tips-interactive__badge {
    z-index: 20;
}

.tips-interactive__inner {
    z-index: 10;
}

.tips-interactive__panel {
    z-index: 50;
}

.tips-interactive__thumb {
    width: 4rem;
    height: 4rem;
}

.tips-interactive__thumb--sm {
    width: 3rem;
    height: 3rem;
}

.tips-interactive__panel--collapsed {
    opacity: 0;
    pointer-events: none;
    transform: translateY(-1rem);
}

.tips-interactive__panel--open {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
}

.quad-cluster-hero__lead {
  min-height: 420px;
  flex: 2 1 0;
}

.quad-cluster-hero__cover {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.quad-cluster-hero__lead img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.quad-cluster-hero__icon-band {
  height: 6rem;
}

.quad-cluster-hero__icon-tile {
  width: 3.5rem;
  height: 3.5rem;
}

.quad-cluster-hero__excerpt {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.glossary-v2-cluster__card {
    width: 100%;
}

@media (min-width: 992px) {
    .glossary-v2-cluster__card {
        width: calc(50% - 0.75rem); /* For gap-4 (1.5rem) -> half is 0.75rem */
    }
}

