/* ============================================================
   DMG Pharmaceutical — Storytelling Hero (light theme, scoped)
   All rules are scoped to #dmg-hero / .hs-* so the rest of the
   site keeps its existing dark theme untouched.
   Fonts: Manrope (display) + Inter (body) via Google Fonts.
   ============================================================ */

#dmg-hero {
  --hs-navy: #232e7d;
  --hs-navy-deep: #1a2260;
  --hs-blue: #1b75bb;
  --hs-royal: #2f6bff;
  --hs-sky: #29abe2;
  --hs-green: #59b23c;
  --hs-green-deep: #3f9427;
  --hs-ink: #22304a;
  --hs-muted: #5b6a85;
  --hs-bg-1: #f7fbff;
  --hs-bg-2: #e7f0fb;
  --hs-card: rgba(255, 255, 255, 0.8);
  --hs-line: rgba(35, 46, 125, 0.1);
  --hs-shadow: 0 18px 50px rgba(35, 60, 120, 0.13);
  --hs-radius: 22px;
  --hs-ease: cubic-bezier(0.22, 0.75, 0.25, 1);

  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  min-height: 100svh;
  overflow: hidden;
  background:
    radial-gradient(ellipse 55% 60% at 88% 12%, rgba(41, 171, 226, 0.12), transparent 65%),
    radial-gradient(ellipse 45% 50% at 8% 90%, rgba(89, 178, 60, 0.08), transparent 60%),
    linear-gradient(160deg, var(--hs-bg-1) 30%, var(--hs-bg-2) 100%);
  color: var(--hs-ink);
  font-family: "Manrope", "Inter", system-ui, sans-serif;
}

#dmg-hero .hs-sr {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

#dmg-hero img { max-width: 100%; display: block; }

/* ------------------------------------------------------------
   Header / navigation (lives inside the pinned hero)
   ------------------------------------------------------------ */
.hs-header {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 30;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 16px clamp(16px, 4vw, 52px);
  transition: background 0.35s ease, box-shadow 0.35s ease;
}
.hs-header.is-scrolled {
  background: rgba(255, 255, 255, 0.74);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  box-shadow: 0 10px 30px rgba(35, 60, 120, 0.08);
}
.hs-logo { display: inline-flex; align-items: center; flex-shrink: 0; }
.hs-logo img { height: clamp(34px, 3.4vw, 44px); width: auto; object-fit: contain; }

