:root {
  --forest-900: #1b2413;
  --forest-700: #3f5220;
  --forest-500: #6f8a28;
  --forest-400: #8eab3e;
  --forest-300: #b8ca75;
  --sand-100: #f5f6ef;
  --sand-200: #e7ebda;
  --charcoal-900: #1f2522;
  --charcoal-700: #36403a;
  --charcoal-600: #49524c;
  --charcoal-500: #5a645d;
  --white: #ffffff;
  --accent: #d9e9a8;
  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --shadow-soft: 0 15px 40px rgba(26, 36, 19, 0.14);
  --shadow-card: 0 10px 24px rgba(20, 28, 16, 0.12);
  --font-display: "Avenir Next", "Futura", "Century Gothic", sans-serif;
  --font-body: "Trebuchet MS", "Lucida Sans Unicode", "Segoe UI", sans-serif;
  --max-width: 1160px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  color: var(--charcoal-900);
  line-height: 1.6;
  background:
    radial-gradient(circle at 8% 0%, rgba(142, 171, 62, 0.26), transparent 30%),
    radial-gradient(circle at 92% 20%, rgba(111, 138, 40, 0.22), transparent 35%),
    linear-gradient(160deg, #f8faef 0%, #ecf1df 55%, #f7f8f1 100%);
  min-height: 100vh;
}

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

a {
  color: inherit;
}

.container {
  width: min(100% - 2.2rem, var(--max-width));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  backdrop-filter: blur(10px);
  background: #ffffff;
  border-bottom: 1px solid rgba(63, 82, 32, 0.15);
}

.nav-wrap {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.4rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  text-decoration: none;
  color: var(--charcoal-900);
}

.brand img {
  width: 164px;
  height: auto;
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid rgba(63, 82, 32, 0.25);
  background: var(--white);
  color: var(--charcoal-900);
  font-size: 1.1rem;
  cursor: pointer;
}

.site-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.3rem;
}

.site-nav a {
  text-decoration: none;
  font-family: var(--font-display);
  font-size: 0.88rem;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  padding: 0.54rem 0.78rem;
  border-radius: 999px;
  color: var(--charcoal-700);
  transition: all 0.24s ease;
}

.site-nav a:hover,
.site-nav a.active {
  color: var(--white);
  background: var(--forest-700);
}

body.nav-open {
  overflow: hidden;
}

body.nav-open::before {
  content: "";
  position: fixed;
  inset: 76px 0 0 0;
  background: rgba(28, 35, 22, 0.24);
  backdrop-filter: blur(2px);
  z-index: 35;
}

.page-hero {
  padding: 5.3rem 0 2.8rem;
}

.page-hero h1,
.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 3.9vw, 3.6rem);
  line-height: 1.08;
  letter-spacing: -0.02em;
  color: var(--charcoal-900);
}

.page-hero p,
.hero p {
  margin-top: 1rem;
  max-width: none;
  font-size: 1.05rem;
  color: var(--charcoal-700);
}

.hero {
  padding: 5.8rem 0 4.6rem;
}

.hero-grid {
  display: grid;
  gap: 2.2rem;
  align-items: center;
  grid-template-columns: 1.2fr 1fr;
}

.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.38rem 0.84rem;
  border-radius: 999px;
  background: rgba(111, 138, 40, 0.16);
  color: var(--forest-900);
  font-family: var(--font-display);
  font-size: 0.74rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 700;
}

.hero-copy p {
  margin-top: 1.2rem;
}

.button-row {
  margin-top: 1.8rem;
  display: flex;
  gap: 0.8rem;
  flex-wrap: wrap;
}

.btn {
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  border-radius: 999px;
  padding: 0.72rem 1.2rem;
  border: 1px solid transparent;
  font-family: var(--font-display);
  font-size: 0.88rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-weight: 700;
  transition: transform 0.24s ease, box-shadow 0.24s ease, background 0.24s ease;
}

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

.btn-primary {
  background: linear-gradient(140deg, var(--forest-400), var(--forest-500));
  color: var(--forest-900);
  box-shadow: 0 12px 24px rgba(111, 138, 40, 0.25);
}

.btn-secondary {
  background: var(--white);
  color: var(--charcoal-900);
  border-color: rgba(63, 82, 32, 0.22);
}

.hero-orbit {
  position: relative;
  min-height: 420px;
  border-radius: var(--radius-lg);
  background:
    radial-gradient(circle at 28% 20%, rgba(216, 233, 168, 0.85), transparent 36%),
    linear-gradient(120deg, #e2edbc, #f7f9ee 58%, #dde9b4 100%);
  box-shadow: var(--shadow-soft);
  overflow: hidden;
}

.hero-orbit::before,
.hero-orbit::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  border: 1px dashed rgba(63, 82, 32, 0.25);
}

