/* ==========================================================================
   Launch Labs — "Standout" experiment ("in a world of similar choices, one
   business gets noticed"). SEPARATE experimental sibling to the .choice
   sequence — neither replaces the other.

   A pinned, scroll-scrubbed sequence on a solid Launch-red frame: a highly
   ordered field of near-identical WHITE vertical cards; one near the centre
   grows and the rest are physically pushed out of frame to make space for
   it; the survivor then morphs from a card into a full white page canvas,
   which becomes the white .standout-site section directly below (identical
   #FFFFFF, so the handoff is seamless — no fade, no flash).

   All motion in js/standout.js (GSAP + ScrollTrigger, already loaded — no
   new library). Palette is strictly Launch red #D92632 / white #FFFFFF /
   near-black #010202 (content only). Cards carry no text/logos/icons/chrome
   — the meaning is carried by composition, scale, movement and timing.

   Cards are built by js/standout.js; with JS/GSAP absent or reduced motion,
   the static grid (with one card enlarged) stands in as the fallback. To
   revert: delete this file, js/standout.js, the .standout + .standout-site
   markup and their <link>/<script> lines. Does not modify other sections.
   ========================================================================== */

.standout {
  position: relative;
  background: #D92632;
}

.standout__stage {
  position: relative;
  height: 100vh;
  overflow: hidden;
  background: #D92632;
}

/* Ordered grid filling the frame. --cols / --rows are set inline per
   breakpoint by js/standout.js (kept odd so the centre cell — the eventual
   hero — is exactly viewport-centred, which lets it grow and fill
   symmetrically with no re-centering needed). */
.standout__grid {
  position: absolute;
  inset: 0;
  display: grid;
  grid-template-columns: repeat(var(--cols, 11), 1fr);
  grid-template-rows: repeat(var(--rows, 7), 1fr);
  place-items: center;
  padding: 5vh 4vw;
  gap: min(1.4vw, 1.4vh);
}

/* One plain white circle. aspect-ratio keeps it a true 1:1 circle at every
   viewport size (height follows width in px), centred in its grid cell so
   the positions/spacing are unchanged from the original field. Width is the
   single knob for circle size / negative space. transform owned by GSAP. */
.standout__card {
  width: 54%;
  aspect-ratio: 1 / 1;
  height: auto;
  background: #FFFFFF;
  border-radius: 50%;
  transform-origin: center center;
  will-change: transform;
}

.standout__card--hero {
  position: relative;
  z-index: 3;
}

/* ==========================================================================
   The emerged "website" — the white canvas the chosen card becomes. Solid
   white (identical to the card's fill), so continuing from the pinned stage
   above is seamless. Near-black type; the CTA opens the SHAPE modal.
   ========================================================================== */
.standout-site {
  position: relative;
  background: #FFFFFF;
  color: #010202;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(4rem, 10vw, 8rem) clamp(1.5rem, 5vw, 4rem);
}

.standout-site__inner {
  max-width: 52rem;
  text-align: center;
}

.standout-site__title {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: clamp(2.5rem, 5.5vw, 4.5rem);
  font-weight: 800;
  line-height: 1.03;
  letter-spacing: -0.02em;
  color: #010202;
}

.standout-site__cta {
  margin-top: clamp(2rem, 4vw, 2.75rem);
  display: flex;
  justify-content: center;
}

.standout-site__btn {
  padding: 1.15rem 2.75rem;
  font-size: 0.9375rem;
}

/* Keep the palette flat — strip the themed .btn glow on this canvas. */
body[data-theme="black"] .standout-site__btn { box-shadow: none; }
body[data-theme="black"] .standout-site__btn:hover { box-shadow: none; }

.standout-site__title,
.standout-site__cta {
  opacity: 0;
  transform: translateY(22px);
}

.standout-site.is-visible .standout-site__title {
  animation: standout-rise 0.9s var(--ease) forwards;
}

.standout-site.is-visible .standout-site__cta {
  animation: standout-rise 0.9s var(--ease) forwards;
  animation-delay: 0.25s;
}

@keyframes standout-rise {
  from { opacity: 0; transform: translateY(22px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ==========================================================================
   Reduced motion — js/standout.js declines to pin/animate. Show the ordered
   field statically with the hero card already enlarged (one clearly stands
   out), then the white site section below. Simplified, static, immediate.
   ========================================================================== */
@media (prefers-reduced-motion: reduce) {
  .standout__stage {
    height: 100vh;
    min-height: 34rem;
  }

  .standout__card--hero {
    transform: scale(1.6);
  }
}
