/* Hallmark - pre-emit critique P4 H5 E4 S5 R5 V4 */
#home.daylight-intro {
  --hero-ink: var(--daylight-black);
  --hero-black: rgb(0 0 0);
  --hero-header-slot: 86px;
  display: flex;
  align-items: flex-start;
  min-height: max(560px, 100svh);
  margin-block-start: calc(-1 * var(--hero-header-slot));
  padding: var(--hero-header-slot) 0 0;
  background: var(--hero-ink);
}

#home.daylight-intro::before {
  display: block;
  background:
    linear-gradient(180deg, rgb(0 0 0 / .16), transparent 50%, rgb(0 0 0 / .35)),
    linear-gradient(90deg, rgb(0 0 0 / .88), rgb(0 0 0 / .75) 30%, rgb(0 0 0 / .28) 67%, transparent 100%);
}

#home > .hero-shade { display: none; }

#home .daylight-hero-content {
  position: relative;
  z-index: 1;
  width: min(620px, 56vw);
  max-inline-size: none;
  min-inline-size: 0;
  margin-inline-start: clamp(24px, 8.5vw, 180px);
  padding: clamp(40px, 8svh, 100px) 0;
}

#home .daylight-hero-content h1 { font-size: clamp(34px, 4vw, 72px); }
#home .daylight-hero-subtitle { font-size: clamp(18px, 1.85vw, 30px); }

#home .daylight-hero-description {
  max-inline-size: 36ch;
  margin-block: clamp(16px, 2.15vw, 36px);
  font-size: clamp(15px, 1.3vw, 21px);
}

#home .daylight-hero-actions { gap: 8px 24px; }

#home .daylight-hero-actions .daylight-cta {
  --cta-height: clamp(48px, 4.1vw, 64px);
  font-size: clamp(11px, 1.05vw, 16px);
}

#home .daylight-hero-link { font-size: clamp(14px, 1.2vw, 18px); }

#home .hero-field-media {
  position: absolute;
  inset: 0;
  z-index: -2;
  min-inline-size: 0;
  overflow: clip;
  pointer-events: none;
  background: var(--hero-ink);
}

#home .hero-field-media :is(img, video) {
  inset: 0;
  width: 100%;
  height: 100%;
  aspect-ratio: auto;
  object-fit: cover;
  object-position: center;
  transform: none;
}

#home .hero-field-media video { background-color: inherit; }

#home .hero-video-toggle {
  z-index: 2;
  inset: auto 12px 12px auto;
  pointer-events: auto;
}

@media (max-width: 1023px) {
  #home.daylight-intro {
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    min-height: max(560px, 100svh);
    padding: var(--hero-header-slot) 0 0;
  }

  #home.daylight-intro::before {
    display: block;
    background: linear-gradient(180deg, rgb(0 0 0 / .18), rgb(0 0 0 / .2) 35%, rgb(0 0 0 / .78) 75%, rgb(0 0 0 / .92));
  }

  #home .daylight-hero-content {
    width: auto;
    margin-inline-start: 0;
    padding: clamp(28px, 5svh, 64px) clamp(16px, 5vw, 48px) clamp(32px, 7svh, 72px);
  }

  #home .daylight-hero-content h1 { font-size: clamp(22px, 5.7vw, 48px); }
  #home .daylight-hero-description { margin-block: 12px 14px; }

  #home .hero-field-media {
    position: absolute;
    inset: 0;
    z-index: -2;
  }
}

@media (max-width: 767px) {
  #home.daylight-intro {
    --hero-header-slot: 76px;
    min-height: max(520px, 92svh);
  }
}

html.no-js #home.daylight-intro {
  margin-block-start: 0;
  min-height: max(560px, calc(100svh - var(--hero-header-slot)));
  padding-block-start: 0;
}
