:root {
  --void: #04090d;
  --void-soft: #071219;
  --meadow: #0a2418;
  --blue: #142fd4;
  --blue-bright: #3155ff;
  --bone: #e8ddff;
  --cloud: #f3eeff;
  --violet: #9d70ff;
  --violet-deep: #7140df;
  --muted: rgba(232, 221, 255, 0.65);
  --line: rgba(222, 211, 255, 0.28);
  --line-soft: rgba(222, 211, 255, 0.14);
  --serif: "Bodoni MT", Didot, "Times New Roman", Georgia, serif;
  --sans: "Bahnschrift", "Arial Narrow", Arial, Helvetica, sans-serif;
  --shell: min(1700px, calc(100% - 8vw));
}

* {
  box-sizing: border-box;
}

html {
  min-width: 320px;
  scroll-behavior: smooth;
  scroll-padding-top: 94px;
  background: var(--void);
}

body {
  min-width: 320px;
  margin: 0;
  overflow-x: hidden;
  background:
    radial-gradient(circle at 74% 9%, rgba(49, 85, 255, 0.12), transparent 26rem),
    var(--void);
  color: var(--bone);
  font-family: var(--sans);
  font-size: 18px;
  line-height: 1.5;
}

body.menu-open,
body.lightbox-open {
  overflow: hidden;
}

::selection {
  background: var(--violet);
  color: var(--void);
}

img,
svg {
  display: block;
}

img {
  max-width: 100%;
}

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

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

button {
  color: inherit;
  font: inherit;
}

:focus-visible {
  outline: 2px solid var(--violet);
  outline-offset: 5px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.site-noise {
  position: fixed;
  z-index: 100;
  inset: 0;
  pointer-events: none;
  opacity: 0.1;
  background-image:
    repeating-radial-gradient(circle at 22% 18%, rgba(255, 255, 255, 0.42) 0 0.55px, transparent 0.75px 3px),
    repeating-linear-gradient(0deg, transparent 0 3px, rgba(93, 119, 255, 0.18) 4px);
  background-size: 150px 140px, 100% 5px;
  mix-blend-mode: soft-light;
}

.topbar {
  position: fixed;
  z-index: 80;
  inset: 0 0 auto;
  height: 92px;
  display: grid;
  grid-template-columns: minmax(180px, 1fr) auto minmax(180px, 1fr);
  align-items: center;
  padding: 0 4vw;
  border-bottom: 1px solid var(--line-soft);
  background: linear-gradient(180deg, rgba(3, 8, 13, 0.92), rgba(3, 8, 13, 0.66));
  backdrop-filter: blur(18px) saturate(130%);
  transition: height 220ms ease, background 220ms ease;
}

.topbar.is-scrolled {
  height: 76px;
  background: rgba(3, 8, 13, 0.94);
}

.wordmark,
.footer-brand {
  font-family: var(--serif);
  font-weight: 400;
  letter-spacing: 0.16em;
}

.wordmark {
  justify-self: start;
  font-size: clamp(1.12rem, 1.55vw, 1.55rem);
  text-shadow: 0 0 20px rgba(211, 195, 255, 0.48);
}

.desktop-nav {
  display: flex;
  align-items: center;
  gap: clamp(24px, 2.65vw, 52px);
}

.desktop-nav a,
.header-buy,
.signal-links a,
.mobile-socials a {
  position: relative;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.desktop-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 100%;
  bottom: -9px;
  height: 1px;
  background: var(--violet);
  transition: right 180ms ease;
}

.desktop-nav a:hover::after {
  right: 0;
}

.header-actions {
  justify-self: end;
  display: flex;
  align-items: center;
  gap: 10px;
}

.icon-link {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line-soft);
  background: rgba(232, 221, 255, 0.035);
  transition: border-color 180ms ease, background 180ms ease, transform 180ms ease;
}

.icon-link:hover {
  border-color: var(--violet);
  background: rgba(157, 112, 255, 0.12);
  transform: translateY(-2px);
}

.icon-link svg,
.footer-links svg {
  width: 17px;
  height: 17px;
  fill: currentColor;
}

