/* ------------------------------------------------------------------
   /robot. The fullscreen cycling showcase (.robot-stage) keeps its
   original black-stage design, unchanged. Everything below it (gallery,
   Buy Now card) uses the site tokens and follows the light/dark toggle.
   ------------------------------------------------------------------ */

/* Fullscreen hero stage */
.robot-stage {
  position: relative;
  width: 100%;
  height: 100vh;
  height: 100svh;
  min-height: 600px;
  background: #070708;
  color: #f5f5f5;
  overflow: hidden;
  border-bottom: 2px solid #2b2b30;
  isolation: isolate;
}

/* Slides stack */
.robot-slides {
  position: absolute;
  inset: 0;
  margin: 0;
  padding: 0;
  list-style: none;
}

.robot-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.85s ease, visibility 0s linear 0.85s;
  overflow: hidden;
  background: #070708;
}

.robot-slide.is-active {
  opacity: 1;
  visibility: visible;
  z-index: 2;
  transition: opacity 0.85s ease, visibility 0s linear 0s;
}

.robot-slide.is-prev {
  opacity: 1;
  visibility: visible;
  z-index: 1;
}

.robot-slide .slide-bg {
  position: absolute;
  inset: -4%;
  width: 108%;
  height: 108%;
  object-fit: cover;
  filter: blur(28px) brightness(0.38) grayscale(0.25);
  transform: scale(1.06);
  pointer-events: none;
  user-select: none;
}

.robot-slide .slide-fg {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  display: block;
}

.robot-slide[data-orient="landscape"] .slide-bg {
  display: none;
}

.robot-slide[data-orient="landscape"] .slide-fg {
  object-fit: cover;
  object-position: center 46%;
}

.robot-slide[data-orient="portrait"] .slide-fg {
  object-fit: contain;
  object-position: center center;
  padding: 4.5rem 1.5rem 8.5rem;
}

@media (max-aspect-ratio: 4/5) {
  .robot-slide[data-orient="portrait"] .slide-bg {
    display: none;
  }
  .robot-slide[data-orient="portrait"] .slide-fg {
    object-fit: cover;
    object-position: center center;
    padding: 0;
  }
}

@media (prefers-reduced-motion: no-preference) {
  .robot-slide[data-orient="landscape"].is-active .slide-fg {
    animation: robot-kenburns 6s ease-out forwards;
  }
}

@keyframes robot-kenburns {
  from { transform: scale(1.0); }
  to { transform: scale(1.045); }
}

/* Top and bottom cinema scrims */
.robot-scrim-top {
  position: absolute;
  inset: 0 0 auto 0;
  height: 140px;
  z-index: 4;
  pointer-events: none;
  background: linear-gradient(to bottom, rgba(7, 7, 8, 0.8) 0%, rgba(7, 7, 8, 0.35) 55%, rgba(7, 7, 8, 0) 100%);
}

.robot-scrim-bottom {
  position: absolute;
  inset: auto 0 0 0;
  height: 46%;
  min-height: 260px;
  z-index: 4;
  pointer-events: none;
  background: linear-gradient(to top, rgba(6, 6, 7, 0.95) 0%, rgba(6, 6, 7, 0.72) 48%, rgba(6, 6, 7, 0) 100%);
}

/* Minimal translucent top HUD inside fullscreen hero */
.robot-topbar {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem var(--gutter);
}

.robot-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  color: #ffffff;
}

.robot-brand svg {
  width: 2.75rem;
  fill: #d40a18;
  flex: none;
}

.robot-brand span {
  font-size: 0.98rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: #ffffff;
}

