.chart-section {
    padding: 6px 0 36px;
}

.chart-shell {
    position: relative;
    padding: clamp(28px, 4vw, 42px);
    border: 1px solid var(--line);
    border-radius: 38px;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.95), rgba(244, 248, 252, 0.92)),
        linear-gradient(135deg, rgba(7, 184, 255, 0.04), rgba(255, 138, 31, 0.04));
    box-shadow: var(--shadow);
    overflow: hidden;
    isolation: isolate;
}

.chart-shell::before,
.chart-shell::after {
    content: "";
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
    z-index: -1;
}

.chart-shell::before {
    width: 420px;
    height: 420px;
    top: -190px;
    left: -140px;
    background: radial-gradient(circle, rgba(7, 184, 255, 0.16), transparent 70%);
}

.chart-shell::after {
    width: 340px;
    height: 340px;
    right: -140px;
    bottom: -140px;
    background: radial-gradient(circle, rgba(0, 199, 137, 0.14), transparent 70%);
}

.org-chart-stage {
    position: relative;
}

.chart-brand-mark {
    position: absolute;
    inset: 24px 0 44px;
    display: grid;
    place-items: center;
    pointer-events: none;
    z-index: 0;
}

.chart-brand-mark::before {
    content: "";
    position: absolute;
    width: min(1280px, 116vw);
    aspect-ratio: 1;
    border-radius: 50%;
    background:
        radial-gradient(circle, rgba(7, 184, 255, 0.14), transparent 58%),
        radial-gradient(circle at 70% 35%, rgba(255, 138, 31, 0.1), transparent 26%),
        radial-gradient(circle at 35% 70%, rgba(0, 199, 137, 0.1), transparent 24%);
    filter: blur(6px);
}

.chart-brand-mark::after {
    content: "";
    position: absolute;
    width: min(1060px, 102vw);
    aspect-ratio: 1;
    border-radius: 50%;
    border: 1px solid rgba(7, 184, 255, 0.18);
    box-shadow:
        0 0 48px rgba(7, 184, 255, 0.12),
        inset 0 0 42px rgba(255, 255, 255, 0.24);
}

.chart-brand-image {
    position: relative;
    width: min(1090px, 124vw);
    max-width: 100%;
    opacity: 0.085;
    filter:
        drop-shadow(0 0 28px rgba(7, 184, 255, 0.14))
        drop-shadow(0 0 16px rgba(255, 138, 31, 0.08));
    mix-blend-mode: multiply;
    transform-origin: center center;
    animation: lap-logo-spin 52s linear infinite;
    will-change: transform;
}

.chart-shell .section-copy,
.chart-shell .flow-grid {
    position: relative;
    z-index: 1;
}

