:root {
  --ink: #111518;
  --terracotta: #7c423c;
  --cream: #f9fbf2;
  --olive: #3a5922;
  --gold: #9d8206;
  --ink-soft: #1b2329;
  --cream-dark: #edf2e3;
  --muted: #4b575e;
  --olive-light: #4b6c30;
  --terracotta-dark: #673531;
  --white: #ffffff;
  --radius: 12px;
  --shadow: 0 16px 42px rgba(17, 21, 24, 0.13);
  --font-display: "Fraunces", Georgia, serif;
  --font-body: "Source Serif 4", Georgia, serif;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.05rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--cream);
  background-image:
    radial-gradient(ellipse 110% 80% at 10% -10%, rgba(124, 66, 60, 0.18), transparent 55%),
    radial-gradient(ellipse 85% 55% at 100% 0%, rgba(58, 89, 34, 0.16), transparent 50%),
    linear-gradient(180deg, #f9fbf2 0%, #f3f7ea 100%);
}

h1,
h2,
h3 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

a {
  color: var(--terracotta);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

a:hover {
  color: var(--terracotta);
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  padding: 0.5rem 1rem;
  background: var(--ink-soft);
  color: var(--cream);
  z-index: 100;
}

.skip-link:focus {
  left: 1rem;
}

.wrap {
  width: min(1100px, 92vw);
  margin-inline: auto;
}

.narrow {
  max-width: none;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: #ffffff;
  backdrop-filter: none;
  border-bottom: 1px solid rgba(17, 21, 24, 0.08);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 0;
  flex-wrap: wrap;
}

.logo {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  text-decoration: none;
}

.logo-image {
  display: block;
  height: clamp(44px, 5vw, 64px);
  width: auto;
  object-fit: contain;
}

.nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.25rem;
  align-items: center;
  font-size: 0.95rem;
}

.nav a {
  color: var(--ink);
  text-decoration: none;
  font-weight: 600;
}

.nav a:hover {
  color: var(--olive);
}

.messages {
  padding-top: 0.75rem;
}

.msg {
  margin: 0 0 0.5rem;
  padding: 0.75rem 1rem;
  border-radius: var(--radius);
  font-size: 0.95rem;
}

.msg-success {
  background: rgba(58, 89, 34, 0.14);
  color: var(--olive);
  border: 1px solid rgba(58, 89, 34, 0.3);
}

.msg-error {
  background: rgba(124, 66, 60, 0.14);
  border: 1px solid rgba(103, 53, 49, 0.34);
}

.msg-warning {
  background: rgba(196, 112, 75, 0.1);
  border: 1px dashed var(--terracotta);
}

.hero {
  position: relative;
  padding: clamp(3rem, 8vw, 5rem) 0 clamp(4rem, 10vw, 6rem);
  overflow: hidden;
}

.hero--photo {
  min-height: min(92vh, 52rem);
  display: flex;
  align-items: center;
  padding: clamp(4rem, 12vw, 7rem) 0 clamp(5rem, 14vw, 8rem);
}

.hero-media {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}

.hero-media__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero-scrim {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 1;
}

.hero-scrim--gradient {
  background:
    linear-gradient(
      105deg,
      rgba(17, 21, 24, 0.88) 0%,
      rgba(17, 21, 24, 0.55) 42%,
      rgba(17, 21, 24, 0.22) 72%,
      rgba(17, 21, 24, 0.08) 100%
    ),
    linear-gradient(
      to top,
      rgba(17, 21, 24, 0.55) 0%,
      rgba(17, 21, 24, 0) 42%
    );
}

/* Slightly softer scrim behind type so lettering can read brighter */
.hero--photo .hero-scrim--gradient {
  background: rgba(0, 0, 0, 0.7);
}

.hero-inner {
  position: relative;
  z-index: 2;
  max-width: 720px;
  width: 100%;
}

.hero-texture {
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='80' height='80' viewBox='0 0 80 80'%3E%3Ccircle cx='2' cy='2' r='1.5' fill='%233a5922' fill-opacity='0.07'/%3E%3C/svg%3E");
  opacity: 0.9;
  pointer-events: none;
}

.hero--photo .hero-texture {
  display: none;
}

.hero--photo .eyebrow {
  color: #fff4cf;
  text-shadow: 0 1px 3px rgba(17, 21, 24, 0.55);
}

.hero--photo .lede {
  color: rgba(255, 252, 248, 0.97);
  max-width: 52ch;
  text-shadow:
    0 0 28px rgba(255, 255, 255, 0.12),
    0 1px 14px rgba(17, 21, 24, 0.22);
}

.eyebrow {
  font-size: 0.8rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--terracotta);
  font-weight: 600;
  margin: 0 0 0.75rem;
}

.hero h1 {
  font-size: clamp(2.25rem, 5vw, 3.25rem);
  margin: 0 0 1rem;
  color: var(--ink-soft);
}

/* Must follow `.hero h1` (same base specificity) so photo-hero headline stays light */
.hero.hero--photo h1 {
  color: #ffffff;
  text-shadow:
    0 0 1px rgba(255, 255, 255, 0.45),
    0 0 52px rgba(255, 255, 255, 0.22),
    0 2px 28px rgba(17, 21, 24, 0.45);
}

.lede {
  font-size: 1.15rem;
  color: var(--muted);
  margin: 0 0 1.75rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.65rem 1.35rem;
  border-radius: 999px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}

.btn:active {
  transform: scale(0.98);
}

.btn-primary {
  background: linear-gradient(140deg, var(--terracotta) 0%, var(--terracotta-dark) 100%);
  color: var(--white);
  box-shadow: var(--shadow);
}

