:root {
  color-scheme: dark;
  --ink: #050605;
  --bone: #e9e7dd;
  --muted: #8e918a;
  --acid: #d8ff3e;
  --line: rgba(233, 231, 221, 0.18);
}

.skip-link {
  position: fixed;
  z-index: 2000;
  top: 0.75rem;
  left: 0.75rem;
  padding: 0.8rem 1rem;
  border: 1px solid var(--acid);
  background: var(--ink);
  color: var(--acid);
  font: 500 0.7rem/1 "DM Mono", monospace;
  letter-spacing: 0.1em;
  text-decoration: none;
  transform: translateY(-180%);
  transition: transform 160ms ease;
}

.skip-link:focus-visible {
  outline: 2px solid var(--bone);
  outline-offset: 3px;
  transform: translateY(0);
}

.header-wallet {
  min-width: clamp(7.5rem, 9.2vw, 9rem);
  height: 2rem;
  padding: 0 0.85rem;
  border: 1px solid rgba(216, 255, 62, 0.5);
  border-radius: 0;
  background: rgba(216, 255, 62, 0.04);
  color: var(--acid);
  font-family: "DM Mono", monospace;
  font-size: 0.62rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  white-space: nowrap;
  cursor: pointer;
  transition: background 180ms ease, color 180ms ease, border-color 180ms ease;
}

.header-wallet:hover,
.header-wallet:focus-visible {
  border-color: var(--acid);
  background: rgba(216, 255, 62, 0.12);
}

.header-wallet:focus-visible,
.wallet-option:focus-visible,
.wallet-dialog-close:focus-visible,
#walletDisconnect:focus-visible {
  outline: 2px solid var(--acid);
  outline-offset: 3px;
}

.wallet-dialog {
  position: fixed;
  z-index: 1000;
  inset: 50% auto auto 50%;
  width: min(94vw, 42rem);
  max-height: min(88dvh, 52rem);
  padding: 0;
  overflow: auto;
  border: 1px solid rgba(216, 255, 62, 0.36);
  border-radius: 0;
  background: #070807;
  color: var(--bone);
  margin: 0;
  box-shadow: 0 2rem 7rem rgba(0, 0, 0, 0.78);
  transform: translate(-50%, -50%);
}

.wallet-dialog::backdrop {
  background: rgba(1, 2, 1, 0.82);
  backdrop-filter: blur(10px);
}

.wallet-panel {
  position: relative;
  padding: clamp(1.4rem, 4vw, 2.5rem);
  background:
    radial-gradient(circle at 90% 5%, rgba(216, 255, 62, 0.085), transparent 30%),
    linear-gradient(180deg, rgba(11, 14, 10, 0.98), rgba(4, 5, 4, 0.99));
}

.wallet-dialog-close-form {
  position: absolute;
  z-index: 2;
  top: 1rem;
  right: 1rem;
  margin: 0;
}

.wallet-dialog-close {
  display: grid;
  width: 2.3rem;
  height: 2.3rem;
  place-items: center;
  padding: 0;
  border: 1px solid rgba(233, 231, 221, 0.18);
  border-radius: 0;
  background: transparent;
  color: rgba(233, 231, 221, 0.7);
  font: 300 1.25rem/1 "DM Mono", monospace;
  cursor: pointer;
}

.wallet-dialog-header {
  padding-right: 3.5rem;
}

.wallet-dialog-header p,
.wallet-detected > p {
  margin: 0;
  color: var(--acid);
  font-family: "DM Mono", monospace;
  font-size: 0.62rem;
  letter-spacing: 0.16em;
}

.wallet-dialog-header h2 {
  margin: 0.75rem 0 0;
  font-family: "Archivo Black", sans-serif;
  font-size: clamp(2.4rem, 7vw, 4.8rem);
  line-height: 0.9;
  letter-spacing: -0.055em;
}

.wallet-dialog-header > span {
  display: block;
  max-width: 34rem;
  margin-top: 1rem;
  color: rgba(233, 231, 221, 0.62);
  font-size: 0.86rem;
  line-height: 1.65;
}

.wallet-options {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 1.75rem;
  border-top: 1px solid rgba(233, 231, 221, 0.15);
  border-left: 1px solid rgba(233, 231, 221, 0.15);
}

.wallet-option {
  display: grid;
  grid-template-columns: 2.4rem minmax(0, 1fr) auto;
  min-height: 5.1rem;
  align-items: center;
  gap: 0.8rem;
  padding: 0.9rem;
  border: 0;
  border-right: 1px solid rgba(233, 231, 221, 0.15);
  border-bottom: 1px solid rgba(233, 231, 221, 0.15);
  border-radius: 0;
  background: rgba(255, 255, 255, 0.01);
  color: var(--bone);
  text-align: left;
  cursor: pointer;
  transition: background 160ms ease, color 160ms ease;
}

.wallet-option:hover,
.wallet-option:focus-visible {
  background: rgba(216, 255, 62, 0.08);
}

.wallet-mark {
  display: grid;
  width: 2.35rem;
  height: 2.35rem;
  place-items: center;
  border: 1px solid rgba(216, 255, 62, 0.4);
  color: var(--acid);
  font-family: "Archivo Black", sans-serif;
  font-size: 1rem;
}

.wallet-option > span:nth-child(2) {
  display: grid;
  min-width: 0;
  gap: 0.25rem;
}

.wallet-option strong {
  font-family: "DM Mono", monospace;
  font-size: 0.72rem;
  letter-spacing: 0.08em;
}

.wallet-option small {
  color: rgba(233, 231, 221, 0.42);
  font-size: 0.66rem;
}

.wallet-option em {
  color: rgba(216, 255, 62, 0.58);
  font-family: "DM Mono", monospace;
  font-size: 0.5rem;
  font-style: normal;
  letter-spacing: 0.08em;
}

.wallet-option.is-detected em {
  color: var(--acid);
}

.wallet-option.is-pending {
  pointer-events: none;
  opacity: 0.65;
}

.wallet-current {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 0.45rem 1rem;
  align-items: center;
  margin-top: 1.5rem;
  padding: 1rem;
  border: 1px solid rgba(216, 255, 62, 0.35);
  background: rgba(216, 255, 62, 0.06);
}

.wallet-current[hidden] {
  display: none;
}

.wallet-current span {
  color: var(--acid);
  font-family: "DM Mono", monospace;
  font-size: 0.56rem;
  letter-spacing: 0.12em;
}

.wallet-current strong {
  grid-column: 1;
  overflow: hidden;
  font-family: "DM Mono", monospace;
  font-size: 0.74rem;
  text-overflow: ellipsis;
}

#walletDisconnect {
  grid-row: 1 / 3;
  grid-column: 2;
  padding: 0.65rem 0.8rem;
  border: 1px solid rgba(233, 231, 221, 0.2);
  border-radius: 0;
  background: transparent;
  color: rgba(233, 231, 221, 0.72);
  font-family: "DM Mono", monospace;
  font-size: 0.58rem;
  letter-spacing: 0.08em;
  cursor: pointer;
}

.wallet-detected {
  margin-top: 1.4rem;
}

.wallet-detected[hidden] {
  display: none;
}

#walletDetectedList {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 0.75rem;
}

.wallet-status,
.wallet-mint-note {
  margin: 1.2rem 0 0;
  color: rgba(233, 231, 221, 0.6);
  font-size: 0.72rem;
  line-height: 1.6;
}

.wallet-status {
  min-height: 1.2em;
  color: var(--acid);
  font-family: "DM Mono", monospace;
  letter-spacing: 0.035em;
}

.wallet-mint-note {
  padding-top: 1rem;
  border-top: 1px solid rgba(233, 231, 221, 0.12);
}

@media (max-width: 700px) {
  .header-wallet {
    min-width: 6.8rem;
    height: 1.75rem;
    padding: 0 0.55rem;
    font-size: 0.54rem;
  }

  .wallet-dialog {
    width: calc(100vw - 1rem);
    max-height: calc(100dvh - 1rem);
  }

  .wallet-panel {
    padding: 1.25rem;
  }

  .wallet-options,
  #walletDetectedList {
    grid-template-columns: 1fr;
  }

  .wallet-dialog-header h2 {
    max-width: 8ch;
  }
}

@media (max-width: 420px) {
  .header-buy {
    width: 5.1rem;
    font-size: 0.56rem;
  }

  .header-wallet {
    min-width: 6.25rem;
  }
}

* {
  box-sizing: border-box;
}

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

body {
  margin: 0;
  min-width: 320px;
  background: var(--ink);
  color: var(--bone);
  font-family: Inter, sans-serif;
  overflow-x: hidden;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: 10;
  pointer-events: none;
  content: "";
  opacity: 0.12;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.92' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.33'/%3E%3C/svg%3E");
  mix-blend-mode: soft-light;
}

/* Video-first hero shell. The source will be attached in a later step. */
.video-intro {
  position: absolute;
  z-index: 20;
  inset: 0;
  display: none;
  overflow: hidden;
  background: #000;
  opacity: 1;
  transition: opacity 500ms cubic-bezier(0.45, 0, 0.55, 1), visibility 0s linear;
}

.hero-video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: 0;
  background: #000;
  transition: opacity 600ms ease;
}

.video-loading,
.video-transition {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: #000;
}

.video-loading {
  z-index: 2;
  opacity: 1;
  transition: opacity 500ms ease;
}

.video-transition {
  z-index: 3;
  opacity: 0;
  transition: opacity 450ms ease-in-out;
}

.video-message {
  position: absolute;
  z-index: 4;
  inset: 0;
  display: grid;
  align-content: center;
  justify-items: center;
  padding: 2rem;
  pointer-events: none;
  opacity: 0;
  text-align: center;
  transform: translateY(18px);
  transition:
    opacity 420ms ease,
    transform 420ms cubic-bezier(0.22, 1, 0.36, 1);
}

