/* Noble Puppies
   Rough draft, round one. Sawyer Media.
   Plain CSS, no build step, no framework, no external requests.
   Every colour is defined here once. */

:root {
  --paper:      #fbf8f3;
  --surface:    #ffffff;
  --ink:        #1f1b16;
  --muted:      #5c534a;
  --line:       #e3dcd1;
  --clay:       #8a4a2b;
  --clay-dark:  #6f3a21;
  --green:      #2f5d3a;
  --grey:       #6b6259;
  --flag:       #ffe98a;

  --measure: 34rem;
  --shell: 68rem;
  --tap: 2.75rem;

  --serif: Georgia, "Iowan Old Style", "Times New Roman", serif;
  --sans: system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

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

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.65;
}

img { max-width: 100%; height: auto; display: block; }

a { color: var(--clay); text-underline-offset: 0.15em; }
a:hover { color: var(--clay-dark); }

:focus-visible {
  outline: 3px solid var(--clay);
  outline-offset: 2px;
}

h1, h2, h3 {
  font-family: var(--serif);
  font-weight: 400;
  line-height: 1.2;
  letter-spacing: -0.01em;
  margin: 0 0 0.5em;
}

h1 { font-size: clamp(2rem, 6vw, 3rem); }
h2 { font-size: clamp(1.5rem, 4vw, 2rem); }
h3 { font-size: 1.25rem; }

p { margin: 0 0 1em; max-width: var(--measure); }

.shell {
  width: min(100% - 2.5rem, var(--shell));
  margin-inline: auto;
}

/* ---------- draft banner. Delete this block and the markup to go live ---------- */

.draft {
  background: var(--ink);
  color: #f6efe4;
  font-size: 0.8125rem;
  line-height: 1.5;
  padding: 0.625rem 0;
}
.draft p { max-width: none; margin: 0; }
.draft strong { color: #ffd98a; }

/* ---------- skip link ---------- */

.skip {
  position: absolute;
  left: -9999px;
  background: var(--ink);
  color: #fff;
  padding: 0.75rem 1rem;
  z-index: 10;
}
.skip:focus { left: 0.5rem; top: 0.5rem; }

/* ---------- masthead ---------- */

.masthead {
  border-bottom: 1px solid var(--line);
  background: var(--paper);
  padding: 1.25rem 0 0;
}
.masthead .shell { position: relative; }
.mast-call { display: none; }
@media (min-width: 721px) {
  .masthead { position: sticky; top: 0; z-index: 60; }
  .mast-call { display: block; position: absolute; right: 0; top: 0.2rem;
    text-align: right; text-decoration: none; color: var(--ink); }
  .mast-call strong { display: block; font-size: 1.25rem; color: var(--clay);
    letter-spacing: 0.01em; }
  .mast-call span { font-size: 0.8125rem; color: var(--muted); }
  .mast-call:hover strong { color: var(--clay-dark); }
}
@media print { .masthead { position: static; } .mast-call span { display: none; } }

.brand {
  display: inline-block;
  text-decoration: none;
  color: var(--ink);
  margin-bottom: 1rem;
}
.brand .name {
  display: block;
  font-family: var(--serif);
  font-size: 1.75rem;
  line-height: 1;
}
.brand .place {
  display: block;
  margin-top: 0.3rem;
  font-size: 0.6875rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}

.nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0 1.5rem;
}
.nav a {
  display: inline-flex;
  align-items: center;
  min-height: var(--tap);
  color: var(--muted);
  text-decoration: none;
  font-size: 0.9375rem;
}
.nav a:hover { color: var(--ink); }
.nav a[aria-current="page"] {
  color: var(--ink);
  box-shadow: inset 0 -2px 0 var(--clay);
}

/* ---------- hero ---------- */

