:root {
  --navy: #06142f;
  --ink: #0a0d16;
  --panel: rgba(9, 19, 44, 0.88);
  --blue: #1768d6;
  --blue-bright: #53a6ff;
  --red: #d71831;
  --red-dark: #831420;
  --gold: #ffcc48;
  --cream: #fff4cf;
  --brown: #6d3a1e;
  --text: #f8fbff;
  --muted: #b8c6dc;
  --line: rgba(255, 255, 255, 0.16);
  --shadow: 0 28px 80px rgba(0, 0, 0, 0.42);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at 24% 12%, rgba(83, 166, 255, 0.22), transparent 30rem),
    radial-gradient(circle at 88% 24%, rgba(215, 24, 49, 0.28), transparent 24rem),
    linear-gradient(135deg, #050815 0%, #06142f 44%, #220b16 100%);
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -1;
  content: "";
  background-image:
    linear-gradient(115deg, transparent 0 19%, rgba(255, 204, 72, 0.09) 19% 20%, transparent 20% 46%, rgba(255, 255, 255, 0.06) 46% 47%, transparent 47%),
    radial-gradient(circle, rgba(255, 255, 255, 0.18) 1px, transparent 1px);
  background-size: 100% 100%, 52px 52px;
  opacity: 0.72;
  pointer-events: none;
}

button,
a {
  font: inherit;
}

button {
  min-height: 46px;
  border: 0;
  border-radius: 999px;
  padding: 0 18px;
  color: var(--text);
  background: rgba(255, 255, 255, 0.09);
  box-shadow: inset 0 0 0 1px var(--line);
  cursor: pointer;
  transition: transform 160ms ease, background 160ms ease, box-shadow 160ms ease;
}

button:hover {
  transform: translateY(-2px);
  background: rgba(255, 255, 255, 0.16);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.34), 0 12px 34px rgba(0, 0, 0, 0.24);
}

button:focus-visible,
a:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 4px;
}

.page-shell {
  width: min(1180px, calc(100% - 36px));
  margin: 0 auto;
  padding: 22px 0 30px;
}

.topbar {
  position: sticky;
  top: 14px;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  min-height: 72px;
  margin-bottom: 24px;
  border: 1px solid var(--line);
  border-radius: 26px;
  padding: 12px;
  background: rgba(5, 10, 24, 0.78);
  backdrop-filter: blur(18px);
  box-shadow: var(--shadow);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  color: inherit;
  text-decoration: none;
}

.brand strong,
.brand small {
  display: block;
  max-width: 44ch;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.brand strong {
  font-size: 1rem;
  line-height: 1.1;
}

.brand small {
  margin-top: 4px;
  color: var(--muted);
  font-size: 0.8rem;
}

.brand-mark {
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  color: #071022;
  background:
    linear-gradient(135deg, var(--gold), var(--red) 48%, var(--blue) 49%),
    var(--gold);
  font-weight: 950;
  letter-spacing: 0;
  box-shadow: 0 0 0 4px rgba(255, 204, 72, 0.12), 0 10px 30px rgba(215, 24, 49, 0.25);
}

.nav-actions,
.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.hero {
  position: relative;
  display: grid;
  min-height: 640px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 32px;
  background: #071329;
  box-shadow: var(--shadow);
  isolation: isolate;
}

.banner-frame {
  position: absolute;
  inset: 0;
  z-index: -2;
}

.banner-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  filter: saturate(1.07) contrast(1.04);
}

.hero::before {
  position: absolute;
  inset: 0;
  z-index: -1;
  content: "";
  background:
    linear-gradient(90deg, rgba(4, 8, 20, 0.96) 0%, rgba(4, 8, 20, 0.74) 34%, rgba(4, 8, 20, 0.16) 70%),
    linear-gradient(0deg, rgba(4, 8, 20, 0.68), transparent 52%);
}

.hero::after {
  position: absolute;
  right: -78px;
  bottom: 72px;
  width: 320px;
  height: 320px;
  border: 18px solid rgba(255, 204, 72, 0.38);
  border-left-color: rgba(215, 24, 49, 0.52);
  border-radius: 50%;
  content: "";
  transform: rotate(-18deg);
}

