:root {
  color-scheme: dark;
  --ink: #080705;
  --ink-soft: #11100d;
  --panel: #17130e;
  --cream: #f3d89c;
  --cream-bright: #fff0c6;
  --muted: #bba878;
  --red: #a92121;
  --red-bright: #dc3434;
  --line: rgba(243, 216, 156, 0.18);
  --sans: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --serif: Georgia, "Times New Roman", serif;
}

* {
  box-sizing: border-box;
}

[hidden] {
  display: none !important;
}

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

body {
  margin: 0;
  min-width: 320px;
  background:
    radial-gradient(circle at 82% 12%, rgba(169, 33, 33, 0.12), transparent 26rem),
    var(--ink);
  color: var(--cream);
  font-family: var(--sans);
  font-size: 16px;
  overflow-x: hidden;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

button {
  font: inherit;
}

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

.grain {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 30;
  opacity: 0.05;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.75'/%3E%3C/svg%3E");
}

.site-header {
  width: min(1540px, calc(100% - 48px));
  min-height: 82px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  border-bottom: 1px solid var(--line);
  position: relative;
  z-index: 10;
}

.wordmark {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  width: fit-content;
  font-family: var(--serif);
  font-weight: 700;
  letter-spacing: 0.06em;
}

.header-brand-copy {
  display: grid;
  gap: 4px;
  line-height: 1;
}

.header-brand-copy strong {
  font: inherit;
}

.header-brand-copy small {
  color: var(--red-bright);
  font-family: var(--sans);
  font-size: 0.52rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.mark {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border: 1px solid rgba(243, 216, 156, 0.55);
  border-radius: 50%;
  font-family: var(--serif);
  font-size: 1.05rem;
}

.dot {
  color: var(--red-bright);
}

nav {
  display: flex;
  align-items: center;
  gap: clamp(24px, 4vw, 54px);
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

nav a {
  padding: 12px 0;
  border-bottom: 1px solid transparent;
  transition: color 160ms ease, border-color 160ms ease;
}

nav a:hover,
nav a:focus-visible {
  color: var(--cream-bright);
  border-color: var(--red-bright);
}

nav .x-nav-link {
  min-width: 20px;
  padding-inline: 3px;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 0.9rem;
  letter-spacing: 0;
  text-align: center;
}

.status {
  justify-self: end;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: var(--muted);
  font-size: 0.74rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.status i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #7ea566;
  box-shadow: 0 0 14px rgba(126, 165, 102, 0.8);
}

.game-stage {
  position: relative;
  width: min(1540px, calc(100% - 48px));
  min-height: calc(100svh - 82px);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(520px, 1.1fr) minmax(400px, 0.9fr);
  overflow: hidden;
  border-inline: 1px solid rgba(243, 216, 156, 0.06);
}

.game-copy {
  padding: clamp(54px, 7vw, 108px) clamp(32px, 6vw, 92px) 72px;
  position: relative;
  z-index: 2;
  background:
    linear-gradient(90deg, rgba(8, 7, 5, 0.98) 0%, rgba(8, 7, 5, 0.92) 75%, rgba(8, 7, 5, 0.2) 100%);
}

.eyebrow {
  margin: 0 0 22px;
  color: var(--red-bright);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 760px;
  margin-bottom: 26px;
  color: var(--cream-bright);
  font-family: var(--serif);
  font-size: clamp(3.3rem, 6.7vw, 7.7rem);
  font-weight: 500;
  line-height: 0.86;
  letter-spacing: -0.055em;
}

h1 em {
  color: var(--cream);
  font-weight: 400;
}

.title-kicker,
.title-word {
  display: block;
}

.title-kicker {
  margin-bottom: 0.06em;
  font-size: 0.42em;
  font-style: normal;
  letter-spacing: 0.22em;
}

.title-word {
  font-size: 0.76em;
  letter-spacing: -0.04em;
}

.hero-command {
  font-size: clamp(3.2rem, 5.8vw, 6.8rem);
  line-height: 0.94;
}

.hero-command span,
.hero-command em {
  display: block;
}

.hero-command em {
  margin-top: 0.08em;
  font-style: italic;
}

.intro {
  max-width: 560px;
  margin-bottom: 34px;
  color: #c8b686;
  font-size: clamp(1rem, 1.35vw, 1.18rem);
  line-height: 1.7;
}

.deal-selector {
  max-width: 640px;
  border-top: 1px solid var(--line);
}

.deal-card {
  width: 100%;
  min-height: 74px;
  padding: 14px 15px;
  display: grid;
  grid-template-columns: 42px minmax(150px, 0.9fr) minmax(170px, 1.1fr);
  gap: 14px;
  align-items: center;
  color: var(--muted);
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--line);
  text-align: left;
  cursor: pointer;
  transition: background 160ms ease, color 160ms ease, padding-left 160ms ease;
}

.deal-card:hover,
.deal-card:focus-visible {
  background: rgba(243, 216, 156, 0.035);
  color: var(--cream-bright);
}

.deal-card.selected {
  padding-left: 22px;
  color: var(--cream-bright);
  background: linear-gradient(90deg, rgba(169, 33, 33, 0.2), transparent 70%);
  box-shadow: inset 2px 0 var(--red-bright);
}

.deal-number {
  color: var(--red-bright);
  font-family: var(--serif);
  font-size: 1rem;
}

.deal-name {
  font-family: var(--serif);
  font-size: 1.05rem;
  font-weight: 700;
}

.deal-effect {
  font-size: 0.75rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.launch-row {
  max-width: 640px;
  margin-top: 30px;
  display: flex;
  align-items: center;
  gap: 24px;
}

.launch-row p {
  margin: 0;
  color: #8e815f;
  font-size: 0.72rem;
  letter-spacing: 0.05em;
}

kbd {
  padding: 3px 6px;
  border: 1px solid rgba(243, 216, 156, 0.22);
  border-radius: 3px;
  color: var(--muted);
  font-family: var(--sans);
  font-size: 0.68rem;
}

.primary-button,
.secondary-button {
  min-height: 50px;
  padding: 0 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 34px;
  border: 1px solid var(--cream);
  cursor: pointer;
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  transition: transform 160ms ease, background 160ms ease, color 160ms ease;
}

.primary-button {
  color: var(--ink);
  background: var(--cream);
}

.primary-button:hover,
.primary-button:focus-visible {
  background: var(--cream-bright);
  transform: translateY(-2px);
}

.secondary-button {
  color: var(--cream);
  background: transparent;
}

.secondary-button:hover,
.secondary-button:focus-visible {
  color: var(--ink);
  background: var(--cream);
}

.portrait-panel {
  position: relative;
  min-height: 720px;
  overflow: hidden;
  background: #0d0905;
}

.portrait-panel img {
  width: 100%;
  height: 100%;
  position: absolute;
  inset: 0;
  object-fit: cover;
  object-position: left center;
  transform: none;
  filter: saturate(0.82) contrast(1.08);
}

.portrait-scrim {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(8, 7, 5, 0.18) 0%, transparent 34%),
    linear-gradient(90deg, transparent 64%, rgba(8, 7, 5, 0.86) 72%, #080705 82%),
    linear-gradient(0deg, rgba(8, 7, 5, 0.96) 0%, transparent 48%);
}

.portrait-caption {
  position: absolute;
  right: clamp(24px, 4vw, 64px);
  bottom: 92px;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  text-shadow: 0 4px 32px #000;
}

.portrait-caption span {
  max-width: 300px;
  color: var(--cream);
  font-family: var(--serif);
  font-size: 1.1rem;
  font-style: italic;
  text-align: right;
}

.portrait-caption strong {
  font-family: var(--serif);
  font-size: clamp(2.8rem, 5.6vw, 5.8rem);
  letter-spacing: -0.05em;
}

.quote {
  position: absolute;
  right: 32px;
  bottom: 30px;
  max-width: 330px;
  color: #b4a77f;
  font-family: var(--serif);
  font-size: 0.9rem;
  font-style: italic;
  text-align: right;
}

.game-shell {
  position: fixed;
  inset: 0;
  z-index: 60;
  display: flex;
  flex-direction: column;
  background: #060706;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px) scale(0.99);
  transition: opacity 250ms ease, transform 250ms ease, visibility 0s linear 250ms;
}

.game-shell.open {
  opacity: 1;
  visibility: visible;
  transform: none;
  transition-delay: 0s;
}

.game-topbar {
  min-height: 84px;
  padding: 0 clamp(16px, 3vw, 44px);
  display: grid;
  grid-template-columns: 48px repeat(4, minmax(120px, 1fr));
  gap: 22px;
  align-items: center;
  border-bottom: 1px solid rgba(243, 216, 156, 0.14);
  background: #0c0b08;
}

.icon-button {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  color: var(--cream);
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 50%;
  cursor: pointer;
  font-size: 1.4rem;
}

.metric {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  padding-left: 22px;
  border-left: 1px solid var(--line);
}

.metric span {
  color: #897c5c;
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.metric strong {
  color: var(--cream-bright);
  font-family: var(--serif);
  font-size: clamp(1rem, 2vw, 1.45rem);
}

.canvas-wrap {
  position: relative;
  flex: 1;
  min-height: 420px;
  overflow: hidden;
}

#gameCanvas {
  width: 100%;
  height: 100%;
  display: block;
  touch-action: none;
  cursor: crosshair;
}

.countdown {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  color: var(--cream-bright);
  background: rgba(4, 5, 4, 0.48);
  font-family: var(--serif);
  font-size: clamp(6rem, 20vw, 15rem);
  text-shadow: 0 0 70px rgba(243, 216, 156, 0.3);
}

.game-message {
  position: absolute;
  left: 50%;
  top: 28px;
  transform: translateX(-50%);
  padding: 12px 18px;
  color: var(--cream-bright);
  background: rgba(8, 7, 5, 0.88);
  border: 1px solid rgba(243, 216, 156, 0.28);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.mobile-controls {
  display: none;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  padding: 10px 14px 14px;
  background: #0c0b08;
  border-top: 1px solid var(--line);
}

.mobile-controls button {
  min-height: 48px;
  color: var(--cream);
  background: rgba(243, 216, 156, 0.04);
  border: 1px solid rgba(243, 216, 156, 0.22);
  font-size: 1.2rem;
  touch-action: none;
}

.result-card {
  width: min(620px, calc(100% - 36px));
  max-height: calc(100% - 36px);
  overflow-y: auto;
  padding: clamp(30px, 6vw, 66px);
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: 4;
  transform: translate(-50%, -50%);
  color: var(--cream);
  background: rgba(12, 10, 7, 0.96);
  border: 1px solid rgba(243, 216, 156, 0.35);
  box-shadow: 0 30px 100px rgba(0, 0, 0, 0.7);
  text-align: center;
}

.result-brand {
  margin: 0 auto 24px;
  display: grid;
  grid-template-columns: 82px 1fr;
  gap: 16px;
  align-items: center;
  text-align: left;
}

.result-brand > .result-token-symbol {
  width: 82px;
  height: 82px;
  object-fit: cover;
  border: 1px solid rgba(243, 216, 156, 0.42);
  border-radius: 50%;
  box-shadow: 0 0 28px rgba(243, 216, 156, 0.08);
}

.result-brand > div:last-child {
  display: flex;
  flex-direction: column;
}

.result-brand > div:last-child strong {
  color: var(--cream-bright);
  font-family: var(--serif);
  font-size: 1.28rem;
  letter-spacing: 0.03em;
}

.result-brand > div:last-child span {
  color: #86795a;
  font-size: 0.63rem;
  font-weight: 800;
  letter-spacing: 0.17em;
  text-transform: uppercase;
}

.result-card h2 {
  margin-bottom: 24px;
  color: var(--cream-bright);
  font-family: var(--serif);
  font-size: clamp(2rem, 5vw, 3.6rem);
  line-height: 1;
}

.result-deal {
  margin: -12px auto 22px;
  display: flex;
  justify-content: center;
  gap: 10px;
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.result-deal span {
  color: #756a50;
}

.result-deal strong {
  color: var(--cream);
}

.result-score {
  display: flex;
  flex-direction: column;
  margin-bottom: 20px;
}

.result-score strong {
  color: var(--red-bright);
  font-family: var(--serif);
  font-size: clamp(3.6rem, 9vw, 6.6rem);
  line-height: 0.9;
}

.result-score span {
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.result-card > p:not(.eyebrow) {
  color: #b8aa83;
}

.result-actions {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 28px;
}

.result-actions button:disabled {
  cursor: progress;
  opacity: 0.72;
  transform: none;
}

.result-card > p.share-note {
  min-height: 1.15em;
  margin: 13px 0 0;
  color: #8f8263;
  font-size: 0.72rem;
  line-height: 1.5;
}

.share-fallback-link {
  width: fit-content;
  margin: 7px auto 0;
  display: block;
  color: var(--cream);
  border-bottom: 1px solid rgba(243, 216, 156, 0.45);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.ticker {
  min-height: 116px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-block: 1px solid var(--line);
  background: #0b0907;
}

.ticker div {
  padding: 28px clamp(18px, 3vw, 48px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  border-right: 1px solid var(--line);
}

.ticker div:last-child {
  border-right: 0;
}

.ticker span {
  font-family: var(--serif);
  font-size: clamp(1.4rem, 2.5vw, 2.2rem);
}

.ticker small {
  margin-top: 5px;
  color: #847758;
  font-size: 0.67rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.manifesto,
.deal-explainer,
.roadmap,
.token-section {
  width: min(1320px, calc(100% - 48px));
  margin: 0 auto;
}

.deal-explainer {
  padding: clamp(92px, 11vw, 160px) 0 0;
}

.deal-explainer .section-heading {
  max-width: 920px;
  margin-bottom: 48px;
}

.deal-explainer .section-heading > p:last-child {
  max-width: 720px;
  margin: 24px 0 0;
  color: #9f926f;
  font-family: var(--serif);
  font-size: 1.08rem;
  line-height: 1.7;
}

.influence-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-block: 1px solid var(--line);
}

.influence-grid article {
  min-height: 250px;
  padding: 32px clamp(22px, 3vw, 42px) 36px;
  border-right: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(243, 216, 156, 0.025), transparent);
}

.influence-grid article:last-child {
  border-right: 0;
}

.influence-grid span {
  color: var(--red-bright);
  font-family: var(--serif);
}

.influence-grid h3 {
  margin: 20px 0 12px;
  color: var(--cream-bright);
  font-family: var(--serif);
  font-size: clamp(1.4rem, 2.2vw, 2rem);
}

.influence-grid strong {
  color: var(--cream);
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.influence-grid p {
  margin: 20px 0 0;
  color: #8f8261;
  line-height: 1.6;
}

.manifesto {
  padding: clamp(48px, 5vw, 72px) 0 clamp(92px, 12vw, 180px);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(50px, 10vw, 150px);
}

.manifesto h2,
.section-heading h2,
.token-copy h2 {
  margin: 0;
  color: var(--cream-bright);
  font-family: var(--serif);
  font-size: clamp(2.5rem, 5vw, 5rem);
  font-weight: 500;
  line-height: 1;
  letter-spacing: -0.045em;
}

.manifesto-copy {
  padding-top: 36px;
  border-top: 1px solid var(--line);
}

.manifesto-copy p {
  color: #b9aa83;
  font-family: var(--serif);
  font-size: clamp(1.05rem, 1.7vw, 1.35rem);
  line-height: 1.65;
}

.roadmap {
  padding: 0 0 clamp(76px, 9vw, 126px);
}

.roadmap .section-heading {
  max-width: 1040px;
  margin-bottom: 0;
}

.section-heading {
  max-width: 800px;
  margin-bottom: 68px;
}

.route-line {
  height: 1px;
  margin-left: 30px;
  background: linear-gradient(90deg, var(--red-bright) 0 32%, var(--line) 32% 100%);
}

.route-stops {
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 36px;
  list-style: none;
}

.route-stops li {
  position: relative;
  padding: 34px 30px 0;
  color: #8f8261;
}

.route-stops li::before {
  content: "";
  width: 11px;
  height: 11px;
  position: absolute;
  left: 25px;
  top: -6px;
  border-radius: 50%;
  background: #393126;
  box-shadow: 0 0 0 6px var(--ink);
}

.route-stops li.active::before {
  background: var(--red-bright);
}

.route-stops li > span {
  color: var(--red-bright);
  font-family: var(--serif);
}

.route-stops small {
  display: block;
  margin-bottom: 8px;
  color: #847858;
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.route-stops h3 {
  margin: 6px 0 12px;
  color: var(--cream);
  font-family: var(--serif);
  font-size: clamp(1.4rem, 2.4vw, 2rem);
}

.route-stops p {
  max-width: 330px;
  font-size: 0.92rem;
  line-height: 1.6;
}

.token-section {
  margin-bottom: clamp(80px, 10vw, 150px);
  padding: clamp(46px, 8vw, 100px);
  display: grid;
  grid-template-columns: minmax(240px, 0.72fr) minmax(340px, 1.28fr);
  gap: clamp(48px, 9vw, 140px);
  align-items: center;
  background:
    radial-gradient(circle at 16% 50%, rgba(169, 33, 33, 0.16), transparent 27rem),
    #0d0b08;
  border: 1px solid var(--line);
}

.token-copy > p:not(.eyebrow) {
  max-width: 620px;
  margin: 24px 0 32px;
  color: #ac9e79;
  line-height: 1.7;
}

.token-seal {
  aspect-ratio: 1;
  width: min(330px, 100%);
  margin: 0 auto;
  position: relative;
  overflow: hidden;
  border: 2px solid rgba(211, 174, 92, 0.92);
  border-radius: 50%;
  background: #f3f1ed;
  box-shadow:
    0 28px 70px rgba(0, 0, 0, 0.48),
    0 0 0 8px #0d0b08,
    0 0 0 9px rgba(243, 216, 156, 0.34);
}

.token-seal::before {
  content: "";
  position: absolute;
  inset: 8px;
  z-index: 3;
  border: 1px solid rgba(211, 174, 92, 0.72);
  border-radius: inherit;
  pointer-events: none;
}

.token-seal::after {
  content: "";
  position: absolute;
  inset: 55% 0 0;
  z-index: 1;
  background: linear-gradient(180deg, transparent, rgba(5, 4, 3, 0.88));
  pointer-events: none;
}

.token-seal img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.token-seal strong {
  width: 88%;
  position: absolute;
  left: 50%;
  bottom: 7.5%;
  z-index: 2;
  color: var(--cream-bright);
  font-family: var(--serif);
  font-size: clamp(1.05rem, 1.8vw, 1.35rem);
  font-weight: 700;
  line-height: 1;
  letter-spacing: clamp(0.07em, 0.2vw, 0.12em);
  text-align: center;
  text-shadow: 0 2px 10px #000;
  transform: translateX(-50%);
  white-space: nowrap;
}

.contract-row {
  max-width: 620px;
  padding: 18px 0;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  border-block: 1px solid var(--line);
}

.contract-row span {
  color: #7f7356;
  font-size: 0.69rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.contract-row strong {
  color: var(--cream);
  font-family: var(--serif);
  font-size: 0.96rem;
  min-width: 0;
  text-align: right;
}

.contract-link {
  color: inherit;
  text-decoration-color: rgba(241, 214, 151, 0.36);
  text-underline-offset: 0.24em;
  overflow-wrap: anywhere;
  transition: color 160ms ease, text-decoration-color 160ms ease;
}

.contract-link:hover,
.contract-link:focus-visible {
  color: var(--cream-bright);
  text-decoration-color: var(--red-bright);
}

.token-actions {
  max-width: 620px;
  margin-top: 18px;
  display: flex;
  gap: 10px;
}

.token-link {
  flex: 1;
  min-width: 0;
  gap: 10px;
}

.token-link small {
  font-size: 0.55rem;
  letter-spacing: 0.06em;
  opacity: 0.7;
}

footer {
  min-height: 130px;
  padding: 30px max(24px, calc((100% - 1320px) / 2));
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 30px;
  align-items: center;
  border-top: 1px solid var(--line);
  color: #766b50;
  font-size: 0.72rem;
  line-height: 1.5;
}

footer p {
  margin: 0;
}

.footer-mark {
  color: var(--cream);
}

.footer-copy {
  max-width: 720px;
  display: grid;
  gap: 6px;
  text-align: right;
}

.footer-copy p:first-child {
  color: #9b8d69;
}

@media (max-width: 1020px) {
  .site-header {
    grid-template-columns: 1fr auto;
  }

  nav {
    display: none;
  }

  .game-stage {
    grid-template-columns: 1fr;
  }

  .portrait-panel {
    min-height: clamp(380px, 62vw, 520px);
    order: -1;
  }

  .portrait-panel img {
    width: 100%;
    object-position: left center;
    transform: none;
  }

  .portrait-scrim {
    background:
      linear-gradient(90deg, rgba(8, 7, 5, 0.12) 0%, transparent 30%),
      linear-gradient(90deg, transparent 47%, rgba(8, 7, 5, 0.98) 53%, #080705 62%),
      linear-gradient(0deg, rgba(8, 7, 5, 0.96) 0%, transparent 48%);
  }

  .game-copy {
    min-height: calc(100svh - 82px);
    background: linear-gradient(180deg, rgba(8, 7, 5, 0.94), rgba(8, 7, 5, 0.98));
  }

  .manifesto {
    grid-template-columns: 1fr;
    gap: 50px;
  }

  .token-section {
    grid-template-columns: minmax(220px, 0.8fr) minmax(300px, 1.2fr);
    gap: 54px;
  }

  .game-topbar {
    grid-template-columns: 42px repeat(3, 1fr);
  }

  .deal-readout {
    display: none;
  }
}

@media (max-width: 720px) {
  .site-header,
  .game-stage,
  .manifesto,
  .deal-explainer,
  .roadmap,
  .token-section {
    width: min(100% - 28px, 1320px);
  }

  .site-header {
    min-height: 70px;
  }

  .status {
    font-size: 0.62rem;
  }

  .status i {
    display: none;
  }

  .game-copy {
    min-height: calc(100svh - 70px);
    padding: 56px 18px 48px;
  }

  h1 {
    font-size: clamp(3rem, 15vw, 5.8rem);
  }

  .hero-command {
    font-size: clamp(2.9rem, 12vw, 4.6rem);
  }

  .intro {
    line-height: 1.5;
  }

  .deal-card {
    grid-template-columns: 34px 1fr;
  }

  .deal-effect {
    grid-column: 2;
    margin-top: -8px;
  }

  .launch-row {
    align-items: flex-start;
    flex-direction: column;
  }

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

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

  .quote {
    left: 24px;
    right: 24px;
    max-width: none;
  }

  .game-topbar {
    min-height: 72px;
    padding: 0 10px;
    grid-template-columns: 38px repeat(3, 1fr);
    gap: 7px;
  }

  .icon-button {
    width: 34px;
    height: 34px;
  }

  .metric {
    padding-left: 8px;
    flex-direction: column;
    justify-content: center;
    gap: 2px;
  }

  .metric span {
    font-size: 0.52rem;
  }

  .metric strong {
    font-size: 0.98rem;
  }

  .canvas-wrap {
    min-height: 340px;
  }

  .mobile-controls {
    display: grid;
  }

  .result-actions {
    flex-direction: column;
  }

  .result-brand {
    grid-template-columns: 64px 1fr;
  }

  .result-brand > .result-token-symbol {
    width: 64px;
    height: 64px;
  }

  .ticker {
    grid-template-columns: 1fr 1fr;
  }

  .ticker div:nth-child(2) {
    border-right: 0;
  }

  .ticker div:nth-child(-n + 2) {
    border-bottom: 1px solid var(--line);
  }

  .influence-grid {
    grid-template-columns: 1fr;
  }

  .influence-grid article {
    min-height: 0;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .influence-grid article:last-child {
    border-bottom: 0;
  }

  .route-line {
    width: 1px;
    height: 480px;
    margin: 0;
    position: absolute;
    left: 19px;
    background: linear-gradient(180deg, var(--red-bright), var(--line));
  }

  .roadmap {
    position: relative;
  }

  .route-stops {
    grid-template-columns: 1fr;
    gap: 4px;
  }

  .route-stops li {
    min-height: 160px;
    padding: 0 0 36px 52px;
  }

  .route-stops li::before {
    left: 14px;
    top: 7px;
  }

  .token-section {
    padding: 48px 28px;
    grid-template-columns: 1fr;
  }

  .token-actions {
    flex-direction: column;
  }

  footer {
    padding: 36px 24px;
    grid-template-columns: 1fr;
  }

  .footer-copy {
    text-align: left;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