.video-message h1 {
  margin: 0;
  color: var(--bone);
  font-family: "Archivo Black", sans-serif;
  font-size: clamp(2.15rem, 8.8vw, 8.5rem);
  line-height: 0.92;
  letter-spacing: -0.055em;
  white-space: nowrap;
}

.video-message p {
  margin: clamp(1.1rem, 2.4vw, 2rem) 0 0;
  color: rgba(233, 231, 221, 0.68);
  font-family: "DM Mono", monospace;
  font-size: clamp(0.72rem, 1.15vw, 0.92rem);
  line-height: 1.5;
  letter-spacing: 0.06em;
}

.intro-skip {
  position: absolute;
  z-index: 6;
  right: clamp(1rem, 2.6vw, 2.5rem);
  bottom: clamp(1rem, 2.6vw, 2.5rem);
  padding: 0.75rem 0.9rem;
  border: 1px solid rgba(233, 231, 221, 0.3);
  background: rgba(0, 0, 0, 0.38);
  color: rgba(233, 231, 221, 0.82);
  font-family: "DM Mono", monospace;
  font-size: 0.68rem;
  letter-spacing: 0.13em;
  cursor: pointer;
  opacity: 0;
  backdrop-filter: blur(8px);
  transition: color 180ms ease, border-color 180ms ease, opacity 300ms ease;
}

.video-ready .intro-skip,
.video-playing .intro-skip {
  opacity: 1;
}

.video-fading .intro-skip,
.intro-skip[hidden] {
  display: none;
}

.intro-skip:hover,
.intro-skip:focus-visible {
  border-color: var(--acid);
  color: var(--acid);
  outline: none;
}

.intro-condensed .hero-video,
.intro-condensed .video-loading {
  opacity: 0;
}

.video-ready .hero-video,
.video-playing .hero-video {
  opacity: 1;
}

.video-ready .video-loading,
.video-playing .video-loading {
  opacity: 0;
}

.video-fading .video-transition {
  opacity: 1;
}

.video-complete .video-message {
  opacity: 1;
  transform: translateY(0);
}

.site-entered .video-intro {
  visibility: hidden;
  opacity: 0;
  transition: opacity 500ms cubic-bezier(0.45, 0, 0.55, 1), visibility 0s linear 500ms;
}

.home-screen {
  position: absolute;
  z-index: 15;
  inset: 0;
  overflow: hidden;
  background:
    radial-gradient(circle at 82% 50%, rgba(210, 255, 53, 0.075), transparent 27%),
    radial-gradient(circle at 58% 106%, rgba(255, 255, 255, 0.035), transparent 34%),
    #050605;
  color: var(--bone);
  pointer-events: none;
}

.home-screen::after {
  position: absolute;
  inset: 0;
  content: "";
  pointer-events: none;
  background:
    linear-gradient(90deg, transparent 0 8%, rgba(233, 231, 221, 0.055) 8% calc(8% + 1px), transparent calc(8% + 1px)),
    linear-gradient(180deg, transparent 0 86%, rgba(233, 231, 221, 0.055) 86% calc(86% + 1px), transparent calc(86% + 1px));
}

.home-header {
  position: absolute;
  z-index: 3;
  top: 0;
  right: 0;
  left: 0;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  padding: clamp(1.35rem, 3vw, 2.7rem) clamp(1.35rem, 4.2vw, 4.8rem);
  border-bottom: 1px solid rgba(233, 231, 221, 0.11);
  opacity: 0;
  transform: translateY(-12px);
  transition: opacity 700ms ease 300ms, transform 700ms ease 300ms;
}

.home-logo,
.home-chain,
.home-nav {
  font-family: "DM Mono", monospace;
  font-size: clamp(0.68rem, 0.85vw, 0.8rem);
  font-weight: 500;
  letter-spacing: 0.14em;
}

.home-nav a,
.home-nav button {
  color: inherit;
  text-decoration: none;
}

.home-nav a:hover,
.home-nav a:focus-visible,
.home-nav button:hover,
.home-nav button:focus-visible {
  color: var(--bone);
  outline: none;
}

.home-nav button {
  padding: 0;
  border: 0;
  background: transparent;
  font: inherit;
  letter-spacing: inherit;
  cursor: pointer;
}

.home-logo {
  display: inline-grid;
  width: 48px;
  min-height: 48px;
  place-items: center;
  border-radius: 50%;
  text-decoration: none;
}

.home-logo img {
  display: block;
  width: 38px;
  height: 38px;
  object-fit: contain;
  transition: filter 180ms ease, transform 180ms ease;
}

.home-logo:hover img,
.home-logo:focus-visible img {
  filter: drop-shadow(0 0 0.7rem rgba(255, 90, 0, 0.5));
  transform: scale(1.08) rotate(-3deg);
}

.home-logo:focus-visible {
  outline: 2px solid var(--acid);
  outline-offset: 3px;
}

.home-nav {
  display: flex;
  align-items: center;
  gap: clamp(0.7rem, 1.6vw, 1.6rem);
  color: rgba(233, 231, 221, 0.62);
  white-space: nowrap;
}

.home-nav i {
  width: 2px;
  height: 2px;
  border-radius: 50%;
  background: var(--acid);
}

.contract-notice {
  position: absolute;
  z-index: 8;
  top: clamp(5rem, 7vw, 6.5rem);
  right: clamp(1.35rem, 4.2vw, 4.8rem);
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding: 0.8rem 1rem;
  border: 1px solid rgba(199, 255, 34, 0.28);
  background: rgba(4, 5, 4, 0.94);
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.34);
  color: rgba(233, 231, 221, 0.64);
  font-family: "DM Mono", monospace;
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  opacity: 0;
  transform: translateY(-8px);
  transition: opacity 180ms ease, transform 180ms ease;
  pointer-events: none;
}

.contract-notice[hidden] {
  display: none;
}

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

.contract-notice strong {
  color: var(--acid);
  font-weight: 600;
}

.home-chain {
  color: var(--acid);
  white-space: nowrap;
}

.home-actions {
  display: flex;
  align-items: center;
  justify-self: end;
  gap: clamp(0.45rem, 0.8vw, 0.8rem);
}

.header-social {
  display: grid;
  flex: 0 0 auto;
  width: 2rem;
  height: 2rem;
  place-items: center;
  border: 1px solid rgba(233, 231, 221, 0.16);
  color: rgba(233, 231, 221, 0.72);
  text-decoration: none;
  transition: border-color 160ms ease, color 160ms ease, background 160ms ease;
}

.header-social:hover,
.header-social:focus-visible {
  border-color: var(--acid);
  background: rgba(216, 255, 62, 0.08);
  color: var(--acid);
}

.header-social:focus-visible {
  outline: 2px solid var(--acid);
  outline-offset: 3px;
}

.header-social svg {
  width: 0.82rem;
  height: 0.82rem;
  overflow: visible;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.6;
}

@media (pointer: coarse) {
  .header-social {
    width: 2.75rem;
    height: 2.75rem;
  }
}

.header-social:nth-of-type(3) svg path:first-child {
  fill: none;
}

.header-buy {
  position: relative;
  display: grid;
  width: clamp(6.5rem, 8vw, 7.5rem);
  height: 2rem;
  place-items: center;
  padding: 0 0.85rem;
  border: 1px solid var(--acid);
  border-radius: 0;
  background: var(--acid);
  color: #070807;
  font-family: "DM Mono", monospace;
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.11em;
  cursor: not-allowed;
}

.header-buy span,
.header-buy small {
  grid-area: 1 / 1;
  transition: opacity 160ms ease;
}

.header-buy small {
  font: inherit;
  font-size: 0.57rem;
  letter-spacing: 0.07em;
  opacity: 0;
}

.header-buy:hover span,
.header-buy:focus-visible span,
.header-buy:active span {
  opacity: 0;
}

.header-buy:hover small,
.header-buy:focus-visible small,
.header-buy:active small {
  opacity: 1;
}

.header-buy:focus-visible {
  outline: 1px solid var(--bone);
  outline-offset: 3px;
}

.home-hero {
  position: absolute;
  z-index: 2;
  top: 52%;
  left: clamp(1.35rem, 8vw, 9rem);
  width: min(55vw, 880px);
  transform: translateY(calc(-43% + 26px));
}

.home-hero h1 {
  margin: 0;
  max-width: 12ch;
  color: var(--bone);
  font-family: "Archivo Black", sans-serif;
  font-size: clamp(3.4rem, 7.4vw, 8.5rem);
  line-height: 0.84;
  letter-spacing: -0.065em;
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 900ms ease 180ms, transform 900ms cubic-bezier(0.22, 1, 0.36, 1) 180ms;
}

.home-kicker {
  margin: 0 0 clamp(0.9rem, 1.6vw, 1.35rem);
  color: var(--acid);
  font-family: "DM Mono", monospace;
  font-size: clamp(0.68rem, 0.82vw, 0.78rem);
  font-size-adjust: from-font;
  font-weight: 500;
  letter-spacing: 0.16em;
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 700ms ease 120ms, transform 700ms ease 120ms;
}

.home-lede {
  margin: clamp(1.7rem, 3vw, 2.8rem) 0 0;
  max-width: 38rem;
  color: rgba(233, 231, 221, 0.72);
  font-size: clamp(1rem, 1.55vw, 1.35rem);
  line-height: 1.55;
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 750ms ease 380ms, transform 750ms ease 380ms;
}

.home-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin: clamp(1.1rem, 2.2vw, 1.8rem) 0 0;
  color: rgba(233, 231, 221, 0.46);
  font-family: "DM Mono", monospace;
  font-size: clamp(0.66rem, 0.82vw, 0.78rem);
  letter-spacing: 0.09em;
  line-height: 1.6;
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 700ms ease 500ms, transform 700ms ease 500ms;
}

.home-facts span {
  color: var(--acid);
}

