:root{
  --font-heading:"Fraunces",serif;
  --font-body:"DM Sans",sans-serif;
  --cherry:#B94A48;
  --espresso:#171411;
  --cream:#FAF5ED;
  --oat:#EEE0CF;
  --caramel:#C49A73;
  --white:#fff;
  --muted:#6d625a;
  --line:#d9cdc2;
}

*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{
  margin:0;
  font-family:var(--font-body);
  color:var(--espresso);
  background:var(--cream);
  line-height:1.5;
}
a{color:inherit;text-decoration:none}
img{max-width:100%;display:block}

.site-header{
  position:sticky;top:0;z-index:50;
  display:flex;align-items:center;justify-content:space-between;
  padding:14px clamp(18px,4vw,54px);
  background:rgba(250,245,237,.93);
  backdrop-filter:blur(14px);
  border-bottom:1px solid rgba(23,20,17,.08);
}
.brand{display:flex;align-items:center;gap:10px;font-weight:700;font-size:14px}
.brand img{width:44px;height:44px;object-fit:cover;border-radius:50%}
.nav{display:flex;gap:26px;font-size:14px;font-weight:600}
.nav a:hover{color:var(--cherry)}
.nav-toggle{display:none;border:0;background:none;font-size:24px}

.hero{
  max-width:1180px;margin:0 auto;
  min-height:78vh;
  display:grid;grid-template-columns:1.25fr .75fr;
  gap:60px;align-items:center;
  padding:70px clamp(20px,5vw,60px);
}
.eyebrow{
  font-size:12px;font-weight:800;letter-spacing:.16em;
  color:var(--cherry);margin:0 0 16px;
}
h1,h2,h3{margin-top:0}
h1{
  font-family:var(--font-heading);
  font-size:clamp(48px,7vw,88px);
  line-height:.95;letter-spacing:-.045em;
  margin-bottom:28px;
}
h1 span{color:var(--cherry)}
h2{
  font-family:var(--font-heading);
  font-size:clamp(38px,5vw,62px);
  line-height:1;letter-spacing:-.035em;
}
.hero-text{font-size:19px;max-width:720px;color:#4c443f}
.hero-actions{display:flex;gap:12px;flex-wrap:wrap;margin-top:30px}
.btn{
  display:inline-flex;align-items:center;justify-content:center;
  min-height:50px;padding:0 24px;border-radius:999px;
  font-weight:800;font-size:14px;transition:.2s ease;
}
.btn:hover{transform:translateY(-2px)}
.btn-primary{background:var(--cherry);color:var(--white)}
.btn-secondary{border:1.5px solid var(--espresso)}
.btn-light{background:var(--cream);color:var(--espresso)}
.hero-card{
  position:relative;background:var(--oat);border-radius:36px;
  padding:38px;transform:rotate(2deg);
  box-shadow:0 18px 50px rgba(23,20,17,.09);
}
.hero-card img{border-radius:28px}
.hero-card p{font-weight:800;text-align:center;margin:20px 0 0}
.hero-sticker{
  position:absolute;right:-16px;top:-18px;
  background:var(--cherry);color:white;border-radius:999px;
  padding:12px 15px;font-weight:800;transform:rotate(7deg);
}

.ticker{
  overflow:hidden;display:flex;gap:40px;white-space:nowrap;
  padding:17px 0;background:var(--cherry);color:white;
  font-size:13px;font-weight:800;letter-spacing:.12em;justify-content:center;
}
.ticker span:not(:last-child)::after{content:" ✦";margin-left:38px}

.section{max-width:1180px;margin:0 auto;padding:100px clamp(20px,5vw,60px)}
.section.alt{max-width:none;background:var(--oat)}
.section.alt > *{max-width:1060px;margin-left:auto;margin-right:auto}
.section-heading{max-width:680px;margin-bottom:48px}
.section-heading p:last-child{font-size:18px;color:var(--muted)}

.cat-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:22px;transition:opacity .4s ease}
.cat-grid.fading{opacity:0}
.cats-actions{margin-top:40px}
.cat-card{
  display:block;
  overflow:hidden;border:1px solid var(--line);border-radius:24px;
  background:#fffaf5;box-shadow:0 8px 24px rgba(23,20,17,.05);
  transition:transform .2s ease, box-shadow .2s ease;
}
a.cat-card:hover{
  transform:translateY(-4px);
  box-shadow:0 14px 32px rgba(23,20,17,.12);
}
.cat-photo{aspect-ratio:4/3}
.cat-photo img{width:100%;height:100%;object-fit:cover}
.placeholder-cat{
  display:grid;place-items:center;background:var(--espresso);
  font-size:74px;
}
.placeholder-cat.cherry{background:var(--cherry)}
.placeholder-cat.cream{background:var(--oat)}
.cat-card-body{padding:24px}
.status{
  display:inline-block;border-radius:999px;padding:6px 10px;
  font-size:10px;font-weight:900;letter-spacing:.1em;margin-bottom:14px;
}
.status.available{background:#f2d4d3;color:#7a2d2b}
.status.soon{background:#e9dfd4;color:#5a4b40}
.status.adopted{background:#dde6d8;color:#41583c}
.cat-meta{font-size:13px;color:var(--muted);font-weight:700}
.text-link{font-weight:800;color:var(--cherry)}
.text-link.muted{color:var(--muted)}

/* ---- All Cats page: filters, list + map split ---- */
.cat-filters{
  display:flex;gap:10px;flex-wrap:wrap;margin-bottom:28px;
}
.cat-filters input,.cat-filters select{
  font-family:var(--font-body);font-size:14px;font-weight:600;
  color:var(--espresso);background:#fffaf5;
  border:1px solid var(--line);border-radius:999px;
  padding:11px 16px;outline-color:var(--cherry);
}
.cat-filters input{flex:2;min-width:180px}
.cat-filters select{flex:1;min-width:130px;cursor:pointer}
.cat-filters select:disabled{opacity:.5;cursor:not-allowed}
.filter-note{
  margin:-16px 0 20px;font-size:13px;font-weight:600;
  color:var(--cherry);
}

.cat-split{display:grid;grid-template-columns:1.15fr .85fr;gap:22px;align-items:start}
.cat-list{display:flex;flex-direction:column;gap:16px}
.cat-map-wrap{position:sticky;top:96px}
.cat-map{
  height:70vh;min-height:420px;
  border-radius:24px;overflow:hidden;border:1px solid var(--line);
  background:#e8e3da;
}
.map-placeholder{
  height:100%;display:flex;flex-direction:column;align-items:center;
  justify-content:center;gap:10px;color:var(--muted);text-align:center;
  padding:20px;
}
.map-placeholder span{font-size:44px}

.cat-row{
  display:flex;cursor:pointer;
  overflow:hidden;border:1px solid var(--line);border-radius:20px;
  background:#fffaf5;box-shadow:0 6px 18px rgba(23,20,17,.05);
  transition:border-color .15s ease, box-shadow .15s ease;
}
.cat-row:hover{border-color:var(--caramel)}
.cat-row.selected{border-color:var(--cherry);box-shadow:0 8px 24px rgba(185,74,72,.18)}
.cat-row .cat-photo{
  flex:0 0 170px;aspect-ratio:auto;min-height:170px;
}
.cat-row .placeholder-cat{font-size:54px}
.cat-row-body{padding:16px 20px}
.cat-row-badges{display:flex;gap:6px;flex-wrap:wrap;margin-bottom:8px}
.cat-row-badges .status{margin-bottom:0}
.chip{
  display:inline-block;background:var(--oat);border-radius:999px;
  padding:6px 10px;font-size:10px;font-weight:800;letter-spacing:.06em;
}
.cat-row h3{margin:0 0 2px;font-size:19px}
.cat-row-bio{font-size:14px;color:#4c443f;margin:6px 0 12px}
.btn-adopt{min-height:40px;padding:0 18px;font-size:13px}
.no-cats{
  text-align:center;padding:60px 20px;color:var(--muted);
  border:1px dashed var(--line);border-radius:20px;
}
.no-cats .btn{margin-top:10px}

/* ---- Cat profile page ---- */
.profile-header{display:flex;gap:34px;align-items:flex-start;margin-bottom:44px}
.profile-header .cat-photo{
  flex:0 0 340px;border-radius:24px;overflow:hidden;
  border:1px solid var(--line);box-shadow:0 10px 30px rgba(23,20,17,.08);
}
.profile-info h1{font-size:clamp(38px,5vw,64px);margin:10px 0 6px}
.profile-bio{font-size:18px;color:#4c443f;max-width:560px;margin:14px 0 22px}
.wall-title{margin-bottom:14px}
.media-wall{
  display:grid;gap:14px;
  grid-template-columns:repeat(auto-fill,minmax(min(100%,330px),1fr));
  align-items:start;
}
.wall-tile{
  border-radius:16px;overflow:hidden;background:var(--oat);
  border:1px solid var(--line);
}
.wall-photo{aspect-ratio:9/16}
.wall-photo img{width:100%;height:100%;object-fit:cover;display:block}
.wall-embed{min-height:200px;display:flex;align-items:center;justify-content:center}
.wall-embed blockquote{margin:0 !important;width:100%}
.wall-loading{color:var(--muted);font-size:14px;font-weight:600;padding:30px}

.steps{display:grid;grid-template-columns:repeat(5,1fr);gap:16px}
.step{
  background:var(--cream);border-radius:22px;padding:22px;
  min-height:240px;border:1px solid rgba(23,20,17,.06)
}
.step span{
  font-family:var(--font-heading);color:var(--cherry);
  font-size:34px;font-weight:700
}
.step h3{font-size:18px;margin-top:30px;margin-bottom:0}
.step p{font-size:14px;color:var(--muted);margin:10px 0 0}

.about-grid{display:grid;grid-template-columns:1fr 1fr;gap:70px;align-items:start}
.about-copy{font-size:18px;color:#4c443f}
.highlight{font-family:var(--font-heading);font-size:26px;color:var(--cherry);font-weight:700}

.partner{max-width:none;padding-top:30px}
.partner-box{
  max-width:1060px;margin:0 auto;background:var(--cherry);color:white;
  border-radius:34px;padding:clamp(34px,6vw,70px);
  display:grid;grid-template-columns:1.1fr .9fr;gap:50px;
}
.eyebrow.light{color:#f7d8d7}
.partner-box h2{color:white}
.partner-list{background:rgba(255,255,255,.1);padding:24px;border-radius:22px}
.partner-list p{margin:8px 0}
.partner-actions{
  grid-column:1/-1;display:flex;align-items:center;gap:20px;flex-wrap:wrap
}
.simple-link{text-decoration:underline;text-underline-offset:4px}

.social{text-align:center}
.social h2{margin-bottom:10px}
.social-icons{
  display:flex;gap:14px;justify-content:center;
  margin:14px 0 26px;
}
.social-icon{
  display:inline-flex;align-items:center;justify-content:center;
  width:48px;height:48px;border-radius:50%;
  background:#fffaf5;border:1px solid var(--line);
  box-shadow:0 4px 12px rgba(23,20,17,.06);
  transition:.2s ease;
}
.social-icon svg{width:24px;height:24px}
.social-icon:hover{transform:translateY(-2px);box-shadow:0 8px 18px rgba(23,20,17,.12)}
footer{
  display:flex;align-items:center;gap:18px;
  padding:34px clamp(20px,5vw,60px);
  background:var(--espresso);color:white;
}
footer img{width:54px;height:54px;border-radius:50%}
footer p{margin:3px 0 0;color:#cfc4ba;font-size:13px}
.footer-right{margin-left:auto;display:flex;gap:22px;font-size:13px}

@media(max-width:850px){
  .nav-toggle{display:block}
  .nav{
    display:none;position:absolute;top:72px;left:12px;right:12px;
    flex-direction:column;background:var(--cream);padding:20px;
    border:1px solid var(--line);border-radius:18px;box-shadow:0 12px 30px rgba(0,0,0,.08)
  }
  .nav.open{display:flex}
  .brand span{display:none}
  .hero{grid-template-columns:1fr;min-height:auto;padding-top:48px;gap:36px}
  .hero-card{max-width:420px;margin:0 auto}
  .ticker{justify-content:flex-start;padding-left:20px}
  .cat-grid{grid-template-columns:1fr}
  .steps{grid-template-columns:1fr}
  .step{min-height:auto;display:flex;gap:20px}
  .step h3{margin-top:0}
  .about-grid{grid-template-columns:1fr;gap:16px}
  .profile-header{flex-direction:column;gap:20px}
  .profile-header .cat-photo{flex-basis:auto;width:100%}
  .cat-split{grid-template-columns:1fr}
  .cat-map-wrap{position:static;order:-1}
  .cat-map{height:40vh;min-height:280px}
  .cat-row .cat-photo{flex-basis:120px;min-height:120px}
  .cat-row .placeholder-cat{font-size:40px}
  .partner-box{grid-template-columns:1fr}
  .partner-actions{grid-column:auto}
  footer{align-items:flex-start;flex-wrap:wrap}
  .footer-right{width:100%;margin:10px 0 0}
}
