/* ───────────────────────────────────────────────────────────
   EthMaxxing v2 — ethereal max-pilled
   ─────────────────────────────────────────────────────────── */

:root {
  --ink:        #0b0d12;
  --ink-soft:   #1a1d26;
  --mist:       #f5f4ef;
  --mist-warm:  #efece3;
  --paper:      #fbfaf6;
  --ether:      #c7d2fe;    /* pale iridescent lavender */
  --ether-deep: #818cf8;
  --aurora:     #a7f3d0;    /* hint of pale green horizon */
  --gold:       #c9a66b;
  --line:       rgba(11, 13, 18, 0.12);
  --line-soft:  rgba(11, 13, 18, 0.06);

  --serif: "Instrument Serif", "Times New Roman", serif;
  --sans:  "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --mono:  "JetBrains Mono", ui-monospace, Menlo, monospace;

  --r-sm: 6px;
  --r-md: 12px;
  --r-lg: 22px;

  --ease:     cubic-bezier(.2, .7, .2, 1);
  --ease-out: cubic-bezier(.16, 1, .3, 1);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html, body { background: var(--paper); color: var(--ink); }
html { scroll-behavior: smooth; }
body {
  font-family: var(--sans);
  font-weight: 400;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
img, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }

/* ───────────────────────── Nav ───────────────────────── */
.nav {
  position: fixed; inset: 0 0 auto 0;
  z-index: 50;
  display: grid; grid-template-columns: auto 1fr auto; align-items: center;
  gap: 2rem;
  padding: 1.1rem clamp(1rem, 4vw, 2.5rem);
  background: transparent;
}
.nav__brand {
  display: inline-flex; align-items: center; gap: 0.6rem;
  font-family: var(--serif);
  font-size: 1.35rem;
  letter-spacing: 0.01em;
}
/* Ethereum diamond logo — inline SVG brand mark */
.brand-mark {
  width: 18px; height: auto;
  flex-shrink: 0;
  filter: drop-shadow(0 4px 10px rgba(129, 140, 248, 0.35));
}
/* Classic 6-facet ETH palette — tuned for both light and dark backdrops */
.brand-mark .bm-a { fill: #7b86c6; }
.brand-mark .bm-b { fill: #4a5388; }
.brand-mark .bm-c { fill: #a3abd8; }
.brand-mark .bm-d { fill: #5f6aa7; }
.brand-mark .bm-e { fill: #2e3562; }
.brand-mark .bm-f { fill: #4a5388; }

/* footer variant — slightly brighter on the dark bg */
.footer__brand .brand-mark {
  width: 20px;
  filter: drop-shadow(0 4px 14px rgba(199, 210, 254, 0.55));
}
.footer__brand .brand-mark .bm-a { fill: #c7d2fe; }
.footer__brand .brand-mark .bm-b { fill: #818cf8; }
.footer__brand .brand-mark .bm-c { fill: #e0e7ff; }
.footer__brand .brand-mark .bm-d { fill: #a5b4fc; }
.footer__brand .brand-mark .bm-e { fill: #6366f1; }
.footer__brand .brand-mark .bm-f { fill: #818cf8; }
.brand-word { font-style: italic; }
.nav__links {
  justify-self: center;
  display: flex; gap: clamp(1rem, 3vw, 2.2rem);
  font-size: 0.88rem; font-weight: 500; letter-spacing: 0.02em;
  color: rgba(11, 13, 18, 0.72);
}
.nav__links a { position: relative; padding: 0.25rem 0; }
.nav__links a::after {
  content: ""; position: absolute; left: 0; right: 100%; bottom: 0;
  height: 1px; background: var(--ink);
  transition: right 0.4s var(--ease-out);
}
.nav__links a:hover { color: var(--ink); }
.nav__links a:hover::after { right: 0; }

.nav__socials {
  justify-self: center;
  display: flex; gap: 0.4rem;
}
.nav__ico {
  display: inline-flex; align-items: center; justify-content: center;
  width: 38px; height: 38px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.55);
  color: rgba(11, 13, 18, 0.85);
  backdrop-filter: blur(6px);
  transition: background 0.25s var(--ease), color 0.25s var(--ease), transform 0.25s var(--ease-out), border-color 0.25s var(--ease);
}
.nav__ico:hover {
  background: var(--ink);
  color: var(--paper);
  border-color: var(--ink);
  transform: translateY(-1px);
}
.nav__cta {
  display: inline-flex; align-items: center; gap: 0.45rem;
  padding: 0.55rem 1rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 0.85rem; font-weight: 500;
  background: rgba(255,255,255,0.55);
  transition: background 0.3s var(--ease), border-color 0.3s var(--ease);
}
.nav__cta:hover { background: var(--ink); color: var(--paper); border-color: var(--ink); }

/* ───────────────────────── Hero ───────────────────────── */
.hero {
  position: relative;
  min-height: 100svh;
  overflow: hidden;
  isolation: isolate;
  padding: clamp(6rem, 12vh, 9rem) clamp(1.25rem, 4vw, 2.5rem) 0;
  display: flex;
  flex-direction: column;
  color: var(--ink);
}

.hero__video-wrap {
  position: absolute; inset: 0;
  z-index: -2;
  overflow: hidden;
  background: var(--mist);
}
.hero__video {
  width: 100%; height: 100%;
  object-fit: cover;
  /* video shown as-is. no wash, no filter. */
}

/* subtle aurora glow near the horizon — no white fade */
.hero__horizon {
  position: absolute;
  left: 0; right: 0;
  bottom: 0;
  height: 40%;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(90% 60% at 50% 100%, rgba(167, 243, 208, 0.22) 0%, rgba(167, 243, 208, 0.0) 60%),
    radial-gradient(70% 50% at 50% 100%, rgba(199, 210, 254, 0.28) 0%, rgba(199, 210, 254, 0.0) 70%);
}

/* ───── Hero content ───── */
.hero__content {
  position: relative;
  max-width: 980px;
  margin: clamp(2rem, 6vh, 4rem) auto 0;
  text-align: center;
  z-index: 2;
}
.hero__eyebrow {
  display: inline-flex; align-items: center; gap: 0.6rem;
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(11, 13, 18, 0.6);
  padding: 0.4rem 0.9rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255,255,255,0.55);
  backdrop-filter: blur(4px);
}
.hero__eyebrow .dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--ether-deep);
  box-shadow: 0 0 10px var(--ether-deep);
  animation: pulse 2.4s var(--ease) infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 0.5; transform: scale(0.9); }
  50%      { opacity: 1;   transform: scale(1.15); }
}

.hero__title {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(3.5rem, 10vw, 9rem);
  line-height: 0.92;
  letter-spacing: -0.02em;
  margin-top: 1.4rem;
  color: var(--ink);
  /* local glow keeps the type legible on the video without a full-hero veil */
  text-shadow:
    0 1px 0 rgba(255,255,255,0.6),
    0 0 24px rgba(251,250,246,0.55),
    0 0 60px rgba(251,250,246,0.35);
}
.hero__title .line { display: block; }
.hero__title .line--italic {
  font-style: italic;
  color: var(--ink-soft);
}
.hero__title em {
  font-style: italic;
  background: linear-gradient(180deg, var(--ether-deep) 0%, #6366f1 100%);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
}

.hero__lede {
  max-width: 44ch;
  margin: 1.4rem auto 0;
  font-size: clamp(1rem, 1.1vw + 0.6rem, 1.18rem);
  color: rgba(11, 13, 18, 0.72);
  line-height: 1.55;
}

.hero__cta {
  display: flex; gap: 0.75rem; justify-content: center;
  margin-top: 1.8rem;
  flex-wrap: wrap;
}
.btn {
  display: inline-flex; align-items: center; gap: 0.5rem;
  padding: 0.85rem 1.4rem;
  border-radius: 999px;
  font-size: 0.92rem; font-weight: 500; letter-spacing: 0.01em;
  transition: transform 0.3s var(--ease-out), background 0.3s var(--ease), border-color 0.3s var(--ease), color 0.3s var(--ease);
  will-change: transform;
}
.btn--primary {
  background: var(--ink);
  color: var(--paper);
  box-shadow: 0 12px 30px -12px rgba(11, 13, 18, 0.45), 0 0 0 1px rgba(255,255,255,0.06) inset;
}
.btn--primary:hover { transform: translateY(-1px); background: #000; }
.btn--ghost {
  border: 1px solid var(--line);
  background: rgba(255,255,255,0.55);
  color: var(--ink);
  backdrop-filter: blur(4px);
}
.btn--ghost:hover { border-color: var(--ink); }

/* ── socials ── */
.hero__socials {
  display: flex; gap: 0.75rem;
  justify-content: center;
  margin-top: 2.2rem;
  flex-wrap: wrap;
}
.social {
  display: inline-flex; align-items: center; gap: 0.55rem;
  padding: 0.7rem 1.2rem;
  border-radius: 999px;
  font-size: 0.92rem; font-weight: 500; letter-spacing: 0.01em;
  border: 1px solid var(--line);
  background: rgba(255,255,255,0.65);
  color: var(--ink);
  backdrop-filter: blur(6px);
  transition: transform 0.3s var(--ease-out), background 0.3s var(--ease), color 0.3s var(--ease), border-color 0.3s var(--ease);
}
.social svg { opacity: 0.85; transition: opacity 0.3s var(--ease); }
.social:hover {
  background: var(--ink);
  color: var(--paper);
  border-color: var(--ink);
  transform: translateY(-1px);
}
.social:hover svg { opacity: 1; }

.ellipsis {
  display: inline-block;
  background: linear-gradient(180deg, var(--ether-deep) 0%, #6366f1 100%);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
  margin-left: 0.05em;
}

/* ── contract address ── */
.ca {
  display: inline-flex; align-items: center;
  gap: 0.2rem;
  margin: 1.6rem auto 0;
  padding: 0.35rem 0.45rem 0.35rem 1rem;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(8px);
  font-family: var(--mono);
  font-size: 0.82rem;
  color: var(--ink);
  max-width: min(92vw, 34rem);
}
.ca__label {
  font-size: 0.68rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(11, 13, 18, 0.5);
  margin-right: 0.6rem;
  padding-right: 0.6rem;
  border-right: 1px solid var(--line);
}
.ca__addr {
  flex: 1;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-family: var(--mono);
  color: var(--ink);
  letter-spacing: 0.02em;
}
.ca.is-tba .ca__addr {
  color: rgba(11, 13, 18, 0.45);
  font-style: italic;
}
.ca__copy {
  display: inline-flex; align-items: center; gap: 0.35rem;
  padding: 0.45rem 0.8rem;
  border-radius: 999px;
  border: 0;
  background: var(--ink);
  color: var(--paper);
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.25s var(--ease), transform 0.25s var(--ease-out);
}
.ca__copy:hover { background: #000; transform: translateY(-1px); }
.ca__copy:disabled { opacity: 0.4; cursor: not-allowed; }
.ca__ico { display: inline-block; }
.ca__ico--check { display: none; }
.ca.is-copied .ca__ico--copy  { display: none; }
.ca.is-copied .ca__ico--check { display: inline-block; }
.ca.is-copied .ca__label-mini::before { content: "Copied"; }
.ca.is-copied .ca__label-mini { font-size: 0; }
.ca.is-copied .ca__label-mini::before { font-size: 0.72rem; }

@media (max-width: 500px) {
  .ca__label { display: none; }
  .ca__addr  { font-size: 0.76rem; }
}

/* ───── Characters (parallax) ───── */
/* sits as a bottom frieze — never reaches up into the content. */
.hero__characters {
  position: absolute;
  left: 0; right: 0;
  bottom: 0;
  height: 58%;
  pointer-events: none;
  z-index: 1;
}

.char {
  position: absolute;
  bottom: 0;
  width: auto;
  user-select: none;
  will-change: transform;
  filter: drop-shadow(0 20px 30px rgba(11, 13, 18, 0.18));
  image-rendering: -webkit-optimize-contrast;
}

/* depth zones: back row = smaller, slightly lifted, softer
                front row = larger, bottom-aligned, sharper     */

/* --- left cluster --- */
.char--pepe {
  /* back row, left-outer */
  left: clamp(-2rem, 2vw, 2.5rem);
  bottom: 4%;
  height: clamp(14rem, 24vw, 22rem);
  opacity: 0.95;
  filter: drop-shadow(0 22px 30px rgba(11, 13, 18, 0.2)) blur(0.2px);
}
.char--wojak {
  /* front row, left-inner */
  left: clamp(6rem, 16vw, 17rem);
  bottom: -3%;
  height: clamp(18rem, 30vw, 28rem);
  filter: drop-shadow(0 32px 40px rgba(11, 13, 18, 0.26));
  z-index: 2;
}

/* --- right cluster --- */
.char--doge {
  /* back row, right-outer */
  right: clamp(-2rem, 2vw, 2.5rem);
  bottom: 3%;
  height: clamp(14rem, 24vw, 22rem);
  opacity: 0.95;
  filter: drop-shadow(0 22px 30px rgba(11, 13, 18, 0.2)) blur(0.2px);
}
.char--spx {
  /* front row, right-inner */
  right: clamp(6rem, 16vw, 17rem);
  bottom: -2%;
  height: clamp(18rem, 30vw, 28rem);
  filter: drop-shadow(0 32px 40px rgba(11, 13, 18, 0.26));
  z-index: 2;
}

/* --- center floater ---
   escapes .hero__characters — floats in the open sky
   between nav and title, offset right of centre so it doesn't
   sit directly on the H1 mass. */
.char--mog {
  position: absolute;
  left: 62%;
  top: 14%;
  transform: translateX(-50%);
  height: clamp(4rem, 6vw, 5.5rem);
  opacity: 0.92;
  filter: drop-shadow(0 12px 22px rgba(129, 140, 248, 0.55));
  animation: floatY 7s ease-in-out infinite;
  z-index: 1;
  pointer-events: none;
}
@keyframes floatY {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50%      { transform: translateX(-50%) translateY(-14px); }
}

/* ───── scroll hint ───── */
.hero__scroll {
  position: absolute;
  left: 50%;
  bottom: 1.25rem;
  transform: translateX(-50%);
  width: 22px; height: 38px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(255,255,255,0.4);
  backdrop-filter: blur(4px);
  z-index: 4;
}
.hero__scroll span {
  position: absolute;
  left: 50%;
  top: 6px;
  width: 2px; height: 8px;
  background: var(--ink);
  border-radius: 2px;
  transform: translateX(-50%);
  animation: scrollDot 2s var(--ease) infinite;
}
@keyframes scrollDot {
  0%   { opacity: 0; transform: translate(-50%, 0); }
  30%  { opacity: 1; }
  70%  { opacity: 1; transform: translate(-50%, 14px); }
  100% { opacity: 0; transform: translate(-50%, 14px); }
}

/* ───────────────────────── Journey (scroll-scrubbed video) ───────────────────────── */
.journey {
  position: relative;
  /* scroll runway — tall so each milestone gets real space.
     8 milestones * ~90vh + lead/tail */
  height: 720vh;
  background: #06070b;
}
.journey__stage {
  position: sticky;
  top: 0;
  height: 100vh;
  overflow: hidden;
  isolation: isolate;
}
.journey__video {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  z-index: 0;
}
.journey__tint {
  position: absolute; inset: 0;
  z-index: 1;
  pointer-events: none;
  /* top kept clean — only a bottom fade for milestone legibility */
  background:
    linear-gradient(180deg, rgba(6,7,11,0) 0%, rgba(6,7,11,0) 50%, rgba(6,7,11,0.35) 75%, rgba(6,7,11,0.78) 100%);
}

/* top-left header, fades as user advances */
.journey__header {
  position: absolute;
  left: clamp(1.25rem, 5vw, 3rem);
  top: clamp(5rem, 10vh, 7rem);
  z-index: 4;
  max-width: 34rem;
  color: rgba(251,250,246,0.92);
  text-shadow: 0 2px 24px rgba(6,7,11,0.55);
  transition: opacity 0.5s var(--ease), transform 0.5s var(--ease);
}
.journey.is-advanced .journey__header { opacity: 0; transform: translateY(-16px); }

.journey__eyebrow {
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(251,250,246,0.55);
  margin-bottom: 0.9rem;
}
.journey__title {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(2.5rem, 6vw, 5rem);
  line-height: 1;
  letter-spacing: -0.02em;
}
.journey__title em {
  font-style: italic;
  background: linear-gradient(180deg, #c7d2fe 0%, #818cf8 100%);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
}
.journey__sub {
  margin-top: 0.8rem;
  font-family: var(--mono);
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  color: rgba(251,250,246,0.45);
}

/* milestone deck (center stage) */
.journey__deck {
  position: absolute;
  left: 0; right: 0; bottom: clamp(6rem, 14vh, 10rem);
  z-index: 3;
  display: grid;
  place-items: end center;
  padding: 0 clamp(1.25rem, 4vw, 2.5rem);
}
.milestone {
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translate(-50%, 24px);
  max-width: 44rem;
  text-align: center;
  opacity: 0;
  transition:
    opacity 0.55s var(--ease),
    transform 0.55s var(--ease-out),
    filter 0.55s var(--ease);
  filter: blur(6px);
  color: var(--paper);
  will-change: transform, opacity;
}
.milestone.is-active {
  opacity: 1;
  transform: translate(-50%, 0);
  filter: blur(0);
}
.milestone__year {
  font-family: var(--mono);
  font-size: 0.78rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: rgba(251,250,246,0.55);
  margin-bottom: 1rem;
}
.milestone__name {
  font-family: var(--serif);
  font-size: clamp(3rem, 7vw, 5.5rem);
  line-height: 0.95;
  letter-spacing: -0.02em;
  color: var(--paper);
}
.milestone__marker {
  display: inline-block;
  margin-top: 0.9rem;
  padding: 0.3rem 0.75rem;
  border-radius: 999px;
  border: 1px solid rgba(251,250,246,0.2);
  font-family: var(--mono);
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  color: rgba(251,250,246,0.72);
}
.milestone__detail {
  margin: 1.2rem auto 0;
  max-width: 40rem;
  font-size: clamp(1rem, 1.2vw + 0.6rem, 1.18rem);
  line-height: 1.55;
  color: rgba(251,250,246,0.78);
}
.milestone[data-status="upcoming"] .milestone__name {
  font-style: italic;
  background: linear-gradient(180deg, #c7d2fe 0%, #818cf8 100%);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
}

/* scroll progress bar */
.journey__progress {
  position: absolute;
  left: clamp(1.25rem, 4vw, 2.5rem);
  right: clamp(1.25rem, 4vw, 2.5rem);
  bottom: 2rem;
  height: 1px;
  background: rgba(251,250,246,0.15);
  z-index: 4;
}
.journey__progress-fill {
  display: block;
  height: 100%;
  width: 0;
  background: linear-gradient(90deg, #c7d2fe, #818cf8);
  transition: width 0.05s linear;
}

/* rail (tick marks) */
.journey__rail {
  position: absolute;
  left: clamp(1.25rem, 4vw, 2.5rem);
  right: clamp(1.25rem, 4vw, 2.5rem);
  bottom: 1.6rem;
  height: 1rem;
  z-index: 4;
  display: flex;
  pointer-events: none;
  list-style: none;
}
.journey__rail li {
  flex: 1;
  position: relative;
}
.journey__rail li::before {
  content: "";
  position: absolute;
  bottom: 0; left: 0;
  width: 1px; height: 6px;
  background: rgba(251,250,246,0.3);
}
.journey__rail li.is-passed::before { background: rgba(199,210,254,0.9); box-shadow: 0 0 8px rgba(199,210,254,0.8); }
.journey__rail li span {
  position: absolute;
  bottom: 10px; left: 0;
  font-family: var(--mono);
  font-size: 0.62rem;
  letter-spacing: 0.14em;
  color: rgba(251,250,246,0.35);
  white-space: nowrap;
}

@media (max-width: 720px) {
  .journey__header { top: 4.5rem; }
  .journey__title  { font-size: clamp(2rem, 9vw, 3rem); }
  .milestone__name { font-size: clamp(2.2rem, 10vw, 3.6rem); }
}

/* ───────────────────────── Memes (1B+ ETH memecoins) ───────────────────────── */
.memes {
  position: relative;
  background: #050609;
  color: #e8e9ed;
  overflow: hidden;
  isolation: isolate;
  padding: clamp(6rem, 12vh, 9rem) clamp(1.25rem, 4vw, 2.5rem);
}
.memes::before {
  /* faint starfield */
  content: "";
  position: absolute; inset: 0;
  background:
    radial-gradient(circle at 20% 30%, rgba(199, 210, 254, 0.08) 0%, transparent 40%),
    radial-gradient(circle at 80% 70%, rgba(129, 140, 248, 0.10) 0%, transparent 40%);
  pointer-events: none;
  z-index: 0;
}
.memes__inner {
  position: relative;
  z-index: 1;
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: clamp(2rem, 6vw, 5rem);
  align-items: start;
}

/* ── left: copy + timeline ── */
.memes__copy { min-width: 0; }
.memes__eyebrow {
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(232, 233, 237, 0.5);
  margin-bottom: 1rem;
}
.memes__title {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(2.4rem, 5.4vw, 4.4rem);
  line-height: 1.02;
  letter-spacing: -0.02em;
  color: #f2f3f7;
}
.memes__title em {
  font-style: italic;
  background: linear-gradient(180deg, #c7d2fe 0%, #818cf8 100%);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
}
.memes__lede {
  margin-top: 1.2rem;
  max-width: 48ch;
  color: rgba(232, 233, 237, 0.72);
  font-size: 1.05rem;
  line-height: 1.55;
}

.memelist {
  list-style: none;
  margin-top: clamp(2.5rem, 5vh, 4rem);
  padding: 0;
}
.meme {
  position: relative;
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 1.4rem;
  padding: 1.6rem 0 1.6rem 2rem;
  border-top: 1px solid rgba(232, 233, 237, 0.08);
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.6s var(--ease-out), transform 0.6s var(--ease-out);
}
.meme.is-in { opacity: 1; transform: translateY(0); }
.meme:last-child { border-bottom: 1px solid rgba(232, 233, 237, 0.08); }

.meme__img {
  width: 72px;
  height: 72px;
  object-fit: contain;
  border-radius: 14px;
  padding: 4px;
  background: linear-gradient(180deg, rgba(199,210,254,0.12), rgba(129,140,248,0.06));
  border: 1px solid rgba(199,210,254,0.14);
  filter: drop-shadow(0 6px 14px rgba(0,0,0,0.45));
  align-self: start;
  margin-top: 2px;
}

.meme__body { min-width: 0; }

.meme__rail {
  position: absolute;
  left: 0; top: 1.95rem;
  width: 8px; height: 8px;
  border-radius: 50%;
  background: #c7d2fe;
  box-shadow: 0 0 16px rgba(199,210,254,0.6), 0 0 0 4px rgba(199,210,254,0.12);
}
.meme__rail::before {
  /* vertical line running down from the dot */
  content: "";
  position: absolute;
  left: 50%; top: 100%;
  width: 1px; height: calc(100% + 2rem);
  background: linear-gradient(180deg, rgba(199,210,254,0.4), rgba(199,210,254,0));
  transform: translateX(-50%);
}
.meme:last-child .meme__rail::before { display: none; }

.meme header {
  display: flex;
  align-items: baseline;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 0.6rem;
}
.meme__year {
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(232, 233, 237, 0.5);
}
.meme__name {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(1.8rem, 2.6vw, 2.4rem);
  letter-spacing: -0.01em;
  color: #f2f3f7;
  line-height: 1;
}
.meme__peak {
  margin-left: auto;
  font-family: var(--mono);
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  padding: 0.25rem 0.65rem;
  border-radius: 999px;
  border: 1px solid rgba(199, 210, 254, 0.3);
  color: #c7d2fe;
  background: rgba(129, 140, 248, 0.08);
}
.meme__detail {
  color: rgba(232, 233, 237, 0.72);
  font-size: 1rem;
  line-height: 1.6;
  max-width: 54ch;
}
.meme__foot {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  margin-top: 0.9rem;
  flex-wrap: wrap;
}
.meme__price {
  display: inline-flex; align-items: center; gap: 0.4rem;
  font-family: var(--mono);
  font-size: 0.82rem;
  color: rgba(232, 233, 237, 0.92);
  letter-spacing: 0.01em;
}
.meme__price::before {
  content: "";
  width: 7px; height: 7px; border-radius: 50%;
  background: #86efac;
  box-shadow: 0 0 8px rgba(134, 239, 172, 0.8);
}
.meme__price[data-stale]::before { background: rgba(232, 233, 237, 0.4); box-shadow: none; }
.meme__change {
  font-size: 0.72rem;
  padding: 0.15rem 0.4rem;
  border-radius: 4px;
  letter-spacing: 0.02em;
}
.meme__change--up   { color: #86efac; background: rgba(134, 239, 172, 0.08); }
.meme__change--down { color: #fca5a5; background: rgba(252, 165, 165, 0.08); }
.meme__dex {
  display: inline-flex; align-items: center; gap: 0.35rem;
  font-family: var(--mono);
  font-size: 0.78rem;
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  border: 1px solid rgba(199, 210, 254, 0.25);
  background: rgba(129, 140, 248, 0.06);
  color: #c7d2fe;
  transition: background 0.25s var(--ease), color 0.25s var(--ease), border-color 0.25s var(--ease), transform 0.25s var(--ease-out);
}
.meme__dex:hover {
  background: #c7d2fe;
  color: #050609;
  border-color: #c7d2fe;
  transform: translateY(-1px);
}

/* ── right: Ethereum gif ── */
.memes__visual {
  position: sticky;
  top: 10vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 1.5rem;
  border-radius: 22px;
  background: #000;
  overflow: hidden;
  isolation: isolate;
  min-height: 520px;
}
.memes__glow {
  position: absolute; inset: -30%;
  background:
    radial-gradient(40% 30% at 50% 50%, rgba(129, 140, 248, 0.25) 0%, transparent 70%);
  filter: blur(30px);
  pointer-events: none;
  z-index: 0;
}
.memes__eth {
  position: relative;
  z-index: 1;
  max-width: 72%;
  height: auto;
  object-fit: contain;
  mix-blend-mode: screen; /* black bg drops away on top of our black panel */
  filter: drop-shadow(0 0 40px rgba(199, 210, 254, 0.3));
}
.memes__eth--fallback { display: none; } /* shown only if video fails; see JS */

.memes__caption {
  position: relative;
  z-index: 1;
  margin-top: 1.5rem;
  font-family: var(--mono);
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  color: rgba(232, 233, 237, 0.6);
  max-width: 28ch;
}
.memes__caption strong { color: #c7d2fe; font-weight: 500; }
.memes__sigil {
  font-family: var(--serif);
  font-style: italic;
  font-size: 2.6rem;
  color: #c7d2fe;
  margin-bottom: 0.4rem;
  line-height: 1;
}

@media (max-width: 900px) {
  .memes__inner { grid-template-columns: 1fr; }
  .memes__visual { position: relative; top: 0; min-height: 420px; order: -1; }
}

/* ───────────────────────── CTA + Footer ───────────────────────── */
.cta {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  color: var(--paper);
  padding: clamp(7rem, 18vh, 12rem) clamp(1.25rem, 4vw, 2.5rem) 0;
  background: #06070b;
}
.cta__bg {
  position: absolute; inset: 0;
  z-index: 0;
  pointer-events: none;
}
.cta__bg img,
.cta__video {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  filter: saturate(0.95) brightness(0.82);
}
.cta__bg-veil {
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(6,7,11,0.55) 0%, rgba(6,7,11,0.35) 40%, rgba(6,7,11,0.75) 100%),
    radial-gradient(60% 50% at 50% 30%, rgba(129,140,248,0.18) 0%, rgba(6,7,11,0) 70%);
}
.cta__inner {
  position: relative; z-index: 1;
  max-width: 880px;
  margin: 0 auto;
  text-align: center;
}
.cta__eyebrow {
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(251, 250, 246, 0.55);
  margin-bottom: 1rem;
}
.cta__title {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(3rem, 7vw, 6rem);
  line-height: 0.98;
  letter-spacing: -0.02em;
  color: var(--paper);
  text-shadow: 0 2px 40px rgba(6,7,11,0.6);
}
.cta__title em {
  font-style: italic;
  background: linear-gradient(180deg, #c7d2fe 0%, #818cf8 100%);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
}
.cta__lede {
  margin: 1.4rem auto 0;
  max-width: 46ch;
  font-size: clamp(1rem, 1.2vw + 0.6rem, 1.2rem);
  line-height: 1.55;
  color: rgba(251, 250, 246, 0.78);
}
.cta__buttons {
  display: flex; justify-content: center; gap: 0.75rem;
  flex-wrap: wrap;
  margin-top: 2.2rem;
}
.social--lg {
  padding: 0.95rem 1.5rem;
  font-size: 1rem;
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.18);
  color: var(--paper);
  backdrop-filter: blur(8px);
}
.social--lg:hover {
  background: var(--paper);
  color: var(--ink);
  border-color: var(--paper);
}

/* Footer inside CTA */
.footer {
  margin-top: clamp(5rem, 12vh, 8rem);
  padding: 2.5rem 0 2rem;
  border-top: 1px solid rgba(251, 250, 246, 0.1);
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 1.5rem;
}
.footer__brand {
  display: inline-flex; align-items: center; gap: 0.55rem;
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.15rem;
  color: var(--paper);
}
.footer__links {
  display: flex;
  justify-content: center;
  gap: clamp(0.9rem, 2.4vw, 1.8rem);
  font-family: var(--mono);
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(251, 250, 246, 0.6);
}
.footer__links a {
  transition: color 0.25s var(--ease);
}
.footer__links a:hover { color: var(--paper); }
.footer__mini {
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.04em;
  color: rgba(251, 250, 246, 0.4);
  text-align: right;
}
.footer__mini em {
  font-style: italic;
  font-family: var(--serif);
  font-size: 0.88rem;
  letter-spacing: 0;
  color: rgba(199, 210, 254, 0.75);
}

@media (max-width: 720px) {
  .footer {
    grid-template-columns: 1fr;
    text-align: center;
    justify-items: center;
  }
  .footer__mini { text-align: center; }
}

/* ───────────────────────── Responsive ───────────────────────── */
@media (max-width: 860px) {
  .nav__links { display: none; }
  .hero__stats { gap: 1rem; font-size: 0.9rem; }
  .hero__stats dd { font-size: 1.15rem; }
  .hero__characters { height: 50%; }
  .char--mog { top: 22%; }
}
@media (max-width: 600px) {
  .char--pepe  { height: 10rem; bottom: 7%;  left: -1.5rem; }
  .char--wojak { height: 12rem; bottom: -2%; left: 3rem; }
  .char--doge  { height: 10rem; bottom: 6%;  right: -1.5rem; }
  .char--spx   { height: 12rem; bottom: -1%; right: 3rem; }
  .char--mog   { height: 5rem;  top: 18%; }
  .hero__title { font-size: clamp(3rem, 14vw, 5rem); }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .char { will-change: auto; }
}
