:root {
  --gold: #f5bd18;
  --gold-light: #ffe16b;
  --ink: #181300;
  --cream: #fff4c5;
  --white: #fffdf2;
  --line: rgba(24, 19, 0, .28);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--gold);
  color: var(--ink);
  font-family: Arial, Helvetica, sans-serif;
  overflow-x: hidden;
}
a { color: inherit; }
img { display: block; max-width: 100%; }
button, a { -webkit-tap-highlight-color: transparent; }
.grain {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 20;
  opacity: .07;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.7'/%3E%3C/svg%3E");
  mix-blend-mode: multiply;
}

.topbar {
  min-height: 74px;
  padding: 10px 3vw;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  border-bottom: 2px solid var(--ink);
  background: var(--cream);
  position: relative;
  z-index: 5;
}
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 950; font-size: 1.05rem; letter-spacing: -.03em; }
.brand img { width: 42px; height: 42px; object-fit: contain; }
nav { display: flex; align-items: center; gap: 28px; }
nav a { font-size: .82rem; font-weight: 900; text-transform: uppercase; text-decoration: none; letter-spacing: .04em; }
.nav-cta { background: var(--ink); color: var(--white); padding: 13px 18px; border: 2px solid var(--ink); }

.hero {
  min-height: calc(100vh - 74px);
  display: grid;
  grid-template-columns: minmax(320px, .92fr) minmax(430px, 1.08fr);
  grid-template-rows: 1fr auto;
  position: relative;
  border-bottom: 2px solid var(--ink);
}
.hero-copy { padding: clamp(70px, 9vw, 140px) 4vw 90px; position: relative; z-index: 2; }
.eyebrow { margin: 0 0 22px; font-size: .78rem; font-weight: 900; letter-spacing: .18em; }
h1, h2, p { margin-top: 0; }
h1 {
  font-size: clamp(4.3rem, 9.5vw, 10rem);
  line-height: .72;
  letter-spacing: -.095em;
  margin: 0 0 46px;
  font-weight: 950;
}
h1 span { display: block; color: var(--white); -webkit-text-stroke: 3px var(--ink); text-shadow: 7px 7px 0 var(--ink); }
.hero-line { font-family: Georgia, serif; font-size: clamp(1.5rem, 2.7vw, 2.6rem); font-style: italic; line-height: .98; margin-bottom: 36px; }
.actions { display: flex; flex-wrap: wrap; gap: 10px; }
.button { display: inline-flex; justify-content: center; align-items: center; min-height: 54px; padding: 0 24px; border: 2px solid var(--ink); text-decoration: none; text-transform: uppercase; font-size: .83rem; font-weight: 950; letter-spacing: .04em; box-shadow: 5px 5px 0 var(--ink); transition: transform .16s ease, box-shadow .16s ease; }
.button:hover { transform: translate(3px, 3px); box-shadow: 2px 2px 0 var(--ink); }
.button-dark { background: var(--ink); color: var(--white); }
.button-light { background: var(--cream); }
.button-gold { background: var(--gold); }

