/* =========================================================
   GTA Stonk ($GTONK) — styles
   ========================================================= */

:root {
  --midnight: #190C32;
  --violet: #35115B;
  --purple: #7D37D8;
  --pink: #FF43A4;
  --coral: #FF806B;
  --orange: #FFB45C;
  --sky: #8CCFE4;
  --white: #FFFFFF;
  --night: #10071F;

  --text-soft: rgba(255, 255, 255, .78);
  --text-mute: rgba(255, 255, 255, .56);
  --line: rgba(255, 255, 255, .12);

  --sunset: linear-gradient(95deg, var(--orange) 0%, var(--coral) 38%, var(--pink) 72%, var(--purple) 100%);

  --font-display: "Anton", Impact, "Haettenschweiler", "Arial Narrow Bold", sans-serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;

  --gutter: clamp(1rem, 5vw, 8rem);
  --header-h: clamp(64px, 5.2vw, 92px);
  --section-y: clamp(5rem, 10vw, 11rem);
  --ease: cubic-bezier(.2, .8, .2, 1);
  --ease-out: cubic-bezier(.16, 1, .3, 1);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-h);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--midnight);
  color: var(--white);
  font-family: var(--font-body);
  font-size: clamp(1rem, .35vw + .9rem, 1.2rem);
  line-height: 1.6;
  overflow-x: hidden;
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body.menu-open { overflow: hidden; }

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; border: 0; background: none; }
h1, h2, h3, p, ol, figure { margin: 0; }
ol { padding: 0; list-style: none; }
svg { fill: currentColor; }

:focus-visible { outline: 3px solid var(--sky); outline-offset: 3px; }

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  overflow: hidden; clip: rect(0 0 0 0);
  white-space: nowrap;
}

.skip-link {
  position: fixed; top: 1rem; left: 1rem; z-index: 100;
  padding: .75rem 1rem;
  background: var(--white); color: var(--midnight);
  font-weight: 700;
  transform: translateY(-200%);
  transition: transform .2s;
}
.skip-link:focus { transform: none; }

[hidden] { display: none !important; }

.container {
  width: min(100% - 2 * var(--gutter), 2100px);
  margin-inline: auto;
}

/* ---------- Shared type ---------- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .9em;
  font-size: clamp(.72rem, .25vw + .65rem, .9rem);
  font-weight: 700;
  letter-spacing: .28em;
  text-transform: uppercase;
  color: var(--sky);
}
.eyebrow::before {
  content: "";
  width: 2.4em; height: 2px;
  background: var(--pink);
}
.eyebrow--dark { color: var(--midnight); }

.section-title {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(3rem, 7vw, 9rem);
  line-height: .9;
  letter-spacing: -.005em;
  text-transform: uppercase;
}

.text-sunset {
  background: var(--sunset);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.text-link {
  font-weight: 700;
  font-size: .9rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--text-soft);
  transition: color .25s;
}
.text-link:hover { color: var(--sky); }

.status-dot {
  width: .55rem; height: .55rem;
  border-radius: 50%;
  background: var(--orange);
  box-shadow: 0 0 0 0 rgba(255, 180, 92, .6);
  animation: pulse 2.4s ease-out infinite;
  flex: none;
}
.is-live .status-dot { background: #5BE3A0; }

/* ---------- Buttons ---------- */
.btn {
  --shadow: var(--sky);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .6em;
  min-height: 3.6rem;
  padding: 0 1.9em;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(1.05rem, .45vw + .9rem, 1.4rem);
  line-height: 1;
  letter-spacing: .06em;
  text-transform: uppercase;
  white-space: nowrap;
  border-radius: 4px;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background-color .25s, color .25s, border-color .25s;
}
.btn svg { width: 1em; height: 1em; }

.btn--primary {
  background: var(--pink);
  color: var(--white);
  box-shadow: 5px 5px 0 var(--shadow);
}
.btn--primary:hover {
  transform: translate(-2px, -2px);
  box-shadow: 8px 8px 0 var(--shadow);
}
.btn--primary:active {
  transform: translate(3px, 3px);
  box-shadow: 1px 1px 0 var(--shadow);
}

.btn--ghost {
  border: 2px solid rgba(255, 255, 255, .85);
  background: rgba(25, 12, 50, .28);
  color: var(--white);
}
.btn--ghost:hover {
  background: var(--white);
  border-color: var(--white);
  color: var(--midnight);
}

.btn--sm {
  min-height: 2.75rem;
  padding: 0 1.25em;
  font-size: 1rem;
  box-shadow: 3px 3px 0 var(--shadow);
}
.btn--sm:hover { box-shadow: 5px 5px 0 var(--shadow); }

.btn--lg {
  min-height: clamp(3.75rem, 4.2vw, 4.75rem);
  font-size: clamp(1.15rem, .7vw + .9rem, 1.65rem);
}

/* =========================================================
   HEADER
   ========================================================= */
