/* Pawmas: warm white, ink, one orange. Inter Tight for headings, Inter for reading. */
:root {
  --bg: #fffdf9; --paper: #faf4ec; --card: #fff; --ink: #1d1714; --ink2: #3b322d; --muted: #75695f; --faint: #a3978c;
  --line: #ece3d9; --line2: #e2d6c9; --paw: #d2342b; --paw-ink: #a4211a; --paw-soft: #fdebe9; --paw-glow: rgba(210, 52, 43, .16); --pine: #17583b; --pine-ink: #0f3f2a; --gold: #f2c46d;
  --ok: #138a52; --ok-soft: #e6f6ee; --warn: #b7791f; --r: 16px; --r-sm: 11px;
  --shadow: 0 1px 2px rgba(40, 24, 10, .05), 0 6px 22px rgba(40, 24, 10, .06);
  --head: 'Inter Tight', 'Inter', system-ui, sans-serif; --body: 'Inter', system-ui, -apple-system, sans-serif;
  --mono: ui-monospace, 'SF Mono', Menlo, Consolas, monospace;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 15.5px/1.6 var(--body); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; }
h1, h2, h3 { font-family: var(--head); letter-spacing: -.025em; line-height: 1.08; margin: 0; }
.wrap { max-width: 1180px; margin: 0 auto; padding: 0 24px; }
.muted { color: var(--muted); }
.mono { font-family: var(--mono); font-size: .92em; }
a.ul { text-decoration: underline; text-decoration-color: var(--line2); text-underline-offset: 3px; transition: text-decoration-color .15s; }
a.ul:hover { text-decoration-color: var(--paw); }
:focus-visible { outline: 2px solid var(--paw); outline-offset: 2px; border-radius: 6px; }

