/* The Mint page, in the Landfall theme (assets/home/base.css + theme.css). A full-screen 3D hero (assets/mint/mint3d.js)
   with HiMen floating round the words, then the mint ticket on dark glass. This file also gives a dark look to the parts
   site.js draws into the page: the wallet button and its account menu, the wallet help dialog, toasts, the countdown
   and the live 3D result. Load after theme.css. */

/* ── stage and fallback ── */
/* base.css's `header.top { position: relative }` would otherwise outrank theme.css's fixed header (same fix as pages.css) */
header.top { position: fixed; z-index: 6; }
.sky { display: block; }
/* the stage belongs to the hero: as tall as the first screen (mint3d.js sets the exact px), it scrolls away with the
   page and its bottom fades into the still starfield below */
#canvas-container { position: absolute; inset: 0 0 auto 0; height: 100vh; height: 100svh; overflow: hidden;
  -webkit-mask-image: linear-gradient(#000 88%, transparent); mask-image: linear-gradient(#000 88%, transparent); }
/* OrbitControls sets touch-action: none on the canvas; here the page must still scroll by touch, except on a HiMan
   (mint3d.js takes those touches itself) */
#canvas-container canvas { touch-action: pan-y pinch-zoom !important; }
body.no-gl #canvas-container { display: none; }
body:not(.gl-on) .toy { visibility: hidden; }
body.no-gl .toy, body.no-gl .launched { display: none; }
.says { position: absolute; inset: 0; z-index: 3; pointer-events: none; overflow: hidden; }
.say { position: absolute; left: 0; top: 0; padding: 7px 12px 8px; border-radius: 14px 14px 14px 4px; background: rgba(236, 232, 225, .95); color: #0B0904;
  font: 500 14px/1.25 "Work Sans", system-ui, sans-serif; white-space: nowrap; box-shadow: 0 6px 20px rgba(0, 0, 0, .45);
  opacity: 0; transform: translate3d(var(--x, 0), var(--y, 0), 0) translate(-50%, -100%) scale(.85); transition: opacity .18s var(--ease-out), scale .18s var(--ease-out); will-change: transform; }
.say.on { opacity: 1; transform: translate3d(var(--x, 0), var(--y, 0), 0) translate(-50%, -100%); }
body.grab, body.grab * { cursor: grab !important; }
body.grabbing, body.grabbing * { cursor: grabbing !important; user-select: none; -webkit-user-select: none; }

/* ── hero ── */
.hero { position: relative; z-index: 2; min-height: 100svh; display: flex; align-items: center; padding: 120px var(--gutter) 9vh; }
.hero .copy { max-width: min(600px, 44vw); }
.hero h1 { margin: 0; font: 400 clamp(58px, 6.4vw, 112px)/.94 Italiana; letter-spacing: -.01em; text-wrap: balance; }
.hero h1 .gold { color: var(--gold); }
.hero .lead { margin-top: 26px; max-width: 34ch; }
.hero .lead + .lead { margin-top: 2px; } /* two short lines under the title, as on the home page */
.board .parody { margin: 26px 0 0; }
@media (min-width: 861px) and (min-aspect-ratio: 124/100) { .board .copy { position: sticky; top: 132px; } } /* the words stay beside the pass */
.c-box .label { align-self: center; }
.t-kicker { font-weight: 300; }
.banner h3 svg { display: block; }
.hero .ctas { display: flex; align-items: center; flex-wrap: wrap; gap: 14px 22px; margin-top: 30px; }
.hero .chip { margin: 0 0 22px; }
.hero .eyebrow-row { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; margin: 0 0 22px; }
.hero .eyebrow-row .chip, .hero .eyebrow-row .eyebrow { margin: 0; }
.hero .chip { background: rgba(0, 0, 0, .35); }
.hero h1, .hero .lead, .hero .eyebrow, .toy, .board .h2, .board p { text-shadow: 0 1px 2px rgba(0, 0, 0, .9), 0 0 18px rgba(0, 0, 0, .8), 0 0 42px rgba(0, 0, 0, .55); }
.toy { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 14px; margin: 18px 0 0; font-size: 15px; color: var(--muted); }
.toy .hand { color: var(--gold); font: 300 12px/1 Jura; letter-spacing: .3em; text-transform: uppercase; }
.text-btn { appearance: none; border: 0; background: none; padding: 12px 0; margin: -12px 0; color: var(--ink); font: inherit; cursor: pointer; border-bottom: 1px solid var(--line); line-height: 1.1; }
.text-btn:hover { border-color: var(--ink); }
.launched { margin: 10px 0 0; font: 300 14px/1.3 Jura; letter-spacing: .12em; color: var(--gold); min-height: 1.3em; }

/* ── boarding: the copy beside the ticket ── */
.board { position: relative; z-index: 2; min-height: 100svh; padding: 132px var(--gutter) 110px; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 470px); gap: 40px 6vw; align-items: start; }
.board .copy { max-width: 440px; padding-top: 10px; }
.board .h2 { font-size: clamp(44px, 4.6vw, 76px); }
.board .lead { max-width: 38ch; }
.board .facts { list-style: none; margin: 28px 0 0; padding: 0; display: grid; gap: 10px; color: var(--muted); font-size: 15px; }
.board .facts li { display: flex; gap: 12px; align-items: baseline; }
.board .facts b { font: 300 13px/1 Jura; letter-spacing: .26em; text-transform: uppercase; color: var(--gold); min-width: 64px; }

