:root {
  --ink: #070605;
  --ink-2: #0c0a08;
  --line: #2a241d;
  --paper: #efe7d6;
  --paper-ink: #1b1712;
  --text: #ede4d3;
  --muted: #a39884;
  --dim: #8f8573;
  --neon: #ff6a2b;
  --amber: #f2b65a;
  --stamp: #a3241a;
  --serif: 'Instrument Serif', Georgia, serif;
  --caps: 'Oswald', 'Arial Narrow', sans-serif;
  --mono: 'Courier Prime', 'Courier New', monospace;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--ink); color: var(--text); font-family: var(--serif); font-size: 19px; line-height: 1.5; }
a { color: var(--amber); }
a:hover { color: #ffd9a0; }
[hidden] { display: none !important; }
.grain { position: fixed; inset: 0; width: 100%; height: 100%; pointer-events: none; opacity: 0.16; mix-blend-mode: overlay; z-index: 50; }

.top { max-width: 1240px; margin: 0 auto; padding: 22px 20px; display: flex; flex-wrap: wrap; gap: 16px; justify-content: space-between; align-items: center;
  font-family: var(--caps); font-weight: 300; font-size: 13px; letter-spacing: 0.32em; text-transform: uppercase; }
.top nav { display: flex; flex-wrap: wrap; gap: 24px; }
.top a { color: var(--muted); text-decoration: none; }
.brand { color: var(--text) !important; font-weight: 700; letter-spacing: 0.5em; }

.hero { background: #000; }
.letterbox { height: 40px; background: #000; }
.frame { position: relative; min-height: 560px; padding: 64px 20px 96px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 18px; text-align: center;
  background: radial-gradient(ellipse 55% 60% at 50% 40%, rgba(196,72,28,0.42), rgba(60,16,8,0.35) 45%, #060403 78%); }
.kicker { margin: 0; font-family: var(--caps); font-weight: 300; font-size: 12px; letter-spacing: 0.6em; text-transform: uppercase; color: var(--muted); }
.neon { margin: 0; font-family: 'Yellowtail', cursive; font-size: clamp(96px, 17vw, 210px); line-height: 0.9; color: #ffe7c2; transform: rotate(-4deg);
  text-shadow: 0 0 6px #fff3de, 0 0 18px var(--neon), 0 0 42px var(--neon), 0 0 90px var(--neon), 0 0 160px rgba(255,90,40,0.6);
  animation: flicker 7s infinite; }
@keyframes flicker { 0%, 92%, 100% { opacity: 1; } 93% { opacity: 0.55; } 94% { opacity: 1; } 96% { opacity: 0.7; } 97% { opacity: 1; } }
@media (prefers-reduced-motion: reduce) { .neon { animation: none; } html { scroll-behavior: auto; } }
h1 { margin: 8px 0 0; font-weight: 400; font-size: clamp(38px, 6vw, 76px); line-height: 1; }
h1 em, h2 em { color: var(--amber); }
.lede { margin: 0; max-width: 540px; font-size: 21px; color: #c4b8a2; }
.subtitle { position: absolute; left: 0; right: 0; bottom: 24px; margin: 0; padding: 0 20px; font-family: var(--mono); font-size: 17px; color: #fff6c8; text-shadow: 0 2px 4px #000; }

.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 14px 26px; border: 1px solid transparent; border-radius: 0;
  font-family: var(--caps); font-weight: 500; font-size: 14px; letter-spacing: 0.26em; text-transform: uppercase; text-decoration: none; cursor: pointer; }
.btn.primary { background: var(--neon); color: #120806; }
.btn.primary:hover { background: #ff8550; color: #120806; }
.btn.dark { background: var(--paper-ink); color: var(--paper); }
.btn.dark:hover { background: #2e2820; color: var(--paper); }
.btn.ghost { background: transparent; color: var(--paper-ink); border-color: #9c907c; }
.btn.full { width: 100%; }
.btn:disabled { opacity: 0.5; cursor: wait; }
.btn:focus-visible, input:focus-visible, .linkish:focus-visible { outline: 2px solid var(--neon); outline-offset: 3px; }

.stats { max-width: 1240px; margin: 0 auto; padding: 40px 20px; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 28px; border-bottom: 1px solid #1e1a15; }
.stat { display: flex; flex-direction: column; gap: 4px; border-left: 1px solid #3a3229; padding-left: 18px; }
.stat .label { font-family: var(--caps); font-size: 11px; letter-spacing: 0.4em; text-transform: uppercase; color: var(--dim); }
.stat .value { font-size: 46px; line-height: 1; }
.stat .note { font-style: italic; color: var(--muted); font-size: 16px; }

.bar { max-width: 1240px; margin: 0 auto; padding: 112px 20px; display: flex; flex-wrap: wrap; gap: 64px; align-items: flex-start; }
.bar-intro { flex: 1 1 320px; min-width: 0; display: flex; flex-direction: column; gap: 16px; }
.scene { margin: 0; font-family: var(--caps); font-size: 12px; letter-spacing: 0.5em; text-transform: uppercase; color: var(--neon); }
h2 { margin: 0; font-weight: 400; font-size: clamp(44px, 6vw, 76px); line-height: 0.95; }
.muted { margin: 0; color: var(--muted); font-size: 20px; }
.shots { list-style: none; margin: 12px 0 0; padding: 0; display: flex; flex-direction: column; gap: 12px; font-size: 22px; }
.shots span { display: inline-block; width: 90px; font-family: var(--caps); font-size: 11px; letter-spacing: 0.4em; color: var(--dim); }

.ticket { position: relative; flex: 1 1 380px; min-width: 0; max-width: 460px; margin: 0 auto; background: var(--paper); color: var(--paper-ink); padding: 36px 28px 32px;
  font-family: var(--mono); font-size: 16px; box-shadow: 0 40px 80px rgba(0,0,0,0.7); transform: rotate(-1deg); display: flex; flex-direction: column; gap: 16px; }
.ticket-head { margin: 0; text-align: center; font-weight: 700; letter-spacing: 0.3em; }
.ticket-sub { margin: -10px 0 4px; text-align: center; font-size: 13px; color: #5e5446; word-break: break-all; }
.step { display: flex; flex-direction: column; gap: 14px; border-top: 2px dashed #9c907c; padding-top: 16px; }
.script { margin: 0; line-height: 1.6; }
.fine { margin: 0; font-size: 13px; color: #5e5446; line-height: 1.5; }
.fine a, .ticket a:not(.btn) { color: #8a3a12; }
.wallet-list { display: flex; flex-direction: column; gap: 10px; }
.field { display: flex; flex-direction: column; gap: 6px; font-size: 14px; color: #5e5446; }
.field input { font: inherit; font-size: 28px; color: var(--paper-ink); background: transparent; border: 0; border-bottom: 2px solid var(--paper-ink); padding: 6px 0; width: 100%; }
.line { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px; padding: 10px 0; border-bottom: 1px dashed #c4b8a2; }
.line.total { font-weight: 700; font-size: 18px; border-bottom: 0; }
.strike { text-decoration: line-through; }
.pay-toggle { display: grid; grid-template-columns: repeat(auto-fit, minmax(0, 1fr)); gap: 0; border: 1px solid var(--paper-ink); }
.pay-toggle button { min-height: 44px; border: 0; background: transparent; color: var(--paper-ink); font: inherit; font-weight: 700; letter-spacing: 0.08em; cursor: pointer; }
.pay-toggle button[aria-checked="true"] { background: var(--paper-ink); color: var(--paper); }
.link-box { display: flex; flex-direction: column; gap: 10px; border-top: 1px dashed #c4b8a2; padding-top: 14px; }
.alert { background: #f6dcc9; border: 1px solid #c2410c; padding: 10px 12px; font-size: 13px; line-height: 1.5; }
.error { margin: 0; color: #8f1d14; font-size: 14px; line-height: 1.5; }
.linkish { align-self: center; background: none; border: 0; padding: 8px; font: inherit; font-size: 13px; color: #5e5446; text-decoration: underline; cursor: pointer; }
#order-swap { display: flex; flex-direction: column; gap: 14px; }
.stamp { position: absolute; right: 20px; top: 150px; transform: rotate(-12deg); border: 3px solid var(--stamp); color: var(--stamp); padding: 4px 14px;
  font-family: var(--caps); font-weight: 700; font-size: 28px; letter-spacing: 0.12em; opacity: 0.85; pointer-events: none; }

.foot { max-width: 1240px; margin: 0 auto; padding: 48px 20px 64px; border-top: 1px solid #1e1a15; display: flex; flex-direction: column; gap: 10px;
  font-family: var(--mono); font-size: 14px; color: #9c917e; }
.foot p { margin: 0; overflow-wrap: anywhere; }
.the-end { font-family: var(--caps) !important; font-weight: 300; letter-spacing: 0.6em; text-transform: uppercase; color: var(--dim); text-align: center; margin-bottom: 20px !important; }

/* ---------- scenes 02-04 ---------- */
.scene-block { max-width: 1240px; margin: 0 auto; padding: 96px 20px; display: flex; flex-direction: column; gap: 40px; border-top: 1px solid #1e1a15; }
.scene-head { display: flex; flex-direction: column; gap: 14px; max-width: 720px; }
.tiers { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 0; border-top: 1px solid #3a3229; border-bottom: 1px solid #3a3229; }
.tier { padding: 22px 20px; display: flex; flex-direction: column; gap: 6px; border-left: 1px solid #3a3229; }
.tier:first-child { border-left: 0; }
.tier .name { font-family: var(--caps); font-size: 12px; letter-spacing: 0.4em; text-transform: uppercase; color: var(--dim); }
.tier .rounds { font-size: 44px; line-height: 1; }
.tier .rounds small { font-size: 18px; font-style: italic; color: var(--muted); }
.tier .need { font-family: var(--mono); font-size: 14px; color: var(--muted); }
.tier.current { background: rgba(255,106,43,0.08); }
.tier.current .name { color: var(--neon); }
.lounge { display: flex; flex-wrap: wrap; gap: 40px; align-items: flex-start; }
.ledger, .counter { flex: 1 1 340px; min-width: 0; background: var(--paper); color: var(--paper-ink); padding: 28px 24px; font-family: var(--mono); font-size: 15px; box-shadow: 0 30px 60px rgba(0,0,0,0.6); display: flex; flex-direction: column; gap: 4px; }
.ledger { max-width: 420px; transform: rotate(-0.6deg); }
.counter { gap: 16px; }
.tabs { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); border-bottom: 2px solid var(--paper-ink); }
.tabs button { min-height: 44px; padding: 0 4px; font-size: 13px; background: none; border: 0; font: inherit; font-weight: 700; color: #5e5446; cursor: pointer; }
.tabs button[aria-selected="true"] { color: var(--paper-ink); box-shadow: inset 0 -4px 0 var(--neon); }
.action-form { display: flex; flex-direction: column; gap: 14px; }
.field input::placeholder { color: #9c907c; }
.row-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.row-actions .btn { flex: 1 1 140px; }
.ok { margin: 0; color: #2f5d1e; font-size: 14px; }
.partner-list { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 20px; }
.partner { border: 1px solid #3a3229; padding: 22px; display: flex; flex-direction: column; gap: 10px; }
.partner h3 { margin: 0; font-weight: 400; font-size: 30px; }
.partner .meta { font-family: var(--mono); font-size: 14px; color: var(--muted); display: flex; flex-direction: column; gap: 4px; }
.meter { height: 6px; background: #2a241d; }
.meter > span { display: block; height: 6px; background: var(--neon); }
.dev { font-family: var(--mono); font-size: 15px; color: var(--muted); max-width: 760px; }
.dev summary { cursor: pointer; color: var(--text); font-family: var(--caps); letter-spacing: 0.2em; text-transform: uppercase; font-size: 13px; padding: 8px 0; }
.dev code { color: var(--amber); overflow-wrap: anywhere; }
.proposals { display: flex; flex-direction: column; gap: 20px; }
.proposal { border: 1px solid #3a3229; padding: 24px; display: flex; flex-direction: column; gap: 14px; }
.proposal-top { display: flex; flex-wrap: wrap; gap: 10px; justify-content: space-between; align-items: flex-start; }
.proposal-top .chip { flex: 0 0 auto; }
.proposal h3 { margin: 0; font-weight: 400; font-size: 30px; line-height: 1.1; flex: 1 1 300px; min-width: 0; }
.chip { font-family: var(--caps); font-size: 11px; letter-spacing: 0.3em; text-transform: uppercase; padding: 6px 10px; border: 1px solid currentColor; }
.chip.active { color: var(--amber); }
.chip.passed { color: #8bd17c; }
.chip.rejected, .chip.no_quorum { color: var(--dim); }
.proposal .body { margin: 0; color: #c4b8a2; white-space: pre-line; }
.tally { display: flex; flex-direction: column; gap: 8px; font-family: var(--mono); font-size: 14px; }
.tally-row { display: grid; grid-template-columns: 70px minmax(0, 1fr) auto; gap: 12px; align-items: center; }
.tally-row .tbar { height: 10px; background: #2a241d; }
.tally-row .tbar span { display: block; height: 10px; }
.tally-row.yes .tbar span { background: var(--neon); }
.tally-row.no .tbar span { background: #8f8573; }
.tally-row.abstain .tbar span { background: #4a4238; }
.vote-row { display: flex; flex-wrap: wrap; gap: 10px; }
.vote-row .btn { flex: 1 1 120px; min-height: 46px; }
.btn.outline { background: transparent; color: var(--text); border-color: #5a4f42; }
.btn.outline:hover { border-color: var(--neon); color: var(--text); }
.proposal .fine { color: var(--dim); }

/* ---------- hero CTAs + the house menu ---------- */
.hero-ctas { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; }
.menu-scene { max-width: 1240px; margin: 0 auto; padding-block: 104px; padding-left: max(20px, env(safe-area-inset-left, 0px)); padding-right: max(20px, env(safe-area-inset-right, 0px)); display: flex; flex-wrap: wrap; gap: 56px; align-items: center; }
.menu-intro { flex: 1 1 340px; min-width: 0; display: flex; flex-direction: column; gap: 18px; }
.without-with { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 0; border-top: 1px solid #3a3229; border-bottom: 1px solid #3a3229; margin-top: 8px; }
.without-with > div { padding: 18px 18px 18px 0; display: flex; flex-direction: column; gap: 6px; }
.without-with > div + div { border-left: 1px solid #3a3229; padding-left: 18px; }
.without-with p { margin: 0; font-size: 18px; line-height: 1.45; color: #c4b8a2; }
.ww-label { font-family: var(--caps); font-size: 11px; letter-spacing: 0.4em; text-transform: uppercase; color: var(--dim); }
.ww-label.on { color: var(--neon); }
.menu-card { flex: 1 1 420px; min-width: 0; max-width: 540px; margin: 0 auto; background: #15110d; border: 1px solid #4a4035; outline: 1px solid #4a4035; outline-offset: -8px; padding: 44px 36px 32px; display: flex; flex-direction: column; gap: 6px; box-shadow: 0 40px 80px rgba(0,0,0,0.6); }
.menu-head { margin: 0; text-align: center; font-family: var(--caps); font-weight: 500; font-size: 15px; letter-spacing: 0.5em; color: var(--amber); }
.menu-sub { margin: 0 0 18px; text-align: center; font-style: italic; color: var(--dim); font-size: 16px; }
.menu-row { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 16px; align-items: baseline; padding: 14px 0; border-bottom: 1px dotted #4a4035; }
.menu-row .item { display: block; font-size: 26px; line-height: 1.15; color: var(--text); text-decoration: none; }
.menu-row .item:hover { color: var(--amber); }
.menu-row .desc { display: block; margin-top: 4px; font-size: 16px; line-height: 1.4; color: var(--muted); }
.menu-row .price { font-family: var(--mono); font-size: 14px; color: var(--amber); text-align: right; white-space: nowrap; }
.menu-foot { margin: 16px 0 0; font-family: var(--mono); font-size: 12px; line-height: 1.55; color: var(--dim); text-align: center; }
@media (max-width: 480px) { .menu-card { padding: 34px 22px 26px; } .menu-row { grid-template-columns: 1fr; gap: 6px; } .menu-row .price { text-align: left; } }
@media (max-width: 560px) { .without-with > div + div { border-left: 0; padding-left: 0; border-top: 1px solid #3a3229; } }

/* ---------- status pill + Scene 05 ---------- */
.status-pill { display: inline-flex; align-items: center; gap: 10px; padding: 8px 16px; border: 1px solid #5a4f42; border-radius: 999px; font-family: var(--mono); font-size: 13px; color: #ede4d3; text-decoration: none; background: rgba(7,6,5,0.55); }
.status-pill:hover { border-color: var(--amber); color: #ede4d3; }
.status-pill .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--amber); box-shadow: 0 0 0 4px rgba(242,182,90,0.18); animation: pulse 2.4s infinite; }
@keyframes pulse { 50% { box-shadow: 0 0 0 8px rgba(242,182,90,0); } }
@media (prefers-reduced-motion: reduce) { .status-pill .dot { animation: none; } }
.status-grid { display: flex; flex-wrap: wrap; gap: 48px; align-items: flex-start; }
.progress { flex: 1 1 360px; min-width: 0; }
.honest { flex: 1.2 1 420px; min-width: 0; display: flex; flex-direction: column; gap: 14px; }
.col-label { margin: 0 0 14px; font-family: var(--caps); font-size: 12px; letter-spacing: 0.4em; text-transform: uppercase; color: var(--dim); }
.steps { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; position: relative; }
.step { display: grid; grid-template-columns: 132px minmax(0, 1fr); gap: 16px; padding: 14px 0; border-top: 1px solid #2a241d; }
.step:last-child { border-bottom: 1px solid #2a241d; }
.step .state { align-self: start; justify-self: start; font-family: var(--caps); font-size: 11px; letter-spacing: 0.22em; text-transform: uppercase; padding: 5px 9px; border: 1px solid currentColor; line-height: 1; margin-top: 4px; white-space: nowrap; }
.step.done .state { color: #8bd17c; }
.step.now .state { color: var(--amber); }
.step.next .state { color: #c4b8a2; }
.step.later .state { color: var(--dim); }
.step .t { margin: 0; font-size: 22px; line-height: 1.2; }
.step .d { margin: 4px 0 0; font-size: 16px; line-height: 1.45; color: var(--muted); }
.step.next .t, .step.later .t { color: #c4b8a2; }
.note { border: 1px solid #3a3229; padding: 20px 22px; display: flex; flex-direction: column; gap: 10px; }
.note h3 { margin: 0; font-weight: 400; font-size: 26px; line-height: 1.15; }
.note p { margin: 0; font-size: 17px; line-height: 1.5; color: #c4b8a2; }
.note .k { display: block; font-family: var(--caps); font-size: 11px; letter-spacing: 0.3em; text-transform: uppercase; color: var(--dim); margin-bottom: 2px; }
.note p + p .k { color: var(--neon); }
.updated { margin: 0; font-family: var(--mono); font-size: 13px; color: var(--dim); }
@media (max-width: 480px) { .step { grid-template-columns: 1fr; gap: 8px; } }

/* ---------- logo mark ---------- */
.brand { display: inline-flex; align-items: center; gap: 12px; }
.mark { width: 42px; height: 42px; color: #ffe7c2; filter: drop-shadow(0 0 3px rgba(255,243,222,0.8)) drop-shadow(0 0 10px var(--neon)); flex: 0 0 auto; }
.mark.big { width: 72px; height: 72px; filter: drop-shadow(0 0 4px rgba(255,243,222,0.8)) drop-shadow(0 0 18px var(--neon)) drop-shadow(0 0 36px var(--neon)); }
.foot-mark { display: flex; justify-content: center; margin-bottom: 14px; }

/* ---------- official contract / anti-scam ---------- */
.official { border-bottom: 1px solid #1e1a15; background: #0c0a08; }
.official-inner { max-width: 1240px; margin: 0 auto; padding-block: 26px; padding-left: max(20px, env(safe-area-inset-left, 0px)); padding-right: max(20px, env(safe-area-inset-right, 0px)); display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 6px 24px; align-items: baseline; }
.official-label { margin: 0; font-family: var(--caps); font-size: 12px; letter-spacing: 0.4em; text-transform: uppercase; color: var(--neon); }
.official-addr { margin: 0; font-family: var(--mono); font-size: 18px; color: var(--text); overflow-wrap: anywhere; display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.official-warn { grid-column: 2; margin: 0; font-size: 17px; line-height: 1.5; color: var(--muted); max-width: 760px; }
.copy-addr { min-height: 36px; padding: 0 14px; background: transparent; border: 1px solid #5a4f42; color: var(--text); font-family: var(--caps); font-size: 12px; letter-spacing: 0.2em; text-transform: uppercase; cursor: pointer; }
.copy-addr:hover { border-color: var(--amber); }
.follow { color: #c4b8a2; }
@media (max-width: 640px) { .official-inner { grid-template-columns: 1fr; } .official-warn { grid-column: 1; } }
