/* ============================================================
   THE DOGGY DIVA — SHARED SITE STYLESHEET
   Design system shared across every page (nav, footer, colors,
   buttons, dividers, reveals) + components used on inner pages.
   Edit colors, nav, or footer here once and it updates everywhere.
   ============================================================ */

:root {
  --white: #FFFFFF;
  --cream: #FDFAFA;          /* near-white with faint pink */
  --cream-deep: #FBEBEE;     /* pinker pale */
  --blush: #FBDEE2;          /* soft pastel pink */
  --pink: #F5BFC8;           /* pastel pink */
  --rose: #E5879A;           /* warm rose */
  --hot-pink: #EF459D;       /* brand bright pink, like the script logo */
  --mint: #C8E8DC;           /* soft mint, like the book covers */
  --mint-deep: #A4D5C5;      /* slightly stronger mint */
  --teal: #5FA89A;           /* deeper teal accent */
  --lavender: #D5C9EC;       /* soft pastel lavender */
  --sky: #C4DEE7;            /* soft pastel sky blue */
  --aqua: #9DDFDD;           /* vibrant mint-aqua brand accent */
  --ink: #2D2D3A;            /* cool soft charcoal for text */
  --ink-soft: #5F5F6E;       /* medium gray for secondary */
  --cocoa: #2D2D3A;          /* alias for backwards-compat with existing CSS */
  --cocoa-soft: #5F5F6E;     /* alias */
  --gold: #D4A562;           /* warm gold accent (used sparingly) */
  --sage: #C8E8DC;           /* alias for mint */
  --paper: #FFFFFF;
  --shadow: 0 30px 80px -30px rgba(45, 45, 58, 0.15);
  --shadow-sm: 0 10px 30px -15px rgba(45, 45, 58, 0.12);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--white);
  color: var(--ink);
  font-family: 'DM Sans', sans-serif;
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; }

/* Grain texture */
.grain {
  position: fixed; inset: 0; pointer-events: none; z-index: 1;
  opacity: 0.4; mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='200' height='200'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0.24 0 0 0 0 0.12 0 0 0 0 0.16 0 0 0 0.08 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
}

/* ───────── Whimsy: Wavy section dividers ───────── */
.wave-divider {
  display: block;
  width: 100%;
  height: 80px;
  line-height: 0;
  margin: -1px 0;
  position: relative;
  z-index: 1;
}
.wave-divider svg { display: block; width: 100%; height: 100%; }

/* ───────── Whimsy: Paw-print dividers ───────── */
.paw-divider {
  background-color: var(--white);
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 240 50' width='240' height='50'><g transform='translate(8 5) rotate(-12 12 12)' fill='%23C8E8DC'><ellipse cx='5' cy='10' rx='2' ry='2.6' transform='rotate(-18 5 10)'/><ellipse cx='9.6' cy='6.5' rx='2' ry='2.7' transform='rotate(-7 9.6 6.5)'/><ellipse cx='14.4' cy='6.5' rx='2' ry='2.7' transform='rotate(7 14.4 6.5)'/><ellipse cx='19' cy='10' rx='2' ry='2.6' transform='rotate(18 19 10)'/><path d='M12 22.2c-3.5 0-6-2.6-6-5.6 0-2.6 2.1-4.6 4-5.4 1.2-0.5 1.8-1 2-1 0.2 0 0.8 0.5 2 1 1.9 0.8 4 2.8 4 5.4 0 3-2.5 5.6-6 5.6z'/></g><g transform='translate(68 7) rotate(7 12 12)' fill='%23F5BFC8'><ellipse cx='5' cy='10' rx='2' ry='2.6' transform='rotate(-18 5 10)'/><ellipse cx='9.6' cy='6.5' rx='2' ry='2.7' transform='rotate(-7 9.6 6.5)'/><ellipse cx='14.4' cy='6.5' rx='2' ry='2.7' transform='rotate(7 14.4 6.5)'/><ellipse cx='19' cy='10' rx='2' ry='2.6' transform='rotate(18 19 10)'/><path d='M12 22.2c-3.5 0-6-2.6-6-5.6 0-2.6 2.1-4.6 4-5.4 1.2-0.5 1.8-1 2-1 0.2 0 0.8 0.5 2 1 1.9 0.8 4 2.8 4 5.4 0 3-2.5 5.6-6 5.6z'/></g><g transform='translate(128 5) rotate(-5 12 12)' fill='%23D5C9EC'><ellipse cx='5' cy='10' rx='2' ry='2.6' transform='rotate(-18 5 10)'/><ellipse cx='9.6' cy='6.5' rx='2' ry='2.7' transform='rotate(-7 9.6 6.5)'/><ellipse cx='14.4' cy='6.5' rx='2' ry='2.7' transform='rotate(7 14.4 6.5)'/><ellipse cx='19' cy='10' rx='2' ry='2.6' transform='rotate(18 19 10)'/><path d='M12 22.2c-3.5 0-6-2.6-6-5.6 0-2.6 2.1-4.6 4-5.4 1.2-0.5 1.8-1 2-1 0.2 0 0.8 0.5 2 1 1.9 0.8 4 2.8 4 5.4 0 3-2.5 5.6-6 5.6z'/></g><g transform='translate(188 7) rotate(15 12 12)' fill='%239DDFDD'><ellipse cx='5' cy='10' rx='2' ry='2.6' transform='rotate(-18 5 10)'/><ellipse cx='9.6' cy='6.5' rx='2' ry='2.7' transform='rotate(-7 9.6 6.5)'/><ellipse cx='14.4' cy='6.5' rx='2' ry='2.7' transform='rotate(7 14.4 6.5)'/><ellipse cx='19' cy='10' rx='2' ry='2.6' transform='rotate(18 19 10)'/><path d='M12 22.2c-3.5 0-6-2.6-6-5.6 0-2.6 2.1-4.6 4-5.4 1.2-0.5 1.8-1 2-1 0.2 0 0.8 0.5 2 1 1.9 0.8 4 2.8 4 5.4 0 3-2.5 5.6-6 5.6z'/></g></svg>");
  background-repeat: repeat-x;
  background-position: center center;
  height: 100px;
  width: 100%;
}

/* ───────── Whimsy: Decorative script captions ───────── */
.script-caption {
  font-family: 'Pinyon Script', cursive;
  color: var(--hot-pink);
  font-size: 28px;
  line-height: 1;
  display: inline-block;
  position: absolute;
  z-index: 5;
  pointer-events: none;
}
.script-caption .arrow { display: block; margin-top: 4px; }

/* Sparkle */
.sparkle {
  position: absolute; pointer-events: none;
  width: 18px; height: 18px;
  animation: twinkle 4s ease-in-out infinite;
}
.sparkle::before, .sparkle::after {
  content: ''; position: absolute; inset: 0;
  background: var(--aqua);
  clip-path: polygon(50% 0%, 55% 45%, 100% 50%, 55% 55%, 50% 100%, 45% 55%, 0% 50%, 45% 45%);
}
.sparkle::after { transform: rotate(45deg) scale(0.5); opacity: 0.7; }
@keyframes twinkle {
  0%, 100% { opacity: 0; transform: scale(0.6); }
  50% { opacity: 1; transform: scale(1); }
}

/* Utility bar */
.utility {
  background: var(--blush); color: var(--ink);
  font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase;
  padding: 10px 0; position: relative; z-index: 10;
}
.utility-inner {
  max-width: 1280px; margin: 0 auto; padding: 0 32px;
  display: flex; justify-content: space-between; align-items: center;
  gap: 24px; flex-wrap: wrap;
}
.util-left { display: flex; align-items: center; font-weight: 600; }
.util-left .dot {
  width: 6px; height: 6px; background: var(--hot-pink); border-radius: 50%;
  display: inline-block; margin-right: 10px;
  animation: pulse 2s ease-in-out infinite;
}
.util-right { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.util-group { display: flex; align-items: center; gap: 8px; }
.util-label {
  font-size: 11px; font-weight: 600; color: var(--ink-soft);
  letter-spacing: 0.16em; margin-right: 2px;
}
.util-icon {
  width: 26px; height: 26px;
  display: inline-flex; align-items: center; justify-content: center;
  color: var(--ink); opacity: 0.7;
  transition: all 0.2s;
  border-radius: 50%;
  text-decoration: none;
}
.util-icon svg { width: 15px; height: 15px; }
.util-icon i { font-size: 16px; line-height: 1; }
.util-icon:hover { color: var(--hot-pink); opacity: 1; transform: translateY(-1px); }
.util-divider { width: 1px; height: 16px; background: rgba(45, 45, 58, 0.2); }
@keyframes pulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.4); opacity: 0.5; }
}

