:root {
  /* Palette */
  --onyx: #0A0A0B;
  --onyx-soft: #14141A;
  --champagne: #E8D7B8;
  --champagne-soft: #D4C3A4;
  --gold-subtle: #C9A961;
  --emerald: #1F4438;
  --emerald-soft: #2D5A47;
  --diamond: #F5F5F0;
  --platinum: #8B8680;
  --platinum-soft: #5C5852;
  --line: rgba(232, 215, 184, 0.12);
  --line-strong: rgba(232, 215, 184, 0.25);

  /* Type */
  --serif: 'Cormorant Garamond', Georgia, serif;
  --sans: 'Inter', -apple-system, sans-serif;
  --mono: 'JetBrains Mono', monospace;

  /* Shadows */
  --glow-champagne: 0 0 40px rgba(232, 215, 184, 0.15);
  --glow-soft: 0 0 80px rgba(232, 215, 184, 0.08);
  --card-shadow: 0 20px 60px rgba(0, 0, 0, 0.5), 0 0 0 1px var(--line);
}

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

html { scroll-behavior: smooth; }

body {
  background: var(--onyx);
  color: var(--diamond);
  font-family: var(--sans);
  font-weight: 400;
  line-height: 1.5;
  overflow-x: hidden;
  min-height: 100vh;
  cursor: none;
}

@media (hover: none) and (pointer: coarse) {
  body { cursor: auto; }
}

::selection { background: var(--champagne); color: var(--onyx); }

a { color: inherit; text-decoration: none; }

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

button { font-family: inherit; cursor: none; }
@media (hover: none) and (pointer: coarse) {
  button { cursor: pointer; }
}

/* ====== overlays ====== */
.sparkles-canvas {
  position: fixed;
  inset: 0;
  z-index: 1;
  pointer-events: none;
}

.cursor-glow {
  position: fixed;
  top: 0; left: 0;
  width: 200px; height: 200px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(232, 215, 184, 0.12), transparent 65%);
  mix-blend-mode: screen;
  pointer-events: none;
  z-index: 1;
  transform: translate(-50%, -50%);
  will-change: transform;
}

@media (hover: none) and (pointer: coarse) {
  .cursor-glow { display: none; }
}

/* ====== top bar ====== */
.topbar {
  position: sticky;
  top: 0;
  z-index: 100;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 32px;
  background: rgba(10, 10, 11, 0.7);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--line);
}

.wordmark {
  font-family: var(--serif);
  font-style: italic;
  font-size: 22px;
  color: var(--champagne);
  font-weight: 500;
  letter-spacing: -0.01em;
}

