:root {
  --void: #02050a;
  --ink: #050a11;
  --navy: #081523;
  --blue: #9dc8ea;
  --ice: #d9efff;
  --white: #f0f5f6;
  --muted: #8f9ba4;
  --gold: #d9b565;
  --gold-soft: #f2d89a;
  --line: rgba(222, 238, 248, 0.14);
  --shell: min(1280px, calc(100vw - 80px));
  --serif: "Iowan Old Style", "Baskerville", "Times New Roman", serif;
  --sans: "Avenir Next", "Avenir", "Helvetica Neue", Arial, sans-serif;
  --ease: cubic-bezier(0.2, 0.75, 0.25, 1);
}

* {
  box-sizing: border-box;
}

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

body {
  margin: 0;
  min-width: 320px;
  overflow-x: hidden;
  color: var(--white);
  background: var(--void);
  font-family: var(--sans);
  font-size: 15px;
  line-height: 1.75;
  letter-spacing: 0.015em;
}

body.menu-open {
  overflow: hidden;
}

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

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

button {
  color: inherit;
  font: inherit;
}

::selection {
  color: #0d1013;
  background: var(--gold-soft);
}

.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;
}

.skip-link {
  position: fixed;
  z-index: 1000;
  top: 10px;
  left: 10px;
  padding: 9px 14px;
  color: var(--void);
  background: var(--gold-soft);
  transform: translateY(-150%);
  transition: transform 180ms ease;
}

.skip-link:focus {
  transform: translateY(0);
}

.space-field {
  position: fixed;
  z-index: 0;
  inset: 0;
  pointer-events: none;
}

#star-canvas {
  width: 100%;
  height: 100%;
  opacity: 0.5;
}

.cosmic-noise {
  position: absolute;
  inset: 0;
  opacity: 0.22;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 160 160' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.75' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.15'/%3E%3C/svg%3E");
  mix-blend-mode: screen;
}

.ambient-glow {
  position: absolute;
  width: 38vw;
  height: 38vw;
  border-radius: 50%;
  filter: blur(130px);
  opacity: 0.06;
}

.ambient-glow--one {
  top: 30%;
  right: -12%;
  background: #338ac5;
}

.ambient-glow--two {
  top: 74%;
  left: -16%;
  background: #d6a849;
}

main,
.site-footer {
  position: relative;
  z-index: 1;
}

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

.section {
  padding-block: clamp(100px, 13vw, 190px);
}

.site-header {
  position: fixed;
  z-index: 100;
  top: 0;
  left: 0;
  display: flex;
  width: 100%;
  height: 92px;
  align-items: center;
  justify-content: space-between;
  padding-inline: 4vw;
  border-bottom: 1px solid transparent;
  transition: height 400ms var(--ease), background 400ms ease, border-color 400ms ease,
    backdrop-filter 400ms ease;
}

.site-header.is-scrolled {
  height: 72px;
  border-color: var(--line);
  background: rgba(2, 5, 10, 0.76);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
}

.brand-orbit {
  position: relative;
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  border: 1px solid rgba(217, 181, 101, 0.5);
  border-radius: 50%;
}

.brand-orbit::before,
.brand-orbit::after {
  position: absolute;
  width: 26px;
  height: 9px;
  content: "";
  border: 1px solid rgba(154, 202, 233, 0.6);
  border-radius: 50%;
  transform: rotate(-35deg);
}

.brand-orbit::after {
  transform: rotate(35deg);
}

.brand-orbit i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--ice);
  box-shadow: 0 0 12px 3px rgba(174, 220, 255, 0.72);
}

.brand-copy {
  display: grid;
  line-height: 1.2;
}

.brand-copy b {
  font-family: var(--serif);
  font-size: 16px;
  font-weight: 500;
  letter-spacing: 0.05em;
}

.brand-copy small {
  margin-top: 4px;
  color: var(--muted);
  font-size: 8px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: clamp(20px, 2.6vw, 44px);
}

