:root {
  --paper: #f5f0df;
  --paper-bright: #fffdf3;
  --ink: #101610;
  --forest: #142819;
  --green: #486e43;
  --green-light: #8ea174;
  --lime: #dfe4a6;
  --rust: #a34e3a;
  --line: rgba(16, 22, 16, 0.22);
  --mx: 0px;
  --my: 0px;
  --stage-x: 0px;
  --stage-y: 0px;
}

* {
  box-sizing: border-box;
}

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

body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 15% 12%, rgba(221, 228, 166, 0.42), transparent 34rem),
    var(--paper);
  font-family: "Trebuchet MS", "Avenir Next", Arial, sans-serif;
  overflow-x: hidden;
}

body::selection {
  color: var(--paper-bright);
  background: var(--rust);
}

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

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

button,
input {
  font: inherit;
}

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

.paper-noise {
  position: fixed;
  inset: 0;
  z-index: 50;
  pointer-events: none;
  opacity: 0.13;
  mix-blend-mode: multiply;
  background-image:
    repeating-linear-gradient(0deg, transparent 0 3px, rgba(20, 40, 25, 0.08) 3px 4px),
    repeating-linear-gradient(90deg, transparent 0 5px, rgba(20, 40, 25, 0.05) 5px 6px);
  mask-image: radial-gradient(circle, #000 30%, transparent 95%);
}

.site-header {
  position: fixed;
  z-index: 40;
  top: 18px;
  left: 50%;
  width: min(1180px, calc(100% - 32px));
  min-height: 66px;
  padding: 8px 9px 8px 14px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 20px;
  transform: translateX(-50%);
  border: 1px solid rgba(245, 240, 223, 0.26);
  border-radius: 18px;
  background: rgba(16, 22, 16, 0.82);
  color: var(--paper-bright);
  backdrop-filter: blur(18px);
  box-shadow: 0 18px 60px rgba(10, 18, 11, 0.17);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  width: max-content;
  font-family: Impact, "Arial Black", sans-serif;
  font-size: 1.04rem;
  letter-spacing: 0.07em;
}

.brand img {
  border-radius: 12px;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.15);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
  color: rgba(255, 253, 243, 0.68);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.nav-links a,
.footer-links a {
  transition: color 180ms ease, transform 180ms ease;
}

.nav-links a:hover,
.nav-links a:focus-visible,
.footer-links a:hover,
.footer-links a:focus-visible {
  color: var(--lime);
}

.mini-cta {
  justify-self: end;
  padding: 14px 18px;
  border-radius: 12px;
  color: var(--forest);
  background: var(--lime);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  transition: transform 180ms ease, background 180ms ease;
}

.mini-cta:hover,
.mini-cta:focus-visible {
  transform: translateY(-2px) rotate(-1deg);
  background: var(--paper-bright);
}

.hero {
  position: relative;
  min-height: 100svh;
  padding: clamp(150px, 18vh, 210px) max(6vw, 24px) 74px;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(280px, 0.4fr);
  align-items: end;
  gap: 38px;
  isolation: isolate;
  overflow: hidden;
  color: var(--paper-bright);
  background: var(--forest);
}

.hero-art,
.hero-vignette {
  position: absolute;
  inset: -3%;
  z-index: -2;
}

.hero-art {
  background: url("assets/hero-world.png") center / cover no-repeat;
  transform: translate3d(calc(var(--mx) * -0.35), calc(var(--my) * -0.35), 0) scale(1.055);
  transition: transform 300ms ease-out;
}

.hero-vignette {
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(10, 18, 11, 0.94) 0%, rgba(10, 18, 11, 0.78) 34%, rgba(10, 18, 11, 0.12) 72%),
    linear-gradient(0deg, rgba(10, 18, 11, 0.76), transparent 48%);
}

.hero-copy {
  max-width: 900px;
}

