:root {
  color-scheme: light;
  --bg: #f7efe3;
  --paper: #fff8ec;
  --panel: rgba(255, 248, 236, 0.82);
  --panel-strong: rgba(255, 250, 241, 0.96);
  --line: rgba(72, 48, 33, 0.16);
  --text: #2d231e;
  --muted: #75675e;
  --soft: #9a8678;
  --green: #2f6f5e;
  --sage: #9ebc91;
  --teal: #167c80;
  --rust: #c8693f;
  --coral: #e88961;
  --amber: #d99b3d;
  --danger: #c64b55;
  --shadow: 0 22px 50px rgba(72, 48, 33, 0.14);
  --container: 82rem;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  margin: 0;
  min-width: 320px;
  overflow-x: hidden;
  background:
    radial-gradient(circle at 14% 7%, rgba(200, 105, 63, 0.22), transparent 24rem),
    radial-gradient(circle at 82% 12%, rgba(47, 111, 94, 0.18), transparent 26rem),
    linear-gradient(180deg, #f7efe3 0%, #fff8ec 46%, #f3e1cf 100%);
  color: var(--text);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

a {
  color: inherit;
  text-decoration: none;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: auto minmax(16rem, 1fr) auto;
  align-items: center;
  gap: clamp(0.55rem, 1.2vw, 0.9rem);
  min-height: 4rem;
  padding: 0.55rem clamp(1rem, 3vw, 2.5rem);
  background: rgba(255, 248, 236, 0.82);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.68rem;
  min-width: max-content;
}

.brand-mark {
  display: grid;
  width: 2.82rem;
  height: 2.82rem;
  place-items: center;
  border: 2px solid rgba(47, 111, 94, 0.26);
  border-radius: 999px;
  background: linear-gradient(145deg, #f4c06e, #e88961);
  box-shadow: 0 12px 28px rgba(200, 105, 63, 0.18);
  color: #33251d;
  font-weight: 900;
}

.brand-logo {
  overflow: hidden;
  border: 1px solid rgba(22, 45, 69, 0.08);
  background: rgba(255, 255, 255, 0.72);
  box-shadow: 0 10px 24px rgba(17, 35, 54, 0.12);
}

.brand-logo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 0.06rem;
}

.brand strong,
.site-footer strong {
  display: block;
  font-size: 1rem;
}

.brand-wordmark {
  display: block;
  width: clamp(6.7rem, 10vw, 8.8rem);
  height: auto;
  line-height: 0;
}

.brand-wordmark img {
  display: block;
  width: 100%;
  height: auto;
}

.logo-live-preview {
  display: grid;
  grid-template-columns: minmax(16rem, 0.8fr) minmax(0, 1.7fr);
  gap: clamp(1rem, 2.4vw, 2rem);
  align-items: center;
  max-width: var(--container);
  margin: 1rem auto 0;
  padding: clamp(1rem, 2.5vw, 1.4rem);
  border: 1px solid var(--line);
  border-radius: 1.25rem;
  background: rgba(255, 250, 241, 0.88);
  box-shadow: 0 18px 44px rgba(72, 48, 33, 0.1);
}

.logo-live-copy h2 {
  margin: 0.2rem 0 0.5rem;
  font-size: clamp(1.45rem, 3vw, 2.25rem);
  line-height: 1.05;
}

.logo-live-copy p:last-child {
  margin: 0;
  color: var(--muted);
}

.logo-live-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.85rem;
}

.logo-live-grid article {
  display: grid;
  gap: 0.55rem;
  min-width: 0;
  border: 1px solid rgba(72, 48, 33, 0.14);
  border-radius: 1rem;
  padding: 0.7rem;
  background: rgba(255, 255, 255, 0.72);
}

.logo-live-grid article.is-recommended {
  border-color: rgba(47, 111, 94, 0.42);
  box-shadow: 0 14px 32px rgba(47, 111, 94, 0.14);
}

.logo-live-grid img {
  width: 100%;
  aspect-ratio: 1;
  border-radius: 0.8rem;
}

.logo-live-grid strong {
  font-size: 0.98rem;
}

.logo-live-grid span {
  color: var(--muted);
  font-size: 0.8rem;
  line-height: 1.35;
}

.site-search {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  min-width: 0;
  width: 100%;
  max-width: 42rem;
  overflow: hidden;
  border: 1px solid rgba(72, 48, 33, 0.12);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.74);
}

.site-search label {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
}

.site-search input,
.site-search button {
  border: 0;
  background: transparent;
  font: inherit;
}

.site-search input {
  min-width: 0;
  padding: 0.66rem 0.3rem 0.66rem 0.95rem;
  color: var(--text);
  outline: 0;
}

.site-search button {
  height: 100%;
  padding: 0 1rem;
  background: var(--green);
  color: #fffaf1;
  cursor: pointer;
  font-weight: 850;
}

.desktop-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  grid-column: 1 / -1;
  grid-row: 2;
  gap: clamp(0.25rem, 0.7vw, 0.75rem);
  min-width: 0;
  color: #5d5148;
  font-size: 0.9rem;
  white-space: nowrap;
}

.home-category-nav {
  justify-self: center;
  width: min(46rem, 100%);
  border: 1px solid rgba(72, 48, 33, 0.12);
  border-radius: 999px;
  padding: 0.15rem;
  background: rgba(255, 255, 255, 0.48);
}

.home-category-nav .mega-item {
  flex: 1;
  justify-content: center;
}

.home-category-nav .mega-item > a {
  gap: 0.42rem;
  justify-content: center;
  width: 100%;
  border: 0;
  border-radius: 999px;
  padding: 0.34rem 0.58rem;
}

.animal-nav-link img {
  width: 2rem;
  height: 2rem;
  object-fit: contain;
  filter: drop-shadow(0 8px 10px rgba(72, 48, 33, 0.2));
  animation: creatureFloat 4.2s ease-in-out infinite;
}

.animal-nav-link span {
  display: block;
}

.mega-item:nth-child(2) .animal-nav-link img {
  animation-delay: -0.8s;
}

.mega-item:nth-child(3) .animal-nav-link img {
  animation-delay: -1.6s;
}

.mega-item:nth-child(4) .animal-nav-link img {
  animation-delay: -2.4s;
}

.mega-item:nth-child(5) .animal-nav-link img {
  animation-delay: -3.2s;
}

.home-category-nav .mega-item:hover .animal-nav-link img,
.home-category-nav .mega-item:focus-within .animal-nav-link img {
  transform: translateY(-0.16rem) scale(1.08) rotate(-2deg);
}

.animated-category-stage {
  position: relative;
  max-width: var(--container);
  margin: 1rem auto 0;
  padding: clamp(1rem, 2.5vw, 1.25rem);
  border: 1px solid rgba(72, 48, 33, 0.14);
  border-radius: 1.35rem;
  background:
    radial-gradient(circle at 12% 16%, rgba(255, 249, 236, 0.92), transparent 16rem),
    linear-gradient(135deg, rgba(255, 250, 241, 0.92), rgba(247, 224, 190, 0.78));
  box-shadow: 0 22px 56px rgba(72, 48, 33, 0.12);
  overflow: hidden;
}

.animated-category-stage::before {
  content: "";
  position: absolute;
  inset: -40% auto auto -8rem;
  width: 20rem;
  height: 20rem;
  border-radius: 999px;
  background: rgba(216, 95, 71, 0.12);
}

