:root {
  --green: #0c3a2a;
  --green-deep: #061510;
  --green-forest: #082016;
  --green-mid: #145c3f;
  --green-bright: #00c805;
  --green-accent: #1ae07a;
  --gold: #c9a227;
  --gold-warm: #e4c45a;
  --gold-soft: #d4bc7a;
  --gold-deep: #8a6a1e;
  --lavender: #c9bdd8;
  --lavender-soft: #a898bc;
  --violet: #5c4d72;
  --violet-muted: #3d334c;
  --cream: #f3eee4;
  --ivory: #f7f2ea;
  --pink-sunset: #e7b7b4;
  --dark: #050806;
  --dark-elevated: #0b110e;
  --ink: #ece6d8;
  --muted: rgba(243, 238, 228, 0.62);
  --border: rgba(201, 162, 39, 0.22);
  --border-soft: rgba(243, 238, 228, 0.08);
  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 1.75rem;
  --space-lg: 3.5rem;
  --space-xl: 6rem;
  --space-2xl: 9rem;
  --header-h: 4.5rem;
  --font-display: "Cinzel", "Palatino Linotype", Palatino, serif;
  --font-serif: "Cormorant Garamond", "Iowan Old Style", Georgia, serif;
  --font-sans: "Outfit", "Segoe UI", sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --mx: 0;
  --my: 0;
}

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

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

html,
body {
  margin: 0;
  padding: 0;
}

