/*
 * parity.css — Deploy-2 parity visual system
 * Source: polish-v6-2/index.html (the final look-lock mockup, Cypress 2026-10-29)
 * Applied by: Codex (real profile), site/v2-parity branch
 * Rules:
 *   - Additive over styles.css; does NOT replace it.
 *   - v6-2 color tokens, type tokens, animations, shared infra components.
 *   - 13px floor respected throughout.
 *   - No external requests, no Courier, no monospace price pills.
 *   - All animations behind prefers-reduced-motion.
 */

/* ── V6-2 COLOR + DESIGN TOKENS ──────────────────────────────────────── */
:root {
  /* V6-2 palette (additive; overrides live's --darker/--dark etc where named differently) */
  --p-bg:          #0b1710;
  --p-surface:     #101e14;
  --p-card-bg:     #0a1009;
  --p-ink:         #0a0700;
  --p-cream:       #f2ede6;
  --p-cream88:     rgba(242,237,230,.88);
  --p-cream64:     rgba(242,237,230,.64);
  --p-cream36:     rgba(242,237,230,.36);
  --p-cream18:     rgba(242,237,230,.18);
  --p-gold:        #e8a83c;
  --p-gold-muted:  #b8842f;
  --p-gold-ghost:  rgba(232,168,60,.14);
  --p-gold-rule:   rgba(232,168,60,.28);
  --p-teal:        #22a88e;
  --p-teal-btn:    #178470;   /* button-fill only — deeper teal for WCAG AA (4.59:1 vs white) */
  --p-teal-ghost:  rgba(34,168,142,.10);
  --p-sage:        #6a8a76;
  --p-amber:       #c97b22;
  --p-line:        rgba(242,237,230,.10);
  /* Sizing */
  --p-sz-xs:  0.8125rem;  /* 13px — absolute floor */
  --p-sz-sm:  0.9375rem;  /* 15px */
  --p-sz-lg:  var(--p-sz-legal, 0.8125rem);
  --p-sz-legal: 0.8125rem;
  --p-sec-py:  clamp(5rem,10vw,8rem);
  --p-nav-bg:  #000000;
  /* D-G: Space Grotesk for UI labels (no Nunito download needed) */
  --p-type-ui: 'Space Grotesk', 'Segoe UI', system-ui, sans-serif;
  --p-type-display: 'Fraunces', Georgia, serif;
  --p-type-body:    'Fraunces', Georgia, serif;
  --p-display-st:   italic;
  --p-logo-hero: 80px;
  --p-vine-op:   0.52;
  --p-sh-pk:     0.065;
  --p-hleft:     0.88;
  --p-hbot-mid:  0.80;
  --p-hbot-full: 0.97;
}

/* ── FRAUNCES VARIABLE (already in styles.css; harmless redeclaration) ── */
/* Space Grotesk already loaded globally — used as --p-type-ui */

/* ── RESET HELPERS ───────────────────────────────────────────────────── */
/* Parity-scoped display for [hidden] is in styles.css globally; fine */

/* ══════════════════════════════════════════════════════════
   SITE HEADER — solid black, v2 character
   NOTE: position/top/z-index carry !important to guard against
   styles.css declaring position:sticky on .site-header — parity
   must win so the bar stays pinned at ALL scroll depths.
══════════════════════════════════════════════════════════ */
.site-header {
  position: fixed !important;
  top: 0 !important; left: 0; right: 0;
  z-index: 100 !important;
  background: var(--p-nav-bg);
  border-bottom: 1px solid var(--p-gold-rule);
  transition: border-bottom-color .3s, padding .28s;
}
.site-header.scrolled { border-bottom-color: rgba(232,168,60,.14); }
.nav-shell {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 1.5rem;
  padding: .75rem clamp(1rem,4vw,3rem);
}
/* Mark-only brand link */
.site-header .brand { display: flex; align-items: center; text-decoration: none; flex-shrink: 0; gap: .5rem; }
/* Wordmark always visible next to logo — Theo override 2026-11-07 */
.site-header .brand-copy {
  display: flex;
  opacity: 1;
  flex-direction: column;
  line-height: 1.1;
  gap: 0;
}
.site-header .brand-name {
  font-family: 'Fraunces', Georgia, serif;
  font-style: italic; font-weight: 700;
  font-size: clamp(.875rem,1.5vw,1rem);
  color: var(--p-cream);
  letter-spacing: -.01em;
  white-space: nowrap;
}
/* Keep subtitle hidden — single-line lockup only */
.site-header .brand-sub { display: none !important; }
/* Wordmark fits at all widths ≥320px with toggle gone — no hide rule needed.
   Revert: add @media (max-width:419px) { .site-header .brand-copy { display: none; } } */
.site-header .brand img { width: 40px; height: 40px; flex-shrink: 0; transition: opacity .2s; }
.site-header .brand img:hover { opacity: .82; }

