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

:root {
  --bg: #050608;
  --bg-elevated: #0b0d11;
  --ink: #f4f6f8;
  --muted: #8b93a1;
  --line: rgba(255, 255, 255, 0.1);
  --tie: #e11d2e;
  --tie-hot: #ff3b4e;
  --eye: #d4e05a;
  --api: #3ee0c2;
  --x-blue: #1d9bf0;
  --nav-h: 72px;
  --font: "Space Grotesk", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  --glow-tie: 0 0 28px rgba(225, 29, 46, 0.35);
  --glow-api: 0 0 22px rgba(62, 224, 194, 0.28);
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--nav-h);
}

body {
  font-family: var(--font);
  color: var(--ink);
  background:
    radial-gradient(1200px 480px at 80% -10%, rgba(225, 29, 46, 0.12), transparent 55%),
    radial-gradient(900px 420px at 8% 20%, rgba(62, 224, 194, 0.06), transparent 50%),
    linear-gradient(180deg, #07080b 0%, #050608 40%, #000 100%);
  line-height: 1.55;
  overflow-x: hidden;
  min-height: 100vh;
  font-weight: 500;
  letter-spacing: -0.02em;
}

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

.api-grid {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.028) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.028) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: radial-gradient(ellipse at 50% 0%, black 20%, transparent 72%);
}

.scanline {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  background: repeating-linear-gradient(
    to bottom,
    transparent 0,
    transparent 3px,
    rgba(0, 0, 0, 0.08) 3px,
    rgba(0, 0, 0, 0.08) 4px
  );
  opacity: 0.22;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--mono);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--api);
  margin-bottom: 0.85rem;
  padding: 0.28rem 0.7rem;
  border: 1px solid rgba(62, 224, 194, 0.28);
  background: rgba(62, 224, 194, 0.06);
}

.status-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--api);
  box-shadow: var(--glow-api);
  animation: pulse-ok 1.8s ease-in-out infinite;
}

@keyframes pulse-ok {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.55; transform: scale(0.85); }
}

h2 {
  font-size: clamp(2.4rem, 5vw, 4rem);
  font-weight: 700;
  letter-spacing: -0.05em;
  line-height: 1.02;
  margin-bottom: 1rem;
}

.lede {
  max-width: 36rem;
  color: var(--muted);
  font-size: 1.05rem;
  font-weight: 500;
}

.section-head {
  width: min(1180px, calc(100% - 3rem));
  margin: 0 auto 3rem;
}

/* Paws — red necktie tint */
.paw-layer {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 70;
  overflow: hidden;
}

.paw-stamp {
  position: absolute;
  width: var(--paw-size, 42px);
  height: var(--paw-size, 42px);
  margin: calc(var(--paw-size, 42px) / -2) 0 0 calc(var(--paw-size, 42px) / -2);
  color: rgba(225, 29, 46, 0.55);
  transform: translate(var(--x, 0), var(--y, 0)) rotate(var(--rot, 0deg)) scale(0.4);
  animation: paw-press var(--paw-life, 1.4s) ease-out forwards;
}

.paw-stamp.is-walk {
  color: rgba(255, 255, 255, 0.28);
  animation-name: paw-walk-fade;
}

.paw-stamp svg { width: 100%; height: 100%; display: block; }

@keyframes paw-press {
  0% { opacity: 0; transform: translate(var(--x, 0), var(--y, 0)) rotate(var(--rot, 0deg)) scale(0.35); }
  16% { opacity: 0.9; transform: translate(var(--x, 0), var(--y, 0)) rotate(var(--rot, 0deg)) scale(1.1); }
  42% { opacity: 0.7; transform: translate(var(--x, 0), var(--y, 0)) rotate(var(--rot, 0deg)) scale(1); }
  100% { opacity: 0; transform: translate(var(--x, 0), var(--y, 0)) rotate(calc(var(--rot, 0deg) + 8deg)) scale(0.88); }
}