/* ---------- header ---------- */
header.top { position: sticky; top: 0; z-index: 40; background: rgba(255, 253, 249, .86); backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px); border-bottom: 1px solid var(--line); }
header.top .wrap { display: flex; align-items: center; gap: 22px; height: 64px; }
.brand { display: inline-flex; align-items: center; gap: 9px; font: 700 20px/1 var(--head); letter-spacing: -.03em; }
.brand svg { width: 30px; height: 30px; flex: none; }
.menu { display: flex; gap: 2px; margin-right: auto; }
.menu a { padding: 7px 12px; border-radius: 99px; font-size: 14.5px; color: var(--muted); transition: background .15s, color .15s; }
.menu a:hover { color: var(--ink); background: var(--paper); }
.menu a.on { color: var(--ink); background: #f3ebe1; font-weight: 500; }
.cabtn { display: inline-flex; align-items: center; gap: 8px; height: 38px; padding: 0 12px; border-radius: 99px; border: 1px solid var(--line2); background: var(--card); font-size: 12.5px; cursor: pointer; white-space: nowrap; position: relative; transition: border-color .15s, box-shadow .2s; }
.cabtn b { color: var(--paw); font-weight: 700; font-size: 11px; letter-spacing: .04em; }
.cabtn .addr { font-family: var(--mono); color: var(--ink2); }
.cabtn .done { display: none; color: var(--ok); font-weight: 600; }
.cabtn svg { width: 15px; height: 15px; fill: none; stroke: var(--muted); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.cabtn svg.ok { display: none; stroke: var(--ok); }
.cabtn:hover { border-color: var(--paw); }
.cabtn.copied .addr, .cabtn.copied .ci { display: none; }
.cabtn.copied .done, .cabtn.copied svg.ok { display: inline; }
.cabtn.soon { cursor: default; color: var(--muted); }
.cabtn.soon .addr { font-family: var(--body); color: var(--muted); }
.cabtn.fresh { animation: glow 1.6s ease-out 2; }
@keyframes glow { 0% { box-shadow: 0 0 0 0 var(--paw-glow); } 60% { box-shadow: 0 0 0 9px rgba(210, 52, 43, 0); } }
.xbtn { width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; background: var(--paw-soft); flex: none; transition: background .15s; }
.xbtn:hover { background: #fbd9d5; }
.xbtn svg { width: 15px; height: 15px; fill: var(--paw-ink); }
.burger { display: none; width: 40px; height: 40px; border: 0; background: none; border-radius: 10px; cursor: pointer; }
.burger svg { width: 22px; height: 22px; stroke: var(--ink); stroke-width: 2; stroke-linecap: round; fill: none; }

/* ---------- buttons, chips, pills ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 9px; height: 50px; padding: 0 24px; border-radius: 99px; font: 600 15.5px/1 var(--body); border: 1px solid transparent; cursor: pointer; transition: transform .15s cubic-bezier(.2, .8, .2, 1), background .15s, box-shadow .2s; }
.btn:active { transform: scale(.97); }
.btn.paw { background: var(--paw); color: #fff; box-shadow: 0 8px 24px -8px rgba(210, 52, 43, .65); }
.btn.paw:hover { background: var(--paw-ink); }
.btn.ghost { background: var(--card); border-color: var(--line2); }
.btn.ghost:hover { border-color: var(--ink2); }
.btn .lg.ic { width: 20px; height: 20px; border-radius: 5px; }
.lg { height: 16px; width: auto; display: inline-block; vertical-align: middle; }
.lg.ic { width: 17px; height: 17px; border-radius: 4px; object-fit: contain; }
.lg.chewy { height: 15px; } .lg.amazon { height: 15px; margin-top: 3px; } .lg.sp3nd { height: 13px; }
.bline { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin: 22px 0 0; }
.bchip { display: inline-flex; align-items: center; gap: 7px; height: 32px; padding: 0 12px; border-radius: 99px; border: 1px solid var(--line); background: var(--card); font-size: 12.5px; color: var(--muted); transition: border-color .15s; }
.bchip:hover { border-color: var(--line2); color: var(--ink2); }
.bchip b { color: var(--ink2); font-weight: 600; }
.bchip i { font-style: normal; font-size: 11px; color: var(--faint); }
.pill { display: inline-flex; align-items: center; gap: 7px; height: 26px; padding: 0 11px; border-radius: 99px; font-size: 12.5px; font-weight: 600; background: var(--paper); color: var(--ink2); white-space: nowrap; }
.pill .dot { width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.pill.ok { background: var(--ok-soft); color: var(--ok); }
.pill.paw { background: var(--paw-soft); color: var(--paw-ink); }
.pill.live .dot { animation: pulse 1.6s ease-in-out infinite; }
.pill.grey { color: var(--muted); }
@keyframes pulse { 50% { opacity: .3; } }
.tag { display: inline-flex; align-items: center; gap: 5px; font-size: 11.5px; font-weight: 600; padding: 3px 8px; border-radius: 99px; background: var(--paper); color: var(--muted); }
.tag.ok { background: var(--ok-soft); color: var(--ok); }
.tag .lg.amazon { height: 11px; margin-top: 3px; }

/* ---------- hero ---------- */
.hero { padding: 76px 0 34px; }
.hero.center { text-align: center; }
.hero h1 { font-size: clamp(40px, 6.4vw, 78px); font-weight: 700; max-width: 960px; margin: 0 auto; }
.hero h1 em { font-style: normal; color: var(--paw); }
.hero .lead { font-size: clamp(16.5px, 1.6vw, 19px); color: var(--muted); max-width: 640px; margin: 22px auto 0; text-wrap: pretty; }
.ctas { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-top: 30px; }
.via { display: flex; justify-content: center; align-items: center; flex-wrap: wrap; gap: 10px 16px; margin-top: 28px; font-size: 13.5px; color: var(--muted); }
.via span { display: inline-flex; align-items: center; gap: 7px; flex-wrap: wrap; justify-content: center; }
.via i { width: 4px; height: 4px; border-radius: 50%; background: var(--line2); }
.via a { display: inline-flex; align-items: center; gap: 5px; color: var(--ink2); font-weight: 500; }
.fan { display: flex; justify-content: center; align-items: flex-end; height: 210px; margin: 20px auto 0; max-width: 760px; position: relative; }
.fan a { width: 138px; height: 160px; margin: 0 -14px; background: #fff; border: 1px solid var(--line); border-radius: 18px; box-shadow: var(--shadow); padding: 14px; transition: transform .35s cubic-bezier(.2, .8, .2, 1); display: grid; place-items: center; }
.fan a img { max-height: 120px; object-fit: contain; mix-blend-mode: multiply; }
.fan a:hover { transform: translateY(-14px) rotate(0deg) !important; z-index: 5; }
.nums { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; margin: 26px 0 0; border: 1px solid var(--line); border-radius: var(--r); background: var(--card); overflow: hidden; }
.nums > div { padding: 20px 22px; border-left: 1px solid var(--line); display: flex; flex-direction: column; gap: 3px; }
.nums > div:first-child { border-left: 0; }
.nums small { font-size: 12.5px; color: var(--muted); }
.nums b { font: 700 30px/1.1 var(--head); letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.nums span { font-size: 12.5px; color: var(--faint); }

/* ---------- sections ---------- */
.block { padding: 72px 0; }
.block.paper { background: var(--paper); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.eyebrow { font-size: 12px; font-weight: 700; letter-spacing: .09em; text-transform: uppercase; color: var(--paw); margin-bottom: 12px; }
.h2 { font-size: clamp(28px, 3.6vw, 44px); font-weight: 700; }
.sub { color: var(--muted); font-size: 16.5px; max-width: 760px; margin: 16px 0 0; text-wrap: pretty; }
.rowhead { display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; margin-bottom: 28px; }
.more { color: var(--paw-ink); font-weight: 600; font-size: 14.5px; white-space: nowrap; }
.more:hover { text-decoration: underline; text-underline-offset: 3px; }
.pagehead { padding: 56px 0 8px; }
.pagehead h1 { font-size: clamp(34px, 5vw, 56px); font-weight: 700; }
.pagehead .sub { max-width: 680px; }

/* the comparison */
.vs { margin-top: 34px; border: 1px solid var(--line); border-radius: var(--r); background: var(--card); overflow: hidden; }
.vs .vh, .vs .vr { display: grid; grid-template-columns: 1fr 1fr; }
.vs .vh span { padding: 14px 22px; font-size: 12.5px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--faint); background: var(--paper); }
.vs .vh span:last-child { color: var(--paw-ink); background: var(--paw-soft); }
.vs .vr { border-top: 1px solid var(--line); }
.vs .vr p { margin: 0; padding: 16px 22px; color: var(--muted); }
.vs .vr p:last-child { color: var(--ink); background: #fff8f7; border-left: 1px solid var(--line); }

/* the next shelter */
.next { display: grid; grid-template-columns: 1fr 1.15fr; gap: 0; border: 1px solid var(--line); border-radius: 22px; background: var(--card); box-shadow: var(--shadow); overflow: hidden; }
.next .l { padding: 32px; display: flex; flex-direction: column; }
.next .l > .pill { align-self: flex-start; }
.next h3 { font-size: clamp(26px, 3vw, 36px); margin-top: 14px; }
.next .where { color: var(--muted); margin-top: 8px; }
.bar { height: 10px; border-radius: 99px; background: #f2e9df; margin-top: 26px; overflow: hidden; }
.bar i { display: block; height: 100%; background: linear-gradient(90deg, #ef7d6f, var(--paw)); border-radius: inherit; transition: width .8s cubic-bezier(.2, .8, .2, 1); }
.money { display: flex; justify-content: space-between; gap: 12px; margin-top: 10px; font-size: 13.5px; color: var(--muted); flex-wrap: wrap; }
.money b { color: var(--ink); font-variant-numeric: tabular-nums; }
.next .r { background: var(--paper); padding: 20px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; align-content: start; border-left: 1px solid var(--line); }
.mini { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 12px; display: flex; flex-direction: column; gap: 6px; position: relative; transition: border-color .15s, transform .2s; }
.mini:hover { border-color: var(--line2); transform: translateY(-2px); }
.mini img { height: 86px; width: 100%; object-fit: contain; mix-blend-mode: multiply; }
.mini small { font-size: 12px; line-height: 1.35; color: var(--ink2); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.mini b { font-size: 13.5px; }
.mini .ext, .wishcard .ext { position: absolute; top: 9px; right: 9px; display: inline-flex; align-items: center; gap: 3px; background: rgba(255, 255, 255, .92); border-radius: 99px; padding: 3px 7px; font-size: 10px; color: var(--muted); opacity: 0; transition: opacity .15s; z-index: 2; }
.mini .ext .lg, .wishcard .ext .lg { height: 10px; }
.mini:hover .ext, .wishcard .pic:hover .ext { opacity: 1; }

/* steps */
.steps { display: grid; gap: 14px; margin-top: 36px; }
.steps.six { grid-template-columns: repeat(3, 1fr); }
.steps > div { background: var(--card); border: 1px solid var(--line); border-radius: var(--r); padding: 22px; display: flex; flex-direction: column; gap: 8px; position: relative; counter-increment: step; }
.steps.six { counter-reset: step; }
.steps.six > div::after { content: counter(step); position: absolute; top: 18px; right: 20px; font: 700 13px var(--head); color: var(--faint); }
.steps b { font: 700 18px/1.25 var(--head); letter-spacing: -.015em; }
.steps p { margin: 0; color: var(--muted); font-size: 14.5px; }
.steps .rec { margin-top: auto; padding-top: 10px; font-size: 12.5px; color: var(--paw-ink); }
.brandrow { display: flex; align-items: center; gap: 8px; height: 26px; }
.brandrow .tx { font-weight: 600; font-size: 14px; }
.brandrow .lg.chewy, .brandrow .lg.amazon { height: 19px; }
.brandrow .lg.sp3nd { height: 16px; }
.brandrow .lg.ic { width: 22px; height: 22px; }

/* ---------- wish cards ---------- */
.grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.wishcard { background: var(--card); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; display: flex; flex-direction: column; transition: border-color .15s, box-shadow .2s, transform .2s; }
.wishcard:hover { border-color: var(--line2); box-shadow: var(--shadow); transform: translateY(-2px); }
.wishcard .pic { position: relative; aspect-ratio: 1 / .92; background: #f7f3ee; display: grid; place-items: center; padding: 16px; }
.wishcard .pic img { width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; }
.pri { position: absolute; top: 10px; left: 10px; z-index: 2; font-size: 10.5px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--paw-ink); background: rgba(255, 255, 255, .94); border-radius: 99px; padding: 4px 9px; display: inline-flex; align-items: center; gap: 5px; }
.pri svg { width: 10px; height: 10px; fill: var(--paw); }
.wishcard .body { padding: 14px 15px 15px; display: flex; flex-direction: column; flex: 1; }
.wishcard .name { font-size: 14px; line-height: 1.38; color: var(--ink); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: 2.76em; }
.wishcard .name:hover { color: var(--paw-ink); }
.wishcard .price { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-top: 6px; font: 700 19px var(--head); }
.wishcard .for { margin-top: auto; padding-top: 10px; border-top: 1px dashed var(--line2); font-size: 12.5px; color: var(--muted); display: flex; flex-direction: column; margin-top: 12px; }
.wishcard .for b { color: var(--ink2); font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.wishcard .for:hover b { color: var(--paw-ink); }
.wishcard .meta { font-size: 11.5px; color: var(--faint); margin-top: 2px; }

/* ---------- filters ---------- */
.filters { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin: 30px 0 22px; }
.search { position: relative; flex: 0 1 300px; }
.search input { width: 100%; height: 42px; border-radius: 12px; border: 1px solid var(--line2); background: var(--card); padding: 0 14px 0 38px; font: inherit; font-size: 14.5px; color: var(--ink); }
.search input:focus { outline: none; border-color: var(--paw); box-shadow: 0 0 0 4px var(--paw-glow); }
.search svg { position: absolute; left: 13px; top: 13px; width: 16px; height: 16px; stroke: var(--faint); fill: none; stroke-width: 2; stroke-linecap: round; }
.seg { display: inline-flex; background: #f3ebe1; border-radius: 12px; padding: 4px; gap: 2px; flex-wrap: wrap; }
.seg button { border: 0; background: none; height: 34px; padding: 0 13px; border-radius: 9px; font-size: 14px; color: var(--muted); cursor: pointer; transition: background .15s, color .15s; }
.seg button:hover { color: var(--ink); }
.seg button.on { background: #fff; color: var(--ink); font-weight: 500; box-shadow: 0 1px 3px rgba(40, 24, 10, .1); }
.filters .count { margin-left: auto; font-size: 13.5px; color: var(--muted); font-variant-numeric: tabular-nums; }
.dd { position: relative; }
.dd select { position: absolute; opacity: 0; pointer-events: none; width: 1px; height: 1px; }
.dd-btn { display: inline-flex; align-items: center; gap: 8px; height: 42px; padding: 0 13px; border-radius: 12px; border: 1px solid var(--line2); background: var(--card); cursor: pointer; font-size: 14px; white-space: nowrap; transition: border-color .15s; }
.dd-btn:hover, .dd.open .dd-btn { border-color: var(--ink2); }
.dd.set .dd-btn { border-color: var(--paw); background: var(--paw-soft); }
.dd-btn svg { width: 16px; height: 16px; fill: none; stroke: var(--muted); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.dd-btn .chev { width: 14px; height: 14px; transition: transform .2s; }
.dd.open .chev { transform: rotate(180deg); }
.dd-pop { position: absolute; top: calc(100% + 6px); left: 0; z-index: 30; min-width: 220px; max-width: 300px; background: #fff; border: 1px solid var(--line2); border-radius: 14px; box-shadow: 0 16px 40px -12px rgba(40, 24, 10, .25); padding: 6px; transform-origin: top; animation: pop .16s cubic-bezier(.2, .8, .2, 1); }
.dd-pop.right { left: auto; right: 0; }
@keyframes pop { from { opacity: 0; transform: translateY(-4px) scale(.98); } }
.dd-q { width: 100%; height: 36px; border: 1px solid var(--line); border-radius: 9px; padding: 0 10px; font: inherit; font-size: 14px; margin-bottom: 6px; }
.dd-q:focus { outline: none; border-color: var(--paw); }
.dd-list { max-height: 300px; overflow: auto; }
.dd-opt { padding: 8px 10px; border-radius: 8px; font-size: 14px; cursor: pointer; }
.dd-opt.act { background: var(--paper); }
.dd-opt.on { font-weight: 600; color: var(--paw-ink); }
.dd-empty { padding: 10px; color: var(--faint); font-size: 13.5px; }
.pager { display: flex; justify-content: center; gap: 4px; margin: 34px 0 0; flex-wrap: wrap; }
.pager button { min-width: 40px; height: 40px; border-radius: 10px; border: 1px solid var(--line); background: var(--card); cursor: pointer; font-variant-numeric: tabular-nums; }
.pager button:hover:not(:disabled) { border-color: var(--ink2); }
.pager button.on { background: var(--ink); color: #fff; border-color: var(--ink); }
.pager button:disabled { opacity: .35; cursor: default; }
.pager span { align-self: center; padding: 0 4px; color: var(--faint); }
.empty { border: 1px dashed var(--line2); border-radius: var(--r); padding: 40px 24px; text-align: center; color: var(--muted); background: var(--card); }
.empty b { display: block; color: var(--ink); font: 600 18px var(--head); margin-bottom: 6px; }
.skel { background: linear-gradient(90deg, #f4ede5 0, #faf6f1 50%, #f4ede5 100%); background-size: 200% 100%; animation: sk 1.3s linear infinite; border-radius: var(--r); }
@keyframes sk { to { background-position: -200% 0; } }

/* ---------- shelters ---------- */
.states { display: flex; flex-wrap: wrap; gap: 6px; margin: 6px 0 22px; }
.states button { border: 1px solid var(--line); background: var(--card); border-radius: 9px; height: 34px; min-width: 48px; padding: 0 9px; font-size: 13px; cursor: pointer; display: inline-flex; flex-direction: column; align-items: center; justify-content: center; line-height: 1.05; transition: border-color .15s, background .15s; }
.states button small { font-size: 9.5px; color: var(--faint); }
.states button:hover { border-color: var(--line2); }
.states button.on { background: var(--ink); color: #fff; border-color: var(--ink); }
.states button.on small { color: #d9cfc6; }
.shelters { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.scard { background: var(--card); border: 1px solid var(--line); border-radius: var(--r); padding: 18px; display: grid; grid-template-columns: 74px 1fr; gap: 16px; align-items: center; transition: border-color .15s, box-shadow .2s; }
.scard:hover { border-color: var(--line2); box-shadow: var(--shadow); }
.scard .ph { width: 74px; height: 74px; border-radius: 14px; background: #f7f3ee; display: grid; place-items: center; padding: 8px; }
.scard .ph img { max-height: 100%; object-fit: contain; mix-blend-mode: multiply; }
.scard h3 { font: 600 16px/1.3 var(--head); letter-spacing: -.01em; overflow: hidden; text-overflow: ellipsis; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.scard .loc { font-size: 13px; color: var(--muted); margin-top: 2px; }
.scard .st { display: flex; gap: 12px; font-size: 12.5px; color: var(--muted); margin-top: 8px; flex-wrap: wrap; }
.scard .st b { color: var(--ink); }
.scard .st .hi b { color: var(--paw-ink); }

/* ---------- orders ---------- */
.orders { display: flex; flex-direction: column; gap: 12px; }
.order { position: relative; background: var(--card); border: 1px solid var(--line); border-radius: var(--r); padding: 20px 22px; display: grid; grid-template-columns: 1fr auto; gap: 20px; align-items: start; transition: border-color .15s, box-shadow .2s; }
.order:hover { border-color: var(--line2); box-shadow: var(--shadow); }
.order .go::after { content: ''; position: absolute; inset: 0; border-radius: inherit; }
.order .go b { font: 600 18px var(--head); letter-spacing: -.01em; }
.order small { display: block; color: var(--muted); font-size: 13px; margin-top: 2px; }
.thumbs { display: flex; gap: 6px; margin-top: 12px; flex-wrap: wrap; }
.thumbs img { width: 44px; height: 44px; border-radius: 10px; background: #f7f3ee; object-fit: contain; padding: 4px; border: 1px solid var(--line); mix-blend-mode: multiply; }
.oproof { position: relative; z-index: 2; display: flex; gap: 8px; flex-wrap: wrap; align-items: center; margin-top: 12px; font-size: 12.5px; color: var(--muted); }
.oproof i { font-style: normal; color: var(--line2); }
.order .amt { text-align: right; }
.order .amt b { font: 700 24px var(--head); font-variant-numeric: tabular-nums; }

/* ---------- detail pages ---------- */
.dhead { display: grid; grid-template-columns: 1fr auto; gap: 24px; align-items: end; padding: 48px 0 10px; }
.dhead h1 { font-size: clamp(30px, 4.4vw, 50px); font-weight: 700; }
.dhead .loc { color: var(--muted); margin-top: 8px; font-size: 16px; }
.dstats { display: grid; grid-template-columns: repeat(4, 1fr); border: 1px solid var(--line); border-radius: var(--r); background: var(--card); margin: 26px 0 36px; overflow: hidden; }
.dstats > div { padding: 16px 20px; border-left: 1px solid var(--line); }
.dstats > div:first-child { border-left: 0; }
.dstats small { display: block; font-size: 12.5px; color: var(--muted); }
.dstats b { font: 700 24px var(--head); font-variant-numeric: tabular-nums; }
.timeline { list-style: none; margin: 0; padding: 0; position: relative; }
.timeline li { position: relative; padding: 0 0 22px 30px; }
.timeline li::before { content: ''; position: absolute; left: 7px; top: 8px; bottom: -4px; width: 2px; background: var(--line); }
.timeline li:last-child::before { display: none; }
.timeline li::after { content: ''; position: absolute; left: 1px; top: 4px; width: 14px; height: 14px; border-radius: 50%; background: var(--card); border: 3px solid var(--paw); }
.timeline li.todo::after { border-color: var(--line2); }
.timeline li.todo { color: var(--faint); }
.timeline b { display: block; font-weight: 600; }
.timeline small { color: var(--muted); font-size: 13px; }
.two { display: grid; grid-template-columns: 1.4fr 1fr; gap: 28px; align-items: start; }
.panel { background: var(--card); border: 1px solid var(--line); border-radius: var(--r); padding: 22px; }
.panel h3 { font: 700 18px var(--head); margin-bottom: 14px; }
.kv { display: grid; grid-template-columns: auto 1fr; gap: 9px 16px; font-size: 14px; }
.kv dt { color: var(--muted); }
.kv dd { margin: 0; text-align: right; font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
.kv .tot { font-weight: 700; padding-top: 9px; border-top: 1px solid var(--line); }
.lines { display: flex; flex-direction: column; }
.line { display: grid; grid-template-columns: 60px 1fr auto; gap: 14px; align-items: center; padding: 12px 0; border-top: 1px solid var(--line); }
.line:first-child { border-top: 0; }
.line img { width: 60px; height: 60px; object-fit: contain; border-radius: 10px; background: #f7f3ee; padding: 5px; mix-blend-mode: multiply; }
.line .nm { font-size: 14px; line-height: 1.35; }
.line .src { display: flex; gap: 10px; flex-wrap: wrap; font-size: 12.5px; color: var(--muted); margin-top: 4px; }
.line .pr { text-align: right; font-weight: 700; font-variant-numeric: tabular-nums; }
.line .pr small { display: block; font-weight: 400; color: var(--muted); font-size: 12px; }
.line.drop { opacity: .6; }

/* ---------- tables (treasury) ---------- */
.tbl { width: 100%; border-collapse: collapse; font-size: 14px; }
.tblwrap { border: 1px solid var(--line); border-radius: var(--r); background: var(--card); overflow-x: auto; }
.tbl th { text-align: left; font-size: 12px; font-weight: 600; color: var(--muted); padding: 12px 16px; background: var(--paper); white-space: nowrap; }
.tbl td { padding: 12px 16px; border-top: 1px solid var(--line); white-space: nowrap; font-variant-numeric: tabular-nums; }
.tbl td.none { color: var(--faint); text-align: center; padding: 26px; white-space: normal; }
.wallets { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin: 26px 0 0; }
.wallets > div { background: var(--card); border: 1px solid var(--line); border-radius: var(--r); padding: 18px 20px; }
.wallets b { display: block; font: 600 16px var(--head); }
.wallets small { display: block; color: var(--muted); font-size: 13px; margin: 2px 0 10px; }
.sect { margin-top: 48px; }
.sect h2 { font: 700 24px var(--head); }
.sect > p { color: var(--muted); margin: 6px 0 16px; max-width: 760px; }

/* ---------- how / faq ---------- */
.flow { display: grid; grid-template-columns: repeat(5, 1fr); gap: 10px; margin: 34px 0 10px; }
.flow > div { background: var(--card); border: 1px solid var(--line); border-radius: var(--r); padding: 16px; }
.flow small { font-size: 11.5px; font-weight: 700; color: var(--paw); letter-spacing: .05em; text-transform: uppercase; }
.flow b { display: block; font: 600 16px/1.3 var(--head); margin-top: 6px; }
.flow span { font-size: 13px; color: var(--muted); }
.prose { max-width: 760px; }
.prose h2 { font: 700 26px var(--head); margin: 48px 0 12px; }
.prose p, .prose li { color: var(--ink2); font-size: 16px; }
.prose ul, .prose ol { padding-left: 22px; }
.prose li { margin: 6px 0; }
.why { background: var(--paw-soft); border-radius: 12px; padding: 14px 18px; font-size: 14.5px; color: var(--ink2); margin: 14px 0; }
.why b { color: var(--paw-ink); }
.callout { border: 1px solid var(--line); background: var(--card); border-radius: var(--r); padding: 20px 22px; margin: 22px 0; }
.faq { max-width: 820px; margin-top: 30px; }
.faq details { border-top: 1px solid var(--line); }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; padding: 20px 40px 20px 0; font: 600 18px/1.35 var(--head); letter-spacing: -.01em; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ''; position: absolute; right: 6px; top: 26px; width: 10px; height: 10px; border-right: 2px solid var(--muted); border-bottom: 2px solid var(--muted); transform: rotate(45deg); transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(-135deg); top: 30px; }
.faq details p { margin: 0 0 20px; color: var(--ink2); max-width: 720px; }

/* ---------- footer ---------- */
.foot { margin-top: 90px; border-top: 1px solid var(--line); background: var(--paper); padding: 52px 0 26px; font-size: 14px; color: var(--muted); }
.foot > .wrap:first-child { display: grid; grid-template-columns: 1.6fr 1fr 1fr; gap: 30px; }
.foot b { display: block; color: var(--ink); font-weight: 600; margin-bottom: 10px; }
.foot a:not(.brand) { display: block; padding: 3px 0; }
.foot a:not(.brand):hover { color: var(--ink); }
.foot .brand { color: var(--ink); }
.fbar { margin-top: 40px; padding-top: 20px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; align-items: center; font-size: 12.5px; }
.fbar p { margin: 0; }
.fworks { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.ftiles { display: flex; gap: 8px; flex-wrap: wrap; }
.ftiles a { height: 34px; padding: 0 11px; border-radius: 10px; background: #fff; border: 1px solid var(--line); display: inline-flex !important; align-items: center; gap: 6px; }
.ftiles em { font-style: normal; color: var(--ink2); font-weight: 500; }

/* ---------- responsive ---------- */
@media (max-width: 1060px) {
  .grid { grid-template-columns: repeat(3, 1fr); }
  .shelters { grid-template-columns: repeat(2, 1fr); }
  .menu a { padding: 7px 9px; }
}
@media (max-width: 920px) {
  header.top .wrap { gap: 10px; }
  .menu { display: none; position: absolute; top: 64px; left: 0; right: 0; flex-direction: column; background: var(--bg); border-bottom: 1px solid var(--line); padding: 10px 16px 16px; margin: 0; box-shadow: 0 20px 30px -20px rgba(40, 24, 10, .2); }
  .menu.open { display: flex; }
  .menu a { padding: 12px 14px; font-size: 16px; border-radius: 10px; }
  .brand { margin-right: auto; }
  .burger { display: grid; place-items: center; }
  .next { grid-template-columns: 1fr; }
  .next .r { border-left: 0; border-top: 1px solid var(--line); }
  .steps.six { grid-template-columns: repeat(2, 1fr); }
  .flow { grid-template-columns: repeat(2, 1fr); }
  .two { grid-template-columns: 1fr; }
  .wallets { grid-template-columns: 1fr; }
  .foot > .wrap:first-child { grid-template-columns: 1fr 1fr; }
  .foot > .wrap:first-child > div:first-child { grid-column: 1 / -1; }
}
@media (max-width: 700px) {
  .wrap { padding: 0 16px; }
  .nums, .dstats { grid-template-columns: 1fr 1fr; }
  .nums > div:nth-child(3), .dstats > div:nth-child(3) { border-left: 0; }
  .nums > div:nth-child(n+3), .dstats > div:nth-child(n+3) { border-top: 1px solid var(--line); }
  .nums b { font-size: 24px; }
  .grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .shelters { grid-template-columns: 1fr; }
  .steps.six { grid-template-columns: 1fr; }
  .vs .vh, .vs .vr { grid-template-columns: 1fr; }
  .vs .vh span:first-child { display: none; }
  .vs .vr p:first-child { padding-bottom: 4px; font-size: 13.5px; text-decoration: line-through; text-decoration-color: var(--line2); }
  .vs .vr p:last-child { border-left: 0; background: none; padding-top: 0; }
  .vs .vh span:last-child::before { content: 'Usually → '; color: var(--faint); }
  .block { padding: 54px 0; }
  .hero { padding: 48px 0 24px; }
  .via { flex-direction: column; gap: 8px; }
  .via i { display: none; }
  .fan { height: 150px; }
  .fan a { width: 98px; height: 116px; margin: 0 -12px; padding: 10px; }
  .fan a img { max-height: 86px; }
  .next .l { padding: 22px; }
  .next .r { grid-template-columns: repeat(2, 1fr); padding: 14px; }
  .rowhead { flex-direction: column; align-items: flex-start; }
  .order { grid-template-columns: 1fr; gap: 10px; padding: 18px; }
  .order .amt { text-align: left; }
  .dhead { grid-template-columns: 1fr; }
  .search { flex: 1 1 100%; }
  .filters .count { margin-left: 0; width: 100%; }
  .cabtn .addr .yet, .cabtn.inhead .addr { display: none; }
  .cabtn.inhead.copied .done { display: inline; }
  .wishcard .body { padding: 11px 12px 12px; }
  .wishcard .name { font-size: 13px; }
  .wishcard .price { font-size: 17px; }
  .flow { grid-template-columns: 1fr; }
  .foot > .wrap:first-child { grid-template-columns: 1fr; }
  .line { grid-template-columns: 48px 1fr; }
  .line img { width: 48px; height: 48px; }
  .line .pr { grid-column: 2; text-align: left; }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; } }

/* ---------- the Pawmas drive (countdown to Christmas) ---------- */
.drive { background: var(--pine); color: #e9f1ec; font-size: 13px; }
.drive .wrap { display: flex; justify-content: space-between; align-items: center; gap: 12px; min-height: 38px; flex-wrap: wrap; }
.drive .dl, .drive .dr { display: inline-flex; align-items: center; white-space: nowrap; }
.drive b { color: #fff; font-weight: 600; }
.drive .dl i { width: 4px; height: 4px; border-radius: 50%; background: var(--gold); margin: 0 10px; }
.drive .cd-short { font-family: var(--mono); color: var(--gold); font-variant-numeric: tabular-nums; }
.drive .dr b { color: var(--gold); font-variant-numeric: tabular-nums; }
.drive em { font-style: normal; color: #a9c5b5; margin-left: 12px; padding-left: 12px; border-left: 1px solid rgba(255, 255, 255, .18); }

.xmas { margin: 34px auto 0; max-width: 860px; background: var(--pine); color: #eaf2ed; border-radius: 26px; padding: 26px 28px 24px; position: relative; overflow: hidden; box-shadow: 0 24px 50px -28px rgba(15, 63, 42, .8); text-align: left; }
.xmas::before { content: ''; position: absolute; inset: 0; background-image: radial-gradient(circle at 12% 20%, rgba(255, 255, 255, .14) 0 1.5px, transparent 2px), radial-gradient(circle at 78% 30%, rgba(255, 255, 255, .12) 0 1.5px, transparent 2px), radial-gradient(circle at 44% 80%, rgba(255, 255, 255, .1) 0 1.5px, transparent 2px), radial-gradient(circle at 90% 85%, rgba(255, 255, 255, .12) 0 1.5px, transparent 2px); background-size: 120px 120px, 170px 170px, 140px 140px, 190px 190px; pointer-events: none; animation: snow 18s linear infinite; }
@keyframes snow { to { background-position: 0 120px, 0 170px, 0 140px, 0 190px; } }
.xmas > * { position: relative; }
.xmas .top { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }
.xmas .lbl { font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--gold); }
.xmas .when { font-size: 13px; color: #a9c5b5; }
.tiles { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin-top: 14px; }
.tiles > div { background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .1); border-radius: 16px; padding: 14px 8px 10px; text-align: center; }
.tiles b { display: block; font: 700 clamp(32px, 5.4vw, 54px)/1 var(--head); letter-spacing: -.03em; color: #fff; font-variant-numeric: tabular-nums; }
.tiles small { display: block; margin-top: 6px; font-size: 11.5px; letter-spacing: .08em; text-transform: uppercase; color: #a9c5b5; }
.tiles.over > div { opacity: .5; }
.raise { margin-top: 20px; }
.raise .row { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; flex-wrap: wrap; }
.raise .amt { font: 700 30px/1 var(--head); color: #fff; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.raise .amt small { font: 500 14px var(--body); color: #a9c5b5; letter-spacing: 0; margin-left: 6px; }
.raise .goal { font-size: 13.5px; color: #a9c5b5; }
.raise .goal b { color: var(--gold); }
.raise .track { height: 12px; border-radius: 99px; background: rgba(255, 255, 255, .1); margin-top: 12px; overflow: hidden; }
.raise .track i { display: block; height: 100%; min-width: 12px; border-radius: inherit; background: linear-gradient(90deg, var(--gold), #ffe2a3); transition: width 1s cubic-bezier(.2, .8, .2, 1); }
.raise .sub3 { display: flex; gap: 18px; flex-wrap: wrap; margin-top: 12px; font-size: 13px; color: #a9c5b5; }
.raise .sub3 b { color: #fff; font-weight: 600; }
@media (max-width: 700px) {
  .drive .hide-s { display: none; }
  .drive .wrap { min-height: 34px; font-size: 12px; gap: 6px; }
  .xmas { padding: 20px 16px 18px; border-radius: 20px; }
  .tiles { gap: 6px; }
  .tiles > div { padding: 12px 4px 8px; border-radius: 12px; }
  .raise .amt { font-size: 24px; }
}
@media (prefers-reduced-motion: reduce) { .xmas::before { animation: none; } }
