.performance-wheel-section {
    --wheel-accent: var(--public-brand-blue);
    --wheel-accent-strong: var(--public-brand-blue);
    padding: 5rem 0;
    overflow: visible;
}

.performance-wheel-intro {
    margin: 1rem;;
    text-align: center;
}

.performance-wheel-intro h2 {
    margin: .65rem 0 1rem;
    color: #edfaff;
    font-size: clamp(2rem, 4.5vw, 3.45rem);
    line-height: 1.05;
    letter-spacing: -.045em;
}

.performance-wheel-intro p {
    margin: 0;
    color: #aebdc5;
    font-size: clamp(1rem, 1.7vw, 1.15rem);
    line-height: 1.65;
}

.performance-wheel {
    position: relative;
    width: min(100%, 62.5rem);
    margin: 0 auto;
    aspect-ratio: 1000 / 680;
    isolation: isolate;
    animation: performance-wheel-enter .65s ease-out both;
}

.performance-wheel-orbit {
    position: absolute;
    z-index: 0;
    inset: 0;
    width: 100%;
    height: 100%;
    overflow: visible;
    pointer-events: none;
}

.performance-wheel-circle,
.performance-wheel-connector {
    fill: none;
    stroke: rgba(var(--public-brand-rgb), .5);
    stroke-width: 5;
    stroke-dasharray: 1 17;
    stroke-linecap: round;
}

.performance-wheel-connector {
    transition: stroke .25s ease, stroke-width .25s ease, filter .25s ease;
}

.performance-wheel-ride {
    fill: none;
    pointer-events: none;
    opacity: 0;
    stroke-linecap: round;
    stroke-dasharray: .14 .86;
    stroke-dashoffset: 0;
}

.performance-wheel-ride-glow {
    stroke: var(--wheel-accent);
    stroke-width: 15;
    filter: blur(9px);
}

.performance-wheel-ride-core {
    stroke: #f6ffff;
    stroke-width: 2.8;
    filter: drop-shadow(0 0 5px var(--wheel-accent));
}

.performance-wheel-endpoint {
    fill: rgba(var(--public-brand-rgb), .72);
    transform-box: fill-box;
    transform-origin: center;
    transition: fill .25s ease, filter .25s ease, transform .25s ease;
}

.performance-wheel-hub {
    position: absolute;
    z-index: 2;
    top: 50%;
    left: 50%;
    display: grid;
    width: 12rem;
    place-items: center;
    color: #edfaff;
    text-align: center;
    transform: translate(-50%, -50%);
}

.performance-wheel-hub i {
    margin-bottom: .65rem;
    color: var(--wheel-accent);
    font-size: 1.85rem;
}

.performance-wheel-hub strong {
    font-size: clamp(1.5rem, 2.8vw, 2.1rem);
    line-height: 1.1;
}

.performance-wheel-hub p {
    margin: .55rem 0 0;
    color: #aebdc5;
    font-size: .9rem;
    line-height: 1.4;
    transition: color .25s ease;
}

/* The hub is the shared destination: light it with the active capability. */
.performance-wheel-hub,
.performance-wheel-hub i,
.performance-wheel-hub strong {
    transition: color .25s ease, text-shadow .25s ease, filter .25s ease;
}

.performance-wheel-node {
    position: absolute;
    z-index: 3;
    width: 4.75rem;
    height: 4.75rem;
    padding: 0;
    overflow: visible;
    border: 0;
    background: transparent;
    color: #edfaff;
    font: inherit;
    text-align: left;
    cursor: pointer;
    transform: translate(-50%, -50%);
}

.performance-wheel-marker {
    display: grid;
    width: 4.75rem;
    height: 4.75rem;
    place-items: center;
    border: 1.5px solid rgba(var(--public-brand-rgb), .58);
    border-radius: 50%;
    color: var(--wheel-accent);
    background: #071116;
    box-shadow: 0 0 0 7px rgba(var(--public-brand-rgb), .025);
    transition: color .25s ease, background .25s ease, border-color .25s ease, box-shadow .25s ease, transform .25s ease;
}

.performance-wheel-marker i {
    font-size: 1.15rem;
}

.performance-wheel-copy {
    position: absolute;
    display: block;
    width: 14rem;
    padding: 0;
    transition: width .25s ease;
}

.performance-wheel-copy strong {
    display: block;
    color: #edfaff;
    font-size: 1.12rem;
    line-height: 1.2;
}

.performance-wheel-copy small {
    display: block;
    max-height: 0;
    margin-top: 0;
    overflow: hidden;
    color: #aebdc5;
    font-size: .9rem;
    line-height: 1.5;
    opacity: 0;
    transition: max-height .3s ease, margin-top .3s ease, opacity .2s ease;
}

.performance-wheel-node:hover,
.performance-wheel-node:focus,
.performance-wheel-node:focus-visible {
    outline: none;
}

