:root {
  --ink: #10191e;
  --navy: #0b222c;
  --paper: #f4ecd9;
  --cream: #fff5da;
  --red: #c73d21;
  --orange: #f18024;
  --copper: #b76732;
  --lime: #d8ff4f;
  --line: rgba(16, 25, 30, 0.2);
  --display: "Anton", Impact, sans-serif;
  --mono: "Space Mono", ui-monospace, monospace;
}

* {
  box-sizing: border-box;
}

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

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--mono);
  overflow-x: hidden;
}

body.menu-open {
  overflow: hidden;
}

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

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

button {
  color: inherit;
  font: inherit;
}

.grain {
  position: fixed;
  inset: 0;
  z-index: 100;
  pointer-events: none;
  opacity: 0.08;
  mix-blend-mode: multiply;
  background-image: repeating-radial-gradient(
    circle at 17% 23%,
    transparent 0,
    transparent 1px,
    rgba(0, 0, 0, 0.22) 1px,
    rgba(0, 0, 0, 0.22) 2px
  );
  background-size: 5px 5px;
}

.topbar {
  height: 76px;
  padding: 0 4vw;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  position: absolute;
  inset: 0 0 auto;
  z-index: 20;
  color: var(--cream);
  border-bottom: 1px solid rgba(255, 255, 255, 0.22);
  background: linear-gradient(180deg, rgba(7, 15, 18, 0.72), transparent);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  width: max-content;
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -0.05em;
}

.brand-icon {
  width: 36px;
  height: 36px;
  border: 2px solid var(--cream);
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: var(--orange);
  font-family: var(--display);
  font-size: 23px;
  position: relative;
}

.brand-icon::after {
  content: "";
  position: absolute;
  width: 9px;
  height: 15px;
  right: -7px;
  top: 9px;
  border: 2px solid var(--cream);
  border-left: 0;
  border-radius: 0 12px 12px 0;
}

.topbar nav {
  display: flex;
  gap: 34px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.16em;
}

.topbar nav a {
  padding: 28px 0;
  position: relative;
}

.topbar nav a::after {
  content: "";
  position: absolute;
  height: 3px;
  left: 0;
  right: 100%;
  bottom: 15px;
  background: var(--orange);
  transition: right 0.2s ease;
}

.topbar nav a:hover::after,
.topbar nav a:focus-visible::after {
  right: 0;
}

.top-cta {
  justify-self: end;
  border: 1px solid rgba(255, 255, 255, 0.55);
  padding: 12px 15px;
  font-size: 10px;
  letter-spacing: 0.12em;
  font-weight: 700;
  transition: 0.2s;
}

.top-cta:hover {
  background: var(--lime);
  border-color: var(--lime);
  color: var(--ink);
}

.menu-button {
  display: none;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.5);
  padding: 10px 12px;
  font-size: 9px;
  letter-spacing: 0.12em;
}

.hero {
  height: min(920px, 100svh);
  min-height: 720px;
  position: relative;
  overflow: hidden;
  color: var(--cream);
  background: var(--ink);
}

.hero > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 58% 45%;
  filter: saturate(0.9) contrast(1.08);
}

.hero-shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(5, 15, 19, 0.94), rgba(5, 15, 19, 0.65) 39%, transparent 72%),
    linear-gradient(0deg, rgba(5, 15, 19, 0.77), transparent 46%);
}

.hero-copy {
  position: absolute;
  inset: 0;
  padding: 15vh 4vw 9vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
}

.eyebrow,
.section-label {
  margin: 0 0 25px;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.2em;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
}

.eyebrow i {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--orange);
  box-shadow: 0 0 0 5px rgba(241, 128, 36, 0.18);
}

h1,
h2,
h3 {
  font-family: var(--display);
  font-weight: 400;
  text-transform: uppercase;
}

h1,
.story-heading h2,
.missions-head h2,
.roadmap-head h2,
.chart-head h2,
.crew h2 {
  line-height: 0.9;
  letter-spacing: -0.025em;
  margin: 0;
}

h1 {
  font-size: clamp(74px, 9.5vw, 156px);
  text-shadow: 0 4px 30px rgba(0, 0, 0, 0.4);
}

h1 em,
h2 em {
  color: var(--orange);
  font-style: normal;
}