/* ── the ticket ── */
[data-sec] .ticket { pointer-events: auto; }
.ticket { position: relative; width: 100%; border-radius: 26px; background: rgba(9, 9, 13, .74); border: 1px solid var(--line-soft);
  -webkit-backdrop-filter: blur(18px) saturate(1.1); backdrop-filter: blur(18px) saturate(1.1);
  box-shadow: 0 40px 90px rgba(0, 0, 0, .55), inset 0 1px 0 rgba(255, 255, 255, .06); font-size: 15px; scroll-margin-top: 90px; }
.ticket::before { content: ""; position: absolute; inset: -1px; border-radius: inherit; padding: 1px; pointer-events: none;
  background: linear-gradient(160deg, rgba(233, 185, 73, .55), rgba(233, 185, 73, 0) 34%, rgba(233, 185, 73, 0) 70%, rgba(233, 185, 73, .25));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; }
.t-part { padding: 22px 26px; }
.t-part + .t-part { padding-top: 20px; }
.t-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.t-kicker { margin: 0; font: 300 12px/1 Jura; letter-spacing: .34em; text-transform: uppercase; color: var(--gold); }
.t-wallet { display: flex; align-items: center; gap: 8px; margin-left: auto; }
.route { display: grid; grid-template-columns: auto 1fr auto auto; align-items: center; gap: 14px; margin: 20px 0 0; padding: 14px 0 0; border-top: 1px solid var(--line-soft); }
.route span { display: grid; gap: 5px; }
.route b { font: 300 22px/1 Jura; letter-spacing: .08em; }
.route i { font: 300 11px/1 Jura; font-style: normal; letter-spacing: .28em; text-transform: uppercase; color: var(--muted); }
.route .path { height: 14px; display: block; color: var(--gold); }
.route .path svg { width: 100%; height: 14px; }
.route .day { padding-left: 14px; border-left: 1px solid var(--line-soft); }
.route .day b { color: var(--gold); }

