:root {
  color-scheme: light;
  --ink: #18201d;
  --muted: #62706a;
  --line: #d9e0da;
  --soft: #f5f7f3;
  --paper: #ffffff;
  --green: #2f6b4f;
  --green-dark: #194332;
  --gold: #c5933b;
  --shadow: 0 18px 45px rgba(24, 32, 29, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--soft);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  letter-spacing: 0;
}

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

.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 72px;
  padding: 12px clamp(18px, 4vw, 56px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(24, 32, 29, 0.86);
  color: white;
  backdrop-filter: blur(16px);
}

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

.brand-mark {
  display: grid;
  width: 40px;
  height: 40px;
  place-items: center;
  border-radius: 8px;
  background: var(--gold);
  color: #1b160c;
  font-weight: 800;
}

.brand strong,
.brand small {
  display: block;
  line-height: 1.15;
}

.brand small {
  margin-top: 3px;
  color: rgba(255, 255, 255, 0.68);
  font-size: 12px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-links a {
  min-height: 40px;
  padding: 11px 12px;
  border-radius: 8px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 14px;
  white-space: nowrap;
}

.nav-links a:hover {
  background: rgba(255, 255, 255, 0.1);
  color: white;
}

.hero {
  position: relative;
  display: grid;
  min-height: calc(100vh - 72px);
  overflow: hidden;
  background: #111915;
}

.hero-image,
.hero-scrim {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-image {
  object-fit: cover;
}

.hero-scrim {
  background:
    linear-gradient(90deg, rgba(15, 24, 19, 0.92) 0%, rgba(15, 24, 19, 0.72) 44%, rgba(15, 24, 19, 0.1) 100%),
    linear-gradient(0deg, rgba(15, 24, 19, 0.76), rgba(15, 24, 19, 0.1) 34%);
}

.hero-content {
  position: relative;
  z-index: 1;
  display: flex;
  width: min(760px, calc(100% - 36px));
  min-height: calc(100vh - 72px);
  flex-direction: column;
  justify-content: center;
  padding: 52px 0 84px clamp(18px, 8vw, 96px);
  color: white;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--gold);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 720px;
  margin-bottom: 22px;
  font-size: clamp(40px, 5.4vw, 68px);
  line-height: 1.06;
  letter-spacing: 0;
}

.hero-copy {
  max-width: 590px;
  margin-bottom: 28px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 18px;
  line-height: 1.72;
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 18px;
  border: 1px solid transparent;
  border-radius: 8px;
  font-weight: 800;
  white-space: nowrap;
}

.button.primary {
  background: var(--gold);
  color: #1e1709;
}

.button.secondary {
  border-color: rgba(255, 255, 255, 0.36);
  background: rgba(255, 255, 255, 0.08);
  color: white;
}

.product-panel .button.secondary,
.contact .button.secondary {
  border-color: var(--line);
  background: white;
  color: var(--ink);
}

.button.compact {
  min-height: 44px;
  align-self: flex-start;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  width: min(650px, 100%);
  margin: 48px 0 0;
}

.hero-stats div {
  min-height: 86px;
  padding: 15px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
}

.hero-stats dt {
  margin-bottom: 8px;
  color: rgba(255, 255, 255, 0.6);
  font-size: 12px;
}

.hero-stats dd {
  margin: 0;
  font-size: 18px;
  font-weight: 800;
}

.section {
  width: min(1160px, calc(100% - 36px));
  margin: 0 auto;
  padding: 84px 0;
}

.intro {
  display: grid;
  grid-template-columns: 0.78fr 1fr;
  gap: 56px;
  align-items: start;
}

.section-heading h2 {
  max-width: 680px;
  margin-bottom: 0;
  font-size: clamp(28px, 4vw, 44px);
  line-height: 1.12;
  letter-spacing: 0;
}

.intro p,
.section > p {
  color: var(--muted);
  font-size: 17px;
  line-height: 1.82;
}

.service-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 16px;
  margin-top: 28px;
}

.service-card,
.product-panel,
.contact-box {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
  box-shadow: 0 1px 0 rgba(24, 32, 29, 0.04);
}

