/* HELLWAY V12 / THE FINISH: restraint, physicality, authored motion. */
:root { --hw12-ease:cubic-bezier(.18,.72,.25,1); }
/* Remove only the *floating* cross. Small static brand dividers stay in the editorial system. */
.hw4-flare.hw7-float-cross {display:none!important}
/* The two skull sprites inhabit the landscape, never the title or primary action. */
.hw4-hero .hw4-float-skull {
  width:clamp(26px,2.7vw,39px);left:clamp(18px,6.2vw,120px);right:auto;
  top:58%;opacity:.90;z-index:1;
  filter:drop-shadow(3px 4px 0 #130908);
  animation:hw12-skull-drift 7.8s steps(14,end) infinite;
}
.hw12-ghost-skull {
  position:absolute;top:26%;right:clamp(18px,8vw,160px);width:clamp(20px,2vw,31px);
  opacity:.68;z-index:1;pointer-events:none;image-rendering:pixelated;
  filter:drop-shadow(2px 3px 0 #1b0b09);
  animation:hw12-skull-drift-alt 9.8s steps(16,end) infinite;
}
@keyframes hw12-skull-drift {0%,100%{transform:translate3d(0,0,0) rotate(-7deg)}50%{transform:translate3d(8px,-16px,0) rotate(7deg)}}
@keyframes hw12-skull-drift-alt {0%,100%{transform:translate3d(0,0,0) rotate(6deg)}50%{transform:translate3d(-10px,11px,0) rotate(-6deg)}}
/* Depth comes from three independently controlled layers. No blur, glowing glass or plastic UI. */
.hw12-depth-stage{--hw12-x:0px;--hw12-y:0px;--hw12-look-x:0deg;--hw12-look-y:0deg;}
.hw12-depth-stage .hw4-scene {
  inset:-12px;
  transform:translate3d(calc(var(--hw12-x) * .34),calc(var(--hw12-y) * .22),0) scale(1.018);
  will-change:transform;
  transition:transform .7s var(--hw12-ease);
}
.hw12-depth-stage .hw4-lockup {
  transform:perspective(1100px) rotateX(var(--hw12-look-y)) rotateY(var(--hw12-look-x));
  transform-style:preserve-3d;transition:transform .45s var(--hw12-ease);
  will-change:transform;
}
.hw12-depth-stage .hw4-lockup .hw4-skull{transform:translateZ(20px)}
.hw12-depth-stage .hw4-motto,.hw12-depth-stage .hw4-hero-buttons{position:relative;z-index:3}
/* Forged-print edging: a touch of light travel, only on interaction. */
.hw4-primary {position:relative;isolation:isolate;overflow:hidden}
.hw4-primary::after {content:'';position:absolute;inset:0;pointer-events:none;opacity:0;
  background:linear-gradient(115deg,transparent 10%,rgba(255,228,181,.22) 49%,transparent 54%);
  transform:translateX(-115%);transition:transform .55s steps(10,end),opacity .18s ease;}
@media(hover:hover){.hw4-primary:hover::after{opacity:1;transform:translateX(115%)}}
/* Game covers are rigid physical pieces: tilt the frame, never recolor, crop or move the original art. */
.hw4-game{--hw12-tilt-x:0deg;--hw12-tilt-y:0deg;transform-style:preserve-3d;perspective:1100px;}
.hw4-game .hw4-cover {transform:perspective(1100px) rotateX(var(--hw12-tilt-x)) rotateY(var(--hw12-tilt-y));
  transform-style:preserve-3d;transition:transform .33s var(--hw12-ease),border-color .18s ease,box-shadow .18s ease;}
.hw4-game .hw4-cover .official-poster{transform:none!important;filter:none!important;object-fit:contain!important}
@media(hover:hover){.hw4-game:hover .hw4-cover{box-shadow:8px 10px 0 #070605}}
.hw4-game .hw4-cover:active{transform:perspective(1100px) translateY(2px) rotateX(0) rotateY(0)}
/* Tactile page transitions: lines reveal the next section as the user scrolls. */
.hw4-select,.hw4-feature,.hw4-notes,.hw9-outtakes{position:relative}
.hw4-select::before,.hw4-feature::before,.hw4-notes::before,.hw9-outtakes::before {
  content:'';position:absolute;left:0;top:0;height:3px;width:100%;
  background:linear-gradient(90deg,#d94130 0 19%,#e5bb88 19% 21%,#3b2119 21% 100%);pointer-events:none;
}
.hw12-reveal {transition:opacity .7s ease,translate .7s var(--hw12-ease)}
.hw12-reveal:not(.hw12-visible){opacity:.65;translate:0 9px}
.hw12-reveal.hw12-visible{opacity:1;translate:0 0}
/* Mouse follows only when there is a real mouse. Small screens get hand-composed stillness. */
@media(max-width:900px),(pointer:coarse){
  .hw12-depth-stage .hw4-scene{inset:0;transform:none!important;will-change:auto}
  .hw12-depth-stage .hw4-lockup{transform:none!important;will-change:auto}
  .hw4-game .hw4-cover{transform:none!important}
  .hw4-hero .hw4-float-skull{left:5%;top:67%;width:24px}
  .hw12-ghost-skull{right:7%;top:25%;width:20px}
}
@media(max-width:560px){
  .hw4-hero .hw4-float-skull{top:76%;left:7%;opacity:.68;width:21px}
  .hw12-ghost-skull{top:19%;right:6%;width:18px;opacity:.52}
}
@media(prefers-reduced-motion:reduce){
  .hw4-hero .hw4-float-skull,.hw12-ghost-skull{animation:none!important}
  .hw12-depth-stage .hw4-scene,.hw12-depth-stage .hw4-lockup,.hw4-game .hw4-cover{transform:none!important;transition:none!important}
  .hw12-reveal{opacity:1!important;translate:none!important;transition:none!important}
  .hw4-primary::after{display:none!important}
}
