:root {
  --bg: #d9dfdb;
  --paper: rgba(240, 245, 241, 0.96);
  --ink: #13211c;
  --muted: #5d6d66;
  --steel: #20342b;
  --line: rgba(19, 33, 28, 0.1);
  --green: #3f7a55;
  --white: #f8fbf8;
  --shadow: 0 24px 60px rgba(19, 29, 34, 0.12);
  --radius-xl: 34px;
  --radius-lg: 24px;
  --max-width: 1240px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  font-family: "Barlow", sans-serif;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.2), rgba(255, 255, 255, 0)),
    repeating-linear-gradient(
      90deg,
      rgba(19, 33, 28, 0.03) 0,
      rgba(19, 33, 28, 0.03) 1px,
      transparent 1px,
      transparent 96px
    ),
    linear-gradient(180deg, #d4dbd7 0%, #d9dfdb 45%, #e8eeea 100%);
}

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

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

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

.site-shell {
  width: min(calc(100% - 32px), var(--max-width));
  margin: 20px auto 36px;
}

.site-header,
.hero-section,
.capabilities-section,
.about-section,
.solutions-section,
.contact-section {
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.site-header {
  position: sticky;
  top: 14px;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 16px 22px;
  margin-bottom: 22px;
  background: rgba(240, 245, 241, 0.88);
  border-radius: 999px;
  backdrop-filter: blur(18px);
}

.brand {
  display: flex;
  align-items: center;
  gap: 0;
}

.brand-logo {
  display: block;
  width: auto;
  height: 48px;
}

.site-nav,
.header-cta {
  font-weight: 700;
}

.site-nav {
  display: flex;
  gap: 24px;
  color: var(--muted);
}

.site-nav a:hover {
  color: var(--ink);
}

.header-cta,
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  border-radius: 999px;
  transition: transform 180ms ease, background-color 180ms ease, border-color 180ms ease;
}

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

.header-cta {
  padding: 0 18px;
  background: var(--steel);
  color: var(--white);
}

.hero-section,
.capabilities-section,
.about-section,
.solutions-section,
.contact-section {
  border-radius: var(--radius-xl);
  background: var(--paper);
}

.hero-section {
  position: relative;
  min-height: min(720px, calc(100vh - 118px));
  max-height: min(720px, calc(100vh - 118px));
  overflow: hidden;
  background: #18241f;
}

.hero-section::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(90deg, rgba(15, 24, 21, 0.84) 0%, rgba(15, 24, 21, 0.58) 26%, rgba(15, 24, 21, 0.18) 52%, rgba(15, 24, 21, 0.04) 76%, rgba(15, 24, 21, 0) 100%),
    linear-gradient(180deg, rgba(15, 24, 21, 0.06) 0%, rgba(15, 24, 21, 0) 42%, rgba(15, 24, 21, 0.14) 100%);
}

.hero-media {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

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

.hero-media img {
  width: 100%;
  max-width: none;
  object-position: 64% 44%;
}

.hero-copy-overlay {
  position: absolute;
  left: 52px;
  top: 50%;
  width: min(39%, 470px);
  transform: translateY(-50%);
  z-index: 2;
  display: grid;
  gap: 16px;
  align-content: start;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  backdrop-filter: none;
  box-shadow: none;
}

.hero-copy-overlay h1,
.capabilities-section h2,
.about-section h2,
.solutions-section h2,
.contact-section h2 {
  margin: 0;
  font-family: "Barlow Condensed", sans-serif;
  text-transform: uppercase;
  line-height: 0.94;
}

.hero-copy-overlay h1 {
  max-width: 10.8ch;
  font-size: clamp(2.55rem, 3.8vw, 3.65rem);
  color: var(--white);
}

.hero-text,
.capabilities-section p,
.about-grid p,
.solutions-section p,
.contact-section p {
  color: var(--muted);
  line-height: 1.8;
}

.hero-copy-overlay .hero-text {
  max-width: 31ch;
  margin: 0;
  font-size: 1rem;
  line-height: 1.7;
  color: rgba(248, 251, 248, 0.82);
}

.hero-copy-overlay .eyebrow {
  color: #9ec6ad;
}

.eyebrow,
.section-label,
.card-index,
.capability-card span {
  display: inline-block;
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--green);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin: 10px 0 0;
}

