/* =========================================================================
   REBEL CARS // pages/home.css
   Home page only. Everything here is prefixed .home-
   01  Hero (car stage, copy, PLAY row, telemetry status bar)
   02  01 // The game (statement, copy, timing tower)
   03  02 // Physics (sticky tyre frame + telemetry widget)
   03b Garage // Studio renders (lead render + bracketed row of four)
   04  03 // Ecosystem (three launcher panels + bus line)
   05  04 // Rebel Launcher (download, launcher miniature)
   06  05 // Status (launcher bottom row)
   07  06 // Community
   ========================================================================= */


/* =========================================================================
   01  HERO
   ========================================================================= */
.home-hero {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: max(700px, 100vh);
  min-height: max(700px, 100svh);
  padding-top: var(--header-h);
  overflow: hidden;
  overflow: clip;
  background:
    radial-gradient(46% 58% at 72% 50%, rgba(232,34,47,.13), transparent 70%),
    radial-gradient(34% 44% at 0% 100%, rgba(232,34,47,.07), transparent 70%);
}

/* Car stage: decorative layer behind the copy (desktop) */
.home-hero__stage { position: absolute; inset: 0; pointer-events: none; }
/* Never higher than 20px below the fixed header (half height = .2752 x width). */
.home-hero__outline { top: max(47%, calc(var(--header-h) + 20px + max(303px, 23.12vw))); left: 40%; width: max(1100px, 84vw); transform: translateY(-50%); }