.hero { padding: 2.5rem 0 1rem; }
.hero .lede { font-size: 1.1875rem; color: var(--muted); }
.hero .breeds { font-size: 1rem; color: var(--clay); margin: 0.4rem 0 1rem; }
.hero .sign { font-size: 0.9375rem; color: var(--ink); margin: -0.5rem 0 1.1rem; font-weight: 600; }
.hero .sign span { font-weight: 400; color: var(--muted); }
.assure { display: flex; gap: 14px; align-items: center; margin-top: 1.4rem;
  padding: 0.85rem 1.1rem; background: linear-gradient(160deg, #fffef8, #faf1da);
  border: 1px solid #d9c08a; border-radius: 6px; max-width: 30rem; }
.assure-seal { flex: 0 0 auto; }
.assure p { margin: 0; font-size: 0.9375rem; color: var(--muted); line-height: 1.45; }
.assure strong { color: var(--ink); font-size: 1.0625rem; }
.hero img {
  width: 100%;
  height: auto;
  border-radius: 2px;
  margin-bottom: 1.75rem;
}

@media (min-width: 48rem) {
  .hero .grid {
    display: grid;
    grid-template-columns: 1fr 1.05fr;
    gap: 3rem;
    align-items: center;
  }
  .hero img { margin-bottom: 0; order: 2; }
  .hero .words { order: 1; }
  .hero { padding: 4rem 0 2rem; }
  .ourdogs .hero .grid { grid-template-columns: 1.45fr 1fr; gap: 2.5rem; }
  .home .hero { padding-top: 2rem; }
  .home .hero .grid { grid-template-columns: 1.5fr 1fr; gap: 1.1rem 2.5rem; align-content: start; }
  .home .hero .grid > picture { grid-column: 1; grid-row: 1; }
  .home .proof { grid-column: 1; grid-row: 2; }
  .home .hero .words { grid-column: 2; grid-row: 1 / 4; align-self: center; }
  .home .assure { grid-column: 1; grid-row: 3; align-self: start; margin-top: 0; }
  .home .hero img { aspect-ratio: 1.6 / 1; object-fit: cover; object-position: 28% 50%; }
}

/* ---------- generic sections ---------- */

section { padding: 2.5rem 0; }
section.tinted { background: var(--surface); border-block: 1px solid var(--line); }

.section-head { margin-bottom: 1.75rem; }
.section-head p { color: var(--muted); }

/* ---------- cards ---------- */

.cards {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: 1fr;
  list-style: none;
  margin: 0;
  padding: 0;
}
@media (min-width: 40rem) { .cards { grid-template-columns: 1fr 1fr; } }
@media (min-width: 60rem) { .cards.three { grid-template-columns: repeat(3, 1fr); } }

.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 3px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.card img { width: 100%; height: auto; }
.card .body { padding: 1.25rem; flex: 1; }
.card h3 { margin-bottom: 0.35rem; }
.card p { margin-bottom: 0.75rem; font-size: 0.9375rem; color: var(--muted); }
.card .price { font-size: 0.9375rem; color: var(--ink); }

/* ---------- litter status ---------- */

.badge {
  display: inline-block;
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.25rem 0.6rem;
  border-radius: 999px;
  color: #fff;
  background: var(--grey);
}
.badge.available { background: var(--green); }
.badge.coming { background: var(--clay); }

.litter { border-top: 1px solid var(--line); padding-top: 1.75rem; margin-top: 1.75rem; }
.litter:first-of-type { border-top: 0; padding-top: 0; margin-top: 0; }
.litter .meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.5rem;
}
.litter .meta h3 { margin: 0; }
.litter .gallery {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.75rem;
  margin-top: 1rem;
}
@media (min-width: 40rem) { .litter .gallery { grid-template-columns: repeat(4, 1fr); } }
.litter .gallery img { width: 100%; height: auto; border-radius: 2px; }

/* ---------- steps ---------- */

.steps { list-style: none; margin: 0; padding: 0; counter-reset: step; }
.steps li {
  counter-increment: step;
  border-top: 1px solid var(--line);
  padding: 1.5rem 0 1.5rem 3.25rem;
  position: relative;
}
.steps li::before {
  content: counter(step);
  position: absolute;
  left: 0;
  top: 1.5rem;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 50%;
  background: var(--clay);
  color: #fff;
  font-family: var(--serif);
  display: grid;
  place-items: center;
}
.steps h3 { margin-bottom: 0.25rem; }
.steps p { margin-bottom: 0; color: var(--muted); }

/* ---------- plain list ---------- */

.checks { list-style: none; margin: 0 0 1em; padding: 0; max-width: var(--measure); }
.checks li {
  padding: 0.6rem 0 0.6rem 1.6rem;
  border-bottom: 1px solid var(--line);
  position: relative;
}
.checks li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 1.15rem;
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 50%;
  background: var(--clay);
}

/* ---------- call box ---------- */

.callbox {
  background: var(--surface);
  border: 1px solid var(--line);
  border-left: 4px solid var(--clay);
  border-radius: 3px;
  padding: 1.5rem;
}
.callbox p:last-child { margin-bottom: 0; }

.phone {
  font-family: var(--serif);
  font-size: clamp(1.5rem, 5vw, 2rem);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  min-height: var(--tap);
}