.site-nav a {
  position: relative;
  color: #c1c9cd;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  transition: color 200ms ease;
}

.site-nav a:not(.nav-buy)::after {
  position: absolute;
  right: 0;
  bottom: -8px;
  left: 0;
  height: 1px;
  content: "";
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 250ms var(--ease);
}

.site-nav a:hover,
.site-nav a:focus-visible {
  color: var(--white);
}

.site-nav a:not(.nav-buy):hover::after,
.site-nav a:not(.nav-buy):focus-visible::after {
  transform: scaleX(1);
  transform-origin: left;
}

.nav-buy {
  padding: 10px 18px;
  color: var(--gold-soft) !important;
  border: 1px solid rgba(217, 181, 101, 0.5);
  border-radius: 100px;
}

.nav-buy span {
  margin-left: 7px;
}

.menu-toggle {
  display: none;
}

.hero {
  position: relative;
  display: grid;
  min-height: 100svh;
  place-items: center;
  overflow: hidden;
}

.hero-media,
.hero-media img,
.hero-veil {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-media img {
  object-fit: cover;
  object-position: 52% center;
  transform: scale(1.03);
  animation: hero-breathe 14s ease-in-out infinite alternate;
}

.hero-veil {
  background:
    linear-gradient(90deg, rgba(1, 4, 8, 0.94) 0%, rgba(1, 4, 8, 0.68) 33%, transparent 68%),
    linear-gradient(0deg, rgba(1, 4, 8, 0.8) 0%, transparent 33%),
    linear-gradient(180deg, rgba(1, 4, 8, 0.42), transparent 27%);
}

.hero-content {
  position: relative;
  z-index: 2;
  display: flex;
  min-height: 100svh;
  align-items: center;
  justify-content: space-between;
  padding-block: 145px 100px;
}

.hero-copy {
  width: min(650px, 56vw);
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 26px;
  color: var(--gold-soft);
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.3em;
  text-transform: uppercase;
}

.eyebrow > span {
  width: 30px;
  height: 1px;
  background: var(--gold);
  box-shadow: 0 0 8px rgba(217, 181, 101, 0.8);
}

h1,
h2 {
  margin: 0;
  font-family: var(--serif);
  font-weight: 400;
  letter-spacing: -0.035em;
  line-height: 0.98;
}

h1 {
  max-width: 700px;
  font-size: clamp(54px, 7.2vw, 108px);
}

h1 em {
  color: var(--gold-soft);
  font-weight: 400;
}

h2 {
  font-size: clamp(40px, 5vw, 72px);
  line-height: 1.04;
}

.hero-intro {
  max-width: 540px;
  margin: 32px 0 0;
  color: #b7c1c6;
  font-family: var(--serif);
  font-size: clamp(16px, 1.5vw, 20px);
  line-height: 1.55;
}

.hero-actions,
.token-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-top: 38px;
}

.button {
  display: inline-flex;
  min-height: 52px;
  align-items: center;
  justify-content: center;
  gap: 22px;
  padding: 0 24px;
  border: 1px solid transparent;
  border-radius: 100px;
  cursor: pointer;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  transition: transform 250ms var(--ease), color 250ms ease, border-color 250ms ease,
    background 250ms ease, box-shadow 250ms ease;
}

.button i {
  font-style: normal;
  transition: transform 250ms var(--ease);
}

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

.button:hover i,
.button:focus-visible i {
  transform: translate(2px, -2px);
}