.category-stage-copy {
  position: relative;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1rem;
}

.category-stage-copy h2 {
  max-width: 20ch;
  margin: 0.15rem 0 0;
  font-size: clamp(1.55rem, 3vw, 2.4rem);
  line-height: 1.04;
}

.animal-fx-grid {
  position: relative;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0.85rem;
  perspective: 1200px;
}

.animal-fx-card {
  position: relative;
  display: grid;
  grid-template-rows: minmax(9.5rem, auto) auto 1fr;
  gap: 0.58rem;
  min-height: 17rem;
  overflow: hidden;
  border: 1px solid rgba(72, 48, 33, 0.14);
  border-radius: 1.1rem;
  padding: 0.65rem;
  background:
    radial-gradient(circle at 50% 46%, rgba(255, 255, 255, 0.92), transparent 7.5rem),
    linear-gradient(145deg, rgba(255, 249, 236, 0.88), rgba(246, 210, 164, 0.56));
  box-shadow: 0 16px 34px rgba(72, 48, 33, 0.12);
  transform: translateZ(0);
  transform-style: preserve-3d;
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.animal-fx-card::before {
  content: "";
  position: absolute;
  left: 13%;
  right: 13%;
  top: 9.3rem;
  height: 1.35rem;
  border-radius: 999px;
  background: rgba(72, 48, 33, 0.18);
  filter: blur(0.65rem);
  transform: translateZ(-1px);
}

.animal-fx-card::after {
  content: "";
  position: absolute;
  inset: -40% auto auto -70%;
  width: 70%;
  height: 180%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.48), transparent);
  transform: rotate(18deg);
  animation: cardShine 5.2s ease-in-out infinite;
}

.animal-fx-card:hover,
.animal-fx-card:focus-visible {
  border-color: rgba(63, 110, 86, 0.42);
  box-shadow: 0 24px 56px rgba(72, 48, 33, 0.2);
  transform: translateY(-0.45rem) rotateX(5deg) rotateY(-4deg) scale(1.018);
}

.animal-fx-card img {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 10.8rem;
  object-fit: contain;
  object-position: center bottom;
  filter: drop-shadow(0 1.1rem 1rem rgba(72, 48, 33, 0.28));
  animation: animalCardFloat 4.8s ease-in-out infinite;
}

.bird-card img {
  transform-origin: 52% 80%;
}

.animal-fx-card strong,
.animal-fx-card span:last-child {
  position: relative;
  z-index: 1;
}

.animal-fx-card strong {
  font-size: 1.14rem;
  line-height: 1.1;
}

.animal-fx-card span:last-child {
  color: var(--muted);
  font-size: 0.82rem;
  line-height: 1.35;
}

.fx-light {
  position: absolute;
  right: -3rem;
  bottom: -3rem;
  z-index: 0;
  width: 8rem;
  height: 8rem;
  border-radius: 999px;
  background: rgba(216, 95, 71, 0.18);
  filter: blur(1px);
  animation: fxPulse 4.4s ease-in-out infinite;
}

.dog-card img {
  animation-delay: -0.7s;
}

.bird-card img {
  animation-delay: -1.4s;
}

.small-card img {
  animation-delay: -2.1s;
}

.help-card img {
  animation-delay: -2.8s;
}

.cat-card .fx-light,
.bird-card .fx-light {
  background: rgba(239, 162, 82, 0.2);
}

.dog-card .fx-light,
.help-card .fx-light {
  background: rgba(63, 110, 86, 0.18);
}

@keyframes creatureFloat {
  0%,
  100% {
    transform: translateY(0) rotate(0deg);
  }
  50% {
    transform: translateY(-0.16rem) rotate(-2deg);
  }
}

@keyframes animalCardFloat {
  0%,
  100% {
    transform: translateY(0) scale(1);
  }
  50% {
    transform: translateY(-0.28rem) scale(1.018);
  }
}

@keyframes fxPulse {
  0%,
  100% {
    opacity: 0.55;
    transform: scale(0.92);
  }
  50% {
    opacity: 0.88;
    transform: scale(1.18);
  }
}

@keyframes cardShine {
  0%,
  58% {
    transform: translateX(0) rotate(18deg);
  }
  88%,
  100% {
    transform: translateX(270%) rotate(18deg);
  }
}

.home-category-nav .mega-item:hover > a,
.home-category-nav .mega-item:focus-within > a {
  background: rgba(47, 111, 94, 0.1);
  color: var(--green);
}

.mega-nav {
  align-self: center;
  gap: 0;
}

.mega-item {
  position: relative;
  display: flex;
  align-items: center;
}

.mega-item > a {
  display: flex;
  align-items: center;
  height: 100%;
  min-height: 2rem;
  padding: 0 clamp(0.4rem, 0.62vw, 0.75rem);
  border-bottom: 3px solid transparent;
  font-weight: 850;
}

.mega-item:hover > a,
.mega-item:focus-within > a {
  border-bottom-color: var(--rust);
  color: var(--rust);
}

.mega-menu {
  position: absolute;
  top: calc(100% + 1px);
  left: 0;
  z-index: 50;
  display: grid;
  grid-template-columns: 18rem 18rem;
  gap: 1rem;
  width: 38rem;
  max-width: calc(100vw - 2rem);
  border: 1px solid var(--line);
  border-radius: 0 0 1.2rem 1.2rem;
  padding: 1rem;
  background: var(--panel-strong);
  box-shadow: 0 24px 60px rgba(72, 48, 33, 0.2);
  opacity: 0;
  pointer-events: none;
  transform: translateY(0.5rem);
  transition: opacity 140ms ease, transform 140ms ease;
}

.mega-item:nth-last-child(-n + 2) .mega-menu {
  left: auto;
  right: 0;
}

.mega-item:hover .mega-menu,
.mega-item:focus-within .mega-menu {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.mega-list {
  display: grid;
  gap: 0.2rem;
}

.mega-list a {
  border-radius: 0.75rem;
  padding: 0.72rem 0.8rem;
  color: var(--text);
  font-weight: 750;
}

.mega-list a:hover {
  background: rgba(200, 105, 63, 0.1);
  color: var(--rust);
}

.mega-feature {
  border-radius: 1rem;
  padding: 1rem;
  background: rgba(47, 111, 94, 0.1);
}

.mega-feature strong {
  display: block;
  margin-bottom: 0.35rem;
  color: var(--green);
  font-size: 1.15rem;
}

.mega-feature p {
  margin-bottom: 0;
  color: var(--muted);
}

.desktop-nav a:hover,
.footer-links a:hover,
.text-link:hover {
  color: var(--green);
}

.header-actions,
.hero-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.header-actions {
  flex-wrap: nowrap;
  justify-content: flex-end;
  white-space: nowrap;
}

.menu-button {
  display: none;
  min-height: 2.7rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.52);
  color: var(--text);
  cursor: pointer;
  font: inherit;
  font-weight: 850;
  padding: 0 1rem;
}

.mobile-menu {
  display: none;
  grid-column: 1 / -1;
  gap: 0.4rem;
  border: 1px solid var(--line);
  border-radius: 1rem;
  padding: 0.6rem;
  background: var(--panel-strong);
}

