/* Shared styles for every page of 7mkennels.com. */
:root {
  --bg: #efe6d8;
  --surface: #fbf7f1;
  --fg: #2e2a26;
  --muted: #6a6158;
  --line: #ddd2c3;
  --band: #a99c8f;
  --choc: #5f6d5c;
  --choc-fg: #fbf7f1;
  --ribbon: #9c7f62;
  --ribbon-soft: #e8dccb;
  --ok: #4f6b4c;
  --ok-bg: #e3e9dc;
  --hero-fg: #f6efe4;
  --f-display: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --f-body: "Figtree", system-ui, -apple-system, "Segoe UI", sans-serif;
  --f-mono: "Figtree", system-ui, -apple-system, "Segoe UI", sans-serif;
  color-scheme: light;
}
* { box-sizing: border-box; }
body {
  background: var(--bg); color: var(--fg); font-family: var(--f-body); font-size: 16px; line-height: 1.6;
  padding-left: max(16px, env(safe-area-inset-left, 0px));
  padding-right: max(16px, env(safe-area-inset-right, 0px));
  padding-block: 0;
}
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 10; background: var(--bg); }
.wrap { max-width: 1080px; margin: 0 auto; }
h1, h2, h3 { font-family: var(--f-display); line-height: 1.1; margin: 0; text-wrap: balance; }
h2, h1.page-title { font-size: clamp(2.1rem, 5vw, 3rem); font-weight: 500; }
h3 { font-size: 1.45rem; font-weight: 600; }
p { margin: 0; }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--ribbon); outline-offset: 2px; }
.label { font-family: var(--f-mono); font-size: 0.75rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }

nav.top { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 5; background: var(--bg); border-bottom: 1px solid var(--line); margin-inline: calc(-1 * max(16px, env(safe-area-inset-left, 0px))); padding-inline: max(16px, env(safe-area-inset-left, 0px)); }
nav.top .wrap { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 0; flex-wrap: wrap; }
.brand { font-family: var(--f-display); font-weight: 600; font-size: 1.5rem; text-decoration: none; display: flex; align-items: center; gap: 10px; }
.brand-mark { width: 30px; height: 30px; border-radius: 50%; background: var(--choc); color: var(--choc-fg); display: grid; place-items: center; font-size: 0.78rem; }
nav.top ul { list-style: none; display: flex; gap: 18px; margin: 0; padding: 0; flex-wrap: wrap; font-size: 0.92rem; font-weight: 500; }
nav.top a { text-decoration: none; color: var(--muted); }
nav.top a:hover { color: var(--fg); }
nav.top a[aria-current="page"] { color: var(--fg); font-weight: 600; text-decoration: underline; text-decoration-color: var(--ribbon); text-decoration-thickness: 2px; text-underline-offset: 6px; }

.hero { padding-block: 48px 40px; display: grid; grid-template-columns: 1.15fr 1fr; gap: 40px; align-items: end; }
.hero h1 { font-size: clamp(2.3rem, 6.5vw, 4.4rem); font-weight: 800; }
.hero h1 em { font-style: normal; color: var(--choc); }
.hero p.lede { margin-top: 18px; font-size: 1.1rem; color: var(--muted); max-width: 52ch; }
.cta-row { display: flex; gap: 12px; margin-top: 26px; flex-wrap: wrap; }
.btn { display: inline-block; font: 500 0.85rem var(--f-body); text-transform: uppercase; letter-spacing: 0.16em; padding: 14px 28px; border-radius: 999px; border: 2px solid var(--choc); background: var(--choc); color: var(--choc-fg); text-decoration: none; cursor: pointer; }
.btn:hover { filter: brightness(1.15); }
.btn.alt { background: transparent; color: var(--fg); border-color: var(--line); }
.btn.alt:hover { border-color: var(--fg); filter: none; }