.hero-copy {
  width: min(640px, 100%);
  align-self: end;
  padding: 52px;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

h1,
h2,
p {
  overflow-wrap: anywhere;
}

h1 {
  max-width: 9ch;
  margin: 0;
  font-size: 5.75rem;
  line-height: 0.92;
  letter-spacing: 0;
  text-transform: uppercase;
}

.ticker-pill {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  margin: 22px 0 20px;
  border-radius: 999px;
  padding: 0 16px;
  color: #081022;
  background: linear-gradient(135deg, var(--gold), #fff5be);
  font-weight: 950;
  box-shadow: 0 12px 30px rgba(255, 204, 72, 0.22);
}

.lead {
  max-width: 56ch;
  margin: 0 0 26px;
  color: #e8eefc;
  font-size: 1.1rem;
  line-height: 1.75;
}

.primary-action {
  color: #071022;
  background: linear-gradient(135deg, var(--gold), #fff4b8 44%, var(--red) 45%, var(--red));
  box-shadow: 0 18px 46px rgba(215, 24, 49, 0.26);
  font-weight: 900;
}

.comic-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin: 18px 0;
}

.comic-strip article {
  min-height: 210px;
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 22px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.02)),
    rgba(6, 16, 38, 0.78);
  box-shadow: 0 18px 54px rgba(0, 0, 0, 0.25);
}

.comic-strip span {
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  color: var(--ink);
  background: var(--gold);
  font-weight: 950;
}

.comic-strip h2 {
  margin: 20px 0 10px;
  font-size: 1.35rem;
  line-height: 1.15;
}

.comic-strip p,
.story-panel p {
  color: var(--muted);
  line-height: 1.7;
}

.poster-grid {
  display: grid;
  grid-template-columns: minmax(280px, 430px) minmax(0, 1fr);
  gap: 18px;
  align-items: stretch;
}

.portrait-panel,
.story-panel {
  border: 1px solid var(--line);
  border-radius: 28px;
  overflow: hidden;
  background: var(--panel);
  box-shadow: 0 18px 54px rgba(0, 0, 0, 0.26);
}

.portrait-panel {
  min-height: 520px;
}

.portrait-panel img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
}

.story-panel {
  padding: 34px;
}

.story-panel h2 {
  max-width: 15ch;
  margin: 0 0 18px;
  font-size: 3.2rem;
  line-height: 1;
  letter-spacing: 0;
}

.mini-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 28px;
}

.mini-stats div {
  min-height: 100px;
  border-radius: 18px;
  padding: 16px;
  background: rgba(255, 255, 255, 0.08);
}

.mini-stats strong,
.mini-stats span {
  display: block;
}

.mini-stats strong {
  color: var(--gold);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.mini-stats span {
  margin-top: 10px;
  font-weight: 850;
}

footer {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  margin-top: 18px;
  border-top: 1px solid var(--line);
  padding: 22px 2px 0;
  color: var(--muted);
}

@media (max-width: 860px) {
  .page-shell {
    width: min(100% - 24px, 720px);
    padding-top: 12px;
  }

  .topbar {
    position: static;
    align-items: flex-start;
    flex-direction: column;
  }

  .nav-actions,
  .cta-row {
    width: 100%;
  }

  .nav-actions button,
  .cta-row button {
    flex: 1 1 120px;
  }

  .hero {
    min-height: 650px;
  }

  .hero::before {
    background:
      linear-gradient(0deg, rgba(4, 8, 20, 0.96) 0%, rgba(4, 8, 20, 0.68) 58%, rgba(4, 8, 20, 0.18) 100%);
  }

  .hero-copy {
    align-self: end;
    padding: 28px;
  }

  h1 {
    font-size: 4rem;
  }

  .comic-strip,
  .poster-grid {
    grid-template-columns: 1fr;
  }

  .portrait-panel {
    min-height: 430px;
  }

  .story-panel h2 {
    max-width: 16ch;
    font-size: 2.25rem;
  }

  .mini-stats {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 470px) {
  button {
    min-height: 44px;
    padding: 0 14px;
  }

  .brand {
    width: 100%;
  }

  .brand strong,
  .brand small {
    max-width: 24ch;
  }

  .hero {
    min-height: 590px;
    border-radius: 24px;
  }

  .hero-copy {
    padding: 22px;
  }

  h1 {
    font-size: 3.1rem;
  }

  .lead {
    font-size: 1rem;
  }

  .story-panel {
    padding: 24px;
  }
}
