:root {
  --ink: #20262d;
  --muted: #5e6873;
  --paper: #fbfbf7;
  --surface: #ffffff;
  --line: #dfe4df;
  --teal: #147568;
  --teal-dark: #0f5d54;
  --sage: #eef4ed;
  --gold: #b7791f;
  --rust: #9b4d2d;
  --charcoal: #252b2f;
  --shadow: 0 18px 40px rgba(32, 38, 45, 0.12);
  --radius: 8px;
  --max: 1160px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.65;
  overflow-x: hidden;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 100;
  padding: 0.7rem 1rem;
  background: var(--charcoal);
  color: #fff;
  border-radius: var(--radius);
  transition: top 160ms ease;
}

.skip-link:focus {
  top: 1rem;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(251, 251, 247, 0.94);
  border-bottom: 1px solid rgba(32, 38, 45, 0.1);
  backdrop-filter: blur(16px);
}

.nav-wrap {
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0.85rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  font-weight: 800;
  color: var(--charcoal);
  line-height: 1.1;
  flex: 0 0 auto;
  min-width: 0;
}

.brand-logo {
  width: clamp(12.5rem, 24vw, 17.5rem);
  height: auto;
  max-height: 3.2rem;
  object-fit: contain;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 0.15rem;
}

.nav-links a {
  display: inline-flex;
  align-items: center;
  min-height: 2.4rem;
  padding: 0.45rem 0.68rem;
  border-radius: var(--radius);
  color: #39424b;
  font-size: 0.94rem;
  font-weight: 650;
  text-decoration: none;
}

.nav-links a:hover,
.nav-links a[aria-current="page"] {
  background: var(--sage);
  color: var(--teal-dark);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.menu-toggle {
  display: none;
  width: 2.55rem;
  height: 2.55rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  color: var(--charcoal);
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 1.1rem;
  height: 2px;
  margin: 0.22rem auto;
  background: currentColor;
}

.button,
button.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.75rem;
  padding: 0.72rem 1.05rem;
  border: 1px solid transparent;
  border-radius: var(--radius);
  background: var(--teal);
  color: #fff;
  font: inherit;
  font-weight: 750;
  text-decoration: none;
  cursor: pointer;
  white-space: nowrap;
  transition: transform 160ms ease, background 160ms ease, border-color 160ms ease;
}

.button:hover {
  background: var(--teal-dark);
  transform: translateY(-1px);
}

.button.secondary {
  background: #fff;
  color: var(--teal-dark);
  border-color: rgba(20, 117, 104, 0.35);
}

.button.secondary:hover {
  background: var(--sage);
}

.button.light {
  background: #fff;
  color: var(--charcoal);
}

.button.light:hover {
  background: #f1f4ef;
}

.hero {
  position: relative;
  min-height: 680px;
  display: grid;
  align-items: end;
  overflow: hidden;
  color: #fff;
  background: var(--charcoal);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(13, 21, 25, 0.9) 0%, rgba(13, 21, 25, 0.72) 36%, rgba(13, 21, 25, 0.2) 72%),
    linear-gradient(0deg, rgba(13, 21, 25, 0.78), rgba(13, 21, 25, 0.12) 48%);
  z-index: 1;
}

.hero img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: var(--max);
  width: 100%;
  margin: 0 auto;
  padding: 7.5rem 1.25rem 5.25rem;
  min-width: 0;
}

.eyebrow {
  color: var(--gold);
  font-weight: 850;
  text-transform: uppercase;
  font-size: 0.82rem;
  letter-spacing: 0;
}

.hero h1,
.page-hero h1 {
  width: 100%;
  max-width: 880px;
  margin: 0.75rem 0 1rem;
  font-size: 3.25rem;
  line-height: 1.08;
  letter-spacing: 0;
  overflow-wrap: anywhere;
}

.hero p,
.page-hero p {
  max-width: 790px;
  margin: 0 0 1rem;
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.12rem;
}

.hero-actions,
.section-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 1.6rem;
}

.page-hero {
  background: var(--charcoal);
  color: #fff;
  overflow: hidden;
}

.page-hero .inner {
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding: 6rem 1.25rem 4.5rem;
  min-width: 0;
}

