:root {
  --ink: #081713;
  --paper: #f4f2ea;
  --paper-2: #eae8de;
  --green: #23d18b;
  --green-dark: #0c6a4b;
  --blue: #7cc4ff;
  --muted: #5f6a65;
  --line: rgba(8, 23, 19, 0.16);
  --mono: "DM Mono", monospace;
  --sans: "Manrope", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
}
a { color: inherit; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1240px;
  margin: 0 auto;
  padding: 16px 24px;
  background: rgba(244, 242, 234, 0.9);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(14px);
}
.brand { display: flex; align-items: center; gap: 11px; font-weight: 800; text-decoration: none; }
.brand-mark {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  color: var(--paper);
  background: var(--ink);
  font-family: var(--mono);
  font-size: 13px;
}
nav { display: flex; align-items: center; gap: 28px; }
nav a { font-size: 14px; font-weight: 700; text-decoration: none; }
.nav-cta { padding: 9px 16px; color: var(--paper); background: var(--ink); }

.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(320px, .7fr);
  gap: 48px;
  max-width: 1240px;
  margin: 0 auto;
  padding: 96px 24px 82px;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0 24px;
  z-index: -1;
  background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 46px 46px;
  mask-image: linear-gradient(to right, transparent, rgba(0,0,0,.2), transparent);
  opacity: .45;
}
.eyebrow {
  margin: 0 0 18px;
  font-family: var(--mono);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: .09em;
  text-transform: uppercase;
}
.status-dot { display: inline-block; width: 9px; height: 9px; margin-right: 8px; background: var(--green-dark); border-radius: 50%; }
h1 {
  max-width: 880px;
  margin: 0;
  font-size: clamp(3.2rem, 7vw, 6.7rem);
  line-height: .96;
  letter-spacing: -.07em;
}
.hero-lead { max-width: 760px; margin: 32px 0 0; font-size: clamp(1.1rem, 2vw, 1.35rem); line-height: 1.55; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 12px 20px;
  border: 1px solid var(--ink);
  font-weight: 800;
  text-decoration: none;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
}
.button:hover { transform: translate(-2px, -2px); box-shadow: 5px 5px 0 var(--ink); }
.primary { color: var(--ink); background: var(--green); }
.secondary { background: var(--paper); }
.availability { margin: 20px 0 0; color: var(--muted); font-family: var(--mono); font-size: 13px; }

.hero-panel { align-self: end; padding: 24px; color: var(--paper); background: var(--ink); box-shadow: 12px 12px 0 var(--green); }
.panel-label { margin: 0 0 10px; color: var(--green); font-family: var(--mono); font-size: 12px; letter-spacing: .1em; }
.capability { display: grid; grid-template-columns: 36px 1fr; gap: 10px; padding: 19px 0; border-top: 1px solid rgba(255,255,255,.18); }
.capability > span { color: var(--green); font-family: var(--mono); font-size: 12px; }
.capability strong, .capability small { display: block; }
.capability strong { font-size: 16px; }
.capability small { margin-top: 3px; color: #bdc8c3; font-size: 12px; }

.proof-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  max-width: 1240px;
  margin: 0 auto;
  border: 1px solid var(--ink);
  background: var(--blue);
}
.proof-strip div { display: flex; flex-direction: column; min-height: 130px; padding: 24px; border-right: 1px solid var(--ink); }
.proof-strip div:last-child { border-right: 0; }
.proof-strip strong { font-size: 2rem; line-height: 1; }
.proof-strip span { margin-top: auto; font-size: 14px; font-weight: 600; }

