:root {
  --bg: #f4f5f1;
  --ink: #101312;
  --muted: #626a66;
  --line: #d8ddd7;
  --panel: #ffffff;
  --accent: #151515;
  --green: #3f6f49;
  --orange: #f07a18;
  --wine: #631009;
  --shadow: 0 20px 60px rgba(16, 19, 18, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at top left, rgba(63, 111, 73, 0.18), transparent 32rem),
    linear-gradient(180deg, #ffffff 0%, var(--bg) 52%, #eef2ec 100%);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  padding: 14px clamp(18px, 4vw, 56px);
  border-bottom: 1px solid rgba(216, 221, 215, 0.78);
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: blur(14px);
}

.brand img {
  width: 86px;
  height: auto;
  display: block;
}

nav {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 800;
}

nav a {
  padding: 9px 11px;
  border-radius: 8px;
}

nav a:hover,
.nav-cta {
  background: var(--ink);
  color: white;
}

main {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
}

.hero {
  min-height: calc(100vh - 84px);
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(280px, 0.95fr);
  gap: clamp(24px, 5vw, 72px);
  align-items: center;
  padding: 58px 0 42px;
}

.hero-copy {
  display: grid;
  gap: 22px;
}

.eyebrow {
  margin: 0;
  color: var(--wine);
  font-size: 0.78rem;
  font-weight: 950;
  letter-spacing: 0;
  text-transform: uppercase;
}

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

h1 {
  max-width: 850px;
  margin-bottom: 0;
  font-size: clamp(2.8rem, 6vw, 6.4rem);
  line-height: 0.92;
}

h2 {
  margin-bottom: 0;
  font-size: clamp(2rem, 4vw, 3.8rem);
  line-height: 1;
}

h3 {
  margin-bottom: 8px;
  font-size: 1.18rem;
}

p {
  color: var(--muted);
  line-height: 1.65;
}

.hero-copy > p:not(.eyebrow) {
  max-width: 720px;
  margin-bottom: 0;
  font-size: 1.12rem;
}

.hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.button {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  min-height: 46px;
  border-radius: 8px;
  background: var(--ink);
  color: white;
  padding: 0 18px;
  font-weight: 900;
}

.button.secondary {
  border: 1px solid var(--line);
  background: white;
  color: var(--ink);
}

.hero-logo {
  display: grid;
  place-items: center;
  min-height: 430px;
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(99, 16, 9, 0.08), rgba(63, 111, 73, 0.14)),
    white;
  box-shadow: var(--shadow);
}

.hero-logo img {
  width: min(78%, 520px);
  height: auto;
}

.metrics {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  overflow: hidden;
  margin-bottom: 70px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--line);
  box-shadow: var(--shadow);
}

.metrics article {
  display: grid;
  gap: 8px;
  min-height: 126px;
  padding: 20px;
  background: white;
}

.metrics strong {
  color: var(--green);
  font-size: 1.7rem;
}

.metrics span {
  color: var(--muted);
  font-weight: 800;
}

.section {
  padding: 58px 0;
}

.section-head {
  display: grid;
  gap: 12px;
  max-width: 860px;
  margin-bottom: 24px;
}

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

.project-card {
  min-height: 260px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.88);
  padding: 20px;
  box-shadow: 0 12px 30px rgba(16, 19, 18, 0.07);
}

.project-card.featured {
  background:
    linear-gradient(135deg, rgba(99, 16, 9, 0.12), rgba(240, 122, 24, 0.10)),
    white;
}

.project-card span {
  display: inline-flex;
  margin-bottom: 18px;
  border-radius: 999px;
  background: #edf2ed;
  color: var(--green);
  padding: 6px 9px;
  font-size: 0.78rem;
  font-weight: 900;
}

.project-card p {
  margin-bottom: 0;
}

.project-card ul {
  display: grid;
  gap: 8px;
  margin: 18px 0 0;
  padding-left: 18px;
  color: var(--muted);
  font-weight: 800;
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: 28px;
  align-items: start;
}

.service-list {
  display: grid;
  gap: 12px;
}

.service-list article,
.process li,
.contact-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
  padding: 18px;
}

.service-list p,
.process span {
  margin-bottom: 0;
}

.process ol {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.process li {
  display: grid;
  gap: 12px;
}

.process strong {
  color: var(--orange);
  font-size: 1.05rem;
}

.process span {
  color: var(--muted);
  line-height: 1.55;
}

.contact {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 420px);
  gap: 24px;
  align-items: center;
  margin: 58px 0 70px;
  border-radius: 8px;
  background: var(--ink);
  color: white;
  padding: clamp(24px, 5vw, 54px);
}

.contact p,
.contact .eyebrow {
  color: rgba(255, 255, 255, 0.76);
}

.contact-card {
  display: grid;
  gap: 7px;
  background: white;
  color: var(--ink);
}

.contact-card span {
  color: var(--muted);
}

.contact-card a {
  color: var(--wine);
  font-weight: 900;
}

footer {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 16px;
  border-top: 1px solid var(--line);
  padding: 24px;
  color: var(--muted);
  font-weight: 800;
}

footer img {
  width: 72px;
  height: auto;
}

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

  .site-header {
    align-items: flex-start;
    flex-direction: column;
  }

  .hero {
    min-height: auto;
  }

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

  .metrics,
  .project-grid,
  .process ol {
    grid-template-columns: 1fr;
  }
}