.hero-orbit::before {
  width: 285px;
  height: 285px;
  right: -90px;
  top: 55px;
  animation: spin 22s linear infinite;
}

.hero-orbit::after {
  width: 190px;
  height: 190px;
  left: -60px;
  bottom: 30px;
  animation: spin-reverse 18s linear infinite;
}

.signal-dot {
  position: absolute;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--forest-500);
  box-shadow: 0 0 0 10px rgba(111, 138, 40, 0.12);
}

.signal-dot.one {
  top: 22%;
  left: 18%;
  animation: pulse 3.2s infinite;
}

.signal-dot.two {
  top: 58%;
  left: 55%;
  animation: pulse 2.8s infinite 0.7s;
}

.signal-dot.three {
  top: 25%;
  right: 24%;
  animation: pulse 3s infinite 0.35s;
}

.cord-line {
  position: absolute;
  inset: 0;
}

.cord-line svg {
  width: 100%;
  height: 100%;
}

.cord-line path {
  fill: none;
  stroke: rgba(63, 82, 32, 0.45);
  stroke-width: 2;
  stroke-dasharray: 7 10;
}

.card-grid {
  margin-top: 2rem;
  display: grid;
  gap: 1.1rem;
}

.card-grid.three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.card-grid.four {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.info-card,
.work-card,
.stat-card,
.insight-card,
.industry-card,
.job-card,
.office-card {
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.8);
  border: 1px solid rgba(63, 82, 32, 0.14);
  padding: 1.2rem;
  box-shadow: var(--shadow-card);
}

.info-card h3,
.work-card h3,
.insight-card h3,
.job-card h3,
.office-card h3,
.industry-card h3 {
  font-family: var(--font-display);
  font-size: 1.14rem;
  line-height: 1.22;
}

.info-card p,
.work-card p,
.insight-card p,
.job-card p,
.office-card p,
.industry-card p,
.stat-card p {
  margin-top: 0.62rem;
  color: var(--charcoal-700);
  font-size: 0.95rem;
}

.section {
  padding: 2.6rem 0;
}

.section h2 {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 2.4vw, 2.3rem);
  color: var(--charcoal-900);
  line-height: 1.16;
}

.section-intro {
  margin-top: 0.78rem;
  max-width: none;
  color: var(--charcoal-700);
}

.badge {
  display: inline-flex;
  align-items: center;
  margin-top: 0.8rem;
  font-size: 0.74rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--forest-900);
  font-family: var(--font-display);
  font-weight: 700;
}

.stats {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: 1.6rem;
}

.stat-card {
  text-align: center;
}

.stat-number {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  color: var(--forest-700);
}

.section-systems {
  padding-top: 2.9rem;
}

.systems-shell {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(63, 82, 32, 0.16);
  border-radius: var(--radius-lg);
  background:
    radial-gradient(circle at 85% 10%, rgba(184, 202, 117, 0.35), transparent 42%),
    linear-gradient(140deg, rgba(255, 255, 255, 0.9), rgba(235, 242, 214, 0.92));
  box-shadow: var(--shadow-soft);
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  gap: 1rem;
  padding: 1.4rem;
}

.systems-shell::after {
  content: "";
  position: absolute;
  width: 240px;
  height: 240px;
  border-radius: 50%;
  border: 1px dashed rgba(63, 82, 32, 0.2);
  left: -110px;
  bottom: -120px;
}

.systems-copy .section-intro {
  max-width: none;
}

.systems-levers {
  margin-top: 1rem;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.55rem;
}

.systems-lever {
  border-radius: 999px;
  border: 1px solid rgba(63, 82, 32, 0.16);
  background: rgba(255, 255, 255, 0.82);
  padding: 0.5rem 0.76rem;
  font-size: 0.84rem;
  color: var(--charcoal-700);
}

.systems-metrics {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
}

.metric-tile {
  border-radius: 12px;
  border: 1px solid rgba(63, 82, 32, 0.18);
  background: rgba(255, 255, 255, 0.9);
  padding: 0.9rem 0.88rem;
  min-height: 150px;
}

.metric-value {
  font-family: var(--font-display);
  font-size: clamp(1.55rem, 2.3vw, 2.15rem);
  line-height: 1;
  color: var(--forest-700);
}

.metric-title {
  margin-top: 0.5rem;
  font-family: var(--font-display);
  font-size: 0.76rem;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  color: var(--forest-900);
}

