:root {
  --navy: #123a6b; --navy-dk: #0b2547; --red: #d42a35; --ink: #1b2430; --muted: #5a6573;
  --bg: #ffffff; --alt: #f3f6fa; --line: #dfe5ec; --radius: 14px;
  --font: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; font: 17px/1.6 var(--font); color: var(--ink); background: var(--bg); }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--navy); }
a:hover { color: var(--red); }
h1, h2, h3 { line-height: 1.2; color: var(--navy-dk); }
h1 { font-size: clamp(1.8rem, 4vw, 2.6rem); margin: 0 0 .5em; }
h2 { font-size: clamp(1.35rem, 2.6vw, 1.8rem); margin: 1.6em 0 .5em; }
h3 { font-size: 1.1rem; margin: .5em 0 .2em; }
.wrap { max-width: 1180px; margin: 0 auto; padding: 0 16px; }
.narrow { max-width: 760px; }
.wrap.narrow { margin: 0 auto; }
.section { padding: 40px 0; }
.wrap.section { padding: 40px 16px; }
.alt { background: var(--alt); }
.center { text-align: center; }
.lead { font-size: 1.15rem; color: var(--muted); }
.note { background: #fff7e6; border-left: 4px solid #f0a020; padding: 10px 14px; border-radius: 6px; }
.skip, .hp { position: absolute; left: -999px; }
.form-error { background: #fdecec; border-left: 4px solid var(--red); padding: 10px 14px; border-radius: 6px; }
.skip:focus { left: 16px; top: 8px; background: #fff; padding: 8px; z-index: 10; }
mark.tbd { background: #ffe14d; color: #000; padding: 0 4px; border-radius: 4px; font-size: .9em; }

/* header */
.site-header { border-bottom: 1px solid var(--line); background: #fff; position: sticky; top: 0; z-index: 5; }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 72px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 800; color: var(--navy-dk); font-size: 1.2rem; }
.brand img { width: 56px; height: 56px; }
nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 18px; align-items: center; }
nav a { text-decoration: none; font-weight: 600; }
.nav-toggle, .nav-btn { display: none; }
@media (max-width: 1060px) {
  .nav-btn { display: inline-block; padding: 8px 14px; border: 2px solid var(--navy); border-radius: 999px; font-weight: 700; cursor: pointer; color: var(--navy); }
  nav ul { display: none; position: absolute; left: 0; right: 0; top: 72px; background: #fff; flex-direction: column; align-items: stretch; padding: 8px 16px 16px; border-bottom: 1px solid var(--line); gap: 0; }
  nav ul li a { display: block; padding: 12px 0; }
  .nav-toggle:checked ~ ul { display: flex; }
}

/* breadcrumbs */
.crumbs ol { list-style: none; padding: 12px 0 0; margin: 0; display: flex; flex-wrap: wrap; gap: 6px; font-size: .9rem; color: var(--muted); }
.crumbs li + li::before { content: "›"; margin-right: 6px; }

/* buttons */
.btn { display: inline-block; background: var(--red); color: #fff; text-decoration: none; font-weight: 700; padding: 12px 22px; border-radius: 999px; border: 0; cursor: pointer; font-size: 1rem; }
.btn:hover { background: #b41f29; color: #fff; }
.btn-ghost { background: transparent; color: var(--navy); border: 2px solid var(--navy); }
.btn-ghost:hover { background: var(--navy); color: #fff; }
.btn-sm { padding: 8px 16px; color: #fff; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 20px; }

/* hero */
.hero { background: linear-gradient(135deg, #eaf0f8, #fff); }
.hero-inner { display: grid; grid-template-columns: 1.1fr .9fr; gap: 32px; align-items: center; padding: 40px 16px; }
.hero-media img { border-radius: var(--radius); aspect-ratio: 4/5; object-fit: cover; width: 100%; }
@media (max-width: 860px) { .hero-inner { grid-template-columns: 1fr; } .hero-media img { aspect-ratio: 4/3; } }

/* grids & cards */
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 20px; margin: 20px 0; }
.grid-2 { grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); }
.grid-3 { grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; position: relative; transition: box-shadow .2s; }
.card:hover { box-shadow: 0 8px 24px rgba(18, 58, 107, .12); }
.card-link { display: block; text-decoration: none; color: inherit; padding-bottom: 14px; }
.card img { aspect-ratio: 1; object-fit: cover; width: 100%; }
.card .card-title { font-size: 1.1rem; margin: .5em 14px .2em; }
.card p { margin-left: 14px; margin-right: 14px; }
.card .meta { color: var(--muted); font-size: .92rem; margin-top: 0; margin-bottom: 4px; }
.card .price { font-weight: 800; color: var(--red); margin: 0 14px; }
.badge { display: inline-block; font-size: .78rem; font-weight: 800; text-transform: uppercase; letter-spacing: .04em; padding: 4px 10px; border-radius: 999px; background: #1f9d55; color: #fff; }
.card .badge { position: absolute; top: 10px; left: 10px; }
.badge-reserved { background: #e28a00; }
.badge-adopted { background: var(--muted); }
.litter-tile { display: block; text-decoration: none; color: var(--ink); border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); }
.litter-tile img { aspect-ratio: 4/3; object-fit: cover; width: 100%; }
.litter-tile span { display: block; padding: 12px 14px; }
figure { margin: 0; }
figure img { border-radius: var(--radius); aspect-ratio: 4/3; object-fit: cover; width: 100%; }
figcaption { padding: 8px 2px; color: var(--muted); }

/* chips / filters */
.chips, .filters { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.chips a, .filters a { display: inline-block; padding: 8px 16px; border: 2px solid var(--navy); border-radius: 999px; text-decoration: none; font-weight: 700; }
.chips a:hover, .filters a:hover { background: var(--navy); color: #fff; }

/* puppy page */
.puppy-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 32px; align-items: start; }
@media (max-width: 860px) { .puppy-grid { grid-template-columns: 1fr; } }
.gallery-main { border-radius: var(--radius); width: 100%; aspect-ratio: 1; object-fit: cover; }
.thumbs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin-top: 8px; }
.thumbs img { border-radius: 8px; aspect-ratio: 1; object-fit: cover; width: 100%; }
.facts-table { width: 100%; border-collapse: collapse; margin: 16px 0; }
.facts-table th, .facts-table td { text-align: left; padding: 10px 8px; border-bottom: 1px solid var(--line); }
.facts-table th { color: var(--muted); font-weight: 600; width: 45%; }
.facts-table.wide th { width: auto; }
@media (max-width: 700px) {  /* multi-column tables scroll inside themselves, never the whole page */
  .facts-table.wide { display: block; overflow-x: auto; white-space: nowrap; }
}

/* lists, faq, form */
.steps li, .ticks li { margin-bottom: 10px; }
.ticks { list-style: none; padding: 0; }
.ticks li::before { content: "✓"; color: #1f9d55; font-weight: 800; margin-right: 8px; }
details { border: 1px solid var(--line); border-radius: 10px; padding: 12px 16px; margin-bottom: 10px; background: #fff; }
summary { font-weight: 700; cursor: pointer; }
.form { display: grid; gap: 14px; }
.form label { display: grid; gap: 6px; font-weight: 600; }
.form input, .form select, .form textarea { font: inherit; padding: 10px 12px; border: 1px solid #b9c3cf; border-radius: 8px; width: 100%; }
.form input:focus, .form select:focus, .form textarea:focus { outline: 3px solid rgba(18, 58, 107, .25); border-color: var(--navy); }

/* guides */
.byline { color: var(--muted); font-size: .92rem; margin-top: -.3em; }
.guide-hero { border-radius: var(--radius); width: 100%; aspect-ratio: 16/10; object-fit: cover; margin: 12px 0 8px; }
.guide h3 { margin-top: 1.3em; }
.related { background: var(--alt); border-radius: var(--radius); padding: 4px 20px 12px; margin-top: 32px; }
.related h2 { margin-top: .8em; }
.guide-cta { border: 2px solid var(--navy); border-radius: var(--radius); padding: 16px 20px; margin-top: 24px; }
.gallery-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 12px; margin: 12px 0 8px; }
.gallery-grid img { aspect-ratio: 1; }
.gallery-grid figcaption { font-size: .85rem; }
.names-list { columns: 3 160px; padding-left: 1.1em; }
.names-list li { break-inside: avoid; margin-bottom: 4px; }
.guide-list { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 12px; }
.guide-list li { border: 1px solid var(--line); border-radius: 10px; padding: 12px 14px; }
.guide-list a { font-weight: 700; display: block; margin-bottom: 4px; }
.guide-list span { color: var(--muted); font-size: .92rem; }

/* footer */
.site-footer { background: var(--navy-dk); color: #d7e1ee; margin-top: 40px; padding-top: 32px; }
.site-footer a { color: #fff; }
.footer-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 24px; }
.footer-grid ul { list-style: none; padding: 0; margin: 0; }
.footer-grid li { margin-bottom: 6px; }
.footer-brand { font-weight: 800; font-size: 1.2rem; color: #fff; margin-top: 0; }
.footer-h { font-weight: 800; color: #fff; margin-top: 0; }
address { font-style: normal; }
.legal { padding: 20px 16px; font-size: .85rem; color: #9fb0c6; }