.home-hero__car {
  position: absolute;
  top: 47%;
  right: -3vw;
  width: min(61vw, calc((100vh - 190px) * 1.62));
  transform: translateY(-50%);
  isolation: isolate;
}
.js .home-hero__car { animation: home-car-in 1.4s var(--ease) .15s both; }
.home-hero__car img {
  width: 100%;
  /* Emerge from darkness: oval fade around the car, plus a floor fade that also
     removes the studio watermark at the bottom-left of the render. */
  -webkit-mask-image:
    radial-gradient(60% 66% at 48% 52%, #000 54%, transparent 100%),
    linear-gradient(180deg, #000 76%, transparent 97%);
  -webkit-mask-composite: source-in;
  mask-image:
    radial-gradient(60% 66% at 48% 52%, #000 54%, transparent 100%),
    linear-gradient(180deg, #000 76%, transparent 97%);
  mask-composite: intersect;
}
/* Soft red under-glow on the floor, screened over the render. */
.home-hero__car::after {
  content: "";
  position: absolute;
  left: 8%;
  right: 12%;
  bottom: 8%;
  height: 26%;
  background: radial-gradient(closest-side, rgba(232,34,47,.55), rgba(232,34,47,0));
  filter: blur(18px);
  mix-blend-mode: screen;
  opacity: .75;
}

/* HUD call-outs, positioned in % of the image */
.home-hero__callout {
  position: absolute;
  padding-bottom: 6px;
  border-bottom: 1px solid var(--line-2);
  font: 500 .64rem/1 var(--font-mono);
  letter-spacing: .22em;
  text-transform: uppercase;
  white-space: nowrap;
  color: var(--text-3);
}
.home-hero__callout::before {
  content: "";
  position: absolute;
  right: -1px;
  top: 100%;
  width: 1px;
  height: var(--drop, 3vw);
  background: linear-gradient(180deg, var(--line-2), rgba(255,255,255,.35));
}
.home-hero__callout::after {
  content: "";
  position: absolute;
  right: -3px;
  top: calc(100% + var(--drop, 3vw));
  width: 5px;
  height: 5px;
  background: var(--red);
  box-shadow: 0 0 8px var(--red);
}
.home-hero__callout--lamps { right: 67%; top: 38%; --drop: 4vw; }
.home-hero__callout--arch { right: 13%; top: 21%; --drop: 6vw; }

/* Car carousel: every slide sits in the same grid cell and cross-fades. */
.home-hero__slides { display: grid; }
.home-hero__slide { grid-area: 1 / 1; opacity: 0; transition: opacity 1.2s var(--ease); }
.home-hero__slide.is-active { opacity: 1; }
/* The call-outs point at the white rally car's lamps and arch: shown only while it is on stage. */
.home-hero__callouts { transition: opacity .6s var(--ease); }
.home-hero__car.is-other-car .home-hero__callouts { opacity: 0; }

@media (max-width: 1179px) {
  .home-hero__callouts { display: none; }
}

/* Copy column */
.home-hero__inner {
  z-index: 1;
  flex: 1;
  display: flex;
  align-items: center;
  padding-block: clamp(36px, 6vh, 80px) clamp(32px, 5vh, 64px);
}
.home-hero__copy { display: grid; justify-items: start; gap: 22px; width: 100%; min-width: 0; max-width: 660px; }
.home-hero__title { margin-top: 8px; padding: 0; font-size: 1rem; line-height: 1; }
.home-hero__title img { width: clamp(280px, 44vw, 660px); }
.home-hero__tagline {
  margin-top: -2px;
  padding-top: .08em;
  font: 500 clamp(1.9rem, 3.1vw, 2.75rem)/1 var(--font-display);
  letter-spacing: .03em;
  text-transform: uppercase;
  color: var(--text);
}
.home-hero__lead {
  max-width: 31rem;
  font-size: 1.2rem;
  line-height: 1.5;
  color: var(--text);
}
.home-hero__play { display: flex; flex-wrap: wrap; align-items: center; gap: 18px 26px; margin-top: 14px; }
.home-hero__play .rc-btn { min-width: 270px; }
.home-hero__build { display: grid; justify-items: start; gap: 10px; }
.home-hero__ver {
  font: 500 .8rem/1 var(--font-mono);
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--text-2);
}
.home-hero__explore { margin-top: 6px; }

/* Telemetry strip: the hero's bottom status bar */
.home-hero__status {
  position: relative;
  z-index: 1;
  border-top: 1px solid var(--line);
  background: linear-gradient(0deg, rgba(5,6,8,.92), rgba(5,6,8,.55));
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}
.home-hero__status .rc-facts { border-block: 0; }

@media (max-width: 960px) {
  .home-hero { min-height: 0; }
  .home-hero__inner { order: 1; flex: none; padding-block: 40px 0; }
  .home-hero__stage { position: relative; inset: auto; order: 2; margin-top: -2vw; }
  .home-hero__outline { top: 50%; left: -20%; width: 170vw; }
  .home-hero__car { position: relative; top: auto; right: auto; width: 116vw; margin-left: -10vw; transform: none; }
  .home-hero__status { order: 3; }
}
@media (max-width: 480px) {
  .home-hero__play { gap: 16px; }
  .home-hero__play .rc-btn { min-width: 0; width: 100%; }
  .home-hero__build { grid-auto-flow: column; align-items: center; gap: 16px; }
  .home-hero__explore { width: 100%; }
}


/* =========================================================================
   02  01 // THE GAME
   ========================================================================= */
.home-game__head { max-width: 62rem; }
.home-game__head h2 { font-size: clamp(2.6rem, 6.2vw, 5.6rem); }
.home-game__grid {
  display: grid;
  grid-template-columns: minmax(0, 11fr) minmax(0, 12fr);
  gap: clamp(40px, 5vw, 88px);
  align-items: stretch;
}
/* Story column: copy on top, the framed render pinned to the bottom so it lines up
   with the end of the timing tower and fills the column width. */
.home-game__story { display: flex; flex-direction: column; gap: clamp(40px, 5vw, 64px); }
.home-game__copy { display: grid; gap: 1.2em; }
.home-game__media { width: 100%; margin-top: auto; }
.home-game__media img { aspect-ratio: 16 / 10; object-position: 50% 40%; }
/* Two columns: the frame takes whatever height is left in the row, so it always
   ends level with the last tower row (bottom margin = "All game modes" link:
   24px margin + 44px min-height). The tower rows get a little more air now
   that the list has four rows. */
@media (min-width: 961px) {
  .home-game__story { gap: 40px; }
  .home-game__media { flex: 1 1 0; min-height: 190px; margin-bottom: 68px; }
  .home-game__media img { position: absolute; inset: 0; aspect-ratio: auto; }
  .home-game .rc-board__row { padding-block: 28px; }
}

.home-game__tower-title { max-width: 20ch; margin-bottom: 30px; font-size: clamp(1.9rem, 3vw, 2.8rem); }
.home-game .rc-board__pos { font-size: 2.6rem; }
.home-game .rc-board__title { font-size: 1.08rem; }
.home-game__more { margin-top: 24px; }
@media (max-width: 480px) {
  /* keep caption strips on one line */
  .home-game__media .rc-media__cap > :last-child,
  .home-traction__media .rc-media__cap > :last-child { display: none; }
}

@media (max-width: 960px) {
  .home-game__grid { grid-template-columns: minmax(0, 1fr); }
}


/* =========================================================================
   03  02 // PHYSICS
   ========================================================================= */
.home-traction { --glow-x: 6%; --glow-y: 420px; }
.home-traction__head { margin-bottom: 40px; }
.home-traction__dev { margin-top: 48px; }
.home-traction__dev .rc-panel__head { flex-wrap: wrap; }
.home-traction__dev .rc-tag { margin-left: auto; }

.home-traction__visual {
  position: sticky;
  top: calc(var(--header-h) + 40px);
  padding-bottom: 56px;
}
/* The crop box scales the render 118% tall and pins it to the top, so the studio
   watermark in the bottom 15% of the file is always cut off (every breakpoint). */
.home-traction__crop { position: relative; aspect-ratio: 4 / 5; overflow: hidden; }
.home-traction__media .home-traction__crop img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 118%;
  object-fit: cover;
  object-position: 30% 0;
}
.home-traction__tele { position: absolute; right: -28px; bottom: 0; z-index: 3; }

@media (max-width: 960px) {
  .home-traction__visual { position: relative; top: auto; max-width: 560px; padding-bottom: 0; }
  .home-traction__crop { aspect-ratio: 4 / 3; }
  .home-traction__tele { position: relative; right: auto; margin: 16px 0 0 auto; }
}


/* =========================================================================
   03b GARAGE // STUDIO RENDERS (unnumbered showcase band between 02 and 03)
   One wide lead render that bleeds towards the viewport edges, the other four
   as one continuous bracketed band (hairline dividers) pulled up into its floor.
   ========================================================================= */
.home-garage {
  position: relative;
  padding-top: clamp(56px, 7vw, 104px);
  overflow: hidden;
  overflow: clip;
}
.home-garage__bar { display: flex; align-items: center; gap: 28px; }
.home-garage__ruler { flex: 1; min-width: 0; opacity: .7; }

/* Lead: up to 1680px wide, centred; edges fade into the page. */
.home-garage__lead {
  position: relative;
  width: min(100%, 1680px);
  margin: clamp(8px, 1.5vw, 20px) auto 0;
}
/* Corner marks on the content column, so the render visibly runs past the frame. */
.home-garage__lead::before,
.home-garage__lead::after {
  content: "";
  position: absolute;
  z-index: 2;
  width: 18px;
  height: 18px;
  pointer-events: none;
}
.home-garage__lead::before {
  top: 6%;
  left: calc((100% - min(100%, var(--wrap))) / 2 + var(--gutter));
  border-top: 2px solid var(--red);
  border-left: 2px solid var(--red);
}
.home-garage__lead::after {
  top: 6%;
  right: calc((100% - min(100%, var(--wrap))) / 2 + var(--gutter));
  border-top: 2px solid var(--bracket);
  border-right: 2px solid var(--bracket);
}
.home-garage__crop {
  position: relative;
  aspect-ratio: 2 / 1;
  overflow: hidden;
  isolation: isolate;
  -webkit-mask-image:
    linear-gradient(90deg, transparent, #000 9%, #000 91%, transparent),
    linear-gradient(180deg, transparent, #000 8%, #000 84%, transparent);
  -webkit-mask-composite: source-in;
  mask-image:
    linear-gradient(90deg, transparent, #000 9%, #000 91%, transparent),
    linear-gradient(180deg, transparent, #000 8%, #000 84%, transparent);
  mask-composite: intersect;
}
.home-garage__crop img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 50%;
  transition: transform 1.6s var(--ease);
}
/* Lift the render's pure studio black to the page colour (lighten keeps every
   brighter pixel), then let the page grid continue over it (aligned with the
   fixed page grid), so no darker box shows. */
.home-garage__crop::before,
.home-garage__thumb::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: var(--bg);
  mix-blend-mode: lighten;
}
.home-garage__crop::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background-image:
    repeating-linear-gradient(0deg, var(--grid) 0 1px, transparent 1px 48px),
    repeating-linear-gradient(90deg, var(--grid) 0 1px, transparent 1px 48px);
  background-attachment: fixed;
}
.home-garage__lead:hover .home-garage__crop img { transform: scale(1.025); }

/* Caption strip aligned with the content column, over the faded floor. */
.home-garage__cap {
  position: absolute;
  left: 0;
  right: 0;
  top: calc(6% + 30px);
  z-index: 2;
  display: flex;
  justify-content: space-between;
  gap: 12px;
  width: min(100%, var(--wrap));
  margin-inline: auto;
  padding-inline: var(--gutter);
  font: 500 .7rem/1.2 var(--font-mono);
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--text-2);
}

/* Row of four: one bracketed band, pulled up into the lead's floor. */
.home-garage__strip {
  position: relative;
  z-index: 1;
  margin-top: clamp(-64px, -4vw, -16px);
  padding: 1px;
}
.home-garage__row {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin: 0;
  padding: 0;
  list-style: none;
  border: 1px solid var(--line);
  background: var(--bg);
}
.home-garage__row::before,
.home-garage__row::after {
  content: "";
  position: absolute;
  z-index: 2;
  width: 18px;
  height: 18px;
  pointer-events: none;
}
.home-garage__row::before { top: -1px; left: -1px; border-top: 2px solid var(--red); border-left: 2px solid var(--red); }
.home-garage__row::after { right: -1px; bottom: -1px; border-right: 2px solid var(--bracket); border-bottom: 2px solid var(--bracket); }
.home-garage__item + .home-garage__item { border-left: 1px solid var(--line); }
.home-garage__item figure { margin: 0; }
.home-garage__thumb { position: relative; aspect-ratio: 16 / 9; overflow: hidden; isolation: isolate; }
.home-garage__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 42%;
  transition: transform 1.2s var(--ease);
}
.home-garage__item:hover .home-garage__thumb img { transform: scale(1.06); }
.home-garage__label {
  padding: 12px 16px;
  border-top: 1px solid var(--line);
  font: 500 .68rem/1.2 var(--font-mono);
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--text-3);
}