.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 60;
  border-bottom: 1px solid transparent;
  transition: background-color .45s var(--ease), border-color .45s, backdrop-filter .45s;
}
.site-header.is-scrolled,
.menu-open .site-header {
  background: rgba(25, 12, 50, .74);
  border-color: rgba(255, 255, 255, .08);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  backdrop-filter: blur(14px) saturate(140%);
}

.header__inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  height: var(--header-h);
  padding-inline: var(--gutter);
}

.header__brand {
  display: inline-flex;
  align-items: center;
  gap: .8rem;
  justify-self: start;
  font-family: var(--font-display);
  font-size: clamp(1.1rem, .5vw + .9rem, 1.45rem);
  letter-spacing: .03em;
  text-transform: uppercase;
}
.header__brand img {
  width: clamp(38px, 2.6vw, 50px);
  height: auto;
  border-radius: 9px;
  box-shadow: 0 0 0 2px rgba(255, 255, 255, .9);
}

.header__nav {
  display: flex;
  gap: clamp(1.75rem, 3.2vw, 4rem);
}
.header__nav a {
  position: relative;
  padding: .5rem 0;
  font-size: clamp(.78rem, .2vw + .7rem, .92rem);
  font-weight: 700;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--text-soft);
  transition: color .25s;
}
.header__nav a::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 2px;
  background: var(--pink);
  transform: scaleX(0);
  transition: transform .3s var(--ease);
}
.header__nav a:hover { color: var(--white); }
.header__nav a:hover::after { transform: scaleX(1); }

.header__actions {
  display: flex;
  align-items: center;
  gap: clamp(.75rem, 1.2vw, 1.5rem);
  justify-self: end;
}

.icon-link {
  display: grid;
  place-items: center;
  width: 2.75rem; height: 2.75rem;
  border: 1px solid rgba(255, 255, 255, .25);
  border-radius: 50%;
  transition: background-color .25s, color .25s, border-color .25s;
}
.icon-link svg { width: 1.05rem; height: 1.05rem; }
.icon-link:hover { background: var(--white); color: var(--midnight); border-color: var(--white); }

.menu-toggle {
  display: none;
  position: relative;
  width: 2.75rem; height: 2.75rem;
  border: 1px solid rgba(255, 255, 255, .25);
  border-radius: 50%;
}
.menu-toggle span {
  position: absolute;
  left: 50%; top: 50%;
  width: 1.1rem; height: 2px;
  background: var(--white);
  transition: transform .35s var(--ease);
}
.menu-toggle span:first-child { transform: translate(-50%, -4px); }
.menu-toggle span:last-child { transform: translate(-50%, 3px); }
.menu-toggle[aria-expanded="true"] span:first-child { transform: translate(-50%, 0) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:last-child { transform: translate(-50%, 0) rotate(-45deg); }

/* Mobile menu */
.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 55;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 2rem;
  padding: calc(var(--header-h) + 2.5rem) var(--gutter) max(2rem, env(safe-area-inset-bottom));
  background:
    radial-gradient(120% 60% at 50% 115%, rgba(255, 67, 164, .45), transparent 60%),
    radial-gradient(90% 40% at 50% 110%, rgba(255, 180, 92, .4), transparent 60%),
    var(--midnight);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-12px);
  transition: opacity .35s var(--ease), transform .35s var(--ease), visibility 0s linear .35s;
}
.mobile-menu.is-open {
  opacity: 1;
  visibility: visible;
  transform: none;
  transition: opacity .35s var(--ease), transform .35s var(--ease);
}
.mobile-menu__nav {
  display: flex;
  flex-direction: column;
}
.mobile-menu__nav a {
  padding: .35rem 0;
  border-bottom: 1px solid var(--line);
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 11vw, 4rem);
  line-height: 1.15;
  text-transform: uppercase;
}
.mobile-menu__nav a:hover { color: var(--pink); }
.mobile-menu__buy { width: 100%; }

/* =========================================================
   HERO
   ========================================================= */
.hero {
  --px: 0;
  --py: 0;
  position: relative;
  isolation: isolate;
  display: flex;
  min-height: 100vh;
  min-height: 100svh;
  overflow: hidden;
  background: var(--midnight);
}

.hero__bg {
  position: absolute;
  inset: -4%;
  z-index: -3;
  background: url("assets/banner.png") 0% 62% / cover no-repeat;
  filter: saturate(1.1);
  translate: calc(var(--px) * -16px) calc(var(--py) * -10px);
  animation: bg-in 2.4s var(--ease-out) both;
}

.hero__shade {
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    linear-gradient(180deg, rgba(25, 12, 50, .6) 0%, rgba(25, 12, 50, 0) 20%),
    linear-gradient(90deg, rgba(25, 12, 50, .94) 0%, rgba(25, 12, 50, .78) 26%, rgba(53, 17, 91, .34) 50%, rgba(53, 17, 91, .08) 66%, rgba(25, 12, 50, 0) 80%),
    linear-gradient(0deg, var(--midnight) 0%, rgba(25, 12, 50, .55) 10%, rgba(25, 12, 50, 0) 30%);
}