.hero-lead {
  margin: 28px 0 0;
  border-left: 3px solid var(--orange);
  padding-left: 16px;
  font-size: clamp(13px, 1.3vw, 18px);
  line-height: 1.6;
}

.hero-lead strong {
  color: var(--lime);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.button {
  min-height: 52px;
  padding: 0 21px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.55);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.1em;
  transition: transform 0.2s, background 0.2s;
}

.button:hover {
  transform: translateY(-3px);
}

.button-red {
  background: var(--red);
  border-color: var(--red);
  box-shadow: 6px 6px 0 var(--cream);
}

.button-line {
  background: rgba(5, 15, 19, 0.4);
  backdrop-filter: blur(8px);
}

.dispatch {
  position: absolute;
  right: 4vw;
  bottom: 38px;
  width: 325px;
  min-height: 84px;
  padding: 18px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 13px;
  background: rgba(11, 34, 44, 0.86);
  backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 255, 255, 0.25);
}

.live-dot {
  width: 12px;
  height: 12px;
  background: #4cff83;
  border-radius: 50%;
  box-shadow: 0 0 20px #4cff83;
}

.dispatch small {
  display: block;
  color: rgba(255, 255, 255, 0.55);
  font-size: 8px;
  letter-spacing: 0.16em;
}

.dispatch strong {
  display: block;
  margin-top: 5px;
  font-size: 15px;
}

.bars {
  height: 28px;
  display: flex;
  gap: 3px;
  align-items: end;
}

.bars i {
  width: 4px;
  background: var(--orange);
}

.bars i:nth-child(1) { height: 30%; }
.bars i:nth-child(2) { height: 50%; }
.bars i:nth-child(3) { height: 72%; }
.bars i:nth-child(4) { height: 90%; }
.bars i:nth-child(5) { height: 100%; background: var(--lime); }

.ticker {
  overflow: hidden;
  background: var(--lime);
  border-top: 3px solid var(--ink);
  border-bottom: 3px solid var(--ink);
  transform: rotate(-1.1deg) scale(1.02);
  position: relative;
  z-index: 4;
}

.ticker > div {
  width: max-content;
  padding: 15px 0;
  display: flex;
  align-items: center;
  gap: 26px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.07em;
  animation: march 25s linear infinite;
}

.ticker b {
  color: var(--red);
}

@keyframes march {
  to { transform: translateX(-25%); }
}

.section {
  padding: 112px 6vw;
}

.section-label {
  display: flex;
  align-items: center;
  gap: 12px;
}

.section-label::before {
  content: "";
  width: 42px;
  height: 3px;
  background: var(--red);
}

.story {
  background:
    linear-gradient(rgba(26, 49, 56, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(26, 49, 56, 0.08) 1px, transparent 1px),
    var(--paper);
  background-size: 44px 44px;
}

.story-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.82fr 0.75fr;
  gap: clamp(32px, 5vw, 80px);
  align-items: center;
}

.story-heading small {
  display: block;
  margin-bottom: 16px;
  font-size: 8px;
  letter-spacing: 0.15em;
}

.story-heading h2,
.missions-head h2,
.roadmap-head h2,
.chart-head h2,
.crew h2 {
  font-size: clamp(64px, 7.6vw, 124px);
}

.story-heading h2 em,
.missions-head h2 em,
.roadmap-head h2 em,
.chart-head h2 em {
  color: var(--red);
}

.story-copy {
  font-size: 12px;
  line-height: 1.85;
}

.story-copy p {
  margin: 0 0 20px;
}

.dropcap::first-letter {
  float: left;
  padding: 8px 10px 0 0;
  color: var(--red);
  font-family: var(--display);
  font-size: 72px;
  line-height: 0.72;
}

blockquote {
  margin: 32px 0 0;
  padding: 18px 0 18px 18px;
  border-left: 5px solid var(--red);
  font-family: var(--display);
  font-size: 27px;
  line-height: 1.05;
}

.story-photo {
  margin: 0;
  transform: rotate(2deg);
  border: 8px solid var(--ink);
  background: var(--ink);
  box-shadow: 14px 16px 0 rgba(16, 25, 30, 0.18);
}

.story-photo img {
  aspect-ratio: 1;
  object-fit: cover;
}

