:root {
  --ink: #0C1208;
  --accent-green: #4A8C2A;
  --accent-lime: #6DB33F;
  --surface-cream: #F0F4EC;
  --slant: 4vw;
}

html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }
body { background: var(--ink); color: var(--surface-cream); font-family: 'Inter', system-ui, sans-serif; font-weight: 400; }
h1, h2, h3, h4 { font-family: 'Sora', 'Inter', sans-serif; font-weight: 700; letter-spacing: -0.045em; }

/* ---- grain overlay ---- */
.grain::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 70;
  pointer-events: none;
  opacity: 0.12;
  background-image: radial-gradient(circle at 1px 1px, rgba(240, 244, 236, 0.55) 1px, transparent 0);
  background-size: 18px 18px;
}

/* ---- slants ---- */
.slant-both {
  clip-path: polygon(0 4vw, 100% 0, 100% calc(100% - 4vw), 0 100%);
}
.slant-top {
  clip-path: polygon(0 4vw, 100% 0, 100% 100%, 0 100%);
}
.slant-bottom {
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 4vw), 0 100%);
}
.slant-top-soft {
  clip-path: polygon(0 0, 100% 4vw, 100% 100%, 0 100%);
}
.slant-bottom-soft {
  clip-path: polygon(0 0, 100% 0, 100% 100%, 0 calc(100% - 4vw));
}

/* ---- buttons ---- */
.btn-primary {
  background: linear-gradient(135deg, #9FD96A, #4A8C2A);
  color: #0C1208;
  box-shadow: 0 10px 30px -12px rgba(74, 140, 42, 0.75);
  transition: transform .25s ease, box-shadow .25s ease, filter .25s ease;
}
.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 18px 40px -14px rgba(74, 140, 42, 0.9);
  filter: saturate(1.08);
}
.btn-primary:focus-visible {
  outline: 2px solid #6DB33F;
  outline-offset: 3px;
}
.btn-ghost {
  transition: transform .25s ease, box-shadow .25s ease, background-color .25s ease, border-color .25s ease;
}
.btn-ghost:hover {
  transform: translateY(-1px);
  box-shadow: 0 14px 34px -18px rgba(12, 18, 8, 0.55);
}

/* ---- nav ---- */
#navbar.is-scrolled { box-shadow: 0 8px 32px rgba(17, 26, 12, 0.08); }

/* ---- entrance ---- */
@keyframes revealFlow {
  from { opacity: 0; transform: translateY(28px); }
  to   { opacity: 1; transform: translateY(0); }
}
.reveal { animation: revealFlow .9s cubic-bezier(.22, 1, .36, 1) both; }
.reveal-1 { animation-delay: .08s; }
.reveal-2 { animation-delay: .18s; }
.reveal-3 { animation-delay: .28s; }
.reveal-4 { animation-delay: .38s; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { animation: none; }
}

/* ---- hero ---- */
.hero-media {
  background-image: url("https://hoirqrkdgbmvpwutwuwj.supabase.co/storage/v1/object/public/assets/assets/b5413203-6577-42c0-954e-3811b69415b0_3840w.png");
  background-size: cover;
  background-position: center 30%;
  opacity: 0.85;
}
.hero-veil {
  background:
    radial-gradient(120% 90% at 70% 32%, rgba(12, 18, 8, 0.10) 0%, rgba(12, 18, 8, 0.55) 45%, rgba(12, 18, 8, 0.96) 100%),
    linear-gradient(90deg, rgba(12, 18, 8, 0.92) 0%, rgba(12, 18, 8, 0.62) 42%, rgba(12, 18, 8, 0.18) 72%, rgba(12, 18, 8, 0.55) 100%),
    linear-gradient(180deg, rgba(12, 18, 8, 0.85) 0%, rgba(12, 18, 8, 0.10) 35%, rgba(12, 18, 8, 0.55) 78%, #0C1208 100%);
}

/* ---- accordion ---- */
details > summary { list-style: none; cursor: pointer; }
details > summary::-webkit-details-marker { display: none; }
details[open] .chev { transform: rotate(180deg); }
details[open] .faq-row,
details.faq-row[open] { background: rgba(74, 140, 42, 0.06); }
.chev { transition: transform .3s ease; }

/* ---- form notice ---- */
.form-notice {
  border-radius: 16px;
  padding: 14px 16px;
  font-size: 13px;
  line-height: 1.5;
}
.form-notice--ok {
  border: 1px solid rgba(74, 140, 42, 0.35);
  background: rgba(74, 140, 42, 0.10);
  color: #2F5C1B;
}
.form-notice--err {
  border: 1px solid rgba(140, 42, 42, 0.30);
  background: rgba(140, 42, 42, 0.07);
  color: #7A2222;
}
.field-error {
  display: block;
  margin-top: 6px;
  font-size: 11.5px;
  font-weight: 600;
  color: #8C2A2A;
}

/* ---- mobile drawer ---- */
#mobile-menu.is-open { display: block; }
