/* =========================================================
   $ABUNDANCE - editorial / high-tech minimal
   Palette: obsidian, ivory, champagne gold
   ========================================================= */

:root {
  --bg: #0a0908;
  --bg-2: #12110f;
  --bg-3: #1b1915;
  --ivory: #f5efe4;
  --ivory-dim: #e8decb;
  --pearl: #efe7d6;
  --gold: #c9a96a;
  --gold-2: #e6c88a;
  --gold-3: #8c7340;
  --stroke: rgba(245, 239, 228, 0.12);
  --stroke-strong: rgba(245, 239, 228, 0.22);
  --gold-stroke: rgba(201, 169, 106, 0.35);
  --gold-stroke-strong: rgba(201, 169, 106, 0.6);

  --serif: 'Cormorant Garamond', 'Times New Roman', serif;
  --sans: 'Inter', system-ui, -apple-system, sans-serif;
  --mono: 'JetBrains Mono', ui-monospace, monospace;

  --ease: cubic-bezier(.22,.61,.36,1);
  --ease-soft: cubic-bezier(.4,0,.2,1);

  --pad-x: clamp(20px, 4vw, 64px);
  --max: 1440px;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--ivory);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }

::selection { background: var(--gold); color: #0a0908; }

/* ----- Reusable ----- */
.section-title {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(36px, 5.5vw, 72px);
  line-height: 1.02;
  letter-spacing: -0.01em;
  margin: 0 0 24px;
  color: var(--ivory);
  text-wrap: pretty;
}
.section-title em {
  font-style: italic;
  color: var(--gold-2);
  font-weight: 400;
}
.section-sub {
  font-family: var(--sans);
  font-size: clamp(15px, 1.2vw, 18px);
  max-width: 58ch;
  color: var(--ivory-dim);
  margin: 0;
  line-height: 1.6;
}

/* editorial rail */
.rail {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 48px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
}
.rail::after {
  content: "";
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, var(--gold-stroke) 0%, transparent 100%);
}
.rail__num { color: var(--gold-2); font-weight: 500; }
.rail__label { color: var(--ivory-dim); }

/* buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 22px;
  border-radius: 2px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  transition: all 0.35s var(--ease);
  position: relative;
  overflow: hidden;
  white-space: nowrap;
}
.btn--gold {
  background: linear-gradient(180deg, var(--gold-2) 0%, var(--gold) 50%, var(--gold-3) 100%);
  color: #18140c;
  border: 1px solid var(--gold);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.35),
    0 10px 30px -10px rgba(201, 169, 106, 0.5);
}
.btn--gold:hover {
  transform: translateY(-1px);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.5),
    0 20px 40px -10px rgba(201, 169, 106, 0.65);
}
.btn--ghost {
  background: transparent;
  color: var(--ivory);
  border: 1px solid var(--stroke-strong);
}
.btn--ghost:hover {
  border-color: var(--gold);
  color: var(--gold-2);
}
.btn--sm { padding: 10px 16px; font-size: 10px; }

/* film grain */
.grain {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 9999;
  opacity: 0.04;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='200' height='200'><filter id='n'><feTurbulence baseFrequency='0.9' numOctaves='2' seed='4'/><feColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 1 0'/></filter><rect width='200' height='200' filter='url(%23n)'/></svg>");
}

/* ambient spirals */
.ambient {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}
.ambient-spiral {
  position: absolute;
  width: 900px;
  max-width: 80vw;
  opacity: 0.04;
  filter: saturate(0.6);
}
.ambient-spiral--a {
  top: 25vh; left: -20vw;
  animation: spin-slow 120s linear infinite;
}
.ambient-spiral--b {
  top: 140vh; right: -20vw;
  width: 700px;
  animation: spin-slow-rev 180s linear infinite;
}
@keyframes spin-slow { to { transform: rotate(360deg); } }
@keyframes spin-slow-rev { to { transform: rotate(-360deg); } }

/* toast */
.toast {
  position: fixed;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%) translateY(20px);
  background: var(--bg-3);
  border: 1px solid var(--gold-stroke);
  color: var(--ivory);
  padding: 12px 18px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  z-index: 10000;
  opacity: 0;
  pointer-events: none;
  transition: all 0.3s var(--ease);
  border-radius: 2px;
}
.toast.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