/* Nav */
nav.main {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 248, 243, 0.92);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(61, 31, 42, 0.08);
  transition: background 0.3s ease;
}
.nav-inner {
  max-width: 1280px; margin: 0 auto; padding: 24px 32px 20px;
  display: flex; flex-direction: column; align-items: center;
  gap: 24px;
  position: relative;
  transition: padding 0.3s ease, gap 0.3s ease;
}
.logo { display: inline-flex; align-items: center; text-decoration: none; line-height: 0; }
.logo img { height: 90px; width: auto; display: block; transition: height 0.3s ease; }

nav.main.scrolled .nav-inner { padding: 12px 32px 12px; gap: 10px; }
nav.main.scrolled .logo img { height: 44px; }

.footer-logo img { height: 64px; filter: brightness(0) invert(1); }
.nav-links {
  display: flex; gap: 26px; align-items: center; list-style: none;
  justify-content: center; flex-wrap: wrap;
}
.nav-links a {
  text-decoration: none; color: var(--cocoa);
  font-size: 13.5px; font-weight: 500; letter-spacing: 0.01em;
  position: relative; padding: 8px 0; transition: color 0.2s;
  white-space: nowrap;
}
.nav-links a.long { font-size: 13px; }
.nav-links a::after {
  content: ''; position: absolute; bottom: 0; left: 0;
  width: 0; height: 1.5px; background: var(--rose);
  transition: width 0.3s ease;
}
.nav-links a:hover { color: var(--rose); }
.nav-links a:hover::after { width: 100%; }
/* Active page state */
.nav-links a.active { color: var(--hot-pink); }
.nav-links a.active::after { width: 100%; background: var(--hot-pink); }
.nav-links a.featured {
  background: var(--cocoa); color: var(--cream);
  padding: 10px 20px; border-radius: 100px;
}
.nav-links a.featured:hover { background: var(--rose); color: var(--paper); }
.nav-links a.featured::after { display: none; }
.menu-btn { display: none; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 16px 28px; border-radius: 100px;
  text-decoration: none; font-weight: 500;
  font-size: 15px; letter-spacing: 0.02em;
  transition: all 0.25s ease; border: none; cursor: pointer;
  font-family: inherit;
}
.btn-primary { background: var(--hot-pink); color: var(--white); }
.btn-primary:hover { background: var(--rose); transform: translateY(-2px); box-shadow: var(--shadow-sm); }
.btn-ghost { background: transparent; color: var(--ink); border: 1.5px solid var(--ink); }
.btn-ghost:hover { background: var(--ink); color: var(--white); }

/* ───────── HERO (homepage) ───────── */
.hero { position: relative; padding: 90px 32px 100px; overflow: hidden; }
.hero-inner {
  max-width: 1280px; margin: 0 auto;
  display: grid; grid-template-columns: 1.1fr 1fr;
  gap: 80px; align-items: center; position: relative;
}
.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  font-size: 12px; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--rose); font-weight: 600; margin-bottom: 24px;
}
.hero-eyebrow .line { width: 40px; height: 1px; background: var(--rose); }
.hero h1 {
  font-family: 'DM Serif Display', serif; font-weight: 400;
  font-size: clamp(40px, 5.2vw, 70px);
  line-height: 1.05; letter-spacing: -0.015em;
  color: var(--ink); margin-bottom: 24px;
}
.hero h1 em { font-style: italic; color: var(--hot-pink); }
.hero-lede {
  font-size: 18px; line-height: 1.6; color: var(--cocoa-soft);
  margin-bottom: 28px; max-width: 540px;
}
.hero-paw-divider {
  display: flex; align-items: center; gap: 10px;
  max-width: 480px; margin: 0 0 28px; padding: 4px 0;
}
.hero-paw-divider svg { width: 26px; height: 26px; flex-shrink: 0; }
.hero-paw-divider svg:nth-child(4n+1) { color: var(--mint); }
.hero-paw-divider svg:nth-child(4n+2) { color: var(--pink); }
.hero-paw-divider svg:nth-child(4n+3) { color: var(--aqua); }
.hero-paw-divider svg:nth-child(4n+4) { color: var(--lavender); }
.hero-paw-divider svg:nth-child(6n+1) { transform: rotate(-12deg); }
.hero-paw-divider svg:nth-child(6n+2) { transform: rotate(7deg); }
.hero-paw-divider svg:nth-child(6n+3) { transform: rotate(-5deg); }
.hero-paw-divider svg:nth-child(6n+4) { transform: rotate(15deg); }
.hero-paw-divider svg:nth-child(6n+5) { transform: rotate(-9deg); }
.hero-paw-divider svg:nth-child(6n+6) { transform: rotate(3deg); }
.hero-kicker {
  font-family: 'DM Serif Display', serif; font-style: italic;
  font-size: 22px; line-height: 1.35; color: var(--ink);
  margin-bottom: 36px; max-width: 540px;
}
.hero-ctas { display: flex; gap: 14px; align-items: center; flex-wrap: wrap; }
.hero-visual { position: relative; aspect-ratio: 4/5; max-width: 540px; margin-left: auto; }
.hero-img {
  position: relative; z-index: 2; width: 100%; height: 100%;
  border-radius: 62% 38% 64% 36% / 52% 48% 52% 48%;
  object-fit: cover; box-shadow: var(--shadow); filter: saturate(0.95);
  transition: border-radius 8s ease-in-out;
}
.hero-visual:hover .hero-img { border-radius: 38% 62% 36% 64% / 48% 52% 48% 52%; }
.hero-backdrop {
  position: absolute; top: 8%; left: -6%;
  width: 70%; height: 70%; background: var(--blush);
  border-radius: 58% 42% 60% 40% / 50% 60% 40% 50%; z-index: 1;
}
.hero-paw { position: absolute; z-index: 3; pointer-events: none; transition: transform 0.4s ease; }
.hero-paw-1 { width: 64px; height: 64px; color: var(--pink); top: -22px; right: 6%; transform: rotate(18deg); opacity: 0.95; }
.hero-paw-2 { width: 42px; height: 42px; color: var(--aqua); bottom: 14%; right: -16px; transform: rotate(-22deg); opacity: 0.95; }
.hero-visual:hover .hero-paw-1 { transform: rotate(8deg) scale(1.08); }
.hero-visual:hover .hero-paw-2 { transform: rotate(-10deg) scale(1.1); }

/* ───────── CTA QUICK-NAV (homepage) ───────── */
.quick-nav { background: var(--cream-deep); padding: 90px 32px; }
.quick-inner { max-width: 1280px; margin: 0 auto; }
.quick-head { text-align: center; margin-bottom: 48px; }
.quick-head .eyebrow { color: var(--hot-pink); font-size: 12px; letter-spacing: 0.2em; text-transform: uppercase; font-weight: 700; margin-bottom: 14px; }
.quick-head h2 { font-family: 'DM Serif Display', serif; font-weight: 400; font-size: clamp(28px, 3vw, 38px); line-height: 1.1; color: var(--ink); letter-spacing: -0.01em; }
.quick-head h2 em { font-style: italic; color: var(--hot-pink); }
.quick-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; max-width: 1100px; margin: 0 auto; }
.quick-card {
  background: var(--white); border: 1px solid rgba(45, 45, 58, 0.06);
  border-radius: 20px; padding: 28px 18px 24px; text-decoration: none;
  color: var(--ink); text-align: center; transition: all 0.25s ease;
  display: flex; flex-direction: column; align-items: center; gap: 14px;
  position: relative; overflow: hidden; min-height: 150px; justify-content: center;
}
.quick-card::before { content: ''; position: absolute; inset: 0; background: var(--blush); transform: translateY(100%); transition: transform 0.3s ease; z-index: 0; }
.quick-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-sm); border-color: var(--hot-pink); }
.quick-card:hover::before { transform: translateY(0); }
.quick-card > * { position: relative; z-index: 1; }
.quick-icon { width: 48px; height: 48px; border-radius: 50%; background: var(--blush); color: var(--hot-pink); display: flex; align-items: center; justify-content: center; transition: all 0.25s ease; }
.quick-card:hover .quick-icon { background: var(--hot-pink); color: var(--white); }
.quick-icon svg { width: 22px; height: 22px; }
.quick-label { font-family: 'DM Sans', sans-serif; font-size: 14.5px; font-weight: 500; line-height: 1.3; color: var(--ink); letter-spacing: -0.005em; }

