/* Shared by all inner pages (team, garage, updates, campaign, gallery, sponsor, contact) */
.fade-in { opacity: 0; transform: translateY(26px); animation: fadeUp .9s ease forwards; }
.delay-1 { animation-delay: .2s; }
@keyframes fadeUp { to { opacity: 1; transform: none; } }
.reveal { opacity: 0; transform: translateY(40px); transition: opacity .8s ease, transform .8s ease; }
.reveal.visible { opacity: 1; transform: none; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(var(--accent-rgb),.6); } 100% { box-shadow: 0 0 0 12px rgba(var(--accent-rgb),0); } }

.page-hero { padding: 170px 6vw 70px; background: radial-gradient(circle at 85% 0%, var(--hero-glow), var(--bg) 60%); border-bottom: 1px solid var(--line); }
.page-hero h1 { font-size: clamp(2.6rem, 6vw, 5rem); max-width: 900px; }
.page-sub { color: var(--muted); font-size: 1.15rem; max-width: 600px; margin-top: 18px; }
.block { padding: 80px 6vw; }
.block + .block { padding-top: 0; }
.block h2 { margin-bottom: 36px; }
.lead { color: var(--muted); font-size: 1.1rem; max-width: 620px; }

.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 18px; }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: 18px; padding: 30px; transition: transform .25s, border-color .25s; }
.card:hover { transform: translateY(-6px); border-color: var(--accent); }
.card h3 { font-size: 1.5rem; margin-bottom: 8px; }
.card p { color: var(--muted); }
.tag { font-family: var(--font-mono); font-size: .72rem; letter-spacing: .15em; text-transform: uppercase; color: var(--accent); }
.img-ph { display: grid; place-items: center; min-height: 220px; height: 100%; border: 1px dashed var(--line); border-radius: 18px; color: var(--muted); font-family: var(--font-mono); font-size: .75rem; letter-spacing: .12em; background: var(--surface); }
.status { display: inline-flex; align-items: center; gap: 10px; padding: 6px 16px; border: 1px solid var(--line); border-radius: 999px; font-family: var(--font-mono); font-size: .78rem; }
.status::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--accent); animation: pulse 1.8s infinite; }
.cta { margin: 0 6vw 90px; padding: 56px; text-align: center; background: var(--surface); border: 1px solid var(--line); border-radius: 28px; }
.cta h2 { margin-bottom: 14px; }
.cta .lead { margin: 0 auto 28px; }

/* Team */
.avatar { display: grid; place-items: center; width: 84px; height: 84px; margin-bottom: 20px; border-radius: 50%; background: rgba(var(--accent-rgb), 0.16); border: 2px solid var(--accent); font-family: var(--font-head); font-size: 1.6rem; color: var(--accent); overflow: hidden; }
.avatar img { width: 100%; height: 100%; object-fit: cover; }
.member h3 { font-size: 1.3rem; }

/* Garage */
.vehicle { display: grid; grid-template-columns: 1.1fr 1fr; gap: 50px; align-items: center; }
.vehicle h2 { margin: 18px 0 14px; }
.vehicle-title-link { display: inline-flex; align-items: center; gap: 10px; color: inherit; transition: color .2s ease; }
.vehicle-title-link:hover { color: var(--accent); }
.vehicle-title-link .arrow { transition: transform .25s ease; color: var(--accent); }
.vehicle-title-link:hover .arrow { transform: translateX(6px); }

.vehicle-media { display: block; position: relative; border-radius: 18px; overflow: hidden; text-decoration: none; transition: transform .3s ease; }
.vehicle-media:hover { transform: translateY(-4px); }
.vehicle-media .img-ph { position: relative; min-height: 280px; transition: border-color .3s ease; }
.vehicle-media:hover .img-ph { border-color: var(--accent); }
.vehicle-media .view-pill {
  position: absolute;
  bottom: 16px;
  right: 16px;
  background: var(--surface);
  border: 1px solid var(--line);
  color: var(--text);
  padding: 8px 16px;
  border-radius: 999px;
  font-family: var(--font-mono);
  font-size: .75rem;
  font-weight: 500;
  letter-spacing: .05em;
  transition: background .2s, color .2s, border-color .2s, transform .2s;
}
.vehicle-media:hover .view-pill {
  background: var(--accent);
  color: var(--on-accent);
  border-color: var(--accent);
  transform: translateX(2px);
}
.vehicle-action { margin-top: 28px; }