.hero__glow {
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(42% 52% at 74% 62%, rgba(255, 67, 164, .32), transparent 70%),
    radial-gradient(36% 26% at 72% 96%, rgba(255, 180, 92, .38), transparent 70%),
    radial-gradient(30% 40% at 12% 40%, rgba(125, 55, 216, .28), transparent 70%);
  mix-blend-mode: screen;
}

.hero__inner {
  position: relative;
  display: flex;
  align-items: center;
  width: 100%;
  padding: calc(var(--header-h) + clamp(1.5rem, 4svh, 3.5rem)) var(--gutter) clamp(5.5rem, 12svh, 9rem);
}

.hero__copy {
  position: relative;
  z-index: 2;
  width: min(46vw, 64rem);
}

.hero__eyebrow { animation: fade-up .9s var(--ease-out) .15s both; }

.hero__title {
  margin: clamp(.75rem, 2svh, 1.5rem) 0 clamp(1rem, 2.6svh, 2rem);
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(4.5rem, min(11.5vw, 21svh), 17rem);
  line-height: .84;
  letter-spacing: -.01em;
  text-transform: uppercase;
  text-shadow:
    .035em .045em 0 var(--midnight),
    0 .1em .45em rgba(25, 12, 50, .45);
}
.hero__title-line {
  display: block;
  overflow: hidden;
  /* room for the hard shadow inside the mask */
  padding: 0 .06em .07em 0;
  margin-bottom: -.07em;
}
.hero__title-line > span {
  display: block;
  animation: line-up 1.1s var(--ease-out) both;
}
.hero__title-line:nth-child(1) > span { animation-delay: .3s; }
.hero__title-line:nth-child(2) > span { animation-delay: .42s; }

.hero__tagline {
  display: flex;
  flex-direction: column;
  font-family: var(--font-display);
  font-size: clamp(1.75rem, min(3.3vw, 6.2svh), 4.6rem);
  line-height: 1.02;
  letter-spacing: .01em;
  text-transform: uppercase;
  animation: fade-up 1s var(--ease-out) .65s both;
}
.hero__tagline > span { width: fit-content; }

.hero__lead {
  margin-top: clamp(.75rem, 2svh, 1.25rem);
  font-size: clamp(1rem, .5vw + .8rem, 1.45rem);
  font-weight: 500;
  color: var(--text-soft);
  animation: fade-up 1s var(--ease-out) .8s both;
}
.hero__lead strong { color: var(--sky); font-weight: 800; letter-spacing: .02em; }

.hero__ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 1.25rem;
  margin-top: clamp(1.5rem, 4svh, 2.75rem);
  animation: fade-up 1s var(--ease-out) .95s both;
}

.hero__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .75rem 1.25rem;
  margin-top: clamp(1.25rem, 3svh, 2rem);
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .2em;
  text-transform: uppercase;
  animation: fade-up 1s var(--ease-out) 1.1s both;
}
.hero__social {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  padding: .4rem 0;
  transition: color .25s;
}
.hero__social svg { width: .95rem; height: .95rem; }
.hero__social:hover { color: var(--pink); }
.hero__divider { width: 1px; height: 1rem; background: rgba(255, 255, 255, .3); }
.hero__status { display: inline-flex; align-items: center; gap: .6rem; color: var(--text-mute); }

/* Characters */
.hero__figure {
  position: absolute;
  right: clamp(0px, 3vw, 7rem);
  bottom: -2%;
  z-index: 1;
  width: min(48vw, 84svh);
  translate: calc(var(--px) * 12px) calc(var(--py) * 6px);
  pointer-events: none;
}
.hero__figure img {
  width: 100%;
  filter: drop-shadow(0 30px 60px rgba(25, 12, 50, .55));
}
.js .hero__rise { opacity: 0; transform: translateY(14%); }
.hero.is-ready .hero__rise { animation: rise 1.6s var(--ease-out) .2s forwards; }
.hero__float { animation: float 7s ease-in-out 2s infinite alternate; }

/* Scroll indicator */
.hero__scroll {
  position: absolute;
  left: var(--gutter);
  bottom: clamp(3.75rem, 7svh, 5rem);
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 1rem;
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .3em;
  text-transform: uppercase;
  color: var(--text-mute);
  animation: fade-up 1s var(--ease-out) 1.4s both;
}
.hero__scroll-line {
  position: relative;
  width: 4.5rem; height: 1px;
  overflow: hidden;
  background: rgba(255, 255, 255, .2);
}
.hero__scroll-line::after {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--pink);
  animation: scroll-line 2.4s var(--ease) infinite;
}
.hero__scroll:hover { color: var(--white); }

/* =========================================================
   TICKER
   ========================================================= */