.btn {
  display: inline-flex;
  align-items: center;
  min-height: var(--tap);
  padding: 0.5rem 1.25rem;
  background: var(--clay);
  color: #fff;
  text-decoration: none;
  border-radius: 3px;
  font-size: 1rem;
}
.btn:hover { background: var(--clay-dark); color: #fff; }

/* ---------- quote ---------- */

blockquote {
  margin: 0 0 1.5rem;
  padding-left: 1.25rem;
  border-left: 3px solid var(--line);
  font-family: var(--serif);
  font-size: 1.1875rem;
  color: var(--ink);
}

/* ---------- placeholder flag ----------
   Anything wrapped in .ask is not confirmed by Mike yet.
   Search the project for "ask" before launch. Nothing yellow ships. */

.ask {
  background: var(--flag);
  color: #3d3000;
  padding: 0.05em 0.3em;
  border-radius: 2px;
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
}

/* ---------- footer ---------- */

.foot {
  border-top: 1px solid var(--line);
  margin-top: 2rem;
  padding: 2.5rem 0;
  font-size: 0.9375rem;
  color: var(--muted);
}
.foot .cols { display: grid; gap: 1.75rem; }
@media (min-width: 40rem) { .foot .cols { grid-template-columns: 1.2fr 1fr 1fr; } }
.foot h2 { font-size: 1.125rem; color: var(--ink); }
.foot ul { list-style: none; margin: 0; padding: 0; }
.foot a { display: inline-flex; align-items: center; min-height: var(--tap); }
.foot .fine { margin-top: 2rem; font-size: 0.8125rem; }

/* ---------- print / PDF ----------
   Keeps the review PDFs tidy: no footer or call box stranded alone on a
   page, no heading orphaned at the bottom of one. */

@media print {
  *, *::before, *::after {
    -webkit-print-color-adjust: exact !important;
    print-color-adjust: exact !important;
  }
  .draft { break-inside: avoid; }
  .brand img { height: 34px !important; width: auto !important; }
  .brand .place { display: none !important; }
  section { padding: 1.6rem 0; }
  .hero { padding: 1.5rem 0 0.5rem; }
  h1, h2, h3 { break-after: avoid; page-break-after: avoid; }
  .section-head, .callbox, .card, .litter, .steps li, blockquote { break-inside: avoid; page-break-inside: avoid; }
  .foot { break-inside: avoid; page-break-inside: avoid; break-before: avoid; page-break-before: avoid; margin-top: 1rem; padding: 1.25rem 0; }
  .foot .fine { margin-top: 0.5rem; font-size: 0.75rem; }
  /* compact footer in print: two short columns, no page list, so it fits
     under the last section instead of spilling onto its own sheet */
  .foot { font-size: 0.8rem; padding: 0.75rem 0 0.5rem; margin-top: 0.5rem; }
  .foot .cols { display: grid; grid-template-columns: 2fr 1fr; gap: 1rem; }
  .foot .cols > div:nth-child(3) { display: none; }
  .foot h2 { font-size: 1rem; margin-bottom: 0.2rem; }
  .foot a, .foot li { min-height: 0; line-height: 1.4; }
  body { font-size: 0.92rem; }
  p, li, blockquote { break-inside: avoid; page-break-inside: avoid; orphans: 3; widows: 3; }
  .hero .words, .checks, .gallery { break-inside: avoid; page-break-inside: avoid; }
  main > section:last-of-type { break-after: avoid; page-break-after: avoid; }
  /* the hero photo must not take a whole sheet by itself */
  .hero .grid { display: block; }
  .hero img { max-height: 8.5cm; width: auto; max-width: 100%; aspect-ratio: auto; margin: 0 auto 0.75rem; }
  .hero { break-inside: avoid; page-break-inside: avoid; }
  body { font-size: 0.95rem; }
  a { text-decoration: none; }
}

/* Hero rating line */
.stars { font-size: 13px; color: #6b5232; letter-spacing: 0.02em; margin-bottom: 4px; }
.reviewline { font-size: 1.0625rem; font-style: italic; color: var(--ink); margin-bottom: 0; }
.proof { margin-top: 0.2rem; }
.reviewline .who { font-style: normal; font-size: 0.875rem; color: var(--muted); margin-left: 4px; }
.stars span[aria-hidden] { color: #c9913f; letter-spacing: 2px; margin-right: 6px; }

/* Sticky mobile call bar */
.callbar { display: none; }
@media (max-width: 720px) {
  .callbar { display: flex; position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
    background: #8a4a2b; padding: 10px 12px calc(10px + env(safe-area-inset-bottom));
    gap: 10px; box-shadow: 0 -2px 10px rgba(0,0,0,.18); }
  .callbar a { flex: 1; text-align: center; background: rgba(246,239,227,.14); color: #f6efe3;
    text-decoration: none; font-weight: 600; padding: 12px 6px; border-radius: 7px; font-size: 15px; }
  .callbar a:first-child { background: #f6efe3; color: #8a4a2b; }
  body { padding-bottom: 72px; }
}
@media print { .callbar { display: none !important; } body { padding-bottom: 0; } }
@media print {
  .faqpage section .shell h2 { margin-top: 0.85rem; margin-bottom: 0.3rem; font-size: 1.02rem; }
  .faqpage section .shell p { margin-bottom: 0.55rem; }
  .faqpage .lede { margin-bottom: 0.4rem; }
}