.button--gold {
  color: #11100d;
  background: linear-gradient(115deg, #cda959, #f2d796 48%, #b68c39);
  box-shadow: 0 10px 34px rgba(197, 154, 67, 0.14);
}

.button--gold:hover,
.button--gold:focus-visible {
  box-shadow: 0 13px 42px rgba(216, 180, 101, 0.28);
}

.button--ghost {
  color: #d8e0e4;
  border-color: rgba(223, 238, 247, 0.25);
  background: rgba(7, 14, 22, 0.35);
  backdrop-filter: blur(8px);
}

.button--ghost:hover,
.button--ghost:focus-visible {
  border-color: rgba(223, 238, 247, 0.5);
  background: rgba(22, 34, 45, 0.55);
}

.hero-coordinate {
  position: absolute;
  right: 0;
  bottom: 8vh;
  display: grid;
  min-width: 190px;
  gap: 3px;
  padding: 18px 0 18px 22px;
  border-left: 1px solid rgba(217, 181, 101, 0.5);
}

.hero-coordinate span,
.hero-coordinate small {
  color: #8d989e;
  font-size: 8px;
  letter-spacing: 0.21em;
  text-transform: uppercase;
}

.hero-coordinate strong {
  font-family: var(--serif);
  font-size: 20px;
  font-weight: 400;
  letter-spacing: 0.05em;
}

.hero-scroll {
  position: absolute;
  z-index: 3;
  bottom: 0;
  left: 4vw;
  display: flex;
  align-items: center;
  gap: 14px;
  color: #829099;
  font-size: 8px;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  transform: rotate(-90deg) translateX(100%);
  transform-origin: left bottom;
}

.hero-scroll i {
  display: block;
  width: 55px;
  height: 1px;
  overflow: hidden;
  background: rgba(221, 236, 246, 0.24);
}

.hero-scroll i::after {
  display: block;
  width: 24px;
  height: 1px;
  content: "";
  background: var(--gold);
  animation: scroll-line 2.5s ease-in-out infinite;
}

.signal-bar {
  position: relative;
  z-index: 2;
  overflow: hidden;
  padding: 17px 0;
  border-block: 1px solid var(--line);
  background: rgba(3, 8, 14, 0.8);
}

.signal-marquee {
  display: flex;
  width: max-content;
  align-items: center;
  animation: marquee 32s linear infinite;
}

.signal-marquee span {
  padding-inline: 34px;
  color: #8f9ca3;
  font-size: 8px;
  letter-spacing: 0.3em;
}

.signal-marquee i {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 8px rgba(217, 181, 101, 0.75);
}

.story {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(340px, 0.75fr);
  align-items: center;
  gap: clamp(60px, 8vw, 130px);
}

.framed-visual {
  position: relative;
}

.framed-visual::before {
  position: absolute;
  z-index: 2;
  inset: 12px;
  content: "";
  border: 1px solid rgba(236, 244, 247, 0.16);
  pointer-events: none;
}

.story-visual {
  min-height: 660px;
}

.story-visual img {
  width: 100%;
  height: 100%;
  min-height: 660px;
  object-fit: cover;
}

.image-index {
  position: absolute;
  z-index: 4;
  bottom: -20px;
  left: 28px;
  display: flex;
  align-items: center;
  gap: 12px;
  color: #8e999f;
  font-size: 8px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.image-index span {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  color: var(--gold-soft);
  border: 1px solid rgba(217, 181, 101, 0.36);
  border-radius: 50%;
  background: var(--void);
}

.orbit-mark {
  position: absolute;
  z-index: 3;
  top: -46px;
  right: -46px;
  width: 94px;
  height: 94px;
  border: 1px solid rgba(217, 181, 101, 0.4);
  border-radius: 50%;
  animation: rotate 16s linear infinite;
}

.orbit-mark::before,
.orbit-mark::after {
  position: absolute;
  inset: 10px -8px;
  content: "";
  border: 1px solid rgba(157, 200, 234, 0.28);
  border-radius: 50%;
  transform: rotate(50deg);
}

.orbit-mark::after {
  inset: -8px 10px;
  transform: rotate(-50deg);
}

.orbit-mark i {
  position: absolute;
  top: 12px;
  right: 3px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--ice);
  box-shadow: 0 0 12px var(--blue);
}

.story-copy .lead {
  margin: 30px 0 18px;
  color: #d0d9dd;
  font-family: var(--serif);
  font-size: 20px;
  line-height: 1.5;
}

.story-copy > p:not(.eyebrow):not(.lead),
.star-profile-copy > p,
.token-panel > p,
.constellation-copy > p {
  color: #929ea5;
}

.story-copy > p:not(.eyebrow) {
  max-width: 500px;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  margin-top: 20px;
  color: var(--gold-soft);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.text-link span {
  transition: transform 250ms var(--ease);
}

.text-link:hover span {
  transform: translateY(4px);
}

.star-profile {
  position: relative;
  overflow: hidden;
  border-block: 1px solid var(--line);
  background:
    radial-gradient(circle at 75% 40%, rgba(45, 109, 148, 0.12), transparent 38%),
    rgba(2, 7, 12, 0.72);
}

.star-profile::before {
  position: absolute;
  top: 25%;
  left: 45%;
  width: 1px;
  height: 1px;
  content: "";
  border-radius: 50%;
  background: var(--ice);
  box-shadow: 0 0 80px 35px rgba(120, 195, 240, 0.22), 0 0 240px 80px rgba(64, 127, 168, 0.08);
}

.star-profile-grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(340px, 0.78fr) minmax(480px, 1.22fr);
  align-items: center;
  gap: clamp(50px, 10vw, 150px);
}

.star-profile-copy > p {
  max-width: 540px;
  margin-top: 28px;
}

.star-facts {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0;
  margin: 48px 0 0;
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.star-facts div {
  display: grid;
  gap: 7px;
  padding: 22px 18px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.star-facts dt {
  color: #737f86;
  font-size: 8px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.star-facts dd {
  margin: 0;
  font-family: var(--serif);
  font-size: 18px;
}

.map-card {
  position: relative;
  margin: 0;
  padding: 18px;
  border: 1px solid var(--line);
  background: rgba(7, 12, 19, 0.7);
  box-shadow: 0 50px 100px rgba(0, 0, 0, 0.45);
  transform: rotate(2deg);
}

.map-card::before {
  position: absolute;
  z-index: 2;
  inset: -20px;
  content: "";
  border: 1px solid rgba(217, 181, 101, 0.1);
  pointer-events: none;
}

.map-card img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  filter: saturate(0.75) contrast(1.08);
}

.map-card figcaption {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 3px 0;
  font-family: var(--serif);
  font-size: 16px;
}

.map-card figcaption small {
  color: #7f8a90;
  font-family: var(--sans);
  font-size: 8px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.token {
  display: grid;
  grid-template-columns: minmax(420px, 0.95fr) minmax(360px, 0.75fr);
  align-items: center;
  gap: clamp(65px, 10vw, 160px);
}

.token-visual img {
  width: 100%;
  max-height: 840px;
  object-fit: cover;
}

.token-panel {
  position: relative;
}

.token-emblem {
  position: absolute;
  top: -95px;
  right: 0;
  width: 108px;
  height: 108px;
}

.token-emblem img {
  width: 100%;
  height: 100%;
  border: 1px solid rgba(217, 181, 101, 0.4);
  border-radius: 50%;
  object-fit: cover;
}

.token-emblem-ring {
  position: absolute;
  inset: -9px;
  border: 1px dashed rgba(157, 200, 234, 0.35);
  border-radius: 50%;
  animation: rotate 18s linear infinite;
}

.token-name {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin: 32px 0 24px;
  padding-block: 18px;
  border-block: 1px solid var(--line);
}

.token-name span,
.contract-card > span {
  color: #7c888e;
  font-size: 8px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.token-name strong {
  color: var(--gold-soft);
  font-family: var(--serif);
  font-size: 28px;
  font-weight: 400;
}

.contract-card {
  margin-top: 34px;
  padding: 17px;
  border: 1px solid var(--line);
  background: rgba(12, 20, 28, 0.48);
}

.copy-button {
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  margin-top: 7px;
  padding: 0;
  border: 0;
  cursor: pointer;
  background: transparent;
}

.copy-button code {
  overflow: hidden;
  color: #cdd5d9;
  font-family: var(--sans);
  font-size: 11px;
  text-overflow: ellipsis;
}

.copy-label {
  flex: 0 0 auto;
  color: var(--gold-soft);
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.round-link {
  display: grid;
  width: 52px;
  height: 52px;
  place-items: center;
  border: 1px solid rgba(217, 181, 101, 0.38);
  border-radius: 50%;
  transition: background 250ms ease, transform 250ms var(--ease);
}

.round-link:hover,
.round-link:focus-visible {
  background: rgba(217, 181, 101, 0.12);
  transform: translateY(-2px) rotate(6deg);
}

.constellation {
  position: relative;
  display: grid;
  min-height: min(860px, 88svh);
  align-items: center;
  overflow: hidden;
}

.constellation-media,
.constellation-media img,
.constellation-veil {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.constellation-media img {
  object-fit: cover;
}

.constellation-veil {
  background:
    linear-gradient(90deg, rgba(1, 4, 7, 0.9) 0%, rgba(2, 5, 9, 0.55) 40%, transparent 70%),
    linear-gradient(0deg, rgba(1, 4, 7, 0.88), transparent 32%, rgba(1, 4, 7, 0.35));
}

.constellation-content {
  position: relative;
  z-index: 2;
}

.constellation-copy {
  width: min(570px, 48vw);
}

.constellation-copy > p:last-child {
  max-width: 480px;
  margin-top: 28px;
}

.signal-note {
  position: absolute;
  right: 0;
  bottom: -220px;
  width: 260px;
  padding: 20px 22px;
  border-left: 1px solid rgba(217, 181, 101, 0.5);
  background: rgba(3, 8, 14, 0.45);
  backdrop-filter: blur(12px);
}

.signal-note span {
  color: var(--gold-soft);
  font-size: 8px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.signal-note p {
  margin: 8px 0 0;
  font-family: var(--serif);
  font-size: 16px;
  line-height: 1.5;
}

.gateway {
  padding-bottom: clamp(110px, 12vw, 180px);
}

.gateway-card {
  position: relative;
  min-height: 690px;
  overflow: hidden;
  border: 1px solid var(--line);
}

.gateway-card::before {
  position: absolute;
  z-index: 3;
  inset: 14px;
  content: "";
  border: 1px solid rgba(241, 232, 205, 0.13);
  pointer-events: none;
}

.gateway-card img,
.gateway-overlay {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.gateway-card img {
  object-fit: cover;
}

.gateway-overlay {
  background: linear-gradient(0deg, rgba(1, 4, 8, 0.9), rgba(1, 4, 8, 0.08) 70%);
}

.gateway-copy {
  position: absolute;
  z-index: 4;
  right: 7%;
  bottom: 7%;
  left: 7%;
  text-align: center;
}

.gateway-copy .eyebrow {
  justify-content: center;
}

.gateway-copy p:not(.eyebrow) {
  margin: 20px 0 0;
  color: #b1bbc0;
  font-family: var(--serif);
  font-size: 18px;
}

.gateway-copy .hero-actions {
  justify-content: center;
  margin-top: 28px;
}

.site-footer {
  border-top: 1px solid var(--line);
  background: rgba(1, 4, 8, 0.86);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  align-items: center;
  gap: 30px;
  padding-block: 62px;
}

.footer-grid > p {
  margin: 0;
  color: #8b969c;
  font-family: var(--serif);
  text-align: center;
}

.footer-links {
  display: flex;
  justify-content: flex-end;
  gap: 26px;
}

.footer-links a {
  color: #a7b1b6;
  font-size: 8px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-block: 18px;
  color: #59656c;
  border-top: 1px solid rgba(222, 238, 248, 0.08);
  font-size: 8px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.toast {
  position: fixed;
  z-index: 300;
  right: 24px;
  bottom: 24px;
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 13px 18px;
  color: #dbe4e8;
  border: 1px solid rgba(217, 181, 101, 0.34);
  border-radius: 100px;
  background: rgba(3, 8, 14, 0.9);
  box-shadow: 0 15px 50px rgba(0, 0, 0, 0.5);
  font-size: 10px;
  letter-spacing: 0.06em;
  opacity: 0;
  pointer-events: none;
  transform: translateY(20px);
  transition: opacity 300ms ease, transform 300ms var(--ease);
  backdrop-filter: blur(14px);
}

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

.toast-star {
  color: var(--gold-soft);
}

[data-reveal] {
  opacity: 0;
  transform: translateY(35px);
  transition: opacity 900ms var(--ease), transform 900ms var(--ease);
}

[data-reveal][data-delay="1"] {
  transition-delay: 120ms;
}

[data-reveal][data-delay="2"] {
  transition-delay: 240ms;
}

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

@keyframes hero-breathe {
  from { transform: scale(1.03); }
  to { transform: scale(1.08); }
}

@keyframes marquee {
  to { transform: translateX(-50%); }
}

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

@keyframes rotate {
  to { transform: rotate(360deg); }
}

@media (max-width: 1024px) {
  :root {
    --shell: min(100% - 48px, 940px);
  }

  .site-header {
    padding-inline: 24px;
  }

  .story,
  .token {
    gap: 52px;
  }

  .story {
    grid-template-columns: minmax(0, 1.1fr) minmax(300px, 0.9fr);
  }

  .story-visual,
  .story-visual img {
    min-height: 540px;
  }

  .star-profile-grid {
    grid-template-columns: minmax(300px, 0.9fr) minmax(380px, 1.1fr);
    gap: 60px;
  }

  .orbit-mark {
    right: -18px;
  }
}

@media (max-width: 780px) {
  :root {
    --shell: calc(100vw - 40px);
  }

  body {
    font-size: 14px;
  }

  .section {
    padding-block: 94px;
  }

  .site-header {
    height: 72px;
    padding-inline: 20px;
  }

  .menu-toggle {
    position: relative;
    z-index: 102;
    display: grid;
    width: 42px;
    height: 42px;
    place-content: center;
    gap: 7px;
    padding: 0;
    border: 1px solid var(--line);
    border-radius: 50%;
    background: rgba(3, 8, 14, 0.45);
  }

  .menu-toggle > span:not(.sr-only) {
    display: block;
    width: 16px;
    height: 1px;
    background: #dfe8ec;
    transition: transform 250ms var(--ease);
  }

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

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

  .site-nav {
    position: fixed;
    z-index: 101;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 24px;
    padding: 90px 11vw;
    visibility: hidden;
    background:
      radial-gradient(circle at 70% 30%, rgba(59, 116, 150, 0.14), transparent 32%),
      rgba(2, 6, 11, 0.98);
    opacity: 0;
    transform: translateY(-12px);
    transition: visibility 300ms, opacity 300ms ease, transform 300ms var(--ease);
  }

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

  .site-nav a {
    font-family: var(--serif);
    font-size: clamp(30px, 9vw, 48px);
    font-weight: 400;
    letter-spacing: -0.02em;
    text-transform: none;
  }

  .site-nav .nav-buy {
    margin-top: 16px;
    padding: 13px 24px;
    font-family: var(--sans);
    font-size: 9px;
    letter-spacing: 0.18em;
    text-transform: uppercase;
  }

  .hero {
    min-height: 840px;
  }

  .hero-media img {
    object-position: 64% center;
  }

  .hero-veil {
    background:
      linear-gradient(90deg, rgba(1, 4, 8, 0.88), rgba(1, 4, 8, 0.1) 88%),
      linear-gradient(0deg, rgba(1, 4, 8, 0.94), transparent 60%);
  }

  .hero-content {
    min-height: 840px;
    align-items: flex-end;
    padding: 120px 0 100px;
  }

  .hero-copy {
    width: 100%;
  }

  h1 {
    font-size: clamp(52px, 15vw, 80px);
  }

  h2 {
    font-size: clamp(39px, 11vw, 58px);
  }

  .hero-intro {
    max-width: 90%;
  }

  .hero-coordinate,
  .hero-scroll {
    display: none;
  }

  .story,
  .star-profile-grid,
  .token {
    grid-template-columns: 1fr;
  }

  .story {
    gap: 75px;
  }

  .story-visual,
  .story-visual img {
    min-height: 66vw;
  }

  .story-copy {
    max-width: 600px;
  }

  .orbit-mark {
    top: -28px;
    right: -3px;
    width: 68px;
    height: 68px;
  }

  .star-profile-grid {
    gap: 70px;
  }

  .map-card {
    width: 92%;
    margin-inline: auto;
  }

  .token {
    gap: 85px;
  }

  .token-visual {
    width: 85%;
  }

  .token-visual img {
    max-height: 760px;
  }

  .token-emblem {
    top: -60px;
    width: 82px;
    height: 82px;
  }

  .constellation {
    min-height: 760px;
  }

  .constellation-media img {
    object-position: 58% center;
  }

  .constellation-veil {
    background:
      linear-gradient(90deg, rgba(1, 4, 7, 0.68), transparent 90%),
      linear-gradient(0deg, rgba(1, 4, 7, 0.95), rgba(1, 4, 7, 0.18) 74%);
  }

  .constellation-content {
    align-self: end;
    padding-bottom: 55px;
  }

  .constellation-copy {
    width: 100%;
  }

  .signal-note {
    position: static;
    width: min(300px, 90%);
    margin-top: 36px;
  }

  .gateway-card {
    min-height: 680px;
  }

  .gateway-card img {
    object-position: center;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    justify-items: start;
  }

  .footer-grid > p {
    text-align: left;
  }

  .footer-links {
    justify-content: flex-start;
  }
}

@media (max-width: 520px) {
  :root {
    --shell: calc(100vw - 32px);
  }

  .brand-copy small {
    display: none;
  }

  .brand-copy b {
    font-size: 15px;
  }

  .hero {
    min-height: 780px;
  }

  .hero-content {
    min-height: 780px;
    padding-bottom: 72px;
  }

  .hero-media img {
    object-position: 66% center;
  }

  .hero-actions,
  .token-actions {
    align-items: stretch;
  }

  .hero-actions .button,
  .token-actions .button {
    flex: 1 1 auto;
  }

  .story-visual,
  .story-visual img {
    min-height: 88vw;
  }

  .story-visual img {
    object-position: 43% center;
  }

  .star-facts {
    grid-template-columns: 1fr;
  }

  .map-card figcaption {
    align-items: flex-start;
    flex-direction: column;
    gap: 4px;
  }

  .token-visual {
    width: 92%;
  }

  .token-emblem {
    display: none;
  }

  .token-name strong {
    font-size: 24px;
  }

  .gateway-card {
    min-height: 620px;
  }

  .gateway-card img {
    object-position: 50% center;
  }

  .gateway-copy {
    bottom: 6%;
  }

  .gateway-copy .hero-actions {
    flex-direction: column;
  }

  .footer-bottom {
    align-items: flex-start;
    flex-direction: column;
    gap: 5px;
  }

  .toast {
    right: 16px;
    bottom: 16px;
    left: 16px;
    justify-content: center;
  }
}

@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;
  }

  [data-reveal] {
    opacity: 1;
    transform: none;
  }
}
