:root {
  --blue-deep: #061833;
  --blue-mid: #0b3d91;
  --blue-hero: #1565c0;
  --blue-glow: #1e88e5;
  --cape: #e31b23;
  --cape-deep: #9b0d14;
  --gold: #f4c430;
  --gold-hot: #ffe082;
  --ink: #071226;
  --paper: #f4f7ff;
  --mute: #c5d4f0;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--paper);
  font-family: "Nunito", system-ui, sans-serif;
  background: var(--blue-deep);
  overflow-x: hidden;
}

body.nav-open {
  overflow: hidden;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
  object-fit: contain;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
.btn {
  font-family: inherit;
}

figure {
  margin: 0;
}

.jumbotron,
.portrait-slot,
.mural,
.emblem {
  overflow: visible;
}

.sky {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
  background:
    radial-gradient(ellipse 70% 55% at 50% -8%, rgba(244, 196, 48, 0.22), transparent 58%),
    radial-gradient(ellipse 50% 40% at 12% 18%, rgba(227, 27, 35, 0.18), transparent 50%),
    radial-gradient(ellipse 46% 38% at 90% 8%, rgba(30, 136, 229, 0.35), transparent 52%),
    linear-gradient(180deg, #0a3a96 0%, #0c4db8 22%, #0b3d91 52%, #071f4e 100%);
}

.sky-rings {
  position: absolute;
  left: 50%;
  bottom: -18%;
  width: 160vw;
  height: 160vw;
  transform: translateX(-50%);
  background:
    radial-gradient(circle at 50% 50%, transparent 42%, rgba(255, 255, 255, 0.07) 42.6%, transparent 43.1%),
    radial-gradient(circle at 50% 50%, transparent 54%, rgba(244, 196, 48, 0.1) 54.5%, transparent 55%),
    radial-gradient(circle at 50% 50%, transparent 66%, rgba(255, 255, 255, 0.05) 66.5%, transparent 67%),
    radial-gradient(circle at 50% 50%, transparent 78%, rgba(227, 27, 35, 0.1) 78.5%, transparent 79%);
}

.cape-sweep {
  position: absolute;
  top: -12%;
  width: 46vw;
  height: 130%;
  background: linear-gradient(180deg, rgba(227, 27, 35, 0.42), rgba(155, 13, 20, 0.05) 70%, transparent);
  filter: blur(8px);
}

.cape-sweep.left {
  left: -18vw;
  border-radius: 0 80% 60% 0;
}

.cape-sweep.right {
  right: -18vw;
  border-radius: 80% 0 0 60%;
}

.site {
  position: relative;
  z-index: 1;
}

.wrap {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
}

/* ── NAV: scoreboard strip, not a comic panel ── */
.topbar {
  position: sticky;
  top: 0;
  z-index: 40;
  background: linear-gradient(180deg, rgba(6, 24, 51, 0.94), rgba(11, 61, 145, 0.88));
  border-bottom: 4px solid var(--gold);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.28);
  backdrop-filter: blur(10px);
}

.topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 76px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.brand img {
  width: 52px;
  height: 52px;
  object-fit: contain;
  flex-shrink: 0;
}

.brand-copy {
  display: flex;
  flex-direction: column;
  line-height: 1;
}

.brand-copy strong {
  font-family: "Bungee", sans-serif;
  font-size: 0.95rem;
  letter-spacing: 0.04em;
  color: #fff;
}

.brand-copy span {
  font-family: "Bungee", sans-serif;
  font-size: 0.72rem;
  color: var(--gold);
}

.menu {
  display: flex;
  align-items: center;
  gap: 6px;
}

.menu a {
  font-family: "Bungee", sans-serif;
  font-size: 0.68rem;
  letter-spacing: 0.06em;
  padding: 8px 12px;
  color: var(--mute);
}

.menu a:hover {
  color: var(--gold);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.icon-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 42px;
  padding: 0 14px;
  border: 3px solid #071226;
  background: #fff;
  color: #071226;
  font-family: "Bungee", sans-serif;
  font-size: 0.68rem;
  letter-spacing: 0.04em;
  box-shadow: 4px 4px 0 #071226;
}

.icon-btn i {
  font-size: 1.05rem;
}

.icon-btn.x {
  background: #fff;
}

.icon-btn.buy {
  background: var(--gold);
}

.icon-btn.chart {
  background: #8fd3ff;
}

.icon-btn:hover {
  transform: translate(-1px, -1px);
  box-shadow: 5px 5px 0 #071226;
}

.nav-toggle {
  display: none;
  width: 46px;
  height: 46px;
  border: 3px solid #071226;
  background: var(--gold);
  color: #071226;
  box-shadow: 3px 3px 0 #071226;
  font-size: 1.4rem;
}

/* ── HERO: looking up into a launch sky, jumbotron below copy ── */
.hero {
  padding: 42px 0 28px;
}

.hero-copy {
  text-align: center;
  max-width: 920px;
  margin: 0 auto 28px;
}

.kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: "Bungee", sans-serif;
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  color: var(--gold);
  background: rgba(7, 18, 38, 0.45);
  border: 2px solid var(--gold);
  padding: 8px 14px;
}