/* Nav links */
.nav-links {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  margin-left: auto;
  list-style: none;
  padding: 0;
}
/* Wide-state: override styles.css @media(max-width:900px) which sets position:absolute + margin-left:0
   on .nav-links, dropping them below the header. Keep them in-flow on the same row as logo. */
@media (min-width: 681px) {
  .nav-links {
    position: static !important;
    margin-left: auto !important;
    display: flex !important;
    top: unset; left: unset; right: unset;
    background: none;
    border: none;
    box-shadow: none;
    padding: 0;
    flex-direction: row;
  }
  /* MUST-FIX 1 (Rook delta NO-GO): prevent two-word labels ("Get Involved")
     from wrapping to two lines in the 681–900px band.
     Scoped here so the <=680px mobile-drawer stacked state is unaffected. */
  .nav-links a { white-space: nowrap; }
}
.nav-links a {
  font-family: var(--p-type-ui);
  font-size: var(--p-sz-xs);
  font-weight: 500;
  color: var(--p-cream64);
  letter-spacing: .005em;
  text-decoration: none;
  transition: color 180ms;
  padding: 0 4px;
  min-height: unset;
  background: none;
}
.nav-links a:hover,
.nav-links a.nav-active,
.nav-links a[aria-current="page"] { color: var(--p-cream); background: none; }

/* All-pages drawer trigger button */
.nav-dir-btn {
  display: flex; align-items: center; gap: .5rem;
  background: none;
  border: 1px solid var(--p-gold-rule);
  border-radius: 10px;
  color: var(--p-cream64);
  font-family: var(--p-type-ui);
  font-size: var(--p-sz-xs);
  font-weight: 500;
  padding: .4rem .75rem;
  cursor: pointer;
  transition: color 180ms, border-color 180ms;
  flex-shrink: 0;
}
.nav-dir-btn svg { width: 14px; height: 12px; fill: currentColor; }
.nav-dir-btn:hover { color: var(--p-cream); border-color: rgba(232,168,60,.5); }

/* Mobile nav toggle — hamburger permanently hidden; All-pages button is the sole
   navigation control at all widths. JS handler and aria attrs preserved for compat.
   Beats styles.css @media(max-width:900px) { .nav-toggle { display: grid } } */
.nav-toggle { display: none !important; }
.nav-toggle-bar { display: block; width: 22px; height: 2px; background: var(--p-cream64); border-radius: 1px; }

@media (max-width: 680px) {
  .nav-links {
    display: none;
    position: absolute;
    top: 100%; left: 0; right: 0;
    flex-direction: column;
    align-items: stretch;
    background: rgba(0,0,0,.97);
    border-bottom: 1px solid var(--p-line);
    padding: 1rem clamp(1rem,4vw,3rem) 1.5rem;
    gap: .5rem;
    margin-left: 0;
  }
  .nav-links.open { display: flex; }
  /* S1 (Kestrel decision): 44px touch target on the sole mobile nav control.
     Desktop is unchanged — min-height only inside this <=680px scope.
     Vertical centering kept by existing align-items:center on the flex button. */
  .nav-dir-btn {
    margin-left: auto;
    min-height: 44px;
  }
}

/* ══════════════════════════════════════════════════════════
   ALL-PAGES DRAWER
══════════════════════════════════════════════════════════ */
.nav-dir-backdrop {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 140;
  background: rgba(0,0,0,.55);
  opacity: 0;
  transition: opacity .28s;
}
.nav-dir-backdrop.open { display: block; opacity: 1; }

.nav-directory {
  position: fixed;
  top: 0; right: -360px; bottom: 0;
  z-index: 150;
  width: min(340px, 92vw);
  background: #0d1f14;
  border-left: 1px solid var(--p-line);
  overflow-y: auto;
  padding: 1.5rem 1.25rem;
  transition: right .28s cubic-bezier(.4,0,.2,1);
}
.nav-directory.open { right: 0; }

.dir-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.25rem;
}
.dir-title {
  font-family: var(--p-type-ui);
  font-size: 1rem;
  font-weight: 600;
  color: var(--p-gold-muted);
  letter-spacing: 0;
  text-transform: none;
}
.dir-close {
  background: none;
  border: none;
  color: var(--p-cream64);
  cursor: pointer;
  font-size: 1.2rem;
  padding: .25rem;
  transition: color 180ms;
}
.dir-close:hover { color: var(--p-cream); }
.dir-section { margin-bottom: 1.25rem; }
.dir-section-label {
  display: block;
  font-family: var(--p-type-ui);
  font-size: var(--p-sz-xs);
  font-weight: 600;
  color: var(--p-sage);
  margin-bottom: .625rem;
  letter-spacing: .005em;
  text-transform: none;
}
.dir-link {
  display: flex;
  align-items: baseline;
  gap: .5rem;
  padding: .45rem 0;
  border-bottom: 1px solid var(--p-line);
  color: var(--p-cream88);
  font-family: var(--p-type-body);
  font-size: var(--p-sz-sm);
  text-decoration: none;
  transition: color 180ms;
}
.dir-link:hover { color: var(--p-cream); }
.dir-link-sub {
  padding-left: 1rem;
  color: var(--p-cream64);
  font-size: var(--p-sz-xs);
}
.dir-link-badge {
  font-family: var(--p-type-ui);
  font-size: var(--p-sz-xs);
  font-weight: 500;
  text-transform: none;
  padding: .125rem .375rem;
  background: var(--p-teal-ghost);
  color: var(--p-teal);
  border: 1px solid rgba(34,168,142,.28);
  border-radius: 2px;
  margin-left: auto;
  flex-shrink: 0;
  align-self: center;
}
.dir-link-badge.is-paid {
  background: var(--p-gold-ghost);
  color: var(--p-gold);
  border-color: var(--p-gold-rule);
}