.service-card {
  display: flex;
  min-height: 300px;
  flex-direction: column;
  justify-content: space-between;
  padding: 24px;
}

.service-card.featured {
  background: var(--green-dark);
  color: white;
  box-shadow: var(--shadow);
}

.tag {
  display: inline-flex;
  width: fit-content;
  margin-bottom: 18px;
  padding: 7px 10px;
  border-radius: 999px;
  background: #e8efe8;
  color: var(--green-dark);
  font-size: 12px;
  font-weight: 800;
}

.featured .tag {
  background: rgba(255, 255, 255, 0.14);
  color: #f8d892;
}

.service-card h3,
.product-panel h3 {
  margin-bottom: 12px;
  font-size: 24px;
  line-height: 1.2;
}

.service-card p,
.product-panel p,
.contact-box p,
.timeline span {
  color: var(--muted);
  line-height: 1.72;
}

.featured p,
.featured .card-meta {
  color: rgba(255, 255, 255, 0.78);
}

.card-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 24px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.card-meta span {
  padding: 7px 9px;
  border-radius: 8px;
  background: rgba(47, 107, 79, 0.09);
}

.featured .card-meta span {
  background: rgba(255, 255, 255, 0.12);
}

.product-band {
  width: 100%;
  max-width: none;
  padding-right: max(18px, calc((100vw - 1160px) / 2));
  padding-left: max(18px, calc((100vw - 1160px) / 2));
  background: #edf2ec;
}

.product-layout {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 16px;
  margin-top: 28px;
}

.product-panel {
  display: flex;
  min-height: 280px;
  flex-direction: column;
  justify-content: space-between;
  padding: 28px;
}

.product-panel:first-child {
  border-color: rgba(47, 107, 79, 0.34);
  background: linear-gradient(145deg, #ffffff, #edf7ef);
}

.product-panel.muted {
  background: #fbfbf8;
}

.timeline {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
}

.timeline li {
  min-height: 170px;
  padding: 22px;
  border-top: 4px solid var(--green);
  border-radius: 8px;
  background: white;
}

.timeline strong {
  display: block;
  margin-bottom: 12px;
  font-size: 18px;
}

.contact {
  padding-top: 24px;
}

.contact-box {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 32px;
  align-items: center;
  padding: clamp(24px, 5vw, 48px);
  background: var(--ink);
  color: white;
}

.contact-box h2 {
  max-width: 720px;
  margin-bottom: 14px;
  font-size: clamp(28px, 4vw, 42px);
  line-height: 1.12;
}

.contact-box p {
  max-width: 720px;
  color: rgba(255, 255, 255, 0.72);
}

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

.footer {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 28px clamp(18px, 4vw, 56px);
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 14px;
}

@media (max-width: 920px) {
  .topbar {
    position: relative;
    align-items: flex-start;
    flex-direction: column;
  }

  .nav-links {
    width: 100%;
    overflow-x: auto;
    padding-bottom: 2px;
  }

  .hero,
  .hero-content {
    min-height: 640px;
  }

  .hero-content {
    justify-content: flex-end;
    padding: 32px 0 44px 18px;
  }

  .hero-scrim {
    background: linear-gradient(0deg, rgba(15, 24, 19, 0.94) 0%, rgba(15, 24, 19, 0.62) 58%, rgba(15, 24, 19, 0.16) 100%);
  }

  .intro,
  .service-grid,
  .product-layout,
  .timeline,
  .contact-box {
    grid-template-columns: 1fr;
  }

  .service-card {
    min-height: 240px;
  }

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

@media (max-width: 620px) {
  h1 {
    max-width: 340px;
    font-size: 32px;
    line-height: 1.16;
  }

  .hero-copy {
    margin-bottom: 20px;
    font-size: 16px;
    line-height: 1.62;
  }

  .hero-stats {
    margin-top: 28px;
  }

  .hero-stats div {
    min-height: 70px;
    padding: 12px;
  }

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

  .section {
    padding: 48px 0;
  }

  .button {
    width: 100%;
  }

  .footer {
    flex-direction: column;
  }
}