@keyframes paw-walk-fade {
  0% { opacity: 0; transform: translate(var(--x, 0), var(--y, 0)) rotate(var(--rot, 0deg)) scale(0.5); }
  12% { opacity: 0.45; transform: translate(var(--x, 0), var(--y, 0)) rotate(var(--rot, 0deg)) scale(1); }
  70% { opacity: 0.25; transform: translate(var(--x, 0), var(--y, 0)) rotate(var(--rot, 0deg)) scale(1); }
  100% { opacity: 0; transform: translate(var(--x, 0), var(--y, 0)) rotate(var(--rot, 0deg)) scale(0.92); }
}

@media (prefers-reduced-motion: reduce) {
  .paw-layer,
  .scanline { display: none; }
  .status-dot { animation: none; }
}

/* Elon API Cat top bar */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 2rem;
  background: linear-gradient(180deg, rgba(5, 6, 8, 0.88), rgba(5, 6, 8, 0));
  border-bottom: 1px solid transparent;
}

.nav::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--tie) 0%, var(--tie) 18%, transparent 48%, var(--api) 100%);
  opacity: 0.85;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  text-decoration: none;
  z-index: 2;
}

.nav-logo {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  object-fit: cover;
  border: 1px solid rgba(225, 29, 46, 0.55);
  box-shadow: 0 0 0 2px rgba(225, 29, 46, 0.12);
}

.nav-mark {
  display: flex;
  flex-direction: column;
  line-height: 1.05;
}

.nav-kicker {
  font-family: var(--mono);
  font-size: 0.58rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--tie-hot);
}

.nav-title {
  font-size: 1.12rem;
  font-weight: 700;
  letter-spacing: -0.04em;
}

.nav-links {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 1.6rem;
  list-style: none;
}

.nav-links a {
  text-decoration: none;
  font-size: 0.88rem;
  font-weight: 600;
  color: #fff;
  opacity: 0.82;
}

.nav-links a:hover {
  opacity: 1;
  color: var(--tie-hot);
}

.nav-socials {
  display: flex;
  gap: 0.55rem;
  margin-left: 0.4rem;
}

.nav-social {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  color: #fff !important;
  opacity: 0.85;
}

.nav-social:hover { opacity: 1; }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
  z-index: 2;
}

.nav-toggle span {
  display: block;
  width: 20px;
  height: 1.5px;
  background: #fff;
}

/* Hero — left-locked magazine over the petting still */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  display: grid;
  align-items: end;
  padding: calc(var(--nav-h) + 2.4rem) 0 3.2rem;
  overflow: hidden;
  isolation: isolate;
}

.hero-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 58% 38%;
  z-index: 0;
}

.hero-veil {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(90deg, rgba(5, 6, 8, 0.88) 0%, rgba(5, 6, 8, 0.55) 38%, rgba(5, 6, 8, 0.12) 72%, transparent 100%),
    linear-gradient(180deg, rgba(5, 6, 8, 0.4) 0%, transparent 28%, rgba(5, 6, 8, 0.82) 100%);
}

.hero-copy {
  position: relative;
  z-index: 2;
  width: min(1180px, calc(100% - 3rem));
  margin: 0 auto;
  max-width: 36rem;
  justify-self: start;
  margin-left: max(1.5rem, calc((100% - 1180px) / 2));
}

.hero-copy .eyebrow {
  color: var(--api);
  background: rgba(5, 6, 8, 0.45);
  backdrop-filter: blur(8px);
}

.hero-copy h1 {
  font-size: clamp(2.8rem, 8vw, 5.8rem);
  font-weight: 700;
  letter-spacing: -0.055em;
  line-height: 0.92;
  text-shadow: 0 8px 32px rgba(0, 0, 0, 0.55);
}

.ticker {
  margin-top: 0.55rem;
  font-family: var(--mono);
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: 0.32em;
  color: rgba(255, 255, 255, 0.82);
}

.hero-bio {
  margin: 1.15rem 0 1.3rem;
  font-size: 1.08rem;
  color: rgba(255, 255, 255, 0.9);
  text-shadow: 0 2px 16px rgba(0, 0, 0, 0.7);
}