/* =========================================================
   HEADER
   ========================================================= */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(10, 9, 8, 0.6);
  backdrop-filter: blur(16px) saturate(1.2);
  -webkit-backdrop-filter: blur(16px) saturate(1.2);
  border-bottom: 1px solid var(--stroke);
  transition: background 0.4s var(--ease);
}
.site-header.is-solid {
  background: rgba(10, 9, 8, 0.88);
}
.site-header__inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 14px var(--pad-x);
  display: grid;
  grid-template-columns: auto 1fr auto auto auto;
  align-items: center;
  gap: clamp(16px, 2.5vw, 36px);
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
}
.brand__mark {
  width: 36px;
  height: 36px;
  object-fit: contain;
  filter: drop-shadow(0 0 12px rgba(201, 169, 106, 0.25));
}
.brand__wordmark { display: flex; flex-direction: column; line-height: 1; }
.brand__name {
  font-family: var(--serif);
  font-size: 20px;
  letter-spacing: 0.22em;
  font-weight: 500;
  color: var(--ivory);
}
.brand__tagline {
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.3em;
  color: var(--gold);
  margin-top: 4px;
  text-transform: uppercase;
}

.site-nav { display: flex; gap: 28px; }
.site-nav a {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ivory-dim);
  transition: color 0.25s var(--ease);
  position: relative;
  padding: 4px 0;
}
.site-nav a:hover { color: var(--gold-2); }
.site-nav a::after {
  content: "";
  position: absolute;
  left: 0; right: 0;
  bottom: 0;
  height: 1px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s var(--ease);
}
.site-nav a:hover::after { transform: scaleX(1); }

/* CA header pill */
.site-header__ca {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 7px 10px 7px 14px;
  border: 1px solid var(--stroke-strong);
  border-radius: 2px;
  background: rgba(255,255,255,0.02);
  max-width: 360px;
}
.ca-label {
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.25em;
  color: var(--gold);
  text-transform: uppercase;
}
.ca-value {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--ivory-dim);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  max-width: 180px;
  letter-spacing: 0.02em;
}
.ca-copy {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 10px;
  border: 1px solid var(--gold-stroke);
  color: var(--gold-2);
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  border-radius: 2px;
  transition: all 0.25s var(--ease);
}
.ca-copy:hover {
  background: var(--gold);
  color: #18140c;
  border-color: var(--gold);
}
.ca-copy.is-copied {
  background: var(--gold);
  color: #18140c;
  border-color: var(--gold);
}

.site-header__links { display: flex; gap: 8px; }
.icon-link {
  width: 34px; height: 34px;
  display: grid; place-items: center;
  border: 1px solid var(--stroke-strong);
  border-radius: 2px;
  color: var(--ivory-dim);
  transition: all 0.25s var(--ease);
}
.icon-link:hover {
  color: var(--gold-2);
  border-color: var(--gold-stroke-strong);
  background: rgba(201, 169, 106, 0.06);
}

.menu-toggle {
  display: none;
  width: 34px; height: 34px;
  border: 1px solid var(--stroke-strong);
  border-radius: 2px;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
}
.menu-toggle span {
  display: block;
  width: 16px; height: 1px;
  background: var(--ivory);
  transition: all 0.3s var(--ease);
}
.menu-toggle[aria-expanded="true"] span:first-child { transform: translateY(3px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:last-child { transform: translateY(-3px) rotate(-45deg); }

.mobile-drawer {
  display: none;
  position: fixed;
  top: 66px;
  left: 0; right: 0;
  background: var(--bg);
  border-bottom: 1px solid var(--stroke);
  padding: 24px var(--pad-x);
  transform: translateY(-10px);
  opacity: 0;
  pointer-events: none;
  transition: all 0.3s var(--ease);
}
.mobile-drawer.open {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}
.mobile-drawer nav {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--stroke);
}
.mobile-drawer nav a {
  font-family: var(--serif);
  font-size: 24px;
  color: var(--ivory);
}
.mobile-drawer__ca {
  margin-top: 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.mobile-drawer__ca .ca-value { max-width: 100%; font-size: 12px; }
.mobile-drawer__ca .ca-copy { align-self: flex-start; }
.mobile-drawer__links {
  display: flex; gap: 16px;
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid var(--stroke);
}
.mobile-drawer__links a {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold-2);
}

/* =========================================================
   HERO
   ========================================================= */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  isolation: isolate;
}
.hero__video-wrap {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero__video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(0.15) contrast(1.05) brightness(0.85) saturate(0.85);
}
.hero__vignette {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at center, transparent 0%, rgba(10,9,8,0.4) 60%, rgba(10,9,8,0.9) 100%);
  pointer-events: none;
}
.hero__scrim {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(10,9,8,0.7) 0%, rgba(10,9,8,0.35) 22%, rgba(10,9,8,0.55) 70%, var(--bg) 100%);
  pointer-events: none;
}

.hero__chrome {
  position: relative;
  z-index: 2;
  flex: 1;
  display: grid;
  grid-template-rows: auto 1fr auto;
  padding: calc(80px + 40px) var(--pad-x) 40px;
  max-width: var(--max);
  width: 100%;
  margin: 0 auto;
  gap: 40px;
}

