/* ============================================================
   VERDANO : Regenerative Agriculture Systems
   Concept design study. Webflow-style GSAP-driven single page.
   Palette: ink #1A1A18 / paper #FCFCFA / body #40413E
            olive #5B7C00 / lime #D3E640 / sage #F0F2EC
            deep #394E00 / stone #C9CAC4
   Type: DM Sans (400/500) + DM Mono (eyebrows)
   ============================================================ */

:root {
  --ink: #1A1A18;
  --paper: #FCFCFA;
  --body: #40413E;
  --olive: #5B7C00;
  --lime: #D3E640;
  --sage: #F0F2EC;
  --deep: #394E00;
  --stone: #C9CAC4;
  --radius-card: 16px;
  --radius-pill: 64px;
  --container-max: 1800px;
  --container-pad: 32px;
  --section-pad: 128px;
  --ease-roll: cubic-bezier(0.625, 0.05, 0, 1);
}

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

html { scroll-behavior: auto; }

body {
  font-family: "DM Sans", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.3;
  font-weight: 400;
  color: var(--body);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}

img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
button { font: inherit; background: none; border: none; cursor: pointer; color: inherit; }

.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding-left: var(--container-pad);
  padding-right: var(--container-pad);
}

/* ---------- Type ---------- */
h1, h2, h3 { font-weight: 400; color: var(--ink); line-height: 1.3; }

.heading-xl { font-size: 56px; }
.section-lede { max-width: 560px; margin: 24px auto 0; }

.eyebrow {
  font-family: "DM Mono", monospace;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  color: var(--ink);
  line-height: 1.3;
}
.eyebrow.center { text-align: center; }
.eyebrow.on-dark, .heading-xl.on-dark { color: var(--paper); }

.section-head.center { text-align: center; }
.section-head.center .heading-xl { max-width: 720px; margin: 24px auto 0; }

/* ---------- Buttons (text-roll hover) ---------- */
.btn {
  display: inline-block;
  padding: 12px 24px;
  border-radius: var(--radius-pill);
  font-size: 16px;
  line-height: 1.3;
  white-space: nowrap;
  cursor: pointer;
}
.btn-roll { display: block; position: relative; overflow: hidden; }
.btn-label {
  display: flex;
  align-items: center;
  gap: 8px;
  transition: transform 0.6s var(--ease-roll);
}
.btn-label + .btn-label { position: absolute; top: 100%; left: 0; width: 100%; }
.btn:hover .btn-label { transform: translateY(-100%); }
.btn-arrow { transform: rotate(-25deg); flex: none; }

.btn-lime { background: var(--lime); color: var(--ink); }
.btn-olive { background: var(--olive); color: var(--paper); }
.btn-paper { background: var(--paper); color: var(--ink); border: 1px solid var(--ink); }
.btn-outline { background: var(--paper); color: var(--ink); border: 1px solid var(--ink); }
.btn-glass { background: rgba(252, 252, 250, 0.25); color: var(--paper); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }

/* ---------- Header ---------- */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 12px 0;
}
.nav-pill {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--paper);
  border-radius: var(--radius-pill);
  padding: 8px 8px 8px 24px;
  min-height: 64px;
}
.nav-left { display: flex; align-items: center; gap: 24px; }
.brand {
  font-size: 26px;
  font-weight: 500;
  color: var(--ink);
  letter-spacing: -0.02em;
  line-height: 1;
}
.brand em { font-style: italic; font-weight: 400; }
.nav-divider { color: rgba(26, 26, 24, 0.3); font-size: 20px; font-weight: 300; }
.nav-menu { display: flex; align-items: center; gap: 28px; }
.nav-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 16px;
  color: var(--ink);
  transition: color 0.25s ease;
  padding: 0;
}
.nav-link:hover { color: var(--olive); }

