:root {
  --ink: #18201d;
  --muted: #68706b;
  --paper: #f7f3ec;
  --cream: #eee7dc;
  --white: #fffdf9;
  --line: #dcd5ca;
  --orange: #d96136;
  --orange-dark: #a63f23;
  --moss: #596b36;
  --moss-light: #dfe5cd;
  --gold: #e4ac50;
  --red: #a6372b;
  --shadow: 0 18px 50px rgba(34, 42, 37, .09);
  --serif: "Fraunces", Georgia, serif;
  --sans: "Manrope", Inter, system-ui, sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--paper); font-family: var(--sans); font-size: 16px; line-height: 1.6; }
body::before { content: ""; position: fixed; inset: 0; pointer-events: none; z-index: -1; background: radial-gradient(circle at 4% 5%, rgba(217,97,54,.08),transparent 24rem), radial-gradient(circle at 93% 24%,rgba(89,107,54,.08),transparent 27rem); }
button, input, textarea, select { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button { color: inherit; }
a { color: inherit; }
svg { width: 1.15em; height: 1.15em; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.svg-sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.skip-link { position: fixed; top: 8px; left: 8px; z-index: 100; padding: 10px 14px; border-radius: 12px; background: var(--ink); color: #fff; transform: translateY(-150%); }
.skip-link:focus { transform: none; }
:focus-visible { outline: 3px solid rgba(217,97,54,.45); outline-offset: 3px; }
[hidden] { display: none !important; }

.site-header { position: sticky; top: 0; z-index: 40; border-bottom: 1px solid rgba(220,213,202,.82); background: rgba(247,243,236,.9); backdrop-filter: blur(18px); }
.nav-wrap { width: min(1420px, calc(100% - 48px)); min-height: 78px; margin: auto; display: flex; align-items: center; gap: 26px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; flex: 0 0 auto; }
.brand img { width: 42px; height: 42px; object-fit: contain; filter: drop-shadow(0 6px 12px rgba(172,75,38,.18)); }
.brand span { display: grid; line-height: 1; }
.brand strong { font-size: 1.05rem; letter-spacing: .18em; }
.brand small { margin-top: 5px; color: var(--muted); font-size: .6rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; }
.site-nav { margin-left: auto; display: flex; align-items: center; gap: 2px; }
.site-nav a { position: relative; padding: 11px 13px; border-radius: 13px; color: #555e59; font-size: .84rem; font-weight: 750; text-decoration: none; }
.site-nav a:hover, .site-nav a[aria-current="page"] { color: var(--ink); background: rgba(255,255,255,.64); }
.site-nav a[aria-current="page"]::after { content: ""; position: absolute; height: 3px; left: 14px; right: 14px; bottom: 4px; border-radius: 4px; background: linear-gradient(90deg,var(--orange),var(--gold),var(--moss)); }
.nav-actions { display: flex; gap: 8px; }
.round-link { position: relative; flex: 0 0 auto; width: 44px; height: 44px; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 50%; background: rgba(255,255,255,.62); text-decoration: none; }
.round-link:hover { background: var(--white); border-color: #c7beb1; }
.favorite-count { position: absolute; right: -3px; top: -3px; min-width: 17px; height: 17px; padding: 0 4px; display: grid; place-items: center; border-radius: 9px; background: var(--orange); color: #fff; font-size: .62rem; font-weight: 800; }
.menu-button { display: none; margin-left: auto; border: 1px solid var(--line); border-radius: 12px; padding: 9px 11px; background: var(--white); align-items: center; gap: 7px; }

.main { width: min(1420px, calc(100% - 48px)); margin: auto; }
.eyebrow, .kicker, .card-kicker { margin: 0 0 12px; color: var(--orange-dark); font-size: .72rem; font-weight: 850; letter-spacing: .16em; text-transform: uppercase; }
h1, h2, h3, p { text-wrap: pretty; }
h1, h2, h3 { margin-top: 0; line-height: 1.07; }
h1, h2 { font-family: var(--serif); }
h1 { font-size: clamp(3.15rem, 6.8vw, 7rem); letter-spacing: -.055em; }
h2 { font-size: clamp(1.55rem, 2.8vw, 2.65rem); letter-spacing: -.035em; }
h3 { font-size: 1.15rem; }
.hero { min-height: 710px; display: grid; grid-template-columns: minmax(0,1.15fr) minmax(380px,.65fr); gap: clamp(40px,7vw,110px); align-items: center; padding: 76px 4vw 62px; }
.hero-copy h1 { max-width: 10ch; margin-bottom: 26px; }
.hero-copy h1 em { color: var(--orange); font-style: normal; }
.hero-copy > p:not(.eyebrow) { max-width: 670px; margin-bottom: 30px; color: var(--muted); font-size: clamp(1.05rem,1.5vw,1.28rem); }
.search-box { min-height: 64px; max-width: 760px; display: flex; align-items: center; gap: 12px; padding: 8px 9px 8px 20px; border: 1px solid #d1c8ba; border-radius: 22px; background: var(--white); box-shadow: var(--shadow); }
.search-box svg { flex: 0 0 auto; color: var(--muted); }
.search-box input { min-width: 0; flex: 1; border: 0; outline: 0; background: transparent; }
.search-box button { min-height: 46px; padding: 0 19px; border: 0; border-radius: 15px; background: var(--ink); color: #fff; font-weight: 800; cursor: pointer; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 11px; margin-top: 22px; }
.button { min-height: 48px; width: fit-content; display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 0 18px; border: 1px solid transparent; border-radius: 15px; font-size: .9rem; font-weight: 800; text-decoration: none; cursor: pointer; }
.button.primary { background: var(--orange); color: #fff; box-shadow: 0 14px 28px rgba(166,63,35,.18); }
.button.primary:hover { background: var(--orange-dark); }
.button.secondary { border-color: var(--line); background: rgba(255,255,255,.55); }
.hero-card { position: relative; min-height: 530px; display: grid; grid-template-rows: minmax(230px,1fr) auto auto auto; gap: 12px; padding: 34px; overflow: hidden; border: 1px solid rgba(255,255,255,.08); border-radius: 44px; color: #f7f1e6; background: radial-gradient(circle at 55% 23%,rgba(221,119,52,.35),transparent 26%),radial-gradient(circle at 77% 33%,rgba(122,143,62,.25),transparent 29%),#151713; box-shadow: 0 30px 70px rgba(24,32,29,.2); }
.brand-glow { position: relative; min-height: 230px; display: grid; place-items: center; }
.brand-glow::before { content:""; position:absolute; width: 230px; height:230px; border-radius:50%; border: 1px solid rgba(255,255,255,.1); box-shadow: 0 0 70px rgba(226,114,41,.16); }
.brand-glow img { width: min(270px,76%); max-height: 240px; object-fit: contain; filter: drop-shadow(0 16px 35px rgba(236,111,37,.4)); }
.hero-card .kicker { position: relative; margin: 0; color: #f3b27d; }
.stats { position: relative; display: grid; grid-template-columns: repeat(2,1fr); gap: 1px; border: 1px solid rgba(255,255,255,.12); border-radius: 22px; overflow: hidden; background: rgba(255,255,255,.08); }
.stat { padding: 17px; background: rgba(12,16,13,.72); }
.stat strong, .stat span { display: block; }
.stat strong { color: #fff; font-family: var(--serif); font-size: 1.75rem; }
.stat span { color: #bfc6be; font-size: .72rem; }
.fine-print { position: relative; margin: 0 2px; color: #aab2aa; font-size: .72rem; line-height: 1.5; }
.quick-strip { display: grid; grid-template-columns: repeat(3,1fr); margin: 0 4vw 70px; border: 1px solid var(--line); border-radius: 25px; overflow: hidden; background: rgba(255,255,255,.56); box-shadow: var(--shadow); }
.quick-strip > a { min-height: 98px; display: flex; align-items: center; gap: 14px; padding: 20px 24px; text-decoration: none; }
.quick-strip > a + a { border-left: 1px solid var(--line); }
.quick-strip > a:hover { background: var(--white); }
.quick-strip > a > svg { margin-left: auto; }
.quick-strip b, .quick-strip small { display: block; }
.quick-strip small { color: var(--muted); }
.quick-icon { width: 42px; height: 42px; flex: 0 0 42px; display: grid; place-items: center; border-radius: 50%; font-weight: 900; }
.quick-icon.emergency { background: #f3d6ce; color: var(--red); }
.quick-icon.food { background: #efe2ba; color: #84620d; }
.quick-icon.pet { background: var(--moss-light); color: var(--moss); }
.section { padding: 82px 4vw; }
.section.soft { margin: 20px 0; border-radius: 44px; background: #ebe5da; }
.section-title { display: flex; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: 35px; }
.section-title h2 { max-width: 750px; margin-bottom: 0; }
.section-title.small { align-items: center; margin-bottom: 20px; }
.section-title.small h2 { font-size: 1.6rem; margin: 0; }
.section-title.small span { color: var(--muted); }
.text-link, .card-link { display: inline-flex; align-items: center; gap: 8px; color: var(--orange-dark); font-size: .88rem; font-weight: 800; text-decoration: none; }
.species-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 22px; }
.species-card { min-height: 350px; position: relative; display: grid; grid-template-columns: auto 1fr; align-items: end; gap: 40px; padding: 38px; overflow: hidden; border-radius: 36px; color: #fff; text-decoration: none; box-shadow: var(--shadow); }
.species-card::after { content:""; position:absolute; width:260px; height:260px; right:-70px; top:-70px; border:1px solid rgba(255,255,255,.16); border-radius:50%; box-shadow: 0 0 0 45px rgba(255,255,255,.025),0 0 0 90px rgba(255,255,255,.02); }
.species-card.dog { background: linear-gradient(140deg,#a64627,#df7444); }
.species-card.cat { background: linear-gradient(140deg,#39441e,#758648); }
.species-number { position: relative; z-index:1; font-family:var(--serif); font-size:clamp(3rem,6vw,6rem); opacity:.35; }
.species-card div { position:relative; z-index:1; }
.species-card p { margin:0 0 10px; font-weight:800; letter-spacing:.13em; text-transform:uppercase; }
.species-card h3 { max-width: 18ch; font-family:var(--serif); font-size:clamp(1.6rem,3vw,2.7rem); }
.species-card div span { display:inline-flex; align-items:center; gap:8px; font-weight:800; }
.topic-feature-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:16px; }
.care-card { display:flex; flex-direction:column; padding:26px; border:1px solid var(--line); border-radius:27px; background:rgba(255,253,249,.78); box-shadow:0 12px 34px rgba(34,42,37,.06); }
.care-card.compact { min-height: 270px; }
.care-card.compact h2 { font-size:1.45rem; }
.care-card.compact .card-link { margin-top:auto; }
.card-top { min-height:34px; display:flex; align-items:center; justify-content:space-between; gap:10px; margin-bottom:18px; }
.species-tag, .urgency, .food-status { width:fit-content; display:inline-flex; align-items:center; min-height:27px; padding:0 10px; border-radius:999px; font-size:.68rem; font-weight:850; letter-spacing:.07em; text-transform:uppercase; }
.species-tag.dog, .species-tag.dogs { color:#9e3d22; background:#f6ded4; }
.species-tag.cat, .species-tag.cats { color:#52622e; background:#e3e9d2; }
.icon-button { display:inline-flex; align-items:center; gap:6px; padding:7px 9px; border:0; border-radius:10px; color:var(--muted); background:transparent; font-size:.73rem; font-weight:800; cursor:pointer; }
.icon-button:hover, .icon-button.is-saved { color:var(--orange-dark); background:#f7e2da; }
.icon-button.is-saved svg { fill:currentColor; }
.care-card > p:not(.card-kicker), .breed-card > p, .food-card > p, .emergency-card > p { color:var(--muted); }
.care-card ul { padding-left:20px; color:#3f4944; }
.care-card li + li { margin-top:7px; }
.vet-note { margin-top:auto; padding:16px; border-radius:17px; background:#e8ece1; }
.vet-note b, .vet-note span { display:block; }
.vet-note b { margin-bottom:5px; color:var(--moss); font-size:.72rem; letter-spacing:.1em; text-transform:uppercase; }
.vet-note span { font-size:.86rem; }
.trust-band { display:grid; grid-template-columns:.8fr 1.2fr; gap:70px; margin:80px 4vw; padding:55px; border-radius:38px; color:#f4efe5; background:#1a201c; }
.trust-band .eyebrow { color:#e99b70; }
.trust-points { display:grid; gap:24px; }
.trust-points p { margin:0; padding-bottom:22px; border-bottom:1px solid rgba(255,255,255,.1); }
.trust-points p:last-child { border-bottom:0; }
.trust-points b, .trust-points span { display:block; }
.trust-points span { margin-top:5px; color:#afb8b1; }

.page-head { min-height:360px; display:grid; grid-template-columns:minmax(0,1fr) auto; align-items:end; gap:60px; padding:80px 4vw 55px; border-bottom:1px solid var(--line); }
.page-head h1 { max-width: 12ch; margin-bottom:20px; font-size:clamp(3.2rem,6.5vw,6.5rem); }
.page-head .lede { max-width:800px; margin:0; color:var(--muted); font-size:1.15rem; }
.head-stat { min-width:170px; padding:24px; border:1px solid var(--line); border-radius:25px; background:var(--white); font-family:var(--serif); font-size:2.5rem; box-shadow:var(--shadow); }
.head-stat span { display:block; color:var(--muted); font-family:var(--sans); font-size:.76rem; }
.library-tools { position:sticky; top:78px; z-index:20; display:flex; align-items:center; gap:13px; margin:30px 4vw 0; padding:12px; border:1px solid var(--line); border-radius:20px; background:rgba(247,243,236,.93); backdrop-filter:blur(15px); box-shadow:0 10px 25px rgba(34,42,37,.06); }
.filter-row { display:flex; align-items:center; gap:5px; }
.filter { min-height:40px; padding:0 14px; border:0; border-radius:12px; background:transparent; font-size:.78rem; font-weight:800; cursor:pointer; white-space:nowrap; }
.filter:hover { background:#fff; }
.filter.active { background:var(--ink); color:#fff; }
.inline-search { min-height:42px; min-width:180px; flex:1; display:flex; align-items:center; gap:9px; padding:0 13px; border:1px solid var(--line); border-radius:13px; background:var(--white); }
.inline-search input { min-width:0; width:100%; border:0; outline:0; background:transparent; }
.inline-search.large { max-width:720px; min-height:56px; margin:30px 4vw; padding:0 18px; }
.select-wrap select { min-height:42px; max-width:180px; padding:0 36px 0 13px; border:1px solid var(--line); border-radius:13px; background:var(--white); }
.result-count { margin:22px 4vw 0; color:var(--muted); font-size:.82rem; font-weight:800; text-transform:uppercase; letter-spacing:.08em; }
.breed-grid, .care-grid, .food-grid, .emergency-grid { display:grid; gap:17px; padding:20px 4vw 90px; }
.breed-grid { grid-template-columns:repeat(3,1fr); }
.breed-card { padding:25px; border:1px solid var(--line); border-radius:28px; background:rgba(255,253,249,.8); box-shadow:0 10px 32px rgba(34,42,37,.06); }
.breed-card h2 { font-size:1.65rem; }
.breed-facts { display:grid; grid-template-columns:repeat(3,1fr); gap:8px; margin:22px 0 16px; }
.breed-facts span { min-width:0; padding:11px; border-radius:13px; background:#f0ebe2; }
.breed-facts small, .breed-facts b { display:block; }
.breed-facts small { color:var(--muted); font-size:.62rem; text-transform:uppercase; }
.breed-facts b { margin-top:2px; font-size:.72rem; }
.breed-card details { border-top:1px solid var(--line); }
.breed-card summary { display:flex; justify-content:space-between; align-items:center; padding:16px 0 0; color:var(--orange-dark); font-size:.8rem; font-weight:850; cursor:pointer; list-style:none; }
.breed-card summary::-webkit-details-marker { display:none; }
.breed-card details[open] summary svg { transform:rotate(45deg); }
.profile-grid { display:grid; grid-template-columns:repeat(2,1fr); gap:10px; margin-top:16px; }
.profile-grid p { margin:0; padding:11px; border-radius:12px; background:#f3efe8; color:#39423d; font-size:.76rem; }
.profile-grid p small { display:block; margin-bottom:3px; color:var(--muted); font-size:.61rem; font-weight:800; text-transform:uppercase; }
.profile-grid .wide { grid-column:1/-1; }
.profile-grid .concern { background:#e7ebdd; }
.care-grid { grid-template-columns:repeat(3,1fr); }
.care-grid .care-card { min-height:520px; }
.warning-banner { display:flex; align-items:flex-start; gap:18px; margin:30px 4vw 0; padding:22px 25px; border:1px solid #e7b2a7; border-radius:20px; background:#fae6df; }
.warning-banner b { flex:0 0 auto; color:var(--red); }
.warning-banner.amber { border-color:#dfca93; background:#f5edda; }
.warning-banner.amber b { color:#725510; }
.emergency-cta { max-width:350px; display:block; padding:20px; border-radius:22px; color:#fff; background:var(--red); text-decoration:none; box-shadow:0 15px 32px rgba(166,55,43,.2); }
.emergency-cta span, .emergency-cta b { display:block; }
.emergency-cta span { font-size:.72rem; font-weight:850; letter-spacing:.12em; text-transform:uppercase; }
.emergency-cta b { margin-top:5px; font-size:1.05rem; }
.emergency-grid { grid-template-columns:repeat(2,1fr); }
.emergency-card { padding:30px; border:1px solid #e4cbc5; border-radius:28px; background:#fffaf7; box-shadow:0 12px 35px rgba(92,39,30,.06); }
.urgency { color:#fff; background:var(--red); }
.urgency.urgent { color:#654b0f; background:#f0dea7; }
.emergency-card h3 { margin:24px 0 9px; font-size:.75rem; letter-spacing:.1em; text-transform:uppercase; }
.emergency-card ol { padding-left:21px; }
.emergency-card li + li { margin-top:8px; }
.emergency-card .avoid { margin-top:22px; padding:15px; border-radius:15px; color:#724038; background:#fae7e2; }
.content-sources { color:var(--muted); font-size:.8rem; }
.poison-panel { display:flex; justify-content:space-between; align-items:end; gap:30px; margin:0 4vw 90px; padding:45px; border-radius:34px; color:#f8f2e8; background:#20241e; }
.poison-panel h2 { margin-bottom:10px; }
.poison-panel p:not(.eyebrow) { max-width:800px; margin:0; color:#b9c0b9; }
.button.light { flex:0 0 auto; background:#fff; color:var(--ink); }
.food-filters { flex-wrap:wrap; }
.food-grid { grid-template-columns:repeat(3,1fr); }
.food-card { padding:25px; border:1px solid var(--line); border-radius:26px; background:var(--white); }
.food-card > div:first-child { min-height:34px; display:flex; align-items:center; justify-content:space-between; gap:10px; }
.food-status.toxic { color:#fff; background:var(--red); }
.food-status.potentially-toxic, .food-status.avoid { color:#7b3124; background:#f1d4cd; }
.food-status.moderation { color:#6d520e; background:#f2e5b7; }
.food-status.generally-safe { color:#415126; background:#dfe8cb; }
.food-card h2 { margin:18px 0 4px; font-size:1.55rem; }
.food-species { margin:0; color:var(--orange-dark)!important; font-size:.75rem; font-weight:800; text-transform:uppercase; }
.food-action { margin-top:22px; padding:15px; border-radius:15px; background:#f0ece5; }
.food-action b, .food-action span { display:block; }
.food-action b { margin-bottom:4px; font-size:.68rem; letter-spacing:.09em; text-transform:uppercase; }
.food-action span { font-size:.84rem; }

.local-badge { display:flex; align-items:center; gap:12px; padding:18px; border:1px solid var(--line); border-radius:20px; background:var(--white); }
.local-badge svg { width:28px; height:28px; color:var(--moss); }
.local-badge span, .local-badge b { display:block; }
.local-badge span { color:var(--muted); font-size:.76rem; }
.local-badge b { color:var(--ink); font-size:.86rem; }
.pets-layout { display:grid; grid-template-columns:minmax(0,.85fr) minmax(0,1.15fr); gap:25px; padding:35px 4vw 90px; }
.pet-form, .pet-list-panel { padding:30px; border:1px solid var(--line); border-radius:30px; background:rgba(255,253,249,.8); box-shadow:var(--shadow); }
.pet-form { align-self:start; }
.form-heading { display:flex; justify-content:space-between; gap:20px; align-items:start; margin-bottom:24px; }
.form-heading h2 { margin:0; }
.text-button { padding:7px; border:0; color:var(--orange-dark); background:transparent; font-weight:800; cursor:pointer; }
.form-grid { display:grid; grid-template-columns:repeat(2,1fr); gap:14px; margin-bottom:18px; }
.form-grid label { display:grid; gap:6px; }
.form-grid label.wide { grid-column:1/-1; }
.form-grid label > span { color:#4e5852; font-size:.75rem; font-weight:800; }
.form-grid input, .form-grid select, .form-grid textarea { width:100%; min-height:46px; padding:10px 12px; border:1px solid var(--line); border-radius:13px; background:#fff; }
.privacy-note { margin:15px 0 0; color:var(--muted); font-size:.72rem; }
.pet-list { display:grid; gap:14px; }
.pet-card { display:grid; grid-template-columns:auto 1fr auto; align-items:start; gap:16px; padding:20px; border:1px solid var(--line); border-radius:22px; background:var(--white); }
.pet-avatar { width:48px; height:48px; display:grid; place-items:center; border-radius:17px; background:#f5ded4; color:var(--orange-dark); font-family:var(--serif); font-size:1.5rem; font-weight:800; }
.pet-avatar.cat { background:#e4e9d5; color:var(--moss); }
.pet-card-main > div > span { color:var(--orange-dark); font-size:.65rem; font-weight:850; letter-spacing:.12em; text-transform:uppercase; }
.pet-card h3 { margin:3px 0; font-family:var(--serif); font-size:1.35rem; }
.pet-card p { margin:0; color:var(--muted); font-size:.8rem; }
.pet-card details { margin-top:12px; }
.pet-card summary { color:var(--orange-dark); font-size:.75rem; font-weight:800; cursor:pointer; }
.pet-card dl { display:grid; gap:8px; margin:12px 0 0; }
.pet-card dl div { padding:10px; border-radius:10px; background:#f2eee7; }
.pet-card dt { color:var(--muted); font-size:.65rem; font-weight:800; text-transform:uppercase; }
.pet-card dd { margin:2px 0 0; font-size:.8rem; white-space:pre-wrap; }
.pet-actions { display:flex; gap:4px; }
.pet-actions button { padding:6px; border:0; color:var(--muted); background:transparent; font-size:.72rem; cursor:pointer; }
.pet-actions button:hover { color:var(--red); }

.saved-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:18px; padding:35px 4vw 90px; }
.saved-card { padding:26px; border:1px solid var(--line); border-radius:26px; background:var(--white); }
.saved-card > span { color:var(--orange-dark); font-size:.7rem; font-weight:850; text-transform:uppercase; }
.saved-card h2 { margin:12px 0; font-size:1.6rem; }
.saved-card p { color:var(--muted); }
.main-search > .search-box { margin:30px 4vw; max-width:860px; }
.search-results { padding:10px 4vw 90px; }
.search-prompt, .empty-state { min-height:280px; display:none; place-items:center; align-content:center; padding:35px; text-align:center; border:1px dashed #cfc5b7; border-radius:30px; background:rgba(255,255,255,.35); }
.search-prompt { display:grid; }
.empty-state:not([hidden]) { display:grid; grid-column:1/-1; }
.empty-state > span svg, .search-prompt > span svg { width:38px; height:38px; color:var(--orange); }
.empty-state h2, .search-prompt h2 { margin:16px 0 4px; }
.empty-state p, .search-prompt p { margin:0 0 18px; color:var(--muted); }
.result-group { margin-bottom:42px; }
.result-group > article { display:flex; align-items:center; justify-content:space-between; gap:20px; padding:19px 22px; border-top:1px solid var(--line); }
.result-group > article:last-child { border-bottom:1px solid var(--line); }
.result-group article span { color:var(--orange-dark); font-size:.68rem; font-weight:850; text-transform:uppercase; }
.result-group article h3 { margin:4px 0; font-family:var(--serif); font-size:1.25rem; }
.result-group article h3 a { text-decoration-thickness:1px; text-decoration-color:transparent; text-underline-offset:3px; }
.result-group article h3 a:hover { color:var(--orange-dark); text-decoration-color:currentColor; }
.result-group article p { margin:0; color:var(--muted); font-size:.84rem; }
.back-link { display:inline-block; margin:30px 4vw 0; color:var(--orange-dark); font-weight:800; text-decoration:none; }
.article-guide { max-width:900px; margin:35px 4vw 90px; padding:40px; border:1px solid var(--line); border-radius:30px; background:var(--white); box-shadow:var(--shadow); }
.article-guide ul { padding-left:22px; font-size:1.05rem; }
.article-guide li + li { margin-top:12px; }
.vet-note.large { margin:30px 0; padding:24px; }
.article-disclaimer { color:var(--muted); font-size:.84rem; }
.legal-grid { display:grid; grid-template-columns:repeat(2,1fr); gap:18px; padding:35px 4vw 90px; }
.legal-grid article { padding:30px; border:1px solid var(--line); border-radius:28px; background:var(--white); box-shadow:0 12px 34px rgba(34,42,37,.05); }
.legal-grid article h2 { font-size:1.55rem; }
.legal-grid article p { margin:0; color:var(--muted); }
.legal-grid .legal-emphasis { border-color:#e7b2a7; background:#fae6df; }
.legal-grid .legal-emphasis p { color:#724038; }

.site-footer { width:min(1420px,calc(100% - 48px)); display:flex; justify-content:space-between; align-items:end; gap:30px; margin:0 auto; padding:45px 4vw 38px; border-top:1px solid var(--line); }
.footer-brand img { width:36px; height:36px; }
.site-footer p { margin:12px 0 0; color:var(--muted); font-size:.78rem; }
.footer-meta { display:grid; justify-items:end; gap:11px; }
.footer-links { display:flex; flex-wrap:wrap; justify-content:flex-end; gap:12px 20px; color:var(--muted); font-size:.75rem; }
.footer-links a { text-decoration:none; }
.offline-pill { display:flex; align-items:center; gap:8px; width:fit-content; padding:7px 10px; border:1px solid var(--line); border-radius:999px; background:rgba(255,253,249,.72); font-size:.68rem; }
.offline-pill span { width:7px; height:7px; border-radius:50%; background:#73934c; }
.offline-pill.offline span { background:var(--gold); }

@media (max-width: 1100px) {
  .menu-button { display:flex; }
  .site-nav { position:absolute; top:70px; left:24px; right:24px; display:none; padding:10px; border:1px solid var(--line); border-radius:18px; background:var(--white); box-shadow:var(--shadow); }
  .site-nav.open { display:grid; }
  .site-nav a { padding:13px; }
  .nav-actions { margin-left:0; }
  .hero { grid-template-columns:1fr 380px; gap:35px; padding-inline:0; }
  .quick-strip, .section, .trust-band, .page-head, .library-tools, .breed-grid, .care-grid, .food-grid, .emergency-grid, .poison-panel, .pets-layout, .saved-grid, .search-results, .article-guide { margin-left:0; margin-right:0; }
  .section, .page-head, .breed-grid, .care-grid, .food-grid, .emergency-grid, .pets-layout, .saved-grid, .search-results, .legal-grid { padding-left:0; padding-right:0; }
  .breed-grid, .care-grid, .food-grid { grid-template-columns:repeat(2,1fr); }
  .topic-feature-grid { grid-template-columns:repeat(2,1fr); }
  .library-tools { top:78px; }
}
@media (max-width: 780px) {
  .nav-wrap, .main, .site-footer { width:min(100% - 28px,1420px); }
  .nav-wrap { min-height:68px; gap:10px; }
  .brand img { width:36px; height:36px; }
  .brand strong { font-size:.92rem; }
  .brand small { font-size:.52rem; }
  .hero { min-height:0; grid-template-columns:minmax(0,1fr); padding:60px 0 35px; }
  .hero h1 { font-size:clamp(3.4rem,16vw,5rem); }
  .hero-card { min-height:470px; }
  .search-box { min-height:58px; border-radius:18px; padding-left:15px; }
  .search-box button { min-height:42px; padding:0 13px; }
  .quick-strip { grid-template-columns:1fr; margin:0 0 45px; }
  .quick-strip > a + a { border-left:0; border-top:1px solid var(--line); }
  .section { padding:58px 0; }
  .section.soft { padding:45px 18px; border-radius:30px; }
  .section-title { align-items:start; flex-direction:column; }
  .species-grid, .topic-feature-grid, .trust-band, .emergency-grid, .pets-layout, .legal-grid { grid-template-columns:1fr; }
  .species-card { min-height:300px; padding:28px; gap:20px; }
  .trust-band { gap:35px; margin:45px 0; padding:30px; border-radius:30px; }
  .page-head { min-height:0; grid-template-columns:1fr; align-items:start; gap:25px; padding:55px 0 38px; }
  .page-head h1 { font-size:clamp(3rem,13vw,4.8rem); }
  .head-stat { min-width:0; width:100%; }
  .library-tools { position:relative; top:auto; flex-wrap:wrap; margin:20px 0 0; }
  .filter-row { width:100%; overflow-x:auto; padding-bottom:3px; }
  .inline-search { flex-basis:100%; }
  .select-wrap { width:100%; }
  .select-wrap select { width:100%; max-width:none; }
  .result-count { margin-left:0; }
  .breed-grid, .care-grid, .food-grid, .saved-grid { grid-template-columns:1fr; padding-top:15px; }
  .care-grid .care-card { min-height:0; }
  .inline-search.large { margin:24px 0; }
  .warning-banner { flex-direction:column; gap:5px; margin:20px 0 0; }
  .emergency-cta { max-width:none; }
  .poison-panel { align-items:start; flex-direction:column; margin:0 0 60px; padding:30px; }
  .form-grid { grid-template-columns:1fr; }
  .form-grid label.wide { grid-column:auto; }
  .pet-form, .pet-list-panel { padding:22px; }
  .pet-card { grid-template-columns:auto 1fr; }
  .pet-actions { grid-column:2; }
  .main-search > .search-box { margin:24px 0; }
  .article-guide { margin:25px 0 60px; padding:25px; }
  .site-footer { align-items:start; flex-direction:column; padding-inline:0; }
  .footer-meta { justify-items:start; }
  .footer-links { justify-content:flex-start; }
}
@media (max-width: 430px) {
  .nav-wrap { width:calc(100% - 20px); gap:6px; }
  .nav-wrap .brand { gap:6px; }
  .nav-wrap .brand img { width:30px; height:30px; }
  .nav-wrap .brand strong { font-size:.84rem; letter-spacing:.12em; }
  .nav-actions { gap:6px; }
  .menu-button { justify-content:center; width:44px; min-height:44px; padding:0; flex:0 0 auto; }
  .menu-button span { display:none; }
  .hero-card { min-height:430px; padding:24px; border-radius:32px; }
  .brand-glow { min-height:190px; }
  .stats { grid-template-columns:repeat(2,1fr); }
  .species-card { grid-template-columns:1fr; }
  .species-number { font-size:3rem; }
  .breed-facts { grid-template-columns:1fr; }
  .profile-grid { grid-template-columns:1fr; }
  .profile-grid .wide { grid-column:auto; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior:auto; } *,*::before,*::after { animation-duration:.01ms!important; transition-duration:.01ms!important; } }
@media print { .site-header,.site-footer,.offline-pill,.library-tools,.favorite-button,.menu-button { display:none!important; } .main { width:100%; } body { background:#fff; } }