.wordmark {
  margin: 18px 0 6px;
  font-family: "Titan One", sans-serif;
  font-size: clamp(3.1rem, 11vw, 8rem);
  line-height: 0.86;
  color: var(--gold-hot);
  letter-spacing: 0.01em;
  text-shadow:
    3px 3px 0 var(--cape),
    6px 6px 0 var(--cape-deep),
    9px 9px 0 #071226;
}

.symbol {
  font-family: "Bungee", sans-serif;
  font-size: clamp(1.3rem, 3vw, 2rem);
  color: #fff;
  letter-spacing: 0.18em;
}

.hero-bio {
  margin: 18px auto 0;
  max-width: 640px;
  font-size: 1.12rem;
  line-height: 1.55;
  color: #eaf2ff;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 22px;
}

.btn-hero {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 52px;
  padding: 0 20px;
  border: 3px solid #071226;
  font-family: "Bungee", sans-serif;
  font-size: 0.82rem;
  letter-spacing: 0.04em;
  box-shadow: 5px 5px 0 #071226;
}

.btn-hero.buy {
  background: var(--gold);
  color: #071226;
}

.btn-hero.chart {
  background: #fff;
  color: #071226;
}

.btn-hero.x {
  background: var(--cape);
  color: #fff;
}

.btn-hero:hover {
  transform: translate(-1px, -1px);
  box-shadow: 6px 6px 0 #071226;
}

.jumbotron {
  margin-top: 8px;
  background: linear-gradient(180deg, #08275f, #061833);
  border: 6px solid var(--gold);
  box-shadow:
    0 0 0 6px #071226,
    0 22px 40px rgba(0, 0, 0, 0.35);
  padding: 10px;
}

.jumbotron img {
  width: 100%;
  height: auto;
  object-fit: contain;
}

.jumbotron figcaption {
  margin: 10px 8px 4px;
  text-align: center;
  font-family: "Bungee", sans-serif;
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  color: var(--gold);
}

/* ── ABOUT: personnel file / origin dossier ── */
.about {
  padding: 28px 0 10px;
}

.dossier {
  background: #f7f1de;
  color: #1a140c;
  border: 6px solid #071226;
  box-shadow: 14px 14px 0 rgba(7, 18, 38, 0.45);
}

.dossier-tabrow {
  display: flex;
  gap: 8px;
  padding: 12px 16px 0;
  background: #d32f2f;
  border-bottom: 6px solid #071226;
}

.tab {
  background: #f7f1de;
  color: #071226;
  font-family: "Bungee", sans-serif;
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  padding: 10px 16px 12px;
  border: 3px solid #071226;
  border-bottom: 0;
}

.tab.ghost {
  background: rgba(247, 241, 222, 0.2);
  color: #fff;
}

.dossier-body {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 28px;
  padding: 28px 24px 32px;
}

.portrait-slot {
  background: #dbe9ff;
  border: 4px solid #071226;
  padding: 10px;
}

.portrait-slot img {
  width: 100%;
  height: auto;
  object-fit: contain;
}

.file-label {
  margin-top: 10px;
  font-family: "Bungee", sans-serif;
  font-size: 0.68rem;
  letter-spacing: 0.1em;
  color: #9b0d14;
  text-align: center;
}

.dossier h2 {
  margin: 0 0 8px;
  font-family: "Titan One", sans-serif;
  font-size: clamp(2rem, 4vw, 3.1rem);
  color: #0b3d91;
  line-height: 0.95;
}

.lede {
  margin: 0 0 14px;
  font-size: 1.12rem;
  font-weight: 800;
  color: #9b0d14;
}

.dossier p {
  margin: 0 0 12px;
  font-size: 1.05rem;
  line-height: 1.6;
}

.meta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
}