.btn {
  padding: 0 22px;
  font-weight: 800;
}

.btn-primary {
  background: var(--green);
  color: var(--white);
}

.btn-secondary {
  border: 1px solid rgba(248, 251, 248, 0.24);
  background: rgba(248, 251, 248, 0.12);
  color: var(--white);
}

.capabilities-section,
.about-section,
.solutions-section,
.contact-section {
  margin-top: 22px;
  padding: 30px;
}

.about-grid {
  display: grid;
  grid-template-columns: 1.2fr 1.05fr 1fr 1fr;
  gap: 16px;
  margin-top: 22px;
}

.about-grid > p,
.about-grid > div,
.capability-card,
.solution-card {
  margin: 0;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.24);
  animation: sectionRise 620ms ease both;
}

.about-grid-reference {
  grid-template-columns: minmax(0, 1.34fr) minmax(360px, 0.66fr);
  align-items: stretch;
  gap: 28px;
  margin-top: 12px;
}

.about-grid-reference > .about-copy,
.about-grid-reference > .about-media-wrap {
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  animation: none;
}

.about-copy {
  position: relative;
  display: grid;
  gap: 16px;
  align-content: start;
  padding: 6px 0 8px 42px;
}

.about-watermark {
  position: static;
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  line-height: 1;
  color: var(--green);
  pointer-events: none;
}

.about-copy h2 {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 0.04em;
  max-width: 18ch;
  font-size: clamp(2.8rem, 4vw, 4.2rem);
  line-height: 0.94;
}

.about-copy h2 span {
  display: block;
}

.about-lead {
  max-width: 78ch;
  margin: 4px 0 0;
  font-size: 1.04rem;
  line-height: 1.78;
  color: var(--muted);
  text-align: justify;
  text-align-last: left;
}

.about-highlights {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-top: 8px;
}

.about-highlights article {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  gap: 12px;
  align-items: start;
}

.about-highlights article:nth-child(3) {
  grid-column: 1 / -1;
}

.about-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  margin: 0;
  padding: 0;
  border-radius: 50%;
  background: rgba(78, 182, 61, 0.12);
  color: #43aa35;
  font-family: "Barlow", sans-serif;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0;
  text-align: center;
}

.about-highlights strong {
  display: block;
  margin-bottom: 4px;
  font-size: 1.02rem;
}

.about-highlights p {
  margin: 0;
  color: var(--muted);
  font-size: 0.98rem;
  line-height: 1.65;
  text-align: justify;
  text-align-last: left;
}

.about-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
  margin-top: 6px;
}

.about-media-wrap {
  position: relative;
  min-height: 440px;
  display: grid;
  align-items: center;
}

.about-visual {
  position: relative;
  display: grid;
  align-content: end;
  overflow: hidden;
  min-height: 440px;
  border-radius: 24px;
  background: #233128;
}

.about-visual img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 48% 40%;
}

.about-visual::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(18, 28, 24, 0.08) 0%, rgba(18, 28, 24, 0.38) 100%);
}

.about-stat-card {
  position: absolute;
  left: 18px;
  bottom: 28px;
  z-index: 2;
  display: grid;
  gap: 4px;
  padding: 18px 24px;
  border: 1px solid rgba(78, 182, 61, 0.5);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 18px 40px rgba(19, 33, 28, 0.12);
}

.about-stat-card strong {
  font-family: "Barlow Condensed", sans-serif;
  font-size: 3rem;
  line-height: 0.9;
}

.about-stat-card span {
  color: var(--muted);
  font-size: 1rem;
  font-weight: 600;
}

.about-grid > p {
  background: linear-gradient(135deg, rgba(32, 52, 43, 0.96), rgba(55, 84, 69, 0.92));
  color: rgba(253, 250, 244, 0.86);
}