/* ───────── PODCAST (homepage) ───────── */
.podcast-section { background: var(--pink); color: var(--ink); padding: 100px 32px; position: relative; overflow: hidden; }
.podcast-inner { max-width: 1280px; margin: 0 auto; display: grid; grid-template-columns: 0.85fr 1.15fr; gap: 64px; align-items: center; }
.podcast-meta { font-size: 12px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--hot-pink); font-weight: 700; display: flex; align-items: center; gap: 14px; margin-bottom: 24px; }
.podcast-meta .live-dot { width: 8px; height: 8px; background: var(--hot-pink); border-radius: 50%; animation: pulse 2s ease-in-out infinite; }
.podcast-section h2 { font-family: 'DM Serif Display', serif; font-size: clamp(36px, 4vw, 56px); font-weight: 400; line-height: 1.05; margin-bottom: 24px; letter-spacing: -0.01em; color: var(--ink); }
.podcast-section h2 em { font-style: italic; color: var(--hot-pink); }
.podcast-section .lede { color: var(--ink-soft); font-size: 18px; line-height: 1.6; margin-bottom: 24px; max-width: 480px; }
.library-link { display: inline-flex; align-items: center; gap: 10px; color: var(--hot-pink); text-decoration: none; font-weight: 600; border-bottom: 1.5px solid rgba(239, 69, 157, 0.3); padding-bottom: 4px; transition: all 0.2s; margin-bottom: 36px; }
.library-link:hover { gap: 14px; border-color: var(--hot-pink); }
.listen-prompt { color: var(--ink-soft); font-size: 15px; line-height: 1.5; margin-top: 28px; margin-bottom: 14px; max-width: 480px; }
.listen-on { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }
.listen-on .label { font-size: 11px; text-transform: uppercase; letter-spacing: 0.18em; color: var(--ink-soft); margin-right: 8px; flex-basis: 100%; margin-bottom: 8px; font-weight: 600; }
.platform { display: inline-flex; align-items: center; gap: 8px; padding: 9px 14px; background: var(--white); border: 1px solid rgba(45, 45, 58, 0.1); border-radius: 100px; color: var(--ink); font-size: 12.5px; text-decoration: none; transition: all 0.2s; }
.platform:hover { background: var(--ink); color: var(--white); border-color: var(--ink); }
.episode-embed { background: var(--white); border-radius: 24px; padding: 14px; box-shadow: var(--shadow); }
.episode-embed iframe { display: block; border: none; }

/* ───────── BOOK SERIES (homepage) ───────── */
.books-section { padding: 120px 32px; background: var(--cream-deep); position: relative; overflow: hidden; }
.books-inner { max-width: 1280px; margin: 0 auto; }
.books-head { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; margin-bottom: 60px; align-items: end; }
.books-head .eyebrow { color: var(--rose); font-size: 12px; letter-spacing: 0.2em; text-transform: uppercase; font-weight: 600; margin-bottom: 14px; }
.books-head h2 { font-family: 'DM Serif Display', serif; font-weight: 400; font-size: clamp(36px, 4vw, 56px); line-height: 1.05; letter-spacing: -0.01em; color: var(--cocoa); }
.books-head h2 em { font-style: italic; color: var(--hot-pink); }
.books-head h2 .script { font-family: 'Pinyon Script', cursive; color: var(--gold); font-size: 1.1em; }
.books-head .copy { color: var(--cocoa-soft); font-size: 17px; line-height: 1.6; }
.books-head .copy p + p { margin-top: 14px; }
.books-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 36px; }
.book-card { text-decoration: none; color: inherit; transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1); display: flex; flex-direction: column; text-align: center; position: relative; }
.book-card:nth-child(1) { transform: rotate(-2.5deg); }
.book-card:nth-child(2) { transform: rotate(1.5deg); margin-top: 16px; }
.book-card:nth-child(3) { transform: rotate(-1deg); margin-top: 4px; }
.book-card:hover { transform: rotate(0) translateY(-8px) scale(1.02); z-index: 2; }
.book-cover { width: 100%; aspect-ratio: 1/1.15; padding: 16px 16px 56px; background: var(--paper); border-radius: 4px; position: relative; margin-bottom: 22px; box-shadow: 0 20px 50px -20px rgba(45, 45, 58, 0.35), 0 4px 12px -6px rgba(45, 45, 58, 0.15); transition: box-shadow 0.3s ease; }
.book-card:hover .book-cover { box-shadow: 0 30px 70px -20px rgba(45, 45, 58, 0.4), 0 8px 16px -8px rgba(45, 45, 58, 0.2); }
.book-cover::before { content: ''; position: absolute; top: -10px; left: 50%; transform: translateX(-50%) rotate(-3deg); width: 76px; height: 22px; background: rgba(244, 200, 152, 0.55); border-left: 1px dashed rgba(180, 130, 80, 0.25); border-right: 1px dashed rgba(180, 130, 80, 0.25); z-index: 3; box-shadow: 0 2px 4px rgba(45, 45, 58, 0.06); }
.book-card:nth-child(2) .book-cover::before { transform: translateX(-50%) rotate(4deg); background: rgba(168, 211, 197, 0.55); }
.book-card:nth-child(3) .book-cover::before { transform: translateX(-50%) rotate(-1deg); background: rgba(213, 201, 236, 0.55); }
.book-cover img { width: 100%; height: 100%; object-fit: cover; display: block; border-radius: 2px; transition: transform 0.6s ease; }
.book-card:hover .book-cover img { transform: scale(1.02); }
.book-title { font-family: 'DM Sans', sans-serif; font-size: 16px; font-weight: 600; line-height: 1.3; color: var(--ink); letter-spacing: -0.005em; margin-bottom: 10px; }
.book-meta { font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--teal); margin-bottom: 8px; font-weight: 700; }
.book-link { margin-top: auto; padding-top: 16px; font-size: 13px; color: var(--teal); font-weight: 700; letter-spacing: 0.05em; text-transform: uppercase; display: inline-flex; align-items: center; gap: 6px; justify-content: center; }
.books-note { text-align: center; margin-top: 48px; font-family: 'DM Serif Display', serif; font-style: italic; color: var(--cocoa-soft); font-size: 15px; max-width: 620px; margin-left: auto; margin-right: auto; padding: 20px; border-top: 1px solid rgba(61, 31, 42, 0.1); }

/* ───────── PAW IT FORWARD (homepage) ───────── */
.pif { padding: 140px 32px 80px; background: linear-gradient(180deg, var(--blush) 0%, var(--cream) 100%); position: relative; overflow: hidden; }
.pif-inner { max-width: 1280px; margin: 0 auto; display: grid; grid-template-columns: 1fr 1.1fr; gap: 90px; align-items: center; }
.pif-visual { position: relative; padding-top: 14px; }
.pif-polaroid { background: var(--white); padding: 18px 18px 64px; border-radius: 4px; position: relative; box-shadow: 0 35px 70px -25px rgba(45, 45, 58, 0.4), 0 8px 18px -8px rgba(45, 45, 58, 0.18); transform: rotate(-1.8deg); transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1); z-index: 2; }
.pif-polaroid::before { content: ''; position: absolute; top: -12px; left: 50%; transform: translateX(-50%) rotate(-4deg); width: 110px; height: 26px; background: rgba(157, 223, 221, 0.55); border-left: 1px dashed rgba(95, 168, 154, 0.3); border-right: 1px dashed rgba(95, 168, 154, 0.3); box-shadow: 0 2px 4px rgba(45, 45, 58, 0.06); z-index: 3; }
.pif-polaroid:hover { transform: rotate(0) translateY(-6px); }
.pif-photo { display: block; width: 100%; aspect-ratio: 4/5; object-fit: cover; border-radius: 2px; }
.pif-frame { position: absolute; top: 36px; left: 0; right: -20px; bottom: -16px; border: 2px solid var(--pink); border-radius: 6px; z-index: 1; transform: rotate(1.5deg); }
.pif-caption { position: absolute; bottom: 22px; left: 0; right: 0; text-align: center; font-family: 'DM Serif Display', serif; font-style: italic; font-size: 15px; color: var(--ink); display: flex; align-items: center; justify-content: center; gap: 8px; }
.pif-caption .heart { color: var(--aqua); font-size: 18px; }
.pif-content .eyebrow { display: inline-block; background: var(--hot-pink); color: var(--white); padding: 8px 18px; border-radius: 100px; font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase; font-weight: 700; margin-bottom: 28px; }
.pif-content h2 { font-family: 'DM Serif Display', serif; font-size: clamp(40px, 5vw, 64px); font-weight: 400; line-height: 1.0; letter-spacing: -0.015em; color: var(--ink); margin-bottom: 24px; }
.pif-content h2 em { font-style: italic; color: var(--hot-pink); }
.pif-content h2 .script { font-family: 'Pinyon Script', cursive; color: var(--rose); font-size: 1.1em; }
.pif-quote { font-family: 'DM Serif Display', serif; font-style: italic; font-size: 19px; line-height: 1.4; color: var(--cocoa-soft); padding-left: 24px; border-left: 2px solid var(--gold); margin-bottom: 28px; }
.pif-content p { color: var(--cocoa-soft); margin-bottom: 20px; font-size: 16px; }

