/* Compact page rhythm: reduce empty section/card layers, not type or controls. */
body.inner-page main>section:not(.v3-hero):not(.v3-card),
body.inner-page main>article>section{padding-top:16px;padding-bottom:16px}
body.inner-page main>section.page-hero,
body.inner-page main>article>section.page-hero{padding-top:20px;padding-bottom:8px !important}
body.inner-page main>section>.wrap{padding:clamp(18px,2.5vw,28px)}
body.inner-page main>section.page-hero>.wrap{padding-top:20px;padding-bottom:20px}
body.inner-page main>article>section.page-hero>.wrap{padding-top:20px;padding-bottom:20px}
body.inner-page .page-hero h1,
body.inner-page .page-hero h2.as-h1{margin-top:8px;margin-bottom:10px}
body.inner-page .page-hero .lead{margin-bottom:0}
/* Nested article templates use the same compact section rhythm. */
body.inner-page main>article>section:not(.page-hero)>.wrap{padding-top:16px;padding-bottom:20px}
.blog-back{margin-top:20px}
article>p[style*="margin-top:48px"]{margin-top:24px !important}

/* Blog content follows its introduction closely; pictures/copy stay intact. */
.bgrid{gap:18px}
.bcard-t{padding:14px 16px 16px}
.bcard-t h2{margin-top:2px;margin-bottom:8px}

/* Parents/story/profile grids: keep distinct groups, remove oversized gaps. */
body #parents h2{margin-top:8px !important;margin-bottom:24px !important}
.parents2{row-gap:32px;column-gap:40px}
.story{gap:32px}
.story h2{margin-bottom:12px}
.story p+p{margin-top:12px}
.pprof-grid{gap:32px}
.pfacts{margin-top:18px;padding-top:16px}
.grads{gap:24px}
.kitten{gap:32px !important}
.kp{gap:32px;margin-top:20px}

/* Buying/FAQ/contact have nested cards; preserve field and touch spacing. */
.adopt-intro{margin-bottom:24px}
.adopt-steps{gap:28px 36px;margin-bottom:28px}
.adopt-contact,.adopt-faq{margin-bottom:28px;padding-top:16px}
.inc-card{padding:24px}
.inc-intro{margin-bottom:18px}
.inc-grid{margin-top:18px}
.faq-card{padding:24px 22px 18px}
.forms{gap:20px}
.forms>#quick,.forms>.wl-card{padding:20px}
.asec h2{margin-bottom:16px}
.about-next-actions{margin-top:16px;margin-bottom:16px}

/* Home: close the gaps below the intro/family/parents, never resize the hero. */
body.home-page main>section:not(.v3-hero):not(.v3-card){padding-top:24px;padding-bottom:32px}
body.home-page .v3-card{padding-bottom:16px}
body.home-page .home-intro .lead{margin-bottom:16px !important}
body.home-page .why{gap:28px}
body.home-page .tiles{gap:24px}
body.home-page .pstrip{gap:16px}
.foot2{margin-top:36px;padding-top:32px;padding-bottom:32px}
.foot2 .reach{margin-top:20px}
.foot2 .legal{margin-top:24px;padding-top:18px}

@media (max-width:760px){
 body.inner-page main>section:not(.v3-hero):not(.v3-card),
 body.inner-page main>article>section{padding-top:12px;padding-bottom:12px}
 body.inner-page main>section.page-hero,
 body.inner-page main>article>section.page-hero{padding-top:16px;padding-bottom:8px !important}
 body.inner-page main>section>.wrap{padding:18px}
 .parents2,.story,.pprof-grid{gap:24px}
 body #parents h2{margin-bottom:20px !important}
 .bgrid{gap:16px}
 .adopt-steps{gap:24px;margin-bottom:24px}
 .adopt-intro{margin-bottom:24px}
 .inc-card{padding:20px 16px}
 .faq-card{padding:20px 16px 16px}
 body.home-page main>section:not(.v3-hero):not(.v3-card){padding-bottom:24px}
 body.home-page .why,body.home-page .tiles{gap:24px}
 body.home-page .pstrip{gap:12px}
}
/* Leave 404/confirmation copy readable without a 72px top void. */
body.inner-page main>.wrap[style*="padding:72px"]{padding-top:32px !important;padding-bottom:24px !important}

