/* SIB Labs — colors and details shared by the scene, mission, and controls. */
:root {
  --cyan: #75e5db;
  --lab-line: #a3d97b26;
  --lab-panel: #111a12;
  --lab-glow: #adff5833;
}

body { isolation: isolate; }
.ambient-backdrop { position: fixed; inset: 0; z-index: -1; pointer-events: none; overflow: hidden; }
.ambient-grid { position: absolute; inset: 0; background-image: linear-gradient(#a6d99707 1px, transparent 1px), linear-gradient(90deg, #a6d99707 1px, transparent 1px); background-size: 5rem 5rem; mask-image: linear-gradient(#0009, transparent 70%); }
.ambient-glow { position: absolute; inset: -20% -30% auto; height: 75rem; background: radial-gradient(ellipse at 74% 35%, #75c75c20, transparent 40%), radial-gradient(ellipse at 25% 65%, #42645410, transparent 45%); transition: opacity .8s; }
.ambient-noise { position: absolute; inset: 0; opacity: .025; background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 160 160' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.88' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Cpath fill='%23fff' filter='url(%23noise)' d='M0 0h160v160H0z'/%3E%3C/svg%3E"); }
.site-header { border-bottom-color: var(--lab-line); }
.nav-link::before { content: attr(data-index); font-family: var(--mono); font-size: .57rem; color: #63765c; margin-right: .15rem; }
.hero { gap: 1.6rem 0; padding-top: 2.9rem; padding-bottom: 2.6rem; }
.hero-eyebrow { letter-spacing: .1em; }
.eyebrow-divider { color: #547343; margin-inline: .1rem; }
.chrome-word { background: linear-gradient(175deg, #fff 0%, #dae2d7 35%, #7c8b78 48%, #f1f6eb 65%, #bcc9b1 100%); color: transparent; background-clip: text; -webkit-background-clip: text; }
.hero-tagline { font-size: 1.3rem; }
.hero-traits { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 1.1rem; }
.hero-traits span { font-family: var(--mono); font-size: .54rem; line-height: 1.4; letter-spacing: .07em; border: 1px solid #7489613b; padding: .27rem .48rem; color: #b1bda5; background: #151d1180; }
.hero-traits span:first-child { color: var(--cyan); border-color: #75e5db30; }
.hero-buttons { margin-top: 1.5rem; }
.hero-meta { margin-top: 1.1rem; }
.hero-visual { width: 100%; margin: 0; aspect-ratio: 1 / 1.11; }
.hero-visual::before { inset: 2% 0 5%; background: radial-gradient(ellipse at 50% 58%, #9ee66126, transparent 65%); transition: background .6s; }
.hero-mascot { inset: 0; width: 100%; height: 98%; object-fit: contain; object-position: center bottom; filter: drop-shadow(0 18px 35px #0008); transition: filter .8s; }
.scene-ticker { position: absolute; z-index: -1; inset: 26% 0 auto; font: 800 clamp(9rem, 40vw, 19rem) / 1 var(--display); letter-spacing: -.04em; text-align: center; color: transparent; -webkit-text-stroke: 1px #abd77925; transform: rotate(-8deg); }
.orbit-one { left: 4%; top: 11%; width: 91%; height: 80%; border-color: #a4e77135; }
.orbit-two { left: 14%; width: 72%; top: 6%; height: 87%; border-color: #75e5db25; }
.orbit-three { left: 0; top: 18%; width: 100%; height: 60%; transform: rotate(32deg); border-color: #b8f87523; }
.visual-coordinates { top: 3%; right: 2%; color: #8fa77e; font-size: .51rem; }
.intelligence-label { top: 26%; right: 0; color: var(--cyan); padding: .65rem .7rem; font-size: .52rem; border-color: #75e5db40; background: #10221dde; transform: rotate(6deg); }
.intelligence-label .label-dot { background: var(--cyan); box-shadow: 0 0 10px #75e5db80; }
.artifact-tag { position: absolute; top: 24%; left: 0; z-index: 2; font: 700 .5rem / 1.6 var(--mono); letter-spacing: .09em; color: #b1c99a; border-left: 2px solid var(--lime); padding-left: .6rem; transform: rotate(-6deg); }
.artifact-tag span { display: block; font-size: 1.2rem; color: var(--lime); line-height: 1.5; }
.mascot-label { left: 1%; bottom: 4%; transform: rotate(-4deg); border-color: #b0d48566; background: #15200fe8; }
.mascot-label > div { font-size: .62rem; }
.mascot-label > div > span { font-size: .68rem; }
.visual-index { bottom: 0; right: 0; font-size: .5rem; }
.energy-platform { position: absolute; inset: auto 14% 1.5%; height: 11%; z-index: -1; border: 1px solid #aeff6355; border-radius: 50%; background: radial-gradient(ellipse, #a9ff5b2b, transparent 70%); box-shadow: 0 0 35px #84df4020, inset 0 0 20px #bdff6220; transform: rotate(-4deg); transition: box-shadow .6s, background .6s; }
.energy-particles { position: absolute; inset: 0; }
.energy-particles i { position: absolute; width: 3px; height: 3px; border-radius: 50%; background: var(--lime); box-shadow: 0 0 9px #bdff6299; animation: particle-drift 6s ease-in-out infinite alternate; }
.energy-particles i:nth-child(1) { left: 12%; top: 15%; }
.energy-particles i:nth-child(2) { left: 82%; top: 45%; animation-delay: -2s; background: var(--cyan); }
.energy-particles i:nth-child(3) { left: 14%; top: 73%; animation-delay: -4s; }
.energy-particles i:nth-child(4) { left: 72%; top: 12%; animation-delay: -1s; }
.energy-particles i:nth-child(5) { left: 90%; top: 82%; animation-delay: -3s; }
.energy-particles i:nth-child(6) { left: 4%; top: 47%; animation-delay: -5s; background: var(--cyan); }
.energy-particles i:nth-child(7) { left: 55%; top: 93%; animation-delay: -1.5s; }
.energy-particles i:nth-child(8) { left: 97%; top: 30%; animation-delay: -4.5s; }

.hero-lore { grid-column: 1 / -1; display: grid; grid-template-columns: minmax(0, 1fr); border: 1px solid #8aa46842; background: linear-gradient(115deg, #1b281599, #0e160fcc); margin-top: .65rem; border-radius: .6rem; overflow: hidden; position: relative; }
.hero-lore::before { content: ""; position: absolute; left: 0; top: 0; width: 2.4rem; height: 2px; background: var(--lime); }
.lore-cell { padding: 1.4rem; min-width: 0; }
.lore-cell + .lore-cell { border-top: 1px solid var(--lab-line); }
.mini-label { display: block; font: 700 .59rem / 1.5 var(--mono); letter-spacing: .1em; color: #9ebc82; }
.origin-cell h3 { font-size: 1.05rem; line-height: 1.45; letter-spacing: -.025em; margin: .75rem 0 .6rem; }
.origin-cell p { margin: 0; color: var(--muted); font-size: .8rem; line-height: 1.8; }
.specimen-stat { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding-block: .5rem; border-bottom: 1px solid #78935b21; font-size: .76rem; color: var(--muted); }
.specimen-stat:first-of-type { padding-top: .85rem; }
.specimen-stat strong { color: #d5e8c3; font-size: .75rem; font-weight: 500; white-space: nowrap; }
.specimen-stat:first-of-type strong { font-family: var(--display); font-size: 1.5rem; line-height: 1; color: var(--lime); }
.specimen-note { display: block; color: #839178; font-size: .67rem; margin-top: .7rem; }
.charge-topline { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.charge-value { font: 800 1.6rem / 1 var(--display); color: var(--lime); }
.charge-meter { height: .7rem; margin-top: 1.2rem; background: #a6c78513; border: 1px solid #6c8c483b; position: relative; overflow: hidden; }
.charge-meter span { display: block; height: 100%; width: var(--charge, 35%); background: linear-gradient(90deg, #528531, var(--lime)); transition: width .7s cubic-bezier(.2, .8, .2, 1); }
.charge-meter::after { content: ""; position: absolute; inset: 0; background: repeating-linear-gradient(90deg, transparent, transparent calc(10% - 3px), #0c1509 calc(10% - 3px), #0c1509 10%); }
.core-status { display: flex; align-items: center; gap: .45rem; margin-block: .65rem 1rem; font: 700 .53rem / 1.5 var(--mono); letter-spacing: .035em; color: #99ab8b; }
.core-status .signal-dot { width: .28rem; height: .28rem; }
.play-note { margin-left: auto; color: #708068; font-size: .46rem; }
.charge-button { width: 100%; min-height: 2.75rem; border-color: #778f5755; border-radius: 3px; background: #88b34c12; color: #d3ebb6; padding: .6rem .7rem; font-family: var(--mono); font-size: .65rem; letter-spacing: .04em; }
.charge-button:hover { border-color: var(--lime); background: #b7ff5c20; }
.charge-button .button-icon { width: 1.3rem; height: 1.3rem; }
.is-supercharged .hero-mascot { filter: drop-shadow(0 0 24px #bbff6240) drop-shadow(0 18px 30px #0008); }
.is-supercharged .energy-platform { box-shadow: 0 0 70px #a3ff4d55, inset 0 0 30px #bdff6244; background: radial-gradient(ellipse, #a9ff5b55, transparent 70%); }
.is-supercharged .energy-particles i { box-shadow: 0 0 15px var(--lime); }
.is-supercharged .charge-button { color: var(--bg); background: var(--lime); border-color: var(--lime); }
.is-supercharged .ambient-glow { opacity: 1.8; }
.is-supercharged .core-status { color: var(--lime); }
.ticker-strip { transform: rotate(-.7deg); border-color: #bdff62; box-shadow: 0 8px 35px #0005; margin-block: .5rem; }
.ticker-track { padding-block: .1rem; }

.section-pill { font-size: .49rem; border: 1px solid #8baf6255; background: #9fdc5410; color: #b9d5a0; border-radius: 2px; padding: .23rem .4rem; letter-spacing: .03em; }
.roadmap { position: relative; }
.roadmap-grid { gap: 1rem; }
.roadmap-phase { position: relative; border: 1px solid #79916038; border-radius: .6rem; padding: 1.45rem 1.25rem; background: linear-gradient(155deg, #1c261766, #10170c88); overflow: hidden; transition: border-color .25s, background .25s, transform .25s; }
.roadmap-phase::after { content: ""; position: absolute; top: .65rem; right: .65rem; width: .5rem; height: .5rem; border-top: 1px solid #83a86688; border-right: 1px solid #83a86688; }
.roadmap-phase:hover { transform: translateY(-6px); background: linear-gradient(155deg, #28351b88, #111a0e); border-color: #a4d97288; }
.roadmap-phase:first-child { border-color: #b0ed6366; background: linear-gradient(155deg, #a4ed5810, #11170caa); }
.phase-track { margin-bottom: 2rem; }
.phase-number { width: 2.8rem; height: 2.8rem; border-radius: .4rem; transform: rotate(-5deg); font-size: .95rem; }
.phase-line { background: #8cac6533; }
.phase-caption { font-size: .55rem; letter-spacing: .07em; }
.roadmap-phase h3 { font-size: 1.12rem; margin-top: .7rem; }
.roadmap-phase p { font-size: .84rem; line-height: 1.8; }
.roadmap-phase ul { font-size: .76rem; }
.phase-tag { font-size: .49rem; padding: .3rem .4rem; }
.mission-brief { display: flex; align-items: flex-start; flex-wrap: wrap; gap: 1rem; padding: 1.5rem; border: 1px solid #85a75933; background: linear-gradient(100deg, #a2de5a0d, #12221640); margin-top: 1.4rem; border-radius: .5rem; }
.brief-symbol { font-size: 2.1rem; color: var(--lime); line-height: 1; }
.mission-brief > div { flex: 1; min-width: 11rem; }
.mission-brief h3 { font-size: 1.08rem; letter-spacing: -.02em; margin: .4rem 0 .3rem; line-height: 1.5; }
.mission-brief p { margin: 0; font-size: .78rem; color: var(--muted); }
.mission-brief .text-link { font-size: .8rem; }
.roadmap-footnote { border-top: 0; margin-top: 1rem; padding-top: .3rem; }

.chart-panel { border-color: #708c484c; box-shadow: 0 0 50px #75a63b08; }
.chart-toolbar { background: linear-gradient(90deg, #1c2816, #121b0f); }
.chart-radar { position: absolute; width: 28rem; height: 28rem; max-width: 95%; max-height: 95%; border: 1px solid #a6dd7020; border-radius: 50%; inset: 0; margin: auto; opacity: .7; background: repeating-radial-gradient(circle at center, transparent 0 16%, #a6dd7012 16.2% 16.5%, transparent 16.8% 33%); }
.chart-radar span { display: block; position: absolute; inset: 0; border-radius: 50%; background: conic-gradient(from 0deg, transparent 270deg, #94d45b12 355deg, #bfff5833 360deg); animation: radar-turn 18s linear infinite; }
.chart-empty-content { z-index: 1; }
.contract-row { margin-top: 1.4rem; }
.join-instructions { display: grid; grid-template-columns: minmax(0, 1fr); gap: 1.35rem; margin-top: 3.4rem; border-top: 1px solid var(--lab-line); padding-top: 2rem; }
.join-intro h3 { font: 800 2rem / 1.1 var(--display); margin: .75rem 0 0; text-transform: uppercase; }
.join-step { position: relative; padding-left: 2.8rem; }
.join-step > span { position: absolute; left: 0; top: .1rem; font: 700 .65rem / 1.8 var(--mono); color: var(--lime); border: 1px solid #8caf6266; border-radius: 50%; width: 1.8rem; height: 1.8rem; display: flex; align-items: center; justify-content: center; }
.join-step h4 { margin: 0 0 .5rem; font-size: .92rem; }
.join-step p { margin: 0; color: var(--muted); font-size: .8rem; line-height: 1.8; }
.lab-faq { display: grid; grid-template-columns: minmax(0, 1fr); gap: 1.5rem; margin-top: 2.7rem; padding-top: 2.2rem; border-top: 1px solid var(--lab-line); }
.faq-heading h3 { font: 800 2rem / 1.1 var(--display); margin: .75rem 0 0; max-width: 14rem; text-transform: uppercase; }
.faq-items details { border-bottom: 1px solid #6b835c40; }
.faq-items summary { display: flex; align-items: center; justify-content: space-between; gap: 1rem; list-style: none; font-size: .87rem; font-weight: 500; cursor: pointer; min-height: 3.6rem; padding-block: .8rem; }
.faq-items summary::-webkit-details-marker { display: none; }
.faq-items summary > span { color: var(--lime); font-size: 1.4rem; font-weight: 400; flex-shrink: 0; transition: transform .2s; }
.faq-items details[open] summary > span { transform: rotate(45deg); }
.faq-items p { font-size: .8rem; color: var(--muted); line-height: 1.8; margin: 0; padding-bottom: 1.1rem; max-width: 50rem; }
.site-footer { background: linear-gradient(180deg, #111a0eaa, #0b100a); border-top-color: var(--lab-line); }
.footer-statement { display: flex; flex-direction: column; gap: .3rem; padding-top: 2.2rem; font: 800 clamp(2.3rem, 10vw, 5rem) / 1 var(--display); letter-spacing: -.02em; }
.footer-statement > span:first-child { color: #8bac7180; }
.footer-statement > span:last-child { color: var(--lime); }

@keyframes particle-drift { from { opacity: .3; transform: translateY(0); } to { opacity: 1; transform: translateY(-14px); } }
@keyframes radar-turn { to { transform: rotate(360deg); } }

@media (min-width: 640px) {
  .hero-visual { width: 83%; margin-inline: auto; }
  .hero-lore { grid-template-columns: 1fr 1fr; }
  .origin-cell { grid-column: 1 / -1; }
  .charge-cell { border-left: 1px solid var(--lab-line); }
  .join-instructions { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .join-intro { grid-column: 1 / -1; }
  .join-step { padding-left: 0; padding-top: 2.8rem; }
  .join-step > span { top: 0; }
  .footer-statement { flex-direction: row; justify-content: space-between; align-items: center; font-size: clamp(2.3rem, 6vw, 4.5rem); }
}
@media (min-width: 768px) {
  .hero { padding-top: 3.7rem; }
  .hero-visual { width: 70%; }
  .roadmap-phase { padding: 1.7rem 1.45rem; }
  .mission-brief { flex-wrap: nowrap; align-items: center; padding: 1.6rem 1.8rem; gap: 1.3rem; }
  .lab-faq { grid-template-columns: 1fr 2fr; gap: 3rem; }
}
@media (min-width: 1024px) {
  .hero { grid-template-columns: 1.06fr .94fr; min-height: 0; padding-block: 3rem 2.5rem; gap: 1.5rem 0; }
  .hero h1 { font-size: clamp(5.25rem, 7.8vw, 7.3rem); }
  .hero-copy { padding-block: 1.5rem; }
  .hero-tagline { font-size: 1.4rem; margin-bottom: .65rem; }
  .hero-description { font-size: .95rem; max-width: 32rem; }
  .hero-traits { margin-top: 1.3rem; }
  .hero-buttons { max-width: 27.5rem; margin-top: 1.5rem; }
  .hero-visual { width: 106%; margin-left: -6%; aspect-ratio: 1 / 1.16; }
  .hero-mascot { inset: 0; width: 100%; height: 98%; }
  .scene-ticker { font-size: 17rem; }
  .visual-coordinates { font-size: .57rem; top: 0; right: 1%; }
  .intelligence-label { font-size: .58rem; top: 20%; right: 0; }
  .artifact-tag { font-size: .54rem; top: 21%; left: 1%; }
  .mascot-label { left: 0; bottom: 3%; padding: .8rem 1rem; }
  .mascot-label > div { font-size: .7rem; }
  .mascot-label > div > span { font-size: .72rem; }
  .visual-index { bottom: 0; font-size: .52rem; }
  .hero-lore { grid-template-columns: 1.23fr 1fr 1fr; margin-top: 0; }
  .origin-cell { grid-column: auto; }
  .lore-cell { padding: 1.4rem 1.6rem; }
  .lore-cell + .lore-cell { border-top: 0; border-left: 1px solid var(--lab-line); }
  .roadmap { padding-top: 5.1rem; }
  .section-heading h2 { font-size: 4.65rem; }
  .section-heading > p { max-width: 25rem; font-size: .88rem; }
  .roadmap-phase { padding: 1.5rem 1.15rem; }
  .roadmap-phase p { min-height: 8.4rem; font-size: .8rem; }
  .roadmap-phase ul { font-size: .7rem; min-height: 4.6rem; }
  .roadmap-phase h3 { font-size: 1.08rem; }
  .phase-caption { font-size: .47rem; }
  .mission-brief .text-link { margin-left: auto; }
  .join-instructions { grid-template-columns: 1.05fr 1fr 1fr 1fr; gap: 1.8rem; }
  .join-intro { grid-column: auto; }
  .join-step { padding-top: 2.65rem; }
  .join-intro h3 { font-size: 2rem; }
  .footer-statement { font-size: 4.5rem; padding-top: 2.5rem; }
}
@media (min-width: 1280px) {
  .hero h1 { font-size: 7.3rem; }
  .hero-visual { aspect-ratio: 1 / 1.03; }
  .hero-mascot { height: 102%; top: -3%; }
  .scene-ticker { font-size: 20rem; }
  .hero-description { font-size: 1rem; }
  .hero-buttons { max-width: 28.4rem; }
  .hero-traits span { font-size: .6rem; }
  .visual-coordinates { top: 0; font-size: .63rem; }
  .artifact-tag { font-size: .62rem; }
  .intelligence-label { font-size: .64rem; }
  .lore-cell { padding: 1.6rem 1.8rem; }
  .origin-cell h3 { font-size: 1.1rem; }
  .roadmap-phase { padding: 1.7rem 1.4rem; }
  .phase-caption { font-size: .55rem; }
  .roadmap-phase h3 { font-size: 1.18rem; }
  .roadmap-phase p { font-size: .86rem; min-height: 7.7rem; }
  .roadmap-phase ul { font-size: .77rem; }
  .phase-tag { font-size: .52rem; }
}
@media (prefers-reduced-motion: reduce) {
  .energy-particles i, .chart-radar span { animation: none; }
  .hero-mascot, .charge-meter span, .energy-platform { transition: none; }
}

/* Runtime chart states occupy the same fixed-height wrapper without overlays. */
.chart-body { height: clamp(28rem, 50vw, 34rem); min-height: 0; overflow: hidden; }
.chart-body iframe { height: 100%; }
.chart-placeholder { position: relative; inset: auto; height: 100%; min-height: 0; }

[hidden] { display: none !important; }
