:root {
  --evolve: #67D63B;
  --deep: #3FAF22;
  --silver: #D9D9D9;
  --graphite: #1A1A1A;
  --muted: #888888;
}

* { scroll-behavior: smooth; }

html, body {
  background: #000;
  color: #fff;
  font-family: 'Roboto', sans-serif;
  line-height: 1.7;
}

h1, h2, h3, h4, .font-heading {
  font-family: 'Montserrat', sans-serif;
}

section[id] { scroll-margin-top: 84px; }

/* ===== noise texture overlay ===== */
.noise::before {
  content: '';
  position: absolute;
  inset: 0;
  opacity: 0.045;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  mix-blend-mode: overlay;
  z-index: 1;
}

/* ===== photo placeholders ===== */
.photo-placeholder {
  background: linear-gradient(135deg, #1a1a1a 0%, #0d0d0d 100%);
  border: 1px solid rgba(103,214,59,0.1);
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.photo-placeholder::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 30% 20%, rgba(103,214,59,0.05), transparent 55%);
}
.photo-placeholder span {
  position: relative;
  font-family: 'Roboto', sans-serif;
  font-size: 0.7rem;
  letter-spacing: 0.06em;
  color: rgba(103,214,59,0.55);
  text-align: center;
  padding: 0 1.25rem;
  text-transform: uppercase;
}

