:root {
  --color-ink: #17241d;
  --color-muted: #5f6d65;
  --color-line: #dbe7df;
  --color-soft: #f5f9f6;
  --color-white: #ffffff;
  --color-navy: #0b2818;
  --color-teal: #007a3d;
  --color-green: #009a44;
  --color-warm: #6bbf7a;
  --shadow: 0 18px 50px rgba(0, 92, 46, 0.12);
  --shadow-strong: 0 24px 70px rgba(0, 92, 46, 0.18);
  --radius: 8px;
  --container: min(1120px, calc(100vw - 40px));
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  text-size-adjust: 100%;
}

body {
  margin: 0;
  min-width: 320px;
  color: var(--color-ink);
  background: var(--color-white);
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration: none;
  overflow-wrap: anywhere;
}

a:focus-visible,
button:focus-visible {
  outline: 3px solid rgba(107, 191, 122, 0.75);
  outline-offset: 4px;
}

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

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

.screen-reader-text {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 20;
  color: var(--color-white);
  transition: background 180ms ease, box-shadow 180ms ease, color 180ms ease, transform 180ms ease;
}

.site-header.is-scrolled {
  color: var(--color-ink);
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 10px 30px rgba(0, 92, 46, 0.08);
  backdrop-filter: blur(14px);
}

.header-inner {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
}

.brand-logo {
  width: clamp(140px, 17vw, 238px);
  max-height: 58px;
  height: auto;
  object-fit: contain;
}

.brand-mark {
  display: inline-grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 8px;
  background: var(--color-teal);
  color: var(--color-white);
  font-weight: 800;
  letter-spacing: 0;
}

.brand-copy {
  display: none;
  line-height: 1.2;
}

.brand-copy small {
  color: currentColor;
  opacity: 0.76;
}

.menu,
.fallback-menu {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 26px;
  padding: 0;
  margin: 0;
  list-style: none;
  font-size: 0.95rem;
  font-weight: 650;
}

.primary-nav .menu:empty {
  display: none;
}

.primary-nav .menu:not(:empty) + .fallback-menu {
  display: none;
}

.menu a {
  display: inline-flex;
  min-height: 40px;
  align-items: center;
  opacity: 0.9;
}

.menu a:hover {
  opacity: 1;
  color: var(--color-teal);
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid currentColor;
  border-radius: 8px;
  color: inherit;
  background: transparent;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
}

.nav-toggle span:not(.screen-reader-text) {
  width: 18px;
  height: 2px;
  background: currentColor;
}

.hero {
  position: relative;
  min-height: min(94vh, 900px);
  min-height: min(94svh, 900px);
  display: flex;
  align-items: center;
  overflow: hidden;
  color: var(--color-white);
}

.hero-media,
.hero-overlay {
  position: absolute;
  inset: 0;
}

.hero-media {
  background-size: cover;
  background-position: center right;
  transform: scale(1.02);
  animation: heroDrift 18s ease-in-out infinite alternate;
}

.hero-overlay {
  background:
    linear-gradient(90deg, rgba(7, 36, 22, 0.95), rgba(7, 55, 31, 0.78) 44%, rgba(7, 55, 31, 0.22)),
    linear-gradient(0deg, rgba(7, 36, 22, 0.48), rgba(7, 36, 22, 0));
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 760px;
  padding-block: 150px 96px;
  animation: fadeUp 700ms ease both;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--color-warm);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
  hyphens: auto;
}

h1,
h2,
h3 {
  margin: 0;
  line-height: 1.12;
  letter-spacing: 0;
}

h1 {
  max-width: 720px;
  font-size: clamp(2.2rem, 5.6vw, 4.75rem);
}

h2 {
  font-size: clamp(1.85rem, 4vw, 3rem);
}

h3 {
  font-size: 1.18rem;
}

.hero-text {
  max-width: 650px;
  margin: 24px 0 0;
  color: rgba(255, 255, 255, 0.86);
  font-size: 1.12rem;
}

.hero-actions,
.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 20px;
  border: 1px solid transparent;
  border-radius: 8px;
  font-weight: 800;
  text-align: center;
  white-space: normal;
  transition: transform 180ms ease, background 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.button:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(0, 92, 46, 0.18);
}

.button-primary {
  color: var(--color-white);
  background: var(--color-teal);
}

.button-primary:hover {
  background: #006532;
}

.button-secondary {
  color: var(--color-white);
  border-color: rgba(255, 255, 255, 0.5);
}

.button-secondary.light {
  color: var(--color-navy);
  background: var(--color-white);
  border-color: var(--color-white);
}

.section {
  padding: 92px 0;
  content-visibility: auto;
  contain-intrinsic-size: auto 760px;
}

.intro,
.method {
  background: var(--color-soft);
}

.intro-grid,
.method-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  gap: 64px;
  align-items: start;
}

