/* A shared landscape palette for screens at the top of each page. */
@layer scenic-heroes {
  #main-content {
    --scenic-ink: #153f47;
    --scenic-action-hover: #245b62;
  }

  #main-content .about-immersive-shade,
  #main-content :is(.webshop-panorama, .projects-coast) .device-screen-story > figure::before {
    display: none !important;
  }

  #main-content .marketing-hero-monitor .marketing-opening-copy {
    background: url('/assets/inspiration-opening-nature.webp') center 58% / cover no-repeat #e7f2f7 !important;
  }

  #main-content .software-hero-photo figcaption {
    background: #f7fbfbdc !important;
    color: var(--scenic-ink) !important;
  }

  #main-content .software-hero-photo figcaption :is(span, strong),
  #main-content :is(.about-panorama-copy, .marketing-opening-copy,
    .work-hero-copy, .approach-panorama-copy, .websites-coastal-copy, .inspiration-duo-copy,
    .projects-coast .device-screen-story > div) :is(h1, h2, .eyebrow, p, em) {
    color: var(--scenic-ink) !important;
    text-shadow: none !important;
  }

  #main-content :is(.about-panorama-copy, .marketing-opening-copy,
    .work-hero-copy, .approach-panorama-copy, .websites-coastal-copy, .inspiration-duo-copy,
    .projects-coast .device-screen-story > div) :is(.button, .inspiration-duo-button) {
    background: var(--scenic-ink) !important;
    border-color: var(--scenic-ink) !important;
    color: #fff !important;
  }

  #main-content :is(.about-panorama-copy, .marketing-opening-copy,
    .work-hero-copy, .approach-panorama-copy, .websites-coastal-copy, .inspiration-duo-copy,
    .projects-coast .device-screen-story > div) :is(.button, .inspiration-duo-button):hover {
    background: var(--scenic-action-hover) !important;
  }


  #main-content :is(.projects-coast, .webshop-panorama) .device-screen-story,
  #main-content :is(.websites-coastal-hero, .inspiration-image-opening, .about-immersive-hero) {
    display: grid !important;
    place-items: center !important;
  }

  #main-content :is(.projects-coast .device-screen-story > div,
    .webshop-panorama .device-screen-story > .work-hero-copy, .websites-coastal-copy,
    .inspiration-image-opening .inspiration-duo-copy, .about-immersive-hero .about-panorama-copy,
    .marketing-hero-monitor .marketing-opening-copy) {
    margin: 0 auto !important;
    width: 100% !important;
    padding: clamp(24px, 4vw, 56px) clamp(16px, 5vw, 64px) !important;
    text-align: center !important;
  }

  #main-content .marketing-hero-monitor .marketing-opening-copy {
    align-content: center !important;
    justify-items: center !important;
  }

  #main-content :is(.projects-coast .device-screen-story > div,
    .webshop-panorama .work-hero-copy, .websites-coastal-copy, .inspiration-image-opening .inspiration-duo-copy,
    .about-immersive-hero .about-panorama-copy, .marketing-hero-monitor .marketing-opening-copy) :is(h1, p) {
    margin-inline: auto !important;
    text-align: center !important;
  }
}
