/* Homepage layout variants (docs/home-layouts.md). Shared section styles live in their own
   component files; only layout-specific rules are scoped here under .home--layout-N. */

/* Poster skin tones (program one-sheets) */
.tone-2 { --pf: color-mix(in srgb, var(--nude) 88%, var(--ink)); }
.tone-3 { --pf: color-mix(in srgb, var(--nude) 72%, var(--paper)); }
.ft-newsletter h2 { margin-bottom: 14px; }

/* Hero variants without the mirror frame (split / center / compact / lab) */
.hero__body { position: relative; padding: clamp(20px, 4vw, 56px) 0; display: grid; gap: clamp(24px, 4vw, 56px); }
.hero__body > .rec { color: var(--steel); }
.hero--split .hero__aside .cta-card, .hero--lab .hero__aside .labx { align-self: center; }
.cta-card { background: var(--s1); }
.cta-card h2 { font-size: clamp(1.5rem, 1.2rem + 1.2vw, 2.1rem); }
.cta-card .btns { margin-top: 18px; }

.hero--center .hero__body { text-align: center; justify-items: center; background: radial-gradient(70% 90% at 50% 0, color-mix(in srgb, var(--bulb) 14%, transparent), transparent 70%); border-bottom: 1px solid var(--line); padding-block: clamp(48px, 8vw, 112px); }
.hero--center h1 { margin-inline: auto; max-width: 16ch; }
.hero--center .calltime, .hero--center .btns { justify-content: center; }
.hero--center .lab.eb { justify-content: center; }

.hero--compact .hero__body { border-bottom: 1px solid var(--line); padding-block: clamp(28px, 4vw, 48px); }
.hero--compact .display { font-size: clamp(2rem, 1.4rem + 3vw, 3.75rem); }
.hero--compact h1 { max-width: 22ch; }

@media (min-width: 992px) {
  .hero--split .hero__body,
  .hero--lab .hero__body { grid-template-columns: 1.1fr .9fr; align-items: center; }
  .hero--split .hero__body > .rec,
  .hero--lab .hero__body > .rec { grid-column: 1 / -1; }
  .hero--compact .hero__copy { display: grid; grid-template-columns: 1.3fr .7fr; gap: 12px 48px; align-items: end; }
  .hero--compact .hero__copy > .lab.eb,
  .hero--compact .hero__copy > h1 { grid-column: 1; }
  .hero--compact .hero__copy > .calltime,
  .hero--compact .hero__copy > .btns,
  .hero--compact .hero__copy > .note { grid-column: 2; grid-row: auto; }
}
.hero--lab .lab-hero .labx { grid-template-columns: 1fr; gap: 20px; }
.hero--lab .lab-hero .stage { max-height: 440px; max-width: 360px !important; }
.hero--lab .lab-hero h2 { font-size: clamp(1.4rem, 1.1rem + 1.2vw, 2rem); }

/* Layout 2/3: program one-sheets as rows */
@media (min-width: 768px) {
  .programs--list { grid-template-columns: 1fr; }
  .programs--list .poster { flex-direction: row; }
  .programs--list .p-art { aspect-ratio: auto; width: min(34%, 300px); flex: none; min-height: 260px; }
  .programs--list .p-art svg { width: 70%; }
}