.mobile-menu a {
  border-radius: 0.75rem;
  padding: 0.8rem;
  font-weight: 800;
}

.mobile-menu a:hover {
  background: rgba(47, 111, 94, 0.08);
}

.mobile-menu.is-open {
  display: grid;
}

.primary-button,
.secondary-button,
.ghost-button,
.card-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.55rem;
  border-radius: 999px;
  padding: 0.68rem 1rem;
  border: 1px solid transparent;
  font-weight: 750;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.primary-button {
  background: linear-gradient(135deg, #2f6f5e, #167c80);
  color: #fffaf1;
  box-shadow: 0 16px 34px rgba(47, 111, 94, 0.2);
}

.secondary-button,
.ghost-button,
.card-button {
  background: rgba(255, 255, 255, 0.52);
  border-color: var(--line);
  color: var(--text);
}

.large {
  min-height: 2.9rem;
  padding-inline: 1.25rem;
}

.primary-button:hover,
.secondary-button:hover,
.ghost-button:hover,
.card-button:hover,
.category-card:hover {
  transform: translateY(-2px);
}

.home-simple {
  display: grid;
  gap: clamp(1rem, 2.2vw, 2rem);
}

.simple-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(20rem, 0.98fr);
  width: min(var(--container), calc(100% - clamp(2rem, 6vw, 5rem)));
  min-height: min(34rem, calc(100svh - 4rem));
  margin: 0 auto;
  gap: clamp(1.25rem, 3vw, 2.75rem);
  align-items: center;
  padding: clamp(1.25rem, 3vh, 2.75rem) 0;
}

.simple-hero-copy {
  max-width: 38rem;
}

.simple-hero h1 {
  max-width: 14ch;
  font-size: clamp(2.45rem, min(4.25vw, 6.8vh), 4.65rem);
  line-height: 1.02;
  letter-spacing: 0;
  margin-block: clamp(0.45rem, 1vh, 0.8rem);
}

.simple-hero .hero-text {
  max-width: 36rem;
  font-size: clamp(1rem, 1.35vw, 1.18rem);
  margin-bottom: clamp(0.8rem, 1.7vh, 1.25rem);
}

.hero-search-card {
  display: grid;
  gap: clamp(0.45rem, 1.1vh, 0.75rem);
  max-width: 35rem;
  margin: clamp(0.75rem, 1.5vh, 1.1rem) 0;
  border: 1px solid var(--line);
  border-radius: 1.2rem;
  padding: clamp(0.75rem, 1.5vh, 1rem);
  background: rgba(255, 255, 255, 0.62);
}

.hero-search-card strong {
  color: var(--green);
}

.hero-search-card div {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}

.hero-search-card a {
  border: 1px solid rgba(47, 111, 94, 0.18);
  border-radius: 999px;
  padding: 0.5rem 0.75rem;
  background: rgba(47, 111, 94, 0.07);
  color: var(--green);
  font-weight: 800;
}

.simple-hero-image {
  border: 1px solid var(--line);
  border-radius: 1.35rem;
  overflow: hidden;
  background: var(--paper);
  box-shadow: var(--shadow);
}

.simple-hero-image img {
  display: block;
  width: 100%;
  height: min(42vw, calc(100svh - 9rem), 31rem);
  min-height: 16rem;
  object-fit: cover;
}

.home-actions-simple {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
  width: min(var(--container), calc(100% - clamp(2rem, 6vw, 5rem)));
  margin: 0 auto;
  padding: 0;
}

.home-trust-metrics {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
  width: min(var(--container), calc(100% - clamp(2rem, 6vw, 5rem)));
  margin: 0 auto;
  padding: 0;
}

.home-trust-metrics article {
  border: 1px solid var(--line);
  border-radius: 1.1rem;
  padding: 1rem;
  background: rgba(255, 255, 255, 0.54);
}

.home-trust-metrics strong {
  display: block;
  color: var(--rust);
  font-size: clamp(1.7rem, 3vw, 2.4rem);
  line-height: 1;
}

.home-trust-metrics span {
  display: block;
  margin-top: 0.35rem;
  color: var(--muted);
  font-weight: 750;
}

.home-action-card {
  display: grid;
  gap: 0.75rem;
  border: 1px solid var(--line);
  border-radius: 1.25rem;
  padding: 0.85rem;
  background: var(--panel-strong);
  box-shadow: 0 14px 34px rgba(72, 48, 33, 0.11);
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.home-action-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 22px 44px rgba(72, 48, 33, 0.16);
}

.home-action-card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 1rem;
}

.home-action-card span {
  color: var(--rust);
  font-size: 0.82rem;
  font-weight: 900;
  text-transform: uppercase;
}

.home-action-card strong {
  font-size: 1.18rem;
  line-height: 1.15;
}

.home-action-card p {
  margin-bottom: 0;
  color: var(--muted);
}

.home-list-preview {
  padding: clamp(2rem, 5vw, 4rem) clamp(1rem, 4vw, 3.5rem);
  background: rgba(255, 255, 255, 0.32);
}

.home-list-preview > * {
  width: min(var(--container), 100%);
  margin-inline: auto;
}

.home-safety-simple {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  width: min(var(--container), calc(100% - clamp(2rem, 6vw, 5rem)));
  margin: 0 auto clamp(2rem, 5vw, 4rem);
  border: 1px solid var(--line);
  border-radius: 1.5rem;
  padding: clamp(1.2rem, 3vw, 2rem);
  background: #2f6f5e;
  color: #fffaf1;
  box-shadow: var(--shadow);
}

.home-safety-simple h2 {
  max-width: 16ch;
  font-size: clamp(1.8rem, 4vw, 3.4rem);
}

.home-safety-simple p,
.home-safety-simple .eyebrow {
  color: rgba(255, 250, 241, 0.82);
}

.home-safety-simple .primary-button {
  background: #fffaf1;
  color: var(--green);
  box-shadow: none;
}

.compact-header {
  grid-template-columns: auto minmax(0, 1fr) auto;
}

.compact-header .simple-nav {
  grid-column: auto;
  grid-row: auto;
}

.help-page {
  display: grid;
  gap: clamp(1.4rem, 3vw, 2.8rem);
  padding-bottom: clamp(2rem, 5vw, 4rem);
}

.help-hero,
.help-workspace,
.location-security {
  width: min(var(--container), calc(100% - clamp(2rem, 6vw, 5rem)));
  margin-inline: auto;
}

.help-hero {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(20rem, 1.1fr);
  gap: clamp(1.5rem, 4vw, 3.5rem);
  align-items: center;
  padding: clamp(2rem, 5vw, 4rem) 0 0;
}

.help-hero h1 {
  max-width: 15ch;
  font-size: clamp(2.4rem, min(4.6vw, 6.5vh), 4.8rem);
  line-height: 1.02;
}

.help-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.help-map-preview {
  position: relative;
  overflow: hidden;
  min-height: 28rem;
  border: 1px solid var(--line);
  border-radius: 1.5rem;
  background:
    radial-gradient(circle at 72% 28%, rgba(200, 105, 63, 0.28), transparent 10rem),
    linear-gradient(135deg, rgba(255, 250, 241, 0.96), rgba(158, 188, 145, 0.36));
  box-shadow: var(--shadow);
}

