/* ==========================================================================================================
   Home page, design v2 (the Golden Planet theme; the reference for static/css/pages/<key>.css). Scoped to
   .page-home.gp-v2; tokens only (--gp-* roles / tone variables), never hex or the legacy names. Everything else
   comes from the gp-* layer (gp-sections: photo hero, chip band, section head, banner, split + tiles; gp-cards:
   the topic cards). Photo crops follow the focus points in design/images/v2/manifest.json.
   ========================================================================================================== */

/* ---- photo hero (home-hero.webp, 2048 x 880 = 2.33:1; the man x 63-84 %, head x 70-76 % / y 24-43 %, the laptop
   x 52-69 %, the left half a calm wall). Phones/tablets: the 3:2 card shows the right 64 % of the photo (man + laptop);
   from 992 the overlay with the scrim ending left of the laptop. ---- */
.page-home.gp-v2 .gp-hero--home .hero__media img { object-position: 100% 40%; }
@media (min-width: 992px) {
  .page-home.gp-v2 .gp-hero--home .hero__media img { object-position: 72% 40%; }
}
/* 992-1199: the band is taller than the photo's 2.33:1, so the sides are cropped more; the man moves right and the
   scrim ends earlier, so his face and the laptop stay clear of the white wash */
@media (min-width: 992px) and (max-width: 1199px) {
  .page-home.gp-v2 .gp-hero--home { --gp-scrim-hold: 52%; --gp-scrim-end: 62%; }
  .page-home.gp-v2 .gp-hero--home .hero__media img { object-position: 62% 40%; }
}

/* ---- "Why" intro + the decorative photo band (home-stockroom: the packing table and laptop at y 48-65 %) ---- */
.page-home.gp-v2 .home-why__banner { margin-top: 8px; }
.page-home.gp-v2 .home-why__banner img { object-position: 55% 58%; }

/* ---- feature blocks: the photos as 4:3 tiles (people span most of the width; a square crop would cut them) ---- */
.page-home.gp-v2 .home-feature .gp-tile--photo { aspect-ratio: 4 / 3; }
.page-home.gp-v2 .home-feature .split__text strong { color: var(--gp-heading); font-weight: 600; }
.page-home.gp-v2 [aria-labelledby="why-pricerunner"] .gp-tile__img { object-position: 47% 35%; }   /* home-compare */
.page-home.gp-v2 [aria-labelledby="why-more"] .gp-tile__img { object-position: 60% 50%; }   /* home-screens-2: both people + the screen */

/* ---- integrations (white outline tray): ticks left, the platform logos right as round wells (the logo files mix
   squares, circles and wide marks: each sits contained in the same circle); the middle column steps down half a
   well, like gpwebsite's bubble cluster ---- */
.page-home.gp-v2 .home-integrations .split__text + .check-list { margin-top: 20px; }
.page-home.gp-v2 .home-logos {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px;
  width: 100%; max-width: 300px; margin: 8px auto 0; padding: 0; list-style: none;
}
.page-home.gp-v2 .home-logos__item {
  display: grid; place-items: center; aspect-ratio: 1; margin: 0; border-radius: 50%;
  background: var(--gp-stone);
}
.page-home.gp-v2 .home-logos__item:nth-child(3n + 2) { transform: translateY(50%); }
.page-home.gp-v2 .home-integrations .home-logos__img {
  width: 58%; height: 58%; max-width: none; object-fit: contain; border-radius: 0;
}
/* room for the stepped column: an empty half-height cell in a last row (the middle items move down by half a well) */
.page-home.gp-v2 .home-logos::after { content: ""; grid-column: 2; aspect-ratio: 2 / 1; }
@media (min-width: 768px) {
  .page-home.gp-v2 .home-logos { gap: 16px; max-width: 420px; margin-top: 0; }
}
@media (min-width: 992px) {
  .page-home.gp-v2 .home-logos { gap: 20px; max-width: 470px; }
}

