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

:root {
  --void: #000000;
  --space: #05060a;
  --panel: #0c0e14;
  --white: #f4f4f2;
  --dim: #8b8d92;
  --line: rgba(244, 244, 242, 0.12);
  --line-strong: rgba(244, 244, 242, 0.28);
  --flame: #ff5a1f;
  --flame-hot: #ff8a3d;
  --mars: #c2410c;
  --earth: #5eb1ff;
  --boot: #e11d2a;
  --font-display: "Barlow Condensed", "Arial Narrow", sans-serif;
  --font-body: Inter, system-ui, sans-serif;
  --font-mono: "IBM Plex Mono", ui-monospace, monospace;
  --font-hand: Caveat, cursive;
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --header-h: 68px;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  background: var(--void);
  color: var(--white);
  line-height: 1.6;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
}

#starfield {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: 0.55;
}

.noise {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 9998;
  opacity: 0.04;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

.container {
  width: min(1180px, 92vw);
  margin: 0 auto;
}

.container.narrow {
  width: min(760px, 92vw);
}

.accent {
  color: var(--flame);
}

.center {
  text-align: center;
}

/* ── Header ── */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  height: var(--header-h);
  background: transparent;
  border-bottom: 1px solid transparent;
  transition: background 0.35s var(--ease-out), border-color 0.35s, backdrop-filter 0.35s;
}

.site-header.scrolled {
  background: rgba(0, 0, 0, 0.78);
  backdrop-filter: blur(18px);
  border-bottom-color: var(--line);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(1180px, 92vw);
  margin: 0 auto;
  height: 100%;
}

.nav-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  text-decoration: none;
  color: var(--white);
}

.nav-mark {
  width: 38px;
  height: 38px;
  object-fit: cover;
  background: #000;
  border: 1px solid var(--line-strong);
}

.nav-wordmark {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.15rem;
  letter-spacing: 0.34em;
  line-height: 1;
}

.nav-ticker {
  font-family: var(--font-mono);
  font-size: 0.62rem;
  letter-spacing: 0.12em;
  color: var(--flame);
  border: 1px solid rgba(255, 90, 31, 0.45);
  padding: 0.22rem 0.45rem;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.6rem;
  list-style: none;
}

.nav-links a {
  color: rgba(244, 244, 242, 0.72);
  text-decoration: none;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  transition: color 0.2s;
}

.nav-links a:hover {
  color: var(--white);
}

.nav-social {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border: 1px solid var(--line-strong);
  color: var(--white) !important;
}

.nav-social:hover {
  border-color: var(--flame);
  color: var(--flame) !important;
}

.nav-cta {
  display: inline-flex !important;
  align-items: center;
  padding: 0.55rem 1.1rem !important;
  background: var(--white);
  color: var(--void) !important;
  font-weight: 700 !important;
  letter-spacing: 0.12em !important;
  transition: background 0.2s, transform 0.2s !important;
}

.nav-cta:hover {
  background: var(--flame) !important;
  color: var(--void) !important;
  transform: translateY(-2px);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: transparent;
  border: 1px solid var(--line-strong);
  cursor: pointer;
  padding: 8px;
}

.nav-toggle span {
  display: block;
  width: 20px;
  height: 1.5px;
  background: var(--white);
}

/* ── Hero ── */
.hero {
  position: relative;
  z-index: 1;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  align-items: flex-end;
  padding: calc(var(--header-h) + 1.5rem) 0 5.5rem;
  overflow: hidden;
}

.hero-visual {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-launch {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
  transform: scale(1.06);
  animation: hero-drift 32s var(--ease-out) infinite alternate;
  will-change: transform;
}

.hero-veil {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.35) 0%, rgba(0, 0, 0, 0.15) 32%, rgba(0, 0, 0, 0.72) 68%, #000 100%),
    linear-gradient(90deg, rgba(0, 0, 0, 0.45) 0%, transparent 42%);
}

.hero-limb {
  position: absolute;
  left: 0;
  right: 0;
  bottom: -18%;
  height: 42%;
  background: radial-gradient(ellipse at 50% 100%, rgba(94, 177, 255, 0.35), transparent 62%);
  pointer-events: none;
}

