:root {
    --bg:#030712;
    --bg-2:#0a1020;
    --surface:#0b1326;
    --surface-elevated:#101c38;
    --text:#e6f0ff;
    --muted:#b5c7e3;
    --primary:#5ac8ff;
    --primary-alt:#9dd6ff;
    --border:#132544;
    --radius:16px;
    --shadow:0 20px 60px rgba(3, 7, 18, 0.45);
    --font-body:"Inter", "Segoe UI", sans-serif;
    --font-heading:"Inter", "Segoe UI", sans-serif;
    --max-width:1100px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    background: var(--bg);
}

body {
    margin: 0;
    font-family: var(--font-body);
    color: var(--text);
    background: transparent;
    line-height: 1.6;
    min-height: 100vh;
}

img {
    max-width: 100%;
    display: block;
}

#background-root {
    position: fixed;
    inset: 0;
    z-index: -2;
    overflow: hidden;
    background: radial-gradient(circle at top left, rgba(90, 200, 255, 0.12), transparent 60%),
                radial-gradient(circle at bottom right, rgba(157, 214, 255, 0.08), transparent 55%),
                var(--bg);
}

#universe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    display: block;
}

#universe-fallback {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 0.6s ease;
}

#hero-gradient {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(3, 7, 18, 0.75) 0%, rgba(3, 7, 18, 0.4) 40%, rgba(3, 7, 18, 0.85) 100%);
    pointer-events: none;
    z-index: 1;
}

.site-shell {
    position: relative;
    z-index: 0;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

.container {
    width: min(100% - 2.5rem, var(--max-width));
    margin-inline: auto;
}

.site-header {
    padding-top: clamp(2.5rem, 4vw, 4rem);
    padding-bottom: clamp(4rem, 8vw, 7rem);
}

.site-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
}

.brand {
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--text);
    text-decoration: none;
    font-size: 0.9rem;
    position: relative;
    padding-bottom: 0.4rem;
}

.brand::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 45%;
    height: 2px;
    background: var(--primary);
    transition: width 0.3s ease;
}

.brand:focus-visible,
.brand:hover {
    color: var(--primary-alt);
}

.brand:focus-visible::after,
.brand:hover::after {
    width: 100%;
}

.nav-link {
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--text);
    text-decoration: none;
    font-size: 0.9rem;
    position: relative;
    padding-bottom: 0.4rem;
}

.nav-link::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 0;
    height: 2px;
    background: var(--primary);
    transition: width 0.3s ease;
}

.nav-link:focus-visible,
.nav-link:hover {
    color: var(--primary-alt);
}

.nav-link:focus-visible::after,
.nav-link:hover::after {
    width: 100%;
}

.hero {
    margin-top: clamp(3rem, 8vw, 6rem);
}

