/* Live landing page (proposal B, adopted 2026-09-25; history in
   docs/landing-page-proposals.md). Loaded AFTER /static/site/site.css: only
   the additions the page needs (phone-framed clip, video lightbox, "A living world" band, review
   quotes) plus the 16 px phone gutter. Same tokens as site.css. */

/* 16 px side gutter on phones, never a horizontal scroll. */
html, body { overflow-x: hidden; }
@media (max-width: 520px) {
  .wrap { padding: 0 16px; }
  .section.light { max-width: calc(100vw - 16px); }
}

/* ---------- phone-framed muted loop ---------- */
.phone-clip {
  position: relative;
  width: min(280px, 70vw);
  aspect-ratio: 480 / 1040;
  margin: 0 auto;
  border-radius: 30px;
  border: 7px solid #34344e;
  background: #000;
  overflow: hidden;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.45);
}
.phone-clip video,
.phone-clip img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
/* Phone frame + its caption travel as ONE grid item. */
.clip-figure { margin: 0; justify-self: center; }

/* The caption sits UNDER the phone frame, never over the footage
   (operator 2026-09-25: an overlay read as part of the game screen). */
.clip-caption {
  margin: 10px auto 0;
  text-align: center;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.2px;
  color: var(--text-faint, #a9a9c2);
}

/* ---------- "watch the video" trigger + lightbox ---------- */
.watch-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 16px;
  padding: 8px 16px 8px 8px;
  border-radius: 999px;
  border: 1px solid rgba(227, 176, 75, 0.45);
  background: rgba(255, 255, 255, 0.06);
  color: var(--text-light);
  font: inherit;
  font-size: 14.5px;
  font-weight: 700;
  cursor: pointer;
}
.watch-btn:hover { background: rgba(227, 176, 75, 0.14); }
.watch-btn .play-disc {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--gold);
  display: grid;
  place-items: center;
  flex: none;
}
.watch-btn .play-disc::before {
  content: "";
  margin-left: 3px;
  border-left: 11px solid var(--navy);
  border-top: 7px solid transparent;
  border-bottom: 7px solid transparent;
}
.watch-btn small { font-weight: 500; color: var(--text-faint); }
.watch-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 14px;
  background: none;
  border: 0;
  padding: 0;
  font: inherit;
  font-size: 14.5px;
  font-weight: 700;
  color: var(--gold);
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.video-lightbox {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: none;
  place-items: center;
  padding: 16px;
  background: rgba(8, 8, 18, 0.88);
}
.video-lightbox.open { display: grid; }
.video-lightbox .lb-frame {
  position: relative;
  width: min(1100px, 100%);
  aspect-ratio: 16 / 9;
  max-height: calc(100vh - 32px);
  background: #000;
  border-radius: 12px;
  overflow: hidden;
}
.video-lightbox video { width: 100%; height: 100%; display: block; }
.video-lightbox .lb-yt, .video-lightbox .lb-yt iframe { width: 100%; height: 100%; display: block; border: 0; }
.video-lightbox .lb-close {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 2;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.5);
  background: rgba(26, 26, 46, 0.8);
  color: #fff;
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
}

/* ---------- proposal A: one clip beside the three steps ---------- */
.how-clip {
  display: grid;
  grid-template-columns: auto minmax(0, 460px);
  justify-content: center;
  gap: 40px;
  align-items: center;
}
.how-clip .phone-clip { width: min(250px, 64vw); }
.step-list { display: grid; gap: 18px; margin: 0; padding: 0; list-style: none; }
.step-list li h3 { margin: 0 0 4px; font-size: 17.5px; }
.step-list li h3 .mini-icon { vertical-align: -4px; margin-right: 7px; }
.step-list li p { margin: 0; color: var(--text-muted); font-size: 14.5px; }
@media (max-width: 760px) {
  .how-clip { grid-template-columns: 1fr; gap: 26px; }
}

/* ---------- proposal B: catch-moment hero ---------- */
.hero.hero-catch { padding-bottom: 40px; }
.hero.hero-catch .wrap {
  grid-template-columns: minmax(0, 480px) auto;
  justify-content: center;
  gap: 48px;
}
.hero .lede strong { color: var(--gold-bright); font-weight: 700; }
@media (max-width: 880px) {
  .hero.hero-catch { padding-top: 76px; }
  .hero.hero-catch .wrap { grid-template-columns: 1fr; gap: 26px; }
  /* phone: the words + badges stay first (they are the LCP and the ask);
     the clip follows, sized to leave the badges above the fold */
  .hero-catch .phone-clip { width: min(240px, 62vw); }
}

/* ---------- "A living world" band (globe + stats + reviews) ---------- */
.living-world { padding: 56px 0 44px; }
.living-world h2 { text-align: center; font-size: 30px; margin: 0 0 8px; color: var(--text-light); }
.living-world .center-sub { text-align: center; margin: 0 auto 18px; max-width: 620px; color: var(--text-faint); }
.living-world .globe-shell { min-height: 0; max-width: 560px; margin: 0 auto; }
.living-world #globe-mount { width: min(520px, 92vw); }
.reviews {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 14px;
  max-width: 760px;
  margin: 26px auto 0;
}
.review {
  margin: 0;
  padding: 16px 18px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(227, 176, 75, 0.25);
}
.review .stars { color: var(--gold-bright); letter-spacing: 2px; font-size: 14px; }
.review blockquote { margin: 6px 0 6px; font-size: 16px; font-weight: 600; color: var(--text-light); }
.review figcaption { font-size: 12.5px; color: var(--text-faint); }

/* phone order for proposal B: words, badges, video link, the clip, then
   the paid note, so the moving catch sits right under the ask */
@media (max-width: 880px) {
  .hero-catch .hero-copy { display: contents; }
  .hero-catch .phone-clip { order: 1; margin-top: 4px; }
  .hero-catch .paid-note { order: 2; margin-top: 18px; }
  .hero.hero-catch .wrap { gap: 0; }
  .hero-catch .watch-link { margin: 14px 0 22px; justify-self: start; }
}

/* phone: the zoom buttons sat on top of the globe caption (same overlap is
   on the live index.html); park them at the globe's top-right instead */
@media (max-width: 880px) {
  .globe-zoom { top: 8px; bottom: auto; right: 4px; }
}