.header-buy {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-left: 6px;
  padding: 0 19px;
  border: 1px solid rgba(232, 221, 255, 0.72);
  transition: background 180ms ease, color 180ms ease;
}

.header-buy:hover {
  background: var(--bone);
  color: var(--void);
}

.menu-toggle {
  width: 46px;
  height: 46px;
  display: none;
  place-content: center;
  gap: 5px;
  padding: 0;
  border: 1px solid var(--line);
  background: transparent;
  cursor: pointer;
}

.menu-toggle span {
  width: 19px;
  height: 1px;
  background: currentColor;
  transition: transform 180ms ease, opacity 180ms ease;
}

.menu-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}

.menu-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.menu-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

.mobile-menu {
  position: fixed;
  z-index: 70;
  inset: 0;
  display: none;
  grid-template-rows: 1fr auto;
  padding: 120px 24px 36px;
  background:
    radial-gradient(circle at 80% 10%, rgba(49, 85, 255, 0.26), transparent 22rem),
    rgba(4, 9, 13, 0.985);
  overflow-y: auto;
  overscroll-behavior: contain;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-14px);
  transition: opacity 200ms ease, visibility 200ms ease, transform 200ms ease;
}

.mobile-menu.is-open {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.mobile-menu nav {
  display: grid;
  align-content: center;
  gap: 4px;
}

.mobile-menu nav a {
  padding: 10px 0;
  border-bottom: 1px solid var(--line-soft);
  font-family: var(--serif);
  font-size: clamp(2.25rem, 11vw, 4.3rem);
  line-height: 1;
  letter-spacing: -0.035em;
}

.mobile-socials {
  display: flex;
  gap: 24px;
}

.mobile-socials a {
  display: inline-flex;
  align-items: center;
  gap: 9px;
}

.mobile-socials svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

.section-shell {
  width: var(--shell);
  margin-inline: auto;
}

.section-dark {
  position: relative;
  background:
    radial-gradient(circle at 87% 18%, rgba(43, 73, 230, 0.15), transparent 30rem),
    #03080d;
}

.section-dark::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image: linear-gradient(rgba(178, 173, 255, 0.035) 1px, transparent 1px), linear-gradient(90deg, rgba(178, 173, 255, 0.035) 1px, transparent 1px);
  background-size: 80px 80px;
  mask-image: linear-gradient(to bottom, transparent, #000 14%, #000 86%, transparent);
}

.section-kicker {
  margin: 0 0 20px;
  color: var(--violet);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.28em;
  text-transform: uppercase;
}

.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 130px 4vw 56px;
  overflow: hidden;
  isolation: isolate;
}