.section { max-width: 1240px; margin: 0 auto; padding: 112px 24px; }
.section-heading { display: grid; grid-template-columns: .55fr 1.2fr 1fr; gap: 34px; align-items: start; margin-bottom: 52px; }
.section-heading h2 { margin: 0; font-size: clamp(2.2rem, 4vw, 4.3rem); line-height: 1.02; letter-spacing: -.055em; }
.section-heading > p:last-child { margin: 0; color: var(--muted); font-size: 17px; }
.service-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.service-card { display: flex; flex-direction: column; min-height: 480px; padding: 32px; border: 1px solid var(--ink); background: transparent; }
.service-card.featured { background: #d8f5e8; }
.service-number { margin: 0 0 48px; color: var(--green-dark); font-family: var(--mono); font-size: 12px; letter-spacing: .08em; }
.service-card h3 { margin: 0; font-size: 2rem; line-height: 1.1; }
.service-card > p:not(.service-number) { max-width: 600px; color: var(--muted); }
.service-card ul { margin: 18px 0 36px; padding: 0; list-style: none; }
.service-card li { padding: 9px 0; border-bottom: 1px solid var(--line); font-weight: 600; }
.service-card li::before { content: "+"; margin-right: 10px; color: var(--green-dark); font-family: var(--mono); }
.price { display: grid; grid-template-columns: 1fr auto; align-items: end; margin-top: auto; padding-top: 20px; border-top: 1px solid var(--ink); }
.price span, .price small { font-family: var(--mono); font-size: 11px; }
.price strong { font-size: 1.5rem; }
.price small { grid-column: 1 / -1; margin-top: 5px; color: var(--muted); }

.contrast { max-width: none; padding-right: max(24px, calc((100vw - 1192px)/2)); padding-left: max(24px, calc((100vw - 1192px)/2)); color: var(--paper); background: var(--ink); }
.section-heading.light > p:last-child { color: #bdc8c3; }
.contrast .eyebrow { color: var(--green); }
.case-list { display: grid; grid-template-columns: repeat(2, 1fr); border-top: 1px solid rgba(255,255,255,.22); border-left: 1px solid rgba(255,255,255,.22); }
.case { min-height: 330px; padding: 32px; border-right: 1px solid rgba(255,255,255,.22); border-bottom: 1px solid rgba(255,255,255,.22); }
.case-meta { color: var(--green); font-family: var(--mono); font-size: 12px; letter-spacing: .06em; }
.case h3 { max-width: 520px; margin: 40px 0 12px; font-size: 1.75rem; line-height: 1.15; }
.case > p:not(.case-meta) { color: #bdc8c3; }
.tags { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 24px; }
.tags span { padding: 4px 9px; border: 1px solid rgba(255,255,255,.28); font-family: var(--mono); font-size: 11px; }

.project-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.project-card { position: relative; min-height: 300px; padding: 28px; border: 1px solid var(--ink); text-decoration: none; transition: background .18s ease, transform .18s ease; }
.project-card:hover { transform: translateY(-4px); background: #dceeff; }
.project-card > p:first-of-type { margin: 0; color: var(--green-dark); font-family: var(--mono); font-size: 12px; }
.project-card h3 { margin: 62px 0 10px; font-size: 2rem; }
.project-card p { max-width: 520px; color: var(--muted); }
.project-card small { position: absolute; bottom: 28px; font-family: var(--mono); font-size: 11px; }
.project-arrow { position: absolute; top: 22px; right: 24px; font-size: 1.7rem; }
.text-link { display: inline-block; margin-top: 28px; font-weight: 800; text-underline-offset: 5px; }

.process { padding-top: 40px; }
.steps { display: grid; grid-template-columns: repeat(4, 1fr); margin: 0; padding: 0; border-top: 1px solid var(--ink); border-left: 1px solid var(--ink); list-style: none; }
.steps li { min-height: 250px; padding: 24px; border-right: 1px solid var(--ink); border-bottom: 1px solid var(--ink); }
.steps li > span { font-family: var(--mono); font-size: 12px; }
.steps li div { margin-top: 70px; }
.steps strong { font-size: 1.25rem; }
.steps p { margin-bottom: 0; color: var(--muted); font-size: 14px; }

.contact { display: grid; grid-template-columns: 1.35fr .65fr; gap: 60px; padding: 90px max(24px, calc((100vw - 1192px)/2)); color: var(--paper); background: var(--green-dark); }
.contact h2 { max-width: 850px; margin: 0; font-size: clamp(2.5rem, 5vw, 5rem); line-height: 1; letter-spacing: -.06em; }
.contact p:not(.eyebrow) { max-width: 720px; color: #d8e9e2; font-size: 17px; }
.contact-actions { display: flex; flex-direction: column; justify-content: center; gap: 12px; }
.light-button { background: var(--green); }
.ghost { color: var(--paper); border-color: rgba(255,255,255,.6); }
.contact .button:hover { box-shadow: 5px 5px 0 var(--paper); }

footer { display: flex; justify-content: space-between; padding: 28px max(24px, calc((100vw - 1192px)/2)); color: #aebbb6; background: var(--ink); font-family: var(--mono); font-size: 12px; }

@media (max-width: 900px) {
  nav a:not(.nav-cta) { display: none; }
  .hero { grid-template-columns: 1fr; padding-top: 68px; }
  .hero-panel { max-width: 620px; }
  .proof-strip { grid-template-columns: repeat(2, 1fr); margin: 0 24px; }
  .proof-strip div:nth-child(2) { border-right: 0; }
  .proof-strip div:nth-child(-n+2) { border-bottom: 1px solid var(--ink); }
  .section-heading { grid-template-columns: 1fr; gap: 16px; }
  .service-grid, .case-list, .project-grid, .contact { grid-template-columns: 1fr; }
  .steps { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 560px) {
  .site-header { padding: 12px 16px; }
  .brand > span:last-child { display: none; }
  .hero, .section { padding-right: 16px; padding-left: 16px; }
  .hero { padding-top: 52px; padding-bottom: 62px; }
  h1 { font-size: clamp(3rem, 15vw, 4.5rem); }
  .hero-panel { margin-right: 8px; }
  .button { width: 100%; }
  .proof-strip { grid-template-columns: 1fr; margin: 0 16px; }
  .proof-strip div { min-height: 105px; border-right: 0; border-bottom: 1px solid var(--ink); }
  .proof-strip div:last-child { border-bottom: 0; }
  .service-grid, .case-list, .project-grid, .steps { grid-template-columns: 1fr; }
  .service-card { min-height: 0; padding: 24px; }
  .service-number { margin-bottom: 30px; }
  .case { min-height: 0; padding: 24px; }
  .case h3 { margin-top: 32px; }
  .project-card { min-height: 285px; }
  .steps li { min-height: 210px; }
  .contact { padding: 72px 16px; }
  footer { flex-direction: column; gap: 4px; padding: 24px 16px; }
  footer p { margin: 0; }
}

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