.home-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  min-width: 10.5rem;
  margin-top: clamp(1.6rem, 3vw, 2.6rem);
  padding: 1rem 1.4rem;
  border: 1px solid var(--acid);
  border-radius: 0;
  background: var(--acid);
  color: #070807;
  font-family: "DM Mono", monospace;
  font-size: 0.76rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  cursor: pointer;
  text-decoration: none;
  opacity: 0;
  transform: translateY(14px);
  transition:
    opacity 700ms ease 620ms,
    transform 700ms ease 620ms,
    background-color 220ms ease,
    color 220ms ease;
}

.home-cta:hover,
.home-cta:focus-visible {
  background: transparent;
  color: var(--acid);
  outline: none;
}

.hero-atmosphere {
  position: absolute;
  z-index: 0;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  opacity: 0;
  transition: opacity 1.4s ease 320ms;
}

.hero-atmosphere::before {
  position: absolute;
  inset: 0;
  content: "";
  background:
    radial-gradient(circle at 84% 28%, rgba(255, 112, 47, 0.085) 0 2px, transparent 3px),
    radial-gradient(circle at 73% 66%, rgba(216, 255, 62, 0.12) 0 2px, transparent 4px),
    radial-gradient(circle at 93% 74%, rgba(255, 150, 74, 0.08) 0 6px, transparent 18px),
    radial-gradient(circle at 64% 19%, rgba(216, 255, 62, 0.06), transparent 16%),
    radial-gradient(circle at 88% 62%, rgba(255, 125, 54, 0.055), transparent 24%);
}

.hero-filament {
  position: absolute;
  width: 52vw;
  height: 34vw;
  border: 1px solid rgba(113, 138, 63, 0.11);
  border-right-color: transparent;
  border-bottom-color: rgba(255, 126, 57, 0.055);
  border-radius: 50%;
  transform: rotate(-13deg);
}

.hero-filament-one {
  top: -18vw;
  right: -8vw;
}

.hero-filament-two {
  right: 5vw;
  bottom: -24vw;
  width: 62vw;
  transform: rotate(9deg);
}

.hero-atmosphere > span {
  position: absolute;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: rgba(216, 255, 62, 0.36);
  box-shadow: 0 0 16px rgba(216, 255, 62, 0.28);
}

.hero-atmosphere > span:nth-of-type(1) { top: 23%; right: 34%; }
.hero-atmosphere > span:nth-of-type(2) { top: 41%; right: 8%; width: 8px; height: 8px; opacity: 0.45; }
.hero-atmosphere > span:nth-of-type(3) { right: 29%; bottom: 17%; width: 3px; height: 3px; }
.hero-atmosphere > span:nth-of-type(4) { top: 72%; right: 48%; opacity: 0.45; }
.hero-atmosphere > span:nth-of-type(5) { top: 16%; right: 18%; width: 11px; height: 11px; opacity: 0.15; filter: blur(2px); }

.home-mascot {
  position: absolute;
  z-index: 1;
  right: clamp(-2.25rem, -2vw, -1rem);
  bottom: -1.5%;
  width: auto;
  height: clamp(65svh, 71svh, 75svh);
  margin: 0;
  pointer-events: none;
  opacity: 0;
  transform:
    perspective(900px)
    translate3d(var(--mascot-x, 0px), var(--mascot-y, 0px), 0)
    rotateY(var(--mascot-tilt-y, 0deg))
    rotateX(var(--mascot-tilt-x, 0deg));
  transform-origin: 50% 92%;
  transition: opacity 1s ease 360ms;
  will-change: transform;
}

.mascot-body {
  position: relative;
  width: auto;
  height: 100%;
  aspect-ratio: 387 / 458;
  animation: mascotBreathe 6.4s ease-in-out infinite;
  transform-origin: 58% 72%;
  will-change: transform;
}

.home-mascot.is-offscreen .mascot-body {
  animation-play-state: paused;
}

.home-mascot .mascot-main {
  position: absolute;
  z-index: 1;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: contain;
}

.mascot-eye-layer {
  position: absolute;
  z-index: 0;
  inset: 0;
  display: block;
}

.mascot-eye-layer img {
  position: absolute;
  display: block;
  max-width: none;
  height: auto;
  user-select: none;
  pointer-events: none;
  -webkit-user-drag: none;
}

.mascot-eye-white {
  top: var(--eye-white-y);
  left: var(--eye-white-x);
  width: var(--eye-white-width);
  height: var(--eye-white-height) !important;
}

.mascot-pupil {
  top: var(--pupil-y);
  left: var(--pupil-x);
  width: var(--pupil-width);
  transform: translate(-50%, -50%);
  will-change: transform;
}

.mascot-eye-left {
  --eye-white-x: 36.434%;
  --eye-white-y: 19.869%;
  --eye-white-width: 21.447%;
  --eye-white-height: 17.031%;
  --pupil-x: 47.158%;
  --pupil-y: 28.384%;
  --pupil-width: 12.145%;
  clip-path: polygon(42.89% 20.74%, 41.09% 21.18%, 40.57% 21.62%, 40.05% 22.05%, 39.53% 22.49%, 39.02% 22.93%, 39.02% 23.36%, 38.50% 23.80%, 38.50% 24.24%, 38.24% 24.67%, 37.98% 25.11%, 37.73% 25.55%, 37.73% 25.98%, 37.47% 26.42%, 37.47% 26.86%, 37.47% 27.29%, 37.47% 27.73%, 37.73% 28.17%, 37.73% 28.60%, 37.98% 29.04%, 37.98% 29.48%, 38.24% 29.91%, 38.50% 30.35%, 38.76% 30.79%, 39.02% 31.22%, 39.28% 31.66%, 39.79% 32.10%, 40.31% 32.53%, 40.83% 32.97%, 41.09% 33.41%, 41.86% 33.84%, 42.38% 34.28%, 43.15% 34.72%, 44.19% 35.15%, 45.48% 35.59%, 51.94% 35.59%, 53.23% 35.15%, 54.01% 34.72%, 54.52% 34.28%, 55.04% 33.84%, 55.56% 33.41%, 56.07% 32.97%, 56.33% 32.53%, 56.59% 32.10%, 56.85% 31.66%, 56.59% 31.22%, 56.07% 30.79%, 55.56% 30.35%, 55.30% 29.91%, 54.78% 29.48%, 54.26% 29.04%, 53.75% 28.60%, 53.49% 28.17%, 52.97% 27.73%, 52.71% 27.29%, 52.20% 26.86%, 51.68% 26.42%, 51.42% 25.98%, 50.90% 25.55%, 50.39% 25.11%, 50.13% 24.67%, 49.61% 24.24%, 49.35% 23.80%, 48.84% 23.36%, 48.58% 22.93%, 48.06% 22.49%, 47.29% 22.05%, 46.77% 21.62%, 45.99% 21.18%, 44.19% 20.74%);
}

.mascot-eye-right {
  --eye-white-x: 68.217%;
  --eye-white-y: 32.969%;
  --eye-white-width: 21.447%;
  --eye-white-height: 13.537%;
  --pupil-x: 78.941%;
  --pupil-y: 39.738%;
  --pupil-width: 12.145%;
  clip-path: polygon(85.79% 33.84%, 82.95% 34.28%, 81.65% 34.72%, 79.84% 35.15%, 78.29% 35.59%, 76.23% 36.03%, 70.54% 36.46%, 70.03% 36.90%, 69.51% 37.34%, 69.25% 37.77%, 69.25% 38.21%, 69.25% 38.65%, 69.25% 39.08%, 69.25% 39.52%, 69.51% 39.96%, 69.51% 40.39%, 69.77% 40.83%, 70.03% 41.27%, 70.28% 41.70%, 70.80% 42.14%, 71.06% 42.58%, 71.58% 43.01%, 72.09% 43.45%, 72.87% 43.89%, 73.39% 44.32%, 74.16% 44.76%, 75.45% 45.20%, 80.36% 45.20%, 81.91% 44.76%, 82.69% 44.32%, 83.46% 43.89%, 84.24% 43.45%, 84.75% 43.01%, 85.27% 42.58%, 85.79% 42.14%, 86.05% 41.70%, 86.56% 41.27%, 86.82% 40.83%, 87.08% 40.39%, 87.34% 39.96%, 87.60% 39.52%, 87.86% 39.08%, 88.11% 38.65%, 88.37% 38.21%, 88.37% 37.77%, 88.37% 37.34%, 88.63% 36.90%, 88.63% 36.46%, 88.63% 36.03%, 88.37% 35.59%, 88.11% 35.15%, 87.86% 34.72%, 86.82% 34.28%, 86.05% 33.84%);
}

.site-entered .home-screen {
  pointer-events: auto;
}

.site-entered .home-header,
.site-entered .home-kicker,
.site-entered .home-hero h1,
.site-entered .home-lede,
.site-entered .home-facts,
.site-entered .home-cta {
  opacity: 1;
  transform: translateY(0);
}

.site-entered .hero-atmosphere,
.site-entered .home-mascot {
  opacity: 1;
}

.video-mode .intro,
.video-mode .stage {
  height: 100svh;
  min-height: 100dvh;
}

.video-mode .stage {
  position: relative;
  top: auto;
  background: #000;
}

.video-mode .video-intro {
  display: block;
}

.video-mode #scene,
.video-mode .reference-scene,
.video-mode .walk-preview,
.video-mode .topbar,
.video-mode .chapter,
.video-mode .finale,
.video-mode .scroll-cue,
.video-mode .progress,
.walk-preview {
  display: none !important;
}

.video-mode::before {
  display: none;
}