.chart-shell .status-row {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.chart-shell .status-pill {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 10px 14px;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: var(--surface-soft);
    color: var(--text);
    font-size: 0.88rem;
}

.chart-shell .status-pill::before {
    content: "";
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    box-shadow: 0 0 14px rgba(7, 184, 255, 0.24);
}

.org-chart {
    position: relative;
    z-index: 1;
    display: grid;
    gap: 20px;
}

.org-tier {
    position: relative;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 24px;
}

.connector-single {
    position: relative;
    width: 4px;
    height: 46px;
    margin: 0 auto;
    border-radius: 999px;
    background-image:
        linear-gradient(180deg, rgba(7, 184, 255, 0.08), rgba(7, 184, 255, 0.74), rgba(0, 199, 137, 0.68)),
        linear-gradient(180deg, transparent 0%, rgba(255, 255, 255, 0.12) 34%, rgba(255, 255, 255, 0.96) 50%, rgba(255, 255, 255, 0.12) 66%, transparent 100%);
    background-repeat: no-repeat;
    background-size: 100% 100%, 100% 18px;
    box-shadow:
        0 0 20px rgba(7, 184, 255, 0.18),
        0 0 34px rgba(7, 184, 255, 0.12);
    animation: led-strip-scan-vertical 2.3s linear infinite;
}

.connector-split {
    position: relative;
    width: min(1180px, calc(100% - 52px));
    height: 44px;
    margin: 0 auto;
}

.connector-split::before {
    content: "";
    position: absolute;
    top: 0;
    left: 50%;
    width: 4px;
    height: 22px;
    transform: translateX(-50%);
    border-radius: 999px;
    background-image:
        linear-gradient(180deg, rgba(7, 184, 255, 0.74), rgba(0, 199, 137, 0.7)),
        linear-gradient(180deg, transparent 0%, rgba(255, 255, 255, 0.14) 34%, rgba(255, 255, 255, 0.96) 50%, rgba(255, 255, 255, 0.14) 66%, transparent 100%);
    background-repeat: no-repeat;
    background-size: 100% 100%, 100% 18px;
    box-shadow:
        0 0 18px rgba(7, 184, 255, 0.16),
        0 0 28px rgba(7, 184, 255, 0.1);
    animation: led-strip-scan-vertical 2.3s linear infinite;
}

.connector-split::after {
    content: "";
    position: absolute;
    top: 22px;
    left: clamp(24px, 5vw, 56px);
    right: clamp(24px, 5vw, 56px);
    height: 4px;
    border-radius: 999px;
    background-image:
        linear-gradient(90deg, rgba(7, 184, 255, 0.44), rgba(255, 138, 31, 0.54), rgba(0, 199, 137, 0.44)),
        linear-gradient(90deg, transparent 0%, rgba(255, 255, 255, 0.1) 32%, rgba(255, 255, 255, 0.94) 50%, rgba(255, 255, 255, 0.1) 68%, transparent 100%);
    background-repeat: no-repeat;
    background-size: 100% 100%, 160px 100%;
    box-shadow:
        0 0 20px rgba(7, 184, 255, 0.12),
        0 0 36px rgba(7, 184, 255, 0.08);
    animation: led-strip-scan-horizontal 3.1s linear infinite;
}

.node {
    position: relative;
    width: min(100%, 330px);
    padding: 22px 20px 20px;
    border: 1px solid var(--line);
    border-radius: var(--radius-md);
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(244, 248, 252, 0.96)),
        linear-gradient(135deg, rgba(7, 184, 255, 0.04), rgba(255, 255, 255, 0));
    box-shadow:
        0 24px 48px rgba(16, 33, 52, 0.12),
        inset 0 1px 0 rgba(255, 255, 255, 0.82);
    overflow: hidden;
    backdrop-filter: blur(18px);
}

.node::before {
    content: "";
    position: absolute;
    top: 0;
    left: 20px;
    width: 82px;
    height: 3px;
    border-radius: 999px;
    background: linear-gradient(90deg, var(--primary), var(--accent));
    box-shadow: 0 0 18px rgba(7, 184, 255, 0.16);
}

.node::after {
    content: "";
    position: absolute;
    width: 180px;
    height: 180px;
    right: -90px;
    bottom: -90px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(7, 184, 255, 0.1), transparent 72%);
    pointer-events: none;
}

.node-stem {
    position: absolute;
    top: -30px;
    left: 50%;
    width: 3px;
    height: 30px;
    transform: translateX(-50%);
    border-radius: 999px;
    background-image:
        linear-gradient(180deg, rgba(7, 184, 255, 0.7), rgba(0, 199, 137, 0.58)),
        linear-gradient(180deg, transparent 0%, rgba(255, 255, 255, 0.14) 34%, rgba(255, 255, 255, 0.96) 50%, rgba(255, 255, 255, 0.14) 66%, transparent 100%);
    background-repeat: no-repeat;
    background-size: 100% 100%, 100% 16px;
    box-shadow:
        0 0 14px rgba(7, 184, 255, 0.12),
        0 0 22px rgba(7, 184, 255, 0.08);
    animation: led-strip-scan-vertical 2.1s linear infinite;
}

.node-kicker {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--muted);
    font-size: 0.74rem;
    font-weight: 700;
    letter-spacing: 0.24em;
    text-transform: uppercase;
}

.node-kicker::before {
    content: "";
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    box-shadow: 0 0 14px rgba(7, 184, 255, 0.2);
}

.node-avatar {
    display: flex;
    justify-content: center;
    margin-top: 18px;
}