.btn-primary:hover {
  background: linear-gradient(140deg, var(--terracotta-dark) 0%, #512b28 100%);
  color: var(--white);
  transform: translateY(-1px);
}

.btn-ghost {
  background: rgba(255, 255, 255, 0.35);
  color: var(--ink);
  border-color: rgba(58, 89, 34, 0.4);
}

.btn-ghost:hover {
  border-color: var(--olive);
  color: var(--olive);
  background: rgba(58, 89, 34, 0.08);
}

/* Reusable premium CTA styles (used in hero + home CTA band) */
.btn.btn-hero-gold {
  background: linear-gradient(160deg, #a8860a 0%, var(--gold) 42%, #6d5a0e 100%);
  color: var(--white);
  border: none;
  text-shadow: 0 1px 2px rgba(17, 21, 24, 0.35);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.25) inset,
    0 16px 38px rgba(17, 21, 24, 0.28);
}

.btn.btn-hero-gold:hover {
  background: linear-gradient(160deg, #c4a724 0%, #b6990e 40%, #846d0c 100%);
  color: var(--white);
  border: none;
  text-shadow: 0 1px 3px rgba(17, 21, 24, 0.4);
  transform: translateY(-1px);
}

.btn.btn-hero-outline {
  background: rgba(27, 35, 41, 0.28);
  color: rgba(255, 252, 248, 0.98);
  border: 2px solid rgba(255, 250, 240, 0.78);
  box-shadow:
    0 0 0 1px rgba(17, 21, 24, 0.12),
    0 10px 28px rgba(17, 21, 24, 0.22);
}

.btn.btn-hero-outline:hover {
  background: rgba(255, 252, 248, 0.14);
  border-color: #fff;
  color: #fff;
  transform: translateY(-1px);
}

.btn-block {
  width: 100%;
}

.section {
  padding: clamp(2.5rem, 6vw, 4rem) 0;
}

.section-muted {
  background: linear-gradient(180deg, #eef3e5 0%, #f8fbf1 100%);
  border-block: 1px solid rgba(17, 21, 24, 0.07);
}

.page-hero {
  padding: clamp(2rem, 5vw, 3.5rem) 0 1rem;
}

.page-hero h1 {
  font-size: clamp(1.85rem, 4vw, 2.75rem);
  color: var(--olive);
  margin: 0 0 0.75rem;
}

.about-hero-split {
  display: grid;
  gap: 1.5rem;
  align-items: center;
}

@media (min-width: 800px) {
  .about-hero-split {
    grid-template-columns: minmax(240px, 0.42fr) minmax(0, 1fr);
    gap: 2rem 2.75rem;
    align-items: center;
  }
}

.about-hero-copy {
  min-width: 0;
}

.about-hero-copy .eyebrow {
  margin-top: 0;
}

.about-hero-copy .lede {
  margin-bottom: 0;
}

.about-hero-photo {
  margin: 0;
  padding: 0;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.about-hero-photo img {
  display: block;
  width: 100%;
  height: auto;
}

.split {
  display: grid;
  gap: 2rem;
  grid-template-columns: 1fr;
}

@media (min-width: 800px) {
  .split {
    grid-template-columns: 1fr 1fr;
    align-items: start;
  }
}

/* Contact — full-width form + call-aside */
.contact-layout {
  display: grid;
  gap: 2rem;
  align-items: start;
}

@media (min-width: 860px) {
  .contact-layout {
    grid-template-columns: minmax(0, 1fr) minmax(240px, 320px);
    gap: 2.5rem 3rem;
    align-items: start;
  }
}

.contact-form-col {
  min-width: 0;
}

.contact-callout {
  margin: 0;
  padding: 1.5rem 1.65rem;
  border-radius: var(--radius);
  background: var(--white);
  border: 1px solid rgba(17, 21, 24, 0.1);
  box-shadow: 0 10px 28px rgba(17, 21, 24, 0.08);
}

.contact-callout__heading {
  margin: 0 0 0.35rem;
  font-family: var(--font-display);
  font-size: clamp(1.15rem, 2.5vw, 1.35rem);
  font-weight: 600;
  color: var(--ink-soft);
  line-height: 1.3;
}

.contact-callout__lead {
  margin: 0 0 1rem;
  font-size: 1rem;
  color: var(--muted);
}

.contact-callout__phone {
  margin: 0;
}

.contact-callout__phone .phone-contact__number {
  font-size: 1.35rem;
}

.phone-contact__number {
  margin: 0;
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: 0.03em;
}

.phone-contact__link {
  color: var(--terracotta);
  text-decoration: none;
}

.phone-contact__link:hover {
  color: var(--terracotta-dark);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.phone-contact__note {
  margin: 0.35rem 0 0;
  font-size: 0.85rem;
  line-height: 1.4;
  color: var(--muted);
}

.deposit-pay-card .phone-contact {
  margin-top: 0.75rem;
}

.site-footer .phone-contact__link {
  color: #f5f8ea;
}

.site-footer .phone-contact__link:hover {
  color: #fff;
}

.site-footer .phone-contact__note {
  color: rgba(245, 248, 234, 0.72);
}

.checks {
  padding-left: 1.2rem;
  color: var(--muted);
}

.checks li {
  margin-bottom: 0.5rem;
}

.card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 1.5rem 1.75rem;
  box-shadow: var(--shadow);
  border: 1px solid rgba(17, 21, 24, 0.08);
}

.card-accent {
  background:
    radial-gradient(circle at 90% 12%, rgba(157, 130, 6, 0.11), transparent 34%),
    linear-gradient(145deg, var(--white) 0%, #f6f7f2 100%);
  border-color: rgba(157, 130, 6, 0.23);
}

.card-zelle {
  border-left: 4px solid var(--gold);
}

.cta-band {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 2rem 2.25rem;
  background:
    radial-gradient(circle at 0% 0%, rgba(157, 130, 6, 0.2), transparent 36%),
    linear-gradient(145deg, #243717 0%, var(--olive) 100%);
  color: var(--cream);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.cta-band h2 {
  color: var(--white);
  margin: 0 0 0.35rem;
}

.cta-band p {
  margin: 0;
  opacity: 0.92;
}

.cta-band .btn-primary {
  background: var(--gold);
  color: var(--ink);
}

.cta-band .btn-primary:hover {
  background: #b6990e;
  color: var(--ink);
}

.section-intro {
  color: var(--muted);
}

.feature-grid,
.steps-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  margin-top: 1.25rem;
}

@media (min-width: 760px) {
  .feature-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .steps-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.feature-card,
.step-card {
  background: var(--white);
  border: 1px solid rgba(17, 21, 24, 0.1);
  border-radius: var(--radius);
  padding: 1.15rem 1.25rem;
  box-shadow: 0 10px 24px rgba(17, 21, 24, 0.08);
}

.feature-card h3,
.step-card h3 {
  margin: 0.15rem 0 0.45rem;
  color: var(--ink-soft);
}

.feature-card p,
.step-card p {
  margin: 0;
}

.feature-label {
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--terracotta);
  font-weight: 700;
}

.step-number {
  font-family: var(--font-display);
  font-size: 1.7rem;
  color: var(--gold);
  line-height: 1;
  margin-bottom: 0.45rem;
}

.puppy-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 1.5rem;
  margin-top: 1.5rem;
}

.puppy-card {
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--white);
  box-shadow: var(--shadow);
  border: 1px solid rgba(17, 21, 24, 0.09);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.puppy-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 46px rgba(17, 21, 24, 0.19);
}

.puppy-card-link {
  text-decoration: none;
  color: inherit;
  display: block;
}

.puppy-card-image {
  aspect-ratio: 5 / 4;
  overflow: hidden;
  background: var(--cream-dark);
}

.puppy-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.puppy-card-image:has(.puppy-card-image__placeholder) {
  background: #f9fbf2;
}

.puppy-card-image img.puppy-card-image__placeholder {
  object-fit: contain;
}

.puppy-card-body {
  padding: 1rem 1.15rem 1.25rem;
}

.puppy-card-title {
  margin: 0 0 0.35rem;
  font-size: 1.2rem;
  color: var(--ink-soft);
}

.puppy-card-caption {
  margin: 0.35rem 0 0;
  font-size: 0.9rem;
  color: var(--muted);
}

.puppy-card-actions {
  margin: 0.85rem 0 0;
}

.puppy-card-actions .btn {
  margin: 0;
}

.puppy-card-actions .btn + .btn {
  margin-top: 0.5rem;
}

.badge {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.2rem 0.5rem;
  border-radius: 6px;
}

.badge-available {
  background: rgba(58, 89, 34, 0.18);
  color: var(--olive);
}

.badge-reserved {
  background: rgba(124, 66, 60, 0.2);
  color: var(--terracotta-dark);
}

.badge-sold {
  background: rgba(17, 21, 24, 0.15);
  color: var(--ink-soft);
}

.center {
  text-align: center;
  margin-top: 2rem;
}

.empty-state {
  text-align: center;
  color: var(--muted);
  padding: 2rem;
}

.prose h2 {
  margin-top: 2rem;
  color: var(--olive);
}

.prose-small {
  font-size: 0.95rem;
}

.form .field {
  margin-bottom: 1.1rem;
}

.form label {
  display: block;
  font-weight: 600;
  margin-bottom: 0.35rem;
  color: var(--ink-soft);
}

.form input[type="text"],
.form input[type="email"],
.form input[type="tel"],
.form textarea {
  width: 100%;
  padding: 0.6rem 0.75rem;
  border-radius: 8px;
  border: 1px solid rgba(17, 21, 24, 0.24);
  font-family: var(--font-body);
  font-size: 1rem;
  background: #fcfdf9;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.form input[type="text"]:focus,
.form input[type="email"]:focus,
.form input[type="tel"]:focus,
.form textarea:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(157, 130, 6, 0.16);
}

.form textarea {
  resize: vertical;
  min-height: 120px;
}

.field-error input,
.field-error textarea {
  border-color: var(--terracotta-dark);
}

.errorlist {
  margin: 0.35rem 0 0;
  padding-left: 1.1rem;
  color: var(--terracotta-dark);
  font-size: 0.9rem;
}

.hp-wrap {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.hp-field {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.zelle-payto {
  font-size: 1.15rem;
}

.muted {
  color: var(--muted);
}

/* —— Deposit page —— */

.deposit-page-hero .deposit-form-intro {
  margin: 0 0 0.35rem;
  color: var(--muted);
  font-size: clamp(1.02rem, 2.4vw, 1.08rem);
  line-height: 1.65;
}

.deposit-inquiry-form {
  margin-bottom: 0;
}

.deposit-honeypot {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.deposit-form-error:not([hidden]) {
  margin: 0 0 1rem;
  color: var(--accent, #b42318);
}

.deposit-pay-methods {
  margin-top: clamp(2.25rem, 5vw, 3rem);
}

.deposit-pay-methods__grid {
  display: grid;
  gap: 1.25rem;
  grid-template-columns: 1fr;
}

@media (min-width: 640px) {
  .deposit-pay-methods__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.deposit-pay-card h2 {
  margin-top: 0;
}

.upcoming-litters-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 1.75rem;
}

.upcoming-litters-list__title {
  font-size: clamp(1.2rem, 2.5vw, 1.45rem);
  margin: 0 0 0.35rem;
}

.upcoming-litter__puppy-grid {
  margin-top: 1rem;
}

.litter-go-home {
  margin: 0 0 1.25rem;
}

.litter-go-home__heading {
  margin: 0 0 0.25rem;
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--ink);
}

.litter-go-home__date {
  margin: 0;
  font-size: 1.05rem;
  color: var(--ink-soft);
}

.litter-go-home__date time {
  font-weight: inherit;
}

/* —— Booking (Calendly) —— */

.booking-page-hero__inner {
  max-width: none;
}

.booking-page-lede {
  margin-bottom: 0;
}

.booking-section {
  background: transparent;
  border: 0;
  padding-top: clamp(1rem, 3vw, 1.75rem);
  padding-bottom: clamp(2.75rem, 9vw, 4.75rem);
}

.booking-section > .wrap {
  width: min(1280px, 96vw);
}

.booking-stage {
  position: relative;
  padding-top: 0;
}

.booking-stage .calendly-inline-widget {
  width: 100%;
  min-height: 700px;
}

.booking-fallback {
  margin: 1rem 0 0;
  font-size: 0.9rem;
  text-align: center;
}

.booking-stage noscript .muted {
  margin-top: 0.85rem;
  text-align: center;
}

.empty-calendly code {
  font-size: 0.85em;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* —— Puppy gallery page —— */

.gallery-page-hero {
  position: relative;
  padding: clamp(2.75rem, 9vw, 5rem) 0 clamp(1.75rem, 5vw, 2.5rem);
  overflow: hidden;
}

.gallery-page-hero__inner {
  position: relative;
  margin-inline: clamp(0.85rem, 4vw, 0);
}

.gallery-page-hero h1 {
  position: relative;
  margin: 0 0 1rem;
  font-size: clamp(1.75rem, 4vw, 2.25rem);
  color: var(--olive);
}

.gallery-page-copy {
  position: relative;
}

.gallery-page-copy p {
  margin: 0 0 1rem;
  font-family: var(--font-body);
  font-size: 1.03rem;
  line-height: 1.65;
  color: var(--ink-soft);
}

.gallery-page-copy p:last-child {
  margin-bottom: 0;
}

.puppies-subsection-title {
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 3vw, 1.85rem);
  font-weight: 600;
  color: var(--olive);
  margin: 0.25rem 0 1rem;
  letter-spacing: -0.02em;
  line-height: 1.25;
}

.gallery-page-section {
  padding-bottom: clamp(2.75rem, 8vw, 4.5rem);
  position: relative;
}

.gallery-page-section::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.04;
  background-image:
    radial-gradient(rgba(17, 21, 24, 0.9) 0.85px, transparent 0.9px),
    radial-gradient(rgba(17, 21, 24, 0.9) 0.85px, transparent 0.9px);
  background-size: 18px 18px;
  background-position: 0 0, 9px 9px;
  pointer-events: none;
}

.gallery-masonry-wrap {
  position: relative;
  width: 100%;
  margin-top: 1.25rem;
}

.gallery-masonry {
  columns: 2;
  column-gap: clamp(0.55rem, 2vw, 0.95rem);
  padding-top: 0.5rem;
}

@media (min-width: 620px) {
  .gallery-masonry {
    columns: 3;
    column-gap: clamp(0.65rem, 2.2vw, 1rem);
  }
}

@media (min-width: 960px) {
  .gallery-masonry {
    columns: 4;
    column-gap: 1rem;
  }
}

@media (min-width: 1180px) {
  .gallery-masonry {
    columns: 5;
  }
}

.gallery-masonry-item {
  break-inside: avoid;
  margin-bottom: clamp(0.55rem, 2vw, 0.95rem);
}

.gallery-masonry-item:nth-child(3n + 1) .gallery-thumb {
  animation-delay: 0ms;
}

.gallery-masonry-item:nth-child(3n + 2) .gallery-thumb {
  animation-delay: 85ms;
}

.gallery-masonry-item:nth-child(3n) .gallery-thumb {
  animation-delay: 155ms;
}

@keyframes galleryReveal {
  from {
    opacity: 0;
    transform: translateY(14px) scale(0.97);
    filter: saturate(0.85);
  }

  to {
    opacity: 1;
    transform: translateY(0) scale(1);
    filter: saturate(1);
  }
}

@media (prefers-reduced-motion: reduce) {
  .gallery-thumb {
    animation: none !important;
    opacity: 1 !important;
    transition: none !important;
    transform: none !important;
  }
}

.gallery-thumb {
  appearance: none;
  border: 0;
  padding: 0;
  margin: 0;
  width: 100%;
  display: block;
  cursor: zoom-in;
  border-radius: 10px;
  overflow: hidden;
  position: relative;
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.52) inset,
    0 12px 32px rgba(17, 21, 24, 0.12);
  outline: none;
  background: rgba(255, 255, 255, 0.5);
  transition:
    transform 0.35s cubic-bezier(0.2, 0.72, 0.25, 1),
    box-shadow 0.35s ease,
    filter 0.35s ease;
  animation: galleryReveal 0.6s cubic-bezier(0.2, 0.72, 0.35, 1) both;
}

.gallery-thumb:focus-visible {
  outline: 3px solid var(--terracotta);
  outline-offset: 3px;
}

.gallery-thumb:hover {
  transform: translateY(-3px);
  filter: saturate(1.08);
  box-shadow:
    0 2px 0 rgba(255, 255, 255, 0.55) inset,
    0 18px 44px rgba(17, 21, 24, 0.18);
}

.gallery-thumb:active {
  transform: translateY(0) scale(0.988);
}

.gallery-thumb img {
  display: block;
  width: 100%;
  height: auto;
}

.gallery-thumb__shine {
  position: absolute;
  inset: -40%;
  opacity: 0;
  transition: opacity 0.45s ease, transform 0.45s ease;
  background: radial-gradient(circle at 30% 20%, rgba(255, 255, 255, 0.5), transparent 55%);
  mix-blend-mode: soft-light;
  transform: rotate(12deg);
  pointer-events: none;
}

.gallery-thumb:hover .gallery-thumb__shine,
.gallery-thumb:focus-visible .gallery-thumb__shine {
  opacity: 0.55;
  transform: rotate(18deg);
}

.gallery-noscript-note {
  margin-top: 1.5rem;
  font-size: 0.94rem;
  color: var(--muted);
}

body.gallery-lightbox-open {
  overflow: hidden;
}

.gallery-lightbox {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: grid;
  place-items: center;
  align-content: center;
  padding: env(safe-area-inset-top, 0) env(safe-area-inset-right, 0)
    env(safe-area-inset-bottom, 0) env(safe-area-inset-left, 0);
  background:
    radial-gradient(circle at 50% 20%, rgba(124, 66, 60, 0.22), transparent 45%),
    rgba(10, 12, 14, 0.88);
  backdrop-filter: blur(10px);
  cursor: zoom-out;
}

.gallery-lightbox[hidden] {
  display: none;
}

.gallery-lightbox__ambient {
  position: absolute;
  inset: -20%;
  background:
    radial-gradient(ellipse at 40% 0%, rgba(249, 251, 242, 0.08), transparent 50%);
  opacity: 0.9;
  pointer-events: none;
}

.gallery-lightbox__close {
  position: absolute;
  top: clamp(0.85rem, 4vw, 1.25rem);
  right: clamp(0.85rem, 4vw, 1.25rem);
  width: 2.85rem;
  height: 2.85rem;
  border-radius: 50%;
  border: 1px solid rgba(249, 251, 242, 0.28);
  background: rgba(17, 21, 24, 0.55);
  color: var(--cream);
  font-size: 1.6rem;
  line-height: 1;
  cursor: pointer;
  z-index: 5;
  display: grid;
  place-items: center;
  transition: background 0.2s ease, transform 0.2s ease;
}

.gallery-lightbox__close:hover,
.gallery-lightbox__close:focus-visible {
  background: rgba(124, 66, 60, 0.65);
}

.gallery-lightbox__close:focus-visible {
  outline: 2px solid var(--cream);
  outline-offset: 2px;
}

.gallery-lightbox__nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 4;
  border: 1px solid rgba(249, 251, 242, 0.22);
  background: rgba(17, 21, 24, 0.45);
  color: rgba(249, 251, 242, 0.95);
  width: clamp(44px, 9vw, 52px);
  height: clamp(72px, 18vw, 96px);
  border-radius: 10px;
  font-size: 1.85rem;
  line-height: 1;
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease;
}

.gallery-lightbox__nav:hover,
.gallery-lightbox__nav:focus-visible {
  background: rgba(124, 66, 60, 0.5);
}

.gallery-lightbox__nav:focus-visible {
  outline: 2px solid rgba(249, 251, 242, 0.75);
}

.gallery-lightbox__nav--prev {
  left: clamp(0.4rem, 4vw, 1.75rem);
}

.gallery-lightbox__nav--next {
  right: clamp(0.4rem, 4vw, 1.75rem);
}

.gallery-lightbox__frame {
  position: relative;
  z-index: 2;
  margin: 0;
  cursor: default;
}

.gallery-lightbox__img {
  max-width: min(92vw, 1100px);
  max-height: min(82vh, 900px);
  width: auto;
  height: auto;
  border-radius: 14px;
  border: 1px solid rgba(249, 251, 242, 0.16);
  box-shadow:
    0 34px 80px rgba(0, 0, 0, 0.45),
    0 0 0 1px rgba(17, 21, 24, 0.25);
}

/* Home mosaic preview strip */

.home-gallery-preview {
  list-style: none;
  margin: 1.75rem auto 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(136px, 1fr));
  gap: clamp(0.48rem, 2vw, 0.72rem);
}

@media (min-width: 720px) {
  .home-gallery-preview {
    grid-template-columns: repeat(3, 1fr);
  }
}

.home-gallery-preview__link {
  display: block;
  aspect-ratio: 1;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid rgba(17, 21, 24, 0.12);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.45) inset,
    0 12px 32px rgba(17, 21, 24, 0.12);
  text-decoration: none;
}

.home-gallery-preview__link:hover {
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.52) inset,
    0 18px 40px rgba(17, 21, 24, 0.18);
}

.home-gallery-preview__link img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.42s cubic-bezier(0.2, 0.72, 0.25, 1);
}

