@font-face {
  font-family: "Manrope";
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url("manrope-latin.woff2") format("woff2");
}

:root {
  --ink: #12161a;
  --body: #2e353c;
  --muted: #5d6670;
  --line: #e1e5e3;
  --bg: #ffffff;
  --surface: #f3f5f4;
  --green: #1e5b47;
  --green-dark: #164536;
  --green-soft: #e2eee8;
  --coral: #e2603f;
  --coral-soft: #fbe7e1;
  --night: #0f1714;
  --max: 1180px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 84px; }

body {
  margin: 0;
  font-family: "Manrope", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  color: var(--body);
  background: var(--bg);
  font-size: 17px;
  line-height: 1.6;
  letter-spacing: 0;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1, h2, h3 { color: var(--ink); margin: 0; line-height: 1.12; letter-spacing: 0; }
p { margin: 0; }
a { color: inherit; }
img { display: block; max-width: 100%; }

.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 24px; }

.icon {
  width: 20px; height: 20px; flex: none;
  fill: none; stroke: currentColor; stroke-width: 2;
  stroke-linecap: round; stroke-linejoin: round;
}

.skip {
  position: absolute; left: -9999px; top: 12px; z-index: 50;
  background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 8px;
}
.skip:focus { left: 16px; }

:focus-visible { outline: 3px solid var(--coral); outline-offset: 3px; border-radius: 4px; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 20;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: saturate(1.4) blur(10px);
  -webkit-backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid var(--line);
}
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: 68px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; font-weight: 800; font-size: 18px; white-space: nowrap; }
.brand-mark { width: 32px; height: 32px; flex: none; }
.nav { display: flex; gap: 28px; }
.nav a { color: var(--muted); text-decoration: none; font-weight: 600; font-size: 15px; transition: color 0.15s; }
.nav a:hover { color: var(--ink); }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: 50px; padding: 0 22px; border-radius: 8px; border: 1px solid transparent;
  font: inherit; font-weight: 700; font-size: 16px; text-decoration: none; white-space: nowrap;
  cursor: pointer; transition: background 0.15s, border-color 0.15s, color 0.15s;
}
.btn .icon { width: 18px; height: 18px; }
.btn-primary { background: var(--green); color: #fff; }
.btn-primary:hover { background: var(--green-dark); }
.btn-secondary { background: #fff; color: var(--ink); border-color: #c9d1cd; }
.btn-secondary:hover { border-color: var(--ink); }
.btn-light { background: #fff; color: var(--green); }
.btn-light:hover { background: var(--coral-soft); }
.btn-sm { height: 40px; padding: 0 16px; font-size: 15px; gap: 8px; }
.label-short { display: none; }

/* Hero */
.hero {
  position: relative; overflow: hidden; display: flex; align-items: center;
  min-height: clamp(540px, calc(100svh - 190px), 760px);
  background: #eeece8;
}
.hero-media { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 62% 50%; }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(90deg, rgba(255,255,255,0.95) 0%, rgba(255,255,255,0.86) 36%, rgba(255,255,255,0.25) 58%, rgba(255,255,255,0) 70%);
}
.hero .wrap { position: relative; z-index: 2; }
.hero-copy { max-width: 580px; padding: 56px 0; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; font-size: 14px; font-weight: 700; color: var(--green); text-transform: uppercase; }
.eyebrow::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--coral); }
.hero h1 { font-size: 76px; font-weight: 800; margin: 18px 0 20px; }
.lead { font-size: 20px; line-height: 1.55; color: var(--body); max-width: 530px; margin-bottom: 32px; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-meta { display: flex; flex-wrap: wrap; gap: 8px 22px; margin-top: 36px; font-size: 14px; font-weight: 600; color: var(--muted); }
.hero-meta span { display: inline-flex; align-items: center; gap: 7px; }
.hero-meta .icon { width: 16px; height: 16px; color: var(--green); }

/* Sections */
.section { padding: 88px 0; }
.section-first { padding-top: 64px; }
.band { background: var(--surface); }
.kicker { display: block; margin-bottom: 12px; font-size: 14px; font-weight: 700; color: var(--coral); text-transform: uppercase; }
.section-head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 20px 64px; align-items: end; margin-bottom: 44px; }
.section-head h2 { font-size: 44px; font-weight: 800; }
.section-head p { color: var(--muted); font-size: 18px; max-width: 520px; }

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

