:root {
  --green-900: #173c2b;
  --green-700: #2d6c4f;
  --green-500: #4f9a62;
  --solar-500: #f3b23a;
  --steel-900: #151d24;
  --steel-700: #33424d;
  --mist-100: #f5f8f4;
  --mist-200: #e7eee7;
  --paper: #ffffff;
  --warm: #fff7e8;
  --line: rgba(21, 29, 36, 0.14);
  --shadow: 0 22px 60px rgba(21, 29, 36, 0.12);
  color-scheme: light;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--steel-900);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  background: var(--mist-100);
}

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

a {
  color: inherit;
}

button,
input,
select,
textarea {
  font: inherit;
}

button {
  cursor: pointer;
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1,
h2,
h3,
p,
dl,
dd {
  margin: 0;
}

h1,
h2,
h3 {
  letter-spacing: 0;
}

h1 {
  max-width: 980px;
  color: var(--paper);
  font-size: 4.7rem;
  line-height: 0.98;
}

h2 {
  font-size: 3.2rem;
  line-height: 1.05;
}

h3 {
  font-size: 1.18rem;
  line-height: 1.25;
}

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 24px;
  min-height: 78px;
  padding: 14px 32px;
  color: var(--paper);
  background: rgba(12, 24, 20, 0.76);
  border-bottom: 1px solid rgba(255, 255, 255, 0.16);
  backdrop-filter: blur(16px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  font-size: 1rem;
  font-weight: 800;
  text-decoration: none;
}

.brand img {
  width: 42px;
  height: 42px;
  object-fit: contain;
  border-radius: 6px;
}

.main-nav {
  justify-self: center;
  display: flex;
  align-items: center;
  gap: 4px;
}

.main-nav a {
  min-height: 40px;
  padding: 10px 14px;
  border-radius: 6px;
  color: rgba(255, 255, 255, 0.84);
  font-size: 0.94rem;
  font-weight: 700;
  text-decoration: none;
}

.main-nav a:hover,
.main-nav a:focus-visible {
  color: var(--paper);
  background: rgba(255, 255, 255, 0.12);
  outline: none;
}

.header-action,
.primary-button,
.secondary-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 13px 18px;
  border: 0;
  border-radius: 6px;
  font-weight: 850;
  line-height: 1.1;
  text-decoration: none;
  transition:
    transform 160ms ease,
    background 160ms ease,
    color 160ms ease;
}

.header-action,
.primary-button {
  color: var(--green-900);
  background: var(--solar-500);
}

.secondary-button {
  color: var(--paper);
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.28);
}

.header-action:hover,
.header-action:focus-visible,
.primary-button:hover,
.primary-button:focus-visible,
.secondary-button:hover,
.secondary-button:focus-visible {
  transform: translateY(-2px);
  outline: none;
}

.primary-button:hover,
.primary-button:focus-visible,
.header-action:hover,
.header-action:focus-visible {
  background: #ffd06e;
}

.nav-toggle {
  display: none;
  width: 46px;
  height: 46px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.1);
  cursor: pointer;
}

.nav-toggle-control {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.nav-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--paper);
}

.hero {
  position: relative;
  display: grid;
  align-items: end;
  min-height: 78svh;
  padding: 122px 32px 38px;
  overflow: hidden;
}

.hero-media,
.hero-media img,
.hero-overlay {
  position: absolute;
  inset: 0;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay {
  background:
    linear-gradient(90deg, rgba(12, 24, 20, 0.9) 0%, rgba(12, 24, 20, 0.68) 44%, rgba(12, 24, 20, 0.18) 100%),
    linear-gradient(0deg, rgba(12, 24, 20, 0.82) 0%, rgba(12, 24, 20, 0) 42%);
}

.hero-content {
  position: relative;
  z-index: 2;
  width: min(1180px, 100%);
  margin: 0 auto;
}

.eyebrow {
  margin-bottom: 12px;
  color: var(--solar-500);
  font-size: 0.82rem;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero-copy {
  width: min(780px, 100%);
  margin-top: 24px;
  color: rgba(255, 255, 255, 0.86);
  font-size: 1.22rem;
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  width: min(850px, 100%);
  margin-top: 46px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.16);
}

.hero-stats div {
  min-height: 112px;
  padding: 22px;
  background: rgba(13, 29, 24, 0.58);
}

.hero-stats dt {
  color: var(--paper);
  font-size: 1.7rem;
  font-weight: 900;
}

.hero-stats dd {
  margin-top: 8px;
  color: rgba(255, 255, 255, 0.76);
  line-height: 1.4;
}

.proof-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
  border-bottom: 1px solid var(--line);
}

.proof-item {
  min-height: 150px;
  padding: 34px;
  background: var(--paper);
}

.proof-item strong {
  display: block;
  color: var(--green-900);
  font-size: 1.2rem;
}

.proof-item span {
  display: block;
  margin-top: 10px;
  color: var(--steel-700);
  line-height: 1.65;
}

.section {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  padding: 92px 0;
}

.split-section {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1fr);
  gap: 36px 64px;
  align-items: start;
}

.section-heading {
  max-width: 720px;
}

.section-heading.compact {
  max-width: 780px;
}

.section-copy {
  color: var(--steel-700);
  font-size: 1.08rem;
  line-height: 1.75;
}

.service-grid {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin-top: 22px;
}

.service-card,
.reference-card,
.confidence-list article,
.process-list li {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
  box-shadow: 0 16px 34px rgba(21, 29, 36, 0.06);
}

