:root {
  color-scheme: light;
  --cream: #fff8ec;
  --paper: #fffdf7;
  --ink: #4a2f27;
  --sun: #ffc93c;
  --coral: #ff7a59;
  --mint: #5ed6b0;
  --sky: #6ec1ff;
  --lilac: #b79cff;
  --bubble: #ff9fb8;
  --grass: #7fcb8e;
  --display: Comfortaa, Nunito, system-ui, sans-serif;
  --body: Nunito, system-ui, sans-serif;
  --hand: Caveat, 'Comic Sans MS', cursive;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 96px; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--cream) radial-gradient(rgb(74 47 39 / .07) 1.5px, transparent 1.5px) 0 0 / 26px 26px;
  font: 1rem/1.5 var(--body);
}
h1, h2, h3, p, dl, dd { margin: 0; }
h1, h2, h3 { font-family: var(--display); }
ul { margin: 0; padding: 0; list-style: none; }
img { max-width: 100%; height: auto; }
a { color: inherit; }
button { color: inherit; font: inherit; }
[hidden] { display: none !important; }
::selection { background: var(--sun); }
:focus-visible { outline: 4px solid var(--sky); outline-offset: 3px; border-radius: 12px; }
.sr-only, .skip-link:not(:focus) { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip-link:focus { position: fixed; z-index: 100; inset: .75rem auto auto .75rem; padding: .5rem 1rem; background: var(--paper); }
.container { width: 100%; max-width: 72rem; margin-inline: auto; padding-inline: 1.25rem; }
.sticker { border: 3px solid var(--ink); border-radius: 28px; box-shadow: 0 6px var(--ink); background: var(--card-color, var(--paper)); }
.btn, .chip { font-family: var(--display); font-weight: 700; cursor: pointer; }
.btn {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  padding: .85rem 1.5rem;
  border: 3px solid var(--ink);
  border-radius: 999px;
  box-shadow: 0 5px var(--ink);
  background: white;
  text-decoration: none;
  transition: translate .2s ease-out, transform .15s, box-shadow .15s;
}
.btn:hover { transform: translateY(-3px); box-shadow: 0 8px var(--ink); }
.btn:active { transform: translateY(4px); box-shadow: 0 1px var(--ink); }
.btn-sun { background: var(--sun); }
.btn-coral { background: var(--coral); color: #fff; }
.chip {
  position: relative;
  padding: .45rem 1rem;
  border: 2.5px solid var(--ink);
  border-radius: 999px;
  background: white;
  font-size: .85rem;
  transition: transform .15s, background .15s;
}
.chip::after { content: ''; position: absolute; inset: -4px 0; }
.chip:hover { transform: translateY(-2px) rotate(-2deg); }
.chip[aria-pressed="true"] { background: var(--sun); box-shadow: 0 3px var(--ink); }
.wavy { text-decoration: underline wavy var(--coral); text-decoration-thickness: 4px; text-underline-offset: 8px; }
.animal { display: block; width: 100%; height: auto; }
.pet { position: relative; }
.pet-button { display: block; width: 100%; padding: 0; border: 0; background: transparent; cursor: pointer; }
.pet-button > span { display: block; }
.pet-button .animal { filter: drop-shadow(0 6px 0 rgb(74 47 39 / .15)); }
.pet-reply:not(:empty) {
  position: absolute;
  z-index: 20;
  bottom: 100%;
  left: 50%;
  width: max-content;
  max-width: min(210px, 62vw);
  padding: .4rem .9rem;
  border: 3px solid var(--ink);
  border-radius: 18px;
  background: white;
  font: 700 1.2rem/1.1 var(--hand);
  text-align: center;
  transform: translateX(-50%);
  animation: pop .35s cubic-bezier(.3, 1.6, .5, 1) both;
  pointer-events: none;
}
.pet-reply:not(:empty)::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  width: 14px;
  height: 14px;
  border-right: 3px solid var(--ink);
  border-bottom: 3px solid var(--ink);
  background: white;
  transform: translateX(-50%) rotate(45deg);
}

/* Header and navigation */
.site-header { position: fixed; z-index: 50; inset: 0 0 auto; padding: .75rem .75rem 0; }
.header-bar { display: flex; align-items: center; justify-content: space-between; gap: .75rem; max-width: 72rem; margin-inline: auto; padding: .5rem .75rem; border-radius: 999px; transition: background .15s; }
.header-bar.scrolled { background: rgb(255 255 255 / .9); backdrop-filter: blur(8px); }
.site-name { display: flex; align-items: center; gap: .5rem; text-decoration: none; line-height: 1.25; }
.site-avatar { display: block; flex: 0 0 44px; width: 44px; height: 44px; overflow: hidden; padding: 2px; border: 3px solid var(--ink); border-radius: 50%; background: var(--sun); }
.site-avatar .animal { height: 100%; scale: 1.1; }
.site-name strong { display: block; font: 700 .875rem/1.25 var(--display); }
.site-name em { display: block; margin-top: -2px; color: var(--coral); font-family: var(--hand); font-style: normal; }
.desktop-menu { display: none; justify-items: end; }
.menu-primary, .menu-secondary { display: flex; align-items: center; gap: .25rem; }
.menu-primary a { font: 700 .875rem/1.25rem var(--display); text-decoration: none; }
.desktop-menu .menu-primary a { padding: .375rem .75rem; border-radius: 999px; transition: background .15s, rotate .15s; }
.desktop-menu .menu-primary a:hover { background: var(--sun); rotate: -2deg; }
.desktop-menu .menu-catalog { margin-left: .25rem; padding: .375rem .75rem; border: 2.5px solid var(--ink); background: var(--mint); font-size: .75rem; line-height: 1rem; }
.menu-secondary :is(a, .menu-low-vision) { padding: .125rem .75rem; color: #685047; font-size: .75rem; font-weight: 600; text-decoration: none; }
.menu-secondary :is(a, .menu-low-vision):hover { text-decoration: underline; text-underline-offset: .2em; }
.menu-low-vision { display: inline-flex; align-items: center; gap: .375rem; border: 0; background: transparent; cursor: pointer; text-align: start; }
.menu-low-vision img { flex: none; }
.mobile-menu summary { padding: .5rem 1rem; background: var(--sun); font-size: .875rem; line-height: 1.25rem; list-style: none; }
.mobile-menu summary::-webkit-details-marker { display: none; }
.menu-symbol::before { content: '☰'; font-size: 1rem; }
.mobile-menu[open] .menu-symbol::before { content: '✕'; }
.mobile-menu nav { position: fixed; inset: 85px 12px auto; display: grid; gap: .25rem; max-height: calc(100dvh - 105px); overflow: auto; padding: .75rem; }
.mobile-menu :is(.menu-primary, .menu-secondary) { display: grid; }
.mobile-menu .menu-primary a { padding: .75rem 1rem; border-radius: 1rem; font-size: 1rem; line-height: 1.5rem; }
.mobile-menu .menu-primary a:hover { background: var(--sun); }
.mobile-menu .menu-secondary { margin-top: .25rem; padding-top: .25rem; border-top: 1px solid rgb(74 47 39 / .18); }
.mobile-menu .menu-secondary :is(a, .menu-low-vision) { display: flex; align-items: center; min-height: 44px; padding: .25rem 1rem; font-size: .875rem; }
.mobile-menu .menu-catalog { background: var(--mint); }
.scroll-progress { display: none; position: absolute; inset: calc(100% - 4px) 1.5rem auto; height: .5rem; pointer-events: none; }
.scroll-progress span { display: block; height: 100%; border-radius: 999px; background: rgb(255 122 89 / .8); transform-origin: left; transform: scaleX(var(--progress, 0)); }
.scroll-progress b { position: absolute; top: -.5rem; left: calc(var(--progress, 0) * 100%); font-size: 1.125rem; transform: translateX(-50%) rotate(90deg); }
.cursor-paw {
  width: 26px;
  height: 25px;
  color: #dc679b;
  background:
    radial-gradient(ellipse 3px 4px at 4px 10px, currentColor 92%, transparent),
    radial-gradient(ellipse 3px 4px at 9px 5px, currentColor 92%, transparent),
    radial-gradient(ellipse 3px 4px at 17px 5px, currentColor 92%, transparent),
    radial-gradient(ellipse 3px 4px at 22px 10px, currentColor 92%, transparent);
}
.cursor-paw::after {
  content: '';
  position: absolute;
  inset: 11px 3px 0;
  background: currentColor;
  clip-path: path('M10 0C13 0 14 3 17 5C23 11 17 15 12 12C11 11 9 11 8 12C3 15 -3 11 3 5C6 3 7 0 10 0Z');
}

/* Welcome scene */
.home-hero { position: relative; overflow: hidden; padding: 7rem 0 2rem; }
.hero-grid { position: relative; display: grid; align-items: center; gap: 2rem; }
.hero-glow, .hero-decoration { position: absolute; pointer-events: none; }
.hero-glow { border-radius: 50%; filter: blur(24px); }
.glow-sun { left: -6rem; top: 6rem; width: 20rem; height: 20rem; background: rgb(255 201 60 / .5); }
.glow-sky { right: -5rem; top: 10rem; width: 24rem; height: 24rem; background: rgb(110 193 255 / .4); }
.glow-bubble { left: 33.333%; bottom: 0; width: 16rem; height: 16rem; background: rgb(255 159 184 / .4); }
.hero-decoration { display: none; line-height: 1; }
.hero-decoration span { display: block; }
.cloud-left { left: 8%; top: 10rem; font-size: 3.75rem; }
.cloud-right { right: 6%; top: 7rem; font-size: 3rem; }
.hero-star { left: 46%; top: 8rem; font-size: 1.875rem; }
.hero-flower { right: 44%; bottom: 4rem; font-size: 2.25rem; }
.hero-label, .live-status { display: inline-block; border: 3px solid var(--ink); border-radius: 999px; font-family: var(--display); font-weight: 700; }
.hero-label { rotate: -2deg; padding: .375rem 1rem; background: var(--mint); font-size: .75rem; line-height: 1rem; }
.home-hero h1 { margin-top: 1.25rem; font-size: 2.25rem; line-height: 1.1; }
.home-hero h1 .wiggle { display: inline-block; }
.hero-intro { max-width: 32rem; margin-top: 1.25rem; color: rgb(74 47 39 / .8); font-size: 1.125rem; font-weight: 600; line-height: 1.625; }
.hero-intro b { padding-inline: .375rem; border-radius: .375rem; background: var(--sun); }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem; margin-top: 1.75rem; }
.live-status { display: inline-flex; align-items: center; gap: .5rem; padding: .5rem 1rem; background: white; font-size: .875rem; line-height: 1.25rem; }
.hero-status { rotate: 1deg; margin-top: 1.5rem; }
.status-dot { flex: 0 0 .75rem; height: .75rem; border-radius: 50%; background: var(--coral); }
[data-live-status][data-open] .status-dot { background: var(--mint); animation: pulse 2s infinite; }
[data-live-status][data-open] [data-status-text] { white-space: nowrap; }
.hero-caption { margin-top: 1rem; color: var(--coral); font: 1.5rem/2rem var(--hand); }
.shelf-scene { position: relative; width: 100%; max-width: 540px; aspect-ratio: 1 / .98; margin-inline: auto; }
.shelf-back { position: absolute; inset: 4% 6% 6%; border: 3px solid var(--ink); border-radius: 50% 50% 44% 44% / 60% 60% 40% 40%; background: rgb(255 201 60 / .8); }
.shelf-books { position: absolute; inset: auto 0 0; display: flex; align-items: end; gap: 1.2%; height: 24%; padding-inline: 3%; }
.shelf-books > span { flex: 1; height: var(--book-height); border: 3px solid var(--ink); border-bottom: 0; border-radius: .5rem .5rem 0 0; background: var(--book-color); }
.shelf-books > span:nth-child(5n + 4) { transform: rotate(-5deg); }
.shelf-books > span::before, .shelf-books > span::after { content: ''; display: block; width: 60%; height: .25rem; margin: .5rem auto 0; border-radius: .25rem; background: rgb(255 255 255 / .7); }
.shelf-books > span::after { width: 40%; margin-top: .25rem; background: rgb(255 255 255 / .5); }
.shelf-edge { position: absolute; inset: auto 0 0; height: 5%; border: 3px solid var(--ink); border-radius: .75rem; background: #c98a4b; }
.shelf-pet { position: absolute; }
.shelf-pet:focus-within { z-index: 30; }
.shelf-owl { left: 2%; bottom: 19%; width: 28%; }
.shelf-squirrel { right: 0; bottom: 19%; width: 31%; }
.shelf-cat { left: 27%; bottom: 16%; z-index: 10; width: 46%; }
.shelf-hedgehog { left: 5%; bottom: 2%; z-index: 20; width: 25%; }
.shelf-bunny { right: 6%; bottom: 2%; z-index: 20; width: 25%; }
[data-parallax] [style*='--depth'] { transform: translate(calc(var(--mx, 0) * var(--depth)), calc(var(--my, 0) * var(--depth))); transition: transform .25s ease-out; }
.marquee { margin: 2.5rem -1.5rem 0; overflow: hidden; padding-block: .75rem; border-block: 3px solid var(--ink); background: var(--coral); color: white; rotate: -1deg; }
.marquee-track, .marquee-track > div { display: flex; gap: 2rem; white-space: nowrap; }
.marquee-track { width: max-content; padding-right: 2rem; font: 700 1.25rem/1.75rem var(--display); animation: marquee 30s linear infinite; }
.marquee-track b { color: var(--sun); }

/* Cards and shared section layout */
.home-section { padding-block: 4rem; }
.section-title { margin-bottom: 2.5rem; text-align: center; }
.section-title p { color: var(--coral); font: 1.875rem/2.25rem var(--hand); }
.section-title h1, .section-title h2 { margin-top: .25rem; font-size: 1.875rem; line-height: 2.25rem; }
.card-grid { display: grid; gap: 1.5rem; }
.path-card, .news-card { position: relative; overflow: hidden; text-decoration: none; }
.path-card { display: block; padding: 1.5rem; }
.path-card > div { position: relative; z-index: 1; max-width: 58%; }
.path-card h3 { font-size: 1.25rem; line-height: 1.25; }
.path-card p { margin-top: .5rem; color: rgb(74 47 39 / .75); font-weight: 600; }
.path-card span, .news-tag { display: inline-block; border-radius: 999px; background: white; font-family: var(--display); font-weight: 700; }
.path-card span { margin-top: 1rem; padding: .25rem .75rem; border: 2.5px solid var(--ink); font-size: .875rem; line-height: 1.25rem; transition: transform .15s; }
.path-card:hover span { transform: translateX(.25rem); }
.path-animal { position: absolute; right: -.5rem; bottom: -.75rem; width: 46%; transition: transform .3s; }
.path-card:hover .path-animal { transform: translateY(-.75rem) rotate(6deg); }
.home-news { background: rgb(255 255 255 / .6); }
.news-filters { display: flex; flex-wrap: wrap; justify-content: center; gap: .5rem; margin-bottom: 2rem; }
.news-card { display: flex; flex-direction: column; justify-content: space-between; min-height: 11rem; padding: 1.25rem; rotate: -.8deg; }
.news-card:nth-child(even), .news-card[data-alternate] { rotate: .8deg; }
.news-card[data-alternate='false'] { rotate: -.8deg; }
.news-card-meta { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .375rem .5rem; }
.news-card-meta time { color: #685047; font-size: .8125rem; font-weight: 700; white-space: nowrap; }
.news-tag { width: fit-content; max-width: 100%; padding: .125rem .625rem; border: 2px solid var(--ink); font-size: .75rem; line-height: 1rem; }
.news-card :is(h2, h3) { position: relative; z-index: 1; max-width: 75%; margin-top: 1rem; font-size: 1.125rem; line-height: 1.375; overflow-wrap: anywhere; }
.news-animal { position: absolute; right: -.75rem; bottom: -.5rem; width: 6rem; transition: transform .3s; }
.news-card:hover .news-animal { transform: rotate(-6deg) scale(1.1); }
.news-end { margin-top: 2.5rem; text-align: center; }
.news-archive { padding-top: 8.5rem; }
.tilt { transform: perspective(800px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)); transform-style: preserve-3d; transition: transform .25s ease-out, box-shadow .2s; }
.tilt::after { content: ''; position: absolute; inset: 0; border-radius: inherit; opacity: 0; background: radial-gradient(circle at var(--gx, 50%) var(--gy, 0%), rgb(255 255 255 / .5), transparent 55%); pointer-events: none; transition: opacity .25s; }
@media (hover: hover) { .tilt:hover::after { opacity: 1; } }
.reveal { transition: opacity .7s ease, transform .8s cubic-bezier(.2, 1.2, .4, 1); transition-delay: var(--delay, 0ms); }
.reveal.pending:not(:focus-within) { opacity: .2; transform: translateY(36px) rotate(-1deg) scale(.96); }

/* Services and opening hours */
.services-grid, .hours-grid, .contacts-grid { display: grid; gap: 2rem; }
.services-grid { align-items: start; }
.free-services { position: relative; container-type: inline-size; padding: 2rem; background: var(--sun); text-align: center; }
.free-services > div:first-child { font: 700 2rem/1.1 var(--display); font-size: clamp(1rem, 14cqi, 3rem); }
.free-services .wavy { display: block; margin-top: .5rem; overflow-wrap: anywhere; }
.free-services .pet { width: 9rem; margin: 1.5rem auto 0; }
.services-star { position: absolute; top: -1.5rem; right: -1.25rem; display: grid; width: 5rem; height: 5rem; place-items: center; border: 3px solid var(--ink); border-radius: 50%; background: var(--mint); font-size: 1.875rem; }
.service-list { display: grid; gap: 1rem; }
.service-list .sticker { display: flex; align-items: center; gap: 1rem; padding: 1rem; border-radius: 1.5rem; font-weight: 600; line-height: 1.375; transition: transform .15s; }
.service-list .sticker:hover { transform: translateY(-.25rem) rotate(1deg); }
.square-icon { display: grid; flex-shrink: 0; width: 3rem; height: 3rem; place-items: center; border: 3px solid var(--ink); border-radius: 1rem; background: var(--cream); font-size: 1.5rem; }
.ages { margin-top: 2rem; padding: 1.25rem; background: white; }
.ages h3 { font-size: 1.125rem; line-height: 1.75rem; }
.ages p { margin-top: .25rem; color: rgb(74 47 39 / .7); font-size: .875rem; font-weight: 600; }
.ages ul { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1rem; }
.ages li { display: grid; width: 3.5rem; height: 3.5rem; place-items: center; border: 3px solid var(--ink); border-radius: 50%; background: var(--card-color); font: 700 1.125rem/1.75rem var(--display); }
.services-more { display: grid; gap: 1.25rem; margin-top: 2rem; padding: 1.5rem; background: var(--lilac); }
.services-more-icon { width: 4rem; height: 4rem; background: var(--sun); font-size: 2rem; rotate: -5deg; }
.services-more-copy { min-width: 0; align-self: center; }
.services-more h3 { font-size: 1.25rem; line-height: 1.35; }
.services-more p { margin-top: .35rem; color: rgb(74 47 39 / .75); font-weight: 600; }
.services-more-link { justify-self: start; max-width: 100%; white-space: normal; text-align: center; }
.home-hours { background: rgb(110 193 255 / .3); }
.hours-grid { align-items: center; }
.hours-status { position: relative; padding: 1.5rem; background: white; text-align: center; }
.hours-status .pet { width: 10rem; margin-inline: auto; }
.hours-status [data-hours-heading] { margin-top: 1rem; font: 700 1.5rem/2rem var(--display); }
.hours-status .live-status { margin-top: .75rem; }
.hours-timezone { margin-top: .75rem; color: var(--coral); font: 1.25rem/1.75rem var(--hand); }
.sleep-symbol { position: absolute; top: 1.5rem; right: 3rem; font-size: 1.5rem; animation: zzz 2.5s infinite; }
.sleep-symbol + .sleep-symbol { top: 2.5rem; right: 2rem; font-size: 1.25rem; animation-delay: 1s; }
.hours-week { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: .5rem; margin-bottom: 2rem; }
.week-day { display: grid; justify-items: center; padding: .375rem .125rem; border-radius: 1rem; box-shadow: 0 4px var(--ink); background: white; font-weight: 700; text-align: center; }
.week-day[data-open] { background: rgb(94 214 176 / .5); }
.week-day[aria-current='date'] { background: var(--sun); box-shadow: 0 4px 0 4px rgb(255 122 89 / .5), 0 8px var(--ink); translate: 0 -.5rem; }
.week-day > span:first-child { font: 700 .75rem/1rem var(--display); }
.week-day b { font: 700 1.25rem/1.75rem var(--display); }
.week-day > span:last-child { margin-top: .25rem; font-size: .625rem; line-height: 1.25; overflow-wrap: anywhere; }
.season-card { padding: 1.5rem; background: white; font-weight: 600; }
.season-controls { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 1rem; }
.season-card li + li { margin-top: .5rem; }
.season-card ul + ul { margin-top: 1rem; }

/* Contacts, footer and reading pages */
.contact-card { height: 100%; padding: 1.75rem; background: white; }
.contact-card dl > div { position: relative; min-height: 3rem; padding-left: 4rem; overflow-wrap: anywhere; }
.contact-card dl > div + div { margin-top: 1.25rem; }
.contact-card .square-icon { position: absolute; top: 0; left: 0; background: var(--sun); }
.contact-card dl > div:nth-child(2) .square-icon { background: var(--mint); }
.contact-card dl > div:nth-child(3) .square-icon { background: var(--bubble); }
.contact-card dt b { font-family: var(--display); }
.contact-card dd a { font-weight: 700; text-decoration: none; }
.contact-card dd a:hover { text-decoration: underline; }
.contact-phone { font-size: 1.125rem; }
.email-reveal { display: inline-flex; align-items: center; min-height: 2.75rem; padding: .2rem .6rem; border: 1px solid #cdb9a9; border-radius: .65rem; background: var(--cream); font-weight: 800; text-decoration: none; }
button.email-reveal { cursor: pointer; }
button.email-reveal:hover { background: #ffedc8; }
.contact-actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.75rem; }
.contact-actions .btn { padding-block: .5rem; font-size: .875rem; line-height: 1.25rem; }
.contact-map { position: relative; isolation: isolate; aspect-ratio: 4 / 3; overflow: hidden; background: #fff4df; }
.map-preview, .contact-map .map-view { position: absolute; inset: 0; }
.map-preview { width: 100%; height: 100%; object-fit: cover; }
.contact-map .map-view { visibility: hidden; }
.contact-map .map-view.map-ready { visibility: visible; }
.map-marker { position: absolute; top: 50%; left: 50%; width: 4rem; height: 4.5rem; transform: translate(-50%, -100%); pointer-events: none; }
.map-pin { display: grid; position: relative; width: 4rem; height: 4rem; place-items: center; background: var(--coral); border: 3px solid var(--ink); border-radius: 50%; }
.map-pin .animal { width: 3rem; }
.map-pin::after { content: ''; position: absolute; bottom: -.45rem; left: 50%; width: .9rem; height: .9rem; border-right: 3px solid var(--ink); border-bottom: 3px solid var(--ink); background: var(--coral); transform: translateX(-50%) rotate(45deg); }
.map-marker p { position: absolute; top: calc(100% + .4rem); left: 50%; transform: translateX(-50%); padding: .3rem .65rem; border: 2px solid var(--ink); border-radius: 999px; background: white; color: var(--ink); font: 700 .75rem/1rem var(--display); white-space: nowrap; }
.map-attribution { position: absolute; right: 0; bottom: 0; max-width: 100%; padding: .15rem .6rem; border-start-start-radius: .75rem; background: rgb(255 255 255 / .9); font-size: .6875rem; text-align: right; }
.map-attribution a:focus-visible { outline-offset: 0; }

/* Home feedback survey */
.home-feedback { background: rgb(94 214 176 / .22); }
.feedback-grid { display: grid; gap: 2rem; align-items: center; }
.feedback-card { position: relative; display: grid; gap: .9rem; padding: 1.75rem; background: white; }
.feedback-card > .square-icon { background: var(--bubble); }
.feedback-lead { font: 700 1.25rem/1.5 var(--display); }
.feedback-card p:not(.feedback-lead) { color: rgb(74 47 39 / .8); font-weight: 600; }
.feedback-link { align-self: start; max-width: 100%; overflow-wrap: anywhere; font-size: .9375rem; line-height: 1.35rem; text-align: center; }
.feedback-qr { display: grid; gap: .75rem; justify-items: center; width: min(100%, 20rem); margin: 0; padding: 1.25rem; justify-self: center; rotate: 1.5deg; background: white; }
.feedback-qr img { display: block; width: 100%; height: auto; border-radius: .75rem; image-rendering: pixelated; }
.feedback-qr figcaption { color: var(--coral); font: 1.35rem/1.6 var(--hand); text-align: center; }
@media (min-width: 1024px) {
  .feedback-grid { grid-template-columns: minmax(0, 1fr) 22rem; }
}

.partner-links ul { display: flex; flex-wrap: wrap; justify-content: center; gap: .625rem; }
.partner-links li { flex: 0 1 8rem; }
.partner-links a {
  display: grid;
  min-height: 3.5rem;
  padding: .375rem;
  place-items: center;
  border: 1px solid #ded3c7;
  border-radius: .5rem;
  background: var(--paper);
  text-align: center;
  font-size: .8125rem;
}
.partner-links img { display: block; width: 100%; height: 2.75rem; object-fit: contain; filter: grayscale(1); }
.partner-links a:is(:hover, :focus-visible) img { filter: none; }
.partner-label { display: none; }

.site-footer { position: relative; margin-top: 2.5rem; overflow: hidden; }
.footer-animals { display: flex; height: 7rem; align-items: end; justify-content: space-around; padding-inline: 1.5rem; }
.footer-animals > div { width: 16%; max-width: 6rem; transform: translateY(34%); transition: transform .3s; }
.home-page .footer-animals > div:is(:hover, :focus-within) { transform: translateY(4%); }
.footer-grass { position: relative; z-index: 1; border-top: 3px solid var(--ink); background: var(--grass); }
.footer-grass > svg { position: absolute; inset: -27px 0 auto; width: 100%; height: 1.75rem; color: var(--grass); pointer-events: none; }
.footer-inner { padding-block: 2rem 2.5rem; }
.footer-address { text-align: center; font-weight: 600; }
.footer-address p:first-child { font: 700 1.25rem/1.75rem var(--display); }
.footer-note { margin-top: 1.5rem; text-align: center; font: 1.25rem/1.75rem var(--hand); }
.footer-cookie { margin-top: .5rem; text-align: center; font-size: .875rem; }
.cookie-notice {
  position: sticky;
  z-index: 40;
  bottom: .5rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .625rem 1rem;
  width: min(52rem, calc(100% - 1rem));
  margin: .5rem auto;
  padding: .75rem 1rem;
  max-height: calc(100dvh - 1rem);
  overflow: auto;
  border: 1px solid #cdb9a9;
  border-radius: .75rem;
  background: var(--paper);
  box-shadow: 0 4px 16px rgb(74 47 39 / .16);
  font-size: .875rem;
}
.cookie-notice p { flex: 1 1 22rem; }
.cookie-actions { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem 1rem; }
.cookie-actions button { min-height: 2.75rem; padding: .25rem 1rem; border: 1px solid var(--ink); border-radius: .5rem; background: var(--sun); font-weight: 800; cursor: pointer; }
.cookie-actions button:hover { background: var(--cream); }
.cookie-actions a { display: grid; min-height: 2.75rem; align-items: center; text-underline-offset: .2em; }
.site-directory { margin-top: .5rem; font-size: .875rem; }
.site-directory summary { width: fit-content; margin-inline: auto; cursor: pointer; }
.site-directory nav { width: fit-content; margin: .75rem auto 0; }
.site-directory ul ul { padding-left: 1.25rem; }
.inner-page { padding-top: 8.5rem; }
.news-back { margin-bottom: 1.5rem; }
.reading-card { max-width: 61rem; margin-inline: auto; overflow: hidden; }
.reading-title { position: relative; padding: clamp(1.5rem, 5vw, 3rem); background: white; }
.reading-title:not(.reading-title-illustrated) { padding-bottom: 1rem; }
.reading-title-illustrated { overflow: hidden; padding-right: clamp(5.5rem, 19vw, 13rem); border-bottom: 3px solid var(--ink); background: var(--card-color); }
.reading-title h1 { position: relative; z-index: 1; font-size: clamp(1.65rem, 5vw, 3rem); line-height: 1.15; overflow-wrap: anywhere; }
.reading-title time { display: block; margin-top: .75rem; font-weight: 700; }
.reading-title .animal { position: absolute; bottom: -1rem; right: -.5rem; width: clamp(5rem, 20vw, 13rem); }
.reading-content { max-width: 56rem; margin-inline: auto; padding: clamp(1.125rem, 4vw, 2.75rem); font-size: 1.125rem; line-height: 1.7; overflow-wrap: anywhere; }
.reading-content :is(p, ul, ol, dl, blockquote, figure, h2, h3, h4) { max-width: 70ch; margin: 0 auto 1.15rem; }
.reading-content :is(h2, h3, h4) { line-height: 1.3; }
.reading-content .poem {
  max-width: 42rem;
  margin: 1.5rem auto;
  padding: .8rem clamp(.75rem, 3vw, 1.5rem);
  border-inline-start: 3px solid #c78b51;
  border-radius: .25rem .8rem .8rem .25rem;
  background: #fff4df;
  font: italic clamp(1rem, 2.8vw, 1.35rem)/1.72 Georgia, 'Times New Roman', serif;
}
.reading-content .poem p { margin: 0; }
.reading-content :is(ul, ol) li + li { margin-top: .45rem; }
.reading-content :is(ul, ol) { padding-left: 1.35em; }
.reading-content ul { list-style: disc; }
.reading-content a { text-decoration-color: #bc4e34; text-underline-offset: .2em; text-decoration-thickness: .08em; }
.reading-content img {
  display: block;
  height: auto;
  margin-inline: auto;
  border: 1px solid #d8c8bc;
  border-radius: .875rem;
  background: white;
}
.reading-content :is(p, div):has(> img:only-child) { margin-block: 1.35rem; }
.reading-content :is(p, div):has(> img:only-child) + :is(p, div):has(> img:only-child) { margin-top: 1.65rem; }
.reading-content [data-photo-gallery] {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 14rem), 1fr));
  align-items: start;
  gap: clamp(.85rem, 3vw, 1.4rem);
  margin: 1.65rem auto 1.85rem;
}
[data-photo-gallery] :is(tbody, tr) { display: contents; }
[data-photo-gallery] td:not(:has(img)) { display: none; }
[data-photo-gallery] td { display: block; min-width: 0; padding: 0; }
.reading-content [data-photo-gallery] :is(p, div):has(> img:only-child) { margin: 0; }
[data-photo-gallery] img { width: auto; box-shadow: 0 3px 0 #e9d6c7; }
.reading-content .article-info { color: #685047; font-size: .875rem; }
.article-info dt { font-weight: 800; }
.reading-content table:not([data-photo-gallery], .article-data-table > table) { display: block; max-width: 100%; overflow: auto; }
.article-data-table {
  margin: 1.25rem 0 1.75rem;
  overflow: auto;
  border: 1px solid #cdb9a9;
  border-radius: .75rem;
}
.article-data-table table { width: 100%; min-width: 34rem; border-collapse: collapse; font-size: .9rem; line-height: 1.45; }
.article-data-table :is(td, th) { padding: .65rem .75rem; border-bottom: 1px solid #e7d9ce; vertical-align: top; }
.article-data-table :is(td, th):first-child { min-width: 3rem; white-space: nowrap; }
.article-data-table :is(td, th):nth-child(3) { font-variant-numeric: tabular-nums; }
.article-data-table tr:first-child { background: #f8dec6; }
.article-data-table tr:nth-child(even) { background: #fbf0e4; }
.article-data-table tr:last-child :is(td, th) { border-bottom: 0; }
.article-data-table :is(td, th) p { margin: 0; }
.scanned-document .reading-content .article-info { max-width: 46rem; }
.scanned-document .reading-content p:has(> img) { max-width: 48rem; }
.scanned-document .reading-content img { width: min(100%, 46rem); border-radius: .5rem; }
@media (max-width: 599px) {
  .reading-content [data-photo-gallery] { grid-template-columns: minmax(0, 1fr); }
}
.work-page .reading-content > ul { display: grid; gap: .75rem; padding-left: 0; list-style: none; }
.work-page .reading-content > ul a { display: block; padding: .75rem 1rem; border: 2px solid var(--ink); border-radius: 1rem; background: var(--cream); font-weight: 700; }
.calm-page .reading-card { background: white; }
body:has(.calm-page) .footer-animals { visibility: hidden; height: 0; }
body:has(.calm-page) .site-avatar .animal * { animation: none; }

@media (max-width: 380px) {
  .site-avatar { flex-basis: 36px; width: 36px; height: 36px; }
  .mobile-menu summary { padding-inline: .625rem; }
  .home-hero { padding-top: 8rem; }
  .free-services { padding-inline: 1rem; }
  .services-star { right: -.75rem; width: 3.5rem; height: 3.5rem; }
  .hours-week { gap: .25rem; }
  .week-day { border-width: 2px; }
}
@media (min-width: 640px) {
  .card-grid, .service-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .services-more { grid-template-columns: auto minmax(0, 1fr); align-items: center; padding: 1.5rem 1.75rem; }
  .services-more-link { grid-column: 1 / -1; }
}
@media (min-width: 768px) {
  .header-bar { padding-inline: 1.25rem; }
  .site-name strong { font-size: 1rem; }
  .scroll-progress, .hero-decoration { display: block; }
  .home-hero { padding-top: 9rem; }
  .hero-grid { grid-template-columns: 1.05fr 1fr; }
  .hero-label { font-size: .875rem; line-height: 1.25rem; }
  .home-hero h1 { font-size: 3.75rem; }
  .section-title h1, .section-title h2 { font-size: 3rem; line-height: 1; }
  .hours-week { gap: .75rem; }
  .week-day { padding: .75rem; }
  .week-day > span:first-child { font-size: .875rem; line-height: 1.25rem; }
  .week-day b { font-size: 1.875rem; line-height: 2.25rem; }
  .week-day > span:last-child { font-size: .75rem; line-height: 1rem; }
}
@media (min-width: 1024px) {
  .desktop-menu { display: grid; }
  .mobile-menu { display: none; }
  .card-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .path-grid > :last-child:nth-child(3n + 1) { grid-column: 2; }
  .services-grid { grid-template-columns: 360px minmax(0, 1fr); }
  .services-more { grid-template-columns: auto minmax(0, 1fr) auto; }
  .services-more-link { grid-column: auto; justify-self: end; white-space: nowrap; }
  .hours-grid { grid-template-columns: 320px minmax(0, 1fr); }
  .contacts-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@keyframes float { 50% { transform: translateY(-10px); } }
@keyframes hop {
  20% { transform: scale(1.12, .86); }
  45% { transform: translateY(-26px) scale(.94, 1.1); }
  70% { transform: scale(1.07, .93); }
}
@keyframes blink { 0%, 90%, 100% { transform: scaleY(1); } 94% { transform: scaleY(.08); } }
@keyframes wag { 0%, 100% { transform: rotate(-7deg); } 50% { transform: rotate(9deg); } }
@keyframes twitch { 90% { transform: rotate(-8deg); } 95% { transform: rotate(5deg); } }
@keyframes wiggle { 0%, 100% { transform: rotate(-4deg); } 50% { transform: rotate(4deg); } }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes marquee { to { transform: translateX(-50%); } }
@keyframes pulse { 50% { opacity: .5; } }
@keyframes pop { from { transform: translateX(-50%) scale(.5); opacity: 0; } }
@keyframes zzz {
  0% { transform: scale(.6); opacity: 0; }
  30% { opacity: 1; }
  100% { transform: translate(18px, -34px) scale(1.2); opacity: 0; }
}
.float { animation: float 5s ease-in-out infinite; }
.float-slow { animation: float 7s ease-in-out infinite; }
.hop { animation: hop .7s ease-out; }
.wiggle { animation: wiggle 3s ease-in-out infinite; }
.spin-slow { animation: spin 18s linear infinite; }
[data-pupil] { transition: transform .12s ease-out; }
.blink, .wag, .ear-l, .ear-r { transform-box: fill-box; }
.blink { transform-origin: center; animation: blink 5.5s infinite; }
.asleep [data-pupil] { transform-box: fill-box; transform-origin: center; transform: scaleY(.1); }
.asleep .blink { animation: none; }
.wag { transform-origin: 10% 90%; animation: wag 3.2s ease-in-out infinite; }
.ear-l, .ear-r { transform-origin: 50% 100%; animation: twitch 6s infinite; }
.ear-r { animation-delay: 1.4s; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .cursor-paw { display: none; }
  .reveal.pending { opacity: 1; transform: none; }
  .tilt, [data-parallax] [style*='--depth'] { transform: none; }
  [data-magnetic] { translate: none !important; }
}