.specs { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px 30px; margin-top: 30px; }
.specs dt { font-family: var(--font-mono); font-size: .72rem; letter-spacing: .15em; text-transform: uppercase; color: var(--muted); }
.specs dd { font-weight: 500; margin-top: 2px; }

/* Vehicle Details Page (predator.html) & 3D Interactive Showcase */
.garage-3d-stage {
  position: relative;
  height: 360px;
  border-radius: 18px;
  border: 1px solid var(--line);
  background: radial-gradient(circle at 50% 35%, rgba(var(--accent-rgb), 0.22), #070b14 75%);
  overflow: hidden;
  transition: border-color .3s ease, box-shadow .3s ease;
}
.garage-3d-card:hover .garage-3d-stage {
  border-color: var(--accent);
  box-shadow: 0 18px 42px rgba(var(--accent-rgb), 0.22);
}
.garage-3d-stage canvas {
  width: 100%;
  height: 100%;
  display: block;
}

.rover-hero-stage {
  position: relative;
  height: 100svh;
  min-height: 680px;
  padding-top: 80px;
  background: radial-gradient(circle at 55% 42%, rgba(59, 130, 246, 0.24), #080d1a 55%, #03060c 100%);
  color: #f8fafc;
  border-bottom: 1px solid var(--line);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.rover-canvas-wrap {
  position: absolute;
  inset: 0;
  z-index: 1;
  cursor: grab;
}
.rover-canvas-wrap:active {
  cursor: grabbing;
}
.rover-canvas-wrap canvas {
  width: 100%;
  height: 100%;
  display: block;
}
.rover-hero-topbar {
  position: relative;
  z-index: 3;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 22px 6vw 0;
  pointer-events: none;
}
.rover-hero-topbar a {
  pointer-events: auto;
  color: #93c5fd;
}
.orbit-hint {
  font-family: var(--font-mono);
  font-size: .74rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: rgba(226, 232, 240, 0.72);
  padding: 6px 14px;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.65);
  border: 1px solid rgba(148, 163, 184, 0.22);
  backdrop-filter: blur(8px);
}
.rover-hero-overlay {
  position: relative;
  z-index: 3;
  max-width: 560px;
  margin: auto 0 28px 6vw;
  pointer-events: none;
  transition: opacity .45s ease, transform .45s ease;
}
.rover-hero-stage.inspecting .rover-hero-overlay {
  opacity: 0.14;
  transform: translateY(10px);
}
.rover-hero-overlay h1 {
  font-size: clamp(2.6rem, 5.2vw, 4.4rem);
  color: #ffffff;
  margin-bottom: 12px;
}
.rover-hero-sub {
  color: rgba(226, 232, 240, 0.82);
  font-size: 1.02rem;
  line-height: 1.6;
  margin-bottom: 22px;
}
.rover-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  pointer-events: auto;
}
.rover-hero-actions .btn {
  cursor: pointer;
  font-family: var(--font-body);
  font-size: .95rem;
}
.rover-hero-actions .btn-ghost {
  color: #f8fafc;
  border-color: rgba(148, 163, 184, 0.35);
  background: rgba(15, 23, 42, 0.55);
  backdrop-filter: blur(6px);
}
.rover-hero-actions .btn-ghost:hover {
  border-color: #60a5fa;
  background: rgba(59, 130, 246, 0.18);
}
.live-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: 999px;
  background: rgba(59, 130, 246, 0.16);
  border: 1px solid rgba(96, 165, 250, 0.4);
  font-family: var(--font-mono);
  font-size: .75rem;
  color: #93c5fd;
}
.live-pill .dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #38bdf8;
  box-shadow: 0 0 8px #38bdf8;
}