.service-card {
  min-height: 246px;
  padding: 24px;
}

.service-index,
.process-list span,
.reference-body span {
  color: var(--green-700);
  font-size: 0.8rem;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.service-card h3,
.confidence-list h3,
.process-list h3 {
  margin-top: 18px;
}

.service-card p,
.confidence-list p,
.process-list p,
.reference-body p {
  margin-top: 12px;
  color: var(--steel-700);
  line-height: 1.62;
}

.confidence-section {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1fr);
  gap: 54px;
  align-items: start;
  width: 100%;
  max-width: none;
  padding: 92px max(32px, calc((100vw - 1180px) / 2));
  background: var(--green-900);
  color: var(--paper);
}

.confidence-section .eyebrow {
  color: #c6e57b;
}

.confidence-section h2 {
  max-width: 680px;
}

.confidence-list {
  display: grid;
  gap: 14px;
}

.confidence-list article {
  padding: 24px;
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.16);
  box-shadow: none;
}

.confidence-list p {
  color: rgba(255, 255, 255, 0.76);
}

.references-section {
  width: min(1240px, calc(100% - 40px));
}

.reference-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 34px;
}

.reference-card {
  overflow: hidden;
}

.reference-card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.reference-body {
  padding: 24px;
}

.reference-body h3 {
  margin-top: 10px;
  font-size: 1.35rem;
}

.process-section {
  padding-top: 42px;
}

.process-list {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
  padding: 0;
  margin: 34px 0 0;
  list-style: none;
}

.process-list li {
  min-height: 230px;
  padding: 22px;
}

.contact-section {
  display: grid;
  grid-template-columns: minmax(280px, 0.72fr) minmax(0, 1fr);
  gap: 44px;
  align-items: stretch;
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto 92px;
}

.contact-photo {
  min-height: 720px;
  overflow: hidden;
  border-radius: 8px;
  background: var(--mist-200);
}

.contact-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.contact-panel {
  padding: 42px;
  border-radius: 8px;
  color: var(--paper);
  background: var(--steel-900);
}

.contact-panel p {
  margin-top: 18px;
  color: rgba(255, 255, 255, 0.76);
  line-height: 1.72;
}

.contact-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-top: 30px;
}

.contact-form label {
  display: grid;
  gap: 8px;
  min-width: 0;
}

.contact-form span {
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.88rem;
  font-weight: 800;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  min-height: 50px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 6px;
  color: var(--paper);
  background: rgba(255, 255, 255, 0.08);
  outline: none;
  padding: 13px 14px;
}

.contact-form textarea {
  min-height: 118px;
  resize: vertical;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: rgba(255, 255, 255, 0.42);
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  border-color: var(--solar-500);
}

.full-width {
  grid-column: 1 / -1;
}

.form-status {
  grid-column: 1 / -1;
  min-height: 22px;
  color: #c6e57b;
  font-weight: 750;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 34px 32px;
  color: rgba(255, 255, 255, 0.74);
  background: #0f171d;
}

.site-footer img {
  width: 52px;
  height: 52px;
  object-fit: contain;
  margin-bottom: 12px;
}

.site-footer div:last-child {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 14px;
}

.site-footer a {
  color: var(--paper);
  font-weight: 800;
  text-decoration: none;
}

@media (max-width: 1120px) {
  h1 {
    font-size: 3.85rem;
  }

  h2 {
    font-size: 2.7rem;
  }

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

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

@media (max-width: 900px) {
  .site-header {
    grid-template-columns: auto auto;
    justify-content: space-between;
    padding: 12px 20px;
  }

  .nav-toggle {
    display: grid;
    gap: 5px;
  }

  .main-nav,
  .header-action {
    display: none;
  }

  .nav-toggle-control:checked ~ .main-nav {
    position: fixed;
    inset: 72px 16px auto;
    display: grid;
    gap: 6px;
    padding: 12px;
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 8px;
    background: rgba(15, 23, 29, 0.98);
    box-shadow: var(--shadow);
  }

  .nav-toggle-control:checked ~ .main-nav a {
    min-height: 50px;
  }

  .hero {
    min-height: auto;
    padding: 108px 20px 28px;
  }

  h1 {
    font-size: 3.05rem;
  }

  h2 {
    font-size: 2.18rem;
  }

  .hero-copy {
    font-size: 1.08rem;
  }

  .hero-stats,
  .proof-strip,
  .split-section,
  .confidence-section,
  .reference-grid,
  .contact-section {
    grid-template-columns: 1fr;
  }

  .hero-stats {
    margin-top: 34px;
  }

  .hero-stats div {
    min-height: 88px;
  }

  .section,
  .references-section,
  .contact-section {
    width: min(100% - 32px, 720px);
  }

  .confidence-section {
    padding: 72px 20px;
  }

  .contact-photo {
    min-height: 460px;
  }
}

@media (max-width: 640px) {
  h1 {
    font-size: 2.42rem;
  }

  h2 {
    font-size: 1.86rem;
  }

  .hero-actions,
  .primary-button,
  .secondary-button {
    width: 100%;
  }

  .hero-stats,
  .service-grid,
  .process-list,
  .contact-form {
    grid-template-columns: 1fr;
  }

  .proof-item,
  .service-card,
  .contact-panel {
    padding: 22px;
  }

  .section {
    padding: 68px 0;
  }

  .contact-section {
    margin-bottom: 62px;
  }

  .site-footer {
    display: grid;
  }

  .site-footer div:last-child {
    justify-content: flex-start;
  }
}
