:root {
  --font-geist-sans: Arial, Helvetica, sans-serif;
  --font-geist-mono: "Courier New", monospace;
  --ink: #17110e;
  --coal: #241b18;
  --wood: #754232;
  --brick: #a15c3d;
  --paper: #fff0c8;
  --cream: #ffe2b0;
  --lime: #c8ff00;
  --moss: #42642f;
  --blue: #3f477d;
  --gold: #e0a75b;
  --line: #1b1412;
}



* {
  box-sizing: border-box;
}

html {
  background: var(--paper);
  color: var(--ink);
  scroll-behavior: smooth;
}

body {
  min-width: 320px;
  margin: 0;
  background:
    linear-gradient(90deg, rgba(23, 17, 14, 0.05) 1px, transparent 1px),
    linear-gradient(180deg, rgba(23, 17, 14, 0.05) 1px, transparent 1px),
    var(--paper);
  background-size: 18px 18px;
  color: var(--ink);
  font-family: Arial, Helvetica, sans-serif;
}

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

img {
  display: block;
  max-width: 100%;
}

main {
  overflow: hidden;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  width: min(1180px, calc(100% - 32px));
  min-height: 68px;
  margin: 18px auto 0;
  padding: 10px;
  border: 4px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 240, 200, 0.94);
  box-shadow: 8px 8px 0 var(--line);
  backdrop-filter: blur(10px);
}

.contract-strip {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: clamp(8px, 2vw, 16px);
  width: min(920px, calc(100% - 32px));
  margin: 20px auto 0;
  padding: 10px 18px;
  border: 4px solid var(--line);
  border-radius: 8px;
  background: var(--lime);
  box-shadow: 6px 6px 0 var(--line);
  color: var(--line);
  font-family: var(--font-geist-mono), monospace;
  text-align: center;
  text-transform: uppercase;
}

.contract-strip span {
  font-size: clamp(0.95rem, 2.2vw, 1.35rem);
  font-weight: 950;
}

.contract-strip strong {
  font-size: clamp(0.82rem, 2vw, 1.25rem);
  line-height: 1.25;
  font-weight: 950;
  overflow-wrap: anywhere;
  text-transform: none;
}

.brand-mark,
.nav-links,
.hero-actions,
.signal-row,
.ticker-band,
.trait-list,
.join-section {
  display: flex;
  align-items: center;
}

.brand-mark {
  gap: 10px;
  min-width: 0;
  font-family: var(--font-geist-mono), monospace;
  font-size: clamp(1rem, 2vw, 1.25rem);
  font-weight: 900;
  text-transform: uppercase;
}

.brand-logo {
  width: clamp(48px, 7vw, 58px);
  height: clamp(48px, 7vw, 58px);
  border: 3px solid var(--line);
  border-radius: 6px;
  background: var(--lime);
  box-shadow: 4px 4px 0 var(--line);
  image-rendering: pixelated;
  object-fit: cover;
}

.nav-links {
  gap: 10px;
  font-family: var(--font-geist-mono), monospace;
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
}

.nav-links a,
.header-action {
  min-height: 38px;
  padding: 11px 13px;
  border: 3px solid transparent;
  border-radius: 6px;
}

.nav-links a:hover,
.header-action:hover {
  border-color: var(--line);
  background: var(--lime);
}

.header-action {
  border-color: var(--line);
  background: var(--blue);
  color: #ffffff;
  font-family: var(--font-geist-mono), monospace;
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
  box-shadow: 4px 4px 0 var(--line);
}

.hero-section {
  position: relative;
  isolation: isolate;
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(420px, 1.05fr);
  gap: clamp(28px, 5vw, 72px);
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: clamp(58px, 9vw, 112px) clamp(16px, 3vw, 34px) clamp(90px, 8vw, 126px);
  overflow: hidden;
}

.hero-section::before {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(255, 240, 200, 0.95), rgba(255, 240, 200, 0.72) 45%, rgba(255, 240, 200, 0.36)),
    linear-gradient(180deg, rgba(200, 255, 0, 0.18), rgba(255, 240, 200, 0.76));
  content: "";
}