.hero::before {
  content: "";
  position: absolute;
  z-index: -2;
  inset: 0;
  background:
    radial-gradient(circle at 14% 74%, rgba(21, 79, 37, 0.42), transparent 29rem),
    radial-gradient(circle at 88% 30%, rgba(30, 55, 255, 0.2), transparent 34rem),
    linear-gradient(145deg, #03080d 0%, #06151a 54%, #03080d 100%);
}

.hero-orbit {
  position: absolute;
  z-index: -1;
  width: 540px;
  height: 540px;
  border: 1px solid rgba(156, 132, 255, 0.12);
  border-radius: 50%;
  pointer-events: none;
}

.orbit-one {
  top: -270px;
  right: 7vw;
}

.orbit-two {
  bottom: -370px;
  left: 18vw;
  width: 700px;
  height: 700px;
}

.hero-kicker {
  width: 100%;
  display: flex;
  justify-content: space-between;
  margin-bottom: 15px;
  color: var(--muted);
  font-size: 0.61rem;
  font-weight: 800;
  letter-spacing: 0.24em;
}

.hero-banner {
  position: relative;
  width: 100%;
  aspect-ratio: 3 / 1;
  overflow: hidden;
  border: 1px solid rgba(226, 218, 255, 0.36);
  background: var(--meadow);
  box-shadow:
    0 32px 100px rgba(11, 34, 255, 0.18),
    inset 0 0 80px rgba(0, 0, 0, 0.35);
}

.hero-banner::before,
.living-frame::before {
  content: "";
  position: absolute;
  z-index: 2;
  inset: 0;
  pointer-events: none;
  box-shadow: inset 0 0 85px rgba(2, 7, 12, 0.54);
}

.hero-banner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.scanlines {
  position: absolute;
  z-index: 3;
  inset: 0;
  pointer-events: none;
  opacity: 0.16;
  background: repeating-linear-gradient(0deg, transparent 0 3px, rgba(7, 10, 47, 0.68) 4px, transparent 5px);
  mix-blend-mode: multiply;
}

.hero-lower {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 36px;
  padding-top: 30px;
}

.hero-manifesto {
  max-width: 760px;
  margin: 0;
  color: rgba(238, 229, 255, 0.74);
  font-family: var(--serif);
  font-size: clamp(1.2rem, 1.7vw, 1.75rem);
  font-style: italic;
  line-height: 1.4;
}

.hero-actions {
  display: flex;
  flex: 0 0 auto;
  gap: 13px;
}

.button {
  min-height: 62px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 30px;
  border: 1px solid rgba(232, 221, 255, 0.68);
  background: transparent;
  color: var(--bone);
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  cursor: pointer;
  transition: transform 180ms ease, background 180ms ease, color 180ms ease, box-shadow 180ms ease;
}

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

.button-primary {
  border-color: var(--bone);
  background: var(--bone);
  color: #0a0e24;
  box-shadow: 0 0 40px rgba(157, 112, 255, 0.32);
}

.button-primary:hover {
  box-shadow: 0 0 54px rgba(157, 112, 255, 0.52);
}

.button-glass {
  background: rgba(7, 13, 25, 0.38);
  backdrop-filter: blur(8px);
}

.hero-coordinate {
  position: absolute;
  right: 4vw;
  bottom: 20px;
  margin: 0;
  color: rgba(232, 221, 255, 0.32);
  font: 700 0.57rem/1 monospace;
  letter-spacing: 0.16em;
}

.contract-strip {
  position: relative;
  z-index: 2;
  padding: 21px 4vw;
  border-block: 1px solid var(--line-soft);
  background: linear-gradient(90deg, #07110f, #0a1225 50%, #07110f);
}

.contract-inner {
  width: min(1220px, 100%);
  min-height: 78px;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 28px;
  margin: auto;
  padding: 10px 12px 10px 28px;
  border: 1px solid var(--line);
  background: rgba(3, 8, 13, 0.54);
}

.contract-label {
  color: var(--violet);
  font-size: 0.67rem;
  font-weight: 900;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.contract-inner code {
  overflow: hidden;
  color: rgba(239, 233, 255, 0.88);
  font-family: "Courier New", monospace;
  font-size: clamp(0.82rem, 1.2vw, 1rem);
  letter-spacing: 0.08em;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.copy-button {
  position: relative;
  min-width: 142px;
  min-height: 54px;
  padding: 0 22px;
  border: 1px solid var(--violet);
  background: rgba(157, 112, 255, 0.1);
  color: var(--cloud);
  font-size: 0.7rem;
  font-weight: 900;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  cursor: pointer;
}

.copy-button.is-copied {
  background: var(--violet);
  color: var(--void);
}

.copy-corner {
  position: absolute;
  top: -1px;
  right: -1px;
  width: 12px;
  height: 12px;
  border-top: 3px solid var(--bone);
  border-right: 3px solid var(--bone);
}

.about {
  display: grid;
  grid-template-columns: 72px minmax(330px, 0.92fr) minmax(420px, 1.08fr);
  gap: clamp(36px, 5vw, 92px);
  align-items: center;
  padding-block: clamp(130px, 14vw, 240px);
}

.section-index {
  align-self: stretch;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  color: rgba(232, 221, 255, 0.42);
  font: 800 0.62rem/1 var(--sans);
  letter-spacing: 0.18em;
  writing-mode: vertical-rl;
}

.section-index i {
  width: 1px;
  min-height: 90px;
  flex: 1;
  background: linear-gradient(var(--violet), transparent);
}

.about-visual {
  position: relative;
}

.living-frame {
  position: relative;
  aspect-ratio: 1;
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--meadow);
  box-shadow: 0 30px 100px rgba(19, 45, 255, 0.18);
}

.living-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.frame-code {
  position: absolute;
  z-index: 4;
  left: 18px;
  bottom: 16px;
  padding: 7px 10px;
  border: 1px solid rgba(232, 221, 255, 0.32);
  background: rgba(4, 9, 13, 0.7);
  color: rgba(239, 233, 255, 0.66);
  font: 700 0.56rem/1 monospace;
  letter-spacing: 0.16em;
}

.visual-caption {
  width: 85%;
  margin: 22px 0 0 auto;
  padding-left: 20px;
  border-left: 1px solid var(--violet);
  color: var(--muted);
  font-family: var(--serif);
  font-size: 0.95rem;
  font-style: italic;
}

.about-copy h2,
.section-heading h2,
.chart-copy h2,
.gallery-heading h2,
.final-content h2 {
  margin: 0;
  font-family: var(--serif);
  font-weight: 400;
  line-height: 0.88;
  letter-spacing: -0.055em;
}

.about-copy h2 {
  max-width: 900px;
  font-size: clamp(3.5rem, 6.5vw, 7.6rem);
}

.story-copy {
  max-width: 760px;
  margin-top: 48px;
  color: rgba(237, 230, 255, 0.72);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.02rem, 1.25vw, 1.25rem);
  line-height: 1.72;
}

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

.story-copy strong {
  color: var(--cloud);
}

.story-copy em {
  color: var(--violet);
}

.story-copy .short-lines {
  color: var(--bone);
  font-family: var(--sans);
  font-size: 0.86em;
  font-weight: 800;
  letter-spacing: 0.12em;
  line-height: 1.85;
  text-transform: uppercase;
}

.keep-alive {
  display: inline-block;
  margin: 24px 0 0;
  padding: 14px 18px;
  border: 1px solid var(--violet);
  color: var(--cloud);
  font-size: clamp(0.76rem, 1vw, 1rem);
  font-weight: 900;
  letter-spacing: 0.22em;
}

.signal-band {
  min-height: 130px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 30px;
  padding: 26px 4vw;
  border-block: 1px solid var(--line-soft);
  background: linear-gradient(90deg, rgba(9, 36, 24, 0.58), rgba(20, 47, 212, 0.13), rgba(9, 36, 24, 0.58));
}

.signal-copy,
.signal-links {
  display: flex;
  align-items: center;
}

.signal-copy {
  gap: 16px;
}

.signal-copy p {
  margin: 0;
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.22em;
}

.signal-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--violet);
  box-shadow: 0 0 18px var(--violet);
  animation: signal-pulse 2s ease-in-out infinite;
}

