/* ==========================================================================
   Dookie Patrol — site styles
   Themes: light (default), dark, poop  — set via data-theme on <html>
   ========================================================================== */

:root {
  /* Brand palette (from the logo) */
  --navy: #1b3546;
  --navy-deep: #12222e;
  --sky: #3f8ec9;
  --sky-light: #7dbbe6;
  --grass: #6b8f3a;
  --grass-light: #a3bf5c;
  --olive: #7c7557;
  --brown: #59331e;
  --gold: #e8b84a;
  --cream: #f8f7ee;

  /* Light theme tokens */
  --bg: #f8f7ee;
  --bg-alt: #eef1e3;
  --surface: #ffffff;
  --surface-2: #f3f4ec;
  --text: #1c2630;
  --text-muted: #55636f;
  --line: #dfe3d6;
  --accent: #3f8ec9;
  --accent-ink: #ffffff;
  --accent-2: #6b8f3a;
  --accent-2-ink: #ffffff;
  --cta: #e8b84a;
  --cta-ink: #1b2a33;
  --focus: #3f8ec9;
  --shadow: 0 10px 30px rgba(27, 53, 70, .12);
  --shadow-sm: 0 2px 8px rgba(27, 53, 70, .10);
  --radius: 18px;
  --radius-sm: 10px;
  --header-bg: rgba(248, 247, 238, .85);
  --hero-overlay: linear-gradient(90deg, rgba(18,34,46,.82) 0%, rgba(18,34,46,.55) 55%, rgba(18,34,46,.25) 100%);
  --font-head: "Fredoka", "Nunito", "Segoe UI", system-ui, sans-serif;
  --font-body: "Nunito", "Segoe UI", system-ui, -apple-system, sans-serif;
  color-scheme: light;
}

[data-theme="dark"] {
  --bg: #161a1d;
  --bg-alt: #1c2126;
  --surface: #22282e;
  --surface-2: #2a3138;
  --text: #edf0ea;
  --text-muted: #a9b3ba;
  --line: #343c44;
  --accent: #5ea9dd;
  --accent-ink: #0f1a22;
  --accent-2: #8fb556;
  --accent-2-ink: #0f1a12;
  --cta: #f0c35c;
  --cta-ink: #1b2a33;
  --focus: #8fc7f0;
  --shadow: 0 12px 34px rgba(0, 0, 0, .45);
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, .4);
  --header-bg: rgba(22, 26, 29, .85);
  --hero-overlay: linear-gradient(90deg, rgba(10,16,22,.9) 0%, rgba(10,16,22,.65) 55%, rgba(10,16,22,.35) 100%);
  color-scheme: dark;
}

[data-theme="poop"] {
  --bg: #7fae4a;
  --bg-alt: #75a343;
  --surface: #fffdf4;
  --surface-2: #f4f2e2;
  --text: #1c2630;
  --text-muted: #55636f;
  --line: #e2e2cf;
  --accent: #2f7fbd;
  --accent-ink: #ffffff;
  --accent-2: #59331e;
  --accent-2-ink: #ffffff;
  --cta: #e8b84a;
  --cta-ink: #1b2a33;
  --focus: #1b3546;
  --shadow: 0 12px 30px rgba(30, 50, 20, .28);
  --shadow-sm: 0 2px 8px rgba(30, 50, 20, .2);
  --header-bg: rgba(255, 253, 244, .9);
  --hero-overlay: linear-gradient(90deg, rgba(18,34,46,.82) 0%, rgba(18,34,46,.55) 55%, rgba(18,34,46,.25) 100%);
  color-scheme: light;
}

