:root {
  --ground: #F4EFE6;
  --surface: #FBF8F2;
  --ink: #2B2620;
  --body: #4A433B;
  --muted: #6B6157;
  --line: #E4DCCD;
  --line-strong: #CFC5B5;
  --accent: #4D5B45;
  --accent-hover: #3D4937;
  --on-dark: #D9D0C2;
  --radius-pill: 999px;
  --max: 1080px;
}

*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

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

body {
  margin: 0;
  background: var(--ground);
  color: var(--ink);
  font-family: 'Manrope', system-ui, -apple-system, 'Segoe UI', sans-serif;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--ink); }
a:hover { color: var(--accent); }
a:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }

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

h1 {
  font-size: clamp(40px, 6.4vw, 76px);
  line-height: 1.04;
  letter-spacing: -0.035em;
  font-weight: 600;
  max-width: 900px;
}

h2 {
  font-size: clamp(30px, 3.6vw, 42px);
  line-height: 1.1;
  letter-spacing: -0.025em;
  font-weight: 600;
}

h3 { font-size: 21px; font-weight: 600; }

.container {
  max-width: var(--max);
  margin: 0 auto;
  padding-left: 24px;
  padding-right: 24px;
}

.section {
  padding-top: 104px;
  padding-bottom: 104px;
  display: flex;
  flex-direction: column;
  gap: 48px;
}

.band { background: var(--surface); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.band-bottom { border-bottom: 0; }

.lead { font-size: 20px; line-height: 1.6; color: var(--body); max-width: 680px; }

.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 24px; }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 48px;
  padding: 0 26px;
  border-radius: var(--radius-pill);
  font-size: 16px;
  font-weight: 600;
  text-decoration: none;
  transition: background-color .15s ease, color .15s ease, border-color .15s ease;
}
.btn-sm { min-height: 44px; padding: 0 20px; font-size: 15px; }
.btn-primary { background: var(--accent); color: #FFFFFF; }
.btn-primary:hover { background: var(--accent-hover); color: #FFFFFF; }
.btn-outline { border: 1px solid var(--line-strong); font-weight: 500; }
.btn-outline:hover { border-color: var(--ink); color: var(--ink); }
.btn-light { background: var(--ground); color: var(--ink); }
.btn-light:hover { background: #FFFFFF; color: var(--ink); }
.btn-ghost { border: 1px solid var(--muted); color: var(--ground); font-weight: 500; }
.btn-ghost:hover { border-color: var(--ground); color: #FFFFFF; }

.text-link { font-size: 16px; font-weight: 500; }

/* Nav */
.nav {
  padding-top: 28px;
  padding-bottom: 28px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.brand-mark {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: var(--ink);
  color: var(--ground);
  font-weight: 700;
  font-size: 16px;
}
.brand-name { font-weight: 600; font-size: 17px; }
.nav-links { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 28px; font-size: 15px; }
.nav-links a:not(.btn) { text-decoration: none; }

/* Hero */
.hero {
  padding-top: 96px;
  padding-bottom: 112px;
  display: flex;
  flex-direction: column;
  gap: 28px;
}
.hero .actions { margin-top: 8px; }
.eyebrow { font-size: 15px; font-weight: 500; color: var(--muted); }

/* Services */
.services {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 290px), 1fr));
  gap: 56px 48px;
}
.service { display: flex; flex-direction: column; gap: 20px; }
.service p { font-size: 16px; line-height: 1.6; color: var(--body); }
.pillar-head { display: flex; flex-direction: column; gap: 6px; }
.pillar-head h3 { font-size: 28px; letter-spacing: -0.02em; }
.pillar-head p { color: var(--muted); }
.offer { display: flex; flex-direction: column; gap: 6px; border-top: 1px solid var(--line); padding-top: 16px; }
.offer h4 { margin: 0; font-size: 17px; font-weight: 600; }
.service .tools { font-size: 14px; color: var(--muted); }
.icon {
  width: 32px;
  height: 32px;
  fill: none;
  stroke: var(--accent);
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.icon-sm {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* Projects */
.section-head { display: flex; flex-direction: column; gap: 12px; }
.section-head .sub { font-size: 18px; line-height: 1.6; color: var(--body); max-width: 600px; }
#projects.section,
#services .section { gap: 40px; }
.projects {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 460px), 1fr));
  gap: 24px;
}
.project {
  background: var(--ink);
  color: var(--ground);
  border-radius: 24px;
  padding: clamp(32px, 5vw, 56px);
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 32px;
}
.project-body { flex: 1 1 400px; min-width: 0; display: flex; flex-direction: column; gap: 16px; }
.project-label { font-size: 13px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: var(--on-dark); }
.project h3 { font-size: clamp(30px, 3.6vw, 44px); letter-spacing: -0.03em; }
.project-body > p:last-child { font-size: 18px; line-height: 1.6; color: var(--on-dark); max-width: 520px; }
.project .actions { gap: 12px; }

/* About */
.about {
  padding-bottom: 104px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.about > * { max-width: 720px; }
.about > p { font-size: 18px; line-height: 1.65; color: var(--body); }
.certs { border-top: 1px solid var(--line); padding-top: 20px; display: flex; flex-direction: column; gap: 10px; }
.certs .label { font-size: 13px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); }
.certs ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; font-size: 16px; }
.certs .note { font-size: 14px; color: var(--muted); }

/* Contact */
.contact { align-items: flex-start; gap: 24px; }
.contact h2 { font-size: clamp(34px, 4.6vw, 56px); line-height: 1.05; letter-spacing: -0.03em; max-width: 720px; }
.contact .lead { font-size: 19px; max-width: 560px; }

/* Footer */
.footer { background: var(--surface); border-top: 1px solid var(--line); }
.footer-inner {
  padding-top: 28px;
  padding-bottom: 28px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 16px;
  font-size: 14px;
  color: var(--muted);
}
.footer a { color: var(--muted); }
.footer a:hover { color: var(--ink); }