.performance-wheel-node:hover .performance-wheel-marker,
.performance-wheel-node:focus .performance-wheel-marker,
.performance-wheel-node:focus-visible .performance-wheel-marker {
    border-color: var(--wheel-accent);
    color: #071116;
    background: var(--wheel-accent);
    box-shadow: 0 0 0 8px rgba(var(--public-brand-rgb), .07), 0 0 30px rgba(var(--public-brand-rgb), .46);
    transform: scale(1.28);
}

.performance-wheel-node:hover .performance-wheel-copy,
.performance-wheel-node:focus .performance-wheel-copy,
.performance-wheel-node:focus-visible .performance-wheel-copy {
    width: 17rem;
}

.performance-wheel-node:hover .performance-wheel-copy strong,
.performance-wheel-node:focus .performance-wheel-copy strong,
.performance-wheel-node:focus-visible .performance-wheel-copy strong {
    color: var(--wheel-accent);
}

.performance-wheel-node:hover .performance-wheel-copy small,
.performance-wheel-node:focus .performance-wheel-copy small,
.performance-wheel-node:focus-visible .performance-wheel-copy small {
    max-height: 8rem;
    margin-top: .5rem;
    opacity: 1;
}

.node-reviews { top: 15.45%; left: 23%; }
.node-one-on-one { top: 15.45%; left: 77%; }
.node-succession { top: 50%; left: 23%; }
.node-disciplinary { top: 50%; left: 77%; }
.node-improvement { top: 84.55%; left: 23%; }
.node-recognition { top: 84.55%; left: 77%; }

.node-one-on-one .performance-wheel-copy,
.node-disciplinary .performance-wheel-copy,
.node-recognition .performance-wheel-copy {
    top: 50%;
    left: calc(100% + 1.2rem);
    transform: translateY(-50%);
}

.node-reviews .performance-wheel-copy,
.node-succession .performance-wheel-copy,
.node-improvement .performance-wheel-copy {
    top: 50%;
    right: calc(100% + 1.2rem);
    text-align: right;
    transform: translateY(-50%);
}

.performance-wheel:has(.node-reviews:is(:hover, :focus)) .connector-reviews,
.performance-wheel:has(.node-one-on-one:is(:hover, :focus)) .connector-one-on-one,
.performance-wheel:has(.node-succession:is(:hover, :focus)) .connector-succession,
.performance-wheel:has(.node-disciplinary:is(:hover, :focus)) .connector-disciplinary,
.performance-wheel:has(.node-improvement:is(:hover, :focus)) .connector-improvement,
.performance-wheel:has(.node-recognition:is(:hover, :focus)) .connector-recognition {
    stroke: var(--wheel-accent);
    filter: drop-shadow(0 0 7px rgba(var(--public-brand-rgb), .65));
}

.performance-wheel:has(.performance-wheel-node:is(:hover, :focus)) .performance-wheel-circle {
    stroke: var(--wheel-accent);
    stroke-width: 6.5;
    filter: drop-shadow(0 0 10px rgba(var(--public-brand-rgb), .72));
}

.performance-wheel:has(.performance-wheel-node:is(:hover, :focus)) .performance-wheel-hub {
    color: #f5feff;
    text-shadow: 0 0 20px rgba(var(--public-brand-rgb), .48);
}

.performance-wheel:has(.performance-wheel-node:is(:hover, :focus)) .performance-wheel-hub i,
.performance-wheel:has(.performance-wheel-node:is(:hover, :focus)) .performance-wheel-hub strong {
    color: var(--wheel-accent);
    filter: drop-shadow(0 0 8px rgba(var(--public-brand-rgb), .72));
}

.performance-wheel:has(.performance-wheel-node:is(:hover, :focus)) .performance-wheel-hub p {
    color: #d6f6fa;
}

.performance-wheel:has(.node-reviews:is(:hover, :focus)) .performance-wheel-ride[data-wheel-connector="reviews"],
.performance-wheel:has(.node-one-on-one:is(:hover, :focus)) .performance-wheel-ride[data-wheel-connector="one-on-one"],
.performance-wheel:has(.node-succession:is(:hover, :focus)) .performance-wheel-ride[data-wheel-connector="succession"],
.performance-wheel:has(.node-disciplinary:is(:hover, :focus)) .performance-wheel-ride[data-wheel-connector="disciplinary"],
.performance-wheel:has(.node-improvement:is(:hover, :focus)) .performance-wheel-ride[data-wheel-connector="improvement"],
.performance-wheel:has(.node-recognition:is(:hover, :focus)) .performance-wheel-ride[data-wheel-connector="recognition"] {
    opacity: 1;
    animation: performance-wheel-ride 1.8s linear var(--wheel-ride-delay, 0s) infinite;
}

