/* ==========================================================
   PURRtroleum — 2.5D parallax memecoin site
   ========================================================== */

@font-face { font-family: "Lilita One"; src: url("../assets/fonts/lilita-one.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Rubik"; src: url("../assets/fonts/rubik-400.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Rubik"; src: url("../assets/fonts/rubik-500.woff2") format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Rubik"; src: url("../assets/fonts/rubik-700.woff2") format("woff2"); font-weight: 700; font-display: swap; }

:root {
  --oil: #0e0a07;
  --oil-2: #19110a;
  --oil-3: #2a1c10;
  --sand: #f6d39a;
  --cream: #fff4de;
  --gold: #f5b942;
  --gold-2: #ffd978;
  --gold-3: #c98a1c;
  --red: #c8262f;
  --muted: #c9b391;
  --radius: 22px;
  --display: "Lilita One", "Arial Black", Impact, sans-serif;
  --body: "Rubik", system-ui, -apple-system, "Segoe UI", sans-serif;
  --container: min(1200px, 92vw);
  --ease: cubic-bezier(.2, .8, .2, 1);
  --drop: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 40'%3E%3Cpath d='M15 0C15 0 0 19 0 27.5C0 35 6.7 40 15 40S30 35 30 27.5C30 19 15 0 15 0Z'/%3E%3C/svg%3E");
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 80px; }
body {
  margin: 0;
  background: var(--oil);
  color: var(--cream);
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
body.is-loading { overflow: hidden; }
/* the tilted marquee pokes past the screen edges; clip (not hidden) keeps the
   sticky sections working and stops phones from zooming out to fit it */
main { overflow-x: clip; }
html, body { overflow-x: clip; }
img { display: block; max-width: 100%; }
a { color: inherit; }
b { color: var(--gold-2); font-weight: 700; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.container { width: var(--container); margin: 0 auto; }
.gold {
  background: linear-gradient(180deg, #fff1c4 0%, var(--gold-2) 30%, var(--gold) 70%, #e39b25 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  text-shadow: none; /* a text-shadow would paint over the gradient and dull it */
  filter: drop-shadow(0 4px 0 rgba(0,0,0,.35));
}
.eyebrow {
  margin: 0 0 .6rem;
  font-weight: 700; font-size: .82rem; letter-spacing: .22em; text-transform: uppercase;
  color: var(--gold);
}
.h-xl {
  margin: 0 0 1.4rem;
  font-family: var(--display); font-weight: 400;
  font-size: clamp(2.6rem, 6.4vw, 5.6rem); line-height: .95; letter-spacing: .01em;
  text-shadow: 0 4px 0 rgba(0,0,0,.35);
}
.lead { font-size: 1.25rem; color: var(--cream); }
p { color: var(--muted); }

/* ---------- buttons ---------- */
.btn {
  --mx: 0px; --my: 0px;
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  padding: .95em 1.6em; border-radius: 999px;
  font-family: var(--display); font-size: 1.1rem; letter-spacing: .03em; text-decoration: none;
  transform: translate(var(--mx), var(--my));
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .25s;
  cursor: pointer; border: 0; white-space: nowrap;
}
.btn--gold {
  color: var(--oil);
  background: linear-gradient(180deg, var(--gold-2), var(--gold) 55%, var(--gold-3));
  box-shadow: 0 6px 0 #7a4f0b, 0 12px 30px rgba(245,185,66,.35), inset 0 2px 0 rgba(255,255,255,.55);
}
.btn--gold:hover { box-shadow: 0 8px 0 #7a4f0b, 0 18px 40px rgba(245,185,66,.5), inset 0 2px 0 rgba(255,255,255,.55); }
.btn--gold:active { transform: translate(var(--mx), calc(var(--my) + 4px)); box-shadow: 0 2px 0 #7a4f0b, 0 8px 20px rgba(245,185,66,.35); }
.btn--ghost {
  color: var(--cream);
  background: rgba(14,10,7,.35);
  border: 2px solid rgba(255,244,222,.55);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
}
.btn--ghost:hover { background: rgba(255,244,222,.12); border-color: var(--cream); }
.btn--sm { padding: .6em 1.15em; font-size: .98rem; }
.btn--lg { padding: 1.1em 2em; font-size: 1.35rem; }

.chip {
  display: inline-block; padding: .45em .95em; margin: 0 .4em .5em 0; border-radius: 999px;
  background: var(--oil-3); border: 1px solid rgba(245,185,66,.3); color: var(--sand); font-weight: 500; font-size: .92rem;
}

/* ---------- loader ---------- */
.loader {
  position: fixed; inset: 0; z-index: 100; display: grid; place-items: center;
  background: radial-gradient(ellipse at 50% 60%, #2a1a0c 0%, var(--oil) 70%);
  transition: opacity .8s var(--ease), visibility .8s;
}
body:not(.is-loading) .loader { opacity: 0; visibility: hidden; }
.loader__inner { width: min(420px, 80vw); text-align: center; }
.loader__logo { width: 100%; animation: bob 2.4s ease-in-out infinite; }
.loader__bar { height: 10px; margin: 1.4rem 0 .8rem; border-radius: 99px; background: var(--oil-3); overflow: hidden; }
.loader__fill { display: block; height: 100%; width: 0; border-radius: 99px; background: linear-gradient(90deg, #000, var(--gold) 70%, var(--gold-2)); transition: width .3s var(--ease); }
.loader__txt { margin: 0; font-size: .9rem; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); display: flex; justify-content: space-between; }

/* ---------- nav ---------- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: 14px clamp(16px, 3vw, 40px);
  transition: background .35s, backdrop-filter .35s, padding .35s, transform .45s var(--ease);
}
.nav.is-scrolled {
  background: rgba(14,10,7,.72);
  backdrop-filter: blur(14px) saturate(1.3); -webkit-backdrop-filter: blur(14px) saturate(1.3);
  padding-top: 8px; padding-bottom: 8px;
  box-shadow: 0 1px 0 rgba(245,185,66,.15);
}
.nav.is-hidden { transform: translateY(-110%); }
.nav__logo { transition: opacity .35s; }
.nav:not(.is-scrolled) .nav__logo { opacity: 0; pointer-events: none; }
.nav__logo img { height: 44px; width: auto; filter: drop-shadow(0 3px 6px rgba(0,0,0,.5)); }
.nav__links { display: flex; gap: clamp(14px, 2.2vw, 34px); }
.nav__links a { text-decoration: none; font-weight: 500; font-size: .98rem; opacity: .85; position: relative; text-shadow: 0 1px 6px rgba(0,0,0,.6); }
.nav__links a::after { content: ""; position: absolute; left: 0; right: 0; bottom: -4px; height: 2px; background: var(--gold); transform: scaleX(0); transition: transform .3s var(--ease); }
.nav__links a:hover { opacity: 1; }
.nav__links a:hover::after { transform: scaleX(1); }
@media (max-width: 860px) { .nav__links { display: none; } .nav__logo img { height: 36px; } }

/* ==========================================================
   HERO — 2.5D depth stage
   ========================================================== */
.hero { position: relative; height: 260vh; }
.hero__sticky { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; background: #1b0f06; }

.stage {
  position: absolute; left: 50%; top: 50%;
  width: max(100vw, 177.65vh); width: max(100vw, 177.65svh);
  aspect-ratio: 2560 / 1441;
  transform: translate(-50%, -50%) scale(1.12);
  will-change: transform;
}
.stage__img, .stage__canvas { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.stage__canvas { opacity: 0; transition: opacity .6s; }
.stage.gl-ready .stage__canvas { opacity: 1; }

.stage__sun {
  position: absolute; left: 88.8%; top: 37.6%; width: 30%; aspect-ratio: 1;
  transform: translate(-50%, -50%);
  background: radial-gradient(circle, rgba(255,236,170,.75) 0%, rgba(255,190,90,.35) 18%, rgba(255,140,40,.12) 40%, transparent 65%);
  mix-blend-mode: screen; pointer-events: none;
  animation: sunPulse 6s ease-in-out infinite;
}
@keyframes sunPulse { 50% { opacity: .75; transform: translate(-50%, -50%) scale(1.08); } }

.stage__cat {
  position: absolute; left: 41.2%; top: 26.5%; width: 23.5%;
  will-change: transform;
}
.stage__cat img {
  width: 100%; height: auto;
  filter: drop-shadow(0 1.2vw 1.4vw rgba(40,12,0,.55)) drop-shadow(0 0 .25vw rgba(255,200,120,.35));
  transform-origin: 50% 85%;
  animation: breathe 3.6s ease-in-out infinite;
}
@keyframes breathe { 50% { transform: scale(1.012, .992) translateY(.15%); } }

/* cigar smoke */
.smoke { position: absolute; left: 3.5%; top: 9%; width: 12%; aspect-ratio: 1; pointer-events: none; z-index: 2; }
.smoke i {
  position: absolute; left: 0; top: 0; width: 100%; aspect-ratio: 1; border-radius: 50%;
  background: radial-gradient(circle, rgba(255,245,230,.55), rgba(255,245,230,0) 65%);
  filter: blur(4px); opacity: 0;
  animation: smoke 4.8s linear infinite;
}
.smoke i:nth-child(2) { animation-delay: 1.2s; }
.smoke i:nth-child(3) { animation-delay: 2.4s; }
.smoke i:nth-child(4) { animation-delay: 3.6s; }
@keyframes smoke {
  0% { transform: translate(0, 0) scale(.3); opacity: 0; }
  12% { opacity: .9; }
  100% { transform: translate(-60%, -420%) scale(2.6); opacity: 0; }
}

.dust { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }

/* soft golden lens bokeh in front of the scene = depth-of-field layer */
.hero__fg { position: absolute; inset: 0; pointer-events: none; }
.bokeh {
  position: absolute; display: block; aspect-ratio: 1; border-radius: 50%;
  background: radial-gradient(circle, rgba(255,214,140,.55) 0%, rgba(255,180,80,.28) 45%, rgba(255,160,60,0) 70%);
  mix-blend-mode: screen; will-change: transform;
}
.bokeh--a { left: 4%; top: 58%; width: 90px; filter: blur(3px); }
.bokeh--b { right: 6%; top: 12%; width: 160px; filter: blur(8px); opacity: .8; }
.bokeh--c { left: 30%; top: 8%; width: 46px; filter: blur(2px); opacity: .8; }
.bokeh--d { right: 22%; bottom: -6%; width: 260px; filter: blur(14px); opacity: .55; }
.bokeh--e { left: 14%; bottom: 10%; width: 120px; filter: blur(9px); opacity: .5; }

.hero__shade {
  position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(ellipse 120% 90% at 50% 45%, transparent 55%, rgba(10,6,3,.55) 100%),
    linear-gradient(180deg, rgba(10,6,3,.45) 0%, transparent 22%, transparent 70%, rgba(14,10,7,.9) 100%);
}
.hero__shade::after { content: ""; position: absolute; inset: 0; background: var(--oil); opacity: var(--dark, 0); }

.hero__side {
  position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(90deg, rgba(12,7,3,.78) 0%, rgba(12,7,3,.5) 30%, rgba(12,7,3,0) 52%);
}
.hero__content {
  position: absolute; z-index: 5;
  left: clamp(20px, 5.5vw, 90px); top: 50%; width: min(580px, 40vw);
  display: flex; flex-direction: column; gap: 1.4rem;
  will-change: transform, opacity;
}
.hero__ctas { justify-content: flex-start; }
@media (max-aspect-ratio: 1/1) {
  /* phones / portrait: logo on top, buttons at the bottom, cat in between */
  .hero__side { background: linear-gradient(180deg, rgba(12,7,3,.6) 0%, rgba(12,7,3,0) 30%, rgba(12,7,3,0) 62%, rgba(12,7,3,.75) 100%); }
  .hero__content {
    left: 5vw; right: 5vw; width: auto; top: 0; bottom: 0;
    padding: 11vh 0 12vh; justify-content: space-between; text-align: center;
  }
  .hero__top { max-width: 520px; margin: 0 auto; width: 100%; }
  .hero__ctas { justify-content: center; }
  .hero__bottom { text-align: center; }
}
.hero__title { margin: 0; }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 14px; }
.hero__logo { width: 100%; height: auto; filter: drop-shadow(0 10px 18px rgba(0,0,0,.55)); }
.hero__tag {
  margin: .2rem 0 0; color: var(--cream);
  font-family: var(--display); font-size: clamp(1.15rem, 2.2vw, 1.6rem); letter-spacing: .02em;
  text-shadow: 0 2px 10px rgba(0,0,0,.8);
}

.ca {
  display: inline-flex; align-items: center; gap: .7em; margin-top: 1rem;
  padding: .5em .6em .5em .55em; border-radius: 999px; max-width: 100%;
  background: rgba(14,10,7,.55); border: 1px solid rgba(245,185,66,.35); color: var(--cream);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  font: 500 .9rem var(--body); cursor: pointer; transition: border-color .2s, background .2s;
}
.ca:hover { border-color: var(--gold); background: rgba(14,10,7,.75); }
.ca__label { padding: .15em .6em; border-radius: 999px; background: var(--gold); color: var(--oil); font-weight: 700; }
.ca__value { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 46ch; }
.ca__icon { opacity: .7; padding-right: .3em; }

.hero__reveal {
  position: absolute; left: clamp(20px, 5.5vw, 90px); bottom: 12vh; width: min(820px, 56vw); z-index: 5; text-align: left;
  opacity: 0; transform: translateY(40px); pointer-events: none;
}
.hero__reveal h2 {
  margin: 0; font-family: var(--display); font-weight: 400;
  font-size: clamp(2.3rem, 5.2vw, 5rem); line-height: .98;
  text-shadow: 0 6px 30px rgba(0,0,0,.75), 0 3px 0 rgba(0,0,0,.4);
}
.hero__reveal em { font-style: normal; color: var(--gold-2); }

.hero__scroll {
  position: absolute; left: 50%; bottom: 3.5vh; z-index: 5; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  font-size: .72rem; letter-spacing: .3em; text-transform: uppercase; color: var(--cream);
  text-shadow: 0 1px 8px rgba(0,0,0,.8);
}
.hero__scroll i { width: 24px; height: 38px; border: 2px solid var(--cream); border-radius: 14px; position: relative; }
.hero__scroll i::after { content: ""; position: absolute; left: 50%; top: 7px; width: 4px; height: 8px; margin-left: -2px; border-radius: 2px; background: var(--gold); animation: wheel 1.8s ease-in-out infinite; }
@keyframes wheel { 0% { transform: translateY(0); opacity: 1; } 80% { transform: translateY(12px); opacity: 0; } 100% { opacity: 0; } }

@media (max-aspect-ratio: 1/1) {
  .hero__reveal { left: 5vw; right: 5vw; width: auto; bottom: 14vh; text-align: center; }
  .hero__scroll { display: none; }
}

/* ==========================================================
   MARQUEE
   ========================================================== */
.marquee {
  position: relative; z-index: 3; overflow: hidden;
  background: var(--gold); color: var(--oil);
  transform: rotate(-2deg) scale(1.04); margin: -22vh 0 0;
  box-shadow: 0 20px 50px rgba(0,0,0,.45);
}
.marquee__row { white-space: nowrap; padding: .55rem 0; }
.marquee__row--alt { background: var(--oil-2); color: var(--gold-2); }
.marquee__track { display: inline-flex; align-items: center; gap: 1.4rem; will-change: transform; }
.marquee__track span { font-family: var(--display); font-size: clamp(1.4rem, 3vw, 2.4rem); letter-spacing: .02em; text-transform: uppercase; }
.marquee__track i { font-style: normal; font-size: 1.1rem; opacity: .75; }

/* ==========================================================
   ABOUT
   ========================================================== */
.about { position: relative; padding: clamp(110px, 14vw, 200px) 0 clamp(80px, 10vw, 140px); background: radial-gradient(ellipse at 80% 30%, #2b1a0b 0%, var(--oil) 60%); }
.about__grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(30px, 5vw, 80px); align-items: center; }
.about__chips { margin-top: 1.4rem; }
@media (max-width: 900px) { .about__grid { grid-template-columns: 1fr; } .about__visual { order: -1; } }

[data-tilt] { perspective: 1100px; }
.popout {
  position: relative; width: min(520px, 90%); margin: 0 auto; aspect-ratio: 4 / 5;
  transform-style: preserve-3d; transition: transform .2s ease-out;
  transform: rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg));
}
[data-tilt-layer] { transform: translateZ(calc(var(--z, 0) * 1px)); }
.popout__frame {
  position: absolute; inset: 22% 0 0 0; border-radius: var(--radius); overflow: hidden;
  border: 6px solid var(--gold);
  box-shadow: 0 0 0 2px #7a4f0b, 0 30px 60px rgba(0,0,0,.6), inset 0 0 60px rgba(0,0,0,.5);
}
.popout__frame img { width: 100%; height: 100%; object-fit: cover; object-position: 60% 50%; transform: scale(1.12); }
.popout__cat { position: absolute; left: 8%; bottom: 2%; width: 84%; filter: drop-shadow(0 24px 30px rgba(0,0,0,.55)); }
.popout__coin {
  position: absolute; right: -6%; top: 14%; width: 26%; border-radius: 50%;
  border: 5px solid var(--gold); box-shadow: 0 0 0 3px #7a4f0b, 0 16px 30px rgba(0,0,0,.5);
  animation: bob 3.4s ease-in-out infinite;
}
.popout__drop {
  position: absolute; left: -4%; top: 40%; width: 46px; aspect-ratio: 3/4;
  background: radial-gradient(circle at 35% 62%, #6b4a2a 0 6%, #1a0f07 30%, #050302 70%);
  -webkit-mask: var(--drop) center / 100% 100% no-repeat; mask: var(--drop) center / 100% 100% no-repeat;
  animation: bob 2.8s ease-in-out infinite reverse;
}
@keyframes bob { 50% { translate: 0 -10px; } }

/* ==========================================================
   LIFESTYLE — horizontal gallery
   ========================================================== */
.life { position: relative; background: var(--oil); }
.life__sticky { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; display: flex; flex-direction: column; justify-content: center; }
.life__bgword {
  position: absolute; top: 50%; left: 0; white-space: nowrap; pointer-events: none;
  font-family: var(--display); font-size: 26vw; line-height: 1; color: transparent;
  -webkit-text-stroke: 2px rgba(245,185,66,.14);
  transform: translate(var(--wx, 0), -50%);
}
.life__head { position: relative; z-index: 1; margin-bottom: 2vh; }
.life__head .h-xl { margin-bottom: 0; }
.life__track {
  position: relative; z-index: 1; display: flex; gap: clamp(20px, 3vw, 44px);
  padding: 2vh clamp(16px, 4vw, 60px) 4vh; width: max-content; will-change: transform;
}
.card {
  --r: 0deg; --ix: 0px;
  margin: 0; flex: 0 0 auto; width: clamp(260px, 30vw, 420px);
  transform: rotate(var(--r)); transition: transform .4s var(--ease);
}
.card:nth-child(even) { margin-top: 6vh; }
.card__img {
  position: relative; aspect-ratio: 1; border-radius: var(--radius); overflow: hidden;
  border: 5px solid var(--gold); box-shadow: 0 0 0 2px #7a4f0b, 0 30px 50px rgba(0,0,0,.55);
}
.card__img img { width: 118%; max-width: none; height: 100%; object-fit: cover; transform: translateX(calc(-8% + var(--ix))) scale(1.02); transition: transform .1s linear; }
.card:hover { transform: rotate(0deg) translateY(-8px) scale(1.02); }
.card figcaption { padding: 1rem .3rem 0; }
.card figcaption b { display: block; font-family: var(--display); font-weight: 400; font-size: 1.6rem; color: var(--cream); }
.card figcaption span { color: var(--muted); font-size: .98rem; }
.life__progress { position: absolute; left: 50%; bottom: 3vh; width: min(300px, 60vw); height: 4px; transform: translateX(-50%); background: var(--oil-3); border-radius: 4px; overflow: hidden; }
.life__progress span { display: block; height: 100%; width: 100%; background: var(--gold); transform-origin: left; transform: scaleX(var(--p, 0)); }

/* ==========================================================
   TOKENOMICS
   ========================================================== */
.tokenomics { position: relative; padding: clamp(90px, 12vw, 170px) 0; background: radial-gradient(ellipse at 20% 50%, #2e1c0b 0%, var(--oil) 55%); overflow: hidden; }
.tokenomics__grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(30px, 6vw, 90px); align-items: center; }
@media (max-width: 900px) { .tokenomics__grid { grid-template-columns: 1fr; } }

.coin-wrap { position: relative; perspective: 1200px; display: grid; place-items: center; padding: 6% 0 12%; }
.coin {
  position: relative; width: min(380px, 70vw); aspect-ratio: 1;
  transform-style: preserve-3d; transform: rotateY(var(--cy, 0deg)) rotateX(var(--cx, 0deg));
  animation: bob 4s ease-in-out infinite;
}
.coin__face {
  position: absolute; inset: 0; border-radius: 50%; overflow: hidden; backface-visibility: hidden; -webkit-backface-visibility: hidden;
  border: 14px solid var(--gold);
  box-shadow: 0 0 0 4px #7a4f0b, inset 0 0 0 4px var(--gold-2), inset 0 0 40px rgba(0,0,0,.35), 0 0 80px rgba(245,185,66,.35);
}
.coin__face img { width: 100%; height: 100%; object-fit: cover; }
.coin__face--front { transform: translateZ(9px); }
.coin__edge { position: absolute; inset: 0; transform-style: preserve-3d; }
.coin__edge i { position: absolute; inset: 0; border-radius: 50%; background: linear-gradient(90deg, #7a4f0b, #e7a93a 40%, #ffd978 50%, #c98a1c 60%, #6a430a); }
.coin__face--back {
  transform: rotateY(180deg) translateZ(9px); display: grid; place-items: center;
  background: radial-gradient(circle at 40% 35%, var(--gold-2), var(--gold) 45%, var(--gold-3));
}
.coin__face--back span { font-family: var(--display); font-size: clamp(3rem, 7vw, 5rem); color: #6a430a; text-shadow: 0 2px 0 rgba(255,255,255,.4); }
.coin-shadow { position: absolute; bottom: 2%; width: 55%; height: 26px; border-radius: 50%; background: radial-gradient(rgba(0,0,0,.65), transparent 70%); }

.stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.stat {
  padding: 1.1rem 1.3rem; border-radius: 18px;
  background: linear-gradient(180deg, rgba(42,28,16,.9), rgba(25,17,10,.9));
  border: 1px solid rgba(245,185,66,.22);
  box-shadow: inset 0 1px 0 rgba(255,217,120,.12);
}
.stat__k { display: block; font-size: .78rem; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); }
.stat__v { display: block; margin-top: .2rem; font-family: var(--display); font-size: clamp(1.4rem, 2.4vw, 2rem); color: var(--gold-2); overflow-wrap: anywhere; }
.stat__v--sm { font-size: 1.1rem; font-family: var(--body); font-weight: 700; }
@media (max-width: 520px) { .stats { grid-template-columns: 1fr; } }

/* ==========================================================
   HOW TO BUY
   ========================================================== */
.buy { padding: clamp(90px, 12vw, 160px) 0; background: var(--oil-2); position: relative; }
.buy__grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(30px, 6vw, 80px); align-items: center; }
@media (max-width: 900px) { .buy__grid { grid-template-columns: 1fr; } }
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; }
.step {
  display: grid; grid-template-columns: auto 1fr; gap: 1.1rem; align-items: start;
  padding: 1.2rem 1.4rem; border-radius: 20px; background: var(--oil); border: 1px solid rgba(245,185,66,.18);
  transition: transform .35s var(--ease), border-color .35s;
}
.step:hover { transform: translateX(8px); border-color: rgba(245,185,66,.6); }
.step__n {
  display: grid; place-items: center; width: 54px; aspect-ratio: 3/4;
  font-family: var(--display); font-size: 1.5rem; color: var(--oil); padding-top: 14px;
  background: linear-gradient(180deg, var(--gold-2), var(--gold-3));
  -webkit-mask: var(--drop) center / 100% 100% no-repeat; mask: var(--drop) center / 100% 100% no-repeat;
}
.step h3 { margin: .1rem 0 .2rem; font-family: var(--display); font-weight: 400; font-size: 1.5rem; }
.step p { margin: 0; }
.buy__visual { position: relative; transform-style: preserve-3d; }
.buy__visual > * { transform-style: preserve-3d; }
.buy__card {
  border-radius: var(--radius); overflow: hidden; border: 6px solid var(--gold);
  box-shadow: 0 0 0 2px #7a4f0b, 0 40px 70px rgba(0,0,0,.6);
  transform: rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)) translateZ(0);
  transition: transform .2s ease-out;
}
.buy__cta { position: absolute; left: 50%; bottom: -26px; translate: -50% 0; }

/* ==========================================================
   ROADMAP
   ========================================================== */
.roadmap { padding: clamp(90px, 12vw, 160px) 0; background: radial-gradient(ellipse at 50% 0%, #2a1a0b 0%, var(--oil) 60%); }
.pipeline { position: relative; display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; padding-top: 34px; }
.pipeline__pipe { position: absolute; left: 0; right: 0; top: 0; height: 14px; border-radius: 10px; background: linear-gradient(180deg, #5d5d5d, #2b2b2b); box-shadow: inset 0 2px 0 rgba(255,255,255,.25); overflow: hidden; }
.pipeline__pipe span { display: block; height: 100%; width: 100%; background: linear-gradient(90deg, #000, #2a1a0b 60%, var(--gold)); transform-origin: left; transform: scaleX(var(--fill, 0)); }
.phase {
  position: relative; padding: 1.6rem 1.5rem; border-radius: 22px;
  background: linear-gradient(180deg, rgba(42,28,16,.95), rgba(19,13,8,.95)); border: 1px solid rgba(245,185,66,.22);
}
.phase::before { content: ""; position: absolute; top: -27px; left: 1.5rem; width: 14px; height: 27px; background: linear-gradient(90deg, #444, #777, #444); }
.phase__tag { display: inline-block; padding: .25em .8em; border-radius: 99px; background: var(--gold); color: var(--oil); font-weight: 700; font-size: .8rem; letter-spacing: .12em; text-transform: uppercase; }
.phase h3 { margin: .7rem 0 .6rem; font-family: var(--display); font-weight: 400; font-size: 2rem; }
.phase ul { margin: 0; padding-left: 1.1rem; color: var(--muted); }
.phase li::marker { content: "🛢 "; }
@media (max-width: 860px) { .pipeline { grid-template-columns: 1fr; } }

/* ==========================================================
   FINALE / COMMUNITY
   ========================================================== */
.finale { position: relative; min-height: 100vh; display: grid; place-items: end center; overflow: hidden; text-align: center; }
.finale { background: var(--oil); }
/* the splash art keeps its own 16:9 shape at the top; the rest fades into oil */
.finale__bg { position: absolute; left: 0; right: 0; top: -6vw; height: 66vw; max-height: 130vh; will-change: transform; }
.finale__bg img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 35%; }
.finale__bg::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, var(--oil) 0%, rgba(14,10,7,.1) 16%, rgba(14,10,7,.25) 45%, rgba(14,10,7,.85) 78%, var(--oil) 100%);
}
.finale__content { position: relative; z-index: 1; padding: clamp(300px, 36vw, 640px) 0 10vh; }
@media (max-width: 700px) {
  .finale__bg { top: 0; height: 115vw; }
  .finale__bg img { object-position: 50% 20%; }
  .finale__content { padding-top: 62vw; }
}
.finale__logo { width: min(560px, 82vw); margin: 0 auto .6rem; filter: drop-shadow(0 12px 22px rgba(0,0,0,.6)); }
.finale .h-xl { margin-bottom: .6rem; text-shadow: 0 6px 30px rgba(0,0,0,.8); }
.finale__lead { margin: 0 auto 2rem; max-width: 560px; color: var(--sand); }
.socials, .trackers { display: grid; gap: 14px; margin: 0 auto 14px; max-width: 1040px; }
.socials { grid-template-columns: repeat(5, 1fr); }
.trackers { grid-template-columns: repeat(4, 1fr); max-width: 840px; margin-bottom: 2.4rem; }
@media (max-width: 960px) { .socials { grid-template-columns: repeat(3, 1fr); } .trackers { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .socials { grid-template-columns: repeat(2, 1fr); } }
.social {
  position: relative; display: grid; justify-items: center; gap: .25rem;
  padding: 1.1rem .8rem 1rem; border-radius: 20px; text-decoration: none;
  background: linear-gradient(180deg, rgba(42,28,16,.82), rgba(14,10,7,.9));
  border: 1px solid rgba(245,185,66,.28);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  transition: transform .35s var(--ease), border-color .35s, box-shadow .35s;
}
.social:hover { transform: translateY(-6px); border-color: var(--gold); box-shadow: 0 16px 34px rgba(0,0,0,.45), 0 0 0 1px rgba(245,185,66,.4); }
.social__icon { width: 30px; height: 30px; color: var(--gold-2); }
.social__name { font-family: var(--display); font-size: 1.15rem; color: var(--cream); }
.social__handle { font-size: .8rem; color: var(--muted); }
.trackers .social { grid-template-columns: auto 1fr; justify-items: start; align-items: center; text-align: left; column-gap: .7rem; padding: .8rem 1rem; }
.trackers .social__icon { grid-row: span 2; width: 26px; height: 26px; }
.social.is-soon::after {
  content: "Soon"; position: absolute; top: -9px; right: 12px;
  padding: .15em .6em; border-radius: 99px; background: var(--oil-3); border: 1px solid rgba(245,185,66,.45); color: var(--gold);
  font-size: .65rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
}
.finale__buy { margin-top: .4rem; }

/* ---------- footer ---------- */
.footer { padding: 54px 0 40px; background: var(--oil); border-top: 1px solid rgba(245,185,66,.12); }
.footer__inner { display: grid; justify-items: center; text-align: center; gap: 1.2rem; }
.footer__top { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; flex-wrap: wrap; }
.footer__logo { width: 190px; }
.footer__nav { display: flex; flex-wrap: wrap; gap: 8px 22px; justify-content: center; }
.footer__nav a { text-decoration: none; color: var(--muted); font-weight: 500; }
.footer__nav a:hover { color: var(--gold-2); }
.footer__icons { display: flex; gap: 10px; }
.footer__icons a {
  display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%;
  background: var(--oil-3); color: var(--gold-2); border: 1px solid rgba(245,185,66,.25);
  transition: background .25s, color .25s, transform .25s var(--ease);
}
.footer__icons a:hover { background: var(--gold); color: var(--oil); transform: translateY(-3px); }
.footer__icons svg { width: 19px; height: 19px; }
.ca--footer { margin-top: 0; }
.footer__disc { max-width: 720px; margin: 0; font-size: .85rem; }
.footer__copy { margin: 0; font-size: .8rem; opacity: .6; }
@media (max-width: 860px) { .footer__top { flex-direction: column; } }

/* ---------- floating depth decorations ---------- */
.about, .tokenomics, .buy, .roadmap { position: relative; overflow: hidden; }
.about > .container, .tokenomics > .container, .buy > .container, .roadmap > .container { position: relative; z-index: 1; }
.floaters { position: absolute; inset: 0; pointer-events: none; z-index: 0; }
.floater { position: absolute; display: block; will-change: transform; }
.floater--coin { aspect-ratio: 1; height: auto; border-radius: 50%; border: 3px solid var(--gold); box-shadow: 0 0 0 2px #7a4f0b, 0 10px 24px rgba(0,0,0,.5); }
.floater--drop {
  aspect-ratio: 3 / 4;
  background: radial-gradient(circle at 36% 64%, #8a6338 0 5%, #24160b 28%, #050302 70%);
  -webkit-mask: var(--drop) center / 100% 100% no-repeat; mask: var(--drop) center / 100% 100% no-repeat;
}
@media (max-width: 700px) { .floater { opacity: .3 !important; } }

/* ---------- toast ---------- */
.toast {
  position: fixed; left: 50%; bottom: 28px; z-index: 80; translate: -50% 20px;
  padding: .8em 1.4em; border-radius: 999px; background: var(--gold); color: var(--oil); font-weight: 700;
  opacity: 0; pointer-events: none; transition: opacity .3s, translate .3s var(--ease);
  box-shadow: 0 10px 30px rgba(0,0,0,.4);
}
.toast.is-on { opacity: 1; translate: -50% 0; }

/* ---------- scroll reveal ---------- */
.reveal { opacity: 0; transform: translateY(36px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }

/* ==========================================================
   PHONES & TOUCH
   ========================================================== */
.hero__hint {
  position: absolute; left: 50%; bottom: max(3vh, env(safe-area-inset-bottom)); z-index: 6;
  transform: translateX(-50%);
  display: inline-flex; align-items: center; gap: .45em;
  padding: .5em 1em; border-radius: 999px; border: 1px solid rgba(255,244,222,.35);
  background: rgba(14,10,7,.55); color: var(--cream);
  font: 500 .8rem var(--body); letter-spacing: .02em; white-space: nowrap;
  backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
  animation: hintPulse 2.4s ease-in-out infinite;
}
.hero__hint[hidden] { display: none; }
@keyframes hintPulse { 50% { box-shadow: 0 0 0 6px rgba(245,185,66,.15); } }

/* no sticky hover states or tap flashes on touch screens */
a, button { -webkit-tap-highlight-color: transparent; }
.is-touch .card:hover { transform: rotate(var(--r)); }
.is-touch .step:hover { transform: none; }
.is-touch .social:hover { transform: none; box-shadow: none; }

/* phones: drop the most expensive effects (big blurs, blend modes, glass) — they cost
   a lot of GPU on a phone and are barely visible at that size */
.is-touch .floater { filter: none !important; }
.is-touch .bokeh--b, .is-touch .bokeh--d { display: none; }
.is-touch .social, .is-touch .btn--ghost, .is-touch .ca { backdrop-filter: none; -webkit-backdrop-filter: none; }
.is-touch .social { background: linear-gradient(180deg, rgba(42,28,16,.95), rgba(14,10,7,.96)); }
.is-touch .btn--ghost { background: rgba(14,10,7,.6); }
.is-touch .stage__sun { animation: none; }

@media (max-width: 700px) {
  body { font-size: 16px; }
  .lead { font-size: 1.1rem; }
  .h-xl { font-size: clamp(2.4rem, 11vw, 3.4rem); }
  .btn { font-size: 1rem; padding: .85em 1.3em; }
  .btn--lg { font-size: 1.15rem; }
  .hero__ctas { gap: 10px; }
  .hero__ctas .btn { flex: 1 1 0; min-width: 0; }
  .ca__value { max-width: 22ch; }
  .marquee { margin-top: -16vh; }
  .marquee__track span { font-size: 1.35rem; }
  .about { padding-top: 120px; }
  .popout { width: min(360px, 84%); }
  .card { width: 72vw; }
  .card:nth-child(even) { margin-top: 3vh; }
  .card figcaption b { font-size: 1.35rem; }
  .life__bgword { font-size: 40vw; }
  .coin { width: min(300px, 70vw); }
  .step { padding: 1rem 1.1rem; gap: .9rem; }
  .step__n { width: 44px; font-size: 1.25rem; padding-top: 10px; }
  .step h3 { font-size: 1.3rem; }
  .buy__visual { margin: 0 6% 30px; }
  .phase h3 { font-size: 1.7rem; }
  .finale__content { padding-bottom: 7vh; }
  .footer__logo { width: 160px; }
}

/* phones held sideways / very short screens */
@media (max-height: 520px) and (orientation: landscape) {
  .nav { padding-top: 6px; padding-bottom: 6px; }
  .nav__logo img { height: 30px; }
  .btn--sm { padding: .45em .95em; font-size: .9rem; }
  .hero__content { width: min(460px, 44vw); gap: .7rem; top: 54%; }
  .hero__tag { font-size: 1rem; }
  .btn { font-size: .92rem; padding: .7em 1.1em; }
  .ca { display: none; }
  .hero__reveal { bottom: 8vh; }
  .hero__reveal h2 { font-size: clamp(1.8rem, 5vw, 2.6rem); }
  .hero__scroll { display: none; }
  .hero__hint { bottom: 10px; }
  .marquee { margin-top: -14vh; }
  .life__head { margin-bottom: 0; }
  .life__head .eyebrow { display: none; }
  .life__head .h-xl { font-size: 2rem; }
  .life__sticky { justify-content: flex-start; padding-top: 56px; }
  .life__track { padding-top: 1vh; padding-bottom: 2vh; }
  .card { width: min(44vh, 30vw); }
  .coin { width: min(58vh, 260px); }
  .tokenomics__grid { grid-template-columns: .8fr 1.2fr; }
  .card:nth-child(even) { margin-top: 2vh; }
  .card figcaption { padding-top: .4rem; }
  .card figcaption b { font-size: 1.1rem; }
  .card figcaption span { display: none; }
  .life__progress { bottom: 8px; }
}

/* ---------- reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
}
