/* ============================================================
   ORBIT PLAY — Layout: header, hero, sections, footer
   ============================================================ */

/* ------------------------------------------------------------
   1. HEADER — dark translucent nav surface
   ------------------------------------------------------------ */
.op-header {
  position: sticky;
  top: 0;
  z-index: 80;
  background: rgba(8, 13, 27, 0.72);
  -webkit-backdrop-filter: blur(20px) saturate(150%);
  backdrop-filter: blur(20px) saturate(150%);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s, background 0.3s;
}

.op-header.is-stuck {
  background: rgba(8, 13, 27, 0.9);
  border-bottom-color: var(--op-line);
}

.op-header__inner {
  display: flex;
  align-items: center;
  gap: var(--op-s5);
  min-height: var(--op-header-h);
  min-width: 0;
}

/* Brand */
.op-brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  color: var(--op-ink);
  flex-shrink: 0;
  min-width: 0;
}

.op-brand__mark {
  position: relative;
  width: 34px;
  height: 34px;
  flex-shrink: 0;
  display: grid;
  place-items: center;
}

.op-brand__mark svg { width: 34px; height: 34px; }

.op-brand__text {
  display: flex;
  flex-direction: column;
  gap: 1px;
  min-width: 0;
}

.op-brand__name {
  font-family: var(--op-font-display);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.1em;
  /* No text-transform: the brand slot holds the deploy macro verbatim, and
     uppercasing it would corrupt the token before substitution. */
  line-height: 1.1;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.op-brand__tag {
  font-family: var(--op-font-mono);
  font-size: 9px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--op-muted);
  white-space: nowrap;
}

/* Primary nav */
.op-nav {
  display: flex;
  align-items: center;
  gap: 2px;
  min-width: 0;
}

.op-nav__link {
  position: relative;
  padding: 9px 14px;
  font-size: 13.5px;
  font-weight: 500;
  color: var(--op-muted);
  border-radius: var(--op-pill);
  white-space: nowrap;
  transition: color 0.2s, background 0.2s;
}

.op-nav__link:hover { color: var(--op-ink); background: rgba(241, 245, 255, 0.055); }

.op-nav__link.is-active { color: var(--op-ink); }

.op-nav__link.is-active::after {
  content: '';
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 3px;
  height: 1.5px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--op-blue), var(--op-cyan));
  box-shadow: 0 0 10px var(--op-glow-cyan);
}

/* Right cluster */
.op-header__tools {
  display: flex;
  align-items: center;
  gap: var(--op-s2);
  margin-left: auto;
  flex-shrink: 0;
}

/* Search trigger — a real field shape on desktop */
.op-searchbtn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  height: 38px;
  padding: 0 6px 0 14px;
  border: 1px solid var(--op-line);
  border-radius: var(--op-pill);
  background: rgba(23, 35, 59, 0.6);
  color: var(--op-muted);
  cursor: pointer;
  transition: border-color 0.22s, color 0.22s, background 0.22s;
  font-size: 13px;
}

.op-searchbtn:hover {
  border-color: var(--op-line-strong);
  color: var(--op-ink-soft);
  background: rgba(29, 43, 71, 0.8);
}

.op-searchbtn kbd {
  font-family: var(--op-font-mono);
  font-size: 10px;
  line-height: 1;
  padding: 4px 6px;
  border-radius: 5px;
  border: 1px solid var(--op-line);
  color: var(--op-faint);
  background: rgba(8, 13, 27, 0.6);
}

.op-iconbtn {
  display: inline-grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border: 1px solid var(--op-line);
  border-radius: 50%;
  background: rgba(23, 35, 59, 0.6);
  color: var(--op-ink-soft);
  cursor: pointer;
  transition: border-color 0.2s, color 0.2s, background 0.2s, transform 0.15s;
}

.op-iconbtn:hover { border-color: var(--op-line-strong); color: var(--op-ink); }
.op-iconbtn:active { transform: scale(0.94); }
.op-iconbtn.is-mobile-only { display: none; }

/* ------------------------------------------------------------
   2. UNIVERSE HERO
   ------------------------------------------------------------ */
.op-hero {
  position: relative;
  padding: clamp(40px, 5vw, 72px) 0 clamp(32px, 3.6vw, 48px);
  overflow: clip;
}