.hero-video-bg {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.58;
  filter: saturate(1.14) contrast(1.08);
}

.hero-copy {
  align-self: center;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--wood);
  font-family: var(--font-geist-mono), monospace;
  font-size: clamp(0.76rem, 1.4vw, 0.88rem);
  font-weight: 900;
  text-transform: uppercase;
}

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

h1,
h2,
h3 {
  margin: 0;
  line-height: 0.96;
  font-family: var(--font-geist-mono), monospace;
  font-weight: 950;
}

h1 {
  max-width: 640px;
  font-size: clamp(3rem, 7.4vw, 6.4rem);
  text-transform: uppercase;
}

h1 span {
  display: block;
}

h1 span + span {
  margin-top: 8px;
  color: var(--wood);
  font-size: 0.56em;
  line-height: 1.02;
}

h2 {
  max-width: 860px;
  font-size: clamp(2.2rem, 5vw, 5rem);
  text-transform: uppercase;
}

h3 {
  font-size: clamp(1.05rem, 2vw, 1.45rem);
}

.hero-lede,
.story-copy,
.mint-copy p,
.token-copy p,
.roadmap-card p,
footer p {
  color: rgba(23, 17, 14, 0.8);
  font-size: clamp(1.05rem, 2vw, 1.24rem);
  line-height: 1.55;
}

.hero-lede {
  max-width: 670px;
  margin: 24px 0 0;
}

.hero-actions {
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 32px;
}

.primary-action,
.secondary-action,
.twitter-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 16px 20px;
  border: 4px solid var(--line);
  border-radius: 8px;
  font-family: var(--font-geist-mono), monospace;
  font-size: 0.86rem;
  font-weight: 950;
  text-align: center;
  text-transform: uppercase;
  box-shadow: 6px 6px 0 var(--line);
  transition: transform 160ms ease, box-shadow 160ms ease;
}

.primary-action {
  gap: 10px;
  background: var(--lime);
}

.secondary-action {
  background: var(--cream);
}

.twitter-action {
  background: var(--blue);
  color: #ffffff;
}

.primary-action:hover,
.secondary-action:hover,
.twitter-action:hover {
  transform: translate(3px, 3px);
  box-shadow: 3px 3px 0 var(--line);
}

.signal-row {
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}

.signal-row span,
.trait-list span {
  border: 3px solid var(--line);
  border-radius: 6px;
  background: #ffffff;
  padding: 10px 12px;
  font-family: var(--font-geist-mono), monospace;
  font-size: 0.75rem;
  font-weight: 900;
  text-transform: uppercase;
  box-shadow: 4px 4px 0 var(--line);
}

.hero-art {
  position: relative;
  align-self: center;
  min-width: 0;
}

.hero-art::before {
  position: absolute;
  inset: 26px -18px -18px 26px;
  z-index: 0;
  border: 4px solid var(--line);
  background:
    linear-gradient(45deg, rgba(23, 17, 14, 0.16) 25%, transparent 25%),
    linear-gradient(-45deg, rgba(23, 17, 14, 0.16) 25%, transparent 25%),
    var(--gold);
  background-size: 22px 22px;
  content: "";
}

.banner-art {
  position: relative;
  z-index: 1;
  width: 100%;
  border: 5px solid var(--line);
  border-radius: 8px;
  background: var(--lime);
  image-rendering: pixelated;
  box-shadow: 10px 10px 0 var(--line);
}

.summon-panel {
  position: absolute;
  right: 24px;
  bottom: -86px;
  z-index: 2;
  width: min(292px, calc(100% - 48px));
  padding: 18px;
  border: 4px solid var(--line);
  border-radius: 8px;
  background: var(--coal);
  color: #ffffff;
  box-shadow: 7px 7px 0 var(--line);
}