/* Donor logos marquee */
.donors { margin-top: 80px; padding-top: 60px; border-top: 1px solid rgba(61, 31, 42, 0.1); }
.donors-label { text-align: center; font-family: 'DM Serif Display', serif; font-style: italic; color: var(--cocoa-soft); font-size: 16px; margin-bottom: 32px; display: flex; align-items: center; gap: 16px; justify-content: center; }
.donors-label::before, .donors-label::after { content: ''; flex: 0 0 80px; max-width: 80px; height: 1px; background: rgba(61, 31, 42, 0.2); }
.marquee { overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); }
.marquee-track { display: flex; gap: 48px; align-items: center; animation: scroll 30s linear infinite; width: max-content; }
.marquee:hover .marquee-track { animation-play-state: paused; }
@keyframes scroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.donor-card { flex-shrink: 0; background: var(--white); padding: 18px 24px; border-radius: 12px; border: 1px solid rgba(45, 45, 58, 0.06); display: flex; flex-direction: column; align-items: center; justify-content: center; width: 260px; min-height: 110px; transition: all 0.25s ease; box-shadow: 0 4px 12px -6px rgba(45, 45, 58, 0.08); text-decoration: none; color: inherit; text-align: center; }
.donor-card:hover { border-color: rgba(45, 45, 58, 0.12); transform: translateY(-3px); box-shadow: 0 10px 24px -8px rgba(45, 45, 58, 0.15); }
.donor-month { font-family: 'DM Sans', sans-serif; font-size: 11px; font-weight: 700; color: var(--teal); letter-spacing: 0.2em; text-transform: uppercase; margin-bottom: 8px; }
.donor-org { font-family: 'DM Serif Display', serif; font-style: italic; font-size: 17px; line-height: 1.25; color: var(--ink); transition: color 0.2s ease; }
.donor-card:hover .donor-org { color: var(--hot-pink); }

/* ───────── MEET THE DIVA DOGS (homepage carousel) ───────── */
.dogs-section { padding: 120px 32px; background: var(--paper); }
.dogs-inner { max-width: 1280px; margin: 0 auto; }
.dogs-head { text-align: center; margin-bottom: 60px; max-width: 720px; margin-left: auto; margin-right: auto; }
.dogs-head .eyebrow { color: var(--rose); font-size: 12px; letter-spacing: 0.2em; text-transform: uppercase; font-weight: 600; margin-bottom: 14px; }
.dogs-head h2 { font-family: 'DM Serif Display', serif; font-weight: 400; font-size: clamp(36px, 4vw, 54px); line-height: 1.05; color: var(--cocoa); margin-bottom: 18px; letter-spacing: -0.01em; }
.dogs-head h2 em { font-style: italic; color: var(--hot-pink); }
.dogs-head p { color: var(--cocoa-soft); font-size: 17px; }
.dogs-carousel { position: relative; display: flex; align-items: center; gap: 16px; }
.carousel-viewport { flex: 1; min-width: 0; overflow: hidden; }
.dogs-grid { display: flex; gap: 32px; transition: transform 0.55s cubic-bezier(0.22, 1, 0.36, 1); will-change: transform; }
.dog-card { flex: 0 0 calc((100% - 64px) / 3); text-align: center; text-decoration: none; color: inherit; transition: transform 0.3s ease; }
.dog-card:hover { transform: translateY(-6px); }
.dog-photo-wrap { aspect-ratio: 1/1; border-radius: 50%; overflow: hidden; margin-bottom: 22px; position: relative; border: 4px solid var(--paper); box-shadow: 0 0 0 1px rgba(45, 45, 58, 0.08), var(--shadow-sm); background: var(--blush); }
.dog-photo-wrap img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s ease; }
.dog-card:hover .dog-photo-wrap img { transform: scale(1.08); }
.dog-badge { position: absolute; bottom: 12px; left: 50%; transform: translateX(-50%); background: var(--ink); color: var(--white); padding: 5px 12px; border-radius: 100px; font-size: 10px; letter-spacing: 0.15em; text-transform: uppercase; font-weight: 600; }
.dog-name { font-family: 'Pinyon Script', cursive; font-size: 38px; color: var(--ink); line-height: 1; margin-bottom: 8px; }
.dog-bio { font-size: 14px; color: var(--cocoa-soft); line-height: 1.45; max-width: 240px; margin: 0 auto; }
.carousel-arrow { flex-shrink: 0; width: 52px; height: 52px; border-radius: 50%; background: var(--white); border: 1px solid rgba(45, 45, 58, 0.1); color: var(--ink); cursor: pointer; display: flex; align-items: center; justify-content: center; transition: all 0.2s ease; box-shadow: var(--shadow-sm); z-index: 2; }
.carousel-arrow:hover:not(:disabled) { background: var(--hot-pink); color: var(--white); border-color: var(--hot-pink); transform: scale(1.05); }
.carousel-arrow:disabled { opacity: 0.35; cursor: not-allowed; }
.carousel-arrow svg { width: 20px; height: 20px; }
.carousel-dots { display: flex; justify-content: center; gap: 10px; margin-top: 40px; }
.carousel-dot { width: 8px; height: 8px; border-radius: 50%; border: none; padding: 0; background: rgba(45, 45, 58, 0.2); cursor: pointer; transition: all 0.25s ease; }
.carousel-dot:hover { background: rgba(45, 45, 58, 0.4); }
.carousel-dot.active { background: var(--hot-pink); width: 28px; border-radius: 100px; }
.dogs-cta { text-align: center; margin-top: 40px; }

/* ───────── PET CARE TIPS (homepage) ───────── */
.tips-section { padding: 120px 32px; background: var(--cream); }
.tips-inner { max-width: 1280px; margin: 0 auto; }
.tips-head { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; margin-bottom: 56px; align-items: end; }
.tips-head .eyebrow { color: var(--rose); font-size: 12px; letter-spacing: 0.2em; text-transform: uppercase; font-weight: 600; margin-bottom: 14px; }
.tips-head h2 { font-family: 'DM Serif Display', serif; font-weight: 400; font-size: clamp(34px, 4vw, 50px); line-height: 1.05; color: var(--cocoa); letter-spacing: -0.01em; }
.tips-head h2 em { font-style: italic; color: var(--hot-pink); }
.tips-head p { color: var(--cocoa-soft); font-size: 17px; line-height: 1.6; }
.topics { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 56px; }
.topic-chip { padding: 11px 20px; background: var(--paper); border: 1px solid rgba(61, 31, 42, 0.1); border-radius: 100px; font-size: 14px; color: var(--cocoa); text-decoration: none; transition: all 0.2s; display: inline-flex; align-items: center; gap: 8px; }
.topic-chip:hover { background: var(--cocoa); color: var(--cream); border-color: var(--cocoa); }
.topic-chip.active { background: var(--hot-pink); color: var(--white); border-color: var(--hot-pink); }
.topic-chip .topic-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--rose); display: inline-block; }
.featured-articles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.article-card { text-decoration: none; color: inherit; transition: transform 0.3s ease; display: block; }
.article-card:hover { transform: translateY(-6px); }
.article-img-wrap { aspect-ratio: 5/4; overflow: hidden; border-radius: 16px; margin-bottom: 18px; position: relative; }
.article-img-wrap img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s ease; }
.article-card:hover .article-img-wrap img { transform: scale(1.05); }
.article-tag { position: absolute; top: 14px; left: 14px; background: rgba(255, 248, 243, 0.95); backdrop-filter: blur(8px); color: var(--cocoa); padding: 5px 12px; border-radius: 100px; font-size: 10px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.1em; }
.article-date { color: var(--cocoa-soft); font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; margin-bottom: 10px; font-weight: 600; }
.article-title { font-family: 'DM Sans', sans-serif; font-size: 17px; line-height: 1.35; color: var(--ink); font-weight: 600; letter-spacing: -0.005em; margin-bottom: 10px; }
.article-excerpt { color: var(--cocoa-soft); font-size: 14px; line-height: 1.55; }