@media (max-width: 700px) {
  .video-mode .intro,
  .video-mode .stage {
    height: 100dvh;
    min-height: 100svh;
  }

  .hero-video {
    object-position: center center;
  }

  .home-header {
    grid-template-columns: 1fr auto;
    row-gap: 1.2rem;
    padding: 1.25rem;
  }

  .home-nav {
    grid-row: 2;
    grid-column: 1 / -1;
    justify-content: space-between;
    width: 100%;
    gap: clamp(0.2rem, 1.55vw, 0.5rem);
    font-size: clamp(0.6rem, 3vw, 0.7rem);
    letter-spacing: 0.09em;
  }

  .contract-notice {
    top: 7rem;
    right: 1.25rem;
    left: 1.25rem;
    justify-content: center;
  }

  .home-chain {
    font-size: 0.62rem;
    letter-spacing: 0.08em;
  }

  .home-actions {
    gap: 0.35rem;
  }

  .header-social {
    width: 2.75rem;
    height: 2.75rem;
    background: rgba(5, 6, 5, 0.72);
    backdrop-filter: blur(8px);
  }

  .header-social svg {
    width: 1rem;
    height: 1rem;
  }

  .header-buy {
    width: 5.7rem;
    height: 1.75rem;
    padding: 0 0.5rem;
    font-size: 0.62rem;
  }

  .home-hero {
    top: clamp(11.25rem, 23svh, 12.5rem);
    left: 1.25rem;
    width: calc(100vw - 2.5rem);
    transform: none;
  }

  .home-hero h1 {
    max-width: 8ch;
    font-size: clamp(3rem, 16vw, 5.1rem);
  }

  .home-lede {
    max-width: 21rem;
  }

  .home-facts {
    max-width: 20rem;
    font-size: 0.72rem;
  }

  .home-mascot {
    top: auto;
    right: -1.5rem;
    bottom: -1%;
    left: auto;
    width: auto;
    height: clamp(21rem, 42svh, 24rem);
    opacity: 0;
    transform: none;
  }

  .site-entered .home-mascot {
    opacity: 0.92;
  }

  .hero-atmosphere {
    opacity: 0;
  }

  .site-entered .hero-atmosphere {
    opacity: 0.7;
  }
}

@keyframes mascotBreathe {
  0%, 100% { transform: translate3d(0, 0, 0) scale(1); }
  50% { transform: translate3d(0, -6px, 0) scale(1.006); }
}

@media (prefers-reduced-motion: reduce) {
  .hero-video,
  .video-loading,
  .video-transition,
  .video-message {
    transition-duration: 1ms;
  }

  .home-mascot,
  .mascot-body,
  .mascot-pupil {
    animation: none;
    transition: none;
  }
}

.tokenomics-section {
  position: relative;
  z-index: 30;
  min-height: 100svh;
  overflow: hidden;
  border-top: 1px solid rgba(233, 231, 221, 0.12);
  background:
    radial-gradient(circle at 85% 10%, rgba(216, 255, 62, 0.055), transparent 26%),
    linear-gradient(180deg, #070807 0%, #030403 100%);
  color: var(--bone);
}

.tokenomics-section,
.seasons-section,
.how-section,
.last-info-section {
  scroll-margin-top: clamp(1.5rem, 5vw, 4.5rem);
}

.tokenomics-section::before {
  position: absolute;
  top: 0;
  left: 8%;
  width: 1px;
  height: 100%;
  content: "";
  background: rgba(233, 231, 221, 0.05);
}

.tokenomics-shell {
  position: relative;
  width: min(1440px, 100%);
  margin: 0 auto;
  padding: clamp(5rem, 9vw, 9rem) clamp(1.35rem, 6vw, 6.5rem);
}

.tokenomics-header {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: end;
  gap: 2rem;
  margin-bottom: clamp(3rem, 6vw, 5.5rem);
}

.tokenomics-header p,
.token-card-label,
.token-metric > span,
.token-card dt,
.token-card-rule span,
.sell-days b {
  font-family: "DM Mono", monospace;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.tokenomics-header p {
  margin: 0 0 0.7rem;
  color: rgba(233, 231, 221, 0.46);
}

.tokenomics-header p span {
  margin-right: 0.7rem;
  color: var(--acid);
}

.tokenomics-header h2 {
  margin: 0;
  color: var(--bone);
  font-family: "Archivo Black", sans-serif;
  font-size: clamp(2.5rem, 6.3vw, 6.7rem);
  line-height: 0.82;
  letter-spacing: -0.06em;
}

.token-metrics {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid rgba(233, 231, 221, 0.15);
  border-bottom: 1px solid rgba(233, 231, 221, 0.15);
}

.token-metric {
  min-width: 0;
  padding: clamp(1.8rem, 3.5vw, 3.6rem) clamp(1rem, 2.5vw, 2.5rem);
  border-left: 1px solid rgba(233, 231, 221, 0.12);
}

.token-metric:first-child {
  border-left: 0;
}

.token-metric strong {
  display: block;
  overflow: hidden;
  color: var(--bone);
  font-family: "Archivo Black", sans-serif;
  font-size: clamp(2.3rem, 4.7vw, 5.2rem);
  line-height: 0.92;
  letter-spacing: -0.06em;
  white-space: nowrap;
}

.token-metric strong small {
  font-size: 0.28em;
  letter-spacing: 0.03em;
}

.token-metric > span {
  display: block;
  margin-top: 1.2rem;
  color: rgba(233, 231, 221, 0.42);
}

.token-metric-acid strong {
  color: var(--acid);
}

.token-details {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  margin-top: clamp(2.5rem, 5vw, 5rem);
  border-top: 1px solid rgba(233, 231, 221, 0.12);
  border-left: 1px solid rgba(233, 231, 221, 0.12);
}

.token-card {
  position: relative;
  min-height: 19rem;
  padding: clamp(1.5rem, 3vw, 3rem);
  border-right: 1px solid rgba(233, 231, 221, 0.12);
  border-bottom: 1px solid rgba(233, 231, 221, 0.12);
  background: rgba(255, 255, 255, 0.008);
}

.token-card-label {
  margin: 0 0 clamp(2.2rem, 4vw, 4rem);
  color: var(--acid);
}

.token-identity {
  grid-column: span 5;
}

.token-supply {
  grid-column: span 7;
}

.token-buy {
  grid-column: span 4;
}

.token-sell {
  grid-column: span 6;
}

.token-lock {
  grid-column: span 2;
}

.token-card dl {
  margin: 0;
}

.token-card dl > div {
  display: grid;
  grid-template-columns: 7.5rem 1fr;
  align-items: baseline;
  gap: 1rem;
  padding: 1rem 0;
  border-bottom: 1px solid rgba(233, 231, 221, 0.1);
}

.token-card dl > div:first-child {
  padding-top: 0;
}

.token-card dt,
.token-card-rule span {
  color: rgba(233, 231, 221, 0.38);
}

.token-card dd {
  margin: 0;
  color: var(--bone);
  font-size: clamp(1rem, 1.6vw, 1.35rem);
}

.token-supply > strong,
.token-buy > strong,
.token-lock > strong {
  display: block;
  color: var(--bone);
  font-family: "Archivo Black", sans-serif;
  font-size: clamp(2.2rem, 4.4vw, 4.7rem);
  line-height: 0.95;
  letter-spacing: -0.055em;
}

.token-supply > strong small,
.token-lock > strong small {
  color: rgba(233, 231, 221, 0.42);
  font-family: "DM Mono", monospace;
  font-size: 0.25em;
  letter-spacing: 0.08em;
}

.token-card-rule {
  position: absolute;
  right: clamp(1.5rem, 3vw, 3rem);
  bottom: clamp(1.5rem, 3vw, 3rem);
  left: clamp(1.5rem, 3vw, 3rem);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(233, 231, 221, 0.12);
}

.token-card-rule b {
  color: var(--acid);
  font-size: 0.88rem;
  font-weight: 500;
}

.tax-split {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  margin: 2.2rem 0 0;
  color: rgba(233, 231, 221, 0.6);
  font-family: "DM Mono", monospace;
  font-size: 0.78rem;
  letter-spacing: 0.05em;
}

.tax-split i {
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: var(--acid);
}

.sell-days {
  display: grid;
  grid-template-columns: auto 1fr auto 1fr auto;
  align-items: center;
  gap: 0.9rem;
}

.sell-days span {
  display: grid;
  gap: 0.35rem;
}

.sell-days b {
  color: rgba(233, 231, 221, 0.38);
}

.sell-days strong {
  font-family: "Archivo Black", sans-serif;
  font-size: clamp(2rem, 3.4vw, 3.7rem);
  line-height: 1;
  letter-spacing: -0.05em;
}

.sell-days i {
  height: 1px;
  background: linear-gradient(90deg, var(--acid), rgba(216, 255, 62, 0.08));
}

.sell-days .sell-end strong {
  color: var(--acid);
}

.token-sell > p:last-child {
  max-width: 37rem;
  margin: 2.4rem 0 0;
  color: rgba(233, 231, 221, 0.54);
  font-size: 0.9rem;
  line-height: 1.65;
}

@media (max-width: 900px) {
  .token-metrics {
    grid-template-columns: repeat(2, 1fr);
  }

  .token-metric:nth-child(3) {
    border-left: 0;
  }

  .token-metric:nth-child(-n + 2) {
    border-bottom: 1px solid rgba(233, 231, 221, 0.12);
  }

  .token-identity,
  .token-supply,
  .token-buy,
  .token-sell,
  .token-lock {
    grid-column: span 12;
  }

  .token-card {
    min-height: 0;
  }

  .token-card-rule {
    position: static;
    margin-top: 3rem;
  }
}

@media (max-width: 560px) {
  .tokenomics-shell {
    padding-top: 4.5rem;
    padding-bottom: 4.5rem;
  }

  .tokenomics-header {
    display: block;
  }

  .tokenomics-header p {
    margin-bottom: 1.5rem;
  }

  .tokenomics-header h2 {
    font-size: clamp(2.6rem, 12.5vw, 3.7rem);
  }

  .token-metric {
    min-height: 10.5rem;
    padding: 1.5rem 0.75rem;
  }

  .token-metric strong {
    font-size: clamp(2rem, 11vw, 3rem);
  }

  .token-metric strong small {
    font-size: 0.22em;
  }

  .token-metric > span {
    font-size: 0.65rem;
    line-height: 1.5;
  }

  .token-card {
    padding: 1.5rem;
  }

  .token-card-label {
    margin-bottom: 2.2rem;
  }

  .token-card dl > div {
    grid-template-columns: 5.5rem 1fr;
  }

  .token-supply > strong {
    font-size: clamp(2rem, 10vw, 3rem);
  }

  .sell-days {
    grid-template-columns: auto 1fr auto;
  }

  .sell-days i:nth-of-type(2),
  .sell-days .sell-end {
    display: none;
  }
}

.intro {
  height: 500vh;
  background: var(--ink);
}

.stage {
  position: sticky;
  top: 0;
  height: 100svh;
  overflow: hidden;
  isolation: isolate;
  background:
    radial-gradient(circle at 50% 45%, rgba(50, 55, 44, 0.13), transparent 42%),
    var(--ink);
}

#scene {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.reference-scene {
  position: absolute;
  z-index: 1;
  inset: 0;
  margin: 0;
  overflow: hidden;
  background: #06100f;
}

.reference-scene::before {
  position: absolute;
  inset: -34px;
  content: "";
  background:
    linear-gradient(rgba(3, 8, 8, 0.18), rgba(3, 8, 8, 0.22)),
    url("assets/molecular-motor-reference.png") center / cover no-repeat;
  filter: blur(24px) saturate(0.82) brightness(0.56);
  transform: scale(1.08);
}

.reference-scene::after {
  position: absolute;
  inset: 0;
  content: "";
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(2, 6, 6, 0.76) 0%, rgba(2, 6, 6, 0.32) 30%, transparent 55%),
    radial-gradient(circle at center, transparent 52%, rgba(1, 4, 4, 0.48) 100%);
}