.home-gallery-preview__link:hover img,
.home-gallery-preview__link:focus-visible img {
  transform: scale(1.05);
}

.home-gallery-preview__link:focus-visible {
  outline: 3px solid var(--terracotta);
  outline-offset: 4px;
}

@media (prefers-reduced-motion: reduce) {
  .home-gallery-preview__link img {
    transition: none;
  }

  .home-gallery-preview__link:hover img {
    transform: none;
  }
}

.site-footer {
  margin-top: 3rem;
  padding: clamp(2.5rem, 5vw, 3.25rem) 0 clamp(2rem, 4vw, 2.75rem);
  background: #111518;
  color: #f2f6e8;
  font-family:
    system-ui,
    -apple-system,
    "Segoe UI",
    Roboto,
    "Helvetica Neue",
    Arial,
    sans-serif;
  font-size: 0.95rem;
}

.site-footer a {
  color: #f5f8ea;
}

.site-footer a:hover {
  color: #fff;
}

.footer-shell {
  box-sizing: border-box;
}

.footer-grid {
  display: grid;
  gap: 2rem 2.5rem;
  grid-template-columns: minmax(0, 1fr);
  align-items: start;
  justify-items: stretch;
}

.footer-grid > * {
  min-width: 0;
}

.footer-grid-spacer {
  display: none;
}

