:root {
  --ink: #1c2421;
  --muted: #56635f;
  --forest: #26332f;
  --forest-2: #384a45;
  --sage: #75978d;
  --sage-dark: #5a756d;
  --paper: #ffffff;
  --mist: #f4f6f5;
  --line: #dfe5e3;
  --blue: #5271ff;
  --red: #ff3131;
  --yellow: #ffde59;
  --radius: 14px;
  --wrap: 1120px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font: 17px/1.65 "Cabin", system-ui, sans-serif;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}
h1, h2, .brand, .btn { font-family: "Ubuntu", system-ui, sans-serif; }
h1, h2 { line-height: 1.15; margin: 0 0 .5em; letter-spacing: -0.01em; }
h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); font-weight: 700; }
h2 { font-size: clamp(1.7rem, 3.2vw, 2.4rem); font-weight: 700; }
a { color: inherit; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }

.eyebrow {
  text-transform: uppercase; letter-spacing: .14em; font-size: .78rem;
  font-weight: 600; color: var(--sage-dark); margin: 0 0 .8em;
}

.btn {
  display: inline-block; border: 0; cursor: pointer;
  background: var(--blue); color: #fff; text-decoration: none;
  font-weight: 500; font-size: 1rem;
  padding: .85em 1.6em; border-radius: 999px;
  transition: transform .15s ease, background .15s ease;
}
.btn:hover { background: #3d5cf0; transform: translateY(-1px); }
.btn:focus-visible, a:focus-visible, input:focus-visible, textarea:focus-visible {
  outline: 3px solid var(--yellow); outline-offset: 2px;
}
.btn-sm { padding: .5em 1.2em; font-size: .92rem; }

/* Nav */
.nav {
  position: sticky; top: 0; z-index: 10;
  background: rgba(255,255,255,.92); backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.brand { text-decoration: none; font-weight: 700; font-size: 1.35rem; letter-spacing: .01em; }
.brand-2 { color: #545454; margin-left: .25em; }
.q-blue { color: var(--blue); } .q-red { color: var(--red); } .q-yellow { color: #f2c500; }
nav { display: flex; gap: 28px; align-items: center; }
nav a:not(.btn) { text-decoration: none; color: var(--muted); font-weight: 500; }
nav a:not(.btn):hover { color: var(--ink); }

/* Hero */
.hero { background: var(--forest); color: #fff; overflow: hidden; }
.hero-inner {
  display: grid; grid-template-columns: 1.15fr .85fr; gap: 48px;
  align-items: center; padding-top: 96px; padding-bottom: 104px;
}
.hero .eyebrow { color: var(--sage); }
.lede { font-size: 1.2rem; color: #cfdad6; margin: 0 0 2em; max-width: 34ch; }
.hero-art { display: flex; justify-content: center; }
.grid { width: 100%; max-width: 360px; height: auto; }
.grid rect { transition: opacity .6s ease; }

/* About */
.about { padding: 112px 0; }
.about-inner { display: grid; grid-template-columns: .9fr 1.1fr; gap: 64px; }
.about-copy p { margin: 0 0 1.2em; color: var(--muted); font-size: 1.08rem; }
.about-copy em { color: var(--ink); font-style: normal; font-weight: 600; }
.steps { list-style: none; padding: 0; margin: 2em 0 0; display: grid; gap: 14px; }
.steps li {
  display: flex; align-items: center; gap: 14px;
  padding: 16px 20px; background: var(--mist); border-radius: var(--radius);
}
.dot { width: 14px; height: 14px; border-radius: 4px; flex: none; }
.dot.b { background: var(--blue); } .dot.r { background: var(--red); } .dot.y { background: var(--yellow); }

/* Client story */
.story { padding: 112px 0; border-top: 1px solid var(--line); }
.story h2 { max-width: 22ch; }
.story-intro { color: var(--muted); font-size: 1.12rem; max-width: 60ch; margin: 0 0 48px; }
.story-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.story-card { background: var(--mist); border-radius: var(--radius); padding: 28px; }
.story-card .dot { display: block; margin-bottom: 18px; }
.story-card h3 { font-family: "Ubuntu", system-ui, sans-serif; font-size: 1.15rem; margin: 0 0 10px; }
.story-card p, .story-card ul { margin: 0; color: var(--muted); }
.story-card ul { padding-left: 1.1em; display: grid; gap: 6px; }
.testimonial {
  margin: 56px 0 0; padding: 48px 56px; background: var(--forest); color: #dbe4e1;
  border-radius: var(--radius); position: relative;
}
.testimonial blockquote { margin: 0; }
.testimonial blockquote p { margin: 0 0 1.1em; max-width: 72ch; }
.testimonial .pull {
  font-family: "Ubuntu", system-ui, sans-serif; font-weight: 500; color: #fff;
  font-size: clamp(1.25rem, 2.2vw, 1.6rem); line-height: 1.4; margin-bottom: 1.4em; max-width: 48ch;
}
.testimonial figcaption { color: var(--sage); font-weight: 600; margin-top: 8px; }

/* Contact */
.contact { background: var(--mist); padding: 112px 0; }
.contact-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: start; }
.contact-info p { color: var(--muted); }
dl { margin: 2em 0 0; display: grid; grid-template-columns: auto 1fr; gap: 10px 24px; }
dt { font-weight: 600; }
dd { margin: 0; color: var(--muted); }
dd a { color: var(--blue); }
.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 32px; display: grid; gap: 18px;
  box-shadow: 0 10px 30px rgba(38,51,47,.06);
}
label { display: grid; gap: 6px; font-weight: 600; font-size: .95rem; }
input, textarea {
  font: inherit; font-weight: 400; color: var(--ink);
  border: 1px solid var(--line); border-radius: 10px; padding: 12px 14px;
  background: #fff; resize: vertical;
}
input:focus, textarea:focus { border-color: var(--sage); }
.card .btn { justify-self: start; }
.hp { display: none; }
.form-status { margin: 0; min-height: 1.4em; font-size: .95rem; }
.form-status.ok { color: #1f7a4d; }
.form-status.err { color: #c02626; }

/* Footer */
.footer { background: var(--forest); color: #b9c6c2; font-size: .92rem; }
.footer-inner { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding: 28px 24px; }
.footer a { color: #fff; text-decoration: none; }

@media (max-width: 860px) {
  .hero-inner, .about-inner, .contact-inner { grid-template-columns: minmax(0, 1fr); gap: 40px; }
  .hero-inner { padding-top: 64px; padding-bottom: 72px; }
  .hero-art { order: -1; }
  .grid { max-width: 220px; }
  .about, .contact, .story { padding: 80px 0; }
  .story-grid { grid-template-columns: minmax(0, 1fr); }
  .testimonial { padding: 32px 24px; }
  nav a:not(.btn) { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .grid rect, .btn { transition: none; }
}

/* Approach */
.approach { padding: 112px 0; background: var(--mist); }
.approach h2 { max-width: 24ch; }
.approach-intro { color: var(--muted); font-size: 1.12rem; max-width: 62ch; margin: 0 0 56px; }
.phases {
  list-style: none; margin: 0; padding: 0;
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px;
  counter-reset: none; position: relative;
}
.phase {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px 24px; display: flex; flex-direction: column;
}
.phase-num {
  display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 10px;
  font-family: "Ubuntu", system-ui, sans-serif; font-weight: 700; font-size: .95rem; margin-bottom: 20px;
}
.phase-num.b { background: var(--blue); color: #fff; }
.phase-num.r { background: var(--red); color: #fff; }
.phase-num.y { background: var(--yellow); color: var(--forest); }
.phase-num.g { background: var(--sage); color: #fff; }
.phase h3 { font-family: "Ubuntu", system-ui, sans-serif; font-size: 1.15rem; margin: 0 0 10px; }
.phase p { margin: 0 0 16px; color: var(--muted); font-size: .97rem; }
.phase .phase-out {
  margin: auto 0 0; padding-top: 16px; border-top: 1px solid var(--line);
  font-size: .92rem; color: var(--ink);
}
.principles {
  margin-top: 48px; padding: 36px 40px; background: #fff;
  border: 1px solid var(--line); border-radius: var(--radius);
}
.principles h3 { font-family: "Ubuntu", system-ui, sans-serif; font-size: 1.15rem; margin: 0 0 20px; }
.principles ul {
  list-style: none; margin: 0; padding: 0;
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 40px;
}
.principles li { color: var(--muted); padding-left: 22px; position: relative; }
.principles li::before {
  content: ""; position: absolute; left: 0; top: .55em; width: 10px; height: 10px;
  border-radius: 3px; background: var(--sage);
}
.principles strong { color: var(--ink); }

@media (max-width: 1024px) {
  .phases { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 860px) {
  .approach { padding: 80px 0; }
  .phases, .principles ul { grid-template-columns: minmax(0, 1fr); }
  .principles { padding: 28px 24px; }
}