@media (max-width: 720px) {
  .home-garage__ruler { display: none; }
  .home-garage__crop {
    aspect-ratio: 16 / 10;
    -webkit-mask-image:
      linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent),
      linear-gradient(180deg, transparent, #000 8%, #000 86%, transparent);
    mask-image:
      linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent),
      linear-gradient(180deg, transparent, #000 8%, #000 86%, transparent);
  }
  .home-garage__cap { top: calc(4% + 26px); }
  .home-garage__cap > :last-child { display: none; }
  .home-garage__lead::before,
  .home-garage__lead::after { top: 4%; }
  /* Horizontal, snapping strip (keyboard-focusable via data-scroll-region). */
  .home-garage__strip {
    margin-top: -12px;
    overflow-x: auto;
    overscroll-behavior-x: contain;
    scroll-snap-type: x mandatory;
    scrollbar-width: thin;
    scrollbar-color: var(--line-2) transparent;
    padding-bottom: 12px;
  }
  .home-garage__row { display: flex; width: max-content; }
  .home-garage__item { flex: none; width: min(60vw, 280px); scroll-snap-align: start; }
}
@media (hover: none) {
  .home-garage__lead:hover .home-garage__crop img,
  .home-garage__item:hover .home-garage__thumb img { transform: none; }
}
@media (prefers-reduced-motion: reduce) {
  .home-garage__crop img,
  .home-garage__thumb img { transition: none; }
  .home-garage__lead:hover .home-garage__crop img,
  .home-garage__item:hover .home-garage__thumb img { transform: none; }
}


