/* ==========================================================================
   Little Paws By Miles — Stylesheet
   
   BRAND PALETTE (per Brand Guidelines Edition 01, April 2026)
   - Cream:       #F5EFE6  primary background
   - Deep cream:  #E8DFCA  secondary surface / cards
   - Brown:       #926440  logo brown — headings, warm accents
   - Brown soft:  #B9906D  hover / soft accent
   - Blue:        #6D94C5  action blue — buttons, links, CTAs
   - Blue deep:   #4F7AB1  button hover
   - Pale blue:   #CBDCEB  soft highlight / info panels
   - Charcoal:    #3A3633  body text
   - Muted:       #7A7268  secondary text
   - Border:      #E8DFCA  soft borders (matches deep cream)

   The headings use brown, body copy uses charcoal, and blue is reserved
   for genuine calls-to-action. This keeps the palette warm and subtle.
   ========================================================================== */

/* ---------- Reset & Base ---------- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --cream: #F5EFE6;
  --cream-deep: #E8DFCA;
  --brown: #926440;
  --brown-soft: #B9906D;
  --brown-deep: #7A5234;
  --blue: #6D94C5;
  --blue-deep: #4F7AB1;
  --pale-blue: #CBDCEB;
  --charcoal: #3A3633;
  --grey: #7A7268;
  --border: #E8DFCA;

  /* Legacy aliases — kept so old references still work while we migrate.
     These all point at the new palette, so no visual effect. */
  --sage: var(--brown);
  --sage-deep: var(--brown-deep);
  --terracotta: var(--blue);
  --terracotta-deep: var(--blue-deep);

  --shadow-soft: 0 2px 12px rgba(58, 54, 51, 0.06);
  --shadow-medium: 0 8px 24px rgba(58, 54, 51, 0.08);
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --font-display: 'Fraunces', Georgia, serif;
  --font-body: 'DM Sans', -apple-system, BlinkMacSystemFont, sans-serif;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  background: var(--cream);
  color: var(--charcoal);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* ---------- Typography ---------- */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 500;
  line-height: 1.2;
  color: var(--brown);
  letter-spacing: -0.01em;
}

h1 {
  font-size: clamp(2.25rem, 5vw, 3.75rem);
  font-weight: 400;
}

h2 {
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
  font-weight: 400;
}

h3 {
  font-size: clamp(1.25rem, 2vw, 1.5rem);
}

p {
  margin-bottom: 1rem;
  color: var(--charcoal);
}

a {
  color: var(--sage-deep);
  text-decoration: none;
  transition: color 0.2s ease;
}

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

.accent {
  color: var(--terracotta);
  font-style: italic;
}

.eyebrow {
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--sage-deep);
  display: inline-block;
  margin-bottom: 1rem;
}

/* ---------- Layout ---------- */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.container-narrow {
  max-width: 820px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

section {
  padding: 4rem 0;
}

@media (min-width: 768px) {
  section {
    padding: 6rem 0;
  }
}

/* ---------- Header & Navigation ---------- */
.site-header {
  position: sticky;
  top: 0;
  background: rgba(245, 239, 230, 0.95);  /* new cream */
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
  z-index: 100;
}

.nav-wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.5rem;
  max-width: 1200px;
  margin: 0 auto;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
}

.logo-img {
  display: block;
  height: 40px;
  width: auto;
  object-fit: contain;
}

@media (max-width: 600px) {
  .logo-img { height: 32px; }
}

.logo-mark {
  /* Legacy — retained as harmless fallback */
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--brown);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--cream);
  font-size: 1.1rem;
}

.logo-text {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 500;
  color: var(--brown);
  letter-spacing: -0.01em;
}

.nav-menu {
  display: none;
  list-style: none;
  gap: 2rem;
  align-items: center;
}

.nav-menu a {
  color: var(--charcoal);
  font-size: 0.95rem;
  font-weight: 400;
  position: relative;
  padding: 0.5rem 0;
}

.nav-menu a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: var(--terracotta);
  transform: scaleX(0);
  transition: transform 0.25s ease;
  transform-origin: left;
}