.chip {
  background: #0b3d91;
  color: #fff;
  font-family: "Bungee", sans-serif;
  font-size: 0.68rem;
  letter-spacing: 0.06em;
  padding: 8px 12px;
  border: 3px solid #071226;
}

.chip.gold {
  background: var(--gold);
  color: #071226;
}

.chip.red {
  background: var(--cape);
}

/* ── HOW TO BUY: lightning power sequence, alternating steps ── */
.howto {
  padding: 64px 0 24px;
}

.section-head {
  text-align: center;
  margin-bottom: 34px;
}

.section-head .kicker {
  background: rgba(7, 18, 38, 0.35);
}

.section-head h2 {
  margin: 14px 0 8px;
  font-family: "Titan One", sans-serif;
  font-size: clamp(2.2rem, 6vw, 4rem);
  line-height: 0.9;
  color: var(--gold-hot);
  text-shadow: 3px 3px 0 var(--cape-deep);
}

.section-head p {
  margin: 0 auto;
  max-width: 560px;
  color: var(--mute);
}

.sequence {
  position: relative;
  display: grid;
  gap: 18px;
}

.sequence::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 12px;
  bottom: 12px;
  width: 6px;
  margin-left: -3px;
  background: linear-gradient(180deg, var(--gold), var(--cape));
  border-radius: 99px;
  box-shadow: 0 0 0 4px rgba(7, 18, 38, 0.35);
}

.step {
  width: min(470px, 100%);
  background: rgba(7, 18, 38, 0.72);
  border: 4px solid var(--gold);
  padding: 20px 22px 18px;
  box-shadow: 8px 8px 0 rgba(7, 18, 38, 0.45);
}

.step:nth-child(odd) {
  justify-self: start;
}

.step:nth-child(even) {
  justify-self: end;
}

.step-num {
  font-family: "Bungee", sans-serif;
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  color: var(--gold);
}

.step h3 {
  margin: 6px 0 8px;
  font-family: "Titan One", sans-serif;
  font-size: 1.7rem;
  color: #fff;
}

.step p {
  margin: 0;
  color: var(--mute);
  line-height: 1.5;
}

.communicator {
  margin-top: 36px;
  background: #071226;
  border: 6px solid var(--gold);
  padding: 22px;
  box-shadow: 0 0 0 6px var(--cape-deep);
}

.communicator label {
  display: block;
  font-family: "Bungee", sans-serif;
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  color: var(--gold);
  margin-bottom: 10px;
}

.ca-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}

.ca-row code {
  flex: 1 1 240px;
  min-width: 0;
  background: #102a58;
  color: #fff;
  padding: 14px 16px;
  border: 3px solid #1e88e5;
  font-size: 0.92rem;
  word-break: break-all;
}

.copy-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 48px;
  padding: 0 16px;
  border: 3px solid #071226;
  background: var(--gold);
  color: #071226;
  font-family: "Bungee", sans-serif;
  font-size: 0.75rem;
  cursor: pointer;
  box-shadow: 4px 4px 0 #000;
}

.comm-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 14px;
}

/* ── COMMUNITY: hall of heroes round emblem ── */
.community {
  padding: 56px 0 40px;
}

.hall {
  display: grid;
  justify-items: center;
  text-align: center;
  gap: 18px;
}

.emblem {
  width: min(260px, 68vw);
  display: grid;
  place-items: center;
  background: linear-gradient(160deg, #f4c430, #e31b23 55%, #0b3d91);
  border: 8px solid #071226;
  box-shadow:
    0 0 0 8px rgba(244, 196, 48, 0.28),
    12px 16px 0 rgba(7, 18, 38, 0.35);
  padding: 14px;
}

.emblem img {
  width: 100%;
  height: auto;
  object-fit: contain;
  background: #0b3d91;
}

.hall h2 {
  margin: 8px 0 0;
  font-family: "Titan One", sans-serif;
  font-size: clamp(2.2rem, 6vw, 3.8rem);
  color: var(--gold-hot);
  text-shadow: 3px 3px 0 var(--cape-deep);
}

.hall p {
  margin: 0;
  max-width: 560px;
  color: #eaf2ff;
  font-size: 1.08rem;
  line-height: 1.55;
}

.hall-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}