.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: linear-gradient(180deg, transparent, #000 30%, #000 70%, transparent);
  opacity: 0.35;
  pointer-events: none;
}

.hero-hud {
  position: absolute;
  top: calc(var(--header-h) + 1.1rem);
  left: 50%;
  transform: translateX(-50%);
  width: min(1180px, 92vw);
  display: flex;
  gap: 0.7rem;
  z-index: 2;
  font-family: var(--font-mono);
  font-size: 0.62rem;
  letter-spacing: 0.16em;
  color: rgba(244, 244, 242, 0.7);
}

.hud-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  border: 1px solid var(--line);
  padding: 0.35rem 0.65rem;
  background: rgba(0, 0, 0, 0.35);
  backdrop-filter: blur(8px);
}

.hud-chip i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #3dff8a;
  box-shadow: 0 0 10px #3dff8a;
  animation: pulse 1.8s ease-in-out infinite;
}

.hero-content {
  position: relative;
  z-index: 2;
  width: min(1180px, 92vw);
  margin: 0 auto;
  animation: rise-in 1.1s var(--ease-out) both;
}

.hero-kicker {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--flame);
  margin-bottom: 0.85rem;
}

.hero-kicker span {
  color: var(--white);
}

.hero-title {
  display: flex;
  gap: 0.02em;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(3.4rem, 13vw, 9.4rem);
  letter-spacing: 0.16em;
  line-height: 0.85;
  margin-bottom: 1.25rem;
}

.hero-title span {
  display: inline-block;
  animation: letter-in 0.9s var(--ease-out) both;
}

.hero-title span:nth-child(1) { animation-delay: 0.04s; }
.hero-title span:nth-child(2) { animation-delay: 0.08s; }
.hero-title span:nth-child(3) { animation-delay: 0.12s; }
.hero-title span:nth-child(4) { animation-delay: 0.16s; }
.hero-title span:nth-child(5) { animation-delay: 0.2s; }
.hero-title span:nth-child(6) { animation-delay: 0.24s; }
.hero-title span:nth-child(7) { animation-delay: 0.28s; }
.hero-title span:nth-child(8) { animation-delay: 0.32s; }
.hero-title span:nth-child(9) { animation-delay: 0.36s; }

.hero-lede {
  max-width: 36rem;
  font-size: clamp(1.02rem, 2vw, 1.2rem);
  color: rgba(244, 244, 242, 0.78);
  margin-bottom: 1.75rem;
  font-weight: 500;
}

.hero-lede strong {
  color: var(--flame);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-bottom: 2.4rem;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, max-content);
  gap: 2.2rem;
}

.hero-stats dt {
  font-family: var(--font-mono);
  font-size: 0.62rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--dim);
  margin-bottom: 0.3rem;
}

.hero-stats dd {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.65rem;
  letter-spacing: 0.08em;
}

.hero-polaroid {
  position: absolute;
  right: max(4vw, calc((100vw - 1180px) / 2));
  bottom: 6.5rem;
  z-index: 3;
  width: min(220px, 28vw);
  padding: 0.7rem 0.7rem 1.4rem;
  background: #f6f1e8;
  color: #1a1a1a;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
  transform: rotate(4.5deg);
  transition: transform 0.35s var(--ease-out);
}

.hero-polaroid:hover {
  transform: rotate(0deg) scale(1.04);
}

.hero-polaroid img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  background: #000;
}

.hero-polaroid figcaption {
  font-family: var(--font-hand);
  font-size: 1.15rem;
  text-align: center;
  margin-top: 0.45rem;
}

@keyframes hero-drift {
  from { transform: scale(1.06) translate(0, 0); }
  to { transform: scale(1.12) translate(-1.4%, -1%); }
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.35; }
}