.hero__top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
}
.hero__timestamp {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--ivory-dim);
}
.hero__timestamp .dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--gold-2);
  box-shadow: 0 0 10px var(--gold-2);
  animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}

.hero__title {
  align-self: center;
  max-width: 900px;
  position: relative;
}
.hero__A {
  position: absolute;
  top: -40px;
  right: -20px;
  width: clamp(140px, 20vw, 260px);
  opacity: 0.85;
  animation: float 8s ease-in-out infinite;
  filter: drop-shadow(0 30px 60px rgba(201, 169, 106, 0.25));
  pointer-events: none;
}
.hero__A img { width: 100%; }
@keyframes float {
  0%, 100% { transform: translateY(0) rotate(0); }
  50% { transform: translateY(-14px) rotate(1deg); }
}

.hero__h1 {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(54px, 10vw, 156px);
  line-height: 0.92;
  letter-spacing: -0.025em;
  margin: 0 0 24px;
}
.hero__h1-line { display: block; }
.hero__h1-line--italic {
  font-style: italic;
  font-weight: 400;
  background: linear-gradient(180deg, #fff7e6 0%, var(--gold-2) 50%, var(--gold-3) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  padding-right: 0.1em;
}
.hero__lede {
  font-family: var(--serif);
  font-size: clamp(18px, 1.8vw, 24px);
  font-weight: 300;
  font-style: italic;
  line-height: 1.45;
  color: var(--ivory-dim);
  margin: 0 0 40px;
  max-width: 48ch;
}

.hero__ticker {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  padding: 18px 0;
  margin-bottom: 32px;
  border-top: 1px solid var(--stroke-strong);
  border-bottom: 1px solid var(--stroke-strong);
  max-width: 760px;
}
.ticker-row {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 0 20px;
  border-right: 1px solid var(--stroke);
}
.ticker-row:first-child { padding-left: 0; }
.ticker-row:last-child { border-right: 0; padding-right: 0; }
.ticker-k {
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.25em;
  color: var(--gold);
  text-transform: uppercase;
}
.ticker-v {
  font-family: var(--serif);
  font-size: clamp(16px, 1.6vw, 22px);
  color: var(--ivory);
  font-weight: 400;
}

.hero__cta {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.hero__bottom {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 20px;
}
.hero__caption {
  display: flex;
  align-items: baseline;
  gap: 14px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.15em;
  color: var(--ivory-dim);
  text-transform: uppercase;
}
.cap-num {
  font-family: var(--serif);
  font-style: italic;
  font-size: 28px;
  color: var(--gold-2);
  letter-spacing: 0;
  text-transform: none;
}
.hero__sound {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border: 1px solid var(--stroke-strong);
  border-radius: 2px;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ivory-dim);
  transition: all 0.25s var(--ease);
}
.hero__sound:hover { color: var(--gold-2); border-color: var(--gold-stroke); }

.scroll-cue {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--ivory-dim);
  display: flex;
  align-items: center;
  gap: 10px;
  z-index: 3;
  opacity: 0.6;
  pointer-events: none;
}
.scroll-cue span {
  width: 1px; height: 24px;
  background: linear-gradient(180deg, transparent, var(--gold));
  animation: cue 2.4s ease-in-out infinite;
}
@keyframes cue {
  0% { transform: scaleY(0); transform-origin: top; }
  40% { transform: scaleY(1); transform-origin: top; }
  41% { transform-origin: bottom; }
  100% { transform: scaleY(0); transform-origin: bottom; }
}

/* =========================================================
   MANIFESTO
   ========================================================= */
.manifesto {
  position: relative;
  padding: clamp(80px, 12vh, 160px) var(--pad-x);
  max-width: var(--max);
  margin: 0 auto;
  z-index: 1;
}
.manifesto__grid {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: clamp(40px, 6vw, 100px);
  align-items: start;
}
.manifesto__aside {
  position: sticky;
  top: 120px;
}
.manifesto__spiral {
  width: 100%;
  max-width: 420px;
  opacity: 0.9;
  filter: drop-shadow(0 30px 80px rgba(201, 169, 106, 0.2));
  animation: spin-slow 80s linear infinite;
}

