@import url('https://fonts.googleapis.com/css2?family=UnifrakturCook:wght@700&display=swap');

:root {
  --ink: #171206;
  --gold: #c89300;
  --gold-light: #f4cf67;
  --cream: #f7ead0;
  --paper: #f2dfbd;
  --line: rgba(23, 18, 6, 0.18);
  --max: 1400px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 74% 10%, rgba(239, 187, 39, .18), transparent 32rem),
    linear-gradient(180deg, #f8ecd6 0%, #f1ddb9 100%);
  font-family: "UnifrakturCook", Georgia, "Times New Roman", serif;
  min-height: 100vh;
  overflow-x: hidden;
}

::selection { background: var(--ink); color: var(--cream); }
a { color: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }

.grain {
  position: fixed;
  inset: 0;
  z-index: 20;
  pointer-events: none;
  opacity: .12;
  mix-blend-mode: multiply;
  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='.86' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.36'/%3E%3C/svg%3E");
}

.site-header {
  width: min(calc(100% - 40px), var(--max));
  margin: 0 auto;
  min-height: 88px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
  position: relative;
  z-index: 5;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  text-decoration: none;
  font-weight: 700;
  letter-spacing: .03em;
  text-transform: none;
  font-size: 21px;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  color: #fff8e7;
  background: var(--ink);
  font-family: inherit;
  font-size: 26px;
  line-height: 1;
}

.nav { display: flex; gap: 30px; }
.nav a {
  text-decoration: none;
  text-transform: none;
  font-size: 17px;
  font-weight: 700;
  letter-spacing: .03em;
  position: relative;
}
.nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 100%;
  bottom: -7px;
  height: 1px;
  background: var(--ink);
  transition: right .25s ease;
}
.nav a:hover::after { right: 0; }

.hero {
  width: min(calc(100% - 40px), var(--max));
  margin: 0 auto;
  min-height: calc(100vh - 88px);
  display: grid;
  grid-template-columns: minmax(0, 1.18fr) minmax(420px, .82fr);
  align-items: center;
  gap: clamp(28px, 4vw, 72px);
  padding: 48px 0 90px;
}

.hero-copy { position: relative; z-index: 3; min-width: 0; }
.eyebrow, .section-kicker {
  font-size: 16px;
  line-height: 1.2;
  letter-spacing: .03em;
  font-weight: 700;
  text-transform: none;
}
.eyebrow { display: flex; align-items: center; gap: 10px; margin-bottom: 24px; }
.eyebrow span { width: 34px; height: 1px; background: var(--ink); }

h1, h2 {
  margin: 0;
  font-family: inherit;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .015em;
  line-height: .92;
}
h1 { font-size: clamp(66px, 6.5vw, 112px); max-width: 100%; }
h1 em {
  display: block;
  font-size: .84em;
  font-style: normal;
  color: transparent;
  -webkit-text-stroke: 1.5px var(--ink);
}

.hero-lead {
  max-width: 680px;
  margin: 30px 0 26px;
  font-size: clamp(26px, 2.2vw, 33px);
  line-height: 1.35;
  font-weight: 700;
}

.socials {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0 0 20px;
}
.social-btn {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  min-height: 54px;
  padding: 0 18px;
  border: 1px solid var(--ink);
  background: rgba(255, 248, 232, .42);
  text-decoration: none;
  text-transform: none;
  font-size: 16px;
  letter-spacing: .03em;
  font-weight: 700;
  transition: transform .2s ease, background .2s ease, color .2s ease;
}
.social-btn:hover { transform: translateY(-3px); background: var(--ink); color: var(--cream); }
.social-btn img { width: 21px; height: 21px; object-fit: contain; }
.social-btn:hover img { filter: invert(1); }

