/* ============================================================
   ALUNA DESIGN SYSTEM v1.0
   Primary reference: aluna_bloodbank_3.html
   Applies to: primary-care, urgent-care, end-of-life, alunalabs
   ============================================================ */

/* Google Fonts: loaded via wp_enqueue_style in functions.php */

/* RESET: box-sizing only — scoped to Aluna pages */
.page-id-104030 *, .page-id-104031 *, .page-id-104032 * { box-sizing: border-box; }

/* ---- Tokens ---- */
:root {
  /* Teal */
  --teal-50:  #EEF5F5;
  --teal-100: #D6E7E7;
  --teal-200: #A9CECF;
  --teal-300: #7BB3B4;
  --teal-400: #4F9898;
  --teal-500: #2C8182;   /* primary brand */
  --teal-600: #236869;
  --teal-700: #1B5152;
  --teal-800: #143B3C;
  --teal-900: #0D2627;

  /* Ochre */
  --ochre-50:  #FAF7EB;
  --ochre-100: #F1EBD1;
  --ochre-200: #E4DAAE;
  --ochre-300: #D6C891;
  --ochre-400: #C8BE84;  /* brandmark ochre */
  --ochre-500: #B8AB64;
  --ochre-600: #998C4E;
  --ochre-700: #766C3C;
  --ochre-800: #564E2B;

  /* Paper & ink */
  --paper:      #FBF8F1;
  --paper-alt:  #F4EFE3;
  --paper-deep: #ECE5D2;
  --ink-900: #1F2421;
  --ink-700: #3A3F3C;
  --ink-500: #6B706D;
  --ink-300: #9CA09D;
  --ink-100: #D9DCD8;

  /* Semantic */
  --bg:             var(--paper);
  --bg-alt:         var(--paper-alt);
  --bg-deep:        var(--paper-deep);
  --fg-1:           var(--ink-900);
  --fg-2:           var(--ink-700);
  --fg-3:           var(--ink-500);
  --accent:         var(--teal-500);
  --accent-hover:   var(--teal-600);
  --highlight:      var(--ochre-500);
  --highlight-soft: var(--ochre-100);
  --border:         #E3DCC9;
  --border-strong:  #C9C1A9;

  /* Radius */
  --radius-xs:   4px;
  --radius-sm:   6px;
  --radius-md:   10px;
  --radius-lg:   16px;
  --radius-xl:   24px;
  --radius-pill: 999px;
  --radius-leaf: 24px 24px 24px 4px;

  /* Warm shadows */
  --shadow-xs: 0 1px 2px rgba(55,49,26,0.06);
  --shadow-sm: 0 2px 6px rgba(55,49,26,0.06), 0 1px 2px rgba(55,49,26,0.04);
  --shadow-md: 0 6px 18px rgba(55,49,26,0.08), 0 2px 4px rgba(55,49,26,0.04);
  --shadow-lg: 0 16px 40px rgba(55,49,26,0.10), 0 4px 8px rgba(55,49,26,0.05);

  /* Typography */
  --font-sans:  'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-serif: 'Fraunces', 'Iowan Old Style', 'Palatino', Georgia, serif;
  --font-mono:  'JetBrains Mono', 'SF Mono', ui-monospace, Menlo, monospace;

  /* Motion */
  --ease-out:    cubic-bezier(0.2, 0.7, 0.2, 1);
  --ease-in-out: cubic-bezier(0.6, 0.05, 0.2, 0.95);
  --dur-fast: 120ms;
  --dur-base: 220ms;
  --dur-slow: 420ms;

  /* Layout rhythm */
  --section-v: 96px;
  --section-h: 64px;
  --max-w: 1200px;
}

/* ============================================================ RESET */
/* body: scoped below */

/* ============================================================ TYPOGRAPHY */
/* h1: scoped below */

/* h2: scoped below */

/* Functional headings — smaller than landmark display h2 */
.h2-functional {
  font-size: clamp(1.5rem, 2.8vw, 2.2rem) !important;
  font-weight: 500;
  letter-spacing: -0.015em;
  line-height: 1.2;
}

/* h3: scoped below */

.lead {
  font-size: 1.1rem;
  color: var(--ink-500);
  max-width: 620px;
  font-weight: 300;
  line-height: 1.7;
}
.lead.wide    { max-width: 820px; }
.lead.on-dark { color: rgba(255,255,255,0.72); }



/* ============================================================ LAYOUT */
.container { max-width: var(--max-w); margin: 0 auto; }
.mt-8  { margin-top: 8px; }
.mt-16 { margin-top: 16px; }
.mt-24 { margin-top: 24px; }
.mt-32 { margin-top: 32px; }
.mt-48 { margin-top: 48px; }
.mt-56 { margin-top: 56px; }
.mb-32 { margin-bottom: 32px; }
.text-center { text-align: center; }

/* Surface variants */
.bg-alt  { background: var(--paper-alt); }
.bg-deep { background: var(--paper-deep); }
.bg-dark { background: var(--teal-700); }
.bg-dark .section-label { color: var(--teal-200); }
.bg-dark .section-label::before { background: var(--teal-200); }
.bg-dark h2, .bg-dark h3 { color: #fff; }
.bg-dark h2 em { color: var(--ochre-400); font-weight: 400; }
.bg-dark .lead { color: rgba(255,255,255,0.72); }
.bg-dark p { color: rgba(255,255,255,0.72); }

/* Section label */
.section-label {
  font-family: var(--font-sans);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--teal-600);
  margin-bottom: 18px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.section-label::before {
  content: "";
  width: 22px;
  height: 1px;
  background: var(--teal-500);
  flex-shrink: 0;
}

/* ============================================================ NAVIGATION */
/* nav: scoped to service pages only — see bottom of file */
.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}
.nav-logo img { height: 34px; width: auto; }
.nav-links { display: flex; gap: 24px; align-items: center; }
.nav-link {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.62);
  text-decoration: none;
  transition: color var(--dur-fast);
}
.nav-link:hover { color: #fff; }
.nav-link.active { color: rgba(255,255,255,0.9); }
.nav-cta {
  background: var(--ochre-500);
  color: var(--ink-900);
  padding: 9px 20px;
  border-radius: var(--radius-pill);
  text-decoration: none;
  font-size: 0.875rem;
  font-weight: 600;
  margin-left: 8px;
  transition: background var(--dur-base) var(--ease-out);
}
.nav-cta:hover { background: var(--ochre-400); color: var(--ink-900); }

/* ============================================================ BUTTONS */
.btn-primary {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-sans); font-weight: 500; font-size: 0.95rem;
  padding: 14px 26px; border-radius: var(--radius-pill);
  background: var(--teal-500); color: #FBF8F1;
  text-decoration: none; border: none; cursor: pointer;
  transition: background var(--dur-base) var(--ease-out), transform var(--dur-base);
}
.btn-primary:hover { background: var(--teal-600); color: #FBF8F1; transform: translateY(-1px); }

.btn-secondary {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-sans); font-weight: 500; font-size: 0.95rem;
  padding: 13px 24px; border-radius: var(--radius-pill);
  background: transparent; color: var(--ink-900);
  border: 1px solid var(--border-strong);
  text-decoration: none; cursor: pointer;
  transition: background var(--dur-base), border-color var(--dur-base);
}
.btn-secondary:hover { background: var(--paper-alt); color: var(--ink-900); }

