/* WaitChat — landing. Dark first, light via prefers-color-scheme. */
:root {
  color-scheme: dark light;
  --bg: #0b0d1a;
  --bg-2: #12152a;
  --surface: rgba(255, 255, 255, 0.045);
  --surface-2: rgba(255, 255, 255, 0.08);
  --solid: #161a31;
  --ink: #f4f2ff;
  --ink-2: #ddd8f2;
  --muted: #a8a3c4;
  --line: rgba(244, 242, 255, 0.11);
  --line-2: rgba(244, 242, 255, 0.2);
  --accent: #a594ff;
  --violet: #6c5ce7;
  --violet-2: #8b7bff;
  --rose: #ff5c7a;
  --mint: #3ee0c2;
  --sun: #ffcf4a;
  --paper: #f6f1e7;
  --paper-ink: #1e1a33;
  --shadow: 0 24px 60px rgba(3, 4, 16, 0.55);
  --shadow-sm: 0 10px 26px rgba(3, 4, 16, 0.35);
  --orb-a: rgba(108, 92, 231, 0.5);
  --orb-b: rgba(255, 92, 154, 0.26);
  --orb-c: rgba(62, 224, 194, 0.16);
  --header: rgba(11, 13, 26, 0.72);
  --max: 1180px;
  --r: 24px;
  --hand: "Shantell Sans", "Comic Sans MS", cursive;
  --sans: Outfit, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

@media (prefers-color-scheme: light) {
  :root {
    --bg: #f6f3ff;
    --bg-2: #ece7ff;
    --surface: rgba(255, 255, 255, 0.72);
    --surface-2: #ffffff;
    --solid: #ffffff;
    --ink: #17142e;
    --ink-2: #2f2a4d;
    --muted: #5d5880;
    --line: rgba(40, 30, 90, 0.11);
    --line-2: rgba(40, 30, 90, 0.2);
    --accent: #5a48d6;
    --violet: #6c5ce7;
    --violet-2: #7d6cf0;
    --shadow: 0 24px 60px rgba(60, 40, 140, 0.16);
    --shadow-sm: 0 10px 26px rgba(60, 40, 140, 0.12);
    --orb-a: rgba(108, 92, 231, 0.28);
    --orb-b: rgba(255, 92, 154, 0.18);
    --orb-c: rgba(62, 224, 194, 0.16);
    --header: rgba(246, 243, 255, 0.78);
  }
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  min-width: 320px;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--violet-2); outline-offset: 3px; border-radius: 8px; }

.skip {
  position: absolute; left: 12px; top: -60px; z-index: 100;
  padding: 10px 16px; border-radius: 12px; background: var(--violet); color: #fff; text-decoration: none;
}
.skip:focus { top: 12px; }

