/* BluDream Shepherds — styles
 * Palette: "Blu" navy + German Shepherd tan on a warm cream.
 * Change colors in :root only.
 */
:root {
  --navy: #0f2340;
  --navy-2: #1b3560;
  --tan: #c4843c;
  --tan-dark: #9c6526;   /* text-safe tan on cream (AA) */
  --cream: #faf6ef;
  --cream-2: #f2eadc;
  --ink: #1d1d1f;
  --muted: #5a5a60;
  --line: #e3d8c5;
  --white: #ffffff;
  --radius: 14px;
  --shadow: 0 10px 30px rgba(15, 35, 64, 0.12);
  --serif: "Fraunces", Georgia, "Times New Roman", serif;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 76px; }
body { margin: 0; font-family: var(--sans); color: var(--ink); background: var(--cream); line-height: 1.6; font-size: 17px; }
img { max-width: 100%; display: block; }
a { color: var(--navy-2); }
h1, h2, h3 { font-family: var(--serif); color: var(--navy); line-height: 1.15; margin: 0 0 .5em; }
h1 { font-size: clamp(2.1rem, 5vw, 3.4rem); }
h2 { font-size: clamp(1.7rem, 3.4vw, 2.3rem); }
h3 { font-size: 1.2rem; }
p { margin: 0 0 1em; }

.wrap { max-width: 1120px; margin: 0 auto; padding: 0 16px; }
.narrow { max-width: 760px; }
.center { text-align: center; }
.skip { position: absolute; left: -999px; }
.skip:focus { left: 16px; top: 16px; background: var(--white); padding: 8px 12px; z-index: 100; }

/* ---- header ---- */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(250, 246, 239, .94); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.header-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 64px; }
.brand { white-space: nowrap; display: flex; align-items: center; gap: 10px; text-decoration: none; font-family: var(--serif); font-weight: 700; font-size: 1.25rem; color: var(--navy); }
.brand em { font-style: normal; color: var(--tan-dark); }
.paw { width: 30px; height: 30px; fill: var(--tan); flex: none; }
nav { display: flex; align-items: center; gap: 22px; }
nav a { text-decoration: none; color: var(--navy); font-weight: 500; font-size: .95rem; }
nav a:hover { color: var(--tan-dark); }
.nav-cta { white-space: nowrap; background: var(--navy); color: var(--white) !important; padding: 8px 16px; border-radius: 999px; }
.nav-cta:hover { background: var(--navy-2); }

