/* ============================================================
   HARVAST — styles.css
   Design system: black / #006600 / white
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Work+Sans:wght@400;500;700;800&family=DM+Sans:wght@400;500&display=swap');

/* ── Reset & base ─────────────────────────────────────────── */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  background-color: #000000;
  color: #ffffff;
  font-family: 'DM Sans', sans-serif;
  font-weight: 400;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Work Sans', sans-serif;
  font-weight: 700;
  line-height: 1.2;
}

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

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

ul { list-style: none; }

/* ── Typography helpers ───────────────────────────────────── */
.section-label {
  display: inline-block;
  font-family: 'Work Sans', sans-serif;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #006600;
  margin-bottom: 1rem;
}

.green-accent-line {
  display: block;
  width: 60px;
  height: 3px;
  background: #006600;
  margin: 1.25rem 0 2rem;
}

.muted { color: #888888; }

/* ── Sections ─────────────────────────────────────────────── */
section {
  position: relative;
}

.section-divider {
  width: 100%;
  height: 1px;
  background: #006600;
  opacity: 0.5;
}

.container {
  width: 100%;
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 24px;
}

.section-pad {
  padding: 100px 0;
}

.section-pad-sm {
  padding: 64px 0;
}

/* ── Tagline strip ────────────────────────────────────────── */
.tagline-strip {
  width: 100%;
  padding: 3rem 2rem;
  background: #000000;
  border-top: 1px solid #006600;
  border-bottom: 1px solid #006600;
  text-align: center;
}

.tagline-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.tagline-phase {
  font-family: 'Work Sans', sans-serif;
  font-weight: 800;
  font-size: clamp(2rem, 5vw, 3.5rem);
  color: #ffffff;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.tagline-accent {
  color: #006600;
}

.tagline-divider {
  font-size: clamp(1.5rem, 3vw, 2.5rem);
  color: #333333;
  font-weight: 300;
}

@media (max-width: 480px) {
  .tagline-inner {
    flex-direction: column;
    gap: 0.75rem;
  }
  .tagline-divider {
    display: none;
  }
}

/* ── Wordmark ─────────────────────────────────────────────── */
.wordmark {
  display: inline-flex;
  align-items: center;
}

/* ── Navigation ───────────────────────────────────────────── */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: #000000;
  border-bottom: 1px solid #222222;
  transition: background 0.3s ease, backdrop-filter 0.3s ease;
}

.nav.scrolled {
  background: rgba(0, 0, 0, 0.88);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 24px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2.25rem;
}

.nav-links a {
  font-family: 'Work Sans', sans-serif;
  font-weight: 500;
  font-size: 0.88rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #ffffff;
  position: relative;
  padding-bottom: 2px;
  transition: color 0.2s;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: #006600;
  transition: width 0.25s ease;
}

