:root {
  color-scheme: light;
  --ink: #13201e;
  --muted: #5c6b66;
  --line: #dbe4df;
  --paper: #f7faf7;
  --panel: #ffffff;
  --green: #0b6f5c;
  --green-dark: #06483e;
  --gold: #b8871d;
  --blue: #315f87;
  --shadow: 0 22px 70px rgba(11, 48, 40, 0.15);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

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

.site-header {
  position: fixed;
  z-index: 20;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px clamp(18px, 4vw, 56px);
  color: #fff;
  transition: background 180ms ease, color 180ms ease, box-shadow 180ms ease;
}

.site-header.is-scrolled {
  color: var(--ink);
  background: rgba(247, 250, 247, 0.92);
  box-shadow: 0 14px 38px rgba(23, 44, 39, 0.12);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  font-size: 0.94rem;
  font-weight: 800;
}

.brand-mark {
  display: grid;
  width: 38px;
  height: 38px;
  flex: 0 0 auto;
  place-items: center;
  border: 1px solid currentColor;
  border-radius: 8px;
  font-size: 0.78rem;
}

.nav {
  display: flex;
  align-items: center;
  gap: clamp(14px, 2vw, 28px);
  font-size: 0.9rem;
  font-weight: 700;
}

.nav a {
  opacity: 0.84;
}

.nav a:hover,
.nav a:focus-visible {
  opacity: 1;
}

.hero {
  position: relative;
  display: grid;
  min-height: 92vh;
  overflow: hidden;
  isolation: isolate;
}

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

.hero-image {
  object-fit: cover;
  object-position: center;
  z-index: -2;
}

.hero-overlay {
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(6, 22, 19, 0.88) 0%, rgba(7, 28, 24, 0.78) 40%, rgba(7, 28, 24, 0.16) 72%),
    linear-gradient(180deg, rgba(4, 18, 16, 0.28), rgba(4, 18, 16, 0.52));
}

.hero-content {
  align-self: center;
  width: min(760px, calc(100% - 36px));
  margin-left: clamp(18px, 7vw, 96px);
  padding: 110px 0 82px;
  color: #fff;
}

.eyebrow,
.section-label {
  margin: 0 0 14px;
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero h1 {
  max-width: 740px;
  margin: 0;
  font-size: clamp(2.65rem, 6vw, 5.65rem);
  line-height: 0.98;
  letter-spacing: 0;
}

.hero-copy {
  max-width: 680px;
  margin: 26px 0 0;
  color: rgba(255, 255, 255, 0.85);
  font-size: clamp(1.03rem, 1.55vw, 1.3rem);
  line-height: 1.7;
}

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

.button,
.contact-actions a {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  padding: 12px 18px;
  font-weight: 800;
}

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

.button.secondary {
  border: 1px solid rgba(255, 255, 255, 0.46);
  color: #fff;
}

.metrics {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  max-width: 1180px;
  margin: -58px auto 0;
  padding: 0 clamp(18px, 3vw, 32px);
  position: relative;
  z-index: 5;
}

.metrics div {
  min-height: 132px;
  padding: 25px;
  background: var(--panel);
  box-shadow: var(--shadow);
}

.metrics strong {
  display: block;
  color: var(--green);
  font-size: clamp(2rem, 4vw, 3.25rem);
  line-height: 1;
}

.metrics span {
  display: block;
  margin-top: 12px;
  color: var(--muted);
  font-size: 0.94rem;
  font-weight: 700;
  line-height: 1.45;
}

.section {
  width: min(1180px, calc(100% - 36px));
  margin: 0 auto;
  padding: clamp(72px, 10vw, 116px) 0 0;
}

.intro {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: clamp(24px, 5vw, 80px);
}

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

h3 {
  margin: 0;
  font-size: 1.07rem;
  line-height: 1.35;
}

p {
  color: var(--muted);
  line-height: 1.75;
}

.intro p {
  max-width: 840px;
  margin: 22px 0 0;
  font-size: 1.1rem;
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 420px);
  gap: 28px;
  align-items: end;
  margin-bottom: 30px;
}

.section-heading p {
  margin: 0;
}

.expertise-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.expertise-grid article,
.credential-grid article,
.impact-list article {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.72);
}

.expertise-grid article {
  min-height: 210px;
  padding: 26px;
}

.expertise-grid h3,
.timeline-body h3,
.impact-list h3,
.credential-grid h3 {
  color: var(--green-dark);
}

.expertise-grid p,
.timeline-body p,
.impact-list p,
.credential-grid p {
  margin: 12px 0 0;
}

.experience {
  width: 100%;
  max-width: none;
  padding-left: max(18px, calc((100vw - 1180px) / 2));
  padding-right: max(18px, calc((100vw - 1180px) / 2));
  padding-bottom: clamp(72px, 9vw, 108px);
  background: #eef5f0;
}

.timeline {
  display: grid;
  gap: 18px;
}

.timeline-item {
  display: grid;
  grid-template-columns: 190px 1fr;
  gap: 28px;
  padding: 28px 0;
  border-top: 1px solid var(--line);
}

.timeline-date {
  color: var(--blue);
  font-size: 0.9rem;
  font-weight: 800;
}

.timeline-body {
  max-width: 900px;
}

.company {
  color: var(--ink);
  font-weight: 800;
}

.impact-list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.impact-list article {
  padding: 24px;
}

.impact-list span {
  display: inline-block;
  margin-bottom: 22px;
  color: var(--gold);
  font-weight: 900;
}

.credentials {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 40px;
}

.credential-grid {
  display: grid;
  gap: 14px;
}

.credential-grid article {
  padding: 24px;
}

.contact {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 440px);
  gap: 34px;
  width: min(1180px, calc(100% - 36px));
  margin: clamp(72px, 10vw, 116px) auto;
  padding: clamp(34px, 6vw, 58px);
  border-radius: 8px;
  color: #fff;
  background: var(--green-dark);
}

.contact h2 {
  max-width: 760px;
}

.contact p {
  max-width: 720px;
  color: rgba(255, 255, 255, 0.78);
}

.contact-actions {
  align-content: start;
  justify-content: flex-start;
  margin-top: 0;
}

.contact-actions a {
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.22);
  color: #fff;
  overflow-wrap: anywhere;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 24px clamp(18px, 4vw, 56px);
  color: var(--muted);
  font-size: 0.9rem;
}

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

  .nav {
    display: none;
  }

  .hero {
    min-height: 88vh;
  }

  .hero-overlay {
    background: linear-gradient(180deg, rgba(5, 23, 20, 0.92), rgba(5, 23, 20, 0.72) 62%, rgba(5, 23, 20, 0.42));
  }

  .hero-content {
    width: min(100% - 36px, 700px);
    margin: 0 auto;
  }

  .metrics,
  .expertise-grid,
  .impact-list,
  .credentials,
  .contact,
  .intro,
  .section-heading {
    grid-template-columns: 1fr;
  }

  .metrics {
    margin-top: 0;
  }

  .metrics div {
    min-height: auto;
  }

  .timeline-item {
    grid-template-columns: 1fr;
    gap: 10px;
  }
}

@media (max-width: 560px) {
  .brand span:last-child {
    max-width: 190px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .hero h1 {
    font-size: 2.55rem;
  }

  .button {
    width: 100%;
  }

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