/* Selective undo: remove the oleo-cta-experiment class and its two font links. */
@media (max-width: 480px) {
  html:is([lang="en"], [lang="fr"], [data-en-mobile]) body.homepage-v21 > main > .hero#home .hero-content > h1.oleo-cta-experiment {
    font-family: 'Charmonman';
    font-weight: 400;
    min-height: 3lh;
  }
  html:is([lang="en"], [lang="fr"], [data-en-mobile]) body.homepage-v21 > main > .hero#home .hero-content > h1.oleo-cta-experiment strong {
    font-family: 'Charmonman';
    font-weight: 700;
  }
  @media (min-width: 441px) {
    html:is([lang="en"], [lang="fr"], [data-en-mobile]) body.homepage-v21 > main > .hero#home .hero-content > h1.oleo-cta-experiment { min-height: 2lh; }
  }
}

/* Compact centered Photo CTA spacing; remove only this block to undo. */
@media (max-width: 480px) {
  html:is([lang="en"], [lang="fr"], [data-en-mobile]) body.homepage-v21 > main > .hero#home:has(h1.oleo-cta-experiment) {
    --oleo-cta-half-reserved-line: calc(clamp(36px, 9.5vw, 42px) * .575);
  }
  html:is([lang="en"], [lang="fr"], [data-en-mobile]) body.homepage-v21 > main > .hero#home .hero-content > h1.oleo-cta-experiment { min-height: 2lh; }
  html:is([lang="en"], [lang="fr"], [data-en-mobile]) body.homepage-v21 > main > .hero#home:has(h1.oleo-cta-experiment) .hero-content > .hero-eyebrow {
    margin-top: calc(50px + var(--oleo-cta-half-reserved-line));
  }
  html:is([lang="en"], [lang="fr"], [data-en-mobile]) body.homepage-v21 > main > .hero#home:has(h1.oleo-cta-experiment) .hero-content > .hero-buttons {
    margin-top: 0;
    margin-bottom: calc(10px + var(--oleo-cta-half-reserved-line));
  }
  @media (min-width: 441px) {
    html:is([lang="en"], [lang="fr"], [data-en-mobile]) body.homepage-v21 > main > .hero#home:has(h1.oleo-cta-experiment) { --oleo-cta-half-reserved-line: 0px; }
  }
}

/* Charmonman fit: retain the existing headline box and line spacing. */
@media (max-width: 480px) {
  html:is([lang="en"], [lang="fr"], [data-en-mobile]) body.homepage-v21 > main > .hero#home .hero-content > h1.oleo-cta-experiment {
    font-size: clamp(32px, 8.2vw, 36px);
    line-height: calc(clamp(36px, 9.5vw, 42px) * 1.15);
    height: calc(clamp(36px, 9.5vw, 42px) * 2.3);
    min-height: 0;
    width: calc(clamp(36px, 9.5vw, 42px) * 7.65217);
    max-width: 100%;
  }
}

/* Translated copy can wrap naturally with the shared EN typography. */
@media (max-width: 480px) {
  html:is([lang="fr"], [data-en-mobile]) body.homepage-v21 > main > .hero#home .hero-content > h1.oleo-cta-experiment {
    height: auto;
    min-height: 2lh;
  }
}