.nav-links a:hover { color: #ffffff; }
.nav-links a:hover::after { width: 100%; }

.nav-links a.active::after { width: 100%; }

/* hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
  background: none;
  border: none;
}

.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: #ffffff;
  transition: transform 0.3s, opacity 0.3s;
}

.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* mobile menu */
.mobile-menu {
  display: none;
  flex-direction: column;
  background: #000000;
  border-top: 1px solid #222222;
  padding: 1.5rem 24px 2rem;
  gap: 0;
}

.mobile-menu.open { display: flex; }

.mobile-menu a {
  font-family: 'Work Sans', sans-serif;
  font-weight: 600;
  font-size: 1.1rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #ffffff;
  padding: 0.9rem 0;
  border-bottom: 1px solid #1a1a1a;
  transition: color 0.2s;
}

.mobile-menu a:last-child { border-bottom: none; }
.mobile-menu a.active { color: #006600; }
.mobile-menu a:hover { color: #006600; }

/* ── Buttons ──────────────────────────────────────────────── */
.btn {
  display: inline-block;
  font-family: 'Work Sans', sans-serif;
  font-weight: 700;
  font-size: 0.88rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 14px 32px;
  background: #006600;
  color: #ffffff;
  border: none;
  border-radius: 0;
  cursor: pointer;
  transition: background 0.2s ease, box-shadow 0.2s ease;
  white-space: nowrap;
}

.btn:hover {
  background: #008800;
  box-shadow: 0 0 18px rgba(0, 102, 0, 0.45);
}

.btn-full { width: 100%; text-align: center; display: block; }

/* ── Page offset (below fixed nav) ───────────────────────── */
.page-top { padding-top: 68px; }

/* ── Animated background (hero) ──────────────────────────── */
.hero-bg {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  z-index: 0;
}

.hero-bg canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

/* ── HERO — index ─────────────────────────────────────────── */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 760px;
}

.hero h1 {
  font-family: 'Work Sans', sans-serif;
  font-weight: 800;
  font-size: clamp(2.4rem, 6vw, 4.2rem);
  text-transform: uppercase;
  letter-spacing: -0.01em;
  line-height: 1.08;
  margin-bottom: 1.5rem;
}

.hero-sub {
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: #cccccc;
  max-width: 580px;
  margin-bottom: 2.5rem;
}

/* ── Page hero (about / contact) ─────────────────────────── */
.page-hero {
  position: relative;
  display: flex;
  align-items: flex-end;
  padding-bottom: 4rem;
}

.page-hero-sm { min-height: 40vh; }
.page-hero-md { min-height: 50vh; }

.page-hero-content {
  position: relative;
  z-index: 1;
  max-width: 800px;
}

.page-hero h1 {
  font-family: 'Work Sans', sans-serif;
  font-weight: 800;
  font-size: clamp(2rem, 5vw, 3.4rem);
  text-transform: uppercase;
  letter-spacing: -0.01em;
  line-height: 1.1;
}

.page-hero-sub {
  font-size: 1.05rem;
  color: #aaaaaa;
  max-width: 600px;
  margin-top: 1.25rem;
}

/* ── Section headings ─────────────────────────────────────── */
.section-heading {
  font-family: 'Work Sans', sans-serif;
  font-weight: 800;
  font-size: clamp(1.7rem, 4vw, 2.6rem);
  text-transform: uppercase;
  letter-spacing: -0.01em;
  line-height: 1.1;
  margin-bottom: 1rem;
}

/* ── What We Do section ───────────────────────────────────── */
.what-we-do-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.what-we-do-text p {
  color: #cccccc;
  font-size: 1.05rem;
  max-width: 520px;
}

.what-we-do-visual {
  display: flex;
  align-items: center;
  justify-content: center;
}

.geo-block {
  width: 100%;
  max-width: 360px;
  aspect-ratio: 1;
  position: relative;
}

.geo-block .geo-outer {
  position: absolute;
  inset: 0;
  border: 1px solid #222222;
}

.geo-block .geo-inner {
  position: absolute;
  inset: 32px;
  border: 1px solid #006600;
  opacity: 0.6;
}

.geo-block .geo-center {
  position: absolute;
  inset: 64px;
  background: #0a1a0a;
  border: 1px solid #006600;
  opacity: 0.4;
}

.geo-block .geo-accent {
  position: absolute;
  top: 32px;
  left: -1px;
  width: 4px;
  height: 60px;
  background: #006600;
}

/* ── Features grid ────────────────────────────────────────── */
.features-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2px;
  margin-top: 3rem;
}

.feature-item {
  background: #111111;
  border: 1px solid #222222;
  padding: 2rem 1.75rem;
  transition: border-color 0.2s;
}

.feature-item:hover {
  border-color: #006600;
  box-shadow: 0 0 12px rgba(0, 102, 0, 0.15);
}

.feature-icon {
  font-size: 1.4rem;
  margin-bottom: 0.75rem;
  color: #006600;
  display: flex;
  align-items: center;
}

.feature-icon svg {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: #006600;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.feature-title {
  font-family: 'Work Sans', sans-serif;
  font-weight: 700;
  font-size: 1rem;
  margin-bottom: 0.35rem;
  color: #ffffff;
}

.feature-desc {
  font-size: 0.9rem;
  color: #888888;
  line-height: 1.6;
}

/* ── Why cards ────────────────────────────────────────────── */
.cards-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 3rem;
}

.card {
  background: #111111;
  border: 1px solid #222222;
  border-top: 3px solid #006600;
  padding: 2rem 1.75rem;
  transition: box-shadow 0.2s, border-color 0.2s;
}

.card:hover {
  box-shadow: 0 0 18px rgba(0, 102, 0, 0.2);
}

.card-icon {
  margin-bottom: 1rem;
  color: #006600;
}