.signal-links {
  gap: clamp(24px, 3.5vw, 68px);
}

.signal-links a {
  color: var(--muted);
  transition: color 180ms ease;
}

.signal-links a:hover {
  color: var(--cloud);
}

[aria-disabled="true"] {
  cursor: default;
  opacity: 0.48;
}

.roadmap {
  width: 100%;
  max-width: none;
  padding: clamp(130px, 13vw, 220px) 4vw;
}

.section-heading {
  width: min(1700px, 100%);
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  margin: 0 auto clamp(70px, 8vw, 130px);
}

.section-heading .section-kicker {
  grid-column: 1 / -1;
}

.section-heading h2,
.gallery-heading h2 {
  font-size: clamp(5rem, 11vw, 13rem);
  text-shadow: 0 0 36px rgba(193, 177, 255, 0.28);
}

.section-heading > p:last-child {
  max-width: 360px;
  margin: 0 0 1.2vw;
  color: var(--muted);
  font-family: var(--serif);
  font-size: 1.05rem;
  font-style: italic;
}

.roadmap-list {
  position: relative;
  width: min(1700px, 100%);
  display: grid;
  gap: 34px;
  margin: auto;
}

.roadmap-list::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 20px;
  width: 1px;
  background: linear-gradient(transparent, var(--blue-bright) 10%, var(--violet) 90%, transparent);
  box-shadow: 0 0 20px rgba(49, 85, 255, 0.55);
}

