/* =========================================================
   PAWS & PLAY — base (reset, type, layout primitives)
   ========================================================= */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
html, body { margin: 0; padding: 0; }
body {
  background: var(--cream);
  color: var(--ink);
  font-family: var(--font-ui);
  font-size: var(--fs-md);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  text-rendering: optimizeLegibility;
}
img, video, canvas, svg { display: block; max-width: 100%; }
img, video { height: auto; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; padding: 0; }
a { color: inherit; text-decoration-thickness: 2px; text-underline-offset: 3px; }
p { margin: 0 0 1em; }
h1, h2, h3, h4, h5 { font-family: var(--font-display); font-weight: 800; line-height: .98; letter-spacing: -.035em; margin: 0 0 .4em; font-variation-settings: "opsz" 96; }
h1 { font-size: var(--fs-4xl); }
h2 { font-size: var(--fs-3xl); }
h3 { font-size: var(--fs-2xl); line-height: 1.05; letter-spacing: -.025em; }
h4 { font-size: var(--fs-xl); line-height: 1.1; letter-spacing: -.02em; }
ul, ol { margin: 0; padding: 0; }
hr { border: 0; border-top: var(--border); margin: var(--s-6) 0; }
::selection { background: var(--sun); color: var(--ink); }

:focus { outline: none; }
:focus-visible {
  outline: 3px solid var(--ink);
  outline-offset: 3px;
  box-shadow: 0 0 0 6px var(--sun);
  border-radius: 8px;
}

.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: fixed; left: 16px; top: -60px; z-index: 9999; background: var(--ink); color: var(--cream); padding: 12px 18px; border-radius: var(--r-pill); font-weight: 700; text-decoration: none; transition: top .2s; }
.skip-link:focus { top: 16px; }

.wrap { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }
.wrap--narrow { max-width: 880px; }
.wrap--mid { max-width: 1120px; }
.stack > * + * { margin-top: var(--stack, var(--s-4)); }
.row { display: flex; align-items: center; gap: var(--s-3); }
.row--wrap { flex-wrap: wrap; }
.row--between { justify-content: space-between; }
.grow { flex: 1 1 auto; min-width: 0; }
.center { text-align: center; }
.muted { color: var(--ink-soft); }
.small { font-size: var(--fs-sm); }
.xsmall { font-size: var(--fs-xs); }
.nowrap { white-space: nowrap; }
.display { font-family: var(--font-display); font-weight: 800; letter-spacing: -.035em; line-height: .95; }
.eyebrow {
  display: inline-flex; width: max-content; max-width: 100%; justify-self: start; align-items: center; gap: 8px;
  font-family: var(--font-ui); font-weight: 700; font-size: var(--fs-sm);
  letter-spacing: .02em; text-transform: none;
  padding: 6px 14px 6px 8px; border: var(--border); border-radius: var(--r-pill);
  background: var(--paper); box-shadow: var(--sh-xs);
}
.eyebrow .dot { width: 22px; height: 22px; border-radius: 50%; background: var(--tomato); border: var(--border); display: grid; place-items: center; }
.eyebrow .dot svg { width: 12px; height: 12px; }
.lede { font-size: var(--fs-xl); line-height: 1.45; color: var(--ink-2); max-width: 46ch; }

/* Lenis */
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-smooth [data-lenis-prevent] { overscroll-behavior: contain; }
.lenis.lenis-stopped { overflow: hidden; }

/* Paw cursor trail */
.paw-trail { position: fixed; inset: 0; pointer-events: none; z-index: 9990; overflow: hidden; }
.paw-trail .pp { position: absolute; width: 18px; height: 18px; margin: -9px 0 0 -9px; color: var(--tomato); opacity: .9; will-change: transform, opacity; }
.paw-trail .pp svg { width: 100%; height: 100%; }

/* Page transition */
.pt-circle {
  position: fixed; z-index: 10000; border-radius: 50%; background: var(--tomato);
  pointer-events: none; transform: translate(-50%, -50%) scale(0); will-change: transform;
}
html.pt-in body::after {
  content: ""; position: fixed; inset: 0; background: var(--tomato); z-index: 10000; pointer-events: none;
}
.pt-cover { position: fixed; inset: 0; background: var(--tomato); z-index: 10000; pointer-events: none; }
.pt-cover svg { position: absolute; left: 50%; top: 50%; width: 64px; height: 64px; margin: -32px 0 0 -32px; color: var(--ink); }

/* Drawn SVG strokes */
.draw path, .draw line, .draw polyline, .draw circle { vector-effect: non-scaling-stroke; }

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  .paw-trail { display: none; }
}

/* Safety: never leave the transition cover stuck */
html.pt-in body::after { animation: ptSafe .3s 2.5s forwards; }
@keyframes ptSafe { to { opacity: 0; visibility: hidden; } }
[hidden] { display: none !important; }