.hero-bio strong {
  color: #fff;
  font-weight: 700;
}

.hero-stats {
  display: flex;
  gap: 1.6rem;
  margin: 0 0 1.5rem;
}

.hero-stats b {
  display: block;
  font-family: var(--mono);
  font-size: 1.45rem;
  font-weight: 700;
  letter-spacing: -0.04em;
  color: var(--tie-hot);
  text-shadow: var(--glow-tie);
}

.hero-stats span {
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.7);
}

.hero-copy .actions {
  justify-content: flex-start;
}

.actions {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 214px;
  padding: 0.82rem 1.4rem;
  border-radius: 6px;
  font-family: var(--font);
  font-size: 0.92rem;
  font-weight: 600;
  text-decoration: none;
  border: 0;
  cursor: pointer;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.btn:hover { transform: translateY(-1px); opacity: 0.92; }

.btn-light {
  background: #fff;
  color: #111;
}

.btn-dark {
  background: rgba(23, 26, 32, 0.72);
  color: #fff;
  backdrop-filter: blur(8px);
  border: 1px solid rgba(225, 29, 46, 0.45);
}

.btn-copy { min-width: 96px; }
.btn-slim {
  min-width: 0;
  padding: 0.52rem 1rem;
  font-size: 0.82rem;
}

/* Stats band */
.stats-band {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  width: min(1180px, calc(100% - 3rem));
  margin: -2.4rem auto 0;
  padding: 0;
  background: #0b0d11;
  border: 1px solid rgba(225, 29, 46, 0.35);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
}

.stats-band article {
  padding: 1.6rem 1.4rem 1.5rem;
  border-right: 1px solid var(--line);
}

.stats-band article:last-child { border-right: 0; }

.stats-kicker {
  font-family: var(--mono);
  font-size: 0.68rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--api);
  margin-bottom: 0.45rem;
}

.stats-band strong {
  display: block;
  font-size: clamp(1.8rem, 3.4vw, 2.7rem);
  font-weight: 700;
  letter-spacing: -0.05em;
  line-height: 1;
  margin-bottom: 0.4rem;
  color: #fff;
}

.stats-band article:nth-child(1) strong,
.stats-band article:nth-child(2) strong {
  color: var(--tie-hot);
  text-shadow: var(--glow-tie);
}

.stats-band span {
  color: var(--muted);
  font-size: 0.9rem;
}

/* Elon embeds */
.elon {
  padding: 5.5rem 0 6rem;
  background: #050608;
  border-top: 1px solid var(--line);
}

.elon-grid {
  width: min(1180px, calc(100% - 3rem));
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.4rem;
}

.embed-stage { min-width: 0; }

.embed-meta {
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 0.85rem;
}

.social-card {
  background: #0b0d11;
  border: 1px solid #2f3336;
  border-radius: 16px;
  padding: 1.15rem 1.2rem 1.1rem;
  color: #e7e9ea;
  box-shadow: 0 0 0 1px rgba(225, 29, 46, 0.08);
}

.social-card-head {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  margin-bottom: 0.8rem;
}

.social-card-avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-weight: 700;
  font-size: 1.15rem;
  flex-shrink: 0;
  background: #17181c;
  color: #fff;
  border: 1px solid var(--tie);
}

.social-card-who {
  display: flex;
  flex-direction: column;
  min-width: 0;
  line-height: 1.25;
}

.social-card-who strong { font-size: 0.95rem; font-weight: 700; }
.social-card-who span { font-size: 0.86rem; color: #8b98a5; }

.social-card-logo {
  margin-left: auto;
  color: #e7e9ea;
}

.social-card-reply {
  font-size: 0.86rem;
  color: #8b98a5;
  margin-bottom: 0.4rem;
}

.social-card-body {
  font-size: 1.15rem;
  line-height: 1.45;
  font-weight: 500;
  margin-bottom: 0.85rem;
}

.social-card-meta {
  font-size: 0.86rem;
  color: #8b98a5;
  padding-bottom: 0.9rem;
  border-bottom: 1px solid #2f3336;
  margin-bottom: 0.8rem;
}

.social-card-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 0.7rem;
  border-radius: 6px;
  background: var(--tie);
  color: #fff;
  font-weight: 600;
  font-size: 0.9rem;
  text-decoration: none;
  box-shadow: var(--glow-tie);
}