.motion-index {
  text-align: right;
  line-height: 1;
}
.motion-index .mi-label {
  font-family: var(--mono);
  font-size: 9px;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--platinum);
  margin-bottom: 4px;
}
.motion-index .mi-value {
  font-family: var(--mono);
  font-size: 16px;
  color: var(--champagne);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.motion-index .mi-arrow {
  color: var(--emerald-soft);
  font-size: 10px;
}

/* ====== hero ====== */
.hero {
  position: relative;
  min-height: calc(100vh - 60px);
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  padding: 40px 64px;
  gap: 40px;
  z-index: 5;
}

.hero-left {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.pepe-wrap {
  position: relative;
  width: 100%;
  max-width: 480px;
  aspect-ratio: 1 / 1;
  display: flex;
  align-items: center;
  justify-content: center;
}

.pepe-wrap::before {
  content: "";
  position: absolute;
  inset: -10%;
  background: radial-gradient(circle, rgba(232, 215, 184, 0.08), transparent 60%);
  z-index: -1;
  filter: blur(8px);
}

.pepe-img {
  width: 100%;
  height: auto;
  animation: float 4s ease-in-out infinite;
  transition: transform 0.6s ease;
  position: relative;
  z-index: 2;
}

.pepe-wrap:hover .pepe-img { transform: rotate(2deg); }

.pepe-sparkle {
  position: absolute;
  width: 6px;
  height: 6px;
  background: var(--champagne);
  border-radius: 50%;
  opacity: 0.5;
  filter: blur(0.5px);
  box-shadow: 0 0 8px rgba(232, 215, 184, 0.6);
  animation: twinkle 2.6s ease-in-out infinite;
  transition: opacity 0.4s ease, transform 0.4s ease;
}
.pepe-wrap:hover .pepe-sparkle {
  opacity: 1;
  transform: scale(1.3);
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}

@keyframes twinkle {
  0%, 100% { opacity: 0.2; }
  50% { opacity: 0.8; }
}

.hero-right { position: relative; max-width: 580px; }

.eyebrow {
  font-family: var(--mono);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.3em;
  color: var(--platinum);
  margin-bottom: 24px;
}

.headline {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 500;
  font-size: 180px;
  color: var(--diamond);
  line-height: 0.9;
  letter-spacing: -0.02em;
}

.subheadline {
  font-family: var(--serif);
  font-style: italic;
  font-size: 48px;
  color: var(--champagne);
  opacity: 0.7;
  margin-top: -10px;
  line-height: 1;
}

.tagline {
  font-family: var(--sans);
  font-size: 16px;
  color: var(--platinum);
  max-width: 380px;
  margin-top: 28px;
  line-height: 1.6;
}

.ca-block { margin-top: 40px; }
.ca-label {
  font-family: var(--mono);
  font-size: 9px;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--platinum);
  margin-bottom: 8px;
}
.ca-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  background: rgba(20, 20, 26, 0.6);
  border: 1px solid var(--line);
  border-radius: 4px;
  max-width: 480px;
}
.ca-value {
  font-family: var(--mono);
  font-size: 14px;
  color: var(--diamond);
  flex: 1;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.ca-copy {
  background: transparent;
  border: 1px solid var(--line);
  color: var(--champagne);
  padding: 6px 8px;
  border-radius: 3px;
  font-family: var(--mono);
  font-size: 10px;
  transition: all 0.2s ease;
  position: relative;
  z-index: 10;
}
.ca-copy:hover { background: rgba(232, 215, 184, 0.08); border-color: var(--champagne); }

.cta-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
  margin-top: 28px;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 2px;
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  transition: all 0.3s ease;
  position: relative;
  z-index: 10;
  border: none;
  cursor: none;
}
@media (hover: none) and (pointer: coarse) {
  .btn { cursor: pointer; }
}

.btn-primary {
  background: var(--champagne);
  color: var(--onyx);
}
.btn-primary:hover {
  transform: scale(1.02);
  box-shadow: var(--glow-champagne);
}

.btn-secondary {
  background: transparent;
  color: var(--champagne);
  border: 1px solid var(--line-strong);
}
.btn-secondary:hover {
  border-color: var(--champagne);
  background: rgba(232, 215, 184, 0.04);
}

.btn-text {
  background: transparent;
  color: var(--platinum);
  padding: 14px 4px;
  font-size: 12px;
}
.btn-text:hover { color: var(--champagne); }

/* ====== section header ====== */
.section {
  position: relative;
  padding: 120px 64px;
  z-index: 5;
}

.section-divider {
  border-top: 1px solid var(--line);
}

.section-label {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  font-family: var(--mono);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.4em;
  color: var(--champagne);
  margin-bottom: 60px;
  text-align: center;
}
.section-label::before,
.section-label::after {
  content: "";
  flex: 1;
  max-width: 80px;
  height: 1px;
  background: var(--line);
}

/* ====== tweets slider ====== */
.slider-wrap {
  position: relative;
  perspective: 1400px;
  max-width: 1200px;
  margin: 0 auto;
}

