/* DEV12BR: Martozy site. The look follows the game: red awnings, navy outlines, chunky stickers. */
@font-face { font-family: "Baloo 2"; src: url("../fonts/baloo2-extrabold.woff2") format("woff2"); font-weight: 800; font-display: swap; }
@font-face { font-family: "Baloo 2"; src: url("../fonts/baloo2-semibold.woff2") format("woff2"); font-weight: 600; font-display: swap; }

:root {
  --red: #e63b2e; --red-deep: #b9281d;
  --navy: #1e2748; --ink: #2a3256; --muted: #5a6386;
  --cream: #fff6e2; --paper: #fff; --sand: #ffe9bd;
  --sky: #bfe6ff; --sky-soft: #e9f6ff;
  --green: #35b24a; --green-deep: #1f8436;
  --gold: #ffc233; --gold-deep: #d99400;
  --blue: #3a8ef0; --purple: #7c5ce0; --night: #171c3c;
  --line: 3px solid var(--navy);
  --drop: 0 6px 0 var(--navy);
  --radius: 22px;
  --display: "Baloo 2", ui-rounded, "Arial Rounded MT Bold", system-ui, sans-serif;
  --body: ui-rounded, "SF Pro Rounded", "Nunito", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --gutter: clamp(16px, 4vw, 32px);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 96px; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--cream); color: var(--ink); font: 400 1.0625rem/1.6 var(--body); overflow-x: hidden; }
img { max-width: 100%; height: auto; display: block; }
h1, h2, h3 { font-family: var(--display); font-weight: 800; color: var(--navy); line-height: 1.05; margin: 0; text-wrap: balance; }
p { margin: 0; text-wrap: pretty; }
ul, ol { margin: 0; padding: 0; list-style: none; }
a { color: var(--red-deep); }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; border-radius: 8px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--navy); color: #fff; padding: 10px 16px; border-radius: 12px; font-weight: 700; }
.skip:focus { top: 12px; }
.wrap { width: min(1160px, 100% - 2 * var(--gutter)); margin-inline: auto; }
.wrap--narrow { width: min(820px, 100% - 2 * var(--gutter)); }