@keyframes rise-in {
  from { opacity: 0; transform: translateY(28px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes letter-in {
  from { opacity: 0; transform: translateY(28px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ── Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.95rem 1.7rem;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.82rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  border: none;
  border-radius: 0;
  transition: transform 0.2s var(--ease-out), background 0.2s, color 0.2s, box-shadow 0.2s, border-color 0.2s;
}

.btn:hover {
  transform: translateY(-3px);
}

.btn-primary {
  background: var(--white);
  color: var(--void);
}

.btn-primary:hover {
  background: var(--flame);
  box-shadow: 0 16px 40px rgba(255, 90, 31, 0.28);
}

.btn-ghost {
  background: transparent;
  color: var(--white);
  border: 1px solid var(--line-strong);
}

.btn-ghost:hover {
  border-color: var(--white);
  background: rgba(255, 255, 255, 0.06);
}

.btn-lg {
  padding: 1.1rem 2.1rem;
}

.btn-copy {
  flex-shrink: 0;
  padding: 0.7rem 1.15rem;
  font-size: 0.75rem;
}

.btn-copy.copied {
  background: var(--flame);
  color: var(--void);
}

/* ── Ticker ── */
.ticker {
  position: relative;
  z-index: 2;
  background: var(--white);
  color: var(--void);
  padding: 0.9rem 0;
  overflow: hidden;
}

.ticker-track {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  white-space: nowrap;
  width: max-content;
  animation: ticker 36s linear infinite;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.22em;
}

.ticker-track span {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
}

.ticker-track img {
  width: 22px;
  height: 22px;
  object-fit: cover;
}

.ticker-sep {
  opacity: 0.35;
  color: var(--flame);
}

@keyframes ticker {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ── Sections ── */
.section {
  position: relative;
  z-index: 1;
  padding: 6.5rem 0;
}

.section-head {
  max-width: 42rem;
  margin-bottom: 2.6rem;
}

.section-head .section-sub {
  margin-bottom: 0;
}

.eyebrow {
  display: inline-flex;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--flame);
  margin-bottom: 1rem;
}

.eyebrow.center {
  display: flex;
  justify-content: center;
  width: fit-content;
  margin-left: auto;
  margin-right: auto;
}

.section-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2.2rem, 6vw, 4.2rem);
  letter-spacing: 0.04em;
  line-height: 0.95;
  margin-bottom: 1.2rem;
  text-transform: uppercase;
}

.section-text {
  color: rgba(244, 244, 242, 0.68);
  font-size: 1.05rem;
  margin-bottom: 1rem;
  max-width: 36rem;
}

.section-text strong {
  color: var(--white);
  font-weight: 650;
}

.section-sub {
  color: var(--dim);
  margin-bottom: 2rem;
  font-size: 1.05rem;
  max-width: 40rem;
}

.section-sub strong {
  color: var(--white);
}

/* ── Signal ── */
.signal {
  background:
    radial-gradient(ellipse at 80% 0%, rgba(255, 90, 31, 0.12), transparent 42%),
    var(--space);
}

.banner-frame {
  margin-top: 1.75rem;
  border: 1px solid var(--line-strong);
  background: #000;
}

.banner-frame img {
  width: 100%;
  max-height: 620px;
  object-fit: cover;
  object-position: center 40%;
}

.banner-frame figcaption {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.75rem 1rem;
  border-top: 1px solid var(--line);
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--dim);
}

.banner-frame a {
  color: var(--flame);
  text-decoration: none;
}

.banner-frame a:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.tweet-showcase {
  display: grid;
  grid-template-columns: minmax(0, 560px) minmax(0, 1fr);
  gap: 1.5rem;
  align-items: stretch;
  margin-bottom: 0.25rem;
}

.tweet-stage {
  background: #000;
  border: 1px solid var(--line-strong);
  min-width: 0;
}

.tweet-stage-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.8rem 1.05rem;
  border-bottom: 1px solid var(--line);
  background: rgba(255, 90, 31, 0.06);
}

.tweet-embed {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 1.15rem 1rem 1.35rem;
  min-height: 560px;
  background:
    radial-gradient(ellipse at 50% 0%, rgba(255, 90, 31, 0.08), transparent 55%),
    #000;
}

.tweet-embed iframe {
  width: 100% !important;
  max-width: 550px;
  min-height: 520px;
  border: 0;
  margin: 0 auto;
  display: block;
  background: #000;
}

.tweet-embed.is-live {
  padding: 0.85rem 0.75rem 1rem;
}

.tweet-embed.is-live .tweet-card {
  display: none;
}

.tweet-card {
  width: min(520px, 100%);
  padding: 1.05rem 1.1rem 0.95rem;
  border: 1px solid #2f3336;
  border-radius: 16px;
  background: #000;
  color: #e7e9ea;
  font-family: var(--font-body);
}

.tweet-repost {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  margin: 0 0 0.85rem 3.1rem;
  font-size: 0.8rem;
  font-weight: 700;
  color: #71767b;
}

.tweet-user {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  margin-bottom: 0.7rem;
}

.tweet-user strong {
  display: block;
  font-size: 0.95rem;
  line-height: 1.2;
  color: #e7e9ea;
}

.tweet-user span {
  display: block;
  font-size: 0.88rem;
  color: #71767b;
  font-weight: 400;
}

.tweet-avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: 0.04em;
  flex-shrink: 0;
}

