/* garage: bay 01 (3d) and the details section below it */

/* --- bay --- */
.bay { position: relative; z-index: 2; height: 100svh; min-height: 620px; overflow: hidden; background: #040506; }
.bay__canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; cursor: grab; }
.bay__canvas:active { cursor: grabbing; }
.bay__shade {
  position: absolute; inset: 0; pointer-events: none;
  background:
    linear-gradient(0deg, rgba(0,0,0,.7) 0%, transparent 22%),
    linear-gradient(180deg, rgba(0,0,0,.55) 0%, transparent 20%);
}

.bay__loader {
  position: absolute; inset: 0; z-index: 6; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 18px;
  background: #000; color: var(--w-48); transition: opacity .9s var(--ease-io), visibility .9s;
}
.bay__loader.is-done { opacity: 0; visibility: hidden; }
.bay__loader-bar { width: min(280px, 70vw); height: 1px; background: var(--w-08); overflow: hidden; }
.bay__loader-bar i { display: block; height: 100%; background: var(--volt); transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease-out); }
.bay__loader-pct b { color: var(--white); font-weight: 400; }

.bay__top { position: absolute; left: 0; right: 0; top: calc(var(--nav-h) + 18px); z-index: 3; display: flex; align-items: center; justify-content: space-between; gap: 20px; pointer-events: none; margin: 0 auto; }
.bay__top .eyebrow { margin: 0; }