.nav-menu a:hover::after,
.nav-menu a.active::after {
  transform: scaleX(1);
}

.nav-menu a.active {
  color: var(--terracotta-deep);
}

.nav-toggle {
  display: flex;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.nav-toggle span {
  width: 22px;
  height: 2px;
  background: var(--charcoal);
  border-radius: 2px;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.nav-toggle.active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.nav-toggle.active span:nth-child(2) {
  opacity: 0;
}
.nav-toggle.active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

@media (min-width: 900px) {
  .nav-menu {
    display: flex;
  }
  .nav-toggle {
    display: none;
  }
}

/* Mobile nav drawer */
.mobile-nav {
  display: none;
  background: var(--cream);
  border-top: 1px solid var(--border);
  padding: 1rem 1.5rem 1.5rem;
}

.mobile-nav.open {
  display: block;
}

.mobile-nav ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.mobile-nav a {
  color: var(--charcoal);
  display: block;
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--border);
  font-size: 1rem;
}

.mobile-nav li:last-child a {
  border-bottom: none;
}

@media (min-width: 900px) {
  .mobile-nav {
    display: none !important;
  }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.85rem 1.75rem;
  border-radius: 999px;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 500;
  text-decoration: none;
  cursor: pointer;
  border: none;
  transition: transform 0.2s ease, background-color 0.2s ease, box-shadow 0.2s ease;
  white-space: nowrap;
}

.btn-primary {
  background: var(--terracotta);
  color: var(--cream);
}

.btn-primary:hover {
  background: var(--terracotta-deep);
  color: var(--cream);
  transform: translateY(-1px);
  box-shadow: var(--shadow-medium);
}

.btn-secondary {
  background: var(--sage);
  color: var(--cream);
}

.btn-secondary:hover {
  background: var(--sage-deep);
  color: var(--cream);
  transform: translateY(-1px);
  box-shadow: var(--shadow-medium);
}

.btn-outline {
  background: transparent;
  color: var(--charcoal);
  border: 1.5px solid var(--border);
}

.btn-outline:hover {
  background: var(--cream-deep);
  color: var(--charcoal);
  border-color: var(--sage);
}

.btn-small {
  padding: 0.6rem 1.25rem;
  font-size: 0.85rem;
}

/* ---------- Hero ---------- */
.hero {
  padding: 3rem 0 4rem;
  text-align: center;
  background: linear-gradient(180deg, var(--cream-deep) 0%, var(--cream) 100%);
  position: relative;
  overflow: hidden;
}

.hero::before,
.hero::after {
  content: '';
  position: absolute;
  border-radius: 50%;
  opacity: 0.15;
  pointer-events: none;
}

.hero::before {
  width: 300px;
  height: 300px;
  background: var(--sage);
  top: -100px;
  right: -80px;
  filter: blur(60px);
}

.hero::after {
  width: 250px;
  height: 250px;
  background: var(--terracotta);
  bottom: -80px;
  left: -60px;
  filter: blur(60px);
}

.hero > * {
  position: relative;
  z-index: 1;
}

.hero h1 {
  max-width: 800px;
  margin: 0 auto 1.25rem;
}

.hero-tagline {
  font-size: 1.125rem;
  color: var(--grey);
  max-width: 560px;
  margin: 0 auto 2rem;
}

.hero-buttons {
  display: flex;
  gap: 0.75rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* Subtle page hero (for inner pages) */
.page-hero {
  padding: 3rem 0 2rem;
  text-align: center;
  border-bottom: 1px solid var(--border);
}

.page-hero p {
  color: var(--grey);
  max-width: 600px;
  margin: 0.75rem auto 0;
}

/* ---------- Section headers ---------- */
.section-header {
  text-align: center;
  margin-bottom: 3rem;
}

.section-header p {
  color: var(--grey);
  max-width: 560px;
  margin: 0.5rem auto 0;
}

/* ---------- Breed/feature cards grid ---------- */
.breed-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

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

.breed-card {
  background: var(--cream-deep);
  border-radius: var(--radius-md);
  padding: 2rem 1.5rem;
  text-align: center;
  border: 1px solid var(--border);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.breed-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-medium);
}

.breed-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 1rem;
  border-radius: 50%;
  background: var(--cream);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.75rem;
  border: 1px solid var(--border);
}