/* ---- buttons ---- */
.btn { display: inline-block; text-decoration: none; font-weight: 600; border-radius: 999px; padding: 13px 24px; transition: transform .15s, background .15s; text-align: center; }
.btn:hover { transform: translateY(-1px); }
.btn:focus-visible, nav a:focus-visible, summary:focus-visible { outline: 3px solid var(--tan); outline-offset: 3px; }
.btn-primary { background: var(--tan); color: var(--navy); }
.btn-primary:hover { background: #d3954e; }
.btn-ghost { border: 2px solid var(--navy); color: var(--navy); }
.btn-sm { padding: 9px 18px; font-size: .92rem; }
.btn-lg { padding: 16px 32px; font-size: 1.08rem; }

/* ---- hero ---- */
.hero { background: radial-gradient(1200px 500px at 85% 0%, #e9dcc5 0%, transparent 60%), var(--cream); padding: 72px 0 80px; }
.hero-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 48px; align-items: center; }
.eyebrow { text-transform: uppercase; letter-spacing: .14em; font-size: .8rem; font-weight: 600; color: var(--tan-dark); }
.lede { font-size: 1.18rem; color: var(--muted); max-width: 36em; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }

.status-card { background: var(--navy); color: var(--cream); border-radius: var(--radius); padding: 30px; box-shadow: var(--shadow); }
.status-pill { display: inline-block; background: rgba(196, 132, 60, .2); color: #f0c48c; border: 1px solid rgba(240, 196, 140, .4); border-radius: 999px; padding: 4px 12px; font-size: .82rem; font-weight: 600; margin-bottom: 14px; }
.status-title { font-family: var(--serif); font-size: 1.45rem; color: var(--white); line-height: 1.25; margin-bottom: 6px; }
.status-price { font-family: var(--serif); font-size: 3rem; font-weight: 700; color: #f0c48c; margin-bottom: 10px; line-height: 1; }
.status-facts { list-style: none; padding: 0; margin: 0 0 16px; }
.status-facts li { padding: 7px 0; border-top: 1px solid rgba(255, 255, 255, .12); }
.status-updated { font-size: .82rem; opacity: .7; margin: 0; }

/* ---- sections ---- */
.section { padding: 72px 0; }
.section.alt { background: var(--cream-2); }
.section-lede { color: var(--muted); margin-bottom: 28px; }

/* ---- puppies ---- */
.puppy-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 22px; }
.puppy-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: 0 2px 10px rgba(15, 35, 64, .05); }
.puppy-card.summary { grid-column: 1 / -1; display: grid; grid-template-columns: 220px 1fr; max-width: 680px; }
.puppy-photo { position: relative; aspect-ratio: 4 / 3; background: linear-gradient(135deg, var(--navy) 0%, var(--navy-2) 100%); display: grid; place-items: center; }
.puppy-card.summary .puppy-photo { aspect-ratio: auto; min-height: 170px; }
.puppy-photo .paw { width: 64px; height: 64px; opacity: .9; }
.puppy-photo img { width: 100%; height: 100%; object-fit: cover; }
.puppy-status { position: absolute; top: 10px; left: 10px; background: var(--tan); color: var(--navy); font-size: .78rem; font-weight: 700; padding: 3px 10px; border-radius: 999px; }
.puppy-body { padding: 20px 22px 22px; }
.puppy-body p { color: var(--muted); }
.puppy-note { font-style: italic; }

.listings-link { margin-top: 18px; font-weight: 600; }

/* ---- included ---- */
.included-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: 12px; }
.included-col { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px 28px; }
.checklist { list-style: none; padding: 0; margin: 0; }
.checklist li { position: relative; padding: 8px 0 8px 32px; border-bottom: 1px solid var(--cream-2); }
.checklist li:last-child { border-bottom: 0; }
.checklist li::before { content: ""; position: absolute; left: 0; top: 12px; width: 20px; height: 20px; border-radius: 50%; background: var(--tan) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5 10.5l3 3 7-7' fill='none' stroke='%230f2340' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 14px no-repeat; }

/* ---- steps ---- */
.steps { list-style: none; counter-reset: step; padding: 0; margin: 20px 0 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 20px; }
.steps li { counter-increment: step; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px 24px 20px; position: relative; }
.steps li::before { content: counter(step); display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; background: var(--navy); color: var(--cream); font-family: var(--serif); font-weight: 700; margin-bottom: 14px; }
.steps p { color: var(--muted); margin: 0; }

/* ---- faq ---- */
.faq details { background: var(--white); border: 1px solid var(--line); border-radius: 10px; margin-bottom: 10px; }
.faq summary { cursor: pointer; list-style: none; padding: 16px 48px 16px 20px; font-weight: 600; color: var(--navy); position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 20px; top: 50%; transform: translateY(-50%); font-size: 1.4rem; color: var(--tan-dark); }
.faq details[open] summary::after { content: "\2212"; }
.faq details p, .faq details .todo-box { margin: 0 20px 18px; color: var(--muted); }

/* ---- contact ---- */
.contact { background: var(--navy); color: var(--cream); }
.contact h2 { color: var(--white); }
.contact-list { list-style: none; padding: 0; margin: 28px 0 0; }
.contact-list li { padding: 4px 0; }
.contact-list a { color: #f0c48c; }

/* ---- footer ---- */
.site-footer { background: #0a182c; color: rgba(250, 246, 239, .75); font-size: .9rem; }
.footer-row { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding-top: 22px; padding-bottom: 22px; }
.footer-row p { margin: 0; }
.site-footer a { color: #f0c48c; }

/* ---- preview mode (?preview) — never visible to buyers ---- */
.preview-banner { background: #fff3c4; color: #5c4400; text-align: center; font-size: .92rem; font-weight: 600; padding: 10px 16px; border-bottom: 1px solid #e6cf72; }
.todo-box { border: 2px dashed #d0a21a; background: #fffbea; color: #5c4400; border-radius: 10px; padding: 10px 14px; font-size: .92rem; margin: 10px 0; text-align: left; }
.contact .todo-box { max-width: 520px; margin: 10px auto; }
.is-todo { border-color: #d0a21a !important; }

/* ---- responsive ---- */
@media (max-width: 860px) {
  .hero { padding: 44px 0 56px; }
  .hero-grid { grid-template-columns: 1fr; gap: 32px; }
  nav a:not(.nav-cta) { display: none; }   /* phone: just the Message CTA */
  .included-grid { grid-template-columns: 1fr; }
  .section { padding: 56px 0; }
}
@media (max-width: 560px) {
  body { font-size: 16px; }
  .puppy-card.summary { grid-template-columns: 1fr; }
  .cta-row .btn { width: 100%; }
  .footer-row { flex-direction: column; text-align: center; }
  .brand { font-size: 1.05rem; gap: 8px; }
  .brand .paw { width: 24px; height: 24px; }
  .nav-cta { padding: 7px 14px; font-size: .88rem; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .btn { transition: none; } }