.hero-layout {
    display: grid;
    gap: clamp(2rem, 5vw, 3rem);
    align-items: start;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.hero-content {
    max-width: 640px;
}

.eyebrow {
    text-transform: uppercase;
    letter-spacing: 0.18em;
    font-size: 0.75rem;
    color: var(--primary-alt);
    margin-bottom: 1rem;
}

.hero h1 {
    font-family: var(--font-heading);
    font-weight: 700;
    letter-spacing: -0.01em;
    font-size: clamp(2.6rem, 6vw, 4.2rem);
    line-height: 1.1;
    text-shadow: 0 12px 32px rgba(3, 7, 18, 0.7);
}

.lead {
    font-size: clamp(1.05rem, 2.4vw, 1.3rem);
    color: var(--muted);
    margin-block: 1.5rem 2.2rem;
}

.hero-actions {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 2.5rem;
}

.hero-actions-row {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.hero-report {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.85rem 2rem;
    border-radius: 999px;
    border: 1px solid rgba(90, 200, 255, 0.35);
    background: rgba(8, 14, 28, 0.75);
    color: var(--primary-alt);
    font-weight: 600;
    text-decoration: none;
    transition: transform 0.2s ease, border 0.2s ease, color 0.2s ease, background 0.2s ease;
    width: 100%;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.hero-report:hover,
.hero-report:focus-visible {
    transform: translateY(-2px);
    border-color: var(--primary);
    color: var(--text);
    background: rgba(18, 28, 48, 0.9);
}

.hero-panel {
    background: rgba(8, 14, 28, 0.8);
    border: 1px solid rgba(82, 122, 170, 0.4);
    border-radius: calc(var(--radius) * 0.85);
    padding: clamp(1.6rem, 4vw, 2.4rem);
    box-shadow: 0 20px 50px rgba(3, 7, 18, 0.45);
    backdrop-filter: blur(14px);
    min-width: 0;
}

.panel-title {
    margin: 0 0 1.2rem;
    font-size: clamp(1.5rem, 3vw, 1.9rem);
}

.panel-metrics {
    margin: 0 0 1.8rem;
    padding: 0;
    display: grid;
    gap: 1.1rem;
}

.panel-metrics div {
    display: grid;
    gap: 0.4rem;
}

.panel-metrics dt {
    font-size: 0.8rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--muted);
}

.panel-metrics dd {
    margin: 0;
    font-size: clamp(1.5rem, 4vw, 2.2rem);
    font-weight: 700;
}

.panel-crew {
    margin: 0 0 1rem;
    color: var(--muted);
    font-size: 0.95rem;
    line-height: 1.4;
}

.panel-caption {
    margin: 0.4rem 0;
    color: var(--muted);
    font-size: 0.85rem;
    display: flex;
    gap: 0.6rem;
    flex-wrap: wrap;
    align-items: baseline;
}

.panel-badge {
    background: rgba(255, 215, 0, 0.15);
    border: 1px solid rgba(255, 215, 0, 0.45);
    border-radius: 999px;
    padding: 0.1rem 0.6rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-size: 0.7rem;
    color: var(--primary-alt);
}

.cta,
.ghost {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.85rem 2.2rem;
    border-radius: 999px;
    font-weight: 600;
    text-decoration: none;
    border: 1px solid transparent;
    transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease, border 0.2s ease;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.cta {
    background: linear-gradient(135deg, var(--primary), var(--primary-alt));
    color: var(--bg);
}

.cta:hover,
.cta:focus-visible {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(90, 200, 255, 0.35);
}

.ghost {
    background: transparent;
    color: var(--primary-alt);
    border-color: rgba(90, 200, 255, 0.4);
}

.ghost:hover,
.ghost:focus-visible {
    border-color: var(--primary);
    color: var(--primary);
}

.hero-metrics {
    margin: 0;
    padding: 0;
    display: grid;
    gap: 1.2rem;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
}

.hero-metrics dt {
    font-size: 0.85rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--muted);
}

.hero-metrics dd {
    margin: 0.35rem 0 0;
    font-size: 1.1rem;
    font-weight: 600;
}

.section {
    padding-block: clamp(4rem, 10vw, 7rem);
}

.section-header {
    margin-bottom: clamp(2.5rem, 5vw, 3.5rem);
}

.section-header h2 {
    margin: 0.5rem 0 0;
    font-size: clamp(2rem, 4vw, 2.8rem);
    letter-spacing: -0.01em;
}

.section-grid {
    display: grid;
    gap: 1.8rem;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.section-grid p {
    margin: 0;
    color: var(--muted);
}

.waste {
    position: relative;
    padding-block: clamp(4.5rem, 11vw, 7.5rem);
}

.waste::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 18% 25%, rgba(90, 200, 255, 0.14), rgba(3, 7, 18, 0) 62%),
                radial-gradient(circle at 82% 72%, rgba(157, 214, 255, 0.1), rgba(3, 7, 18, 0) 68%);
    opacity: 0.55;
    pointer-events: none;
    z-index: -1;
}

.card-grid {
    display: grid;
    gap: 1.5rem;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.waste-layout {
    display: grid;
    gap: clamp(2rem, 6vw, 4rem);
    grid-template-columns: minmax(260px, 1fr) minmax(260px, 1fr);
    align-items: start;
}

.card {
    background: rgba(8, 14, 28, 0.74);
    border: 1px solid rgba(82, 122, 170, 0.26);
    border-radius: var(--radius);
    padding: 1.8rem;
    box-shadow: 0 18px 45px rgba(3, 7, 18, 0.45);
    backdrop-filter: blur(12px);
}

.card h3 {
    margin-top: 0;
    margin-bottom: 0.75rem;
    font-size: 1.3rem;
}

.card p {
    margin: 0;
    color: var(--muted);
}

.section-note {
    margin-top: 2rem;
    color: var(--muted);
    font-size: 0.95rem;
}

.meter-card {
    background: rgba(10, 16, 32, 0.65);
    border: 1px solid rgba(82, 122, 170, 0.3);
    border-radius: calc(var(--radius) * 0.75);
    padding: clamp(1.8rem, 4vw, 2.5rem);
    box-shadow: var(--shadow);
    display: grid;
    gap: 1.6rem;
}

.meter-toggle {
    display: flex;
    gap: 0.8rem;
    flex-wrap: wrap;
}

.chip {
    border-radius: 999px;
    padding: 0.45rem 1.4rem;
    border: 1px solid rgba(90, 200, 255, 0.35);
    background: transparent;
    color: var(--primary-alt);
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease;
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.chip.is-active {
    background: linear-gradient(135deg, rgba(90, 200, 255, 0.25), rgba(157, 214, 255, 0.35));
    border-color: rgba(157, 214, 255, 0.7);
    color: var(--text);
    transform: translateY(-1px);
}

.chip:focus-visible {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 2px rgba(90, 200, 255, 0.35);
}

.chip-label {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
}

.info-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1.4rem;
    height: 1.4rem;
    border-radius: 50%;
    background: rgba(157, 214, 255, 0.25);
    border: 1px solid rgba(157, 214, 255, 0.6);
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--text);
    pointer-events: none;
}

.chip.has-tooltip::after {
    content: attr(data-tooltip);
    position: absolute;
    left: 50%;
    bottom: calc(100% + 0.6rem);
    transform: translateX(-50%);
    max-width: 220px;
    padding: 0.45rem 0.6rem;
    border-radius: 0.6rem;
    background: rgba(8, 14, 28, 0.9);
    border: 1px solid rgba(90, 200, 255, 0.35);
    color: var(--muted);
    font-size: 0.75rem;
    line-height: 1.3;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s ease;
    white-space: normal;
    z-index: 5;
}

.chip.has-tooltip:hover::after,
.chip.has-tooltip:focus-visible::after {
    opacity: 1;
}

.meter-slices {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 1rem;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
}

.meter-slices li {
    background: rgba(11, 19, 38, 0.7);
    border-radius: calc(var(--radius) * 0.6);
    padding: 1rem 1.2rem;
    border: 1px solid rgba(82, 122, 170, 0.3);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.meter-slices .label {
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-size: 0.8rem;
    color: var(--muted);
}

.meter-slices .value {
    font-size: 1.4rem;
    font-weight: 700;
}

.calculator form {
    display: grid;
    gap: 1.5rem;
    background: rgba(10, 16, 32, 0.6);
    padding: clamp(1.5rem, 4vw, 2.4rem);
    border-radius: calc(var(--radius) * 0.75);
    border: 1px solid rgba(82, 122, 170, 0.25);
    box-shadow: var(--shadow);
    backdrop-filter: blur(14px);
}

.form-row {
    display: grid;
    gap: 0.6rem;
}

label {
    font-weight: 600;
}

select,
input[type="number"] {
    width: 100%;
    border-radius: 10px;
    border: 1px solid rgba(82, 122, 170, 0.4);
    background: rgba(3, 7, 18, 0.65);
    color: var(--text);
    padding: 0.75rem 1rem;
    font-size: 1rem;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

select:focus-visible,
input[type="number"]:focus-visible {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(90, 200, 255, 0.25);
    outline: none;
}

.form-error {
    margin: 0;
    min-height: 1.2rem;
    color: #ff8f8f;
    font-size: 0.85rem;
}

.form-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.results {
    margin-top: clamp(2rem, 5vw, 3rem);
    padding: clamp(1.6rem, 4vw, 2.4rem);
    background: rgba(3, 7, 18, 0.7);
    border-radius: calc(var(--radius) * 0.75);
    border: 1px solid rgba(82, 122, 170, 0.2);
    box-shadow: var(--shadow);
}

.results h3 {
    margin-top: 0;
    margin-bottom: 1rem;
}

.results dl {
    margin: 0;
    display: grid;
    gap: 1.4rem;
}

.results dt {
    font-size: 0.95rem;
    color: var(--muted);
}

.results dd {
    margin: 0.35rem 0 0;
    font-size: 1.4rem;
    font-weight: 600;
}

.diff-message {
    margin: 0;
    font-size: 0.95rem;
    color: var(--muted);
}

.launch-layout {
    display: grid;
    gap: clamp(1.8rem, 4vw, 2.6rem);
}

.launch-card {
    background: rgba(10, 16, 32, 0.7);
    border: 1px solid rgba(82, 122, 170, 0.3);
    border-radius: calc(var(--radius) * 0.8);
    padding: clamp(1.8rem, 4vw, 2.5rem);
    box-shadow: 0 18px 45px rgba(3, 7, 18, 0.45);
    display: grid;
    gap: 1.4rem;
}

.launch-card__title {
    margin: 0;
    font-size: clamp(1.6rem, 4vw, 2rem);
}

.launch-card__meta {
    margin: 0;
    color: var(--muted);
    display: flex;
    gap: 0.6rem;
    flex-wrap: wrap;
    align-items: center;
}

.launch-card__coverage {
    display: grid;
    gap: 0.8rem;
}

.coverage-label {
    margin: 0;
    color: var(--muted);
    font-size: 0.95rem;
}

.coverage-label span {
    color: var(--text);
    font-weight: 600;
}

.coverage-bar {
    position: relative;
    width: 100%;
    height: 0.65rem;
    border-radius: 999px;
    overflow: hidden;
    background: rgba(11, 19, 38, 0.65);
    border: 1px solid rgba(90, 200, 255, 0.25);
}

.coverage-bar__fill {
    position: absolute;
    inset: 0;
    width: 0%;
    background: linear-gradient(90deg, rgba(90, 200, 255, 0.8), rgba(157, 214, 255, 0.6));
    transition: width 0.6s ease;
}

.launch-card__caption {
    margin: 0;
    color: var(--muted);
    display: flex;
    gap: 0.6rem;
    flex-wrap: wrap;
}

.reuse-badge {
    border: 1px solid rgba(90, 200, 255, 0.45);
    border-radius: 999px;
    padding: 0.1rem 0.55rem;
    font-size: 0.65rem;
    letter-spacing: 0.04em;
    text-transform: none;
    color: var(--primary-alt);
}

.contact {
    position: relative;
    overflow: hidden;
    padding-block: clamp(4.5rem, 10vw, 7rem);
}

.contact::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 16% 78%, rgba(90, 200, 255, 0.14), rgba(3, 7, 18, 0) 58%),
                radial-gradient(circle at 84% 24%, rgba(157, 214, 255, 0.12), rgba(3, 7, 18, 0) 60%),
                linear-gradient(170deg, rgba(3, 7, 18, 0.88), rgba(3, 7, 18, 0.64));
    pointer-events: none;
    z-index: -1;
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.5rem;
}

.contact-item {
    display: grid;
    gap: 0.3rem;
    padding: 1.2rem 1.4rem;
    border-radius: calc(var(--radius) * 0.6);
    background: rgba(8, 14, 28, 0.72);
    border: 1px solid rgba(82, 122, 170, 0.24);
    color: var(--text);
    text-decoration: none;
    transition: border-color 0.2s ease, transform 0.2s ease;
}

.contact-item:hover,
.contact-item:focus-visible {
    border-color: rgba(90, 200, 255, 0.5);
    transform: translateY(-2px);
}

.game .embed-frame {
    position: relative;
    padding-top: 56.25%;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    border: 1px solid rgba(82, 122, 170, 0.3);
    background: rgba(8, 14, 28, 0.7);
}

.game iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

.contact-label {
    font-size: 0.8rem;
    letter-spacing: 0.1em;
    color: var(--muted);
    text-transform: uppercase;
}

.site-footer {
    padding-block: 2.5rem;
    border-top: 1px solid rgba(19, 37, 68, 0.25);
    background: rgba(3, 7, 18, 0.95);
    text-align: center;
    color: var(--muted);
}

.site-footer p {
    margin: 0;
    font-size: 0.88rem;
}

.team-layout {
    display: grid;
    grid-template-columns: minmax(280px, 1fr) minmax(280px, 1fr);
    gap: clamp(2rem, 6vw, 4rem);
    align-items: center;
}

.team-visual {
    display: grid;
    place-items: center;
    gap: 1.2rem;
}

.orbit {
    position: relative;
    width: clamp(220px, 32vw, 320px);
    aspect-ratio: 1 / 1;
}

.contact-chip {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.55rem 1.2rem;
    border-radius: 999px;
    border: 1px solid rgba(157, 214, 255, 0.35);
    color: var(--primary-alt);
    text-decoration: none;
    font-weight: 600;
    letter-spacing: 0.05em;
    background: rgba(8, 14, 28, 0.7);
    transition: border-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.contact-chip:hover,
.contact-chip:focus-visible {
    border-color: rgba(157, 214, 255, 0.7);
    color: var(--text);
    transform: translateY(-1px);
}

.orbit-core {
    position: absolute;
    inset: 50%;
    width: clamp(96px, 18vw, 140px);
    aspect-ratio: 1 / 1;
    background: radial-gradient(circle at 30% 30%, rgba(157, 214, 255, 0.4), rgba(90, 200, 255, 0.1));
    border-radius: 50%;
    border: 1px solid rgba(157, 214, 255, 0.35);
    transform: translate(-50%, -50%);
    display: grid;
    place-items: center;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--primary-alt);
    text-align: center;
    padding: 0 1rem;
    font-size: clamp(0.9rem, 2.4vw, 1.1rem);
    line-height: 1.3;
}

.orbit-track {
    position: absolute;
    inset: 0;
    border-radius: 50%;
    border: 1px dashed rgba(157, 214, 255, 0.35);
    --orbit-duration: 36s;
}

.orbit-track--inner {
    inset: 16%;
    --orbit-duration: 24s;
}

.orbit-dot {
    position: absolute;
    top: 50%;
    left: 50%;
    width: clamp(14px, 2vw, 18px);
    height: clamp(14px, 2vw, 18px);
    background: linear-gradient(135deg, var(--primary), var(--primary-alt));
    border-radius: 50%;
    transform-origin: center;
    --scale: 1;
    --offsetBoost: 0%;
    animation: orbitDot var(--orbit-duration) linear infinite;
    transform: translate(-50%, -50%) rotate(var(--angle)) translateX(calc(var(--offset) + var(--offsetBoost))) rotate(calc(-1 * var(--angle))) scale(var(--scale));
    box-shadow: 0 0 18px rgba(90, 200, 255, 0.6);
    border: none;
    padding: 0;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease, opacity 0.3s ease;
    appearance: none;
    -webkit-appearance: none;
}

.orbit-dot:focus-visible {
    box-shadow: 0 0 24px rgba(90, 200, 255, 0.9), 0 0 0 3px rgba(90, 200, 255, 0.35);
}

.orbit-dot.is-active {
    box-shadow: 0 0 28px rgba(157, 214, 255, 0.9);
    --scale: 1.35;
    --offsetBoost: 3%;
}

.orbit-dot::after {
    content: attr(data-name);
    position: absolute;
    top: 140%;
    left: 50%;
    transform: translateX(-50%);
    white-space: nowrap;
    background: rgba(3, 7, 18, 0.85);
    border: 1px solid rgba(157, 214, 255, 0.35);
    padding: 0.35rem 0.6rem;
    border-radius: 999px;
    font-size: 0.7rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--muted);
    opacity: 0;
    transition: opacity 0.2s ease;
    pointer-events: none;
}

