@keyframes rotateSquare {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.intro-pattern-overlay {
    background-image: repeating-linear-gradient(45deg, transparent, transparent 20px, currentColor 20px, currentColor 40px);
    opacity: 0.03;
    top: -20%;
    left: -30%;
    width: 100%;
    height: 100%;
    animation: rotateSquare 20s linear infinite;
}

.intro-pattern-content {
    max-width: 56rem;
}

/* Card hover: scale */
.portfolio-item-hover {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.portfolio-item-hover:hover {
    transform: scale(1.05);
}

/* Image: zoom on card hover */
.portfolio-item-hover .portfolio-img-hover {
    transition: transform 0.5s ease;
}
.portfolio-item-hover:hover .portfolio-img-hover {
    transform: scale(1.05);
}

/* Gradient overlay: fade in on card hover */
.portfolio-overlay-hover {
    opacity: 0;
    transition: opacity 0.3s ease;
}
.portfolio-item-hover:hover .portfolio-overlay-hover {
    opacity: 1;
}


.prose-bodycopy__bg-overlay {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.prose-bodycopy__title-trail { margin-bottom: 2rem; }

.prose-bodycopy__rule-trail { margin-bottom: 3rem; }

.content-heading-gap {
    margin-bottom: 2rem;
}

.content-section-pad {
    padding-top: 6rem;
    padding-bottom: 6rem;
}

.stats-strata__swatch { width: 1rem; height: 1rem; flex-shrink: 0; }
.stats-strata__layer--1 { opacity: .55; }
.stats-strata__layer--2 { opacity: .25; }

.stats-strata__stage { height: 16rem; }
.stats-strata__chart { display: block; width: 100%; height: 100%; overflow: visible; }
.stats-strata__area { transform: scaleY(0); transform-origin: bottom; transform-box: fill-box; transition: transform 1100ms cubic-bezier(.2, .8, .2, 1); }
.stats-strata__area.stats-strata__layer--0 { opacity: .9; transition-delay: 600ms; }
.stats-strata__area.stats-strata__layer--1 { transition-delay: 300ms; }
[data-strata].is-visible .stats-strata__area { transform: scaleY(1); }

[data-guides] line { stroke-dasharray: 4 5; opacity: 0; transition: opacity 400ms ease 1400ms; }
[data-strata].is-visible [data-guides] line { opacity: 1; }

.stats-strata__pin { width: 2rem; height: 2rem; transform: translate(-50%, -50%) scale(0); transition: transform 400ms cubic-bezier(.3, 1.6, .5, 1); }
[data-strata].is-visible .stats-strata__pin { transform: translate(-50%, -50%) scale(1); }
.stats-strata__pin.is-hot { transform: translate(-50%, -50%) scale(1.3) !important; }

.stats-strata__num { width: 1.5rem; height: 1.5rem; flex-shrink: 0; }
.stats-strata__callout { cursor: default; transition: transform 200ms ease; }
.stats-strata__callout:hover,
.stats-strata__callout:focus-visible { transform: translateY(-3px); }
.stats-strata__micro { font-size: .75rem; }

@media (prefers-reduced-motion: reduce) {
    .stats-strata__area, .stats-strata__pin, [data-guides] line { transition: none; transform: none; opacity: 1; }
    [data-strata].is-visible .stats-strata__pin { transform: translate(-50%, -50%); }
}
.stats-strata__micro { min-width: 0; }
.stats-strata__micro > span { flex: 1 1 0; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; text-align: center; }
.stats-strata__micro > span:first-child { text-align: left; }
.stats-strata__micro > span:last-child { text-align: right; }
/* long values must wrap inside the 2-column grid on phones */
.stats-strata__callout { min-width: 0; }
/* badge always sits above the value so all four callouts line up */
.stats-strata__callout > dd { flex-direction: column; align-items: flex-start !important; gap: .5rem !important; min-width: 0; }
.stats-strata__value { min-width: 0; overflow-wrap: anywhere; line-height: 1.1; }
.stats-strata__suffix { display: inline-block; font-size: .6em; margin-left: .1em; line-height: 1.2; vertical-align: baseline; }
@media (max-width: 575px) { .stats-strata__callout > dd { font-size: 1.5rem !important; } }

/* wpg-hidden: utility classes are renamed in production builds, so hidden states must not rely on .hidden / .d-none alone */
.stats-strata[hidden], .stats-strata [hidden], .stats-strata .hidden.d-none { display: none !important; }
.stats-strata__num { align-self: flex-start !important; }

.orbit-spotlight-quote__portrait {
    width: 6rem;
    height: 6rem;
}


.prompt-beacon__section {
    padding-top: 6rem;
    padding-bottom: 6rem;
}

.prompt-beacon__appeal--shift:hover { transform: scale(1.05); transition: transform .2s ease; }

.prompt-beacon__sheet--haze { backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px); }