.nav-item.has-dropdown { position: relative; }
.dropdown {
  position: absolute;
  top: calc(100% + 18px);
  left: -16px;
  min-width: 240px;
  background: var(--paper);
  border-radius: var(--radius-card);
  padding: 8px;
  box-shadow: 0 12px 40px rgba(26, 26, 24, 0.1);
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s;
}
.dropdown a {
  display: block;
  padding: 10px 16px;
  border-radius: 10px;
  color: var(--ink);
  transition: background 0.2s ease, color 0.2s ease;
}
.dropdown a:hover { background: var(--sage); color: var(--olive); }
.has-dropdown:hover .dropdown,
.has-dropdown:focus-within .dropdown { opacity: 1; visibility: visible; transform: translateY(0); }
.has-dropdown::after { content: ""; position: absolute; left: 0; right: 0; top: 100%; height: 20px; }

.nav-right { display: flex; align-items: center; gap: 8px; }
.menu-toggle {
  display: none;
  width: 48px; height: 48px;
  border: 1px solid rgba(26, 26, 24, 0.2);
  border-radius: 50%;
  align-items: center;
  justify-content: center;
  color: var(--ink);
}
.mobile-panel {
  display: none;
  position: absolute;
  top: calc(100% + 8px);
  left: 0; right: 0;
  background: var(--paper);
  border-radius: 32px;
  padding: 20px;
  box-shadow: 0 16px 48px rgba(26, 26, 24, 0.12);
  flex-direction: column;
  gap: 4px;
  max-height: calc(100dvh - 108px);
  overflow-y: auto;
}
.mobile-link { padding: 12px 20px; font-size: 18px; color: var(--ink); border-radius: var(--radius-pill); }
.mobile-link:hover { background: var(--sage); }
.mobile-cta { margin-top: 8px; text-align: center; }
.nav-open .mobile-panel { display: flex; }
body.nav-locked { overflow: hidden; }

/* ---------- Hero (sticky under intro) ---------- */
.hero-sticky-wrap { position: relative; }
.hero {
  position: sticky;
  top: 0;
  height: 100vh;
  height: 100svh;
  display: flex;
  align-items: flex-end;
  overflow: clip;
  background: var(--ink);
}
.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(rgba(0, 0, 0, 0), rgba(26, 26, 24, 0.5));
}
.hero-inner {
  position: relative;
  width: 100%;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 48px;
  padding-bottom: 96px;
}
.hero-title {
  font-size: 64px;
  color: var(--paper);
  max-width: 704px;
}
.hero-right { max-width: 432px; display: flex; flex-direction: column; gap: 24px; }
.hero-text { color: var(--paper); }
.hero-buttons { display: flex; gap: 12px; flex-wrap: wrap; }

.video-toggle {
  position: absolute;
  right: 32px;
  bottom: 32px;
  width: 40px; height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(252, 252, 250, 0.8);
  transition: color 0.2s ease;
  z-index: 2;
}
.video-toggle:hover { color: var(--paper); }

/* ---------- Intro ---------- */
.intro {
  position: relative;
  background: var(--paper);
  padding: var(--section-pad) 0;
}
.intro-heading {
  font-size: 40px;
  max-width: 960px;
  margin: 24px auto 0;
  text-align: center;
  color: var(--ink);
}
.intro-images {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 16px;
  margin-top: 64px;
}
.parallax-frame {
  position: relative;
  overflow: clip;
  border-radius: var(--radius-card);
}
.intro-img-main, .intro-img-side { height: 453px; }
.parallax-img {
  position: absolute;
  left: 0;
  top: -15%;
  width: 100%;
  height: 130%;
  object-fit: cover;
  will-change: transform;
}
.intro-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  margin-top: 64px;
}
.intro-note { max-width: 576px; }

