:root {
  color-scheme: dark;
  --paper: #f0b524;
  --red: #c92216;
  --ink: #100b08;
  --coal: #050505;
  --steel: #d9d9cf;
}

* {
  box-sizing: border-box;
}

html,
body {
  min-height: 100%;
}

body {
  margin: 0;
  background: var(--coal);
  color: var(--steel);
  font-family: Impact, Haettenschweiler, "Arial Narrow Bold", system-ui, sans-serif;
  letter-spacing: 0;
}

main {
  min-height: 100svh;
}

.hero {
  position: relative;
  display: grid;
  justify-items: center;
  gap: clamp(10px, 2vw, 18px);
  padding: clamp(10px, 2vw, 18px) 0 clamp(16px, 3vw, 32px);
  background: #000;
}

.hero-bar {
  width: min(100vw, 1536px);
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: clamp(10px, 2vw, 20px);
  padding: 0 clamp(10px, 2.4vw, 28px);
}

.social-links {
  justify-self: end;
  display: flex;
  gap: 10px;
}

.social-links a {
  width: 46px;
  height: 46px;
  display: inline-grid;
  place-items: center;
  color: var(--paper);
  background: rgba(5, 5, 5, 0.78);
  border: 2px solid rgba(240, 181, 36, 0.78);
  text-decoration: none;
  transition: transform 160ms ease, background-color 160ms ease, color 160ms ease;
}

.social-links a:hover,
.social-links a:focus-visible {
  color: #fff;
  background: var(--red);
  transform: translateY(-2px);
  outline: none;
}

.social-links svg {
  width: 24px;
  height: 24px;
  fill: currentColor;
}

.ticker {
  position: relative;
  grid-column: 2;
  color: var(--paper);
  font-size: clamp(2.25rem, 8vw, 7rem);
  line-height: 1;
  text-shadow: 0 4px 0 #000, 0 0 18px rgba(255, 255, 255, 0.26), 0 0 28px rgba(201, 34, 22, 0.7);
  white-space: nowrap;
  isolation: isolate;
}

.ticker::before {
  content: "";
  position: absolute;
  inset: -0.22em -0.42em -0.24em;
  z-index: -1;
  background:
    radial-gradient(ellipse at center, rgba(201, 34, 22, 0.72) 0%, rgba(240, 181, 36, 0.3) 40%, rgba(0, 0, 0, 0) 72%);
  filter: blur(10px);
  opacity: 0.95;
  pointer-events: none;
}

.art-frame {
  width: min(100vw, 1536px);
  display: grid;
  place-items: center;
  background: #000;
  overflow: hidden;
}

.art-frame img {
  width: 100%;
  height: auto;
  display: block;
  background: #000;
}

.contract-strip {
  display: grid;
  width: min(92vw, 1320px);
  min-height: clamp(124px, 14vw, 210px);
  margin: clamp(22px, 4.5vw, 68px) auto clamp(22px, 4.5vw, 68px);
  align-items: center;
  justify-content: center;
  gap: clamp(4px, 1vw, 12px);
  padding: clamp(24px, 4vw, 56px) clamp(16px, 4vw, 48px);
  color: var(--paper);
  background:
    linear-gradient(90deg, rgba(217, 217, 207, 0), rgba(217, 217, 207, 0.1), rgba(201, 34, 22, 0.18), rgba(240, 181, 36, 0.15), rgba(217, 217, 207, 0.1), rgba(217, 217, 207, 0));
  border-top: 1px solid rgba(240, 181, 36, 0.34);
  border-bottom: 1px solid rgba(240, 181, 36, 0.34);
  text-align: center;
}

.contract-label {
  font-size: clamp(2.6rem, 6.4vw, 6rem);
  line-height: 0.92;
  color: #fff;
  text-shadow: 0 4px 0 #000, 0 0 18px rgba(240, 181, 36, 0.42), 0 0 28px rgba(201, 34, 22, 0.82);
}

