/* =========================================================
   eaccat — the cat accelerates
   Astral / ethereal: deep indigo sky, violet nebula,
   mint Hyperliquid moons, electric-blue cat trail.
   ========================================================= */

/* Brand fonts (PP Editorial New / PP Neue Montreal) are opt-in:
   see css/brand-fonts.css. Until they're added, the free Google
   fallbacks (Instrument Serif / Inter Tight) render. */

:root {
  /* sky (sampled from the art: e60) */
  --bg: #04061d;
  --bg-2: #0a0b30;
  --indigo: #160f6f;
  --nebula: #9568c1;
  --nebula-2: #2b2577;

  /* cat */
  --electric: #3754fd;
  --electric-2: #6a84ff;
  --violet: #6107fd;
  --cyan: #00befc;
  --eye: #6ad9db;

  /* moons / hyperliquid */
  --mint: #97fce4;
  --mint-soft: #c8f6ec;
  --mint-deep: #50d2c1;

  /* text */
  --text: #ece7fb;
  --text-2: #b8b6dc;
  --muted: #7d7fb0;
  --line: rgba(190, 196, 255, 0.13);
  --glass: rgba(22, 15, 111, 0.22);

  --serif: "PP Editorial New", "Instrument Serif", "Times New Roman", serif;
  --sans: "PP Neue Montreal", "Inter Tight", "Helvetica Neue", Arial, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, Menlo, monospace;

  --wrap: 1200px;
  --gutter: clamp(16px, 4vw, 48px);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  color-scheme: dark;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

a {
  color: inherit;
}

em {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  letter-spacing: 0;
}

::selection {
  background: var(--electric);
  color: #fff;
}

:focus-visible {
  outline: 2px solid var(--mint);
  outline-offset: 3px;
  border-radius: 6px;
}

.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

/* ---------------------------------------------------------
   Atmosphere: sky, stars, grain, vignette, cursor trail
   --------------------------------------------------------- */
.sky {
  position: fixed;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(120% 80% at 50% 0%, var(--bg-2) 0%, var(--bg) 60%),
    var(--bg);
}

.sky__nebula {
  position: absolute;
  inset: -20%;
  background:
    radial-gradient(40% 16% at 60% 45%, rgba(149, 104, 193, 0.30), transparent 70%),
    radial-gradient(30% 13% at 38% 58%, rgba(22, 15, 111, 0.55), transparent 70%),
    radial-gradient(25% 11% at 75% 32%, rgba(55, 84, 253, 0.16), transparent 70%),
    radial-gradient(50% 30% at 20% 85%, rgba(43, 37, 119, 0.35), transparent 70%);
  transform: rotate(-24deg);
  filter: blur(20px);
  animation: nebula-drift 60s ease-in-out infinite alternate;
}

@keyframes nebula-drift {
  from { transform: rotate(-24deg) translate3d(-2%, 0, 0) scale(1); }
  to   { transform: rotate(-20deg) translate3d(2%, -2%, 0) scale(1.06); }
}

.sky__stars {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.trail {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 60;
  pointer-events: none;
  mix-blend-mode: screen;
}

.grain {
  position: fixed;
  inset: -50%;
  z-index: 70;
  pointer-events: none;
  opacity: 0.09;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1  0 0 0 0 1  0 0 0 0 1  0 0 0 1.2 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  animation: grain 0.9s steps(6) infinite;
}

@keyframes grain {
  0%   { transform: translate(0, 0); }
  20%  { transform: translate(-3%, 2%); }
  40%  { transform: translate(2%, -3%); }
  60%  { transform: translate(-2%, -1%); }
  80%  { transform: translate(3%, 3%); }
  100% { transform: translate(0, 0); }
}

/* scroll companion (created by main.js) */
.walker {
  position: fixed;
  left: 0;
  /* paws sit on the bottom edge of the frames, so this is the 'floor' */
  bottom: calc(3px + env(safe-area-inset-bottom, 0px));
  z-index: 66;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.6s;
}

.walker.is-shown {
  opacity: 1;
}

.vignette {
  position: fixed;
  inset: 0;
  z-index: 65;
  pointer-events: none;
  background: radial-gradient(120% 100% at 50% 50%, transparent 55%, rgba(2, 3, 12, 0.65) 100%);
}

/* ---------------------------------------------------------
   Moons (Hyperliquid blob)
   --------------------------------------------------------- */
.moon {
  position: absolute;
  overflow: visible;
  filter: drop-shadow(0 0 24px rgba(151, 252, 228, 0.45)) drop-shadow(0 0 70px rgba(120, 220, 210, 0.25));
  animation: float 14s ease-in-out infinite;
  will-change: transform;
}

.moon--soft {
  filter: blur(6px) drop-shadow(0 0 30px rgba(151, 252, 228, 0.4));
}

@keyframes float {
  0%, 100% { transform: translate3d(0, 0, 0) rotate(var(--r, 0deg)); }
  50%      { transform: translate3d(0, -18px, 0) rotate(calc(var(--r, 0deg) + 4deg)); }
}

/* ---------------------------------------------------------
   Nav
   --------------------------------------------------------- */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px var(--gutter);
  transition: background 0.4s var(--ease-out), backdrop-filter 0.4s, padding 0.4s var(--ease-out), border-color 0.4s;
  border-bottom: 1px solid transparent;
}

.nav.is-scrolled {
  background: rgba(5, 7, 26, 0.6);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  backdrop-filter: blur(14px) saturate(140%);
  border-bottom-color: var(--line);
  padding-top: 12px;
  padding-bottom: 12px;
}

.nav__brand {
  font-family: var(--serif);
  font-style: italic;
  font-size: 26px;
  line-height: 1;
  text-decoration: none;
  letter-spacing: -0.01em;
}

.nav__links {
  display: flex;
  gap: 28px;
  font-size: 14px;
  letter-spacing: 0.02em;
}

.nav__links a {
  color: var(--text-2);
  text-decoration: none;
  position: relative;
  transition: color 0.2s;
}

.nav__links a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -4px;
  height: 1px;
  background: linear-gradient(90deg, var(--electric), var(--mint));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s var(--ease-out);
}

.nav__links a:hover {
  color: var(--text);
}