.map-grid {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(72, 48, 33, 0.08) 1px, transparent 1px),
    linear-gradient(180deg, rgba(72, 48, 33, 0.08) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: linear-gradient(180deg, black, transparent 92%);
}

.map-alert-card,
.map-task-card {
  position: absolute;
  z-index: 1;
  width: min(19rem, calc(100% - 2rem));
  border: 1px solid var(--line);
  border-radius: 1rem;
  padding: 1rem;
  background: rgba(255, 250, 241, 0.9);
  box-shadow: 0 18px 38px rgba(72, 48, 33, 0.16);
}

.map-alert-card {
  top: 1.25rem;
  left: 1.25rem;
}

.map-task-card {
  right: 1.25rem;
  bottom: 1.25rem;
}

.map-alert-card span,
.map-task-card span {
  color: var(--rust);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.map-alert-card strong,
.map-task-card strong {
  display: block;
  margin-top: 0.25rem;
  font-size: 1.2rem;
}

.map-alert-card p,
.map-task-card p {
  margin-bottom: 0;
  color: var(--muted);
}

.safe-radius {
  position: absolute;
  left: 42%;
  top: 42%;
  width: 9rem;
  height: 9rem;
  border: 2px solid rgba(47, 111, 94, 0.35);
  border-radius: 999px;
  background: rgba(47, 111, 94, 0.1);
  box-shadow: 0 0 0 2rem rgba(47, 111, 94, 0.06);
}

.help-flow-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
  width: min(var(--container), calc(100% - clamp(2rem, 6vw, 5rem)));
  margin-inline: auto;
}

.help-flow-grid article,
.help-report-form,
.help-task-panel,
.location-security,
.upload-box,
.location-box {
  border: 1px solid var(--line);
  border-radius: 1.15rem;
  background: var(--panel-strong);
  box-shadow: 0 14px 34px rgba(72, 48, 33, 0.1);
}

.help-flow-grid article {
  padding: 1rem;
}

.help-flow-grid span,
.task-timeline span {
  display: inline-grid;
  width: 2rem;
  height: 2rem;
  margin-bottom: 0.75rem;
  place-items: center;
  border-radius: 999px;
  background: rgba(47, 111, 94, 0.12);
  color: var(--green);
  font-weight: 900;
}

.help-flow-grid strong {
  display: block;
  font-size: 1.08rem;
}

.help-flow-grid p,
.form-heading p,
.task-timeline p,
.location-security p {
  color: var(--muted);
}

.help-workspace {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(20rem, 0.88fr);
  gap: 1rem;
  align-items: start;
}

.help-report-form,
.help-task-panel,
.location-security {
  padding: clamp(1rem, 2.4vw, 1.6rem);
}

.help-report-form {
  display: grid;
  gap: 1rem;
}

.form-heading h2,
.help-task-panel h2,
.location-security h2 {
  font-size: clamp(1.75rem, 3vw, 2.6rem);
}

.help-report-form fieldset {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.65rem;
  margin: 0;
  border: 0;
  padding: 0;
}

.help-report-form legend {
  grid-column: 1 / -1;
  margin-bottom: 0.35rem;
  font-weight: 900;
}

.help-report-form label {
  display: grid;
  gap: 0.4rem;
  color: var(--text);
  font-weight: 800;
}

.help-report-form fieldset label,
.privacy-confirm label {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  border: 1px solid var(--line);
  border-radius: 0.85rem;
  padding: 0.8rem;
  background: rgba(255, 255, 255, 0.52);
}

.form-grid,
.upload-location-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.85rem;
}

.help-report-form input,
.help-report-form select,
.help-report-form textarea {
  width: 100%;
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: 0.85rem;
  padding: 0.78rem 0.85rem;
  background: rgba(255, 255, 255, 0.72);
  color: var(--text);
  font: inherit;
}

.help-report-form textarea {
  resize: vertical;
}

.upload-box,
.location-box {
  display: grid;
  gap: 0.55rem;
  padding: 1rem;
}

.upload-box p,
.location-box p {
  margin-bottom: 0;
  color: var(--muted);
}

.task-timeline {
  display: grid;
  gap: 0.8rem;
}

.task-timeline article {
  border-bottom: 1px solid var(--line);
  padding-bottom: 0.8rem;
}

.task-timeline article:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.location-security {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(20rem, 1.1fr);
  gap: 1rem;
  align-items: center;
  background: #2f6f5e;
  color: #fffaf1;
}

.location-security p,
.location-security .eyebrow {
  color: rgba(255, 250, 241, 0.82);
}

.access-table {
  display: grid;
  gap: 0.65rem;
}

.access-table div {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  border: 1px solid rgba(255, 250, 241, 0.22);
  border-radius: 0.85rem;
  padding: 0.8rem;
  background: rgba(255, 250, 241, 0.08);
}

.access-table span {
  color: rgba(255, 250, 241, 0.78);
  text-align: right;
}

.portal-hero {
  display: grid;
  grid-template-columns: 18rem minmax(0, 1fr) 18rem;
  gap: 1.25rem;
  padding: 1.5rem clamp(1rem, 4vw, 3.5rem) 2rem;
  background:
    linear-gradient(180deg, rgba(255, 248, 236, 0.86), rgba(247, 239, 227, 0.72)),
    radial-gradient(circle at 50% 0%, rgba(216, 155, 61, 0.18), transparent 30rem);
}

.shop-sidebar,
.portal-main,
.portal-action-panel {
  border: 1px solid var(--line);
  border-radius: 1.2rem;
  background: var(--panel-strong);
  box-shadow: var(--shadow);
}

.shop-sidebar {
  position: sticky;
  top: 5.5rem;
  align-self: start;
  overflow: hidden;
}

.sidebar-title {
  padding: 1rem;
  background: #2f6f5e;
  color: #fffaf1;
}

.sidebar-title span {
  display: block;
  font-size: 0.78rem;
  font-weight: 800;
  opacity: 0.8;
  text-transform: uppercase;
}

.sidebar-title strong {
  display: block;
  margin-top: 0.2rem;
  font-size: 1.1rem;
}

.shop-sidebar a {
  display: grid;
  gap: 0.15rem;
  padding: 0.86rem 1rem;
  border-bottom: 1px solid var(--line);
  transition: background 160ms ease, color 160ms ease, padding 160ms ease;
}

.shop-sidebar a:last-child {
  border-bottom: 0;
}

.shop-sidebar a:hover {
  padding-left: 1.18rem;
  background: rgba(47, 111, 94, 0.08);
  color: var(--green);
}

.shop-sidebar span {
  font-weight: 850;
}

.shop-sidebar small {
  color: var(--muted);
  font-size: 0.78rem;
}

.portal-main {
  min-height: 34rem;
  padding: clamp(1.5rem, 4vw, 3rem);
  background:
    linear-gradient(135deg, rgba(255, 250, 241, 0.96), rgba(247, 223, 199, 0.82)),
    linear-gradient(90deg, rgba(72, 48, 33, 0.045) 1px, transparent 1px),
    linear-gradient(180deg, rgba(72, 48, 33, 0.045) 1px, transparent 1px);
  background-size: auto, 32px 32px, 32px 32px;
}

.portal-main h1 {
  max-width: 17ch;
  font-size: clamp(2.65rem, 5.4vw, 5.4rem);
}