.contract-value {
  font-family: Arial, Helvetica, sans-serif;
  font-size: clamp(1rem, 1.8vw, 1.6rem);
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.collectibles {
  width: min(92vw, 1320px);
  margin: 0 auto clamp(22px, 4.5vw, 68px);
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(320px, 0.92fr);
  gap: clamp(16px, 3vw, 38px);
  align-items: stretch;
  color: #fff;
}

.collectibles-copy,
.wallet-panel {
  border: 2px solid rgba(240, 181, 36, 0.52);
  background:
    linear-gradient(135deg, rgba(201, 34, 22, 0.18), rgba(5, 5, 5, 0.86) 42%, rgba(240, 181, 36, 0.12));
  box-shadow: 0 0 0 4px rgba(0, 0, 0, 0.72), 0 18px 54px rgba(0, 0, 0, 0.44);
}

.collectibles-copy {
  padding: clamp(20px, 3.6vw, 46px);
}

.collectibles-kicker {
  margin: 0 0 8px;
  color: var(--paper);
  font-family: Arial, Helvetica, sans-serif;
  font-size: clamp(0.78rem, 1.3vw, 1rem);
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.collectibles h1 {
  margin: 0;
  color: var(--paper);
  font-size: clamp(3rem, 7vw, 6.8rem);
  line-height: 0.88;
  text-shadow: 0 4px 0 #000, 0 0 22px rgba(201, 34, 22, 0.82);
}

.collectibles-copy p:not(.collectibles-kicker),
.claim-note,
.wallet-status {
  font-family: Arial, Helvetica, sans-serif;
  letter-spacing: 0;
}

.collectibles-copy p:not(.collectibles-kicker) {
  max-width: 720px;
  margin: clamp(14px, 2vw, 22px) 0 0;
  font-size: clamp(1.02rem, 1.8vw, 1.35rem);
  font-weight: 800;
  line-height: 1.35;
}

.claim-rules {
  display: grid;
  gap: 8px;
  margin: clamp(16px, 2.4vw, 28px) 0 0;
  padding: 0;
  list-style: none;
  font-family: Arial, Helvetica, sans-serif;
  font-size: clamp(0.94rem, 1.5vw, 1.15rem);
  font-weight: 900;
  letter-spacing: 0;
}

.claim-rules li {
  padding: 10px 12px;
  color: var(--ink);
  background: var(--paper);
  border-left: 8px solid var(--red);
}

.wallet-panel {
  display: grid;
  align-content: center;
  gap: 14px;
  padding: clamp(18px, 3vw, 34px);
}

.wallet-status {
  min-height: 3.4em;
  display: grid;
  align-items: center;
  padding: 14px;
  color: var(--steel);
  border: 1px solid rgba(217, 217, 207, 0.22);
  background: rgba(0, 0, 0, 0.46);
  font-size: 1rem;
  font-weight: 800;
  line-height: 1.35;
}

.wallet-button {
  min-height: 54px;
  border: 0;
  color: var(--ink);
  background: var(--paper);
  font: inherit;
  font-size: clamp(1.35rem, 3vw, 2.1rem);
  line-height: 1;
  text-transform: uppercase;
  cursor: pointer;
  box-shadow: 0 5px 0 var(--red);
  transition: transform 140ms ease, box-shadow 140ms ease, background-color 140ms ease;
}

.wallet-button:hover,
.wallet-button:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 7px 0 var(--red);
  outline: none;
}

.wallet-button.secondary {
  color: #fff;
  background: var(--red);
  box-shadow: 0 5px 0 #000;
  font-size: clamp(1.05rem, 2vw, 1.55rem);
}

.claim-status-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.claim-status-grid div {
  min-height: 80px;
  display: grid;
  align-content: center;
  gap: 4px;
  padding: 10px;
  border: 1px solid rgba(240, 181, 36, 0.3);
  background: rgba(0, 0, 0, 0.38);
}

.claim-status-grid span,
.claim-status-grid strong,
.claim-note {
  font-family: Arial, Helvetica, sans-serif;
  letter-spacing: 0;
}

.claim-status-grid span {
  color: var(--paper);
  font-size: 0.72rem;
  font-weight: 900;
  text-transform: uppercase;
}

.claim-status-grid strong {
  color: #fff;
  font-size: clamp(0.9rem, 1.4vw, 1rem);
  line-height: 1.15;
}

.claim-note {
  margin: 0;
  color: rgba(217, 217, 207, 0.86);
  font-size: 0.9rem;
  font-weight: 800;
  line-height: 1.35;
}

.saga {
  display: grid;
  justify-content: center;
  gap: clamp(16px, 4vw, 44px);
  padding: clamp(10px, 2vw, 28px) clamp(10px, 2.4vw, 28px) clamp(28px, 6vw, 92px);
  background: #000;
}

.saga-frame {
  width: min(92vw, 1320px);
  aspect-ratio: 16 / 9;
  display: grid;
  place-items: center;
  background: #000;
  overflow: hidden;
}

.saga-frame img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  background: #000;
}