@media (min-width: 680px) {
  .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .footer-col--brand {
    grid-column: 1 / -1;
    max-width: none;
  }
}

@media (min-width: 1024px) {
  .footer-grid {
    grid-template-columns:
      minmax(0, 1.25fr)
      minmax(1.25rem, 2.75rem)
      minmax(0, 1fr)
      minmax(0, 1fr);
    gap: 2rem 2rem;
  }

  .footer-grid-spacer {
    display: block;
  }

  .footer-col--brand {
    grid-column: auto;
    max-width: none;
  }
}

.footer-logo {
  display: inline-block;
  margin: 0 0 1.25rem;
  text-decoration: none;
  line-height: 0;
}

.footer-logo:focus-visible {
  outline: 2px solid rgba(245, 248, 234, 0.85);
  outline-offset: 4px;
  border-radius: 4px;
}

.footer-logo img {
  display: block;
  height: clamp(42px, 5vw, 58px);
  width: auto;
  object-fit: contain;
}

.footer-lede {
  margin: 0 0 1.5rem;
  line-height: 1.65;
  color: rgba(242, 246, 232, 0.92);
  font-size: 0.93rem;
}

.footer-heading {
  margin: 0 0 0.85rem;
  font-family: inherit;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.95);
}

.footer-contact {
  margin-top: 0.25rem;
}

