* { box-sizing: border-box; margin: 0; padding: 0; }
body { font-family: 'Karla', sans-serif; }
html { scroll-behavior: smooth; }

.site-wrap {
  background-color: #f4ede0;
  background-image: url(/images/paw-tile-faint.svg);
  background-size: 230px;
  color: #2e2a28;
  min-height: 100vh;
}

.site-header {
  position: sticky; top: 0; z-index: 20;
  background: #6f6675; color: #f4ede0;
  border-bottom: 3px solid #8a9a6b;
}
.site-header__inner {
  position: relative;
  max-width: 1100px; margin: 0 auto; padding: 14px 28px;
  display: flex; align-items: center; justify-content: space-between;
  gap: 20px; flex-wrap: wrap;
}
.site-header__logo {
  font-family: 'Domine', serif; font-weight: 700; font-size: 22px;
  letter-spacing: 0.3px; color: #f4ede0; text-decoration: none;
  line-height: 1;
}
.site-header__suffix { font-size: 12px; font-weight: 400; opacity: 0.75; letter-spacing: 1px; }
.site-header__nav { display: flex; align-items: center; gap: 22px; font-size: 15px; font-weight: 600; }
.site-header__nav a { color: #f4ede0; text-decoration: none; }

.site-footer { background: #3a2a24; color: #e6d8c6; }
.site-footer__inner {
  max-width: 1100px; margin: 0 auto; padding: 32px 28px;
  display: flex; justify-content: space-between; align-items: center;
  gap: 16px; flex-wrap: wrap; font-size: 14px;
}
.site-footer__name { font-family: 'Domine', serif; font-size: 17px; color: #f4ede0; }
.site-footer__tagline { opacity: 0.7; }

@media (max-width: 640px) {
  .pets-grid {
    display: flex !important; overflow-x: auto; scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch; gap: 14px; padding: 4px 4px 14px;
    scroll-padding-left: 4px;
  }
  .pets-grid > * { flex: 0 0 66%; scroll-snap-align: start; }
}

.hours-banner { padding: 12px 20px; border-radius: 8px; font-weight: 700; font-size: 14px; margin-bottom: 18px; }
.hours-banner .note { font-weight: 400; opacity: 0.85; display: block; margin-top: 4px; font-size: 13px; }
.hours-banner.reduced { background: #f6e2c9; color: #8a5a1f; border: 1px solid #e0b874; }
.hours-banner.extended { background: #e3ecd8; color: #4a5a34; border: 1px solid #b7cf9e; }
.hours-banner.holiday { background: #f0e2ea; color: #7a3a5c; border: 1px solid #d9a8c4; }

/* Mobile-friendly layout helpers */
img, svg { display: block; max-width: 100%; height: auto; }

.site-header__nav { flex-wrap: wrap; justify-content: flex-end; gap: 16px; }
.site-header__nav a { white-space: nowrap; }

.section-content,
.site-footer__inner,
.site-header__inner,
.site-wrap > section,
.site-wrap > section > div {
  box-sizing: border-box;
}

@media (max-width: 940px) {
  .site-header__inner,
  .site-footer__inner {
    padding-left: 20px;
    padding-right: 20px;
  }
  .site-header__nav { justify-content: center; }
}

@media (max-width: 760px) {
  .site-header__inner {
    flex-wrap: nowrap;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 12px 18px;
  }
  .site-header__logo {
    font-size: 18px;
    flex: 1;
    min-width: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  .site-header__nav {
    display: none;
  }
  .site-footer__inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }
  .site-footer__tagline {
    margin-top: 10px;
  }
}

@media (max-width: 640px) {
  body { font-size: 15px; }
  .site-header__inner,
  .site-footer__inner {
    padding-left: 14px;
    padding-right: 14px;
  }
  .site-header__nav {
    display: none;
  }
  .hours-banner,
  .christmas-frame,
  .pets-grid,
  .site-footer__inner {
    width: 100%;
  }
  .pets-grid > * {
    min-width: 240px;
  }
}
