/* ==========================================================================
   GloryVolt — Home page (index.html)
   Loads after base.css and blog.css (article cards). Class prefix: .hm-
   ========================================================================== */

/* ---------- shared bits ---------- */
@keyframes hmRise { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: none; } }
@keyframes hmArtIn { from { opacity: 0; transform: translateY(16px) scale(0.97); } to { opacity: 1; transform: none; } }
@keyframes hmFloat { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
@keyframes hmSheen { 0%, 100% { background-position: 0% 50%; } 50% { background-position: 100% 50%; } }
@keyframes hmCardIn { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }

/* staggered scroll reveal (only on elements without their own transitions) */
.hm-cat-list > [data-reveal],
.hm-why > [data-reveal] { transition-delay: var(--d, 0ms); }

/* ==========================================================================
   Hero
   ========================================================================== */
@keyframes hmMediaIn { from { opacity: 0; transform: scale(1.04); } to { opacity: 1; transform: none; } }

.hm-hero {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  display: flex;
  align-items: center;
  min-height: clamp(540px, 46vw, 680px);
  padding-block: clamp(40px, 5.5vw, 80px) clamp(104px, 10vw, 150px);
  background:
    radial-gradient(760px 520px at -8% 108%, rgba(255, 204, 26, 0.12), transparent 60%),
    var(--ink);
}
.hm-hero::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 204, 26, 0.45), transparent);
}

/* background video (right side, fades into the anthracite behind the copy) */
.hm-hero-media {
  position: absolute;
  top: 0;
  bottom: 0;
  right: 0;
  left: 30%;
  z-index: -1;
  overflow: hidden;
  pointer-events: none;
  /* fade the left edge into the hero background instead of a hard seam */
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, rgba(0, 0, 0, 0.55) 22%, #000 46%);
  mask-image: linear-gradient(90deg, transparent 0%, rgba(0, 0, 0, 0.55) 22%, #000 46%);
  animation: hmMediaIn 1.6s var(--ease) both;
}
.hm-hero-video {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: 50% 50%;
  transform: scaleX(-1);
  /* black-and-white footage so the volt-yellow buttons and headline are the only colour */
  filter: grayscale(1) brightness(0.8) contrast(1.15);
}
.hm-hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(23, 23, 26, 0.6) 0%, rgba(23, 23, 26, 0.25) 36%, rgba(23, 23, 26, 0) 60%),
    linear-gradient(0deg, var(--ink) 0%, rgba(23, 23, 26, 0.6) 20%, rgba(23, 23, 26, 0) 44%),
    linear-gradient(180deg, rgba(23, 23, 26, 0.55) 0%, rgba(23, 23, 26, 0) 24%);
}

/* pause / play for the background video */
.hm-hero-toggle {
  position: absolute;
  top: 18px;
  right: max(var(--gutter), calc((100% - var(--wrap)) / 2 + var(--gutter)));
  z-index: 2;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: var(--on-dark);
  background: rgba(23, 23, 26, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.16);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  transition: background 0.2s, border-color 0.2s, color 0.2s;
}
.hm-hero-toggle:hover { background: var(--gold); border-color: var(--gold); color: var(--on-gold); }
.hm-hero-toggle svg { width: 14px; height: 14px; }

.hm-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  align-items: center;
  gap: clamp(24px, 4vw, 64px);
}
.hm-hero-copy { position: relative; z-index: 1; max-width: 600px; }

.hm-hero .eyebrow { animation: hmRise 0.9s var(--ease) 0.05s backwards; }
.hm-hero h1 {
  font-size: clamp(2.3rem, 5vw, 4.3rem);
  font-weight: 900;
  line-height: 1.02;
  letter-spacing: -0.04em;
  margin: 0 0 22px;
}
.hm-l { display: block; animation: hmRise 0.9s var(--ease) backwards; }
.hm-l:nth-child(1) { animation-delay: 0.12s; }
.hm-l:nth-child(2) { animation-delay: 0.2s; }
.hm-hero h1 em.hm-l {
  display: inline-block;
  font-style: normal;
  color: var(--gold-on-dark);
  padding-bottom: 0.05em;
  animation-delay: 0.28s;
}
@supports (-webkit-background-clip: text) or (background-clip: text) {
  .hm-hero h1 em.hm-l {
    background: linear-gradient(100deg, var(--gold-light) 0%, var(--gold) 40%, var(--gold-on-dark) 65%, var(--gold) 100%);
    background-size: 220% 100%;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: hmRise 0.9s var(--ease) 0.28s backwards, hmSheen 9s ease-in-out 1.6s infinite;
  }
}