/* =========================================================================
   04  03 // ECOSYSTEM
   ========================================================================= */
.home-eco { --glow-x: 82%; }
.home-eco__grid,
.home-eco__bus {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(0, 1.05fr) minmax(0, 1.05fr);
  gap: 24px;
}
.home-eco__grid { align-items: stretch; }

/* Bus line above the panels: one node per system. */
.home-eco__bus { margin-bottom: 20px; }
.home-eco__bus span {
  display: flex;
  align-items: center;
  gap: 12px;
  font: 500 .68rem/1 var(--font-mono);
  letter-spacing: .24em;
  text-transform: uppercase;
  color: var(--text-3);
}
.home-eco__bus span::before { content: ""; flex: none; width: 7px; height: 7px; background: var(--red); box-shadow: 0 0 10px var(--red-glow); }
.home-eco__bus span::after { content: ""; flex: 1; height: 1px; background: linear-gradient(90deg, var(--line-2), var(--line)); }

.home-eco__panel { display: flex; flex-direction: column; }
.home-eco__body { display: flex; flex: 1; flex-direction: column; gap: 20px; }
.home-eco__body > * + * { margin-top: 0; }
.home-eco__sub {
  font: 500 .74rem/1.5 var(--font-mono);
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--red-bright);
}
.home-eco__intro { color: var(--text); }
.home-eco .rc-list { gap: 12px; font-size: 1rem; }
.home-eco__listed { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 16px; }
.home-eco__small {
  font: 500 .72rem/1.4 var(--font-mono);
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--text-3);
}
.home-eco__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 24px;
  margin-top: auto;
  padding-top: 8px;
}

