@font-face {
  font-family: Barlow;
  src: url("assets/barlow-regular.woff2") format("woff2");
  font-weight: 500;
  font-display: swap;
}

@font-face {
  font-family: "Barlow Condensed";
  src: url("assets/barlow-condensed-heavy.woff2") format("woff2");
  font-weight: 900;
  font-display: swap;
}

@font-face {
  font-family: "Barlow Condensed";
  src: url("assets/barlow-condensed-italic.woff2") format("woff2");
  font-style: italic;
  font-weight: 900;
  font-display: swap;
}

@font-face {
  font-family: "IBM Plex Mono";
  src: url("assets/ibm-plex-mono.woff2") format("woff2");
  font-weight: 500;
  font-display: swap;
}

:root {
  color-scheme: dark;
  --ink: #11120e;
  --panel: #181a14;
  --cream: #f1edde;
  --muted: #b8b8a7;
  --line: #3c4031;
  --acid: #dbff3e;
  --orange: #ff6947;
  --display: "Barlow Condensed", Impact, sans-serif;
  --mono: "IBM Plex Mono", "Courier New", monospace;
  --side: clamp(22px, 5.55vw, 88px);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; }
body { margin: 0; background: var(--ink); color: var(--cream); font: 500 1rem/1.5 Barlow, Arial, sans-serif; }
body, h1, h2, h3, p, figure { margin: 0; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
::selection { color: var(--ink); background: var(--acid); }
:focus-visible { outline: 2px solid var(--orange); outline-offset: 5px; }

.shell { width: min(100% - 2 * var(--side), 1312px); margin-inline: auto; }
.skip-link { position: fixed; z-index: 9; top: 8px; left: 8px; transform: translateY(-140%); padding: 10px 14px; background: var(--acid); color: var(--ink); }
.skip-link:focus { transform: none; }

.site-header {
  position: sticky;
  z-index: 5;
  top: 0;
  border-bottom: 1px solid #34372a;
  background: #11120ef5;
}

.header-inner {
  min-height: 74px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 24px;
}

.brand {
  display: inline-flex;
  width: fit-content;
  align-items: center;
  gap: 9px;
  font: 900 23px/.78 var(--display);
  letter-spacing: -.015em;
  text-transform: uppercase;
}

.brand img { object-fit: contain; }
.site-nav { display: flex; align-items: center; gap: clamp(12px, 2.6vw, 40px); }
.site-nav a { position: relative; padding: 13px 5px; color: var(--muted); font: 500 12px/1 var(--mono); text-transform: uppercase; }
.site-nav a:hover, .site-nav a[aria-current] { color: var(--acid); }
.site-nav a[aria-current]::after { position: absolute; right: 4px; bottom: 4px; left: 4px; height: 1px; background: var(--acid); content: ""; }

.button {
  --button-bg: #20221a;
  display: flex;
  min-width: 0;
  min-height: 53px;
  align-items: center;
  gap: 10px;
  padding: 0 12px;
  border: 1px solid #535745;
  background: var(--button-bg);
  color: var(--cream);
  font: 500 clamp(10px, .96vw, 14px)/1.15 var(--mono);
  text-transform: uppercase;
  transition: transform .16s ease, border-color .16s ease, background-color .16s ease, box-shadow .16s ease;
}

.button img { width: 23px; height: 23px; flex: 0 0 auto; object-fit: contain; }
.button .icon-x { padding: 3px; }
.button:hover { transform: translateY(-3px); border-color: var(--acid); box-shadow: 3px 3px 0 #829825; background: #2a3020; }
.button:active { transform: translateY(1px); box-shadow: none; }
.button-arrow { margin-left: auto; font-size: 16px; line-height: 1; }
.button-buy { --button-bg: var(--acid); border-color: var(--acid); color: #141708; box-shadow: 3px 3px 0 #424c1a; }
.button-buy:hover { background: #edff85; box-shadow: 4px 4px 0 #899e29; }
.button-buy img { filter: drop-shadow(1px 1px 0 #343e11) drop-shadow(-1px 0 0 #343e11); }
.header-buy { justify-self: end; min-height: 41px; min-width: 148px; }
.header-buy img { width: 20px; height: 20px; }

.hero {
  isolation: isolate;
  position: relative;
  background: radial-gradient(ellipse at 73% 48%, #333624 0%, #1c2016 40%, #131511 77%);
}

.hero::before, .roadmap::before, .patrol-tape::after {
  position: absolute;
  z-index: -1;
  inset: 0;
  background: url("assets/concrete.webp") center/1040px auto repeat;
  content: "";
  pointer-events: none;
}

.hero::before { opacity: .34; mix-blend-mode: overlay; }
.hero-inner {
  display: grid;
  grid-template-columns: minmax(0, .91fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(28px, 5vw, 78px);
  padding-block: clamp(34px, 3.05vw, 54px) clamp(37px, 2.65vw, 48px);
}

.hero-content { container-type: inline-size; }
.eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--acid);
  font: 500 12px/1.35 var(--mono);
  letter-spacing: .11em;
  text-transform: uppercase;
}

.hero-eyebrow { width: fit-content; padding: 7px 10px; border: 1px solid #849738; background: #232815; }
.signal-dot, .camera-line i, .feed-status i { display: inline-block; width: 7px; height: 7px; flex: 0 0 7px; border-radius: 50%; background: currentColor; }
.signal-dot { box-shadow: 0 0 8px #dbff3e80; }

.hero-title {
  margin: 13px 0 19px;
  font-family: var(--display);
  font-weight: 900;
  letter-spacing: -.034em;
  line-height: .73;
  text-transform: uppercase;
}

.hero-title span { display: block; font-size: clamp(99px, 33cqw, 230px); }
.hero-title em { display: block; margin-top: .055em; color: var(--acid); font-size: clamp(58px, 26.15cqw, 170px); text-indent: -.012em; }
.hero-copy { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; }
.hero-copy p { color: #e1dfce; font-size: clamp(16px, 1.45vw, 22px); line-height: 1.17; }
.ticker {
  display: inline-block;
  transform: rotate(-4deg);
  padding: 5px 11px 7px;
  background: var(--orange);
  color: #17150e;
  font: italic 900 clamp(21px, 2.4vw, 33px)/.9 var(--display);
  letter-spacing: .025em;
}

.hero-actions { display: grid; max-width: 455px; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 9px; margin-top: 27px; }
.hero-photo { position: relative; width: 100%; }
.photo-frame {
  position: relative;
  padding: 10px;
  border: 1px solid #565945;
  background: #12140e;
  box-shadow: 8px 9px 0 #060705, 0 18px 60px #0e0f0a80;
}

.photo-frame::before {
  position: absolute;
  z-index: 2;
  top: -5px;
  right: 26px;
  width: 100px;
  height: 11px;
  background: repeating-linear-gradient(-48deg, var(--acid) 0 9px, #1a1c0f 9px 18px);
  content: "";
  transform: rotate(4deg);
}

.camera-line {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  padding: 3px 3px 9px;
  color: #dedbc8;
  font: 500 clamp(9px, .82vw, 12px)/1.3 var(--mono);
  letter-spacing: .05em;
  text-transform: uppercase;
}

.camera-line span:first-child { display: flex; align-items: center; gap: 6px; }
.camera-line i { color: var(--orange); box-shadow: 0 0 7px #ff69477a; }
.photo-caption { padding: 9px 3px 2px; }
.photo-window { position: relative; overflow: hidden; border: 1px solid #3a3c2c; }
.photo-window img { width: 100%; height: auto; }
.camera-corners { position: absolute; inset: 13px; pointer-events: none; }
.camera-corners b { position: absolute; width: 20px; height: 20px; border: solid #f3eccebe; }
.camera-corners b:nth-child(1) { top: 0; left: 0; border-width: 2px 0 0 2px; }
.camera-corners b:nth-child(2) { top: 0; right: 0; border-width: 2px 2px 0 0; }
.camera-corners b:nth-child(3) { bottom: 0; left: 0; border-width: 0 0 2px 2px; }
.camera-corners b:nth-child(4) { right: 0; bottom: 0; border-width: 0 2px 2px 0; }

.photo-stamp {
  position: absolute;
  right: -17px;
  bottom: 44px;
  transform: rotate(-11deg);
  padding: 4px 10px 7px;
  border: 2px solid var(--orange);
  outline: 1px solid var(--orange);
  outline-offset: -5px;
  background: #19140ee8;
  color: var(--orange);
  font: italic 900 clamp(22px, 3vw, 46px)/.9 var(--display);
  letter-spacing: .055em;
  text-transform: uppercase;
  pointer-events: none;
}

.patrol-tape {
  isolation: isolate;
  position: relative;
  overflow: hidden;
  border-block: 3px solid #9ab323;
  background: var(--acid);
  color: var(--ink);
}

.patrol-tape::after { z-index: 1; opacity: .26; mix-blend-mode: multiply; }
.tape-track { display: flex; width: max-content; animation: patrol-scroll 32s linear infinite; }
.tape-repeat { display: flex; flex: none; }
.tape-repeat span {
  display: grid;
  width: max(218px, 21vw);
  grid-template-columns: minmax(0, 1fr) 20px;
  align-items: center;
  justify-items: center;
  padding-block: 7px 10px;
  font: italic 900 clamp(22px, 2.25vw, 36px)/1 var(--display);
  letter-spacing: .04em;
  text-transform: uppercase;
  white-space: nowrap;
}

.tape-repeat span:nth-child(odd) { width: max(119px, 11vw); }
.tape-repeat span::after { font: 500 .63em/1 var(--mono); content: "✦"; }
@keyframes patrol-scroll { to { transform: translateX(-50%); } }

.section { padding-block: clamp(65px, 7.8vw, 118px); }
.section-heading { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px 30px; margin-bottom: clamp(23px, 3.3vw, 48px); }
.section-heading h2 { margin-top: 6px; font: 900 clamp(61px, 8vw, 122px)/.84 var(--display); letter-spacing: -.024em; text-transform: uppercase; }
.section-heading h2 em { color: var(--acid); }
.cross { font-size: 16px; line-height: 1; }
.section-aside { padding-bottom: 4px; color: var(--muted); font: 500 clamp(12px, 1.2vw, 16px)/1.65 var(--mono); text-transform: uppercase; }

.roadmap { isolation: isolate; position: relative; background: #1a1c15; }
.roadmap::before { opacity: .39; mix-blend-mode: soft-light; }
.roadmap-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; padding: 0; margin: 0; list-style: none; }
.roadmap-card {
  display: grid;
  min-width: 0;
  align-content: start;
  padding: clamp(14px, 2.3vw, 30px);
  border: 1px solid #505543;
  border-top: 4px solid var(--acid);
  background: linear-gradient(145deg, #272a2010 0%, #171912 71%), #25281d;
  box-shadow: 4px 4px 0 #0f100c;
}

.phase-number { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding-bottom: 12px; border-bottom: 1px dashed #555846; color: var(--acid); }
.phase-number span { font: 500 12px/1 var(--mono); letter-spacing: .11em; text-transform: uppercase; }
.phase-number b { font: italic 900 clamp(39px, 5vw, 72px)/.78 var(--display); letter-spacing: -.04em; }
.phase-body { padding-top: 17px; }
.phase-body h3 { font: 900 clamp(34px, 4vw, 58px)/.91 var(--display); text-transform: uppercase; }
.phase-body p { max-width: 31ch; margin-top: 9px; color: #d4d5c5; font-size: clamp(16px, 1.4vw, 19px); line-height: 1.36; }

.chart { border-top: 1px solid #333628; background: radial-gradient(ellipse at 48% 85%, #252b191f, transparent 70%), #11130e; }
.chart-link { min-width: 211px; }
.chart-panel { --chart-height: clamp(390px, 42vw, 620px); border: 1px solid #565b42; background: #171a12; box-shadow: 5px 5px 0 #080905; }
.chart-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  min-height: 50px;
  padding: 8px 14px;
  border-bottom: 1px solid #4c533b;
  background: #22271a;
  font: 500 clamp(9px, 1vw, 13px)/1.3 var(--mono);
  text-transform: uppercase;
}

.chart-bar > span { display: flex; gap: 7px; align-items: center; }
.chart-bar img { object-fit: contain; }
.chart-ticker { color: var(--muted); }
.feed-status { color: var(--acid); white-space: nowrap; }
.chart-empty {
  display: grid;
  min-height: var(--chart-height);
  align-content: center;
  justify-items: center;
  gap: 8px;
  padding: 26px;
  background:
    radial-gradient(ellipse at center, #20271849, transparent 60%),
    linear-gradient(90deg, #41493337 1px, transparent 1px) center/52px 52px,
    linear-gradient(#41493337 1px, transparent 1px) center/52px 52px;
  text-align: center;
}

.chart-empty img { margin-bottom: 5px; object-fit: contain; }
.chart-empty p:last-child { max-width: 38ch; color: var(--muted); }
.chart-message { font: 900 clamp(29px, 4vw, 47px)/.91 var(--display); text-transform: uppercase; }
#dex-frame { display: block; width: 100%; height: var(--chart-height); border: 0; background: #121713; }

.site-footer { padding-bottom: 21px; }
.footer-photo { width: 100%; height: auto; border: 1px solid #323629; }
.footer-bar { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 10px; padding-top: 21px; }
.footer-bar .brand { font-size: 20px; }
.footer-ticker { color: var(--acid); font: 500 13px/1 var(--mono); }
.footer-socials { display: flex; justify-self: end; gap: 5px; }
.footer-social { display: grid; width: 43px; height: 43px; place-items: center; border: 1px solid var(--line); }
.footer-social:hover { border-color: var(--acid); background: #262b1c; }
.footer-social img { object-fit: contain; }

@media (max-width: 940px) {
  .hero-inner { gap: 28px; }
  .hero-actions .button { gap: 7px; padding-inline: 8px; }
  .hero-actions .button img { width: 19px; height: 19px; }
  .photo-stamp { right: -10px; }
}

@media (max-width: 720px) {
  html { scroll-padding-top: 104px; }
  .header-inner { min-height: 0; grid-template-columns: 1fr 1fr; gap: 0 12px; padding-top: 8px; }
  .header-inner .brand { grid-column: 1; grid-row: 1; font-size: 20px; }
  .header-inner .brand img { width: 39px; height: 39px; }
  .header-buy { grid-column: 2; grid-row: 1; min-height: 36px; font-size: 11px; }
  .site-nav { grid-column: 1/-1; justify-content: space-between; gap: 10px; padding-top: 4px; }
  .site-nav a { padding: 9px 7px 12px; }
  .site-nav a[aria-current]::after { bottom: 5px; }

  .hero-inner { max-width: 545px; grid-template-columns: minmax(0, 1fr); gap: 29px; padding-block: 34px 40px; }
  .hero-title { margin-block: 12px 16px; }
  .hero-title span { font-size: 32.75cqw; }
  .hero-title em { font-size: 26.2cqw; }
  .hero-actions { max-width: 100%; margin-top: 21px; }
  .hero-actions .button { min-height: 48px; padding-inline: 10px; font-size: 11px; }
  .photo-frame { padding: 7px; box-shadow: 6px 6px 0 #080905; }
  .camera-corners { inset: 8px; }
  .camera-corners b { width: 14px; height: 14px; }
  .photo-stamp { bottom: 34px; }

  .section { padding-block: 55px; }
  .section-heading { flex-wrap: wrap; }
  .section-heading h2 { font-size: clamp(55px, 13.4vw, 89px); }
  .roadmap-list { grid-template-columns: 1fr; gap: 12px; }
  .roadmap-card { grid-template-columns: 67px minmax(0, 1fr); gap: 16px; padding: 15px 14px; }
  .phase-number { align-items: flex-start; justify-content: flex-start; flex-direction: column; gap: 8px; padding: 1px 5px 0 0; border: 0; border-right: 1px dashed #555846; }
  .phase-body { padding-top: 0; }
  .phase-body p { max-width: 38ch; margin-top: 6px; }
  .chart-link { min-height: 45px; min-width: 186px; font-size: 11px; }
  .footer-photo { min-height: 110px; object-fit: cover; }
}

@media (max-width: 365px) {
  :root { --side: 16px; }
  .hero-actions .button { padding-inline: 7px; font-size: 10px; }
  .header-buy { min-width: 0; }
  .header-ticker { display: none; }
  .chart-bar { padding-inline: 8px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .tape-track { animation: none; }
  .button { transition: none; }
}

[hidden] { display: none !important; }