.slider-stage {
  position: relative;
  height: 360px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.tweet-card {
  position: absolute;
  width: 580px;
  max-width: 90vw;
  padding: 32px;
  background: linear-gradient(180deg, #14141A 0%, #0E0E13 100%);
  border: 1px solid var(--line-strong);
  border-radius: 16px;
  box-shadow: var(--card-shadow), inset 0 1px 0 rgba(232, 215, 184, 0.06);
  transition: transform 0.6s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.6s ease;
  cursor: none;
  user-select: none;
}
@media (hover: none) and (pointer: coarse) {
  .tweet-card { cursor: pointer; }
}

.tweet-card.center {
  transform: translateX(0) scale(1);
  opacity: 1;
  z-index: 3;
}
.tweet-card.center { cursor: pointer; }
@media (hover: none) and (pointer: coarse) {
  .tweet-card.center { cursor: pointer; }
}
.tweet-card.left {
  transform: translateX(-55%) scale(0.85);
  opacity: 0.4;
  z-index: 2;
  filter: blur(0.5px);
}
.tweet-card.right {
  transform: translateX(55%) scale(0.85);
  opacity: 0.4;
  z-index: 2;
  filter: blur(0.5px);
}
.tweet-card.hidden { opacity: 0; pointer-events: none; transform: scale(0.7); }

.tw-top {
  display: flex;
  align-items: center;
  gap: 12px;
}
.tw-pfp {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid var(--champagne);
  object-fit: cover;
  background: var(--onyx-soft);
}
.tw-pfp-fallback {
  width: 44px; height: 44px;
  border-radius: 50%;
  border: 1px solid var(--champagne);
  background: var(--onyx-soft);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--serif); font-style: italic; color: var(--champagne); font-size: 18px;
}
.tw-id { flex: 1; line-height: 1.2; }
.tw-name {
  display: flex;
  align-items: center;
  gap: 6px;
  font-family: var(--sans);
  font-weight: 600;
  font-size: 15px;
  color: var(--diamond);
}
.tw-verified { color: var(--champagne); display: inline-flex; }
.tw-handle {
  font-family: var(--sans);
  font-size: 14px;
  color: var(--platinum);
  margin-top: 2px;
}
.tw-x {
  font-size: 18px;
  color: var(--platinum);
  opacity: 0.6;
}

.tw-text {
  margin-top: 20px;
  font-family: var(--sans);
  font-size: 22px;
  color: var(--diamond);
  line-height: 1.4;
}

.hl {
  background: rgba(232, 215, 184, 0.18);
  color: var(--champagne);
  padding: 2px 8px;
  border-radius: 4px;
  font-weight: 500;
}

.tw-date {
  margin-top: 18px;
  font-family: var(--sans);
  font-size: 13px;
  color: var(--platinum);
}

.tw-quote {
  margin-top: 16px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.02);
}
.tw-quote .tw-pfp,
.tw-quote .tw-pfp-fallback {
  width: 24px; height: 24px;
  font-size: 11px;
}
.tw-quote .tw-name { font-size: 13px; }
.tw-quote .tw-handle { font-size: 12px; }
.tw-quote .tw-text { font-size: 15px; margin-top: 10px; }
.tw-quote .tw-date { font-size: 11px; margin-top: 8px; }

.slider-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  margin-top: 40px;
}
.slider-arrow {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: transparent;
  border: 1px solid var(--line);
  color: var(--champagne);
  font-size: 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
  position: relative;
  z-index: 10;
}
.slider-arrow:hover {
  border-color: var(--champagne);
  background: rgba(232, 215, 184, 0.06);
}

.slider-dots {
  display: flex;
  gap: 8px;
}
.slider-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--platinum-soft);
  border: none;
  padding: 0;
  transition: all 0.3s ease;
  position: relative;
  z-index: 10;
}
.slider-dot.active {
  background: var(--champagne);
  transform: scale(1.4);
}

.slider-progress {
  max-width: 280px;
  margin: 16px auto 0;
  height: 1px;
  background: var(--line);
  position: relative;
  overflow: hidden;
}
.slider-progress-fill {
  position: absolute;
  inset: 0;
  background: var(--champagne);
  transform-origin: left;
  transform: scaleX(0);
}

/* ====== marquee ====== */
.marquee {
  overflow: hidden;
  padding: 40px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  position: relative;
  z-index: 5;
}
.marquee-track {
  display: flex;
  gap: 48px;
  white-space: nowrap;
  animation: scroll 60s linear infinite;
  font-family: var(--serif);
  font-style: italic;
  font-size: 18px;
  color: var(--platinum);
  opacity: 0.4;
}
.marquee-track span { display: inline-flex; gap: 48px; }
.marquee-diamond { color: var(--champagne); }

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