@media (max-width: 1099px) {
  .home-eco__bus { display: none; }
  .home-eco__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .home-eco__panel:first-child { grid-column: 1 / -1; }
}
@media (max-width: 720px) {
  .home-eco__grid { grid-template-columns: minmax(0, 1fr); }
}


/* =========================================================================
   05  04 // REBEL LAUNCHER
   ========================================================================= */
@media (min-width: 961px) {
  .home-launch__split { grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); }
}
.home-launch__head { margin-bottom: 36px; }
.home-launch .rc-steps { max-width: 34rem; }
.home-launch__cta { display: grid; grid-template-columns: minmax(0, 1fr); justify-items: start; gap: 18px; margin-top: 40px; }
.home-launch__pending {
  display: flex;
  align-items: center;
  gap: 10px;
  font: 500 .72rem/1.5 var(--font-mono);
  letter-spacing: .06em;
  color: var(--text-3);
}
.home-launch__pending::before { content: ""; flex: none; width: 6px; height: 6px; border: 1px solid var(--red-bright); }
@media (max-width: 480px) {
  .home-launch .home-launch__btn { width: 100%; --btn-pad: 18px; font-size: .88rem; letter-spacing: .14em; }
}

/* Launcher miniature (decorative). Everything is sized in em, and the root
   font-size follows the container width (cqi), so it scales like an image. */