.portal-main .hero-text {
  max-width: 55rem;
}

.portal-promo-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.9rem;
  margin-top: 2rem;
}

.portal-promo-grid article {
  min-height: 11rem;
  border: 1px solid rgba(72, 48, 33, 0.14);
  border-radius: 1rem;
  padding: 1rem;
  background: rgba(255, 255, 255, 0.54);
}

.portal-promo-grid span {
  display: inline-grid;
  width: 2.1rem;
  height: 2.1rem;
  margin-bottom: 0.75rem;
  place-items: center;
  border-radius: 999px;
  background: #c8693f;
  color: #fffaf1;
  font-weight: 900;
}

.portal-promo-grid strong {
  display: block;
  margin-bottom: 0.35rem;
  font-size: 1.05rem;
}

.portal-promo-grid p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 0.94rem;
}

.portal-action-panel {
  align-self: start;
  padding: 0.9rem;
}

.action-card,
.action-link {
  display: grid;
  gap: 0.35rem;
  border-radius: 1rem;
  padding: 1rem;
}

.action-card.highlight {
  margin-bottom: 0.75rem;
  background: #2f6f5e;
  color: #fffaf1;
}

.action-card span {
  font-size: 0.78rem;
  font-weight: 850;
  opacity: 0.8;
  text-transform: uppercase;
}

.action-card p {
  margin-bottom: 0;
  color: rgba(255, 250, 241, 0.82);
  font-size: 0.92rem;
}

.action-link {
  border: 1px solid var(--line);
  margin-top: 0.65rem;
  background: rgba(255, 255, 255, 0.48);
}

.action-link:hover {
  background: rgba(216, 155, 61, 0.14);
}

.action-link span {
  color: var(--muted);
  font-size: 0.86rem;
}

.hero-section {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(20rem, 0.95fr);
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
  overflow: hidden;
  min-height: calc(100vh - 5rem);
  padding: clamp(4rem, 8vw, 7rem) clamp(1rem, 4vw, 3.5rem) 3rem;
}

.hero-section::before {
  content: "";
  position: absolute;
  inset: 1.2rem;
  z-index: 0;
  border: 1px solid rgba(72, 48, 33, 0.1);
  border-radius: 2rem;
  background:
    linear-gradient(90deg, rgba(72, 48, 33, 0.04) 1px, transparent 1px),
    linear-gradient(180deg, rgba(72, 48, 33, 0.04) 1px, transparent 1px);
  background-size: 28px 28px;
  pointer-events: none;
}

.hero-copy,
.hero-visual,
.section,
.site-footer {
  position: relative;
  z-index: 1;
}

.eyebrow {
  margin: 0 0 0.8rem;
  color: var(--rust);
  font-size: 0.78rem;
  font-weight: 850;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 14ch;
  margin-bottom: 1.25rem;
  font-size: clamp(3.1rem, 7vw, 6.7rem);
  line-height: 0.94;
}

h2 {
  margin-bottom: 0.9rem;
  font-size: clamp(2rem, 4vw, 4rem);
  line-height: 1.02;
}

h3 {
  margin-bottom: 0.35rem;
  font-size: 1.25rem;
}

.hero-text,
.section-heading p,
.safety-copy p,
.market-teaser p,
.site-footer p {
  color: var(--muted);
}

.hero-text {
  max-width: 44rem;
  margin-bottom: 1.75rem;
  font-size: clamp(1.05rem, 2vw, 1.3rem);
}

.text-link {
  color: var(--muted);
  font-weight: 750;
}

.hero-rules {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-top: 1.55rem;
}

.hero-rules span,
.tag-row span,
.market-list span {
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.48);
  color: var(--muted);
  padding: 0.45rem 0.72rem;
  font-size: 0.85rem;
}

.hero-visual {
  min-height: 34rem;
}

.floating-card,
.trust-strip article,
.category-card,
.category-row,
.listing-card,
.safety-grid article,
.dashboard-shell,
.market-teaser {
  border: 1px solid var(--line);
  background: var(--panel);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}

.floating-card {
  position: absolute;
  border-radius: 1.15rem;
  padding: 1rem;
}

.main-animal {
  top: 10%;
  left: 7%;
  width: min(22rem, 78vw);
  transform: rotate(-3deg);
}

.animal-photo,
.listing-image {
  border-radius: 0.9rem;
  background:
    linear-gradient(135deg, rgba(200, 105, 63, 0.22), rgba(47, 111, 94, 0.16)),
    radial-gradient(circle at 35% 30%, rgba(255, 255, 255, 0.55), transparent 2rem),
    #161c30;
}

.animal-photo {
  height: 12rem;
  margin-bottom: 1rem;
}