.service {
  display: flex; flex-direction: column; gap: 14px; padding: 28px;
  background: #fff; border: 1px solid var(--line); border-radius: 8px;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.service:hover { border-color: #c4d3cb; box-shadow: 0 10px 28px rgba(18, 22, 26, 0.06); }
.service-icon { width: 46px; height: 46px; border-radius: 8px; display: grid; place-items: center; background: var(--green-soft); color: var(--green); }
.service-icon .icon { width: 22px; height: 22px; }
.service h3 { font-size: 21px; font-weight: 750; }
.service p { color: var(--muted); font-size: 16px; }
.ticks { list-style: none; margin: auto 0 0; padding: 16px 0 0; border-top: 1px solid var(--line); display: grid; gap: 8px; font-size: 15px; font-weight: 600; }
.ticks li { display: flex; align-items: flex-start; gap: 10px; }
.ticks .icon { width: 16px; height: 16px; margin-top: 4px; color: var(--coral); }

.engagement { display: flex; flex-direction: column; gap: 14px; padding: 28px; background: #fff; border: 1px solid var(--line); border-radius: 8px; }
.engagement-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.engagement-top .icon { width: 26px; height: 26px; color: var(--green); }
.tag { font-size: 13px; font-weight: 700; color: var(--green); background: var(--green-soft); padding: 4px 11px; border-radius: 999px; white-space: nowrap; }
.engagement h3 { font-size: 22px; }
.engagement p { color: var(--muted); font-size: 16px; }
.note { display: flex; align-items: flex-start; gap: 10px; margin-top: 28px; font-size: 15px; color: var(--muted); }
.note .icon { width: 18px; height: 18px; margin-top: 3px; color: var(--green); }

.split { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 64px; align-items: center; }
.split-media { aspect-ratio: 4 / 3; border-radius: 8px; overflow: hidden; background: var(--surface); }
.split-media img { width: 100%; height: 100%; object-fit: cover; }
.split h2 { font-size: 44px; font-weight: 800; }
.steps { list-style: none; margin: 32px 0 0; padding: 0; }
.steps li { display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 18px; padding: 20px 0; border-top: 1px solid var(--line); }
.steps li:last-child { border-bottom: 1px solid var(--line); }
.step-num { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; border: 1.5px solid var(--green); color: var(--green); font-weight: 800; font-size: 15px; }
.steps h3 { font-size: 19px; margin-bottom: 4px; }
.steps p { color: var(--muted); font-size: 16px; }

.work-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.case { display: flex; flex-direction: column; gap: 12px; padding: 28px; border: 1px solid var(--line); border-radius: 8px; background: #fff; }
.case h3 { font-size: 20px; }
.case p { color: var(--muted); font-size: 16px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { font-size: 13px; font-weight: 700; padding: 4px 11px; border-radius: 999px; background: var(--surface); color: var(--body); }
.case-feature {
  grid-column: 1 / -1; display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 48px; align-items: center;
  padding: 44px; background: var(--night); border-color: var(--night); color: #c3cec8;
}
.case-feature h3 { color: #fff; font-size: 30px; margin: 14px 0 12px; }
.case-feature p { color: #c3cec8; font-size: 17px; }
.case-feature .chip { background: rgba(255, 255, 255, 0.09); color: #e5ece8; }
.stats { display: grid; gap: 22px; }
.stat { border-left: 3px solid var(--coral); padding-left: 18px; }
.stat span { display: block; font-size: 14px; font-weight: 600; color: #9fb0a8; }
.stat strong { display: block; color: #fff; font-size: 32px; font-weight: 800; line-height: 1.2; }
.fine { font-size: 13px; color: #8d9c95; }

.company { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 64px; align-items: start; }
.company h2 { font-size: 44px; font-weight: 800; margin-bottom: 22px; }
.company-copy p { font-size: 18px; margin-bottom: 16px; }
.facts { margin: 0; background: #fff; border: 1px solid var(--line); border-radius: 8px; overflow: hidden; }
.facts div { display: grid; grid-template-columns: 170px minmax(0, 1fr); gap: 16px; padding: 16px 22px; border-bottom: 1px solid var(--line); }
.facts div:last-child { border-bottom: 0; }
.facts dt { font-size: 14px; font-weight: 700; color: var(--muted); }
.facts dd { margin: 0; color: var(--ink); font-weight: 600; overflow-wrap: anywhere; }
.facts a { color: var(--green); }

.contact { background: var(--green); color: #dcebe4; }
.contact .wrap { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 40px; align-items: center; padding-top: 80px; padding-bottom: 80px; }
.contact h2 { color: #fff; font-size: 40px; font-weight: 800; }
.contact p { margin-top: 14px; font-size: 18px; max-width: 640px; }
.contact-cta { display: grid; justify-items: center; gap: 12px; }
.contact-mail { color: #fff; font-weight: 600; font-size: 15px; overflow-wrap: anywhere; }

.site-footer { background: var(--night); color: #9fb0a8; font-size: 14px; }
.site-footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 32px; padding-top: 28px; padding-bottom: 28px; }
.site-footer a { color: #e5ece8; text-decoration: none; }
.site-footer a:hover { text-decoration: underline; }
.footer-links { display: flex; gap: 24px; }

/* Legal page */
.legal { max-width: 760px; padding-top: 64px; padding-bottom: 88px; }
.legal h1 { font-size: 44px; font-weight: 800; margin-bottom: 10px; }
.legal h2 { font-size: 24px; margin: 40px 0 12px; }
.legal p, .legal li { color: var(--body); }
.legal p + p { margin-top: 12px; }
.legal ul { padding-left: 20px; margin: 12px 0 0; }
.legal .updated { color: var(--muted); font-size: 15px; }
.back { display: inline-flex; align-items: center; gap: 8px; margin-bottom: 28px; color: var(--green); font-weight: 700; text-decoration: none; }
.back .icon { width: 18px; height: 18px; transform: rotate(180deg); }

@media (max-width: 1040px) {
  .nav { gap: 20px; }
  .grid-3, .work-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .section-head, .split, .company, .case-feature { grid-template-columns: minmax(0, 1fr); }
  .section-head { align-items: start; }
  .split, .company { gap: 40px; }
  .case-feature { gap: 28px; }
}

@media (max-width: 860px) {
  .nav { display: none; }
}

@media (max-width: 680px) {
  body { font-size: 16px; }
  .wrap { padding: 0 20px; }
  .site-header .wrap { height: 62px; }
  .label-long { display: none; }
  .label-short { display: inline; }
  .hero { display: flex; flex-direction: column; align-items: stretch; min-height: 0; background: #fff; }
  .hero::before { display: none; }
  .hero .wrap { order: 1; }
  .hero-media { position: relative; order: 2; height: 220px; object-position: 70% 60%; }
  .hero-copy { padding: 36px 0 28px; }
  .hero h1 { font-size: 50px; margin: 14px 0 16px; }
  .lead { font-size: 18px; margin-bottom: 26px; }
  .hero-meta { margin-top: 24px; }
  .section { padding: 64px 0; }
  .section-first { padding-top: 32px; }
  .section-head { margin-bottom: 32px; }
  .section-head h2, .split h2, .company h2, .legal h1 { font-size: 34px; }
  .grid-3, .work-grid { grid-template-columns: minmax(0, 1fr); }
  .service, .engagement, .case { padding: 24px; }
  .case-feature { padding: 28px 24px; }
  .case-feature h3 { font-size: 24px; }
  .stat strong { font-size: 27px; }
  .facts div { grid-template-columns: minmax(0, 1fr); gap: 2px; padding: 14px 18px; }
  .contact .wrap { grid-template-columns: minmax(0, 1fr); padding-top: 60px; padding-bottom: 60px; gap: 28px; }
  .contact h2 { font-size: 30px; }
  .contact-cta { justify-items: start; }
  .site-footer .wrap { flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}