/* ══════════════════════════════════════════════════════════
   GLOBAL LAYOUT HELPERS (v6-2 scope)
══════════════════════════════════════════════════════════ */
.p-inner { max-width: 1200px; margin: 0 auto; padding: 0 clamp(1rem,4vw,3rem); }

/* ── REVEAL / STAGGER ANIMATIONS ─────────────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .6s ease, transform .6s ease;
}
.reveal[data-delay="1"] { transition-delay: .12s; }
.reveal[data-delay="2"] { transition-delay: .24s; }
.reveal[data-delay="3"] { transition-delay: .36s; }
.reveal.revealed { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  * {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }
}

/* ── V6-2 TYPE UTILITIES ─────────────────────────────────────────────── */
.display-xl {
  font-family: var(--p-type-display);
  font-style: var(--p-display-st);
  font-weight: 600;
  font-size: clamp(2.8rem,7vw,6.25rem);
  line-height: .97;
  letter-spacing: -.03em;
  color: var(--p-cream);
  /* Reset base-styles.css centering — hero-inner is flex-col/align-start */
  margin: 0;
}
/* More-specific override for .hero h1 { margin: 0 auto } in styles.css */
.hero .display-xl { margin: 0; }
.display-lg {
  font-family: var(--p-type-display);
  font-style: var(--p-display-st);
  font-weight: 600;
  font-size: clamp(2rem,4.4vw,3.5rem);
  line-height: 1.04;
  letter-spacing: -.025em;
}
.p-section-mark {
  display: block;
  font-family: 'Fraunces', Georgia, serif;
  font-style: italic;
  font-weight: 400;
  font-size: var(--p-sz-sm);
  color: var(--p-gold-muted);
  margin-bottom: .75rem;
  border-left: 2px solid var(--p-gold-rule);
  padding-left: .75rem;
  letter-spacing: 0;
  text-transform: none;
}
.p-lede { max-width: 62ch; color: var(--p-cream88); font-size: var(--p-sz-sm); line-height: 1.7; margin-top: .75rem; }

/* ── V6-2 BUTTONS ───────────────────────────────────────────────────── */
.btn-p-primary {
  display: inline-flex; align-items: center; gap: .4rem;
  background: var(--p-teal-btn); color: #fff;
  font-family: var(--p-type-ui); font-size: var(--p-sz-sm); font-weight: 600;
  padding: .625rem 1.25rem; border-radius: 10px;
  transition: background 160ms, transform 120ms;
  text-decoration: none;
}
.btn-p-primary:hover { background: #12705f; transform: translateY(-1px); }
.btn-p-secondary {
  display: inline-flex; align-items: center; gap: .4rem;
  background: transparent; color: var(--p-teal);
  font-family: var(--p-type-ui); font-size: var(--p-sz-sm); font-weight: 600;
  border: 1px solid rgba(34,168,142,.4); padding: .625rem 1.25rem; border-radius: 10px;
  transition: border-color 160ms, background 160ms;
  text-decoration: none;
}
.btn-p-secondary:hover { border-color: var(--p-teal); background: rgba(34,168,142,.06); }
.p-btn-row { display: flex; flex-wrap: wrap; gap: .75rem; align-items: center; }

/* ══════════════════════════════════════════════════════════
   HERO — full-bleed canopy (homepage only: body[data-page="home"])
══════════════════════════════════════════════════════════ */
body[data-page="home"] .hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  background: var(--p-bg) url('habitat-tropical-canopy-1280.webp') center 38%/cover no-repeat;
  padding-top: 68px;
  padding-bottom: clamp(3.5rem,7vw,6rem);
  /* Remove slideshow default */
  place-items: unset;
  text-align: left;
  isolation: unset;
}
body[data-page="home"] .hero::before {
  content: '';
  position: absolute; inset: 0;
  background:
    linear-gradient(to bottom,
      rgba(0,0,0,0.5) 0%,
      rgba(0,0,0,0.15) 28%,
      rgba(0,0,0,var(--p-hbot-mid)) 70%,
      rgba(0,0,0,var(--p-hbot-full)) 100%),
    linear-gradient(to right,
      rgba(0,0,0,var(--p-hleft)) 0%,
      rgba(0,0,0,0.44) 42%,
      transparent 65%);
}
body[data-page="home"] .hero::after {
  content: '';
  position: absolute; bottom: 0; left: 0; right: 0;
  height: 180px;
  background: linear-gradient(to bottom, transparent, var(--p-bg));
}
/* Hide old slideshow elements on home */
body[data-page="home"] .slides,
body[data-page="home"] .slide { display: none !important; }