.reference-scene img {
  position: relative;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: contrast(1.04) saturate(0.92);
}

.character-focus .intro {
  height: 100svh;
}

.character-focus .stage {
  position: relative;
}

.character-focus #scene,
.character-focus .topbar,
.character-focus .chapter,
.character-focus .finale,
.character-focus .scroll-cue,
.character-focus .progress {
  display: none;
}

.character-focus .reference-scene::after {
  background: radial-gradient(circle at center, transparent 62%, rgba(1, 4, 4, 0.28) 100%);
}

.character-focus .reference-scene img {
  filter: contrast(1.03) saturate(0.96);
}

.walk-preview {
  position: absolute;
  z-index: 7;
  inset: 0;
  display: none;
  overflow: hidden;
  background: #07100f;
}

.walk-atmosphere {
  position: absolute;
  inset: -30px;
  background:
    linear-gradient(180deg, rgba(4, 12, 12, 0.52), rgba(3, 8, 8, 0.3)),
    url("assets/molecular-motor-reference.png") center 34% / cover no-repeat;
  filter: blur(20px) brightness(0.37) saturate(0.75);
  transform: scale(1.08);
}

.walk-atmosphere::after {
  position: absolute;
  inset: 0;
  content: "";
  background:
    radial-gradient(circle at 70% 22%, rgba(255, 196, 144, 0.1), transparent 24%),
    radial-gradient(circle at center, transparent 38%, rgba(0, 4, 4, 0.62) 100%);
}

.walk-filament {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 27%;
  background: url("assets/molecular-motor-reference.png") center bottom / 100% auto no-repeat;
  filter: contrast(1.06) brightness(0.72) saturate(0.92);
}

.walk-filament::after {
  position: absolute;
  inset: 0;
  content: "";
  box-shadow: inset 0 32px 45px rgba(4, 11, 10, 0.5);
}

.walker-travel {
  position: absolute;
  z-index: 2;
  bottom: 16.5%;
  left: 0;
  width: clamp(330px, 40vw, 560px);
  aspect-ratio: 1374 / 1145;
  transform: translateX(-105%);
  animation: walk-across 17.5s linear infinite;
  will-change: transform;
}

.walker-bob,
.walker-parts,
.motor-part {
  position: absolute;
  inset: 0;
}

.walker-bob {
  will-change: transform;
}

.motor-part {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  user-select: none;
  pointer-events: none;
  filter: drop-shadow(0 10px 12px rgba(0, 0, 0, 0.26));
  will-change: transform;
}

.cargo {
  z-index: 5;
  clip-path: polygon(5% 0%, 92% 0%, 92% 59%, 72% 65%, 57% 61%, 43% 66%, 20% 60%);
  transform-origin: 49% 57%;
  animation: cargo-inertia 1.75s cubic-bezier(0.45, 0, 0.55, 1) infinite;
}

.joint {
  z-index: 4;
  clip-path: ellipse(14% 12% at 54% 72%);
  transform-origin: 54% 72%;
  animation: protein-flex 1.75s cubic-bezier(0.45, 0, 0.55, 1) infinite;
}

.torso {
  z-index: 3;
  clip-path: polygon(31% 45%, 69% 43%, 67% 62%, 62% 73%, 64% 84%, 55% 89%, 43% 84%, 39% 72%, 32% 61%);
  transform-origin: 51% 78%;
  animation: protein-flex 1.75s cubic-bezier(0.45, 0, 0.55, 1) infinite;
}

.leg {
  z-index: 2;
  transform-origin: 52% 75%;
  -webkit-mask-image: linear-gradient(to bottom, transparent 66%, rgba(0, 0, 0, 0.45) 72%, #000 78%);
  mask-image: linear-gradient(to bottom, transparent 66%, rgba(0, 0, 0, 0.45) 72%, #000 78%);
}

.leg-back {
  z-index: 1;
  clip-path: polygon(44% 71%, 57% 71%, 58% 79%, 48% 88%, 44% 100%, 11% 100%, 13% 83%, 34% 79%);
  animation: step-cycle 1.75s linear -0.875s infinite;
  filter: brightness(0.86) drop-shadow(0 8px 9px rgba(0, 0, 0, 0.25));
}

.leg-front {
  z-index: 2;
  clip-path: polygon(53% 71%, 66% 70%, 71% 77%, 79% 84%, 96% 88%, 96% 100%, 60% 100%, 58% 87%, 50% 79%);
  animation: step-cycle 1.75s linear infinite;
}

.walk-mode .intro {
  height: 100svh;
}

.walk-mode .stage {
  position: relative;
}

.walk-mode #scene,
.walk-mode .reference-scene,
.walk-mode .topbar,
.walk-mode .chapter,
.walk-mode .finale,
.walk-mode .scroll-cue,
.walk-mode .progress {
  display: none;
}

.walk-mode .walk-preview {
  display: block;
}

.walk-inspect .walker-travel {
  left: 50%;
  transform: translateX(-50%);
  animation: none;
}

@keyframes walk-across {
  0% { transform: translateX(-105%); }
  100% { transform: translateX(calc(100vw + 8%)); }
}

@keyframes cargo-inertia {
  0%, 100% { transform: translate(-1px, 1px) rotate(-0.35deg); }
  18% { transform: translate(0, -1px) rotate(-0.1deg); }
  38% { transform: translate(2px, -2px) rotate(0.45deg); }
  50% { transform: translate(2px, 1px) rotate(0.35deg); }
  68% { transform: translate(0, -1px) rotate(0.1deg); }
  88% { transform: translate(-2px, -2px) rotate(-0.45deg); }
}

@keyframes protein-flex {
  0%, 100% { transform: translate(-2px, 1px) rotate(-0.45deg) scaleY(0.997); }
  20% { transform: translate(1px, -1px) rotate(0.2deg) scaleY(1.004); }
  40% { transform: translate(3px, -2px) rotate(0.65deg) scaleY(1.007); }
  50% { transform: translate(2px, 1px) rotate(0.45deg) scaleY(0.997); }
  70% { transform: translate(-1px, -1px) rotate(-0.2deg) scaleY(1.004); }
  90% { transform: translate(-3px, -2px) rotate(-0.65deg) scaleY(1.007); }
}

@keyframes step-cycle {
  0% {
    transform: translate(12%, 0) rotate(0.8deg);
    animation-timing-function: linear;
  }
  46% {
    transform: translate(-10%, 0) rotate(-1deg);
    animation-timing-function: cubic-bezier(0.25, 0, 0.45, 1);
  }
  51% {
    transform: translate(-11%, -1%) rotate(-1.5deg);
  }
  61% {
    transform: translate(-7%, -6%) rotate(3deg);
    animation-timing-function: cubic-bezier(0.22, 0.7, 0.35, 1);
  }
  76% {
    transform: translate(4%, -15%) rotate(-2deg);
  }
  90% {
    transform: translate(17%, -8%) rotate(-7deg);
    animation-timing-function: cubic-bezier(0.3, 0, 0.65, 1);
  }
  97% {
    transform: translate(20%, -1%) rotate(-2deg);
  }
  100% {
    transform: translate(12%, 0) rotate(0.8deg);
  }
}

@media (max-width: 700px) {
  .walker-travel {
    bottom: 18%;
    width: clamp(290px, 72vw, 430px);
    animation-duration: 14s;
  }

  .walk-filament {
    height: 24%;
    background-size: 100% auto;
  }
}

@media (prefers-reduced-motion: reduce) {
  .walker-travel {
    left: 50%;
    transform: translateX(-50%);
    animation: none;
  }

  .walker-bob,
  .motor-part {
    animation: none;
  }
}

.topbar {
  position: absolute;
  z-index: 5;
  top: 0;
  left: 0;
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: space-between;
  padding: 28px 34px;
  border-bottom: 1px solid var(--line);
  font-family: "DM Mono", monospace;
  font-size: 0.68rem;
  letter-spacing: 0.14em;
}

.brand {
  display: flex;
  align-items: center;
  gap: 11px;
  color: var(--bone);
  text-decoration: none;
  font-weight: 500;
}

.brand-mark {
  display: grid;
  width: 28px;
  height: 28px;
  place-items: center;
  background: var(--acid);
  color: var(--ink);
  font-family: "Archivo Black", sans-serif;
  font-size: 0.85rem;
}

.topbar-meta {
  display: flex;
  gap: 36px;
  color: var(--muted);
}

.status {
  color: var(--bone);
}

.status i {
  display: inline-block;
  width: 5px;
  height: 5px;
  margin: 0 7px 1px 0;
  border-radius: 50%;
  background: var(--acid);
  box-shadow: 0 0 12px var(--acid);
}

.chapter,
.finale {
  position: absolute;
  z-index: 3;
  left: clamp(24px, 6vw, 92px);
  top: 50%;
  width: min(720px, 82vw);
  transform: translateY(-46%);
  pointer-events: none;
  will-change: opacity, transform, filter;
}

.chapter-two {
  left: auto;
  right: clamp(24px, 7vw, 110px);
  width: min(580px, 82vw);
  text-align: right;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 0 0 24px;
  color: var(--acid);
  font-family: "DM Mono", monospace;
  font-size: clamp(0.7rem, 0.9vw, 0.85rem);
  letter-spacing: 0.13em;
}

.chapter-two .eyebrow {
  justify-content: flex-end;
}

.eyebrow span {
  color: var(--muted);
}

h1,
h2 {
  margin: 0;
  text-transform: uppercase;
  font-family: "Archivo Black", sans-serif;
  font-size: clamp(3rem, 7.4vw, 8rem);
  line-height: 0.88;
  letter-spacing: -0.075em;
}

h2 {
  font-size: clamp(2.7rem, 6vw, 6.5rem);
}

h1 em {
  color: transparent;
  font-style: normal;
  -webkit-text-stroke: 1px rgba(233, 231, 221, 0.78);
}

.finale {
  left: 50%;
  top: 50%;
  width: min(1100px, 88vw);
  transform: translate(-50%, -46%);
  text-align: center;
}

.finale > p {
  margin: 0 0 24px;
  color: var(--muted);
  font-family: "DM Mono", monospace;
  font-size: clamp(0.64rem, 0.9vw, 0.78rem);
  letter-spacing: 0.19em;
}

.final-title {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  column-gap: 0.24em;
  font-family: "Archivo Black", sans-serif;
  font-size: clamp(4.2rem, 11.3vw, 11rem);
  line-height: 0.78;
  letter-spacing: -0.08em;
}

.final-title .acid {
  color: var(--acid);
  text-shadow: 0 0 45px rgba(216, 255, 62, 0.14);
}

.final-rule {
  display: flex;
  justify-content: space-between;
  margin-top: 42px;
  padding-top: 15px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-family: "DM Mono", monospace;
  font-size: 0.65rem;
  letter-spacing: 0.15em;
}

.scroll-cue {
  position: absolute;
  z-index: 4;
  right: 34px;
  bottom: 32px;
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--muted);
  font-family: "DM Mono", monospace;
  font-size: 0.62rem;
  letter-spacing: 0.14em;
}

.scroll-track {
  width: 46px;
  height: 1px;
  overflow: hidden;
  background: var(--line);
}

.scroll-track i {
  display: block;
  width: 18px;
  height: 100%;
  background: var(--acid);
  animation: scan 1.8s ease-in-out infinite;
}

.progress {
  position: absolute;
  z-index: 4;
  left: 34px;
  bottom: 30px;
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--muted);
  font-family: "DM Mono", monospace;
  font-size: 0.58rem;
}

