:root {
  color-scheme: light;
  --paper: #f7f5ed;
  --ink: #202a24;
  --muted: #555d51;
  --accent: #a83e27;
  --rust: #9b3823;
  --mist: #ecece1;
  --line: #d5d5c7;
  --white: #fffdf6;
  --green: #263a32;
  --sans: "Arial", "PingFang SC", "Microsoft YaHei", sans-serif;
  --serif: Georgia, "Songti SC", SimSun, serif;
  --gutter: clamp(20px, 4.65vw, 82px);
  font-family: var(--sans);
  color: var(--ink);
  background: var(--paper);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; }
img { display: block; width: 100%; height: auto; }
h1, h2, h3, p, figure { margin: 0; }
button, input, textarea, select { font: inherit; color: inherit; }
button { cursor: pointer; }
a { color: inherit; }
[hidden] { display: none !important; }
::selection { background: #e8b2a2; color: #281e16; }
:focus-visible { outline: 3px solid #be5738; outline-offset: 4px; }
.shell { width: min(100% - 2 * var(--gutter), 1472px); margin-inline: auto; }
.visually-hidden, .skip-link:not(:focus) { position: absolute; inline-size: 1px; block-size: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip-link:focus { position: fixed; z-index: 8; top: 12px; left: 12px; background: var(--white); padding: 12px; }

.site-header { border-bottom: 1px solid var(--line); position: relative; z-index: 2; }
.header-inner { min-height: 78px; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 24px; }
.wordmark { width: max-content; display: inline-flex; align-items: center; gap: 7px; text-decoration: none; color: #25382f; font-family: var(--serif); font-size: 1.87rem; line-height: 1; font-weight: 700; letter-spacing: -.065em; }
.wordmark img { width: 1.34em; height: 1.34em; object-fit: contain; }
.main-nav, .header-actions { display: flex; align-items: center; }
.main-nav { gap: clamp(19px, 3.1vw, 52px); }
.main-nav a, .footer-links a { font-size: .93rem; text-decoration: none; font-weight: 650; white-space: nowrap; }
.main-nav a:hover, .footer-links a:hover { color: var(--accent); text-decoration: underline; text-underline-offset: 5px; }
.header-actions { justify-self: end; }
.language { display: inline-flex; align-items: center; gap: 4px; white-space: nowrap; }
.language span { color: #73796d; font-size: .82rem; }
.language button { border: 0; background: transparent; color: var(--muted); font-size: .84rem; line-height: 1.15; padding: 8px 5px; }
.language button[aria-pressed="true"] { color: var(--ink); font-weight: 800; text-decoration: underline; text-underline-offset: 4px; }
.menu-toggle { display: none; }
.button { display: inline-flex; align-items: center; justify-content: center; padding: 13px 21px; min-height: 46px; border: 1px solid transparent; border-radius: 3px; line-height: 1.2; text-decoration: none; font-size: .93rem; font-weight: 700; white-space: nowrap; transition: background-color .18s, border-color .18s, color .18s; }
.button-dark { background: var(--ink); color: var(--white); }
.button-dark:hover { background: var(--rust); }
.button-cream { background: var(--paper); color: var(--green); }
.button-cream:hover { background: #e7d3a8; }
.button-outline { background: transparent; border-color: var(--line); }
.button-outline:hover { background: var(--mist); }
.text-link { display: inline-flex; align-items: center; border: 0; background: transparent; padding: 0; min-height: 42px; color: var(--ink); font-weight: 700; font-size: .93rem; text-decoration: underline; text-underline-offset: 5px; text-decoration-thickness: 1px; }
.text-link:hover { color: var(--rust); }
.eyebrow { font-size: .78rem; font-weight: 750; line-height: 1.4; letter-spacing: .145em; }
.section-label, .hero-label { color: var(--rust); }

.hero { min-height: clamp(430px, 40.5vw, 620px); display: grid; grid-template-columns: 43% 57%; background: #ecebde; margin-top: 29px; }
.hero-content { display: flex; flex-direction: column; justify-content: center; align-items: flex-start; padding: clamp(28px, 4.1vw, 68px); }
.hero h1 { margin: 18px 0 20px; font-size: clamp(3rem, 5.48vw, 6.2rem); font-weight: 800; letter-spacing: -.085em; line-height: .99; }
.hero h1 span, .hero h1 em, .story h2 span, .story h2 em { display: block; }
.hero h1 em, .story h2 em { font-family: var(--serif); font-weight: 400; letter-spacing: -.068em; }
.hero h1 em { color: var(--rust); white-space: nowrap; font-size: .925em; }
.hero-description { max-width: 330px; font-size: clamp(1rem, 1.27vw, 1.18rem); color: #3f4b40; line-height: 1.56; }
.hero-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 6px 20px; margin-top: 29px; }
.hero-photo { position: relative; min-height: 100%; isolation: isolate; overflow: hidden; background: #89958d; }
.hero-photo img, .story-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-photo img { object-position: 76% 57%; }

.featured { padding-block: clamp(50px, 6vw, 96px) 0; scroll-margin-top: 26px; }
.featured-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(10px, 1.15vw, 18px); }
.featured-grid .product-card { border-bottom: 1px solid var(--line); }
.featured-grid .product-image { aspect-ratio: 1.06; }
.featured-grid .product-name, .featured-grid .product-blurb, .featured-grid .product-meta { padding-inline: 0; }
.featured-grid .product-meta { flex-wrap: nowrap; }

.treats { margin-top: clamp(52px, 6vw, 96px); background: #ede4d7; }
.treats-inner { display: grid; grid-template-columns: minmax(0, .66fr) minmax(0, 1.5fr); gap: clamp(24px, 4vw, 62px); align-items: start; padding-block: clamp(32px, 4.5vw, 69px); }
.treats-copy { align-self: center; }
.treats-copy h2 { font: 400 italic clamp(2.8rem, 5.25vw, 5.4rem) / 1 var(--serif); letter-spacing: -.068em; color: var(--ink); margin: 10px 0 15px; }
.treats-copy > p:last-child { max-width: 26ch; color: var(--muted); font-size: 1rem; line-height: 1.55; }
.treats-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(10px, 1.4vw, 20px); }
.treats-grid .product-image { aspect-ratio: 1.04; }

.pets-section { padding-block: clamp(52px, 6.1vw, 100px); }
.section-heading { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 16px 50px; align-items: end; margin-bottom: 30px; }
.section-heading h2, .story h2 { font-size: clamp(2.45rem, 4.55vw, 5.05rem); font-weight: 800; letter-spacing: -.078em; line-height: 1; margin-top: 10px; }
.section-heading > p { max-width: 295px; color: var(--muted); font-size: 1rem; line-height: 1.55; padding-bottom: 3px; }
.species-grid { display: grid; grid-template-columns: repeat(6, minmax(0,1fr)); gap: clamp(10px, 1.32vw, 21px); }
.species-card { border: 0; padding: 0; background: transparent; text-align: left; min-width: 0; }
.species-image { width: 100%; height: auto; display: block; aspect-ratio: 1 / 1.08; object-fit: cover; background: var(--mist); transition: filter .2s ease; }
.species-card:hover .species-image { filter: saturate(1.15); }
.species-card:focus-visible .species-name, .species-card:hover .species-name, .species-card[aria-pressed="true"] .species-name { color: var(--rust); }
.species-name { display: flex; align-items: center; justify-content: space-between; gap: 5px; font-weight: 700; padding: 13px 0 10px; border-bottom: 1px solid var(--line); font-size: clamp(.92rem, 1.22vw, 1.12rem); }
.species-mark, .product-open { display: grid; place-items: center; min-width: 25px; font-weight: 400; font-size: 1.36rem; line-height: 1; color: var(--rust); }

.collection { background: var(--mist); scroll-margin-top: 8px; }
.collection:focus { outline: none; }
.collection-inner { padding-block: clamp(48px, 6.25vw, 96px); }
.catalog-toolbar { display: flex; justify-content: space-between; align-items: center; gap: 12px 18px; border-top: 1px solid var(--line); padding: 17px 0 20px; }
.filter-set { display: flex; flex-wrap: wrap; gap: 7px; }
.filter-set button { border: 1px solid #aeb3a4; border-radius: 30px; background: transparent; padding: 8px 14px; min-height: 39px; font-weight: 650; font-size: .89rem; line-height: 1.2; }
.filter-set button:hover { border-color: var(--ink); }
.filter-set button[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: var(--white); }
.catalog-count { color: var(--muted); font-size: .88rem; white-space: nowrap; }
.scope-chip { width: fit-content; display: flex; align-items: center; gap: 6px; margin: -1px 0 17px; border: 1px solid #b6a090; border-radius: 21px; background: #f7eee3; padding-inline: 12px 4px; color: #594033; font-weight: 700; font-size: .9rem; }
.scope-chip button { display: grid; place-items: center; width: 34px; height: 34px; border: 0; background: transparent; border-radius: 50%; font-size: 1.3rem; }
.scope-chip button:hover { color: var(--rust); }
.species-intro { color: var(--muted); line-height: 1.5; margin: -4px 0 18px; }
.catalog-empty { padding: 32px 0; color: var(--muted); line-height: 1.6; }
.product-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 19px; }
.product-grid:empty { display: none; }
.product-card { display: flex; flex-direction: column; color: inherit; border: 0; background: var(--paper); padding: 0; text-align: left; min-width: 0; }
.product-image { display: block; width: 100%; overflow: hidden; aspect-ratio: 1.24; background: var(--line); }
.product-image img { width: 100%; height: 100%; object-fit: cover; transition: transform .33s ease; }
.product-card:hover .product-image img { transform: scale(1.045); }
.product-meta { width: 100%; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 5px 12px; }
.product-kind { color: var(--rust); font-weight: 750; font-size: .79rem; }
.product-name { font-size: clamp(1.05rem, 1.55vw, 1.42rem); font-weight: 800; letter-spacing: -.024em; }
.product-blurb { font-size: .94rem; line-height: 1.45; color: var(--muted); }
.product-card p, .product-card h3 { width: 100%; }
.product-card > .product-meta { margin-block: 11px 4px; }
.product-card > :is(.product-name, .product-blurb, .product-meta) { padding-inline: 18px; }
.product-card > .product-blurb { padding-block: 5px 18px; }
.more-section { margin-top: 29px; }
.more-section h3 { margin-bottom: 12px; font-size: 1.2rem; letter-spacing: -.025em; }
.more-products { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 0 22px; }
.more-card { display: flex; align-items: center; justify-content: space-between; gap: 10px; text-align: left; padding: 16px 3px 16px 0; border: 0; border-top: 1px solid #c8c9b9; background: transparent; }
.more-card:hover .more-name { color: var(--rust); }
.more-card-text { display: grid; gap: 5px; }
.more-name { font-weight: 750; }
.more-blurb { color: var(--muted); font-size: .93rem; line-height: 1.4; }

.story { display: grid; grid-template-columns: 1.04fr .96fr; align-items: stretch; padding-block: clamp(52px, 6.6vw, 110px); }
.story-photo { position: relative; background: #9a7e64; min-height: 350px; }
.story-photo img { object-position: 52% 52%; }
.story-copy { background: #e7e5d4; padding: clamp(26px, 4.1vw, 72px); }
.story h2 em { color: var(--rust); }
.story-copy > p:not(.eyebrow) { max-width: 48ch; margin-top: 17px; color: #354237; font-size: 1rem; line-height: 1.62; }
.trade { background: var(--green); color: var(--white); }
.trade-inner { display: grid; grid-template-columns: 1fr .92fr; align-items: center; gap: 25px 46px; padding-block: clamp(31px, 4vw, 58px); }
.trade .eyebrow { color: #dbc194; }
.trade h2 { font-size: clamp(2rem, 4vw, 4.2rem); font-weight: 800; letter-spacing: -.065em; line-height: 1; margin-top: 10px; }
.trade-copy > p { font-size: 1rem; max-width: 53ch; line-height: 1.55; color: #f1efe4; }
.trade-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; margin-top: 20px; }
.trade-email { font-size: .92rem; text-underline-offset: 4px; text-decoration-color: #adbdab; }
.trade-email:hover { text-decoration-color: currentColor; }
.footer { background: var(--paper); }
.footer-inner { min-height: 94px; display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 16px 23px; }
.footer .wordmark { font-size: 1.49rem; }
.footer-caption { color: var(--muted); font-size: .9rem; }
.footer-links { display: flex; flex-wrap: wrap; gap: 9px 22px; }

.dialog { width: min(calc(100% - 28px), 640px); max-height: calc(100% - 28px); padding: 0; border: 0; background: var(--paper); color: var(--ink); }
.dialog::backdrop { background: #18271ed0; }
body:has(.dialog[open]) { overflow: hidden; }
.close-dialog { z-index: 2; position: absolute; top: 12px; right: 12px; width: 40px; height: 40px; border: 1px solid var(--line); border-radius: 50%; display: grid; place-items: center; line-height: 1; background: var(--paper); font-size: 1.55rem; }
.close-dialog:hover { background: var(--mist); color: var(--rust); }
.detail-visual { aspect-ratio: 1.65; max-height: 36vh; background: var(--mist); }
.detail-visual img { width: 100%; height: 100%; object-fit: contain; }
.detail-body, .trade-dialog { padding: clamp(22px, 4.1vw, 39px); }
.detail-body h2, .trade-dialog h2 { font-size: clamp(1.9rem, 4.9vw, 3.2rem); line-height: 1.05; letter-spacing: -.065em; margin: 8px 16px 13px 0; }
.detail-copy, .detail-option p, .trade-result > p { line-height: 1.55; }
.detail-option { border-top: 1px solid var(--line); padding-top: 13px; margin-top: 17px; }
.detail-option strong { font-size: .94rem; }
.detail-option p { margin-top: 4px; color: var(--muted); }
.detail-note { font-size: .84rem; color: var(--muted); line-height: 1.42; margin-top: 17px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 13px; }
.trade-dialog form label { display: grid; gap: 7px; font-size: .91rem; font-weight: 650; }
.trade-dialog input, .trade-dialog select, .trade-dialog textarea { width: 100%; border: 1px solid #aaa99b; border-radius: 3px; background: var(--white); min-height: 43px; padding: 10px; font-size: 1rem; font-weight: 400; }
.trade-dialog select { appearance: none; padding-right: 32px; background-image: linear-gradient(45deg, transparent 50%, var(--ink) 50%), linear-gradient(135deg, var(--ink) 50%, transparent 50%); background-size: 5px 5px; background-position: calc(100% - 17px) 55%, calc(100% - 12px) 55%; background-repeat: no-repeat; }
.trade-dialog textarea { resize: vertical; }
.message-label { margin: 15px 0; }
.trade-result textarea { margin-top: 12px; }
.result-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 7px 13px; margin-top: 12px; }
#copy-status:not(:empty) { color: var(--green); margin-top: 9px; font-size: .93rem; }

:lang(zh) .eyebrow { letter-spacing: .08em; }
:lang(zh) :is(.hero h1, .section-heading h2, .story h2, .trade h2, .detail-body h2, .trade-dialog h2) { letter-spacing: -.045em; }
:lang(zh) .hero h1 { font-size: clamp(2.9rem, 5.1vw, 6rem); }
:lang(zh) :is(.hero h1 em, .story h2 em) { font-family: var(--sans); font-style: normal; font-weight: 700; letter-spacing: -.045em; }
:lang(zh) .story h2 { font-size: clamp(2rem, 4.05vw, 4.7rem); }
:lang(zh) .treats-copy h2 { font-family: var(--sans); font-weight: 750; font-style: normal; letter-spacing: -.045em; }

@media (max-width: 1060px) {
  .header-inner { gap: 18px; }
  .hero-content { padding-inline: clamp(23px, 3.25vw, 45px); }
  .hero h1 { font-size: clamp(2.9rem, 5.9vw, 5rem); }
  .product-grid { gap: 12px; }
}

@media (max-width: 760px) {
  .header-inner { min-height: 64px; grid-template-columns: auto 1fr auto; gap: 10px; }
  .wordmark { font-size: 1.55rem; }
  .header-actions { grid-column: 2; grid-row: 1; }
  .menu-toggle { grid-column: 3; grid-row: 1; display: grid; align-content: center; justify-content: center; gap: 5px; width: 38px; height: 38px; border: 1px solid var(--line); border-radius: 3px; background: transparent; }
  .menu-toggle span { display: block; width: 16px; height: 1px; background: var(--ink); }
  .main-nav { display: none; grid-column: 1 / -1; padding: 7px 0 14px; }
  .menu-open .main-nav { display: flex; flex-wrap: wrap; gap: 15px 25px; }
  .hero { grid-template-columns: minmax(0, 1fr); margin-top: 16px; }
  .hero-content { padding: 33px 24px 30px; }
  .hero h1, :lang(zh) .hero h1 { font-size: clamp(3rem, 9.3vw, 5.2rem); margin: 14px 0; }
  .hero-actions { margin-top: 17px; }
  .hero-photo { min-height: 0; aspect-ratio: 1.38; }
  .treats-inner { grid-template-columns: 1fr; gap: 18px; }
  .treats-copy > p:last-child { max-width: 43ch; }
  .section-heading { grid-template-columns: 1fr; gap: 10px; margin-bottom: 20px; }
  .section-heading > p { padding-bottom: 0; max-width: 43ch; }
  .species-grid { grid-template-columns: repeat(3, minmax(0,1fr)); gap: 14px 9px; }
  .species-name { padding-block: 8px 5px; }
  .species-mark { min-width: 15px; }
  .product-grid, .featured-grid, .more-products { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 12px; }
  .product-card > :is(.product-name, .product-blurb, .product-meta) { padding-inline: 12px; }
  .product-image { aspect-ratio: 1.18; }
  .story { grid-template-columns: 1fr; }
  .story-photo { min-height: 0; aspect-ratio: 1.43; }
  .story-copy { padding: 28px 22px; }
  .trade-inner { grid-template-columns: 1fr; gap: 18px; }
  .footer-inner { grid-template-columns: 1fr auto; padding-block: 20px; row-gap: 10px; }
  .footer-caption { grid-column: 1 / -1; grid-row: 2; }
  .footer-links { grid-column: 2; grid-row: 1; justify-content: end; }
}

@media (max-width: 385px) {
  :root { --gutter: 14px; }
  .header-inner { gap: 5px; }
  .site-header .wordmark { gap: 4px; font-size: 1.25rem; }
  .site-header .wordmark img { width: 1.2em; height: 1.2em; }
  .language { gap: 1px; }
  .language button { padding-inline: 4px; }
  .menu-toggle { width: 34px; }
  .hero-content { padding-inline: 19px; }
  .hero h1, :lang(zh) .hero h1 { font-size: clamp(2.32rem, 10vw, 2.65rem); }
  .catalog-toolbar { flex-wrap: wrap; }
  .form-grid { grid-template-columns: 1fr; }
  .footer-links { grid-column: 1 / -1; grid-row: 3; justify-content: start; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}
