/* BoopBureau — trail collectible fluff hunt (Soft Paw / Trail Dex) */
:root {
  /* Trail Dex — outdoor collectible / Soft Paw 2026 */
  --forest: #1F6B45;
  --forest-hot: #155A38;
  --forest-soft: #A8D4B0;
  --moss: #6BAA7A;
  --sky: #C8ECFF;
  --sky-deep: #7EC8F5;
  --sky-mid: #4AA3D9;
  --trail: #C5E017;
  --trail-soft: #E4F56A;
  --sand: #FAF8F2;
  --sand-deep: #E8F2EC;
  --ink: #14261C;
  --ink-soft: #3D5346;
  --muted: #6B7D72;
  --white: #FFFFFF;
  --card: rgba(255, 255, 255, 0.86);
  --shadow: rgba(20, 38, 28, 0.12);
  /* legacy aliases (classes still use these names) */
  --lilac: var(--sand-deep);
  --lilac-deep: var(--moss);
  --mint: var(--forest-soft);
  --mint-deep: var(--forest);
  --coral: var(--forest);
  --coral-hot: var(--forest-hot);
  --coral-soft: var(--forest-soft);
  --radius: 22px;
  --radius-sm: 14px;
  --font-display: "Fredoka", system-ui, sans-serif;
  --font-body: "Nunito", system-ui, -apple-system, "Segoe UI", sans-serif;
  --sticky-h: 72px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  background: linear-gradient(165deg, #FAF8F2 0%, #C8ECFF 48%, #E8F2EC 100%);
  color: var(--ink);
  line-height: 1.55;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  padding-bottom: var(--sticky-h);
}

img, svg { display: block; max-width: 100%; }

a { color: inherit; text-decoration: none; }

/* Soft floating blobs */
.blob {
  position: fixed;
  border-radius: 50%;
  filter: blur(60px);
  pointer-events: none;
  z-index: 0;
  opacity: 0.55;
}
.blob-a {
  width: 340px; height: 340px;
  background: var(--lilac-deep);
  top: -80px; right: -60px;
}
.blob-b {
  width: 280px; height: 280px;
  background: var(--sky);
  bottom: 20%; left: -100px;
}
.blob-c {
  width: 220px; height: 220px;
  background: var(--mint);
  bottom: -40px; right: 10%;
}

/* Wandering paw trails (above decorative blobs, under real UI) */
.paw-trails {
  position: fixed;
  inset: 0;
  z-index: 5;
  pointer-events: none;
  overflow: hidden;
}

.paw-print {
  position: absolute;
  top: 0;
  left: 0;
  width: var(--paw-size, 26px);
  height: var(--paw-size, 26px);
  color: var(--paw-color, #1F6B45);
  opacity: 0;
  pointer-events: none;
  will-change: opacity, transform;
  animation: paw-life var(--paw-life, 2800ms) ease-in-out forwards;
}

.paw-print svg {
  width: 100%;
  height: 100%;
  max-width: none;
  overflow: visible;
}

/* Numeric opacities only — CSS vars inside @keyframes fail in some browsers */
@keyframes paw-life {
  0%   { opacity: 0; }
  10%  { opacity: 0.55; }
  55%  { opacity: 0.55; }
  100% { opacity: 0; }
}

.wrap {
  width: min(1080px, 92vw);
  margin-inline: auto;
  position: relative;
  z-index: 1;
}

/* Keep page content above paw trails (z-index 5) */
main, .site-footer {
  position: relative;
  z-index: 10;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(250, 248, 242, 0.88);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(20, 38, 28, 0.06);
}

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

.brand {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.15rem;
  letter-spacing: -0.01em;
  color: var(--ink);
}

.brand img {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  box-shadow: 0 4px 12px var(--shadow);
}

.nav-links {
  display: flex;
  gap: 0.35rem;
  list-style: none;
  font-weight: 700;
  font-size: 0.95rem;
}

.nav-links a {
  padding: 0.45rem 0.9rem;
  border-radius: 999px;
  color: var(--ink-soft);
  transition: background 0.2s, color 0.2s;
}

.nav-links a:hover,
.nav-links a:focus-visible {
  background: rgba(31, 107, 69, 0.12);
  color: var(--forest-hot);
}

.nav-toggle {
  display: none;
  background: var(--white);
  border: 2px solid rgba(20, 38, 28, 0.08);
  color: var(--ink);
  padding: 0.45rem 0.85rem;
  border-radius: 999px;
  font-family: var(--font-body);
  font-weight: 800;
  font-size: 0.85rem;
  cursor: pointer;
  box-shadow: 0 2px 8px var(--shadow);
}

/* Hero */
.hero {
  padding: 3rem 0 3.5rem;
  text-align: center;
}

.logo-mark {
  width: 148px;
  height: 148px;
  margin: 0 auto 1.25rem;
  border-radius: 50%;
  filter: drop-shadow(0 12px 28px rgba(31, 107, 69, 0.28));
  animation: popIn 0.65s cubic-bezier(0.34, 1.56, 0.64, 1) both;
}

@keyframes popIn {
  from { opacity: 0; transform: scale(0.6) translateY(16px); }
  to   { opacity: 1; transform: scale(1) translateY(0); }
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-weight: 800;
  font-size: 0.8rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--forest-hot);
  background: rgba(197, 224, 23, 0.28);
  padding: 0.4rem 0.9rem;
  border-radius: 999px;
  margin-bottom: 1rem;
}

.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2.6rem, 8vw, 4.2rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.05;
  margin-bottom: 0.65rem;
  color: var(--ink);
}