/* Right-side Glassmorphic Component Inspector Drawer */
.component-drawer {
  position: absolute;
  top: 108px;
  right: 4vw;
  width: min(390px, 90vw);
  z-index: 4;
  padding: 24px 26px;
  border-radius: 22px;
  background: rgba(11, 17, 32, 0.84);
  border: 1px solid rgba(96, 165, 250, 0.35);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.55);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  color: #f8fafc;
  opacity: 0;
  transform: translateX(36px);
  pointer-events: none;
  transition: opacity .35s ease, transform .35s cubic-bezier(0.22, 1, 0.36, 1);
}
.component-drawer[aria-hidden="false"] {
  opacity: 1;
  transform: translateX(0);
  pointer-events: auto;
}
.drawer-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
}
.drawer-meta {
  display: flex;
  align-items: center;
  gap: 10px;
}
.drawer-step {
  font-family: var(--font-mono);
  font-size: .76rem;
  padding: 3px 10px;
  border-radius: 999px;
  background: rgba(56, 189, 248, 0.18);
  border: 1px solid rgba(56, 189, 248, 0.45);
  color: #38bdf8;
}
.drawer-close {
  background: transparent;
  border: 1px solid rgba(148, 163, 184, 0.3);
  color: #cbd5e1;
  border-radius: 999px;
  padding: 5px 12px;
  font-family: var(--font-mono);
  font-size: .74rem;
  cursor: pointer;
  transition: border-color .2s, color .2s, background .2s;
}
.drawer-close:hover {
  border-color: #38bdf8;
  color: #ffffff;
  background: rgba(56, 189, 248, 0.15);
}
.drawer-title {
  font-size: 1.45rem;
  color: #ffffff;
  margin-bottom: 8px;
}
.drawer-summary {
  font-size: .9rem;
  color: #cbd5e1;
  line-height: 1.55;
  margin-bottom: 16px;
}
.drawer-accordions {
  display: grid;
  gap: 8px;
  margin-bottom: 18px;
}
.sub-accordion {
  border: 1px solid rgba(148, 163, 184, 0.22);
  border-radius: 12px;
  background: rgba(15, 23, 42, 0.65);
  overflow: hidden;
}
.sub-acc-head {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 14px;
  background: none;
  border: 0;
  color: #f1f5f9;
  font: 500 .86rem var(--font-body);
  cursor: pointer;
  text-align: left;
}
.sub-acc-icon {
  font-family: var(--font-mono);
  color: #38bdf8;
  font-weight: 700;
}
.sub-acc-body {
  display: none;
  padding: 0 14px 11px;
  font-size: .82rem;
  color: #94a3b8;
}
.sub-accordion.open .sub-acc-body {
  display: block;
}
.drawer-nav {
  display: flex;
  justify-content: space-between;
  gap: 10px;
}
.drawer-nav-btn {
  flex: 1;
  padding: 10px 16px;
  font-size: .88rem;
  text-align: center;
  cursor: pointer;
}

/* Bottom quick-select pills & animated scroll cue */
.rover-hero-bottom {
  position: relative;
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  padding: 0 4vw 18px;
  pointer-events: none;
}
.subsystem-pills {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  pointer-events: auto;
}
.sub-pill {
  padding: 6px 13px;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.25);
  background: rgba(15, 23, 42, 0.68);
  color: #cbd5e1;
  font: 500 .78rem var(--font-body);
  cursor: pointer;
  backdrop-filter: blur(8px);
  transition: border-color .2s, background .2s, color .2s, transform .2s;
}
.sub-pill span {
  font-family: var(--font-mono);
  font-size: .72rem;
  color: #38bdf8;
  margin-right: 4px;
}
.sub-pill:hover,
.sub-pill.active {
  border-color: #38bdf8;
  background: rgba(56, 189, 248, 0.2);
  color: #ffffff;
  transform: translateY(-2px);
}
.scroll-cue {
  pointer-events: auto;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: .72rem;
  letter-spacing: .16em;
  color: rgba(226, 232, 240, 0.72);
  transition: color .2s;
}
.scroll-cue:hover {
  color: #38bdf8;
}
.animate-chevron {
  animation: bounceChevron 1.8s ease-in-out infinite;
}
@keyframes bounceChevron {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(5px); }
}