.ticker {
  position: relative;
  z-index: 4;
  width: 108%;
  margin: -2.6rem 0 0 -4%;
  padding: clamp(.7rem, 1vw, 1rem) 0;
  overflow: hidden;
  background: var(--pink);
  color: var(--midnight);
  transform: rotate(-2deg);
  box-shadow: 0 12px 0 var(--midnight);
}
.ticker__track {
  display: flex;
  align-items: center;
  width: max-content;
  animation: marquee 48s linear infinite;
}
.ticker span {
  padding: 0 clamp(1rem, 1.6vw, 2rem);
  font-family: var(--font-display);
  font-size: clamp(1.15rem, 1.6vw, 2rem);
  line-height: 1.1;
  letter-spacing: .05em;
  text-transform: uppercase;
  white-space: nowrap;
}
.ticker i {
  flex: none;
  width: .55rem; height: .55rem;
  background: var(--midnight);
  transform: rotate(45deg);
}

/* =========================================================
   STATEMENT
   ========================================================= */
.statement {
  position: relative;
  padding: clamp(6rem, 12vw, 13rem) var(--gutter) clamp(4.5rem, 8vw, 9rem);
  background:
    radial-gradient(60% 50% at 50% 100%, rgba(125, 55, 216, .22), transparent 70%),
    var(--midnight);
}

.statement__title {
  display: flex;
  flex-direction: column;
  max-width: 2100px;
  margin-inline: auto;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(3rem, 14.5vw, 19rem);
  line-height: .9;
  letter-spacing: -.01em;
  text-transform: uppercase;
  white-space: nowrap;
}
.statement__line--1 { align-self: flex-start; }
.statement__line--2 { align-self: center; }
.statement__line--3 { align-self: flex-end; }

.statement__line--2 > span {
  color: transparent;
  -webkit-text-stroke: max(1.5px, .012em) var(--white);
}
.statement__line--3 > span {
  background: var(--sunset);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.statement__meta {
  display: flex;
  align-items: center;
  gap: clamp(1rem, 2vw, 2rem);
  max-width: 2100px;
  margin: clamp(2.5rem, 5vw, 5rem) auto 0;
  font-size: clamp(.72rem, .25vw + .65rem, .9rem);
  font-weight: 700;
  letter-spacing: .28em;
  text-transform: uppercase;
  color: var(--text-mute);
}
.statement__rule { flex: 1; height: 1px; background: var(--line); }

/* Line mask reveal */
.reveal-line {
  display: block;
  overflow: hidden;
  padding-bottom: .04em;
}
.reveal-line > span { display: block; }
.js [data-reveal="line"] > span {
  transform: translateY(108%);
  transition: transform 1.15s var(--ease-out) var(--d, 0s);
}
.js [data-reveal="line"].is-visible > span { transform: none; }

/* Generic reveal */
.js [data-reveal]:not([data-reveal="line"]) {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity .9s var(--ease-out) var(--d, 0s), transform .9s var(--ease-out) var(--d, 0s);
}
.js [data-reveal]:not([data-reveal="line"]).is-visible {
  opacity: 1;
  transform: none;
}

/* =========================================================
   ABOUT
   ========================================================= */
.about {
  position: relative;
  overflow: hidden;
  padding: var(--section-y) 0;
  background:
    radial-gradient(50% 60% at 85% 40%, rgba(255, 67, 164, .14), transparent 70%),
    radial-gradient(40% 50% at 5% 80%, rgba(140, 207, 228, .1), transparent 70%),
    linear-gradient(180deg, var(--midnight) 0%, #200F40 50%, var(--midnight) 100%);
}

.about__bgword {
  position: absolute;
  top: 46%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-family: var(--font-display);
  font-size: 34vw;
  line-height: .8;
  letter-spacing: -.02em;
  color: rgba(125, 55, 216, .09);
  -webkit-text-stroke: 1px rgba(255, 255, 255, .05);
  white-space: nowrap;
  pointer-events: none;
  user-select: none;
}

.about__grid {
  position: relative;
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  align-items: center;
  gap: clamp(3rem, 7vw, 10rem);
}

.about__copy .section-title { margin: 1.25rem 0 clamp(2rem, 4vw, 4rem); }

.about__story { display: grid; gap: clamp(.25rem, .6vw, .75rem); }
.story-line {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 5.2vw, 7rem);
  line-height: .98;
  text-transform: uppercase;
}
.hl-pink { color: var(--pink); }
.hl-sky { color: var(--sky); }

.about__sub {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  gap: 1.5rem clamp(2rem, 5vw, 6rem);
  margin-top: clamp(2.5rem, 4vw, 4rem);
  padding-top: clamp(1.5rem, 2.5vw, 2.5rem);
  border-top: 1px solid var(--line);
}
.about__sub p {
  font-size: clamp(1.05rem, .7vw + .8rem, 1.7rem);
  line-height: 1.45;
  color: var(--text-soft);
}
.about__sub .about__kicker {
  padding-left: 1.25rem;
  border-left: 4px solid var(--pink);
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 2vw, 2.6rem);
  line-height: 1.05;
  text-transform: uppercase;
  color: var(--white);
}

.about__visual { display: flex; justify-content: center; }