.hs-nav { display: flex; align-items: center; gap: clamp(6px, 1.6vw, 22px); }
.hs-nav > a {
  color: var(--hs-ink);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  padding: 9px 10px;
  border-radius: 10px;
  transition: color 0.2s ease;
}
.hs-nav > a:hover { color: var(--hs-blue); }
.hs-nav > a:focus-visible,
#dmg-hero button:focus-visible,
#dmg-hero a:focus-visible {
  outline: 3px solid var(--hs-royal);
  outline-offset: 2px;
  border-radius: 10px;
}
.hs-nav > a.hs-cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--hs-navy);
  color: #fff;
  font-weight: 700;
  padding: 12px 24px;
  border-radius: 999px;
  box-shadow: 0 10px 26px rgba(35, 46, 125, 0.28);
  transition: background 0.25s ease, transform 0.25s ease;
}
.hs-nav > a.hs-cta:hover { background: var(--hs-navy-deep); color: #fff; transform: translateY(-2px); }
.hs-nav > a.hs-cta svg { width: 17px; height: 17px; transition: transform 0.25s ease; }
.hs-nav > a.hs-cta:hover svg { transform: translateX(4px); }

.hs-menu {
  display: none;
  z-index: 45;
  width: 46px;
  height: 46px;
  border: 1px solid rgba(35, 46, 125, 0.15);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.85);
  cursor: pointer;
  padding: 0;
}
.hs-menu span {
  display: block;
  width: 20px;
  height: 2px;
  margin: 4px auto;
  border-radius: 4px;
  background: var(--hs-navy);
  transition: transform 0.3s ease, opacity 0.3s ease;
}
.hs-menu[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.hs-menu[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.hs-menu[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* ------------------------------------------------------------
   Stage & slide layout
   ------------------------------------------------------------ */
.hs-stage {
  position: relative;
  z-index: 2;
  flex: 1;
  display: grid;
  align-content: center;
  width: min(1280px, 92vw);
  margin: 0 auto;
  padding: clamp(84px, 11vh, 128px) 0 clamp(84px, 11vh, 110px);
}

.hs-slides { display: grid; }

.hs-slide {
  grid-area: 1 / 1;
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 44fr) minmax(0, 56fr);
  grid-template-areas:
    "copy visual"
    "cards visual"
    "panel visual";
  grid-template-rows: auto auto auto;
  align-content: center;
  column-gap: clamp(28px, 4.5vw, 62px);
  row-gap: 20px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.75s ease, visibility 0s linear 0.75s;
}
.hs-slide.is-active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transition: opacity 0.75s ease;
}
.hs-slide.is-leaving { transition: opacity 0.5s ease, visibility 0s linear 0.5s; }

/* ---------- copy column ---------- */
.hs-copy { grid-area: copy; align-self: end; }

.hs-eyebrow {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 0 0 18px;
}
.hs-chip {
  display: inline-flex;
  align-items: center;
  background: rgba(255, 255, 255, 0.85);
  border: 1px solid rgba(27, 117, 187, 0.18);
  color: var(--hs-blue);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  padding: 8px 16px;
  border-radius: 999px;
  box-shadow: 0 6px 16px rgba(35, 60, 120, 0.07);
}
.hs-count { font-size: 0.95rem; font-weight: 700; color: var(--hs-muted); letter-spacing: 0.08em; }
.hs-count b { color: var(--hs-royal); font-weight: 800; }

.hs-title {
  position: relative;
  margin: 0 0 18px;
  padding-left: clamp(18px, 1.8vw, 26px);
  font-family: "Manrope", "Inter", sans-serif;
  font-weight: 800;
  font-size: clamp(1.95rem, 3.5vw, 3.35rem);
  line-height: 1.07;
  letter-spacing: -0.02em;
  color: var(--hs-navy);
  text-wrap: balance;
}
.hs-title::before {
  content: "";
  position: absolute;
  left: 0;
  top: 6%;
  bottom: 6%;
  width: 5px;
  border-radius: 4px;
  background: linear-gradient(180deg, var(--hs-royal), var(--hs-green));
}
.hs-title em { font-style: normal; color: var(--hs-green); }
.hs-line { display: block; overflow: hidden; }
.hs-line > span { display: block; }

.hs-desc {
  margin: 0;
  max-width: 470px;
  font-family: "Inter", system-ui, sans-serif;
  font-size: clamp(0.95rem, 1.15vw, 1.08rem);
  line-height: 1.65;
  color: var(--hs-muted);
}
.hs-desc strong { color: var(--hs-navy); font-weight: 700; }

/* ---------- feature cards ---------- */
.hs-cards {
  grid-area: cards;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  align-self: start;
}
.hs-slide--1 .hs-cards,
.hs-slide--3 .hs-cards { grid-template-columns: repeat(3, minmax(0, 1fr)); }

.hs-card {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 14px 15px;
  background: var(--hs-card);
  border: 1px solid rgba(255, 255, 255, 0.9);
  border-radius: 18px;
  box-shadow: 0 12px 28px rgba(35, 60, 120, 0.08);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}
.hs-slide--1 .hs-card {
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr);
  align-items: center;
  padding: 12px 13px;
  gap: 10px;
}
.hs-slide--1 .hs-cards .hs-card-icon { width: 40px; height: 40px; }
.hs-slide--1 .hs-card b { font-size: 0.88rem; }
.hs-card-icon {
  flex: 0 0 44px;
  height: 44px;
  border-radius: 13px;
  display: grid;
  place-items: center;
  background: #e8f1fd;
  color: var(--hs-blue);
}
.hs-card-icon--green { background: #e8f6e2; color: var(--hs-green-deep); }
.hs-card-icon svg { width: 23px; height: 23px; }
.hs-card-icon img { width: 26px; height: auto; mix-blend-mode: multiply; }
.hs-card-icon svg { animation: hsFloat 4.5s ease-in-out infinite; animation-play-state: paused; }
.hs-slide.is-active .hs-card-icon svg { animation-play-state: running; }
@keyframes hsFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-3px); }
}
.hs-card b {
  display: block;
  font-size: 0.92rem;
  font-weight: 800;
  color: var(--hs-navy);
  line-height: 1.3;
}
.hs-card span {
  display: block;
  margin-top: 3px;
  font-family: "Inter", sans-serif;
  font-size: 0.79rem;
  line-height: 1.45;
  color: var(--hs-muted);
}