.breed-card h3 {
  margin-bottom: 0.5rem;
}

.breed-card p {
  font-size: 0.95rem;
  color: var(--grey);
  margin-bottom: 0;
}

/* ---------- Cat grid (Meet the Cats) ---------- */
.cat-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 1.75rem;
}

.cat-card {
  background: var(--cream);
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--border);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  text-decoration: none;
  display: flex;
  flex-direction: column;
}

.cat-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-medium);
}

.cat-card-image {
  aspect-ratio: 1 / 1;
  background: var(--cream-deep);
  overflow: hidden;
  position: relative;
}

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

/* Placeholder when no image is present */
.cat-card-image.placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--sage);
  font-size: 3rem;
  font-family: var(--font-display);
}

.cat-card-body {
  padding: 1.25rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  flex: 1;
}

.cat-card-body h3 {
  font-size: 1.35rem;
  color: var(--charcoal);
  margin: 0;
}

.cat-card-breed {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--sage-deep);
  font-weight: 500;
}

.cat-card-role {
  display: inline-block;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 0.25rem 0.75rem;
  border-radius: 999px;
  background: var(--cream-deep);
  color: var(--grey);
  align-self: center;
  margin-top: 0.25rem;
}

.cat-card-body .btn {
  margin-top: 1rem;
  align-self: center;
}

/* Group heading for cat sections */
.cat-group-heading {
  margin-bottom: 1.5rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: baseline;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.cat-group-heading h2 {
  margin: 0;
}

.cat-group-heading span {
  color: var(--grey);
  font-size: 0.9rem;
}

.cat-group {
  margin-bottom: 4rem;
}

/* ---------- Individual cat profile page ---------- */
.cat-profile {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  margin-bottom: 4rem;
}

@media (min-width: 900px) {
  .cat-profile {
    grid-template-columns: 1.1fr 1fr;
    gap: 4rem;
    align-items: start;
  }
}

.cat-gallery {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.75rem;
}

.cat-gallery-item {
  aspect-ratio: 1 / 1;
  background: var(--cream-deep);
  border-radius: var(--radius-sm);
  overflow: hidden;
  border: 1px solid var(--border);
}

.cat-gallery-item:first-child {
  grid-column: span 2;
  aspect-ratio: 4 / 3;
}

.cat-gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.cat-gallery-item.placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--sage);
  font-size: 2.5rem;
  font-family: var(--font-display);
}

.cat-details h1 {
  margin-bottom: 0.5rem;
}

.cat-details-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
}

.cat-details-meta span {
  display: inline-block;
  padding: 0.3rem 0.85rem;
  border-radius: 999px;
  background: var(--cream-deep);
  color: var(--charcoal);
  font-size: 0.8rem;
  border: 1px solid var(--border);
}

.cat-details-section {
  margin-bottom: 1.75rem;
}

.cat-details-section h3 {
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--sage-deep);
  font-family: var(--font-body);
  font-weight: 500;
  margin-bottom: 0.5rem;
}

.back-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.9rem;
  color: var(--grey);
  margin-bottom: 1.5rem;
}

.back-link:hover {
  color: var(--sage-deep);
}

/* ---------- Kittens grid ---------- */
.kitten-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1.75rem;
}

.kitten-card {
  background: var(--cream);
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.kitten-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-medium);
}

.kitten-card-image {
  aspect-ratio: 1 / 1;
  background: var(--cream-deep);
  position: relative;
  overflow: hidden;
}

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

.kitten-card-image.placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
  color: var(--sage);
  font-family: var(--font-display);
}

.kitten-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  background: var(--sage);
  color: var(--cream);
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 0.25rem 0.75rem;
  border-radius: 999px;
}

.kitten-badge.reserved {
  background: var(--terracotta);
}

.kitten-card-body {
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  flex: 1;
}

.kitten-card-body h3 {
  font-size: 1.25rem;
  margin: 0;
}

.kitten-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin: 0.25rem 0 0.5rem;
}