.metric-copy {
  margin-top: 0.4rem;
  font-size: 0.88rem;
  color: var(--charcoal-700);
}

.media-block {
  margin-top: 1.3rem;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  border: 1px solid rgba(63, 82, 32, 0.14);
}

.media-block img {
  width: 100%;
  height: 280px;
  object-fit: cover;
}

.work-filter {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin: 1.15rem 0 0.8rem;
}

.filter-btn {
  border: 1px solid rgba(63, 82, 32, 0.23);
  background: var(--white);
  color: var(--charcoal-700);
  border-radius: 999px;
  padding: 0.42rem 0.9rem;
  font-family: var(--font-display);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  cursor: pointer;
}

.filter-btn.active,
.filter-btn:hover {
  color: var(--forest-900);
  background: rgba(142, 171, 62, 0.18);
}

.work-card {
  display: grid;
  gap: 1rem;
}

.work-card img {
  width: 100%;
  border-radius: 12px;
  height: 190px;
  object-fit: cover;
}

.work-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.5rem;
  font-size: 0.78rem;
  color: var(--charcoal-500);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-family: var(--font-display);
}

.tag-row {
  margin-top: 0.8rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.tag {
  background: rgba(216, 233, 168, 0.45);
  color: var(--forest-900);
  border: 1px solid rgba(63, 82, 32, 0.16);
  border-radius: 999px;
  padding: 0.25rem 0.66rem;
  font-size: 0.74rem;
  font-family: var(--font-display);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

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

.list-clean {
  margin-top: 1rem;
  list-style: none;
  display: grid;
  gap: 0.7rem;
}

.list-clean li {
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(63, 82, 32, 0.14);
  border-radius: 12px;
  padding: 0.72rem 0.9rem;
}

.breadcrumb {
  margin-top: 0.7rem;
  font-size: 0.82rem;
  color: var(--charcoal-500);
}

.breadcrumb a {
  text-decoration: none;
  color: var(--forest-700);
}

.quote {
  margin-top: 1.2rem;
  border-left: 4px solid var(--forest-400);
  padding-left: 0.9rem;
  color: var(--charcoal-700);
  font-style: italic;
}

.cta-band {
  margin-top: 2.8rem;
  border: 1px solid rgba(63, 82, 32, 0.15);
  background: linear-gradient(130deg, #dce9b1 0%, #edf3d8 56%, #d7e4a6 100%);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  box-shadow: var(--shadow-soft);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.9rem;
}

.cta-band h3 {
  font-family: var(--font-display);
  font-size: 1.28rem;
  line-height: 1.2;
  color: var(--forest-900);
}

.site-footer {
  margin-top: 3.4rem;
  border-top: 1px solid rgba(63, 82, 32, 0.18);
  background: #ffffff;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr repeat(3, 1fr);
  gap: 1rem;
  padding: 2rem 0 1.4rem;
}

.footer-col h4 {
  font-family: var(--font-display);
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  color: var(--forest-900);
}

.footer-col p,
.footer-col li {
  color: var(--charcoal-700);
  font-size: 0.92rem;
  margin-top: 0.46rem;
}

.footer-col ul {
  list-style: none;
  margin-top: 0.4rem;
  display: grid;
  gap: 0.2rem;
}

.footer-col a {
  text-decoration: none;
}

.footer-col a:hover {
  text-decoration: underline;
}

.footer-bottom {
  border-top: 1px solid rgba(63, 82, 32, 0.12);
  padding: 0.86rem 0 1.2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.8rem;
  font-size: 0.85rem;
  color: var(--charcoal-500);
  flex-wrap: wrap;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.82rem;
  margin-top: 1rem;
}

.form-field {
  display: grid;
  gap: 0.35rem;
}

.form-field label {
  font-family: var(--font-display);
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--forest-900);
}

.form-field input,
.form-field textarea,
.form-field select {
  border-radius: 10px;
  border: 1px solid rgba(63, 82, 32, 0.25);
  background: rgba(255, 255, 255, 0.92);
  padding: 0.7rem 0.8rem;
  font: inherit;
  color: var(--charcoal-900);
}

.form-field textarea {
  resize: vertical;
  min-height: 120px;
}

.form-field.full {
  grid-column: 1 / -1;
}

.form-note {
  margin-top: 0.8rem;
  font-size: 0.88rem;
  color: var(--charcoal-600);
}

.contact-hero-grid {
  display: grid;
  grid-template-columns: 1.12fr 0.88fr;
  gap: 1rem;
  align-items: start;
}

.contact-highlights {
  display: grid;
  gap: 0.7rem;
}

.contact-highlight {
  border-radius: 12px;
  border: 1px solid rgba(63, 82, 32, 0.16);
  background: rgba(255, 255, 255, 0.86);
  padding: 0.9rem 1rem;
}

.contact-highlight h3 {
  font-family: var(--font-display);
  font-size: 0.92rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--forest-900);
}

.contact-highlight p {
  margin-top: 0.4rem;
  color: var(--charcoal-700);
  font-size: 0.92rem;
}

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

.contact-form-panel {
  padding: 1.4rem;
}

.contact-stack {
  display: grid;
  gap: 1rem;
}

.compact-list {
  margin-top: 0.7rem;
  gap: 0.55rem;
}

.compact-list li {
  padding: 0.62rem 0.75rem;
}

.faq-list {
  margin-top: 1rem;
  display: grid;
  gap: 0.7rem;
}

.faq-item {
  border: 1px solid rgba(63, 82, 32, 0.18);
  border-radius: 12px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.85);
}