/* --------------------------------------------------------------------------
   Base
   -------------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
}

/* Poop Patrol lawn surface */
[data-theme="poop"] body {
  background-color: #7fae4a;
  background-image:
    radial-gradient(circle at 20% 30%, rgba(255,255,255,.08) 0 2px, transparent 3px),
    radial-gradient(circle at 70% 60%, rgba(0,0,0,.07) 0 2px, transparent 3px),
    radial-gradient(circle at 45% 85%, rgba(255,255,255,.06) 0 1.5px, transparent 2.5px),
    repeating-linear-gradient(115deg, rgba(0,0,0,.022) 0 6px, transparent 6px 14px),
    linear-gradient(180deg, #86b64f, #74a442);
  background-size: 90px 90px, 120px 120px, 70px 70px, auto, auto;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent); text-underline-offset: 3px; }
a:hover { color: var(--text); }
h1, h2, h3, h4 { font-family: var(--font-head); line-height: 1.12; margin: 0 0 .5em; letter-spacing: -.01em; color: var(--text); font-weight: 600; }
h1 { font-size: clamp(2.25rem, 5.5vw, 4rem); }
h2 { font-size: clamp(1.75rem, 3.6vw, 2.6rem); }
h3 { font-size: 1.35rem; }
p { margin: 0 0 1em; }
.lead { font-size: 1.2rem; color: var(--text-muted); max-width: 62ch; }
.muted { color: var(--text-muted); }
.eyebrow { display: inline-block; font-family: var(--font-head); font-weight: 600; letter-spacing: .12em; text-transform: uppercase; font-size: .78rem; color: var(--accent-2); margin-bottom: .6rem; }
[data-theme="dark"] .eyebrow { color: var(--accent-2); }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }

:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; border-radius: 4px; }

.skip-link { position: absolute; left: 1rem; top: -4rem; z-index: 200; background: var(--navy); color: #fff; padding: .6rem 1rem; border-radius: 8px; font-weight: 700; transition: top .2s; }
.skip-link:focus { top: 1rem; }

.wrap { width: min(100% - 2.5rem, 1180px); margin-inline: auto; }
.section { padding: clamp(3.5rem, 8vw, 6.5rem) 0; position: relative; }
.section--tight { padding: clamp(2.5rem, 5vw, 4rem) 0; }
.section--alt { background: var(--bg-alt); }
[data-theme="poop"] .section--alt { background: transparent; }
.section-head { max-width: 720px; margin-bottom: clamp(2rem, 4vw, 3rem); }
.section-head.center { margin-inline: auto; text-align: center; }
.grid { display: grid; gap: 1.5rem; }
.grid-2 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); }
.grid-4 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr)); }

/* Surfaces (opaque — poop never shows through these) */
.surface, .card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}
.card { padding: 1.75rem; transition: transform .25s ease, box-shadow .25s ease; display: flex; flex-direction: column; }
.card > .btn { margin-top: auto; align-self: stretch; }
.card > .btn.mt-1 { margin-top: auto; padding-top: .85rem; }
.card > *:last-child:not(.btn) { margin-bottom: 0; }
.card .tag { align-self: flex-start; margin-bottom: .5rem; }
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.card h3 { margin-top: .25rem; }
.card .icon { width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; background: color-mix(in srgb, var(--accent) 14%, transparent); color: var(--accent); margin-bottom: 1rem; }
.card .icon svg { width: 28px; height: 28px; }
.card--accent { border-top: 5px solid var(--accent-2); }
.card ul { padding-left: 1.2rem; margin: .5rem 0 0; }
.card li { margin: .3rem 0; }

