@font-face { font-family: 'Pixelta'; src: url('../fonts/Pixelta.ttf') format('truetype'); font-display: block; }
@font-face { font-family: 'Zaldwin Pixel'; src: url('../fonts/ZaldwinPixel.ttf') format('truetype'); font-display: block; }
:root { --bg:#0a0a0c; --panel:#121216; --panel2:#16161c; --line:#2a2a33; --line2:#3a3a46; --ink:#e9e9e4; --mute:#8d8c86; --gold:#f4b728; --gold2:#b9872a; --red:#b3212f;
        --head:'Pixelta', serif; --body:'Zaldwin Pixel', monospace; --gap: clamp(18px, 2vw, 32px); --ease: cubic-bezier(.22,1,.36,1); }
* { box-sizing: border-box; }
html { background: #000; scroll-behavior: auto; overflow-x: hidden; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--body); font-size: 18px; line-height: 1.55; -webkit-font-smoothing: none; }
canvas, img, video { image-rendering: pixelated; image-rendering: crisp-edges; }
a { color: var(--gold); text-decoration: none; } a:hover { color: #fff3b0; }
h1, h2, h3, h4 { font-family: var(--head); font-weight: normal; margin: 0 0 12px; color: var(--gold); line-height: 1; letter-spacing: 0; }
p { margin: 0 0 12px; } .fine { color: var(--mute); font-size: 15px; } .gold { color: var(--gold); }
code { font-family: var(--body); font-size: 15px; word-break: break-all; }
.btn { display: inline-block; padding: 10px 18px; border: 3px solid var(--gold); color: var(--gold); font-family: var(--body); font-size: 17px; background: #0d0d10; cursor: pointer; box-shadow: 4px 4px 0 #000; }
.btn:hover { background: var(--gold); color: #101218; } .btn.small { padding: 6px 12px; font-size: 15px; }

/* ---- nav: pixel panel, readable over anything */
.nav { position: fixed; z-index: 40; left: 0; right: 0; top: 0; display: flex; align-items: center; justify-content: space-between; padding: 12px var(--gap); pointer-events: none; }
.nav .brand-slot { width: 40px; height: 40px; }
.nav .links { pointer-events: auto; display: flex; align-items: center; padding: 3px; background: rgba(10,10,14,.94); border: 3px solid #dfe4ea; box-shadow: 4px 4px 0 #000; }
.nav .links a { display: block; padding: 7px 14px; line-height: 1; font-size: 16px; color: var(--ink); border-right: 2px solid #26262e; }
.nav .links a:last-child { border-right: 0; }
.nav .links a:hover { background: var(--gold); color: #101218; }
body:not(.intro-ready) .nav, body:not(.intro-ready) .brand { opacity: 0; } .intro-ready .nav, .intro-ready .brand { animation: reveal-down .6s steps(6) .1s both; }
.brand { position: fixed; z-index: 45; left: var(--gap); top: 12px; width: 40px; height: 40px; display: block; filter: drop-shadow(3px 3px 0 #000); }
.brand img { width: 100%; height: 100%; display: block; }
/* phone menu: a pixel "Menu" button at the top right, the same links stacked in a panel */
.burger { display: none; position: fixed; z-index: 46; right: var(--gap); top: 12px; height: 40px; padding: 0 14px; background: rgba(10,10,14,.94); border: 3px solid #dfe4ea; box-shadow: 4px 4px 0 #000; color: var(--ink); font-family: var(--body); font-size: 16px; cursor: pointer; }
body:not(.intro-ready) .burger { opacity: 0; } .intro-ready .burger { animation: reveal-down .6s steps(6) .1s both; }
.menu-panel { position: fixed; z-index: 50; right: 8px; top: -700px; width: min(420px, calc(100vw - 16px)); padding: 64px 32px 32px; background: rgba(10,10,14,.97); border: 3px solid #dfe4ea; box-shadow: 6px 6px 0 #000;
              display: flex; flex-direction: column; gap: 22px; opacity: 0; pointer-events: none; transition: top .5s steps(10), opacity .3s; }
.menu-panel.open { top: 8px; opacity: 1; pointer-events: auto; }
.menu-panel nav { display: flex; flex-direction: column; gap: 6px; }
.menu-panel nav a { font-family: var(--head); font-size: 38px; line-height: 1.15; color: var(--ink); } .menu-panel nav a:hover { color: var(--gold); }
.menu-panel .social a { font-size: 16px; }
.menu-close { position: absolute; top: 12px; right: 12px; background: none; border: 2px solid var(--line2); color: var(--ink); font-family: var(--body); font-size: 16px; padding: 6px 12px; cursor: pointer; }

/* ---- intro: gate walk (pixel). Sits above the house; the last screen of it fades out over the kings wall. */
.intro { position: relative; z-index: 2; height: 380vh; pointer-events: none; }
/* dvh: on phones the stage always fills exactly what is visible, whatever the browser bar is doing */
.stage { position: sticky; top: 0; height: 100vh; height: 100dvh; overflow: hidden; background: #04050e; pointer-events: auto; }
.stage.lit { pointer-events: none; }
.stage canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.stage .title { position: absolute; left: clamp(24px, 5vw, 72px); right: 16px; bottom: clamp(28px, 6vh, 64px); z-index: 2; opacity: 0; transform: translateY(16px); transition: opacity .35s steps(5), transform .35s steps(5); pointer-events: none; }
.stage.show-title .title { opacity: 1; transform: none; pointer-events: auto; }
.stage .title h1 { font-size: clamp(38px, 8vw, 128px); margin: 0; color: var(--gold); text-shadow: 4px 4px 0 #000; }
.stage .title p { font-family: var(--head); font-size: clamp(18px, 2.2vw, 30px); color: var(--ink); margin: 8px 0 0; text-shadow: 3px 3px 0 #000; }
.stage .hint { display: flex; align-items: center; gap: 10px; margin-top: 18px; font-size: 15px; letter-spacing: 3px; color: #9aa3b0; }
.stage .hint i { width: 10px; height: 10px; background: var(--gold); animation: bob 1s steps(4) infinite; }
/* touch screens: no wheel to walk with, so a button walks you in (and one more walks you on past the manifesto) */
.stage .enter { display: none; margin-top: 18px; }
.stage .cont { display: none; position: absolute; z-index: 3; left: 50%; bottom: 20px; transform: translateX(-50%); opacity: 0; pointer-events: none; transition: opacity .3s; }
@media (hover: none) and (pointer: coarse) {
  .stage .hint { display: none; } .stage .enter { display: inline-block; }
  .stage .edge { display: none; } .stage .cont { display: inline-block; }
  .stage.show-manifesto .cont { opacity: 1; pointer-events: auto; }
}
.manifesto { position: absolute; left: 33%; top: 50%; z-index: 2; width: min(640px, 90vw); max-height: calc(100% - 40px); overflow: auto; transform: translate(-50%, -50%);
             border: 40px solid transparent; border-image: url('../ui/manifesto_frame.png') 20 fill / 40px / 0 round; padding: 0 6px 6px;
             opacity: 0; transition: opacity .4s steps(6); pointer-events: none; filter: drop-shadow(8px 8px 0 rgba(0,0,0,.7)); }
.stage.show-manifesto .manifesto { opacity: 1; pointer-events: auto; }
.manifesto .head { display: flex; justify-content: center; margin: -4px 0 12px; }
.manifesto .n { font-family: var(--head); color: var(--gold); font-size: clamp(24px, 2.4vw, 34px); letter-spacing: 0; text-shadow: 3px 3px 0 #000; padding-bottom: 4px; }
.manifesto p { font-size: clamp(15px, 1.3vw, 18px); line-height: 1.55; margin: 0 0 12px; color: #dfe4ea; }
.manifesto .slogan { font-family: var(--head); font-size: clamp(22px, 2.2vw, 30px); color: var(--gold); margin: 14px 0 0; }
.manifesto .sigrow { display: flex; align-items: center; justify-content: space-between; margin-top: 6px; }
.manifesto .sig { color: #9aa3b0; font-size: 16px; }
.manifesto .seal { width: 48px; height: 48px; margin: -6px -4px -10px 0; }
.stage .edge { position: absolute; z-index: 2; left: 50%; bottom: 24px; transform: translateX(-50%); font-size: 14px; letter-spacing: 3px; color: #9aa3b0; opacity: 0; transition: opacity .3s; }
.stage.show-manifesto .edge { opacity: 1; }

/* ---- site: mosaic (pixel) */
.house { position: relative; z-index: 1; background: var(--bg); color: var(--ink); margin-top: -100vh; margin-top: -100dvh; }
.house section { opacity: 0; transform: translateY(14px); transition: opacity .5s steps(6), transform .5s steps(6); }
.house section.in, .house .foot.in { opacity: 1; transform: none; }
.house section.wallwrap { opacity: 1; transform: none; }

.wallwrap { position: relative; height: 100vh; height: 100dvh; overflow: hidden; cursor: crosshair; }
.wall { position: absolute; inset: 0; display: grid; grid-template-columns: repeat(var(--cols, 20), 1fr); grid-auto-rows: var(--cell, 1fr); gap: 2px; padding: 2px; }
.wall canvas { width: 100%; height: 100%; object-fit: cover; opacity: .34; transition: opacity .25s, transform .25s; cursor: pointer; }
.wall canvas.lit { opacity: 1; }
.wall canvas.hot { opacity: 1; transform: scale(1.12); z-index: 2; outline: 3px solid var(--gold); }
.wall canvas.swap { animation: blink .16s steps(2) 1; }
@keyframes blink { 50% { opacity: 0; } }
.spot { position: absolute; inset: 0; pointer-events: none; background: radial-gradient(260px circle at var(--x, 50%) var(--y, 50%), rgba(0,0,0,0) 0%, rgba(10,10,12,.45) 60%, rgba(10,10,12,.7) 100%); }
.beams { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; z-index: 4; mix-blend-mode: screen; image-rendering: pixelated; }
.center { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; pointer-events: none; z-index: 3; }
.center b { font-family: var(--head); font-weight: normal; font-size: min(22vw, 280px); line-height: .9; letter-spacing: 0; color: #fff; text-shadow: 0 20px 80px rgba(0,0,0,.9), 8px 8px 0 #000; white-space: nowrap; }
.center b small { font-size: .22em; color: var(--gold); margin-left: .12em; vertical-align: baseline; text-shadow: 4px 4px 0 #000; }
.center p { font-family: var(--head); margin: 18px 0 0; font-size: clamp(20px, 2.4vw, 32px); color: var(--gold); text-shadow: 4px 4px 0 #000; }
.center .s { font-size: 14px; letter-spacing: 3px; color: #d9d8d2; margin-top: 18px; text-shadow: 2px 2px 0 #000; }
.tip { position: absolute; z-index: 4; pointer-events: none; padding: 5px 8px; background: #0d0d10; border: 2px solid var(--gold); box-shadow: 3px 3px 0 #000; color: var(--gold); font-family: var(--head); font-size: 15px; line-height: 1; white-space: nowrap; transform: translate(14px, 14px); opacity: 0; transition: opacity .12s; }
.tip.on { opacity: 1; }

.below { max-width: 1100px; margin: 0 auto; padding: 90px 32px 70px; display: grid; grid-template-columns: 1.2fr 1fr; gap: 60px; align-items: start; }
.below h2 { font-size: clamp(36px, 4.4vw, 56px); margin: 0 0 20px; color: var(--ink); }
.below h2 span { color: var(--gold); }
.below p { color: #cfcfca; margin: 0 0 18px; }
.cta { display: flex; flex-wrap: wrap; gap: 12px; }
.cta a { display: inline-block; padding: 10px 18px; border: 3px solid var(--gold); background: var(--gold); color: #101218; font-size: 17px; box-shadow: 4px 4px 0 #000; }
.cta a.alt { background: #0d0d10; color: var(--gold); }
.cta a:hover { background: #fff3b0; color: #101218; } .cta a.alt:hover { background: #1f1a08; color: #fff3b0; }
.list { border: 3px solid var(--line2); background: var(--panel); box-shadow: 6px 6px 0 #000; }
.list div { display: flex; justify-content: space-between; gap: 16px; padding: 12px 16px; border-bottom: 2px solid var(--line); }
.list div:last-child { border-bottom: 0; }
.list div span { color: var(--mute); } .list div b { font-weight: normal; color: var(--gold); text-align: right; }
@media (max-width: 900px) { .below { grid-template-columns: 1fr; padding: 70px 24px 40px; } }

.text { max-width: 760px; margin: 0 auto; padding: 64px 24px 24px; border-top: 2px solid var(--line); }
.label { font-family: var(--head); color: var(--gold); font-size: 30px; margin-bottom: 16px; }
.text p { color: #cfcfca; } .text .fine { color: var(--mute); font-size: 15px; }
.text .sig { font-family: var(--head); font-size: 26px; color: var(--ink); margin-top: 22px; }
.sets { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin: 20px 0 16px; }
.sets > div { padding: 18px 20px; border: 3px solid var(--line2); background: var(--panel); box-shadow: 6px 6px 0 #000; }
.sets b { font-family: var(--head); font-weight: normal; font-size: 32px; color: var(--gold); display: block; }
.sets span { color: var(--mute); font-size: 15px; display: block; margin-bottom: 8px; }
.sets p { font-size: 16px; margin: 0; }
@media (max-width: 600px) { .sets { grid-template-columns: 1fr; } }
.link { background: none; border: 0; border-bottom: 2px solid var(--gold); color: var(--gold); font-family: var(--body); font-size: 17px; padding: 0; cursor: pointer; }
.rtables { display: none; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 20px; }
.rtables.open { display: grid; }
.rtable { border: 2px solid var(--line); padding: 12px; background: var(--panel); }
.rtable h4 { margin: 0 0 8px; font-size: 22px; color: var(--gold); }
.rtable table { width: 100%; border-collapse: collapse; font-size: 14px; }
.rtable td { padding: 3px 4px; border-bottom: 1px solid var(--line); color: #cfcfca; } .rtable td:last-child { text-align: right; color: var(--mute); white-space: nowrap; }
.rtable tr.rare td { color: var(--gold); } .rtable .bar { height: 4px; background: #3a3020; }
@media (max-width: 600px) { .rtables { grid-template-columns: 1fr; } }
.steps { padding-left: 22px; margin: 0; } .steps li { margin-bottom: 14px; color: #cfcfca; } .steps b { color: var(--ink); }
.forms { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; max-width: 940px; }
@media (max-width: 800px) { .forms { grid-template-columns: 1fr; } }
.form { display: flex; flex-direction: column; gap: 14px; }
.form label { display: flex; flex-direction: column; gap: 6px; color: var(--mute); font-size: 15px; }
.form input:not([type=checkbox]) { font-family: var(--body); font-size: 17px; padding: 9px 12px; background: #0d0d10; color: var(--ink); border: 3px solid var(--line2); outline: none; box-shadow: 4px 4px 0 #000; }
.form input:focus { border-color: var(--gold); }
.form .chk { flex-direction: row; align-items: flex-start; gap: 10px; } .form .chk input { margin-top: 5px; }
.form .btn { align-self: flex-start; }
.result { min-height: 24px; font-size: 16px; } .result.ok { color: #7dffa6; } .result.err { color: #ff9385; }
.ticket { display: inline-block; margin-top: 8px; padding: 10px 14px; border: 3px solid var(--gold); color: var(--gold); font-size: 22px; letter-spacing: 2px; box-shadow: 4px 4px 0 #000; }
.prov { border: 3px solid var(--line2); background: var(--panel); box-shadow: 6px 6px 0 #000; }
.prov > div { display: grid; grid-template-columns: 200px 1fr; gap: 12px; padding: 12px 16px; border-bottom: 2px solid var(--line); } .prov > div:last-child { border-bottom: 0; }
.prov span { color: var(--mute); } .prov code { color: #cfcfca; }
@media (max-width: 600px) { .prov > div { grid-template-columns: 1fr; } }
details { border-bottom: 2px solid var(--line); padding: 12px 0; } summary { cursor: pointer; color: var(--ink); font-size: 18px; } summary:hover { color: var(--gold); } details p { margin: 10px 0 4px; color: var(--mute); }
.foot { text-align: center; color: var(--mute); font-size: 15px; padding: 36px 24px 48px; opacity: 0; transition: opacity .5s steps(6); border-top: 2px solid var(--line); margin-top: 24px; }
.foot .links { display: flex; justify-content: center; gap: 24px; margin-bottom: 14px; }
.foot p { margin: 0 0 6px; }

/* ---- whitelist phase */
.phase { max-width: 1100px; margin: 0 auto; padding: 80px 32px 40px; }
.stepper { display: grid; grid-template-columns: repeat(3, 1fr); border: 3px solid var(--line2); background: var(--panel); box-shadow: 6px 6px 0 #000; margin-bottom: 44px; }
.stepper .step { display: flex; align-items: center; gap: 14px; padding: 14px 18px; border-right: 3px solid var(--line2); color: var(--mute); }
.stepper .step:last-child { border-right: 0; }
.stepper .step b { font-family: var(--head); font-weight: normal; font-size: 30px; line-height: 1; width: 40px; height: 40px; display: flex; align-items: center; justify-content: center; border: 3px solid var(--line2); color: var(--mute); }
.stepper .step span { display: block; font-family: var(--head); font-size: 22px; line-height: 1; color: var(--ink); white-space: nowrap; }
.stepper .step i { display: block; font-style: normal; font-size: 14px; color: var(--mute); margin-top: 4px; }
.stepper .step.on { background: #17140a; }
.stepper .step.on b { border-color: var(--gold); background: var(--gold); color: #101218; }
.stepper .step.on span { color: var(--gold); } .stepper .step.on i { color: #cfb46a; }
.phase-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }
.phase-text h2 { font-size: clamp(36px, 4.4vw, 56px); color: var(--ink); margin: 0 0 16px; }
.phase-text p { color: #cfcfca; }
.facts { border: 3px solid var(--line2); background: var(--panel); box-shadow: 6px 6px 0 #000; margin: 20px 0 16px; }
.facts div { display: flex; justify-content: space-between; gap: 16px; padding: 10px 14px; border-bottom: 2px solid var(--line); }
.facts div:last-child { border-bottom: 0; }
.facts span { color: var(--mute); } .facts b { font-weight: normal; color: var(--gold); text-align: right; }
.phase-forms { display: flex; flex-direction: column; gap: 24px; }
.card { padding: 20px 22px 16px; border: 3px solid var(--line2); background: var(--panel); box-shadow: 6px 6px 0 #000; }
.card .label { font-size: 26px; margin-bottom: 12px; }
.card .fine { margin: 6px 0 0; }
.sets .jerusalem { border-color: var(--gold2); }
@media (max-width: 900px) { .phase { padding: 60px 24px 30px; } .stepper { grid-template-columns: 1fr; } .stepper .step { border-right: 0; border-bottom: 3px solid var(--line2); } .stepper .step:last-child { border-bottom: 0; } .phase-grid { grid-template-columns: 1fr; } }

/* ---- soon + details (flat site) */
.soon { max-width: 1100px; margin: 0 auto; padding: 90px 32px 30px; }
.soon-head { max-width: 720px; margin-bottom: 40px; }
.soon-head h2 { font-size: clamp(48px, 7vw, 96px); color: var(--gold); margin: 0 0 16px; text-shadow: 6px 6px 0 #000; }
.soon-head p { color: #cfcfca; font-size: 19px; margin: 0 0 22px; }
.stepper .step i { white-space: normal; }
.stepper.five { grid-template-columns: repeat(5, 1fr); }
.stepper.five .step { flex-direction: column; align-items: flex-start; gap: 10px; }
.stepper.five .step span { white-space: normal; }
.maskwrap { position: relative; width: 144px; height: 144px; margin-bottom: 8px; }
.maskeye { position: relative; z-index: 1; width: 144px; height: 144px; filter: drop-shadow(8px 8px 0 #000); display: block; }
.maskwrap .glow { position: absolute; z-index: 2; left: 0; top: 0; width: 44px; height: 44px; margin: -22px 0 0 -22px; border-radius: 50%; pointer-events: none;
  background: radial-gradient(circle, rgba(255,243,176,.95) 0%, rgba(244,183,40,.7) 28%, rgba(244,183,40,.25) 55%, rgba(244,183,40,0) 72%); mix-blend-mode: screen; filter: blur(3px);
  animation: eyepulse 2.6s ease-in-out infinite; transition: transform .12s steps(2), opacity .08s; }
.maskwrap .glow.off { opacity: 0; }
@keyframes eyepulse { 0%, 100% { opacity: .55; transform: scale(.9); } 50% { opacity: 1; transform: scale(1.15); } }
.note { max-width: 760px; margin: 0 auto; padding: 10px 24px 70px; }
.note p { color: #cfcfca; }
.note .sig { font-family: var(--head); font-size: 22px; color: var(--gold); margin-top: 16px; }
@media (max-width: 900px) { .stepper.five { grid-template-columns: 1fr; } .maskwrap, .maskeye { width: 108px; height: 108px; } .maskwrap .glow { width: 34px; height: 34px; margin: -17px 0 0 -17px; } }
.details { max-width: 1100px; margin: 0 auto; padding: 30px 32px 70px; }
.dcard { border: 3px solid var(--gold2); background: var(--panel); box-shadow: 8px 8px 0 #000; }
.dcard-head { display: flex; align-items: center; gap: 16px; padding: 18px 22px; border-bottom: 3px solid var(--line2); background: #17140a; }
.dcard-head img { width: 48px; height: 48px; }
.dcard-head b { display: block; font-family: var(--head); font-weight: normal; font-size: 30px; color: var(--gold); line-height: 1; }
.dcard-head span { display: block; color: var(--mute); font-size: 15px; margin-top: 4px; }
.dgrid { display: grid; grid-template-columns: repeat(4, 1fr); }
.dgrid div { padding: 18px 20px; border-right: 2px solid var(--line); border-bottom: 2px solid var(--line); }
.dgrid div:nth-child(4n) { border-right: 0; }
.dgrid b { display: block; font-family: var(--head); font-weight: normal; font-size: 36px; color: var(--ink); line-height: 1; margin-bottom: 6px; }
.dgrid span { color: var(--mute); font-size: 15px; }
.dlist div { display: flex; justify-content: space-between; gap: 24px; padding: 12px 20px; border-bottom: 2px solid var(--line); }
.dlist div:last-child { border-bottom: 0; }
.dlist span { color: var(--mute); white-space: nowrap; } .dlist b { font-weight: normal; color: var(--gold); text-align: right; }
@media (max-width: 900px) { .dgrid { grid-template-columns: 1fr 1fr; } .dgrid div { min-width: 0; padding: 16px 14px; } .dgrid div:nth-child(4n) { border-right: 2px solid var(--line); } .dgrid div:nth-child(2n) { border-right: 0; } .dgrid b { font-size: 28px; overflow-wrap: anywhere; } .dlist div { flex-direction: column; gap: 4px; } .dlist b { text-align: left; } .dcard-head { padding: 16px 14px; } .details { padding: 20px 16px 50px; } .soon { padding: 70px 16px 20px; } .note { padding: 10px 16px 50px; } }

.bigname { padding: 20px 0 0; overflow: hidden; }
.bigname canvas { display: block; width: 100%; height: auto; }
.house section.bigname { opacity: 1; transform: none; }
/* ---- social buttons with pixel glyphs (mask-image: one PNG, any colour) */
.social { display: flex; flex-wrap: wrap; gap: 12px; }
.social a { display: inline-flex; align-items: center; gap: 10px; padding: 9px 16px; border: 3px solid var(--gold); background: #0d0d10; color: var(--gold); font-size: 17px; box-shadow: 4px 4px 0 #000; }
.social a:hover { background: var(--gold); color: #101218; }
.social.small { justify-content: center; margin-bottom: 18px; }
.social.small a { padding: 6px 12px; font-size: 15px; border-width: 2px; box-shadow: 3px 3px 0 #000; }
.ico { display: inline-block; width: 24px; height: 24px; background: var(--g) center / contain no-repeat; image-rendering: pixelated; }
.social a:hover .ico { background-image: var(--d); }
.social.small .ico { width: 18px; height: 18px; }
.nav .links a.soc { padding: 5px 10px; } .nav .links a.soc .ico { width: 20px; height: 20px; display: block; background-image: var(--i); } .nav .links a.soc:hover .ico { background-image: var(--d); }
.ico-x { --g: url('../ui/ico_x_gold.png'); --d: url('../ui/ico_x_dark.png'); --i: url('../ui/ico_x_ink.png'); }
.ico-discord { --g: url('../ui/ico_discord_gold.png'); --d: url('../ui/ico_discord_dark.png'); --i: url('../ui/ico_discord_ink.png'); }
.ico-telegram { --g: url('../ui/ico_telegram_gold.png'); --d: url('../ui/ico_telegram_dark.png'); --i: url('../ui/ico_telegram_ink.png'); }
/* technical terms: gold, dotted underline, plain-words tooltip on hover / tap */
.t { position: relative; color: var(--gold); border-bottom: 2px dotted var(--gold2); cursor: help; outline: none; }
/* display:none until shown: a hidden tooltip must not take layout space (it used to widen the page on phones) */
.t::after { content: attr(data-tip); display: none; position: absolute; left: 0; bottom: calc(100% + 8px); z-index: 5; width: max-content; max-width: 320px; padding: 8px 12px; background: #0d0d10; color: var(--ink); border: 2px solid var(--gold); box-shadow: 4px 4px 0 #000; font-family: var(--body); font-size: 14px; line-height: 1.45; white-space: normal; pointer-events: none; }
.t:hover::after, .t:focus::after { display: block; }
/* phones: the tapped term explains itself in a sheet pinned to the bottom of the screen */
@media (max-width: 600px) { .t::after { position: fixed; left: 12px; right: 12px; bottom: 12px; top: auto; width: auto; max-width: none; z-index: 60; font-size: 15px; padding: 12px 14px; } }
@keyframes reveal-down { from { opacity: 0; transform: translateY(-18px); } to { opacity: 1; transform: translateY(0); } }
@keyframes bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(8px); } }
@media (max-width: 900px) {
  .nav .links { display: none; } .burger { display: block; }
  .manifesto { left: 50%; border-width: 30px; border-image-width: 30px; }
  .manifesto p { font-size: 14px; line-height: 1.5; margin-bottom: 10px; } .manifesto .n { font-size: 22px; } .manifesto .slogan { font-size: 20px; margin-top: 10px; } .manifesto .sig { font-size: 14px; }
  .wall { --cols: 6; } .center p { padding: 0 20px; font-size: 18px; }
  .soon-head h2 { text-shadow: 4px 4px 0 #000; }
}
@media (prefers-reduced-motion: reduce) { * { animation-duration: .01ms !important; transition-duration: .01ms !important; } }