.animal-photo-one {
  background:
    radial-gradient(circle at 48% 38%, #f5f0de 0 1.4rem, transparent 1.48rem),
    radial-gradient(circle at 38% 53%, #24202a 0 1.05rem, transparent 1.12rem),
    radial-gradient(circle at 59% 53%, #24202a 0 1.05rem, transparent 1.12rem),
    linear-gradient(135deg, #d99b3d, #2f6f5e 58%, #e88961);
}

.process-card {
  right: 2%;
  top: 4%;
  width: 17rem;
}

.process-card ol {
  margin: 0.7rem 0 0;
  padding-left: 1.15rem;
  color: var(--muted);
}

.mini-label {
  color: var(--green);
  font-size: 0.8rem;
  font-weight: 800;
}

.privacy-card {
  right: 8%;
  bottom: 11%;
  width: min(21rem, 82vw);
}

.shield {
  display: grid;
  width: 2.25rem;
  height: 2.25rem;
  margin-bottom: 0.65rem;
  place-items: center;
  border-radius: 0.75rem;
  background: rgba(47, 111, 94, 0.12);
  color: var(--green);
}

.paw-trail {
  position: absolute;
  left: 26%;
  bottom: 17%;
  display: flex;
  gap: 1rem;
  color: rgba(200, 105, 63, 0.55);
  font-size: 2.5rem;
  transform: rotate(-18deg);
  animation: floatTrail 4s ease-in-out infinite;
}

.hero-glow {
  position: absolute;
  border-radius: 999px;
  filter: blur(26px);
  opacity: 0.7;
}

.hero-glow-one {
  width: 22rem;
  height: 22rem;
  right: 18%;
  top: 16%;
  background: rgba(47, 111, 94, 0.14);
}

.hero-glow-two {
  width: 18rem;
  height: 18rem;
  right: 2%;
  bottom: 9%;
  background: rgba(200, 105, 63, 0.14);
}

.status-pill {
  display: inline-flex;
  margin-bottom: 0.7rem;
  border-radius: 999px;
  padding: 0.35rem 0.65rem;
  font-size: 0.78rem;
  font-weight: 850;
}

.urgent {
  background: rgba(198, 75, 85, 0.12);
  color: #9d3340;
}

.normal {
  background: rgba(47, 111, 94, 0.12);
  color: var(--green);
}

.review {
  background: rgba(217, 155, 61, 0.16);
  color: var(--amber);
}

.trust-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
  padding: 0 clamp(1rem, 4vw, 3.5rem) 3rem;
}

.trust-strip article {
  border-radius: 1.2rem;
  padding: 1.1rem;
}

.trust-strip span {
  display: block;
  margin-top: 0.4rem;
  color: var(--soft);
  font-size: 0.92rem;
}

.commerce-map {
  background: rgba(255, 255, 255, 0.28);
}

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

.commerce-columns article {
  border: 1px solid var(--line);
  border-radius: 1.15rem;
  padding: 1.15rem;
  background: var(--panel-strong);
  box-shadow: 0 16px 36px rgba(72, 48, 33, 0.1);
}

.commerce-columns h3 {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  margin-bottom: 0.85rem;
}

.commerce-columns h3::before {
  content: "";
  width: 0.75rem;
  height: 0.75rem;
  border-radius: 999px;
  background: var(--rust);
}

.commerce-columns ul {
  display: grid;
  gap: 0.45rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.commerce-columns li {
  border-top: 1px solid rgba(72, 48, 33, 0.1);
  padding-top: 0.45rem;
  color: var(--muted);
}

.section {
  padding: clamp(3.5rem, 7vw, 6rem) clamp(1rem, 4vw, 3.5rem);
}

.page-shell {
  display: grid;
  grid-template-columns: 18rem minmax(0, 1fr);
  gap: 1.25rem;
  min-height: calc(100vh - 5rem);
  padding: 1.5rem clamp(1rem, 4vw, 3.5rem) 3rem;
}

.page-sidebar,
.page-content {
  border: 1px solid var(--line);
  border-radius: 1.2rem;
  background: var(--panel-strong);
  box-shadow: var(--shadow);
}

.page-sidebar {
  position: sticky;
  top: 5.5rem;
  align-self: start;
  display: grid;
  gap: 0.2rem;
  overflow: hidden;
}

.page-sidebar strong {
  display: block;
  padding: 1rem;
  background: var(--green);
  color: #fffaf1;
}

.page-sidebar a,
.page-sidebar span {
  border-bottom: 1px solid var(--line);
  padding: 0.8rem 1rem;
  color: var(--muted);
  font-weight: 750;
}

.page-sidebar a:hover {
  background: rgba(47, 111, 94, 0.08);
  color: var(--green);
}

.page-content {
  padding: clamp(1.25rem, 3vw, 2rem);
}

.page-content h1 {
  max-width: 15ch;
  font-size: clamp(2.2rem, 5vw, 4.8rem);
}

.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin: 1.4rem 0 1.6rem;
}

.filter-bar button {
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.56);
  color: var(--text);
  cursor: pointer;
  font: inherit;
  font-weight: 800;
  padding: 0.65rem 0.9rem;
}

.section-heading {
  max-width: 54rem;
  margin-bottom: 2rem;
}

.section-heading.compact {
  max-width: 34rem;
}

.steps-grid,
.category-grid,
.listing-grid,
.safety-grid {
  display: grid;
  gap: 1rem;
}

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

.steps-grid article {
  min-height: 12rem;
  border-top: 1px solid var(--line);
  padding-top: 1rem;
}

.steps-grid span,
.category-card span {
  color: var(--rust);
  font-weight: 900;
}

.steps-grid p,
.category-card p,
.listing-card p,
.privacy-card p,
.safety-grid span {
  color: var(--muted);
}

.category-section {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.36), rgba(255, 248, 236, 0.18)),
    radial-gradient(circle at 8% 20%, rgba(47, 111, 94, 0.08), transparent 18rem);
}

.category-heading {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(20rem, 1fr);
  gap: 2rem;
  align-items: end;
  max-width: none;
  margin-bottom: 2.25rem;
}

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

.category-card {
  min-height: 15rem;
  border-radius: 1.35rem;
  padding: 1.25rem;
  transition: transform 180ms ease, border-color 180ms ease;
}

.category-list {
  display: grid;
  gap: 0.85rem;
}