/* Sticky Scroll-Driven 3D Assembly Section ("Scroll to assemble") */
.assembly-scroll-track {
  position: relative;
  height: 250vh;
  background: #050a14;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.assembly-sticky-stage {
  position: sticky;
  top: 0;
  height: 100vh;
  width: 100%;
  overflow: hidden;
  background: radial-gradient(circle at 45% 52%, rgba(37, 99, 235, 0.22), #050a14 70%);
  color: #f8fafc;
}
.assembly-sticky-stage canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
}
.assembly-header-overlay {
  position: absolute;
  top: 96px;
  left: 6vw;
  max-width: 440px;
  z-index: 3;
  pointer-events: none;
}
.assembly-header-overlay h2 {
  color: #ffffff;
  margin-bottom: 8px;
}
.assembly-sub {
  font-size: .95rem;
  color: #94a3b8;
  line-height: 1.5;
  margin-bottom: 14px;
}
.cad-download-pill {
  pointer-events: auto;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border-radius: 999px;
  background: rgba(37, 99, 235, 0.22);
  border: 1px solid rgba(96, 165, 250, 0.45);
  color: #e0f2fe;
  font-family: var(--font-mono);
  font-size: .76rem;
  transition: background .2s, border-color .2s, transform .2s;
}
.cad-download-pill:hover {
  background: #2563eb;
  border-color: #60a5fa;
  transform: translateY(-2px);
}

/* Floating Right "BUILD ORDER" HUD Checklist */
.build-order-hud {
  position: absolute;
  top: 96px;
  right: 4vw;
  width: min(320px, 88vw);
  z-index: 3;
  padding: 20px 22px;
  border-radius: 20px;
  background: rgba(11, 17, 32, 0.82);
  border: 1px solid rgba(148, 163, 184, 0.24);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.45);
}
.build-hud-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 14px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(148, 163, 184, 0.18);
  font-family: var(--font-mono);
  font-size: .76rem;
  letter-spacing: .14em;
}
.build-hud-title {
  color: #94a3b8;
}
.build-hud-count {
  color: #38bdf8;
  font-weight: 700;
}
.build-order-list {
  list-style: none;
  display: grid;
  gap: 9px;
}
.build-step-item {
  cursor: pointer;
  padding: 6px 8px;
  border-radius: 10px;
  transition: background .2s;
}
.build-step-item:hover {
  background: rgba(59, 130, 246, 0.12);
}
.build-step-row {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: .84rem;
  color: #94a3b8;
}
.build-step-item.active .build-step-row {
  color: #ffffff;
  font-weight: 600;
}
.build-step-item.done .build-step-row {
  color: #e2e8f0;
}
.build-step-num {
  font-family: var(--font-mono);
  font-size: .72rem;
  color: #64748b;
}
.build-step-item.active .build-step-num,
.build-step-item.done .build-step-num {
  color: #38bdf8;
}
.build-step-name {
  flex: 1;
}
.build-step-check {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: 1px solid rgba(148, 163, 184, 0.35);
  display: grid;
  place-items: center;
  font-size: .7rem;
  color: #ffffff;
  transition: background .25s, border-color .25s;
}
.build-step-item.done .build-step-check {
  background: #2563eb;
  border-color: #38bdf8;
}
.build-step-bar {
  height: 3px;
  border-radius: 999px;
  background: rgba(148, 163, 184, 0.16);
  margin-top: 5px;
  overflow: hidden;
}
.build-step-fill {
  display: block;
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, #2563eb, #38bdf8);
  transition: width .12s linear;
}