.btn-white {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-sans); font-weight: 500; font-size: 0.95rem;
  padding: 14px 26px; border-radius: var(--radius-pill);
  background: var(--paper); color: var(--teal-700);
  text-decoration: none; border: none; cursor: pointer;
  transition: background var(--dur-base), transform var(--dur-base);
}
.btn-white:hover { background: #fff; color: var(--teal-700); transform: translateY(-1px); }

.btn-ghost-white {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-sans); font-weight: 500; font-size: 0.95rem;
  padding: 14px 26px; border-radius: var(--radius-pill);
  background: transparent; color: rgba(255,255,255,0.78);
  border: 1px solid rgba(255,255,255,0.25);
  text-decoration: none; cursor: pointer;
  transition: border-color var(--dur-base), color var(--dur-base);
}
.btn-ghost-white:hover { border-color: rgba(255,255,255,0.55); color: #fff; }

/* ============================================================ HERO */
.hero {
  padding-top: 64px;
  background: var(--paper);
  display: flex;
  flex-direction: column;
}
.hero-illustration {
  width: 100%;
  height: clamp(280px, 42vw, 520px);
  overflow: hidden;
  background: var(--teal-50);
  position: relative;
}
.hero-illustration img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 20%;
  display: block;
}
.hero-content {
  padding: 56px var(--section-h) 80px;
  text-align: center;
  max-width: 780px;
  margin: 0 auto;
  width: 100%;
  opacity: 0;
  animation: fadeUp 0.6s var(--ease-out) forwards 0.15s;
}
.hero-label {
  font-size: 0.72rem; font-weight: 700; letter-spacing: 0.16em;
  text-transform: uppercase; color: var(--teal-600);
  margin-bottom: 20px; display: block;
}
.hero h1 {
  font-size: clamp(2.2rem, 5vw, 3.8rem);
  margin-bottom: 16px;
}
.hero-sub {
  font-size: 1.05rem; color: var(--ink-500);
  line-height: 1.65; margin-bottom: 32px;
  max-width: 560px; margin-left: auto; margin-right: auto;
}
.hero-actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

/* ============================================================ CARDS */
.card-grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.card-grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
.card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  transition: transform var(--dur-base) var(--ease-out), box-shadow var(--dur-base);
}
.card:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
.card-icon {
  width: 40px; height: 40px;
  background: var(--teal-50);
  border-radius: var(--radius-md);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 16px;
  color: var(--teal-600);
}
.card h3 { margin-bottom: 8px; }
.card p { font-size: 0.9rem; color: var(--ink-500); }

/* ============================================================ WORKFLOW STEPS */
.workflow-steps { display: flex; flex-direction: column; gap: 0; max-width: 720px; }
.workflow-step {
  display: grid;
  grid-template-columns: 52px 1fr;
  gap: 24px;
  padding-bottom: 36px;
  position: relative;
}
.workflow-step:not(:last-child)::before {
  content: '';
  position: absolute;
  left: 25px;
  top: 52px;
  bottom: 0;
  width: 1px;
  background: var(--border);
}
.step-num {
  width: 52px; height: 52px;
  border-radius: 50%;
  background: var(--teal-500);
  color: #FBF8F1;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-sans);
  font-size: 1rem;
  font-weight: 600;
  flex-shrink: 0;
  position: relative;
  z-index: 1;
}
.step-content {
  background: #fff;
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  padding: 20px 22px;
  margin-top: 2px;
}
.step-content h3 { font-size: 1.05rem; margin-bottom: 6px; padding-top: 0; }
.step-content p  { font-size: 0.9rem; color: var(--ink-500); }

/* Highlighted step variant — for the key operational step */
.step-content-highlight {
  background: linear-gradient(180deg, var(--teal-50) 0%, #fff 60%);
  border-radius: var(--radius-leaf);
  border: 1px solid var(--teal-200);
  padding: 24px 26px;
  margin-left: -12px;
  box-shadow: var(--shadow-md);
  position: relative;
}
.step-content-highlight::before {
  content: "";
  position: absolute;
  left: 0; top: 24px; bottom: 24px;
  width: 3px;
  background: var(--ochre-500);
  border-radius: 0 var(--radius-xs) var(--radius-xs) 0;
}
.step-content-highlight h3 { padding-top: 0; font-size: 1.15rem; margin-bottom: 8px; }
.step-content-highlight p  { font-size: 0.92rem; color: var(--ink-500); line-height: 1.7; }

/* ============================================================ VET BIOS */
.vet-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.vet-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 32px;
  display: flex;
  gap: 24px;
  align-items: flex-start;
}
.vet-photo {
  width: 76px; height: 76px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
  background: var(--teal-100);
}
.vet-info { flex: 1; }
.vet-name {
  font-family: var(--font-serif);
  font-size: 1.15rem; font-weight: 500;
  color: var(--ink-900);
  display: block; margin-bottom: 3px;
}
.vet-role {
  font-size: 0.75rem; font-weight: 600;
  letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--teal-600);
  display: block; margin-bottom: 12px;
}
.vet-info p { font-size: 0.88rem; color: var(--ink-500); line-height: 1.65; }
.vet-info .btn-secondary { margin-top: 14px; font-size: 0.875rem; padding: 10px 18px; }

/* ============================================================ PRICING */
.pricing-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.pricing-card {
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 30px 26px;
  background: #fff;
}
.pricing-card.featured {
  border-color: var(--teal-300);
  background: var(--teal-50);
}
.price-label {
  font-size: 0.7rem; font-weight: 700;
  letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--teal-600);
  margin-bottom: 6px; display: block;
}
.price-amount {
  font-family: var(--font-serif);
  font-size: 2.4rem; font-weight: 400;
  color: var(--ink-900);
  display: block; margin-bottom: 8px; line-height: 1;
}
.price-note { font-size: 0.82rem; color: var(--ink-500); line-height: 1.55; margin-bottom: 20px; }
.price-includes { list-style: none; border-top: 1px solid var(--border); padding-top: 16px; }
.price-includes li {
  font-size: 0.875rem; color: var(--ink-700);
  padding: 5px 0 5px 20px;
  position: relative;
  border-bottom: 1px solid var(--border);
}
.price-includes li:last-child { border-bottom: none; }
.price-includes li::before {
  content: "✓"; position: absolute; left: 0;
  color: var(--teal-500); font-size: 0.8rem; top: 6px;
}

/* ============================================================ FAQ */
.faq-section { }
.faq-group { margin-bottom: 40px; }
.faq-group-label {
  font-size: 0.7rem; font-weight: 700;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--teal-600);
  display: block; margin-bottom: 8px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--border);
}
/* details: scoped below */
.faq-answer { padding: 0 0 22px; max-width: 720px; }
.faq-answer p { font-size: 0.93rem; color: var(--ink-500); line-height: 1.7; }
.faq-answer p + p { margin-top: 10px; }
.faq-answer ul { margin-top: 8px; padding-left: 20px; }
.faq-answer li { font-size: 0.93rem; color: var(--ink-500); line-height: 1.65; margin-bottom: 4px; }

/* ============================================================ SYMPTOM LIST */
.symptom-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.symptom-group { }
.symptom-group-label {
  font-size: 0.7rem; font-weight: 700;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--teal-600);
  display: block; margin-bottom: 12px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--border);
}
.symptom-list { list-style: none; }
.symptom-list li {
  font-size: 0.9rem; color: var(--ink-700);
  padding: 6px 0 6px 18px;
  position: relative;
  border-bottom: 1px solid var(--border);
}
.symptom-list li:last-child { border-bottom: none; }
.symptom-list li::before {
  content: "→"; position: absolute; left: 0;
  color: var(--teal-400); font-size: 0.8rem;
}

/* Safety note callout */
.callout {
  border-radius: var(--radius-lg);
  padding: 24px 28px;
  display: flex; gap: 16px; align-items: flex-start;
}
.callout.callout-warning {
  background: #FFF7ED;
  border: 1px solid #FBBF24;
}
.callout.callout-teal {
  background: var(--teal-50);
  border: 1px solid var(--teal-200);
}
.callout-icon { font-size: 1.3rem; flex-shrink: 0; line-height: 1; }
.callout h3 { font-size: 1rem; margin-bottom: 4px; }
.callout p { font-size: 0.9rem; color: var(--ink-500); }