/* ───────── FAVORITE THINGS (homepage) ───────── */
.favorites-section { padding: 120px 32px; background: var(--cream-deep); position: relative; overflow: hidden; }
.favorites-inner { max-width: 1280px; margin: 0 auto; }
.favorites-head { text-align: center; margin-bottom: 56px; max-width: 720px; margin-left: auto; margin-right: auto; }
.favorites-head .eyebrow { color: var(--rose); font-size: 12px; letter-spacing: 0.2em; text-transform: uppercase; font-weight: 600; margin-bottom: 14px; }
.favorites-head h2 { font-family: 'DM Serif Display', serif; font-weight: 400; font-size: clamp(34px, 4vw, 52px); line-height: 1.05; color: var(--cocoa); margin-bottom: 18px; letter-spacing: -0.01em; }
.favorites-head h2 .script { font-family: 'Pinyon Script', cursive; color: var(--rose); font-size: 1.1em; }
.favorites-head p { color: var(--cocoa-soft); font-size: 17px; line-height: 1.55; }
.favorites-head .pif-note { display: inline-flex; align-items: center; gap: 8px; margin-top: 18px; background: var(--paper); padding: 10px 20px; border-radius: 100px; border: 1px solid rgba(232, 144, 137, 0.3); font-family: 'DM Serif Display', serif; font-style: italic; font-size: 13px; color: var(--cocoa); }
.favorites-head .pif-note .heart { color: var(--rose); }
.favorites-cta { margin-top: 32px; }
.favorites-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.fav-card { background: var(--paper); border-radius: 18px; padding: 20px; text-decoration: none; color: inherit; transition: all 0.3s ease; border: 1px solid rgba(61, 31, 42, 0.05); display: flex; flex-direction: column; }
.fav-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-sm); }
.fav-image { aspect-ratio: 1/1; border-radius: 12px; background: var(--blush); margin-bottom: 16px; display: flex; align-items: center; justify-content: center; color: var(--rose); overflow: hidden; }
.fav-image svg { width: 40px; height: 40px; }
.fav-image img { width: 100%; height: 100%; object-fit: cover; }
.fav-cat { font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--gold); font-weight: 600; margin-bottom: 6px; }
.fav-name { font-family: 'DM Serif Display', serif; font-size: 16px; line-height: 1.25; color: var(--cocoa); font-weight: 500; margin-bottom: 8px; }
.fav-why { font-size: 13px; color: var(--cocoa-soft); line-height: 1.45; flex: 1; }
.fav-link { margin-top: 14px; font-size: 12px; color: var(--rose); font-weight: 600; text-transform: uppercase; letter-spacing: 0.05em; }

/* ───────── SUBSCRIBE (homepage) ───────── */
.newsletter { padding: 120px 32px; background: var(--blush); position: relative; overflow: hidden; }
.newsletter-inner { max-width: 720px; margin: 0 auto; text-align: center; position: relative; z-index: 2; }
.newsletter .eyebrow { color: var(--rose); font-size: 12px; letter-spacing: 0.2em; text-transform: uppercase; font-weight: 600; margin-bottom: 18px; }
.newsletter h2 { font-family: 'DM Serif Display', serif; font-weight: 400; font-size: clamp(36px, 4.5vw, 58px); line-height: 1.05; color: var(--cocoa); margin-bottom: 20px; letter-spacing: -0.01em; }
.newsletter h2 em { font-style: italic; color: var(--hot-pink); }
.newsletter h2 .script { font-family: 'Pinyon Script', cursive; color: var(--rose); font-size: 1.1em; }
.newsletter p { color: var(--cocoa-soft); font-size: 17px; margin-bottom: 32px; max-width: 520px; margin-left: auto; margin-right: auto; }
.newsletter-form { display: flex; gap: 10px; max-width: 480px; margin: 0 auto; background: var(--paper); padding: 8px; border-radius: 100px; box-shadow: var(--shadow-sm); }
.newsletter-form input { flex: 1; border: none; background: transparent; padding: 14px 20px; font-family: inherit; font-size: 15px; color: var(--cocoa); outline: none; }
.newsletter-form input::placeholder { color: var(--cocoa-soft); opacity: 0.6; }
.newsletter-form button { background: var(--hot-pink); color: var(--white); border: none; padding: 14px 28px; border-radius: 100px; font-family: inherit; font-weight: 600; font-size: 14px; cursor: pointer; transition: background 0.2s; }
.newsletter-form button:hover { background: var(--rose); }
.newsletter-promise { margin-top: 18px; font-size: 12px; color: var(--cocoa-soft); letter-spacing: 0.05em; }
.newsletter-promise span { color: var(--aqua); }
.news-paw { position: absolute; opacity: 0.18; color: var(--rose); }
.news-paw.p1 { top: 60px; left: 8%; transform: rotate(-20deg); width: 60px; height: 60px; }
.news-paw.p2 { bottom: 80px; right: 10%; transform: rotate(25deg); width: 80px; height: 80px; }
.news-paw.p3 { top: 40%; left: 4%; transform: rotate(45deg); width: 40px; height: 40px; }

.pif-paw { position: absolute; pointer-events: none; }
.pif-paw.pif-p1 { top: 80px; right: 5%; width: 76px; height: 76px; color: var(--hot-pink); opacity: 0.12; transform: rotate(20deg); }
.pif-paw.pif-p2 { top: 38%; right: 3%; width: 44px; height: 44px; color: var(--aqua); opacity: 0.65; transform: rotate(-14deg); }
.pif-paw.pif-p3 { bottom: 200px; left: 4%; width: 56px; height: 56px; color: var(--hot-pink); opacity: 0.14; transform: rotate(-22deg); }
.pif-paw.pif-p4 { top: 60%; left: 46%; width: 36px; height: 36px; color: var(--aqua); opacity: 0.55; transform: rotate(12deg); }

/* ───────── FOOTER (shared) ───────── */
footer { background: var(--hot-pink); color: var(--white); padding: 80px 32px 40px; }
.footer-inner { max-width: 1280px; margin: 0 auto; }
.footer-top { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 60px; padding-bottom: 60px; border-bottom: 1px solid rgba(255, 255, 255, 0.25); }
.footer-brand p { margin-top: 20px; color: rgba(255, 255, 255, 0.9); font-size: 17px; line-height: 1.5; max-width: 360px; }
.footer-col h4 { font-family: 'DM Serif Display', serif; font-style: italic; font-weight: 400; font-size: 18px; color: var(--white); margin-bottom: 20px; letter-spacing: 0.02em; }
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 12px; }
.footer-col a { color: rgba(255, 255, 255, 0.9); text-decoration: none; font-size: 17px; transition: color 0.2s; }
.footer-col a:hover { color: var(--mint); }
.footer-bottom { padding-top: 32px; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 20px; font-size: 14px; color: rgba(255, 255, 255, 0.8); letter-spacing: 0.03em; }
.socials { display: flex; gap: 14px; }
.footer-col .socials { margin-top: 20px; }
.socials a { width: 36px; height: 36px; border: 1px solid rgba(255, 255, 255, 0.35); border-radius: 50%; display: flex; align-items: center; justify-content: center; color: rgba(255, 255, 255, 0.85); transition: all 0.2s; text-decoration: none; }
.socials a:hover { background: var(--white); color: var(--hot-pink); border-color: var(--white); }
.socials svg { width: 16px; height: 16px; }
.socials i { font-size: 16px; line-height: 1; }

/* ============================================================
   INNER-PAGE COMPONENTS (About, Books, Podcast, Blog,
   Favorites, Paw It Forward, Contact)
   ============================================================ */

