/* ── Cane Corso Rescue — public site ─────────────────────────────────────────
   Light + dark themes. The theme follows the visitor's system setting unless
   they pick one with the header toggle (stored as data-theme on <html>).
   --theme / --theme-text come from Dash → Settings → Accent Color.            */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --theme: #a8322d;
  --theme-text: #ffffff;
  --grid-cols: 4;
  --grid-cols-mobile: 2;

  /* light */
  --bg: #f8f5f0;
  --bg-alt: #efe9e0;
  --surface: #ffffff;
  --text: #1f1b18;
  --text-muted: #6a6159;
  --border: #e2dace;
  --link: color-mix(in srgb, var(--theme) 88%, black);
  --shadow: 0 1px 2px rgba(31,27,24,.06), 0 6px 20px rgba(31,27,24,.07);
  --urgent: #b42318;
  --urgent-bg: #fdecea;

  /* the header and footer stay dark in both themes (the logo is white) */
  /* --secondary comes from Dash → Settings → Header & Footer Color. The text
     colors below are swapped for dark ones there when a light color is chosen. */
  --ink: var(--secondary, #171412);
  --ink-2: color-mix(in srgb, var(--ink) 93%, var(--ink-strong));
  --ink-text: #f3ede4;
  --ink-strong: #ffffff;
  --ink-muted: #a89e92;
  --ink-border: rgba(255,255,255,.1);
  --ink-hover: rgba(255,255,255,.09);
  --ink-outline: rgba(255,255,255,.35);

  --radius: 12px;
  --radius-sm: 7px;
  --container: 1200px;
  --font: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  --font-display: 'Iowan Old Style', 'Palatino Linotype', Palatino, 'Book Antiqua', Georgia, serif;
  color-scheme: light;
}

:root[data-theme="dark"] {
  --bg: #131110;
  --bg-alt: #1a1715;
  --surface: #1f1c19;
  --text: #f1ebe2;
  --text-muted: #a69c90;
  --border: #35302b;
  --link: color-mix(in srgb, var(--theme) 55%, white);
  --shadow: 0 1px 2px rgba(0,0,0,.4), 0 8px 24px rgba(0,0,0,.35);
  --urgent: #ff8a7a;
  --urgent-bg: #3a1a16;
  --ink: var(--secondary, #0d0c0b);
  color-scheme: dark;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme]) {
    --bg: #131110;
    --bg-alt: #1a1715;
    --surface: #1f1c19;
    --text: #f1ebe2;
    --text-muted: #a69c90;
    --border: #35302b;
    --link: color-mix(in srgb, var(--theme) 55%, white);
    --shadow: 0 1px 2px rgba(0,0,0,.4), 0 8px 24px rgba(0,0,0,.35);
    --urgent: #ff8a7a;
    --urgent-bg: #3a1a16;
    --ink: var(--secondary, #0d0c0b);
    color-scheme: dark;
  }
}

html { font-size: 16px; -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  font-family: var(--font); background: var(--bg); color: var(--text);
  line-height: 1.6; min-height: 100vh; display: flex; flex-direction: column;
}
img { max-width: 100%; display: block; }
a { color: var(--link); }
h1, h2, h3 { font-family: var(--font-display); font-weight: 700; line-height: 1.15; letter-spacing: -.01em; text-wrap: balance; }
h1 { font-size: clamp(2rem, 4.5vw, 3rem); }
h2 { font-size: clamp(1.5rem, 3vw, 2rem); }
:focus-visible { outline: 3px solid color-mix(in srgb, var(--theme) 70%, white); outline-offset: 2px; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 1.25rem; }
.container.narrow { max-width: 780px; }
.site-main { flex: 1; padding-bottom: 4rem; }
.skip-link { position: absolute; left: -9999px; top: 0; background: var(--theme); color: var(--theme-text); padding: .6rem 1rem; z-index: 200; }
.skip-link:focus { left: 0; }