/* Bottom overall assembly progress bar */
.assembly-bottom-bar {
  position: absolute;
  left: 6vw;
  right: 6vw;
  bottom: 24px;
  z-index: 3;
}
.assembly-status-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--font-mono);
  font-size: .75rem;
  letter-spacing: .12em;
  color: #93c5fd;
  margin-bottom: 8px;
}
.back-top-link {
  color: #cbd5e1;
  transition: color .2s;
}
.back-top-link:hover {
  color: #38bdf8;
}
.assembly-progress-track {
  height: 5px;
  border-radius: 999px;
  background: rgba(148, 163, 184, 0.2);
  overflow: hidden;
}
.assembly-progress-fill {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, #2563eb, #38bdf8);
}

.back-bar { margin-bottom: 24px; }
.hero-badges { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; margin-bottom: 16px; }
.specs-overview { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 16px; margin: 30px 0; }
.spec-card { background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 22px; transition: transform .25s ease, border-color .25s ease; }
.spec-card:hover { transform: translateY(-4px); border-color: var(--accent); }
.spec-card .spec-num { font-family: var(--font-head); font-size: 2rem; font-weight: 700; color: var(--accent); line-height: 1.1; margin-bottom: 6px; }
.spec-card .spec-label { font-family: var(--font-mono); font-size: .74rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.spec-card .spec-desc { font-size: .88rem; color: var(--muted); margin-top: 6px; }

.tech-table { width: 100%; border-collapse: collapse; margin-top: 20px; font-size: .95rem; }
.tech-table tr { border-bottom: 1px solid var(--line); }
.tech-table tr:last-child { border-bottom: none; }
.tech-table th, .tech-table td { padding: 14px 18px; text-align: left; }
.tech-table th { font-family: var(--font-mono); font-size: .75rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); width: 38%; }
.tech-table td { font-weight: 500; color: var(--text); }

.subsystem-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 22px; margin-top: 24px; }
.subsystem-card { background: var(--surface); border: 1px solid var(--line); border-radius: 20px; padding: 32px; transition: transform .25s ease, border-color .25s ease; display: flex; flex-direction: column; }
.subsystem-card:hover { transform: translateY(-5px); border-color: var(--accent); }
.subsystem-header { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 12px; }
.subsystem-num { font-family: var(--font-mono); font-size: .85rem; color: var(--accent); }
.subsystem-card h3 { font-size: 1.45rem; margin-bottom: 10px; }
.subsystem-card p { color: var(--muted); font-size: .95rem; line-height: 1.6; }
.feature-list { list-style: none; margin-top: 18px; display: grid; gap: 10px; flex: 1; }
.feature-list li { position: relative; padding-left: 20px; font-size: .9rem; color: var(--muted); }
.feature-list li::before { content: ""; position: absolute; left: 0; top: .6em; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); }