.card-icon svg {
  width: 28px;
  height: 28px;
  fill: none;
  stroke: #006600;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.card-title {
  font-family: 'Work Sans', sans-serif;
  font-weight: 700;
  font-size: 1.05rem;
  margin-bottom: 0.6rem;
  color: #ffffff;
}

.card-body {
  font-size: 0.92rem;
  color: #888888;
  line-height: 1.7;
}

/* ── CTA banner ───────────────────────────────────────────── */
.cta-banner {
  background: #0a1a0a;
  border-top: 1px solid #006600;
  border-bottom: 1px solid #006600;
  text-align: center;
}

.cta-banner h2 {
  font-family: 'Work Sans', sans-serif;
  font-weight: 800;
  font-size: clamp(1.7rem, 4vw, 2.6rem);
  text-transform: uppercase;
  margin-bottom: 1rem;
}

.cta-banner p {
  color: #aaaaaa;
  font-size: 1.05rem;
  max-width: 560px;
  margin: 0 auto 2.25rem;
}

/* ── About — Story ────────────────────────────────────────── */
.story-grid {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 5rem;
  align-items: start;
}

.story-quote {
  font-family: 'Work Sans', sans-serif;
  font-weight: 700;
  font-size: clamp(1.3rem, 2.5vw, 1.75rem);
  font-style: italic;
  color: #006600;
  line-height: 1.4;
  border-left: 3px solid #006600;
  padding-left: 1.5rem;
  position: sticky;
  top: 100px;
}

.story-body p {
  font-size: 1.05rem;
  color: #cccccc;
  margin-bottom: 1.25rem;
}

/* ── Vision / Mission panels ──────────────────────────────── */
.panels-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin-top: 3rem;
}

.panel {
  background: #111111;
  border: 1px solid #222222;
  border-top: 3px solid #006600;
  padding: 2.25rem 2rem;
}

.panel-label {
  font-family: 'Work Sans', sans-serif;
  font-weight: 800;
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #006600;
  margin-bottom: 0.75rem;
}

.panel h3 {
  font-family: 'Work Sans', sans-serif;
  font-weight: 700;
  font-size: 1.25rem;
  margin-bottom: 0.9rem;
}

.panel p {
  font-size: 0.95rem;
  color: #aaaaaa;
  line-height: 1.75;
}

/* ── Values grid ──────────────────────────────────────────── */
.values-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  margin-top: 3rem;
}

/* ── Contact layout ───────────────────────────────────────── */
.contact-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 5rem;
  align-items: start;
}

/* ── Form ─────────────────────────────────────────────────── */
.form-group {
  margin-bottom: 1.25rem;
}

.form-group label {
  display: block;
  font-family: 'Work Sans', sans-serif;
  font-weight: 600;
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #888888;
  margin-bottom: 0.5rem;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  background: #111111;
  border: 1px solid #222222;
  color: #ffffff;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.97rem;
  padding: 0.85rem 1rem;
  border-radius: 0;
  outline: none;
  appearance: none;
  -webkit-appearance: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.form-group textarea {
  resize: vertical;
  min-height: 110px;
}

.form-group select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23888' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 2.5rem;
  cursor: pointer;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: #555555;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: #006600;
  box-shadow: 0 0 0 2px rgba(0, 102, 0, 0.2);
}

.form-group select option {
  background: #111111;
  color: #ffffff;
}

.form-error {
  display: none;
  font-size: 0.8rem;
  color: #cc4444;
  margin-top: 0.35rem;
}

.form-group.has-error input,
.form-group.has-error textarea,
.form-group.has-error select {
  border-color: #cc4444;
}

.form-group.has-error .form-error { display: block; }

.form-success {
  display: none;
  background: #0a1a0a;
  border: 1px solid #006600;
  padding: 1.5rem;
  text-align: center;
  margin-top: 1.5rem;
}

.form-success p {
  color: #006600;
  font-family: 'Work Sans', sans-serif;
  font-weight: 700;
  font-size: 1rem;
}

.form-success span {
  color: #888888;
  font-size: 0.9rem;
  font-family: 'DM Sans', sans-serif;
}

/* ── Contact sidebar ──────────────────────────────────────── */
.contact-sidebar h3 {
  font-family: 'Work Sans', sans-serif;
  font-weight: 700;
  font-size: 1.1rem;
  margin-bottom: 1.5rem;
}

.sidebar-item {
  margin-bottom: 1.5rem;
}