.kitten-meta span {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--grey);
  background: var(--cream-deep);
  padding: 0.2rem 0.6rem;
  border-radius: 999px;
}

.kitten-price {
  font-family: var(--font-display);
  font-size: 1.25rem;
  color: var(--terracotta-deep);
  margin-top: auto;
  padding-top: 0.5rem;
}

.kitten-card .btn {
  margin-top: 0.75rem;
}

/* Empty state */
.empty-state {
  text-align: center;
  padding: 3rem 1.5rem;
  background: var(--cream-deep);
  border-radius: var(--radius-lg);
  border: 1px dashed var(--border);
}

.empty-state-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
}

.empty-state h3 {
  margin-bottom: 0.5rem;
}

.empty-state p {
  color: var(--grey);
  max-width: 480px;
  margin: 0 auto 1.5rem;
}

/* ---------- Upcoming litters ---------- */
.litter-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  max-width: 780px;
  margin: 0 auto;
}

.litter-card {
  background: var(--cream-deep);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  border: 1px solid var(--border);
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  align-items: center;
}

@media (min-width: 640px) {
  .litter-card {
    grid-template-columns: auto 1fr auto;
    gap: 1.5rem;
  }
}

.litter-breed {
  font-family: var(--font-display);
  font-size: 1.35rem;
  color: var(--charcoal);
}

.litter-info {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  font-size: 0.95rem;
  color: var(--grey);
}

.litter-info strong {
  color: var(--charcoal);
  font-weight: 500;
}

/* ---------- Stud services ---------- */
.stud-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  margin-bottom: 3rem;
}

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

.stud-card {
  background: var(--cream-deep);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
}

.stud-card-image {
  aspect-ratio: 1 / 1;
  background: var(--cream);
  overflow: hidden;
}

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

.stud-card-image.placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 4rem;
  color: var(--sage);
  font-family: var(--font-display);
}

.stud-card-body {
  padding: 1.75rem;
}

.stud-card-body h3 {
  font-size: 1.6rem;
  margin-bottom: 0.25rem;
}

.stud-card-breed {
  display: inline-block;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--sage-deep);
  margin-bottom: 1rem;
}

.service-details {
  background: var(--cream-deep);
  border-radius: var(--radius-lg);
  padding: 2rem;
  margin-bottom: 2rem;
}

.service-details h3 {
  margin-bottom: 1rem;
}

.service-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.service-list li {
  padding-left: 1.75rem;
  position: relative;
}

.service-list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  top: 0;
  color: var(--sage);
  font-weight: bold;
}

.pricing-note {
  background: var(--cream);
  border-left: 3px solid var(--terracotta);
  padding: 1rem 1.25rem;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  margin: 1.5rem 0;
  font-size: 0.95rem;
}

.pricing-note strong {
  color: var(--terracotta-deep);
}

.booking-notice {
  background: var(--cream);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 1.25rem;
  font-size: 0.9rem;
  color: var(--grey);
  margin-top: 1.5rem;
}

/* ---------- Testimonials ---------- */
.testimonials-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

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

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

.testimonial-card {
  background: var(--cream-deep);
  border-radius: var(--radius-md);
  padding: 1.75rem;
  border: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 1rem;
  position: relative;
}

.testimonial-card::before {
  content: '"';
  font-family: var(--font-display);
  font-size: 4rem;
  color: var(--sage);
  opacity: 0.25;
  position: absolute;
  top: 0.25rem;
  left: 1rem;
  line-height: 1;
}

.testimonial-stars {
  display: flex;
  gap: 0.15rem;
  color: var(--terracotta);
  font-size: 1rem;
  position: relative;
  z-index: 1;
  margin-top: 0.5rem;
}

.testimonial-text {
  font-family: var(--font-display);
  font-size: 1.05rem;
  line-height: 1.5;
  color: var(--charcoal);
  font-style: italic;
  font-weight: 400;
  margin: 0;
  position: relative;
  z-index: 1;
}

.testimonial-author {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
  margin-top: auto;
  padding-top: 0.5rem;
  border-top: 1px solid var(--border);
}

.testimonial-author strong {
  font-weight: 500;
  color: var(--charcoal);
}