.phase {
  position: relative;
  display: grid;
  grid-template-columns: 180px minmax(0, 1fr);
  gap: clamp(32px, 4vw, 72px);
  align-items: center;
  margin-left: 60px;
  padding: clamp(28px, 3.4vw, 58px);
  border: 1px solid var(--line-soft);
  background:
    linear-gradient(120deg, rgba(232, 221, 255, 0.05), transparent 45%),
    rgba(7, 15, 26, 0.64);
  backdrop-filter: blur(14px);
  box-shadow: 0 24px 90px rgba(0, 0, 0, 0.25);
}

.phase::after {
  content: "";
  position: absolute;
  inset: 12px;
  border: 1px solid rgba(232, 221, 255, 0.035);
  pointer-events: none;
}

.phase-node {
  position: absolute;
  left: -50px;
  top: 50%;
  width: 22px;
  height: 22px;
  display: grid;
  place-items: center;
  border: 1px solid var(--bone);
  border-radius: 50%;
  background: var(--void);
  transform: translate(-50%, -50%);
  box-shadow: 0 0 24px rgba(49, 85, 255, 0.9);
}

.phase-node span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--blue-bright);
}

.phase-name {
  position: relative;
  display: grid;
  justify-items: start;
  color: var(--cloud);
}

.phase-name span {
  margin-left: 4px;
  color: var(--violet);
  font-size: 0.64rem;
  font-weight: 900;
  letter-spacing: 0.28em;
}

.phase-name strong {
  font-family: var(--serif);
  font-size: clamp(4rem, 6vw, 7rem);
  font-weight: 400;
  line-height: 0.95;
  text-shadow:
    2px 2px 0 var(--blue),
    0 0 28px rgba(157, 112, 255, 0.42);
}