.hero h1 span {
  display: block;
  font-size: 0.38em;
  font-family: var(--font-body);
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--sky-mid);
  margin-top: 0.4rem;
}

.tagline {
  font-size: clamp(1.05rem, 2.8vw, 1.3rem);
  font-weight: 700;
  color: var(--ink-soft);
  max-width: 28ch;
  margin: 0 auto 1rem;
}

.pitch {
  max-width: 40ch;
  margin: 0 auto 1.75rem;
  color: var(--muted);
  font-size: 1.05rem;
  font-weight: 600;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
  margin-bottom: 1.25rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 800;
  padding: 0.85rem 1.4rem;
  border-radius: 999px;
  border: 2px solid transparent;
  transition: transform 0.15s, box-shadow 0.2s, background 0.2s, border-color 0.2s;
  cursor: pointer;
}

.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn-coral {
  background: linear-gradient(135deg, var(--forest) 0%, var(--forest-hot) 100%);
  color: var(--white);
  box-shadow: 0 8px 24px rgba(31, 107, 69, 0.35);
}
.btn-coral:hover {
  box-shadow: 0 12px 28px rgba(21, 90, 56, 0.45);
}

.btn-ghost {
  background: var(--white);
  color: var(--ink);
  border-color: rgba(20, 38, 28, 0.08);
  box-shadow: 0 4px 16px var(--shadow);
}
.btn-ghost:hover {
  border-color: var(--forest);
  color: var(--forest);
}

.handle {
  font-weight: 800;
  font-size: 0.95rem;
  color: var(--muted);
}

/* Sections */
.section {
  padding: 3rem 0;
}

.section-head {
  text-align: center;
  margin-bottom: 2rem;
}

.section-label {
  font-weight: 800;
  font-size: 0.75rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--forest);
  margin-bottom: 0.45rem;
}

.section-head h2 {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 4.5vw, 2.4rem);
  font-weight: 700;
  letter-spacing: -0.02em;
}

.section-head p {
  color: var(--muted);
  margin-top: 0.5rem;
  max-width: 36ch;
  margin-inline: auto;
  font-weight: 600;
}

/* Sighting cards */
.series-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.15rem;
}

.sight-card {
  background: var(--card);
  backdrop-filter: blur(10px);
  border-radius: var(--radius);
  padding: 1.5rem 1.35rem 1.4rem;
  box-shadow: 0 10px 32px var(--shadow);
  border: 2px solid rgba(255, 255, 255, 0.9);
  transition: transform 0.2s, box-shadow 0.2s;
}

.sight-card:hover {
  transform: translateY(-6px) scale(1.01);
  box-shadow: 0 18px 40px rgba(20, 38, 28, 0.16);
}

.sight-card.featured {
  background: linear-gradient(160deg, #E8F6FF 0%, #E8F2EC 100%);
  border-color: var(--forest-soft);
}

.card-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.9rem;
}

.emoji {
  font-size: 1.75rem;
  line-height: 1;
}

.pill {
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.3rem 0.65rem;
  border-radius: 999px;
}