.embed-frame {
  display: flex;
  justify-content: center;
  width: 100%;
  height: 0;
  overflow: hidden;
  visibility: hidden;
}

.embed-stage.is-embedded .social-card { display: none; }

.embed-stage.is-embedded .embed-frame {
  height: auto;
  overflow: visible;
  visibility: visible;
}

.embed-frame .twitter-tweet,
.embed-frame iframe,
.embed-frame twitter-widget {
  margin: 0 auto !important;
  max-width: 100% !important;
}

blockquote.twitter-tweet { display: none; }

/* Bio */
.about {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 4.5rem;
  align-items: center;
  width: min(1180px, calc(100% - 3rem));
  margin: 0 auto;
  padding: 7rem 0 5.5rem;
}

.about-visual {
  position: relative;
}

.about-visual img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border: 1px solid rgba(225, 29, 46, 0.35);
  box-shadow: 0 0 0 8px rgba(225, 29, 46, 0.06), var(--glow-tie);
}

.about-visual figcaption {
  margin-top: 0.75rem;
  font-family: var(--mono);
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}

.about-copy p {
  color: var(--muted);
  font-size: 1.08rem;
  margin-bottom: 1rem;
  max-width: 38em;
}

.about-copy p strong {
  color: #fff;
  font-weight: 700;
}

.about-copy .text-link {
  display: inline-block;
  margin-top: 0.4rem;
}

/* Timeline story */
.story {
  padding: 5.5rem 0 6.5rem;
  background:
    radial-gradient(ellipse at 0% 0%, rgba(225, 29, 46, 0.1), transparent 46%),
    #050608;
  border-top: 1px solid var(--line);
}

.timeline {
  list-style: none;
  width: min(820px, calc(100% - 3rem));
  margin: 0 auto;
  padding: 0.4rem 0 0;
  border-left: 2px solid rgba(225, 29, 46, 0.45);
}

.timeline li {
  position: relative;
  padding: 0 0 2.4rem 2rem;
}

.timeline li:last-child { padding-bottom: 0; }

.timeline li::before {
  content: "";
  position: absolute;
  left: -7px;
  top: 0.35rem;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--tie);
  box-shadow: var(--glow-tie);
}

.timeline time {
  display: block;
  font-family: var(--mono);
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  color: var(--tie-hot);
  margin-bottom: 0.4rem;
}

.timeline h3 {
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  margin-bottom: 0.45rem;
}

.timeline p {
  color: var(--muted);
  font-size: 1.02rem;
}

.timeline p strong { color: #fff; }

/* Memes viewer */
.gallery {
  padding: 6rem 0 2rem;
  border-top: 1px solid var(--line);
}

/* Social feeds */
.social {
  padding: 5.5rem 0 6rem;
  border-top: 1px solid var(--line);
}

.feed-grid {
  width: min(1180px, calc(100% - 3rem));
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.4rem;
  align-items: stretch;
}

.feed-card {
  display: flex;
  flex-direction: column;
  min-width: 0;
  background: #0b0d11;
  border: 1px solid var(--line);
  border-radius: 18px;
  overflow: hidden;
}

.feed-tiktok { border-color: rgba(255, 255, 255, 0.12); }
.feed-ig { border-color: rgba(225, 29, 46, 0.28); }

.feed-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.8rem;
  padding: 1rem 1.1rem;
  border-bottom: 1px solid var(--line);
}

.feed-brand {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  min-width: 0;
}

.feed-brand strong {
  display: block;
  font-size: 0.95rem;
  line-height: 1.15;
}

.feed-brand span {
  font-family: var(--mono);
  font-size: 0.75rem;
  color: var(--muted);
}