/* ANIMATION 1: Fireflies */
.hero-fireflies {
  position: absolute; inset: 0;
  pointer-events: none; z-index: 1; overflow: hidden;
}
.ff {
  position: absolute; width: 4px; height: 4px; border-radius: 50%;
  background: var(--p-gold);
  box-shadow: 0 0 8px 3px rgba(232,168,60,.5), 0 0 16px 5px rgba(232,168,60,.18);
  animation: ff-drift 7s ease-in-out infinite alternate;
}
.ff:nth-child(1)  { left: 8%;  top: 30%; animation-duration: 8.2s;  animation-delay: -1s;   }
.ff:nth-child(2)  { left: 22%; top: 62%; animation-duration: 6.8s;  animation-delay: -3.1s; width: 3px; height: 3px; }
.ff:nth-child(3)  { left: 45%; top: 24%; animation-duration: 9.1s;  animation-delay: -5.3s; background: var(--p-teal); box-shadow: 0 0 8px 3px rgba(34,168,142,.4); }
.ff:nth-child(4)  { left: 67%; top: 48%; animation-duration: 7.4s;  animation-delay: -2.2s; }
.ff:nth-child(5)  { left: 81%; top: 35%; animation-duration: 8.8s;  animation-delay: -4.7s; width: 3px; height: 3px; }
.ff:nth-child(6)  { left: 91%; top: 66%; animation-duration: 6.5s;  animation-delay: -1.8s; background: var(--p-teal); box-shadow: 0 0 8px 3px rgba(34,168,142,.4); }
.ff:nth-child(7)  { left: 36%; top: 71%; animation-duration: 9.5s;  animation-delay: -6.2s; }
.ff:nth-child(8)  { left: 15%; top: 44%; animation-duration: 8.0s;  animation-delay: -.8s;  width: 3px; height: 3px; }
.ff:nth-child(9)  { left: 57%; top: 80%; animation-duration: 7.6s;  animation-delay: -4.0s; }
.ff:nth-child(10) { left: 73%; top: 22%; animation-duration: 9.8s;  animation-delay: -2.9s; background: var(--p-cream); box-shadow: 0 0 6px 2px rgba(242,237,230,.3); }
@keyframes ff-drift {
  0%   { transform: translate(0,0) scale(1); }
  50%  { transform: translate(12px,-18px) scale(1.15); }
  100% { transform: translate(-8px,10px) scale(.85); }
}

/* ANIMATION 2: Light-ray shimmer */
.hero-shimmer {
  position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: linear-gradient(120deg, transparent 30%, rgba(232,168,60,var(--p-sh-pk)) 50%, transparent 70%);
  background-size: 200% 100%;
  animation: shimmer 14s ease-in-out infinite;
}
@keyframes shimmer { 0% { background-position: -200% 0; } 100% { background-position: 200% 0; } }

/* Hero inner layout */
.hero-inner {
  position: relative; z-index: 2;
  max-width: 1200px; margin: 0 auto;
  padding: 0 clamp(1rem,4vw,3rem);
  display: flex; flex-direction: column; align-items: flex-start;
  gap: .875rem; width: 100%;
}

/* Hero masthead — 80px logo + tagline */
.hero-masthead {
  display: flex; align-items: center; gap: .875rem;
  margin-bottom: .25rem; padding-bottom: 1.25rem;
}
.hero-masthead-logo {
  width: var(--p-logo-hero); height: var(--p-logo-hero);
  flex-shrink: 0;
  filter: drop-shadow(0 0 14px rgba(232,168,60,.2));
}
.hero-masthead-text { display: flex; flex-direction: column; gap: .3rem; }
.hero-masthead-tagline {
  display: block;
  font-family: 'Fraunces', Georgia, serif;
  font-style: italic; font-weight: 400;
  font-size: var(--p-sz-sm); color: var(--p-gold-muted);
  letter-spacing: 0; text-transform: none;
}

