/* =========================================================
   AbHutch — main stylesheet
   Theme: DARK near-black #101410 with FOREST GREEN #166534
   ========================================================= */

:root {
  --bg: #101410;
  --bg-soft: #142019;
  --bg-elevated: #1B291F;
  --bg-deep: #0C130E;
  --ink: #E9F0EA;
  --muted: #A9C4B2;
  --accent: #166534;
  --accent-strong: #15803D;
  --accent-bright: #4ADE80;
  --accent-soft: #BBF7D0;
  --accent-deep: #071A0E;
  --rule: #22352A;
  --rule-soft: #1B291F;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.7;
  background-color: #101410;
  color: #E9F0EA;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

a {
  color: #4ADE80;
  text-decoration: none;
}

a:hover {
  color: #BBF7D0;
}

h1, h2, h3, h4 {
  line-height: 1.2;
  color: #E9F0EA;
  margin: 0 0 0.5em;
}

p {
  margin: 0 0 1em;
}

.container {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
}

.eyebrow {
  font-size: 0.8rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-weight: 700;
  color: #4ADE80;
  margin: 0 0 0.9rem;
}

.section-head {
  max-width: 720px;
  margin-bottom: 3rem;
}

.section-head h2 {
  font-size: clamp(1.8rem, 3.4vw, 2.6rem);
}

.section-lede {
  color: #A9C4B2;
  font-size: 1.05rem;
  max-width: 640px;
}

/* ---------- Reveal animation (safe without JS) ---------- */
.fade-up {
  opacity: 1;
  transform: none;
  transition: opacity 0.7s ease, transform 0.7s ease;
}

html.js .fade-up {
  opacity: 0;
  transform: translateY(26px);
}

html.js .fade-up.visible {
  opacity: 1;
  transform: none;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.9rem 1.6rem;
  border-radius: 8px;
  font-weight: 700;
  font-size: 1rem;
  line-height: 1;
  border: 2px solid transparent;
  cursor: pointer;
  transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  background-color: #166534;
  color: #FFFFFF;
  border-color: #166534;
}

.btn-primary:hover {
  background-color: #15803D;
  border-color: #15803D;
  color: #FFFFFF;
}

.btn-ghost {
  background-color: transparent;
  color: #BBF7D0;
  border-color: #15803D;
}

.btn-ghost:hover {
  background-color: #15803D;
  color: #071A0E;
  border-color: #15803D;
}

.btn-light {
  background-color: #BBF7D0;
  color: #071A0E;
  border-color: #BBF7D0;
}

.btn-light:hover {
  background-color: #E9F0EA;
  color: #071A0E;
  border-color: #E9F0EA;
}

.btn-outline-light {
  background-color: transparent;
  color: #E9F0EA;
  border-color: #E9F0EA;
}

.btn-outline-light:hover {
  background-color: #E9F0EA;
  color: #071A0E;
}

/* ---------- Leaf Navigation ---------- */
.leaf-nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background-color: #0C130E;
  border-bottom: 1px solid #22352A;
}

.nav-inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
  height: 74px;
  display: flex;
  align-items: center;
  gap: 2rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  flex: none;
}

.wordmark {
  font-size: 1.3rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  color: #E9F0EA;
}

/* Leaf mark (CSS drawn) */
.leaf-mark {
  position: relative;
  width: 22px;
  height: 27px;
  display: inline-block;
  flex: none;
}

.leaf-blade {
  position: absolute;
  left: 1px;
  top: 0;
  width: 18px;
  height: 24px;
  background: linear-gradient(140deg, #15803D, #166534);
  border-radius: 100% 0 100% 0;
  transform: rotate(-25deg);
}

.leaf-vein {
  position: absolute;
  left: 10px;
  top: 2px;
  width: 2px;
  height: 20px;
  background: #BBF7D0;
  border-radius: 1px;
  transform: rotate(-25deg);
  transform-origin: top center;
}

.leaf-stem {
  position: absolute;
  left: 9px;
  bottom: -5px;
  width: 2px;
  height: 9px;
  background: #15803D;
  border-radius: 1px;
}

.nav-links {
  display: flex;
  gap: 1.8rem;
  margin-left: auto;
}

.nav-links a {
  color: #A9C4B2;
  font-weight: 600;
  font-size: 0.98rem;
  padding: 0.4rem 0;
  transition: color 0.2s ease;
}

.nav-links a:hover {
  color: #BBF7D0;
}

.nav-cta {
  flex: none;
  background-color: #166534;
  color: #FFFFFF;
  font-weight: 700;
  padding: 0.65rem 1.3rem;
  border-radius: 8px;
  transition: background-color 0.2s ease, transform 0.2s ease;
}

.nav-cta:hover {
  background-color: #15803D;
  color: #FFFFFF;
  transform: translateY(-1px);
}

.nav-toggle {
  display: none;
  flex: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 42px;
  height: 42px;
  background: transparent;
  border: 2px solid #22352A;
  border-radius: 8px;
  cursor: pointer;
  margin-left: auto;
}

.nav-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  background: #E9F0EA;
  border-radius: 2px;
  transition: transform 0.25s ease, opacity 0.25s ease;
}

