/* =========================================================================
   Scout's Rescue — site styles
   Palette sampled from the logo: charcoal ink, two greens, warm paper.
   ========================================================================= */

@font-face { font-family: "Fraunces"; src: url("../assets/fonts/fraunces-normal.woff2") format("woff2"); font-weight: 100 900; font-style: normal; font-display: swap; }
@font-face { font-family: "Fraunces"; src: url("../assets/fonts/fraunces-italic.woff2") format("woff2"); font-weight: 100 900; font-style: italic; font-display: swap; }
@font-face { font-family: "Figtree"; src: url("../assets/fonts/figtree-normal.woff2") format("woff2"); font-weight: 300 900; font-style: normal; font-display: swap; }
@font-face { font-family: "Figtree"; src: url("../assets/fonts/figtree-italic.woff2") format("woff2"); font-weight: 300 900; font-style: italic; font-display: swap; }
@font-face { font-family: "Caveat"; src: url("../assets/fonts/caveat-normal.woff2") format("woff2"); font-weight: 400 700; font-style: normal; font-display: swap; }

:root {
  --paper: #f6f3ea;
  --paper-2: #ede8d8;
  --card: #fffdf8;
  --ink: #262624;
  --ink-2: #4a4843;
  --ink-3: #6e6b63;
  --moss: #8aad3a;
  --moss-deep: #6f8f27;
  --sprout: #a9bf55;
  --leaf: #56751a;
  --lime: #dbe8a3;
  --pen: #27459a;
  --line: rgba(38, 38, 36, .14);
  --shadow-1: 0 1px 2px rgba(38, 38, 36, .06), 0 6px 18px -6px rgba(38, 38, 36, .12);
  --shadow-2: 0 2px 6px rgba(38, 38, 36, .06), 0 24px 48px -18px rgba(38, 38, 36, .28);
  --radius: 22px;
  --wrap: 1200px;
  --gutter: clamp(20px, 4.5vw, 56px);
  --nav-h: 76px;
  --serif: "Fraunces", "Iowan Old Style", "Palatino Linotype", Georgia, serif;
  --sans: "Figtree", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --hand: "Caveat", "Bradley Hand", "Segoe Print", cursive;
  --mono: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --ease-spring: cubic-bezier(.34, 1.56, .64, 1);
  interpolate-size: allow-keywords;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-h) + 12px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  position: relative;
  background: var(--paper);
  color: var(--ink);
  font: 400 1.0625rem/1.65 var(--sans);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}
/* faint paper grain */
body::before {
  content: ""; position: fixed; inset: 0; z-index: 100; pointer-events: none; opacity: .32; mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .15 0 0 0 0 .15 0 0 0 0 .13 0 0 0 .09 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
img, svg { display: block; max-width: 100%; }
[hidden] { display: none !important; }
a { color: inherit; }
button { font: inherit; color: inherit; }
address { font-style: normal; }
h1, h2, h3 { margin: 0; font-weight: 500; }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }
::selection { background: var(--lime); color: var(--ink); }
:focus-visible { outline: 3px solid var(--moss); outline-offset: 3px; border-radius: 6px; }

.wrap { width: 100%; max-width: calc(var(--wrap) + 2 * var(--gutter)); margin-inline: auto; padding-inline: var(--gutter); }
.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; }
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.skip { position: fixed; left: 16px; top: -60px; z-index: 200; background: var(--ink); color: var(--paper); padding: .6em 1em; border-radius: 10px; text-decoration: none; transition: top .2s; }
.skip:focus { top: 16px; }
.muted { color: var(--ink-3); }

/* ---------- type ---------- */
.eyebrow, .kicker, .tag {
  font: 650 .78rem/1.2 var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--leaf); margin: 0 0 1.1rem;
}
.eyebrow { display: inline-flex; align-items: center; gap: .6em; color: var(--ink-2); }
.eyebrow .dot { width: .6em; height: .6em; border-radius: 50%; background: var(--moss); box-shadow: 0 0 0 0 rgba(138, 173, 58, .6); animation: ping 2.4s var(--ease-out) infinite; }
@keyframes ping { 70%, 100% { box-shadow: 0 0 0 .7em rgba(138, 173, 58, 0); } }
.h2 {
  font: 480 clamp(2.2rem, 4.6vw, 3.9rem)/1.02 var(--serif);
  font-variation-settings: "opsz" 144, "SOFT" 60, "WONK" 0;
  letter-spacing: -.02em; margin-bottom: 1.4rem; text-wrap: balance;
}
.h2 em, .hero__title em { font-style: italic; font-variation-settings: "opsz" 144, "SOFT" 100, "WONK" 1; color: var(--leaf); }
.h3 { font: 600 1.45rem/1.2 var(--serif); font-variation-settings: "opsz" 48, "SOFT" 50; letter-spacing: -.01em; margin-bottom: .6rem; }
.link {
  display: inline-flex; align-items: center; gap: .35em; padding: 0; border: 0; background: none; cursor: pointer;
  font-weight: 650; color: var(--leaf); text-decoration: underline; text-decoration-thickness: 1.5px; text-underline-offset: .22em;
  transition: color .2s, text-underline-offset .2s;
}
.link:hover { color: var(--ink); text-underline-offset: .32em; }

/* ---------- buttons ---------- */
.btn {
  --s: 1;
  position: relative; isolation: isolate; overflow: hidden;
  display: inline-flex; align-items: center; gap: .9em;
  padding: .95em 1.05em .95em 1.6em; border-radius: 999px; border: 1.5px solid var(--ink);
  font: 650 1rem/1 var(--sans); text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: color .35s var(--ease-out), background-color .35s, transform .35s var(--ease-spring);
}
.btn:active { transform: scale(.97); }
.btn__arrow {
  display: grid; place-items: center; width: 1.9em; height: 1.9em; border-radius: 50%;
  font-size: .95em; transition: transform .45s var(--ease-out);
}
.btn--primary { background: var(--ink); color: var(--paper); }
.btn--primary::before {
  content: ""; position: absolute; z-index: -1; right: calc(1.05em - 1px); top: 50%;
  width: 1.9em; height: 1.9em; margin-top: -.95em; border-radius: 50%; background: var(--moss);
  transform: scale(var(--s)); transition: transform .6s var(--ease-out);
}
.btn--primary:hover { --s: 14; color: var(--ink); }
.btn--primary:hover .btn__arrow { transform: translateX(3px) rotate(-8deg); }
.btn--ghost { padding: .95em 1.6em; background: transparent; color: var(--ink); }
.btn--ghost:hover { background: rgba(38, 38, 36, .06); }
.btn--sm { font-size: .92rem; padding: .7em .7em .7em 1.25em; }