.manifesto__body p {
  font-family: var(--serif);
  font-size: clamp(18px, 1.6vw, 22px);
  font-weight: 300;
  line-height: 1.55;
  color: var(--ivory);
  margin: 0 0 22px;
  text-wrap: pretty;
}
.manifesto__body p strong {
  font-weight: 500;
  color: var(--gold-2);
  font-style: italic;
}
.manifesto__body p em {
  font-style: italic;
  color: var(--gold-2);
}
.drop-cap .dc {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  font-size: 5.5em;
  line-height: 0.85;
  float: left;
  margin: 6px 14px 0 0;
  color: var(--gold-2);
  background: linear-gradient(180deg, #fff7e6, var(--gold));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.drop-cap .dc--99 {
  font-size: 4.2em;
  line-height: 0.9;
  margin: 10px 18px 0 0;
  letter-spacing: -0.03em;
  background: linear-gradient(180deg, #fff7e6 0%, var(--gold-2) 55%, var(--gold-3) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.manifesto__quote {
  margin: 40px 0;
  padding: 32px 0 32px 32px;
  border-left: 1px solid var(--gold-stroke-strong);
}
.manifesto__quote blockquote {
  margin: 0;
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(22px, 2.4vw, 32px);
  font-weight: 300;
  line-height: 1.35;
  color: var(--ivory);
}
.manifesto__quote figcaption {
  margin-top: 16px;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
}

.tenets {
  list-style: none;
  padding: 0;
  margin: 48px 0 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  border-top: 1px solid var(--stroke);
}
.tenets li {
  display: flex;
  gap: 20px;
  padding: 22px 24px 22px 0;
  border-bottom: 1px solid var(--stroke);
  align-items: baseline;
}
.tenets li:nth-child(odd) { border-right: 1px solid var(--stroke); padding-right: 24px; }
.tenets li:nth-child(even) { padding-left: 24px; }
.tenet-k {
  font-family: var(--serif);
  font-style: italic;
  font-size: 28px;
  color: var(--gold-2);
  min-width: 40px;
}
.tenet-v {
  font-family: var(--serif);
  font-size: clamp(16px, 1.3vw, 20px);
  color: var(--ivory);
}

/* =========================================================
   PROPHECY / TWEETS
   ========================================================= */
.prophecy {
  position: relative;
  padding: clamp(80px, 12vh, 160px) var(--pad-x);
  max-width: var(--max);
  margin: 0 auto;
  z-index: 1;
}
.prophecy__head {
  text-align: center;
  max-width: 780px;
  margin: 0 auto 72px;
}
.prophecy__head .section-sub { margin-inline: auto; }

.tweet-stack {
  max-width: 560px;
  margin: 0 auto;
}

/* X native embed wrappers */
.tweet-embed {
  position: relative;
  margin: 0 auto;
}
.tweet-embed .twitter-tweet {
  margin: 0 auto !important;
}
.tweet-embed--reply {
  margin-left: clamp(0px, 4vw, 36px);
  position: relative;
}
.tweet-embed--reply::before {
  content: "";
  position: absolute;
  left: -18px;
  top: -28px;
  bottom: 40%;
  width: 1px;
  background: linear-gradient(180deg, var(--gold-stroke-strong), transparent);
  pointer-events: none;
}
.tweet-embed__tag {
  display: flex;
  justify-content: center;
  margin-bottom: 14px;
}
.tweet-embed__views {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 16px;
  border: 1px solid var(--gold-stroke);
  border-radius: 999px;
  background: rgba(201, 169, 106, 0.06);
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold-2);
}
.tweet-embed__views strong {
  font-family: var(--serif);
  font-style: italic;
  font-size: 18px;
  font-weight: 500;
  letter-spacing: 0;
  color: var(--ivory);
  text-transform: none;
}
@media (max-width: 720px) {
  .tweet-embed--reply { margin-left: 0; }
  .tweet-embed--reply::before { display: none; }
}

.tweet {
  position: relative;
  background: linear-gradient(180deg, rgba(245, 239, 228, 0.03), rgba(245, 239, 228, 0.01));
  border: 1px solid var(--stroke-strong);
  border-radius: 4px;
  padding: 28px 32px;
  backdrop-filter: blur(6px);
  transition: all 0.4s var(--ease);
}
.tweet:hover {
  border-color: var(--gold-stroke);
  transform: translateY(-2px);
  box-shadow: 0 30px 60px -20px rgba(201, 169, 106, 0.15);
}
.tweet__glow {
  position: absolute;
  inset: -1px;
  border-radius: 5px;
  background: linear-gradient(135deg, var(--gold-stroke-strong), transparent 40%, var(--gold-stroke-strong));
  z-index: -1;
  opacity: 0.5;
  pointer-events: none;
}

.tweet__head {
  display: grid;
  grid-template-columns: 48px 1fr auto;
  gap: 12px;
  align-items: center;
  margin-bottom: 16px;
}
.avatar {
  width: 48px; height: 48px;
  border-radius: 50%;
  overflow: hidden;
  border: 1px solid var(--gold-stroke-strong);
  box-shadow: 0 0 20px rgba(201, 169, 106, 0.2);
}
.tweet__who { display: flex; flex-direction: column; line-height: 1.25; }
.tweet__name {
  display: flex;
  align-items: center;
  gap: 4px;
  font-weight: 700;
  font-size: 15px;
  color: var(--ivory);
}
.tweet__handle {
  font-size: 13px;
  color: var(--ivory-dim);
  opacity: 0.7;
  margin-top: 2px;
}
.tweet__x { color: var(--ivory-dim); opacity: 0.5; }

.tweet__body p {
  margin: 0 0 10px;
  font-size: 17px;
  line-height: 1.5;
  color: var(--ivory);
}
.tweet__body p:last-child { margin-bottom: 0; }
.tweet__body .hl {
  color: var(--gold-2);
  font-style: italic;
  font-family: var(--serif);
  font-size: 1.08em;
}
.tweet__big {
  font-family: var(--serif);
  font-size: clamp(42px, 6vw, 72px);
  font-weight: 400;
  line-height: 1;
  margin: 8px 0 4px !important;
  color: var(--ivory);
  letter-spacing: -0.02em;
}
.tweet__reply-line {
  font-size: 13px !important;
  color: var(--ivory-dim) !important;
  opacity: 0.7;
}
.tweet__reply-line a { color: var(--gold-2); }

.tweet__media {
  margin-top: 16px;
  border: 1px solid var(--stroke);
  border-radius: 8px;
  overflow: hidden;
  background: #000;
  aspect-ratio: 16/10;
  display: grid;
  place-items: center;
  padding: 20px;
}
.tweet__media img {
  max-height: 100%;
  width: auto;
  object-fit: contain;
  filter: drop-shadow(0 0 30px rgba(201, 169, 106, 0.3));
}

.tweet__foot {
  margin-top: 18px;
  padding-top: 14px;
  border-top: 1px solid var(--stroke);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}
.tweet__stats {
  display: flex;
  gap: 18px;
  font-size: 12px;
  color: var(--ivory-dim);
  opacity: 0.7;
  flex-wrap: wrap;
}
.tweet__stats strong { color: var(--ivory); font-weight: 600; }
.tweet__stats .views strong {
  color: var(--gold-2);
  font-family: var(--mono);
}
.tweet__link {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold-2);
  transition: opacity 0.25s;
}
.tweet__link:hover { opacity: 0.7; }