.admin-bar {
  background: color-mix(in srgb, var(--ink) 88%, var(--ink-strong)); color: var(--ink-text); font-size: .8rem; padding: .4rem 1.25rem;
  display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap;
}
.admin-bar a { color: var(--ink-strong); }

/* ── Buttons ─────────────────────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .4rem;
  padding: .7rem 1.25rem; border-radius: 999px; border: 2px solid transparent;
  font: inherit; font-weight: 650; font-size: .95rem; line-height: 1.2;
  text-decoration: none; cursor: pointer; transition: transform .12s, background .15s, border-color .15s, color .15s;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--theme); color: var(--theme-text); border-color: var(--theme); }
.btn-primary:hover { background: color-mix(in srgb, var(--theme) 86%, black); border-color: color-mix(in srgb, var(--theme) 86%, black); }
.btn-outline { background: transparent; color: var(--text); border-color: var(--border); }
.btn-outline:hover { border-color: var(--text-muted); }
.btn-ghost { background: transparent; color: var(--ink-text); border-color: var(--ink-outline); }
.btn-ghost:hover { border-color: var(--ink-strong); color: var(--ink-strong); }
.btn-light { background: var(--ink-strong); color: var(--ink); border-color: var(--ink-strong); }
.btn-sm { padding: .45rem .95rem; font-size: .85rem; }
.btn-lg { padding: .9rem 1.6rem; font-size: 1.02rem; }
.btn-block { display: flex; width: 100%; }
.btn-row { display: flex; flex-wrap: wrap; gap: .75rem; }

/* ── Header ──────────────────────────────────────────────────────────────── */
.announcement { font-size: .9rem; font-weight: 550; line-height: 1.4; }
.announcement-inner { display: flex; align-items: center; gap: .75rem; padding-top: .2rem; padding-bottom: .2rem; }
.announcement p { flex: 1; margin: 0; text-align: center; overflow-wrap: anywhere; }
.announcement a { color: inherit; text-decoration: underline; }
.announcement-close { flex: none; width: 1.6rem; height: 1.6rem; border: 0; border-radius: 50%; background: transparent; color: inherit; font-size: 1.25rem; line-height: 1; cursor: pointer; opacity: .8; }
.announcement-close:hover, .announcement-close:focus-visible { opacity: 1; background: rgba(127,127,127,.25); }
.site-header { background: var(--ink); color: var(--ink-text); position: sticky; top: 0; z-index: 100; border-bottom: 1px solid var(--ink-border); }
.header-inner { display: flex; align-items: center; gap: 1rem; min-height: 68px; }
.site-brand { display: flex; align-items: center; text-decoration: none; color: var(--ink-strong); margin-right: auto; }
.site-logo { height: 46px; width: auto; }
.site-name { font-family: var(--font-display); font-size: 1.25rem; font-weight: 700; letter-spacing: .01em; }
.site-nav { display: flex; align-items: center; gap: .15rem; }
.nav-link {
  display: inline-flex; align-items: center; gap: .3rem; padding: .5rem .8rem; border-radius: var(--radius-sm);
  color: var(--ink-text); text-decoration: none; font: inherit; font-size: .93rem; font-weight: 550;
  background: none; border: 0; cursor: pointer; white-space: nowrap;
}
.nav-link:hover, .nav-link.active { background: var(--ink-hover); color: var(--ink-strong); }
.caret { font-size: .7em; opacity: .7; }
.nav-dropdown { position: relative; }
.dropdown-menu {
  display: none; position: absolute; top: calc(100% + .35rem); left: 0; min-width: 240px;
  background: var(--ink-2); border: 1px solid var(--ink-border); border-radius: var(--radius);
  padding: .4rem; box-shadow: 0 12px 32px rgba(0,0,0,.35);
}
.nav-dropdown.open .dropdown-menu { display: block; }
.dropdown-item { display: block; padding: .5rem .75rem; border-radius: var(--radius-sm); color: var(--ink-text); text-decoration: none; font-size: .9rem; }
.dropdown-item:hover { background: var(--ink-hover); color: var(--ink-strong); }
.dropdown-item-all { font-weight: 650; }
.dropdown-divider { height: 1px; background: var(--ink-border); margin: .35rem .25rem; }
.nav-cta { display: flex; gap: .5rem; margin-left: .75rem; }
.theme-toggle, .nav-hamburger {
  display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px;
  background: none; border: 1px solid var(--ink-border); border-radius: 50%; color: var(--ink-text); cursor: pointer; flex-shrink: 0;
}
.theme-toggle:hover, .nav-hamburger:hover { background: var(--ink-hover); }
.theme-toggle svg { width: 18px; height: 18px; }
.icon-sun { display: none; }
:root[data-theme="dark"] .icon-sun { display: block; }
:root[data-theme="dark"] .icon-moon { display: none; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme]) .icon-sun { display: block; }
  :root:not([data-theme]) .icon-moon { display: none; }
}
.nav-hamburger { display: none; font-size: 1.2rem; }