/* ---------- in-card photos (from the approved designs) ---------- */
.hs-card--photo { overflow: hidden; }
.hs-card-photo { display: block; }
.hs-card-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* slide 1 — vertical cards: icon + title on top, photo below */
.hs-slide--1 .hs-card .hs-card-photo {
  grid-column: 1 / -1;
  align-self: end;
  margin: 4px -13px -12px;
  aspect-ratio: 212 / 196;
}

/* slides 2 & 4 — horizontal cards: photo docked right, fading into the card */
.hs-slide--2 .hs-card > div,
.hs-slide--4 .hs-card > div { flex: 1 1 0; min-width: 0; }
.hs-slide--2 .hs-card .hs-card-photo,
.hs-slide--4 .hs-card .hs-card-photo {
  align-self: stretch;
  flex: 0 0 clamp(64px, 7vw, 104px);
  margin: -14px -15px -14px auto;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 34%);
  mask-image: linear-gradient(90deg, transparent, #000 34%);
}

/* slide 3 — text on top, photo strip along the card bottom */
.hs-slide--3 .hs-card { flex-wrap: wrap; align-content: space-between; }
.hs-slide--3 .hs-card > div { flex: 1 1 0; min-width: 0; }
.hs-slide--3 .hs-card .hs-card-photo {
  flex: 1 1 100%;
  margin: 8px -15px -14px;
  aspect-ratio: 248 / 128;
  -webkit-mask-image: linear-gradient(180deg, transparent, #000 26%);
  mask-image: linear-gradient(180deg, transparent, #000 26%);
}

/* ---------- supporting panels ---------- */
.hs-panel {
  background: rgba(255, 255, 255, 0.92);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.9);
  border-radius: 20px;
  box-shadow: var(--hs-shadow);
  padding: 18px;
  z-index: 6;
}

/* Slide 1 — group brands row (static, under the photo) */
.hs-slide--1 {
  grid-template-areas:
    "copy visual"
    "cards visual"
    "cards panel";
}
.hs-panel--brand {
  grid-area: panel;
  align-self: start;
  background: transparent;
  border: 0;
  box-shadow: none;
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
  border-radius: 0;
  padding: 6px 0 0;
}
.hs-brand-label {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.34em;
  color: var(--hs-muted);
  text-transform: uppercase;
  margin: 0 0 14px;
}
.hs-brand-label::before,
.hs-brand-label::after { content: ""; flex: 1; height: 1px; background: rgba(35, 46, 125, 0.14); }
.hs-brand-logos {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(14px, 2vw, 26px);
  flex-wrap: wrap;
}
.hs-brand-logos img { height: clamp(30px, 3vw, 42px); width: auto; object-fit: contain; }
.hs-brand-logos i { width: 1px; height: 30px; background: rgba(35, 46, 125, 0.16); }

/* ---------- visual column ---------- */
.hs-visual { grid-area: visual; align-self: center; min-width: 0; }
.hs-photo-wrap { position: relative; margin-left: auto; }
.hs-slide--1 .hs-photo-wrap { width: min(100%, 100vh); }
.hs-slide--2 .hs-photo-wrap { width: min(100%, 65vh); }
.hs-slide--3 .hs-photo-wrap { width: min(100%, 84vh); }
.hs-slide--4 .hs-photo-wrap { width: min(100%, 50vh); margin-right: clamp(0px, 8%, 90px); }

.hs-photo {
  position: relative;
  width: 100%;
  border-radius: 26px;
  overflow: hidden;
  box-shadow: 0 26px 60px rgba(30, 55, 120, 0.17);
  border: 1px solid rgba(255, 255, 255, 0.8);
  background: #eaf2fb;
}
.hs-slide--1 .hs-photo { aspect-ratio: 796 / 433; }
.hs-slide--2 .hs-photo { aspect-ratio: 656 / 606; }
.hs-slide--3 .hs-photo {
  aspect-ratio: 1032 / 812;
  box-shadow: 0 20px 48px rgba(30, 55, 120, 0.1);
}
.hs-slide--4 .hs-photo { aspect-ratio: 600 / 740; }

.hs-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.045);
  transition: transform 1.3s var(--hs-ease);
}
.hs-slide.is-active .hs-photo img { transform: scale(1); }

