/* Punchtown in daylight: the town square's warm parchment and dusk tones all the way down, ink outlines,
   the logo's yellow as the only loud colour. */
@font-face { font-family: 'Lilita One'; src: url('fonts/LilitaOne-Regular.ttf') format('truetype'); font-display: block; }
@font-face { font-family: 'Nunito'; src: url('fonts/Nunito.ttf') format('truetype'); font-weight: 200 1000; font-display: swap; }
@font-face { font-family: 'Pixelify'; src: url('fonts/PixelifySans.ttf') format('truetype'); font-weight: 400 700; font-display: swap; }

:root {
  --ink: #14101c;
  --cocoa: #3d2b30;      /* the town's darkest timber */
  --mauve: #8a6f72;      /* roofs and shade */
  --rose: #c48f7e;       /* dusk brick */
  --paper: #f6e9cc;      /* sunlit plaster */
  --paper-2: #eedcb5;    /* the same, in shade */
  --cream: #fff8e8;
  --sun: #ffd23f;
  --honey: #ffaa28;
  --dusk: #2a2030;       /* the square after the lanterns come on */
  --dusk-2: #3a2c40;
  --line: rgb(61 43 48 / 0.18);
}

* { box-sizing: border-box; }
html { scroll-padding-top: 76px; }
html.lenis, html.lenis body { height: auto; }
body { margin: 0; background: var(--paper); color: var(--cocoa); font: 600 18px/1.6 'Nunito', system-ui, sans-serif; -webkit-font-smoothing: antialiased; }
img, video, canvas { display: block; max-width: 100%; height: auto; }
.px { image-rendering: pixelated; }
a { color: inherit; }
h2, h3, h4, .btn, .eyebrow, .tag, figcaption, summary, .step-n { font-family: 'Lilita One', system-ui, sans-serif; font-weight: 400; }
h3 { margin: 0 0 6px; font-size: 24px; line-height: 1.15; color: var(--ink); }
p { margin: 0; }

/* Announcement bar */
.news { display: block; position: relative; z-index: 41; text-align: center; padding: 8px 16px; background: var(--ink); color: var(--paper); font: 700 14px 'Nunito', system-ui, sans-serif; text-decoration: none; }
.news b { font: 400 13px 'Lilita One', 'Arial Black', system-ui, sans-serif; background: var(--sun); color: var(--ink); padding: 1px 8px; margin-right: 8px; letter-spacing: 0.06em; text-transform: uppercase; }
.news span { color: var(--sun); margin-left: 6px; }

.btn { display: inline-block; padding: 12px 26px; font-size: 20px; text-decoration: none; color: var(--ink); border: 3px solid var(--ink); border-radius: 6px; box-shadow: 0 5px 0 var(--ink); cursor: pointer; transition: transform 0.1s, box-shadow 0.1s; }
.btn:hover { transform: translateY(-2px); box-shadow: 0 7px 0 var(--ink); }
.btn:active { transform: translateY(4px); box-shadow: 0 1px 0 var(--ink); }
.btn-sun { background: var(--sun); }
.btn-sm { padding: 6px 14px; font-size: 16px; box-shadow: 0 4px 0 var(--ink); }

/* Nav: clear over the town, plaster once you scroll */
.nav { position: fixed; top: 0; left: 0; right: 0; z-index: 40; display: flex; align-items: center; gap: 22px; padding: 12px clamp(14px, 3vw, 40px); transition: background 0.25s, box-shadow 0.25s, top 0.25s; }
.nav.solid { background: rgb(246 233 204 / 0.92); backdrop-filter: blur(8px); box-shadow: 0 1px 0 var(--line); }
.nav-logo img { height: 40px; width: auto; opacity: 0; transform: translateY(-8px); transition: opacity 0.25s, transform 0.25s; }
.nav.solid .nav-logo img { opacity: 1; transform: none; }
.nav-links { display: flex; gap: 22px; margin-left: auto; }
.nav-links a { font: 800 15px 'Nunito', system-ui, sans-serif; text-decoration: none; color: var(--ink); }
.nav-links a:hover { color: var(--mauve); }