/* Coordinate grid veil */
.op-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(137, 152, 181, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(137, 152, 181, 0.05) 1px, transparent 1px);
  background-size: 76px 76px;
  mask-image: radial-gradient(ellipse 78% 66% at 50% 42%, #000 5%, transparent 76%);
  -webkit-mask-image: radial-gradient(ellipse 78% 66% at 50% 42%, #000 5%, transparent 76%);
  pointer-events: none;
}

.op-hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
  position: relative;
}

.op-hero__copy {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: var(--op-s5);
  max-width: 560px;
}

.op-hero__title {
  font-size: clamp(2.8rem, 6.4vw, 5.3rem);
  font-weight: 700;
  line-height: 0.94;
  letter-spacing: -0.045em;
  text-wrap: balance;
}

.op-hero__title .op-hero__title-line { display: block; }

.op-hero__title em {
  font-style: normal;
  background: linear-gradient(96deg, var(--op-blue) 0%, var(--op-purple) 46%, var(--op-cyan) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  position: relative;
}

.op-hero__lede {
  font-size: clamp(15px, 1.5vw, 17.5px);
  line-height: 1.62;
  color: var(--op-muted);
  max-width: 42ch;
}

.op-hero__actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--op-s3);
  width: 100%;
}

/* Featured CTA with drifting orbit ring */
.op-hero__cta {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 15px 20px 15px 15px;
  border-radius: var(--op-radius);
  border: 1px solid rgba(91, 140, 255, 0.32);
  background:
    linear-gradient(140deg, rgba(91, 140, 255, 0.16), rgba(168, 121, 255, 0.09) 58%, rgba(23, 35, 59, 0.5));
  color: var(--op-ink);
  cursor: pointer;
  overflow: hidden;
  transition: border-color 0.25s, transform 0.25s var(--op-ease), box-shadow 0.3s;
  box-shadow: 0 0 0 0 transparent;
  max-width: 100%;
}

.op-hero__cta:hover {
  border-color: rgba(67, 230, 210, 0.5);
  transform: translateY(-2px);
  box-shadow: 0 16px 40px -20px rgba(91, 140, 255, 0.7);
}

.op-hero__cta-thumb {
  width: 56px;
  height: 56px;
  border-radius: var(--op-radius-sm);
  object-fit: cover;
  flex-shrink: 0;
  border: 1px solid rgba(241, 245, 255, 0.14);
}

.op-hero__cta-text {
  display: flex;
  flex-direction: column;
  gap: 3px;
  min-width: 0;
  text-align: left;
}

.op-hero__cta-label {
  font-family: var(--op-font-mono);
  font-size: 9.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--op-cyan);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.op-hero__cta-name {
  font-family: var(--op-font-display);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: -0.01em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 168px;
}

.op-hero__cta-arrow {
  margin-left: auto;
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: rgba(67, 230, 210, 0.14);
  color: var(--op-cyan);
  flex-shrink: 0;
  transition: transform 0.25s var(--op-ease), background 0.25s;
}
.op-hero__cta:hover .op-hero__cta-arrow {
  transform: translateX(3px);
  background: rgba(67, 230, 210, 0.24);
}

.op-hero__browse {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 14px 18px;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--op-ink-soft);
  border: 1px solid var(--op-line);
  border-radius: var(--op-radius);
  background: rgba(23, 35, 59, 0.4);
  transition: color 0.2s, border-color 0.2s, background 0.2s;
}
.op-hero__browse:hover {
  color: var(--op-ink);
  border-color: var(--op-line-strong);
  background: rgba(29, 43, 71, 0.7);
}
.op-hero__browse svg { width: 15px; height: 15px; }

/* Stat rail under hero copy */
.op-hero__stats {
  display: flex;
  flex-wrap: wrap;
  gap: var(--op-s5) var(--op-s6);
  margin-top: var(--op-s2);
  padding-top: var(--op-s5);
  border-top: 1px solid var(--op-line);
  width: 100%;
}

.op-hero__stat {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.op-hero__stat b {
  font-family: var(--op-font-display);
  font-size: 21px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--op-ink);
}

.op-hero__stat span {
  font-family: var(--op-font-mono);
  font-size: 9.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--op-faint);
}

/* --- Hero cosmic landscape (asymmetric: bleeds right, sits high) --- */
.op-hero__scene {
  position: relative;
  height: clamp(400px, 42vw, 560px);
  margin-right: calc((100vw - var(--op-shell)) / -2);
  min-width: 0;
}