.tweet-avatar-elon {
  background: #1a1a1a;
  color: #fff;
  border: 1px solid #333;
}

.tweet-avatar-luis {
  background: #14243a;
  color: #7ab8ff;
}

.tweet-avatar-riley {
  background: #1d1530;
  color: #c4b5fd;
}

.tweet-text {
  font-size: 1.22rem;
  line-height: 1.45;
  margin: 0 0 0.85rem;
  color: #e7e9ea;
}

.tweet-text a {
  color: #1d9bf0;
  text-decoration: none;
}

.tweet-text a:hover {
  text-decoration: underline;
}

.tweet-quoted {
  padding: 0.85rem 0.9rem 0.75rem;
  border: 1px solid #2f3336;
  border-radius: 12px;
  margin-top: 0.15rem;
}

.tweet-quoted .tweet-avatar {
  width: 22px;
  height: 22px;
  font-size: 0.7rem;
}

.tweet-quoted .tweet-user {
  margin-bottom: 0.45rem;
}

.tweet-quoted .tweet-user strong,
.tweet-quoted .tweet-user span {
  display: inline;
  font-size: 0.88rem;
}

.tweet-quoted .tweet-user span {
  margin-left: 0.3rem;
}

.tweet-quoted .tweet-text {
  font-size: 0.98rem;
  margin-bottom: 0.65rem;
}

.tweet-quoted-nested {
  background: rgba(255, 255, 255, 0.02);
  margin-bottom: 0.15rem;
}

.tweet-quoted-nested .tweet-text {
  margin-bottom: 0;
  font-size: 0.92rem;
  color: #d6d9dc;
}

.tweet-card-foot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 0.95rem;
  padding-top: 0.85rem;
  border-top: 1px solid #2f3336;
  font-size: 0.85rem;
  color: #71767b;
}

.tweet-card-foot a {
  color: #1d9bf0;
  text-decoration: none;
  font-weight: 600;
}

.tweet-card-foot a:hover {
  text-decoration: underline;
}

.embed-label {
  font-family: var(--font-mono);
  font-size: 0.62rem;
  letter-spacing: 0.16em;
  color: var(--flame);
}

.embed-open {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--dim);
  text-decoration: none;
}

.embed-open:hover {
  color: var(--white);
}

.quote-panel {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 2.4rem 2rem;
  background:
    linear-gradient(180deg, rgba(255, 90, 31, 0.08), transparent 40%),
    rgba(0, 0, 0, 0.45);
  border: 1px solid var(--line);
}

.follow-btn {
  align-self: flex-start;
  margin-bottom: 1.4rem;
}

.hand-quote {
  font-family: var(--font-hand);
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  line-height: 1.2;
  color: var(--white);
  margin-bottom: 1.1rem;
}

.quote-body {
  color: rgba(244, 244, 242, 0.7);
  font-size: 1.05rem;
  margin-bottom: 1.6rem;
}

.quote-body strong {
  color: var(--flame);
}

.quote-meta {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 1.6rem;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--dim);
}

.quote-meta a {
  color: var(--earth);
  text-decoration: none;
}

.quote-meta a:hover {
  text-decoration: underline;
}

/* ── Trends ── */
.trends {
  background: var(--void);
}

.trends-layout {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 3.5rem;
  align-items: center;
}

.search-console {
  background: #0a0c12;
  border: 1px solid var(--line-strong);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.45);
}

.search-bar {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  padding: 1rem 1.15rem;
  border-bottom: 1px solid var(--line);
  color: var(--dim);
}