.home-launcher { container-type: inline-size; perspective: 1800px; }
.home-launcher__win {
  position: relative;
  overflow: hidden;
  font-size: 9px;
  font-size: 1.5cqi;
  border: 1px solid var(--line-2);
  background:
    radial-gradient(48% 52% at 80% 28%, rgba(232,34,47,.2), transparent 70%),
    radial-gradient(30% 40% at 0% 100%, rgba(232,34,47,.12), transparent 70%),
    linear-gradient(180deg, #0a0c11, #06070a);
  box-shadow: 0 50px 90px -30px rgba(0,0,0,.9), 0 0 90px -20px rgba(232,34,47,.3);
  transform: rotateY(-8deg) rotateX(3deg);
  transform-origin: 30% 50%;
  transition: transform .7s var(--ease);
}
.home-launcher:hover .home-launcher__win { transform: none; }

.home-launcher__top {
  position: relative;
  display: flex;
  align-items: stretch;
  gap: 4em;
  height: 4.6em;
  padding: 0 2.2em;
}
.home-launcher__top::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background: linear-gradient(90deg, var(--red), rgba(232,34,47,0) 30%), var(--line);
}
.home-launcher__brand {
  display: flex;
  align-items: center;
  gap: 1em;
  font: 500 1.1em/1 var(--font-ui);
  letter-spacing: .3em;
  text-transform: uppercase;
  color: var(--text-3);
}
.home-launcher__brand img { width: 2.6em; height: 2.6em; }
.home-launcher__brand b { margin-right: .3em; color: var(--text); }
.home-launcher__tabs { display: flex; gap: 2.6em; }
.home-launcher__tabs span {
  display: flex;
  align-items: center;
  font: 600 1.05em/1 var(--font-ui);
  letter-spacing: .26em;
  text-transform: uppercase;
  color: var(--text-3);
}
.home-launcher__tabs .is-active { color: var(--text); box-shadow: inset 0 -2px var(--red); }
.home-launcher__ctrl { display: flex; align-items: center; gap: 2.4em; margin-left: auto; }
.home-launcher__ctrl span { position: relative; width: 1.2em; height: 1.2em; }
.home-launcher__ctrl span:first-child::before { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 1px; background: var(--text-3); }
.home-launcher__ctrl span:last-child { background: linear-gradient(45deg, transparent calc(50% - .5px), var(--text-3) 0 calc(50% + .5px), transparent 0), linear-gradient(-45deg, transparent calc(50% - .5px), var(--text-3) 0 calc(50% + .5px), transparent 0); }

.home-launcher__hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr);
  align-items: center;
  min-height: 25em;
  padding: 3.6em 4em 3.4em;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
}
.home-launcher__ghost {
  position: absolute;
  top: -12%;
  right: -16%;
  width: 82%;
  aspect-ratio: 1684 / 927;
  background: url("../../brand/rc-outline-white.png") center / contain no-repeat;
  opacity: .06;
}
.home-launcher__copy { position: relative; display: grid; justify-items: start; gap: 1.6em; }
.home-launcher__kick { display: flex; align-items: center; gap: 1.2em; }
.home-launcher__kick svg { width: .9em; height: 1.25em; fill: var(--red); }
.home-launcher__wordmark { width: 26em; }
.home-launcher__row { display: flex; align-items: center; gap: 2em; margin-top: .6em; }
.home-launcher__play {
  display: grid;
  place-items: center;
  padding-left: .3em;
  background: linear-gradient(180deg, var(--red), var(--red-deep));
  clip-path: polygon(.7em 0, 100% 0, 100% calc(100% - .7em), calc(100% - .7em) 100%, 0 100%, 0 .7em);
  font: 700 1.6em/1 var(--font-ui);
  width: 10em;
  height: 2.5em;
  letter-spacing: .3em;
  text-transform: uppercase;
  color: #fff;
}
.home-launcher__meta { display: grid; gap: .8em; justify-items: start; }
.home-launcher__tag {
  padding: .35em .8em;
  border: 1px solid var(--red);
  font: 500 .95em/1 var(--font-mono);
  letter-spacing: .2em;
  color: var(--red-bright);
}
.home-launcher__sk { display: block; width: 100%; height: .8em; background: rgba(255,255,255,.08); }
.home-launcher__sk--kick { width: 15em; height: .7em; background: rgba(255,255,255,.14); }
.home-launcher__sk--tagline { width: 24em; height: .9em; }
.home-launcher__sk--ver { width: 6em; height: .7em; }
.home-launcher__sk--60 { width: 60%; }
.home-launcher__sk--80 { width: 82%; }
.home-launcher__sk--red { width: 42%; height: .6em; background: rgba(255,69,83,.55); }