.poster {
  position: relative;
  width: min(100%, 44rem);
  rotate: 3deg;
  border: clamp(6px, .6vw, 12px) solid var(--white);
  border-radius: 6px;
  box-shadow:
    0 0 0 3px var(--midnight),
    clamp(12px, 1.4vw, 24px) clamp(12px, 1.4vw, 24px) 0 var(--pink);
  transition: rotate .6s var(--ease);
}
.poster:hover { rotate: 1deg; }
.poster img { width: 100%; }
.poster__tag {
  position: absolute;
  left: -1.25rem;
  bottom: 12%;
  padding: .55rem 1rem;
  background: var(--sky);
  color: var(--midnight);
  font-family: var(--font-display);
  font-size: clamp(1.1rem, 1.6vw, 2rem);
  letter-spacing: .04em;
  rotate: -8deg;
  box-shadow: 4px 4px 0 var(--midnight);
}

/* The cut */
.cut {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 2rem clamp(2rem, 6vw, 8rem);
  margin-top: clamp(4rem, 8vw, 9rem);
  padding-top: clamp(2rem, 3vw, 3rem);
  border-top: 1px solid var(--line);
}
.cut__label p:last-child {
  margin-top: .75rem;
  font-size: clamp(1rem, .5vw + .8rem, 1.35rem);
  color: var(--text-soft);
}
.cut__word {
  justify-self: end;
  font-family: var(--font-display);
  font-size: clamp(3.5rem, 12vw, 15rem);
  line-height: .9;
  text-transform: uppercase;
  white-space: nowrap;
}
.cut__mid {
  position: relative;
  display: inline-block;
  color: var(--pink);
  vertical-align: bottom;
  white-space: pre;
}
.cut__mid::after {
  content: "";
  position: absolute;
  left: -2%; right: -2%;
  top: 52%;
  height: .08em;
  background: var(--white);
  transform: scaleX(0);
  transform-origin: left;
}
.js .cut.is-visible .cut__mid::after {
  transform: scaleX(1);
  transition: transform .6s var(--ease) .6s;
}
.js .cut.is-visible .cut__mid {
  font-size: 0;
  opacity: 0;
  transition: font-size 1s var(--ease) 1.4s, opacity .6s ease 1.5s;
}

/* =========================================================
   STONK IDENTITY
   ========================================================= */
.stonk {
  position: relative;
  overflow: hidden;
  padding: calc(var(--section-y) + 3vw) 0;
  background:
    linear-gradient(118deg, transparent 0 56%, rgba(255, 255, 255, .22) 56% 100%),
    var(--sky);
  color: var(--midnight);
  clip-path: polygon(0 3vw, 100% 0, 100% calc(100% - 3vw), 0 100%);
}

.stonk__grid {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  align-items: center;
  gap: clamp(3rem, 7vw, 10rem);
}

.stonk__visual { display: flex; justify-content: center; }

/* Zoomed crop of the original logo, framed on the Stonk symbol */
.stonk__sticker {
  width: min(100%, 40rem);
  aspect-ratio: 1;
  background: url("assets/logo.png") 90% 35% / 267% auto no-repeat var(--violet);
  border: clamp(6px, .7vw, 12px) solid var(--midnight);
  border-radius: clamp(14px, 1.6vw, 28px);
  box-shadow: clamp(14px, 1.6vw, 28px) clamp(14px, 1.6vw, 28px) 0 var(--pink);
  rotate: -5deg;
  transition: rotate .6s var(--ease);
}
.stonk__sticker:hover { rotate: -2deg; }

.stonk__title {
  margin: 1.25rem 0 clamp(1.25rem, 2vw, 2rem);
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(3.25rem, 8vw, 11rem);
  line-height: .88;
  letter-spacing: -.01em;
  text-transform: uppercase;
}
.stonk__text {
  max-width: 34ch;
  font-size: clamp(1.15rem, .8vw + .9rem, 1.9rem);
  font-weight: 600;
  line-height: 1.35;
}

.stonk__equation {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .6rem 1rem;
  margin-top: clamp(2rem, 4vw, 3.5rem);
  font-family: var(--font-display);
  font-size: clamp(1.2rem, 1.6vw, 2.2rem);
  text-transform: uppercase;
}
.stonk__equation span {
  padding: .35em .7em;
  border: 3px solid var(--midnight);
  border-radius: 4px;
}
.stonk__equation b { font-weight: 400; color: var(--midnight); }
.stonk__equation .stonk__result {
  background: var(--midnight);
  color: var(--white);
  box-shadow: 5px 5px 0 var(--pink);
}

/* =========================================================
   HOW TO BUY
   ========================================================= */
.buy {
  padding: var(--section-y) 0 clamp(3rem, 5vw, 6rem);
  background: var(--midnight);
}