.pill-lilac { background: rgba(126, 200, 245, 0.4); color: #2A6FA0; }
.pill-coral { background: rgba(197, 224, 23, 0.35); color: #5A6B00; }
.pill-mint  { background: rgba(31, 107, 69, 0.18); color: #155A38; }

.sight-card h3 {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 600;
  margin-bottom: 0.45rem;
  letter-spacing: -0.01em;
}

.sight-card p {
  font-size: 0.98rem;
  color: var(--ink-soft);
  font-weight: 600;
  margin-bottom: 1rem;
}

.card-foot {
  font-size: 0.8rem !important;
  font-weight: 800 !important;
  color: var(--muted) !important;
  margin-bottom: 0 !important;
  padding-top: 0.75rem;
  border-top: 2px dashed rgba(20, 38, 28, 0.08);
}

/* Watch / Social */
.socials {
  background: rgba(255, 255, 255, 0.45);
  border-block: 1px solid rgba(20, 38, 28, 0.05);
}

.watch-panel {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 1.25rem;
  align-items: stretch;
  margin-bottom: 1.5rem;
}

.watch-copy {
  background: var(--card);
  backdrop-filter: blur(10px);
  border-radius: var(--radius);
  padding: 1.75rem 1.5rem;
  box-shadow: 0 10px 32px var(--shadow);
  border: 2px solid rgba(255, 255, 255, 0.9);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.watch-kicker {
  font-weight: 800;
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--forest);
  margin-bottom: 0.45rem;
}

.watch-copy h3 {
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 3vw, 1.7rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  margin-bottom: 0.55rem;
  color: var(--ink);
}

.watch-copy > p {
  color: var(--ink-soft);
  font-weight: 600;
  font-size: 0.98rem;
  margin-bottom: 1.15rem;
  max-width: 36ch;
}

.watch-cta {
  align-self: flex-start;
}

.btn-icon {
  width: 1.15rem;
  height: 1.15rem;
  fill: currentColor;
}

.watch-handle {
  margin-top: 0.85rem !important;
  margin-bottom: 0 !important;
  font-size: 0.85rem !important;
  font-weight: 800 !important;
  color: var(--muted) !important;
}

/* Placeholder when no YouTube video ID is available yet */
.yt-placeholder {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  min-height: 240px;
  padding: 1.75rem 1.35rem;
  border-radius: var(--radius);
  overflow: hidden;
  text-align: center;
  color: var(--ink);
  background:
    radial-gradient(ellipse at 30% 20%, rgba(197, 224, 23, 0.35) 0%, transparent 55%),
    radial-gradient(ellipse at 80% 80%, rgba(126, 200, 245, 0.45) 0%, transparent 50%),
    linear-gradient(155deg, #1F6B45 0%, #155A38 45%, #14261C 100%);
  box-shadow: 0 14px 36px rgba(31, 107, 69, 0.28);
  border: 2px solid rgba(168, 212, 176, 0.45);
  transition: transform 0.2s, box-shadow 0.2s;
}

.yt-placeholder:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 44px rgba(31, 107, 69, 0.38);
}

.yt-placeholder-glow {
  position: absolute;
  inset: -20%;
  background: radial-gradient(circle at 50% 40%, rgba(200, 236, 255, 0.18), transparent 55%);
  pointer-events: none;
}

.yt-placeholder-play {
  position: relative;
  z-index: 1;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, var(--trail) 0%, var(--trail-soft) 100%);
  box-shadow: 0 8px 24px rgba(197, 224, 23, 0.45);
}

.yt-placeholder-play svg {
  width: 28px;
  height: 28px;
  fill: var(--ink);
  margin-left: 3px;
}

.yt-placeholder-body {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.55rem;
}

.yt-placeholder-body .pill {
  background: rgba(197, 224, 23, 0.35);
  color: #E4F56A;
}

.yt-placeholder-body strong {
  font-family: var(--font-display);
  font-size: clamp(1.15rem, 2.8vw, 1.4rem);
  font-weight: 600;
  color: var(--white);
  letter-spacing: -0.01em;
}

.yt-placeholder-sub {
  font-size: 0.85rem;
  font-weight: 700;
  color: rgba(250, 248, 242, 0.78);
}

.social-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.85rem;
}

.social-grid-three {
  grid-template-columns: repeat(3, 1fr);
  max-width: 720px;
  margin-inline: auto;
}

.social-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.45rem;
  padding: 1.35rem 1rem;
  background: var(--white);
  border: 2px solid rgba(20, 38, 28, 0.06);
  border-radius: var(--radius);
  transition: border-color 0.2s, transform 0.15s, box-shadow 0.2s;
  text-align: center;
  box-shadow: 0 6px 20px var(--shadow);
}