.summon-panel strong {
  display: block;
  margin-top: 6px;
  font-family: var(--font-geist-mono), monospace;
  font-size: 1.05rem;
  text-transform: uppercase;
}

.summon-panel p {
  margin: 8px 0 0;
  color: rgba(255, 255, 255, 0.82);
  line-height: 1.4;
}

.summon-kicker {
  color: var(--lime);
  font-family: var(--font-geist-mono), monospace;
  font-size: 0.72rem;
  font-weight: 900;
  text-transform: uppercase;
}

.ticker-band {
  justify-content: center;
  gap: 0;
  margin-top: 20px;
  border-block: 5px solid var(--line);
  background: var(--coal);
  color: #ffffff;
}

.ticker-band div {
  min-width: 190px;
  padding: 18px 24px;
  border-inline-end: 3px solid rgba(255, 255, 255, 0.16);
}

.ticker-band strong,
.ticker-band span {
  display: block;
}

.ticker-band strong {
  color: var(--lime);
  font-family: var(--font-geist-mono), monospace;
  font-size: 0.7rem;
  text-transform: uppercase;
}

.ticker-band span {
  margin-top: 4px;
  font-size: 1.05rem;
  font-weight: 800;
}

.story-section,
.collection-section,
.mint-section,
.token-section,
.traits-section,
.roadmap-section,
.join-section,
footer {
  width: min(1180px, calc(100% - 32px));
  margin-inline: auto;
}

.story-section {
  display: grid;
  grid-template-columns: minmax(0, 0.78fr) minmax(280px, 0.62fr);
  gap: clamp(24px, 5vw, 72px);
  padding: clamp(74px, 10vw, 126px) 0 clamp(38px, 7vw, 76px);
}

.story-copy {
  align-self: end;
  margin: 0;
  padding-top: 10px;
}

.section-heading {
  min-width: 0;
}

.collection-section {
  padding: clamp(54px, 8vw, 92px) 0;
}

.portrait-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 18px;
  margin-top: 34px;
}

.portrait-card {
  min-width: 0;
  border: 4px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 7px 7px 0 var(--line);
  overflow: hidden;
}

.portrait-frame {
  aspect-ratio: 1;
  border-bottom: 4px solid var(--line);
  background: var(--lime);
}

.portrait-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  image-rendering: pixelated;
}

.portrait-meta {
  padding: 16px;
}

.portrait-meta span,
.roadmap-card span,
.token-board span {
  display: block;
  color: var(--wood);
  font-family: var(--font-geist-mono), monospace;
  font-size: 0.68rem;
  font-weight: 900;
  text-transform: uppercase;
}

.portrait-meta h3 {
  margin-top: 8px;
}

.portrait-meta p {
  margin: 8px 0 0;
  color: rgba(23, 17, 14, 0.72);
  font-weight: 800;
}

.mint-section {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(300px, 0.48fr);
  gap: clamp(24px, 5vw, 64px);
  min-height: 560px;
  margin-block: clamp(24px, 5vw, 60px);
  padding: clamp(28px, 5vw, 56px);
  border: 5px solid var(--line);
  border-radius: 8px;
  background: var(--coal);
  color: #ffffff;
  box-shadow: 10px 10px 0 var(--line);
  overflow: hidden;
  isolation: isolate;
}

.mint-section::after {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(36, 27, 24, 0.96), rgba(36, 27, 24, 0.72) 45%, rgba(36, 27, 24, 0.34)),
    linear-gradient(180deg, rgba(200, 255, 0, 0.18), rgba(27, 20, 18, 0.54));
  content: "";
}

.mint-video {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.62;
  filter: saturate(1.15) contrast(1.08);
}

.mint-copy {
  align-self: center;
  max-width: 720px;
}

.mint-copy .eyebrow {
  color: var(--lime);
}

.mint-copy p {
  max-width: 680px;
  margin: 22px 0 0;
  color: rgba(255, 255, 255, 0.86);
}

.mint-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 30px;
}

