@import url("https://fonts.googleapis.com/css2?family=Fredoka:wght@500;600;700&family=Nunito:wght@500;600;700;800&display=swap");

:root {
  --ink: #22211f;
  --muted: #665f57;
  --line: #e4ded5;
  --paper: #fbfaf7;
  --soft: #f0e8dc;
  --sage: #6e7f65;
  --rose: #b36b62;
  --gold: #b7904c;
  --sky: #dce8ec;
  --white: #fffdf9;
  --shadow: 0 18px 50px rgba(48, 41, 33, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.55;
}

a {
  color: inherit;
}

img {
  display: block;
  width: 100%;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 112px;
  padding: 14px clamp(20px, 4vw, 64px);
  background: rgba(251, 250, 247, 0.92);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(16px);
  transition: min-height 220ms ease, padding 220ms ease, box-shadow 220ms ease;
}

.site-header.compact {
  min-height: 70px;
  padding-block: 8px;
  box-shadow: 0 10px 24px rgba(48, 41, 33, 0.1);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.brand-logo {
  width: 120px;
  height: 76px;
  border-radius: 6px;
  object-fit: cover;
  transition: width 220ms ease, height 220ms ease;
}

.brand strong,
.brand small {
  display: block;
}

.brand strong {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 62px;
  line-height: 1;
  transition: font-size 220ms ease;
}

.brand small {
  margin-top: 4px;
  color: var(--muted);
  font-size: 12px;
  transition: font-size 220ms ease, margin 220ms ease;
}

.site-header.compact .brand-logo {
  width: 68px;
  height: 43px;
}

.site-header.compact .brand strong {
  font-size: 30px;
}

.site-header.compact .brand small {
  margin-top: 2px;
  font-size: 11px;
}

.nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: flex-end;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

.language-switch {
  display: inline-flex;
  flex: 0 0 auto;
  padding: 3px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 6px;
}

.language-option {
  min-width: 42px;
  min-height: 34px;
  padding: 6px 8px;
  color: var(--muted);
  background: transparent;
  border: 0;
  border-radius: 4px;
  cursor: pointer;
  font-weight: 800;
}

.language-option.active {
  color: var(--white);
  background: var(--sage);
}

.nav a {
  padding: 8px 10px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
}

.nav a:hover {
  color: var(--ink);
}

.hero {
  position: relative;
  display: flex;
  align-items: flex-end;
  min-height: min(820px, calc(100vh - 76px));
  padding: clamp(160px, 26vw, 300px) clamp(20px, 5vw, 76px) clamp(48px, 7vw, 86px);
  overflow: hidden;
  background:
    url("assets/主页图.png") center / cover no-repeat;
}

.hero-copy {
  position: relative;
  z-index: 1;
  max-width: 790px;
  color: var(--white);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(27, 29, 26, 0.76) 0%, rgba(27, 29, 26, 0.42) 46%, rgba(27, 29, 26, 0.05) 100%);
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--rose);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(46px, 7vw, 86px);
  line-height: 0.96;
  letter-spacing: 0;
}

h2 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(34px, 4vw, 52px);
  line-height: 1.05;
  letter-spacing: 0;
}

h3 {
  margin: 0 0 8px;
  font-size: 18px;
}

.hero-text {
  max-width: 720px;
  margin: 22px 0 0;
  color: rgba(255, 253, 249, 0.9);
  font-size: 18px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 12px 18px;
  border: 1px solid var(--ink);
  border-radius: 6px;
  font-weight: 800;
  text-decoration: none;
}

.button.primary {
  color: var(--white);
  background: var(--ink);
}

.button.secondary {
  color: var(--white);
  background: rgba(34, 33, 31, 0.32);
  border-color: rgba(255, 253, 249, 0.74);
}

.intro-band {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.intro-band div {
  min-height: 120px;
  padding: 26px clamp(20px, 4vw, 48px);
  background: var(--white);
}

.intro-band strong,
.intro-band span {
  display: block;
}

.intro-band span {
  margin-top: 6px;
  color: var(--muted);
}

.section,
.gallery-section,
.contact-section {
  padding: clamp(58px, 8vw, 104px) clamp(20px, 5vw, 76px);
}

.story-section {
  display: grid;
  grid-template-columns: minmax(320px, 0.94fr) minmax(0, 1.06fr);
  gap: clamp(30px, 6vw, 84px);
  align-items: stretch;
  padding: clamp(58px, 8vw, 112px) clamp(20px, 5vw, 76px);
  background: var(--white);
}

.story-photo {
  min-height: 680px;
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(31, 29, 25, 0.02), rgba(31, 29, 25, 0.16)),
    url("assets/about us.png") 72% center / cover no-repeat;
  box-shadow: var(--shadow);
}

.story-copy {
  align-self: center;
  max-width: 720px;
}

.story-text,
.visit-copy {
  margin-top: 18px;
  color: var(--muted);
  font-size: 17px;
}