.page-hero p {
  color: rgba(255, 255, 255, 0.84);
}

.section {
  padding: 4.7rem 1.25rem;
}

.section.alt {
  background: #fff;
}

.section.tint {
  background: var(--sage);
}

.section.compact {
  padding: 3.2rem 1.25rem;
}

.inner {
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
}

.section-heading {
  max-width: 820px;
  margin-bottom: 2rem;
}

.section-heading h2,
.section-heading h3,
.cta h2 {
  margin: 0 0 0.8rem;
  color: var(--charcoal);
  font-size: 2.1rem;
  line-height: 1.15;
  letter-spacing: 0;
}

.section-heading p {
  margin: 0;
  color: var(--muted);
  font-size: 1.05rem;
}

.lead {
  max-width: 860px;
  color: var(--muted);
  font-size: 1.08rem;
}

.grid {
  display: grid;
  gap: 1rem;
}

.grid.two {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.grid.three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.grid.four {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.25rem;
  box-shadow: 0 12px 28px rgba(32, 38, 45, 0.06);
}

.card h3,
.card h4 {
  margin: 0 0 0.55rem;
  color: var(--charcoal);
  font-size: 1.08rem;
  line-height: 1.3;
}

.card p {
  margin: 0;
  color: var(--muted);
}

.card.accent {
  border-top: 4px solid var(--teal);
}

.card.gold {
  border-top-color: var(--gold);
}

.card.rust {
  border-top-color: var(--rust);
}

.list-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.8rem;
  padding: 0;
  margin: 0;
  list-style: none;
}

.list-grid li,
.check-list li {
  background: rgba(255, 255, 255, 0.75);
  border: 1px solid rgba(32, 38, 45, 0.1);
  border-radius: var(--radius);
  padding: 0.85rem 0.95rem;
  color: #35404a;
  font-weight: 650;
}

.check-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.7rem;
  padding: 0;
  margin: 1rem 0 0;
  list-style: none;
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: 2.6rem;
  align-items: start;
}

.process {
  counter-reset: step;
}

.process .card {
  position: relative;
  padding-left: 4rem;
}

.process .card::before {
  counter-increment: step;
  content: counter(step);
  position: absolute;
  left: 1.2rem;
  top: 1.2rem;
  width: 2rem;
  height: 2rem;
  display: grid;
  place-items: center;
  border-radius: var(--radius);
  background: var(--sage);
  color: var(--teal-dark);
  font-weight: 850;
}

.capability {
  border-left: 4px solid var(--teal);
  padding: 0 0 0 1rem;
}

.capability + .capability {
  margin-top: 1.4rem;
}

.capability h3 {
  margin: 0 0 0.35rem;
  font-size: 1.25rem;
}

.capability p {
  margin: 0 0 0.65rem;
  color: var(--muted);
}

.plain-list {
  margin: 0;
  padding-left: 1.2rem;
  color: var(--muted);
}

.plain-list li + li {
  margin-top: 0.35rem;
}

.naics-list {
  display: grid;
  gap: 1rem;
}

.naics-code {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.2rem;
}

.naics-code h3 {
  margin: 0 0 0.45rem;
  font-size: 1.1rem;
}

.naics-code p {
  margin: 0;
  color: var(--muted);
}

.summary-table {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}

.summary-table th,
.summary-table td {
  padding: 0.9rem 1rem;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

.summary-table th {
  width: 34%;
  background: var(--sage);
  color: var(--charcoal);
}

.summary-table tr:last-child th,
.summary-table tr:last-child td {
  border-bottom: 0;
}

.cta {
  background:
    linear-gradient(135deg, rgba(20, 117, 104, 0.12), rgba(183, 121, 31, 0.12)),
    #fff;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.cta .inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 2rem;
}

.cta p {
  max-width: 760px;
  margin: 0.4rem 0 0;
  color: var(--muted);
}

.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(0, 1.14fr);
  gap: 2rem;
  align-items: start;
}

.contact-panel {
  max-width: 100%;
  min-width: 0;
  background: var(--charcoal);
  color: #fff;
  border-radius: var(--radius);
  padding: 1.35rem;
  overflow-wrap: anywhere;
}

