:root {
  --ink: #14201f;
  --muted: #5a6967;
  --line: #d9e2df;
  --paper: #f7f9f7;
  --white: #ffffff;
  --teal: #006b62;
  --teal-dark: #073f3b;
  --green: #718b3f;
  --amber: #c58634;
  --charcoal: #1d2625;
  --shadow: 0 22px 60px rgba(13, 36, 34, 0.16);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.55;
}

a {
  color: inherit;
  text-decoration: none;
}

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

.site-header {
  position: fixed;
  z-index: 20;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 72px;
  padding: 14px clamp(18px, 4vw, 56px);
  background: rgba(247, 249, 247, 0.9);
  border-bottom: 1px solid rgba(217, 226, 223, 0.82);
  backdrop-filter: blur(16px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 280px;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  color: var(--white);
  background: var(--teal-dark);
  border-radius: 8px;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0;
}

.brand strong,
.brand small {
  display: block;
  line-height: 1.2;
}

.brand strong {
  font-size: 0.98rem;
}

.brand small {
  color: var(--muted);
  font-size: 0.76rem;
}

.nav-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(14px, 3vw, 34px);
  color: #2f3c3a;
  font-size: 0.92rem;
}

.nav-links a {
  padding: 8px 0;
}

.nav-links a:hover {
  color: var(--teal);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 44px;
  border-radius: 8px;
  font-weight: 700;
}

.hero {
  position: relative;
  min-height: 92vh;
  display: grid;
  align-items: center;
  justify-items: center;
  overflow: hidden;
  padding: 124px clamp(18px, 5vw, 72px) 68px;
  isolation: isolate;
}

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

.hero-image {
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center right;
}

.hero-overlay {
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(247, 249, 247, 0.98) 0%, rgba(247, 249, 247, 0.93) 34%, rgba(247, 249, 247, 0.54) 62%, rgba(247, 249, 247, 0.16) 100%),
    linear-gradient(180deg, rgba(247, 249, 247, 0.08), rgba(247, 249, 247, 0.78));
}

.hero-content {
  width: min(1180px, 100%);
  text-align: left;
}