.story-photo figcaption {
  padding: 14px 9px 8px;
  color: var(--cream);
  font-size: 7px;
  letter-spacing: 0.1em;
  text-align: center;
}

.token-board {
  display: grid;
  grid-template-columns: 0.8fr 1.45fr 1fr;
  color: var(--cream);
  background: var(--ink);
}

.token-board > div,
.token-board dl {
  margin: 0;
  padding: 55px 4vw;
  border-right: 1px solid rgba(255, 255, 255, 0.14);
}

.token-board small {
  color: rgba(255, 255, 255, 0.5);
  font-size: 8px;
  letter-spacing: 0.17em;
}

.token-board h2 {
  margin: 10px 0 0;
  color: var(--orange);
  font-size: clamp(38px, 4.3vw, 67px);
}

.token-board dl {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 26px;
}

.token-board dl div {
  padding-left: 13px;
  border-left: 2px solid var(--copper);
}

.token-board dt {
  color: rgba(255, 255, 255, 0.45);
  font-size: 7px;
  letter-spacing: 0.15em;
}

.token-board dd {
  margin: 8px 0 0;
  font-size: 11px;
  font-weight: 700;
}

.contract button {
  width: 100%;
  margin-top: 12px;
  padding: 13px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  color: var(--cream);
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.2);
  cursor: pointer;
}

.contract code {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 9px;
}

.contract b {
  flex: 0 0 auto;
  color: var(--lime);
  font-size: 8px;
}

.missions {
  background: var(--paper);
}

.missions-head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 35px;
  margin-bottom: 55px;
}

.missions-head > p:last-child {
  width: min(100%, 300px);
  font-size: 11px;
  line-height: 1.7;
}

.mission-grid {
  display: grid;
  grid-template-columns: 1.3fr 0.85fr;
  grid-template-rows: 1fr 1fr;
  gap: 18px;
}

.mission-grid figure {
  min-height: 310px;
  margin: 0;
  position: relative;
  overflow: hidden;
  background: var(--ink);
}

.mission-grid .mission-big {
  min-height: 640px;
  grid-row: 1 / 3;
}

.mission-grid img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease, filter 0.4s;
}

.mission-grid figure:hover img {
  transform: scale(1.04);
  filter: saturate(1.15);
}

.mission-grid figcaption {
  position: absolute;
  inset: auto 0 0;
  padding: 35px 22px 20px;
  display: grid;
  grid-template-columns: 30px 1fr auto;
  align-items: center;
  gap: 12px;
  color: var(--cream);
  background: linear-gradient(transparent, rgba(5, 15, 19, 0.92));
}

.mission-grid figcaption span,
.mission-grid figcaption small {
  font-size: 8px;
  letter-spacing: 0.12em;
}

.mission-grid figcaption strong {
  font-family: var(--display);
  font-size: 24px;
  font-weight: 400;
}

.roadmap {
  background: var(--navy);
  color: var(--cream);
}

.section-label.light {
  color: var(--cream);
}

.roadmap-head,
.chart-head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 45px;
  margin-bottom: 60px;
}

.roadmap-head > p {
  width: min(100%, 390px);
  color: rgba(255, 255, 255, 0.62);
  font-size: 11px;
  line-height: 1.8;
}