.node-avatar-image {
    display: block;
    width: 92px;
    height: 92px;
    object-fit: cover;
    border-radius: 26px;
    border: 1px solid rgba(13, 26, 43, 0.08);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(238, 245, 251, 0.96));
    box-shadow:
        0 18px 32px rgba(16, 33, 52, 0.12),
        0 0 24px rgba(7, 184, 255, 0.12);
}

.node-primary .node-avatar-image {
    width: 104px;
    height: 104px;
}

.node-team-hub .node-avatar-image {
    width: 110px;
    height: 110px;
}

.node h3 {
    margin: 14px 0 8px;
    font-size: 1.2rem;
    line-height: 1.35;
}

[data-org-type="person"] [data-org-field="name"],
[data-org-type="person"] [data-org-field="role"] {
    text-align: center;
}

.node p {
    margin: 0;
    color: var(--muted);
    line-height: 1.7;
}

.node-primary {
    width: min(100%, 360px);
    text-align: center;
    background:
        radial-gradient(circle at top, rgba(7, 184, 255, 0.12), transparent 58%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(240, 247, 252, 0.96));
}

.node-primary::before {
    left: 50%;
    transform: translateX(-50%);
    width: 110px;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
}

.node-primary h3 {
    font-size: 1.35rem;
}

.node-primary p {
    max-width: 30ch;
    margin-inline: auto;
}

.tier-leadership .node {
    flex: 1 1 220px;
    max-width: 260px;
    min-width: 210px;
}

.tier-team {
    display: grid;
    grid-template-columns: repeat(7, minmax(0, 1fr));
    gap: 14px;
    align-items: start;
}

.tier-team .node {
    width: 100%;
    max-width: none;
    min-width: 0;
    padding: 20px 16px 18px;
}

.tier-team .node-avatar-image {
    width: 82px;
    height: 82px;
    border-radius: 22px;
}

.tier-team .node h3 {
    font-size: 1rem;
}

.tier-team .node p {
    font-size: 0.9rem;
}

.node-team-hub {
    width: min(100%, 430px);
    text-align: center;
    background:
        radial-gradient(circle at top, rgba(0, 199, 137, 0.12), transparent 58%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.94), rgba(240, 247, 252, 0.92));
}

.node-team-hub::before {
    left: 50%;
    transform: translateX(-50%);
    width: 120px;
    background: linear-gradient(90deg, var(--secondary), var(--primary));
}

.flow-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
    margin-top: 30px;
}

.flow-card {
    padding: 18px 16px;
    border: 1px solid var(--line);
    border-radius: 22px;
    background: var(--surface-soft);
}

.flow-card strong {
    display: block;
    font-size: 0.98rem;
    line-height: 1.4;
}

.flow-card span {
    display: block;
    margin-top: 10px;
    color: var(--muted);
    font-size: 0.92rem;
    line-height: 1.7;
}

@keyframes lap-logo-spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

@keyframes led-strip-scan-vertical {
    0% {
        background-position: 0 0, 50% -28px;
    }

    100% {
        background-position: 0 0, 50% calc(100% + 28px);
    }
}

@keyframes led-strip-scan-horizontal {
    0% {
        background-position: 0 0, -160px 50%;
    }

    100% {
        background-position: 0 0, calc(100% + 160px) 50%;
    }
}

@media (max-width: 1080px) {
    .chart-brand-mark {
        inset: 52px 0 64px;
    }

    .chart-brand-image {
        width: min(870px, 112vw);
    }

    .tier-team {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 16px;
    }

    .flow-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 860px) {
    .connector-split {
        width: calc(100% - 24px);
    }
}

@media (max-width: 760px) {
    .tier-team {
        grid-template-columns: 1fr;
    }

    .chart-brand-mark {
        inset: 72px 0 76px;
    }

    .chart-brand-image {
        width: min(590px, 132vw);
        opacity: 0.075;
    }

    .connector-split {
        width: 4px;
        height: 52px;
    }

    .connector-split::before {
        height: 52px;
    }

    .connector-split::after,
    .node-stem {
        display: none;
    }

    .flow-grid {
        grid-template-columns: 1fr;
    }
}

@media (prefers-reduced-motion: reduce) {
    .connector-single,
    .chart-brand-image,
    .connector-split::before,
    .connector-split::after,
    .node-stem {
        animation: none;
    }
}
