:root {
  --ink: #133536;
  --ink-deep: #0b2728;
  --paper: #f7f8f3;
  --white: #ffffff;
  --lime: #eaf776;
  --soft: #e5ece8;
  --muted: #557071;
  --line: #ccdad5;
  --radius: 1.35rem;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "DM Sans", sans-serif;
  font-size: 1rem;
  line-height: 1.65;
}
a { color: inherit; }
.site-header {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  min-height: 92px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}
.brand { display: inline-flex; align-items: center; gap: .8rem; text-decoration: none; font-weight: 700; }
.brand-mark {
  width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center;
  background: var(--ink); color: var(--lime); font: 700 .85rem/1 "Manrope", sans-serif;
}
nav { display: flex; align-items: center; gap: 1.6rem; }
nav a { text-decoration: none; font-weight: 600; font-size: .94rem; }
.nav-cta { padding: .68rem 1rem; border: 1px solid var(--ink); border-radius: 999px; }

main { overflow: hidden; }
.hero {
  width: min(1180px, calc(100% - 40px));
  margin: 7rem auto 8rem;
  display: block;
}
.eyebrow { margin: 0 0 1rem; font-weight: 700; font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; }
h1, h2, h3 { font-family: "Manrope", sans-serif; letter-spacing: -.04em; line-height: 1.08; }
h1 { max-width: 1000px; margin: 0; font-size: clamp(3.5rem, 9vw, 7.8rem); }
.hero-lede { max-width: 650px; margin: 2rem 0 0; color: var(--muted); font-size: clamp(1.1rem, 1.8vw, 1.3rem); }
.hero-actions { margin-top: 2.2rem; display: flex; align-items: center; gap: 1.6rem; flex-wrap: wrap; }
.button { display: inline-flex; align-items: center; justify-content: center; text-decoration: none; font-weight: 700; border-radius: 999px; padding: .95rem 1.35rem; transition: transform .2s ease, background .2s ease; }
.button:hover { transform: translateY(-2px); }
.button.primary { background: var(--ink); color: var(--white); }
.button.primary:hover { background: var(--ink-deep); }
.services { width: min(1180px, calc(100% - 40px)); margin: 0 auto; padding: 7rem 0; border-top: 1px solid var(--line); }
.section-heading { display: grid; grid-template-columns: .7fr 1.3fr; gap: 2rem; margin-bottom: 3rem; }
h2 { margin: 0; font-size: clamp(2.3rem, 5vw, 4.5rem); }
.service-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.service-card { position: relative; min-height: 300px; display: flex; flex-direction: column; padding: 1.7rem 0; border-top: 2px solid var(--ink); background: transparent; }
.service-number { margin: 0 0 auto; font-size: .8rem; font-weight: 700; }
.service-card h3 { margin: 4rem 0 1rem; font-size: 1.7rem; }
.service-card > p:not(.service-number) { color: #3f5b5c; }
.about { width: min(1180px, calc(100% - 40px)); margin: 0 auto 7rem; padding: 6rem 0; display: grid; grid-template-columns: 1fr 1fr; gap: clamp(3rem, 7vw, 7rem); border-top: 1px solid var(--line); }
.about h2 { font-size: clamp(2.2rem, 4vw, 3.7rem); }
.about-copy { padding-top: 1.8rem; font-size: 1.08rem; }
.about-copy p:first-child { margin-top: 0; font-weight: 600; font-size: 1.2rem; }

.contact { background: var(--ink); color: var(--white); text-align: center; padding: 6rem max(20px, calc((100vw - 920px)/2)); }
.contact h2 { max-width: 920px; margin: 0 auto; }
.contact > p:not(.eyebrow) { max-width: 650px; margin: 1.5rem auto 2rem; color: #c3d5d5; font-size: 1.1rem; }
.button.light { background: var(--lime); color: var(--ink); }

footer { width: min(1180px, calc(100% - 40px)); margin: 0 auto; padding: 2rem 0; display: flex; justify-content: space-between; gap: 1rem; color: var(--muted); font-size: .9rem; }
footer p { margin: 0; }

@media (max-width: 850px) {
  nav > a:not(.nav-cta) { display: none; }
  .hero { margin-top: 4rem; }
  .section-heading, .about { grid-template-columns: 1fr; }
  .service-grid { grid-template-columns: 1fr; }
  .service-card { min-height: auto; }
  .service-card h3 { margin-top: 2.5rem; }
  .about { padding: 4rem 0; }
}

@media (max-width: 560px) {
  .site-header { min-height: 78px; }
  .brand span:last-child { font-size: .9rem; }
  .nav-cta { padding: .55rem .75rem; font-size: .82rem; }
  .hero { margin-bottom: 4rem; }
  h1 { font-size: clamp(2.8rem, 15vw, 4.2rem); }
  .services { padding: 5rem 0; }
  footer { flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .button { transition: none; }
}