/* background */
.bg { position: fixed; inset: 0; z-index: -1; pointer-events: none; overflow: hidden; }
.orb { position: absolute; border-radius: 50%; filter: blur(80px); }
.o1 { width: 620px; height: 620px; left: -160px; top: -200px; background: var(--orb-a); animation: drift 22s ease-in-out infinite alternate; }
.o2 { width: 520px; height: 520px; right: -180px; top: 20vh; background: var(--orb-b); animation: drift 26s ease-in-out infinite alternate-reverse; }
.o3 { width: 480px; height: 480px; left: 30%; bottom: -260px; background: var(--orb-c); animation: drift 30s ease-in-out infinite alternate; }
.grain {
  position: absolute; inset: 0; opacity: 0.5;
  background-image: radial-gradient(var(--line) 1px, transparent 1px);
  background-size: 26px 26px;
  mask-image: linear-gradient(180deg, #000 0%, transparent 70%);
  -webkit-mask-image: linear-gradient(180deg, #000 0%, transparent 70%);
}
@keyframes drift { to { transform: translate(60px, 40px) scale(1.08); } }

/* header */
.top {
  position: sticky; top: 0; z-index: 50;
  background: var(--header);
  backdrop-filter: blur(16px) saturate(1.4);
  -webkit-backdrop-filter: blur(16px) saturate(1.4);
  border-bottom: 1px solid var(--line);
}
.top-in {
  position: relative;
  display: flex; align-items: center; gap: 28px;
  max-width: var(--max); margin: 0 auto; padding: 12px 28px;
}
.mark {
  display: flex; align-items: center; gap: 10px;
  font-family: var(--hand); font-weight: 800; font-size: 22px; letter-spacing: -0.02em;
  text-decoration: none;
}
.mark img { border-radius: 9px; }
.nav { display: flex; gap: 4px; margin-left: auto; }
.nav a {
  padding: 8px 14px; border-radius: 999px;
  color: var(--muted); text-decoration: none; font-weight: 500; font-size: 15px;
  transition: color .2s, background .2s;
}
.nav a:hover { color: var(--ink); background: var(--surface-2); }
.nav .nav-mail { display: none; }
.top-mail {
  padding: 9px 18px; border-radius: 999px;
  background: var(--violet); color: #fff; text-decoration: none; font-weight: 600; font-size: 15px;
  box-shadow: 0 8px 22px rgba(108, 92, 231, 0.4);
  transition: transform .2s, box-shadow .2s;
}
.top-mail:hover { transform: translateY(-1px); box-shadow: 0 12px 28px rgba(108, 92, 231, 0.5); }
.menu {
  display: none; margin-left: auto;
  width: 44px; height: 44px; border-radius: 14px;
  border: 1px solid var(--line-2); background: var(--surface); color: var(--ink); cursor: pointer;
}
.menu span, .menu span::before, .menu span::after {
  display: block; width: 18px; height: 2px; margin: 0 auto; border-radius: 2px;
  background: currentColor; transition: transform .25s, opacity .25s; position: relative;
}
.menu span::before, .menu span::after { content: ""; position: absolute; left: 0; }
.menu span::before { top: -6px; }
.menu span::after { top: 6px; }
body.nav-open .menu span { background: transparent; }
body.nav-open .menu span::before { transform: translateY(6px) rotate(45deg); background: var(--ink); }
body.nav-open .menu span::after { transform: translateY(-6px) rotate(-45deg); background: var(--ink); }

/* type */
.kicker {
  display: inline-flex; align-items: center; gap: 8px;
  margin: 0 0 16px; padding: 6px 14px; border-radius: 999px;
  background: var(--surface); border: 1px solid var(--line);
  color: var(--accent); font-size: 13px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase;
}
.kicker .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--mint); box-shadow: 0 0 0 4px rgba(62, 224, 194, 0.2); }
h1, h2 { font-family: var(--hand); font-weight: 800; letter-spacing: -0.03em; }
h1 { margin: 0 0 20px; font-size: clamp(40px, 6.2vw, 76px); line-height: 1.02; }
h1 em {
  position: relative; display: inline-block; font-style: normal; white-space: nowrap;
  background: linear-gradient(100deg, #b6a8ff 0%, #8b7bff 40%, #ff7aa8 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
@media (prefers-color-scheme: light) {
  h1 em { background-image: linear-gradient(100deg, #5a48d6 0%, #7c4dff 45%, #e0457b 100%); }
}
h1 em svg { position: absolute; left: 0; right: 0; bottom: -0.12em; width: 100%; height: 0.28em; color: var(--rose); opacity: 0.85; }
h2 { margin: 0 0 14px; font-size: clamp(30px, 4vw, 50px); line-height: 1.08; }

/* buttons */
.cta { display: flex; flex-wrap: wrap; gap: 12px; margin: 30px 0 22px; }
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 15px 26px; border-radius: 999px;
  font-weight: 600; font-size: 17px; text-decoration: none;
  transition: transform .2s, box-shadow .2s, background .2s;
}
.btn-primary {
  color: #fff;
  background: linear-gradient(135deg, #8b7bff, #6c5ce7 55%, #5b48d9);
  box-shadow: 0 14px 34px rgba(108, 92, 231, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.25);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 18px 40px rgba(108, 92, 231, 0.55); }
.btn-primary span { transition: transform .2s; }
.btn-primary:hover span { transform: translateX(4px); }
.btn-ghost { color: var(--ink); background: var(--surface); border: 1px solid var(--line-2); }
.btn-ghost:hover { background: var(--surface-2); transform: translateY(-2px); }
.soon { display: flex; align-items: center; gap: 10px; margin: 0; color: var(--muted); font-size: 15px; }
.soon-ic {
  flex: 0 0 auto; width: 28px; height: 28px; border-radius: 9px;
  background: var(--surface-2) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Crect x='7' y='2.5' width='10' height='19' rx='2.6' fill='none' stroke='%238b7bff' stroke-width='2'/%3E%3Ccircle cx='12' cy='18' r='1.2' fill='%238b7bff'/%3E%3C/svg%3E") center/16px no-repeat;
  border: 1px solid var(--line);
}

/* hero */
.hero {
  display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: 40px; align-items: center;
  max-width: var(--max); margin: 0 auto; padding: 64px 28px 40px;
  min-height: calc(100vh - 70px); min-height: calc(100svh - 70px);
}
.lead { margin: 0; max-width: 560px; color: var(--ink-2); font-size: clamp(18px, 1.6vw, 21px); }

.stage { position: relative; display: grid; place-items: center; min-height: 600px; }
.stage::before {
  content: ""; position: absolute; width: 420px; height: 420px; border-radius: 50%;
  background: radial-gradient(circle, rgba(108, 92, 231, 0.55), transparent 65%);
  filter: blur(20px);
}
.float {
  position: absolute; z-index: 2; width: 84px; height: 84px; border-radius: 50%;
  border: 3px solid var(--solid); box-shadow: var(--shadow-sm);
  animation: bob 6s ease-in-out infinite;
}
.fl1 { left: 2%; top: 14%; width: 96px; height: 96px; }
.fl2 { right: 0; top: 6%; animation-delay: -1.5s; }
.fl3 { left: 6%; bottom: 14%; width: 72px; height: 72px; animation-delay: -3s; }
.fl4 { right: 4%; bottom: 22%; width: 90px; height: 90px; animation-delay: -4.5s; }
@keyframes bob { 0%, 100% { transform: translateY(0) rotate(-4deg); } 50% { transform: translateY(-14px) rotate(4deg); } }

.phone {
  position: relative; z-index: 1;
  width: 300px; height: 600px; padding: 11px; border-radius: 50px;
  background: linear-gradient(150deg, #3a3d5c, #14162a 40%, #23264a);
  box-shadow: var(--shadow), 0 0 0 1px rgba(255, 255, 255, 0.08) inset, 0 0 80px rgba(108, 92, 231, 0.35);
  transform: perspective(1000px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)) rotate(3deg);
  transition: transform .5s cubic-bezier(.2, .7, .2, 1);
  will-change: transform;
}
.phone-screen {
  position: relative; display: flex; flex-direction: column; height: 100%;
  border-radius: 40px; overflow: hidden;
  background: radial-gradient(260px 200px at 80% 0%, rgba(108, 92, 231, 0.35), transparent 70%), #0e1020;
  color: #f4f2ff;
}
.island { position: absolute; left: 50%; top: 10px; width: 92px; height: 26px; margin-left: -46px; border-radius: 20px; background: #000; z-index: 2; }
.chat-head {
  display: flex; align-items: center; gap: 10px;
  padding: 48px 18px 14px; border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.chat-head b { display: block; font-family: var(--hand); font-size: 17px; line-height: 1.1; }
.chat-head small { color: #a8a3c4; font-size: 12px; }
.ava, .face {
  position: relative; display: grid; place-items: center; flex: 0 0 auto; border-radius: 50%;
  font-family: var(--hand); font-weight: 700; color: #fff;
}
.ava { width: 40px; height: 40px; font-size: 14px; background: linear-gradient(135deg, #f472b6, #8b5cf6); }
.ava img { position: absolute; right: -5px; bottom: -5px; width: 22px; height: 22px; border-radius: 50%; border: 2px solid #0e1020; }
.thread { flex: 1; display: flex; flex-direction: column; gap: 10px; padding: 18px 14px; justify-content: flex-end; }
.bubble { margin: 0; max-width: 78%; padding: 9px 14px; border-radius: 20px; font-size: 14px; line-height: 1.35; }
.bubble.out { align-self: flex-end; border-bottom-right-radius: 6px; background: linear-gradient(135deg, #8b7bff, #6c5ce7); }
.bubble.in { align-self: flex-start; border-bottom-left-radius: 6px; background: #1d2140; }
.sealed {
  position: relative; align-self: flex-end; width: 84%;
  border-radius: 22px 22px 6px 22px; overflow: hidden;
  background: linear-gradient(160deg, #2a2560, #191b3a);
  border: 1px solid rgba(165, 148, 255, 0.45);
  box-shadow: 0 0 0 4px rgba(108, 92, 231, 0.12), 0 14px 30px rgba(0, 0, 0, 0.4);
}
.sealed-blur { position: absolute; inset: 14px 16px auto; display: grid; gap: 7px; filter: blur(5px); opacity: 0.35; }
.sealed-blur i { display: block; height: 9px; border-radius: 6px; background: #c9c1ff; }
.sealed-blur i:nth-child(2) { width: 80%; }
.sealed-blur i:nth-child(3) { width: 55%; }
.sealed-body { position: relative; display: grid; justify-items: center; gap: 2px; padding: 18px 14px 16px; text-align: center; }
.lock-ic {
  display: grid; place-items: center; width: 42px; height: 42px; margin-bottom: 6px; border-radius: 50%;
  background: linear-gradient(135deg, #a594ff, #6c5ce7); color: #fff;
  box-shadow: 0 0 0 6px rgba(165, 148, 255, 0.16), 0 0 24px rgba(165, 148, 255, 0.6);
}
.lock-ic svg { width: 20px; height: 20px; }
.seal {
  padding: 2px 10px; border-radius: 999px; background: var(--rose); color: #fff;
  font-size: 10px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase;
}
.sealed strong { margin-top: 6px; font-family: var(--hand); font-size: 18px; line-height: 1.15; }
.sealed small { color: #b9b3d8; font-size: 12px; }
.shake-bar { width: 70%; height: 6px; margin-top: 10px; border-radius: 6px; background: rgba(255, 255, 255, 0.1); overflow: hidden; }
.shake-bar i { display: block; width: 100%; height: 100%; border-radius: inherit; background: linear-gradient(90deg, var(--mint), #8b7bff); transform: scaleX(0.35); transform-origin: left; }
.typing { display: flex; gap: 4px; align-self: flex-start; margin: 0; padding: 10px 14px; border-radius: 18px; background: #1d2140; }
.typing i { width: 6px; height: 6px; border-radius: 50%; background: #a8a3c4; animation: blink 1.2s infinite; }
.typing i:nth-child(2) { animation-delay: .2s; }
.typing i:nth-child(3) { animation-delay: .4s; }
@keyframes blink { 0%, 80%, 100% { opacity: .3; transform: translateY(0); } 40% { opacity: 1; transform: translateY(-3px); } }
.composer {
  display: flex; align-items: center; justify-content: space-between;
  margin: 0 12px 18px; padding: 8px 8px 8px 16px; border-radius: 999px;
  background: #171a33; border: 1px solid rgba(255, 255, 255, 0.08); color: #6f6a8c; font-size: 13px;
}
.composer i { width: 30px; height: 30px; border-radius: 50%; background: linear-gradient(135deg, #8b7bff, #6c5ce7); }

/* marquee */
.marquee {
  display: grid; gap: 14px; padding: 18px 0 30px; overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.track { display: flex; gap: 14px; width: max-content; margin: 0; padding: 0; list-style: none; animation: slide 60s linear infinite; }
.track.rev { animation-direction: reverse; animation-duration: 70s; }
.marquee:hover .track { animation-play-state: paused; }
.track li {
  display: flex; align-items: center; gap: 10px; flex: 0 0 auto;
  padding: 6px 18px 6px 6px; border-radius: 999px;
  background: var(--surface); border: 1px solid var(--line);
  font-family: var(--hand); font-weight: 600; font-size: 16px; white-space: nowrap;
}
.track img { width: 44px; height: 44px; border-radius: 50%; }
@keyframes slide { to { transform: translateX(calc(-50% - 7px)); } }

/* bands */
.band { max-width: var(--max); margin: 0 auto; padding: 90px 28px; }
.band-head { max-width: 720px; margin: 0 0 40px; }
.band-lead { margin: 0; color: var(--muted); font-size: 19px; }

.conds { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 14px; }
.cond {
  position: relative; display: flex; gap: 16px; align-items: flex-start;
  padding: 20px; border-radius: var(--r);
  background: var(--surface); border: 1px solid var(--line);
  transition: transform .25s, border-color .25s, box-shadow .25s, background .25s;
}
@media (hover: hover) and (pointer: fine) { .cond:hover { border-color: var(--line-2); background: var(--surface-2); box-shadow: var(--shadow-sm); } }
.cond b { display: block; margin-bottom: 2px; font-family: var(--hand); font-size: 21px; font-weight: 700; line-height: 1.2; }
.cond span { display: block; color: var(--muted); font-size: 15px; line-height: 1.45; }
.cond .cond-note { display: block; margin-top: 8px; color: var(--muted); font-size: 13px; line-height: 1.4; opacity: 0.85; }
.g {
  flex: 0 0 auto; display: grid; place-items: center;
  width: 50px; height: 50px; border-radius: 16px;
  color: #fff; font-style: normal; font-size: 22px; font-weight: 700;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.22), inset 0 1px 0 rgba(255, 255, 255, 0.3);
  transition: transform .3s;
}
.g-code { background: linear-gradient(135deg, #6d7cff, #8e5cff); }
.g-shake { background: linear-gradient(135deg, #3ee0c2, #17b897); }
.g-geo { background: linear-gradient(135deg, #ff5c6c, #e23a62); }
.g-speed { background: linear-gradient(135deg, #ff8a3d, #ff5a2a); }
.g-shout { background: linear-gradient(135deg, #ff5c9a, #ff8a3d); }
.g-voice { background: linear-gradient(135deg, #9c6bff, #6d4cff); }
.g-cake { background: linear-gradient(135deg, #ff8fc8, #e5609e); }
.g-coin { background: linear-gradient(135deg, #ffcf4a, #f2a516); }
.g-draw { background: linear-gradient(135deg, #ff9ad5, #8b7bff 60%, #4fa3ff); }
.g-hammer { background: linear-gradient(135deg, #b07a4f, #8a5a36); }
.g-maze { background: linear-gradient(135deg, #7bd389, #38a6a5); }
.g-tilt { background: linear-gradient(135deg, #29c6e8, #1e8fd6); }
.g-click { background: linear-gradient(135deg, #ff6fb5, #ff4f7b); }
.g-time { background: linear-gradient(135deg, #4fa3ff, #3b6bff); }
.g-timer { background: linear-gradient(135deg, #ffb547, #ff7a45); }
.g-battery { background: linear-gradient(135deg, #5bd46a, #2fae58); }

/* moods */
.moods {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(104px, 1fr)); gap: 22px 12px;
  padding: 30px; border-radius: 32px; background: var(--surface); border: 1px solid var(--line);
}
.moods figure { margin: 0; text-align: center; }
.moods img {
  width: 84px; height: 84px; margin: 0 auto 8px; border-radius: 50%; object-fit: cover;
  background: var(--bg-2); box-shadow: var(--shadow-sm);
  transition: transform .3s cubic-bezier(.3, 1.6, .5, 1);
}
.moods figure:hover img { transform: translateY(-6px) rotate(-6deg) scale(1.08); }
.moods figcaption { font-family: var(--hand); font-weight: 600; font-size: 14px; line-height: 1.15; color: var(--ink-2); }
.moods .more span {
  display: flex; align-items: center; justify-content: center; gap: 7px;
  width: 84px; height: 84px; margin: 0 auto; border-radius: 50%;
  background: var(--surface-2); border: 1px dashed var(--line-2);
}
.moods .more span::before, .moods .more span::after, .moods .more i {
  content: ""; display: block; width: 8px; height: 8px; border-radius: 50%; background: var(--accent);
}

/* chapters */
.chapter {
  display: grid; grid-template-columns: auto minmax(0, 1fr) minmax(240px, 340px);
  gap: 28px 44px; align-items: center;
  max-width: var(--max); margin: 0 auto 28px; padding: 56px 48px;
  border-radius: 36px; background: var(--surface); border: 1px solid var(--line);
  position: relative; overflow: hidden;
}
.chapter::after {
  content: ""; position: absolute; right: -120px; top: -120px; width: 320px; height: 320px; border-radius: 50%;
  background: radial-gradient(circle, rgba(108, 92, 231, 0.22), transparent 70%); pointer-events: none;
}
.num {
  align-self: start; margin: 0;
  font-family: var(--hand); font-weight: 800; font-size: 56px; line-height: 1;
  background: linear-gradient(160deg, var(--violet-2), var(--rose));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.chapter-copy p { margin: 0 0 12px; color: var(--ink-2); }
.chapter-copy p:last-child { margin-bottom: 0; color: var(--muted); }

.chain, .roles { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; position: relative; z-index: 1; }
.chain li, .roles li {
  display: flex; align-items: center; gap: 12px;
  padding: 14px 16px; border-radius: 18px;
  background: var(--solid); border: 1px solid var(--line); box-shadow: var(--shadow-sm);
  font-family: var(--hand); font-weight: 600; font-size: 18px;
}
.chain li:nth-child(2) { margin-left: 22px; }
.chain li:nth-child(3) { margin-left: 44px; background: linear-gradient(135deg, #8b7bff, #6c5ce7); color: #fff; border-color: transparent; }
.chain span, .make li span {
  flex: 0 0 auto; display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%;
  background: var(--violet); color: #fff; font-family: var(--sans); font-size: 13px; font-weight: 700;
}
.chain li:nth-child(3) span { background: #fff; color: var(--violet); }
.roles li { display: block; }
.roles b { display: block; font-size: 21px; }
.roles span { font-family: var(--sans); font-weight: 400; color: var(--muted); font-size: 15px; }
.roles li:first-child b { color: var(--accent); }

.faces { position: relative; height: 230px; z-index: 1; }
.face { position: absolute; width: 96px; height: 96px; font-size: 28px; border: 4px solid var(--solid); box-shadow: var(--shadow-sm); animation: bob 7s ease-in-out infinite; }
.f1 { left: 14%; top: 18px; background: linear-gradient(135deg, #38bdf8, #6366f1); }
.f2 { left: 50%; top: 0; background: linear-gradient(135deg, #f472b6, #fb7185); animation-delay: -2s; }
.f3 { left: 4%; top: 120px; background: linear-gradient(135deg, #2dd4bf, #10b981); animation-delay: -4s; }
.f4 { left: 44%; top: 112px; background: linear-gradient(135deg, #8b5cf6, #d946ef); animation-delay: -5s; }

.seek {
  position: relative; z-index: 1; padding: 20px; border-radius: 28px;
  background: radial-gradient(160px 90px at 100% 0%, rgba(155, 123, 255, 0.4), transparent 70%), var(--solid);
  border: 1px solid var(--line); box-shadow: var(--shadow); transform: rotate(-2deg);
}
.seek-top { display: flex; align-items: center; gap: 12px; }
.seek-top img { width: 68px; height: 68px; border-radius: 50%; object-fit: cover; box-shadow: 0 0 0 3px var(--violet); }
.seek-top b { display: block; font-family: var(--hand); font-size: 26px; line-height: 1.1; }
.seek-top small, .seek p { color: var(--muted); }
.seek p { margin: 14px 0; }
.seek-actions { display: flex; gap: 8px; }
.seek-actions span {
  flex: 1; text-align: center; padding: 10px 8px; border-radius: 999px;
  border: 1px solid var(--line-2); font-family: var(--hand); font-weight: 600;
}
.seek-actions .yes { background: var(--violet); border-color: transparent; color: #fff; }

.make { position: relative; z-index: 1; }
.make ol { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 18px; padding: 0; list-style: none; }
.make li {
  display: flex; align-items: center; gap: 8px; padding: 6px 12px 6px 6px; border-radius: 999px;
  background: var(--solid); border: 1px solid var(--line); font-family: var(--hand); font-weight: 600; font-size: 15px;
}
.make li span { width: 24px; height: 24px; font-size: 12px; }
.paper {
  transform: rotate(-3.5deg); padding: 22px 22px 18px; border-radius: 8px 18px 14px 18px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.5), transparent 28%), var(--paper);
  color: var(--paper-ink); box-shadow: var(--shadow);
  transition: transform .4s;
}
.paper:hover { transform: rotate(0) scale(1.02); }
.paper-kicker { margin: 0; font-size: 12px; letter-spacing: 0.16em; text-transform: uppercase; color: #815717; }
.paper svg { margin: 8px 0 4px; width: 100%; height: auto; }
.paper-cap { margin: 0; font-family: var(--hand); font-weight: 600; font-size: 22px; line-height: 1.2; }

/* close */
.close { max-width: 820px; margin: 0 auto; padding: 90px 28px 110px; text-align: center; }
.close h2 { font-size: clamp(38px, 5.4vw, 68px); }
.close > p { margin: 0 auto; max-width: 600px; color: var(--muted); font-size: 20px; }
.close .soon { justify-content: center; margin-top: 22px; font-size: 15px; }
.close-codes { display: flex; justify-content: center; gap: 8px; margin-bottom: 26px; }
.close-codes span {
  display: grid; place-items: center; width: 52px; height: 62px; border-radius: 16px;
  background: var(--solid); border: 1px solid var(--line-2); box-shadow: var(--shadow-sm);
  font-family: var(--hand); font-weight: 800; font-size: 28px; color: var(--accent);
  animation: bob 6s ease-in-out infinite;
}
.close-codes span:nth-child(2) { animation-delay: -1s; }
.close-codes span:nth-child(3) { animation-delay: -2s; }
.close-codes span:nth-child(4) { animation-delay: -3s; }
.close-codes span:nth-child(5) { animation-delay: -4s; }
.close-codes span:nth-child(6) { animation-delay: -5s; }

/* footer */
footer {
  display: flex; justify-content: space-between; align-items: center; gap: 20px 24px; flex-wrap: wrap;
  max-width: var(--max); margin: 0 auto; padding: 28px 28px 44px;
  border-top: 1px solid var(--line); color: var(--muted); font-size: 14px;
}
.foot-brand { display: flex; align-items: center; gap: 10px; }
footer strong { color: var(--ink); font-family: var(--hand); font-size: 20px; }
footer .foot-brand span { padding: 2px 9px; border-radius: 999px; border: 1px solid var(--line-2); font-size: 12px; }
footer nav { display: flex; flex-wrap: wrap; gap: 8px 20px; align-items: center; }
footer a { color: var(--muted); text-decoration: none; }
footer a:hover { color: var(--ink); text-decoration: underline; }

/* reveal (only when JS is present) */
.js .reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s ease, transform .7s cubic-bezier(.2, .7, .2, 1); }
.js .reveal.in { opacity: 1; transform: none; }

/* responsive */
@media (max-width: 1000px) {
  .chapter { grid-template-columns: auto minmax(0, 1fr); padding: 44px 36px; }
  .chapter > :last-child:not(.chapter-copy), .chapter-flip > .faces { grid-column: 2; }
  .chapter-flip .faces { order: 3; }
}
@media (max-width: 860px) {
  .menu { display: block; }
  .top-mail { display: none; }
  .top-in { padding: 10px 18px; }
  .nav {
    display: flex; visibility: hidden; opacity: 0; transform: translateY(-10px); pointer-events: none;
    transition: opacity .28s ease, transform .35s cubic-bezier(.2, .8, .2, 1), visibility 0s linear .35s;
    position: absolute; left: 0; right: 0; top: 100%;
    flex-direction: column; gap: 2px; padding: 10px 14px 16px;
    background: var(--bg); border-bottom: 1px solid var(--line); box-shadow: var(--shadow);
  }
  .nav a { padding: 12px 14px; font-size: 18px; color: var(--ink); border-radius: 14px; }
  .nav .nav-mail { display: block; margin-top: 6px; text-align: center; background: var(--violet); color: #fff; font-weight: 600; }
  .hero { grid-template-columns: 1fr; min-height: 0; padding: 36px 18px 20px; gap: 18px; text-align: left; }
  .stage { min-height: 560px; }
  .band { padding: 64px 18px; }
  .chapter { grid-template-columns: 1fr; gap: 20px; margin: 0 12px 18px; padding: 34px 22px; border-radius: 28px; }
  .chapter > * { grid-column: 1 !important; }
  .chapter-flip .faces { order: 0; }
  .num { font-size: 44px; }
  .faces { height: 220px; max-width: 300px; }
  .close { padding: 64px 18px 80px; }
  footer { padding: 26px 18px 40px; }
}
@media (max-width: 480px) {
  body { font-size: 16px; }
  h1 { font-size: clamp(36px, 10.5vw, 44px); }
  .btn { width: 100%; justify-content: center; }
  .stage { min-height: 520px; }
  .phone { width: 260px; height: 520px; border-radius: 44px; }
  .phone-screen { border-radius: 34px; }
  .float { width: 62px !important; height: 62px !important; }
  .fl1 { left: -2%; } .fl2 { right: -2%; } .fl3 { left: 0; } .fl4 { right: -1%; }
  .conds { grid-template-columns: 1fr; }
  .moods { grid-template-columns: repeat(3, 1fr); padding: 20px 10px; gap: 18px 6px; }
  .moods img, .moods .more span { width: 72px; height: 72px; }
  .chain li:nth-child(2) { margin-left: 14px; }
  .chain li:nth-child(3) { margin-left: 28px; }
  .close-codes span { width: 42px; height: 52px; font-size: 22px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .reveal { opacity: 1; transform: none; }
  .track { flex-wrap: wrap; width: auto; justify-content: center; padding: 0 18px; }
  .track li:nth-child(n + 15) { display: none; }
  .marquee { mask-image: none; -webkit-mask-image: none; }
}

.hero { overflow-x: clip; }
.stage::before { width: min(420px, 100%); height: min(420px, 100vw); }
html, body { overflow-x: clip; }
@media (min-width: 1001px) {
  #circle { grid-template-columns: auto minmax(240px, 340px) minmax(0, 1fr); }
}
@media (max-width: 480px) {
  .typing { display: none; }
  .chat-head { padding-top: 44px; }
  .thread { padding: 14px 12px; }
}

/* =========================================================
   Motion layer. Transform/opacity only (SVG line drawing uses
   stroke-dashoffset). Everything is visible without JS and
   with prefers-reduced-motion: reduce.
   ========================================================= */
:root { --ease-out: cubic-bezier(.2, .8, .2, 1); --ease-back: cubic-bezier(.3, 1.5, .5, 1); }

/* scroll progress + header shrink */
.progress {
  position: absolute; left: 0; right: 0; bottom: -1px; height: 2px;
  background: linear-gradient(90deg, var(--mint), var(--violet-2), var(--rose));
  transform: scaleX(var(--p, 0)); transform-origin: left; pointer-events: none;
}
.top { transition: transform .35s var(--ease-out), box-shadow .35s; }
.top::before {
  content: ""; position: absolute; inset: 0; z-index: -1; opacity: 0;
  background: var(--header); box-shadow: var(--shadow-sm); transition: opacity .35s;
}
.top-in, .mark img { transition: transform .35s var(--ease-out); }
.top.is-scrolled { transform: translateY(-6px); }
.top.is-scrolled::before { opacity: 1; }
.top.is-scrolled .top-in { transform: translateY(3px); }
.top.is-scrolled .mark img { transform: scale(.88) rotate(-8deg); }

/* active nav pill */
.nav a { position: relative; isolation: isolate; }
.nav a:not(.nav-mail)::before {
  content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit;
  background: rgba(108, 92, 231, 0.18); opacity: 0; transform: scale(.7);
  transition: opacity .3s, transform .35s var(--ease-back);
}
.nav a.is-active { color: var(--ink); }
.nav a.is-active::before { opacity: 1; transform: none; }

/* mobile menu: staggered links */
@media (max-width: 860px) {
  body.nav-open .nav { visibility: visible; opacity: 1; transform: none; pointer-events: auto; transition-delay: 0s; }
  .nav a { opacity: 0; transform: translateX(-14px); transition: opacity .3s, transform .4s var(--ease-out); }
  body.nav-open .nav a { opacity: 1; transform: none; transition-delay: calc(60ms + var(--i, 0) * 45ms); }
}

/* hero entrance (CSS only, ends visible) */
@keyframes rise { from { opacity: 0; transform: translateY(28px); } to { opacity: 1; transform: none; } }
@keyframes pop-in { from { opacity: 0; transform: translateY(40px) scale(.92); } to { opacity: 1; transform: none; } }
.hero-copy > * { animation: rise .8s var(--ease-out) both; }
.hero-copy > :nth-child(1) { animation-delay: .05s; }
.hero-copy > :nth-child(2) { animation-delay: .15s; }
.hero-copy > :nth-child(3) { animation-delay: .3s; }
.hero-copy > :nth-child(4) { animation-delay: .42s; }
.hero-copy > :nth-child(5) { animation-delay: .54s; }
.phone-wrap { position: relative; z-index: 1; animation: pop-in 1s .25s var(--ease-out) both; }
.phone-wrap .phone { animation: float 7s 1.3s ease-in-out infinite; }
@keyframes float { 0%, 100% { translate: 0 0; } 50% { translate: 0 -12px; } }
.stage .float { opacity: 0; animation: sticker-in .7s var(--ease-back) both, bob 6s ease-in-out infinite; }
.fl1 { animation-delay: .55s, 0s !important; }
.fl2 { animation-delay: .7s, -1.5s !important; }
.fl3 { animation-delay: .85s, -3s !important; }
.fl4 { animation-delay: 1s, -4.5s !important; }
@keyframes sticker-in { from { opacity: 0; scale: .3; } to { opacity: 1; scale: 1; } }
.stage .float { opacity: 1; }

/* «не сразу»: gradient shimmer cross-fade + sparkles + self-drawing underline */
h1 em::after {
  content: attr(data-t); position: absolute; left: 0; top: 0; white-space: nowrap; pointer-events: none;
  background: linear-gradient(100deg, #ffd6f0 0%, #ffffff 35%, #c9bfff 60%, #ff9ec4 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  opacity: 0; animation: shimmer 4.5s 1.4s ease-in-out infinite;
}
@media (prefers-color-scheme: light) {
  h1 em::after { background-image: linear-gradient(100deg, #7c4dff 0%, #b13cff 40%, #ff3d7f 70%, #5a48d6 100%); }
}
@keyframes shimmer { 0%, 55%, 100% { opacity: 0; } 70% { opacity: .9; } 82% { opacity: 0; } }
.spark {
  position: absolute; width: 14px; height: 14px; pointer-events: none;
  background: radial-gradient(circle, #fff 0 18%, transparent 20%),
              conic-gradient(from 45deg, transparent 0 20%, #fff 0 30%, transparent 0 45%, #fff 0 55%, transparent 0 70%, #fff 0 80%, transparent 0);
  -webkit-mask: radial-gradient(circle, #000 35%, transparent 72%); mask: radial-gradient(circle, #000 35%, transparent 72%);
  opacity: 0; transform: scale(.2) rotate(0); animation: twinkle 3.2s ease-in-out infinite;
}
.s1 { right: -10px; top: -2px; animation-delay: 1.6s; }
.s2 { right: -20px; top: 42%; width: 10px; height: 10px; animation-delay: 2.7s; }
@media (prefers-color-scheme: light) { .spark { filter: drop-shadow(0 0 2px #7c4dff); } }
@keyframes twinkle { 0%, 60%, 100% { opacity: 0; transform: scale(.2) rotate(0); } 75% { opacity: 1; transform: scale(1) rotate(90deg); } }
h1 em svg path { stroke-dasharray: 1; stroke-dashoffset: 0; animation: draw-line 1s .9s var(--ease-out) both; }
@keyframes draw-line { from { stroke-dashoffset: 1; } to { stroke-dashoffset: 0; } }

/* buttons: sheen + press */
.btn { position: relative; overflow: hidden; isolation: isolate; }
.btn::after {
  content: ""; position: absolute; top: -20%; bottom: -20%; left: 0; width: 40%; z-index: -1;
  background: linear-gradient(100deg, transparent, rgba(255, 255, 255, 0.35), transparent);
  transform: translateX(-160%) skewX(-18deg); pointer-events: none;
}
.btn-primary::after { z-index: 0; }
.btn:hover::after { transform: translateX(320%) skewX(-18deg); transition: transform .8s var(--ease-out); }
.cta .btn-primary::after { animation: sheen 5s 2.4s ease-in-out infinite; }
@keyframes sheen { 0%, 70% { transform: translateX(-160%) skewX(-18deg); } 90%, 100% { transform: translateX(320%) skewX(-18deg); } }
.btn:active, .top-mail:active, .menu:active { transform: scale(.96) !important; transition-duration: .08s; }

/* locked bubble: shake → progress fills → lock pops → blur clears → message → re-lock (8s loop) */
.sealed { animation: seal-shake 8s ease-in-out infinite; }
.sealed-msg {
  position: absolute; inset: 0; display: grid; place-items: center; margin: 0; padding: 14px;
  font-size: 14px; line-height: 1.35; text-align: center; color: #fff;
  opacity: 0; transform: translateY(8px) scale(.96);
  animation: msg-show 8s ease-in-out infinite;
}
.sealed::before {
  content: ""; position: absolute; inset: 0; opacity: 0; pointer-events: none;
  background: radial-gradient(circle at 50% 40%, rgba(62, 224, 194, 0.35), transparent 65%);
  animation: msg-glow 8s ease-in-out infinite;
}
.sealed-body { animation: body-hide 8s ease-in-out infinite; }
.sealed-blur { animation: blur-clear 8s ease-in-out infinite; }
.shake-bar i { animation: bar-fill 8s ease-in-out infinite; }
.lock-ic { animation: lock-pop 8s ease-in-out infinite; }
@keyframes seal-shake {
  0%, 8%, 44%, 100% { transform: none; }
  12%, 20%, 28%, 36% { transform: translateX(-3px) rotate(-1.5deg); }
  16%, 24%, 32%, 40% { transform: translateX(3px) rotate(1.5deg); }
}
@keyframes bar-fill { 0%, 6% { transform: scaleX(.05); } 44%, 58% { transform: scaleX(1); } 59%, 100% { transform: scaleX(.05); } }
@keyframes lock-pop {
  0%, 44% { transform: none; opacity: 1; }
  49% { transform: scale(1.35) rotate(-12deg); opacity: 1; }
  54%, 88% { transform: scale(.4) translateY(-10px); opacity: 0; }
  96%, 100% { transform: none; opacity: 1; }
}
@keyframes body-hide { 0%, 48% { opacity: 1; transform: none; } 55%, 88% { opacity: 0; transform: scale(.94); } 96%, 100% { opacity: 1; transform: none; } }
@keyframes blur-clear { 0%, 48% { opacity: .35; } 56%, 90% { opacity: 0; } 98%, 100% { opacity: .35; } }
@keyframes msg-show { 0%, 54% { opacity: 0; transform: translateY(8px) scale(.96); } 62%, 84% { opacity: 1; transform: none; } 90%, 100% { opacity: 0; transform: translateY(-6px); } }
@keyframes msg-glow { 0%, 50% { opacity: 0; } 58% { opacity: 1; } 84% { opacity: .6; } 92%, 100% { opacity: 0; } }

/* reveal directions + stagger */
.js .reveal[data-reveal="left"] { transform: translateX(-34px); }
.js .reveal[data-reveal="right"] { transform: translateX(34px); }
.js .reveal[data-reveal="zoom"] { transform: translateY(22px) scale(.94); }
.js .reveal { transition-delay: var(--d, 0ms); }
.js .reveal.in { opacity: 1; transform: none; }

/* condition cards: lift + glow border + icon wiggle */
.cond { transition: transform .35s var(--ease-out), border-color .25s, box-shadow .35s, background .25s, opacity .7s ease; }
.cond::before {
  content: ""; position: absolute; inset: -1px; border-radius: inherit; padding: 1px; pointer-events: none;
  background: linear-gradient(135deg, var(--violet-2), var(--rose), var(--mint));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
  opacity: 0; transition: opacity .3s;
}
.cond::after {
  content: ""; position: absolute; inset: 10% 8% -6%; z-index: -1; border-radius: inherit; pointer-events: none;
  background: radial-gradient(closest-side, rgba(108, 92, 231, 0.45), transparent);
  filter: blur(18px); opacity: 0; transition: opacity .35s;
}
.cond { isolation: isolate; }
@media (hover: hover) and (pointer: fine) {
  .cond:hover, .js .cond.reveal.in:hover { transform: translateY(-6px); }
  .cond:hover::before, .cond:hover::after { opacity: 1; }
  .cond:hover .ic { animation: icon-wiggle .6s var(--ease-out); }
  .cond:hover .g-shake .ic { animation: icon-shake .7s ease-in-out; }
  .cond:hover .g-draw .ic, .cond:hover .g-timer .ic { animation: none; }
  .cond:hover .g-draw .sq { animation: squiggle 1.4s var(--ease-out) both; }
  .cond:hover .g-draw .pen { animation: pencil 1.4s var(--ease-out); }
  .cond:hover .g-timer .sweep { animation: ring 1.6s var(--ease-out); }
  .cond:hover .g-timer .hg { animation: flip 1.6s var(--ease-out); }
}
@keyframes icon-wiggle { 0% { transform: none; } 25% { transform: rotate(-14deg) scale(1.1); } 50% { transform: rotate(10deg) scale(1.1); } 75% { transform: rotate(-5deg) scale(1.05); } 100% { transform: none; } }
.g { position: relative; overflow: hidden; }

/* Hand-drawn line icons: one style for every condition */
.ic { position: absolute; inset: 0; width: 100%; height: 100%;
  fill: none; stroke: #fff; stroke-width: 2.8; stroke-linecap: round; stroke-linejoin: round; }
.ic g, .ic path, .ic circle, .ic rect { transform-box: fill-box; transform-origin: center; }
.ic { transform-box: view-box; }

/* Встряска: the phone shakes */
.cond.in .g-shake .ic { animation: icon-shake .7s .2s ease-in-out; }
@keyframes icon-shake { 0%, 100% { transform: none; } 15%, 45%, 75% { transform: translateX(-3px) rotate(-8deg); } 30%, 60%, 90% { transform: translateX(3px) rotate(8deg); } }

/* Нарисуй: pencil rides along while the squiggle redraws */
.ic .sq { stroke-dasharray: 1; stroke-dashoffset: 0; }
.cond.in .g-draw .sq { animation: squiggle 1.4s .25s var(--ease-out) both; }
.cond.in .g-draw .pen { animation: pencil 1.4s .25s var(--ease-out); }
@keyframes squiggle { from { stroke-dashoffset: 1; } to { stroke-dashoffset: 0; } }
@keyframes pencil { 0% { transform: translate(-18px, 4px) rotate(-8deg); } 35% { transform: translate(-8px, 1px) rotate(6deg); } 70% { transform: translate(-2px, 2px) rotate(-5deg); } 100% { transform: none; } }

/* Таймер: hourglass flips; a sweep runs inside the tile, then disappears */
.ic .sweep { stroke-width: 2.2; stroke-dasharray: 1; stroke-dashoffset: 1; opacity: 0; }
.cond.in .g-timer .sweep { animation: ring 1.6s .2s var(--ease-out); }
.cond.in .g-timer .hg { animation: flip 1.6s .2s var(--ease-out); }
@keyframes ring { 0% { stroke-dashoffset: 1; opacity: .85; } 75% { stroke-dashoffset: 0; opacity: .85; } 100% { stroke-dashoffset: 0; opacity: 0; } }
@keyframes flip { 0%, 55% { transform: none; } 100% { transform: rotate(180deg); } }

/* moods: staggered pop */
.js .moods.reveal-group figure { opacity: 0; transform: translateY(18px) scale(.8); transition: opacity .5s, transform .6s var(--ease-back); transition-delay: calc(var(--i, 0) * 28ms); }
.js .moods.reveal-group.in figure { opacity: 1; transform: none; }
.moods { transition: none; }

/* chapters 01–05: number slides in, mini-mockups animate */
.js .reveal-group.chapter .num { opacity: 0; transform: translateX(-40px); transition: opacity .6s, transform .8s var(--ease-out); }
.js .reveal-group.chapter .chapter-copy { opacity: 0; transform: translateY(24px); transition: opacity .7s .12s, transform .8s .12s var(--ease-out); }
.js .reveal-group.chapter.in .num, .js .reveal-group.chapter.in .chapter-copy { opacity: 1; transform: none; }

.js .reveal-group .chain li { opacity: 0; transform: translateX(30px); transition: opacity .5s, transform .6s var(--ease-out); }
.js .reveal-group .chain li:nth-child(1) { transition-delay: .3s; }
.js .reveal-group .chain li:nth-child(2) { transition-delay: .5s; }
.js .reveal-group .chain li:nth-child(3) { transition-delay: .7s; }
.js .reveal-group.in .chain li { opacity: 1; transform: none; }
.reveal-group.in .chain li:nth-child(3) span { animation: ping 1s 1.3s var(--ease-back); }
@keyframes ping { 0% { transform: scale(1); } 40% { transform: scale(1.35); } 100% { transform: scale(1); } }

.js .reveal-group .face { opacity: 0; scale: .2; transition: opacity .4s, scale .6s var(--ease-back); }
.js .reveal-group .f1 { transition-delay: .2s; }
.js .reveal-group .f2 { transition-delay: .35s; }
.js .reveal-group .f3 { transition-delay: .5s; }
.js .reveal-group .f4 { transition-delay: .65s; }
.js .reveal-group.in .face { opacity: 1; scale: 1; }

.js .reveal-group .seek { opacity: 0; transform: translateY(30px) rotate(6deg); transition: opacity .6s .25s, transform .9s .25s var(--ease-back); }
.js .reveal-group.in .seek { opacity: 1; transform: rotate(-2deg); }
.reveal-group.in .seek-actions .yes { animation: nudge 1.2s 1.2s ease-in-out 2; }
@keyframes nudge { 0%, 100% { transform: none; } 50% { transform: scale(1.06); } }

.js .reveal-group .roles li { opacity: 0; transform: translateY(20px) scale(.96); transition: opacity .5s, transform .6s var(--ease-out); }
.js .reveal-group .roles li:nth-child(1) { transition-delay: .25s; }
.js .reveal-group .roles li:nth-child(2) { transition-delay: .42s; }
.js .reveal-group .roles li:nth-child(3) { transition-delay: .59s; }
.js .reveal-group.in .roles li { opacity: 1; transform: none; }

.js .reveal-group .make li { opacity: 0; transform: translateY(-12px); transition: opacity .4s, transform .5s var(--ease-back); }
.js .reveal-group .make li:nth-child(1) { transition-delay: .2s; }
.js .reveal-group .make li:nth-child(2) { transition-delay: .32s; }
.js .reveal-group .make li:nth-child(3) { transition-delay: .44s; }
.js .reveal-group .make li:nth-child(4) { transition-delay: .56s; }
.js .reveal-group.in .make li { opacity: 1; transform: none; }
.js .reveal-group .paper { opacity: 0; transform: translateY(-40px) rotate(8deg); transition: opacity .5s .5s, transform .9s .5s var(--ease-back); }
.js .reveal-group.in .paper { opacity: 1; transform: rotate(-3.5deg); }
.js .reveal-group.in .paper:hover { transform: rotate(0) scale(1.02); transition-delay: 0s; }
.paper .draw { stroke-dasharray: 1; stroke-dashoffset: 0; }
.js .reveal-group .paper .draw { stroke-dashoffset: 1; }
.js .reveal-group.in .paper .draw { animation: draw-line 1.6s 1s var(--ease-out) both; }
.js .reveal-group.in .paper .d2 { animation-delay: 1.8s; }

/* parallax uses the independent `translate` property (JS sets --py) */
.stage .float { translate: 0 var(--py, 0px); }
.marquee .track { translate: var(--px, 0px) 0; }
.marquee .track.rev { translate: calc(var(--px, 0px) * -1) 0; }

/* reduced motion: everything static and visible */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .reveal, .js .reveal-group *, .js .reveal-group .num, .js .reveal-group .chapter-copy,
  .stage .float, .phone-wrap { opacity: 1 !important; scale: none !important; translate: none !important; }
  .js .reveal, .js .reveal-group .chain li, .js .reveal-group .roles li, .js .reveal-group .make li,
  .js .reveal-group .num, .js .reveal-group .chapter-copy, .js .moods.reveal-group figure { transform: none !important; }
  .js .reveal-group .seek { transform: rotate(-2deg) !important; }
  .js .reveal-group .paper { transform: rotate(-3.5deg) !important; }
  .phone { transform: rotate(3deg) !important; }
  h1 em::after, .spark, .sealed-msg, .sealed::before, .progress { opacity: 0 !important; }
  .paper .draw, .js .reveal-group .paper .draw, h1 em svg path { stroke-dashoffset: 0 !important; }
  .ic .sweep { opacity: 0 !important; }
  .ic .sq { stroke-dashoffset: 0 !important; }
  .top.is-scrolled, .top.is-scrolled .top-in { transform: none; }
  .nav a { opacity: 1 !important; transform: none !important; }
}