.footer-contact p {
  margin: 0 0 0.4rem;
  line-height: 1.5;
}

.footer-contact p:last-child {
  margin-bottom: 0;
}

.footer-muted {
  font-size: 0.88rem;
  color: rgba(242, 246, 232, 0.78);
  margin-top: 0.65rem !important;
}

.footer-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.42rem;
}

.footer-list a {
  text-decoration: none;
  font-weight: 550;
}

.footer-list a:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.footer-rule {
  height: 0;
  margin: 2rem 0 1.15rem;
  border: 0;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
}

.footer-copy {
  margin: 0;
  font-size: 0.82rem;
  opacity: 0.78;
  text-align: center;
  letter-spacing: 0.02em;
}

.footer-copy__sep {
  opacity: 0.65;
}

.footer-copy__credit a {
  text-decoration: underline;
  text-underline-offset: 2px;
}

.footer-copy__credit a:hover {
  opacity: 1;
}

/* Policies placeholder page */

.policies-page .notice-placeholder {
  padding: 1rem 1.15rem;
  border-radius: var(--radius);
  background: rgba(157, 130, 6, 0.12);
  border: 1px solid rgba(157, 130, 6, 0.35);
}

.policies-toc {
  margin: 2rem 0 2.5rem;
  padding: 1.25rem 1.5rem;
  background: var(--white);
  border-radius: var(--radius);
  border: 1px solid rgba(17, 21, 24, 0.1);
  box-shadow: var(--shadow);
}

