:root { --bg: #000; --fg: #fff; --mute: #9a9a9a; --line: #fff; --shadow: 6px 6px 0 #fff; }
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--fg); font: 16px/1.55 'Space Grotesk', system-ui, sans-serif; }
h1, h2, h3, .display { font-family: 'Bangers', Impact, sans-serif; font-weight: 400; letter-spacing: .04em; line-height: 1; margin: 0; }
a { color: inherit; }
canvas, .px { image-rendering: pixelated; image-rendering: crisp-edges; }
.wrap { max-width: 1080px; margin: 0 auto; padding: 0 16px; }

/* ticker */
.ticker { border-bottom: 3px solid var(--line); overflow: hidden; white-space: nowrap; background: #fff; color: #000; }
.ticker div { display: inline-block; padding: 7px 0; font: 700 12px/1 'Space Grotesk', sans-serif; letter-spacing: .12em; text-transform: uppercase; animation: slide 40s linear infinite; }
.ticker span { margin: 0 22px; }
@keyframes slide { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .ticker div { animation: none; } }

/* nav */
nav { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 16px 0; }
.logo { font: 400 30px/1 'Bangers', Impact, sans-serif; letter-spacing: .05em; text-decoration: none; }
.who { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 14px; }
.who img { width: 32px; height: 32px; border: 2px solid #fff; }

/* buttons */
.btn { display: inline-block; cursor: pointer; text-decoration: none; text-align: center; background: #fff; color: #000; border: 3px solid #fff;
  font: 400 22px/1 'Bangers', Impact, sans-serif; letter-spacing: .06em; padding: 12px 22px; box-shadow: 5px 5px 0 #6b6b6b; transition: transform .08s, box-shadow .08s; }
.btn:hover { transform: translate(2px, 2px); box-shadow: 3px 3px 0 #6b6b6b; }
.btn:active { transform: translate(5px, 5px); box-shadow: none; }
.btn:focus-visible, input:focus-visible, textarea:focus-visible { outline: 3px dashed #fff; outline-offset: 3px; }
.btn.big { font-size: 34px; padding: 18px 40px; }
.btn.ghost { background: #000; color: #fff; box-shadow: none; font-size: 18px; padding: 8px 14px; }
.btn[disabled] { opacity: .5; cursor: wait; }

/* hero */
.hero { text-align: center; padding: 36px 0 56px; }
.hero h1 { font-size: clamp(64px, 15vw, 168px); }
.hero .proverb { font-size: clamp(18px, 3vw, 26px); margin: 10px 0 28px; }
.hero .pfp { width: min(300px, 70vw); aspect-ratio: 1; border: 4px solid #fff; box-shadow: var(--shadow); display: block; margin: 0 auto 34px; }
.hero .sub { color: var(--mute); margin-top: 18px; font-size: 14px; }
.count { display: inline-block; margin-top: 18px; border: 2px solid #fff; padding: 4px 12px; font-weight: 700; font-size: 13px; letter-spacing: .1em; text-transform: uppercase; }
.alert { border: 3px solid #fff; padding: 10px 14px; margin: 0 auto 20px; max-width: 520px; font-weight: 700; }

/* punk strip */
.strip { display: grid; grid-template-columns: repeat(auto-fill, minmax(96px, 1fr)); gap: 10px; }
.strip canvas { width: 100%; aspect-ratio: 1; border: 3px solid #fff; display: block; }

/* sections */
section { padding: 56px 0; border-top: 3px solid #fff; }
section h2 { font-size: clamp(40px, 7vw, 68px); margin-bottom: 22px; }
.grid3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 18px; }
.card { border: 3px solid #fff; padding: 20px; box-shadow: var(--shadow); background: #000; }
.card .k { color: var(--mute); font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
.card .v { font: 400 44px/1.05 'Bangers', Impact, sans-serif; letter-spacing: .04em; margin-top: 6px; }
.card p { margin: 8px 0 0; color: #cfcfcf; font-size: 14px; }
.bar { display: flex; height: 44px; border: 3px solid #fff; margin: 22px 0 14px; }
.bar div { display: flex; align-items: center; justify-content: center; font: 400 20px/1 'Bangers', Impact, sans-serif; letter-spacing: .06em; overflow: hidden; }
.bar .team { background: #fff; color: #000; }
.bar .market { background: repeating-linear-gradient(45deg, #000 0 8px, #2b2b2b 8px 16px); }
.legend { list-style: none; padding: 0; margin: 0; font-weight: 700; }
.legend li::before { content: '・'; }
.warn { border: 3px dashed #fff; padding: 14px 16px; margin-top: 22px; font-size: 14px; }
ol.steps { margin: 0; padding: 0; list-style: none; counter-reset: s; display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
ol.steps li { counter-increment: s; border: 3px solid #fff; padding: 18px; }
ol.steps li::before { content: counter(s); display: block; font: 400 52px/1 'Bangers', Impact, sans-serif; }
footer { border-top: 3px solid #fff; padding: 26px 0 40px; color: var(--mute); font-size: 13px; }

/* apply */
.panel { max-width: 560px; margin: 28px auto 64px; border: 4px solid #fff; padding: 26px; box-shadow: var(--shadow); }
.panel h1 { font-size: 54px; margin-bottom: 6px; }
.me { display: flex; align-items: center; gap: 12px; margin: 18px 0 22px; padding: 12px; border: 3px solid #fff; }
.me img, .me .ph { width: 48px; height: 48px; border: 2px solid #fff; background: #fff; flex: none; }
.me b { display: block; }
.me span { color: var(--mute); font-size: 14px; }
label { display: block; font-weight: 700; font-size: 13px; letter-spacing: .1em; text-transform: uppercase; margin: 18px 0 6px; }
input, textarea { width: 100%; background: #000; color: #fff; border: 3px solid #fff; padding: 12px; font: 16px 'Space Grotesk', monospace; border-radius: 0; }
textarea { min-height: 90px; resize: vertical; }
.hint { color: var(--mute); font-size: 13px; margin: 6px 0 0; }
.msg { margin-top: 16px; font-weight: 700; min-height: 1.5em; }
.done { border: 3px solid #fff; background: #fff; color: #000; padding: 14px; margin-bottom: 8px; font-weight: 700; }
.todo { margin: 20px 0 0; padding: 0; list-style: none; }
.todo li { margin: 6px 0; }
.row { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; margin-top: 22px; }
[hidden] { display: none !important; }

/* early-presence form */
.lede { max-width: 720px; font-size: 18px; margin: 0 0 22px; }
.clock { border: 3px solid #fff; padding: 8px 12px; margin-top: 14px; font-weight: 700; letter-spacing: .06em; font-variant-numeric: tabular-nums; }
.tasks { list-style: none; margin: 0; padding: 0; border: 3px solid #fff; }
.tasks li { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 12px; border-bottom: 2px solid #fff; }
.tasks li:last-child { border-bottom: 0; }
.tasks .btn { flex: none; min-width: 84px; }
.btn.is-done { background: #fff; color: #000; }
.ticket { border: 3px solid #fff; background: #fff; color: #000; padding: 16px; margin-bottom: 8px; }
.ticket .k { font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
.ticket .v { font: 400 56px/1 'Bangers', Impact, sans-serif; letter-spacing: .04em; margin: 4px 0 6px; }
.ticket .v small { font-size: 24px; }
.ticket label { margin-top: 8px; }
.ticket input { background: #fff; color: #000; border-color: #000; }
.ticket .hint { color: #444; }
.ticket .btn { border-color: #000; background: #000; color: #fff; box-shadow: none; }
.ticket .btn:focus-visible, .ticket input:focus-visible { outline-color: #000; }
.copyrow { display: flex; gap: 8px; }
.copyrow input { min-width: 0; }
.panel .warn { margin-top: 26px; }

/* surprise box */
.intro { margin: 10px 0 0; color: #cfcfcf; }
.ticket-top { display: flex; justify-content: space-between; align-items: flex-end; gap: 12px; }
.ticket-top canvas { width: 72px; height: 72px; flex: none; border: 3px solid #000; }
.boxhero { width: 132px; height: 132px; display: block; margin: 0 0 16px; border: 3px solid #fff; }
.boxart { width: 180px; height: 180px; display: block; margin: 0 0 22px; border: 4px solid #fff; box-shadow: var(--shadow); }

/* tasks with Open + Verify */
.tasks .acts { display: flex; gap: 8px; flex: none; }
.tasks .btn[disabled] { opacity: .35; cursor: not-allowed; }
.tasks span.btn { cursor: default; }
.tasks span.btn:hover { transform: none; }
#tasksCount { color: var(--mute); }
input[disabled] { opacity: .45; cursor: not-allowed; }
.ticket .big { font: 400 26px/1.1 'Bangers', Impact, sans-serif; letter-spacing: .04em; margin: 12px 0 2px; }
.boxhero { border: 0; }
canvas.boxart { background: #000; }
@media (max-width: 520px) { .tasks li { flex-direction: column; align-items: stretch; } .tasks .acts .btn { flex: 1; } }

/* surprise popup */
.pop { position: fixed; inset: 0; z-index: 50; display: grid; place-items: center; padding: 16px; background: rgba(0, 0, 0, .86); overflow: auto; }
.pop-card { position: relative; width: min(460px, 100%); border: 4px solid #fff; background: #000; box-shadow: 8px 8px 0 #fff; padding: 26px 22px 28px; text-align: center; animation: pop-in .55s cubic-bezier(.2, 1.6, .4, 1) both; }
.pop-card h2 { font-size: clamp(54px, 14vw, 84px); margin: 6px 0 4px; }
.pop-card p { margin: 0 0 20px; font-size: 18px; }
.pop-card .btn.big { font-size: clamp(20px, 5.4vw, 28px); padding: 16px 18px; width: 100%; }
.pop-x { position: absolute; top: 6px; right: 8px; background: none; border: 0; color: #fff; font: 700 30px/1 'Space Grotesk', sans-serif; cursor: pointer; padding: 4px 10px; }
.pop-x:focus-visible { outline: 3px dashed #fff; }
.gift { position: relative; width: 220px; height: 220px; margin: 0 auto; }
.gift canvas { position: absolute; inset: 20px; width: 180px; height: 180px; animation: gift-bob 2.4s ease-in-out infinite; }
.rays { position: absolute; inset: -10px; border-radius: 50%; opacity: .5;
  background: repeating-conic-gradient(from 0deg, rgba(255, 255, 255, .55) 0 9deg, transparent 9deg 30deg);
  -webkit-mask: radial-gradient(circle, #000 20%, transparent 70%); mask: radial-gradient(circle, #000 20%, transparent 70%);
  animation: rays-spin 14s linear infinite; }
.spark { position: absolute; width: 22px; height: 22px; background: #fff;
  clip-path: polygon(50% 0, 60% 40%, 100% 50%, 60% 60%, 50% 100%, 40% 60%, 0 50%, 40% 40%);
  animation: twinkle 1.6s ease-in-out infinite; }
.spark.s1 { top: 6px; left: 22px; }
.spark.s2 { top: 30px; right: 10px; width: 30px; height: 30px; animation-delay: .4s; }
.spark.s3 { bottom: 26px; left: 4px; width: 16px; height: 16px; animation-delay: .8s; }
.spark.s4 { bottom: 8px; right: 30px; animation-delay: 1.1s; }
.spark.s5 { top: 96px; right: -4px; width: 14px; height: 14px; animation-delay: .2s; }
@keyframes pop-in { from { transform: scale(.3) rotate(-8deg); opacity: 0; } to { transform: none; opacity: 1; } }
@keyframes gift-bob { 0%, 100% { transform: translateY(0) rotate(-2deg); } 50% { transform: translateY(-10px) rotate(2deg); } }
@keyframes rays-spin { to { transform: rotate(360deg); } }
@keyframes twinkle { 0%, 100% { transform: scale(.2); opacity: 0; } 50% { transform: scale(1); opacity: 1; } }
@media (prefers-reduced-motion: reduce) { .pop-card, .gift canvas, .rays, .spark { animation: none; } }
.panel section { border: 0; padding: 0; }
