/* ==========================================================================
   Home page only. Tokens only, no new colours. Load after components.css.
   ========================================================================== */

/* ---- Hero ----------------------------------------------------------------
   Smaller portrait so the h1, sub-line and CTA fit the first screen (P1-5,
   P3-8). The Porto selfie is scaled in on the face to lose the arm and most
   of the blown sky, toned down, and gets a top vignette through the shared
   --hero-scrim hook (the bottom ramp matches the shared default). */
.home-hero { padding-top: calc(var(--header-h) + clamp(16px, 4vh, 48px)); }
.home-hero .hero__media {
  width: clamp(220px, 19vw, 320px);
  --hero-scrim:
    linear-gradient(to top, rgba(20, 36, 59, 0.92) 0%, rgba(20, 36, 59, 0.55) 22%, rgba(20, 36, 59, 0) 45%),
    linear-gradient(to bottom, rgba(20, 36, 59, 0.6) 0%, rgba(20, 36, 59, 0) 34%);
}
.home-hero .hero__media img {
  filter: grayscale(1) contrast(1.12) brightness(0.86);
  transform: scale(1.3);
  transform-origin: 50% 40%;
}
.home-hero__micro {
  margin-top: var(--space-4);
  font-size: var(--fs-small);
  color: var(--muted);
}
@media (max-width: 767px) {
  .home-hero { padding-top: calc(var(--header-h) + var(--space-2)); }
  .home-hero .hero__media { width: 58vw; }
  .home-hero__more { display: none; } /* one-sentence sub-line on phones */
}

/* Trust strip at the foot of the hero (P2-5) */
.home-trust {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: var(--block-gap);
  border-top: var(--hairline);
  text-align: left;
}
.home-trust > div { padding: var(--space-4) var(--space-4) 0 0; }
.home-trust > div + div { padding-left: var(--space-4); border-left: var(--hairline); }
.home-trust dt {
  font-size: var(--fs-micro);
  font-weight: 500;
  letter-spacing: var(--ls-caps);
  text-transform: uppercase;
  color: var(--muted);
}
.home-trust dd {
  margin: var(--space-2) 0 0;
  font-size: var(--fs-body);
  font-weight: 500;
  line-height: 1.3;
  letter-spacing: -0.01em;
}
@media (max-width: 767px) {
  .home-trust { grid-template-columns: 1fr 1fr; column-gap: var(--space-4); border-top: 0; }
  .home-trust > div,
  .home-trust > div + div { padding: var(--space-3) 0 var(--space-4); border-left: 0; border-top: var(--hairline); }
}

/* ---- Shared bits --------------------------------------------------------- */
.home-split { max-width: 54rem; }
.home-intro { max-width: 30em; }

/* CTA + secondary circle link on one line */
.home-actions {
  align-items: center;
  gap: var(--space-5) var(--space-7);
}

/* ---- ( 03 ) checklist: indexed cascade plus a sideword (P2-10) ---------- */
.home-symptoms__list { position: relative; margin-top: var(--space-8); }
.home-symptoms .checklist { --step: clamp(0px, 6vw, 96px); counter-reset: symptom; }
.home-symptoms .sideword { font-size: clamp(64px, 7vw, 120px); }
.home-symptoms .checklist__item { counter-increment: symptom; max-width: 24em; font-weight: 500; }
.home-symptoms .checklist__item::before {
  content: "( 0" counter(symptom) " )";
  width: auto;
  height: auto;
  min-width: 3.6rem;
  border-radius: 0;
  background: none;
  transform: none;
  font-size: var(--fs-label);
  letter-spacing: 0.04em;
  font-variant-numeric: tabular-nums;
}

/* ---- Statement slide: kicker above the stage; crop and tone the photo (P1-4).
   The word's legibility scrim is shared. */
.home-statement .statement__stage img { filter: grayscale(1) brightness(0.82) contrast(1.1); }
.home-statement__kicker {
  max-width: 24rem;
  margin: 0 auto var(--space-7);
  text-align: center;
}

/* ---- ( 04 ) facts row ---------------------------------------------------- */
.home-facts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border-top: var(--hairline);
}
.home-facts li {
  padding: var(--space-4) var(--space-4) var(--space-4) 0;
  border-bottom: var(--hairline);
  font-size: var(--fs-small);
  font-weight: 500;
  line-height: 1.35;
}
@media (min-width: 768px) {
  .home-facts { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .home-facts li + li { padding-left: var(--space-4); border-left: var(--hairline); }
}
@media (max-width: 767px) {
  .home-facts li:nth-child(even) { padding-left: var(--space-4); border-left: var(--hairline); }
}

/* ---- ( 05 ) method cards: the "You get" line ----------------------------- */
.card__get {
  margin-top: var(--space-5);
  padding-top: var(--space-4);
  border-top: var(--hairline-dashed);
  font-size: var(--fs-small);
  line-height: 1.5;
}
.card__get strong { display: block; margin-bottom: var(--space-1); font-weight: 700; }

/* ---- ( 07 ) asymmetric photo strip -------------------------------------- */
@media (min-width: 768px) {
  .home-strip {
    grid-template-columns: minmax(0, 1.55fr) minmax(0, 0.9fr) minmax(0, 0.9fr);
    align-items: start;
  }
  .home-strip .media:nth-child(1) { --ratio: 4 / 3; }
  .home-strip .media:nth-child(2),
  .home-strip .media:nth-child(3) { --ratio: 4 / 5; }
  .home-strip .media:nth-child(3) { margin-top: var(--space-9); }
}
@media (max-width: 767px) {
  .home-strip > .media:nth-child(1) { grid-column: 1 / -1; --ratio: 3 / 2; }
  .home-strip > .media:nth-child(2),
  .home-strip > .media:nth-child(3) { grid-column: auto; --ratio: 4 / 5; }
}

/* ---- ( 10 ) text-only reflection cards ----------------------------------- */
.home-posts .post-card { padding-bottom: var(--space-2); }