.social-links {
  display: flex;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}

.social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border: 1px solid #222222;
  color: #888888;
  transition: border-color 0.2s, color 0.2s, box-shadow 0.2s;
}

.social-link:hover {
  border-color: #006600;
  color: #006600;
  box-shadow: 0 0 12px rgba(0, 102, 0, 0.3);
}

.social-link svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.sidebar-note {
  font-size: 0.9rem;
  color: #666666;
  line-height: 1.65;
}

.sidebar-note strong {
  display: block;
  color: #aaaaaa;
  font-weight: 500;
  margin-bottom: 0.25rem;
}

/* ── Process strip ────────────────────────────────────────── */
.process-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  margin-top: 3rem;
  border: 1px solid #222222;
}

.process-step {
  padding: 2rem 1.75rem;
  border-right: 1px solid #222222;
  position: relative;
}

.process-step:last-child { border-right: none; }

.process-num {
  font-family: 'Work Sans', sans-serif;
  font-weight: 800;
  font-size: 2rem;
  color: #006600;
  line-height: 1;
  margin-bottom: 0.75rem;
}

.process-title {
  font-family: 'Work Sans', sans-serif;
  font-weight: 700;
  font-size: 0.97rem;
  margin-bottom: 0.5rem;
  color: #ffffff;
}

.process-desc {
  font-size: 0.88rem;
  color: #666666;
  line-height: 1.65;
}

/* ── Footer ───────────────────────────────────────────────── */
.footer {
  background: #111111;
  border-top: 1px solid #006600;
}

.footer-main {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 3rem;
  padding: 4rem 0 3rem;
}

.footer-brand .wordmark {
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
  display: inline-block;
}

.footer-tagline {
  font-size: 0.88rem;
  color: #666666;
  max-width: 240px;
  line-height: 1.6;
}

.footer-col-title {
  font-family: 'Work Sans', sans-serif;
  font-weight: 700;
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #006600;
  margin-bottom: 1.1rem;
}

.footer-links li { margin-bottom: 0.6rem; }

.footer-links a {
  font-size: 0.9rem;
  color: #666666;
  transition: color 0.2s;
}

.footer-links a:hover { color: #ffffff; }

.footer-social {
  display: flex;
  gap: 0.75rem;
}

.footer-bottom {
  border-top: 1px solid #1a1a1a;
  padding: 1.25rem 0;
  text-align: center;
}

.footer-bottom p {
  font-size: 0.82rem;
  color: #444444;
}

/* ── Fade-in animations ───────────────────────────────────── */
.fade-in {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

.fade-in-delay-1 { transition-delay: 0.1s; }
.fade-in-delay-2 { transition-delay: 0.2s; }
.fade-in-delay-3 { transition-delay: 0.3s; }
.fade-in-delay-4 { transition-delay: 0.4s; }

/* ── Responsive ───────────────────────────────────────────── */

@media (max-width: 900px) {
  .nav-links { display: none; }
  .hamburger { display: flex; }

  .what-we-do-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .what-we-do-visual { display: none; }

  .features-grid { grid-template-columns: 1fr; }

  .cards-row { grid-template-columns: 1fr; }

  .story-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .story-quote {
    position: static;
    font-size: 1.25rem;
  }

  .panels-row { grid-template-columns: 1fr; }

  .values-grid { grid-template-columns: 1fr; }

  .contact-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .process-strip { grid-template-columns: 1fr 1fr; }

  .process-step:nth-child(2) { border-right: none; }
  .process-step:nth-child(3) { border-right: 1px solid #222222; }
  .process-step:nth-child(1),
  .process-step:nth-child(2) { border-bottom: 1px solid #222222; }

  .footer-main { grid-template-columns: 1fr 1fr; gap: 2rem; }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 600px) {
  .section-pad { padding: 72px 0; }

  .hero h1 { font-size: 2.15rem; }

  .features-grid { grid-template-columns: 1fr; }

  .process-strip { grid-template-columns: 1fr; }

  .process-step {
    border-right: none !important;
    border-bottom: 1px solid #222222;
  }

  .process-step:last-child { border-bottom: none; }

  .footer-main { grid-template-columns: 1fr; }

  .footer-social { margin-top: 0.5rem; }

  .panels-row { grid-template-columns: 1fr; }

  .values-grid { grid-template-columns: 1fr; }
}