.roadmap-list {
  border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.roadmap-list article {
  min-height: 180px;
  display: grid;
  grid-template-columns: 100px 1fr auto;
  gap: 34px;
  align-items: center;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  transition: background 0.2s, padding 0.2s;
}

.roadmap-list article:hover {
  padding: 0 20px;
  background: rgba(255, 255, 255, 0.035);
}

.road-number {
  color: rgba(255, 255, 255, 0.12);
  font-family: var(--display);
  font-size: 70px;
}

.roadmap-list small {
  color: var(--orange);
  font-size: 8px;
  letter-spacing: 0.17em;
}

.roadmap-list h3 {
  margin: 8px 0;
  font-size: 37px;
}

.roadmap-list p {
  max-width: 650px;
  margin: 0;
  color: rgba(255, 255, 255, 0.55);
  font-size: 10px;
  line-height: 1.65;
}

.status {
  min-width: 75px;
  padding: 8px 10px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  text-align: center;
  font-size: 8px;
  letter-spacing: 0.12em;
  transform: rotate(-2deg);
}

.status.active {
  color: var(--ink);
  background: var(--lime);
  border-color: var(--lime);
}

.chart {
  background: var(--paper);
}

.feed-label {
  padding: 12px 14px;
  border: 1px solid var(--line);
  font-size: 9px;
  letter-spacing: 0.12em;
}

.feed-label i {
  width: 8px;
  height: 8px;
  display: inline-block;
  margin-right: 7px;
  border-radius: 50%;
  background: #21c96f;
  animation: blink 1.3s infinite;
}

@keyframes blink {
  50% { opacity: 0.25; }
}

.chart-shell {
  height: 660px;
  position: relative;
  background: #0a1418;
  border: 12px solid var(--ink);
  box-shadow: 14px 14px 0 var(--copper);
}

.chart-shell iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

.chart-empty {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 13px;
  color: var(--cream);
  text-align: center;
  background:
    linear-gradient(rgba(216, 255, 79, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(216, 255, 79, 0.06) 1px, transparent 1px),
    #0a1418;
  background-size: 48px 48px;
}

.chart-empty.hidden {
  display: none;
}

.fake-chart {
  width: min(80%, 760px);
  height: 190px;
  opacity: 0.68;
  background: linear-gradient(
    165deg,
    transparent 0 12%,
    var(--lime) 12.4% 13%,
    transparent 13.4% 30%,
    var(--orange) 30.4% 31%,
    transparent 31.4% 45%,
    var(--lime) 45.4% 46%,
    transparent 46.4% 67%,
    var(--red) 67.4% 68%,
    transparent 68.4%
  );
  clip-path: polygon(0 70%, 10% 62%, 17% 75%, 26% 41%, 37% 52%, 47% 28%, 58% 44%, 70% 15%, 82% 29%, 91% 10%, 100% 0, 100% 100%, 0 100%);
}

.chart-empty strong {
  color: var(--lime);
  font-family: var(--display);
  font-size: 40px;
  letter-spacing: 0.03em;
}

.chart-empty span {
  padding: 0 20px;
  color: rgba(255, 255, 255, 0.55);
  font-size: 9px;
}

.crew {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  align-items: center;
  gap: 8vw;
  background: var(--orange);
}

.eyebrow.dark i {
  background: var(--ink);
  box-shadow: 0 0 0 5px rgba(16, 25, 30, 0.12);
}

.crew-copy > p:last-child {
  margin: 25px 0 0;
  font-size: 12px;
  font-weight: 700;
}

.socials {
  border: 3px solid var(--ink);
  box-shadow: 12px 12px 0 var(--cream);
}

.socials a {
  min-height: 122px;
  padding: 0 25px;
  display: grid;
  grid-template-columns: 40px 1fr auto;
  gap: 15px;
  align-items: center;
  border-bottom: 3px solid var(--ink);
  transition: 0.2s;
}

.socials a:last-child {
  border-bottom: 0;
}

.socials a:hover {
  padding-left: 35px;
  color: var(--lime);
  background: var(--ink);
}

.socials span,
.socials b {
  font-size: 8px;
  letter-spacing: 0.12em;
}

.socials strong {
  font-family: var(--display);
  font-size: 35px;
  font-weight: 400;
}

footer {
  padding: 80px 6vw 45px;
  display: grid;
  grid-template-columns: 1.2fr 1fr 0.7fr;
  align-items: end;
  gap: 7vw;
  color: var(--cream);
  background: var(--ink);
}

.footer-logo {
  font-family: var(--display);
  font-size: clamp(56px, 8vw, 128px);
  line-height: 0.8;
}

.footer-logo span {
  color: var(--orange);
}

footer p {
  margin: 0;
  color: rgba(255, 255, 255, 0.45);
  font-size: 8px;
  line-height: 1.8;
}

footer > div:last-child {
  display: flex;
  flex-direction: column;
  gap: 8px;
  color: rgba(255, 255, 255, 0.55);
  font-size: 8px;
  text-align: right;
}

.toast {
  position: fixed;
  left: 50%;
  bottom: 28px;
  z-index: 110;
  max-width: calc(100vw - 40px);
  padding: 13px 18px;
  color: var(--ink);
  background: var(--lime);
  border: 2px solid var(--ink);
  box-shadow: 5px 5px 0 var(--ink);
  font-size: 10px;
  font-weight: 700;
  transform: translate(-50%, 130px);
  transition: transform 0.25s ease;
}

.toast.visible {
  transform: translate(-50%, 0);
}

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 980px) {
  .topbar {
    grid-template-columns: 1fr auto auto;
    gap: 12px;
  }

  .menu-button {
    display: block;
  }

  .topbar nav {
    position: fixed;
    inset: 66px 0 auto;
    padding: 30px 20px;
    display: none;
    flex-direction: column;
    gap: 0;
    color: var(--cream);
    background: var(--navy);
    border-bottom: 3px solid var(--orange);
  }

  .topbar nav.open {
    display: flex;
  }

  .topbar nav a {
    padding: 17px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.14);
  }

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

  .story-photo {
    max-width: 430px;
    grid-column: 1 / -1;
    justify-self: center;
  }

  .token-board {
    grid-template-columns: 1fr 1fr;
  }

  .contract {
    grid-column: 1 / -1;
  }

  .missions-head,
  .roadmap-head,
  .chart-head {
    align-items: flex-start;
    flex-direction: column;
  }

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

  footer {
    grid-template-columns: 1fr;
  }

  footer > div:last-child {
    text-align: left;
  }
}