.op-hero__scene svg {
  width: 100%;
  height: 100%;
  overflow: visible;
}

.op-hero__scene-frame {
  position: absolute;
  inset: 0;
  border-radius: 50% 0 0 50%;
  overflow: hidden;
  background:
    radial-gradient(circle at 62% 44%, rgba(112, 64, 216, 0.34), transparent 58%),
    radial-gradient(circle at 40% 70%, rgba(23, 169, 153, 0.2), transparent 62%);
}

/* Floating telemetry chips over the scene */
.op-hero__chip {
  position: absolute;
  z-index: 3;
  padding: 9px 13px;
  border-radius: var(--op-radius-sm);
  border: 1px solid var(--op-line-strong);
  background: rgba(16, 24, 42, 0.82);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  font-family: var(--op-font-mono);
  font-size: 10px;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--op-ink-soft);
  display: flex;
  align-items: center;
  gap: 8px;
  box-shadow: var(--op-shadow-card);
  animation: op-float 7s var(--op-ease) infinite;
}

.op-hero__chip i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--op-cyan);
  box-shadow: 0 0 8px var(--op-cyan);
  flex-shrink: 0;
}

.op-hero__chip--a { top: 12%; left: -4%; animation-delay: -1.4s; }
.op-hero__chip--b { top: 58%; right: 4%; animation-delay: -3.8s; }
.op-hero__chip--c { bottom: 9%; left: 12%; animation-delay: -5.6s; }
.op-hero__chip--b i { background: var(--op-purple); box-shadow: 0 0 8px var(--op-purple); }
.op-hero__chip--c i { background: var(--op-amber); box-shadow: 0 0 8px var(--op-amber); }

@keyframes op-float {
  0%, 100% { transform: translate3d(0, 0, 0); }
  50% { transform: translate3d(0, -9px, 0); }
}

/* ------------------------------------------------------------
   3. SECTION SCAFFOLD
   ------------------------------------------------------------ */
.op-section {
  position: relative;
  padding: clamp(40px, 5.4vw, 72px) 0;
}

.op-section--tight { padding: clamp(28px, 3.6vw, 48px) 0; }

.op-section__head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: var(--op-s4);
  margin-bottom: var(--op-s5);
}

.op-section__head-copy {
  display: flex;
  flex-direction: column;
  gap: 9px;
  min-width: 0;
}

.op-section__title {
  font-size: clamp(1.45rem, 2.6vw, 2.05rem);
  letter-spacing: -0.03em;
}

.op-section__desc {
  font-size: 13.5px;
  color: var(--op-muted);
  max-width: 58ch;
}

.op-section__more {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  flex-shrink: 0;
  padding: 8px 14px;
  font-family: var(--op-font-mono);
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--op-muted);
  border: 1px solid var(--op-line);
  border-radius: var(--op-pill);
  transition: color 0.2s, border-color 0.2s, background 0.2s;
}

.op-section__more:hover {
  color: var(--op-cyan);
  border-color: rgba(67, 230, 210, 0.36);
  background: rgba(67, 230, 210, 0.06);
}

.op-section__more svg { width: 12px; height: 12px; }

/* ------------------------------------------------------------
   4. EXPLORE GALAXIES — orbital planet ring
   ------------------------------------------------------------ */
.op-galaxies {
  position: relative;
  padding: clamp(52px, 6vw, 84px) 0 clamp(60px, 7vw, 96px);
}

.op-galaxies__head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: var(--op-s5);
  margin-bottom: clamp(40px, 5vw, 64px);
}

.op-galaxies__title {
  font-size: clamp(1.6rem, 3vw, 2.3rem);
  max-width: 16ch;
}

.op-galaxies__desc {
  font-size: 13.5px;
  color: var(--op-muted);
  max-width: 34ch;
  text-align: right;
}

/* Orbit track behind the planets */
.op-galaxies__track {
  position: relative;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: clamp(12px, 2vw, 28px);
  align-items: start;
}

.op-galaxies__track::before {
  content: '';
  position: absolute;
  left: 3%;
  right: 3%;
  top: 88px;
  height: 1px;
  background: linear-gradient(90deg,
    transparent,
    rgba(91, 140, 255, 0.28) 12%,
    rgba(168, 121, 255, 0.28) 52%,
    rgba(67, 230, 210, 0.28) 88%,
    transparent);
  pointer-events: none;
}