/* ── Hero ────────────────────────────────────────────────────────────────── */
.hero { position: relative; background: var(--ink); color: var(--ink-text); overflow: hidden; isolation: isolate; }
.hero::after {
  content: ''; position: absolute; inset: 0; z-index: -1;
  background: radial-gradient(120% 90% at 85% 10%, color-mix(in srgb, var(--theme) 45%, transparent), transparent 60%);
}
.hero-image { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
/* Over a photo there is always a dark overlay, so the text stays light there
   whatever the header & footer color is. */
.hero-has-image, .cms-page-head.has-image {
  --ink: #171412; --ink-text: #f3ede4; --ink-strong: #ffffff; --ink-muted: #d9cdbd;
  --ink-outline: rgba(255,255,255,.35); --ink-hover: rgba(255,255,255,.09);
}
.hero-has-image::after { background: linear-gradient(90deg, rgba(13,12,11,.88) 0%, rgba(13,12,11,.62) 55%, rgba(13,12,11,.3) 100%); }
.hero-inner { padding-top: clamp(3.5rem, 9vw, 7rem); padding-bottom: clamp(3.5rem, 9vw, 7rem); }
.hero h1 { font-size: clamp(2.3rem, 6vw, 4.2rem); max-width: 16ch; color: var(--ink-strong); }
.hero-text { font-size: clamp(1.05rem, 1.6vw, 1.25rem); max-width: 52ch; margin: 1.1rem 0 1.9rem; color: var(--ink-text); }
.eyebrow { font-size: .78rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--text-muted); margin-bottom: .6rem; }
.hero .eyebrow { color: var(--ink-muted); }
.eyebrow-urgent { color: var(--urgent); }

/* ── Sections ────────────────────────────────────────────────────────────── */
.section { padding: clamp(2.5rem, 6vw, 4.5rem) 0 0; }
.section-alt { background: var(--bg-alt); padding-bottom: clamp(2.5rem, 6vw, 4.5rem); margin-top: clamp(2.5rem, 6vw, 4.5rem); }
.section-urgent { background: var(--urgent-bg); padding-bottom: clamp(2rem, 5vw, 3.5rem); }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 1rem; flex-wrap: wrap; margin-bottom: 1.5rem; }
.section-link { font-weight: 650; text-decoration: none; white-space: nowrap; }
.section-link:hover { text-decoration: underline; }
.empty-state { padding: 2.5rem 1rem; text-align: center; color: var(--text-muted); background: var(--surface); border: 1px dashed var(--border); border-radius: var(--radius); }