/* Hero copy elements */
.hero-kicker {
  font-family: 'Fraunces', Georgia, serif;
  font-style: italic; font-weight: 400;
  font-size: var(--p-sz-sm); color: var(--p-gold-muted);
  letter-spacing: 0; text-transform: none; margin-bottom: .125rem;
}
.hero-copy { max-width: 52ch; color: var(--p-cream88); font-size: var(--p-sz-sm); line-height: 1.72; margin-bottom: .5rem; margin-left: 0; margin-right: 0; }
.hero-mission {
  max-width: 54ch; color: var(--p-cream64);
  font-style: italic; font-family: var(--p-type-body); font-size: var(--p-sz-sm);
  border-left: 2px solid var(--p-gold-rule); padding-left: .875rem; line-height: 1.6;
  /* Reset browser-default blockquote margin; pull box left so text lands at shared hero edge */
  /* text-left = box + border(2px) + padding(14px); shift box by -(14+2)=16px so text lands at h1/p edge */
  margin: 0 0 0 calc(-.875rem - 2px);
}
.hero-mission cite {
  display: block; font-style: italic;
  font-family: 'Fraunces', Georgia, serif;
  font-size: var(--p-sz-xs); font-weight: 400;
  letter-spacing: 0; text-transform: none; color: var(--p-sage); margin-top: .5rem;
}

/* Find-Your-Path widget */
.path-guide {
  width: 100%; max-width: 520px;
  background: rgba(10,16,9,.72);
  border: 1px solid var(--p-line);
  border-radius: 10px; padding: 1.125rem 1.25rem;
  backdrop-filter: blur(6px);
}
.path-guide-header { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; margin-bottom: .75rem; }
.path-guide-label { font-family: 'Fraunces', Georgia, serif; font-style: italic; font-weight: 400; font-size: var(--p-sz-sm); color: var(--p-cream64); }
.path-guide-hint { font-family: var(--p-type-ui); font-size: var(--p-sz-xs); color: rgba(242,237,230,0.70); /* raised from .36 for WCAG AA >=4.5:1 */ }
.path-list { display: flex; flex-direction: column; list-style: none; margin: 0; padding: 0; }
.path-link {
  display: flex; align-items: center; gap: .75rem;
  padding: .5rem 0; border-bottom: 1px solid var(--p-line);
  color: var(--p-cream64); font-family: var(--p-type-body); font-size: var(--p-sz-sm);
  transition: color 160ms; text-decoration: none;
}
.path-link:last-child { border-bottom: none; }
.path-link:hover { color: var(--p-cream); }
.path-arrow { font-family: var(--p-type-ui); font-size: var(--p-sz-xs); color: var(--p-teal); flex-shrink: 0; transition: transform 160ms; font-style: normal; }
.path-link:hover .path-arrow { transform: translateX(3px); }
.path-audience-tag { margin-left: auto; font-family: var(--p-type-ui); font-size: var(--p-sz-xs); font-style: italic; text-transform: none; color: var(--p-sage); flex-shrink: 0; letter-spacing: .005em; }

/* Hero depth marker */
.hero-depth { position: absolute; right: 2.5rem; bottom: 3rem; z-index: 2; display: flex; flex-direction: column; align-items: center; gap: .625rem; }
.hero-depth-label { color: rgba(34,168,142,.42); font-family: var(--p-type-ui); font-size: var(--p-sz-xs); font-weight: 500; letter-spacing: .04em; text-transform: none; writing-mode: vertical-rl; transform: rotate(180deg); }
.hero-depth-line { width: 1px; height: 36px; background: linear-gradient(to bottom, rgba(34,168,142,.3), transparent); }
@media (max-width: 600px) { .hero-depth { display: none; } }

/* Old hero btn-row override for home page (center → left) */
body[data-page="home"] .hero .btn-row { justify-content: flex-start; }

/* ══════════════════════════════════════════════════════════
   ANIMATION 3+4: VINE DIVIDERS
══════════════════════════════════════════════════════════ */
.vine-divider {
  display: block; width: 100%; height: 44px;
  overflow: visible; opacity: var(--p-vine-op,.52);
}
.vine-main {
  stroke: var(--p-sage); stroke-width: 1.2;
  stroke-opacity: 1;
  stroke-dasharray: 1440;
  stroke-dashoffset: 1440;
  transition: stroke-dashoffset 1.8s ease;
}
.vine-divider.vine-drawn .vine-main { stroke-dashoffset: 0; }
.vine-node { fill: var(--p-sage); fill-opacity: .4; }
.vine-node-warm { fill: var(--p-gold-muted); fill-opacity: .5; }

/* ══════════════════════════════════════════════════════════
   MISSION BAND
══════════════════════════════════════════════════════════ */
.mission-band {
  background: linear-gradient(to right, var(--p-ink) 60%, var(--p-card-bg));
  padding: 3.5rem 0;
}
.mission-band-inner { max-width: 900px; margin: 0 auto; padding: 0 clamp(1rem,4vw,3rem); }
.mission-band blockquote {
  font-family: var(--p-type-display);
  font-style: var(--p-display-st);
  font-weight: 600;
  font-size: clamp(1.25rem,2.2vw,1.75rem);
  line-height: 1.3;
  color: var(--p-cream88);
  border-left: 2px solid var(--p-gold-muted);
  padding-left: 1.25rem;
}
.mission-band cite {
  display: block; font-style: italic;
  font-family: 'Fraunces', Georgia, serif; font-weight: 400;
  font-size: var(--p-sz-xs); letter-spacing: 0; text-transform: none;
  color: var(--p-sage); margin-top: .875rem;
}