.hm-hero-sub {
  font-size: clamp(1.02rem, 1.25vw, 1.16rem);
  color: var(--on-dark);
  max-width: 44ch;
  margin: 0 0 30px;
  animation: hmRise 0.9s var(--ease) 0.38s backwards;
}
.hm-hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 30px;
  animation: hmRise 0.9s var(--ease) 0.46s backwards;
}
.hm-hero-ctas .btn { min-height: 52px; padding-inline: 28px; font-size: 1rem; }

.hm-hero-perks {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  animation: hmRise 0.9s var(--ease) 0.54s backwards;
}
.hm-hero-perks li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 14px 7px 10px;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.04);
  color: var(--on-dark);
  font-size: 0.84rem;
  font-weight: 700;
}
.hm-hero-perks svg { width: 17px; height: 17px; color: var(--gold); flex: none; }

/* featured product chip, bottom-right over the video */
.hm-hero-side { align-self: end; display: flex; justify-content: flex-end; }
.hm-hero-feature {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 14px;
  width: min(360px, 100%);
  margin: 0;
  padding: 10px 12px 10px 10px;
  border-radius: 18px;
  background: rgba(23, 23, 26, 0.74);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 216, 77, 0.28);
  box-shadow: 0 24px 50px -20px rgba(0, 0, 0, 0.6);
  color: var(--on-dark);
  transition: border-color 0.2s, background 0.2s;
  animation: hmRise 0.9s var(--ease) 0.7s backwards, hmFloat 7s ease-in-out 1.6s infinite;
}
.hm-hero-feature:hover { border-color: var(--gold); background: rgba(23, 23, 26, 0.86); }
.hm-feat-media {
  width: 64px;
  height: 64px;
  flex: none;
  border-radius: 12px;
  background: linear-gradient(160deg, var(--surface), var(--surface-2));
  overflow: hidden;
}
.hm-feat-media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.hm-feat-txt { flex: 1; min-width: 0; display: grid; gap: 2px; }
.hm-feat-txt small { font-size: 0.68rem; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase; color: var(--gold-on-dark); }
.hm-feat-txt strong { color: #fff; font-size: 0.92rem; line-height: 1.3; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hm-feat-price { display: flex; align-items: baseline; gap: 8px; font-size: 0.92rem; }
.hm-feat-price b { color: #fff; font-weight: 800; }
.hm-feat-price s { color: var(--on-dark-muted); font-size: 0.8rem; }
.hm-feat-go {
  width: 36px;
  height: 36px;
  flex: none;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--gold);
  color: var(--on-gold);
  transition: transform 0.2s var(--ease);
}
.hm-feat-go svg { width: 16px; height: 16px; }
.hm-hero-feature:hover .hm-feat-go { transform: translateX(3px); }

/* ==========================================================================
   Category strip (white panel overlapping the hero)
   ========================================================================== */
.hm-cats { position: relative; z-index: 2; margin-top: clamp(-84px, -6vw, -52px); }
.hm-cats-panel {
  background: linear-gradient(160deg, #26262a 0%, var(--ink-2) 55%, #1a1a1d 100%);
  border: 1px solid rgba(255, 204, 26, 0.35);
  border-radius: calc(var(--radius) + 6px);
  box-shadow: 0 24px 50px -18px rgba(18, 18, 20, 0.55);
  padding: clamp(18px, 2.4vw, 28px);
}
.hm-cats-head { display: flex; align-items: center; justify-content: space-between; gap: 12px 20px; flex-wrap: wrap; margin-bottom: 16px; }
.hm-cats-head h2 { font-size: clamp(1.15rem, 1.6vw, 1.4rem); margin: 0; color: #fff; }
.hm-cats-head h2 em { font-style: normal; color: var(--gold-on-dark); }
.hm-cats-head .link-arrow { color: var(--gold-on-dark); }

.hm-cat-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(10, minmax(0, 1fr));
  gap: 8px;
}
.hm-cat-list > li { display: flex; }
.hm-cat {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 10px;
  padding: 16px 6px 14px;
  border-radius: var(--radius);
  border: 1px solid transparent;
  transition: background 0.25s, border-color 0.25s;
}
.hm-cat:hover { background: rgba(255, 255, 255, 0.05); border-color: rgba(255, 204, 26, 0.45); }
.hm-cat-ico {
  width: 58px;
  height: 58px;
  flex: none;
  border-radius: 18px;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--gold-on-dark);
  transition: background 0.25s, color 0.25s, border-color 0.25s, transform 0.35s var(--ease);
}
.hm-cat-ico svg { width: 26px; height: 26px; }
.hm-cat:hover .hm-cat-ico { background: var(--gold); border-color: var(--gold); color: var(--on-gold); transform: translateY(-3px); }

/* round product photo instead of a line icon */
.hm-cat-ico.is-photo {
  width: 84px;
  height: 84px;
  border-radius: 50%;
  overflow: hidden;
  background: #0e0e10;
  border: 2px solid rgba(255, 204, 26, 0.3);
  box-shadow: 0 12px 26px -14px rgba(0, 0, 0, 0.8);
  transition: border-color 0.3s, box-shadow 0.3s, transform 0.35s var(--ease);
}
.hm-cat-ico.is-photo img,
.hm-more-ico.is-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transform-origin: var(--fo, 50% 50%);
  transform: scale(var(--fz, 1));
  transition: transform 0.6s var(--ease);
}
.hm-cat:hover .hm-cat-ico.is-photo {
  background: #0e0e10;
  border-color: var(--gold);
  box-shadow: 0 0 0 4px rgba(255, 204, 26, 0.16), 0 16px 30px -14px rgba(0, 0, 0, 0.85);
  transform: translateY(-4px);
}
.hm-cat:hover .hm-cat-ico.is-photo img { transform: scale(calc(var(--fz, 1) * 1.12)); }
.hm-cat-txt { display: grid; gap: 2px; }
.hm-cat-name { font-weight: 700; color: #fff; font-size: 0.86rem; line-height: 1.25; }
.hm-cat-count { font-size: 0.76rem; color: var(--on-dark-muted); }

/* ==========================================================================
   Bestsellers in Category (tabs)
   ========================================================================== */
.hm-best-head .hm-tabs { min-width: 0; max-width: 100%; }
.hm-tabs {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  scrollbar-width: none;
  padding: 4px;
  margin: -4px;
}
.hm-tabs::-webkit-scrollbar { display: none; }
.hm-tab {
  flex: none;
  height: 42px;
  padding: 0 18px;
  border-radius: var(--radius-pill);
  border: 1.5px solid var(--line-2);
  background: var(--surface);
  color: var(--ink-3);
  font-weight: 700;
  font-size: 0.88rem;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}
.hm-tab:hover { border-color: var(--gold); color: var(--gold-ink); }
.hm-tab[aria-selected="true"] { background: var(--ink); border-color: var(--ink); color: #fff; box-shadow: inset 0 -2px 0 var(--gold); }
.hm-best-panel { border-radius: var(--radius); }
.hm-best-panel:focus-visible { outline-offset: 6px; }
.hm-best-grid.is-anim > * { animation: hmCardIn 0.5s var(--ease) backwards; animation-delay: calc(var(--i, 0) * 45ms); }

/* "shop the whole category" tile at the end of a tab */
.hm-more {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 18px;
  min-height: 260px;
  padding: 22px;
  border-radius: var(--radius);
  background: var(--ink);
  color: var(--on-dark);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.hm-more::after {
  content: "";
  position: absolute;
  right: -70px;
  bottom: -70px;
  width: 220px;
  height: 220px;
  z-index: -1;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 204, 26, 0.32), transparent 66%);
}
.hm-more:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.hm-more-ico {
  width: 54px;
  height: 54px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 216, 77, 0.35);
  color: var(--gold-on-dark);
}
.hm-more-ico svg { width: 26px; height: 26px; }
.hm-more-ico.is-photo { width: 76px; height: 76px; border-radius: 50%; overflow: hidden; border: 2px solid rgba(255, 216, 77, 0.4); }
.hm-more:hover .hm-more-ico.is-photo img { transform: scale(calc(var(--fz, 1) * 1.1)); }
.hm-more-txt { display: grid; gap: 4px; }
.hm-more-txt small { font-size: 0.74rem; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase; color: var(--on-dark-muted); }
.hm-more-txt strong { color: #fff; font-size: 1.15rem; line-height: 1.25; }
.hm-more-go { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; color: var(--gold-on-dark); }
.hm-more-go svg { width: 16px; height: 16px; transition: transform 0.2s; }
.hm-more:hover .hm-more-go svg { transform: translateX(3px); }

/* ==========================================================================
   Popular in … (promo panel + horizontal scroller)
   ========================================================================== */
.hm-arrows { display: flex; align-items: center; gap: 8px; }
.hm-arrows .link-arrow { margin-right: 8px; }
.hm-arrow {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  border: 1.5px solid var(--line-2);
  background: var(--surface);
  color: var(--ink);
  transition: background 0.2s, color 0.2s, border-color 0.2s, opacity 0.2s;
}
.hm-arrow svg { width: 18px; height: 18px; }
.hm-arrow[data-scroll="prev"] svg { transform: rotate(90deg); }
.hm-arrow[data-scroll="next"] svg { transform: rotate(-90deg); }
.hm-arrow:hover:not([aria-disabled="true"]) { background: var(--ink); border-color: var(--ink); color: var(--gold-on-dark); }
.hm-arrow[aria-disabled="true"] { opacity: 0.38; cursor: default; }

.hm-pop {
  display: grid;
  grid-template-columns: 300px minmax(0, 1fr);
  gap: 24px;
  align-items: stretch;
}
.hm-promo {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 28px;
  border-radius: calc(var(--radius) + 4px);
  background:
    radial-gradient(420px 320px at 100% 0%, rgba(255, 204, 26, 0.26), transparent 65%),
    var(--ink);
  color: var(--on-dark);
}
/* photo header that bleeds to the card edges and fades into the anthracite */
.hm-promo-media {
  position: relative;
  display: block;
  height: 210px;
  margin: -28px -28px 4px;
  overflow: hidden;
  background: #0e0e10;
}
.hm-promo-media img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.9s var(--ease); }
.hm-promo-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(23, 23, 26, 0) 40%, rgba(23, 23, 26, 0.55) 72%, var(--ink) 100%);
}
.hm-promo:hover .hm-promo-media img { transform: scale(1.06); }
.hm-promo h3 { color: #fff; font-size: clamp(1.35rem, 1.9vw, 1.6rem); line-height: 1.15; margin: 0; }
.hm-promo h3 span { display: block; color: var(--gold-on-dark); }
.hm-promo p { margin: 0; font-size: 0.92rem; }
.hm-promo .hm-promo-count { color: var(--on-dark-muted); font-weight: 700; font-size: 0.8rem; letter-spacing: 0.08em; text-transform: uppercase; }
.hm-promo .btn { margin-top: auto; align-self: flex-start; }
.hm-promo-link { font-size: 0.86rem; font-weight: 700; color: var(--gold-on-dark); text-decoration: underline; text-underline-offset: 3px; text-decoration-color: rgba(255, 216, 77, 0.4); }
.hm-promo-link:hover { text-decoration-color: var(--gold-on-dark); }

.hm-track {
  --gap: 18px;
  list-style: none;
  margin: -6px 0 -30px;
  padding: 6px 2px 30px;
  min-width: 0;
  display: flex;
  gap: var(--gap);
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory;
  scroll-padding-inline: 2px;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}
.hm-track::-webkit-scrollbar { display: none; }
.hm-slide { flex: 0 0 calc((100% - 3 * var(--gap)) / 3.4); display: flex; scroll-snap-align: start; }
.hm-slide > .p-card { width: 100%; }

/* ==========================================================================
   Limited offers (banner + deal list)
   ========================================================================== */
.hm-offers { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 8fr); gap: 24px; align-items: stretch; }
.hm-offer-banner {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  min-height: 480px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 24px;
  padding: clamp(24px, 3vw, 40px);
  border-radius: calc(var(--radius) + 6px);
  background: var(--ink);
  color: var(--on-dark);
}
.hm-offer-art {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.2s var(--ease);
}
.hm-offer-banner:hover .hm-offer-art { transform: scale(1.04); }
.hm-offer-banner::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, rgba(23, 23, 26, 0.94) 0%, rgba(23, 23, 26, 0.6) 34%, rgba(23, 23, 26, 0) 58%, rgba(23, 23, 26, 0.75) 100%);
}
.hm-offer-banner .eyebrow { color: var(--gold-on-dark); }
.hm-offer-banner h3 { color: #fff; font-size: clamp(1.5rem, 2.3vw, 2.05rem); line-height: 1.12; max-width: 16ch; margin-bottom: 16px; }
.hm-offer-stats { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.hm-offer-stats li {
  display: inline-flex;
  align-items: center;
  padding: 6px 12px;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(255, 216, 77, 0.3);
  background: rgba(23, 23, 26, 0.5);
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--on-dark);
}
.hm-offer-stats li:first-child { background: var(--gold); border-color: var(--gold); color: var(--on-gold); }
.hm-offer-banner .btn { align-self: flex-start; }

.hm-deals { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: 1fr; gap: 16px; }
.hm-deal { position: relative; display: flex; }
.hm-deal > .p-card { flex: 1; }
.hm-deal { --thumb: 112px; }
.hm-deal-pct {
  position: absolute;
  /* pinned to the top-left corner of the vertically centred thumbnail */
  top: calc(50% - var(--thumb) / 2 + 6px);
  left: 19px;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  height: 22px;
  padding: 0 8px;
  border-radius: var(--radius-pill);
  background: var(--sale);
  color: #fff;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.03em;
  pointer-events: none;
}

/* ==========================================================================
   Why shop with GloryVolt
   ========================================================================== */
.hm-why { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.hm-why-item {
  position: relative;
  padding: clamp(22px, 2.6vw, 30px);
  border-radius: var(--radius);
  background: var(--bg);
  border: 1px solid var(--line);
}
.hm-why-item:hover { border-color: var(--gold-light); }
.hm-why-ico {
  width: 54px;
  height: 54px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  background: var(--ink);
  color: var(--gold-on-dark);
  box-shadow: inset 0 0 0 1px rgba(255, 204, 26, 0.3);
}
.hm-why-ico svg { width: 25px; height: 25px; }
.hm-why-num { position: absolute; top: clamp(22px, 2.6vw, 30px); right: clamp(22px, 2.6vw, 30px); font-size: 0.78rem; font-weight: 800; letter-spacing: 0.14em; color: var(--gold-ink); }
.hm-why-item h3 { margin: 18px 0 6px; font-size: 1.12rem; }
.hm-why-item p { margin: 0; color: var(--muted); font-size: 0.93rem; }

/* photo version: the photo bleeds to the card edges, the number sits on it as a yellow pill */
.hm-why-item.has-photo { padding: 0 0 clamp(20px, 2.4vw, 26px); overflow: hidden; background: var(--surface); }
.hm-why-media { display: block; aspect-ratio: 16 / 10; overflow: hidden; background: var(--ink); }
.hm-why-media img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.7s var(--ease); }
.hm-why-item.has-photo:hover .hm-why-media img { transform: scale(1.05); }
.hm-why-item.has-photo h3, .hm-why-item.has-photo p { padding-inline: clamp(20px, 2.4vw, 26px); }
.hm-why-item.has-photo .hm-why-num {
  top: 14px;
  left: 14px;
  right: auto;
  z-index: 1;
  padding: 5px 11px;
  border-radius: var(--radius-pill);
  background: var(--gold);
  color: var(--on-gold);
  letter-spacing: 0.1em;
  box-shadow: 0 6px 16px -6px rgba(0, 0, 0, 0.45);
}

/* ==========================================================================
   Closing CTA band
   ========================================================================== */
.hm-cta {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  padding-block: clamp(56px, 7vw, 96px);
}
.hm-cta::before {
  content: "";
  position: absolute;
  left: -160px;
  top: -200px;
  width: 560px;
  height: 560px;
  z-index: -1;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 204, 26, 0.2), transparent 64%);
}
.hm-cta::after {
  content: "";
  position: absolute;
  right: -120px;
  bottom: -240px;
  width: 520px;
  height: 520px;
  z-index: -1;
  border-radius: 50%;
  border: 1px solid rgba(255, 204, 26, 0.18);
  box-shadow: 0 0 0 60px rgba(255, 204, 26, 0.03), 0 0 0 120px rgba(255, 204, 26, 0.02);
}
.hm-cta-grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 72px); align-items: center; }
.hm-cta h2 { font-size: clamp(1.8rem, 3.2vw, 2.7rem); line-height: 1.1; margin-bottom: 16px; }
.hm-cta h2 em { font-style: normal; color: var(--gold-on-dark); display: block; }
.hm-cta-copy p { max-width: 50ch; font-size: 1.02rem; margin-bottom: 26px; }
.hm-cta-btns { display: flex; flex-wrap: wrap; gap: 12px; }
.hm-cta-card {
  display: grid;
  gap: 10px;
  padding: clamp(16px, 2vw, 22px);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid rgba(255, 216, 77, 0.2);
}
.hm-cta-line {
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
  padding: 14px 16px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  background: rgba(255, 255, 255, 0.03);
  color: var(--on-dark);
  transition: border-color 0.2s, background 0.2s;
}
a.hm-cta-line:hover { border-color: rgba(255, 216, 77, 0.5); background: rgba(255, 255, 255, 0.06); }
.hm-cta-line .ico {
  width: 44px;
  height: 44px;
  flex: none;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--gold);
  color: var(--on-gold);
}
.hm-cta-line .ico svg { width: 20px; height: 20px; }
.hm-cta-line > span:last-child { display: grid; min-width: 0; }
.hm-cta-line small { font-size: 0.72rem; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase; color: var(--on-dark-muted); }
.hm-cta-line strong { color: #fff; font-size: 1.02rem; overflow-wrap: anywhere; }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1180px) {
  .hm-cat-list { grid-template-columns: repeat(5, minmax(0, 1fr)); }
  .hm-pop { grid-template-columns: 260px minmax(0, 1fr); }
  .hm-slide { flex-basis: calc((100% - 2 * var(--gap)) / 2.6); }
}