/* ============================================================ SIGN LIST (EOL) */
.sign-list { list-style: none; max-width: 680px; }
.sign-list li {
  display: flex; gap: 12px; align-items: flex-start;
  padding: 14px 0;
  border-bottom: 1px solid var(--border);
  font-size: 0.95rem;
  color: var(--ink-700);
}
.sign-list li::before {
  content: "→"; color: var(--teal-400);
  flex-shrink: 0; margin-top: 2px;
}

/* Pull quote */
.pull-quote {
  font-family: var(--font-serif);
  font-size: clamp(1.2rem, 2.5vw, 1.6rem);
  font-weight: 400;
  font-style: italic;
  color: var(--teal-700);
  line-height: 1.45;
  padding: 32px 0;
  border-top: 2px solid var(--teal-200);
  border-bottom: 2px solid var(--teal-200);
  max-width: 640px;
}

/* Entry paths (EOL) */
.entry-paths { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 48px; }
.entry-path {
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 32px 28px;
  background: #fff;
  display: flex; flex-direction: column;
  transition: box-shadow var(--dur-base);
}
.entry-path:hover { box-shadow: var(--shadow-md); }
.entry-path.primary {
  border-color: var(--teal-300);
  background: var(--teal-50);
}
.path-step {
  font-size: 0.7rem; font-weight: 700;
  letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--teal-600); margin-bottom: 12px; display: block;
}
.entry-path h3 { margin-bottom: 10px; }
.entry-path p { font-size: 0.9rem; color: var(--ink-500); flex: 1; margin-bottom: 20px; line-height: 1.65; }
.path-price {
  font-family: var(--font-serif);
  font-size: 1.5rem; font-weight: 400;
  color: var(--ink-900);
  display: block; margin-bottom: 16px;
}

/* Aftercare cards */
.aftercare-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 40px; }
.aftercare-card {
  background: #fff; border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 28px 24px;
}
.aftercare-icon { font-size: 1.5rem; margin-bottom: 12px; display: block; }
.aftercare-card h3 { font-size: 1rem; margin-bottom: 8px; }
.aftercare-card p { font-size: 0.88rem; color: var(--ink-500); line-height: 1.65; }

/* ============================================================ COMMUNITY DAY */
.community-day-band {
  background: var(--teal-700);
  border-radius: var(--radius-xl);
  grid-template-columns: 1fr 1fr;
  padding: 0;
  overflow: hidden;
  align-items: stretch;
  display: grid;
}
.community-day-band .cd-detail-list { list-style: none; margin-top: 14px; }
.community-day-band .cd-detail-list li {
  font-size: 0.93rem; color: rgba(255,255,255,0.68);
  padding: 4px 0 4px 18px; position: relative;
}
.community-day-band .cd-detail-list li::before {
  content: "→"; position: absolute; left: 0;
  color: var(--teal-300); font-size: 0.8rem;
}
.cd-actions { display: flex; flex-direction: column; gap: 12px; align-items: flex-end; }

/* ============================================================ FOOTER */
/* footer: scoped below */
.footer-inner {
  max-width: var(--max-w); margin: 0 auto;
  display: grid;
  grid-template-columns: 160px 1fr auto;
  gap: 48px;
  align-items: start;
}
.footer-brand img { height: 28px; width: auto; opacity: 0.75; }
.footer-brand p { font-size: 0.8rem; color: rgba(255,255,255,0.38); margin-top: 10px; line-height: 1.5; }
.footer-nav {
  display: flex; flex-wrap: wrap; gap: 12px 32px;
  padding-top: 4px;
}
.footer-link {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.5);
  text-decoration: none;
  transition: color var(--dur-fast);
}
.footer-link:hover { color: rgba(255,255,255,0.88); }
.footer-meta { text-align: right; }
.footer-meta p { font-size: 0.78rem; color: rgba(255,255,255,0.28); }
.footer-meta p + p { margin-top: 6px; }

/* ============================================================ SECTION FOOTER CTA */
.section-cta {
  background: var(--teal-700);
  padding: var(--section-v) var(--section-h);
  text-align: center;
}
.section-cta h2 { margin-bottom: 14px; }
.section-cta .lead { margin: 0 auto 32px; }
.section-cta .cta-actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

/* ============================================================ TABS (life stages) */
.tab-controls-species {
  display: flex; gap: 4px;
  background: var(--paper-deep);
  border-radius: var(--radius-pill);
  padding: 4px; width: fit-content;
  margin-bottom: 28px;
}
.tab-btn-species {
  font-family: var(--font-sans); font-size: 0.9rem; font-weight: 500;
  padding: 8px 24px; border-radius: var(--radius-pill);
  border: none; background: transparent;
  color: var(--ink-500); cursor: pointer;
  transition: all var(--dur-base);
}
.tab-btn-species.active { background: #fff; color: var(--ink-900); box-shadow: var(--shadow-sm); }

.tab-controls-age {
  display: flex; gap: 0;
  border-bottom: 2px solid var(--border);
  margin-bottom: 36px;
}
.tab-btn-age {
  font-family: var(--font-sans); font-size: 0.88rem; font-weight: 500;
  padding: 11px 24px;
  border: none; background: transparent;
  color: var(--ink-500); cursor: pointer;
  border-bottom: 2px solid transparent;
  margin-bottom: -2px;
  transition: all var(--dur-base);
}
.tab-btn-age.active { color: var(--teal-600); border-bottom-color: var(--teal-600); }

.stage-panel { display: none; }
.stage-panel.active { display: block; }
.stage-intro-text {
  font-family: var(--font-serif);
  font-size: 1.1rem; color: var(--ink-700);
  line-height: 1.7; margin-bottom: 28px;
  max-width: 680px;
}
.stage-detail-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.stage-col-label {
  font-size: 0.7rem; font-weight: 700;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--teal-600);
  display: block; margin-bottom: 10px;
}
.stage-detail-list { list-style: none; }
.stage-detail-list li {
  font-size: 0.88rem; color: var(--ink-700);
  padding: 5px 0 5px 16px;
  position: relative;
  border-bottom: 1px solid var(--border);
}
.stage-detail-list li:last-child { border-bottom: none; }
.stage-detail-list li::before {
  content: "→"; position: absolute; left: 0;
  color: var(--teal-300); font-size: 0.78rem;
}

/* ============================================================ ANIMATIONS */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(22px); }
  to   { opacity: 1; transform: translateY(0); }
}
.fade-up { opacity: 0; animation: fadeUp 0.6s var(--ease-out) forwards; }
.delay-1 { animation-delay: 0.1s; }
.delay-2 { animation-delay: 0.2s; }
.delay-3 { animation-delay: 0.3s; }

/* ============================================================ CONTINUITY CARDS */
.continuity-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.continuity-card {
  background: #fff; border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 30px 26px;
}
.c-num {
  font-family: var(--font-serif);
  font-size: 2rem; font-weight: 400;
  font-style: italic; color: var(--teal-200);
  display: block; margin-bottom: 12px;
}
.continuity-card h3 { font-size: 1.05rem; margin-bottom: 8px; }
.continuity-card p { font-size: 0.88rem; color: var(--ink-500); }

/* ============================================================ BLOODBANK SPECIFICS */
.ethics-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 48px; }
.ethics-card {
  background: #fff; border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 32px 28px;
  display: flex; flex-direction: column;
  overflow: hidden;
  transition: transform var(--dur-base) var(--ease-out), box-shadow var(--dur-base) var(--ease-out);
}
.ethics-card:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
.ethics-icon { font-size: 1.6rem; margin-bottom: 14px; display: block; }
.ethics-card h3 {
  font-family: var(--font-serif);
  font-size: 1.3rem;
  font-weight: 500;
  margin-bottom: 10px;
  color: var(--ink-900);
}
.ethics-card p { font-size: 0.9rem; color: var(--ink-500); line-height: 1.7; }