.home-launcher__disc { position: relative; justify-self: center; width: 17em; aspect-ratio: 1; }
.home-launcher__disc img {
  position: absolute;
  inset: 12%;
  width: 76%;
  height: 76%;
  filter: drop-shadow(0 0 2.6em rgba(232,34,47,.6));
}
.home-launcher__orbit {
  position: absolute;
  inset: -4%;
  border: 1px dashed rgba(255,69,83,.38);
  border-radius: 50%;
  animation: rc-orbit 60s linear infinite;
}
.home-launcher__arc {
  position: absolute;
  inset: -12%;
  border: 2px solid transparent;
  border-top-color: rgba(232,34,47,.8);
  border-radius: 50%;
  transform: rotate(-24deg);
  -webkit-mask-image: linear-gradient(90deg, transparent 15%, #000 50%, transparent 85%);
  mask-image: linear-gradient(90deg, transparent 15%, #000 50%, transparent 85%);
}

.home-launcher__panels {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(0, 1fr);
  gap: 2.4em;
  padding: 2.6em 4em 3.2em;
}
.home-launcher__panel {
  position: relative;
  min-height: 15em;
  border: 1px solid var(--line);
  background: rgba(12,14,20,.9);
}
.home-launcher__panel::before,
.home-launcher__panel::after { content: ""; position: absolute; width: 1.6em; height: 1.6em; }
.home-launcher__panel::before { top: -1px; left: -1px; border-top: 2px solid var(--red); border-left: 2px solid var(--red); }
.home-launcher__panel::after { right: -1px; bottom: -1px; border-right: 2px solid var(--bracket); border-bottom: 2px solid var(--bracket); }
.home-launcher__ptitle {
  display: flex;
  align-items: center;
  gap: 1.2em;
  padding: 1.4em 1.8em;
  border-bottom: 1px solid var(--line);
  font: 700 1em/1 var(--font-ui);
  letter-spacing: .3em;
  text-transform: uppercase;
  color: var(--text);
}
.home-launcher__ptitle::before { content: ""; width: .7em; height: .7em; background: var(--red); }
.home-launcher__pbody { display: grid; gap: 1em; padding: 1.8em; }
.home-launcher__news {
  display: grid;
  gap: .8em;
  padding: 1.2em 1.4em;
  border-left: .2em solid var(--red);
  background: rgba(255,255,255,.02);
}
.home-launcher__news--mute { border-left-color: var(--line-2); }
.home-launcher__news--mute .home-launcher__sk--red { background: rgba(255,255,255,.14); }

@media (max-width: 960px) {
  .home-launcher__win { transform: none; }
}


/* =========================================================================
   06  05 // STATUS
   ========================================================================= */
.home-status__kicker { margin-bottom: 32px; }
.home-status__grid {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(0, 1fr);
  gap: 28px;
  align-items: stretch;
}
.home-status__body > * + * { margin-top: 0; }
.home-status__q { max-width: 22ch; margin-bottom: 28px; font-size: clamp(1.9rem, 3.2vw, 2.9rem); line-height: .95; }
.home-status__news { display: flex; flex-direction: column; }
.home-status__newsbody { display: flex; flex: 1; flex-direction: column; gap: 24px; }
.home-status__newsbody > * + * { margin-top: 0; }
.home-status__foot {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  margin-top: auto;
}
.home-status__wordmark { width: clamp(130px, 12vw, 180px); opacity: .85; }
@media (max-width: 960px) {
  .home-status__grid { grid-template-columns: minmax(0, 1fr); }
}


/* =========================================================================
   07  06 // COMMUNITY
   ========================================================================= */
.home-community__outline { left: -14%; bottom: -46%; width: max(900px, 80vw); }
.home-community__head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px 64px;
  margin-bottom: clamp(44px, 5vw, 72px);
}
.home-community__title { margin-top: 18px; font-size: clamp(4rem, 12vw, 10.5rem); line-height: .8; }
.home-community__line { max-width: 24rem; color: var(--text-2); }
.home-community .rc-channels { position: relative; z-index: 1; }


@media (prefers-reduced-motion: reduce) {
  .js .home-hero__car,
  .home-launcher__orbit { animation: none; }
  .home-hero__slide, .home-hero__callouts { transition: none; }
}

/* Keyframes (home only) */
@keyframes home-car-in {
  from { opacity: 0; transform: translateY(-50%) translateX(4%) scale(1.02); }
  to { opacity: 1; transform: translateY(-50%); }
}
@media (max-width: 960px) {
  @keyframes home-car-in {
    from { opacity: 0; transform: translateX(4%); }
    to { opacity: 1; transform: none; }
  }
}