.milestones {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.milestone {
  position: relative;
  min-height: 132px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: flex-start;
  gap: 22px;
  padding: 23px;
  border: 1px solid var(--line-soft);
  background: rgba(230, 222, 255, 0.035);
  color: rgba(240, 235, 255, 0.78);
  font-size: clamp(0.86rem, 1.05vw, 1.05rem);
  font-weight: 700;
  letter-spacing: 0.025em;
  transition: border-color 180ms ease, background 180ms ease, transform 180ms ease;
}

.milestone:hover {
  border-color: rgba(157, 112, 255, 0.58);
  background: rgba(157, 112, 255, 0.08);
  transform: translateY(-4px);
}

.milestone i {
  width: 10px;
  height: 10px;
  border: 1px solid var(--violet);
  transform: rotate(45deg);
  box-shadow: 0 0 12px rgba(157, 112, 255, 0.72);
}

.chart-section {
  display: grid;
  grid-template-columns: minmax(320px, 0.78fr) minmax(520px, 1.22fr);
  gap: clamp(60px, 8vw, 150px);
  align-items: center;
  padding-block: clamp(130px, 14vw, 230px);
}

.chart-copy h2 {
  font-size: clamp(3.6rem, 6.8vw, 8.2rem);
}

.chart-copy > p:last-child {
  max-width: 570px;
  margin: 38px 0 0;
  color: var(--muted);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.05rem;
  line-height: 1.7;
}

.chart-copy code {
  color: var(--bone);
  font-family: "Courier New", monospace;
}

.chart-frame {
  position: relative;
  min-height: 560px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: #050d17;
  box-shadow: 0 30px 120px rgba(28, 56, 255, 0.15);
}

.chart-frame::before,
.chart-frame::after {
  content: "";
  position: absolute;
  pointer-events: none;
}

.chart-frame::before {
  inset: 0;
  background-image:
    linear-gradient(rgba(142, 153, 255, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(142, 153, 255, 0.08) 1px, transparent 1px);
  background-size: 64px 64px;
}

.chart-frame::after {
  inset: 18px;
  border: 1px solid rgba(232, 221, 255, 0.07);
}

.chart-grid {
  position: absolute;
  inset: 22% 8% 18%;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  opacity: 0.34;
}

.candle {
  position: relative;
  width: 11px;
  height: var(--h, 80px);
  background: var(--blue-bright);
  box-shadow: 0 0 17px rgba(49, 85, 255, 0.5);
}

.candle::before {
  content: "";
  position: absolute;
  left: 50%;
  top: -24px;
  bottom: -20px;
  width: 1px;
  background: currentColor;
}

.c1 { --h: 46px; }
.c2 { --h: 82px; }
.c3 { --h: 66px; }
.c4 { --h: 124px; }
.c5 { --h: 102px; }
.c6 { --h: 148px; }
.c7 { --h: 126px; }
.c8 { --h: 184px; }
.c9 { --h: 216px; }

.chart-empty {
  position: absolute;
  z-index: 3;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 40px;
  text-align: center;
}

.chart-empty span,
.chart-empty small {
  color: var(--muted);
  font-size: 0.61rem;
  font-weight: 900;
  letter-spacing: 0.24em;
}

.chart-empty strong {
  margin: 12px 0 16px;
  font-family: var(--serif);
  font-size: clamp(3rem, 5vw, 5.8rem);
  font-weight: 400;
  line-height: 0.9;
  letter-spacing: -0.04em;
  text-shadow: 0 0 28px rgba(157, 112, 255, 0.38);
}

.chart-frame iframe {
  position: absolute;
  z-index: 5;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  background: var(--void);
}

.chart-frame.has-chart .chart-grid,
.chart-frame.has-chart .chart-empty {
  display: none;
}

.gallery {
  padding-block: clamp(130px, 13vw, 220px);
  overflow: hidden;
}

.gallery-heading {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 50px;
  margin-bottom: clamp(58px, 7vw, 110px);
}

.gallery-heading > p {
  max-width: 360px;
  margin: 0 0 1.2vw;
  color: var(--muted);
  font-family: var(--serif);
  font-size: 1.05rem;
  font-style: italic;
}

.gallery-grid {
  width: min(1760px, calc(100% - 4vw));
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-inline: auto;
}

.gallery-card {
  position: relative;
  aspect-ratio: 1;
  overflow: hidden;
  padding: 0;
  border: 1px solid var(--line-soft);
  background: var(--void-soft);
  cursor: zoom-in;
}

.gallery-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(2, 5, 10, 0.75), transparent 33%);
  pointer-events: none;
}

.gallery-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.9) contrast(1.04);
  transition: transform 600ms cubic-bezier(0.2, 0.75, 0.15, 1), filter 300ms ease;
}

.gallery-card span {
  position: absolute;
  z-index: 2;
  left: 22px;
  bottom: 18px;
  color: rgba(245, 240, 255, 0.88);
  font-size: 0.62rem;
  font-weight: 900;
  letter-spacing: 0.2em;
}

.gallery-card:hover img {
  transform: scale(1.045);
  filter: saturate(1.08) contrast(1.05);
}

.gallery-card:nth-child(2),
.gallery-card:nth-child(5) {
  transform: translateY(34px);
}

.final-cta {
  position: relative;
  min-height: min(920px, 100svh);
  display: grid;
  place-items: center;
  overflow: hidden;
  isolation: isolate;
}

