/* ==========================================================================
   Whisker Merge Manor — landing page styles
   Palette is lifted from the in-game art: cream carpet, peach walls, blush
   curtains, warm sand mats and the mint heart bar. Everything is namespaced
   with `wmm-` so this template cannot leak into other product sites.
   ========================================================================== */

:root {
  /* Surfaces */
  --wmm-cream:      #FFF6EA;
  --wmm-carpet:     #F7E5CF;
  --wmm-wall:       #FCE2D2;
  --wmm-card:       #FFFCF7;

  /* Accents */
  --wmm-peach:      #F5A87B;
  --wmm-coral:      #F5806B;
  --wmm-blush:      #F3B3B8;
  --wmm-mint:       #5FCFC6;
  --wmm-honey:      #F0BC72;
  --wmm-sand:       #E7C79E;

  /* Ink */
  --wmm-ink:        #4A3227;
  --wmm-ink-soft:   #7A5A48;
  --wmm-ink-faint:  #9C7F6C;

  /* System */
  --wmm-line:       #EBD6BF;
  --wmm-shadow-sm:  0 6px 16px rgba(122, 78, 52, .10);
  --wmm-shadow-md:  0 16px 34px rgba(122, 78, 52, .14);
  --wmm-shadow-lg:  0 28px 60px rgba(122, 78, 52, .18);
  --wmm-radius:     26px;
  --wmm-ease:       cubic-bezier(.22, .8, .36, 1);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 108px; }

