/* Longcat — built on the original index's language:
   black stage, TWK Everett display, Inter light body,
   pastel glows, dark glass pills, snappy spring easing. */

@font-face { font-family: "Avara"; src: url("../fonts/TWKEverett-Light.woff2") format("woff2"), url("../fonts/TWKEverett-Light.woff") format("woff"); font-weight: 300; font-display: swap; }
@font-face { font-family: "Avara"; src: url("../fonts/TWKEverett-Regular.woff2") format("woff2"), url("../fonts/TWKEverett-Regular.woff") format("woff"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Avara"; src: url("../fonts/TWKEverett-Medium.woff2") format("woff2"), url("../fonts/TWKEverett-Medium.woff") format("woff"); font-weight: 500; font-display: swap; }

@property --stretch { syntax: "<number>"; inherits: true; initial-value: 1; }

:root {
  --purple: #d0bdfa;
  --green: #b6f5c4;
  --orange: #f1a382;
  --yellow: #fcefab;
  --blue: #a5cae8;
  --smoke: #f2f2f2;

  --body: #000;
  --surface: #0f0f0f;
  --raised: #1a1a1a;
  --line: rgba(255, 255, 255, .06);
  --color: #fff;
  --color-light: rgba(255, 255, 255, .4);
  --color-mid: rgba(255, 255, 255, .65);

  --font-display: "Avara", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-code: "SF Mono", "SFMono-Regular", Consolas, "Liberation Mono", Menlo, monospace;

  --ease-snappy: cubic-bezier(.175, .885, .32, 1.1);
  --ease-swift: cubic-bezier(.19, 1, .22, 1);

  --gutter: clamp(1rem, 4vw, 3rem);
  --max: 78rem;
}

@supports (color: color(display-p3 1 1 1)) {
  :root {
    --purple: color(display-p3 .8157 .7412 .9804);
    --green: color(display-p3 .7137 .9608 .7686);
    --orange: color(display-p3 .9451 .6392 .5098);
    --yellow: color(display-p3 .9882 .9373 .6706);
    --blue: color(display-p3 .6471 .7922 .9098);
  }
}

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

html { background: var(--body); color: var(--color); scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 300;
  line-height: 1.5;
  letter-spacing: -.011em;
  background: var(--body);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
::selection { background: var(--smoke); color: #000; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; cursor: pointer; }
ul, ol { list-style: none; }
code { font-family: var(--font-code); }
.muted { color: var(--color-light); }

:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; border-radius: .5rem; }

/* ---------- shared bits ---------- */

.kicker {
  font-family: var(--font-display);
  font-size: .8125rem;
  font-weight: 400;
  color: var(--color-light);
  margin-bottom: 1.25rem;
}

.display {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(1.75rem, 3.4vw, 3rem);
  line-height: 1.12;
  letter-spacing: -.03em;
  text-wrap: balance;
}
.display--sm { font-size: clamp(1.625rem, 2.8vw, 2.5rem); }

.pill {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  height: 2.75rem;
  padding: 0 1.15rem;
  border-radius: 2rem;
  font-family: var(--font-display);
  font-size: .9375rem;
  font-weight: 400;
  white-space: nowrap;
  transition: transform .2s var(--ease-snappy), background .2s ease, color .2s ease;
}
.pill:active { transform: scale(.94); }
.pill--light { background: var(--smoke); color: #000; }
.pill--light:hover { background: #fff; }
.pill--glass {
  color: #fff;
  background: linear-gradient(0deg, #0d0d0d, #0d0d0d), rgba(191, 191, 191, .13);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .04), inset 0 1px 2px rgba(255, 255, 255, .05);
}
.pill--glass:hover { background: #1c1c1c; }

.dot {
  display: inline-block;
  width: .45rem; height: .45rem;
  border-radius: 50%;
  background: var(--c);
  box-shadow: 0 0 0 .25rem color-mix(in srgb, var(--c) 18%, transparent);
}

.chip {
  position: relative;
  display: inline-block;
  padding: .3rem .45rem .25rem;
  border-radius: .375rem;
  font-size: .8125rem;
  font-weight: 400;
  line-height: 1;
  color: var(--c);
}
.chip::before, .chip::after { content: ""; position: absolute; inset: 0; border-radius: inherit; }
.chip::before { background: var(--c); opacity: .1; }
.chip::after { box-shadow: 0 0 0 1px var(--c); opacity: .4; }

/* ---------- length meter ---------- */

.meter {
  position: fixed;
  z-index: 40;
  top: 0; bottom: 0; right: .9rem;
  width: 3rem;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  justify-content: center;
  gap: .75rem;
  pointer-events: none;
}
.meter__track {
  position: relative;
  width: .6rem;
  height: 44vh;
  background: repeating-linear-gradient(to bottom, rgba(255,255,255,.22) 0 1px, transparent 1px 10%) right / .6rem 100% no-repeat,
              repeating-linear-gradient(to bottom, rgba(255,255,255,.1) 0 1px, transparent 1px 2%) right / .3rem 100% no-repeat;
}
.meter__fill {
  position: absolute;
  top: 0; right: 0;
  width: 1px;
  height: calc(var(--p, 0) * 100%);
  background: var(--smoke);
}
.meter__readout {
  font-family: var(--font-code);
  font-size: .6875rem;
  color: var(--color-light);
  white-space: nowrap;
}
.meter__readout span { color: #fff; }

/* ---------- top bar ---------- */

.bar {
  position: fixed;
  z-index: 50;
  top: 0; left: 0; right: 0;
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem var(--gutter);
  transition: background .3s ease, backdrop-filter .3s ease;
}
.bar[data-scrolled="true"] {
  background: rgba(0, 0, 0, .72);
  -webkit-backdrop-filter: blur(1.5rem);
  backdrop-filter: blur(1.5rem);
}

.sound { display: grid; place-items: center; width: 2.25rem; height: 2.25rem; opacity: .4; transition: opacity .4s var(--ease-snappy), transform .2s var(--ease-snappy); }
.sound:hover, .sound[aria-pressed="true"] { opacity: 1; }
.sound:active { transform: scale(.85); }
.sound__on { display: none; }
.sound[aria-pressed="true"] .sound__on { display: block; }
.sound[aria-pressed="true"] .sound__off { display: none; }

.brand { display: flex; align-items: center; gap: .6rem; font-family: var(--font-display); font-size: 1.125rem; font-weight: 500; letter-spacing: -.02em; }
.brand__mark { width: 1.75rem; height: 1.75rem; border-radius: 50%; overflow: hidden; background: #000; box-shadow: 0 0 0 2px #171717; }
.brand__mark img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 12%; }

.nav { display: flex; gap: .25rem; margin-left: auto; font-family: var(--font-display); font-size: .9375rem; }
.nav a { padding: .5rem .75rem; border-radius: 2rem; color: var(--color-light); transition: color .2s ease; }
.nav a:hover { color: #fff; }
.bar__cta { height: 2.375rem; font-size: .875rem; margin-right: 2.5rem; }

/* ---------- hero ---------- */

.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 7rem var(--gutter) 5rem;
  text-align: center;
  overflow: hidden;
  isolation: isolate;
}

.hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .75rem;
  margin-bottom: 2rem;
  font-family: var(--font-display);
  font-size: .875rem;
  color: var(--color-mid);
  animation: rise .9s var(--ease-swift) .1s both;
}

/* Signature: the word gets longer, the way people say it — "looooongcat".
   Extra o's open one by one, hold, then fold back. */
.wordmark {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(3.5rem, 13.5vw, 12.5rem);
  line-height: 1;
  letter-spacing: -.06em;
  white-space: nowrap;
  user-select: none;
  cursor: default;
}
.wm { display: inline-flex; align-items: baseline; padding-inline: .04em; }

/* entrance: letters rise out of a clip, left to right */
.wm__l { display: inline-block; }
.wm__l {
  animation: letter-in 1s var(--ease-swift) both;
  animation-delay: calc(200ms + var(--n, 0) * 55ms);
}
.wm__l:nth-child(1) { --n: 0; }
.wm__l:nth-child(2) { --n: 1; }
.wm__l:nth-child(7) { --n: 2; }
.wm__l:nth-child(8) { --n: 3; }
.wm__l:nth-child(9) { --n: 4; }
.wm__l:nth-child(10) { --n: 5; }
.wm__l:nth-child(11) { --n: 6; }
@keyframes letter-in {
  from { transform: translateY(.9em); opacity: 0; }
  to { transform: none; opacity: 1; }
}

/* the extra o's */
/* track opens from the middle; the glyph stays centred and is
   revealed symmetrically instead of sliding in from one side */
.wm__o {
  display: inline-grid;
  grid-template-columns: minmax(0, 0fr);
  justify-items: center;
  clip-path: inset(-.3em 0 -.3em 0);
  transition: grid-template-columns .7s var(--ease-swift);
  transition-delay: calc((3 - var(--i)) * 60ms);
}
.wm__o > span {
  display: inline-block;
  opacity: 0;
  transform: scaleX(.2);
  transition: opacity .3s ease, transform .7s var(--ease-swift);
  transition-delay: calc((3 - var(--i)) * 60ms);
}
.wm[data-long="true"] .wm__o {
  grid-template-columns: minmax(0, 1fr);
  transition-delay: calc(var(--i) * 110ms);
}
.wm[data-long="true"] .wm__o > span {
  opacity: 1;
  transform: none;
  transition-delay: calc(var(--i) * 110ms);
}

.live {
  width: .45rem; height: .45rem;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 0 var(--green);
  animation: live 2s ease-out infinite;
}
@keyframes live {
  0% { box-shadow: 0 0 0 0 color-mix(in srgb, var(--green) 60%, transparent); }
  100% { box-shadow: 0 0 0 .5rem transparent; }
}

.hero__lede {
  max-width: 30rem;
  margin-top: 1.5rem;
  font-size: clamp(1rem, 1.3vw, 1.125rem);
  color: var(--color-mid);
  animation: rise .9s var(--ease-swift) .9s both;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: .5rem;
  margin-top: 2rem;
  animation: rise .9s var(--ease-swift) 1s both;
}

.contract { max-width: 100%; }
.contract__label { font-size: .75rem; color: var(--color-light); }
.contract code { font-size: .8125rem; overflow: hidden; text-overflow: ellipsis; }
.contract svg { flex: none; opacity: .5; }
.contract:hover svg { opacity: 1; }

.hero__hint {
  position: absolute;
  bottom: 1.75rem;
  left: 0; right: 0;
  font-family: var(--font-display);
  font-size: .8125rem;
  color: rgba(255, 255, 255, .22);
  animation: fade 1s ease 1.6s both;
}

@keyframes rise { from { opacity: 0; transform: translateY(1.25rem); } to { opacity: 1; transform: none; } }
@keyframes fade { from { opacity: 0; } to { opacity: 1; } }

/* stickers */
.stickers { position: absolute; inset: 0; z-index: 2; pointer-events: none; }
.sticker {
  position: absolute;
  top: 50%; left: 50%;
  width: var(--w);
  margin-left: calc(var(--w) / -2);
  transform: translate(var(--x), var(--y)) translate(var(--dx, 0px), var(--dy, 0px)) rotate(var(--r));
  animation: drop 1.1s var(--ease-snappy) both;
  animation-delay: calc(1.1s + var(--i, 0) * 120ms);
}
.sticker:nth-child(1) { --i: 0; }
.sticker:nth-child(2) { --i: 1; }
.sticker:nth-child(3) { --i: 2; }
@keyframes drop {
  from { opacity: 0; translate: 0 18vh; scale: .6; }
  to { opacity: 1; translate: 0 0; scale: 1; }
}

.sticker__handle {
  position: relative;
  display: block;
  width: 100%;
  padding: .4rem;
  border-radius: 1.1rem;
  background: var(--smoke);
  box-shadow: 0 1.5rem 3rem -1rem rgba(0, 0, 0, .9), 0 .25rem .75rem rgba(0, 0, 0, .5);
  pointer-events: auto;
  cursor: grab;
  touch-action: none;
  transition: transform .25s var(--ease-snappy);
}
.sticker__handle img { width: 100%; border-radius: .75rem; user-select: none; -webkit-user-drag: none; pointer-events: none; }
.sticker__handle img.is-tall { aspect-ratio: 2 / 3; object-fit: cover; }
.sticker__handle::after {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 35%;
  border-radius: 50%;
  background: var(--bg);
  box-shadow: 0 0 5rem 5rem var(--bg);
  opacity: 0;
  transform: scale(.5);
  transition: opacity .2s var(--ease-snappy), transform .2s var(--ease-snappy);
  pointer-events: none;
}
.sticker:hover .sticker__handle::after,
.sticker__handle:focus-visible::after,
.sticker[data-dragging="true"] .sticker__handle::after { opacity: .3; transform: none; }
.sticker[data-dragging="true"] .sticker__handle { cursor: grabbing; transform: scale(1.06) rotate(var(--tilt, 0deg)); }

.sticker__label {
  position: absolute;
  bottom: calc(100% + .6rem);
  left: 50%;
  padding: .95rem 1rem;
  border-radius: 2rem;
  background: linear-gradient(0deg, #0d0d0d, #0d0d0d), rgba(191, 191, 191, .13);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .03), inset 0 1px 2px rgba(255, 255, 255, .04);
  font-family: var(--font-display);
  font-size: .9375rem;
  line-height: 0;
  white-space: nowrap;
  opacity: 0;
  transform: translate(-50%, 1rem) rotate(calc(var(--r) * -1));
  transition: opacity .2s var(--ease-snappy), transform .2s var(--ease-snappy);
  pointer-events: none;
}
.sticker:hover .sticker__label,
.sticker:focus-within .sticker__label { opacity: 1; transform: translate(-50%, 0) rotate(calc(var(--r) * -1)); }
.sticker[data-dragging="true"] .sticker__label { opacity: 0; }

/* ---------- sections ---------- */

section[id] { scroll-margin-top: 3rem; }

main > section:not(.hero) {
  width: 100%;
  max-width: var(--max);
  margin-inline: auto;
  padding: clamp(5rem, 11vw, 9rem) var(--gutter) 0;
}

/* story */
.story {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr);
  gap: clamp(2rem, 6vw, 6rem);
  align-items: end;
}
.values {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
  margin-top: 3rem;
}
.values li {
  padding: .6rem 1rem;
  border-radius: 2rem;
  font-family: var(--font-display);
  font-size: 1rem;
  color: var(--color-mid);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .1);
}

/* ---------- join the pack: social stickers + walking cat ---------- */

.pack { margin-top: 3.5rem; }
.pack__kicker { margin-bottom: 0; }

.pack__rail {
  position: relative;
  height: 5.75rem;
  pointer-events: none;
}
.walker {
  position: absolute;
  left: 0;
  bottom: -.7rem;
  width: 11rem;
  height: auto;
  overflow: visible;
  transform: translateX(var(--x, 0px)) scaleX(var(--face, 1));
  transform-origin: 50% 100%;
  z-index: 3;
  filter: drop-shadow(0 .6rem .8rem rgba(0, 0, 0, .55));
}
.walker__leg { transform-box: view-box; transform-origin: var(--lx) 70px; }
.walker__leg path { stroke-linecap: round; }
.walker__leg .e { stroke: #a26de6; stroke-width: 26; }
.walker__leg .i { stroke: #3b2854; stroke-width: 17; }
.walker__leg .w { stroke: #fff; stroke-width: 8; }
.walker__body { transform-box: view-box; transform-origin: 120px 104px; }

.walker[data-moving="true"] .walker__leg--a { animation: leg-a .42s ease-in-out infinite; }
.walker[data-moving="true"] .walker__leg--b { animation: leg-b .42s ease-in-out infinite; }
.walker[data-moving="true"] .walker__body { animation: bob .21s ease-in-out infinite alternate; }
.walker__eye { transform-box: fill-box; transform-origin: 50% 50%; animation: blink 4.5s infinite; }

@keyframes leg-a { 0%, 100% { transform: rotate(22deg); } 50% { transform: rotate(-22deg); } }
@keyframes leg-b { 0%, 100% { transform: rotate(-22deg); } 50% { transform: rotate(22deg); } }
@keyframes bob { from { transform: translateY(0); } to { transform: translateY(-3px); } }
@keyframes blink { 0%, 92%, 100% { transform: scaleY(1); } 95% { transform: scaleY(.1); } }

.walker[data-mood="happy"] .walker__body { animation: hop .5s var(--ease-snappy); }
@keyframes hop { 0%, 100% { transform: translateY(0); } 40% { transform: translateY(-14px) rotate(-4deg); } }

.pack__cards {
  position: relative;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  z-index: 2;
}

.social {
  --tx: 0px; --ty: 0px; --tilt: 0deg;
  position: relative;
  display: grid;
  grid-template-columns: auto 1fr;
  grid-template-rows: 1fr auto;
  gap: 1.5rem .9rem;
  min-height: 9.5rem;
  padding: 1.1rem 1.15rem 1.15rem;
  border-radius: 1.6rem;
  color: #12181f;
  background: var(--c);
  box-shadow:
    inset 0 0 0 3px #12181f,
    0 0 0 .45rem #0a0a0a,
    0 1.5rem 2.5rem -1rem rgba(0, 0, 0, .9);
  transform: translate(var(--tx), var(--ty)) rotate(calc(var(--r) + var(--tilt)));
  touch-action: none;
  user-select: none;
  cursor: grab;
  transition: transform .5s var(--ease-snappy), box-shadow .3s ease;
  opacity: 0;
}
.pack[data-in="true"] .social { animation: sticker-in .9s var(--ease-snappy) both; }
.pack[data-in="true"] li:nth-child(2) .social { animation-delay: .12s; }
@keyframes sticker-in {
  from { opacity: 0; translate: 0 3rem; scale: .7; }
  to { opacity: 1; translate: 0 0; scale: 1; }
}

.social::after {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 30%;
  border-radius: 50%;
  background: var(--c);
  box-shadow: 0 0 4rem 3rem var(--c);
  opacity: 0;
  transform: scale(.5);
  transition: opacity .25s var(--ease-snappy), transform .25s var(--ease-snappy);
  pointer-events: none;
}
.social:hover::after, .social:focus-visible::after, .social[data-dragging="true"]::after { opacity: .22; transform: none; }
.social:hover { --r: 0deg; }
.social[data-dragging="true"] { cursor: grabbing; transition: none; }
.social:focus-visible { outline: 2px solid #fff; outline-offset: .7rem; }

.social__icon {
  display: grid;
  place-items: center;
  width: 3.25rem; height: 3.25rem;
  border-radius: 50%;
  background: #12181f;
  color: var(--c);
  transition: transform .4s var(--ease-snappy);
}
.social:hover .social__icon { transform: rotate(-10deg) scale(1.08); }
.social__text { grid-column: 1 / -1; display: flex; flex-direction: column; gap: .2rem; align-self: end; }
.social__title { font-family: var(--font-display); font-size: 1.25rem; font-weight: 500; letter-spacing: -.02em; line-height: 1.1; }
.social__meta { font-size: .8125rem; font-weight: 400; opacity: .6; }
.social__arrow {
  grid-column: 2; grid-row: 1;
  justify-self: end; align-self: start;
  font-family: var(--font-display);
  font-size: 1.25rem;
  transition: transform .3s var(--ease-snappy);
}
.social:hover .social__arrow { transform: translate(.2rem, -.2rem); }

@media (max-width: 640px) {
  .pack__cards { gap: .75rem; }
  .social { min-height: 8.5rem; padding: .95rem; }
  .social__title { font-size: 1.0625rem; }
  .social__icon { width: 2.75rem; height: 2.75rem; }
  .walker { width: 8.5rem; }
  .pack__rail { height: 4.75rem; }
}
@media (prefers-reduced-motion: reduce) {
  .social { opacity: 1; }
}

.text-link { color: #fff; font-weight: 400; transition: opacity .2s ease; }
.text-link:hover { opacity: .6; }


.story__portrait {
  position: relative;
  border-radius: 1.25rem;
  overflow: hidden;
  background: #000;
}
.story__portrait img { width: 100%; aspect-ratio: 5 / 7; object-fit: cover; object-position: 20% 30%; }
.story__portrait--square { align-self: center; }
.story__portrait--square img { aspect-ratio: 1284 / 1255; object-position: 50% 50%; }
.story__portrait::after {
  content: "";
  position: absolute;
  inset: 0;
  box-shadow: inset 0 0 0 1px var(--line);
  border-radius: inherit;
}

/* token */
.token {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: .5rem;
  align-items: stretch;
}
.token__poster { border-radius: 1.25rem; overflow: hidden; }
.token__poster img { width: 100%; height: 100%; object-fit: cover; }

/* deck: static poster on desktop, swipeable stack on phones */
.deck__stack, .deck__card { height: 100%; }
.deck__card { position: relative; }
.deck__card--mobile, .deck__progress, .deck__hint, .deck__cap { display: none; }

@media (max-width: 920px) {
  .token__poster.deck { position: relative; overflow: visible; border-radius: 0; padding-top: 1.4rem; }
  .deck__stack {
    position: relative;
    aspect-ratio: 1;
    height: auto;
    touch-action: pan-y;
    user-select: none;
  }
  .deck__card--mobile { display: block; }
  .deck__card {
    position: absolute;
    inset: 0;
    border-radius: 1.5rem;
    overflow: hidden;
    background: #0a0a0a;
    box-shadow: 0 0 0 1px rgba(255,255,255,.06), 0 1.5rem 3rem -1rem rgba(0,0,0,.9);
    transform-origin: 50% 100%;
    transition: transform .7s var(--ease-snappy), filter .6s ease, opacity .5s ease;
    will-change: transform;
  }
  .deck__card img { height: 100%; transform: scale(1.02); }
  .deck__card[data-pos="0"] { z-index: 3; transform: translateX(var(--dx, 0px)) rotate(var(--rot, 0deg)); }
  .deck__card[data-pos="0"] img { animation: kenburns 9s ease-in-out infinite alternate; }
  .deck__card[data-pos="1"] { z-index: 2; transform: translateY(calc(-10% - 1.2rem)) scale(.9) rotate(-4deg); filter: brightness(.45) saturate(.8); }
  .deck__card[data-dragging="true"] { transition: none; }
  .deck__card[data-leaving="left"] { z-index: 4; transform: translateX(-135%) rotate(-16deg); opacity: 0; transition-duration: .55s; }
  .deck__card[data-leaving="right"] { z-index: 4; transform: translateX(135%) rotate(16deg); opacity: 0; transition-duration: .55s; }
  .deck__card[data-snap="true"] { transition: none; }
  @keyframes kenburns { from { transform: scale(1.02) translate(0, 0); } to { transform: scale(1.12) translate(-2%, -1.5%); } }

  /* bottom shade + caption */
  .deck__card::after {
    content: "";
    position: absolute;
    inset: 45% 0 0;
    background: linear-gradient(to top, rgba(0,0,0,.65), transparent);
    pointer-events: none;
  }
  .deck__cap {
    position: absolute;
    z-index: 1;
    left: 1rem; bottom: 1rem;
    display: block;
    padding: 1.05rem 1rem;
    border-radius: 2rem;
    background: rgba(13,13,13,.72);
    -webkit-backdrop-filter: blur(1rem);
    backdrop-filter: blur(1rem);
    box-shadow: inset 0 0 0 1px rgba(255,255,255,.08);
    font-family: var(--font-display);
    font-size: .9375rem;
    line-height: 0;
    opacity: 0;
    transform: translateY(.75rem);
    transition: opacity .4s ease .25s, transform .6s var(--ease-snappy) .25s;
  }
  .deck__card[data-pos="0"] .deck__cap { opacity: 1; transform: none; }

  /* story-style progress bars */
  .deck__progress {
    position: absolute;
    z-index: 6;
    top: 2.4rem; left: 1rem; right: 1rem;
    display: flex;
    gap: .35rem;
    pointer-events: none;
  }
  .deck__progress span { flex: 1; height: 3px; border-radius: 3px; background: rgba(255,255,255,.28); overflow: hidden; }
  .deck__progress i { display: block; width: 0; height: 100%; background: #fff; }
  .deck__progress span[data-state="done"] i { width: 100%; }
  .deck__progress span[data-state="run"] i { animation: deck-fill var(--dur, 4.5s) linear forwards; }
  .deck[data-paused="true"] .deck__progress span[data-state="run"] i { animation-play-state: paused; }
  @keyframes deck-fill { to { width: 100%; } }

  .deck__hint {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: .4rem;
    margin-top: .9rem;
    font-family: var(--font-display);
    font-size: .8125rem;
    color: var(--color-light);
  }
  .deck__hint svg { animation: nudge 1.6s ease-in-out infinite; }
  @keyframes nudge { 0%, 100% { transform: translateX(-3px); } 50% { transform: translateX(3px); } }

  .story__portrait--square { display: none; }
}

.panel {
  display: flex;
  flex-direction: column;
  padding: clamp(1.75rem, 3.5vw, 2.75rem) clamp(1.5rem, 4vw, 4rem);
  border-radius: 1.25rem;
  background: var(--surface);
  box-shadow: inset 0 0 0 1px var(--line);
}
.panel__title {
  font-family: var(--font-display);
  font-size: clamp(2.25rem, 4vw, 3.25rem);
  font-weight: 400;
  letter-spacing: -.035em;
  line-height: 1;
}
.panel__intro { margin-top: 1rem; max-width: 26rem; color: var(--color-mid); font-size: .9375rem; }

.details {
  display: flex;
  flex-direction: column;
  gap: .5rem;
  margin-top: auto;
  padding-top: 2.75rem;
}
.details > div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: .25rem 0 .75rem;
  font-size: .875rem;
  line-height: 1.375rem;
  border-bottom: 1px solid rgba(255, 255, 255, .05);
}
.details > div:last-child { border-bottom: 0; }
.details dt { color: var(--color-light); }
.details dd { text-align: right; min-width: 0; }

.copy-inline {
  display: inline-flex;
  max-width: 100%;
  padding: .2rem .45rem;
  margin-right: -.45rem;
  border-radius: .375rem;
  transition: background .2s ease;
}
.copy-inline:hover { background: rgba(255, 255, 255, .06); }
.copy-inline code { font-size: .8125rem; white-space: nowrap; }

/* get: how to buy */
.section-head { max-width: 38rem; margin-bottom: 3rem; }
.get .section-head--row { max-width: none; margin-bottom: 2rem; }
.get__actions { display: flex; gap: .5rem; }

/* journey rail: a long cat that stretches across the steps */
.journey { position: relative; height: 5rem; margin-bottom: .75rem; }
.journey__track {
  --p: 0;
  position: absolute;
  left: 0; right: 0; top: 50%;
  height: 2px;
  background: repeating-linear-gradient(90deg, rgba(255,255,255,.14) 0 6px, transparent 6px 14px);
}
.journey__node {
  position: absolute;
  top: 50%;
  left: var(--at);
  z-index: 4;
  display: grid;
  place-items: center;
  width: 2.25rem; height: 2.25rem;
  border-radius: 50%;
  font-family: var(--font-display);
  font-size: .875rem;
  color: var(--color-light);
  background: #0b0b0b;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.12);
  transform: translate(-50%, -50%);
  transition: color .4s ease, background .4s ease, box-shadow .4s ease, transform .5s var(--ease-snappy);
}
.journey__node[data-on="true"] {
  color: #000;
  background: var(--c);
  box-shadow: 0 0 0 .35rem color-mix(in srgb, var(--c) 18%, transparent), 0 0 2rem color-mix(in srgb, var(--c) 45%, transparent);
  transform: translate(-50%, -50%) scale(1.08);
}
.journey__body {
  position: absolute;
  left: 0; top: 50%;
  width: calc(var(--p) * 100%);
  height: 1.05rem;
  border-radius: 1rem;
  background: #fff;
  box-shadow: inset 0 0 0 3px #3b2854, 0 0 0 4px #a26de6, 0 .75rem 1.5rem rgba(0,0,0,.6);
  transform: translateY(-50%);
  z-index: 2;
}
.journey__body::after {
  content: "";
  position: absolute;
  inset: 5px 1.5rem 5px 1rem;
  border-radius: 1rem;
  background: repeating-linear-gradient(90deg, #e5e5ff 0 10px, transparent 10px 42px);
  opacity: .9;
}
.journey__tail { position: absolute; left: -1.9rem; top: -1.55rem; width: 2.6rem; }
.journey__head {
  position: absolute;
  top: 50%;
  left: calc(var(--p) * 100%);
  z-index: 3;
  width: 4.5rem;
  transform: translate(-22%, -58%);
  filter: drop-shadow(0 .6rem .8rem rgba(0,0,0,.55));
}
.journey__eye { transform-box: fill-box; transform-origin: 50% 50%; animation: blink 4.5s infinite; }

/* step cards */
.steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: .75rem;
}
.step {
  --mx: 50%; --my: 0%;
  position: relative;
  display: flex;
  flex-direction: column;
  padding: .75rem .75rem 1.75rem;
  border-radius: 1.5rem;
  background:
    radial-gradient(28rem circle at var(--mx) var(--my), color-mix(in srgb, var(--c) 9%, transparent), transparent 45%),
    linear-gradient(180deg, #111 0%, #0a0a0a 100%);
  box-shadow: inset 0 0 0 1px var(--line);
  overflow: hidden;
  isolation: isolate;
  transition: box-shadow .5s ease, transform .6s var(--ease-snappy);
}
/* top highlight in the step colour once the cat reaches it */
.step::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(180deg, color-mix(in srgb, var(--c) 70%, transparent), transparent 40%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0;
  transition: opacity .6s ease;
  pointer-events: none;
}
.step[data-on="true"]::before { opacity: 1; }
.step:hover { transform: translateY(-.25rem); }

.step__visual {
  position: relative;
  display: grid;
  place-items: center;
  height: 11.5rem;
  margin-bottom: 1.5rem;
  border-radius: 1rem;
  background:
    radial-gradient(70% 90% at 50% 100%, color-mix(in srgb, var(--c) 16%, transparent), transparent 70%),
    #070707;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.04);
  overflow: hidden;
}
.step__visual::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255,255,255,.07) 1px, transparent 1px);
  background-size: 14px 14px;
  -webkit-mask: radial-gradient(70% 70% at 50% 50%, #000, transparent);
  mask: radial-gradient(70% 70% at 50% 50%, #000, transparent);
}

.step__n {
  align-self: flex-start;
  margin: 0 1rem .85rem;
  padding: .3rem .6rem;
  border-radius: 2rem;
  font-family: var(--font-display);
  font-size: .75rem;
  color: var(--c);
  background: color-mix(in srgb, var(--c) 10%, transparent);
  box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--c) 35%, transparent);
}
.step h3 { margin: 0 1rem .55rem; font-family: var(--font-display); font-size: 1.375rem; font-weight: 400; letter-spacing: -.025em; line-height: 1.15; }
.step p { margin: 0 1rem; color: var(--color-mid); font-size: .9375rem; }
.step__cta { align-self: flex-start; margin: 1.35rem 1rem 0; height: 2.5rem; font-size: .875rem; }

/* mock UI pieces */
.mock {
  position: relative;
  width: min(15.5rem, 84%);
  border-radius: .9rem;
  background: linear-gradient(180deg, #161616, #101010);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.07), 0 1.25rem 2.5rem -1rem rgba(0,0,0,.9);
  font-size: .8125rem;
  transform: translateY(.75rem);
  opacity: .55;
  transition: transform .8s var(--ease-snappy), opacity .6s ease;
}
.step[data-on="true"] .mock { transform: none; opacity: 1; }

.mock__bar { display: flex; align-items: center; gap: .3rem; padding: .6rem .75rem; border-bottom: 1px solid rgba(255,255,255,.06); }
.mock__bar span { width: .4rem; height: .4rem; border-radius: 50%; background: rgba(255,255,255,.15); }
.mock__bar em { margin-left: auto; font-style: normal; font-size: .6875rem; color: var(--color-light); }
.mock__row { display: flex; align-items: center; gap: .55rem; padding: .65rem .75rem; }
.mock__row + .mock__row { border-top: 1px solid rgba(255,255,255,.05); }
.mock__row.is-dim { color: var(--color-light); }
.mock__row.is-arc { color: #fff; }
.mock__dot { flex: none; width: 1.1rem; height: 1.1rem; border-radius: 50%; background: var(--d); }
.mock__dot--arc { background: radial-gradient(circle at 50% 120%, transparent 38%, #a5cae8 39% 62%, transparent 63%), #0b1b2b; box-shadow: inset 0 0 0 1px rgba(165,202,232,.5); }

.switch { position: relative; margin-left: auto; width: 1.9rem; height: 1.1rem; border-radius: 1rem; background: rgba(255,255,255,.1); transition: background .4s ease .35s; }
.switch::after { content: ""; position: absolute; top: .15rem; left: .15rem; width: .8rem; height: .8rem; border-radius: 50%; background: rgba(255,255,255,.55); transition: transform .45s var(--ease-snappy) .35s, background .4s ease .35s; }
.step[data-on="true"] .switch--on { background: var(--c); }
.step[data-on="true"] .switch--on::after { transform: translateX(.8rem); background: #000; }

.mock--gas { display: flex; align-items: center; gap: .9rem; padding: 1rem; }
.coin { flex: none; width: 2.75rem; height: 2.75rem; border-radius: 50%; box-shadow: 0 0 0 4px rgba(39,117,202,.18); animation: coin-float 3.2s ease-in-out infinite; }
@keyframes coin-float { 0%, 100% { transform: translateY(0) rotate(-6deg); } 50% { transform: translateY(-4px) rotate(6deg); } }
.gas { flex: 1; min-width: 0; }
.gas__label { display: flex; justify-content: space-between; margin-bottom: .5rem; font-size: .6875rem; color: var(--color-light); }
.gas__label strong { font-weight: 500; color: #fff; }
.gas__meter { height: .45rem; border-radius: 1rem; background: rgba(255,255,255,.08); overflow: hidden; }
.gas__meter i { display: block; width: 0; height: 100%; border-radius: inherit; background: linear-gradient(90deg, #2775ca, var(--c)); transition: width 1.2s var(--ease-swift) .3s; }
.step[data-on="true"] .gas__meter i { width: 72%; }
.gas__ticks { display: flex; justify-content: space-between; margin-top: .4rem; }
.gas__ticks span { width: 1px; height: .3rem; background: rgba(255,255,255,.15); }

.mock--swap { padding: .5rem; }
.swap__row { display: flex; align-items: center; justify-content: space-between; padding: .7rem; border-radius: .65rem; background: rgba(255,255,255,.035); }
.swap__k { font-size: .6875rem; color: var(--color-light); }
.swap__token { display: inline-flex; align-items: center; gap: .4rem; padding: .25rem .55rem .25rem .3rem; border-radius: 2rem; background: rgba(255,255,255,.06); font-weight: 400; }
.swap__token img { width: 1.1rem; height: 1.1rem; border-radius: 50%; object-fit: cover; object-position: 50% 12%; background: #000; }
.swap__flip {
  position: relative; z-index: 1;
  display: grid; place-items: center;
  width: 1.9rem; height: 1.9rem;
  margin: -.55rem auto;
  border-radius: .55rem;
  color: #000;
  background: var(--c);
  box-shadow: 0 0 0 4px #121212;
  transition: transform .7s var(--ease-snappy) .3s;
}
.step[data-on="true"] .swap__flip { transform: rotate(360deg); }


/* playground */
.section-head--row {
  max-width: none;
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1.5rem;
}
.frame {
  position: relative;
  height: clamp(28rem, 62vw, 44rem);
  border-radius: 1.25rem;
  overflow: hidden;
  background: #000;
  box-shadow: inset 0 0 0 1px var(--line);
}
.frame iframe { display: block; width: 100%; height: 100%; border: 0; }
.frame::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  box-shadow: inset 0 0 0 1px var(--line);
  pointer-events: none;
}

/* live chart */
.chart .kicker { display: inline-flex; align-items: center; gap: .6rem; }
.chart__source { font-family: var(--font-display); font-size: .9375rem; }
.chart__controls { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.25rem; }
.tabs {
  display: inline-flex;
  padding: .25rem;
  border-radius: 2rem;
  background: linear-gradient(0deg, #0d0d0d, #0d0d0d), rgba(191, 191, 191, .13);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .04);
}
.tabs button {
  height: 2.25rem;
  padding: 0 1rem;
  border-radius: 2rem;
  font-family: var(--font-display);
  font-size: .875rem;
  color: var(--color-light);
  transition: background .2s ease, color .2s ease;
}
.tabs button:hover { color: #fff; }
.tabs button[aria-selected="true"] { background: var(--smoke); color: #000; }
.frame--chart {
  height: clamp(34rem, 78vh, 50rem);
  background: #081524;
}
.frame--chart iframe { position: relative; z-index: 1; }
.frame__loading {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  font-family: var(--font-display);
  font-size: .875rem;
  color: var(--color-light);
}

/* archive: columns sized to each photo's ratio so heights line up */
.archive__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.227fr) minmax(0, .5fr);
  gap: .5rem;
}
.archive__item {
  position: relative;
  border-radius: 1.25rem;
  overflow: hidden;
  background: var(--surface);
}
.archive__item img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease-swift); }
.archive__item:hover img { transform: scale(1.03); }
.archive__item figcaption {
  position: absolute;
  left: 1rem;
  bottom: 1rem;
  padding: .95rem 1rem;
  border-radius: 2rem;
  background: linear-gradient(0deg, #0d0d0d, #0d0d0d), rgba(191, 191, 191, .13);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .03);
  font-family: var(--font-display);
  font-size: .9375rem;
  line-height: 0;
}

/* community: stay long */
.stay {
  --on: #27d964;
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
  align-items: center;
  gap: clamp(1.5rem, 4vw, 4rem);
  min-height: clamp(34rem, 46vw, 40rem);
  padding: clamp(2rem, 4.5vw, 4rem);
  border-radius: 1.75rem;
  background: #060806;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .07);
  overflow: hidden;
  isolation: isolate;
}

/* the hill photo becomes soft ambient light */
.stay__ambient { position: absolute; inset: -12%; z-index: -2; }
.stay__ambient img {
  width: 100%; height: 100%;
  object-fit: cover;
  filter: blur(42px) saturate(1.35) brightness(.55);
  transform: scale(1.1);
  animation: ambient-drift 18s ease-in-out infinite alternate;
}
@keyframes ambient-drift { from { transform: scale(1.1) translate(0, 0); } to { transform: scale(1.2) translate(-3%, 2%); } }
.stay::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(55% 70% at 72% 50%, rgba(39, 217, 100, .16), transparent 70%),
    linear-gradient(90deg, rgba(4, 6, 4, .92) 0%, rgba(4, 6, 4, .55) 55%, rgba(4, 6, 4, .75) 100%);
}
.stay::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  opacity: .08;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  pointer-events: none;
}
.stay__ghost {
  position: absolute;
  z-index: -1;
  left: -2%;
  bottom: -9%;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(9rem, 22vw, 19rem);
  line-height: .8;
  letter-spacing: -.06em;
  color: transparent;
  -webkit-text-stroke: 1px rgba(255, 255, 255, .07);
  user-select: none;
  pointer-events: none;
}

.stay__copy { position: relative; }
.stay__kicker { display: inline-flex; align-items: center; gap: .6rem; }
.community__title {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(3rem, 6.5vw, 5.75rem);
  line-height: .92;
  letter-spacing: -.05em;
}
.community__mantra { margin-top: 1.1rem; font-family: var(--font-display); font-size: 1.125rem; color: rgba(255, 255, 255, .6); }

/* CTA mirrors the card at the front of the wheel */
.stay__cta {
  display: inline-flex;
  align-items: center;
  gap: .7rem;
  height: 3.25rem;
  margin-top: 2.25rem;
  padding: 0 1.1rem 0 .4rem;
  border-radius: 2rem;
  color: #04210f;
  background: linear-gradient(180deg, #43ef7f, var(--on));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .45), 0 .75rem 2rem -.5rem rgba(39, 217, 100, .55);
  font-family: var(--font-display);
  font-size: 1rem;
  transition: transform .25s var(--ease-snappy), box-shadow .3s ease;
}
.stay__cta:hover { transform: translateY(-2px); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .45), 0 1rem 2.5rem -.5rem rgba(39, 217, 100, .7); }
.stay__cta:active { transform: scale(.96); }
.stay__cta-icon {
  display: grid; place-items: center;
  width: 2.45rem; height: 2.45rem;
  border-radius: 50%;
  color: #fff;
  background: #07240f;
}
.stay__cta-icon svg { width: 18px; height: 18px; }
.stay__cta-label, .stay__cta-icon svg { display: inline-block; }
.stay__cta[data-swap="true"] .stay__cta-label,
.stay__cta[data-swap="true"] .stay__cta-icon svg { animation: cta-swap .45s var(--ease-snappy); }
@keyframes cta-swap { from { opacity: 0; transform: translateY(.6rem); } to { opacity: 1; transform: none; } }
.stay__cta-arrow { font-size: 1.05rem; }

/* picker */
.picker {
  position: relative;
  display: grid;
  grid-template-columns: auto 3.5rem minmax(0, 1fr);
  align-items: center;
  outline: none;
}
.picker:focus-visible .picker__stage { outline: 2px solid var(--blue); outline-offset: 4px; border-radius: 1.5rem; }

.picker__icon {
  position: relative;
  z-index: 2;
  display: grid;
  place-items: center;
  width: clamp(5rem, 7vw, 6.5rem);
  aspect-ratio: 1;
  border-radius: 28%;
  background: radial-gradient(120% 90% at 30% 10%, #2a2140, #09070f 65%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, .18),
    inset 0 0 0 1px rgba(255, 255, 255, .08),
    0 1.5rem 3rem -1rem rgba(0, 0, 0, .9),
    0 0 0 6px rgba(255, 255, 255, .03);
}
.picker__icon::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(160deg, rgba(255, 255, 255, .16), transparent 45%);
  pointer-events: none;
}
.picker__icon img { width: 64%; transform: rotate(-8deg); filter: drop-shadow(0 .4rem .5rem rgba(0, 0, 0, .5)); }
.picker__icon[data-bump="true"] { animation: icon-bump .55s var(--ease-snappy); }
@keyframes icon-bump { 35% { transform: scale(.9) rotate(-5deg); } 100% { transform: none; } }

/* light beam from the icon to the front card */
.picker__beam { position: relative; height: 2px; background: linear-gradient(90deg, rgba(255,255,255,.08), rgba(39,217,100,.55)); }
.picker__beam i {
  position: absolute;
  top: 50%; left: 0;
  width: .45rem; height: .45rem;
  margin-top: -.225rem;
  border-radius: 50%;
  background: #b9ffd0;
  box-shadow: 0 0 .6rem 2px rgba(39, 217, 100, .9);
  opacity: 0;
}
.picker__beam[data-pulse="true"] i { animation: beam-pulse .6s ease-out; }
@keyframes beam-pulse { 0% { left: 0; opacity: 0; } 20% { opacity: 1; } 100% { left: 100%; opacity: 0; } }

.picker__stage {
  position: relative;
  height: clamp(24rem, 34vw, 30rem);
  perspective: 1200px;
  touch-action: pan-y;
  cursor: grab;
  user-select: none;
  -webkit-mask: linear-gradient(to bottom, transparent, #000 16%, #000 84%, transparent);
  mask: linear-gradient(to bottom, transparent, #000 16%, #000 84%, transparent);
}
.picker__stage[data-dragging="true"] { cursor: grabbing; }
.picker__floor {
  position: absolute;
  left: 8%; right: 8%; top: 50%;
  height: 7rem;
  margin-top: 1.5rem;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(39, 217, 100, .28), transparent);
  filter: blur(18px);
  pointer-events: none;
}
.wheel { position: absolute; inset: 0; transform-style: preserve-3d; }

.toggle {
  position: absolute;
  top: 50%;
  left: 0; right: 0;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: .95rem;
  width: 100%;
  max-width: 25rem;
  height: 5.5rem;
  margin: -2.75rem auto 0;
  padding: 0 1.1rem 0 .85rem;
  border-radius: 1.6rem;
  color: #fff;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, .09), rgba(255, 255, 255, .025)),
    rgba(12, 14, 12, .72);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, .14),
    inset 0 0 0 1px rgba(255, 255, 255, .08),
    0 1.25rem 2.5rem -1.25rem rgba(0, 0, 0, .9);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  backface-visibility: hidden;
  will-change: transform, opacity;
  transition: background .45s ease, color .45s ease, box-shadow .45s ease;
  -webkit-user-drag: none;
}
.toggle__icon {
  display: grid;
  place-items: center;
  width: 3.1rem; height: 3.1rem;
  border-radius: 1rem;
  color: var(--dot);
  background: color-mix(in srgb, var(--dot) 14%, rgba(0, 0, 0, .35));
  box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--dot) 30%, transparent);
  transition: background .45s ease, color .45s ease, box-shadow .45s ease, transform .5s var(--ease-snappy);
}
.toggle__text { display: flex; flex-direction: column; gap: .2rem; min-width: 0; }
.toggle__text b { font-family: var(--font-display); font-size: 1.125rem; font-weight: 500; letter-spacing: -.02em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.toggle__text small { font-size: .78rem; opacity: .55; white-space: nowrap; }

/* a real switch */
.toggle__switch {
  position: relative;
  width: 3.4rem; height: 2rem;
  border-radius: 2rem;
  background: rgba(255, 255, 255, .12);
  box-shadow: inset 0 1px 3px rgba(0, 0, 0, .5);
  transition: background .45s ease;
}
.toggle__switch i {
  position: absolute;
  top: .2rem; left: .2rem;
  width: 1.6rem; height: 1.6rem;
  border-radius: 50%;
  background: linear-gradient(180deg, #fff, #d9dcd9);
  box-shadow: 0 2px 5px rgba(0, 0, 0, .45);
  transition: transform .5s var(--ease-snappy) .08s;
}

.toggle[data-on="true"] {
  color: #04210f;
  background: linear-gradient(135deg, #5cf38f 0%, var(--on) 45%, #11a846 100%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, .55),
    inset 0 -2px 0 rgba(0, 0, 0, .12),
    0 0 0 1px rgba(39, 217, 100, .6),
    0 1.5rem 3.5rem -1rem rgba(39, 217, 100, .55);
}
.toggle[data-on="true"] .toggle__text small { opacity: .7; }
.toggle[data-on="true"] .toggle__icon { color: #fff; background: #07240f; box-shadow: none; transform: rotate(-6deg); }
.toggle[data-on="true"] .toggle__switch { background: #07240f; }
.toggle[data-on="true"] .toggle__switch i { transform: translateX(1.4rem); }

.picker__controls {
  position: absolute;
  right: 0;
  bottom: -.5rem;
  display: flex;
  align-items: center;
  gap: .35rem;
  padding: .25rem;
  border-radius: 2rem;
  background: rgba(255, 255, 255, .06);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .06);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
}
.picker__controls button { display: grid; place-items: center; width: 2rem; height: 2rem; border-radius: 50%; color: #fff; opacity: .5; transition: opacity .2s ease, background .2s ease, transform .2s var(--ease-snappy); }
.picker__controls button:hover { opacity: 1; background: rgba(255, 255, 255, .08); }
.picker__controls button:active { transform: scale(.85); }
.picker__dots { display: flex; gap: .3rem; padding-inline: .2rem; }
.picker__dots b { width: .35rem; height: .35rem; border-radius: 1rem; background: rgba(255, 255, 255, .25); transition: width .4s var(--ease-snappy), background .3s ease; }
.picker__dots b[data-on="true"] { width: 1.1rem; background: var(--on); }

@media (max-width: 920px) {
  .stay { grid-template-columns: 1fr; padding: 2rem 1.25rem 1.5rem; min-height: 0; }
  .stay::before { background: radial-gradient(80% 45% at 50% 70%, rgba(39, 217, 100, .16), transparent 70%), linear-gradient(180deg, rgba(4,6,4,.9), rgba(4,6,4,.6)); }
  .stay__ghost { font-size: 9rem; bottom: auto; top: 38%; left: -4%; }
  .stay__cta { margin-top: 1.5rem; }
  .picker { grid-template-columns: 1fr; justify-items: center; padding-bottom: 3.25rem; }
  .picker__icon { display: none; }
  .picker__beam { display: none; }
  .picker__stage { width: 100%; height: 22rem; }
  .toggle { max-width: 21rem; height: 4.75rem; margin-top: -2.375rem; gap: .7rem; padding: 0 .8rem 0 .65rem; border-radius: 1.35rem; }
  .toggle__icon { width: 2.5rem; height: 2.5rem; border-radius: .8rem; }
  .toggle__text b { font-size: .9375rem; }
  .toggle__text small { font-size: .72rem; }
  .toggle__switch { width: 2.9rem; height: 1.75rem; }
  .toggle__switch i { width: 1.35rem; height: 1.35rem; }
  .toggle[data-on="true"] .toggle__switch i { transform: translateX(1.15rem); }
  .picker__controls { left: 50%; right: auto; bottom: 0; transform: translateX(-50%); }
}

/* footer */
.footer {
  padding: clamp(5rem, 9vw, 7rem) var(--gutter) 2.75rem;
  text-align: center;
}
.footer__links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: .5rem;
  font-family: var(--font-display);
  font-size: .875rem;
}
.footer__links a { opacity: .4; transition: opacity .2s ease; }
.footer__links a:hover { opacity: 1; }
.footer__links li::after {
  content: "";
  display: inline-block;
  vertical-align: middle;
  width: 2px; height: 2px;
  margin-left: .5rem;
  border-radius: 50%;
  background: #fff;
  opacity: .35;
}
.footer__links li:last-child::after { display: none; }
.footer__note { max-width: 32rem; margin: 1.25rem auto 0; font-size: .75rem; color: rgba(255, 255, 255, .25); }

/* toast */
.toast {
  position: fixed;
  z-index: 60;
  left: 50%;
  bottom: 2rem;
  padding: .7rem 1.1rem;
  border-radius: 2rem;
  background: #252525;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .04), 0 .5rem 1.5rem rgba(0, 0, 0, .5);
  font-family: var(--font-display);
  font-size: .875rem;
  transform: translateX(-50%);
  animation: rise .35s var(--ease-snappy) both;
}

/* ---------- responsive ---------- */

@media (max-width: 920px) {
  .nav { display: none; }
  .bar__cta { margin-left: auto; margin-right: 0; }
  .meter { display: none; }

  .story { grid-template-columns: 1fr; }
  .story__portrait { max-width: 26rem; }
  .token { grid-template-columns: 1fr; }
  .token__poster img { aspect-ratio: 1; }
  .steps { grid-template-columns: 1fr; }
  .journey { display: none; }
  .step__visual { height: 10rem; }
}

@media (max-width: 640px) {
  .brand > span:last-child { display: none; }
  .hero { justify-content: flex-start; padding-top: 7.5rem; padding-bottom: 20rem; }
  .contract code { max-width: 11rem; }
  .sticker:nth-child(1) { --x: -22vw !important; --y: 25vh !important; }
  .sticker:nth-child(2) { --x: 25vw !important; --y: 22vh !important; }
  .sticker:nth-child(3) { --x: 0vw !important; --y: 32vh !important; }
  .sticker:nth-child(4) { display: none; }
  .sticker__label { display: none; }
  .frame--chart { height: 80svh; }
  .hero__hint { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-delay: 0s !important; transition-duration: .01ms !important; }
}