.intro-grid > *,
.method-grid > *,
.services-layout > *,
.service-grid > *,
.proof-grid > *,
.contact-panel > *,
.footer-grid > * {
  min-width: 0;
}

.intro-copy p,
.section-heading p,
.method p,
.proof-item span,
.contact p,
.site-footer p {
  color: var(--color-muted);
}

.intro-copy p:first-child {
  margin-top: 0;
}

.section-heading {
  max-width: 720px;
  margin-bottom: 38px;
  text-align: center;
}

.section-heading:not(.align-left) {
  margin-inline: auto;
}

.section-heading p:last-child {
  margin-bottom: 0;
}

.align-left {
  text-align: left;
  margin-bottom: 0;
}

.services-layout {
  display: grid;
  grid-template-columns: minmax(260px, 0.85fr) minmax(0, 1.65fr);
  gap: 28px;
  align-items: start;
}

.service-lead {
  position: sticky;
  top: 106px;
  padding: 30px;
  border-radius: var(--radius);
  color: var(--color-white);
  background: linear-gradient(145deg, #082415, #007a3d);
  box-shadow: var(--shadow);
  overflow: hidden;
  isolation: isolate;
}

.service-lead::after {
  content: "";
  position: absolute;
  inset: auto -20% -35% 15%;
  height: 170px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  filter: blur(4px);
  z-index: -1;
}

.service-lead .eyebrow {
  color: #a8dfb2;
}

.service-lead h3 {
  font-size: clamp(1.35rem, 3vw, 2rem);
}

.service-highlights,
.service-card ul {
  display: grid;
  gap: 10px;
  padding: 0;
  margin: 22px 0 0;
  list-style: none;
}

.service-highlights li,
.service-card li {
  position: relative;
  padding-left: 22px;
}

.service-highlights li::before,
.service-card li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.68em;
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: currentColor;
}

.service-highlights li {
  color: rgba(255, 255, 255, 0.86);
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  align-items: stretch;
}

.service-card {
  display: flex;
  min-height: 0;
  flex-direction: column;
  padding: 24px;
  border: 1px solid var(--color-line);
  border-radius: var(--radius);
  background: var(--color-white);
  box-shadow: 0 0 0 rgba(0, 0, 0, 0);
  animation: fadeUp 650ms ease both;
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.service-card:nth-child(2) {
  animation-delay: 70ms;
}

.service-card:nth-child(3) {
  animation-delay: 140ms;
}

.service-card:nth-child(4) {
  animation-delay: 210ms;
}

.service-card:nth-child(5) {
  animation-delay: 280ms;
}

.service-card:nth-child(6) {
  animation-delay: 350ms;
}

.service-card:hover {
  transform: translateY(-3px);
  border-color: rgba(0, 122, 61, 0.35);
  box-shadow: var(--shadow-strong);
}

.service-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 22px;
  flex-wrap: wrap;
}

.service-icon {
  display: inline-grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 8px;
  color: var(--color-teal);
  background: rgba(0, 122, 61, 0.1);
  transition: transform 180ms ease, background 180ms ease;
}

.service-card:hover .service-icon {
  transform: scale(1.06);
  background: rgba(0, 122, 61, 0.15);
}

.service-icon svg {
  width: 24px;
  height: 24px;
  fill: currentColor;
}

.service-card p {
  margin-top: 12px;
  margin-bottom: 0;
  color: var(--color-muted);
}

.service-card ul {
  margin-top: auto;
  padding-top: 20px;
  color: var(--color-ink);
  font-size: 0.94rem;
}

.service-card li::before {
  color: var(--color-green);
}

.service-tag {
  max-width: 100%;
  padding: 5px 10px;
  border-radius: 999px;
  color: var(--color-teal);
  background: rgba(0, 122, 61, 0.09);
  font-size: 0.76rem;
  font-weight: 850;
  line-height: 1.2;
  text-align: center;
}

.steps {
  display: grid;
  gap: 16px;
}

.steps article {
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr);
  gap: 12px 18px;
  padding: 22px;
  border: 1px solid var(--color-line);
  border-radius: var(--radius);
  background: var(--color-white);
  align-items: start;
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.steps article:hover {
  transform: translateY(-2px);
  border-color: rgba(0, 122, 61, 0.25);
  box-shadow: var(--shadow);
}

.steps span {
  grid-row: span 2;
  color: var(--color-teal);
  font-weight: 900;
  font-size: 1.2rem;
}

.steps p {
  margin: 0;
}

.proof {
  padding-block: 56px;
  background: linear-gradient(135deg, #082415, #006532);
  color: var(--color-white);
}

.proof-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
}

.proof-item {
  display: grid;
  gap: 8px;
  padding: 4px 0;
}

.proof-item strong {
  font-size: 1.1rem;
}

.proof-item span {
  color: rgba(255, 255, 255, 0.72);
}