.progress div {
  width: 96px;
  height: 1px;
  background: var(--line);
}

.progress i {
  display: block;
  width: 0;
  height: 100%;
  background: var(--bone);
}

@keyframes scan {
  from { transform: translateX(-100%); }
  to { transform: translateX(280%); }
}

@media (max-width: 700px) {
  .intro { height: 450vh; }
  .topbar { padding: 20px; }
  .topbar-meta > span:first-child { display: none; }
  .chapter { left: 22px; top: 42%; width: calc(100vw - 44px); }
  .chapter-two { left: 22px; right: auto; top: 36%; text-align: left; }
  .chapter-two .eyebrow { justify-content: flex-start; }
  h1 { font-size: clamp(2.9rem, 14vw, 4.9rem); }
  h2 { font-size: clamp(2.6rem, 13vw, 4.5rem); }
  .final-title { display: block; font-size: clamp(4.2rem, 22vw, 7rem); line-height: 0.76; }
  .final-title span { display: block; }
  .final-rule { margin-top: 28px; }
  .scroll-cue { right: 20px; bottom: 23px; }
  .progress { left: 20px; bottom: 23px; }
  .progress div { width: 55px; }
}

@media (prefers-reduced-motion: reduce) {
  .scroll-track i { animation: none; width: 100%; }

  html { scroll-behavior: auto; }
}

.seasons-section {
  position: relative;
  z-index: 30;
  overflow: hidden;
  border-top: 1px solid rgba(233, 231, 221, 0.12);
  background: #050605;
  color: var(--bone);
}

.seasons-section::before {
  position: absolute;
  top: 0;
  left: 8%;
  width: 1px;
  height: 100%;
  content: "";
  background: rgba(233, 231, 221, 0.05);
}

.seasons-shell {
  position: relative;
  width: min(1440px, 100%);
  margin: 0 auto;
  padding: clamp(5rem, 9vw, 9rem) clamp(1.35rem, 6vw, 6.5rem);
}

.seasons-header {
  display: grid;
  grid-template-columns: 0.72fr 1.28fr;
  align-items: end;
  gap: 2rem;
  margin-bottom: clamp(3.5rem, 7vw, 7rem);
}

.seasons-header p,
.known-taxes span,
.known-taxes small,
.tax-scale,
.season-days,
.season-rules article > span {
  font-family: "DM Mono", monospace;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.seasons-header p {
  margin: 0 0 0.8rem;
  color: rgba(233, 231, 221, 0.46);
}

.seasons-header p span {
  margin-right: 0.7rem;
  color: var(--acid);
}

.seasons-header h2 {
  margin: 0;
  color: var(--bone);
  font-family: "Archivo Black", sans-serif;
  font-size: clamp(3.2rem, 7.7vw, 8.2rem);
  line-height: 0.84;
  letter-spacing: -0.065em;
}

.season-timeline {
  border-top: 1px solid rgba(233, 231, 221, 0.14);
  border-bottom: 1px solid rgba(233, 231, 221, 0.14);
}

.known-taxes {
  display: grid;
  grid-template-columns: repeat(3, 0.7fr) 1.9fr;
}

.known-taxes > div {
  min-height: 12.5rem;
  padding: clamp(1.4rem, 2.5vw, 2.5rem);
  border-right: 1px solid rgba(233, 231, 221, 0.12);
}

.known-taxes > div:last-child {
  border-right: 0;
}

.known-taxes span,
.known-taxes small {
  display: block;
  color: rgba(233, 231, 221, 0.42);
}

.known-taxes strong {
  display: block;
  margin-top: 1.8rem;
  font-family: "Archivo Black", sans-serif;
  font-size: clamp(2.7rem, 4.9vw, 5.2rem);
  line-height: 0.9;
  letter-spacing: -0.055em;
}

.known-taxes > div:first-child strong {
  color: var(--acid);
}

.known-taxes .tax-direction {
  display: grid;
  align-content: end;
}

.tax-direction strong {
  margin-top: 1rem;
  font-size: clamp(2.1rem, 3.7vw, 4rem);
}

.tax-direction small {
  margin-top: 0.8rem;
  color: var(--acid);
  line-height: 1.5;
}

.timeline-scroll {
  overflow-x: auto;
  scrollbar-color: rgba(216, 255, 62, 0.5) rgba(233, 231, 221, 0.08);
}

.timeline-canvas {
  position: relative;
  min-width: 960px;
  height: clamp(18rem, 30vw, 25rem);
  border-top: 1px solid rgba(233, 231, 221, 0.12);
}

.timeline-canvas::before {
  position: absolute;
  right: 0;
  bottom: 4.1rem;
  left: 0;
  height: 1px;
  content: "";
  background: rgba(233, 231, 221, 0.12);
}

.tax-scale {
  position: absolute;
  top: 1.3rem;
  right: 1.5rem;
  bottom: 5.2rem;
  left: 1.5rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  color: rgba(233, 231, 221, 0.3);
}

.tax-scale span:nth-child(2) {
  align-self: center;
  color: rgba(233, 231, 221, 0.22);
}

.tax-scale span:last-child {
  align-self: end;
  color: var(--acid);
}

.tax-chart {
  position: absolute;
  top: 3.6rem;
  right: 2.5rem;
  bottom: 5.8rem;
  left: 2.5rem;
  --active-x: 0%;
  --active-y: 5%;
  --tooltip-x: 7%;
  --tooltip-y: 14%;
}

.tax-curve {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
}

.tax-curve polyline {
  fill: none;
  stroke: url("#seasonLine");
  stroke-width: 4;
  stroke-linecap: round;
  stroke-linejoin: round;
  vector-effect: non-scaling-stroke;
}

.tax-points {
  position: absolute;
  inset: 0;
}

.tax-point {
  position: absolute;
  left: var(--x);
  top: var(--y);
  width: 2rem;
  height: 2rem;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: transparent;
  cursor: pointer;
  transform: translate(-50%, -50%);
}

.tax-point::before {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0.48rem;
  height: 0.48rem;
  border: 1px solid rgba(216, 255, 62, 0.78);
  border-radius: 50%;
  content: "";
  background: #050605;
  box-shadow: 0 0 0 2px #050605;
  transform: translate(-50%, -50%);
  transition: transform 180ms ease, background-color 180ms ease, box-shadow 180ms ease;
}

.tax-point:hover::before,
.tax-point:focus-visible::before,
.tax-point.is-active::before {
  background: var(--acid);
  box-shadow: 0 0 0 3px #050605, 0 0 20px rgba(216, 255, 62, 0.48);
  transform: translate(-50%, -50%) scale(1.55);
}

.tax-point:focus-visible {
  outline: 1px solid var(--acid);
  outline-offset: 2px;
}

.tax-guide {
  position: absolute;
  top: 0;
  bottom: 0;
  left: var(--active-x);
  width: 1px;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(216, 255, 62, 0.04), rgba(216, 255, 62, 0.66), rgba(216, 255, 62, 0.04));
  opacity: 0;
  transition: left 180ms ease, opacity 180ms ease;
}