.policies-toc__title {
  font-size: 1rem;
  margin: 0 0 0.75rem;
  color: var(--olive);
}

.policies-toc ul {
  margin: 0;
  padding-left: 1.2rem;
}

.policies-toc li {
  margin-bottom: 0.35rem;
}

.policies-page h2 {
  scroll-margin-top: 5.5rem;
}

/* Parent dog cards & detail */

.parent-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.35rem;
  margin-top: 1.75rem;
}

@media (min-width: 620px) {
  .parent-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 960px) {
  .parent-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.parent-card__link {
  display: flex;
  flex-direction: column;
  height: 100%;
  text-decoration: none;
  color: inherit;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--white);
  border: 1px solid rgba(17, 21, 24, 0.1);
  box-shadow: 0 10px 28px rgba(17, 21, 24, 0.1);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.parent-card__link:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 44px rgba(17, 21, 24, 0.16);
}

.parent-card__photo {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--cream-dark);
}

.parent-card__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.parent-card__photo--placeholder {
  background:
    linear-gradient(135deg, rgba(58, 89, 34, 0.12), rgba(124, 66, 60, 0.1));
}

.parent-card__body {
  padding: 1.1rem 1.25rem 1.35rem;
}

.parent-card__meta {
  font-size: 0.92rem;
  color: var(--muted);
  margin: 0.35rem 0 0.75rem;
}

.parent-card__cta {
  margin: 0;
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--terracotta);
}

.parent-detail-hero {
  display: grid;
  gap: 1.75rem;
  align-items: center;
}

.parent-profiles {
  display: grid;
  gap: 2rem;
  margin-top: 1.75rem;
}

.parent-profile {
  padding: 1rem;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.66);
  border: 1px solid rgba(17, 21, 24, 0.08);
}

@media (min-width: 800px) {
  .parent-detail-hero {
    grid-template-columns: minmax(240px, 420px) 1fr;
  }

  .parent-detail-hero--reverse .parent-detail-photo {
    order: 2;
  }

  .parent-detail-hero--reverse .parent-detail-meta {
    order: 1;
  }
}

.parent-detail-photo {
  overflow: hidden;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.parent-detail-photo img {
  display: block;
  width: 100%;
  height: clamp(260px, 42vw, 400px);
  object-fit: cover;
  object-position: center;
}

.parent-detail-photo--charlotte img {
  object-position: top;
}

.parent-detail-meta {
  font-size: 1rem;
}

.clearance-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.clearance-list li {
  padding: 0.85rem 0;
  border-bottom: 1px solid rgba(17, 21, 24, 0.1);
}

.clearance-list li:last-child {
  border-bottom: none;
}

.lede-accent {
  font-size: 1.02rem;
  margin-top: -0.5rem;
}

.small-before-form {
  font-size: 0.95rem;
  color: var(--muted);
  margin: 0 0 1rem;
}

.field-help {
  margin: 0.35rem 0 0;
  font-size: 0.9rem;
}

.footer-note-card {
  margin: 1.25rem 0 0;
  font-size: 0.9rem;
}

/* —— Owner portal —— */

body.owner-app {
  --owner-bg: #e4e9de;
  --owner-surface: #ffffff;
  --owner-border: rgba(17, 21, 24, 0.1);
  --owner-topbar-bg: #1b2329;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  background: var(--owner-bg);
  background-image: none;
  color: var(--ink);
}

body.owner-app h1,
body.owner-app h2,
body.owner-app h3,
body.owner-app .owner-page-title,
body.owner-app .owner-dash-section__title {
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  letter-spacing: -0.01em;
}

body.owner-app a:not(.btn):not(.owner-topbar__link):not(.owner-dash-card) {
  color: var(--olive);
}

body.owner-app a:not(.btn):not(.owner-topbar__link):not(.owner-dash-card):hover {
  color: var(--olive-light);
}

body.owner-app a.btn-primary,
body.owner-app button.btn-primary {
  color: var(--white);
}

body.owner-app a.btn-primary:hover,
body.owner-app button.btn-primary:hover {
  color: var(--white);
}

body.owner-app a.owner-topbar__link,
body.owner-app a.owner-topbar__link:hover {
  color: #ffffff;
}

.owner-app-shell {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.owner-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.85rem 1.5rem;
  background: var(--owner-topbar-bg);
  color: var(--cream);
  border-bottom: 1px solid rgba(0, 0, 0, 0.2);
}

.owner-topbar__logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  text-decoration: none;
}

.owner-topbar__logo img {
  display: block;
  width: auto;
  height: 2.5rem;
}

