/* Puppy folder cards (breeders.py): the card itself, the A4 print sheet, the /breeders sample and the /welcome page.
   Only loaded on those pages, so store.css stays inside its payload budget. */

/* ── the card: calm and premium. One night colour, one glow behind the pup, one headline, the offer in gold,
   a quiet QR row. No star field, no stickers, no gradient text or shadows (Chrome prints those as boxes). ───── */
.pup-card { container-type: inline-size; aspect-ratio: 99 / 142.5; position: relative; overflow: hidden; color: #f3ecdc;
  background: radial-gradient(58% 34% at 50% 34%, rgba(124, 77, 255, .42), transparent 74%), #0e0b16;
  -webkit-print-color-adjust: exact; print-color-adjust: exact; }
.pup-card-in { position: absolute; inset: 4cqw; border: .22cqw solid rgba(212, 175, 90, .55); border-radius: 2.4cqw;
  display: flex; flex-direction: column; align-items: center; text-align: center; padding: 5cqw 6cqw 5cqw; }
.pup-card-in > * { flex-shrink: 0; }
.pup-card p { margin: 0; }
.pc-brand { font: 6.4cqw/1.1 var(--signature); color: #f3ecdc; opacity: .92; }
.pc-art { width: 58cqw; aspect-ratio: 1; margin: 3cqw auto 2.6cqw; }
.pc-art img { width: 100%; height: 100%; object-fit: contain; }
.pc-hello { font: 10cqw/1 var(--display); text-transform: uppercase; letter-spacing: .015em; color: #f3ecdc; }
.pc-offer { display: flex; align-items: center; justify-content: center; gap: 3cqw; margin-top: 3.4cqw !important; padding-top: 3.2cqw;
  border-top: .22cqw solid rgba(212, 175, 90, .55); width: 62cqw; }
.pc-offer b { font: 400 7.2cqw/1 var(--display); color: #d4af5a; letter-spacing: .02em; }
.pc-codeword { font: 400 5cqw/1 var(--display); color: #f3ecdc; letter-spacing: .12em; white-space: nowrap; }
.pc-foot { margin-top: auto; width: 100%; display: grid; grid-template-columns: 17cqw minmax(0, 1fr); gap: 3.6cqw; align-items: center; text-align: left; }
.pc-qr { background: #fffdf8; padding: 1cqw; border-radius: 1.4cqw; }
.pc-qr svg { display: block; width: 100%; height: auto; }
.pc-foottext { display: grid; gap: .8cqw; min-width: 0; font-size: 2.7cqw; line-height: 1.3; color: #a9a2ba; }
.pc-from { font-size: 3.1cqw; color: #d4af5a; overflow-wrap: anywhere; }
.pup-card-url { font-size: 2.5cqw; color: #8f889f; overflow-wrap: anywhere; }

/* ── /breeders: the sample card next to the intro (same rhythm as the rescue page) ─────────────────── */
.breeders-sample { margin: 0; position: relative; }
.breeders-sample::before { content: ""; position: absolute; inset: 6% -2% -4% 4%; background: radial-gradient(closest-side, rgba(124, 77, 255, .28), transparent);
  filter: blur(10px); z-index: 0; }
.breeders-sample figcaption { position: relative; z-index: 1; font-size: .8rem; letter-spacing: .12em; text-transform: uppercase; color: var(--gold);
  margin-bottom: 10px; text-align: center; }
.breeders-sample-card { position: relative; z-index: 1; width: min(100%, 340px); margin: 0 auto; border-radius: 14px; overflow: hidden;
  border: 1px solid rgba(212, 175, 90, .35);
  box-shadow: 0 24px 60px rgba(0, 0, 0, .45); transform: rotate(-1.4deg); }
.breeders-sample > .small { position: relative; z-index: 1; text-align: center; margin-top: 14px; }
.breeders-terms { display: flex; gap: 10px; align-items: flex-start; margin: 4px 0 16px; line-height: 1.5; }
.breeders-terms input { margin-top: 4px; flex: none; }
.breeders-terms a { white-space: nowrap; }
.partner-card-box .btn { margin-top: 4px; }

/* ── the printable sheet: four cards on one A4, a 6 mm white edge (home printers can't print to the edge) ─ */
.card-print-head { padding-top: 24px; }
.card-print-head h1 { margin: 6px 0 10px; }
.card-print-actions { display: flex; flex-wrap: wrap; gap: 10px; margin: 18px 0 24px; }
.card-sheet-wrap { padding: 0 16px 48px; }
.card-sheet { width: min(100%, 210mm); margin: 0 auto; display: grid; grid-template-columns: 1fr 1fr; background: #fff;
  padding: 2.857%; box-shadow: 0 24px 60px rgba(0, 0, 0, .45); }
.card-sheet .pup-card { outline: .15mm solid rgba(255, 255, 255, .14); outline-offset: -.1mm; }   /* the cut line */
@media print {
  @page { size: A4 portrait; margin: 0; }
  html, body { background: #fff !important; }
  body > :not(main), main > :not(.card-sheet-wrap) { display: none !important; }
  .card-sheet-wrap { padding: 0; }
  .card-sheet { width: 210mm; height: 297mm; padding: 6mm; box-shadow: none; }
  .card-sheet .pup-card { width: 99mm; break-inside: avoid; }
  .poster-sheet { width: 210mm; height: 297mm; padding: 6mm; box-shadow: none; margin: 0; break-after: page; }
}

/* ── the daycare's A4 reception poster (page 1 of its print): the card's calm, at poster size ──────────── */
.poster-sheet { width: min(100%, 210mm); aspect-ratio: 210 / 297; margin: 0 auto 32px; background: #fff; padding: 2.857%;
  box-shadow: 0 24px 60px rgba(0, 0, 0, .45); }
.poster-in { container-type: inline-size; height: 100%; position: relative; overflow: hidden; color: #f3ecdc;
  display: flex; flex-direction: column; align-items: center; justify-content: space-between; text-align: center; padding: 8cqw 9cqw 6cqw;
  background: radial-gradient(60% 30% at 50% 36%, rgba(124, 77, 255, .4), transparent 74%), #0e0b16;
  -webkit-print-color-adjust: exact; print-color-adjust: exact; }
.poster-in::after { content: ""; position: absolute; inset: 3.4cqw; border: .2cqw solid rgba(212, 175, 90, .55); border-radius: 2cqw; pointer-events: none; }
.poster-in > * { position: relative; z-index: 1; flex-shrink: 0; }
.poster-in p { margin: 0; }
.poster-in .pc-brand { font-size: 6cqw; }
.poster-h { font: 13cqw/1 var(--display); text-transform: uppercase; color: #f3ecdc; }
.poster-art { width: 44cqw; aspect-ratio: 1; }
.poster-art img { width: 100%; height: 100%; object-fit: contain; }
.poster-p { font-size: 4.2cqw; line-height: 1.3; max-width: 62cqw; color: #d9d2e6; }
.poster-code { display: grid; justify-items: center; gap: 2.4cqw; }
.poster-qr { width: 30cqw; padding: 1.4cqw; }
.poster-code .pc-codeword { font-size: 5.4cqw; color: #d4af5a; }
.poster-from { font-size: 3.4cqw; }
.poster-in .pup-card-url { font-size: 2.3cqw; }
.partner-spot { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 36px; align-items: center; margin: 48px 0 8px;
  padding: 28px; background: var(--card); border: 1px solid rgba(212, 175, 90, .35); border-radius: 22px; }
.partner-spot-photo { position: relative; }
.partner-spot-photo img, .partner-spot-photo video { width: 100%; height: auto; aspect-ratio: 1; object-fit: cover; border-radius: 16px; display: block; }
.partner-spot-photo video + .partner-spot-still { display: none; }          /* the video plays; its poster is the same frame */
@media (prefers-reduced-motion: reduce) {
  .partner-spot-photo video { display: none; }
  .partner-spot-photo video + .partner-spot-still { display: block; }
}
.partner-spot-body h2 { margin: 4px 0 14px; }
.partner-spot blockquote { margin: 0 0 16px; padding-left: 18px; border-left: 2px solid var(--gold); }
.partner-spot blockquote p { margin: 0 0 8px; font-size: 1.15rem; line-height: 1.55; }
.partner-spot blockquote footer { color: var(--muted); font-size: .9rem; }
.partner-spot-name { margin: 0 0 14px; }
@media (max-width: 800px) { .partner-spot { grid-template-columns: minmax(0, 1fr); gap: 20px; padding: 18px; } }
.breeders-staff { margin-top: 24px; }
.breeders-staff h2, .breeders-staff p { margin-top: 0; }

/* ── /welcome: where the card's QR code lands ─────────────────────────────────────────────────────── */
.welcome-home { position: relative; padding-bottom: 48px; }
.welcome-hero { text-align: center; max-width: 40em; margin: 0 auto; padding: 40px 0 8px; }
.welcome-dog { width: 132px; margin: 0 auto 10px; filter: drop-shadow(0 12px 30px rgba(124, 77, 255, .35)); }
.welcome-hero h1 { margin: 6px 0 14px; }
.welcome-tiles { list-style: none; padding: 0; margin: 36px 0 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.welcome-tiles li { display: flex; flex-direction: column; gap: 10px; padding: 22px 20px; background: var(--card); border: 1px solid var(--line); border-radius: 18px; }
.welcome-tiles h2 { margin: 0; font-size: 1.35rem; line-height: 1.15; }
.welcome-tiles p { margin: 0; line-height: 1.5; color: var(--muted); }
.welcome-tiles .btn { margin-top: auto; align-self: flex-start; }
.welcome-icon { font-size: 1.6rem; line-height: 1; }
.welcome-care { margin: 20px 0 0; display: grid; gap: 6px; }
.welcome-care h2, .welcome-care p { margin: 0; }
@media (max-width: 900px) { .welcome-tiles { grid-template-columns: minmax(0, 1fr); } .welcome-hero { padding-top: 24px; } }

/* ══ Polish for the partner pages (/breeders, /daycares, /rescues, /welcome): Sampo 2026-11-07 ══════════════
   "more air between texts and elements", "boxes less like boxes", "the card should float", "a livelier sky".
   Scoped to .rescues / .welcome-home so the rest of the shop is untouched. Motion stops for prefers-reduced-motion. */

/* a living sky: the same stars, two more layers that drift and twinkle, and a rare shooting star */
.rescues-sky { position: relative; overflow: hidden; }   /* the scaled layer and shooting stars stay inside the page width */
.rescues-sky::before, .rescues-sky::after { content: ""; position: absolute; inset: 0; pointer-events: none;
  background: url("../brand/rescues-stars.svg") 0 0 / 1440px 820px repeat-x; }
.rescues-sky::before { opacity: .55; transform: scale(1.35); transform-origin: 30% 20%; animation: sky-drift 140s linear infinite, sky-twinkle 6s ease-in-out infinite; }
.rescues-sky::after { opacity: .35; background-position: 380px 120px; animation: sky-drift 220s linear infinite reverse, sky-twinkle 9s ease-in-out 2s infinite; }
@keyframes sky-drift { to { background-position-x: 1440px; } }
@keyframes sky-twinkle { 0%, 100% { opacity: .2; } 50% { opacity: .65; } }
.shooting-star { position: absolute; top: 90px; left: 62%; width: 140px; height: 1.5px; pointer-events: none; opacity: 0;
  background: linear-gradient(90deg, rgba(255, 246, 221, 0), rgba(255, 246, 221, .95)); border-radius: 2px;
  transform: rotate(-24deg); animation: shoot 11s ease-in 3s infinite; }
.shooting-star.s2 { top: 210px; left: 18%; width: 100px; animation-duration: 17s; animation-delay: 8s; }
@keyframes shoot { 0% { opacity: 0; translate: 0 0; } 2% { opacity: 1; } 7% { opacity: 0; translate: -260px 116px; } 100% { opacity: 0; translate: -260px 116px; } }

/* the sample card floats: a slow bob with its shadow breathing underneath */
.breeders-sample { padding-bottom: 34px; }
.breeders-sample-card { animation: card-float 7s ease-in-out infinite; transform: rotate(-1.4deg); }
.breeders-sample::after { content: ""; position: absolute; z-index: 0; left: 50%; bottom: 46px; width: 62%; height: 26px; translate: -50% 0;
  border-radius: 50%; background: radial-gradient(closest-side, rgba(0, 0, 0, .75), transparent); filter: blur(6px);
  animation: card-shadow 7s ease-in-out infinite; }
@keyframes card-float { 0%, 100% { transform: translateY(0) rotate(-1.4deg); } 50% { transform: translateY(-14px) rotate(-.6deg); } }
@keyframes card-shadow { 0%, 100% { scale: 1; opacity: .9; } 50% { scale: .82; opacity: .55; } }
.breeders-sample > .small { margin-top: 26px; }

/* boxes that don't look like boxes: soft light from above, a gold hairline at the top, deep shadow, more padding */
.rescues .panel, .rescues-steps li, .partner-spot, .welcome-tiles li {
  position: relative; overflow: hidden; border: 1px solid rgba(255, 255, 255, .07); border-radius: 22px;
  background: linear-gradient(180deg, rgba(255, 255, 255, .045), rgba(255, 255, 255, .012) 42%), var(--card);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .06), 0 28px 60px -34px rgba(0, 0, 0, .9); }
.rescues .panel::before, .rescues-steps li::after, .partner-spot::before, .welcome-tiles li::before {
  content: ""; position: absolute; left: 12%; right: 12%; top: 0; height: 1px; pointer-events: none;
  background: linear-gradient(90deg, transparent, rgba(212, 175, 90, .75), transparent); }
.rescues .panel { padding: clamp(24px, 3vw, 38px); }
.rescues .rescues-ask { border-color: rgba(212, 175, 90, .32); }
.rescues .panel h2 { font-size: clamp(1.7rem, 2.6vw, 2.3rem); margin: 0 0 22px; }

/* the steps: a gold ring number, room to breathe, a gentle lift on hover */
.rescues-how { margin-top: 76px; }
.rescues-how h2 { margin-bottom: 24px; }
.rescues-steps { gap: 18px; }
.rescues-steps li { padding: 74px 24px 28px; line-height: 1.6; transition: transform .25s ease, border-color .25s ease; }
.rescues-steps li::before { top: 24px; left: 24px; width: 34px; height: 34px; background: transparent; color: var(--gold);
  border: 1.5px solid rgba(212, 175, 90, .8); box-shadow: 0 0 18px rgba(212, 175, 90, .25); font-size: .95rem; }
@media (hover: hover) { .rescues-steps li:hover { transform: translateY(-4px); border-color: rgba(212, 175, 90, .3); } }

/* sections: one rhythm */
.rescues-split { gap: 28px; margin-top: 32px; }
.breeders-staff { margin-top: 32px; }
.breeders-staff p:last-child { margin-bottom: 0; }
.partner-spot { margin-top: 72px; padding: clamp(20px, 3vw, 36px); border-color: rgba(212, 175, 90, .28); }

/* promises: a small gold check instead of a grey paw, more space between lines */
.rescues-promises { gap: 18px; margin-bottom: 26px; }
.rescues-promises li { padding-left: 36px; line-height: 1.6; }
.rescues-promises li::before { content: "✓"; top: 2px; width: 22px; height: 22px; display: grid; place-items: center; border-radius: 50%;
  font-size: .75rem; font-weight: 700; color: #120c1c; background: var(--gold); }

/* the form: room between fields, calmer inputs, a gold focus ring, a real checkbox, space around the button */
.rescues-ask form { display: grid; gap: 16px; }
.rescues-ask .field { margin: 0; gap: 9px; }
.rescues-ask .field label { font-size: .88rem; letter-spacing: .01em; color: #c9c2d8; }
.rescues-ask .field input, .rescues-ask .field textarea { min-height: 52px; padding: 14px 16px; border-radius: 14px;
  background: rgba(0, 0, 0, .28); border-color: rgba(255, 255, 255, .1); transition: border-color .2s ease, box-shadow .2s ease; }
.rescues-ask .field textarea { min-height: 120px; }
.rescues-ask .field input:focus, .rescues-ask .field textarea:focus { outline: none; border-color: rgba(212, 175, 90, .7);
  box-shadow: 0 0 0 4px rgba(212, 175, 90, .14); }
.rescues-ask .check, .breeders-terms { margin: 4px 0 0; gap: 14px; line-height: 1.55; }
.rescues-ask input[type="checkbox"] { appearance: none; flex: none; width: 22px; height: 22px; margin: 1px 0 0; border-radius: 7px; cursor: pointer;
  border: 1.5px solid rgba(212, 175, 90, .7); background: rgba(0, 0, 0, .3); display: grid; place-items: center; }
.rescues-ask input[type="checkbox"]::after { content: "✓"; font-size: 14px; font-weight: 700; color: #120c1c; opacity: 0; }
.rescues-ask input[type="checkbox"]:checked { background: var(--gold); }
.rescues-ask input[type="checkbox"]:checked::after { opacity: 1; }
.rescues-ask input[type="checkbox"]:focus-visible { box-shadow: 0 0 0 4px rgba(212, 175, 90, .2); outline: none; }
.rescues-ask .rescues-send { margin-top: 8px; justify-self: start; min-height: 50px; padding-inline: 28px; }
.rescues-ask .rescues-privacy { margin: 22px 0 0; padding-top: 18px; border-top: 1px solid rgba(255, 255, 255, .07); line-height: 1.6; }
.rescues .rescues-promise > .small { margin: 0; padding-top: 18px; border-top: 1px solid rgba(255, 255, 255, .07); line-height: 1.6; }

/* the welcome page tiles share the same finish */
.welcome-tiles { gap: 18px; }
.welcome-tiles li { padding: 26px 24px; gap: 12px; }

@media (max-width: 600px) {
  .rescues-how { margin-top: 56px; }
  .rescues-steps li { padding: 20px 18px 20px 70px; }
  .rescues-steps li::before { top: 18px; left: 18px; }
  .shooting-star { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .rescues-sky::before, .rescues-sky::after, .shooting-star, .breeders-sample-card, .breeders-sample::after { animation: none; }
  .rescues-steps li { transition: none; }
}

/* Sampo 2026-11-07: "not sure about the yellow text". Text accents on the partner pages and cards are a soft lavender
   silver; gold stays only in hairlines, rings and the gold buttons. */
.rescues .kicker, .welcome-home .kicker, .partner-spot .kicker { color: #bfb3e6; }
.rescues-chips li::before { color: #bfb3e6; }
.rescues-steps li::before { color: #e9e2f5; border-color: rgba(191, 179, 230, .7); box-shadow: 0 0 18px rgba(124, 77, 255, .3); }
.rescues-promises li::before { background: #bfb3e6; }
.partner-spot blockquote { border-left-color: rgba(191, 179, 230, .7); }
.pc-from, .poster-from { color: #bfb3e6; }
.pc-offer b { color: #f3ecdc; }
.pc-codeword, .poster-code .pc-codeword { color: #bfb3e6; }

/* /rescues (Sampo 2026-11-07): the intro alone on top, the example post lower down, beside its heading, with Bumba as
   the example photo (4:5 like the real feed card) and a post that looks like a post */
.rescues-hero.solo { grid-template-columns: minmax(0, 1fr); }
.rescues-hero.solo .rescues-intro { max-width: 760px; padding-top: 48px; }
.rescues-example { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .9fr); gap: 56px; align-items: center; margin-top: 76px; }
.rescues-example-text h2 { margin: 0 0 14px; font-size: clamp(1.8rem, 3vw, 2.6rem); }
.rescues-example-text p { max-width: 34em; line-height: 1.6; }
.rescues-example .rescues-post { padding-bottom: 34px; }
.rescues-example .rescues-post::after { content: ""; position: absolute; z-index: 0; left: 50%; bottom: 10px; width: 60%; height: 24px; translate: -50% 0;
  border-radius: 50%; background: radial-gradient(closest-side, rgba(0, 0, 0, .75), transparent); filter: blur(6px); animation: card-shadow 7s ease-in-out infinite; }
.rescues-example .rp-card { max-width: 400px; border-color: rgba(255, 255, 255, .08); border-radius: 20px; animation: post-float 7s ease-in-out infinite;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .06), 0 30px 70px -30px rgba(0, 0, 0, .9); }
@keyframes post-float { 0%, 100% { transform: translateY(0) rotate(1.2deg); } 50% { transform: translateY(-12px) rotate(.5deg); } }
.rp-head { gap: 10px; }
.rp-handle { margin-left: auto; color: var(--muted); font-size: .82rem; }
.rescues-example .rp-photo { position: relative; aspect-ratio: 4 / 5; display: block; background: #1d1929; }
.rescues-example .rp-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.rp-chip { position: absolute; left: 12px; bottom: 12px; padding: 6px 12px; border-radius: 999px; font-size: .78rem; letter-spacing: .02em;
  color: #f3ecdc; background: rgba(14, 11, 22, .72); border: 1px solid rgba(255, 255, 255, .14); }
.rp-actions { display: flex; gap: 16px; padding: 12px 16px 2px; }
.rp-actions svg { fill: none; stroke: var(--text); stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.rp-actions .rp-save { margin-left: auto; }
.rescues-example .rp-text { padding: 10px 16px 18px; }
@media (max-width: 900px) {
  .rescues-example { grid-template-columns: minmax(0, 1fr); gap: 24px; margin-top: 56px; }
  .rescues-hero.solo .rescues-intro { padding-top: 0; }
}
@media (prefers-reduced-motion: reduce) { .rescues-example .rp-card, .rescues-example .rescues-post::after { animation: none; } }

/* how it works + the example side by side on desktop: the steps read top-down next to the post they produce */
.rescues-example { align-items: start; }
.rescues-example-text .rescues-steps { grid-template-columns: minmax(0, 1fr); gap: 14px; margin-top: 22px; }
.rescues-example-text .rescues-steps li { padding: 20px 22px 20px 74px; }
.rescues-example-text .rescues-steps li::before { top: 18px; left: 22px; }
.rescues-example figcaption { position: relative; z-index: 1; text-align: center; font-size: .8rem; letter-spacing: .14em; text-transform: uppercase;
  color: #bfb3e6; margin: 6px 0 16px; }
.rescues-example .rescues-post > .small { position: relative; z-index: 1; text-align: center; margin-top: 36px; }