/* ---------- nav ---------- */
.nav { position: sticky; top: 0; z-index: 60; transition: background-color .3s, box-shadow .3s, backdrop-filter .3s; }
.nav[data-scrolled] { background: rgba(246, 243, 234, .82); backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px); box-shadow: 0 1px 0 var(--line); }
.nav__inner { height: var(--nav-h); display: flex; align-items: center; gap: 2rem; }
.brand { display: inline-flex; align-items: center; gap: .7rem; text-decoration: none; margin-right: auto; }
.brand__badge { width: 44px; height: 44px; border-radius: 50%; box-shadow: 0 0 0 1px var(--line), 0 4px 10px -4px rgba(0,0,0,.2); background: #fff; transition: transform .6s var(--ease-spring); }
.brand:hover .brand__badge { transform: rotate(-14deg) scale(1.06); }
.brand__name { font: 600 1.28rem/1 var(--serif); font-variation-settings: "opsz" 48, "SOFT" 80; letter-spacing: -.01em; }
.brand__name span { color: var(--leaf); font-style: italic; }
.nav__links { display: flex; gap: 1.8rem; }
.nav__links a { position: relative; text-decoration: none; font-weight: 550; font-size: .97rem; color: var(--ink-2); padding: .4em 0; }
.nav__links a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; border-radius: 2px; background: var(--moss); transform: scaleX(0); transform-origin: right; transition: transform .45s var(--ease-out); }
.nav__links a:hover, .nav__links a[aria-current="true"] { color: var(--ink); }
.nav__links a:hover::after, .nav__links a[aria-current="true"]::after { transform: scaleX(1); transform-origin: left; }
.nav__toggle { display: none; width: 44px; height: 44px; border: 0; background: none; cursor: pointer; border-radius: 12px; }
.nav__burger, .nav__burger::before, .nav__burger::after { display: block; width: 22px; height: 2px; border-radius: 2px; background: var(--ink); transition: transform .35s var(--ease-out), opacity .2s; }
.nav__burger { position: relative; margin: auto; }
.nav__burger::before, .nav__burger::after { content: ""; position: absolute; left: 0; }
.nav__burger::before { top: -7px; } .nav__burger::after { top: 7px; }
.nav__toggle[aria-expanded="true"] .nav__burger { background: transparent; }
.nav__toggle[aria-expanded="true"] .nav__burger::before { transform: translateY(7px) rotate(45deg); }
.nav__toggle[aria-expanded="true"] .nav__burger::after { transform: translateY(-7px) rotate(-45deg); }
.mobile-menu[hidden] { display: none; }
.mobile-menu { display: grid; padding: .5rem var(--gutter) 1.4rem; background: rgba(246, 243, 234, .97); border-bottom: 1px solid var(--line); }
.mobile-menu a { padding: .8rem 0; font: 500 1.5rem/1.1 var(--serif); text-decoration: none; border-bottom: 1px solid var(--line); }
@media (max-width: 880px) {
  .nav__links { display: none; }
  .nav__toggle { display: block; }
  .nav__inner { gap: .6rem; }
}
@media (max-width: 420px) { .nav__cta { display: none; } }

/* ---------- thread (the line that runs down the page) ---------- */
.thread { position: absolute; left: 0; top: 0; width: 100%; height: 0; z-index: 1; pointer-events: none; overflow: visible; }
.thread__path { fill: none; stroke: var(--ink); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; opacity: .8; }
.thread__tip { fill: var(--moss); stroke: var(--paper); stroke-width: 2.5; }
.thread[hidden] { display: none; }
main > section > .wrap, main > section > .hero__inner, .foot > .wrap { position: relative; z-index: 2; }

/* ---------- reveal ---------- */
.js .reveal { opacity: 0; transform: translateY(26px); transition: opacity 1s var(--ease-out), transform 1s var(--ease-out); transition-delay: var(--rd, 0s); }
.js .reveal.is-in { opacity: 1; transform: none; }

/* =========================================================================
   HERO
   ========================================================================= */
.hero { position: relative; padding: clamp(24px, 4vw, 56px) 0 clamp(56px, 7vw, 110px); overflow: hidden; }
.hero__inner { display: grid; grid-template-columns: minmax(0, 1.02fr) minmax(0, 1fr); align-items: center; gap: clamp(24px, 4vw, 64px); min-height: min(760px, calc(100svh - var(--nav-h) - 60px)); }
.hero__title {
  font: 440 clamp(3rem, 7.2vw, 6.4rem)/.96 var(--serif);
  font-variation-settings: "opsz" 144, "SOFT" 40, "WONK" 0;
  letter-spacing: -.035em; margin: 0 0 1.6rem;
}
.hero__title .line { display: block; overflow: hidden; padding-bottom: .08em; margin-bottom: -.08em; }
.hero__title .line > span { display: inline-block; }
.js .hero__title .line > span { transform: translateY(110%); transition: transform 1.1s var(--ease-out); transition-delay: calc(.12s + var(--i, 0) * .09s); }
.js .is-loaded .hero__title .line > span, .js.is-loaded .hero__title .line > span { transform: none; }
.hero__title .line:nth-child(2) > span { --i: 1; } .hero__title .line:nth-child(3) > span { --i: 2; } .hero__title .line:nth-child(4) > span { --i: 3; }
.hero__title em { position: relative; padding-right: .06em; }
.hero__title em::after {
  content: ""; position: absolute; left: -.02em; right: .1em; bottom: -.02em; height: .2em;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 20' preserveAspectRatio='none'%3E%3Cpath d='M3 13C40 5 90 4 197 9' fill='none' stroke='%23a9bf55' stroke-width='6' stroke-linecap='round'/%3E%3C/svg%3E") no-repeat left center / 100% 100%;
  clip-path: inset(0 100% 0 0); transition: clip-path .9s var(--ease-out) 1.3s; z-index: -1;
}
.js.is-loaded .hero__title em::after { clip-path: inset(0 0 0 0); }
.no-js .hero__title em::after { clip-path: none; }
.hero__lede { font-size: clamp(1.08rem, 1.5vw, 1.28rem); color: var(--ink-2); max-width: 34em; margin-bottom: 2rem; }
.hero__lede strong { color: var(--ink); font-weight: 650; }
.hero__actions { display: flex; flex-wrap: wrap; gap: .8rem; margin-bottom: 1.4rem; }
.hero__fine { font-size: .88rem; color: var(--ink-3); letter-spacing: .02em; }
.hero .reveal { --rd: .55s; }
.hero .hero__actions.reveal { --rd: .7s; }
.hero .hero__fine.reveal { --rd: .8s; }