.mural {
  width: 100%;
  margin-top: 10px;
  background: rgba(7, 18, 38, 0.4);
  border: 5px solid #071226;
  padding: 8px;
}

.mural img {
  width: 100%;
  height: auto;
  object-fit: contain;
}

.mural figcaption {
  margin-top: 8px;
  font-family: "Bungee", sans-serif;
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  color: var(--gold);
}

/* ── FOOTER ── */
.foot {
  border-top: 4px solid var(--gold);
  background: #061833;
  padding: 22px 0 28px;
}

.foot-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.foot-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: "Bungee", sans-serif;
  font-size: 0.78rem;
}

.foot-brand img {
  width: 36px;
  height: 36px;
  object-fit: contain;
}

.disclaimer {
  max-width: 640px;
  margin: 0;
  color: var(--mute);
  font-size: 0.82rem;
  line-height: 1.45;
}

.drawer {
  display: none;
}

@media (max-width: 860px) {
  .menu,
  .nav-actions {
    display: none;
  }

  .nav-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .drawer {
    display: block;
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    background: #071226;
    border-bottom: 4px solid var(--gold);
    padding: 12px 16px 18px;
    transform: translateY(-8px);
    opacity: 0;
    pointer-events: none;
  }

  .drawer.is-open {
    transform: none;
    opacity: 1;
    pointer-events: auto;
  }

  .drawer a {
    display: block;
    font-family: "Bungee", sans-serif;
    font-size: 0.78rem;
    letter-spacing: 0.08em;
    padding: 12px 8px;
    border-bottom: 1px solid rgba(244, 196, 48, 0.2);
  }

  .drawer-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 12px;
  }

  .dossier-body {
    grid-template-columns: 1fr;
  }

  .sequence::before {
    left: 18px;
    margin-left: 0;
  }

  .step,
  .step:nth-child(odd),
  .step:nth-child(even) {
    justify-self: stretch;
    margin-left: 36px;
    width: auto;
  }
}