.targets-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 18px; margin-top: 24px; }
.target-card { background: var(--surface); border: 1px solid var(--line); border-radius: 18px; padding: 26px; }
.target-card .target-val { font-family: var(--font-head); font-size: 1.7rem; font-weight: 700; color: var(--accent); margin-bottom: 4px; }
.target-card .target-name { font-family: var(--font-mono); font-size: .75rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.target-card p { margin-top: 8px; color: var(--muted); font-size: .9rem; }

/* Updates */
.post { display: flex; flex-direction: column; gap: 10px; }
.post time { font-family: var(--font-mono); font-size: .78rem; color: var(--muted); }
.post a { color: var(--accent); font-weight: 500; margin-top: 8px; }

/* Campaign timeline */
.timeline { list-style: none; position: relative; padding-left: 44px; max-width: 760px; }
.timeline::before { content: ""; position: absolute; left: 10px; top: 8px; bottom: 8px; width: 2px; background: var(--line); }
.timeline li { position: relative; padding: 0 0 44px; }
.timeline li::before { content: ""; position: absolute; left: -44px; top: 4px; width: 22px; height: 22px; border-radius: 50%; background: var(--bg); border: 2px solid var(--line); }
.timeline .done::before { background: var(--accent); border-color: var(--accent); }
.timeline .active::before { border-color: var(--accent); animation: pulse 1.8s infinite; }
.timeline time { font-family: var(--font-mono); font-size: .78rem; color: var(--accent); }
.timeline h3 { font-size: 1.6rem; margin: 4px 0 6px; }
.timeline p { color: var(--muted); }
.timeline .upcoming h3 { color: var(--muted); }
.meta { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 20px; margin-bottom: 60px; }
.meta div { padding: 22px; border: 1px solid var(--line); border-radius: 14px; }
.meta dt { font-family: var(--font-mono); font-size: .72rem; letter-spacing: .15em; text-transform: uppercase; color: var(--muted); }
.meta dd { margin-top: 4px; font-weight: 500; }

/* Gallery */
.gallery-hero {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 48px;
  align-items: center;
}
.hero-group-card {
  position: relative;
  border-radius: 22px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--surface);
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.12);
  cursor: pointer;
  transition: transform .32s ease, border-color .28s ease, box-shadow .32s ease;
}
.hero-group-card:hover,
.hero-group-card:focus-visible {
  transform: translateY(-5px);
  border-color: var(--accent);
  box-shadow: 0 22px 52px rgba(var(--accent-rgb), 0.22);
  outline: none;
}
.hero-group-card img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  object-position: center 62%;
  transition: transform .5s ease;
}
.hero-group-card:hover img {
  transform: scale(1.03);
}
.hero-group-caption {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 14px 20px;
  background: var(--surface);
  border-top: 1px solid var(--line);
}
.hero-group-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}
.caption-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 4px 12px;
  border-radius: 999px;
  background: rgba(var(--accent-rgb), 0.14);
  border: 1px solid var(--accent);
  font-family: var(--font-mono);
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--accent);
}
.caption-badge::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
}
.caption-sub {
  font-size: .88rem;
  color: var(--muted);
}
.expand-hint {
  font-family: var(--font-mono);
  font-size: .75rem;
  color: var(--muted);
  transition: color .2s ease;
}
.hero-group-card:hover .expand-hint {
  color: var(--accent);
}

.gallery {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 260px;
  gap: 16px;
}
.gallery .shot {
  position: relative;
  overflow: hidden;
  border-radius: 18px;
  border: 1px solid var(--line);
  background: var(--surface);
  cursor: pointer;
  transition: transform .3s ease, border-color .3s ease, box-shadow .3s ease;
}
.gallery .shot:hover,
.gallery .shot:focus-visible {
  transform: translateY(-4px);
  border-color: var(--accent);
  box-shadow: 0 14px 32px rgba(var(--accent-rgb), 0.18);
  outline: none;
}
.gallery .tall { grid-row: span 2; }
.gallery .wide { grid-column: span 2; }
.shot .img-ph, .shot img {
  height: 100%;
  width: 100%;
  object-fit: cover;
  display: block;
  transition: transform .5s ease;
}
.shot:hover img, .shot:hover .img-ph {
  transform: scale(1.05);
}
.shot::after {
  content: "\2922";
  position: absolute;
  right: 14px;
  bottom: 14px;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(11, 15, 25, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.22);
  color: #ffffff;
  display: grid;
  place-items: center;
  font-size: 1rem;
  opacity: 0;
  transform: scale(0.88);
  transition: opacity .25s ease, transform .25s ease, background .2s ease;
  pointer-events: none;
}
.shot:hover::after,
.shot:focus-visible::after {
  opacity: 1;
  transform: scale(1);
}

