:root{--ink:#29372e;--paper:#f6f3e9;--accent:#a4482d;--green:#344c3b}*{box-sizing:border-box}body{margin:0;background:radial-gradient(ellipse at 90% 0,#dce7d1,transparent 50%),var(--paper);color:var(--ink);font:16px/1.55 system-ui,-apple-system,sans-serif;padding-bottom:110px}header,main{max-width:1180px;margin:auto;padding:clamp(18px,4vw,40px)}header{position:sticky;top:0;z-index:4;display:flex;align-items:center;justify-content:space-between;gap:12px;background:#f6f3e9cf;backdrop-filter:blur(24px);border-bottom:1px solid #fff}header strong{font-size:24px;letter-spacing:-1px}h1,h2,h3,p{margin-top:0}h1{font-size:clamp(44px,8vw,94px);line-height:1;letter-spacing:-.065em;margin:20px 0}h2{font-size:clamp(26px,4vw,38px);letter-spacing:-.045em;margin:32px 0 16px}h3{font-size:22px;letter-spacing:-.035em}p{overflow-wrap:anywhere}small{font-size:12px;letter-spacing:.06em;color:#657060}button,a.btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;border:0;border-radius:999px;padding:13px 20px;background:var(--accent);color:white;font:600 14px system-ui;text-decoration:none;cursor:pointer;max-width:100%;min-height:44px;transition:transform .18s,filter .18s}button:hover,a.btn:hover{filter:brightness(1.08);transform:translateY(-2px)}button:disabled{opacity:.5}a{color:var(--green)}:focus-visible{outline:3px solid #c68b48;outline-offset:3px}.hero{position:relative;overflow:hidden;isolation:isolate;background:linear-gradient(130deg,#263e30,#506b48);color:#fff9ed;border-radius:36px;padding:clamp(28px,6vw,76px);min-height:350px;display:flex;flex-direction:column;align-items:flex-start;justify-content:center;box-shadow:0 22px 60px #344c3b22}.hero:after{content:'🐾';position:absolute;right:-10px;bottom:-90px;font-size:clamp(180px,35vw,420px);opacity:.09;transform:rotate(-24deg);z-index:-1}.hero small{color:#e1e8c9}.hero p{font-size:19px;color:#e8ebdd}.hero a.btn{background:#f5e5c8;color:#293d2e}.grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,250px),1fr));gap:18px}.card,dialog{background:#ffffffd9;border:1px solid #fff;border-radius:28px;padding:20px;min-width:0;box-shadow:0 10px 32px #39372b0b;backdrop-filter:blur(18px)}.card img{display:block;width:100%;height:clamp(200px,30vw,300px);object-fit:cover;border-radius:19px;margin-bottom:18px}.card h2{margin:12px 0}.placeholder{background:linear-gradient(145deg,#e5ead7,#e8d5bb);border-radius:20px;padding:55px;text-align:center;font-size:46px}input,select,textarea{display:block;width:100%;padding:14px 16px;border:1px solid #d8d9cd;background:#fff;color:#292e25;border-radius:16px;font:inherit;margin:8px 0 16px}label{display:block;font-weight:600}textarea{min-height:100px}dialog{width:min(94vw,560px);max-height:85dvh;overflow:auto;color:var(--ink)}dialog::backdrop{background:#17241d80;backdrop-filter:blur(8px)}iframe{width:100%;height:240px;border:0;border-radius:18px;margin:10px 0}nav{display:flex;gap:6px}body.public nav{position:fixed;bottom:max(14px,env(safe-area-inset-bottom));left:50%;transform:translateX(-50%);width:min(94%,520px);justify-content:space-around;padding:8px;background:#fffffff0;backdrop-filter:blur(25px);border:1px solid white;border-radius:28px;box-shadow:0 12px 48px #263e3030;z-index:5}body.public nav button{background:transparent;color:#344c3b;flex:1;flex-direction:column;padding:8px 3px;font-size:11px;gap:4px}nav svg{width:22px;height:22px;stroke:currentColor;fill:none;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}body.studio h1{font-size:clamp(36px,6vw,64px)}body.studio #stats{grid-template-columns:repeat(2,minmax(0,1fr))}#stats .card{background:linear-gradient(145deg,#fff,#e9ecdf);padding:18px}#stats h2{font-size:38px;margin:6px 0 0;color:var(--green)}#stats small{letter-spacing:0}#nav{flex-wrap:wrap;margin:24px 0 8px}#nav button{background:#e6e8dc;color:var(--green);font-size:13px;padding:10px 15px}#nav button.active{background:var(--green);color:white}#gate{max-width:560px;margin:8vh auto;background:#fff;padding:32px;border-radius:32px}#account{overflow-wrap:anywhere;letter-spacing:0}#notice{color:var(--accent)}[hidden]{display:none!important}body.dark{--ink:#f5f0e5;background:#202820;color:var(--ink)}body.dark header,body.dark nav,body.dark .card,body.dark dialog{background:#29362c;border-color:#53614e}body.dark a,body.dark small,body.dark nav button{color:#eee}@media(min-width:800px){body.studio #stats{grid-template-columns:repeat(4,1fr)}.public #search,.public #size{display:inline-block;width:calc(50% - 8px)}.public #size{margin-left:12px}}@media(prefers-reduced-motion:reduce){*{transition:none!important}}
/* Mobile-first editorial refresh */
header strong{font-size:clamp(18px,4vw,24px)}.studio header{position:static}.studio header a{white-space:nowrap;font-size:13px}.hero{min-height:420px;background:radial-gradient(circle at 85% 15%,#77966b66,transparent 45%),linear-gradient(145deg,#203b2c,#49694d)}.hero h1{max-width:780px}.hero .btn{margin-top:12px}.impact{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin:18px 0}.impact div{padding:20px;background:#ffffffb8;border:1px solid white;border-radius:24px}.impact strong{display:block;font-size:32px;line-height:1.1}.eyebrow{font-size:11px;text-transform:uppercase;letter-spacing:.12em;color:#657060}.card .actions{display:flex;flex-wrap:wrap;gap:8px;margin-top:14px}.secondary{background:#e6e8dc!important;color:#344c3b!important}.public .card img{aspect-ratio:4/3;height:auto}.public .card h2{font-size:30px}.public nav button[aria-current=true]{background:#e5ebdf;border-radius:20px}.address-results button{white-space:normal}.studio #nav{position:sticky;top:0;z-index:3;background:#f6f3e9ed;backdrop-filter:blur(18px);padding:8px;border-radius:20px}.studio #stats .card{min-height:110px}.dark .impact div{background:#344036;border-color:#53614e}.dark .eyebrow{color:#dce7d1}.dark .secondary{background:#e6e8dc!important;color:#344c3b!important}#catalog{scroll-margin-top:100px}.detail-photo{width:100%;max-height:340px;object-fit:cover;border-radius:22px}.help-card p{color:inherit;opacity:.8}.help-card h3{margin:8px 0}.public nav button{min-width:0}.studio .card small{display:inline-block;background:#e7ecdf;color:#344c3b;padding:5px 10px;border-radius:20px}.studio #stats small{background:none;padding:0}@media(max-width:480px){.hero{min-height:360px;padding:28px}.hero h1{font-size:48px}.studio #nav button{padding:9px 12px;font-size:12px}.studio #stats h2{font-size:32px}.impact div{padding:15px}}
/* V12 */ .public .hero{border-radius:32px;min-height:390px}.public .hero h1{font-family:Georgia,serif;font-weight:500;letter-spacing:-.055em}.public .hero button{margin-top:8px}.public #dogs .card{padding:12px;overflow:hidden}.public #dogs .card h2,.public #dogs .card p{margin-left:10px;margin-right:10px}.public #dogs .card button{width:100%;background:var(--green)}.public #dogs .card img{border-radius:20px;aspect-ratio:4/3}.public-footer{max-width:1180px;margin:0 auto;padding:24px;display:flex;justify-content:space-between;gap:12px;flex-wrap:wrap;font-size:12px}.status-pill{display:inline-block;background:#dce7d1;color:#344c3b;border-radius:99px;padding:5px 12px;font-size:12px;font-weight:700}.profile-story{padding:16px;background:#e8ecdf;border-radius:20px;margin:16px 0;color:#344c3b}.profile-story p{white-space:pre-wrap;margin-bottom:0}#help{scroll-margin-top:100px}.public dialog{padding:24px}.public dialog button{margin:4px 0}.public nav{background:#ffffffd9;-webkit-backdrop-filter:blur(25px);backdrop-filter:blur(25px)}@media(max-width:480px){.public #dogs{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.public #dogs .card h2{font-size:22px}.public #dogs .card p{font-size:13px}.public #dogs .card button{padding:10px;font-size:12px}.public #dogs .placeholder{padding:25px}.public .hero h1{font-size:52px}}
.profile-facts{display:flex;gap:8px;flex-wrap:wrap;margin:16px 0}.profile-facts div{flex:1;min-width:90px;padding:12px;background:#e6ebdf;color:#344c3b;border-radius:14px}.profile-facts strong{display:block}.photo-strip{display:flex;overflow-x:auto;scroll-snap-type:x mandatory;gap:10px;margin:16px 0}.photo-strip img{width:85%;flex-shrink:0;aspect-ratio:4/3;object-fit:cover;border-radius:18px;scroll-snap-align:start}
.history-event{border-left:3px solid #75916f;padding:12px 16px;margin:10px 0;background:#e7ecdf;color:#344c3b;border-radius:0 16px 16px 0}.history-event h3{margin:5px 0;font-size:18px}.history-event p{white-space:pre-wrap;margin:0}
.animal-card{position:relative}.public #dogs .card .favorite-toggle{position:absolute;right:20px;top:20px;width:44px;height:44px;padding:0;background:#fffffff0;color:#a4482d;font-size:25px;box-shadow:0 3px 15px #0002}.filter-row{display:flex;gap:12px;align-items:center;flex-wrap:wrap}.filter-row select{flex:1;min-width:145px}.favorite-filter{display:flex;align-items:center;gap:8px;font-size:14px}.favorite-filter input{width:20px;margin:0;accent-color:#344c3b}#result-count{font-size:13px;opacity:.8}
#happy-section{margin:36px 0;padding:24px;background:#e5ebdf;color:#344c3b;border-radius:28px;scroll-margin-top:100px}#happy-section h2{margin:8px 0}.happy-card p{white-space:pre-wrap}.happy-card h3{margin:12px 0}.happy-card{color:#344c3b}body.dark .happy-card{background:#fff;color:#344c3b}