.contact {
  background: linear-gradient(135deg, #eef8f1, #ffffff);
}

.contact-panel {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(280px, 0.8fr);
  gap: 36px;
  align-items: center;
  padding: 42px;
  border: 1px solid var(--color-line);
  border-radius: var(--radius);
  background: var(--color-white);
  box-shadow: var(--shadow);
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.contact-panel:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-strong);
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 520ms ease, transform 520ms ease;
}

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

.contact-actions {
  justify-content: flex-end;
  margin-top: 0;
}

.site-footer {
  padding: 64px 0 24px;
  color: rgba(255, 255, 255, 0.78);
  background: #071f13;
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(240px, 1.25fr) repeat(3, minmax(150px, 0.75fr));
  gap: 34px;
  align-items: start;
}

.footer-brand,
.site-footer h2 {
  display: block;
  margin-bottom: 12px;
  color: var(--color-white);
  font-size: 1.1rem;
  font-weight: 850;
}

.site-footer h2 {
  margin-top: 0;
}

.footer-about {
  max-width: 430px;
}

.footer-logo {
  width: min(210px, 100%);
  height: auto;
  margin-bottom: 18px;
  padding: 8px 10px;
  border-radius: 8px;
  background: var(--color-white);
}

.footer-column {
  display: grid;
  gap: 8px;
}

.site-footer a,
.site-footer span {
  display: block;
}

.site-footer address {
  margin: 0;
  color: rgba(255, 255, 255, 0.78);
  font-style: normal;
  line-height: 1.7;
}

.site-footer a:hover {
  color: var(--color-white);
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 20px;
  margin-top: 38px;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 0.9rem;
}

.page-main {
  min-height: 70vh;
  padding: 130px 0 80px;
  background: var(--color-soft);
}

.page-content {
  max-width: 840px;
  padding: 40px;
  border-radius: var(--radius);
  background: var(--color-white);
}

.content-card {
  max-width: 100%;
}

.post-summary + .post-summary {
  margin-top: 32px;
  padding-top: 32px;
  border-top: 1px solid var(--color-line);
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(18px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes heroDrift {
  from {
    transform: scale(1.02) translateX(0);
  }

  to {
    transform: scale(1.06) translateX(-1.5%);
  }
}

@media (max-width: 980px) {
  .services-layout {
    grid-template-columns: 1fr;
  }

  .service-lead {
    position: static;
  }

  .intro-grid,
  .method-grid,
  .contact-panel,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .contact-actions {
    justify-content: flex-start;
  }
}

@media (max-width: 760px) {
  :root {
    --container: min(100vw - 32px, 1120px);
  }

  .header-inner {
    min-height: 68px;
  }

  .brand-copy small {
    display: none;
  }

  .brand-logo {
    width: min(150px, 54vw);
    max-height: 48px;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .primary-nav {
    position: absolute;
    top: calc(100% - 1px);
    left: 14px;
    right: 14px;
    display: none;
    padding: 16px;
    border-radius: 8px;
    color: var(--color-ink);
    background: var(--color-white);
    box-shadow: var(--shadow);
    max-height: calc(100svh - 88px);
    overflow: auto;
  }

  .primary-nav.is-open {
    display: block;
  }

  .menu,
  .fallback-menu {
    display: grid;
    gap: 4px;
  }

  .menu a {
    display: block;
    padding: 12px;
  }

  .hero {
    min-height: auto;
  }

  .hero-media {
    background-position: 68% center;
  }

  .hero-overlay {
    background: linear-gradient(90deg, rgba(7, 36, 22, 0.95), rgba(7, 55, 31, 0.82));
  }

  .hero-content {
    padding-block: 126px 72px;
  }

  .hero-actions,
  .contact-actions {
    display: grid;
  }

  .button {
    width: 100%;
  }

  .section {
    padding: 64px 0;
  }

  .section-heading {
    text-align: left;
  }

  .service-grid,
  .proof-grid {
    grid-template-columns: 1fr;
  }

  .service-card {
    min-height: auto;
  }

  .service-card ul {
    margin-top: 18px;
  }

  .steps article {
    grid-template-columns: 1fr;
  }

  .steps span {
    grid-row: auto;
  }

  .contact-panel,
  .page-content {
    padding: 24px;
  }

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

  .footer-about {
    max-width: none;
  }
}

@media (max-width: 420px) {
  :root {
    --container: min(100vw - 24px, 1120px);
  }

  h1 {
    font-size: clamp(2rem, 12vw, 2.75rem);
  }

  h2 {
    font-size: clamp(1.55rem, 9vw, 2.2rem);
  }

  .hero-actions,
  .contact-actions {
    gap: 10px;
  }

  .service-card,
  .service-lead,
  .steps article,
  .contact-panel {
    padding: 20px;
  }
}

@media (min-resolution: 1.25dppx) and (max-width: 980px) {
  .service-lead {
    position: static;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.001ms !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}