/* --------------------------------------------------------------------------
   Buttons
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  font-family: var(--font-head); font-weight: 600; font-size: 1.05rem; letter-spacing: .01em;
  padding: .85rem 1.6rem; border-radius: 999px; border: 2px solid transparent;
  text-decoration: none; cursor: pointer; line-height: 1.2; white-space: nowrap;
  transition: transform .15s ease, box-shadow .2s ease, background-color .2s ease, color .2s ease;
}
.btn:hover { transform: translateY(-2px); box-shadow: var(--shadow-sm); }
.btn:active { transform: translateY(0); }
.btn svg { width: 1.15em; height: 1.15em; }
a:not(.btn) > svg { width: 1em; height: 1em; vertical-align: -.15em; display: inline-block; }
.btn-primary { background: var(--cta); color: var(--cta-ink); }
.btn-primary:hover { background: color-mix(in srgb, var(--cta) 88%, #000); color: var(--cta-ink); }
.btn-secondary { background: var(--accent); color: var(--accent-ink); }
.btn-secondary:hover { background: color-mix(in srgb, var(--accent) 85%, #000); color: var(--accent-ink); }
.btn-outline { background: transparent; color: var(--text); border-color: currentColor; }
.btn-outline:hover { background: var(--surface); }
.btn-light { background: #fff; color: var(--navy); }
.btn-light:hover { color: var(--navy); background: #fff; }
.btn-ghost-light { background: rgba(255,255,255,.12); color: #fff; border-color: rgba(255,255,255,.6); backdrop-filter: blur(4px); }
.btn-ghost-light:hover { background: rgba(255,255,255,.22); color: #fff; }
.btn-sm { padding: .55rem 1rem; font-size: .95rem; }
.btn-block { width: 100%; }

/* --------------------------------------------------------------------------
   Header / nav
   -------------------------------------------------------------------------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: var(--header-bg);
  backdrop-filter: saturate(160%) blur(12px);
  -webkit-backdrop-filter: saturate(160%) blur(12px);
  border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; gap: 1rem; min-height: 76px; }
.brand { flex: none; display: flex; align-items: center; gap: .75rem; text-decoration: none; color: var(--text); font-family: var(--font-head); font-weight: 700; font-size: 1.15rem; }
.brand img { width: 128px; height: auto; border-radius: 8px; }
.brand span { line-height: 1.05; }
.brand small { display: block; font-family: var(--font-body); font-weight: 600; font-size: .7rem; letter-spacing: .1em; text-transform: uppercase; color: var(--text-muted); }
.nav { margin-left: auto; display: flex; align-items: center; gap: .25rem; }
.nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: .15rem; }
.nav a:not(.btn) { display: block; padding: .55rem .7rem; border-radius: 8px; text-decoration: none; color: var(--text); font-weight: 700; font-size: .95rem; white-space: nowrap; }
.nav a:not(.btn):hover { background: color-mix(in srgb, var(--accent) 12%, transparent); color: var(--text); }
.nav a[aria-current="page"]:not(.btn) { color: var(--accent); }
.nav .btn { margin-left: .5rem; }
.nav-call { display: inline-flex; align-items: center; gap: .4rem; padding: .55rem .6rem; font-weight: 800; text-decoration: none; color: var(--text); white-space: nowrap; }
@media (min-width: 961px) and (max-width: 1300px) { .nav-call span { display: none; } }
.nav-call svg { width: 18px; height: 18px; }
.nav-toggle { display: none; margin-left: auto; width: 46px; height: 46px; border-radius: 10px; border: 1px solid var(--line); background: var(--surface); color: var(--text); cursor: pointer; place-items: center; }
.nav-toggle svg { width: 24px; height: 24px; }
.nav-toggle .close { display: none; }
.nav-toggle[aria-expanded="true"] .open { display: none; }
.nav-toggle[aria-expanded="true"] .close { display: block; }

@media (max-width: 960px) {
  .nav-toggle { display: grid; }
  .nav {
    position: fixed; inset: 76px 0 auto 0; margin: 0;
    background: var(--surface); border-bottom: 1px solid var(--line); box-shadow: var(--shadow);
    flex-direction: column; align-items: stretch; gap: .25rem; padding: 1rem 1.25rem 1.25rem;
    transform: translateY(-8px); opacity: 0; visibility: hidden; transition: opacity .2s, transform .2s, visibility .2s;
    max-height: calc(100vh - 76px); overflow: auto;
  }
  .nav.is-open { transform: none; opacity: 1; visibility: visible; }
  .nav ul { flex-direction: column; gap: 0; }
  .nav a:not(.btn) { padding: .8rem .75rem; font-size: 1.1rem; }
  .nav .btn { margin: .5rem 0 0; width: 100%; }
  .nav-call { justify-content: center; padding: .8rem; }
  .brand img { width: 100px; }
  .brand span { font-size: 1rem; }
}

/* Theme switcher */
.theme-switch { display: inline-flex; align-items: center; gap: 2px; padding: 3px; border-radius: 999px; background: var(--surface-2); border: 1px solid var(--line); }
.theme-switch button { display: inline-flex; align-items: center; gap: .35rem; border: 0; background: transparent; color: var(--text-muted); font: inherit; font-weight: 700; font-size: .8rem; padding: .35rem .6rem; border-radius: 999px; cursor: pointer; }
.theme-switch button svg { width: 16px; height: 16px; }
.theme-switch button[aria-pressed="true"] { background: var(--surface); color: var(--text); box-shadow: var(--shadow-sm); }
.theme-switch button:hover { color: var(--text); }
.theme-switch .label { display: none; }
@media (min-width: 1400px) { .theme-switch .label { display: inline; } }
@media (max-width: 960px) { .theme-switch { justify-content: center; margin-top: .75rem; } .theme-switch .label { display: inline; } }
.theme-switch-wrap { display: flex; align-items: center; gap: .5rem; margin-left: .5rem; }
.theme-switch-wrap > span { font-size: .75rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--text-muted); }
@media (max-width: 960px) { .theme-switch-wrap { flex-direction: column; margin: .75rem 0 0; } }

