.hero {
  position: relative;
  isolation: isolate;
  overflow: clip;
  background: var(--ink);
}

.hero-atmosphere {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(ellipse at 78% 46%, rgba(184,255,25,.15), transparent 55%);
  transition: opacity .8s var(--ease);
}

.hero-backdrop-type {
  position: absolute;
  top: 50%;
  right: -1.5%;
  transform: translateY(-50%);
  color: transparent;
  -webkit-text-stroke: 1px rgba(184,255,25,.2);
  font-family: "Bebas Neue", sans-serif;
  font-size: clamp(18rem, 34vw, 36rem);
  line-height: 1;
  letter-spacing: -.025em;
  pointer-events: none;
  user-select: none;
  transition: opacity .8s var(--ease);
}

.hero-inner {
  position: relative;
  width: min(calc(100% - 4rem), var(--max));
  min-height: clamp(780px, calc(100svh - 78px), 940px);
  margin-inline: auto;
  padding-block: 64px 110px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
}

.hero-copy { position: relative; z-index: 3; }

.hero h1 {
  margin: 0;
  font-size: clamp(5rem, 8.8vw, 8.5rem);
  line-height: .89;
  text-transform: uppercase;
  text-wrap: nowrap;
}

.hero h1 > span { display: block; }
.hero-title-intro { margin-bottom: .18em; font-size: .4em; color: var(--bone); letter-spacing: .015em; }
.hero-title-main { color: var(--bone); }
.hero-title-finale { font-size: 1.45em; color: var(--acid); }
.hero-full-stop { color: var(--bone); }

.hero-description {
  max-width: 34ch;
  margin: 1.5rem 0 0;
  color: var(--muted);
  font-size: 1.125rem;
  line-height: 1.55;
}

.hero-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 1.75rem; margin-top: 1.75rem; }
.hero-catalog-link { min-height: 58px; gap: 2rem; padding-inline: 1.35rem; border-radius: 10px; }
.hero-actions svg, .hero-product-select svg { width: 24px; height: 24px; flex: none; }
.hero-catalog-link svg { transition: transform .3s var(--ease); }
.hero-catalog-link:hover svg { transform: translateX(4px); }
.hero-how-link { display: inline-flex; align-items: center; gap: .6rem; min-height: 48px; font-weight: 600; text-decoration: none; }
.hero-how-link:hover { color: var(--acid); }
.hero-how-link svg { width: 18px; height: 18px; }
.hero-availability { display: flex; align-items: center; gap: .65rem; margin: 1.4rem 0 0; font-size: .8125rem; color: var(--muted); }
.hero-availability-line { width: 22px; height: 1px; background: var(--acid); flex: none; }

.hero-product {
  position: absolute;
  inset: 0 -5% 95px 46%;
  margin: 0;
  z-index: 2;
  min-width: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-artwork {
  position: absolute;
  inset: 0 0 132px;
  width: 100%;
  overflow: clip;
  touch-action: pan-y pinch-zoom;
  cursor: grab;
}

.hero-mask {
  --slide-x: 0%;
  --slide-y: 0%;
  --slide-angle: 4deg;
  --slide-scale: 1.1;
  position: absolute;
  inset: 5% 15%;
  width: 70%;
  height: 90%;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: grab;
  transform-origin: 50% 50%;
  transform: translate3d(calc(var(--slide-x) + var(--hero-drag, 0px)), var(--slide-y), 0) rotate(var(--slide-angle)) scale(var(--slide-scale));
  transition: transform .95s cubic-bezier(.22,1,.36,1), opacity .6s ease;
}

.hero-mask img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  transform: none;
  filter: drop-shadow(18px 32px 28px rgba(0,0,0,.55));
  pointer-events: none;
  user-select: none;
  -webkit-user-drag: none;
}

