/* The ReptyCo website: ReptyCo's own green (#002409, the logo's) round slate grey, and Reptycoon drawn
   as the game draws itself (Peace Sans, the amber name with a dark edge, white capitals on buttons,
   dark-framed cards, rays). */
@font-face { font-family: 'Peace Sans'; src: url('/fonts/PeaceSans.otf') format('opentype'); font-display: swap; }

:root {
	--green: #002409; --green-2: #0a3d1c; --leaf: #068f41; --leaf-hi: #0aa64c; --leaf-lo: #057a37;
	--ink: #171c23; --slate: #3d4a5c; --slate-900: #1d2531; --slate-800: #263140; --slate-700: #334155; --slate-600: #475569;
	--amber: #ffb31c; --teal: #17dfa1; --sky: #7ccaff; --rose: #ff639f; --purple: #9166ff; --blue: #1446ff;
	--white: #fbfdff; --text: #eef3f8; --muted: #c2ccd8;
	--game: 'Peace Sans', system-ui, sans-serif;
	--band-logo: clamp(96px, 14vw, 168px);
	--band-pad: clamp(10px, 2vw, 22px);
	--band-h: calc(var(--band-logo) + 2 * var(--band-pad) + 6px);
}
* { box-sizing: border-box; }
/* Nothing may move the page sideways: the page is held to the screen's width. */
html { overflow-x: hidden; overscroll-behavior-x: none; scroll-behavior: smooth; scroll-padding-top: 70px; -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
@supports (overflow: clip) { html, body { overflow-x: clip; } }
body { margin: 0; min-width: 0; background: var(--slate); color: var(--text); font: 17px/1.6 system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif; }
body::before { content: ''; position: fixed; inset: 0; z-index: -10; background: url('/art/bg_tile.png') repeat; opacity: .16; mix-blend-mode: multiply; pointer-events: none; }
img, video { max-width: 100%; }
a { color: var(--sky); }
main { display: block; width: 100%; }

/* Words drawn as the game draws them: a thick dark edge outside the letters. */
h2, .btn, .stat b, .strip span { -webkit-text-stroke: .2em var(--ink); paint-order: stroke fill; }

/* ---- ReptyCo: its logo across the top, and its green bar once the logo has scrolled away -------- */
.band { position: relative; z-index: 4; display: grid; place-items: center; padding: var(--band-pad) 16px; background: var(--green); border-bottom: 6px solid var(--ink); }
.band-logo { display: block; height: var(--band-logo); width: auto; }
.bar { position: fixed; top: 0; left: 0; right: 0; z-index: 50; height: 60px; display: flex; align-items: center; gap: 18px;
	padding: 0 max(16px, env(safe-area-inset-right)) 0 max(16px, env(safe-area-inset-left)); background: var(--green); box-shadow: 0 4px 0 rgba(0, 0, 0, .3);
	transform: translateY(-110%); transition: transform .35s cubic-bezier(.2, .9, .3, 1); }
.bar.show { transform: none; }
.lockup { display: flex; align-items: center; gap: 9px; flex: none; text-decoration: none; }
.lockup-mark { display: block; width: 38px; height: 38px; border-radius: 9px; }
.lockup-word { display: block; height: 19px; width: auto; }
.bar-links { display: flex; gap: 22px; margin-left: 14px; }
.bar-links a { font-family: var(--game); font-size: 15px; color: var(--white); text-decoration: none; text-transform: uppercase; }
.bar-links a:hover { color: var(--amber); }
.bar-badge { height: 40px; width: auto; margin-left: auto; }

/* ---- Reptycoon: the top of the game's part ---------------------------------------------------- */
.hero { position: relative; display: grid; place-items: center; overflow: hidden; isolation: isolate; min-height: max(540px, calc(100vh - var(--band-h)));
	min-height: max(540px, calc(100svh - var(--band-h))); padding: 64px 16px 128px; }
.hero-film { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -3; transform: scale(1.08); }
.hero-shade { position: absolute; inset: 0; z-index: -2;
	background: radial-gradient(ellipse 70% 60% at 50% 46%, rgba(38, 49, 64, .5) 0%, rgba(32, 41, 54, .8) 60%, rgba(22, 28, 37, .95) 100%),
		linear-gradient(180deg, rgba(0, 36, 9, .45), rgba(22, 28, 37, 0) 26%, rgba(22, 28, 37, 0) 70%, rgba(61, 74, 92, 1)); }
.hero-cast { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.hero-words { position: relative; width: 100%; max-width: 1200px; text-align: center; }
.kicker { margin: 0 0 4px; font-family: var(--game); font-size: clamp(13px, 2vw, 21px); color: var(--teal); text-transform: uppercase; letter-spacing: .14em; text-shadow: 0 3px 0 var(--ink); }

/* The name as the game's menu draws it: every letter's dark edge first, then every letter's amber on
   top, so no letter's edge ever lies over the next one; spaced as the trailers space it. */
.logo { position: relative; display: inline-block; margin: 0; font-family: var(--game); font-weight: normal; font-size: clamp(30px, 11.2vw, 150px); line-height: 1.12;
	white-space: nowrap; filter: drop-shadow(0 .06em 0 rgba(0, 0, 0, .5)); }
.logo.small { font-size: clamp(28px, 8.6vw, 112px); }
.logo-ink, .logo-fill { display: block; }
.logo-ink { position: absolute; left: 0; top: 0; color: var(--ink); -webkit-text-stroke: .195em var(--ink); pointer-events: none; }
.logo-fill { position: relative; color: var(--amber); }
.logo .ch { display: inline-block; transform-origin: 50% 90%; animation: drop .9s cubic-bezier(.3, 1.6, .5, 1) both; animation-delay: calc(var(--i) * 55ms + 150ms); }
.logo.wait .ch { animation-play-state: paused; opacity: 0; }
@keyframes drop { 0% { opacity: 0; transform: translateY(-1.1em) scale(.4) rotate(-12deg); } 45% { opacity: 1; } 100% { opacity: 1; transform: none; } }
.logo .ch.hop { animation: hop .5s cubic-bezier(.3, 1.8, .5, 1); }
@keyframes hop { 40% { transform: translateY(-.16em) scale(1.08) rotate(-4deg); } 100% { transform: none; } }

.tag { margin: 12px auto 0; max-width: 680px; font-size: clamp(17px, 2.4vw, 24px); font-weight: 800; color: var(--white); text-shadow: 0 2px 0 var(--ink), 0 0 18px rgba(0, 0, 0, .5); }
.hero-do { display: flex; flex-wrap: wrap; gap: 16px 22px; justify-content: center; align-items: center; margin-top: 28px; }
.badge { display: block; height: 64px; width: auto; }
.badge.big { height: clamp(64px, 9vw, 92px); margin: 26px auto 0; }

/* A flat button, green as ReptyCo's flag stripe: white capitals with a dark edge, and no depth. */
.btn { display: inline-flex; align-items: center; gap: 12px; padding: 14px 24px; font-family: var(--game); font-size: clamp(16px, 2vw, 20px); line-height: 1.1;
	color: var(--white); text-decoration: none; background: var(--leaf); border: 3px solid var(--ink); border-radius: 16px; box-shadow: none;
	-webkit-text-stroke-width: 5px; cursor: pointer; transition: background .15s; }
.btn:hover { background: var(--leaf-hi); }
.btn:active { background: var(--leaf-lo); }
.btn-play { flex: none; width: 0; height: 0; border-left: 16px solid var(--white); border-top: 10px solid transparent; border-bottom: 10px solid transparent; }

.scroll { position: absolute; bottom: 64px; left: 50%; width: 28px; height: 44px; margin-left: -14px; border: 4px solid var(--white); border-radius: 15px; opacity: .85; }
.scroll span { position: absolute; left: 50%; top: 7px; width: 6px; height: 9px; margin-left: -3px; border-radius: 3px; background: var(--white); animation: wheel 1.8s infinite; }
@keyframes wheel { 0% { opacity: 0; transform: translateY(0); } 30% { opacity: 1; } 100% { opacity: 0; transform: translateY(14px); } }

/* The animals floating round the name: each at its place, sized by the screen's width, moved by the
   pointer and the scroll as far as its depth says, popping in and then bobbing. */
.stk { position: absolute; left: calc(var(--x) * 1%); top: calc(var(--y) * 1%); width: min(calc(var(--w) * 1vw), calc(var(--w) * 17px)); pointer-events: auto; cursor: pointer;
	transform: translate(-50%, -50%) translate3d(calc(var(--px, 0) * var(--d) * -34px), calc(var(--py, 0) * var(--d) * -26px + var(--sy, 0) * var(--d) * -.32px), 0); }
.stk > div { animation: pop .8s cubic-bezier(.3, 1.6, .5, 1) both; animation-delay: calc(var(--i) * 90ms + 700ms); }
.stk img { display: block; width: 100%; height: auto; transform: rotate(calc(var(--r) * 1deg)); filter: drop-shadow(6px 7px 0 rgba(0, 0, 0, .35));
	animation: bob calc(4s + var(--i) * .37s) ease-in-out infinite alternate; animation-delay: calc(var(--i) * -.9s); }
.stk.flip img { transform: rotate(calc(var(--r) * 1deg)) scaleX(-1); }
@keyframes pop { 0% { opacity: 0; transform: scale(.3) rotate(-14deg); } 100% { opacity: 1; transform: none; } }
@keyframes bob { 0% { translate: 0 -7px; rotate: -1.5deg; } 100% { translate: 0 7px; rotate: 1.5deg; } }
.stk.tap > div { animation: wiggle .6s cubic-bezier(.3, 1.6, .5, 1); }
@keyframes wiggle { 30% { transform: scale(1.18) rotate(-8deg); } 60% { transform: scale(.95) rotate(5deg); } 100% { transform: none; } }
.stk-name { position: absolute; left: 50%; bottom: 100%; transform: translate(-50%, 6px) scale(.6); opacity: 0; white-space: nowrap; pointer-events: none;
	padding: 6px 12px; border-radius: 12px; background: var(--ink); border: 3px solid var(--white); color: var(--white); font-family: var(--game); font-size: 14px;
	transition: opacity .2s, transform .25s cubic-bezier(.3, 1.6, .5, 1); }
.stk-name b { color: var(--amber); font-weight: normal; }
.stk:hover .stk-name, .stk.tap .stk-name { opacity: 1; transform: translate(-50%, -4px) scale(1); }

/* ---- The band of words that runs across (held inside its own strip, so it never widens the page) -- */
.strip-wrap { position: relative; z-index: 3; margin-top: -76px; padding: 30px 0; overflow: hidden; }
.strip { width: 112%; margin-left: -6%; transform: rotate(-1.6deg); background: var(--blue); border-top: 8px solid var(--ink); border-bottom: 8px solid var(--ink);
	box-shadow: 0 12px 0 rgba(0, 0, 0, .25); overflow: hidden; padding: 6px 0 2px; }
.strip-run { display: flex; width: max-content; animation: run 34s linear infinite; }
.strip span { font-family: var(--game); font-size: clamp(28px, 5vw, 62px); line-height: 1.25; color: var(--white); white-space: pre; -webkit-text-stroke-width: .17em; }
@keyframes run { to { transform: translateX(-50%); } }

/* ---- The numbers ----------------------------------------------------------------------------- */
section { position: relative; }
.stats { max-width: 1140px; margin: 0 auto; padding: 48px 16px 30px; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 18px; }
.stat { text-align: center; padding: 22px 8px 18px; background: var(--slate-700); border: 4px solid var(--ink); border-radius: 22px; box-shadow: 7px 8px 0 rgba(0, 0, 0, .3);
	transition: transform .25s cubic-bezier(.3, 1.6, .5, 1); }
.stat:hover { transform: translateY(-6px) rotate(-1.5deg); }
.stat img { width: 60px; height: 60px; object-fit: contain; filter: drop-shadow(3px 4px 0 rgba(0, 0, 0, .3)); }
.stat b { display: block; font-family: var(--game); font-weight: normal; font-size: clamp(34px, 4.4vw, 52px); line-height: 1.15; color: var(--amber); }
.stat span { font-family: var(--game); font-size: 15px; color: var(--white); text-transform: uppercase; letter-spacing: .04em; }

/* ---- Headings ------------------------------------------------------------------------------- */
.head { text-align: center; max-width: 760px; margin: 0 auto 28px; padding: 0 16px; }
h2 { margin: 0; font-family: var(--game); font-weight: normal; font-size: clamp(32px, 5vw, 60px); line-height: 1.12; color: var(--white); }
h2 em { font-style: normal; color: var(--amber); display: block; }
.head p { margin: 12px 0 0; color: var(--muted); font-size: 18px; }

/* ---- The morph lab: one size whatever the species; the animal scales to fit it ------------------ */
.morphs { padding: 80px 16px 40px; }
.lab { max-width: 1040px; margin: 0 auto; }
.lab-tabs { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-bottom: 16px; }
.tab { padding: 10px 16px; font-family: var(--game); font-size: 15px; line-height: 1.1; color: var(--white); text-transform: uppercase; background: var(--slate-700);
	border: 3px solid var(--ink); border-radius: 14px; cursor: pointer; transition: background .15s; }
.tab:hover { background: var(--slate-600); }
.tab[aria-selected="true"] { background: var(--amber); color: var(--ink); }
.lab-stage { position: relative; height: clamp(300px, 46vw, 520px); border: 7px solid var(--ink); border-radius: 30px; overflow: hidden; background: var(--purple);
	box-shadow: 14px 16px 0 rgba(0, 0, 0, .3); touch-action: pan-y; user-select: none; -webkit-user-select: none; }
.lab-rays { position: absolute; left: 50%; top: 44%; width: 1600px; height: 1600px; margin: -800px 0 0 -800px;
	background: repeating-conic-gradient(#a487ff 0deg 10deg, var(--purple) 10deg 20deg); animation: turn 90s linear infinite; }
@keyframes turn { to { transform: rotate(360deg); } }
.lab-stage::after { content: ''; position: absolute; inset: 0; background: radial-gradient(ellipse at 50% 44%, rgba(255, 255, 255, .22), transparent 60%); pointer-events: none; }
.lab-stage.secret .lab-rays { filter: grayscale(.55) brightness(.7); }
/* The space the animal may fill: whatever its shape, it is drawn as large as fits. */
.lab-box { position: absolute; z-index: 1; left: 11%; right: 11%; top: 10%; bottom: 25%; }
.lab-animal { display: block; width: 100%; height: 100%; object-fit: contain; filter: drop-shadow(10px 12px 0 rgba(0, 0, 0, .3)); }
.lab-stage.secret .lab-animal { filter: none; }
.lab-animal.pop { animation: labpop .55s cubic-bezier(.3, 1.6, .5, 1); }
@keyframes labpop { 0% { opacity: 0; transform: scale(.45) rotate(-10deg); } 100% { opacity: 1; transform: none; } }
.lab-q { position: absolute; z-index: 2; left: 50%; top: 42%; display: none; transform: translate(-50%, -50%); font-family: var(--game); font-size: clamp(84px, 13vw, 160px);
	line-height: 1; color: var(--white); -webkit-text-stroke: .12em var(--ink); paint-order: stroke fill; pointer-events: none; animation: qbob 1.4s ease-in-out infinite alternate; }
@keyframes qbob { from { translate: 0 -6px; rotate: -4deg; } to { translate: 0 6px; rotate: 4deg; } }
.lab-lock { position: absolute; z-index: 2; top: 14px; left: 50%; display: none; transform: translateX(-50%); margin: 0; padding: 5px 16px 7px; text-align: center; white-space: nowrap;
	background: var(--ink); border: 3px solid var(--amber); border-radius: 14px; }
.lab-lock b { display: block; font-family: var(--game); font-weight: normal; font-size: 15px; letter-spacing: .06em; color: var(--amber); }
.lab-lock span { display: block; font-size: 12.5px; font-weight: 700; color: var(--text); }
.lab-stage.secret .lab-q, .lab-stage.secret .lab-lock { display: block; }
.lab-name { position: absolute; z-index: 2; left: 50%; bottom: 14px; transform: translateX(-50%); width: max-content; max-width: 86%; text-align: center; padding: 7px 24px 6px;
	background: var(--ink); border: 4px solid var(--white); border-radius: 24px; box-shadow: 5px 6px 0 rgba(0, 0, 0, .3); }
.lab-name span { display: block; font-family: var(--game); font-size: 12.5px; color: var(--teal); text-transform: uppercase; letter-spacing: .1em; }
.lab-name b { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden; font-family: var(--game); font-weight: normal;
	font-size: clamp(17px, 2.8vw, 30px); line-height: 1.15; color: var(--amber); }
.lab-arrow { position: absolute; z-index: 3; top: 42%; width: 56px; height: 56px; margin-top: -28px; border-radius: 50%; border: 4px solid var(--ink); background: var(--white);
	color: var(--ink); font: 42px/1 var(--game); padding: 0 0 6px; cursor: pointer; transition: transform .12s; }
.lab-arrow:hover { transform: scale(1.08); }
.lab-prev { left: 14px; } .lab-next { right: 14px; }
/* Seven places for looks, always, so the lab is as tall for six looks as for seven. */
.lab-looks { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 10px; margin-top: 18px; }
.look { position: relative; height: 104px; display: grid; grid-template-rows: minmax(0, 1fr) auto; place-items: center; gap: 3px; padding: 8px 6px 7px; overflow: hidden;
	background: var(--slate-700); border: 3px solid var(--ink); border-radius: 16px; color: var(--white); font: 12px/1.15 var(--game); text-transform: uppercase; cursor: pointer;
	transition: background .15s; }
.look:hover { background: var(--slate-600); }
.look img { display: block; width: 100%; height: 100%; min-height: 0; object-fit: contain; }
.look span { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden; min-height: 2.3em; text-align: center; }
.look[aria-pressed="true"] { background: var(--teal); color: var(--ink); }
.look.secret::after { content: '?'; position: absolute; top: 3px; right: 7px; font-family: var(--game); font-size: 18px; color: var(--amber); -webkit-text-stroke: 4px var(--ink); paint-order: stroke fill; }
.look .fill { position: absolute; left: 0; bottom: 0; height: 4px; width: 0; background: var(--amber); }

/* ---- The game, part by part --------------------------------------------------------------- */
.play { max-width: 1180px; margin: 0 auto; padding: 60px 16px 20px; display: grid; gap: 110px; }
.feat { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 56px; align-items: center; }
.feat.flip .feat-film { order: 2; }
.card { position: relative; aspect-ratio: 16 / 9; border: 8px solid var(--ink); border-radius: 24px; overflow: hidden; background: var(--ink);
	box-shadow: 16px 18px 0 rgba(0, 0, 0, .32); transition: transform .4s cubic-bezier(.3, 1.4, .5, 1); }
.card.tilt-l { transform: rotate(-2deg); } .card.tilt-r { transform: rotate(2deg); }
.card:hover { transform: rotate(0) scale(1.02); }
.card video { display: block; width: 100%; height: 100%; object-fit: cover; filter: saturate(1.25) contrast(1.06); transition: opacity .25s; }
.card video.fade { opacity: 0; }
.thumbs { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
.thumb { position: relative; overflow: hidden; padding: 9px 14px 11px; font-family: var(--game); font-size: 14px; color: var(--white); text-transform: uppercase;
	background: var(--slate-700); border: 3px solid var(--ink); border-radius: 13px; cursor: pointer; transition: background .15s; }
.thumb:hover { background: var(--slate-600); }
.thumb.on { background: var(--teal); color: var(--ink); }
.thumb .fill { position: absolute; left: 0; bottom: 0; height: 4px; width: 0; background: var(--ink); opacity: .55; }
.feat-icon { width: 70px; height: 70px; object-fit: contain; filter: drop-shadow(4px 5px 0 rgba(0, 0, 0, .3)); animation: bob 3.2s ease-in-out infinite alternate; }
.feat-words h2 { margin: 10px 0 16px; font-size: clamp(30px, 4vw, 50px); }
.feat-words ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.feat-words li { position: relative; padding-left: 34px; font-size: 17.5px; color: var(--text); }
.feat-words li::before { content: ''; position: absolute; left: 4px; top: .42em; width: 13px; height: 13px; background: var(--teal); border: 3px solid var(--ink); transform: rotate(45deg); border-radius: 3px; }
.feat:nth-child(2) li::before { background: var(--amber); } .feat:nth-child(3) li::before { background: var(--sky); } .feat:nth-child(4) li::before { background: var(--rose); }

/* ---- The trailer ------------------------------------------------------------------------- */
.trailer { padding: 110px 16px 60px; }
.screen { position: relative; max-width: 1100px; margin: 0 auto; aspect-ratio: 16 / 9; border: 10px solid var(--ink); border-radius: 28px; overflow: hidden; background: var(--ink);
	box-shadow: 18px 20px 0 rgba(0, 0, 0, .32); }
.screen video { display: block; width: 100%; height: 100%; object-fit: cover; }
/* A small, flat green play button in the middle. */
.screen-play { position: absolute; left: 50%; top: 50%; width: 76px; height: 76px; margin: -38px 0 0 -38px; padding: 0 0 0 6px; border-radius: 50%; background: var(--leaf);
	border: 4px solid var(--ink); box-shadow: none; cursor: pointer; display: grid; place-items: center; transition: background .15s, transform .15s; }
.screen-play:hover { background: var(--leaf-hi); transform: scale(1.06); }
.screen-play .btn-play { border-left-width: 24px; border-top-width: 15px; border-bottom-width: 15px; }
.screen.on .screen-play { display: none; }

/* ---- The end ----------------------------------------------------------------------------- */
.last { position: relative; overflow: hidden; isolation: isolate; margin-top: 80px; padding: 110px 16px 100px; text-align: center; border-top: 8px solid var(--ink); background: var(--slate-600); }
.last-rays { position: absolute; left: 50%; top: 50%; width: 2600px; height: 2600px; margin: -1300px 0 0 -1300px; z-index: -1;
	background: repeating-conic-gradient(#526278 0deg 9deg, var(--slate-600) 9deg 18deg); animation: turn 120s linear infinite reverse; }
.last-in { max-width: 900px; margin: 0 auto; }
.facts { list-style: none; padding: 0; margin: 32px auto 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.facts li { display: flex; align-items: center; gap: 10px; padding: 9px 16px 9px 10px; background: var(--ink); border: 3px solid rgba(255, 255, 255, .85); border-radius: 22px;
	font-weight: 700; font-size: 15.5px; text-align: left; }
.facts img { width: 32px; height: 32px; object-fit: contain; flex: none; }

.foot { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 28px; padding: 28px max(16px, 4vw) calc(40px + env(safe-area-inset-bottom)); background: var(--green);
	border-top: 6px solid var(--ink); color: rgba(255, 255, 255, .75); font-size: 15px; }
.foot nav { display: flex; flex-wrap: wrap; gap: 8px 20px; }
.foot a { color: #e9f5ee; }
.foot small { margin-left: auto; }

/* ---- Coming into view -------------------------------------------------------------------- */
.reveal { opacity: 0; transform: translateY(46px); transition: opacity .7s, transform .9s cubic-bezier(.2, 1.3, .35, 1); }
.reveal.in { opacity: 1; transform: none; }
.feat.reveal .feat-film { transform: translateX(-60px) rotate(-3deg); transition: transform 1s cubic-bezier(.2, 1.3, .35, 1); }
.feat.flip.reveal .feat-film { transform: translateX(60px) rotate(3deg); }
.feat.reveal.in .feat-film { transform: none; }

/* ---- Big screens only: the softened film behind the top ------------------------------------ */
@media (min-width: 900px) { .hero-film { filter: saturate(1.2) blur(1.5px); } }

/* ---- Tablets and phones -------------------------------------------------------------------- */
@media (max-width: 900px) {
	.stats { grid-template-columns: repeat(3, minmax(0, 1fr)); }
	.feat { grid-template-columns: minmax(0, 1fr); gap: 28px; }
	.feat.flip .feat-film { order: 0; }
	.feat.reveal .feat-film, .feat.flip.reveal .feat-film { transform: translateY(30px); }
	.play { gap: 72px; }
}
@media (max-width: 700px) {
	.lab-looks { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
	.look { height: 92px; font-size: 10.5px; padding: 7px 4px 6px; border-radius: 13px; }
}
@media (max-width: 640px) {
	body { font-size: 16px; }
	.bar { height: 56px; gap: 10px; }
	.bar-links { display: none; }
	.lockup-mark { width: 34px; height: 34px; }
	.lockup-word { height: 17px; }
	.bar-badge { height: 36px; }
	.hero { padding: 36px 14px 124px; }
	.hero-do { gap: 14px; margin-top: 22px; }
	.badge { height: 56px; }
	.stats { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; padding: 40px 14px 20px; }
	.stats .stat:last-child { grid-column: span 2; }
	.stat { padding: 16px 6px 14px; border-radius: 18px; }
	.stat img { width: 48px; height: 48px; }
	.morphs { padding: 56px 14px 30px; }
	.head p { font-size: 16px; }
	.tab { font-size: 12px; padding: 8px 10px; border-radius: 12px; }
	.lab-tabs { gap: 7px; }
	.lab-stage { height: clamp(290px, 82vw, 360px); border-width: 5px; border-radius: 22px; box-shadow: 8px 9px 0 rgba(0, 0, 0, .3); }
	.lab-box { left: 13%; right: 13%; top: 17%; bottom: 27%; }
	.lab-lock { top: 9px; padding: 4px 12px 5px; }
	.lab-lock b { font-size: 13px; }
	.lab-lock span { font-size: 11px; }
	.lab-arrow { width: 44px; height: 44px; margin-top: -22px; font-size: 32px; border-width: 3px; }
	.lab-prev { left: 7px; } .lab-next { right: 7px; }
	.lab-name { bottom: 10px; padding: 6px 16px 5px; border-width: 3px; max-width: 90%; }
	.lab-name span { font-size: 10.5px; }
	.play { padding: 40px 14px 10px; gap: 64px; }
	.card { border-width: 6px; border-radius: 18px; box-shadow: 9px 10px 0 rgba(0, 0, 0, .32); }
	.card.tilt-l { transform: rotate(-1.2deg); } .card.tilt-r { transform: rotate(1.2deg); }
	.thumbs { gap: 8px; margin-top: 18px; }
	.thumb { font-size: 12px; padding: 8px 11px 10px; }
	.feat-icon { width: 54px; height: 54px; }
	.feat-words li { font-size: 16px; padding-left: 30px; }
	.trailer { padding: 76px 14px 40px; }
	.screen { border-width: 6px; border-radius: 18px; box-shadow: 9px 10px 0 rgba(0, 0, 0, .32); }
	.screen-play { width: 58px; height: 58px; margin: -29px 0 0 -29px; padding-left: 5px; border-width: 3px; }
	.screen-play .btn-play { border-left-width: 18px; border-top-width: 11px; border-bottom-width: 11px; }
	.last { margin-top: 56px; padding: 76px 14px 70px; }
	.facts li { font-size: 14.5px; }
	.foot small { margin-left: 0; }
}
@media (max-width: 420px) { .bar-badge { display: none; } }

@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
	.reveal, .feat.reveal .feat-film { opacity: 1; transform: none; }
	.logo .ch { opacity: 1; }
}