.buy__head {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-end;
  gap: 2rem;
  margin-bottom: clamp(3rem, 5vw, 5.5rem);
}
.buy__head .section-title { margin-top: 1.25rem; }
.buy__note {
  max-width: 30rem;
  padding-left: 1.25rem;
  border-left: 3px solid var(--orange);
  font-size: clamp(.95rem, .3vw + .85rem, 1.1rem);
  color: var(--text-soft);
}

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid rgba(255, 255, 255, .18);
}
.step {
  --c: var(--pink);
  padding: clamp(2rem, 3vw, 3.5rem) clamp(1.5rem, 3vw, 4rem) clamp(2rem, 3vw, 3.5rem) 0;
}
.step + .step {
  padding-left: clamp(1.5rem, 3vw, 4rem);
  border-left: 1px solid rgba(255, 255, 255, .18);
}
.step:nth-child(2) { --c: var(--coral); }
.step:nth-child(3) { --c: var(--orange); }

.step__num {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(5rem, 10vw, 13rem);
  line-height: .85;
  color: transparent;
  -webkit-text-stroke: max(2px, .012em) var(--c);
  transition: color .4s var(--ease);
}
.step:hover .step__num { color: var(--c); }
.step__title {
  margin: clamp(1.25rem, 2vw, 2rem) 0 .75rem;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(1.9rem, 2.8vw, 3.6rem);
  line-height: 1;
  text-transform: uppercase;
}
.step__text {
  max-width: 28ch;
  font-size: clamp(1rem, .4vw + .85rem, 1.3rem);
  color: var(--text-soft);
}

.buy__cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1.5rem 2.5rem;
  margin-top: clamp(2.5rem, 4vw, 4rem);
}

/* =========================================================
   CONTRACT
   ========================================================= */
.contract {
  padding: clamp(2rem, 4vw, 4rem) 0 var(--section-y);
  background: var(--midnight);
}

.contract__panel {
  display: grid;
  grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr);
  align-items: center;
  gap: clamp(2rem, 5vw, 6rem);
  padding: clamp(1.75rem, 4vw, 4.5rem);
  background:
    linear-gradient(135deg, rgba(140, 207, 228, .09), rgba(125, 55, 216, .07) 60%, rgba(25, 12, 50, 0)),
    var(--night);
  border: 1px solid rgba(140, 207, 228, .2);
  border-left: 5px solid var(--sky);
  border-radius: 6px;
}

.contract__title {
  margin-top: 1rem;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(2.75rem, 5.5vw, 7rem);
  line-height: .9;
  text-transform: uppercase;
}