.testimonial-author span {
  font-size: 0.85rem;
  color: var(--grey);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

/* ---------- Forms (general container) ---------- */
.form-container {
  background: var(--cream-deep);
  border-radius: var(--radius-lg);
  padding: 2rem;
  border: 1px solid var(--border);
}

@media (min-width: 640px) {
  .form-container {
    padding: 2.5rem;
  }
}

.form-container h2 {
  margin-bottom: 0.5rem;
}

.form-container > p {
  color: var(--grey);
  margin-bottom: 1.5rem;
}

/* Inline waitlist form */
.waitlist-form {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  max-width: 520px;
  margin: 0 auto;
}

.waitlist-form label {
  display: block;
  font-size: 0.85rem;
  font-weight: 500;
  margin-bottom: 0.4rem;
  color: var(--charcoal);
}

.waitlist-form input,
.waitlist-form select,
.waitlist-form textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--cream);
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--charcoal);
  transition: border-color 0.2s ease;
}

.waitlist-form input:focus,
.waitlist-form select:focus,
.waitlist-form textarea:focus {
  outline: none;
  border-color: var(--sage);
}

.form-note {
  font-size: 0.85rem;
  color: var(--grey);
  text-align: center;
  margin-top: 1rem;
}

/* ---------- Tally / Typeform embed container ---------- */
.form-embed {
  background: var(--cream);
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  padding: 1rem;
  min-height: 400px;
}

.form-embed iframe {
  width: 100%;
  border: none;
  border-radius: var(--radius-sm);
}

.embed-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 1rem;
  padding: 3rem 1.5rem;
  background: var(--cream-deep);
  border: 1px dashed var(--border);
  border-radius: var(--radius-md);
  text-align: center;
  color: var(--grey);
}

.embed-placeholder .icon {
  font-size: 2.5rem;
}

/* ---------- Social section (home) ---------- */
.social-cta {
  background: var(--cream-deep);
  border-radius: var(--radius-lg);
  padding: 3rem 1.5rem;
  text-align: center;
}

.social-links {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 1.5rem;
}

.social-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  border-radius: 999px;
  background: var(--cream);
  border: 1px solid var(--border);
  color: var(--charcoal);
  transition: all 0.2s ease;
  font-size: 0.95rem;
}

.social-link:hover {
  border-color: var(--sage);
  transform: translateY(-1px);
  color: var(--charcoal);
  box-shadow: var(--shadow-soft);
}

.social-link svg {
  width: 18px;
  height: 18px;
}

/* ---------- Quick links (home) ---------- */
.quick-links {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

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

@media (min-width: 900px) {
  .quick-links {
    grid-template-columns: repeat(4, 1fr);
  }
}

.quick-link-card {
  background: var(--cream);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  text-decoration: none;
  color: var(--charcoal);
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.quick-link-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-medium);
  border-color: var(--sage);
  color: var(--charcoal);
}

.quick-link-card .icon {
  font-size: 1.75rem;
  margin-bottom: 0.25rem;
}

.quick-link-card h3 {
  font-size: 1.15rem;
  margin: 0;
}

.quick-link-card p {
  font-size: 0.85rem;
  color: var(--grey);
  margin: 0;
}

.quick-link-card .arrow {
  margin-top: auto;
  color: var(--terracotta);
  font-size: 0.9rem;
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--charcoal);
  color: var(--cream);
  padding: 3rem 0 1.5rem;
  margin-top: 4rem;
}

.footer-wrapper {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  padding: 0 1.5rem;
  max-width: 1200px;
  margin: 0 auto;
}

@media (min-width: 700px) {
  .footer-wrapper {
    grid-template-columns: 1.5fr 1fr 1fr;
  }
}

.footer-brand h3 {
  color: var(--cream);
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
}

.footer-brand p {
  color: rgba(245, 239, 230, 0.7);
  font-size: 0.9rem;
}

.footer-section h4 {
  color: var(--cream);
  font-family: var(--font-body);
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  font-weight: 500;
  margin-bottom: 1rem;
}

