@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Space+Grotesk:wght@400;500;600;700&display=swap');

:root {
  --ink: #17231f;
  --forest: #18372f;
  --forest-deep: #10251f;
  --paper: #f3f5ef;
  --white: #ffffff;
  --muted: #64716b;
  --line: #d7ddd5;
  --lime: #d7f45b;
  --lime-dark: #bddc43;
  --rust: #c96e52;
  --content: 1180px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "DM Sans", "Segoe UI", sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; }

.site-header {
  position: relative;
  z-index: 5;
  background: var(--white);
  border-bottom: 1px solid rgba(23, 35, 31, 0.1);
}

.header-inner {
  width: min(var(--content), calc(100% - 64px));
  min-height: 82px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 34px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  color: var(--ink);
  text-decoration: none;
  flex: 0 0 auto;
}

.brand-mark {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 9px;
  color: var(--forest-deep);
  background: var(--lime);
  font-family: "Space Grotesk", sans-serif;
  font-size: 22px;
  font-weight: 700;
  line-height: 1;
}

.brand-name {
  display: grid;
  line-height: 1.15;
}

.brand-name strong {
  font-family: "Space Grotesk", sans-serif;
  font-size: 17px;
  font-weight: 700;
}

.brand-name span {
  margin-top: 3px;
  color: var(--muted);
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
}

.primary-nav {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 30px;
}

.primary-nav a,
.header-cta {
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
}

