
:root { color-scheme: light; --ink:#000000; --muted:#525D3B; --cream:#FFF7F2;
  --paper:#FFFFFF; --green:#525D3B; --mint:#EEF0EA; --line:#C9CEC1;
  --amber:#F4B953; --rose:#894925; }
* { box-sizing:border-box; }
body { margin:0; background:var(--cream); color:var(--ink); font:16px/1.5 system-ui,sans-serif; }
a { color:var(--green); }
.shell { width:min(1180px,calc(100% - 32px)); margin:auto; }
header { background:var(--paper); border-bottom:1px solid var(--line); }
.nav { min-height:72px; display:flex; align-items:center; justify-content:space-between; gap:24px; }
.brand { color:var(--ink); text-decoration:none; font:700 25px/1 Georgia,serif; }
.nav-links { display:flex; gap:20px; }
.hero { padding:48px 0 28px; }
.eyebrow { color:var(--green); font-weight:700; letter-spacing:.08em; text-transform:uppercase; font-size:12px; }
h1,h2 { font-family:Georgia,serif; line-height:1.15; }
h1 { max-width:760px; font-size:clamp(36px,7vw,68px); margin:8px 0 14px; }
.lede { max-width:720px; color:var(--muted); font-size:18px; }
.search { display:grid; grid-template-columns:1.5fr 1.3fr repeat(3,minmax(110px,1fr)) auto; gap:10px;
  background:var(--paper); padding:16px; border:1px solid var(--line); border-radius:18px; margin:24px 0 30px; }
.popular-breeds { padding:4px 0 34px; }
.breed-rail { display:grid; grid-template-columns:auto minmax(0,1fr) auto; align-items:center; gap:8px; }
.breed-scroll { width:42px; height:42px; padding:0; border:1px solid var(--line); border-radius:50%; background:var(--paper); color:var(--green); font-size:22px; line-height:1; }
.breed-scroll:hover,.breed-scroll:focus-visible { background:var(--mint); }
.breed-choices { display:flex; gap:8px; overflow-x:auto; scroll-behavior:smooth; scroll-snap-type:x proximity; padding:2px; scrollbar-width:none; }
.breed-choices::-webkit-scrollbar { display:none; }
.breed-choice { flex:0 0 132px; min-height:126px; padding:12px 6px 8px; display:flex; flex-direction:column; align-items:center; justify-content:center; gap:7px; text-align:center; color:var(--ink); text-decoration:none; border:1px solid transparent; border-radius:15px; scroll-snap-align:start; }
.breed-choice:hover,.breed-choice:focus-visible { background:var(--paper); border-color:var(--line); box-shadow:0 8px 22px rgba(24,35,28,.08); }
.breed-choice .breed-icon { width:68px; height:68px; fill:currentColor; }
.breed-choice span { font-size:12px; font-weight:700; line-height:1.15; }
input,select,button { width:100%; border:1px solid var(--line); border-radius:10px; padding:12px; font:inherit; background:white; }
button,.button { background:var(--green); color:white; border:0; cursor:pointer; text-decoration:none;
  display:inline-flex; justify-content:center; align-items:center; padding:12px 17px; border-radius:10px; font-weight:700; }
.result-head { display:flex; align-items:end; justify-content:space-between; gap:16px; margin-bottom:15px; }
.result-head h2 { margin:0; }
.muted { color:var(--muted); }
.grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:18px; }
.card { background:var(--paper); border:1px solid var(--line); border-radius:18px; overflow:hidden; }
.photo { position:relative; aspect-ratio:5/4; background:var(--mint); display:grid; place-items:center; color:var(--green); font-weight:700; }
.photo img { width:100%; height:100%; object-fit:cover; object-position:center 35%; }
.photo-wrap { position:relative; }
.favorite-button { position:absolute; top:9px; right:9px; z-index:1; width:52px; height:52px; padding:0; border:0; background:transparent; color:#e63969; font-size:38px; line-height:1; box-shadow:none; }
.favorite-button:hover,.favorite-button:focus-visible { background:transparent; outline:0; transform:scale(1.12); }
.favorite-button[aria-pressed="true"] { background:transparent; color:#e63969; }
.hidden { display:none !important; }
.photo-link { display:block; color:inherit; }
.card-body { padding:17px; }
.card h3 { font:700 25px/1.15 Georgia,serif; margin:4px 0 8px; }
.card h3 a { color:var(--ink); text-decoration:none; }
.traits { display:flex; flex-wrap:wrap; gap:7px; margin:12px 0; }
.pill { background:var(--mint); color:var(--green); padding:4px 9px; border-radius:999px; font-size:13px; }
.notice { border-left:4px solid var(--amber); background:#fff5dd; padding:12px 15px; margin:14px 0; }
.notice.danger { border-color:var(--rose); background:#fff0f1; }
.detail { display:grid; grid-template-columns:minmax(280px,1fr) 1.2fr; gap:32px; padding:42px 0; }
.detail .photo { border-radius:20px; overflow:hidden; }
.detail h1 { font-size:50px; margin:4px 0 12px; }
.actions { display:flex; flex-wrap:wrap; gap:10px; margin:22px 0; }
.button.secondary { background:transparent; color:var(--green); border:1px solid var(--green); }
.rescue-list { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:12px; padding-bottom:40px; }
.rescue-row { background:var(--paper); border:1px solid var(--line); border-radius:14px; padding:16px; }
.about-page { padding:48px 0 8px; }
.about-intro { max-width:760px; margin-bottom:46px; }
.about-intro h1 { margin-bottom:12px; }
.about-sections { display:grid; gap:clamp(36px,7vw,92px); }
.about-section { display:grid; grid-template-columns:minmax(0,1fr) minmax(260px,.92fr); align-items:center; gap:clamp(28px,5vw,64px); padding:12px clamp(20px,3vw,40px); }
.about-section.reverse { grid-template-columns:minmax(260px,.92fr) minmax(0,1fr); }
.about-section.reverse .about-copy { order:2; }
.about-section.reverse .about-placeholder { order:1; }
.about-copy { max-width:620px; }
.about-copy h2 { margin:0 0 18px; font-size:clamp(30px,4vw,46px); }
.about-copy p { margin:0 0 17px; }
.about-photo { width:min(100%,300px); aspect-ratio:4/5; margin:0; justify-self:center; overflow:hidden; border-radius:20px; background:var(--mint); }
.about-photo img { width:100%; height:100%; display:block; object-fit:cover; object-position:center; }
footer { border-top:1px solid var(--line); margin-top:48px; padding:28px 0 44px; color:var(--muted); }
.pagination { display:flex; justify-content:center; margin:30px; }
.ops-shell { width:min(1380px,calc(100% - 32px)); margin:auto; }
.ops-header { padding:32px 0 20px; }
.ops-header h1 { font-size:clamp(34px,5vw,54px); margin:6px 0 10px; }
.summary-grid { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:12px; margin:18px 0 24px; }
.summary-card { background:var(--paper); border:1px solid var(--line); border-radius:14px; padding:16px; }
.summary-value { font:700 31px/1 Georgia,serif; margin-top:5px; }
.ops-list { display:grid; gap:12px; padding-bottom:40px; }
.ops-row { display:grid; grid-template-columns:1.4fr .8fr .8fr 1fr 1.4fr auto; gap:16px; align-items:center;
  background:var(--paper); border:1px solid var(--line); border-radius:14px; padding:15px; }
.ops-row h2 { font:700 20px/1.2 Georgia,serif; margin:3px 0; }
.ops-label { color:var(--muted); font-size:12px; text-transform:uppercase; letter-spacing:.06em; }
.status { display:inline-block; padding:4px 9px; border-radius:999px; background:var(--mint); color:var(--green); font-size:13px; font-weight:700; }
.status.attention { background:#fff0f1; color:var(--rose); }
.status.waiting { background:#fff5dd; color:var(--amber); }
.ops-actions { display:flex; gap:8px; flex-wrap:wrap; margin:14px 0 20px; }
.ops-actions a { background:var(--paper); border:1px solid var(--line); border-radius:999px; padding:7px 11px; text-decoration:none; }
.ops-section { background:var(--paper); border:1px solid var(--line); border-radius:16px; padding:20px; margin:14px 0; }
.ops-section h2 { margin-top:0; }
.facts { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:12px; }
.fact { border:1px solid var(--line); border-radius:12px; padding:13px; overflow-wrap:anywhere; }
.fact strong { display:block; margin-top:4px; }
.gate-list { margin:8px 0 0; padding-left:20px; }
.run-table { width:100%; border-collapse:collapse; font-size:14px; }
.run-table th,.run-table td { padding:10px 8px; text-align:left; border-bottom:1px solid var(--line); vertical-align:top; }
.run-table th { color:var(--muted); font-size:12px; text-transform:uppercase; letter-spacing:.04em; }
.mono { font-family:ui-monospace,SFMono-Regular,Consolas,monospace; font-size:13px; overflow-wrap:anywhere; }
/* Homepage follows the approved navigation and hero composition. */
/* Approved brand palette: moss #525D3B, gold #F4B953, white #FFFFFF, cream #FFF7F2, black #000000, terracotta #894925. */
:root { --ink:#000000; --moss:#525D3B; --marigold:#F4B953; --clay:#894925; --blush:#FFF7F2; --paper:#FFFFFF; --cream:#FFF7F2; --mint:#EEF0EA; --line:#C9CEC1; }
body { background:var(--cream); color:var(--ink); font-family:"Montserrat",Arial,sans-serif; }
header { background:var(--cream); border:0; }
.nav { min-height:110px; position:relative; }
.nav-rule { display:none; }
.brand { display:flex; align-items:center; gap:16px; color:var(--ink); text-decoration:none; }
.logo-placeholder { width:92px; height:92px; object-fit:contain; }
.wordmark { font:800 42px/1 "League Spartan","Segoe UI",Arial,sans-serif; letter-spacing:-.055em; }
.wordmark .just { color:var(--marigold); } .wordmark .rescues { color:var(--moss); }
.nav-links { gap:32px; }
.nav-links a { color:var(--ink); font:600 16px/1 "Montserrat",Arial,sans-serif; text-decoration:none; }
.nav-links a[aria-current="page"] { text-decoration:underline; text-underline-offset:5px; }
.canva-home { padding:54px 0 0; }
.canva-hero-grid { display:grid; grid-template-columns:minmax(0,.9fr) minmax(0,1.1fr); align-items:center; gap:clamp(14px,3vw,32px); }
.canva-hero-copy { display:flex; justify-content:center; }
.hero-art { display:block; width:100%; }
.visually-hidden { position:absolute; width:1px; height:1px; padding:0; margin:-1px; overflow:hidden; clip:rect(0,0,0,0); white-space:nowrap; border:0; }
.hero-left-art { height:clamp(210px,33vw,380px); object-fit:contain; mix-blend-mode:multiply; }
.right-hero-stack { display:flex; flex-direction:column; align-items:center; min-width:0; }
.hero-right-art { height:clamp(230px,35vw,420px); object-fit:contain; mix-blend-mode:multiply; }
.home-tagline { align-self:flex-end; margin:12px clamp(0px,2vw,24px) 0 0; text-align:right; font-size:clamp(12px,1.6vw,18px); white-space:nowrap; } .home-tagline strong { font-weight:700; } .home-tagline em { color:var(--clay); font-weight:700; }
.home-search-section { padding:34px 0 48px; margin-top:46px; }
.home-search { grid-template-columns:1.4fr 1.15fr repeat(3,minmax(92px,.75fr)) auto; margin:0; padding:14px; gap:10px; border:1px solid var(--line); border-radius:26px; background:var(--paper); box-shadow:0 12px 30px rgba(26,26,26,.07); }
.home-search input,.home-search select { min-width:0; border:1px solid var(--line); border-radius:14px; background:var(--cream); padding:13px 12px; font-size:14px; }
.home-search button,.button { border-radius:999px; background:var(--marigold); color:#fff; padding:13px 20px; font:700 14px/1 "Montserrat",Arial,sans-serif; }
.home-search button:hover,.button:hover { background:#d9962d; }
.popular-breeds { padding:30px 0 31px; } .popular-breeds .eyebrow,.result-head .eyebrow { color:var(--clay); } .breed-choice { border-radius:0; } .breed-choice:hover,.breed-choice:focus-visible { background:var(--paper); border-color:var(--line); box-shadow:none; } .breed-choice .breed-icon { color:var(--moss); }
.result-head { margin-top:15px; } h1,h2,.card h3 { font-family:"League Spartan",Georgia,serif; } h2 { color:var(--moss); letter-spacing:-.04em; } .card { border:1px solid var(--ink); border-radius:22px; box-shadow:none; } .card h3 { font-size:22px; } .card-updated { color:var(--moss); font-size:14px; font-weight:600; } .pill { background:var(--mint); color:var(--moss); } footer { background:var(--moss); border:0; color:var(--blush); margin-top:66px; }
@media (max-width:900px) { .home-search { grid-template-columns:1fr 1fr 1fr; } }
@media (max-width:620px) { .nav { min-height:104px; } .nav-rule { left:68px; } .wordmark { font-size:32px; } .logo-placeholder { width:68px; height:68px; } .canva-home { padding-top:35px; } .canva-hero-grid { gap:12px; } .hero-left-art { height:165px; } .hero-right-art { height:195px; } .home-tagline { margin-right:0; font-size:11px; } .home-search { grid-template-columns:1fr; } }
@media (max-width:900px) { .search { grid-template-columns:1fr 1fr; } .grid { grid-template-columns:1fr 1fr; } }
@media (max-width:1050px) { .ops-row { grid-template-columns:1fr 1fr 1fr; } .summary-grid,.facts { grid-template-columns:1fr 1fr; } }
@media (max-width:700px) { .about-page { padding-top:34px; } .about-section,.about-section.reverse { grid-template-columns:1fr; padding:8px 12px; } .about-section.reverse .about-copy,.about-section.reverse .about-photo { order:initial; } .about-photo { width:min(100%,300px); } }
@media (max-width:620px) { .grid,.rescue-list,.detail,.search,.ops-row,.summary-grid,.facts { grid-template-columns:1fr; } .nav-links { display:none; } .breed-choice { flex-basis:112px; min-height:108px; } .breed-choice .breed-icon { width:56px; height:56px; } .breed-scroll { width:36px; height:36px; } .run-table { display:block; overflow-x:auto; } }
.nav-toggle { display:none; }
@media (max-width:620px) { .nav-toggle { display:grid; place-items:center; width:46px; height:46px; padding:0; border:0; border-radius:0; background:transparent; color:var(--moss); font-size:32px; line-height:1; } .nav-toggle:focus-visible { outline:3px solid var(--marigold); outline-offset:3px; } .nav-links { display:none; position:absolute; z-index:10; top:calc(100% - 12px); right:0; min-width:190px; padding:18px; flex-direction:column; gap:18px; background:var(--paper); border:1px solid var(--line); border-radius:16px; box-shadow:0 12px 28px rgba(0,0,0,.14); } .nav-links.is-open { display:flex; } }