/* Draft-specific earlier inline stylesheet used ID selectors; override only
   its spacing so the draft and release share the compact parent rhythm. */
body #parents .parents2{row-gap:32px;column-gap:40px}
body.inner-page main>#parents{padding-top:16px;padding-bottom:16px}
body.inner-page main>#our-story{padding-top:16px !important;padding-bottom:16px !important}
@media (max-width:760px){body #parents .parents2{gap:24px}body.inner-page main>#parents{padding-top:12px;padding-bottom:12px}body.inner-page main>#our-story{padding-top:12px !important;padding-bottom:12px !important}}

/* About preview: clear compartments, not repeated introductory sections. */
.about-compartments{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}
.about-compartment{padding:18px;background:#fffef8;border:1px solid #d2d2bf;border-radius:8px;min-width:0}
.about-compartment h2{font-size:28px;line-height:1.2;margin:0 0 10px}
.about-compartment p{margin:0;font-size:16px;line-height:1.65}
.about-compartment p+p{margin-top:10px}
.about-compare{margin:16px 0 0}
/* No entry/reveal scaling on About. Keep the approved photo/crop, but anchor
   its frame to the stable large viewport, not mobile toolbar height changes. */
body.about-page::before{inset:0 auto auto 0;width:100vw;height:100vh;width:100lvw;height:100lvh}
body.about-page main,body.about-page main>section,body.about-page main>section>.wrap,body.about-page::before{animation:none !important;transition:none !important;transform:none !important}
/* Restore the existing S mark and existing Ropalo subtitle; no new logo. */
.site-header .brand-mark{display:grid;flex:0 0 38px;width:38px;height:38px;font-size:20px}
.site-header .brand{gap:10px}
.site-header .brand-sub{display:block;color:#57594f;white-space:normal;font-size:10px;letter-spacing:.12em;line-height:1.3}
@media (max-width:760px){
 .about-compartments{grid-template-columns:1fr;gap:12px}
 .about-compartment{padding:16px}
 .about-compartment h2{font-size:26px}
 .site-header .brand-mark{flex-basis:30px;width:30px;height:30px;font-size:18px}
 .site-header .brand{gap:7px}
 .site-header .brand-sub{font-size:9px;letter-spacing:.04em}
}
/* The restored mark/subtitle need space. Keep search/nav on two rows until
   genuinely wide screens rather than shrinking or clipping the brand. */
@media (min-width:1240px) and (max-width:1399px){
 .site-header .wrap{flex-wrap:wrap;row-gap:10px;column-gap:32px}
 .site-header .brand{order:1;margin-right:auto}
 .site-header .hsearch{order:2;margin-left:0;flex:0 1 300px}
 .site-header .nav{order:3;flex:1 0 100%;justify-content:flex-end}
}

/* Medium desktop: brand, menu, then search in the same order as the DOM.
   Compact phone/tablet controls (<=940px) and wide desktop stay unchanged. */
@media (min-width:941px) and (max-width:1399px){
 .site-header .wrap{display:grid;grid-template-columns:minmax(0,1fr) auto;column-gap:32px;row-gap:10px}
 .site-header .brand{grid-column:1;grid-row:1;order:1;min-width:0;margin:0}
 .site-header .nav{grid-column:2;grid-row:1;order:2;justify-content:flex-end;margin:0}
 .site-header .hsearch{grid-column:1 / -1;grid-row:2;order:3;justify-self:end;width:min(400px,100%);max-width:100%;min-width:240px;margin:0}
 .site-header .menu-btn{display:none}
}

/* Article readability: nested Blog sections were missed by the direct-section
   inner-page card selector. Opaque cream prevents the photo showing through text. */
body.inner-page main>article>section>.wrap{width:calc(100% - 32px);max-width:840px;background:#fffef8;color:#292b30;border:1px solid #d2d2bf;border-radius:12px;padding-left:clamp(18px,2.5vw,28px);padding-right:clamp(18px,2.5vw,28px);box-sizing:border-box}
body.inner-page .journal-post{background:#fffef8;color:#292b30;padding:clamp(18px,2.5vw,28px);border:1px solid #d2d2bf;border-radius:12px;box-sizing:border-box}
body.inner-page .blog-post{color:#292b30;line-height:1.7;overflow-wrap:anywhere}
body.inner-page .blog-post h2{font-size:28px;line-height:1.25;margin:24px 0 10px}
body.inner-page .blog-post p,body.inner-page .blog-post ul,body.inner-page .blog-post ol{margin:0 0 16px}
body.inner-page .blog-post a,body.inner-page .journal-post a{color:#65451c;text-decoration:underline;text-underline-offset:3px}
body.inner-page .blog-post a:focus-visible,body.inner-page .journal-post a:focus-visible{outline:2px solid #65451c;outline-offset:3px}
body.inner-page .blog-post .article-next{border-top:1px solid #d2d2bf;padding-top:18px;margin-top:24px}
body.inner-page .blog-post .article-next .btn.primary{color:#fff;text-decoration:none}
body.inner-page .blog-post .sources{font-size:14px;line-height:1.6}

/* Requested refinements: quiet wordmark, warm intro, full-width footer links. */
body.home-page .home-intro .lead{font-family:var(--serif);font-style:italic;font-weight:500;font-size:clamp(25px,2.5vw,34px);line-height:1.3;letter-spacing:0;color:var(--ink)}
.foot2>.wrap{max-width:1560px;padding-left:clamp(18px,2.5vw,40px);padding-right:clamp(18px,2.5vw,40px)}
.foot2 .top{flex-direction:column;align-items:stretch;gap:12px}
.foot2 .top nav{width:100%;max-width:none;flex-shrink:1;display:flex;flex-wrap:wrap;justify-content:flex-start;gap:4px 20px;white-space:normal}
.foot2 .top nav a{display:inline-flex;align-items:center;min-height:44px;padding:6px 0;font-size:14.5px;line-height:1.4;white-space:nowrap}
.foot2 .top .brand-sub{white-space:normal}
.foot2 .top nav a:focus-visible{outline:2px solid #795526;outline-offset:3px}
@media (min-width:1240px){.foot2 .top nav{flex-wrap:nowrap}}
@media (max-width:760px){.foot2 .top nav{gap:4px 16px}.foot2 .top nav a{font-size:14px}}
/* The first Available Cats card contains real inventory, not a waitlist CTA. */
body.inner-page .page-hero#available-now .agrid{margin-top:18px}
body.inner-page .page-hero#available-now .eyebrow{margin-bottom:6px}
.soon .soon-line .btn{display:inline-flex;align-items:center;justify-content:center;min-height:48px;white-space:normal;vertical-align:middle;margin:4px 0}

/* Static fallback and data-rendered cards share quiet responsive limits. */
#graduates .agrid>.acard:nth-child(n+6){display:none}
@media (max-width:760px){#graduates .agrid>.acard:nth-child(n+4){display:none}}

/* Slightly deeper neutral cream is limited to existing "Your next step" CTA groups. */
body.inner-page .about-next>.wrap,
body.inner-page .blog-post .article-next,
body.inner-page .journal-post .local-next{background:#ebe9e2;border:1px solid #b7b4ac;border-radius:12px}
body.inner-page .blog-post .article-next,
body.inner-page .journal-post .local-next{padding:20px;margin-top:24px}
/* A modest final breathing space, not larger spacing between content cards. */
.foot2{margin-top:52px}
@media (max-width:760px){
 .foot2{margin-top:44px}
 body.inner-page .blog-post .article-next,
 body.inner-page .journal-post .local-next{padding:18px}
}

/* Five graduates occupy five real columns, not auto-fill's empty tracks. */
#graduates .agrid.small{width:100%;grid-template-columns:repeat(3,minmax(0,1fr))}
@media (min-width:1100px){#graduates .agrid.small{grid-template-columns:repeat(5,minmax(0,1fr))}}
@media (max-width:760px){#graduates .agrid.small{grid-template-columns:repeat(2,minmax(0,1fr))}}

/* Parent-photo disclosure requested beside the litter choices. No auto-opening. */
.forms-left{display:grid;gap:20px;align-content:start;min-width:0}
.forms-left>#quick{padding:20px;background:#fff;border:1px solid var(--line);border-radius:2px}
.forms-left>.parents-panel,.wl-card .parents-panel{padding:20px;min-width:0;border:1px solid var(--line);border-radius:2px;background:#fffef8}
.parents-panel[hidden]{display:none !important}
.pp-toggle-wrap{margin:6px 0 14px}
.pp-toggle{min-height:48px;white-space:normal}
.pp-toggle:focus-visible,.parents-panel a:focus-visible{outline:2px solid #795526;outline-offset:4px}
.parents-panel .pp-list{list-style:none;padding:0;margin:16px 0 0;display:grid;gap:16px}
.parents-panel .pp-item{display:grid;grid-template-columns:96px minmax(0,1fr);gap:16px;align-items:center}
.parents-panel .pp-item img{width:96px;height:96px;object-fit:cover;object-position:50% 30%;border-radius:2px}
.parents-panel .pp-item h3{font-size:24px;line-height:1.2;margin:0 0 6px}
.parents-panel .pp-item a{font-size:14px;display:inline-block;min-height:44px;padding:10px 0;overflow-wrap:anywhere}
@media (max-width:899px){
 .wl-card .parents-panel{margin:0 0 18px;padding:18px}
 .parents-panel .pp-item{grid-template-columns:72px minmax(0,1fr);gap:12px}
 .parents-panel .pp-item img{width:72px;height:72px}
 .parents-panel .pp-item h3{font-size:22px}
}

/* Calm, readable buying tabs. All content stays visible when JS is unavailable. */
.buy-tab-bar{padding-top:8px;padding-bottom:8px}
.buy-tab-list{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}
.buy-tab-list[hidden]{display:none}
.buy-tab{display:flex;align-items:center;justify-content:center;gap:8px;min-height:58px;min-width:0;padding:10px 12px;border:2px solid #d2c4a8;border-radius:8px;background:#fffef8;color:#292b30;font-family:var(--sans);font-size:16px;line-height:1.35;font-weight:600;cursor:pointer}
.buy-tab[aria-selected="true"]{background:#f4f3ee;border-color:#b7b4ac}
.buy-tab svg{flex-shrink:0}
.buy-tab:focus-visible,.buy-tab-panel:focus-visible{outline:2px solid #65451c;outline-offset:4px}
.buy-tabs>.buy-tab-panel{padding-top:12px;padding-bottom:16px}
.buy-tabs>.buy-tab-panel>.wrap{background:#fffef8;color:#292b30;border:1px solid #d2d2bf;border-radius:12px;padding:clamp(18px,2.5vw,28px)}
.buy-tabs .buy-tab-panel[hidden]{display:none !important}
.buy-tabs .buy-tab,.buy-tabs .buy-tab-panel{animation:none;transition:none}
.buy-tabs .buy-tab-panel [id]{scroll-margin-top:190px}
#papers ul.sources{list-style:none;padding-left:0}
@media (max-width:760px){
 .buy-tab-bar{padding-left:18px;padding-right:18px}
 .buy-tab-list{gap:8px}
 .buy-tab{font-size:14px;min-height:44px;flex-direction:row;flex-wrap:nowrap;gap:4px;padding:6px 6px;white-space:normal;text-align:center;line-height:1.2}
 .buy-tabs>.buy-tab-panel{padding-top:8px;padding-bottom:12px}
 .buy-tabs>.buy-tab-panel>.wrap{padding:18px}
}

/* Connected folder tabs, not separate CTA buttons. Neutral preview only. */
.buy-tabs-ready{width:calc(100% - 32px);max-width:1240px;margin:0 auto}
.buy-tabs-ready>.buy-tab-bar{max-width:none;margin:0;padding:0;position:relative;z-index:1}
.buy-tabs-ready .buy-tab-list{display:flex;align-items:stretch;gap:0;padding:0;border-bottom:1px solid #b7b4ac}
.buy-tabs-ready .buy-tab{flex:0 1 auto;position:relative;min-height:44px;min-width:0;margin:0 0 -1px;padding:10px 14px;white-space:nowrap;border:1px solid #b7b4ac;border-radius:7px 7px 0 0;background:#e7e5df;color:#292b30}
.buy-tabs-ready .buy-tab+.buy-tab{margin-left:-1px}
.buy-tabs-ready .buy-tab[aria-selected="true"]{z-index:2;background:#f4f3ee;border-bottom-color:#f4f3ee}
.buy-tabs-ready>.buy-tab-panel{padding-top:0;padding-bottom:16px}
.buy-tabs-ready>.buy-tab-panel>.wrap{position:relative;z-index:0;max-width:none;margin-top:-1px;background:#f4f3ee;border-color:#b7b4ac;border-radius:0 8px 8px 8px}
.buy-tabs-ready .buy-tab:focus-visible,.buy-tabs-ready .buy-tab-panel:focus-visible{outline-color:#454644}
@media (max-width:760px){
 .buy-tabs-ready .buy-tab{flex:1 1 0;min-height:44px;min-width:0;padding:6px 6px;font-size:14px;white-space:normal;text-align:center;line-height:1.2}
 .buy-tabs-ready>.buy-tab-panel{padding-top:0;padding-bottom:12px}
}

/* Buying page only: identical outer edges, independent natural card heights. */
body.buying-page main>.page-hero>.wrap,
body.buying-page #buy-tabs{width:calc(100% - 32px);max-width:1240px;margin-left:auto;margin-right:auto}

/* Available page: separate Available and Spoken-for section cards; kitten cards share one size. */
#available-now .agrid,
#reserved .agrid{
  margin-top:18px;
  grid-template-columns:repeat(auto-fill,minmax(230px,280px));
  justify-content:start;
}
#available-now .agrid .acard,
#reserved .agrid .acard{
  max-width:280px;
  width:100%;
  border-radius:18px;
}
.avail-litter-link,
.avail-prev-wrap{
  margin:16px 0 0;
  max-width:280px;
}
.avail-prev-wrap .btn,
.avail-litter-link .btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  max-width:100%;
}
.k-litter-btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:40px;
  margin:0;
  padding:8px 14px !important;
  box-sizing:border-box;
  border:1px solid rgba(20,21,24,.75) !important;
  border-radius:0 !important;
  background:transparent !important;
  color:#141518 !important;
  text-decoration:none;
  font-size:12px !important;
  letter-spacing:.18em !important;
  text-transform:uppercase;
  line-height:1.2;
}
.k-litter-btn:hover{
  background:#141518 !important;
  color:#EEF0F2 !important;
}
.k-litter-link{margin:20px 0 0}
@media (max-width:760px){
  #available-now .agrid,
  #reserved .agrid{
    grid-template-columns:minmax(0,280px);
  }
}


/* About parent CTAs and Questions footnote sources: 44px tap targets, same type. */
.parent .pedlink a,
.parent .plink a{
  display:inline-flex;
  align-items:center;
  min-height:44px;
  padding-top:12px;
  padding-bottom:12px;
  box-sizing:border-box;
}
.qa a.src{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:44px;
  min-width:44px;
  padding:12px 6px;
  margin:-12px 0;
  box-sizing:border-box;
  vertical-align:middle;
}