.unit-tabs { position: relative; display: flex; pointer-events: auto; border: 1px solid var(--w-24); background: rgba(0,0,0,.45); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); }
.unit-tab { position: relative; z-index: 1; display: flex; flex-direction: column; gap: 2px; padding: 10px 22px 9px; min-width: 150px; transition: color .35s; color: var(--w-72); }
.unit-tab__code { font-size: 17px; font-weight: 500; letter-spacing: -.01em; }
.unit-tab__domain { font-size: 9px; color: var(--w-48); transition: color .35s; }
.unit-tab[aria-selected="true"] { color: #000; }
.unit-tab[aria-selected="true"] .unit-tab__domain { color: rgba(0,0,0,.6); }
.unit-tab:hover:not([aria-selected="true"]) { color: var(--white); }
.unit-tabs__ink { position: absolute; top: 0; bottom: 0; left: 0; width: var(--ink-w, 50%); transform: translateX(var(--ink-x, 0)); background: var(--volt); transition: transform .6s var(--ease-out), width .6s var(--ease-out); }

/* hotspots get positioned every frame from js */
.hotspots { position: absolute; inset: 0; z-index: 2; pointer-events: none; }
.hotspot {
  position: absolute; left: 0; top: 0; width: 30px; height: 30px; margin: -15px 0 0 -15px; border-radius: 50%;
  border: 1px solid var(--volt); background: rgba(0,0,0,.55); color: var(--volt); font: 500 10px/28px var(--font-mono);
  text-align: center; cursor: pointer; pointer-events: auto; transition: opacity .3s, background .25s, color .25s, scale .3s var(--ease-out);
  backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px); will-change: transform;
}
.hotspot::before { content: ""; position: absolute; inset: -6px; border-radius: 50%; border: 1px solid var(--volt); opacity: .5; animation: hs-pulse 2.4s var(--ease-out) infinite; }
.hotspot span { position: absolute; left: 38px; top: 50%; transform: translateY(-50%); white-space: nowrap; padding: 4px 8px; background: rgba(0,0,0,.7); border: 1px solid var(--volt-24); color: var(--white); font-size: 10px; letter-spacing: .08em; text-transform: uppercase; line-height: 1.4; opacity: 0; translate: -6px 0; transition: opacity .25s, translate .3s var(--ease-out); pointer-events: none; }
.hotspot:hover span, .hotspot:focus-visible span { opacity: 1; translate: 0 0; }
.hotspot:hover, .hotspot.is-active { background: var(--volt); color: #000; }
.hotspot.is-active::before { animation: none; opacity: 0; }
.hotspot.is-hidden { opacity: .22; }
.hotspot.is-off { opacity: 0; pointer-events: none; scale: .6; }
@keyframes hs-pulse { 0% { transform: scale(.8); opacity: .7; } 100% { transform: scale(1.7); opacity: 0; } }

.spec-card {
  position: absolute; z-index: 4; right: var(--gutter); top: 50%; width: min(380px, 90vw); translate: 0 -50%;
  padding: 26px 26px 20px; background: rgba(6,7,8,.78); border: 1px solid var(--w-24); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  animation: card-in .5s var(--ease-out);
}
.spec-card[hidden] { display: none; }
.spec-card::before { content: ""; position: absolute; left: -1px; top: -1px; width: 38px; height: 2px; background: var(--volt); }
@keyframes card-in { from { opacity: 0; transform: translateX(24px); } }
.spec-card__close { position: absolute; top: 10px; right: 12px; width: 30px; height: 30px; background: none; border: 0; color: var(--w-48); font-size: 22px; cursor: pointer; }
.spec-card__close:hover { color: var(--white); }
.spec-card__label { color: var(--volt); margin-bottom: 14px; }
.spec-card__title { font-size: 26px; font-weight: 500; letter-spacing: -.02em; line-height: 1.1; margin-bottom: 12px; }
.spec-card__body { color: var(--w-72); font-size: 15px; line-height: 1.6; }
.spec-card__nav { display: flex; justify-content: space-between; margin-top: 22px; padding-top: 14px; border-top: var(--hair-faint); }
.spec-card__nav button { background: none; border: 0; color: var(--w-48); cursor: pointer; padding: 4px 0; }
.spec-card__nav button:hover { color: var(--volt); }

.dock {
  position: absolute; z-index: 3; left: 50%; bottom: 56px; translate: -50% 0; display: flex; gap: 10px; align-items: stretch;
  max-width: calc(100vw - 32px); overflow-x: auto; scrollbar-width: none;
}
.dock::-webkit-scrollbar { display: none; }
.dock__group { display: flex; gap: 4px; padding: 4px; background: rgba(0,0,0,.55); border: 1px solid var(--w-08); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); animation: dock-in .5s var(--ease-out); }
.dock__group[hidden] { display: none; }
@keyframes dock-in { from { opacity: 0; transform: translateY(10px); } }
.dock button { font: 500 10.5px/1 var(--font-mono); letter-spacing: .08em; text-transform: uppercase; color: var(--w-72); background: transparent; border: 1px solid transparent; padding: 0 12px; height: 34px; cursor: pointer; white-space: nowrap; transition: background .25s, color .25s, border-color .25s; }
.dock button:hover { color: var(--white); border-color: var(--w-24); }
.dock__btn { display: inline-flex; align-items: center; gap: 8px; }
.dock__led { width: 6px; height: 6px; border-radius: 50%; background: var(--w-24); transition: background .3s, box-shadow .3s; }
.dock__btn[aria-pressed="true"] { color: var(--white); }
.dock__btn[aria-pressed="true"] .dock__led { background: var(--volt); box-shadow: 0 0 8px var(--volt); }
.dock__seg { display: flex; align-items: center; gap: 2px; padding-left: 8px; border-left: var(--hair-faint); }
.dock__label { font-size: 9px; color: var(--w-48); margin-right: 6px; }
.dock__seg button[aria-checked="true"] { background: var(--volt); color: #000; }
.dock__icon { width: 34px; padding: 0 !important; font-size: 15px !important; }

.bay__hint { position: absolute; z-index: 2; left: 50%; bottom: 22px; translate: -50% 0; color: var(--w-48); font-size: 9.5px; pointer-events: none; white-space: nowrap; }
.bay__down { position: absolute; z-index: 2; right: var(--gutter); bottom: 22px; color: var(--w-48); font-size: 10px; transition: color .25s; }
.bay__down:hover { color: var(--volt); }
.bay__down span { display: inline-block; animation: bob 1.8s var(--ease-io) infinite; }
@keyframes bob { 50% { transform: translateY(4px); } }

/* --- details --- */
.breakdown { position: relative; z-index: 1; }
.g-unit[hidden] { display: none; }
.g-unit.is-entering { animation: unit-in .8s var(--ease-out); }
@keyframes unit-in { from { opacity: 0; transform: translateY(30px); } }
.g-section { position: relative; isolation: isolate; padding: clamp(80px, 11vw, 150px) 0; }
/* each section has a soft blurred glass panel so the text stays readable over the city */
.g-section::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: var(--pane, rgba(0, 0, 0, .5));
  backdrop-filter: blur(var(--blur, 10px)) saturate(1.1); -webkit-backdrop-filter: blur(var(--blur, 10px)) saturate(1.1);
  -webkit-mask-image: linear-gradient(to bottom, transparent 0, #000 7rem, #000 calc(100% - 7rem), transparent 100%);
  mask-image: linear-gradient(to bottom, transparent 0, #000 7rem, #000 calc(100% - 7rem), transparent 100%);
}
/* lighter sections let more of the city show through */
.g-overview, .g-cta { --pane: rgba(0, 0, 0, .36); --blur: 4px; }
/* busy sections get a darker panel */
.g-specs-section, .g-sortie { --pane: rgba(0, 0, 0, .74); }
.g-head { max-width: 820px; margin-bottom: clamp(40px, 5vw, 64px); }
.g-h2 { font-size: clamp(34px, 4.4vw, 64px); font-weight: 500; letter-spacing: -.04em; line-height: 1.02; text-wrap: balance; }
.g-intro { color: var(--w-72); font-size: 18px; line-height: 1.6; max-width: 660px; margin-top: 22px; text-wrap: pretty; }
.g-intro + .g-intro { margin-top: 14px; }
.g-lede { color: var(--w-72); font-size: clamp(17px, 1.5vw, 21px); line-height: 1.55; margin-top: 24px; max-width: 640px; }
.g-fine { color: var(--w-48); font-size: 10px; line-height: 1.7; margin-top: 28px; }
.g-link { display: inline-flex; gap: 8px; margin-top: 22px; padding: 0 0 4px; background: none; border: 0; border-bottom: 1px solid var(--volt-24); color: var(--volt); cursor: pointer; transition: border-color .3s; }
.g-link:hover { border-color: var(--volt); }
.g-link span { transition: transform .4s var(--ease-out); }
.g-link:hover span { transform: translateY(-3px); }


/* overview */
.g-overview__grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(40px, 6vw, 100px); align-items: end; }
.g-numbers { display: grid; grid-template-columns: repeat(3, 1fr); border-top: var(--hair); }
.g-number { position: relative; padding: 22px 16px 22px 0; border-bottom: var(--hair-faint); }
.g-number dt { color: var(--w-48); font-size: 9.5px; margin-bottom: 12px; min-height: 2.6em; }
.g-number dd { display: flex; align-items: baseline; gap: 6px; }
.g-number b { font-size: clamp(34px, 3.4vw, 50px); font-weight: 500; letter-spacing: -.04em; line-height: 1; font-variant-numeric: tabular-nums; }
.g-number span { font-family: var(--font-mono); font-size: 11px; color: var(--w-48); text-transform: uppercase; }
.g-number__bar { position: absolute; left: 0; bottom: -1px; height: 1px; width: 100%; background: var(--volt); transform: scaleX(0); transform-origin: left; transition: transform 1.2s var(--ease-out) calc(var(--i) * 90ms + .3s); }
.g-number.is-in .g-number__bar { transform: scaleX(.35); }

/* features */
.g-features { display: grid; grid-template-columns: repeat(4, 1fr); border-top: var(--hair-faint); border-left: var(--hair-faint); }
.g-feature { position: relative; padding: 30px 26px 30px; overflow: hidden; border-right: var(--hair-faint); border-bottom: var(--hair-faint); }
.g-feature::after { content: ""; position: absolute; left: 0; top: 0; height: 2px; width: 100%; background: var(--volt); transform: scaleX(0); transform-origin: left; transition: transform .6s var(--ease-out); }
.g-feature:hover::after { transform: scaleX(1); }
.g-feature__icon { width: 96px; height: 96px; margin-bottom: 26px; color: var(--white); }
.g-feature .g-feature__label { color: var(--volt); font-size: 11px; margin-bottom: 12px; }
.g-feature h3 { font-size: 21px; font-weight: 500; letter-spacing: -.02em; line-height: 1.2; margin-bottom: 12px; }
.g-feature p { color: var(--w-72); font-size: 15px; line-height: 1.55; }

/* line icons */
.ico { width: 100%; height: 100%; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; overflow: visible; }
.ico .ico-dim { stroke: var(--w-24); }
.ico .ico-accent { stroke: var(--volt); }
.ico .ico-fill { fill: currentColor; stroke: none; }
.ico .ico-led { fill: var(--volt); stroke: none; animation: led 1.6s steps(2) infinite; }
.ico text { fill: currentColor; stroke: none; font: 600 14px var(--font-mono); }
@keyframes led { 50% { opacity: .2; } }
.ico-drive__spokes { transform-box: fill-box; transform-origin: center; animation: spin 2.4s linear infinite; }
.ico-drive__travel { animation: travel 2.4s var(--ease-io) infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes travel { 0%, 100% { transform: translateY(0); } 25% { transform: translateY(-6px); } 75% { transform: translateY(4px); } }
.ico-deck__module { animation: latch 3.2s var(--ease-out) infinite; }
@keyframes latch { 0% { transform: translateY(-34px); opacity: 0; } 30% { transform: translateY(2px); opacity: 1; } 38% { transform: none; } 80% { transform: none; opacity: 1; } 100% { transform: translateY(-34px); opacity: 0; } }
.ico-units__body { animation: stairs 4s var(--ease-io) infinite; }
@keyframes stairs { 0% { transform: translate(22px, 99px); } 25% { transform: translate(50px, 79px); } 50% { transform: translate(74px, 59px); } 75% { transform: translate(98px, 39px); } 90%, 100% { transform: translate(98px, 39px); opacity: 0; } }
.ico-payload__mass { animation: press 2.6s var(--ease-io) infinite; }
.ico-payload__arrow { animation: press 2.6s var(--ease-io) infinite; }
@keyframes press { 0%, 100% { transform: translateY(-4px); } 50% { transform: translateY(0); } }
.ico-nav { overflow: hidden; }
.ico-nav__flow { animation: flow 1.6s linear infinite; }
@keyframes flow { to { transform: translateX(-18px); } }
.ico-sensing__beam { transform-origin: 60px 52px; animation: spin 2.2s linear infinite; }
.ico-rack__pod { animation: drop 4s var(--ease-in, ease-in) infinite; animation-delay: calc(var(--p) * .45s); }
@keyframes drop { 0%, 45% { transform: none; opacity: 1; } 65% { transform: translateY(36px); opacity: 0; } 66% { transform: translateY(-10px); opacity: 0; } 90%, 100% { transform: none; opacity: 1; } }
.ico-link__arc { stroke: var(--volt); animation: arc 1.8s var(--ease-out) infinite; animation-delay: calc(var(--a) * .25s); }
@keyframes arc { 0% { opacity: .1; } 30% { opacity: 1; } 100% { opacity: .1; } }

/* modules */
.g-modules { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.g-module { border: var(--hair-faint); padding: 26px; background: linear-gradient(180deg, rgba(255,255,255,.025), transparent 40%); transition: border-color .3s, transform .5s var(--ease-out); }
.g-module:hover { border-color: var(--volt-24); transform: translateY(-4px); }
.g-module .g-module__code { color: var(--volt); font-size: 11px; margin: 22px 0 8px; }
.g-module h3 { font-size: 24px; font-weight: 500; letter-spacing: -.02em; margin-bottom: 12px; }
.g-module p { color: var(--w-72); font-size: 15px; line-height: 1.55; }
.g-module .g-module__k { color: var(--w-48); margin: 18px 0 6px; font-size: 9.5px; }
.g-module .g-module__use { font-size: 14px; }
.g-module__specs { margin-top: 18px; border-top: var(--hair-faint); }
.g-module__specs div { display: flex; justify-content: space-between; gap: 16px; padding: 10px 0; border-bottom: var(--hair-faint); font-size: 13px; }
.g-module__specs dt { color: var(--w-48); font-size: 9.5px; }
.g-module__specs dd { text-align: right; }
.g-module__art { position: relative; height: 150px; border-bottom: var(--hair-faint); overflow: hidden; }
.g-module__deck { position: absolute; left: 12%; right: 12%; bottom: 26px; height: 10px; background: #1a1c1e; border-top: 2px solid #2d3034; }
.g-module__box { position: absolute; left: 18%; right: 18%; bottom: 36px; height: 70px; border-radius: 3px; animation: mount 3.6s var(--ease-out) infinite; }
.g-module__latch { position: absolute; bottom: 30px; width: 10px; height: 4px; background: var(--volt); box-shadow: 0 0 8px var(--volt); opacity: .2; animation: latchled 3.6s infinite; }
.g-module__latch:nth-of-type(3) { left: 20%; } .g-module__latch:nth-of-type(4) { right: 20%; }
.g-module__art--cc .g-module__box { background: repeating-linear-gradient(0deg, #151718 0 3px, #d9dedd 3px 7px) right / 16px 100% no-repeat, linear-gradient(90deg, #e6eae9, #cdd2d1); }
.g-module__art--pl .g-module__box { background: linear-gradient(#2a2e33, #2a2e33) padding-box; border: 2px solid #43484f; background-image: linear-gradient(90deg, transparent 32%, #43484f 32% 34%, transparent 34% 66%, #43484f 66% 68%, transparent 68%), linear-gradient(0deg, transparent 48%, #43484f 48% 52%, transparent 52%), radial-gradient(circle at 12% 25%, var(--volt) 0 2px, transparent 3px), radial-gradient(circle at 45% 25%, var(--volt) 0 2px, transparent 3px), radial-gradient(circle at 79% 25%, var(--volt) 0 2px, transparent 3px), linear-gradient(#30353b, #30353b); }
.g-module__art--cb .g-module__box { height: 28px; background: repeating-linear-gradient(90deg, #1b1d1f 0 6px, #232629 6px 9px); border-top: 3px solid #8b9197; }
.g-module__art--cb .g-module__box::after { content: ""; position: absolute; right: -4px; bottom: 0; width: 8px; height: 46px; background: #1b1d1f; }
.g-module__art--cb .g-module__box::before { content: ""; position: absolute; left: 28%; bottom: 100%; width: 60px; height: 34px; background: #6e5a3e; border-left: 6px solid #c6a33a; }
@keyframes mount { 0% { transform: translateY(-120px); opacity: 0; } 28% { transform: translateY(3px); opacity: 1; } 34% { transform: none; } 82% { transform: none; opacity: 1; } 100% { transform: translateY(-120px); opacity: 0; } }
@keyframes latchled { 0%, 30% { opacity: .15; } 34% { opacity: 1; } 60% { opacity: .5; } 82%, 100% { opacity: .15; } }

/* terrain */
.g-terrain { display: grid; grid-template-columns: repeat(3, 1fr); border-top: var(--hair-faint); border-left: var(--hair-faint); }
.g-tile { margin: 0; padding: 22px 22px 24px; border-right: var(--hair-faint); border-bottom: var(--hair-faint); }
.g-tile__art { aspect-ratio: 16 / 10; color: var(--w-72); }
.g-tile__value { display: flex; align-items: baseline; gap: 6px; margin-top: 16px; }
.g-tile__value b { font-size: clamp(34px, 3.2vw, 48px); font-weight: 500; letter-spacing: -.04em; line-height: 1; }
.g-tile__value span { font-family: var(--font-mono); font-size: 12px; color: var(--w-48); }
.g-tile__label { color: var(--w-48); margin-top: 8px; }
.tr { width: 100%; height: 100%; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.tr .tr-dim { stroke: var(--w-24); }
.tr .tr-dim-dash { stroke: var(--w-24); stroke-dasharray: 4 5; }
.tr .tr-ground { fill: rgba(255,255,255,.05); stroke: var(--w-48); }
.tr .tr-ground-line { stroke: var(--w-48); }
.tr .tr-accent { stroke: var(--volt); }
.tr .tr-label { fill: var(--volt); stroke: none; font: 500 11px var(--font-mono); letter-spacing: .06em; }
.tr .tr-rover { fill: #0b0c0d; stroke: var(--white); }
.tr .tr-led { fill: var(--volt); stroke: none; }
.tr .tr-wheel { fill: #0b0c0d; }
.tr .tr-hub { fill: var(--volt); stroke: none; }
.tr .tr-deck { fill: #0b0c0d; stroke: var(--white); }
.g-tile .tr .tr-accent { stroke-dasharray: 240; stroke-dashoffset: 240; transition: stroke-dashoffset 1.4s var(--ease-out) .4s; }
.g-tile.is-in .tr .tr-accent { stroke-dashoffset: 0; }

/* perception radar */
.g-perception__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 7vw, 110px); align-items: center; }
.g-radar { position: relative; aspect-ratio: 1; max-width: 520px; width: 100%; border-radius: 50%; overflow: hidden; background: radial-gradient(circle, #07090a 0%, #000 70%); border: var(--hair-faint); }
.g-radar__rings { position: absolute; inset: 0; border-radius: 50%; background: repeating-radial-gradient(circle, transparent 0 calc(12.5% - 1px), rgba(198,253,91,.12) calc(12.5% - 1px) 12.5%), linear-gradient(transparent calc(50% - .5px), rgba(198,253,91,.1) 50%, transparent calc(50% + .5px)), linear-gradient(90deg, transparent calc(50% - .5px), rgba(198,253,91,.1) 50%, transparent calc(50% + .5px)); }
.g-radar__sweep { position: absolute; inset: 0; border-radius: 50%; background: conic-gradient(from 0deg, transparent 0deg 280deg, rgba(198,253,91,.08) 320deg, rgba(198,253,91,.42) 360deg); animation: spin 4s linear infinite; }
.g-radar__dots i { position: absolute; width: 4px; height: 4px; margin: -2px; border-radius: 50%; background: var(--volt); box-shadow: 0 0 6px var(--volt); opacity: 0; animation: ping 4s linear infinite; }
@keyframes ping { 0% { opacity: 1; transform: scale(1.6); } 8% { transform: scale(1); } 70% { opacity: .15; } 100% { opacity: 0; } }
.g-radar__unit { position: absolute; left: 50%; top: 50%; width: 22px; height: 34px; translate: -50% -50%; border: 1.5px solid var(--white); border-radius: 3px; background: #000; }
.g-radar__unit i { position: absolute; left: 3px; right: 3px; top: 2px; height: 3px; background: var(--volt); box-shadow: 0 0 8px var(--volt); }
.g-radar__tag { position: absolute; left: 50%; bottom: 9%; translate: -50% 0; color: var(--w-48); font-size: 9.5px; }
.g-inputs { border-top: var(--hair-faint); }
.g-inputs li { position: relative; display: flex; gap: 18px; padding: 15px 0; border-bottom: var(--hair-faint); color: var(--w-72); font-size: 16px; overflow: hidden; }
.g-inputs li .mono { color: var(--volt); padding-top: 3px; }
.g-inputs li i { position: absolute; left: 0; bottom: -1px; height: 1px; width: 100%; background: linear-gradient(90deg, transparent, var(--volt), transparent); transform: translateX(-100%); }
.g-inputs li.is-in i { animation: scanline 1.4s var(--ease-out) calc(var(--i) * 120ms + .2s) both; }
@keyframes scanline { to { transform: translateX(100%); } }

/* specs */
.g-specs { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px 40px; }
.g-spec__head { display: flex; align-items: baseline; gap: 14px; padding-bottom: 14px; border-bottom: var(--hair); }
.g-spec__n { color: var(--volt); }
.g-spec__head h3 { font-size: 21px; font-weight: 500; letter-spacing: -.02em; flex: 1; }
.g-spec__count { color: var(--w-48); font-size: 9.5px; }
.g-spec__row { display: flex; justify-content: space-between; gap: 24px; padding: 12px 0; border-bottom: var(--hair-faint); font-size: 14.5px; opacity: 0; transform: translateX(-10px); transition: opacity .6s var(--ease-out), transform .6s var(--ease-out), background .25s; transition-delay: calc(var(--r) * 45ms + .15s); }
.g-spec.is-in .g-spec__row { opacity: 1; transform: none; }
.g-spec__row:hover { background: rgba(198,253,91,.04); }
.g-spec__row dt { color: var(--w-72); }
.g-spec__row dd { text-align: right; font-size: 12.5px; letter-spacing: .02em; text-transform: none; color: var(--white); }

/* deployment */
.g-deploy { display: grid; grid-template-columns: repeat(4, 1fr); border-top: var(--hair-faint); border-left: var(--hair-faint); }
.g-deploy__item { position: relative; padding: 28px 24px 34px; overflow: hidden; border-right: var(--hair-faint); border-bottom: var(--hair-faint); }
.g-deploy__item .mono { color: var(--volt); }
.g-deploy__item h3 { font-size: 20px; font-weight: 500; letter-spacing: -.02em; margin: 40px 0 12px; line-height: 1.15; }
.g-deploy__item p { color: var(--w-72); font-size: 14.5px; line-height: 1.55; }
.g-deploy__item i { position: absolute; inset: auto 0 0 0; height: 0; background: linear-gradient(0deg, rgba(198,253,91,.1), transparent); transition: height .6s var(--ease-out); }
.g-deploy__item:hover i { height: 100%; }

.g-cta { text-align: left; }
.g-cta__title { font-size: clamp(48px, 7vw, 110px); font-weight: 500; letter-spacing: -.05em; line-height: .95; }

/* sortie (pinned, moves with scroll) */
.g-sortie { height: 280svh; padding: 0; }
.g-sortie__pin { position: sticky; top: 0; height: 100svh; display: flex; align-items: center; padding-top: var(--nav-h); overflow: hidden; }
.g-sortie .g-head { margin-bottom: 26px; }
.g-sortie__stage { position: relative; }
.g-sortie__svg { width: 100%; height: auto; display: block; }
.g-sortie__city rect { fill: #0c0e10; stroke: rgba(255,255,255,.08); }
.g-sortie__ground { stroke: var(--w-24); }
.g-sortie__pads rect { fill: var(--volt); }
.g-sortie__plan { fill: none; stroke: rgba(255,255,255,.22); stroke-width: 1.5; stroke-dasharray: 5 7; }
.g-sortie__flown { fill: none; stroke: var(--volt); stroke-width: 2.5; filter: drop-shadow(0 0 6px rgba(198,253,91,.6)); }
.g-sortie__phase line { stroke: rgba(255,255,255,.08); }
.g-sortie__phase text { fill: var(--w-48); font-size: 12px; letter-spacing: .12em; transition: fill .3s; }
.g-sortie__phase.is-on text { fill: var(--volt); }
.g-sortie__craft { color: var(--white); }
.g-sortie__craft rect, .g-sortie__craft line { fill: #fff; stroke: #fff; stroke-width: 2; }
.g-sortie__craft .g-sortie__pod { fill: var(--volt); stroke: none; }
.g-sortie__halo { fill: rgba(198,253,91,.12); stroke: rgba(198,253,91,.5); animation: halo 1.6s var(--ease-out) infinite; transform-box: fill-box; transform-origin: center; }
@keyframes halo { 0% { transform: scale(.7); opacity: 1; } 100% { transform: scale(1.8); opacity: 0; } }
.g-hud { position: absolute; right: 0; top: 0; width: 230px; padding: 14px 16px; background: rgba(0,0,0,.6); border: var(--hair-faint); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.g-hud__row { display: flex; justify-content: space-between; padding: 6px 0; border-bottom: 1px dashed var(--w-08); font-size: 11px; }
.g-hud__row > span { color: var(--w-48); font-size: 10px; }
.g-hud__row b { font-weight: 500; font-size: 12px; font-variant-numeric: tabular-nums; }
.g-hud__track { height: 2px; background: var(--w-08); margin-top: 12px; }
.g-hud__track i { display: block; height: 100%; background: var(--volt); transform-origin: left; transform: scaleX(0); }
.g-hud__note { color: var(--w-48); font-size: 9px; margin-top: 10px; }

/* configurator */
.g-rack { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(40px, 6vw, 90px); align-items: center; }
.g-rack .g-head { margin-bottom: 0; }
.g-cfg { border: var(--hair-faint); padding: 26px; background: linear-gradient(180deg, rgba(255,255,255,.025), transparent 50%); }
.g-cfg__controls { display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; padding-bottom: 22px; border-bottom: var(--hair-faint); }
.g-cfg__pods { display: flex; gap: 8px; border: 0; margin: 0; padding: 0; }
.g-cfg__pods legend { color: var(--w-48); font-size: 9.5px; margin-bottom: 10px; padding: 0; }
.g-cfg__opt { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; width: 70px; height: 70px; border: 1px solid var(--w-24); cursor: pointer; transition: border-color .25s, background .25s, color .25s; }
.g-cfg__opt input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.g-cfg__opt .g-cfg__n { font-size: 28px; font-weight: 500; line-height: 1; }
.g-cfg__opt .mono { font-size: 9px; color: var(--w-48); margin-top: 4px; }
.g-cfg__opt:has(input:checked) { background: var(--volt); color: #000; border-color: var(--volt); }
.g-cfg__opt:has(input:checked) .mono { color: rgba(0,0,0,.6); }
.g-cfg__opt:has(input:focus-visible) { outline: 1px solid var(--volt); outline-offset: 3px; }
.g-cfg__rack { position: relative; width: 180px; height: 90px; }
.g-cfg__airframe { position: absolute; left: 20px; right: 20px; top: 8px; height: 16px; border: 1.5px solid var(--w-72); border-radius: 8px 8px 3px 3px; }
.g-cfg__airframe::before, .g-cfg__airframe::after { content: ""; position: absolute; top: 5px; width: 30px; height: 1.5px; background: var(--w-72); }
.g-cfg__airframe::before { left: -32px; } .g-cfg__airframe::after { right: -32px; }
.g-cfg__bay { position: absolute; top: 34px; width: 28px; height: 36px; border: 1.5px dashed var(--w-24); border-radius: 3px; transition: background .4s, border-color .4s, transform .5s var(--ease-out), box-shadow .4s; transform: translateY(8px); }
.g-cfg__bay:nth-child(2) { left: 22px; } .g-cfg__bay:nth-child(3) { left: 58px; } .g-cfg__bay:nth-child(4) { left: 94px; } .g-cfg__bay:nth-child(5) { left: 130px; }
.g-cfg__bay.is-on { background: #e6eae9; border: 1.5px solid #fff; transform: none; box-shadow: 0 0 0 1px rgba(0,0,0,.4) inset, 0 6px 16px rgba(198,253,91,.18); }
.g-cfg__out { display: grid; grid-template-columns: 1fr 1fr; gap: 0 28px; margin-top: 6px; }
.g-cfg__metric { padding: 18px 0 14px; border-bottom: var(--hair-faint); }
.g-cfg__metric dt { color: var(--w-48); font-size: 9.5px; margin-bottom: 8px; }
.g-cfg__metric dd { display: flex; align-items: baseline; gap: 6px; }
.g-cfg__metric b { font-size: clamp(34px, 3.2vw, 46px); font-weight: 500; letter-spacing: -.04em; line-height: 1; font-variant-numeric: tabular-nums; }
.g-cfg__metric em { font-style: normal; font-family: var(--font-mono); font-size: 12px; color: var(--w-48); }
.g-cfg__bar { display: block; height: 3px; margin-top: 12px; background: var(--w-08); }
.g-cfg__bar i { display: block; height: 100%; background: var(--volt); width: 2%; transition: width .8s var(--ease-out); }

/* optical flow */
.g-flow { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(30px, 5vw, 80px); align-items: center; }
.g-flow__frame { position: relative; aspect-ratio: 1; max-width: 480px; width: 100%; overflow: hidden; border: 1px solid var(--w-24); background: #050607; }
.g-flow__field { position: absolute; inset: -40px; background-image: radial-gradient(circle, rgba(198,253,91,.9) 0 1.6px, transparent 2.4px), radial-gradient(circle, rgba(255,255,255,.35) 0 1px, transparent 1.8px); background-size: 46px 46px, 23px 29px; background-position: 0 0, 11px 7px; animation: field 3.2s linear infinite; }
@keyframes field { to { background-position: -46px 46px, -12px 51px; } }
.g-flow__vectors { position: absolute; inset: 0; width: 100%; height: 100%; }
.g-flow__vectors g { stroke: var(--volt); stroke-width: 1.4; fill: none; animation: vec 1.6s var(--ease-out) infinite; animation-delay: calc(var(--v) * .17s); }
@keyframes vec { 0% { opacity: 0; } 30% { opacity: 1; } 100% { opacity: 0; } }
.g-flow__reticle { position: absolute; inset: 22%; border: 1px solid rgba(255,255,255,.28); }
.g-flow__reticle::before, .g-flow__reticle::after { content: ""; position: absolute; background: rgba(255,255,255,.28); }
.g-flow__reticle::before { left: 50%; top: -12%; bottom: -12%; width: 1px; } .g-flow__reticle::after { top: 50%; left: -12%; right: -12%; height: 1px; }
.g-flow__tag { position: absolute; left: 12px; bottom: 10px; color: var(--w-48); font-size: 9.5px; }
.g-sat { position: relative; width: 64px; height: 64px; margin-bottom: 12px; }
.g-sat__icon { position: absolute; left: 20px; top: 20px; width: 24px; height: 14px; border: 1.5px solid var(--w-48); border-radius: 2px; }
.g-sat__icon::before, .g-sat__icon::after { content: ""; position: absolute; top: 3px; width: 16px; height: 6px; border: 1.5px solid var(--w-48); }
.g-sat__icon::before { left: -20px; } .g-sat__icon::after { right: -20px; }
.g-sat::after { content: ""; position: absolute; left: 6px; right: 6px; top: 50%; height: 1.5px; background: #ff8a5b; transform: rotate(-30deg); }
.g-sat__wave { position: absolute; left: 50%; top: 40px; width: 20px; height: 10px; margin-left: -10px; border-bottom: 1.5px solid var(--w-24); border-radius: 0 0 50% 50%; animation: arc 1.8s infinite; }
.g-sat__wave + .g-sat__wave { top: 46px; width: 30px; margin-left: -15px; animation-delay: .3s; }
.g-flow__status { color: var(--w-48); margin-bottom: 22px; }
.g-flow__status b { color: #ff8a5b; font-weight: 500; }
.g-steps { border-left: 1px solid var(--w-08); padding-left: 22px; }
.g-step { position: relative; padding: 0 0 22px; }
.g-step::before { content: ""; position: absolute; left: -26.5px; top: 4px; width: 8px; height: 8px; border-radius: 50%; background: #000; border: 1px solid var(--w-24); transition: background .4s, border-color .4s, box-shadow .4s; transition-delay: calc(var(--i) * .35s + .3s); }
.g-flow.is-in .g-step::before { background: var(--volt); border-color: var(--volt); box-shadow: 0 0 10px var(--volt); }
.g-step .mono { color: var(--volt); }
.g-step p { color: var(--w-72); font-size: 15px; line-height: 1.55; margin-top: 6px; }

/* --- responsive --- */
@media (max-width: 1100px) {
  .g-features, .g-deploy { grid-template-columns: repeat(2, 1fr); }
  .g-terrain { grid-template-columns: repeat(2, 1fr); }
  .g-modules { grid-template-columns: 1fr; }
  .g-overview__grid, .g-perception__grid, .g-rack, .g-flow { grid-template-columns: 1fr; }
  .g-specs { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  .bay { min-height: 560px; }
  .bay__top { flex-direction: column; align-items: flex-start; gap: 12px; top: calc(var(--nav-h) + 10px); }
  .unit-tab { min-width: 0; padding: 8px 16px 7px; }
  .unit-tab__code { font-size: 15px; }
  .bay__shade { background: linear-gradient(180deg, rgba(0,0,0,.75) 0%, transparent 42%), linear-gradient(0deg, rgba(0,0,0,.75) 0%, transparent 25%); }
  .spec-card { top: auto; bottom: 128px; translate: none; left: 16px; right: 16px; width: auto; padding: 20px; }
  .spec-card__nav { margin-top: 14px; padding-top: 10px; }
  .spec-card__title { font-size: 20px; }
  .spec-card__body { font-size: 14px; }
  .dock { bottom: 20px; left: 12px; right: 12px; translate: none; flex-wrap: wrap; justify-content: center; gap: 6px; overflow: visible; }
  .dock__group { max-width: 100%; }
  .dock button { padding: 0 9px; height: 32px; font-size: 9.5px; }
  .dock__icon { width: 30px; }
  .dock__label { display: none; }
  .bay__hint { display: none; }
  .bay__down { display: none; }
  .hotspot span { display: none; }
  .g-features, .g-deploy, .g-terrain { grid-template-columns: 1fr; }
  .g-numbers { grid-template-columns: repeat(2, 1fr); }
  .g-sortie { height: 220svh; }
  .g-sortie .g-intro { display: none; }
  .g-sortie__phase text { font-size: 26px; }
  .g-hud { position: relative; width: 100%; margin-top: 12px; }
  .g-cfg__out { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  .g-spec__row { opacity: 1; transform: none; }
}