.op-galaxies__track::after {
  content: '';
  position: absolute;
  left: 3%;
  right: 3%;
  top: 84px;
  height: 9px;
  background: linear-gradient(90deg, transparent, rgba(168, 121, 255, 0.13), transparent);
  filter: blur(8px);
  pointer-events: none;
}

/* ------------------------------------------------------------
   5. FEATURED PLANET — full-bleed cinematic band
   ------------------------------------------------------------ */
.op-planet {
  position: relative;
  padding: clamp(22px, 3vw, 40px) 0;
}

.op-planet__inner {
  position: relative;
  overflow: clip;
  border-radius: clamp(20px, 3vw, 34px);
  border: 1px solid var(--op-line);
  background: var(--op-deep);
  box-shadow: 0 40px 100px -50px rgba(0, 0, 0, 0.95);
}

/* ------------------------------------------------------------
   6. TRENDING — compact horizontal rail
   ------------------------------------------------------------ */
.op-trending {
  position: relative;
  padding: clamp(40px, 5vw, 66px) 0;
}

.op-trending__rail {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(268px, 1fr);
  gap: var(--op-s3);
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-padding-inline: 2px;
  padding: 4px 2px 10px;
  scrollbar-width: thin;
  scrollbar-color: rgba(137, 152, 181, 0.22) transparent;
  overscroll-behavior-x: contain;
}

.op-trending__rail::-webkit-scrollbar { height: 4px; }
.op-trending__rail::-webkit-scrollbar-track {
  background: rgba(137, 152, 181, 0.07);
  border-radius: 3px;
  margin-inline: 2px;
}
.op-trending__rail::-webkit-scrollbar-thumb {
  background: rgba(137, 152, 181, 0.22);
  border-radius: 3px;
}
.op-trending__rail::-webkit-scrollbar-thumb:hover { background: rgba(137, 152, 181, 0.36); }
.op-trending__rail > * { scroll-snap-align: start; }

.op-railnav {
  display: flex;
  gap: 6px;
  flex-shrink: 0;
}

.op-railnav__btn {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border: 1px solid var(--op-line);
  border-radius: 50%;
  background: rgba(23, 35, 59, 0.6);
  color: var(--op-muted);
  cursor: pointer;
  transition: color 0.2s, border-color 0.2s, background 0.2s;
}
.op-railnav__btn:hover {
  color: var(--op-ink);
  border-color: var(--op-line-strong);
  background: rgba(29, 43, 71, 0.9);
}
.op-railnav__btn:disabled { opacity: 0.35; cursor: default; }
.op-railnav__btn svg { width: 14px; height: 14px; }

/* ------------------------------------------------------------
   7. RECENTLY DISCOVERED — asymmetric mosaic
   ------------------------------------------------------------ */
.op-discovered {
  position: relative;
  padding: clamp(44px, 5.4vw, 76px) 0;
}

/* ------------------------------------------------------------
   8. POPULAR WORLDS — horizontal band of large world tiles
   ------------------------------------------------------------ */
.op-worlds {
  position: relative;
  padding: clamp(44px, 5.4vw, 76px) 0;
}

.op-worlds__grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: var(--op-s3);
}

/* ------------------------------------------------------------
   9. NEW ARRIVALS — responsive grid
   ------------------------------------------------------------ */
.op-arrivals {
  position: relative;
  padding: clamp(44px, 5.4vw, 76px) 0;
}

.op-arrivals__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 176px), 1fr));
  gap: clamp(12px, 1.6vw, 20px);
}

/* ------------------------------------------------------------
   10. SEO INTRO + FOOTER
   ------------------------------------------------------------ */
.op-intro {
  position: relative;
  padding: clamp(52px, 6vw, 88px) 0 clamp(32px, 4vw, 48px);
  border-top: 1px solid var(--op-line);
}

.op-intro__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: start;
}

.op-intro__body { display: flex; flex-direction: column; gap: var(--op-s4); }

.op-intro__title {
  font-size: clamp(1.5rem, 2.7vw, 2.1rem);
  max-width: 22ch;
}

.op-intro__text {
  font-size: 14.5px;
  line-height: 1.78;
  color: var(--op-muted);
}

.op-intro__text strong { color: var(--op-ink-soft); font-weight: 600; }

.op-intro__facts {
  display: grid;
  gap: 1px;
  background: var(--op-line);
  border: 1px solid var(--op-line);
  border-radius: var(--op-radius);
  overflow: hidden;
}