.eyebrow {
  margin: 0 0 18px;
  display: flex;
  align-items: center;
  gap: 12px;
  color: rgba(255, 253, 243, 0.72);
  font-size: 0.75rem;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.eyebrow > span {
  width: 36px;
  height: 1px;
  background: currentColor;
}

.hero h1,
.lore h2,
.chamber h2,
.token h2,
.guide-title h2 {
  margin: 0;
  font-family: Impact, "Arial Black", sans-serif;
  font-weight: 900;
  letter-spacing: -0.045em;
  line-height: 0.88;
  text-transform: uppercase;
}

.hero h1 {
  max-width: 880px;
  font-size: clamp(4.5rem, 10.8vw, 10.4rem);
  text-shadow: 0 14px 40px rgba(4, 9, 5, 0.35);
}

.hero h1 span,
.hero h1 em {
  display: block;
}

.hero h1 em {
  color: var(--lime);
  font-style: normal;
  transform: rotate(-1.5deg);
  transform-origin: left center;
}

.hero-lede {
  max-width: 620px;
  margin: 28px 0 0;
  color: rgba(255, 253, 243, 0.8);
  font-family: Georgia, serif;
  font-size: clamp(1rem, 1.6vw, 1.25rem);
  line-height: 1.6;
}

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

.button {
  min-height: 52px;
  padding: 0 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  border: 1px solid transparent;
  border-radius: 14px;
  font-size: 0.82rem;
  font-weight: 900;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease, color 180ms ease;
}

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

.button-primary {
  color: var(--forest);
  background: var(--lime);
  box-shadow: 0 12px 34px rgba(8, 16, 9, 0.28);
}

.button-primary:hover,
.button-primary:focus-visible {
  background: var(--paper-bright);
  box-shadow: 0 18px 38px rgba(8, 16, 9, 0.36);
}

.button-ghost {
  border-color: rgba(255, 253, 243, 0.3);
  color: var(--paper-bright);
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(10px);
}

.button-ghost:hover,
.button-ghost:focus-visible {
  border-color: var(--lime);
  color: var(--lime);
}

.incident-card {
  justify-self: end;
  align-self: center;
  width: min(100%, 300px);
  padding: 22px;
  border: 1px solid rgba(255, 253, 243, 0.26);
  border-radius: 24px 8px 24px 8px;
  background: rgba(16, 22, 16, 0.74);
  box-shadow: 0 28px 70px rgba(4, 9, 5, 0.28);
  backdrop-filter: blur(14px);
  transform: rotate(1.4deg);
}

.incident-topline {
  display: flex;
  justify-content: space-between;
  color: rgba(255, 253, 243, 0.55);
  font-size: 0.62rem;
  font-weight: 900;
  letter-spacing: 0.13em;
}

.live-dot {
  color: var(--lime);
}

.live-dot::before {
  content: "";
  width: 7px;
  height: 7px;
  margin-right: 6px;
  display: inline-block;
  border-radius: 50%;
  background: var(--lime);
  box-shadow: 0 0 0 5px rgba(223, 228, 166, 0.12);
  animation: pulse 1.8s infinite;
}

.incident-number {
  margin: 28px 0 24px;
  color: var(--lime);
  font-family: Impact, "Arial Black", sans-serif;
  font-size: 4.7rem;
  line-height: 0.8;
}

.incident-data {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px 18px;
  font-size: 0.68rem;
  letter-spacing: 0.08em;
}

.incident-data span {
  color: rgba(255, 253, 243, 0.46);
}

.incident-data strong {
  color: var(--paper-bright);
}

.scroll-mark {
  position: absolute;
  left: max(6vw, 24px);
  bottom: 26px;
  display: flex;
  align-items: center;
  gap: 14px;
  color: rgba(255, 253, 243, 0.56);
  font-size: 0.66rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.scroll-mark i {
  width: 68px;
  height: 1px;
  position: relative;
  overflow: hidden;
  background: rgba(255, 253, 243, 0.22);
}

.scroll-mark i::after {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--lime);
  transform: translateX(-100%);
  animation: scan 2.6s ease-in-out infinite;
}

.section-shell {
  width: min(1180px, calc(100% - 40px));
  margin-inline: auto;
}

.lore {
  padding: 120px 0 140px;
}

.section-kicker {
  display: flex;
  align-items: center;
  gap: 16px;
  color: var(--green);
  font-size: 0.7rem;
  font-weight: 900;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.section-kicker span {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
}

.section-kicker p {
  margin: 0;
}

.lore-heading {
  margin-top: 46px;
  display: grid;
  grid-template-columns: 1.45fr 0.65fr;
  align-items: end;
  gap: 50px;
}

.lore h2,
.token h2 {
  font-size: clamp(3.6rem, 8vw, 8.2rem);
}

.lore-heading > p,
.chamber-copy > p {
  margin: 0 0 8px;
  color: rgba(16, 22, 16, 0.7);
  font-family: Georgia, serif;
  font-size: 1.08rem;
  line-height: 1.72;
}

.chapter-grid {
  margin-top: 90px;
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 16px;
}

.chapter {
  min-height: 320px;
  padding: 26px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border: 1px solid var(--line);
  border-radius: 28px 7px 28px 7px;
  box-shadow: 0 20px 50px rgba(23, 39, 25, 0.08);
  overflow: hidden;
}

.chapter-a {
  grid-column: 1 / span 4;
  background: rgba(255, 253, 243, 0.66);
  transform: rotate(-1deg);
}

.chapter-b {
  grid-column: 5 / span 4;
  margin-top: 48px;
  color: var(--paper-bright);
  background: var(--forest);
  transform: rotate(0.8deg);
}

.chapter-c {
  grid-column: 9 / span 4;
  background: var(--lime);
  transform: rotate(-0.5deg);
}

.chapter-index {
  color: rgba(16, 22, 16, 0.22);
  font-family: Georgia, serif;
  font-size: 5.5rem;
  font-style: italic;
  line-height: 1;
}

.chapter-b .chapter-index {
  color: rgba(255, 253, 243, 0.16);
}

.chapter-label {
  margin: 0 0 8px;
  color: var(--green);
  font-size: 0.68rem;
  font-weight: 900;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.chapter-b .chapter-label {
  color: var(--lime);
}

.chapter h3 {
  margin: 0;
  font-family: Impact, "Arial Black", sans-serif;
  font-size: 2rem;
  letter-spacing: -0.02em;
  line-height: 1;
  text-transform: uppercase;
}

.chapter div > p:last-child {
  margin: 18px 0 0;
  color: currentColor;
  opacity: 0.68;
  font-family: Georgia, serif;
  line-height: 1.6;
}

.manifesto {
  margin: 110px 0 0;
  padding: 50px clamp(26px, 6vw, 80px);
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 32px;
  border-block: 1px solid var(--line);
}

.manifesto span {
  color: var(--rust);
  font-family: Georgia, serif;
  font-size: 8rem;
  line-height: 0.5;
}

.manifesto p {
  max-width: 840px;
  margin: 0;
  font-family: Impact, "Arial Black", sans-serif;
  font-size: clamp(2.1rem, 4.8vw, 5rem);
  letter-spacing: -0.025em;
  line-height: 0.96;
  text-transform: uppercase;
}

.chamber {
  padding: 130px 0;
  color: var(--paper-bright);
  background:
    radial-gradient(circle at 72% 38%, rgba(72, 110, 67, 0.32), transparent 34rem),
    var(--ink);
  overflow: hidden;
}

.chamber-inner {
  display: grid;
  grid-template-columns: minmax(260px, 0.56fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(38px, 7vw, 96px);
}

.section-kicker-light {
  color: var(--lime);
}

.section-kicker-light span {
  border-color: rgba(223, 228, 166, 0.32);
}

.chamber h2 {
  margin-top: 38px;
  font-size: clamp(3.7rem, 6.9vw, 7.5rem);
}

.chamber-copy > p {
  margin-top: 28px;
  color: rgba(255, 253, 243, 0.65);
}

.breach-toggle {
  width: 100%;
  margin-top: 34px;
  padding: 12px 16px 12px 12px;
  display: flex;
  align-items: center;
  gap: 14px;
  border: 1px solid rgba(255, 253, 243, 0.18);
  border-radius: 18px;
  color: var(--paper-bright);
  background: rgba(255, 255, 255, 0.05);
  cursor: pointer;
  text-align: left;
  transition: border-color 180ms ease, background 180ms ease;
}

.breach-toggle:hover,
.breach-toggle:focus-visible {
  border-color: var(--lime);
  background: rgba(223, 228, 166, 0.08);
}

.toggle-track {
  width: 66px;
  height: 36px;
  flex: 0 0 auto;
  padding: 4px;
  display: flex;
  justify-content: flex-end;
  border-radius: 999px;
  background: var(--green);
}

.toggle-track i {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--lime);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
  transition: transform 420ms cubic-bezier(0.2, 0.9, 0.2, 1), background 180ms ease;
}

.breach-toggle[aria-pressed="false"] .toggle-track {
  justify-content: flex-start;
  background: rgba(255, 253, 243, 0.18);
}

.breach-toggle[aria-pressed="false"] .toggle-track i {
  background: var(--paper-bright);
}

.toggle-copy {
  display: grid;
  gap: 3px;
}

.toggle-copy small {
  color: rgba(255, 253, 243, 0.5);
  font-size: 0.62rem;
  font-weight: 900;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.toggle-copy strong {
  color: var(--lime);
  font-size: 0.85rem;
  letter-spacing: 0.06em;
}

.stage-wrap {
  position: relative;
}

.stage-wrap::before {
  content: "";
  position: absolute;
  inset: 18px -18px -18px 18px;
  border: 1px solid rgba(223, 228, 166, 0.17);
  border-radius: 46px 12px 46px 12px;
}

.stage {
  position: relative;
  min-height: 590px;
  border: 1px solid rgba(255, 253, 243, 0.22);
  border-radius: 46px 12px 46px 12px;
  background:
    radial-gradient(circle at 68% 44%, rgba(223, 228, 166, 0.24), transparent 15rem),
    linear-gradient(150deg, #4d6f45, #263c29 58%, #162318);
  box-shadow: inset 0 0 80px rgba(5, 12, 6, 0.42), 0 34px 80px rgba(0, 0, 0, 0.3);
  overflow: hidden;
  isolation: isolate;
}

.stage-grid {
  position: absolute;
  inset: 0;
  z-index: -2;
  opacity: 0.24;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.12) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.12) 1px, transparent 1px);
  background-size: 54px 54px;
  transform: perspective(460px) rotateX(62deg) scale(1.8) translateY(28%);
  transform-origin: bottom center;
}

.stage::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 8%;
  z-index: -1;
  width: 48%;
  height: 9%;
  border-radius: 50%;
  background: rgba(4, 10, 5, 0.42);
  filter: blur(10px);
  transform: translateX(-50%);
}

.stage-caption {
  position: absolute;
  z-index: 5;
  top: 20px;
  margin: 0;
  color: rgba(255, 253, 243, 0.44);
  font-size: 0.58rem;
  font-weight: 900;
  letter-spacing: 0.13em;
}

.stage-caption-left { left: 22px; }
.stage-caption-right { right: 22px; }

.creature {
  position: absolute;
  z-index: 2;
  height: auto;
  user-select: none;
  pointer-events: none;
  filter: drop-shadow(0 16px 16px rgba(5, 10, 5, 0.24));
  transition:
    width 760ms cubic-bezier(0.16, 1, 0.3, 1),
    left 760ms cubic-bezier(0.16, 1, 0.3, 1),
    right 760ms cubic-bezier(0.16, 1, 0.3, 1),
    top 760ms cubic-bezier(0.16, 1, 0.3, 1),
    bottom 760ms cubic-bezier(0.16, 1, 0.3, 1),
    opacity 400ms ease,
    transform 760ms cubic-bezier(0.16, 1, 0.3, 1);
}

.stage[data-mode="breach"] .fly-creature {
  width: min(54%, 430px);
  right: 8%;
  bottom: 8%;
  transform: translate3d(var(--stage-x), var(--stage-y), 0) rotate(1deg);
}

.stage[data-mode="normal"] .fly-creature {
  width: 8%;
  right: 19%;
  bottom: 68%;
  transform: rotate(12deg);
}

.pista-main {
  left: 8%;
}

.stage[data-mode="breach"] .pista-main {
  width: 8%;
  top: 24%;
  transform: rotate(-10deg) translate3d(calc(var(--stage-x) * -0.7), calc(var(--stage-y) * -0.7), 0);
}

.stage[data-mode="normal"] .pista-main {
  width: min(43%, 340px);
  top: 18%;
  transform: rotate(-1deg) translate3d(var(--stage-x), var(--stage-y), 0);
}

.pista-one { left: 30%; top: 10%; }
.pista-two { left: 39%; top: 41%; }
.pista-three { left: 22%; top: 62%; }
.pista-four { left: 53%; top: 15%; }

.stage[data-mode="breach"] .pista-one { width: 5.5%; transform: rotate(11deg); }
.stage[data-mode="breach"] .pista-two { width: 7%; transform: rotate(-4deg); }
.stage[data-mode="breach"] .pista-three { width: 5%; transform: rotate(8deg); }
.stage[data-mode="breach"] .pista-four { width: 4.5%; transform: rotate(-14deg); }

.stage[data-mode="normal"] .pista-one,
.stage[data-mode="normal"] .pista-two,
.stage[data-mode="normal"] .pista-three,
.stage[data-mode="normal"] .pista-four {
  width: 3%;
  opacity: 0;
  transform: scale(0.2);
}

.orbit {
  position: absolute;
  border: 1px dashed rgba(223, 228, 166, 0.29);
  border-radius: 50%;
  pointer-events: none;
}

.orbit-one {
  width: 62%;
  aspect-ratio: 1.8;
  top: 15%;
  left: 3%;
  transform: rotate(-12deg);
  animation: orbitPulse 5s ease-in-out infinite;
}

.orbit-two {
  width: 36%;
  aspect-ratio: 1;
  right: 3%;
  bottom: 8%;
  animation: orbitPulse 5s 1.3s ease-in-out infinite reverse;
}

.stage-readout {
  position: absolute;
  z-index: 8;
  right: 18px;
  bottom: 18px;
  padding: 11px 14px;
  display: grid;
  gap: 2px;
  border: 1px solid rgba(255, 253, 243, 0.18);
  border-radius: 10px;
  background: rgba(10, 18, 11, 0.72);
  backdrop-filter: blur(8px);
}

.stage-readout span {
  color: rgba(255, 253, 243, 0.45);
  font-size: 0.55rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.stage-readout strong {
  color: var(--lime);
  font-size: 0.72rem;
  letter-spacing: 0.05em;
}

.token {
  padding: 130px 0 150px;
}

.token-heading {
  display: grid;
  grid-template-columns: 0.52fr 1fr;
  align-items: end;
  gap: 40px;
}

.specimen {
  margin-top: 72px;
  padding: clamp(28px, 5vw, 62px);
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 40px;
  border: 1px solid var(--line);
  border-radius: 42px 10px 42px 10px;
  background:
    linear-gradient(118deg, rgba(255, 253, 243, 0.94), rgba(223, 228, 166, 0.42)),
    var(--paper-bright);
  box-shadow: 0 30px 80px rgba(23, 39, 25, 0.12);
}

.specimen-main {
  display: flex;
  align-items: center;
  gap: 22px;
}

.specimen-main img {
  border-radius: 24px;
  box-shadow: 0 16px 34px rgba(20, 40, 25, 0.18);
}

.specimen-main p,
.contract-block span {
  margin: 0 0 4px;
  color: var(--green);
  font-size: 0.66rem;
  font-weight: 900;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.specimen-main h3 {
  margin: 0;
  font-family: Impact, "Arial Black", sans-serif;
  font-size: clamp(3.4rem, 7vw, 7rem);
  letter-spacing: -0.04em;
  line-height: 0.88;
}

.specimen-main span {
  display: inline-block;
  margin-top: 10px;
  font-weight: 900;
  letter-spacing: 0.12em;
}

.specimen-facts {
  margin: 0;
  display: grid;
  align-content: center;
  gap: 0;
}

.specimen-facts div {
  padding: 15px 0;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  border-bottom: 1px solid var(--line);
}

.specimen-facts dt {
  color: rgba(16, 22, 16, 0.55);
}

.specimen-facts dd {
  margin: 0;
  font-weight: 900;
}

.contract-block {
  grid-column: 1 / -1;
  padding: 18px 18px 18px 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(255, 253, 243, 0.72);
}

.contract-block code {
  display: block;
  font-family: "Courier New", monospace;
  font-size: clamp(0.74rem, 1.6vw, 1rem);
  font-weight: 800;
  overflow-wrap: anywhere;
}

.contract-block button {
  flex: 0 0 auto;
  padding: 11px 14px;
  border: 0;
  border-radius: 10px;
  color: var(--paper-bright);
  background: var(--forest);
  cursor: pointer;
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  transition: transform 180ms ease, background 180ms ease;
}

.contract-block button:hover,
.contract-block button:focus-visible {
  transform: translateY(-2px);
  background: var(--green);
}

.specimen-actions {
  grid-column: 1 / -1;
  margin-top: 0;
}

.button-dark {
  color: var(--paper-bright);
  background: var(--forest);
}

.button-dark:hover,
.button-dark:focus-visible {
  background: var(--green);
}

.button-line {
  border-color: var(--line);
}

.button-line:hover,
.button-line:focus-visible {
  border-color: var(--green);
  color: var(--green);
}

.field-guide {
  color: var(--paper-bright);
  background:
    linear-gradient(rgba(16, 22, 16, 0.78), rgba(16, 22, 16, 0.88)),
    url("assets/flystacio-banner.png") center / cover no-repeat;
}

.guide-inner {
  min-height: 680px;
  padding-block: 120px;
  display: grid;
  grid-template-columns: 0.85fr 1fr;
  align-items: center;
  gap: 70px;
}

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

.guide-title h2 {
  font-size: clamp(4rem, 7.8vw, 8rem);
}

.guide-steps {
  margin: 0;
  padding: 0;
  list-style: none;
}

.guide-steps li {
  padding: 24px 0;
  display: grid;
  grid-template-columns: 54px 1fr;
  column-gap: 18px;
  border-top: 1px solid rgba(255, 253, 243, 0.2);
}

.guide-steps li:last-child {
  border-bottom: 1px solid rgba(255, 253, 243, 0.2);
}

.guide-steps span {
  grid-row: 1 / span 2;
  color: var(--lime);
  font-family: Georgia, serif;
  font-size: 1.4rem;
  font-style: italic;
}

.guide-steps strong {
  font-family: Impact, "Arial Black", sans-serif;
  font-size: 1.55rem;
  letter-spacing: 0.01em;
  text-transform: uppercase;
}

.guide-steps p {
  margin: 5px 0 0;
  color: rgba(255, 253, 243, 0.6);
  font-family: Georgia, serif;
}

.site-footer {
  min-height: 190px;
  padding: 44px max(5vw, 24px);
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 32px;
  color: var(--paper-bright);
  background: var(--ink);
}

.footer-mark {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: Impact, "Arial Black", sans-serif;
  letter-spacing: 0.08em;
}

.footer-mark img {
  border-radius: 14px;
}

.site-footer > p {
  margin: 0;
  color: rgba(255, 253, 243, 0.54);
  font-family: Georgia, serif;
  font-style: italic;
}

.footer-links {
  justify-self: end;
  display: flex;
  gap: 20px;
  color: rgba(255, 253, 243, 0.68);
  font-size: 0.68rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.toast {
  position: fixed;
  z-index: 80;
  left: 50%;
  bottom: 24px;
  min-width: min(360px, calc(100% - 40px));
  padding: 14px 18px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 12px;
  color: var(--paper-bright);
  background: rgba(16, 22, 16, 0.94);
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.28);
  opacity: 0;
  pointer-events: none;
  text-align: center;
  transform: translate(-50%, 18px);
  transition: opacity 180ms ease, transform 180ms ease;
}

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

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 800ms ease, transform 800ms cubic-bezier(0.16, 1, 0.3, 1);
}

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

@keyframes pulse {
  0%, 100% { opacity: 0.45; transform: scale(0.86); }
  50% { opacity: 1; transform: scale(1); }
}

@keyframes scan {
  0% { transform: translateX(-100%); }
  50%, 100% { transform: translateX(100%); }
}

@keyframes orbitPulse {
  0%, 100% { opacity: 0.25; transform: rotate(-12deg) scale(0.98); }
  50% { opacity: 0.65; transform: rotate(-8deg) scale(1.03); }
}

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

  .nav-links {
    display: none;
  }

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

  .incident-card {
    position: absolute;
    right: 24px;
    bottom: 80px;
    width: 230px;
    opacity: 0.92;
  }

  .lore-heading,
  .token-heading,
  .chamber-inner,
  .guide-inner {
    grid-template-columns: 1fr;
  }

  .lore-heading > p {
    max-width: 650px;
  }

  .chamber-copy {
    max-width: 650px;
  }

  .breach-toggle {
    max-width: 420px;
  }

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

  .specimen-facts,
  .contract-block,
  .specimen-actions {
    grid-column: auto;
  }

  .guide-inner {
    min-height: auto;
  }

  .site-footer {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .footer-mark,
  .footer-links {
    justify-self: center;
  }
}

@media (max-width: 720px) {
  .site-header {
    top: 10px;
    width: calc(100% - 20px);
    min-height: 58px;
    padding: 7px 7px 7px 10px;
  }

  .brand img {
    width: 36px;
    height: 36px;
  }

  .brand span {
    font-size: 0.88rem;
  }

  .mini-cta {
    padding: 12px;
    font-size: 0.66rem;
  }

  .hero {
    min-height: 920px;
    padding-top: 134px;
    align-items: start;
  }

  .hero-art {
    background-position: 62% center;
  }

  .hero-vignette {
    background:
      linear-gradient(90deg, rgba(10, 18, 11, 0.9), rgba(10, 18, 11, 0.32)),
      linear-gradient(0deg, rgba(10, 18, 11, 0.9), transparent 52%);
  }

  .hero h1 {
    font-size: clamp(4rem, 20vw, 6.2rem);
  }

  .hero-lede {
    font-size: 1rem;
  }

  .incident-card {
    left: 24px;
    right: auto;
    bottom: 82px;
    width: min(270px, calc(100% - 48px));
  }

  .scroll-mark {
    display: none;
  }

  .lore,
  .token {
    padding-block: 90px;
  }

  .lore-heading {
    gap: 28px;
  }

  .lore h2,
  .token h2 {
    font-size: clamp(3.5rem, 16vw, 5.8rem);
  }

  .chapter-grid {
    margin-top: 54px;
    display: grid;
    grid-template-columns: 1fr;
  }

  .chapter-a,
  .chapter-b,
  .chapter-c {
    grid-column: auto;
    margin-top: 0;
    transform: none;
  }

  .manifesto {
    margin-top: 70px;
    padding-inline: 10px;
    gap: 12px;
  }

  .manifesto span {
    font-size: 5rem;
  }

  .chamber {
    padding-block: 90px;
  }

  .stage {
    min-height: 470px;
  }

  .stage[data-mode="breach"] .fly-creature {
    width: 68%;
    right: -2%;
  }

  .stage[data-mode="normal"] .pista-main {
    width: 56%;
    left: 4%;
  }

  .stage-readout {
    left: 14px;
    right: auto;
  }

  .specimen {
    padding: 24px;
    gap: 30px;
    border-radius: 28px 8px 28px 8px;
  }

  .specimen-main {
    align-items: flex-start;
  }

  .specimen-main img {
    width: 64px;
    height: 64px;
    border-radius: 18px;
  }

  .specimen-main h3 {
    font-size: clamp(2.8rem, 13vw, 4rem);
  }

  .contract-block {
    align-items: flex-start;
    flex-direction: column;
  }

  .contract-block button {
    width: 100%;
  }

  .specimen-actions .button {
    width: 100%;
  }

  .guide-inner {
    padding-block: 90px;
    gap: 44px;
  }

  .footer-links {
    flex-direction: column;
    gap: 12px;
  }
}

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

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

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