/* Crate: a container dock at night. Asphalt, safety orange, painted steel, stencil type. */
:root { --bg: #121314; --bg2: #191b1d; --steel: #5d6670; --steel2: #3a4047; --ink: #ece9e2; --dim: #9a9da1; --line: rgba(236, 233, 226, .12); --hot: #ff6a13; --hot2: #ffb000; --win: #ffd23d;
  --head: "Big Shoulders Display", Impact, sans-serif; --stencil: "Big Shoulders Stencil Display", Impact, sans-serif; --mono: "IBM Plex Mono", ui-monospace, monospace; }
* { box-sizing: border-box; margin: 0; padding: 0 }
html { background: var(--bg); color: var(--ink); font: 15px/1.55 var(--mono); -webkit-font-smoothing: antialiased }
a { color: inherit; text-decoration: none } button, input { font: inherit; color: inherit } button { cursor: pointer; border: 0; background: none }
.wrap { max-width: 1240px; margin: 0 auto; padding: 0 28px }

/* hazard stripe as the page's top edge */
body::before { content: ""; display: block; height: 10px; background: repeating-linear-gradient(-45deg, var(--hot2) 0 14px, #111 14px 28px) }
.top { display: flex; align-items: center; gap: 30px; padding: 18px 28px; max-width: 1400px; margin: 0 auto }
.brand { display: inline-flex; align-items: center; gap: 10px; font: 900 30px/1 var(--stencil); letter-spacing: .04em } .brand img { width: 34px; height: 34px }
.top nav { display: flex; gap: 24px; margin-left: auto; font-size: 13px; text-transform: uppercase; letter-spacing: .08em; color: var(--dim) } .top nav a:hover { color: var(--ink) }
.btn { display: inline-flex; align-items: center; height: 46px; padding: 0 22px; font: 700 18px var(--head); text-transform: uppercase; letter-spacing: .06em; border: 2px solid var(--ink) }
.btn.hot { background: var(--hot); border-color: var(--hot); color: #140700 } .btn:hover { filter: brightness(1.1) }

/* the dock: headline over a floor of crates and a shipping ticket */
.dock { max-width: 1400px; margin: 0 auto; padding: 40px 28px 80px }
.dock-head { display: grid; grid-template-columns: 1.4fr 1fr; gap: 40px; align-items: end }
.dock h1 { font: 900 clamp(64px, 9vw, 150px)/.86 var(--head); text-transform: uppercase; letter-spacing: -.01em } .dock h1 span { color: var(--hot) }
.dock-head p { color: var(--dim); max-width: 34em }
.ca { margin-top: 18px; display: inline-flex; gap: 12px; align-items: center; height: 36px; padding: 0 14px; border: 1px dashed var(--line); font-size: 12px; color: var(--dim) } .ca b { color: var(--hot) }
.dock-floor { margin-top: 46px; display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 28px; align-items: end; padding: 40px 30px 34px; background: linear-gradient(var(--bg2), var(--bg2)) padding-box; border-top: 4px solid var(--steel2); position: relative }
.dock-floor::after { content: ""; position: absolute; left: 0; right: 0; bottom: -10px; height: 10px; background: repeating-linear-gradient(-45deg, var(--hot2) 0 14px, #111 14px 28px) }

.yard { padding: 0 6px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 26px 22px; perspective: 900px }
.crate { position: relative; height: 170px; text-align: left; transition: transform .25s }
.crate .box { position: absolute; inset: 26px 0 0; background: var(--steel); border: 3px solid #2b3036; display: flex; flex-direction: column; justify-content: center; padding: 0 18px; overflow: hidden }
.crate:nth-child(3n+1) .box { background: #c44f12 } .crate:nth-child(3n+2) .box { background: #4c5964 } .crate:nth-child(3n) .box { background: #6c7178 }
.crate .box b { font: 900 54px/1 var(--stencil); color: rgba(236, 233, 226, .9) } .crate .box em { font: 500 11px var(--mono); letter-spacing: .2em; color: rgba(236, 233, 226, .55); font-style: normal }
.crate .slat { position: absolute; top: 0; bottom: 0; width: 3px; background: rgba(0, 0, 0, .22) } .crate .slat:nth-of-type(1) { right: 30% } .crate .slat:nth-of-type(2) { right: 14% }
.crate .lid { position: absolute; left: -6px; right: -6px; top: 8px; height: 22px; background: #2b3036; transform-origin: 0 100%; transition: transform .55s cubic-bezier(.2, 1.4, .4, 1), opacity .4s; display: flex; gap: 40%; padding: 0 20% }
.crate .lid i { width: 8px; height: 100%; background: var(--hot2) }
.crate .inside { position: absolute; inset: 26px 0 0; display: grid; place-content: center; text-align: center; background: #0c0d0e; opacity: 0; transition: opacity .3s .2s; border: 3px solid #2b3036 }
.crate .inside strong { font: 900 40px/1 var(--head); text-transform: uppercase } .crate .inside small { font: 500 14px var(--mono); color: var(--dim) }
.crate.on { transform: translateY(-10px) } .crate.on .box { outline: 3px solid var(--hot2); outline-offset: 4px }
.crate.shake { animation: shake .12s infinite }
@keyframes shake { 0%, 100% { transform: translate(0, -10px) rotate(0) } 25% { transform: translate(-3px, -11px) rotate(-1deg) } 75% { transform: translate(3px, -9px) rotate(1deg) } }
.crate.open .lid { transform: translateY(-30px) rotate(-5deg); opacity: 0 } .crate.open .inside { opacity: 1 }
.crate.tier-5 .inside { background: var(--win); color: #1d1400 } .crate.tier-5 .inside small { color: #3b2b00 } .crate.tier-4 .inside strong { color: var(--hot2) } .crate.tier-0 .inside strong { color: var(--dim) }

.ticket { background: var(--ink); color: #15171a; padding: 22px 22px 18px; font-size: 13px; clip-path: polygon(0 0, 100% 0, 100% calc(100% - 14px), 96% 100%, 92% calc(100% - 14px), 88% 100%, 84% calc(100% - 14px), 80% 100%, 0 100%) }
.t-row { display: flex; justify-content: space-between; text-transform: uppercase; letter-spacing: .1em; font-size: 11px; border-bottom: 1px dashed #15171a55; padding-bottom: 10px }
.t-stake { display: flex; align-items: baseline; gap: 8px; margin-top: 14px; border-bottom: 3px solid #15171a } .t-stake span { font-size: 11px; text-transform: uppercase; letter-spacing: .1em }
.t-stake input { flex: 1; min-width: 0; border: 0; outline: 0; background: none; font: 900 46px/1.1 var(--head); text-align: right } .t-stake em { font-style: normal; font-size: 12px }
.t-chips { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; margin-top: 12px } .t-chips button { height: 34px; border: 2px solid #15171a; font-weight: 500 } .t-chips button:hover { background: #15171a; color: var(--ink) }
.pry { width: 100%; height: 58px; margin-top: 14px; background: var(--hot); color: #140700; font: 900 26px var(--head); text-transform: uppercase; letter-spacing: .05em }
.pry:disabled { opacity: .45; cursor: not-allowed } .pry.busy { background: #15171a; color: var(--ink) }
.t-out { min-height: 46px; margin-top: 10px; display: grid } .t-out b { font: 900 26px/1.1 var(--head); text-transform: uppercase } .t-out span { font-size: 12px; color: #4b4e52 }
[data-panel].won .t-out b { color: #c44f12 }
.t-mode { display: flex; gap: 6px; margin-top: 4px } .t-mode button { height: 28px; padding: 0 10px; font-size: 11px; text-transform: uppercase; letter-spacing: .08em; border: 1px solid #15171a66 }
.t-mode button.on { background: #15171a; color: var(--ink) } .t-mode button:disabled { opacity: .35 } .t-mode .reset { margin-left: auto; border-style: dashed }

section h2 { font: 900 clamp(44px, 5.4vw, 80px)/.92 var(--head); text-transform: uppercase }
.lead { color: var(--dim); max-width: 40em; margin-top: 14px }
.manifest, .how, .fair, .token, .faq { padding: 110px 0 }
.manifest { background: var(--bg2) }
.mf { width: 100%; border-collapse: collapse; margin-top: 40px; font-size: 15px }
.mf th { text-align: left; font-weight: 500; font-size: 11px; text-transform: uppercase; letter-spacing: .12em; color: var(--dim); padding: 0 0 12px; border-bottom: 2px solid var(--ink) }
.mf td { padding: 18px 0; border-bottom: 1px dashed var(--line) } .mf td b { font: 900 28px var(--head); text-transform: uppercase } .mf tr.hi td:nth-child(3) { color: var(--hot2) }
.mf td:last-child { width: 34% } .mf td i { display: block; height: 10px; width: var(--w); min-width: 6px; background: var(--hot) }
.note { margin-top: 22px; color: var(--dim); font-size: 13px }
.steps { list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; margin-top: 50px; border-top: 2px solid var(--ink) }
.steps li { padding: 30px 26px 0 0 } .steps b { font: 900 90px/1 var(--stencil); color: var(--hot) } .steps h3 { font: 700 28px var(--head); text-transform: uppercase; margin-top: 10px } .steps p { color: var(--dim); margin-top: 8px }
.grid2 { display: grid; grid-template-columns: 1fr 1.3fr; gap: 60px; align-items: start }
.rules { list-style: none; border-top: 2px solid var(--ink) } .rules li { padding: 22px 0; border-bottom: 1px dashed var(--line); color: var(--dim) } .rules b { color: var(--ink); display: block; font: 700 22px var(--head); text-transform: uppercase }
.token { background: var(--hot); color: #140700 } .token .lead { color: #3a1800 } .token .btn { margin-top: 22px; border-color: #140700 } .token h2 { font-size: clamp(80px, 11vw, 180px) }
.faq details { border-bottom: 1px dashed var(--line); padding: 22px 0 } .faq details:first-of-type { margin-top: 34px; border-top: 2px solid var(--ink) }
.faq summary { cursor: pointer; font: 700 24px var(--head); text-transform: uppercase; list-style: none } .faq p { color: var(--dim); margin-top: 10px; max-width: 46em }
.foot { background: #000; padding: 60px 0 70px } .foot .wrap { display: flex; justify-content: space-between; gap: 40px; flex-wrap: wrap } .foot p { color: var(--dim); font-size: 13px; margin-top: 10px }
.foot .cols { display: flex; gap: 56px; font-size: 13px } .foot .cols div { display: grid; gap: 8px; align-content: start } .foot .cols b { text-transform: uppercase; letter-spacing: .1em; font-size: 11px; color: var(--dim) }
.toast { position: fixed; left: 50%; bottom: 24px; transform: translate(-50%, 30px); opacity: 0; background: var(--ink); color: #15171a; padding: 12px 18px; font-size: 13px; transition: .25s; z-index: 50; max-width: 92vw } .toast.on { opacity: 1; transform: translate(-50%, 0) } .toast.bad { background: var(--hot) }

@media (max-width: 960px) {
  .top nav { display: none } .dock-head, .dock-floor, .grid2 { grid-template-columns: minmax(0, 1fr) } .steps { grid-template-columns: 1fr }
  .yard { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px 10px } .crate { height: 120px } .crate .box b { font-size: 34px } .crate .inside strong { font-size: 24px }
}
@media (max-width: 520px) { .dock { padding: 24px 16px 60px } .dock-floor { padding: 26px 14px 24px } .ticket { width: 100% } .wrap { padding: 0 16px } .top { padding: 14px 16px } .foot .cols { gap: 28px } .yard { grid-template-columns: repeat(2, minmax(0, 1fr)) } .ticket { min-width: 0 } .top .btn { display: none } }