/* Slide 3 — animated map overlay (routes + pin pulses) */
.hs-mapfx { position: absolute; inset: 0; z-index: 3; pointer-events: none; }
.hs-mapfx svg { width: 100%; height: 100%; display: block; }
.hs-route {
  fill: none;
  stroke: url(#hsRouteGrad);
  stroke-width: 2.4;
  stroke-linecap: round;
  opacity: 0.7;
  stroke-dasharray: 1;
  stroke-dashoffset: 1;
  transition: stroke-dashoffset 1s ease var(--rd, 0s);
}
.hs-slide.is-active .hs-route { stroke-dashoffset: 0; }
.hs-halo {
  fill: rgba(140, 235, 170, 0.4);
  stroke: rgba(255, 255, 255, 0.9);
  stroke-width: 1;
  transform-box: fill-box;
  transform-origin: center;
  animation: hsPulse 2.6s ease-out infinite;
  animation-play-state: paused;
}
.hs-halo--hub { fill: rgba(120, 210, 255, 0.45); }
.hs-slide.is-active .hs-halo { animation-play-state: running; }
@keyframes hsPulse {
  0% { transform: scale(0.45); opacity: 0.9; }
  70% { transform: scale(1.5); opacity: 0; }
  100% { transform: scale(1.5); opacity: 0; }
}

/* ------------------------------------------------------------
   Bottom bar: progress + dots + arrows
   ------------------------------------------------------------ */
.hs-bar {
  position: absolute;
  left: clamp(16px, 4vw, 52px);
  right: clamp(16px, 4vw, 52px);
  bottom: clamp(18px, 4.5vh, 42px);
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  pointer-events: none;
}
.hs-bar > * { pointer-events: auto; }

.hs-progress { display: flex; align-items: center; gap: 14px; }
.hs-progress-label {
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--hs-muted);
}
.hs-progress-track {
  position: relative;
  width: clamp(110px, 14vw, 190px);
  height: 4px;
  border-radius: 4px;
  background: rgba(35, 46, 125, 0.13);
  overflow: hidden;
}
.hs-progress-track i {
  position: absolute;
  inset: 0 auto 0 0;
  width: var(--p, 25%);
  border-radius: 4px;
  background: linear-gradient(90deg, var(--hs-royal), var(--hs-green));
  transition: width 0.3s ease;
}

.hs-dots { display: flex; gap: 9px; }
.hs-dot {
  width: 11px;
  height: 11px;
  padding: 0;
  border-radius: 999px;
  border: 2px solid rgba(35, 46, 125, 0.32);
  background: transparent;
  cursor: pointer;
  transition: width 0.3s var(--hs-ease), background 0.3s ease, border-color 0.3s ease;
}
.hs-dot[aria-current="true"] {
  width: 30px;
  background: var(--hs-navy);
  border-color: var(--hs-navy);
}

