/* Screen-only artwork layers. The existing wordmark and page colours stay underneath. */
@media screen {
  html[data-hm-brand-view] {
    --hm-silver-red: #8a2435;
  }
  .hmc-hero {
    position: relative;
    isolation: isolate;
  }
  .hmc-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    pointer-events: none;
    background: url("/haven-entrance-1536.webp") right 43% / min(82%, 1470px) auto no-repeat;
    mask-image: linear-gradient(90deg, transparent 24%, #0003 45%, #000 78%);
    filter: grayscale(1);
    mix-blend-mode: multiply;
    opacity: .43;
  }

  [data-hm-watermark] {
    position: relative;
    isolation: isolate;
  }
  [data-hm-watermark]::after {
    content: "";
    position: absolute;
    z-index: -1;
    pointer-events: none;
    inset: 22px clamp(18px, 4.5vw, 76px) auto auto;
    inline-size: clamp(152px, 24vw, 210px);
    aspect-ratio: 1;
    opacity: .12;
    mix-blend-mode: multiply;
    background: url("/monogram.png") center / contain no-repeat;
    mask-image: radial-gradient(ellipse at center, #000 31%, #000b 53%, transparent 74%);
  }
  [data-hm-brand-view="home"] .hmc-services[data-hm-watermark]::after {
    inset: 8px clamp(26px, 9vw, 150px) auto auto;
    inline-size: clamp(105px, 16vw, 210px);
  }

  /* Bronze accents on light surfaces. Dark panels and footers keep their own styles. */
  body .hm-site :is(
    #shortlist, #find-help, .hm-fix-plan, #services, #paperwork,
    #takeoffs-and-boqs, #films, #the-detail, #about, #colleague-recommendations, #faq, #contact
  ) {
    --hm-silver-bronze: var(--hm-silver-red);
  }
  body .hm-site :is(
    #shortlist, #find-help, .hm-fix-plan, #services, #paperwork,
    #takeoffs-and-boqs, #films, #the-detail, #about, #colleague-recommendations, #faq, #contact
  ) .hm-kicker,
  body .hm-site :is(#find-help, #services, #the-detail, #about, #faq) .hm-text-link,
  body .hm-site #contact .hm-email,
  body .hm-site #films .hm-film-meta,
  body .hm-site #shortlist .hm-contract-panel > summary,
  body .hm-site .hm-fix-steps > article > span,
  body .hm-site .hm-journey-steps .hm-journey-intro > div > span {
    color: var(--hm-silver-red) !important;
    -webkit-text-fill-color: currentColor;
  }
  body .hm-site .hm-header nav a:not(.hm-nav-action):hover,
  body .hmb-header nav a:not(.hmb-header-action):hover,
  body .hm-service-guide .hm-guide-header nav a:not(:last-child):hover {
    color: var(--hm-silver-red);
  }
  body .hm-service-guide :is(
    .hm-guide-intro .hm-kicker, .section-head .eyebrow, .text-cta,
    .text-cta > span, .supplementary-services strong, .safeguard-bands strong
  ),
  body .hm-guides .hmg-guide-action a,
  body .hm-legal-page :is(
    .hm-legal-copy a, .hm-legal-related a[aria-current="page"],
    .hm-legal-related > p, .hm-legal-version > span
  ),
  [data-hm-brand-view="profile"] main .kicker {
    color: var(--hm-silver-red) !important;
    -webkit-text-fill-color: currentColor;
  }
  body .hm-guides .hmg-result,
  body .hm-legal-page .hm-legal-copy .legal-note,
  body .hm-service-guide :is(.offer-gate, .legal-note) {
    border-left-color: var(--hm-silver-red);
  }
  body .hm-site .hm-fixed-reviews .hm-review-product:first-child::before {
    background: var(--hm-silver-red);
  }

  @media (min-width: 1700px) {
    .hmc-hero::before {
      max-width: 1700px;
      margin-inline: auto;
      mask-image: linear-gradient(90deg, transparent 24%, #0003 45%, #000 75%, #000 84%, transparent);
    }
    [data-hm-watermark]::after,
    [data-hm-brand-view="home"] .hmc-services[data-hm-watermark]::after {
      inset-inline-end: max(76px, calc((100% - 1480px) / 2));
    }
  }
  @media (max-width: 760px) {
    .hmc-hero::before {
      bottom: auto;
      height: clamp(285px, 93vw, 405px);
      background-image: url("/haven-entrance-960.webp");
      background-size: max(570px, 112%) auto;
      background-position: right -105px top -25px;
      mask-image: radial-gradient(ellipse 86% 100% at 100% 12%, #000 12%, #0009 61%, transparent 100%),
        linear-gradient(#000 53%, transparent 100%);
      mask-composite: intersect;
      opacity: .28;
    }
    [data-hm-watermark]::after {
      inset: 12px 0 auto auto;
      opacity: .09;
    }
  }
  @media (forced-colors: active) {
    .hmc-hero::before, [data-hm-watermark]::after { display: none; }
  }
}