.performance-wheel:has(.node-reviews:is(:hover, :focus)) .performance-wheel-endpoint.connector-reviews,
.performance-wheel:has(.node-one-on-one:is(:hover, :focus)) .performance-wheel-endpoint.connector-one-on-one,
.performance-wheel:has(.node-succession:is(:hover, :focus)) .performance-wheel-endpoint.connector-succession,
.performance-wheel:has(.node-disciplinary:is(:hover, :focus)) .performance-wheel-endpoint.connector-disciplinary,
.performance-wheel:has(.node-improvement:is(:hover, :focus)) .performance-wheel-endpoint.connector-improvement,
.performance-wheel:has(.node-recognition:is(:hover, :focus)) .performance-wheel-endpoint.connector-recognition {
    transform: scale(1.4);
}

@keyframes performance-wheel-enter {
    from { opacity: 0; transform: translateY(1.25rem); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes performance-wheel-ride {
    to { stroke-dashoffset: -1; }
}

@media (max-width: 959px) {
    .performance-wheel-section { padding: 3.5rem 0; }

    .performance-wheel {
        display: grid;
        width: 100%;
        aspect-ratio: auto;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: .8rem;
    }

    .performance-wheel-orbit { display: none; }

    .performance-wheel-hub {
        position: relative;
        top: auto;
        left: auto;
        grid-column: 1 / -1;
        width: 100%;
        min-height: 9rem;
        padding: 1.25rem;
        border: 1px dashed rgba(var(--public-brand-rgb), .35);
        border-radius: 1.25rem;
        background: rgba(7, 17, 22, .72);
        transform: none;
    }

    .performance-wheel-node,
    .performance-wheel-node:hover,
    .performance-wheel-node:focus,
    .performance-wheel-node:focus-visible {
        position: relative;
        top: auto;
        left: auto;
        display: grid;
        width: auto;
        height: auto;
        min-height: 9rem;
        grid-template-columns: 3rem 1fr;
        align-items: start;
        gap: .8rem;
        padding: 1rem;
        border: 1px solid rgba(var(--public-brand-rgb), .2);
        border-radius: 1rem;
        background: rgba(7, 17, 22, .82);
        transform: none;
    }

    .performance-wheel-marker,
    .performance-wheel-node:hover .performance-wheel-marker,
    .performance-wheel-node:focus .performance-wheel-marker,
    .performance-wheel-node:focus-visible .performance-wheel-marker {
        width: 3rem;
        height: 3rem;
        transform: none;
    }

    .performance-wheel-copy,
    .node-reviews .performance-wheel-copy,
    .node-one-on-one .performance-wheel-copy,
    .node-succession .performance-wheel-copy,
    .node-disciplinary .performance-wheel-copy,
    .node-improvement .performance-wheel-copy,
    .node-recognition .performance-wheel-copy,
    .performance-wheel-node:hover .performance-wheel-copy,
    .performance-wheel-node:focus .performance-wheel-copy,
    .performance-wheel-node:focus-visible .performance-wheel-copy {
        position: static;
        width: auto;
        padding: .15rem 0 0;
        border: 0;
        background: transparent;
        box-shadow: none;
        text-align: left;
        transform: none;
    }

    .performance-wheel-copy small,
    .performance-wheel-node:hover .performance-wheel-copy small,
    .performance-wheel-node:focus .performance-wheel-copy small,
    .performance-wheel-node:focus-visible .performance-wheel-copy small {
        max-height: none;
        margin-top: .45rem;
        opacity: 1;
    }
}

@media (max-width: 560px) {
    .performance-wheel { grid-template-columns: 1fr; }
    .performance-wheel-hub { grid-column: auto; }
}

@media (prefers-reduced-motion: reduce) {
    .performance-wheel,
    .performance-wheel-marker,
    .performance-wheel-copy,
    .performance-wheel-copy small,
    .performance-wheel-connector,
    .performance-wheel-ride,
    .performance-wheel-endpoint { animation: none; transition: none; }
}

/* Crisp paired lights share one continuous hub / connector / feature route. */
.performance-wheel-lights {
    position: absolute;
    inset: 0;
    z-index: 4;
    width: 100%;
    height: 100%;
    overflow: visible;
    pointer-events: none;
}
.performance-wheel-lights path {
    fill: none;
    stroke-linecap: round;
    stroke-linejoin: round;
    animation: performance-wheel-light-travel var(--wheel-light-duration) linear infinite;
    animation-delay: calc(var(--wheel-light-duration) * var(--wheel-light-phase) * -1);
}
.performance-wheel-light-blue {
    stroke: var(--wheel-accent);
    stroke-width: 4.5;
    filter: drop-shadow(0 0 1px var(--wheel-accent));
}
.performance-wheel-light-white { stroke: #fff; stroke-width: 2; }
@keyframes performance-wheel-light-travel {
    from { stroke-dashoffset: 0; }
    to { stroke-dashoffset: calc(-1 * var(--wheel-light-length)); }
}
@media (max-width: 959px), (prefers-reduced-motion: reduce) {
    .performance-wheel-lights { display: none; }
    .performance-wheel-lights path { animation: none; }
}
