/* Hallmark · macrostructure: Pinned Survey (studied from drone.riotters.com) · nav N2 bar with round line, clock, CA, Buy, X, Pump.fun, Phantom · footer Ft6 giant faded word */
@font-face { font-family: "Switzer"; src: url("/assets/fonts/switzer-300.woff2") format("woff2"); font-weight: 300; font-display: swap; }
@font-face { font-family: "Switzer"; src: url("/assets/fonts/switzer-400.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Switzer"; src: url("/assets/fonts/switzer-500.woff2") format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Geist Mono"; src: url("/assets/fonts/geist-mono-400.woff2") format("woff2"); font-weight: 400; font-display: swap; }

:root {
  --porcelain: #f0f0ee;
  --panel: #e7e6e2;
  --ink: #23272a;
  --faded: #6b7075;
  --pale: #b9bcbe;
  --stain: #6b3a1e;
  --gold: #c9961a;
  --cream: #ede6d6;
  --hair: color-mix(in srgb, var(--ink) 14%, transparent);
  --veil: color-mix(in srgb, var(--porcelain) 80%, transparent);
  --m: 24px;
  --bar: 76px;
}

* { box-sizing: border-box; }
html { background: var(--porcelain); color: var(--ink); -webkit-text-size-adjust: 100%; overflow-x: clip; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
body { margin: 0; font: 400 17px/1.45 "Switzer", "Helvetica Neue", Arial, sans-serif; letter-spacing: -.005em; overflow-x: hidden; }
a { color: inherit; }
button, input { font: inherit; color: inherit; }
.mono { font-family: "Geist Mono", ui-monospace, Menlo, monospace; font-feature-settings: "tnum"; letter-spacing: -.01em; }
:focus-visible { outline: 2px solid var(--stain); outline-offset: 3px; }
.skip { position: fixed; left: var(--m); top: -60px; z-index: 50; background: var(--ink); color: var(--cream); padding: 10px 14px; text-decoration: none; }
.skip:focus { top: 12px; }

/* top bar */
.topbar { position: fixed; inset: 0 0 auto 0; height: var(--bar); z-index: 20; display: grid; grid-template-columns: minmax(250px, 1fr) auto auto minmax(250px, 1fr); align-items: center; gap: 28px; padding: 0 var(--m); background: var(--veil); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.mark { display: flex; align-items: center; gap: 10px; text-decoration: none; min-width: 0; }
.mark-logo { width: 34px; height: 34px; display: block; }
.mark-name { font-weight: 500; font-size: 17px; }
.mark-sub { color: var(--faded); font-size: 15px; white-space: nowrap; }
.roundline { margin: 0; color: var(--faded); font-size: 15px; text-align: center; max-width: 420px; }
.roundline b { color: var(--ink); font-weight: 400; }
.clock { color: var(--faded); font-size: 15px; font-family: "Geist Mono", ui-monospace, monospace; }
.rail { display: flex; align-items: center; justify-content: flex-end; gap: 16px; }
.rail-link, .buy-link, .foot-link, .share-link, .back-link { text-decoration: none; background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat; transition: background-size .45s cubic-bezier(.6, 0, .2, 1); padding-bottom: 2px; }
.rail-link:hover, .buy-link:hover, .foot-link:hover, .share-link:hover, .back-link:hover, .rail-link:focus-visible, .foot-link:focus-visible { background-size: 100% 1px; }
.rail-link { font-size: 15px; color: var(--faded); }
.rail-link[aria-current="page"] { color: var(--ink); }
.ca-chip { border: 0; background: none; padding: 0; cursor: pointer; font-size: 13px; color: var(--ink); }
.ca-chip:hover .ca-text { color: var(--stain); }
.ca-none { font-size: 14px; color: var(--faded); white-space: nowrap; }
.buy-link { font-size: 15px; color: var(--stain); }
.icon-link { display: inline-flex; width: 28px; height: 28px; align-items: center; justify-content: center; color: var(--ink); border-radius: 50%; transition: color .3s; }
.icon-link:hover { color: var(--stain); }
.connect { border: 1px solid var(--hair); background: var(--panel); border-radius: 999px; padding: 9px 18px; font-size: 15px; cursor: pointer; transition: background .3s, color .3s; white-space: nowrap; }
.connect:hover { background: var(--ink); color: var(--cream); }
.connect.is-on { background: none; }

/* globe */
.globe { position: fixed; left: 0; top: 0; width: 100vw; height: 100vh; z-index: 1; touch-action: pan-y; cursor: grab; }
.globe.is-drag { cursor: grabbing; }
.globe.is-picking { cursor: crosshair; }
.globe-ctl { position: fixed; right: var(--m); top: calc(var(--bar) + 16px); z-index: 5; display: flex; flex-direction: column; gap: 6px; }
.zoom-btn { width: 34px; height: 34px; border: 1px solid var(--hair); background: var(--veil); border-radius: 50%; cursor: pointer; font-size: 18px; line-height: 1; }
.zoom-btn:hover { background: var(--ink); color: var(--cream); }
main, .foot { position: relative; z-index: 2; pointer-events: none; }
main a, main button, main input, main label, main .board, main .view, main .spec, .foot a, main .tabs, main .flush-form, main .steps { pointer-events: auto; }

/* hero */
.hero { height: 100vh; min-height: 620px; position: relative; overflow-x: clip; padding: var(--bar) var(--m) var(--m); }
.ghost { position: absolute; left: 0; right: 0; top: 46%; transform: translateY(-50%); margin: 0; text-align: center; font-weight: 300; font-size: 21vw; line-height: .8; letter-spacing: -.06em; color: var(--ink); opacity: .06; white-space: nowrap; z-index: -1; }
.ghost span { display: inline-block; }
.hero-intro { position: absolute; left: var(--m); bottom: var(--m); margin: 0; font-weight: 400; font-size: clamp(22px, 2.3vw, 34px); line-height: 1.15; letter-spacing: -.02em; max-width: 620px; }
.line { display: block; overflow: hidden; }
.line > span { display: inline-block; }
.line.soft { color: var(--faded); }
.tradeline { position: absolute; right: var(--m); bottom: calc(var(--m) + 34px); margin: 0; color: var(--faded); font-size: 14px; max-width: 300px; text-align: right; }
.tradeline .buy { color: var(--gold); }
.tradeline .sell { color: var(--stain); }
.hint { position: absolute; right: var(--m); bottom: var(--m); font-size: 15px; color: var(--faded); text-decoration: none; }

/* statement */
.statement { position: relative; min-height: 100vh; padding: 18vh var(--m) 12vh; border-top: 1px solid var(--hair); }
.statement::after { content: ""; position: absolute; left: 50%; top: 0; bottom: 0; border-left: 1px solid var(--hair); }
.statement-text { margin: 0; max-width: 1200px; font-weight: 300; font-size: clamp(30px, 4.9vw, 72px); line-height: 1.04; letter-spacing: -.035em; position: relative; z-index: 1; }
.statement-text .w { color: var(--pale); transition: color .2s; }
.statement-text .w.is-ink { color: var(--ink); }

/* giant words */
.giant { margin: 0; padding: 0 var(--m); font-weight: 300; font-size: clamp(76px, 15.6vw, 232px); line-height: .9; letter-spacing: -.055em; border-bottom: 1px solid var(--hair); overflow: hidden; }
.giant .ch { display: inline-block; }

/* rules */
.rules { position: relative; padding-top: 12vh; }
.rules-pin { position: relative; height: 100vh; display: flex; align-items: flex-end; }
.arc { position: absolute; left: 50%; top: 8vh; width: min(700px, 80vw); transform: translateX(-50%); overflow: visible; }
.arc-track, .arc-fill { fill: none; stroke-width: 1; }
.arc-track { stroke: var(--hair); stroke-dasharray: 2 7; }
.arc-fill { stroke: var(--stain); stroke-dasharray: 1100; stroke-dashoffset: 1100; }
.hexdots { position: absolute; left: 50%; bottom: calc(33vh - 48px); width: 96px; height: 96px; transform: translateX(-50%); background: var(--porcelain); border-radius: 50%; border: 1px solid var(--hair); }
.stats { display: grid; grid-template-columns: repeat(3, 1fr); width: 100%; border-top: 1px solid var(--hair); height: 33vh; }
.stat { padding: 32px var(--m); border-left: 1px solid var(--hair); }
.stat:first-child { border-left: 0; }
.stat-num { margin: 0; font-size: clamp(30px, 3vw, 44px); color: var(--pale); transition: color .4s; }
.stat-say { margin: 8px 0 0; color: var(--pale); font-size: 16px; max-width: 280px; transition: color .4s; }
.stat.is-on .stat-num { color: var(--ink); }
.stat.is-on .stat-say { color: var(--faded); }

/* flush */
.flush { padding-top: 14vh; }
.flush-grid { display: grid; grid-template-columns: 1fr 1fr; min-height: 70vh; }
.flush-left { padding: 40px var(--m); border-right: 1px solid var(--hair); display: flex; flex-direction: column; justify-content: space-between; gap: 40px; }
.flush-lede { margin: 0; font-size: clamp(20px, 1.9vw, 28px); line-height: 1.25; letter-spacing: -.015em; max-width: 560px; }
.flush-actions { display: flex; gap: 28px; flex-wrap: wrap; }
.line-btn { border: 0; border-bottom: 1px solid var(--ink); background: none; padding: 6px 0; font-size: 18px; cursor: pointer; }
.line-btn:hover { color: var(--stain); border-color: var(--stain); }
.line-btn.is-on { color: var(--stain); border-color: var(--stain); }
.flush-form { padding: 40px var(--m); display: flex; flex-direction: column; gap: 26px; background: var(--veil); }
.field { display: block; border-bottom: 1px solid var(--hair); padding-bottom: 14px; }
.field-label { display: block; color: var(--faded); font-size: 15px; margin-bottom: 6px; }
.field-value { margin: 0; font-size: clamp(22px, 2.2vw, 32px); letter-spacing: -.02em; }
.field-value .mono { font-size: .6em; color: var(--faded); margin-left: 10px; }
.scrawl { width: 100%; border: 0; background: none; font-size: clamp(20px, 2vw, 28px); padding: 4px 0; letter-spacing: -.015em; }
.scrawl::placeholder { color: var(--pale); }
.scrawl:focus-visible { outline: none; }
.field:focus-within { border-color: var(--stain); }
.flush-btn { align-self: flex-start; border: 0; background: var(--ink); color: var(--cream); border-radius: 999px; padding: 16px 30px; font-size: 18px; cursor: pointer; transition: background .3s; }
.flush-btn:hover:not(:disabled) { background: var(--stain); }
.connect:active, .zoom-btn:active, .flush-btn:active:not(:disabled), .line-btn:active { transform: translateY(1px); }
.flush-btn:disabled { background: var(--pale); color: var(--porcelain); cursor: not-allowed; }
.flush-status { margin: 0; min-height: 1.4em; color: var(--faded); }
.flush-status.is-bad { color: var(--stain); }
.share-link { color: var(--stain); font-size: 18px; align-self: flex-start; }

/* standings */
.standings { padding-top: 14vh; }
.tabs { position: relative; display: flex; gap: 40px; padding: 0 var(--m); border-bottom: 1px solid var(--hair); }
.tab { border: 0; background: none; padding: 22px 0 18px; font-size: clamp(28px, 3.9vw, 56px); font-weight: 300; letter-spacing: -.035em; color: var(--pale); cursor: pointer; transition: color .35s; }
.tab.is-on, .tab:hover { color: var(--ink); }
.tab-bar { position: absolute; bottom: -1px; left: 0; height: 3px; width: 1px; transform-origin: 0 0; background: var(--ink); transition: transform .55s cubic-bezier(.6, 0, .2, 1); }
.board-grid { display: grid; grid-template-columns: 1fr 1fr; border-bottom: 1px solid var(--hair); }
.board-lede { margin: 0; padding: 40px var(--m); font-size: clamp(20px, 1.9vw, 28px); line-height: 1.25; letter-spacing: -.015em; border-right: 1px solid var(--hair); }
.board { list-style: none; margin: 0; padding: 12px var(--m) 40px; min-height: 340px; background: var(--veil); }
.board-row { display: grid; grid-template-columns: 44px 1fr auto; gap: 12px; align-items: baseline; padding: 14px 0; border-bottom: 1px solid var(--hair); }
.board-row a { text-decoration: none; }
.board-row a:hover .board-name { color: var(--stain); }
.board-rank { color: var(--faded); font-size: 14px; }
.board-name { font-size: 20px; letter-spacing: -.01em; transition: color .3s; }
.board-meta { display: block; color: var(--faded); font-size: 14px; }
.board-count { font-size: 18px; }
.board-row.is-throne .board-count { color: var(--gold); }
.board-empty { padding: 28px 0; color: var(--faded); font-size: 18px; max-width: 460px; }
.spec { margin: 0; display: grid; grid-template-columns: repeat(5, 1fr); background: var(--veil); }
.spec-row { padding: 22px var(--m) 30px; border-left: 1px solid var(--hair); }
.spec-row:first-child { border-left: 0; }
.spec dt { color: var(--faded); font-size: 15px; }
.spec dd { margin: 6px 0 0; font-size: clamp(20px, 2vw, 30px); }

/* payout */
.payout { padding-top: 14vh; }
.payout-pin { height: 100vh; display: grid; grid-template-columns: 1fr 1fr 1fr; align-items: center; border-bottom: 1px solid var(--hair); background: var(--porcelain); position: relative; z-index: 3; }
.steps { list-style: none; margin: 0; padding: 0 var(--m); }
.step { font-size: clamp(30px, 2.8vw, 40px); font-weight: 300; letter-spacing: -.03em; color: var(--pale); transition: color .4s; line-height: 1.3; cursor: pointer; }
.step.is-on { color: var(--ink); }
.cloud-box { aspect-ratio: 1; background: var(--panel); width: 100%; max-width: 460px; justify-self: center; }
.cloud { width: 100%; height: 100%; display: block; }
.step-copy { padding: 0 var(--m) 0 48px; }
.step-num { margin: 0; font-size: clamp(36px, 3.4vw, 48px); }
.step-unit { margin: 0 0 18px; color: var(--faded); }
.step-say { margin: 0; font-size: 19px; line-height: 1.4; max-width: 400px; }

/* footer */
.foot { padding: 18vh 0 var(--m); background: var(--porcelain); z-index: 3; }
.foot-word { margin: 0; font-weight: 300; font-size: 25vw; line-height: .78; letter-spacing: -.065em; color: var(--ink); opacity: .08; text-align: center; white-space: nowrap; overflow: hidden; }
.foot-row { display: flex; gap: 28px; align-items: baseline; padding: 28px var(--m) 0; border-top: 1px solid var(--hair); flex-wrap: wrap; }
.foot-say { margin: 0 auto 0 0; color: var(--faded); max-width: 560px; }
.foot-link { font-size: 16px; }

/* views: /tile, /leaderboard, /vault */
.view { padding: calc(var(--bar) + 8vh) 0 0; background: var(--porcelain); min-height: 100vh; position: relative; z-index: 3; }
.view-lede { display: grid; grid-template-columns: 1fr 1fr; border-bottom: 1px solid var(--hair); }
.view-lede > * { margin: 0; padding: 32px var(--m) 40px; }
.view-lede > :first-child { border-right: 1px solid var(--hair); font-size: clamp(20px, 1.9vw, 28px); line-height: 1.25; letter-spacing: -.015em; }
.view-nums { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; }
.view-nums > div { padding: 0 0 0 0; }
.view-nums dt { color: var(--faded); font-size: 15px; }
.view-nums dd { margin: 4px 0 0; font-size: clamp(22px, 2.2vw, 34px); }
.view-list { list-style: none; margin: 0; padding: 0 var(--m) 60px; }
.view-row { display: grid; grid-template-columns: 1.2fr 1fr auto; gap: 18px; padding: 16px 0; border-bottom: 1px solid var(--hair); align-items: baseline; }
.view-row .mono { font-size: 15px; }
.view-row a { text-decoration: none; color: var(--stain); }
.view-row a:hover { text-decoration: underline; }
.view-h { margin: 0; padding: 40px var(--m) 12px; font-weight: 300; font-size: clamp(30px, 3.4vw, 48px); letter-spacing: -.03em; border-bottom: 1px solid var(--hair); }
.view-empty { padding: 26px var(--m); color: var(--faded); font-size: 18px; margin: 0; }
.back-link { display: inline-block; margin: 0 var(--m) 18px; color: var(--faded); }
.is-gold { color: var(--gold); }
.is-stain { color: var(--stain); }

.toast { position: fixed; left: 50%; bottom: 28px; transform: translate(-50%, 30px); opacity: 0; background: var(--ink); color: var(--cream); padding: 12px 20px; border-radius: 999px; font-size: 15px; z-index: 40; transition: opacity .3s, transform .3s; pointer-events: none; }
.toast.is-on { opacity: 1; transform: translate(-50%, 0); }

body.is-view .home { display: none; }
body.is-view .globe, body.is-view .globe-ctl { opacity: .35; pointer-events: none; }

@media (max-width: 1100px) {
  .topbar { grid-template-columns: 1fr auto; gap: 14px; }
  .roundline, .clock { display: none; }
  .mark-sub { display: none; }
}
@media (max-width: 760px) {
  :root { --m: 16px; --bar: 60px; }
  .rail { gap: 10px; }
  .rail-link, .ca-none, .ca-chip { display: none; }
  .connect { padding: 7px 13px; font-size: 14px; }
  .globe { height: 100svh; }
  .globe-ctl { display: none; }
  .ghost { font-size: 34vw; top: 40%; left: -6vw; right: -6vw; }
  .hero { min-height: 560px; }
  .hero-intro { right: var(--m); bottom: 64px; font-size: 24px; }
  .tradeline { left: var(--m); right: var(--m); transform: none; text-align: left; bottom: var(--m); max-width: none; }
  .hint { display: none; }
  .statement { padding-top: 12vh; min-height: auto; }
  .statement::after { display: none; }
  .rules-pin { height: auto; display: block; padding-top: 260px; }
  .arc { top: 30px; width: 92vw; }
  .hexdots { top: 150px; bottom: auto; }
  .stats { grid-template-columns: 1fr; height: auto; }
  .stat { border-left: 0; border-bottom: 1px solid var(--hair); padding: 22px var(--m); }
  .stat .stat-num { color: var(--ink); }
  .stat .stat-say { color: var(--faded); }
  .flush-grid, .board-grid, .view-lede { grid-template-columns: 1fr; }
  .flush-left, .board-lede, .view-lede > :first-child { border-right: 0; border-bottom: 1px solid var(--hair); }
  .tabs { gap: 22px; }
  .spec { grid-template-columns: 1fr 1fr; }
  .spec-row { border-left: 0; border-top: 1px solid var(--hair); }
  .payout-pin { height: auto; grid-template-columns: 1fr; gap: 24px; padding: 28px 0 48px; }
  .steps { display: flex; gap: 22px; }
  .cloud-box { max-width: none; width: calc(100% - 32px); }
  .step-copy { padding: 0 var(--m); }
  .view-row { grid-template-columns: 1fr auto; }
  .view-row > :nth-child(2) { display: none; }
  .view-nums { grid-template-columns: 1fr 1fr; gap: 16px; }
  .foot-row { flex-direction: column; gap: 14px; }
}
@media (max-width: 380px) {
  .mark { overflow: hidden; }
  .mark-name { display: none; }
  .rail { gap: 8px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
  .statement-text .w { color: var(--ink); }
  .stat .stat-num { color: var(--ink); }
  .stat .stat-say { color: var(--faded); }
}