.search-query {
  font-family: var(--font-body);
  font-size: 1.05rem;
  font-weight: 500;
  color: var(--white);
  letter-spacing: 0.02em;
  min-height: 1.3em;
}

.caret {
  width: 7px;
  height: 1.15em;
  background: var(--flame);
  animation: pulse 1s steps(1) infinite;
}

.search-results {
  list-style: none;
  padding: 0.6rem 0 0.85rem;
}

.result {
  display: grid;
  grid-template-columns: 7.2rem 1fr auto;
  gap: 0.85rem;
  align-items: center;
  padding: 0.7rem 1.15rem;
}

.result-name {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.04em;
  color: rgba(244, 244, 242, 0.7);
}

.result.is-hero .result-name {
  color: var(--white);
  font-weight: 600;
}

.result-bar {
  height: 8px;
  background: rgba(255, 255, 255, 0.06);
  overflow: hidden;
}

.result-bar i {
  display: block;
  height: 100%;
  width: 0;
  background: linear-gradient(90deg, #3a3a3a, #8a8a8a);
  transition: width 1.4s var(--ease-out);
}

.result.is-hero .result-bar i {
  background: linear-gradient(90deg, var(--mars), var(--flame), var(--flame-hot));
  box-shadow: 0 0 16px rgba(255, 90, 31, 0.55);
}

.search-console.is-on .result-bar i {
  width: var(--w, 40%);
}

.result-delta {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  color: var(--dim);
  text-align: right;
}

.result.is-hero .result-delta {
  color: var(--flame);
}

/* ── Drawing ── */
.drawing {
  background:
    radial-gradient(ellipse at 12% 20%, rgba(255, 90, 31, 0.12), transparent 40%),
    var(--space);
}

.drawing-layout {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 4rem;
  align-items: center;
}

.drawing-stage {
  position: relative;
  background: #000;
  border: 1px solid var(--line-strong);
  padding: 1.25rem;
}

.drawing-stage img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
}

.drawing-tag {
  position: absolute;
  left: 1.25rem;
  bottom: 1.25rem;
  font-family: var(--font-mono);
  font-size: 0.62rem;
  letter-spacing: 0.16em;
  padding: 0.35rem 0.55rem;
  background: rgba(0, 0, 0, 0.72);
  border: 1px solid var(--line);
}

.value-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  list-style: none;
  margin-top: 1.8rem;
}

.value-row li {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.85rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  padding: 0.65rem 0.95rem;
  background: var(--white);
  color: var(--void);
}

/* ── Gallery ── */
.gallery {
  background: var(--void);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.85rem;
}

.gallery-item {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  background: #0a0a0a;
}

.gallery-item.span-2 {
  grid-column: span 2;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  min-height: 240px;
  object-fit: cover;
  transition: transform 0.7s var(--ease-out);
}

.gallery-item:hover img {
  transform: scale(1.05);
}

.gallery-item figcaption {
  position: absolute;
  left: 0.7rem;
  bottom: 0.7rem;
  font-family: var(--font-hand);
  font-size: 1.2rem;
  color: #fff;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.7);
}

/* ── Visor band ── */
.visor-band {
  position: relative;
  padding: 0;
  height: min(42vw, 380px);
  overflow: hidden;
}

.visor-band img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(1.1) contrast(1.05);
}

.visor-line {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-hand);
  font-size: clamp(1.6rem, 4vw, 2.8rem);
  text-align: center;
  padding: 1rem;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.25), rgba(0, 0, 0, 0.45));
}

/* ── Contract ── */
.contract {
  background: var(--white);
  color: var(--void);
}

.contract .section-title {
  color: var(--void);
}

.contract .eyebrow {
  color: var(--mars);
}

.ca-box {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.05rem 1.2rem;
  background: #f7f4ee;
  border: 1px solid #1a1a1a;
}

.ca-address {
  flex: 1;
  font-family: var(--font-mono);
  font-size: clamp(0.65rem, 2.4vw, 0.88rem);
  color: var(--void);
  word-break: break-all;
  line-height: 1.5;
}

.copy-toast {
  text-align: center;
  margin-top: 0.85rem;
  font-size: 0.9rem;
  font-weight: 600;
  min-height: 1.25rem;
  opacity: 0;
  transition: opacity 0.3s;
}