.hero-mask[data-hero-mask="M10"] img { transform: scale(1.18); }
.hero-mask[data-position="0"] { z-index: 5; opacity: 1; }
.hero-mask[data-position="-1"] { --slide-x: -78%; --slide-y: 3%; --slide-angle: -6deg; --slide-scale: .72; z-index: 3; opacity: .72; }
.hero-mask[data-position="1"] { --slide-x: 78%; --slide-y: 3%; --slide-angle: 8deg; --slide-scale: .72; z-index: 3; opacity: .72; }
.hero-mask[data-position="-2"] { --slide-x: -156%; --slide-angle: -8deg; --slide-scale: .66; z-index: 1; opacity: 0; pointer-events: none; }
.hero-mask[data-position="2"] { --slide-x: 156%; --slide-angle: 10deg; --slide-scale: .66; z-index: 1; opacity: 0; pointer-events: none; }
.hero-mask:not([data-position="0"]):hover { opacity: 1; }
.hero-artwork.is-dragging, .hero-artwork.is-dragging .hero-mask { cursor: grabbing; }
.hero-artwork.is-dragging .hero-mask { transition: none; }

.hero-product-meta {
  position: absolute;
  z-index: 6;
  bottom: 60px;
  right: 2%;
  left: 8%;
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem 0 0;
  border-top: 1px solid rgba(184,255,25,.45);
  background: var(--ink);
}

.hero-model-code { font-family: "Bebas Neue", sans-serif; font-size: 2.5rem; color: var(--acid); line-height: 1; }
.hero-product-name { color: var(--bone); font-size: 1.125rem; font-weight: 600; line-height: 1.3; }
.hero-product-name small { display: block; margin-top: .2rem; font-size: .8125rem; font-weight: 400; color: var(--muted); }
.hero-product-meta > strong { margin-left: auto; font-family: "Bebas Neue", sans-serif; color: var(--bone); font-size: 2.2rem; font-weight: 400; white-space: nowrap; }
.hero-product-select { display: grid; place-items: center; flex: none; width: 46px; height: 46px; padding: 0; color: var(--acid); background: var(--panel); border: 1px solid var(--line); border-radius: 10px; cursor: pointer; transition: background .25s var(--ease), color .25s var(--ease); }
.hero-product-select:hover { background: var(--acid); color: var(--ink); }