.product-table-wrap { overflow-x: auto; border-radius: var(--radius-lg); border: 1px solid var(--border); margin-top: 40px; }
.product-table { width: 100%; border-collapse: collapse; background: #fff; }
.product-table th {
  font-size: 0.7rem; font-weight: 700; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--teal-600);
  padding: 14px 20px; text-align: left;
  background: var(--paper-alt); border-bottom: 1px solid var(--border);
}
.product-table td {
  padding: 16px 20px; border-bottom: 1px solid var(--border);
  font-size: 0.88rem; color: var(--ink-700); vertical-align: top;
}
.product-table tr:last-child td { border-bottom: none; }
.product-table .product-name { font-family: var(--font-serif); font-weight: 500; color: var(--ink-900); }
.product-table .badge {
  display: inline-block; font-size: 0.7rem; font-weight: 600;
  padding: 3px 8px; border-radius: var(--radius-pill);
  letter-spacing: 0.06em;
}
.badge-no { background: #FEF2F2; color: #B91C1C; border: 1px solid #FECACA; }
.badge-yes { background: var(--teal-50); color: var(--teal-700); border: 1px solid var(--teal-200); }
.badge-limited { background: #FFF7ED; color: #C2410C; border: 1px solid #FDBA74; }

.stat-bar { display: flex; gap: 40px; flex-wrap: wrap; margin-top: 40px; }
.stat-item { }
.stat-num {
  font-family: var(--font-serif);
  font-size: 3rem; font-weight: 400; color: var(--ochre-500);
  display: block; line-height: 1;
}
.stat-label { font-size: 0.82rem; color: var(--ink-500); margin-top: 4px; display: block; max-width: 160px; line-height: 1.4; }

/* Timeline */
.timeline { list-style: none; max-width: 680px; margin-top: 40px; }
.timeline-item {
  display: grid; grid-template-columns: 80px 1fr;
  gap: 24px; padding-bottom: 28px; position: relative;
}
.timeline-item:not(:last-child)::before {
  content: ''; position: absolute;
  left: 39px; top: 28px; bottom: 0;
  width: 1px; background: var(--border);
}
.timeline-year {
  font-family: var(--font-serif); font-size: 0.9rem;
  font-weight: 500; color: var(--teal-600);
  padding-top: 4px;
}
.timeline-body h3 { font-size: 0.95rem; margin-bottom: 4px; }
.timeline-body p { font-size: 0.85rem; color: var(--ink-500); }

/* Get involved lanes */
.lanes-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 48px; }
.lane {
  background: #fff; border: 1px solid var(--border);
  border-radius: var(--radius-xl); padding: 32px 28px;
  display: flex; flex-direction: column;
}
.lane-num {
  font-family: var(--font-serif); font-size: 1.6rem;
  font-weight: 400; color: var(--teal-200);
  display: block; margin-bottom: 8px;
}
.lane h3 { font-size: 1rem; margin-bottom: 6px; }
.lane .lane-sub {
  font-size: 0.88rem; font-weight: 600; color: var(--teal-600);
  text-transform: uppercase; letter-spacing: 0.06em;
  display: block; margin-bottom: 12px;
}
.lane p { font-size: 0.88rem; color: var(--ink-500); line-height: 1.65; flex: 1; margin-bottom: 20px; }

/* ============================================================ SCENE BANDS & PHOTO PANELS */
.scene-band {
  width: 100%;
  border-radius: var(--radius-xl);
  overflow: hidden;
  position: relative;
  background: var(--teal-50);
}
.scene-band img {
  width: 100%;
  display: block;
  object-fit: cover;
  object-position: center 30%;
}
.scene-band.tall  img { height: clamp(220px, 30vw, 400px); }
.scene-band.short img { height: clamp(160px, 22vw, 280px); }
.scene-caption {
  position: absolute;
  bottom: 12px; left: 16px;
  font-size: 0.65rem; font-weight: 600;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: rgba(255,255,255,0.85);
  background: rgba(27,81,82,0.65);
  padding: 5px 12px;
  border-radius: var(--radius-pill);
  backdrop-filter: blur(4px);
  pointer-events: none;
}

/* Real-photo panel — full-width photo with optional label */
.photo-panel {
  border-radius: var(--radius-xl);
  overflow: hidden;
  position: relative;
  background: var(--paper-alt);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
}
.photo-panel img {
  width: 100%;
  display: block;
  object-fit: cover;
  object-position: center;
}
.photo-panel.wide  img { height: clamp(200px, 28vw, 380px); }
.photo-panel.narrow img { height: clamp(240px, 32vw, 440px); }
.photo-panel-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 20px;
  font-size: 0.78rem;
  color: var(--ink-500);
  border-top: 1px solid var(--border);
}
.photo-panel-label::before {
  content: "";
  width: 18px; height: 1px;
  background: var(--teal-400);
  flex-shrink: 0;
}

/* ============================================================ PRODUCT PHOTOS (keepsakes) */
.keepsake-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 20px;
}
.keepsake-item {
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--paper-alt);
}
.keepsake-item img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  display: block;
}
.keepsake-item-info {
  padding: 8px 10px;
}
.keepsake-name {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--ink-900);
  display: block;
}
.keepsake-note {
  font-size: 0.68rem;
  color: var(--teal-600);
  font-weight: 500;
  letter-spacing: 0.04em;
  display: block;
  margin-top: 1px;
}

/* ============================================================ HERO INFO STRIP */
.hero-info-strip {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  flex-wrap: wrap;
  margin-bottom: 32px;
}
.info-strip-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.82rem;
  color: var(--ink-500);
  font-weight: 400;
}
.info-strip-item .strip-value {
  font-weight: 600;
  color: var(--ink-900);
}
.info-strip-sep {
  color: var(--teal-300);
  margin: 0 14px;
  font-size: 0.7rem;
}

/* ============================================================ EDITORIAL INTRO (display prose) */
.editorial-intro {
  font-family: var(--font-serif);
  font-size: clamp(1.15rem, 2vw, 1.5rem);
  font-weight: 400;
  font-style: italic;
  color: var(--teal-700);
  line-height: 1.5;
  max-width: 720px;
  margin-bottom: 56px;
  letter-spacing: -0.01em;
}
.editorial-intro em {
  font-style: normal;
  color: var(--ink-900);
}