/* The walk */
.walk { position: relative; height: 240vh; }
.walk-view { position: sticky; top: 0; height: 100svh; overflow: hidden; background: var(--paper-2); }
#walk { width: 100%; height: 100%; object-fit: cover; image-rendering: pixelated; }
.walk-intro { position: absolute; inset: 0; display: grid; place-content: center; justify-items: center; gap: 14px; padding: 90px 16px 40px; text-align: center; }
.walk-logo { width: min(820px, 92vw); filter: drop-shadow(0 10px 0 rgb(20 16 28 / 0.35)); }
.walk-tag { font: 400 clamp(30px, 4.4vw, 54px) 'Lilita One', 'Arial Black', system-ui, sans-serif; color: #fff; -webkit-text-stroke: 3px var(--ink); paint-order: stroke fill; text-shadow: 0 4px 0 var(--ink); }
.scroll-cue { font: 700 16px 'Pixelify', ui-monospace, monospace; color: var(--cream); background: rgb(20 16 28 / 0.7); padding: 4px 12px; border-radius: 4px; }
.bubble { position: absolute; max-width: min(380px, 80vw); background: var(--cream); border: 3px solid var(--ink); border-radius: 6px; box-shadow: 0 6px 0 var(--ink); padding: 14px 16px; font: 500 19px/1.35 'Pixelify', ui-monospace, monospace; color: var(--ink); opacity: 0; pointer-events: none; }
.bubble b { display: block; width: max-content; margin: -30px 0 8px -4px; background: var(--sun); border: 3px solid var(--ink); border-radius: 4px; padding: 2px 10px; font: 700 15px 'Pixelify', ui-monospace, monospace; }
.bubble::after { content: ''; position: absolute; left: 34px; bottom: -18px; border: 9px solid transparent; border-top: 11px solid var(--ink); }
.bubble-npc b { background: var(--rose); color: #fff; }
.walk-bar { position: absolute; left: 0; right: 0; bottom: 0; height: 6px; background: rgb(20 16 28 / 0.2); }
.walk-bar i { display: block; height: 100%; background: var(--sun); transform-origin: 0 50%; transform: scaleX(0); }

/* Waitlist */
.waitlist { width: min(460px, 92vw); padding: 14px 16px 12px; text-align: left; background: var(--cream); border: 3px solid var(--ink); border-radius: 8px; box-shadow: 0 6px 0 var(--ink); }
.waitlist label { display: block; font: 400 21px 'Lilita One', 'Arial Black', system-ui, sans-serif; color: var(--ink); margin-bottom: 8px; }
.waitlist-row { display: flex; gap: 10px; }
.waitlist input { flex: 1; min-width: 0; font: 700 17px 'Nunito', system-ui, sans-serif; padding: 10px 12px; border: 3px solid var(--ink); border-radius: 6px; background: #fff; color: var(--ink); }
.waitlist input:focus { outline: 3px solid var(--sun); outline-offset: 1px; }
.waitlist .btn { padding: 8px 18px; }
.waitlist-note { display: block; margin-top: 8px; font-size: 14px; color: var(--mauve); }
.waitlist.done .waitlist-row { display: none; }

/* A band of world names, like a street banner */
.marquee { overflow: hidden; background: var(--ink); color: var(--paper); border-top: 3px solid var(--sun); }
.marquee-run { display: flex; width: max-content; }
.marquee span { font: 400 20px 'Lilita One', 'Arial Black', system-ui, sans-serif; letter-spacing: 0.08em; text-transform: uppercase; padding: 14px 28px; white-space: nowrap; }
.marquee span::after { content: ''; display: inline-block; width: 8px; height: 8px; background: var(--sun); margin-left: 56px; vertical-align: middle; }

/* Sections share one warm ground; only the dusk sections change mood */
.sec { position: relative; padding: clamp(80px, 10vw, 136px) clamp(18px, 5vw, 64px); }
.sec-tint { background: var(--paper-2); }
.sec-dusk { background: var(--dusk); color: #d9c9c4; }
.sec-deep { background: linear-gradient(var(--paper-2), var(--paper)); }
.wrap { max-width: 1180px; margin: 0 auto; }
.eyebrow { display: inline-block; font-size: 14px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--mauve); margin-bottom: 12px; }
.eyebrow::before { content: ''; display: inline-block; width: 8px; height: 8px; background: var(--sun); outline: 2px solid var(--ink); margin-right: 10px; vertical-align: 2px; }
.sec-dusk .eyebrow { color: #b79aa0; }
.title { margin: 0 0 18px; font-size: clamp(38px, 5.4vw, 72px); line-height: 1; color: var(--ink); letter-spacing: 0.005em; }
.title span { color: var(--ink); background: linear-gradient(transparent 58%, var(--sun) 58% 92%, transparent 92%); padding: 0 4px; }
.sec-dusk .title { color: var(--cream); }
.sec-dusk .title span { color: var(--sun); background: none; padding: 0; }
.lead { font-size: clamp(18px, 1.7vw, 21px); max-width: 700px; margin-bottom: 44px; }

/* How it plays */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border-top: 2px solid var(--ink); }
.step { padding: 28px 28px 8px 0; }
.step + .step { padding-left: 28px; border-left: 1px solid var(--line); }
.step-n { display: block; font-size: 64px; line-height: 1; color: var(--sun); -webkit-text-stroke: 2px var(--ink); paint-order: stroke fill; margin-bottom: 12px; }

/* Trailer */
.screen { border-radius: 10px; overflow: hidden; border: 3px solid var(--ink); box-shadow: 0 20px 60px rgb(0 0 0 / 0.45); background: #000; }
.screen img, .screen iframe, .screen video { width: 100%; aspect-ratio: 16 / 9; border: 0; display: block; }

/* Features bento */
.bento { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 300px; gap: 16px; }
.tile { position: relative; overflow: hidden; border-radius: 10px; border: 2px solid var(--ink); background: var(--dusk); color: var(--cream); }
.tile > img, .tile > video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s; }
.tile:hover > img, .tile:hover > video { transform: scale(1.04); }
.tile-text { position: absolute; left: 0; right: 0; bottom: 0; padding: 60px 20px 18px; background: linear-gradient(transparent, rgb(20 16 28 / 0.88)); }
.tile-text h3 { color: #fff; margin-bottom: 4px; }
.tile-text p { font-size: 15px; line-height: 1.45; color: #e8dcd6; }
.t-wide { grid-column: span 2; }
.t-tall { grid-row: span 2; background: var(--dusk-2); }
.tile-cards { position: absolute; inset: 24px 12px 160px; display: grid; place-items: center; }
.tile-cards img { grid-area: 1 / 1; width: 46%; filter: drop-shadow(0 8px 10px rgb(0 0 0 / 0.5)); }
.tile-cards img:nth-child(1) { transform: rotate(-12deg) translateX(-40%); }
.tile-cards img:nth-child(2) { transform: rotate(10deg) translateX(40%); }
.tile-cards img:nth-child(3) { transform: translateY(-6%); }
.t-pets { background: #f0d9a8; }
.tile-pets { position: absolute; inset: 30px 16px 120px; display: grid; grid-template-columns: 1fr 1fr; place-items: center; }
.tile-pets img { max-width: none; }

/* The armory: an inventory, not a sticker sheet */
.armory { display: grid; grid-template-columns: 1fr 260px; grid-template-rows: auto 1fr; gap: 18px 24px; background: #221a28; border: 2px solid #4a3a50; border-radius: 12px; padding: 22px; }
.armory-tabs { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 6px; }
.armory-tabs button { font: 800 14px 'Nunito', system-ui, sans-serif; color: #b8a5ab; background: transparent; border: 1px solid #4a3a50; border-radius: 999px; padding: 6px 14px; cursor: pointer; }
.armory-tabs button.on { color: var(--ink); background: var(--sun); border-color: var(--sun); }
.armory-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(76px, 1fr)); gap: 6px; align-content: start; }
.slot { position: relative; aspect-ratio: 1; display: grid; place-items: center; background: #2d2333; border: 1px solid #3f3146; border-radius: 6px; cursor: pointer; transition: background 0.15s, transform 0.15s; }
.slot img { max-width: none; image-rendering: pixelated; }
.slot::after { content: ''; position: absolute; left: 8px; right: 8px; bottom: 5px; height: 2px; border-radius: 2px; background: var(--r); opacity: 0.85; }
.slot:hover, .slot.on { background: #3a2e42; transform: translateY(-2px); }
.slot.on { outline: 2px solid var(--sun); }
.armory-info { align-self: start; border: 1px solid #4a3a50; border-radius: 10px; padding: 18px; min-height: 220px; display: grid; justify-items: center; align-content: start; text-align: center; gap: 8px; background: #2a2131; }
.armory-info img { image-rendering: pixelated; max-width: none; margin: 10px 0; }
.armory-info div { display: grid; gap: 2px; }
.armory-info b { font: 400 22px 'Lilita One', 'Arial Black', system-ui, sans-serif; color: var(--cream); }
.armory-info i { font-style: normal; font: 800 12px 'Nunito', system-ui, sans-serif; letter-spacing: 0.14em; text-transform: uppercase; color: var(--r); }
.armory-info small { color: #a8949a; font-size: 14px; }
.armory-info > span { color: #8f7c84; margin-top: 80px; }

/* Worlds */
.worlds { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px 22px; }
.world { margin: 0; }
.world img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 8px; border: 2px solid var(--ink); }
.world figcaption { padding: 12px 2px 0; font-size: 24px; line-height: 1.1; color: var(--ink); }
.world small, .world em { display: block; font-style: normal; }
.world small { font: 800 12px 'Nunito', system-ui, sans-serif; letter-spacing: 0.14em; text-transform: uppercase; color: var(--mauve); margin-bottom: 2px; }
.world em { font: 700 15px 'Nunito', system-ui, sans-serif; color: var(--mauve); margin-top: 4px; }

/* Cards */
.cards { display: flex; justify-content: center; flex-wrap: wrap; gap: 18px; }
.cards { max-width: 1100px; margin: 0 auto; }
.card { width: 138px; transition: transform 0.2s; }
.card img { width: 100%; filter: drop-shadow(0 8px 10px rgb(61 43 48 / 0.35)); }
.card span { display: block; text-align: center; font: 400 16px 'Lilita One', 'Arial Black', system-ui, sans-serif; margin-top: 8px; color: var(--ink); }
.card:hover { transform: translateY(-12px) rotate(0deg) !important; }

/* Hero line-up and town moods */
.lineup { border-radius: 12px; overflow: hidden; border: 2px solid var(--ink); margin: 10px 0 34px; }
.lineup img { width: 100%; aspect-ratio: 16 / 7; object-fit: cover; object-position: 50% 78%; }
.moods { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.moods figure { margin: 0; }
.moods img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; border-radius: 8px; border: 2px solid var(--ink); }
.moods figcaption { padding: 8px 2px 0; font-size: 19px; color: var(--ink); }

/* Roadmap */
.road { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, 1fr); border-top: 2px solid var(--ink); }
.stop { padding: 22px 20px 6px 0; position: relative; }
.stop + .stop { padding-left: 20px; border-left: 1px solid var(--line); }
.stop::before { content: ''; position: absolute; top: -8px; left: 0; width: 12px; height: 12px; background: var(--paper-2); border: 2px solid var(--ink); }
.stop + .stop::before { left: 20px; }
.stop.done::before { background: var(--ink); }
.stop.now::before { background: var(--sun); animation: blink 1.2s steps(2) infinite; }
.tag { display: inline-block; font-size: 13px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--mauve); margin-bottom: 6px; }
.stop.now .tag { color: var(--ink); background: var(--sun); padding: 0 6px; }
.stop p { font-size: 15px; }
@keyframes blink { 50% { background: var(--cream); } }

/* About */
.about { display: grid; grid-template-columns: 1.2fr 1fr; gap: clamp(30px, 5vw, 80px); align-items: start; }
.about p + p { margin-top: 14px; }
.facts { border-top: 2px solid var(--ink); }
.facts div { display: grid; grid-template-columns: 130px 1fr; gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.facts b { font: 400 18px 'Lilita One', 'Arial Black', system-ui, sans-serif; color: var(--ink); }
.facts span { font-size: 16px; }

/* FAQ */
.faq { display: grid; grid-template-columns: 1fr 1.5fr; gap: clamp(30px, 5vw, 80px); align-items: start; }
details { border-bottom: 1px solid var(--line); }
details:first-child { border-top: 2px solid var(--ink); }
summary { cursor: pointer; font-size: 21px; color: var(--ink); padding: 18px 30px 18px 0; list-style: none; position: relative; }
summary::-webkit-details-marker { display: none; }
summary::after { content: '+'; position: absolute; right: 4px; top: 16px; font-size: 24px; transition: transform 0.2s; }
details[open] summary::after { transform: rotate(45deg); }
details p { padding: 0 0 20px; font-size: 17px; }

/* Join */
.join { position: relative; padding: clamp(100px, 12vw, 160px) 20px; text-align: center; background: url('media/dusk.webp') center 70% / cover; image-rendering: pixelated; }
.join::before { content: ''; position: absolute; inset: 0; background: rgb(42 32 48 / 0.55); }
.join-in { position: relative; display: grid; justify-items: center; gap: 22px; }
.join-logo { width: min(560px, 86vw); filter: drop-shadow(0 10px 0 rgb(20 16 28 / 0.4)); }
.join .title { color: #fff; -webkit-text-stroke: 3px var(--ink); paint-order: stroke fill; text-shadow: 0 5px 0 var(--ink); }
.join .title span { background: none; color: var(--sun); padding: 0; }

/* Footer */
.foot { background: var(--ink); color: #b8a8ad; padding: 64px clamp(18px, 5vw, 64px) 28px; }
.foot-top { max-width: 1180px; margin: 0 auto; display: grid; grid-template-columns: 2fr repeat(4, 1fr); gap: 30px; }
.foot-brand img { width: 210px; margin-bottom: 14px; }
.foot-brand p { font-size: 15px; max-width: 280px; }
.foot h3.foot-h, .foot h4 { margin: 0 0 12px; font-size: 16px; color: var(--cream); letter-spacing: 0.04em; }
.foot-top a { display: block; font-size: 15px; text-decoration: none; padding: 3px 0; }
.foot-top a:hover { color: var(--sun); }
.foot-bottom { max-width: 1180px; margin: 44px auto 0; padding-top: 20px; border-top: 1px solid #2e2636; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; font-size: 13px; color: #a395a0; }

@media (max-width: 960px) {
  .nav-links { display: none; }
  .nav .btn-sm { margin-left: auto; }
  .bento { grid-template-columns: 1fr 1fr; grid-auto-rows: 260px; }
  .t-tall { grid-row: span 1; }
  .tile-cards { inset: 16px 12px 110px; } .tile-cards img { width: 30%; }
  .armory { grid-template-columns: 1fr; } .armory-info { min-height: 0; grid-auto-flow: column; justify-content: start; align-items: center; text-align: left; gap: 18px; } .armory-info > span { margin: 0; }
  .worlds { grid-template-columns: 1fr 1fr; }
  .moods { grid-template-columns: 1fr 1fr; }
  .road { grid-template-columns: 1fr 1fr; gap: 0 0; }
  .about, .faq { grid-template-columns: 1fr; }
  .foot-top { grid-template-columns: 1fr 1fr; } .foot-brand { grid-column: 1 / -1; }
}
@media (max-width: 600px) {
  body { font-size: 17px; }
  .steps, .worlds, .road { grid-template-columns: 1fr; }
  .step + .step, .stop + .stop { padding-left: 0; border-left: 0; border-top: 1px solid var(--line); }
  .stop + .stop::before { left: 0; }
  .bento { grid-template-columns: 1fr; }
  .t-wide { grid-column: auto; }
  .card { width: 104px; }
  .armory-grid { grid-template-columns: repeat(auto-fill, minmax(44px, 1fr)); gap: 4px; }
  .armory { padding: 14px; }
  .facts div { grid-template-columns: 1fr; gap: 2px; }
  .bubble { left: 5% !important; right: 5% !important; top: auto !important; bottom: 12%; }
  .lineup img { aspect-ratio: 4 / 3; }
}
@media (prefers-reduced-motion: reduce) { .stop.now::before { animation: none; } }

/* Post-processing over the walk: warm grade, swaying sun shafts, pixel petals, vignette. */
#walk { filter: saturate(1.08) contrast(1.04); background: #d9c2a5 url('media/idle-s/f000.webp') center / cover no-repeat; image-rendering: pixelated; }
.fx { position: absolute; inset: 0; pointer-events: none; }
.fx > * { position: absolute; inset: 0; }
.shafts { background: repeating-linear-gradient(105deg, transparent 0 9%, rgb(255 236 190 / 0.13) 11% 15%, transparent 17% 30%); mix-blend-mode: screen; animation: shafts 9s ease-in-out infinite alternate; transform-origin: 70% 0; }
@keyframes shafts { from { transform: skewX(-4deg) translateX(-3%); opacity: 0.7; } to { transform: skewX(3deg) translateX(3%); opacity: 1; } }
#petals { width: 100%; height: 100%; image-rendering: pixelated; }
.vignette { background: radial-gradient(ellipse at 50% 45%, transparent 55%, rgb(40 20 30 / 0.45) 100%), linear-gradient(rgb(255 210 150 / 0.06), rgb(255 160 120 / 0.06)); mix-blend-mode: multiply; }
@media (prefers-reduced-motion: reduce) { .shafts { animation: none; } }

/* The logo is the page's largest paint: visible from the first frame, a CSS-only punch-in (no wait for scripts). */
.walk-logo { animation: logoIn 0.7s cubic-bezier(0.2, 1.6, 0.4, 1) both; }
@keyframes logoIn { from { transform: scale(0.82) rotate(-3deg); } }
@media (prefers-reduced-motion: reduce) { .walk-logo { animation: none; } }

/* Trailer: plays (muted) when it scrolls into view; keeps playing as a mini player bottom-right when you scroll on. */
.trailer-slot { position: relative; aspect-ratio: 16 / 9; }
.trailer-box { position: absolute; inset: 0; }
.trailer-box video { width: 100%; height: 100%; display: block; background: #000; }
.trailer-sound, .trailer-close { position: absolute; z-index: 2; border: 0; cursor: pointer; font: 400 15px 'Lilita One', 'Arial Black', system-ui, sans-serif; color: #14101c; background: #ffd23f; box-shadow: 0 3px 0 #14101c; }
.trailer-sound { top: 14px; left: 14px; padding: 6px 14px; border-radius: 999px; }
.trailer-sound[hidden] { display: none; }
.trailer-close { display: none; top: -12px; right: -12px; width: 30px; height: 30px; border-radius: 50%; font-size: 20px; line-height: 30px; padding: 0; background: #fff; }
.trailer-box.pip { position: fixed; inset: auto 20px 20px auto; width: min(400px, 46vw); aspect-ratio: 16 / 9; z-index: 45; border-radius: 12px; overflow: visible;
  box-shadow: 0 18px 40px rgb(0 0 0 / 0.5), 0 0 0 3px #fff; animation: pipIn 0.3s cubic-bezier(0.2, 1.4, 0.4, 1); }
.trailer-box.pip video { border-radius: 12px; }
.trailer-box.pip .trailer-close { display: block; }
.trailer-box.pip .trailer-sound { top: 8px; left: 8px; font-size: 12px; padding: 3px 10px; }
@keyframes pipIn { from { transform: translateY(30px) scale(0.85); opacity: 0; } }
@media (max-width: 600px) { .trailer-box.pip { width: 62vw; right: 12px; bottom: 12px; } }

/* Waitlist: honeypot hidden from people. */
.waitlist .hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.waitlist { position: relative; }

/* "You're on the list!": a sticker that pops in, then leaves by itself. */
.toast { position: fixed; left: 50%; top: 50%; z-index: 60; translate: -50% -50%; display: grid; justify-items: center; gap: 6px;
  padding: 22px 30px 20px; text-align: center; background: #14101c; color: #fff; border: 5px solid #fff; border-radius: 18px; box-shadow: 8px 10px 0 rgb(20 16 28 / 0.5); pointer-events: none; }
.toast[hidden] { display: none; }
.toast b { font: 400 34px 'Lilita One', 'Arial Black', system-ui, sans-serif; color: #ffd23f; }
.toast span { font: 700 16px 'Nunito', system-ui, sans-serif; color: #f1e6dc; }
.toast img { width: 96px; height: auto; margin-top: -64px; filter: drop-shadow(3px 4px 0 rgb(20 16 28 / 0.5)); }

/* Phones (StatCounter 2026: 360-414 px wide; ~640-760 px visible tall). The hero must fit a 360x640 view. */
.news-short { display: none; }
.toast { width: max-content; max-width: min(380px, 88vw); }
@media (max-width: 600px) {
  .news { padding: 6px 10px; font-size: 12px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .news-long { display: none; } .news-short { display: inline; }
  .news b { font-size: 11px; padding: 1px 6px; margin-right: 6px; }
  .nav { padding: 8px 12px; gap: 10px; }
  .nav-logo img { height: 30px; }
  .nav .btn-sm { padding: 6px 12px; font-size: 14px; }
  .walk-intro { gap: 10px; padding: 70px 14px 24px; }
  .walk-logo { width: min(330px, 86vw); }
  .walk-tag { font-size: 28px; -webkit-text-stroke-width: 2px; }
  .waitlist { width: min(340px, 92vw); padding: 12px 12px 10px; }
  .waitlist label { font-size: 17px; margin-bottom: 6px; }
  .waitlist input { font-size: 15px; padding: 8px 12px; }
  .waitlist .btn { padding: 6px 14px; font-size: 16px; }
  .waitlist-note { font-size: 12px; margin-top: 6px; }
  .scroll-cue { font-size: 13px; padding: 4px 12px; }
  .bubble { font-size: 17px !important; padding: 10px 14px 12px !important; max-width: 86vw; }
  .bubble b { font-size: 12px !important; }
  .toast { padding: 18px 20px 16px; }
  .toast b { font-size: 26px; }
  .toast span { font-size: 14px; }
  .toast img { width: 72px; margin-top: -52px; }
  .title { font-size: clamp(32px, 9vw, 44px); }
  .lead { font-size: 16px; }
}
@media (max-width: 600px) and (max-height: 700px) {
  .scroll-cue { display: none; }
  .walk-tag { font-size: 24px; }
  .walk-logo { width: min(290px, 80vw); }
  .waitlist-note { display: none; }
  .slam { width: 72vw !important; left: 14% !important; top: 12% !important; }
  .bubble { top: 46% !important; }
}

/* Phones, round 2: desktop spacing made sections feel empty and the stacked tiles fat. */
@media (max-width: 600px) {
  .sec { padding: 56px 16px 64px; }
  .lead { margin-bottom: 24px; }
  .bento { grid-auto-rows: 190px; gap: 12px; }
  .t-tall { grid-row: span 1; }
  .tile-text { padding: 40px 14px 12px; }
  .tile-text p { font-size: 13px; }
  .tile-cards { inset: 12px 12px 70px !important; } .tile-cards img { width: 26% !important; }
  .tile-pets { inset: 12px 12px 70px !important; grid-template-columns: repeat(3, 1fr) !important; }
  .tile-pets img { max-height: 56px; width: auto; }
  .step-art { height: 150px; }
  .step-body { padding: 14px 16px 16px; }
  .worlds { gap: 14px; }
  .moods { gap: 10px; }
  .counts { gap: 8px; }
  .counts div { padding: 10px 4px; }
  .stop-art { height: 96px; }
  .faq { gap: 18px; }
  .join { padding: 80px 16px 90px; }
  .foot { padding: 44px 16px 24px; }
  /* the mini player stays out of the way: small, above the bottom edge */
  .trailer-box.pip { width: 46vw; right: 10px; bottom: 10px; }
  .trailer-box.pip .trailer-sound { font-size: 10px; padding: 2px 8px; }
  .trailer-box.pip .trailer-close { width: 26px; height: 26px; line-height: 26px; font-size: 17px; top: -10px; right: -8px; }
}

/* FAQ: no box on click; the answer glides open (browsers without ::details-content just open it). */
:root { interpolate-size: allow-keywords; }
summary:focus, summary:focus-visible { outline: none !important; }
summary:focus-visible { color: #ffd23f !important; }
details::details-content { block-size: 0; overflow: hidden; transition: block-size 0.3s ease, content-visibility 0.3s allow-discrete; }
details[open]::details-content { block-size: auto; }
details[open] p { animation: none; }
details { overflow-anchor: none; }


/* iPhone Safari: the toolbar shrinks while scrolling; size the pinned town to the large viewport so no gap opens below it. */
.walk-view { height: 100vh; height: 100lvh; }
/* Phones: hero stickers centred. */
@media (max-width: 600px) {
  .bubble { left: 0 !important; right: 0 !important; margin: 0 auto; width: max-content; max-width: 88vw !important; }
}
