/* Prototype page (/prototype/, /fr/prototype/): exploded views. Builds on home.css. */

/* Scroll-scrubbed exploded view: the render already has the night background, so no rounded frame */
.scrub-proto { height: 380vh; background: #010102; }
.scrub-proto .scrub-media::after { background: radial-gradient(ellipse at center, transparent 45%, rgba(1, 1, 2, 0.6) 85%); }
.scrub-proto .scrub-media video { border-radius: 0; filter: none; height: 92vh; height: 92svh; }

/* Parts: numbered exploded view + legend */
.proto-parts { padding: 16vh 0 12vh; background: var(--night-2); color: #fff; }
.proto-parts .eyebrow { color: var(--gold-soft); }
.proto-parts h2.big { color: #fff; }
.parts-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; margin-top: 48px; }
.parts-figure { margin: 0; position: sticky; top: 10vh; }
.parts-figure img { display: block; width: 100%; height: auto; max-height: 80vh; object-fit: contain; border-radius: 28px; background: #010102; }
.parts-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.part {
  display: grid;
  grid-template-columns: 52px 1fr;
  column-gap: 16px;
  padding: 20px 22px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.04);
}
.part-num { grid-row: span 2; color: var(--cyan); font-weight: 700; font-size: 1.5rem; letter-spacing: 0.02em; line-height: 1.2; }
.part h3 { margin: 0; color: #fff; font-size: 1.3rem; letter-spacing: -0.01em; }
.part p { margin: 4px 0 0; color: rgba(255, 255, 255, 0.68); font-size: 1rem; }

/* Assembled / exploded side by side */
.proto-views { padding: 16vh 0 12vh; background: var(--night); color: #fff; }
.proto-views .eyebrow { color: var(--gold-soft); }
.proto-views h2.big { color: #fff; }
.views-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: 48px; }
.view { margin: 0; border-radius: 28px; overflow: hidden; background: #010102; border: 1px solid rgba(255, 255, 255, 0.08); }
.view img { display: block; width: 100%; height: auto; }
.view figcaption { padding: 14px 22px 18px; color: rgba(255, 255, 255, 0.8); font-weight: 650; }
.views-caption { margin: 18px 0 0; font-size: 0.85rem; color: rgba(255, 255, 255, 0.5); max-width: 760px; }

@media (min-width: 821px) {
  .scrub-proto .scrub-media::after { background: linear-gradient(90deg, rgba(1, 1, 2, 0.9) 0%, rgba(1, 1, 2, 0.4) 45%, transparent 70%); }
}

@media (max-width: 820px) {
  .scrub-proto .scrub-media::after { background: linear-gradient(180deg, transparent 60%, rgba(1, 1, 2, 0.92) 88%); }
  .scrub-proto { height: 330vh; }
  .scrub-proto .scrub-media { place-items: start center; }
  .scrub-proto .scrub-media video { height: 74svh; margin-top: 64px; max-width: 100vw; }
  .parts-grid,
  .views-grid { grid-template-columns: 1fr; gap: 24px; }
  .parts-figure { position: static; }
  .parts-figure img { max-height: 70vh; }
}
