:root {
  color-scheme: light;
  --ink: #13201d;
  --muted: #5d6862;
  --paper: #f5f2ea;
  --paper-strong: #fffdf7;
  --line: #d8d2c5;
  --green: #123c31;
  --green-2: #1f6b53;
  --cyan: #4ea79d;
  --amber: #c88532;
  --charcoal: #07110f;
  --charcoal-2: #101a17;
  --shadow: 0 24px 70px rgba(7, 17, 15, 0.18);
  --max: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.5;
}

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

a {
  color: inherit;
}

.skip-link {
  left: 1rem;
  padding: 0.6rem 0.8rem;
  position: fixed;
  top: -10rem;
  z-index: 100;
  background: var(--paper-strong);
  color: var(--green);
  border: 2px solid var(--green);
}

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

.site-header {
  align-items: center;
  background: rgba(7, 17, 15, 0.78);
  backdrop-filter: blur(18px);
  color: #f8f4eb;
  display: flex;
  gap: 1rem;
  justify-content: space-between;
  left: 0;
  min-height: 72px;
  padding: 0.9rem clamp(1rem, 4vw, 3rem);
  position: fixed;
  right: 0;
  top: 0;
  z-index: 20;
}

.brand {
  align-items: center;
  display: inline-flex;
  font-weight: 720;
  gap: 0.65rem;
  letter-spacing: 0;
  min-height: 44px;
  text-decoration: none;
}

.brand-mark {
  align-items: center;
  background: #e8efe6;
  color: var(--green);
  display: inline-flex;
  font-size: 0.9rem;
  font-weight: 800;
  height: 34px;
  justify-content: center;
  width: 34px;
}

.nav-links {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: clamp(0.75rem, 2vw, 1.5rem);
  justify-content: flex-end;
}

.nav-links a {
  align-items: center;
  color: rgba(248, 244, 235, 0.84);
  display: inline-flex;
  font-size: 0.94rem;
  min-height: 44px;
  padding-inline: 0.1rem;
  text-decoration: none;
}

.nav-links a:hover,
.nav-links a:focus-visible,
.site-footer a:hover,
.site-footer a:focus-visible {
  color: #ffffff;
  outline: none;
  text-decoration: underline;
  text-underline-offset: 0.28em;
}

.hero {
  align-items: stretch;
  background: var(--charcoal);
  color: #fffdf7;
  display: grid;
  min-height: 94vh;
  overflow: hidden;
  padding: 7.5rem clamp(1rem, 4vw, 3rem) 2rem;
  position: relative;
}

.hero-image,
.hero-overlay {
  height: 100%;
  inset: 0;
  position: absolute;
  width: 100%;
}

.hero-image {
  object-fit: cover;
}

.hero-overlay {
  background:
    linear-gradient(90deg, rgba(7, 17, 15, 0.98) 0%, rgba(7, 17, 15, 0.9) 29%, rgba(7, 17, 15, 0.4) 61%, rgba(7, 17, 15, 0.16) 100%),
    linear-gradient(180deg, rgba(7, 17, 15, 0.45), rgba(7, 17, 15, 0.78));
}

.hero-content {
  align-self: center;
  max-width: 760px;
  position: relative;
  z-index: 1;
}

.eyebrow,
.section-kicker {
  color: var(--amber);
  font-size: 0.78rem;
  font-weight: 780;
  letter-spacing: 0.12em;
  margin: 0 0 1rem;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  font-size: clamp(3rem, 6.4vw, 6.8rem);
  letter-spacing: 0;
  line-height: 0.92;
  margin-bottom: 1.35rem;
  max-width: 760px;
}

.hero-copy {
  color: rgba(255, 253, 247, 0.82);
  font-size: clamp(1.1rem, 2vw, 1.38rem);
  max-width: 660px;
}

.hero-actions,
.contact {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
}

.button {
  align-items: center;
  border: 1px solid transparent;
  display: inline-flex;
  font-weight: 760;
  justify-content: center;
  min-height: 48px;
  padding: 0.78rem 1rem;
  text-decoration: none;
}

.button:focus-visible {
  outline: 3px solid rgba(78, 167, 157, 0.9);
  outline-offset: 3px;
}

.button.primary {
  background: #f7efe1;
  color: var(--green);
}

.button.primary:hover {
  background: #ffffff;
}

.button.secondary {
  border-color: rgba(255, 253, 247, 0.32);
  color: #fffdf7;
}

.button.secondary:hover {
  border-color: rgba(255, 253, 247, 0.7);
}

.button.dark {
  background: var(--green);
  color: #fffdf7;
}

