/* ───────────────────────────────────────────────────────────
   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;
  /* Default = over a dark section (hero/memes/journey/breathe/cta).
     The body.on-light class flips it back to ink for the Anya section. */
  color: var(--paper);
  text-shadow: 0 1px 18px rgba(11, 13, 18, 0.55);
  transition: color 0.3s var(--ease);
}
/* 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.45));
  transition: filter 0.3s var(--ease);
}
/* Default brand-mark palette = bright (legible on dark video).
   The dark variant lives under body.on-light below for the Anya section. */
.brand-mark .bm-a { fill: #c7d2fe; }
.brand-mark .bm-b { fill: #818cf8; }
.brand-mark .bm-c { fill: #e0e7ff; }
.brand-mark .bm-d { fill: #a5b4fc; }
.brand-mark .bm-e { fill: #6366f1; }
.brand-mark .bm-f { fill: #818cf8; }
.brand-mark .bm-a, .brand-mark .bm-b, .brand-mark .bm-c,
.brand-mark .bm-d, .brand-mark .bm-e, .brand-mark .bm-f {
  transition: fill 0.3s var(--ease);
}

/* Anya section is paper-toned — restore the dark brand-mark palette */
body.on-light .nav__brand {
  color: var(--ink);
  text-shadow: none;
}
body.on-light .brand-mark { filter: drop-shadow(0 4px 10px rgba(129, 140, 248, 0.35)); }
body.on-light .brand-mark .bm-a { fill: #7b86c6; }
body.on-light .brand-mark .bm-b { fill: #4a5388; }
body.on-light .brand-mark .bm-c { fill: #a3abd8; }
body.on-light .brand-mark .bm-d { fill: #5f6aa7; }
body.on-light .brand-mark .bm-e { fill: #2e3562; }
body.on-light .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;
  /* No flex centering — the title and the lower (buttons) block are each
     absolutely positioned to land in their own slot:
       title  → center at 30% of viewport (clears the video subject area)
       lower  → center at 60% of viewport (≈ where the buttons sat before) */
  padding: 0 clamp(1.25rem, 4vw, 2.5rem);
  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__title,
.hero__lower {
  position: absolute;
  left: 50%;
  width: calc(100% - 2 * clamp(1.25rem, 4vw, 2.5rem));
  max-width: 980px;
  text-align: center;
  z-index: 2;
}
.hero__title { top: 22%; transform: translate(-50%, -50%); }
.hero__lower { top: 60%; transform: translate(-50%, -50%); }

/* ── word-by-word reveal — total ≈ 3 s across 4 words ── */
.word {
  display: inline-block;
  overflow: hidden;
  vertical-align: bottom;
  line-height: 0.92;          /* matches .hero__title line-height so the mask doesn't clip descenders */
  padding-bottom: 0.06em;     /* tiny breathing room for italic descenders */
}
.word__inner {
  display: inline-block;
  transform: translateY(110%);
  animation: word-reveal 0.75s var(--ease-out) both;
  animation-delay: calc(var(--i, 0) * 0.75s);
  will-change: transform;
}
@keyframes word-reveal {
  to { transform: translateY(0); }
}

/* Lower block (socials + contract) fades in once the title finishes. */
.hero__lower {
  opacity: 0;
  animation: hero-lower-fade 0.6s var(--ease-out) 3.05s forwards;
}
@keyframes hero-lower-fade {
  to { opacity: 1; }
}

@media (prefers-reduced-motion: reduce) {
  .word__inner   { transform: none; animation: none; }
  .hero__lower   { opacity: 1; animation: none; }
}
.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(--paper);
  /* Subtle dark drop only — invisible against the dark video, lifts contrast
     where the video brightens. No light halo (clipped halos at the .word
     mask boundary were producing visible rectangular glows around each word). */
  text-shadow: 0 2px 22px rgba(11, 13, 18, 0.55);
}
.hero__title .line { display: block; }
.hero__title .line--italic {
  font-style: italic;
  color: rgba(251, 250, 246, 0.86);
}
.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 (tabbed timeline) ───────────────────────── */
.journey {
  position: relative;
  /* Always one full viewport tall — adapts to whatever the screen actually is.
     100dvh tracks the dynamic viewport (URL bar collapsing on mobile etc.);
     100svh is the safer fallback that won't jump around. Min keeps tiny
     phone-landscape from cramping; the viewport floor at huge desktop sizes
     also stays sensible (1100px cap so 4K displays don't show an ocean of
     dead space below the chips). */
  height: 100dvh;
  min-height: 100svh;
  max-height: 1100px;
  overflow: hidden;
  isolation: isolate;
  background: #06070b;
  padding: clamp(5rem, 11vh, 8rem) clamp(1.25rem, 4vw, 3rem) clamp(3.5rem, 7vh, 5.5rem);
  color: var(--paper);
}
.journey__video {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  z-index: 0;
  background: #06070b;
  /* slightly dimmed so chips + detail copy stay legible without a heavy veil */
  filter: brightness(0.55) saturate(0.9);
}
.journey__veil {
  position: absolute; inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(6,7,11,0.55) 0%, rgba(6,7,11,0.30) 45%, rgba(6,7,11,0.85) 100%),
    linear-gradient(90deg, rgba(6,7,11,0.55) 0%, rgba(6,7,11,0) 60%);
}
.journey__inner {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  height: 100%;
  /* Header sits on top, body fills remaining height and centers within it.
     This way short laptops don't crop the bottom and tall desktops don't
     leave a vacuum under the chip rail. */
  display: grid;
  grid-template-rows: auto 1fr;
  gap: clamp(2rem, 6vh, 4rem);
}

.journey__header {
  max-width: 38rem;
  align-self: end;
}
.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.4rem, 5.6vw, 4.6rem);
  line-height: 1;
  letter-spacing: -0.02em;
  color: var(--paper);
}
.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.5);
}

.journey__body {
  display: grid;
  grid-template-columns: minmax(180px, 220px) 1fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;        /* chip rail and detail panel align to a common centerline */
  align-self: center;
  width: 100%;
}

/* ── year chip rail (left col) ── */
.journey__years {
  list-style: none;
  margin: 0; padding: 0;
  display: grid;
  /* Chip gap stretches a touch on tall screens so the rail breathes. */
  gap: clamp(0.35rem, 0.9vh, 0.7rem);
  position: relative;
}
/* Hairline timeline thread connecting the year bullets — purely decorative. */
.journey__years::before {
  content: "";
  position: absolute;
  top: 1.3rem;        /* clears first bullet */
  bottom: 1.3rem;     /* clears last bullet */
  left: 1.4rem;       /* padding-left + half bullet width */
  width: 1px;
  background: linear-gradient(
    180deg,
    rgba(251,250,246,0) 0%,
    rgba(251,250,246,0.10) 12%,
    rgba(251,250,246,0.10) 88%,
    rgba(251,250,246,0) 100%
  );
  pointer-events: none;
  z-index: 0;
}
.journey__year {
  appearance: none;
  width: 100%;
  position: relative;          /* sits above the timeline thread */
  z-index: 1;
  border: 1px solid rgba(251, 250, 246, 0.10);
  background: rgba(11, 13, 18, 0.42);
  color: rgba(251, 250, 246, 0.62);
  font-family: var(--mono);
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  padding: 0.7rem 1rem;
  text-align: left;
  cursor: pointer;
  border-radius: 4px;
  display: flex;
  align-items: center;
  gap: 0.7rem;
  backdrop-filter: blur(4px);
  transition:
    color 0.25s var(--ease),
    background 0.25s var(--ease),
    border-color 0.25s var(--ease);
}
.journey__year::before {
  content: "";
  width: 8px; height: 8px;
  border: 1px solid rgba(251, 250, 246, 0.32);
  border-radius: 50%;
  flex-shrink: 0;
  transition: background 0.25s var(--ease), border-color 0.25s var(--ease), box-shadow 0.25s var(--ease);
}
.journey__year:hover {
  color: var(--paper);
  border-color: rgba(199, 210, 254, 0.4);
}
.journey__year.is-active {
  color: var(--paper);
  background: rgba(199, 210, 254, 0.08);
  border-color: rgba(199, 210, 254, 0.6);
}
.journey__year.is-active::before {
  background: var(--ether);
  border-color: var(--ether);
  box-shadow: 0 0 12px rgba(199, 210, 254, 0.7);
}
.journey__year[data-status="upcoming"] {
  font-style: italic;
}
.journey__year:focus-visible {
  outline: none;
  border-color: var(--ether);
  box-shadow: 0 0 0 3px rgba(199, 210, 254, 0.18);
}

/* ── detail panel (right col) ── */
.journey__detail {
  position: relative;
  min-height: 280px;
  transition: opacity 0.3s var(--ease), transform 0.3s var(--ease);
}
.journey__detail.is-swapping {
  opacity: 0;
  transform: translateY(8px);
}
.journey__detail-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: 0.9rem;
}
.journey__detail-name {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(2.6rem, 6.5vw, 5.5rem);
  line-height: 0.95;
  letter-spacing: -0.02em;
  color: var(--paper);
}
.journey__detail-marker {
  display: inline-block;
  margin-top: 1rem;
  padding: 0.35rem 0.85rem;
  border: 1px solid rgba(251, 250, 246, 0.22);
  border-radius: 999px;
  font-family: var(--mono);
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  color: rgba(251, 250, 246, 0.78);
  background: rgba(11, 13, 18, 0.45);
}
.journey__detail-text {
  margin-top: 1.4rem;
  max-width: 38rem;
  font-size: clamp(1rem, 1vw + 0.6rem, 1.18rem);
  line-height: 1.6;
  color: rgba(251, 250, 246, 0.82);
}
.journey__detail[data-status="upcoming"] .journey__detail-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;
}

@media (max-width: 720px) {
  .journey {
    /* Mobile: release the strict viewport height — horizontal chip strip plus
       the detail panel needs natural document flow. Still aim for 1 viewport
       of feel via min-height. */
    height: auto;
    min-height: 100svh;
    max-height: none;
    padding: clamp(4rem, 8vh, 6rem) clamp(1.25rem, 4vw, 2rem) 3rem;
  }
  .journey__inner {
    height: auto;
    grid-template-rows: auto auto;
    gap: clamp(1.5rem, 4vh, 2.5rem);
  }
  .journey__header { align-self: start; }
  .journey__title { font-size: clamp(2rem, 9vw, 3rem); }
  .journey__body {
    grid-template-columns: 1fr;
    gap: 1.5rem;
    align-items: start;
  }
  .journey__years {
    /* horizontal scrollable strip on mobile — no thread line */
    display: flex;
    overflow-x: auto;
    overflow-y: hidden;
    gap: 0.5rem;
    padding-bottom: 0.5rem;
    scrollbar-width: thin;
    scroll-snap-type: x proximity;
    -webkit-overflow-scrolling: touch;
  }
  .journey__years::before { display: none; }
  .journey__year {
    flex: 0 0 auto;
    scroll-snap-align: start;
  }
  .journey__detail-name { font-size: clamp(2rem, 10vw, 3rem); }
  .journey__detail { min-height: 220px; }
}

/* ───────────────────────── 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; }
}
@media (max-width: 600px) {
  .hero__title   { font-size: clamp(3rem, 14vw, 5rem); }
  .hero__socials { margin-top: clamp(2rem, 6vh, 3.5rem); }
  .hero__lede    { margin-top: 1rem; }
  .ca            { margin-top: 1.1rem; }
}

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


/* ───────────────────────── Anya ───────────────────────── */
.anya {
  position: relative;
  background: var(--paper);
  color: var(--ink);
  padding: clamp(6rem, 12vh, 10rem) clamp(1.25rem, 4vw, 2.5rem);
  overflow: hidden;
  isolation: isolate;
}
.anya::before {
  content: "";
  position: absolute; left: clamp(1.25rem, 4vw, 2.5rem); right: clamp(1.25rem, 4vw, 2.5rem); top: 0;
  height: 1px;
  background: var(--line-soft);
}
.anya__inner {
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: clamp(2.5rem, 7vw, 6rem);
  align-items: center;
}

.anya__copy { min-width: 0; }
.anya__eyebrow {
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(11, 13, 18, 0.5);
  margin-bottom: 1rem;
}
.anya__title {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(3.5rem, 11vw, 10.5rem);
  line-height: 0.95;
  letter-spacing: -0.02em;
  color: var(--ink);
}
.anya__title em {
  font-style: italic;
  background: linear-gradient(180deg, var(--ether-deep) 0%, #5b67d8 100%);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
}
.anya__lede {
  margin-top: 1.6rem;
  max-width: 38ch;
  color: rgba(11, 13, 18, 0.72);
  font-size: 1.05rem;
  line-height: 1.6;
}

.anya__visual {
  position: relative;
  margin: 0;
  justify-self: end;
  width: 100%;
  max-width: 560px;
}
.anya__frame {
  position: relative;
  aspect-ratio: 4 / 5;
  border-radius: var(--r-lg);
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--ink);
  box-shadow: 0 24px 60px -28px rgba(11, 13, 18, 0.35);
}
.anya__frame::after {
  content: "";
  position: absolute; inset: 0;
  pointer-events: none;
  border-radius: inherit;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.06);
}
.anya__video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

@media (max-width: 860px) {
  .anya__inner {
    grid-template-columns: 1fr;
    gap: clamp(2rem, 6vw, 3rem);
  }
  .anya__visual {
    order: -1;
    justify-self: center;
    max-width: 460px;
  }
  .anya__frame { aspect-ratio: 3 / 4; }
  .anya__title { font-size: clamp(3rem, 16vw, 6rem); }
}


/* ───────────────────────── Breathe ───────────────────────── */
/* Source video is ~2.33:1 cinematic letterbox. Section height stays close to that
   ratio so object-fit: cover crops minimally — see more horizon, less stretch. */
.breathe {
  position: relative;
  width: 100%;
  height: clamp(56vh, 64vh, 680px);
  overflow: hidden;
  isolation: isolate;
  color: var(--paper);
  display: grid;
  place-items: center;
}
.breathe__video {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  filter: brightness(0.62) saturate(0.85);
  z-index: 0;
}
.breathe__veil {
  position: absolute; inset: 0;
  z-index: 1;
  background:
    linear-gradient(180deg, rgba(11, 13, 18, 0.50) 0%, rgba(11, 13, 18, 0.18) 45%, rgba(11, 13, 18, 0.65) 100%),
    radial-gradient(ellipse at 50% 50%, rgba(11, 13, 18, 0) 0%, rgba(11, 13, 18, 0.35) 80%);
}
.breathe__inner {
  position: relative;
  z-index: 2;
  max-width: 1100px;
  text-align: center;
  padding: 0 clamp(1.25rem, 4vw, 2.5rem);
}
.breathe__eyebrow {
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(251, 250, 246, 0.6);
  margin-bottom: 1.4rem;
}
.breathe__title {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(2.4rem, 6.4vw, 6rem);
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: var(--paper);
}
.breathe__title em {
  font-style: italic;
  background: linear-gradient(180deg, #e0e7ff 0%, var(--ether) 100%);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
}
.breathe__sub {
  margin-top: 1.4rem;
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(1.05rem, 1.4vw, 1.25rem);
  color: rgba(251, 250, 246, 0.62);
  letter-spacing: 0.01em;
}

@media (max-width: 720px) {
  .breathe { height: 56vh; }
  .breathe__title { font-size: clamp(2rem, 8vw, 3.2rem); }
  .breathe__sub   { font-size: 1rem; }
}


/* ───── Decorative video controls — kill all UI overlays ───── */
/* These videos are background ambience: muted, looped, autoplay. Any native
   control affordance (start-playback button on iOS, picture-in-picture, etc.)
   is unwanted. Hide everything; videos remain non-interactive. */
.hero__video::-webkit-media-controls,
.anya__video::-webkit-media-controls,
.journey__video::-webkit-media-controls,
.breathe__video::-webkit-media-controls,
.cta__video::-webkit-media-controls,
.memes__eth::-webkit-media-controls {
  display: none !important;
}
.hero__video::-webkit-media-controls-start-playback-button,
.anya__video::-webkit-media-controls-start-playback-button,
.journey__video::-webkit-media-controls-start-playback-button,
.breathe__video::-webkit-media-controls-start-playback-button,
.cta__video::-webkit-media-controls-start-playback-button,
.memes__eth::-webkit-media-controls-start-playback-button {
  display: none !important;
  -webkit-appearance: none;
}
.hero__video, .anya__video, .journey__video,
.breathe__video, .cta__video, .memes__eth {
  pointer-events: none;
}


/* ───────────────────────── Mainnet ─────────────────────────
   Vitalik portrait + manifesto. Image LEFT, copy RIGHT (mirrors Anya's
   layout for visual rhythm). Light paper section above the dark hero. */
.mainnet {
  background: var(--paper);
  padding: clamp(6rem, 11vw, 9rem) clamp(1rem, 4vw, 2.5rem);
  border-top: 1px solid var(--line-soft);
}
.mainnet__inner {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: clamp(2rem, 6vw, 5rem);
  max-width: 1320px;
  margin: 0 auto;
  align-items: center;
}
.mainnet__visual {
  margin: 0;
}
.mainnet__frame {
  aspect-ratio: 4 / 5;
  border-radius: var(--r-lg);
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--ink-soft);
}
.mainnet__img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.mainnet__caption {
  margin-top: 0.75rem;
  font-family: var(--sans);
  font-size: 0.8rem;
  font-style: italic;
  color: rgba(11, 13, 18, 0.55);
  text-align: left;
  letter-spacing: 0.01em;
}
.mainnet__copy {
  max-width: 56ch;
}
.mainnet__eyebrow {
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(11, 13, 18, 0.55);
  margin: 0 0 1rem 0;
}
.mainnet__title {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(48px, 8vw, 132px);
  line-height: 0.98;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin: 0;
}
.mainnet__title em {
  font-style: italic;
  background: linear-gradient(180deg, var(--ether-deep) 0%, var(--ink) 100%);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
}
.mainnet__lede {
  font-family: var(--sans);
  font-size: clamp(1.05rem, 1.4vw, 1.25rem);
  line-height: 1.55;
  color: rgba(11, 13, 18, 0.85);
  max-width: 42ch;
  margin: 1.5rem 0 0 0;
}
.mainnet__lede strong {
  font-weight: 600;
  color: var(--ink);
}
.mainnet__body {
  font-family: var(--sans);
  font-size: 1rem;
  line-height: 1.65;
  color: rgba(11, 13, 18, 0.72);
  max-width: 50ch;
  margin: 1.1rem 0 0 0;
}
.mainnet__stamp {
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(28px, 4vw, 56px);
  letter-spacing: 0.02em;
  margin: 2rem 0 0 0;
  background: linear-gradient(180deg, var(--ether-deep) 0%, var(--ink) 100%);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
}

@media (max-width: 860px) {
  .mainnet {
    padding: clamp(4rem, 10vw, 6rem) clamp(1rem, 4vw, 2rem);
  }
  .mainnet__inner {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .mainnet__title {
    font-size: clamp(40px, 12vw, 72px);
  }
  .mainnet__caption {
    text-align: center;
  }
}


/* ───────────────────────── Ticker ─────────────────────────
   Thin live-price band. ETH from CoinGecko (Coinbase fallback). The
   ETHmaxxing token cell ships with [hidden] until the contract is live. */
.ticker {
  background: var(--paper);
  border-block: 1px solid var(--line);
  padding: clamp(0.9rem, 1.6vw, 1.25rem) clamp(1rem, 4vw, 2.5rem);
}
.ticker__inner {
  display: flex;
  justify-content: center;
  align-items: baseline;
  gap: clamp(2rem, 6vw, 4rem);
  max-width: 1320px;
  margin: 0 auto;
  flex-wrap: wrap;
}
.ticker__cell {
  display: inline-flex;
  align-items: baseline;
  gap: 0.7rem;
}
/* HTML [hidden] is display:none, but explicit display: inline-flex above
   overrides it. Re-assert hidden semantics for the locked token cell. */
.ticker__cell[hidden] { display: none !important; }
.ticker__label {
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(11, 13, 18, 0.55);
}
.ticker__price {
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(1.4rem, 2.2vw, 1.9rem);
  color: var(--ink);
  font-feature-settings: "tnum" 1;
  font-variant-numeric: tabular-nums;
  transition: opacity 0.2s ease;
}
.ticker__price[data-loading="true"] {
  color: rgba(11, 13, 18, 0.4);
}
.ticker__delta {
  font-family: var(--mono);
  font-size: 0.85rem;
  font-weight: 500;
  color: rgba(11, 13, 18, 0.45);
  font-variant-numeric: tabular-nums;
}
.ticker__delta--up   { color: #2f8f5e; }
.ticker__delta--down { color: #b04a3a; }

@media (max-width: 720px) {
  .ticker__inner { gap: 1.5rem; }
  .ticker__price { font-size: clamp(1.25rem, 5.5vw, 1.6rem); }
}


/* ───────────────────────── Mobile refinements ─────────────────────────
   Tightens headlines, tap targets, and safe-area handling on phones.
   Scoped breakpoints that layer on top of section-level rules above. */

/* Bump nav icon tap targets toward 44×44 (WCAG / iOS HIG) on touch devices */
@media (max-width: 720px) {
  .nav { gap: 1rem; padding: 0.85rem clamp(0.85rem, 4vw, 1.25rem); }
  .nav__ico { width: 42px; height: 42px; }
  .nav__cta { padding: 0.6rem 0.95rem; font-size: 0.9rem; }
  .nav__brand { font-size: 1.15rem; }
}

/* Hero — extra-small phones (≤ 380 px wide). The 600/500 rules above
   handle most of the work; this is just the iPhone-SE-class tighten. */
@media (max-width: 380px) {
  .hero__title { font-size: clamp(2.6rem, 13vw, 3.2rem); line-height: 1.0; }
  .hero__lower { gap: 1rem; }
  .ca { padding: 0.3rem 0.4rem 0.3rem 0.8rem; }
  .ca__addr { font-size: 0.7rem; }
}

/* Mainnet — phones smaller than ~ 480 px need tighter padding + smaller
   stamp + caption. The 860 px rule already collapsed the grid. */
@media (max-width: 480px) {
  .mainnet {
    padding: clamp(3rem, 9vw, 4.5rem) clamp(0.9rem, 4vw, 1.5rem);
  }
  .mainnet__title { font-size: clamp(36px, 13vw, 56px); }
  .mainnet__lede  { font-size: 1rem; }
  .mainnet__body  { font-size: 0.95rem; }
  .mainnet__stamp { font-size: clamp(24px, 7vw, 36px); margin-top: 1.5rem; }
  .mainnet__caption { font-size: 0.75rem; }
}

/* Ticker — phones. Single ETH cell stays centered; on really narrow
   widths the price-label-delta triplet should wrap gracefully, with
   the label dropped to a tighter footprint. */
@media (max-width: 480px) {
  .ticker { padding: 0.85rem 1rem; }
  .ticker__cell {
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.45rem 0.6rem;
  }
  .ticker__label { width: 100%; text-align: center; font-size: 0.66rem; }
  .ticker__price { font-size: clamp(1.35rem, 6.5vw, 1.7rem); }
  .ticker__delta { font-size: 0.78rem; }
}

/* Breathe — phones. Title needs to fit without awkward orphan words */
@media (max-width: 480px) {
  .breathe { height: 50vh; }
  .breathe__title {
    font-size: clamp(1.85rem, 7.5vw, 2.6rem);
    letter-spacing: -0.015em;
    line-height: 1.1;
    padding: 0 0.5rem;
  }
  .breathe__sub { font-size: 0.95rem; padding: 0 1rem; }
  .breathe__eyebrow { font-size: 0.66rem; margin-bottom: 1rem; }
}

/* Anya — phones. Existing 860 rule collapses; this is the sub-480 polish */
@media (max-width: 480px) {
  .anya { padding: clamp(3rem, 9vw, 4.5rem) clamp(0.9rem, 4vw, 1.5rem); }
  .anya__title { font-size: clamp(40px, 14vw, 64px); }
}

/* Memes — phones. Card padding + headline already responsive via clamps;
   guarantee no horizontal overflow from long meme detail strings */
@media (max-width: 480px) {
  .memes__inner { gap: 2.5rem; }
  .meme { padding: 1rem 0.85rem; }
  .meme__name { font-size: 1.1rem; }
  .meme__detail { font-size: 0.92rem; }
  .meme__year, .meme__peak { font-size: 0.7rem; }
  .meme__foot { gap: 0.5rem; flex-wrap: wrap; }
}

/* Footer — wraps cleanly on phones (existing 720 rule centers it) */
@media (max-width: 480px) {
  .footer__links {
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.6rem 1rem;
    row-gap: 0.65rem;
  }
  .footer__links a { font-size: 0.95rem; padding: 0.35rem 0; }
  .footer__mini { font-size: 0.78rem; padding: 0 1rem; }
}

/* iOS safe-area — keep sticky/fixed elements off the bottom indicator */
@supports (padding: max(0px)) {
  .nav {
    padding-left:  max(clamp(1rem, 4vw, 2.5rem), env(safe-area-inset-left));
    padding-right: max(clamp(1rem, 4vw, 2.5rem), env(safe-area-inset-right));
  }
}


/* ───────── Decorative video — kill native UA overlays everywhere ─────────
   Some in-app browsers (Trust Wallet, MetaMask, Telegram WebView, etc.)
   render a big native play button on muted+autoplay videos despite our
   per-element rules above. Belt-and-suspenders: target every known
   shadow-DOM pseudo across browsers, on every muted+autoplay video. */
video[autoplay][muted]::-webkit-media-controls,
video[autoplay][muted]::-webkit-media-controls-panel,
video[autoplay][muted]::-webkit-media-controls-overlay-play-button,
video[autoplay][muted]::-webkit-media-controls-start-playback-button,
video[autoplay][muted]::-webkit-media-controls-overlay-enclosure,
video[autoplay][muted]::-webkit-media-controls-enclosure,
video[autoplay][muted]::-internal-media-controls-overlay-cast-button {
  display: none !important;
  -webkit-appearance: none !important;
  opacity: 0 !important;
  pointer-events: none !important;
  width: 0 !important;
  height: 0 !important;
}


/* ───────── Fallback "Play videos" button ─────────
   Materialized by JS only when at least one decorative video has failed
   to autoplay after retries. Tap once → all paused autoplay videos are
   resumed → button removes itself. Invisible on browsers that autoplay. */
.video-fallback {
  position: fixed;
  bottom: max(1.25rem, env(safe-area-inset-bottom, 0px));
  right:  max(1.25rem, env(safe-area-inset-right, 0px));
  z-index: 100;
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.75rem 1.15rem;
  font-family: var(--sans);
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  color: var(--paper);
  background: var(--ink);
  border: 1px solid var(--ink);
  border-radius: 999px;
  cursor: pointer;
  box-shadow: 0 10px 28px rgba(11, 13, 18, 0.45);
  animation: video-fallback-in 240ms var(--ease-out) both;
  -webkit-tap-highlight-color: transparent;
}
.video-fallback:hover {
  background: var(--ether-deep);
  border-color: var(--ether-deep);
}
.video-fallback__ico {
  display: inline-flex;
  width: 14px; height: 14px;
  align-items: center;
  justify-content: center;
}
@keyframes video-fallback-in {
  from { opacity: 0; transform: translateY(18px); }
  to   { opacity: 1; transform: translateY(0); }
}


/* ───────────────────────── Whitepaper teaser ─────────────────────────
   Lightweight CTA block on the main page. Points to /whitepaper for the
   fully-rendered native HTML doctrine. Paper bg → triggers .on-light. */
.whitepaper {
  background: var(--paper);
  border-top: 1px solid var(--line-soft);
  border-bottom: 1px solid var(--line-soft);
  padding: clamp(5rem, 10vw, 8rem) clamp(1rem, 4vw, 2.5rem);
}
.whitepaper__inner {
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
}
.whitepaper__eyebrow {
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(11, 13, 18, 0.55);
  margin: 0 0 1rem 0;
}
.whitepaper__title {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(40px, 7vw, 96px);
  line-height: 1.0;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin: 0 0 1.4rem 0;
}
.whitepaper__title em {
  font-style: italic;
  background: linear-gradient(180deg, var(--ether-deep) 0%, var(--ink) 100%);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
}
.whitepaper__lede {
  font-family: var(--sans);
  font-size: clamp(1rem, 1.4vw, 1.15rem);
  line-height: 1.6;
  color: rgba(11, 13, 18, 0.72);
  max-width: 56ch;
  margin: 0 auto 2.2rem;
}
.whitepaper__actions {
  display: inline-flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 0.85rem 1.25rem;
}
.whitepaper__btn {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.85rem 1.5rem;
  border-radius: 999px;
  font-family: var(--sans);
  font-weight: 500;
  font-size: 0.95rem;
  letter-spacing: 0.005em;
  transition: all 0.22s var(--ease);
  -webkit-tap-highlight-color: transparent;
}
.whitepaper__btn--primary {
  background: var(--ink);
  color: var(--paper);
  border: 1px solid var(--ink);
}
.whitepaper__btn--primary:hover {
  background: var(--ether-deep);
  border-color: var(--ether-deep);
  transform: translateY(-1px);
}
.whitepaper__btn--ghost {
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--line);
}
.whitepaper__btn--ghost:hover {
  background: var(--ink);
  color: var(--paper);
  border-color: var(--ink);
}

@media (max-width: 480px) {
  .whitepaper { padding: clamp(3.5rem, 9vw, 5rem) clamp(1rem, 4vw, 1.5rem); }
  .whitepaper__title { font-size: clamp(36px, 13vw, 60px); }
  .whitepaper__btn { padding: 0.75rem 1.25rem; font-size: 0.92rem; }
}