.mint-actions > span {
  display: inline-flex;
  align-items: center;
  min-height: 48px;
  padding: 12px 14px;
  border: 3px solid rgba(255, 255, 255, 0.26);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.84);
  font-family: var(--font-geist-mono), monospace;
  font-size: 0.72rem;
  font-weight: 900;
  text-transform: uppercase;
  backdrop-filter: blur(8px);
}

.mint-actions .primary-action {
  background: #ffffff;
  color: var(--line);
}

.mint-actions .twitter-action {
  background: var(--lime);
  color: var(--line);
}

.ambient-nft-card {
  position: relative;
  align-self: center;
  min-width: 0;
  border: 4px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
  color: var(--ink);
  box-shadow: 8px 8px 0 var(--line);
  overflow: hidden;
}

.ambient-frame {
  aspect-ratio: 1;
  border-bottom: 4px solid var(--line);
  background:
    linear-gradient(45deg, rgba(200, 255, 0, 0.22) 25%, transparent 25%),
    var(--lime);
  background-size: 20px 20px;
}

.ambient-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  image-rendering: pixelated;
}

.ambient-meta {
  padding: 18px;
}

.ambient-meta span {
  display: block;
  color: var(--wood);
  font-family: var(--font-geist-mono), monospace;
  font-size: 0.68rem;
  font-weight: 900;
  text-transform: uppercase;
}

.ambient-meta h3 {
  margin-top: 9px;
}

.ambient-meta p {
  margin: 10px 0 0;
  color: rgba(23, 17, 14, 0.72);
  font-weight: 800;
  line-height: 1.35;
}

.token-section {
  display: grid;
  grid-template-columns: minmax(0, 0.88fr) minmax(320px, 0.72fr);
  gap: clamp(24px, 5vw, 70px);
  padding: clamp(64px, 9vw, 110px) 0;
  border-top: 5px solid var(--line);
  border-bottom: 5px solid var(--line);
}

.token-copy p {
  max-width: 670px;
  margin: 22px 0 0;
}

.token-board {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-self: center;
  border: 5px solid var(--line);
  border-radius: 8px;
  background: var(--blue);
  color: #ffffff;
  box-shadow: 10px 10px 0 var(--line);
}

.token-board div {
  min-height: 130px;
  padding: 20px;
  border-right: 3px solid var(--line);
  border-bottom: 3px solid var(--line);
}

.token-board div:nth-child(2n) {
  border-right: 0;
}

.token-board div:nth-last-child(-n + 2) {
  border-bottom: 0;
}

.token-board span {
  color: var(--lime);
}

.token-board strong {
  display: block;
  margin-top: 12px;
  font-family: var(--font-geist-mono), monospace;
  font-size: clamp(1rem, 2.4vw, 1.38rem);
  line-height: 1.15;
  text-transform: uppercase;
}

.traits-section {
  padding: clamp(54px, 8vw, 94px) 0 28px;
}

.trait-list {
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 30px;
}

.trait-list span:nth-child(2n) {
  background: var(--lime);
}

.trait-list span:nth-child(3n) {
  background: var(--cream);
}

.roadmap-section {
  padding: clamp(42px, 7vw, 90px) 0;
}

.roadmap-list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  margin-top: 34px;
}

.roadmap-card {
  min-height: 280px;
  padding: 22px;
  border: 4px solid var(--line);
  border-radius: 8px;
  background: var(--cream);
  box-shadow: 7px 7px 0 var(--line);
}

.roadmap-card:nth-child(2) {
  background: #ffffff;
}

.roadmap-card:nth-child(3) {
  background: #d8e7b1;
}

.roadmap-card:nth-child(4) {
  background: #d4d8ff;
}

.roadmap-card h3 {
  margin-top: 12px;
}

.roadmap-card p {
  margin: 18px 0 0;
  font-size: 0.98rem;
}

.join-section {
  justify-content: space-between;
  gap: 24px;
  margin-bottom: clamp(44px, 7vw, 80px);
  padding: clamp(28px, 5vw, 48px);
  border: 5px solid var(--line);
  border-radius: 8px;
  background: var(--lime);
  box-shadow: 10px 10px 0 var(--line);
}