.copy-toast.show {
  opacity: 1;
}

/* ── Chart ── */
.chart-section {
  background: var(--panel);
}

.chart-section .section-sub {
  margin-left: auto;
  margin-right: auto;
}

.chart-frame {
  border: 1px solid var(--flame);
  background: #05060a;
  overflow: hidden;
}

.chart-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 280px;
  padding: 2rem;
  text-align: center;
  color: rgba(244, 244, 242, 0.55);
}

.chart-link-wrap {
  text-align: center;
  margin-top: 1.25rem;
}

.text-link {
  color: var(--flame);
  font-weight: 700;
  text-decoration: none;
  font-size: 0.92rem;
}

.text-link:hover {
  text-decoration: underline;
  text-underline-offset: 4px;
}

/* ── Buy ── */
.buy {
  overflow: hidden;
  background: #120805;
}

.buy-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.buy-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.38;
  filter: saturate(1.15);
}

.buy .container {
  position: relative;
  z-index: 1;
}

.buy .section-title {
  color: var(--white);
}

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin: 2.5rem 0 1.5rem;
}

.step {
  background: rgba(0, 0, 0, 0.62);
  border: 1px solid var(--line);
  border-top: 2px solid var(--flame);
  padding: 1.85rem 1.4rem;
  backdrop-filter: blur(10px);
  transition: transform 0.25s var(--ease-out), border-color 0.25s;
}

.step:hover {
  transform: translateY(-6px);
  border-color: var(--flame);
}

.step-num {
  display: block;
  font-family: var(--font-display);
  font-size: 1.8rem;
  letter-spacing: 0.08em;
  color: var(--flame);
  line-height: 1;
  margin-bottom: 0.85rem;
}

.step h3 {
  font-family: var(--font-display);
  font-size: 1.35rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 0.65rem;
}

.step p {
  font-size: 0.95rem;
  color: rgba(244, 244, 242, 0.65);
}

.buy-cta {
  display: flex;
  gap: 0.85rem;
  justify-content: center;
  flex-wrap: wrap;
}

.buy-ca {
  max-width: 760px;
  margin: 0 auto;
  background: rgba(0, 0, 0, 0.72);
  border: 1px solid var(--line-strong);
  backdrop-filter: blur(12px);
}

.buy .ca-address {
  color: var(--white);
}

.buy .copy-toast {
  color: var(--white);
  margin-bottom: 1.5rem;
}

/* ── Tokenomics ── */
.tokenomics {
  background:
    radial-gradient(ellipse at 80% 0%, rgba(255, 90, 31, 0.12), transparent 42%),
    radial-gradient(ellipse at 10% 100%, rgba(94, 177, 255, 0.06), transparent 45%),
    #07080d;
}

.center-head {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.center-head .section-sub {
  margin-left: auto;
  margin-right: auto;
}

.tok-layout {
  display: grid;
  grid-template-columns: 0.78fr 1.22fr;
  gap: 2rem;
  align-items: center;
}

.tok-payload {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 1.25rem;
}

.tok-ring {
  width: min(280px, 72vw);
  aspect-ratio: 1;
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background:
    radial-gradient(circle at 50% 50%, #07080d 0 58%, transparent 59%),
    conic-gradient(from 210deg, var(--flame) 0 100%);
  box-shadow: 0 0 60px rgba(255, 90, 31, 0.22);
  position: relative;
}

.tok-ring::before {
  content: "";
  position: absolute;
  inset: 14%;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.tok-ring span {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2.8rem, 8vw, 4.2rem);
  letter-spacing: 0.04em;
  line-height: 0.9;
  color: var(--white);
}

.tok-ring small {
  font-family: var(--font-mono);
  font-size: 0.62rem;
  letter-spacing: 0.16em;
  color: var(--flame);
  margin-top: 0.45rem;
}

.tok-payload-copy {
  max-width: 18rem;
  color: var(--dim);
  font-size: 0.95rem;
}

.tok-sheet {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border: 1px solid var(--line);
  background: rgba(0, 0, 0, 0.35);
}

.tok-sheet > div {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  padding: 1.15rem 1.25rem;
  border-bottom: 1px solid var(--line);
  border-right: 1px solid var(--line);
}

.tok-sheet > div:nth-child(2n) {
  border-right: none;
}

.tok-sheet > div:nth-last-child(-n + 2) {
  border-bottom: none;
}

.tok-sheet dt {
  font-family: var(--font-mono);
  font-size: 0.62rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--dim);
}

.tok-sheet dd {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.45rem;
  letter-spacing: 0.06em;
  color: var(--white);
}

/* ── Footer ── */
.footer {
  position: relative;
  z-index: 1;
  background: var(--void);
  color: rgba(244, 244, 242, 0.55);
  padding: 3.25rem 0 2.25rem;
  border-top: 1px solid var(--line);
}

.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.35rem;
  text-align: center;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.footer-logo {
  width: 52px;
  height: 52px;
  object-fit: cover;
  border: 1px solid var(--line-strong);
}

.footer-brand strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.15rem;
  letter-spacing: 0.28em;
  color: var(--white);
  line-height: 1.3;
}

