:root {
  --ink: #102a24;
  --green: #153f35;
  --accent: #6f9f4c;
  --soft-green: #e8eee4;
  --cream: #f3efe6;
  --paper: #fbfaf6;
  --muted: #5c6e68;
  --line: #d6dfd8;
  --white: #ffffff;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "DM Sans", sans-serif;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; }
button, input, textarea { font: inherit; }
.shell { width: min(1180px, calc(100% - 48px)); margin-inline: auto; }

.nav {
  height: 88px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.logo {
  color: var(--ink);
  font: 700 20px "Manrope", sans-serif;
  letter-spacing: -0.6px;
  text-decoration: none;
}
.logo span { color: var(--accent); }
.nav nav { display: flex; align-items: center; gap: 30px; }
.nav nav a,
.text-link,
footer a {
  color: var(--ink);
  font-size: 14px;
  text-decoration: none;
}
.nav nav a:hover,
.text-link:hover,
footer a:hover { color: var(--accent); }

.button {
  display: inline-flex;
  gap: 16px;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 14px 20px;
  background: var(--green);
  color: var(--white);
  border: 1px solid var(--green);
  border-radius: 6px;
  box-shadow: 0 8px 22px #153f351c;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s;
}
.button:hover { transform: translateY(-2px); box-shadow: 0 12px 26px #153f3528; }
.button span { color: #c7e4b4; }
.button-small { min-height: 42px; padding: 10px 16px; }
.button-light { background: var(--white); color: var(--green); border-color: var(--white); }
.button-light span { color: var(--accent); }
.button-dark { background: var(--ink); border-color: var(--ink); }

.eyebrow,
.section-label {
  display: flex;
  gap: 10px;
  align-items: center;
  color: #526b63;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 1.6px;
  text-transform: uppercase;
}
.eyebrow span { width: 24px; height: 2px; flex: 0 0 auto; background: var(--accent); }
.section-label.light { color: #abc0b9; }
.section { padding-block: 112px; }

.hero {
  width: min(1280px, calc(100% - 32px));
  min-height: 690px;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(430px, 0.95fr);
  grid-template-areas: "copy visual" "trust trust";
  gap: 34px 52px;
  align-items: center;
  position: relative;
  isolation: isolate;
  overflow: hidden;
  margin-top: 16px;
  padding: 62px 58px 38px;
  background: linear-gradient(132deg, #173f35 0%, #12362e 58%, #0c2c26 100%);
  border: 1px solid #285448;
  border-radius: 20px 20px 92px 20px;
  color: var(--white);
}
.hero::after {
  content: "";
  width: 470px;
  height: 470px;
  position: absolute;
  z-index: -1;
  right: -175px;
  bottom: -245px;
  background: #78a85a;
  border-radius: 50%;
  opacity: 0.16;
}
.hero-copy { grid-area: copy; position: relative; z-index: 2; }
.hero .eyebrow { color: #b9cbc5; }
.hero-copy h1 {
  max-width: 660px;
  margin: 24px 0;
  color: var(--white);
  font: 600 clamp(44px, 4.2vw, 61px) / 1.07 "Manrope", sans-serif;
  letter-spacing: -3.2px;
}
.hero-copy h1 em { color: #9fc97e; font-style: normal; }
.lead {
  max-width: 610px;
  margin: 0;
  color: #c6d3ce;
  font-size: 18px;
  line-height: 1.65;
}
.hero-actions { display: flex; gap: 28px; align-items: center; margin-top: 32px; }
.hero .button {
  background: var(--white);
  color: var(--green);
  border-color: var(--white);
  box-shadow: 0 12px 28px #061d183d;
}
.hero .button span { color: var(--accent); }
.hero .text-link { color: var(--white); }
.hero .text-link:hover { color: #b6d89f; }
.text-link { font-weight: 600; }
.text-link span { margin-left: 8px; }
.hero-project-note {
  display: block;
  max-width: 520px;
  margin-top: 27px;
  color: #b8c8c2;
  font-size: 14px;
  line-height: 1.5;
  text-decoration: none;
}
.hero-project-note span { margin-right: 8px; color: #a7cf88; font-weight: 600; }
.hero-project-note:hover { color: var(--white); }

.hero-visual {
  grid-area: visual;
  min-width: 0;
  height: 490px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: visible;
}
.hero-visual::before {
  content: "";
  position: absolute;
  inset: 36px -24px 24px 72px;
  border: 1px solid #ffffff1f;
  border-radius: 112px 14px 112px 14px;
}
.example-label {
  position: absolute;
  z-index: 3;
  top: 22px;
  left: 54px;
  color: #b8cac3;
  font-size: 11px;
  letter-spacing: 1.25px;
  text-transform: uppercase;
}
.practice-browser {
  width: 96%;
  max-width: 590px;
  overflow: hidden;
  position: relative;
  z-index: 2;
  background: var(--white);
  border: 1px solid #ffffff88;
  border-radius: 11px;
  box-shadow: 0 32px 72px #061b165e;
  transform: translate(7px, 18px) rotate(-0.65deg);
}
.browser-bar {
  height: 31px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  background: #eef0ec;
  border-bottom: 1px solid #dde2dc;
}
.browser-bar div { display: flex; gap: 5px; position: absolute; left: 12px; }
.browser-bar i { width: 6px; height: 6px; background: #bec7c0; border-radius: 50%; }
.browser-bar span { color: #75827d; font-size: 9px; }
.practice-preview { height: 315px; overflow: hidden; position: relative; background: #dfe6da; }
.practice-preview > img { width: 100%; height: 100%; display: block; object-fit: cover; }
.practice-overlay { position: absolute; inset: 0; background: linear-gradient(90deg, #173a31e8 0%, #173a31c7 42%, #173a3130 76%, transparent 100%); }
.practice-navigation {
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  padding: 17px 20px;
  color: var(--white);
  font-size: 7px;
}
.practice-navigation b { font: 600 10px "Manrope", sans-serif; }
.practice-navigation span { color: #e0e8e4; }
.practice-copy { max-width: 68%; position: absolute; top: 78px; left: 24px; color: var(--white); }
.practice-copy small { color: #c9ddbb; font-size: 7px; letter-spacing: 1px; text-transform: uppercase; }
.practice-copy h2 { margin: 11px 0 9px; font: 600 28px / 1.08 "Manrope", sans-serif; letter-spacing: -1.3px; }
.practice-copy p { max-width: 245px; margin: 0 0 16px; color: #e0e8e4; font-size: 8px; line-height: 1.45; }
.practice-button { display: inline-block; padding: 8px 11px; background: #f5f2e9; color: var(--green); border-radius: 3px; font-size: 7px; font-weight: 600; }
.practice-trust { position: absolute; right: 20px; bottom: 15px; color: #edf3ef; font-size: 7px; }

.trust-row {
  grid-area: trust;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  position: relative;
  z-index: 2;
  overflow: hidden;
  background: #ffffff0b;
  border: 1px solid #ffffff1c;
  border-radius: 8px;
}
.trust-row div { padding: 18px 22px; border-right: 1px solid #ffffff1c; text-align: center; }
.trust-row div:first-child { text-align: left; }
.trust-row div:last-child { border-right: 0; text-align: right; }
.trust-row strong { color: #e5ece9; font-size: 14px; font-weight: 600; }

.problem { background: var(--soft-green); }
.problem-intro { display: grid; grid-template-columns: 1.08fr 0.92fr; gap: 90px; align-items: end; margin-top: 24px; }
.problem h2,
.section-head h2,
.project h2,
.about h2,
.contact h2 {
  margin: 0;
  font: 600 clamp(34px, 4vw, 52px) / 1.14 "Manrope", sans-serif;
  letter-spacing: -2.2px;
}
.problem-intro > p,
.section-head > p,
.about p,
.contact-copy > p,
.project-copy > p {
  margin: 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.75;
}
.problem-list { margin-top: 58px; border-top: 1px solid #c9d6cc; }
.problem-list article { display: grid; grid-template-columns: 70px 1fr; gap: 12px; padding: 25px 0; border-bottom: 1px solid #c9d6cc; }
.problem-list article > span { color: var(--accent); font-size: 13px; font-weight: 600; }
.problem-list h3 { margin: 0 0 6px; font: 600 19px "Manrope", sans-serif; }
.problem-list p { margin: 0; color: var(--muted); font-size: 15px; line-height: 1.65; }

.services { background: var(--paper); }
.section-head { display: flex; justify-content: space-between; align-items: end; gap: 50px; }
.section-head h2 { max-width: 760px; margin-top: 20px; }
.section-head > p { max-width: 370px; }
.service-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 54px; }
.service-grid article { min-height: 400px; padding: 34px 29px; position: relative; background: var(--white); border: 1px solid var(--line); border-radius: 8px; }
.service-grid article.featured { background: var(--cream); }
.number { position: absolute; top: 27px; right: 27px; color: #7c8c86; font-size: 12px; }
.service-grid h3 { max-width: 250px; margin: 48px 0 17px; font: 600 23px "Manrope", sans-serif; }
.service-grid p { margin: 0; color: var(--muted); font-size: 15px; line-height: 1.68; }
.service-grid ul,
.project-copy ul,
.about-points { margin: 23px 0 0; padding: 20px 0 0; border-top: 1px solid var(--line); list-style: none; }
.service-grid li,
.project-copy li,
.about-points li { margin: 11px 0; font-size: 14px; line-height: 1.45; }
.service-grid li::before,
.project-copy li::before,
.about-points li::before { content: "✓"; margin-right: 9px; color: var(--accent); }
.service-note { max-width: 780px; margin: 30px 0 0; color: var(--muted); font-size: 14px; line-height: 1.6; }

.project { background: var(--cream); }
.project-grid { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: 70px; align-items: center; }
.project h2 { margin-top: 22px; }
.project-copy > p { margin-top: 24px; }
.project-meta { margin-top: 23px; color: var(--accent); font-size: 12px; font-weight: 600; letter-spacing: 1px; text-transform: uppercase; }
.project-copy ul { border-color: #d8d1c4; }
.project-copy .button { margin-top: 22px; }
.project-frame { overflow: hidden; background: var(--white); border: 1px solid #d8d1c4; border-radius: 10px; box-shadow: 0 28px 58px #20352e1f; text-decoration: none; transform: rotate(0.7deg); }
.project-frame img { width: 100%; display: block; aspect-ratio: 16 / 10; object-fit: cover; object-position: top; }

.process { background: var(--green); color: var(--white); }
.process-head { display: flex; justify-content: space-between; align-items: end; gap: 50px; }
.process-head h2 { max-width: 700px; margin: 22px 0 0; font: 600 clamp(38px, 4.6vw, 58px) / 1.1 "Manrope", sans-serif; letter-spacing: -2.8px; }
.process-head p { max-width: 390px; margin: 0; color: #b6c7c1; font-size: 16px; line-height: 1.7; }
.steps { display: grid; grid-template-columns: repeat(4, 1fr); margin-top: 64px; border-top: 1px solid #ffffff24; }
.steps article { min-width: 0; padding: 31px 27px 0 0; }
.steps article + article { padding-left: 27px; border-left: 1px solid #ffffff24; }
.steps span { color: #b9d9a4; font-size: 13px; font-weight: 600; }
.steps h3 { min-height: 56px; margin: 20px 0 11px; font: 600 19px / 1.35 "Manrope", sans-serif; }
.steps p { margin: 0; color: #b6c7c1; font-size: 14px; line-height: 1.65; }

.about { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: 100px; align-items: center; }
.portrait { height: 510px; display: grid; place-items: center; overflow: hidden; position: relative; background: var(--cream); border: 1px solid #e3ded2; border-radius: 7px; }
.portrait::before { content: "Founder Portrait"; position: absolute; top: 22px; left: 25px; color: #7d8c86; font-size: 11px; letter-spacing: 1.4px; text-transform: uppercase; }
.portrait-shape { width: 350px; height: 350px; position: absolute; background: #dbe8d2; border-radius: 48% 52% 32% 68% / 61% 32% 68% 39%; transform: rotate(20deg); }
.portrait > span { position: relative; z-index: 1; color: var(--green); font: 600 108px "Manrope", sans-serif; letter-spacing: -8px; }
.portrait small { position: absolute; z-index: 2; bottom: 22px; left: 25px; color: #4e625b; font-size: 13px; line-height: 1.5; }
.about-copy h2 { margin: 21px 0 27px; }
.about-copy > p + p { margin-top: 14px; }
.about-points { display: grid; grid-template-columns: 1fr 1fr; gap: 0 20px; }
.signature { display: flex; flex-direction: column; gap: 5px; margin-top: 27px; }
.signature strong { font: 600 16px "Manrope", sans-serif; }
.signature span { color: var(--muted); font-size: 14px; }

.contact { background: var(--soft-green); }
.contact-grid { display: grid; grid-template-columns: 0.95fr 1.05fr; gap: 90px; align-items: start; }
.contact h2 { margin-top: 23px; }
.contact-copy > p { max-width: 550px; margin-top: 24px; }
.mail-link { display: inline-block; margin-top: 30px; color: var(--ink); font-size: 16px; font-weight: 600; text-underline-offset: 5px; }
.contact-form { padding: 34px; background: var(--white); border: 1px solid #d4ddd5; border-radius: 9px; box-shadow: 0 20px 44px #314b4012; }
.contact-form label { display: flex; flex-direction: column; gap: 8px; margin-bottom: 17px; color: #425851; font-size: 14px; font-weight: 600; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.contact-form input,
.contact-form textarea { width: 100%; padding: 13px 14px; background: #fbfaf7; color: var(--ink); border: 1px solid #cfd9d1; border-radius: 5px; outline: none; font-size: 16px; }
.contact-form textarea { resize: vertical; }
.contact-form input:focus,
.contact-form textarea:focus { border-color: var(--accent); box-shadow: 0 0 0 3px #6f9f4c1c; }
.contact-form .button { width: 100%; margin-top: 5px; }
.form-note { margin: 12px 0 0; color: #71817b; font-size: 12px; line-height: 1.5; text-align: center; }

footer { display: grid; grid-template-columns: 1fr 1.35fr 1.1fr auto; gap: 28px; align-items: center; padding-block: 30px 44px; color: #667871; border-top: 1px solid var(--line); font-size: 12px; }
footer p { margin: 0; font-size: 13px; }
footer div { display: flex; gap: 18px; }
footer a { font-size: 13px; }

@media (max-width: 980px) {
  .nav nav { display: none; }
  .hero { grid-template-columns: 1fr; grid-template-areas: "copy" "visual" "trust"; padding: 60px 48px 38px; }
  .hero-copy h1 { max-width: 780px; }
  .hero-visual { width: 100%; height: 480px; }
  .hero-visual::before { inset: 42px 3% 18px 15%; }
  .example-label { left: 13%; }
  .practice-browser { width: 78%; }
  .problem-intro,
  .project-grid,
  .about,
  .contact-grid { grid-template-columns: 1fr; gap: 52px; }
  .section-head,
  .process-head { display: block; }
  .section-head > p,
  .process-head p { max-width: 620px; margin-top: 23px; }
  .service-grid { grid-template-columns: 1fr; }
  .service-grid article { min-height: 0; }
  .steps { grid-template-columns: 1fr 1fr; }
  .steps article:nth-child(3) { padding-left: 0; border-left: 0; }
  .steps article:nth-child(n+3) { padding-top: 34px; margin-top: 34px; border-top: 1px solid #ffffff24; }
  .project-frame { order: -1; }
  .about { gap: 48px; }
  .portrait { max-width: 520px; }
  footer { grid-template-columns: 1fr 1fr; }
  footer p { display: none; }
}

@media (max-width: 600px) {
  .shell { width: min(calc(100% - 28px), 1180px); }
  .nav { height: 72px; }
  .logo { font-size: 17px; }
  .button-small { min-height: 40px; padding: 9px 13px; }
  .section { padding-block: 82px; }
  .hero { width: calc(100% - 16px); min-height: auto; gap: 34px; margin-top: 8px; padding: 43px 20px 20px; border-radius: 14px 14px 58px 14px; }
  .hero-copy h1 { margin: 20px 0; font-size: 39px; line-height: 1.08; letter-spacing: -2.1px; }
  .lead { font-size: 17px; }
  .hero-actions { flex-direction: column; align-items: flex-start; gap: 18px; }
  .hero-project-note span { display: block; margin: 0 0 3px; }
  .hero-visual { height: 330px; }
  .hero-visual::before { inset: 30px -10px 5px 28px; border-radius: 70px 9px 70px 9px; }
  .example-label { top: 9px; left: 8px; font-size: 9px; }
  .practice-browser { width: 96%; transform: translate(2px, 15px) rotate(-0.4deg); }
  .practice-preview { height: 235px; }
  .practice-navigation { padding: 13px 14px; }
  .practice-navigation span { display: none; }
  .practice-copy { max-width: 76%; top: 62px; left: 16px; }
  .practice-copy h2 { font-size: 22px; }
  .practice-copy p { max-width: 195px; }
  .practice-trust { right: 13px; bottom: 11px; }
  .trust-row { grid-template-columns: 1fr; }
  .trust-row div,
  .trust-row div:first-child,
  .trust-row div:last-child { padding: 14px 16px; border-right: 0; border-bottom: 1px solid #ffffff1c; text-align: left; }
  .trust-row div:last-child { border-bottom: 0; }
  .problem-intro { gap: 24px; }
  .problem h2,
  .section-head h2,
  .project h2,
  .about h2,
  .contact h2 { font-size: 34px; letter-spacing: -1.5px; }
  .problem-list { margin-top: 40px; }
  .problem-list article { grid-template-columns: 45px 1fr; }
  .service-grid { margin-top: 38px; }
  .service-grid article { padding: 29px 24px; }
  .service-grid h3 { margin-top: 40px; }
  .project-grid { gap: 38px; }
  .project-frame { transform: none; }
  .process-head h2 { font-size: 38px; letter-spacing: -2px; }
  .steps { grid-template-columns: 1fr; }
  .steps article,
  .steps article + article,
  .steps article:nth-child(3),
  .steps article:nth-child(n+3) { min-height: 0; margin-top: 0; padding: 28px 0; border: 0; border-bottom: 1px solid #ffffff24; }
  .steps h3 { min-height: 0; margin-top: 12px; }
  .portrait { height: 390px; }
  .portrait > span { font-size: 90px; }
  .about-points { grid-template-columns: 1fr; }
  .contact-grid { gap: 38px; }
  .contact-form { padding: 24px 18px; }
  .form-row { grid-template-columns: 1fr; gap: 0; }
  footer { grid-template-columns: 1fr; gap: 16px; }
  footer div { order: 3; flex-wrap: wrap; }
}