.op-intro__fact {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: var(--op-s4);
  padding: 15px 18px;
  background: var(--op-deep);
}

.op-intro__fact dt {
  font-family: var(--op-font-mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--op-faint);
}

.op-intro__fact dd {
  margin: 0;
  font-family: var(--op-font-display);
  font-size: 14px;
  font-weight: 600;
  color: var(--op-ink-soft);
  text-align: right;
}

.op-footer {
  position: relative;
  z-index: 1;
  border-top: 1px solid var(--op-line);
  padding: clamp(48px, 5vw, 68px) 0 var(--op-s5);
  background: linear-gradient(180deg, transparent, rgba(8, 13, 27, 0.72));
}

.op-footer__top {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 0.75fr));
  gap: clamp(24px, 4vw, 56px);
  padding-bottom: clamp(32px, 4vw, 48px);
}

.op-footer__brand {
  display: flex;
  flex-direction: column;
  gap: var(--op-s4);
  max-width: 34ch;
}

.op-footer__blurb {
  font-size: 13px;
  line-height: 1.7;
  color: var(--op-faint);
}

.op-footer__col {
  display: flex;
  flex-direction: column;
  gap: 11px;
  min-width: 0;
}

.op-footer__label {
  font-family: var(--op-font-mono);
  font-size: 9.5px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--op-faint);
  margin-bottom: 3px;
}

.op-footer__col a {
  font-size: 13px;
  color: var(--op-muted);
  transition: color 0.2s;
  width: fit-content;
}
.op-footer__col a:hover { color: var(--op-cyan); }

.op-footer__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: var(--op-s3);
  padding-top: var(--op-s5);
  border-top: 1px solid var(--op-line);
  font-size: 11.5px;
  color: var(--op-faint);
}

.op-footer__bottom p { margin: 0; }

/* ============================================================
   RESPONSIVE — tablet
   ============================================================ */
@media (max-width: 1080px) {
  .op-nav { display: none; }
  .op-iconbtn.is-mobile-only { display: inline-grid; }

  .op-hero__grid {
    grid-template-columns: minmax(0, 1fr);
    gap: var(--op-s6);
  }

  .op-hero__copy { max-width: 620px; }

  .op-hero__scene {
    height: clamp(320px, 34vw, 380px);
    margin-right: 0;
    order: -1;
  }

  .op-hero__scene-frame { border-radius: clamp(20px, 3vw, 30px); }

  .op-galaxies__track { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--op-s4); }
  .op-galaxies__track::before { top: 82px; }
  .op-galaxies__track::after { top: 78px; }

  .op-intro__grid { grid-template-columns: minmax(0, 1fr); }
  .op-footer__top { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .op-footer__brand { grid-column: 1 / -1; }
}

/* ============================================================
   RESPONSIVE — mobile 390px, deliberately re-composed
   ============================================================ */
