:root {
  --ink: #17201c;
  --muted: #66706b;
  --subtle: #eef1ee;
  --line: #dbe2dd;
  --paper: #f7f8f5;
  --surface: #ffffff;
  --teal: #0f6a58;
  --teal-dark: #0b3f36;
  --blue: #1f4f73;
  --amber: #c4872d;
  --shadow: 0 22px 60px rgba(20, 31, 27, 0.13);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.55;
}

a {
  color: inherit;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  min-height: 76px;
  padding: 0 6vw;
  background: rgba(247, 248, 245, 0.9);
  border-bottom: 1px solid rgba(219, 226, 221, 0.9);
  backdrop-filter: blur(16px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: max-content;
  text-decoration: none;
  font-weight: 800;
}

.brand-mark {
  display: inline-grid;
  width: 40px;
  height: 40px;
  place-items: center;
  border-radius: 8px;
  background: var(--teal-dark);
  color: #fff;
  font-size: 0.82rem;
  letter-spacing: 0;
  box-shadow: 0 10px 24px rgba(15, 106, 88, 0.24);
}

.brand-name {
  letter-spacing: 0;
}

nav {
  display: flex;
  align-items: center;
  gap: 24px;
  color: var(--muted);
  font-size: 0.94rem;
}

nav a {
  text-decoration: none;
}

nav a:hover {
  color: var(--teal-dark);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 0.82fr);
  align-items: center;
  gap: 5vw;
  min-height: calc(100vh - 76px);
  padding: 64px 6vw 72px;
  border-bottom: 1px solid var(--line);
}

.hero-copy,
.section,
.contact-band,
footer {
  max-width: 1180px;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--teal);
  font-size: 0.75rem;
  font-weight: 850;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

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

h1 {
  max-width: 850px;
  margin-bottom: 22px;
  font-size: clamp(2.7rem, 6.2vw, 5.8rem);
  line-height: 0.98;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 16px;
  font-size: clamp(2rem, 3.6vw, 3.9rem);
  line-height: 1.03;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 12px;
  font-size: 1.16rem;
  line-height: 1.25;
}

.hero-text,
.section-heading p,
.service-grid p,
.projects p,
.proof p,
.contact-band p,
.process-list p {
  color: var(--muted);
}

.hero-text {
  max-width: 690px;
  font-size: clamp(1.08rem, 1.45vw, 1.24rem);
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 48px;
  padding: 12px 18px;
  border: 1px solid var(--teal-dark);
  border-radius: 8px;
  font-weight: 780;
  text-decoration: none;
  transition: transform 160ms ease, background 160ms ease, color 160ms ease, border-color 160ms ease;
}

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

.button.primary {
  background: var(--teal-dark);
  color: #fff;
}

.button.secondary {
  background: #fff;
  color: var(--teal-dark);
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  overflow: hidden;
  width: min(100%, 720px);
  margin: 42px 0 0;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--line);
}

.hero-stats div {
  min-height: 112px;
  padding: 20px;
  background: rgba(255, 255, 255, 0.72);
}

.hero-stats dt {
  margin-bottom: 14px;
  color: var(--amber);
  font-weight: 850;
}

.hero-stats dd {
  margin: 0;
  color: var(--ink);
  font-weight: 720;
}

.hero-panel,
.project-media,
.proof-media {
  overflow: hidden;
  border: 1px solid rgba(219, 226, 221, 0.8);
  border-radius: 10px;
  background: #fff;
  box-shadow: var(--shadow);
}

.hero-panel {
  padding: 24px;
}

.panel-top {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding-bottom: 18px;
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 720;
}

.hero-panel img {
  width: 100%;
  padding: 30px 12px;
  border-radius: 8px;
  background: linear-gradient(135deg, #edf3f1, #f8f2e8 55%, #e8eef4);
  filter: drop-shadow(0 24px 32px rgba(18, 31, 24, 0.16));
}

.panel-grid {
  display: grid;
  gap: 1px;
  overflow: hidden;
  margin-top: 18px;
  border-radius: 8px;
  background: var(--line);
}

.panel-grid div {
  display: grid;
  gap: 4px;
  padding: 15px;
  background: var(--surface);
}

.panel-grid span {
  color: var(--muted);
  font-size: 0.92rem;
}

.section {
  margin: 0 auto;
  padding: 88px 6vw;
}

.section-heading {
  max-width: 850px;
  margin-bottom: 40px;
}

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

.service-grid article,
.process-list article {
  min-height: 250px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--surface);
  box-shadow: 0 12px 34px rgba(23, 32, 28, 0.06);
}

.service-number {
  display: inline-grid;
  width: 44px;
  height: 44px;
  margin-bottom: 48px;
  place-items: center;
  border-radius: 8px;
  background: #f8ecd9;
  color: #8f5d17;
  font-weight: 850;
}

.projects,
.proof {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.84fr);
  align-items: center;
  gap: 5vw;
}

.proof {
  grid-template-columns: minmax(320px, 0.84fr) minmax(0, 1fr);
  padding-top: 20px;
}

.project-list {
  display: grid;
  gap: 10px;
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
}

.project-list li {
  position: relative;
  padding: 13px 0 13px 28px;
  border-top: 1px solid var(--line);
  color: var(--ink);
  font-weight: 680;
}

.project-list li::before {
  position: absolute;
  top: 20px;
  left: 0;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--blue);
  content: "";
}

.project-media,
.proof-media {
  padding: 26px;
}

.project-media img,
.proof-media img {
  border-radius: 8px;
}

.process {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

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

.process-list span {
  display: inline-block;
  margin-bottom: 46px;
  color: var(--blue);
  font-size: 0.82rem;
  font-weight: 850;
  text-transform: uppercase;
}

.contact-band {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 42px;
  margin: 36px auto 80px;
  padding: 46px 6vw;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 16px 42px rgba(23, 32, 28, 0.06);
}

.contact-band h2 {
  max-width: 760px;
  font-size: clamp(1.9rem, 3vw, 3.25rem);
}

footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px 30px;
  margin: 0 auto;
  padding: 28px 6vw 42px;
  color: var(--muted);
  font-size: 0.92rem;
}

@media (max-width: 940px) {
  .hero,
  .projects,
  .proof {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
    padding-top: 54px;
  }

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

  .proof-media {
    order: 2;
  }
}

@media (max-width: 700px) {
  .site-header {
    align-items: flex-start;
    flex-direction: column;
    padding-top: 16px;
    padding-bottom: 16px;
  }

  nav {
    width: 100%;
    justify-content: space-between;
    gap: 12px;
    overflow-x: auto;
    padding-bottom: 2px;
  }

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

  .contact-band {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 520px) {
  h1 {
    font-size: 2.9rem;
  }

  .hero,
  .section,
  .contact-band {
    padding-left: 20px;
    padding-right: 20px;
  }

  .hero-panel,
  .project-media,
  .proof-media {
    padding: 18px;
  }

  .button {
    width: 100%;
  }
}