/* ====== manifesto ====== */
.manifesto {
  padding: 160px 64px;
  position: relative;
  z-index: 5;
  overflow: hidden;
}
.manifesto::before {
  content: "";
  position: absolute;
  bottom: -20%;
  left: -10%;
  width: 60%;
  height: 80%;
  background: radial-gradient(circle, rgba(232, 215, 184, 0.05), transparent 60%);
  pointer-events: none;
  z-index: -1;
}

.manifesto-inner { max-width: 900px; margin: 0 auto; text-align: center; }

.manifesto-lead-italic {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  font-size: 56px;
  color: var(--diamond);
  line-height: 1.1;
}
.manifesto-lead-bold {
  font-family: var(--serif);
  font-style: normal;
  font-weight: 500;
  font-size: 56px;
  color: var(--champagne);
  line-height: 1.1;
  margin-top: 8px;
}

.manifesto-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 80px;
}

.mini-card {
  padding: 32px 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(20, 20, 26, 0.4);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  text-align: left;
  transition: all 0.4s ease;
  position: relative;
}
.mini-card:hover {
  transform: translateY(-4px);
  border-color: var(--champagne-soft);
}
.mini-card:hover .mini-sparkle { opacity: 1; transform: scale(1.4); }

.mini-card .mc-phrase {
  font-family: var(--serif);
  font-size: 24px;
  color: var(--diamond);
  line-height: 1.3;
}
.mini-card .mc-arrow {
  display: block;
  font-size: 28px;
  color: var(--champagne);
  margin: 16px 0;
}
.mini-card .mc-result {
  font-family: var(--serif);
  font-style: italic;
  font-size: 32px;
  color: var(--champagne);
}

.mini-sparkle {
  position: absolute;
  top: 16px; right: 16px;
  width: 4px; height: 4px;
  background: var(--champagne);
  border-radius: 50%;
  opacity: 0.5;
  box-shadow: 0 0 6px rgba(232, 215, 184, 0.6);
  transition: opacity 0.4s ease, transform 0.4s ease;
}

.manifesto-final { margin-top: 120px; }
.manifesto-final h2 {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 500;
  font-size: 140px;
  color: var(--diamond);
  line-height: 1;
  letter-spacing: -0.02em;
}
.manifesto-final .gt { color: var(--champagne); padding: 0 8px; }
.manifesto-final .nfa {
  margin-top: 32px;
  font-family: var(--mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.3em;
  color: var(--platinum);
}

/* ====== how to move ====== */
.how-sub {
  text-align: center;
  font-family: var(--serif);
  font-style: italic;
  font-size: 36px;
  color: var(--diamond);
  margin-top: -40px;
  margin-bottom: 60px;
}

.how-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  max-width: 1100px;
  margin: 0 auto;
}

.step-card {
  position: relative;
  padding: 36px 32px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(20, 20, 26, 0.5);
  transition: all 0.4s ease;
}
.step-card:hover {
  border-color: var(--champagne-soft);
  transform: translateY(-2px);
}
.step-card:hover .step-sparkle { opacity: 1; transform: scale(1.5); }

.step-num {
  font-family: var(--serif);
  font-style: italic;
  font-size: 64px;
  color: var(--champagne);
  opacity: 0.6;
  line-height: 1;
}
.step-title {
  font-family: var(--sans);
  font-weight: 500;
  font-size: 18px;
  color: var(--diamond);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-top: 16px;
}
.step-desc {
  font-family: var(--sans);
  font-size: 14px;
  color: var(--platinum);
  line-height: 1.6;
  margin-top: 12px;
}
.step-sparkle {
  position: absolute;
  top: 16px; right: 16px;
  width: 4px; height: 4px;
  background: var(--champagne);
  border-radius: 50%;
  opacity: 0.4;
  box-shadow: 0 0 6px rgba(232, 215, 184, 0.6);
  transition: opacity 0.4s ease, transform 0.4s ease;
}