.contract__status {
  display: inline-flex;
  align-items: center;
  gap: .65rem;
  margin-bottom: 1rem;
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--orange);
}
.is-live .contract__status { color: #5BE3A0; }

.ca-box {
  display: flex;
  align-items: stretch;
  border: 1px solid rgba(140, 207, 228, .4);
  border-radius: 4px;
  background: rgba(10, 4, 22, .7);
  overflow: hidden;
}
.ca-box__value {
  flex: 1;
  min-width: 0;
  padding: clamp(1rem, 1.6vw, 1.5rem) clamp(1rem, 2vw, 1.75rem);
  font-family: var(--font-mono);
  font-size: clamp(1rem, 1.3vw, 1.6rem);
  font-weight: 700;
  line-height: 1.4;
  color: var(--sky);
  overflow-wrap: anywhere;
  word-break: break-all;
}
.ca-box__copy {
  flex: none;
  min-width: 8.5rem;
  padding: 0 1.75rem;
  background: var(--sky);
  color: var(--midnight);
  font-family: var(--font-display);
  font-size: clamp(1.05rem, 1vw, 1.3rem);
  letter-spacing: .08em;
  text-transform: uppercase;
  transition: background-color .25s, color .25s;
}
.ca-box__copy:hover { background: var(--white); }
.ca-box__copy.is-copied { background: var(--pink); color: var(--white); }

.contract__note {
  margin-top: 1rem;
  font-size: clamp(.9rem, .25vw + .8rem, 1.05rem);
  color: var(--text-mute);
}

/* =========================================================
   CHART
   ========================================================= */
.chart {
  padding: var(--section-y) 0;
  background:
    radial-gradient(60% 40% at 50% 0%, rgba(125, 55, 216, .3), transparent 70%),
    linear-gradient(180deg, #24104A 0%, var(--violet) 55%, #22103F 100%);
}

.chart__head {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-end;
  gap: 2rem;
  margin-bottom: clamp(1.5rem, 3vw, 3rem);
}
.chart__title {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(3.5rem, 10vw, 13rem);
  line-height: .86;
  text-transform: uppercase;
}
.chart__sub {
  margin-top: .75rem;
  font-family: var(--font-display);
  font-size: clamp(1.25rem, 2.2vw, 2.8rem);
  line-height: 1.05;
  text-transform: uppercase;
  color: var(--sky);
}

.chart__notice {
  margin-bottom: 1.25rem;
  padding: 1rem 1.25rem;
  border-left: 3px solid var(--orange);
  background: rgba(25, 12, 50, .5);
  font-size: clamp(.92rem, .3vw + .82rem, 1.1rem);
  color: var(--text-soft);
}
.chart__notice strong { color: var(--orange); }

.chart__frame {
  position: relative;
  aspect-ratio: 16 / 8;
  min-height: 460px;
  max-height: 82svh;
  width: 100%;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: 6px;
  background: var(--night);
  box-shadow: 0 40px 80px rgba(10, 4, 22, .45);
}
.chart__frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

/* =========================================================
   COMMUNITY
   ========================================================= */
.community {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: clamp(7rem, 13vw, 14rem) 0 clamp(6rem, 11vw, 12rem);
  text-align: center;
}
.community__bg {
  position: absolute;
  inset: -12px;
  z-index: -2;
  background: url("assets/banner.png") 50% 70% / cover no-repeat;
  filter: blur(3px) saturate(1.15);
}
.community__shade {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(180deg, #22103F 0%, rgba(53, 17, 91, .7) 22%, rgba(53, 17, 91, .35) 55%, rgba(255, 67, 164, .25) 80%, rgba(255, 128, 107, .4) 100%),
    radial-gradient(55% 55% at 50% 50%, rgba(25, 12, 50, .55), transparent 75%);
}

.community__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.community__logo {
  width: clamp(84px, 7vw, 132px);
  border: 4px solid var(--white);
  border-radius: 14px;
  box-shadow: 6px 6px 0 var(--midnight);
  rotate: -6deg;
}
.community__title {
  margin-top: clamp(1.5rem, 3vw, 3rem);
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(3.4rem, 12.5vw, 16rem);
  line-height: .88;
  letter-spacing: -.01em;
  text-transform: uppercase;
  text-shadow: .03em .04em 0 var(--midnight);
}
.community__title .reveal-line { padding: 0 .05em .07em; }
.community__text {
  margin-top: clamp(1.25rem, 2.5vw, 2.25rem);
  font-size: clamp(1.1rem, .8vw + .85rem, 1.9rem);
  font-weight: 700;
  text-shadow: 0 2px 16px rgba(25, 12, 50, .6);
}
.community__ctas {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.25rem;
  margin-top: clamp(2rem, 4vw, 3.5rem);
}
.community .btn--primary { --shadow: var(--midnight); }

/* =========================================================
   FOOTER
   ========================================================= */
.footer {
  padding: clamp(3.5rem, 6vw, 6rem) 0 clamp(2rem, 3vw, 3rem);
  background: var(--night);
  border-top: 1px solid var(--line);
}

.footer__grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  align-items: start;
  gap: 2.5rem;
}

.footer__brand { display: flex; align-items: center; gap: 1rem; }
.footer__brand img { width: 64px; border-radius: 10px; }
.footer__name {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 2vw, 2.4rem);
  line-height: 1;
  text-transform: uppercase;
}
.footer__meta {
  margin-top: .35rem;
  font-size: .85rem;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--sky);
}

.footer__nav {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem 2rem;
}
.footer__nav a {
  font-size: .85rem;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--text-soft);
  transition: color .25s;
}
.footer__nav a:hover { color: var(--pink); }

.footer__contract { justify-self: end; text-align: right; }
.footer__label {
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--text-mute);
}
.footer__contract code {
  display: block;
  margin-top: .35rem;
  font-family: var(--font-mono);
  font-weight: 700;
  color: var(--sky);
  overflow-wrap: anywhere;
}

.footer__bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1rem 2rem;
  margin-top: clamp(2.5rem, 4vw, 4rem);
  padding-top: 1.5rem;
  border-top: 1px solid var(--line);
  font-size: .85rem;
  color: var(--text-mute);
}
.footer__disclaimer { max-width: 62ch; }

/* =========================================================
   KEYFRAMES
   ========================================================= */
@keyframes fade-up {
  from { opacity: 0; transform: translateY(28px); }
  to { opacity: 1; transform: none; }
}
@keyframes line-up {
  from { transform: translateY(110%); }
  to { transform: none; }
}
@keyframes bg-in {
  from { opacity: 0; transform: scale(1.12); }
  to { opacity: 1; transform: scale(1.04); }
}
@keyframes rise {
  from { opacity: 0; transform: translateY(14%); }
  to { opacity: 1; transform: none; }
}
@keyframes float {
  from { transform: translateY(0); }
  to { transform: translateY(-1.4%); }
}
@keyframes marquee {
  to { transform: translateX(-50%); }
}
@keyframes scroll-line {
  0% { transform: translateX(-100%); }
  60%, 100% { transform: translateX(100%); }
}
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(255, 180, 92, .55); }
  70%, 100% { box-shadow: 0 0 0 .55rem rgba(255, 180, 92, 0); }
}

/* =========================================================
   RESPONSIVE
   ========================================================= */

/* Large canvases */
@media (min-width: 2200px) {
  :root { --gutter: clamp(8rem, 6vw, 12rem); }
}

/* Laptop */
@media (max-width: 1280px) {
  .hero__copy { width: min(50vw, 40rem); }
  .hero__figure { width: min(50vw, 82svh); right: 1.5vw; }
}