@media (max-width: 680px) {
  .topbar {
    height: 66px;
    padding: 0 20px;
  }

  .brand {
    font-size: 15px;
  }

  .brand-icon {
    width: 30px;
    height: 30px;
    font-size: 19px;
  }

  .top-cta {
    display: none;
  }

  .hero {
    height: 850px;
    min-height: 0;
  }

  .hero > img {
    object-position: 62% center;
  }

  .hero-shade {
    background:
      linear-gradient(180deg, rgba(5, 15, 19, 0.25), rgba(5, 15, 19, 0.12) 32%, rgba(5, 15, 19, 0.9) 69%),
      linear-gradient(90deg, rgba(5, 15, 19, 0.5), transparent);
  }

  .hero-copy {
    padding: 105px 20px 160px;
    justify-content: flex-end;
  }

  h1 {
    font-size: 66px;
  }

  .hero-actions {
    width: 100%;
    flex-direction: column;
  }

  .button {
    width: 100%;
  }

  .dispatch {
    right: 20px;
    bottom: 26px;
    width: calc(100% - 40px);
  }

  .section {
    padding: 80px 20px;
  }

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

  .story-photo {
    grid-column: auto;
    max-width: 320px;
  }

  .story-heading h2,
  .missions-head h2,
  .roadmap-head h2,
  .chart-head h2,
  .crew h2 {
    font-size: 60px;
  }

  .token-board {
    display: block;
  }

  .token-board > div,
  .token-board dl {
    padding: 40px 20px;
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.14);
  }

  .mission-grid {
    display: block;
  }

  .mission-grid figure,
  .mission-grid .mission-big {
    min-height: 420px;
    margin-bottom: 14px;
  }

  .mission-grid figcaption {
    grid-template-columns: 25px 1fr;
  }

  .mission-grid figcaption small {
    grid-column: 2;
  }

  .roadmap-list article {
    min-height: auto;
    padding: 28px 0;
    grid-template-columns: 56px 1fr;
    gap: 14px;
  }

  .roadmap-list article:hover {
    padding: 28px 8px;
  }

  .road-number {
    font-size: 48px;
  }

  .roadmap-list h3 {
    font-size: 28px;
  }

  .status {
    grid-column: 2;
    justify-self: start;
  }

  .chart-shell {
    height: 500px;
    border-width: 7px;
    box-shadow: 8px 8px 0 var(--copper);
  }

  .chart-empty strong {
    font-size: 30px;
  }

  .socials a {
    min-height: 116px;
    padding: 0 15px;
    grid-template-columns: 25px 1fr;
  }

  .socials a:hover {
    padding-left: 22px;
  }

  .socials b {
    grid-column: 2;
    margin-top: -28px;
    padding-bottom: 16px;
  }

  .socials strong {
    font-size: 28px;
  }

  footer {
    padding: 65px 20px 35px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}