/* ===== hero ===== */
.hero-bg {
  background: linear-gradient(135deg, #161616 0%, #0a0a0a 60%, #050505 100%);
  border-bottom: 1px solid rgba(103,214,59,0.08);
}
.hero-vignette {
  background:
    radial-gradient(ellipse 80% 60% at 50% 0%, rgba(103,214,59,0.12), transparent 60%),
    linear-gradient(180deg, rgba(0,0,0,0.35) 0%, rgba(0,0,0,0.55) 55%, #000 100%);
}
.hero-headline {
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: -0.035em;
  line-height: 0.96;
  font-size: clamp(2.75rem, 9vw, 6.5rem);
}
.eyebrow {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 0.78rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--evolve);
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
}

.glow-radial {
  background:
    radial-gradient(circle at 20% 15%, rgba(103,214,59,0.16), transparent 45%),
    radial-gradient(circle at 85% 75%, rgba(63,175,34,0.14), transparent 50%);
}

.shadow-glow { box-shadow: 0 14px 40px -12px rgba(103,214,59,0.35), 0 4px 14px -2px rgba(0,0,0,0.7); }
.shadow-glow-lg { box-shadow: 0 24px 70px -20px rgba(103,214,59,0.4), 0 8px 24px -4px rgba(0,0,0,0.8); }
.shadow-card { box-shadow: 0 8px 24px -8px rgba(0,0,0,0.6), inset 0 1px 0 rgba(255,255,255,0.03); }

/* ===== buttons ===== */
.btn-primary {
  background: linear-gradient(135deg, var(--evolve), var(--deep));
  color: #06140a;
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  letter-spacing: 0.02em;
  border-radius: 999px;
  padding: 0.95rem 2.1rem;
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  transition: transform 0.35s cubic-bezier(.2,.9,.3,1.3), box-shadow 0.35s ease;
  box-shadow: 0 10px 30px -8px rgba(103,214,59,0.45);
}
.btn-primary:hover { transform: translateY(-3px) scale(1.02); box-shadow: 0 18px 40px -10px rgba(103,214,59,0.6); }
.btn-primary:active { transform: translateY(0) scale(0.98); }
.btn-primary:focus-visible { outline: 3px solid var(--silver); outline-offset: 3px; }
.btn-primary:disabled { opacity: 0.6; cursor: not-allowed; }

.btn-secondary {
  background: transparent;
  color: #fff;
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  letter-spacing: 0.02em;
  border: 1.5px solid rgba(217,217,217,0.45);
  border-radius: 999px;
  padding: 0.9rem 2rem;
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  transition: border-color 0.3s ease, transform 0.35s cubic-bezier(.2,.9,.3,1.3), background 0.3s ease, color 0.3s ease;
}
.btn-secondary:hover { border-color: var(--evolve); color: var(--evolve); transform: translateY(-3px); }
.btn-secondary:focus-visible { outline: 3px solid var(--silver); outline-offset: 3px; }

.btn-pill-nav {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 0.82rem;
  letter-spacing: 0.03em;
  border-radius: 999px;
  padding: 0.6rem 1.3rem;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  transition: transform 0.3s cubic-bezier(.2,.9,.3,1.3), box-shadow 0.3s ease, border-color 0.3s ease, color 0.3s ease;
}
.btn-pill-nav.primary {
  background: linear-gradient(135deg, var(--evolve), var(--deep));
  color: #06140a;
  box-shadow: 0 8px 22px -6px rgba(103,214,59,0.45);
}
.btn-pill-nav.primary:hover { transform: translateY(-2px); box-shadow: 0 14px 30px -8px rgba(103,214,59,0.6); }
.btn-pill-nav.outline {
  background: transparent;
  color: var(--silver);
  border: 1.5px solid rgba(217,217,217,0.35);
}
.btn-pill-nav.outline:hover { border-color: var(--evolve); color: var(--evolve); transform: translateY(-2px); }
.btn-pill-nav:focus-visible { outline: 3px solid var(--silver); outline-offset: 3px; }

a:focus-visible, button:focus-visible, summary:focus-visible {
  outline: 3px solid var(--evolve);
  outline-offset: 3px;
  border-radius: 4px;
}

.card-surface {
  background: linear-gradient(155deg, #1d1d1d, #141414);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 1.25rem;
  transition: transform 0.4s cubic-bezier(.2,.9,.3,1.1), border-color 0.4s ease, box-shadow 0.4s ease;
}
.card-surface:hover { transform: translateY(-6px); border-color: rgba(103,214,59,0.45); }

/* ===== trust bar ===== */
.pulse-divider { width: 100%; height: 28px; display: block; opacity: 0.55; }
.pulse-draw { stroke-dasharray: 900; stroke-dashoffset: 900; animation: drawPulse 2.6s ease-out 0.3s forwards; }
@keyframes drawPulse { to { stroke-dashoffset: 0; } }

[data-reveal] {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s cubic-bezier(.2,.7,.3,1);
}
[data-reveal].is-visible { opacity: 1; transform: translateY(0); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; }
  .pulse-draw { stroke-dashoffset: 0; }
  [data-reveal] { opacity: 1; transform: none; }
}

.chip {
  border: 1px solid rgba(217,217,217,0.25);
  border-radius: 999px;
  padding: 0.4rem 1rem;
  font-size: 0.8rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--silver);
}

.faq-icon { transition: transform 0.4s ease; }
details[open] .faq-icon { transform: rotate(45deg); }
details > summary { list-style: none; cursor: pointer; }
details > summary::-webkit-details-marker { display: none; }
details .faq-content { max-height: 0; overflow: hidden; transition: max-height 0.4s ease; }
details[open] .faq-content { max-height: 400px; }