/* ══════════════════════════════════════════════════════════
   SERVICES — 4-tier block (homepage version)
   Organic scatter texture (no dot-grid)
══════════════════════════════════════════════════════════ */
.p-services {
  padding: var(--p-sec-py) 0;
  background:
    radial-gradient(ellipse 80% 40% at 50% 80%, rgba(232,168,60,.04), transparent),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Ccircle cx='23' cy='31' r='1.2' fill='%236a8a76' fill-opacity='.08'/%3E%3Ccircle cx='87' cy='12' r='.7' fill='%236a8a76' fill-opacity='.06'/%3E%3Ccircle cx='154' cy='89' r='1.4' fill='%236a8a76' fill-opacity='.07'/%3E%3Ccircle cx='67' cy='170' r='.9' fill='%236a8a76' fill-opacity='.08'/%3E%3Ccircle cx='190' cy='42' r='.8' fill='%236a8a76' fill-opacity='.05'/%3E%3Ccircle cx='112' cy='145' r='1.3' fill='%236a8a76' fill-opacity='.06'/%3E%3Ccircle cx='178' cy='178' r='.6' fill='%236a8a76' fill-opacity='.05'/%3E%3Ccircle cx='34' cy='124' r='.9' fill='%23b8842f' fill-opacity='.04'/%3E%3Ccircle cx='145' cy='25' r='.6' fill='%23b8842f' fill-opacity='.03'/%3E%3Ccircle cx='56' cy='82' r='1' fill='%236a8a76' fill-opacity='.06'/%3E%3C/svg%3E"),
    var(--p-card-bg);
}
.p-services-head { margin-bottom: 2.5rem; }
.p-svc-grid { display: grid; gap: 1.25rem; }
.p-svc-card {
  background: rgba(10,16,9,.7);
  border: 1px solid var(--p-line);
  border-radius: 10px; padding: 1.5rem;
  transition: border-color 260ms, transform 260ms;
  position: relative;
}
.p-svc-card:hover { border-color: rgba(34,168,142,.35); transform: translateY(-2px); }

/* Tier A — 3-column primary card */
.p-svc-card-primary {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 1.5rem;
  border-color: var(--p-gold-rule);
  background: linear-gradient(135deg, rgba(232,168,60,.06), rgba(10,16,9,.9));
}
.p-svc-card-primary::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0; height: 2px;
  background: linear-gradient(to right, var(--p-gold), var(--p-teal), transparent);
  opacity: 0; transition: opacity 260ms;
  border-radius: 10px 10px 0 0;
}
.p-svc-card-primary:hover::before { opacity: 1; }
.p-svc-left { display: flex; flex-direction: column; gap: .5rem; min-width: 100px; }
.p-svc-tier-badge {
  display: inline-block;
  font-family: 'Fraunces', Georgia, serif; font-style: italic; font-weight: 400;
  font-size: var(--p-sz-xs); color: var(--p-gold-muted);
  text-transform: none; letter-spacing: 0;
  margin-bottom: .25rem;
}
.p-svc-price {
  font-family: 'Fraunces', Georgia, serif;
  font-style: italic;
  font-variant-numeric: tabular-nums;
  font-size: 1.625rem; font-weight: 700; color: var(--p-gold);
  line-height: 1; margin-bottom: .25rem;
}
.p-svc-price-sub {
  font-family: var(--p-type-ui); font-size: var(--p-sz-xs); font-style: italic;
  color: var(--p-gold-muted); text-transform: none; letter-spacing: 0;
}
.p-svc-name {
  font-family: var(--p-type-display); font-style: var(--p-display-st); font-weight: 600;
  font-size: clamp(1.25rem,2.2vw,1.75rem); letter-spacing: -.02em;
  margin-bottom: .625rem; color: var(--p-cream); line-height: 1.1;
}
.p-svc-desc { font-family: var(--p-type-body); font-size: var(--p-sz-sm); color: var(--p-cream88); line-height: 1.72; margin-bottom: 1rem; max-width: 52ch; }
.p-svc-link {
  display: inline-flex; align-items: center; gap: .4rem; color: var(--p-teal);
  font-family: var(--p-type-ui); font-size: var(--p-sz-xs); font-weight: 600;
  border-bottom: 1px solid rgba(34,168,142,.3); padding-bottom: 1px;
  transition: gap 160ms, border-color 160ms; text-decoration: none;
}
.p-svc-link:hover { gap: .7rem; border-color: var(--p-teal); }

