/**
 * Homepage polish overrides — v0.12.9
 *
 * Tames the homepage so it doesn't read as "zoomed in" on a normal
 * desktop monitor (1280–1680 px). This file ONLY overrides values that
 * existed in brand.css; it never invents new components.
 *
 * Scope: applies to /index.html only. Loaded after brand.css.
 *
 * What changes
 * ────────────
 * 1. Display headlines max-out earlier (104 → 76, 92 → 70, 80 → 64).
 * 2. Section vertical padding capped lower (was 130–160 → now 96–112).
 * 3. Hero device area no longer demands 540 px; balances the headline
 *    column when the page sits below a 900 px viewport height.
 * 4. Tightened hero `letter-spacing` so big text doesn't crash into itself.
 * 5. Hired-strip is now visually aligned with the page rhythm.
 */

/* ── HERO ─────────────────────────────────────────────────────────────── */
.hero-v22 {
  /* was: clamp(56px, 9vw, 130px) 0 clamp(80px, 10vw, 150px) */
  padding: clamp(48px, 6vw, 88px) 0 clamp(56px, 7vw, 104px);
}

.hero-v22 .hero-grid {
  /* keeps copy + device tighter at desktop, less air between them */
  gap: clamp(24px, 3.2vw, 48px);
  max-width: 1240px;
}

.hero-v22 h1 {
  /* was: clamp(46px, 7.1vw, 104px); -0.055em — too tight + too tall */
  font-size: clamp(40px, 5.4vw, 76px);
  letter-spacing: -0.035em;
  line-height: 0.96;
  margin-bottom: 20px;
  max-width: 14ch;
}

.hero-v22 h1 em {
  /* tame the rotated chip so it sits inline at desktop sizes */
  transform: rotate(-1deg) skew(-1.5deg);
  box-shadow: 4px 4px 0 rgba(10, 12, 16, 0.18);
  padding: 0.02em 0.14em 0.06em;
}

.hero-v22 .hero-lede,
.hero-v22 .hero-copy .lede {
  font-size: clamp(17px, 1.2vw, 19px);
  line-height: 1.5;
  margin-bottom: 28px;
  max-width: 46ch;
}

.hero-device-v22 {
  /* was 540px — too tall, forced extra vertical space at desktop */
  min-height: 460px;
}

@media (min-width: 1024px) {
  .hero-v22 .hero-grid {
    grid-template-columns: 1.1fr 0.9fr;
  }
}

/* ── HIRED-AT MARQUEE ─────────────────────────────────────────────────── */
.hired-strip {
  padding: 14px 0;
}

/* ── CINEMA / "FROM UPLOAD TO APPLIED" ────────────────────────────────── */
.cinema {
  /* was: clamp(88px, 10vw, 160px) — far too generous */
  padding: clamp(64px, 7vw, 104px) 0;
}

.cinema-h {
  /* was: clamp(34px, 5vw, 64px) — already reasonable, just trim cap */
  font-size: clamp(32px, 4.2vw, 56px);
  line-height: 1.04;
}

.cinema-head {
  margin-bottom: clamp(24px, 2.6vw, 36px);
}

/* ── RIDES (interview support) ────────────────────────────────────────── */
.rides {
  /* was: clamp(80px, 10vw, 160px) */
  padding: clamp(64px, 7.5vw, 112px) 0;
}

.rides-h {
  /* was: clamp(44px, 6vw, 92px) */
  font-size: clamp(38px, 4.8vw, 68px);
  letter-spacing: -0.035em;
  line-height: 0.98;
  margin-bottom: 18px;
}

.rides-lede {
  font-size: clamp(16px, 1.15vw, 18px);
  margin-bottom: 22px;
}

.rides-points li {
  font-size: 15px;
  padding: 10px 0;
}

/* ── MANIFESTO BAND ───────────────────────────────────────────────────── */
.manifesto {
  /* default var(--s-24) was ~96px each side; take the breath out */
  padding-top: clamp(56px, 6vw, 88px);
  padding-bottom: clamp(56px, 6vw, 88px);
}

.manifesto-text {
  /* was: clamp(44px, 6vw, 104px) — overpowers the page */
  font-size: clamp(40px, 5.2vw, 72px);
  letter-spacing: -0.035em;
  line-height: 1.0;
}

/* ── DOWNLOAD ─────────────────────────────────────────────────────────── */
.download {
  /* was: clamp(80px, 10vw, 150px) */
  padding: clamp(64px, 7.5vw, 112px) 0;
}

.download-h {
  /* was: clamp(40px, 6vw, 80px) */
  font-size: clamp(36px, 4.4vw, 60px);
  letter-spacing: -0.035em;
  line-height: 1.0;
}

.download-lede {
  font-size: clamp(16px, 1.15vw, 18px);
  margin-top: 4px;
}

/* ── FINAL CTA BAND (cta-v22) ─────────────────────────────────────────── */
.cta-v22 {
  /* was: clamp(80px, 10vw, 140px) */
  padding: clamp(56px, 7vw, 96px) 0;
}

.cta-v22-h {
  /* was: clamp(48px, 6.4vw, 104px) — biggest culprit */
  font-size: clamp(36px, 4.8vw, 64px);
  letter-spacing: -0.035em;
  line-height: 1.0;
  margin-bottom: 32px;
}

.cta-v22-small {
  margin-top: 14px;
}

/* ── GLOBAL: rein in headings on very wide monitors ───────────────────── */
@media (min-width: 1600px) {
  .hero-v22 h1 { font-size: 76px; }
  .manifesto-text { font-size: 72px; }
  .rides-h { font-size: 68px; }
  .cinema-h { font-size: 56px; }
  .download-h { font-size: 60px; }
  .cta-v22-h { font-size: 64px; }
}