/* ============================================================ ENHANCED ER CALLOUT */
.callout.callout-er {
  background: linear-gradient(135deg, #FFF7ED 0%, #FEF3C7 100%);
  border: none;
  border-left: 4px solid #F59E0B;
  border-radius: 0 var(--radius-lg) var(--radius-lg) 0;
  box-shadow: var(--shadow-sm);
}
.callout.callout-er .callout-icon {
  animation: warnPulse 2.5s ease-in-out infinite;
}
@keyframes warnPulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.12); }
}
.callout.callout-er h3 { color: #92400E; }
.callout.callout-er p  { color: #78350F; }

/* ============================================================ PAPER GRAIN TEXTURE */
/* Applied to body — creates a very subtle warm grain matching the illustration aesthetic */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 9999;
  opacity: 0.025;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='400' height='400'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.75' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='400' height='400' filter='url(%23n)' opacity='1'/%3E%3C/svg%3E");
  background-size: 200px 200px;
  mix-blend-mode: multiply;
}

/* ============================================================ TAB PANEL FADE TRANSITION */
.stage-panel {
  animation: none;
}
.stage-panel.active {
  animation: tabFadeIn 200ms var(--ease-out);
}
@keyframes tabFadeIn {
  from { opacity: 0; transform: translateY(6px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ============================================================ PULL-QUOTE DECORATIVE */
.pull-quote::before {
  content: '\201C';
  font-family: var(--font-serif);
  font-size: 5rem;
  color: var(--teal-100);
  position: absolute;
  top: -16px;
  left: -8px;
  line-height: 1;
  pointer-events: none;
}
.pull-quote {
  position: relative;
  padding-left: 16px;
}

/* ============================================================
   RESPONSIVE — MOBILE-FIRST BREAKPOINTS
   Service pages: primary-care, urgent-care, end-of-life-care
   ============================================================

   Breakpoints:
   1100px  Large tablet / small laptop — reduce padding
    900px  Tablet — 3→2 col, nav collapse, major restructure
    640px  Phone — single column, stacked everything
    390px  Small phone — tighten padding, scale type
*/

/* ── Utility: two-col inline grids ───────────────────────── */
.two-col-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}

/* ── Hamburger nav ────────────────────────────────────────── */
.nav-hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 36px; height: 36px;
  background: none; border: none;
  cursor: pointer; padding: 4px;
  flex-shrink: 0;
  margin-left: 8px;
}
.nav-hamburger span {
  display: block;
  width: 22px; height: 2px;
  background: rgba(255,255,255,0.85);
  border-radius: 2px;
  transition: all var(--dur-base) var(--ease-out);
  transform-origin: center;
}
/* X state */
.nav-hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-hamburger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav-hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile nav dropdown */
.nav-mobile-menu {
  display: none;
  position: fixed;
  top: 64px; left: 0; right: 0;
  background: var(--teal-700);
  border-top: 1px solid rgba(255,255,255,0.1);
  z-index: 99;
  padding: 20px 24px 28px;
  box-shadow: 0 8px 32px rgba(27,81,82,0.25);
}
.nav-mobile-menu.open {
  display: flex;
  flex-direction: column;
  gap: 2px;
  animation: fadeDown 200ms var(--ease-out);
}
@keyframes fadeDown {
  from { opacity: 0; transform: translateY(-8px); }
  to   { opacity: 1; transform: translateY(0); }
}
.nav-mobile-menu a {
  font-size: 1rem; font-weight: 500;
  color: rgba(255,255,255,0.82);
  text-decoration: none;
  padding: 12px 0;
  border-bottom: 1px solid rgba(255,255,255,0.07);
  display: block;
  transition: color var(--dur-fast);
}
.nav-mobile-menu a:last-child { border-bottom: none; }
.nav-mobile-menu a:hover, .nav-mobile-menu a.active { color: #fff; }
.nav-mobile-menu .mob-cta {
  background: var(--ochre-500);
  color: var(--ink-900) !important;
  border: none !important;
  border-radius: var(--radius-pill);
  text-align: center;
  padding: 13px 20px !important;
  font-weight: 600;
  margin-top: 12px;
}
.nav-mobile-menu .mob-cta:hover { background: var(--ochre-400); }

/* ─────────────────────────────────────────────────────────────
   1100px — Large tablet
───────────────────────────────────────────────────────────── */
@media (max-width: 1100px) {
  :root {
    --section-h: 44px;
  }
  .footer-inner {
    grid-template-columns: auto 1fr auto;
    gap: 32px;
  }
}

/* ─────────────────────────────────────────────────────────────
   900px — Tablet
───────────────────────────────────────────────────────────── */
@media (max-width: 900px) {
  :root {
    --section-h: 28px;
    --section-v: 72px;
  }

  /* Nav: show hamburger, hide desktop links */
  .nav-links     { display: none !important; }
  .nav-hamburger { display: flex; }
  nav { justify-content: space-between; }

  /* Hero */
  .hero-illustration { height: clamp(240px, 38vw, 420px); }

  /* 3-col → 2-col */
  .card-grid-3,
  .pricing-grid,
  .continuity-grid,
  .symptom-grid,
  .aftercare-grid { grid-template-columns: repeat(2, 1fr); }

  /* Entry paths: 3 → 2+1 or 1-col */
  .entry-paths { grid-template-columns: repeat(2, 1fr); }

  /* Stage detail: 3 → 1 */
  .stage-detail-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  /* 2-col inline utility grids */
  .two-col-grid { gap: 40px; }

  /* Community day: text full width, hide photo */
  .community-day-band {
    grid-template-columns: 1fr !important;
  }
  .community-day-band > div:last-child {
    display: none; /* hide photo on tablet */
  }
  .community-day-band > div:first-child { padding: 48px 40px; }

  /* Vet grid: stays 2-col but smaller padding */
  .vet-card { padding: 24px; gap: 18px; }

  /* Footer: 2-col */
  .footer-inner {
    grid-template-columns: 1fr 1fr;
    gap: 28px;
  }
  .footer-meta { grid-column: 1 / -1; text-align: left; }

  /* Tabs */
  .tab-btn-age { padding: 10px 18px; font-size: 0.85rem; }

  /* Workflow sidebar */
  .workflow-grid { grid-template-columns: 1fr !important; }
  .workflow-sticky { position: static !important; top: auto !important; }

  /* Scene bands */
  .scene-band.tall  img { height: clamp(200px, 36vw, 380px); }
  .scene-band.short img { height: clamp(150px, 26vw, 240px); }
}

/* ─────────────────────────────────────────────────────────────
   640px — Phone
───────────────────────────────────────────────────────────── */
@media (max-width: 640px) {
  :root {
    --section-h: 20px;
    --section-v: 56px;
  }

  /* Nav */
  nav { padding: 0 20px; height: 60px; }
  .nav-logo img { height: 30px; }
  .nav-mobile-menu { top: 60px; padding: 16px 20px 24px; }

  /* Hero */
  .hero { padding-top: 60px; }
  .hero-illustration {
    height: clamp(200px, 60vw, 340px);
    object-position: center 15%;
  }
  .hero-content { padding: 36px 20px 52px; }
  .hero h1 { font-size: clamp(1.8rem, 8vw, 2.6rem); margin-bottom: 12px; }
  .hero-sub { font-size: 0.98rem; margin-bottom: 24px; }
  .hero-actions {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
  }
  .hero-actions .btn-primary,
  .hero-actions .btn-secondary {
    text-align: center;
    justify-content: center;
    width: 100%;
  }

  /* Hero info strip: stack vertically */
  .hero-info-strip {
    flex-direction: column;
    gap: 4px;
    align-items: center;
    margin-bottom: 0;
    margin-top: 16px;
  }
  .info-strip-sep { display: none; }
  .info-strip-item { font-size: 0.8rem; }

  /* H2 */
  h2 { font-size: clamp(1.6rem, 7vw, 2.6rem); margin-bottom: 14px; }
  h3 { font-size: clamp(1rem, 4vw, 1.25rem); }

  /* Lead */
  .lead { font-size: 1rem; }

  /* Section label */
  .section-label { font-size: 0.65rem; gap: 8px; }
  .section-label::before { width: 16px; }

  /* ALL grids → 1 column */
  .card-grid-3,
  .card-grid-2,
  .pricing-grid,
  .continuity-grid,
  .vet-grid,
  .symptom-grid,
  .aftercare-grid,
  .entry-paths,
  .ethics-cards,
  .lanes-grid { grid-template-columns: 1fr; }

  /* Two-col inline grids */
  .two-col-grid {
    grid-template-columns: 1fr !important;
    gap: 32px;
  }

  /* Community day */
  .community-day-band > div:first-child { padding: 36px 24px; }

  /* Vet card */
  .vet-card {
    flex-direction: column;
    padding: 24px 20px;
    gap: 16px;
  }
  .vet-photo { width: 64px; height: 64px; }
  .vet-name  { font-size: 1.05rem; }

  /* Pricing */
  .price-amount { font-size: 2rem; }
  .pricing-card { padding: 24px 20px; }

  /* Workflow */
  .workflow-step { grid-template-columns: 40px 1fr; gap: 16px; }
  .step-num { width: 40px; height: 40px; font-size: 0.88rem; }
  .workflow-step:not(:last-child)::before { left: 19px; }
  .step-content { padding: 14px 16px; }
  .step-content-highlight { margin-left: 0; padding: 18px 18px; }

  /* FAQ */
  details summary { font-size: 0.95rem; padding: 15px 0; }

  /* Tabs */
  .tab-controls-species { width: 100%; }
  .tab-btn-species { flex: 1; padding: 9px 10px; font-size: 0.85rem; }
  .tab-controls-age { margin-bottom: 24px; }
  .tab-btn-age { padding: 10px 14px; font-size: 0.82rem; }

  /* Stage detail */
  .stage-detail-grid { grid-template-columns: 1fr; }
  .stage-intro-text { font-size: 1rem; }

  /* Scene bands */
  .scene-band.tall  img { height: clamp(180px, 52vw, 280px); }
  .scene-band.short img { height: clamp(140px, 38vw, 200px); }
  .scene-caption { font-size: 0.58rem; bottom: 8px; left: 10px; }

  /* Photo panel */
  .photo-panel.wide img { height: clamp(160px, 50vw, 260px); }

  /* Pull quote */
  .pull-quote {
    font-size: clamp(1.1rem, 5.5vw, 1.5rem) !important;
    padding: 24px 0 !important;
  }
  .pull-quote::before { font-size: 3.5rem; top: -10px; }

  /* Keepsake grid: keep 2-col (photos need side-by-side) */
  .keepsake-grid { gap: 8px; }
  .keepsake-item-info { padding: 6px 8px; }
  .keepsake-name { font-size: 0.72rem; }
  .keepsake-note { font-size: 0.62rem; }

  /* Entry paths */
  .entry-path { padding: 24px 20px; }
  .path-price { font-size: 1.3rem; }

  /* Sign list */
  .sign-list li { font-size: 0.9rem; padding: 12px 0; }

  /* Callouts */
  .callout { padding: 18px 20px; gap: 12px; }
  .callout h3 { font-size: 0.95rem; }

  /* Footer */
  .footer-inner {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .footer-nav { gap: 8px 24px; }
  .footer-meta { text-align: left; }
  .footer-brand img { height: 24px; }

  /* Continuity card nums */
  .c-num { font-size: 1.5rem; }

  /* Buttons full-width in some contexts */
  .section-cta .cta-actions {
    flex-direction: column;
    align-items: center;
    gap: 10px;
  }
  .section-cta .btn-white,
  .section-cta .btn-ghost-white {
    width: 100%;
    max-width: 320px;
    text-align: center;
    justify-content: center;
  }

  /* Community day buttons */
  .cd-actions {
    flex-direction: row;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 10px;
  }
}

/* ─────────────────────────────────────────────────────────────
   390px — Small phone (iPhone 14/15 standard)
───────────────────────────────────────────────────────────── */
@media (max-width: 390px) {
  :root {
    --section-h: 16px;
    --section-v: 48px;
  }
  nav { padding: 0 16px; }
  .nav-mobile-menu { padding: 14px 16px 20px; }
  .hero-content { padding: 28px 16px 44px; }
  .hero h1 { font-size: clamp(1.65rem, 9vw, 2.2rem); }
  h2 { font-size: clamp(1.45rem, 8vw, 2.2rem); }
  .two-col-grid { gap: 24px; }
  .card-grid-3,
  .pricing-grid { gap: 12px; }
  .vet-card { padding: 18px 16px; }
  .pricing-card { padding: 20px 16px; }
  .aftercare-card { padding: 20px 16px; }
}


/* ============================================================ FOOTER LOGO (full lockup) */
.footer-brand .footer-logo-full {
  height: 26px;
  width: auto;
  display: block;
  filter: brightness(0) invert(1);
  opacity: 0.82;
  margin-bottom: 10px;
}

/* ============================================================ SERVICE CARD ICON IMPROVEMENT */
/* Icons now use warmer, more purposeful SVG designs */
.card-icon svg { stroke-linecap: round; stroke-linejoin: round; }

/* ============================================================ GEOGRAPHY CALLOUT */
.geo-callout {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 32px;
  padding: 16px 20px;
  background: var(--teal-50);
  border: 1px solid var(--teal-100);
  border-radius: var(--radius-lg);
  max-width: 560px;
}
.geo-callout-label {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--teal-600);
  flex-shrink: 0;
}
.geo-callout-places {
  font-size: 0.88rem;
  color: var(--teal-800);
  font-family: var(--font-serif);
  font-weight: 500;
  letter-spacing: -0.01em;
}
.geo-callout-sep {
  color: var(--teal-300);
  margin: 0 8px;
}

/* ============================================================ PHASE TRACK — animated progress */
.phase-track {
  position: relative;
  overflow: visible;
}
.phase-track::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  height: 3px;
  width: 37.5%;   /* fills through end of phase 2 (current active) */
  background: linear-gradient(90deg, var(--teal-500) 0%, var(--ochre-500) 100%);
  border-radius: 2px;
  animation: phaseProgress 1.2s var(--ease-out) forwards;
  transform-origin: left center;
}
@keyframes phaseProgress {
  from { width: 0; }
  to   { width: 37.5%; }
}

/* ============================================================ ENTRY PATH CARD HOVER */
.entry-path {
  transition: transform var(--dur-base) var(--ease-out),
              box-shadow var(--dur-base) var(--ease-out);
}
.entry-path:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
}
.entry-path.primary:hover {
  box-shadow: 0 16px 40px rgba(44,129,130,0.18), 0 4px 8px rgba(44,129,130,0.08);
}

/* ============================================================ STATS CALLOUT BAND */
.stats-band {
  display: flex;
  gap: 0;
  flex-wrap: wrap;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: #fff;
  margin-top: 48px;
}
.stat-cell {
  flex: 1;
  min-width: 160px;
  padding: 24px 28px;
  border-right: 1px solid var(--border);
  position: relative;
}
.stat-cell:last-child { border-right: none; }
.stat-cell .stat-number {
  font-family: var(--font-serif);
  font-size: 2rem;
  font-weight: 400;
  color: var(--ink-900);
  line-height: 1;
  display: block;
  margin-bottom: 4px;
}
.stat-cell .stat-desc {
  font-size: 0.8rem;
  color: var(--ink-500);
  line-height: 1.45;
  display: block;
}


/* ============================================================ ALUNALABS UTILITY CLASSES
   Extracted from inline styles to reduce maintenance debt.
   These mirror patterns used 10+ times in alunalabs.html */

/* Section backgrounds (replaces padding+background inline combos) */
.section-paper     { padding: var(--section-v) var(--section-h); background: var(--paper); }
.section-alt       { padding: var(--section-v) var(--section-h); background: var(--paper-alt); }
.section-teal-50   { padding: var(--section-v) var(--section-h); background: var(--teal-50); }
.section-teal-700  { padding: 56px var(--section-h); background: var(--teal-700); }

/* Typography composites */
.t-display         { font-family: var(--font-serif); font-size: 1.05rem; font-weight: 500; color: var(--ink-900); line-height: 1.3; }
.t-body-sm         { font-size: 0.88rem; color: var(--ink-500); line-height: 1.65; }
.t-body-xs         { font-size: 0.82rem; color: var(--ink-500); line-height: 1.6; }
.t-label-xs        { font-family: var(--font-sans); font-size: 0.68rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-500); }
.t-label-teal      { font-size: 0.7rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--teal-600); }