/* Audit findings — right column */
.p-svc-findings {
  display: flex; flex-direction: column; gap: .625rem;
  padding-left: 1.5rem; border-left: 1px solid rgba(242,237,230,.08);
  min-width: 210px; max-width: 270px;
  align-self: start; padding-top: .25rem;
}
.p-findings-head { font-family: var(--p-type-ui); font-size: var(--p-sz-xs); color: var(--p-sage); font-weight: 600; letter-spacing: .02em; text-transform: none; margin-bottom: .125rem; }
.p-label-chips { display: flex; flex-direction: column; gap: .5rem; }
.p-label-chip { display: flex; align-items: flex-start; gap: .5rem; }
.p-slc-dot { width: 8px; height: 8px; border-radius: 50%; flex-shrink: 0; margin-top: .25rem; }
.p-label-confirmed .p-slc-dot { background: var(--p-teal); }
.p-label-probable  .p-slc-dot { background: var(--p-gold); }
.p-label-optional  .p-slc-dot { background: var(--p-sage); opacity: .8; }
.p-slc-name { font-family: var(--p-type-ui); font-size: var(--p-sz-xs); font-weight: 600; color: var(--p-cream88); display: block; line-height: 1.2; }
.p-slc-def  { font-family: var(--p-type-body); font-size: var(--p-sz-xs); color: var(--p-cream64); font-style: italic; display: block; line-height: 1.4; }
.p-findings-foot { margin-top: .5rem; padding-top: .5rem; border-top: 1px solid rgba(242,237,230,.08); font-family: var(--p-type-body); font-style: italic; font-size: var(--p-sz-xs); color: var(--p-cream64); line-height: 1.5; }

/* Tier B+C grid */
.p-svc-grid-bottom { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; }
.p-svc-card-secondary { display: flex; flex-direction: column; gap: .5rem; }
.p-svc-card-secondary .p-svc-price { font-size: 1.25rem; }

/* Free-entry bar */
.p-free-entry {
  display: flex; align-items: center; justify-content: space-between;
  gap: 1.5rem; flex-wrap: wrap;
  background: rgba(34,168,142,.06);
  border: 1px solid rgba(34,168,142,.2);
  border-radius: 10px; padding: 1.125rem 1.25rem;
}
.p-free-entry-copy h3 { font-family: var(--p-type-display); font-style: var(--p-display-st); font-size: var(--p-sz-sm); font-weight: 600; color: var(--p-cream); margin-bottom: .25rem; }
.p-free-entry-copy p { font-family: var(--p-type-body); font-size: var(--p-sz-xs); color: var(--p-cream88); max-width: 52ch; }

/* Mobile stacks */
@media (max-width: 800px) {
  .p-svc-card-primary { grid-template-columns: 1fr; }
  .p-svc-findings { padding-left: 0; border-left: none; border-top: 1px solid var(--p-line); padding-top: 1rem; min-width: unset; max-width: 100%; }
}
@media (max-width: 680px) {
  .p-svc-grid-bottom { grid-template-columns: 1fr; }
}

/* ══════════════════════════════════════════════════════════
   ANIMALS — habitat photo bg + mosaic
══════════════════════════════════════════════════════════ */
.p-animals {
  padding: var(--p-sec-py) 0;
  background: var(--p-bg) url('habitat-mossy-trail-1280.webp') center 60%/cover no-repeat;
  position: relative;
}
.p-animals::before { content: ''; position: absolute; inset: 0; background: rgba(11,23,16,.78); }
.p-animals .p-inner { position: relative; z-index: 1; }
.p-animals-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 3rem; align-items: center; }
.p-animals-free-tag {
  display: inline-block; font-family: var(--p-type-ui);
  font-size: var(--p-sz-xs); font-style: italic;
  color: var(--p-teal); text-transform: none; letter-spacing: 0; margin-bottom: 1rem;
}
.p-species-mosaic { display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: auto auto; gap: .75rem; }
.p-species-tile { position: relative; overflow: hidden; border-radius: 10px; aspect-ratio: 4/3; }
.p-species-tile:first-child { grid-column: span 2; }
.p-species-tile img { width: 100%; height: 100%; object-fit: cover; filter: contrast(1.06) saturate(.9) sepia(.08); transition: transform .4s ease; }
.p-species-tile:hover img { transform: scale(1.04); }
.p-species-tile::after { content: ''; position: absolute; inset: 0; background: linear-gradient(to top, rgba(0,0,0,.65) 0%, transparent 50%); }
.p-species-tile-name { position: absolute; bottom: 10px; left: 14px; z-index: 1; font-family: var(--p-type-display); font-style: var(--p-display-st); font-weight: 600; font-size: var(--p-sz-sm); color: var(--p-cream); line-height: 1.1; }
.p-species-tile-sci  { position: absolute; bottom: 10px; right: 10px; z-index: 1; font-family: var(--p-type-body); font-style: italic; font-size: var(--p-sz-xs); color: rgba(34,168,142,.8); letter-spacing: 0; }
@media (max-width: 768px) { .p-animals-grid { grid-template-columns: 1fr; } }