.nav__links a:hover::after {
  transform: scaleX(1);
}

.nav__cta {
  display: flex;
  align-items: center;
  gap: 10px;
}

.icon-btn {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.03);
  transition: border-color 0.2s, background 0.2s;
}

.icon-btn svg {
  width: 16px;
  height: 16px;
  fill: var(--text);
}

.icon-btn:hover {
  border-color: rgba(151, 252, 228, 0.5);
  background: rgba(151, 252, 228, 0.08);
}

@media (max-width: 860px) {
  .nav__links {
    display: none;
  }
}

/* ---------------------------------------------------------
   Buttons
   --------------------------------------------------------- */
.btn {
  --h: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: var(--h);
  padding: 0 26px;
  border-radius: 999px;
  font-family: var(--sans);
  font-weight: 600;
  font-size: 15px;
  letter-spacing: 0.01em;
  text-decoration: none;
  white-space: nowrap;
  transition: transform 0.25s var(--ease-out), box-shadow 0.3s, background 0.3s, border-color 0.3s;
}

.btn--sm {
  --h: 40px;
  padding: 0 18px;
  font-size: 14px;
}

.btn--mint {
  color: #04211c;
  background: linear-gradient(180deg, #c9fff1 0%, var(--mint) 55%, #6fe0c8 100%);
  box-shadow: 0 0 0 1px rgba(151, 252, 228, 0.6) inset, 0 8px 30px -8px rgba(151, 252, 228, 0.6);
}

.btn--mint:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 0 1px rgba(151, 252, 228, 0.8) inset, 0 14px 40px -8px rgba(151, 252, 228, 0.8);
}

.btn--ghost {
  color: var(--text);
  border: 1px solid rgba(236, 234, 246, 0.25);
  background: rgba(10, 13, 43, 0.35);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}

.btn--ghost:hover {
  transform: translateY(-2px);
  border-color: rgba(236, 234, 246, 0.6);
  background: rgba(63, 107, 255, 0.15);
}

/* ---------------------------------------------------------
   Hero
   --------------------------------------------------------- */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: grid;
  place-items: center;
  padding: 120px var(--gutter) 120px;
  overflow: hidden;
  isolation: isolate;
}

.hero__media {
  position: absolute;
  inset: 0;
  z-index: -1;
  background: var(--bg) url("../assets/video/hero-00-poster.webp") center / cover no-repeat;
}

.hero__video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.04);
  opacity: 0;
  transition: opacity 1.2s ease;
}

.hero__video.is-playing {
  opacity: 1;
}

/* the video brightens at a couple of beats; a steady scrim keeps the wordmark legible */
.hero__shade {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(55% 45% at 50% 50%, rgba(4, 6, 29, 0.55) 0%, rgba(4, 6, 29, 0) 75%),
    linear-gradient(180deg, rgba(4, 6, 29, 0.6) 0%, rgba(4, 6, 29, 0.25) 22%, rgba(4, 6, 29, 0.3) 60%, var(--bg) 100%);
}

/* sound toggle */
.sound {
  position: absolute;
  right: var(--gutter);
  bottom: 30px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  height: 38px;
  padding: 0 14px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(4, 6, 29, 0.5);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  color: var(--text-2);
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  cursor: pointer;
  transition: border-color 0.25s, color 0.25s;
}

.sound:hover {
  border-color: rgba(151, 252, 228, 0.45);
  color: var(--text);
}

.sound__bars {
  display: inline-flex;
  align-items: flex-end;
  gap: 2px;
  height: 12px;
}

.sound__bars i {
  width: 2px;
  height: 3px;
  border-radius: 1px;
  background: currentColor;
  transition: height 0.2s;
}

.sound[aria-pressed="true"] {
  color: var(--mint);
  border-color: rgba(151, 252, 228, 0.4);
}

.sound[aria-pressed="true"] .sound__bars i {
  animation: eq 0.75s ease-in-out infinite alternate;
}

.sound[aria-pressed="true"] .sound__bars i:nth-child(2) { animation-delay: -0.2s; }
.sound[aria-pressed="true"] .sound__bars i:nth-child(3) { animation-delay: -0.45s; }
.sound[aria-pressed="true"] .sound__bars i:nth-child(4) { animation-delay: -0.1s; }

@keyframes eq {
  from { height: 3px; }
  to   { height: 12px; }
}

@media (max-width: 640px) {
  .sound {
    bottom: 22px;
  }
}

/* cashtag: the mono "$" never reads as an "S" at small sizes.
   margin-left restores the space a flex container would collapse. */
.usd {
  font-family: var(--mono);
  font-weight: 500;
  font-size: 0.92em;
  margin: 0 0.04em 0 0.3em;
}

