/* Walklets — walklets.com
   Type: Baloo 2 (display) + Nunito (text), the same pair as the Play Store panels.
   Colour: warm peach-to-pink wash, coral accent (the app icon colour), ink text, night panel for app screens. */

@font-face {
  font-family: "Baloo 2";
  src: url("fonts/baloo-2-latin-wght-normal.woff2") format("woff2");
  font-weight: 400 800;
  font-display: swap;
}
@font-face {
  font-family: "Nunito";
  src: url("fonts/nunito-latin-wght-normal.woff2") format("woff2");
  font-weight: 200 1000;
  font-display: swap;
}

:root {
  --ink: #15121f;
  --sub: #5b5668;
  --accent: #ff7f50;
  --accent-deep: #b8400f;
  --tint: #ffeadd;
  --tint-2: #ffd2bb;
  --hill: #ffb597;
  --hill-far: #ffd6c4;
  --pink: #fde0ee;
  --peach: #ffe7c4;
  --paper: #fffaf5;
  --night: #14111d;
  --night-2: #1e1a2b;
  --night-line: #2e2940;
  --night-text: #cfc8e2;
  --line: rgba(21, 18, 31, .12);

  /* theme-aware surfaces (light values; dark values below) */
  --surface: #fff;
  --em: #e2531f;
  --wash: linear-gradient(115deg, #fff3dc 0%, #fde0ee 46%, #ffe1d2 100%);
  --talk: linear-gradient(180deg, #fff3e2, #fde0ee);
  --btn-bg: #15121f;
  --btn-fg: #fff;
  --btn-hover: #000;
  --bar: rgba(255, 250, 245, .82);
  --tick: rgba(21, 18, 31, .22);
  --slab-ring: rgba(255, 255, 255, 0);
  --rule: #15121f;
  --glow-o: 1;
  --glow-w: min(70%, 420px);
  --panel-edge: transparent;
  /* never change with the theme */
  --slab: #15121f;
  --on-accent: #15121f;
  color-scheme: light;

  --head: "Baloo 2", "Nunito", system-ui, sans-serif;
  --body: "Nunito", system-ui, -apple-system, "Segoe UI", sans-serif;

  --gutter: clamp(20px, 5vw, 64px);
  --max: 1180px;
  --ease: cubic-bezier(.2, .8, .2, 1);
}

/* Dark theme: follows the device unless the visitor picks one (data-theme on <html>). */
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --ink: #fbf3ee;
    --sub: #c2b6bd;
    --accent-deep: #ff9d78;
    --tint: #2e1f20;
    --tint-2: #43302c;
    --paper: #16111a;
    --night: #0d0a11;
    --night-2: #19141f;
    --night-line: #2e2636;
    --line: rgba(255, 255, 255, .14);
    --surface: #211a26;
    --em: #ff7f50;
    --wash: radial-gradient(70% 80% at 80% 42%, rgba(255, 127, 80, .26), rgba(255, 127, 80, 0) 68%), radial-gradient(55% 70% at 4% 96%, rgba(255, 110, 170, .16), rgba(255, 110, 170, 0) 70%), linear-gradient(180deg, #1c141c, #16111a);
    --talk: radial-gradient(50% 70% at 74% 100%, rgba(255, 127, 80, .28), rgba(255, 127, 80, 0) 70%), linear-gradient(180deg, #16111a, #2a1722);
    --btn-bg: #ff7f50;
    --btn-fg: #15121f;
    --btn-hover: #ff9a73;
    --bar: rgba(22, 17, 26, .82);
    --tick: rgba(255, 255, 255, .3);
    --slab-ring: rgba(255, 255, 255, .16);
    --rule: rgba(255, 255, 255, .26);
    --glow-o: .62;
    --glow-w: min(92%, 560px);
    --panel-edge: rgba(255, 255, 255, .1);
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --ink: #fbf3ee;
  --sub: #c2b6bd;
  --accent-deep: #ff9d78;
  --tint: #2e1f20;
  --tint-2: #43302c;
  --paper: #16111a;
  --night: #0d0a11;
  --night-2: #19141f;
  --night-line: #2e2636;
  --line: rgba(255, 255, 255, .14);
  --surface: #211a26;
  --em: #ff7f50;
  --wash: radial-gradient(70% 80% at 80% 42%, rgba(255, 127, 80, .26), rgba(255, 127, 80, 0) 68%), radial-gradient(55% 70% at 4% 96%, rgba(255, 110, 170, .16), rgba(255, 110, 170, 0) 70%), linear-gradient(180deg, #1c141c, #16111a);
  --talk: radial-gradient(50% 70% at 74% 100%, rgba(255, 127, 80, .28), rgba(255, 127, 80, 0) 70%), linear-gradient(180deg, #16111a, #2a1722);
  --btn-bg: #ff7f50;
  --btn-fg: #15121f;
  --btn-hover: #ff9a73;
  --bar: rgba(22, 17, 26, .82);
  --tick: rgba(255, 255, 255, .3);
  --slab-ring: rgba(255, 255, 255, .16);
    --rule: rgba(255, 255, 255, .26);
    --glow-o: .62;
    --glow-w: min(92%, 560px);
    --panel-edge: rgba(255, 255, 255, .1);
  color-scheme: dark;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .cast__door { background: var(--cd, var(--c)); }
  :root:not([data-theme="light"]) .cast__door::after { background: rgba(0, 0, 0, .3); }
  :root:not([data-theme="light"]) { --btn-over-night: #ff7f50; }
}
:root[data-theme="dark"] .cast__door { background: var(--cd, var(--c)); }
:root[data-theme="dark"] .cast__door::after { background: rgba(0, 0, 0, .3); }
:root[data-theme="dark"] { --btn-over-night: #ff7f50; }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 88px; }
body {
  margin: 0;
  font-family: var(--body);
  font-size: 1.125rem;
  line-height: 1.6;
  font-weight: 500;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3, p, ol, ul, dl, dd, figure { margin: 0; }
ol, ul { padding: 0; list-style: none; }
button { font: inherit; color: inherit; cursor: pointer; }
:focus-visible { outline: 3px solid var(--accent-deep); outline-offset: 3px; border-radius: 6px; }
.night :focus-visible { outline-color: #fff; }
::selection { background: var(--accent); color: var(--on-accent); }

.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.wrap { width: min(100% - 2 * var(--gutter), var(--max)); margin-inline: auto; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--btn-bg); color: var(--btn-fg); padding: 10px 16px; border-radius: 999px; z-index: 100; }
.skip:focus { left: 8px; }

/* ---------- shared type ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 14px;
  font-weight: 800; font-size: .8125rem; letter-spacing: .22em; text-transform: uppercase;
  color: var(--accent-deep);
}
.eyebrow::before { content: ""; width: 28px; height: 3px; border-radius: 3px; background: var(--accent); }
.night .eyebrow { color: #ffa27f; }

.display {
  font-family: var(--head); font-weight: 800;
  font-size: clamp(2.5rem, 6.2vw, 4.75rem);
  line-height: .98; letter-spacing: -.01em;
  text-wrap: balance;
}
.lede { font-size: clamp(1.125rem, 1.6vw, 1.3125rem); color: var(--sub); max-width: 34em; text-wrap: pretty; }
.night .lede { color: var(--night-text); }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 12px;
  min-height: 56px; padding: 10px 26px 10px 20px;
  border-radius: 999px; border: 0;
  background: var(--btn-bg); color: var(--btn-fg); text-decoration: none;
  font-weight: 800; font-size: 1.0625rem; line-height: 1.1;
  box-shadow: 0 10px 24px -12px rgba(21, 18, 31, .7);
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .2s;
}
.btn:hover { transform: translateY(-2px); background: var(--btn-hover); box-shadow: 0 16px 30px -14px rgba(21, 18, 31, .8); }
.btn:active { transform: translateY(0) scale(.98); }
.btn svg { width: 22px; height: 22px; flex: none; }
.btn small { display: block; font-weight: 700; font-size: .6875rem; letter-spacing: .08em; text-transform: uppercase; opacity: .7; margin-bottom: 2px; }
.btn--light { background: #fff; color: var(--ink); }
.btn--light:hover { background: #fff; }
.btn--small { min-height: 44px; padding: 6px 18px; font-size: .9375rem; box-shadow: none; }

/* ---------- header ---------- */
.top {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  transition: background .3s, box-shadow .3s, backdrop-filter .3s;
}
.top.is-stuck { background: var(--bar); backdrop-filter: blur(14px) saturate(1.4); -webkit-backdrop-filter: blur(14px) saturate(1.4); box-shadow: 0 1px 0 var(--line); }
.top.is-dark:not(.is-open).is-stuck { background: rgba(20, 17, 29, .8); box-shadow: 0 1px 0 rgba(255, 255, 255, .1); }
.top.is-dark:not(.is-open) .brand, .top.is-dark:not(.is-open) .nav a { color: #fff; }
.top.is-dark:not(.is-open) .nav a:hover { background: rgba(255, 255, 255, .14); }
.top.is-dark:not(.is-open) .btn { background: var(--btn-over-night, #fff); color: var(--on-accent); }
.top.is-dark:not(.is-open) .menu { border-color: #fff; }
.top.is-dark:not(.is-open) .menu span, .top.is-dark:not(.is-open) .menu span::before { background: #fff; }
.brand, .nav a, .top .btn { transition: color .3s, background .3s; }
.top__in { display: flex; align-items: center; gap: 28px; height: 72px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-family: var(--head); font-weight: 800; font-size: 1.75rem; line-height: 1; letter-spacing: -.01em; }
.brand img { width: 36px; height: 36px; }
.nav { display: flex; gap: 6px; margin-left: auto; }
.nav a { padding: 10px 14px; border-radius: 999px; text-decoration: none; font-weight: 700; font-size: 1rem; transition: background .2s; }
.nav a:hover { background: rgba(255, 127, 80, .18); }
.nav a[aria-current="page"] { background: rgba(255, 127, 80, .22); color: var(--accent-deep); }
.theme { display: inline-grid; place-items: center; width: 40px; height: 40px; margin-left: 4px; padding: 0; border: 0; border-radius: 50%; background: transparent; color: inherit; transition: background .2s, transform .4s var(--ease); }
.theme:hover { background: rgba(255, 127, 80, .18); }
.theme svg { width: 22px; height: 22px; transition: transform .5s var(--ease); }
:root[data-theme="dark"] .theme svg { transform: rotate(180deg); }
.theme span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.top.is-dark:not(.is-open) .theme { color: #fff; }
.menu { display: none; }
@media (max-width: 760px) {
  .theme { display: flex; justify-content: space-between; align-items: center; width: 100%; height: auto; margin: 0; padding: 15px 2px 4px; border-radius: 0; font-family: var(--head); font-weight: 800; font-size: 1.5rem; line-height: 1.1; color: var(--ink); }
  .theme:hover { background: none; color: var(--accent-deep); }
  .theme span { position: static; width: auto; height: auto; overflow: visible; clip-path: none; order: -1; }
  .nav a:last-of-type { border-bottom: 1px solid var(--line); }
  .top__in { height: 64px; gap: 10px; }
  .top__in .btn { margin-left: auto; white-space: nowrap; padding: 6px 14px; font-size: .875rem; }
  .brand { font-size: 1.5rem; gap: 8px; }
  .brand img { width: 32px; height: 32px; }
  .menu { display: grid; place-items: center; flex: none; width: 44px; height: 44px; padding: 0; border-radius: 50%; border: 2px solid var(--ink); background: transparent; }
  .menu span, .menu span::before { display: block; width: 18px; height: 2.5px; border-radius: 2px; background: var(--ink); transition: transform .25s var(--ease); }
  .menu span { transform: translateY(-3.5px); }
  .menu span::before { content: ""; transform: translateY(7px); }
  .top.is-open .menu span { transform: rotate(45deg); }
  .top.is-open .menu span::before { transform: rotate(-90deg); }
  .top.is-open { background: var(--paper); box-shadow: 0 1px 0 var(--line); }
  .nav { display: none; position: absolute; inset: 100% 0 auto 0; margin: 0; flex-direction: column; gap: 0; padding: 4px var(--gutter) 22px; background: var(--paper); box-shadow: 0 30px 40px -30px rgba(21, 18, 31, .45); border-radius: 0 0 28px 28px; }
  .top.is-open .nav { display: flex; }
  .nav a { padding: 15px 2px; border-radius: 0; border-bottom: 1px solid var(--line); font-family: var(--head); font-weight: 800; font-size: 1.5rem; line-height: 1.1; }
  .nav a:last-child { border-bottom: 0; }
  .nav a:hover, .nav a[aria-current="page"] { background: none; color: var(--accent-deep); }
}

/* ---------- hero: the pet walks on the counter ---------- */
.hero {
  position: relative; overflow: hidden; isolation: isolate;
  min-height: min(100svh, 960px);
  padding: clamp(104px, 14vh, 150px) 0 clamp(48px, 8vh, 90px);
  display: grid; align-items: center;
  background: var(--wash);
}
.hero__in { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr); gap: 32px clamp(24px, 5vw, 72px); align-items: center; }
.hero h1 {
  margin-top: 22px;
  font-family: var(--head); font-weight: 800;
  font-size: clamp(3.25rem, min(8.6vw, 14.5vh), 7.75rem);
  line-height: .88; letter-spacing: -.02em;
}
.hero h1 em { font-style: normal; color: var(--em); }
.hero .lede { margin-top: clamp(20px, 3vw, 30px); max-width: 27em; }
.hero__cta { margin-top: clamp(24px, 3.4vw, 36px); display: flex; flex-wrap: wrap; align-items: center; gap: 16px 22px; }
.hero__facts { font-size: .9375rem; font-weight: 700; color: var(--sub); }
.hero__facts b { color: var(--ink); font-weight: 800; }

.tread { position: relative; justify-self: center; width: min(100%, 500px); padding-top: 9%; }
.tread::before { content: ""; position: absolute; z-index: -1; left: 50%; top: 0; width: 100%; aspect-ratio: 1; translate: -50% 0; border-radius: 50%; background: radial-gradient(circle at 35% 30%, #ffa27f, var(--accent) 70%); }
.tread__pet { position: relative; z-index: 2; display: block; height: clamp(190px, 25vw, 300px); width: auto; max-width: 80%; margin: 0 auto -3%; pointer-events: none; }
.odo { position: relative; z-index: 1; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: clamp(6px, 1.2vw, 10px); padding: clamp(10px, 1.8vw, 16px); border-radius: clamp(22px, 3vw, 34px); background: var(--slab); box-shadow: 0 34px 60px -30px rgba(21, 18, 31, .75), inset 0 1px 0 rgba(255, 255, 255, .12), 0 0 0 1px var(--slab-ring); }
.odo__d { position: relative; overflow: hidden; aspect-ratio: 3 / 4; border-radius: clamp(12px, 1.8vw, 20px); background: linear-gradient(180deg, #2b2639, #1d1929 48%, #15121f 52%, #262133); color: #fff; font-family: var(--head); font-weight: 800; font-size: clamp(3rem, 8.4vw, 6rem); line-height: 1; font-variant-numeric: tabular-nums; }
.odo__d:last-child { background: linear-gradient(180deg, #ffb597, var(--accent) 48%, #f06e3f 52%, #ff9068); color: var(--on-accent); }
.odo__d span { position: absolute; inset: 0; display: grid; place-items: center; padding-top: .08em; }
.odo__d::after { content: ""; position: absolute; inset: 50% 0 auto 0; height: 1px; background: rgba(0, 0, 0, .35); }
.tread__cap { margin-top: 14px; display: flex; justify-content: space-between; gap: 12px; font-size: .8125rem; font-weight: 800; letter-spacing: .2em; text-transform: uppercase; color: var(--ink); }
.tread__cap span:last-child { opacity: .7; }
@media (max-width: 900px) {
  .hero { min-height: 0; }
  .hero__in { grid-template-columns: 1fr; }
  .tread { width: min(100%, 400px); margin-top: 12px; }
}


/* ---------- pet clips ---------- */
video.pet { display: block; object-fit: contain; object-position: 50% 100%; background: none; }

/* ---------- the four companions ---------- */
.lineup { padding: clamp(72px, 10vw, 130px) 0 0; }
.lineup__head { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); gap: 20px 60px; align-items: end; }
.lineup__head .display { margin-top: 18px; }
.cast { margin-top: clamp(40px, 6vw, 72px); display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(14px, 2.4vw, 28px); }
.cast__pet { all: unset; box-sizing: border-box; cursor: pointer; display: block; width: 100%; text-align: center; -webkit-tap-highlight-color: transparent; }
.cast__door { position: relative; display: block; aspect-ratio: 4 / 5; border-radius: 999px 999px 30px 30px; background: var(--c); transition: transform .35s var(--ease), box-shadow .35s var(--ease); }
.cast__door::after { content: ""; position: absolute; left: 22%; right: 22%; bottom: 7%; height: 4%; border-radius: 50%; background: rgba(21, 18, 31, .14); }
.cast__door video { position: absolute; z-index: 1; left: 12%; bottom: 9%; width: 76%; height: 70%; transition: transform .35s var(--ease); }
.cast__pet:hover .cast__door { transform: translateY(-8px); box-shadow: 0 26px 40px -28px rgba(21, 18, 31, .6); }
.cast__pet:hover video { transform: scale(1.06); transform-origin: 50% 100%; }
.cast__pet:focus-visible .cast__door { outline: 3px solid var(--accent-deep); outline-offset: 4px; }
.cast__pet b { display: block; margin-top: 18px; font-family: var(--head); font-weight: 800; font-size: clamp(1.375rem, 2.4vw, 2rem); line-height: 1; }
.cast__kind { display: block; margin-top: 6px; color: var(--sub); font-size: .9375rem; font-weight: 700; }
.cast__tag { display: inline-block; margin-top: 10px; padding: 3px 12px; border-radius: 999px; border: 2px solid var(--ink); font-size: .75rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }
.cast__pet[aria-pressed="true"] .cast__tag { background: var(--ink); color: var(--paper); }
@media (max-width: 820px) {
  .lineup__head { grid-template-columns: 1fr; }
  .cast { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 34px; }
}

.picker { margin-top: 18px; display: flex; flex-wrap: wrap; gap: 8px; }
.picker button { padding: 8px 16px; min-height: 40px; border-radius: 999px; border: 2px solid var(--ink); background: transparent; font-weight: 800; font-size: .9375rem; line-height: 1; transition: background .2s, color .2s; }
.picker button:hover { background: var(--line); }
.picker button[aria-pressed="true"] { background: var(--ink); color: var(--paper); }

/* ---------- growth trail (scroll-driven) ---------- */
.trail { position: relative; height: 520vh; background: var(--paper); }
.trail__pin { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; display: grid; grid-template-rows: minmax(0, 1fr) auto; }
.trail__main { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); align-items: center; gap: 24px; padding-top: 84px; min-height: 0; }
.trail__copy h2 { display: none; margin-top: 16px; font-family: var(--head); font-weight: 800; font-size: clamp(1.5rem, 2.6vw, 2.125rem); line-height: 1.1; color: var(--sub); max-width: 18em; }
.count { margin-top: clamp(14px, 3vh, 34px); font-family: var(--head); font-weight: 800; font-size: clamp(3.75rem, 10.5vw, 8.5rem); line-height: .9; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.count small { display: block; margin-top: 8px; font-family: var(--body); font-size: .9375rem; font-weight: 800; letter-spacing: .22em; text-transform: uppercase; color: var(--sub); }
.stagetext { position: relative; margin-top: clamp(14px, 3vh, 30px); min-height: 9.5em; }
.stagetext li { position: absolute; inset: 0 0 auto 0; opacity: 0; transform: translateY(10px); transition: opacity .45s var(--ease), transform .45s var(--ease); }
.stagetext li.is-on { opacity: 1; transform: none; }
.stagetext .lv { display: inline-block; padding: 4px 14px; border-radius: 999px; background: var(--accent); color: var(--on-accent); font-weight: 800; font-size: .875rem; letter-spacing: .08em; }
.stagetext h3 { margin-top: 10px; font-family: var(--head); font-weight: 800; font-size: clamp(1.75rem, 3.6vw, 2.75rem); line-height: 1; }
.stagetext p { margin-top: 8px; color: var(--sub); max-width: 26em; }

.stagepets { position: relative; height: 100%; min-height: 0; }
.stagepets li { position: absolute; inset: 0; display: grid; place-items: end center; opacity: 0; transform: scale(.9) translateY(3%); transform-origin: 50% 90%; transition: opacity .5s var(--ease), transform .7s var(--ease); }
.stagepets li.is-on { opacity: 1; transform: none; }
.stagepets .pet { position: absolute; left: 0; bottom: 4%; width: 100%; height: calc(var(--s) * 92%); }
.stagepets::before { content: ""; position: absolute; left: 50%; bottom: 4%; width: var(--glow-w); aspect-ratio: 1; translate: -50% 0; border-radius: 50%; opacity: var(--glow-o); background: radial-gradient(closest-side, var(--glow, #ffe0ec), rgba(255, 250, 245, 0)); transition: background .4s; }

.rail { padding: 0 0 clamp(20px, 4vh, 40px); }
.ruler { position: relative; height: 100px; }
.ruler__track, .ruler__fill { position: absolute; left: 0; top: 14px; height: 6px; border-radius: 6px; }
.ruler__track { right: 0; background: var(--tint-2); }
.ruler__fill { width: 0; background: var(--accent); }
.ruler__tick { position: absolute; top: 28px; width: 2px; height: 8px; margin-left: -1px; border-radius: 2px; background: var(--tick); }
.ruler__tick.is-stage { height: 18px; width: 3px; background: var(--ink); }
.ruler__tick span { position: absolute; top: 26px; left: 50%; translate: -50% 0; display: grid; justify-items: center; gap: 4px; white-space: nowrap; }
.ruler__tick b { padding: 3px 9px; border-radius: 999px; font-size: .6875rem; font-weight: 800; line-height: 1.2; letter-spacing: .12em; text-transform: uppercase; color: var(--sub); box-shadow: inset 0 0 0 1.5px var(--tick); transition: background .3s var(--ease), color .3s var(--ease), box-shadow .3s var(--ease); }
.ruler__tick i { font-style: normal; font-family: var(--head); font-weight: 800; font-size: 1.125rem; line-height: 1; font-variant-numeric: tabular-nums; color: var(--sub); opacity: .75; transition: color .3s var(--ease), opacity .3s var(--ease); }
.ruler__tick small { font-family: var(--body); font-size: .75rem; font-weight: 700; letter-spacing: .02em; opacity: .8; }
@media (max-width: 900px) { .ruler__tick small { display: none; } }
.ruler__tick.is-done b { color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--ink); }
.ruler__tick.is-done i { color: var(--ink); opacity: 1; }
.ruler__tick.is-now b { background: var(--accent); color: var(--on-accent); box-shadow: none; }
.ruler__tick.is-first span { translate: 0 0; left: -1px; justify-items: start; }
.ruler__tick.is-last span { translate: -100% 0; left: 2px; justify-items: end; }
.ruler__me { position: absolute; top: 17px; width: 28px; height: 28px; margin: -14px 0 0 -14px; border-radius: 50%; background: var(--ink); border: 4px solid var(--paper); box-shadow: 0 6px 16px -4px rgba(21, 18, 31, .5); will-change: left; }
.ruler__note { position: absolute; right: 0; top: -22px; font-size: .75rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; color: var(--sub); }

@media (max-width: 820px) {
  .trail__main { grid-template-columns: 1fr; grid-template-rows: auto minmax(0, 1fr); align-items: start; gap: 0; padding-top: 76px; }
  .trail__copy h2 { display: none; }
  .count { margin-top: 10px; }
  .stagetext { min-height: 9.4em; margin-top: 12px; }
  .picker { flex-wrap: nowrap; gap: 6px; margin-top: 12px; }
  .picker button { padding: 6px 11px; min-height: 36px; font-size: .8125rem; }
  .trail .eyebrow { font-size: .6875rem; letter-spacing: .14em; }
  .stagepets { min-height: 180px; }
  .stagetext p { font-size: 1rem; line-height: 1.45; }
  .ruler { height: 84px; }
  .ruler__tick span { top: 24px; gap: 3px; }
  .ruler__tick b { padding: 2px 6px; font-size: .5625rem; letter-spacing: .06em; }
  .ruler__tick i { font-size: .875rem; }
  .ruler__note { display: none; }
}

/* ---------- inside the app (night) ---------- */
.night { background: var(--night); color: #fff; }
.inside { padding: clamp(80px, 11vw, 150px) 0 clamp(72px, 9vw, 120px); border-radius: 44px 44px 0 0; margin-top: -44px; position: relative; z-index: 2; box-shadow: 0 -1px 0 var(--panel-edge); }
.inside__head { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 24px 60px; align-items: end; }
.inside__head .display { margin-top: 18px; }
.tiles { margin-top: clamp(40px, 6vw, 72px); display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 20px; }
.tile { position: relative; overflow: hidden; border-radius: 32px; background: var(--night-2); border: 1px solid var(--night-line); padding: 30px 30px 0; display: flex; flex-direction: column; min-height: 520px; }
.tile h3 { font-family: var(--head); font-weight: 800; font-size: 1.75rem; line-height: 1.05; }
.tile p { margin-top: 8px; color: var(--night-text); font-size: 1.0625rem; max-width: 24em; }
.tile .tag { font-size: .75rem; font-weight: 800; letter-spacing: .2em; text-transform: uppercase; color: var(--tint, #ffa27f); margin-bottom: 10px; }
.phone { margin: 28px auto 0; width: min(100%, 300px); flex: 1; min-height: 300px; position: relative; }
.phone img { position: absolute; top: 0; left: 0; width: 100%; height: auto; border-radius: 34px 34px 0 0; border: 7px solid #0b0910; border-bottom: 0; box-shadow: 0 0 0 1px #3a3450, 0 -20px 60px -20px var(--glow, rgba(255, 127, 80, .5)); }
.tile--wide { grid-column: span 7; flex-direction: row; gap: 28px; padding: 36px 36px 0; }
.tile--wide > div { flex: 1; align-self: center; padding-bottom: 36px; }
.tile--wide h3 { font-size: clamp(2rem, 3.4vw, 2.75rem); }
.tile--wide .phone { margin: 0; flex: 0 0 min(46%, 300px); align-self: stretch; }
.tile--5 { grid-column: span 5; }
.tile--4 { grid-column: span 4; }
@media (max-width: 980px) {
  .inside__head { grid-template-columns: 1fr; }
  .tile--wide, .tile--5, .tile--4 { grid-column: span 6; }
  .tile--wide { flex-direction: column; gap: 0; padding: 30px 30px 0; }
  .tile--wide > div { padding-bottom: 0; align-self: auto; flex: none; }
  .tile--wide .phone { margin: 28px auto 0; flex: 1; width: min(100%, 300px); }
  .tiles > :last-child { grid-column: span 12; }
}
@media (max-width: 640px) {
  .tile--wide, .tile--5, .tile--4 { grid-column: span 12; }
  .tile { min-height: 480px; padding: 26px 24px 0; border-radius: 28px; }
  .inside { border-radius: 32px 32px 0 0; margin-top: -32px; }
}

.also { margin-top: clamp(56px, 8vw, 96px); display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 2fr); gap: 24px 60px; }
.also h3 { font-family: var(--head); font-weight: 800; font-size: 1.75rem; line-height: 1.1; }
.also dl { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 48px; }
.also dl > div { padding: 18px 0; border-top: 1px solid var(--night-line); }
.also dt { font-weight: 800; }
.also dd { color: var(--night-text); font-size: 1rem; }
@media (max-width: 820px) { .also, .also dl { grid-template-columns: 1fr; } }

/* ---------- it talks back ---------- */
.talk { background: var(--talk); padding: clamp(72px, 10vw, 130px) 0 0; overflow: hidden; }
.talk__in { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 20px 40px; align-items: end; }
.talk__copy { padding-bottom: clamp(48px, 8vw, 110px); }
.talk__copy .display { margin-top: 18px; }
.talk__copy .lede { margin-top: 20px; }
.talk__stage { position: relative; display: grid; justify-items: center; }
.bubble {
  position: relative; z-index: 2; max-width: 20em; margin-bottom: -4%; text-wrap: balance;
  padding: 20px 26px; border-radius: 28px; background: #fff; color: var(--on-accent);
  font-family: var(--head); font-weight: 700; font-size: clamp(1.25rem, 2.2vw, 1.625rem); line-height: 1.2;
  box-shadow: 0 20px 40px -24px rgba(255, 127, 80, .7);
}
.bubble::after { content: ""; position: absolute; left: 50%; bottom: -10px; width: 24px; height: 24px; background: #fff; border-radius: 6px; transform: translateX(-50%) rotate(45deg); }
.bubble.is-pop { animation: pop .45s var(--ease); }
@keyframes pop { from { transform: scale(.9) translateY(8px); opacity: .2; } to { transform: none; opacity: 1; } }
.poke video { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; }
.poke video.is-on { opacity: 1; }
.poke { all: unset; position: relative; cursor: pointer; display: block; width: min(100%, 400px); aspect-ratio: 1; border-radius: 40%; -webkit-tap-highlight-color: transparent; transition: transform .25s var(--ease); margin-bottom: -6%; }
.poke:active { transform: scale(.96); }
.poke:focus-visible { outline: 3px solid var(--accent-deep); outline-offset: -12px; }
.day { margin-top: 30px; max-width: 30em; padding: 22px 24px 20px; border-radius: 28px; background: var(--surface); box-shadow: 0 26px 50px -36px rgba(21, 18, 31, .55); }
.day__count { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 10px; font-weight: 800; color: var(--sub); }
.day__count b { font-family: var(--head); font-weight: 800; font-size: 2.75rem; line-height: 1; color: var(--ink); font-variant-numeric: tabular-nums; }
.day__bar { margin-top: 12px; height: 12px; border-radius: 999px; background: var(--line); overflow: hidden; }
.day__bar i { display: block; height: 100%; border-radius: inherit; background: var(--accent); transform-origin: 0 50%; transform: scaleX(var(--p, 0)); }
.day__acts { margin-top: 18px; display: flex; flex-wrap: wrap; gap: 10px; }
.day__acts button { min-height: 48px; padding: 10px 22px; border-radius: 999px; border: 2px solid var(--ink); background: transparent; font-weight: 800; font-size: 1rem; line-height: 1.1; transition: background .2s, color .2s, opacity .2s, transform .2s var(--ease); }
.day__acts button[data-day="walk"] { background: var(--ink); color: var(--paper); }
.day__acts button[data-day="rest"]:hover { background: var(--line); }
.day__acts button:active { transform: scale(.97); }
.day__acts button:disabled { opacity: .45; cursor: default; }
.day__acts button[hidden] { display: none; }
.day__note { margin-top: 14px; min-height: 2.9em; font-size: .9375rem; font-weight: 700; line-height: 1.45; color: var(--sub); }
.day.is-goal .day__note { color: var(--ink); }
@media (max-width: 480px) {
  .day { padding: 20px 18px 18px; }
  .day__acts { gap: 8px; }
  .day__acts button { padding: 10px 14px; font-size: .875rem; }
}
.talk__hint { margin-top: 22px; font-size: .9375rem; font-weight: 800; color: var(--sub); display: inline-flex; gap: 10px; align-items: center; }
.talk__hint kbd { font: inherit; padding: 2px 12px; border-radius: 999px; background: var(--surface); color: var(--ink); }
@media (max-width: 820px) {
  .talk__in { grid-template-columns: 1fr; }
  .talk__copy { padding-bottom: 12px; }
}

/* ---------- plain facts ---------- */
.facts { padding: clamp(80px, 11vw, 150px) 0; }
.facts ol { margin-top: 26px; }
.facts li { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 8px 60px; align-items: baseline; padding: clamp(18px, 2.6vw, 30px) 0; border-top: 2px solid var(--rule); }
.facts li:last-child { border-bottom: 2px solid var(--rule); }
.facts h3 { font-family: var(--head); font-weight: 800; font-size: clamp(2.5rem, 6.4vw, 5.25rem); line-height: .95; letter-spacing: -.02em; }
.facts h3 s { text-decoration-color: var(--accent); text-decoration-thickness: .1em; }
.facts p { color: var(--sub); max-width: 26em; }
@media (max-width: 820px) { .facts li { grid-template-columns: 1fr; } }

/* ---------- faq ---------- */
.faq { padding: 0 0 clamp(90px, 12vw, 160px); }
.faq__in { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.6fr); gap: 32px 60px; }
.faq .display { margin-top: 18px; font-size: clamp(2.25rem, 4.6vw, 3.5rem); }
.faq aside p { margin-top: 18px; color: var(--sub); }
.faq aside a { font-weight: 800; color: var(--accent-deep); }
details { border-top: 1px solid var(--line); }
details:last-child { border-bottom: 1px solid var(--line); }
summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 20px; align-items: center; padding: 22px 4px; font-family: var(--head); font-weight: 700; font-size: 1.375rem; line-height: 1.2; }
summary::-webkit-details-marker { display: none; }
summary::after { content: ""; flex: none; width: 14px; height: 14px; border-right: 3px solid var(--accent); border-bottom: 3px solid var(--accent); border-radius: 2px; transform: rotate(45deg) translate(-3px, -3px); transition: transform .3s var(--ease); }
details[open] summary::after { transform: rotate(-135deg) translate(-3px, -3px); }
details > div { padding: 0 4px 24px; color: var(--sub); max-width: 40em; }
details > div p + p { margin-top: 12px; }
details a { color: var(--accent-deep); font-weight: 700; }
@media (max-width: 820px) { .faq__in { grid-template-columns: 1fr; } }

/* ---------- dedication ---------- */
.faq { padding-bottom: clamp(64px, 8vw, 110px); }
.memory { padding: clamp(64px, 9vw, 120px) 0 clamp(88px, 12vw, 160px); text-align: center; border-top: 1px solid var(--line); }
.memory__mark { width: 40px; height: auto; margin: 0 auto; color: var(--accent); }
.memory__label { margin-top: 22px; font-size: .8125rem; font-weight: 800; letter-spacing: .22em; text-transform: uppercase; color: var(--sub); }
.memory h2 { margin-top: 14px; font-family: var(--head); font-weight: 700; font-size: clamp(2rem, 5vw, 3.5rem); line-height: 1.05; letter-spacing: -.01em; text-wrap: balance; }
.memory__line { margin: 18px auto 0; max-width: 30em; color: var(--sub); font-size: clamp(1.125rem, 1.6vw, 1.25rem); text-wrap: pretty; }
.memory__photo { width: min(60vw, 220px); aspect-ratio: 4 / 5; margin: 0 auto 30px; border-radius: 28px; overflow: hidden; box-shadow: 0 30px 50px -34px rgba(21, 18, 31, .6); }
.memory__photo img { width: 100%; height: 100%; object-fit: cover; }
.memory__photo + .memory__label { margin-top: 0; }
.memory__words { margin: 14px auto 0; max-width: 30em; font-size: clamp(1.125rem, 1.6vw, 1.25rem); text-wrap: pretty; }
/* Placeholders never reach visitors: hidden everywhere except on localhost (see theme.js). */
.is-placeholder { display: none; }
.is-local .is-placeholder { display: block; border: 2px dashed var(--accent); background: transparent; box-shadow: none; color: var(--sub); }
.is-local .memory__photo.is-placeholder { display: grid; place-items: center; font-weight: 800; line-height: 1.4; }
.is-local .memory__photo.is-placeholder small { font-weight: 700; font-size: .8125rem; }
.is-local .memory__words.is-placeholder { padding: 16px 20px; border-radius: 20px; font-style: italic; }
.is-local .memory:has(.memory__photo) .memory__mark { display: none; }

/* ---------- closing + footer ---------- */
.close { background: var(--accent); color: var(--on-accent); text-align: center; padding: clamp(72px, 10vw, 130px) 0 0; border-radius: 44px 44px 0 0; overflow: hidden; }
.close h2 { font-family: var(--head); font-weight: 800; font-size: clamp(3rem, 10vw, 8.5rem); line-height: .86; letter-spacing: -.02em; }
.close p { margin: 22px auto 0; max-width: 24em; font-weight: 700; font-size: 1.1875rem; }
.close .btn { margin-top: 30px; background: var(--slab); color: #fff; }
.close .btn:hover { background: #000; }
.close__cast { display: flex; justify-content: center; align-items: flex-end; gap: clamp(4px, 3vw, 44px); margin-top: clamp(36px, 5vw, 64px); padding-bottom: 44px; }
.close__cast img { width: auto; height: clamp(60px, 17vw, 250px); filter: drop-shadow(0 18px 14px rgba(21, 18, 31, .25)); }
.close__cast img:nth-child(1), .close__cast img:nth-child(2) { height: clamp(66px, 18.5vw, 270px); }
.foot { margin-top: -44px; border-radius: 44px 44px 0 0; position: relative; box-shadow: 0 -1px 0 var(--panel-edge); }

.foot { background: var(--night); color: #fff; padding: 44px 0 40px; }
.foot__in { display: flex; flex-wrap: wrap; gap: 24px 48px; align-items: flex-start; justify-content: space-between; }
.foot .brand { color: #fff; }
.foot p { margin-top: 10px; color: #ffe1d4; font-size: .9375rem; max-width: 26em; }
.foot nav { display: flex; flex-wrap: wrap; gap: 6px 28px; font-weight: 700; }
.foot nav a { text-decoration: none; padding: 6px 0; }
.foot nav a:hover { text-decoration: underline; text-underline-offset: 4px; }
.foot .foot__memory { max-width: none; margin-top: 34px; padding-top: 20px; border-top: 1px solid rgba(255, 255, 255, .2); font-size: .9375rem; font-weight: 700; color: #fff; }
.foot__memory a { text-decoration: none; }
.foot__memory a:hover { text-decoration: underline; text-underline-offset: 4px; }
.foot .foot__legal { max-width: none; margin-top: 8px; font-size: .8125rem; color: #ffd2bb; }

/* ---------- document pages (privacy, terms, support) ---------- */
.dochead { padding: clamp(120px, 16vw, 170px) 0 clamp(36px, 5vw, 60px); background: var(--wash); }
.dochead h1 { margin-top: 18px; font-family: var(--head); font-weight: 800; font-size: clamp(2.75rem, 8vw, 5.5rem); line-height: .92; letter-spacing: -.02em; }
.dochead p { margin-top: 18px; color: var(--sub); font-weight: 700; }
.doc { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: 40px 72px; padding-block: clamp(40px, 6vw, 72px) clamp(72px, 10vw, 120px); }
.doc__toc { position: sticky; top: 100px; align-self: start; font-size: .9375rem; max-height: calc(100vh - 130px); overflow: auto; }
.doc__toc b { display: block; font-size: .75rem; letter-spacing: .2em; text-transform: uppercase; color: var(--sub); margin-bottom: 10px; }
.doc__toc a { display: block; padding: 5px 0 5px 14px; border-left: 2px solid var(--line); text-decoration: none; color: var(--sub); font-weight: 700; line-height: 1.35; }
.doc__toc a:hover { color: var(--ink); border-color: var(--accent); }
.doc__body { max-width: 44em; min-width: 0; }
.doc__body h2 { margin-top: 2.2em; font-family: var(--head); font-weight: 800; font-size: clamp(1.625rem, 3vw, 2.125rem); line-height: 1.1; scroll-margin-top: 96px; }
.doc__body h3 { margin-top: 1.6em; font-weight: 800; font-size: 1.1875rem; }
.doc__body p, .doc__body ul, .doc__body ol { margin-top: .9em; }
.doc__body ul { list-style: none; }
.doc__body ul li { position: relative; padding-left: 1.4em; margin-top: .45em; }
.doc__body ul li::before { content: ""; position: absolute; left: .2em; top: .62em; width: 7px; height: 7px; border-radius: 50%; background: var(--accent); }
.doc__body ol { list-style: decimal; padding-left: 1.4em; }
.doc__body ol li { margin-top: .45em; padding-left: .3em; }
.doc__body code { font-size: .9em; padding: 2px 6px; border-radius: 6px; background: var(--tint); overflow-wrap: anywhere; }
.doc__body a { color: var(--accent-deep); font-weight: 700; text-underline-offset: 3px; overflow-wrap: anywhere; }
.short { padding: 26px 28px; border-radius: 28px; background: var(--tint); }
.short h2 { margin-top: 0; }
.short ul li::before { background: var(--ink); }
.tablewrap { margin-top: 1.2em; overflow-x: auto; border: 1px solid var(--line); border-radius: 18px; }
table { border-collapse: collapse; width: 100%; min-width: 600px; font-size: .9375rem; line-height: 1.45; }
th, td { text-align: left; vertical-align: top; padding: 12px 16px; border-bottom: 1px solid var(--line); }
th { font-size: .75rem; letter-spacing: .14em; text-transform: uppercase; color: var(--sub); background: var(--surface); }
tr:last-child td { border-bottom: 0; }
.cards { margin-top: 1.4em; display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; }
.cards a { display: block; padding: 22px 24px; border-radius: 24px; background: var(--surface); border: 1px solid var(--line); text-decoration: none; color: var(--ink); transition: transform .25s var(--ease), border-color .2s; }
.cards a:hover { transform: translateY(-3px); border-color: var(--accent); }
.cards b { display: block; font-family: var(--head); font-size: 1.375rem; line-height: 1.15; }
.cards span { display: block; margin-top: 4px; color: var(--sub); font-weight: 500; font-size: 1rem; }
@media (max-width: 900px) {
  .doc { grid-template-columns: 1fr; }
  .doc__toc { position: static; max-height: none; padding: 18px 20px; border-radius: 20px; background: var(--surface); border: 1px solid var(--line); }
}

/* ---------- 404 ---------- */
.lost { min-height: 100svh; display: grid; place-items: center; text-align: center; padding: 110px var(--gutter) 60px; background: var(--wash); }
.lost h1 { font-family: var(--head); font-weight: 800; font-size: clamp(3rem, 10vw, 7rem); line-height: .9; letter-spacing: -.02em; }
.lost p { margin: 16px auto 28px; color: var(--sub); max-width: 24em; }
.lost .pet { width: min(60vw, 260px); height: min(60vw, 260px); margin: 0 auto 6px; }

/* ---------- motion preferences ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

/* Per-item colours and sizes. Kept here, not in style attributes, so the security policy can forbid inline styles. */
.cast__pet[data-pick="snugglecorn"] { --c: #ffd3e4; --cd: #5c2443; }
.cast__pet[data-pick="opaline"] { --c: #d9d2ff; --cd: #3b3476; }
.cast__pet[data-pick="sirius"] { --c: #cfe3ff; --cd: #2f558f; }
.cast__pet[data-pick="ember"] { --c: #ffd9a8; --cd: #7c401c; }
.stagepets li[data-size="1"] { --s: .62; }
.stagepets li[data-size="2"] { --s: .72; }
.stagepets li[data-size="3"] { --s: .82; }
.stagepets li[data-size="4"] { --s: .92; }
.stagepets li[data-size="5"] { --s: 1; }
.tile[data-hue="coral"] { --glow: rgba(255,127,80,.5); --tint: #ffa27f; }
.tile[data-hue="pink"] { --glow: rgba(255,120,190,.42); --tint: #ff9ec7; }
.tile[data-hue="blue"] { --glow: rgba(120,140,255,.45); --tint: #9fb2ff; }
.tile[data-hue="lime"] { --glow: rgba(190,240,60,.35); --tint: #c8f04a; }
.tile[data-hue="gold"] { --glow: rgba(240,190,70,.4); --tint: #f3cd6a; }