/* ── Dog grid + cards ────────────────────────────────────────────────────── */
.dog-grid { display: grid; grid-template-columns: repeat(var(--grid-cols), minmax(0, 1fr)); gap: 1.25rem; }
.dog-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; transition: transform .18s, box-shadow .18s; }
.dog-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.dog-card-link { display: block; color: inherit; text-decoration: none; height: 100%; }
.dog-card-photo { position: relative; aspect-ratio: 4 / 5; background: var(--bg-alt); overflow: hidden; }
.dog-card-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.dog-card:hover .dog-card-photo img { transform: scale(1.04); }
.dog-card-nophoto { display: flex; align-items: center; justify-content: center; height: 100%; color: var(--text-muted); font-size: .85rem; }
.dog-card-badges { position: absolute; left: .6rem; top: .6rem; right: .6rem; display: flex; flex-wrap: wrap; gap: .35rem; }
.dog-card-body { padding: .9rem 1rem 1.05rem; }
.dog-card-name { font-size: 1.3rem; }
.dog-card-meta { color: var(--text-muted); font-size: .88rem; margin-top: .15rem; }

.pill { display: inline-block; padding: .22rem .6rem; border-radius: 999px; font-size: .72rem; font-weight: 700; letter-spacing: .03em; text-transform: uppercase; line-height: 1.3; }
.pill-status { background: var(--pill, var(--ink)); color: var(--pill-text, var(--ink-strong)); }
.pill-urgent { background: #b42318; color: #fff; }

.trait-list { list-style: none; display: flex; flex-wrap: wrap; gap: .4rem; }
.trait-list li, .trait-list a {
  display: inline-block; font-size: .85rem; font-weight: 550; color: var(--text); text-decoration: none;
  background: var(--bg-alt); border: 1px solid var(--border); border-radius: 999px;
}
.trait-list li { padding: .25rem .7rem; }
.trait-list li:has(a) { padding: 0; border: 0; background: none; }
.trait-list a { padding: .25rem .7rem; }
.trait-list a:hover { border-color: var(--theme); }
.trait-list-sm { margin-top: .6rem; }
.trait-list-sm li { font-size: .72rem; padding: .12rem .5rem; }

/* ── Listing page ────────────────────────────────────────────────────────── */
.page-head { display: flex; align-items: center; justify-content: space-between; gap: 1rem 2rem; flex-wrap: wrap; padding: clamp(2rem, 5vw, 3.25rem) 0 1.25rem; }
.dog-search { display: flex; gap: .5rem; flex: 0 1 380px; }
.dog-search input {
  flex: 1; min-width: 0; padding: .55rem .95rem; font: inherit; font-size: .92rem; color: var(--text);
  background: var(--surface); border: 1px solid var(--border); border-radius: 999px;
}
.listing-intro { max-width: 780px; margin-bottom: 1.5rem; }
.filter-tabs { display: flex; gap: .45rem; overflow-x: auto; padding-bottom: .5rem; margin-bottom: .75rem; scrollbar-width: thin; }
.filter-tab {
  flex-shrink: 0; padding: .45rem .95rem; border-radius: 999px; border: 1px solid var(--border); background: var(--surface);
  color: var(--text); text-decoration: none; font-size: .88rem; font-weight: 600;
}
.filter-tab:hover { border-color: var(--text-muted); }
.filter-tab.active { background: var(--theme); border-color: var(--theme); color: var(--theme-text); }
.result-count { color: var(--text-muted); font-size: .88rem; margin-bottom: 1.1rem; }
.pagination { display: flex; flex-wrap: wrap; justify-content: center; gap: .4rem; margin-top: 2.5rem; }
.page-btn { min-width: 2.5rem; padding: .5rem .85rem; text-align: center; border: 1px solid var(--border); border-radius: var(--radius-sm); background: var(--surface); color: var(--text); text-decoration: none; font-weight: 600; font-size: .9rem; }
.page-btn:hover { border-color: var(--text-muted); }
.page-btn.active { background: var(--theme); border-color: var(--theme); color: var(--theme-text); }
.page-gap { padding: .5rem .25rem; color: var(--text-muted); }

/* ── Dog detail ──────────────────────────────────────────────────────────── */
.breadcrumb { padding: 1.5rem 0 1rem; font-size: .88rem; color: var(--text-muted); }
.breadcrumb a { text-decoration: none; font-weight: 600; }
.dog-detail { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 2rem 3rem; align-items: start; }
.gallery-main { border-radius: var(--radius); overflow: hidden; background: var(--bg-alt); border: 1px solid var(--border); }
.gallery-main img { width: 100%; max-height: 78vh; object-fit: contain; background: var(--bg-alt); }
.gallery-empty { aspect-ratio: 4 / 3; display: flex; align-items: center; justify-content: center; color: var(--text-muted); }
.gallery-thumbs { display: grid; grid-template-columns: repeat(auto-fill, minmax(72px, 1fr)); gap: .5rem; margin-top: .6rem; }
.gallery-thumb { padding: 0; border: 2px solid transparent; border-radius: var(--radius-sm); overflow: hidden; cursor: pointer; background: var(--bg-alt); aspect-ratio: 1; opacity: .75; }
.gallery-thumb img { width: 100%; height: 100%; object-fit: cover; }
.gallery-thumb:hover { opacity: 1; }
.gallery-thumb.active { border-color: var(--theme); opacity: 1; }
.dog-gallery { grid-column: 1; grid-row: 1; }
.dog-info { grid-column: 2; grid-row: 1 / span 2; position: sticky; top: 92px; }
.dog-badges { display: flex; flex-wrap: wrap; gap: .4rem; margin-bottom: .75rem; }
.dog-info h1 { font-size: clamp(2.4rem, 5vw, 3.4rem); margin-bottom: 1.25rem; }
.dog-facts { display: flex; flex-wrap: wrap; gap: 1px; background: var(--border); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; margin-bottom: 1.25rem; }
.dog-facts > div { flex: 1 1 130px; background: var(--surface); padding: .7rem .9rem; }
.dog-facts dt { font-size: .7rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--text-muted); }
.dog-facts dd { font-weight: 600; }
.dog-info .trait-list { margin-bottom: 1.5rem; }
.dog-description { grid-column: 1; grid-row: 2; min-width: 0; padding-top: 1rem; }
.related { border-top: 1px solid var(--border); margin-top: 3rem; }