/* ══════════════════════════════════════════════════════════
   SHOP
══════════════════════════════════════════════════════════ */
.p-shop { padding: var(--p-sec-py) 0; background: var(--p-ink); }
.p-shop-layout { display: grid; grid-template-columns: 1fr 1.15fr; gap: 3rem; align-items: center; }
.p-shop-image-frame { border-radius: 10px; overflow: hidden; box-shadow: 0 0 60px rgba(232,168,60,.12); border: 1px solid var(--p-gold-rule); }
.p-shop-image-frame img { width: 100%; height: auto; object-fit: cover; filter: sepia(.1) contrast(1.04); transition: transform .4s ease; }
.p-shop-image-frame:hover img { transform: scale(1.03); }
.p-shop-badge {
  display: inline-block; margin-bottom: 1rem; padding: .25rem .625rem;
  background: rgba(201,123,34,.1); border: 1px solid rgba(201,123,34,.26);
  color: var(--p-amber);
  font-family: 'Fraunces', Georgia, serif; font-style: italic; font-weight: 400;
  font-size: var(--p-sz-xs); text-transform: none; letter-spacing: 0; border-radius: 2px;
}
.p-shop h3 { font-family: var(--p-type-display); font-style: var(--p-display-st); font-weight: 600; font-size: clamp(1.75rem,3.4vw,2.75rem); letter-spacing: -.025em; line-height: 1.06; margin-bottom: .875rem; }
.p-shop p { color: var(--p-cream64); max-width: 46ch; font-size: var(--p-sz-sm); margin-bottom: 1.75rem; line-height: 1.65; }
@media (max-width: 768px) { .p-shop-layout { grid-template-columns: 1fr; } }

/* ══════════════════════════════════════════════════════════
   COMMUNITY
══════════════════════════════════════════════════════════ */
.p-community { padding: var(--p-sec-py) 0; background: var(--p-bg); border-left: 3px solid var(--p-teal); }
.p-community-inner { max-width: 640px; }
.p-community-note-tag {
  display: block; font-family: 'Fraunces', Georgia, serif; font-style: italic; font-weight: 400;
  font-size: var(--p-sz-sm); color: var(--p-sage); margin-bottom: 1.25rem; letter-spacing: 0; text-transform: none;
}
.p-community-note h2 { margin-bottom: .75rem; }
.p-community-note p { color: var(--p-cream88); font-size: var(--p-sz-sm); margin-bottom: 1.5rem; line-height: 1.7; max-width: 48ch; }

/* ══════════════════════════════════════════════════════════
   FOOTER — v6-2 three-column structure
══════════════════════════════════════════════════════════ */
.site-footer {
  background: var(--p-ink);
  border-top: 1px solid var(--p-line);
  padding: 3.5rem 0 2rem;
}
.p-footer-inner { max-width: 1200px; margin: 0 auto; padding: 0 clamp(1rem,4vw,3rem); }
.p-footer-grid { display: grid; grid-template-columns: auto 1fr; gap: 3rem; align-items: start; margin-bottom: 2.5rem; }
.p-footer-brand-logo { width: 40px; height: 40px; margin-bottom: .75rem; opacity: .85; }
.p-footer-brand-name {
  display: block; font-family: 'Fraunces', Georgia, serif; font-style: italic;
  font-weight: 700; font-size: 1.25rem; letter-spacing: -.02em;
  color: var(--p-gold); margin-bottom: .25rem; line-height: 1;
}
.p-footer-tagline {
  display: block; font-family: 'Fraunces', Georgia, serif; font-style: italic; font-weight: 400;
  font-size: var(--p-sz-xs); color: var(--p-sage); text-transform: none; letter-spacing: 0;
}
.p-footer-nav-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 1.5rem; }
.p-footer-nav-head { display: block; font-family: var(--p-type-ui); font-size: var(--p-sz-xs); font-weight: 600; color: var(--p-gold-muted); margin-bottom: .625rem; text-transform: none; letter-spacing: 0; }
.p-footer-nav-grid a { display: block; font-family: var(--p-type-body); font-size: var(--p-sz-xs); color: var(--p-cream64); margin-bottom: .375rem; transition: color 160ms; text-decoration: none; }
.p-footer-nav-grid a:hover { color: var(--p-cream); }
.p-footer-bottom {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: .5rem;
  border-top: 1px solid var(--p-line); padding-top: 1.25rem;
  font-family: var(--p-type-ui); font-size: var(--p-sz-legal);
  letter-spacing: .02em; color: var(--p-sage); text-transform: none;
}
@media (max-width: 680px) {
  .p-footer-grid { grid-template-columns: 1fr; }
  .p-footer-nav-grid { grid-template-columns: 1fr 1fr; }
}

/* ── PROTOTYPES/HOME-FEEDBACK section — keep live styles, just use p-bg ── */
/* The .home-feedback section stays with existing live styles; parity adds nothing new here */

/* ── SKIP-LINK: bring forward over new fixed header ─────────────────── */
.skip-link { z-index: 2000; }

/* ── BODY PADDING-TOP for fixed header ──────────────────────────────── */
/* The header is now position:fixed (not sticky), so body needs top padding */
body { padding-top: 74px; }
/* But keeper pages and pages with page-hero may need adjustment — handled per template */