@media (max-width: 520px) {
  .wordmark {
    font-size: clamp(2.6rem, 16vw, 4rem);
  }

  .icon-btn span {
    display: none;
  }

  .jumbotron,
  .dossier,
  .communicator {
    border-width: 4px;
  }
}
/* Super Pug layout and responsive refinements. */
html { scroll-padding-top: 100px; }
.skip-link { position: fixed; top: -80px; left: 16px; z-index: 100; padding: 12px 20px; color: var(--ink); background: var(--gold); }
.skip-link:focus { top: 12px; }
a:focus-visible, button:focus-visible { outline: 3px solid #fff; outline-offset: 5px; }
button { cursor: pointer; }
.brand img, .foot-brand img { border-radius: 50%; border: 2px solid var(--gold); object-fit: cover; }
.hero { padding: 68px 0 64px; }
.hero-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.hero-copy { text-align: left; margin: 0; min-width: 0; }
.wordmark { font-size: clamp(4rem, 8vw, 7.7rem); margin: 28px 0 24px; }
.symbol { font-size: clamp(.8rem, 1.3vw, 1rem); letter-spacing: .09em; line-height: 1.5; color: var(--gold); }
.hero-bio { margin: 18px 0 0; }
.cta-row { justify-content: flex-start; }
.hero-stamp { margin-top: 28px; color: var(--mute); font-size: .72rem; font-weight: 800; letter-spacing: .12em; }
.jumbotron { margin: 0; transform: rotate(2deg); }
.jumbotron img { aspect-ratio: 1; object-fit: cover; }
.jumbotron figcaption { font-size: .64rem; line-height: 1.6; }
.signal-strip { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 24px; padding: 20px 16px; background: var(--gold); color: var(--ink); border-block: 4px solid var(--ink); font-family: 'Bungee', Impact, sans-serif; font-size: clamp(.72rem, 1.7vw, 1.2rem); }
.about { padding: 64px 0 10px; }
.dossier-body { grid-template-columns: minmax(0,.7fr) minmax(0,1.3fr); align-items: center; gap: 36px; }
.portrait-slot { padding: 0; }
.portrait-slot img { aspect-ratio: 1; object-fit: cover; }
.dossier h2 { line-height: 1.1; margin-bottom: 18px; }
.section-head h2, .hall h2 { line-height: 1.1; }
.sequence { grid-template-columns: repeat(2, minmax(0,1fr)); gap: 24px; }
.sequence::before { display: none; }
.step, .step:nth-child(odd), .step:nth-child(even) { width: 100%; justify-self: stretch; margin: 0; }
.step { padding: 28px; }
.community { padding: 70px 0 80px; }
.launch-note { display: flex; gap: 12px; max-width: 600px; align-items: center; padding: 16px 20px; border: 1px solid rgba(244,196,48,.45); color: var(--mute); font-size: .9rem; background: rgba(7,18,38,.35); }
.back-top { color: var(--gold); font-weight: 800; font-size: .82rem; }
.disclaimer { max-width: 560px; }
@media (max-width: 1000px) and (min-width: 861px) { .menu a { padding: 8px; } .nav-actions .icon-btn { padding: 0 8px; font-size: .6rem; } .hero-grid { gap: 28px; } }
@media (max-width: 860px) {
  .hero { padding: 38px 0 42px; }
  .hero-grid { grid-template-columns: 1fr; gap: 36px; }
  .hero-copy { text-align: center; }
  .hero-bio { margin-inline: auto; }
  .cta-row { justify-content: center; }
  .wordmark { font-size: clamp(4rem, 13vw, 7rem); }
  .jumbotron { width: min(540px, calc(100% - 12px)); margin: 0 auto; transform: none; }
  .dossier-body { grid-template-columns: 1fr; }
  .portrait-slot { max-width: 340px; margin: 0 auto; }
  .drawer:not(.is-open) { visibility: hidden; }
}
@media (max-width: 520px) {
  .wrap { width: calc(100% - 32px); }
  .kicker { font-size: .58rem; letter-spacing: .05em; padding: 8px 10px; }
  .wordmark { font-size: clamp(3.8rem, 19vw, 6rem); }
  .hero-bio { font-size: 1rem; }
  .btn-hero { font-size: .68rem; padding: 0 14px; min-height: 50px; }
  .signal-strip { gap: 10px; font-size: .64rem; }
  .dossier-tabrow { padding-inline: 8px; gap: 6px; }
  .tab { font-size: .6rem; padding-inline: 10px; }
  .dossier-body { padding: 20px 16px; gap: 24px; }
  .sequence { grid-template-columns: 1fr; gap: 18px; }
  .step { padding: 22px; }
  .section-head h2 { font-size: 2.5rem; }
  .hall-actions { flex-direction: column; width: 100%; align-items: center; }
  .hall-actions .btn-hero { justify-content: center; }
  .foot-inner { flex-direction: column; text-align: center; gap: 18px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
/* Native HTML mobile menu, no JavaScript. */
.mobile-menu { display: none; }
@media (max-width: 860px) {
  .mobile-menu { display: block; position: relative; margin-left: auto; }
  .mobile-menu summary { display: grid; place-items: center; width: 46px; height: 46px; border: 3px solid #071226; background: var(--gold); color: #071226; box-shadow: 3px 3px 0 #071226; font-size: 1.4rem; cursor: pointer; list-style: none; }
  .mobile-menu summary::-webkit-details-marker { display: none; }
  .mobile-menu summary::marker { content: ''; }
  .mobile-menu[open] summary { background: #fff; }
  .mobile-menu-panel { display: block; position: absolute; top: calc(100% + 17px); right: -16px; width: min(340px, calc(100vw - 32px)); max-height: calc(100vh - 96px); overflow-y: auto; background: #071226; border: 3px solid var(--gold); padding: 8px 16px; box-shadow: 8px 8px 0 rgba(0,0,0,.4); }
  .mobile-menu-panel a { display: block; padding: 12px 8px; border-bottom: 1px solid rgba(244,196,48,.25); font-family: 'Bungee', sans-serif; font-size: .76rem; }
  .mobile-menu-panel a:last-child { border-bottom: 0; }
  .mobile-menu-panel a:hover, .mobile-menu-panel a:focus-visible { color: var(--gold); }
}