.eyebrow,
.section-kicker {
  margin: 0 0 14px;
  color: var(--teal);
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

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

h1 {
  max-width: 680px;
  margin-bottom: 22px;
  font-size: clamp(3.2rem, 7.5vw, 6.7rem);
  line-height: 0.95;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(2rem, 4vw, 3.45rem);
  line-height: 1.04;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 10px;
  font-size: 1.05rem;
  line-height: 1.22;
}

.hero-copy {
  max-width: 650px;
  color: #2f3c3a;
  font-size: clamp(1.05rem, 2vw, 1.32rem);
}

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

.button {
  padding: 13px 18px;
  border: 1px solid transparent;
}

.button.primary,
.contact-button {
  color: var(--white);
  background: var(--teal);
  box-shadow: var(--shadow);
}

.button.secondary {
  color: var(--teal-dark);
  background: rgba(255, 255, 255, 0.7);
  border-color: var(--line);
}

.hero-profile {
  max-width: 760px;
  margin: 58px 0 0;
  padding: 22px 24px;
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(217, 226, 223, 0.95);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.hero-profile p {
  margin: 0;
  color: var(--muted);
  font-size: 0.98rem;
}

.hero-profile p + p {
  margin-top: 6px;
}

.hero-profile .profile-name {
  color: var(--ink);
  font-size: 1.12rem;
  font-weight: 800;
}

.band {
  background: var(--white);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.section,
.band,
.contact {
  padding: clamp(72px, 9vw, 124px) clamp(18px, 5vw, 72px);
}

.section-inner {
  width: min(1180px, 100%);
  margin: 0 auto;
}

.intro-grid,
.contact-inner {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(34px, 7vw, 88px);
  align-items: start;
}

.intro-grid p:last-child,
.contact-inner p {
  color: var(--muted);
  font-size: 1.08rem;
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(0, 0.7fr) minmax(0, 1fr);
  gap: 44px;
  align-items: end;
  margin-bottom: 36px;
}

.section-heading h2 {
  grid-column: 1 / -1;
  max-width: 850px;
}

.section-heading.compact {
  display: block;
  max-width: 820px;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.service-card {
  min-height: 272px;
  padding: 28px;
  background: var(--white);
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.service-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  margin-bottom: 32px;
  color: var(--teal);
  background: #e3efeb;
  border-radius: 8px;
  font-size: 0.82rem;
  font-weight: 800;
}

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

.dark {
  color: var(--white);
  background: var(--charcoal);
  border-color: #33413f;
}

.dark .section-kicker {
  color: #8fc5b9;
}

.dark p,
.dark span {
  color: #c6d1ce;
}

.why-intro {
  max-width: 870px;
  margin-bottom: 38px;
}

.why-intro p {
  max-width: 760px;
  font-size: 1.08rem;
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.why-card {
  min-height: 286px;
  padding: 26px;
  background: #263332;
  border: 1px solid #3d4b49;
  border-radius: 8px;
}

.why-card h3 {
  color: var(--white);
  font-size: 1.18rem;
}

.credential-link {
  display: inline-flex;
  align-items: center;
  margin-top: 8px;
  color: #a9d5c8;
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.credential-link:hover {
  color: var(--white);
}

.capability-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}

.capability-strip span {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 8px 12px;
  color: #d9e8e4;
  background: #1a2423;
  border: 1px solid #3d4b49;
  border-radius: 8px;
  font-size: 0.9rem;
  font-weight: 700;
}

.contact {
  color: var(--white);
  background: var(--teal-dark);
}

.contact .section-kicker {
  color: #a9d5c8;
}

.contact p {
  color: #d8e6e2;
}

.contact-button {
  justify-self: end;
  align-self: center;
  min-width: min(100%, 260px);
  color: var(--teal-dark);
  background: var(--white);
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding: 24px clamp(18px, 5vw, 72px);
  color: #dce6e3;
  background: #101716;
  font-size: 0.88rem;
}

@media (max-width: 980px) {
  .site-header {
    position: absolute;
    flex-wrap: wrap;
  }

  .nav-links {
    order: 3;
    width: 100%;
    justify-content: flex-start;
    overflow-x: auto;
  }

  .hero {
    min-height: auto;
    padding-top: 156px;
  }

  .hero-overlay {
    background: linear-gradient(90deg, rgba(247, 249, 247, 0.98), rgba(247, 249, 247, 0.76));
  }

  .intro-grid,
  .contact-inner,
  .section-heading {
    grid-template-columns: 1fr;
  }

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

  .contact-button {
    justify-self: start;
  }
}

@media (max-width: 680px) {
  .site-header {
    align-items: flex-start;
    gap: 12px;
    min-height: 0;
  }

  .brand {
    min-width: 0;
  }

  .brand small {
    display: none;
  }

  .nav-links {
    display: none;
  }

  .hero {
    min-height: 86svh;
    padding-top: 106px;
    padding-bottom: 36px;
  }

  .hero-image {
    object-position: 68% center;
  }

  .hero-overlay {
    background: linear-gradient(180deg, rgba(247, 249, 247, 0.98) 0%, rgba(247, 249, 247, 0.9) 62%, rgba(247, 249, 247, 0.74) 100%);
  }

  h1 {
    font-size: clamp(2.8rem, 16vw, 4.5rem);
  }

  .hero-profile {
    margin-top: 36px;
    padding: 18px;
  }

  .service-grid,
  .why-grid {
    grid-template-columns: 1fr;
  }

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

  .site-footer {
    flex-direction: column;
  }
}

@media (max-width: 430px) {
  .nav-links {
    gap: 16px;
    font-size: 0.86rem;
  }

  .hero-actions {
    display: grid;
  }

  .button {
    width: 100%;
  }
}