.owner-topbar__actions {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.owner-topbar__link {
  color: #ffffff;
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
}

.owner-topbar__link:hover {
  color: #ffffff;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.owner-topbar__logout {
  margin: 0;
  padding: 0.45rem 0.85rem;
  font: inherit;
  font-size: 0.875rem;
  color: var(--cream);
  background: transparent;
  border: 1px solid rgba(249, 251, 242, 0.35);
  border-radius: 6px;
  cursor: pointer;
}

.owner-topbar__logout:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(249, 251, 242, 0.55);
}

.owner-layout {
  display: flex;
  flex: 1;
  width: 100%;
  align-items: stretch;
}

.owner-sidebar {
  flex: 0 0 240px;
  padding: 1.25rem 0 2rem;
  background: var(--owner-surface);
  border-right: 1px solid var(--owner-border);
  min-height: calc(100vh - 4.25rem);
}

.owner-sidebar__heading {
  margin: 0 0 0.5rem;
  padding: 0 1.25rem;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

.owner-sidebar__link {
  display: block;
  padding: 0.65rem 1.25rem;
  color: var(--ink-soft);
  text-decoration: none;
  font-size: 0.95rem;
  border-left: 3px solid transparent;
}

.owner-sidebar__link:hover {
  background: rgba(58, 89, 34, 0.06);
  color: var(--olive);
}

.owner-sidebar__link.is-active {
  background: rgba(58, 89, 34, 0.1);
  border-left-color: var(--olive);
  color: var(--olive);
  font-weight: 600;
}

.owner-main {
  flex: 1;
  min-width: 0;
  padding: 1.75rem clamp(1.25rem, 3vw, 2.25rem) 3rem;
}

body.owner-app .owner-main > .form {
  max-width: 40rem;
  padding: 1.5rem 1.75rem;
  background: var(--owner-surface);
  border: 1px solid var(--owner-border);
  border-radius: 10px;
  box-shadow: 0 1px 3px rgba(17, 21, 24, 0.06);
}

body.owner-app .owner-litter-form {
  max-width: none;
}

.owner-page-header {
  margin-bottom: 1.75rem;
}

.owner-page-lede {
  margin: 0.35rem 0 0;
  color: var(--muted);
  font-size: 1rem;
  max-width: 42rem;
}

.owner-dash-stats {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 1rem;
  margin-bottom: 2rem;
}

.owner-stat-card {
  margin: 0;
  padding: 1.15rem 1.25rem;
  background: var(--owner-surface);
  border: 1px solid var(--owner-border);
  border-radius: 10px;
  box-shadow: 0 1px 3px rgba(17, 21, 24, 0.06);
}

.owner-stat-card__label {
  margin: 0 0 0.35rem;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--muted);
}

.owner-stat-card__value {
  margin: 0;
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--olive);
  line-height: 1.2;
}

.owner-stat-card__value--text {
  font-size: 1.15rem;
  font-weight: 600;
}

.owner-dash-section__title {
  margin: 0 0 1rem;
  font-size: 1rem;
  font-weight: 700;
  color: var(--ink-soft);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.owner-dash-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1rem;
}

.owner-dash-card {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  padding: 1.25rem 1.35rem;
  background: var(--owner-surface);
  border: 1px solid var(--owner-border);
  border-radius: 10px;
  text-decoration: none;
  color: inherit;
  box-shadow: 0 1px 3px rgba(17, 21, 24, 0.06);
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.owner-dash-card:hover {
  border-color: rgba(58, 89, 34, 0.35);
  box-shadow: 0 4px 14px rgba(17, 21, 24, 0.08);
  color: inherit;
}

.owner-dash-card--muted {
  background: #f6f8f2;
}

.owner-dash-card__title {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--olive);
}

.owner-dash-card__desc {
  font-size: 0.9rem;
  line-height: 1.5;
  color: var(--muted);
  flex: 1;
}

.owner-dash-card__cta {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--terracotta);
}

.owner-login-shell {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem 1.25rem;
}

.owner-login-card {
  width: min(100%, 24rem);
  padding: 2rem 1.75rem;
  background: var(--owner-surface);
  border: 1px solid var(--owner-border);
  border-radius: 12px;
  box-shadow: 0 8px 32px rgba(17, 21, 24, 0.1);
}

.owner-login-card__badge {
  display: inline-block;
  margin: 0 0 0.75rem;
  padding: 0.2rem 0.55rem;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  background: var(--olive);
  color: var(--cream);
  border-radius: 4px;
}

.owner-login-card__title {
  margin: 0 0 1.25rem;
  font-size: 1.5rem;
  color: var(--ink-soft);
}

.owner-login-card__back {
  margin: 1.25rem 0 0;
  font-size: 0.9rem;
  text-align: center;
}

@media (max-width: 768px) {
  .owner-layout {
    flex-direction: column;
  }

  .owner-sidebar {
    flex: none;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.25rem 0.5rem;
    padding: 0.75rem 1rem;
    border-right: none;
    border-bottom: 1px solid var(--owner-border);
  }

  .owner-sidebar__heading {
    width: 100%;
    padding: 0 0 0.25rem;
  }

  .owner-sidebar__link {
    padding: 0.45rem 0.75rem;
    border-left: none;
    border-radius: 6px;
    font-size: 0.875rem;
  }

  .owner-sidebar__link.is-active {
    border-left: none;
  }
}

.owner-section {
  padding-top: 1.5rem;
  padding-bottom: 3rem;
}

.owner-page-title {
  font-size: clamp(1.5rem, 2.5vw, 1.85rem);
  margin: 0;
  color: var(--ink-soft);
  font-weight: 700;
}

.owner-subheading {
  font-size: 1.25rem;
  margin: 2rem 0 1rem;
  color: var(--olive);
}

.narrow-wrap {
  max-width: 28rem;
}

.owner-login-brand {
  font-family: var(--font-display, serif);
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--olive);
}

.owner-header-inner {
  flex-wrap: wrap;
  gap: 0.75rem;
}

.owner-nav {
  align-items: center;
  gap: 0.5rem 1rem;
}

.owner-logout-form {
  display: inline-flex;
  margin: 0;
}

.owner-logout-form button {
  margin: 0;
}

.owner-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1rem;
}