/* ---------- Partners ---------- */
.partners { padding: var(--section-pad) 0; border-top: 1px solid rgba(26, 26, 24, 0.08); border-bottom: 1px solid rgba(26, 26, 24, 0.08); }
.partner-marquee {
  position: relative;
  max-width: 1000px;
  margin: 64px auto 0;
  display: flex;
  overflow: clip;
}
.partner-track {
  display: flex;
  align-items: center;
  gap: 64px;
  padding-right: 64px;
  flex: none;
}
.partner-logo {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 26px;
  font-weight: 500;
  letter-spacing: -0.01em;
  color: #A9AAA4;
  white-space: nowrap;
}
.marquee-fade {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(90deg, var(--paper) 0%, rgba(252,252,250,0) 12%, rgba(252,252,250,0) 88%, var(--paper) 100%);
}

/* ---------- Why (sticky collapse cards) ---------- */
.why { background: var(--sage); padding-top: var(--section-pad); }
.why-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 48px;
}
.why-head .heading-xl { max-width: 704px; }
.why-scroll { height: 1800px; }
.why-sticky {
  position: sticky;
  top: calc(50vh - 195px);
  overflow-x: clip;
  padding: 64px 0;
}
.why-row { display: flex; width: max-content; }
.why-photo {
  flex: none;
  width: 447px;
  height: 390px;
  border-radius: var(--radius-card);
  overflow: clip;
  margin-right: 16px;
}
.why-photo img { width: 100%; height: 100%; object-fit: cover; }
.why-card {
  position: relative;
  flex: none;
  width: 438px;
  height: 390px;
  border-radius: var(--radius-card);
  overflow: clip;
  margin-right: 16px;
}
.why-card:last-child { margin-right: 0; }
.why-card-inner {
  position: absolute;
  top: 32px;
  bottom: 32px;
  right: 32px;
  width: 374px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.why-card h3 { font-size: 40px; margin-bottom: 16px; color: inherit; }
.why-card p { font-size: 16px; color: inherit; opacity: 0.92; max-width: 380px; }
.why-icon { flex: none; }
.why-card.is-deep { background: var(--deep); color: var(--paper); }
.why-card.is-olive { background: var(--olive); color: var(--paper); }
.why-card.is-stone { background: var(--stone); color: var(--ink); }
.why-card.is-paper { background: var(--paper); color: var(--ink); }

/* ---------- Services ---------- */
.services { padding: var(--section-pad) 0; }
.services-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 48px;
  margin-bottom: 64px;
}
.services-head .heading-xl { max-width: 700px; margin-top: 24px; }
.services-lede { max-width: 520px; padding-bottom: 8px; }

.service-row {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 16px;
  margin-bottom: 16px;
}
.service-row.reverse { grid-template-columns: 1fr 2fr; }
.service-image { height: 478px; }
.service-info {
  background: var(--sage);
  border-radius: var(--radius-card);
  padding: 32px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 32px;
}
.service-info h3 { font-size: 40px; margin-bottom: 16px; }
.service-info p { max-width: 380px; }
.service-info .btn { align-self: flex-start; }

/* ---------- Process (sticky stack) ---------- */
.process { background: var(--sage); padding: var(--section-pad) 0; }
.process-stack { margin-top: 64px; }
.process-card {
  position: sticky;
  top: 128px;
  height: 630px;
  border-radius: var(--radius-card);
  overflow: clip;
  margin-bottom: 32px;
  transform-origin: center top;
  background: var(--ink);
}
.process-card:last-child { margin-bottom: 0; }
.process-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.process-note {
  position: absolute;
  top: 32px;
  width: 340px;
  min-height: 385px;
  background: var(--paper);
  border-radius: var(--radius-card);
  padding: 32px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 48px;
}
.process-note.left { left: 32px; }
.process-note.right { right: 32px; }
.process-num { font-size: 64px; line-height: 1.1; color: var(--ink); }
.process-note h3 { font-size: 32px; margin-bottom: 16px; }

