@font-face {
  font-family: "Matcha Mint";
  src: url("assets/fonts/matcha-mint.otf") format("opentype");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

:root {
  color-scheme: only light;
  font-family: "Arial Black", Impact, sans-serif;
  --hill-green: #5ba528;
  --win-gray: #c0c0c0;
  --win-blue: #000080;
  --edge-light: #fff;
  --edge-mid: #dfdfdf;
  --edge-dark: #808080;
  --edge-black: #000;
}

* { box-sizing: border-box; }
html { width: 100%; margin: 0; overflow-x: hidden; scroll-behavior: smooth; }
body { width: 100%; min-height: 100%; margin: 0; overflow-x: hidden; background: var(--hill-green); }
main { position: relative; background: var(--hill-green); }
button, a { font: inherit; }

.screen {
  --hero-shift-x: 0px;
  --hero-shift-y: 0px;
  --hero-scale: 1;
  --masthead-shift: 0px;
  --masthead-opacity: 1;
  --cue-opacity: 1;
  --hill-back-shift: 0px;
  --hill-front-shift: 0px;
  isolation: isolate;
  position: relative;
  width: 100%;
  height: 100svh;
  min-height: 500px;
  overflow: hidden;
  background: linear-gradient(#068efe 0%, #25adff 56%, #80d4ff 64%);
}

.sky, .hills {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.cloud {
  position: absolute;
  width: 19vw;
  height: 5vw;
  min-width: 130px;
  min-height: 34px;
  border-radius: 50%;
  background: rgba(255,255,255,.96);
  filter: blur(2px);
  box-shadow: 2.8vw -1.3vw 0 -.5vw rgba(255,255,255,.94), 5.7vw .1vw 0 -.8vw rgba(255,255,255,.93), -3.4vw .5vw 0 -1vw rgba(255,255,255,.9);
}

.cloud-one { top: 16%; left: -3%; animation: cloud-one-drift 18s ease-in-out infinite alternate; }
.cloud-two { top: 10%; right: 4%; animation: cloud-two-drift 22s ease-in-out infinite alternate; }
.cloud-three { top: 38%; right: 22%; opacity: .84; animation: cloud-three-drift 15s ease-in-out infinite alternate; }

.hills {
  top: auto;
  height: 54%;
  bottom: 0;
  overflow: hidden;
  background: linear-gradient(
    to bottom,
    transparent 0 32%,
    rgba(91,165,40,.72) 58%,
    var(--hill-green) 74%,
    var(--hill-green) 100%
  );
}

.hill {
  position: absolute;
  border-radius: 50% 50% 0 0;
  transform-origin: center bottom;
  -webkit-mask-image: linear-gradient(to bottom, #000 0%, #000 44%, rgba(0,0,0,.92) 56%, transparent 78%, transparent 100%);
  mask-image: linear-gradient(to bottom, #000 0%, #000 44%, rgba(0,0,0,.92) 56%, transparent 78%, transparent 100%);
}

.hill-back {
  width: 115vw;
  height: 54vh;
  left: 38%;
  top: 5%;
  background: linear-gradient(158deg, #b8e261 0 13%, #4fae1e 42%, #226f0d 82%);
  transform: rotate(6deg);
  translate: 0 var(--hill-back-shift);
  box-shadow: inset 0 16px 30px rgba(255,255,255,.18);
}

.hill-front {
  width: 112vw;
  height: 48vh;
  right: 32%;
  top: 23%;
  background: linear-gradient(198deg, #9fe04c 0 18%, #43a815 47%, #197207 100%);
  transform: rotate(-5deg);
  translate: 0 var(--hill-front-shift);
  box-shadow: inset 0 15px 25px rgba(255,255,255,.13);
}

.masthead {
  position: absolute;
  z-index: 3;
  top: clamp(32px, 5.4vh, 72px);
  left: 50%;
  width: min(92vw, 1160px);
  transform: translateX(-50%);
  translate: 0 var(--masthead-shift);
  opacity: var(--masthead-opacity);
  text-align: center;
}

.boot-copy {
  display: inline-block;
  position: relative;
  z-index: 2;
  margin: 0 0 .25rem;
  padding: 4px 8px;
  color: #fff;
  background: var(--win-blue);
  font: 700 clamp(10px, 1vw, 14px) "Courier New", monospace;
  box-shadow: 2px 2px 0 #000;
  transform: translateY(-28px);
}

.boot-copy::after { content: "_"; animation: caret-blink 900ms steps(1,end) infinite; }

h1 {
  display: flex;
  justify-content: center;
  margin: 0;
  color: #f7f7f3;
  font-family: "Matcha Mint", "Arial Black", Impact, sans-serif;
  font-size: clamp(62px, 11.5vw, 184px);
  font-weight: 400;
  line-height: .78;
  letter-spacing: .01em;
  text-transform: uppercase;
  -webkit-text-stroke: clamp(2px, .32vw, 6px) #101010;
  text-shadow: .055em .055em 0 #969696, .09em .09em 0 #171717, 0 .12em .2em rgba(0,0,0,.3);
}

h1 span {
  display: inline-block;
  transform-origin: center bottom;
  animation: logo-letter 3.8s ease-in-out infinite;
  animation-delay: calc(var(--letter-index, 0) * 70ms);
}
h1 span:nth-child(1) { --letter-index: 0; }
h1 span:nth-child(2) { --letter-index: 1; }
h1 span:nth-child(3) { --letter-index: 2; }
h1 span:nth-child(4) { --letter-index: 3; }
h1 span:nth-child(5) { --letter-index: 4; }
h1 span:nth-child(6) { --letter-index: 5; }
h1 span:nth-child(7) { --letter-index: 6; }
h1 span:nth-child(8) { --letter-index: 7; }

.hero {
  position: absolute;
  z-index: 5;
  left: 50%;
  bottom: clamp(72px, 8.5vh, 104px);
  width: min(69vh, 660px);
  aspect-ratio: 1;
  transform: translateX(-50%);
  translate: var(--hero-shift-x) var(--hero-shift-y);
  scale: var(--hero-scale);
  animation: hero-float 4.6s 700ms ease-in-out infinite;
}

.mascot-trigger {
  padding: 0;
  border: 0;
  background: transparent;
  color: inherit;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}

.mascot-trigger:focus-visible { outline: 4px dotted #fff; outline-offset: 8px; }

.mascot {
  position: absolute;
  z-index: 3;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 24px 12px rgba(0,0,0,.42));
  animation: boot-in 620ms cubic-bezier(.2,.86,.22,1.16) both;
}

.impact-hole {
  position: absolute;
  z-index: 1;
  top: 11%;
  left: 14%;
  width: 72%;
  height: 62%;
  background: #050505;
  box-shadow: 0 0 0 5px rgba(233,247,255,.75), 0 0 26px 8px rgba(0,0,0,.72);
  clip-path: polygon(8% 30%,15% 22%,17% 8%,34% 14%,47% 0,58% 12%,78% 6%,83% 24%,100% 35%,89% 54%,94% 76%,72% 81%,61% 100%,43% 87%,21% 97%,17% 75%,0 63%);
}

.cracks {
  position: absolute;
  z-index: 2;
  top: -10%;
  left: -26%;
  width: 152%;
  height: 118%;
  overflow: visible;
  opacity: .96;
  filter: drop-shadow(0 2px 1px rgba(0,0,0,.85));
  animation: crack-in 560ms 180ms ease-out both;
}

.cracks path { fill: none; stroke-linecap: square; stroke-linejoin: miter; }
.crack-shadow path { stroke: rgba(0,26,52,.78); stroke-width: 8; }
.crack-light path { stroke: rgba(231,250,255,.96); stroke-width: 3; }

.blurb {
  position: absolute;
  z-index: 9;
  left: clamp(32px, 5vw, 86px);
  bottom: clamp(105px, 16vh, 170px);
  width: min(24vw, 330px);
  padding: 26px 12px 11px;
  color: #111;
  background: var(--win-gray);
  font: 700 clamp(11px, 1vw, 14px)/1.35 Arial, sans-serif;
  box-shadow: inset 2px 2px 0 var(--edge-light), inset -2px -2px 0 var(--edge-black), inset 4px 4px 0 var(--edge-mid), inset -4px -4px 0 var(--edge-dark), 7px 8px 0 rgba(0,0,0,.28);
}

.blurb-title {
  position: absolute;
  top: 4px;
  right: 4px;
  left: 4px;
  padding: 2px 5px;
  color: #fff;
  background: var(--win-blue);
  font-weight: 700;
  line-height: 16px;
}

.blurb p { margin: 5px 4px 1px; }
.actions {
  position: absolute;
  z-index: 10;
  left: 50%;
  bottom: clamp(23px, 3.4vh, 40px);
  display: flex;
  gap: 12px;
  transform: translateX(-50%);
}

.scroll-cue {
  position: absolute;
  z-index: 10;
  right: clamp(28px, 4vw, 68px);
  bottom: clamp(27px, 3.7vh, 44px);
  display: flex;
  align-items: center;
  gap: 9px;
  color: #fff;
  font: 700 11px/1 "Courier New", monospace;
  letter-spacing: .08em;
  text-decoration: none;
  text-shadow: 2px 2px 0 #000;
  opacity: var(--cue-opacity);
  transition: opacity 180ms ease, translate 180ms ease;
}

.scroll-cue b { font-size: 20px; animation: cue-bounce 1.4s ease-in-out infinite; }

.win-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 210px;
  min-height: 46px;
  padding: 8px 17px;
  border: 0;
  color: #111;
  background: var(--win-gray);
  font: 700 14px/1 Arial, sans-serif;
  letter-spacing: .045em;
  text-decoration: none;
  cursor: pointer;
  box-shadow: inset 2px 2px 0 var(--edge-light), inset -2px -2px 0 var(--edge-black), inset 4px 4px 0 var(--edge-mid), inset -4px -4px 0 var(--edge-dark), 5px 6px 0 rgba(0,0,0,.32);
}

.win-button:hover, .win-button:focus-visible {
  color: #fff;
  background: var(--win-blue);
  outline: 2px dotted #fff;
  outline-offset: -7px;
}

.win-button:active {
  padding: 10px 15px 6px 19px;
  box-shadow: inset 2px 2px 0 var(--edge-black), inset -2px -2px 0 var(--edge-light), inset 4px 4px 0 var(--edge-dark), inset -4px -4px 0 var(--edge-mid), 2px 3px 0 rgba(0,0,0,.28);
}

.button-icon { margin-right: 9px; font-size: 19px; line-height: 0; }
.x-icon { font-family: Arial, sans-serif; }

.page-scanlines {
  position: fixed;
  z-index: 100;
  inset: 0;
  pointer-events: none;
  opacity: .3;
  background: repeating-linear-gradient(to bottom, transparent 0 2px, rgba(0,0,0,.4) 3px, rgba(255,255,255,.08) 4px);
  background-position: 0 0;
  mix-blend-mode: multiply;
}

.page-scanlines::after {
  content: "";
  position: absolute;
  right: 0;
  left: 0;
  top: -12vh;
  height: 9vh;
  opacity: .2;
  background: linear-gradient(to bottom, transparent, rgba(255,255,255,.42), transparent);
  animation: scan-beam 8s linear infinite;
}

.scroll-progress {
  position: fixed;
  z-index: 110;
  top: 0;
  right: 0;
  left: 0;
  height: 5px;
  padding: 1px;
  background: #c0c0c0;
  box-shadow: inset 1px 1px 0 #fff, inset -1px -1px 0 #000;
  pointer-events: none;
}

.scroll-progress span {
  display: block;
  width: 100%;
  height: 100%;
  background: #000080;
  transform: scaleX(var(--page-progress, 0));
  transform-origin: left center;
  will-change: transform;
}

.toast {
  position: fixed;
  z-index: 150;
  left: 50%;
  bottom: 91px;
  max-width: calc(100vw - 40px);
  padding: 7px 10px;
  color: #fff;
  background: var(--win-blue);
  font: 700 12px Arial, sans-serif;
  box-shadow: 2px 2px 0 #000;
  opacity: 0;
  transform: translate(-50%,8px);
  transition: opacity 140ms ease, transform 140ms ease;
  pointer-events: none;
}

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

.fx-layer { position: fixed; z-index: 140; inset: 0; overflow: hidden; pointer-events: none; }
.byte-pixel {
  position: absolute;
  width: var(--pixel-size, 7px);
  height: var(--pixel-size, 7px);
  color: #fff;
  background: var(--pixel-color, #d9ff64);
  font: 700 9px/1 "Courier New", monospace;
  box-shadow: 2px 2px 0 rgba(0,0,0,.55);
  animation: pixel-pop 520ms steps(5,end) forwards;
}
.byte-crumb { animation: crumb-burst 680ms cubic-bezier(.1,.75,.2,1) forwards; }

.lore {
  --lore-progress: 0;
  --lore-shift: 0px;
  --network-dash: 1;
  --branch-dash: 1;
  isolation: isolate;
  position: relative;
  margin-top: -1px;
  min-height: 100vh;
  overflow: hidden;
  color: #fff;
  background: linear-gradient(180deg, transparent 0%, transparent 10%, #3d8d1b 25%, #1d690c 52%, #0f4707 100%);
}

.data-network {
  position: absolute;
  z-index: 0;
  inset: 1% 0 2%;
  width: 100%;
  height: 97%;
  overflow: visible;
  pointer-events: none;
}

.data-network path { fill: none; vector-effect: non-scaling-stroke; }
.network-shadow { stroke: rgba(4,43,2,.42); stroke-width: 10; }
.network-line,
.network-branch {
  stroke: rgba(217,255,100,.42);
  stroke-width: 3;
  stroke-dasharray: 1;
  stroke-dashoffset: var(--network-dash);
}
.network-branch { stroke: rgba(255,255,255,.25); stroke-width: 2; stroke-dashoffset: var(--branch-dash); }

.ambient-bytes { position: absolute; z-index: 0; inset: 0; overflow: hidden; pointer-events: none; }
.ambient-bytes span {
  position: absolute;
  top: var(--y);
  left: var(--x);
  color: rgba(217,255,100,.54);
  font: 700 clamp(10px,1.1vw,15px)/1 "Courier New", monospace;
  letter-spacing: .08em;
  translate: 0 var(--lore-shift);
  text-shadow: 2px 2px 0 rgba(4,43,2,.42);
}

.lore::before,
.lore::after {
  content: "";
  position: absolute;
  z-index: -1;
  border-radius: 50%;
  pointer-events: none;
}

.lore::before {
  top: 9%;
  right: -25%;
  width: 86vw;
  height: 38vw;
  background: rgba(73,149,24,.28);
  transform: rotate(-7deg);
}

.lore::after {
  bottom: 5%;
  left: -35%;
  width: 92vw;
  height: 44vw;
  background: rgba(105,178,37,.13);
  transform: rotate(8deg);
}

.lore-inner {
  position: relative;
  z-index: 1;
  width: min(1120px, calc(100% - 48px));
  margin: 0 auto;
  padding: clamp(110px, 15vw, 190px) 0 54px;
}

.lore-kicker {
  margin: 0 0 12px;
  font: 700 clamp(11px, 1.1vw, 14px)/1 "Courier New", monospace;
  letter-spacing: .13em;
}

.lore h2,
.lore h3,
.lore-lead,
.chip-title,
.eating-copy strong,
.final-line {
  font-family: "Matcha Mint", "Arial Black", Impact, sans-serif;
  font-weight: 400;
}

.lore h2 {
  max-width: 100%;
  margin: 0 0 clamp(46px, 6vw, 76px);
  font-size: clamp(64px, 12vw, 150px);
  line-height: .82;
  letter-spacing: .01em;
  white-space: nowrap;
  text-shadow: .035em .045em 0 rgba(4,53,1,.62);
}

.lore-intro {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: clamp(30px, 5vw, 72px);
  align-items: stretch;
  max-width: 1080px;
  margin-bottom: clamp(70px, 10vw, 130px);
  padding: clamp(24px, 4vw, 52px);
  border: 2px solid rgba(255,255,255,.82);
  background: rgba(14,85,7,.18);
  box-shadow: 12px 14px 0 rgba(5,54,2,.3);
}

.lore-intro p { margin: 0; }
.intro-copy { display: flex; flex-direction: column; align-items: flex-start; justify-content: center; gap: 18px; }
.intro-copy p { font: 700 clamp(17px, 2vw, 25px)/1.35 Arial, sans-serif; }
.intro-main { display: flex; flex-direction: column; justify-content: center; padding-block: 4px; }

.lore-art {
  display: block;
  height: auto;
  filter: drop-shadow(12px 14px 0 rgba(6,52,2,.34));
  user-select: none;
}

.art-memory {
  width: min(100%, 310px);
  margin: 0 auto;
  transform: rotate(-4deg);
}

.lore-art-row {
  display: flex;
  align-items: center;
  gap: clamp(30px, 7vw, 96px);
  margin: 0;
  pointer-events: none;
}

.art-row-right, .art-row-left { justify-content: space-between; }
.art-data-center { width: clamp(300px, 42vw, 510px); transform: rotate(2deg); }
.art-growth { width: clamp(320px, 47vw, 560px); transform: rotate(-3deg); }
.art-storage { width: clamp(310px, 43vw, 520px); transform: rotate(3deg); }

.lore-window {
  position: relative;
  width: min(300px, 31vw);
  flex: 0 0 auto;
  padding: 35px 14px 13px;
  color: #111;
  background: var(--win-gray);
  font: 700 clamp(12px, 1.25vw, 15px)/1.3 Arial, sans-serif;
  box-shadow: inset 2px 2px 0 var(--edge-light), inset -2px -2px 0 var(--edge-black), inset 4px 4px 0 var(--edge-mid), inset -4px -4px 0 var(--edge-dark), 9px 10px 0 rgba(4,47,1,.34);
  transform: rotate(-1deg);
}

.lore-window-title {
  position: absolute;
  top: 5px;
  right: 5px;
  left: 5px;
  min-height: 21px;
  padding: 3px 7px;
  color: #fff;
  background: var(--win-blue);
  font: 700 12px/15px Arial, sans-serif;
}

.lore-window p { margin: 5px 3px 1px; }
.lore-window small { display: block; margin: 6px 3px 1px; font: 700 10px/1.25 "Courier New", monospace; }
.window-byte { margin: clamp(-52px, -4vw, -24px) 0 clamp(70px, 9vw, 120px) auto; transform: rotate(1deg); }

.lore-lead {
  max-width: 590px;
  font-size: clamp(34px, 4.7vw, 60px);
  line-height: 1;
  text-wrap: balance;
}

.byte-list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin-bottom: clamp(90px, 13vw, 160px);
  border-block: 2px solid rgba(255,255,255,.84);
}

.byte-item {
  appearance: none;
  border: 0;
  padding: 21px 12px 19px;
  color: inherit;
  background: transparent;
  font: 700 clamp(15px, 2vw, 23px)/1 Arial, sans-serif;
  text-align: center;
  text-transform: uppercase;
  cursor: pointer;
}

.byte-item + .byte-item { border-left: 1px solid rgba(255,255,255,.46); }
.byte-item:focus-visible { outline: 3px dotted #fff; outline-offset: -7px; }
.byte-item.is-selected { color: #fff; background: var(--win-blue); }

.memory-statement {
  max-width: 880px;
  margin: 0 auto clamp(70px, 9vw, 120px);
  text-align: center;
}

.memory-statement p { margin: 0; font: 400 clamp(24px, 4.3vw, 54px)/1.1 "Matcha Mint", sans-serif; }
.memory-statement p + p { margin-top: 22px; }

.memory-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin-bottom: clamp(55px, 7vw, 90px);
  border: 2px solid #fff;
  box-shadow: 10px 12px 0 rgba(6,52,2,.38);
}

.memory-cell { appearance: none; position: relative; overflow: hidden; padding: clamp(22px, 3vw, 36px) 14px; border: 0; color: inherit; background: transparent; text-align: center; cursor: pointer; }
.memory-cell + .memory-cell { border-left: 2px solid #fff; }
.memory-cell:focus-visible { outline: 3px dotted #fff; outline-offset: -7px; }
.memory-grid strong { display: block; font: 400 clamp(28px, 4vw, 51px)/1 "Matcha Mint", sans-serif; }
.memory-cell:last-child strong { font-size: clamp(22px, 3.25vw, 43px); }
.memory-grid span { display: block; margin-top: 8px; font: 700 10px/1.2 "Courier New", monospace; letter-spacing: .08em; }
.memory-cell i { display: block; width: 0; height: 4px; margin: 12px auto -10px; background: var(--win-blue); transition: width 480ms steps(4,end); }
.memory-cell:hover i,
.memory-cell:focus-visible i,
.memory-cell.is-selected i { width: 82%; }
.memory-cell.is-selected { color: #102c07; background: #d9ff64; }

.chip-copy {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(42px, 9vw, 130px);
  align-items: start;
  margin-top: clamp(32px, 4vw, 56px);
  margin-bottom: clamp(55px, 7vw, 90px);
}

.chip-copy p { margin: 0; }
.chip-title { font-size: clamp(55px, 9vw, 116px); line-height: .82; }
.chip-copy p:last-child { padding-top: 8px; font: 700 clamp(18px, 2.3vw, 29px)/1.5 Arial, sans-serif; }
.text-stack span,
.eating-copy strong span { display: block; }

.market-window {
  position: relative;
  width: min(100%, 980px);
  margin: 0 auto clamp(90px, 12vw, 150px);
  padding: 39px 8px 8px;
  color: #111;
  background: var(--win-gray);
  box-shadow: inset 3px 3px 0 var(--edge-light), inset -3px -3px 0 var(--edge-black), inset 6px 6px 0 var(--edge-mid), inset -6px -6px 0 var(--edge-dark), 14px 16px 0 rgba(4,47,1,.4);
}

.market-titlebar {
  position: absolute;
  top: 6px;
  right: 6px;
  left: 6px;
  display: flex;
  min-height: 27px;
  align-items: center;
  justify-content: space-between;
  padding: 4px 7px;
  color: #fff;
  background: var(--win-blue);
  font: 700 12px/1 Arial, sans-serif;
  letter-spacing: .04em;
}

.market-controls { letter-spacing: .12em; }
.market-meta { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 10px 11px 9px; font: 700 11px/1 "Courier New", monospace; }
.market-meta strong { font-size: clamp(18px, 2.3vw, 27px); }
.market-meta span { color: #000080; letter-spacing: .07em; }
.market-window .tradingview-widget-container { width: 100%; height: clamp(390px, 48vw, 520px) !important; overflow: hidden; border: 2px inset #fff; background: #eef2dc; }
.market-window .tradingview-widget-container__widget { width: 100%; height: calc(100% - 28px); }
.market-window .tradingview-widget-copyright { height: 28px; padding: 7px 9px 0; font: 700 10px/1 Arial, sans-serif; text-align: right; }
.market-window .tradingview-widget-copyright a { color: #000080; }

.eating-copy {
  max-width: 950px;
  margin: clamp(42px, 5vw, 72px) auto clamp(120px, 17vw, 210px);
  text-align: center;
}

.eating-copy p { margin: 0; font: 700 clamp(20px, 3vw, 37px)/1.34 Arial, sans-serif; }
.eating-copy p + p { margin-top: 54px; }
.eating-copy small { display: block; margin-top: 10px; font: 700 11px/1.2 "Courier New", monospace; letter-spacing: .06em; }
.eating-copy strong { display: block; margin-top: 78px; font-size: clamp(54px, 10vw, 132px); line-height: .82; }

.name-breakdown {
  max-width: 900px;
  margin: 0 0 clamp(45px, 6vw, 76px) auto;
}

.name-breakdown h3 { margin: 0 0 46px; font-size: clamp(82px, 14vw, 180px); line-height: .75; }
.name-breakdown p { margin: 14px 0; font: 700 clamp(19px, 2.6vw, 33px)/1.2 Arial, sans-serif; }
.name-breakdown b { font-family: "Matcha Mint", sans-serif; font-weight: 400; font-size: 1.25em; }

.final-line { margin-bottom: clamp(100px, 14vw, 170px); font-size: clamp(76px, 15vw, 190px); line-height: .78; }
.final-line p { margin: 0; }
.final-line p:last-child { color: #d9ff64; }

.byte-ribbon {
  width: 100vw;
  margin-left: calc(50% - 50vw);
  overflow: hidden;
  padding-block: 18px;
  border-block: 2px solid rgba(255,255,255,.75);
  font: 700 13px/1 "Courier New", monospace;
  letter-spacing: .08em;
}

.byte-track {
  display: flex;
  width: max-content;
  will-change: transform;
  animation: byte-stream 18s linear infinite;
  animation-play-state: paused;
}

.byte-ribbon.is-active .byte-track { animation-play-state: running; }

.byte-track span { flex: 0 0 auto; white-space: nowrap; }

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding-top: 44px;
  font: 700 12px/1 "Courier New", monospace;
  letter-spacing: .07em;
}

.site-footer a { color: #fff; text-decoration: none; }
.site-footer a:hover, .site-footer a:focus-visible { color: #d9ff64; }

.has-motion .reveal {
  opacity: 0;
  transform: translate(var(--reveal-x, 0), var(--reveal-y, 32px)) scale(var(--reveal-scale, 1));
  transition: opacity 620ms ease var(--reveal-delay, 0ms), transform 620ms cubic-bezier(.2,.8,.2,1) var(--reveal-delay, 0ms), color 180ms ease, letter-spacing 240ms ease, text-shadow 180ms ease, translate 220ms cubic-bezier(.2,.8,.2,1), rotate 220ms cubic-bezier(.2,.8,.2,1), scale 220ms cubic-bezier(.2,.8,.2,1);
}

.has-motion .reveal.is-visible { opacity: 1; transform: translate(0,0) scale(1); }

.has-motion .lore-kicker { --reveal-y: 12px; }
.has-motion .lore h2 { --reveal-y: 20px; --reveal-scale: .96; }
.has-motion .chip-copy { --reveal-y: 18px; }
.has-motion .art-row-left { --reveal-x: -34px; --reveal-y: 10px; }
.has-motion .art-row-right { --reveal-x: 34px; --reveal-y: 10px; }
.has-motion .name-breakdown { --reveal-x: 34px; --reveal-y: 12px; }
.has-motion .final-line { --reveal-y: 24px; --reveal-scale: .96; }

.has-motion .lore-intro.reveal .intro-copy,
.has-motion .lore-intro.reveal .intro-main,
.has-motion .chip-copy.reveal > *,
.has-motion .name-breakdown.reveal > *,
.has-motion .final-line.reveal > * {
  opacity: 0;
  translate: var(--child-x, 0) 18px;
  transition: opacity 560ms ease var(--child-delay, 120ms), translate 560ms cubic-bezier(.2,.8,.2,1) var(--child-delay, 120ms), color 180ms ease, letter-spacing 240ms ease, text-shadow 180ms ease, rotate 220ms cubic-bezier(.2,.8,.2,1), scale 220ms cubic-bezier(.2,.8,.2,1);
}

.has-motion .lore-intro.reveal .intro-copy { --child-x: -24px; }
.has-motion .lore-intro.reveal .intro-main { --child-x: 24px; --child-delay: 210ms; }
.has-motion .chip-copy.reveal > :first-child { --child-x: -28px; }
.has-motion .chip-copy.reveal > :last-child { --child-x: 28px; --child-delay: 190ms; }
.has-motion .name-breakdown.reveal > :nth-child(2) { --child-delay: 90ms; }
.has-motion .name-breakdown.reveal > :nth-child(3) { --child-delay: 170ms; }
.has-motion .name-breakdown.reveal > :nth-child(4) { --child-delay: 250ms; }
.has-motion .final-line.reveal > :last-child { --child-delay: 190ms; }
.has-motion .lore-intro.reveal.is-visible .intro-copy,
.has-motion .lore-intro.reveal.is-visible .intro-main,
.has-motion .chip-copy.reveal.is-visible > *,
.has-motion .name-breakdown.reveal.is-visible > *,
.has-motion .final-line.reveal.is-visible > * { opacity: 1; translate: 0 0; }

.has-motion .byte-list.reveal,
.has-motion .memory-grid.reveal { opacity: 1; transform: none; }
.has-motion .byte-list.reveal .byte-item,
.has-motion .memory-grid.reveal .memory-cell {
  opacity: 0;
  translate: 0 20px;
  transition: opacity 420ms ease var(--cell-delay), translate 420ms cubic-bezier(.2,.8,.2,1) var(--cell-delay), background-color 160ms ease, color 160ms ease;
}
.has-motion .byte-list.reveal.is-visible .byte-item,
.has-motion .memory-grid.reveal.is-visible .memory-cell { opacity: 1; translate: 0 0; }
.byte-item:nth-child(1), .memory-cell:nth-child(1) { --cell-delay: 0ms; }
.byte-item:nth-child(2), .memory-cell:nth-child(2) { --cell-delay: 80ms; }
.byte-item:nth-child(3), .memory-cell:nth-child(3) { --cell-delay: 160ms; }
.byte-item:nth-child(4), .memory-cell:nth-child(4) { --cell-delay: 240ms; }

.lore-art { transform-origin: center; }
.lore-intro.is-active .art-memory { animation: art-memory-bob 2.8s ease-in-out infinite; }
.lore-art-row.is-active .art-data-center { animation: art-server-bob 4.8s ease-in-out infinite; }
.lore-art-row.is-active .art-growth { animation: art-growth-bob 3.8s ease-in-out infinite; }
.lore-art-row.is-active .art-storage { animation: art-storage-bob 5.2s ease-in-out infinite; }

.motion-paused *,
.screen.motion-suspended .hero,
.screen.motion-suspended .mascot,
.screen.motion-suspended .cracks,
.screen.motion-suspended .cloud { animation-play-state: paused !important; }

.hero.is-biting { animation: bite-react 520ms steps(5,end); }
.hero.is-biting .cracks { scale: 1.035; }
.hero.is-biting .impact-hole { scale: 1.045; }
.hero.is-biting .mascot { scale: 1.04 .96; }
.lore.is-celebrating .final-line p:last-child { animation: final-punch 720ms steps(5,end) both; }
.lore.is-celebrating .byte-track { animation-duration: 7s; }

@media (hover: hover) and (pointer: fine) {
  h1 span { transition: translate 180ms ease, rotate 180ms ease, color 180ms ease; }
  h1:hover span { color: #d9ff64; animation-play-state: paused; }
  h1:hover span:nth-child(odd) { translate: 0 -6px; rotate: -1.2deg; }
  h1:hover span:nth-child(even) { translate: 0 3px; rotate: 1.2deg; }
  .hero:hover .mascot { scale: 1.025; }
  .hero:hover .cracks { scale: 1.018; }
  .blurb,
  .lore-window,
  .market-titlebar,
  .byte-item,
  .memory-cell,
  .lore-art { transition: translate 180ms ease, scale 180ms ease, background-color 160ms ease, color 160ms ease; }
  .blurb:hover,
  .blurb.is-focused,
  .lore-window:hover,
  .lore-window.is-focused { translate: 0 -5px; }
  .blurb:hover .blurb-title,
  .blurb.is-focused .blurb-title,
  .lore-window:hover .lore-window-title,
  .lore-window.is-focused .lore-window-title,
  .market-window:hover .market-titlebar { background: #0837c7; }
  .lore-art-row { pointer-events: auto; }
  .lore-art-row:hover .lore-art { animation-play-state: paused; scale: 1.035; }
  .lore-art-row:hover .lore-window { translate: 0 -4px; }
  .byte-item:hover { color: #fff; background: #000080; translate: 0 -3px; }
  .memory-cell:hover { color: #102c07; background: #d9ff64; translate: 0 -7px; }
  .memory-cell strong { transition: scale 180ms ease, rotate 180ms ease; }
  .memory-cell:hover strong { scale: 1.06; rotate: -2deg; }
  .win-button:hover { translate: 0 -2px; }
  .scroll-cue:hover { translate: 0 -3px; }
  .byte-ribbon:hover .byte-track { animation-duration: 11s; }

  .lore-kicker,
  .lore h2,
  .intro-copy > p,
  .lore-lead,
  .memory-statement p,
  .chip-title,
  .text-stack span,
  .eating-copy > p:first-child,
  .eating-copy strong span,
  .name-breakdown h3,
  .name-breakdown p,
  .final-line p {
    transition: color 180ms ease, letter-spacing 240ms ease, text-shadow 180ms ease, translate 220ms cubic-bezier(.2,.8,.2,1), rotate 220ms cubic-bezier(.2,.8,.2,1), scale 220ms cubic-bezier(.2,.8,.2,1);
  }

  .lore-kicker:hover {
    color: #d9ff64;
    letter-spacing: .2em;
    translate: 8px 0;
  }

  .lore h2:hover,
  .chip-title:hover,
  .name-breakdown h3:hover {
    color: #d9ff64;
    translate: 8px -6px;
    rotate: -.7deg;
    scale: 1.018;
    text-shadow: .045em .055em 0 #174f0b;
  }

  .intro-copy > p:hover,
  .lore-lead:hover,
  .memory-statement p:hover,
  .text-stack span:hover,
  .eating-copy > p:first-child:hover,
  .name-breakdown p:hover {
    color: #d9ff64;
    translate: 9px -2px;
    text-shadow: 3px 4px 0 rgba(4,53,1,.48);
  }

  .text-stack span:hover { scale: 1.025; }
  .name-breakdown p:hover b { color: #fff; }

  .eating-copy strong span:hover,
  .final-line p:hover {
    translate: 10px -7px;
    rotate: -.6deg;
    scale: 1.02;
    text-shadow: .045em .055em 0 rgba(4,53,1,.7);
  }

  .eating-copy strong span:last-child:hover,
  .final-line p:last-child:hover {
    color: #fff;
    rotate: .6deg;
  }
}

.win-button.is-denied { animation: button-denied 260ms steps(2,end); }

@keyframes boot-in {
  from { opacity: 0; transform: scale(.54) rotate(-4deg); }
  to { opacity: 1; transform: scale(1) rotate(-.7deg); }
}

@keyframes crack-in {
  from { opacity: 0; transform: scale(.62); }
  to { opacity: .96; transform: scale(1); }
}

@keyframes hero-float {
  0%, 100% { transform: translateX(-50%) translateY(0) rotate(-.15deg); }
  50% { transform: translateX(-50%) translateY(-8px) rotate(.25deg); }
}

@keyframes cloud-one-drift {
  from { transform: translateX(-2vw) rotate(-4deg) scale(1.12); }
  to { transform: translateX(7vw) rotate(-2deg) scale(1.16); }
}

@keyframes cloud-two-drift {
  from { transform: translateX(3vw) rotate(5deg) scale(.85); }
  to { transform: translateX(-6vw) rotate(3deg) scale(.9); }
}

@keyframes cloud-three-drift {
  from { transform: translateX(-3vw) scale(.7); }
  to { transform: translateX(5vw) scale(.74); }
}

@keyframes logo-letter {
  0%, 72%, 100% { translate: 0 0; rotate: 0deg; }
  78% { translate: 0 -5px; rotate: -1deg; }
  84% { translate: 0 2px; rotate: 1deg; }
}

@keyframes caret-blink { 50% { opacity: 0; } }

@keyframes scan-beam {
  from { transform: translateY(-12vh); }
  to { transform: translateY(124vh); }
}

@keyframes bite-react {
  0%,100% { rotate: 0deg; }
  18% { rotate: -2deg; scale: 1.02 .97; }
  38% { rotate: 2deg; scale: .98 1.03; }
  58% { rotate: -1deg; scale: 1.015 .985; }
}

@keyframes pixel-pop {
  from { opacity: .95; transform: translate(-50%,-50%) scale(1); }
  to { opacity: 0; transform: translate(-50%,calc(-50% - 24px)) scale(.2); }
}

@keyframes crumb-burst {
  from { opacity: 1; transform: translate(-50%,-50%) rotate(0); }
  to { opacity: 0; transform: translate(calc(-50% + var(--burst-x)),calc(-50% + var(--burst-y))) rotate(var(--burst-r)); }
}

@keyframes final-punch {
  0% { translate: 0 30px; scale: .84; }
  42% { translate: 0 -9px; scale: 1.07; }
  68% { translate: 0 3px; scale: .98; }
  100% { translate: 0 0; scale: 1; }
}

@keyframes cue-bounce {
  0%, 100% { transform: translateY(-2px); }
  50% { transform: translateY(5px); }
}

@keyframes byte-stream {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

@keyframes art-memory-bob {
  0%,100% { translate: 0 0; }
  48% { translate: 0 -7px; }
  55% { translate: 0 -4px; }
}

@keyframes art-server-bob {
  0%,100% { translate: 0 0; }
  50% { translate: 0 -5px; }
}

@keyframes art-growth-bob {
  0%,100% { translate: 0 0; }
  50% { translate: 5px -7px; }
}

@keyframes art-storage-bob {
  0%,100% { translate: 0 0; }
  50% { translate: -3px -6px; }
}

@keyframes button-denied {
  0%,100% { translate: 0 0; }
  25% { translate: -4px 0; }
  75% { translate: 4px 0; }
}

@media (max-width: 800px) {
  .ambient-bytes { display: none; }
  .data-network { opacity: .55; }
  .masthead { top: 8vh; }
  h1 { font-size: clamp(50px,16.4vw,86px); letter-spacing: -.085em; }
  .hero { bottom: 26vh; width: min(116vw,520px); }
  .hills { height: 53%; }
  .hill-back { width: 190vw; left: 20%; }
  .hill-front { width: 190vw; right: 12%; }
  .cloud-one { left: -20%; }
  .cloud-two { right: -12%; }
  .blurb { left: 50%; bottom: 16vh; width: min(82vw,360px); transform: translateX(-50%); font-size: 11px; }
  .actions { width: calc(100% - 44px); gap: 8px; }
  .win-button { flex: 1; min-width: 0; padding-inline: 9px; font-size: 11px; }
  .button-icon { margin-right: 6px; font-size: 16px; }
  .scroll-cue { right: auto; bottom: 82px; left: 50%; transform: translateX(-50%); }
  .lore-inner { width: min(calc(100% - 34px), 680px); padding-top: 105px; }
  .lore h2 { margin-bottom: 50px; white-space: normal; }
  .lore-intro, .chip-copy { grid-template-columns: 1fr; gap: 28px; }
  .lore-intro { padding: 22px; }
  .intro-main { padding-top: 12px; border-top: 1px solid rgba(255,255,255,.5); }
  .lore-art-row { flex-direction: column; justify-content: center; gap: 34px; }
  .art-row-left .lore-window { order: -1; }
  .lore-window { width: min(82vw, 330px); align-self: center; }
  .window-byte { margin-right: auto; }
  .art-memory { width: min(88vw, 360px); }
  .art-data-center, .art-growth, .art-storage { width: min(88vw, 440px); }
  .byte-list, .memory-grid { grid-template-columns: 1fr 1fr; }
  .byte-item:nth-child(3) { border-left: 0; }
  .byte-item:nth-child(n+3) { border-top: 1px solid rgba(255,255,255,.46); }
  .memory-cell:nth-child(3) { border-left: 0; }
  .memory-cell:nth-child(n+3) { border-top: 2px solid #fff; }
  .chip-copy { margin-bottom: 130px; }
  .market-window { padding-top: 39px; margin-bottom: 110px; }
  .market-meta { align-items: flex-start; flex-direction: column; gap: 6px; }
  .market-window .tradingview-widget-container { height: 430px !important; }
  .name-breakdown { margin-left: 0; }
  .name-breakdown h3 { margin-bottom: 32px; font-size: clamp(50px,16vw,70px); line-height: .82; }
  .name-breakdown p { margin-block: 18px; }
  .chip-title { font-size: clamp(49px,15vw,68px); text-wrap: balance; }
  .eating-copy strong { font-size: clamp(48px,15vw,70px); }
  .final-line { font-size: clamp(58px,18.5vw,86px); }
  .site-footer { flex-direction: column; align-items: flex-start; }
  .has-motion .art-row-left,
  .has-motion .art-row-right,
  .has-motion .name-breakdown { --reveal-x: 0; --reveal-y: 20px; }
}

@media (max-height: 700px) and (orientation: landscape) {
  .masthead { top: 28px; }
  .hero { bottom: 46px; width: min(76vh,560px); }
  .blurb { left: 5vw; bottom: 74px; width: 25vw; transform: none; }
  .actions { bottom: 18px; }
  .win-button { min-height: 38px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .mascot, .cracks, .hero, .cloud, h1 span, .boot-copy::after, .page-scanlines::after, .scroll-cue b, .byte-track, .lore-art, .byte-pixel, .lore.is-celebrating .final-line p:last-child { animation: none !important; }
  .scroll-progress { display: none; }
  .fx-layer, .ambient-bytes { display: none; }
  .network-line, .network-branch { stroke-dashoffset: 0; }
  .hero, .masthead, .hill, .sky, .scroll-cue, .lore-art, .blurb, .lore-window { translate: none !important; scale: 1 !important; }
  .has-motion .reveal,
  .has-motion .reveal *,
  .has-motion .byte-list.reveal .byte-item,
  .has-motion .memory-grid.reveal .memory-cell { opacity: 1; transform: none; translate: none; transition: none; animation: none; }
}