.hero-strip {
  align-self: end;
  border-top: 1px solid rgba(255, 253, 247, 0.18);
  display: grid;
  gap: 0.8rem;
  grid-template-columns: repeat(3, 1fr);
  margin-top: 4rem;
  max-width: var(--max);
  padding-top: 1.2rem;
  position: relative;
  z-index: 1;
}

.hero-strip span {
  color: rgba(255, 253, 247, 0.74);
  font-size: 0.94rem;
}

.section {
  margin: 0 auto;
  max-width: var(--max);
  padding: clamp(4rem, 8vw, 7rem) clamp(1rem, 4vw, 3rem);
}

.intro-grid {
  display: grid;
  gap: clamp(1.5rem, 5vw, 4rem);
  grid-template-columns: minmax(0, 0.95fr) minmax(280px, 0.82fr);
}

h2 {
  font-size: clamp(2rem, 4.1vw, 4rem);
  letter-spacing: 0;
  line-height: 1;
  margin-bottom: 1rem;
}

.intro p,
.assurance-copy p,
.contact p {
  color: var(--muted);
  font-size: 1.08rem;
}

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

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

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

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

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

.service-card,
.knowledge-card,
.assurance-list article {
  background: var(--paper-strong);
  border: 1px solid var(--line);
  border-radius: 8px;
  min-height: 240px;
  padding: 1.3rem;
}

.card-index {
  color: var(--green-2);
  display: block;
  font-size: 0.8rem;
  font-weight: 800;
  margin-bottom: 2.25rem;
}

.service-card h3,
.knowledge-card h3,
.assurance-list h3 {
  font-size: 1.08rem;
  margin-bottom: 0.65rem;
}

.service-card p,
.knowledge-card p,
.assurance-list p,
.timeline p {
  color: var(--muted);
  margin-bottom: 0;
}

.model {
  background: var(--charcoal-2);
  color: #fffdf7;
  max-width: none;
}

.model > * {
  margin-left: auto;
  margin-right: auto;
  max-width: var(--max);
}

.timeline {
  counter-reset: steps;
  display: grid;
  gap: 0;
  list-style: none;
  margin: 2.5rem auto 0;
  padding: 0;
}

.timeline li {
  border-top: 1px solid rgba(255, 253, 247, 0.18);
  display: grid;
  gap: 1rem;
  grid-template-columns: 180px minmax(0, 1fr);
  padding: 1.25rem 0;
}

.timeline span {
  color: #fffdf7;
  font-size: 1.2rem;
  font-weight: 780;
}

.timeline p {
  color: rgba(255, 253, 247, 0.7);
}

.assurance {
  display: grid;
  gap: clamp(2rem, 5vw, 4rem);
  grid-template-columns: minmax(0, 0.8fr) minmax(300px, 1fr);
}

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

.assurance-list article {
  min-height: auto;
}

.contact {
  background: var(--paper-strong);
  border-block: 1px solid var(--line);
  justify-content: space-between;
  max-width: none;
}

.contact > * {
  margin-left: auto;
  margin-right: auto;
  max-width: calc(var(--max) / 2);
}

.site-footer {
  align-items: center;
  background: var(--charcoal);
  color: rgba(255, 253, 247, 0.74);
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: space-between;
  padding: 1.5rem clamp(1rem, 4vw, 3rem);
}

.site-footer p {
  margin: 0;
}

.site-footer a {
  align-items: center;
  color: rgba(255, 253, 247, 0.84);
  display: inline-flex;
  min-height: 44px;
  text-decoration: none;
}

@media (max-width: 920px) {
  .site-header {
    align-items: flex-start;
    flex-direction: column;
  }

  .hero {
    min-height: 900px;
    padding-top: 8.8rem;
  }

  .hero-overlay {
    background:
      linear-gradient(180deg, rgba(7, 17, 15, 0.96) 0%, rgba(7, 17, 15, 0.78) 52%, rgba(7, 17, 15, 0.48) 100%);
  }

  .intro-grid,
  .assurance,
  .timeline li {
    grid-template-columns: 1fr;
  }

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

  .contact {
    align-items: flex-start;
    flex-direction: column;
  }

  .contact > * {
    margin-left: 0;
    margin-right: 0;
    max-width: var(--max);
  }
}

@media (max-width: 620px) {
  .nav-links {
    gap: 0.7rem;
  }

  .nav-links a {
    font-size: 0.88rem;
  }

  h1 {
    font-size: clamp(2.45rem, 13vw, 4rem);
  }

  .hero {
    min-height: 860px;
  }

  .hero-strip,
  .card-grid.four,
  .card-grid.three {
    grid-template-columns: 1fr;
  }

  .service-card,
  .knowledge-card {
    min-height: auto;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}