.category-row {
  display: grid;
  grid-template-columns: 3.5rem 3.25rem minmax(0, 1fr) auto;
  gap: 1rem;
  align-items: center;
  border-radius: 1.1rem;
  padding: 1rem;
  background:
    linear-gradient(90deg, rgba(255, 248, 236, 0.96), rgba(255, 255, 255, 0.72)),
    var(--panel);
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.category-row:hover {
  transform: translateY(-2px);
  border-color: rgba(47, 111, 94, 0.34);
  box-shadow: 0 18px 42px rgba(72, 48, 33, 0.14);
}

.category-index {
  color: var(--rust);
  font-weight: 950;
  font-size: 1.05rem;
}

.category-icon {
  display: grid;
  width: 3.25rem;
  height: 3.25rem;
  place-items: center;
  border-radius: 0.9rem;
  background: #2f6f5e;
  color: #fffaf1;
  font-weight: 900;
}

.category-row h3,
.category-row p {
  margin-bottom: 0;
}

.category-row a,
.category-row > span:last-child {
  border: 1px solid rgba(47, 111, 94, 0.22);
  border-radius: 999px;
  padding: 0.55rem 0.85rem;
  background: rgba(47, 111, 94, 0.08);
  color: var(--green);
  font-weight: 850;
  white-space: nowrap;
}

.category-card:hover {
  border-color: rgba(47, 111, 94, 0.34);
}

.reveal-card {
  opacity: 0;
  transform: translateY(1rem);
  transition: opacity 520ms ease, transform 520ms ease;
}

.reveal-card.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.category-card a {
  color: var(--green);
  font-weight: 800;
}

.listings-section {
  background: rgba(255, 255, 255, 0.28);
}

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

.listing-card {
  overflow: hidden;
  border-radius: 1.45rem;
}

.listing-image {
  height: 15rem;
  border-radius: 0;
}

.listing-one {
  background:
    radial-gradient(circle at 50% 36%, #fff1bf 0 2.2rem, transparent 2.3rem),
    radial-gradient(circle at 42% 55%, #111 0 0.7rem, transparent 0.75rem),
    radial-gradient(circle at 58% 55%, #111 0 0.7rem, transparent 0.75rem),
    linear-gradient(135deg, #2f6f5e, #e88961);
}

.listing-two {
  background:
    radial-gradient(circle at 50% 42%, #9f6d3f 0 2.5rem, transparent 2.6rem),
    radial-gradient(circle at 40% 31%, #6b452b 0 1rem, transparent 1.05rem),
    radial-gradient(circle at 60% 31%, #6b452b 0 1rem, transparent 1.05rem),
    linear-gradient(135deg, #d99b3d, #167c80);
}

.listing-three {
  background:
    radial-gradient(circle at 50% 38%, #1a1d27 0 2rem, transparent 2.1rem),
    radial-gradient(circle at 42% 33%, #1a1d27 0 1.1rem, transparent 1.17rem),
    radial-gradient(circle at 58% 33%, #1a1d27 0 1.1rem, transparent 1.17rem),
    linear-gradient(135deg, #f4c06e, #c8693f);
}

.listing-content {
  padding: 1.15rem;
}

.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin: 1rem 0;
}

.tag-row span {
  font-size: 0.76rem;
}

.card-button {
  width: 100%;
}

.listing-detail-section {
  background: rgba(255, 255, 255, 0.28);
}

.breadcrumb {
  max-width: 76rem;
  margin: 0 auto 1rem;
  color: var(--green);
  font-weight: 750;
}

.listing-detail-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(20rem, 25rem);
  gap: clamp(1rem, 2vw, 1.5rem);
  max-width: 82rem;
  margin: 0 auto;
}

.detail-main,
.safe-contact-card {
  border: 1px solid var(--line);
  border-radius: 1.2rem;
  background: var(--panel-strong);
  box-shadow: var(--shadow);
}

.detail-main {
  min-width: 0;
  overflow: hidden;
  padding: 1.25rem;
}

.detail-title-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1rem;
}

.detail-title-row h1 {
  max-width: 18ch;
  margin-bottom: 0;
  font-size: clamp(2rem, 3.2vw, 3.15rem);
  line-height: 1.05;
}

.privacy-badge {
  flex: 0 0 auto;
  border: 1px solid rgba(47, 111, 94, 0.18);
  border-radius: 999px;
  padding: 0.55rem 0.8rem;
  background: rgba(47, 111, 94, 0.08);
  color: var(--green);
  font-size: 0.85rem;
  font-weight: 850;
}

.detail-content-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(14rem, 0.75fr);
  gap: 1.25rem;
  min-width: 0;
}

.detail-gallery,
.detail-info {
  min-width: 0;
}

.detail-photo {
  min-height: clamp(20rem, 38vw, 28rem);
  border-radius: 1rem;
}

.thumbnail-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.6rem;
  margin-top: 0.7rem;
}

.thumbnail-row span {
  min-height: 5rem;
  border: 2px solid rgba(47, 111, 94, 0.2);
  border-radius: 0.7rem;
}

.detail-info dl {
  margin: 0;
}

.detail-info div {
  display: grid;
  grid-template-columns: minmax(6rem, 0.8fr) minmax(0, 1fr);
  gap: 0.8rem;
  border-bottom: 1px dashed rgba(72, 48, 33, 0.18);
  padding: 0.7rem 0;
}

.detail-info dt {
  color: var(--muted);
  font-weight: 800;
}

.detail-info dd {
  margin: 0;
  font-weight: 850;
  min-width: 0;
  overflow-wrap: anywhere;
}

.safe-contact-card {
  align-self: start;
  position: sticky;
  top: 6rem;
  display: grid;
  gap: 1rem;
  padding: clamp(1.1rem, 2vw, 1.35rem);
}

.safe-contact-card h2 {
  margin-bottom: 0.65rem;
  font-size: clamp(1.65rem, 2.4vw, 2.25rem);
}

.safe-contact-card p {
  margin-bottom: 0;
  color: var(--muted);
}

.safe-action-stack {
  display: grid;
  gap: 0.7rem;
}

.safe-action-stack .primary-button {
  width: 100%;
}

.report-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.65rem;
  border: 1px dashed rgba(198, 75, 85, 0.36);
  border-radius: 999px;
  color: #8d2d37;
  font-weight: 850;
}

.report-link:hover {
  background: rgba(198, 75, 85, 0.08);
}

.warning-box {
  display: grid;
  gap: 0.35rem;
  border-radius: 1rem;
  padding: 1rem;
  background: rgba(198, 75, 85, 0.1);
  color: #8d2d37;
}

.warning-box span {
  color: #7b4346;
}

.safety-section {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 2rem;
  align-items: start;
}

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

.safety-grid article {
  min-height: 10rem;
  border-radius: 1.25rem;
  padding: 1.15rem;
}

.safety-grid span {
  display: block;
  margin-top: 0.55rem;
}

.dashboard-preview {
  background:
    radial-gradient(circle at 80% 30%, rgba(47, 111, 94, 0.08), transparent 23rem),
    rgba(255, 255, 255, 0.2);
}

.dashboard-shell {
  display: grid;
  grid-template-columns: 16rem 1fr;
  overflow: hidden;
  border-radius: 1.6rem;
}

.dashboard-shell aside {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  padding: 1.25rem;
  background: rgba(255, 255, 255, 0.04);
  border-right: 1px solid var(--line);
}

.dashboard-shell aside a,
.dashboard-shell aside span {
  color: var(--muted);
}

.dashboard-main {
  padding: 1.25rem;
}

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

.stat-row article {
  border: 1px solid var(--line);
  border-radius: 1rem;
  padding: 1rem;
  background: rgba(255, 255, 255, 0.045);
}

.stat-row span {
  display: block;
  color: var(--rust);
  font-size: 2rem;
  font-weight: 900;
}

.timeline {
  display: grid;
  gap: 0.85rem;
  margin-top: 1.2rem;
}

.timeline div {
  display: flex;
  gap: 0.8rem;
  align-items: start;
  border: 1px solid var(--line);
  border-radius: 1rem;
  padding: 0.9rem;
}

.timeline span {
  width: 0.7rem;
  height: 0.7rem;
  flex: 0 0 auto;
  margin-top: 0.45rem;
  border-radius: 999px;
  background: var(--coral);
}

.timeline p {
  margin-bottom: 0;
  color: var(--muted);
}

.market-teaser {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  margin: clamp(2rem, 4vw, 3.5rem);
  border-radius: 1.7rem;
}

.market-list {
  display: flex;
  flex-wrap: wrap;
  align-content: center;
  gap: 0.8rem;
}

.site-footer {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  padding: 2rem clamp(1rem, 4vw, 3.5rem);
  border-top: 1px solid var(--line);
  background: rgba(255, 248, 236, 0.64);
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: flex-end;
  color: var(--muted);
}

.legal-note {
  grid-column: 1 / -1;
  margin-bottom: 0;
  color: var(--soft);
  font-size: 0.88rem;
}

@keyframes floatTrail {
  0%,
  100% {
    transform: translateY(0) rotate(-18deg);
  }
  50% {
    transform: translateY(-0.9rem) rotate(-18deg);
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.001ms !important;
    transition-duration: 0.001ms !important;
  }
}

@media (max-width: 1320px) {
  .desktop-nav {
    display: none;
  }

  .site-header {
    grid-template-columns: auto minmax(12rem, 1fr) auto;
  }

  .site-search {
    grid-column: auto;
    order: initial;
  }

  .header-actions {
    justify-content: flex-end;
  }

  .menu-button {
    display: inline-flex;
    align-items: center;
  }

  .compact-header .simple-nav {
    display: flex;
  }
}

@media (max-width: 900px) {
  .site-header {
    grid-template-columns: 1fr auto;
  }

  .site-search {
    grid-column: 1 / -1;
    order: 3;
  }

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

  .page-shell {
    grid-template-columns: 1fr;
  }

  .page-sidebar {
    position: static;
  }

  .shop-sidebar {
    position: static;
  }

  .shop-sidebar {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .sidebar-title {
    grid-column: 1 / -1;
  }

  .portal-promo-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .home-safety-simple {
    grid-template-columns: 1fr;
  }

  .simple-hero {
    display: grid;
    grid-template-columns: minmax(0, 0.95fr) minmax(18rem, 1.05fr);
    width: min(var(--container), calc(100% - 2rem));
    min-height: auto;
    padding-block: clamp(0.9rem, 2.5vh, 1.8rem);
  }

  .simple-hero h1 {
    max-width: 15ch;
    font-size: clamp(2.15rem, min(4.4vw, 5.8vh), 3.8rem);
  }

  .simple-hero-image img {
    height: min(34vw, calc(100svh - 13rem), 23rem);
  }

  .home-actions-simple {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .home-trust-metrics {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

  .home-safety-simple {
    display: grid;
    align-items: start;
  }

  .hero-section,
  .category-heading,
  .listing-detail-layout,
  .safety-section,
  .market-teaser {
    grid-template-columns: 1fr;
  }

  .detail-content-grid {
    grid-template-columns: minmax(0, 1fr) minmax(13rem, 0.75fr);
  }

  .safe-contact-card {
    position: static;
  }

  .hero-visual {
    min-height: 28rem;
  }

  .trust-strip,
  .category-grid,
  .listing-grid,
  .commerce-columns {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

  .compact-header .simple-nav {
    display: none;
  }

  .help-hero,
  .help-workspace,
  .location-security {
    grid-template-columns: 1fr;
  }

  .help-flow-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .help-map-preview {
    min-height: 22rem;
  }
}

@media (max-width: 820px) {
  .simple-hero {
    grid-template-columns: 1fr;
    width: min(42rem, calc(100% - 2rem));
  }

  .animated-category-stage {
    width: min(42rem, calc(100% - 2rem));
    padding: 0.9rem;
  }

  .category-stage-copy {
    display: block;
  }

  .animal-fx-grid {
    display: flex;
    gap: 0.75rem;
    overflow-x: auto;
    padding: 0.15rem 0 0.55rem;
    scroll-snap-type: x mandatory;
  }

  .animal-fx-card {
    flex: 0 0 min(78vw, 18rem);
    min-height: 16rem;
    scroll-snap-align: start;
  }

  .simple-hero-image img {
    height: min(45vw, 17rem);
  }
}

@media (max-width: 720px) {
  .site-header,
  .header-actions {
    align-items: stretch;
  }

  .site-header {
    position: relative;
    grid-template-columns: 1fr;
    min-height: auto;
    gap: 0.55rem;
    padding: 0.65rem 1rem;
  }

  .site-header > .brand,
  .site-header > .site-search,
  .site-header > .header-actions {
    grid-column: 1 / -1;
  }

  .site-search {
    max-width: none;
  }

  .header-actions {
    width: 100%;
    flex-wrap: wrap;
    justify-content: stretch;
    white-space: normal;
  }

  .compact-header {
    grid-template-columns: 1fr;
  }

  .compact-header .brand {
    justify-self: start;
  }

  .compact-header .header-actions {
    grid-column: 1 / -1;
    width: 100%;
    justify-content: stretch;
  }

  .header-actions a {
    flex: 1;
    min-width: 0;
  }

  .brand-mark {
    width: 2.35rem;
    height: 2.35rem;
  }

  .brand small {
    display: none;
  }

  .site-search input {
    padding-block: 0.62rem;
  }

  .site-search button {
    padding-inline: 0.85rem;
  }

  .primary-button,
  .secondary-button,
  .ghost-button,
  .card-button,
  .menu-button {
    min-height: 2.45rem;
    padding: 0.62rem 0.8rem;
  }

  h1 {
    font-size: clamp(2rem, 10vw, 3.2rem);
  }

  .portal-hero {
    padding-top: 1rem;
  }

  .shop-sidebar,
  .portal-promo-grid,
  .portal-action-panel {
    grid-template-columns: 1fr;
  }

  .portal-main h1 {
    font-size: clamp(2.35rem, 13vw, 3.9rem);
  }

  .simple-hero {
    gap: 0.75rem;
    padding-top: 0.85rem;
    padding-bottom: 1rem;
  }

  .simple-hero h1 {
    max-width: 16ch;
    font-size: clamp(2rem, 8vw, 2.75rem);
    line-height: 1.04;
  }

  .simple-hero .hero-text {
    margin-bottom: 0.65rem;
    font-size: 0.98rem;
  }

  .simple-hero-image img {
    height: min(36vw, 10.5rem);
    min-height: 8rem;
  }

  .hero-search-card {
    margin: 0.65rem 0;
    padding: 0.72rem;
  }

  .hero-search-card div,
  .hero-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.45rem;
  }

  .hero-search-card a,
  .hero-actions a {
    width: 100%;
    text-align: center;
  }

  .home-actions-simple {
    grid-template-columns: 1fr;
  }

  .home-trust-metrics {
    grid-template-columns: 1fr;
  }

  .logo-live-preview {
    grid-template-columns: 1fr;
    margin-top: 0.75rem;
    padding: 1rem;
  }

  .logo-live-grid {
    display: flex;
    gap: 0.75rem;
    overflow-x: auto;
    padding: 0.15rem 0 0.4rem;
    scroll-snap-type: x mandatory;
  }

  .logo-live-grid article {
    flex: 0 0 min(72vw, 15rem);
    scroll-snap-align: start;
  }

  .hero-section {
    min-height: auto;
    padding-top: 2.5rem;
  }

  .hero-visual {
    min-height: 35rem;
  }

  .main-animal,
  .process-card,
  .privacy-card {
    left: 0;
    right: auto;
    width: 100%;
    transform: none;
  }

  .process-card {
    top: 16rem;
  }

  .privacy-card {
    bottom: 0;
  }

  .paw-trail {
    display: none;
  }

  .trust-strip,
  .steps-grid,
  .category-grid,
  .category-row,
  .listing-grid,
  .commerce-columns,
  .safety-grid,
  .dashboard-shell,
  .stat-row,
  .site-footer,
  .help-flow-grid,
  .form-grid,
  .upload-location-grid,
  .help-report-form fieldset {
    grid-template-columns: 1fr;
  }

  .help-hero,
  .help-workspace,
  .location-security,
  .help-flow-grid {
    width: min(100% - 2rem, 42rem);
  }

  .help-hero h1 {
    font-size: clamp(2rem, 8vw, 2.75rem);
  }

  .help-map-preview {
    min-height: 18rem;
  }

  .map-alert-card,
  .map-task-card {
    position: relative;
    inset: auto;
    margin: 1rem;
  }

  .safe-radius {
    left: auto;
    right: 2rem;
    top: 8rem;
    width: 6rem;
    height: 6rem;
  }

  .access-table div {
    display: grid;
  }

  .access-table span {
    text-align: left;
  }

  .dashboard-shell aside {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .category-row {
    grid-template-columns: 2.5rem 1fr;
  }

  .category-row .category-icon {
    grid-row: span 2;
  }

  .category-row a,
  .category-row > span:last-child {
    grid-column: 1 / -1;
    justify-content: center;
    text-align: center;
  }

  .footer-links {
    justify-content: flex-start;
  }

  .detail-photo {
    min-height: 18rem;
  }

  .detail-content-grid,
  .detail-title-row {
    grid-template-columns: 1fr;
  }

  .detail-title-row {
    display: grid;
  }

  .detail-info div {
    grid-template-columns: 1fr;
    gap: 0.15rem;
  }
}

@media (max-width: 560px) {
  .site-header {
    padding-block: 0.55rem;
  }

  .animal-fx-card {
    flex-basis: min(82vw, 17rem);
  }

  .simple-hero {
    padding-top: 0.65rem;
  }

  .simple-hero h1 {
    font-size: clamp(1.85rem, 7.2vw, 2.35rem);
  }

  .simple-hero-image img {
    height: min(22vw, 7rem);
    min-height: 6rem;
  }

  .hero-search-card {
    gap: 0.5rem;
    margin: 0.5rem 0;
  }
}