.hs-arrows { display: flex; align-items: center; gap: 12px; }
.hs-ctrl {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  border: 1px solid #d8e5f6;
  background: #fff;
  color: var(--hs-royal);
  display: grid;
  place-items: center;
  cursor: pointer;
  box-shadow: 0 16px 34px rgba(30, 55, 120, 0.17);
  transition: transform 0.25s var(--hs-ease), box-shadow 0.25s ease, color 0.25s ease;
}
.hs-ctrl svg { width: 24px; height: 24px; }
.hs-ctrl:hover { transform: translateX(4px); box-shadow: 0 20px 40px rgba(30, 55, 120, 0.24); }
.hs-ctrl:active { transform: translateX(4px) scale(0.94); }
.hs-ctrl--prev { width: 46px; height: 46px; box-shadow: 0 10px 24px rgba(30, 55, 120, 0.12); }
.hs-ctrl--prev:hover { transform: translateX(-4px); }
.hs-ctrl--prev svg { width: 19px; height: 19px; }
.hs-ctrl[disabled] { opacity: 0.35; pointer-events: none; }

/* ------------------------------------------------------------
   Crystalline decoration (bottom-right, consistent on all steps)
   ------------------------------------------------------------ */
.hs-crystals {
  position: absolute;
  right: -30px;
  bottom: -24px;
  z-index: 1;
  width: clamp(200px, 24vw, 340px);
  opacity: 0.9;
  pointer-events: none;
  animation: hsDrift 16s ease-in-out infinite alternate;
}
@keyframes hsDrift {
  from { transform: translate(0, 0); }
  to { transform: translate(-10px, -14px); }
}
@keyframes hsSlideIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

/* ------------------------------------------------------------
   Content choreography (enter from below / leave upward)
   ------------------------------------------------------------ */
.hs-slide .hs-eyebrow,
.hs-slide .hs-desc,
.hs-slide .hs-cards > *,
.hs-slide .hs-panel {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s var(--hs-ease), transform 0.6s var(--hs-ease);
}
.hs-slide .hs-line > span {
  transform: translateY(112%);
  transition: transform 0.7s var(--hs-ease);
}
.hs-slide.is-active .hs-eyebrow,
.hs-slide.is-active .hs-desc,
.hs-slide.is-active .hs-cards > *,
.hs-slide.is-active .hs-panel {
  opacity: 1;
  transform: translateY(0);
}
.hs-slide.is-active .hs-line > span { transform: translateY(0); }

/* stagger */
.hs-slide.is-active .hs-eyebrow { transition-delay: 0.05s; }
.hs-slide.is-active .hs-line:nth-child(1) > span { transition-delay: 0.12s; }
.hs-slide.is-active .hs-line:nth-child(2) > span { transition-delay: 0.24s; }
.hs-slide.is-active .hs-line:nth-child(3) > span { transition-delay: 0.36s; }
.hs-slide.is-active .hs-desc { transition-delay: 0.3s; }
.hs-slide.is-active .hs-cards > *:nth-child(1) { transition-delay: 0.38s; }
.hs-slide.is-active .hs-cards > *:nth-child(2) { transition-delay: 0.46s; }
.hs-slide.is-active .hs-cards > *:nth-child(3) { transition-delay: 0.54s; }
.hs-slide.is-active .hs-cards > *:nth-child(4) { transition-delay: 0.62s; }
.hs-slide.is-active .hs-panel { transition-delay: 0.66s; }