/* Lightbox pop-up */
dialog.lightbox {
  margin: auto;
  width: min(1120px, 94vw);
  max-height: 92vh;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: var(--surface);
  color: var(--text);
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.45);
  overflow: hidden;
}
dialog.lightbox[open] {
  display: flex;
  flex-direction: column;
  animation: lightboxIn .25s ease;
}
dialog.lightbox::backdrop {
  background: var(--dialog-backdrop);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}
@keyframes lightboxIn {
  from { opacity: 0; transform: scale(0.96) translateY(12px); }
  to { opacity: 1; transform: none; }
}
.lightbox-stage {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #070a12;
  min-height: 320px;
  max-height: calc(92vh - 74px);
  padding: 18px;
}
.lightbox-stage img {
  display: block;
  max-width: 100%;
  max-height: calc(92vh - 110px);
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: 12px;
}
.lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: rgba(11, 15, 25, 0.72);
  color: #ffffff;
  font-size: 1.5rem;
  line-height: 1;
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: background .2s ease, border-color .2s ease, transform .2s ease;
}
.lightbox-nav:hover {
  background: var(--accent);
  border-color: var(--accent);
  transform: translateY(-50%) scale(1.06);
}
.lightbox-prev { left: 18px; }
.lightbox-next { right: 18px; }
.lightbox-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 16px 24px;
  background: var(--surface);
  border-top: 1px solid var(--line);
}
.lightbox-info {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}
.lightbox-counter {
  font-family: var(--font-mono);
  font-size: .78rem;
  color: var(--accent);
  letter-spacing: .1em;
}
.lightbox-caption {
  font-size: .95rem;
  color: var(--text);
  font-weight: 500;
}
.lightbox-close {
  width: 38px;
  height: 38px;
  flex-shrink: 0;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--text);
  font-size: 1.4rem;
  line-height: 1;
  cursor: pointer;
  transition: border-color .2s ease, background .2s ease, color .2s ease;
}
.lightbox-close:hover {
  border-color: var(--accent);
  background: var(--accent);
  color: var(--on-accent);
}

/* Sponsor */
.tier .price { font-family: var(--font-head); font-size: 2rem; color: var(--accent); margin: 6px 0 14px; }
.tier ul { list-style: none; color: var(--muted); }
.tier li { padding: 6px 0; border-top: 1px solid var(--line); }
.tier.featured { border-color: var(--accent); }

.proposal-card {
  position: relative;
  display: grid;
  grid-template-columns: 1.35fr 0.85fr;
  gap: 44px;
  align-items: center;
  padding: 48px 52px;
  border-radius: 26px;
  border: 1px solid var(--line);
  background: radial-gradient(circle at 100% 0%, rgba(var(--accent-rgb), 0.14), var(--surface) 62%);
  overflow: hidden;
  transition: border-color .3s ease, box-shadow .3s ease;
}
.proposal-card:hover {
  border-color: var(--accent-light);
  box-shadow: 0 20px 50px rgba(var(--accent-rgb), 0.12);
}
.proposal-content h2 {
  margin-bottom: 14px;
}
.proposal-content .lead {
  max-width: 560px;
}
.proposal-highlights {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
  margin-top: 22px;
  font-size: .92rem;
  color: var(--muted);
}
.proposal-highlights li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.proposal-highlights li::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
}
.proposal-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 30px;
}
.proposal-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.proposal-doc-preview {
  display: flex;
  justify-content: center;
  text-decoration: none;
}
.doc-sheet {
  width: 100%;
  max-width: 320px;
  padding: 26px;
  border-radius: 20px;
  background: var(--bg);
  border: 1px solid var(--line);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.12);
  display: flex;
  flex-direction: column;
  gap: 18px;
  transition: transform .32s cubic-bezier(0.34, 1.56, 0.64, 1), border-color .28s ease, box-shadow .32s ease;
}
.proposal-doc-preview:hover .doc-sheet {
  transform: translateY(-6px) rotate(-1deg);
  border-color: var(--accent);
  box-shadow: 0 24px 48px rgba(var(--accent-rgb), 0.22);
}
.doc-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.doc-brand {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: .95rem;
  letter-spacing: .08em;
}
.doc-badge {
  padding: 3px 10px;
  border-radius: 999px;
  background: rgba(var(--accent-rgb), 0.15);
  border: 1px solid var(--accent);
  color: var(--accent);
  font-family: var(--font-mono);
  font-size: .7rem;
  font-weight: 600;
  letter-spacing: .1em;
}
.doc-title-block {
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
}
.doc-season {
  display: block;
  font-family: var(--font-mono);
  font-size: .72rem;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: .12em;
  margin-bottom: 4px;
}
.doc-title-block strong {
  font-family: var(--font-head);
  font-size: 1.25rem;
  color: var(--text);
}
.doc-lines {
  display: grid;
  gap: 8px;
}
.doc-row {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: .85rem;
  color: var(--muted);
}
.doc-row span:first-child {
  font-family: var(--font-mono);
  font-size: .72rem;
  color: var(--accent);
}
.doc-bar-group {
  display: grid;
  gap: 6px;
  padding-top: 6px;
}
.doc-bar {
  display: block;
  height: 6px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--accent), rgba(var(--accent-rgb), 0.25));
}