.footer-section ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.footer-section a {
  color: rgba(245, 239, 230, 0.75);
  font-size: 0.9rem;
  transition: color 0.2s ease;
}

.footer-section a:hover {
  color: var(--cream);
}

.footer-social {
  display: flex;
  gap: 0.75rem;
  margin-top: 0.5rem;
}

.footer-social a {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(245, 239, 230, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background-color 0.2s ease;
}

.footer-social a:hover {
  background: rgba(245, 239, 230, 0.2);
}

.footer-social svg {
  width: 18px;
  height: 18px;
  fill: var(--cream);
}

.footer-bottom {
  max-width: 1200px;
  margin: 2.5rem auto 0;
  padding: 1.5rem 1.5rem 0;
  border-top: 1px solid rgba(245, 239, 230, 0.1);
  text-align: center;
  font-size: 0.85rem;
  color: rgba(245, 239, 230, 0.6);
}

/* ---------- Utility ---------- */
.text-centre { text-align: center; }
.mt-1 { margin-top: 1rem; }
.mt-2 { margin-top: 2rem; }
.mb-1 { margin-bottom: 1rem; }
.mb-2 { margin-bottom: 2rem; }

/* fade-in is a no-op hook — retained so JS can add subtle hover
   transitions without breaking visibility on first paint. */
.fade-in { /* intentionally empty */ }


/* ---------- Cat card tagline (added April 2026 with real queen briefs) ---------- */
.cat-card-tagline {
  font-size: 0.875rem;
  color: var(--grey);
  line-height: 1.4;
  font-style: italic;
  margin: 0.35rem 0 0.6rem;
}

/* ---------- Cat profile additions ---------- */
.cat-details-tagline {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.15rem;
  color: var(--brown-soft);
  line-height: 1.4;
  margin: 0.4rem 0 1rem;
}

.cat-details-siblings {
  margin-top: 0.5rem;
  font-size: 0.9rem;
}

.cat-details-siblings a {
  color: var(--blue);
  text-decoration: none;
  font-weight: 500;
}

.cat-details-siblings a:hover {
  color: var(--blue-deep);
  text-decoration: underline;
}

/* ---------- Breadcrumb (replaces the single back-link) ---------- */
.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.85rem;
  color: var(--grey);
  padding: 1.5rem 0 0.5rem;
  letter-spacing: 0.02em;
}

.breadcrumb a {
  color: var(--brown);
  text-decoration: none;
  transition: color 0.2s ease;
}

.breadcrumb a:hover {
  color: var(--brown-deep);
  text-decoration: underline;
}

.breadcrumb span[aria-current="page"] {
  color: var(--charcoal);
  font-weight: 500;
}

.breadcrumb span[aria-hidden="true"] {
  color: var(--cream-deep);
  opacity: 0.8;
}

/* Disable iOS Safari auto-linking of numbers/dates/addresses in body copy.
   Stops unwanted underlines on phrases like "13 weeks" or phone numbers. */
a[x-apple-data-detectors],
.cat-details-section a[href^="tel:"],
.cat-details-section a[href^="sms:"] {
  color: inherit !important;
  text-decoration: none !important;
  pointer-events: none;
}


/* =============================================================================
   ABOUT PAGE
   Used on /about.html. Self-contained block so it doesn't affect other pages.
   ============================================================================= */

/* --- Meet the breeders: two-column photo + bio --- */
.about-breeders {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 3rem;
  align-items: start;
  margin-top: 1rem;
}
@media (max-width: 760px) {
  .about-breeders {
    grid-template-columns: 1fr;
    gap: 1.75rem;
  }
}
.about-photo-wrap {
  width: 100%;
}
.about-photo {
  width: 100%;
  aspect-ratio: 1 / 1;
  background: var(--cream-deep);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 3rem;
  color: var(--brown);
  font-weight: 500;
  overflow: hidden;
}
.about-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.about-bio p {
  margin-bottom: 1.1rem;
  line-height: 1.75;
  color: var(--charcoal);
}
.about-bio p em {
  color: var(--grey);
  font-style: italic;
}

