/* ============================================================
   Bubbles platform design system
   ============================================================ */
:root {
  --ink: #1B1B33;
  --ink-soft: #5c5c70;
  --ink-faint: #8a8a9e;
  --cream: #FBFAF7;
  --paper: #F7F1E6;
  --coral: #FF6F52;
  --coral-deep: #e85a3d;
  --peach: #FF8A6B;
  --teal: #5EC5D6;
  --gold: #FFD36B;
  --violet: #8577E6;
  --green: #7BD08A;
  --font-display: 'Space Grotesk', 'Avenir Next', sans-serif;
  --font-body: 'Manrope', 'Avenir Next', sans-serif;
  --pad-x: clamp(22px, 5vw, 72px);
  --radius-card: 18px;
  --radius-panel: 24px;
  --shadow-pop: 0 30px 60px -30px rgba(27, 27, 51, .35);
}

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
a { color: var(--coral); text-decoration: none; }
a:hover { color: var(--coral-deep); }
img, svg { display: block; max-width: 100%; }
button { font-family: inherit; }
h1, h2, h3 { text-wrap: balance; }
::selection { background: var(--coral); color: #fff; }
:focus-visible { outline: 3px solid var(--coral); outline-offset: 3px; border-radius: 6px; }

.skip-link {
  position: absolute; left: 16px; top: -60px; z-index: 100;
  background: var(--ink); color: #fff; font-weight: 700;
  padding: 10px 18px; border-radius: 0 0 12px 12px;
  transition: top .2s ease;
}
.skip-link:focus { top: 0; color: #fff; }
.visually-hidden {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

@keyframes floaty { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-14px); } }
@keyframes marq { to { transform: translateX(-50%); } }
@keyframes toast-in { from { opacity: 0; transform: translate(-50%, 16px); } to { opacity: 1; transform: translate(-50%, 0); } }

/* ============ Character component ============ */
kogni-bot { display: block; width: 100%; height: 100%; }
kogni-bot svg { width: 100%; height: 100%; overflow: visible; }
@keyframes kbFloat {
  0%, 100% { transform: translateY(0) rotate(var(--kb-tilt, 0deg)); }
  50% { transform: translateY(-6px) rotate(var(--kb-tilt, 0deg)); }
}
@keyframes kbBlink { 0%, 93%, 100% { transform: scaleY(1); } 96% { transform: scaleY(.08); } }
@keyframes kbPulse { 0%, 100% { transform: scale(1); opacity: 1; } 50% { transform: scale(1.3); opacity: .75; } }
.kb-float {
  animation: kbFloat 4.5s ease-in-out infinite;
  animation-delay: var(--kb-delay, 0s);
  transform-box: view-box; transform-origin: center;
}
.kb-eye { animation: kbBlink 4.8s infinite; animation-delay: var(--kb-delay, 0s); transform-box: fill-box; transform-origin: center; }
.kb-antenna { animation: kbPulse 2.6s ease-in-out infinite; animation-delay: var(--kb-delay, 0s); transform-box: fill-box; transform-origin: center; }
kogni-bot[static] .kb-float, kogni-bot[static] .kb-eye, kogni-bot[static] .kb-antenna { animation: none; }
.kb-pupil { transition: transform .18s ease-out; }

/* 3D tilt stage */
[data-tilt] { transition: transform .35s ease; will-change: transform; transform-style: preserve-3d; }
[data-tilt] kogni-bot { transform: translateZ(30px); }

/* ============ Logo ============ */
.logo { display: inline-flex; align-items: center; gap: 9px; color: var(--ink); }
.logo svg { width: 30px; height: 30px; }
.logo b { font-family: var(--font-display); font-weight: 700; font-size: 21px; letter-spacing: -.02em; color: var(--ink); }
.logo b em { font-style: normal; color: var(--coral); }
.logo--dark { color: var(--cream); }
.logo--dark b { color: var(--cream); }

/* ============ Nav ============ */
.nav {
  position: sticky; top: 0; z-index: 60;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding: 16px var(--pad-x);
  background: rgba(251, 250, 247, .86);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(27, 27, 51, .07);
}
.nav__links { display: flex; align-items: center; gap: clamp(18px, 3vw, 38px); }
.nav__link { font-weight: 600; font-size: 15px; color: var(--ink); }
.nav__link:hover, .nav__link.active { color: var(--coral); }

.bag-btn {
  display: flex; align-items: center; gap: 9px;
  border: none; cursor: pointer;
  font-weight: 700; font-size: 14px; color: #fff;
  background: var(--ink); padding: 11px 20px; border-radius: 999px;
  transition: transform .18s ease, background .18s ease;
}
.bag-btn:hover { transform: translateY(-1px); background: #2a2a4d; }
.bag-btn__count {
  min-width: 20px; height: 20px;
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--coral); border-radius: 999px;
  font-size: 12px; padding: 0 5px;
  transition: transform .2s ease;
}
.bag-btn__count.bump { transform: scale(1.35); }

.nav__toggle {
  display: none;
  border: none; background: none; cursor: pointer;
  width: 42px; height: 42px; border-radius: 12px;
  align-items: center; justify-content: center; flex-direction: column; gap: 5px;
}
.nav__toggle span { display: block; width: 20px; height: 2.5px; border-radius: 2px; background: var(--ink); transition: transform .22s ease, opacity .22s ease; }
.nav__toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.nav__toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav__toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

.mobile-menu {
  display: none;
  position: fixed; inset: 63px 0 auto 0; z-index: 55;
  background: rgba(251, 250, 247, .97);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(27, 27, 51, .08);
  padding: 10px var(--pad-x) 22px;
  flex-direction: column;
}
.mobile-menu.open { display: flex; }
.mobile-menu a { font-weight: 700; font-size: 18px; color: var(--ink); padding: 14px 0; border-bottom: 1px solid rgba(27, 27, 51, .06); }
.mobile-menu a:last-child { border-bottom: none; }
.mobile-menu a:hover { color: var(--coral); }

/* ============ Buttons & shared bits ============ */
.btn-primary {
  display: inline-block; font-weight: 700; font-size: 16px; color: #fff;
  background: var(--coral); padding: 15px 30px; border-radius: 999px;
  border: none; cursor: pointer; font-family: var(--font-body);
  transition: transform .18s ease, box-shadow .18s ease;
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 14px 28px -14px rgba(232, 90, 61, .7); color: #fff; }
.btn-ghost {
  display: inline-block; font-weight: 700; font-size: 16px; color: var(--ink);
  padding: 15px 22px; border-radius: 999px; background: none;
  border: 1.5px solid rgba(27, 27, 51, .16); cursor: pointer; font-family: var(--font-body);
  transition: transform .18s ease, border-color .18s ease;
}
.btn-ghost:hover { transform: translateY(-2px); border-color: var(--ink); color: var(--ink); }
.btn-ink {
  display: inline-block; font-weight: 700; font-size: 16px; color: #fff;
  background: var(--ink); padding: 15px 30px; border-radius: 999px;
  border: none; cursor: pointer; font-family: var(--font-body);
  transition: transform .18s ease, background .18s ease;
}
.btn-ink:hover { transform: translateY(-2px); background: #2a2a4d; color: #fff; }
.btn-gold {
  display: inline-block; font-weight: 700; font-size: 16px;
  color: var(--ink); background: var(--gold);
  padding: 15px 32px; border-radius: 999px; border: none; cursor: pointer;
  transition: transform .18s ease;
}
.btn-gold:hover { transform: translateY(-2px); color: var(--ink); }

.eyebrow { font-size: 13px; font-weight: 800; letter-spacing: .08em; color: var(--coral); margin-bottom: 12px; text-transform: uppercase; }
.section-title { font-family: var(--font-display); font-weight: 700; font-size: clamp(28px, 4vw, 48px); line-height: 1.04; letter-spacing: -.02em; }
.section-lede { font-size: 17px; line-height: 1.7; color: var(--ink-soft); font-weight: 500; margin-top: 16px; }
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .8s ease, transform .8s cubic-bezier(.2, .7, .2, 1); }
.reveal.in { opacity: 1; transform: none; }

.stars { color: var(--gold); letter-spacing: 2px; text-shadow: 0 1px 0 rgba(27,27,51,.18); }

/* ============ Page hero (inner pages) ============ */
.page-hero { padding: clamp(40px, 6vw, 80px) var(--pad-x) clamp(20px, 3vw, 40px); text-align: center; }
.page-hero__inner { max-width: 760px; margin: 0 auto; }
.page-hero h1 { font-family: var(--font-display); font-weight: 700; font-size: clamp(34px, 5vw, 60px); line-height: 1.02; letter-spacing: -.025em; }
.page-hero p { font-size: 18px; line-height: 1.7; color: var(--ink-soft); font-weight: 500; margin-top: 18px; }

.breadcrumb { display: flex; align-items: center; gap: 8px; font-size: 13.5px; font-weight: 700; color: var(--ink-faint); padding: 20px var(--pad-x) 0; max-width: 1240px; margin: 0 auto; }
.breadcrumb a { color: var(--ink-faint); }
.breadcrumb a:hover { color: var(--coral); }

/* ============ Home hero ============ */
.hero { padding: clamp(36px, 5vw, 72px) var(--pad-x) clamp(20px, 3vw, 40px); }
.hero__grid { position: relative; z-index: 1; max-width: 1240px; margin: 0 auto; display: grid; grid-template-columns: 1.02fr .98fr; gap: clamp(28px, 4vw, 64px); align-items: center; }
.hero__kicker { font-size: 14px; letter-spacing: .04em; color: var(--ink-faint); margin-bottom: 22px; font-weight: 500; }
.hero__kicker b { font-weight: 800; color: var(--ink); }
.hero h1 { font-family: var(--font-display); font-weight: 700; font-size: clamp(36px, 5.4vw, 66px); line-height: 1.02; letter-spacing: -.025em; }
.hero h1 em { font-style: normal; color: var(--coral); }
.hero__lede { font-size: 18px; line-height: 1.75; color: var(--ink-soft); margin-top: 24px; font-weight: 500; max-width: 520px; }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 32px; }
.hero__proof { display: flex; align-items: center; gap: 14px; margin-top: 34px; }
.hero__avatars { display: flex; }
.hero__avatars span { width: 34px; height: 34px; border-radius: 50%; border: 3px solid var(--cream); }
.hero__avatars span + span { margin-left: -11px; }
.hero__proof p { font-weight: 700; font-size: 14px; color: var(--ink-soft); }
.hero__proof b { color: var(--ink); }
.hero__stage {
  position: relative; border-radius: 26px; aspect-ratio: 1 / 1.02;
  background: radial-gradient(120% 110% at 50% 20%, #ffffff 0%, #eceae3 60%, #dedcd3 100%);
  box-shadow: 0 40px 80px -40px rgba(27, 27, 51, .35);
}
.hero__bot { position: absolute; inset: 8% 12% 5%; }
.hero__bubble {
  position: absolute; top: 6%; right: 6%;
  background: #fff; padding: 10px 15px; border-radius: 16px 16px 16px 4px;
  box-shadow: 0 16px 28px -14px rgba(27, 27, 51, .4);
  animation: floaty 6.5s ease-in-out infinite;
}
.hero__bubble small { font-size: 12px; color: var(--ink-faint); font-weight: 700; }
.hero__bubble strong { display: block; font-family: var(--font-display); font-weight: 600; color: var(--ink); }
.hero__chip {
  position: absolute; display: inline-flex; align-items: center; gap: 7px;
  background: #fff; padding: 9px 14px; border-radius: 999px;
  font-weight: 800; font-size: 12px; letter-spacing: .03em; color: var(--ink);
  box-shadow: 0 12px 24px -12px rgba(27, 27, 51, .4);
  animation: floaty 7s ease-in-out infinite;
}
.hero__chip i { font-style: normal; }

/* ============ Marquee ============ */
.marquee { background: var(--ink); overflow: hidden; padding: 16px 0; margin-top: 16px; }
.marquee__track { display: flex; gap: 52px; width: max-content; animation: marq 28s linear infinite; white-space: nowrap; }
.marquee__track span { font-family: var(--font-display); font-weight: 500; font-size: 19px; color: var(--paper); }
.marquee__track i { font-style: normal; color: var(--coral); }

/* ============ Character rail (home) ============ */
.char-rail { padding: clamp(56px, 7vw, 100px) var(--pad-x) clamp(30px, 4vw, 56px); }
.char-rail__inner { max-width: 1240px; margin: 0 auto; }
.char-rail__head { text-align: center; max-width: 640px; margin: 0 auto clamp(32px, 4vw, 56px); }
.char-rail__grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: clamp(10px, 1.6vw, 22px); }
.char-tile { display: flex; flex-direction: column; align-items: center; text-align: center; color: inherit; }
.char-tile:hover { color: inherit; }
.char-tile__stage {
  width: 100%; aspect-ratio: 1 / 1.08; border-radius: var(--radius-card);
  padding: 12%; transition: transform .25s ease, box-shadow .25s ease;
}
.char-tile:hover .char-tile__stage { transform: translateY(-8px) rotate(-1.5deg); box-shadow: var(--shadow-pop); }
.char-tile h3 { font-family: var(--font-display); font-weight: 700; font-size: 19px; margin-top: 14px; }
.char-tile p { font-size: 13px; font-weight: 700; color: var(--ink-faint); margin-top: 3px; }
.char-tile span { font-weight: 800; font-size: 14px; margin-top: 6px; color: var(--ink); }

/* ============ Feature panel ============ */
.feature { padding: clamp(28px, 4vw, 56px) clamp(16px, 3vw, 40px) 0; }
.feature__panel {
  position: relative; border-radius: var(--radius-panel); overflow: hidden;
  height: min(72vh, 680px);
  background: radial-gradient(110% 120% at 72% 40%, #fff2ec 0%, #f3d9cf 55%, #e7c1b4 100%);
}
.feature__bot { position: absolute; right: 4%; top: 8%; bottom: 8%; width: 52%; }
.feature__copy { position: absolute; left: clamp(24px, 5vw, 72px); bottom: clamp(28px, 5vw, 64px); max-width: 470px; }
.feature__copy .eyebrow { color: var(--coral-deep); }
.feature__copy h2 { font-family: var(--font-display); font-weight: 700; font-size: clamp(26px, 3.8vw, 46px); line-height: 1.05; color: var(--ink); }
.feature__copy .btn-ink { margin-top: 22px; }

/* ============ Stats band ============ */
.stats { padding: clamp(48px, 6vw, 90px) var(--pad-x); }
.stats__grid { max-width: 1080px; margin: 0 auto; display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; text-align: center; }
.stats__grid strong { font-family: var(--font-display); font-weight: 700; font-size: clamp(30px, 3.6vw, 46px); display: block; font-variant-numeric: tabular-nums; }
.stats__grid span { font-size: 14px; color: var(--ink-faint); font-weight: 600; margin-top: 6px; display: block; }

/* ============ Split + quote ============ */
.split-section { padding: clamp(20px, 3vw, 44px) clamp(16px, 3vw, 40px); }
.split-section__inner { max-width: 1180px; margin: 0 auto; }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(12px, 2vw, 22px); }
.split__cell { border-radius: var(--radius-card); aspect-ratio: 1 / 1; padding: 10%; }
.split__cell--green { background: radial-gradient(120% 120% at 40% 30%, #eef6f2, #cfe6dc); }
.split__cell--violet { background: radial-gradient(120% 120% at 60% 30%, #f1eefc, #ddd6f6); }
.quote {
  max-width: 820px; margin: clamp(40px, 6vw, 80px) auto; text-align: center;
  font-family: var(--font-display); font-weight: 500;
  font-size: clamp(22px, 3vw, 36px); line-height: 1.3; letter-spacing: -.01em;
}
.quote cite { display: block; font-family: var(--font-body); font-style: normal; font-weight: 700; font-size: 14px; letter-spacing: .05em; color: var(--ink-faint); margin-top: 24px; }

/* ============ Shop ============ */
.filters { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; padding: 8px var(--pad-x) 0; }
.filter-chip {
  border: 1.5px solid rgba(27, 27, 51, .14); background: none; cursor: pointer;
  font-weight: 700; font-size: 14px; color: var(--ink-soft);
  padding: 10px 18px; border-radius: 999px;
  transition: background .18s ease, color .18s ease, border-color .18s ease;
}
.filter-chip:hover { border-color: var(--ink); color: var(--ink); }
.filter-chip.active { background: var(--ink); border-color: var(--ink); color: #fff; }

.shop-section { padding: clamp(36px, 5vw, 64px) var(--pad-x) clamp(56px, 7vw, 100px); }
.shop-grid { max-width: 1240px; margin: 0 auto; display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(18px, 2.4vw, 30px); }
.toy-card {
  display: flex; flex-direction: column;
  background: #fff; border-radius: var(--radius-panel);
  border: 1px solid rgba(27, 27, 51, .07);
  overflow: hidden;
  transition: transform .25s ease, box-shadow .25s ease;
}
.toy-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-pop); }
.toy-card.hidden { display: none; }
.toy-card__stage { position: relative; aspect-ratio: 4 / 3.4; padding: 7% 18% 4%; }
.toy-card__badge {
  position: absolute; top: 16px; left: 16px;
  display: inline-flex; align-items: center; gap: 7px;
  background: rgba(251, 250, 247, .94); padding: 7px 13px; border-radius: 999px;
  font-weight: 800; font-size: 11px; letter-spacing: .04em; color: var(--ink);
}
.toy-card__body { display: flex; flex-direction: column; flex: 1; padding: 20px 22px 22px; }
.toy-card__title-row { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.toy-card__title-row h3 { font-family: var(--font-display); font-weight: 700; font-size: 24px; }
.toy-card__title-row h3 a { color: inherit; }
.toy-card__title-row h3 a:hover { color: var(--coral-deep); }
.toy-card__price { font-weight: 700; font-size: 18px; font-variant-numeric: tabular-nums; }
.toy-card__price s { color: var(--ink-faint); font-weight: 600; font-size: 14px; margin-right: 6px; }
.toy-card__tagline { font-size: 14.5px; font-weight: 700; margin-top: 4px; }
.toy-card__rating { font-size: 13px; font-weight: 700; color: var(--ink-faint); margin-top: 8px; display: flex; gap: 8px; align-items: center; }
.toy-card__desc { font-size: 15px; line-height: 1.6; color: var(--ink-soft); font-weight: 500; margin-top: 10px; flex: 1; }
.toy-card__actions { display: flex; gap: 10px; margin-top: 18px; }
.toy-card__add {
  flex: 1; border: 1.5px solid var(--ink); cursor: pointer;
  font-weight: 700; font-size: 15px; color: var(--ink);
  background: transparent; padding: 13px; border-radius: 12px;
  transition: background .18s ease, color .18s ease;
}
.toy-card__add:hover { background: var(--ink); color: #fff; }
.toy-card__more {
  border: none; background: var(--paper); cursor: pointer;
  font-weight: 700; font-size: 15px; color: var(--ink);
  padding: 13px 16px; border-radius: 12px;
  transition: background .18s ease;
  display: inline-flex; align-items: center;
}
.toy-card__more:hover { background: #efe6d5; color: var(--ink); }

/* Bundle card */
.bundle {
  max-width: 1240px; margin: clamp(28px, 4vw, 48px) auto 0;
  border-radius: var(--radius-panel); overflow: hidden;
  background: var(--ink); color: var(--cream);
  display: grid; grid-template-columns: 1.1fr .9fr; align-items: center;
}
.bundle__copy { padding: clamp(28px, 4vw, 56px); }
.bundle__copy .eyebrow { color: var(--gold); }
.bundle__copy h2 { font-family: var(--font-display); font-weight: 700; font-size: clamp(26px, 3.4vw, 40px); line-height: 1.06; }
.bundle__copy p { font-size: 16px; line-height: 1.7; color: rgba(251, 250, 247, .75); font-weight: 500; margin-top: 14px; max-width: 460px; }
.bundle__price { display: flex; align-items: baseline; gap: 12px; margin-top: 20px; }
.bundle__price strong { font-family: var(--font-display); font-size: 34px; font-variant-numeric: tabular-nums; }
.bundle__price s { color: rgba(251, 250, 247, .5); font-weight: 600; }
.bundle__price em { font-style: normal; font-weight: 800; font-size: 13px; color: var(--gold); background: rgba(255, 211, 107, .14); padding: 5px 10px; border-radius: 999px; }
.bundle__row { display: flex; align-items: flex-end; justify-content: center; gap: 2%; padding: 8% 6%; }
.bundle__row kogni-bot { width: 19%; height: auto; aspect-ratio: 1/1.07; }
.bundle .btn-gold { margin-top: 24px; }

/* ============ Customizer ============ */
.design { padding: clamp(56px, 7vw, 110px) var(--pad-x); border-top: 1px solid rgba(27, 27, 51, .06); }
.design__inner { max-width: 1180px; margin: 0 auto; display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 72px); align-items: center; }
.design__stage {
  border-radius: var(--radius-panel); aspect-ratio: 1 / 1;
  background: radial-gradient(120% 120% at 50% 25%, #fff, #efe3d4);
  position: relative; padding: 10%;
}
.design__lede { font-size: 17px; line-height: 1.7; color: var(--ink-soft); font-weight: 500; margin-top: 20px; }
.design__group { margin-top: 28px; }
.design__label { display: block; font-size: 13px; font-weight: 800; letter-spacing: .06em; color: var(--ink-faint); margin-bottom: 12px; text-transform: uppercase; }
.swatches { display: flex; gap: 12px; flex-wrap: wrap; }
.swatch {
  width: 42px; height: 42px; border-radius: 50%;
  border: 3px solid rgba(27, 27, 51, .12); cursor: pointer;
  transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease;
}
.swatch:hover { transform: scale(1.12); }
.swatch[aria-checked="true"] { border-color: var(--ink); box-shadow: 0 0 0 3px var(--cream), 0 0 0 5px var(--ink); }
.design__name {
  width: min(280px, 100%);
  font-family: var(--font-body); font-weight: 600; font-size: 16px; color: var(--ink);
  background: #fff; border: 1.5px solid rgba(27, 27, 51, .16);
  border-radius: 12px; padding: 13px 16px;
}
.design__name:focus { outline: none; border-color: var(--coral); box-shadow: 0 0 0 3px rgba(255, 111, 82, .18); }
.design__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 32px; }

/* ============ Product page ============ */
.product { max-width: 1240px; margin: 0 auto; padding: clamp(24px, 4vw, 48px) var(--pad-x) clamp(56px, 7vw, 100px); display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(28px, 5vw, 72px); align-items: start; }
.product__gallery { position: sticky; top: 90px; }
.product__viewer {
  border-radius: var(--radius-panel); aspect-ratio: 1 / 1;
  padding: 10%; position: relative;
}
.product__poses { display: flex; gap: 12px; margin-top: 16px; }
.pose-btn {
  width: 74px; height: 74px; border-radius: 16px; cursor: pointer;
  border: 2px solid rgba(27, 27, 51, .1); background: #fff; padding: 9px;
  transition: border-color .18s ease, transform .18s ease;
}
.pose-btn:hover { transform: translateY(-2px); }
.pose-btn.active { border-color: var(--ink); }
.product__info h1 { font-family: var(--font-display); font-weight: 700; font-size: clamp(34px, 4vw, 52px); line-height: 1.02; letter-spacing: -.02em; }
.product__trait { font-size: 15px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; margin-top: 6px; }
.product__meta { display: flex; align-items: center; gap: 14px; margin-top: 14px; font-weight: 700; font-size: 14px; color: var(--ink-faint); }
.product__price { font-family: var(--font-display); font-weight: 700; font-size: 34px; margin-top: 18px; font-variant-numeric: tabular-nums; }
.product__desc { font-size: 16.5px; line-height: 1.75; color: var(--ink-soft); font-weight: 500; margin-top: 16px; }
.product__features { margin-top: 22px; display: grid; gap: 10px; }
.product__features li {
  list-style: none; display: flex; gap: 10px; align-items: flex-start;
  font-size: 15px; font-weight: 600; color: var(--ink-soft); line-height: 1.5;
}
.product__features li::before { content: '✳'; color: var(--coral); font-weight: 800; flex: none; }
.product__buy { display: flex; gap: 12px; margin-top: 28px; align-items: stretch; }
.qty-picker { display: flex; align-items: center; border: 1.5px solid rgba(27, 27, 51, .16); border-radius: 999px; overflow: hidden; }
.qty-picker button { width: 44px; height: 100%; border: none; background: none; cursor: pointer; font-weight: 800; font-size: 18px; color: var(--ink); }
.qty-picker button:hover { background: var(--paper); }
.qty-picker span { min-width: 30px; text-align: center; font-weight: 800; font-variant-numeric: tabular-nums; }
.product__buy .btn-primary { flex: 1; text-align: center; }
.product__note { font-size: 13px; font-weight: 600; color: var(--ink-faint); margin-top: 12px; }
.product__accordions { margin-top: 30px; }
.product__accordions details { border-top: 1px solid rgba(27, 27, 51, .1); }
.product__accordions details:last-child { border-bottom: 1px solid rgba(27, 27, 51, .1); }
.product__accordions summary {
  list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center;
  font-family: var(--font-display); font-weight: 600; font-size: 17px; padding: 18px 2px;
}
.product__accordions summary::-webkit-details-marker { display: none; }
.product__accordions summary::after { content: '+'; font-size: 22px; color: var(--ink-faint); transition: transform .2s ease; }
.product__accordions details[open] summary::after { transform: rotate(45deg); color: var(--coral); }
.product__accordions details p { padding: 0 2px 18px; font-size: 15px; line-height: 1.7; color: var(--ink-soft); font-weight: 500; }

.friends { background: #fff; border-top: 1px solid rgba(27, 27, 51, .06); padding: clamp(48px, 6vw, 90px) var(--pad-x); }
.friends__inner { max-width: 1080px; margin: 0 auto; text-align: center; }
.friends__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 320px)); gap: 24px; justify-content: center; margin-top: clamp(28px, 4vw, 44px); }

.reviews { padding: clamp(48px, 6vw, 90px) var(--pad-x); }
.reviews__inner { max-width: 1080px; margin: 0 auto; }
.reviews__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: clamp(28px, 4vw, 44px); }
.review-card { background: #fff; border: 1px solid rgba(27, 27, 51, .07); border-radius: var(--radius-card); padding: 24px; }
.review-card h3 { font-family: var(--font-display); font-weight: 700; font-size: 17px; margin-top: 10px; }
.review-card p { font-size: 14.5px; line-height: 1.65; color: var(--ink-soft); font-weight: 500; margin-top: 8px; }
.review-card footer { font-size: 13px; font-weight: 700; color: var(--ink-faint); margin-top: 14px; }

/* ============ Technology page ============ */
.anatomy { padding: clamp(40px, 6vw, 80px) var(--pad-x); }
.anatomy__inner { max-width: 1180px; margin: 0 auto; display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 64px); align-items: center; }
.anatomy__stage { border-radius: var(--radius-panel); aspect-ratio: 1 / 1; background: radial-gradient(120% 120% at 50% 25%, #fff, #e9e7df); position: relative; padding: 12%; }
.anatomy__pin {
  position: absolute; cursor: pointer; border: none;
  background: var(--ink); color: var(--paper);
  font-weight: 700; font-size: 12.5px; padding: 8px 13px; border-radius: 999px;
  white-space: nowrap; box-shadow: 0 8px 18px -8px rgba(27, 27, 51, .5);
  transition: background .18s ease, transform .18s ease;
}
.anatomy__pin:hover { transform: scale(1.06); }
.anatomy__pin.active { background: var(--coral); color: #fff; }
.anatomy__detail { background: #fff; border: 1px solid rgba(27, 27, 51, .08); border-radius: var(--radius-card); padding: 26px; margin-top: 24px; min-height: 150px; }
.anatomy__detail h3 { font-family: var(--font-display); font-weight: 700; font-size: 20px; }
.anatomy__detail p { font-size: 15px; line-height: 1.7; color: var(--ink-soft); font-weight: 500; margin-top: 10px; }

.pillars { background: #fff; border-top: 1px solid rgba(27, 27, 51, .06); padding: clamp(48px, 6vw, 90px) var(--pad-x); }
.pillars__inner { max-width: 1180px; margin: 0 auto; }
.pillars__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: clamp(28px, 4vw, 44px); }
.pillar { border-radius: var(--radius-card); padding: 28px; }
.pillar--teal { background: radial-gradient(130% 130% at 30% 20%, #eefafc, #d3ecf1); }
.pillar--gold { background: radial-gradient(130% 130% at 30% 20%, #fff8ea, #f7e6c0); }
.pillar--violet { background: radial-gradient(130% 130% at 30% 20%, #f5f2fd, #e2dbf7); }
.pillar h3 { font-family: var(--font-display); font-weight: 700; font-size: 20px; margin-top: 14px; }
.pillar p { font-size: 15px; line-height: 1.65; color: var(--ink-soft); font-weight: 500; margin-top: 8px; }
.pillar__icon { width: 44px; height: 44px; }

/* Dashboard mock */
.dash { padding: clamp(48px, 6vw, 90px) var(--pad-x); }
.dash__inner { max-width: 1180px; margin: 0 auto; display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(28px, 5vw, 64px); align-items: center; }
.dash__mock {
  background: var(--ink); border-radius: 26px; padding: 22px;
  box-shadow: var(--shadow-pop);
}
.dash__screen { background: var(--cream); border-radius: 16px; padding: 20px; }
.dash__screen-head { display: flex; justify-content: space-between; align-items: center; }
.dash__screen-head h3 { font-family: var(--font-display); font-weight: 700; font-size: 17px; }
.dash__screen-head span { font-size: 11.5px; font-weight: 800; color: #fff; background: var(--green); padding: 4px 10px; border-radius: 999px; }
.dash__bars { display: flex; align-items: flex-end; gap: 8px; height: 90px; margin-top: 18px; }
.dash__bars i { flex: 1; border-radius: 6px 6px 3px 3px; background: linear-gradient(180deg, var(--teal), #8fd7e2); min-height: 8%; }
.dash__bars i.hot { background: linear-gradient(180deg, var(--coral), var(--peach)); }
.dash__bars-labels { display: flex; gap: 8px; margin-top: 6px; }
.dash__bars-labels span { flex: 1; text-align: center; font-size: 10.5px; font-weight: 700; color: var(--ink-faint); }
.dash__rows { margin-top: 16px; display: grid; gap: 8px; }
.dash__row { display: flex; justify-content: space-between; align-items: center; background: #fff; border-radius: 12px; padding: 12px 14px; font-size: 13.5px; font-weight: 700; }
.dash__row small { display: block; font-size: 11.5px; color: var(--ink-faint); font-weight: 600; margin-top: 2px; }
.dash__pill { font-size: 11px; font-weight: 800; padding: 4px 10px; border-radius: 999px; background: var(--paper); color: var(--ink-soft); }
.dash__pill--on { background: rgba(123, 208, 138, .25); color: #2c7a3d; }

/* Timeline */
.timeline { background: #fff; border-top: 1px solid rgba(27, 27, 51, .06); padding: clamp(48px, 6vw, 90px) var(--pad-x); }
.timeline__inner { max-width: 900px; margin: 0 auto; }
.timeline__list { margin-top: clamp(28px, 4vw, 44px); display: grid; gap: 0; }
.timeline__step { display: grid; grid-template-columns: 56px 1fr; gap: 20px; padding-bottom: 34px; position: relative; }
.timeline__step:not(:last-child)::before {
  content: ''; position: absolute; left: 27px; top: 56px; bottom: 0;
  width: 2px; background: rgba(27, 27, 51, .12);
}
.timeline__dot {
  width: 56px; height: 56px; border-radius: 50%; flex: none;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display); font-weight: 700; font-size: 19px;
  background: var(--paper); color: var(--ink);
}
.timeline__step h3 { font-family: var(--font-display); font-weight: 700; font-size: 20px; padding-top: 14px; }
.timeline__step p { font-size: 15px; line-height: 1.7; color: var(--ink-soft); font-weight: 500; margin-top: 8px; }

/* Spec table */
.specs { padding: clamp(48px, 6vw, 90px) var(--pad-x); }
.specs__inner { max-width: 820px; margin: 0 auto; }
.specs__table { margin-top: clamp(24px, 3vw, 40px); border-top: 1px solid rgba(27, 27, 51, .1); }
.specs__row { display: grid; grid-template-columns: 1fr 1.6fr; gap: 16px; padding: 16px 4px; border-bottom: 1px solid rgba(27, 27, 51, .1); font-size: 15px; }
.specs__row dt { font-weight: 800; }
.specs__row dd { color: var(--ink-soft); font-weight: 500; }

/* ============ Stories page ============ */
.story-grid { max-width: 1240px; margin: 0 auto; display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(18px, 2.4vw, 30px); padding: clamp(28px, 4vw, 48px) var(--pad-x) clamp(56px, 7vw, 100px); }
.story-card {
  display: flex; flex-direction: column; color: inherit; text-align: left;
  background: #fff; border: 1px solid rgba(27, 27, 51, .07); border-radius: var(--radius-panel);
  overflow: hidden; cursor: pointer; padding: 0; font-family: inherit;
  transition: transform .25s ease, box-shadow .25s ease;
}
.story-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-pop); color: inherit; }
.story-card__stage { aspect-ratio: 3 / 2; padding: 6% 26% 0; }
.story-card__body { padding: 20px 22px 24px; }
.story-card__meta { display: flex; gap: 10px; align-items: center; font-size: 13px; font-weight: 700; color: var(--ink-faint); }
.story-card__meta .tag { color: var(--coral); }
.story-card h3 { font-family: var(--font-display); font-weight: 700; font-size: 21px; line-height: 1.2; margin-top: 8px; }
.story-card p { font-size: 15px; line-height: 1.6; color: var(--ink-soft); font-weight: 500; margin-top: 8px; }
.story-card__cta { font-size: 14px; font-weight: 800; color: var(--coral); margin-top: 14px; display: inline-block; }

/* Article modal */
.article-overlay {
  position: fixed; inset: 0; z-index: 88;
  background: rgba(27, 27, 51, .5);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  display: none; align-items: flex-start; justify-content: center;
  overflow-y: auto; padding: clamp(16px, 4vw, 56px) 16px;
}
.article-overlay.open { display: flex; }
.article {
  background: var(--cream); border-radius: 22px; max-width: 680px; width: 100%;
  padding: clamp(28px, 5vw, 52px); position: relative;
}
.article__close {
  position: absolute; top: 18px; right: 18px;
  border: none; background: var(--paper); cursor: pointer;
  width: 38px; height: 38px; border-radius: 50%; font-size: 20px; color: var(--ink);
}
.article__close:hover { background: #efe6d5; }
.article__hero { width: 150px; height: 150px; margin: 0 auto 8px; }
.article h2 { font-family: var(--font-display); font-weight: 700; font-size: clamp(24px, 3.4vw, 34px); line-height: 1.1; text-align: center; }
.article__meta { display: flex; gap: 10px; justify-content: center; font-size: 13px; font-weight: 700; color: var(--ink-faint); margin-top: 10px; }
.article__meta .tag { color: var(--coral); }
.article__body { margin-top: 24px; }
.article__body p { font-size: 16px; line-height: 1.8; color: var(--ink-soft); font-weight: 500; margin-bottom: 16px; max-width: 60ch; }

/* ============ FAQ ============ */
.faq { padding: clamp(56px, 7vw, 100px) var(--pad-x); }
.faq__inner { max-width: 820px; margin: 0 auto; }
.faq__head { margin-bottom: clamp(28px, 4vw, 44px); }
.faq__list details { background: #fff; border: 1px solid rgba(27, 27, 51, .08); border-radius: 16px; margin-bottom: 12px; overflow: hidden; }
.faq__list summary {
  list-style: none; cursor: pointer;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  font-family: var(--font-display); font-weight: 600; font-size: 18px;
  padding: 20px 22px;
}
.faq__list summary::-webkit-details-marker { display: none; }
.faq__icon { flex: none; width: 26px; height: 26px; border-radius: 50%; background: var(--paper); position: relative; transition: transform .25s ease, background .25s ease; }
.faq__icon::before, .faq__icon::after {
  content: ''; position: absolute; left: 50%; top: 50%;
  transform: translate(-50%, -50%);
  width: 12px; height: 2.5px; border-radius: 2px; background: var(--ink);
}
.faq__icon::after { transform: translate(-50%, -50%) rotate(90deg); transition: transform .25s ease; }
.faq__list details[open] .faq__icon { transform: rotate(45deg); background: var(--coral); }
.faq__list details[open] .faq__icon::before, .faq__list details[open] .faq__icon::after { background: #fff; }
.faq__list details p { padding: 0 22px 22px; font-size: 16px; line-height: 1.7; color: var(--ink-soft); font-weight: 500; max-width: 640px; }

/* ============ CTA ============ */
.cta { padding: clamp(40px, 5vw, 80px) clamp(16px, 3vw, 40px); }
.cta__panel {
  max-width: 1220px; margin: 0 auto;
  background: var(--ink); border-radius: var(--radius-panel);
  padding: clamp(40px, 6vw, 88px) clamp(28px, 5vw, 72px);
  text-align: center; position: relative; overflow: hidden;
}
.cta__mark { position: absolute; right: -40px; top: -40px; width: 220px; opacity: .08; }
.cta__panel h2 { font-family: var(--font-display); font-weight: 700; font-size: clamp(28px, 4vw, 48px); line-height: 1.06; color: var(--cream); max-width: 640px; margin: 0 auto; }
.cta__panel > p { font-size: 17px; line-height: 1.6; color: rgba(251, 250, 247, .75); font-weight: 500; max-width: 480px; margin: 16px auto 30px; }

/* ============ Footer ============ */
.footer { background: var(--ink); padding: clamp(48px, 6vw, 84px) var(--pad-x) 40px; }
.footer__inner { max-width: 1220px; margin: 0 auto; }
.footer__grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 32px; }
.footer__brand p { font-size: 15px; line-height: 1.6; color: rgba(251, 250, 247, .6); font-weight: 500; margin-top: 18px; max-width: 300px; }
.footer__news { display: flex; gap: 8px; margin-top: 18px; max-width: 320px; }
.footer__news input {
  flex: 1; min-width: 0;
  font-family: var(--font-body); font-weight: 600; font-size: 14px;
  color: var(--cream); background: rgba(251, 250, 247, .08);
  border: 1.5px solid rgba(251, 250, 247, .22);
  border-radius: 999px; padding: 11px 16px;
}
.footer__news input::placeholder { color: rgba(251, 250, 247, .45); }
.footer__news input:focus { outline: none; border-color: var(--gold); }
.footer__news button {
  font-weight: 700; font-size: 14px; color: var(--ink); background: var(--gold);
  border: none; border-radius: 999px; padding: 11px 18px; cursor: pointer;
}
.footer__news-note { font-size: 12.5px; color: rgba(251, 250, 247, .45); font-weight: 500; margin-top: 10px; }
.footer__col h3 { font-size: 13px; font-weight: 800; letter-spacing: .06em; color: var(--coral); margin-bottom: 16px; }
.footer__col a { display: block; font-size: 15px; color: rgba(251, 250, 247, .72); font-weight: 500; margin-bottom: 11px; }
.footer__col a:hover { color: #fff; }
.footer__legal {
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 14px;
  margin-top: clamp(36px, 5vw, 60px); padding-top: 26px;
  border-top: 1px solid rgba(251, 250, 247, .12);
  font-size: 14px; color: rgba(251, 250, 247, .5); font-weight: 500;
}

/* ============ Toast ============ */
.toast {
  position: fixed; left: 50%; bottom: 28px; z-index: 90;
  transform: translateX(-50%);
  background: var(--ink); color: var(--cream);
  font-weight: 700; font-size: 14px;
  padding: 13px 22px; border-radius: 999px;
  box-shadow: 0 18px 40px -16px rgba(27, 27, 51, .5);
  animation: toast-in .28s ease;
  pointer-events: none;
}
.toast i { font-style: normal; color: var(--gold); }

/* ============ Drawer ============ */
.drawer-overlay {
  position: fixed; inset: 0; z-index: 80;
  background: rgba(27, 27, 51, .45);
  backdrop-filter: blur(3px);
  -webkit-backdrop-filter: blur(3px);
  opacity: 0; transition: opacity .25s ease;
}
.drawer-overlay.show { opacity: 1; }
.drawer {
  position: fixed; top: 0; right: 0; bottom: 0; z-index: 85;
  width: min(420px, 100vw);
  background: var(--cream);
  box-shadow: -24px 0 60px -30px rgba(27, 27, 51, .45);
  transform: translateX(105%);
  transition: transform .32s cubic-bezier(.2, .7, .2, 1);
  display: flex; flex-direction: column;
}
.drawer.open { transform: translateX(0); }
.drawer__head { display: flex; align-items: center; justify-content: space-between; padding: 22px 24px 16px; border-bottom: 1px solid rgba(27, 27, 51, .08); }
.drawer__head h2 { font-family: var(--font-display); font-weight: 700; font-size: 24px; }
.drawer__close {
  border: none; background: var(--paper); cursor: pointer;
  width: 38px; height: 38px; border-radius: 50%;
  font-size: 22px; line-height: 1; color: var(--ink);
  transition: background .18s ease;
}
.drawer__close:hover { background: #efe6d5; }
.drawer__ship { padding: 16px 24px 0; }
.drawer__ship p { font-size: 13px; font-weight: 700; color: var(--ink-soft); }
.drawer__ship p b { color: var(--coral-deep); }
.drawer__ship-bar { height: 6px; border-radius: 99px; background: rgba(27, 27, 51, .08); margin-top: 8px; overflow: hidden; }
.drawer__ship-bar span { display: block; height: 100%; width: 0; border-radius: 99px; background: linear-gradient(90deg, var(--coral), var(--gold)); transition: width .4s ease; }
.drawer__items { list-style: none; flex: 1; overflow-y: auto; padding: 12px 24px; }
.drawer__item { display: flex; align-items: center; gap: 14px; padding: 14px 0; border-bottom: 1px solid rgba(27, 27, 51, .07); }
.drawer__item:last-child { border-bottom: none; }
.drawer__thumb { flex: none; width: 64px; height: 64px; border-radius: 14px; background: radial-gradient(120% 120% at 50% 25%, #fff, #ece9e0); padding: 7px; }
.drawer__item-info { flex: 1; min-width: 0; }
.drawer__item-info h3 { font-family: var(--font-display); font-weight: 700; font-size: 16px; }
.drawer__item-info small { font-size: 12.5px; font-weight: 600; color: var(--ink-faint); display: block; margin-top: 2px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.drawer__qty { display: flex; align-items: center; gap: 10px; margin-top: 8px; }
.drawer__qty button {
  width: 26px; height: 26px; border-radius: 8px;
  border: 1.5px solid rgba(27, 27, 51, .16); background: none; cursor: pointer;
  font-weight: 800; font-size: 14px; color: var(--ink); line-height: 1;
}
.drawer__qty button:hover { background: var(--paper); }
.drawer__qty span { font-weight: 700; font-size: 14px; min-width: 16px; text-align: center; font-variant-numeric: tabular-nums; }
.drawer__item-price { font-weight: 700; font-size: 15px; white-space: nowrap; font-variant-numeric: tabular-nums; }
.drawer__remove { border: none; background: none; cursor: pointer; font-size: 12.5px; font-weight: 700; color: var(--ink-faint); padding: 0; margin-top: 6px; text-decoration: underline; }
.drawer__remove:hover { color: var(--coral-deep); }
.drawer__empty { flex: 1; display: none; flex-direction: column; align-items: center; justify-content: center; gap: 18px; padding: 24px; text-align: center; }
.drawer__empty p { font-weight: 600; color: var(--ink-soft); line-height: 1.6; }
.drawer__empty-bot { width: 130px; height: 130px; }
.drawer.is-empty .drawer__empty { display: flex; }
.drawer.is-empty .drawer__items, .drawer.is-empty .drawer__foot, .drawer.is-empty .drawer__ship { display: none; }
.drawer__foot { padding: 16px 24px 22px; border-top: 1px solid rgba(27, 27, 51, .08); background: #fff; }
.drawer__total { display: flex; align-items: baseline; justify-content: space-between; font-weight: 700; font-size: 15px; color: var(--ink-soft); }
.drawer__total strong { font-family: var(--font-display); font-size: 24px; color: var(--ink); font-variant-numeric: tabular-nums; }
.drawer__checkout {
  width: 100%; margin-top: 14px;
  border: none; cursor: pointer;
  font-family: var(--font-body); font-weight: 700; font-size: 16px;
  color: #fff; background: var(--ink);
  padding: 15px; border-radius: 14px;
  transition: background .18s ease, transform .18s ease;
}
.drawer__checkout:hover { background: #2a2a4d; transform: translateY(-1px); }
.drawer__note { text-align: center; font-size: 12.5px; font-weight: 600; color: var(--ink-faint); margin-top: 12px; }

/* ============ Responsive ============ */
@media (max-width: 980px) {
  .char-rail__grid { grid-template-columns: repeat(3, 1fr); }
  .char-tile:nth-child(4), .char-tile:nth-child(5) { display: none; }
  .product { grid-template-columns: 1fr; }
  .product__gallery { position: static; }
}
@media (max-width: 880px) {
  .hero__grid, .split, .design__inner, .anatomy__inner, .dash__inner, .bundle { grid-template-columns: 1fr; }
  .shop-grid, .reviews__grid, .pillars__grid { grid-template-columns: 1fr 1fr; }
  .story-grid { grid-template-columns: 1fr; }
  .friends__grid { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .stats__grid { grid-template-columns: 1fr 1fr; row-gap: 34px; }
  .nav__link { display: none; }
  .nav__toggle { display: inline-flex; }
  .bundle__row { padding: 10% 6% 2%; }
}
@media (max-width: 560px) {
  .shop-grid, .footer__grid, .reviews__grid, .pillars__grid, .char-rail__grid { grid-template-columns: 1fr; }
  .char-tile:nth-child(4), .char-tile:nth-child(5) { display: flex; }
}
@media (min-width: 881px) {
  .mobile-menu { display: none !important; }
}

/* ============ Brand motion polish ============ */
/* Logo bubbles gently bob; the biggest bubble drifts a touch more. */
.logo__mark { animation: logo-bob 4.5s var(--ease, ease-in-out) infinite; transform-origin: 50% 60%; }
.logo:hover .logo__mark { animation-duration: 2.6s; }
@keyframes logo-bob { 0%,100% { transform: translateY(0) rotate(0); } 50% { transform: translateY(-2px) rotate(-3deg); } }

/* Soft, slow ambient glow behind the hero character stage. */
.hero__stage::after {
  content: ""; position: absolute; inset: -8% -6% 2% -6%; z-index: -1; border-radius: 50%;
  background: radial-gradient(50% 50% at 50% 45%, rgba(94,197,214,.35), rgba(133,119,230,.16) 55%, transparent 72%);
  filter: blur(14px); animation: hero-glow 9s ease-in-out infinite;
}
@keyframes hero-glow { 0%,100% { transform: scale(1) translateY(0); opacity: .9; } 50% { transform: scale(1.06) translateY(-6px); opacity: 1; } }

/* Rising decorative bubbles in the hero background. */
.hero { position: relative; overflow: hidden; }
.hero__bubbles { position: absolute; inset: 0; z-index: 0; pointer-events: none; overflow: hidden; }
.hero__bubbles i {
  position: absolute; bottom: -40px; border-radius: 50%;
  /* iridescent soap-film */
  background: radial-gradient(38% 38% at 32% 28%, rgba(255,255,255,.92), rgba(127,216,230,.4) 42%, rgba(154,140,240,.24) 70%, rgba(255,157,132,.16));
  border: 1px solid rgba(255,255,255,.42);
  box-shadow: inset 0 0 8px rgba(255,255,255,.5), inset 3px -3px 9px rgba(154,140,240,.22);
  animation: bubble-rise var(--d, 14s) linear infinite; animation-delay: var(--delay, 0s); opacity: 0;
}
@keyframes bubble-rise {
  0% { transform: translateY(0) scale(.6); opacity: 0; }
  12% { opacity: .8; }
  85% { opacity: .55; }
  100% { transform: translateY(-90vh) scale(1); opacity: 0; }
}

/* Slightly livelier card/button feedback. */
.toy-card, .char-tile { transition: transform .28s var(--ease-out, cubic-bezier(.2,.7,.2,1)), box-shadow .28s ease; }
.btn-primary, .btn-gold, .btn-ink { transition: transform .14s ease, box-shadow .14s ease, background .18s ease; }
.btn-primary:active, .btn-gold:active, .btn-ink:active { transform: translateY(1px) scale(.99); }

/* ============ Reduced motion ============ */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .marquee__track, .hero__bubble, .hero__chip, .logo__mark,
  .hero__stage::after, .hero__bubbles i,
  .kb-float, .kb-eye, .kb-antenna { animation: none !important; }
  .hero__bubbles { display: none; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .drawer, .drawer-overlay, [data-tilt] { transition: none; }
  .kb-pupil { transition: none; }
}