.coin-stage { position: relative; display: grid; place-items: center; overflow: hidden; min-height: 660px; border-left: 2px solid var(--ink); background: var(--cream); isolation: isolate; }
.coin-stage::before, .coin-stage::after { content: ""; position: absolute; inset: 7%; border: 2px solid var(--ink); transform: rotate(12deg); z-index: -1; }
.coin-stage::after { transform: rotate(-7deg); inset: 13%; }
.coin-halo { position: absolute; width: 72%; aspect-ratio: 1; background: var(--gold-light); border: 2px solid var(--ink); border-radius: 50%; box-shadow: 18px 18px 0 var(--ink); }
.hero-coin { position: relative; width: min(88%, 760px); filter: drop-shadow(20px 28px 0 rgba(24,19,0,.16)); animation: arrive .8s cubic-bezier(.2,.8,.2,1) both; }
@keyframes arrive { from { opacity: 0; transform: translateY(40px) rotate(-5deg) scale(.92); } to { opacity: 1; transform: none; } }
.contract-bar { grid-column: 1 / -1; display: grid; grid-template-columns: 170px 1fr; background: var(--ink); color: var(--white); padding: 12px 3vw; align-items: center; gap: 20px; }
.contract-bar > span { color: var(--gold); font-size: .76rem; font-weight: 950; letter-spacing: .18em; }
.contract-bar button { background: transparent; color: inherit; border: 0; padding: 8px 0; display: flex; justify-content: space-between; gap: 20px; cursor: pointer; text-align: left; font: inherit; }
.contract-bar strong { font-family: monospace; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
#copy-state { color: var(--gold); font-size: .74rem; font-weight: 950; }

.ticker { overflow: hidden; background: var(--white); border-bottom: 2px solid var(--ink); padding: 16px 0; }
.ticker-track { display: flex; width: max-content; animation: ticker 22s linear infinite; font-weight: 950; font-size: clamp(1.4rem, 3vw, 2.8rem); letter-spacing: -.04em; white-space: nowrap; }
@keyframes ticker { to { transform: translateX(-50%); } }
.section { position: relative; border-bottom: 2px solid var(--ink); }
.section-number { position: absolute; top: 28px; left: 3vw; font: 900 .75rem/1 Arial; letter-spacing: .15em; }
.about { min-height: 760px; display: grid; grid-template-columns: .86fr .7fr 1fr; align-items: center; padding: 110px 5vw 80px; gap: 4vw; background: var(--white); overflow: hidden; }
.about h2, .how h2 { font-size: clamp(4rem, 7vw, 8.2rem); line-height: .78; letter-spacing: -.08em; margin: 0; font-weight: 950; }
.about-copy { align-self: end; padding-bottom: 30px; font-size: 1.15rem; line-height: 1.35; font-weight: 700; }
.about-copy p:last-child { font-family: Georgia, serif; font-style: italic; font-weight: 400; }
.about-coin { width: min(580px, 46vw); transform: rotate(9deg); filter: drop-shadow(18px 22px 0 var(--gold)); }

.manifesto { min-height: 620px; padding: 8vw 5vw; display: flex; flex-direction: column; justify-content: center; background: var(--ink); color: var(--white); text-align: center; border-bottom: 2px solid var(--ink); }
.manifesto p { color: var(--gold); font-weight: 900; letter-spacing: .2em; }
.manifesto h2 { font-size: clamp(4.5rem, 11vw, 11rem); line-height: .78; letter-spacing: -.08em; margin: 0; }
.manifesto em { color: var(--gold); font-family: Georgia, serif; font-weight: 400; }

.how { min-height: 700px; display: grid; grid-template-columns: .78fr 1fr; gap: 5vw; padding: 120px 5vw 80px; background: var(--cream); }
.steps { list-style: none; margin: 0; padding: 0; }
.steps li { display: grid; grid-template-columns: 70px 1fr; padding: 30px 0; border-top: 2px solid var(--ink); }
.steps li:last-child { border-bottom: 2px solid var(--ink); }
.steps span { font-size: .78rem; font-weight: 950; }
.steps strong { font-size: clamp(1.7rem, 3vw, 3rem); letter-spacing: -.05em; }
.steps p { grid-column: 2; margin: 7px 0 0; max-width: 420px; }
.how .button { position: absolute; left: 5vw; bottom: 80px; }

footer { background: var(--gold); min-height: 250px; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 35px; padding: 50px 4vw 30px; position: relative; }
.footer-brand { font-size: clamp(2.8rem, 7vw, 7rem); font-weight: 950; letter-spacing: -.09em; text-decoration: none; }
.footer-links { display: flex; gap: 20px; justify-content: flex-end; font-size: .75rem; font-weight: 950; text-transform: uppercase; }
footer > p { position: absolute; bottom: 12px; left: 4vw; font-size: .66rem; font-weight: 900; }

@media (max-width: 850px) {
  .topbar { min-height: 64px; }
  nav a:not(.nav-cta) { display: none; }
  .nav-cta { padding: 10px 12px; }
  .hero { display: flex; flex-direction: column; min-height: auto; }
  .hero-copy { padding: 58px 6vw 36px; }
  h1 { font-size: clamp(4rem, 22vw, 7rem); margin-bottom: 32px; }
  h1 span { text-shadow: 4px 4px 0 var(--ink); -webkit-text-stroke-width: 2px; }
  .coin-stage { min-height: 480px; border-left: 0; border-top: 2px solid var(--ink); }
  .hero-coin { width: 94%; }
  .coin-halo { width: 78%; box-shadow: 10px 10px 0 var(--ink); }
  .contract-bar { grid-template-columns: 1fr; gap: 2px; }
  .contract-bar button { width: 100%; }
  .about { display: flex; flex-direction: column; align-items: stretch; min-height: 0; padding: 100px 6vw 70px; }
  .about-copy { padding: 0; max-width: 520px; }
  .about-coin { width: 100%; align-self: center; margin-top: 20px; }
  .manifesto { min-height: 480px; }
  .how { display: block; min-height: 0; padding: 100px 6vw 70px; }
  .steps { margin-top: 60px; }
  .how .button { position: static; margin-top: 36px; }
  footer { grid-template-columns: 1fr auto; }
  footer img { width: 58px; }
  .footer-links { grid-column: 1 / -1; justify-content: flex-start; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .ticker-track, .hero-coin { animation: none; }
  .button { transition: none; }
}