.tax-tooltip {
  position: absolute;
  z-index: 3;
  top: var(--tooltip-y);
  left: var(--tooltip-x);
  min-width: 9.5rem;
  padding: 0.8rem 0.95rem;
  border: 1px solid rgba(216, 255, 62, 0.42);
  background: rgba(5, 6, 5, 0.94);
  box-shadow: 0 0 30px rgba(216, 255, 62, 0.08);
  pointer-events: none;
  opacity: 0;
  transform: translate(-50%, -50%) translateY(6px);
  transition: left 180ms ease, top 180ms ease, opacity 180ms ease, transform 180ms ease;
}

.tax-tooltip span,
.tax-tooltip strong {
  display: block;
  font-family: "DM Mono", monospace;
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  line-height: 1.45;
}

.tax-tooltip span {
  color: rgba(233, 231, 221, 0.48);
}

.tax-tooltip strong {
  margin-top: 0.15rem;
  color: var(--acid);
  font-weight: 500;
}

.tax-chart.is-engaged .tax-guide,
.tax-chart.is-engaged .tax-tooltip {
  opacity: 1;
}

.tax-chart.is-engaged .tax-tooltip {
  transform: translate(-50%, -50%);
}

.season-days {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  display: grid;
  grid-template-columns: repeat(20, 1fr);
  height: 4.1rem;
}

.season-days button {
  display: grid;
  place-items: center;
  min-width: 0;
  padding: 0;
  border-left: 1px solid rgba(233, 231, 221, 0.09);
  border-top: 0;
  border-right: 0;
  border-bottom: 0;
  border-radius: 0;
  background: transparent;
  color: rgba(233, 231, 221, 0.34);
  font: inherit;
  letter-spacing: inherit;
  cursor: pointer;
  transition: color 180ms ease, background-color 180ms ease;
}

.season-days button:last-child {
  border-right: 1px solid rgba(233, 231, 221, 0.09);
}

.season-days button:hover,
.season-days button:focus-visible,
.season-days button.is-active {
  color: var(--acid);
  background: rgba(216, 255, 62, 0.055);
  outline: none;
}

.season-days button:focus-visible {
  box-shadow: inset 0 0 0 1px var(--acid);
}

.season-rules {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin-top: clamp(3rem, 6vw, 6rem);
  border-top: 1px solid rgba(233, 231, 221, 0.12);
  border-left: 1px solid rgba(233, 231, 221, 0.12);
}

.season-rules article {
  min-height: 15rem;
  padding: clamp(1.4rem, 2.8vw, 2.8rem);
  border-right: 1px solid rgba(233, 231, 221, 0.12);
  border-bottom: 1px solid rgba(233, 231, 221, 0.12);
}

.season-rules article > span {
  color: var(--acid);
}

.season-rules strong {
  display: block;
  color: var(--bone);
  font-family: "Archivo Black", sans-serif;
  font-size: clamp(2.6rem, 4.8vw, 5rem);
  line-height: 0.9;
  letter-spacing: -0.055em;
}

.season-rules strong small {
  color: rgba(233, 231, 221, 0.4);
  font-family: "DM Mono", monospace;
  font-size: 0.25em;
  letter-spacing: 0.08em;
}

.season-rules p {
  max-width: 18rem;
  margin: 2rem 0 0;
  color: rgba(233, 231, 221, 0.58);
  font-size: 0.94rem;
  line-height: 1.65;
}

.season-transfer-tax strong {
  color: var(--acid);
}