.final-cta > img,
.final-overlay {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.final-cta > img {
  z-index: -2;
  object-fit: cover;
}

.final-overlay {
  z-index: -1;
  background:
    linear-gradient(rgba(4, 9, 13, 0.42), rgba(4, 9, 13, 0.88)),
    radial-gradient(circle at center, rgba(40, 53, 255, 0.12), rgba(3, 7, 12, 0.74));
}

.final-content {
  width: min(1100px, calc(100% - 40px));
  display: grid;
  justify-items: center;
  text-align: center;
}

.final-content h2 {
  margin-bottom: 52px;
  font-size: clamp(4.8rem, 10.8vw, 12rem);
  text-shadow: 0 0 38px rgba(219, 204, 255, 0.48);
}

footer {
  min-height: 150px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 30px;
  padding: 30px 4vw;
  border-top: 1px solid var(--line-soft);
  background: #020609;
}

.footer-brand {
  justify-self: start;
  font-size: 1.45rem;
}

footer > p {
  margin: 0;
  color: rgba(232, 221, 255, 0.68);
  font-size: 0.6rem;
  font-weight: 800;
  letter-spacing: 0.18em;
}

.footer-links {
  justify-self: end;
  display: flex;
  align-items: center;
  gap: 20px;
}

.footer-links a {
  color: var(--muted);
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.lightbox {
  width: 100%;
  max-width: none;
  height: 100%;
  max-height: none;
  margin: 0;
  padding: 32px;
  border: 0;
  background: rgba(2, 6, 10, 0.94);
  color: var(--bone);
  backdrop-filter: blur(18px);
}

.lightbox[open] {
  display: grid;
  grid-template-columns: 90px minmax(0, 1fr) 90px;
  align-items: center;
}

.lightbox::backdrop {
  background: rgba(0, 0, 0, 0.72);
}

.lightbox figure {
  width: min(78vh, 78vw);
  margin: auto;
}

.lightbox figure img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: contain;
  border: 1px solid var(--line);
  box-shadow: 0 30px 120px rgba(21, 48, 255, 0.23);
}

.lightbox figcaption {
  margin-top: 16px;
  color: var(--muted);
  font-size: 0.62rem;
  font-weight: 900;
  letter-spacing: 0.22em;
  text-align: center;
}

.lightbox-close,
.lightbox-nav {
  border: 1px solid var(--line);
  background: rgba(232, 221, 255, 0.05);
  font-size: 0.66rem;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  cursor: pointer;
}

.lightbox-close {
  position: absolute;
  top: 28px;
  right: 28px;
  min-width: 90px;
  min-height: 46px;
}

.lightbox-nav {
  min-height: 62px;
}

.js .reveal {
  opacity: 0;
  transform: translateY(34px);
  transition: opacity 800ms ease, transform 800ms cubic-bezier(0.2, 0.75, 0.2, 1);
}

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

@keyframes signal-pulse {
  0%, 100% { opacity: 0.42; transform: scale(0.85); }
  50% { opacity: 1; transform: scale(1.1); }
}

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

  .desktop-nav {
    display: none;
  }

  .menu-toggle {
    display: grid;
  }

  .mobile-menu {
    display: grid;
  }

  .about {
    grid-template-columns: 46px minmax(280px, 0.9fr) minmax(380px, 1.1fr);
    gap: 34px;
  }

  .phase {
    grid-template-columns: 130px minmax(0, 1fr);
  }

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

  .milestone {
    min-height: 90px;
  }

  .chart-section {
    grid-template-columns: 1fr;
  }

  .chart-copy {
    max-width: 850px;
  }
}