/* Page hero — compact banner used at the top of every inner page */
.page-hero { position: relative; padding: 70px 32px 60px; overflow: hidden; text-align: center; background: var(--cream-deep); }
.page-hero-inner { max-width: 820px; margin: 0 auto; position: relative; z-index: 2; }
.page-hero .eyebrow { display: inline-flex; align-items: center; gap: 12px; font-size: 12px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--rose); font-weight: 700; margin-bottom: 18px; justify-content: center; }
.page-hero .eyebrow .line { width: 32px; height: 1px; background: var(--rose); }
.page-hero h1 { font-family: 'DM Serif Display', serif; font-weight: 400; font-size: clamp(38px, 5vw, 62px); line-height: 1.04; letter-spacing: -0.015em; color: var(--ink); margin-bottom: 20px; }
.page-hero h1 em { font-style: italic; color: var(--hot-pink); }
.page-hero h1 .script { font-family: 'Pinyon Script', cursive; color: var(--rose); font-size: 1.15em; }
.page-hero p { font-size: 18px; color: var(--cocoa-soft); line-height: 1.6; max-width: 620px; margin: 0 auto; }
.page-hero .breadcrumb { font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--cocoa-soft); margin-top: 24px; }
.page-hero .breadcrumb a { color: var(--rose); text-decoration: none; }
.page-hero .breadcrumb a:hover { color: var(--hot-pink); }
.page-hero .breadcrumb span { opacity: 0.5; margin: 0 8px; }

/* Generic section wrapper for inner-page prose */
.section { padding: 100px 32px; }
.section-inner { max-width: 1100px; margin: 0 auto; }
.section-narrow { max-width: 780px; margin: 0 auto; }
.bg-white { background: var(--white); }
.bg-cream { background: var(--cream); }
.bg-cream-deep { background: var(--cream-deep); }
.bg-blush { background: var(--blush); }
.bg-pink { background: var(--pink); }

.section-eyebrow { color: var(--rose); font-size: 12px; letter-spacing: 0.2em; text-transform: uppercase; font-weight: 700; margin-bottom: 14px; }
.section-title { font-family: 'DM Serif Display', serif; font-weight: 400; font-size: clamp(30px, 3.6vw, 46px); line-height: 1.08; color: var(--ink); letter-spacing: -0.01em; margin-bottom: 18px; }
.section-title em { font-style: italic; color: var(--hot-pink); }
.section-title .script { font-family: 'Pinyon Script', cursive; color: var(--rose); font-size: 1.12em; }
.section-lede { color: var(--cocoa-soft); font-size: 18px; line-height: 1.65; }

/* Prose blocks */
.prose p { color: var(--cocoa-soft); font-size: 17px; line-height: 1.7; margin-bottom: 20px; }
.prose p:last-child { margin-bottom: 0; }
.prose a { color: var(--hot-pink); text-decoration: none; border-bottom: 1px solid rgba(239,69,157,0.3); transition: border-color 0.2s; }
.prose a:hover { border-color: var(--hot-pink); }
.prose strong { color: var(--ink); font-weight: 600; }
.prose em { font-style: italic; }

/* Bio rows (About page) — alternating photo + text */
.bio { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: 64px; align-items: center; margin-bottom: 90px; }
.bio:last-child { margin-bottom: 0; }
.bio:nth-child(even) .bio-photo { order: 2; }
.bio-photo { position: relative; }
.bio-photo .frame { background: var(--white); padding: 16px 16px 52px; border-radius: 4px; box-shadow: 0 30px 60px -25px rgba(45,45,58,0.4), 0 6px 14px -8px rgba(45,45,58,0.15); transform: rotate(-1.8deg); transition: transform 0.5s cubic-bezier(0.22,1,0.36,1); }
.bio:nth-child(even) .bio-photo .frame { transform: rotate(1.8deg); }
.bio-photo .frame:hover { transform: rotate(0) translateY(-6px); }
.bio-photo .frame::before { content: ''; position: absolute; top: -10px; left: 50%; transform: translateX(-50%) rotate(-3deg); width: 90px; height: 22px; background: rgba(157,223,221,0.55); border-left: 1px dashed rgba(95,168,154,0.3); border-right: 1px dashed rgba(95,168,154,0.3); z-index: 3; }
.bio-photo img { width: 100%; aspect-ratio: 4/5; object-fit: cover; border-radius: 2px; display: block; }
.bio-photo .frame .cap { text-align: center; margin-top: 14px; font-family: 'Pinyon Script', cursive; font-size: 30px; color: var(--hot-pink); line-height: 1; }
.bio-text h3 { font-family: 'DM Serif Display', serif; font-weight: 400; font-size: clamp(28px, 3vw, 40px); color: var(--ink); margin-bottom: 8px; line-height: 1.1; }
.bio-text .role { font-size: 12px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--teal); font-weight: 700; margin-bottom: 20px; }
.bio-text .memoriam { display: inline-flex; align-items: center; gap: 7px; font-family: 'DM Serif Display', serif; font-style: italic; font-size: 14px; color: var(--cocoa-soft); margin-top: 18px; }
.bio-text .memoriam .heart { color: var(--rose); }

/* Award logos grid */
.awards { background: var(--white); }
.awards-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; max-width: 980px; margin: 0 auto; align-items: center; }
.award-badge { background: var(--white); border-radius: 16px; padding: 22px; display: flex; align-items: center; justify-content: center; border: 1px solid rgba(45,45,58,0.06); box-shadow: 0 8px 22px -14px rgba(45,45,58,0.18); transition: transform 0.3s ease, box-shadow 0.3s ease; }
.award-badge:hover { transform: translateY(-4px); box-shadow: 0 16px 34px -16px rgba(45,45,58,0.28); }
.award-badge img { max-height: 120px; width: auto; object-fit: contain; mix-blend-mode: multiply; }

/* Buy-the-book block */
.buy-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 36px; margin-top: 10px; }
.buy-card { background: var(--white); border-radius: 20px; padding: 0 0 28px; border: 1px solid rgba(45,45,58,0.06); box-shadow: var(--shadow-sm); display: flex; flex-direction: column; overflow: hidden; transition: transform 0.3s ease, box-shadow 0.3s ease; text-align: center; }
.buy-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.buy-cover { background: var(--cream-deep); padding: 28px 28px 0; }
.buy-cover img { width: 100%; max-width: 230px; margin: 0 auto; border-radius: 6px 6px 0 0; box-shadow: 0 18px 36px -18px rgba(45,45,58,0.4); }
.buy-card .buy-meta { font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--teal); font-weight: 700; margin: 24px 0 8px; }
.buy-card .buy-title { font-family: 'DM Serif Display', serif; font-size: 21px; line-height: 1.2; color: var(--ink); padding: 0 24px; margin-bottom: 18px; }
.buy-links { display: flex; flex-direction: column; gap: 8px; padding: 0 24px; margin-top: auto; }
.buy-link { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 11px 16px; border-radius: 100px; font-size: 13px; font-weight: 600; text-decoration: none; transition: all 0.2s; }
.buy-link.amazon { background: var(--ink); color: var(--white); }
.buy-link.amazon:hover { background: var(--hot-pink); }
.buy-link.bn { background: transparent; color: var(--ink); border: 1.5px solid rgba(45,45,58,0.2); }
.buy-link.bn:hover { border-color: var(--teal); color: var(--teal); }
.buy-link.soon { background: var(--cream-deep); color: var(--cocoa-soft); cursor: default; font-style: italic; }

