/* "Now Mopalia" notice pages (temperate.app, purrplex.app): Mopalia's home hero,
   then one link. The hero rules copy fleet-assets/mopalia/assets/brand-mopalia.css,
   and the same file sits in each notice brand. Tokens only; colors live in
   fleet/brands.yaml. */

:root {
  --hero-art: url("/assets/images/mopalia-hero-light.webp");
  --brand-display: "Avenir Next", Avenir, Montserrat, system-ui, sans-serif;
}

:root[data-theme="dark"] {
  --hero-art: url("/assets/images/mopalia-hero-dark.webp");
}

.cb-row--full .cb-row-inner {
  padding-inline: 0;
}

.hero.hero--full {
  display: flex;
  align-items: center;
  min-height: clamp(26rem, 44vw, 40rem);
  margin: 0;
  padding: 3rem 1.25rem;
  border: 0;
  background: var(--bg) var(--hero-art) right center / cover no-repeat;
}

.hero.hero--full .hero-inner {
  width: 100%;
  justify-items: start;
  padding: 0 clamp(0.5rem, 4vw, 3rem);
}

.hero.hero--full .hero-copy {
  max-width: min(30rem, 46vw);
}

.hero.hero--full .hero-title {
  font-family: var(--brand-display);
  font-size: clamp(2.5rem, 5.5vw, 4.25rem);
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.02;
}

.hero.hero--full .hero-tagline {
  color: var(--text);
  font-size: clamp(1.05rem, 1.6vw, 1.3rem);
}

#moved .cb-fern-prose {
  padding-block: clamp(2rem, 5vw, 3.5rem);
  text-align: center;
}

#moved .cb-prose p {
  margin: 0;
  font-family: var(--brand-display);
  font-size: clamp(1.3rem, 2.4vw, 1.75rem);
  font-weight: 700;
  letter-spacing: -0.015em;
}

#moved .cb-prose a {
  color: var(--accent);
  text-underline-offset: 0.2em;
}

@media (max-width: 767px) {
  .hero.hero--full {
    display: block;
    min-height: 0;
    padding: 0;
    background: var(--bg-elev);
  }

  .hero.hero--full::before {
    content: "";
    display: block;
    aspect-ratio: 16 / 10;
    background: var(--hero-art) 92% center / cover no-repeat;
  }

  .hero.hero--full .hero-inner {
    padding: 1.5rem 1.25rem 2rem;
  }

  .hero.hero--full .hero-copy {
    max-width: none;
  }
}