/* --- Ethos cards (three pillars) --- */
.ethos-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 2rem;
}
@media (max-width: 860px) {
  .ethos-grid { grid-template-columns: 1fr; }
}
.ethos-card {
  background: var(--cream-deep);
  border-radius: var(--radius-md);
  padding: 2rem 1.75rem;
  text-align: center;
}
.ethos-icon {
  font-size: 1.5rem;
  color: var(--blue);
  margin-bottom: 0.75rem;
  line-height: 1;
}
.ethos-card h3 {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 500;
  color: var(--brown);
  margin-bottom: 0.6rem;
}
.ethos-card p {
  color: var(--charcoal);
  font-size: 0.95rem;
  line-height: 1.65;
}

/* --- Certifications & memberships --- */
.cert-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.25rem;
  margin-top: 2rem;
}
.cert-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 1.75rem 1.5rem;
  text-align: left;
}
.cert-card h3 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 500;
  color: var(--brown);
  margin: 0 0 0.25rem;
}
.cert-subtitle {
  font-size: 0.85rem;
  color: var(--grey);
  margin-bottom: 0.75rem;
  letter-spacing: 0.02em;
}
.cert-card p {
  font-size: 0.92rem;
  color: var(--charcoal);
  line-height: 1.6;
}
.placeholder-card {
  background: var(--cream-deep);
  border: 1px dashed var(--brown-soft);
}
.placeholder-card h3,
.placeholder-card p {
  color: var(--grey);
}

/* --- Health testing grid --- */
.health-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1rem 1.5rem;
  margin-top: 2rem;
}
.health-item {
  padding: 1.25rem 1.5rem;
  border-left: 3px solid var(--blue);
  background: var(--cream-deep);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}
.health-item h3 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 500;
  color: var(--brown);
  margin: 0 0 0.25rem;
}
.health-item p {
  font-size: 0.9rem;
  color: var(--charcoal);
  line-height: 1.55;
  margin: 0;
}

/* --- "Our promise" list --- */
.promise-card {
  background: var(--pale-blue);
  border-radius: var(--radius-lg);
  padding: 2.5rem 2rem;
  margin-top: 1rem;
  text-align: left;
}
.promise-card .eyebrow {
  color: var(--brown);
}
.promise-card h2 {
  margin-bottom: 1.5rem;
}
.promise-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 0.65rem;
}
.promise-list li {
  padding-left: 1.75rem;
  position: relative;
  line-height: 1.6;
  color: var(--charcoal);
}
.promise-list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--blue-deep);
  font-weight: 600;
}


/* =============================================================================
   ABOUT PAGE — additions for new content sections
   ============================================================================= */

/* Tinted sections alternate with plain ones on the About page */
.section-tinted {
  background: var(--cream-deep);
  margin: 2rem 0;
  padding: 3rem 0 !important;
  border-radius: var(--radius-lg);
}

/* Standard prose block — readable line length and paragraph spacing */
.prose p {
  line-height: 1.75;
  color: var(--charcoal);
  margin-bottom: 1.1rem;
}
.prose p:last-child { margin-bottom: 0; }
.prose a {
  color: var(--blue-deep);
  text-decoration: underline;
  text-underline-offset: 2px;
  text-decoration-thickness: 1px;
}
.prose a:hover {
  color: var(--blue);
}

/* Credentials cards (Julia, Mark, partners) on the About page */
.credentials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.25rem;
  margin-top: 2.5rem;
}
.credential-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  text-align: left;
}
.credential-card h3 {
  font-family: var(--font-display);
  font-size: 1.3rem;
  color: var(--brown);
  margin-bottom: 0.35rem;
}
.credential-title {
  font-weight: 500;
  color: var(--charcoal);
  font-size: 0.95rem;
  margin-bottom: 0.35rem;
  line-height: 1.45;
}
.credential-card p:last-child {
  color: var(--grey);
  font-size: 0.88rem;
  line-height: 1.5;
  margin-bottom: 0;
}

/* Registry link styling on cert cards */
.cert-link {
  color: var(--blue-deep);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
}
.cert-link:hover { color: var(--blue); text-decoration: underline; }


/* =============================================================================
   CAT PROFILE — new fields (registered name, DOB, markdown headings/lists,
   related testimonials section)
   ============================================================================= */