/* ====== footer ====== */
.footer {
  padding: 80px 32px 40px;
  text-align: center;
  border-top: 1px solid var(--line);
  position: relative;
  z-index: 5;
}
.footer-mark {
  font-family: var(--serif);
  font-style: italic;
  font-size: 80px;
  color: var(--diamond);
  line-height: 1;
}
.footer-links {
  display: flex;
  justify-content: center;
  gap: 24px;
  margin-top: 32px;
  flex-wrap: wrap;
}
.footer-link {
  font-family: var(--sans);
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--platinum);
  transition: color 0.2s ease;
  position: relative;
  z-index: 10;
}
.footer-link:hover { color: var(--champagne); }

.footer-ca {
  margin-top: 40px;
  font-family: var(--mono);
  font-size: 11px;
  color: var(--platinum);
  cursor: pointer;
}
.footer-ca:hover { color: var(--champagne); }

.footer-disclaimer {
  margin-top: 24px;
  font-family: var(--sans);
  font-size: 11px;
  color: var(--platinum-soft);
  max-width: 480px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.6;
}

.footer-seal {
  margin-top: 32px;
  font-family: var(--mono);
  font-size: 10px;
  color: var(--champagne);
  letter-spacing: 0.4em;
}

/* ====== toast ====== */
.toast {
  position: fixed;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%) translateY(20px);
  padding: 12px 24px;
  background: var(--onyx-soft);
  border: 1px solid var(--champagne);
  border-radius: 4px;
  font-family: var(--mono);
  font-size: 12px;
  color: var(--champagne);
  letter-spacing: 0.1em;
  opacity: 0;
  transition: all 0.3s ease;
  z-index: 200;
  pointer-events: none;
}
.toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }

/* ====== reveal ====== */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.8s cubic-bezier(0.22, 1, 0.36, 1), transform 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}
.reveal.in {
  opacity: 1;
  transform: translateY(0);
}

/* ====== responsive ====== */
@media (max-width: 1024px) {
  .hero {
    grid-template-columns: 1fr;
    text-align: center;
    padding: 40px 32px;
  }
  .hero-right { margin: 0 auto; }
  .headline { font-size: 100px; }
  .subheadline { font-size: 36px; }
  .ca-row { margin-left: auto; margin-right: auto; }
  .cta-row { justify-content: center; }
  .pepe-wrap { max-width: 360px; }

  .section { padding: 100px 32px; }
  .manifesto { padding: 120px 32px; }
  .manifesto-cards { grid-template-columns: 1fr; }
  .manifesto-final h2 { font-size: 96px; }
  .how-grid { grid-template-columns: 1fr; }

  .tweet-card { width: 90vw; padding: 28px; }
  .tweet-card.left, .tweet-card.right { opacity: 0.2; transform: scale(0.7); }
}

@media (max-width: 640px) {
  .topbar { padding: 0 20px; }
  .motion-index { display: none; }

  .hero { padding: 32px 20px; min-height: auto; }
  .headline { font-size: 72px; }
  .subheadline { font-size: 28px; }
  .tagline { font-size: 15px; }
  .pepe-wrap { max-width: 280px; }

  .section { padding: 80px 20px; }
  .section-label { letter-spacing: 0.3em; }

  .manifesto { padding: 80px 20px; }
  .manifesto-lead-italic, .manifesto-lead-bold { font-size: 36px; }
  .manifesto-final { margin-top: 80px; }
  .manifesto-final h2 { font-size: 64px; }
  .manifesto-cards { margin-top: 48px; }
  .mini-card .mc-phrase { font-size: 20px; }
  .mini-card .mc-result { font-size: 26px; }

  .how-sub { font-size: 26px; }
  .how-grid { gap: 16px; }
  .step-card { padding: 28px 24px; }
  .step-num { font-size: 48px; }

  .tw-text { font-size: 18px; }
  .tweet-card { padding: 24px; }
  .tweet-card.left, .tweet-card.right { display: none; }

  .footer { padding: 64px 20px 32px; }
  .footer-mark { font-size: 56px; }
  .ca-value { font-size: 12px; }
  .cta-row { flex-direction: column; align-items: stretch; }
  .btn { justify-content: center; }
}