/* exit: shift upward while fading */
.hs-slide.is-leaving .hs-eyebrow,
.hs-slide.is-leaving .hs-desc,
.hs-slide.is-leaving .hs-cards > *,
.hs-slide.is-leaving .hs-panel {
  opacity: 0;
  transform: translateY(-26px);
  transition: opacity 0.42s ease, transform 0.42s ease;
  transition-delay: 0s;
}
.hs-slide.is-leaving .hs-line > span {
  transform: translateY(-112%);
  transition: transform 0.45s ease;
  transition-delay: 0s;
}

/* ------------------------------------------------------------
   Responsive
   ------------------------------------------------------------ */
@media (min-width: 1440px) {
  .hs-stage { width: min(1360px, 90vw); }
}

@media (max-width: 1023px) {
  #dmg-hero { min-height: 0; }
  .hs-stage { padding-top: 96px; padding-bottom: 24px; }

  /* only the active slide occupies space (no tall-slide dead gap) */
  .hs-slide { display: none; }
  .hs-slide.is-active { display: grid; animation: hsSlideIn 0.5s ease; }
  .hs-slide.is-active .hs-eyebrow,
  .hs-slide.is-active .hs-desc,
  .hs-slide.is-active .hs-cards > *,
  .hs-slide.is-active .hs-panel { transition: none; }
  .hs-slide.is-active .hs-line > span { transition: none; }
  .hs-slide.is-active .hs-photo img { transition: none; transform: none; }
  .hs-slide {
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas:
      "copy"
      "visual"
      "cards"
      "panel";
    row-gap: 18px;
  }
  .hs-copy { align-self: start; }
  .hs-slide { align-content: start; }
  .hs-photo-wrap { margin-inline: auto; }
  .hs-slide--1 .hs-photo-wrap,
  .hs-slide--3 .hs-photo-wrap { width: 100%; }
  .hs-slide--2 .hs-photo-wrap { width: min(100%, 62vh); }
  .hs-slide--4 .hs-photo-wrap { width: min(100%, 420px); margin-right: auto; }

  .hs-desc { max-width: 620px; }

  .hs-bar {
    position: static;
    margin: 26px auto 0;
    width: min(1280px, 92vw);
    padding-bottom: 26px;
  }
  #dmg-hero { display: block; }
  .hs-stage { display: block; }
}

@media (max-width: 899px) {
  .hs-nav {
    position: fixed;
    inset: 0;
    z-index: 40;
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 10px;
    background: rgba(247, 251, 255, 0.97);
    -webkit-backdrop-filter: blur(16px);
    backdrop-filter: blur(16px);
  }
  .hs-nav.is-open { display: flex; }
  .hs-nav > a { font-size: 1.25rem; padding: 12px 18px; }
  .hs-nav > a.hs-cta { margin-top: 14px; }
  .hs-menu { display: block; }
}

@media (max-width: 767px) {
  .hs-title { font-size: clamp(1.75rem, 7.4vw, 2.4rem); }
  .hs-cards,
  .hs-slide--1 .hs-cards,
  .hs-slide--3 .hs-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hs-progress-label { display: none; }
  .hs-crystals { width: 150px; opacity: 0.55; }
}

@media (max-width: 459px) {
  .hs-cards,
  .hs-slide--1 .hs-cards,
  .hs-slide--3 .hs-cards { grid-template-columns: 1fr; }
  .hs-progress-track { width: 74px; }
}

/* ------------------------------------------------------------
   Reduced motion: short fades only, no parallax / choreography
   ------------------------------------------------------------ */
@media (prefers-reduced-motion: reduce) {
  #dmg-hero *,
  #dmg-hero *::before,
  #dmg-hero *::after {
    animation: none !important;
    transition: none !important;
  }
  .hs-slide { transition: opacity 0.25s linear !important; }
  .hs-slide .hs-eyebrow,
  .hs-slide .hs-desc,
  .hs-slide .hs-cards > *,
  .hs-slide .hs-panel { opacity: 1; transform: none; }
  .hs-slide .hs-line > span { transform: none; }
  .hs-photo img { transform: none; }
  .hs-route { stroke-dashoffset: 0; }
}