.robot-controls {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.robot-counter {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-variant-numeric: tabular-nums;
  color: #d4d4d4;
  background: rgba(7, 7, 8, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.22);
  padding: 0.42rem 0.65rem;
  border-radius: 2px;
  backdrop-filter: blur(8px);
}

.robot-ctrl-btn {
  display: inline-grid;
  place-items: center;
  width: 36px;
  height: 36px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 2px;
  background: rgba(7, 7, 8, 0.72);
  color: #ffffff;
  cursor: pointer;
  backdrop-filter: blur(8px);
  transition: background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

.robot-ctrl-btn:hover {
  background: #ffffff;
  border-color: #ffffff;
  color: #070708;
}

.robot-ctrl-btn:focus-visible {
  outline: 3px solid #ffffff;
  outline-offset: 2px;
}

.robot-ctrl-btn svg {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* Bottom overlay: headline + BIG red & black Buy Now ($30,000) button */
.robot-bottom {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 10;
  padding: 0 var(--gutter) clamp(1.35rem, 3.2vh, 2.5rem);
  display: grid;
  gap: 1rem;
}

.robot-bottom-row {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1.25rem 2rem;
}

.robot-headline {
  display: grid;
  gap: 0.35rem;
  max-width: 36rem;
}

.robot-eyebrow {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #b5b5b5;
}

.robot-headline h1 {
  font-size: clamp(2.4rem, 5.2vw, 4.4rem);
  line-height: 0.94;
  letter-spacing: -0.035em;
  color: #ffffff;
  text-shadow: 0 2px 22px rgba(0, 0, 0, 0.55);
}

.robot-subline {
  font-size: clamp(0.95rem, 1.3vw, 1.12rem);
  color: #cccccc;
  max-width: 34rem;
}

/* BIG RED AND BLACK BUY NOW ($30,000) BUTTON */
.robot-buy-wrap {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.6rem;
}

.btn-buy-now {
  display: inline-flex;
  align-items: stretch;
  text-decoration: none;
  background: #08080a;
  color: #ffffff;
  border: 2px solid #d40a18;
  border-radius: 4px;
  overflow: hidden;
  box-shadow: 0 14px 36px rgba(0, 0, 0, 0.7), 0 0 0 1px rgba(212, 10, 24, 0.35);
  transition: transform 0.16s ease, box-shadow 0.16s ease, border-color 0.16s ease;
  cursor: pointer;
}

.btn-buy-now:hover {
  transform: translateY(-2px);
  border-color: #ff2230;
  box-shadow: 0 18px 44px rgba(200, 8, 21, 0.45), 0 8px 24px rgba(0, 0, 0, 0.8);
}

.btn-buy-now:active {
  transform: translateY(0);
}

.btn-buy-now:focus-visible {
  outline: 3px solid #ffffff;
  outline-offset: 3px;
}

.btn-buy-now-label {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  background: #c80815;
  color: #ffffff;
  font-size: clamp(1.15rem, 1.8vw, 1.45rem);
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: clamp(0.95rem, 1.6vw, 1.25rem) clamp(1.5rem, 2.6vw, 2.25rem);
  transition: background-color 0.16s ease;
}

.btn-buy-now:hover .btn-buy-now-label {
  background: #e10b19;
}

.btn-buy-now-price {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  background: #08080a;
  color: #ffffff;
  font-size: clamp(1.25rem, 2vw, 1.65rem);
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.02em;
  padding: clamp(0.95rem, 1.6vw, 1.25rem) clamp(1.35rem, 2.2vw, 1.9rem);
  border-left: 2px solid #d40a18;
}

.btn-buy-now-arrow {
  width: 11px;
  height: 11px;
  background: #e10b19;
  clip-path: polygon(0 0, 100% 50%, 0 100%);
  flex: none;
  transition: transform 0.16s ease, background-color 0.16s ease;
}

.btn-buy-now:hover .btn-buy-now-arrow {
  transform: translateX(3px);
  background: #ffffff;
}

.robot-buy-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 0.5rem 1.25rem;
  font-size: 0.78rem;
  color: #c2c2c2;
}

.robot-buy-meta strong {
  color: #ffffff;
  font-weight: 600;
}

.robot-scroll-cue {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  color: #ffffff;
  text-decoration: none;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-size: 0.68rem;
  border-bottom: 1px solid #8a8a8a;
  padding-bottom: 2px;
}

.robot-scroll-cue:hover {
  border-bottom-color: #ffffff;
  color: #ffffff;
}

/* Subtle monochrome progress track at very bottom of fullscreen showcase */
.robot-progress {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 3px;
  background: rgba(255, 255, 255, 0.16);
  z-index: 12;
}

.robot-progress-bar {
  height: 100%;
  width: 0%;
  background: #d4d4d4;
  transition: width 0.12s linear;
}

@media (max-width: 820px) {
  .robot-bottom-row {
    flex-direction: column;
    align-items: stretch;
  }
  .robot-buy-wrap {
    align-items: stretch;
  }
  .btn-buy-now {
    justify-content: space-between;
    width: 100%;
  }
  .btn-buy-now-label {
    flex: 1;
    justify-content: center;
  }
  .robot-buy-meta {
    justify-content: space-between;
  }
  .robot-brand span {
    display: none;
  }
}

/* Gallery grid below the fold */
.robot-gallery {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 0.65rem;
  margin-top: 1.5rem;
}

@media (max-width: 1050px) {
  .robot-gallery { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 560px) {
  .robot-gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

.robot-thumb {
  position: relative;
  display: block;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 3px;
  overflow: hidden;
  background: var(--paper);
  aspect-ratio: 4 / 3;
  cursor: pointer;
  transition: border-color 0.15s ease;
}

.robot-thumb img,
.robot-thumb video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.robot-thumb video {
  pointer-events: none;
}

.robot-thumb:hover,
.robot-thumb[aria-current="true"] {
  border-color: var(--ink);
}

/* index and video tags as ticket micro-labels on paper */
.robot-thumb-idx,
.robot-thumb-badge {
  position: absolute;
  background: var(--paper);
  color: var(--ink);
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-variant-numeric: tabular-nums;
  padding: 2px 6px;
  border-radius: 2px;
}

.robot-thumb-idx {
  left: 6px;
  bottom: 6px;
}

/* current item: the site's red current-page marker */
.robot-thumb[aria-current="true"] .robot-thumb-idx {
  box-shadow: inset 0 -2px 0 var(--red);
}

.robot-thumb-badge {
  right: 6px;
  top: 6px;
}

/* Buy Now card in #buy: a paper ticket, like the order form */
.robot-buy-card {
  display: grid;
  gap: 1.15rem;
  background: var(--paper);
  color: var(--ink);
  border: 2px solid var(--ink);
  padding: clamp(1.5rem, 3vw, 2.25rem);
  margin-bottom: 1.5rem;
}

.robot-buy-card-price {
  font-size: clamp(2.4rem, 4.5vw, 3.6rem);
  font-weight: 600;
  line-height: 1;
  letter-spacing: -0.04em;
  font-variant-numeric: tabular-nums;
}

.robot-buy-card-terms {
  font-size: 0.95rem;
  font-weight: 600;
}

.robot-buy-card p:not(.robot-buy-card-terms) {
  color: var(--ink-2);
}

.robot-buy-card-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem 1.5rem;
  margin-top: 0.25rem;
}



/* Specs block: black to match the slideshow stage (this page only) */
.block-blue#specs { background: #070708; }