.visit-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 270px;
  gap: clamp(24px, 5vw, 68px);
  align-items: end;
  padding: clamp(64px, 9vw, 118px) clamp(20px, 5vw, 76px);
  color: var(--white);
  background: var(--sage);
}

.visit-inner {
  max-width: 850px;
}

.visit-section .eyebrow {
  color: #f1d9b4;
}

.visit-copy {
  color: rgba(255, 253, 249, 0.88);
}

.visit-note {
  padding: 22px;
  background: rgba(255, 253, 249, 0.12);
  border: 1px solid rgba(255, 253, 249, 0.26);
  border-radius: 8px;
}

.visit-note strong,
.visit-note span {
  display: block;
}

.visit-note span {
  margin-top: 8px;
  color: rgba(255, 253, 249, 0.78);
  font-size: 14px;
}

.section-heading {
  max-width: 740px;
  margin-bottom: 28px;
}

.section-heading p:not(.eyebrow) {
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 17px;
}

.available-page {
  min-height: calc(100vh - 160px);
  background: var(--paper);
}

.page-title {
  color: var(--ink);
}

.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 24px;
}

.filter {
  min-height: 40px;
  padding: 9px 13px;
  color: var(--muted);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 6px;
  cursor: pointer;
  font-weight: 800;
}

.filter.active,
.filter:hover {
  color: var(--white);
  background: var(--sage);
  border-color: var(--sage);
}

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

.cat-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  min-height: 100%;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.cat-photo {
  position: relative;
  aspect-ratio: 4 / 3;
  background: var(--soft);
  overflow: hidden;
}

.cat-photo img {
  height: 100%;
  object-fit: cover;
}