/* Small laptop / tablet landscape */
@media (max-width: 1100px) {
  .header__nav { gap: 1.75rem; }
  .about__grid { grid-template-columns: 1fr 1fr; }
  .stonk__grid { gap: 3rem; }
  .contract__panel { grid-template-columns: 1fr; }
}

/* Collapse nav */
@media (max-width: 960px) {
  .header__inner { grid-template-columns: 1fr auto; }
  .header__nav,
  .header__actions .icon-link { display: none; }
  .menu-toggle { display: block; }
}

/* Stacked hero: tablets in portrait and phones */
@media (max-width: 820px), (max-width: 1180px) and (orientation: portrait) {
  .hero { min-height: 0; }
  .hero__shade {
    background:
      linear-gradient(180deg, rgba(25, 12, 50, .9) 0%, rgba(25, 12, 50, .72) 40%, rgba(53, 17, 91, .25) 70%, rgba(25, 12, 50, .1) 85%),
      linear-gradient(0deg, var(--midnight) 0%, rgba(25, 12, 50, 0) 18%);
  }
  .hero__bg { background-position: 10% 60%; }
  .hero__glow {
    background:
      radial-gradient(70% 35% at 50% 85%, rgba(255, 67, 164, .35), transparent 70%),
      radial-gradient(60% 20% at 50% 100%, rgba(255, 180, 92, .4), transparent 70%);
  }
  .hero__inner {
    flex-direction: column;
    align-items: stretch;
    padding-bottom: 0;
  }
  .hero__copy {
    width: 100%;
    max-width: 44rem;
    margin-inline: auto;
    text-align: center;
  }
  .hero__eyebrow { justify-content: center; }
  .hero__title { font-size: clamp(4.25rem, 22vw, 11rem); }
  .hero__tagline { align-items: center; font-size: clamp(1.9rem, 8vw, 3.6rem); }
  .hero__ctas,
  .hero__meta { justify-content: center; }
  .hero__figure {
    position: relative;
    right: auto;
    bottom: auto;
    width: min(100%, 38rem, 58svh);
    margin: clamp(2rem, 5vw, 3rem) auto -1%;
    translate: none;
  }
  .hero__scroll { display: none; }

  .ticker { margin-top: -1.5rem; }
}

/* Tablet */
@media (max-width: 820px) {
  .about__grid,
  .stonk__grid { grid-template-columns: 1fr; }
  .about__visual { order: -1; }
  .poster { width: min(82%, 28rem); }
  .stonk__sticker { width: min(78%, 26rem); }
  .stonk { clip-path: polygon(0 5vw, 100% 0, 100% calc(100% - 5vw), 0 100%); padding-block: calc(var(--section-y) + 5vw); }

  .cut { grid-template-columns: 1fr; }
  .cut__word { justify-self: start; }

  .steps { grid-template-columns: 1fr; }
  .step,
  .step + .step {
    display: grid;
    grid-template-columns: auto 1fr;
    column-gap: 1.75rem;
    padding: 2rem 0;
    border-left: 0;
    border-bottom: 1px solid rgba(255, 255, 255, .18);
  }
  .step__num { grid-row: span 2; font-size: clamp(4rem, 16vw, 6.5rem); }
  .step__title { margin-top: .25rem; }

  .chart__frame { aspect-ratio: auto; height: min(78svh, 640px); min-height: 480px; }

  .footer__grid { grid-template-columns: 1fr; }
  .footer__contract { justify-self: start; text-align: left; }
}

/* Phones */
@media (max-width: 480px) {
  .header__brand span { display: none; }
  .header__actions .btn--sm { padding: 0 1em; font-size: .95rem; }

  .hero__ctas { flex-direction: column; align-items: stretch; }
  .hero__ctas .btn { width: 100%; }
  .hero__meta { font-size: .72rem; gap: .5rem 1rem; }

  .statement__title { font-size: clamp(2.75rem, 15vw, 5rem); }

  .stonk__equation { font-size: 1.05rem; gap: .5rem .6rem; }

  .step,
  .step + .step { column-gap: 1.1rem; }

  .ca-box { flex-direction: column; }
  .ca-box__copy { min-height: 3.25rem; }

  .buy__cta .btn,
  .community__ctas .btn { width: 100%; }
  .community__ctas { width: 100%; }
  .btn--lg { white-space: normal; text-align: center; }
}

@media (max-width: 360px) {
  .header__actions { gap: .5rem; }
  .header__actions .btn--sm { padding: 0 .8em; font-size: .88rem; }
  .hero__title { font-size: 4rem; }
}

/* Short desktop viewports */
@media (min-width: 821px) and (max-height: 760px) and (orientation: landscape) {
  .hero__scroll { display: none; }
}

/* =========================================================
   REDUCED MOTION
   ========================================================= */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *,
  *::before,
  *::after {
    animation-duration: .01ms !important;
    animation-delay: 0s !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
    transition-delay: 0s !important;
  }
  .hero__bg,
  .hero__figure { translate: none; }
  .ticker__track { animation: none; }
}
