/* ============ Elybean · page sections ============ */

/* ---------- marquee bands ---------- */
.tickers { position: relative; z-index: 5; overflow: hidden; background: var(--ink); padding: 0; }
.tickers-band { width: 100%; }
.tickers .ticker { font-weight: 900; font-style: italic; text-transform: uppercase; letter-spacing: -.01em; line-height: 1.12; }
.tickers .ticker span { margin-right: .5em; gap: .5em; }
.tick-a { background: var(--ink); color: var(--cream); border: solid var(--ink); border-width: 3px 0; font-size: clamp(28px, 4vw, 58px); padding: .26em 0 .3em; }
.tick-a b { color: var(--gold); font-size: .7em; }
.tick-b { background: var(--gold); color: var(--ink); border-bottom: 3px solid var(--ink); font-size: clamp(17px, 2vw, 28px); padding: .45em 0 .5em; }
.tick-b b { color: var(--bean-deep); font-size: .55em; }

/* ---------- chapter 02 · dictionary ---------- */
.dictionary { background: var(--bean); }
.dictionary .chapter-tag i { background: var(--gold); }
.dictionary .mega { color: var(--cream); -webkit-text-stroke: .04em var(--ink); paint-order: stroke fill; text-shadow: .035em .05em 0 var(--ink); }
.dict-head { display: grid; grid-template-columns: 1fr auto; gap: 30px; align-items: end; margin-bottom: 44px; }
.dict-bean { margin: 0; width: clamp(150px, 19vw, 260px); text-align: center; rotate: 4deg; }
.dict-bean img { width: 100%; display: block; }
.dict-bean figcaption { font-size: 17px; margin-top: 4px; rotate: -5deg; }
.cards { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: clamp(12px, 1.6vw, 22px); }
.cards li { perspective: 1000px; }
.card { display: block; width: 100%; aspect-ratio: 3 / 3.7; padding: 0; border: 0; background: transparent; text-align: left; }
.card-inner { position: relative; display: block; width: 100%; height: 100%; transform-style: preserve-3d; transition: transform .7s cubic-bezier(.3,1.35,.45,1); }
.card.flipped .card-inner { transform: rotateY(180deg); }
.card-face {
  position: absolute; inset: 0;
  display: flex; flex-direction: column;
  padding: clamp(12px, 1.3vw, 18px);
  border: 3px solid var(--ink); border-radius: 16px;
  box-shadow: 5px 6px 0 var(--ink);
  backface-visibility: hidden; -webkit-backface-visibility: hidden;
  background: var(--cream);
  overflow: hidden;
}
.card-face small { font-weight: 800; font-size: 12px; letter-spacing: .12em; text-transform: uppercase; }
.face-front strong { font-size: clamp(22px, 2.1vw, 34px); line-height: .92; font-weight: 900; text-transform: uppercase; letter-spacing: -.04em; overflow-wrap: anywhere; }
.card-art { display: block; flex: 1 1 0; min-height: 0; width: 100%; margin: 6px 0 8px; object-fit: contain; filter: drop-shadow(2px 4px 0 #092c4422); transition: translate .35s cubic-bezier(.3,1.7,.5,1), rotate .35s cubic-bezier(.3,1.7,.5,1); }
.card-art-mini { position: absolute; right: 10px; top: 10px; width: 34%; opacity: .95; }
.face-back small { padding-right: 36%; }
.face-front em { font-style: normal; font-size: 12px; font-weight: 700; opacity: .7; margin-top: 10px; }
.face-back { transform: rotateY(180deg); background: var(--ink); color: var(--cream); }
.face-back small i { font-style: normal; opacity: .6; text-transform: none; }
.face-back .hand { margin-top: auto; font-size: clamp(15px, 1.3vw, 19px); line-height: 1.2; }
.c0 .face-front { background: var(--cream); }
.c1 .face-front { background: var(--gold); }
.c2 .face-front { background: var(--pink); }
.c3 .face-front { background: #bff0c9; }
.c4 .face-front { background: #fff; }
.card:hover .card-inner { transform: rotate(-2deg) translateY(-6px); }
.card.flipped:hover .card-inner { transform: rotateY(180deg) rotate(2deg) translateY(-6px); }
.dict-progress { margin: 34px 0 0; text-align: center; font-size: 22px; }
.dict-progress.done { color: var(--cream); -webkit-text-stroke: 1px var(--ink); paint-order: stroke fill; font-size: 30px; }

/* ---------- chapter 03 · trail ---------- */
.trail { background: var(--mint); background-image: radial-gradient(#99cbbc 1.2px, transparent 1.4px); background-size: 16px 16px; border-top: var(--line); overflow: clip; }
.trail-head { max-width: 900px; margin-bottom: 64px; }
.trail .mega span { display: block; }
.trail-track { position: relative; }
.trail-line { position: absolute; left: 50%; top: 0; bottom: 0; width: 14px; translate: -50% 0; border-radius: 8px; background: repeating-linear-gradient(#b9d7a7 0 14px, transparent 14px 26px); }
.trail-fill { position: absolute; inset: 0; clip-path: inset(0 0 calc((1 - var(--walk, 1)) * 100%) 0 round 8px); border-radius: 8px; background: #d8b26a radial-gradient(circle at 50% 50%, #7a5a2a 2.5px, transparent 3px) 0 0 / 14px 22px; border: 2px solid #8e6a31; }
.trail-walker { position: absolute; left: 50%; top: 0; bottom: 0; width: 0; }
.trail-walker img { position: sticky; top: 42vh; display: block; width: 112px; max-width: none; translate: -50% 0; filter: drop-shadow(0 6px 0 #0000002a); }
.stops { list-style: none; margin: 0; padding: 0; display: grid; gap: clamp(40px, 6vw, 90px); }
.stop { position: relative; width: calc(50% - 70px); }
.stop.right { justify-self: end; }
.stop-pin { position: absolute; top: 34px; width: 52px; height: 52px; display: grid; place-items: center; border-radius: 50%; background: var(--cream); border: var(--line); font-weight: 900; box-shadow: 2px 3px 0 var(--ink); transition: background .3s, scale .3s; }
.stop.left .stop-pin { right: -96px; }
.stop.right .stop-pin { left: -96px; }
.stop.reached .stop-pin { background: var(--gold); scale: 1.15; }
.postcard { background: #fffdf4; border: 3px solid var(--ink); border-radius: 18px; box-shadow: 6px 7px 0 var(--ink); overflow: hidden; }
.stop.left .postcard { rotate: -1.3deg; }
.stop.right .postcard { rotate: 1.3deg; }
.postcard-art { position: relative; border-bottom: var(--line); line-height: 0; }
.place-art { width: 100%; aspect-ratio: 2.1; object-fit: cover; display: block; }
.prop { position: absolute; right: 6%; bottom: -24px; width: clamp(56px, 6vw, 86px); filter: drop-shadow(2px 3px 0 #082e4460); }
.postcard-body { padding: 22px 24px 26px; }
.stop-meta { display: flex; gap: 10px; align-items: center; justify-content: space-between; margin: 0 0 10px; }
.phase { font-size: 11px; color: #355663; }
.status { display: inline-flex; align-items: center; gap: 7px; font-size: 11px; font-weight: 900; letter-spacing: .12em; text-transform: uppercase; padding: 4px 10px; border: 2px solid var(--ink); border-radius: 999px; background: var(--cream); }
.status.now { background: #c9f5d6; }
.postcard h3 { margin: 0 0 6px; font-size: clamp(26px, 2.5vw, 38px); line-height: 1; letter-spacing: -.035em; font-weight: 900; text-transform: uppercase; }
.postcard .short { font: 600 19px/1.15 var(--hand); color: var(--bean-deep); margin: 0 0 10px; }
.postcard p { margin: 0; }

/* ---------- free to boop ---------- */
.freeboop { background: var(--gold); padding: clamp(80px, 10vw, 150px) max(5vw, calc((100vw - 1240px) / 2)); overflow: clip; border-top: var(--line); }
.freeboop .eyebrow { color: var(--ink); }
.free-lines { margin: 0 0 30px; font-weight: 900; text-transform: uppercase; letter-spacing: -.045em; line-height: .86; font-size: clamp(34px, 11vw, 176px); }
.free-lines span { display: block; white-space: nowrap; }
.free-lines span:nth-child(2) { color: var(--cream); -webkit-text-stroke: .035em var(--ink); paint-order: stroke fill; text-shadow: .03em .045em 0 var(--ink); padding-left: 8vw; }
.free-lines span:nth-child(3) { padding-left: 2vw; }
.free-lines span:nth-child(4) { color: var(--bean-deep); padding-left: 14vw; }
.free-lines img { width: 1em; vertical-align: -.14em; margin-left: .15em; }
.free-body { font-size: clamp(18px, 1.5vw, 22px); max-width: 36em; margin: 0 0 28px; }
.pills { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 12px; }
.pills li { display: inline-flex; align-items: center; gap: 8px; padding: 11px 18px; border: var(--line); border-radius: 999px; background: var(--cream); font-weight: 800; text-transform: uppercase; font-size: 14px; letter-spacing: .04em; box-shadow: 3px 4px 0 var(--ink); }
.pills li:nth-child(2) { rotate: 2deg; background: var(--pink); }
.pills li:nth-child(3) { rotate: -2deg; background: #c8f0ff; }

/* ---------- shared token bits (token page) ---------- */
.medal-hang { position: relative; display: grid; justify-items: center; width: clamp(120px, 13vw, 190px); transform-origin: 50% 0; }
.medal-hang .string { width: 3px; height: 90px; background: currentColor; opacity: .7; }
.medal { display: grid; place-items: center; width: 100%; aspect-ratio: 1; border-radius: 50%; background: #ffda64; border: 5px solid var(--ink); box-shadow: 0 0 0 3px #ffe995, inset -6px -8px #e4a449, inset 6px 6px #fff1a6; }
.medal img { width: 72%; }
.feebar-wrap { margin-bottom: 60px; }
.feebar { display: flex; height: 34px; border: 3px solid var(--cream); border-radius: 999px; overflow: hidden; gap: 3px; background: var(--cream); }
.feebar i { background: #61c4dc; }
.feebar i:nth-child(2) { background: var(--gold); }
.feebar i:nth-child(3) { background: #86d99b; }
.feelegend { list-style: none; padding: 0; margin: 14px 0 0; display: flex; flex-wrap: wrap; gap: 10px 28px; font-size: 15px; }
.feelegend li { display: inline-flex; align-items: center; gap: 8px; }
.feelegend b { font-variant-numeric: tabular-nums; }
.sw { width: 14px; height: 14px; border-radius: 4px; border: 2px solid currentColor; }
.sw.s0 { background: #61c4dc; } .sw.s1 { background: var(--gold); } .sw.s2 { background: #86d99b; }
.ca-box { display: flex; align-items: center; gap: 18px; padding: 16px 18px; border: var(--line); border-radius: 18px; background: var(--cream); color: var(--ink); box-shadow: 4px 5px 0 var(--ink); margin-bottom: 30px; }
.ca-tag { display: grid; place-items: center; flex: none; width: 58px; height: 58px; border-radius: 14px; background: var(--gold); color: var(--ink); font-weight: 900; font-size: 22px; border: 2px solid var(--ink); }
.ca-main { min-width: 0; }
.ca-main small, .lid-text small { display: block; font-size: 11px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; opacity: .75; }
.ca-main p, .ca-main code { margin: 4px 0 0; font-weight: 600; overflow-wrap: anywhere; }
.ca-main code, .lid-text code { font-size: 15px; overflow-wrap: anywhere; }
.ca-copy { margin-left: auto; display: inline-flex; gap: 6px; align-items: center; border: 2px solid var(--ink); border-radius: 999px; padding: 8px 14px; background: var(--gold); color: var(--ink); font-weight: 800; }
.token-cta { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; }
.fine { font-size: 13px; margin: 22px 0 0; text-align: center; color: #3c5a68; }

/* ---------- chapter 04 · the bean jar ---------- */
.beanjar { position: relative; border-top: var(--line); background: repeating-linear-gradient(90deg, #d9f1fb 0 46px, #fff9ea 46px 92px); padding-bottom: clamp(70px, 9vw, 120px); overflow: clip; }
.awning { position: relative; height: 80px; margin-top: -2px; filter: drop-shadow(0 6px 0 #092c4430); transform-origin: top; }
.awning::before, .awning i { content: ''; position: absolute; inset: 0;
  -webkit-mask: linear-gradient(#000 0 0) top / 100% 46px no-repeat, radial-gradient(circle at 30px 46px, #000 30px, #0000 31px) 0 0 / 60px 80px repeat-x;
  mask: linear-gradient(#000 0 0) top / 100% 46px no-repeat, radial-gradient(circle at 30px 46px, #000 30px, #0000 31px) 0 0 / 60px 80px repeat-x; }
.awning::before { background: var(--ink); top: 4px; }
.awning i { background: repeating-linear-gradient(90deg, var(--bean) 0 60px, var(--cream) 60px 120px); }
.beanjar-inner { width: var(--wrap); margin: auto; padding-top: clamp(40px, 5vw, 80px); }
.beanjar-head { text-align: center; max-width: 920px; margin: 0 auto clamp(40px, 5vw, 70px); }
.beanjar-head .lede { margin: 0 auto; }
.beanjar .chapter-tag { justify-content: center; background: var(--cream); border: 2px solid var(--ink); padding: 6px 14px; border-radius: 999px; }

.jar-row { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(30px, 5vw, 80px); align-items: center; margin-bottom: clamp(60px, 7vw, 100px); }
.jar-wrap { position: relative; justify-self: center; width: min(100%, 410px); }
.jar-button { display: block; width: 100%; padding: 0; border: 0; background: none; }
.jar { display: block; width: 100%; overflow: visible; transform-origin: 50% 96%; filter: drop-shadow(10px 12px 0 #092c441f); }
.jar-glass { fill: #ffffff70; }
.jar-outline { fill: none; stroke: var(--ink); stroke-width: 5; }
.jar-neck { fill: #ffffffaa; stroke: var(--ink); stroke-width: 5; }
.jar-lid rect { fill: var(--gold); stroke: var(--ink); stroke-width: 5; }
.jar-lid path { stroke: #c38f22; stroke-width: 3; }
.jar-glare { fill: #fff; opacity: .75; }
.jb { stroke: var(--ink); stroke-width: 1.6; }
.c0.jb, .jb-drop.c0 { fill: var(--bean); background: var(--bean); }
.c1.jb, .jb-drop.c1 { fill: var(--gold); background: var(--gold); }
.c2.jb, .jb-drop.c2 { fill: var(--pink); background: var(--pink); }
.c3.jb, .jb-drop.c3 { fill: var(--grass); background: var(--grass); }
.c4.jb, .jb-drop.c4 { fill: #fff; background: #fff; }
.c5.jb, .jb-drop.c5 { fill: #c79cff; background: #c79cff; }
.jar-label rect { fill: var(--cream); stroke: var(--ink); stroke-width: 3.5; }
.jar-label text { text-anchor: middle; fill: var(--ink); font-family: Rubik, sans-serif; }
.jar-label .l1 { font-size: 40px; font-weight: 900; letter-spacing: -1.5px; }
.jar-label .l2 { font-size: 18px; font-weight: 800; }
.jar-label .l3 { font-size: 11px; font-weight: 800; letter-spacing: 2px; text-transform: uppercase; }
.jar-bean { position: absolute; right: -14%; bottom: 2%; width: 31%; pointer-events: none; }
.jar-bean img { display: block; width: 100%; }
.jar-says { position: absolute; bottom: 104%; right: 0; white-space: nowrap; padding: 7px 14px; background: var(--cream); border: var(--line); border-radius: 16px 16px 4px 16px; box-shadow: 2px 3px 0 var(--ink); font-size: 16px; }
.jar-hint { position: absolute; left: 4%; bottom: -8px; margin: 0; font-size: 15px; rotate: -5deg; color: #0b4f73; }

.facts-label { justify-self: center; width: min(100%, 380px); background: #fff; color: #111; border: 3px solid #111; padding: 14px 18px 14px; box-shadow: 9px 10px 0 var(--ink); rotate: 1.5deg; }
.facts-label h3 { margin: 0 0 4px; padding-bottom: 4px; border-bottom: 1px solid #111; font-size: 46px; font-weight: 900; line-height: 1; letter-spacing: -.035em; }
.fl-row { display: flex; justify-content: space-between; gap: 12px; padding: 6px 0; border-top: 1px solid #111; font-size: 15px; }
.fl-row b { font-weight: 800; font-variant-numeric: tabular-nums; }
.fl-row.thin { border-top: 0; }
.fl-row.thick { border-bottom: 10px solid #111; font-weight: 800; font-size: 17px; }
.fl-row.strong span { font-weight: 800; }
.fl-small { margin: 0; padding: 8px 0 0; font-size: 12.5px; line-height: 1.4; }
.fl-ingredients { border-top: 5px solid #111; margin-top: 2px; }
.fl-warning { font-weight: 800; }
.fl-foot { margin: 8px 0 0; font-size: 11px; color: #555; }

.sorter { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(24px, 4vw, 60px); align-items: end; margin-bottom: clamp(60px, 7vw, 100px); padding: clamp(22px, 3vw, 42px); background: var(--cream); border: 3px solid var(--ink); border-radius: 28px; box-shadow: 9px 10px 0 var(--ink); }
.sorter-head h3 { margin: 0 0 12px; font-size: clamp(36px, 4.2vw, 60px); font-weight: 900; line-height: .9; letter-spacing: -.035em; text-transform: uppercase; }
.sorter-head > p { margin: 0; font-size: 17px; }
.sorter-control { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 8px 14px; margin: 26px 0 16px; }
.sorter-control span { grid-column: 1 / -1; font-size: 12px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
.sorter-control input { width: 100%; accent-color: var(--bean-deep); height: 28px; cursor: pointer; }
.sorter-control output { font-size: 22px; font-weight: 900; font-variant-numeric: tabular-nums; min-width: 6.5em; text-align: right; }
.sorter-total { display: flex; justify-content: space-between; align-items: baseline; margin: 0 0 20px; padding-top: 12px; border-top: 2px dashed var(--ink); font-weight: 700; }
.sorter-total b { font-size: 24px; font-weight: 900; font-variant-numeric: tabular-nums; }
.sorter-machine { position: relative; container-type: inline-size; padding-top: 112px; }
.funnel { position: absolute; top: 0; left: 50%; width: min(48%, 240px); translate: -50% 0; overflow: visible; }
.funnel-body { fill: #ffffffcc; stroke: var(--ink); stroke-width: 5; stroke-linejoin: round; }
.drops { position: absolute; left: 0; right: 0; top: 96px; height: 0; z-index: 2; }
.jb-drop { position: absolute; left: calc(50% - 10px); top: 0; width: 20px; height: 13px; border-radius: 55% 45% 50% 50% / 60% 60% 40% 40%; border: 2px solid var(--ink); }
.tubes { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; text-align: center; }
.tube { position: relative; width: 64%; height: 220px; margin: 0 auto; overflow: hidden; background: #ffffffaa; border: 4px solid var(--ink); border-top: 0; border-radius: 0 0 44px 44px; }
.tube::before { content: ''; position: absolute; top: 0; left: -10%; right: -10%; height: 10px; background: var(--ink); border-radius: 6px; }
.tube-fill { position: absolute; left: 0; right: 0; bottom: 0; height: calc(var(--fill) * 86%); border-top: 3px solid var(--ink);
  background: radial-gradient(ellipse 8px 5px at 25% 30%, var(--pink) 92%, #0000), radial-gradient(ellipse 8px 5px at 72% 58%, var(--gold) 92%, #0000), radial-gradient(ellipse 8px 5px at 40% 86%, var(--grass) 92%, #0000), #8fd3ea;
  background-size: 30px 26px; }
.t1 .tube-fill { background-color: #ffe59a; }
.t2 .tube-fill { background: radial-gradient(ellipse 8px 5px at 25% 30%, #6b3d1d 92%, #0000), radial-gradient(ellipse 8px 5px at 72% 58%, #8a5228 92%, #0000), radial-gradient(ellipse 8px 5px at 40% 86%, #4e2a12 92%, #0000), #c98b55; background-size: 30px 26px; }
.flame, .flame-spacer { position: relative; display: block; width: 30px; height: 34px; margin: 4px auto 6px; }
.flame i { position: absolute; left: 3px; top: 4px; width: 24px; height: 24px; background: #ff8a3d; border: 3px solid var(--ink); border-radius: 50% 0 50% 50%; rotate: -45deg; transform-origin: 50% 70%; }
.flame i + i { left: 9px; top: 13px; width: 12px; height: 12px; background: var(--gold); border-width: 2px; }
.tube-amt { display: block; font-size: clamp(16px, 1.6vw, 22px); font-weight: 900; font-variant-numeric: tabular-nums; }
.tube-col strong { display: block; margin-top: 2px; font-size: 15px; font-weight: 900; text-transform: uppercase; letter-spacing: .02em; }
.tube-col span:not(.flame):not(.flame-spacer) { display: block; font-size: 13px; color: #3c5a68; line-height: 1.3; }
.sorter-note { grid-column: 1 / -1; margin: 0; font-size: 14.5px; color: #3c5a68; }

.menu-row { display: grid; grid-template-columns: 1.35fr .65fr; gap: clamp(20px, 3vw, 40px); align-items: stretch; margin-bottom: 50px; }
.menu-board { position: relative; padding: clamp(24px, 3vw, 38px); background: #fffdf6; border: 3px solid var(--ink); border-radius: 24px; box-shadow: 9px 10px 0 var(--ink); }
.menu-board::before, .menu-board::after { content: ''; position: absolute; top: -14px; width: 92px; height: 28px; background: #ffe58fcc; border: 1.5px solid #c9a94a; }
.menu-board::before { left: 9%; rotate: -6deg; }
.menu-board::after { right: 9%; rotate: 5deg; }
.menu-board h3 { margin: 0 0 22px; text-align: center; font-size: clamp(30px, 3.4vw, 48px); font-weight: 900; text-transform: uppercase; letter-spacing: -.03em; line-height: 1; }
.menu-cols { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(20px, 3vw, 40px); }
.menu-sub { margin: 0 0 8px; font-size: 12px; font-weight: 900; letter-spacing: .16em; text-transform: uppercase; color: var(--bean-deep); }
.menu-board ul { list-style: none; margin: 0; padding: 0; }
.menu-board li { padding: 11px 0; border-bottom: 2px dotted #092c4455; }
.menu-on li { display: grid; gap: 3px; }
.menu-on b { display: inline-flex; align-items: center; gap: 9px; font-size: 21px; font-weight: 900; text-transform: uppercase; letter-spacing: -.02em; }
.menu-on b::before { content: ''; flex: none; width: 20px; height: 13px; border-radius: 55% 45% 50% 50% / 60% 60% 40% 40%; border: 2px solid var(--ink); background: var(--bean); }
.menu-on li:nth-child(2) b::before { background: #ff6b8b; }
.menu-on li:nth-child(3) b::before { background: #8a5228; }
.menu-on span { font-size: 15px; }
.menu-off li { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 2px 12px; }
.menu-off s { position: relative; text-decoration: none; font-size: 21px; font-weight: 900; text-transform: uppercase; letter-spacing: -.02em; opacity: .5; }
.menu-off s::after { content: ''; position: absolute; left: -5%; right: -5%; top: 48%; height: 4px; border-radius: 3px; background: #e2477e; rotate: -3deg; transform-origin: left; }
.menu-off .hand { font-size: 15px; color: #c02a63; }
.lid-card { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 20px; padding: 30px 26px; text-align: center; background: var(--ink); color: var(--cream); border: 3px solid var(--ink); border-radius: 24px; box-shadow: 9px 10px 0 var(--bean); }
.big-lid { position: relative; display: grid; place-items: center; width: 150px; aspect-ratio: 1; border-radius: 50%; background: repeating-conic-gradient(#e7ae3c 0 5deg, #ffd65e 5deg 10deg); border: 4px solid var(--cream); box-shadow: 0 0 0 4px #000; }
.big-lid::before { content: ''; position: absolute; inset: 16px; border-radius: 50%; background: radial-gradient(circle at 35% 30%, #fff3b0, #ffd65e 60%, #e7ae3c); border: 3px solid #b8831f; }
.big-lid span { position: relative; padding: 6px 16px; border: 2.5px solid var(--ink); background: #e2477e; color: #fff; font-weight: 900; font-size: 15px; letter-spacing: .16em; text-transform: uppercase; rotate: -14deg; box-shadow: 2px 3px 0 var(--ink); }
.big-lid.open span { background: #42cf7f; color: var(--ink); }
.lid-text p { margin: 6px 0 0; font-size: 15.5px; }
.lid-text .ca-copy { margin: 12px auto 0; }
.lid-text code { display: block; max-width: 22ch; margin: 6px auto 0; word-break: break-all; line-height: 1.45; }

/* ---------- FAQ ---------- */
.faq { background: var(--paper); display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(30px, 6vw, 90px); align-items: start; }
.faq-side { position: sticky; top: 110px; container-type: inline-size; }
/* The headline follows its column, not the window, so “QUESTIONS.” never runs into the list. */
.faq-side .mega { font-size: min(clamp(44px, 7.2vw, 112px), 15.5cqi); }
.faq-side > p:not(.eyebrow) { font-size: 18px; margin: 0 0 22px; }
.faq-bean { display: block; width: min(100%, 230px); margin: 44px 0 0 10px; transform-origin: 50% 90%; }
.faq-list { display: grid; gap: 0; border-top: var(--line); }
.faq details { border-bottom: var(--line); }
.faq summary { list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 22px 4px; cursor: pointer; font-weight: 800; font-size: clamp(18px, 1.6vw, 23px); letter-spacing: -.01em; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary i { flex: none; display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; border: var(--line); background: var(--gold); font-style: normal; font-weight: 900; font-size: 22px; transition: rotate .3s cubic-bezier(.3,1.6,.5,1), background .2s; }
.faq details[open] summary i { rotate: 45deg; background: var(--bean); }
.faq summary:hover i { scale: 1.1; }
.faq details p { margin: 0 0 24px; padding: 0 56px 0 4px; font-size: 17px; }

/* ---------- finale / footer ---------- */
.finale { background: var(--bean); border-top: var(--line); position: relative; text-align: center; padding-top: clamp(80px, 9vw, 130px); overflow: clip; }
.finale-plane { position: absolute; top: 40px; left: 0; width: clamp(150px, 18vw, 260px); pointer-events: none; }
.finale-eyebrow { font-size: clamp(17px, 1.6vw, 24px); margin: 0 0 8px; }
.shout { margin: 0 auto 34px; font-weight: 900; text-transform: uppercase; letter-spacing: -.05em; line-height: .85; font-size: min(15vw, 230px); color: var(--cream); -webkit-text-stroke: .035em var(--ink); paint-order: stroke fill; text-shadow: .03em .05em 0 var(--ink); }
.shout span { display: inline-block; margin: 0 .08em; }
.shout span:nth-child(2) { color: var(--gold); rotate: -4deg; }
.finale-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; padding: 0 5vw; }
.finale-word { margin: clamp(40px, 6vw, 80px) 0 -0.17em; font-size: min(24vw, 380px); line-height: .8; font-weight: 900; letter-spacing: -.08em; color: #0b7fb8; -webkit-text-stroke: 3px var(--ink); paint-order: stroke fill; user-select: none; }
.ticker-foot { background: var(--ink); color: var(--cream); padding: 12px 0; font-weight: 900; text-transform: uppercase; letter-spacing: .06em; font-size: 15px; position: relative; }
.ticker-foot b { color: var(--gold); }
.footbar { position: relative; z-index: 1; background: var(--ink-2); color: #cfe6ee; display: grid; grid-template-columns: auto 1fr; gap: 16px 30px; align-items: center; padding: 22px 5vw 28px; text-align: left; }
.footbar > div { display: flex; align-items: center; gap: 16px; font-size: 13px; }
.footbar .brand { color: var(--cream); font-size: 26px; }
.footbar .brand img { width: 32px; }
.footbar nav { display: flex; flex-wrap: wrap; gap: 8px 22px; justify-content: flex-end; font-size: 14px; font-weight: 700; color: var(--cream); }
.footbar nav a:hover { color: var(--gold); }
.disclaimer { grid-column: 1 / -1; margin: 0; font-size: 12.5px; max-width: 70em; opacity: .85; }

/* ---------- buddy ---------- */
.buddy { position: fixed; right: 16px; bottom: 14px; z-index: 40; display: flex; align-items: flex-end; gap: 4px; padding: 0; border: 0; background: transparent; translate: 0 140%; transition: translate .5s cubic-bezier(.3,1.5,.5,1); }
.buddy.show { translate: 0 0; }
.buddy img { width: 82px; display: block; filter: drop-shadow(0 4px 0 #0000002a); transition: rotate .3s; transform-origin: 50% 90%; }
.buddy:hover img { rotate: -12deg; }
.buddy-say { position: relative; margin-bottom: 52px; background: var(--cream); border: var(--line); border-radius: 16px 16px 4px 16px; padding: 6px 12px; font-size: 15px; line-height: 1.15; box-shadow: 2px 3px 0 var(--ink); max-width: 13em; text-align: left; }
.buddy-say:empty { display: none; }

/* ---------- token page ---------- */
.tokenmain { background: var(--cream); }
.token-intro { display: flex; align-items: center; justify-content: space-between; gap: 30px; padding: 54px max(6vw, calc((100vw - 1100px) / 2)) 64px; background: linear-gradient(#7fd3ee, #c4eef3); border-bottom: var(--line); }
.token-intro > div { max-width: 700px; }
.token-intro .medal-hang { color: var(--ink); }
.back { display: block; width: fit-content; font-size: 15px; font-weight: 700; text-decoration: underline; text-underline-offset: 4px; margin-bottom: 26px; }
.wordmark.small { font-size: clamp(90px, 13vw, 190px); margin: 6px 0 12px; justify-self: start; }
.token-content { max-width: 980px; padding: 40px 30px 80px; margin: auto; }
.token-content > .ca-box { margin: 0 0 10px; }
.token-content section { padding: 44px 0; border-bottom: 2px dashed #c2c9b8; }
.token-content h2 { font-size: clamp(32px, 4vw, 54px); font-weight: 900; text-transform: uppercase; letter-spacing: -.035em; line-height: .95; margin: 0 0 14px; }
.token-content h3 { margin: 32px 0 6px; font-size: 20px; text-transform: uppercase; letter-spacing: .02em; }
.token-content .note { font-size: 14.5px; color: #3c5a68; margin-top: 16px; }
.token-content .feebar { border-color: var(--ink); background: var(--ink); margin-top: 22px; }
.token-content .feebar-wrap { margin-bottom: 20px; }
.facts { margin: 18px 0 0; }
.facts > div, .changes > div { padding: 14px 0; display: flex; gap: 16px; justify-content: space-between; border-top: 1px solid #c2c9b8; }
.facts dd { font-weight: 800; text-align: right; margin: 0; }
.changes { margin: 18px 0 0; }
.changes > div { display: grid; grid-template-columns: 180px 1fr; }
.changes dt { font-weight: 900; text-transform: uppercase; letter-spacing: .02em; }
.changes dd { margin: 0; }
.fee { display: grid; grid-template-columns: repeat(3, 1fr); border: var(--line); border-radius: 14px; overflow: hidden; }
.fee > div { background: #e9f3e6; display: flex; flex-direction: column; padding: 16px; gap: 2px; }
.fee > div + div { border-left: var(--line); }
.fee b { font-size: 20px; font-variant-numeric: tabular-nums; }
.fee span { font-size: 14px; }
.burn-tiles { list-style: none; padding: 0; margin: 22px 0 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.burn-tiles li { border: var(--line); border-radius: 16px; padding: 18px; background: #fffdf4; box-shadow: 4px 5px 0 var(--ink); display: flex; flex-direction: column; gap: 6px; }
.burn-tiles .num { font: 900 34px/1 Rubik, sans-serif; color: var(--bean-deep); }
.burn-tiles b { margin-top: auto; padding-top: 10px; font-size: 13px; text-transform: uppercase; letter-spacing: .1em; color: #8a5b00; }
.closet-eq { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; margin-top: 18px; font-weight: 800; }
.closet-eq span:not(:nth-child(4)) { padding: 10px 16px; border: var(--line); border-radius: 999px; background: #fffdf4; }
.closet-eq .burned { background: #ffd3c4 !important; }
.risks ul { padding-left: 20px; display: grid; gap: 8px; margin: 0 0 26px; }

@media (max-width: 1020px) {
  .menu-row { grid-template-columns: 1fr; }
  .lid-card { flex-direction: row; text-align: left; }
  .lid-text code { margin-left: 0; }
  .lid-text .ca-copy { margin-left: 0; }
  .cards { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 860px) {
  .jar-row, .sorter { grid-template-columns: 1fr; }
  .trail-line, .trail-walker { left: 26px; }
  .trail-walker img { width: 76px; }
  .stop { width: auto; margin-left: 76px; }
  .stop.right { justify-self: stretch; }
  .stop.left .stop-pin, .stop.right .stop-pin { left: -76px; right: auto; width: 44px; height: 44px; top: 20px; }
  .stop.left .postcard, .stop.right .postcard { rotate: 0deg; }
  .faq { grid-template-columns: 1fr; }
  .faq-side { position: static; }
  .faq-bean { display: none; }
}
@media (max-width: 680px) {
  .dict-head { grid-template-columns: 1fr; }
  .dict-bean { justify-self: center; order: -1; width: 160px; }
  .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .face-front strong { font-size: 26px; }
  .face-back .hand { font-size: 15px; }
  .free-lines span { padding-left: 0 !important; }
  .ca-box { flex-wrap: wrap; }
  .menu-cols { grid-template-columns: 1fr; }
  .lid-card { flex-direction: column; text-align: center; }
  .lid-text code, .lid-text .ca-copy { margin-left: auto; }
  .jar-wrap { width: min(86%, 360px); }
  .jar-bean { right: -14%; }
  .tube { height: 170px; width: 72%; }
  .tube-col span:not(.flame):not(.flame-spacer) { font-size: 11.5px; }
  .tube-amt { font-size: 14px; }
  .tube-col strong { font-size: 11.5px; letter-spacing: 0; overflow-wrap: anywhere; }
  .tubes { gap: 8px; }
  .facts-label h3 { font-size: 40px; }
  .ca-tag { width: 46px; height: 46px; font-size: 18px; }
  .finale-plane { width: 120px; top: 20px; }
  .footbar { grid-template-columns: 1fr; }
  .footbar nav { justify-content: flex-start; }
  .buddy img { width: 58px; }
  .buddy-say { font-size: 13px; margin-bottom: 40px; }
  .token-intro { flex-direction: column-reverse; align-items: flex-start; padding: 28px 6% 40px; }
  .token-intro .medal-hang { width: 96px; align-self: flex-end; margin-top: -40px; }
  .token-intro .medal-hang .string { height: 40px; }
  .token-content { padding: 26px 6% 60px; }
  .fee, .burn-tiles { grid-template-columns: 1fr; }
  .fee > div + div { border-left: 0; border-top: var(--line); }
  .changes > div { grid-template-columns: 1fr; gap: 4px; }
  .facts > div { font-size: 15px; }
}
@media (max-width: 680px) {
  html:not([data-motion="on"]) .buddy-say { display: none; }
}
