/* Self-hosted brand fonts (SIL Open Font License; Latin subset) */
@font-face { font-family: "Bricolage Grotesque"; src: url("/fonts/bricolage-grotesque-latin.woff2") format("woff2"); font-weight: 600 800; font-style: normal; font-display: swap; }
@font-face { font-family: "Figtree"; src: url("/fonts/figtree-latin.woff2") format("woff2"); font-weight: 400 700; font-style: normal; font-display: swap; }
/* Furlywise — tokens from the brand system (tennis + forest ink, paw/sky/biscuit supports). */
:root {
  --ground: #fff8ec; --surface-sage: #fdeed6; --surface-card: #ffffff; --line: #eedfc6; --coral: #f26b4f; --orange: #c96400;
  --ink: #17322b; --ink-muted: #4f6660; --link: #1f6b4f;
  --tennis: #c8e64a; --forest-ink: #17322b; --paw: #ff8aa1; --sky: #86ccef; --biscuit: #f2c26b;
  --font-display: "Bricolage Grotesque", "Trebuchet MS", system-ui, sans-serif;
  --font-body: "Figtree", "Segoe UI", system-ui, sans-serif;
  --radius-card: 20px; --radius-button: 14px; --radius-chip: 999px;
  --shadow-lift: 0 6px 0 0 #17322b;
}
@media (prefers-color-scheme: dark) {
  :root { --ground: #13201c; --surface-sage: #1a2c26; --surface-card: #1f3530; --line: #2f4a42; --ink: #f4efe4; --ink-muted: #c2c9bd; --link: #c8e64a; --orange: #ffb05c; color-scheme: dark; }
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--ground); color: var(--ink); font: 17px/1.65 var(--font-body); -webkit-font-smoothing: antialiased; }
a { color: var(--link); }
h1, h2, h3 { font-family: var(--font-display); margin: 0; text-wrap: balance; }
.wrap { max-width: 1160px; margin: 0 auto; padding-left: max(16px, env(safe-area-inset-left)); padding-right: max(16px, env(safe-area-inset-right)); }
.skip { position: absolute; left: -999px; } .skip:focus { left: 16px; top: 16px; z-index: 10; background: var(--tennis); color: var(--forest-ink); padding: 8px 12px; border-radius: 8px; }
:focus-visible { outline: 3px solid var(--link); outline-offset: 3px; }

/* header */
.site-header { border-bottom: 1px solid var(--line); background: var(--ground); position: sticky; top: 0; z-index: 5; }
.header-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 68px; }
.wordmark { font: 800 28px/1 var(--font-display); letter-spacing: -0.03em; color: var(--ink); text-decoration: none; }
.wordmark .i { position: relative; }
.wordmark .dot { position: absolute; left: 50%; top: -0.02em; width: 0.32em; height: 0.32em; transform: translateX(-50%); background: var(--tennis); border: 2px solid var(--forest-ink); border-radius: 50%; }
.wordmark.small { font-size: 22px; }
nav ul { display: flex; gap: 6px; list-style: none; margin: 0; padding: 0; }
nav a { display: inline-flex; min-height: 44px; align-items: center; padding: 0 12px; border-radius: 10px; color: var(--ink); text-decoration: none; font-weight: 600; font-size: 15px; }
nav a:hover { background: var(--surface-sage); }

/* generator */
.gen-band { background: var(--surface-sage); padding-block: 48px 8px; }
.gen { background: var(--surface-card); border: 2px solid var(--forest-ink); border-radius: 26px; padding: 28px; box-shadow: 8px 8px 0 0 var(--tennis); display: grid; grid-template-columns: 1fr auto; gap: 20px 32px; align-items: end; }
.gen-head { grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 20px; }
.gen-head p { margin: 0; color: var(--ink-muted); font-size: 15px; }
.gen-controls { display: flex; flex-direction: column; gap: 12px; min-width: 0; }
.gen-title { font-size: 28px; }
.gen-row { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.gen-label { width: 64px; font-size: 13px; font-weight: 700; color: var(--ink-muted); text-transform: uppercase; letter-spacing: .06em; }
.chip { min-height: 40px; padding: 0 14px; border-radius: var(--radius-chip); border: 1.5px solid var(--line); background: transparent; color: var(--ink); font: 600 15px/1 var(--font-body); cursor: pointer; }
.chip:hover { border-color: var(--ink-muted); }
.chip[aria-pressed="true"] { background: var(--tennis); border-color: var(--forest-ink); color: var(--forest-ink); }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 52px; padding: 0 24px; border-radius: var(--radius-button); font: 700 17px/1 var(--font-body); cursor: pointer; border: 2px solid var(--forest-ink); }
.btn-primary { background: var(--tennis); color: var(--forest-ink); box-shadow: var(--shadow-lift); margin-bottom: 6px; }
.btn-primary:active { transform: translateY(4px); box-shadow: 0 2px 0 0 var(--forest-ink); }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line); min-height: 44px; font-size: 15px; }