/* Header */
.top { position: sticky; top: 0; z-index: 50; background: var(--cream); border-bottom: var(--line); }
.top__in { display: flex; align-items: center; gap: 16px; min-height: 64px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font: 800 1.6rem/1 var(--display); color: var(--red); margin-right: auto; }
.brand img { border-radius: 11px; border: 2px solid var(--navy); }
.brand--light { color: #fff; }
.nav { display: flex; align-items: center; gap: 4px; }
.nav > a { font: 600 1.05rem/1 var(--display); color: var(--navy); text-decoration: none; padding: 10px 12px; border-radius: 12px; }
.nav > a:hover { background: var(--sand); }
.lang { display: inline-flex; margin-left: 8px; border: var(--line); border-radius: 999px; overflow: hidden; background: #fff; }
.lang a { font: 800 .95rem/1 var(--display); color: var(--navy); text-decoration: none; padding: 8px 12px; }
.lang a[aria-current] { background: var(--navy); color: #fff; }
.top__toggle { display: none; width: 46px; height: 46px; border: var(--line); border-radius: 14px; background: #fff; box-shadow: 0 3px 0 var(--navy); padding: 0; cursor: pointer; }
.top__toggle i { display: block; width: 20px; height: 3px; border-radius: 3px; background: var(--navy); margin: 4px auto; transition: transform .2s, opacity .2s; }
.top__toggle[aria-expanded="true"] i:nth-child(2) { transform: translateY(7px) rotate(45deg); }
.top__toggle[aria-expanded="true"] i:nth-child(3) { opacity: 0; }
.top__toggle[aria-expanded="true"] i:nth-child(4) { transform: translateY(-7px) rotate(-45deg); }

/* The awning: red and white scallops hanging under the header */
.awning { height: 26px; position: relative; z-index: 2; margin-bottom: -26px;
  background:
    radial-gradient(circle at 24px 0, var(--red) 23px, transparent 24px) 0 0 / 96px 26px repeat-x,
    radial-gradient(circle at 24px 0, #fff 23px, transparent 24px) 48px 0 / 96px 26px repeat-x;
  filter: drop-shadow(0 3px 0 var(--navy)); }

/* Ribbons and section heads */
.ribbon { display: inline-block; margin: 0 0 14px; filter: drop-shadow(0 4px 0 var(--navy)); }
.ribbon span { display: block; padding: 7px 34px 5px; font: 800 1rem/1.2 var(--display); letter-spacing: .06em; text-transform: uppercase; color: #fff;
  background: var(--tone); clip-path: polygon(0 0, 100% 0, calc(100% - 14px) 50%, 100% 100%, 0 100%, 14px 50%); }
.ribbon--red { --tone: var(--red); } .ribbon--green { --tone: var(--green-deep); } .ribbon--blue { --tone: var(--blue); }
.ribbon--gold { --tone: var(--gold-deep); } .ribbon--purple { --tone: var(--purple); }
.section { padding: clamp(64px, 9vw, 112px) 0; position: relative; }
.section--sky { background: var(--sky-soft); border-block: var(--line); }
.section--cream { background: var(--sand); border-block: var(--line); }
.head { text-align: center; max-width: 720px; margin: 0 auto clamp(32px, 5vw, 56px); }
.head h2 { font-size: clamp(2rem, 1.2rem + 3.2vw, 3.25rem); }
.head p:not(.ribbon) { margin-top: 14px; font-size: 1.15rem; color: var(--muted); }
.head--tight { margin-top: clamp(48px, 7vw, 80px); }

.card { background: var(--paper); border: var(--line); border-radius: var(--radius); box-shadow: var(--drop); padding: 22px; }
.card h3 { font-size: 1.45rem; }
.card p { color: var(--muted); font-size: 1rem; line-height: 1.5; margin-top: 4px; }

/* Buttons */
.stores { display: flex; flex-wrap: wrap; gap: 14px; }
.store { display: inline-flex; align-items: center; gap: 12px; min-height: 62px; padding: 8px 22px 8px 16px; border-radius: 18px; border: var(--line); text-decoration: none; }
.store small { display: block; font: 600 .78rem/1.1 var(--display); letter-spacing: .04em; text-transform: uppercase; opacity: .85; }
.store strong { display: block; font: 800 1.4rem/1.05 var(--display); }
.store--play { background: var(--green); color: #fff; box-shadow: 0 6px 0 var(--green-deep), 0 6px 0 3px var(--navy); transition: transform .12s, box-shadow .12s; }
.store--play:hover { transform: translateY(-2px); box-shadow: 0 8px 0 var(--green-deep), 0 8px 0 3px var(--navy); }
.store--play:active { transform: translateY(4px); box-shadow: 0 2px 0 var(--green-deep), 0 2px 0 3px var(--navy); }
.store--soon { background: rgba(255, 255, 255, .7); color: var(--muted); border-style: dashed; cursor: default; }
.btn { display: inline-block; background: var(--green); color: #fff; font: 800 1.05rem/1 var(--display); text-decoration: none; padding: 13px 20px 11px; border: var(--line); border-radius: 14px; box-shadow: 0 4px 0 var(--navy); }
.btn--small { padding: 9px 14px 7px; font-size: .95rem; box-shadow: 0 3px 0 var(--navy); }
.round { width: 52px; height: 52px; border-radius: 50%; border: var(--line); background: #fff; color: var(--navy); box-shadow: 0 4px 0 var(--navy); cursor: pointer; display: grid; place-items: center; transition: transform .12s, box-shadow .12s; }
.round:hover { transform: translateY(-2px); box-shadow: 0 6px 0 var(--navy); }
.round:active, .round:disabled { transform: translateY(3px); box-shadow: 0 1px 0 var(--navy); }
.round:disabled { opacity: .45; cursor: default; }

/* Hero */
.hero { position: relative; overflow: hidden; padding: clamp(56px, 8vw, 96px) 0 0; border-bottom: var(--line);
  background: linear-gradient(#8fd2ff 0%, #c9ecff 52%, #eaf8ff 100%); }
.hero__sky i { position: absolute; width: 220px; height: 64px; border-radius: 64px; background: #fff; opacity: .85; animation: drift 60s linear infinite; }
.hero__sky i::before, .hero__sky i::after { content: ""; position: absolute; background: #fff; border-radius: 50%; }
.hero__sky i::before { width: 90px; height: 90px; left: 34px; top: -42px; }
.hero__sky i::after { width: 120px; height: 120px; right: 30px; top: -62px; }
.hero__sky i:nth-child(1) { top: 90px; left: -6%; }
.hero__sky i:nth-child(2) { top: 220px; left: 46%; transform: scale(.7); animation-duration: 85s; animation-delay: -30s; opacity: .7; }
.hero__sky i:nth-child(3) { top: 60px; left: 78%; transform: scale(.55); animation-duration: 70s; animation-delay: -50s; opacity: .75; }
@keyframes drift { from { translate: -30vw 0; } to { translate: 70vw 0; } }
.hero__in { position: relative; display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(24px, 4vw, 56px); align-items: center; }
.eyebrow { display: inline-block; font: 800 .95rem/1 var(--display); letter-spacing: .08em; text-transform: uppercase; color: var(--navy); background: var(--gold); border: var(--line); border-radius: 999px; padding: 9px 16px 7px; box-shadow: 0 3px 0 var(--navy); }
.hero h1 { margin: 20px 0 18px; font-size: clamp(1.7rem, 1rem + 2.6vw, 2.7rem); color: var(--navy); }
.hero h1 span { display: block; font-size: clamp(4rem, 2rem + 9vw, 7.5rem); line-height: .88; color: var(--red); -webkit-text-stroke: 3px var(--navy); paint-order: stroke fill; text-shadow: 0 7px 0 var(--navy); margin-bottom: .16em; }
.lead { font-size: clamp(1.1rem, 1rem + .5vw, 1.3rem); max-width: 34ch; color: var(--ink); margin-bottom: 28px; }
.hero__note { margin-top: 18px; font-size: .95rem; color: var(--ink); opacity: .8; }
.hero__stage { position: relative; min-height: 560px; align-self: end; }
.phone { border: 8px solid var(--navy); border-radius: 34px; overflow: hidden; background: var(--navy); box-shadow: 0 10px 0 rgba(30, 39, 72, .25); }
.phone img { width: 100%; border-radius: 26px; }
.phone--hero { position: absolute; right: 2%; top: 0; width: min(300px, 58%); rotate: 4deg; }
.hero__duo { position: absolute; left: -2%; bottom: -8px; width: min(320px, 56%); filter: drop-shadow(0 12px 0 rgba(30, 39, 72, .18)); }
.floater { position: absolute; width: 84px; animation: bob 5s ease-in-out infinite; filter: drop-shadow(0 6px 0 rgba(30, 39, 72, .2)); }
.floater--1 { right: 60%; top: 2%; animation-delay: -1s; }
.floater--2 { right: -3%; top: 34%; width: 92px; animation-delay: -2.200s; }
.floater--3 { left: 40%; bottom: 6%; width: 100px; animation-delay: -.6s; }
.floater--4 { left: 2%; top: 20%; width: 66px; animation-delay: -3s; }
.floater--5 { right: 4%; bottom: 4%; width: 72px; animation-delay: -1.700s; }
.floater--6 { right: 46%; top: 24%; width: 60px; animation-delay: -4s; }
@keyframes bob { 0%, 100% { translate: 0 0; rotate: -4deg; } 50% { translate: 0 -14px; rotate: 5deg; } }

.stats { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); margin: clamp(32px, 5vw, 56px) 0 0; background: #fff; border: var(--line); border-bottom: 0; border-radius: var(--radius) var(--radius) 0 0; }
.stats div { display: flex; flex-direction: column; align-items: center; text-align: center; padding: 22px 12px 20px; }
.stats div + div { border-left: 3px dashed #c9d2ea; }
.stats dd { margin: 0; font: 800 clamp(2.2rem, 1.4rem + 3vw, 3.4rem)/1 var(--display); color: var(--red); font-variant-numeric: tabular-nums; }
.stats dt { font: 600 1rem/1.2 var(--display); color: var(--muted); margin-top: 2px; }

/* How it plays */
.loop { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; counter-reset: step; }
.loop li { position: relative; text-align: center; padding-top: 30px; }
.loop img { width: 112px; margin: 0 auto 10px; }
.loop__n { position: absolute; top: -18px; left: 50%; translate: -50% 0; width: 40px; height: 40px; display: grid; place-items: center; border-radius: 50%; border: var(--line); background: var(--gold); font: 800 1.3rem/1 var(--display); color: var(--navy); }
.loop li:not(:last-child)::after { content: ""; position: absolute; right: -19px; top: 50%; width: 14px; height: 14px; border-top: 4px solid var(--navy); border-right: 4px solid var(--navy); rotate: 45deg; opacity: .35; }

/* Gallery */
.gallery { position: relative; }
.gallery__track { display: flex; gap: clamp(18px, 3vw, 34px); overflow-x: auto; scroll-snap-type: x mandatory; padding: 12px max(var(--gutter), calc((100vw - 1160px) / 2)) 28px; scrollbar-width: none; cursor: grab; }
.gallery__track::-webkit-scrollbar { display: none; }
.gallery__track.is-dragging { cursor: grabbing; scroll-snap-type: none; scroll-behavior: auto; }
.gallery__track li { flex: 0 0 clamp(210px, 62vw, 270px); scroll-snap-align: center; }
.gallery figure { margin: 0; }
.gallery .phone { transition: transform .25s; }
.gallery li:nth-child(odd) .phone { rotate: -1.500deg; } .gallery li:nth-child(even) .phone { rotate: 1.500deg; }
.gallery li:hover .phone { transform: translateY(-6px); }
.gallery img { pointer-events: none; user-select: none; }
.gallery figcaption { margin-top: 18px; text-align: center; font: 800 1.2rem/1.2 var(--display); color: var(--navy); }
.gallery__nav { display: flex; justify-content: center; gap: 14px; margin-top: 4px; }

/* Crew */
.crew { display: grid; grid-template-columns: 1fr 1.6fr; gap: 22px; }
.crew__owner { display: flex; justify-content: center; flex-direction: column; align-items: center; text-align: center; gap: 16px; background: linear-gradient(#ffe7e3, #fff 60%); }
.crew__owner > img { width: min(250px, 70%); }
.hats { display: flex; justify-content: center; flex-wrap: wrap; gap: 6px; margin-top: 16px; }
.hats img { width: 62px; }
.staff { display: grid; grid-template-columns: repeat(2, 1fr); grid-auto-rows: 1fr; gap: 16px; }
.staff li { display: flex; align-items: center; gap: 14px; padding: 14px 16px; }
.staff img { width: 72px; flex: none; }
.staff h3 { font-size: 1.25rem; }
.staff p { font-size: .95rem; }
.crew__pets { grid-column: 1 / -1; display: grid; grid-template-columns: 1fr 1.6fr; gap: 22px; align-items: center; background: linear-gradient(90deg, #fff, #e8f8ea); }
.pets { display: grid; grid-template-columns: repeat(6, 1fr); gap: 8px; text-align: center; }
.pets img { width: 100%; max-width: 104px; margin-inline: auto; transition: transform .2s; }
.pets li:hover img { transform: translateY(-6px) rotate(-4deg); }
.pets span { font: 600 .95rem/1.2 var(--display); color: var(--navy); }

/* City */
.city { display: grid; grid-template-columns: repeat(6, 1fr); gap: 22px; }
.city li { grid-column: span 2; display: flex; flex-direction: column; gap: 12px; }
.city li:nth-child(4) { grid-column: 2 / span 2; }
.city img { width: 100%; max-width: 216px; aspect-ratio: 16 / 10; object-fit: cover; margin: 0 auto; border: var(--line); border-radius: 16px; }
.city__n { display: inline-block; font: 800 .8rem/1 var(--display); letter-spacing: .08em; text-transform: uppercase; color: #fff !important; background: var(--red); border-radius: 999px; padding: 6px 12px 4px; margin: 0 0 8px !important; }

/* Arcade */
.section--night { background: radial-gradient(1200px 500px at 50% 0, #2c2f73 0%, var(--night) 70%); border-block: var(--line); color: #d5d9ff; }
.section--night h2, .section--night h3 { color: #fff; }
.section--night .head p:not(.ribbon) { color: #b9bfee; }
.arcade { display: grid; grid-template-columns: 1fr 1.15fr 1fr; gap: 28px; align-items: center; }
.arcade__screen { margin: 0; border: 6px solid #0c0f26; border-radius: 26px; overflow: hidden; box-shadow: 0 0 0 3px #5b4fd0, 0 0 60px rgba(124, 92, 224, .45); }
.arcade__screen:first-child { rotate: -3deg; } .arcade__screen:last-child { rotate: 3deg; }
.arcade__games { display: grid; gap: 14px; }
.arcade__games li { display: flex; align-items: center; gap: 16px; padding: 14px 18px; border-radius: 20px; background: rgba(255, 255, 255, .07); border: 2px solid rgba(160, 150, 255, .35); }
.arcade__games img { width: 76px; flex: none; }
.arcade__games h3 { font-size: 1.35rem; }
.arcade__games p { color: #b9bfee; font-size: .98rem; line-height: 1.45; }

/* Catalog belt */
.section--catalog { overflow: hidden; }
.belt { display: grid; gap: 14px; padding: 6px 0; mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.belt__row { display: flex; width: max-content; animation: belt 70s linear infinite; }
.belt__row--back { animation-direction: reverse; animation-duration: 85s; }
.belt:hover .belt__row { animation-play-state: paused; }
.belt ul { display: flex; gap: 14px; padding-right: 14px; }
.belt li { width: 104px; height: 104px; display: grid; place-items: center; background: #fff; border: var(--line); border-radius: 20px; box-shadow: 0 4px 0 var(--navy); }
.belt img { width: 78px; }
@keyframes belt { to { translate: -50% 0; } }
.more { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.more img { width: 76px; margin-bottom: 10px; }

/* FAQ */
.faq { display: grid; gap: 16px; }
.faq details { padding: 0; }
.faq summary { list-style: none; cursor: pointer; padding: 18px 58px 16px 22px; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary h3 { font-size: 1.25rem; line-height: 1.2; }
.faq summary::after { content: ""; position: absolute; right: 22px; top: 50%; width: 12px; height: 12px; border-right: 4px solid var(--navy); border-bottom: 4px solid var(--navy); translate: 0 -70%; rotate: 45deg; transition: rotate .2s, translate .2s; }
.faq details[open] summary::after { rotate: 225deg; translate: 0 -20%; }
.faq details p { padding: 0 22px 20px; margin: 0; font-size: 1.05rem; }

/* Final call */
.cta { background: var(--red); padding: clamp(48px, 7vw, 80px) 0; position: relative;
  background-image: repeating-linear-gradient(90deg, transparent 0 48px, rgba(255, 255, 255, .09) 48px 96px); }
.cta__in { display: grid; grid-template-columns: auto 1fr auto; gap: 26px; align-items: center; }
.cta img { border-radius: 28px; border: var(--line); box-shadow: var(--drop); rotate: -4deg; }
.cta h2 { color: #fff; font-size: clamp(1.9rem, 1.2rem + 2.6vw, 2.9rem); text-shadow: 0 4px 0 var(--red-deep); }
.cta p { color: #ffe3df; font-size: 1.15rem; margin-top: 6px; }
.cta .store--play { box-shadow: 0 6px 0 var(--green-deep), 0 6px 0 3px var(--navy); }
.cta .store--soon { background: rgba(255, 255, 255, .16); color: #fff; border-color: rgba(255, 255, 255, .7); }

/* Footer */
.foot { background: var(--navy); color: #c5cbe6; padding: 56px 0 28px; }
.foot__in { display: grid; grid-template-columns: 1.6fr 1fr 1fr; gap: 32px; }
.foot__brand p { margin-top: 12px; }
.foot h2 { font: 800 .85rem/1 var(--display); letter-spacing: .1em; text-transform: uppercase; color: #8d95bd; margin-bottom: 12px; }
.foot nav a { display: block; color: #fff; text-decoration: none; padding: 5px 0; font-weight: 600; }
.foot nav a:hover { text-decoration: underline; }
.foot nav a[aria-current] { color: var(--gold); }
.foot__fine { margin-top: 36px; padding-top: 20px; border-top: 1px solid #3a4470; font-size: .875rem; color: #8d95bd; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; }

/* Language suggestion */
.suggest { position: fixed; z-index: 60; left: 50%; bottom: 16px; translate: -50% 0; width: min(560px, 100% - 24px); display: flex; align-items: center; gap: 12px; padding: 12px 12px 12px 18px; background: #fff; border: var(--line); border-radius: 18px; box-shadow: var(--drop); animation: rise .4s ease-out; }
.suggest[hidden] { display: none; }
.suggest p { flex: 1; font-weight: 600; font-size: .98rem; line-height: 1.3; }
.suggest button { width: 36px; height: 36px; border: 0; background: none; font-size: 1.6rem; line-height: 1; color: var(--muted); cursor: pointer; border-radius: 10px; }
@keyframes rise { from { translate: -50% 30px; opacity: 0; } }

/* Legal pages */
.legal { padding: clamp(64px, 8vw, 96px) 0 clamp(56px, 8vw, 96px); }
.legal__head { margin-bottom: 32px; }
.legal__head h1 { font-size: clamp(2.2rem, 1.4rem + 3vw, 3.4rem); margin-bottom: 10px; }
.legal__head p { color: var(--muted); }
.legal__back { display: inline-block; margin-bottom: 18px; font: 800 1rem/1 var(--display); text-decoration: none; color: var(--navy); }
.legal__back::before { content: "← "; }
.legal__warn { background: #ffe3df; border: 3px dashed var(--red); border-radius: 14px; padding: 12px 16px; margin-bottom: 20px; font-weight: 700; color: var(--red-deep); }
.legal__toc { margin-bottom: 28px; padding: 18px 22px; }
.legal__toc h2 { font-size: 1.1rem; margin-bottom: 8px; }
.legal__toc ol { columns: 2; column-gap: 28px; list-style: decimal; padding-left: 22px; }
.legal__toc a { color: var(--ink); text-decoration: none; }
.legal__toc a:hover { text-decoration: underline; }
.prose { padding: clamp(22px, 4vw, 44px); }
.prose h2 { font-size: 1.6rem; margin: 2em 0 .5em; scroll-margin-top: 100px; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { font-size: 1.2rem; margin: 1.4em 0 .4em; }
.prose p, .prose li { color: var(--ink); font-size: 1.05rem; line-height: 1.65; }
.prose p + p, .prose ul + p, .prose p + ul { margin-top: .9em; }
.prose ul { list-style: disc; padding-left: 1.3em; }
.prose li + li { margin-top: .35em; }
.prose a { font-weight: 600; }
.prose table { width: 100%; border-collapse: collapse; margin: 1em 0; font-size: .98rem; }
.prose th, .prose td { text-align: left; vertical-align: top; padding: 10px 12px; border-bottom: 2px solid #e4e8f5; }
.prose th { font-family: var(--display); color: var(--navy); }
.table-scroll { overflow-x: auto; }

/* 404 */
.notfound { text-align: center; padding: clamp(96px, 14vw, 160px) 0; }
.notfound h1 { font-size: clamp(2.4rem, 1.4rem + 4vw, 4rem); margin: 18px 0 10px; }
.notfound p { color: var(--muted); margin-bottom: 26px; font-size: 1.15rem; }
.notfound img { width: 120px; margin: 0 auto; opacity: .9; }

/* Reveal on scroll (only when JavaScript is running) */
.js .reveal { opacity: 0; translate: 0 26px; transition: opacity .6s ease, translate .6s cubic-bezier(.2, .8, .2, 1); transition-delay: calc(var(--d, 0) * 90ms); }
.js .reveal.is-in { opacity: 1; translate: 0 0; }

@media (max-width: 980px) {
  .top__toggle { display: block; }
  .nav { position: absolute; left: 0; right: 0; top: 100%; flex-direction: column; align-items: stretch; gap: 0; padding: 10px var(--gutter) 18px; background: var(--cream); border-bottom: var(--line); display: none; }
  .nav.is-open { display: flex; }
  .nav > a { padding: 14px 8px; font-size: 1.2rem; border-bottom: 2px dashed #e6d9b8; border-radius: 0; }
  .lang { align-self: flex-start; margin: 14px 0 0; }
  .hero__in { grid-template-columns: 1fr; }
  .hero__copy { text-align: center; }
  .lead { margin-inline: auto; }
  .hero .stores { justify-content: center; }
  .hero__stage { min-height: 480px; max-width: 520px; width: 100%; margin-inline: auto; }
  .loop { grid-template-columns: repeat(2, 1fr); row-gap: 40px; }
  .loop li::after { display: none; }
  .crew, .crew__pets { grid-template-columns: 1fr; }
  .city { grid-template-columns: repeat(2, 1fr); }
  .city li, .city li:nth-child(4) { grid-column: auto; }
  .city li:last-child { grid-column: 1 / -1; }
  .arcade { grid-template-columns: 1fr 1fr; }
  .arcade__games { grid-column: 1 / -1; grid-row: 1; }
  .more { grid-template-columns: 1fr; }
  .cta__in { grid-template-columns: 1fr; justify-items: center; text-align: center; }
  .cta .stores { justify-content: center; }
  .foot__in { grid-template-columns: 1fr 1fr; }
  .foot__brand { grid-column: 1 / -1; }
}
@media (max-width: 620px) {
  .stats { grid-template-columns: repeat(2, 1fr); }
  .stats div:nth-child(3) { border-left: 0; }
  .stats div:nth-child(n + 3) { border-top: 3px dashed #c9d2ea; }
  .hero__stage { min-height: 420px; }
  .floater { scale: .8; }
  .store { flex: 1 1 100%; justify-content: center; }
  .staff { grid-template-columns: 1fr; }
  .pets { grid-template-columns: repeat(3, 1fr); row-gap: 14px; }
  .city { grid-template-columns: 1fr; }
  .city li:last-child { grid-column: auto; }
  .legal__toc ol { columns: 1; }
  .belt li { width: 84px; height: 84px; } .belt img { width: 62px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .reveal { opacity: 1; translate: none; }
}