/* --------------------------------------------------------------------------
   Hero
   -------------------------------------------------------------------------- */
.hero { position: relative; isolation: isolate; color: #fff; min-height: min(86vh, 760px); display: flex; align-items: center; overflow: hidden; }
.hero-media { position: absolute; inset: 0; z-index: -2; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; object-position: 60% 32%; }
.hero::after { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--hero-overlay); }
.hero-inner { padding: clamp(4rem, 10vw, 7rem) 0; max-width: 640px; }
.hero h1 { color: #fff; text-shadow: 0 2px 20px rgba(0,0,0,.35); margin-bottom: .6rem; }
.hero h1 em { font-style: normal; color: var(--gold); }
.hero p { font-size: clamp(1.1rem, 2vw, 1.3rem); color: rgba(255,255,255,.92); max-width: 52ch; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.5rem; }
.hero-badges { display: flex; flex-wrap: wrap; gap: .6rem 1.2rem; margin-top: 1.75rem; font-weight: 700; font-size: .95rem; color: rgba(255,255,255,.9); }
.hero-badges span { display: inline-flex; align-items: center; gap: .4rem; }
.hero-badges svg { width: 18px; height: 18px; color: var(--gold); }
.hero-logo { position: absolute; right: clamp(1rem, 5vw, 5rem); bottom: clamp(1rem, 4vw, 3rem); width: clamp(180px, 22vw, 300px); z-index: 1; filter: drop-shadow(0 10px 24px rgba(0,0,0,.35)); }
.hero-logo img { border-radius: 14px; }
@media (max-width: 720px) { .hero-logo { display: none; } .hero { min-height: 0; } .hero-media img { object-position: 70% 40%; } }

/* Page hero (interior pages) */
.page-hero { position: relative; isolation: isolate; color: #fff; padding: clamp(3rem, 7vw, 5.5rem) 0; overflow: hidden; }
.page-hero .hero-media img { object-position: center 45%; }
.page-hero::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(18,34,46,.88), rgba(18,34,46,.6)); }
.page-hero h1 { color: #fff; }
.page-hero p { color: rgba(255,255,255,.9); font-size: 1.15rem; max-width: 60ch; }
.page-hero .eyebrow { color: var(--gold); }

/* Marquee-ish ribbon (nod to the original "Let's Talk About It!") */
.ribbon { background: var(--navy); color: #fff; overflow: hidden; padding: .7rem 0; font-family: var(--font-head); font-weight: 600; letter-spacing: .04em; text-transform: uppercase; font-size: .9rem; }
.ribbon .track { display: flex; gap: 3rem; white-space: nowrap; width: max-content; animation: ribbon 40s linear infinite; }
.ribbon span::before { content: "🐾"; margin-right: 1rem; }
@keyframes ribbon { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .ribbon .track { animation: none; } }

/* --------------------------------------------------------------------------
   Content blocks
   -------------------------------------------------------------------------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } .split.reverse-mobile > :first-child { order: 2; } }
.split figure { margin: 0; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); aspect-ratio: 4 / 3; }
.split figure img { width: 100%; height: 100%; object-fit: cover; }
.split figure.portrait { aspect-ratio: 4 / 5; }

.checklist { list-style: none; padding: 0; margin: 1rem 0 0; display: grid; gap: .6rem; }
.checklist li { display: flex; gap: .7rem; align-items: flex-start; }
.checklist svg { flex: none; width: 22px; height: 22px; color: var(--accent-2); margin-top: .2rem; }

.steps { counter-reset: step; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); gap: 1.5rem; }
.step { position: relative; padding: 1.75rem 1.5rem 1.5rem; }
.step .num { width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; background: var(--accent-2); color: var(--accent-2-ink); font-family: var(--font-head); font-weight: 700; font-size: 1.2rem; margin-bottom: 1rem; }

.price { font-family: var(--font-head); font-size: 2.2rem; font-weight: 700; color: var(--text); line-height: 1; margin: .25rem 0; }
.price small { display: block; font-family: var(--font-body); font-size: .9rem; font-weight: 600; color: var(--text-muted); margin-top: .35rem; }
.tag { display: inline-block; font-size: .78rem; font-weight: 800; letter-spacing: .05em; text-transform: uppercase; padding: .25rem .6rem; border-radius: 999px; background: color-mix(in srgb, var(--accent-2) 16%, transparent); color: var(--accent-2); }
.tag--gold { background: color-mix(in srgb, var(--gold) 28%, transparent); color: #7a5a12; }
[data-theme="dark"] .tag--gold { color: var(--gold); }
.tag--sky { background: color-mix(in srgb, var(--accent) 16%, transparent); color: var(--accent); }

.note { border-left: 4px solid var(--gold); padding: .9rem 1.1rem; border-radius: 0 var(--radius-sm) var(--radius-sm) 0; background: color-mix(in srgb, var(--gold) 14%, var(--surface)); color: var(--text); }

/* Gallery */
.gallery { display: grid; grid-template-columns: repeat(12, 1fr); grid-auto-rows: 180px; gap: 1rem; }
.gallery figure { margin: 0; border-radius: var(--radius); overflow: hidden; position: relative; box-shadow: var(--shadow-sm); }
.gallery figure img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.gallery figure:hover img { transform: scale(1.04); }
.gallery figcaption { position: absolute; inset: auto 0 0 0; padding: 1.5rem .9rem .7rem; font-size: .85rem; font-weight: 700; color: #fff; background: linear-gradient(transparent, rgba(0,0,0,.65)); }
.g-a { grid-column: span 5; grid-row: span 2; }
.g-b { grid-column: span 4; grid-row: span 2; }
.g-c { grid-column: span 3; grid-row: span 1; }
.g-d { grid-column: span 3; grid-row: span 1; }
.g-e { grid-column: span 4; grid-row: span 2; }
.g-f { grid-column: span 4; grid-row: span 2; }
.g-g { grid-column: span 4; grid-row: span 2; }
@media (max-width: 860px) { .gallery { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 200px; } .gallery figure { grid-column: span 1 !important; grid-row: span 1 !important; } .g-a { grid-column: span 2 !important; } }

/* FAQ */
.faq details { border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--surface); margin-bottom: .75rem; overflow: hidden; }
.faq summary { cursor: pointer; padding: 1rem 1.25rem; font-weight: 800; font-family: var(--font-head); font-size: 1.05rem; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 1rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 1.5rem; line-height: 1; color: var(--accent); flex: none; transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details > div { padding: 0 1.25rem 1.1rem; color: var(--text-muted); }
.faq summary:hover { color: var(--accent); }

/* CTA band */
.cta-band { background: var(--navy); color: #fff; border-radius: calc(var(--radius) + 6px); padding: clamp(2rem, 5vw, 3.5rem); display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.5rem; box-shadow: var(--shadow); position: relative; overflow: hidden; }
.cta-band::before { content: ""; position: absolute; width: 380px; height: 380px; border-radius: 50%; background: radial-gradient(circle, rgba(232,184,74,.35), transparent 70%); right: -120px; top: -160px; pointer-events: none; }
.cta-band h2 { color: #fff; margin-bottom: .35rem; }
.cta-band p { color: rgba(255,255,255,.85); margin: 0; }
.cta-band .actions { display: flex; flex-wrap: wrap; gap: .75rem; }

/* Trust strip */
.trust { display: flex; flex-wrap: wrap; justify-content: center; gap: .75rem 2rem; padding: 1.1rem 0; font-weight: 800; font-size: .95rem; }
.trust span { display: inline-flex; align-items: center; gap: .45rem; }
.trust svg { width: 20px; height: 20px; color: var(--accent-2); }

/* Contact */
.contact-grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: 2.5rem; align-items: start; }
@media (max-width: 900px) { .contact-grid { grid-template-columns: minmax(0, 1fr); } }
.contact-grid > * { min-width: 0; }
.contact-card { padding: 1.75rem; }
.contact-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 1rem; }
.contact-list li { display: flex; gap: .9rem; align-items: flex-start; }
.contact-list .icon { flex: none; width: 44px; height: 44px; border-radius: 12px; background: color-mix(in srgb, var(--accent) 14%, transparent); color: var(--accent); display: grid; place-items: center; }
.contact-list .icon svg { width: 22px; height: 22px; }
.contact-list a { font-weight: 800; text-decoration: none; }
.contact-list a:hover { text-decoration: underline; }

/* Forms */
.form { display: grid; gap: 1rem; }
.form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
@media (max-width: 560px) { .form .row { grid-template-columns: 1fr; } }
.field { display: grid; gap: .35rem; }
.field label { font-weight: 800; font-size: .95rem; }
.field .hint { font-size: .85rem; color: var(--text-muted); }
.field input, .field select, .field textarea {
  font: inherit; color: var(--text); background: var(--surface); border: 1.5px solid var(--line); border-radius: var(--radius-sm);
  padding: .8rem .95rem; width: 100%; transition: border-color .15s, box-shadow .15s;
}
.field textarea { min-height: 140px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 4px color-mix(in srgb, var(--accent) 22%, transparent); }
.field.is-invalid input, .field.is-invalid select, .field.is-invalid textarea { border-color: #c8382f; }
.field .error { display: none; color: #c8382f; font-size: .88rem; font-weight: 700; }
[data-theme="dark"] .field .error { color: #ff8a80; }
.field.is-invalid .error { display: block; }
.req { color: #c8382f; }
.fieldset { border: 0; padding: 0; margin: 0; display: grid; gap: .5rem; min-width: 0; min-inline-size: 0; }
.fieldset legend { font-weight: 800; font-size: .95rem; padding: 0; margin-bottom: .35rem; }
.check { display: flex; gap: .6rem; align-items: center; font-weight: 600; }
.check input { width: 20px; height: 20px; accent-color: var(--accent); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-status { display: none; padding: 1rem 1.1rem; border-radius: var(--radius-sm); font-weight: 700; }
.form-status.is-success { display: block; background: color-mix(in srgb, var(--accent-2) 18%, var(--surface)); color: var(--text); border: 1px solid var(--accent-2); }
.form-status.is-error { display: block; background: color-mix(in srgb, #c8382f 12%, var(--surface)); color: var(--text); border: 1px solid #c8382f; }
.form-status.is-info { display: block; background: color-mix(in srgb, var(--gold) 20%, var(--surface)); color: var(--text); border: 1px solid var(--gold); }
.form-status a { font-weight: 800; }
.btn[disabled] { opacity: .6; cursor: progress; transform: none; }

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */
.site-footer { margin-top: auto; background: var(--navy-deep); color: rgba(255,255,255,.85); padding: clamp(2.5rem, 6vw, 4rem) 0 1.5rem; }
[data-theme="poop"] .site-footer { background: #12222e; }
.site-footer a { color: #fff; text-decoration: none; }
.site-footer a:hover { color: var(--gold); text-decoration: underline; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 2rem; }
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 540px) { .footer-grid { grid-template-columns: 1fr; } }
.footer-brand img { width: 150px; border-radius: 10px; margin-bottom: .75rem; }
.footer-brand p { max-width: 36ch; color: rgba(255,255,255,.7); }
.footer-parent { display: flex; align-items: center; gap: .75rem; margin-top: 1.25rem; color: rgba(255,255,255,.75); font-size: .9rem; line-height: 1.35; }
.footer-parent img { width: 56px; height: auto; border-radius: 10px; margin: 0; }
.footer-parent strong { color: #fff; }
.site-footer h3 { color: #fff; font-size: 1rem; text-transform: uppercase; letter-spacing: .1em; margin-bottom: .9rem; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: .5rem; }
.footer-contact li { display: flex; gap: .6rem; align-items: center; }
.footer-contact svg { width: 18px; height: 18px; color: var(--gold); flex: none; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.12); margin-top: 2.5rem; padding-top: 1.25rem; display: flex; flex-wrap: wrap; justify-content: space-between; gap: .75rem; font-size: .9rem; color: rgba(255,255,255,.6); }
.veteran { display: inline-flex; align-items: center; gap: .5rem; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.18); padding: .45rem .8rem; border-radius: 999px; font-weight: 800; color: #fff; font-size: .9rem; }
.veteran svg { width: 18px; height: 18px; color: var(--gold); }

/* Mobile sticky call bar */
.callbar { display: none; }
@media (max-width: 720px) {
  .callbar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 90; display: grid; grid-template-columns: 1fr 1fr; gap: .5rem; padding: .6rem .75rem calc(.6rem + env(safe-area-inset-bottom)); background: var(--surface); border-top: 1px solid var(--line); box-shadow: 0 -6px 20px rgba(0,0,0,.12); }
  .callbar .btn { width: 100%; padding: .75rem .5rem; }
  body { padding-bottom: 76px; }
}

/* --------------------------------------------------------------------------
   Scroll reveal
   -------------------------------------------------------------------------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.reveal.is-visible { opacity: 1; transform: none; }
.reveal[data-delay="1"] { transition-delay: .08s; }
.reveal[data-delay="2"] { transition-delay: .16s; }
.reveal[data-delay="3"] { transition-delay: .24s; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .card, .btn, .gallery figure img { transition: none; }
}
.no-js .reveal { opacity: 1; transform: none; }

/* --------------------------------------------------------------------------
   Poop Patrol interactive layer
   -------------------------------------------------------------------------- */
#poop-layer { display: none; }
[data-theme="poop"] #poop-layer { display: block; position: fixed; inset: 0; z-index: 0; pointer-events: none; }
[data-theme="poop"] .site-header, [data-theme="poop"] main, [data-theme="poop"] .site-footer, [data-theme="poop"] .callbar { position: relative; z-index: 1; }
[data-theme="poop"] .site-header { z-index: 100; }
[data-theme="poop"] .callbar { z-index: 90; }
[data-theme="poop"] body.scoop-cursor { cursor: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='40' height='40' viewBox='0 0 40 40'><g transform='rotate(-35 20 20)'><rect x='18' y='2' width='4' height='20' rx='2' fill='%23315a86'/><path d='M9 20h22l-3 14H12z' fill='%23d9dde2' stroke='%23315a86' stroke-width='2' stroke-linejoin='round'/><path d='M12 20l-1-3h18l-1 3' fill='%23b6bec8'/></g></svg>") 8 36, pointer;
}
[data-theme="poop"] body.scoop-cursor a, [data-theme="poop"] body.scoop-cursor button, [data-theme="poop"] body.scoop-cursor input, [data-theme="poop"] body.scoop-cursor textarea, [data-theme="poop"] body.scoop-cursor select, [data-theme="poop"] body.scoop-cursor summary, [data-theme="poop"] body.scoop-cursor label { cursor: auto; }
[data-theme="poop"] body.scoop-cursor a, [data-theme="poop"] body.scoop-cursor button, [data-theme="poop"] body.scoop-cursor summary { cursor: pointer; }

.poop-hud { display: none; }
[data-theme="poop"] .poop-hud {
  display: flex; flex-wrap: wrap; align-items: center; gap: .5rem;
  position: fixed; left: .75rem; bottom: .75rem; z-index: 95;
  background: var(--surface); color: var(--text); border: 1px solid var(--line); box-shadow: var(--shadow);
  border-radius: 999px; padding: .4rem .5rem .4rem .9rem; font-size: .9rem; font-weight: 800;
}
.poop-hud .count { display: inline-flex; align-items: center; gap: .4rem; }
.poop-hud .count b { font-family: var(--font-head); font-size: 1.05rem; }
.poop-hud button { font: inherit; font-weight: 800; font-size: .85rem; border: 1px solid var(--line); background: var(--surface-2); color: var(--text); border-radius: 999px; padding: .4rem .75rem; cursor: pointer; }
.poop-hud button:hover { background: var(--accent); color: var(--accent-ink); border-color: transparent; }
.poop-hud .off { font-weight: 700; display: inline-flex; align-items: center; gap: .35rem; cursor: pointer; padding: .3rem .4rem; }
.poop-hud .off input { accent-color: var(--accent); width: 16px; height: 16px; }
@media (max-width: 720px) { [data-theme="poop"] .poop-hud { bottom: 84px; left: .5rem; right: .5rem; justify-content: center; border-radius: 16px; } }

.poop-toast { position: fixed; left: 50%; top: 96px; transform: translate(-50%, -20px); z-index: 120; background: var(--surface); color: var(--text); border: 1px solid var(--line); box-shadow: var(--shadow); border-radius: 999px; padding: .8rem 1.4rem; font-family: var(--font-head); font-weight: 700; font-size: 1.1rem; opacity: 0; visibility: hidden; transition: opacity .3s, transform .3s, visibility .3s; pointer-events: none; }
.poop-toast.is-visible { opacity: 1; transform: translate(-50%, 0); visibility: visible; }

/* --------------------------------------------------------------------------
   Utilities
   -------------------------------------------------------------------------- */
.text-center { text-align: center; }
.mt-1 { margin-top: 1rem; } .mt-2 { margin-top: 2rem; } .mt-3 { margin-top: 3rem; }
.mb-0 { margin-bottom: 0; }
.stack { display: grid; gap: 1rem; }
.stack > * { min-width: 0; }
.contact-list li > div { min-width: 0; }
.contact-list a { overflow-wrap: anywhere; }
.inline-actions { display: flex; flex-wrap: wrap; gap: .75rem; align-items: center; }
.small { font-size: .9rem; }
.divider { height: 1px; background: var(--line); margin: 2rem 0; }

/* Poop theme: bare text blocks sit on a paper surface so nothing reads over the lawn */
[data-theme="poop"] .section-head { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.25rem 1.5rem; box-shadow: var(--shadow-sm); }
[data-theme="poop"] .section-head.center { max-width: 760px; }
[data-theme="poop"] .split > div:not(.surface) { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.5rem 1.75rem; box-shadow: var(--shadow-sm); }
[data-theme="poop"] .faq-wrap, [data-theme="poop"] .prose { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.5rem; box-shadow: var(--shadow-sm); }