.orbit-dot:hover::after,
.orbit-dot:focus-visible::after {
    opacity: 1;
}

.orbit-track--outer .orbit-dot:nth-child(1) { --angle: 0deg; --offset: 46%; }
.orbit-track--outer .orbit-dot:nth-child(2) { --angle: 120deg; --offset: 46%; }
.orbit-track--outer .orbit-dot:nth-child(3) { --angle: 240deg; --offset: 46%; }

.orbit-track--inner .orbit-dot:nth-child(1) { --angle: 60deg; --offset: 32%; }
.orbit-track--inner .orbit-dot:nth-child(2) { --angle: 180deg; --offset: 32%; }
.orbit-track--inner .orbit-dot:nth-child(3) { --angle: 300deg; --offset: 32%; }

.orbit-track--inner .orbit-dot {
    animation-direction: reverse;
}

.team-copy {
    display: grid;
    gap: 1.2rem;
    color: var(--muted);
}

.team-roster {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 0.6rem;
}

.team-roster li {
    padding: 0.6rem 0.8rem;
    border: 1px solid rgba(157, 214, 255, 0.25);
    border-radius: calc(var(--radius) * 0.4);
    background: rgba(11, 19, 38, 0.6);
    transition: box-shadow 0.3s ease, border-color 0.3s ease, transform 0.3s ease;
}