.litter { background: var(--surface); border: 1px solid var(--line); border-radius: 4px; padding: 22px; }
.litter .label { margin-bottom: 10px; display: block; }
dl { margin: 0; }
.litter dl { display: grid; grid-template-columns: auto 1fr; gap: 10px 18px; }
dt { font-family: var(--f-mono); font-size: 0.78rem; color: var(--muted); text-transform: uppercase; letter-spacing: 0.06em; padding-top: 3px; }
dd { margin: 0; font-weight: 500; }
.ribbon { display: inline-block; background: var(--ribbon); color: #fff; font-family: var(--f-mono); font-size: 0.72rem; letter-spacing: 0.08em; text-transform: uppercase; padding: 3px 10px; border-radius: 2px; margin-bottom: 14px; font-weight: 500; }
.pill { font-family: var(--f-mono); font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.08em; padding: 3px 10px; border-radius: 999px; background: var(--ok-bg); color: var(--ok); white-space: nowrap; }

section.block { padding-block: 52px; border-top: 1px solid var(--line); }
section.block.first { border-top: 0; padding-top: 40px; }
.section-head { margin-bottom: 26px; }
.section-head p { color: var(--muted); max-width: 56ch; margin-top: 8px; }

/* Home page: full-width photo header. */
.photo-hero { position: relative; margin-inline: calc(-1 * max(16px, env(safe-area-inset-left, 0px))); padding-inline: max(16px, env(safe-area-inset-left, 0px)); min-height: min(80vh, 680px); display: grid; align-items: center; color: var(--hero-fg); background: linear-gradient(rgba(34, 27, 21, 0.58), rgba(34, 27, 21, 0.58)), url("/images/litter.jpg") center 40% / cover no-repeat; }
.photo-hero .wrap { width: 100%; padding-block: 64px; }
.photo-hero h1 { font-size: clamp(3rem, 9vw, 6rem); font-weight: 500; line-height: 1; }
.photo-hero .rule { border: 0; border-top: 1px solid rgba(246, 239, 228, 0.75); margin: 26px 0; }
.photo-hero .sub { font-family: var(--f-display); font-style: italic; font-weight: 500; font-size: clamp(1.8rem, 5vw, 3.2rem); line-height: 1.15; }
.photo-hero .tag { font-family: var(--f-display); text-transform: uppercase; letter-spacing: 0.08em; font-size: clamp(1.1rem, 2.6vw, 1.7rem); margin-top: 18px; }
.photo-hero .cta-row { margin-top: 32px; }
.photo-hero .btn.alt { color: var(--hero-fg); border-color: rgba(246, 239, 228, 0.75); }
.photo-hero .btn.alt:hover { border-color: var(--hero-fg); }

/* Home page: taupe band with the litter summary. */
.band { background: var(--band); margin-inline: calc(-1 * max(16px, env(safe-area-inset-left, 0px))); padding-inline: max(16px, env(safe-area-inset-left, 0px)); padding-block: 64px; }
.band .wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }
.band .intro { color: #fff; }
.band .intro h2 { color: #fff; }
.band .intro p { margin-top: 14px; font-size: 1.1rem; max-width: 46ch; }

/* Home page: family photos in the About us band. */
.photos-intro { color: #fff; margin-top: 48px; max-width: 62ch; }
.photos-intro h3 { color: #fff; font-size: clamp(1.6rem, 3.5vw, 2.1rem); font-weight: 500; }
.photos-intro p { margin-top: 10px; font-size: 1.05rem; }
.about-photos { list-style: none; margin: 24px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.about-photos li { margin: 0; aspect-ratio: 4 / 5; overflow: hidden; border-radius: 4px; background: var(--ribbon-soft); }
.about-photos img { display: block; width: 100%; height: 100%; object-fit: cover; }
.about-photos li:first-child { grid-row: span 2; aspect-ratio: auto; }
@media (max-width: 600px) { .about-photos { grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 28px; } }

/* Home page: links to the other pages. */
.links { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.links a.card { display: block; text-decoration: none; }
.links a.card:hover { border-color: var(--fg); }
.links h3 { font-size: 1.05rem; }
.links p { color: var(--muted); font-size: 0.9rem; margin-top: 6px; }

/* Closing call to action on each page. */
.next-step { display: flex; justify-content: space-between; align-items: center; gap: 16px 24px; flex-wrap: wrap; }
.next-step p { color: var(--muted); margin-top: 6px; max-width: 52ch; }

.timeline { list-style: none; margin: 0 0 24px; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); border: 1px solid var(--line); border-radius: 4px; background: var(--surface); }
.timeline li { padding: 18px 20px; border-right: 1px solid var(--line); min-width: 0; position: relative; }
.timeline li:last-child { border-right: 0; }
.timeline .label { display: block; margin-bottom: 6px; }
.timeline h3 { font-size: 1.02rem; margin-bottom: 4px; }
.timeline p { font-size: 0.9rem; color: var(--muted); }
.timeline li.now { background: var(--ribbon-soft); }
.timeline li.now .label { color: var(--fg); }

.two { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: 4px; padding: 22px; min-width: 0; }
.card h3 { margin-bottom: 12px; }
.card ul { margin: 0; padding-left: 1.1em; display: grid; gap: 8px; }
.card li::marker { color: var(--ribbon); }
.price-card .price { font-family: var(--f-display); font-size: 3.2rem; font-weight: 500; line-height: 1; }
.price-card .sub { color: var(--muted); font-size: 0.9rem; margin: 6px 0 18px; }

.parent .photo { position: relative; overflow: hidden;  aspect-ratio: 9 / 8; max-width: 100%; display: grid; place-items: center; background: repeating-linear-gradient(135deg, var(--bg) 0 14px, var(--surface) 14px 28px); color: var(--muted); font-family: var(--f-mono); font-size: 0.8rem; border: 1px solid var(--line); border-radius: 2px; margin-bottom: 16px; }
.parent .photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.parent h3 { font-size: 1.6rem; margin: 6px 0 6px; }
.parent p { color: var(--muted); font-size: 0.95rem; }
.parent ul.tests { margin: 12px 0 0; padding-left: 1.1em; display: grid; gap: 4px; font-size: 0.95rem; }
.parent ul.tests li::marker { color: var(--ribbon); }
.parent p.reg-name { font-family: var(--f-mono); font-size: 0.82rem; color: var(--fg); margin-bottom: 6px; overflow-wrap: anywhere; }

.steps { list-style: none; counter-reset: s; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); border: 1px solid var(--line); border-radius: 4px; background: var(--surface); }
.steps li { counter-increment: s; padding: 20px; border-right: 1px solid var(--line); min-width: 0; }
.steps li:last-child { border-right: 0; }
.steps li::before { content: "Step " counter(s); font-family: var(--f-mono); font-size: 0.75rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ribbon); display: block; margin-bottom: 8px; }
.steps h3 { font-size: 1.05rem; margin-bottom: 6px; }
.steps p { font-size: 0.92rem; color: var(--muted); }

.puppies { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 16px; margin-bottom: 24px; align-items: start; }
.puppies:empty { display: none; }
.puppy { padding: 0; overflow: hidden; }
.puppy .photo { aspect-ratio: 4 / 3; background: var(--bg); border-bottom: 1px solid var(--line); }
.puppy .photo img { display: block; width: 100%; height: 100%; object-fit: cover; }
.puppy .body { padding: 14px 16px; }
.puppy .row { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; }
.puppy h3 { font-size: 1.15rem; margin: 0; }
.puppy p { color: var(--muted); font-size: 0.9rem; margin-top: 4px; }
.puppy .pill.reserved { background: var(--ribbon-soft); color: var(--fg); }
.puppy .pill.sold { background: var(--bg); color: var(--muted); }
.puppy.sold .photo img { opacity: 0.55; }

.meet { display: grid; gap: 12px; }
.meet .spot { display: grid; grid-template-columns: auto 1fr; gap: 14px; align-items: baseline; padding-bottom: 12px; border-bottom: 1px solid var(--line); }
.meet .spot:last-child { border-bottom: 0; padding-bottom: 0; }
.meet .spot strong { display: block; }
.meet .spot span.d { color: var(--muted); font-size: 0.92rem; }
.meet .code { font-family: var(--f-mono); font-size: 0.8rem; background: var(--bg); border: 1px solid var(--line); padding: 3px 8px; border-radius: 3px; }

form { background: var(--surface); border: 1px solid var(--line); border-radius: 4px; padding: 24px; display: grid; grid-template-columns: 1fr 1fr; gap: 16px 18px; }
.field { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.field.full { grid-column: 1 / -1; }
label { font-weight: 600; font-size: 0.9rem; }
input, select, textarea { font: 400 1rem var(--f-body); color: var(--fg); background: var(--bg); border: 1px solid var(--line); border-radius: 4px; padding: 10px 12px; width: 100%; min-width: 0; }
textarea { min-height: 110px; resize: vertical; }
.hint { font-size: 0.82rem; color: var(--muted); }
.addr { font-family: var(--f-mono); font-size: 0.88em; user-select: all; overflow-wrap: anywhere; color: var(--fg); }
code.addr { background: var(--surface); border: 1px solid var(--line); padding: 1px 6px; border-radius: 3px; }
.result { grid-column: 1 / -1; display: none; border: 1px dashed var(--ribbon); border-radius: 4px; padding: 16px; background: var(--bg); }
.result.show { display: block; }
.result pre { white-space: pre-wrap; word-break: break-word; font-family: var(--f-mono); font-size: 0.85rem; margin: 10px 0 12px; }

footer { border-top: 1px solid var(--line); padding-block: 32px 40px; font-size: 0.85rem; color: var(--muted); }
footer .wrap { display: grid; gap: 8px; }

.litter-top { display: grid; grid-template-columns: minmax(0, 340px) 1fr; gap: 24px; align-items: start; margin-bottom: 24px; }
.litter-photo { margin: 0; background: var(--surface); border: 1px solid var(--line); border-radius: 4px; overflow: hidden; }
.litter-photo img { display: block; width: 100%; height: auto; }
.litter-photo figcaption { padding: 10px 14px; font-size: 0.85rem; color: var(--muted); }
.litter-top .timeline { grid-template-columns: 1fr; margin: 0; }
.litter-top .timeline li:nth-child(n) { border-right: 0; border-bottom: 1px solid var(--line); }
.litter-top .timeline li:last-child { border-bottom: 0; }

@media (max-width: 820px) {
  .hero { grid-template-columns: 1fr; gap: 28px; padding-block: 32px; }
  .two { grid-template-columns: 1fr; }
  .links { grid-template-columns: 1fr 1fr; }
  .band .wrap { grid-template-columns: 1fr; gap: 28px; }
  .photo-hero { min-height: 72vh; }
  .timeline, .steps { grid-template-columns: 1fr 1fr; }
  .timeline li:nth-child(2), .steps li:nth-child(2) { border-right: 0; }
  .timeline li:nth-child(-n+2), .steps li:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  form { grid-template-columns: 1fr; }
  nav.top ul { gap: 14px; font-size: 0.85rem; }
}
@media (max-width: 700px) { .litter-top { grid-template-columns: 1fr; } .litter-photo { max-width: 420px; } }
@media (max-width: 480px) {
  .links { grid-template-columns: 1fr; }
  .timeline, .steps { grid-template-columns: 1fr; }
  .timeline li, .steps li { border-right: 0; border-bottom: 1px solid var(--line); }
  .timeline li:last-child, .steps li:last-child { border-bottom: 0; }
  .meet .spot { grid-template-columns: 1fr; gap: 4px; }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; animation: none !important; } }