.mobile-nav {
  transform: translateY(-12px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease, transform 0.3s ease;
}
.mobile-nav.open { transform: translateY(0); opacity: 1; pointer-events: auto; }

.hamburger-line { transition: transform 0.35s ease, opacity 0.35s ease; }

/* ===== manifesto block ===== */
.manifesto-text {
  font-family: 'Montserrat', sans-serif;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.18;
  font-size: clamp(1.75rem, 4vw, 3.25rem);
}
.manifesto-text .accent { color: var(--evolve); }

/* ===== legal pages ===== */
.legal-content h2 {
  font-family: 'Montserrat', sans-serif;
  font-weight: 800;
  font-size: 1.4rem;
  letter-spacing: -0.01em;
  margin-top: 2.5rem;
  margin-bottom: 0.9rem;
}
.legal-content h2:first-child { margin-top: 0; }
.legal-content p, .legal-content li { color: rgba(217,217,217,0.85); margin-bottom: 0.9rem; }
.legal-content ul { list-style: disc; padding-left: 1.4rem; margin-bottom: 0.9rem; }
.legal-content a { color: var(--evolve); text-decoration: underline; }
.legal-content strong { color: #fff; }

::selection { background: rgba(103,214,59,0.35); }

/* ===== service pages ===== */
.page-hero-headline {
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1.05;
  font-size: clamp(2.4rem, 5.5vw, 4.25rem);
}
.page-hero-headline .accent {
  background: linear-gradient(90deg, var(--evolve), var(--deep));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.step-num {
  font-family: 'Montserrat', sans-serif;
  font-weight: 900;
  font-size: 3.25rem;
  line-height: 1;
  color: rgba(103, 214, 59, 0.28);
}
.cta-banner {
  background:
    radial-gradient(ellipse at 20% 0%, rgba(103,214,59,0.14), transparent 55%),
    linear-gradient(155deg, #1d1d1d, #121212);
  border: 1px solid rgba(103, 214, 59, 0.22);
  border-radius: 1.5rem;
}

/* service card media (videos and photos): premium black-and-white cinematic
   treatment. Applied to the media element only — text and green accents above
   stay vivid */
.video-bw {
  filter: grayscale(100%) contrast(1.15) brightness(0.55);
}

/* vertical service cards: full-bleed media with text floating on a
   translucent gradient — video/photo stays visible behind the whole card */
.card-media-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(18, 18, 18, 0.15) 0%,
    rgba(18, 18, 18, 0.45) 35%,
    rgba(18, 18, 18, 0.72) 70%,
    rgba(18, 18, 18, 0.88) 100%
  );
}
.card-overlay-text {
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.7);
  /* reinforce readability where the text sits without re-creating a solid
     block: fades in over the first quarter, stays translucent below */
  background: linear-gradient(
    to bottom,
    rgba(18, 18, 18, 0) 0%,
    rgba(18, 18, 18, 0.5) 28%,
    rgba(18, 18, 18, 0.5) 100%
  );
}
.card-overlay-text .btn-primary {
  text-shadow: none; /* dark text on the green pill must stay crisp */
}

/* stretched link: makes a whole service card clickable;
   inner CTAs/buttons sit above it via position:relative + z-index 2 */
.card-link {
  position: absolute;
  inset: 0;
  z-index: 1;
  border-radius: 1.25rem;
}
.card-link:focus-visible {
  outline: 3px solid var(--evolve);
  outline-offset: -3px;
}

/* ===== review horizontal scroll track ===== */
.review-track {
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  -ms-overflow-style: none;
  /* align left edge with max-w-7xl (80rem) content area */
  padding-left: max(1.25rem, calc((100vw - 80rem) / 2 + 1.25rem));
  padding-right: 6rem;
}
@media (min-width: 640px) {
  .review-track { padding-left: max(2rem, calc((100vw - 80rem) / 2 + 2rem)); }
}
.review-track::-webkit-scrollbar { display: none; }

/* stretched link: covers whole card; button inside uses z-[2] to sit above */
.review-card-link::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  border-radius: 1.25rem;
}

/* clamped quote text */
.review-quote {
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
  transition: max-height 0.35s ease;
}
.review-quote.expanded {
  display: block;
  overflow: visible;
}

/* read-more toggle button */
.review-read-more {
  position: relative;
  z-index: 2;
  color: #67D63B;
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  font-size: 0.78rem;
  letter-spacing: 0.02em;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  margin-top: 0.6rem;
  margin-bottom: 0;
  text-align: left;
}
.review-read-more:hover { text-decoration: underline; }
.review-read-more:focus-visible { outline: 2px solid #67D63B; outline-offset: 2px; border-radius: 2px; }