.season-transfer-tax p {
  font-family: "DM Mono", monospace;
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

@media (max-width: 900px) {
  .seasons-header {
    grid-template-columns: 1fr;
  }

  .known-taxes {
    grid-template-columns: repeat(3, 1fr);
  }

  .known-taxes .tax-direction {
    grid-column: 1 / -1;
    min-height: 10rem;
    border-top: 1px solid rgba(233, 231, 221, 0.12);
  }

  .known-taxes > div:nth-child(3) {
    border-right: 0;
  }

  .season-rules {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 560px) {
  .seasons-shell {
    padding-top: 4.5rem;
    padding-bottom: 4.5rem;
  }

  .seasons-header h2 {
    font-size: clamp(3.1rem, 15vw, 4.4rem);
  }

  .known-taxes > div {
    min-height: 9.5rem;
    padding: 1.25rem 0.8rem;
  }

  .known-taxes strong {
    margin-top: 1.4rem;
    font-size: clamp(2.1rem, 10vw, 2.8rem);
  }

  .known-taxes span,
  .known-taxes small {
    font-size: 0.62rem;
    letter-spacing: 0.08em;
  }

  .known-taxes .tax-direction {
    min-height: 9rem;
    padding: 1.4rem;
  }

  .tax-direction strong {
    font-size: 2.2rem;
  }

  .timeline-canvas {
    min-width: 820px;
    height: 20rem;
  }

  .season-rules {
    grid-template-columns: 1fr;
  }

  .season-rules article {
    min-height: 12.5rem;
    padding: 1.5rem;
  }

  .season-rules p {
    margin-top: 1.6rem;
  }
}

.how-section {
  position: relative;
  z-index: 30;
  overflow: hidden;
  border-top: 1px solid rgba(233, 231, 221, 0.12);
  background: linear-gradient(180deg, #050605 0%, #020302 100%);
  color: var(--bone);
}

.how-section::before {
  position: absolute;
  top: 0;
  left: 8%;
  width: 1px;
  height: 100%;
  content: "";
  background: rgba(233, 231, 221, 0.05);
}

.how-shell {
  position: relative;
  width: min(1440px, 100%);
  margin: 0 auto;
  padding: clamp(5rem, 9vw, 9rem) clamp(1.35rem, 6vw, 6.5rem);
}

.how-header {
  display: grid;
  grid-template-columns: 0.72fr 1.28fr;
  align-items: end;
  gap: 2rem;
  margin-bottom: clamp(3.5rem, 7vw, 7rem);
}

.how-header > p {
  margin: 0 0 0.8rem;
  color: rgba(233, 231, 221, 0.46);
  font-family: "DM Mono", monospace;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.13em;
}

.how-header > p span {
  margin-right: 0.7rem;
  color: var(--acid);
}

.how-header h2 {
  margin: 0;
  color: var(--bone);
  font-family: "Archivo Black", sans-serif;
  font-size: clamp(3.2rem, 7.7vw, 8.2rem);
  line-height: 0.84;
  letter-spacing: -0.065em;
}

.how-steps {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  border-top: 1px solid rgba(233, 231, 221, 0.13);
  border-left: 1px solid rgba(233, 231, 221, 0.13);
}

.how-step {
  display: grid;
  grid-template-columns: minmax(6rem, 0.38fr) 1fr;
  gap: clamp(1.5rem, 3vw, 3rem);
  min-height: clamp(20rem, 29vw, 28rem);
  padding: clamp(1.5rem, 3.6vw, 3.8rem);
  border-right: 1px solid rgba(233, 231, 221, 0.13);
  border-bottom: 1px solid rgba(233, 231, 221, 0.13);
}

.how-number {
  color: rgba(233, 231, 221, 0.1);
  font-family: "Archivo Black", sans-serif;
  font-size: clamp(4.2rem, 8vw, 8.5rem);
  line-height: 0.8;
  letter-spacing: -0.08em;
}

.how-step > div {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.how-step h3 {
  margin: 0;
  color: var(--acid);
  font-family: "DM Mono", monospace;
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.15em;
}

.how-step p {
  max-width: 27rem;
  margin: 3rem 0 0;
  color: rgba(233, 231, 221, 0.76);
  font-size: clamp(1.05rem, 1.55vw, 1.35rem);
  line-height: 1.6;
}

.how-step:nth-child(4) .how-number {
  color: rgba(216, 255, 62, 0.22);
}

.supply-statement {
  display: grid;
  grid-template-columns: repeat(3, auto);
  align-items: baseline;
  justify-content: space-between;
  gap: 1.5rem;
  margin-top: clamp(3rem, 7vw, 7rem);
  padding: clamp(2.2rem, 5vw, 5rem) 0;
  border-top: 1px solid rgba(233, 231, 221, 0.14);
  border-bottom: 1px solid rgba(233, 231, 221, 0.14);
  font-family: "Archivo Black", sans-serif;
  font-size: clamp(1.7rem, 4.2vw, 4.5rem);
  line-height: 0.95;
  letter-spacing: -0.055em;
}

.supply-statement span {
  color: rgba(233, 231, 221, 0.52);
}

.supply-statement strong {
  color: var(--acid);
  font-weight: inherit;
}

@media (max-width: 900px) {
  .how-header {
    grid-template-columns: 1fr;
  }

  .how-steps {
    grid-template-columns: 1fr;
  }

  .how-step {
    min-height: 18rem;
  }

  .supply-statement {
    grid-template-columns: 1fr;
    gap: 0.65rem;
  }
}

@media (max-width: 560px) {
  .how-shell {
    padding-top: 4.5rem;
    padding-bottom: 4.5rem;
  }

  .how-header h2 {
    font-size: clamp(3.1rem, 14vw, 4.2rem);
  }

  .how-step {
    grid-template-columns: 1fr;
    gap: 2.2rem;
    min-height: 0;
    padding: 1.6rem;
  }

  .how-number {
    font-size: 4.5rem;
  }

  .how-step p {
    margin-top: 2rem;
    font-size: 1rem;
  }

  .supply-statement {
    padding: 2.5rem 0;
    font-size: clamp(2rem, 10vw, 3rem);
  }
}

.last-info-section {
  position: relative;
  z-index: 30;
  overflow: hidden;
  border-top: 1px solid rgba(233, 231, 221, 0.12);
  background: #050605;
  color: var(--bone);
}

.last-info-section::before {
  position: absolute;
  top: 0;
  left: 8%;
  width: 1px;
  height: 100%;
  content: "";
  background: rgba(233, 231, 221, 0.05);
}

.last-info-shell {
  position: relative;
  width: min(1440px, 100%);
  margin: 0 auto;
  padding: clamp(5rem, 9vw, 9rem) clamp(1.35rem, 6vw, 6.5rem);
}

.last-info-header {
  display: grid;
  grid-template-columns: 0.72fr 1.28fr;
  align-items: end;
  gap: 2rem;
  margin-bottom: clamp(3.5rem, 7vw, 7rem);
}

.last-info-header > p,
.last-info-grid article > p {
  margin: 0;
  color: rgba(233, 231, 221, 0.46);
  font-family: "DM Mono", monospace;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.13em;
}

.last-info-header > p {
  margin-bottom: 0.8rem;
}

.last-info-header > p span {
  margin-right: 0.7rem;
  color: var(--acid);
}

.last-info-header h2 {
  margin: 0;
  color: var(--bone);
  font-family: "Archivo Black", sans-serif;
  font-size: clamp(3.2rem, 7.7vw, 8.2rem);
  line-height: 0.84;
  letter-spacing: -0.065em;
}

.last-info-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  border-top: 1px solid rgba(233, 231, 221, 0.13);
  border-left: 1px solid rgba(233, 231, 221, 0.13);
}

.last-info-grid article {
  position: relative;
  min-height: clamp(18rem, 28vw, 27rem);
  padding: clamp(1.5rem, 3.4vw, 3.6rem);
  border-right: 1px solid rgba(233, 231, 221, 0.13);
  border-bottom: 1px solid rgba(233, 231, 221, 0.13);
}

.info-lock {
  grid-column: span 7;
}

.info-network {
  grid-column: span 5;
}

.info-dex {
  grid-column: span 5;
}

.info-contract {
  grid-column: span 7;
}

.last-info-grid article > strong {
  display: block;
  margin-top: clamp(3.5rem, 8vw, 8rem);
  color: var(--bone);
  font-family: "Archivo Black", sans-serif;
  font-size: clamp(2.7rem, 5.8vw, 6.3rem);
  font-weight: 400;
  line-height: 0.86;
  letter-spacing: -0.06em;
}

.last-info-grid article > strong small {
  color: rgba(233, 231, 221, 0.42);
  font-family: "DM Mono", monospace;
  font-size: 0.23em;
  letter-spacing: 0.08em;
}

.info-lock > span {
  position: absolute;
  right: clamp(1.5rem, 3.4vw, 3.6rem);
  bottom: clamp(1.5rem, 3.4vw, 3.6rem);
  left: clamp(1.5rem, 3.4vw, 3.6rem);
  max-width: 29rem;
  padding-top: 1.1rem;
  border-top: 1px solid rgba(233, 231, 221, 0.11);
  color: rgba(233, 231, 221, 0.56);
  font-size: 0.95rem;
  line-height: 1.55;
}

.info-network > strong {
  font-size: clamp(2.3rem, 4.7vw, 5rem) !important;
}

.info-dex > strong {
  font-size: clamp(2.5rem, 5vw, 5.4rem) !important;
}

.info-contract {
  background: rgba(216, 255, 62, 0.025);
}

.info-contract > p {
  color: var(--acid) !important;
}

.contract-display {
  margin-top: clamp(3.5rem, 8vw, 8rem);
}

.contract-value {
  display: block;
  color: var(--acid) !important;
  font-family: "Archivo Black", sans-serif;
  font-size: clamp(2.7rem, 5.8vw, 6.3rem);
  font-weight: 400;
  line-height: 0.86;
  letter-spacing: -0.06em;
}

.contract-actions {
  display: flex;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

.contract-actions[hidden] {
  display: none;
}

.contract-copy,
.contract-view {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 5rem;
  min-height: 2.4rem;
  padding: 0.7rem 1rem;
  border: 1px solid rgba(216, 255, 62, 0.42);
  border-radius: 0;
  background: transparent;
  color: var(--acid);
  font-family: "DM Mono", monospace;
  font-size: 0.7rem;
  letter-spacing: 0.11em;
  text-decoration: none;
}

.security-note {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  margin-top: clamp(2.5rem, 5vw, 5rem);
  padding: 1.4rem 0;
  border-top: 1px solid rgba(233, 231, 221, 0.13);
  border-bottom: 1px solid rgba(233, 231, 221, 0.13);
}

.security-note i {
  flex: 0 0 auto;
  width: 8px;
  height: 8px;
  border: 1px solid var(--acid);
  border-radius: 50%;
}

.security-note p {
  margin: 0;
  color: rgba(233, 231, 221, 0.6);
  font-family: "DM Mono", monospace;
  font-size: 0.75rem;
  line-height: 1.6;
  letter-spacing: 0.05em;
}

@media (max-width: 900px) {
  .last-info-header {
    grid-template-columns: 1fr;
  }

  .info-lock,
  .info-network,
  .info-dex,
  .info-contract {
    grid-column: span 12;
  }

  .last-info-grid article {
    min-height: 20rem;
  }
}

@media (max-width: 560px) {
  .last-info-shell {
    padding-top: 4.5rem;
    padding-bottom: 4.5rem;
  }

  .last-info-header h2 {
    font-size: clamp(3.1rem, 15vw, 4.3rem);
  }

  .last-info-grid article {
    min-height: 17rem;
    padding: 1.5rem;
  }

  .last-info-grid article > strong,
  .info-network > strong,
  .info-dex > strong,
  .contract-value {
    margin-top: 3.8rem;
    font-size: clamp(2.6rem, 12vw, 3.7rem) !important;
  }

  .contract-display {
    margin-top: 3.8rem;
  }

  .info-lock > span {
    right: 1.5rem;
    bottom: 1.5rem;
    left: 1.5rem;
  }

  .security-note {
    align-items: flex-start;
  }
}

.final-footer {
  position: relative;
  z-index: 30;
  min-height: 100svh;
  overflow: hidden;
  border-top: 1px solid rgba(233, 231, 221, 0.12);
  background: #020302;
  color: var(--bone);
}

.final-footer::before {
  position: absolute;
  inset: 0;
  content: "";
  pointer-events: none;
  background: radial-gradient(circle at 78% 30%, rgba(216, 255, 62, 0.065), transparent 25%);
}

.footer-shell {
  position: relative;
  display: flex;
  flex-direction: column;
  width: min(1440px, 100%);
  min-height: 100svh;
  margin: 0 auto;
  padding: clamp(4rem, 8vw, 8rem) clamp(1.35rem, 6vw, 6.5rem) clamp(1.5rem, 3vw, 3rem);
}

.footer-message h2 {
  max-width: 8.8ch;
  margin: 0;
  color: var(--bone);
  font-family: "Archivo Black", sans-serif;
  font-size: clamp(4.7rem, 12.2vw, 13rem);
  line-height: 0.78;
  letter-spacing: -0.075em;
}

.footer-message > p {
  margin: clamp(2rem, 4vw, 4rem) 0 0;
  color: rgba(233, 231, 221, 0.64);
  font-size: clamp(1rem, 1.5vw, 1.3rem);
  line-height: 1.6;
}

.footer-meta {
  margin: clamp(2rem, 4vw, 4rem) 0 0;
  color: rgba(233, 231, 221, 0.4);
  font-family: "DM Mono", monospace;
  font-size: 0.74rem;
  letter-spacing: 0.11em;
}

.footer-meta span {
  margin: 0 0.45rem;
  color: var(--acid);
}

.footer-links {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  margin-top: auto;
  border-top: 1px solid rgba(233, 231, 221, 0.14);
  border-left: 1px solid rgba(233, 231, 221, 0.14);
}

.footer-links > a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 6rem;
  padding: 1.25rem clamp(1rem, 2.2vw, 2.2rem);
  border-right: 1px solid rgba(233, 231, 221, 0.14);
  border-bottom: 1px solid rgba(233, 231, 221, 0.14);
  color: rgba(233, 231, 221, 0.55);
  text-decoration: none;
  transition: background 180ms ease, color 180ms ease, border-color 180ms ease;
}

.footer-links > a:hover,
.footer-links > a:focus-visible {
  border-color: rgba(216, 255, 62, 0.55);
  background: rgba(216, 255, 62, 0.06);
  color: var(--bone);
}

.footer-links > a:focus-visible {
  outline: 2px solid var(--acid);
  outline-offset: -3px;
}

.footer-links span,
.footer-links small,
.footer-disclaimer,
.footer-copyright {
  font-family: "DM Mono", monospace;
  font-size: 0.72rem;
  letter-spacing: 0.12em;
}

.footer-disclaimer {
  max-width: 58rem;
  margin: 1.5rem 0 0;
  color: rgba(233, 231, 221, 0.42);
  font-size: 0.62rem;
  line-height: 1.65;
}

.footer-links small {
  color: rgba(216, 255, 62, 0.55);
  font-size: 0.58rem;
}

.footer-copyright {
  margin: 1.5rem 0 0;
  color: rgba(233, 231, 221, 0.32);
}

@media (max-width: 700px) {
  .footer-shell {
    padding-top: 4.5rem;
  }

  .footer-message h2 {
    font-size: clamp(4rem, 20vw, 6.2rem);
    line-height: 0.82;
  }

  .footer-message > p {
    max-width: 20rem;
  }

  .footer-meta {
    max-width: 18rem;
    line-height: 1.8;
  }

  .footer-links {
    grid-template-columns: 1fr;
    margin-top: 4rem;
  }

  .footer-links > a {
    min-height: 4.8rem;
  }
}