/* ---------- CTA ---------- */
.cta {
  position: relative;
  min-height: 900px;
  display: flex;
  align-items: center;
  overflow: clip;
}
.cta-bg { position: absolute; inset: 0; border-radius: 0; }
.cta-overlay { position: absolute; inset: 0; background: rgba(26, 26, 24, 0.5); }
.cta-inner { position: relative; width: 100%; text-align: center; }
.cta-inner .heading-xl { max-width: 700px; margin: 24px auto 0; }
.cta-buttons {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-top: 48px;
  flex-wrap: wrap;
}

/* ---------- Testimonials ---------- */
.testimonials { padding: var(--section-pad) 0; overflow: clip; }
.testi-marquee {
  display: flex;
  margin-top: 64px;
  overflow: clip;
}
.testi-track {
  display: flex;
  gap: 16px;
  padding-right: 16px;
  flex: none;
}
.testi-card {
  width: 443px;
  min-height: 338px;
  flex: none;
  background: var(--sage);
  border-radius: var(--radius-card);
  padding: 32px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 32px;
}
.testi-quote { color: var(--body); }
.testi-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.testi-name { font-size: 24px; color: var(--ink); }
.testi-role { margin-top: 4px; color: rgba(64, 65, 62, 0.7); }
.testi-avatar { width: 64px; height: 64px; border-radius: 50%; object-fit: cover; flex: none; }

/* ---------- Newsletter ---------- */
.newsletter { padding: 16px; }
.newsletter-banner {
  position: relative;
  border-radius: var(--radius-card);
  overflow: clip;
  min-height: 401px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.newsletter-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.newsletter-overlay { position: absolute; inset: 0; background: rgba(26, 26, 24, 0.5); }
.newsletter-content { position: relative; text-align: center; padding: 64px 24px; }
.newsletter-title { font-size: 48px; color: var(--paper); }
.newsletter-form {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-top: 40px;
  flex-wrap: wrap;
}
.newsletter-input {
  width: 200px;
  padding: 12px 24px;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(252, 252, 250, 0.4);
  background: rgba(252, 252, 250, 0.15);
  color: var(--paper);
  font: inherit;
  outline: none;
  transition: border-color 0.25s ease;
}
.newsletter-input::placeholder { color: rgba(252, 252, 250, 0.7); }
.newsletter-input:focus { border-color: var(--lime); }

/* ---------- Footer ---------- */
.footer { padding: var(--section-pad) 0 32px; }
.footer-grid {
  display: flex;
  justify-content: space-between;
  gap: 64px;
}
.footer-about { max-width: 640px; }
.footer-text { max-width: 600px; }
.footer-contact {
  display: grid;
  gap: 8px;
  margin-top: 40px;
}
.footer-contact a { transition: color 0.2s ease; }
.footer-contact a:hover { color: var(--olive); }
.footer-socials { display: flex; gap: 12px; margin-top: 40px; }
.social-circle {
  width: 48px; height: 48px;
  border: 1px solid rgba(26, 26, 24, 0.15);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--ink);
  transition: background 0.25s ease, color 0.25s ease, border-color 0.25s ease;
}
.social-circle:hover { background: var(--ink); color: var(--paper); border-color: var(--ink); }

.footer-links { display: flex; gap: 64px; }
.footer-col { display: flex; flex-direction: column; gap: 12px; }
.footer-col-title { font-size: 24px; color: var(--ink); margin-bottom: 12px; }
.footer-col a { color: var(--body); transition: color 0.2s ease; }
.footer-col a:hover { color: var(--olive); }

.footer-logo-marquee {
  position: relative;
  display: flex;
  overflow: clip;
  margin-top: 112px;
}
.footer-logo-track {
  display: flex;
  align-items: center;
  gap: 48px;
  padding-right: 48px;
  flex: none;
}
.footer-wordmark {
  font-size: 112px;
  font-weight: 500;
  letter-spacing: -0.03em;
  line-height: 1.1;
  color: var(--deep);
  white-space: nowrap;
}
.footer-wordmark em { font-style: italic; font-weight: 400; color: var(--olive); }
.footer-star { font-size: 56px; color: var(--olive); line-height: 1; }
.footer-logo-fade {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(90deg, var(--paper) 0%, rgba(252,252,250,0) 10%, rgba(252,252,250,0) 90%, var(--paper) 100%);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  margin-top: 64px;
  color: var(--body);
}