/* ---------- Grain Wave Hero ---------- */
.wave-hero {
  position: relative;
  overflow: hidden;
  background: linear-gradient(180deg, #101410 0%, #0C130E 100%);
  padding: 96px 0 90px;
}

.hero-inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 48px;
  align-items: center;
}

.hero-copy h1 {
  font-size: clamp(2.2rem, 4.6vw, 3.4rem);
  font-weight: 800;
  letter-spacing: -0.01em;
  margin-bottom: 0.5em;
}

.hero-sub {
  font-size: 1.12rem;
  color: #A9C4B2;
  max-width: 540px;
  margin-bottom: 1.9rem;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.wave-visual {
  position: relative;
  height: 420px;
  overflow: hidden;
}

.sun-disc {
  position: absolute;
  right: 16%;
  bottom: 36%;
  width: 68px;
  height: 68px;
  border-radius: 50%;
  background: #4ADE80;
  box-shadow: 0 0 60px 14px #166534, 0 0 120px 30px #0E2B17;
}

.seed-dot {
  position: absolute;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #BBF7D0;
  box-shadow: 0 0 12px 3px #15803D;
}

.sd1 { right: 20%; top: 9%; }
.sd2 { right: 44%; top: 21%; }
.sd3 { right: 9%; top: 34%; }

.wave {
  position: absolute;
  bottom: 0;
  left: -10%;
  width: 120%;
  border-radius: 50% 50% 0 0;
}

.wave-4 {
  height: 130px;
  background: #071A0E;
  bottom: 0;
}

.wave-3 {
  height: 118px;
  background: #0E2B17;
  bottom: 22px;
  transform: translateX(5%);
}

.wave-2 {
  height: 104px;
  background: #166534;
  bottom: 48px;
  transform: translateX(-4%);
}

.wave-1 {
  height: 88px;
  background: #15803D;
  bottom: 76px;
  transform: translateX(2%);
}

/* ---------- About ---------- */
.about-section {
  padding: 96px 0;
  background-color: #101410;
}

.about-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 3rem;
  align-items: start;
}

.about-label h2 {
  font-size: clamp(1.7rem, 3vw, 2.3rem);
}

.about-copy p {
  color: #C3D5C8;
  font-size: 1.06rem;
}

/* ---------- Statement row ---------- */
.statement-row {
  background: linear-gradient(180deg, #0C130E 0%, #071A0E 100%);
  padding: 84px 0;
  border-top: 1px solid #22352A;
  border-bottom: 1px solid #22352A;
}

.statement {
  font-size: clamp(1.6rem, 3.6vw, 2.8rem);
  font-weight: 800;
  line-height: 1.25;
  color: #E9F0EA;
  text-align: center;
  max-width: 900px;
  margin: 0 auto;
}

.statement::before,
.statement::after {
  content: "";
  display: block;
  width: 64px;
  height: 4px;
  background: #166534;
  border-radius: 2px;
  margin: 1.5rem auto;
}

.statement::before {
  margin-bottom: 1.2rem;
}

.statement::after {
  margin-top: 1.2rem;
}

/* ---------- Stats ---------- */
.stats-section {
  padding: 90px 0;
  background-color: #142019;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.stat {
  text-align: center;
  padding: 2.4rem 1.5rem;
  background-color: #101410;
  border: 1px solid #22352A;
  border-radius: 14px;
}

.stat-num {
  display: block;
  font-size: clamp(2.6rem, 5vw, 3.6rem);
  font-weight: 800;
  color: #4ADE80;
  line-height: 1;
  margin-bottom: 0.4rem;
}

.stat-label {
  display: block;
  font-size: 1.05rem;
  font-weight: 700;
  color: #E9F0EA;
  margin-bottom: 0.5rem;
}

.stat-note {
  color: #A9C4B2;
  font-size: 0.95rem;
  margin: 0;
}

/* ---------- Process ---------- */
.process-section {
  padding: 96px 0;
  background-color: #101410;
}

.process-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1.6rem;
  position: relative;
}