/* Card composites (replaces repeated border+radius+padding combos) */
.inset-card        { background: var(--paper-alt); border: 1px solid var(--border); border-radius: var(--radius-md); padding: 20px; }
.inset-card-accent { background: var(--paper-alt); border: 1px solid var(--border); border-radius: var(--radius-md); padding: 16px 18px; border-left: 3px solid var(--ochre-600); }
.inset-card-dark   { background: var(--paper-alt); border: 1px solid var(--border); border-radius: var(--radius-md); padding: 16px 18px; border-left: 3px solid var(--ink-900); }

/* Stat box */
.stat-box          { background: var(--paper-alt); border: 1px solid var(--border); border-radius: var(--radius-md); padding: 20px; text-align: center; }
.stat-box-number   { font-family: var(--font-serif); font-size: 2.2rem; font-weight: 400; color: var(--ink-900); letter-spacing: -0.02em; line-height: 1; display: block; }
.stat-box-label    { font-size: 0.78rem; color: var(--ink-500); margin-top: 8px; line-height: 1.4; display: block; }

/* Timeline row */
.timeline-row      { display: flex; gap: 14px; padding: 13px 18px; border-bottom: 1px solid var(--border); }
.timeline-row:last-child { border-bottom: none; background: var(--paper-alt); }
.timeline-year     { font-size: 0.72rem; font-weight: 700; width: 36px; flex-shrink: 0; padding-top: 2px; }
.timeline-year.past  { color: var(--teal-600); }
.timeline-year.key   { color: var(--ochre-600); }
.timeline-text     { font-size: 0.85rem; color: var(--ink-500); line-height: 1.55; margin: 0; }