.owner-dash-list {
  list-style: none;
  padding: 0;
  margin: 1.5rem 0 0;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

body.owner-app .owner-table {
  background: var(--owner-surface);
  border: 1px solid var(--owner-border);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 1px 3px rgba(17, 21, 24, 0.06);
}

.owner-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 1rem;
  font-size: 0.95rem;
}

.owner-table th,
.owner-table td {
  text-align: left;
  padding: 0.65rem 0.75rem;
  border-bottom: 1px solid rgba(17, 21, 24, 0.12);
}

.owner-table th {
  font-weight: 600;
  color: var(--ink-soft);
  background: rgba(157, 130, 6, 0.08);
}

.owner-row-muted td {
  color: var(--muted);
}

.owner-filter-row {
  margin: 0 0 1rem;
}

.owner-filter-row a {
  margin-right: 0.75rem;
}

.owner-filter-active {
  font-weight: 600;
  text-decoration: underline;
}

.owner-pagination {
  margin-top: 1.25rem;
  display: flex;
  gap: 1rem;
  align-items: center;
}

.owner-formset {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin-bottom: 1.5rem;
}

.owner-formset-row {
  padding: 1rem 1.1rem;
  border-radius: var(--radius, 12px);
  border: 1px solid rgba(17, 21, 24, 0.12);
  background: #fcfdf9;
}

.field-inline-delete {
  margin-bottom: 0.75rem;
}

.owner-checkbox-label {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 600;
}

.owner-messages {
  list-style: none;
  padding: 0;
  margin: 0 0 1.25rem;
}

.owner-message {
  padding: 0.65rem 0.85rem;
  border-radius: 8px;
  margin-bottom: 0.5rem;
  background: rgba(157, 130, 6, 0.12);
  color: var(--ink);
}

.owner-message--error {
  background: rgba(176, 74, 50, 0.12);
  color: var(--terracotta-dark);
}

.owner-main .form input[type="datetime-local"],
.owner-main .form input[type="date"],
.owner-main .form input[type="number"],
.owner-main .form select,
.owner-section .form input[type="datetime-local"],
.owner-section .form input[type="date"],
.owner-section .form input[type="number"],
.owner-section .form select {
  width: 100%;
  max-width: 100%;
  padding: 0.6rem 0.75rem;
  border-radius: 8px;
  border: 1px solid rgba(17, 21, 24, 0.24);
  font-family: var(--font-body);
  font-size: 1rem;
  background: #fcfdf9;
}

.deposit-puppy-select {
  width: 100%;
  max-width: 28rem;
  padding: 0.6rem 0.75rem;
  border-radius: 8px;
  border: 1px solid rgba(17, 21, 24, 0.24);
  font-family: var(--font-body);
  font-size: 1rem;
  background: #fcfdf9;
}

.deposit-puppy-select:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(157, 130, 6, 0.16);
}

.owner-main .form input[type="file"],
.owner-section .form input[type="file"] {
  font-size: 0.95rem;
}

.owner-login-form .owner-auth-input {
  width: 100%;
  padding: 0.6rem 0.75rem;
  border-radius: 8px;
  border: 1px solid rgba(17, 21, 24, 0.24);
  font-family: var(--font-body);
  font-size: 1rem;
  background: #fcfdf9;
}

.owner-login-form .owner-auth-input:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(157, 130, 6, 0.16);
}

.owner-form-errors {
  margin-bottom: 1rem;
}

.owner-lede-sub {
  margin-bottom: 1.5rem;
}

.owner-litter-form .owner-accordion {
  margin-bottom: 1rem;
  border-radius: var(--radius, 12px);
  border: 1px solid rgba(17, 21, 24, 0.14);
  background: #fcfdf9;
  overflow: hidden;
}

.owner-litter-form .owner-accordion__summary {
  cursor: pointer;
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.35rem 1rem;
  padding: 0.9rem 1rem;
  font-weight: 600;
  color: var(--olive);
  background: rgba(157, 130, 6, 0.1);
}

.owner-litter-form .owner-accordion__summary::-webkit-details-marker {
  display: none;
}

.owner-litter-form .owner-accordion__title {
  font-size: 1.05rem;
}

.owner-litter-form .owner-accordion__hint {
  font-weight: 400;
  font-size: 0.92rem;
}

.owner-litter-form .owner-accordion__body {
  padding: 1rem 1.1rem 1.25rem;
  border-top: 1px solid rgba(17, 21, 24, 0.08);
}

.owner-help {
  margin: 0 0 1rem;
  font-size: 0.95rem;
  line-height: 1.55;
}

.owner-add-puppy-wrap {
  margin: 0 0 1rem;
}

.owner-puppy-stack {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.owner-puppy-card {
  border-radius: var(--radius, 12px);
  border: 1px solid rgba(17, 21, 24, 0.12);
  background: #fffefb;
}

.owner-puppy-card__summary {
  cursor: pointer;
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.4rem 0.75rem;
  padding: 0.65rem 0.85rem;
  font-weight: 600;
  color: var(--ink-soft);
}

.owner-puppy-card__summary::-webkit-details-marker {
  display: none;
}

.owner-puppy-card__title {
  flex: 1 1 auto;
  min-width: 6rem;
}

.owner-puppy-card__badge {
  font-size: 0.82rem;
  font-weight: 600;
  padding: 0.15rem 0.5rem;
  border-radius: 999px;
  background: rgba(157, 130, 6, 0.18);
  color: var(--olive);
}

.owner-puppy-card__warn {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--terracotta-dark);
}

.owner-puppy-card__body {
  padding: 0.75rem 0.9rem 1rem;
  border-top: 1px solid rgba(17, 21, 24, 0.08);
}

.owner-puppy-delete {
  padding-bottom: 0.5rem;
  margin-bottom: 0.75rem;
  border-bottom: 1px dashed rgba(17, 21, 24, 0.12);
}

.owner-puppy-delete label {
  display: inline;
  font-weight: 500;
  margin-left: 0.35rem;
}

.owner-form-actions {
  margin-top: 1.5rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: center;
}