/* ── CMS pages + prose ───────────────────────────────────────────────────── */
.cms-page-head { padding: clamp(2.5rem, 6vw, 4rem) 0 1.5rem; }
.cms-page-head.has-image { position: relative; background: var(--ink); color: #fff; padding: clamp(1.75rem, 4vw, 2.75rem) 0; margin-bottom: 2rem; isolation: isolate; overflow: hidden; }
.cms-page-head.has-gradient { padding: clamp(1.75rem, 4vw, 2.75rem) 0; margin-bottom: 2rem; }
.cms-page-image { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.cms-page-head.has-image::after { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg, rgba(13,12,11,.7), rgba(13,12,11,.45)); }
.prose { font-size: 1.05rem; overflow-wrap: break-word; }
.prose > * + * { margin-top: 1.1em; }
.prose h1, .prose h2, .prose h3, .prose h4 { margin-top: 1.8em; }
.prose > :first-child { margin-top: 0; }
.prose h3 { font-size: 1.3rem; }
.prose h4 { font-size: 1.05rem; }
.prose ul, .prose ol { padding-left: 1.4em; }
.prose li + li { margin-top: .35em; }
.prose blockquote { border-left: 4px solid var(--theme); padding: .4rem 0 .4rem 1.1rem; color: var(--text-muted); font-style: italic; }
.prose hr { border: 0; border-top: 1px solid var(--border); margin: 2em 0; }
.prose img, .prose .md-img { border-radius: var(--radius); height: auto; }
.prose iframe { max-width: 100%; border: 0; }
.prose code { background: var(--bg-alt); padding: .1em .35em; border-radius: 4px; font-size: .9em; }
.text-center { text-align: center; }
.text-right { text-align: right; }
.text-center .cta-button { margin-left: .3rem; margin-right: .3rem; }
.text-right .cta-button { margin-left: .6rem; margin-right: 0; }
.prose .cta-button { margin: .35rem .6rem .35rem 0; }
.prose pre { background: var(--bg-alt); padding: 1rem; border-radius: var(--radius-sm); overflow-x: auto; }
.prose table { width: 100%; border-collapse: collapse; }
.prose th, .prose td { border: 1px solid var(--border); padding: .5rem .7rem; text-align: left; }
.page-404 { padding: clamp(3rem, 10vw, 7rem) 1.25rem; text-align: center; }
.page-404 p { margin: 1rem 0; color: var(--text-muted); }
.page-404 .btn-row { justify-content: center; }

/* ── Footer ──────────────────────────────────────────────────────────────── */
.site-footer { background: var(--ink); color: var(--ink-muted); font-size: .92rem; padding-top: 3rem; }
.site-footer a { color: var(--ink-text); text-decoration: none; }
.site-footer a:hover { text-decoration: underline; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 2rem 3rem; padding-bottom: 2.5rem; }
.footer-connect { display: grid; gap: 1.5rem; align-content: start; }
.footer-connect p + p, .footer-connect address { margin-top: .3rem; }
.footer-title { font-family: var(--font-display); font-size: 1.3rem; font-weight: 700; color: var(--ink-strong); }
.footer-tagline { margin-top: .4rem; max-width: 36ch; }
.footer-small { margin-top: .8rem; font-size: .82rem; }
.footer-heading { font-size: .72rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-muted); margin-bottom: .7rem; }
.footer-col p + p, .footer-col address { margin-top: .3rem; }
.footer-col address { font-style: normal; }
.footer-links { list-style: none; display: grid; gap: .35rem; }
.footer-icons { display: flex; flex-wrap: wrap; gap: .5rem; }
.footer-icon-link { display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; border: 1px solid var(--ink-border); border-radius: 50%; }
.footer-icon-link:hover { background: var(--ink-hover); }
.footer-icon-text { width: auto; padding: 0 .9rem; border-radius: 999px; font-size: .82rem; }
.link-icon { width: 18px; height: 18px; }
.footer-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: .5rem 1.5rem; padding-top: 1.1rem; padding-bottom: 1.4rem; border-top: 1px solid var(--ink-border); font-size: .82rem; }