.contact-panel h2 {
  margin-top: 0;
  font-size: 1.35rem;
}

.contact-panel a {
  color: #fff;
  font-weight: 700;
}

.contact-form {
  display: grid;
  gap: 1rem;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.35rem;
  box-shadow: var(--shadow);
  min-width: 0;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

label {
  display: grid;
  gap: 0.35rem;
  color: var(--charcoal);
  font-weight: 750;
}

input,
select,
textarea {
  width: 100%;
  min-height: 2.8rem;
  border: 1px solid #cbd5cf;
  border-radius: var(--radius);
  padding: 0.72rem 0.78rem;
  background: #fff;
  color: var(--ink);
  font: inherit;
}

textarea {
  min-height: 10rem;
  resize: vertical;
}

input:focus,
select:focus,
textarea:focus,
.button:focus-visible,
.nav-links a:focus-visible,
.menu-toggle:focus-visible {
  outline: 3px solid rgba(183, 121, 31, 0.35);
  outline-offset: 2px;
}

.form-status {
  min-height: 1.5rem;
  color: var(--teal-dark);
  font-weight: 700;
}

.site-footer {
  background: #252b2f;
  color: rgba(255, 255, 255, 0.86);
  padding: 3.4rem 1.25rem 2rem;
}

.footer-grid {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
  gap: 2rem;
}

.site-footer h2,
.site-footer h3 {
  margin: 0 0 0.7rem;
  color: #fff;
}

.site-footer p {
  margin: 0.4rem 0;
}

.footer-links {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.45rem 1rem;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.86);
  text-decoration: none;
}

.footer-links a:hover {
  color: #fff;
  text-decoration: underline;
}

.footer-bottom {
  max-width: var(--max);
  margin: 2rem auto 0;
  padding-top: 1.3rem;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.72);
}

.small-note {
  color: var(--muted);
  font-size: 0.95rem;
}

@media (max-width: 980px) {
  .menu-toggle {
    display: inline-grid;
    place-items: center;
  }

  .nav-links {
    position: absolute;
    inset: calc(100% + 1px) 0 auto 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 0.75rem 1.25rem 1rem;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow);
  }

  .nav-links.is-open {
    display: flex;
  }

  .nav-links a {
    min-height: 2.9rem;
  }

  .hero {
    min-height: 640px;
  }

  .hero h1,
  .page-hero h1 {
    font-size: 2.45rem;
  }

  .grid.three,
  .grid.four,
  .grid.two,
  .list-grid,
  .check-list,
  .split,
  .cta .inner,
  .contact-layout,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .list-grid {
    gap: 0.65rem;
  }

  .summary-table th,
  .summary-table td {
    display: block;
    width: 100%;
  }

  .summary-table th {
    border-bottom: 0;
    padding-bottom: 0.35rem;
  }

  .summary-table td {
    padding-top: 0.35rem;
  }
}

@media (max-width: 640px) {
  body {
    font-size: 15px;
  }

  .brand-logo {
    width: min(13.25rem, 62vw);
    max-height: 2.9rem;
  }

  .hero {
    min-height: 620px;
  }

  .hero::before {
    background:
      linear-gradient(90deg, rgba(13, 21, 25, 0.94), rgba(13, 21, 25, 0.72)),
      linear-gradient(0deg, rgba(13, 21, 25, 0.82), rgba(13, 21, 25, 0.1));
  }

  .hero-content {
    padding: 6.2rem 1rem 3.8rem;
  }

  .page-hero .inner {
    padding: 4.7rem 1rem 3.4rem;
  }

  .hero h1,
  .page-hero h1 {
    font-size: 1.85rem;
    line-height: 1.16;
    max-width: 100%;
  }

  .hero p,
  .page-hero p {
    max-width: 100%;
  }

  .hero p,
  .page-hero p {
    font-size: 1rem;
  }

  .section {
    padding: 3.4rem 1rem;
  }

  .section-heading h2,
  .section-heading h3,
  .cta h2 {
    font-size: 1.65rem;
  }

  .form-grid {
    grid-template-columns: 1fr;
  }

  .hero-actions,
  .section-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .button {
    width: 100%;
  }
}