/* Contact */
.contact { display: grid; grid-template-columns: 1fr 1.2fr; gap: 50px; align-items: start; }
.contact-list { display: grid; gap: 14px; }
.contact-list .card { padding: 22px 26px; }
.contact-list .card p { color: var(--text); margin-top: 4px; }
.contact-list .card a {
  color: inherit;
  transition: color .2s ease;
}
.contact-list .card a:hover,
.contact-list .card a:focus-visible {
  color: var(--accent);
}
form { display: grid; gap: 18px; padding: 36px; background: var(--surface); border: 1px solid var(--line); border-radius: 22px; }
label { display: grid; gap: 8px; font-family: var(--font-mono); font-size: .75rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
input, textarea { padding: 14px 16px; border: 1px solid var(--line); border-radius: 12px; background: var(--bg); color: var(--text); font: 1rem var(--font-body); letter-spacing: 0; text-transform: none; }
input:focus, textarea:focus { outline: 0; border-color: var(--accent); }
textarea { min-height: 150px; resize: vertical; }
form button { cursor: pointer; border: 0; font: 500 1rem var(--font-body); }
form button:disabled { opacity: .65; cursor: wait; }
.form-status {
  display: none;
  padding: 12px 16px;
  border-radius: 12px;
  font-size: .92rem;
  border: 1px solid var(--line);
  background: var(--bg);
  color: var(--text);
}
.form-status.visible { display: block; }
.form-status.success {
  border-color: var(--accent);
  background: rgba(var(--accent-rgb), 0.12);
}
.form-status.error {
  border-color: #ef4444;
  background: rgba(239, 68, 68, 0.12);
}

@media (max-width: 900px) {
  .vehicle, .contact, .gallery-hero, .proposal-card { grid-template-columns: 1fr; gap: 30px; }
  .proposal-card { padding: 34px 24px; }
  .gallery { grid-template-columns: 1fr 1fr; }
  .cta { padding: 34px 22px; }
  .orbit-hint { display: none; }
  .component-drawer {
    top: auto;
    bottom: 72px;
    right: 4vw;
    left: 4vw;
    width: auto;
    max-height: 55vh;
    overflow-y: auto;
  }
  .build-order-hud {
    top: auto;
    bottom: 70px;
    right: 4vw;
    left: 4vw;
    width: auto;
    max-height: 38vh;
    overflow-y: auto;
  }
}
@media (max-width: 520px) { .gallery { grid-template-columns: 1fr; } .gallery .wide { grid-column: auto; } .specs { grid-template-columns: 1fr; } }
@media (prefers-reduced-motion: reduce) { * { animation: none !important; transition: none !important; } .fade-in, .reveal { opacity: 1 !important; transform: none !important; } }