:root {
  --bg: #f6f3eb;
  --surface: #fffdf7;
  --surface-alt: #efe7d7;
  --text: #1d1b16;
  --muted: #5f594c;
  --accent: #2f6b3f;
  --accent-dark: #214b2c;
  --border: #d8cfbf;
  --shadow: 0 18px 34px rgba(37, 33, 25, 0.12);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  color: var(--text);
  font-family: "Georgia", "Times New Roman", serif;
  cursor: url("/static/img/paw.png") 2 2, auto;
  background:
    radial-gradient(circle at 8% 8%, #ebe3d2 0%, transparent 40%),
    radial-gradient(circle at 88% 90%, #ece4d4 0%, transparent 42%),
    var(--bg);
}

a,
button,
summary,
input[type="submit"],
input[type="button"] {
  cursor: url("/static/img/paw.png") 2 2, pointer;
}

a {
  color: var(--accent-dark);
}

.container {
  width: min(1100px, 100% - 2rem);
  margin-inline: auto;
}

.site-header {
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 30;
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 72px;
  gap: 1rem;
}

.brand {
  text-decoration: none;
  color: inherit;
  display: grid;
}

.brand-row {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
}

.brand-icon {
  width: 28px;
  height: 28px;
  display: block;
}

.brand-title {
  font-weight: 700;
  letter-spacing: 0.02em;
}

.brand-sub {
  color: var(--muted);
  font-size: 0.82rem;
}

.mobile-nav summary {
  cursor: pointer;
  list-style: none;
  font-weight: 700;
}

.mobile-nav nav {
  position: absolute;
  right: 1rem;
  top: 68px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  box-shadow: var(--shadow);
  padding: 0.7rem;
  min-width: 160px;
  display: grid;
  gap: 0.4rem;
}

.mobile-nav nav a {
  text-decoration: none;
  padding: 0.35rem 0.45rem;
  border-radius: 8px;
}

.mobile-nav nav a:hover {
  background: var(--surface-alt);
}

.desktop-nav {
  display: none;
}

.hero {
  padding: 1rem 0 1.5rem;
}

.hero-inner {
  display: grid;
  gap: 1rem;
}

.hero-image-slot {
  position: relative;
  min-height: 220px;
  border: 1px solid var(--border);
  border-radius: 18px;
  background: #f3ecdd;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.hero-image {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
}

.hero-beagle {
  position: absolute;
  top: 50%;
  width: clamp(88px, 10vw, 130px);
  transform: translateY(-50%);
  opacity: 0.96;
  filter: brightness(0) saturate(100%);
  pointer-events: none;
}

.hero-beagle-left {
  left: 14px;
}

.hero-beagle-right {
  right: 14px;
  transform: translateY(-50%) scaleX(-1);
}

.hero-copy {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 1.1rem;
  box-shadow: var(--shadow);
}

.kicker {
  text-transform: uppercase;
  font-size: 0.76rem;
  letter-spacing: 0.14em;
  color: var(--accent);
  margin: 0;
}

h1 {
  margin: 0.4rem 0 0.6rem;
  font-size: clamp(1.8rem, 7vw, 3rem);
  line-height: 1.1;
}

h2 {
  margin: 0 0 0.7rem;
}

.lead {
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
}

.content {
  padding-bottom: 3rem;
}

.content > * + * {
  margin-top: 1.35rem;
}

.grid {
  display: grid;
  gap: 1.25rem;
}

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: clamp(1.1rem, 2.2vw, 1.9rem);
  box-shadow: var(--shadow);
}

.card h2 {
  margin: 0 0 0.95rem;
  line-height: 1.12;
}

.card p {
  margin: 0 0 0.95rem;
  color: var(--muted);
  line-height: 1.6;
}

.paw-row {
  color: var(--accent);
  letter-spacing: 0.2rem;
  font-size: 1.1rem;
  margin-top: 1rem;
  margin-bottom: 0;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 1rem;
}

.btn {
  display: inline-block;
  text-decoration: none;
  border: 1px solid transparent;
  border-radius: 999px;
  padding: 0.55rem 0.95rem;
  font-weight: 700;
}

.btn-primary {
  background: var(--accent);
  color: #fff;
}

.btn-primary:hover {
  background: #255b34;
}

.btn-outline {
  border-color: var(--border);
  background: var(--surface);
}

.site-footer {
  border-top: 1px solid var(--border);
  background: var(--surface);
  padding: 1.2rem 0 1rem;
}

.footer-grid {
  display: grid;
  gap: 1rem;
}

.footer-title {
  margin: 0 0 0.35rem;
  font-weight: 700;
}

.footer-grid p {
  margin: 0.2rem 0;
  color: var(--muted);
}

.copyright {
  text-align: center;
  margin: 1rem 0 0;
  color: var(--muted);
  font-size: 0.88rem;
}

@media (min-width: 780px) {
  .content > * + * {
    margin-top: 1.6rem;
  }

  .mobile-nav {
    display: none;
  }

  .desktop-nav {
    display: flex;
    gap: 0.9rem;
  }

  .desktop-nav a {
    text-decoration: none;
    font-weight: 700;
  }

  .hero-inner {
    grid-template-columns: 1fr;
  }

  .hero-image-slot {
    min-height: 360px;
  }

  .hero-beagle-left {
    left: clamp(56px, 9vw, 170px);
  }

  .hero-beagle-right {
    right: clamp(56px, 9vw, 170px);
  }

  .hero-copy {
    width: 100%;
  }

  .grid.two {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.35rem;
  }

  .grid.three {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.35rem;
  }

  .footer-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
