:root {
  --navy: #0d1a2b;
  --blue: #24469f;
  --orange: #ff641e;
  --orange-dark: #df4810;
  --orange-soft: #fff0e8;
  --yellow: #ffbf32;
  --yellow-soft: #fff5cf;
  --peach: #fff4ef;
  --mint: #ecfbf2;
  --paper: #fffdf9;
  --white: #ffffff;
  --ink: #161412;
  --ink-soft: #514b47;
  --muted: #77716d;
  --line: #e7ddd6;
  --shadow: 0 18px 45px rgba(39, 26, 18, .11);
  --display: "Trebuchet MS", Arial, sans-serif;
  --body: Arial, Helvetica, sans-serif;
  --container: 1160px;
  --narrow: 930px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 130px; }
body { margin: 0; color: var(--ink); background: var(--paper); font-family: var(--body); font-size: 16px; line-height: 1.55; text-rendering: optimizeLegibility; }
img { display: block; max-width: 100%; }
a { color: inherit; }
button, input, select, textarea { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; }

.skip-link { position: fixed; top: 10px; left: 10px; z-index: 1000; padding: .75rem 1rem; color: var(--white); background: var(--navy); transform: translateY(-150%); }
.skip-link:focus { transform: translateY(0); }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.container { width: min(calc(100% - 44px), var(--container)); margin-inline: auto; }
.narrow-container { width: min(calc(100% - 44px), var(--narrow)); margin-inline: auto; }
.section { padding-block: clamp(4.8rem, 8vw, 7.5rem); }
.section--paper { background: var(--peach); }
.section--dark { color: var(--white); background: var(--navy); }
.lede { color: var(--ink-soft); font-size: clamp(1rem, 1.25vw, 1.13rem); }
.kicker, .eyebrow-light { margin: 0 0 .7rem; color: var(--orange-dark); font-size: .72rem; font-weight: 900; letter-spacing: .14em; text-transform: uppercase; }
.section--dark .kicker { color: var(--yellow); }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { margin-bottom: 0; font-family: var(--display); letter-spacing: -.035em; line-height: 1.03; }
h1 { font-size: clamp(3.6rem, 7vw, 7rem); }
h2 { font-size: clamp(2.4rem, 4.5vw, 4.5rem); }
h3 { font-size: 1.5rem; }