.hero-controls { position: absolute; z-index: 6; bottom: 0; left: 8%; right: 2%; display: grid; grid-template-columns: minmax(0,1fr) 44px; align-items: center; gap: .75rem; }
.hero-choices { display: flex; min-width: 0; gap: .25rem; }
.hero-choices button { position: relative; flex: 1; min-width: 0; min-height: 44px; padding: .5rem .25rem; border: 0; background: transparent; color: var(--muted); font: inherit; font-size: .8125rem; font-weight: 600; cursor: pointer; transition: color .2s var(--ease); }
.hero-choices button::after { content: ""; position: absolute; bottom: 3px; left: 25%; right: 25%; height: 2px; background: var(--acid); transform: scaleX(0); transition: transform .3s var(--ease); }
.hero-choices button[aria-pressed="true"] { color: var(--acid); }
.hero-choices button[aria-pressed="true"]::after { transform: scaleX(1); }
.hero-choices button:hover { color: var(--bone); }
.hero-autoplay { display: grid; place-items: center; width: 44px; height: 44px; padding: 0; border: 1px solid var(--line); border-radius: 50%; background: transparent; color: var(--muted); cursor: pointer; }
.hero-autoplay:hover { color: var(--acid); border-color: var(--acid); }
.hero-autoplay svg { width: 18px; height: 18px; }
.hero-autoplay .hero-play-icon, .hero-autoplay[aria-pressed="true"] .hero-pause-icon { display: none; }
.hero-autoplay[aria-pressed="true"] .hero-play-icon { display: block; }
.hero-announcement { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

.hero-floor {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 78px;
  border-top: 1px solid var(--line);
  z-index: 4;
}

.hero-scroll-cue { display: inline-flex; align-items: center; gap: .65rem; padding-block: .75rem; color: var(--muted); font-size: .875rem; text-decoration: none; }
.hero-scroll-cue svg { width: 18px; height: 18px; color: var(--acid); }
.hero-scroll-cue:hover { color: var(--bone); }
.hero-light-switch { display: inline-flex; align-items: center; gap: .7rem; min-height: 44px; padding: .5rem 0 .5rem .75rem; border: 0; background: transparent; color: var(--muted); font-size: .875rem; cursor: pointer; }
.hero-light-switch:hover { color: var(--bone); }
.hero-switch-track { display: block; width: 38px; height: 22px; padding: 4px; border: 1px solid var(--acid); border-radius: 999px; }
.hero-switch-track span { display: block; width: 12px; height: 12px; border-radius: 50%; background: var(--acid); transform: translateX(15px); transition: transform .35s var(--ease), background .35s var(--ease); }
.hero.is-dimmed .hero-atmosphere { opacity: .08; }
.hero.is-dimmed .hero-backdrop-type { opacity: .18; }
.hero.is-dimmed .hero-switch-track { border-color: var(--muted); }
.hero.is-dimmed .hero-switch-track span { transform: translateX(0); background: var(--muted); }

@media (min-width: 761px) {
  .site-header { border-bottom-color: rgba(245,239,230,.07); }
  .hero-product-meta { border-top-color: rgba(184,255,25,.16); }
  .hero-floor { border-top-color: rgba(245,239,230,.07); }
  .hero-artwork {
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
    mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  }
}

@media (min-width: 1600px) {
  .hero-product { right: -6%; }
}

@media (max-width: 1000px) and (min-width: 761px) {
  .hero-inner { width: calc(100% - 3rem); min-height: 750px; }
  .hero h1 { font-size: clamp(4.75rem, 9.5vw, 6rem); }
  .hero-product { left: 47%; right: -5%; top: 0; bottom: 100px; }
  .hero-actions { gap: 1rem; }
  .hero-catalog-link { gap: 1rem; }
  .hero-description { max-width: 28ch; font-size: 1rem; }
  .hero-product-meta { left: 2%; right: 6%; gap: .65rem; }
  .hero-controls { left: 2%; right: 6%; gap: .5rem; }
  .hero-model-code { display: none; }
  .hero-product-name { font-size: 1rem; }
  .hero-product-meta > strong { font-size: 1.8rem; }
}

@media (max-width: 760px) {
  .hero-inner { width: min(calc(100% - 2.5rem), 520px); min-height: 0; padding: 34px 0 0; display: flex; flex-direction: column; align-items: stretch; }
  .hero-copy { display: contents; }
  .hero h1 { position: relative; z-index: 3; order: 0; font-size: clamp(3.5rem, 16.5vw, 5.6rem); line-height: .92; }
  .hero-title-intro { font-size: .38em; margin-bottom: .22em; }
  .hero h1 .hero-title-finale { display: block; font-size: 1em; }
  .hero h1 .hero-title-main { display: block; }
  .hero-backdrop-type { top: 300px; right: -12%; font-size: 70vw; }
  .hero-atmosphere { background: radial-gradient(ellipse at 50% 40%, rgba(184,255,25,.15), transparent 65%); }
  .hero-product { position: relative; inset: auto; order: 3; width: 100%; height: clamp(520px, 130vw, 650px); margin: 1.25rem 0 0; }
  .hero-artwork { inset: 0 -6% 132px; width: 112%; }
  .hero-product-meta { left: 0; right: 0; gap: .7rem; padding-top: .8rem; }
  .hero-controls { left: 0; right: 0; gap: .5rem; }
  .hero-model-code { font-size: 2.1rem; }
  .hero-product-name { font-size: 1rem; }
  .hero-product-meta > strong { font-size: 2rem; }
  .hero-description { order: 1; max-width: 39ch; font-size: 1rem; margin-top: 1rem; }
  .hero-actions { order: 2; margin-top: 1rem; justify-content: space-between; gap: 1rem; }
  .hero-catalog-link { flex: 1; gap: 1rem; min-height: 54px; }
  .hero-how-link { font-size: .9375rem; }
  .hero-availability { order: 4; font-size: .78rem; margin: 1rem 0 1.6rem; }
  .hero-floor { position: relative; order: 5; min-height: 64px; gap: .5rem; }
  .hero-light-switch, .hero-scroll-cue { font-size: .8125rem; }
}

@media (max-width: 380px) {
  .hero-inner { width: calc(100% - 2rem); }
  .hero-model-code { display: none; }
  .hero-actions { gap: .85rem; }
  .hero-catalog-link { padding-inline: 1rem; gap: .5rem; }
  .hero-how-link { gap: .2rem; }
  .hero-floor { gap: .25rem; }
  .hero-light-switch { gap: .4rem; padding-left: .25rem; }
}

@media (prefers-reduced-motion: reduce) {
  .hero *, .hero *::before, .hero *::after { animation: none !important; transition: none !important; }
}