@media (max-width: 1024px) {
  .hm-offers { grid-template-columns: minmax(0, 1fr); }
  .hm-offer-banner { min-height: 340px; }
  .hm-offer-art {
    left: auto;
    width: 58%;
    object-position: 50% 62%;
    -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 38%);
    mask-image: linear-gradient(90deg, transparent 0%, #000 38%);
  }
  .hm-offer-banner::before { background: linear-gradient(90deg, rgba(23, 23, 26, 1) 0%, rgba(23, 23, 26, 0.92) 42%, rgba(23, 23, 26, 0.2) 75%, rgba(23, 23, 26, 0) 100%); }
  .hm-why { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hm-cta-grid { grid-template-columns: minmax(0, 1fr); }
}

@media (max-width: 900px) {
  /* stacked: copy + featured chip, then the video as a band underneath */
  .hm-hero { flex-direction: column; align-items: stretch; min-height: 0; padding-bottom: 40px; }
  .hm-hero-grid { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  .hm-hero-copy { max-width: 640px; }
  .hm-hero-side { justify-content: flex-start; }
  .hm-hero-media { position: relative; order: 2; left: auto; height: clamp(230px, 48vw, 370px); margin-top: 8px; -webkit-mask-image: none; mask-image: none; }
  .hm-hero-toggle { top: auto; bottom: 70px; }
  .hm-hero-media::after {
    background:
      linear-gradient(180deg, var(--ink) 0%, rgba(23, 23, 26, 0) 32%, rgba(23, 23, 26, 0) 66%, var(--ink) 100%),
      linear-gradient(90deg, rgba(23, 23, 26, 0.5) 0%, rgba(23, 23, 26, 0) 30%, rgba(23, 23, 26, 0) 70%, rgba(23, 23, 26, 0.5) 100%);
  }
  .hm-pop { grid-template-columns: minmax(0, 1fr); }
  .hm-promo { display: grid; grid-template-columns: minmax(180px, 34%) minmax(0, 1fr); column-gap: 24px; row-gap: 8px; align-content: center; padding: 22px 22px 22px 0; }
  .hm-promo-media { grid-column: 1; grid-row: 1 / span 5; height: auto; min-height: 220px; margin: -22px 0; }
  .hm-promo-media::after { background: linear-gradient(90deg, rgba(23, 23, 26, 0) 55%, var(--ink) 100%); }
  .hm-promo > :not(.hm-promo-media) { grid-column: 2; }
  .hm-promo .btn { margin-top: 6px; }
  .hm-promo .btn, .hm-promo-link { justify-self: start; }
}

@media (max-width: 760px) {
  .hm-hero { padding-block: 28px 32px; }
  .hm-hero-sub { margin-bottom: 24px; }
  .hm-hero-ctas { margin-bottom: 24px; }
  .hm-hero-ctas .btn { flex: 1 1 auto; }
  .hm-hero-perks li { font-size: 0.8rem; }
  .hm-hero-feature { width: 100%; max-width: 420px; }

  .hm-cat-list { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  .hm-cat { flex-direction: row; text-align: left; gap: 12px; padding: 10px; border-color: rgba(255, 255, 255, 0.1); background: rgba(255, 255, 255, 0.04); }
  .hm-cat-ico { width: 44px; height: 44px; border-radius: 12px; background: rgba(255, 255, 255, 0.06); }
  .hm-cat-ico svg { width: 22px; height: 22px; }
  .hm-cat-ico.is-photo { width: 52px; height: 52px; border-radius: 50%; }
  .hm-cat-name { font-size: 0.82rem; }
  .hm-cat-count { font-size: 0.72rem; }

  .hm-best-head .hm-tabs { width: 100%; }
  .hm-tab { height: 40px; padding: 0 16px; }
  .hm-more { min-height: 0; padding: 18px; }

  .hm-arrow { display: none; }
  .hm-arrows .link-arrow { margin-right: 0; }
  .hm-promo { grid-template-columns: minmax(0, 1fr); padding: 22px; }
  .hm-promo-media { grid-row: auto; height: 180px; min-height: 0; margin: -22px -22px 6px; }
  .hm-promo-media::after { background: linear-gradient(180deg, rgba(23, 23, 26, 0) 45%, var(--ink) 100%); }
  .hm-promo > :not(.hm-promo-media) { grid-column: auto; }
  .hm-promo .btn { justify-self: stretch; }
  .hm-track {
    --gap: 12px;
    margin-inline: calc(-1 * var(--gutter));
    padding-inline: var(--gutter);
    scroll-padding-inline: var(--gutter);
  }
  .hm-slide { flex-basis: calc((100% - var(--gap)) / 2.15); }

  .hm-offer-banner { min-height: 420px; }
  .hm-offer-art { left: 0; width: 100%; -webkit-mask-image: none; mask-image: none; }
  .hm-offer-banner::before { background: linear-gradient(180deg, rgba(23, 23, 26, 0.95) 0%, rgba(23, 23, 26, 0.62) 40%, rgba(23, 23, 26, 0.05) 64%, rgba(23, 23, 26, 0.8) 100%); }
  .hm-offer-banner .btn { align-self: stretch; }
  .hm-deals { grid-template-columns: minmax(0, 1fr); grid-auto-rows: auto; gap: 12px; }
  .hm-deal { --thumb: 96px; }
  .hm-deal .p-card.is-row .p-media { width: var(--thumb); }

  .hm-why { grid-template-columns: minmax(0, 1fr); }
  .hm-cta-btns .btn { flex: 1 1 auto; }
}