/* the perforation between the stub and the rest */
.perf { position: relative; height: 0; margin: 0 26px; border-top: 1.5px dashed rgba(236, 232, 225, .16); }
.perf::before, .perf::after { content: ""; position: absolute; top: -10px; width: 20px; height: 20px; border-radius: 50%; background: #000; border: 1px solid var(--line-soft); }
.perf::before { left: -37px; clip-path: inset(0 0 0 50%); }
.perf::after { right: -37px; clip-path: inset(0 50% 0 0); }

/* status banner (mint script: #m-banner data-tone) */
.banner { --tone: #A9C6FF; margin: 20px 0 0; }
.banner[data-tone="ok"] { --tone: #8FE3B0; }
.banner[data-tone="warn"] { --tone: #F4C26B; }
.banner[data-tone="error"] { --tone: #FF9C8F; }
.banner h3 { display: flex; align-items: flex-start; gap: 10px; margin: 0; font: 400 clamp(28px, 2.4vw, 34px)/1.08 Italiana; }
.banner h3 svg { width: 20px; height: 20px; flex: none; margin-top: 6px; color: var(--tone); }
.banner p { margin: 8px 0 0; color: var(--muted); font-size: 15px; line-height: 1.55; }
.banner p a { color: var(--ink); }
.banner .mono, .ticket .mono { font: 400 .92em/1.4 ui-monospace, "SF Mono", Menlo, Consolas, monospace; overflow-wrap: anywhere; }

/* countdown (site.js H.countdown) */
#m-countdown { margin-top: 18px; }
#m-countdown[hidden] { display: none; }
.countdown { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border: 1px solid var(--line-soft); border-radius: 16px; background: rgba(255, 255, 255, .02); }
.cd-cell { position: relative; display: grid; justify-items: center; gap: 7px; padding: 14px 4px 16px; border-left: 1px solid var(--line-soft); }
.cd-cell:first-child { border-left: 0; }
.cd-cell b { font: 300 clamp(28px, 2.6vw, 36px)/1 Jura; font-variant-numeric: tabular-nums; color: var(--ink); }
.cd-cell span { font: 300 10.5px/1 Jura; letter-spacing: .22em; text-transform: uppercase; color: var(--muted); }
.cd-bar { position: absolute; left: 24%; right: 24%; bottom: 6px; height: 2px; border-radius: 2px; background: rgba(236, 232, 225, .08); overflow: hidden; }
.cd-bar > i { display: block; height: 100%; width: 0; background: var(--gold); }
.cd-meta { margin: 10px 0 0; color: #8E9198; font-size: 13px; line-height: 1.5; }

/* numbers */
.stats { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.stat { display: grid; gap: 6px; align-content: start; }
.label { font: 300 11.5px/1 Jura; letter-spacing: .24em; text-transform: uppercase; color: var(--muted); }
.t-val { font: 300 24px/1.15 Jura; font-variant-numeric: tabular-nums; color: var(--ink); }
.t-val.sm { font-size: 18px; }
.progress { position: relative; height: 4px; margin: 16px 0 0; border-radius: 4px; background: rgba(236, 232, 225, .08); overflow: hidden; }
.progress > span { position: absolute; inset: 0 auto 0 0; width: 0; background: linear-gradient(90deg, var(--gold), var(--gold-hi)); border-radius: 4px; transition: width .6s var(--ease-out); }
.qty-row { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin-top: 22px; }
.qty-row .stat:last-child { text-align: right; justify-items: end; }
.stepper { display: inline-flex; align-items: center; border: 1px solid var(--line); border-radius: 999px; }
.stepper button { width: 44px; height: 44px; border: 0; background: none; color: var(--ink); font: 300 22px/1 Jura; cursor: pointer; border-radius: 999px; }
.stepper button:hover:not(:disabled) { background: rgba(255, 255, 255, .06); }
.stepper button:disabled { color: rgba(236, 232, 225, .25); cursor: not-allowed; }
.stepper [role="spinbutton"] { min-width: 40px; text-align: center; font: 300 22px/1 Jura; font-variant-numeric: tabular-nums; }
.t-total { display: grid; gap: 4px; justify-items: end; }
.t-total .small { font-size: 12.5px; color: var(--muted); }
.max-line { margin: 10px 0 0; font-size: 13px; color: var(--muted); }

/* the one button (mint script: btn btn-lg btn-block btn-<kind>) */
.act { margin-top: 22px; }
.btn-lg { padding: 18px 28px; font-size: 17px; }
.btn-block { width: 100%; }
.btn-mint, .btn-primary { background: var(--gold); color: #0B0904; }
.btn-light { background: var(--ink); color: #0B0904; }
.btn-light:hover { background: #fff; }
.btn-secondary { background: rgba(255, 255, 255, .03); color: var(--ink); border: 1px solid var(--line); }
.btn-secondary:hover { background: rgba(255, 255, 255, .07); border-color: rgba(236, 232, 225, .45); }
.btn-warn { background: #F4C26B; color: #1A1204; }
.btn-warn:hover { background: #F8D28A; }
.btn[aria-disabled="true"]:hover, .btn[aria-busy="true"]:hover { transform: none; }
.btn[aria-disabled="true"].btn-mint:hover { background: var(--gold); }
.btn svg { width: 16px; height: 16px; flex: none; }
.btn-reason { margin: 10px 0 0; font-size: 13px; color: var(--muted); text-align: center; }
.btn-reason[hidden] { display: none; }
.row { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 12px; }
.row:empty { display: none; }
.row .btn { flex: 1 1 auto; }
.ring-mini { width: 16px; height: 16px; flex: none; animation: spin 1s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.seq { margin: 16px 0 0; font-size: 13px; color: #8E9198; }

/* contract row and the checks before signing */
.c-box { display: grid; grid-template-columns: auto 1fr; gap: 6px 16px; align-items: baseline; }
.c-box .c-val { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; min-width: 0; }
.c-box .c-sub { grid-column: 1 / -1; font-size: 13px; color: #8E9198; margin: 4px 0 0; }
.c-box .c-sub code { font: 400 .95em ui-monospace, Menlo, Consolas, monospace; color: var(--muted); }
.mini { display: inline-grid; place-items: center; width: 44px; height: 44px; margin: -8px 0; border: 0; border-radius: 999px; background: none; color: var(--muted); cursor: pointer; }
.mini:hover { color: var(--ink); background: rgba(255, 255, 255, .06); }
.mini svg { width: 17px; height: 17px; }
.checks { list-style: none; margin: 18px 0 0; padding: 16px 0 0; border-top: 1px solid var(--line-soft); display: grid; gap: 9px; font-size: 14px; color: var(--muted); }
.checks .h { color: var(--ink); font: 300 11.5px/1 Jura; letter-spacing: .24em; text-transform: uppercase; margin-bottom: 3px; }
.checks li { display: flex; gap: 10px; align-items: baseline; }
.checks li::before { content: ""; flex: none; width: 6px; height: 6px; border-radius: 50%; border: 1.4px solid var(--gold); transform: translateY(-1px); }
.checks .h::before { display: none; }
.checks .code { color: var(--ink); font: 400 .95em ui-monospace, Menlo, Consolas, monospace; overflow-wrap: anywhere; }
.netd { margin: 16px 0 0; border-top: 1px solid var(--line-soft); }
.netd summary { cursor: pointer; list-style: none; display: flex; align-items: center; justify-content: space-between; min-height: 48px; font-size: 14px; color: var(--muted); }
.netd summary::-webkit-details-marker { display: none; }
.netd summary::after { content: "+"; font: 300 20px/1 Jura; color: var(--gold); transition: transform .2s var(--ease-out); }
.netd[open] summary::after { transform: rotate(45deg); }
.netd summary:hover { color: var(--ink); }
.dl { display: grid; grid-template-columns: auto 1fr; gap: 6px 16px; margin: 0; font-size: 14px; }
.dl dt { color: var(--muted); }
.dl dd { margin: 0; overflow-wrap: anywhere; }
.dl dd.code { font: 400 13px/1.5 ui-monospace, Menlo, Consolas, monospace; }
.netd .note { margin: 10px 0 4px; }
.fine { margin: 18px 0 0; font-size: 12.5px; line-height: 1.55; color: #7E8188; }

/* ── what site.js draws: the network chip, the wallet button and its menu ── */
.net-chip { display: inline-flex; align-items: center; gap: 7px; height: 32px; padding: 0 12px; border-radius: 999px; border: 1px solid var(--line-soft); font: 300 11px/1 Jura; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); }
.net-chip .dot, .wallet-btn .dot { width: 7px; height: 7px; border-radius: 50%; background: rgba(236, 232, 225, .35); flex: none; }
.net-chip[data-state="ok"] .dot, .wallet-btn .dot.ok { background: #8FE3B0; box-shadow: 0 0 10px rgba(143, 227, 176, .6); }
.net-chip[data-state="wrong"] { color: #F4C26B; border-color: rgba(244, 194, 107, .4); }
.net-chip[data-state="wrong"] .dot { background: #F4C26B; }
.wallet-wrap { position: relative; }
.wallet-btn { min-height: 44px; padding: 0 16px; font-size: 14px; gap: 8px; }
.wallet-btn .w-ico { display: inline-flex; }
.wallet-btn .w-ico svg { width: 17px; height: 17px; }
.wallet-btn .bal { color: var(--muted); font: 300 13px/1 Jura; }
.wallet-btn .mono { font: 400 13px/1 ui-monospace, Menlo, Consolas, monospace; }
.wallet-wrap .wallet-menu { display: block; position: absolute; right: 0; top: calc(100% + 8px); z-index: 40; min-width: 250px; padding: 6px; margin: 0;
  background: rgba(16, 16, 20, .97); border: 1px solid var(--line); border-radius: 16px; box-shadow: 0 24px 60px rgba(0, 0, 0, .6); }
.wallet-menu .mono { padding: 10px 12px; color: var(--muted); font: 400 12px/1.4 ui-monospace, Menlo, Consolas, monospace; overflow-wrap: anywhere; }
.wallet-menu button, .wallet-menu a { display: flex; width: 100%; align-items: center; gap: 10px; min-height: 44px; padding: 0 12px; border: 0; border-radius: 10px; background: none; color: var(--ink); text-decoration: none; font: 400 15px/1 "Work Sans", sans-serif; text-align: left; cursor: pointer; }
.wallet-menu button:hover, .wallet-menu a:hover, .wallet-menu :focus-visible { background: rgba(255, 255, 255, .07); }
.wallet-menu svg { width: 17px; height: 17px; }

/* dialogs (wallet help) */
body.scroll-lock { overflow: hidden; }
dialog.modal { width: min(480px, calc(100vw - 32px)); max-height: calc(100dvh - 48px); padding: 0; border: 1px solid var(--line); border-radius: 24px; background: #0E0E12; color: var(--ink); box-shadow: 0 40px 100px rgba(0, 0, 0, .7); overflow: auto; overscroll-behavior: contain; }
dialog.modal::backdrop { background: rgba(0, 0, 0, .66); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); }
dialog.modal[open] { animation: pop .28s var(--ease-out); }
@keyframes pop { from { opacity: 0; transform: translateY(10px) scale(.98); } }
.modal-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 18px 18px 6px 26px; }
.modal-head h2 { margin: 0; font: 400 30px/1.1 Italiana; }
.modal-head h2:focus { outline: none; }
.modal-body { padding: 8px 26px 22px; color: var(--muted); font-size: 15.5px; }
.modal-body p { margin: 0 0 12px; }
.modal-body p:first-child { color: var(--ink); }
.modal-actions { display: flex; flex-wrap: wrap; gap: 12px; justify-content: flex-end; padding: 0 26px 24px; }
.x-btn { width: 44px; height: 44px; flex: none; display: grid; place-items: center; border: 1px solid var(--line-soft); border-radius: 999px; background: none; color: var(--ink); cursor: pointer; }
.x-btn:hover { border-color: var(--ink); }
.x-btn svg { width: 17px; height: 17px; }

/* toasts */
.toasts { position: fixed; z-index: 100; right: 16px; bottom: 16px; display: grid; gap: 8px; width: min(400px, calc(100vw - 32px)); pointer-events: none; }
.toast { pointer-events: auto; display: grid; grid-template-columns: auto 1fr auto; gap: 10px; align-items: start; padding: 12px 4px 12px 14px; border-radius: 16px;
  background: rgba(16, 16, 20, .96); border: 1px solid var(--line); border-left: 3px solid var(--tc, #A9C6FF); box-shadow: 0 20px 50px rgba(0, 0, 0, .6); color: var(--ink); font-size: 14.5px; line-height: 1.45; animation: pop .25s var(--ease-out); }
.toast .t-ico { width: 20px; height: 20px; margin-top: 1px; color: var(--tc, #A9C6FF); }
.toast .t-ico svg { width: 20px; height: 20px; }
.toast .t-body a { color: var(--gold); }
.toast .t-close { width: 44px; height: 44px; margin: -10px 0; border: 0; background: none; color: var(--muted); border-radius: 999px; display: grid; place-items: center; cursor: pointer; }
.toast .t-close svg { width: 17px; height: 17px; }
.toast .t-close:hover { color: var(--ink); }
.toast-success, .toast-tx.done { --tc: #8FE3B0; }
.toast-warn, .toast-tx { --tc: #F4C26B; }
.toast-error { --tc: #FF9C8F; }

/* ── the result: a live 3D HiMan (the viewer in an iframe) and its card ── */
.result { position: relative; z-index: 2; padding: 40px var(--gutter) 110px; }
.result[hidden] { display: none; }
.result:focus { outline: none; }
.result-grid-2 { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 32px; align-items: start; margin-top: 26px; }
.live { position: relative; aspect-ratio: 1; border-radius: 24px; overflow: hidden; background: #08080C; border: 1px solid var(--line-soft); }
.live > img, .live > .ph, .live > iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; object-fit: cover; }
.live > iframe { opacity: 0; transition: opacity .4s; }
.live.is-live > iframe { opacity: 1; }
.live.is-settling > iframe { opacity: .001; }
.live-tag { position: absolute; left: 12px; top: 12px; z-index: 2; display: inline-flex; align-items: center; gap: 7px; padding: 6px 11px; border-radius: 999px; background: rgba(0, 0, 0, .55); font: 300 11px/1 Jura; letter-spacing: .2em; text-transform: uppercase; color: var(--ink); }
.live-tag .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--gold); }
.live .loader { position: absolute; right: 14px; top: 14px; z-index: 2; display: none; color: var(--gold); }
.live.is-loading .loader { display: block; }
.result-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 12px; }
.tcard { display: grid; text-decoration: none; border-radius: 16px; overflow: hidden; border: 1px solid var(--line-soft); background: rgba(12, 12, 16, .7); }
.tcard .art { position: relative; aspect-ratio: 1; background: linear-gradient(var(--sky, #120A24), var(--fog, #22123E)); }
.tcard .art img { width: 100%; height: 100%; object-fit: cover; }
.tcard .idp { position: absolute; left: 8px; bottom: 8px; padding: 4px 8px; border-radius: 999px; background: rgba(0, 0, 0, .6); font: 300 12px/1 Jura; }
.tcard .meta { display: grid; gap: 6px; padding: 10px 12px 12px; }
.tcard .nm { font-size: 15px; }
.tcard .r2 { display: flex; gap: 8px; align-items: center; color: var(--muted); font-size: 12.5px; }
.tcard .tier { display: inline-flex; align-items: center; gap: 5px; }
.tcard .tier svg { width: 12px; height: 12px; color: var(--gold); }
.tcard .mood { position: absolute; right: 8px; bottom: 8px; }
.tcard .mood svg { width: 26px; height: 26px; }
.r-actions { margin-top: 16px; }

/* ── phones: the price and the one button stay in reach once the ticket is scrolled away ── */
.mint-sticky { display: none; }
@media (max-width: 960px) {
  .mint-sticky { position: fixed; z-index: 30; left: 12px; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom, 0px)); display: flex; align-items: center; justify-content: space-between; gap: 12px;
    padding: 10px 10px 10px 18px; border-radius: 999px; background: rgba(14, 14, 18, .9); border: 1px solid var(--line); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
    box-shadow: 0 16px 40px rgba(0, 0, 0, .6); transition: transform .3s var(--ease-out), opacity .3s; }
  .mint-sticky[data-off] { transform: translateY(140%); opacity: 0; pointer-events: none; }
  .mint-sticky .p { display: grid; gap: 4px; }
  .mint-sticky b { font: 300 16px/1 Jura; }
  .mint-sticky .btn { padding: 13px 18px; font-size: 14.5px; }
  .toasts { left: 50%; right: auto; transform: translateX(-50%); bottom: calc(86px + env(safe-area-inset-bottom, 0px)); }
}

@media (max-width: 860px), (max-aspect-ratio: 124/100) {
  .hero { align-items: flex-end; padding: 96px 20px max(28px, 5vh); }
  .hero .copy { max-width: 560px; }
  .hero h1 { font-size: clamp(46px, 12.6vw, 76px); }
  .hero .lead { margin-top: 18px; font-size: 16.5px; }
  .hero .ctas { margin-top: 22px; }
  .hero .eyebrow-row { margin-bottom: 16px; }
  .toy { margin-top: 14px; font-size: 14px; }
  .board { grid-template-columns: minmax(0, 1fr); padding: 96px 16px 96px; gap: 26px; min-height: 0; }
  .board .copy { padding-top: 0; }
  .board .h2 { font-size: clamp(40px, 11vw, 60px); }
  .ticket { max-width: 560px; }
  .result { padding: 20px 16px 96px; }
  .result-grid-2 { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 420px) {
  .t-part { padding: 20px 18px; }
  .perf { margin: 0 18px; }
  .perf::before { left: -29px; } .perf::after { right: -29px; }
  .route { gap: 10px; }
  .route b { font-size: 19px; }
  .t-wallet { margin-left: 0; width: 100%; justify-content: space-between; }
  .cd-cell b { font-size: 26px; }
  .cd-cell span { letter-spacing: .14em; }
  .t-val { font-size: 21px; }
}
@media (prefers-reduced-motion: reduce) { .say { transition: none; } .progress > span { transition: none; } }

/* phones: the words stay compact so the HiMen above them get room */
.toy .short { display: none; }
@media (max-width: 420px) {
  .hero .lead { font-size: 16px; line-height: 1.45; margin-top: 14px; }
  .hero .ctas .link { display: none; } /* Enter the World is in the menu */
  .toy .hand, .toy .long { display: none; }
  .toy .short { display: inline; }
}