/* out of the grid flow, so the hero content centers on the viewport */
.hero__moons {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.hero__moons .moon--a {
  width: clamp(120px, 16vw, 240px);
  top: 14%;
  right: 8%;
  --r: -18deg;
  opacity: 0.85;
}

.hero__moons .moon--b {
  width: clamp(60px, 7vw, 110px);
  top: 62%;
  left: 7%;
  --r: 22deg;
  opacity: 0.55;
  filter: blur(2px) drop-shadow(0 0 20px rgba(151, 252, 228, 0.4));
  animation-duration: 18s;
  animation-delay: -6s;
}

.hero__moons .moon--c {
  width: clamp(40px, 4vw, 70px);
  top: 20%;
  left: 18%;
  --r: -8deg;
  opacity: 0.4;
  filter: blur(3px) drop-shadow(0 0 16px rgba(151, 252, 228, 0.35));
  animation-duration: 22s;
  animation-delay: -10s;
}

.hero__inner {
  position: relative;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* wordmark + tagline lock up like the banner: the italic line
   tucks under the right edge of the grotesk */
.hero__lockup {
  display: inline-flex;
  flex-direction: column;
  align-items: flex-end;
}

.hero__title {
  position: relative;
  margin: 0;
  font-family: var(--sans);
  font-weight: 700;
  font-size: clamp(64px, 17vw, 260px);
  line-height: 0.86;
  letter-spacing: -0.045em;
}

.hero__word {
  position: relative;
  display: inline-block;
  isolation: isolate;
  color: var(--text);
  text-shadow: 0 0 40px rgba(120, 150, 255, 0.35), 0 0 120px rgba(90, 70, 220, 0.35);
}

/* motion echoes: the word leaves a blue-violet afterimage behind it,
   the same way the cat leaves its trail */
.hero__word::before,
.hero__word::after {
  content: attr(data-text);
  position: absolute;
  inset: 0;
  z-index: -1;
  text-shadow: none;
  pointer-events: none;
}

.hero__word {
  transition: transform 0.9s var(--ease-out);
}

.hero__word::before {
  color: var(--electric-2);
  opacity: 0;
  filter: blur(3px);
  transform: translateX(0);
  transition: transform 0.9s var(--ease-out), opacity 0.6s;
}

.hero__word::after {
  color: var(--violet);
  opacity: 0;
  filter: blur(8px);
  transform: translateX(0);
  transition: transform 1.1s var(--ease-out), opacity 0.7s;
}

/* hover: the wordmark lurches forward and leaves its afterimage behind */
@media (hover: hover) {
  .hero__word {
    cursor: default;
  }
  .hero__word:hover {
    transform: translateX(0.03em);
    transition-duration: 0.5s;
  }
  .hero__word:hover::before {
    opacity: 0.45;
    transform: translateX(-0.12em);
    transition-duration: 0.5s, 0.25s;
  }
  .hero__word:hover::after {
    opacity: 0.26;
    transform: translateX(-0.3em);
    transition-duration: 0.65s, 0.3s;
  }
}

/* the acceleration streak that shoots in behind the wordmark */
.hero__streak {
  position: absolute;
  top: 52%;
  right: 55%;
  width: 90vw;
  height: 0.16em;
  transform: translateY(-50%);
  background: linear-gradient(90deg, transparent 0%, rgba(139, 92, 246, 0.0) 10%, rgba(139, 92, 246, 0.55) 55%, rgba(106, 141, 255, 0.95) 85%, rgba(220, 235, 255, 1) 100%);
  border-radius: 999px;
  filter: blur(10px);
  opacity: 0;
  animation: streak 1.6s 0.3s var(--ease-out) forwards;
  pointer-events: none;
}

@keyframes streak {
  0%   { opacity: 0; transform: translate(-60%, -50%) scaleX(0.3); }
  40%  { opacity: 1; }
  100% { opacity: 0.55; transform: translate(0, -50%) scaleX(1); }
}

.hero__sub {
  position: relative;
  margin: -0.22em 0.06em 0 0;
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(28px, 4.2vw, 60px);
  line-height: 1.1;
  color: var(--mint-soft);
  text-shadow: 0 2px 22px rgba(4, 6, 29, 0.95), 0 0 40px rgba(151, 252, 228, 0.25);
}

.hero__actions {
  margin-top: 40px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
}

.hero__btns {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}

.hero__scroll {
  position: absolute;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  font-family: var(--serif);
  font-style: italic;
  font-size: 15px;
  color: var(--muted);
  text-decoration: none;
}

.hero__scroll i {
  width: 1px;
  height: 44px;
  background: linear-gradient(180deg, var(--muted), transparent);
  position: relative;
  overflow: hidden;
}

.hero__scroll i::after {
  content: "";
  position: absolute;
  left: 0;
  top: -40%;
  width: 1px;
  height: 40%;
  background: var(--mint);
  box-shadow: 0 0 6px var(--mint);
  animation: drip 1.8s ease-in infinite;
}

@keyframes drip {
  to { top: 110%; }
}

@media (max-width: 640px) {
  .hero__scroll {
    display: none;
  }
  .hero__title {
    font-size: 21vw;
  }
}

/* ---------------------------------------------------------
   Contract address pill
   --------------------------------------------------------- */
.ca {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  max-width: 100%;
  padding: 8px 8px 8px 8px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(5, 7, 26, 0.55);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  color: var(--text);
  font: inherit;
  cursor: pointer;
  transition: border-color 0.25s, background 0.25s;
}

.ca:hover {
  border-color: rgba(151, 252, 228, 0.45);
  background: rgba(10, 13, 43, 0.75);
}

.ca__label {
  padding: 5px 10px;
  border-radius: 999px;
  background: rgba(151, 252, 228, 0.12);
  color: var(--mint);
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.ca__addr {
  font-family: var(--mono);
  font-size: 14px;
  color: var(--text-2);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  min-width: 0;
}

.ca__short {
  display: none;
}

.ca__icon {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  flex: none;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
}

.ca__icon svg {
  width: 15px;
  height: 15px;
  fill: none;
  stroke: var(--text);
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.ca__toast {
  position: absolute;
  left: 50%;
  bottom: calc(100% + 10px);
  transform: translate(-50%, 6px);
  padding: 6px 12px;
  border-radius: 8px;
  background: var(--mint);
  color: #04211c;
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 500;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s, transform 0.3s var(--ease-out);
}

.ca.is-copied .ca__toast {
  opacity: 1;
  transform: translate(-50%, 0);
}

.ca--big {
  margin-top: 40px;
  padding: 14px 14px 14px 14px;
  gap: 16px;
  border-radius: 20px;
}

.ca--big .ca__addr {
  font-size: clamp(14px, 1.9vw, 22px);
  color: var(--text);
}

.ca--big .ca__icon {
  width: 44px;
  height: 44px;
}

@media (max-width: 640px) {
  .ca .ca__full {
    display: none;
  }
  .ca .ca__short {
    display: inline;
  }
}

/* ---------------------------------------------------------
   Marquee
   --------------------------------------------------------- */
.marquee {
  position: relative;
  overflow: hidden;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: rgba(10, 13, 43, 0.5);
  padding: 18px 0;
}

.marquee__track {
  display: flex;
  width: max-content;
  gap: 36px;
  align-items: center;
  animation: marquee 48s linear infinite;
  font-size: clamp(18px, 2.2vw, 28px);
  font-weight: 600;
  letter-spacing: -0.01em;
  white-space: nowrap;
  padding-right: 36px;
}

.marquee__track em {
  font-size: 1.1em;
  color: var(--mint-soft);
}

.marquee__track b {
  color: var(--electric-2);
  font-weight: 400;
  text-shadow: 0 0 12px var(--electric);
}

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

/* ---------------------------------------------------------
   Section typography
   --------------------------------------------------------- */
section {
  position: relative;
}

/* section labels: a small comet streaks in ahead of an italic word */
.kicker,
.chapter__place {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  margin: 0 0 20px;
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(21px, 1.9vw, 25px);
  line-height: 1;
  color: var(--mint-soft);
}

.kicker::before,
.chapter__place::before {
  content: "";
  flex: none;
  width: 64px;
  height: 3px;
  border-radius: 3px;
  background: linear-gradient(90deg, rgba(97, 7, 253, 0) 0%, var(--violet) 40%, var(--electric) 78%, #fff 100%);
  box-shadow: 4px 0 10px -1px rgba(160, 200, 255, 0.9), 0 0 16px rgba(55, 84, 253, 0.55);
  transform-origin: right center;
  transform: scaleX(0.15);
  opacity: 0;
  transition: transform 1.3s 0.15s var(--ease-out), opacity 0.6s 0.15s;
}

.is-in.kicker::before,
.is-in .chapter__place::before {
  transform: scaleX(1);
  opacity: 1;
}

.no-js .kicker::before,
.no-js .chapter__place::before {
  transform: none;
  opacity: 1;
}

.display {
  margin: 0;
  text-wrap: balance;
  font-family: var(--sans);
  font-weight: 700;
  font-size: clamp(36px, 5.6vw, 84px);
  line-height: 0.98;
  letter-spacing: -0.035em;
}

.display em {
  display: inline-block;
  margin-top: 0.12em;
  font-size: 0.92em;
  line-height: 1.05;
  color: var(--text-2);
  background: linear-gradient(90deg, #c9d4ff 0%, #a9b6ff 40%, var(--mint-soft) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.mint {
  color: var(--mint);
  text-shadow: 0 0 30px rgba(151, 252, 228, 0.35);
}

.lede {
  margin: 0;
  font-size: clamp(20px, 2.1vw, 26px);
  line-height: 1.45;
  color: var(--text);
}

.lede strong {
  color: var(--electric-2);
  font-weight: 600;
}

.body {
  margin: 0;
  font-size: 17px;
  line-height: 1.7;
  color: var(--text-2);
}

.body--narrow {
  max-width: 620px;
  margin-top: 28px;
}

/* ---------------------------------------------------------
   About / manifesto
   --------------------------------------------------------- */
.about {
  padding: clamp(110px, 14vw, 180px) 0 clamp(90px, 11vw, 150px);
  overflow: hidden;
}

/* a giant outlined "e/acc" sits behind the section like a watermark */
.about__ghost {
  position: absolute;
  right: 3vw;
  top: 50%;
  transform: translateY(-46%);
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(160px, 26vw, 400px);
  line-height: 0.8;
  color: transparent;
  -webkit-text-stroke: 1px rgba(151, 165, 255, 0.16);
  white-space: nowrap;
  pointer-events: none;
  user-select: none;
}

.about__grid {
  position: relative;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: clamp(40px, 6vw, 96px);
  align-items: center;
}

.about .display {
  font-size: clamp(36px, 4.8vw, 72px);
}

.about .lede {
  margin-top: 36px;
  max-width: 520px;
}

/* ---- the holo card ---- */
@property --rx { syntax: "<angle>"; inherits: true; initial-value: 0deg; }
@property --ry { syntax: "<angle>"; inherits: true; initial-value: 0deg; }
@property --mx { syntax: "<percentage>"; inherits: true; initial-value: 50%; }
@property --my { syntax: "<percentage>"; inherits: true; initial-value: 50%; }
@property --hyp { syntax: "<number>"; inherits: true; initial-value: 0; }

.about__stage {
  position: relative;
  display: grid;
  place-items: center;
  padding: 30px 0;
  perspective: 1100px;
  touch-action: pan-y;
}

.about__stage::before {
  content: "";
  position: absolute;
  inset: 6% 2%;
  background: radial-gradient(50% 50% at 50% 50%, rgba(55, 84, 253, 0.5), rgba(97, 7, 253, 0.2) 45%, transparent 70%);
  filter: blur(40px);
  pointer-events: none;
}

.holo {
  position: relative;
  width: min(380px, 82vw);
  transform-style: preserve-3d;
  /* gentle idle sway until the pointer takes over */
  animation: holo-float 7s ease-in-out infinite, holo-idle 10s ease-in-out infinite;
}

.holo.is-active {
  animation: holo-float 7s ease-in-out infinite;
}

@keyframes holo-float {
  0%, 100% { transform: translate3d(0, 0, 0); }
  50%      { transform: translate3d(0, -10px, 0); }
}

@keyframes holo-idle {
  0%, 100% { --rx: 5deg; --ry: -9deg; --mx: 28%; --my: 22%; --hyp: 0.35; }
  50%      { --rx: -4deg; --ry: 10deg; --mx: 72%; --my: 74%; --hyp: 0.55; }
}

.holo__card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 16px 16px 14px;
  border-radius: 22px;
  overflow: hidden;
  color: var(--text);
  background:
    radial-gradient(120% 60% at 50% 0%, rgba(97, 7, 253, 0.38), transparent 60%),
    linear-gradient(165deg, #151b60 0%, #0a0c33 45%, #070926 100%);
  box-shadow:
    0 0 0 1px rgba(170, 190, 255, 0.28) inset,
    0 0 0 6px rgba(9, 11, 40, 0.92) inset,
    0 0 0 7px rgba(151, 252, 228, 0.38) inset,
    0 50px 100px -40px rgba(55, 84, 253, 0.85),
    0 20px 40px -20px rgba(0, 0, 0, 0.8);
  transform: rotateX(var(--rx)) rotateY(var(--ry));
  transition: transform 0.7s var(--ease-out);
}

.holo.is-active .holo__card {
  transition: transform 0.12s linear;
}

.holo__top {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: 6px 8px 10px;
}

.holo__name {
  font-family: var(--serif);
  font-style: italic;
  font-size: 34px;
  line-height: 1;
}

.holo__spd {
  font-size: 24px;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.02em;
  color: var(--mint);
  text-shadow: 0 0 14px rgba(151, 252, 228, 0.5);
}

.holo__spd small {
  margin-right: 6px;
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  text-shadow: none;
}

.holo__art {
  position: relative;
  aspect-ratio: 1.34;
  flex: none;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 0 0 1px rgba(170, 190, 255, 0.32), 0 0 0 3px rgba(5, 7, 26, 0.9), 0 0 26px rgba(55, 84, 253, 0.55);
}

.holo__art img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 38%;
  transform: scale(1.08) translate(calc((var(--mx) - 50%) * -0.05), calc((var(--my) - 50%) * -0.05));
}

.holo__type {
  margin: 10px 8px 0;
  padding: 5px 0;
  border-top: 1px solid rgba(170, 190, 255, 0.14);
  border-bottom: 1px solid rgba(170, 190, 255, 0.14);
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-align: center;
  color: var(--text-2);
}

.holo__move {
  margin: 10px 8px 0;
}

.holo__move h3 {
  margin: 0;
  font-size: 18px;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.holo__move p {
  margin: 2px 0 0;
  font-size: 13.5px;
  line-height: 1.4;
  color: var(--text-2);
}

.holo__stats {
  margin: 10px 8px 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
}

.holo__stats div {
  padding: 6px 8px;
  border-radius: 8px;
  border: 1px solid rgba(170, 190, 255, 0.13);
  background: rgba(255, 255, 255, 0.04);
}

.holo__stats dt {
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}

.holo__stats dd {
  margin: 2px 0 0;
  font-size: 16px;
  font-weight: 800;
  letter-spacing: -0.01em;
  color: var(--mint-soft);
}

.holo__flavor {
  margin: 12px 8px 0;
  font-family: var(--serif);
  font-style: italic;
  font-size: 15.5px;
  line-height: 1.25;
  color: var(--text-2);
}

.holo__foot {
  display: flex;
  justify-content: space-between;
  margin: 8px 8px 0;
  font-family: var(--mono);
  font-size: 9.5px;
  letter-spacing: 0.08em;
  color: var(--muted);
}

/* holographic foil and a glare that follow the tilt */
.holo__foil,
.holo__glare {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
}

.holo__foil {
  background: repeating-linear-gradient(
    115deg,
    rgba(151, 252, 228, 0) 0%,
    rgba(151, 252, 228, 0.24) 6%,
    rgba(106, 132, 255, 0.26) 12%,
    rgba(97, 7, 253, 0.22) 18%,
    rgba(149, 104, 193, 0.2) 24%,
    rgba(151, 252, 228, 0) 30%
  );
  background-size: 240% 240%;
  background-position: var(--mx) var(--my);
  mix-blend-mode: color-dodge;
  opacity: calc(0.22 + var(--hyp) * 0.5);
}

.holo__glare {
  background: radial-gradient(circle at var(--mx) var(--my), rgba(255, 255, 255, 0.5), rgba(255, 255, 255, 0.08) 26%, transparent 55%);
  mix-blend-mode: overlay;
  opacity: calc(0.2 + var(--hyp) * 0.8);
}

@keyframes bob {
  0%, 100% { transform: translate3d(0, 0, 0); }
  50%      { transform: translate3d(10px, -14px, 0); }
}

@media (max-width: 900px) {
  .about__grid {
    grid-template-columns: 1fr;
  }
  .about__ghost {
    top: auto;
    bottom: 4%;
    right: 4vw;
    transform: none;
    font-size: 40vw;
  }
}

/* ---------------------------------------------------------
   Journey: the story told in the cat's own posts
   --------------------------------------------------------- */
.journey {
  padding: clamp(90px, 11vw, 150px) 0 clamp(80px, 10vw, 140px);
}

.journey__list {
  position: relative;
  margin-top: clamp(60px, 8vw, 110px);
  display: flex;
  flex-direction: column;
  gap: clamp(70px, 10vw, 140px);
}

/* the glowing trail that grows as you scroll */
.journey__trail {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 2px;
  margin-left: -1px;
  background: linear-gradient(180deg, transparent, var(--line) 6%, var(--line) 94%, transparent);
  pointer-events: none;
}

.journey__fill {
  position: absolute;
  inset: 0;
  transform-origin: top;
  transform: scaleY(var(--p, 0));
  background: linear-gradient(180deg, rgba(97, 7, 253, 0) 0%, var(--violet) 25%, var(--electric) 70%, #dfe6ff 100%);
  box-shadow: 0 0 12px var(--electric), 0 0 30px rgba(97, 7, 253, 0.6);
  border-radius: 2px;
}

.journey__head {
  position: absolute;
  left: 50%;
  top: calc(var(--p, 0) * 100%);
  width: 12px;
  height: 12px;
  margin: -6px 0 0 -6px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 0 10px #fff, 0 0 24px var(--cyan), 0 0 50px var(--electric);
  opacity: calc(var(--p, 0) * 20);
}

.chapter {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(56px, 9vw, 140px);
  align-items: center;
}

.chapter__text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

/* odd chapters: text left (aligned toward the trail); even: text right */
.chapter:nth-of-type(odd) .chapter__text {
  text-align: right;
  align-items: flex-end;
}

.chapter:nth-of-type(even) .chapter__text {
  order: 2;
}

.chapter__place {
  margin-bottom: 24px;
  font-size: clamp(19px, 1.6vw, 22px);
}

.chapter__place::before {
  width: 44px;
}

.chapter__q {
  margin: 0;
  font-size: clamp(30px, 3.8vw, 56px);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.035em;
}

.chapter__q em {
  display: inline-block;
  margin-top: 0.1em;
  color: var(--text-2);
}

/* the other line of the same post, set small */
.chapter__aside {
  margin: 0 0 14px;
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(20px, 1.8vw, 25px);
  line-height: 1.2;
  color: var(--text-2);
}

.chapter__p {
  margin: 18px 0 0;
  max-width: 400px;
  font-size: 16.5px;
  line-height: 1.65;
  color: var(--text-2);
}

.chapter__q + .chapter__aside {
  margin: 18px 0 0;
}

/* link back to the original post */
.src {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 26px;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.02em;
  color: var(--muted);
  text-decoration: none;
  transition: color 0.2s;
}

.src svg {
  width: 12px;
  height: 12px;
  fill: currentColor;
}

.src span {
  transition: transform 0.3s var(--ease-out);
}

.src:hover {
  color: var(--mint);
}

.src:hover span {
  transform: translate(2px, -2px);
}

.chapter__media {
  margin: 0;
  position: relative;
  border-radius: 26px;
  overflow: hidden;
  border: 1px solid var(--line);
  aspect-ratio: 1;
  max-width: 520px;
  width: 100%;
  justify-self: center;
  box-shadow: 0 40px 100px -40px rgba(55, 84, 253, 0.55);
}

.chapter__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.08) translate3d(0, var(--py, 0px), 0);
  transition: transform 0.2s linear;
}

@media (max-width: 860px) {
  .journey__trail {
    left: 12px;
  }
  .journey__list {
    padding-left: calc(var(--gutter) + 22px);
  }
  .chapter {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .chapter:nth-of-type(even) .chapter__text {
    order: 0;
  }
  .chapter:nth-of-type(odd) .chapter__text {
    text-align: left;
    align-items: flex-start;
  }
  .chapter__media {
    justify-self: start;
    max-width: 440px;
  }
}

/* ---------------------------------------------------------
   Elysium
   --------------------------------------------------------- */
.elysium {
  padding: clamp(100px, 13vw, 180px) 0;
  overflow: hidden;
}

/* the ring city from the pinned video, drifting slowly behind the copy */
.elysium__scene {
  position: absolute;
  inset: 0;
  pointer-events: none;
  -webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 16%, #000 82%, transparent 100%);
  mask-image: linear-gradient(180deg, transparent 0%, #000 16%, #000 82%, transparent 100%);
}

.elysium__scene img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 62% 50%;
  opacity: 0.8;
  transform: scale(1.05);
  animation: city-drift 40s ease-in-out infinite alternate;
}

@keyframes city-drift {
  from { transform: scale(1.05) translate3d(0, 0, 0); }
  to   { transform: scale(1.14) translate3d(-1.5%, -1%, 0); }
}

.elysium__scene::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(4, 6, 29, 0.94) 0%, rgba(4, 6, 29, 0.72) 36%, rgba(4, 6, 29, 0.22) 68%, rgba(4, 6, 29, 0.4) 100%),
    radial-gradient(50% 50% at 72% 55%, rgba(151, 252, 228, 0.1), transparent 70%);
}

@media (max-width: 960px) {
  .elysium__scene::after {
    background: linear-gradient(180deg, rgba(4, 6, 29, 0.6), rgba(4, 6, 29, 0.82) 60%, rgba(4, 6, 29, 0.6));
  }
}

.elysium__sub {
  margin: 18px 0 0;
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(26px, 3vw, 40px);
  line-height: 1.1;
  color: var(--text-2);
}

.elysium__grid {
  position: relative;
  display: grid;
  grid-template-columns: 1.25fr 1fr;
  gap: clamp(40px, 6vw, 96px);
  align-items: center;
}

.elysium__copy .body {
  margin-top: 28px;
  max-width: 540px;
}

/* stacked layer diagram */
.stack {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 14px;
  perspective: 1200px;
}

.stack__layer {
  position: relative;
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
  padding: 26px 28px;
  border-radius: 20px;
  border: 1px solid var(--line);
  background: linear-gradient(135deg, rgba(20, 26, 82, 0.6), rgba(10, 13, 43, 0.6));
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  transform: rotateX(18deg);
  transform-origin: center bottom;
}

.stack__name {
  font-size: clamp(22px, 2.4vw, 30px);
  font-weight: 700;
  letter-spacing: -0.02em;
}

.stack__note {
  font-family: var(--serif);
  font-style: italic;
  font-size: 18px;
  color: var(--text-2);
}

.stack__layer--top {
  padding-top: 64px;
  border-color: rgba(151, 252, 228, 0.5);
  background:
    radial-gradient(80% 120% at 20% 0%, rgba(151, 252, 228, 0.18), transparent 60%),
    linear-gradient(135deg, rgba(22, 50, 80, 0.75), rgba(10, 13, 43, 0.7));
  box-shadow: 0 0 0 1px rgba(151, 252, 228, 0.15) inset, 0 30px 80px -30px rgba(151, 252, 228, 0.45);
}

.stack__layer--top .stack__name {
  color: var(--mint);
}

.stack__layer--mid {
  opacity: 0.85;
  margin: 0 18px;
}

.stack__layer--base {
  opacity: 0.65;
  margin: 0 36px;
}

.stack__cat {
  position: absolute;
  width: 210px;
  height: auto;
  top: -128px;
  right: -24px;
  animation: bob 5s ease-in-out infinite;
  pointer-events: none;
}

@media (max-width: 960px) {
  .elysium__grid {
    grid-template-columns: 1fr;
  }
  .stack {
    margin-top: 40px;
  }
}

@media (max-width: 520px) {
  .stack__layer {
    flex-direction: column;
    gap: 2px;
  }
}

/* ---------------------------------------------------------
   Token
   --------------------------------------------------------- */
.token {
  padding: clamp(100px, 12vw, 170px) 0;
}

.token .wrap {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.token__ca {
  margin-top: 40px;
  max-width: 100%;
}

.token__ca .ca--big {
  margin-top: 0;
}

.token__warn {
  margin: 14px 4px 0;
  font-family: var(--serif);
  font-style: italic;
  font-size: 17px;
  color: var(--muted);
}

/* 1px gaps over a line-colored background draw the grid rules */
.stats {
  margin: 48px 0 0;
  width: 100%;
  display: grid;
  /* 3 on top, 2 wider below */
  grid-template-columns: repeat(6, 1fr);
  gap: 1px;
  border: 1px solid var(--line);
  border-radius: 22px;
  overflow: hidden;
  background: var(--line);
}

.stats > div {
  grid-column: span 2;
  padding: 26px 28px;
  background: #070a26;
}

.stats > div:nth-child(n + 4) {
  grid-column: span 3;
}

.stats dt {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}

.stats dd {
  margin: 8px 0 0;
  font-size: clamp(20px, 2.2vw, 28px);
  font-weight: 700;
  letter-spacing: -0.02em;
}

@media (max-width: 900px) {
  .stats {
    grid-template-columns: repeat(2, 1fr);
  }
  .stats > div,
  .stats > div:nth-child(n + 4) {
    grid-column: span 1;
    padding: 20px;
  }
  .stats > div:first-child {
    grid-column: 1 / -1;
  }
}

.howto {
  margin-top: 96px;
  width: 100%;
}

.howto__title {
  margin: 0 0 44px;
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(34px, 4vw, 56px);
  line-height: 1.05;
}

/* how to obtain: three stops on one express line.
   Each stop draws the rail to the next one, and a light runs
   segment by segment, so the line always ends at the last stop. */
.route {
  position: relative;
}

.route__stops {
  --gap: 40px;
  position: relative;
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--gap);
}

.route__stop {
  position: relative;
  padding-top: 46px;
}

.route__stop:not(:last-child)::before,
.route__stop:not(:last-child)::after {
  content: "";
  position: absolute;
  left: 20px;
  right: calc(var(--gap) * -1);
  top: 9px;
  height: 2px;
  border-radius: 2px;
}

.route__stop:not(:last-child)::before {
  background: linear-gradient(90deg, var(--violet), var(--electric));
  box-shadow: 0 0 14px rgba(55, 84, 253, 0.6);
}

.route__stop:nth-child(2)::before {
  background: linear-gradient(90deg, var(--electric), var(--mint));
}

/* the light that runs the line */
.route__stop:not(:last-child)::after {
  background: linear-gradient(90deg, transparent, rgba(220, 235, 255, 0.5) 70%, #fff) no-repeat;
  background-size: 34% 100%;
  background-position: -60% 0;
  animation: express 3.6s linear infinite;
}

.route__stop:nth-child(2)::after {
  animation-delay: 1.3s;
}

@keyframes express {
  0%   { background-position: -60% 0; }
  36%  { background-position: 160% 0; }
  100% { background-position: 160% 0; }
}

.route__dot {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 1;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--bg);
  border: 2px solid var(--electric-2);
  box-shadow: 0 0 0 5px rgba(4, 6, 29, 0.9), 0 0 18px rgba(106, 132, 255, 0.8);
}

.route__stop:last-child .route__dot {
  border-color: var(--mint);
  background: var(--mint);
  box-shadow: 0 0 0 5px rgba(4, 6, 29, 0.9), 0 0 22px var(--mint), 0 0 50px rgba(151, 252, 228, 0.5);
}

.route__where {
  display: block;
  font-family: var(--serif);
  font-style: italic;
  font-size: 19px;
  color: var(--mint-soft);
}

.route__stop h4 {
  margin: 6px 0 8px;
  font-size: clamp(22px, 2.2vw, 28px);
  font-weight: 700;
  letter-spacing: -0.025em;
}

.route__stop p {
  margin: 0;
  max-width: 320px;
  font-size: 15.5px;
  line-height: 1.6;
  color: var(--text-2);
}

.howto__btns {
  margin-top: 44px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

@media (max-width: 900px) {
  .route__stops {
    --gap: 36px;
    grid-template-columns: 1fr;
  }
  .route__stop {
    padding: 0 0 0 46px;
  }
  .route__stop:not(:last-child)::before,
  .route__stop:not(:last-child)::after {
    left: 9px;
    right: auto;
    top: 20px;
    bottom: calc(var(--gap) * -1);
    width: 2px;
    height: auto;
  }
  .route__stop:not(:last-child)::before {
    background: linear-gradient(180deg, var(--violet), var(--electric));
  }
  .route__stop:nth-child(2)::before {
    background: linear-gradient(180deg, var(--electric), var(--mint));
  }
  .route__stop:not(:last-child)::after {
    background-image: linear-gradient(180deg, transparent, rgba(220, 235, 255, 0.5) 70%, #fff);
    background-size: 100% 34%;
    background-position: 0 -60%;
    animation-name: express-y;
  }
}

@keyframes express-y {
  0%   { background-position: 0 -60%; }
  36%  { background-position: 0 160%; }
  100% { background-position: 0 160%; }
}

/* ---------------------------------------------------------
   Sightings: the artwork orbits the cat
   --------------------------------------------------------- */
.sightings {
  padding: clamp(90px, 11vw, 150px) 0 clamp(70px, 8vw, 110px);
  overflow: hidden;
}

.orbit {
  --card: clamp(150px, 22vw, 300px);
  position: relative;
  height: clamp(480px, 54vw, 700px);
  margin-top: clamp(20px, 3vw, 40px);
  isolation: isolate;
  touch-action: pan-y;
  user-select: none;
  -webkit-user-select: none;
  cursor: grab;
  outline: none;
}

.orbit.is-dragging {
  cursor: grabbing;
}

.orbit:focus-visible .orbit__ring {
  border-color: rgba(151, 252, 228, 0.55);
}

/* the orbital path, seen at an angle */
.orbit__ring {
  position: absolute;
  left: 50%;
  top: 50%;
  width: calc(var(--rx, 400px) * 2);
  height: calc(var(--ry, 80px) * 2);
  transform: translate(-50%, -50%);
  border-radius: 50%;
  border: 1px solid rgba(151, 200, 255, 0.22);
  box-shadow: 0 0 40px rgba(55, 84, 253, 0.25), inset 0 0 40px rgba(97, 7, 253, 0.2);
  pointer-events: none;
}

.orbit__ring::after {
  content: "";
  position: absolute;
  inset: -40% -10%;
  border-radius: 50%;
  background: radial-gradient(50% 50% at 50% 50%, rgba(97, 7, 253, 0.22), rgba(55, 84, 253, 0.08) 45%, transparent 70%);
  filter: blur(20px);
}

/* the cat sits at the center; back cards pass behind it, front cards in front */
.orbit__core {
  position: absolute;
  left: 50%;
  top: 50%;
  width: calc(var(--card) * 1.2);
  transform: translate(-50%, -86%);
  z-index: 100;
  pointer-events: none;
}

.orbit__core img {
  width: 100%;
  height: auto;
  animation: bob 6s ease-in-out infinite;
  filter: drop-shadow(0 0 40px rgba(55, 84, 253, 0.5));
}

.shot {
  --t: 1;
  position: absolute;
  left: 50%;
  top: 50%;
  width: var(--card);
  aspect-ratio: 1;
  padding: 0;
  border: 1px solid rgba(190, 196, 255, 0.18);
  border-radius: 18px;
  overflow: hidden;
  background: var(--bg-2);
  cursor: pointer;
  transform: translate(-50%, -50%);
  will-change: transform;
  box-shadow: 0 30px 70px -30px rgba(55, 84, 253, calc(var(--t) * 0.9));
  transition: border-color 0.3s;
}

/* cards dim as they swing to the far side of the orbit */
.shot::after {
  content: "";
  position: absolute;
  inset: 0;
  background: #04061d;
  opacity: calc((1 - var(--t)) * 0.8);
  pointer-events: none;
}

.shot img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
}

.shot.is-front {
  border-color: rgba(151, 252, 228, 0.55);
  cursor: zoom-in;
}

.shot:hover {
  border-color: rgba(151, 252, 228, 0.7);
}

/* phones: bigger front card, and the far side of the ring fades out
   so the orbit reads cleanly instead of stacking ten cards */
@media (max-width: 640px) {
  .orbit {
    --card: 44vw;
    height: 420px;
  }
  .shot {
    opacity: clamp(0, calc((var(--t) - 0.22) * 2.6), 1);
  }
}

.orbit__bar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 22px;
  margin-top: 6px;
}

.orbit__bar .icon-btn {
  flex: none;
  width: 48px;
  height: 48px;
  color: var(--text);
  cursor: pointer;
}

.orbit__bar svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.orbit__cap {
  margin: 0;
  width: min(440px, 62vw);
  min-height: 2.6em;
  display: grid;
  place-items: center;
  text-align: center;
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(17px, 1.6vw, 21px);
  line-height: 1.25;
  color: var(--text-2);
}

/* lightbox */
.lightbox {
  padding: 0;
  border: 0;
  background: transparent;
  max-width: min(92vw, 1100px);
  max-height: 92vh;
  overflow: visible;
}

.lightbox::backdrop {
  background: rgba(3, 4, 16, 0.85);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}

.lightbox img {
  max-width: 100%;
  max-height: 88vh;
  border-radius: 18px;
  box-shadow: 0 40px 120px -20px rgba(63, 107, 255, 0.6);
}

.lightbox__close {
  position: absolute;
  top: -48px;
  right: 0;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: rgba(10, 13, 43, 0.7);
  color: var(--text);
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
}

/* ---------------------------------------------------------
   Outro
   --------------------------------------------------------- */
.outro {
  padding: clamp(110px, 14vw, 200px) 0 clamp(80px, 9vw, 130px);
  overflow-x: clip; /* the moon glow may bleed upward, never sideways */
  text-align: center;
}

.outro__moons .moon--f {
  width: clamp(260px, 40vw, 620px);
  left: 50%;
  top: 50%;
  margin-left: calc(clamp(260px, 40vw, 620px) / -2);
  margin-top: -12%;
  --r: -12deg;
  opacity: 0.16;
  filter: blur(14px) drop-shadow(0 0 80px rgba(151, 252, 228, 0.6));
  animation-duration: 30s;
}

.outro__inner {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.outro__lines {
  margin: 0 0 18px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-family: var(--mono);
  font-size: 13px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}

.outro__title {
  margin: 0 0 44px;
  font-weight: 700;
  font-size: clamp(48px, 9vw, 150px);
  line-height: 0.92;
  letter-spacing: -0.045em;
}

.outro__title em {
  font-size: 1.02em;
  color: var(--mint-soft);
  text-shadow: 0 0 40px rgba(151, 252, 228, 0.35);
}

.outro__sign {
  margin: 56px 0 0;
  font-family: var(--serif);
  font-style: italic;
  font-size: 22px;
  color: var(--muted);
}

/* ---------------------------------------------------------
   Footer
   --------------------------------------------------------- */
.footer {
  border-top: 1px solid var(--line);
  background: rgba(3, 4, 16, 0.6);
  padding: 44px 0 56px;
}

.footer__inner {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 18px 40px;
}

.footer__brand {
  font-family: var(--serif);
  font-style: italic;
  font-size: 30px;
  text-decoration: none;
}

.footer__links {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: flex-end;
  font-size: 14px;
}

.footer__links a {
  color: var(--text-2);
  text-decoration: none;
}

.footer__links a:hover,
.footer__ca:hover {
  color: var(--mint);
}

.footer__ca {
  position: relative;
  padding: 0;
  border: 0;
  background: none;
  color: var(--text-2);
  font: inherit;
  cursor: pointer;
}

.footer__ca.is-copied .ca__toast {
  opacity: 1;
  transform: translate(-50%, 0);
}

.footer__legal {
  overflow-wrap: anywhere;
}

.footer__legal {
  grid-column: 1 / -1;
  margin: 10px 0 0;
  max-width: 760px;
  font-size: 12.5px;
  line-height: 1.6;
  color: var(--muted);
}

@media (max-width: 600px) {
  .footer__inner {
    grid-template-columns: 1fr;
  }
  .footer__links {
    justify-content: flex-start;
  }
}

/* ---------------------------------------------------------
   Reveal on scroll
   --------------------------------------------------------- */
.reveal {
  opacity: 0;
  transform: translate3d(0, 28px, 0);
  filter: blur(6px);
  transition: opacity 1s var(--ease-out), transform 1.1s var(--ease-out), filter 1s var(--ease-out);
  transition-delay: var(--d, 0ms);
}

.reveal.is-in {
  opacity: 1;
  transform: none;
  filter: none;
}

.no-js .reveal {
  opacity: 1;
  transform: none;
  filter: none;
}

/* ---------------------------------------------------------
   Reduced motion
   --------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
  .reveal {
    opacity: 1;
    transform: none;
    filter: none;
  }
  .hero__streak {
    opacity: 0.55;
    transform: translate(0, -50%);
  }
  .trail {
    display: none;
  }
}
