:root {
  --ink: #172920;
  --forest: #17382c;
  --forest-deep: #122c23;
  --leaf: #2f5746;
  --muted: #4c5c52;
  --cream: #f6f6ee;
  --white: #fff;
  --offwhite: #fbfcf7;
  --mint: #eaf0e6;
  --lime: #d7f48c;
  --line: #dce3d8;
  --radius: 20px;
  --page: 1216px;
  --gutter: clamp(22px, 5vw, 76px);
  color: var(--ink);
  font-family: "Instrument Sans", Inter, Arial, sans-serif;
  font-synthesis: none;
  scroll-behavior: smooth;
}

*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; background: var(--offwhite); }
[hidden] { display: none !important; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
button { cursor: pointer; }
a, button, input, textarea, select, summary { -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 3px solid #438467; outline-offset: 4px; }
:target { scroll-margin-top: 92px; }
h1, h2, h3, p, figure, ol, ul { margin: 0; }
h1, h2, h3 { text-wrap: balance; }
p { line-height: 1.55; }
.container { width: min(var(--page), 100% - var(--gutter) * 2); margin-inline: auto; }
.icon-library { position: absolute; inline-size: 0; block-size: 0; overflow: hidden; }
.icon {
  display: block;
  width: 22px;
  height: 22px;
  flex: 0 0 auto;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.65;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.skip-link {
  position: fixed;
  z-index: 5;
  top: 12px;
  left: 12px;
  transform: translateY(-150%);
  padding: 12px 16px;
  background: var(--lime);
  color: var(--forest-deep);
  border-radius: 8px;
}
.skip-link:focus { transform: translateY(0); }

.site-header {
  position: sticky;
  top: 0;
  z-index: 3;
  background: var(--cream);
  border-bottom: 1px solid #dedfd5;
}
.header-inner {
  min-height: 77px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 1.47rem;
  font-weight: 750;
  letter-spacing: -.065em;
  white-space: nowrap;
}
.brand-symbol {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  color: var(--lime);
  background: var(--forest);
}
.brand-symbol svg { width: 27px; height: 27px; }
.brand-second { color: var(--leaf); }
.site-header nav { display: flex; align-items: center; gap: clamp(20px, 3.2vw, 46px); }
.site-header nav a { font-size: .92rem; font-weight: 650; transition: color .2s ease; }
.site-header nav a:hover { color: #3c7255; }
.menu-toggle, .site-header nav .mobile-contact { display: none; }

.button {
  display: inline-flex;
  min-height: 50px;
  width: fit-content;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 12px 18px;
  border: 1px solid transparent;
  border-radius: 8px;
  font-size: .94rem;
  font-weight: 750;
  line-height: 1.2;
  white-space: nowrap;
  transition: background .2s ease, color .2s ease, border-color .2s ease;
}
.button .icon { width: 18px; height: 18px; stroke-width: 1.8; }
.button-nav { min-height: 43px; border-color: #9eafa2; color: var(--forest); }
.button-nav:hover { background: var(--forest); color: white; border-color: var(--forest); }
.button-primary { background: var(--forest); color: white; }
.button-primary:hover { background: #275642; }
.button-primary:disabled { opacity: .65; cursor: wait; }
.text-link {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  width: fit-content;
  font-weight: 750;
  font-size: .95rem;
  color: var(--forest);
}
.text-link .icon { width: 18px; height: 18px; transition: transform .2s ease; }
.text-link:hover .icon, .service-link:hover .icon { transform: translateX(4px); }

.hero { background: var(--cream); padding: 56px 0 65px; }
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.04fr);
  align-items: center;
  gap: clamp(28px, 4.6vw, 68px);
}
.eyebrow {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: .71rem;
  font-weight: 770;
  line-height: 1.45;
  letter-spacing: .115em;
  text-transform: uppercase;
  color: var(--leaf);
}
.eyebrow-dot { width: 9px; height: 9px; flex: 0 0 9px; border-radius: 50%; background: #7dae68; }
.hero h1 {
  margin-top: 18px;
  font-size: clamp(2.7rem, 4.72vw, 4.3rem);
  font-weight: 730;
  line-height: .99;
  letter-spacing: -.076em;
  text-wrap: wrap;
}
.hero h1 span, .hero h1 em { display: block; }
.hero h1 em { font-family: Georgia, serif; font-weight: 400; color: #37634f; letter-spacing: -.072em; white-space: nowrap; }
.hero-description { margin-top: 22px; color: var(--muted); font-size: clamp(1.02rem, 1.5vw, 1.19rem); max-width: 43ch; }
.hero-actions { margin-top: 28px; display: flex; flex-wrap: wrap; align-items: center; gap: 17px 24px; }
.hero-location { margin-top: 23px; display: flex; align-items: center; gap: 6px; color: var(--muted); font-size: .82rem; font-weight: 600; }
.hero-location .icon { width: 16px; height: 16px; }
.hero-photo {
  overflow: hidden;
  border-radius: 22px;
  align-self: stretch;
  min-height: 430px;
  position: relative;
  background: #cfb79e;
}
.hero-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 56% 50%; position: absolute; inset: 0; }

.section { padding: clamp(65px, 7.1vw, 101px) 0; }
.section-heading { margin-bottom: 32px; }
.heading-split {
  display: grid;
  align-items: end;
  grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr);
  gap: 16px 56px;
}
.section h2 {
  margin-top: 10px;
  font-size: clamp(2.25rem, 4.2vw, 3.7rem);
  letter-spacing: -.072em;
  font-weight: 725;
  line-height: 1.015;
}
.heading-split > p { font-size: 1.055rem; color: var(--muted); max-width: 37ch; padding-bottom: 3px; justify-self: end; }
.services { background: var(--offwhite); }
.services-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.service-card {
  display: flex;
  flex-direction: column;
  min-width: 0;
  min-height: 227px;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 22px;
  background: var(--white);
  transition: border-color .2s ease, background .2s ease;
}
.service-card:hover, .service-card:focus-within { border-color: #9bb89f; background: #fdfff9; }
.service-icon { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 11px; color: var(--forest); background: #edf4e6; }
.service-card h3 { margin-top: 17px; font-size: clamp(1.02rem, 1.55vw, 1.29rem); letter-spacing: -.035em; line-height: 1.19; text-wrap: wrap; }
.service-card p { margin: 8px 0 17px; color: var(--muted); font-size: .94rem; }
.service-link { display: inline-flex; align-items: center; gap: 7px; width: fit-content; margin-top: auto; font-size: .82rem; font-weight: 750; color: var(--forest); }
.service-link .icon { width: 16px; height: 16px; transition: transform .2s ease; }

.industries { color: #f6f9ef; background: var(--forest-deep); }
.industries .eyebrow { color: #c4dfac; }
.industries .eyebrow-dot { background: var(--lime); }
.industries .heading-split > p { color: #c2d5c8; }
.industries :focus-visible { outline-color: var(--lime); }
.industry-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 12px;
}
.industry-tabs button {
  border: 1px solid #557365;
  border-radius: 7px;
  padding: 11px 15px;
  background: transparent;
  color: #e5f0e7;
  font-size: .93rem;
  font-weight: 680;
  transition: background .2s ease, color .2s ease;
}
.industry-tabs button:hover { background: #274d3c; }
.industry-tabs button[aria-selected="true"] { background: var(--lime); color: var(--forest-deep); border-color: var(--lime); }
.industry-panel {
  min-height: 331px;
  display: grid;
  align-items: center;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.13fr);
  gap: clamp(22px, 5vw, 70px);
  border-radius: 17px;
  border: 1px solid #435f52;
  background: #1c3b30;
  padding: clamp(23px, 4.2vw, 52px);
}
.industry-copy h3 { font-size: clamp(1.65rem, 3vw, 2.65rem); line-height: 1.09; letter-spacing: -.058em; }
.industry-copy > p { margin-top: 13px; color: #c9dbce; }
.industry-copy .text-link { color: var(--lime); margin-top: 20px; }
.workflow ol { list-style: none; padding: 0; display: grid; gap: 14px; }
.workflow li { display: grid; grid-template-columns: 22px 1fr; column-gap: 8px; align-items: start; }
.workflow li::before { content: "↳"; grid-row: span 2; color: var(--lime); font-size: 1.05rem; font-weight: 700; }
.workflow li strong { font-size: .98rem; line-height: 1.25; }
.workflow li span { color: #c9dbce; font-size: .88rem; margin-top: 3px; line-height: 1.42; }
.measure { border-top: 1px solid #577064; padding-top: 12px; margin-top: 16px; color: #e2ece3; font-size: .85rem; }
.measure strong { color: var(--lime); margin-right: 7px; }

.approach { background: var(--offwhite); }
.approach-steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(13px, 2.3vw, 32px);
  list-style: none;
  padding: 0;
}
.approach-steps li { padding: 15px 0 2px; border-top: 2px solid #c9d9c8; }
.step-number { color: var(--leaf); font-weight: 750; font-size: .81rem; font-variant-numeric: tabular-nums; }
.approach-steps h3 { margin: 10px 0 5px; font-size: 1.24rem; letter-spacing: -.035em; }
.approach-steps p { color: var(--muted); font-size: .94rem; }

.about { background: var(--mint); }
.about-grid, .contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr);
  gap: clamp(34px, 6.5vw, 95px);
}
.about-grid { align-items: center; }
.about-copy > p { color: var(--muted); max-width: 54ch; font-size: 1.07rem; }
.credentials { display: flex; list-style: none; padding: 0; margin-top: 18px; flex-wrap: wrap; gap: 8px; }
.credentials li { background: #f5f8f0; border: 1px solid #c8d8c7; color: var(--forest); border-radius: 6px; padding: 7px 10px; font-size: .82rem; font-weight: 690; }

.contact { background: var(--cream); }
.contact-copy > p:not(.eyebrow) { color: var(--muted); margin: 15px 0 28px; max-width: 44ch; font-size: 1.06rem; }
.contact-copy details { border-top: 1px solid #d6ddd2; padding: 14px 0; font-size: .95rem; }
.contact-copy details:last-child { border-bottom: 1px solid #d6ddd2; }
.contact-copy summary { cursor: pointer; font-weight: 700; }
.contact-copy details p { margin-top: 7px; padding-left: 15px; color: var(--muted); }
.contact-form { background: var(--white); border: 1px solid var(--line); border-radius: 16px; padding: clamp(18px, 3.1vw, 34px); }
.contact-form h3 { margin-bottom: 18px; font-size: 1.35rem; letter-spacing: -.04em; }
.form-fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.form-fields label { display: block; min-width: 0; font-size: .88rem; font-weight: 720; }
.field-wide { grid-column: 1 / -1; }
.optional { color: var(--muted); font-size: .79rem; font-weight: 400; }
input, select, textarea {
  width: 100%;
  min-width: 0;
  margin-top: 6px;
  padding: 10px 11px;
  border: 1px solid #7b8e80;
  border-radius: 6px;
  background: #fcfdfb;
  color: var(--ink);
  font-size: .92rem;
  font-weight: 400;
}
input, select { min-height: 42px; }
input::placeholder, textarea::placeholder { color: #5b685e; opacity: 1; }
textarea { resize: vertical; min-height: 96px; }
.form-note { margin: 11px 0 14px; color: var(--muted); font-size: .79rem; }
.form-status { margin-top: 14px; color: #254e38; padding: 9px 12px; border-radius: 6px; font-size: .9rem; background: #e9f5e6; }
.form-status[data-state="error"] { background: #fff2ec; color: #7d3829; }

.site-footer { background: var(--forest-deep); color: #f4f8ee; padding: 27px 0; }
.footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 14px 24px; flex-wrap: wrap; }
.site-footer .brand-second { color: #cae0cc; }
.site-footer .brand-symbol { color: var(--forest-deep); background: var(--lime); }
.site-footer p { color: #c4d6ca; font-size: .81rem; }
.footer-link { color: var(--lime); font-size: .88rem; }

@media (max-width: 940px) {
  .hero-photo { min-height: 379px; }
  .site-header nav { gap: 19px; }
  .header-inner { gap: 16px; }
  .hero-actions { gap: 14px; }
}

@media (max-width: 735px) {
  :target { scroll-margin-top: 78px; }
  .header-inner { min-height: 64px; }
  .site-header .button-nav { display: none; }
  .menu-toggle { display: grid; place-items: center; width: 42px; height: 42px; padding: 0; border: 1px solid #aab9aa; border-radius: 7px; background: transparent; color: var(--forest); }
  .site-header nav {
    display: none;
    position: absolute;
    inset: 100% 0 auto;
    padding: 6px var(--gutter) 15px;
    background: var(--cream);
    border-bottom: 1px solid #cecebf;
  }
  .site-header nav.is-open { display: grid; gap: 0; }
  .site-header nav a, .site-header nav .mobile-contact { display: flex; align-items: center; min-height: 46px; border-bottom: 1px solid #e0e5da; }
  .site-header nav .mobile-contact { gap: 6px; border: 0; color: var(--forest); }
  .hero { padding: 38px 0 44px; }
  .hero-grid, .heading-split, .about-grid, .contact-grid { grid-template-columns: 1fr; }
  .hero-grid { gap: 26px; }
  .hero h1 { font-size: clamp(2.75rem, 8vw, 4.2rem); }
  .hero-description { margin-top: 16px; }
  .hero-actions { margin-top: 20px; }
  .hero-location { margin-top: 18px; }
  .hero-photo { min-height: 0; aspect-ratio: 1.38; }
  .heading-split { align-items: start; gap: 12px; }
  .heading-split > p { justify-self: start; max-width: 43ch; }
  .section-heading { margin-bottom: 24px; }
  .desktop-break { display: none; }
  .services-grid, .approach-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .industry-panel { grid-template-columns: 1fr; }
}

@media (max-width: 440px) {
  .hero h1 { font-size: clamp(2.45rem, 10.5vw, 3.1rem); }
  .hero-actions .button { min-height: 45px; font-size: .87rem; }
  .hero-actions .text-link { font-size: .88rem; }
  .services-grid { grid-template-columns: 1fr; }
  .service-card { min-height: auto; padding: 18px; }
  .service-card h3 { font-size: 1.16rem; }
  .industry-tabs { gap: 6px; }
  .industry-tabs button { padding: 9px 7px; font-size: .78rem; }
  .form-fields { grid-template-columns: 1fr; }
  input, select, textarea { font-size: 1rem; }
  .footer-inner { align-items: flex-start; flex-direction: column; }
}

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