.cat-details-registered {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1rem;
  color: var(--grey);
  margin: -0.35rem 0 0.65rem;
  letter-spacing: 0.01em;
}

.cat-details-dob {
  /* inherits .cat-details-meta pill styling */
}

.cat-details-actions {
  margin-top: 0.5rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  align-items: center;
}

.cat-bio-heading {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 500;
  color: var(--brown);
  margin: 1.5rem 0 0.5rem;
}

.cat-bio-list {
  list-style: none;
  padding: 0;
  margin: 0.5rem 0 1rem;
  display: grid;
  gap: 0.4rem;
}
.cat-bio-list li {
  padding-left: 1.5rem;
  position: relative;
  color: var(--charcoal);
  line-height: 1.55;
  font-size: 0.95rem;
}
.cat-bio-list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--blue-deep);
  font-weight: 600;
  font-size: 0.9rem;
  top: 0.05rem;
}

.cat-testimonials-section {
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border);
}
.cat-testimonials-section h2 {
  margin-bottom: 1.25rem;
  font-size: 1.5rem;
}


/* =============================================================================
   TESTIMONIALS — role line and "About [cat]" related tag
   ============================================================================= */

.testimonial-related {
  display: inline-block;
  margin-top: 0.5rem;
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--blue-deep);
  text-decoration: none;
  letter-spacing: 0.01em;
}
.testimonial-related:hover {
  color: var(--blue);
  text-decoration: underline;
}


/* =============================================================================
   LITTERS PAGE — rich cards with thumbnails
   ============================================================================= */

.litters-list {
  display: grid;
  gap: 1.5rem;
}

.litter-card {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 2rem;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  align-items: start;
}

/* On tinted section background, swap to cream-deep card surface */
.section-tinted .litter-card {
  background: var(--cream);
}

@media (max-width: 700px) {
  .litter-card {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }
}

/* Thumbnail — square, rounded, with placeholder initial */
.litter-thumb {
  aspect-ratio: 1 / 1;
  width: 100%;
  background: var(--cream-deep);
  border-radius: var(--radius-md);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
.litter-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.litter-thumb-placeholder {
  font-family: var(--font-display);
  font-size: 3.5rem;
  font-weight: 500;
  color: var(--brown);
}

/* Body column */
.litter-body {
  min-width: 0;  /* lets long content wrap within grid column */
}
.litter-header {
  margin-bottom: 0.75rem;
}
.litter-header h3 {
  font-family: var(--font-display);
  font-size: 1.7rem;
  font-weight: 500;
  color: var(--brown);
  margin: 0.35rem 0 0.2rem;
  line-height: 1.15;
}
.litter-date {
  font-size: 0.95rem;
  color: var(--grey);
  margin: 0;
  font-style: italic;
}

.litter-parents {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem 1.25rem;
  font-size: 0.9rem;
  color: var(--charcoal);
  margin-bottom: 0.9rem;
  padding-bottom: 0.9rem;
  border-bottom: 1px solid var(--border);
}
.litter-parents a {
  color: var(--blue-deep);
  text-decoration: none;
  font-weight: 500;
}
.litter-parents a:hover {
  color: var(--blue);
  text-decoration: underline;
}

.litter-summary {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.05rem;
  color: var(--brown-soft);
  line-height: 1.5;
  margin-bottom: 1rem;
}

.litter-body-content {
  color: var(--charcoal);
  line-height: 1.7;
  margin-bottom: 1rem;
}
.litter-body-content p {
  margin-bottom: 0.85rem;
}
.litter-body-content p:last-child {
  margin-bottom: 0;
}
.litter-body-content .cat-bio-heading {
  font-size: 1.1rem;
  margin-top: 1.3rem;
  margin-bottom: 0.4rem;
}
.litter-body-content .cat-bio-list {
  margin-bottom: 0.85rem;
}

/* Subtle visual difference between upcoming and past */
.litter-past {
  opacity: 0.98;
}
.litter-past .litter-header .eyebrow {
  color: var(--grey);
}
.litter-upcoming .litter-header .eyebrow {
  color: var(--blue);
}
