.stage-page,
.stage-page *,
.stage-page *::before,
.stage-page *::after { box-sizing: border-box; }

html[data-stage-mode] body { overflow-y: auto; }

.stage-page {
    --stage: var(--wcom-body-bg);
    --stage-lift: var(--wcom-surface-bg);
    --steel-text: var(--wcom-primary-text);
    --signal-text: var(--wcom-secondary-text);
    --measure: min(34rem, 86vw);

    min-block-size: 100dvh;
    overflow-x: hidden;
    background-color: var(--stage);
    color: var(--wcom-body-color);
}

.stage-ground {
    position: fixed;
    inset: 0;
    z-index: 0;
    background-color: var(--stage-lift);
    background-image:
        radial-gradient(102% 88% at 50% 42%,
            rgba(14, 20, 28, 0) 0%,
            rgba(14, 20, 28, 0) 58%,
            rgba(14, 20, 28, 0.62) 86%,
            rgba(14, 20, 28, 0.96) 100%);
}

.stage-field { position: fixed; inset: 0; z-index: 1; will-change: transform; }
.stage-layer { position: absolute; inset: 0; will-change: transform, opacity; }
.stage-layer canvas { position: absolute; inset: 0; inline-size: 100%; block-size: 100%; }
.stage-layer-far { filter: blur(1.7px); }
.stage-layer-mid { filter: blur(0.55px); }

.stage-haze {
    position: fixed;
    inset: 0;
    z-index: 2;
    pointer-events: none;
    background-image:
        radial-gradient(50% 40% at 50% 46%,
            rgba(14, 20, 28, 0.34) 0%,
            rgba(14, 20, 28, 0.16) 50%,
            rgba(14, 20, 28, 0) 84%);
    will-change: opacity;
}

.stage-bloom {
    position: fixed;
    inset-block-start: 50%;
    inset-inline-start: 50%;
    inline-size: 120vmax;
    block-size: 120vmax;
    z-index: 2;
    pointer-events: none;
    transform: translate(-50%, -50%) scale(0.15);
    background-image: radial-gradient(circle,
        rgba(var(--wcom-secondary-rgb), 0.42) 0%,
        rgba(var(--wcom-secondary-rgb), 0.11) 34%,
        rgba(var(--wcom-secondary-rgb), 0) 62%);
    opacity: 0;
    will-change: transform, opacity;
}

.stage-vignette {
    position: fixed;
    inset: 0;
    z-index: 6;
    pointer-events: none;
    background-image: radial-gradient(120% 96% at 50% 46%,
        rgba(0, 0, 0, 0) 58%, rgba(0, 0, 0, 0.07) 84%, rgba(0, 0, 0, 0.16) 100%);
}

.stage-grain {
    position: fixed;
    inset: -50%;
    z-index: 7;
    pointer-events: none;
    opacity: 0.035;
    mix-blend-mode: overlay;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='180' height='180' filter='url(%23n)' opacity='0.5'/%3E%3C/svg%3E");
    will-change: transform;
}

.stage-flash {
    position: fixed;
    inset: 0;
    z-index: 8;
    pointer-events: none;
    background-color: color-mix(in srgb, var(--wcom-pulse) 62%, white);
    opacity: 0;
    will-change: opacity;
}

.stage {
    position: relative;
    z-index: 3;
    display: grid;
    align-items: center;
    justify-items: center;
    min-block-size: 100dvh;
    padding: clamp(4.5rem, 9vw, 6.5rem) 1.25rem clamp(3rem, 6vw, 4.5rem);
}

.stage-locale {
    position: absolute;
    inset-block-start: clamp(1.1rem, 2.4vw, 1.7rem);
    inset-inline-end: clamp(1.1rem, 2.4vw, 1.7rem);
    display: inline-flex;
    gap: 0.15rem;
    align-items: center;
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    will-change: opacity;
}

.stage-locale a {
    padding: 0.3rem 0.5rem;
    color: var(--wcom-muted-color);
    text-decoration: none;
    border-radius: 0.375rem;
    transition: color 0.2s ease, background-color 0.2s ease;
}

.stage-locale a:hover { color: var(--wcom-heading-color); }

.stage-locale a.is-current {
    color: var(--wcom-heading-color);
    background-color: color-mix(in srgb, var(--wcom-heading-color) 8%, transparent);
}

.stage-locale-sep { color: color-mix(in srgb, var(--wcom-muted-color) 45%, transparent); }

.stage-reel {
    position: absolute;
    inset: 0;
    display: none;
    place-items: center;
    padding-inline: 7%;
    pointer-events: none;
}

.stage-line {
    grid-area: 1 / 1;
    max-inline-size: 22ch;
    color: var(--wcom-heading-color);
    font-size: clamp(1.85rem, 5vw, 3.75rem);
    font-weight: 800;
    letter-spacing: -0.03em;
    line-height: 1.08;
    text-align: center;
    text-wrap: balance;
    opacity: 0;
    will-change: opacity;
}

.stage-line.is-big { font-size: clamp(2.2rem, 6.2vw, 4.5rem); }

.stage-line .w {
    display: inline-block;
    padding-block: 0.24em;
    margin-block: -0.24em;
    will-change: opacity, transform, filter;
}

.stage-line .hi,
.stage-lede b, .stage-lede strong,
.stage-sign-off b, .stage-sign-off strong {
    background-image: linear-gradient(100deg, var(--steel-text), var(--signal-text));
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
    font-weight: inherit;
    white-space: nowrap;
}