/* results */
.results { padding-block: 32px 64px; background: var(--surface-sage); }
.results-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 18px; }
.results-head h2 { font-size: 28px; }
.name-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.name { position: relative; display: flex; flex-direction: column; gap: 8px; padding: 18px 56px 20px 18px; background: var(--surface-card); border: 1px solid var(--line); border-radius: var(--radius-card); animation: pop .28s ease-out both; }
.name h3 { font-size: 26px; line-height: 1.1; }
.name p { margin: 0; color: var(--ink-muted); font-size: 15px; line-height: 1.5; }
.tag { align-self: flex-start; padding: 3px 11px; border-radius: var(--radius-chip); color: var(--forest-ink); font: 700 12px/1.5 var(--font-body); letter-spacing: .05em; text-transform: uppercase; }
.tag-paw { background: var(--paw); } .tag-sky { background: var(--sky); } .tag-biscuit { background: var(--biscuit); }
.fav { position: absolute; top: 14px; right: 14px; width: 40px; height: 40px; border-radius: 50%; border: 1.5px solid var(--line); background: var(--surface-card); color: var(--ink); font-size: 18px; cursor: pointer; display: grid; place-items: center; }
.fav[aria-pressed="true"] { background: var(--paw); border-color: var(--paw); color: var(--forest-ink); }
.empty { color: var(--ink-muted); }
.saved { margin-top: 28px; padding: 18px; border-radius: var(--radius-card); background: var(--surface-sage); }
.saved h3 { font-size: 18px; margin-bottom: 10px; }
.saved-list { display: flex; flex-wrap: wrap; gap: 8px; }
.saved-list span { padding: 6px 12px; border-radius: var(--radius-chip); background: var(--surface-card); border: 1px solid var(--line); font-weight: 600; }
@keyframes pop { from { opacity: .4; transform: translateY(6px); } }

/* lists */
.band { background: var(--ground); padding-block: 72px; }
.band h2, .gear h2 { font-size: clamp(30px, 3.6vw, 42px); letter-spacing: -0.02em; line-height: 1.08; }
.section-lead { color: var(--ink-muted); max-width: 40em; margin: 14px 0 28px; }
.card-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.list-card { display: flex; flex-direction: column; overflow: hidden; background: var(--surface-card); border: 1px solid var(--line); border-radius: var(--radius-card); transition: transform .18s ease, box-shadow .18s ease; }
.list-card:hover { transform: translateY(-3px); box-shadow: 0 10px 0 -4px var(--line); }
.list-card img { width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; display: block; }
.list-body { display: flex; flex-direction: column; gap: 8px; padding: 20px 22px 22px; flex: 1; }
.list-card h3 { font-size: 22px; line-height: 1.15; }
.list-card p { margin: 0; color: var(--ink-muted); font-size: 15px; }
.kicker { font: 700 12px/1.3 var(--font-body); letter-spacing: .07em; text-transform: uppercase; color: var(--link); }
.soon { margin-top: auto; padding-top: 8px; font-size: 13px; font-weight: 700; color: var(--ink-muted); }

/* gear */
.gear { padding-block: 72px; background: var(--surface-sage); }
.gear-photo { width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius-card); border: 3px solid var(--forest-ink); box-shadow: 8px 8px 0 0 var(--biscuit); margin-bottom: 28px; }
.gear-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }
.promise { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 14px; }
.promise li { display: flex; flex-direction: column; gap: 8px; padding: 20px; border: 1px solid var(--line); border-radius: var(--radius-card); background: var(--surface-card); }
.promise p { margin: 0; color: var(--ink-muted); }

/* footer */
.site-footer { border-top: 1px solid var(--line); padding-block: 32px; }
.footer-row { display: flex; flex-wrap: wrap; gap: 12px 24px; align-items: center; justify-content: space-between; }
.footer-row p { margin: 0; color: var(--ink-muted); font-size: 14px; max-width: 46em; }
.footer-row small { font-size: 12px; }