.contract {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 13px;
  width: 100%;
  max-width: 720px;
  min-height: 66px;
  background: var(--ink);
  color: var(--cream);
  padding: 8px 8px 8px 18px;
}
.contract-label {
  color: var(--gold-light);
  font-weight: 700;
  font-size: 18px;
  letter-spacing: .03em;
}
.contract code {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 13px;
}
.contract button {
  height: 48px;
  border: 0;
  padding: 0 16px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--ink);
  background: var(--gold-light);
  cursor: pointer;
  font-family: inherit;
  font-size: 17px;
  font-weight: 700;
  text-transform: none;
  letter-spacing: .03em;
}
.contract button:hover { background: #fff0aa; }
.contract button svg { width: 17px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

.hero-art {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 0;
  min-height: 620px;
  overflow: clip;
}
.hero-art img {
  position: relative;
  z-index: 2;
  width: min(100%, 680px);
  max-width: 100%;
  aspect-ratio: 1;
  object-fit: contain;
  filter: drop-shadow(0 36px 48px rgba(91, 59, 0, .22));
  transform-origin: center center;
  animation: float 6s ease-in-out infinite;
}
.coin-glow,
.orbit { display: none; }

.section {
  width: min(calc(100% - 40px), var(--max));
  margin: 0 auto;
  border-top: 1px solid var(--line);
  padding: 110px 0;
  display: grid;
  grid-template-columns: .85fr 1.15fr;
  gap: 90px;
}
.section-kicker { margin: 0 0 30px; color: rgba(23,18,6,.7); }
h2 { font-size: clamp(58px, 7vw, 104px); }
.lore-copy { max-width: 650px; }
.lore-copy p {
  margin: 0 0 26px;
  font-size: clamp(24px, 2.2vw, 30px);
  line-height: 1.4;
}
.lore-copy blockquote {
  margin: 44px 0 0;
  padding: 22px 0 0;
  border-top: 1px solid var(--ink);
  font-family: inherit;
  font-size: clamp(32px, 3.4vw, 48px);
  line-height: 1.15;
}

.manifesto {
  overflow: hidden;
  padding: 32px 0;
  color: var(--cream);
  background: var(--ink);
  display: flex;
  justify-content: center;
  gap: clamp(28px, 6vw, 96px);
  white-space: nowrap;
  font-family: inherit;
  font-size: clamp(24px, 3.2vw, 46px);
}
.manifesto span:not(:last-child)::after { content: "✦"; margin-left: clamp(28px, 6vw, 96px); color: var(--gold-light); font-style: normal; }

.accordion { border-top: 1px solid var(--ink); }
details { border-bottom: 1px solid var(--ink); }
summary {
  cursor: pointer;
  list-style: none;
  position: relative;
  padding: 25px 48px 25px 0;
  font-size: clamp(24px, 2.1vw, 30px);
  font-weight: 700;
}
summary::-webkit-details-marker { display: none; }
summary::after {
  content: "+";
  position: absolute;
  right: 8px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 28px;
  font-weight: 700;
}
details[open] summary::after { content: "−"; }
details p { margin: -4px 48px 26px 0; max-width: 620px; line-height: 1.4; font-size: 22px; color: rgba(23,18,6,.8); }

footer {
  width: min(calc(100% - 40px), var(--max));
  margin: 0 auto;
  padding: 38px 0 46px;
  border-top: 1px solid var(--line);
}
.footer-top { display: flex; justify-content: space-between; align-items: center; gap: 20px; }
.footer-top > a { font-size: 16px; font-weight: 700; text-transform: none; letter-spacing: .03em; text-decoration: none; }
.disclaimer {
  max-width: 940px;
  margin: 38px 0 22px;
  font-size: 15px;
  line-height: 1.45;
  text-transform: none;
  letter-spacing: .02em;
  color: rgba(23,18,6,.68);
}
.copyright { margin: 0; font-size: 15px; font-weight: 700; text-transform: none; letter-spacing: .03em; }

#toast {
  position: fixed;
  z-index: 30;
  left: 50%;
  bottom: 24px;
  transform: translate(-50%, 30px);
  padding: 12px 16px;
  color: var(--cream);
  background: var(--ink);
  font-size: 16px;
  font-weight: 700;
  opacity: 0;
  pointer-events: none;
  transition: .25s ease;
}
#toast.show { opacity: 1; transform: translate(-50%, 0); }

.reveal { opacity: 0; transform: translateY(20px); transition: opacity .75s ease, transform .75s ease; }
.reveal.visible { opacity: 1; transform: none; }

@keyframes float { 0%,100% { transform: translateY(0) rotate(-.3deg); } 50% { transform: translateY(-13px) rotate(.35deg); } }
@keyframes spin { to { transform: rotate(360deg); } }

@media (max-width: 1180px) and (min-width: 921px) {
  .hero {
    grid-template-columns: minmax(0, 1.1fr) minmax(360px, .9fr);
    gap: 28px;
  }
  h1 { font-size: clamp(62px, 6.2vw, 88px); }
  .hero-lead { font-size: clamp(23px, 2.2vw, 28px); }
  .hero-art img { width: min(100%, 560px); }
}

@media (max-width: 920px) {
  .hero { grid-template-columns: 1fr; padding-top: 46px; gap: 16px; }
  .hero-art { grid-row: 1; min-height: auto; justify-content: center; }
  .hero-art img { width: min(100%, 680px); }
  .hero-copy { margin-top: -14px; }
  .section { grid-template-columns: 1fr; gap: 55px; }
  .manifesto { justify-content: flex-start; padding-left: 22px; animation: marquee 14s linear infinite; }
  @keyframes marquee { to { transform: translateX(-30%); } }
}

@media (max-width: 620px) {
  .site-header, .hero, .section, footer { width: min(calc(100% - 28px), var(--max)); }
  .site-header { min-height: 74px; }
  .brand > span:last-child { display: none; }
  .footer-brand > span:last-child { display: inline; }
  .nav { gap: 18px; }
  .hero { min-height: 0; padding: 26px 0 72px; }
  .hero-art img { width: 100%; max-width: 560px; }
  h1 { font-size: clamp(54px, 16vw, 78px); }
  .hero-lead { margin-top: 23px; font-size: clamp(22px, 7vw, 30px); }
  .social-btn { flex: 1 1 calc(50% - 10px); justify-content: center; }
  .contract { grid-template-columns: auto minmax(0,1fr); }
  .contract button { grid-column: 1 / -1; width: 100%; justify-content: center; }
  .section { padding: 78px 0; }
  h2 { font-size: clamp(48px, 15vw, 72px); }
  details p { font-size: 20px; }
  .footer-top { align-items: flex-start; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
}