@media (max-width: 720px) {
  :root {
    --op-shell: calc(100% - 32px);
    --op-header-h: 60px;
  }

  body { font-size: 14px; }

  /* Compact header: brand + 2 actions only */
  .op-header__inner { gap: var(--op-s3); }
  .op-searchbtn { display: none; }
  .op-brand__mark, .op-brand__mark svg { width: 28px; height: 28px; }
  .op-brand__name { font-size: 13px; letter-spacing: 0.13em; }
  .op-brand__tag { display: none; }
  .op-iconbtn { width: 36px; height: 36px; }

  /* Hero on phones.
     Height is a fraction of the viewport rather than of its content, so the
     first ad's top edge lands in the 0.40-0.45 screen band at every phone
     height (320x568 through 430x931). Copy spacing scales with vh; the cosmic
     banner bleeds edge to edge. */
  .op-hero {
    padding: 0;
    height: calc(41vh - var(--op-header-h));
    display: block;
    overflow: hidden;
  }

  .op-hero::before { background-size: 46px 46px; }

  /* One column, scene first, copy beneath. `align-content: center` keeps the
     pair vertically centred inside the fixed-height hero. */
  /* Keep the shell's own width (100% - 32px) so copy keeps a 16px gutter;
     only the scene bleeds past it. */
  .op-hero__grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    align-content: center;
    gap: 0;
    height: 100%;
    min-width: 0;
  }

  .op-hero__scene {
    height: clamp(34px, 5.6vh, 110px);
    order: -1;
    /* Full-bleed banner: pull out by the shell gutter on both sides. */
    width: auto;
    margin-inline: calc(var(--op-s4) * -1);
    margin-bottom: 0.9vh;
  }

  .op-hero__scene-frame {
    border-radius: 0;
    background:
      radial-gradient(circle at 62% 44%, rgba(112, 64, 216, 0.38), transparent 60%),
      radial-gradient(circle at 36% 72%, rgba(23, 169, 153, 0.22), transparent 64%);
  }

  .op-hero__chip {
    font-size: 9px;
    padding: 7px 10px;
    letter-spacing: 0.07em;
  }
  .op-hero__chip--a { left: 8px; top: 8%; }
  .op-hero__cta { padding: 13px 14px 13px 12px; gap: 10px; }
  .op-hero__cta-thumb { width: 46px; height: 46px; }
  .op-hero__cta-label { font-size: 8.5px; letter-spacing: 0.11em; }
  .op-hero__chip--b { right: 10px; top: 64%; }
  .op-hero__chip--c { display: none; }

  .op-hero__copy { gap: 0.8vh; flex-shrink: 0; }
  .op-hero__title {
    font-size: clamp(1.45rem, 3.5vh, 2.6rem);
    letter-spacing: -0.04em;
    line-height: 0.98;
  }
  .op-hero__lede {
    font-size: clamp(11.5px, 1.55vh, 15px);
    line-height: 1.45;
    max-width: 100%;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }

  /* One action row: keeping the CTA and the browse link side by side is what
     lifts the first ad into the upper half of the first screen. */
  .op-hero__actions {
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: stretch;
    gap: 8px;
  }
  .op-hero__cta { flex: 1 1 auto; min-width: 0; width: auto; padding: 9px 10px; gap: 8px; }
  .op-hero__cta-thumb { width: 34px; height: 34px; }
  .op-hero__cta-arrow { display: none; }
  .op-hero__cta-name { max-width: none; font-size: 12.5px; }
  /* The galaxy suffix is dropped on phones: the CTA is narrow here, and the
     full "Featured signal · <Galaxy>" string would truncate mid-word. */
  .op-hero__cta-label { font-size: 7.5px; letter-spacing: 0.07em; }
  .op-hero__cta-text { gap: 2px; }
  .op-hero__browse {
    flex: 0 0 auto;
    width: auto;
    justify-content: center;
    padding: 9px 12px;
    font-size: 11.5px;
    gap: 5px;
  }
  .op-hero__browse svg { width: 12px; height: 12px; }

  /* The stat rail duplicates the "at a glance" fact table further down, and it
     was the last element between the CTA and the first ad — removing it on
     phones keeps the ad in the upper-middle of the first screen. */
  .op-hero__stats { display: none; }

  /* Section heads collapse to one column */
  .op-section, .op-galaxies, .op-trending, .op-discovered,
  .op-worlds, .op-arrivals { padding-block: 32px; }

  .op-section__head {
    flex-direction: column;
    align-items: flex-start;
    gap: var(--op-s3);
    margin-bottom: var(--op-s4);
  }
  .op-section__title { font-size: 1.32rem; }
  .op-section__desc { font-size: 12.5px; }

  .op-galaxies__head {
    flex-direction: column;
    align-items: flex-start;
    gap: var(--op-s3);
    margin-bottom: var(--op-s5);
  }
  .op-galaxies__title { font-size: 1.4rem; max-width: none; }
  .op-galaxies__desc { text-align: left; max-width: none; font-size: 12.5px; }

  .op-railnav { display: none; }

  /* Trending rail becomes a comfortable snap list */
  .op-trending__rail {
    grid-auto-columns: minmax(74vw, 1fr);
    gap: var(--op-s3);
    margin-inline: calc(var(--op-s4) * -1);
    padding-inline: var(--op-s4);
  }

  .op-intro { padding: 36px 0 24px; }
  .op-intro__title { font-size: 1.32rem; max-width: none; }
  .op-intro__text { font-size: 13.5px; line-height: 1.72; }

  .op-footer { padding-top: 36px; }
  .op-footer__top { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: var(--op-s5) var(--op-s4); }
  .op-footer__brand { grid-column: 1 / -1; gap: var(--op-s3); }
  .op-footer__bottom { flex-direction: column; align-items: flex-start; gap: 8px; }
}