.team-roster li:focus-visible {
    outline: none;
    border-color: rgba(157, 214, 255, 0.6);
    box-shadow: 0 0 0 3px rgba(157, 214, 255, 0.25);
}

.team-roster li.is-active {
    border-color: rgba(157, 214, 255, 0.8);
    box-shadow: 0 12px 30px rgba(90, 200, 255, 0.35);
    transform: translateY(-4px);
}

.team-roster strong {
    display: block;
    font-weight: 700;
    color: var(--text);
}

.team-roster .roster-role {
    display: block;
    font-size: 0.85rem;
    color: var(--muted);
}

.team-detail {
    margin: 0.5rem 0 0;
    color: var(--muted);
    font-size: 0.95rem;
    min-height: 2.6rem;
}

@keyframes orbitDot {
    from {
        transform: translate(-50%, -50%) rotate(var(--angle)) translateX(calc(var(--offset) + var(--offsetBoost))) rotate(calc(-1 * var(--angle))) scale(var(--scale));
    }
    to {
        transform: translate(-50%, -50%) rotate(calc(var(--angle) + 360deg)) translateX(calc(var(--offset) + var(--offsetBoost))) rotate(calc(-1 * (var(--angle) + 360deg))) scale(var(--scale));
    }
}

@media (max-width: 720px) {
    .hero {
        margin-top: clamp(2rem, 6vw, 3rem);
    }

    .hero-panel {
        margin-top: 1.5rem;
    }

    .hero-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .hero-actions-row {
        flex-direction: column;
        align-items: stretch;
    }

    .hero-report {
        width: 100%;
    }

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

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

    .site-nav {
        flex-direction: column;
        align-items: flex-start;
    }

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

    .team-layout {
        grid-template-columns: 1fr;
    }

    .meter-slices {
        grid-template-columns: 1fr;
    }

    .waste-layout {
        grid-template-columns: 1fr;
    }
}

@media (prefers-reduced-motion: reduce) {
    .coverage-bar__fill {
        transition: none;
    }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }

    #universe {
        display: none;
    }

    #universe-fallback {
        opacity: 1;
    }
}

::selection {
    background: rgba(90, 200, 255, 0.4);
    color: var(--text);
}

:focus-visible {
    outline: 2px solid var(--primary);
    outline-offset: 3px;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}



/* === Background alignment FIX (minimal, non-destructive) ===
   Removes local radial/linear overlays on Priority (.waste) and Contact (.contact)
   so the global starfield from #background-root shows through consistently.
   Add these rules at the end of your CSS (they override earlier definitions). */
.waste::before,
.contact::before {
    content: none !important;
}