.hero__art { position: relative; aspect-ratio: 1; width: 100%; max-width: 660px; justify-self: center; }
.hero__disc { position: absolute; inset: 3.57%; border-radius: 50%; background: var(--card); box-shadow: inset 0 0 0 1px rgba(38,38,36,.05), 0 30px 80px -40px rgba(38, 38, 36, .35); }
.hero__disc::before {
  content: ""; position: absolute; inset: -9% -6% 6% 10%; z-index: -1; border-radius: 42% 58% 55% 45% / 48% 42% 58% 52%;
  background: var(--moss); transform: rotate(-8deg);
  animation: blob 18s ease-in-out infinite alternate;
}
@keyframes blob { to { border-radius: 55% 45% 40% 60% / 40% 58% 42% 60%; transform: rotate(4deg) scale(1.03); } }
.dog { position: relative; width: 100%; height: 100%; overflow: visible; cursor: pointer; -webkit-tap-highlight-color: transparent; }
.dog-arc { fill: none; stroke: var(--ink); stroke-width: 7; stroke-linecap: round; stroke-dasharray: 1 1.02; stroke-dashoffset: 1.01; }
.js.is-loaded .dog-arc { animation: draw 1.5s var(--ease-out) .25s forwards; }
.no-js .dog-arc { stroke-dashoffset: 0; }
.dog-arc-end { fill: none; }
#dog-lines path, .dog use { fill: var(--ink); }
.pen { fill: none; stroke: #fff; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 1 1.04; stroke-dashoffset: 1.02; }
.pen.rev { stroke-dashoffset: -1.02; }
.js.is-loaded .pen { animation: draw var(--t) cubic-bezier(.55, .1, .35, 1) var(--d) forwards; }
.no-js .pen { stroke-dashoffset: 0; }
@keyframes draw { to { stroke-dashoffset: 0; } }
.spot { fill: var(--ink); transform-box: fill-box; transform-origin: center; }
.js .dog .spot { transform: scale(0); }
.js.is-loaded .dog .spot { animation: pop .55s var(--ease-spring) forwards; animation-delay: calc(2.75s + var(--i) * .07s); }
@keyframes pop { to { transform: scale(1); } }

.bubble {
  position: absolute; left: 63%; top: 26%; z-index: 5; pointer-events: none;
  padding: .3em .8em .4em; border-radius: 1.2em 1.2em 1.2em .2em; background: var(--ink); color: var(--paper);
  font: 700 clamp(1.4rem, 2.4vw, 2rem)/1 var(--hand); white-space: nowrap;
  opacity: 0; transform: translateY(10px) scale(.6) rotate(-6deg); transform-origin: 0 100%;
  transition: opacity .25s, transform .45s var(--ease-spring);
}
.bubble.is-on { opacity: 1; transform: none; }
.hero__hint {
  position: absolute; right: 31%; top: 82%; margin: 0; display: flex; align-items: flex-start; gap: .1rem;
  font: 600 clamp(1.25rem, 2vw, 1.6rem)/1 var(--hand); color: var(--ink-2); transform: rotate(-4deg);
  opacity: 0; transition: opacity .6s;
}
.hero__hint svg { fill: none; stroke: var(--ink-2); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.hero__hint.is-on { opacity: 1; }
.ball {
  position: absolute; left: 0; top: 0; z-index: 20; width: clamp(44px, 4.2vw, 60px); aspect-ratio: 1; padding: 0; border: 0; border-radius: 50%;
  background: none; cursor: grab; touch-action: none; opacity: 0; will-change: transform;
  filter: drop-shadow(0 8px 10px rgba(38, 38, 36, .25));
}
.ball svg { width: 100%; height: 100%; }
.ball.is-ready { opacity: 1; transition: opacity .4s; }
.ball:active { cursor: grabbing; }
.no-js .ball { display: none; }

@media (max-width: 860px) {
  .hero__inner { grid-template-columns: 1fr; min-height: 0; }
  .hero__art { max-width: 520px; order: 2; margin-top: 8px; }
}

/* =========================================================================
   FACTS
   ========================================================================= */
.facts { background: var(--ink); color: var(--paper); position: relative; z-index: 2; }
.facts__list { list-style: none; margin: 0 auto; display: flex; flex-wrap: wrap; justify-content: space-between; gap: .8rem 2rem; padding-block: 1.25rem; }
.facts li { font-size: .92rem; letter-spacing: .04em; color: rgba(246, 243, 234, .78); }
.facts li::before { content: ""; display: inline-block; width: .5em; height: .5em; margin-right: .7em; border-radius: 50%; background: var(--sprout); vertical-align: .08em; }
.facts b { color: var(--paper); font-weight: 650; }

/* =========================================================================
   MISSION
   ========================================================================= */
section[data-section]:not(.hero) { padding-block: clamp(80px, 11vw, 150px); }
.mission__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 5vw, 80px); align-items: center; }
.mission__copy p:not(.kicker) { font-size: 1.12rem; color: var(--ink-2); max-width: 32em; }
.mission__copy strong { color: var(--ink); }
.plate {
  margin: 0; padding: clamp(14px, 2vw, 26px); border-radius: var(--radius); background-color: var(--card);
  background-image: linear-gradient(rgba(86, 117, 26, .07) 1px, transparent 1px), linear-gradient(90deg, rgba(86, 117, 26, .07) 1px, transparent 1px);
  background-size: 28px 28px; box-shadow: var(--shadow-1), inset 0 0 0 1px var(--line);
}
.plate__svg { width: 100%; height: auto; overflow: visible; }
.plate__grid path { stroke: var(--ink); stroke-width: 3; stroke-dasharray: 2 14; stroke-linecap: round; opacity: .35; }
.plate__dog use { fill: var(--ink); }
.note__line { fill: none; stroke: var(--leaf); stroke-width: 3.5; stroke-linecap: round; stroke-dasharray: 1 1.02; stroke-dashoffset: 1.01; }
.note__dot { fill: var(--card); stroke: var(--leaf); stroke-width: 4; transform-box: fill-box; transform-origin: center; transform: scale(0); }
.note text { font: 700 46px var(--hand); fill: var(--leaf); opacity: 0; }
.plate.is-in .note__dot { animation: pop .5s var(--ease-spring) forwards; animation-delay: calc(.5s + var(--n) * .28s); }
.plate.is-in .note__line { animation: draw .7s var(--ease-out) forwards; animation-delay: calc(.62s + var(--n) * .28s); }
.plate.is-in .note text { animation: fade .6s ease forwards; animation-delay: calc(.95s + var(--n) * .28s); }
.no-js .note__line { stroke-dashoffset: 0; } .no-js .note__dot { transform: none; } .no-js .note text { opacity: 1; }
@keyframes fade { to { opacity: 1; } }
.plate figcaption { margin-top: .6rem; font-size: .9rem; color: var(--ink-3); }
.plate .fig { font-weight: 700; letter-spacing: .12em; text-transform: uppercase; font-size: .75rem; color: var(--leaf); margin-right: .6em; }
.statement { margin: clamp(56px, 8vw, 110px) 0 0; padding: 0; max-width: 980px; }
.statement p { font: 400 clamp(1.6rem, 3.1vw, 2.6rem)/1.25 var(--serif); font-variation-settings: "opsz" 72, "SOFT" 50; letter-spacing: -.015em; text-wrap: pretty; }
.statement mark {
  color: inherit; background: linear-gradient(transparent 58%, var(--lime) 58%, var(--lime) 92%, transparent 92%) no-repeat;
  background-size: 0% 100%; transition: background-size 1.4s var(--ease-out) .5s;
}
.statement.is-in mark, .no-js .statement mark { background-size: 100% 100%; }
@media (max-width: 900px) { .mission__grid { grid-template-columns: 1fr; } }