.faq-trigger {
  width: 100%;
  border: 0;
  background: transparent;
  text-align: left;
  padding: 0.88rem 0.9rem;
  font-family: var(--font-display);
  font-size: 1rem;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}

.faq-panel {
  display: none;
  padding: 0 0.9rem 0.9rem;
  color: var(--charcoal-700);
}

.faq-item.open .faq-panel {
  display: block;
}

.table-wrap {
  margin-top: 1rem;
  overflow-x: auto;
}

table {
  width: 100%;
  border-collapse: collapse;
  background: rgba(255, 255, 255, 0.84);
  border-radius: 12px;
  overflow: hidden;
}

th,
td {
  border: 1px solid rgba(63, 82, 32, 0.17);
  padding: 0.7rem;
  text-align: left;
  vertical-align: top;
}

th {
  background: rgba(216, 233, 168, 0.36);
  font-family: var(--font-display);
}

[data-reveal] {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}

[data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

@keyframes spin-reverse {
  to {
    transform: rotate(-360deg);
  }
}

@keyframes pulse {
  0%,
  100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.18);
  }
}

@media (max-width: 1030px) {
  .card-grid.four {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 860px) {
  .hero-grid,
  .split,
  .stats {
    grid-template-columns: 1fr;
  }

  .systems-shell {
    grid-template-columns: 1fr;
  }

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

  .hero {
    padding-top: 4.9rem;
  }

  .hero-orbit {
    min-height: 300px;
  }

  .card-grid.three {
    grid-template-columns: 1fr 1fr;
  }

  .site-nav {
    position: fixed;
    left: 1rem;
    right: 1rem;
    top: 86px;
    z-index: 41;
    background: rgba(255, 255, 255, 0.98);
    border: 1px solid rgba(63, 82, 32, 0.2);
    border-radius: 18px;
    padding: 0.95rem;
    box-shadow: 0 20px 35px rgba(18, 24, 12, 0.22);
    display: grid;
    gap: 0.45rem;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(-8px);
    transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease;
  }

  .site-nav.open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0);
  }

  .site-nav a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 44px;
    padding: 0.76rem 0.88rem;
    border-radius: 12px;
    border: 1px solid rgba(63, 82, 32, 0.16);
    background: #ffffff;
    color: var(--charcoal-700);
    font-size: 0.8rem;
    letter-spacing: 0.06em;
  }

  .site-nav a:hover,
  .site-nav a.active {
    border-color: var(--forest-700);
  }

  .nav-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: auto;
    height: 40px;
    min-width: 96px;
    padding: 0 0.95rem;
    border-radius: 999px;
    border: 1px solid rgba(63, 82, 32, 0.28);
    background: #ffffff;
    color: var(--forest-900);
    font-family: var(--font-display);
    font-size: 0.74rem;
    letter-spacing: 0.09em;
    text-transform: uppercase;
    font-weight: 700;
    gap: 0.45rem;
  }

  .nav-toggle::before {
    content: "";
    width: 14px;
    height: 2px;
    background: currentColor;
    box-shadow: 0 -4px 0 currentColor, 0 4px 0 currentColor;
  }

  .nav-toggle[aria-expanded="true"] {
    background: var(--forest-700);
    color: var(--white);
    border-color: var(--forest-700);
  }
}

@media (max-width: 640px) {
  .card-grid.three,
  .card-grid.four,
  .form-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .systems-levers,
  .systems-metrics {
    grid-template-columns: 1fr;
  }

  .page-hero {
    padding-top: 4.5rem;
  }

  .work-card img,
  .media-block img {
    height: 220px;
  }
}