/* Gift callout */
.gift-callout { background: var(--mint); border-radius: 24px; padding: 48px; display: grid; grid-template-columns: auto 1fr; gap: 32px; align-items: center; max-width: 980px; margin: 0 auto; }
.gift-callout .gc-icon { width: 84px; height: 84px; border-radius: 50%; background: var(--white); display: flex; align-items: center; justify-content: center; color: var(--teal); flex-shrink: 0; }
.gift-callout .gc-icon svg { width: 40px; height: 40px; }
.gift-callout h3 { font-family: 'DM Serif Display', serif; font-weight: 400; font-size: 26px; color: var(--ink); margin-bottom: 10px; }
.gift-callout p { color: #3c5b52; font-size: 16px; line-height: 1.6; }

/* Podcast archive list */
.archive-controls { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 40px; justify-content: center; }
.archive-list { display: flex; flex-direction: column; gap: 16px; }
.episode-row { display: grid; grid-template-columns: auto 1fr auto; gap: 24px; align-items: center; background: var(--white); border: 1px solid rgba(45,45,58,0.07); border-radius: 18px; padding: 22px 26px; transition: all 0.25s ease; text-decoration: none; color: inherit; }
.episode-row:hover { transform: translateY(-3px); box-shadow: var(--shadow-sm); border-color: var(--pink); }
.episode-row .ep-num { font-family: 'DM Serif Display', serif; font-style: italic; font-size: 26px; color: var(--gold); min-width: 64px; text-align: center; line-height: 1; }
.episode-row .ep-body .ep-cat { font-size: 10px; letter-spacing: 0.14em; text-transform: uppercase; font-weight: 700; color: var(--teal); margin-bottom: 6px; }
.episode-row .ep-body h3 { font-family: 'DM Sans', sans-serif; font-size: 17px; font-weight: 600; color: var(--ink); line-height: 1.3; margin-bottom: 4px; }
.episode-row .ep-body p { font-size: 13.5px; color: var(--cocoa-soft); line-height: 1.45; }
.episode-row .ep-play { width: 46px; height: 46px; border-radius: 50%; background: var(--blush); color: var(--hot-pink); display: flex; align-items: center; justify-content: center; flex-shrink: 0; transition: all 0.2s; }
.episode-row:hover .ep-play { background: var(--hot-pink); color: var(--white); }
.episode-row .ep-play svg { width: 16px; height: 16px; }
.archive-empty { text-align: center; color: var(--cocoa-soft); font-family: 'DM Serif Display', serif; font-style: italic; padding: 40px; display: none; }

/* Notable guests strip */
.guests { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; margin-top: 10px; }
.guest-chip { background: var(--white); border: 1px solid rgba(45,45,58,0.08); border-radius: 100px; padding: 12px 22px; display: inline-flex; align-items: center; gap: 10px; box-shadow: 0 6px 16px -12px rgba(45,45,58,0.2); }
.guest-chip .g-avatar { width: 34px; height: 34px; border-radius: 50%; background: var(--blush); color: var(--rose); display: flex; align-items: center; justify-content: center; font-family: 'DM Serif Display', serif; font-size: 15px; }
.guest-chip .g-name { font-weight: 600; font-size: 14px; color: var(--ink); }
.guest-chip .g-desc { font-size: 12px; color: var(--cocoa-soft); }

/* Contact layout */
.contact-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 64px; align-items: start; }
.contact-info h3 { font-family: 'DM Serif Display', serif; font-weight: 400; font-size: 24px; color: var(--ink); margin-bottom: 12px; }
.contact-info p { color: var(--cocoa-soft); margin-bottom: 24px; }
.contact-block { margin-bottom: 32px; }
.contact-block .cb-label { font-size: 12px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--teal); font-weight: 700; margin-bottom: 14px; }
.listen-list { display: flex; flex-direction: column; gap: 10px; }
.listen-list a { display: inline-flex; align-items: center; gap: 12px; color: var(--ink); text-decoration: none; font-size: 15px; padding: 10px 14px; border-radius: 12px; transition: all 0.2s; border: 1px solid rgba(45,45,58,0.07); background: var(--white); }
.listen-list a:hover { border-color: var(--hot-pink); color: var(--hot-pink); transform: translateX(4px); }
.listen-list a i, .listen-list a svg { width: 20px; color: var(--rose); text-align: center; }
.contact-form { background: var(--white); border-radius: 24px; padding: 40px; box-shadow: var(--shadow-sm); border: 1px solid rgba(45,45,58,0.06); }
.contact-form .field { margin-bottom: 20px; }
.contact-form label { display: block; font-size: 13px; font-weight: 600; color: var(--ink); margin-bottom: 8px; letter-spacing: 0.02em; }
.contact-form input, .contact-form textarea { width: 100%; border: 1px solid rgba(45,45,58,0.15); border-radius: 12px; padding: 14px 16px; font-family: inherit; font-size: 15px; color: var(--ink); background: var(--cream); outline: none; transition: border-color 0.2s, background 0.2s; }
.contact-form input:focus, .contact-form textarea:focus { border-color: var(--hot-pink); background: var(--white); }
.contact-form textarea { resize: vertical; min-height: 130px; }
.contact-form button { width: 100%; }

/* Org logo grid (Paw It Forward) */
.org-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.org-card { background: var(--white); border: 1px solid rgba(45,45,58,0.06); border-radius: 18px; padding: 26px 20px; text-align: center; text-decoration: none; color: inherit; transition: all 0.25s ease; box-shadow: 0 6px 16px -12px rgba(45,45,58,0.16); display: flex; flex-direction: column; align-items: center; }
.org-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-sm); border-color: var(--pink); }
.org-card .org-month { font-size: 10.5px; letter-spacing: 0.18em; text-transform: uppercase; font-weight: 700; color: var(--hot-pink); margin-bottom: 14px; }
.org-card .org-mark { width: 60px; height: 60px; border-radius: 50%; background: var(--blush); display: flex; align-items: center; justify-content: center; margin-bottom: 16px; color: var(--rose); }
.org-card .org-mark svg { width: 28px; height: 28px; }
.org-card .org-name { font-family: 'DM Serif Display', serif; font-size: 17px; line-height: 1.25; color: var(--ink); margin-bottom: 8px; flex: 1; }
.org-card .org-visit { font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; font-weight: 700; color: var(--teal); display: inline-flex; align-items: center; gap: 5px; }

/* Steps (Paw It Forward "How it works") */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.step { background: var(--white); border-radius: 20px; padding: 36px 28px; text-align: center; border: 1px solid rgba(45,45,58,0.06); position: relative; }
.step .step-num { width: 52px; height: 52px; border-radius: 50%; background: var(--hot-pink); color: var(--white); font-family: 'DM Serif Display', serif; font-size: 24px; display: flex; align-items: center; justify-content: center; margin: 0 auto 20px; }
.step h3 { font-family: 'DM Serif Display', serif; font-weight: 400; font-size: 22px; color: var(--ink); margin-bottom: 10px; }
.step p { color: var(--cocoa-soft); font-size: 15px; line-height: 1.55; }

/* Two-up favorite things product cards */
.product-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
.product-card { background: var(--white); border-radius: 24px; overflow: hidden; border: 1px solid rgba(45,45,58,0.06); box-shadow: var(--shadow-sm); display: flex; flex-direction: column; transition: transform 0.3s ease, box-shadow 0.3s ease; }
.product-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.product-card .pc-img { background: var(--cream-deep); display: flex; align-items: center; justify-content: center; padding: 24px; margin: 32px auto 0; border-radius: 18px; align-self: center; width: 236px; height: 300px; }
.product-card .pc-img img { max-width: 100%; max-height: 100%; width: auto; height: auto; border-radius: 6px; box-shadow: 0 16px 32px -16px rgba(45,45,58,0.4); }
.product-card .pc-body { padding: 28px 36px 36px; display: flex; flex-direction: column; }
.product-card .pc-cat { font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--gold); font-weight: 700; margin-bottom: 10px; }
.product-card .pc-title { font-family: 'DM Serif Display', serif; font-size: 22px; line-height: 1.2; color: var(--ink); margin-bottom: 14px; }
.product-card .pc-desc { font-size: 14.5px; color: var(--cocoa-soft); line-height: 1.6; margin-bottom: 22px; flex: 1; }
.product-card .pc-desc p { margin-bottom: 12px; }

/* Section divider helper (script + paws) */
.mini-divider { display: flex; align-items: center; justify-content: center; gap: 10px; margin: 0 auto 8px; }
.mini-divider svg { width: 22px; height: 22px; }
.mini-divider svg:nth-child(1) { color: var(--mint); transform: rotate(-10deg); }
.mini-divider svg:nth-child(2) { color: var(--pink); transform: rotate(6deg); }
.mini-divider svg:nth-child(3) { color: var(--aqua); transform: rotate(-4deg); }

/* Reveal */
.reveal { opacity: 0; transform: translateY(20px); transition: opacity 0.8s ease, transform 0.8s ease; }
.reveal.in-view { opacity: 1; transform: translateY(0); }