.primary-nav a { color: #43524b; }
.primary-nav a:hover { color: var(--forest); }

.header-cta {
  min-height: 42px;
  padding: 0 16px;
  display: inline-flex;
  align-items: center;
  gap: 13px;
  border: 1px solid var(--forest);
  border-radius: 4px;
  color: var(--forest);
  white-space: nowrap;
}

.header-cta:hover { color: var(--white); background: var(--forest); }

.hero {
  min-height: 660px;
  height: 78vh;
  max-height: 820px;
  position: relative;
  display: flex;
  align-items: center;
  overflow: hidden;
  color: var(--white);
  background: var(--forest-deep);
}

.hero-image,
.hero-shade { position: absolute; inset: 0; width: 100%; height: 100%; }

.hero-image {
  object-fit: cover;
  object-position: center 48%;
}

.hero-shade { background: rgba(10, 28, 23, 0.68); }

.hero-content {
  position: relative;
  z-index: 1;
  width: min(var(--content), calc(100% - 64px));
  margin: 0 auto;
  padding: 48px 0 76px;
}

.eyebrow {
  margin: 0 0 24px;
  display: flex;
  align-items: center;
  gap: 11px;
  color: var(--lime);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
}

.status-dot {
  width: 8px;
  height: 8px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: currentColor;
}

.hero h1,
.section-heading h2,
.approach-intro h2,
.fit-copy h2,
.contact-inner h2 {
  margin: 0;
  font-family: "Space Grotesk", "Segoe UI", sans-serif;
  font-weight: 500;
  letter-spacing: 0;
}

.hero h1 {
  max-width: 760px;
  font-size: 68px;
  line-height: 1.03;
}

.hero h1 span { color: var(--lime); }

.hero-copy {
  max-width: 540px;
  margin: 25px 0 0;
  color: rgba(255, 255, 255, 0.85);
  font-size: 17px;
  line-height: 1.7;
}

.hero-actions {
  margin-top: 31px;
  display: flex;
  align-items: center;
  gap: 24px;
}

.button {
  min-height: 48px;
  padding: 0 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  border-radius: 4px;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  transition: background-color 140ms ease, color 140ms ease, transform 140ms ease;
}

.button:hover { transform: translateY(-2px); }
.button-lime { color: var(--forest-deep); background: var(--lime); }
.button-lime:hover { background: var(--lime-dark); }
.button-quiet { padding-inline: 0; color: var(--white); }
.button-quiet:hover { color: var(--lime); }

.hero-footnote {
  margin-top: 49px;
  display: flex;
  align-items: center;
  gap: 12px;
  color: rgba(255, 255, 255, 0.73);
  font-size: 12px;
}

.hero-footnote span {
  color: var(--lime);
  font-family: "Space Grotesk", sans-serif;
  font-size: 11px;
}

.hero-caption {
  position: absolute;
  z-index: 1;
  right: 32px;
  bottom: 24px;
  left: 32px;
  display: flex;
  justify-content: space-between;
  color: rgba(255, 255, 255, 0.66);
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 1.4px;
}

.service-ribbon {
  min-height: 88px;
  padding: 20px max(32px, calc((100% - var(--content)) / 2));
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  border-bottom: 1px solid var(--line);
  background: var(--white);
}

.ribbon-label {
  color: var(--muted);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
}

.ribbon-items { display: flex; flex-wrap: wrap; gap: 12px 30px; }
.ribbon-items span { font-size: 13px; font-weight: 600; }

.section {
  width: min(var(--content), calc(100% - 64px));
  margin: 0 auto;
  padding: 110px 0;
}

.services-section {
  display: grid;
  grid-template-columns: minmax(250px, 0.8fr) minmax(0, 1.2fr);
  gap: 96px;
}

.eyebrow-dark { color: #586760; }

.section-heading h2,
.fit-copy h2 {
  font-size: 43px;
  line-height: 1.12;
}

.section-heading > p:last-child,
.fit-copy > p:last-child {
  max-width: 390px;
  margin: 20px 0 0;
  color: var(--muted);
  font-size: 15px;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 32px;
}

.service-item {
  min-height: 220px;
  padding: 24px 0;
  border-top: 1px solid #bdc8be;
}

.service-number {
  color: #718078;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1.2px;
}

.service-item h3 {
  margin: 19px 0 9px;
  font-family: "Space Grotesk", sans-serif;
  font-size: 21px;
  font-weight: 600;
}

.service-item p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.65;
}

.service-detail {
  margin-top: 16px;
  display: block;
  color: var(--forest);
  font-size: 11px;
  font-weight: 700;
}

.approach-section {
  padding: 94px 0;
  color: var(--white);
  background: var(--forest);
}

.approach-inner {
  width: min(var(--content), calc(100% - 64px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 90px;
}

.approach-intro h2,
.contact-inner h2 {
  font-size: 46px;
  line-height: 1.1;
}

.approach-intro > p:last-child {
  max-width: 390px;
  margin: 22px 0 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: 15px;
}

.approach-steps {
  margin: 0;
  padding: 0;
  list-style: none;
}

.approach-steps li {
  padding: 20px 0;
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.26);
}

.approach-steps li:last-child { border-bottom: 1px solid rgba(255, 255, 255, 0.26); }
.approach-steps li > span { color: var(--lime); font-size: 11px; font-weight: 700; }
.approach-steps h3 { margin: 0; font-family: "Space Grotesk", sans-serif; font-size: 18px; }
.approach-steps p { margin: 5px 0 0; color: rgba(255, 255, 255, 0.72); font-size: 13px; }

.fit-section {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 90px;
  align-items: center;
}

.fit-copy h2 span { color: #506b48; }

.fit-list {
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid #bdc8be;
}

.fit-list li {
  padding: 17px 0;
  border-bottom: 1px solid #bdc8be;
  font-size: 14px;
  font-weight: 600;
}

.contact-section {
  padding: 88px 0;
  color: var(--white);
  background: var(--forest-deep);
}

.contact-inner {
  width: min(var(--content), calc(100% - 64px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 80px;
  align-items: end;
}

.contact-action p {
  max-width: 470px;
  margin: 0 0 22px;
  color: rgba(255, 255, 255, 0.74);
  font-size: 14px;
}

.contact-note {
  margin-top: 14px;
  display: block;
  color: rgba(255, 255, 255, 0.6);
  font-size: 11px;
}

.site-footer {
  min-height: 94px;
  padding: 18px max(32px, calc((100% - var(--content)) / 2));
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  background: #0c1a16;
  color: var(--white);
}

.brand-footer .brand-name strong { color: var(--white); }
.brand-footer .brand-name span { color: rgba(255, 255, 255, 0.6); }
.brand-footer .brand-mark { width: 32px; height: 32px; font-size: 18px; }
.footer-copy, .footer-copyright { color: rgba(255, 255, 255, 0.66); font-size: 11px; }

:focus-visible { outline: 3px solid var(--rust); outline-offset: 3px; }

@media (max-width: 900px) {
  .header-inner { width: calc(100% - 40px); gap: 20px; }
  .primary-nav { gap: 18px; }
  .services-section, .approach-inner, .fit-section, .contact-inner { gap: 48px; }
  .section { width: calc(100% - 48px); padding: 86px 0; }
}

@media (max-width: 680px) {
  .header-inner {
    width: calc(100% - 36px);
    min-height: 74px;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 12px;
    padding: 12px 0;
  }
  .brand { gap: 8px; }
  .brand-mark { width: 34px; height: 34px; font-size: 19px; }
  .brand-name strong { font-size: 15px; }
  .brand-name span { font-size: 9px; }
  .header-cta { min-height: 36px; padding: 0 9px; gap: 6px; font-size: 11px; }
  .primary-nav {
    order: 3;
    width: 100%;
    margin: 0;
    padding: 4px 0 0;
    justify-content: space-between;
    gap: 14px;
    overflow-x: auto;
  }
  .primary-nav a { flex: 0 0 auto; font-size: 12px; }
  .hero { height: 72vh; min-height: 570px; max-height: 720px; }
  .hero-image { object-position: 57% center; }
  .hero-shade { background: rgba(10, 28, 23, 0.74); }
  .hero-content { width: calc(100% - 40px); padding: 35px 0 70px; }
  .eyebrow { margin-bottom: 20px; font-size: 10px; }
  .hero h1 { font-size: 43px; }
  .hero-copy { max-width: 430px; margin-top: 20px; font-size: 15px; }
  .hero-actions { margin-top: 25px; flex-wrap: wrap; gap: 10px 20px; }
  .hero-footnote { margin-top: 33px; font-size: 11px; }
  .hero-caption { right: 20px; bottom: 16px; left: 20px; font-size: 8px; letter-spacing: 0.8px; }
  .service-ribbon { padding: 22px 20px; align-items: flex-start; flex-direction: column; gap: 14px; }
  .ribbon-items { gap: 10px 18px; }
  .ribbon-items span { font-size: 12px; }
  .section { width: calc(100% - 40px); padding: 68px 0; }
  .services-section, .approach-inner, .fit-section, .contact-inner { grid-template-columns: 1fr; gap: 38px; }
  .section-heading h2, .fit-copy h2 { font-size: 34px; }
  .services-grid { grid-template-columns: 1fr; }
  .service-item { min-height: 0; padding: 20px 0 24px; }
  .approach-section { padding: 68px 0; }
  .approach-inner, .contact-inner { width: calc(100% - 40px); }
  .approach-intro h2, .contact-inner h2 { font-size: 37px; }
  .approach-steps li { gap: 11px; }
  .fit-section { padding-block: 70px; }
  .contact-section { padding: 68px 0; }
  .site-footer { padding: 22px 20px; align-items: flex-start; flex-direction: column; gap: 14px; }
  .footer-copy, .footer-copyright { font-size: 10px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: 0.01ms !important; }
}