/* Resolution callout (two-col on dark) */
.resolution-callout { display: grid; grid-template-columns: 3fr 2fr; gap: 48px; align-items: center; }
.resolution-quote  { font-family: var(--font-serif); font-size: 1.2rem; font-style: italic; font-weight: 400; color: white; line-height: 1.55; margin: 0; }
.resolution-bullets { display: flex; flex-direction: column; gap: 10px; }
.resolution-bullet  { display: flex; align-items: center; gap: 12px; }
.resolution-dot    { width: 6px; height: 6px; border-radius: 50%; background: var(--ochre-400); flex-shrink: 0; }
.resolution-bullet p { font-size: 0.88rem; color: rgba(255,255,255,0.75); line-height: 1.4; margin: 0; }


/* ============================================================ ALUNALABS EXTRACTED CLASSES */

/* Sources citation list */
.source-item { margin-bottom: 8px; break-inside: avoid; }
.source-num  { font-weight: 600; color: var(--ink-900); }

/* Eligibility checklist (donor section) */
.eligibility-item {
  display: flex; align-items: flex-start;
  gap: 12px; padding: 6px 0;
}
.eligibility-icon {
  color: var(--teal-500); flex-shrink: 0; margin-top: 3px;
  width: 18px; height: 18px;
  display: flex; align-items: center; justify-content: center;
}
.eligibility-text {
  font-size: 0.88rem; color: var(--ink-500); line-height: 1.5; margin: 0;
}
.eligibility-text strong { color: var(--ink-900); }

/* Inline bordered callout boxes */
.inset-callout {
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 16px 18px;
  background: var(--paper-alt);
  margin-bottom: 10px;
}
.inset-callout.accent-left  { border-left: 3px solid var(--ochre-600); }
.inset-callout.accent-dark  { border-left: 3px solid var(--ink-900); }
.inset-callout-label {
  font-size: 0.7rem; font-weight: 700;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--ink-500); margin-bottom: 5px; display: block;
}
.inset-callout-title {
  font-family: var(--font-serif); font-size: 1rem;
  font-weight: 500; color: var(--ink-900);
  margin-bottom: 5px; line-height: 1.2; display: block;
}
.inset-callout p { font-size: 0.82rem; color: var(--ink-500); line-height: 1.55; margin: 0; }

/* Body text variants */
.body-panel    { font-size: 0.95rem; color: var(--ink-500); line-height: 1.75; margin-bottom: 16px; }
.body-panel-sm { font-size: 0.88rem; color: var(--ink-500); line-height: 1.7; }

/* Phase-track animated progress line */
.phase-track {
  position: relative;
}
.phase-track::after {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 50%; /* Active through phase 2 of 4 */
  height: 100%;
  background: linear-gradient(90deg, var(--teal-50) 0%, transparent 100%);
  pointer-events: none;
  opacity: 0.4;
  border-radius: var(--radius-lg) 0 0 var(--radius-lg);
}

/* Service area badge */
.service-area {
  display: inline-flex; align-items: center; gap: 10px;
  margin-top: 32px;
  padding: 10px 18px;
  background: var(--teal-50);
  border: 1px solid var(--teal-100);
  border-radius: var(--radius-pill);
  font-size: 0.82rem;
}
.service-area-label {
  font-weight: 700; letter-spacing: 0.08em;
  text-transform: uppercase; font-size: 0.68rem;
  color: var(--teal-600); flex-shrink: 0;
}
.service-area-cities {
  color: var(--ink-700); font-weight: 400;
}
.service-area-dot { color: var(--teal-300); margin: 0 4px; }

/* Footer wordmark */
.footer-wordmark {
  display: flex; align-items: center; gap: 10px;
  text-decoration: none;
}
.footer-wordmark-text {
  font-family: var(--font-serif);
  font-size: 1.25rem; font-weight: 500;
  color: rgba(255,255,255,0.82);
  letter-spacing: -0.015em;
  line-height: 1;
}

/* Footer logo — full horizontal lockup, inverted for dark bg */
.footer-logo-full {
  height: 22px;
  width: auto;
  display: block;
  filter: brightness(0) invert(1);
  opacity: 0.72;
  margin-bottom: 10px;
}

/* ============================================================ PAGE INTRO — centered editorial prose */
.page-intro {
  max-width: 780px;
  margin: 0 auto;
  text-align: center;
}
.page-intro p {
  font-family: var(--font-serif);
  font-size: clamp(1.05rem, 2vw, 1.35rem);
  line-height: 1.75;
  color: var(--ink-900);
  margin-bottom: 22px;
}
.page-intro p.accent {
  font-style: italic;
  color: var(--teal-700);
  font-size: clamp(1.1rem, 2.2vw, 1.45rem);
}
.page-intro p.subdued {
  font-size: clamp(0.95rem, 1.6vw, 1.1rem);
  color: var(--ink-500);
  margin-bottom: 0;
}
.page-intro p:last-child { margin-bottom: 0; }

/* ============================================================ PULL STATEMENT — inline bold assertion */
.pull-statement {
  font-size: 1rem;
  font-weight: 700;
  color: var(--ink-900);
  line-height: 1.4;
  margin: 20px 0 14px;
}

/* ============================================================ TWO-COL INTRO — heading left / content right */
.two-col-intro {
  display: grid;
  grid-template-columns: 2fr 3fr;
  gap: 72px;
  align-items: start;
}
.two-col-intro .intro-left h2 {
  margin-bottom: 20px;
}
.two-col-intro .intro-right {
  padding-top: 8px;
}
@media (max-width: 768px) {
  .two-col-intro { grid-template-columns: 1fr; gap: 40px; }
}

/* ============================================================ SYMPTOM LIST — categorized arrow list */
.symptom-list { display: flex; flex-direction: column; gap: 24px; }
.symptom-category {}
.symptom-cat-label {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--teal-600);
  margin-bottom: 8px;
  display: block;
}
.symptom-items {
  list-style: none;
  padding: 0; margin: 0;
  display: flex; flex-direction: column; gap: 4px;
}
.symptom-items li {
  font-size: 0.9rem;
  color: var(--ink-700);
  line-height: 1.4;
  display: flex;
  align-items: baseline;
  gap: 8px;
}
.symptom-items li::before {
  content: '→';
  color: var(--teal-400);
  font-size: 0.8rem;
  flex-shrink: 0;
}

