/* HELLWAY GAMES / FINISH 007
   A single intentional motif, quieter details, original game art unchanged. */
:root { --hw7-ink: #110c0a; --hw7-red: #ef452e; --hw7-paper: #efe0bf; }

/* PIXEL CROSS: replaces the old asterisk and four-point spark. No font glyph dependency. */
.hw7-cross {
  display: inline-block; flex: 0 0 auto;
  width: 20px; height: 20px;
  background: url('assets/hellway-pixel-cross.svg') center / contain no-repeat;
  vertical-align: middle;
}
.hw4-motto { gap: clamp(12px,1.5vw,20px); margin-top: 24px; }
.hw4-motto .hw7-cross { width: clamp(14px,1.6vw,22px); height: clamp(14px,1.6vw,22px); }
.hw4-flare.hw7-float-cross {
  width: 30px; height: 30px; display: block;
  background: url('assets/hellway-pixel-cross.svg') center/contain no-repeat;
  right: 27%; top: 21%; font-size: 0;
  opacity: .86;
}
.hw4-ticker { border-top: 2px solid #f4b578; }
.hw4-ticker div { display: block; padding: 12px 0 11px; animation-duration: 48s; letter-spacing: .12em; }
.hw4-ticker .hw7-cross { margin: 0 30px; width: 17px; height: 17px; vertical-align: -3px; }
.hw4-ticker:hover div, .hw4-ticker:focus-within div { animation-play-state: paused; }
/* The old glyph in older unused marquee styles cannot leak into new pages. */
.nav a:nth-child(2):before, .nav a:nth-child(4):before, .nav a:nth-child(6):before { content: none!important; }
.marquee-inner span:after { content: ''; display: inline-block; width: 14px; height: 14px; margin-left: 40px; vertical-align: -2px; background: url('assets/hellway-pixel-cross.svg') center/contain no-repeat; }

/* Header: an unmistakable arcade strip; precise equal-size targets with centered labels. */
.site-header:before { height: 4px; background: repeating-linear-gradient(90deg, #e5452f 0 18px, #100c0b 18px 26px, #e9d2ad 26px 38px, #100c0b 38px 46px); }
.site-header .head-inner { min-height: 85px; column-gap: clamp(20px,3.2vw,52px); }
.site-header .nav { gap: clamp(7px,.85vw,13px); }
.site-header .nav a {
  font-size: clamp(.69rem,.83vw,.84rem); min-height: 48px; height: 48px;
  letter-spacing: .09em;
  outline: 1px solid #2c1a14; outline-offset:-5px;
  box-shadow:inset 0 -3px 0 #20130e;
  border-color:#9d7d5b;
}
.site-header .nav a:hover,.site-header .nav a:focus-visible {
  background:#3c211a; border-color:#f2c998; box-shadow: inset 0 -3px 0 #872e24;
}
.site-header .nav a[aria-current="page"] { background: #b93222; border-color: #edbe86; }
.site-header .brand-name { letter-spacing: .015em; }
.site-header .brand img { image-rendering: auto; }

/* Hero: let the mark and lettering lead; no additional effects on the original artwork. */
.hw4-hero { isolation: isolate; }
.hw4-hero-inner { padding-bottom: 72px; }
.hw4-lockup { margin-top: 33px; }
.hw4-suptitle { opacity: .88; }
.hw4-motto { color: #f4e2c3; text-transform: uppercase; text-align: center; }
.hw4-hero-buttons { margin-top: 29px; gap: 24px; }
.hw4-primary { letter-spacing: .06em; }
.hw4-secondary { text-underline-offset: 5px; }
.hw4-scenery-credit { font-size: .63rem; opacity: .7; }
.hw4-float-skull { opacity: .9; }

/* Original posters stay full-frame, unfiltered, unaltered. Polish only the physical frame. */
.hw4-select { padding-top: clamp(60px,5.5vw,84px); }
.hw4-select-head { border-bottom-color:#957252; padding-bottom: 28px; }
.hw4-select-head p { font-size: clamp(.86rem,1.05vw,1rem); line-height: 1.5; }
.hw4-cover { border: 3px solid #b98e63; outline: 2px solid #1a110d; outline-offset:-8px; box-shadow: 5px 6px 0 #060504; }
.hw4-cover:focus-visible { outline-offset: 3px; }
.hw4-corner-serial { letter-spacing: .045em; background: #180e0b; border-color:#dfbc86; }
.hw4-game-footer { padding-top: 15px; }
.hw4-game-footer a { align-items: baseline; min-height: 2rem; }
.hw4-game-footer a span { margin-left:auto; }
.hw4-select-foot { align-items: baseline; }
.hw4-select-foot a { text-underline-offset: 5px; }

/* Supporting chapters: smaller details, calmer hierarchy. */
.hw4-feature-heading p,.hw4-notes-head p,.hw4-physical-copy p { line-height: 1.55; }
.hw4-text-link { text-underline-offset: 6px; }
.hw4-articles a { grid-template-columns: 115px minmax(0,1fr) 24px; }
.hw4-articles a strong { text-wrap: pretty; }
.hw4-feature-gallery a img { image-rendering: auto; }
.hw4-physical-visual img { image-rendering: auto; }
.hw4-lastcall h2 { text-wrap: balance; }

@media (max-width:1080px) {
  .site-header .head-inner { min-height:74px; }
  .site-header .nav a { font-size: .82rem; height: 54px; min-height:54px; }
}
@media (max-width:640px) {
  .hw4-motto { gap:9px; letter-spacing:.035em; }
  .hw4-motto .hw7-cross { width: 12px; height: 12px; }
  .hw4-flare.hw7-float-cross { display:none; }
  .hw4-hero-inner { padding-bottom: 56px; }
  .hw4-scenery-credit { opacity:.6; }
  .hw4-game-footer a { min-height: auto; }
  .hw4-select { padding-top: 51px; }
  .hw4-select-head { padding-bottom:19px; }
  .hw4-ticker .hw7-cross { width:13px; height:13px; margin: 0 19px; vertical-align:-2px; }
  .hw4-ticker div { font-size: .87rem; }
  .hw4-articles a { grid-template-columns:minmax(0,1fr) 22px; }
}
@media (prefers-reduced-motion:reduce) {
  .hw4-ticker div,.hw4-float { animation:none!important; }
}