body {
  min-height: 100%;
  overflow-x: hidden;
  color: var(--ink);
  background:
    radial-gradient(1200px 700px at 80% -10%, rgba(92, 77, 114, 0.28), transparent 55%),
    radial-gradient(900px 600px at 10% 8%, rgba(12, 58, 42, 0.55), transparent 50%),
    linear-gradient(180deg, #07140f 0%, var(--dark) 18%, #070b0c 100%);
  font-family: var(--font-sans);
  font-weight: 400;
  font-size: 1.05rem;
  line-height: 1.6;
  letter-spacing: 0.01em;
  text-rendering: optimizeLegibility;
  color-scheme: dark;
}

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

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

button,
.btn {
  font-family: inherit;
}

h1,
h2,
h3,
p,
blockquote,
dl,
dd,
figure {
  margin: 0;
}

ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

:focus-visible {
  outline: 2px solid var(--gold-warm);
  outline-offset: 3px;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 80;
  padding: 0.7rem 1rem;
  background: var(--cream);
  color: var(--dark);
  font-size: 0.85rem;
  letter-spacing: 0.08em;
}

.skip-link:focus {
  top: 1rem;
}

.grain {
  position: fixed;
  inset: 0;
  z-index: 70;
  pointer-events: none;
  opacity: 0.055;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

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

.section-index {
  margin-bottom: 1.25rem;
  color: var(--gold-soft);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.28em;
  text-transform: uppercase;
}

.eyebrow {
  margin-bottom: 1.1rem;
  color: var(--gold-soft);
  font-size: clamp(0.68rem, 1.1vw, 0.78rem);
  font-weight: 500;
  letter-spacing: 0.34em;
  text-transform: uppercase;
}

.js .reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
}

.js .reveal.is-visible {
  opacity: 1;
  transform: none;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0.85rem 1.35rem;
  border: 1px solid transparent;
  border-radius: 2px;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.25s ease, color 0.25s ease, border-color 0.25s ease, transform 0.25s ease;
}

.btn-green {
  background: var(--green-bright);
  color: #06210f;
}

.btn-green:hover {
  background: var(--green-accent);
}

.btn-ghost {
  border-color: var(--border);
  background: rgba(5, 8, 6, 0.35);
  color: var(--cream);
}

.btn-soon {
  border-color: var(--border);
  background: linear-gradient(180deg, rgba(201, 162, 39, 0.16), rgba(201, 162, 39, 0.05));
  color: var(--gold-soft);
  cursor: default;
}

.btn-large {
  min-height: 54px;
  padding-inline: 1.8rem;
}

.site-header {
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  z-index: 60;
  border-bottom: 1px solid transparent;
  background: linear-gradient(180deg, rgba(5, 8, 6, 0.72), rgba(5, 8, 6, 0.12));
  transition: background 0.35s ease, border-color 0.35s ease, backdrop-filter 0.35s ease;
}

.site-header.is-scrolled {
  border-bottom-color: var(--border-soft);
  background: rgba(6, 16, 12, 0.72);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  width: min(1280px, calc(100% - 1.6rem));
  height: var(--header-h);
  margin: 0 auto;
}

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

.brand img {
  width: 42px;
  height: 42px;
  border: 1px solid var(--border);
  border-radius: 8px;
  object-fit: cover;
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.brand-name {
  font-family: var(--font-display);
  font-size: 0.92rem;
  font-weight: 600;
  letter-spacing: 0.06em;
}

.brand-meta {
  color: var(--gold-soft);
  font-size: 0.62rem;
  letter-spacing: 0.22em;
}

.nav-desktop {
  display: none;
  align-items: center;
  gap: 1.7rem;
}

.nav-desktop a {
  color: rgba(243, 238, 228, 0.78);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.22em;
}

.nav-desktop a:hover {
  color: var(--cream);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.header-x {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  min-height: 44px;
  color: var(--cream);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.16em;
}

.header-actions .btn-soon {
  display: none;
}

.nav-toggle {
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid var(--border);
  background: rgba(5, 8, 6, 0.35);
  color: var(--cream);
  cursor: pointer;
}

.nav-toggle-bars,
.nav-toggle-bars::before,
.nav-toggle-bars::after {
  display: block;
  width: 16px;
  height: 1.5px;
  margin: 0 auto;
  background: currentColor;
  content: "";
}

.nav-toggle-bars::before {
  transform: translateY(-5px);
}

.nav-toggle-bars::after {
  transform: translateY(3.5px);
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bars {
  background: transparent;
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bars::before {
  transform: translateY(0) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bars::after {
  transform: translateY(-1.5px) rotate(-45deg);
}

.nav-mobile {
  border-top: 1px solid var(--border-soft);
  background: rgba(6, 16, 12, 0.94);
  backdrop-filter: blur(20px);
}

.nav-mobile nav {
  display: flex;
  flex-direction: column;
  padding: 0.5rem 1.2rem 1.2rem;
}

.nav-mobile a {
  padding: 0.95rem 0;
  border-bottom: 1px solid var(--border-soft);
  font-size: 0.82rem;
  letter-spacing: 0.2em;
}

.nav-mobile-note {
  padding: 0 1.2rem 1.2rem;
  color: var(--gold-soft);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.hero {
  position: relative;
  min-height: 100svh;
  padding: calc(var(--header-h) + 1.5rem) 0 0;
  overflow: hidden;
}

.hero-atmosphere {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.hero-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(40px);
}

.hero-glow-green {
  right: 8%;
  top: 18%;
  width: 42vw;
  height: 42vw;
  background: radial-gradient(circle, rgba(0, 200, 5, 0.18), transparent 68%);
}

.hero-glow-lavender {
  right: 18%;
  top: 4%;
  width: 36vw;
  height: 50vw;
  background: radial-gradient(circle, rgba(168, 152, 188, 0.2), transparent 70%);
}

.hero-glow-gold {
  right: 22%;
  bottom: 8%;
  width: 28vw;
  height: 28vw;
  background: radial-gradient(circle, rgba(201, 162, 39, 0.12), transparent 70%);
}

.hero-grid {
  position: absolute;
  inset: 0;
  opacity: 0.12;
  background-image:
    linear-gradient(rgba(243, 238, 228, 0.12) 1px, transparent 1px),
    linear-gradient(90deg, rgba(243, 238, 228, 0.12) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: linear-gradient(180deg, transparent, black 18%, black 70%, transparent);
}

.hero-fog {
  position: absolute;
  left: -10%;
  right: -10%;
  height: 38%;
  background: linear-gradient(180deg, transparent, rgba(12, 24, 20, 0.45) 40%, rgba(5, 8, 6, 0.82));
  filter: blur(8px);
}

.hero-fog-a {
  bottom: -6%;
}

.hero-fog-b {
  bottom: 8%;
  height: 22%;
  opacity: 0.45;
  background: linear-gradient(90deg, transparent, rgba(201, 189, 216, 0.18), transparent);
  animation: fog-drift 28s linear infinite;
}

.hero-linework {
  position: absolute;
  right: 0;
  bottom: 18%;
  width: min(70%, 920px);
  height: 220px;
  opacity: 0.28;
}

.hero-line {
  fill: none;
  stroke-width: 1.2;
  stroke-linecap: round;
}

.hero-line-a {
  stroke: var(--green-accent);
}

.hero-line-b {
  stroke: rgba(201, 162, 39, 0.7);
}

.hero-particles span {
  position: absolute;
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: var(--gold-soft);
  opacity: 0.28;
  animation: particle 14s ease-in-out infinite;
}

.hero-particles span:nth-child(1) { top: 22%; left: 18%; animation-delay: 0s; }
.hero-particles span:nth-child(2) { top: 38%; left: 8%; animation-delay: 2s; background: var(--green-accent); }
.hero-particles span:nth-child(3) { top: 16%; right: 38%; animation-delay: 4s; }
.hero-particles span:nth-child(4) { top: 58%; left: 28%; animation-delay: 1s; }
.hero-particles span:nth-child(5) { top: 72%; right: 18%; animation-delay: 3s; background: var(--lavender); }
.hero-particles span:nth-child(6) { top: 30%; right: 12%; animation-delay: 5s; }
.hero-particles span:nth-child(7) { top: 64%; left: 12%; animation-delay: 6s; }
.hero-particles span:nth-child(8) { top: 12%; left: 42%; animation-delay: 7s; }

.hero-layout {
  position: relative;
  z-index: 2;
  display: grid;
  align-items: end;
  width: min(1280px, calc(100% - 1.6rem));
  min-height: calc(100svh - var(--header-h) - 1.5rem);
  margin: 0 auto;
}

.hero-copy {
  position: relative;
  z-index: 3;
  padding-bottom: 2rem;
  max-width: 36rem;
}

h1 {
  font-family: var(--font-display);
  font-size: clamp(3.4rem, 12vw, 8.4rem);
  font-weight: 500;
  line-height: 0.86;
  letter-spacing: 0.02em;
}

.h1-line {
  display: block;
}

.h1-gold {
  background: linear-gradient(100deg, var(--gold-deep), var(--gold-warm) 35%, var(--ivory) 50%, var(--gold) 68%, var(--gold-deep));
  background-size: 220% auto;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: gold-shimmer 9s linear infinite;
}

.hero-ticker {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.55rem;
  margin-top: 1.35rem;
  color: var(--muted);
  font-size: 0.72rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.hero-ticker span:first-child {
  color: var(--gold-warm);
}

.dot {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--gold);
  opacity: 0.7;
}

.hero-lede {
  margin-top: 1.4rem;
  max-width: 22ch;
  color: var(--cream);
  font-family: var(--font-serif);
  font-size: clamp(1.35rem, 2.4vw, 1.85rem);
  font-weight: 500;
  line-height: 1.25;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.8rem;
}

.hero-visual {
  position: relative;
  z-index: 2;
  display: grid;
  place-items: end center;
  min-height: 58vh;
}

.hero-tower {
  position: absolute;
  right: -8%;
  bottom: -6%;
  width: min(92vw, 720px);
  opacity: 0.42;
  transform: translate3d(calc(var(--mx) * -18px), calc(var(--my) * -10px), 0);
  mask-image:
    linear-gradient(90deg, transparent 0%, black 28%),
    linear-gradient(180deg, transparent 0%, black 16%, black 78%, transparent 100%);
  mask-composite: intersect;
  -webkit-mask-image:
    linear-gradient(90deg, transparent 0%, black 28%),
    linear-gradient(180deg, transparent 0%, black 16%, black 78%, transparent 100%);
  -webkit-mask-composite: source-in;
  pointer-events: none;
}

.hero-tower img {
  width: 100%;
  max-width: none;
  height: auto;
  filter: saturate(0.9) contrast(1.05);
}

.hero-doge {
  position: relative;
  z-index: 2;
  transform: translate3d(calc(var(--mx) * 14px), calc(var(--my) * 8px), 0);
}

.hero-doge-float {
  animation: doge-float 8.5s ease-in-out infinite;
}

.hero-doge img {
  width: min(92vw, 620px);
  max-width: none;
  height: auto;
  filter: drop-shadow(0 30px 40px rgba(0, 0, 0, 0.45));
  animation: doge-enter 1.5s var(--ease) both;
}

.hero-spine {
  display: none;
}

body.nav-open {
  overflow: hidden;
}

.marquee {
  position: relative;
  z-index: 3;
  overflow: hidden;
  border-block: 1px solid var(--border);
  background: linear-gradient(90deg, rgba(12, 58, 42, 0.4), rgba(8, 18, 14, 0.85) 40%, rgba(61, 51, 76, 0.28));
}

.marquee-track {
  display: flex;
  width: max-content;
  animation: marquee 38s linear infinite;
}

.marquee-track span {
  padding: 0.85rem 0;
  color: var(--gold-soft);
  font-family: var(--font-display);
  font-size: 0.78rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  white-space: nowrap;
}

.standard {
  position: relative;
  padding: var(--space-2xl) 0 var(--space-xl);
  overflow: hidden;
}

.standard-bg {
  position: absolute;
  right: -18%;
  top: -8%;
  width: min(90vw, 820px);
  opacity: 0.22;
  pointer-events: none;
}

.standard-bg img {
  width: 100%;
  max-width: none;
  filter: saturate(0.85);
  mask-image: linear-gradient(90deg, transparent, black 25%, black 80%, transparent);
}

.standard-inner {
  position: relative;
}

.standard-heading {
  max-width: 12ch;
  font-family: var(--font-display);
  font-size: clamp(3rem, 9vw, 7.2rem);
  font-weight: 500;
  line-height: 0.9;
  letter-spacing: 0.02em;
}

.standard-heading span {
  display: block;
}

.standard-narrative {
  max-width: 34rem;
  margin-top: 2.5rem;
}

.standard-lead {
  font-family: var(--font-serif);
  font-size: clamp(1.5rem, 3vw, 2.15rem);
  font-weight: 500;
  line-height: 1.25;
}

.standard-lead + .standard-lead {
  margin-top: 0.35rem;
  color: var(--lavender);
}

.ledger {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem 1.4rem;
  margin-top: 2rem;
  color: var(--muted);
  font-size: 0.86rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.interrupt {
  margin-top: clamp(2.5rem, 8vw, 5.5rem);
  color: var(--gold-warm);
  font-family: var(--font-display);
  font-size: clamp(5.5rem, 22vw, 16rem);
  font-weight: 600;
  line-height: 0.8;
  letter-spacing: -0.04em;
}

.manifesto {
  padding: var(--space-xl) 0 var(--space-2xl);
  background:
    linear-gradient(180deg, transparent, rgba(61, 51, 76, 0.16) 40%, transparent);
}

.manifesto-lines {
  display: grid;
  gap: 1.8rem;
  max-width: 16ch;
}

.manifesto-line {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 5.4vw, 4.1rem);
  font-weight: 500;
  line-height: 1.08;
}

.manifesto-line-quiet {
  color: var(--muted);
  font-style: italic;
}

.js .manifesto-line,
.js .manifesto-close {
  opacity: 0;
  transform: translateY(36px);
  transition: opacity 1s var(--ease), transform 1s var(--ease);
}

.js .manifesto-line.is-visible,
.js .manifesto-close.is-visible {
  opacity: 1;
  transform: none;
}

.manifesto-close {
  margin-top: 4.5rem;
  color: var(--gold-warm);
  font-family: var(--font-display);
  font-size: clamp(1.3rem, 3.4vw, 2.4rem);
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: 0.06em;
}

.reserve {
  padding: var(--space-xl) 0;
}

.reserve-head h2,
.character-copy h2,
.contract h2,
.market h2,
.community h2 {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 6vw, 4.8rem);
  font-weight: 500;
  line-height: 0.95;
  letter-spacing: 0.04em;
}

.reserve-kicker {
  max-width: 28ch;
  margin-top: 1rem;
  color: var(--muted);
  font-family: var(--font-serif);
  font-size: 1.35rem;
}

.vault-panel {
  position: relative;
  margin-top: 2.8rem;
  padding: 1.6rem 1.2rem 1.4rem;
  border: 1px solid var(--border);
  background:
    linear-gradient(180deg, rgba(201, 162, 39, 0.05), transparent 28%),
    linear-gradient(180deg, rgba(11, 17, 14, 0.92), rgba(8, 14, 12, 0.88));
}

.vault-marks span {
  position: absolute;
  width: 11px;
  height: 11px;
  border: 1px solid var(--gold);
  opacity: 0.55;
}

.vault-marks span:nth-child(1) { top: -1px; left: -1px; border-right: 0; border-bottom: 0; }
.vault-marks span:nth-child(2) { top: -1px; right: -1px; border-left: 0; border-bottom: 0; }
.vault-marks span:nth-child(3) { bottom: -1px; left: -1px; border-right: 0; border-top: 0; }
.vault-marks span:nth-child(4) { bottom: -1px; right: -1px; border-left: 0; border-top: 0; }

.vault-bars {
  display: flex;
  align-items: end;
  gap: 0.45rem;
  height: 54px;
  margin-bottom: 1.5rem;
}

.vault-bars span {
  flex: 1;
  height: 100%;
  border: 1px solid rgba(201, 162, 39, 0.45);
  background: linear-gradient(180deg, #f0d98a, #b8922c 42%, #8d6a16 80%, #e8c96a);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.35);
}

.vault-bars span:nth-child(2) { height: 82%; }
.vault-bars span:nth-child(3) { height: 94%; }
.vault-bars span:nth-child(4) { height: 70%; }
.vault-bars span:nth-child(5) { height: 86%; }

.classifications {
  display: grid;
}

.classifications > div {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 1rem;
  align-items: baseline;
  padding: 1.15rem 0;
  border-top: 1px solid var(--border-soft);
}

.classifications dt {
  color: var(--muted);
  font-size: 0.72rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.classifications dd {
  font-family: var(--font-display);
  font-size: clamp(1.05rem, 3vw, 1.45rem);
  font-weight: 600;
  letter-spacing: 0.08em;
  text-align: right;
  color: var(--cream);
}

.vault-footnote {
  margin-top: 1.1rem;
  color: var(--muted);
  font-size: 0.86rem;
}

.character {
  padding: var(--space-2xl) 0;
  overflow: hidden;
}

.character-inner {
  display: grid;
  gap: 2.5rem;
  align-items: center;
}

.character-visual {
  position: relative;
  min-height: 420px;
}

.character-tower {
  position: absolute;
  left: 8%;
  top: -8%;
  width: 78%;
  opacity: 0.28;
}

.character-doge {
  position: relative;
  z-index: 1;
  width: min(100%, 520px);
  margin: 0 auto;
  animation: doge-float 9s ease-in-out infinite;
}

.character-doge img {
  filter: drop-shadow(0 24px 30px rgba(0, 0, 0, 0.4));
}

.character-lead {
  margin: 1.1rem 0 0.8rem;
  font-family: var(--font-serif);
  font-size: clamp(1.4rem, 3vw, 2rem);
  line-height: 1.3;
}

.character-copy p:nth-of-type(3) {
  max-width: 36ch;
  color: var(--muted);
}

.character-quote {
  margin-top: 2rem;
  padding-left: 1.2rem;
  border-left: 1px solid var(--gold);
}

.character-quote p {
  font-family: var(--font-serif);
  font-size: clamp(1.6rem, 3.2vw, 2.3rem);
  font-style: italic;
  line-height: 1.2;
  color: var(--cream);
}

.contract,
.market {
  padding: var(--space-lg) 0;
}

.contract-panel,
.market-window {
  margin-top: 1.8rem;
  padding: 1.5rem 1.15rem;
  border: 1px solid var(--border);
  background: rgba(11, 17, 14, 0.78);
}

.contract-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 0.7rem 1rem;
  align-items: center;
}

.contract-label {
  grid-column: 1 / -1;
  color: var(--muted);
  font-size: 0.7rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.contract-value {
  min-width: 0;
  color: var(--gold-warm);
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 4vw, 2.4rem);
  letter-spacing: 0.18em;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.copy-btn {
  min-height: 44px;
  padding: 0.5rem 0.9rem;
  border: 1px solid var(--border);
  background: transparent;
  color: var(--muted);
  font-size: 0.68rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  cursor: not-allowed;
}

.contract-meta {
  display: grid;
  gap: 0.55rem;
  margin: 1.4rem 0 1.2rem;
  padding-top: 1.1rem;
  border-top: 1px solid var(--border-soft);
  font-size: 0.82rem;
  letter-spacing: 0.08em;
}

.contract-meta span {
  display: inline-block;
  min-width: 5.5rem;
  color: var(--muted);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-size: 0.68rem;
}

.contract-note {
  max-width: 46ch;
  margin-bottom: 1.4rem;
  color: var(--muted);
}

.market-window {
  min-height: 280px;
  display: grid;
  place-items: center;
  background:
    linear-gradient(180deg, rgba(0, 200, 5, 0.04), transparent 40%),
    repeating-linear-gradient(
      90deg,
      transparent,
      transparent 71px,
      rgba(243, 238, 228, 0.04) 71px,
      rgba(243, 238, 228, 0.04) 72px
    ),
    rgba(11, 17, 14, 0.78);
}

.market-window iframe {
  width: 100%;
  min-height: 420px;
  border: 0;
}

.market-placeholder {
  text-align: center;
  padding: 2rem 1rem;
}

.market-kicker {
  color: var(--green-accent);
  font-size: 0.72rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
}

.market-title {
  margin-top: 0.7rem;
  font-family: var(--font-display);
  font-size: clamp(1.3rem, 3.5vw, 2rem);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.market-sub {
  margin-top: 0.7rem;
  color: var(--muted);
  font-family: var(--font-serif);
  font-size: 1.25rem;
  font-style: italic;
}

.community {
  position: relative;
  margin-top: var(--space-lg);
  padding: var(--space-2xl) 0;
  overflow: hidden;
}

.community-bg {
  position: absolute;
  inset: 0;
}

.community-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  filter: saturate(0.9);
}

.community-bg::after {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(5, 8, 6, 0.72), rgba(5, 8, 6, 0.55) 40%, rgba(5, 8, 6, 0.82)),
    linear-gradient(90deg, rgba(5, 8, 6, 0.55), transparent 55%);
  content: "";
}

.community-inner {
  position: relative;
  z-index: 1;
  max-width: 42rem;
}

.community-copy {
  max-width: 28ch;
  margin: 1.2rem 0 1.8rem;
  font-family: var(--font-serif);
  font-size: clamp(1.35rem, 2.8vw, 1.85rem);
  line-height: 1.3;
}

.site-footer {
  padding: 2.5rem 0 2rem;
  border-top: 1px solid var(--border-soft);
  background: #050806;
}

.footer-grid {
  display: grid;
  gap: 1.5rem;
  width: min(1180px, calc(100% - 2.4rem));
  margin: 0 auto 1.8rem;
}

.footer-name {
  font-family: var(--font-display);
  letter-spacing: 0.08em;
}

.footer-ticker,
.footer-links span {
  color: var(--gold-soft);
  font-size: 0.75rem;
  letter-spacing: 0.18em;
}

.footer-motto {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  font-style: italic;
}

.footer-links {
  display: flex;
  gap: 1.2rem;
  align-items: center;
}

.footer-links a:hover {
  color: var(--green-accent);
}

.footer-disclaimer {
  width: min(1180px, calc(100% - 2.4rem));
  margin: 0 auto;
  padding-top: 1.2rem;
  border-top: 1px solid var(--border-soft);
  color: rgba(243, 238, 228, 0.48);
  font-size: 0.78rem;
  line-height: 1.55;
}

@keyframes doge-enter {
  from {
    opacity: 0;
    transform: translate3d(18px, 32px, 0);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes fog-drift {
  from { transform: translateX(-6%); }
  to { transform: translateX(6%); }
}

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

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

@keyframes gold-shimmer {
  from { background-position: 0% center; }
  to { background-position: 220% center; }
}

@keyframes particle {
  0%, 100% { transform: translateY(0); opacity: 0.15; }
  50% { transform: translateY(-12px); opacity: 0.4; }
}

@keyframes line-draw {
  from { stroke-dashoffset: 1400; }
  to { stroke-dashoffset: 0; }
}

.hero-line {
  stroke-dasharray: 1400;
  animation: line-draw 7s var(--ease) forwards;
}

@media (min-width: 720px) {
  .header-actions .btn-soon {
    display: inline-flex;
  }

  .vault-panel,
  .contract-panel,
  .market-window {
    padding: 2rem 2.1rem;
  }

  .footer-grid {
    grid-template-columns: 1fr 1.4fr auto;
    align-items: start;
  }

  .footer-motto {
    text-align: center;
  }
}

@media (min-width: 860px) {
  .hero-layout {
    grid-template-columns: minmax(260px, 0.9fr) minmax(380px, 1.1fr);
    align-items: center;
  }

  .hero-copy {
    padding-bottom: 5rem;
  }

  .hero-visual {
    min-height: calc(100svh - var(--header-h));
    place-items: end right;
  }

  .hero-tower {
    right: -6%;
    bottom: -12%;
    width: min(58vw, 780px);
    opacity: 0.38;
  }

  .hero-doge img {
    width: min(50vw, 680px);
  }

  .character-inner {
    grid-template-columns: 1.05fr 0.95fr;
    gap: 4rem;
  }
}

@media (min-width: 980px) {
  .nav-desktop {
    display: flex;
  }

  .nav-toggle,
  .nav-mobile {
    display: none;
  }
}

@media (min-width: 1240px) {
  .hero-copy {
    max-width: 40rem;
  }

  .hero-doge img {
    width: min(46vw, 740px);
  }

  .hero-spine {
    display: block;
    position: absolute;
    left: 1.2rem;
    bottom: 18%;
    z-index: 2;
    color: rgba(243, 238, 228, 0.38);
    font-size: 0.65rem;
    letter-spacing: 0.28em;
    text-transform: uppercase;
    writing-mode: vertical-rl;
    transform: rotate(180deg);
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .js .reveal,
  .js .manifesto-line,
  .js .manifesto-close,
  .js .reveal.is-visible,
  .js .manifesto-line.is-visible,
  .js .manifesto-close.is-visible {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .hero-doge-float,
  .hero-doge img,
  .character-doge,
  .hero-fog-b,
  .hero-particles span,
  .marquee-track,
  .h1-gold,
  .hero-line {
    animation: none;
  }

  .hero-tower,
  .hero-doge {
    transform: none;
  }
}