.announcement { color: var(--white); background: var(--blue); }
.announcement-inner { min-height: 28px; display: flex; align-items: center; justify-content: center; gap: 1rem; font-size: .66rem; }
.announcement-inner a { font-weight: 800; text-decoration: underline; text-underline-offset: 2px; }
.site-header { position: sticky; top: 0; z-index: 100; background: rgba(255,255,255,.98); box-shadow: 0 1px 0 var(--line); }
.utility-row { min-height: 72px; display: grid; grid-template-columns: 180px minmax(280px, 560px) auto; align-items: center; gap: 2rem; }
.brand { display: inline-flex; align-items: center; text-decoration: none; }
.brand img { width: 170px; height: auto; }
.header-search { display: flex; min-height: 42px; overflow: hidden; border: 1px solid var(--line); border-radius: 999px; background: #fbfaf8; }
.header-search input { width: 100%; padding: .7rem 1rem; border: 0; outline: 0; background: transparent; font-size: .82rem; }
.header-search button { width: 48px; border: 0; color: var(--ink); background: transparent; cursor: pointer; font-size: 1.1rem; }
.header-actions { display: flex; align-items: center; justify-content: flex-end; gap: .8rem; }
.text-action { font-size: .78rem; font-weight: 900; text-decoration: none; }
.nav-shell { border-top: 1px solid #f1ebe6; }
.site-nav { min-height: 40px; display: flex; align-items: center; justify-content: center; gap: clamp(1.2rem, 3vw, 2.7rem); overflow-x: auto; scrollbar-width: none; }
.site-nav::-webkit-scrollbar { display: none; }
.site-nav a { position: relative; flex-shrink: 0; color: #2d2926; font-size: .74rem; font-weight: 800; text-decoration: none; }
.site-nav a[aria-current="page"] { color: var(--orange-dark); }
.site-nav a[aria-current="page"]::after { position: absolute; right: 0; bottom: -11px; left: 0; height: 3px; background: var(--orange); content: ""; }

.button { display: inline-flex; min-height: 44px; align-items: center; justify-content: center; gap: .45rem; padding: .78rem 1.25rem; border: 1px solid transparent; border-radius: 8px; font-size: .78rem; font-weight: 900; line-height: 1; text-decoration: none; cursor: pointer; }
.button--orange { color: var(--white); background: var(--orange); border-radius: 999px; }
.button--ink, .button--dark { color: var(--white); background: var(--ink); }
.button--primary { color: var(--ink); background: var(--yellow); }
.button--outline { border-color: var(--ink); background: transparent; }
.button--light { color: var(--ink); background: var(--white); }
.button--ghost-light { color: var(--white); border-color: rgba(255,255,255,.7); background: transparent; }
.button--white-outline { color: var(--white); border-color: rgba(255,255,255,.8); background: transparent; }
.button--hero-outline { border-color: var(--ink); background: transparent; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.5rem; }

/* Homepage hero inspired by the supplied reference: vivid campaign band + static polaroids */
.home-hero { position: relative; overflow: hidden; color: var(--white); background: var(--orange); }
.hero-pattern { position: absolute; inset: 0; opacity: .15; background-image: radial-gradient(circle at center, rgba(255,255,255,.85) 0 2px, transparent 2.5px), radial-gradient(circle at center, rgba(255,255,255,.75) 0 1px, transparent 1.5px); background-size: 48px 48px, 28px 28px; background-position: 0 0, 12px 15px; }
.home-hero::before { position: absolute; right: -65px; bottom: -120px; width: 260px; height: 260px; border: 38px solid rgba(255,255,255,.18); border-radius: 50%; content: ""; }
.home-hero::after { position: absolute; left: 22%; bottom: -72px; width: 120px; height: 120px; border-radius: 55% 55% 0 0; background: rgba(255,241,223,.88); content: ""; }
.home-hero-grid { position: relative; z-index: 1; min-height: 415px; display: grid; grid-template-columns: .85fr 1.15fr; align-items: center; gap: 2.2rem; padding-block: 3.4rem; }
.home-hero-copy { max-width: 510px; }
.eyebrow-light { color: #ffe8db; }
.home-hero h1 { font-size: clamp(3.4rem, 6vw, 5.9rem); text-transform: uppercase; }
.home-hero h1 span { color: var(--yellow); }
.home-hero-copy > p:not(.eyebrow-light) { max-width: 500px; margin: 1.1rem 0 0; color: #fff5ed; font-size: 1.05rem; }
.polaroid-collage { position: relative; min-height: 350px; }
.polaroid { position: absolute; width: 31%; margin: 0; padding: 8px 8px 14px; color: var(--orange-dark); background: var(--white); box-shadow: 0 17px 34px rgba(74,31,11,.22); }
.polaroid img { width: 100%; aspect-ratio: 4 / 4.2; object-fit: cover; }
.polaroid figcaption { padding-top: .65rem; font-size: .72rem; font-weight: 900; text-align: center; }
.polaroid--one { top: 20px; left: 4%; transform: rotate(-2deg); }
.polaroid--two { top: 0; left: 35%; transform: rotate(5deg); z-index: 2; }
.polaroid--three { top: 24px; right: 2%; transform: rotate(1deg); }
.scribble-heart { position: absolute; z-index: 3; color: rgba(255,255,255,.9); font-family: Georgia, serif; font-size: 5rem; line-height: 1; }
.scribble-heart--one { left: -15px; bottom: 0; transform: rotate(-18deg); }
.scribble-heart--two { top: -16px; right: -10px; transform: rotate(10deg); }

.adoption-summary { position: relative; padding-block: 3.5rem 4.7rem; background: var(--peach); }
.adoption-summary::after { position: absolute; right: 0; bottom: -12px; left: 0; height: 24px; background: radial-gradient(circle at 12px 0, transparent 12px, var(--paper) 13px) 0 0 / 24px 24px repeat-x; content: ""; }
.summary-heading { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: .9rem 1.5rem; max-width: 780px; margin-inline: auto; text-align: center; }
.summary-heading strong { font-family: var(--display); font-size: 1.8rem; }
.summary-heading span { color: var(--ink-soft); font-size: .9rem; text-align: left; }
.summary-heading a { color: var(--orange-dark); font-size: .72rem; font-weight: 900; text-decoration: none; }
.summary-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: .7rem; max-width: 850px; margin: 1.8rem auto 0; }
.summary-steps article { display: grid; grid-template-columns: 42px 1fr; gap: .8rem; min-height: 112px; padding: 1rem; border: 1px solid #ffc2a5; border-radius: 8px; background: rgba(255,255,255,.8); }
.mini-icon { display: grid; width: 38px; height: 38px; place-items: center; border-radius: 50%; color: var(--orange); border: 1px solid var(--orange); }
.summary-steps strong { display: block; font-size: .82rem; }
.summary-steps p { margin: .35rem 0 0; color: var(--ink-soft); font-size: .72rem; line-height: 1.45; }

.home-pets { background: var(--paper); }
.home-pets-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 2rem; margin-bottom: 1.4rem; }
.home-pets-head h2 { font-size: clamp(1.85rem, 3vw, 2.65rem); letter-spacing: -.045em; }
.home-pets-head p { margin: .45rem 0 0; color: var(--ink-soft); font-size: .92rem; }
.home-pets-head > a { flex-shrink: 0; padding-bottom: .2rem; color: var(--orange-dark); font-size: .9rem; font-weight: 900; text-decoration-thickness: 1px; text-underline-offset: .22em; }
.home-pet-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1rem; }
.home-pet-card { min-width: 0; overflow: hidden; border: 1px solid var(--line); border-radius: 12px; background: var(--white); }
.home-pet-card > a { display: block; color: inherit; text-decoration: none; }
.home-pet-photo { position: relative; display: block; overflow: hidden; aspect-ratio: 1 / 1.02; background: #eee; }
.home-pet-photo img { width: 100%; height: 100%; object-fit: cover; }
.home-pet-gender { position: absolute; top: .7rem; left: .7rem; padding: .32rem .65rem; border-radius: 7px; color: var(--ink); background: rgba(255,255,255,.96); font-size: .72rem; line-height: 1; box-shadow: 0 4px 14px rgba(25,18,13,.08); }
.home-pet-info { display: block; padding: 1rem 1rem 1.15rem; }
.home-pet-info strong { display: block; font-family: var(--display); font-size: 1.06rem; letter-spacing: -.02em; }
.home-pet-info small { display: block; margin-top: .42rem; color: #66728b; font-size: .73rem; }
.pet-card { min-width: 0; overflow: hidden; border: 1px solid var(--line); border-radius: 8px; background: var(--white); }
.pet-image { position: relative; display: block; overflow: hidden; aspect-ratio: 1 / .82; background: #eee; text-decoration: none; }
.pet-image img { width: 100%; height: 100%; object-fit: cover; }
.pet-heart { position: absolute; top: 10px; right: 10px; display: grid; width: 32px; height: 32px; place-items: center; border-radius: 50%; color: var(--white); background: var(--orange); box-shadow: 0 5px 14px rgba(0,0,0,.12); }
.pet-card-body { padding: .85rem .9rem 1rem; }
.pet-topline { display: flex; align-items: center; justify-content: space-between; gap: .5rem; }
.pet-topline h3 { font-size: 1.2rem; text-transform: uppercase; }
.status { flex-shrink: 0; padding: .26rem .4rem; border-radius: 4px; color: var(--ink-soft); background: #f5f1ed; font-size: .5rem; font-weight: 900; letter-spacing: .04em; text-transform: uppercase; }
.pet-meta { margin: .35rem 0 0; color: var(--muted); font-size: .67rem; }
.pet-superpower { margin: .7rem 0 0; color: var(--ink-soft); font-size: .74rem; line-height: 1.4; }
.pet-superpower strong { display: block; color: var(--orange-dark); font-size: .56rem; letter-spacing: .06em; text-transform: uppercase; }
.tags { display: flex; flex-wrap: wrap; gap: .3rem; margin-top: .7rem; }
.tag { padding: .22rem .38rem; border: 1px solid var(--line); border-radius: 999px; color: var(--ink-soft); font-size: .58rem; }
.card-link { display: inline-flex; margin-top: .75rem; color: var(--ink); font-size: .66rem; font-weight: 900; text-decoration: none; }
.pet-toolbar { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 2rem; }
.filter-chip { padding: .55rem .8rem; border: 1px solid var(--ink); border-radius: 999px; font-size: .7rem; font-weight: 900; }
.filter-chip.is-active { color: var(--white); background: var(--ink); }
.pet-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; margin-top: 2rem; }
.pet-grid .pet-card-body { padding: 1.2rem; }
.pet-grid .pet-topline h3 { font-size: 1.7rem; }
.pet-grid .pet-meta { font-size: .78rem; }
.pet-grid .pet-superpower { font-size: .86rem; }
.pet-grid .tag { font-size: .66rem; }
.pet-grid .card-link { font-size: .76rem; }
.center-action { display: flex; justify-content: center; margin-top: 2rem; }
.demo-note { margin: 1.1rem 0 0; color: var(--muted); font-size: .72rem; }
.center-note { text-align: center; }

.action-section { padding-top: 3.5rem; background: var(--white); }
.center-head { max-width: 760px; margin-inline: auto; text-align: center; }
.center-head h2 { font-size: clamp(2rem, 3.8vw, 3.6rem); }
.center-head .lede { margin-top: 1rem; }
.action-icon-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; margin-top: 3rem; }
.action-icon-grid a { min-height: 160px; display: flex; align-items: center; flex-direction: column; justify-content: center; gap: .5rem; padding: 1rem; color: var(--ink); text-align: center; text-decoration: none; }
.action-icon-grid a > span { display: grid; width: 66px; height: 66px; place-items: center; border-radius: 50%; color: var(--orange); background: var(--orange-soft); }
.action-icon-grid strong { font-size: .9rem; }
.action-icon-grid small { color: var(--muted); font-size: .68rem; }
.quote-strip { padding-block: 2.6rem; }
.quote-strip--mint { background: var(--mint); }
.quote-strip--peach { background: var(--peach); }
.quote-strip blockquote { max-width: 760px; margin: 0 auto; color: #154b55; font-family: var(--display); font-size: clamp(1.3rem, 2.6vw, 2rem); font-weight: 900; letter-spacing: .04em; line-height: 1.25; text-align: center; text-transform: uppercase; }
.quote-strip--peach blockquote { color: #a64013; }

.adopted-section { position: relative; padding-top: 4.8rem; background: linear-gradient(180deg, #fff7f1 0, var(--paper) 48%); }
.adopted-badge { display: grid; width: 76px; height: 76px; place-items: center; margin: -7.2rem auto 1.4rem; border-radius: 50%; color: var(--white); background: var(--orange); font-family: var(--display); font-size: .85rem; font-weight: 900; box-shadow: 0 8px 0 rgba(210,66,9,.2); }
.success-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: .9rem; margin-top: 2rem; }
.success-grid article { overflow: hidden; border: 1px solid var(--line); border-radius: 7px; background: var(--white); }
.success-grid img { width: 100%; aspect-ratio: 1 / .9; object-fit: cover; }
.success-grid article > span, .success-grid h3, .success-grid p { display: block; margin-right: .8rem; margin-left: .8rem; }
.success-grid article > span { margin-top: .7rem; color: var(--orange-dark); font-size: .58rem; font-weight: 900; text-transform: uppercase; }
.success-grid h3 { margin-top: .25rem; font-size: 1rem; }
.success-grid p { margin-top: .2rem; margin-bottom: .8rem; color: var(--muted); font-size: .64rem; }

.care-preview { background: var(--white); }
.care-preview-grid { display: grid; grid-template-columns: .85fr 1.15fr; align-items: center; gap: 4rem; }
.care-preview h2 { font-size: clamp(2.2rem, 4vw, 3.7rem); }
.care-preview .lede { margin-top: 1rem; }
.care-preview .button { margin-top: 1.4rem; }
.article-list { border-top: 1px solid var(--line); }
.article-list a { display: grid; grid-template-columns: 110px 1fr; align-items: center; gap: 1rem; padding: .8rem 0; border-bottom: 1px solid var(--line); text-decoration: none; }
.article-list img { width: 110px; height: 74px; object-fit: cover; }
.article-list strong { display: block; font-size: .86rem; }
.article-list small { display: block; margin-top: .3rem; color: var(--blue); font-size: .65rem; font-weight: 800; }
.brand-story { padding-block: 4.5rem 5.5rem; border-top: 3px solid #5ec69a; background: linear-gradient(180deg, #edfff8, var(--white)); }
.brand-story-card { max-width: 720px; margin: 2rem auto 0; padding: 2.4rem; border-radius: 8px; background: rgba(255,255,255,.9); box-shadow: var(--shadow); }
.brand-story-card p { margin: 0; color: var(--ink-soft); font-size: 1.04rem; line-height: 1.8; }
.brand-story-card a { display: inline-flex; margin-top: 1rem; color: #148558; font-size: .78rem; font-weight: 900; text-decoration: none; }

/* Inner page system */
.page-hero { padding-block: clamp(4.5rem, 8vw, 7rem); background: var(--orange); color: var(--white); }
.page-hero-inner { display: grid; grid-template-columns: 1fr .7fr; align-items: end; gap: 4rem; }
.page-hero h1 { max-width: 780px; font-size: clamp(3rem, 6vw, 5.8rem); text-transform: uppercase; }
.page-hero .kicker { color: var(--yellow-soft); }
.page-hero .lede { color: #fff3e9; }
.section-head { display: grid; grid-template-columns: 1fr .75fr; align-items: end; gap: 4rem; }
.section-head .lede { max-width: 520px; }
.filters-panel { display: grid; grid-template-columns: 1.4fr repeat(4, 1fr); gap: .7rem; padding: 1rem; border: 1px solid var(--line); border-radius: 10px; background: var(--white); box-shadow: 0 10px 24px rgba(66,38,20,.07); }
.field label { display: block; margin-bottom: .35rem; color: var(--ink-soft); font-size: .66rem; font-weight: 900; letter-spacing: .06em; text-transform: uppercase; }
.field input, .field select, .field textarea { width: 100%; min-height: 46px; padding: .75rem .85rem; border: 1px solid var(--line); border-radius: 6px; color: var(--ink); background: #fffdfa; }
.field textarea { min-height: 140px; resize: vertical; }
.steps, .journey-grid { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: 3rem; border: 1px solid var(--line); background: var(--white); }
.step, .journey-grid article { min-height: 250px; padding: 2rem; }
.step + .step, .journey-grid article + article { border-left: 1px solid var(--line); }
.step-number, .journey-grid span { display: grid; width: 42px; height: 42px; place-items: center; border-radius: 50%; color: var(--white); background: var(--orange); font-size: .72rem; font-weight: 900; }
.step h3, .journey-grid h3 { margin-top: 2rem; }
.step p, .journey-grid p { margin-top: .75rem; color: var(--ink-soft); }
.split-story { display: grid; grid-template-columns: 1.05fr .95fr; gap: 4rem; align-items: stretch; }
.story-photo { min-height: 520px; overflow: hidden; border: 8px solid var(--white); border-radius: 10px; box-shadow: var(--shadow); }
.story-photo img { width: 100%; height: 100%; object-fit: cover; }
.story-copy { display: flex; flex-direction: column; justify-content: center; }
.story-copy .lede { margin-top: 1.1rem; }
.story-list { margin: 1.6rem 0 0; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.story-list li { display: grid; grid-template-columns: 42px 1fr; gap: 1rem; padding: 1rem 0; border-bottom: 1px solid var(--line); }
.story-list strong { color: var(--orange); font-size: .72rem; }
.story-list span { color: var(--ink-soft); }
.profile-hero { padding-block: clamp(4rem, 8vw, 7rem); background: var(--yellow); }
.profile-grid { display: grid; grid-template-columns: 1.05fr .95fr; align-items: center; gap: 4rem; }
.profile-photo { overflow: hidden; height: 570px; border: 8px solid var(--white); border-radius: 10px; box-shadow: var(--shadow); }
.profile-photo img { width: 100%; height: 100%; object-fit: cover; }
.profile-copy h1 { font-size: clamp(4rem, 7vw, 6.5rem); text-transform: uppercase; }
.profile-meta-grid { display: grid; grid-template-columns: repeat(2, 1fr); margin-top: 1.6rem; border: 1px solid rgba(37,29,24,.25); background: rgba(255,255,255,.45); }
.profile-meta-grid div { padding: .9rem; border-bottom: 1px solid rgba(37,29,24,.2); }
.profile-meta-grid div:nth-child(even) { border-left: 1px solid rgba(37,29,24,.2); }
.profile-meta-grid span { display: block; color: #76501e; font-size: .6rem; font-weight: 900; letter-spacing: .07em; text-transform: uppercase; }
.profile-meta-grid strong { display: block; margin-top: .25rem; font-size: .88rem; }
.profile-content { display: grid; grid-template-columns: 1.1fr .7fr; gap: 4rem; }
.prose h2 { font-size: 2.8rem; }
.prose h3 { margin-top: 2rem; }
.prose p, .prose ul { margin-top: .8rem; color: var(--ink-soft); }
.side-card { padding: 1.4rem; border: 1px solid var(--line); border-radius: 8px; background: var(--white); }
.side-card + .side-card { margin-top: 1rem; }
.side-card p { margin-top: .6rem; color: var(--ink-soft); }
.story-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; }
.story-card { display: grid; grid-template-columns: .9fr 1.1fr; overflow: hidden; border: 1px solid var(--line); background: var(--white); }
.story-card img { width: 100%; height: 100%; min-height: 300px; object-fit: cover; }
.story-card div { padding: 1.4rem; border-left: 6px solid var(--orange); }
.story-card span { color: var(--orange-dark); font-size: .64rem; font-weight: 900; text-transform: uppercase; }
.story-card h3 { margin-top: .6rem; }
.story-card p { margin-top: .7rem; color: var(--ink-soft); }
.impact-head, .context-title { display: grid; grid-template-columns: 1fr .7fr; align-items: end; gap: 3rem; }
.impact-head .lede, .context-title .lede { color: #d8d5d2; }
.impact-note { margin-top: 2rem; color: #c7c1bd; font-size: .8rem; }
.impact-note a { color: var(--yellow); }
.role-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; margin-top: 2.5rem; }
.role-card { min-height: 230px; padding: 1.4rem; border: 1px solid var(--line); border-top: 6px solid var(--orange); background: var(--white); }
.role-card:nth-child(3n+2) { border-top-color: var(--yellow); }
.role-card:nth-child(3n) { border-top-color: var(--blue); }
.role-label { color: var(--orange-dark); font-size: .64rem; font-weight: 900; text-transform: uppercase; }
.role-card h3 { margin-top: 1.6rem; }
.role-card p { margin-top: .7rem; color: var(--ink-soft); }
.support-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin-top: 2.5rem; }
.support-card { min-height: 380px; padding: clamp(2rem, 4vw, 3rem); border-radius: 10px; }
.support-card--volunteer { color: var(--white); background: var(--orange); }
.support-card--donate { background: var(--yellow); }
.support-card h3 { font-size: clamp(2.2rem, 4vw, 3.8rem); }
.support-card p { margin-top: 1rem; }
.support-card--volunteer p { color: #fff2e9; }
.support-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: .55rem 1rem; margin: 1.2rem 0 0; padding: 0; list-style: none; }
.support-actions { display: flex; flex-wrap: wrap; gap: .7rem; margin-top: 1.5rem; }
.amount-list { margin: 1.2rem 0 0; padding: 0; list-style: none; border-top: 1px solid rgba(37,29,24,.24); }
.amount-list li { display: flex; justify-content: space-between; gap: 1rem; padding: .7rem 0; border-bottom: 1px solid rgba(37,29,24,.24); }
.guide-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; margin-top: 2.5rem; }
.guide-card { padding: 1.5rem; border: 1px solid var(--line); border-top: 6px solid var(--orange); background: var(--white); }
.guide-card:nth-child(4n+2) { border-top-color: var(--yellow); }
.guide-card:nth-child(4n+3) { border-top-color: var(--blue); }
.guide-card:nth-child(4n) { border-top-color: #5ec69a; }
.guide-card p { margin-top: .7rem; color: var(--ink-soft); }
.guide-source { color: var(--muted) !important; font-size: .72rem; }
.source-list { margin: 2.5rem 0 0; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.source-list li { display: grid; grid-template-columns: 44px 1fr auto; align-items: center; gap: 1rem; padding: 1rem 0; border-bottom: 1px solid var(--line); }
.source-list strong { color: var(--orange); font-size: .72rem; }
.source-list span { color: var(--ink-soft); }
.source-list a { font-size: .74rem; font-weight: 900; text-decoration: none; }
.contact-grid { display: grid; grid-template-columns: .65fr 1.35fr; align-items: start; gap: 4rem; }
.contact-aside { position: sticky; top: 140px; padding: 1.8rem; border-radius: 10px; background: var(--yellow); }
.contact-aside h2 { font-size: clamp(2.4rem, 4.5vw, 3.4375rem); }
.contact-aside p { margin-top: .8rem; color: #69461d; }
.emergency-note { margin-top: 1.2rem; padding: .9rem; border-left: 5px solid var(--orange); background: rgba(255,255,255,.55); font-size: .8rem; }
.form-card { padding: clamp(1.4rem, 4vw, 2.4rem); border: 1px solid var(--line); background: var(--white); }
.form-card + .form-card { margin-top: 1rem; }
.form-card h3 { margin-bottom: 1.4rem; font-size: 2rem; }
.form-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: .9rem; }
.field--full { grid-column: 1 / -1; }
.form-note { margin-top: .8rem; color: var(--muted); font-size: .72rem; }
.thank-you { min-height: 72vh; display: grid; place-items: center; padding: 3rem 1.5rem; background: var(--yellow); }
.thank-you-card { width: min(680px, 100%); padding: clamp(2rem, 6vw, 4rem); border: 8px solid var(--white); border-radius: 12px; background: var(--paper); box-shadow: var(--shadow); text-align: center; }
.thank-you-card p { margin-top: 1rem; color: var(--ink-soft); }
.thank-you-card .button { margin-top: 1.4rem; }

.site-footer { color: var(--white); background: var(--navy); }
.footer-stripe { height: 10px; background: repeating-linear-gradient(135deg, var(--orange) 0 18px, var(--white) 18px 27px); }
.footer-vision { padding-block: 2.3rem; text-align: center; background: #0a1726; }
.footer-vision span { display: block; color: #cbd5e5; font-size: .65rem; font-weight: 900; text-transform: uppercase; }
.footer-vision strong { display: block; max-width: 700px; margin: .5rem auto 0; font-family: var(--display); font-size: 1.35rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr repeat(3, .65fr); gap: 3rem; padding-block: 3.8rem; }
.footer-brand img { width: 175px; filter: brightness(0) invert(1); }
.footer-brand p { max-width: 380px; margin: 1rem 0 0; color: #aeb9c9; font-size: .8rem; }
.footer-col { display: flex; align-items: flex-start; flex-direction: column; gap: .55rem; }
.footer-col h2 { margin-bottom: .5rem; color: var(--yellow); font-size: .72rem; letter-spacing: .08em; text-transform: uppercase; }
.footer-col a, .footer-col p { color: #d9e0ea; font-size: .76rem; text-decoration: none; }
.footer-col p { margin: 0; }
.footer-bottom { display: flex; align-items: flex-start; justify-content: space-between; gap: 2rem; padding-block: 1rem 1.4rem; border-top: 1px solid rgba(255,255,255,.12); }
.footer-bottom p { max-width: 700px; margin: 0; color: #8390a2; font-size: .62rem; }

@media (max-width: 1050px) {
  .utility-row { grid-template-columns: 160px 1fr auto; gap: 1rem; }
  .brand img { width: 150px; }
  .text-action { display: none; }
  .home-hero-grid { grid-template-columns: .9fr 1.1fr; }
  .home-hero h1 { font-size: clamp(3.2rem, 6.2vw, 5rem); }
  .home-pet-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .filters-panel { grid-template-columns: repeat(3, 1fr); }
  .filters-panel .field:first-child { grid-column: span 2; }
  .role-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1.2fr repeat(3, .7fr); gap: 2rem; }
}

@media (max-width: 860px) {
  html { scroll-padding-top: 150px; }
  .container, .narrow-container { width: min(calc(100% - 32px), var(--container)); }
  .announcement-inner { justify-content: space-between; }
  .utility-row { min-height: auto; grid-template-columns: 1fr auto; padding-block: .75rem; }
  .header-search { grid-column: 1 / -1; grid-row: 2; }
  .brand img { width: 145px; }
  .site-nav { justify-content: flex-start; min-height: 44px; }
  .home-hero-grid { min-height: auto; grid-template-columns: 1fr; padding-block: 3.3rem 2.7rem; }
  .home-hero-copy { max-width: 650px; }
  .polaroid-collage { min-height: 330px; }
  .summary-heading { grid-template-columns: 1fr; gap: .35rem; }
  .summary-heading span { text-align: center; }
  .summary-steps { grid-template-columns: 1fr; }
  .home-pet-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .action-icon-grid { grid-template-columns: repeat(2, 1fr); }
  .success-grid { grid-template-columns: repeat(2, 1fr); }
  .care-preview-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .page-hero-inner, .section-head, .split-story, .profile-grid, .profile-content, .impact-head, .context-title, .contact-grid { grid-template-columns: 1fr; gap: 2rem; }
  .page-hero-inner { align-items: start; }
  .page-hero .lede { max-width: 700px; }
  .profile-photo { height: 520px; }
  .story-photo { min-height: 440px; }
  .steps, .journey-grid { grid-template-columns: 1fr; }
  .step + .step, .journey-grid article + article { border-top: 1px solid var(--line); border-left: 0; }
  .pet-grid { grid-template-columns: repeat(2, 1fr); }
  .story-grid { grid-template-columns: 1fr; }
  .support-grid { grid-template-columns: 1fr; }
  .contact-aside { position: static; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 580px) {
  body { font-size: 15px; }
  .container, .narrow-container { width: min(calc(100% - 24px), var(--container)); }
  .announcement-inner { min-height: 34px; gap: .6rem; font-size: .56rem; }
  .announcement-inner span { max-width: 62%; }
  .announcement-inner a { text-align: right; }
  .utility-row { grid-template-columns: 1fr auto; }
  .brand img { width: 128px; }
  .header-cta { min-height: 38px; padding: .66rem .85rem; font-size: .68rem; }
  .site-nav { gap: 1.25rem; }
  .home-hero-grid { padding-top: 2.7rem; }
  .home-hero h1 { font-size: clamp(2.75rem, 15vw, 4rem); }
  .home-hero-copy > p:not(.eyebrow-light) { font-size: .94rem; }
  .polaroid-collage { min-height: 260px; margin-top: 1rem; }
  .polaroid { width: 35%; padding: 5px 5px 9px; }
  .polaroid figcaption { padding-top: .4rem; font-size: .5rem; }
  .polaroid--one { left: 0; top: 18px; }
  .polaroid--two { left: 32%; }
  .polaroid--three { right: 0; top: 20px; }
  .scribble-heart { font-size: 3.4rem; }
  .home-hero::after { display: none; }
  .adoption-summary { padding-block: 2.8rem 4rem; }
  .summary-heading strong { font-size: 1.6rem; }
  .home-pets-head { align-items: flex-start; flex-direction: column; gap: .65rem; margin-bottom: 1.15rem; }
  .home-pets-head h2 { font-size: 1.75rem; }
  .home-pets-head p { font-size: .82rem; }
  .home-pets-head > a { font-size: .82rem; }
  .home-pet-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .65rem; }
  .home-pet-card { border-radius: 9px; }
  .home-pet-gender { top: .5rem; left: .5rem; padding: .28rem .52rem; font-size: .62rem; }
  .home-pet-info { padding: .75rem .7rem .85rem; }
  .home-pet-info strong { font-size: .94rem; }
  .home-pet-info small { margin-top: .3rem; font-size: .62rem; line-height: 1.35; }
  .action-icon-grid { gap: .2rem; }
  .action-icon-grid a { min-height: 135px; }
  .action-icon-grid a > span { width: 54px; height: 54px; }
  .success-grid { gap: .6rem; }
  .quote-strip { padding-block: 2rem; }
  .quote-strip blockquote { font-size: 1.15rem; }
  .article-list a { grid-template-columns: 88px 1fr; }
  .article-list img { width: 88px; height: 66px; }
  .brand-story-card { padding: 1.5rem; }
  .filters-panel { grid-template-columns: 1fr; }
  .filters-panel .field:first-child { grid-column: auto; }
  .pet-grid { grid-template-columns: 1fr; }
  .profile-photo { height: 420px; }
  .profile-meta-grid { grid-template-columns: 1fr; }
  .profile-meta-grid div:nth-child(even) { border-left: 0; }
  .story-card { grid-template-columns: 1fr; }
  .story-card img { min-height: 240px; }
  .story-card div { border-top: 6px solid var(--orange); border-left: 0; }
  .role-grid, .guide-grid { grid-template-columns: 1fr; }
  .support-list { grid-template-columns: 1fr; }
  .source-list li { grid-template-columns: 30px 1fr; }
  .source-list a { grid-column: 2; }
  .form-grid { grid-template-columns: 1fr; }
  .field--full { grid-column: auto; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-brand { grid-column: auto; }
  .footer-col { padding-top: 1.3rem; border-top: 1px solid rgba(255,255,255,.12); }
  .footer-bottom { flex-direction: column; gap: .7rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

/* Attached PawsHome logo + hero adoption-search visibility fix */
.brand img {
  width: 196px;
  max-height: 58px;
  object-fit: contain;
}

.footer-brand img {
  width: 210px;
  height: auto;
  padding: .45rem .65rem;
  border-radius: 10px;
  background: var(--white);
  filter: none;
}

.home-hero {
  overflow: visible;
}

.hero-search-wrap {
  position: relative;
  z-index: 12;
  bottom: -53px;
  margin-top: -24px;
}

.adoption-search {
  display: grid;
  grid-template-columns: minmax(230px, 1.35fr) minmax(150px, .72fr) minmax(170px, .82fr) auto;
  align-items: stretch;
  gap: 0;
  min-height: 106px;
  padding: 16px;
  border: 1px solid rgba(31, 19, 12, .12);
  border-radius: 12px;
  background: var(--white);
  box-shadow: 0 20px 42px rgba(42, 25, 12, .18);
}

.adoption-search-intro,
.adoption-search-field {
  display: flex;
  min-width: 0;
  flex-direction: column;
  justify-content: center;
  padding: .4rem 1.1rem;
}

.adoption-search-intro {
  padding-left: .75rem;
}

.adoption-search-intro strong {
  color: var(--ink);
  font-family: var(--display);
  font-size: 1.15rem;
  letter-spacing: -.02em;
}

.adoption-search-intro span {
  margin-top: .25rem;
  color: var(--muted);
  font-size: .69rem;
  line-height: 1.35;
}

.adoption-search-field {
  border-left: 1px solid var(--line);
}

.adoption-search-field label {
  margin-bottom: .25rem;
  color: var(--muted);
  font-size: .58rem;
  font-weight: 900;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.adoption-search-field select {
  width: 100%;
  padding: .25rem 1.5rem .25rem 0;
  border: 0;
  outline: 0;
  color: var(--ink);
  background: transparent;
  font-size: .83rem;
  font-weight: 800;
  cursor: pointer;
}

.adoption-search-submit {
  align-self: center;
  min-width: 142px;
  margin-left: .8rem;
  border-radius: 8px;
}

.adoption-summary {
  padding-top: 7rem;
}

@media (max-width: 1050px) {
  .brand img { width: 176px; }
  .adoption-search {
    grid-template-columns: minmax(210px, 1.2fr) minmax(135px, .7fr) minmax(150px, .8fr) auto;
  }
  .adoption-search-intro,
  .adoption-search-field { padding-inline: .85rem; }
}

@media (max-width: 860px) {
  .brand img { width: 168px; }
  .hero-search-wrap {
    bottom: -44px;
    margin-top: -8px;
  }
  .adoption-search {
    grid-template-columns: 1fr 1fr auto;
    min-height: auto;
  }
  .adoption-search-intro {
    grid-column: 1 / -1;
    padding: .35rem .65rem .85rem;
    border-bottom: 1px solid var(--line);
  }
  .adoption-search-field {
    margin-top: .8rem;
  }
  .adoption-search-field:first-of-type {
    border-left: 0;
  }
  .adoption-search-submit {
    margin-top: .8rem;
  }
  .adoption-summary { padding-top: 6.7rem; }
}

@media (max-width: 580px) {
  .brand img { width: 148px; }
  .footer-brand img { width: 190px; }
  .hero-search-wrap {
    bottom: -28px;
    margin-top: .2rem;
  }
  .adoption-search {
    grid-template-columns: 1fr;
    gap: 0;
    padding: 14px;
    border-radius: 10px;
  }
  .adoption-search-intro {
    grid-column: auto;
    padding: .3rem .25rem .9rem;
  }
  .adoption-search-intro strong { font-size: 1.05rem; }
  .adoption-search-field {
    margin-top: 0;
    padding: .75rem .25rem;
    border-top: 1px solid var(--line);
    border-left: 0;
  }
  .adoption-search-submit {
    width: 100%;
    margin: .65rem 0 0;
  }
  .adoption-summary { padding-top: 5.8rem; }
}

/* Header simplification and larger editorial homepage hero */
.announcement,
.header-search {
  display: none !important;
}

.site-header {
  top: 0;
}

.utility-row {
  min-height: 82px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.header-actions {
  margin-left: auto;
}

.home-hero {
  overflow: visible;
}

.home-hero-grid {
  min-height: 570px;
  grid-template-columns: minmax(430px, .92fr) minmax(0, 1.18fr);
  gap: clamp(2.5rem, 5vw, 5.5rem);
  padding-block: 4.6rem 5.5rem;
}

.home-hero-copy {
  max-width: 560px;
  align-self: center;
}

.home-hero h1 {
  max-width: none;
  font-size: clamp(4.35rem, 6.2vw, 6.45rem);
  line-height: .88;
  letter-spacing: -.065em;
  text-transform: uppercase;
  white-space: nowrap;
}

.home-hero h1 span {
  color: var(--yellow);
}

.hero-subheadline {
  margin: 1.35rem 0 0 !important;
  color: var(--white) !important;
  font-family: var(--display);
  font-size: clamp(1.55rem, 2.2vw, 2.15rem) !important;
  font-weight: 900;
  letter-spacing: -.035em;
  line-height: 1.05;
}

.home-hero-copy > .hero-description {
  max-width: 520px;
  margin-top: .9rem;
  color: #fff4eb;
  font-size: 1rem;
  line-height: 1.65;
}

.polaroid-collage {
  min-height: 470px;
  align-self: center;
}

.polaroid {
  padding: 9px 9px 14px;
  box-shadow: 0 22px 48px rgba(74,31,11,.25);
}

.polaroid img {
  aspect-ratio: 4 / 3.35;
}

.polaroid--one {
  top: 0;
  left: 10%;
  width: 76%;
  z-index: 1;
  transform: rotate(-1.2deg);
}

.polaroid--two {
  top: auto;
  bottom: 0;
  left: 0;
  width: 35%;
  z-index: 3;
  transform: rotate(-4deg);
}

.polaroid--three {
  top: auto;
  right: 0;
  bottom: 3px;
  width: 35%;
  z-index: 4;
  transform: rotate(3.5deg);
}

.polaroid--two img,
.polaroid--three img {
  aspect-ratio: 1 / .95;
}

.polaroid figcaption {
  font-size: .76rem;
}

.scribble-heart--one {
  left: -18px;
  bottom: 105px;
}

.scribble-heart--two {
  top: 5px;
  right: -12px;
}

@media (max-width: 1050px) {
  .utility-row {
    min-height: 76px;
  }

  .home-hero-grid {
    min-height: 520px;
    grid-template-columns: minmax(360px, .9fr) minmax(0, 1.1fr);
    gap: 2.4rem;
    padding-block: 4rem 5rem;
  }

  .home-hero h1 {
    font-size: clamp(3.7rem, 6.5vw, 5rem);
  }

  .polaroid-collage {
    min-height: 410px;
  }
}

@media (max-width: 860px) {
  html {
    scroll-padding-top: 124px;
  }

  .utility-row {
    min-height: 72px;
    display: flex;
    padding-block: .65rem;
  }

  .home-hero-grid {
    grid-template-columns: 1fr;
    gap: 2.4rem;
    padding-block: 3.5rem 4.8rem;
  }

  .home-hero-copy {
    max-width: 720px;
  }

  .home-hero h1 {
    font-size: clamp(4rem, 10.8vw, 6rem);
    white-space: normal;
  }

  .hero-subheadline {
    font-size: clamp(1.45rem, 4vw, 2rem) !important;
  }

  .polaroid-collage {
    width: min(700px, 100%);
    min-height: 500px;
    margin-inline: auto;
  }

  .polaroid--one {
    left: 12%;
    width: 76%;
  }

  .polaroid--two,
  .polaroid--three {
    width: 34%;
  }
}

@media (max-width: 580px) {
  .utility-row {
    min-height: 68px;
    gap: .75rem;
  }

  .header-actions {
    gap: .45rem;
  }

  .text-action {
    display: none;
  }

  .home-hero-grid {
    gap: 1.8rem;
    padding-block: 2.7rem 4rem;
  }

  .home-hero h1 {
    max-width: 350px;
    font-size: clamp(3.25rem, 15vw, 4.35rem);
    line-height: .9;
    white-space: normal;
  }

  .hero-subheadline {
    max-width: 330px;
    margin-top: 1rem !important;
    font-size: 1.35rem !important;
  }

  .home-hero-copy > .hero-description {
    max-width: 350px;
    font-size: .92rem;
  }

  .polaroid-collage {
    min-height: 330px;
    margin-top: .3rem;
  }

  .polaroid {
    padding: 6px 6px 10px;
  }

  .polaroid--one {
    top: 0;
    left: 8%;
    width: 84%;
  }

  .polaroid--two {
    left: 0;
    bottom: 0;
    width: 39%;
  }

  .polaroid--three {
    right: 0;
    bottom: 2px;
    width: 39%;
  }

  .polaroid figcaption {
    padding-top: .4rem;
    font-size: .53rem;
  }

  .scribble-heart {
    display: none;
  }
}

/* Keep the hero message to two intentional lines on wide screens. */
.home-hero h1 {
  font-size: clamp(4.2rem, 5.45vw, 5.7rem);
  white-space: normal;
}

.home-hero h1 span {
  display: block;
}

.nav-shell {
  overflow: hidden;
}

@media (max-width: 1050px) {
  .home-hero h1 {
    font-size: clamp(3.75rem, 6.1vw, 4.8rem);
  }
}

@media (max-width: 860px) {
  .home-hero h1 {
    font-size: clamp(4rem, 10.8vw, 6rem);
  }
}

@media (max-width: 580px) {
  .home-hero h1 {
    font-size: clamp(3.2rem, 14.5vw, 4.25rem);
  }
}

/* Final header alignment and wider responsive canvas */
:root {
  --container: 1240px;
  --narrow: 980px;
}

.container,
.narrow-container {
  width: min(calc(100% - 28px), var(--container));
}

.narrow-container {
  max-width: var(--narrow);
}

.utility-row {
  min-height: 82px;
  display: grid;
  grid-template-columns: 178px minmax(0, 1fr) auto;
  align-items: center;
  gap: clamp(1rem, 2vw, 2rem);
}

.site-nav {
  min-width: 0;
  min-height: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(.85rem, 1.45vw, 1.65rem);
  overflow-x: visible;
}

.site-nav a {
  font-size: .72rem;
  white-space: nowrap;
}

.site-nav a[aria-current="page"]::after {
  bottom: -12px;
}

.header-actions {
  margin-left: 0;
}

@media (max-width: 1050px) {
  .utility-row {
    grid-template-columns: 164px minmax(0, 1fr) auto;
    gap: .9rem;
  }

  .site-nav {
    gap: clamp(.65rem, 1vw, .95rem);
  }

  .site-nav a {
    font-size: .67rem;
  }

  .header-cta {
    padding-inline: 1rem;
  }
}

@media (max-width: 860px) {
  html {
    scroll-padding-top: 136px;
  }

  .container,
  .narrow-container {
    width: min(calc(100% - 24px), var(--container));
  }

  .utility-row {
    min-height: auto;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: .65rem 1rem;
    padding-block: .7rem 0;
  }

  .brand {
    grid-column: 1;
    grid-row: 1;
  }

  .header-actions {
    grid-column: 2;
    grid-row: 1;
  }

  .site-nav {
    grid-column: 1 / -1;
    grid-row: 2;
    width: 100%;
    min-height: 46px;
    justify-content: flex-start;
    gap: 1.35rem;
    padding-block: .8rem .9rem;
    border-top: 1px solid #f1ebe6;
    overflow-x: auto;
    scrollbar-width: none;
  }

  .site-nav::-webkit-scrollbar {
    display: none;
  }

  .site-nav a {
    flex-shrink: 0;
    font-size: .72rem;
  }

  .site-nav a[aria-current="page"]::after {
    bottom: -10px;
  }
}

@media (max-width: 580px) {
  .container,
  .narrow-container {
    width: min(calc(100% - 20px), var(--container));
  }

  .utility-row {
    gap: .55rem .75rem;
  }

  .site-nav {
    gap: 1.1rem;
  }

  .site-nav a {
    font-size: .69rem;
  }
}

/* Final responsive refinement: larger adoption guidance cards and no page-level horizontal overflow */
html,
body {
  width: 100%;
  max-width: 100%;
  overflow-x: clip;
}

@supports not (overflow: clip) {
  html,
  body {
    overflow-x: hidden;
  }
}

/* Keep the hero decoration inside the viewport instead of extending the page width. */
.home-hero::before {
  right: 0;
}

.summary-steps {
  max-width: 1080px;
  gap: 1rem;
  margin-top: 2.15rem;
}

.summary-steps article {
  grid-template-columns: 50px minmax(0, 1fr);
  align-items: start;
  gap: 1rem;
  min-height: 152px;
  padding: 1.45rem 1.35rem;
  border-radius: 10px;
}

.summary-steps .mini-icon {
  width: 46px;
  height: 46px;
}

.summary-steps strong {
  font-size: .95rem;
  line-height: 1.35;
}

.summary-steps p {
  margin-top: .55rem;
  font-size: .8rem;
  line-height: 1.55;
}

@media (max-width: 860px) {
  .summary-steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    max-width: 760px;
  }

  .summary-steps article:last-child {
    grid-column: 1 / -1;
  }
}

@media (max-width: 580px) {
  .summary-steps {
    grid-template-columns: 1fr;
    gap: .8rem;
  }

  .summary-steps article,
  .summary-steps article:last-child {
    grid-column: auto;
    min-height: 0;
    padding: 1.2rem 1.1rem;
  }

  .summary-steps strong {
    font-size: .9rem;
  }

  .summary-steps p {
    font-size: .78rem;
  }
}

/* --------------------------------------------------------------------------
   Final layout consistency pass
   Keeps the approved homepage hero and "Will You Be Their Forever?" section
   unchanged, while scaling the remaining homepage sections and inner pages.
   -------------------------------------------------------------------------- */

/* Wider content rhythm for the homepage sections below the pet directory. */
.action-section .narrow-container,
.adopted-section .narrow-container,
.care-preview .narrow-container,
.brand-story .narrow-container,
.quote-strip .narrow-container {
  width: min(calc(100% - 28px), 1160px);
  max-width: 1160px;
}

.action-section,
.adopted-section,
.care-preview {
  padding-block: clamp(4.8rem, 7vw, 6.8rem);
}

.center-head {
  max-width: 900px;
}

.action-section .center-head h2,
.adopted-section .center-head h2,
.brand-story .center-head h2 {
  font-size: clamp(2.35rem, 3.8vw, 4rem);
  line-height: 1;
}

/* Support pathways: substantial, readable cards that match the site's system. */
.action-icon-grid {
  gap: 1rem;
  margin-top: 2.6rem;
}

.action-icon-grid a {
  min-height: 190px;
  justify-content: flex-start;
  padding: 1.55rem 1.25rem;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--white);
}

.action-icon-grid a > span {
  width: 64px;
  height: 64px;
  margin-bottom: .35rem;
}

.action-icon-grid strong {
  font-size: 1rem;
}

.action-icon-grid small {
  max-width: 190px;
  font-size: .75rem;
  line-height: 1.45;
}

.center-action {
  margin-top: 2rem;
  text-align: center;
}


/* Quotes keep the same visual language but now scale with the wider sections. */
.quote-strip {
  padding-block: clamp(2.4rem, 4vw, 3.4rem);
}

.quote-strip blockquote {
  max-width: 900px;
  font-size: clamp(1.45rem, 2.45vw, 2.25rem);
  line-height: 1.2;
}

/* Successful matches: larger photography and card typography. */
.adopted-section {
  padding-top: clamp(5rem, 7vw, 6.8rem);
}

.adopted-badge {
  margin-top: -7.6rem;
  margin-bottom: 1.6rem;
}

.success-grid {
  gap: 1.1rem;
  margin-top: 2.5rem;
}

.success-grid article {
  border-radius: 12px;
  box-shadow: 0 10px 26px rgba(66, 38, 20, .06);
}

.success-grid img {
  aspect-ratio: 4 / 3.25;
}

.success-grid article > span,
.success-grid h3,
.success-grid p {
  margin-right: 1rem;
  margin-left: 1rem;
}

.success-grid article > span {
  margin-top: .9rem;
  font-size: .65rem;
  letter-spacing: .04em;
}

.success-grid h3 {
  margin-top: .35rem;
  font-size: 1.25rem;
}

.success-grid p {
  margin-top: .3rem;
  margin-bottom: 1rem;
  font-size: .75rem;
  line-height: 1.45;
}

/* Pet-care preview: balanced two-column composition with larger article rows. */
.care-preview-grid {
  grid-template-columns: minmax(0, .86fr) minmax(0, 1.14fr);
  gap: clamp(3rem, 6vw, 5.5rem);
}

.care-preview h2 {
  max-width: 500px;
  font-size: clamp(2.65rem, 4.25vw, 4.4rem);
}

.care-preview .lede {
  max-width: 480px;
  line-height: 1.7;
}

.article-list {
  border-top: 0;
}

.article-list a {
  grid-template-columns: 150px minmax(0, 1fr);
  min-height: 118px;
  gap: 1.25rem;
  padding: .9rem;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--white);
}

.article-list a + a {
  margin-top: .8rem;
}

.article-list img {
  width: 150px;
  height: 96px;
  border-radius: 7px;
}

.article-list strong {
  font-size: 1rem;
  line-height: 1.35;
}

.article-list small {
  margin-top: .45rem;
  font-size: .72rem;
}

/* Research-led brand story: wider and visually grounded before the footer. */
.brand-story {
  padding-block: clamp(4.8rem, 7vw, 6.5rem);
}

.brand-story-card {
  max-width: 920px;
  margin-top: 2.5rem;
  padding: clamp(2rem, 4vw, 3.1rem);
  border: 1px solid rgba(94, 198, 154, .28);
  border-radius: 12px;
}

.brand-story-card p {
  font-size: clamp(1rem, 1.4vw, 1.18rem);
  line-height: 1.8;
}

.brand-story-card a {
  margin-top: 1.25rem;
  font-size: .84rem;
}

/* Footer sizing now matches the wider canvas used throughout the site. */
.footer-vision {
  padding-block: 2.6rem;
}

.footer-vision strong {
  font-size: clamp(1.25rem, 2vw, 1.65rem);
}

.footer-grid {
  grid-template-columns: minmax(260px, 1.35fr) repeat(2, minmax(130px, .62fr)) minmax(230px, .9fr);
  gap: clamp(2rem, 4vw, 4rem);
  padding-block: clamp(3.5rem, 6vw, 5rem);
}

.footer-brand p {
  font-size: .86rem;
  line-height: 1.65;
}

.footer-col a,
.footer-col p {
  font-size: .8rem;
  line-height: 1.55;
}

.footer-bottom {
  padding-block: 1.2rem 1.7rem;
}

.footer-bottom p {
  font-size: .67rem;
  line-height: 1.55;
}

/* Inner pages use the same spacing, typography, cards, and width hierarchy. */
.page-hero {
  padding-block: clamp(4.8rem, 7vw, 6.8rem);
}

.page-hero-inner {
  grid-template-columns: minmax(0, 1.18fr) minmax(300px, .72fr);
  gap: clamp(3rem, 7vw, 6rem);
}

.page-hero h1 {
  max-width: 850px;
  font-size: clamp(3.45rem, 5.5vw, 5.9rem);
  line-height: .96;
}

.page-hero .lede {
  max-width: 500px;
  font-size: 1.05rem;
  line-height: 1.7;
}

.section-head {
  grid-template-columns: minmax(0, 1.05fr) minmax(300px, .72fr);
  gap: clamp(2.5rem, 6vw, 5rem);
}

.section-head h2,
.impact-head h2,
.context-title h2 {
  font-size: clamp(2.6rem, 4.2vw, 4.35rem);
}

.filters-panel {
  gap: .85rem;
  padding: 1.15rem;
  border-radius: 12px;
}

.pet-grid,
.story-grid,
.role-grid,
.guide-grid,
.support-grid {
  gap: 1.15rem;
}

.pet-grid {
  margin-top: 2.4rem;
}

.pet-card,
.story-card,
.role-card,
.guide-card,
.side-card,
.form-card {
  border-radius: 12px;
}

.pet-grid .pet-card-body {
  padding: 1.3rem 1.25rem 1.45rem;
}

.pet-grid .pet-topline h3 {
  font-size: 1.6rem;
}

.pet-grid .pet-meta,
.pet-grid .pet-superpower {
  line-height: 1.55;
}

.steps,
.journey-grid {
  overflow: hidden;
  margin-top: 2.7rem;
  border-radius: 12px;
}

.step,
.journey-grid article {
  min-height: 280px;
  padding: clamp(1.7rem, 3vw, 2.4rem);
}

.step h3,
.journey-grid h3 {
  font-size: 1.55rem;
  line-height: 1.15;
}

.split-story {
  grid-template-columns: minmax(0, 1.02fr) minmax(0, .98fr);
  gap: clamp(3rem, 7vw, 6rem);
}

.story-photo {
  min-height: 560px;
  border-radius: 12px;
}

.story-copy h2 {
  font-size: clamp(2.65rem, 4.1vw, 4.2rem);
}

.story-list li {
  padding: 1.15rem 0;
}

.story-grid {
  margin-top: 2.5rem;
}

.story-card {
  min-height: 330px;
}

.story-card div {
  padding: 1.65rem;
}

.role-grid,
.guide-grid {
  margin-top: 2.7rem;
}

.role-card,
.guide-card {
  min-height: 250px;
  padding: 1.65rem;
}

.support-card {
  min-height: 410px;
}

.profile-grid {
  grid-template-columns: minmax(0, 1.02fr) minmax(0, .98fr);
  gap: clamp(3rem, 7vw, 6rem);
}

.profile-photo {
  height: min(620px, 70vw);
  border-radius: 12px;
}

.profile-content {
  grid-template-columns: minmax(0, 1.1fr) minmax(290px, .65fr);
  gap: clamp(3rem, 7vw, 6rem);
}

.contact-grid {
  grid-template-columns: minmax(280px, .7fr) minmax(0, 1.3fr);
  gap: clamp(2.5rem, 6vw, 5rem);
}

.contact-aside,
.form-card {
  border-radius: 12px;
}

.form-card {
  padding: clamp(1.6rem, 3.5vw, 2.7rem);
}

.form-card h3 {
  font-size: clamp(1.8rem, 3vw, 2.45rem);
}

/* Tablet scaling. */
@media (max-width: 1050px) {
  .action-section .narrow-container,
  .adopted-section .narrow-container,
  .care-preview .narrow-container,
  .brand-story .narrow-container,
  .quote-strip .narrow-container {
    width: min(calc(100% - 28px), 980px);
  }

  .action-icon-grid,
  .success-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .page-hero-inner,
  .section-head {
    grid-template-columns: minmax(0, 1.05fr) minmax(280px, .75fr);
    gap: 2.6rem;
  }

  .footer-grid {
    grid-template-columns: 1.15fr repeat(3, .72fr);
    gap: 2rem;
  }
}

@media (max-width: 860px) {
  .action-section .narrow-container,
  .adopted-section .narrow-container,
  .care-preview .narrow-container,
  .brand-story .narrow-container,
  .quote-strip .narrow-container {
    width: min(calc(100% - 24px), 760px);
  }

  .action-section,
  .adopted-section,
  .care-preview {
    padding-block: 4.6rem;
  }

  .care-preview-grid,
  .page-hero-inner,
  .section-head,
  .split-story,
  .profile-grid,
  .profile-content,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .care-preview-grid,
  .split-story,
  .profile-grid,
  .profile-content,
  .contact-grid {
    gap: 2.6rem;
  }

  .page-hero .lede,
  .section-head .lede {
    max-width: 680px;
  }

  .story-photo {
    min-height: 470px;
  }

  .profile-photo {
    height: 520px;
  }

  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-brand {
    grid-column: 1 / -1;
  }
}

/* Mobile scaling. */
@media (max-width: 580px) {
  .action-section .narrow-container,
  .adopted-section .narrow-container,
  .care-preview .narrow-container,
  .brand-story .narrow-container,
  .quote-strip .narrow-container {
    width: min(calc(100% - 20px), 100%);
  }

  .action-section,
  .adopted-section,
  .care-preview {
    padding-block: 4rem;
  }

  .action-section .center-head h2,
  .adopted-section .center-head h2,
  .brand-story .center-head h2 {
    font-size: clamp(2rem, 10.5vw, 2.75rem);
  }

  .action-icon-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: .7rem;
    margin-top: 2rem;
  }

  .action-icon-grid a {
    min-height: 160px;
    padding: 1.15rem .75rem;
  }

  .action-icon-grid a > span {
    width: 54px;
    height: 54px;
  }

  .action-icon-grid strong {
    font-size: .92rem;
  }

  .action-icon-grid small {
    font-size: .68rem;
  }

  .quote-strip blockquote {
    font-size: clamp(1.15rem, 5.5vw, 1.45rem);
  }

  .adopted-badge {
    width: 68px;
    height: 68px;
    margin-top: -6.2rem;
  }

  .success-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: .7rem;
    margin-top: 2rem;
  }

  .success-grid article > span,
  .success-grid h3,
  .success-grid p {
    margin-right: .75rem;
    margin-left: .75rem;
  }

  .success-grid article > span {
    margin-top: .7rem;
    font-size: .55rem;
  }

  .success-grid h3 {
    font-size: 1rem;
  }

  .success-grid p {
    margin-bottom: .75rem;
    font-size: .63rem;
  }

  .care-preview h2 {
    font-size: clamp(2.35rem, 11vw, 3.1rem);
  }

  .article-list a {
    grid-template-columns: 96px minmax(0, 1fr);
    min-height: 96px;
    gap: .85rem;
    padding: .7rem;
  }

  .article-list img {
    width: 96px;
    height: 78px;
  }

  .article-list strong {
    font-size: .84rem;
  }

  .article-list small {
    font-size: .64rem;
  }

  .brand-story {
    padding-block: 4.2rem;
  }

  .brand-story-card {
    margin-top: 1.8rem;
    padding: 1.4rem;
  }

  .brand-story-card p {
    font-size: .94rem;
    line-height: 1.7;
  }

  .page-hero {
    padding-block: 4rem;
  }

  .page-hero h1 {
    font-size: clamp(2.65rem, 13vw, 3.8rem);
    overflow-wrap: anywhere;
  }

  .page-hero .lede {
    font-size: .94rem;
  }

  .section-head h2,
  .impact-head h2,
  .context-title h2,
  .story-copy h2 {
    font-size: clamp(2.25rem, 10.5vw, 3rem);
  }

  .filters-panel {
    padding: .85rem;
  }

  .step,
  .journey-grid article {
    min-height: 0;
    padding: 1.5rem;
  }

  .story-photo {
    min-height: 360px;
  }

  .story-card {
    min-height: 0;
  }

  .role-card,
  .guide-card {
    min-height: 0;
    padding: 1.4rem;
  }

  .support-card {
    min-height: 0;
  }

  .profile-photo {
    height: 390px;
  }

  .contact-aside,
  .form-card {
    padding: 1.35rem;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    padding-block: 3.2rem;
  }

  .footer-brand {
    grid-column: auto;
  }
}