.reply-connector {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 0;
  max-width: 480px;
  margin: 0 auto;
}
.reply-connector__line {
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold-stroke-strong), transparent);
}
.reply-connector__badge {
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.28em;
  color: var(--gold);
  text-transform: uppercase;
  white-space: nowrap;
}
.tweet--reply {
  margin-left: clamp(16px, 5vw, 48px);
  background: linear-gradient(180deg, rgba(201, 169, 106, 0.04), rgba(201, 169, 106, 0.01));
  border-color: var(--gold-stroke);
}

/* cinema */
.cinema {
  margin-top: 100px;
  position: relative;
}
.cinema__frame {
  position: relative;
  aspect-ratio: 16/9;
  background: #000;
  border: 1px solid var(--gold-stroke);
  overflow: hidden;
  box-shadow: 0 40px 100px -30px rgba(201, 169, 106, 0.25);
}
.cinema__frame::before,
.cinema__frame::after {
  content: "";
  position: absolute;
  left: 0; right: 0;
  height: 8%;
  background: #000;
  z-index: 2;
  pointer-events: none;
}
.cinema__frame::before { top: 0; }
.cinema__frame::after { bottom: 0; }
.cinema__frame video {
  width: 100%; height: 100%;
  object-fit: cover;
  filter: grayscale(0.1) contrast(1.05) brightness(0.92);
}
.cinema__overlay {
  position: absolute;
  bottom: calc(8% + 20px);
  left: 20px;
  z-index: 3;
}
.cinema__sound {
  position: absolute;
  top: calc(8% + 16px);
  right: 16px;
  z-index: 4;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border: 1px solid var(--stroke-strong);
  border-radius: 2px;
  background: rgba(10, 9, 8, 0.55);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ivory-dim);
  transition: all 0.25s var(--ease);
}
.cinema__sound:hover {
  color: var(--gold-2);
  border-color: var(--gold-stroke);
}
.cinema__meta {
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.25em;
  color: var(--gold-2);
  text-transform: uppercase;
}
.cinema__meta span:last-child { color: var(--ivory); }