/* ---------- SplitText helpers ---------- */
.gsap-letter { display: inline-block; position: relative; }

/* ---------- Reveal default (JS animates) ---------- */
[data-reveal] { will-change: transform, opacity; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 991px) {
  :root { --section-pad: 96px; --container-pad: 24px; }
  .nav-menu, .nav-cta { display: none; }
  .nav-divider { display: none; }
  .menu-toggle { display: flex; }
  .mobile-panel {
    display: flex;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    pointer-events: none;
    transition: opacity 0.32s var(--ease-roll), transform 0.32s var(--ease-roll), visibility 0.32s;
  }
  .nav-open .mobile-panel {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    pointer-events: auto;
  }
  .heading-xl { font-size: 44px; }
  .hero-title { font-size: 52px; }
  .hero-inner { flex-direction: column; align-items: flex-start; gap: 32px; padding-bottom: 72px; }
  .why-head { flex-direction: column; gap: 24px; }
  .services-head { flex-direction: column; align-items: flex-start; gap: 24px; }
  .service-row, .service-row.reverse { grid-template-columns: 1fr; }
  .service-row.reverse .service-info { order: 2; }
  .service-row.reverse .service-image { order: 1; }
  .service-image { height: 420px; }
  .footer-grid { flex-direction: column; }
  .footer-wordmark { font-size: 80px; }
  .cta { min-height: 720px; }
}

@media (max-width: 767px) {
  .heading-xl { font-size: 36px; }
  .hero-title { font-size: 40px; }
  .hero-buttons { width: 100%; }
  .hero-buttons .btn { flex: 1; text-align: center; }
  .hero-buttons .btn .btn-label { justify-content: center; }
  .intro-heading { font-size: 28px; }
  .intro-images { grid-template-columns: 1fr; }
  .intro-img-main { height: 320px; }
  .intro-img-side { height: 320px; }
  .intro-bottom { flex-direction: column; align-items: flex-start; }

  /* why: stacked static cards on mobile */
  .why-scroll { height: auto; }
  .why-sticky { position: static; padding: 48px 0 96px; overflow: visible; }
  .why-row { flex-direction: column; width: 100%; }
  .why-photo, .why-card { width: 100%; margin-right: 0; margin-bottom: 16px; }
  .why-photo { height: 320px; }
  .why-card { height: auto; min-height: 320px; }
  .why-card-inner { position: static; width: 100%; height: 100%; min-height: 256px; }
  .why-card { padding: 32px; }

  .service-info h3, .why-card h3 { font-size: 30px; }
  .process-card { height: 560px; top: 96px; }
  .process-note { width: calc(100% - 32px); min-height: 0; top: 16px; gap: 32px; }
  .process-note.left { left: 16px; }
  .process-note.right { right: 16px; left: 16px; }
  .process-num { font-size: 48px; }
  .process-note h3 { font-size: 26px; }
  .cta { min-height: 620px; }
  .testi-card { width: 320px; }
  .newsletter-title { font-size: 32px; }
  .newsletter-form { flex-direction: column; align-items: stretch; }
  .newsletter-input { width: 100%; }
  .footer-links { flex-wrap: wrap; gap: 40px; }
  .footer-wordmark { font-size: 52px; }
  .footer-star { font-size: 28px; }
  .footer-bottom { flex-direction: column; gap: 8px; margin-top: 48px; }
}

@media (max-width: 479px) {
  .hero-title { font-size: 34px; }
  .heading-xl { font-size: 30px; }
  .testi-card { width: 290px; }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}