/* =========================================================================
   WHERE
   ========================================================================= */
.where { background: var(--paper-2); }
.section-head { max-width: 760px; margin-bottom: clamp(36px, 5vw, 64px); }
.section-head--center { margin-inline: auto; text-align: center; }
.duo { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(20px, 3vw, 40px); }
.card { display: flex; flex-direction: column; background: var(--card); border-radius: calc(var(--radius) + 6px); box-shadow: var(--shadow-1); overflow: hidden; transition: transform .6s var(--ease-out), box-shadow .6s var(--ease-out); }
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-2); }
.card--working.reveal { --rd: .12s; }
.card__media { position: relative; aspect-ratio: 5 / 4; overflow: hidden; background: var(--paper-2); }
.card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease-out); }
.card--waiting .card__media img { object-position: 50% 40%; }
.card--working .card__media img { object-position: 30% 50%; }
.card:hover .card__media img { transform: scale(1.04); }
.card__body { padding: clamp(22px, 3vw, 36px); }
.card__body > p:not(.tag) { color: var(--ink-2); }
.ticks { list-style: none; padding: 0; margin: 1.2rem 0 0; display: flex; flex-wrap: wrap; gap: .5rem; }
.ticks li { font-size: .88rem; font-weight: 600; padding: .38em .85em .38em .7em; border-radius: 999px; background: rgba(138, 173, 58, .14); color: var(--leaf); display: inline-flex; align-items: center; gap: .45em; }
.ticks li::before { content: ""; width: .5em; height: .5em; border-radius: 50%; background: var(--moss); }

.kennel {
  position: absolute; left: 6%; bottom: 7%; width: min(56%, 250px); padding: .9rem 1rem 1rem; border-radius: 6px;
  background: #fdfbf3; color: var(--ink); box-shadow: 0 16px 30px -12px rgba(0, 0, 0, .45); transform: rotate(-4deg);
  font-size: .82rem; transition: transform .6s var(--ease-spring);
}
.kennel::before { content: ""; position: absolute; top: -9px; left: 50%; width: 46px; height: 18px; margin-left: -23px; border-radius: 4px; background: rgba(169, 191, 85, .75); transform: rotate(3deg); }
.card:hover .kennel { transform: rotate(-1deg) translateY(-4px); }
.kennel__head { display: flex; justify-content: space-between; padding-bottom: .45rem; margin-bottom: .45rem; border-bottom: 2px solid var(--moss); font-weight: 750; letter-spacing: .12em; text-transform: uppercase; font-size: .66rem; }
.kennel dl { margin: 0; display: grid; gap: .2rem; }
.kennel dl div { display: flex; gap: .6em; align-items: baseline; border-bottom: 1px dashed var(--line); padding-bottom: .15rem; }
.kennel dt { font-size: .66rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-3); min-width: 4.4em; }
.kennel dd { margin: 0; font: 700 1.3rem/1.05 var(--hand); color: var(--pen); }
.kennel__status { position: relative; }
.kennel__status::after { content: ""; position: absolute; left: -2px; right: -4px; top: 55%; height: 2px; background: var(--pen); transform: scaleX(0); transform-origin: left; transition: transform .4s ease 1.1s; }
.kennel__stamp {
  position: absolute; right: 5%; bottom: 5%; padding: .15em .45em; border: 3px solid var(--moss-deep); border-radius: 6px;
  font: 800 1.15rem/1 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--moss-deep);
  opacity: 0; transform: rotate(-14deg) scale(2.2); mix-blend-mode: multiply;
  -webkit-mask: radial-gradient(circle at 30% 40%, #000 60%, rgba(0,0,0,.7) 61%, #000 75%); mask: radial-gradient(circle at 30% 40%, #000 60%, rgba(0,0,0,.7) 61%, #000 75%);
}
.card.is-in .kennel__stamp, .no-js .kennel__stamp { animation: stamp .45s cubic-bezier(.5, 0, .75, 0) 1s forwards; }
.card.is-in .kennel__status::after { transform: scaleX(1); }
@keyframes stamp { 70% { opacity: .95; transform: rotate(-14deg) scale(.92); } 100% { opacity: .9; transform: rotate(-14deg) scale(1); } }