.stage-finale {
    display: grid;
    justify-items: center;
    inline-size: 100%;
    will-change: opacity;
}

.stage-mark {
    display: block;
    block-size: clamp(3.4rem, 8.2vw, 5.25rem);
    inline-size: auto;
    will-change: opacity, transform, filter;
}

.stage-word {
    margin-block-start: 0.7rem;
    padding-inline-start: 0.15em;
    color: var(--wcom-heading-color);
    font-family: "Baloo 2", var(--wcom-font-display);
    font-size: clamp(1.45rem, 3vw, 1.95rem);
    font-weight: 400;
    letter-spacing: 0.15em;
    line-height: 1;
    direction: ltr;
    will-change: opacity, transform;
}

.stage-lede {
    max-inline-size: var(--measure);
    margin-block: clamp(1.5rem, 3.4vw, 2.4rem) 0;
    color: var(--wcom-body-color);
    font-size: clamp(1rem, 1.85vw, 1.2rem);
    font-weight: 500;
    line-height: 1.5;
    text-align: center;
    text-wrap: balance;
    will-change: opacity, transform;
}

.stage-rule {
    inline-size: var(--measure);
    max-inline-size: 100%;
    block-size: 1px;
    margin-block-start: clamp(1.6rem, 3.4vw, 2.5rem);
    background-image: linear-gradient(90deg,
        transparent 0%,
        var(--signal-text) 20%,
        var(--wcom-pulse) 50%,
        var(--signal-text) 80%,
        transparent 100%);

    filter:
        drop-shadow(0 0 5px rgba(var(--wcom-secondary-rgb), 0.9))
        drop-shadow(0 0 14px rgba(var(--wcom-secondary-rgb), 0.55));
    will-change: inline-size, opacity;
}

.stage-sign-off {
    margin-block-start: clamp(1.4rem, 3vw, 2.1rem);
    color: var(--wcom-heading-color);
    font-size: clamp(1.05rem, 2.2vw, 1.4rem);
    font-weight: 700;
    letter-spacing: -0.015em;
    text-align: center;
    will-change: opacity, transform;
}

.stage-ledger {
    inline-size: var(--measure);
    max-inline-size: 100%;
    margin-block-start: 0.35rem;
}

.stage-row {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 1rem 1.5rem;
    padding-block: 0.85rem;
    will-change: opacity, transform;
}

.stage-row + .stage-row {
    border-block-start: 1px solid color-mix(in srgb, var(--wcom-border-color) 80%, transparent);
}

.stage-row-label {
    color: var(--wcom-muted-color);
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    white-space: nowrap;
}

.stage-row-value {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--wcom-body-color);
    font-size: 0.85rem;
    font-weight: 600;
    text-align: end;
}

.stage-dot {
    flex: none;
    inline-size: 0.44rem;
    block-size: 0.44rem;
    border-radius: 50%;
    background-color: currentColor;
}

.stage-row-value.is-holding { color: var(--wcom-muted-color); }
.stage-row-value.is-holding .stage-dot { background-color: color-mix(in srgb, var(--wcom-muted-color) 70%, transparent); }

.stage-row-value.is-running { color: color-mix(in srgb, var(--wcom-success) 62%, white); }
.stage-row-value.is-running .stage-dot { box-shadow: 0 0 0 0.22rem color-mix(in srgb, var(--wcom-success) 18%, transparent); }

.stage-note {
    max-inline-size: var(--measure);
    margin-block-start: clamp(1.4rem, 3vw, 2rem);
    color: var(--wcom-muted-color);
    font-size: 0.82rem;
    line-height: 1.55;
    text-align: center;
    text-wrap: balance;
    will-change: opacity;
}

.stage-colophon {
    position: absolute;
    inset-block-end: clamp(1rem, 2.4vw, 1.6rem);
    inset-inline: 0;
    color: color-mix(in srgb, var(--wcom-muted-color) 72%, transparent);
    font-size: 0.72rem;
    text-align: center;
    will-change: opacity;
}

.stage-page :focus-visible {
    outline: 2px solid var(--signal-text);
    outline-offset: 3px;
    border-radius: 0.25rem;
}

[data-stage-mode="teaser"] .stage-ledger,
[data-stage-mode="teaser"] .stage-note { display: none; }

[data-stage-mode="maintenance"] .stage-sign-off { display: none; }

.has-stage-js .stage-reel { display: grid; }
.has-stage-js .stage-finale,
.has-stage-js .stage-locale,
.has-stage-js .stage-colophon,
.has-stage-js .stage-mark,
.has-stage-js .stage-word,
.has-stage-js .stage-lede,
.has-stage-js .stage-rule,
.has-stage-js .stage-sign-off,
.has-stage-js .stage-row,
.has-stage-js .stage-note { opacity: 0; }

.has-stage-js .stage-rule { inline-size: 0; }

@media (max-width: 575.98px) {
    .stage-row { flex-direction: column; align-items: flex-start; gap: 0.4rem; }
    .stage-row-value { text-align: start; }
}

@media (max-height: 620px) {
    .stage { align-items: start; }
}

@media (prefers-reduced-motion: reduce) {
    .stage-layer-far, .stage-layer-mid { filter: none; }
    .stage-grain { display: none; }
}