body.wmm {
  margin: 0;
  font-family: 'Nunito', system-ui, -apple-system, 'Segoe UI', sans-serif;
  color: var(--wmm-ink);
  background: var(--wmm-cream);
  line-height: 1.68;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

body.wmm.is-locked { overflow: hidden; }

img { max-width: 100%; display: block; }

h1, h2, h3 { font-family: 'Fredoka', 'Nunito', sans-serif; font-weight: 600; line-height: 1.14; margin: 0; letter-spacing: -.01em; }

a { color: inherit; }

::selection { background: var(--wmm-blush); color: #fff; }

:focus-visible {
  outline: 3px solid var(--wmm-coral);
  outline-offset: 3px;
  border-radius: 10px;
}

.wmm-skip {
  position: fixed; top: -100px; left: 16px; z-index: 999;
  background: var(--wmm-ink); color: #fff; padding: 12px 20px;
  border-radius: 0 0 14px 14px; text-decoration: none; font-weight: 700;
  transition: top .2s var(--wmm-ease);
}
.wmm-skip:focus { top: 0; }

.wmm-wrap { width: min(1180px, 100% - 44px); margin-inline: auto; }
.wmm-wrap--narrow { width: min(820px, 100% - 44px); }

/* ==========================================================================
   Ambient background: sunbeams falling across a warm room + floating dust
   ========================================================================== */
.wmm-ambient { position: fixed; inset: 0; z-index: 0; pointer-events: none; overflow: hidden; }

.wmm-ambient::before {
  /* soft wall-to-carpet wash */
  content: "";
  position: absolute; inset: 0;
  background:
    radial-gradient(60% 46% at 82% 6%,  rgba(252, 226, 210, .95), transparent 68%),
    radial-gradient(52% 40% at 6% 26%,  rgba(243, 179, 184, .40), transparent 70%),
    radial-gradient(70% 50% at 50% 108%, rgba(231, 199, 158, .55), transparent 70%);
}

.wmm-ambient__beam {
  position: absolute; top: -30%; width: 30vw; height: 150vh;
  background: linear-gradient(180deg, rgba(255, 255, 255, .78), rgba(255, 255, 255, 0));
  filter: blur(28px);
  transform: rotate(14deg);
}
.wmm-ambient__beam--1 { left: 52%; opacity: .8; }
.wmm-ambient__beam--2 { left: 74%; width: 18vw; opacity: .55; animation: wmm-breathe 11s ease-in-out infinite; }

.wmm-ambient__dust {
  position: absolute; left: var(--x); top: var(--y);
  width: 9px; height: 9px; border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #fff, rgba(245, 168, 123, .55));
  animation: wmm-drift 12s ease-in-out infinite;
  animation-delay: var(--d);
  opacity: .85;
}

@keyframes wmm-drift {
  0%, 100% { transform: translate3d(0, 0, 0) scale(1); opacity: .35; }
  50%      { transform: translate3d(14px, -26px, 0) scale(1.35); opacity: .9; }
}
@keyframes wmm-breathe { 0%, 100% { opacity: .35; } 50% { opacity: .7; } }

/* ==========================================================================
   Buttons
   ========================================================================== */
.wmm-btn {
  --btn-bg: var(--wmm-coral);
  display: inline-flex; align-items: center; gap: 10px;
  padding: 13px 22px;
  border: 0; border-radius: 999px;
  font-family: 'Fredoka', sans-serif; font-size: .98rem; font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  transition: background-color .22s var(--wmm-ease), color .22s var(--wmm-ease),
              box-shadow .22s var(--wmm-ease), border-color .22s var(--wmm-ease);
}
.wmm-btn i, .wmm-btn svg { width: 19px; height: 19px; flex: none; }
.wmm-btn span { display: flex; flex-direction: column; align-items: flex-start; line-height: 1.15; }
.wmm-btn small { font-family: 'Nunito', sans-serif; font-size: .66rem; font-weight: 700; letter-spacing: .09em; text-transform: uppercase; opacity: .78; }

.wmm-btn--solid { background: var(--btn-bg); color: #fff; box-shadow: 0 10px 22px rgba(245, 128, 107, .34); }
.wmm-btn--solid:hover { background: #E96C57; box-shadow: 0 14px 30px rgba(233, 108, 87, .42); }

.wmm-btn--ghost { background: #fff; color: var(--wmm-ink); box-shadow: var(--wmm-shadow-sm); }
.wmm-btn--ghost:hover { background: var(--wmm-carpet); box-shadow: var(--wmm-shadow-md); }

.wmm-btn--outline { background: transparent; color: var(--wmm-ink); border: 2px solid var(--wmm-sand); }
.wmm-btn--outline:hover { background: #fff; border-color: var(--wmm-coral); }

.wmm-btn--quiet { background: transparent; color: var(--wmm-ink-soft); border: 2px dashed var(--wmm-line); }
.wmm-btn--quiet:hover { background: #fff; color: var(--wmm-ink); border-color: var(--wmm-sand); }

.wmm-btn--sm { padding: 10px 18px; font-size: .9rem; }
.wmm-btn--lg { padding: 15px 28px; font-size: 1.05rem; }

.wmm-round {
  width: 46px; height: 46px; display: grid; place-items: center;
  border-radius: 50%; border: 2px solid var(--wmm-line); background: #fff;
  color: var(--wmm-ink); cursor: pointer;
  transition: background-color .2s var(--wmm-ease), border-color .2s var(--wmm-ease), color .2s var(--wmm-ease);
}
.wmm-round:hover { background: var(--wmm-coral); border-color: var(--wmm-coral); color: #fff; }
.wmm-round i, .wmm-round svg { width: 20px; height: 20px; }

/* ==========================================================================
   Floating top bar
   ========================================================================== */
.wmm-topbar {
  position: fixed; z-index: 60;
  top: 16px; left: 16px; right: 16px;
  transition: top .28s var(--wmm-ease);
}
.wmm-topbar__inner {
  width: min(1240px, 100%); margin-inline: auto;
  display: flex; align-items: center; gap: 18px;
  padding: 10px 12px 10px 14px;
  background: rgba(255, 252, 247, .82);
  border: 1px solid rgba(235, 214, 191, .9);
  border-radius: 999px;
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  box-shadow: var(--wmm-shadow-sm);
  transition: padding .28s var(--wmm-ease), box-shadow .28s var(--wmm-ease), background-color .28s var(--wmm-ease);
}
.wmm-topbar.is-stuck { top: 8px; }
.wmm-topbar.is-stuck .wmm-topbar__inner { padding-block: 6px; background: rgba(255, 252, 247, .95); box-shadow: var(--wmm-shadow-md); }

.wmm-logo { display: flex; align-items: center; gap: 11px; text-decoration: none; margin-right: auto; }
.wmm-logo__badge {
  width: 44px; height: 44px; display: grid; place-items: center;
  border-radius: 15px; background: #fff; box-shadow: var(--wmm-shadow-sm);
  overflow: hidden;
}
.wmm-logo__badge img { border-radius: 12px; }
.wmm-logo__text { display: flex; flex-direction: column; line-height: 1.05; font-family: 'Fredoka', sans-serif; }
.wmm-logo__text strong { font-size: 1.02rem; font-weight: 600; }
.wmm-logo__text small { font-size: .72rem; letter-spacing: .2em; text-transform: uppercase; color: var(--wmm-peach); font-weight: 600; }

.wmm-topbar__nav { display: flex; align-items: center; gap: 4px; }
.wmm-topbar__nav a {
  padding: 9px 15px; border-radius: 999px;
  text-decoration: none; font-weight: 700; font-size: .93rem; color: var(--wmm-ink-soft);
  transition: background-color .2s var(--wmm-ease), color .2s var(--wmm-ease);
}
.wmm-topbar__nav a:hover, .wmm-topbar__nav a.is-current { background: var(--wmm-carpet); color: var(--wmm-ink); }

.wmm-topbar__side { display: flex; align-items: center; gap: 10px; }

.wmm-hamburger {
  display: none; width: 44px; height: 44px; border: 0; border-radius: 14px;
  background: var(--wmm-carpet); cursor: pointer;
  flex-direction: column; align-items: center; justify-content: center; gap: 5px;
  transition: background-color .2s var(--wmm-ease);
}
.wmm-hamburger:hover { background: var(--wmm-sand); }
.wmm-hamburger span { width: 19px; height: 2.5px; border-radius: 2px; background: var(--wmm-ink); transition: transform .24s var(--wmm-ease), opacity .18s linear; }
.wmm-hamburger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.wmm-hamburger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.wmm-hamburger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

/* ==========================================================================
   Floorplan rail (desktop only) — section nav + reading progress in one
   ========================================================================== */
.wmm-rail {
  position: fixed; z-index: 50;
  left: 26px; top: 50%; transform: translateY(-50%);
  display: none; align-items: center; gap: 16px;
}
.wmm-rail__track { width: 3px; border-radius: 3px; height: 240px; background: var(--wmm-line); overflow: hidden; }
.wmm-rail__fill { display: block; width: 100%; height: 0%; border-radius: 3px; background: linear-gradient(180deg, var(--wmm-peach), var(--wmm-coral)); transition: height .18s linear; }

.wmm-rail__list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 15px; }
.wmm-rail__list a {
  display: flex; align-items: center; gap: 9px;
  text-decoration: none; font-size: .78rem; font-weight: 800;
  color: var(--wmm-ink-faint);
  transition: color .2s var(--wmm-ease);
}
.wmm-rail__list em {
  font-style: normal; font-family: 'Fredoka', sans-serif; font-size: .7rem;
  width: 26px; height: 26px; display: grid; place-items: center;
  border-radius: 9px; background: rgba(255, 255, 255, .7); border: 1px solid var(--wmm-line);
  transition: background-color .2s var(--wmm-ease), color .2s var(--wmm-ease), border-color .2s var(--wmm-ease);
}
.wmm-rail__list span { opacity: 0; transform: translateX(-6px); transition: opacity .2s var(--wmm-ease), transform .2s var(--wmm-ease); }
.wmm-rail:hover .wmm-rail__list span { opacity: 1; transform: none; }
.wmm-rail__list a:hover, .wmm-rail__list a.is-current { color: var(--wmm-ink); }
.wmm-rail__list a:hover em, .wmm-rail__list a.is-current em { background: var(--wmm-coral); border-color: var(--wmm-coral); color: #fff; }
.wmm-rail__list a.is-current span { opacity: 1; transform: none; }

@media (min-width: 1280px) { .wmm-rail { display: flex; } }

/* ==========================================================================
   Shared section header
   ========================================================================== */
.wmm-head { max-width: 660px; margin: 0 0 46px; position: relative; z-index: 1; }
.wmm-head--row { max-width: none; display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.wmm-head__kicker {
  margin: 0 0 10px; font-family: 'Fredoka', sans-serif; font-size: .8rem;
  letter-spacing: .2em; text-transform: uppercase; color: var(--wmm-peach); font-weight: 600;
}
.wmm-head__title { font-size: clamp(1.85rem, 3.6vw, 2.8rem); }
.wmm-head__sub { margin: 14px 0 0; color: var(--wmm-ink-soft); font-size: 1.06rem; }

.wmm-tag {
  display: inline-flex; align-items: center; gap: 8px; margin: 0 0 22px;
  padding: 8px 16px; border-radius: 999px;
  background: rgba(255, 255, 255, .78); border: 1px solid var(--wmm-line);
  font-size: .84rem; font-weight: 800; color: var(--wmm-ink-soft);
  box-shadow: var(--wmm-shadow-sm);
}
.wmm-tag i, .wmm-tag svg { width: 16px; height: 16px; color: var(--wmm-coral); }
.wmm-tag--light { background: #fff; }

/* ==========================================================================
   01 · Front hall (hero)
   ========================================================================== */
.wmm-hall { position: relative; z-index: 1; padding: 168px 0 100px; }
.wmm-hall__grid {
  width: min(1180px, 100% - 44px); margin-inline: auto;
  display: grid; grid-template-columns: minmax(0, 1.06fr) minmax(0, .94fr);
  gap: 56px; align-items: center;
}

.wmm-hall__title { font-size: clamp(2.5rem, 6vw, 4.3rem); }
.wmm-hall__line { display: block; }
/* The middle line gets the "signage" treatment seen on the game's title art */
.wmm-hall__line--ink {
  color: var(--wmm-coral);
  position: relative; display: inline-block;
}
.wmm-hall__line--ink::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: .1em; height: .22em;
  background: var(--wmm-blush); opacity: .42; border-radius: 999px; z-index: -1;
}

.wmm-hall__lede { margin: 24px 0 0; max-width: 46ch; font-size: 1.1rem; color: var(--wmm-ink-soft); }
.wmm-hall__cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 32px; }

.wmm-stats {
  display: flex; flex-wrap: wrap; gap: 14px; margin: 40px 0 0; padding: 0;
}
.wmm-stats > div {
  flex: 1 1 130px; padding: 14px 18px; border-radius: 20px;
  background: rgba(255, 255, 255, .74); border: 1px solid var(--wmm-line);
  box-shadow: var(--wmm-shadow-sm);
}
.wmm-stats dt { font-size: .78rem; font-weight: 800; letter-spacing: .04em; color: var(--wmm-ink-faint); text-transform: uppercase; }
.wmm-stats dd { margin: 2px 0 0; font-family: 'Fredoka', sans-serif; font-size: 1.65rem; color: var(--wmm-ink); }

/* --- Screenshot frames: aspect ratio is locked to the source 9:16 --- */
.wmm-hall__art { position: relative; min-height: 578px; }

.wmm-frame {
  margin: 0; border-radius: 34px; overflow: hidden;
  background: #fff; padding: 9px;
  box-shadow: var(--wmm-shadow-lg);
  border: 1px solid rgba(255, 255, 255, .9);
}
.wmm-frame img { border-radius: 26px; aspect-ratio: 576 / 1024; object-fit: cover; width: 100%; height: auto; }

/* Staggered top-left / bottom-right pair. The widths add up to just under the
   column, so the two frames only kiss at the corner instead of overlapping. */
.wmm-frame--lead {
  position: absolute; top: 0; left: 0;
  width: min(56%, 290px);
  transform: rotate(-3.2deg);
  animation: wmm-float-lead 7s ease-in-out infinite;
}
.wmm-frame--trail {
  position: absolute; right: 0; bottom: 0;
  width: min(42%, 218px);
  transform: rotate(4.5deg);
  animation: wmm-float-trail 8.5s ease-in-out infinite;
}

@keyframes wmm-float-lead {
  0%, 100% { transform: translateY(0) rotate(-3.2deg); }
  50%      { transform: translateY(-14px) rotate(-2deg); }
}
@keyframes wmm-float-trail {
  0%, 100% { transform: translateY(0) rotate(4.5deg); }
  50%      { transform: translateY(11px) rotate(3.2deg); }
}

.wmm-chip {
  position: absolute; display: inline-flex; align-items: center; gap: 7px;
  padding: 9px 15px; border-radius: 999px;
  background: #fff; box-shadow: var(--wmm-shadow-md);
  font-size: .84rem; font-weight: 800; color: var(--wmm-ink);
  white-space: nowrap;
}
.wmm-chip i, .wmm-chip svg { width: 15px; height: 15px; }
/* The chips sit in the two corners the frames leave empty */
.wmm-chip--a { top: 8px; right: 2px; color: var(--wmm-coral); animation: wmm-bob 4.6s ease-in-out infinite; }
.wmm-chip--b { bottom: 2px; left: 0; color: #2F9E96; animation: wmm-bob 5.4s ease-in-out .6s infinite; }
.wmm-chip--a i, .wmm-chip--a svg { color: var(--wmm-coral); }
.wmm-chip--b i, .wmm-chip--b svg { color: var(--wmm-mint); }

@keyframes wmm-bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-9px); } }

/* Warm "carpet edge" that closes the hero */
.wmm-hall__floorline {
  margin-top: 84px; height: 2px;
  background: repeating-linear-gradient(90deg, var(--wmm-sand) 0 16px, transparent 16px 30px);
  opacity: .55;
}

/* ==========================================================================
   02 · Play room (interactive board)
   ========================================================================== */
.wmm-play { position: relative; z-index: 1; padding: 88px 0; }

.wmm-play__layout {
  display: grid; grid-template-columns: minmax(0, 420px) minmax(0, 1fr);
  gap: 54px; align-items: start;
}

.wmm-board {
  padding: 20px; border-radius: 32px;
  background: linear-gradient(180deg, #FFF3E4, var(--wmm-carpet));
  border: 1px solid var(--wmm-line);
  box-shadow: var(--wmm-shadow-lg);
}
.wmm-board__bar {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 10px 16px; margin-bottom: 16px;
  border-radius: 999px; background: var(--wmm-mint); color: #fff;
  box-shadow: inset 0 -3px 0 rgba(0, 0, 0, .08);
}
.wmm-board__hearts { display: inline-flex; align-items: center; gap: 8px; font-family: 'Fredoka', sans-serif; font-size: 1.2rem; }
.wmm-board__hearts i, .wmm-board__hearts svg { width: 20px; height: 20px; fill: #fff; }
.wmm-board__level { font-size: .84rem; font-weight: 800; background: rgba(255, 255, 255, .24); padding: 4px 12px; border-radius: 999px; }

.wmm-board__grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px;
  padding: 16px; border-radius: 24px;
  background: rgba(255, 255, 255, .42);
}

/* Every cell is an empty paw mat until a cat lands on it */
.wmm-cell {
  position: relative; aspect-ratio: 1; border: 0; padding: 0;
  border-radius: 50%; cursor: pointer;
  background: var(--wmm-carpet);
  box-shadow: inset 0 3px 6px rgba(139, 96, 62, .18);
  display: grid; place-items: center;
  transition: transform .18s var(--wmm-ease), box-shadow .18s var(--wmm-ease), background-color .18s var(--wmm-ease);
}
.wmm-cell::before {
  /* paw imprint on empty mats */
  content: ""; width: 42%; height: 42%; border-radius: 50%;
  background:
    radial-gradient(circle at 22% 18%, rgba(197, 152, 106, .5) 22%, transparent 23%),
    radial-gradient(circle at 50% 10%, rgba(197, 152, 106, .5) 20%, transparent 21%),
    radial-gradient(circle at 78% 18%, rgba(197, 152, 106, .5) 22%, transparent 23%),
    radial-gradient(circle at 50% 66%, rgba(197, 152, 106, .45) 44%, transparent 45%);
  transition: opacity .18s linear;
}
.wmm-cell.is-filled::before { opacity: 0; }
.wmm-cell:hover { transform: translateY(-2px); }

.wmm-cell.is-filled {
  background: var(--cat, var(--wmm-peach));
  box-shadow: 0 8px 16px rgba(122, 78, 52, .2), inset 0 -4px 0 rgba(0, 0, 0, .08);
}
.wmm-cell.is-picked { box-shadow: 0 0 0 4px var(--wmm-coral), 0 8px 16px rgba(122, 78, 52, .22); transform: translateY(-3px); }

.wmm-cell__cat { width: 58%; height: 58%; color: rgba(74, 50, 39, .82); }
.wmm-cell__lv {
  position: absolute; right: -2px; bottom: -2px;
  min-width: 22px; padding: 1px 6px; border-radius: 999px;
  background: #fff; color: var(--wmm-ink);
  font-size: .72rem; font-weight: 800; line-height: 1.5;
  box-shadow: var(--wmm-shadow-sm);
}
.wmm-cell.is-new { animation: wmm-pop .34s var(--wmm-ease); }
.wmm-cell.is-merged { animation: wmm-merge .42s var(--wmm-ease); }

@keyframes wmm-pop   { from { transform: scale(.5); opacity: 0; } to { transform: none; opacity: 1; } }
@keyframes wmm-merge { 0% { transform: scale(1); } 45% { transform: scale(1.25) rotate(-6deg); } 100% { transform: none; } }

/* Floating "+hearts" that rises out of a merged mat */
.wmm-float {
  position: absolute; left: 50%; top: 6px; transform: translateX(-50%);
  font-family: 'Fredoka', sans-serif; font-size: .9rem; color: var(--wmm-coral);
  pointer-events: none; animation: wmm-rise .9s ease-out forwards;
}
@keyframes wmm-rise { to { transform: translate(-50%, -34px); opacity: 0; } }

.wmm-board__tools { display: flex; gap: 10px; margin-top: 18px; }
.wmm-board__tools .wmm-btn { flex: 1; justify-content: center; }
.wmm-board__hint { margin: 12px 4px 0; text-align: center; font-size: .88rem; color: var(--wmm-ink-soft); min-height: 1.6em; }

/* --- Ribbon of steps --- */
.wmm-steps { list-style: none; margin: 0; padding: 0 0 0 34px; position: relative; }
.wmm-steps::before {
  content: ""; position: absolute; left: 13px; top: 12px; bottom: 12px; width: 3px;
  background: repeating-linear-gradient(180deg, var(--wmm-sand) 0 8px, transparent 8px 18px);
}
.wmm-steps li { position: relative; padding: 0 0 34px; }
.wmm-steps li:last-child { padding-bottom: 0; }
.wmm-steps__dot {
  position: absolute; left: -34px; top: 0;
  width: 30px; height: 30px; display: grid; place-items: center;
  border-radius: 50%; background: var(--wmm-coral); color: #fff;
  font-family: 'Fredoka', sans-serif; font-size: .95rem;
  box-shadow: 0 6px 14px rgba(245, 128, 107, .35);
}
.wmm-steps h3 { font-size: 1.32rem; margin-bottom: 6px; }
.wmm-steps p { margin: 0; color: var(--wmm-ink-soft); max-width: 52ch; }

/* ==========================================================================
   03 · Merge chain (features as an ascending staircase)
   ========================================================================== */
.wmm-rooms { position: relative; z-index: 1; padding: 88px 0 100px; }

.wmm-chain { position: relative; display: grid; gap: 26px; }

.wmm-chain__card {
  position: relative;
  width: min(560px, 100%);
  padding: 30px 32px;
  border-radius: var(--wmm-radius);
  background: var(--wmm-card);
  border: 1px solid var(--wmm-line);
  box-shadow: var(--wmm-shadow-sm);
  transition: box-shadow .24s var(--wmm-ease), border-color .24s var(--wmm-ease), background-color .24s var(--wmm-ease);
}
.wmm-chain__card:hover { box-shadow: var(--wmm-shadow-md); border-color: var(--wmm-peach); }

/* The staircase: each card steps further right, echoing a rising merge chain */
.wmm-chain__card:nth-child(1) { margin-left: 0; }
.wmm-chain__card:nth-child(2) { margin-left: auto; margin-right: 6%; }
.wmm-chain__card:nth-child(3) { margin-left: 8%; }
.wmm-chain__card:nth-child(4) { margin-left: auto; margin-right: 0; }

.wmm-chain__icon {
  display: grid; place-items: center; width: 54px; height: 54px;
  border-radius: 18px; margin-bottom: 16px;
  background: linear-gradient(140deg, var(--wmm-wall), var(--wmm-blush));
  color: var(--wmm-ink);
  box-shadow: inset 0 -3px 0 rgba(0, 0, 0, .06);
}
.wmm-chain__icon i, .wmm-chain__icon svg { width: 26px; height: 26px; }
.wmm-chain__card:nth-child(2) .wmm-chain__icon { background: linear-gradient(140deg, #FFF0D6, var(--wmm-honey)); }
.wmm-chain__card:nth-child(3) .wmm-chain__icon { background: linear-gradient(140deg, #DFF6F3, var(--wmm-mint)); }
.wmm-chain__card:nth-child(4) .wmm-chain__icon { background: linear-gradient(140deg, #FFE7D6, var(--wmm-peach)); }

.wmm-chain__card h3 { font-size: 1.42rem; margin-bottom: 10px; }
.wmm-chain__card p { margin: 0 0 18px; color: var(--wmm-ink-soft); }
.wmm-chain__step {
  display: inline-block; padding: 5px 14px; border-radius: 999px;
  background: var(--wmm-carpet); font-size: .78rem; font-weight: 800; color: var(--wmm-ink-soft);
  letter-spacing: .05em;
}

/* Dotted trail linking one step to the next */
.wmm-chain__card:not(:last-child)::after {
  content: ""; position: absolute; bottom: -26px; height: 26px; width: 2px;
  right: 46px;
  background: repeating-linear-gradient(180deg, var(--wmm-sand) 0 5px, transparent 5px 11px);
}
.wmm-chain__card:nth-child(2)::after, .wmm-chain__card:nth-child(4)::after { right: auto; left: 46px; }

/* ==========================================================================
   04 · Gallery shelf
   ========================================================================== */
.wmm-gallery { position: relative; z-index: 1; padding: 78px 0 96px; }
.wmm-gallery__nav { display: flex; gap: 10px; }

.wmm-shelf {
  display: flex; gap: 26px;
  padding: 12px calc((100vw - min(1180px, 100vw - 44px)) / 2) 40px;
  overflow-x: auto; scroll-snap-type: x mandatory;
  scrollbar-width: none; cursor: grab;
}
.wmm-shelf::-webkit-scrollbar { display: none; }
.wmm-shelf.is-dragging { cursor: grabbing; scroll-snap-type: none; }

.wmm-shot {
  flex: 0 0 auto; width: 262px; margin: 0; scroll-snap-align: center;
  transition: transform .3s var(--wmm-ease);
}
.wmm-shot img {
  width: 100%; height: auto; aspect-ratio: 576 / 1024; object-fit: cover;
  border-radius: 28px; background: #fff;
  border: 8px solid #fff;
  box-shadow: var(--wmm-shadow-md);
  pointer-events: none; /* keeps the drag gesture clean */
}
.wmm-shot figcaption {
  margin-top: 14px; text-align: center; font-weight: 800; font-size: .9rem; color: var(--wmm-ink-soft);
}
.wmm-shot:nth-child(odd)  { transform: rotate(-1.6deg); }
.wmm-shot:nth-child(even) { transform: rotate(1.6deg) translateY(12px); }
.wmm-shot:hover { transform: rotate(0) translateY(-6px); }

/* ==========================================================================
   05 · Cat lounge (pinned notes)
   ========================================================================== */
.wmm-voices { position: relative; z-index: 1; padding: 20px 0 96px; }
.wmm-notes { display: grid; grid-template-columns: repeat(auto-fit, minmax(272px, 1fr)); gap: 30px; }

.wmm-note {
  position: relative; margin: 0; padding: 34px 28px 26px;
  border-radius: 8px 8px 22px 22px;
  background: linear-gradient(180deg, #FFFDF8, #FFF4E4);
  border: 1px solid var(--wmm-line);
  box-shadow: var(--wmm-shadow-sm);
  transition: transform .26s var(--wmm-ease), box-shadow .26s var(--wmm-ease);
}
.wmm-notes .wmm-note:nth-child(1) { transform: rotate(-1.8deg); }
.wmm-notes .wmm-note:nth-child(2) { transform: rotate(1.2deg); }
.wmm-notes .wmm-note:nth-child(3) { transform: rotate(-.8deg); }
.wmm-note:hover { transform: rotate(0) translateY(-6px); box-shadow: var(--wmm-shadow-md); }

.wmm-note__pin {
  position: absolute; top: -11px; left: 50%; transform: translateX(-50%);
  width: 22px; height: 22px; border-radius: 50%;
  background: radial-gradient(circle at 32% 28%, #fff 8%, var(--wmm-coral) 60%);
  box-shadow: 0 4px 8px rgba(122, 78, 52, .3);
}
.wmm-note__stars { display: flex; gap: 3px; margin-bottom: 12px; color: var(--wmm-honey); }
.wmm-note__stars i, .wmm-note__stars svg { width: 17px; height: 17px; fill: currentColor; }
.wmm-note p { margin: 0 0 16px; font-size: 1.02rem; color: var(--wmm-ink); }
.wmm-note cite { font-style: normal; font-size: .86rem; font-weight: 800; color: var(--wmm-ink-faint); }

/* ==========================================================================
   06 · Adoption ticket (download)
   ========================================================================== */
.wmm-adopt { position: relative; z-index: 1; padding: 20px 0 96px; }

.wmm-ticket {
  display: grid; grid-template-columns: minmax(0, 1fr) 250px;
  border-radius: 34px; overflow: hidden;
  background: linear-gradient(150deg, #FFF6E9, var(--wmm-wall));
  border: 1px solid var(--wmm-line);
  box-shadow: var(--wmm-shadow-lg);
}
.wmm-ticket__body { padding: 52px clamp(28px, 5vw, 58px); }
.wmm-ticket__body h2 { font-size: clamp(1.7rem, 3.2vw, 2.5rem); max-width: 18ch; }
.wmm-ticket__lede { margin: 16px 0 30px; color: var(--wmm-ink-soft); max-width: 50ch; font-size: 1.04rem; }
.wmm-ticket__cta { display: flex; flex-wrap: wrap; gap: 14px; }

/* Perforated stub, like a collar tag torn off a card */
.wmm-ticket__stub {
  position: relative;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px;
  padding: 40px 24px; text-align: center;
  background: rgba(255, 255, 255, .66);
  border-left: 3px dashed var(--wmm-sand);
}
.wmm-ticket__stub::before, .wmm-ticket__stub::after {
  content: ""; position: absolute; left: -14px; width: 26px; height: 26px;
  border-radius: 50%; background: var(--wmm-cream);
}
.wmm-ticket__stub::before { top: -13px; }
.wmm-ticket__stub::after  { bottom: -13px; }
.wmm-ticket__stub img { border-radius: 22px; box-shadow: var(--wmm-shadow-md); }
.wmm-ticket__stub strong { font-family: 'Fredoka', sans-serif; font-size: 1.06rem; }
.wmm-ticket__stub span { font-size: .84rem; color: var(--wmm-ink-faint); font-weight: 700; }
.wmm-ticket__rating { display: inline-flex; align-items: center; gap: 5px; color: var(--wmm-ink-soft) !important; }
.wmm-ticket__rating i, .wmm-ticket__rating svg { width: 15px; height: 15px; color: var(--wmm-honey); fill: var(--wmm-honey); }

/* ==========================================================================
   FAQ
   ========================================================================== */
.wmm-faq { position: relative; z-index: 1; padding: 20px 0 110px; }
.wmm-accordion { display: grid; gap: 14px; }

.wmm-acc {
  border-radius: 20px; background: var(--wmm-card);
  border: 1px solid var(--wmm-line); overflow: hidden;
  transition: border-color .22s var(--wmm-ease), box-shadow .22s var(--wmm-ease);
}
.wmm-acc.is-open { border-color: var(--wmm-peach); box-shadow: var(--wmm-shadow-sm); }

.wmm-acc__q {
  width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 18px;
  padding: 20px 24px; border: 0; background: transparent; cursor: pointer; text-align: left;
  font-family: 'Fredoka', sans-serif; font-size: 1.06rem; color: var(--wmm-ink);
  transition: background-color .2s var(--wmm-ease);
}
.wmm-acc__q:hover { background: var(--wmm-carpet); }
.wmm-acc__q i, .wmm-acc__q svg { width: 20px; height: 20px; flex: none; color: var(--wmm-peach); transition: transform .26s var(--wmm-ease); }
.wmm-acc.is-open .wmm-acc__q i, .wmm-acc.is-open .wmm-acc__q svg { transform: rotate(180deg); }

.wmm-acc__a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .3s var(--wmm-ease); }
.wmm-acc.is-open .wmm-acc__a { grid-template-rows: 1fr; }
.wmm-acc__a > p { overflow: hidden; margin: 0; padding: 0 24px; color: var(--wmm-ink-soft); }
.wmm-acc.is-open .wmm-acc__a > p { padding-bottom: 22px; }

/* ==========================================================================
   Footer
   ========================================================================== */
.wmm-foot { position: relative; z-index: 1; background: #FFF1E1; border-top: 1px solid var(--wmm-line); padding-top: 58px; }
.wmm-foot__grid { display: grid; grid-template-columns: minmax(0, 1.6fr) repeat(2, minmax(0, 1fr)); gap: 40px; padding-bottom: 44px; }
.wmm-foot__brand { display: flex; gap: 16px; align-items: flex-start; }
.wmm-foot__brand img { border-radius: 16px; box-shadow: var(--wmm-shadow-sm); }
.wmm-foot__brand strong { font-family: 'Fredoka', sans-serif; font-size: 1.1rem; }
.wmm-foot__brand p { margin: 6px 0 0; color: var(--wmm-ink-soft); max-width: 40ch; font-size: .95rem; }

.wmm-foot__links { display: flex; flex-direction: column; gap: 10px; }
.wmm-foot__links h3 { font-size: .8rem; letter-spacing: .18em; text-transform: uppercase; color: var(--wmm-peach); margin-bottom: 4px; }
.wmm-foot__links a {
  text-decoration: none; color: var(--wmm-ink-soft); font-weight: 700; font-size: .95rem;
  width: fit-content; transition: color .2s var(--wmm-ease);
}
.wmm-foot__links a:hover { color: var(--wmm-coral); text-decoration: underline; text-underline-offset: 4px; }

.wmm-foot__base {
  border-top: 1px dashed var(--wmm-sand);
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px;
  width: min(1180px, 100% - 44px); margin-inline: auto;
  padding: 22px 0 30px;
  font-size: .86rem; color: var(--wmm-ink-faint);
}
.wmm-foot__base p { margin: 0; }

/* ==========================================================================
   Modal
   ========================================================================== */
.wmm-modal { position: fixed; inset: 0; z-index: 200; display: grid; place-items: center; padding: 22px; }
.wmm-modal[hidden] { display: none; }
.wmm-modal__veil { position: absolute; inset: 0; background: rgba(74, 50, 39, .48); backdrop-filter: blur(4px); animation: wmm-fade .22s ease-out; }
.wmm-modal__card {
  position: relative; width: min(460px, 100%); text-align: center;
  padding: 44px 34px 36px; border-radius: 30px;
  background: linear-gradient(170deg, #FFFDF8, var(--wmm-wall));
  box-shadow: var(--wmm-shadow-lg);
  animation: wmm-pop-in .3s var(--wmm-ease);
}
.wmm-modal__x {
  position: absolute; top: 14px; right: 14px; width: 38px; height: 38px;
  display: grid; place-items: center; border: 0; border-radius: 50%;
  background: rgba(255, 255, 255, .8); color: var(--wmm-ink-soft); cursor: pointer;
  transition: background-color .2s var(--wmm-ease), color .2s var(--wmm-ease);
}
.wmm-modal__x:hover { background: var(--wmm-coral); color: #fff; }
.wmm-modal__icon {
  display: grid; place-items: center; width: 68px; height: 68px; margin: 0 auto 18px;
  border-radius: 24px; background: var(--wmm-coral); color: #fff;
  box-shadow: 0 12px 26px rgba(245, 128, 107, .38);
}
.wmm-modal__icon i, .wmm-modal__icon svg { width: 32px; height: 32px; }
.wmm-modal__card h2 { font-size: 1.85rem; margin-bottom: 12px; }
.wmm-modal__card p { margin: 0 0 26px; color: var(--wmm-ink-soft); }

@keyframes wmm-fade { from { opacity: 0; } to { opacity: 1; } }
@keyframes wmm-pop-in { from { opacity: 0; transform: translateY(18px) scale(.96); } to { opacity: 1; transform: none; } }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1080px) {
  .wmm-play__layout { grid-template-columns: 1fr; gap: 44px; }
  .wmm-board { max-width: 420px; }
  .wmm-chain__card { width: 100%; margin: 0 !important; }
  .wmm-chain__card::after { right: 46px !important; left: auto !important; }
}

@media (max-width: 900px) {
  html { scroll-padding-top: 92px; }

  .wmm-hall { padding-top: 138px; }
  .wmm-hall__grid { grid-template-columns: 1fr; gap: 48px; }
  /* Below the two-column breakpoint the frames simply sit side by side */
  .wmm-hall__art { min-height: 0; display: flex; justify-content: center; align-items: flex-end; gap: 16px; }
  .wmm-frame--lead { position: static; width: min(50vw, 256px); margin: 0; }
  .wmm-frame--trail { position: static; width: min(38vw, 196px); }
  .wmm-chip--a { top: 4px; right: auto; left: 2%; }
  .wmm-chip--b { bottom: -6px; left: 4%; }

  .wmm-ticket { grid-template-columns: 1fr; }
  .wmm-ticket__stub { border-left: 0; border-top: 3px dashed var(--wmm-sand); flex-direction: row; flex-wrap: wrap; padding: 26px; }
  .wmm-ticket__stub::before { top: -13px; left: -13px; }
  .wmm-ticket__stub::after { bottom: auto; top: -13px; left: auto; right: -13px; }

  .wmm-foot__grid { grid-template-columns: 1fr 1fr; }
  .wmm-foot__brand { grid-column: 1 / -1; }
}

@media (max-width: 760px) {
  /* Nav collapses into a drop-down sheet under the pill */
  .wmm-topbar__nav {
    position: absolute; top: calc(100% + 10px); left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 4px;
    padding: 12px; border-radius: 26px;
    background: rgba(255, 252, 247, .97);
    border: 1px solid var(--wmm-line);
    box-shadow: var(--wmm-shadow-lg);
    opacity: 0; visibility: hidden; transform: translateY(-10px);
    transition: opacity .22s var(--wmm-ease), transform .22s var(--wmm-ease), visibility .22s;
  }
  .wmm-topbar__nav.is-open { opacity: 1; visibility: visible; transform: none; }
  .wmm-topbar__nav a { padding: 13px 16px; font-size: 1rem; }

  .wmm-hamburger { display: flex; }
  .wmm-topbar__side .wmm-btn { display: none; }

  .wmm-hall__cta .wmm-btn, .wmm-ticket__cta .wmm-btn { flex: 1 1 100%; justify-content: center; }
  .wmm-stats > div { flex: 1 1 100%; }
  .wmm-board__tools { flex-direction: column; }
  .wmm-shot { width: 66vw; }
  .wmm-foot__grid { grid-template-columns: 1fr; gap: 30px; }
}

@media (max-width: 560px) {
  /* Not enough room left beside the frames for the floating chips */
  .wmm-chip { display: none; }
}

@media (max-width: 420px) {
  .wmm-wrap, .wmm-wrap--narrow, .wmm-hall__grid, .wmm-foot__base { width: calc(100% - 32px); }
  .wmm-logo__text small { display: none; }
  .wmm-board { padding: 14px; }
  .wmm-board__grid { gap: 9px; padding: 12px; }
}

/* Respect users who prefer less motion */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }
}
