:root {
  --sky-1: #84b6e6;
  --sky-2: #b5d5f1;
  --sky-3: #e2eef9;
  --pink: #ff86ad;
  --pink-2: #e9668f;
  --ink: #17151c;
  --ink-soft: #5a5560;
  --cream: #f6f1ea;
  --cream-2: #ece4d8;
  --curve: clamp(40px, 7vw, 90px);
  --head: "Anton", Impact, "Arial Narrow Bold", sans-serif;
  --body: "Nunito", ui-rounded, system-ui, -apple-system, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0; font-family: var(--body); color: var(--ink); background: var(--ink);
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
button { font: inherit; cursor: pointer; color: inherit; }
code { font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.grain {
  position: fixed; inset: -50%; pointer-events: none; z-index: 100; opacity: .05;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  animation: grain 1.2s steps(4) infinite;
}
@keyframes grain { 25% { transform: translate(-3%, 2%); } 50% { transform: translate(2%, -3%); } 75% { transform: translate(-1%, 3%); } }

.file-warning {
  position: fixed; left: 50%; bottom: 16px; transform: translateX(-50%); z-index: 90;
  background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 14px; font-size: 14px; max-width: 92vw;
}
.file-warning code { background: rgba(255,255,255,.14); padding: 1px 6px; border-radius: 6px; }

/* ── buttons ───────────────────────────── */
.btn {
  --bg: var(--pink); --fg: #fff;
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 16px 30px; border-radius: 999px; border: 0;
  background: var(--bg); color: var(--fg);
  font-family: var(--body); font-weight: 900; font-size: 16px; letter-spacing: .02em; text-decoration: none; text-transform: lowercase;
  box-shadow: 0 10px 26px rgba(233,102,143,.35), inset 0 -3px 0 rgba(0,0,0,.08);
  transition: transform .2s cubic-bezier(.2,1.4,.4,1), box-shadow .2s, background .2s;
}
.btn:hover { transform: translateY(-2px) scale(1.03); background: #ff94b7; }
.btn:active { transform: scale(.97); }
.btn-small { padding: 11px 20px; font-size: 14px; box-shadow: 0 6px 16px rgba(233,102,143,.3); }
.btn-glass {
  --bg: rgba(255,255,255,.55); --fg: var(--ink);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  box-shadow: inset 0 0 0 1.5px rgba(255,255,255,.8), 0 10px 26px rgba(40,70,120,.12);
}
.btn-glass:hover { background: rgba(255,255,255,.8); }
.btn-ghost { --bg: transparent; --fg: var(--ink); box-shadow: inset 0 0 0 2px rgba(23,21,28,.18); }
.btn-ghost:hover { background: rgba(23,21,28,.05); }
.btn-big { padding: 22px 40px; font-size: 19px; }

.chip {
  border: 0; padding: 8px 14px; border-radius: 999px; font-weight: 800; font-size: 14px;
  background: rgba(23,21,28,.06); color: var(--ink); transition: background .2s;
}
.chip.active { background: var(--ink); color: #fff; }

/* ── nav ───────────────────────────────── */
.nav {
  position: fixed; top: 18px; left: 50%; transform: translateX(-50%); z-index: 50;
  width: min(1180px, calc(100% - 28px));
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
}
.logo-mini {
  font-family: var(--head); font-size: 34px; line-height: 1; text-decoration: none; color: #fff;
  text-shadow: 0 2px 14px rgba(40,70,120,.25);
}
.nav-links {
  display: flex; gap: 2px; padding: 5px; border-radius: 999px;
  background: rgba(255,255,255,.4); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.6);
}
.nav-links a { text-decoration: none; padding: 9px 16px; border-radius: 999px; font-weight: 800; font-size: 14px; transition: background .2s; }
.nav-links a:hover { background: rgba(255,255,255,.7); }
.nav-actions { display: flex; align-items: center; gap: 8px; }
.icon-btn {
  width: 42px; height: 42px; display: grid; place-items: center; border-radius: 50%;
  background: rgba(255,255,255,.45); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.6); transition: transform .2s;
}
.icon-btn:hover { transform: rotate(-8deg) scale(1.05); }

/* ── hero ──────────────────────────────── */
.hero {
  position: relative; height: 100svh; min-height: 620px; overflow: hidden;
  background: linear-gradient(to bottom, var(--sky-1) 0%, var(--sky-2) 55%, var(--sky-3) 100%);
}
.sky { position: absolute; inset: 0; pointer-events: none; z-index: 0; }
.sun {
  position: absolute; top: -12%; left: 50%; width: 80vmax; aspect-ratio: 1; translate: -50% 0; border-radius: 50%;
  background: radial-gradient(circle, rgba(255,250,235,.75) 0%, rgba(255,245,225,.25) 35%, transparent 60%);
}
.sky-layer { position: absolute; inset: 0; transform: translate(var(--mx, 0px), var(--my, 0px)); transition: transform 1s cubic-bezier(.2,.8,.2,1); }
#skyFar .cloud { filter: blur(14px); opacity: .85; }
#skyMid .cloud { filter: blur(7px); opacity: .95; }

/* DOM clouds (soft, out of focus, behind the 3D scene) */
.cloud { position: relative; aspect-ratio: 2 / 1; }
.puff {
  position: absolute; aspect-ratio: 1; border-radius: 50%; translate: -50% -50%;
  background: radial-gradient(circle at 42% 32%, #fff 0 42%, #f3f8fd 60%, #dbe7f3 82%, #c9d9ea 100%);
}
.cloud-base { position: absolute; left: 8%; right: 8%; top: 52%; bottom: 0; background: #fff; border-radius: 999px; }
.drifter { position: absolute; left: 0; animation: drift var(--dur, 120s) linear infinite; animation-delay: var(--delay, 0s); }
@keyframes drift { from { transform: translateX(-40vw); } to { transform: translateX(120vw); } }

#hero3d {
  position: absolute; inset: 0; width: 100%; height: 100%; z-index: 2; display: block; touch-action: pan-y;
  /* soft halo of sky light around the letters, like they're backlit */
  filter: drop-shadow(0 0 22px rgba(255, 252, 245, .55));
}
.hero-fallback { display: none; }
.no-webgl .hero-fallback {
  display: grid; place-items: center; position: absolute; inset: 0; z-index: 2; padding-bottom: 22vh;
}
.no-webgl .hero-fallback img { width: min(46vh, 70vw); border-radius: 50%; filter: blur(1px); }
.no-webgl .hero-fallback span { font-family: var(--head); font-size: 22vw; color: #fff; margin-top: -8vw; }

.pops { position: absolute; inset: 0; pointer-events: none; z-index: 6; }
.pop {
  position: absolute; font-family: var(--head); font-size: clamp(22px, 3vw, 34px); color: #fff; white-space: nowrap;
  text-shadow: 0 4px 18px rgba(40,70,120,.35);
  animation: popUp 1.3s ease-out forwards;
}
.pop.heart { color: var(--pink); text-shadow: 0 4px 14px rgba(200,60,100,.3); }
@keyframes popUp {
  0% { opacity: 0; transform: translate(-50%, 0) scale(.6) rotate(var(--r, 0deg)); }
  15% { opacity: 1; transform: translate(-50%, -24px) scale(1.1) rotate(var(--r, 0deg)); }
  100% { opacity: 0; transform: translate(calc(-50% + var(--dx, 0px)), -150px) scale(.9) rotate(var(--r, 0deg)); }
}

.hero-bottom {
  position: absolute; left: 0; right: 0; bottom: calc(var(--curve) + 4vh); z-index: 4;
  display: flex; flex-direction: column; align-items: center; gap: 16px; padding: 0 20px; text-align: center;
  pointer-events: none;
}
.hero-bottom > * { pointer-events: auto; }
.tagline { margin: 0; font-weight: 900; font-size: clamp(17px, 2vw, 21px); color: #fff; text-shadow: 0 2px 16px rgba(40,70,120,.35); }
.hero-ctas { display: flex; gap: 12px; flex-wrap: wrap; justify-content: center; }
.ca {
  display: inline-flex; align-items: center; gap: 8px; max-width: 100%;
  padding: 6px 6px 6px 16px; border-radius: 999px;
  background: rgba(255,255,255,.45); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.7);
}
.ca-label { font-weight: 900; font-size: 12px; letter-spacing: .12em; opacity: .6; }
.ca-value { font-size: 14px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: min(72vw, 440px); }
.ca-value.placeholder { font-family: var(--body); font-weight: 700; font-style: italic; opacity: .7; }
.ca-copy { border: 0; border-radius: 999px; padding: 8px 14px; font-weight: 900; font-size: 13px; background: var(--ink); color: #fff; }
.ca-copy:active { transform: scale(.95); }
.ca-light { background: #fff; box-shadow: 0 6px 20px rgba(23,21,28,.08); }

.pet-count, .sound-toggle { position: absolute; bottom: calc(var(--curve) + 14px); z-index: 4; font-size: 13px; font-weight: 800; }
.pet-count { left: 22px; margin: 0; color: rgba(255,255,255,.95); text-shadow: 0 1px 8px rgba(40,70,120,.3); }
.pet-count .hint { opacity: .75; }
.sound-toggle { right: 22px; border: 0; border-radius: 999px; padding: 8px 14px; background: rgba(255,255,255,.45); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }

/* ── curved full-bleed sections ────────── */
.wall-section, .panel, .footer {
  position: relative; margin-top: calc(var(--curve) * -1); z-index: 5;
  border-radius: 50% 50% 0 0 / var(--curve) var(--curve) 0 0;
  overflow: hidden;
}

/* ── the wall ──────────────────────────── */
.wall-section { height: max(100svh, 700px); background: #0f1020; }
.wall {
  position: absolute; left: -18%; right: -18%; top: -22%; bottom: -22%;
  display: flex; gap: 16px; transform: rotate(-9deg);
}
.wall-col { flex: 1; min-width: 150px; overflow: visible; }
.wall-track { display: flex; flex-direction: column; gap: 16px; animation: wallUp var(--dur, 60s) linear infinite; }
.wall-col:nth-child(even) .wall-track { animation-direction: reverse; }
.wall-col:hover .wall-track { animation-play-state: paused; }
@keyframes wallUp { from { transform: translateY(0); } to { transform: translateY(-50%); } }
.wall-tile {
  display: block; width: 100%; border: 0; padding: 0; border-radius: 18px; overflow: hidden; background: #222;
  box-shadow: 0 14px 30px rgba(0,0,0,.35); transition: transform .3s cubic-bezier(.2,1.4,.4,1), box-shadow .3s;
}
.wall-tile img { width: 100%; height: auto; }
.wall-tile:hover { transform: scale(1.05) rotate(2deg); box-shadow: 0 0 0 4px #fff, 0 20px 40px rgba(0,0,0,.45); position: relative; z-index: 2; }
.wall-shade { position: absolute; inset: 0; pointer-events: none; background: linear-gradient(to top, rgba(10,10,24,.85) 0%, rgba(10,10,24,.35) 38%, transparent 62%); }
.wall-copy {
  position: absolute; left: clamp(20px, 6vw, 90px); bottom: calc(var(--curve) + 7vh); right: 20px;
  color: #fff; pointer-events: none;
}
.wall-copy h2 { font-family: var(--head); font-weight: 400; font-size: clamp(56px, 10vw, 150px); line-height: .9; margin: 0 0 12px; text-transform: lowercase; }
.wall-copy p { font-size: clamp(16px, 1.6vw, 19px); font-weight: 700; margin: 0 0 22px; opacity: .9; max-width: 460px; }
.wall-copy .btn { pointer-events: auto; }

/* ── panels ────────────────────────────── */
.panel { padding: calc(var(--curve) + clamp(50px, 7vw, 90px)) 20px calc(var(--curve) + clamp(60px, 8vw, 110px)); }
.panel-cream { background: var(--cream); }
.panel-sky { background: linear-gradient(to bottom, var(--sky-1), var(--sky-2) 50%, var(--sky-3)); }
.panel-clouds { position: absolute; inset: 0; pointer-events: none; }
.panel-clouds .cloud { filter: blur(10px); opacity: .9; }
.panel > *:not(.panel-clouds) { position: relative; z-index: 1; }
.panel-head { max-width: 1180px; margin: 0 auto clamp(32px, 4vw, 54px); }
.panel-head h2 { font-family: var(--head); font-weight: 400; font-size: clamp(60px, 10vw, 150px); line-height: .88; margin: 0 0 14px; text-transform: lowercase; }
.panel-head p { font-size: clamp(16px, 1.6vw, 19px); font-weight: 700; color: var(--ink-soft); margin: 0; max-width: 520px; }
.panel-sky .panel-head h2 { color: #fff; text-shadow: 0 6px 30px rgba(40,70,120,.25); }
.panel-sky .panel-head p { color: rgba(23,21,28,.7); }

/* ── pfp randomiser ────────────────────── */
.panel-head-center { text-align: center; }
.panel-head-center p { margin: 0 auto; }
.pfp-gen { display: flex; flex-direction: column; align-items: center; gap: 30px; }
.pfp-card {
  width: min(460px, 84vw); aspect-ratio: 1; border-radius: 36px; overflow: hidden; cursor: pointer;
  background: var(--sky-2);
  box-shadow: 0 0 0 10px #fff, 0 34px 70px rgba(23,21,28,.18);
  transform: rotate(-2deg);
  transition: transform .3s cubic-bezier(.2,1.4,.4,1);
}
.pfp-card:hover { transform: rotate(0deg) scale(1.02); }
.pfp-card img { width: 100%; height: 100%; object-fit: cover; display: block; }
.pfp-card.shuffling img { filter: blur(2px); }
.pfp-card.landed { animation: land .5s cubic-bezier(.2,1.6,.4,1); }
@keyframes land { 0% { transform: rotate(-2deg) scale(.9); } 60% { transform: rotate(1deg) scale(1.04); } 100% { transform: rotate(-2deg) scale(1); } }
.pfp-actions { display: flex; gap: 12px; flex-wrap: wrap; justify-content: center; }

/* ── pfp maker ─────────────────────────── */
.maker { max-width: 1180px; margin: 0 auto; display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 36px; align-items: start; }
.maker-preview { position: sticky; top: 90px; }
.canvas-wrap { border-radius: 32px; overflow: hidden; aspect-ratio: 1; background: var(--sky-2); box-shadow: 0 30px 70px rgba(23,21,28,.18); }
.canvas-wrap canvas { width: 100%; height: 100%; display: block; touch-action: none; }
.tiny { font-size: 13px; color: var(--ink-soft); text-align: center; margin: 18px 0 12px; font-weight: 700; }
.maker-actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.maker-controls { display: grid; gap: 14px; }
.control { background: #fff; border-radius: 26px; padding: 20px; box-shadow: 0 8px 26px rgba(23,21,28,.05); }
.control h3 { font-family: var(--body); font-weight: 900; font-size: 18px; margin: 0 0 14px; display: flex; align-items: center; gap: 10px; text-transform: lowercase; }
.num { width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; background: var(--pink); color: #fff; font-size: 14px; }
.outfits { display: grid; grid-template-columns: repeat(5, 1fr); gap: 8px; }
.outfit { aspect-ratio: 1; border-radius: 16px; border: 0; padding: 0; overflow: hidden; background: linear-gradient(var(--sky-1), var(--sky-2)); transition: transform .15s, box-shadow .15s; }
.outfit img { width: 100%; height: 100%; object-fit: cover; }
.outfit:hover { transform: translateY(-2px); }
.outfit.active { box-shadow: 0 0 0 3px #fff, 0 0 0 6px var(--pink); }
.scenes { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin-bottom: 12px; }
.scene { border: 0; border-radius: 14px; padding: 30px 6px 8px; font-weight: 900; font-size: 12px; color: #fff; background: var(--g); text-shadow: 0 1px 4px rgba(0,0,0,.3); transition: transform .15s; }
.scene:hover { transform: translateY(-2px); }
.scene.active { box-shadow: 0 0 0 3px #fff, 0 0 0 6px var(--pink); }
.swatches { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 12px; }
.swatch { width: 32px; height: 32px; border-radius: 50%; border: 0; padding: 0; background: var(--c); box-shadow: inset 0 0 0 2px rgba(0,0,0,.08); transition: transform .15s; }
.swatch:hover { transform: scale(1.1); }
.swatch.active { box-shadow: 0 0 0 3px #fff, 0 0 0 5px var(--pink); }
.row-label { display: flex; align-items: center; gap: 14px; font-weight: 800; font-size: 14px; flex-wrap: wrap; }
.row-label input[type="color"] { width: 32px; height: 26px; border: 0; border-radius: 8px; padding: 0; background: none; cursor: pointer; }
.check { display: inline-flex; align-items: center; gap: 6px; font-weight: 800; font-size: 14px; cursor: pointer; }
.check input[type="checkbox"] { accent-color: var(--pink); width: 16px; height: 16px; }
.stickers { display: flex; flex-wrap: wrap; gap: 6px; }
.sticker-btn { width: 42px; height: 42px; border-radius: 12px; border: 0; font-size: 22px; background: var(--cream); display: grid; place-items: center; transition: transform .15s; }
.sticker-btn:hover { transform: scale(1.12) rotate(-6deg); }
.sticker-edit { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; margin-top: 14px; font-weight: 800; font-size: 14px; }
.sticker-edit label { display: flex; align-items: center; gap: 8px; }
.text-row { margin-top: 14px; }
.text-row input, .field input { flex: 1; min-width: 0; border: 2px solid var(--cream-2); border-radius: 14px; padding: 10px 12px; font: inherit; font-weight: 700; background: #fff; color: var(--ink); }
.text-row input:focus, .field input:focus { outline: none; border-color: var(--pink); }
.slider { display: grid; grid-template-columns: 64px 1fr; align-items: center; gap: 10px; font-weight: 800; font-size: 14px; margin: 6px 0; }
input[type="range"] { accent-color: var(--pink); width: 100%; }

/* ── meme modal ────────────────────────── */
.meme-modal { border: 0; padding: 0; border-radius: 30px; background: #fff; color: var(--ink); width: min(1100px, 96vw); max-height: 94vh; overflow: auto; box-shadow: 0 40px 100px rgba(0,0,0,.4); }
.meme-modal::backdrop { background: rgba(15,16,32,.6); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.modal-close-form { position: absolute; top: 12px; right: 12px; margin: 0; z-index: 2; }
.modal-close { width: 42px; height: 42px; border-radius: 50%; border: 0; font-size: 26px; line-height: 1; background: var(--cream); }
.meme-layout { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(260px, 1fr); }
.meme-canvas-wrap { background: #0f1020; display: grid; place-items: center; padding: 18px; min-height: 300px; }
.meme-canvas-wrap canvas { max-width: 100%; max-height: 78vh; height: auto; border-radius: 12px; }
.meme-controls { padding: 28px 24px; display: grid; gap: 14px; align-content: start; }
.meme-controls h3 { font-family: var(--head); font-weight: 400; font-size: 44px; margin: 0; line-height: 1; }
.field { display: grid; gap: 6px; font-weight: 800; font-size: 14px; }
.seg { display: flex; gap: 6px; flex-wrap: wrap; }
.meme-buttons { display: flex; gap: 8px; margin-top: 6px; }
.meme-buttons .btn { padding: 12px 16px; }
.meme-buttons .btn:last-child { flex: 1; }

/* ── how to buy ────────────────────────── */
.steps { list-style: none; padding: 0; margin: 0 auto; max-width: 1180px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.steps li {
  background: rgba(255,255,255,.75); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-radius: 28px; padding: 26px 24px 28px; box-shadow: 0 16px 40px rgba(40,70,120,.1), inset 0 0 0 1px rgba(255,255,255,.8);
}
.step-n { font-family: var(--head); font-size: 54px; line-height: 1; color: var(--pink); }
.steps h3 { font-family: var(--body); font-weight: 900; font-size: 21px; margin: 12px 0 8px; }
.steps p { margin: 0; line-height: 1.55; color: var(--ink-soft); font-weight: 600; }
.buy-box { display: flex; flex-direction: column; align-items: center; gap: 22px; margin-top: 56px; }

/* ── footer ────────────────────────────── */
.footer { background: var(--ink); color: #fff; text-align: center; padding: calc(var(--curve) + 60px) 20px 50px; }
/* cet asleep on top of "stay soft": the canvas overlaps the top of the text, which sits in front of it */
.footer-cet-wrap { position: relative; width: min(440px, 88vw); margin: 0 auto calc(min(440px, 88vw) * -0.17); z-index: 1; }
.footer-cet3d { display: block; width: 100%; aspect-ratio: 1.6; cursor: pointer; -webkit-tap-highlight-color: transparent; }
.footer-big { position: relative; z-index: 2; }
.zzz { position: absolute; left: 66%; top: 6%; pointer-events: none; transition: opacity .6s; }
.zzz span {
  position: absolute; font-family: var(--head); color: #cfd6f5; opacity: 0;
  animation: zz 3.6s ease-in-out infinite;
}
.zzz span:nth-child(1) { font-size: 18px; animation-delay: 0s; }
.zzz span:nth-child(2) { font-size: 24px; animation-delay: 1.2s; }
.zzz span:nth-child(3) { font-size: 30px; animation-delay: 2.4s; }
@keyframes zz {
  0% { opacity: 0; transform: translate(0, 10px) rotate(-10deg); }
  25% { opacity: .9; }
  100% { opacity: 0; transform: translate(34px, -60px) rotate(12deg); }
}
.footer-cet-wrap.awake .zzz { opacity: 0; }
.footer-big { font-family: var(--head); font-size: clamp(70px, 14vw, 200px); line-height: .9; margin: 18px 0 clamp(40px, 5vw, 64px); text-transform: lowercase; }
.footer-links { display: flex; justify-content: center; gap: 24px; flex-wrap: wrap; font-weight: 800; }
.footer-links a { text-decoration: underline; text-underline-offset: 4px; text-decoration-color: rgba(255,255,255,.3); }
.footer-links a:hover { color: var(--pink); }
.disclaimer { max-width: 560px; margin: 30px auto 0; font-size: 13px; opacity: .5; line-height: 1.5; }

.toast {
  position: fixed; left: 50%; bottom: 28px; z-index: 120; transform: translate(-50%, 30px); opacity: 0; pointer-events: none;
  background: var(--ink); color: #fff; font-weight: 800; padding: 12px 20px; border-radius: 999px; transition: .3s cubic-bezier(.2,.9,.3,1.3);
}
.toast.show { transform: translate(-50%, 0); opacity: 1; }
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }

@media (max-width: 960px) {
  .maker { grid-template-columns: 1fr; }
  .maker-preview { position: static; max-width: 560px; margin: 0 auto; width: 100%; }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .meme-layout { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
  .nav-links { display: none; }
  .hero-bottom { gap: 12px; bottom: calc(var(--curve) + 5vh); }
  .pet-count { display: none; }
  .wall-col { min-width: 120px; }
  .wall { gap: 10px; }
  .wall-track { gap: 10px; }
  .steps { grid-template-columns: 1fr; }
  .ca-value { max-width: 52vw; font-size: 12px; }
  .scenes { grid-template-columns: repeat(2, 1fr); }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  html { scroll-behavior: auto; }
}