.route {
  position: absolute; right: 5%; bottom: 7%; width: min(64%, 300px); padding: .8rem .9rem .5rem; border-radius: 10px;
  background: rgba(255, 253, 248, .96); box-shadow: 0 16px 30px -12px rgba(0, 0, 0, .45); transform: rotate(2.5deg);
  transition: transform .6s var(--ease-spring);
}
.card:hover .route { transform: rotate(0) translateY(-4px); }
.route__head { display: flex; justify-content: space-between; font-weight: 750; letter-spacing: .12em; text-transform: uppercase; font-size: .62rem; color: var(--ink-3); margin-bottom: .2rem; }
.route__head span:last-child { color: var(--leaf); }
.route svg { width: 100%; height: auto; overflow: visible; }
.route__road { fill: none; stroke: var(--paper-2); stroke-width: 14; stroke-linecap: round; }
.route__walk { fill: none; stroke: var(--moss); stroke-width: 4; stroke-linecap: round; stroke-dasharray: 1 1.02; stroke-dashoffset: 1.01; }
.card.is-in .route__walk { animation: walk 5.5s linear infinite; }
@keyframes walk { 0% { stroke-dashoffset: 1.01; } 85%, 100% { stroke-dashoffset: 0; } }
.route__obstacle { fill: #fdfbf3; stroke: var(--ink-3); stroke-width: 2; stroke-linejoin: round; }
.route__start { fill: var(--ink); }
.route__end { fill: var(--card); stroke: var(--moss); stroke-width: 4; }
.route__dog { fill: var(--ink); stroke: var(--card); stroke-width: 3; }
@media (max-width: 860px) { .duo { grid-template-columns: 1fr; } }

/* =========================================================================
   HOW
   ========================================================================= */
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(24px, 4vw, 56px); position: relative; }
.steps::before { /* the leash between the steps */
  content: ""; position: absolute; top: 70px; left: 16%; right: 16%; height: 40px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 600 40' preserveAspectRatio='none'%3E%3Cpath d='M0 20C100 -6 200 46 300 20S500 -6 600 20' fill='none' stroke='%2356751a' stroke-width='2.5' stroke-dasharray='2 9' stroke-linecap='round' vector-effect='non-scaling-stroke'/%3E%3C/svg%3E") no-repeat center / 100% 100%;
}
.step { position: relative; text-align: center; }
.step:nth-child(2) { --rd: .12s; } .step:nth-child(3) { --rd: .24s; }
.step__icon { position: relative; width: 140px; height: 140px; margin: 0 auto 1.4rem; display: grid; place-items: center; border-radius: 50%; background: var(--card); box-shadow: var(--shadow-1), inset 0 0 0 1px var(--line); transition: transform .6s var(--ease-spring); }
.step:hover .step__icon { transform: translateY(-6px) rotate(-4deg); }
.step__icon svg { width: 62%; height: 62%; fill: none; stroke: var(--ink); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; overflow: visible; }
.step__icon .heart { fill: var(--sprout); stroke: var(--ink); transform-box: fill-box; transform-origin: center; animation: beat 1.6s ease-in-out infinite; }
@keyframes beat { 0%, 60%, 100% { transform: scale(1); } 15% { transform: scale(1.2); } 30% { transform: scale(.95); } 45% { transform: scale(1.1); } }
.step__icon--badge svg { width: 84%; height: 84%; }
.step__icon--badge use, .stamp use { fill: var(--ink); stroke: var(--ink); stroke-width: 200px; stroke-linejoin: round; }
.step__icon .bone { stroke: var(--moss); stroke-width: 5; }
.step__n { position: absolute; top: 4px; left: calc(50% + 40px); width: 2.2rem; height: 2.2rem; display: grid; place-items: center; border-radius: 50%; background: var(--moss); color: var(--ink); font: 700 1rem/1 var(--sans); box-shadow: 0 0 0 5px var(--paper); }
.step p { color: var(--ink-2); max-width: 22em; margin-inline: auto; }
@media (max-width: 860px) { .steps { grid-template-columns: 1fr; } .steps::before { display: none; } }

/* =========================================================================
   PACK (photo table)
   ========================================================================= */
.pack { background: var(--moss); color: var(--ink); overflow: hidden; }
.pack__head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: .5rem 2rem; }
.pack .h2 { margin-bottom: .4rem; }
.pack .h2 em { color: var(--card); }
.pack__note { font: 600 1.6rem/1 var(--hand); color: var(--ink); transform: rotate(-2deg); }
.pack__note--narrow { display: none; }
@media (max-width: 720px) { .pack__note--wide { display: none; } .pack__note--narrow { display: inline; } }
.table { position: relative; z-index: 2; height: clamp(460px, 48vw, 640px); max-width: 1500px; margin: 2rem auto 0; }
.polaroid {
  position: absolute; left: var(--x); top: var(--y); width: clamp(180px, 17vw, 250px); margin: 0; padding: 10px 10px 0;
  background: #fffef9; border-radius: 3px; box-shadow: 0 2px 3px rgba(0, 0, 0, .12), 0 22px 36px -18px rgba(0, 0, 0, .55);
  transform: translate(var(--dx, 0px), var(--dy, 0px)) rotate(var(--r)) scale(var(--sc, 1));
  cursor: grab; touch-action: none; user-select: none; -webkit-user-select: none; transition: box-shadow .3s, scale .3s;
}
.polaroid img { width: 100%; aspect-ratio: 1; object-fit: cover; pointer-events: none; background: var(--paper-2); }
.polaroid figcaption { font: 700 1.55rem/1 var(--hand); color: var(--ink-2); text-align: center; padding: .55rem 0 .7rem; }
.polaroid.is-dragging { cursor: grabbing; --sc: 1.05; box-shadow: 0 4px 8px rgba(0, 0, 0, .12), 0 40px 60px -20px rgba(0, 0, 0, .55); }
.js .polaroid { opacity: 0; translate: 0 40px; transition: opacity .8s var(--ease-out), translate .9s var(--ease-out), box-shadow .3s; transition-delay: calc(var(--k, 0) * 70ms); }
.js .table.is-in .polaroid { opacity: 1; translate: 0 0; }
.pack__credit { position: relative; z-index: 3; margin-top: 1.6rem; font-size: .82rem; color: rgba(38, 38, 36, .72); text-align: right; }
@media (max-width: 720px) {
  .table { height: auto; display: flex; gap: 18px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 18px var(--gutter) 28px; margin-top: 1rem; }
  .polaroid { position: relative; left: auto; top: auto; flex: 0 0 64%; scroll-snap-align: center; touch-action: auto; cursor: default; }
}