.feed-mark {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  flex-shrink: 0;
}

.feed-mark-tt { background: #111; color: #fff; }
.feed-mark-ig {
  background: linear-gradient(135deg, #f58529, #dd2a7b 50%, #8134af);
  color: #fff;
}

.feed-body {
  padding: 0.85rem 0.85rem 1rem;
  min-height: 560px;
  display: flex;
  justify-content: center;
  background: #050608;
}

.feed-body-ig {
  position: relative;
  flex-direction: column;
  align-items: stretch;
  padding: 0;
  min-height: 680px;
  background: #111;
}

.ig-fallback {
  position: absolute;
  inset: 0;
  z-index: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  padding: 2rem 1.4rem;
  text-align: center;
  color: #111;
  background: #f6f6f6;
}

.ig-fallback img {
  width: 88px;
  height: 88px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 0.4rem;
}

.ig-fallback strong { font-size: 1.15rem; }
.ig-fallback span { font-family: var(--mono); font-size: 0.85rem; color: #666; }
.ig-fallback p { max-width: 22em; color: #444; margin: 0.4rem 0 0.8rem; }

.ig-embed {
  position: relative;
  z-index: 1;
  display: block;
  width: 100%;
  height: 680px;
  border: 0;
  background: transparent;
}

.feed-body .tiktok-embed {
  margin: 0 auto !important;
  max-width: 100% !important;
}

.instagram-media {
  display: none !important;
}

.feed-body-ig.is-fallback .ig-embed { display: none; }
.feed-body-ig.is-fallback .instagram-media {
  display: block !important;
  margin: 0 auto !important;
  background: #fff !important;
}

.memes {
  width: min(1180px, calc(100% - 3rem));
  margin: 0 auto;
}

.memes-stage {
  position: relative;
  margin: 0 0 1rem;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #0a0a0a;
  border: 1px solid rgba(225, 29, 46, 0.28);
}

.memes-stage img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: #000;
}

.memes-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 50%;
  background: rgba(23, 26, 32, 0.72);
  color: #fff;
  font-size: 1.6rem;
  line-height: 1;
  cursor: pointer;
  backdrop-filter: blur(8px);
}

.memes-nav:hover { background: rgba(23, 26, 32, 0.92); }
.memes-prev { left: 1rem; }
.memes-next { right: 1rem; }

.memes-thumbs {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 0.65rem;
}

.memes-thumbs button {
  display: block;
  padding: 0;
  border: 1px solid transparent;
  background: #111;
  cursor: pointer;
  overflow: hidden;
  aspect-ratio: 16 / 10;
}

.memes-thumbs button.is-on {
  border-color: var(--tie);
}

.memes-thumbs img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.55;
  transition: opacity 0.2s ease;
}

.memes-thumbs button:hover img,
.memes-thumbs button.is-on img {
  opacity: 1;
}

/* Market */
.market {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  width: min(1180px, calc(100% - 3rem));
  margin: 0 auto;
  padding: 7rem 0 5rem;
  border-top: 1px solid var(--line);
}

.ca-box {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  margin-top: 1.2rem;
  padding: 1rem 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.ca-address {
  flex: 1;
  font-family: var(--mono);
  font-size: 0.95rem;
  word-break: break-all;
  color: #fff;
  font-weight: 600;
}

.ca-address.is-tba {
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  letter-spacing: 0.22em;
  text-align: left;
}

.copy-toast {
  min-height: 1.3rem;
  margin-top: 0.7rem;
  font-size: 0.85rem;
  color: var(--muted);
  opacity: 0;
  transition: opacity 0.25s;
}

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

.buy-list {
  list-style: none;
  display: grid;
  gap: 0.85rem;
  margin: 1.3rem 0 1.6rem;
  color: var(--muted);
}

.buy-list span {
  display: inline-block;
  width: 2rem;
  color: var(--tie-hot);
  font-family: var(--mono);
  font-weight: 600;
}

/* Chart */
.chart-dock {
  width: min(1180px, calc(100% - 3rem));
  margin: 0 auto 5rem;
}

.chart-head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 1rem;
  margin-bottom: 1.4rem;
}

.chart-wrapper {
  overflow: hidden;
  background: #000;
  min-height: 460px;
  border-top: 1px solid var(--line);
  border: 1px solid rgba(62, 224, 194, 0.18);
}

.chart-wrapper.is-tba {
  min-height: 240px;
  display: grid;
  place-items: center;
}

.chart-tba { text-align: center; padding: 3.4rem 1.5rem; }

.chart-tba strong {
  display: block;
  font-size: clamp(2.6rem, 6vw, 4rem);
  letter-spacing: -0.04em;
}

.chart-tba p { color: var(--muted); margin-top: 0.4rem; }

.dexscreener-embed {
  width: 100%;
  height: 560px;
  border: 0;
  display: block;
}

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

.text-link:hover { color: #fff; }

/* Footer */
.footer {
  border-top: 1px solid var(--line);
  padding: 2rem 0 2.4rem;
}

.footer-row {
  width: min(1180px, calc(100% - 3rem));
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1.5rem;
}

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

.footer-logo {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  object-fit: cover;
  border: 1px solid rgba(225, 29, 46, 0.5);
}

.footer-brand strong {
  display: block;
  font-size: 0.95rem;
  font-weight: 700;
}

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

.footer-disclaimer {
  max-width: 36em;
  font-size: 0.75rem;
  color: var(--muted);
  text-align: right;
}

.footer-disclaimer a {
  color: var(--api);
  text-decoration: none;
}

.footer-disclaimer a:hover { color: #fff; }

@media (max-width: 1100px) {
  .elon-grid,
  .about,
  .market { grid-template-columns: 1fr; }
  .feed-grid,
  .stats-band { grid-template-columns: 1fr 1fr; }
  .about { gap: 2.4rem; padding: 4.5rem 0; }
  .stats-band { margin-top: 0; }
}

@media (max-width: 980px) {
  .nav { background: rgba(5, 6, 8, 0.94); }
  .nav-toggle { display: flex; }

  .nav-links {
    position: fixed;
    top: var(--nav-h);
    left: 0;
    right: 0;
    transform: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: #050608;
    padding: 0.4rem 0 1rem;
    border-bottom: 1px solid var(--line);
    transform: translateY(-120%);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.25s ease, opacity 0.25s ease;
  }

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

  .nav-links a {
    display: block;
    padding: 0.9rem 1.4rem;
    font-size: 1rem;
  }

  .nav-socials { justify-content: center; padding: 0.8rem; }

  .hero { padding-bottom: 2.4rem; align-items: end; }
  .hero-img { object-position: 62% 40%; }
  .hero-copy {
    max-width: none;
    margin-left: 1.5rem;
    margin-right: 1.5rem;
    width: calc(100% - 3rem);
  }
  .hero-copy h1 { font-size: clamp(2.2rem, 11vw, 3.2rem); }
  .hero-copy .actions { justify-content: flex-start; }
  .stats-band,
  .feed-grid { grid-template-columns: 1fr; }
  .stats-band article { border-right: 0; border-bottom: 1px solid var(--line); }
  .stats-band article:last-child { border-bottom: 0; }
  .memes-stage { aspect-ratio: 4 / 3; }
  .memes-thumbs {
    grid-template-columns: repeat(6, minmax(64px, 1fr));
    overflow-x: auto;
  }
  .elon-grid,
  .about,
  .market,
  .chart-head,
  .footer-row { display: grid; }
  .chart-head { align-items: start; }
  .footer-row { text-align: left; }
  .footer-disclaimer { text-align: left; }
  .ca-box { flex-direction: column; align-items: stretch; }
  .dexscreener-embed,
  .chart-wrapper { min-height: 420px; }
  .dexscreener-embed { height: 420px; }
  .ig-embed { height: 560px; }
  .feed-body,
  .feed-body-ig { min-height: 520px; }
}