.comic-chapter {
  width: min(92vw, 1320px);
  margin: 0;
  background: #000;
}

.comic-chapter.thesis {
  padding: 0;
}

.comic-chapter img {
  width: 100%;
  height: auto;
  display: block;
  border: 2px solid rgba(240, 181, 36, 0.45);
  background: #000;
}

@media (max-width: 720px) {
  .hero {
    min-height: auto;
    padding-top: 10px;
    padding-bottom: 16px;
  }

  .hero-bar {
    width: 100vw;
    grid-template-columns: 1fr auto;
    padding: 0 10px;
  }

  .social-links a {
    width: 40px;
    height: 40px;
  }

  .ticker {
    grid-column: 1;
    justify-self: start;
    font-size: clamp(2rem, 12vw, 3.6rem);
  }

  .art-frame {
    width: 100%;
  }

  .contract-strip {
    width: calc(100vw - 20px);
    min-height: auto;
    margin: 12px auto 12px;
    gap: 4px;
    padding: 18px 12px;
  }

  .contract-label {
    font-size: clamp(2rem, 10vw, 3.2rem);
  }

  .contract-value {
    font-size: 0.8rem;
    letter-spacing: 0.04em;
  }

  .collectibles {
    width: calc(100vw - 20px);
    grid-template-columns: 1fr;
    gap: 12px;
    margin-bottom: 12px;
  }

  .collectibles-copy,
  .wallet-panel {
    padding: 16px 12px;
  }

  .collectibles h1 {
    font-size: clamp(2.7rem, 15vw, 4.8rem);
  }

  .claim-status-grid {
    grid-template-columns: 1fr;
  }

  .claim-status-grid div {
    min-height: 62px;
  }

  .saga {
    padding: 10px 10px 36px;
  }

  .saga-frame {
    width: calc(100vw - 20px);
  }

  .comic-chapter {
    width: calc(100vw - 20px);
  }

  .comic-chapter.thesis {
    padding: 0;
  }
}

/* Supplied secondary hero and marketplace artwork. */
.market-artwork { display: grid; justify-content: center; gap: clamp(16px, 3vw, 36px); padding: 24px 0; background: #000; }
.market-artwork figcaption { padding: 10px 4px; color: #b5b0a7; font: 13px/1.5 system-ui, sans-serif; }
.market-artwork figcaption a { color: #f4c342; }

.contract-banner { width: min(100%, 1536px); padding: 5px 16px; border-block: 1px solid #725716; background: #100e08; color: var(--paper); text-align: center; font: 13px/1.4 system-ui, sans-serif; overflow-wrap: anywhere; }

/* Purchase destination will be enabled when the official link is supplied. */
.ticker.buy-brokieg { font-family: inherit; font-size: clamp(1.1rem, 4.8vw, 3.5rem); padding: .3em .55em; border: 1px solid #f0b524; border-radius: 4px; background: #f0b524; color: #111; text-shadow: none; line-height: 1.15; opacity: 1; cursor: default; }
.ticker.buy-brokieg::before { display: none; }

.ticker.buy-brokieg[href] { text-decoration: none; cursor: pointer; }