/* =========================================================================
   GIVE
   ========================================================================= */
.give__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(36px, 6vw, 96px); align-items: start; }
.give__copy > p { color: var(--ink-2); font-size: 1.1rem; }
.amounts { border: 0; padding: 0; margin: 1.6rem 0 2rem; display: flex; flex-wrap: wrap; gap: .55rem; }
.amounts label { position: relative; cursor: pointer; }
.amounts input[type="radio"] { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.amounts label:not(.amounts__other) > span:not(.sr-only) { display: inline-block; padding: .7em 1.15em; border-radius: 999px; border: 1.5px solid var(--line); background: var(--card); font-weight: 700; transition: background-color .25s, color .25s, border-color .25s, transform .35s var(--ease-spring); }
.amounts label:not(.amounts__other):hover > span { border-color: var(--ink); }
.amounts label:not(.amounts__other) > input:checked + span { background: var(--ink); color: var(--paper); border-color: var(--ink); transform: translateY(-2px); }
.amounts label:not(.amounts__other) > input:focus-visible + span { outline: 3px solid var(--moss); outline-offset: 2px; }
.amounts__other { display: inline-flex; align-items: center; gap: .1em; padding: 0 1em; border-radius: 999px; border: 1.5px solid var(--line); background: var(--card); font-weight: 700; }
.amounts__other:focus-within { border-color: var(--ink); box-shadow: 0 0 0 3px rgba(138, 173, 58, .4); }
.amounts__other.is-active { border-color: var(--ink); }
.amounts__other input { width: 5.2em; border: 0; background: none; padding: .7em 0; font: inherit; color: var(--ink); outline: none; }
.howto { list-style: none; padding: 0; margin: 0 0 2rem; display: grid; gap: 1.1rem; }
.howto li { display: grid; grid-template-columns: 2.2rem 1fr; gap: .9rem; align-items: start; }
.howto__n { width: 2.2rem; height: 2.2rem; display: grid; place-items: center; border-radius: 50%; background: var(--lime); color: var(--leaf); font-weight: 750; }
.howto li > div { padding-top: .2rem; }
.addr { margin: .55rem 0 .7rem; font: 500 1.3rem/1.35 var(--serif); font-variation-settings: "opsz" 36; }
.copy {
  display: inline-flex; align-items: center; gap: .45em; padding: .45em .9em; border-radius: 999px; border: 1.5px solid var(--ink);
  background: transparent; font-size: .88rem; font-weight: 700; cursor: pointer; transition: background-color .2s, color .2s, transform .35s var(--ease-spring);
}
.copy::before { content: ""; width: .95em; height: .95em; background: currentColor; -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='8' y='8' width='13' height='13' rx='2.5'/%3E%3Cpath d='M16 8V5.5A2.5 2.5 0 0 0 13.5 3h-8A2.5 2.5 0 0 0 3 5.5v8A2.5 2.5 0 0 0 5.5 16H8'/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='8' y='8' width='13' height='13' rx='2.5'/%3E%3Cpath d='M16 8V5.5A2.5 2.5 0 0 0 13.5 3h-8A2.5 2.5 0 0 0 3 5.5v8A2.5 2.5 0 0 0 5.5 16H8'/%3E%3C/svg%3E") center / contain no-repeat; }
.copy:hover { background: var(--ink); color: var(--paper); }
.copy.is-copied { background: var(--moss); border-color: var(--moss); color: var(--ink); transform: scale(1.05); }
.copy--sm { font-size: .8rem; padding: .35em .75em; margin-left: .4em; vertical-align: middle; }
.link.is-copied { color: var(--ink); }
.taxbox { padding: 1.2rem 1.4rem; border-radius: 16px; background: var(--card); box-shadow: inset 0 0 0 1px var(--line); margin-bottom: 1.2rem; font-size: .98rem; color: var(--ink-2); }
.taxbox strong, .match strong { color: var(--ink); }
.match { font-size: .98rem; color: var(--ink-2); padding-left: 1rem; border-left: 3px solid var(--sprout); }
.online { margin-top: 1.4rem; display: flex; align-items: center; flex-wrap: wrap; gap: .8rem; font-weight: 600; }

/* envelope + check illustration (all sizes in em so it scales as one) */
.give__art { position: sticky; top: calc(var(--nav-h) + 24px); }
.envelope { position: relative; width: 31em; max-width: 100%; height: 30em; margin-inline: auto; font-size: clamp(10px, 1.32vw, 17px); }
.envelope__back, .envelope__front { position: absolute; left: 0; right: 0; bottom: 0; height: 17em; border-radius: .7em; }
.envelope__back { background: #e6dfca; box-shadow: var(--shadow-1); }
.envelope__back::before { content: ""; position: absolute; left: 0; right: 0; bottom: 100%; height: 7em; background: #ddd5bd; clip-path: polygon(0 100%, 50% 0, 100% 100%); border-radius: .7em .7em 0 0; transform-origin: bottom; transform: scaleY(.15); transition: transform .9s var(--ease-out) .1s; }
.give__art.is-in .envelope__back::before, .no-js .envelope__back::before { transform: scaleY(1); }
.check {
  position: absolute; left: 1.2em; right: 1.2em; top: 9em; height: 14.5em; padding: 1em 1.2em; border-radius: .5em;
  color: var(--ink); font-size: 1em; line-height: 1.2; box-shadow: 0 1px 2px rgba(0,0,0,.08), 0 12px 24px -10px rgba(0,0,0,.25);
  background:
    repeating-linear-gradient(115deg, rgba(138, 173, 58, .07) 0 2px, transparent 2px 9px),
    repeating-linear-gradient(65deg, rgba(138, 173, 58, .06) 0 2px, transparent 2px 9px),
    linear-gradient(#f4f8e6, #eef4d9);
  display: grid; grid-template-rows: auto 1fr 1fr 1fr auto; gap: .2em;
  transition: transform 1.1s var(--ease-out) .5s;
}
.give__art.is-in .check, .no-js .check { transform: translateY(-8em); }
.give__art.is-in .envelope:hover .check { transform: translateY(-8.6em) rotate(-1deg); transition-delay: 0s; transition-duration: .5s; }
.check__top { display: flex; justify-content: space-between; font-size: .7em; letter-spacing: .14em; text-transform: uppercase; font-weight: 700; color: var(--ink-3); }
.check__bank { color: var(--leaf); }
.check__row { display: flex; align-items: flex-end; gap: .6em; border-bottom: 1px solid rgba(38, 38, 36, .4); padding-bottom: .15em; }
.check__label { font-size: .58em; letter-spacing: .1em; text-transform: uppercase; font-weight: 700; color: var(--ink-3); line-height: 1.15; flex: none; }
.check__hand { font: 700 1.75em/1 var(--hand); color: var(--pen); }
.check__payee { flex: 1; }
.check__box { display: inline-flex; align-items: baseline; gap: .2em; padding: .1em .45em; border: 1.5px solid rgba(38, 38, 36, .5); border-radius: .3em; background: rgba(255,255,255,.6); font-weight: 700; color: var(--ink-3); flex: none; }
.check__box .check__hand { display: block; font-size: 1.6em; width: 3.4em; text-align: right; white-space: nowrap; overflow: hidden; }
.check__words { flex: 1; min-width: 0; font-size: 1.5em; white-space: nowrap; overflow: hidden; }
.check__row--memo { border-bottom: 0; }
.check__row--memo > .check__hand { flex: 1; border-bottom: 1px solid rgba(38, 38, 36, .4); font-size: 1.45em; }
.check__sig { flex: 0 0 34%; border-bottom: 1px solid rgba(38, 38, 36, .4); font-size: .55em; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-3); text-align: right; padding-top: 2.2em; }
.check__micr { font: 600 .66em/1 var(--mono); letter-spacing: .18em; color: var(--ink-2); padding-top: .4em; }
.check__hand.is-writing { animation: write .5s ease; }
@keyframes write { from { clip-path: inset(0 100% 0 0); } to { clip-path: inset(0 0 0 0); } }
.envelope__front {
  z-index: 3; background: #f8f3e3; box-shadow: 0 1px 0 rgba(255,255,255,.7) inset, 0 20px 40px -18px rgba(38, 38, 36, .35);
  padding: 1.3em 1.5em; display: grid; grid-template-columns: 1fr auto; grid-template-rows: auto 1fr;
  background-image: linear-gradient(160deg, transparent 49.6%, rgba(38,38,36,.07) 50%, transparent 50.4%), linear-gradient(20deg, transparent 49.6%, rgba(38,38,36,.07) 50%, transparent 50.4%);
}
.envelope__from { display: grid; font-size: .72em; letter-spacing: .12em; text-transform: uppercase; font-weight: 700; color: var(--ink-3); align-self: start; }
.envelope__from .hand { font: 700 1.9em/1 var(--hand); letter-spacing: 0; text-transform: none; color: var(--pen); margin-top: .1em; }
.stamp {
  position: relative; width: 6.2em; height: 7.2em; padding: .5em .5em .4em; display: grid; grid-template-rows: 1fr auto; place-items: center;
  background: var(--moss); transform: rotate(4deg); filter: drop-shadow(0 2px 2px rgba(0,0,0,.15));
  -webkit-mask: radial-gradient(circle .3em at .3em .3em, transparent 98%, #000) -.3em -.3em / .78em .78em;
  mask: radial-gradient(circle .3em at .3em .3em, transparent 98%, #000) -.3em -.3em / .78em .78em;
}
.stamp svg { width: 100%; height: auto; background: var(--card); border-radius: .2em; padding: .2em; }
.stamp__txt { font: 800 .6em/1 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--ink); margin-top: .3em; }
.stamp__val { position: absolute; top: .55em; right: .7em; font: 700 .85em/1 var(--serif); color: var(--ink); }
.postmark { position: absolute; top: 1.2em; right: 4.2em; width: 10em; opacity: .55; transform: rotate(-10deg); pointer-events: none; }
.postmark svg { fill: none; stroke: var(--ink); stroke-width: 2.2; overflow: visible; }
.postmark text { fill: var(--ink); stroke: none; font: 800 10px var(--sans); letter-spacing: .1em; text-anchor: middle; }
.envelope__to { grid-column: 1 / -1; align-self: end; justify-self: center; transform: translateX(8%); font: 700 2.15em/1.08 var(--hand); color: var(--pen); }
@media (max-width: 900px) {
  .give__grid { grid-template-columns: 1fr; }
  .give__art { position: relative; top: 0; order: -1; }
  .envelope { font-size: clamp(9px, 2.9vw, 15px); }
}

/* =========================================================================
   HELP
   ========================================================================= */
.help { background: var(--paper-2); }
.tiles { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(16px, 2vw, 24px); }
.tile { display: flex; flex-direction: column; align-items: flex-start; padding: 1.7rem 1.5rem 1.6rem; border-radius: var(--radius); background: var(--card); box-shadow: var(--shadow-1); transition: transform .5s var(--ease-out), box-shadow .5s; }
.tile:hover { transform: translateY(-5px) rotate(-.4deg); box-shadow: var(--shadow-2); }
.tile:nth-child(2) { --rd: .08s; } .tile:nth-child(3) { --rd: .16s; } .tile:nth-child(4) { --rd: .24s; }
.tile__icon { width: 48px; height: 48px; margin-bottom: 1.2rem; fill: none; stroke: var(--ink); stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; padding: 0; }
.tile p { color: var(--ink-2); font-size: .98rem; flex: 1; }
.tile .link { margin-top: .4rem; }
@media (max-width: 1020px) { .tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .tiles { grid-template-columns: 1fr; } }

/* =========================================================================
   FAQ
   ========================================================================= */
.faq__grid { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: clamp(28px, 5vw, 80px); align-items: start; }
.faq .section-head { position: sticky; top: calc(var(--nav-h) + 30px); }
.qa { border-bottom: 1.5px solid var(--line); }
.qa:first-child { border-top: 1.5px solid var(--line); }
.qa summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 1.2rem; padding: 1.35rem 0; font: 500 clamp(1.15rem, 1.8vw, 1.4rem)/1.25 var(--serif); font-variation-settings: "opsz" 36, "SOFT" 50; transition: color .2s; }
.qa summary::-webkit-details-marker { display: none; }
.qa summary::after { content: ""; flex: none; width: 2.1rem; height: 2.1rem; border-radius: 50%; background: var(--card) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23262624' stroke-width='2.2' stroke-linecap='round'%3E%3Cpath d='M12 6v12M6 12h12'/%3E%3C/svg%3E") center / 1.1rem no-repeat; box-shadow: inset 0 0 0 1.5px var(--line); transition: transform .45s var(--ease-spring), background-color .25s; }
.qa summary:hover { color: var(--leaf); }
.qa[open] summary::after { transform: rotate(135deg); background-color: var(--moss); box-shadow: none; }
.qa::details-content { block-size: 0; overflow: clip; transition: block-size .45s var(--ease-out), content-visibility .45s allow-discrete; }
.qa[open]::details-content { block-size: auto; }
.qa__a { padding: 0 3.2rem 1.5rem 0; color: var(--ink-2); }
@media (max-width: 860px) { .faq__grid { grid-template-columns: 1fr; } .faq .section-head { position: static; } }

/* =========================================================================
   FOOTER
   ========================================================================= */
.foot { position: relative; background: var(--paper-2); padding: clamp(60px, 8vw, 110px) 0 32px; }
.sleep { display: grid; justify-items: center; text-align: center; margin-bottom: clamp(48px, 7vw, 90px); }
.sleep__dog { width: min(420px, 86vw); height: auto; overflow: visible; }
.sleep__dog path { fill: none; stroke: var(--ink); stroke-width: 3.6; stroke-linecap: round; stroke-linejoin: round; }
.sleep__dog .spot { fill: var(--ink); stroke: none; }
.sleep__ground { stroke-opacity: .3; }
.sleep__breath { transform-box: view-box; transform-origin: 190px 155px; animation: breathe 4.2s ease-in-out infinite; }
.sleep__head { transform-box: view-box; transform-origin: 330px 150px; animation: snooze 4.2s ease-in-out infinite; }
@keyframes snooze { 50% { transform: rotate(-1.2deg) translateY(-1px); } }
@keyframes breathe { 50% { transform: scaleY(1.035) scaleX(1.008); } }
.zzz text { font: 700 26px var(--hand); fill: var(--leaf); opacity: 0; animation: zzz 3.6s ease-in infinite; }
.zzz text:nth-child(2) { animation-delay: 1.2s; font-size: 30px; } .zzz text:nth-child(3) { animation-delay: 2.4s; font-size: 36px; }
@keyframes zzz { 0% { opacity: 0; transform: translate(0, 10px); } 30% { opacity: 1; } 100% { opacity: 0; transform: translate(14px, -18px); } }
.sleep__msg { margin-top: 1.4rem; font: 450 clamp(1.4rem, 2.6vw, 2rem)/1.25 var(--serif); font-variation-settings: "opsz" 72, "SOFT" 70; }
.sleep__msg span { display: block; font: 600 1.45em/1.1 var(--hand); color: var(--leaf); margin-top: .3rem; }
.foot__grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 2rem; padding-top: 2.6rem; border-top: 1.5px solid var(--line); }
.foot__brand img { width: 96px; height: 96px; margin-bottom: 1rem; border-radius: 50%; background: #fff; box-shadow: var(--shadow-1); }
.foot__brand p { max-width: 24em; color: var(--ink-2); }
.foot__col { display: grid; align-content: start; gap: .45rem; }
.foot__col h3 { font: 750 .75rem/1 var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--leaf); margin-bottom: .5rem; }
.foot__col a { text-decoration: none; color: var(--ink-2); width: fit-content; }
.foot__col a:hover { color: var(--ink); text-decoration: underline; text-underline-offset: .2em; }
.foot__col address { color: var(--ink-2); }
.foot__legal { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .6rem 2rem; margin-top: 3rem; padding-top: 1.4rem; border-top: 1px solid var(--line); font-size: .82rem; color: var(--ink-3); }
.foot__legal p { margin: 0; max-width: 60em; }
@media (max-width: 820px) { .foot__grid { grid-template-columns: 1fr 1fr; } .foot__brand { grid-column: 1 / -1; } }

/* ---------- toast ---------- */
.toast { position: fixed; left: 50%; bottom: calc(24px + env(safe-area-inset-bottom, 0px)); z-index: 120; padding: .75em 1.2em; border-radius: 999px; background: var(--ink); color: var(--paper); font-weight: 650; box-shadow: var(--shadow-2); transform: translate(-50%, calc(100% + 48px)); visibility: hidden; transition: transform .5s var(--ease-spring), visibility 0s .5s; pointer-events: none; }
.toast.is-on { transform: translate(-50%, 0); visibility: visible; transition: transform .5s var(--ease-spring), visibility 0s; }

/* ---------- reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-delay: 0s !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; transition-delay: 0s !important; }
  .js .reveal, .js .polaroid { opacity: 1; transform: none; translate: none; }
  .zzz text { opacity: .8; }
  .route__walk { stroke-dashoffset: 0; }
}