.photo-placeholder {
  display: grid;
  height: 100%;
  place-items: center;
  padding: 20px;
  color: var(--muted);
  background:
    radial-gradient(circle at 38% 42%, #c3bcb3 0 10%, transparent 10.5%),
    radial-gradient(circle at 60% 40%, #b9b1a8 0 11%, transparent 11.5%),
    linear-gradient(135deg, #f8efe3, #dfe7e8 55%, #c8d1bd);
  font-weight: 800;
  text-align: center;
}

.status {
  position: absolute;
  top: 12px;
  left: 12px;
  padding: 6px 9px;
  color: var(--white);
  background: var(--sage);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 900;
}

.status.Reserved {
  background: var(--gold);
}

.status.Coming.Soon {
  background: #7d6b98;
}

.status.In.Showroom {
  background: #557b84;
}

.location-status {
  position: absolute;
  right: 12px;
  bottom: 12px;
  padding: 6px 9px;
  color: var(--white);
  background: rgba(34, 33, 31, 0.76);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 900;
}

.adopt-intro,
.process-section {
  padding: clamp(58px, 8vw, 104px) clamp(20px, 5vw, 76px);
}

.adopt-intro {
  background: var(--white);
}

.adopt-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.adopt-grid article {
  padding: 22px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.adopt-policy {
  grid-column: 1 / -1;
  width: min(620px, 100%);
  margin-inline: auto;
}

.adopt-grid h2 {
  margin-top: 14px;
  font-family: inherit;
  font-size: 20px;
  line-height: 1.2;
}

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

.adopt-number {
  color: var(--rose);
  font-size: 13px;
  font-weight: 900;
}

.process-section {
  background: var(--soft);
}

.process-list {
  display: grid;
  gap: 1px;
  max-width: 980px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
}

.process-list article {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 18px;
  padding: 22px;
  background: var(--white);
}

.process-list article > span {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  color: var(--white);
  background: var(--sage);
  border-radius: 50%;
  font-weight: 900;
}

.process-list h3 {
  margin: 0;
}

.process-list p {
  margin: 6px 0 0;
  color: var(--muted);
}

.faq-hero {
  padding: clamp(74px, 11vw, 142px) clamp(20px, 5vw, 76px) clamp(44px, 6vw, 72px);
  color: var(--white);
  background:
    linear-gradient(90deg, rgba(34, 33, 31, 0.76), rgba(34, 33, 31, 0.28)),
    url("assets/主页图.png") center 45% / cover no-repeat;
}

.faq-hero h1 {
  max-width: 760px;
}

.faq-hero p:not(.eyebrow) {
  max-width: 640px;
  margin: 16px 0 0;
  color: rgba(255, 253, 249, 0.88);
  font-size: 18px;
}

.faq-section {
  padding: clamp(48px, 7vw, 92px) clamp(20px, 5vw, 76px);
  background: var(--paper);
}

.faq-list {
  max-width: 980px;
  margin: 0 auto;
  border-top: 1px solid var(--line);
}

.faq-list details {
  border-bottom: 1px solid var(--line);
}

.faq-list summary {
  position: relative;
  padding: 22px 52px 22px 0;
  cursor: pointer;
  font-size: 19px;
  font-weight: 800;
  list-style: none;
}

.faq-list summary::-webkit-details-marker {
  display: none;
}

.faq-list summary::after {
  position: absolute;
  top: 18px;
  right: 2px;
  width: 32px;
  height: 32px;
  color: var(--sage);
  content: "+";
  font-size: 28px;
  line-height: 28px;
  text-align: center;
  transition: transform 180ms ease;
}

.faq-list details[open] summary::after {
  transform: rotate(45deg);
}

.faq-list p {
  margin: -2px 0 0;
  padding: 0 52px 24px 0;
  color: var(--muted);
  font-size: 16px;
  animation: faq-reveal 180ms ease;
}

@keyframes faq-reveal {
  from {
    opacity: 0;
    transform: translateY(-6px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.cat-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 18px;
}

.cat-title {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  align-items: flex-start;
}

.cat-title p,
.cat-body p {
  margin: 0;
  color: var(--muted);
}

.price {
  color: var(--ink);
  font-weight: 900;
  white-space: nowrap;
}

.cat-facts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin: 16px 0;
}

.cat-facts span {
  padding: 8px 10px;
  color: var(--muted);
  background: #f7f2eb;
  border-radius: 6px;
  font-size: 13px;
}

.cat-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-top: auto;
  padding-top: 18px;
}

.cat-actions a,
.cat-actions button {
  min-height: 42px;
  padding: 10px 12px;
  border-radius: 6px;
  border: 1px solid var(--line);
  background: var(--white);
  color: var(--ink);
  cursor: pointer;
  font-weight: 800;
  text-align: center;
  text-decoration: none;
}

.cat-actions a {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--white);
}

.gallery-section {
  background: var(--sky);
}

.gallery-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr 0.9fr;
  gap: 16px;
}

.gallery-tile {
  min-height: 280px;
  border-radius: 8px;
  background-color: var(--soft);
  box-shadow: var(--shadow);
}

.tile-one {
  min-height: 420px;
  background:
    radial-gradient(circle at 45% 44%, #bfb8b0 0 12%, transparent 12.5%),
    linear-gradient(145deg, #f5efe7, #cbd8d8 58%, #798b74);
}

.tile-two {
  background:
    radial-gradient(circle at 52% 42%, #9b958f 0 16%, transparent 16.5%),
    linear-gradient(145deg, #f4ded5, #e8eadf 60%, #997d73);
}

.tile-three {
  background:
    radial-gradient(circle at 44% 40%, #bbb4ac 0 15%, transparent 15.5%),
    linear-gradient(145deg, #eee5d7, #dce8ec 60%, #6e7f65);
}

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

.care-grid article {
  padding: 22px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.care-grid p {
  margin: 0;
  color: var(--muted);
}

.contact-section {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(300px, 0.7fr);
  gap: clamp(24px, 6vw, 72px);
  align-items: center;
  background: var(--ink);
  color: var(--white);
}

.contact-section p:not(.eyebrow) {
  max-width: 620px;
  color: rgba(255, 253, 249, 0.74);
  font-size: 17px;
}

.contact-panel {
  display: grid;
  grid-template-columns: 150px 1fr;
  gap: 18px;
  align-items: center;
  padding: 18px;
  background: rgba(255, 253, 249, 0.08);
  border: 1px solid rgba(255, 253, 249, 0.16);
  border-radius: 8px;
}

.qr-placeholder {
  display: grid;
  aspect-ratio: 1;
  place-items: center;
  color: var(--ink);
  background:
    linear-gradient(90deg, #fff 10px, transparent 10px 18px, #fff 18px 26px, transparent 26px),
    linear-gradient(#fff 10px, transparent 10px 18px, #fff 18px 26px, transparent 26px),
    var(--white);
  border-radius: 6px;
  font-weight: 900;
  text-align: center;
}

.contact-list {
  display: grid;
  gap: 10px;
}

.wechat-qr {
  width: 100%;
  aspect-ratio: 1;
  object-fit: contain;
  background: var(--white);
  border-radius: 6px;
}

.contact-list a {
  padding: 11px 12px;
  color: var(--white);
  border: 1px solid rgba(255, 253, 249, 0.22);
  border-radius: 6px;
  text-decoration: none;
}

.section-actions {
  display: flex;
  justify-content: center;
  margin-top: 28px;
}

.cat-dialog {
  width: min(860px, calc(100vw - 28px));
  padding: 0;
  border: 0;
  border-radius: 8px;
  background: var(--white);
  color: var(--ink);
  box-shadow: var(--shadow);
}

.cat-dialog::backdrop {
  background: rgba(34, 33, 31, 0.62);
}

.dialog-close {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 2;
  width: 38px;
  height: 38px;
  border: 0;
  border-radius: 50%;
  color: var(--white);
  background: rgba(34, 33, 31, 0.72);
  cursor: pointer;
  font-weight: 900;
}

.dialog-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.94fr) minmax(280px, 1fr);
}

.dialog-image {
  min-height: 440px;
  background: var(--soft);
}

.dialog-image img {
  height: 100%;
  object-fit: cover;
}

.dialog-gallery {
  display: flex;
  height: 100%;
  flex-direction: column;
}

.dialog-main-image {
  flex: 1;
  min-height: 0;
  object-fit: cover;
}

.dialog-thumbnails {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding: 10px;
  background: var(--white);
  border-top: 1px solid var(--line);
}

.dialog-thumbnail {
  width: 58px;
  height: 58px;
  flex: 0 0 auto;
  padding: 0;
  overflow: hidden;
  background: var(--soft);
  border: 2px solid transparent;
  border-radius: 6px;
  cursor: pointer;
}

.dialog-thumbnail.active {
  border-color: var(--sage);
}

.dialog-thumbnail img {
  height: 100%;
  object-fit: cover;
}

.dialog-copy {
  padding: 32px;
}

.dialog-copy p {
  color: var(--muted);
}

.dialog-list {
  display: grid;
  gap: 8px;
  margin-top: 18px;
}

.dialog-list div {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--line);
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 24px clamp(20px, 5vw, 76px);
  color: var(--muted);
  background: var(--white);
  border-top: 1px solid var(--line);
}

.site-footer p {
  margin: 0;
}

@media (max-width: 980px) {
  .story-section,
  .visit-section,
  .contact-section {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  .story-photo {
    min-height: 460px;
  }

  .intro-band,
  .cat-grid,
  .care-grid,
  .gallery-grid,
  .adopt-grid {
    grid-template-columns: 1fr;
  }

  .gallery-tile,
  .tile-one {
    min-height: 260px;
  }
}

@media (max-width: 720px) {
  .site-header {
    position: static;
    align-items: flex-start;
    flex-direction: column;
  }

  .nav {
    justify-content: flex-start;
  }

  .brand-logo {
    width: 92px;
    height: 58px;
  }

  .brand strong {
    font-size: 54px;
  }

  .site-header.compact .brand-logo {
    width: 62px;
    height: 39px;
  }

  .site-header.compact .brand strong {
    font-size: 28px;
  }

  .header-actions {
    align-items: flex-start;
    flex-direction: column-reverse;
    gap: 6px;
  }

  .hero {
    min-height: 620px;
    padding-top: 180px;
  }

  .story-photo {
    min-height: 340px;
  }

  .cat-actions,
  .contact-panel,
  .dialog-layout {
    grid-template-columns: 1fr;
  }

  .dialog-image {
    min-height: 300px;
  }

  .site-footer {
    flex-direction: column;
  }
}

/* Standalone navigation pages */
.standalone-page {
  min-height: calc(100vh - 150px);
}

.standalone-section {
  min-height: calc(100vh - 150px);
}

.story-section .standalone-title,
.visit-section .standalone-title,
.contact-section .standalone-title {
  margin-bottom: 30px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(28px, 3.3vw, 44px);
  line-height: 1.08;
}

.story-section .standalone-title {
  color: var(--ink);
}

.visit-section .standalone-title,
.contact-section .standalone-title {
  color: var(--white);
}

@media (max-width: 720px) {
  .story-section .standalone-title,
  .visit-section .standalone-title,
  .contact-section .standalone-title {
    font-size: 28px;
  }
}

/* Warmer color depth and conversion-focused actions */
.button.accent {
  color: #684955;
  background: #f6c985;
  border-color: #f6c985;
}

.available-page {
  background: #fffafd;
}

.adopt-intro {
  background: #fff1f4;
}

.process-section {
  background: #e5f1ed;
}

.process-list article > span {
  background: #6f9a91;
}

.filter.active,
.filter:hover {
  background: #6f9a91;
  border-color: #6f9a91;
}

.cat-actions .cat-contact {
  grid-column: 1 / -1;
  color: #49645e;
  background: #e2f0eb;
  border-color: #b9d8cf;
}

.pet-policy-section {
  padding: clamp(54px, 7vw, 92px) clamp(20px, 5vw, 76px);
  color: #684d59;
  background: #f8e7c8;
  text-align: center;
}

.pet-policy-section .eyebrow {
  margin-bottom: 18px;
  color: #c07186;
  font-size: 18px;
}

.pet-policy-section h2 {
  margin-bottom: 18px;
  color: #71515d;
}

.pet-policy-section p:not(.eyebrow) {
  max-width: 760px;
  margin: 0 auto;
  color: #685960;
  font-size: 18px;
}

/* Chinese copy needs a quieter rhythm on narrow screens. */
html[lang="zh-CN"] body {
  line-height: 1.75;
}

html[lang="zh-CN"] .brand strong {
  font-size: 48px;
}

html[lang="zh-CN"] .hero .eyebrow {
  font-size: clamp(42px, 5vw, 68px);
}

html[lang="zh-CN"] .hero h1 {
  font-size: clamp(32px, 4vw, 52px);
  line-height: 1.18;
}

html[lang="zh-CN"] .story-section .eyebrow,
html[lang="zh-CN"] .gallery-section .eyebrow,
html[lang="zh-CN"] .care-section .eyebrow,
html[lang="zh-CN"] .visit-section .eyebrow,
html[lang="zh-CN"] .contact-section .eyebrow {
  line-height: 1.18;
}

html[lang="zh-CN"] .story-text,
html[lang="zh-CN"] .visit-copy,
html[lang="zh-CN"] .contact-section p:not(.eyebrow) {
  line-height: 1.9;
}

@media (max-width: 720px) {
  html[lang="zh-CN"] .site-header {
    gap: 8px;
    padding-block: 12px;
  }

  html[lang="zh-CN"] .brand-logo {
    width: 76px;
    height: 48px;
  }

  html[lang="zh-CN"] .brand strong {
    font-size: 38px;
  }

  html[lang="zh-CN"] .brand small {
    font-size: 11px;
  }

  html[lang="zh-CN"] .nav {
    gap: 8px 12px;
  }

  html[lang="zh-CN"] .nav a {
    font-size: 13px;
  }

  html[lang="zh-CN"] .hero {
    min-height: 560px;
    padding-top: 130px;
  }

  html[lang="zh-CN"] .hero .eyebrow {
    margin-bottom: 18px;
    font-size: 34px;
  }

  html[lang="zh-CN"] .hero h1 {
    font-size: 31px;
  }

  html[lang="zh-CN"] .hero-text {
    font-size: 16px;
    line-height: 1.85;
  }

  html[lang="zh-CN"] .story-section .eyebrow,
  html[lang="zh-CN"] .gallery-section .eyebrow,
  html[lang="zh-CN"] .care-section .eyebrow,
  html[lang="zh-CN"] .visit-section .eyebrow,
  html[lang="zh-CN"] .contact-section .eyebrow {
    margin-bottom: 18px;
    font-size: 34px;
  }

  html[lang="zh-CN"] .story-section h2,
  html[lang="zh-CN"] .gallery-section h2,
  html[lang="zh-CN"] .care-section h2,
  html[lang="zh-CN"] .visit-section h2,
  html[lang="zh-CN"] .contact-section h2,
  html[lang="zh-CN"] .story-section .standalone-title,
  html[lang="zh-CN"] .visit-section .standalone-title,
  html[lang="zh-CN"] .contact-section .standalone-title {
    margin-bottom: 22px;
    font-size: 25px;
    line-height: 1.35;
  }
}

/* Compact mobile header and listing layout */
@media (max-width: 720px) {
  .site-header,
  html[lang="zh-CN"] .site-header {
    min-height: auto;
    gap: 10px;
    padding: 10px 16px 12px;
  }

  .brand {
    width: 100%;
    gap: 8px;
  }

  .brand-logo,
  html[lang="zh-CN"] .brand-logo {
    width: 64px;
    height: 42px;
    flex: 0 0 auto;
  }

  .brand strong,
  html[lang="zh-CN"] .brand strong {
    font-size: 30px;
    line-height: 1;
    white-space: nowrap;
  }

  .brand small,
  html[lang="zh-CN"] .brand small {
    display: none;
  }

  .header-actions,
  html[lang="zh-CN"] .header-actions {
    width: 100%;
    align-items: stretch;
    flex-direction: column;
    gap: 8px;
  }

  .language-switch {
    align-self: flex-start;
  }

  .language-option {
    min-width: 38px;
    min-height: 30px;
    padding: 4px 7px;
  }

  .nav,
  html[lang="zh-CN"] .nav {
    display: grid;
    width: 100%;
    grid-template-columns: repeat(5, max-content);
    gap: 2px 8px;
    justify-content: start;
    overflow-x: auto;
    padding-bottom: 2px;
  }

  .nav a,
  html[lang="zh-CN"] .nav a {
    padding: 4px 2px;
    font-size: 13px;
    white-space: nowrap;
  }

  .adopt-intro,
  .process-section {
    padding: 44px 16px;
  }

  .adopt-intro .page-title,
  .available-page .page-title {
    font-size: 42px;
    line-height: 1.12;
  }

  .adopt-intro .section-heading p:not(.eyebrow),
  .available-page .section-heading p:not(.eyebrow) {
    font-size: 16px;
    line-height: 1.75;
  }

  .adopt-grid article {
    padding: 20px 18px;
  }
}

/* Moonlit soft pink theme */
:root {
  --ink: #553f4b;
  --muted: #806b76;
  --line: #f2cfda;
  --paper: #fff8fb;
  --soft: #ffeaf1;
  --sage: #d66f96;
  --rose: #ec6f9f;
  --gold: #e9a95e;
  --sky: #fbe1eb;
  --white: #fffefe;
  --shadow: 0 18px 44px rgba(177, 91, 124, 0.16);
}

body {
  font-family: "Trebuchet MS", Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  text-align: center;
}

.site-header {
  background: rgba(255, 248, 251, 0.94);
}

.brand strong,
h1,
h2 {
  font-family: "Arial Rounded MT Bold", "Trebuchet MS", sans-serif;
}

.brand strong {
  color: #d95f8d;
}

.brand small {
  text-align: left;
}

.nav a {
  font-weight: 800;
}

.nav a:hover {
  color: var(--rose);
}

.hero-copy,
.hero-text,
.story-copy,
.visit-inner,
.section-heading {
  margin-inline: auto;
}

.hero-overlay {
  background: linear-gradient(180deg, rgba(96, 51, 73, 0.15) 0%, rgba(96, 51, 73, 0.48) 100%);
}

.hero-actions,
.filters {
  justify-content: center;
}

.button,
.filter,
.cat-actions a,
.cat-actions button,
.contact-list a {
  border-radius: 999px;
}

.button.primary,
.cat-actions a {
  background: var(--rose);
  border-color: var(--rose);
}

.button.secondary {
  background: rgba(255, 254, 254, 0.2);
}

.intro-band div {
  background: #fff1f6;
}

.visit-section {
  background: #e982a8;
}

.visit-note {
  background: rgba(255, 253, 249, 0.2);
}

.cat-card,
.care-grid article,
.adopt-grid article,
.process-list {
  border-radius: 18px;
}

.cat-title {
  align-items: center;
  flex-direction: column;
}

.gallery-section {
  background: #ffeaf1;
}

.contact-section {
  background: #b95c83;
}

.process-list article,
.faq-list {
  text-align: left;
}

/* Centered, higher-contrast content refinements */
.visit-section {
  grid-template-columns: 1fr;
}

.visit-section .eyebrow,
.contact-section .eyebrow {
  color: #fff8fb;
  font-size: 18px;
  font-weight: 900;
}

.visit-note {
  width: min(560px, 100%);
  margin: 0 auto;
  color: var(--white);
  background: rgba(126, 48, 82, 0.38);
  border-color: rgba(255, 255, 255, 0.62);
}

.visit-section .button.primary {
  color: #9d3f67;
  background: #fff8fb;
  border-color: #fff8fb;
  box-shadow: 0 10px 26px rgba(126, 48, 82, 0.2);
}

.contact-section {
  grid-template-columns: 1fr;
}

.contact-section > div {
  margin-inline: auto;
  text-align: center;
}

.contact-panel {
  width: min(760px, 100%);
  margin-inline: auto;
  background: rgba(126, 48, 82, 0.28);
  border-color: rgba(255, 255, 255, 0.58);
}

.contact-list a {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.52);
  font-weight: 800;
}

.process-list {
  margin-inline: auto;
}

.process-list article {
  grid-template-columns: 1fr;
  justify-items: center;
  text-align: center;
}

.process-list article > span {
  margin-inline: auto;
}

.faq-hero {
  text-align: center;
}

.faq-hero h1,
.faq-hero p:not(.eyebrow) {
  margin-inline: auto;
}

.faq-hero .eyebrow {
  color: #fff8fb;
  font-size: 18px;
}

.visit-section .eyebrow,
.contact-section .eyebrow {
  margin-bottom: 16px;
  font-family: "Arial Rounded MT Bold", "Trebuchet MS", sans-serif;
  font-size: clamp(42px, 6vw, 78px);
  line-height: 1;
  text-transform: none;
}

.visit-section h2,
.contact-section h2 {
  font-size: clamp(30px, 4vw, 54px);
  line-height: 1.08;
}

.contact-section p:not(.eyebrow) {
  margin-inline: auto;
  font-size: 19px;
}

/* Consistent section hierarchy: category first, descriptive title second */
.story-section .eyebrow,
.gallery-section .eyebrow,
.care-section .eyebrow {
  margin-bottom: 30px;
  color: var(--rose);
  font-family: "Arial Rounded MT Bold", "Trebuchet MS", sans-serif;
  font-size: clamp(48px, 5.2vw, 72px);
  font-weight: 900;
  line-height: 1.04;
  text-transform: none;
}

.hero .eyebrow {
  margin-bottom: 24px;
  color: #fff8fb;
  font-family: "Arial Rounded MT Bold", "Trebuchet MS", sans-serif;
  font-size: clamp(52px, 5.8vw, 78px);
  font-weight: 900;
  line-height: 1.04;
  text-transform: none;
}

.visit-section .eyebrow,
.contact-section .eyebrow {
  margin-bottom: 30px;
  color: #fff8fb;
  font-family: "Arial Rounded MT Bold", "Trebuchet MS", sans-serif;
  font-size: clamp(44px, 4.6vw, 60px);
  font-weight: 900;
  line-height: 1.04;
  text-transform: none;
}

.hero h1 {
  max-width: 980px;
  margin-inline: auto;
  font-size: clamp(34px, 4.2vw, 56px);
  line-height: 1.06;
}

.story-section h2,
.gallery-section h2,
.care-section h2 {
  margin-bottom: 26px;
  font-size: clamp(30px, 3.5vw, 46px);
  line-height: 1.08;
}

.visit-section h2,
.contact-section h2 {
  margin-bottom: 30px;
  font-size: clamp(28px, 3.3vw, 44px);
  line-height: 1.08;
}

.visit-section h2 {
  max-width: 980px;
  margin-inline: auto;
}

.story-copy {
  text-align: center;
}

@media (max-width: 720px) {
  .hero .eyebrow,
  .story-section .eyebrow,
  .gallery-section .eyebrow,
  .care-section .eyebrow {
    font-size: 44px;
  }

  .hero .eyebrow {
    font-size: 48px;
  }

  .visit-section .eyebrow,
  .contact-section .eyebrow {
    margin-bottom: 22px;
    font-size: 40px;
  }

  .hero h1 {
    font-size: 36px;
  }

  .story-section h2,
  .gallery-section h2,
  .care-section h2,
  .visit-section h2,
  .contact-section h2 {
    font-size: 28px;
  }
}

/* Harmonized Moonlit palette */
:root {
  --ink: #59444f;
  --muted: #806d76;
  --line: #edcfd9;
  --paper: #fff9fb;
  --soft: #fbe9ee;
  --sage: #8eaaa2;
  --rose: #d86f98;
  --gold: #c98f9d;
  --sky: #edf5f2;
  --shadow: 0 18px 44px rgba(167, 92, 120, 0.15);
}

.button.primary,
.cat-actions a {
  background: #d86f98;
  border-color: #d86f98;
}

.button.accent {
  color: #49645f;
  background: #d8ebe5;
  border-color: #d8ebe5;
}

.button.accent:hover {
  background: #c6dfd8;
  border-color: #c6dfd8;
}

.intro-band div {
  background: #fff1f5;
}

.intro-band div:nth-child(2) {
  background: #f8e7ee;
}

.intro-band div:nth-child(3) {
  background: #edf5f2;
}

.visit-section {
  background: #d982a3;
}

.care-section {
  background: #fff8fa;
}

.care-grid article {
  border-color: #eed4dc;
}

.care-grid article:nth-child(2) {
  background: #fbeef2;
}

.care-grid article:nth-child(3) {
  background: #eef6f3;
  border-color: #d4e7e1;
}

.pet-policy-section {
  color: #684d59;
  background: #f7e5eb;
}

.pet-policy-section .eyebrow {
  color: #bc6c89;
}

.pet-policy-section h2 {
  color: #74515e;
}

.contact-section {
  background: #aa6280;
}

.available-page {
  background: #fffafd;
}

.adopt-intro {
  background: #fff3f6;
}

.process-section {
  background: #edf5f2;
}

.process-list article > span,
.filter.active,
.filter:hover {
  background: #86a89f;
  border-color: #86a89f;
}

.cat-actions .cat-contact {
  color: #49645f;
  background: #e2f0eb;
  border-color: #bed9d2;
}

/* Keep the homepage call-to-action area calm and cohesive. */
.hero > .hero-copy .hero-actions .button.primary,
.hero > .hero-copy .hero-actions .button.secondary,
.hero > .hero-copy .hero-actions .button.accent {
  color: #fffefe;
  background: #cf7094;
  border-color: #cf7094;
}

.hero > .hero-copy .hero-actions .button.primary:hover,
.hero > .hero-copy .hero-actions .button.secondary:hover,
.hero > .hero-copy .hero-actions .button.accent:hover {
  color: #fffefe;
  background: #bd6387;
  border-color: #bd6387;
}

.intro-band div,
.intro-band div:nth-child(2),
.intro-band div:nth-child(3) {
  background: #fff1f5;
}

.intro-band div {
  display: flex;
  min-height: 184px;
  flex-direction: column;
  justify-content: center;
}

.visit-section h2,
.visit-section .standalone-title {
  color: #704459;
}

.visit-section .button.primary {
  color: #9d3f67;
  background: #fff8fb;
  border-color: #fff8fb;
  box-shadow: 0 10px 26px rgba(126, 48, 82, 0.2);
}

.cat-actions a,
.cat-actions button {
  font-size: 17px;
}

.cat-actions .cat-contact {
  color: #8f4765;
  background: #f9e6ee;
  border-color: #edc8d6;
}

.wechat-block {
  display: grid;
  gap: 10px;
  color: #fffefe;
  font-size: 17px;
  text-align: center;
}

@media (max-width: 720px) {
  .hero-actions {
    display: grid;
    width: min(100%, 340px);
    grid-template-columns: 1fr;
    margin-inline: auto;
  }

  .hero-actions .button {
    width: 100%;
  }

  .intro-band div {
    min-height: 220px;
  }

  .contact-panel {
    gap: 22px;
  }
}

/* Friendly Chinese typography with readable body copy. */
html[lang="zh-CN"] body {
  font-family: "Microsoft YaHei UI", "Microsoft YaHei", "PingFang SC", sans-serif;
}

html[lang="zh-CN"] .brand strong,
html[lang="zh-CN"] h1,
html[lang="zh-CN"] h2,
html[lang="zh-CN"] h3,
html[lang="zh-CN"] .eyebrow,
html[lang="zh-CN"] .nav a,
html[lang="zh-CN"] .button,
html[lang="zh-CN"] .filter,
html[lang="zh-CN"] .intro-band strong,
html[lang="zh-CN"] .cat-actions a,
html[lang="zh-CN"] .cat-actions button,
html[lang="zh-CN"] .contact-list a {
  font-family: "PingFang SC", "Microsoft YaHei UI", "Microsoft YaHei", sans-serif;
  font-weight: 700;
  font-synthesis: none;
}

/* Playful but polished English typography. */
html:not([lang="zh-CN"]) body {
  font-family: "Nunito", "Trebuchet MS", Arial, sans-serif;
}

html:not([lang="zh-CN"]) .brand strong,
html:not([lang="zh-CN"]) h1,
html:not([lang="zh-CN"]) h2,
html:not([lang="zh-CN"]) h3,
html:not([lang="zh-CN"]) .eyebrow,
html:not([lang="zh-CN"]) .nav a,
html:not([lang="zh-CN"]) .button,
html:not([lang="zh-CN"]) .filter,
html:not([lang="zh-CN"]) .intro-band strong,
html:not([lang="zh-CN"]) .cat-actions a,
html:not([lang="zh-CN"]) .cat-actions button,
html:not([lang="zh-CN"]) .contact-list a {
  font-family: "Fredoka", "Arial Rounded MT Bold", "Trebuchet MS", sans-serif;
}

/* Framed section labels make each content block easier to scan. */
.story-section .eyebrow,
.care-section .eyebrow,
.pet-policy-section .eyebrow,
.process-section .eyebrow,
.faq-hero .eyebrow,
.visit-section .eyebrow,
.contact-section .eyebrow {
  display: inline-block;
  width: fit-content;
  margin-inline: auto;
  padding: 8px 18px;
  border: 2px solid currentColor;
  border-radius: 999px;
  line-height: 1.15;
}

.story-section .eyebrow,
.care-section .eyebrow,
.pet-policy-section .eyebrow,
.process-section .eyebrow {
  background: rgba(255, 255, 255, 0.7);
}

.visit-section .eyebrow,
.contact-section .eyebrow,
.faq-hero .eyebrow {
  color: #fffefe;
  background: rgba(126, 48, 82, 0.2);
  border-color: rgba(255, 254, 254, 0.9);
}

@media (max-width: 720px) {
  .story-section .eyebrow,
  .care-section .eyebrow,
  .pet-policy-section .eyebrow,
  .process-section .eyebrow,
  .faq-hero .eyebrow,
  .visit-section .eyebrow,
  .contact-section .eyebrow {
    padding: 7px 15px;
  }
}

/* One consistent type scale across all public pages. */
:root {
  --section-title-size: 52px;
  --section-subtitle-size: 34px;
  --body-copy-size: 18px;
  --card-title-size: 20px;
  --title-to-subtitle-gap: 26px;
  --subtitle-to-copy-gap: 22px;
}

.hero .eyebrow,
.story-section .eyebrow,
.care-section .eyebrow,
.pet-policy-section .eyebrow,
.process-section .eyebrow,
.faq-hero .eyebrow,
.visit-section .eyebrow,
.contact-section .eyebrow,
.available-page .page-title {
  margin-bottom: var(--title-to-subtitle-gap);
  font-size: var(--section-title-size);
}

.hero h1,
.story-section h2,
.care-section h2,
.pet-policy-section h2,
.process-section h2,
.faq-hero h1,
.visit-section h2,
.visit-section .standalone-title,
.contact-section h2,
.contact-section .standalone-title {
  margin-bottom: var(--subtitle-to-copy-gap);
  font-size: var(--section-subtitle-size);
  line-height: 1.18;
}

.hero-text,
.story-text,
.visit-copy,
.section-heading p:not(.eyebrow),
.contact-section p:not(.eyebrow),
.intro-band span,
.care-grid p,
.process-list p,
.faq-list p,
.pet-policy-section p:not(.eyebrow) {
  font-size: var(--body-copy-size);
}

.intro-band strong,
.care-grid h3,
.process-list h3,
.adopt-grid h2 {
  font-size: var(--card-title-size);
}

@media (max-width: 720px) {
  :root {
    --section-title-size: 38px;
    --section-subtitle-size: 28px;
    --body-copy-size: 16px;
    --card-title-size: 19px;
    --title-to-subtitle-gap: 20px;
    --subtitle-to-copy-gap: 18px;
  }
}

/* Consistent text colors across light content areas. */
:root {
  --content-heading: #59444f;
  --content-copy: #76646d;
  --content-accent: #cf7094;
}

.available-page,
.adopt-intro,
.process-section,
.care-section,
.story-section,
.pet-policy-section {
  color: var(--content-heading);
}

.filter,
.cat-body p,
.cat-facts span,
.adopt-grid p,
.process-list p,
.care-grid p,
.story-text,
.section-heading p:not(.eyebrow),
.intro-band span,
.pet-policy-section p:not(.eyebrow) {
  color: var(--content-copy);
}

.adopt-number,
.pet-policy-section .eyebrow {
  color: var(--content-accent);
}