.join-section .primary-action {
  flex: 0 0 auto;
  background: var(--coal);
  color: #ffffff;
}

footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 30px 0 44px;
  border-top: 4px solid var(--line);
}

footer span {
  font-family: var(--font-geist-mono), monospace;
  font-weight: 950;
  text-transform: uppercase;
}

footer p {
  max-width: 620px;
  margin: 0;
  font-size: 0.95rem;
  text-align: right;
}

@media (max-width: 980px) {
  .site-header {
    position: static;
  }

  .hero-section,
  .story-section,
  .mint-section,
  .token-section {
    grid-template-columns: 1fr;
  }

  .hero-art {
    max-width: 720px;
  }

  .portrait-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .roadmap-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 720px) {
  .site-header {
    align-items: stretch;
    flex-wrap: wrap;
    width: min(100% - 22px, 1180px);
    margin-top: 10px;
    box-shadow: 5px 5px 0 var(--line);
  }

  .brand-mark {
    flex: 1 1 160px;
  }

  .nav-links {
    order: 3;
    width: 100%;
    justify-content: space-between;
    gap: 4px;
  }

  .nav-links a {
    flex: 1 1 0;
    padding-inline: 6px;
    text-align: center;
  }

  .header-action {
    min-width: 72px;
    text-align: center;
  }

  .hero-section {
    width: min(100% - 22px, 1180px);
    padding-top: 46px;
  }

  .contract-strip {
    align-items: stretch;
    flex-direction: column;
    width: min(100% - 22px, 920px);
    max-width: none;
    gap: 6px;
    margin-top: 16px;
    padding: 9px 14px;
    box-shadow: 5px 5px 0 var(--line);
  }

  .contract-strip strong {
    font-size: clamp(0.72rem, 3.4vw, 0.95rem);
  }

  h1 {
    font-size: clamp(2.65rem, 15vw, 4.3rem);
  }

  h1 span + span {
    margin-top: 6px;
    font-size: 0.58em;
  }

  h2 {
    font-size: clamp(1.9rem, 10vw, 3rem);
  }

  .primary-action,
  .secondary-action,
  .twitter-action {
    width: 100%;
  }

  .signal-row span {
    flex: 1 1 100%;
    text-align: center;
  }

  .hero-art::before {
    inset: 16px -8px -10px 16px;
  }

  .banner-art {
    box-shadow: 6px 6px 0 var(--line);
  }

  .summon-panel {
    position: relative;
    right: auto;
    bottom: auto;
    width: calc(100% - 14px);
    margin: -6px 0 0 7px;
  }

  .ticker-band {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .ticker-band div {
    min-width: 0;
    padding: 16px;
  }

  .story-section,
  .collection-section,
  .mint-section,
  .token-section,
  .traits-section,
  .roadmap-section,
  .join-section,
  footer {
    width: min(100% - 22px, 1180px);
  }

  .portrait-grid,
  .roadmap-list,
  .token-board {
    grid-template-columns: 1fr;
  }

  .mint-section {
    min-height: 0;
    padding: 24px;
  }

  .mint-section::after {
    background:
      linear-gradient(180deg, rgba(36, 27, 24, 0.9), rgba(36, 27, 24, 0.68)),
      linear-gradient(180deg, rgba(200, 255, 0, 0.18), rgba(27, 20, 18, 0.5));
  }

  .mint-actions > span {
    width: 100%;
    justify-content: center;
    text-align: center;
  }

  .token-board div,
  .token-board div:nth-child(2n),
  .token-board div:nth-last-child(-n + 2) {
    border-right: 0;
    border-bottom: 3px solid var(--line);
  }

  .token-board div:last-child {
    border-bottom: 0;
  }

  .join-section,
  footer {
    align-items: stretch;
    flex-direction: column;
  }

  footer p {
    text-align: left;
  }
}