.process-list::before {
  content: "";
  position: absolute;
  top: 28px;
  left: 9%;
  right: 9%;
  height: 2px;
  background: #22352A;
}

.process-step {
  position: relative;
}

.step-num {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #142019;
  border: 2px solid #166534;
  color: #BBF7D0;
  font-weight: 800;
  font-size: 0.95rem;
  margin-bottom: 1.1rem;
}

.step-body h3 {
  font-size: 1.1rem;
  color: #E9F0EA;
  margin-bottom: 0.4rem;
}

.step-body p {
  color: #A9C4B2;
  font-size: 0.95rem;
  margin: 0;
}

/* ---------- Compare table ---------- */
.compare-section {
  padding: 96px 0;
  background-color: #0C130E;
}

.compare-table {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.8rem;
}

.compare-col {
  background-color: #142019;
  border: 1px solid #22352A;
  border-radius: 14px;
  padding: 2.2rem;
}

.compare-col-b {
  border-color: #166534;
  background-color: #0E2B17;
}

.compare-head {
  padding-bottom: 1.4rem;
  border-bottom: 1px solid #22352A;
  margin-bottom: 1.4rem;
}

.compare-head h3 {
  font-size: 1.35rem;
  color: #E9F0EA;
  margin-bottom: 0.4rem;
}

.compare-head p {
  color: #A9C4B2;
  margin: 0;
}

.compare-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.compare-list li {
  position: relative;
  padding: 0.6rem 0 0.6rem 1.8rem;
  color: #C3D5C8;
  border-bottom: 1px solid #1B291F;
}

.compare-list li:last-child {
  border-bottom: none;
}

.compare-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 1rem;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #15803D;
  box-shadow: 0 0 0 3px #071A0E;
}

/* ---------- Services + tabs ---------- */
.services-section {
  padding: 96px 0;
  background-color: #101410;
}

.tabs {
  display: inline-flex;
  gap: 0.5rem;
  background-color: #142019;
  border: 1px solid #22352A;
  border-radius: 10px;
  padding: 0.4rem;
  margin-bottom: 2rem;
}

.tab {
  border: none;
  background: transparent;
  color: #A9C4B2;
  font-weight: 700;
  font-size: 0.95rem;
  padding: 0.6rem 1.3rem;
  border-radius: 7px;
  cursor: pointer;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.tab:hover {
  color: #BBF7D0;
}

.tab.is-active {
  background-color: #166534;
  color: #FFFFFF;
}

.tab-panels {
  max-width: 720px;
}

.tab-panel {
  display: none;
  padding: 1.8rem 2rem;
  background-color: #142019;
  border: 1px solid #22352A;
  border-radius: 12px;
}

.tab-panel.is-active {
  display: block;
}

.tab-panel h3 {
  font-size: 1.3rem;
  color: #E9F0EA;
}

.tab-panel p {
  color: #C3D5C8;
  margin: 0;
}

/* ---------- Capabilities (horizontal scroll) ---------- */
.capabilities-section {
  padding: 96px 0;
  background-color: #142019;
}

.scroll-row {
  display: flex;
  gap: 1.4rem;
  overflow-x: auto;
  padding: 0.5rem 24px 1.4rem;
  scroll-snap-type: x mandatory;
  scrollbar-width: thin;
  scrollbar-color: #15803D #071A0E;
}

.cap-card {
  flex: 0 0 300px;
  scroll-snap-align: start;
  background-color: #101410;
  border: 1px solid #22352A;
  border-radius: 14px;
  padding: 1.8rem;
}

.cap-tag {
  display: inline-block;
  font-size: 0.85rem;
  font-weight: 800;
  color: #4ADE80;
  margin-bottom: 1rem;
}

.cap-card h3 {
  font-size: 1.2rem;
  color: #E9F0EA;
  margin-bottom: 0.5rem;
}

.cap-card p {
  color: #A9C4B2;
  font-size: 0.97rem;
  margin: 0;
}

/* ---------- CTA band ---------- */
.cta-band {
  padding: 84px 0;
  background: linear-gradient(135deg, #166534 0%, #0E2B17 100%);
}

.cta-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 2rem;
  align-items: center;
}

.cta-copy h2 {
  font-size: clamp(1.6rem, 3vw, 2.3rem);
  color: #FFFFFF;
}

.cta-copy p {
  color: #BBF7D0;
  font-size: 1.05rem;
  margin: 0;
}

.cta-actions {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: flex-start;
}

/* ---------- Contact ---------- */
.contact-section {
  padding: 96px 0;
  background-color: #101410;
}

.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 3rem;
  align-items: start;
}