/* ============================================================ FEATURED PRICING CARD — dark treatment */
.pricing-card.featured {
  background: var(--teal-700);
  border-color: var(--teal-700);
}
.pricing-card.featured .price-label { color: rgba(255,255,255,0.6); }
.pricing-card.featured .price-amount { color: var(--ochre-400); }
.pricing-card.featured .price-note { color: rgba(255,255,255,0.62); }
.pricing-card.featured h3 { color: #fff; }
.pricing-card.featured .price-includes li { color: rgba(255,255,255,0.75); }
.pricing-card.featured .price-includes li::before { color: var(--ochre-400); background: none; }
.pricing-card.featured .btn-primary {
  background: var(--ochre-600);
  color: #fff;
}
.pricing-card.featured .btn-primary:hover { background: var(--ochre-700); }
.pricing-card.featured .btn-secondary {
  border-color: rgba(255,255,255,0.3);
  color: rgba(255,255,255,0.8);
}

/* ============================================================ EOL ENTRY PATH — dark primary variant */
.entry-path.primary-dark {
  background: var(--teal-700);
  border-color: var(--teal-700);
  color: #fff;
}
.entry-path.primary-dark h3 { color: #fff; }
.entry-path.primary-dark p  { color: rgba(255,255,255,0.78); }
.entry-path.primary-dark .entry-path-price { color: var(--ochre-400); }
.entry-path.primary-dark .entry-path-num {
  background: var(--ochre-600);
  color: #fff;
}
.entry-path.primary-dark .entry-path-arrow { color: rgba(255,255,255,0.3); }

/* ============================================================ AFTERCARE CARDS — uniform icon treatment */
.aftercare-card .aftercare-icon {
  font-size: 1.6rem;
  display: block;
  margin-bottom: 14px;
  line-height: 1;
}
.aftercare-card.with-image .aftercare-icon { display: none; }
.aftercare-card-img {
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
  display: block;
  margin: -32px -32px 24px; /* bleed to card edges */
  width: calc(100% + 64px);
}

/* ============================================================ KEEPSAKE PRODUCTS SECTION */
.keepsake-products-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-top: 48px;
}
.keepsake-product {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--paper-alt);
  transition: transform 0.18s var(--ease-out), box-shadow 0.18s var(--ease-out);
}
.keepsake-product:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}
.keepsake-product img {
  width: 100%; aspect-ratio: 1;
  object-fit: cover; display: block;
}
.keepsake-product-info { padding: 10px 12px 14px; }
.keepsake-product-name {
  font-size: 0.82rem; font-weight: 600;
  color: var(--ink-900); display: block; margin-bottom: 2px;
}
.keepsake-product-note {
  font-size: 0.72rem; color: var(--teal-600);
  font-weight: 500; letter-spacing: 0.03em;
}


/* ================================================================
   ALUNA SERVICE PAGES — SCOPED OVERRIDES
   Body/typography/layout rules scoped to pages 104030/104031/104032
   so they don't interfere with The7's existing pages.
   ================================================================ */

/* Body */
body.page-id-104030, body.page-id-104031, body.page-id-104032 {
  font-family: var(--font-sans);
  background: var(--paper);
  color: var(--ink-900);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* Headings */
body.page-id-104030 h1, body.page-id-104031 h1, body.page-id-104032 h1 {
  font-family: var(--font-serif);
  font-weight: 400;
  letter-spacing: -0.025em;
  line-height: 1.05;
  color: var(--ink-900);
}
body.page-id-104030 h1 em, body.page-id-104031 h1 em, body.page-id-104032 h1 em {
  font-style: italic; color: var(--teal-600); font-weight: 400;
}
body.page-id-104030 h2, body.page-id-104031 h2, body.page-id-104032 h2 {
  font-family: var(--font-serif);
  font-size: clamp(2.2rem, 4.5vw, 3.6rem);
  font-weight: 500; line-height: 1.1;
  letter-spacing: -0.02em; color: var(--ink-900); margin-bottom: 20px;
}
body.page-id-104030 h2 em, body.page-id-104031 h2 em, body.page-id-104032 h2 em {
  font-family: var(--font-serif); font-style: italic;
  color: var(--teal-600); font-weight: 400;
}
body.page-id-104030 h3, body.page-id-104031 h3, body.page-id-104032 h3 {
  font-family: var(--font-serif);
  font-size: clamp(1.1rem, 1.8vw, 1.4rem);
  font-weight: 500; letter-spacing: -0.01em; line-height: 1.2; color: var(--ink-900);
}
body.page-id-104030 p, body.page-id-104031 p, body.page-id-104032 p {
  color: var(--ink-700); line-height: 1.7;
}
body.page-id-104030 a, body.page-id-104031 a, body.page-id-104032 a {
  color: var(--teal-600); text-decoration: underline;
  text-decoration-thickness: 1px; text-underline-offset: 3px;
}
body.page-id-104030 a:hover, body.page-id-104031 a:hover, body.page-id-104032 a:hover {
  color: var(--teal-700);
}
body.page-id-104030 section, body.page-id-104031 section, body.page-id-104032 section {
  padding: var(--section-v) var(--section-h);
}
body.page-id-104030 footer, body.page-id-104031 footer, body.page-id-104032 footer {
  background: var(--teal-800); padding: 48px var(--section-h);
}
body.page-id-104030 details, body.page-id-104031 details, body.page-id-104032 details {
  border-bottom: 1px solid var(--border);
}
body.page-id-104030 details summary, body.page-id-104031 details summary,
body.page-id-104032 details summary {
  font-family: var(--font-serif); font-size: 1rem; font-weight: 500;
  padding: 18px 0; cursor: pointer;
  display: flex; justify-content: space-between; align-items: center;
  list-style: none; color: var(--ink-900);
}
body.page-id-104030 details summary::-webkit-details-marker,
body.page-id-104031 details summary::-webkit-details-marker,
body.page-id-104032 details summary::-webkit-details-marker { display: none; }
body.page-id-104030 details summary::after,
body.page-id-104031 details summary::after,
body.page-id-104032 details summary::after {
  content: "+"; font-family: var(--font-sans);
  font-size: 1.3rem; font-weight: 300; color: var(--teal-400);
  flex-shrink: 0; margin-left: 16px;
  transition: transform var(--dur-base) var(--ease-out);
}
body.page-id-104030 details[open] summary::after,
body.page-id-104031 details[open] summary::after,
body.page-id-104032 details[open] summary::after { transform: rotate(45deg); }
body.page-id-104030 details[open] summary,
body.page-id-104031 details[open] summary,
body.page-id-104032 details[open] summary { color: var(--teal-700); }

/* Aluna nav: scoped to our pages, offset for WP admin bar */
body.page-id-104030 nav:not(.dt-nav-menu-horizontal--main),
body.page-id-104031 nav:not(.dt-nav-menu-horizontal--main),
body.page-id-104032 nav:not(.dt-nav-menu-horizontal--main) {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  display: flex; justify-content: space-between; align-items: center;
  padding: 0 var(--section-h); height: 64px; background: var(--teal-700);
}
.admin-bar body.page-id-104030 nav:not(.dt-nav-menu-horizontal--main),
.admin-bar body.page-id-104031 nav:not(.dt-nav-menu-horizontal--main),
.admin-bar body.page-id-104032 nav:not(.dt-nav-menu-horizontal--main) { top: 32px; }

/* Hide The7's injected Elementor nav on our pages */
body.page-id-104030 .horizontal-menu-wrap,
body.page-id-104031 .horizontal-menu-wrap,
body.page-id-104032 .horizontal-menu-wrap { display: none !important; }

/* Hero: margin-top to clear fixed Aluna nav */
body.page-id-104030 .hero,
body.page-id-104031 .hero,
body.page-id-104032 .hero { margin-top: 64px; }
.admin-bar body.page-id-104030 .hero,
.admin-bar body.page-id-104031 .hero,
.admin-bar body.page-id-104032 .hero { margin-top: 96px; }

/* Hero content: disable fade-up (opacity:0 stuck state workaround) */
body.page-id-104030 .hero-content,
body.page-id-104031 .hero-content,
body.page-id-104032 .hero-content {
  opacity: 1 !important; animation: none !important;
}