/* Responsive */
@media (max-width: 1180px) {
  .nav-links { display: none; }
  .menu-btn { display: flex; align-items: center; justify-content: center; width: 40px; height: 40px; background: transparent; border: 1px solid var(--cocoa); border-radius: 50%; color: var(--cocoa); cursor: pointer; }
}
@media (max-width: 1100px) {
  .quick-grid { grid-template-columns: repeat(3, 1fr); }
  .favorites-grid { grid-template-columns: repeat(2, 1fr); }
  .awards-grid { grid-template-columns: repeat(3, 1fr); }
  .org-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 980px) {
  .hero-inner, .podcast-inner, .pif-inner, .books-head, .tips-head,
  .bio, .contact-grid { grid-template-columns: 1fr; gap: 50px; }
  .bio:nth-child(even) .bio-photo { order: 0; }
  .bio-photo { max-width: 460px; margin: 0 auto; }
  .hero { padding: 60px 24px 100px; }
  .hero-visual { max-width: 480px; margin: 0 auto; }
  .books-grid, .featured-articles, .buy-grid, .steps { grid-template-columns: 1fr 1fr; gap: 24px; }
  .product-grid { grid-template-columns: 1fr; }
  .dog-card { flex: 0 0 calc((100% - 24px) / 2); }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 40px; }
  .gift-callout { grid-template-columns: 1fr; text-align: center; }
  .gift-callout .gc-icon { margin: 0 auto; }
  .podcast-section, .pif, .books-section, .dogs-section, .tips-section,
  .favorites-section, .newsletter, .quick-nav, .section { padding: 80px 24px; }
}
@media (max-width: 640px) {
  .quick-grid { grid-template-columns: repeat(2, 1fr); }
  .books-grid, .featured-articles, .favorites-grid, .buy-grid, .steps,
  .awards-grid, .org-grid { grid-template-columns: 1fr; }
  .dog-card { flex: 0 0 100%; }
  .carousel-arrow { width: 44px; height: 44px; }
  .dogs-grid { gap: 16px; }
  .footer-top { grid-template-columns: 1fr; }
  .newsletter-form { flex-direction: column; border-radius: 24px; padding: 16px; }
  .newsletter-form input { text-align: center; }
  .logo img { height: 64px; }
  .footer-logo img { height: 52px; }
  .product-card .pc-img { margin: 28px auto 0; }
  .product-card .pc-body { padding: 28px; }
  .episode-row { grid-template-columns: auto 1fr; }
  .episode-row .ep-play { display: none; }
  .gift-callout { padding: 32px 24px; }
  .contact-form { padding: 28px; }
}

/* ============================================================
   IMAGE PLACEHOLDERS — on-brand pastel tiles for article/blog
   thumbnails until real photos are added. Swap <div class="thumb-ph ..">
   for an <img> when real imagery is available.
   ============================================================ */
.thumb-ph { position: relative; width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; overflow: hidden; }
.thumb-ph::after { content: ''; position: absolute; width: 120px; height: 120px; background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><g fill='white' opacity='0.55'><ellipse cx='5' cy='10' rx='2' ry='2.6' transform='rotate(-18 5 10)'/><ellipse cx='9.6' cy='6.5' rx='2' ry='2.7' transform='rotate(-7 9.6 6.5)'/><ellipse cx='14.4' cy='6.5' rx='2' ry='2.7' transform='rotate(7 14.4 6.5)'/><ellipse cx='19' cy='10' rx='2' ry='2.6' transform='rotate(18 19 10)'/><path d='M12 22.2c-3.5 0-6-2.6-6-5.6 0-2.6 2.1-4.6 4-5.4 1.2-0.5 1.8-1 2-1 0.2 0 0.8 0.5 2 1 1.9 0.8 4 2.8 4 5.4 0 3-2.5 5.6-6 5.6z'/></g></svg>"); background-size: contain; background-repeat: no-repeat; opacity: 0.9; }
.thumb-ph.c1 { background: linear-gradient(135deg, #FBDEE2 0%, #F5BFC8 100%); }
.thumb-ph.c2 { background: linear-gradient(135deg, #C8E8DC 0%, #A4D5C5 100%); }
.thumb-ph.c3 { background: linear-gradient(135deg, #D5C9EC 0%, #C4B8E4 100%); }
.thumb-ph.c4 { background: linear-gradient(135deg, #C4DEE7 0%, #9DDFDD 100%); }
.thumb-ph.c5 { background: linear-gradient(135deg, #FBEBEE 0%, #FBDEE2 100%); }
.thumb-ph.c6 { background: linear-gradient(135deg, #F5BFC8 0%, #E5879A 100%); }

/* Books page — per-book summary (buy buttons removed for now) */
.buy-card .buy-summary { font-size: 14px; color: var(--cocoa-soft); line-height: 1.6; padding: 0 24px; margin-bottom: 18px; text-align: left; }
.buy-card .buy-ages { font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--teal); font-weight: 700; padding: 16px 24px 0; margin-top: auto; border-top: 1px solid rgba(45,45,58,0.08); margin-left: 24px; margin-right: 24px; padding-left: 0; padding-right: 0; }

/* ============================================================
   ORPHAN PREVENTION — balance headings, avoid single-word
   last lines in body copy. Degrades gracefully in older browsers.
   ============================================================ */
h1, h2, h3, h4,
.section-title, .hero h1, .page-hero h1,
.pif-content h2, .podcast-section h2, .books-head h2,
.dogs-head h2, .tips-head h2, .newsletter h2, .gift-callout h3,
.bio-text h3, .step h3, .product-card .pc-title, .buy-title {
  text-wrap: balance;
}
p, li,
.section-lede, .hero-lede, .dog-bio, .article-excerpt,
.pc-desc p, .buy-summary, .prose p, .step p, .org-card .org-name {
  text-wrap: pretty;
}

/* Paw It Forward — "Join Us" three-point list */
.join-list { display: inline-flex; flex-direction: column; gap: 14px; text-align: left; margin: 8px auto 0; }
.join-item { display: flex; align-items: center; gap: 14px; font-size: 17px; color: var(--ink); font-weight: 500; }
.join-ico { flex-shrink: 0; width: 40px; height: 40px; border-radius: 50%; background: var(--blush); color: var(--hot-pink); display: inline-flex; align-items: center; justify-content: center; }
.join-ico svg { width: 20px; height: 20px; }

/* Podcast loop-grid card — read-more link */
.article-readmore { display: inline-block; margin-top: 14px; font-size: 12.5px; font-weight: 700; letter-spacing: 0.05em; text-transform: uppercase; color: var(--hot-pink); }
.article-card:hover .article-readmore { color: var(--rose); }

/* Podcast archive — search field */
.archive-search { position: relative; max-width: 460px; margin: 0 auto 44px; }
.archive-search .as-icon { position: absolute; left: 20px; top: 50%; transform: translateY(-50%); width: 18px; height: 18px; color: var(--rose); pointer-events: none; }
.archive-search input { width: 100%; border: 1px solid rgba(45,45,58,0.15); background: var(--white); border-radius: 100px; padding: 15px 22px 15px 50px; font-family: inherit; font-size: 15px; color: var(--ink); outline: none; box-shadow: var(--shadow-sm); transition: border-color 0.2s; }
.archive-search input:focus { border-color: var(--hot-pink); }
.archive-search input::placeholder { color: var(--cocoa-soft); opacity: 0.7; }

/* Podcast page — decorative paws + embed caption */
.podcast-section .podcast-inner { position: relative; z-index: 1; }
.pod-paw { position: absolute; pointer-events: none; z-index: 0; }
.embed-caption { font-family: 'Pinyon Script', cursive; color: var(--hot-pink); font-size: 30px; text-align: center; line-height: 1; margin-top: 22px; }
.embed-paws { display: flex; gap: 14px; justify-content: center; margin-top: 12px; }
.embed-paws svg { width: 26px; height: 26px; }
.embed-paws svg:nth-child(1){ color: var(--mint); transform: rotate(-12deg); }
.embed-paws svg:nth-child(2){ color: var(--pink); transform: rotate(7deg); }
.embed-paws svg:nth-child(3){ color: var(--aqua); transform: rotate(-5deg); }
.embed-paws svg:nth-child(4){ color: var(--lavender); transform: rotate(14deg); }
.section.has-paws { position: relative; overflow: hidden; }
.section.has-paws .section-inner { position: relative; z-index: 1; }

/* Books page — gift intro (text left, Miss Olive image right) */
.gift-intro { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 60px; align-items: center; }
.gift-intro-text { text-align: left; }
.gift-intro-img { display: flex; justify-content: center; }
.gift-intro-img img { width: 100%; max-width: 420px; height: auto; border-radius: 18px; box-shadow: var(--shadow); transform: rotate(1.6deg); transition: transform 0.5s cubic-bezier(0.22,1,0.36,1); }
.gift-intro-img img:hover { transform: rotate(0); }
@media (max-width: 980px) {
  .gift-intro { grid-template-columns: 1fr; gap: 36px; }
  .gift-intro-img img { max-width: 360px; }
}