.footer-brand span {
  font-size: 0.82rem;
  color: var(--dim);
}

.footer-x {
  font-family: var(--font-mono);
  font-size: 0.82rem;
  letter-spacing: 0.12em;
  color: var(--flame);
  text-decoration: none;
}

.footer-x:hover {
  text-decoration: underline;
  text-underline-offset: 4px;
}

.footer-disclaimer {
  font-size: 0.72rem;
  max-width: 560px;
  line-height: 1.7;
}

/* ── Reveal ── */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
}

.reveal.in {
  opacity: 1;
  transform: translateY(0);
}

/* ── Mobile ── */
@media (max-width: 980px) {
  .tweet-showcase,
  .trends-layout,
  .drawing-layout,
  .tok-layout {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .gallery-grid {
    grid-template-columns: 1fr 1fr;
  }

  .gallery-item.span-2 {
    grid-column: span 2;
  }

  .steps {
    grid-template-columns: 1fr;
  }

  .hero-polaroid {
    width: 140px;
    bottom: 5.2rem;
    right: 4vw;
  }

  .hero-stats {
    gap: 1.2rem;
  }
}

@media (max-width: 768px) {
  .nav-toggle {
    display: flex;
  }

  .nav-wordmark {
    letter-spacing: 0.18em;
    font-size: 0.95rem;
  }

  .nav-links {
    position: fixed;
    top: var(--header-h);
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.96);
    flex-direction: column;
    padding: 1.5rem;
    gap: 1.1rem;
    border-bottom: 1px solid var(--line);
    transform: translateY(-120%);
    opacity: 0;
    transition: transform 0.3s, opacity 0.3s;
    pointer-events: none;
  }

  .nav-links.open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: all;
  }

  .hero {
    flex-direction: column;
    justify-content: flex-end;
    align-items: stretch;
    padding-bottom: 3.2rem;
  }

  .hero-hud {
    display: none;
  }

  .hero-polaroid {
    position: relative;
    right: auto;
    bottom: auto;
    order: -1;
    width: 148px;
    margin: 0 4vw 1.4rem auto;
    z-index: 2;
  }

  .hero-content {
    width: min(1180px, 92vw);
  }

  .hero-title {
    letter-spacing: 0.08em;
  }

  .ca-box {
    flex-direction: column;
    align-items: stretch;
  }

  .btn-copy {
    justify-content: center;
  }

  .result {
    grid-template-columns: 5.6rem 1fr auto;
  }
}

@media (max-width: 480px) {
  .hero-actions,
  .buy-cta {
    width: 100%;
  }

  .hero-actions .btn,
  .buy-cta .btn {
    flex: 1;
    justify-content: center;
  }

  .hero-stats {
    grid-template-columns: 1fr 1fr;
  }

  .gallery-grid {
    grid-template-columns: 1fr;
  }

  .gallery-item.span-2 {
    grid-column: span 1;
  }

  .tok-sheet {
    grid-template-columns: 1fr;
  }

  .tok-sheet > div {
    border-right: none;
  }

  .tok-sheet > div:nth-last-child(-n + 2) {
    border-bottom: 1px solid var(--line);
  }

  .tok-sheet > div:last-child {
    border-bottom: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-launch,
  .hero-title span,
  .ticker-track,
  .hud-chip i,
  .caret {
    animation: none;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}