.contact-info h2 {
  font-size: clamp(1.7rem, 3vw, 2.3rem);
}

.contact-lede {
  color: #A9C4B2;
  font-size: 1.05rem;
}

.contact-list {
  list-style: none;
  margin: 1.5rem 0 0;
  padding: 0;
}

.contact-list li {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  padding: 0.9rem 0;
  border-bottom: 1px solid #1B291F;
}

.contact-key {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-weight: 700;
  color: #4ADE80;
}

.contact-list a,
.contact-list span {
  color: #E9F0EA;
  font-size: 1.05rem;
}

.contact-form {
  background-color: #142019;
  border: 1px solid #22352A;
  border-radius: 14px;
  padding: 2.2rem;
}

.field {
  margin-bottom: 1.2rem;
}

.field label {
  display: block;
  font-weight: 700;
  color: #E9F0EA;
  margin-bottom: 0.4rem;
  font-size: 0.95rem;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 0.75rem 0.9rem;
  background-color: #0C130E;
  border: 1px solid #22352A;
  border-radius: 8px;
  color: #E9F0EA;
  font-size: 1rem;
  font-family: inherit;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: #15803D;
  box-shadow: 0 0 0 3px #0E2B17;
}

.field textarea {
  resize: vertical;
}

.form-status {
  margin: 1rem 0 0;
  font-weight: 700;
  color: #BBF7D0;
  min-height: 1.2em;
}

/* ---------- Footer ---------- */
.site-footer {
  background-color: #0C130E;
  border-top: 2px solid #166534;
  padding-top: 3rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 2rem;
  padding-bottom: 2.5rem;
}

.footer-col h3 {
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: #4ADE80;
  margin-bottom: 1rem;
}

.footer-col ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

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

.footer-col a,
.footer-col span {
  color: #A9C4B2;
  font-size: 0.95rem;
}

.footer-col a:hover {
  color: #BBF7D0;
}

.footer-about p {
  color: #A9C4B2;
  font-size: 0.95rem;
  margin-top: 1rem;
}

.brand-footer .wordmark {
  color: #E9F0EA;
}

.footer-bottom {
  border-top: 1px solid #1B291F;
  padding: 1.4rem 0;
}

.footer-bottom-inner {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.footer-bottom-inner p {
  margin: 0;
  color: #A9C4B2;
  font-size: 0.88rem;
}

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .hero-inner {
    grid-template-columns: 1fr;
  }

  .wave-visual {
    height: 320px;
    order: 2;
  }

  .about-grid,
  .contact-grid,
  .cta-grid {
    grid-template-columns: 1fr;
  }

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

  .process-list {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .process-list::before {
    top: 0;
    bottom: 0;
    left: 28px;
    right: auto;
    width: 2px;
    height: auto;
  }

  .process-step {
    padding-left: 4.5rem;
  }

  .step-num {
    position: absolute;
    left: 0;
    top: 0;
  }

  .compare-table {
    grid-template-columns: 1fr;
  }

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

  .nav-links {
    position: absolute;
    top: 74px;
    left: 0;
    right: 0;
    flex-direction: column;
    gap: 0;
    background-color: #0C130E;
    border-bottom: 1px solid #22352A;
    padding: 0.5rem 24px 1rem;
    display: none;
  }

  .nav-links.open {
    display: flex;
  }

  .nav-links a {
    padding: 0.8rem 0;
    border-bottom: 1px solid #1B291F;
  }

  .nav-toggle {
    display: flex;
  }

  .nav-cta {
    display: none;
  }
}

@media (max-width: 560px) {
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .footer-bottom-inner {
    flex-direction: column;
  }
}