/* ── Responsive ──────────────────────────────────────────────────────────── */
@media (max-width: 1100px) {
  .dog-grid { grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); }
}
@media (max-width: 980px) {
  .nav-hamburger { display: inline-flex; }
  .site-nav {
    display: none; position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; align-items: stretch;
    background: var(--ink); border-bottom: 1px solid var(--ink-border); padding: .75rem 1.25rem 1.25rem; gap: .15rem;
    max-height: calc(100vh - 68px); overflow-y: auto;
  }
  .site-nav.open { display: flex; }
  .nav-link { width: 100%; justify-content: space-between; padding: .7rem .8rem; font-size: 1rem; }
  .dropdown-menu { position: static; box-shadow: none; border: 0; background: rgba(255,255,255,.04); margin: .15rem 0 .35rem; }
  .nav-cta { margin: .75rem 0 0; flex-direction: column; }
  .nav-cta .btn { width: 100%; padding: .7rem 1rem; font-size: .95rem; }
  .dog-detail { grid-template-columns: 1fr; }
  .dog-gallery, .dog-info, .dog-description { grid-column: auto; grid-row: auto; }
  .dog-info { position: static; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-about { grid-column: 1 / -1; }
}
@media (max-width: 640px) {
  .dog-grid { grid-template-columns: repeat(var(--grid-cols-mobile), minmax(0, 1fr)); gap: .75rem; }
  .dog-card-body { padding: .7rem .75rem .85rem; }
  .dog-card-name { font-size: 1.1rem; }
  .dog-search { flex-basis: 100%; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-about { grid-column: auto; }
  .hero .btn { flex: 1 1 100%; }
}
@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; scroll-behavior: auto !important; }
}
