/* ─── Homepage layout variants 2–5 (docs/home-layouts.md) ────────────────────
   Hero variants other than "split" (home.css) and the blocks only some
   layouts use. Same tokens, type and components as layout 1 — only the
   composition changes. Front page only.
   ────────────────────────────────────────────────────────────────────────── */

/* ============ Layout 2 · hero "centered" ============ */
.hero--centered {
  .hero-copy--center {
    position: relative;
    text-align: center;
    max-width: 980px;
    margin: 0 auto;

    .lead {
      margin: 0 auto;
    }

    .hero-cta {
      justify-content: center;
    }
  }

  .hero-h1 .line {
    display: inline-block;
  }

  .values {
    justify-content: center;
    margin-top: 80px;
  }
}

.hero-band {
  position: relative;
  margin-top: 60px;

  .photo {
    aspect-ratio: 4 / 3;
    border-radius: 32px;
    box-shadow: var(--shadow-lg);
  }

  .session {
    bottom: -34px;
  }

  @media (min-width: 768px) {
    .photo {
      aspect-ratio: 21 / 9;
    }

    .session {
      right: 40px;
    }

    .chip-week {
      left: 40px;
    }
  }
}

/* ============ Layout 3 · hero "capture" (full-bleed photo + form) ============ */
.hero--capture,
.hero--immersive {
  background: var(--ink);
  color: var(--on-dark);

  .hero-bg {
    position: absolute;
    inset: 0;

    &::after {
      content: "";
      position: absolute;
      inset: 0;
      background: linear-gradient(100deg, color-mix(in srgb, var(--text-color) 88%, transparent) 20%, color-mix(in srgb, var(--text-color) 45%, transparent));
    }
  }

  .wrap {
    position: relative;
    z-index: 1;
  }

  .pill {
    background: color-mix(in srgb, var(--white) 10%, transparent);
    border-color: var(--line-dark);
    color: var(--on-dark);
  }

  .hero-h1 .stroke {
    -webkit-text-stroke-color: var(--on-dark);
  }

  .lead {
    color: var(--on-dark-soft);
  }

  .values {
    border-color: var(--line-dark);

    li {
      border-color: var(--line-dark);
    }

    svg {
      color: var(--signal);
    }
  }
}

.hero--capture {
  .hero-grid {
    gap: 50px;

    @media (min-width: 992px) {
      grid-template-columns: 1.15fr 0.85fr;
    }
  }

  .hero-h1 {
    font-size: clamp(2.8rem, 6.4vw, 5.6rem);
  }

  .form-card {
    background: var(--ink);
    border: 1px solid var(--line-dark);
  }
}

/* ============ Layout 4 · hero "compact" + FAQ/signup block ============ */
.hero--compact {
  padding-bottom: 70px;

  .hero-top {
    position: relative;
    display: grid;
    gap: 30px;
    align-items: end;

    @media (min-width: 992px) {
      grid-template-columns: 1.2fr 0.8fr;
      gap: 60px;
    }
  }

  .hero-h1 {
    margin-bottom: 0;
  }

  .hero-side {
    padding-bottom: 6px;

    .hero-cta {
      margin-top: 24px;
    }

    .values {
      grid-template-columns: 1fr;
      gap: 10px;
      margin-top: 28px;

      li {
        border: 0;
        margin: 0;
        padding: 0;
      }
    }
  }
}

.hero-strip {
  position: relative;
  margin-top: 50px;

  .photo {
    aspect-ratio: 16 / 9;
    border-radius: var(--r);
    box-shadow: var(--shadow-lg);
  }

  .session {
    bottom: 20px;
    right: 20px;
  }

  @media (min-width: 768px) {
    .photo {
      aspect-ratio: 16 / 6;
    }
  }
}

.faq-signup {
  background: var(--paper);
}

.faq-signup-grid {
  display: grid;
  gap: 50px;

  @media (min-width: 992px) {
    grid-template-columns: 1.35fr 0.65fr;
    gap: 60px;
    align-items: start;
  }
}

.faq--stacked {
  background: none;

  .faq-grid {
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .faq-side {
    position: static;
  }
}

.faq-signup-form {
  @media (min-width: 992px) {
    position: sticky;
    top: 110px;
  }
}

/* ============ Layout 5 · hero "immersive" (poster) ============ */
.hero--immersive {
  min-height: 100svh;
  display: grid;
  align-items: center;
  text-align: center;

  .hero-bg::after {
    background: linear-gradient(180deg, color-mix(in srgb, var(--text-color) 55%, transparent), color-mix(in srgb, var(--text-color) 88%, transparent));
  }

  .hero-poster {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .hero-h1 {
    font-size: clamp(3.2rem, 10vw, 9rem);

    .line {
      display: inline-block;
    }
  }

  .lead {
    margin: 0 auto;
  }

  .hero-cta {
    justify-content: center;
  }

  .values {
    justify-content: center;
  }
}
