/* ── MagTek homepage hero: one art-directed photograph + copy ────────
   The hero is a single finished campaign image per breakpoint. Each image already
   contains the dark studio background, the products, the legacy ExpressCard 300,
   environmental lighting, depth of field, and every shadow/reflection.

   The browser never positions individual devices, never adds drop shadows or fake
   reflections, and never blurs products. There are exactly two visual layers:

     1. .hp-hero__art      the finished photograph  (object-fit: cover)
     2. .hp-hero__content  the headline copy

   Assets to supply (this is all the hero needs):
     /Content/images/homepage/hero/hero-desktop.webp   (16:9)
     /Content/images/homepage/hero/hero-tablet.webp    (4:3)
     /Content/images/homepage/hero/hero-mobile.webp    (9:16)

   Scoped to #magtek-home.
   ─────────────────────────────────────────────────────────────────────────── */

#magtek-home .hp-hero,
#magtek-home .hp-hero *,
#magtek-home .hp-hero *::before,
#magtek-home .hp-hero *::after {
  box-sizing: border-box;
}

/* ── mobile-first shell: text hugs the top, art fills behind ───────────────── */
#magtek-home .hp-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: flex;
  align-items: flex-start;
  min-height: clamp(540px, 88vh, 800px);
  background: #16222e;
  color: #fff;
}

/* 1 ── the finished photograph */
#magtek-home .hp-hero__art {
  position: absolute;
  inset: 0;
  z-index: 0;
  display: block;
}

#magtek-home .hp-hero__art img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  /* Slight global desaturation — the studio blue runs a touch hot. */
  filter: saturate(0.9);
}

/* 2 ── headline copy */
#magtek-home .hp-hero__content {
  position: relative;
  z-index: 2;
  width: 100%;
  padding: clamp(56px, 12vh, 120px) clamp(24px, 6vw, 72px) clamp(40px, 8vh, 88px);
}

#magtek-home .hp-hero__headline {
  margin: 0;
  max-width: min(88%, 520px);
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  color: #fff;
}

#magtek-home .hp-hero__line {
  display: block;
  font-size: clamp(30px, 5vw, 46px);
  font-weight: 400;
  line-height: 1.06;
  letter-spacing: -0.012em;
}

#magtek-home .hp-hero__line--strong {
  margin-top: 0.22em;
  font-size: clamp(30px, 4.8vw, 44px);
  font-weight: 700;
  letter-spacing: -0.015em;
}

/* visually-hidden scene description */
#magtek-home .hp-hero__sr {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

/* ── ≥768: tablet art direction — dedicated 4:3 image, text upper-left ─────── */
@media (min-width: 768px) and (max-width: 1199.98px) {
  #magtek-home .hp-hero {
    min-height: clamp(600px, 74vw, 860px);
  }

  #magtek-home .hp-hero__content {
    padding-top: clamp(64px, 10vh, 124px);
  }

  #magtek-home .hp-hero__headline {
    max-width: min(68%, 600px);
  }
}

/* ── ≥1200: desktop art direction — copy left-middle, restrained large type ── */
@media (min-width: 1200px) {
  #magtek-home .hp-hero {
    align-items: center;
    min-height: clamp(650px, 56vw, 760px);
  }

  #magtek-home .hp-hero__content {
    padding: clamp(48px, 7vh, 96px) clamp(32px, 5vw, 80px);
  }

  #magtek-home .hp-hero__headline {
    max-width: min(41%, 660px);
  }

  #magtek-home .hp-hero__line {
    font-size: clamp(39px, 3.25vw, 56px);
  }

  #magtek-home .hp-hero__line--strong {
    font-size: clamp(36px, 3.05vw, 54px);
  }
}