.social-btn:hover {
  border-color: var(--forest);
  transform: translateY(-3px);
  box-shadow: 0 12px 28px rgba(31, 107, 69, 0.2);
}

.social-btn svg {
  width: 28px;
  height: 28px;
  fill: var(--ink);
  transition: fill 0.2s;
}

.social-btn:hover svg { fill: var(--coral-hot); }

.social-btn strong {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 600;
}

.social-btn span {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--muted);
}

/* Contact */
.contact-panel {
  background: var(--white);
  border-radius: var(--radius);
  padding: 2rem 1.75rem;
  max-width: 480px;
  margin: 0 auto;
  box-shadow: 0 12px 36px var(--shadow);
  border: 2px solid rgba(168, 212, 176, 0.55);
  text-align: center;
}

.contact-panel h3 {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 600;
  margin-bottom: 0.45rem;
}

.contact-panel p {
  color: var(--ink-soft);
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 1.25rem;
}

.contact-email {
  display: inline-block;
  font-weight: 800;
  font-size: 1.05rem;
  color: var(--forest-hot);
  background: rgba(31, 107, 69, 0.1);
  padding: 0.65rem 1.15rem;
  border-radius: 999px;
  transition: background 0.2s, transform 0.15s;
}

.contact-email:hover {
  background: rgba(31, 107, 69, 0.18);
  transform: translateY(-1px);
}

.contact-note {
  margin-top: 1rem !important;
  font-size: 0.8rem !important;
  color: var(--muted) !important;
  margin-bottom: 0 !important;
}

/* Footer */
.site-footer {
  padding: 2.5rem 0 1.5rem;
  text-align: center;
}

.footer-mark {
  width: 52px;
  height: 52px;
  margin: 0 auto 0.85rem;
  border-radius: 50%;
  opacity: 0.9;
}

.site-footer p {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--muted);
}

.site-footer .motto {
  margin-top: 0.35rem;
  font-weight: 800;
  color: var(--forest);
  font-size: 0.9rem;
}

/* Sticky mobile CTA */
.sticky-cta {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 200;
  padding: 0.75rem 4vw calc(0.75rem + env(safe-area-inset-bottom));
  background: rgba(250, 248, 242, 0.94);
  backdrop-filter: blur(14px);
  border-top: 1px solid rgba(20, 38, 28, 0.08);
  box-shadow: 0 -8px 24px rgba(20, 38, 28, 0.08);
}

.sticky-cta:not([hidden]) {
  display: block;
}

.sticky-btn {
  width: 100%;
  max-width: 420px;
  margin-inline: auto;
  display: flex;
}

/* Mobile */
@media (max-width: 768px) {
  .nav-toggle { display: block; }

  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    background: rgba(250, 248, 242, 0.98);
    padding: 0.75rem 4vw 1.15rem;
    border-bottom: 1px solid rgba(20, 38, 28, 0.08);
    gap: 0.35rem;
    box-shadow: 0 12px 24px var(--shadow);
  }

  .nav-links.open { display: flex; }

  .nav-links a {
    padding: 0.7rem 1rem;
  }

  .series-grid {
    grid-template-columns: 1fr;
    max-width: 400px;
    margin-inline: auto;
  }

  .watch-panel {
    grid-template-columns: 1fr;
  }

  .watch-cta {
    align-self: stretch;
    justify-content: center;
  }

  .social-grid,
  .social-grid-three {
    grid-template-columns: 1fr;
    max-width: 320px;
  }

  @media (min-width: 480px) {
    .social-grid,
    .social-grid-three {
      grid-template-columns: repeat(3, 1fr);
      max-width: none;
    }
  }

  .hero { padding: 2.25rem 0 2.75rem; }
  .logo-mark { width: 120px; height: 120px; }

  .sticky-cta:not([hidden]) {
    display: block;
  }
}

@media (min-width: 769px) {
  body { padding-bottom: 0; }
  .sticky-cta { display: none !important; }
}

@media (max-width: 400px) {
  .cta-row { flex-direction: column; align-items: stretch; }
  .btn { justify-content: center; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
  html { scroll-behavior: auto; }
  .paw-trails { display: none; }
}