/* Tesla Master Plan section */
.masterplan {
  position: relative;
  padding: clamp(80px, 12vh, 160px) var(--pad-x);
  max-width: var(--max);
  margin: 0 auto;
  z-index: 1;
}
.masterplan__head {
  max-width: 780px;
  margin: 0 auto 64px;
  text-align: center;
}
.masterplan__head .section-sub { margin-inline: auto; }
.masterplan__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(40px, 6vh, 72px);
  align-items: stretch;
  max-width: 960px;
  margin: 0 auto;
}
.masterplan__cinema { margin: 0; }
.masterplan__text {
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
}
.masterplan__text p {
  font-family: var(--serif);
  font-size: clamp(18px, 1.55vw, 22px);
  font-weight: 300;
  line-height: 1.55;
  color: var(--ivory);
  margin: 0 0 22px;
  text-wrap: pretty;
}
.masterplan__text p strong {
  color: var(--gold-2);
  font-style: italic;
  font-weight: 500;
}
.masterplan__text p:last-child { margin-bottom: 0; }
@media (max-width: 860px) {
  .masterplan__text p { text-align: center; }
}

/* =========================================================
   INDEX / TOKENOMICS
   ========================================================= */
.index-sec {
  position: relative;
  padding: clamp(80px, 12vh, 160px) var(--pad-x);
  max-width: var(--max);
  margin: 0 auto;
  z-index: 1;
}
.index-sec__head {
  max-width: 780px;
  margin: 0 auto 64px;
  text-align: center;
}
.index-sec__head .section-sub { margin-inline: auto; }

.index-sec__grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  grid-auto-rows: minmax(180px, auto);
  gap: 1px;
  background: var(--stroke);
  border: 1px solid var(--stroke);
}
.index-card {
  background: var(--bg);
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  position: relative;
  overflow: hidden;
  transition: background 0.35s var(--ease);
}
.index-card:hover { background: var(--bg-2); }
.index-card__kicker {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.25em;
  color: var(--gold);
  text-transform: uppercase;
}
.index-card__number {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(38px, 4.4vw, 72px);
  line-height: 0.95;
  letter-spacing: -0.02em;
  color: var(--ivory);
  margin-top: auto;
}
.index-card__number.big {
  font-size: clamp(48px, 6vw, 92px);
  display: flex;
  align-items: baseline;
  gap: 6px;
  color: var(--gold-2);
}
.index-card__number .pct {
  font-size: 0.45em;
  color: var(--ivory-dim);
  font-family: var(--mono);
}
.index-card__unit {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.25em;
  color: var(--ivory-dim);
  text-transform: uppercase;
}
.index-card__foot {
  font-family: var(--serif);
  font-style: italic;
  font-size: 14px;
  color: var(--ivory-dim);
  opacity: 0.75;
  margin-top: auto;
}

.index-card--big {
  grid-column: span 4;
  grid-row: span 2;
  background:
    radial-gradient(ellipse at top right, rgba(201, 169, 106, 0.08), transparent 60%),
    var(--bg);
}
.index-card--big:hover {
  background:
    radial-gradient(ellipse at top right, rgba(201, 169, 106, 0.14), transparent 60%),
    var(--bg-2);
}
.index-card--big .index-card__number {
  font-size: clamp(56px, 9vw, 148px);
  background: linear-gradient(180deg, var(--ivory) 0%, var(--gold-2) 60%, var(--gold-3) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}
.index-card__number--supply {
  font-size: clamp(96px, 14vw, 220px) !important;
  letter-spacing: -0.04em;
  line-height: 0.9 !important;
}

.index-card--liq .liq-meta {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  padding-top: 10px;
  border-top: 1px solid var(--stroke);
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ivory-dim);
}
.index-card--liq .liq-lock {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--gold-2);
}
.index-card--big::after {
  content: "";
  position: absolute;
  right: -60px; bottom: -60px;
  width: 360px; height: 360px;
  background: url('assets/spiral-1.png') center/contain no-repeat;
  opacity: 0.08;
  pointer-events: none;
  animation: spin-slow 120s linear infinite;
}

.index-card { grid-column: span 2; }
.index-card--network { color: var(--gold-2); }
.index-card--network .index-card__number.big { color: var(--gold-2); }

.index-card--hud {
  grid-column: span 3;
  grid-row: span 2;
  padding: 0;
  background: radial-gradient(ellipse at center, rgba(201, 169, 106, 0.08), transparent 70%), var(--bg);
}
.index-card--hud img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 24px;
}
.index-card--hud .index-card__hudcap {
  position: absolute;
  bottom: 24px; left: 24px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.22em;
  color: var(--gold);
  text-transform: uppercase;
}
.index-card--hud .index-card__hudcap strong {
  font-family: var(--serif);
  font-size: 32px;
  color: var(--ivory);
  font-weight: 400;
  letter-spacing: 0;
}