.about-grid > p span {
  display: inline-block;
  margin-bottom: 8px;
  color: var(--green);
  font-size: 0.74rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
}

.capability-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 22px;
}

.capability-card {
  display: grid;
  gap: 10px;
  min-height: 170px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.28), rgba(255, 255, 255, 0.1)),
    rgba(255, 255, 255, 0.2);
}

.capability-card span,
.capability-card p {
  margin: 0;
  max-width: 46ch;
}

.solution-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 22px;
}

.solution-card h3 {
  margin: 10px 0 8px;
  font-size: 1.14rem;
}

.solution-card {
  position: relative;
  overflow: hidden;
  display: grid;
  align-content: start;
  gap: 0;
  transition: transform 180ms ease, border-color 180ms ease, background-color 180ms ease;
}

.solution-media {
  position: relative;
  overflow: hidden;
  height: 180px;
  margin: -22px -22px 18px;
  border-radius: 22px 22px 16px 16px;
  background: #24332c;
}

.solution-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(12, 18, 16, 0.1) 0%, rgba(12, 18, 16, 0.4) 100%);
  transition: opacity 220ms ease;
}

.solution-media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transform: scale(1.02);
  filter: saturate(0.82);
  transition: transform 240ms ease, filter 240ms ease;
}

.solution-card:nth-child(1) .solution-media img {
  object-position: 50% 42%;
}

.solution-card:nth-child(2) .solution-media img {
  object-position: 52% 44%;
}

.solution-card:nth-child(3) .solution-media img {
  object-position: 58% 50%;
}

.solution-card:nth-child(4) .solution-media img {
  object-position: 50% 46%;
}

.solution-card:nth-child(5) .solution-media img {
  object-position: 48% 52%;
}

.solution-card:nth-child(6) .solution-media img {
  object-position: 62% 48%;
}

.solution-card:nth-child(7) .solution-media img {
  object-position: 50% 50%;
}

.solution-card:nth-child(8) .solution-media img {
  object-position: 46% 48%;
}

.solution-card:nth-child(9) .solution-media img {
  object-position: 50% 48%;
}

.solution-card::before {
  content: "";
  position: absolute;
  inset: auto auto 0 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, rgba(63, 122, 85, 0.85), rgba(63, 122, 85, 0));
  transform: scaleX(0.28);
  transform-origin: left center;
  transition: transform 220ms ease;
}

.solution-card:hover {
  transform: translateY(-4px);
  border-color: rgba(63, 122, 85, 0.26);
  background: rgba(255, 255, 255, 0.42);
}

.solution-card:hover .solution-media img {
  transform: scale(1.08);
  filter: saturate(1);
}

.solution-card:hover .solution-media::after {
  opacity: 0.16;
}

.solution-card:hover::before {
  transform: scaleX(1);
}

.contact-section {
  background: linear-gradient(135deg, rgba(32, 52, 43, 0.96), rgba(52, 81, 66, 0.92));
  color: var(--white);
}

.contact-section .section-label,
.contact-section h2,
.contact-section a {
  color: var(--white);
}

.contact-section p,
.contact-panel {
  color: rgba(248, 251, 248, 0.78);
}

.contact-brand {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 18px;
}

.contact-logo {
  display: block;
  width: auto;
  height: 44px;
}

.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(280px, 0.8fr);
  gap: 28px;
  align-items: start;
}

.contact-copy {
  display: grid;
  gap: 14px;
}

.contact-copy p {
  margin: 0;
}

.contact-panel {
  display: grid;
  gap: 18px;
  align-content: start;
  padding: 22px;
  border: 1px solid rgba(248, 251, 248, 0.12);
  border-radius: 22px;
  background: rgba(248, 251, 248, 0.06);
}

.contact-email {
  font-family: "Barlow Condensed", sans-serif;
  font-size: clamp(1.7rem, 3vw, 2.5rem);
  line-height: 0.98;
  color: var(--white);
}

.contact-actions {
  margin-top: 22px;
}

.contact-meta {
  margin-top: 18px;
}