@media (max-width: 900px) {
  .hero-grid, .gear-grid { grid-template-columns: 1fr; gap: 40px; }
  .hero-art { justify-self: center; max-width: 440px; }
  .gen { grid-template-columns: 1fr; }
  .name-grid, .card-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 600px) {
  nav ul li:nth-child(n+3) { display: none; } nav a { padding: 0 8px; font-size: 14px; }
  .hero { padding-block: 32px 16px; }
  .name-grid, .card-grid { grid-template-columns: 1fr; }
  .gen { padding: 20px; box-shadow: 6px 6px 0 0 var(--tennis); }
  .float-name { left: 0; bottom: 6%; }
  .float-pill { right: 0; }
  .gen-label { width: 100%; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .name { animation: none; } .btn-primary:active { transform: none; } }

/* hero v2: centred headline, search, blob photo stage */
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.eyebrow { margin: 0 0 12px; font: 700 13px/1.3 var(--font-body); letter-spacing: .08em; text-transform: uppercase; color: var(--link); }
.hero { padding-block: 56px 72px; background: var(--ground); overflow: hidden; text-align: center; }
.hero-title { font-family: var(--font-display); font-weight: 800; text-transform: uppercase; letter-spacing: -0.035em; line-height: .95; font-size: clamp(40px, 7.4vw, 104px); }
.hero-title .l1 { display: block; color: var(--ink); }
.hero-title .l2 { display: block; color: var(--orange); }
.hero-sub { max-width: 40em; margin: 22px auto 0; color: var(--ink-muted); font-size: 18px; }
.search { position: relative; display: flex; gap: 8px; align-items: center; max-width: 640px; margin: 28px auto 0; padding: 8px 8px 8px 48px; background: var(--surface-card); border: 2px solid var(--forest-ink); border-radius: 18px; box-shadow: 6px 6px 0 0 var(--tennis); text-align: left; }
.search input { flex: 1; min-width: 0; border: 0; outline: 0; background: transparent; color: var(--ink); font: 500 17px/1.4 var(--font-body); padding: 10px 4px; }
.search input::placeholder { color: var(--ink-muted); }
.search .btn { min-height: 46px; margin: 0; box-shadow: none; }
.search-icon { position: absolute; left: 16px; top: 50%; width: 22px; height: 22px; transform: translateY(-50%); fill: none; stroke: var(--ink); stroke-width: 2.4; stroke-linecap: round; }
.search:focus-within { outline: 3px solid var(--link); outline-offset: 3px; }
.search-results { position: absolute; left: 0; right: 0; top: calc(100% + 10px); z-index: 4; max-height: 360px; overflow: auto; background: var(--surface-card); border: 2px solid var(--forest-ink); border-radius: 16px; padding: 8px; text-align: left; box-shadow: 0 18px 40px rgba(23,50,43,.18); }
.search-results a { display: flex; flex-direction: column; gap: 2px; padding: 10px 12px; border-radius: 10px; color: var(--ink); text-decoration: none; }
.search-results a:hover, .search-results a:focus { background: var(--surface-sage); }
.search-results b { font-family: var(--font-display); font-size: 17px; }
.search-results small { color: var(--ink-muted); font-size: 13px; }
.search-results .none { padding: 10px 12px; color: var(--ink-muted); margin: 0; }

.stage { display: grid; grid-template-columns: 1fr minmax(0, 1.5fr) 1fr; gap: 24px; align-items: center; margin-top: 48px; }
.cats { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 28px; align-items: center; }
.cats a { display: flex; flex-direction: column; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; font: 700 18px/1.2 var(--font-display); }
.cat-icon { position: relative; width: 96px; height: 96px; display: grid; place-items: center; }
.cat-icon::before { content: ""; position: absolute; inset: 10px 4px 4px 10px; border-radius: 46% 54% 42% 58% / 52% 44% 56% 48%; }
.cat-icon.c1::before { background: var(--biscuit); } .cat-icon.c2::before { background: var(--sky); } .cat-icon.c3::before { background: var(--paw); }
.cat-icon svg { position: relative; width: 70px; height: 70px; fill: none; stroke: var(--forest-ink); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; transition: transform .2s ease; }
.cat-icon svg circle, .cat-icon svg path[d^="M29"] { fill: var(--forest-ink); }
.cats a:hover svg { transform: rotate(-6deg) scale(1.06); }

.blob-art { position: relative; aspect-ratio: 1 / 1; width: 100%; max-width: 560px; justify-self: center; }
.blob-bg { position: absolute; inset: 6% 2% 0 8%; background: var(--coral); clip-path: url(#blob); transform: rotate(-8deg); }
.blob-photo { position: absolute; inset: 2% 6% 6% 4%; width: 90%; height: 92%; object-fit: cover; clip-path: url(#blob); }
.doodle { position: absolute; fill: var(--ground); stroke: none; }
.doodle.d1 { width: 54px; height: 54px; left: 4%; top: 30%; fill: var(--paw); transform: rotate(-18deg); }
.doodle.d2 { width: 84px; height: 34px; left: -4%; top: 6%; fill: none; stroke: var(--coral); stroke-width: 2.5; transform: rotate(-24deg); }
.doodle.d3 { width: 46px; height: 46px; right: -2%; top: 12%; fill: var(--sky); transform: rotate(16deg); }
.doodle.d4 { width: 76px; height: 30px; right: -6%; top: 58%; fill: none; stroke: var(--orange); stroke-width: 2.5; transform: rotate(20deg); }
.doodle.d5 { width: 40px; height: 40px; left: 10%; bottom: 4%; fill: var(--biscuit); transform: rotate(-30deg); }
.ball-doodle { position: absolute; right: 8%; bottom: 2%; width: 64px; height: 64px; border-radius: 50%; background: var(--tennis); border: 3px solid var(--forest-ink); }
.ball-doodle::before, .ball-doodle::after { content: ""; position: absolute; top: 6px; bottom: 6px; width: 30px; border: 3px solid var(--forest-ink); border-radius: 50%; }
.ball-doodle::before { left: -18px; border-left-color: transparent; border-top-color: transparent; border-bottom-color: transparent; }
.ball-doodle::after { right: -18px; border-right-color: transparent; border-top-color: transparent; border-bottom-color: transparent; }

.nod { display: flex; flex-direction: column; align-items: flex-start; gap: 6px; padding: 22px; background: var(--surface-card); border: 2px solid var(--forest-ink); border-radius: 22px; box-shadow: 6px 6px 0 0 var(--biscuit); text-align: left; }
.nod img { width: 64px; height: 64px; border-radius: 50%; object-fit: cover; border: 2px solid var(--forest-ink); }
.nod p { margin: 0; }
.nod-label { font: 700 12px/1.3 var(--font-body); letter-spacing: .08em; text-transform: uppercase; color: var(--link); margin-top: 6px !important; }
.nod-name { font: 800 40px/1 var(--font-display); color: var(--ink); }
.nod-meaning { color: var(--ink-muted); font-size: 15px; }
.nod .btn { margin-top: 10px; min-height: 42px; font-size: 14px; text-decoration: none; }
.care-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.band.care { background: var(--surface-sage); }
.gear { background: var(--ground); }

@media (max-width: 1000px) {
  .stage { grid-template-columns: 1fr 1fr; }
  .blob-art { grid-column: 1 / -1; order: -1; max-width: 460px; }
  .cats { flex-direction: row; justify-content: center; flex-wrap: wrap; }
  .care-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 600px) {
  .stage { grid-template-columns: 1fr; }
  .cats { gap: 14px; } .cat-icon { width: 76px; height: 76px; } .cat-icon svg { width: 54px; height: 54px; } .cats a { font-size: 15px; }
  .search { padding-left: 42px; } .search .btn { padding: 0 14px; }
  .care-grid { grid-template-columns: 1fr; }
}

/* v3: all pets, ebooks, tools */
.card-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.list-card.dim { opacity: .35; } .list-card.match { outline: 3px solid var(--tennis); outline-offset: 2px; }
.pet-bubble { position: absolute; width: 22%; aspect-ratio: 1; border-radius: 50%; object-fit: cover; border: 4px solid var(--ground); box-shadow: 0 0 0 2px var(--forest-ink); }
.pet-bubble.b1 { left: -6%; top: 14%; } .pet-bubble.b2 { right: -4%; top: 26%; width: 20%; }
.pet-bubble.b3 { left: 0; bottom: 6%; width: 19%; } .pet-bubble.b4 { right: 2%; bottom: 18%; width: 17%; }
.doodle.d4 { fill: var(--sky); stroke: none; }

.feature-book { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; padding: 22px; background: var(--surface-card); border: 2px solid var(--forest-ink); border-radius: 22px; box-shadow: 6px 6px 0 0 var(--biscuit); text-align: left; }
.feature-book .nod-label { margin: 0; }
.fb-title { font: 800 24px/1.1 var(--font-display); color: var(--ink); margin-top: 6px; }
.feature-book .btn { margin-top: 6px; min-height: 42px; font-size: 14px; text-decoration: none; }

.book { position: relative; aspect-ratio: 3 / 4; border-radius: 6px 16px 16px 6px; padding: 18px 16px; display: flex; flex-direction: column; justify-content: space-between; overflow: hidden; color: var(--forest-ink); box-shadow: inset 10px 0 0 rgba(0,0,0,.12), 6px 8px 0 0 var(--forest-ink); border: 2px solid var(--forest-ink); }
.book-sm { width: 120px; padding: 12px 10px; }
.book-kicker { font: 700 10px/1.2 var(--font-body); letter-spacing: .1em; text-transform: uppercase; }
.book-title { font: 800 22px/1.05 var(--font-display); letter-spacing: -0.02em; }
.book-sm .book-title { font-size: 15px; }
.book-art { position: absolute; right: -18px; bottom: -14px; width: 120px; height: 120px; fill: rgba(23,50,43,.16); }
.b-puppy { background: var(--biscuit); } .b-kitten { background: var(--paw); } .b-small { background: var(--tennis); } .b-fish { background: var(--sky); }
.ebooks { padding-block: 72px; background: var(--ground); }
.book-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 22px; }
.book-card { display: flex; flex-direction: column; gap: 16px; }
.book-card .book { width: 78%; margin-left: 4px; }
.book-card .list-body { padding: 0; }
.book-card h3 { font-size: 20px; line-height: 1.15; }
.book-card p { margin: 0; color: var(--ink-muted); font-size: 15px; }

.pets { padding-block: 56px; background: var(--ground); }
.pets h2, .ebooks h2, .tools h2 { font-size: clamp(30px, 3.6vw, 42px); letter-spacing: -0.02em; line-height: 1.08; }
.pet-row { list-style: none; margin: 24px 0 0; padding: 0; display: grid; grid-template-columns: repeat(8, minmax(0, 1fr)); gap: 14px; }
.pet-row a { display: flex; flex-direction: column; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); font: 700 16px/1.2 var(--font-display); }
.pet-row img { width: 100%; max-width: 120px; aspect-ratio: 1; border-radius: 50%; object-fit: cover; border: 3px solid var(--forest-ink); box-shadow: 4px 4px 0 0 var(--tennis); transition: transform .18s ease; }
.pet-row a:hover img { transform: translateY(-4px) rotate(-3deg); }

.tools { background: var(--surface-sage); }
.tools .results { background: transparent; padding-block: 28px 0; }
.results-head h3 { font: 700 26px/1.15 var(--font-display); margin: 0; }
.gen-title { margin: 0; }
.saved h4 { font: 700 18px/1.2 var(--font-display); margin: 0 0 10px; }
.tool-soon { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-top: 28px; padding: 18px 20px; border: 1.5px dashed var(--ink-muted); border-radius: var(--radius-card); }
.tool-soon p { margin: 0; color: var(--ink); }

@media (max-width: 1000px) {
  .card-grid, .book-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pet-row { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
@media (max-width: 600px) {
  .card-grid, .book-grid { grid-template-columns: 1fr; }
  .pet-row { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; } .pet-row a { font-size: 13px; }
  .book-card .book { width: 60%; }
}
.pet-bubble, .pet-row img { height: auto; }

/* v4: hero fits one screen */
.hero { padding-block: clamp(24px, 4vh, 48px); text-align: left; min-height: calc(100svh - 69px); display: flex; align-items: center; }
.hero > .wrap { width: 100%; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 56px); align-items: center; }
.hero-title { font-size: clamp(38px, 5vw, 76px); line-height: .96; }
.hero-sub { margin: 18px 0 0; max-width: 34em; font-size: clamp(16px, 1.3vw, 19px); }
.hero .search { margin: 24px 0 0; max-width: 560px; }
.quick { list-style: none; margin: 22px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.quick a { display: inline-flex; align-items: center; gap: 10px; padding: 6px 16px 6px 6px; border: 1.5px solid var(--line); border-radius: var(--radius-chip); background: var(--surface-card); color: var(--ink); text-decoration: none; font: 700 15px/1 var(--font-body); }
.quick a:hover { border-color: var(--forest-ink); }
.qi { width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; }
.qi.c1 { background: var(--biscuit); } .qi.c2 { background: var(--sky); } .qi.c3 { background: var(--paw); }
.qi svg { width: 24px; height: 24px; fill: none; stroke: var(--forest-ink); stroke-width: 4; stroke-linecap: round; stroke-linejoin: round; }
.qi svg circle { fill: var(--forest-ink); }
.hero .blob-art { width: min(100%, 70svh, 560px); justify-self: center; }
.tools .results .name-grid .name:nth-child(n+4) { display: none; }

@media (max-width: 900px) {
  .hero { min-height: 0; }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-copy { text-align: center; }
  .hero-sub, .hero .search { margin-left: auto; margin-right: auto; }
  .quick { justify-content: center; }
  .hero .blob-art { width: min(88%, 420px); order: 0; }
}
@media (max-width: 600px) {
  .quick a { font-size: 13px; padding-right: 12px; } .qi { width: 32px; height: 32px; }
  .search input { font-size: 15px; }
}

/* info pages + footer */
.page-hero { padding-block: 48px 36px; background: var(--surface-sage); }
.page-hero h1 { font-size: clamp(34px, 4.6vw, 58px); line-height: 1; letter-spacing: -0.03em; }
.page-lead { margin: 16px 0 0; max-width: 40em; font-size: 18px; color: var(--ink-muted); }
.crumbs { font-size: 14px; color: var(--ink-muted); margin-bottom: 18px; }
.crumbs a { color: var(--ink-muted); }
.page-body { padding-block: 40px 72px; }
.prose { max-width: 760px; }
.prose h2 { font-size: 26px; line-height: 1.2; margin: 36px 0 10px; }
.prose p, .prose li { color: var(--ink); }
.prose p { margin: 0 0 14px; }
.prose-img { width: 100%; height: auto; border-radius: var(--radius-card); border: 3px solid var(--forest-ink); box-shadow: 8px 8px 0 0 var(--biscuit); margin-bottom: 12px; }
.check { list-style: none; padding: 0; margin: 0 0 14px; display: flex; flex-direction: column; gap: 12px; }
.check li { position: relative; padding-left: 32px; }
.check li::before { content: ""; position: absolute; left: 0; top: .35em; width: 20px; height: 20px; border-radius: 50%; background: var(--tennis); box-shadow: inset 0 0 0 2px var(--forest-ink); }
.note { margin-top: 28px !important; padding: 14px 18px; border-radius: 14px; background: var(--surface-sage); color: var(--ink-muted) !important; font-size: 15px; }
.contact-card { padding: 24px; border: 2px solid var(--forest-ink); border-radius: 22px; background: var(--surface-card); box-shadow: 6px 6px 0 0 var(--tennis); margin-bottom: 8px; }
.contact-mail { font: 800 clamp(22px, 3vw, 30px)/1.2 var(--font-display); margin: 4px 0 10px !important; overflow-wrap: anywhere; }
.contact-mail a { color: var(--ink); }
.site-footer { border-top: 1px solid var(--line); padding-block: 48px 24px; background: var(--surface-sage); }
.footer-cols { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 28px; }
.footer-brand p { margin: 10px 0 0; color: var(--ink-muted); font-size: 15px; max-width: 22em; }
.footer-h { margin: 0 0 10px; font: 700 12px/1.3 var(--font-body); letter-spacing: .08em; text-transform: uppercase; color: var(--link); }
.site-footer nav ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 4px; }
.site-footer nav a { display: inline-flex; min-height: 36px; align-items: center; padding: 0; color: var(--ink); text-decoration: none; font-weight: 500; font-size: 15px; border-radius: 0; }
.site-footer nav a:hover { text-decoration: underline; background: none; }
.footer-base { margin-top: 32px; padding-top: 18px; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; color: var(--ink-muted); font-size: 13px; }
.footer-base p { margin: 0; }
@media (max-width: 800px) { .footer-cols { grid-template-columns: 1fr 1fr; } .footer-brand { grid-column: 1 / -1; } }
@media (max-width: 600px) { .site-footer nav ul li:nth-child(n+3) { display: list-item; } }
.page-body .prose { max-width: 1160px; }
.prose > * { max-width: 760px; }
.prose-img { max-height: 420px; object-fit: cover; }
.crumbs a { display: inline; min-height: 0; padding: 0; font-weight: 500; font-size: 14px; border-radius: 0; }
.crumbs a:hover { background: none; text-decoration: underline; }
.logo { display: inline-flex; align-items: center; }
.logo img { height: 34px; width: auto; display: block; }
.footer-logo { height: 30px; width: auto; display: block; }
@media (max-width: 600px) { .logo img { height: 28px; } }

/* care guides */
.guide-hero { padding-block: 36px 40px; }
.guide-head { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 36px; align-items: center; }
.guide-head h1 { font-size: clamp(30px, 3.8vw, 50px); line-height: 1.04; }
.byline { margin: 14px 0 0; font-size: 14px; color: var(--ink-muted); }
.byline a { color: var(--ink-muted); }
.guide-img { width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius-card); border: 3px solid var(--forest-ink); box-shadow: 8px 8px 0 0 var(--biscuit); }
.guide-body { padding-block: 36px 72px; }
.answer { padding: 20px 22px; border-radius: var(--radius-card); background: var(--surface-card); border: 2px solid var(--forest-ink); box-shadow: 6px 6px 0 0 var(--tennis); margin-bottom: 24px; }
.answer p { margin: 8px 0 0; font-size: 18px; line-height: 1.6; }
.answer-label { display: inline-block; padding: 3px 10px; border-radius: var(--radius-chip); background: var(--tennis); color: var(--forest-ink); font: 700 12px/1.5 var(--font-body); letter-spacing: .06em; text-transform: uppercase; }
.table-wrap { overflow-x: auto; margin: 18px 0 22px; }
.glance, .data { width: 100%; border-collapse: collapse; font-size: 16px; background: var(--surface-card); border-radius: 16px; overflow: hidden; border: 1px solid var(--line); }
.glance caption, .data caption { caption-side: top; text-align: left; font: 700 13px/1.4 var(--font-body); letter-spacing: .06em; text-transform: uppercase; color: var(--link); padding: 0 0 8px; }
.data caption { text-transform: none; letter-spacing: 0; font-weight: 500; color: var(--ink-muted); }
.glance th, .glance td, .data th, .data td { padding: 12px 16px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.glance th { width: 34%; font-weight: 700; color: var(--ink); background: var(--surface-sage); }
.data thead th { background: var(--surface-sage); font-weight: 700; }
.glance tr:last-child th, .glance tr:last-child td, .data tr:last-child td { border-bottom: 0; }
.toc { padding: 18px 22px; border: 1px solid var(--line); border-radius: var(--radius-card); background: var(--surface-card); margin: 8px 0 8px; }
.toc ol { margin: 0; padding-left: 20px; columns: 2; column-gap: 28px; }
.toc li { margin-bottom: 4px; break-inside: avoid; }
.toc a { color: var(--ink); }
.prose section { scroll-margin-top: 90px; }
.vet-note { margin: 28px 0; padding: 18px 20px; border-radius: var(--radius-card); background: color-mix(in srgb, var(--paw) 22%, var(--surface-card)); border: 2px solid var(--forest-ink); }
.faq-item { padding: 14px 0; border-bottom: 1px solid var(--line); }
.faq-item h3 { font-size: 19px; margin: 0 0 6px; }
.faq-item p { margin: 0; }
.sources ul, .related ul { padding-left: 20px; }
.sources a { color: var(--ink-muted); }
.related h2 { font-size: 22px; }
.card-link { display: flex; flex-direction: column; height: 100%; color: var(--ink); text-decoration: none; }
.list-card .card-link h2 { font-size: 22px; line-height: 1.15; margin: 0; }
.read { margin-top: auto; padding-top: 8px; font-weight: 700; font-size: 15px; color: var(--link); }
.page-body .card-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 900px) { .guide-head { grid-template-columns: 1fr; } .page-body .card-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .toc ol { columns: 1; } .page-body .card-grid { grid-template-columns: 1fr; } .glance th { width: 40%; } }
.popular-q { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; margin: -8px 0 26px; }
.popular-q a { padding: 8px 14px; border-radius: var(--radius-chip); background: var(--surface-card); border: 1.5px solid var(--forest-ink); color: var(--ink); font-weight: 700; font-size: 15px; text-decoration: none; }
.popular-q a:hover { background: var(--tennis); color: var(--forest-ink); }