.index-card--ca {
  grid-column: span 3;
  grid-row: span 2;
  background:
    radial-gradient(circle at 20% 0%, rgba(201, 169, 106, 0.06), transparent 50%),
    var(--bg);
}
.ca-value--big {
  font-size: clamp(13px, 1.3vw, 16px);
  color: var(--ivory);
  max-width: 100%;
  white-space: normal;
  word-break: break-all;
  padding: 16px;
  border: 1px dashed var(--gold-stroke);
  border-radius: 2px;
  background: rgba(201, 169, 106, 0.04);
  line-height: 1.5;
}

/* =========================================================
   ORDER / ROBOTS
   ========================================================= */
.order {
  position: relative;
  padding: clamp(80px, 12vh, 160px) var(--pad-x);
  max-width: var(--max);
  margin: 0 auto;
  z-index: 1;
}
.order__head {
  max-width: 780px;
  margin: 0 auto 72px;
  text-align: center;
}
.order__head .section-sub { margin-inline: auto; }

.order__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--stroke);
  border: 1px solid var(--stroke);
}
.robot {
  position: relative;
  margin: 0;
  background: linear-gradient(180deg, var(--bg-2) 0%, var(--bg) 100%);
  padding: 40px 24px 32px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  overflow: hidden;
  min-height: 560px;
  transition: background 0.4s var(--ease);
}
.robot:hover {
  background: linear-gradient(180deg, var(--bg-3) 0%, var(--bg-2) 100%);
}
.robot::before {
  content: "";
  position: absolute;
  top: 50%; left: 50%;
  width: 90%; aspect-ratio: 1;
  transform: translate(-50%, -40%);
  background: url('assets/spiral-2.png') center/contain no-repeat;
  opacity: 0.05;
  pointer-events: none;
  animation: spin-slow 90s linear infinite;
}
.robot img {
  position: relative;
  max-height: 380px;
  width: auto;
  object-fit: contain;
  filter: drop-shadow(0 40px 60px rgba(201, 169, 106, 0.25));
  transition: transform 0.8s var(--ease);
  z-index: 1;
}
.robot:hover img {
  transform: translateY(-8px) scale(1.02);
}
.robot figcaption {
  position: relative;
  z-index: 1;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding-top: 20px;
  border-top: 1px solid var(--gold-stroke);
  width: 100%;
}
.robot__num {
  font-family: var(--serif);
  font-style: italic;
  font-size: 20px;
  color: var(--gold-2);
}
.robot__name {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--ivory);
}
.robot__line {
  font-family: var(--serif);
  font-style: italic;
  font-size: 14px;
  color: var(--ivory-dim);
  line-height: 1.4;
  max-width: 22ch;
  margin: 4px auto 0;
}

.order__closer {
  margin-top: 120px;
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: clamp(30px, 5vw, 80px);
  align-items: center;
}
.order__hand {
  width: 100%;
  max-width: 520px;
  margin: 0 auto;
  filter: drop-shadow(0 40px 80px rgba(201, 169, 106, 0.3));
}
.order__closer-text .rail { margin-bottom: 24px; }
.closer-h {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(32px, 4.4vw, 60px);
  line-height: 1.05;
  letter-spacing: -0.015em;
  margin: 0 0 20px;
  color: var(--ivory);
}
.order__closer-text p {
  font-family: var(--serif);
  font-size: clamp(18px, 1.6vw, 22px);
  font-weight: 300;
  line-height: 1.55;
  color: var(--ivory-dim);
  margin: 0 0 32px;
}
.order__closer-text p strong {
  color: var(--gold-2);
  font-style: italic;
  font-weight: 500;
}
.order__cta { display: flex; gap: 14px; flex-wrap: wrap; }

/* =========================================================
   FOOTER
   ========================================================= */
.site-footer {
  position: relative;
  background: linear-gradient(180deg, var(--bg) 0%, #050504 100%);
  border-top: 1px solid var(--stroke);
  padding: 60px var(--pad-x) 40px;
  z-index: 1;
}
.site-footer__top {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: clamp(24px, 4vw, 60px);
  align-items: center;
  padding-bottom: 40px;
}
.footer-brand {
  display: flex;
  align-items: center;
  gap: 16px;
}
.footer-brand img {
  width: 48px;
  filter: drop-shadow(0 0 20px rgba(201, 169, 106, 0.3));
}
.footer-brand__name {
  font-family: var(--serif);
  font-size: 22px;
  letter-spacing: 0.22em;
  color: var(--ivory);
}
.footer-brand__sub {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gold);
  margin-top: 4px;
}
.footer-ca {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border: 1px solid var(--stroke-strong);
  border-radius: 2px;
  background: rgba(255,255,255,0.02);
  justify-self: center;
  max-width: 100%;
  overflow: hidden;
}
.footer-ca .ca-value { max-width: 340px; }
.footer-links {
  display: flex;
  gap: 14px;
}
.footer-links a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  border: 1px solid var(--stroke-strong);
  border-radius: 2px;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ivory-dim);
  transition: all 0.25s var(--ease);
}
.footer-links a:hover {
  color: var(--gold-2);
  border-color: var(--gold-stroke);
}