@media (max-width: 820px) {
  :root {
    --shell: calc(100% - 36px);
  }

  html {
    scroll-padding-top: 72px;
  }

  body {
    font-size: 16px;
  }

  .topbar,
  .topbar.is-scrolled {
    height: 70px;
    padding: 0 18px;
  }

  .header-actions .icon-link,
  .header-buy {
    display: none;
  }

  .hero {
    min-height: auto;
    padding: 105px 18px 62px;
  }

  .hero-kicker {
    font-size: 0.52rem;
    letter-spacing: 0.14em;
  }

  .hero-kicker span:nth-child(2) {
    display: none;
  }

  .hero-banner {
    aspect-ratio: 3 / 1;
  }

  .hero-lower {
    align-items: stretch;
    flex-direction: column;
    padding-top: 26px;
  }

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

  .button {
    min-height: 56px;
    padding-inline: 18px;
    font-size: 0.66rem;
  }

  .hero-coordinate {
    display: none;
  }

  .contract-strip {
    padding: 18px;
  }

  .contract-inner {
    grid-template-columns: 1fr auto;
    gap: 10px 18px;
    padding: 16px;
  }

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

  .copy-button {
    min-width: 112px;
  }

  .about {
    grid-template-columns: 1fr;
    padding-block: 110px;
  }

  .section-index {
    display: none;
  }

  .about-visual {
    width: min(100%, 620px);
    margin: auto;
  }

  .about-copy h2 {
    margin-top: 3px;
    font-size: clamp(3.25rem, 13vw, 6rem);
  }

  .story-copy {
    margin-top: 38px;
  }

  .signal-band {
    align-items: flex-start;
    flex-direction: column;
    padding: 30px 18px;
  }

  .signal-links {
    width: 100%;
    justify-content: space-between;
    gap: 12px;
  }

  .roadmap {
    padding: 110px 18px;
  }

  .section-heading {
    display: block;
    margin-bottom: 64px;
  }

  .section-heading h2,
  .gallery-heading h2 {
    font-size: clamp(4.5rem, 20vw, 8rem);
  }

  .section-heading > p:last-child {
    margin-top: 26px;
  }

  .roadmap-list::before {
    left: 9px;
  }

  .phase {
    grid-template-columns: 1fr;
    gap: 26px;
    margin-left: 35px;
    padding: 28px 22px 22px;
  }

  .phase-node {
    left: -26px;
    top: 54px;
  }

  .phase-name strong {
    font-size: 5.4rem;
  }

  .milestone {
    min-height: 84px;
  }

  .chart-section {
    gap: 50px;
    padding-block: 110px;
  }

  .chart-copy h2 {
    font-size: clamp(3.3rem, 14vw, 6rem);
  }

  .chart-frame {
    min-height: 430px;
  }

  .gallery {
    padding-block: 110px;
  }

  .gallery-heading {
    display: block;
    margin-bottom: 54px;
  }

  .gallery-heading > p {
    margin-top: 24px;
  }

  .gallery-grid {
    width: 100%;
    display: flex;
    gap: 14px;
    padding: 0 18px 28px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: thin;
    scrollbar-color: var(--violet) transparent;
  }

  .gallery-card {
    width: 82vw;
    min-width: 82vw;
    scroll-snap-align: center;
  }

  .gallery-card:nth-child(2),
  .gallery-card:nth-child(5) {
    transform: none;
  }

  .final-cta {
    min-height: 760px;
  }

  .final-content h2 {
    font-size: clamp(4.2rem, 19vw, 7.8rem);
  }

  footer {
    grid-template-columns: 1fr auto;
    min-height: 180px;
    padding: 30px 18px;
  }

  footer > p {
    display: none;
  }

  .footer-links a[data-empty-link] {
    display: none;
  }

  .lightbox {
    padding: 18px;
  }

  .lightbox[open] {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 1fr auto;
    gap: 14px;
  }

  .lightbox figure {
    grid-column: 1 / -1;
    width: min(90vw, 72vh);
  }

  .lightbox-prev,
  .lightbox-next {
    grid-row: 2;
  }

  .lightbox-close {
    top: 16px;
    right: 16px;
    z-index: 3;
  }
}

@media (max-width: 520px) {
  .wordmark {
    font-size: 1.05rem;
  }

  .hero-kicker span:last-child {
    text-align: right;
  }

  .hero-banner {
    width: calc(100% + 36px);
    margin-left: -18px;
    border-inline: 0;
  }

  .hero-manifesto {
    font-size: 1.12rem;
  }

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

  .contract-inner {
    grid-template-columns: minmax(0, 1fr) auto;
  }

  .contract-inner code {
    font-size: 0.72rem;
  }

  .copy-button {
    min-width: 96px;
    padding-inline: 13px;
  }

  .about-copy h2 {
    font-size: clamp(3rem, 16vw, 4.8rem);
  }

  .signal-links {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
  }

  .phase {
    margin-left: 29px;
  }

  .phase-node {
    left: -20px;
  }

  .gallery-card {
    width: 86vw;
    min-width: 86vw;
  }

  .final-content h2 {
    font-size: clamp(3.6rem, 19vw, 6rem);
  }
}

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

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

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