.btn-contact-mail {
  border-color: rgba(248, 251, 248, 0.24);
  background: rgba(248, 251, 248, 0.14);
  color: var(--white);
  width: fit-content;
}

.contact-meta a {
  font-family: "Barlow Condensed", sans-serif;
  font-size: clamp(1.6rem, 3vw, 2.3rem);
}

.contact-section .btn {
  font-family: "Barlow", sans-serif;
  font-size: 1rem;
}

@media (max-width: 1180px) {
  .site-header,
  .capability-grid,
  .about-grid,
  .solution-cards,
  .contact-layout {
    grid-template-columns: 1fr;
  }

  .site-header {
    position: static;
    display: grid;
    border-radius: 28px;
  }

  .site-nav {
    flex-wrap: wrap;
    gap: 16px;
  }

  .hero-section {
    min-height: auto;
    max-height: none;
    padding: 24px;
  }

  .hero-media,
  .hero-copy-overlay {
    position: static;
    width: auto;
  }

  .hero-media {
    margin-top: 18px;
    min-height: 420px;
    border-radius: 28px;
  }

  .hero-copy-overlay {
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    backdrop-filter: none;
    box-shadow: none;
  }

  .about-grid-reference {
    grid-template-columns: 1fr;
    gap: 26px;
  }

  .about-media-wrap {
    min-height: auto;
  }

  .about-visual {
    min-height: 360px;
  }

  .about-stat-card {
    left: 18px;
    bottom: 18px;
  }

}

@media (max-width: 760px) {
  .site-shell {
    width: min(calc(100% - 20px), var(--max-width));
  }

  .site-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    padding: 16px;
    border-radius: 24px;
  }

  .site-nav {
    display: none;
  }

  .header-cta {
    min-height: 42px;
    padding: 0 16px;
    white-space: nowrap;
  }

  .hero-section,
  .capabilities-section,
  .about-section,
  .solutions-section,
  .contact-section {
    padding: 22px;
    border-radius: 24px;
  }

  .hero-actions,
  .contact-meta {
    flex-direction: column;
    align-items: flex-start;
  }

  .contact-layout {
    gap: 18px;
  }

  .hero-copy-overlay h1,
  .capabilities-section h2,
  .about-section h2,
  .solutions-section h2,
  .contact-section h2 {
    max-width: none;
  }

  .hero-media {
    position: absolute;
    inset: 0;
    min-height: 0;
    max-height: none;
    margin: 0;
    border-radius: 0;
  }

  .hero-section {
    display: flex;
    align-items: flex-end;
    min-height: 540px;
    max-height: none;
    overflow: hidden;
  }

  .hero-section::before {
    background: linear-gradient(
      180deg,
      rgba(15, 24, 21, 0.12) 0%,
      rgba(15, 24, 21, 0.34) 38%,
      rgba(15, 24, 21, 0.88) 100%
    );
  }

  .hero-media img {
    object-position: 58% 34%;
  }

  .hero-copy-overlay {
    position: relative;
    left: auto;
    top: auto;
    z-index: 2;
    width: 100%;
    gap: 12px;
    transform: none;
    justify-items: start;
    text-align: left;
  }

  .hero-copy-overlay h1 {
    font-size: clamp(2.25rem, 13vw, 3rem);
    max-width: 9.5ch;
  }

  .hero-copy-overlay .hero-text {
    max-width: 30ch;
    font-size: 0.95rem;
    line-height: 1.62;
  }

  .hero-actions {
    gap: 10px;
    margin-top: 4px;
    align-items: flex-start;
  }

  .brand-logo {
    height: 42px;
  }

  .about-copy {
    gap: 18px;
    padding-left: 0;
  }

  .about-highlights {
    grid-template-columns: 1fr;
  }

  .about-actions {
    align-items: flex-start;
    flex-direction: column;
  }

  .about-media-wrap {
    display: block;
    width: 100%;
    min-height: auto;
  }

  .about-visual {
    min-height: 280px;
    width: 100%;
    margin: 0;
  }

  .about-stat-card {
    display: none;
  }
}