.site-footer__rule {
  position: relative;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold-stroke-strong), transparent);
  margin: 20px 0;
  max-width: var(--max);
  margin-inline: auto;
}
.footer-spiral {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 64px;
  transform: translate(-50%, -50%);
  opacity: 0.3;
  animation: spin-slow 60s linear infinite;
}

.site-footer__bottom {
  max-width: var(--max);
  margin: 0 auto;
  padding-top: 40px;
}
.footer-manifesto {
  font-family: var(--serif);
  font-size: clamp(16px, 1.4vw, 20px);
  font-weight: 300;
  line-height: 1.5;
  color: var(--ivory-dim);
  max-width: 72ch;
  margin: 0 auto 32px;
  text-align: center;
}
.footer-manifesto em {
  font-style: italic;
  color: var(--gold-2);
}
.footer-meta {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  padding-top: 24px;
  border-top: 1px solid var(--stroke);
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ivory-dim);
  opacity: 0.6;
}

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 1100px) {
  .site-header__inner {
    grid-template-columns: auto 1fr auto auto;
  }
  .site-nav { display: none; }
  .site-header__ca { display: none; }
  .index-card--big { grid-column: span 6; grid-row: span 1; }
  .index-card { grid-column: span 3; }
  .index-card--hud { grid-column: span 3; grid-row: span 1; min-height: 300px; }
  .index-card--ca { grid-column: span 3; grid-row: span 1; }
  .order__grid { grid-template-columns: repeat(2, 1fr); }
  .robot { min-height: 480px; }
  .order__closer { grid-template-columns: 1fr; text-align: center; }
  .order__closer-text .rail { justify-content: center; }
  .order__closer-text .rail::after { display: none; }
  .order__cta { justify-content: center; }
}

@media (max-width: 720px) {
  .site-header__inner {
    grid-template-columns: 1fr auto auto;
    gap: 12px;
  }
  .site-header__links { display: none; }
  .menu-toggle { display: flex; }
  .mobile-drawer { display: block; }
  .brand__tagline { display: none; }
  .brand__name { font-size: 16px; }
  .brand__mark { width: 30px; height: 30px; }

  .hero__chrome { padding-top: 120px; gap: 32px; }
  .hero__A { top: -20px; right: -30px; width: 120px; opacity: 0.7; }
  .hero__ticker {
    grid-template-columns: repeat(2, 1fr);
  }
  .ticker-row {
    padding: 12px 16px !important;
    border-right: 1px solid var(--stroke);
    border-bottom: 1px solid var(--stroke);
  }
  .ticker-row:nth-child(2n) { border-right: 0; padding-right: 0; }
  .ticker-row:first-child { padding-left: 0; }
  .ticker-row:nth-last-child(-n+2) { border-bottom: 0; padding-bottom: 0; }
  .hero__bottom { flex-direction: column; align-items: flex-start; }

  .manifesto__grid { grid-template-columns: 1fr; }
  .manifesto__aside {
    position: relative;
    top: 0;
    order: 2;
    display: flex;
    justify-content: center;
    margin-top: 40px;
  }
  .manifesto__spiral { max-width: 280px; }
  .tenets { grid-template-columns: 1fr; }
  .tenets li,
  .tenets li:nth-child(odd) {
    border-right: 0;
    padding: 18px 0;
  }
  .tenets li:nth-child(even) { padding-left: 0; }

  .index-card { grid-column: span 6 !important; padding: 24px; }
  .index-card--hud { min-height: 260px; }

  .order__grid { grid-template-columns: 1fr; }
  .robot { min-height: 440px; }

  .site-footer__top {
    grid-template-columns: 1fr;
    gap: 24px;
    text-align: center;
  }
  .footer-brand { justify-content: center; }
  .footer-ca { justify-self: stretch; flex-wrap: wrap; justify-content: center; }
  .footer-ca .ca-value { max-width: 100%; word-break: break-all; white-space: normal; }
  .footer-links { justify-content: center; }
  .footer-meta { justify-content: center; text-align: center; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  html { scroll-behavior: auto; }
}

/* reveal on scroll */
[data-reveal] {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
}
[data-reveal].is-in {
  opacity: 1;
  transform: translateY(0);
}
